@atlaskit/editor-palette 2.1.10 → 2.1.12
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
CHANGED
package/dist/cjs/background.js
CHANGED
|
@@ -34,6 +34,7 @@ function hexToEditorBackgroundPaletteColor(hexColor) {
|
|
|
34
34
|
// (preferencing better type on consumption over safety in implementation)
|
|
35
35
|
// @ts-ignore
|
|
36
36
|
var tokenData = editorBackgroundPalette[hexColor.toUpperCase()];
|
|
37
|
+
// @ts-ignore - TS2322 TypeScript 5.9.2 upgrade
|
|
37
38
|
return tokenData ? tokenData.token : undefined;
|
|
38
39
|
}
|
|
39
40
|
|
|
@@ -55,6 +56,7 @@ function hexToEditorBackgroundPaletteRawValue(hexColor) {
|
|
|
55
56
|
// (preferencing better type on consumption over safety in implementation)
|
|
56
57
|
// @ts-ignore
|
|
57
58
|
var tokenData = editorBackgroundPalette[hexColor.toUpperCase()];
|
|
59
|
+
// @ts-ignore - TS2322 TypeScript 5.9.2 upgrade
|
|
58
60
|
return tokenData ? tokenData.getValue(hexColor) : undefined;
|
|
59
61
|
}
|
|
60
62
|
// Colors taken from
|
package/dist/cjs/table-charts.js
CHANGED
|
@@ -33,6 +33,7 @@ function hexToEditorTableChartsPaletteColor(hexColor) {
|
|
|
33
33
|
// (preferencing better type on consumption over safety in implementation)
|
|
34
34
|
// @ts-ignore
|
|
35
35
|
var tokenData = editorTableChartsPalette[hexColor.toUpperCase()];
|
|
36
|
+
// @ts-ignore - TS2322 TypeScript 5.9.2 upgrade
|
|
36
37
|
return tokenData ? tokenData.token : undefined;
|
|
37
38
|
}
|
|
38
39
|
|
|
@@ -54,6 +55,7 @@ function hexToEditorTableChartsPaletteRawValue(hexColor) {
|
|
|
54
55
|
// (preferencing better type on consumption over safety in implementation)
|
|
55
56
|
// @ts-ignore
|
|
56
57
|
var tokenData = editorTableChartsPalette[hexColor.toUpperCase()];
|
|
58
|
+
// @ts-ignore - TS2322 TypeScript 5.9.2 upgrade
|
|
57
59
|
return tokenData ? tokenData.getValue(hexColor) : undefined;
|
|
58
60
|
}
|
|
59
61
|
// Colors taken from
|
|
@@ -25,6 +25,7 @@ export function hexToEditorBackgroundPaletteColor(hexColor) {
|
|
|
25
25
|
// (preferencing better type on consumption over safety in implementation)
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
const tokenData = editorBackgroundPalette[hexColor.toUpperCase()];
|
|
28
|
+
// @ts-ignore - TS2322 TypeScript 5.9.2 upgrade
|
|
28
29
|
return tokenData ? tokenData.token : undefined;
|
|
29
30
|
}
|
|
30
31
|
|
|
@@ -46,6 +47,7 @@ export function hexToEditorBackgroundPaletteRawValue(hexColor) {
|
|
|
46
47
|
// (preferencing better type on consumption over safety in implementation)
|
|
47
48
|
// @ts-ignore
|
|
48
49
|
const tokenData = editorBackgroundPalette[hexColor.toUpperCase()];
|
|
50
|
+
// @ts-ignore - TS2322 TypeScript 5.9.2 upgrade
|
|
49
51
|
return tokenData ? tokenData.getValue(hexColor) : undefined;
|
|
50
52
|
}
|
|
51
53
|
// Colors taken from
|
|
@@ -25,6 +25,7 @@ export function hexToEditorTableChartsPaletteColor(hexColor) {
|
|
|
25
25
|
// (preferencing better type on consumption over safety in implementation)
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
const tokenData = editorTableChartsPalette[hexColor.toUpperCase()];
|
|
28
|
+
// @ts-ignore - TS2322 TypeScript 5.9.2 upgrade
|
|
28
29
|
return tokenData ? tokenData.token : undefined;
|
|
29
30
|
}
|
|
30
31
|
|
|
@@ -46,6 +47,7 @@ export function hexToEditorTableChartsPaletteRawValue(hexColor) {
|
|
|
46
47
|
// (preferencing better type on consumption over safety in implementation)
|
|
47
48
|
// @ts-ignore
|
|
48
49
|
const tokenData = editorTableChartsPalette[hexColor.toUpperCase()];
|
|
50
|
+
// @ts-ignore - TS2322 TypeScript 5.9.2 upgrade
|
|
49
51
|
return tokenData ? tokenData.getValue(hexColor) : undefined;
|
|
50
52
|
}
|
|
51
53
|
// Colors taken from
|
package/dist/esm/background.js
CHANGED
|
@@ -27,6 +27,7 @@ export function hexToEditorBackgroundPaletteColor(hexColor) {
|
|
|
27
27
|
// (preferencing better type on consumption over safety in implementation)
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
var tokenData = editorBackgroundPalette[hexColor.toUpperCase()];
|
|
30
|
+
// @ts-ignore - TS2322 TypeScript 5.9.2 upgrade
|
|
30
31
|
return tokenData ? tokenData.token : undefined;
|
|
31
32
|
}
|
|
32
33
|
|
|
@@ -48,6 +49,7 @@ export function hexToEditorBackgroundPaletteRawValue(hexColor) {
|
|
|
48
49
|
// (preferencing better type on consumption over safety in implementation)
|
|
49
50
|
// @ts-ignore
|
|
50
51
|
var tokenData = editorBackgroundPalette[hexColor.toUpperCase()];
|
|
52
|
+
// @ts-ignore - TS2322 TypeScript 5.9.2 upgrade
|
|
51
53
|
return tokenData ? tokenData.getValue(hexColor) : undefined;
|
|
52
54
|
}
|
|
53
55
|
// Colors taken from
|
package/dist/esm/table-charts.js
CHANGED
|
@@ -27,6 +27,7 @@ export function hexToEditorTableChartsPaletteColor(hexColor) {
|
|
|
27
27
|
// (preferencing better type on consumption over safety in implementation)
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
var tokenData = editorTableChartsPalette[hexColor.toUpperCase()];
|
|
30
|
+
// @ts-ignore - TS2322 TypeScript 5.9.2 upgrade
|
|
30
31
|
return tokenData ? tokenData.token : undefined;
|
|
31
32
|
}
|
|
32
33
|
|
|
@@ -48,6 +49,7 @@ export function hexToEditorTableChartsPaletteRawValue(hexColor) {
|
|
|
48
49
|
// (preferencing better type on consumption over safety in implementation)
|
|
49
50
|
// @ts-ignore
|
|
50
51
|
var tokenData = editorTableChartsPalette[hexColor.toUpperCase()];
|
|
52
|
+
// @ts-ignore - TS2322 TypeScript 5.9.2 upgrade
|
|
51
53
|
return tokenData ? tokenData.getValue(hexColor) : undefined;
|
|
52
54
|
}
|
|
53
55
|
// Colors taken from
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-palette",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.12",
|
|
4
4
|
"description": "The editor palette",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,13 +32,12 @@
|
|
|
32
32
|
".": "./src/index.ts"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
35
|
+
"@atlaskit/tmp-editor-statsig": "^11.0.0",
|
|
36
36
|
"@atlaskit/tokens": "^6.0.0",
|
|
37
37
|
"@babel/runtime": "^7.0.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@testing-library/react": "^13.4.0",
|
|
41
|
-
"typescript": "~5.4.2",
|
|
42
41
|
"wait-for-expect": "^1.2.0"
|
|
43
42
|
},
|
|
44
43
|
"peerDependencies": {
|