@kiva/kv-tokens 3.7.3-next.1 → 3.7.3-next.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,29 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.7.3-next.3](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@3.7.3-next.2...@kiva/kv-tokens@3.7.3-next.3) (2026-04-01)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * sync latest from main, continued application of semantic classes, prose h1 override ([22ce4a6](https://github.com/kiva/kv-ui-elements/commit/22ce4a6389994244ccffcf67466dcfe01da8c8a5))
12
+
13
+
14
+
15
+
16
+
17
+ ## [3.7.3-next.2](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@3.7.3-next.1...@kiva/kv-tokens@3.7.3-next.2) (2026-03-30)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * semantic style class ([cc62fce](https://github.com/kiva/kv-ui-elements/commit/cc62fce672058ab82d84abafae1d12c28cf9cdf0))
23
+ * update global html headers + jumbo to match new type guidelines, refine underline sizes ([10e7295](https://github.com/kiva/kv-ui-elements/commit/10e7295686bca126525e3a4b5ff00de6fbe28dcc))
24
+
25
+
26
+
27
+
28
+
6
29
  ## [3.7.3-next.1](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@3.7.3-next.0...@kiva/kv-tokens@3.7.3-next.1) (2026-03-26)
7
30
 
8
31
 
@@ -291,71 +291,88 @@ export const textStyles = (() => {
291
291
  const textJumbo = {
292
292
  fontFamily: fonts.serif,
293
293
  fontWeight: fontWeights.medium,
294
- fontSize: rem(fontSizes.jumbo.sm),
295
- letterSpacing: letterSpacings['-1'],
296
- lineHeight: lineHeights.tight,
294
+ fontSize: rem(semanticFontSizes.jumbo.sm),
295
+ letterSpacing: em(letterSpacings['-400'], semanticFontSizes.jumbo.sm),
296
+ lineHeight: em(lineHeightsAbsolute.jumbo.sm, semanticFontSizes.jumbo.sm),
297
297
  '@screen md': {
298
- fontSize: rem(fontSizes.jumbo.md),
298
+ fontSize: rem(semanticFontSizes.jumbo.md),
299
+ letterSpacing: em(letterSpacings['-500'], semanticFontSizes.jumbo.md),
300
+ lineHeight: em(lineHeightsAbsolute.jumbo.md, semanticFontSizes.jumbo.md),
299
301
  },
300
302
  '@screen lg': {
301
- fontSize: rem(fontSizes.jumbo.lg),
303
+ fontSize: rem(semanticFontSizes.jumbo.lg),
304
+ letterSpacing: em(letterSpacings['-600'], semanticFontSizes.jumbo.lg),
305
+ lineHeight: em(lineHeightsAbsolute.jumbo.lg, semanticFontSizes.jumbo.lg),
302
306
  },
303
307
  };
304
308
 
305
309
  const textH1 = {
306
310
  fontFamily: fonts.serif,
307
- fontSize: rem(fontSizes.h1.sm),
311
+ fontSize: rem(semanticFontSizes.h1.sm),
308
312
  fontWeight: fontWeights.medium,
309
- letterSpacing: em(letterSpacings['-0.5'], fontSizes.h1.md),
310
- lineHeight: lineHeights.tight,
313
+ letterSpacing: em(letterSpacings['-200'], semanticFontSizes.h1.sm),
314
+ lineHeight: em(lineHeightsAbsolute.h1.sm, semanticFontSizes.h1.sm),
311
315
  '@screen md': {
312
- fontSize: rem(fontSizes.h1.md),
316
+ fontSize: rem(semanticFontSizes.h1.md),
317
+ letterSpacing: em(letterSpacings['-200'], semanticFontSizes.h1.md),
318
+ lineHeight: em(lineHeightsAbsolute.h1.md, semanticFontSizes.h1.md),
313
319
  },
314
320
  '@screen lg': {
315
- fontSize: rem(fontSizes.h1.lg),
321
+ fontSize: rem(semanticFontSizes.h1.lg),
322
+ letterSpacing: em(letterSpacings['-300'], semanticFontSizes.h1.lg),
323
+ lineHeight: em(lineHeightsAbsolute.h1.lg, semanticFontSizes.h1.lg),
316
324
  },
317
325
  };
318
326
 
319
327
  const textH2 = {
320
328
  fontFamily: fonts.serif,
321
- fontSize: rem(fontSizes.h2.sm),
329
+ fontSize: rem(semanticFontSizes.h2.sm),
322
330
  fontWeight: fontWeights.medium,
323
- letterSpacing: em(letterSpacings.normal, fontSizes.h2.sm),
324
- lineHeight: lineHeights.tight,
331
+ letterSpacing: em(letterSpacings['-100'], semanticFontSizes.h2.sm),
332
+ lineHeight: em(lineHeightsAbsolute.h2.sm, semanticFontSizes.h2.sm),
325
333
  '@screen md': {
326
- fontSize: rem(fontSizes.h2.md),
327
- letterSpacing: em(letterSpacings['-0.3'], fontSizes.h2.md),
334
+ fontSize: rem(semanticFontSizes.h2.md),
335
+ letterSpacing: em(letterSpacings['-100'], semanticFontSizes.h2.md),
336
+ lineHeight: em(lineHeightsAbsolute.h2.md, semanticFontSizes.h2.md),
328
337
  },
329
338
  '@screen lg': {
330
- fontSize: rem(fontSizes.h2.lg),
331
- letterSpacing: em(letterSpacings['-0.3'], fontSizes.h2.lg),
332
- lineHeight: lineHeights['nearly-none'],
339
+ fontSize: rem(semanticFontSizes.h2.lg),
340
+ letterSpacing: em(letterSpacings['-200'], semanticFontSizes.h2.lg),
341
+ lineHeight: em(lineHeightsAbsolute.h2.lg, semanticFontSizes.h2.lg),
333
342
  },
334
343
  };
335
344
 
336
345
  const textH3 = {
337
- fontSize: rem(fontSizes.h3.sm),
338
- fontWeight: fontWeights.normal,
339
- letterSpacing: em(letterSpacings['-1'], fontSizes.h3.sm),
340
- lineHeight: lineHeights.tight,
346
+ fontSize: rem(semanticFontSizes.h3.sm),
347
+ fontWeight: fontWeights.light,
348
+ letterSpacing: em(letterSpacings.normal, semanticFontSizes.h3.sm),
349
+ lineHeight: em(lineHeightsAbsolute.h3.sm, semanticFontSizes.h3.sm),
341
350
  '@screen md': {
342
- fontSize: rem(fontSizes.h3.md),
351
+ fontSize: rem(semanticFontSizes.h3.md),
352
+ letterSpacing: em(letterSpacings.normal, semanticFontSizes.h3.md),
353
+ lineHeight: em(lineHeightsAbsolute.h3.md, semanticFontSizes.h3.md),
343
354
  },
344
355
  '@screen lg': {
345
- fontSize: rem(fontSizes.h3.lg),
356
+ fontSize: rem(semanticFontSizes.h3.lg),
357
+ letterSpacing: em(letterSpacings.normal, semanticFontSizes.h3.lg),
358
+ lineHeight: em(lineHeightsAbsolute.h3.lg, semanticFontSizes.h3.lg),
346
359
  },
347
360
  };
348
361
 
349
362
  const textH4 = {
350
- fontSize: rem(fontSizes.h4.sm),
363
+ fontSize: rem(semanticFontSizes.h3.sm),
351
364
  fontWeight: fontWeights.normal,
352
- lineHeight: lineHeights.normal,
353
- textTransform: 'uppercase',
365
+ letterSpacing: em(letterSpacings.normal, semanticFontSizes.h3.sm),
366
+ lineHeight: em(lineHeightsAbsolute.h3.sm, semanticFontSizes.h3.sm),
354
367
  '@screen md': {
355
- fontSize: rem(fontSizes.h4.md),
368
+ fontSize: rem(semanticFontSizes.h3.md),
369
+ letterSpacing: em(letterSpacings.normal, semanticFontSizes.h3.md),
370
+ lineHeight: em(lineHeightsAbsolute.h3.md, semanticFontSizes.h3.md),
356
371
  },
357
372
  '@screen lg': {
358
- fontSize: rem(fontSizes.h4.lg),
373
+ fontSize: rem(semanticFontSizes.h3.lg),
374
+ letterSpacing: em(letterSpacings.normal, semanticFontSizes.h3.lg),
375
+ lineHeight: em(lineHeightsAbsolute.h3.lg, semanticFontSizes.h3.lg),
359
376
  },
360
377
  };
361
378
 
@@ -368,36 +385,32 @@ export const textStyles = (() => {
368
385
  };
369
386
 
370
387
  const textSubhead = {
388
+ // Replaced with styles for new text-subhealine class
371
389
  fontFamily: fonts.sans,
372
- fontSize: rem(fontSizes.subhead.sm),
373
390
  fontWeight: fontWeights.light,
374
- letterSpacing: em(letterSpacings.normal, fontSizes.subhead.sm),
375
- lineHeight: lineHeights.tight,
391
+ fontSize: rem(semanticFontSizes.h3.sm),
392
+ letterSpacing: em(letterSpacings.normal, semanticFontSizes.h3.sm),
393
+ lineHeight: em(lineHeightsAbsolute.h3.sm, semanticFontSizes.h3.sm),
376
394
  '@screen md': {
377
- fontSize: rem(fontSizes.subhead.md),
395
+ fontSize: rem(semanticFontSizes.h3.md),
378
396
  },
379
397
  '@screen lg': {
380
- fontSize: rem(fontSizes.subhead.lg),
398
+ fontSize: rem(semanticFontSizes.h3.lg),
399
+ lineHeight: em(lineHeightsAbsolute.h3.lg, semanticFontSizes.h3.lg),
381
400
  },
382
401
  };
383
402
 
384
403
  const textBase = {
385
404
  fontWeight: fontWeights.light,
386
405
  fontSize: rem(fontSizes.base.sm),
387
- letterSpacing: em(letterSpacings.normal, fontSizes.base.sm),
388
- lineHeight: lineHeights['140'],
389
- '@screen lg': {
390
- fontSize: rem(fontSizes.base.lg),
391
- letterSpacing: em(letterSpacings.normal, fontSizes.base.sm),
392
- },
406
+ lineHeight: em(lineHeightsAbsolute.base.sm, fontSizes.base.sm),
393
407
  };
394
408
 
395
409
  const textSmall = {
396
410
  fontSize: rem(fontSizes.small.sm),
397
- lineHeight: lineHeights.normal,
398
- '@screen lg': {
399
- fontSize: rem(fontSizes.small.lg),
400
- },
411
+ fontWeight: fontWeights.light,
412
+ letterSpacing: em(letterSpacings.normal, fontSizes.small.sm),
413
+ lineHeight: em(lineHeightsAbsolute.caption.sm, fontSizes.small.sm),
401
414
  };
402
415
 
403
416
  const textLink = {
@@ -482,7 +495,7 @@ export const textStyles = (() => {
482
495
  },
483
496
  };
484
497
 
485
- const textSubHeadline = {
498
+ const textSubheadline = {
486
499
  fontFamily: fonts.sans,
487
500
  fontWeight: fontWeights.light,
488
501
  fontSize: rem(semanticFontSizes.h3.sm),
@@ -561,7 +574,7 @@ export const textStyles = (() => {
561
574
  textDisplay,
562
575
  textHeadline,
563
576
  textHeadlineTwo,
564
- textSubHeadline,
577
+ textSubheadline,
565
578
  textTitle,
566
579
  textButtonLink,
567
580
  textUpper,
@@ -647,11 +660,22 @@ export const proseOverrides = () => ({
647
660
  padding: `0 0 0 ${rem(space['6'])}`,
648
661
  },
649
662
  h1: {
650
- fontSize: false,
651
- letterSpacing: false,
652
663
  marginTop: '0',
653
664
  marginBottom: rem(space[2]),
654
665
  color: textBaseColor,
666
+ fontSize: rem(semanticFontSizes.jumbo.sm),
667
+ letterSpacing: em(letterSpacings['-400'], semanticFontSizes.jumbo.sm),
668
+ lineHeight: em(lineHeightsAbsolute.jumbo.sm, semanticFontSizes.jumbo.sm),
669
+ '@screen md': {
670
+ fontSize: rem(semanticFontSizes.jumbo.md),
671
+ letterSpacing: em(letterSpacings['-500'], semanticFontSizes.jumbo.md),
672
+ lineHeight: em(lineHeightsAbsolute.jumbo.md, semanticFontSizes.jumbo.md),
673
+ },
674
+ '@screen lg': {
675
+ fontSize: rem(semanticFontSizes.jumbo.lg),
676
+ letterSpacing: em(letterSpacings['-600'], semanticFontSizes.jumbo.lg),
677
+ lineHeight: em(lineHeightsAbsolute.jumbo.lg, semanticFontSizes.jumbo.lg),
678
+ },
655
679
  },
656
680
  h2: {
657
681
  fontSize: false,
@@ -205,17 +205,17 @@ export default {
205
205
  'text-rendering': 'optimizeLegibility',
206
206
  },
207
207
  button: { fontWeight: 'inherit' },
208
- h1: textStyles.textDisplay,
209
- h2: textStyles.textHeadline,
210
- h3: textStyles.textHeadlineTwo,
211
- h4: textStyles.textSubheadline,
212
- h5: textStyles.textTitle,
208
+ h1: textStyles.textHeadline,
209
+ h2: textStyles.textHeadlineTwo,
210
+ h3: textStyles.textSubheadline,
211
+ h4: textStyles.textTitle,
212
+ h5: textStyles.textH5,
213
213
  small: textStyles.textSmall,
214
214
  code: {
215
215
  fontSize: '0.875em',
216
216
  },
217
217
  blockquote: textStyles.textBlockquote,
218
- 'figure figcaption': textStyles.textBase,
218
+ 'figure figcaption': textStyles.textCaption,
219
219
  'button:focus': {
220
220
  outline: 'revert', // undo tailwind button focus styling
221
221
  },
@@ -240,13 +240,13 @@ export default {
240
240
  });
241
241
  addUtilities({
242
242
  '.text-base': textStyles.textBase,
243
- '.text-h1': textStyles.textH1,
244
- '.text-h2': textStyles.textH2,
245
- '.text-h3': textStyles.textH3,
246
- '.text-h4': textStyles.textH4,
243
+ '.text-h1': textStyles.textHeadline,
244
+ '.text-h2': textStyles.textHeadlineTwo,
245
+ '.text-h3': textStyles.textSubheadline,
246
+ '.text-h4': textStyles.textTitle,
247
247
  '.text-h5': textStyles.textH5,
248
- '.text-subhead': textStyles.textSubhead,
249
- '.text-jumbo': textStyles.textJumbo,
248
+ '.text-subhead': textStyles.textSubheadline,
249
+ '.text-jumbo': textStyles.textDisplay,
250
250
  '.text-small': textStyles.textSmall,
251
251
  '.text-link': textStyles.textLink,
252
252
  '.text-blockquote': textStyles.textBlockquote,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-tokens",
3
- "version": "3.7.3-next.1",
3
+ "version": "3.7.3-next.3",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -23,5 +23,5 @@
23
23
  "@tailwindcss/typography": "^0.5.1",
24
24
  "tailwindcss": "^3.4.3"
25
25
  },
26
- "gitHead": "825341736b7a824336db7b9fc1f373f1ba38e94f"
26
+ "gitHead": "ae5f6a2a15e8a20e665bcb1c8c629d69b38251ca"
27
27
  }
package/primitives.js CHANGED
@@ -517,6 +517,7 @@ export default {
517
517
  },
518
518
  },
519
519
  fontWeights: {
520
+ // Conicides with "book" for Post Grotesk in Figma
520
521
  light: 300,
521
522
  // Note: this is referred to as "medium" in the figma files for Post Grotesk but matches the font-weight of the font file we load
522
523
  normal: 400,
@@ -534,7 +535,7 @@ export default {
534
535
  150: 1.5,
535
536
  },
536
537
  lineHeightsAbsolute: {
537
- jumbo: { sm: 47, md: 52, lg: 57 },
538
+ jumbo: { sm: 52, md: 52, lg: 57 },
538
539
  h1: { sm: 31, md: 31, lg: 36 },
539
540
  h2: { sm: 26, md: 26, lg: 31 },
540
541
  h3: { sm: 23, md: 23, lg: 26 },