@atlaskit/color-picker 5.3.7 → 5.3.9
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 +12 -0
- package/codemods/1.0.0-popper-props.ts +1 -1
- package/codemods/utils/helpers.ts +3 -3
- package/dist/cjs/components/ColorCard.js +1 -1
- package/dist/cjs/components/ColorPaletteMenu.js +3 -3
- package/dist/cjs/components/ColorPicker.js +2 -2
- package/dist/cjs/components/Trigger.js +1 -1
- package/dist/cjs/components/components.js +1 -1
- package/dist/es2019/components/ColorCard.js +1 -1
- package/dist/es2019/components/ColorPaletteMenu.js +3 -3
- package/dist/es2019/components/ColorPicker.js +2 -2
- package/dist/es2019/components/Trigger.js +1 -1
- package/dist/es2019/components/components.js +1 -1
- package/dist/esm/components/ColorCard.js +1 -1
- package/dist/esm/components/ColorPaletteMenu.js +3 -3
- package/dist/esm/components/ColorPicker.js +2 -2
- package/dist/esm/components/Trigger.js +1 -1
- package/dist/esm/components/components.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -71,7 +71,7 @@ function updatePopperProps(j: core.JSCodeshift, source: Collection<any>, specifi
|
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
export default function transformer(file: FileInfo, { jscodeshift: j }: API, options: Options) {
|
|
74
|
+
export default function transformer(file: FileInfo, { jscodeshift: j }: API, options: Options): string {
|
|
75
75
|
const source = j(file.source);
|
|
76
76
|
|
|
77
77
|
// Exit early if not relevant
|
|
@@ -275,7 +275,7 @@ export function addCommentToStartOfFile({
|
|
|
275
275
|
base: Collection<Node>;
|
|
276
276
|
j: core.JSCodeshift;
|
|
277
277
|
message: string;
|
|
278
|
-
}) {
|
|
278
|
+
}): void {
|
|
279
279
|
addCommentBefore({
|
|
280
280
|
j,
|
|
281
281
|
// @ts-ignore
|
|
@@ -292,7 +292,7 @@ export function addCommentBefore({
|
|
|
292
292
|
j: core.JSCodeshift;
|
|
293
293
|
message: string;
|
|
294
294
|
target: Collection<Node>;
|
|
295
|
-
}) {
|
|
295
|
+
}): void {
|
|
296
296
|
const content: string = ` TODO: (from codemod) ${clean(message)} `;
|
|
297
297
|
target.forEach((path) => {
|
|
298
298
|
path.value.comments = path.value.comments || [];
|
|
@@ -314,7 +314,7 @@ export function updateRenderProps(
|
|
|
314
314
|
specifier: string,
|
|
315
315
|
oldProperty: string,
|
|
316
316
|
newProperty: string,
|
|
317
|
-
) {
|
|
317
|
+
): void {
|
|
318
318
|
source.findJSXElements(specifier).forEach((element: ASTPath<JSXElement>) => {
|
|
319
319
|
j(element)
|
|
320
320
|
.find(j.ArrowFunctionExpression)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ColorPaletteMenu.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ColorPaletteMenu.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -62,7 +62,7 @@ var ColorPaletteMenuWithoutAnalytics = exports.ColorPaletteMenuWithoutAnalytics
|
|
|
62
62
|
attributes: {
|
|
63
63
|
componentName: 'color-picker',
|
|
64
64
|
packageName: "@atlaskit/color-picker",
|
|
65
|
-
packageVersion: "
|
|
65
|
+
packageVersion: "0.0.0-development"
|
|
66
66
|
}
|
|
67
67
|
})(createAnalyticsEvent);
|
|
68
68
|
}
|
|
@@ -147,7 +147,7 @@ var ColorPaletteMenuWithoutAnalytics = exports.ColorPaletteMenuWithoutAnalytics
|
|
|
147
147
|
var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)({
|
|
148
148
|
componentName: 'color-picker',
|
|
149
149
|
packageName: "@atlaskit/color-picker",
|
|
150
|
-
packageVersion: "
|
|
150
|
+
packageVersion: "0.0.0-development"
|
|
151
151
|
})((0, _analyticsNext.withAnalyticsEvents)()(ColorPaletteMenuWithoutAnalytics));
|
|
152
152
|
var colorCardWrapperStyles = null;
|
|
153
153
|
var colorPaletteContainerStyles = null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ColorPicker.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ColorPicker.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -40,7 +40,7 @@ var defaultPopperProps = {
|
|
|
40
40
|
placement: 'bottom-start'
|
|
41
41
|
};
|
|
42
42
|
var packageName = "@atlaskit/color-picker";
|
|
43
|
-
var packageVersion = "
|
|
43
|
+
var packageVersion = "0.0.0-development";
|
|
44
44
|
var ColorPickerWithoutAnalyticsBase = /*#__PURE__*/function (_React$Component) {
|
|
45
45
|
function ColorPickerWithoutAnalyticsBase() {
|
|
46
46
|
var _this;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ColorCard.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ColorCard.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./ColorCard.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ColorPaletteMenu.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ColorPaletteMenu.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
/// <reference types="node" />
|
|
3
3
|
import "./ColorPaletteMenu.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -43,7 +43,7 @@ export const ColorPaletteMenuWithoutAnalytics = ({
|
|
|
43
43
|
attributes: {
|
|
44
44
|
componentName: 'color-picker',
|
|
45
45
|
packageName: "@atlaskit/color-picker",
|
|
46
|
-
packageVersion: "
|
|
46
|
+
packageVersion: "0.0.0-development"
|
|
47
47
|
}
|
|
48
48
|
})(createAnalyticsEvent);
|
|
49
49
|
}
|
|
@@ -121,7 +121,7 @@ export const ColorPaletteMenuWithoutAnalytics = ({
|
|
|
121
121
|
export default withAnalyticsContext({
|
|
122
122
|
componentName: 'color-picker',
|
|
123
123
|
packageName: "@atlaskit/color-picker",
|
|
124
|
-
packageVersion: "
|
|
124
|
+
packageVersion: "0.0.0-development"
|
|
125
125
|
})(withAnalyticsEvents()(ColorPaletteMenuWithoutAnalytics));
|
|
126
126
|
const colorCardWrapperStyles = null;
|
|
127
127
|
const colorPaletteContainerStyles = null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ColorPicker.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ColorPicker.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import "./ColorPicker.compiled.css";
|
|
@@ -25,7 +25,7 @@ const defaultPopperProps = {
|
|
|
25
25
|
placement: 'bottom-start'
|
|
26
26
|
};
|
|
27
27
|
const packageName = "@atlaskit/color-picker";
|
|
28
|
-
const packageVersion = "
|
|
28
|
+
const packageVersion = "0.0.0-development";
|
|
29
29
|
class ColorPickerWithoutAnalyticsBase extends React.Component {
|
|
30
30
|
constructor(...args) {
|
|
31
31
|
super(...args);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ColorCard.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ColorCard.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./ColorCard.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ColorPaletteMenu.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ColorPaletteMenu.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
import "./ColorPaletteMenu.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -53,7 +53,7 @@ export var ColorPaletteMenuWithoutAnalytics = function ColorPaletteMenuWithoutAn
|
|
|
53
53
|
attributes: {
|
|
54
54
|
componentName: 'color-picker',
|
|
55
55
|
packageName: "@atlaskit/color-picker",
|
|
56
|
-
packageVersion: "
|
|
56
|
+
packageVersion: "0.0.0-development"
|
|
57
57
|
}
|
|
58
58
|
})(createAnalyticsEvent);
|
|
59
59
|
}
|
|
@@ -138,7 +138,7 @@ export var ColorPaletteMenuWithoutAnalytics = function ColorPaletteMenuWithoutAn
|
|
|
138
138
|
export default withAnalyticsContext({
|
|
139
139
|
componentName: 'color-picker',
|
|
140
140
|
packageName: "@atlaskit/color-picker",
|
|
141
|
-
packageVersion: "
|
|
141
|
+
packageVersion: "0.0.0-development"
|
|
142
142
|
})(withAnalyticsEvents()(ColorPaletteMenuWithoutAnalytics));
|
|
143
143
|
var colorCardWrapperStyles = null;
|
|
144
144
|
var colorPaletteContainerStyles = null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ColorPicker.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* ColorPicker.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
4
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
@@ -32,7 +32,7 @@ var defaultPopperProps = {
|
|
|
32
32
|
placement: 'bottom-start'
|
|
33
33
|
};
|
|
34
34
|
var packageName = "@atlaskit/color-picker";
|
|
35
|
-
var packageVersion = "
|
|
35
|
+
var packageVersion = "0.0.0-development";
|
|
36
36
|
var ColorPickerWithoutAnalyticsBase = /*#__PURE__*/function (_React$Component) {
|
|
37
37
|
function ColorPickerWithoutAnalyticsBase() {
|
|
38
38
|
var _this;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/color-picker",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.9",
|
|
4
4
|
"description": "Jira Color Picker Component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
32
32
|
"@atlaskit/css": "^0.19.0",
|
|
33
|
-
"@atlaskit/icon": "^
|
|
33
|
+
"@atlaskit/icon": "^33.0.0",
|
|
34
34
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
35
|
-
"@atlaskit/select": "^21.
|
|
35
|
+
"@atlaskit/select": "^21.8.0",
|
|
36
36
|
"@atlaskit/theme": "^22.0.0",
|
|
37
|
-
"@atlaskit/tokens": "^11.
|
|
38
|
-
"@atlaskit/tooltip": "^
|
|
37
|
+
"@atlaskit/tokens": "^11.1.0",
|
|
38
|
+
"@atlaskit/tooltip": "^21.0.0",
|
|
39
39
|
"@babel/runtime": "^7.0.0",
|
|
40
|
-
"@compiled/react": "^0.
|
|
40
|
+
"@compiled/react": "^0.20.0",
|
|
41
41
|
"memoize-one": "^6.0.0",
|
|
42
42
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
43
43
|
"use-callback-ref": "^1.2.3"
|