@cloudflare/component-radio 3.3.1 → 3.3.5
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 +35 -0
- package/es/Radio.js +3 -3
- package/lib/Radio.js +3 -3
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
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.5](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-radio@3.3.4...@cloudflare/component-radio@3.3.5) (2022-02-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @cloudflare/component-radio
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.3.4](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-radio@3.3.3...@cloudflare/component-radio@3.3.4) (2022-02-01)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @cloudflare/component-radio
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [3.3.3](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-radio@3.3.2...@cloudflare/component-radio@3.3.3) (2022-01-19)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @cloudflare/component-radio
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [3.3.2](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-radio@3.3.1...@cloudflare/component-radio@3.3.2) (2022-01-14)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
|
|
35
|
+
* **component-radio:** UI-5035: yarn test -u ([e3e444a](http://stash.cfops.it:7999/fe/stratus/commits/e3e444a))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
## [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
42
|
|
|
8
43
|
|
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("
|
|
84
|
+
return noLabel ? input : /*#__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(({
|
|
@@ -94,7 +94,7 @@ export default createStyledComponent(({
|
|
|
94
94
|
disabled
|
|
95
95
|
}) => ({
|
|
96
96
|
cursor: disabled ? 'default' : 'pointer',
|
|
97
|
-
display: '
|
|
97
|
+
display: 'block',
|
|
98
98
|
margin: 'initial',
|
|
99
99
|
padding: 0,
|
|
100
100
|
'&:first-child': {
|
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("
|
|
100
|
+
return noLabel ? input : /*#__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) {
|
|
@@ -110,7 +110,7 @@ var _default = (0, _styleContainer.createStyledComponent)(function (_ref4) {
|
|
|
110
110
|
disabled = _ref4.disabled;
|
|
111
111
|
return {
|
|
112
112
|
cursor: disabled ? 'default' : 'pointer',
|
|
113
|
-
display: '
|
|
113
|
+
display: 'block',
|
|
114
114
|
margin: 'initial',
|
|
115
115
|
padding: 0,
|
|
116
116
|
'&:first-child': {
|
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.
|
|
4
|
+
"version": "3.3.5",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
7
7
|
"author": "James Kyle <jkyle@cloudflare.com>",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@cloudflare/style-container": "^7.6.
|
|
14
|
+
"@cloudflare/style-container": "^7.6.3",
|
|
15
15
|
"prop-types": "^15.6.0"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"test-coverage": "stratus test --coverage",
|
|
29
29
|
"test-watch": "stratus test --watch"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "20f5894077c7bf813827d575d7026c3fbd0d80f3"
|
|
32
32
|
}
|