@atlaskit/checkbox 17.1.23 → 17.2.0
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
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/checkbox
|
|
2
2
|
|
|
3
|
+
## 17.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`b867e641d818d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b867e641d818d) -
|
|
8
|
+
Updated border radius values behind a feature gate `platform-dst-shape-theme-default`.
|
|
9
|
+
|
|
10
|
+
## 17.1.24
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`a60a82196851a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a60a82196851a) -
|
|
15
|
+
Internal refactors to remove unused variables. No functional or public changes.
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 17.1.23
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -78,7 +78,7 @@ var CheckboxIcon = /*#__PURE__*/(0, _react.memo)(function (_ref) {
|
|
|
78
78
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
79
79
|
color: 'var(--checkbox-background-color)',
|
|
80
80
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
81
|
-
fill:
|
|
81
|
+
fill: 'var(--checkbox-tick-color)'
|
|
82
82
|
},
|
|
83
83
|
role: "presentation",
|
|
84
84
|
className: (0, _runtime.ax)(["_1reo15vq _18m915vq _lswuvuon _lcxvglyw"])
|
|
@@ -115,7 +115,7 @@ var CheckboxIcon = /*#__PURE__*/(0, _react.memo)(function (_ref) {
|
|
|
115
115
|
y: "5.5",
|
|
116
116
|
width: "13",
|
|
117
117
|
height: "13",
|
|
118
|
-
rx:
|
|
118
|
+
rx: (0, _platformFeatureFlags.fg)('platform-dst-shape-theme-default') ? '2' : '1.5'
|
|
119
119
|
}) : /*#__PURE__*/React.createElement("rect", {
|
|
120
120
|
fill: "currentColor",
|
|
121
121
|
x: "6",
|
|
@@ -68,7 +68,7 @@ const CheckboxIcon = /*#__PURE__*/memo(({
|
|
|
68
68
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
69
69
|
color: 'var(--checkbox-background-color)',
|
|
70
70
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
71
|
-
fill:
|
|
71
|
+
fill: 'var(--checkbox-tick-color)'
|
|
72
72
|
},
|
|
73
73
|
role: "presentation",
|
|
74
74
|
className: ax(["_1reo15vq _18m915vq _lswuvuon _lcxvglyw"])
|
|
@@ -105,7 +105,7 @@ const CheckboxIcon = /*#__PURE__*/memo(({
|
|
|
105
105
|
y: "5.5",
|
|
106
106
|
width: "13",
|
|
107
107
|
height: "13",
|
|
108
|
-
rx:
|
|
108
|
+
rx: fg('platform-dst-shape-theme-default') ? '2' : '1.5'
|
|
109
109
|
}) : /*#__PURE__*/React.createElement("rect", {
|
|
110
110
|
fill: "currentColor",
|
|
111
111
|
x: "6",
|
|
@@ -69,7 +69,7 @@ var CheckboxIcon = /*#__PURE__*/memo(function (_ref) {
|
|
|
69
69
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
70
70
|
color: 'var(--checkbox-background-color)',
|
|
71
71
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
72
|
-
fill:
|
|
72
|
+
fill: 'var(--checkbox-tick-color)'
|
|
73
73
|
},
|
|
74
74
|
role: "presentation",
|
|
75
75
|
className: ax(["_1reo15vq _18m915vq _lswuvuon _lcxvglyw"])
|
|
@@ -106,7 +106,7 @@ var CheckboxIcon = /*#__PURE__*/memo(function (_ref) {
|
|
|
106
106
|
y: "5.5",
|
|
107
107
|
width: "13",
|
|
108
108
|
height: "13",
|
|
109
|
-
rx:
|
|
109
|
+
rx: fg('platform-dst-shape-theme-default') ? '2' : '1.5'
|
|
110
110
|
}) : /*#__PURE__*/React.createElement("rect", {
|
|
111
111
|
fill: "currentColor",
|
|
112
112
|
x: "6",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/checkbox",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.2.0",
|
|
4
4
|
"description": "A checkbox is an input control that allows a user to select one or more options from a number of choices.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"@af/accessibility-testing": "workspace:^",
|
|
50
50
|
"@af/integration-testing": "workspace:^",
|
|
51
51
|
"@af/visual-regression": "workspace:^",
|
|
52
|
-
"@atlaskit/button": "^23.
|
|
52
|
+
"@atlaskit/button": "^23.7.0",
|
|
53
53
|
"@atlaskit/docs": "^11.2.0",
|
|
54
54
|
"@atlaskit/form": "^14.3.0",
|
|
55
55
|
"@atlaskit/link": "^3.2.0",
|
|
56
56
|
"@atlaskit/primitives": "^16.4.0",
|
|
57
|
-
"@atlaskit/section-message": "^8.
|
|
57
|
+
"@atlaskit/section-message": "^8.10.0",
|
|
58
58
|
"@atlassian/ssr-tests": "workspace:^",
|
|
59
59
|
"@testing-library/react": "^13.4.0",
|
|
60
60
|
"jscodeshift": "^17.0.0",
|
|
@@ -93,6 +93,9 @@
|
|
|
93
93
|
},
|
|
94
94
|
"platform-custom-icon-migration": {
|
|
95
95
|
"type": "boolean"
|
|
96
|
+
},
|
|
97
|
+
"platform-dst-shape-theme-default": {
|
|
98
|
+
"type": "boolean"
|
|
96
99
|
}
|
|
97
100
|
}
|
|
98
101
|
}
|