@atlaskit/checkbox 17.1.24 → 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 +7 -0
- package/dist/cjs/checkbox.js +1 -1
- package/dist/cjs/internal/checkbox-icon.js +1 -1
- package/dist/es2019/checkbox.js +1 -1
- package/dist/es2019/internal/checkbox-icon.js +1 -1
- package/dist/esm/checkbox.js +1 -1
- package/dist/esm/internal/checkbox-icon.js +1 -1
- package/package.json +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
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
|
+
|
|
3
10
|
## 17.1.24
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/dist/cjs/checkbox.js
CHANGED
|
@@ -77,7 +77,7 @@ var Checkbox = /*#__PURE__*/(0, _react.memo)( /*#__PURE__*/(0, _react.forwardRef
|
|
|
77
77
|
analyticsData: analyticsContext,
|
|
78
78
|
componentName: 'checkbox',
|
|
79
79
|
packageName: "@atlaskit/checkbox",
|
|
80
|
-
packageVersion: "
|
|
80
|
+
packageVersion: "0.0.0-development"
|
|
81
81
|
});
|
|
82
82
|
var internalRef = (0, _react.useRef)(null);
|
|
83
83
|
var mergedRefs = (0, _mergeRefs.default)([internalRef, ref]);
|
|
@@ -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",
|
package/dist/es2019/checkbox.js
CHANGED
|
@@ -59,7 +59,7 @@ const Checkbox = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function Checkbox({
|
|
|
59
59
|
analyticsData: analyticsContext,
|
|
60
60
|
componentName: 'checkbox',
|
|
61
61
|
packageName: "@atlaskit/checkbox",
|
|
62
|
-
packageVersion: "
|
|
62
|
+
packageVersion: "0.0.0-development"
|
|
63
63
|
});
|
|
64
64
|
const internalRef = useRef(null);
|
|
65
65
|
const mergedRefs = mergeRefs([internalRef, ref]);
|
|
@@ -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",
|
package/dist/esm/checkbox.js
CHANGED
|
@@ -68,7 +68,7 @@ var Checkbox = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function Checkbox(_ref
|
|
|
68
68
|
analyticsData: analyticsContext,
|
|
69
69
|
componentName: 'checkbox',
|
|
70
70
|
packageName: "@atlaskit/checkbox",
|
|
71
|
-
packageVersion: "
|
|
71
|
+
packageVersion: "0.0.0-development"
|
|
72
72
|
});
|
|
73
73
|
var internalRef = useRef(null);
|
|
74
74
|
var mergedRefs = mergeRefs([internalRef, ref]);
|
|
@@ -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
|
}
|