@atlaskit/color-picker 3.2.18 → 3.2.20
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 +14 -0
- package/afm-jira/tsconfig.json +42 -0
- package/dist/cjs/components/ColorCard.js +5 -2
- package/dist/cjs/components/ColorPaletteMenu.js +6 -3
- package/dist/cjs/components/ColorPicker.js +5 -2
- package/dist/cjs/components/Trigger.js +4 -1
- package/dist/cjs/components/components.js +4 -1
- package/dist/es2019/components/ColorCard.js +6 -3
- package/dist/es2019/components/ColorPaletteMenu.js +6 -3
- package/dist/es2019/components/ColorPicker.js +5 -2
- package/dist/es2019/components/Trigger.js +4 -1
- package/dist/es2019/components/components.js +4 -1
- package/dist/esm/components/ColorCard.js +6 -3
- package/dist/esm/components/ColorPaletteMenu.js +6 -3
- package/dist/esm/components/ColorPicker.js +5 -2
- package/dist/esm/components/Trigger.js +4 -1
- package/dist/esm/components/components.js +4 -1
- package/dist/types/components/ColorPaletteMenu.d.ts +4 -1
- package/dist/types/components/ColorPicker.d.ts +5 -2
- package/dist/types/components/components.d.ts +4 -1
- package/dist/types-ts4.5/components/ColorPaletteMenu.d.ts +4 -1
- package/dist/types-ts4.5/components/ColorPicker.d.ts +5 -2
- package/dist/types-ts4.5/components/components.d.ts +4 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/color-picker
|
|
2
2
|
|
|
3
|
+
## 3.2.20
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#123716](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/123716)
|
|
8
|
+
[`63a8b37768519`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/63a8b37768519) -
|
|
9
|
+
[ux] Internal updates to typography.
|
|
10
|
+
|
|
11
|
+
## 3.2.19
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 3.2.18
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.jira.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../tsDist/@atlaskit__color-picker/app",
|
|
7
|
+
"composite": true,
|
|
8
|
+
"rootDir": "../"
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*"
|
|
18
|
+
],
|
|
19
|
+
"references": [
|
|
20
|
+
{
|
|
21
|
+
"path": "../../../analytics/analytics-next/afm-jira/tsconfig.json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "../../../design-system/icon/afm-jira/tsconfig.json"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "../../../platform/feature-flags/afm-jira/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../../design-system/select/afm-jira/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../../design-system/theme/afm-jira/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../../design-system/tokens/afm-jira/tsconfig.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../../design-system/tooltip/afm-jira/tsconfig.json"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -17,7 +17,10 @@ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
|
17
17
|
var _useCallbackRef = require("use-callback-ref");
|
|
18
18
|
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); }
|
|
19
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; }
|
|
20
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* @jsxRuntime classic
|
|
22
|
+
* @jsx jsx
|
|
23
|
+
*/
|
|
21
24
|
|
|
22
25
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
23
26
|
|
|
@@ -66,7 +69,7 @@ var ColorCard = function ColorCard(props) {
|
|
|
66
69
|
}, []);
|
|
67
70
|
return (0, _react2.jsx)(_tooltip.default, {
|
|
68
71
|
content: label
|
|
69
|
-
}, (0, _platformFeatureFlags.
|
|
72
|
+
}, (0, _platformFeatureFlags.fg)('platform.jca11y-2997-remove-duplicate-screen-reader-announcements_fz13s') ? function (tooltipProps) {
|
|
70
73
|
delete tooltipProps['aria-describedby'];
|
|
71
74
|
return (0, _react2.jsx)("div", (0, _extends2.default)({}, tooltipProps, {
|
|
72
75
|
css: [sharedColorContainerStyles, (isTabbing === undefined || isTabbing) && colorCardOptionTabbingStyles, focused && !isTabbing && colorCardOptionFocusedStyles],
|
|
@@ -11,7 +11,10 @@ var _ColorCard = _interopRequireDefault(require("./ColorCard"));
|
|
|
11
11
|
var _utils = require("../utils");
|
|
12
12
|
var _react = require("@emotion/react");
|
|
13
13
|
var _colors = require("@atlaskit/theme/colors");
|
|
14
|
-
/**
|
|
14
|
+
/**
|
|
15
|
+
* @jsxRuntime classic
|
|
16
|
+
* @jsx jsx
|
|
17
|
+
*/
|
|
15
18
|
|
|
16
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
20
|
|
|
@@ -36,7 +39,7 @@ var ColorPaletteMenuWithoutAnalytics = exports.ColorPaletteMenuWithoutAnalytics
|
|
|
36
39
|
attributes: {
|
|
37
40
|
componentName: 'color-picker',
|
|
38
41
|
packageName: "@atlaskit/color-picker",
|
|
39
|
-
packageVersion: "3.2.
|
|
42
|
+
packageVersion: "3.2.20"
|
|
40
43
|
}
|
|
41
44
|
})(createAnalyticsEvent);
|
|
42
45
|
}
|
|
@@ -83,7 +86,7 @@ var ColorPaletteMenuWithoutAnalytics = exports.ColorPaletteMenuWithoutAnalytics
|
|
|
83
86
|
var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)({
|
|
84
87
|
componentName: 'color-picker',
|
|
85
88
|
packageName: "@atlaskit/color-picker",
|
|
86
|
-
packageVersion: "3.2.
|
|
89
|
+
packageVersion: "3.2.20"
|
|
87
90
|
})((0, _analyticsNext.withAnalyticsEvents)()(ColorPaletteMenuWithoutAnalytics));
|
|
88
91
|
var colorCardWrapperStyles = (0, _react.css)({
|
|
89
92
|
display: 'flex',
|
|
@@ -27,7 +27,10 @@ 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; })(); } /**
|
|
30
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /**
|
|
31
|
+
* @jsxRuntime classic
|
|
32
|
+
* @jsx jsx
|
|
33
|
+
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
31
34
|
var defaultPopperProps = {
|
|
32
35
|
strategy: 'fixed',
|
|
33
36
|
modifiers: [{
|
|
@@ -39,7 +42,7 @@ var defaultPopperProps = {
|
|
|
39
42
|
placement: 'bottom-start'
|
|
40
43
|
};
|
|
41
44
|
var packageName = "@atlaskit/color-picker";
|
|
42
|
-
var packageVersion = "3.2.
|
|
45
|
+
var packageVersion = "3.2.20";
|
|
43
46
|
var ColorPickerWithoutAnalyticsBase = /*#__PURE__*/function (_React$Component) {
|
|
44
47
|
(0, _inherits2.default)(ColorPickerWithoutAnalyticsBase, _React$Component);
|
|
45
48
|
var _super = _createSuper(ColorPickerWithoutAnalyticsBase);
|
|
@@ -9,7 +9,10 @@ var _react = require("react");
|
|
|
9
9
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
10
10
|
var _react2 = require("@emotion/react");
|
|
11
11
|
var _colors = require("@atlaskit/theme/colors");
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* @jsxRuntime classic
|
|
14
|
+
* @jsx jsx
|
|
15
|
+
*/
|
|
13
16
|
|
|
14
17
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
18
|
|
|
@@ -9,7 +9,10 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
9
9
|
var _ColorCard = _interopRequireDefault(require("./ColorCard"));
|
|
10
10
|
var _utils = require("../utils");
|
|
11
11
|
var _react = require("@emotion/react");
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* @jsxRuntime classic
|
|
14
|
+
* @jsx jsx
|
|
15
|
+
*/
|
|
13
16
|
|
|
14
17
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
18
|
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
5
|
+
*/
|
|
3
6
|
import React, { useCallback, useEffect, useRef } from 'react';
|
|
4
7
|
import EditorDoneIcon from '@atlaskit/icon/glyph/editor/done';
|
|
5
8
|
import Tooltip from '@atlaskit/tooltip';
|
|
@@ -7,7 +10,7 @@ import { KEY_ENTER, KEY_SPACE } from '../constants';
|
|
|
7
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
11
|
import { css, jsx } from '@emotion/react';
|
|
9
12
|
import { N0, DN600A, B75 } from '@atlaskit/theme/colors';
|
|
10
|
-
import {
|
|
13
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
14
|
import { mergeRefs } from 'use-callback-ref';
|
|
12
15
|
const ColorCard = props => {
|
|
13
16
|
const {
|
|
@@ -57,7 +60,7 @@ const ColorCard = props => {
|
|
|
57
60
|
}, []);
|
|
58
61
|
return jsx(Tooltip, {
|
|
59
62
|
content: label
|
|
60
|
-
},
|
|
63
|
+
}, fg('platform.jca11y-2997-remove-duplicate-screen-reader-announcements_fz13s') ? tooltipProps => {
|
|
61
64
|
delete tooltipProps['aria-describedby'];
|
|
62
65
|
return jsx("div", _extends({}, tooltipProps, {
|
|
63
66
|
css: [sharedColorContainerStyles, (isTabbing === undefined || isTabbing) && colorCardOptionTabbingStyles, focused && !isTabbing && colorCardOptionFocusedStyles],
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
2
5
|
import { Mode } from '../types';
|
|
3
6
|
import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
4
7
|
import ColorCard from './ColorCard';
|
|
@@ -25,7 +28,7 @@ export const ColorPaletteMenuWithoutAnalytics = ({
|
|
|
25
28
|
attributes: {
|
|
26
29
|
componentName: 'color-picker',
|
|
27
30
|
packageName: "@atlaskit/color-picker",
|
|
28
|
-
packageVersion: "3.2.
|
|
31
|
+
packageVersion: "3.2.20"
|
|
29
32
|
}
|
|
30
33
|
})(createAnalyticsEvent);
|
|
31
34
|
}
|
|
@@ -72,7 +75,7 @@ export const ColorPaletteMenuWithoutAnalytics = ({
|
|
|
72
75
|
export default withAnalyticsContext({
|
|
73
76
|
componentName: 'color-picker',
|
|
74
77
|
packageName: "@atlaskit/color-picker",
|
|
75
|
-
packageVersion: "3.2.
|
|
78
|
+
packageVersion: "3.2.20"
|
|
76
79
|
})(withAnalyticsEvents()(ColorPaletteMenuWithoutAnalytics));
|
|
77
80
|
const colorCardWrapperStyles = css({
|
|
78
81
|
display: 'flex',
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* @jsxRuntime classic
|
|
5
|
+
* @jsx jsx
|
|
6
|
+
*/
|
|
4
7
|
import React from 'react';
|
|
5
8
|
import { PopupSelect } from '@atlaskit/select';
|
|
6
9
|
import Trigger from './Trigger';
|
|
@@ -23,7 +26,7 @@ const defaultPopperProps = {
|
|
|
23
26
|
placement: 'bottom-start'
|
|
24
27
|
};
|
|
25
28
|
const packageName = "@atlaskit/color-picker";
|
|
26
|
-
const packageVersion = "3.2.
|
|
29
|
+
const packageVersion = "3.2.20";
|
|
27
30
|
class ColorPickerWithoutAnalyticsBase extends React.Component {
|
|
28
31
|
constructor(...args) {
|
|
29
32
|
super(...args);
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
5
|
+
*/
|
|
3
6
|
import React, { useCallback, useEffect, useRef } from 'react';
|
|
4
7
|
import EditorDoneIcon from '@atlaskit/icon/glyph/editor/done';
|
|
5
8
|
import Tooltip from '@atlaskit/tooltip';
|
|
@@ -7,7 +10,7 @@ import { KEY_ENTER, KEY_SPACE } from '../constants';
|
|
|
7
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
11
|
import { css, jsx } from '@emotion/react';
|
|
9
12
|
import { N0, DN600A, B75 } from '@atlaskit/theme/colors';
|
|
10
|
-
import {
|
|
13
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
14
|
import { mergeRefs } from 'use-callback-ref';
|
|
12
15
|
var ColorCard = function ColorCard(props) {
|
|
13
16
|
var value = props.value,
|
|
@@ -54,7 +57,7 @@ var ColorCard = function ColorCard(props) {
|
|
|
54
57
|
}, []);
|
|
55
58
|
return jsx(Tooltip, {
|
|
56
59
|
content: label
|
|
57
|
-
},
|
|
60
|
+
}, fg('platform.jca11y-2997-remove-duplicate-screen-reader-announcements_fz13s') ? function (tooltipProps) {
|
|
58
61
|
delete tooltipProps['aria-describedby'];
|
|
59
62
|
return jsx("div", _extends({}, tooltipProps, {
|
|
60
63
|
css: [sharedColorContainerStyles, (isTabbing === undefined || isTabbing) && colorCardOptionTabbingStyles, focused && !isTabbing && colorCardOptionFocusedStyles],
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
2
5
|
import { Mode } from '../types';
|
|
3
6
|
import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
4
7
|
import ColorCard from './ColorCard';
|
|
@@ -27,7 +30,7 @@ export var ColorPaletteMenuWithoutAnalytics = function ColorPaletteMenuWithoutAn
|
|
|
27
30
|
attributes: {
|
|
28
31
|
componentName: 'color-picker',
|
|
29
32
|
packageName: "@atlaskit/color-picker",
|
|
30
|
-
packageVersion: "3.2.
|
|
33
|
+
packageVersion: "3.2.20"
|
|
31
34
|
}
|
|
32
35
|
})(createAnalyticsEvent);
|
|
33
36
|
}
|
|
@@ -74,7 +77,7 @@ export var ColorPaletteMenuWithoutAnalytics = function ColorPaletteMenuWithoutAn
|
|
|
74
77
|
export default withAnalyticsContext({
|
|
75
78
|
componentName: 'color-picker',
|
|
76
79
|
packageName: "@atlaskit/color-picker",
|
|
77
|
-
packageVersion: "3.2.
|
|
80
|
+
packageVersion: "3.2.20"
|
|
78
81
|
})(withAnalyticsEvents()(ColorPaletteMenuWithoutAnalytics));
|
|
79
82
|
var colorCardWrapperStyles = css({
|
|
80
83
|
display: 'flex',
|
|
@@ -8,7 +8,10 @@ import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
|
8
8
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
9
9
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
10
10
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
11
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* @jsxRuntime classic
|
|
13
|
+
* @jsx jsx
|
|
14
|
+
*/
|
|
12
15
|
import React from 'react';
|
|
13
16
|
import { PopupSelect } from '@atlaskit/select';
|
|
14
17
|
import Trigger from './Trigger';
|
|
@@ -31,7 +34,7 @@ var defaultPopperProps = {
|
|
|
31
34
|
placement: 'bottom-start'
|
|
32
35
|
};
|
|
33
36
|
var packageName = "@atlaskit/color-picker";
|
|
34
|
-
var packageVersion = "3.2.
|
|
37
|
+
var packageVersion = "3.2.20";
|
|
35
38
|
var ColorPickerWithoutAnalyticsBase = /*#__PURE__*/function (_React$Component) {
|
|
36
39
|
_inherits(ColorPickerWithoutAnalyticsBase, _React$Component);
|
|
37
40
|
var _super = _createSuper(ColorPickerWithoutAnalyticsBase);
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
2
5
|
import React from 'react';
|
|
3
6
|
import { type PopupSelectProps } from '@atlaskit/select';
|
|
4
7
|
import { type Palette, type SwatchSize } from '../types';
|
|
@@ -28,7 +31,7 @@ export interface Props {
|
|
|
28
31
|
isDisabledSelectedSwatch?: boolean;
|
|
29
32
|
}
|
|
30
33
|
export declare const ColorPickerWithoutAnalytics: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
|
|
31
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
34
|
+
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
32
35
|
};
|
|
33
36
|
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
37
|
export default _default;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
2
5
|
import React from 'react';
|
|
3
6
|
import { type PopupSelectProps } from '@atlaskit/select';
|
|
4
7
|
import { type Palette, type SwatchSize } from '../types';
|
|
@@ -28,7 +31,7 @@ export interface Props {
|
|
|
28
31
|
isDisabledSelectedSwatch?: boolean;
|
|
29
32
|
}
|
|
30
33
|
export declare const ColorPickerWithoutAnalytics: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
|
|
31
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
34
|
+
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
32
35
|
};
|
|
33
36
|
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
37
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/color-picker",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.20",
|
|
4
4
|
"description": "Jira Color Picker Component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
36
|
-
"@atlaskit/icon": "^22.
|
|
37
|
-
"@atlaskit/platform-feature-flags": "^0.
|
|
36
|
+
"@atlaskit/icon": "^22.7.0",
|
|
37
|
+
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
38
38
|
"@atlaskit/select": "^17.11.0",
|
|
39
39
|
"@atlaskit/theme": "^12.11.0",
|
|
40
|
-
"@atlaskit/tokens": "^1.
|
|
40
|
+
"@atlaskit/tokens": "^1.56.0",
|
|
41
41
|
"@atlaskit/tooltip": "^18.5.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
43
|
"@emotion/react": "^11.7.1",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@af/visual-regression": "*",
|
|
53
|
-
"@atlaskit/primitives": "^
|
|
53
|
+
"@atlaskit/primitives": "^11.0.0",
|
|
54
54
|
"@atlaskit/visual-regression": "*",
|
|
55
55
|
"@testing-library/react": "^12.1.5",
|
|
56
56
|
"@testing-library/user-event": "^14.4.3",
|