@esri/calcite-design-tokens 3.2.0-next.8 → 3.2.0

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/core.css CHANGED
@@ -564,6 +564,7 @@
564
564
  --calcite-size-relative-162: 162.5%;
565
565
  --calcite-size-relative-200: 200%;
566
566
  --calcite-size-relative-auto: auto;
567
+ --calcite-size-relative-normal: normal;
567
568
  --calcite-z-index-0: -999999;
568
569
  --calcite-z-index-1: 1;
569
570
  --calcite-z-index-3: 300;
package/dist/css/dark.css CHANGED
@@ -9,7 +9,7 @@
9
9
  --calcite-color-foreground-1: #2b2b2b;
10
10
  --calcite-color-foreground-2: #212121;
11
11
  --calcite-color-foreground-3: #141414;
12
- --calcite-color-foreground-current: #2b465f; /** deprecated, use --calcite-color-foreground-highlight instead */
12
+ --calcite-color-foreground-current: #2b465f; /** deprecated, use --calcite-color-surface-highlight instead */
13
13
  --calcite-color-surface-highlight: #2b465f;
14
14
  --calcite-color-transparent: rgba(255, 255, 255, 0);
15
15
  --calcite-color-transparent-hover: rgba(255, 255, 255, 0.12);
@@ -40,7 +40,13 @@
40
40
  --calcite-font-line-height-fixed-base: 16px;
41
41
  --calcite-font-line-height-fixed-lg: 20px;
42
42
  --calcite-font-line-height-fixed-xl: 24px;
43
- --calcite-font-line-height-relative: auto; /** 1 */
43
+ --calcite-font-line-height-fixed-2xl: 32px;
44
+ --calcite-font-line-height-fixed-3xl: 40px;
45
+ --calcite-font-line-height-fixed-4xl: 48px;
46
+ --calcite-font-line-height-fixed-5xl: 64px;
47
+ --calcite-font-line-height-fixed-6xl: 80px;
48
+ --calcite-font-line-height-relative: normal; /** normal */
49
+ --calcite-font-line-height-relative-base: 1; /** 1 */
44
50
  --calcite-font-line-height-relative-tight: 1.25; /** 1.25 */
45
51
  --calcite-font-line-height-relative-snug: 1.375; /** 1.375 */
46
52
  --calcite-font-line-height-relative-normal: 1.5; /** 1.5 */
@@ -45,7 +45,7 @@
45
45
  --calcite-color-transparent-hover: rgba(0, 0, 0, 0.04);
46
46
  --calcite-color-transparent: rgba(0, 0, 0, 0);
47
47
  --calcite-color-surface-highlight: #d6efff;
48
- --calcite-color-foreground-current: #d6efff; /** deprecated, use --calcite-color-foreground-highlight instead */
48
+ --calcite-color-foreground-current: #d6efff; /** deprecated, use --calcite-color-surface-highlight instead */
49
49
  --calcite-color-foreground-3: #ebebeb;
50
50
  --calcite-color-foreground-2: #f2f2f2;
51
51
  --calcite-color-foreground-1: #ffffff;
@@ -93,7 +93,7 @@
93
93
  --calcite-color-transparent-hover: rgba(0, 0, 0, 0.04);
94
94
  --calcite-color-transparent: rgba(0, 0, 0, 0);
95
95
  --calcite-color-surface-highlight: #d6efff;
96
- --calcite-color-foreground-current: #d6efff; /** deprecated, use --calcite-color-foreground-highlight instead */
96
+ --calcite-color-foreground-current: #d6efff; /** deprecated, use --calcite-color-surface-highlight instead */
97
97
  --calcite-color-foreground-3: #ebebeb;
98
98
  --calcite-color-foreground-2: #f2f2f2;
99
99
  --calcite-color-foreground-1: #ffffff;
@@ -142,7 +142,7 @@
142
142
  --calcite-color-transparent-hover: rgba(255, 255, 255, 0.12);
143
143
  --calcite-color-transparent: rgba(255, 255, 255, 0);
144
144
  --calcite-color-surface-highlight: #2b465f;
