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

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,18 @@
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.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)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * semantic style class ([cc62fce](https://github.com/kiva/kv-ui-elements/commit/cc62fce672058ab82d84abafae1d12c28cf9cdf0))
12
+ * update global html headers + jumbo to match new type guidelines, refine underline sizes ([10e7295](https://github.com/kiva/kv-ui-elements/commit/10e7295686bca126525e3a4b5ff00de6fbe28dcc))
13
+
14
+
15
+
16
+
17
+
6
18
  ## [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
19
 
8
20
 
@@ -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
 
@@ -482,7 +499,7 @@ export const textStyles = (() => {
482
499
  },
483
500
  };
484
501
 
485
- const textSubHeadline = {
502
+ const textSubheadline = {
486
503
  fontFamily: fonts.sans,
487
504
  fontWeight: fontWeights.light,
488
505
  fontSize: rem(semanticFontSizes.h3.sm),
@@ -561,7 +578,7 @@ export const textStyles = (() => {
561
578
  textDisplay,
562
579
  textHeadline,
563
580
  textHeadlineTwo,
564
- textSubHeadline,
581
+ textSubheadline,
565
582
  textTitle,
566
583
  textButtonLink,
567
584
  textUpper,
@@ -205,11 +205,11 @@ 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',
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.2",
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": "c37f6bfc8cd9718a3e86c4f92947eda3ff70f5a8"
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 },