@atlaskit/color-picker 3.0.3 → 3.0.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 +8 -0
- package/dist/cjs/components/ColorPicker.js +1 -1
- package/dist/cjs/components/components.js +18 -13
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/ColorPicker.js +1 -1
- package/dist/es2019/components/components.js +16 -11
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/ColorPicker.js +1 -1
- package/dist/esm/components/components.js +18 -13
- package/dist/esm/version.json +1 -1
- package/package.json +2 -2
- package/report.api.md +13 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/color-picker
|
|
2
2
|
|
|
3
|
+
## 3.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`cb8f8e76d25`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb8f8e76d25) - Update types for react-select and @atlaskit/select upgrade
|
|
8
|
+
Update commerce-ui entrypoints that caused a pipeline issue.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 3.0.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -60,7 +60,7 @@ var defaultPopperProps = {
|
|
|
60
60
|
placement: 'bottom-start'
|
|
61
61
|
};
|
|
62
62
|
var packageName = "@atlaskit/color-picker";
|
|
63
|
-
var packageVersion = "3.0.
|
|
63
|
+
var packageVersion = "3.0.4";
|
|
64
64
|
|
|
65
65
|
var ColorPickerWithoutAnalytics = /*#__PURE__*/function (_React$Component) {
|
|
66
66
|
(0, _inherits2.default)(ColorPickerWithoutAnalytics, _React$Component);
|
|
@@ -46,19 +46,24 @@ var Option = function Option(props) {
|
|
|
46
46
|
onOptionKeyDown = _props$selectProps.onOptionKeyDown,
|
|
47
47
|
isTabbing = _props$selectProps.isTabbing,
|
|
48
48
|
isFocused = props.isFocused,
|
|
49
|
-
isSelected = props.isSelected
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
49
|
+
isSelected = props.isSelected,
|
|
50
|
+
innerProps = props.innerProps;
|
|
51
|
+
return (
|
|
52
|
+
/*#__PURE__*/
|
|
53
|
+
// @ts-expect-error - known issue: https://github.com/mui/material-ui/issues/13921. TS treats styled components to be different from HTMLDivElement
|
|
54
|
+
_react.default.createElement(_ColorPalette.ColorCardWrapper, innerProps, /*#__PURE__*/_react.default.createElement(_ColorCard.default, {
|
|
55
|
+
label: label,
|
|
56
|
+
value: value,
|
|
57
|
+
checkMarkColor: checkMarkColor,
|
|
58
|
+
isOption: true,
|
|
59
|
+
focused: isFocused,
|
|
60
|
+
selected: isSelected,
|
|
61
|
+
onKeyDown: function onKeyDown(value) {
|
|
62
|
+
return onOptionKeyDown(value);
|
|
63
|
+
},
|
|
64
|
+
isTabbing: isTabbing
|
|
65
|
+
}))
|
|
66
|
+
);
|
|
62
67
|
};
|
|
63
68
|
|
|
64
69
|
exports.Option = Option;
|
package/dist/cjs/version.json
CHANGED
|
@@ -19,7 +19,7 @@ const defaultPopperProps = {
|
|
|
19
19
|
placement: 'bottom-start'
|
|
20
20
|
};
|
|
21
21
|
const packageName = "@atlaskit/color-picker";
|
|
22
|
-
const packageVersion = "3.0.
|
|
22
|
+
const packageVersion = "3.0.4";
|
|
23
23
|
export class ColorPickerWithoutAnalytics extends React.Component {
|
|
24
24
|
constructor(...args) {
|
|
25
25
|
super(...args);
|
|
@@ -32,18 +32,23 @@ export const Option = props => {
|
|
|
32
32
|
isTabbing
|
|
33
33
|
},
|
|
34
34
|
isFocused,
|
|
35
|
-
isSelected
|
|
35
|
+
isSelected,
|
|
36
|
+
innerProps
|
|
36
37
|
} = props;
|
|
37
|
-
return
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
38
|
+
return (
|
|
39
|
+
/*#__PURE__*/
|
|
40
|
+
// @ts-expect-error - known issue: https://github.com/mui/material-ui/issues/13921. TS treats styled components to be different from HTMLDivElement
|
|
41
|
+
React.createElement(ColorCardWrapper, innerProps, /*#__PURE__*/React.createElement(ColorCard, {
|
|
42
|
+
label: label,
|
|
43
|
+
value: value,
|
|
44
|
+
checkMarkColor: checkMarkColor,
|
|
45
|
+
isOption: true,
|
|
46
|
+
focused: isFocused,
|
|
47
|
+
selected: isSelected,
|
|
48
|
+
onKeyDown: value => onOptionKeyDown(value),
|
|
49
|
+
isTabbing: isTabbing
|
|
50
|
+
}))
|
|
51
|
+
);
|
|
47
52
|
};
|
|
48
53
|
export const DropdownIndicator = () => null;
|
|
49
54
|
export const Placeholder = () => null;
|
package/dist/es2019/version.json
CHANGED
|
@@ -30,7 +30,7 @@ var defaultPopperProps = {
|
|
|
30
30
|
placement: 'bottom-start'
|
|
31
31
|
};
|
|
32
32
|
var packageName = "@atlaskit/color-picker";
|
|
33
|
-
var packageVersion = "3.0.
|
|
33
|
+
var packageVersion = "3.0.4";
|
|
34
34
|
export var ColorPickerWithoutAnalytics = /*#__PURE__*/function (_React$Component) {
|
|
35
35
|
_inherits(ColorPickerWithoutAnalytics, _React$Component);
|
|
36
36
|
|
|
@@ -28,19 +28,24 @@ export var Option = function Option(props) {
|
|
|
28
28
|
onOptionKeyDown = _props$selectProps.onOptionKeyDown,
|
|
29
29
|
isTabbing = _props$selectProps.isTabbing,
|
|
30
30
|
isFocused = props.isFocused,
|
|
31
|
-
isSelected = props.isSelected
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
31
|
+
isSelected = props.isSelected,
|
|
32
|
+
innerProps = props.innerProps;
|
|
33
|
+
return (
|
|
34
|
+
/*#__PURE__*/
|
|
35
|
+
// @ts-expect-error - known issue: https://github.com/mui/material-ui/issues/13921. TS treats styled components to be different from HTMLDivElement
|
|
36
|
+
React.createElement(ColorCardWrapper, innerProps, /*#__PURE__*/React.createElement(ColorCard, {
|
|
37
|
+
label: label,
|
|
38
|
+
value: value,
|
|
39
|
+
checkMarkColor: checkMarkColor,
|
|
40
|
+
isOption: true,
|
|
41
|
+
focused: isFocused,
|
|
42
|
+
selected: isSelected,
|
|
43
|
+
onKeyDown: function onKeyDown(value) {
|
|
44
|
+
return onOptionKeyDown(value);
|
|
45
|
+
},
|
|
46
|
+
isTabbing: isTabbing
|
|
47
|
+
}))
|
|
48
|
+
);
|
|
44
49
|
};
|
|
45
50
|
export var DropdownIndicator = function DropdownIndicator() {
|
|
46
51
|
return null;
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/color-picker",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"description": "Jira Color Picker Component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@atlaskit/analytics-next": "^8.2.0",
|
|
25
25
|
"@atlaskit/icon": "^21.11.0",
|
|
26
|
-
"@atlaskit/select": "^
|
|
26
|
+
"@atlaskit/select": "^16.0.0",
|
|
27
27
|
"@atlaskit/theme": "^12.2.0",
|
|
28
28
|
"@atlaskit/tokens": "^0.11.0",
|
|
29
29
|
"@babel/runtime": "^7.0.0",
|
package/report.api.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
### Table of contents
|
|
9
9
|
|
|
10
10
|
- [Main Entry Types](#main-entry-types)
|
|
11
|
+
- [Peer Dependencies](#peer-dependencies)
|
|
11
12
|
|
|
12
13
|
### Main Entry Types
|
|
13
14
|
|
|
@@ -174,3 +175,15 @@ export const Standard: Mode;
|
|
|
174
175
|
```
|
|
175
176
|
|
|
176
177
|
<!--SECTION END: Main Entry Types-->
|
|
178
|
+
|
|
179
|
+
### Peer Dependencies
|
|
180
|
+
|
|
181
|
+
<!--SECTION START: Peer Dependencies-->
|
|
182
|
+
|
|
183
|
+
```json
|
|
184
|
+
{
|
|
185
|
+
"react": "^16.8.0"
|
|
186
|
+
}
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
<!--SECTION END: Peer Dependencies-->
|