@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Licensing
2
2
 
3
- COPYRIGHT © 2025 Esri
3
+ COPYRIGHT © Esri
4
4
 
5
5
  All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
6
6
 
package/README.md CHANGED
@@ -30,7 +30,7 @@ These are the published asset files generated by the token transformer:
30
30
 
31
31
  ## License
32
32
 
33
- COPYRIGHT © 2025 Esri
33
+ COPYRIGHT © Esri
34
34
 
35
35
  All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
36
36
 
@@ -4,9 +4,12 @@
4
4
  */
5
5
 
6
6
  :root {
7
- --calcite-container-size-height-xxs-min: 0; /** Small handheld devices and mini-windows */
8
- --calcite-container-size-width-xxs-min: 0; /** Small handheld devices and mini-windows */
9
- --calcite-container-size-height-xxs-max: 154px; /** Small handheld devices and mini-windows */
7
+ --calcite-container-size-height-xxs-min: 0; /** Deprecated, use --calcite-container-size-height-2xs-min|max instead. Small handheld devices and mini-windows */
8
+ --calcite-container-size-height-2xs-min: 0; /** Small handheld devices and mini-windows */
9
+ --calcite-container-size-width-xxs-min: 0; /** Deprecated, use --calcite-container-size-width-2xs-min|max instead. Small handheld devices and mini-windows */
10
+ --calcite-container-size-width-2xs-min: 0; /** Small handheld devices and mini-windows */
11
+ --calcite-container-size-height-xxs-max: 154px; /** Deprecated, use --calcite-container-size-height-2xs-min|max instead. Small handheld devices and mini-windows */
12
+ --calcite-container-size-height-2xs-max: 154px; /** Small handheld devices and mini-windows */
10
13
  --calcite-container-size-height-xs-min: 155px; /** Handheld devices */
11
14
  --calcite-container-size-height-xs-max: 328px; /** Handheld devices */
12
15
  --calcite-container-size-height-sm-min: 329px; /** Small tablets */
@@ -16,7 +19,8 @@
16
19
  --calcite-container-size-height-lg-min: 679px; /** Large laptops and desktop computers */
17
20
  --calcite-container-size-height-lg-max: 854px; /** Large laptops and desktop computers */
18
21
  --calcite-container-size-height-xl-min: 855px; /** Projectors and televisions */
19
- --calcite-container-size-width-xxs-max: 320px; /** Small handheld devices and mini-windows */
22
+ --calcite-container-size-width-xxs-max: 320px; /** Deprecated, use --calcite-container-size-width-2xs-min|max instead. Small handheld devices and mini-windows */
23
+ --calcite-container-size-width-2xs-max: 320px; /** Small handheld devices and mini-windows */
20
24
  --calcite-container-size-width-xs-min: 321px; /** Handheld devices */
21
25
  --calcite-container-size-width-xs-max: 476px; /** Handheld devices */
22
26
  --calcite-container-size-width-sm-min: 477px; /** Small tablets */
package/dist/css/core.css CHANGED
@@ -348,7 +348,7 @@
348
348
  --calcite-color-high-saturation-orange-yellow-h-oy-040: #fbb664;
349
349
  --calcite-color-high-saturation-orange-yellow-h-oy-050: #f9a845;
350
350
  --calcite-color-high-saturation-orange-yellow-h-oy-060: #f89927;
351
- --calcite-color-high-saturation-orange-yellow-h-oy-070: #c67718;
351
+ --calcite-color-high-saturation-orange-yellow-h-oy-070: #da7c0b;
352
352
  --calcite-color-high-saturation-orange-yellow-h-oy-080: #9a5b10;
353
353
  --calcite-color-high-saturation-orange-yellow-h-oy-090: #6d3f08;
354
354
  --calcite-color-high-saturation-orange-yellow-h-oy-100: #402300;
@@ -435,7 +435,7 @@
435
435
  --calcite-color-vibrant-orange-yellow-v-oy-120: #ffb54d;
436
436
  --calcite-color-vibrant-orange-yellow-v-oy-140: #ff9500;
437
437
  --calcite-color-vibrant-orange-yellow-v-oy-160: #e68600;
438
- --calcite-color-vibrant-orange-yellow-v-oy-180: #d17300;
438
+ --calcite-color-vibrant-orange-yellow-v-oy-180: #c26b00;
439
439
  --calcite-color-vibrant-red-orange-v-ro-120: #ff824d;
440
440
  --calcite-color-vibrant-red-orange-v-ro-140: #ff4d00;
441
441
  --calcite-color-vibrant-red-orange-v-ro-160: #de4300;
@@ -556,6 +556,7 @@
556
556
  --calcite-size-224: 224px;
557
557
  --calcite-size-256: 256px;
558
558
  --calcite-size-288: 288px;
559
+ --calcite-size-9999: 9999px;
559
560
  --calcite-size-none: 0;
560
561
  --calcite-size-relative-50: 50%;
561
562
  --calcite-size-relative-100: 100%;
@@ -566,6 +567,20 @@
566
567
  --calcite-size-relative-200: 200%;
567
568
  --calcite-size-relative-auto: auto;
568
569
  --calcite-size-relative-normal: normal;
570
+ --calcite-size-rem-1: 1rem;
571
+ --calcite-size-rem-2: 2rem;
572
+ --calcite-size-rem-3: 3rem;
573
+ --calcite-size-rem-4: 4rem;
574
+ --calcite-size-rem-5: 5rem;
575
+ --calcite-size-rem-0-625: 0.625rem;
576
+ --calcite-size-rem-0-75: 0.75rem;
577
+ --calcite-size-rem-0-875: 0.875rem;
578
+ --calcite-size-rem-1-125: 1.125rem;
579
+ --calcite-size-rem-1-25: 1.25rem;
580
+ --calcite-size-rem-1-5: 1.5rem;
581
+ --calcite-size-rem-1-625: 1.625rem;
582
+ --calcite-size-rem-2-5: 2.5rem;
583
+ --calcite-size-rem-3-5: 3.5rem;
569
584
  --calcite-z-index-0: -999999;
570
585
  --calcite-z-index-1: 1;
571
586
  --calcite-z-index-3: 300;
package/dist/css/dark.css CHANGED
@@ -4,24 +4,36 @@
4
4
  */
5
5
 
6
6
  :root {
7
- --calcite-color-background: #363636;
7
+ --calcite-color-surface-1: #212121;
8
+ --calcite-color-surface-2: #2b2b2b;
9
+ --calcite-color-surface-3: #363636;
10
+ --calcite-color-surface-4: #404040;
11
+ --calcite-color-surface-highlight: #2b465f;
12
+ --calcite-color-background: #212121; /** Deprecated, use `--calcite-color-surface-1` instead */
8
13
  --calcite-color-background-none: rgba(255, 255, 255, 0);
9
- --calcite-color-foreground-1: #2b2b2b;
10
- --calcite-color-foreground-2: #212121;
11
- --calcite-color-foreground-3: #141414;
14
+ --calcite-color-foreground-1: #2b2b2b; /** Deprecated, use `--calcite-color-surface-2` instead */
15
+ --calcite-color-foreground-2: #363636; /** Deprecated, use `--calcite-color-surface-3` instead */
16
+ --calcite-color-foreground-3: #404040; /** Deprecated, use `--calcite-color-surface-4` instead */
12
17
  --calcite-color-foreground-current: #2b465f; /** deprecated, use --calcite-color-surface-highlight instead */
13
- --calcite-color-surface-highlight: #2b465f;
14
- --calcite-color-transparent: rgba(255, 255, 255, 0);
15
- --calcite-color-transparent-hover: rgba(255, 255, 255, 0.12);
16
- --calcite-color-transparent-press: rgba(255, 255, 255, 0.16);
17
- --calcite-color-transparent-inverse-hover: rgba(0, 0, 0, 0.04);
18
- --calcite-color-transparent-inverse-press: rgba(0, 0, 0, 0.08);
19
- --calcite-color-transparent-scrim: rgba(0, 0, 0, 0.85);
20
- --calcite-color-transparent-tint: rgba(43, 43, 43, 0.8);
18
+ --calcite-color-text-1: #ffffff;
19
+ --calcite-color-text-2: #bfbfbf;
20
+ --calcite-color-text-3: #9e9e9e;
21
+ --calcite-color-text-inverse: #141414;
22
+ --calcite-color-text-link: #00a0ff;
23
+ --calcite-color-text-highlight: #d6efff;
24
+ --calcite-color-border-1: #545454;
25
+ --calcite-color-border-2: #4a4a4a;
26
+ --calcite-color-border-3: #404040;
27
+ --calcite-color-border-input: #757575;
28
+ --calcite-color-border-ghost: rgba(117, 117, 117, 0.3);
29
+ --calcite-color-border-white: #f7f7f7;
21
30
  --calcite-color-brand: #009af2;
22
31
  --calcite-color-brand-hover: #007ac2;
23
32
  --calcite-color-brand-press: #00619b;
24
33
  --calcite-color-brand-underline: rgba(0, 160, 255, 0.4);
34
+ --calcite-color-inverse: #f7f7f7;
35
+ --calcite-color-inverse-hover: #f2f2f2;
36
+ --calcite-color-inverse-press: #ebebeb;
25
37
  --calcite-color-status-info: #00a0ff;
26
38
  --calcite-color-status-info-hover: #3db8ff;
27
39
  --calcite-color-status-info-press: #009af2;
@@ -34,20 +46,12 @@
34
46
  --calcite-color-status-danger: #fe583e;
35
47
  --calcite-color-status-danger-hover: #ff0015;
36
48
  --calcite-color-status-danger-press: #d90012;
37
- --calcite-color-inverse: #f7f7f7;
38
- --calcite-color-inverse-hover: #ffffff;
39
- --calcite-color-inverse-press: #f2f2f2;
40
- --calcite-color-text-1: #ffffff;
41
- --calcite-color-text-2: #bfbfbf;
42
- --calcite-color-text-3: #9e9e9e;
43
- --calcite-color-text-highlight: #d6efff;
44
- --calcite-color-text-inverse: #141414;
45
- --calcite-color-text-link: #00a0ff;
46
- --calcite-color-border-1: #545454;
47
- --calcite-color-border-2: #4a4a4a;
48
- --calcite-color-border-3: #404040;
49
- --calcite-color-border-input: #757575;
50
- --calcite-color-border-ghost: rgba(117, 117, 117, 0.3);
51
- --calcite-color-border-white: #f7f7f7;
49
+ --calcite-color-transparent: rgba(255, 255, 255, 0);
50
+ --calcite-color-transparent-hover: rgba(255, 255, 255, 0.12);
51
+ --calcite-color-transparent-press: rgba(255, 255, 255, 0.16);
52
+ --calcite-color-transparent-scrim: rgba(0, 0, 0, 0.85);
53
+ --calcite-color-transparent-tint: rgba(43, 43, 43, 0.8);
54
+ --calcite-color-transparent-inverse-hover: rgba(0, 0, 0, 0.04);
55
+ --calcite-color-transparent-inverse-press: rgba(0, 0, 0, 0.08);
52
56
  --calcite-color-focus: var(--calcite-color-brand);
53
57
  }
@@ -19,7 +19,7 @@
19
19
  --calcite-corner-radius-xs: 2px;
20
20
  --calcite-corner-radius-sm: 4px;
21
21
  --calcite-corner-radius-round: 4px; /** deprecated, use --calcite-corner-radius-sm instead */
22
- --calcite-corner-radius-pill: 100%;
22
+ --calcite-corner-radius-pill: 9999px;
23
23
  --calcite-font-family: 'Avenir Next', Avenir, 'Helvetica Neue', sans-serif; /** Primary font with fallbacks */
24
24
  --calcite-font-family-code: Monaco, Consolas, 'Andale Mono', 'Lucida Console', monospace; /** Font family for code with fallbacks */
25
25
  --calcite-font-weight-light: 300; /** For Avenir Next World (secondary font family) */
@@ -34,7 +34,20 @@
34
34
  --calcite-font-size-md: 16px;
35
35
  --calcite-font-size-lg: 18px;
36
36
  --calcite-font-size-xl: 20px;
37
- --calcite-font-size-xxl: 24px;
37
+ --calcite-font-size-xxl: 24px; /** Deprecated, use --calcite-font-size-2xl instead. */
38
+ --calcite-font-size-2xl: 24px;
39
+ --calcite-font-size-relative-xs: 0.625rem;
40
+ --calcite-font-size-relative-sm: 0.75rem;
41
+ --calcite-font-size-relative-base: 0.875rem;
42
+ --calcite-font-size-relative-md: 1rem;
43
+ --calcite-font-size-relative-lg: 1.125rem;
44
+ --calcite-font-size-relative-xl: 1.25rem;
45
+ --calcite-font-size-relative-2xl: 1.625rem;
46
+ --calcite-font-size-relative-3xl: 2rem;
47
+ --calcite-font-size-relative-4xl: 2.5rem;
48
+ --calcite-font-size-relative-5xl: 3rem;
49
+ --calcite-font-size-relative-6xl: 3.5rem;
50
+ --calcite-font-size-relative-7xl: 4rem;
38
51
  --calcite-font-style-emphasis: italic; /** used in ratings */
39
52
  --calcite-font-line-height-fixed-sm: 12px;
40
53
  --calcite-font-line-height-fixed-base: 16px;
@@ -52,6 +65,18 @@
52
65
  --calcite-font-line-height-relative-normal: 1.5; /** 1.5 */
53
66
  --calcite-font-line-height-relative-relaxed: 1.625; /** 1.625 */
54
67
  --calcite-font-line-height-relative-loose: 2; /** 2 */
68
+ --calcite-font-line-height-xs: 0.75rem;
69
+ --calcite-font-line-height-sm: 1rem;
70
+ --calcite-font-line-height-base: 1rem;
71
+ --calcite-font-line-height-md: 1.25rem;
72
+ --calcite-font-line-height-lg: 1.5rem;
73
+ --calcite-font-line-height-xl: 1.5rem;
74
+ --calcite-font-line-height-2xl: 2rem;
75
+ --calcite-font-line-height-3xl: 2.5rem;
76
+ --calcite-font-line-height-4xl: 3rem;
77
+ --calcite-font-line-height-5xl: 4rem;
78
+ --calcite-font-line-height-6xl: 4rem;
79
+ --calcite-font-line-height-7xl: 5rem;
55
80
  --calcite-font-letter-spacing-tight: -0.4px; /** Deprecated */
56
81
  --calcite-font-letter-spacing-normal: 0; /** Deprecated */
57
82
  --calcite-font-letter-spacing-wide: 0.4px; /** Deprecated */
@@ -62,11 +87,11 @@
62
87
  --calcite-font-text-case-uppercase: uppercase; /** Deprecated */
63
88
  --calcite-font-text-case-lowercase: lowercase; /** Deprecated */
64
89
  --calcite-font-text-case-capitalize: capitalize; /** Deprecated */
90
+ --calcite-opacity-disabled: 0.5;
65
91
  --calcite-opacity-light: 0.4;
66
92
  --calcite-opacity-half: 0.5;
67
93
  --calcite-opacity-dark: 0.85;
68
94
  --calcite-opacity-full: 1;
69
- --calcite-opacity-disabled: 0.5;
70
95
  --calcite-size-fixed-xxxs: 2px; /** deprecated */
71
96
  --calcite-size-fixed-xxs: 4px; /** deprecated */
72
97
  --calcite-size-fixed-xs: 6px; /** deprecated */
@@ -79,15 +104,20 @@
79
104
  --calcite-size-fixed-xxl: 24px; /** deprecated */
80
105
  --calcite-size-fixed-xxxl: 32px; /** deprecated */
81
106
  --calcite-size-px: 1px;
82
- --calcite-size-xxxs: 0.75rem;
83
- --calcite-size-xxs: 0.875rem;
107
+ --calcite-size-4xs: 0.625rem;
108
+ --calcite-size-xxxs: 0.75rem; /** Deprecated, use --calcite-size-3xs instead. */
109
+ --calcite-size-3xs: 0.75rem;
110
+ --calcite-size-xxs: 0.875rem; /** Deprecated, use --calcite-size-2xs instead. */
111
+ --calcite-size-2xs: 0.875rem;
84
112
  --calcite-size-xs: 1rem;
85
113
  --calcite-size-sm: 1.5rem;
86
114
  --calcite-size-md: 2rem;
87
115
  --calcite-size-lg: 2.75rem;
88
116
  --calcite-size-xl: 3rem;
89
- --calcite-size-xxl: 4rem;
90
- --calcite-size-xxxl: 6rem;
117
+ --calcite-size-xxl: 4rem; /** Deprecated, use --calcite-size-2xl instead. */
118
+ --calcite-size-2xl: 4rem;
119
+ --calcite-size-xxxl: 6rem; /** Deprecated, use --calcite-size-3xl instead. */
120
+ --calcite-size-3xl: 6rem;
91
121
  --calcite-spacing-fixed-xxs: 4px; /** deprecated */
92
122
  --calcite-spacing-fixed-xs: 6px; /** deprecated */
93
123
  --calcite-spacing-fixed-sm: 8px; /** deprecated */
@@ -96,19 +126,33 @@
96
126
  --calcite-spacing-fixed-xl: 16px; /** deprecated */
97
127
  --calcite-spacing-fixed-xxl: 20px; /** deprecated */
98
128
  --calcite-spacing-fixed-xxxl: 32px; /** deprecated */
99
- --calcite-spacing-none: 0;
100
- --calcite-spacing-px: 1px;
101
- --calcite-spacing-base: 2px;
102
- --calcite-spacing-xxs: 0.25rem;
103
- --calcite-spacing-xs: 0.375rem;
104
- --calcite-spacing-sm: 0.5rem;
105
- --calcite-spacing-sm-plus: 0.625rem;
106
- --calcite-spacing-md: 0.75rem;
107
- --calcite-spacing-md-plus: 0.875rem;
108
- --calcite-spacing-lg: 1rem;
109
- --calcite-spacing-xl: 1.25rem;
110
- --calcite-spacing-xxl: 1.5rem;
111
- --calcite-spacing-xxxl: 2rem;
129
+ --calcite-spacing-none: 0; /** deprecated, use `--calcite-space-none` instead */
130
+ --calcite-spacing-px: 1px; /** deprecated, use `--calcite-space-px` instead */
131
+ --calcite-spacing-base: 2px; /** deprecated, use `--calcite-space-base` instead */
132
+ --calcite-spacing-xxs: 0.25rem; /** deprecated, use `--calcite-space-2xs` instead */
133
+ --calcite-spacing-xs: 0.375rem; /** deprecated, use `--calcite-space-xs` instead */
134
+ --calcite-spacing-sm: 0.5rem; /** deprecated, use `--calcite-space-sm` instead */
135
+ --calcite-spacing-sm-plus: 0.625rem; /** deprecated, use `--calcite-space-sm-plus` instead */
136
+ --calcite-spacing-md: 0.75rem; /** deprecated, use `--calcite-space-md` instead */
137
+ --calcite-spacing-md-plus: 0.875rem; /** deprecated, use `--calcite-space-md-plus` instead */
138
+ --calcite-spacing-lg: 1rem; /** deprecated, use `--calcite-space-lg` instead */
139
+ --calcite-spacing-xl: 1.25rem; /** deprecated, use `--calcite-space-xl` instead */
140
+ --calcite-spacing-xxl: 1.5rem; /** deprecated, use `--calcite-space-2xl` instead */
141
+ --calcite-spacing-xxxl: 2rem; /** deprecated, use `--calcite-space-3xl` instead */
142
+ --calcite-space-none: 0;
143
+ --calcite-space-px: 1px;
144
+ --calcite-space-base: 2px;
145
+ --calcite-space-2xs: 0.25rem;
146
+ --calcite-space-xs: 0.375rem;
147
+ --calcite-space-sm: 0.5rem;
148
+ --calcite-space-sm-plus: 0.625rem;
149
+ --calcite-space-md: 0.75rem;
150
+ --calcite-space-md-plus: 0.875rem;
151
+ --calcite-space-lg: 1rem;
152
+ --calcite-space-xl: 1.25rem;
153
+ --calcite-space-2xl: 1.5rem;
154
+ --calcite-space-3xl: 2rem;
155
+ --calcite-space-4xl: 2.75rem;
112
156
  --calcite-z-index-deep: -999999;
113
157
  --calcite-z-index: 1;
114
158
  --calcite-z-index-sticky: 300;