@atlaskit/checkbox 17.3.0 → 17.3.2
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 +12 -0
- package/codemods/migrations/remove-imports.tsx +1 -1
- package/codemods/migrations/remove-props.tsx +4 -4
- package/codemods/migrations/rename-import.tsx +3 -3
- package/codemods/migrations/rename-input-ref-to-ref.tsx +1 -1
- package/dist/cjs/internal/label.compiled.css +1 -1
- package/dist/cjs/internal/label.js +1 -1
- package/dist/es2019/internal/label.compiled.css +1 -1
- package/dist/es2019/internal/label.js +1 -1
- package/dist/esm/internal/label.compiled.css +1 -1
- package/dist/esm/internal/label.js +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRemoveImportsFor } from '../utils';
|
|
2
2
|
|
|
3
|
-
export const removeThemeImports = createRemoveImportsFor({
|
|
3
|
+
export const removeThemeImports: (j: import("jscodeshift/src/core").JSCodeshift, source: import("jscodeshift/src/Collection").Collection<Node>) => void = createRemoveImportsFor({
|
|
4
4
|
importsToRemove: ['ComponentTokens', 'ThemeFn'],
|
|
5
5
|
packagePath: '@atlaskit/checkbox/types',
|
|
6
6
|
comment: `This file uses exports used to help theme @atlaskit/checkbox which
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createRemoveFuncFor } from '../utils';
|
|
2
2
|
|
|
3
|
-
export const removeFullWidth = createRemoveFuncFor('@atlaskit/checkbox', 'Checkbox', 'isFullWidth');
|
|
3
|
+
export const removeFullWidth: (j: import("jscodeshift/src/core").JSCodeshift, source: import("jscodeshift/src/Collection").Collection<Node>) => void = createRemoveFuncFor('@atlaskit/checkbox', 'Checkbox', 'isFullWidth');
|
|
4
4
|
|
|
5
|
-
export const removeOverrides = createRemoveFuncFor(
|
|
5
|
+
export const removeOverrides: (j: import("jscodeshift/src/core").JSCodeshift, source: import("jscodeshift/src/Collection").Collection<Node>) => void = createRemoveFuncFor(
|
|
6
6
|
'@atlaskit/checkbox',
|
|
7
7
|
'Checkbox',
|
|
8
8
|
'overrides',
|
|
@@ -13,7 +13,7 @@ export const removeOverrides = createRemoveFuncFor(
|
|
|
13
13
|
of Checkbox will have likely changed.`,
|
|
14
14
|
);
|
|
15
15
|
|
|
16
|
-
export const removeTheme = createRemoveFuncFor(
|
|
16
|
+
export const removeTheme: (j: import("jscodeshift/src/core").JSCodeshift, source: import("jscodeshift/src/Collection").Collection<Node>) => void = createRemoveFuncFor(
|
|
17
17
|
'@atlaskit/checkbox',
|
|
18
18
|
'Checkbox',
|
|
19
19
|
'theme',
|
|
@@ -24,4 +24,4 @@ export const removeTheme = createRemoveFuncFor(
|
|
|
24
24
|
The appearance of Checkbox will have likely changed.`,
|
|
25
25
|
);
|
|
26
26
|
|
|
27
|
-
export const removeSize = createRemoveFuncFor('@atlaskit/checkbox', 'Checkbox', 'size');
|
|
27
|
+
export const removeSize: (j: import("jscodeshift/src/core").JSCodeshift, source: import("jscodeshift/src/Collection").Collection<Node>) => void = createRemoveFuncFor('@atlaskit/checkbox', 'Checkbox', 'size');
|
|
@@ -4,19 +4,19 @@ import { createRenameImportFor } from '../utils';
|
|
|
4
4
|
// there are a lot of possible things to fix. Having searched on SourceTree
|
|
5
5
|
// these are the only things that need to be fixed
|
|
6
6
|
|
|
7
|
-
export const renameTypeImport = createRenameImportFor({
|
|
7
|
+
export const renameTypeImport: (j: import("jscodeshift/src/core").JSCodeshift, source: import("jscodeshift/src/Collection").Collection<Node>) => void = createRenameImportFor({
|
|
8
8
|
componentName: 'CheckboxProps',
|
|
9
9
|
oldPackagePath: '@atlaskit/checkbox/types',
|
|
10
10
|
newPackagePath: '@atlaskit/checkbox',
|
|
11
11
|
});
|
|
12
12
|
|
|
13
|
-
export const renameDeepTypeImport = createRenameImportFor({
|
|
13
|
+
export const renameDeepTypeImport: (j: import("jscodeshift/src/core").JSCodeshift, source: import("jscodeshift/src/Collection").Collection<Node>) => void = createRenameImportFor({
|
|
14
14
|
componentName: 'CheckboxProps',
|
|
15
15
|
oldPackagePath: '@atlaskit/checkbox/dist/cjs/types',
|
|
16
16
|
newPackagePath: '@atlaskit/checkbox',
|
|
17
17
|
});
|
|
18
18
|
|
|
19
|
-
export const renameCheckboxWithoutAnalyticsImport = createRenameImportFor({
|
|
19
|
+
export const renameCheckboxWithoutAnalyticsImport: (j: import("jscodeshift/src/core").JSCodeshift, source: import("jscodeshift/src/Collection").Collection<Node>) => void = createRenameImportFor({
|
|
20
20
|
componentName: 'CheckboxWithoutAnalytics',
|
|
21
21
|
newComponentName: 'Checkbox',
|
|
22
22
|
oldPackagePath: '@atlaskit/checkbox/Checkbox',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRenameFuncFor } from '../utils';
|
|
2
2
|
|
|
3
|
-
export const renameInputRef = createRenameFuncFor(
|
|
3
|
+
export const renameInputRef: (j: import("jscodeshift/src/core").JSCodeshift, source: import("jscodeshift/src/Collection").Collection<Node>) => void = createRenameFuncFor(
|
|
4
4
|
'@atlaskit/checkbox',
|
|
5
5
|
'Checkbox',
|
|
6
6
|
'inputRef',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._zulp1nu5{gap:var(--ds-space-0,0) var(--ds-space-050,4px)}
|
|
3
3
|
._13hr1j28{--local-tick-rest:transparent}
|
|
4
4
|
._18q0snw8{--local-tick-disabled:var(--_1xmcmw9)}
|
|
@@ -23,7 +23,7 @@ function Label(_ref) {
|
|
|
23
23
|
id = _ref.id,
|
|
24
24
|
xcss = _ref.xcss;
|
|
25
25
|
return /*#__PURE__*/React.createElement("label", {
|
|
26
|
-
className: (0, _runtime.ax)(["
|
|
26
|
+
className: (0, _runtime.ax)(["_11c8fhey _1e0c11p5 _1ejihkll _umai184x _syazovqm _80om73ad", label && "_zulp1nu5 _yv0ey09t", isDisabled && "_syaz7wap _80om13gf", "_h5e31kd8 _1nzs1kc0 _1esz1j4g _yp0j1ehr _ay2w1ouc _d51u12ci _phftddza _1g1fe69j _l6wk1j4g _1dik1ehr _1sfg1380 _fpdj1ouc _1yjc3zdg _oaj1ddza _1j3h1380 _eawbxz7c _1rdaeh7q _18q0snw8 _13hr1j28", xcss]),
|
|
27
27
|
"data-testid": testId,
|
|
28
28
|
"data-disabled": isDisabled || undefined,
|
|
29
29
|
id: id,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._zulp1nu5{gap:var(--ds-space-0,0) var(--ds-space-050,4px)}
|
|
3
3
|
._13hr1j28{--local-tick-rest:transparent}
|
|
4
4
|
._18q015t7{--local-tick-disabled:var(--ds-icon-disabled,#a5adba)}
|
|
@@ -16,7 +16,7 @@ export default function Label({
|
|
|
16
16
|
xcss
|
|
17
17
|
}) {
|
|
18
18
|
return /*#__PURE__*/React.createElement("label", {
|
|
19
|
-
className: ax(["
|
|
19
|
+
className: ax(["_11c8fhey _1e0c11p5 _1ejihkll _umai184x _syazj3m3 _80om73ad", label && "_zulp1nu5 _yv0ey09t", isDisabled && "_syaz1tvo _80om13gf", "_h5e3mag2 _1nzs11d3 _1eszzyvw _yp0jhh5a _ay2w1y1w _d51u10ko _phft1fmg _1g1funzk _l6wkzyvw _1dikhh5a _1sfg1q3k _fpdj1y1w _1yjc194a _oaj11fmg _1j3h1q3k _eawb1dzn _1rda1qbb _18q015t7 _13hr1j28", xcss]),
|
|
20
20
|
"data-testid": testId,
|
|
21
21
|
"data-disabled": isDisabled || undefined,
|
|
22
22
|
id: id
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._zulp1nu5{gap:var(--ds-space-0,0) var(--ds-space-050,4px)}
|
|
3
3
|
._13hr1j28{--local-tick-rest:transparent}
|
|
4
4
|
._18q0snw8{--local-tick-disabled:var(--_1xmcmw9)}
|
|
@@ -15,7 +15,7 @@ export default function Label(_ref) {
|
|
|
15
15
|
id = _ref.id,
|
|
16
16
|
xcss = _ref.xcss;
|
|
17
17
|
return /*#__PURE__*/React.createElement("label", {
|
|
18
|
-
className: ax(["
|
|
18
|
+
className: ax(["_11c8fhey _1e0c11p5 _1ejihkll _umai184x _syazovqm _80om73ad", label && "_zulp1nu5 _yv0ey09t", isDisabled && "_syaz7wap _80om13gf", "_h5e31kd8 _1nzs1kc0 _1esz1j4g _yp0j1ehr _ay2w1ouc _d51u12ci _phftddza _1g1fe69j _l6wk1j4g _1dik1ehr _1sfg1380 _fpdj1ouc _1yjc3zdg _oaj1ddza _1j3h1380 _eawbxz7c _1rdaeh7q _18q0snw8 _13hr1j28", xcss]),
|
|
19
19
|
"data-testid": testId,
|
|
20
20
|
"data-disabled": isDisabled || undefined,
|
|
21
21
|
id: id,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/checkbox",
|
|
3
|
-
"version": "17.3.
|
|
3
|
+
"version": "17.3.2",
|
|
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/"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/ds-lib": "^5.3.0",
|
|
38
38
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
39
39
|
"@atlaskit/theme": "^21.0.0",
|
|
40
|
-
"@atlaskit/tokens": "^
|
|
40
|
+
"@atlaskit/tokens": "^11.0.0",
|
|
41
41
|
"@babel/runtime": "^7.0.0",
|
|
42
42
|
"@compiled/react": "^0.18.6"
|
|
43
43
|
},
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
"@af/suppress-react-warnings": "workspace:^",
|
|
51
51
|
"@af/visual-regression": "workspace:^",
|
|
52
52
|
"@atlaskit/button": "^23.9.0",
|
|
53
|
-
"@atlaskit/docs": "^11.
|
|
54
|
-
"@atlaskit/form": "^15.
|
|
53
|
+
"@atlaskit/docs": "^11.3.0",
|
|
54
|
+
"@atlaskit/form": "^15.3.0",
|
|
55
55
|
"@atlaskit/link": "^3.3.0",
|
|
56
|
-
"@atlaskit/primitives": "^
|
|
57
|
-
"@atlaskit/section-message": "^8.
|
|
56
|
+
"@atlaskit/primitives": "^18.0.0",
|
|
57
|
+
"@atlaskit/section-message": "^8.12.0",
|
|
58
58
|
"@atlassian/ssr-tests": "workspace:^",
|
|
59
|
-
"@testing-library/react": "^
|
|
59
|
+
"@testing-library/react": "^16.3.0",
|
|
60
60
|
"jscodeshift": "^17.0.0",
|
|
61
61
|
"react-dom": "^18.2.0",
|
|
62
62
|
"storybook-addon-performance": "^0.17.3"
|