@esri/calcite-design-tokens 4.0.0-next.1 → 4.0.0-next.11
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/breakpoints.css +8 -4
- package/dist/css/core.css +14 -0
- package/dist/css/dark.css +5 -5
- package/dist/css/global.css +60 -18
- package/dist/css/index.css +19 -19
- package/dist/css/light.css +3 -3
- package/dist/css/semantic.css +60 -18
- package/dist/docs/core.json +374 -577
- package/dist/docs/dark.json +6 -52
- package/dist/docs/global.json +2706 -1530
- package/dist/docs/light.json +4 -50
- package/dist/docs/semantic.json +2613 -1401
- package/dist/es6/breakpoints.d.ts +6 -2
- package/dist/es6/breakpoints.js +4 -2
- package/dist/es6/core.d.ts +14 -0
- package/dist/es6/core.js +14 -0
- package/dist/es6/dark.js +5 -5
- package/dist/es6/global.d.ts +66 -2
- package/dist/es6/global.js +72 -28
- package/dist/es6/light.js +3 -3
- package/dist/es6/semantic.d.ts +60 -0
- package/dist/es6/semantic.js +60 -18
- package/dist/scss/breakpoints.scss +8 -4
- package/dist/scss/core.scss +14 -0
- package/dist/scss/dark.scss +5 -5
- package/dist/scss/global.scss +60 -18
- package/dist/scss/index.scss +8 -8
- package/dist/scss/light.scss +3 -3
- package/dist/scss/semantic.scss +60 -18
- package/package.json +7 -7
- package/dist/js/core.d.ts +0 -743
- package/dist/js/core.js +0 -22642
- package/dist/js/dark.d.ts +0 -52
- package/dist/js/dark.js +0 -1812
- package/dist/js/global.d.ts +0 -375
- package/dist/js/global.js +0 -10710
- package/dist/js/light.d.ts +0 -52
- package/dist/js/light.js +0 -1813
- package/dist/js/semantic.d.ts +0 -190
- package/dist/js/semantic.js +0 -4822
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
// Calcite Design System
|
|
3
3
|
// Do not edit directly, this file was auto-generated.
|
|
4
4
|
|
|
5
|
-
$calcite-container-size-height-xxs-min: 0; // Small handheld devices and mini-windows
|
|
6
|
-
$calcite-container-size-
|
|
7
|
-
$calcite-container-size-
|
|
5
|
+
$calcite-container-size-height-xxs-min: 0; // Deprecated, use --calcite-container-size-height-2xs-min|max instead. Small handheld devices and mini-windows
|
|
6
|
+
$calcite-container-size-height-2xs-min: 0; // Small handheld devices and mini-windows
|
|
7
|
+
$calcite-container-size-width-xxs-min: 0; // Deprecated, use --calcite-container-size-width-2xs-min|max instead. Small handheld devices and mini-windows
|
|
8
|
+
$calcite-container-size-width-2xs-min: 0; // Small handheld devices and mini-windows
|
|
9
|
+
$calcite-container-size-height-xxs-max: 154px; // Deprecated, use --calcite-container-size-height-2xs-min|max instead. Small handheld devices and mini-windows
|
|
10
|
+
$calcite-container-size-height-2xs-max: 154px; // Small handheld devices and mini-windows
|
|
8
11
|
$calcite-container-size-height-xs-min: 155px; // Handheld devices
|
|
9
12
|
$calcite-container-size-height-xs-max: 328px; // Handheld devices
|
|
10
13
|
$calcite-container-size-height-sm-min: 329px; // Small tablets
|
|
@@ -14,7 +17,8 @@ $calcite-container-size-height-md-max: 678px; // Small laptops
|
|
|
14
17
|
$calcite-container-size-height-lg-min: 679px; // Large laptops and desktop computers
|
|
15
18
|
$calcite-container-size-height-lg-max: 854px; // Large laptops and desktop computers
|
|
16
19
|
$calcite-container-size-height-xl-min: 855px; // Projectors and televisions
|
|
17
|
-
$calcite-container-size-width-xxs-max: 320px; // Small handheld devices and mini-windows
|
|
20
|
+
$calcite-container-size-width-xxs-max: 320px; // Deprecated, use --calcite-container-size-width-2xs-min|max instead. Small handheld devices and mini-windows
|
|
21
|
+
$calcite-container-size-width-2xs-max: 320px; // Small handheld devices and mini-windows
|
|
18
22
|
$calcite-container-size-width-xs-min: 321px; // Handheld devices
|
|
19
23
|
$calcite-container-size-width-xs-max: 476px; // Handheld devices
|
|
20
24
|
$calcite-container-size-width-sm-min: 477px; // Small tablets
|
package/dist/scss/core.scss
CHANGED
|
@@ -564,6 +564,20 @@ $calcite-size-relative-162: 162.5%;
|
|
|
564
564
|
$calcite-size-relative-200: 200%;
|
|
565
565
|
$calcite-size-relative-auto: auto;
|
|
566
566
|
$calcite-size-relative-normal: normal;
|
|
567
|
+
$calcite-size-rem-1: 1rem;
|
|
568
|
+
$calcite-size-rem-2: 2rem;
|
|
569
|
+
$calcite-size-rem-3: 3rem;
|
|
570
|
+
$calcite-size-rem-4: 4rem;
|
|
571
|
+
$calcite-size-rem-5: 5rem;
|
|
572
|
+
$calcite-size-rem-0-625: 0.625rem;
|
|
573
|
+
$calcite-size-rem-0-75: 0.75rem;
|
|
574
|
+
$calcite-size-rem-0-875: 0.875rem;
|
|
575
|
+
$calcite-size-rem-1-125: 1.125rem;
|
|
576
|
+
$calcite-size-rem-1-25: 1.25rem;
|
|
577
|
+
$calcite-size-rem-1-5: 1.5rem;
|
|
578
|
+
$calcite-size-rem-1-625: 1.625rem;
|
|
579
|
+
$calcite-size-rem-2-5: 2.5rem;
|
|
580
|
+
$calcite-size-rem-3-5: 3.5rem;
|
|
567
581
|
$calcite-z-index-0: -999999;
|
|
568
582
|
$calcite-z-index-1: 1;
|
|
569
583
|
$calcite-z-index-3: 300;
|
package/dist/scss/dark.scss
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
// Calcite Design System
|
|
3
3
|
// Do not edit directly, this file was auto-generated.
|
|
4
4
|
|
|
5
|
-
$calcite-color-background: #
|
|
5
|
+
$calcite-color-background: #212121;
|
|
6
6
|
$calcite-color-background-none: rgba(255, 255, 255, 0);
|
|
7
7
|
$calcite-color-foreground-1: #2b2b2b;
|
|
8
|
-
$calcite-color-foreground-2: #
|
|
9
|
-
$calcite-color-foreground-3: #
|
|
8
|
+
$calcite-color-foreground-2: #363636;
|
|
9
|
+
$calcite-color-foreground-3: #404040;
|
|
10
10
|
$calcite-color-foreground-current: #2b465f; // deprecated, use --calcite-color-surface-highlight instead
|
|
11
11
|
$calcite-color-surface-highlight: #2b465f;
|
|
12
12
|
$calcite-color-transparent: rgba(255, 255, 255, 0);
|
|
@@ -33,8 +33,8 @@ $calcite-color-status-danger: #fe583e;
|
|
|
33
33
|
$calcite-color-status-danger-hover: #ff0015;
|
|
34
34
|
$calcite-color-status-danger-press: #d90012;
|
|
35
35
|
$calcite-color-inverse: #f7f7f7;
|
|
36
|
-
$calcite-color-inverse-hover: #
|
|
37
|
-
$calcite-color-inverse-press: #
|
|
36
|
+
$calcite-color-inverse-hover: #f2f2f2;
|
|
37
|
+
$calcite-color-inverse-press: #ebebeb;
|
|
38
38
|
$calcite-color-text-1: #ffffff;
|
|
39
39
|
$calcite-color-text-2: #bfbfbf;
|
|
40
40
|
$calcite-color-text-3: #9e9e9e;
|
package/dist/scss/global.scss
CHANGED
|
@@ -32,7 +32,20 @@ $calcite-font-size: 14px;
|
|
|
32
32
|
$calcite-font-size-md: 16px;
|
|
33
33
|
$calcite-font-size-lg: 18px;
|
|
34
34
|
$calcite-font-size-xl: 20px;
|
|
35
|
-
$calcite-font-size-xxl: 24px;
|
|
35
|
+
$calcite-font-size-xxl: 24px; // Deprecated, use --calcite-font-size-2xl instead.
|
|
36
|
+
$calcite-font-size-2xl: 24px;
|
|
37
|
+
$calcite-font-size-relative-xs: 0.625rem;
|
|
38
|
+
$calcite-font-size-relative-sm: 0.75rem;
|
|
39
|
+
$calcite-font-size-relative-base: 0.875rem;
|
|
40
|
+
$calcite-font-size-relative-md: 1rem;
|
|
41
|
+
$calcite-font-size-relative-lg: 1.125rem;
|
|
42
|
+
$calcite-font-size-relative-xl: 1.25rem;
|
|
43
|
+
$calcite-font-size-relative-2xl: 1.625rem;
|
|
44
|
+
$calcite-font-size-relative-3xl: 2rem;
|
|
45
|
+
$calcite-font-size-relative-4xl: 2.5rem;
|
|
46
|
+
$calcite-font-size-relative-5xl: 3rem;
|
|
47
|
+
$calcite-font-size-relative-6xl: 3.5rem;
|
|
48
|
+
$calcite-font-size-relative-7xl: 4rem;
|
|
36
49
|
$calcite-font-style-emphasis: italic; // used in ratings
|
|
37
50
|
$calcite-font-line-height-fixed-sm: 12px;
|
|
38
51
|
$calcite-font-line-height-fixed-base: 16px;
|
|
@@ -50,6 +63,18 @@ $calcite-font-line-height-relative-snug: 1.375; // 1.375
|
|
|
50
63
|
$calcite-font-line-height-relative-normal: 1.5; // 1.5
|
|
51
64
|
$calcite-font-line-height-relative-relaxed: 1.625; // 1.625
|
|
52
65
|
$calcite-font-line-height-relative-loose: 2; // 2
|
|
66
|
+
$calcite-font-line-height-xs: 0.75rem;
|
|
67
|
+
$calcite-font-line-height-sm: 1rem;
|
|
68
|
+
$calcite-font-line-height-base: 1rem;
|
|
69
|
+
$calcite-font-line-height-md: 1.25rem;
|
|
70
|
+
$calcite-font-line-height-lg: 1.5rem;
|
|
71
|
+
$calcite-font-line-height-xl: 1.5rem;
|
|
72
|
+
$calcite-font-line-height-2xl: 2rem;
|
|
73
|
+
$calcite-font-line-height-3xl: 2.5rem;
|
|
74
|
+
$calcite-font-line-height-4xl: 3rem;
|
|
75
|
+
$calcite-font-line-height-5xl: 4rem;
|
|
76
|
+
$calcite-font-line-height-6xl: 4rem;
|
|
77
|
+
$calcite-font-line-height-7xl: 5rem;
|
|
53
78
|
$calcite-font-letter-spacing-tight: -0.4px; // Deprecated
|
|
54
79
|
$calcite-font-letter-spacing-normal: 0; // Deprecated
|
|
55
80
|
$calcite-font-letter-spacing-wide: 0.4px; // Deprecated
|
|
@@ -77,15 +102,19 @@ $calcite-size-fixed-xl: 20px; // deprecated
|
|
|
77
102
|
$calcite-size-fixed-xxl: 24px; // deprecated
|
|
78
103
|
$calcite-size-fixed-xxxl: 32px; // deprecated
|
|
79
104
|
$calcite-size-px: 1px;
|
|
80
|
-
$calcite-size-xxxs: 0.75rem;
|
|
81
|
-
$calcite-size-
|
|
105
|
+
$calcite-size-xxxs: 0.75rem; // Deprecated, use --calcite-size-3xs instead.
|
|
106
|
+
$calcite-size-3xs: 0.75rem;
|
|
107
|
+
$calcite-size-xxs: 0.875rem; // Deprecated, use --calcite-size-2xs instead.
|
|
108
|
+
$calcite-size-2xs: 0.875rem;
|
|
82
109
|
$calcite-size-xs: 1rem;
|
|
83
110
|
$calcite-size-sm: 1.5rem;
|
|
84
111
|
$calcite-size-md: 2rem;
|
|
85
112
|
$calcite-size-lg: 2.75rem;
|
|
86
113
|
$calcite-size-xl: 3rem;
|
|
87
|
-
$calcite-size-xxl: 4rem;
|
|
88
|
-
$calcite-size-
|
|
114
|
+
$calcite-size-xxl: 4rem; // Deprecated, use --calcite-size-2xl instead.
|
|
115
|
+
$calcite-size-2xl: 4rem;
|
|
116
|
+
$calcite-size-xxxl: 6rem; // Deprecated, use --calcite-size-3xl instead.
|
|
117
|
+
$calcite-size-3xl: 6rem;
|
|
89
118
|
$calcite-spacing-fixed-xxs: 4px; // deprecated
|
|
90
119
|
$calcite-spacing-fixed-xs: 6px; // deprecated
|
|
91
120
|
$calcite-spacing-fixed-sm: 8px; // deprecated
|
|
@@ -94,19 +123,32 @@ $calcite-spacing-fixed-lg: 14px; // deprecated
|
|
|
94
123
|
$calcite-spacing-fixed-xl: 16px; // deprecated
|
|
95
124
|
$calcite-spacing-fixed-xxl: 20px; // deprecated
|
|
96
125
|
$calcite-spacing-fixed-xxxl: 32px; // deprecated
|
|
97
|
-
$calcite-spacing-none: 0;
|
|
98
|
-
$calcite-spacing-px: 1px;
|
|
99
|
-
$calcite-spacing-base: 2px;
|
|
100
|
-
$calcite-spacing-xxs: 0.25rem;
|
|
101
|
-
$calcite-spacing-xs: 0.375rem;
|
|
102
|
-
$calcite-spacing-sm: 0.5rem;
|
|
103
|
-
$calcite-spacing-sm-plus: 0.625rem;
|
|
104
|
-
$calcite-spacing-md: 0.75rem;
|
|
105
|
-
$calcite-spacing-md-plus: 0.875rem;
|
|
106
|
-
$calcite-spacing-lg: 1rem;
|
|
107
|
-
$calcite-spacing-xl: 1.25rem;
|
|
108
|
-
$calcite-spacing-xxl: 1.5rem;
|
|
109
|
-
$calcite-spacing-xxxl: 2rem;
|
|
126
|
+
$calcite-spacing-none: 0; // deprecated, use `--calcite-space-none` instead
|
|
127
|
+
$calcite-spacing-px: 1px; // deprecated, use `--calcite-space-px` instead
|
|
128
|
+
$calcite-spacing-base: 2px; // deprecated, use `--calcite-space-base` instead
|
|
129
|
+
$calcite-spacing-xxs: 0.25rem; // deprecated, use `--calcite-space-2xs` instead
|
|
130
|
+
$calcite-spacing-xs: 0.375rem; // deprecated, use `--calcite-space-xs` instead
|
|
131
|
+
$calcite-spacing-sm: 0.5rem; // deprecated, use `--calcite-space-sm` instead
|
|
132
|
+
$calcite-spacing-sm-plus: 0.625rem; // deprecated, use `--calcite-space-sm-plus` instead
|
|
133
|
+
$calcite-spacing-md: 0.75rem; // deprecated, use `--calcite-space-md` instead
|
|
134
|
+
$calcite-spacing-md-plus: 0.875rem; // deprecated, use `--calcite-space-md-plus` instead
|
|
135
|
+
$calcite-spacing-lg: 1rem; // deprecated, use `--calcite-space-lg` instead
|
|
136
|
+
$calcite-spacing-xl: 1.25rem; // deprecated, use `--calcite-space-xl` instead
|
|
137
|
+
$calcite-spacing-xxl: 1.5rem; // deprecated, use `--calcite-space-2xl` instead
|
|
138
|
+
$calcite-spacing-xxxl: 2rem; // deprecated, use `--calcite-space-3xl` instead
|
|
139
|
+
$calcite-space-none: 0;
|
|
140
|
+
$calcite-space-px: 1px;
|
|
141
|
+
$calcite-space-base: 2px;
|
|
142
|
+
$calcite-space-2xs: 0.25rem;
|
|
143
|
+
$calcite-space-xs: 0.375rem;
|
|
144
|
+
$calcite-space-sm: 0.5rem;
|
|
145
|
+
$calcite-space-sm-plus: 0.625rem;
|
|
146
|
+
$calcite-space-md: 0.75rem;
|
|
147
|
+
$calcite-space-md-plus: 0.875rem;
|
|
148
|
+
$calcite-space-lg: 1rem;
|
|
149
|
+
$calcite-space-xl: 1.25rem;
|
|
150
|
+
$calcite-space-2xl: 1.5rem;
|
|
151
|
+
$calcite-space-3xl: 2rem;
|
|
110
152
|
$calcite-z-index-deep: -999999;
|
|
111
153
|
$calcite-z-index: 1;
|
|
112
154
|
$calcite-z-index-sticky: 300;
|
package/dist/scss/index.scss
CHANGED
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
--calcite-color-border-white: #ffffff;
|
|
11
11
|
--calcite-color-border-ghost: rgba(0, 0, 0, 0.3);
|
|
12
12
|
--calcite-color-border-input: #949494;
|
|
13
|
-
--calcite-color-border-3: #
|
|
14
|
-
--calcite-color-border-2: #
|
|
15
|
-
--calcite-color-border-1: #
|
|
13
|
+
--calcite-color-border-3: #ebebeb;
|
|
14
|
+
--calcite-color-border-2: #dedede;
|
|
15
|
+
--calcite-color-border-1: #d4d4d4;
|
|
16
16
|
--calcite-color-text-link: #00619b;
|
|
17
17
|
--calcite-color-text-inverse: #ffffff;
|
|
18
18
|
--calcite-color-text-highlight: #004874;
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
--calcite-color-text-3: #9e9e9e;
|
|
67
67
|
--calcite-color-text-2: #bfbfbf;
|
|
68
68
|
--calcite-color-text-1: #ffffff;
|
|
69
|
-
--calcite-color-inverse-press: #
|
|
70
|
-
--calcite-color-inverse-hover: #
|
|
69
|
+
--calcite-color-inverse-press: #ebebeb;
|
|
70
|
+
--calcite-color-inverse-hover: #f2f2f2;
|
|
71
71
|
--calcite-color-inverse: #f7f7f7;
|
|
72
72
|
--calcite-color-status-danger-press: #d90012;
|
|
73
73
|
--calcite-color-status-danger-hover: #ff0015;
|
|
@@ -94,9 +94,9 @@
|
|
|
94
94
|
--calcite-color-transparent: rgba(255, 255, 255, 0);
|
|
95
95
|
--calcite-color-surface-highlight: #2b465f;
|
|
96
96
|
--calcite-color-foreground-current: #2b465f; /** deprecated, use --calcite-color-surface-highlight instead */
|
|
97
|
-
--calcite-color-foreground-3: #
|
|
98
|
-
--calcite-color-foreground-2: #
|
|
97
|
+
--calcite-color-foreground-3: #404040;
|
|
98
|
+
--calcite-color-foreground-2: #363636;
|
|
99
99
|
--calcite-color-foreground-1: #2b2b2b;
|
|
100
100
|
--calcite-color-background-none: rgba(255, 255, 255, 0);
|
|
101
|
-
--calcite-color-background: #
|
|
101
|
+
--calcite-color-background: #212121;
|
|
102
102
|
}
|
package/dist/scss/light.scss
CHANGED
|
@@ -41,9 +41,9 @@ $calcite-color-text-3: #6b6b6b;
|
|
|
41
41
|
$calcite-color-text-highlight: #004874;
|
|
42
42
|
$calcite-color-text-inverse: #ffffff;
|
|
43
43
|
$calcite-color-text-link: #00619b;
|
|
44
|
-
$calcite-color-border-1: #
|
|
45
|
-
$calcite-color-border-2: #
|
|
46
|
-
$calcite-color-border-3: #
|
|
44
|
+
$calcite-color-border-1: #d4d4d4;
|
|
45
|
+
$calcite-color-border-2: #dedede;
|
|
46
|
+
$calcite-color-border-3: #ebebeb;
|
|
47
47
|
$calcite-color-border-input: #949494;
|
|
48
48
|
$calcite-color-border-ghost: rgba(0, 0, 0, 0.3);
|
|
49
49
|
$calcite-color-border-white: #ffffff;
|
package/dist/scss/semantic.scss
CHANGED
|
@@ -30,7 +30,20 @@ $calcite-font-size: 14px;
|
|
|
30
30
|
$calcite-font-size-md: 16px;
|
|
31
31
|
$calcite-font-size-lg: 18px;
|
|
32
32
|
$calcite-font-size-xl: 20px;
|
|
33
|
-
$calcite-font-size-xxl: 24px;
|
|
33
|
+
$calcite-font-size-xxl: 24px; // Deprecated, use --calcite-font-size-2xl instead.
|
|
34
|
+
$calcite-font-size-2xl: 24px;
|
|
35
|
+
$calcite-font-size-relative-xs: 0.625rem;
|
|
36
|
+
$calcite-font-size-relative-sm: 0.75rem;
|
|
37
|
+
$calcite-font-size-relative-base: 0.875rem;
|
|
38
|
+
$calcite-font-size-relative-md: 1rem;
|
|
39
|
+
$calcite-font-size-relative-lg: 1.125rem;
|
|
40
|
+
$calcite-font-size-relative-xl: 1.25rem;
|
|
41
|
+
$calcite-font-size-relative-2xl: 1.625rem;
|
|
42
|
+
$calcite-font-size-relative-3xl: 2rem;
|
|
43
|
+
$calcite-font-size-relative-4xl: 2.5rem;
|
|
44
|
+
$calcite-font-size-relative-5xl: 3rem;
|
|
45
|
+
$calcite-font-size-relative-6xl: 3.5rem;
|
|
46
|
+
$calcite-font-size-relative-7xl: 4rem;
|
|
34
47
|
$calcite-font-style-emphasis: italic; // used in ratings
|
|
35
48
|
$calcite-font-line-height-fixed-sm: 12px;
|
|
36
49
|
$calcite-font-line-height-fixed-base: 16px;
|
|
@@ -48,6 +61,18 @@ $calcite-font-line-height-relative-snug: 1.375; // 1.375
|
|
|
48
61
|
$calcite-font-line-height-relative-normal: 1.5; // 1.5
|
|
49
62
|
$calcite-font-line-height-relative-relaxed: 1.625; // 1.625
|
|
50
63
|
$calcite-font-line-height-relative-loose: 2; // 2
|
|
64
|
+
$calcite-font-line-height-xs: 0.75rem;
|
|
65
|
+
$calcite-font-line-height-sm: 1rem;
|
|
66
|
+
$calcite-font-line-height-base: 1rem;
|
|
67
|
+
$calcite-font-line-height-md: 1.25rem;
|
|
68
|
+
$calcite-font-line-height-lg: 1.5rem;
|
|
69
|
+
$calcite-font-line-height-xl: 1.5rem;
|
|
70
|
+
$calcite-font-line-height-2xl: 2rem;
|
|
71
|
+
$calcite-font-line-height-3xl: 2.5rem;
|
|
72
|
+
$calcite-font-line-height-4xl: 3rem;
|
|
73
|
+
$calcite-font-line-height-5xl: 4rem;
|
|
74
|
+
$calcite-font-line-height-6xl: 4rem;
|
|
75
|
+
$calcite-font-line-height-7xl: 5rem;
|
|
51
76
|
$calcite-font-letter-spacing-tight: -0.4px; // Deprecated
|
|
52
77
|
$calcite-font-letter-spacing-normal: 0; // Deprecated
|
|
53
78
|
$calcite-font-letter-spacing-wide: 0.4px; // Deprecated
|
|
@@ -75,15 +100,19 @@ $calcite-size-fixed-xl: 20px; // deprecated
|
|
|
75
100
|
$calcite-size-fixed-xxl: 24px; // deprecated
|
|
76
101
|
$calcite-size-fixed-xxxl: 32px; // deprecated
|
|
77
102
|
$calcite-size-px: 1px;
|
|
78
|
-
$calcite-size-xxxs: 0.75rem;
|
|
79
|
-
$calcite-size-
|
|
103
|
+
$calcite-size-xxxs: 0.75rem; // Deprecated, use --calcite-size-3xs instead.
|
|
104
|
+
$calcite-size-3xs: 0.75rem;
|
|
105
|
+
$calcite-size-xxs: 0.875rem; // Deprecated, use --calcite-size-2xs instead.
|
|
106
|
+
$calcite-size-2xs: 0.875rem;
|
|
80
107
|
$calcite-size-xs: 1rem;
|
|
81
108
|
$calcite-size-sm: 1.5rem;
|
|
82
109
|
$calcite-size-md: 2rem;
|
|
83
110
|
$calcite-size-lg: 2.75rem;
|
|
84
111
|
$calcite-size-xl: 3rem;
|
|
85
|
-
$calcite-size-xxl: 4rem;
|
|
86
|
-
$calcite-size-
|
|
112
|
+
$calcite-size-xxl: 4rem; // Deprecated, use --calcite-size-2xl instead.
|
|
113
|
+
$calcite-size-2xl: 4rem;
|
|
114
|
+
$calcite-size-xxxl: 6rem; // Deprecated, use --calcite-size-3xl instead.
|
|
115
|
+
$calcite-size-3xl: 6rem;
|
|
87
116
|
$calcite-spacing-fixed-xxs: 4px; // deprecated
|
|
88
117
|
$calcite-spacing-fixed-xs: 6px; // deprecated
|
|
89
118
|
$calcite-spacing-fixed-sm: 8px; // deprecated
|
|
@@ -92,19 +121,32 @@ $calcite-spacing-fixed-lg: 14px; // deprecated
|
|
|
92
121
|
$calcite-spacing-fixed-xl: 16px; // deprecated
|
|
93
122
|
$calcite-spacing-fixed-xxl: 20px; // deprecated
|
|
94
123
|
$calcite-spacing-fixed-xxxl: 32px; // deprecated
|
|
95
|
-
$calcite-spacing-none: 0;
|
|
96
|
-
$calcite-spacing-px: 1px;
|
|
97
|
-
$calcite-spacing-base: 2px;
|
|
98
|
-
$calcite-spacing-xxs: 0.25rem;
|
|
99
|
-
$calcite-spacing-xs: 0.375rem;
|
|
100
|
-
$calcite-spacing-sm: 0.5rem;
|
|
101
|
-
$calcite-spacing-sm-plus: 0.625rem;
|
|
102
|
-
$calcite-spacing-md: 0.75rem;
|
|
103
|
-
$calcite-spacing-md-plus: 0.875rem;
|
|
104
|
-
$calcite-spacing-lg: 1rem;
|
|
105
|
-
$calcite-spacing-xl: 1.25rem;
|
|
106
|
-
$calcite-spacing-xxl: 1.5rem;
|
|
107
|
-
$calcite-spacing-xxxl: 2rem;
|
|
124
|
+
$calcite-spacing-none: 0; // deprecated, use `--calcite-space-none` instead
|
|
125
|
+
$calcite-spacing-px: 1px; // deprecated, use `--calcite-space-px` instead
|
|
126
|
+
$calcite-spacing-base: 2px; // deprecated, use `--calcite-space-base` instead
|
|
127
|
+
$calcite-spacing-xxs: 0.25rem; // deprecated, use `--calcite-space-2xs` instead
|
|
128
|
+
$calcite-spacing-xs: 0.375rem; // deprecated, use `--calcite-space-xs` instead
|
|
129
|
+
$calcite-spacing-sm: 0.5rem; // deprecated, use `--calcite-space-sm` instead
|
|
130
|
+
$calcite-spacing-sm-plus: 0.625rem; // deprecated, use `--calcite-space-sm-plus` instead
|
|
131
|
+
$calcite-spacing-md: 0.75rem; // deprecated, use `--calcite-space-md` instead
|
|
132
|
+
$calcite-spacing-md-plus: 0.875rem; // deprecated, use `--calcite-space-md-plus` instead
|
|
133
|
+
$calcite-spacing-lg: 1rem; // deprecated, use `--calcite-space-lg` instead
|
|
134
|
+
$calcite-spacing-xl: 1.25rem; // deprecated, use `--calcite-space-xl` instead
|
|
135
|
+
$calcite-spacing-xxl: 1.5rem; // deprecated, use `--calcite-space-2xl` instead
|
|
136
|
+
$calcite-spacing-xxxl: 2rem; // deprecated, use `--calcite-space-3xl` instead
|
|
137
|
+
$calcite-space-none: 0;
|
|
138
|
+
$calcite-space-px: 1px;
|
|
139
|
+
$calcite-space-base: 2px;
|
|
140
|
+
$calcite-space-2xs: 0.25rem;
|
|
141
|
+
$calcite-space-xs: 0.375rem;
|
|
142
|
+
$calcite-space-sm: 0.5rem;
|
|
143
|
+
$calcite-space-sm-plus: 0.625rem;
|
|
144
|
+
$calcite-space-md: 0.75rem;
|
|
145
|
+
$calcite-space-md-plus: 0.875rem;
|
|
146
|
+
$calcite-space-lg: 1rem;
|
|
147
|
+
$calcite-space-xl: 1.25rem;
|
|
148
|
+
$calcite-space-2xl: 1.5rem;
|
|
149
|
+
$calcite-space-3xl: 2rem;
|
|
108
150
|
$calcite-z-index-deep: -999999;
|
|
109
151
|
$calcite-z-index: 1;
|
|
110
152
|
$calcite-z-index-sticky: 300;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-design-tokens",
|
|
3
|
-
"version": "4.0.0-next.
|
|
3
|
+
"version": "4.0.0-next.11",
|
|
4
4
|
"description": "Esri's Calcite Design System Tokens",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Calcite",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
20
|
"url": "git://github.com/Esri/calcite-design-system.git",
|
|
21
|
-
"directory": "packages/
|
|
21
|
+
"directory": "packages/design-tokens"
|
|
22
22
|
},
|
|
23
23
|
"author": {
|
|
24
24
|
"name": "Esri"
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "SEE LICENSE.md",
|
|
30
30
|
"scripts": {
|
|
31
|
-
"build": "echo $MODE $GITHUB_ACTION &&
|
|
32
|
-
"build:watch": "
|
|
31
|
+
"build": "echo $MODE $GITHUB_ACTION && node src/build-tokens.ts",
|
|
32
|
+
"build:watch": "node --watch src/build-tokens.ts",
|
|
33
33
|
"clean": "rimraf node_modules dist .turbo",
|
|
34
34
|
"lint:json": "prettier --ignore-path \"../../.prettierignore\" --write \"**/*.json\" >/dev/null",
|
|
35
35
|
"lint:md": "prettier --ignore-path \"../../.prettierignore\" --write \"**/*.md\" >/dev/null && markdownlint-cli2 \"**/*.md\" --fix --config \"../../.markdownlint-cli2.jsonc\"",
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
"lint": "concurrently npm:lint:*",
|
|
38
38
|
"test": "vitest run",
|
|
39
39
|
"test:watch": "vitest",
|
|
40
|
-
"util:update-3rd-party-licenses": "
|
|
40
|
+
"util:update-3rd-party-licenses": "node ../../support/createThirdPartyLicenses.mts",
|
|
41
41
|
"util:update-test-snapshots": "vitest --update"
|
|
42
42
|
},
|
|
43
43
|
"volta": {
|
|
44
44
|
"extends": "../../package.json"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"vitest": "
|
|
47
|
+
"vitest": "4.0.14"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "8f61da5e9de73b7a17fc6f6fcdb4ab8484133f05"
|
|
50
50
|
}
|