From bab616314514d2d831f2f8c0f181619904b75648 Mon Sep 17 00:00:00 2001 From: Nicko Winner-Arroyo Date: Tue, 26 Jan 2021 14:30:34 -0500 Subject: [PATCH 01/11] upgrade to helix-2.0 --- package.json | 4 ++-- yarn.lock | 13 +++++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 5a10f81..380bf92 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "@storybook/addons": "^5.3.17", "@storybook/react": "^5.3.17", "babel-loader": "^8.1.0", - "helix-ui": "^0.24.0", + "helix-ui": "^2.0.0", "husky": "^4.2.5", "microbundle": "^0.12.3", "prettier": "^2.0.4", @@ -68,7 +68,7 @@ "use-onclickoutside": "^0.3" }, "peerDependencies": { - "helix-ui": "^0.24.0", + "helix-ui": "^2.0.0", "prop-types": "^15.7.2", "react": "^16.6.3" }, diff --git a/yarn.lock b/yarn.lock index 7cccc87..df8bf82 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2705,6 +2705,11 @@ "@webassemblyjs/wast-parser" "1.8.5" "@xtuc/long" "4.2.2" +"@webcomponents/webcomponentsjs@^2.4.3": + version "2.5.0" + resolved "https://registry.yarnpkg.com/@webcomponents/webcomponentsjs/-/webcomponentsjs-2.5.0.tgz#61b27785a6ad5bfd68fa018201fe418b118cb38d" + integrity sha512-C0l51MWQZ9kLzcxOZtniOMohpIFdCLZum7/TEHv3XWFc1Fvt5HCpbSX84x8ltka/JuNKcuiDnxXFkiB2gaePcg== + "@xtuc/ieee754@^1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" @@ -5472,10 +5477,10 @@ he@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" -helix-ui@^0.24.0: - version "0.24.0" - resolved "https://registry.yarnpkg.com/helix-ui/-/helix-ui-0.24.0.tgz#db5e0c2e4f446192f9277ace0e0e2ded49de7fcd" - integrity sha512-vP2t5K9Gj3fdyZvmLobT3FlWU+EDr9J6UhwA6HGQlNmrdA42OeQCzg2I4W2l3a5vtNHQfVvjt4vsURFZ7QO/KA== +helix-ui@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/helix-ui/-/helix-ui-2.0.0.tgz#763ad0a94b19392f8f82af49cc44e38a9a0870f3" + integrity sha512-KK0jff0QA9hPRHyu+MhSCiaALMFpKqz7jqJ8CJcgbtzH9u4EQbBxJdwh/97VpIUwvJKRsdCAsnj115YFsFq2Zw== hex-color-regex@^1.1.0: version "1.1.0" From 3ca7c2217d4b5b35f865ba1925be4cf63eb0b77e Mon Sep 17 00:00:00 2001 From: Nicko Winner-Arroyo Date: Tue, 26 Jan 2021 14:36:22 -0500 Subject: [PATCH 02/11] Add support to pass your own custom radio input as prop instead of using existing one. - Can be helpful for folks using redux-form wrappers on their inputs. - Set medium size by default to prevent 'undefined' class name fro showing up in markup. --- src/ChoiceTile/index.js | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/src/ChoiceTile/index.js b/src/ChoiceTile/index.js index 8807a00..f89c097 100644 --- a/src/ChoiceTile/index.js +++ b/src/ChoiceTile/index.js @@ -18,19 +18,24 @@ const ChoiceTile = ({ subdued, title, style, + radioInput, ...rest }) => { return (