@atlaskit/checkbox 17.1.8 → 17.1.10
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/dist/cjs/checkbox.js +1 -1
- package/dist/es2019/checkbox.js +1 -1
- package/dist/esm/checkbox.js +1 -1
- package/dist/types/checkbox.d.ts +27 -32
- package/dist/types/internal/checkbox-icon.d.ts +0 -1
- package/dist/types/internal/label-text.d.ts +0 -1
- package/dist/types/internal/label.d.ts +0 -1
- package/dist/types/internal/required-indicator.d.ts +0 -1
- package/dist/types-ts4.5/checkbox.d.ts +27 -32
- package/dist/types-ts4.5/internal/checkbox-icon.d.ts +0 -1
- package/dist/types-ts4.5/internal/label-text.d.ts +0 -1
- package/dist/types-ts4.5/internal/label.d.ts +0 -1
- package/dist/types-ts4.5/internal/required-indicator.d.ts +0 -1
- package/package.json +8 -9
package/CHANGELOG.md
CHANGED
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: "17.1.
|
|
80
|
+
packageVersion: "17.1.9"
|
|
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: "17.1.
|
|
62
|
+
packageVersion: "17.1.9"
|
|
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: "17.1.
|
|
71
|
+
packageVersion: "17.1.9"
|
|
72
72
|
});
|
|
73
73
|
var internalRef = useRef(null);
|
|
74
74
|
var mergedRefs = mergeRefs([internalRef, ref]);
|
package/dist/types/checkbox.d.ts
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { type ChangeEvent } from 'react';
|
|
6
1
|
import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
7
2
|
/**
|
|
8
3
|
* __Checkbox__
|
|
@@ -13,35 +8,35 @@ import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
|
13
8
|
* - [Code](https://atlassian.design/components/checkbox/code)
|
|
14
9
|
* - [Usage](https://atlassian.design/components/checkbox/usage)
|
|
15
10
|
*/
|
|
16
|
-
declare const Checkbox: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "
|
|
17
|
-
defaultChecked?: boolean
|
|
18
|
-
id?: string
|
|
19
|
-
isChecked?: boolean
|
|
20
|
-
isDisabled?: boolean
|
|
21
|
-
isIndeterminate?: boolean
|
|
22
|
-
isInvalid?: boolean
|
|
23
|
-
isRequired?: boolean
|
|
24
|
-
label?:
|
|
25
|
-
name?: string
|
|
26
|
-
onChange?: (
|
|
27
|
-
value?:
|
|
28
|
-
testId?: string
|
|
29
|
-
analyticsContext?: Record<string, any
|
|
11
|
+
declare const Checkbox: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "css" | "disabled" | "required" | "checked">, keyof {
|
|
12
|
+
defaultChecked?: boolean;
|
|
13
|
+
id?: string;
|
|
14
|
+
isChecked?: boolean;
|
|
15
|
+
isDisabled?: boolean;
|
|
16
|
+
isIndeterminate?: boolean;
|
|
17
|
+
isInvalid?: boolean;
|
|
18
|
+
isRequired?: boolean;
|
|
19
|
+
label?: React.ReactChild;
|
|
20
|
+
name?: string;
|
|
21
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>, analyticsEvent: UIAnalyticsEvent) => void;
|
|
22
|
+
value?: number | string;
|
|
23
|
+
testId?: string;
|
|
24
|
+
analyticsContext?: Record<string, any>;
|
|
30
25
|
xcss?: import("@atlaskit/css").StrictXCSSProp<"alignItems", never>;
|
|
31
26
|
}> & {
|
|
32
|
-
defaultChecked?: boolean
|
|
33
|
-
id?: string
|
|
34
|
-
isChecked?: boolean
|
|
35
|
-
isDisabled?: boolean
|
|
36
|
-
isIndeterminate?: boolean
|
|
37
|
-
isInvalid?: boolean
|
|
38
|
-
isRequired?: boolean
|
|
39
|
-
label?:
|
|
40
|
-
name?: string
|
|
41
|
-
onChange?: (
|
|
42
|
-
value?:
|
|
43
|
-
testId?: string
|
|
44
|
-
analyticsContext?: Record<string, any
|
|
27
|
+
defaultChecked?: boolean;
|
|
28
|
+
id?: string;
|
|
29
|
+
isChecked?: boolean;
|
|
30
|
+
isDisabled?: boolean;
|
|
31
|
+
isIndeterminate?: boolean;
|
|
32
|
+
isInvalid?: boolean;
|
|
33
|
+
isRequired?: boolean;
|
|
34
|
+
label?: React.ReactChild;
|
|
35
|
+
name?: string;
|
|
36
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>, analyticsEvent: UIAnalyticsEvent) => void;
|
|
37
|
+
value?: number | string;
|
|
38
|
+
testId?: string;
|
|
39
|
+
analyticsContext?: Record<string, any>;
|
|
45
40
|
xcss?: import("@atlaskit/css").StrictXCSSProp<"alignItems", never>;
|
|
46
41
|
} & import("react").RefAttributes<HTMLInputElement>>>;
|
|
47
42
|
export default Checkbox;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { type ChangeEvent } from 'react';
|
|
6
1
|
import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
7
2
|
/**
|
|
8
3
|
* __Checkbox__
|
|
@@ -13,35 +8,35 @@ import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
|
13
8
|
* - [Code](https://atlassian.design/components/checkbox/code)
|
|
14
9
|
* - [Usage](https://atlassian.design/components/checkbox/usage)
|
|
15
10
|
*/
|
|
16
|
-
declare const Checkbox: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "
|
|
17
|
-
defaultChecked?: boolean
|
|
18
|
-
id?: string
|
|
19
|
-
isChecked?: boolean
|
|
20
|
-
isDisabled?: boolean
|
|
21
|
-
isIndeterminate?: boolean
|
|
22
|
-
isInvalid?: boolean
|
|
23
|
-
isRequired?: boolean
|
|
24
|
-
label?:
|
|
25
|
-
name?: string
|
|
26
|
-
onChange?: (
|
|
27
|
-
value?:
|
|
28
|
-
testId?: string
|
|
29
|
-
analyticsContext?: Record<string, any
|
|
11
|
+
declare const Checkbox: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "css" | "disabled" | "required" | "checked">, keyof {
|
|
12
|
+
defaultChecked?: boolean;
|
|
13
|
+
id?: string;
|
|
14
|
+
isChecked?: boolean;
|
|
15
|
+
isDisabled?: boolean;
|
|
16
|
+
isIndeterminate?: boolean;
|
|
17
|
+
isInvalid?: boolean;
|
|
18
|
+
isRequired?: boolean;
|
|
19
|
+
label?: React.ReactChild;
|
|
20
|
+
name?: string;
|
|
21
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>, analyticsEvent: UIAnalyticsEvent) => void;
|
|
22
|
+
value?: number | string;
|
|
23
|
+
testId?: string;
|
|
24
|
+
analyticsContext?: Record<string, any>;
|
|
30
25
|
xcss?: import("@atlaskit/css").StrictXCSSProp<"alignItems", never>;
|
|
31
26
|
}> & {
|
|
32
|
-
defaultChecked?: boolean
|
|
33
|
-
id?: string
|
|
34
|
-
isChecked?: boolean
|
|
35
|
-
isDisabled?: boolean
|
|
36
|
-
isIndeterminate?: boolean
|
|
37
|
-
isInvalid?: boolean
|
|
38
|
-
isRequired?: boolean
|
|
39
|
-
label?:
|
|
40
|
-
name?: string
|
|
41
|
-
onChange?: (
|
|
42
|
-
value?:
|
|
43
|
-
testId?: string
|
|
44
|
-
analyticsContext?: Record<string, any
|
|
27
|
+
defaultChecked?: boolean;
|
|
28
|
+
id?: string;
|
|
29
|
+
isChecked?: boolean;
|
|
30
|
+
isDisabled?: boolean;
|
|
31
|
+
isIndeterminate?: boolean;
|
|
32
|
+
isInvalid?: boolean;
|
|
33
|
+
isRequired?: boolean;
|
|
34
|
+
label?: React.ReactChild;
|
|
35
|
+
name?: string;
|
|
36
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>, analyticsEvent: UIAnalyticsEvent) => void;
|
|
37
|
+
value?: number | string;
|
|
38
|
+
testId?: string;
|
|
39
|
+
analyticsContext?: Record<string, any>;
|
|
45
40
|
xcss?: import("@atlaskit/css").StrictXCSSProp<"alignItems", never>;
|
|
46
41
|
} & import("react").RefAttributes<HTMLInputElement>>>;
|
|
47
42
|
export default Checkbox;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/checkbox",
|
|
3
|
-
"version": "17.1.
|
|
3
|
+
"version": "17.1.10",
|
|
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/"
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
39
39
|
"@atlaskit/css": "^0.12.0",
|
|
40
40
|
"@atlaskit/ds-lib": "^5.0.0",
|
|
41
|
-
"@atlaskit/icon": "^
|
|
41
|
+
"@atlaskit/icon": "^28.0.0",
|
|
42
42
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
43
43
|
"@atlaskit/theme": "^19.0.0",
|
|
44
|
-
"@atlaskit/tokens": "^
|
|
44
|
+
"@atlaskit/tokens": "^6.0.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
46
|
"@compiled/react": "^0.18.3"
|
|
47
47
|
},
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"@af/accessibility-testing": "workspace:^",
|
|
53
53
|
"@af/integration-testing": "workspace:^",
|
|
54
54
|
"@af/visual-regression": "workspace:^",
|
|
55
|
-
"@atlaskit/button": "^23.
|
|
55
|
+
"@atlaskit/button": "^23.4.0",
|
|
56
56
|
"@atlaskit/docs": "^11.0.0",
|
|
57
|
-
"@atlaskit/form": "^12.
|
|
57
|
+
"@atlaskit/form": "^12.1.0",
|
|
58
58
|
"@atlaskit/link": "^3.2.0",
|
|
59
|
-
"@atlaskit/primitives": "^14.
|
|
60
|
-
"@atlaskit/section-message": "^8.
|
|
59
|
+
"@atlaskit/primitives": "^14.11.0",
|
|
60
|
+
"@atlaskit/section-message": "^8.5.0",
|
|
61
61
|
"@atlaskit/ssr": "workspace:^",
|
|
62
62
|
"@atlaskit/visual-regression": "workspace:^",
|
|
63
63
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|
|
@@ -65,8 +65,7 @@
|
|
|
65
65
|
"@testing-library/react": "^13.4.0",
|
|
66
66
|
"jscodeshift": "^17.0.0",
|
|
67
67
|
"react-dom": "^18.2.0",
|
|
68
|
-
"storybook-addon-performance": "^0.17.3"
|
|
69
|
-
"typescript": "~5.4.2"
|
|
68
|
+
"storybook-addon-performance": "^0.17.3"
|
|
70
69
|
},
|
|
71
70
|
"keywords": [
|
|
72
71
|
"atlaskit",
|