@esri/calcite-design-tokens 2.0.1-next.3 → 2.1.0-next.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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 11 Dec 2023 21:58:21 GMT
3
+ * Generated on Mon, 18 Dec 2023 19:47:41 GMT
4
4
  */
5
5
 
6
6
  export const calciteColorNeutralBlk000 : string;
@@ -217,9 +217,23 @@ export const calciteContainerSize768 : string;
217
217
  export const calciteContainerSize854 : string;
218
218
  export const calciteContainerSize1152 : string;
219
219
  export const calciteContainerSize1440 : string;
220
+ /** Fallback for Monaco */
221
+ export const calciteFontFamilyAndaleMono : string;
220
222
  export const calciteFontFamilyAvenirNextPro : string;
221
223
  export const calciteFontFamilyAvenirNextWorld : string;
224
+ /** Fallback for Avenir Next */
225
+ export const calciteFontFamilyAvenir : string;
226
+ /** Fallback for Monaco */
227
+ export const calciteFontFamilyConsolas : string;
228
+ /** Fallback for Avenir Next */
229
+ export const calciteFontFamilyHelveticaNeue : string;
230
+ /** Fallback for Monaco */
231
+ export const calciteFontFamilyLucidaConsole : string;
222
232
  export const calciteFontFamilyMonaco : string;
233
+ /** Fallback for Monaco */
234
+ export const calciteFontFamilyMonospace : string;
235
+ /** Fallback for Avenir Next */
236
+ export const calciteFontFamilySansSerif : string;
223
237
  /** used in ratings */
224
238
  export const calciteFontStyleItalic : string;
225
239
  /** only for Avenir Next World (secondary font family) */
package/dist/es6/core.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 11 Dec 2023 21:58:21 GMT
3
+ * Generated on Mon, 18 Dec 2023 19:47:41 GMT
4
4
  */
5
5
 
6
6
  export const calciteColorNeutralBlk000 = "#ffffff";
@@ -217,9 +217,16 @@ export const calciteContainerSize768 = "768px";
217
217
  export const calciteContainerSize854 = "854px";
218
218
  export const calciteContainerSize1152 = "1152px";
219
219
  export const calciteContainerSize1440 = "1440px";
220
+ export const calciteFontFamilyAndaleMono = "Andale Mono"; // Fallback for Monaco
220
221
  export const calciteFontFamilyAvenirNextPro = "Avenir Next LT Pro";
221
222
  export const calciteFontFamilyAvenirNextWorld = "Avenir Next World";
223
+ export const calciteFontFamilyAvenir = "Avenir"; // Fallback for Avenir Next
224
+ export const calciteFontFamilyConsolas = "Consolas"; // Fallback for Monaco
225
+ export const calciteFontFamilyHelveticaNeue = "Helvetica Neue"; // Fallback for Avenir Next
226
+ export const calciteFontFamilyLucidaConsole = "Lucida Console"; // Fallback for Monaco
222
227
  export const calciteFontFamilyMonaco = "Monaco";
228
+ export const calciteFontFamilyMonospace = "monospace"; // Fallback for Monaco
229
+ export const calciteFontFamilySansSerif = "sans-serif"; // Fallback for Avenir Next
223
230
  export const calciteFontStyleItalic = "italic"; // used in ratings
224
231
  export const calciteFontWeightUltralight = "200"; // only for Avenir Next World (secondary font family)
225
232
  export const calciteFontWeightThin = "100";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 11 Dec 2023 21:58:22 GMT
3
+ * Generated on Mon, 18 Dec 2023 19:47:43 GMT
4
4
  */
5
5
 
6
6
  export const calciteBorderWidthNone : string;
@@ -82,8 +82,10 @@ export const calciteContainerSizeGutter : string;
82
82
  export const calciteContainerSizeContentFluid : string;
83
83
  /** only for lg breakpoint fixed grid width */
84
84
  export const calciteContainerSizeContentFixed : string;
85
- export const calciteFontFamily : string;
86
- export const calciteFontFamilyCode : string;
85
+ /** Primary font with fallbacks */
86
+ export const calciteFontFamily : string[];
87
+ /** Font family for code with fallbacks */
88
+ export const calciteFontFamilyCode : string[];
87
89
  /** For Avenir Next World (secondary font family) */
88
90
  export const calciteFontWeightLight : string;
89
91
  /** For backwards compatibility only. This token will be removed from the published tokens in the next major in favor of the more descriptive word "regular" */
