@hirobius/design-system 0.20.0 → 0.21.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/AGENTS.md +123 -0
- package/CONSUMING.md +4 -2
- package/DESIGN.md +28 -17
- package/NOTICE.md +1 -1
- package/README.md +37 -5
- package/dist/chunks/empty-state-DNoThgfV.js +1227 -0
- package/dist/chunks/form-By82qZcC.js +66 -0
- package/dist/fonts/geist-mono-400.woff2 +0 -0
- package/dist/fonts/satoshi-400.woff2 +0 -0
- package/dist/fonts/satoshi-500.woff2 +0 -0
- package/dist/fonts/satoshi-700.woff2 +0 -0
- package/dist/fonts.css +53 -0
- package/dist/form.js +1 -1
- package/dist/hirobius-ui.js +876 -877
- package/dist/manifest.js +1 -1
- package/dist/patterns.js +189 -170
- package/dist/styles.css +2 -2
- package/dist/tokens.css +1 -1
- package/dist/tokens.js +136 -57
- package/dist/types/src/app/components/alert-dialog.d.ts +5 -0
- package/dist/types/src/app/components/asset-img.d.ts +1 -0
- package/dist/types/src/app/components/avatar-group.d.ts +1 -0
- package/dist/types/src/app/components/badge.d.ts +1 -1
- package/dist/types/src/app/components/blockquote.d.ts +1 -0
- package/dist/types/src/app/components/button.d.ts +2 -0
- package/dist/types/src/app/components/card.d.ts +3 -2
- package/dist/types/src/app/components/data-table-section.d.ts +1 -0
- package/dist/types/src/app/components/destructive-section.d.ts +1 -0
- package/dist/types/src/app/components/dialog.d.ts +1 -0
- package/dist/types/src/app/components/error-pattern.d.ts +6 -1
- package/dist/types/src/app/components/form-actions.d.ts +1 -0
- package/dist/types/src/app/components/form-control.d.ts +10 -0
- package/dist/types/src/app/components/grid.d.ts +5 -0
- package/dist/types/src/app/components/icon.d.ts +1 -0
- package/dist/types/src/app/components/kbd.d.ts +1 -0
- package/dist/types/src/app/components/metadata-list.d.ts +1 -0
- package/dist/types/src/app/components/metric-tiles.d.ts +1 -0
- package/dist/types/src/app/components/progress.d.ts +1 -1
- package/dist/types/src/app/components/skeleton.d.ts +1 -1
- package/dist/types/src/app/components/stat.d.ts +4 -3
- package/dist/types/src/app/components/status-tile.d.ts +3 -2
- package/dist/types/src/app/components/table.d.ts +5 -0
- package/dist/types/src/app/components/text.d.ts +53 -6
- package/dist/types/src/app/components/timestamp.d.ts +1 -0
- package/dist/types/src/app/data/manifest-types.d.ts +4 -0
- package/dist/types/src/app/design-system/generated-token-refs.d.ts +37 -28
- package/dist/types/src/app/design-system/generated-token-values.d.ts +3 -0
- package/dist/types/src/app/design-system/tokens.d.ts +117 -15
- package/dist/types/src/index.d.ts +43 -40
- package/dist/variables.css +41 -33
- package/docs/CONSUMING.md +63 -39
- package/hirobius.tokens.json +77 -73
- package/llms.txt +158 -50
- package/mcp/catalog.mjs +366 -0
- package/mcp/guide.mjs +315 -0
- package/mcp/hds-mcp.mjs +49 -0
- package/mcp/server.mjs +94 -0
- package/package.json +35 -9
- package/public/hds-manifest.json +348 -254
- package/public/llms/components.txt +4 -3
- package/public/llms/layout.txt +1 -1
- package/public/llms-full.txt +190 -70
- package/public/llms.txt +158 -50
- package/scripts/eslint-plugin-hds/index.d.mts +29 -0
- package/scripts/eslint-plugin-hds/index.mjs +55 -0
- package/scripts/eslint-plugin-hds/package.json +30 -0
- package/scripts/eslint-plugin-hds/rules/no-raw-controls.mjs +47 -0
- package/scripts/eslint-plugin-hds/rules/no-raw-hex.mjs +70 -0
- package/scripts/eslint-plugin-hds/rules/no-raw-px-spacing.mjs +125 -0
- package/scripts/eslint-plugin-hds/rules/prefer-hds-layout-primitive.mjs +54 -0
- package/scripts/eslint-plugin-hds/rules/sx-token-first.mjs +111 -0
- package/scripts/eslint-plugin-hds/rules/utils.mjs +66 -0
- package/src/app/data/component-api.json +114 -53
- package/dist/chunks/empty-state-BBqhCx0S.js +0 -1217
- package/dist/chunks/form-COP3vK9_.js +0 -66
- package/dist/types/src/app/components/status-dot.d.ts +0 -39
|
@@ -148,6 +148,7 @@ export declare const tokenRefs: {
|
|
|
148
148
|
readonly "4xl": "var(--primitive-typography-size-4xl)";
|
|
149
149
|
readonly "5xl": "var(--primitive-typography-size-5xl)";
|
|
150
150
|
readonly "6xl": "var(--primitive-typography-size-6xl)";
|
|
151
|
+
readonly code: "var(--primitive-typography-size-code)";
|
|
151
152
|
};
|
|
152
153
|
readonly weight: {
|
|
153
154
|
readonly regular: "var(--primitive-typography-weight-regular)";
|
|
@@ -161,6 +162,8 @@ export declare const tokenRefs: {
|
|
|
161
162
|
readonly snug: "var(--primitive-typography-lineHeight-snug)";
|
|
162
163
|
readonly normal: "var(--primitive-typography-lineHeight-normal)";
|
|
163
164
|
readonly relaxed: "var(--primitive-typography-lineHeight-relaxed)";
|
|
165
|
+
readonly display: "var(--primitive-typography-lineHeight-display)";
|
|
166
|
+
readonly body: "var(--primitive-typography-lineHeight-body)";
|
|
164
167
|
};
|
|
165
168
|
readonly letterSpacing: {
|
|
166
169
|
readonly tight: "var(--primitive-typography-letterSpacing-tight)";
|
|
@@ -389,26 +392,12 @@ export declare const tokenRefs: {
|
|
|
389
392
|
readonly letterSpacing: "var(--semantic-typography-display-letter-spacing)";
|
|
390
393
|
readonly lineHeight: "var(--semantic-typography-display-line-height)";
|
|
391
394
|
};
|
|
392
|
-
readonly
|
|
393
|
-
readonly fontFamily: "var(--semantic-typography-
|
|
394
|
-
readonly fontSize: "var(--semantic-typography-
|
|
395
|
-
readonly fontWeight: "var(--semantic-typography-
|
|
396
|
-
readonly letterSpacing: "var(--semantic-typography-
|
|
397
|
-
readonly lineHeight: "var(--semantic-typography-
|
|
398
|
-
};
|
|
399
|
-
readonly h2: {
|
|
400
|
-
readonly fontFamily: "var(--semantic-typography-h2-font-family)";
|
|
401
|
-
readonly fontSize: "var(--semantic-typography-h2-font-size)";
|
|
402
|
-
readonly fontWeight: "var(--semantic-typography-h2-font-weight)";
|
|
403
|
-
readonly letterSpacing: "var(--semantic-typography-h2-letter-spacing)";
|
|
404
|
-
readonly lineHeight: "var(--semantic-typography-h2-line-height)";
|
|
405
|
-
};
|
|
406
|
-
readonly h3: {
|
|
407
|
-
readonly fontFamily: "var(--semantic-typography-h3-font-family)";
|
|
408
|
-
readonly fontSize: "var(--semantic-typography-h3-font-size)";
|
|
409
|
-
readonly fontWeight: "var(--semantic-typography-h3-font-weight)";
|
|
410
|
-
readonly letterSpacing: "var(--semantic-typography-h3-letter-spacing)";
|
|
411
|
-
readonly lineHeight: "var(--semantic-typography-h3-line-height)";
|
|
395
|
+
readonly title: {
|
|
396
|
+
readonly fontFamily: "var(--semantic-typography-title-font-family)";
|
|
397
|
+
readonly fontSize: "var(--semantic-typography-title-font-size)";
|
|
398
|
+
readonly fontWeight: "var(--semantic-typography-title-font-weight)";
|
|
399
|
+
readonly letterSpacing: "var(--semantic-typography-title-letter-spacing)";
|
|
400
|
+
readonly lineHeight: "var(--semantic-typography-title-line-height)";
|
|
412
401
|
};
|
|
413
402
|
readonly body: {
|
|
414
403
|
readonly fontFamily: "var(--semantic-typography-body-font-family)";
|
|
@@ -433,14 +422,6 @@ export declare const tokenRefs: {
|
|
|
433
422
|
readonly letterSpacing: "var(--semantic-typography-caption-letter-spacing)";
|
|
434
423
|
readonly lineHeight: "var(--semantic-typography-caption-line-height)";
|
|
435
424
|
};
|
|
436
|
-
readonly eyebrow: {
|
|
437
|
-
readonly fontFamily: "var(--semantic-typography-eyebrow-font-family)";
|
|
438
|
-
readonly fontSize: "var(--semantic-typography-eyebrow-font-size)";
|
|
439
|
-
readonly fontWeight: "var(--semantic-typography-eyebrow-font-weight)";
|
|
440
|
-
readonly letterSpacing: "var(--semantic-typography-eyebrow-letter-spacing)";
|
|
441
|
-
readonly lineHeight: "var(--semantic-typography-eyebrow-line-height)";
|
|
442
|
-
readonly textTransform: "var(--semantic-typography-eyebrow-text-transform)";
|
|
443
|
-
};
|
|
444
425
|
readonly mono: {
|
|
445
426
|
readonly fontFamily: "var(--semantic-typography-mono-font-family)";
|
|
446
427
|
readonly fontSize: "var(--semantic-typography-mono-font-size)";
|
|
@@ -449,6 +430,34 @@ export declare const tokenRefs: {
|
|
|
449
430
|
readonly lineHeight: "var(--semantic-typography-mono-line-height)";
|
|
450
431
|
readonly maxWidth: "var(--semantic-typography-mono-max-width)";
|
|
451
432
|
};
|
|
433
|
+
readonly h1: {
|
|
434
|
+
readonly fontFamily: "var(--semantic-typography-h1-font-family)";
|
|
435
|
+
readonly fontSize: "var(--semantic-typography-h1-font-size)";
|
|
436
|
+
readonly fontWeight: "var(--semantic-typography-h1-font-weight)";
|
|
437
|
+
readonly letterSpacing: "var(--semantic-typography-h1-letter-spacing)";
|
|
438
|
+
readonly lineHeight: "var(--semantic-typography-h1-line-height)";
|
|
439
|
+
};
|
|
440
|
+
readonly h2: {
|
|
441
|
+
readonly fontFamily: "var(--semantic-typography-h2-font-family)";
|
|
442
|
+
readonly fontSize: "var(--semantic-typography-h2-font-size)";
|
|
443
|
+
readonly fontWeight: "var(--semantic-typography-h2-font-weight)";
|
|
444
|
+
readonly letterSpacing: "var(--semantic-typography-h2-letter-spacing)";
|
|
445
|
+
readonly lineHeight: "var(--semantic-typography-h2-line-height)";
|
|
446
|
+
};
|
|
447
|
+
readonly h3: {
|
|
448
|
+
readonly fontFamily: "var(--semantic-typography-h3-font-family)";
|
|
449
|
+
readonly fontSize: "var(--semantic-typography-h3-font-size)";
|
|
450
|
+
readonly fontWeight: "var(--semantic-typography-h3-font-weight)";
|
|
451
|
+
readonly letterSpacing: "var(--semantic-typography-h3-letter-spacing)";
|
|
452
|
+
readonly lineHeight: "var(--semantic-typography-h3-line-height)";
|
|
453
|
+
};
|
|
454
|
+
readonly eyebrow: {
|
|
455
|
+
readonly fontFamily: "var(--semantic-typography-eyebrow-font-family)";
|
|
456
|
+
readonly fontSize: "var(--semantic-typography-eyebrow-font-size)";
|
|
457
|
+
readonly fontWeight: "var(--semantic-typography-eyebrow-font-weight)";
|
|
458
|
+
readonly letterSpacing: "var(--semantic-typography-eyebrow-letter-spacing)";
|
|
459
|
+
readonly lineHeight: "var(--semantic-typography-eyebrow-line-height)";
|
|
460
|
+
};
|
|
452
461
|
readonly lineHeight: {
|
|
453
462
|
readonly none: "var(--semantic-typography-lineHeight-none)";
|
|
454
463
|
};
|
|
@@ -149,6 +149,7 @@ export declare const tokenValues: {
|
|
|
149
149
|
readonly "4xl": "36px";
|
|
150
150
|
readonly "5xl": "48px";
|
|
151
151
|
readonly "6xl": "60px";
|
|
152
|
+
readonly code: "13px";
|
|
152
153
|
};
|
|
153
154
|
readonly weight: {
|
|
154
155
|
readonly regular: "400";
|
|
@@ -162,6 +163,8 @@ export declare const tokenValues: {
|
|
|
162
163
|
readonly snug: "1.375";
|
|
163
164
|
readonly normal: "1.5";
|
|
164
165
|
readonly relaxed: "1.625";
|
|
166
|
+
readonly display: "1.05";
|
|
167
|
+
readonly body: "1.6";
|
|
165
168
|
};
|
|
166
169
|
readonly letterSpacing: {
|
|
167
170
|
readonly tight: "-0.01em";
|
|
@@ -159,41 +159,143 @@ declare const hds: {
|
|
|
159
159
|
};
|
|
160
160
|
};
|
|
161
161
|
typography: {
|
|
162
|
+
/** @deprecated hds#483 — use `typeStyles.ui`.
|
|
163
|
+
* @removeIn 1.0.0 */
|
|
162
164
|
label: React.CSSProperties;
|
|
165
|
+
/** @deprecated hds#483 — use `typeStyles.ui`.
|
|
166
|
+
* @removeIn 1.0.0 */
|
|
163
167
|
labelDescriptive: React.CSSProperties;
|
|
168
|
+
/** @deprecated hds#483 — use `typeStyles.mono`.
|
|
169
|
+
* @removeIn 1.0.0 */
|
|
164
170
|
labelTechnical: React.CSSProperties;
|
|
165
171
|
};
|
|
166
172
|
};
|
|
167
173
|
typeStyles: {
|
|
168
174
|
display: React.CSSProperties;
|
|
169
|
-
|
|
170
|
-
h2: React.CSSProperties;
|
|
171
|
-
h3: React.CSSProperties;
|
|
175
|
+
title: React.CSSProperties;
|
|
172
176
|
body: React.CSSProperties;
|
|
173
177
|
ui: React.CSSProperties;
|
|
174
|
-
eyebrow: React.CSSProperties;
|
|
175
|
-
mono: React.CSSProperties;
|
|
176
|
-
small: React.CSSProperties;
|
|
177
178
|
caption: React.CSSProperties;
|
|
179
|
+
mono: React.CSSProperties;
|
|
180
|
+
/**
|
|
181
|
+
* @deprecated hds#483 — use `typeStyles.title`.
|
|
182
|
+
* @removeIn 1.0.0
|
|
183
|
+
*/
|
|
184
|
+
h1: React.CSSProperties;
|
|
185
|
+
/**
|
|
186
|
+
* @deprecated hds#483 — use `typeStyles.title`.
|
|
187
|
+
* @removeIn 1.0.0
|
|
188
|
+
*/
|
|
189
|
+
h2: React.CSSProperties;
|
|
190
|
+
/**
|
|
191
|
+
* @deprecated hds#483 — use `typeStyles.title`.
|
|
192
|
+
* @removeIn 1.0.0
|
|
193
|
+
*/
|
|
194
|
+
h3: React.CSSProperties;
|
|
195
|
+
/**
|
|
196
|
+
* @deprecated hds#483 — use `typeStyles.title`.
|
|
197
|
+
* @removeIn 1.0.0
|
|
198
|
+
*/
|
|
178
199
|
heading1: React.CSSProperties;
|
|
200
|
+
/**
|
|
201
|
+
* @deprecated hds#483 — use `typeStyles.title`.
|
|
202
|
+
* @removeIn 1.0.0
|
|
203
|
+
*/
|
|
179
204
|
heading2: React.CSSProperties;
|
|
205
|
+
/**
|
|
206
|
+
* @deprecated hds#483 — use `typeStyles.title`.
|
|
207
|
+
* @removeIn 1.0.0
|
|
208
|
+
*/
|
|
180
209
|
heading3: React.CSSProperties;
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
display1: React.CSSProperties;
|
|
186
|
-
display2: React.CSSProperties;
|
|
210
|
+
/**
|
|
211
|
+
* @deprecated hds#483 — use `typeStyles.title`.
|
|
212
|
+
* @removeIn 1.0.0
|
|
213
|
+
*/
|
|
187
214
|
headingHero: React.CSSProperties;
|
|
215
|
+
/**
|
|
216
|
+
* @deprecated hds#483 — use `typeStyles.title`.
|
|
217
|
+
* @removeIn 1.0.0
|
|
218
|
+
*/
|
|
188
219
|
headingSection: React.CSSProperties;
|
|
189
|
-
|
|
220
|
+
/**
|
|
221
|
+
* @deprecated hds#483 — use `typeStyles.title`.
|
|
222
|
+
* @removeIn 1.0.0
|
|
223
|
+
*/
|
|
224
|
+
display2: React.CSSProperties;
|
|
225
|
+
/**
|
|
226
|
+
* @deprecated hds#483 — use `typeStyles.display`.
|
|
227
|
+
* @removeIn 1.0.0
|
|
228
|
+
*/
|
|
229
|
+
displayXl: React.CSSProperties;
|
|
230
|
+
/**
|
|
231
|
+
* @deprecated hds#483 — use `typeStyles.display`.
|
|
232
|
+
* @removeIn 1.0.0
|
|
233
|
+
*/
|
|
234
|
+
display1: React.CSSProperties;
|
|
235
|
+
/**
|
|
236
|
+
* @deprecated hds#483 — use `typeStyles.body`.
|
|
237
|
+
* @removeIn 1.0.0
|
|
238
|
+
*/
|
|
190
239
|
body2: React.CSSProperties;
|
|
240
|
+
/**
|
|
241
|
+
* @deprecated hds#483 — use `typeStyles.body`.
|
|
242
|
+
* @removeIn 1.0.0
|
|
243
|
+
*/
|
|
191
244
|
bodyLarge: React.CSSProperties;
|
|
245
|
+
/**
|
|
246
|
+
* @deprecated hds#483 — use `typeStyles.ui`.
|
|
247
|
+
* @removeIn 1.0.0
|
|
248
|
+
*/
|
|
249
|
+
small: React.CSSProperties;
|
|
250
|
+
/**
|
|
251
|
+
* @deprecated hds#483 — use `typeStyles.ui`.
|
|
252
|
+
* @removeIn 1.0.0
|
|
253
|
+
*/
|
|
192
254
|
bodySmall: React.CSSProperties;
|
|
193
|
-
|
|
194
|
-
|
|
255
|
+
/**
|
|
256
|
+
* @deprecated hds#483 — use `typeStyles.ui`.
|
|
257
|
+
* @removeIn 1.0.0
|
|
258
|
+
*/
|
|
195
259
|
label: React.CSSProperties;
|
|
260
|
+
/**
|
|
261
|
+
* @deprecated hds#483 — use `typeStyles.ui`.
|
|
262
|
+
* @removeIn 1.0.0
|
|
263
|
+
*/
|
|
196
264
|
labelDescriptive: React.CSSProperties;
|
|
265
|
+
/**
|
|
266
|
+
* @deprecated hds#483 — use `typeStyles.caption`.
|
|
267
|
+
* @removeIn 1.0.0
|
|
268
|
+
*/
|
|
269
|
+
eyebrow: React.CSSProperties;
|
|
270
|
+
/**
|
|
271
|
+
* @deprecated hds#483 — use `typeStyles.caption`.
|
|
272
|
+
* @removeIn 1.0.0
|
|
273
|
+
*/
|
|
274
|
+
badge: React.CSSProperties;
|
|
275
|
+
/**
|
|
276
|
+
* @deprecated hds#483 — use `typeStyles.caption`.
|
|
277
|
+
* @removeIn 1.0.0
|
|
278
|
+
*/
|
|
279
|
+
micro: React.CSSProperties;
|
|
280
|
+
/**
|
|
281
|
+
* @deprecated hds#483 — use `typeStyles.mono`.
|
|
282
|
+
* @removeIn 1.0.0
|
|
283
|
+
*/
|
|
284
|
+
technical: React.CSSProperties;
|
|
285
|
+
/**
|
|
286
|
+
* @deprecated hds#483 — use `typeStyles.mono`.
|
|
287
|
+
* @removeIn 1.0.0
|
|
288
|
+
*/
|
|
289
|
+
monoXs: React.CSSProperties;
|
|
290
|
+
/**
|
|
291
|
+
* @deprecated hds#483 — use `typeStyles.mono`.
|
|
292
|
+
* @removeIn 1.0.0
|
|
293
|
+
*/
|
|
294
|
+
monoSm: React.CSSProperties;
|
|
295
|
+
/**
|
|
296
|
+
* @deprecated hds#483 — use `typeStyles.mono`.
|
|
297
|
+
* @removeIn 1.0.0
|
|
298
|
+
*/
|
|
197
299
|
labelTechnical: React.CSSProperties;
|
|
198
300
|
};
|
|
199
301
|
iconSize: {
|
|
@@ -35,7 +35,6 @@ export * from './app/components/table.js';
|
|
|
35
35
|
export * from './app/components/tag.js';
|
|
36
36
|
export * from './app/components/text.js';
|
|
37
37
|
export * from './app/components/kbd.js';
|
|
38
|
-
export * from './app/components/status-dot.js';
|
|
39
38
|
export * from './app/components/timestamp.js';
|
|
40
39
|
export * from './app/components/blockquote.js';
|
|
41
40
|
export * from './app/components/visually-hidden.js';
|
|
@@ -607,6 +606,13 @@ export declare const tokens: {
|
|
|
607
606
|
};
|
|
608
607
|
$description: string;
|
|
609
608
|
};
|
|
609
|
+
code: {
|
|
610
|
+
$value: {
|
|
611
|
+
value: number;
|
|
612
|
+
unit: string;
|
|
613
|
+
};
|
|
614
|
+
$description: string;
|
|
615
|
+
};
|
|
610
616
|
};
|
|
611
617
|
weight: {
|
|
612
618
|
$type: string;
|
|
@@ -642,6 +648,14 @@ export declare const tokens: {
|
|
|
642
648
|
$value: number;
|
|
643
649
|
$description: string;
|
|
644
650
|
};
|
|
651
|
+
display: {
|
|
652
|
+
$value: number;
|
|
653
|
+
$description: string;
|
|
654
|
+
};
|
|
655
|
+
body: {
|
|
656
|
+
$value: number;
|
|
657
|
+
$description: string;
|
|
658
|
+
};
|
|
645
659
|
};
|
|
646
660
|
letterSpacing: {
|
|
647
661
|
$type: string;
|
|
@@ -1729,14 +1743,8 @@ export declare const tokens: {
|
|
|
1729
1743
|
lineHeight: string;
|
|
1730
1744
|
};
|
|
1731
1745
|
$description: string;
|
|
1732
|
-
$extensions: {
|
|
1733
|
-
"com.figma.variables": {
|
|
1734
|
-
fontSize: string;
|
|
1735
|
-
note: string;
|
|
1736
|
-
};
|
|
1737
|
-
};
|
|
1738
1746
|
};
|
|
1739
|
-
|
|
1747
|
+
title: {
|
|
1740
1748
|
$value: {
|
|
1741
1749
|
fontFamily: string;
|
|
1742
1750
|
fontSize: string;
|
|
@@ -1745,30 +1753,36 @@ export declare const tokens: {
|
|
|
1745
1753
|
lineHeight: string;
|
|
1746
1754
|
};
|
|
1747
1755
|
$description: string;
|
|
1748
|
-
$extensions: {
|
|
1749
|
-
"com.figma.variables": {
|
|
1750
|
-
fontSize: string;
|
|
1751
|
-
note: string;
|
|
1752
|
-
};
|
|
1753
|
-
};
|
|
1754
1756
|
};
|
|
1755
|
-
|
|
1757
|
+
body: {
|
|
1756
1758
|
$value: {
|
|
1757
1759
|
fontFamily: string;
|
|
1758
1760
|
fontSize: string;
|
|
1759
1761
|
fontWeight: string;
|
|
1760
1762
|
letterSpacing: string;
|
|
1761
1763
|
lineHeight: string;
|
|
1764
|
+
maxWidth: {
|
|
1765
|
+
value: number;
|
|
1766
|
+
unit: string;
|
|
1767
|
+
};
|
|
1762
1768
|
};
|
|
1763
1769
|
$description: string;
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1770
|
+
};
|
|
1771
|
+
ui: {
|
|
1772
|
+
$value: {
|
|
1773
|
+
fontFamily: string;
|
|
1774
|
+
fontSize: string;
|
|
1775
|
+
fontWeight: string;
|
|
1776
|
+
letterSpacing: string;
|
|
1777
|
+
lineHeight: string;
|
|
1778
|
+
maxWidth: {
|
|
1779
|
+
value: number;
|
|
1780
|
+
unit: string;
|
|
1768
1781
|
};
|
|
1769
1782
|
};
|
|
1783
|
+
$description: string;
|
|
1770
1784
|
};
|
|
1771
|
-
|
|
1785
|
+
caption: {
|
|
1772
1786
|
$value: {
|
|
1773
1787
|
fontFamily: string;
|
|
1774
1788
|
fontSize: string;
|
|
@@ -1777,14 +1791,8 @@ export declare const tokens: {
|
|
|
1777
1791
|
lineHeight: string;
|
|
1778
1792
|
};
|
|
1779
1793
|
$description: string;
|
|
1780
|
-
$extensions: {
|
|
1781
|
-
"com.figma.variables": {
|
|
1782
|
-
fontSize: string;
|
|
1783
|
-
note: string;
|
|
1784
|
-
};
|
|
1785
|
-
};
|
|
1786
1794
|
};
|
|
1787
|
-
|
|
1795
|
+
mono: {
|
|
1788
1796
|
$value: {
|
|
1789
1797
|
fontFamily: string;
|
|
1790
1798
|
fontSize: string;
|
|
@@ -1798,21 +1806,18 @@ export declare const tokens: {
|
|
|
1798
1806
|
};
|
|
1799
1807
|
$description: string;
|
|
1800
1808
|
};
|
|
1801
|
-
|
|
1809
|
+
h1: {
|
|
1802
1810
|
$value: {
|
|
1803
1811
|
fontFamily: string;
|
|
1804
1812
|
fontSize: string;
|
|
1805
1813
|
fontWeight: string;
|
|
1806
1814
|
letterSpacing: string;
|
|
1807
1815
|
lineHeight: string;
|
|
1808
|
-
maxWidth: {
|
|
1809
|
-
value: number;
|
|
1810
|
-
unit: string;
|
|
1811
|
-
};
|
|
1812
1816
|
};
|
|
1813
1817
|
$description: string;
|
|
1818
|
+
$deprecated: string;
|
|
1814
1819
|
};
|
|
1815
|
-
|
|
1820
|
+
h2: {
|
|
1816
1821
|
$value: {
|
|
1817
1822
|
fontFamily: string;
|
|
1818
1823
|
fontSize: string;
|
|
@@ -1821,31 +1826,29 @@ export declare const tokens: {
|
|
|
1821
1826
|
lineHeight: string;
|
|
1822
1827
|
};
|
|
1823
1828
|
$description: string;
|
|
1829
|
+
$deprecated: string;
|
|
1824
1830
|
};
|
|
1825
|
-
|
|
1831
|
+
h3: {
|
|
1826
1832
|
$value: {
|
|
1827
1833
|
fontFamily: string;
|
|
1828
1834
|
fontSize: string;
|
|
1829
1835
|
fontWeight: string;
|
|
1830
1836
|
letterSpacing: string;
|
|
1831
1837
|
lineHeight: string;
|
|
1832
|
-
textTransform: string;
|
|
1833
1838
|
};
|
|
1834
1839
|
$description: string;
|
|
1840
|
+
$deprecated: string;
|
|
1835
1841
|
};
|
|
1836
|
-
|
|
1842
|
+
eyebrow: {
|
|
1837
1843
|
$value: {
|
|
1838
1844
|
fontFamily: string;
|
|
1839
1845
|
fontSize: string;
|
|
1840
1846
|
fontWeight: string;
|
|
1841
1847
|
letterSpacing: string;
|
|
1842
1848
|
lineHeight: string;
|
|
1843
|
-
maxWidth: {
|
|
1844
|
-
value: number;
|
|
1845
|
-
unit: string;
|
|
1846
|
-
};
|
|
1847
1849
|
};
|
|
1848
1850
|
$description: string;
|
|
1851
|
+
$deprecated: string;
|
|
1849
1852
|
};
|
|
1850
1853
|
lineHeight: {
|
|
1851
1854
|
none: {
|
package/dist/variables.css
CHANGED
|
@@ -118,6 +118,7 @@
|
|
|
118
118
|
--primitive-typography-size-4xl: 36px;
|
|
119
119
|
--primitive-typography-size-5xl: 48px;
|
|
120
120
|
--primitive-typography-size-6xl: 60px;
|
|
121
|
+
--primitive-typography-size-code: 13px;
|
|
121
122
|
--primitive-typography-weight-regular: 400;
|
|
122
123
|
--primitive-typography-weight-medium: 500;
|
|
123
124
|
--primitive-typography-weight-bold: 700;
|
|
@@ -127,6 +128,8 @@
|
|
|
127
128
|
--primitive-typography-lineHeight-snug: 1.375;
|
|
128
129
|
--primitive-typography-lineHeight-normal: 1.5;
|
|
129
130
|
--primitive-typography-lineHeight-relaxed: 1.625;
|
|
131
|
+
--primitive-typography-lineHeight-display: 1.05;
|
|
132
|
+
--primitive-typography-lineHeight-body: 1.6;
|
|
130
133
|
--primitive-typography-letterSpacing-tight: -0.01em;
|
|
131
134
|
--primitive-typography-letterSpacing-normal: 0em;
|
|
132
135
|
--primitive-typography-letterSpacing-caps: 0.06em;
|
|
@@ -267,62 +270,67 @@
|
|
|
267
270
|
--semantic-layout-grid-columns-desktop: var(--primitive-grid-columns-3);
|
|
268
271
|
/* semantic.typography.display */
|
|
269
272
|
--semantic-typography-display-font-family: var(--primitive-typography-family-display);
|
|
270
|
-
--semantic-typography-display-font-size: var(--primitive-typography-size-
|
|
273
|
+
--semantic-typography-display-font-size: var(--primitive-typography-size-5xl);
|
|
271
274
|
--semantic-typography-display-font-weight: var(--primitive-typography-weight-bold);
|
|
272
275
|
--semantic-typography-display-letter-spacing: var(--primitive-typography-letterSpacing-tight);
|
|
273
|
-
--semantic-typography-display-line-height: var(--primitive-typography-lineHeight-
|
|
274
|
-
/* semantic.typography.
|
|
275
|
-
--semantic-typography-
|
|
276
|
-
--semantic-typography-
|
|
277
|
-
--semantic-typography-
|
|
278
|
-
--semantic-typography-
|
|
279
|
-
--semantic-typography-
|
|
280
|
-
/* semantic.typography.h2 */
|
|
281
|
-
--semantic-typography-h2-font-family: var(--primitive-typography-family-display);
|
|
282
|
-
--semantic-typography-h2-font-size: var(--primitive-typography-size-3xl);
|
|
283
|
-
--semantic-typography-h2-font-weight: var(--primitive-typography-weight-bold);
|
|
284
|
-
--semantic-typography-h2-letter-spacing: var(--primitive-typography-letterSpacing-tight);
|
|
285
|
-
--semantic-typography-h2-line-height: 40px;
|
|
286
|
-
/* semantic.typography.h3 */
|
|
287
|
-
--semantic-typography-h3-font-family: var(--primitive-typography-family-display);
|
|
288
|
-
--semantic-typography-h3-font-size: var(--primitive-typography-size-xl);
|
|
289
|
-
--semantic-typography-h3-font-weight: var(--primitive-typography-weight-bold);
|
|
290
|
-
--semantic-typography-h3-letter-spacing: var(--primitive-typography-letterSpacing-normal);
|
|
291
|
-
--semantic-typography-h3-line-height: 28px;
|
|
276
|
+
--semantic-typography-display-line-height: var(--primitive-typography-lineHeight-display);
|
|
277
|
+
/* semantic.typography.title */
|
|
278
|
+
--semantic-typography-title-font-family: var(--primitive-typography-family-display);
|
|
279
|
+
--semantic-typography-title-font-size: var(--primitive-typography-size-2xl);
|
|
280
|
+
--semantic-typography-title-font-weight: var(--primitive-typography-weight-bold);
|
|
281
|
+
--semantic-typography-title-letter-spacing: var(--primitive-typography-letterSpacing-tight);
|
|
282
|
+
--semantic-typography-title-line-height: var(--primitive-typography-lineHeight-tight);
|
|
292
283
|
/* semantic.typography.body */
|
|
293
284
|
--semantic-typography-body-font-family: var(--primitive-typography-family-primary);
|
|
294
285
|
--semantic-typography-body-font-size: var(--primitive-typography-size-base);
|
|
295
|
-
--semantic-typography-body-font-weight: var(--primitive-typography-weight-
|
|
286
|
+
--semantic-typography-body-font-weight: var(--primitive-typography-weight-regular);
|
|
296
287
|
--semantic-typography-body-letter-spacing: var(--primitive-typography-letterSpacing-normal);
|
|
297
|
-
--semantic-typography-body-line-height:
|
|
288
|
+
--semantic-typography-body-line-height: var(--primitive-typography-lineHeight-body);
|
|
298
289
|
--semantic-typography-body-max-width: 60ch;
|
|
299
290
|
/* semantic.typography.ui */
|
|
300
291
|
--semantic-typography-ui-font-family: var(--primitive-typography-family-primary);
|
|
301
292
|
--semantic-typography-ui-font-size: var(--primitive-typography-size-sm);
|
|
302
293
|
--semantic-typography-ui-font-weight: var(--primitive-typography-weight-medium);
|
|
303
294
|
--semantic-typography-ui-letter-spacing: var(--primitive-typography-letterSpacing-normal);
|
|
304
|
-
--semantic-typography-ui-line-height:
|
|
295
|
+
--semantic-typography-ui-line-height: var(--primitive-typography-lineHeight-normal);
|
|
305
296
|
--semantic-typography-ui-max-width: 60ch;
|
|
306
297
|
/* semantic.typography.caption */
|
|
307
298
|
--semantic-typography-caption-font-family: var(--primitive-typography-family-primary);
|
|
308
299
|
--semantic-typography-caption-font-size: var(--primitive-typography-size-xs);
|
|
309
300
|
--semantic-typography-caption-font-weight: var(--primitive-typography-weight-medium);
|
|
310
301
|
--semantic-typography-caption-letter-spacing: var(--primitive-typography-letterSpacing-normal);
|
|
311
|
-
--semantic-typography-caption-line-height:
|
|
312
|
-
/* semantic.typography.eyebrow */
|
|
313
|
-
--semantic-typography-eyebrow-font-family: var(--primitive-typography-family-primary);
|
|
314
|
-
--semantic-typography-eyebrow-font-size: var(--primitive-typography-size-xs);
|
|
315
|
-
--semantic-typography-eyebrow-font-weight: var(--primitive-typography-weight-medium);
|
|
316
|
-
--semantic-typography-eyebrow-letter-spacing: var(--primitive-typography-letterSpacing-caps);
|
|
317
|
-
--semantic-typography-eyebrow-line-height: 16px;
|
|
318
|
-
--semantic-typography-eyebrow-text-transform: uppercase;
|
|
302
|
+
--semantic-typography-caption-line-height: var(--primitive-typography-lineHeight-normal);
|
|
319
303
|
/* semantic.typography.mono */
|
|
320
304
|
--semantic-typography-mono-font-family: var(--primitive-typography-family-mono);
|
|
321
|
-
--semantic-typography-mono-font-size: var(--primitive-typography-size-
|
|
305
|
+
--semantic-typography-mono-font-size: var(--primitive-typography-size-code);
|
|
322
306
|
--semantic-typography-mono-font-weight: var(--primitive-typography-weight-regular);
|
|
323
307
|
--semantic-typography-mono-letter-spacing: var(--primitive-typography-letterSpacing-normal);
|
|
324
|
-
--semantic-typography-mono-line-height:
|
|
308
|
+
--semantic-typography-mono-line-height: var(--primitive-typography-lineHeight-normal);
|
|
325
309
|
--semantic-typography-mono-max-width: 60ch;
|
|
310
|
+
/* semantic.typography.h1 */
|
|
311
|
+
--semantic-typography-h1-font-family: var(--primitive-typography-family-display);
|
|
312
|
+
--semantic-typography-h1-font-size: var(--primitive-typography-size-2xl);
|
|
313
|
+
--semantic-typography-h1-font-weight: var(--primitive-typography-weight-bold);
|
|
314
|
+
--semantic-typography-h1-letter-spacing: var(--primitive-typography-letterSpacing-tight);
|
|
315
|
+
--semantic-typography-h1-line-height: var(--primitive-typography-lineHeight-tight);
|
|
316
|
+
/* semantic.typography.h2 */
|
|
317
|
+
--semantic-typography-h2-font-family: var(--primitive-typography-family-display);
|
|
318
|
+
--semantic-typography-h2-font-size: var(--primitive-typography-size-2xl);
|
|
319
|
+
--semantic-typography-h2-font-weight: var(--primitive-typography-weight-bold);
|
|
320
|
+
--semantic-typography-h2-letter-spacing: var(--primitive-typography-letterSpacing-tight);
|
|
321
|
+
--semantic-typography-h2-line-height: var(--primitive-typography-lineHeight-tight);
|
|
322
|
+
/* semantic.typography.h3 */
|
|
323
|
+
--semantic-typography-h3-font-family: var(--primitive-typography-family-display);
|
|
324
|
+
--semantic-typography-h3-font-size: var(--primitive-typography-size-2xl);
|
|
325
|
+
--semantic-typography-h3-font-weight: var(--primitive-typography-weight-bold);
|
|
326
|
+
--semantic-typography-h3-letter-spacing: var(--primitive-typography-letterSpacing-tight);
|
|
327
|
+
--semantic-typography-h3-line-height: var(--primitive-typography-lineHeight-tight);
|
|
328
|
+
/* semantic.typography.eyebrow */
|
|
329
|
+
--semantic-typography-eyebrow-font-family: var(--primitive-typography-family-primary);
|
|
330
|
+
--semantic-typography-eyebrow-font-size: var(--primitive-typography-size-xs);
|
|
331
|
+
--semantic-typography-eyebrow-font-weight: var(--primitive-typography-weight-medium);
|
|
332
|
+
--semantic-typography-eyebrow-letter-spacing: var(--primitive-typography-letterSpacing-normal);
|
|
333
|
+
--semantic-typography-eyebrow-line-height: var(--primitive-typography-lineHeight-normal);
|
|
326
334
|
--semantic-typography-lineHeight-none: var(--primitive-typography-lineHeight-none);
|
|
327
335
|
--semantic-docs-space-section: var(--primitive-space-12);
|
|
328
336
|
--semantic-docs-space-paragraph: var(--primitive-space-6);
|