@atlaskit/checkbox 12.6.5 → 12.6.6

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,11 @@
1
1
  # @atlaskit/checkbox
2
2
 
3
+ ## 12.6.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
8
+
3
9
  ## 12.6.5
4
10
 
5
11
  ### Patch Changes
@@ -161,7 +161,7 @@ var Checkbox = /*#__PURE__*/(0, _react.memo)( /*#__PURE__*/(0, _react.forwardRef
161
161
  analyticsData: analyticsContext,
162
162
  componentName: 'checkbox',
163
163
  packageName: "@atlaskit/checkbox",
164
- packageVersion: "12.6.5"
164
+ packageVersion: "12.6.6"
165
165
  });
166
166
  var internalRef = (0, _react.useRef)(null);
167
167
  var mergedRefs = (0, _mergeRefs.default)([internalRef, ref]);
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/checkbox",
3
- "version": "12.6.5",
3
+ "version": "12.6.6",
4
4
  "sideEffects": false
5
5
  }
@@ -145,7 +145,7 @@ const Checkbox = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function Checkbox(pr
145
145
  analyticsData: analyticsContext,
146
146
  componentName: 'checkbox',
147
147
  packageName: "@atlaskit/checkbox",
148
- packageVersion: "12.6.5"
148
+ packageVersion: "12.6.6"
149
149
  });
150
150
  const internalRef = useRef(null);
151
151
  const mergedRefs = mergeRefs([internalRef, ref]);
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/checkbox",
3
- "version": "12.6.5",
3
+ "version": "12.6.6",
4
4
  "sideEffects": false
5
5
  }
@@ -154,7 +154,7 @@ var Checkbox = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function Checkbox(prop
154
154
  analyticsData: analyticsContext,
155
155
  componentName: 'checkbox',
156
156
  packageName: "@atlaskit/checkbox",
157
- packageVersion: "12.6.5"
157
+ packageVersion: "12.6.6"
158
158
  });
159
159
  var internalRef = useRef(null);
160
160
  var mergedRefs = mergeRefs([internalRef, ref]);
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/checkbox",
3
- "version": "12.6.5",
3
+ "version": "12.6.6",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/checkbox",
3
- "version": "12.6.5",
3
+ "version": "12.6.6",
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/"
@@ -47,13 +47,13 @@
47
47
  "react": "^16.8.0"
48
48
  },
49
49
  "devDependencies": {
50
+ "@af/accessibility-testing": "*",
50
51
  "@atlaskit/ssr": "*",
51
52
  "@atlaskit/visual-regression": "*",
52
53
  "@atlaskit/webdriver-runner": "*",
53
54
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
54
55
  "@atlassian/feature-flags-test-utils": "*",
55
56
  "@testing-library/react": "^12.1.5",
56
- "jest-axe": "^4.0.0",
57
57
  "jscodeshift": "^0.13.0",
58
58
  "react-dom": "^16.8.0",
59
59
  "storybook-addon-performance": "^0.16.0",
@@ -92,4 +92,4 @@
92
92
  },
93
93
  "homepage": "https://atlassian.design/components/checkbox/",
94
94
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
95
- }
95
+ }
@@ -1,62 +0,0 @@
1
- ## API Report File for "@atlaskit/checkbox"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- /// <reference types="react" />
8
-
9
- import { ForwardRefExoticComponent } from 'react';
10
- import { InputHTMLAttributes } from 'react';
11
- import { MemoExoticComponent } from 'react';
12
- import { default as React_2 } from 'react';
13
- import { RefAttributes } from 'react';
14
- import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
15
-
16
- // @public
17
- const Checkbox: MemoExoticComponent<ForwardRefExoticComponent<Omit<Omit<InputHTMLAttributes<HTMLInputElement>, "checked" | "css" | "disabled" | "required">, keyof OwnProps> & OwnProps & RefAttributes<HTMLInputElement>>>;
18
- export { Checkbox }
19
- export default Checkbox;
20
-
21
- // @public (undocumented)
22
- export type CheckboxProps = Combine<Omit<React_2.InputHTMLAttributes<HTMLInputElement>,
23
- /**
24
- * 'disabled', 'required', and 'checked' are omitted so that
25
- * consumers must handle state using our props.
26
- *
27
- * 'css' is added globally to element attributes by emotion.
28
- * This was causing a bug, making the css prop required in
29
- * some cases. We explicitly omit it to avoid that.
30
- *
31
- * Because 'className' (which the css prop uses internally)
32
- * is still available, this should not break existing usage.
33
- */
34
- 'checked' | 'css' | 'disabled' | 'required'>, OwnProps>;
35
-
36
- // @public (undocumented)
37
- type Combine<First, Second> = Omit<First, keyof Second> & Second;
38
-
39
- // @public
40
- type OwnProps = {
41
- defaultChecked?: boolean;
42
- id?: string;
43
- isChecked?: boolean;
44
- isDisabled?: boolean;
45
- isIndeterminate?: boolean;
46
- isInvalid?: boolean;
47
- isRequired?: boolean;
48
- label?: React_2.ReactChild;
49
- name?: string;
50
- onChange?: (e: React_2.ChangeEvent<HTMLInputElement>, analyticsEvent: UIAnalyticsEvent) => void;
51
- value?: number | string;
52
- size?: Size;
53
- testId?: string;
54
- analyticsContext?: Record<string, any>;
55
- };
56
-
57
- // @public (undocumented)
58
- type Size = 'large' | 'medium' | 'small' | 'xlarge';
59
-
60
- // (No @packageDocumentation comment for this package)
61
-
62
- ```