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.
37 lines
739 B
JSON
37 lines
739 B
JSON
{
|
|
"name": "@navikt/ds-react",
|
|
"version": "0.1.0",
|
|
"description": "React components for Aksel Mini",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"dependencies": {
|
|
"@navikt/aksel-icons": "workspace:*"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"clean": "rm -rf dist"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.0.0",
|
|
"react-dom": "^18.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "18.3.11",
|
|
"@types/react-dom": "18.3.1",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"typescript": "5.5.4"
|
|
}
|
|
}
|