@atlaskit/color-picker 3.2.7 → 3.2.8
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 +6 -0
- package/dist/cjs/components/ColorCard.js +2 -2
- package/dist/cjs/components/ColorPaletteMenu.js +2 -2
- package/dist/cjs/components/ColorPicker.js +1 -1
- package/dist/es2019/components/ColorCard.js +2 -2
- package/dist/es2019/components/ColorPaletteMenu.js +2 -2
- package/dist/es2019/components/ColorPicker.js +1 -1
- package/dist/esm/components/ColorCard.js +2 -2
- package/dist/esm/components/ColorPaletteMenu.js +2 -2
- package/dist/esm/components/ColorPicker.js +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/color-picker
|
|
2
2
|
|
|
3
|
+
## 3.2.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#91880](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91880) [`b4448486d34b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b4448486d34b) - [ux] Fixed token for width and height of color cards and added VR tests
|
|
8
|
+
|
|
3
9
|
## 3.2.7
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -153,8 +153,8 @@ var colorCardContentCheckMarkStyles = (0, _react2.css)({
|
|
|
153
153
|
var sharedColorContainerStylesNew = (0, _react2.css)({
|
|
154
154
|
display: 'inline-block',
|
|
155
155
|
position: 'relative',
|
|
156
|
-
width: "var(--ds-space-
|
|
157
|
-
height: "var(--ds-space-
|
|
156
|
+
width: "var(--ds-space-400, 32px)",
|
|
157
|
+
height: "var(--ds-space-400, 32px)",
|
|
158
158
|
border: '2px solid transparent',
|
|
159
159
|
boxSizing: 'border-box',
|
|
160
160
|
borderRadius: "var(--ds-border-radius-200, 6px)",
|
|
@@ -36,7 +36,7 @@ var ColorPaletteMenuWithoutAnalytics = exports.ColorPaletteMenuWithoutAnalytics
|
|
|
36
36
|
attributes: {
|
|
37
37
|
componentName: 'color-picker',
|
|
38
38
|
packageName: "@atlaskit/color-picker",
|
|
39
|
-
packageVersion: "3.2.
|
|
39
|
+
packageVersion: "3.2.8"
|
|
40
40
|
}
|
|
41
41
|
})(createAnalyticsEvent);
|
|
42
42
|
}
|
|
@@ -78,7 +78,7 @@ var ColorPaletteMenuWithoutAnalytics = exports.ColorPaletteMenuWithoutAnalytics
|
|
|
78
78
|
var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)({
|
|
79
79
|
componentName: 'color-picker',
|
|
80
80
|
packageName: "@atlaskit/color-picker",
|
|
81
|
-
packageVersion: "3.2.
|
|
81
|
+
packageVersion: "3.2.8"
|
|
82
82
|
})((0, _analyticsNext.withAnalyticsEvents)()(ColorPaletteMenuWithoutAnalytics));
|
|
83
83
|
var colorCardWrapperStylesOld = (0, _react.css)({
|
|
84
84
|
display: 'flex',
|
|
@@ -38,7 +38,7 @@ var defaultPopperProps = {
|
|
|
38
38
|
placement: 'bottom-start'
|
|
39
39
|
};
|
|
40
40
|
var packageName = "@atlaskit/color-picker";
|
|
41
|
-
var packageVersion = "3.2.
|
|
41
|
+
var packageVersion = "3.2.8";
|
|
42
42
|
var ColorPickerWithoutAnalytics = exports.ColorPickerWithoutAnalytics = /*#__PURE__*/function (_React$Component) {
|
|
43
43
|
(0, _inherits2.default)(ColorPickerWithoutAnalytics, _React$Component);
|
|
44
44
|
var _super = _createSuper(ColorPickerWithoutAnalytics);
|
|
@@ -146,8 +146,8 @@ const colorCardContentCheckMarkStyles = css({
|
|
|
146
146
|
const sharedColorContainerStylesNew = css({
|
|
147
147
|
display: 'inline-block',
|
|
148
148
|
position: 'relative',
|
|
149
|
-
width: "var(--ds-space-
|
|
150
|
-
height: "var(--ds-space-
|
|
149
|
+
width: "var(--ds-space-400, 32px)",
|
|
150
|
+
height: "var(--ds-space-400, 32px)",
|
|
151
151
|
border: '2px solid transparent',
|
|
152
152
|
boxSizing: 'border-box',
|
|
153
153
|
borderRadius: "var(--ds-border-radius-200, 6px)",
|
|
@@ -26,7 +26,7 @@ export const ColorPaletteMenuWithoutAnalytics = ({
|
|
|
26
26
|
attributes: {
|
|
27
27
|
componentName: 'color-picker',
|
|
28
28
|
packageName: "@atlaskit/color-picker",
|
|
29
|
-
packageVersion: "3.2.
|
|
29
|
+
packageVersion: "3.2.8"
|
|
30
30
|
}
|
|
31
31
|
})(createAnalyticsEvent);
|
|
32
32
|
}
|
|
@@ -68,7 +68,7 @@ export const ColorPaletteMenuWithoutAnalytics = ({
|
|
|
68
68
|
export default withAnalyticsContext({
|
|
69
69
|
componentName: 'color-picker',
|
|
70
70
|
packageName: "@atlaskit/color-picker",
|
|
71
|
-
packageVersion: "3.2.
|
|
71
|
+
packageVersion: "3.2.8"
|
|
72
72
|
})(withAnalyticsEvents()(ColorPaletteMenuWithoutAnalytics));
|
|
73
73
|
const colorCardWrapperStylesOld = css({
|
|
74
74
|
display: 'flex',
|
|
@@ -21,7 +21,7 @@ const defaultPopperProps = {
|
|
|
21
21
|
placement: 'bottom-start'
|
|
22
22
|
};
|
|
23
23
|
const packageName = "@atlaskit/color-picker";
|
|
24
|
-
const packageVersion = "3.2.
|
|
24
|
+
const packageVersion = "3.2.8";
|
|
25
25
|
export class ColorPickerWithoutAnalytics extends React.Component {
|
|
26
26
|
constructor(...args) {
|
|
27
27
|
super(...args);
|
|
@@ -142,8 +142,8 @@ var colorCardContentCheckMarkStyles = css({
|
|
|
142
142
|
var sharedColorContainerStylesNew = css({
|
|
143
143
|
display: 'inline-block',
|
|
144
144
|
position: 'relative',
|
|
145
|
-
width: "var(--ds-space-
|
|
146
|
-
height: "var(--ds-space-
|
|
145
|
+
width: "var(--ds-space-400, 32px)",
|
|
146
|
+
height: "var(--ds-space-400, 32px)",
|
|
147
147
|
border: '2px solid transparent',
|
|
148
148
|
boxSizing: 'border-box',
|
|
149
149
|
borderRadius: "var(--ds-border-radius-200, 6px)",
|
|
@@ -28,7 +28,7 @@ export var ColorPaletteMenuWithoutAnalytics = function ColorPaletteMenuWithoutAn
|
|
|
28
28
|
attributes: {
|
|
29
29
|
componentName: 'color-picker',
|
|
30
30
|
packageName: "@atlaskit/color-picker",
|
|
31
|
-
packageVersion: "3.2.
|
|
31
|
+
packageVersion: "3.2.8"
|
|
32
32
|
}
|
|
33
33
|
})(createAnalyticsEvent);
|
|
34
34
|
}
|
|
@@ -70,7 +70,7 @@ export var ColorPaletteMenuWithoutAnalytics = function ColorPaletteMenuWithoutAn
|
|
|
70
70
|
export default withAnalyticsContext({
|
|
71
71
|
componentName: 'color-picker',
|
|
72
72
|
packageName: "@atlaskit/color-picker",
|
|
73
|
-
packageVersion: "3.2.
|
|
73
|
+
packageVersion: "3.2.8"
|
|
74
74
|
})(withAnalyticsEvents()(ColorPaletteMenuWithoutAnalytics));
|
|
75
75
|
var colorCardWrapperStylesOld = css({
|
|
76
76
|
display: 'flex',
|
|
@@ -29,7 +29,7 @@ var defaultPopperProps = {
|
|
|
29
29
|
placement: 'bottom-start'
|
|
30
30
|
};
|
|
31
31
|
var packageName = "@atlaskit/color-picker";
|
|
32
|
-
var packageVersion = "3.2.
|
|
32
|
+
var packageVersion = "3.2.8";
|
|
33
33
|
export var ColorPickerWithoutAnalytics = /*#__PURE__*/function (_React$Component) {
|
|
34
34
|
_inherits(ColorPickerWithoutAnalytics, _React$Component);
|
|
35
35
|
var _super = _createSuper(ColorPickerWithoutAnalytics);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/color-picker",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.8",
|
|
4
4
|
"description": "Jira Color Picker Component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"react": "^16.8.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
+
"@af/visual-regression": "*",
|
|
50
51
|
"@atlaskit/primitives": "^5.5.0",
|
|
51
52
|
"@atlaskit/visual-regression": "*",
|
|
52
53
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|