@atlaskit/color-picker 5.2.2 → 5.2.4

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,19 @@
1
1
  # @atlaskit/color-picker
2
2
 
3
+ ## 5.2.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`92b1368d9607d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/92b1368d9607d) -
8
+ Sorted type and interface props to improve Atlaskit docs
9
+ - Updated dependencies
10
+
11
+ ## 5.2.3
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 5.2.2
4
18
 
5
19
  ### Patch Changes
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/components/ColorPaletteMenu.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/components/ColorPaletteMenu.d.ts"
14
14
  ]
@@ -3,9 +3,9 @@
3
3
  "compilerOptions": {
4
4
  "declaration": true,
5
5
  "target": "es5",
6
- "composite": true,
7
6
  "outDir": "../../../../../confluence/tsDist/@atlaskit__color-picker",
8
- "rootDir": "../"
7
+ "rootDir": "../",
8
+ "composite": true
9
9
  },
10
10
  "include": [
11
11
  "../src/**/*.ts",
@@ -5,12 +5,12 @@ import transformer from '../1.0.0-popper-props';
5
5
  const applyTransform = require('jscodeshift/dist/testUtils').applyTransform;
6
6
 
7
7
  type TestArgs = {
8
- it: string;
9
- original: string;
8
+ after?: () => void;
9
+ before?: () => void;
10
10
  expected: string;
11
+ it: string;
11
12
  mode?: 'only' | 'skip';
12
- before?: () => void;
13
- after?: () => void;
13
+ original: string;
14
14
  };
15
15
 
16
16
  function noop() {}
@@ -29,8 +29,8 @@ export function getDefaultSpecifierName({
29
29
  base,
30
30
  packageName,
31
31
  }: {
32
- j: core.JSCodeshift;
33
32
  base: Collection<any>;
33
+ j: core.JSCodeshift;
34
34
  packageName: string;
35
35
  }): Nullable<string> {
36
36
  const specifiers = base
@@ -50,10 +50,10 @@ export function getSpecifierName({
50
50
  packageName,
51
51
  component,
52
52
  }: {
53
- j: core.JSCodeshift;
54
53
  base: Collection<any>;
55
- packageName: string;
56
54
  component: string;
55
+ j: core.JSCodeshift;
56
+ packageName: string;
57
57
  }): Nullable<string> {
58
58
  const specifiers = base
59
59
  .find(j.ImportDeclaration)
@@ -76,9 +76,9 @@ export function getJSXAttributesByName({
76
76
  element,
77
77
  attributeName,
78
78
  }: {
79
- j: core.JSCodeshift;
80
- element: JSXElement | ASTPath<JSXElement>;
81
79
  attributeName: string;
80
+ element: JSXElement | ASTPath<JSXElement>;
81
+ j: core.JSCodeshift;
82
82
  }): Collection<JSXAttribute> {
83
83
  return j(element)
84
84
  .find(j.JSXOpeningElement)
@@ -96,9 +96,9 @@ export function hasJSXAttributesByName({
96
96
  element,
97
97
  attributeName,
98
98
  }: {
99
- j: core.JSCodeshift;
100
- element: JSXElement;
101
99
  attributeName: string;
100
+ element: JSXElement;
101
+ j: core.JSCodeshift;
102
102
  }): boolean {
103
103
  return getJSXAttributesByName({ j, element, attributeName }).length > 0;
104
104
  }
@@ -108,9 +108,9 @@ export function isUsingSupportedSpread({
108
108
  base,
109
109
  element,
110
110
  }: {
111
- j: core.JSCodeshift;
112
111
  base: Collection<any>;
113
112
  element: NodePath<JSXElement, JSXElement>;
113
+ j: core.JSCodeshift;
114
114
  }): boolean {
115
115
  const isUsingSpread: boolean = j(element).find(j.JSXSpreadAttribute).length > 0;
116
116
 
@@ -153,9 +153,9 @@ export function isUsingThroughSpread({
153
153
  element,
154
154
  propName,
155
155
  }: {
156
- j: core.JSCodeshift;
157
156
  base: Collection<any>;
158
157
  element: NodePath<JSXElement, JSXElement>;
158
+ j: core.JSCodeshift;
159
159
  propName: string;
160
160
  }): boolean {
161
161
  if (!isUsingSupportedSpread({ j, base, element })) {
@@ -233,9 +233,9 @@ export function isUsingProp({
233
233
  element,
234
234
  propName,
235
235
  }: {
236
- j: core.JSCodeshift;
237
236
  base: Collection<any>;
238
237
  element: NodePath<JSXElement, JSXElement>;
238
+ j: core.JSCodeshift;
239
239
  propName: string;
240
240
  }): boolean {
241
241
  return (
@@ -272,8 +272,8 @@ export function addCommentToStartOfFile({
272
272
  base,
273
273
  message,
274
274
  }: {
275
- j: core.JSCodeshift;
276
275
  base: Collection<Node>;
276
+ j: core.JSCodeshift;
277
277
  message: string;
278
278
  }) {
279
279
  addCommentBefore({
@@ -290,8 +290,8 @@ export function addCommentBefore({
290
290
  message,
291
291
  }: {
292
292
  j: core.JSCodeshift;
293
- target: Collection<Node>;
294
293
  message: string;
294
+ target: Collection<Node>;
295
295
  }) {
296
296
  const content: string = ` TODO: (from codemod) ${clean(message)} `;
297
297
  target.forEach((path) => {
@@ -61,7 +61,7 @@ var ColorPaletteMenuWithoutAnalytics = exports.ColorPaletteMenuWithoutAnalytics
61
61
  attributes: {
62
62
  componentName: 'color-picker',
63
63
  packageName: "@atlaskit/color-picker",
64
- packageVersion: "5.2.1"
64
+ packageVersion: "5.2.3"
65
65
  }
66
66
  })(createAnalyticsEvent);
67
67
  }
@@ -146,7 +146,7 @@ var ColorPaletteMenuWithoutAnalytics = exports.ColorPaletteMenuWithoutAnalytics
146
146
  var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)({
147
147
  componentName: 'color-picker',
148
148
  packageName: "@atlaskit/color-picker",
149
- packageVersion: "5.2.1"
149
+ packageVersion: "5.2.3"
150
150
  })((0, _analyticsNext.withAnalyticsEvents)()(ColorPaletteMenuWithoutAnalytics));
151
151
  var colorCardWrapperStyles = null;
152
152
  var colorPaletteContainerStyles = null;
@@ -39,7 +39,7 @@ var defaultPopperProps = {
39
39
  placement: 'bottom-start'
40
40
  };
41
41
  var packageName = "@atlaskit/color-picker";
42
- var packageVersion = "5.2.1";
42
+ var packageVersion = "5.2.3";
43
43
  var ColorPickerWithoutAnalyticsBase = /*#__PURE__*/function (_React$Component) {
44
44
  function ColorPickerWithoutAnalyticsBase() {
45
45
  var _this;
@@ -42,7 +42,7 @@ export const ColorPaletteMenuWithoutAnalytics = ({
42
42
  attributes: {
43
43
  componentName: 'color-picker',
44
44
  packageName: "@atlaskit/color-picker",
45
- packageVersion: "5.2.1"
45
+ packageVersion: "5.2.3"
46
46
  }
47
47
  })(createAnalyticsEvent);
48
48
  }
@@ -120,7 +120,7 @@ export const ColorPaletteMenuWithoutAnalytics = ({
120
120
  export default withAnalyticsContext({
121
121
  componentName: 'color-picker',
122
122
  packageName: "@atlaskit/color-picker",
123
- packageVersion: "5.2.1"
123
+ packageVersion: "5.2.3"
124
124
  })(withAnalyticsEvents()(ColorPaletteMenuWithoutAnalytics));
125
125
  const colorCardWrapperStyles = null;
126
126
  const colorPaletteContainerStyles = null;
@@ -23,7 +23,7 @@ const defaultPopperProps = {
23
23
  placement: 'bottom-start'
24
24
  };
25
25
  const packageName = "@atlaskit/color-picker";
26
- const packageVersion = "5.2.1";
26
+ const packageVersion = "5.2.3";
27
27
  class ColorPickerWithoutAnalyticsBase extends React.Component {
28
28
  constructor(...args) {
29
29
  super(...args);
@@ -52,7 +52,7 @@ export var ColorPaletteMenuWithoutAnalytics = function ColorPaletteMenuWithoutAn
52
52
  attributes: {
53
53
  componentName: 'color-picker',
54
54
  packageName: "@atlaskit/color-picker",
55
- packageVersion: "5.2.1"
55
+ packageVersion: "5.2.3"
56
56
  }
57
57
  })(createAnalyticsEvent);
58
58
  }
@@ -137,7 +137,7 @@ export var ColorPaletteMenuWithoutAnalytics = function ColorPaletteMenuWithoutAn
137
137
  export default withAnalyticsContext({
138
138
  componentName: 'color-picker',
139
139
  packageName: "@atlaskit/color-picker",
140
- packageVersion: "5.2.1"
140
+ packageVersion: "5.2.3"
141
141
  })(withAnalyticsEvents()(ColorPaletteMenuWithoutAnalytics));
142
142
  var colorCardWrapperStyles = null;
143
143
  var colorPaletteContainerStyles = null;
@@ -30,7 +30,7 @@ var defaultPopperProps = {
30
30
  placement: 'bottom-start'
31
31
  };
32
32
  var packageName = "@atlaskit/color-picker";
33
- var packageVersion = "5.2.1";
33
+ var packageVersion = "5.2.3";
34
34
  var ColorPickerWithoutAnalyticsBase = /*#__PURE__*/function (_React$Component) {
35
35
  function ColorPickerWithoutAnalyticsBase() {
36
36
  var _this;
@@ -6,18 +6,18 @@ import React, { type KeyboardEventHandler, type Ref } from 'react';
6
6
  import type { ColorCardType, ColorCardVariant } from '../types';
7
7
  export interface Props {
8
8
  autoFocus?: boolean;
9
+ checkMarkColor?: string;
10
+ focused?: boolean;
9
11
  initialFocusRef?: Ref<HTMLDivElement>;
10
12
  isInsideMenu?: boolean;
11
- type: ColorCardType;
12
- value: string;
13
+ isOption?: boolean;
14
+ isTabbing?: boolean;
13
15
  label: string;
14
16
  onClick?: (event: React.MouseEvent | React.KeyboardEvent, value: string) => void;
15
17
  onKeyDown?: KeyboardEventHandler<HTMLElement>;
16
- checkMarkColor?: string;
17
18
  selected?: boolean;
18
- focused?: boolean;
19
- isOption?: boolean;
20
- isTabbing?: boolean;
19
+ type: ColorCardType;
20
+ value: string;
21
21
  variant?: ColorCardVariant;
22
22
  }
23
23
  export type ColorCardRef = {
@@ -8,28 +8,28 @@ import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
8
8
  export type Props = {
9
9
  /** the toggle that decides if the selected color will be automatically focused on load */
10
10
  autoFocus?: boolean;
11
+ /** color of checkmark on selected color */
12
+ checkMarkColor?: string;
13
+ /** maximum column length */
14
+ cols: number;
15
+ /** You should not be accessing this prop under any circumstances. It is provided by @atlaskit/analytics-next. */
16
+ createAnalyticsEvent?: any;
17
+ /** the ref object (usually the currently selected color palette) that consumer can leverage to focus on load */
18
+ initialFocusRef?: Ref<HTMLDivElement>;
11
19
  /** the toggle that decides if users can tab outside the color picker (arrow keys will always cycle the focus) */
12
20
  isFocusLockEnabled?: boolean;
13
21
  /** the toggle that decides if menu-related assistive technology should be applied */
14
22
  isInsideMenu?: boolean;
15
23
  /** color picker button label */
16
24
  label?: string;
25
+ /** style of the color-picker, either 'Compact' or 'Standard', default value is 'Standard' */
26
+ mode?: Mode;
27
+ /** onChange handler */
28
+ onChange: (event: MouseEvent | KeyboardEvent, value: string, analyticsEvent?: UIAnalyticsEvent) => void;
17
29
  /** list of available colors */
18
30
  palette: Palette;
19
31
  /** selected color */
20
32
  selectedColor?: string;
21
- /** maximum column length */
22
- cols: number;
23
- /** color of checkmark on selected color */
24
- checkMarkColor?: string;
25
- /** onChange handler */
26
- onChange: (event: MouseEvent | KeyboardEvent, value: string, analyticsEvent?: UIAnalyticsEvent) => void;
27
- /** You should not be accessing this prop under any circumstances. It is provided by @atlaskit/analytics-next. */
28
- createAnalyticsEvent?: any;
29
- /** style of the color-picker, either 'Compact' or 'Standard', default value is 'Standard' */
30
- mode?: Mode;
31
- /** the ref object (usually the currently selected color palette) that consumer can leverage to focus on load */
32
- initialFocusRef?: Ref<HTMLDivElement>;
33
33
  /** Variant of color card */
34
34
  variant?: ColorCardVariant;
35
35
  };
@@ -7,41 +7,41 @@ import { type PopupSelectProps } from '@atlaskit/select';
7
7
  import { type Palette, type SwatchSize, type ColorCardVariant } from '../types';
8
8
  import type { WrappedComponentProps } from 'react-intl-next';
9
9
  export interface Props {
10
+ /** color of checkmark on selected color */
11
+ checkMarkColor?: string;
12
+ /** maximum column length */
13
+ cols?: number;
14
+ /** You should not be accessing this prop under any circumstances. It is provided by @atlaskit/analytics-next. */
15
+ createAnalyticsEvent?: any;
16
+ /** diasble swatch button */
17
+ isDisabledSelectedSwatch?: boolean;
10
18
  /** color picker button label */
11
19
  label?: string;
12
- /** trigger id for accessability labelling */
13
- triggerId?: string;
20
+ /** onChange handler */
21
+ onChange: (value: string, analyticsEvent?: object) => void;
22
+ /** onMenuOpen handler */
23
+ onMenuOpen?: () => void;
14
24
  /** list of available colors */
15
25
  palette: Palette;
16
- /** selected color */
17
- selectedColor?: string;
18
- /** maximum column length */
19
- cols?: number;
20
- /** color of checkmark on selected color */
21
- checkMarkColor?: string;
22
26
  /** props for react-popper */
23
27
  popperProps?: PopupSelectProps['popperProps'];
24
- /** onChange handler */
25
- onChange: (value: string, analyticsEvent?: object) => void;
26
- /** You should not be accessing this prop under any circumstances. It is provided by @atlaskit/analytics-next. */
27
- createAnalyticsEvent?: any;
28
+ /** selected color */
29
+ selectedColor?: string;
28
30
  /** swatch button size */
29
31
  selectedColourSwatchSize?: SwatchSize;
30
32
  /** swatch button default color */
31
33
  showDefaultSwatchColor?: boolean;
32
- /** diasble swatch button */
33
- isDisabledSelectedSwatch?: boolean;
34
- /** onMenuOpen handler */
35
- onMenuOpen?: () => void;
36
- /** Display filled or outline variant of the color */
37
- variant?: ColorCardVariant;
38
34
  /** Test ID */
39
35
  testId?: string;
36
+ /** trigger id for accessability labelling */
37
+ triggerId?: string;
38
+ /** Display filled or outline variant of the color */
39
+ variant?: ColorCardVariant;
40
40
  }
41
41
  export declare const ColorPickerWithoutAnalytics: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
42
42
  WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
43
43
  };
44
44
  declare const _default: React.ForwardRefExoticComponent<Omit<Omit<Omit<Props & WrappedComponentProps, "intl"> & {
45
- forwardedRef?: React.Ref<any> | undefined;
45
+ forwardedRef?: React.Ref<any>;
46
46
  }, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "ref"> & React.RefAttributes<any>>;
47
47
  export default _default;
@@ -1,13 +1,12 @@
1
- /// <reference types="react" />
2
1
  import { type SwatchSize, type ColorCardVariant } from '../types';
3
2
  export interface Props {
4
- value: string;
3
+ expanded?: boolean;
4
+ id?: string;
5
+ isDisabled?: boolean;
5
6
  label?: string;
6
7
  onClick?: () => void;
7
- expanded?: boolean;
8
8
  swatchSize?: SwatchSize;
9
- isDisabled?: boolean;
10
- id?: string;
9
+ value: string;
11
10
  variant?: ColorCardVariant;
12
11
  }
13
12
  declare const ColorCard: ({ value, label, expanded, onClick, swatchSize, isDisabled, id, variant, }: Props) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @jsxRuntime classic
4
3
  * @jsx jsx
@@ -6,18 +6,18 @@ import React, { type KeyboardEventHandler, type Ref } from 'react';
6
6
  import type { ColorCardType, ColorCardVariant } from '../types';
7
7
  export interface Props {
8
8
  autoFocus?: boolean;
9
+ checkMarkColor?: string;
10
+ focused?: boolean;
9
11
  initialFocusRef?: Ref<HTMLDivElement>;
10
12
  isInsideMenu?: boolean;
11
- type: ColorCardType;
12
- value: string;
13
+ isOption?: boolean;
14
+ isTabbing?: boolean;
13
15
  label: string;
14
16
  onClick?: (event: React.MouseEvent | React.KeyboardEvent, value: string) => void;
15
17
  onKeyDown?: KeyboardEventHandler<HTMLElement>;
16
- checkMarkColor?: string;
17
18
  selected?: boolean;
18
- focused?: boolean;
19
- isOption?: boolean;
20
- isTabbing?: boolean;
19
+ type: ColorCardType;
20
+ value: string;
21
21
  variant?: ColorCardVariant;
22
22
  }
23
23
  export type ColorCardRef = {
@@ -8,28 +8,28 @@ import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
8
8
  export type Props = {
9
9
  /** the toggle that decides if the selected color will be automatically focused on load */
10
10
  autoFocus?: boolean;
11
+ /** color of checkmark on selected color */
12
+ checkMarkColor?: string;
13
+ /** maximum column length */
14
+ cols: number;
15
+ /** You should not be accessing this prop under any circumstances. It is provided by @atlaskit/analytics-next. */
16
+ createAnalyticsEvent?: any;
17
+ /** the ref object (usually the currently selected color palette) that consumer can leverage to focus on load */
18
+ initialFocusRef?: Ref<HTMLDivElement>;
11
19
  /** the toggle that decides if users can tab outside the color picker (arrow keys will always cycle the focus) */
12
20
  isFocusLockEnabled?: boolean;
13
21
  /** the toggle that decides if menu-related assistive technology should be applied */
14
22
  isInsideMenu?: boolean;
15
23
  /** color picker button label */
16
24
  label?: string;
25
+ /** style of the color-picker, either 'Compact' or 'Standard', default value is 'Standard' */
26
+ mode?: Mode;
27
+ /** onChange handler */
28
+ onChange: (event: MouseEvent | KeyboardEvent, value: string, analyticsEvent?: UIAnalyticsEvent) => void;
17
29
  /** list of available colors */
18
30
  palette: Palette;
19
31
  /** selected color */
20
32
  selectedColor?: string;
21
- /** maximum column length */
22
- cols: number;
23
- /** color of checkmark on selected color */
24
- checkMarkColor?: string;
25
- /** onChange handler */
26
- onChange: (event: MouseEvent | KeyboardEvent, value: string, analyticsEvent?: UIAnalyticsEvent) => void;
27
- /** You should not be accessing this prop under any circumstances. It is provided by @atlaskit/analytics-next. */
28
- createAnalyticsEvent?: any;
29
- /** style of the color-picker, either 'Compact' or 'Standard', default value is 'Standard' */
30
- mode?: Mode;
31
- /** the ref object (usually the currently selected color palette) that consumer can leverage to focus on load */
32
- initialFocusRef?: Ref<HTMLDivElement>;
33
33
  /** Variant of color card */
34
34
  variant?: ColorCardVariant;
35
35
  };
@@ -7,41 +7,41 @@ import { type PopupSelectProps } from '@atlaskit/select';
7
7
  import { type Palette, type SwatchSize, type ColorCardVariant } from '../types';
8
8
  import type { WrappedComponentProps } from 'react-intl-next';
9
9
  export interface Props {
10
+ /** color of checkmark on selected color */
11
+ checkMarkColor?: string;
12
+ /** maximum column length */
13
+ cols?: number;
14
+ /** You should not be accessing this prop under any circumstances. It is provided by @atlaskit/analytics-next. */
15
+ createAnalyticsEvent?: any;
16
+ /** diasble swatch button */
17
+ isDisabledSelectedSwatch?: boolean;
10
18
  /** color picker button label */
11
19
  label?: string;
12
- /** trigger id for accessability labelling */
13
- triggerId?: string;
20
+ /** onChange handler */
21
+ onChange: (value: string, analyticsEvent?: object) => void;
22
+ /** onMenuOpen handler */
23
+ onMenuOpen?: () => void;
14
24
  /** list of available colors */
15
25
  palette: Palette;
16
- /** selected color */
17
- selectedColor?: string;
18
- /** maximum column length */
19
- cols?: number;
20
- /** color of checkmark on selected color */
21
- checkMarkColor?: string;
22
26
  /** props for react-popper */
23
27
  popperProps?: PopupSelectProps['popperProps'];
24
- /** onChange handler */
25
- onChange: (value: string, analyticsEvent?: object) => void;
26
- /** You should not be accessing this prop under any circumstances. It is provided by @atlaskit/analytics-next. */
27
- createAnalyticsEvent?: any;
28
+ /** selected color */
29
+ selectedColor?: string;
28
30
  /** swatch button size */
29
31
  selectedColourSwatchSize?: SwatchSize;
30
32
  /** swatch button default color */
31
33
  showDefaultSwatchColor?: boolean;
32
- /** diasble swatch button */
33
- isDisabledSelectedSwatch?: boolean;
34
- /** onMenuOpen handler */
35
- onMenuOpen?: () => void;
36
- /** Display filled or outline variant of the color */
37
- variant?: ColorCardVariant;
38
34
  /** Test ID */
39
35
  testId?: string;
36
+ /** trigger id for accessability labelling */
37
+ triggerId?: string;
38
+ /** Display filled or outline variant of the color */
39
+ variant?: ColorCardVariant;
40
40
  }
41
41
  export declare const ColorPickerWithoutAnalytics: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
42
42
  WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
43
43
  };
44
44
  declare const _default: React.ForwardRefExoticComponent<Omit<Omit<Omit<Props & WrappedComponentProps, "intl"> & {
45
- forwardedRef?: React.Ref<any> | undefined;
45
+ forwardedRef?: React.Ref<any>;
46
46
  }, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "ref"> & React.RefAttributes<any>>;
47
47
  export default _default;
@@ -1,13 +1,12 @@
1
- /// <reference types="react" />
2
1
  import { type SwatchSize, type ColorCardVariant } from '../types';
3
2
  export interface Props {
4
- value: string;
3
+ expanded?: boolean;
4
+ id?: string;
5
+ isDisabled?: boolean;
5
6
  label?: string;
6
7
  onClick?: () => void;
7
- expanded?: boolean;
8
8
  swatchSize?: SwatchSize;
9
- isDisabled?: boolean;
10
- id?: string;
9
+ value: string;
11
10
  variant?: ColorCardVariant;
12
11
  }
13
12
  declare const ColorCard: ({ value, label, expanded, onClick, swatchSize, isDisabled, id, variant, }: Props) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @jsxRuntime classic
4
3
  * @jsx jsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/color-picker",
3
- "version": "5.2.2",
3
+ "version": "5.2.4",
4
4
  "description": "Jira Color Picker Component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@atlaskit/analytics-next": "^11.1.0",
32
32
  "@atlaskit/css": "^0.12.0",
33
- "@atlaskit/icon": "^27.9.0",
33
+ "@atlaskit/icon": "^28.0.0",
34
34
  "@atlaskit/platform-feature-flags": "^1.1.0",
35
35
  "@atlaskit/select": "^21.2.0",
36
36
  "@atlaskit/theme": "^19.0.0",
@@ -49,13 +49,11 @@
49
49
  "@af/integration-testing": "workspace:^",
50
50
  "@af/visual-regression": "workspace:^",
51
51
  "@atlaskit/primitives": "^14.11.0",
52
- "@atlaskit/visual-regression": "workspace:^",
53
52
  "@testing-library/react": "^13.4.0",
54
53
  "@testing-library/user-event": "^14.4.3",
55
54
  "ast-types": "^0.13.3",
56
55
  "jscodeshift": "^17.0.0",
57
- "react": "^18.2.0",
58
- "typescript": "~5.4.2"
56
+ "react": "^18.2.0"
59
57
  },
60
58
  "keywords": [
61
59
  "ui",