@@ -157,7 +159,7 @@ export const calciteSpacingLg : string;
157
159
  export const calciteSpacingXl : string;
158
160
  export const calciteSpacingXxl : string;
159
161
  export const calciteSpacingXxxl : string;
160
- export const calciteTypography : { fontFamily: string, fontSize: string, fontWeight: string, letterSpacing: string, lineHeight: string, paragraphSpacing: string, textCase: string, textDecoration: string };
162
+ export const calciteTypography : { fontFamily: string[], fontSize: string, fontWeight: string, letterSpacing: string, lineHeight: string, paragraphSpacing: string, textCase: string, textDecoration: string };
161
163
  export const calciteTypographyLightMinus3h : { fontSize: string, fontWeight: string, lineHeight: string };
162
164
  export const calciteTypographyLightMinus2h : { fontSize: string, fontWeight: string };
163
165
  export const calciteTypographyLightMinus1h : { fontWeight: string };
@@ -165,7 +167,7 @@ export const calciteTypographyLight0h : { fontSize: string, fontWeight: string,
165
167
  export const calciteTypographyLight1h : { fontSize: string, fontWeight: string, lineHeight: string };
166
168
  export const calciteTypographyRegularMinus3h : { lineHeight: string, fontSize: string };
167
169
  export const calciteTypographyRegularMinus2h : { fontSize: string };
168
- export const calciteTypographyRegularMinus1h : { fontFamily: string, fontSize: string, fontWeight: string, letterSpacing: string, lineHeight: string, paragraphSpacing: string, textCase: string, textDecoration: string };
170
+ export const calciteTypographyRegularMinus1h : { fontFamily: string[], fontSize: string, fontWeight: string, letterSpacing: string, lineHeight: string, paragraphSpacing: string, textCase: string, textDecoration: string };
169
171
  export const calciteTypographyRegular0h : { lineHeight: string, fontSize: string };
170
172
  export const calciteTypographyRegular1h : { lineHeight: string, fontSize: string };
171
173
  export const calciteTypographyMediumMinus3h : { fontWeight: string, lineHeight: string, fontSize: string };
@@ -210,7 +212,7 @@ export const calciteTypographyHierarchyHeading3 : { fontWeight: string, lineHeig
210
212
  export const calciteTypographyHierarchyHeading4 : { fontWeight: string, lineHeight: string, fontSize: string };
211
213
  export const calciteTypographyHierarchyHeading5 : { fontWeight: string, lineHeight: string };
212
214
  export const calciteTypographyHierarchyBodySnug : { lineHeight: string };
213
- export const calciteTypographyHierarchyBody : { fontFamily: string, fontSize: string, fontWeight: string, letterSpacing: string, lineHeight: string, paragraphSpacing: string, textCase: string, textDecoration: string };
215
+ export const calciteTypographyHierarchyBody : { fontFamily: string[], fontSize: string, fontWeight: string, letterSpacing: string, lineHeight: string, paragraphSpacing: string, textCase: string, textDecoration: string };
214
216
  export const calciteTypographyHierarchyOverline : { lineHeight: string, textCase: string, fontWeight: string };
215
217
  export const calciteTypographyHierarchyCaption : { lineHeight: string, fontSize: string };
216
218
  export const calciteZIndexDeep : string;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 11 Dec 2023 21:58:22 GMT
3
+ * Generated on Mon, 18 Dec 2023 19:47:43 GMT
4
4
  */
5
5
 
6
6
  export const calciteBorderWidthNone = "0";
@@ -68,8 +68,8 @@ export const calciteContainerSizeMargin = "24px";
68
68
  export const calciteContainerSizeGutter = "16px";
69
69
  export const calciteContainerSizeContentFluid = "100%"; // for fluid grid widths
70
70
  export const calciteContainerSizeContentFixed = "1440px"; // only for lg breakpoint fixed grid width
71
- export const calciteFontFamily = "Avenir Next LT Pro";
72
- export const calciteFontFamilyCode = "Monaco";
71
+ export const calciteFontFamily = ["Avenir Next World","Avenir Next LT Pro","Avenir","Helvetica Neue","sans-serif"]; // Primary font with fallbacks
72
+ export const calciteFontFamilyCode = ["Monaco","Consolas","Andale Mono","Lucida Console","monospace"]; // Font family for code with fallbacks
73
73
  export const calciteFontWeightLight = "300"; // For Avenir Next World (secondary font family)
74
74
  export const calciteFontWeightNormal = "400"; // For backwards compatibility only. This token will be removed from the published tokens in the next major in favor of the more descriptive word "regular"
75
75
  export const calciteFontWeightRegular = "400";
@@ -134,7 +134,7 @@ export const calciteSpacingLg = "14px";
134
134
  export const calciteSpacingXl = "16px";
135
135
  export const calciteSpacingXxl = "20px";
136
136
  export const calciteSpacingXxxl = "32px";
137
- export const calciteTypography = {"fontFamily":"Avenir Next LT Pro","fontSize":"14px","fontWeight":"400","letterSpacing":"0","lineHeight":"16px","paragraphSpacing":"4px","textCase":"none","textDecoration":"none"};
137
+ export const calciteTypography = {"fontFamily":["Avenir Next World","Avenir Next LT Pro","Avenir","Helvetica Neue","sans-serif"],"fontSize":"14px","fontWeight":"400","letterSpacing":"0","lineHeight":"16px","paragraphSpacing":"4px","textCase":"none","textDecoration":"none"};
138
138
  export const calciteTypographyLightMinus3h = {"fontSize":"10px","fontWeight":"300","lineHeight":"12px"};
139
139
  export const calciteTypographyLightMinus2h = {"fontSize":"12px","fontWeight":"300"};
140
140
  export const calciteTypographyLightMinus1h = {"fontWeight":"300"};
@@ -142,7 +142,7 @@ export const calciteTypographyLight0h = {"fontSize":"16px","fontWeight":"300","l
142
142
  export const calciteTypographyLight1h = {"fontSize":"18px","fontWeight":"300","lineHeight":"24px"};
143
143
  export const calciteTypographyRegularMinus3h = {"lineHeight":"12px","fontSize":"10px"};
144
144
  export const calciteTypographyRegularMinus2h = {"fontSize":"12px"};
145
- export const calciteTypographyRegularMinus1h = {"fontFamily":"Avenir Next LT Pro","fontSize":"14px","fontWeight":"400","letterSpacing":"0","lineHeight":"16px","paragraphSpacing":"4px","textCase":"none","textDecoration":"none"};
145
+ export const calciteTypographyRegularMinus1h = {"fontFamily":["Avenir Next World","Avenir Next LT Pro","Avenir","Helvetica Neue","sans-serif"],"fontSize":"14px","fontWeight":"400","letterSpacing":"0","lineHeight":"16px","paragraphSpacing":"4px","textCase":"none","textDecoration":"none"};
146
146
  export const calciteTypographyRegular0h = {"lineHeight":"20px","fontSize":"16px"};
147
147
  export const calciteTypographyRegular1h = {"lineHeight":"24px","fontSize":"18px"};
148
148
  export const calciteTypographyMediumMinus3h = {"fontWeight":"500","lineHeight":"12px","fontSize":"10px"};
@@ -187,7 +187,7 @@ export const calciteTypographyHierarchyHeading3 = {"fontWeight":"500","lineHeigh
187
187
  export const calciteTypographyHierarchyHeading4 = {"fontWeight":"500","lineHeight":"137.5%","fontSize":"16px"};
188
188
  export const calciteTypographyHierarchyHeading5 = {"fontWeight":"500","lineHeight":"137.5%"};
189
189
  export const calciteTypographyHierarchyBodySnug = {"lineHeight":"137.5%"};
190
- export const calciteTypographyHierarchyBody = {"fontFamily":"Avenir Next LT Pro","fontSize":"14px","fontWeight":"400","letterSpacing":"0","lineHeight":"16px","paragraphSpacing":"4px","textCase":"none","textDecoration":"none"};
190
+ export const calciteTypographyHierarchyBody = {"fontFamily":["Avenir Next World","Avenir Next LT Pro","Avenir","Helvetica Neue","sans-serif"],"fontSize":"14px","fontWeight":"400","letterSpacing":"0","lineHeight":"16px","paragraphSpacing":"4px","textCase":"none","textDecoration":"none"};
191
191
  export const calciteTypographyHierarchyOverline = {"lineHeight":"12px","textCase":"uppercase","fontWeight":"700"};
192
192
  export const calciteTypographyHierarchyCaption = {"lineHeight":"137.5%","fontSize":"12px"};
193
193
  export const calciteZIndexDeep = "-999999";
package/dist/js/core.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 11 Dec 2023 21:58:20 GMT
3
+ * Generated on Mon, 18 Dec 2023 19:47:41 GMT
4
4
  */
5
5
 
6
6
  export default tokens;
@@ -305,9 +305,16 @@ declare const tokens: {
305
305
  },
306
306
  "font": {
307
307
  "family": {
308
+ "andaleMono": DesignToken,
308
309
  "avenirNextPro": DesignToken,
309
310
  "avenirNextWorld": DesignToken,
310
- "monaco": DesignToken
311
+ "avenir": DesignToken,
312
+ "consolas": DesignToken,
313
+ "helveticaNeue": DesignToken,
314
+ "lucidaConsole": DesignToken,
315
+ "monaco": DesignToken,
316
+ "monospace": DesignToken,
317
+ "sansSerif": DesignToken
311
318
  },
312
319
  "style": {
313
320
  "italic": DesignToken
package/dist/js/core.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 11 Dec 2023 21:58:20 GMT
3
+ * Generated on Mon, 18 Dec 2023 19:47:41 GMT
4
4
  */
5
5
 
6
6
  export default {
@@ -5081,6 +5081,30 @@ export default {
5081
5081
  },
5082
5082
  font: {
5083
5083
  family: {
5084
+ andaleMono: {
5085
+ value: "Andale Mono",
5086
+ type: "fontFamilies",
5087
+ description: "Fallback for Monaco",
5088
+ filePath:
5089
+ "/home/runner/work/calcite-design-system/calcite-design-system/packages/calcite-design-tokens/src/core/font.json",
5090
+ isSource: true,
5091
+ original: {
5092
+ value: "Andale Mono",
5093
+ type: "fontFamilies",
5094
+ description: "Fallback for Monaco",
5095
+ },
5096
+ name: "Font Family Andale Mono",
5097
+ attributes: {
5098
+ names: {
5099
+ scss: "$calcite-font-family-andale-mono",
5100
+ css: "var(--calcite-font-family-andale-mono)",
5101
+ js: "core.font.family.andaleMono",
5102
+ docs: "core.font.family.andaleMono",
5103
+ es6: "calciteFontFamilyAndaleMono",
5104
+ },
5105
+ },
5106
+ path: ["core", "font", "family", "andaleMono"],
5107
+ },
5084
5108
  avenirNextPro: {
5085
5109
  value: "Avenir Next LT Pro",
5086
5110
  type: "fontFamilies",
@@ -5125,6 +5149,102 @@ export default {
5125
5149
  },
5126
5150
  path: ["core", "font", "family", "avenirNextWorld"],
5127
5151
  },
5152
+ avenir: {
5153
+ value: "Avenir",
5154
+ type: "fontFamilies",
5155
+ description: "Fallback for Avenir Next",
5156
+ filePath:
5157
+ "/home/runner/work/calcite-design-system/calcite-design-system/packages/calcite-design-tokens/src/core/font.json",
5158
+ isSource: true,
5159
+ original: {
5160
+ value: "Avenir",
5161
+ type: "fontFamilies",
5162
+ description: "Fallback for Avenir Next",
5163
+ },
5164
+ name: "Font Family Avenir",
5165
+ attributes: {
5166
+ names: {
5167
+ scss: "$calcite-font-family-avenir",
5168
+ css: "var(--calcite-font-family-avenir)",
5169
+ js: "core.font.family.avenir",
5170
+ docs: "core.font.family.avenir",
5171
+ es6: "calciteFontFamilyAvenir",
5172
+ },
5173
+ },
5174
+ path: ["core", "font", "family", "avenir"],
5175
+ },
5176
+ consolas: {
5177
+ value: "Consolas",
5178
+ type: "fontFamilies",
5179
+ description: "Fallback for Monaco",
5180
+ filePath:
5181
+ "/home/runner/work/calcite-design-system/calcite-design-system/packages/calcite-design-tokens/src/core/font.json",
5182
+ isSource: true,
5183
+ original: {
5184
+ value: "Consolas",
5185
+ type: "fontFamilies",
5186
+ description: "Fallback for Monaco",
5187
+ },
5188
+ name: "Font Family Consolas",
5189
+ attributes: {
5190
+ names: {
5191
+ scss: "$calcite-font-family-consolas",
5192
+ css: "var(--calcite-font-family-consolas)",
5193
+ js: "core.font.family.consolas",
5194
+ docs: "core.font.family.consolas",
5195
+ es6: "calciteFontFamilyConsolas",
5196
+ },
5197
+ },
5198
+ path: ["core", "font", "family", "consolas"],
5199
+ },
5200
+ helveticaNeue: {
5201
+ value: "Helvetica Neue",
5202
+ type: "fontFamilies",
5203
+ description: "Fallback for Avenir Next",
5204
+ filePath:
5205
+ "/home/runner/work/calcite-design-system/calcite-design-system/packages/calcite-design-tokens/src/core/font.json",
5206
+ isSource: true,
5207
+ original: {
5208
+ value: "Helvetica Neue",
5209
+ type: "fontFamilies",
5210
+ description: "Fallback for Avenir Next",
5211
+ },
5212
+ name: "Font Family Helvetica Neue",
5213
+ attributes: {
5214
+ names: {
5215
+ scss: "$calcite-font-family-helvetica-neue",
5216
+ css: "var(--calcite-font-family-helvetica-neue)",
5217
+ js: "core.font.family.helveticaNeue",
5218
+ docs: "core.font.family.helveticaNeue",
5219
+ es6: "calciteFontFamilyHelveticaNeue",
5220
+ },
5221
+ },
5222
+ path: ["core", "font", "family", "helveticaNeue"],
5223
+ },
5224
+ lucidaConsole: {
5225
+ value: "Lucida Console",
5226
+ type: "fontFamilies",
5227
+ description: "Fallback for Monaco",
5228
+ filePath:
5229
+ "/home/runner/work/calcite-design-system/calcite-design-system/packages/calcite-design-tokens/src/core/font.json",
5230
+ isSource: true,
5231
+ original: {
5232
+ value: "Lucida Console",
5233
+ type: "fontFamilies",
5234
+ description: "Fallback for Monaco",
5235
+ },
5236
+ name: "Font Family Lucida Console",
5237
+ attributes: {
5238
+ names: {
5239
+ scss: "$calcite-font-family-lucida-console",
5240
+ css: "var(--calcite-font-family-lucida-console)",
5241
+ js: "core.font.family.lucidaConsole",
5242
+ docs: "core.font.family.lucidaConsole",
5243
+ es6: "calciteFontFamilyLucidaConsole",
5244
+ },
5245
+ },
5246
+ path: ["core", "font", "family", "lucidaConsole"],
5247
+ },
5128
5248
  monaco: {
5129
5249
  value: "Monaco",
5130
5250
  type: "fontFamilies",
@@ -5147,6 +5267,54 @@ export default {
5147
5267
  },
5148
5268
  path: ["core", "font", "family", "monaco"],
5149
5269
  },
5270
+ monospace: {
5271
+ value: "monospace",
5272
+ type: "fontFamilies",
5273
+ description: "Fallback for Monaco",
5274
+ filePath:
5275
+ "/home/runner/work/calcite-design-system/calcite-design-system/packages/calcite-design-tokens/src/core/font.json",
5276
+ isSource: true,
5277
+ original: {
5278
+ value: "monospace",
5279
+ type: "fontFamilies",
5280
+ description: "Fallback for Monaco",
5281
+ },
5282
+ name: "Font Family Monospace",
5283
+ attributes: {
5284
+ names: {
5285
+ scss: "$calcite-font-family-monospace",
5286
+ css: "var(--calcite-font-family-monospace)",
5287
+ js: "core.font.family.monospace",
5288
+ docs: "core.font.family.monospace",
5289
+ es6: "calciteFontFamilyMonospace",
5290
+ },
5291
+ },
5292
+ path: ["core", "font", "family", "monospace"],
5293
+ },
5294
+ sansSerif: {
5295
+ value: "sans-serif",
5296
+ type: "fontFamilies",
5297
+ description: "Fallback for Avenir Next",
5298
+ filePath:
5299
+ "/home/runner/work/calcite-design-system/calcite-design-system/packages/calcite-design-tokens/src/core/font.json",
5300
+ isSource: true,
5301
+ original: {
5302
+ value: "sans-serif",
5303
+ type: "fontFamilies",
5304
+ description: "Fallback for Avenir Next",
5305
+ },
5306
+ name: "Font Family Sans Serif",
5307
+ attributes: {
5308
+ names: {
5309
+ scss: "$calcite-font-family-sans-serif",
5310
+ css: "var(--calcite-font-family-sans-serif)",
5311
+ js: "core.font.family.sansSerif",
5312
+ docs: "core.font.family.sansSerif",
5313
+ es6: "calciteFontFamilySansSerif",
5314
+ },
5315
+ },
5316
+ path: ["core", "font", "family", "sansSerif"],
5317
+ },
5150
5318
  },
5151
5319
  style: {
5152
5320
  italic: {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 11 Dec 2023 21:58:22 GMT
3
+ * Generated on Mon, 18 Dec 2023 19:47:42 GMT
4
4
  */
5
5
 
6
6
  export default tokens;