@esri/calcite-design-tokens 2.0.1-next.3 → 2.1.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/breakpoint.css +1 -1
- package/dist/css/classes.css +14 -12
- package/dist/css/core.css +8 -1
- package/dist/css/dark.css +1 -1
- package/dist/css/global.css +14 -12
- package/dist/css/index.css +1 -1
- package/dist/css/light.css +1 -1
- package/dist/docs/core.json +10882 -6537
- package/dist/docs/global.json +7678 -5570
- package/dist/es6/core.d.ts +15 -1
- package/dist/es6/core.js +41 -34
- package/dist/es6/global.d.ts +12 -10
- package/dist/es6/global.js +69 -69
- package/dist/js/core.d.ts +9 -2
- package/dist/js/core.js +14203 -2255
- package/dist/js/global.d.ts +19 -15
- package/dist/js/global.js +9677 -1885
- package/dist/scss/breakpoints.scss +1 -1
- package/dist/scss/core.scss +8 -1
- package/dist/scss/dark.scss +1 -1
- package/dist/scss/global.scss +14 -12
- package/dist/scss/index.scss +1 -1
- package/dist/scss/light.scss +1 -1
- package/dist/scss/mixins.scss +1 -1
- package/package.json +3 -4
package/dist/es6/core.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 19 Dec 2023 05:51:02 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export const calciteColorNeutralBlk000 : string;
|
|
@@ -217,9 +217,23 @@ export const calciteContainerSize768 : string;
|
|
|
217
217
|
export const calciteContainerSize854 : string;
|
|
218
218
|
export const calciteContainerSize1152 : string;
|
|
219
219
|
export const calciteContainerSize1440 : string;
|
|
220
|
+
/** Fallback for Monaco */
|
|
221
|
+
export const calciteFontFamilyAndaleMono : string;
|
|
220
222
|
export const calciteFontFamilyAvenirNextPro : string;
|
|
221
223
|
export const calciteFontFamilyAvenirNextWorld : string;
|
|
224
|
+
/** Fallback for Avenir Next */
|
|
225
|
+
export const calciteFontFamilyAvenir : string;
|
|
226
|
+
/** Fallback for Monaco */
|
|
227
|
+
export const calciteFontFamilyConsolas : string;
|
|
228
|
+
/** Fallback for Avenir Next */
|
|
229
|
+
export const calciteFontFamilyHelveticaNeue : string;
|
|
230
|
+
/** Fallback for Monaco */
|
|
231
|
+
export const calciteFontFamilyLucidaConsole : string;
|
|
222
232
|
export const calciteFontFamilyMonaco : string;
|
|
233
|
+
/** Fallback for Monaco */
|
|
234
|
+
export const calciteFontFamilyMonospace : string;
|
|
235
|
+
/** Fallback for Avenir Next */
|
|
236
|
+
export const calciteFontFamilySansSerif : string;
|
|
223
237
|
/** used in ratings */
|
|
224
238
|
export const calciteFontStyleItalic : string;
|
|
225
239
|
/** only for Avenir Next World (secondary font family) */
|
package/dist/es6/core.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 19 Dec 2023 05:51:02 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export const calciteColorNeutralBlk000 = "#ffffff";
|
|
@@ -194,18 +194,18 @@ export const calciteColorVibrantVioletVVv120 = "#b580ff";
|
|
|
194
194
|
export const calciteColorVibrantVioletVVv140 = "#974dff";
|
|
195
195
|
export const calciteColorVibrantVioletVVv160 = "#8129ff";
|
|
196
196
|
export const calciteColorVibrantVioletVVv180 = "#6a0be6";
|
|
197
|
-
export const calciteColorDarkGreenDGg410 = "#
|
|
198
|
-
export const calciteColorDarkGreenDGg420 = "#
|
|
199
|
-
export const calciteColorDarkGreenDGg430 = "#
|
|
200
|
-
export const calciteColorDarkYellowDYy410 = "#
|
|
201
|
-
export const calciteColorDarkYellowDYy420 = "#
|
|
202
|
-
export const calciteColorDarkYellowDYy430 = "#
|
|
203
|
-
export const calciteColorDarkRedDRr410 = "#
|
|
204
|
-
export const calciteColorDarkRedDRr420 = "#
|
|
205
|
-
export const calciteColorDarkRedDRr430 = "#
|
|
206
|
-
export const calciteColorDarkBlueDBb410 = "#
|
|
207
|
-
export const calciteColorDarkBlueDBb420 = "#
|
|
208
|
-
export const calciteColorDarkBlueDBb430 = "#
|
|
197
|
+
export const calciteColorDarkGreenDGg410 = "#44ed51";
|
|
198
|
+
export const calciteColorDarkGreenDGg420 = "#36da43";
|
|
199
|
+
export const calciteColorDarkGreenDGg430 = "#36da43";
|
|
200
|
+
export const calciteColorDarkYellowDYy410 = "#ffe24d";
|
|
201
|
+
export const calciteColorDarkYellowDYy420 = "#ffc900";
|
|
202
|
+
export const calciteColorDarkYellowDYy430 = "#f4b000";
|
|
203
|
+
export const calciteColorDarkRedDRr410 = "#ff7465";
|
|
204
|
+
export const calciteColorDarkRedDRr420 = "#fe583e";
|
|
205
|
+
export const calciteColorDarkRedDRr430 = "#f3381b";
|
|
206
|
+
export const calciteColorDarkBlueDBb410 = "#47bbff";
|
|
207
|
+
export const calciteColorDarkBlueDBb420 = "#00a0ff";
|
|
208
|
+
export const calciteColorDarkBlueDBb430 = "#0087d7";
|
|
209
209
|
export const calciteContainerSize0 = "0";
|
|
210
210
|
export const calciteContainerSize154 = "154px";
|
|
211
211
|
export const calciteContainerSize320 = "320px";
|
|
@@ -217,9 +217,16 @@ export const calciteContainerSize768 = "768px";
|
|
|
217
217
|
export const calciteContainerSize854 = "854px";
|
|
218
218
|
export const calciteContainerSize1152 = "1152px";
|
|
219
219
|
export const calciteContainerSize1440 = "1440px";
|
|
220
|
+
export const calciteFontFamilyAndaleMono = "Andale Mono"; // Fallback for Monaco
|
|
220
221
|
export const calciteFontFamilyAvenirNextPro = "Avenir Next LT Pro";
|
|
221
222
|
export const calciteFontFamilyAvenirNextWorld = "Avenir Next World";
|
|
223
|
+
export const calciteFontFamilyAvenir = "Avenir"; // Fallback for Avenir Next
|
|
224
|
+
export const calciteFontFamilyConsolas = "Consolas"; // Fallback for Monaco
|
|
225
|
+
export const calciteFontFamilyHelveticaNeue = "Helvetica Neue"; // Fallback for Avenir Next
|
|
226
|
+
export const calciteFontFamilyLucidaConsole = "Lucida Console"; // Fallback for Monaco
|
|
222
227
|
export const calciteFontFamilyMonaco = "Monaco";
|
|
228
|
+
export const calciteFontFamilyMonospace = "monospace"; // Fallback for Monaco
|
|
229
|
+
export const calciteFontFamilySansSerif = "sans-serif"; // Fallback for Avenir Next
|
|
223
230
|
export const calciteFontStyleItalic = "italic"; // used in ratings
|
|
224
231
|
export const calciteFontWeightUltralight = "200"; // only for Avenir Next World (secondary font family)
|
|
225
232
|
export const calciteFontWeightThin = "100";
|
|
@@ -238,27 +245,27 @@ export const calciteFontTextCaseNone = "none";
|
|
|
238
245
|
export const calciteFontTextCaseUppercase = "uppercase";
|
|
239
246
|
export const calciteFontTextCaseLowercase = "lowercase";
|
|
240
247
|
export const calciteFontTextCaseCapitalize = "capitalize";
|
|
241
|
-
export const calciteOpacity0 = "0
|
|
242
|
-
export const calciteOpacity4 = "
|
|
243
|
-
export const calciteOpacity8 = "
|
|
244
|
-
export const calciteOpacity10 = "
|
|
245
|
-
export const calciteOpacity20 = "
|
|
246
|
-
export const calciteOpacity30 = "
|
|
247
|
-
export const calciteOpacity40 = "
|
|
248
|
-
export const calciteOpacity50 = "
|
|
249
|
-
export const calciteOpacity60 = "
|
|
250
|
-
export const calciteOpacity70 = "
|
|
251
|
-
export const calciteOpacity80 = "
|
|
252
|
-
export const calciteOpacity85 = "85
|
|
253
|
-
export const calciteOpacity90 = "
|
|
254
|
-
export const calciteOpacity92 = "92
|
|
255
|
-
export const calciteOpacity96 = "96
|
|
256
|
-
export const calciteOpacity100 = "
|
|
257
|
-
export const calciteShadow0 = {"x":"0","y":"0","blur":"0","spread":"0","color":"rgba(#000000, 0
|
|
258
|
-
export const calciteShadow1 = {"x":"0","y":"2","blur":"8","spread":"0","color":"rgba(#000000,
|
|
259
|
-
export const calciteShadow2 = {"x":"0","y":"4","blur":"16","spread":"0","color":"rgba(#000000,
|
|
260
|
-
export const calciteShadow3 = {"x":"0","y":"4","blur":"20","spread":"0","color":"rgba(#000000,
|
|
261
|
-
export const calciteShadow4 = {"x":"0","y":"12","blur":"32","spread":"-2","color":"rgba(#000000,
|
|
248
|
+
export const calciteOpacity0 = "0";
|
|
249
|
+
export const calciteOpacity4 = "0.04";
|
|
250
|
+
export const calciteOpacity8 = "0.08";
|
|
251
|
+
export const calciteOpacity10 = "0.1";
|
|
252
|
+
export const calciteOpacity20 = "0.2";
|
|
253
|
+
export const calciteOpacity30 = "0.3";
|
|
254
|
+
export const calciteOpacity40 = "0.4";
|
|
255
|
+
export const calciteOpacity50 = "0.5";
|
|
256
|
+
export const calciteOpacity60 = "0.6";
|
|
257
|
+
export const calciteOpacity70 = "0.7";
|
|
258
|
+
export const calciteOpacity80 = "0.8";
|
|
259
|
+
export const calciteOpacity85 = "0.85";
|
|
260
|
+
export const calciteOpacity90 = "0.9";
|
|
261
|
+
export const calciteOpacity92 = "0.92";
|
|
262
|
+
export const calciteOpacity96 = "0.96";
|
|
263
|
+
export const calciteOpacity100 = "1";
|
|
264
|
+
export const calciteShadow0 = {"x":"0","y":"0","blur":"0","spread":"0","color":"rgba(#000000, 0)"};
|
|
265
|
+
export const calciteShadow1 = {"x":"0","y":"2","blur":"8","spread":"0","color":"rgba(#000000, 0.04)"};
|
|
266
|
+
export const calciteShadow2 = {"x":"0","y":"4","blur":"16","spread":"0","color":"rgba(#000000, 0.08)"};
|
|
267
|
+
export const calciteShadow3 = {"x":"0","y":"4","blur":"20","spread":"0","color":"rgba(#000000, 0.08)"};
|
|
268
|
+
export const calciteShadow4 = {"x":"0","y":"12","blur":"32","spread":"-2","color":"rgba(#000000, 0.1)"};
|
|
262
269
|
export const calciteSize1 = "1px";
|
|
263
270
|
export const calciteSize2 = "2px";
|
|
264
271
|
export const calciteSize4 = "4px";
|
package/dist/es6/global.d.ts
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 19 Dec 2023 05:51:04 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export const calciteBorderWidthNone : string;
|
|
7
7
|
export const calciteBorderWidthSm : string;
|
|
8
8
|
export const calciteBorderWidthMd : string;
|
|
9
9
|
export const calciteBorderWidthLg : string;
|
|
10
|
-
export const calciteCornerRadius : string;
|
|
11
|
-
export const calciteCornerRadiusSharp : string;
|
|
12
|
-
export const calciteCornerRadiusRound : string;
|
|
13
|
-
export const calciteCornerRadiusPill : string;
|
|
14
10
|
export const calciteColorBackground : { light: string, dark: string };
|
|
15
11
|
export const calciteColorBackgroundNone : string;
|
|
16
12
|
export const calciteColorForeground1 : { light: string, dark: string };
|
|
@@ -82,8 +78,14 @@ export const calciteContainerSizeGutter : string;
|
|
|
82
78
|
export const calciteContainerSizeContentFluid : string;
|
|
83
79
|
/** only for lg breakpoint fixed grid width */
|
|
84
80
|
export const calciteContainerSizeContentFixed : string;
|
|
85
|
-
export const
|
|
86
|
-
export const
|
|
81
|
+
export const calciteCornerRadius : string;
|
|
82
|
+
export const calciteCornerRadiusSharp : string;
|
|
83
|
+
export const calciteCornerRadiusRound : string;
|
|
84
|
+
export const calciteCornerRadiusPill : string;
|
|
85
|
+
/** Primary font with fallbacks */
|
|
86
|
+
export const calciteFontFamily : string[];
|
|
87
|
+
/** Font family for code with fallbacks */
|
|
88
|
+
export const calciteFontFamilyCode : string[];
|
|
87
89
|
/** For Avenir Next World (secondary font family) */
|
|
88
90
|
export const calciteFontWeightLight : string;
|
|
89
91
|
/** For backwards compatibility only. This token will be removed from the published tokens in the next major in favor of the more descriptive word "regular" */
|
|
@@ -157,7 +159,7 @@ export const calciteSpacingLg : string;
|
|
|
157
159
|
export const calciteSpacingXl : string;
|
|
158
160
|
export const calciteSpacingXxl : string;
|
|
159
161
|
export const calciteSpacingXxxl : string;
|
|
160
|
-
export const calciteTypography : { fontFamily: string, fontSize: string, fontWeight: string, letterSpacing: string, lineHeight: string, paragraphSpacing: string, textCase: string, textDecoration: string };
|
|
162
|
+
export const calciteTypography : { fontFamily: string[], fontSize: string, fontWeight: string, letterSpacing: string, lineHeight: string, paragraphSpacing: string, textCase: string, textDecoration: string };
|
|
161
163
|
export const calciteTypographyLightMinus3h : { fontSize: string, fontWeight: string, lineHeight: string };
|
|
162
164
|
export const calciteTypographyLightMinus2h : { fontSize: string, fontWeight: string };
|
|
163
165
|
export const calciteTypographyLightMinus1h : { fontWeight: string };
|
|
@@ -165,7 +167,7 @@ export const calciteTypographyLight0h : { fontSize: string, fontWeight: string,
|
|
|
165
167
|
export const calciteTypographyLight1h : { fontSize: string, fontWeight: string, lineHeight: string };
|
|
166
168
|
export const calciteTypographyRegularMinus3h : { lineHeight: string, fontSize: string };
|
|
167
169
|
export const calciteTypographyRegularMinus2h : { fontSize: string };
|
|
168
|
-
export const calciteTypographyRegularMinus1h : { fontFamily: string, fontSize: string, fontWeight: string, letterSpacing: string, lineHeight: string, paragraphSpacing: string, textCase: string, textDecoration: string };
|
|
170
|
+
export const calciteTypographyRegularMinus1h : { fontFamily: string[], fontSize: string, fontWeight: string, letterSpacing: string, lineHeight: string, paragraphSpacing: string, textCase: string, textDecoration: string };
|
|
169
171
|
export const calciteTypographyRegular0h : { lineHeight: string, fontSize: string };
|
|
170
172
|
export const calciteTypographyRegular1h : { lineHeight: string, fontSize: string };
|
|
171
173
|
export const calciteTypographyMediumMinus3h : { fontWeight: string, lineHeight: string, fontSize: string };
|
|
@@ -210,7 +212,7 @@ export const calciteTypographyHierarchyHeading3 : { fontWeight: string, lineHeig
|
|
|
210
212
|
export const calciteTypographyHierarchyHeading4 : { fontWeight: string, lineHeight: string, fontSize: string };
|
|
211
213
|
export const calciteTypographyHierarchyHeading5 : { fontWeight: string, lineHeight: string };
|
|
212
214
|
export const calciteTypographyHierarchyBodySnug : { lineHeight: string };
|
|
213
|
-
export const calciteTypographyHierarchyBody : { fontFamily: string, fontSize: string, fontWeight: string, letterSpacing: string, lineHeight: string, paragraphSpacing: string, textCase: string, textDecoration: string };
|
|
215
|
+
export const calciteTypographyHierarchyBody : { fontFamily: string[], fontSize: string, fontWeight: string, letterSpacing: string, lineHeight: string, paragraphSpacing: string, textCase: string, textDecoration: string };
|
|
214
216
|
export const calciteTypographyHierarchyOverline : { lineHeight: string, textCase: string, fontWeight: string };
|
|
215
217
|
export const calciteTypographyHierarchyCaption : { lineHeight: string, fontSize: string };
|
|
216
218
|
export const calciteZIndexDeep : string;
|
package/dist/es6/global.js
CHANGED
|
@@ -1,41 +1,37 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 19 Dec 2023 05:51:04 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export const calciteBorderWidthNone = "0";
|
|
7
7
|
export const calciteBorderWidthSm = "1px";
|
|
8
8
|
export const calciteBorderWidthMd = "2px";
|
|
9
9
|
export const calciteBorderWidthLg = "4px";
|
|
10
|
-
export const calciteCornerRadius = "0";
|
|
11
|
-
export const calciteCornerRadiusSharp = "0";
|
|
12
|
-
export const calciteCornerRadiusRound = "4px";
|
|
13
|
-
export const calciteCornerRadiusPill = "100%";
|
|
14
10
|
export const calciteColorBackground = {"light":"#f8f8f8","dark":"#353535"};
|
|
15
|
-
export const calciteColorBackgroundNone = "rgba(
|
|
11
|
+
export const calciteColorBackgroundNone = "rgba(255, 255, 255, 0)";
|
|
16
12
|
export const calciteColorForeground1 = {"light":"#ffffff","dark":"#2b2b2b"};
|
|
17
13
|
export const calciteColorForeground2 = {"light":"#f3f3f3","dark":"#202020"};
|
|
18
14
|
export const calciteColorForeground3 = {"light":"#eaeaea","dark":"#151515"};
|
|
19
15
|
export const calciteColorForegroundCurrent = {"light":"#c7eaff","dark":"#214155"};
|
|
20
|
-
export const calciteColorTransparent = {"light":"rgba(0, 0, 0, 0
|
|
21
|
-
export const calciteColorTransparentHover = {"light":"rgba(0, 0, 0,
|
|
22
|
-
export const calciteColorTransparentPress = {"light":"rgba(0, 0, 0,
|
|
23
|
-
export const calciteColorTransparentScrim = {"light":"rgba(255, 255, 255, 85
|
|
24
|
-
export const calciteColorTransparentTint = {"light":"rgba(255, 255, 255,
|
|
16
|
+
export const calciteColorTransparent = {"light":"rgba(0, 0, 0, 0)","dark":"rgba(255, 255, 255, 0)"};
|
|
17
|
+
export const calciteColorTransparentHover = {"light":"rgba(0, 0, 0, 0.04)","dark":"rgba(255, 255, 255, 0.04)"};
|
|
18
|
+
export const calciteColorTransparentPress = {"light":"rgba(0, 0, 0, 0.08)","dark":"rgba(255, 255, 255, 0.08)"};
|
|
19
|
+
export const calciteColorTransparentScrim = {"light":"rgba(255, 255, 255, 0.85)","dark":"rgba(0, 0, 0, 0.85)"};
|
|
20
|
+
export const calciteColorTransparentTint = {"light":"rgba(255, 255, 255, 0.8)","dark":"rgba(43, 43, 43, 0.8)"};
|
|
25
21
|
export const calciteColorBrand = {"light":"#007ac2","dark":"#009af2"};
|
|
26
22
|
export const calciteColorBrandHover = {"light":"#00619b","dark":"#007ac2"};
|
|
27
23
|
export const calciteColorBrandPress = {"light":"#004874","dark":"#00619b"};
|
|
28
|
-
export const calciteColorBrandUnderline = {"light":"rgba(0, 97, 155,
|
|
29
|
-
export const calciteColorStatusInfo = {"light":"#00619b","dark":"#
|
|
24
|
+
export const calciteColorBrandUnderline = {"light":"rgba(0, 97, 155, 0.4)","dark":"rgba(0, 160, 255, 0.4)"};
|
|
25
|
+
export const calciteColorStatusInfo = {"light":"#00619b","dark":"#00a0ff"};
|
|
30
26
|
export const calciteColorStatusInfoHover = {"light":"#004874","dark":"#3db8ff"};
|
|
31
27
|
export const calciteColorStatusInfoPress = {"light":"#00304d","dark":"#009af2"};
|
|
32
|
-
export const calciteColorStatusSuccess = {"light":"#35ac46","dark":"#
|
|
28
|
+
export const calciteColorStatusSuccess = {"light":"#35ac46","dark":"#36da43"};
|
|
33
29
|
export const calciteColorStatusSuccessHover = {"light":"#288835","dark":"#3bed52"};
|
|
34
30
|
export const calciteColorStatusSuccessPress = {"light":"#1a6324","dark":"#00b81b"};
|
|
35
|
-
export const calciteColorStatusWarning = {"light":"#edd317","dark":"#
|
|
31
|
+
export const calciteColorStatusWarning = {"light":"#edd317","dark":"#ffc900"};
|
|
36
32
|
export const calciteColorStatusWarningHover = {"light":"#d9bc00","dark":"#ffee33"};
|
|
37
33
|
export const calciteColorStatusWarningPress = {"light":"#bfa200","dark":"#f5d000"};
|
|
38
|
-
export const calciteColorStatusDanger = {"light":"#d83020","dark":"#
|
|
34
|
+
export const calciteColorStatusDanger = {"light":"#d83020","dark":"#fe583e"};
|
|
39
35
|
export const calciteColorStatusDangerHover = {"light":"#a82b1e","dark":"#ff0015"};
|
|
40
36
|
export const calciteColorStatusDangerPress = {"light":"#7c1d13","dark":"#d90012"};
|
|
41
37
|
export const calciteColorInverse = {"light":"#353535","dark":"#f8f8f8"};
|
|
@@ -45,12 +41,12 @@ export const calciteColorText1 = {"light":"#151515","dark":"#ffffff"};
|
|
|
45
41
|
export const calciteColorText2 = {"light":"#4a4a4a","dark":"#bfbfbf"};
|
|
46
42
|
export const calciteColorText3 = {"light":"#6a6a6a","dark":"#9f9f9f"};
|
|
47
43
|
export const calciteColorTextInverse = {"light":"#ffffff","dark":"#151515"};
|
|
48
|
-
export const calciteColorTextLink = {"light":"#00619b","dark":"#
|
|
44
|
+
export const calciteColorTextLink = {"light":"#00619b","dark":"#00a0ff"};
|
|
49
45
|
export const calciteColorBorder1 = {"light":"#cacaca","dark":"#555555"};
|
|
50
46
|
export const calciteColorBorder2 = {"light":"#d4d4d4","dark":"#4a4a4a"};
|
|
51
47
|
export const calciteColorBorder3 = {"light":"#dfdfdf","dark":"#404040"};
|
|
52
48
|
export const calciteColorBorderInput = {"light":"#949494","dark":"#757575"};
|
|
53
|
-
export const calciteColorBorderGhost = {"light":"rgba(0, 0, 0,
|
|
49
|
+
export const calciteColorBorderGhost = {"light":"rgba(0, 0, 0, 0.3)","dark":"rgba(117, 117, 117, 0.3)"};
|
|
54
50
|
export const calciteColorBorderWhite = {"light":"#ffffff","dark":"#f8f8f8"};
|
|
55
51
|
export const calciteContainerSizeHeightXxs = {"min":"0","max":"154px"}; // Small handheld devices and mini-windows
|
|
56
52
|
export const calciteContainerSizeHeightXs = {"min":"155px","max":"328px"}; // Handheld devices
|
|
@@ -68,8 +64,12 @@ export const calciteContainerSizeMargin = "24px";
|
|
|
68
64
|
export const calciteContainerSizeGutter = "16px";
|
|
69
65
|
export const calciteContainerSizeContentFluid = "100%"; // for fluid grid widths
|
|
70
66
|
export const calciteContainerSizeContentFixed = "1440px"; // only for lg breakpoint fixed grid width
|
|
71
|
-
export const
|
|
72
|
-
export const
|
|
67
|
+
export const calciteCornerRadius = "0";
|
|
68
|
+
export const calciteCornerRadiusSharp = "0";
|
|
69
|
+
export const calciteCornerRadiusRound = "4px";
|
|
70
|
+
export const calciteCornerRadiusPill = "100%";
|
|
71
|
+
export const calciteFontFamily = ["Avenir Next World","Avenir Next LT Pro","Avenir","Helvetica Neue","sans-serif"]; // Primary font with fallbacks
|
|
72
|
+
export const calciteFontFamilyCode = ["Monaco","Consolas","Andale Mono","Lucida Console","monospace"]; // Font family for code with fallbacks
|
|
73
73
|
export const calciteFontWeightLight = "300"; // For Avenir Next World (secondary font family)
|
|
74
74
|
export const calciteFontWeightNormal = "400"; // For backwards compatibility only. This token will be removed from the published tokens in the next major in favor of the more descriptive word "regular"
|
|
75
75
|
export const calciteFontWeightRegular = "400";
|
|
@@ -89,11 +89,11 @@ export const calciteFontLineHeightFixedBase = "16px";
|
|
|
89
89
|
export const calciteFontLineHeightFixedLg = "20px";
|
|
90
90
|
export const calciteFontLineHeightFixedXl = "24px";
|
|
91
91
|
export const calciteFontLineHeightRelative = "auto"; // 1
|
|
92
|
-
export const calciteFontLineHeightRelativeTight = "
|
|
93
|
-
export const calciteFontLineHeightRelativeSnug = "
|
|
94
|
-
export const calciteFontLineHeightRelativeNormal = "
|
|
95
|
-
export const calciteFontLineHeightRelativeRelaxed = "
|
|
96
|
-
export const calciteFontLineHeightRelativeLoose = "
|
|
92
|
+
export const calciteFontLineHeightRelativeTight = "1.25"; // 1.25
|
|
93
|
+
export const calciteFontLineHeightRelativeSnug = "1.375"; // 1.375
|
|
94
|
+
export const calciteFontLineHeightRelativeNormal = "1.5"; // 1.5
|
|
95
|
+
export const calciteFontLineHeightRelativeRelaxed = "1.625"; // 1.625
|
|
96
|
+
export const calciteFontLineHeightRelativeLoose = "2"; // 2
|
|
97
97
|
export const calciteFontLetterSpacingTight = "-0.4";
|
|
98
98
|
export const calciteFontLetterSpacingNormal = "0";
|
|
99
99
|
export const calciteFontLetterSpacingWide = "0.4";
|
|
@@ -104,14 +104,14 @@ export const calciteFontTextCaseNone = "none";
|
|
|
104
104
|
export const calciteFontTextCaseUppercase = "uppercase";
|
|
105
105
|
export const calciteFontTextCaseLowercase = "lowercase";
|
|
106
106
|
export const calciteFontTextCaseCapitalize = "capitalize";
|
|
107
|
-
export const calciteOpacityLight = "
|
|
108
|
-
export const calciteOpacityHalf = "
|
|
109
|
-
export const calciteOpacityDark = "85
|
|
110
|
-
export const calciteOpacityFull = "
|
|
111
|
-
export const calciteOpacityDisabled = "
|
|
112
|
-
export const calciteShadowNone = {"x":"0","y":"0","blur":"0","spread":"0","color":"rgba(#000000, 0
|
|
113
|
-
export const calciteShadowSm = [{"x":"0","y":"2","blur":"8","spread":"0","color":"rgba(#000000,
|
|
114
|
-
export const calciteShadowMd = [{"x":"0","y":"4","blur":"20","spread":"0","color":"rgba(#000000,
|
|
107
|
+
export const calciteOpacityLight = "0.4";
|
|
108
|
+
export const calciteOpacityHalf = "0.5";
|
|
109
|
+
export const calciteOpacityDark = "0.85";
|
|
110
|
+
export const calciteOpacityFull = "1";
|
|
111
|
+
export const calciteOpacityDisabled = "0.5";
|
|
112
|
+
export const calciteShadowNone = {"x":"0","y":"0","blur":"0","spread":"0","color":"rgba(#000000, 0)"};
|
|
113
|
+
export const calciteShadowSm = [{"x":"0","y":"2","blur":"8","spread":"0","color":"rgba(#000000, 0.04)"},{"x":"0","y":"4","blur":"16","spread":"0","color":"rgba(#000000, 0.08)"}];
|
|
114
|
+
export const calciteShadowMd = [{"x":"0","y":"4","blur":"20","spread":"0","color":"rgba(#000000, 0.08)"},{"x":"0","y":"12","blur":"32","spread":"-2","color":"rgba(#000000, 0.1)"}];
|
|
115
115
|
export const calciteSizePx = "1px";
|
|
116
116
|
export const calciteSizeXxxs = "2px";
|
|
117
117
|
export const calciteSizeXxs = "4px";
|
|
@@ -134,7 +134,7 @@ export const calciteSpacingLg = "14px";
|
|
|
134
134
|
export const calciteSpacingXl = "16px";
|
|
135
135
|
export const calciteSpacingXxl = "20px";
|
|
136
136
|
export const calciteSpacingXxxl = "32px";
|
|
137
|
-
export const calciteTypography = {"fontFamily":"Avenir Next LT Pro","fontSize":"14px","fontWeight":"400","letterSpacing":"0","lineHeight":"16px","paragraphSpacing":"4px","textCase":"none","textDecoration":"none"};
|
|
137
|
+
export const calciteTypography = {"fontFamily":["Avenir Next World","Avenir Next LT Pro","Avenir","Helvetica Neue","sans-serif"],"fontSize":"14px","fontWeight":"400","letterSpacing":"0","lineHeight":"16px","paragraphSpacing":"4px","textCase":"none","textDecoration":"none"};
|
|
138
138
|
export const calciteTypographyLightMinus3h = {"fontSize":"10px","fontWeight":"300","lineHeight":"12px"};
|
|
139
139
|
export const calciteTypographyLightMinus2h = {"fontSize":"12px","fontWeight":"300"};
|
|
140
140
|
export const calciteTypographyLightMinus1h = {"fontWeight":"300"};
|
|
@@ -142,7 +142,7 @@ export const calciteTypographyLight0h = {"fontSize":"16px","fontWeight":"300","l
|
|
|
142
142
|
export const calciteTypographyLight1h = {"fontSize":"18px","fontWeight":"300","lineHeight":"24px"};
|
|
143
143
|
export const calciteTypographyRegularMinus3h = {"lineHeight":"12px","fontSize":"10px"};
|
|
144
144
|
export const calciteTypographyRegularMinus2h = {"fontSize":"12px"};
|
|
145
|
-
export const calciteTypographyRegularMinus1h = {"fontFamily":"Avenir Next LT Pro","fontSize":"14px","fontWeight":"400","letterSpacing":"0","lineHeight":"16px","paragraphSpacing":"4px","textCase":"none","textDecoration":"none"};
|
|
145
|
+
export const calciteTypographyRegularMinus1h = {"fontFamily":["Avenir Next World","Avenir Next LT Pro","Avenir","Helvetica Neue","sans-serif"],"fontSize":"14px","fontWeight":"400","letterSpacing":"0","lineHeight":"16px","paragraphSpacing":"4px","textCase":"none","textDecoration":"none"};
|
|
146
146
|
export const calciteTypographyRegular0h = {"lineHeight":"20px","fontSize":"16px"};
|
|
147
147
|
export const calciteTypographyRegular1h = {"lineHeight":"24px","fontSize":"18px"};
|
|
148
148
|
export const calciteTypographyMediumMinus3h = {"fontWeight":"500","lineHeight":"12px","fontSize":"10px"};
|
|
@@ -155,41 +155,41 @@ export const calciteTypographyBoldMinus2h = {"fontWeight":"600","fontSize":"12px
|
|
|
155
155
|
export const calciteTypographyBoldMinus1h = {"fontWeight":"600"};
|
|
156
156
|
export const calciteTypographyBold0h = {"fontWeight":"600","lineHeight":"20px","fontSize":"16px"};
|
|
157
157
|
export const calciteTypographyBold1h = {"fontWeight":"600","lineHeight":"24px","fontSize":"18px"};
|
|
158
|
-
export const calciteTypographyWrapLight0 = {"fontWeight":"300","lineHeight":"
|
|
159
|
-
export const calciteTypographyWrapLight1 = {"fontWeight":"300","lineHeight":"
|
|
160
|
-
export const calciteTypographyWrapLight2 = {"fontWeight":"300","lineHeight":"
|
|
161
|
-
export const calciteTypographyWrapLight3 = {"fontWeight":"300","lineHeight":"
|
|
162
|
-
export const calciteTypographyWrapLightMinus2 = {"fontWeight":"300","lineHeight":"
|
|
163
|
-
export const calciteTypographyWrapLightMinus1 = {"fontWeight":"300","lineHeight":"
|
|
164
|
-
export const calciteTypographyWrapRegular0 = {"lineHeight":"
|
|
165
|
-
export const calciteTypographyWrapRegular1 = {"lineHeight":"
|
|
166
|
-
export const calciteTypographyWrapRegular2 = {"lineHeight":"
|
|
167
|
-
export const calciteTypographyWrapRegular3 = {"lineHeight":"
|
|
168
|
-
export const calciteTypographyWrapRegularMinus2 = {"lineHeight":"
|
|
169
|
-
export const calciteTypographyWrapRegularMinus1 = {"lineHeight":"
|
|
170
|
-
export const calciteTypographyWrapMedium0 = {"fontWeight":"500","lineHeight":"
|
|
171
|
-
export const calciteTypographyWrapMedium1 = {"fontWeight":"500","lineHeight":"
|
|
172
|
-
export const calciteTypographyWrapMedium2 = {"fontWeight":"500","lineHeight":"
|
|
173
|
-
export const calciteTypographyWrapMedium3 = {"fontWeight":"500","lineHeight":"
|
|
174
|
-
export const calciteTypographyWrapMediumMinus2 = {"fontWeight":"500","lineHeight":"
|
|
175
|
-
export const calciteTypographyWrapMediumMinus1 = {"fontWeight":"500","lineHeight":"
|
|
176
|
-
export const calciteTypographyWrapBold0 = {"fontWeight":"600","lineHeight":"
|
|
177
|
-
export const calciteTypographyWrapBold1 = {"fontWeight":"600","lineHeight":"
|
|
178
|
-
export const calciteTypographyWrapBold2 = {"fontWeight":"600","lineHeight":"
|
|
179
|
-
export const calciteTypographyWrapBold3 = {"fontWeight":"600","lineHeight":"
|
|
180
|
-
export const calciteTypographyWrapBoldMinus2 = {"fontWeight":"600","lineHeight":"
|
|
181
|
-
export const calciteTypographyWrapBoldMinus1 = {"fontWeight":"600","lineHeight":"
|
|
182
|
-
export const calciteTypographyHierarchyDisplay1 = {"fontWeight":"600","lineHeight":"
|
|
183
|
-
export const calciteTypographyHierarchyDisplay2 = {"fontWeight":"600","lineHeight":"
|
|
184
|
-
export const calciteTypographyHierarchyHeading1 = {"fontWeight":"500","lineHeight":"
|
|
185
|
-
export const calciteTypographyHierarchyHeading2 = {"fontWeight":"500","lineHeight":"
|
|
186
|
-
export const calciteTypographyHierarchyHeading3 = {"fontWeight":"500","lineHeight":"
|
|
187
|
-
export const calciteTypographyHierarchyHeading4 = {"fontWeight":"500","lineHeight":"
|
|
188
|
-
export const calciteTypographyHierarchyHeading5 = {"fontWeight":"500","lineHeight":"
|
|
189
|
-
export const calciteTypographyHierarchyBodySnug = {"lineHeight":"
|
|
190
|
-
export const calciteTypographyHierarchyBody = {"fontFamily":"Avenir Next LT Pro","fontSize":"14px","fontWeight":"400","letterSpacing":"0","lineHeight":"16px","paragraphSpacing":"4px","textCase":"none","textDecoration":"none"};
|
|
158
|
+
export const calciteTypographyWrapLight0 = {"fontWeight":"300","lineHeight":"1.375","fontSize":"16px"};
|
|
159
|
+
export const calciteTypographyWrapLight1 = {"fontWeight":"300","lineHeight":"1.375","fontSize":"18px"};
|
|
160
|
+
export const calciteTypographyWrapLight2 = {"fontWeight":"300","lineHeight":"1.375","fontSize":"20px"};
|
|
161
|
+
export const calciteTypographyWrapLight3 = {"fontWeight":"300","lineHeight":"1.25","fontSize":"24px"};
|
|
162
|
+
export const calciteTypographyWrapLightMinus2 = {"fontWeight":"300","lineHeight":"1.375","fontSize":"12px"};
|
|
163
|
+
export const calciteTypographyWrapLightMinus1 = {"fontWeight":"300","lineHeight":"1.375"};
|
|
164
|
+
export const calciteTypographyWrapRegular0 = {"lineHeight":"1.375","fontSize":"16px"};
|
|
165
|
+
export const calciteTypographyWrapRegular1 = {"lineHeight":"1.375","fontSize":"18px"};
|
|
166
|
+
export const calciteTypographyWrapRegular2 = {"lineHeight":"1.375","fontSize":"20px"};
|
|
167
|
+
export const calciteTypographyWrapRegular3 = {"lineHeight":"1.375","fontSize":"24px"};
|
|
168
|
+
export const calciteTypographyWrapRegularMinus2 = {"lineHeight":"1.375","fontSize":"12px"};
|
|
169
|
+
export const calciteTypographyWrapRegularMinus1 = {"lineHeight":"1.375"};
|
|
170
|
+
export const calciteTypographyWrapMedium0 = {"fontWeight":"500","lineHeight":"1.375","fontSize":"16px"};
|
|
171
|
+
export const calciteTypographyWrapMedium1 = {"fontWeight":"500","lineHeight":"1.375","fontSize":"18px"};
|
|
172
|
+
export const calciteTypographyWrapMedium2 = {"fontWeight":"500","lineHeight":"1.375","fontSize":"20px"};
|
|
173
|
+
export const calciteTypographyWrapMedium3 = {"fontWeight":"500","lineHeight":"1.375","fontSize":"24px"};
|
|
174
|
+
export const calciteTypographyWrapMediumMinus2 = {"fontWeight":"500","lineHeight":"1.375","fontSize":"12px"};
|
|
175
|
+
export const calciteTypographyWrapMediumMinus1 = {"fontWeight":"500","lineHeight":"1.375"};
|
|
176
|
+
export const calciteTypographyWrapBold0 = {"fontWeight":"600","lineHeight":"1.375","fontSize":"16px"};
|
|
177
|
+
export const calciteTypographyWrapBold1 = {"fontWeight":"600","lineHeight":"1.375","fontSize":"18px"};
|
|
178
|
+
export const calciteTypographyWrapBold2 = {"fontWeight":"600","lineHeight":"1.375","fontSize":"20px"};
|
|
179
|
+
export const calciteTypographyWrapBold3 = {"fontWeight":"600","lineHeight":"1.375","fontSize":"24px"};
|
|
180
|
+
export const calciteTypographyWrapBoldMinus2 = {"fontWeight":"600","lineHeight":"1.375","fontSize":"12px"};
|
|
181
|
+
export const calciteTypographyWrapBoldMinus1 = {"fontWeight":"600","lineHeight":"1.375"};
|
|
182
|
+
export const calciteTypographyHierarchyDisplay1 = {"fontWeight":"600","lineHeight":"1.375","fontSize":"24px"};
|
|
183
|
+
export const calciteTypographyHierarchyDisplay2 = {"fontWeight":"600","lineHeight":"1.375","fontSize":"20px"};
|
|
184
|
+
export const calciteTypographyHierarchyHeading1 = {"fontWeight":"500","lineHeight":"1.375","fontSize":"24px"};
|
|
185
|
+
export const calciteTypographyHierarchyHeading2 = {"fontWeight":"500","lineHeight":"1.375","fontSize":"20px"};
|
|
186
|
+
export const calciteTypographyHierarchyHeading3 = {"fontWeight":"500","lineHeight":"1.375","fontSize":"18px"};
|
|
187
|
+
export const calciteTypographyHierarchyHeading4 = {"fontWeight":"500","lineHeight":"1.375","fontSize":"16px"};
|
|
188
|
+
export const calciteTypographyHierarchyHeading5 = {"fontWeight":"500","lineHeight":"1.375"};
|
|
189
|
+
export const calciteTypographyHierarchyBodySnug = {"lineHeight":"1.375"};
|
|
190
|
+
export const calciteTypographyHierarchyBody = {"fontFamily":["Avenir Next World","Avenir Next LT Pro","Avenir","Helvetica Neue","sans-serif"],"fontSize":"14px","fontWeight":"400","letterSpacing":"0","lineHeight":"16px","paragraphSpacing":"4px","textCase":"none","textDecoration":"none"};
|
|
191
191
|
export const calciteTypographyHierarchyOverline = {"lineHeight":"12px","textCase":"uppercase","fontWeight":"700"};
|
|
192
|
-
export const calciteTypographyHierarchyCaption = {"lineHeight":"
|
|
192
|
+
export const calciteTypographyHierarchyCaption = {"lineHeight":"1.375","fontSize":"12px"};
|
|
193
193
|
export const calciteZIndexDeep = "-999999";
|
|
194
194
|
export const calciteZIndex = "1";
|
|
195
195
|
export const calciteZIndexSticky = "300";
|
package/dist/js/core.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 19 Dec 2023 05:51:01 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export default tokens;
|
|
@@ -305,9 +305,16 @@ declare const tokens: {
|
|
|
305
305
|
},
|
|
306
306
|
"font": {
|
|
307
307
|
"family": {
|
|
308
|
+
"andaleMono": DesignToken,
|
|
308
309
|
"avenirNextPro": DesignToken,
|
|
309
310
|
"avenirNextWorld": DesignToken,
|
|
310
|
-
"
|
|
311
|
+
"avenir": DesignToken,
|
|
312
|
+
"consolas": DesignToken,
|
|
313
|
+
"helveticaNeue": DesignToken,
|
|
314
|
+
"lucidaConsole": DesignToken,
|
|
315
|
+
"monaco": DesignToken,
|
|
316
|
+
"monospace": DesignToken,
|
|
317
|
+
"sansSerif": DesignToken
|
|
311
318
|
},
|
|
312
319
|
"style": {
|
|
313
320
|
"italic": DesignToken
|