@atlaskit/checkbox 13.7.1 → 14.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 +10 -0
- package/dist/cjs/checkbox.js +1 -1
- package/dist/es2019/checkbox.js +1 -1
- package/dist/esm/checkbox.js +1 -1
- package/dist/types/types.d.ts +4 -1
- package/dist/types-ts4.5/types.d.ts +4 -1
- package/package.json +5 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/checkbox
|
|
2
2
|
|
|
3
|
+
## 14.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#136677](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/136677)
|
|
8
|
+
[`d0453c21aafb7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d0453c21aafb7) -
|
|
9
|
+
Remove `small` and `xlarge` from sizes. These are currently completely unused within Atlassian and
|
|
10
|
+
the smaller size results in less accessible interfaces. We are also deprecating the `size` prop to
|
|
11
|
+
eventually only have checkboxes render at `medium` (the default) size.
|
|
12
|
+
|
|
3
13
|
## 13.7.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/cjs/checkbox.js
CHANGED
|
@@ -198,7 +198,7 @@ var Checkbox = /*#__PURE__*/(0, _react.memo)( /*#__PURE__*/(0, _react.forwardRef
|
|
|
198
198
|
analyticsData: analyticsContext,
|
|
199
199
|
componentName: 'checkbox',
|
|
200
200
|
packageName: "@atlaskit/checkbox",
|
|
201
|
-
packageVersion: "
|
|
201
|
+
packageVersion: "14.0.0"
|
|
202
202
|
});
|
|
203
203
|
var internalRef = (0, _react.useRef)(null);
|
|
204
204
|
var mergedRefs = (0, _mergeRefs.default)([internalRef, ref]);
|
package/dist/es2019/checkbox.js
CHANGED
|
@@ -183,7 +183,7 @@ const Checkbox = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function Checkbox(pr
|
|
|
183
183
|
analyticsData: analyticsContext,
|
|
184
184
|
componentName: 'checkbox',
|
|
185
185
|
packageName: "@atlaskit/checkbox",
|
|
186
|
-
packageVersion: "
|
|
186
|
+
packageVersion: "14.0.0"
|
|
187
187
|
});
|
|
188
188
|
const internalRef = useRef(null);
|
|
189
189
|
const mergedRefs = mergeRefs([internalRef, ref]);
|
package/dist/esm/checkbox.js
CHANGED
|
@@ -192,7 +192,7 @@ var Checkbox = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function Checkbox(prop
|
|
|
192
192
|
analyticsData: analyticsContext,
|
|
193
193
|
componentName: 'checkbox',
|
|
194
194
|
packageName: "@atlaskit/checkbox",
|
|
195
|
-
packageVersion: "
|
|
195
|
+
packageVersion: "14.0.0"
|
|
196
196
|
});
|
|
197
197
|
var internalRef = useRef(null);
|
|
198
198
|
var mergedRefs = mergeRefs([internalRef, ref]);
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
3
3
|
import { type StrictXCSSProp } from '@atlaskit/css';
|
|
4
|
-
export type Size = '
|
|
4
|
+
export type Size = 'medium' | 'large';
|
|
5
5
|
/**
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -59,6 +59,9 @@ export type OwnProps = {
|
|
|
59
59
|
value?: number | string;
|
|
60
60
|
/**
|
|
61
61
|
* The size of the checkbox.
|
|
62
|
+
*
|
|
63
|
+
* @deprecated This will later be removed and all checkboxes will be size
|
|
64
|
+
* `medium`.
|
|
62
65
|
*/
|
|
63
66
|
size?: Size;
|
|
64
67
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
3
3
|
import { type StrictXCSSProp } from '@atlaskit/css';
|
|
4
|
-
export type Size = '
|
|
4
|
+
export type Size = 'medium' | 'large';
|
|
5
5
|
/**
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -59,6 +59,9 @@ export type OwnProps = {
|
|
|
59
59
|
value?: number | string;
|
|
60
60
|
/**
|
|
61
61
|
* The size of the checkbox.
|
|
62
|
+
*
|
|
63
|
+
* @deprecated This will later be removed and all checkboxes will be size
|
|
64
|
+
* `medium`.
|
|
62
65
|
*/
|
|
63
66
|
size?: Size;
|
|
64
67
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/checkbox",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.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/"
|
|
@@ -24,10 +24,6 @@
|
|
|
24
24
|
"atlaskit:src": "src/index.tsx",
|
|
25
25
|
"atlassian": {
|
|
26
26
|
"team": "Design System Team",
|
|
27
|
-
"productPushConsumption": [
|
|
28
|
-
"jira"
|
|
29
|
-
],
|
|
30
|
-
"releaseModel": "continuous",
|
|
31
27
|
"website": {
|
|
32
28
|
"name": "Checkbox",
|
|
33
29
|
"category": "Components"
|
|
@@ -40,10 +36,10 @@
|
|
|
40
36
|
"dependencies": {
|
|
41
37
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
42
38
|
"@atlaskit/css": "^0.4.0",
|
|
43
|
-
"@atlaskit/ds-lib": "^2.
|
|
44
|
-
"@atlaskit/icon": "^22.
|
|
39
|
+
"@atlaskit/ds-lib": "^2.5.0",
|
|
40
|
+
"@atlaskit/icon": "^22.15.0",
|
|
45
41
|
"@atlaskit/theme": "^13.0.0",
|
|
46
|
-
"@atlaskit/tokens": "^1.
|
|
42
|
+
"@atlaskit/tokens": "^1.59.0",
|
|
47
43
|
"@babel/runtime": "^7.0.0",
|
|
48
44
|
"@emotion/react": "^11.7.1"
|
|
49
45
|
},
|
|
@@ -54,7 +50,7 @@
|
|
|
54
50
|
"@af/accessibility-testing": "*",
|
|
55
51
|
"@af/integration-testing": "*",
|
|
56
52
|
"@af/visual-regression": "*",
|
|
57
|
-
"@atlaskit/primitives": "^12.
|
|
53
|
+
"@atlaskit/primitives": "^12.1.0",
|
|
58
54
|
"@atlaskit/ssr": "*",
|
|
59
55
|
"@atlaskit/visual-regression": "*",
|
|
60
56
|
"@atlassian/feature-flags-test-utils": "*",
|