145
- --calcite-color-foreground-current: #2b465f; /** deprecated, use --calcite-color-foreground-highlight instead */
145
+ --calcite-color-foreground-current: #2b465f; /** deprecated, use --calcite-color-surface-highlight instead */
146
146
  --calcite-color-foreground-3: #141414;
147
147
  --calcite-color-foreground-2: #212121;
148
148
  --calcite-color-foreground-1: #2b2b2b;
@@ -190,7 +190,7 @@
190
190
  --calcite-color-transparent-hover: rgba(0, 0, 0, 0.04);
191
191
  --calcite-color-transparent: rgba(0, 0, 0, 0);
192
192
  --calcite-color-surface-highlight: #d6efff;
193
- --calcite-color-foreground-current: #d6efff; /** deprecated, use --calcite-color-foreground-highlight instead */
193
+ --calcite-color-foreground-current: #d6efff; /** deprecated, use --calcite-color-surface-highlight instead */
194
194
  --calcite-color-foreground-3: #ebebeb;
195
195
  --calcite-color-foreground-2: #f2f2f2;
196
196
  --calcite-color-foreground-1: #ffffff;
@@ -237,7 +237,7 @@
237
237
  --calcite-color-transparent-hover: rgba(255, 255, 255, 0.12);
238
238
  --calcite-color-transparent: rgba(255, 255, 255, 0);
239
239
  --calcite-color-surface-highlight: #2b465f;
240
- --calcite-color-foreground-current: #2b465f; /** deprecated, use --calcite-color-foreground-highlight instead */
240
+ --calcite-color-foreground-current: #2b465f; /** deprecated, use --calcite-color-surface-highlight instead */
241
241
  --calcite-color-foreground-3: #141414;
242
242
  --calcite-color-foreground-2: #212121;
243
243
  --calcite-color-foreground-1: #2b2b2b;
@@ -9,7 +9,7 @@
9
9
  --calcite-color-foreground-1: #ffffff;
10
10
  --calcite-color-foreground-2: #f2f2f2;
11
11
  --calcite-color-foreground-3: #ebebeb;
12
- --calcite-color-foreground-current: #d6efff; /** deprecated, use --calcite-color-foreground-highlight instead */
12
+ --calcite-color-foreground-current: #d6efff; /** deprecated, use --calcite-color-surface-highlight instead */
13
13
  --calcite-color-surface-highlight: #d6efff;
14
14
  --calcite-color-transparent: rgba(0, 0, 0, 0);
15
15
  --calcite-color-transparent-hover: rgba(0, 0, 0, 0.04);
@@ -38,7 +38,13 @@
38
38
  --calcite-font-line-height-fixed-base: 16px;
39
39
  --calcite-font-line-height-fixed-lg: 20px;
40
40
  --calcite-font-line-height-fixed-xl: 24px;
41
- --calcite-font-line-height-relative: auto; /** 1 */
41
+ --calcite-font-line-height-fixed-2xl: 32px;
42
+ --calcite-font-line-height-fixed-3xl: 40px;
43
+ --calcite-font-line-height-fixed-4xl: 48px;
44
+ --calcite-font-line-height-fixed-5xl: 64px;
45
+ --calcite-font-line-height-fixed-6xl: 80px;
46
+ --calcite-font-line-height-relative: normal; /** normal */
47
+ --calcite-font-line-height-relative-base: 1; /** 1 */
42
48
  --calcite-font-line-height-relative-tight: 1.25; /** 1.25 */
43
49
  --calcite-font-line-height-relative-snug: 1.375; /** 1.375 */
