@atlaskit/checkbox 17.3.1 → 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 +6 -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/checkbox.js +1 -1
- package/dist/es2019/checkbox.js +1 -1
- package/dist/esm/checkbox.js +1 -1
- package/package.json +3 -3
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',
|
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]);
|
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]);
|
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]);
|
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
|
},
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@atlaskit/docs": "^11.3.0",
|
|
54
54
|
"@atlaskit/form": "^15.3.0",
|
|
55
55
|
"@atlaskit/link": "^3.3.0",
|
|
56
|
-
"@atlaskit/primitives": "^
|
|
56
|
+
"@atlaskit/primitives": "^18.0.0",
|
|
57
57
|
"@atlaskit/section-message": "^8.12.0",
|
|
58
58
|
"@atlassian/ssr-tests": "workspace:^",
|
|
59
59
|
"@testing-library/react": "^16.3.0",
|