✨ Add Button, BodyShort and Heading to @navikt/ds-react

forwardRef-based components with navds-* classnames composed via a small
local cn() utility. Adds shared tsconfig.base.json and truncate modifier
for BodyShort.
This commit is contained in:
Aksel Mini committed 2026-08-10 11:00:00 +02:00
1 parent b4930f754e
commit 559fd2b971
12 files changed
+164

No files matched your search

+6
View File
@@ -19,6 +19,12 @@
line-height: 1.5;
}
.navds-body-short--truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.navds-heading {
margin: 0;
font-family: var(--a-font-family);