@norges-domstoler/dds-components 23.2.1 → 24.0.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/LICENSE +21 -0
- package/README.md +50 -50
- package/dist/assets/fonts/EB-Garamond-400-italic.woff2 +0 -0
- package/dist/assets/fonts/EB-Garamond-400.woff2 +0 -0
- package/dist/assets/fonts/EB-Garamond-600-italic.woff2 +0 -0
- package/dist/assets/fonts/EB-Garamond-600.woff2 +0 -0
- package/dist/assets/fonts/Poppins-latin-600.woff2 +0 -0
- package/dist/assets/fonts/Poppins-latin-600italic.woff2 +0 -0
- package/dist/assets/fonts/Poppins-latin-italic.woff2 +0 -0
- package/dist/assets/fonts/Poppins-latin-regular.woff2 +0 -0
- package/dist/index.cjs +13438 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +4281 -1282
- package/dist/index.d.cts +17156 -0
- package/dist/index.d.mts +15830 -4331
- package/dist/index.mjs +12367 -15224
- package/dist/index.mjs.map +1 -1
- package/dist/rolldown-runtime-DvY7y8dj.mjs +14 -0
- package/package.json +101 -96
- package/dist/IBMPlexSans-Italic-5TWWGFM4.woff2 +0 -0
- package/dist/IBMPlexSans-Italic-HH2T6U4G.woff +0 -0
- package/dist/IBMPlexSans-Light-6JVLZATI.woff2 +0 -0
- package/dist/IBMPlexSans-Light-DJGXOPZM.woff +0 -0
- package/dist/IBMPlexSans-LightItalic-DGDYT5M4.woff +0 -0
- package/dist/IBMPlexSans-LightItalic-HGYKQIYJ.woff2 +0 -0
- package/dist/IBMPlexSans-Medium-F6RY5FT3.woff +0 -0
- package/dist/IBMPlexSans-Medium-GPYSN6WY.woff2 +0 -0
- package/dist/IBMPlexSans-MediumItalic-HYTLJOHM.woff +0 -0
- package/dist/IBMPlexSans-MediumItalic-NOK4NVHM.woff2 +0 -0
- package/dist/IBMPlexSans-Regular-7XP7CCD2.woff2 +0 -0
- package/dist/IBMPlexSans-Regular-7YEDMBFF.woff +0 -0
- package/dist/IBMPlexSans-SemiBold-6YAECOM6.woff +0 -0
- package/dist/IBMPlexSans-SemiBold-G57W7BEN.woff2 +0 -0
- package/dist/IBMPlexSans-SemiBoldItalic-4CLIFUGS.woff2 +0 -0
- package/dist/IBMPlexSans-SemiBoldItalic-IK6VH5Y5.woff +0 -0
- package/dist/index.css.map +0 -1
- package/dist/index.d.ts +0 -5656
- package/dist/index.js +0 -16110
- package/dist/index.js.map +0 -1
- /package/dist/{IBMPlexMono-Light-RY3ZOLND.woff → assets/fonts/IBMPlexMono-Light.woff} +0 -0
- /package/dist/{IBMPlexMono-Light-2FWZ4VDJ.woff2 → assets/fonts/IBMPlexMono-Light.woff2} +0 -0
- /package/dist/{IBMPlexMono-Regular-XDI3Y6KI.woff → assets/fonts/IBMPlexMono-Regular.woff} +0 -0
- /package/dist/{IBMPlexMono-Regular-EDCLBKUZ.woff2 → assets/fonts/IBMPlexMono-Regular.woff2} +0 -0
- /package/dist/{IBMPlexMono-SemiBold-HV422YXI.woff → assets/fonts/IBMPlexMono-SemiBold.woff} +0 -0
- /package/dist/{IBMPlexMono-SemiBold-4GO6OZFH.woff2 → assets/fonts/IBMPlexMono-SemiBold.woff2} +0 -0
- /package/dist/{IBMPlexSansVar-Italic-DPPECZC7.woff2 → assets/fonts/IBMPlexSansVar-Italic.woff2} +0 -0
- /package/dist/{IBMPlexSansVar-Roman-BOLQQKKZ.woff2 → assets/fonts/IBMPlexSansVar-Roman.woff2} +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
//#region \0rolldown/runtime.js
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __exportAll = (all, no_symbols) => {
|
|
5
|
+
let target = {};
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
11
|
+
return target;
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { __exportAll as t };
|
package/package.json
CHANGED
|
@@ -1,96 +1,101 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@norges-domstoler/dds-components",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "React components used in Elsa - domstolenes designsystem",
|
|
5
|
-
"author": "Elsa team",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "https://github.com/domstolene/designsystem"
|
|
10
|
-
},
|
|
11
|
-
"sideEffects": [
|
|
12
|
-
"*.css",
|
|
13
|
-
"src/styles/index.ts"
|
|
14
|
-
],
|
|
15
|
-
"files": [
|
|
16
|
-
"dist"
|
|
17
|
-
],
|
|
18
|
-
"exports": {
|
|
19
|
-
".": {
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
51
|
-
"@
|
|
52
|
-
"@
|
|
53
|
-
"@
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"@
|
|
77
|
-
"@
|
|
78
|
-
"react": "^
|
|
79
|
-
"react-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
"@
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@norges-domstoler/dds-components",
|
|
3
|
+
"version": "24.0.0",
|
|
4
|
+
"description": "React components used in Elsa - domstolenes designsystem",
|
|
5
|
+
"author": "Elsa team",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/domstolene/designsystem"
|
|
10
|
+
},
|
|
11
|
+
"sideEffects": [
|
|
12
|
+
"*.css",
|
|
13
|
+
"src/styles/index.ts"
|
|
14
|
+
],
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"import": {
|
|
21
|
+
"types": "./dist/index.d.mts",
|
|
22
|
+
"default": "./dist/index.mjs"
|
|
23
|
+
},
|
|
24
|
+
"require": {
|
|
25
|
+
"types": "./dist/index.d.cts",
|
|
26
|
+
"default": "./dist/index.cjs"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"./index.css": "./dist/index.css"
|
|
30
|
+
},
|
|
31
|
+
"homepage": "https://design.domstol.no",
|
|
32
|
+
"keywords": [
|
|
33
|
+
"dds",
|
|
34
|
+
"design",
|
|
35
|
+
"tokens",
|
|
36
|
+
"design tokens",
|
|
37
|
+
"design system",
|
|
38
|
+
"domstolene",
|
|
39
|
+
"norges domstoler",
|
|
40
|
+
"elsa"
|
|
41
|
+
],
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@internationalized/date": "^3.12.3",
|
|
44
|
+
"@react-types/datepicker": "^3.14.0",
|
|
45
|
+
"@testing-library/dom": "^10.4.1",
|
|
46
|
+
"@testing-library/jest-dom": "^7.0.1",
|
|
47
|
+
"@testing-library/react": "^16.3.2",
|
|
48
|
+
"@testing-library/user-event": "^14.6.4",
|
|
49
|
+
"@types/node": "^26.2.0",
|
|
50
|
+
"@types/react": "19.2.18",
|
|
51
|
+
"@types/react-dom": "19.2.4",
|
|
52
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
53
|
+
"@vitest/ui": "^4.1.10",
|
|
54
|
+
"autoprefixer": "^10.5.4",
|
|
55
|
+
"csstype": "3.2.3",
|
|
56
|
+
"jsdom": "^30.0.1",
|
|
57
|
+
"postcss": "^8.5.26",
|
|
58
|
+
"react": "19.2.8",
|
|
59
|
+
"react-dom": "19.2.8",
|
|
60
|
+
"ts-node": "^10.9.2",
|
|
61
|
+
"typed-css-modules": "^0.9.1",
|
|
62
|
+
"typescript": "^5.9.3",
|
|
63
|
+
"vite": "^8.2.1",
|
|
64
|
+
"vitest": "^4.1.10",
|
|
65
|
+
"@norges-domstoler/dds-design-tokens": "10.0.0",
|
|
66
|
+
"@norges-domstoler/storybook-components": "0.0.25"
|
|
67
|
+
},
|
|
68
|
+
"peerDependencies": {
|
|
69
|
+
"@internationalized/date": "^3.12.3",
|
|
70
|
+
"@norges-domstoler/dds-design-tokens": "^10",
|
|
71
|
+
"react": "^19",
|
|
72
|
+
"react-dom": "^19"
|
|
73
|
+
},
|
|
74
|
+
"dependencies": {
|
|
75
|
+
"@floating-ui/react-dom": "^2.1.9",
|
|
76
|
+
"@react-aria/button": "^3.15.1",
|
|
77
|
+
"@react-aria/calendar": "^3.10.1",
|
|
78
|
+
"@react-aria/datepicker": "^3.17.1",
|
|
79
|
+
"@react-aria/focus": "^3.22.1",
|
|
80
|
+
"@react-aria/i18n": "^3.13.1",
|
|
81
|
+
"@react-stately/calendar": "^3.10.1",
|
|
82
|
+
"@react-stately/datepicker": "^3.17.1",
|
|
83
|
+
"file-selector": "^5.0.0",
|
|
84
|
+
"react-select": "^5.10.2"
|
|
85
|
+
},
|
|
86
|
+
"publishConfig": {
|
|
87
|
+
"provenance": true
|
|
88
|
+
},
|
|
89
|
+
"scripts": {
|
|
90
|
+
"test": "vitest run",
|
|
91
|
+
"test:ui": "vitest --ui --coverage",
|
|
92
|
+
"test:watch": "vitest watch",
|
|
93
|
+
"coverage": "vitest run --coverage",
|
|
94
|
+
"generate-css-types": "tcm src",
|
|
95
|
+
"prebuild": "node scripts/generate-dds-tokens-css.mjs",
|
|
96
|
+
"build": "pnpm generate-css-types && tsdown --config-loader unrun --dts",
|
|
97
|
+
"dev": "pnpm generate-css-types && tsdown --config-loader unrun --dts && pnpm generate-css-types --watch",
|
|
98
|
+
"typecheck": "tsc --noEmit",
|
|
99
|
+
"generate:component-template": "ts-node scripts/generate-component-template.ts"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|