Commit Graph
8 Commits
Author SHA1 Message Date
Aksel Mini 9c8f55f5cf ✨ Add aksel.nav.no website with live component examples
Vite + React docs site that imports @navikt/ds-react, @navikt/ds-css and
@navikt/ds-tokens from the workspace and renders every component.
Heading level now accepts string literals to match JSX usage.
2026-08-25 10:05:00 +02:00
Aksel Mini adfcead7be ✨ Add Accordion and Modal components
Accordion.Item manages its own open state with aria-expanded wiring.
Modal renders through a portal with backdrop click handling. Also adds
the ChevronDown icon used by the accordion header.
2026-08-21 15:10:00 +02:00
Aksel Mini bb9501ea31 ✨ Add TextField and Alert components
TextField supports label, description, error state and hidden labels with
proper aria wiring. Alert ships the four Aksel variants with matching
icons from @navikt/aksel-icons. Adds stylesheets for both.
v0.1.0
2026-08-17 09:40:00 +02:00
Aksel Mini 1bcf7f5d53 ✨ Add aksel-icons package (@navikt/aksel-icons)
Four hand-written React icon wrappers (Information, Checkmark, Warning,
XMark) with the source SVGs kept under svg/ for reference.
2026-08-12 14:20:00 +02:00
Aksel Mini 559fd2b971 ✨ 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.
2026-08-10 11:00:00 +02:00
Aksel Mini b4930f754e ✨ Add css package (@navikt/ds-css) with Button and typography styles
Styles reference CSS custom properties from @navikt/ds-tokens.
build.mjs copies source stylesheets to dist/.
2026-08-06 13:45:00 +02:00
Aksel Mini 7382e691ef ✨ Add tokens package (@navikt/ds-tokens)
Color, spacing, radius and typography tokens defined in src/tokens.json,
compiled to CSS custom properties on the --a-* namespace by build.mjs.
2026-08-04 10:30:00 +02:00
Aksel Mini eead0535a2 🎉 Initial commit — monorepo scaffolding
Set up pnpm workspace with packages/* and aksel.nav.no/* globs,
root README and gitignore. Component packages land in later commits.
2026-08-03 09:15:00 +02:00