@atlaskit/color-picker 3.2.16 → 3.2.17

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,14 @@
1
1
  # @atlaskit/color-picker
2
2
 
3
+ ## 3.2.17
4
+
5
+ ### Patch Changes
6
+
7
+ - [#111482](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111482)
8
+ [`6ec58a4845b8d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6ec58a4845b8d) -
9
+ added default implementation at FF false case
10
+ - Updated dependencies
11
+
3
12
  ## 3.2.16
4
13
 
5
14
  ### Patch Changes
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports.default = void 0;
9
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
9
  var _react = _interopRequireWildcard(require("react"));
11
10
  var _done = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/done"));
12
11
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
@@ -20,6 +19,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
20
19
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
21
20
  /** @jsx jsx */
22
21
 
22
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
23
+
23
24
  var ColorCard = function ColorCard(props) {
24
25
  var value = props.value,
25
26
  label = props.label,
@@ -67,19 +68,17 @@ var ColorCard = function ColorCard(props) {
67
68
  }, []);
68
69
  return (0, _react2.jsx)(_tooltip.default, {
69
70
  content: label
70
- }, (0, _react2.jsx)("div", (0, _extends2.default)({
71
+ }, (0, _react2.jsx)("div", {
71
72
  css: [sharedColorContainerStyles, (isTabbing === undefined || isTabbing) && colorCardOptionTabbingStyles, focused && !isTabbing && colorCardOptionFocusedStyles],
72
73
  onClick: handleClick,
73
74
  onMouseDown: handleMouseDown,
74
75
  onKeyDown: handleKeyDown,
75
76
  role: "radio",
76
- "aria-checked": selected
77
- }, (0, _platformFeatureFlags.getBooleanFF)('platform.jca11y-2997-remove-duplicate-screen-reader-announcements_fz13s') && {
78
- 'aria-label': formatMessage(_messages.default.colorCardRadioItemLabel)
79
- }, {
77
+ "aria-checked": selected,
78
+ "aria-label": (0, _platformFeatureFlags.getBooleanFF)('platform.jca11y-2997-remove-duplicate-screen-reader-announcements_fz13s') ? formatMessage(_messages.default.colorCardRadioItemLabel) : label,
80
79
  tabIndex: 0,
81
80
  ref: ref
82
- }), (0, _react2.jsx)("div", {
81
+ }, (0, _react2.jsx)("div", {
83
82
  css: colorCardWrapperStyles
84
83
  }, (0, _react2.jsx)("div", {
85
84
  css: colorCardContentStyles,
@@ -13,6 +13,8 @@ var _react = require("@emotion/react");
13
13
  var _colors = require("@atlaskit/theme/colors");
14
14
  /** @jsx jsx */
15
15
 
16
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
17
+
16
18
  var ColorPaletteMenuWithoutAnalytics = exports.ColorPaletteMenuWithoutAnalytics = function ColorPaletteMenuWithoutAnalytics(_ref) {
17
19
  var createAnalyticsEvent = _ref.createAnalyticsEvent,
18
20
  onChange = _ref.onChange,
@@ -34,7 +36,7 @@ var ColorPaletteMenuWithoutAnalytics = exports.ColorPaletteMenuWithoutAnalytics
34
36
  attributes: {
35
37
  componentName: 'color-picker',
36
38
  packageName: "@atlaskit/color-picker",
37
- packageVersion: "3.2.16"
39
+ packageVersion: "3.2.17"
38
40
  }
39
41
  })(createAnalyticsEvent);
40
42
  }
@@ -81,7 +83,7 @@ var ColorPaletteMenuWithoutAnalytics = exports.ColorPaletteMenuWithoutAnalytics
81
83
  var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)({
82
84
  componentName: 'color-picker',
83
85
  packageName: "@atlaskit/color-picker",
84
- packageVersion: "3.2.16"
86
+ packageVersion: "3.2.17"
85
87
  })((0, _analyticsNext.withAnalyticsEvents)()(ColorPaletteMenuWithoutAnalytics));
86
88
  var colorCardWrapperStyles = (0, _react.css)({
87
89
  display: 'flex',
@@ -27,7 +27,7 @@ var _messages = _interopRequireDefault(require("../messages"));
27
27
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
28
28
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
29
29
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
30
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */
30
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
31
31
  var defaultPopperProps = {
32
32
  strategy: 'fixed',
33
33
  modifiers: [{
@@ -39,7 +39,7 @@ var defaultPopperProps = {
39
39
  placement: 'bottom-start'
40
40
  };
41
41
  var packageName = "@atlaskit/color-picker";
42
- var packageVersion = "3.2.16";
42
+ var packageVersion = "3.2.17";
43
43
  var ColorPickerWithoutAnalyticsBase = /*#__PURE__*/function (_React$Component) {
44
44
  (0, _inherits2.default)(ColorPickerWithoutAnalyticsBase, _React$Component);
45
45
  var _super = _createSuper(ColorPickerWithoutAnalyticsBase);
@@ -11,6 +11,8 @@ var _react2 = require("@emotion/react");
11
11
  var _colors = require("@atlaskit/theme/colors");
12
12
  /** @jsx jsx */
13
13
 
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
15
+
14
16
  var ColorCard = function ColorCard(_ref) {
15
17
  var value = _ref.value,
16
18
  label = _ref.label,
@@ -11,6 +11,8 @@ var _utils = require("../utils");
11
11
  var _react = require("@emotion/react");
12
12
  /** @jsx jsx */
13
13
 
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
15
+
14
16
  var MenuList = exports.MenuList = function MenuList(props) {
15
17
  var cols = props.selectProps.cols,
16
18
  innerRef = props.innerRef,
@@ -1,9 +1,9 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
1
  /** @jsx jsx */
3
2
  import React, { useCallback, useEffect, useRef } from 'react';
4
3
  import EditorDoneIcon from '@atlaskit/icon/glyph/editor/done';
5
4
  import Tooltip from '@atlaskit/tooltip';
6
5
  import { KEY_ENTER, KEY_SPACE } from '../constants';
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { css, jsx } from '@emotion/react';
8
8
  import { useIntl } from 'react-intl-next';
9
9
  import { N0, DN600A, B75 } from '@atlaskit/theme/colors';
@@ -60,19 +60,17 @@ const ColorCard = props => {
60
60
  }, []);
61
61
  return jsx(Tooltip, {
62
62
  content: label
63
- }, jsx("div", _extends({
63
+ }, jsx("div", {
64
64
  css: [sharedColorContainerStyles, (isTabbing === undefined || isTabbing) && colorCardOptionTabbingStyles, focused && !isTabbing && colorCardOptionFocusedStyles],
65
65
  onClick: handleClick,
66
66
  onMouseDown: handleMouseDown,
67
67
  onKeyDown: handleKeyDown,
68
68
  role: "radio",
69
- "aria-checked": selected
70
- }, getBooleanFF('platform.jca11y-2997-remove-duplicate-screen-reader-announcements_fz13s') && {
71
- 'aria-label': formatMessage(messages.colorCardRadioItemLabel)
72
- }, {
69
+ "aria-checked": selected,
70
+ "aria-label": getBooleanFF('platform.jca11y-2997-remove-duplicate-screen-reader-announcements_fz13s') ? formatMessage(messages.colorCardRadioItemLabel) : label,
73
71
  tabIndex: 0,
74
72
  ref: ref
75
- }), jsx("div", {
73
+ }, jsx("div", {
76
74
  css: colorCardWrapperStyles
77
75
  }, jsx("div", {
78
76
  css: colorCardContentStyles,
@@ -3,6 +3,7 @@ import { Mode } from '../types';
3
3
  import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
4
4
  import ColorCard from './ColorCard';
5
5
  import { getOptions, getWidth } from '../utils';
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
7
  import { css, jsx } from '@emotion/react';
7
8
  import { N0, N40 } from '@atlaskit/theme/colors';
8
9
  export const ColorPaletteMenuWithoutAnalytics = ({
@@ -24,7 +25,7 @@ export const ColorPaletteMenuWithoutAnalytics = ({
24
25
  attributes: {
25
26
  componentName: 'color-picker',
26
27
  packageName: "@atlaskit/color-picker",
27
- packageVersion: "3.2.16"
28
+ packageVersion: "3.2.17"
28
29
  }
29
30
  })(createAnalyticsEvent);
30
31
  }
@@ -71,7 +72,7 @@ export const ColorPaletteMenuWithoutAnalytics = ({
71
72
  export default withAnalyticsContext({
72
73
  componentName: 'color-picker',
73
74
  packageName: "@atlaskit/color-picker",
74
- packageVersion: "3.2.16"
75
+ packageVersion: "3.2.17"
75
76
  })(withAnalyticsEvents()(ColorPaletteMenuWithoutAnalytics));
76
77
  const colorCardWrapperStyles = css({
77
78
  display: 'flex',
@@ -8,6 +8,7 @@ import * as components from './components';
8
8
  import { KEY_ARROW_DOWN, KEY_ARROW_UP, KEY_TAB } from '../constants';
9
9
  import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
10
10
  import { getOptions } from '../utils';
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
12
  import { css, jsx } from '@emotion/react';
12
13
  import { injectIntl } from 'react-intl-next';
13
14
  import messages from '../messages';
@@ -22,7 +23,7 @@ const defaultPopperProps = {
22
23
  placement: 'bottom-start'
23
24
  };
24
25
  const packageName = "@atlaskit/color-picker";
25
- const packageVersion = "3.2.16";
26
+ const packageVersion = "3.2.17";
26
27
  class ColorPickerWithoutAnalyticsBase extends React.Component {
27
28
  constructor(...args) {
28
29
  super(...args);
@@ -1,6 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import { useCallback } from 'react';
3
3
  import Tooltip from '@atlaskit/tooltip';
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
5
  import { css, jsx } from '@emotion/react';
5
6
  import { B100, DN600A, N0 } from '@atlaskit/theme/colors';
6
7
  const ColorCard = ({
@@ -3,6 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
 
4
4
  import ColorCard from './ColorCard';
5
5
  import { getWidth } from '../utils';
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
7
  import { css, jsx } from '@emotion/react';
7
8
  export const MenuList = props => {
8
9
  const {
@@ -1,9 +1,9 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
1
  /** @jsx jsx */
3
2
  import React, { useCallback, useEffect, useRef } from 'react';
4
3
  import EditorDoneIcon from '@atlaskit/icon/glyph/editor/done';
5
4
  import Tooltip from '@atlaskit/tooltip';
6
5
  import { KEY_ENTER, KEY_SPACE } from '../constants';
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { css, jsx } from '@emotion/react';
8
8
  import { useIntl } from 'react-intl-next';
9
9
  import { N0, DN600A, B75 } from '@atlaskit/theme/colors';
@@ -56,19 +56,17 @@ var ColorCard = function ColorCard(props) {
56
56
  }, []);
57
57
  return jsx(Tooltip, {
58
58
  content: label
59
- }, jsx("div", _extends({
59
+ }, jsx("div", {
60
60
  css: [sharedColorContainerStyles, (isTabbing === undefined || isTabbing) && colorCardOptionTabbingStyles, focused && !isTabbing && colorCardOptionFocusedStyles],
61
61
  onClick: handleClick,
62
62
  onMouseDown: handleMouseDown,
63
63
  onKeyDown: handleKeyDown,
64
64
  role: "radio",
65
- "aria-checked": selected
66
- }, getBooleanFF('platform.jca11y-2997-remove-duplicate-screen-reader-announcements_fz13s') && {
67
- 'aria-label': formatMessage(messages.colorCardRadioItemLabel)
68
- }, {
65
+ "aria-checked": selected,
66
+ "aria-label": getBooleanFF('platform.jca11y-2997-remove-duplicate-screen-reader-announcements_fz13s') ? formatMessage(messages.colorCardRadioItemLabel) : label,
69
67
  tabIndex: 0,
70
68
  ref: ref
71
- }), jsx("div", {
69
+ }, jsx("div", {
72
70
  css: colorCardWrapperStyles
73
71
  }, jsx("div", {
74
72
  css: colorCardContentStyles,
@@ -3,6 +3,7 @@ import { Mode } from '../types';
3
3
  import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
4
4
  import ColorCard from './ColorCard';
5
5
  import { getOptions, getWidth } from '../utils';
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
7
  import { css, jsx } from '@emotion/react';
7
8
  import { N0, N40 } from '@atlaskit/theme/colors';
8
9
  export var ColorPaletteMenuWithoutAnalytics = function ColorPaletteMenuWithoutAnalytics(_ref) {
@@ -26,7 +27,7 @@ export var ColorPaletteMenuWithoutAnalytics = function ColorPaletteMenuWithoutAn
26
27
  attributes: {
27
28
  componentName: 'color-picker',
28
29
  packageName: "@atlaskit/color-picker",
29
- packageVersion: "3.2.16"
30
+ packageVersion: "3.2.17"
30
31
  }
31
32
  })(createAnalyticsEvent);
32
33
  }
@@ -73,7 +74,7 @@ export var ColorPaletteMenuWithoutAnalytics = function ColorPaletteMenuWithoutAn
73
74
  export default withAnalyticsContext({
74
75
  componentName: 'color-picker',
75
76
  packageName: "@atlaskit/color-picker",
76
- packageVersion: "3.2.16"
77
+ packageVersion: "3.2.17"
77
78
  })(withAnalyticsEvents()(ColorPaletteMenuWithoutAnalytics));
78
79
  var colorCardWrapperStyles = css({
79
80
  display: 'flex',
@@ -16,6 +16,7 @@ import * as components from './components';
16
16
  import { KEY_ARROW_DOWN, KEY_ARROW_UP, KEY_TAB } from '../constants';
17
17
  import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
18
18
  import { getOptions } from '../utils';
19
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
19
20
  import { css, jsx } from '@emotion/react';
20
21
  import { injectIntl } from 'react-intl-next';
21
22
  import messages from '../messages';
@@ -30,7 +31,7 @@ var defaultPopperProps = {
30
31
  placement: 'bottom-start'
31
32
  };
32
33
  var packageName = "@atlaskit/color-picker";
33
- var packageVersion = "3.2.16";
34
+ var packageVersion = "3.2.17";
34
35
  var ColorPickerWithoutAnalyticsBase = /*#__PURE__*/function (_React$Component) {
35
36
  _inherits(ColorPickerWithoutAnalyticsBase, _React$Component);
36
37
  var _super = _createSuper(ColorPickerWithoutAnalyticsBase);
@@ -1,6 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import { useCallback } from 'react';
3
3
  import Tooltip from '@atlaskit/tooltip';
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
5
  import { css, jsx } from '@emotion/react';
5
6
  import { B100, DN600A, N0 } from '@atlaskit/theme/colors';
6
7
  var ColorCard = function ColorCard(_ref) {
@@ -3,6 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
 
4
4
  import ColorCard from './ColorCard';
5
5
  import { getWidth } from '../utils';
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
7
  import { css, jsx } from '@emotion/react';
7
8
  export var MenuList = function MenuList(props) {
8
9
  var cols = props.selectProps.cols,
@@ -28,7 +28,7 @@ export interface Props {
28
28
  isDisabledSelectedSwatch?: boolean;
29
29
  }
30
30
  export declare const ColorPickerWithoutAnalytics: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
31
- WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
31
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps>; /** selected color */
32
32
  };
33
33
  declare const _default: React.ForwardRefExoticComponent<Pick<Omit<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "label" | "analyticsContext" | "key" | "onChange" | "checkMarkColor" | "cols" | "popperProps" | "palette" | "selectedColor" | "selectedColourSwatchSize" | "showDefaultSwatchColor" | "isDisabledSelectedSwatch" | "forwardedRef"> & React.RefAttributes<any>>;
34
34
  export default _default;
@@ -28,7 +28,7 @@ export interface Props {
28
28
  isDisabledSelectedSwatch?: boolean;
29
29
  }
30
30
  export declare const ColorPickerWithoutAnalytics: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
31
- WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
31
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps>; /** selected color */
32
32
  };
33
33
  declare const _default: React.ForwardRefExoticComponent<Pick<Omit<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "label" | "analyticsContext" | "key" | "onChange" | "checkMarkColor" | "cols" | "popperProps" | "palette" | "selectedColor" | "selectedColourSwatchSize" | "showDefaultSwatchColor" | "isDisabledSelectedSwatch" | "forwardedRef"> & React.RefAttributes<any>>;
34
34
  export default _default;
package/package.json CHANGED
@@ -1,84 +1,84 @@
1
1
  {
2
- "name": "@atlaskit/color-picker",
3
- "version": "3.2.16",
4
- "description": "Jira Color Picker Component",
5
- "publishConfig": {
6
- "registry": "https://registry.npmjs.org/"
7
- },
8
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
- "author": "Atlassian Pty Ltd",
10
- "license": "Apache-2.0",
11
- "main": "dist/cjs/index.js",
12
- "module": "dist/esm/index.js",
13
- "module:es2019": "dist/es2019/index.js",
14
- "types": "dist/types/index.d.ts",
15
- "typesVersions": {
16
- ">=4.5 <4.9": {
17
- "*": [
18
- "dist/types-ts4.5/*",
19
- "dist/types-ts4.5/index.d.ts"
20
- ]
21
- }
22
- },
23
- "atlaskit:src": "src/index.ts",
24
- "atlassian": {
25
- "team": "AAIS: Chronos",
26
- "releaseModel": "continuous",
27
- "productPushConsumption": [
28
- "jira"
29
- ],
30
- "website": {
31
- "name": "Color Picker"
32
- }
33
- },
34
- "dependencies": {
35
- "@atlaskit/analytics-next": "^9.3.0",
36
- "@atlaskit/icon": "^22.3.0",
37
- "@atlaskit/platform-feature-flags": "^0.2.5",
38
- "@atlaskit/select": "^17.10.0",
39
- "@atlaskit/theme": "^12.9.0",
40
- "@atlaskit/tokens": "^1.50.0",
41
- "@atlaskit/tooltip": "^18.4.0",
42
- "@babel/runtime": "^7.0.0",
43
- "@emotion/react": "^11.7.1",
44
- "memoize-one": "^6.0.0",
45
- "react-intl-next": "npm:react-intl@^5.18.1"
46
- },
47
- "peerDependencies": {
48
- "react": "^16.8.0"
49
- },
50
- "devDependencies": {
51
- "@af/visual-regression": "*",
52
- "@atlaskit/primitives": "^7.0.0",
53
- "@atlaskit/visual-regression": "*",
54
- "@testing-library/react": "^12.1.5",
55
- "@testing-library/user-event": "^14.4.3",
56
- "ast-types": "^0.13.3",
57
- "jscodeshift": "^0.13.0",
58
- "react": "^16.8.0",
59
- "typescript": "~5.4.2"
60
- },
61
- "keywords": [
62
- "ui",
63
- "color",
64
- "picker",
65
- "palette"
66
- ],
67
- "af:exports": {
68
- "./ColorPaletteMenu": "./src/components/ColorPaletteMenu.tsx",
69
- ".": "./src/index.ts"
70
- },
71
- "techstack": {
72
- "@repo/internal": {
73
- "design-tokens": [
74
- "color",
75
- "spacing"
76
- ]
77
- }
78
- },
79
- "platform-feature-flags": {
80
- "platform.jca11y-2997-remove-duplicate-screen-reader-announcements_fz13s": {
81
- "type": "boolean"
82
- }
83
- }
84
- }
2
+ "name": "@atlaskit/color-picker",
3
+ "version": "3.2.17",
4
+ "description": "Jira Color Picker Component",
5
+ "publishConfig": {
6
+ "registry": "https://registry.npmjs.org/"
7
+ },
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
+ "author": "Atlassian Pty Ltd",
10
+ "license": "Apache-2.0",
11
+ "main": "dist/cjs/index.js",
12
+ "module": "dist/esm/index.js",
13
+ "module:es2019": "dist/es2019/index.js",
14
+ "types": "dist/types/index.d.ts",
15
+ "typesVersions": {
16
+ ">=4.5 <4.9": {
17
+ "*": [
18
+ "dist/types-ts4.5/*",
19
+ "dist/types-ts4.5/index.d.ts"
20
+ ]
21
+ }
22
+ },
23
+ "atlaskit:src": "src/index.ts",
24
+ "atlassian": {
25
+ "team": "AAIS: Chronos",
26
+ "releaseModel": "continuous",
27
+ "productPushConsumption": [
28
+ "jira"
29
+ ],
30
+ "website": {
31
+ "name": "Color Picker"
32
+ }
33
+ },
34
+ "dependencies": {
35
+ "@atlaskit/analytics-next": "^9.3.0",
36
+ "@atlaskit/icon": "^22.4.0",
37
+ "@atlaskit/platform-feature-flags": "^0.2.5",
38
+ "@atlaskit/select": "^17.11.0",
39
+ "@atlaskit/theme": "^12.10.0",
40
+ "@atlaskit/tokens": "^1.51.0",
41
+ "@atlaskit/tooltip": "^18.5.0",
42
+ "@babel/runtime": "^7.0.0",
43
+ "@emotion/react": "^11.7.1",
44
+ "memoize-one": "^6.0.0",
45
+ "react-intl-next": "npm:react-intl@^5.18.1"
46
+ },
47
+ "peerDependencies": {
48
+ "react": "^16.8.0"
49
+ },
50
+ "devDependencies": {
51
+ "@af/visual-regression": "*",
52
+ "@atlaskit/primitives": "^7.4.0",
53
+ "@atlaskit/visual-regression": "*",
54
+ "@testing-library/react": "^12.1.5",
55
+ "@testing-library/user-event": "^14.4.3",
56
+ "ast-types": "^0.13.3",
57
+ "jscodeshift": "^0.13.0",
58
+ "react": "^16.8.0",
59
+ "typescript": "~5.4.2"
60
+ },
61
+ "keywords": [
62
+ "ui",
63
+ "color",
64
+ "picker",
65
+ "palette"
66
+ ],
67
+ "af:exports": {
68
+ "./ColorPaletteMenu": "./src/components/ColorPaletteMenu.tsx",
69
+ ".": "./src/index.ts"
70
+ },
71
+ "techstack": {
72
+ "@repo/internal": {
73
+ "design-tokens": [
74
+ "color",
75
+ "spacing"
76
+ ]
77
+ }
78
+ },
79
+ "platform-feature-flags": {
80
+ "platform.jca11y-2997-remove-duplicate-screen-reader-announcements_fz13s": {
81
+ "type": "boolean"
82
+ }
83
+ }
84
+ }