@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 +1 -0
- package/dist/css/dark.css +1 -1
- package/dist/css/global.css +7 -1
- package/dist/css/index.css +5 -5
- package/dist/css/light.css +1 -1
- package/dist/css/semantic.css +7 -1
- package/dist/docs/core.json +28 -1
- package/dist/docs/dark.json +5 -5
- package/dist/docs/global.json +200 -10
- package/dist/docs/light.json +5 -5
- package/dist/docs/semantic.json +196 -6
- package/dist/es6/core.d.ts +1 -0
- package/dist/es6/core.js +1 -0
- package/dist/es6/dark.d.ts +1 -1
- package/dist/es6/dark.js +1 -1
- package/dist/es6/global.d.ts +9 -2
- package/dist/es6/global.js +8 -2
- package/dist/es6/light.d.ts +1 -1
- package/dist/es6/light.js +1 -1
- package/dist/es6/semantic.d.ts +8 -1
- package/dist/es6/semantic.js +7 -1
- package/dist/js/core.d.ts +1 -0
- package/dist/js/core.js +35 -0
- package/dist/js/dark.d.ts +1 -1
- package/dist/js/dark.js +5 -6
- package/dist/js/global.d.ts +6 -0
- package/dist/js/global.js +263 -13
- package/dist/js/light.d.ts +1 -1
- package/dist/js/light.js +5 -6
- package/dist/js/semantic.d.ts +6 -0
- package/dist/js/semantic.js +258 -7
- package/dist/scss/core.scss +1 -0
- package/dist/scss/dark.scss +1 -1
- package/dist/scss/global.scss +7 -1
- package/dist/scss/index.scss +2 -2
- package/dist/scss/light.scss +1 -1
- package/dist/scss/semantic.scss +7 -1
- package/package.json +5 -5
package/dist/docs/semantic.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp":
|
|
2
|
+
"timestamp": 1758065499678,
|
|
3
3
|
"tokens": [
|
|
4
4
|
{
|
|
5
5
|
"key": "{semantic.border.width.none}",
|
|
@@ -1065,11 +1065,161 @@
|
|
|
1065
1065
|
"name": "Font Line Height Fixed Xl",
|
|
1066
1066
|
"path": ["semantic", "font", "line-height", "fixed", "xl"]
|
|
1067
1067
|
},
|
|
1068
|
+
{
|
|
1069
|
+
"key": "{semantic.font.line-height.fixed.2xl}",
|
|
1070
|
+
"value": "32px",
|
|
1071
|
+
"type": "lineHeight",
|
|
1072
|
+
"attributes": {
|
|
1073
|
+
"category": "font",
|
|
1074
|
+
"group": "line-height",
|
|
1075
|
+
"kind": "fixed",
|
|
1076
|
+
"type": "font",
|
|
1077
|
+
"item": "line-height",
|
|
1078
|
+
"subitem": "fixed",
|
|
1079
|
+
"state": "2xl",
|
|
1080
|
+
"names": {
|
|
1081
|
+
"scss": "$calcite-font-line-height-fixed-2xl",
|
|
1082
|
+
"css": "var(--calcite-font-line-height-fixed-2xl)",
|
|
1083
|
+
"js": "semantic.font.line-height.fixed.2xl",
|
|
1084
|
+
"docs": "semantic.font.line-height.fixed.2xl",
|
|
1085
|
+
"es6": "calciteFontLineHeightFixed2xl"
|
|
1086
|
+
},
|
|
1087
|
+
"calcite-schema": {
|
|
1088
|
+
"system": "calcite",
|
|
1089
|
+
"tier": "semantic",
|
|
1090
|
+
"type": "lineHeight"
|
|
1091
|
+
}
|
|
1092
|
+
},
|
|
1093
|
+
"filePath": "src/tokens/semantic/font.json",
|
|
1094
|
+
"isSource": true,
|
|
1095
|
+
"name": "Font Line Height Fixed 2xl",
|
|
1096
|
+
"path": ["semantic", "font", "line-height", "fixed", "2xl"]
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
"key": "{semantic.font.line-height.fixed.3xl}",
|
|
1100
|
+
"value": "40px",
|
|
1101
|
+
"type": "lineHeight",
|
|
1102
|
+
"attributes": {
|
|
1103
|
+
"category": "font",
|
|
1104
|
+
"group": "line-height",
|
|
1105
|
+
"kind": "fixed",
|
|
1106
|
+
"type": "font",
|
|
1107
|
+
"item": "line-height",
|
|
1108
|
+
"subitem": "fixed",
|
|
1109
|
+
"state": "3xl",
|
|
1110
|
+
"names": {
|
|
1111
|
+
"scss": "$calcite-font-line-height-fixed-3xl",
|
|
1112
|
+
"css": "var(--calcite-font-line-height-fixed-3xl)",
|
|
1113
|
+
"js": "semantic.font.line-height.fixed.3xl",
|
|
1114
|
+
"docs": "semantic.font.line-height.fixed.3xl",
|
|
1115
|
+
"es6": "calciteFontLineHeightFixed3xl"
|
|
1116
|
+
},
|
|
1117
|
+
"calcite-schema": {
|
|
1118
|
+
"system": "calcite",
|
|
1119
|
+
"tier": "semantic",
|
|
1120
|
+
"type": "lineHeight"
|
|
1121
|
+
}
|
|
1122
|
+
},
|
|
1123
|
+
"filePath": "src/tokens/semantic/font.json",
|
|
1124
|
+
"isSource": true,
|
|
1125
|
+
"name": "Font Line Height Fixed 3xl",
|
|
1126
|
+
"path": ["semantic", "font", "line-height", "fixed", "3xl"]
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
"key": "{semantic.font.line-height.fixed.4xl}",
|
|
1130
|
+
"value": "48px",
|
|
1131
|
+
"type": "lineHeight",
|
|
1132
|
+
"attributes": {
|
|
1133
|
+
"category": "font",
|
|
1134
|
+
"group": "line-height",
|
|
1135
|
+
"kind": "fixed",
|
|
1136
|
+
"type": "font",
|
|
1137
|
+
"item": "line-height",
|
|
1138
|
+
"subitem": "fixed",
|
|
1139
|
+
"state": "4xl",
|
|
1140
|
+
"names": {
|
|
1141
|
+
"scss": "$calcite-font-line-height-fixed-4xl",
|
|
1142
|
+
"css": "var(--calcite-font-line-height-fixed-4xl)",
|
|
1143
|
+
"js": "semantic.font.line-height.fixed.4xl",
|
|
1144
|
+
"docs": "semantic.font.line-height.fixed.4xl",
|
|
1145
|
+
"es6": "calciteFontLineHeightFixed4xl"
|
|
1146
|
+
},
|
|
1147
|
+
"calcite-schema": {
|
|
1148
|
+
"system": "calcite",
|
|
1149
|
+
"tier": "semantic",
|
|
1150
|
+
"type": "lineHeight"
|
|
1151
|
+
}
|
|
1152
|
+
},
|
|
1153
|
+
"filePath": "src/tokens/semantic/font.json",
|
|
1154
|
+
"isSource": true,
|
|
1155
|
+
"name": "Font Line Height Fixed 4xl",
|
|
1156
|
+
"path": ["semantic", "font", "line-height", "fixed", "4xl"]
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
"key": "{semantic.font.line-height.fixed.5xl}",
|
|
1160
|
+
"value": "64px",
|
|
1161
|
+
"type": "lineHeight",
|
|
1162
|
+
"attributes": {
|
|
1163
|
+
"category": "font",
|
|
1164
|
+
"group": "line-height",
|
|
1165
|
+
"kind": "fixed",
|
|
1166
|
+
"type": "font",
|
|
1167
|
+
"item": "line-height",
|
|
1168
|
+
"subitem": "fixed",
|
|
1169
|
+
"state": "5xl",
|
|
1170
|
+
"names": {
|
|
1171
|
+
"scss": "$calcite-font-line-height-fixed-5xl",
|
|
1172
|
+
"css": "var(--calcite-font-line-height-fixed-5xl)",
|
|
1173
|
+
"js": "semantic.font.line-height.fixed.5xl",
|
|
1174
|
+
"docs": "semantic.font.line-height.fixed.5xl",
|
|
1175
|
+
"es6": "calciteFontLineHeightFixed5xl"
|
|
1176
|
+
},
|
|
1177
|
+
"calcite-schema": {
|
|
1178
|
+
"system": "calcite",
|
|
1179
|
+
"tier": "semantic",
|
|
1180
|
+
"type": "lineHeight"
|
|
1181
|
+
}
|
|
1182
|
+
},
|
|
1183
|
+
"filePath": "src/tokens/semantic/font.json",
|
|
1184
|
+
"isSource": true,
|
|
1185
|
+
"name": "Font Line Height Fixed 5xl",
|
|
1186
|
+
"path": ["semantic", "font", "line-height", "fixed", "5xl"]
|
|
1187
|
+
},
|
|
1188
|
+
{
|
|
1189
|
+
"key": "{semantic.font.line-height.fixed.6xl}",
|
|
1190
|
+
"value": "80px",
|
|
1191
|
+
"type": "lineHeight",
|
|
1192
|
+
"attributes": {
|
|
1193
|
+
"category": "font",
|
|
1194
|
+
"group": "line-height",
|
|
1195
|
+
"kind": "fixed",
|
|
1196
|
+
"type": "font",
|
|
1197
|
+
"item": "line-height",
|
|
1198
|
+
"subitem": "fixed",
|
|
1199
|
+
"state": "6xl",
|
|
1200
|
+
"names": {
|
|
1201
|
+
"scss": "$calcite-font-line-height-fixed-6xl",
|
|
1202
|
+
"css": "var(--calcite-font-line-height-fixed-6xl)",
|
|
1203
|
+
"js": "semantic.font.line-height.fixed.6xl",
|
|
1204
|
+
"docs": "semantic.font.line-height.fixed.6xl",
|
|
1205
|
+
"es6": "calciteFontLineHeightFixed6xl"
|
|
1206
|
+
},
|
|
1207
|
+
"calcite-schema": {
|
|
1208
|
+
"system": "calcite",
|
|
1209
|
+
"tier": "semantic",
|
|
1210
|
+
"type": "lineHeight"
|
|
1211
|
+
}
|
|
1212
|
+
},
|
|
1213
|
+
"filePath": "src/tokens/semantic/font.json",
|
|
1214
|
+
"isSource": true,
|
|
1215
|
+
"name": "Font Line Height Fixed 6xl",
|
|
1216
|
+
"path": ["semantic", "font", "line-height", "fixed", "6xl"]
|
|
1217
|
+
},
|
|
1068
1218
|
{
|
|
1069
1219
|
"key": "{semantic.font.line-height.relative.default}",
|
|
1070
|
-
"value": "
|
|
1220
|
+
"value": "normal",
|
|
1071
1221
|
"type": "lineHeight",
|
|
1072
|
-
"description": "
|
|
1222
|
+
"description": "normal",
|
|
1073
1223
|
"attributes": {
|
|
1074
1224
|
"category": "font",
|
|
1075
1225
|
"group": "line-height",
|
|
@@ -1078,14 +1228,14 @@
|
|
|
1078
1228
|
"item": "line-height",
|
|
1079
1229
|
"subitem": "relative",
|
|
1080
1230
|
"state": "default",
|
|
1081
|
-
"value": "
|
|
1082
|
-
"description": "
|
|
1231
|
+
"value": "normal",
|
|
1232
|
+
"description": "normal",
|
|
1083
1233
|
"filePath": "src/tokens/semantic/font.json",
|
|
1084
1234
|
"isSource": true,
|
|
1085
1235
|
"key": "{semantic.font.line-height.relative.default}",
|
|
1086
1236
|
"name": "calcite-semantic-font-line-height-relative-default",
|
|
1087
1237
|
"path": ["semantic", "font", "line-height", "relative", "default"],
|
|
1088
|
-
"comment": "
|
|
1238
|
+
"comment": "normal",
|
|
1089
1239
|
"names": {
|
|
1090
1240
|
"scss": "$calcite-font-line-height-relative",
|
|
1091
1241
|
"css": "var(--calcite-font-line-height-relative)",
|
|
@@ -1103,6 +1253,46 @@
|
|
|
1103
1253
|
"isSource": true,
|
|
1104
1254
|
"name": "Font Line Height Relative",
|
|
1105
1255
|
"path": ["semantic", "font", "line-height", "relative", "default"],
|
|
1256
|
+
"comment": "normal"
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
"key": "{semantic.font.line-height.relative.base}",
|
|
1260
|
+
"value": "1",
|
|
1261
|
+
"type": "lineHeight",
|
|
1262
|
+
"description": "1",
|
|
1263
|
+
"attributes": {
|
|
1264
|
+
"category": "font",
|
|
1265
|
+
"group": "line-height",
|
|
1266
|
+
"kind": "relative",
|
|
1267
|
+
"type": "lineHeight",
|
|
1268
|
+
"item": "line-height",
|
|
1269
|
+
"subitem": "relative",
|
|
1270
|
+
"state": "base",
|
|
1271
|
+
"value": "100%",
|
|
1272
|
+
"description": "1",
|
|
1273
|
+
"filePath": "src/tokens/semantic/font.json",
|
|
1274
|
+
"isSource": true,
|
|
1275
|
+
"key": "{semantic.font.line-height.relative.base}",
|
|
1276
|
+
"name": "calcite-semantic-font-line-height-relative-base",
|
|
1277
|
+
"path": ["semantic", "font", "line-height", "relative", "base"],
|
|
1278
|
+
"comment": "1",
|
|
1279
|
+
"names": {
|
|
1280
|
+
"scss": "$calcite-font-line-height-relative-base",
|
|
1281
|
+
"css": "var(--calcite-font-line-height-relative-base)",
|
|
1282
|
+
"js": "semantic.font.line-height.relative.base",
|
|
1283
|
+
"docs": "semantic.font.line-height.relative.base",
|
|
1284
|
+
"es6": "calciteFontLineHeightRelativeBase"
|
|
1285
|
+
},
|
|
1286
|
+
"calcite-schema": {
|
|
1287
|
+
"system": "calcite",
|
|
1288
|
+
"tier": "semantic",
|
|
1289
|
+
"type": "lineHeight"
|
|
1290
|
+
}
|
|
1291
|
+
},
|
|
1292
|
+
"filePath": "src/tokens/semantic/font.json",
|
|
1293
|
+
"isSource": true,
|
|
1294
|
+
"name": "Font Line Height Relative Base",
|
|
1295
|
+
"path": ["semantic", "font", "line-height", "relative", "base"],
|
|
1106
1296
|
"comment": "1"
|
|
1107
1297
|
},
|
|
1108
1298
|
{
|
package/dist/es6/core.d.ts
CHANGED
|
@@ -617,6 +617,7 @@ export const calciteSizeRelative150: string;
|
|
|
617
617
|
export const calciteSizeRelative162: string;
|
|
618
618
|
export const calciteSizeRelative200: string;
|
|
619
619
|
export const calciteSizeRelativeAuto: string;
|
|
620
|
+
export const calciteSizeRelativeNormal: string;
|
|
620
621
|
export const calciteZIndex0: string;
|
|
621
622
|
export const calciteZIndex1: string;
|
|
622
623
|
export const calciteZIndex3: string;
|
package/dist/es6/core.js
CHANGED
|
@@ -598,6 +598,7 @@ export const calciteSizeRelative150 = "150%";
|
|
|
598
598
|
export const calciteSizeRelative162 = "162.5%";
|
|
599
599
|
export const calciteSizeRelative200 = "200%";
|
|
600
600
|
export const calciteSizeRelativeAuto = "auto";
|
|
601
|
+
export const calciteSizeRelativeNormal = "normal";
|
|
601
602
|
export const calciteZIndex0 = "-999999";
|
|
602
603
|
export const calciteZIndex1 = "1";
|
|
603
604
|
export const calciteZIndex3 = "300";
|
package/dist/es6/dark.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export const calciteColorBackgroundNone: string;
|
|
|
8
8
|
export const calciteColorForeground1: string;
|
|
9
9
|
export const calciteColorForeground2: string;
|
|
10
10
|
export const calciteColorForeground3: string;
|
|
11
|
-
/** deprecated, use --calcite-color-
|
|
11
|
+
/** deprecated, use --calcite-color-surface-highlight instead */
|
|
12
12
|
export const calciteColorForegroundCurrent: string;
|
|
13
13
|
export const calciteColorSurfaceHighlight: string;
|
|
14
14
|
export const calciteColorTransparent: string;
|
package/dist/es6/dark.js
CHANGED
|
@@ -8,7 +8,7 @@ export const calciteColorBackgroundNone = "rgba(255, 255, 255, 0)";
|
|
|
8
8
|
export const calciteColorForeground1 = "#2b2b2b";
|
|
9
9
|
export const calciteColorForeground2 = "#212121";
|
|
10
10
|
export const calciteColorForeground3 = "#141414";
|
|
11
|
-
export const calciteColorForegroundCurrent = "#2b465f"; // deprecated, use --calcite-color-
|
|
11
|
+
export const calciteColorForegroundCurrent = "#2b465f"; // deprecated, use --calcite-color-surface-highlight instead
|
|
12
12
|
export const calciteColorSurfaceHighlight = "#2b465f";
|
|
13
13
|
export const calciteColorTransparent = "rgba(255, 255, 255, 0)";
|
|
14
14
|
export const calciteColorTransparentHover = "rgba(255, 255, 255, 0.12)";
|
package/dist/es6/global.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export const calciteColorBackgroundNone: string;
|
|
|
9
9
|
export const calciteColorForeground1: { light: string; dark: string };
|
|
10
10
|
export const calciteColorForeground2: { light: string; dark: string };
|
|
11
11
|
export const calciteColorForeground3: { light: string; dark: string };
|
|
12
|
-
/** deprecated, use --calcite-color-
|
|
12
|
+
/** deprecated, use --calcite-color-surface-highlight instead */
|
|
13
13
|
export const calciteColorForegroundCurrent: { light: string; dark: string };
|
|
14
14
|
export const calciteColorSurfaceHighlight: { light: string; dark: string };
|
|
15
15
|
export const calciteColorTransparent: { light: string; dark: string };
|
|
@@ -125,8 +125,15 @@ export const calciteFontLineHeightFixedSm: string;
|
|
|
125
125
|
export const calciteFontLineHeightFixedBase: string;
|
|
126
126
|
export const calciteFontLineHeightFixedLg: string;
|
|
127
127
|
export const calciteFontLineHeightFixedXl: string;
|
|
128
|
-
|
|
128
|
+
export const calciteFontLineHeightFixed2xl: string;
|
|
129
|
+
export const calciteFontLineHeightFixed3xl: string;
|
|
130
|
+
export const calciteFontLineHeightFixed4xl: string;
|
|
131
|
+
export const calciteFontLineHeightFixed5xl: string;
|
|
132
|
+
export const calciteFontLineHeightFixed6xl: string;
|
|
133
|
+
/** normal */
|
|
129
134
|
export const calciteFontLineHeightRelative: string;
|
|
135
|
+
/** 1 */
|
|
136
|
+
export const calciteFontLineHeightRelativeBase: string;
|
|
130
137
|
/** 1.25 */
|
|
131
138
|
export const calciteFontLineHeightRelativeTight: string;
|
|
132
139
|
/** 1.375 */
|
package/dist/es6/global.js
CHANGED
|
@@ -12,7 +12,7 @@ export const calciteColorForeground3 = { light: "#ebebeb", dark: "#141414" };
|
|
|
12
12
|
export const calciteColorForegroundCurrent = {
|
|
13
13
|
light: "#d6efff",
|
|
14
14
|
dark: "#2b465f",
|
|
15
|
-
}; // deprecated, use --calcite-color-
|
|
15
|
+
}; // deprecated, use --calcite-color-surface-highlight instead
|
|
16
16
|
export const calciteColorSurfaceHighlight = {
|
|
17
17
|
light: "#d6efff",
|
|
18
18
|
dark: "#2b465f",
|
|
@@ -165,7 +165,13 @@ export const calciteFontLineHeightFixedSm = "12px";
|
|
|
165
165
|
export const calciteFontLineHeightFixedBase = "16px";
|
|
166
166
|
export const calciteFontLineHeightFixedLg = "20px";
|
|
167
167
|
export const calciteFontLineHeightFixedXl = "24px";
|
|
168
|
-
export const
|
|
168
|
+
export const calciteFontLineHeightFixed2xl = "32px";
|
|
169
|
+
export const calciteFontLineHeightFixed3xl = "40px";
|
|
170
|
+
export const calciteFontLineHeightFixed4xl = "48px";
|
|
171
|
+
export const calciteFontLineHeightFixed5xl = "64px";
|
|
172
|
+
export const calciteFontLineHeightFixed6xl = "80px";
|
|
173
|
+
export const calciteFontLineHeightRelative = "normal"; // normal
|
|
174
|
+
export const calciteFontLineHeightRelativeBase = "1"; // 1
|
|
169
175
|
export const calciteFontLineHeightRelativeTight = "1.25"; // 1.25
|
|
170
176
|
export const calciteFontLineHeightRelativeSnug = "1.375"; // 1.375
|
|
171
177
|
export const calciteFontLineHeightRelativeNormal = "1.5"; // 1.5
|
package/dist/es6/light.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export const calciteColorBackgroundNone: string;
|
|
|
8
8
|
export const calciteColorForeground1: string;
|
|
9
9
|
export const calciteColorForeground2: string;
|
|
10
10
|
export const calciteColorForeground3: string;
|
|
11
|
-
/** deprecated, use --calcite-color-
|
|
11
|
+
/** deprecated, use --calcite-color-surface-highlight instead */
|
|
12
12
|
export const calciteColorForegroundCurrent: string;
|
|
13
13
|
export const calciteColorSurfaceHighlight: string;
|
|
14
14
|
export const calciteColorTransparent: string;
|
package/dist/es6/light.js
CHANGED
|
@@ -8,7 +8,7 @@ export const calciteColorBackgroundNone = "rgba(255, 255, 255, 0)";
|
|
|
8
8
|
export const calciteColorForeground1 = "#ffffff";
|
|
9
9
|
export const calciteColorForeground2 = "#f2f2f2";
|
|
10
10
|
export const calciteColorForeground3 = "#ebebeb";
|
|
11
|
-
export const calciteColorForegroundCurrent = "#d6efff"; // deprecated, use --calcite-color-
|
|
11
|
+
export const calciteColorForegroundCurrent = "#d6efff"; // deprecated, use --calcite-color-surface-highlight instead
|
|
12
12
|
export const calciteColorSurfaceHighlight = "#d6efff";
|
|
13
13
|
export const calciteColorTransparent = "rgba(0, 0, 0, 0)";
|
|
14
14
|
export const calciteColorTransparentHover = "rgba(0, 0, 0, 0.04)";
|
package/dist/es6/semantic.d.ts
CHANGED
|
@@ -47,8 +47,15 @@ export const calciteFontLineHeightFixedSm: string;
|
|
|
47
47
|
export const calciteFontLineHeightFixedBase: string;
|
|
48
48
|
export const calciteFontLineHeightFixedLg: string;
|
|
49
49
|
export const calciteFontLineHeightFixedXl: string;
|
|
50
|
-
|
|
50
|
+
export const calciteFontLineHeightFixed2xl: string;
|
|
51
|
+
export const calciteFontLineHeightFixed3xl: string;
|
|
52
|
+
export const calciteFontLineHeightFixed4xl: string;
|
|
53
|
+
export const calciteFontLineHeightFixed5xl: string;
|
|
54
|
+
export const calciteFontLineHeightFixed6xl: string;
|
|
55
|
+
/** normal */
|
|
51
56
|
export const calciteFontLineHeightRelative: string;
|
|
57
|
+
/** 1 */
|
|
58
|
+
export const calciteFontLineHeightRelativeBase: string;
|
|
52
59
|
/** 1.25 */
|
|
53
60
|
export const calciteFontLineHeightRelativeTight: string;
|
|
54
61
|
/** 1.375 */
|
package/dist/es6/semantic.js
CHANGED
|
@@ -49,7 +49,13 @@ export const calciteFontLineHeightFixedSm = "12px";
|
|
|
49
49
|
export const calciteFontLineHeightFixedBase = "16px";
|
|
50
50
|
export const calciteFontLineHeightFixedLg = "20px";
|
|
51
51
|
export const calciteFontLineHeightFixedXl = "24px";
|
|
52
|
-
export const
|
|
52
|
+
export const calciteFontLineHeightFixed2xl = "32px";
|
|
53
|
+
export const calciteFontLineHeightFixed3xl = "40px";
|
|
54
|
+
export const calciteFontLineHeightFixed4xl = "48px";
|
|
55
|
+
export const calciteFontLineHeightFixed5xl = "64px";
|
|
56
|
+
export const calciteFontLineHeightFixed6xl = "80px";
|
|
57
|
+
export const calciteFontLineHeightRelative = "normal"; // normal
|
|
58
|
+
export const calciteFontLineHeightRelativeBase = "1"; // 1
|
|
53
59
|
export const calciteFontLineHeightRelativeTight = "1.25"; // 1.25
|
|
54
60
|
export const calciteFontLineHeightRelativeSnug = "1.375"; // 1.375
|
|
55
61
|
export const calciteFontLineHeightRelativeNormal = "1.5"; // 1.5
|
package/dist/js/core.d.ts
CHANGED
package/dist/js/core.js
CHANGED
|
@@ -22239,6 +22239,41 @@ export default {
|
|
|
22239
22239
|
name: "Size Relative Auto",
|
|
22240
22240
|
path: ["core", "size", "relative", "auto"],
|
|
22241
22241
|
},
|
|
22242
|
+
normal: {
|
|
22243
|
+
key: "{core.size.relative.normal}",
|
|
22244
|
+
value: "normal",
|
|
22245
|
+
type: "dimension",
|
|
22246
|
+
attributes: {
|
|
22247
|
+
category: "size",
|
|
22248
|
+
type: "size",
|
|
22249
|
+
item: "relative",
|
|
22250
|
+
subitem: "normal",
|
|
22251
|
+
names: {
|
|
22252
|
+
scss: "$calcite-size-relative-normal",
|
|
22253
|
+
css: "var(--calcite-size-relative-normal)",
|
|
22254
|
+
js: "core.size.relative.normal",
|
|
22255
|
+
docs: "core.size.relative.normal",
|
|
22256
|
+
es6: "calciteSizeRelativeNormal",
|
|
22257
|
+
},
|
|
22258
|
+
"calcite-schema": {
|
|
22259
|
+
system: "calcite",
|
|
22260
|
+
tier: "core",
|
|
22261
|
+
type: "dimension",
|
|
22262
|
+
},
|
|
22263
|
+
},
|
|
22264
|
+
filePath: "src/tokens/core/size.json",
|
|
22265
|
+
isSource: false,
|
|
22266
|
+
original: {
|
|
22267
|
+
value: "normal",
|
|
22268
|
+
type: "dimension",
|
|
22269
|
+
attributes: {
|
|
22270
|
+
category: "size",
|
|
22271
|
+
},
|
|
22272
|
+
key: "{core.size.relative.normal}",
|
|
22273
|
+
},
|
|
22274
|
+
name: "Size Relative Normal",
|
|
22275
|
+
path: ["core", "size", "relative", "normal"],
|
|
22276
|
+
},
|
|
22242
22277
|
},
|
|
22243
22278
|
},
|
|
22244
22279
|
"z-index": {
|
package/dist/js/dark.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export const calciteColorBackgroundNone: string;
|
|
|
8
8
|
export const calciteColorForeground1: string;
|
|
9
9
|
export const calciteColorForeground2: string;
|
|
10
10
|
export const calciteColorForeground3: string;
|
|
11
|
-
/** deprecated, use --calcite-color-
|
|
11
|
+
/** deprecated, use --calcite-color-surface-highlight instead */
|
|
12
12
|
export const calciteColorForegroundCurrent: string;
|
|
13
13
|
export const calciteColorSurfaceHighlight: string;
|
|
14
14
|
export const calciteColorTransparent: string;
|
package/dist/js/dark.js
CHANGED
|
@@ -206,14 +206,14 @@ export default {
|
|
|
206
206
|
subitem: "current",
|
|
207
207
|
value: "#2b465f",
|
|
208
208
|
description:
|
|
209
|
-
"deprecated, use --calcite-color-
|
|
209
|
+
"deprecated, use --calcite-color-surface-highlight instead",
|
|
210
210
|
filePath: "src/tokens/semantic/color/dark.json",
|
|
211
211
|
isSource: true,
|
|
212
212
|
key: "{semantic.color.foreground.current}",
|
|
213
213
|
name: "calcite-semantic-color-foreground-current",
|
|
214
214
|
path: ["semantic", "color", "foreground", "current"],
|
|
215
215
|
comment:
|
|
216
|
-
"deprecated, use --calcite-color-
|
|
216
|
+
"deprecated, use --calcite-color-surface-highlight instead",
|
|
217
217
|
names: {
|
|
218
218
|
scss: "$calcite-color-foreground-current",
|
|
219
219
|
css: "var(--calcite-color-foreground-current)",
|
|
@@ -228,7 +228,7 @@ export default {
|
|
|
228
228
|
},
|
|
229
229
|
},
|
|
230
230
|
description:
|
|
231
|
-
"deprecated, use --calcite-color-
|
|
231
|
+
"deprecated, use --calcite-color-surface-highlight instead",
|
|
232
232
|
filePath: "src/tokens/semantic/color/dark.json",
|
|
233
233
|
isSource: true,
|
|
234
234
|
original: {
|
|
@@ -239,13 +239,12 @@ export default {
|
|
|
239
239
|
group: "foreground",
|
|
240
240
|
},
|
|
241
241
|
description:
|
|
242
|
-
"deprecated, use --calcite-color-
|
|
242
|
+
"deprecated, use --calcite-color-surface-highlight instead",
|
|
243
243
|
key: "{semantic.color.foreground.current}",
|
|
244
244
|
},
|
|
245
245
|
name: "calciteColorForegroundCurrent",
|
|
246
246
|
path: ["semantic", "color", "foreground", "current"],
|
|
247
|
-
comment:
|
|
248
|
-
"deprecated, use --calcite-color-foreground-highlight instead",
|
|
247
|
+
comment: "deprecated, use --calcite-color-surface-highlight instead",
|
|
249
248
|
},
|
|
250
249
|
},
|
|
251
250
|
surface: {
|
package/dist/js/global.d.ts
CHANGED
|
@@ -172,9 +172,15 @@ declare const tokens: {
|
|
|
172
172
|
base: DesignToken;
|
|
173
173
|
lg: DesignToken;
|
|
174
174
|
xl: DesignToken;
|
|
175
|
+
"2xl": DesignToken;
|
|
176
|
+
"3xl": DesignToken;
|
|
177
|
+
"4xl": DesignToken;
|
|
178
|
+
"5xl": DesignToken;
|
|
179
|
+
"6xl": DesignToken;
|
|
175
180
|
};
|
|
176
181
|
relative: {
|
|
177
182
|
default: DesignToken;
|
|
183
|
+
base: DesignToken;
|
|
178
184
|
tight: DesignToken;
|
|
179
185
|
snug: DesignToken;
|
|
180
186
|
normal: DesignToken;
|