@kiva/kv-tokens 3.7.1 → 3.7.3-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.
- package/CHANGELOG.md +35 -0
- package/configs/kivaTypography.js +22 -6
- package/configs/tailwind.config.js +1 -0
- package/package.json +2 -2
- package/primitives.js +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
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.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@3.7.2...@kiva/kv-tokens@3.7.3-next.0) (2026-03-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* add smaller line-height to match new type base style definitions ([6b5b4fe](https://github.com/kiva/kv-ui-elements/commit/6b5b4feffa71f70066fdce9d2cc5dd11d9e98c69))
|
|
12
|
+
* demo base and small type sizes ([865dacc](https://github.com/kiva/kv-ui-elements/commit/865dacc45b00f10181b84cd000db2cca51643a0d))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## [3.7.3-alpha.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@3.7.2...@kiva/kv-tokens@3.7.3-alpha.0) (2026-03-19)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* add smaller line-height to match new type base style definitions ([6b5b4fe](https://github.com/kiva/kv-ui-elements/commit/6b5b4feffa71f70066fdce9d2cc5dd11d9e98c69))
|
|
24
|
+
* demo base and small type sizes ([865dacc](https://github.com/kiva/kv-ui-elements/commit/865dacc45b00f10181b84cd000db2cca51643a0d))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [3.7.2](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@3.7.1...@kiva/kv-tokens@3.7.2) (2026-02-25)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
|
|
35
|
+
* add new tw-text-headline-two semantic text class, shift values for title and subhealine classes ([6c8b345](https://github.com/kiva/kv-ui-elements/commit/6c8b345612bd88d09014b33c020d41075e7c3f57))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
## [3.7.1](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@3.7.0...@kiva/kv-tokens@3.7.1) (2026-02-12)
|
|
7
42
|
|
|
8
43
|
|
|
@@ -385,7 +385,7 @@ export const textStyles = (() => {
|
|
|
385
385
|
fontWeight: fontWeights.light,
|
|
386
386
|
fontSize: rem(fontSizes.base.sm),
|
|
387
387
|
letterSpacing: em(letterSpacings.normal, fontSizes.base.sm),
|
|
388
|
-
lineHeight: lineHeights
|
|
388
|
+
lineHeight: lineHeights['140'],
|
|
389
389
|
'@screen lg': {
|
|
390
390
|
fontSize: rem(fontSizes.base.lg),
|
|
391
391
|
letterSpacing: em(letterSpacings.normal, fontSizes.base.sm),
|
|
@@ -465,26 +465,41 @@ export const textStyles = (() => {
|
|
|
465
465
|
},
|
|
466
466
|
};
|
|
467
467
|
|
|
468
|
-
const
|
|
468
|
+
const textHeadlineTwo = {
|
|
469
469
|
fontFamily: fonts.serif,
|
|
470
470
|
fontWeight: fontWeights.medium,
|
|
471
471
|
fontSize: rem(semanticFontSizes.h2.sm),
|
|
472
|
-
letterSpacing: em(letterSpacings['-
|
|
472
|
+
letterSpacing: em(letterSpacings['-200'], semanticFontSizes.h2.sm),
|
|
473
473
|
lineHeight: em(lineHeightsAbsolute.h2.sm, semanticFontSizes.h2.sm),
|
|
474
474
|
'@screen md': {
|
|
475
475
|
fontSize: rem(semanticFontSizes.h2.md),
|
|
476
|
-
letterSpacing: em(letterSpacings['-
|
|
476
|
+
letterSpacing: em(letterSpacings['-200'], semanticFontSizes.h2.md),
|
|
477
477
|
},
|
|
478
478
|
'@screen lg': {
|
|
479
479
|
fontSize: rem(semanticFontSizes.h2.lg),
|
|
480
|
-
letterSpacing: em(letterSpacings['-
|
|
480
|
+
letterSpacing: em(letterSpacings['-300'], semanticFontSizes.h2.lg),
|
|
481
481
|
lineHeight: em(lineHeightsAbsolute.h2.lg, semanticFontSizes.h2.lg),
|
|
482
482
|
},
|
|
483
483
|
};
|
|
484
484
|
|
|
485
|
+
const textSubHeadline = {
|
|
486
|
+
fontFamily: fonts.sans,
|
|
487
|
+
fontWeight: fontWeights.light,
|
|
488
|
+
fontSize: rem(semanticFontSizes.h3.sm),
|
|
489
|
+
letterSpacing: em(letterSpacings.normal, semanticFontSizes.h3.sm),
|
|
490
|
+
lineHeight: em(lineHeightsAbsolute.h3.sm, semanticFontSizes.h3.sm),
|
|
491
|
+
'@screen md': {
|
|
492
|
+
fontSize: rem(semanticFontSizes.h3.md),
|
|
493
|
+
},
|
|
494
|
+
'@screen lg': {
|
|
495
|
+
fontSize: rem(semanticFontSizes.h3.lg),
|
|
496
|
+
lineHeight: em(lineHeightsAbsolute.h3.lg, semanticFontSizes.h3.lg),
|
|
497
|
+
},
|
|
498
|
+
};
|
|
499
|
+
|
|
485
500
|
const textTitle = {
|
|
486
501
|
fontFamily: fonts.sans,
|
|
487
|
-
fontWeight: fontWeights.
|
|
502
|
+
fontWeight: fontWeights.normal,
|
|
488
503
|
fontSize: rem(semanticFontSizes.h3.sm),
|
|
489
504
|
letterSpacing: em(letterSpacings.normal, semanticFontSizes.h3.sm),
|
|
490
505
|
lineHeight: em(lineHeightsAbsolute.h3.sm, semanticFontSizes.h3.sm),
|
|
@@ -545,6 +560,7 @@ export const textStyles = (() => {
|
|
|
545
560
|
textBlockquote,
|
|
546
561
|
textDisplay,
|
|
547
562
|
textHeadline,
|
|
563
|
+
textHeadlineTwo,
|
|
548
564
|
textSubHeadline,
|
|
549
565
|
textTitle,
|
|
550
566
|
textButtonLink,
|
|
@@ -253,6 +253,7 @@ export default {
|
|
|
253
253
|
// new (2026) semantic text styles
|
|
254
254
|
'.text-display': textStyles.textDisplay,
|
|
255
255
|
'.text-headline': textStyles.textHeadline,
|
|
256
|
+
'.text-headline-two': textStyles.textHeadlineTwo,
|
|
256
257
|
'.text-subheadline': textStyles.textSubheadline,
|
|
257
258
|
'.text-title': textStyles.textTitle,
|
|
258
259
|
'.text-button-link': textStyles.textButtonLink,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-tokens",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.3-next.0",
|
|
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": "
|
|
26
|
+
"gitHead": "b20da6549c86bce57f12ac7a951a74f745a9399c"
|
|
27
27
|
}
|
package/primitives.js
CHANGED
|
@@ -433,7 +433,7 @@ export default {
|
|
|
433
433
|
base: {
|
|
434
434
|
sm: 16,
|
|
435
435
|
md: 16,
|
|
436
|
-
lg:
|
|
436
|
+
lg: 16,
|
|
437
437
|
},
|
|
438
438
|
jumbo: {
|
|
439
439
|
sm: 42,
|
|
@@ -441,8 +441,8 @@ export default {
|
|
|
441
441
|
lg: 72,
|
|
442
442
|
},
|
|
443
443
|
small: {
|
|
444
|
-
sm:
|
|
445
|
-
md:
|
|
444
|
+
sm: 14,
|
|
445
|
+
md: 14,
|
|
446
446
|
lg: 14,
|
|
447
447
|
},
|
|
448
448
|
h1: {
|
|
@@ -518,7 +518,9 @@ export default {
|
|
|
518
518
|
},
|
|
519
519
|
fontWeights: {
|
|
520
520
|
light: 300,
|
|
521
|
+
// 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
|
|
521
522
|
normal: 400,
|
|
523
|
+
// Note: this is referred to as "medium" in the figma files for Dovetail but matches the font-weight of the font file we load
|
|
522
524
|
medium: 500,
|
|
523
525
|
},
|
|
524
526
|
lineHeights: {
|