@cloudflare/component-radio 3.3.0 → 3.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.3.1](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-radio@3.3.0...@cloudflare/component-radio@3.3.1) (2022-01-14)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **component-radio:** UI-5035: wrap <Radio /> in div element ([0d075aa](http://stash.cfops.it:7999/fe/stratus/commits/0d075aa))
12
+ * **component-radio:** UI-5035: yarn test -u ([64225c2](http://stash.cfops.it:7999/fe/stratus/commits/64225c2))
13
+
14
+
15
+
16
+
17
+
6
18
  # [3.3.0](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-radio@3.2.93...@cloudflare/component-radio@3.3.0) (2022-01-07)
7
19
 
8
20
 
package/es/Radio.js CHANGED
@@ -81,12 +81,12 @@ function Radio(_ref) {
81
81
  className: noLabel ? className : undefined,
82
82
  disabled: disabled
83
83
  }, rest));
84
- return noLabel ? input : /*#__PURE__*/React.createElement("label", {
84
+ return noLabel ? input : /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("label", {
85
85
  htmlFor: name,
86
86
  className: className
87
87
  }, input, label && /*#__PURE__*/React.createElement(Label, {
88
88
  disabled: disabled
89
- }, label));
89
+ }, label)));
90
90
  }
91
91
 
92
92
  export default createStyledComponent(({
package/lib/Radio.js CHANGED
@@ -97,12 +97,12 @@ function Radio(_ref3) {
97
97
  disabled: disabled
98
98
  }, rest));
99
99
 
100
- return noLabel ? input : /*#__PURE__*/_react.default.createElement("label", {
100
+ return noLabel ? input : /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("label", {
101
101
  htmlFor: name,
102
102
  className: className
103
103
  }, input, label && /*#__PURE__*/_react.default.createElement(Label, {
104
104
  disabled: disabled
105
- }, label));
105
+ }, label)));
106
106
  }
107
107
 
108
108
  var _default = (0, _styleContainer.createStyledComponent)(function (_ref4) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudflare/component-radio",
3
3
  "description": "Cloudflare Radio Component",
4
- "version": "3.3.0",
4
+ "version": "3.3.1",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
7
7
  "author": "James Kyle <jkyle@cloudflare.com>",
@@ -28,5 +28,5 @@
28
28
  "test-coverage": "stratus test --coverage",
29
29
  "test-watch": "stratus test --watch"
30
30
  },
31
- "gitHead": "b7c207b9d1a4a78c3412f7ad4185e92ec36c4f5e"
31
+ "gitHead": "9f633c91abf860a0e18ed7bd105095fea54a489b"
32
32
  }