@esri/calcite-design-tokens 3.1.1-next.1 → 3.2.0-next.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/dist/css/component.css +11 -0
- package/dist/css/core.css +2 -2
- package/dist/css/dark.css +4 -2
- package/dist/css/global.css +1 -1
- package/dist/css/index.css +12 -7
- package/dist/css/light.css +3 -1
- package/dist/css/semantic.css +1 -1
- package/dist/docs/core.json +3 -3
- package/dist/docs/dark.json +69 -4
- package/dist/docs/global.json +73 -8
- package/dist/docs/light.json +68 -3
- package/dist/docs/semantic.json +5 -5
- package/dist/es6/core.js +2 -2
- package/dist/es6/dark.d.ts +3 -0
- package/dist/es6/dark.js +4 -2
- package/dist/es6/global.d.ts +4 -1
- package/dist/es6/global.js +9 -4
- package/dist/es6/light.d.ts +3 -0
- package/dist/es6/light.js +3 -1
- package/dist/es6/semantic.d.ts +1 -1
- package/dist/es6/semantic.js +1 -1
- package/dist/js/core.js +4 -4
- package/dist/js/dark.d.ts +3 -0
- package/dist/js/dark.js +92 -2
- package/dist/js/global.d.ts +4 -0
- package/dist/js/global.js +104 -8
- package/dist/js/light.d.ts +3 -0
- package/dist/js/light.js +91 -1
- package/dist/js/semantic.js +5 -5
- package/dist/scss/core.scss +2 -2
- package/dist/scss/dark.scss +4 -2
- package/dist/scss/global.scss +1 -1
- package/dist/scss/index.scss +5 -3
- package/dist/scss/light.scss +3 -1
- package/dist/scss/semantic.scss +1 -1
- package/package.json +3 -3
package/dist/es6/global.d.ts
CHANGED
|
@@ -9,7 +9,9 @@ export const calciteColorBackgroundNone: string;
|
|
|
9
9
|
export const calciteColorForeground1: { light: string; dark: string };
|
|
10
10
|
export const calciteColorForeground2: { light: string; dark: string };
|
|
11
11
|
export const calciteColorForeground3: { light: string; dark: string };
|
|
12
|
+
/** deprecated, use --calcite-color-foreground-highlight instead */
|
|
12
13
|
export const calciteColorForegroundCurrent: { light: string; dark: string };
|
|
14
|
+
export const calciteColorForegroundHighlight: { light: string; dark: string };
|
|
13
15
|
export const calciteColorTransparent: { light: string; dark: string };
|
|
14
16
|
export const calciteColorTransparentHover: { light: string; dark: string };
|
|
15
17
|
export const calciteColorTransparentPress: { light: string; dark: string };
|
|
@@ -54,6 +56,7 @@ export const calciteColorBorder3: { light: string; dark: string };
|
|
|
54
56
|
export const calciteColorBorderInput: { light: string; dark: string };
|
|
55
57
|
export const calciteColorBorderGhost: { light: string; dark: string };
|
|
56
58
|
export const calciteColorBorderWhite: { light: string; dark: string };
|
|
59
|
+
export const calciteColorFocus: { light: string; dark: string };
|
|
57
60
|
export const calciteBorderWidthNone: string;
|
|
58
61
|
export const calciteBorderWidthSm: string;
|
|
59
62
|
export const calciteBorderWidthMd: string;
|
|
@@ -89,7 +92,7 @@ export const calciteContainerSizeContentFluid: string;
|
|
|
89
92
|
/** only for lg breakpoint fixed grid width */
|
|
90
93
|
export const calciteContainerSizeContentFixed: string;
|
|
91
94
|
export const calciteCornerRadius: string;
|
|
92
|
-
/** deprecated, use --calcite-
|
|
95
|
+
/** deprecated, use --calcite-corner-radius-none instead */
|
|
93
96
|
export const calciteCornerRadiusSharp: string;
|
|
94
97
|
export const calciteCornerRadiusNone: string;
|
|
95
98
|
export const calciteCornerRadiusXs: string;
|
package/dist/es6/global.js
CHANGED
|
@@ -10,8 +10,12 @@ export const calciteColorForeground1 = { light: "#ffffff", dark: "#2b2b2b" };
|
|
|
10
10
|
export const calciteColorForeground2 = { light: "#f2f2f2", dark: "#212121" };
|
|
11
11
|
export const calciteColorForeground3 = { light: "#ebebeb", dark: "#141414" };
|
|
12
12
|
export const calciteColorForegroundCurrent = {
|
|
13
|
-
light: "#
|
|
14
|
-
dark: "#
|
|
13
|
+
light: "#d6efff",
|
|
14
|
+
dark: "#2b465f",
|
|
15
|
+
}; // deprecated, use --calcite-color-foreground-highlight instead
|
|
16
|
+
export const calciteColorForegroundHighlight = {
|
|
17
|
+
light: "#d6efff",
|
|
18
|
+
dark: "#2b465f",
|
|
15
19
|
};
|
|
16
20
|
export const calciteColorTransparent = {
|
|
17
21
|
light: "rgba(0, 0, 0, 0)",
|
|
@@ -90,7 +94,7 @@ export const calciteColorInversePress = { light: "#212121", dark: "#f2f2f2" };
|
|
|
90
94
|
export const calciteColorText1 = { light: "#141414", dark: "#ffffff" };
|
|
91
95
|
export const calciteColorText2 = { light: "#4a4a4a", dark: "#bfbfbf" };
|
|
92
96
|
export const calciteColorText3 = { light: "#6b6b6b", dark: "#9e9e9e" };
|
|
93
|
-
export const calciteColorTextHighlight = { light: "#004874", dark: "#
|
|
97
|
+
export const calciteColorTextHighlight = { light: "#004874", dark: "#d6efff" };
|
|
94
98
|
export const calciteColorTextInverse = { light: "#ffffff", dark: "#141414" };
|
|
95
99
|
export const calciteColorTextLink = { light: "#00619b", dark: "#00a0ff" };
|
|
96
100
|
export const calciteColorBorder1 = { light: "#c9c9c9", dark: "#545454" };
|
|
@@ -102,6 +106,7 @@ export const calciteColorBorderGhost = {
|
|
|
102
106
|
dark: "rgba(117, 117, 117, 0.3)",
|
|
103
107
|
};
|
|
104
108
|
export const calciteColorBorderWhite = { light: "#ffffff", dark: "#f7f7f7" };
|
|
109
|
+
export const calciteColorFocus = { light: "#007ac2", dark: "#009af2" };
|
|
105
110
|
export const calciteBorderWidthNone = "0";
|
|
106
111
|
export const calciteBorderWidthSm = "1px";
|
|
107
112
|
export const calciteBorderWidthMd = "2px";
|
|
@@ -123,7 +128,7 @@ export const calciteContainerSizeGutter = "16px";
|
|
|
123
128
|
export const calciteContainerSizeContentFluid = "100%"; // for fluid grid widths
|
|
124
129
|
export const calciteContainerSizeContentFixed = "1440px"; // only for lg breakpoint fixed grid width
|
|
125
130
|
export const calciteCornerRadius = "0";
|
|
126
|
-
export const calciteCornerRadiusSharp = "0"; // deprecated, use --calcite-
|
|
131
|
+
export const calciteCornerRadiusSharp = "0"; // deprecated, use --calcite-corner-radius-none instead
|
|
127
132
|
export const calciteCornerRadiusNone = "0";
|
|
128
133
|
export const calciteCornerRadiusXs = "2px";
|
|
129
134
|
export const calciteCornerRadiusSm = "4px";
|
package/dist/es6/light.d.ts
CHANGED
|
@@ -8,7 +8,9 @@ export const calciteColorBackgroundNone: string;
|
|
|
8
8
|
export const calciteColorForeground1: string;
|
|
9
9
|
export const calciteColorForeground2: string;
|
|
10
10
|
export const calciteColorForeground3: string;
|
|
11
|
+
/** deprecated, use --calcite-color-foreground-highlight instead */
|
|
11
12
|
export const calciteColorForegroundCurrent: string;
|
|
13
|
+
export const calciteColorForegroundHighlight: string;
|
|
12
14
|
export const calciteColorTransparent: string;
|
|
13
15
|
export const calciteColorTransparentHover: string;
|
|
14
16
|
export const calciteColorTransparentPress: string;
|
|
@@ -47,3 +49,4 @@ export const calciteColorBorder3: string;
|
|
|
47
49
|
export const calciteColorBorderInput: string;
|
|
48
50
|
export const calciteColorBorderGhost: string;
|
|
49
51
|
export const calciteColorBorderWhite: string;
|
|
52
|
+
export const calciteColorFocus: string;
|
package/dist/es6/light.js
CHANGED
|
@@ -8,7 +8,8 @@ export const calciteColorBackgroundNone = "rgba(255, 255, 255, 0)";
|
|
|
8
8
|
export const calciteColorForeground1 = "#ffffff";
|
|
9
9
|
export const calciteColorForeground2 = "#f2f2f2";
|
|
10
10
|
export const calciteColorForeground3 = "#ebebeb";
|
|
11
|
-
export const calciteColorForegroundCurrent = "#
|
|
11
|
+
export const calciteColorForegroundCurrent = "#d6efff"; // deprecated, use --calcite-color-foreground-highlight instead
|
|
12
|
+
export const calciteColorForegroundHighlight = "#d6efff";
|
|
12
13
|
export const calciteColorTransparent = "rgba(0, 0, 0, 0)";
|
|
13
14
|
export const calciteColorTransparentHover = "rgba(0, 0, 0, 0.04)";
|
|
14
15
|
export const calciteColorTransparentPress = "rgba(0, 0, 0, 0.08)";
|
|
@@ -47,3 +48,4 @@ export const calciteColorBorder3 = "#dedede";
|
|
|
47
48
|
export const calciteColorBorderInput = "#949494";
|
|
48
49
|
export const calciteColorBorderGhost = "rgba(0, 0, 0, 0.3)";
|
|
49
50
|
export const calciteColorBorderWhite = "#ffffff";
|
|
51
|
+
export const calciteColorFocus = "#007ac2";
|
package/dist/es6/semantic.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export const calciteContainerSizeContentFluid: string;
|
|
|
38
38
|
/** only for lg breakpoint fixed grid width */
|
|
39
39
|
export const calciteContainerSizeContentFixed: string;
|
|
40
40
|
export const calciteCornerRadius: string;
|
|
41
|
-
/** deprecated, use --calcite-
|
|
41
|
+
/** deprecated, use --calcite-corner-radius-none instead */
|
|
42
42
|
export const calciteCornerRadiusSharp: string;
|
|
43
43
|
export const calciteCornerRadiusNone: string;
|
|
44
44
|
export const calciteCornerRadiusXs: string;
|
package/dist/es6/semantic.js
CHANGED
|
@@ -24,7 +24,7 @@ export const calciteContainerSizeGutter = "16px";
|
|
|
24
24
|
export const calciteContainerSizeContentFluid = "100%"; // for fluid grid widths
|
|
25
25
|
export const calciteContainerSizeContentFixed = "1440px"; // only for lg breakpoint fixed grid width
|
|
26
26
|
export const calciteCornerRadius = "0";
|
|
27
|
-
export const calciteCornerRadiusSharp = "0"; // deprecated, use --calcite-
|
|
27
|
+
export const calciteCornerRadiusSharp = "0"; // deprecated, use --calcite-corner-radius-none instead
|
|
28
28
|
export const calciteCornerRadiusNone = "0";
|
|
29
29
|
export const calciteCornerRadiusXs = "2px";
|
|
30
30
|
export const calciteCornerRadiusSm = "4px";
|
package/dist/js/core.js
CHANGED
|
@@ -6073,7 +6073,7 @@ export default {
|
|
|
6073
6073
|
},
|
|
6074
6074
|
"m-bb-090": {
|
|
6075
6075
|
key: "{core.color.medium-saturation.blue.m-bb-090}",
|
|
6076
|
-
value: "#
|
|
6076
|
+
value: "#2b465f",
|
|
6077
6077
|
type: "color",
|
|
6078
6078
|
attributes: {
|
|
6079
6079
|
category: "color",
|
|
@@ -6097,7 +6097,7 @@ export default {
|
|
|
6097
6097
|
filePath: "src/tokens/core/color.json",
|
|
6098
6098
|
isSource: false,
|
|
6099
6099
|
original: {
|
|
6100
|
-
value: "#
|
|
6100
|
+
value: "#2b465f",
|
|
6101
6101
|
type: "color",
|
|
6102
6102
|
attributes: {
|
|
6103
6103
|
category: "color",
|
|
@@ -10793,7 +10793,7 @@ export default {
|
|
|
10793
10793
|
blue: {
|
|
10794
10794
|
"h-bb-010": {
|
|
10795
10795
|
key: "{core.color.high-saturation.blue.h-bb-010}",
|
|
10796
|
-
value: "#
|
|
10796
|
+
value: "#d6efff",
|
|
10797
10797
|
type: "color",
|
|
10798
10798
|
attributes: {
|
|
10799
10799
|
category: "color",
|
|
@@ -10817,7 +10817,7 @@ export default {
|
|
|
10817
10817
|
filePath: "src/tokens/core/color.json",
|
|
10818
10818
|
isSource: false,
|
|
10819
10819
|
original: {
|
|
10820
|
-
value: "#
|
|
10820
|
+
value: "#d6efff",
|
|
10821
10821
|
type: "color",
|
|
10822
10822
|
attributes: {
|
|
10823
10823
|
category: "color",
|
package/dist/js/dark.d.ts
CHANGED
|
@@ -8,7 +8,9 @@ export const calciteColorBackgroundNone: string;
|
|
|
8
8
|
export const calciteColorForeground1: string;
|
|
9
9
|
export const calciteColorForeground2: string;
|
|
10
10
|
export const calciteColorForeground3: string;
|
|
11
|
+
/** deprecated, use --calcite-color-foreground-highlight instead */
|
|
11
12
|
export const calciteColorForegroundCurrent: string;
|
|
13
|
+
export const calciteColorForegroundHighlight: string;
|
|
12
14
|
export const calciteColorTransparent: string;
|
|
13
15
|
export const calciteColorTransparentHover: string;
|
|
14
16
|
export const calciteColorTransparentPress: string;
|
|
@@ -47,3 +49,4 @@ export const calciteColorBorder3: string;
|
|
|
47
49
|
export const calciteColorBorderInput: string;
|
|
48
50
|
export const calciteColorBorderGhost: string;
|
|
49
51
|
export const calciteColorBorderWhite: string;
|
|
52
|
+
export const calciteColorFocus: string;
|
package/dist/js/dark.js
CHANGED
|
@@ -186,13 +186,23 @@ export default {
|
|
|
186
186
|
},
|
|
187
187
|
current: {
|
|
188
188
|
key: "{semantic.color.foreground.current}",
|
|
189
|
-
value: "#
|
|
189
|
+
value: "#2b465f",
|
|
190
190
|
type: "color",
|
|
191
191
|
attributes: {
|
|
192
192
|
category: "color",
|
|
193
193
|
type: "color",
|
|
194
194
|
item: "foreground",
|
|
195
195
|
subitem: "current",
|
|
196
|
+
value: "#2b465f",
|
|
197
|
+
description:
|
|
198
|
+
"deprecated, use --calcite-color-foreground-highlight instead",
|
|
199
|
+
filePath: "src/tokens/semantic/color/dark.json",
|
|
200
|
+
isSource: true,
|
|
201
|
+
key: "{semantic.color.foreground.current}",
|
|
202
|
+
name: "calcite-semantic-color-foreground-current",
|
|
203
|
+
path: ["semantic", "color", "foreground", "current"],
|
|
204
|
+
comment:
|
|
205
|
+
"deprecated, use --calcite-color-foreground-highlight instead",
|
|
196
206
|
names: {
|
|
197
207
|
scss: "$calcite-color-foreground-current",
|
|
198
208
|
css: "var(--calcite-color-foreground-current)",
|
|
@@ -206,6 +216,8 @@ export default {
|
|
|
206
216
|
type: "color",
|
|
207
217
|
},
|
|
208
218
|
},
|
|
219
|
+
description:
|
|
220
|
+
"deprecated, use --calcite-color-foreground-highlight instead",
|
|
209
221
|
filePath: "src/tokens/semantic/color/dark.json",
|
|
210
222
|
isSource: true,
|
|
211
223
|
original: {
|
|
@@ -214,10 +226,49 @@ export default {
|
|
|
214
226
|
attributes: {
|
|
215
227
|
category: "color",
|
|
216
228
|
},
|
|
229
|
+
description:
|
|
230
|
+
"deprecated, use --calcite-color-foreground-highlight instead",
|
|
217
231
|
key: "{semantic.color.foreground.current}",
|
|
218
232
|
},
|
|
219
233
|
name: "calciteColorForegroundCurrent",
|
|
220
234
|
path: ["semantic", "color", "foreground", "current"],
|
|
235
|
+
comment:
|
|
236
|
+
"deprecated, use --calcite-color-foreground-highlight instead",
|
|
237
|
+
},
|
|
238
|
+
highlight: {
|
|
239
|
+
key: "{semantic.color.foreground.highlight}",
|
|
240
|
+
value: "#2b465f",
|
|
241
|
+
type: "color",
|
|
242
|
+
attributes: {
|
|
243
|
+
category: "color",
|
|
244
|
+
type: "color",
|
|
245
|
+
item: "foreground",
|
|
246
|
+
subitem: "highlight",
|
|
247
|
+
names: {
|
|
248
|
+
scss: "$calcite-color-foreground-highlight",
|
|
249
|
+
css: "var(--calcite-color-foreground-highlight)",
|
|
250
|
+
js: "semantic.color.foreground.highlight",
|
|
251
|
+
docs: "semantic.color.foreground.highlight",
|
|
252
|
+
es6: "calciteColorForegroundHighlight",
|
|
253
|
+
},
|
|
254
|
+
"calcite-schema": {
|
|
255
|
+
system: "calcite",
|
|
256
|
+
tier: "color",
|
|
257
|
+
type: "color",
|
|
258
|
+
},
|
|
259
|
+
},
|
|
260
|
+
filePath: "src/tokens/semantic/color/dark.json",
|
|
261
|
+
isSource: true,
|
|
262
|
+
original: {
|
|
263
|
+
value: "{core.color.medium-saturation.blue.m-bb-090}",
|
|
264
|
+
type: "color",
|
|
265
|
+
attributes: {
|
|
266
|
+
category: "color",
|
|
267
|
+
},
|
|
268
|
+
key: "{semantic.color.foreground.highlight}",
|
|
269
|
+
},
|
|
270
|
+
name: "calciteColorForegroundHighlight",
|
|
271
|
+
path: ["semantic", "color", "foreground", "highlight"],
|
|
221
272
|
},
|
|
222
273
|
},
|
|
223
274
|
transparent: {
|
|
@@ -1278,7 +1329,7 @@ export default {
|
|
|
1278
1329
|
},
|
|
1279
1330
|
highlight: {
|
|
1280
1331
|
key: "{semantic.color.text.highlight}",
|
|
1281
|
-
value: "#
|
|
1332
|
+
value: "#d6efff",
|
|
1282
1333
|
type: "color",
|
|
1283
1334
|
attributes: {
|
|
1284
1335
|
category: "color",
|
|
@@ -1594,6 +1645,45 @@ export default {
|
|
|
1594
1645
|
path: ["semantic", "color", "border", "white"],
|
|
1595
1646
|
},
|
|
1596
1647
|
},
|
|
1648
|
+
focus: {
|
|
1649
|
+
default: {
|
|
1650
|
+
key: "{semantic.color.focus.default}",
|
|
1651
|
+
value: "#009af2",
|
|
1652
|
+
type: "color",
|
|
1653
|
+
attributes: {
|
|
1654
|
+
category: "color",
|
|
1655
|
+
scope: "component",
|
|
1656
|
+
type: "color",
|
|
1657
|
+
item: "focus",
|
|
1658
|
+
subitem: "default",
|
|
1659
|
+
names: {
|
|
1660
|
+
scss: "$calcite-color-focus",
|
|
1661
|
+
css: "var(--calcite-color-focus)",
|
|
1662
|
+
js: "semantic.color.focus.default",
|
|
1663
|
+
docs: "semantic.color.focus.default",
|
|
1664
|
+
es6: "calciteColorFocus",
|
|
1665
|
+
},
|
|
1666
|
+
"calcite-schema": {
|
|
1667
|
+
system: "calcite",
|
|
1668
|
+
tier: "color",
|
|
1669
|
+
type: "color",
|
|
1670
|
+
},
|
|
1671
|
+
},
|
|
1672
|
+
filePath: "src/tokens/semantic/color/dark.json",
|
|
1673
|
+
isSource: true,
|
|
1674
|
+
original: {
|
|
1675
|
+
value: "{semantic.color.brand.default.default}",
|
|
1676
|
+
type: "color",
|
|
1677
|
+
attributes: {
|
|
1678
|
+
category: "color",
|
|
1679
|
+
scope: "component",
|
|
1680
|
+
},
|
|
1681
|
+
key: "{semantic.color.focus.default}",
|
|
1682
|
+
},
|
|
1683
|
+
name: "calciteColorFocus",
|
|
1684
|
+
path: ["semantic", "color", "focus", "default"],
|
|
1685
|
+
},
|
|
1686
|
+
},
|
|
1597
1687
|
},
|
|
1598
1688
|
},
|
|
1599
1689
|
};
|
package/dist/js/global.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ declare const tokens: {
|
|
|
28
28
|
"2": DesignToken;
|
|
29
29
|
"3": DesignToken;
|
|
30
30
|
current: DesignToken;
|
|
31
|
+
highlight: DesignToken;
|
|
31
32
|
};
|
|
32
33
|
transparent: {
|
|
33
34
|
default: {
|
|
@@ -93,6 +94,9 @@ declare const tokens: {
|
|
|
93
94
|
ghost: DesignToken;
|
|
94
95
|
white: DesignToken;
|
|
95
96
|
};
|
|
97
|
+
focus: {
|
|
98
|
+
default: DesignToken;
|
|
99
|
+
};
|
|
96
100
|
};
|
|
97
101
|
border: {
|
|
98
102
|
width: {
|
package/dist/js/global.js
CHANGED
|
@@ -200,8 +200,8 @@ export default {
|
|
|
200
200
|
current: {
|
|
201
201
|
key: "{semantic.color.foreground.current}",
|
|
202
202
|
value: {
|
|
203
|
-
light: "#
|
|
204
|
-
dark: "#
|
|
203
|
+
light: "#d6efff",
|
|
204
|
+
dark: "#2b465f",
|
|
205
205
|
},
|
|
206
206
|
type: "color",
|
|
207
207
|
attributes: {
|
|
@@ -209,6 +209,16 @@ export default {
|
|
|
209
209
|
type: "color",
|
|
210
210
|
item: "foreground",
|
|
211
211
|
subitem: "current",
|
|
212
|
+
value: "#d6efff",
|
|
213
|
+
description:
|
|
214
|
+
"deprecated, use --calcite-color-foreground-highlight instead",
|
|
215
|
+
filePath: "src/tokens/semantic/color/light.json",
|
|
216
|
+
isSource: false,
|
|
217
|
+
key: "{semantic.color.foreground.current}",
|
|
218
|
+
name: "calcite-semantic-color-foreground-current",
|
|
219
|
+
path: ["semantic", "color", "foreground", "current"],
|
|
220
|
+
comment:
|
|
221
|
+
"deprecated, use --calcite-color-foreground-highlight instead",
|
|
212
222
|
names: {
|
|
213
223
|
scss: "$calcite-color-foreground-current",
|
|
214
224
|
css: "var(--calcite-color-foreground-current)",
|
|
@@ -222,6 +232,8 @@ export default {
|
|
|
222
232
|
type: "color",
|
|
223
233
|
},
|
|
224
234
|
},
|
|
235
|
+
description:
|
|
236
|
+
"deprecated, use --calcite-color-foreground-highlight instead",
|
|
225
237
|
filePath: "src/tokens/semantic/color/light.json",
|
|
226
238
|
isSource: false,
|
|
227
239
|
original: {
|
|
@@ -230,10 +242,52 @@ export default {
|
|
|
230
242
|
attributes: {
|
|
231
243
|
category: "color",
|
|
232
244
|
},
|
|
245
|
+
description:
|
|
246
|
+
"deprecated, use --calcite-color-foreground-highlight instead",
|
|
233
247
|
key: "{semantic.color.foreground.current}",
|
|
234
248
|
},
|
|
235
249
|
name: "Color Foreground Current",
|
|
236
250
|
path: ["semantic", "color", "foreground", "current"],
|
|
251
|
+
comment:
|
|
252
|
+
"deprecated, use --calcite-color-foreground-highlight instead",
|
|
253
|
+
},
|
|
254
|
+
highlight: {
|
|
255
|
+
key: "{semantic.color.foreground.highlight}",
|
|
256
|
+
value: {
|
|
257
|
+
light: "#d6efff",
|
|
258
|
+
dark: "#2b465f",
|
|
259
|
+
},
|
|
260
|
+
type: "color",
|
|
261
|
+
attributes: {
|
|
262
|
+
category: "color",
|
|
263
|
+
type: "color",
|
|
264
|
+
item: "foreground",
|
|
265
|
+
subitem: "highlight",
|
|
266
|
+
names: {
|
|
267
|
+
scss: "$calcite-color-foreground-highlight",
|
|
268
|
+
css: "var(--calcite-color-foreground-highlight)",
|
|
269
|
+
js: "semantic.color.foreground.highlight",
|
|
270
|
+
docs: "semantic.color.foreground.highlight",
|
|
271
|
+
es6: "calciteColorForegroundHighlight",
|
|
272
|
+
},
|
|
273
|
+
"calcite-schema": {
|
|
274
|
+
system: "calcite",
|
|
275
|
+
tier: "color",
|
|
276
|
+
type: "color",
|
|
277
|
+
},
|
|
278
|
+
},
|
|
279
|
+
filePath: "src/tokens/semantic/color/light.json",
|
|
280
|
+
isSource: false,
|
|
281
|
+
original: {
|
|
282
|
+
value: "{core.color.high-saturation.blue.h-bb-010}",
|
|
283
|
+
type: "color",
|
|
284
|
+
attributes: {
|
|
285
|
+
category: "color",
|
|
286
|
+
},
|
|
287
|
+
key: "{semantic.color.foreground.highlight}",
|
|
288
|
+
},
|
|
289
|
+
name: "Color Foreground Highlight",
|
|
290
|
+
path: ["semantic", "color", "foreground", "highlight"],
|
|
237
291
|
},
|
|
238
292
|
},
|
|
239
293
|
transparent: {
|
|
@@ -1386,7 +1440,7 @@ export default {
|
|
|
1386
1440
|
key: "{semantic.color.text.highlight}",
|
|
1387
1441
|
value: {
|
|
1388
1442
|
light: "#004874",
|
|
1389
|
-
dark: "#
|
|
1443
|
+
dark: "#d6efff",
|
|
1390
1444
|
},
|
|
1391
1445
|
type: "color",
|
|
1392
1446
|
attributes: {
|
|
@@ -1727,6 +1781,48 @@ export default {
|
|
|
1727
1781
|
path: ["semantic", "color", "border", "white"],
|
|
1728
1782
|
},
|
|
1729
1783
|
},
|
|
1784
|
+
focus: {
|
|
1785
|
+
default: {
|
|
1786
|
+
key: "{semantic.color.focus.default}",
|
|
1787
|
+
value: {
|
|
1788
|
+
light: "#007ac2",
|
|
1789
|
+
dark: "#009af2",
|
|
1790
|
+
},
|
|
1791
|
+
type: "color",
|
|
1792
|
+
attributes: {
|
|
1793
|
+
category: "color",
|
|
1794
|
+
scope: "component",
|
|
1795
|
+
type: "color",
|
|
1796
|
+
item: "focus",
|
|
1797
|
+
subitem: "default",
|
|
1798
|
+
names: {
|
|
1799
|
+
scss: "$calcite-color-focus",
|
|
1800
|
+
css: "var(--calcite-color-focus)",
|
|
1801
|
+
js: "semantic.color.focus.default",
|
|
1802
|
+
docs: "semantic.color.focus.default",
|
|
1803
|
+
es6: "calciteColorFocus",
|
|
1804
|
+
},
|
|
1805
|
+
"calcite-schema": {
|
|
1806
|
+
system: "calcite",
|
|
1807
|
+
tier: "color",
|
|
1808
|
+
type: "color",
|
|
1809
|
+
},
|
|
1810
|
+
},
|
|
1811
|
+
filePath: "src/tokens/semantic/color/light.json",
|
|
1812
|
+
isSource: false,
|
|
1813
|
+
original: {
|
|
1814
|
+
value: "{semantic.color.brand.default.default}",
|
|
1815
|
+
type: "color",
|
|
1816
|
+
attributes: {
|
|
1817
|
+
category: "color",
|
|
1818
|
+
scope: "component",
|
|
1819
|
+
},
|
|
1820
|
+
key: "{semantic.color.focus.default}",
|
|
1821
|
+
},
|
|
1822
|
+
name: "Color Focus",
|
|
1823
|
+
path: ["semantic", "color", "focus", "default"],
|
|
1824
|
+
},
|
|
1825
|
+
},
|
|
1730
1826
|
},
|
|
1731
1827
|
border: {
|
|
1732
1828
|
width: {
|
|
@@ -2741,13 +2837,13 @@ export default {
|
|
|
2741
2837
|
item: "radius",
|
|
2742
2838
|
subitem: "sharp",
|
|
2743
2839
|
value: "0",
|
|
2744
|
-
description: "deprecated, use --calcite-
|
|
2840
|
+
description: "deprecated, use --calcite-corner-radius-none instead",
|
|
2745
2841
|
filePath: "src/tokens/semantic/corner.json",
|
|
2746
2842
|
isSource: true,
|
|
2747
2843
|
key: "{semantic.corner.radius.sharp}",
|
|
2748
2844
|
name: "calcite-semantic-corner-radius-sharp",
|
|
2749
2845
|
path: ["semantic", "corner", "radius", "sharp"],
|
|
2750
|
-
comment: "deprecated, use --calcite-
|
|
2846
|
+
comment: "deprecated, use --calcite-corner-radius-none instead",
|
|
2751
2847
|
names: {
|
|
2752
2848
|
scss: "$calcite-corner-radius-sharp",
|
|
2753
2849
|
css: "var(--calcite-corner-radius-sharp)",
|
|
@@ -2761,7 +2857,7 @@ export default {
|
|
|
2761
2857
|
type: "dimension",
|
|
2762
2858
|
},
|
|
2763
2859
|
},
|
|
2764
|
-
description: "deprecated, use --calcite-
|
|
2860
|
+
description: "deprecated, use --calcite-corner-radius-none instead",
|
|
2765
2861
|
filePath: "src/tokens/semantic/corner.json",
|
|
2766
2862
|
isSource: true,
|
|
2767
2863
|
original: {
|
|
@@ -2770,12 +2866,12 @@ export default {
|
|
|
2770
2866
|
attributes: {
|
|
2771
2867
|
category: "corner",
|
|
2772
2868
|
},
|
|
2773
|
-
description: "deprecated, use --calcite-
|
|
2869
|
+
description: "deprecated, use --calcite-corner-radius-none instead",
|
|
2774
2870
|
key: "{semantic.corner.radius.sharp}",
|
|
2775
2871
|
},
|
|
2776
2872
|
name: "Corner Radius Sharp",
|
|
2777
2873
|
path: ["semantic", "corner", "radius", "sharp"],
|
|
2778
|
-
comment: "deprecated, use --calcite-
|
|
2874
|
+
comment: "deprecated, use --calcite-corner-radius-none instead",
|
|
2779
2875
|
},
|
|
2780
2876
|
none: {
|
|
2781
2877
|
key: "{semantic.corner.radius.none}",
|
package/dist/js/light.d.ts
CHANGED
|
@@ -8,7 +8,9 @@ export const calciteColorBackgroundNone: string;
|
|
|
8
8
|
export const calciteColorForeground1: string;
|
|
9
9
|
export const calciteColorForeground2: string;
|
|
10
10
|
export const calciteColorForeground3: string;
|
|
11
|
+
/** deprecated, use --calcite-color-foreground-highlight instead */
|
|
11
12
|
export const calciteColorForegroundCurrent: string;
|
|
13
|
+
export const calciteColorForegroundHighlight: string;
|
|
12
14
|
export const calciteColorTransparent: string;
|
|
13
15
|
export const calciteColorTransparentHover: string;
|
|
14
16
|
export const calciteColorTransparentPress: string;
|
|
@@ -47,3 +49,4 @@ export const calciteColorBorder3: string;
|
|
|
47
49
|
export const calciteColorBorderInput: string;
|
|
48
50
|
export const calciteColorBorderGhost: string;
|
|
49
51
|
export const calciteColorBorderWhite: string;
|
|
52
|
+
export const calciteColorFocus: string;
|
package/dist/js/light.js
CHANGED
|
@@ -186,13 +186,23 @@ export default {
|
|
|
186
186
|
},
|
|
187
187
|
current: {
|
|
188
188
|
key: "{semantic.color.foreground.current}",
|
|
189
|
-
value: "#
|
|
189
|
+
value: "#d6efff",
|
|
190
190
|
type: "color",
|
|
191
191
|
attributes: {
|
|
192
192
|
category: "color",
|
|
193
193
|
type: "color",
|
|
194
194
|
item: "foreground",
|
|
195
195
|
subitem: "current",
|
|
196
|
+
value: "#d6efff",
|
|
197
|
+
description:
|
|
198
|
+
"deprecated, use --calcite-color-foreground-highlight instead",
|
|
199
|
+
filePath: "src/tokens/semantic/color/light.json",
|
|
200
|
+
isSource: true,
|
|
201
|
+
key: "{semantic.color.foreground.current}",
|
|
202
|
+
name: "calcite-semantic-color-foreground-current",
|
|
203
|
+
path: ["semantic", "color", "foreground", "current"],
|
|
204
|
+
comment:
|
|
205
|
+
"deprecated, use --calcite-color-foreground-highlight instead",
|
|
196
206
|
names: {
|
|
197
207
|
scss: "$calcite-color-foreground-current",
|
|
198
208
|
css: "var(--calcite-color-foreground-current)",
|
|
@@ -206,6 +216,8 @@ export default {
|
|
|
206
216
|
type: "color",
|
|
207
217
|
},
|
|
208
218
|
},
|
|
219
|
+
description:
|
|
220
|
+
"deprecated, use --calcite-color-foreground-highlight instead",
|
|
209
221
|
filePath: "src/tokens/semantic/color/light.json",
|
|
210
222
|
isSource: true,
|
|
211
223
|
original: {
|
|
@@ -214,10 +226,49 @@ export default {
|
|
|
214
226
|
attributes: {
|
|
215
227
|
category: "color",
|
|
216
228
|
},
|
|
229
|
+
description:
|
|
230
|
+
"deprecated, use --calcite-color-foreground-highlight instead",
|
|
217
231
|
key: "{semantic.color.foreground.current}",
|
|
218
232
|
},
|
|
219
233
|
name: "calciteColorForegroundCurrent",
|
|
220
234
|
path: ["semantic", "color", "foreground", "current"],
|
|
235
|
+
comment:
|
|
236
|
+
"deprecated, use --calcite-color-foreground-highlight instead",
|
|
237
|
+
},
|
|
238
|
+
highlight: {
|
|
239
|
+
key: "{semantic.color.foreground.highlight}",
|
|
240
|
+
value: "#d6efff",
|
|
241
|
+
type: "color",
|
|
242
|
+
attributes: {
|
|
243
|
+
category: "color",
|
|
244
|
+
type: "color",
|
|
245
|
+
item: "foreground",
|
|
246
|
+
subitem: "highlight",
|
|
247
|
+
names: {
|
|
248
|
+
scss: "$calcite-color-foreground-highlight",
|
|
249
|
+
css: "var(--calcite-color-foreground-highlight)",
|
|
250
|
+
js: "semantic.color.foreground.highlight",
|
|
251
|
+
docs: "semantic.color.foreground.highlight",
|
|
252
|
+
es6: "calciteColorForegroundHighlight",
|
|
253
|
+
},
|
|
254
|
+
"calcite-schema": {
|
|
255
|
+
system: "calcite",
|
|
256
|
+
tier: "color",
|
|
257
|
+
type: "color",
|
|
258
|
+
},
|
|
259
|
+
},
|
|
260
|
+
filePath: "src/tokens/semantic/color/light.json",
|
|
261
|
+
isSource: true,
|
|
262
|
+
original: {
|
|
263
|
+
value: "{core.color.high-saturation.blue.h-bb-010}",
|
|
264
|
+
type: "color",
|
|
265
|
+
attributes: {
|
|
266
|
+
category: "color",
|
|
267
|
+
},
|
|
268
|
+
key: "{semantic.color.foreground.highlight}",
|
|
269
|
+
},
|
|
270
|
+
name: "calciteColorForegroundHighlight",
|
|
271
|
+
path: ["semantic", "color", "foreground", "highlight"],
|
|
221
272
|
},
|
|
222
273
|
},
|
|
223
274
|
transparent: {
|
|
@@ -1597,6 +1648,45 @@ export default {
|
|
|
1597
1648
|
path: ["semantic", "color", "border", "white"],
|
|
1598
1649
|
},
|
|
1599
1650
|
},
|
|
1651
|
+
focus: {
|
|
1652
|
+
default: {
|
|
1653
|
+
key: "{semantic.color.focus.default}",
|
|
1654
|
+
value: "#007ac2",
|
|
1655
|
+
type: "color",
|
|
1656
|
+
attributes: {
|
|
1657
|
+
category: "color",
|
|
1658
|
+
scope: "component",
|
|
1659
|
+
type: "color",
|
|
1660
|
+
item: "focus",
|
|
1661
|
+
subitem: "default",
|
|
1662
|
+
names: {
|
|
1663
|
+
scss: "$calcite-color-focus",
|
|
1664
|
+
css: "var(--calcite-color-focus)",
|
|
1665
|
+
js: "semantic.color.focus.default",
|
|
1666
|
+
docs: "semantic.color.focus.default",
|
|
1667
|
+
es6: "calciteColorFocus",
|
|
1668
|
+
},
|
|
1669
|
+
"calcite-schema": {
|
|
1670
|
+
system: "calcite",
|
|
1671
|
+
tier: "color",
|
|
1672
|
+
type: "color",
|
|
1673
|
+
},
|
|
1674
|
+
},
|
|
1675
|
+
filePath: "src/tokens/semantic/color/light.json",
|
|
1676
|
+
isSource: true,
|
|
1677
|
+
original: {
|
|
1678
|
+
value: "{semantic.color.brand.default.default}",
|
|
1679
|
+
type: "color",
|
|
1680
|
+
attributes: {
|
|
1681
|
+
category: "color",
|
|
1682
|
+
scope: "component",
|
|
1683
|
+
},
|
|
1684
|
+
key: "{semantic.color.focus.default}",
|
|
1685
|
+
},
|
|
1686
|
+
name: "calciteColorFocus",
|
|
1687
|
+
path: ["semantic", "color", "focus", "default"],
|
|
1688
|
+
},
|
|
1689
|
+
},
|
|
1600
1690
|
},
|
|
1601
1691
|
},
|
|
1602
1692
|
};
|