Commit Graph
9 Commits
Author SHA1 Message Date
Aksel Mini f9489fdffc 🔖 Release 0.2.0
Bump all packages to 0.2.0 and add CHANGELOG.md files documenting the
Accordion/Modal additions and the Button focus-ring fix.
2026-09-01 09:00:00 +02:00
Aksel Mini 0cedb5320f 🐛 Fix focus ring on Button
Replace the outline-based focus style with a box-shadow ring.
Safari clips outlines on flex children, leaving the focus indicator
partially invisible.
2026-08-28 08:50:00 +02:00
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.
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