@atlaskit/color-picker 5.3.0 → 5.3.1
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/afm-cc/tsconfig.json +1 -1
- package/afm-products/tsconfig.json +1 -1
- package/docs/0-intro.tsx +35 -32
- package/package.json +6 -6
- package/build/tsconfig.json +0 -23
package/CHANGELOG.md
CHANGED
package/afm-cc/tsconfig.json
CHANGED
package/docs/0-intro.tsx
CHANGED
|
@@ -18,18 +18,18 @@ const marginTopStyles = xcss({
|
|
|
18
18
|
marginBottom: 'space.100',
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
// eslint-disable-next-line @
|
|
22
|
-
|
|
21
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
22
|
+
const _default_1: any = md`
|
|
23
23
|
${(
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
)}
|
|
24
|
+
<>
|
|
25
|
+
<Box xcss={marginBottomStyles}>
|
|
26
|
+
<AtlassianInternalWarning />
|
|
27
|
+
</Box>
|
|
28
|
+
<Box xcss={marginTopStyles}>
|
|
29
|
+
<DevPreviewWarning />
|
|
30
|
+
</Box>
|
|
31
|
+
</>
|
|
32
|
+
)}
|
|
33
33
|
|
|
34
34
|
This component allows to pick colors from color palette.
|
|
35
35
|
|
|
@@ -40,29 +40,32 @@ ${code`
|
|
|
40
40
|
`}
|
|
41
41
|
|
|
42
42
|
${(
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
)}
|
|
43
|
+
<Example
|
|
44
|
+
packageName="@atlaskit/color-picker"
|
|
45
|
+
Component={require('../examples/00-color-picker').default}
|
|
46
|
+
source={require('!!raw-loader!../examples/00-color-picker')}
|
|
47
|
+
title="Basic Usage"
|
|
48
|
+
language="jsx"
|
|
49
|
+
/>
|
|
50
|
+
)}
|
|
51
51
|
|
|
52
52
|
${(
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
)}
|
|
53
|
+
<Example
|
|
54
|
+
packageName="@atlaskit/color-picker"
|
|
55
|
+
Component={require('../examples/01-multi-columns-color-picker').default}
|
|
56
|
+
source={require('!!raw-loader!../examples/01-multi-columns-color-picker')}
|
|
57
|
+
title="Color picker with multiple columns palette"
|
|
58
|
+
language="jsx"
|
|
59
|
+
/>
|
|
60
|
+
)}
|
|
61
61
|
|
|
62
62
|
${(
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
)}
|
|
63
|
+
<Props
|
|
64
|
+
heading="Color picker props"
|
|
65
|
+
props={require('!!extract-react-types-loader!../src/components/ColorPicker')}
|
|
66
|
+
/>
|
|
67
|
+
)}
|
|
68
68
|
`;
|
|
69
|
+
|
|
70
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
71
|
+
export default _default_1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/color-picker",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.1",
|
|
4
4
|
"description": "Jira Color Picker Component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"@atlaskit/css": "^0.19.0",
|
|
33
33
|
"@atlaskit/icon": "^29.4.0",
|
|
34
34
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
35
|
-
"@atlaskit/select": "^21.
|
|
35
|
+
"@atlaskit/select": "^21.7.0",
|
|
36
36
|
"@atlaskit/theme": "^21.0.0",
|
|
37
|
-
"@atlaskit/tokens": "^
|
|
38
|
-
"@atlaskit/tooltip": "^20.
|
|
37
|
+
"@atlaskit/tokens": "^10.0.0",
|
|
38
|
+
"@atlaskit/tooltip": "^20.14.0",
|
|
39
39
|
"@babel/runtime": "^7.0.0",
|
|
40
40
|
"@compiled/react": "^0.18.6",
|
|
41
41
|
"memoize-one": "^6.0.0",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@af/integration-testing": "workspace:^",
|
|
50
50
|
"@af/visual-regression": "workspace:^",
|
|
51
|
-
"@atlaskit/primitives": "^17.
|
|
52
|
-
"@testing-library/react": "^
|
|
51
|
+
"@atlaskit/primitives": "^17.1.0",
|
|
52
|
+
"@testing-library/react": "^16.3.0",
|
|
53
53
|
"@testing-library/user-event": "^14.4.3",
|
|
54
54
|
"ast-types": "^0.13.3",
|
|
55
55
|
"jscodeshift": "^17.0.0",
|
package/build/tsconfig.json
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../tsconfig",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"target": "es5",
|
|
6
|
-
"paths": {}
|
|
7
|
-
},
|
|
8
|
-
"include": [
|
|
9
|
-
"../src/**/*.ts",
|
|
10
|
-
"../src/**/*.tsx"
|
|
11
|
-
],
|
|
12
|
-
"exclude": [
|
|
13
|
-
"../src/**/__tests__/*",
|
|
14
|
-
"../src/**/*.test.*",
|
|
15
|
-
"../src/**/test.*",
|
|
16
|
-
"../src/**/examples.*",
|
|
17
|
-
"../src/**/examples/*",
|
|
18
|
-
"../src/**/examples/**/*",
|
|
19
|
-
"../src/**/*.stories.*",
|
|
20
|
-
"../src/**/stories/*",
|
|
21
|
-
"../src/**/stories/**/*"
|
|
22
|
-
]
|
|
23
|
-
}
|