44
50
  --calcite-font-line-height-relative-normal: 1.5; /** 1.5 */
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": 1752297996447,
2
+ "timestamp": 1758065499737,
3
3
  "tokens": [
4
4
  {
5
5
  "key": "{core.color.neutral.blk-000}",
@@ -16371,6 +16371,33 @@
16371
16371
  "name": "Size Relative Auto",
16372
16372
  "path": ["core", "size", "relative", "auto"]
16373
16373
  },
16374
+ {
16375
+ "key": "{core.size.relative.normal}",
16376
+ "value": "normal",
16377
+ "type": "dimension",
16378
+ "attributes": {
16379
+ "category": "size",
16380
+ "type": "size",
16381
+ "item": "relative",
16382
+ "subitem": "normal",
16383
+ "names": {
16384
+ "scss": "$calcite-size-relative-normal",
16385
+ "css": "var(--calcite-size-relative-normal)",
16386
+ "js": "core.size.relative.normal",
16387
+ "docs": "core.size.relative.normal",
16388
+ "es6": "calciteSizeRelativeNormal"
16389
+ },
16390
+ "calcite-schema": {
16391
+ "system": "calcite",
16392
+ "tier": "core",
16393
+ "type": "dimension"
16394
+ }
16395
+ },
16396
+ "filePath": "src/tokens/core/size.json",
16397
+ "isSource": false,
16398
+ "name": "Size Relative Normal",
16399
+ "path": ["core", "size", "relative", "normal"]
16400
+ },
16374
16401
  {
16375
16402
  "key": "{core.z-index.0}",
16376
16403
  "value": "-999999",
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": 1752297994629,
2
+ "timestamp": 1758065497774,
3
3
  "tokens": [
4
4
  {
5
5
  "key": "{semantic.color.background.default}",
@@ -152,13 +152,13 @@
152
152
  "item": "foreground",
153
153
  "subitem": "current",
154
154
  "value": "#2b465f",
155
- "description": "deprecated, use --calcite-color-foreground-highlight instead",
155
+ "description": "deprecated, use --calcite-color-surface-highlight instead",
156
156
  "filePath": "src/tokens/semantic/color/dark.json",
157
157
  "isSource": true,
158
158
  "key": "{semantic.color.foreground.current}",
159
159
  "name": "calcite-semantic-color-foreground-current",
160
160
  "path": ["semantic", "color", "foreground", "current"],
161
- "comment": "deprecated, use --calcite-color-foreground-highlight instead",
161
+ "comment": "deprecated, use --calcite-color-surface-highlight instead",
162
162
  "names": {
163
163
  "scss": "$calcite-color-foreground-current",
164
164
  "css": "var(--calcite-color-foreground-current)",
@@ -172,12 +172,12 @@
172
172
  "type": "color"
173
173
  }
174
174
  },
175
- "description": "deprecated, use --calcite-color-foreground-highlight instead",
175
+ "description": "deprecated, use --calcite-color-surface-highlight instead",
176
176
  "filePath": "src/tokens/semantic/color/dark.json",
177
177
  "isSource": true,
178
178
  "name": "Color Foreground Current",
179
179
  "path": ["semantic", "color", "foreground", "current"],
180
- "comment": "deprecated, use --calcite-color-foreground-highlight instead"
180
+ "comment": "deprecated, use --calcite-color-surface-highlight instead"
181
181
  },
182
182
  {
183
183
  "key": "{semantic.color.surface.highlight}",
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": 1752297996265,
2
+ "timestamp": 1758065499513,
3
3
  "tokens": [
4
4
  {
5
5
  "key": "{semantic.color.background.default}",
@@ -152,13 +152,13 @@
152
152
  "item": "foreground",
153
153
  "subitem": "current",
154
154
  "value": "#d6efff",
155
- "description": "deprecated, use --calcite-color-foreground-highlight instead",
155
+ "description": "deprecated, use --calcite-color-surface-highlight instead",
156
156
  "filePath": "src/tokens/semantic/color/light.json",
157
157
  "isSource": false,
158
158
  "key": "{semantic.color.foreground.current}",
159
159
  "name": "calcite-semantic-color-foreground-current",
160
160
  "path": ["semantic", "color", "foreground", "current"],
161
- "comment": "deprecated, use --calcite-color-foreground-highlight instead",
161
+ "comment": "deprecated, use --calcite-color-surface-highlight instead",
162
162
  "names": {
163
163
  "scss": "$calcite-color-foreground-current",
164
164
  "css": "var(--calcite-color-foreground-current)",
@@ -172,12 +172,12 @@
172
172
  "type": "color"
173
173
  }
174
174
  },
175
- "description": "deprecated, use --calcite-color-foreground-highlight instead",
175
+ "description": "deprecated, use --calcite-color-surface-highlight instead",
176
176
  "filePath": "src/tokens/semantic/color/light.json",
177
177
  "isSource": false,
178
178
  "name": "Color Foreground Current",
179
179
  "path": ["semantic", "color", "foreground", "current"],
180
- "comment": "deprecated, use --calcite-color-foreground-highlight instead"
180
+ "comment": "deprecated, use --calcite-color-surface-highlight instead"
181
181
  },
182
182
  {
183
183
  "key": "{semantic.color.surface.highlight}",
@@ -2876,11 +2876,161 @@
2876
2876
  "name": "Font Line Height Fixed Xl",
2877
2877
  "path": ["semantic", "font", "line-height", "fixed", "xl"]
2878
2878
  },
2879
+ {
2880
+ "key": "{semantic.font.line-height.fixed.2xl}",
2881
+ "value": "32px",
2882
+ "type": "lineHeight",
2883
+ "attributes": {
2884
+ "category": "font",
2885
+ "group": "line-height",
2886
+ "kind": "fixed",
2887
+ "type": "font",
2888
+ "item": "line-height",
2889
+ "subitem": "fixed",
2890
+ "state": "2xl",
2891
+ "names": {
2892
+ "scss": "$calcite-font-line-height-fixed-2xl",
2893
+ "css": "var(--calcite-font-line-height-fixed-2xl)",
2894
+ "js": "semantic.font.line-height.fixed.2xl",
2895
+ "docs": "semantic.font.line-height.fixed.2xl",
2896
+ "es6": "calciteFontLineHeightFixed2xl"
2897
+ },
2898
+ "calcite-schema": {
2899
+ "system": "calcite",
2900
+ "tier": "semantic",
2901
+ "type": "lineHeight"
2902
+ }
2903
+ },
2904
+ "filePath": "src/tokens/semantic/font.json",
2905
+ "isSource": true,
2906
+ "name": "Font Line Height Fixed 2xl",
2907
+ "path": ["semantic", "font", "line-height", "fixed", "2xl"]
2908
+ },
2909
+ {
2910
+ "key": "{semantic.font.line-height.fixed.3xl}",
2911
+ "value": "40px",
2912
+ "type": "lineHeight",
2913
+ "attributes": {
2914
+ "category": "font",
2915
+ "group": "line-height",
2916
+ "kind": "fixed",
2917
+ "type": "font",
2918
+ "item": "line-height",
2919
+ "subitem": "fixed",
2920
+ "state": "3xl",
2921
+ "names": {
2922
+ "scss": "$calcite-font-line-height-fixed-3xl",
2923
+ "css": "var(--calcite-font-line-height-fixed-3xl)",
2924
+ "js": "semantic.font.line-height.fixed.3xl",
2925
+ "docs": "semantic.font.line-height.fixed.3xl",
2926
+ "es6": "calciteFontLineHeightFixed3xl"
2927
+ },
2928
+ "calcite-schema": {
2929
+ "system": "calcite",
2930
+ "tier": "semantic",
2931
+ "type": "lineHeight"
2932
+ }
2933
+ },
2934
+ "filePath": "src/tokens/semantic/font.json",
2935
+ "isSource": true,
2936
+ "name": "Font Line Height Fixed 3xl",
2937
+ "path": ["semantic", "font", "line-height", "fixed", "3xl"]
2938
+ },
2939
+ {
2940
+ "key": "{semantic.font.line-height.fixed.4xl}",
2941
+ "value": "48px",
2942
+ "type": "lineHeight",
2943
+ "attributes": {
2944
+ "category": "font",
2945
+ "group": "line-height",
2946
+ "kind": "fixed",
2947
+ "type": "font",
2948
+ "item": "line-height",
2949
+ "subitem": "fixed",
2950
+ "state": "4xl",
2951
+ "names": {
2952
+ "scss": "$calcite-font-line-height-fixed-4xl",
2953
+ "css": "var(--calcite-font-line-height-fixed-4xl)",
2954
+ "js": "semantic.font.line-height.fixed.4xl",
2955
+ "docs": "semantic.font.line-height.fixed.4xl",
2956
+ "es6": "calciteFontLineHeightFixed4xl"
2957
+ },
2958
+ "calcite-schema": {
2959
+ "system": "calcite",
2960
+ "tier": "semantic",
2961
+ "type": "lineHeight"
2962
+ }
2963
+ },
2964
+ "filePath": "src/tokens/semantic/font.json",
2965
+ "isSource": true,
2966
+ "name": "Font Line Height Fixed 4xl",
2967
+ "path": ["semantic", "font", "line-height", "fixed", "4xl"]
2968
+ },
2969
+ {
2970
+ "key": "{semantic.font.line-height.fixed.5xl}",
2971
+ "value": "64px",
2972
+ "type": "lineHeight",
2973
+ "attributes": {
2974
+ "category": "font",
2975
+ "group": "line-height",
2976
+ "kind": "fixed",
2977
+ "type": "font",
2978
+ "item": "line-height",
2979
+ "subitem": "fixed",
2980
+ "state": "5xl",
2981
+ "names": {
2982
+ "scss": "$calcite-font-line-height-fixed-5xl",
2983
+ "css": "var(--calcite-font-line-height-fixed-5xl)",
2984
+ "js": "semantic.font.line-height.fixed.5xl",
2985
+ "docs": "semantic.font.line-height.fixed.5xl",
2986
+ "es6": "calciteFontLineHeightFixed5xl"
2987
+ },
2988
+ "calcite-schema": {
2989
+ "system": "calcite",
2990
+ "tier": "semantic",
2991
+ "type": "lineHeight"
2992
+ }
2993
+ },
2994
+ "filePath": "src/tokens/semantic/font.json",
2995
+ "isSource": true,
2996
+ "name": "Font Line Height Fixed 5xl",
2997
+ "path": ["semantic", "font", "line-height", "fixed", "5xl"]
2998
+ },
2999
+ {
3000
+ "key": "{semantic.font.line-height.fixed.6xl}",
3001
+ "value": "80px",
3002
+ "type": "lineHeight",
3003
+ "attributes": {
3004
+ "category": "font",
3005
+ "group": "line-height",
3006
+ "kind": "fixed",
3007
+ "type": "font",
3008
+ "item": "line-height",
3009
+ "subitem": "fixed",
3010
+ "state": "6xl",
3011
+ "names": {
3012
+ "scss": "$calcite-font-line-height-fixed-6xl",
3013
+ "css": "var(--calcite-font-line-height-fixed-6xl)",
3014
+ "js": "semantic.font.line-height.fixed.6xl",
3015
+ "docs": "semantic.font.line-height.fixed.6xl",
3016
+ "es6": "calciteFontLineHeightFixed6xl"
3017
+ },
3018
+ "calcite-schema": {
3019
+ "system": "calcite",
3020
+ "tier": "semantic",
3021
+ "type": "lineHeight"
3022
+ }
3023
+ },
3024
+ "filePath": "src/tokens/semantic/font.json",
3025
+ "isSource": true,
3026
+ "name": "Font Line Height Fixed 6xl",
3027
+ "path": ["semantic", "font", "line-height", "fixed", "6xl"]
3028
+ },
2879
3029
  {
2880
3030
  "key": "{semantic.font.line-height.relative.default}",
2881
- "value": "auto",
3031
+ "value": "normal",
2882
3032
  "type": "lineHeight",
2883
- "description": "1",
3033
+ "description": "normal",
2884
3034
  "attributes": {
2885
3035
  "category": "font",
2886
3036
  "group": "line-height",
@@ -2889,14 +3039,14 @@
2889
3039
  "item": "line-height",
2890
3040
  "subitem": "relative",
2891
3041
  "state": "default",
2892
- "value": "auto",
2893
- "description": "1",
3042
+ "value": "normal",
3043
+ "description": "normal",
2894
3044
  "filePath": "src/tokens/semantic/font.json",
2895
3045
  "isSource": true,
2896
3046
  "key": "{semantic.font.line-height.relative.default}",
2897
3047
  "name": "calcite-semantic-font-line-height-relative-default",
2898
3048
  "path": ["semantic", "font", "line-height", "relative", "default"],
2899
- "comment": "1",
3049
+ "comment": "normal",
2900
3050
  "names": {
2901
3051
  "scss": "$calcite-font-line-height-relative",
2902
3052
  "css": "var(--calcite-font-line-height-relative)",
@@ -2914,6 +3064,46 @@
2914
3064
  "isSource": true,
2915
3065
  "name": "Font Line Height Relative",
2916
3066
  "path": ["semantic", "font", "line-height", "relative", "default"],
3067
+ "comment": "normal"
3068
+ },
3069
+ {
3070
+ "key": "{semantic.font.line-height.relative.base}",
3071
+ "value": "1",
3072
+ "type": "lineHeight",
3073
+ "description": "1",
3074
+ "attributes": {
3075
+ "category": "font",
3076
+ "group": "line-height",
3077
+ "kind": "relative",
3078
+ "type": "lineHeight",
3079
+ "item": "line-height",
3080
+ "subitem": "relative",
3081
+ "state": "base",
3082
+ "value": "100%",
3083
+ "description": "1",
3084
+ "filePath": "src/tokens/semantic/font.json",
3085
+ "isSource": true,
3086
+ "key": "{semantic.font.line-height.relative.base}",
3087
+ "name": "calcite-semantic-font-line-height-relative-base",
3088
+ "path": ["semantic", "font", "line-height", "relative", "base"],
3089
+ "comment": "1",
3090
+ "names": {
3091
+ "scss": "$calcite-font-line-height-relative-base",
3092
+ "css": "var(--calcite-font-line-height-relative-base)",
3093
+ "js": "semantic.font.line-height.relative.base",
3094
+ "docs": "semantic.font.line-height.relative.base",
3095
+ "es6": "calciteFontLineHeightRelativeBase"
3096
+ },
3097
+ "calcite-schema": {
3098
+ "system": "calcite",
3099
+ "tier": "semantic",
3100
+ "type": "lineHeight"
3101
+ }
3102
+ },
3103
+ "filePath": "src/tokens/semantic/font.json",
3104
+ "isSource": true,
3105
+ "name": "Font Line Height Relative Base",
3106
+ "path": ["semantic", "font", "line-height", "relative", "base"],
2917
3107
  "comment": "1"
2918
3108
  },
2919
3109
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": 1752297995483,
2
+ "timestamp": 1758065498698,
3
3
  "tokens": [
4
4
  {
5
5
  "key": "{semantic.color.background.default}",
@@ -152,13 +152,13 @@
152
152
  "item": "foreground",
153
153
  "subitem": "current",
154
154
  "value": "#d6efff",
155
- "description": "deprecated, use --calcite-color-foreground-highlight instead",
155
+ "description": "deprecated, use --calcite-color-surface-highlight instead",
156
156
  "filePath": "src/tokens/semantic/color/light.json",
157
157
  "isSource": true,
158
158
  "key": "{semantic.color.foreground.current}",
159
159
  "name": "calcite-semantic-color-foreground-current",
160
160
  "path": ["semantic", "color", "foreground", "current"],
161
- "comment": "deprecated, use --calcite-color-foreground-highlight instead",
161
+ "comment": "deprecated, use --calcite-color-surface-highlight instead",
162
162
  "names": {
163
163
  "scss": "$calcite-color-foreground-current",
164
164
  "css": "var(--calcite-color-foreground-current)",
@@ -172,12 +172,12 @@
172
172
  "type": "color"
173
173
  }
174
174
  },
175
- "description": "deprecated, use --calcite-color-foreground-highlight instead",
175
+ "description": "deprecated, use --calcite-color-surface-highlight instead",
176
176
  "filePath": "src/tokens/semantic/color/light.json",
177
177
  "isSource": true,
178
178
  "name": "Color Foreground Current",
179
179
  "path": ["semantic", "color", "foreground", "current"],
180
- "comment": "deprecated, use --calcite-color-foreground-highlight instead"
180
+ "comment": "deprecated, use --calcite-color-surface-highlight instead"
181
181
  },
182
182
  {
183
183
  "key": "{semantic.color.surface.highlight}",