@esri/calcite-design-tokens 4.0.0-next.2 → 4.0.0-next.20
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/LICENSE.md +1 -1
- package/README.md +1 -1
- package/dist/css/breakpoints.css +8 -4
- package/dist/css/core.css +17 -2
- package/dist/css/dark.css +31 -27
- package/dist/css/global.css +64 -20
- package/dist/css/index.css +175 -150
- package/dist/css/light.css +36 -32
- package/dist/css/semantic.css +64 -20
- package/dist/docs/core.json +402 -3
- package/dist/docs/dark.json +647 -556
- package/dist/docs/global.json +3937 -2619
- package/dist/docs/light.json +667 -576
- package/dist/docs/semantic.json +2760 -1541
- package/dist/es6/breakpoints.d.ts +6 -2
- package/dist/es6/breakpoints.js +4 -2
- package/dist/es6/core.d.ts +15 -0
- package/dist/es6/core.js +17 -2
- package/dist/es6/dark.d.ts +31 -23
- package/dist/es6/dark.js +31 -27
- package/dist/es6/global.d.ts +106 -32
- package/dist/es6/global.js +129 -79
- package/dist/es6/light.d.ts +31 -23
- package/dist/es6/light.js +36 -32
- package/dist/es6/semantic.d.ts +63 -1
- package/dist/es6/semantic.js +64 -20
- package/dist/scss/breakpoints.scss +8 -4
- package/dist/scss/core.scss +17 -2
- package/dist/scss/dark.scss +31 -27
- package/dist/scss/global.scss +64 -20
- package/dist/scss/index.scss +69 -59
- package/dist/scss/light.scss +36 -32
- package/dist/scss/semantic.scss +64 -20
- package/package.json +8 -7
- package/dist/css/component.css +0 -11
package/dist/es6/global.js
CHANGED
|
@@ -4,47 +4,38 @@
|
|
|
4
4
|
* Do not edit directly, this file was auto-generated.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
export const
|
|
7
|
+
export const calciteColorSurface1 = { light: "#f7f7f7", dark: "#212121" };
|
|
8
|
+
export const calciteColorSurface2 = { light: "#ffffff", dark: "#2b2b2b" };
|
|
9
|
+
export const calciteColorSurface3 = { light: "#f2f2f2", dark: "#363636" };
|
|
10
|
+
export const calciteColorSurface4 = { light: "#ebebeb", dark: "#404040" };
|
|
11
|
+
export const calciteColorSurfaceHighlight = {
|
|
12
|
+
light: "#d6efff",
|
|
13
|
+
dark: "#2b465f",
|
|
14
|
+
};
|
|
15
|
+
export const calciteColorBackground = { light: "#f7f7f7", dark: "#212121" }; // Deprecated, use `--calcite-color-surface-1` instead
|
|
8
16
|
export const calciteColorBackgroundNone = "rgba(255, 255, 255, 0)";
|
|
9
|
-
export const calciteColorForeground1 = { light: "#ffffff", dark: "#2b2b2b" };
|
|
10
|
-
export const calciteColorForeground2 = { light: "#f2f2f2", dark: "#
|
|
11
|
-
export const calciteColorForeground3 = { light: "#ebebeb", dark: "#
|
|
17
|
+
export const calciteColorForeground1 = { light: "#ffffff", dark: "#2b2b2b" }; // Deprecated, use `--calcite-color-surface-2` instead
|
|
18
|
+
export const calciteColorForeground2 = { light: "#f2f2f2", dark: "#363636" }; // Deprecated, use `--calcite-color-surface-3` instead
|
|
19
|
+
export const calciteColorForeground3 = { light: "#ebebeb", dark: "#404040" }; // Deprecated, use `--calcite-color-surface-4` instead
|
|
12
20
|
export const calciteColorForegroundCurrent = {
|
|
13
21
|
light: "#d6efff",
|
|
14
22
|
dark: "#2b465f",
|
|
15
23
|
}; // deprecated, use --calcite-color-surface-highlight instead
|
|
16
|
-
export const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
};
|
|
20
|
-
export const
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
};
|
|
24
|
-
export const
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
light: "rgba(0, 0, 0, 0.08)",
|
|
30
|
-
dark: "rgba(255, 255, 255, 0.16)",
|
|
31
|
-
};
|
|
32
|
-
export const calciteColorTransparentInverseHover = {
|
|
33
|
-
light: "rgba(255, 255, 255, 0.12)",
|
|
34
|
-
dark: "rgba(0, 0, 0, 0.04)",
|
|
35
|
-
};
|
|
36
|
-
export const calciteColorTransparentInversePress = {
|
|
37
|
-
light: "rgba(255, 255, 255, 0.16)",
|
|
38
|
-
dark: "rgba(0, 0, 0, 0.08)",
|
|
39
|
-
};
|
|
40
|
-
export const calciteColorTransparentScrim = {
|
|
41
|
-
light: "rgba(255, 255, 255, 0.85)",
|
|
42
|
-
dark: "rgba(0, 0, 0, 0.85)",
|
|
43
|
-
};
|
|
44
|
-
export const calciteColorTransparentTint = {
|
|
45
|
-
light: "rgba(255, 255, 255, 0.8)",
|
|
46
|
-
dark: "rgba(43, 43, 43, 0.8)",
|
|
24
|
+
export const calciteColorText1 = { light: "#141414", dark: "#ffffff" };
|
|
25
|
+
export const calciteColorText2 = { light: "#4a4a4a", dark: "#bfbfbf" };
|
|
26
|
+
export const calciteColorText3 = { light: "#6b6b6b", dark: "#9e9e9e" };
|
|
27
|
+
export const calciteColorTextInverse = { light: "#ffffff", dark: "#141414" };
|
|
28
|
+
export const calciteColorTextLink = { light: "#00619b", dark: "#00a0ff" };
|
|
29
|
+
export const calciteColorTextHighlight = { light: "#004874", dark: "#d6efff" };
|
|
30
|
+
export const calciteColorBorder1 = { light: "#d4d4d4", dark: "#545454" };
|
|
31
|
+
export const calciteColorBorder2 = { light: "#dedede", dark: "#4a4a4a" };
|
|
32
|
+
export const calciteColorBorder3 = { light: "#ebebeb", dark: "#404040" };
|
|
33
|
+
export const calciteColorBorderInput = { light: "#949494", dark: "#757575" };
|
|
34
|
+
export const calciteColorBorderGhost = {
|
|
35
|
+
light: "rgba(0, 0, 0, 0.3)",
|
|
36
|
+
dark: "rgba(117, 117, 117, 0.3)",
|
|
47
37
|
};
|
|
38
|
+
export const calciteColorBorderWhite = { light: "#ffffff", dark: "#f7f7f7" };
|
|
48
39
|
export const calciteColorBrand = { light: "#007ac2", dark: "#009af2" };
|
|
49
40
|
export const calciteColorBrandHover = { light: "#00619b", dark: "#007ac2" };
|
|
50
41
|
export const calciteColorBrandPress = { light: "#004874", dark: "#00619b" };
|
|
@@ -52,6 +43,9 @@ export const calciteColorBrandUnderline = {
|
|
|
52
43
|
light: "rgba(0, 97, 155, 0.4)",
|
|
53
44
|
dark: "rgba(0, 160, 255, 0.4)",
|
|
54
45
|
};
|
|
46
|
+
export const calciteColorInverse = { light: "#363636", dark: "#f7f7f7" };
|
|
47
|
+
export const calciteColorInverseHover = { light: "#2b2b2b", dark: "#f2f2f2" };
|
|
48
|
+
export const calciteColorInversePress = { light: "#212121", dark: "#ebebeb" };
|
|
55
49
|
export const calciteColorStatusInfo = { light: "#00619b", dark: "#00a0ff" };
|
|
56
50
|
export const calciteColorStatusInfoHover = {
|
|
57
51
|
light: "#004874",
|
|
@@ -61,18 +55,18 @@ export const calciteColorStatusInfoPress = {
|
|
|
61
55
|
light: "#00304d",
|
|
62
56
|
dark: "#009af2",
|
|
63
57
|
};
|
|
64
|
-
export const calciteColorStatusSuccess = { light: "#
|
|
58
|
+
export const calciteColorStatusSuccess = { light: "#288835", dark: "#36da43" };
|
|
65
59
|
export const calciteColorStatusSuccessHover = {
|
|
66
|
-
light: "#
|
|
60
|
+
light: "#1a6324",
|
|
67
61
|
dark: "#3bed52",
|
|
68
62
|
};
|
|
69
63
|
export const calciteColorStatusSuccessPress = {
|
|
70
|
-
light: "#
|
|
64
|
+
light: "#0d3f14",
|
|
71
65
|
dark: "#00b81b",
|
|
72
66
|
};
|
|
73
|
-
export const calciteColorStatusWarning = { light: "#
|
|
67
|
+
export const calciteColorStatusWarning = { light: "#da7c0b", dark: "#f89927" };
|
|
74
68
|
export const calciteColorStatusWarningHover = {
|
|
75
|
-
light: "#
|
|
69
|
+
light: "#c26b00",
|
|
76
70
|
dark: "#ffb54d",
|
|
77
71
|
};
|
|
78
72
|
export const calciteColorStatusWarningPress = {
|
|
@@ -88,36 +82,48 @@ export const calciteColorStatusDangerPress = {
|
|
|
88
82
|
light: "#7c1d13",
|
|
89
83
|
dark: "#d90012",
|
|
90
84
|
};
|
|
91
|
-
export const
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
export const
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
export const
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
export const
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
85
|
+
export const calciteColorTransparent = {
|
|
86
|
+
light: "rgba(0, 0, 0, 0)",
|
|
87
|
+
dark: "rgba(255, 255, 255, 0)",
|
|
88
|
+
};
|
|
89
|
+
export const calciteColorTransparentHover = {
|
|
90
|
+
light: "rgba(0, 0, 0, 0.04)",
|
|
91
|
+
dark: "rgba(255, 255, 255, 0.12)",
|
|
92
|
+
};
|
|
93
|
+
export const calciteColorTransparentPress = {
|
|
94
|
+
light: "rgba(0, 0, 0, 0.08)",
|
|
95
|
+
dark: "rgba(255, 255, 255, 0.16)",
|
|
96
|
+
};
|
|
97
|
+
export const calciteColorTransparentScrim = {
|
|
98
|
+
light: "rgba(255, 255, 255, 0.85)",
|
|
99
|
+
dark: "rgba(0, 0, 0, 0.85)",
|
|
100
|
+
};
|
|
101
|
+
export const calciteColorTransparentTint = {
|
|
102
|
+
light: "rgba(255, 255, 255, 0.8)",
|
|
103
|
+
dark: "rgba(43, 43, 43, 0.8)",
|
|
104
|
+
};
|
|
105
|
+
export const calciteColorTransparentInverseHover = {
|
|
106
|
+
light: "rgba(255, 255, 255, 0.12)",
|
|
107
|
+
dark: "rgba(0, 0, 0, 0.04)",
|
|
108
|
+
};
|
|
109
|
+
export const calciteColorTransparentInversePress = {
|
|
110
|
+
light: "rgba(255, 255, 255, 0.16)",
|
|
111
|
+
dark: "rgba(0, 0, 0, 0.08)",
|
|
107
112
|
};
|
|
108
|
-
export const calciteColorBorderWhite = { light: "#ffffff", dark: "#f7f7f7" };
|
|
109
113
|
export const calciteColorFocus = { light: "#007ac2", dark: "#009af2" };
|
|
110
114
|
export const calciteBorderWidthNone = "0";
|
|
111
115
|
export const calciteBorderWidthSm = "1px";
|
|
112
116
|
export const calciteBorderWidthMd = "2px";
|
|
113
117
|
export const calciteBorderWidthLg = "4px";
|
|
114
|
-
export const calciteContainerSizeHeightXxs = { min: "0", max: "154px" }; // Small handheld devices and mini-windows
|
|
118
|
+
export const calciteContainerSizeHeightXxs = { min: "0", max: "154px" }; // Deprecated, use --calcite-container-size-height-2xs-min|max instead. Small handheld devices and mini-windows
|
|
119
|
+
export const calciteContainerSizeHeight2xs = { min: "0", max: "154px" }; // Small handheld devices and mini-windows
|
|
115
120
|
export const calciteContainerSizeHeightXs = { min: "155px", max: "328px" }; // Handheld devices
|
|
116
121
|
export const calciteContainerSizeHeightSm = { min: "329px", max: "504px" }; // Small tablets
|
|
117
122
|
export const calciteContainerSizeHeightMd = { min: "505px", max: "678px" }; // Small laptops
|
|
118
123
|
export const calciteContainerSizeHeightLg = { min: "679px", max: "854px" }; // Large laptops and desktop computers
|
|
119
124
|
export const calciteContainerSizeHeightXl = { min: "855px" }; // Projectors and televisions
|
|
120
|
-
export const calciteContainerSizeWidthXxs = { min: "0", max: "320px" }; // Small handheld devices and mini-windows
|
|
125
|
+
export const calciteContainerSizeWidthXxs = { min: "0", max: "320px" }; // Deprecated, use --calcite-container-size-width-2xs-min|max instead. Small handheld devices and mini-windows
|
|
126
|
+
export const calciteContainerSizeWidth2xs = { min: "0", max: "320px" }; // Small handheld devices and mini-windows
|
|
121
127
|
export const calciteContainerSizeWidthXs = { min: "321px", max: "476px" }; // Handheld devices
|
|
122
128
|
export const calciteContainerSizeWidthSm = { min: "477px", max: "768px" }; // Small tablets
|
|
123
129
|
export const calciteContainerSizeWidthMd = { min: "769px", max: "1152px" }; // Small laptops
|
|
@@ -133,7 +139,7 @@ export const calciteCornerRadiusNone = "0";
|
|
|
133
139
|
export const calciteCornerRadiusXs = "2px";
|
|
134
140
|
export const calciteCornerRadiusSm = "4px";
|
|
135
141
|
export const calciteCornerRadiusRound = "4px"; // deprecated, use --calcite-corner-radius-sm instead
|
|
136
|
-
export const calciteCornerRadiusPill = "
|
|
142
|
+
export const calciteCornerRadiusPill = "9999px";
|
|
137
143
|
export const calciteFontFamily = [
|
|
138
144
|
"Avenir Next",
|
|
139
145
|
"Avenir",
|
|
@@ -159,7 +165,20 @@ export const calciteFontSize = "14px";
|
|
|
159
165
|
export const calciteFontSizeMd = "16px";
|
|
160
166
|
export const calciteFontSizeLg = "18px";
|
|
161
167
|
export const calciteFontSizeXl = "20px";
|
|
162
|
-
export const calciteFontSizeXxl = "24px";
|
|
168
|
+
export const calciteFontSizeXxl = "24px"; // Deprecated, use --calcite-font-size-2xl instead.
|
|
169
|
+
export const calciteFontSize2xl = "24px";
|
|
170
|
+
export const calciteFontSizeRelativeXs = "0.625rem";
|
|
171
|
+
export const calciteFontSizeRelativeSm = "0.75rem";
|
|
172
|
+
export const calciteFontSizeRelativeBase = "0.875rem";
|
|
173
|
+
export const calciteFontSizeRelativeMd = "1rem";
|
|
174
|
+
export const calciteFontSizeRelativeLg = "1.125rem";
|
|
175
|
+
export const calciteFontSizeRelativeXl = "1.25rem";
|
|
176
|
+
export const calciteFontSizeRelative2xl = "1.625rem";
|
|
177
|
+
export const calciteFontSizeRelative3xl = "2rem";
|
|
178
|
+
export const calciteFontSizeRelative4xl = "2.5rem";
|
|
179
|
+
export const calciteFontSizeRelative5xl = "3rem";
|
|
180
|
+
export const calciteFontSizeRelative6xl = "3.5rem";
|
|
181
|
+
export const calciteFontSizeRelative7xl = "4rem";
|
|
163
182
|
export const calciteFontStyleEmphasis = "italic"; // used in ratings
|
|
164
183
|
export const calciteFontLineHeightFixedSm = "12px";
|
|
165
184
|
export const calciteFontLineHeightFixedBase = "16px";
|
|
@@ -177,6 +196,18 @@ export const calciteFontLineHeightRelativeSnug = "1.375"; // 1.375
|
|
|
177
196
|
export const calciteFontLineHeightRelativeNormal = "1.5"; // 1.5
|
|
178
197
|
export const calciteFontLineHeightRelativeRelaxed = "1.625"; // 1.625
|
|
179
198
|
export const calciteFontLineHeightRelativeLoose = "2"; // 2
|
|
199
|
+
export const calciteFontLineHeightXs = "0.75rem";
|
|
200
|
+
export const calciteFontLineHeightSm = "1rem";
|
|
201
|
+
export const calciteFontLineHeightBase = "1rem";
|
|
202
|
+
export const calciteFontLineHeightMd = "1.25rem";
|
|
203
|
+
export const calciteFontLineHeightLg = "1.5rem";
|
|
204
|
+
export const calciteFontLineHeightXl = "1.5rem";
|
|
205
|
+
export const calciteFontLineHeight2xl = "2rem";
|
|
206
|
+
export const calciteFontLineHeight3xl = "2.5rem";
|
|
207
|
+
export const calciteFontLineHeight4xl = "3rem";
|
|
208
|
+
export const calciteFontLineHeight5xl = "4rem";
|
|
209
|
+
export const calciteFontLineHeight6xl = "4rem";
|
|
210
|
+
export const calciteFontLineHeight7xl = "5rem";
|
|
180
211
|
export const calciteFontLetterSpacingTight = "-0.4px"; // Deprecated
|
|
181
212
|
export const calciteFontLetterSpacingNormal = "0"; // Deprecated
|
|
182
213
|
export const calciteFontLetterSpacingWide = "0.4px"; // Deprecated
|
|
@@ -187,11 +218,11 @@ export const calciteFontTextCaseNone = "none"; // Deprecated
|
|
|
187
218
|
export const calciteFontTextCaseUppercase = "uppercase"; // Deprecated
|
|
188
219
|
export const calciteFontTextCaseLowercase = "lowercase"; // Deprecated
|
|
189
220
|
export const calciteFontTextCaseCapitalize = "capitalize"; // Deprecated
|
|
221
|
+
export const calciteOpacityDisabled = "0.5";
|
|
190
222
|
export const calciteOpacityLight = "0.4";
|
|
191
223
|
export const calciteOpacityHalf = "0.5";
|
|
192
224
|
export const calciteOpacityDark = "0.85";
|
|
193
225
|
export const calciteOpacityFull = "1";
|
|
194
|
-
export const calciteOpacityDisabled = "0.5";
|
|
195
226
|
export const calciteShadowNone = {
|
|
196
227
|
blur: "0",
|
|
197
228
|
spread: "0",
|
|
@@ -225,15 +256,20 @@ export const calciteSizeFixedXl = "20px"; // deprecated
|
|
|
225
256
|
export const calciteSizeFixedXxl = "24px"; // deprecated
|
|
226
257
|
export const calciteSizeFixedXxxl = "32px"; // deprecated
|
|
227
258
|
export const calciteSizePx = "1px";
|
|
228
|
-
export const
|
|
229
|
-
export const
|
|
259
|
+
export const calciteSize4xs = "0.625rem";
|
|
260
|
+
export const calciteSizeXxxs = "0.75rem"; // Deprecated, use --calcite-size-3xs instead.
|
|
261
|
+
export const calciteSize3xs = "0.75rem";
|
|
262
|
+
export const calciteSizeXxs = "0.875rem"; // Deprecated, use --calcite-size-2xs instead.
|
|
263
|
+
export const calciteSize2xs = "0.875rem";
|
|
230
264
|
export const calciteSizeXs = "1rem";
|
|
231
265
|
export const calciteSizeSm = "1.5rem";
|
|
232
266
|
export const calciteSizeMd = "2rem";
|
|
233
267
|
export const calciteSizeLg = "2.75rem";
|
|
234
268
|
export const calciteSizeXl = "3rem";
|
|
235
|
-
export const calciteSizeXxl = "4rem";
|
|
236
|
-
export const
|
|
269
|
+
export const calciteSizeXxl = "4rem"; // Deprecated, use --calcite-size-2xl instead.
|
|
270
|
+
export const calciteSize2xl = "4rem";
|
|
271
|
+
export const calciteSizeXxxl = "6rem"; // Deprecated, use --calcite-size-3xl instead.
|
|
272
|
+
export const calciteSize3xl = "6rem";
|
|
237
273
|
export const calciteSpacingFixedXxs = "4px"; // deprecated
|
|
238
274
|
export const calciteSpacingFixedXs = "6px"; // deprecated
|
|
239
275
|
export const calciteSpacingFixedSm = "8px"; // deprecated
|
|
@@ -242,19 +278,33 @@ export const calciteSpacingFixedLg = "14px"; // deprecated
|
|
|
242
278
|
export const calciteSpacingFixedXl = "16px"; // deprecated
|
|
243
279
|
export const calciteSpacingFixedXxl = "20px"; // deprecated
|
|
244
280
|
export const calciteSpacingFixedXxxl = "32px"; // deprecated
|
|
245
|
-
export const calciteSpacingNone = "0";
|
|
246
|
-
export const calciteSpacingPx = "1px";
|
|
247
|
-
export const calciteSpacingBase = "2px";
|
|
248
|
-
export const calciteSpacingXxs = "0.25rem";
|
|
249
|
-
export const calciteSpacingXs = "0.375rem";
|
|
250
|
-
export const calciteSpacingSm = "0.5rem";
|
|
251
|
-
export const calciteSpacingSmPlus = "0.625rem";
|
|
252
|
-
export const calciteSpacingMd = "0.75rem";
|
|
253
|
-
export const calciteSpacingMdPlus = "0.875rem";
|
|
254
|
-
export const calciteSpacingLg = "1rem";
|
|
255
|
-
export const calciteSpacingXl = "1.25rem";
|
|
256
|
-
export const calciteSpacingXxl = "1.5rem";
|
|
257
|
-
export const calciteSpacingXxxl = "2rem";
|
|
281
|
+
export const calciteSpacingNone = "0"; // deprecated, use `--calcite-space-none` instead
|
|
282
|
+
export const calciteSpacingPx = "1px"; // deprecated, use `--calcite-space-px` instead
|
|
283
|
+
export const calciteSpacingBase = "2px"; // deprecated, use `--calcite-space-base` instead
|
|
284
|
+
export const calciteSpacingXxs = "0.25rem"; // deprecated, use `--calcite-space-2xs` instead
|
|
285
|
+
export const calciteSpacingXs = "0.375rem"; // deprecated, use `--calcite-space-xs` instead
|
|
286
|
+
export const calciteSpacingSm = "0.5rem"; // deprecated, use `--calcite-space-sm` instead
|
|
287
|
+
export const calciteSpacingSmPlus = "0.625rem"; // deprecated, use `--calcite-space-sm-plus` instead
|
|
288
|
+
export const calciteSpacingMd = "0.75rem"; // deprecated, use `--calcite-space-md` instead
|
|
289
|
+
export const calciteSpacingMdPlus = "0.875rem"; // deprecated, use `--calcite-space-md-plus` instead
|
|
290
|
+
export const calciteSpacingLg = "1rem"; // deprecated, use `--calcite-space-lg` instead
|
|
291
|
+
export const calciteSpacingXl = "1.25rem"; // deprecated, use `--calcite-space-xl` instead
|
|
292
|
+
export const calciteSpacingXxl = "1.5rem"; // deprecated, use `--calcite-space-2xl` instead
|
|
293
|
+
export const calciteSpacingXxxl = "2rem"; // deprecated, use `--calcite-space-3xl` instead
|
|
294
|
+
export const calciteSpaceNone = "0";
|
|
295
|
+
export const calciteSpacePx = "1px";
|
|
296
|
+
export const calciteSpaceBase = "2px";
|
|
297
|
+
export const calciteSpace2xs = "0.25rem";
|
|
298
|
+
export const calciteSpaceXs = "0.375rem";
|
|
299
|
+
export const calciteSpaceSm = "0.5rem";
|
|
300
|
+
export const calciteSpaceSmPlus = "0.625rem";
|
|
301
|
+
export const calciteSpaceMd = "0.75rem";
|
|
302
|
+
export const calciteSpaceMdPlus = "0.875rem";
|
|
303
|
+
export const calciteSpaceLg = "1rem";
|
|
304
|
+
export const calciteSpaceXl = "1.25rem";
|
|
305
|
+
export const calciteSpace2xl = "1.5rem";
|
|
306
|
+
export const calciteSpace3xl = "2rem";
|
|
307
|
+
export const calciteSpace4xl = "2.75rem";
|
|
258
308
|
export const calciteTypography = {
|
|
259
309
|
fontFamily: ["Avenir Next", "Avenir", "Helvetica Neue", "sans-serif"],
|
|
260
310
|
fontSize: "14px",
|
package/dist/es6/light.d.ts
CHANGED
|
@@ -3,25 +3,41 @@
|
|
|
3
3
|
* Do not edit directly, this file was auto-generated.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
export const calciteColorSurface1: string;
|
|
7
|
+
export const calciteColorSurface2: string;
|
|
8
|
+
export const calciteColorSurface3: string;
|
|
9
|
+
export const calciteColorSurface4: string;
|
|
10
|
+
export const calciteColorSurfaceHighlight: string;
|
|
11
|
+
/** Deprecated, use `--calcite-color-surface-1` instead */
|
|
6
12
|
export const calciteColorBackground: string;
|
|
7
13
|
export const calciteColorBackgroundNone: string;
|
|
14
|
+
/** Deprecated, use `--calcite-color-surface-2` instead */
|
|
8
15
|
export const calciteColorForeground1: string;
|
|
16
|
+
/** Deprecated, use `--calcite-color-surface-3` instead */
|
|
9
17
|
export const calciteColorForeground2: string;
|
|
18
|
+
/** Deprecated, use `--calcite-color-surface-4` instead */
|
|
10
19
|
export const calciteColorForeground3: string;
|
|
11
20
|
/** deprecated, use --calcite-color-surface-highlight instead */
|
|
12
21
|
export const calciteColorForegroundCurrent: string;
|
|
13
|
-
export const
|
|
14
|
-
export const
|
|
15
|
-
export const
|
|
16
|
-
export const
|
|
17
|
-
export const
|
|
18
|
-
export const
|
|
19
|
-
export const
|
|
20
|
-
export const
|
|
22
|
+
export const calciteColorText1: string;
|
|
23
|
+
export const calciteColorText2: string;
|
|
24
|
+
export const calciteColorText3: string;
|
|
25
|
+
export const calciteColorTextInverse: string;
|
|
26
|
+
export const calciteColorTextLink: string;
|
|
27
|
+
export const calciteColorTextHighlight: string;
|
|
28
|
+
export const calciteColorBorder1: string;
|
|
29
|
+
export const calciteColorBorder2: string;
|
|
30
|
+
export const calciteColorBorder3: string;
|
|
31
|
+
export const calciteColorBorderInput: string;
|
|
32
|
+
export const calciteColorBorderGhost: string;
|
|
33
|
+
export const calciteColorBorderWhite: string;
|
|
21
34
|
export const calciteColorBrand: string;
|
|
22
35
|
export const calciteColorBrandHover: string;
|
|
23
36
|
export const calciteColorBrandPress: string;
|
|
24
37
|
export const calciteColorBrandUnderline: string;
|
|
38
|
+
export const calciteColorInverse: string;
|
|
39
|
+
export const calciteColorInverseHover: string;
|
|
40
|
+
export const calciteColorInversePress: string;
|
|
25
41
|
export const calciteColorStatusInfo: string;
|
|
26
42
|
export const calciteColorStatusInfoHover: string;
|
|
27
43
|
export const calciteColorStatusInfoPress: string;
|
|
@@ -34,19 +50,11 @@ export const calciteColorStatusWarningPress: string;
|
|
|
34
50
|
export const calciteColorStatusDanger: string;
|
|
35
51
|
export const calciteColorStatusDangerHover: string;
|
|
36
52
|
export const calciteColorStatusDangerPress: string;
|
|
37
|
-
export const
|
|
38
|
-
export const
|
|
39
|
-
export const
|
|
40
|
-
export const
|
|
41
|
-
export const
|
|
42
|
-
export const
|
|
43
|
-
export const
|
|
44
|
-
export const calciteColorTextInverse: string;
|
|
45
|
-
export const calciteColorTextLink: string;
|
|
46
|
-
export const calciteColorBorder1: string;
|
|
47
|
-
export const calciteColorBorder2: string;
|
|
48
|
-
export const calciteColorBorder3: string;
|
|
49
|
-
export const calciteColorBorderInput: string;
|
|
50
|
-
export const calciteColorBorderGhost: string;
|
|
51
|
-
export const calciteColorBorderWhite: string;
|
|
53
|
+
export const calciteColorTransparent: string;
|
|
54
|
+
export const calciteColorTransparentHover: string;
|
|
55
|
+
export const calciteColorTransparentPress: string;
|
|
56
|
+
export const calciteColorTransparentScrim: string;
|
|
57
|
+
export const calciteColorTransparentTint: string;
|
|
58
|
+
export const calciteColorTransparentInverseHover: string;
|
|
59
|
+
export const calciteColorTransparentInversePress: string;
|
|
52
60
|
export const calciteColorFocus: string;
|
package/dist/es6/light.js
CHANGED
|
@@ -3,49 +3,53 @@
|
|
|
3
3
|
* Do not edit directly, this file was auto-generated.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
export const
|
|
6
|
+
export const calciteColorSurface1 = "#f7f7f7";
|
|
7
|
+
export const calciteColorSurface2 = "#ffffff";
|
|
8
|
+
export const calciteColorSurface3 = "#f2f2f2";
|
|
9
|
+
export const calciteColorSurface4 = "#ebebeb";
|
|
10
|
+
export const calciteColorSurfaceHighlight = "#d6efff";
|
|
11
|
+
export const calciteColorBackground = "#f7f7f7"; // Deprecated, use `--calcite-color-surface-1` instead
|
|
7
12
|
export const calciteColorBackgroundNone = "rgba(255, 255, 255, 0)";
|
|
8
|
-
export const calciteColorForeground1 = "#ffffff";
|
|
9
|
-
export const calciteColorForeground2 = "#f2f2f2";
|
|
10
|
-
export const calciteColorForeground3 = "#ebebeb";
|
|
13
|
+
export const calciteColorForeground1 = "#ffffff"; // Deprecated, use `--calcite-color-surface-2` instead
|
|
14
|
+
export const calciteColorForeground2 = "#f2f2f2"; // Deprecated, use `--calcite-color-surface-3` instead
|
|
15
|
+
export const calciteColorForeground3 = "#ebebeb"; // Deprecated, use `--calcite-color-surface-4` instead
|
|
11
16
|
export const calciteColorForegroundCurrent = "#d6efff"; // deprecated, use --calcite-color-surface-highlight instead
|
|
12
|
-
export const
|
|
13
|
-
export const
|
|
14
|
-
export const
|
|
15
|
-
export const
|
|
16
|
-
export const
|
|
17
|
-
export const
|
|
18
|
-
export const
|
|
19
|
-
export const
|
|
17
|
+
export const calciteColorText1 = "#141414";
|
|
18
|
+
export const calciteColorText2 = "#4a4a4a";
|
|
19
|
+
export const calciteColorText3 = "#6b6b6b";
|
|
20
|
+
export const calciteColorTextInverse = "#ffffff";
|
|
21
|
+
export const calciteColorTextLink = "#00619b";
|
|
22
|
+
export const calciteColorTextHighlight = "#004874";
|
|
23
|
+
export const calciteColorBorder1 = "#d4d4d4";
|
|
24
|
+
export const calciteColorBorder2 = "#dedede";
|
|
25
|
+
export const calciteColorBorder3 = "#ebebeb";
|
|
26
|
+
export const calciteColorBorderInput = "#949494";
|
|
27
|
+
export const calciteColorBorderGhost = "rgba(0, 0, 0, 0.3)";
|
|
28
|
+
export const calciteColorBorderWhite = "#ffffff";
|
|
20
29
|
export const calciteColorBrand = "#007ac2";
|
|
21
30
|
export const calciteColorBrandHover = "#00619b";
|
|
22
31
|
export const calciteColorBrandPress = "#004874";
|
|
23
32
|
export const calciteColorBrandUnderline = "rgba(0, 97, 155, 0.4)";
|
|
33
|
+
export const calciteColorInverse = "#363636";
|
|
34
|
+
export const calciteColorInverseHover = "#2b2b2b";
|
|
35
|
+
export const calciteColorInversePress = "#212121";
|
|
24
36
|
export const calciteColorStatusInfo = "#00619b";
|
|
25
37
|
export const calciteColorStatusInfoHover = "#004874";
|
|
26
38
|
export const calciteColorStatusInfoPress = "#00304d";
|
|
27
|
-
export const calciteColorStatusSuccess = "#
|
|
28
|
-
export const calciteColorStatusSuccessHover = "#
|
|
29
|
-
export const calciteColorStatusSuccessPress = "#
|
|
30
|
-
export const calciteColorStatusWarning = "#
|
|
31
|
-
export const calciteColorStatusWarningHover = "#
|
|
39
|
+
export const calciteColorStatusSuccess = "#288835";
|
|
40
|
+
export const calciteColorStatusSuccessHover = "#1a6324";
|
|
41
|
+
export const calciteColorStatusSuccessPress = "#0d3f14";
|
|
42
|
+
export const calciteColorStatusWarning = "#da7c0b";
|
|
43
|
+
export const calciteColorStatusWarningHover = "#c26b00";
|
|
32
44
|
export const calciteColorStatusWarningPress = "#9a5b10";
|
|
33
45
|
export const calciteColorStatusDanger = "#d83020";
|
|
34
46
|
export const calciteColorStatusDangerHover = "#a82b1e";
|
|
35
47
|
export const calciteColorStatusDangerPress = "#7c1d13";
|
|
36
|
-
export const
|
|
37
|
-
export const
|
|
38
|
-
export const
|
|
39
|
-
export const
|
|
40
|
-
export const
|
|
41
|
-
export const
|
|
42
|
-
export const
|
|
43
|
-
export const calciteColorTextInverse = "#ffffff";
|
|
44
|
-
export const calciteColorTextLink = "#00619b";
|
|
45
|
-
export const calciteColorBorder1 = "#c9c9c9";
|
|
46
|
-
export const calciteColorBorder2 = "#d4d4d4";
|
|
47
|
-
export const calciteColorBorder3 = "#dedede";
|
|
48
|
-
export const calciteColorBorderInput = "#949494";
|
|
49
|
-
export const calciteColorBorderGhost = "rgba(0, 0, 0, 0.3)";
|
|
50
|
-
export const calciteColorBorderWhite = "#ffffff";
|
|
48
|
+
export const calciteColorTransparent = "rgba(0, 0, 0, 0)";
|
|
49
|
+
export const calciteColorTransparentHover = "rgba(0, 0, 0, 0.04)";
|
|
50
|
+
export const calciteColorTransparentPress = "rgba(0, 0, 0, 0.08)";
|
|
51
|
+
export const calciteColorTransparentScrim = "rgba(255, 255, 255, 0.85)";
|
|
52
|
+
export const calciteColorTransparentTint = "rgba(255, 255, 255, 0.8)";
|
|
53
|
+
export const calciteColorTransparentInverseHover = "rgba(255, 255, 255, 0.12)";
|
|
54
|
+
export const calciteColorTransparentInversePress = "rgba(255, 255, 255, 0.16)";
|
|
51
55
|
export const calciteColorFocus = "#007ac2";
|
package/dist/es6/semantic.d.ts
CHANGED
|
@@ -40,7 +40,21 @@ export const calciteFontSize: string;
|
|
|
40
40
|
export const calciteFontSizeMd: string;
|
|
41
41
|
export const calciteFontSizeLg: string;
|
|
42
42
|
export const calciteFontSizeXl: string;
|
|
43
|
+
/** Deprecated, use --calcite-font-size-2xl instead. */
|
|
43
44
|
export const calciteFontSizeXxl: string;
|
|
45
|
+
export const calciteFontSize2xl: string;
|
|
46
|
+
export const calciteFontSizeRelativeXs: string;
|
|
47
|
+
export const calciteFontSizeRelativeSm: string;
|
|
48
|
+
export const calciteFontSizeRelativeBase: string;
|
|
49
|
+
export const calciteFontSizeRelativeMd: string;
|
|
50
|
+
export const calciteFontSizeRelativeLg: string;
|
|
51
|
+
export const calciteFontSizeRelativeXl: string;
|
|
52
|
+
export const calciteFontSizeRelative2xl: string;
|
|
53
|
+
export const calciteFontSizeRelative3xl: string;
|
|
54
|
+
export const calciteFontSizeRelative4xl: string;
|
|
55
|
+
export const calciteFontSizeRelative5xl: string;
|
|
56
|
+
export const calciteFontSizeRelative6xl: string;
|
|
57
|
+
export const calciteFontSizeRelative7xl: string;
|
|
44
58
|
/** used in ratings */
|
|
45
59
|
export const calciteFontStyleEmphasis: string;
|
|
46
60
|
export const calciteFontLineHeightFixedSm: string;
|
|
@@ -66,6 +80,18 @@ export const calciteFontLineHeightRelativeNormal: string;
|
|
|
66
80
|
export const calciteFontLineHeightRelativeRelaxed: string;
|
|
67
81
|
/** 2 */
|
|
68
82
|
export const calciteFontLineHeightRelativeLoose: string;
|
|
83
|
+
export const calciteFontLineHeightXs: string;
|
|
84
|
+
export const calciteFontLineHeightSm: string;
|
|
85
|
+
export const calciteFontLineHeightBase: string;
|
|
86
|
+
export const calciteFontLineHeightMd: string;
|
|
87
|
+
export const calciteFontLineHeightLg: string;
|
|
88
|
+
export const calciteFontLineHeightXl: string;
|
|
89
|
+
export const calciteFontLineHeight2xl: string;
|
|
90
|
+
export const calciteFontLineHeight3xl: string;
|
|
91
|
+
export const calciteFontLineHeight4xl: string;
|
|
92
|
+
export const calciteFontLineHeight5xl: string;
|
|
93
|
+
export const calciteFontLineHeight6xl: string;
|
|
94
|
+
export const calciteFontLineHeight7xl: string;
|
|
69
95
|
/** Deprecated */
|
|
70
96
|
export const calciteFontLetterSpacingTight: string;
|
|
71
97
|
/** Deprecated */
|
|
@@ -86,11 +112,11 @@ export const calciteFontTextCaseUppercase: string;
|
|
|
86
112
|
export const calciteFontTextCaseLowercase: string;
|
|
87
113
|
/** Deprecated */
|
|
88
114
|
export const calciteFontTextCaseCapitalize: string;
|
|
115
|
+
export const calciteOpacityDisabled: string;
|
|
89
116
|
export const calciteOpacityLight: string;
|
|
90
117
|
export const calciteOpacityHalf: string;
|
|
91
118
|
export const calciteOpacityDark: string;
|
|
92
119
|
export const calciteOpacityFull: string;
|
|
93
|
-
export const calciteOpacityDisabled: string;
|
|
94
120
|
export const calciteShadowNone: {
|
|
95
121
|
blur: string;
|
|
96
122
|
spread: string;
|
|
@@ -135,15 +161,24 @@ export const calciteSizeFixedXxl: string;
|
|
|
135
161
|
/** deprecated */
|
|
136
162
|
export const calciteSizeFixedXxxl: string;
|
|
137
163
|
export const calciteSizePx: string;
|
|
164
|
+
export const calciteSize4xs: string;
|
|
165
|
+
/** Deprecated, use --calcite-size-3xs instead. */
|
|
138
166
|
export const calciteSizeXxxs: string;
|
|
167
|
+
export const calciteSize3xs: string;
|
|
168
|
+
/** Deprecated, use --calcite-size-2xs instead. */
|
|
139
169
|
export const calciteSizeXxs: string;
|
|
170
|
+
export const calciteSize2xs: string;
|
|
140
171
|
export const calciteSizeXs: string;
|
|
141
172
|
export const calciteSizeSm: string;
|
|
142
173
|
export const calciteSizeMd: string;
|
|
143
174
|
export const calciteSizeLg: string;
|
|
144
175
|
export const calciteSizeXl: string;
|
|
176
|
+
/** Deprecated, use --calcite-size-2xl instead. */
|
|
145
177
|
export const calciteSizeXxl: string;
|
|
178
|
+
export const calciteSize2xl: string;
|
|
179
|
+
/** Deprecated, use --calcite-size-3xl instead. */
|
|
146
180
|
export const calciteSizeXxxl: string;
|
|
181
|
+
export const calciteSize3xl: string;
|
|
147
182
|
/** deprecated */
|
|
148
183
|
export const calciteSpacingFixedXxs: string;
|
|
149
184
|
/** deprecated */
|
|
@@ -160,19 +195,46 @@ export const calciteSpacingFixedXl: string;
|
|
|
160
195
|
export const calciteSpacingFixedXxl: string;
|
|
161
196
|
/** deprecated */
|
|
162
197
|
export const calciteSpacingFixedXxxl: string;
|
|
198
|
+
/** deprecated, use `--calcite-space-none` instead */
|
|
163
199
|
export const calciteSpacingNone: string;
|
|
200
|
+
/** deprecated, use `--calcite-space-px` instead */
|
|
164
201
|
export const calciteSpacingPx: string;
|
|
202
|
+
/** deprecated, use `--calcite-space-base` instead */
|
|
165
203
|
export const calciteSpacingBase: string;
|
|
204
|
+
/** deprecated, use `--calcite-space-2xs` instead */
|
|
166
205
|
export const calciteSpacingXxs: string;
|
|
206
|
+
/** deprecated, use `--calcite-space-xs` instead */
|
|
167
207
|
export const calciteSpacingXs: string;
|
|
208
|
+
/** deprecated, use `--calcite-space-sm` instead */
|
|
168
209
|
export const calciteSpacingSm: string;
|
|
210
|
+
/** deprecated, use `--calcite-space-sm-plus` instead */
|
|
169
211
|
export const calciteSpacingSmPlus: string;
|
|
212
|
+
/** deprecated, use `--calcite-space-md` instead */
|
|
170
213
|
export const calciteSpacingMd: string;
|
|
214
|
+
/** deprecated, use `--calcite-space-md-plus` instead */
|
|
171
215
|
export const calciteSpacingMdPlus: string;
|
|
216
|
+
/** deprecated, use `--calcite-space-lg` instead */
|
|
172
217
|
export const calciteSpacingLg: string;
|
|
218
|
+
/** deprecated, use `--calcite-space-xl` instead */
|
|
173
219
|
export const calciteSpacingXl: string;
|
|
220
|
+
/** deprecated, use `--calcite-space-2xl` instead */
|
|
174
221
|
export const calciteSpacingXxl: string;
|
|
222
|
+
/** deprecated, use `--calcite-space-3xl` instead */
|
|
175
223
|
export const calciteSpacingXxxl: string;
|
|
224
|
+
export const calciteSpaceNone: string;
|
|
225
|
+
export const calciteSpacePx: string;
|
|
226
|
+
export const calciteSpaceBase: string;
|
|
227
|
+
export const calciteSpace2xs: string;
|
|
228
|
+
export const calciteSpaceXs: string;
|
|
229
|
+
export const calciteSpaceSm: string;
|
|
230
|
+
export const calciteSpaceSmPlus: string;
|
|
231
|
+
export const calciteSpaceMd: string;
|
|
232
|
+
export const calciteSpaceMdPlus: string;
|
|
233
|
+
export const calciteSpaceLg: string;
|
|
234
|
+
export const calciteSpaceXl: string;
|
|
235
|
+
export const calciteSpace2xl: string;
|
|
236
|
+
export const calciteSpace3xl: string;
|
|
237
|
+
export const calciteSpace4xl: string;
|
|
176
238
|
export const calciteZIndexDeep: string;
|
|
177
239
|
export const calciteZIndex: string;
|
|
178
240
|
export const calciteZIndexSticky: string;
|