@atlaskit/checkbox 15.3.3 → 16.0.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 +30 -0
- package/dist/cjs/checkbox.js +1 -1
- package/dist/cjs/internal/label.js +1 -1
- package/dist/es2019/checkbox.js +1 -1
- package/dist/es2019/internal/label.js +1 -1
- package/dist/esm/checkbox.js +1 -1
- package/dist/esm/internal/label.js +1 -1
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @atlaskit/checkbox
|
|
2
2
|
|
|
3
|
+
## 16.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
|
|
8
|
+
[`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) -
|
|
9
|
+
This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to reflect the
|
|
10
|
+
status of only supporting React 18 going forward. No explicit breaking change to React support has
|
|
11
|
+
been made in this release, but this is to signify going forward, breaking changes for React 16 or
|
|
12
|
+
React 17 may come via non-major semver releases.
|
|
13
|
+
|
|
14
|
+
Please refer this community post for more details:
|
|
15
|
+
https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
21
|
+
## 15.4.0
|
|
22
|
+
|
|
23
|
+
### Minor Changes
|
|
24
|
+
|
|
25
|
+
- [#116138](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116138)
|
|
26
|
+
[`b50c5d5d65ae2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b50c5d5d65ae2) -
|
|
27
|
+
Bump to the latest version of @compiled/react
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- Updated dependencies
|
|
32
|
+
|
|
3
33
|
## 15.3.3
|
|
4
34
|
|
|
5
35
|
### Patch Changes
|
package/dist/cjs/checkbox.js
CHANGED
|
@@ -196,7 +196,7 @@ var Checkbox = /*#__PURE__*/(0, _react.memo)( /*#__PURE__*/(0, _react.forwardRef
|
|
|
196
196
|
analyticsData: analyticsContext,
|
|
197
197
|
componentName: 'checkbox',
|
|
198
198
|
packageName: "@atlaskit/checkbox",
|
|
199
|
-
packageVersion: "
|
|
199
|
+
packageVersion: "16.0.0"
|
|
200
200
|
});
|
|
201
201
|
var internalRef = (0, _react.useRef)(null);
|
|
202
202
|
var mergedRefs = (0, _mergeRefs.default)([internalRef, ref]);
|
|
@@ -68,7 +68,7 @@ function Label(_ref) {
|
|
|
68
68
|
return (0, _react.jsx)("label", {
|
|
69
69
|
// Because we're using Emotion local jsx namespace we have to coerce xcss prop to a string.
|
|
70
70
|
// When we're fully on Compiled its local jsx namespace accepts the output of xcss prop.
|
|
71
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop --
|
|
71
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- This rule still fails because of the TS assertion
|
|
72
72
|
className: xcss,
|
|
73
73
|
css: [baseStyles, label && textLabelLayoutStyles, isDisabled && disabledStyles, labelStyles],
|
|
74
74
|
"data-testid": testId,
|
package/dist/es2019/checkbox.js
CHANGED
|
@@ -182,7 +182,7 @@ const Checkbox = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function Checkbox(pr
|
|
|
182
182
|
analyticsData: analyticsContext,
|
|
183
183
|
componentName: 'checkbox',
|
|
184
184
|
packageName: "@atlaskit/checkbox",
|
|
185
|
-
packageVersion: "
|
|
185
|
+
packageVersion: "16.0.0"
|
|
186
186
|
});
|
|
187
187
|
const internalRef = useRef(null);
|
|
188
188
|
const mergedRefs = mergeRefs([internalRef, ref]);
|
|
@@ -62,7 +62,7 @@ export default function Label({
|
|
|
62
62
|
return jsx("label", {
|
|
63
63
|
// Because we're using Emotion local jsx namespace we have to coerce xcss prop to a string.
|
|
64
64
|
// When we're fully on Compiled its local jsx namespace accepts the output of xcss prop.
|
|
65
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop --
|
|
65
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- This rule still fails because of the TS assertion
|
|
66
66
|
className: xcss,
|
|
67
67
|
css: [baseStyles, label && textLabelLayoutStyles, isDisabled && disabledStyles, labelStyles],
|
|
68
68
|
"data-testid": testId,
|
package/dist/esm/checkbox.js
CHANGED
|
@@ -190,7 +190,7 @@ var Checkbox = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function Checkbox(prop
|
|
|
190
190
|
analyticsData: analyticsContext,
|
|
191
191
|
componentName: 'checkbox',
|
|
192
192
|
packageName: "@atlaskit/checkbox",
|
|
193
|
-
packageVersion: "
|
|
193
|
+
packageVersion: "16.0.0"
|
|
194
194
|
});
|
|
195
195
|
var internalRef = useRef(null);
|
|
196
196
|
var mergedRefs = mergeRefs([internalRef, ref]);
|
|
@@ -61,7 +61,7 @@ export default function Label(_ref) {
|
|
|
61
61
|
return jsx("label", {
|
|
62
62
|
// Because we're using Emotion local jsx namespace we have to coerce xcss prop to a string.
|
|
63
63
|
// When we're fully on Compiled its local jsx namespace accepts the output of xcss prop.
|
|
64
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop --
|
|
64
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- This rule still fails because of the TS assertion
|
|
65
65
|
className: xcss,
|
|
66
66
|
css: [baseStyles, label && textLabelLayoutStyles, isDisabled && disabledStyles, labelStyles],
|
|
67
67
|
"data-testid": testId,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/checkbox",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.0.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/"
|
|
@@ -36,33 +36,33 @@
|
|
|
36
36
|
".": "./src/index.tsx"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@atlaskit/analytics-next": "^
|
|
40
|
-
"@atlaskit/css": "^0.
|
|
41
|
-
"@atlaskit/ds-lib": "^
|
|
42
|
-
"@atlaskit/icon": "^
|
|
39
|
+
"@atlaskit/analytics-next": "^11.0.0",
|
|
40
|
+
"@atlaskit/css": "^0.10.0",
|
|
41
|
+
"@atlaskit/ds-lib": "^4.0.0",
|
|
42
|
+
"@atlaskit/icon": "^24.0.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "*",
|
|
44
|
-
"@atlaskit/theme": "^
|
|
45
|
-
"@atlaskit/tokens": "^
|
|
44
|
+
"@atlaskit/theme": "^17.0.0",
|
|
45
|
+
"@atlaskit/tokens": "^4.0.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0",
|
|
47
47
|
"@emotion/react": "^11.7.1"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"react": "^
|
|
50
|
+
"react": "^18.2.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@af/accessibility-testing": "*",
|
|
54
54
|
"@af/integration-testing": "*",
|
|
55
55
|
"@af/visual-regression": "*",
|
|
56
|
-
"@atlaskit/button": "^
|
|
56
|
+
"@atlaskit/button": "^21.0.0",
|
|
57
57
|
"@atlaskit/docs": "*",
|
|
58
|
-
"@atlaskit/form": "^
|
|
58
|
+
"@atlaskit/form": "^12.0.0",
|
|
59
59
|
"@atlaskit/link": "*",
|
|
60
|
-
"@atlaskit/primitives": "^
|
|
60
|
+
"@atlaskit/primitives": "^14.0.0",
|
|
61
61
|
"@atlaskit/section-message": "*",
|
|
62
62
|
"@atlaskit/ssr": "*",
|
|
63
63
|
"@atlaskit/visual-regression": "*",
|
|
64
64
|
"@atlassian/feature-flags-test-utils": "*",
|
|
65
|
-
"@compiled/react": "^0.18.
|
|
65
|
+
"@compiled/react": "^0.18.2",
|
|
66
66
|
"@testing-library/react": "^13.4.0",
|
|
67
67
|
"jscodeshift": "^0.13.0",
|
|
68
68
|
"react-dom": "^18.2.0",
|