@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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/checkbox
2
2
 
3
+ ## 17.1.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 17.1.9
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 17.1.8
4
16
 
5
17
  ### Patch Changes
@@ -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.7"
80
+ packageVersion: "17.1.9"
81
81
  });
82
82
  var internalRef = (0, _react.useRef)(null);
83
83
  var mergedRefs = (0, _mergeRefs.default)([internalRef, ref]);
@@ -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.7"
62
+ packageVersion: "17.1.9"
63
63
  });
64
64
  const internalRef = useRef(null);
65
65
  const mergedRefs = mergeRefs([internalRef, ref]);
@@ -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.7"
71
+ packageVersion: "17.1.9"
72
72
  });
73
73
  var internalRef = useRef(null);
74
74
  var mergedRefs = mergeRefs([internalRef, ref]);
@@ -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>, "disabled" | "required" | "checked" | "css">, keyof {
17
- defaultChecked?: boolean | undefined;
18
- id?: string | undefined;
19
- isChecked?: boolean | undefined;
20
- isDisabled?: boolean | undefined;
21
- isIndeterminate?: boolean | undefined;
22
- isInvalid?: boolean | undefined;
23
- isRequired?: boolean | undefined;
24
- label?: import("react").ReactChild | undefined;
25
- name?: string | undefined;
26
- onChange?: ((e: ChangeEvent<HTMLInputElement>, analyticsEvent: UIAnalyticsEvent) => void) | undefined;
27
- value?: string | number | undefined;
28
- testId?: string | undefined;
29
- analyticsContext?: Record<string, any> | undefined;
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 | undefined;
33
- id?: string | undefined;
34
- isChecked?: boolean | undefined;
35
- isDisabled?: boolean | undefined;
36
- isIndeterminate?: boolean | undefined;
37
- isInvalid?: boolean | undefined;
38
- isRequired?: boolean | undefined;
39
- label?: import("react").ReactChild | undefined;
40
- name?: string | undefined;
41
- onChange?: ((e: ChangeEvent<HTMLInputElement>, analyticsEvent: UIAnalyticsEvent) => void) | undefined;
42
- value?: string | number | undefined;
43
- testId?: string | undefined;
44
- analyticsContext?: Record<string, any> | undefined;
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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * __Checkbox icon__
4
3
  *
@@ -2,6 +2,5 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- /// <reference types="react" />
6
5
  import { type LabelTextProps } from '../types';
7
6
  export default function LabelText({ children }: LabelTextProps): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { type LabelProps } from '../types';
3
2
  export default function Label({ children, isDisabled, testId, label, id, xcss }: LabelProps): JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export default function RequiredIndicator(): JSX.Element;
@@ -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>, "disabled" | "required" | "checked" | "css">, keyof {
17
- defaultChecked?: boolean | undefined;
18
- id?: string | undefined;
19
- isChecked?: boolean | undefined;
20
- isDisabled?: boolean | undefined;
21
- isIndeterminate?: boolean | undefined;
22
- isInvalid?: boolean | undefined;
23
- isRequired?: boolean | undefined;
24
- label?: import("react").ReactChild | undefined;
25
- name?: string | undefined;
26
- onChange?: ((e: ChangeEvent<HTMLInputElement>, analyticsEvent: UIAnalyticsEvent) => void) | undefined;
27
- value?: string | number | undefined;
28
- testId?: string | undefined;
29
- analyticsContext?: Record<string, any> | undefined;
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 | undefined;
33
- id?: string | undefined;
34
- isChecked?: boolean | undefined;
35
- isDisabled?: boolean | undefined;
36
- isIndeterminate?: boolean | undefined;
37
- isInvalid?: boolean | undefined;
38
- isRequired?: boolean | undefined;
39
- label?: import("react").ReactChild | undefined;
40
- name?: string | undefined;
41
- onChange?: ((e: ChangeEvent<HTMLInputElement>, analyticsEvent: UIAnalyticsEvent) => void) | undefined;
42
- value?: string | number | undefined;
43
- testId?: string | undefined;
44
- analyticsContext?: Record<string, any> | undefined;
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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * __Checkbox icon__
4
3
  *
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @jsxRuntime classic
4
3
  * @jsx jsx
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { type LabelProps } from '../types';
3
2
  export default function Label({ children, isDisabled, testId, label, id, xcss }: LabelProps): JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export default function RequiredIndicator(): JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/checkbox",
3
- "version": "17.1.8",
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": "^27.6.0",
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": "^5.6.0",
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.2.0",
55
+ "@atlaskit/button": "^23.4.0",
56
56
  "@atlaskit/docs": "^11.0.0",
57
- "@atlaskit/form": "^12.0.0",
57
+ "@atlaskit/form": "^12.1.0",
58
58
  "@atlaskit/link": "^3.2.0",
59
- "@atlaskit/primitives": "^14.10.0",
60
- "@atlaskit/section-message": "^8.3.0",
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",