@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.
Files changed (47) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +50 -50
  3. package/dist/assets/fonts/EB-Garamond-400-italic.woff2 +0 -0
  4. package/dist/assets/fonts/EB-Garamond-400.woff2 +0 -0
  5. package/dist/assets/fonts/EB-Garamond-600-italic.woff2 +0 -0
  6. package/dist/assets/fonts/EB-Garamond-600.woff2 +0 -0
  7. package/dist/assets/fonts/Poppins-latin-600.woff2 +0 -0
  8. package/dist/assets/fonts/Poppins-latin-600italic.woff2 +0 -0
  9. package/dist/assets/fonts/Poppins-latin-italic.woff2 +0 -0
  10. package/dist/assets/fonts/Poppins-latin-regular.woff2 +0 -0
  11. package/dist/index.cjs +13438 -0
  12. package/dist/index.cjs.map +1 -0
  13. package/dist/index.css +4281 -1282
  14. package/dist/index.d.cts +17156 -0
  15. package/dist/index.d.mts +15830 -4331
  16. package/dist/index.mjs +12367 -15224
  17. package/dist/index.mjs.map +1 -1
  18. package/dist/rolldown-runtime-DvY7y8dj.mjs +14 -0
  19. package/package.json +101 -96
  20. package/dist/IBMPlexSans-Italic-5TWWGFM4.woff2 +0 -0
  21. package/dist/IBMPlexSans-Italic-HH2T6U4G.woff +0 -0
  22. package/dist/IBMPlexSans-Light-6JVLZATI.woff2 +0 -0
  23. package/dist/IBMPlexSans-Light-DJGXOPZM.woff +0 -0
  24. package/dist/IBMPlexSans-LightItalic-DGDYT5M4.woff +0 -0
  25. package/dist/IBMPlexSans-LightItalic-HGYKQIYJ.woff2 +0 -0
  26. package/dist/IBMPlexSans-Medium-F6RY5FT3.woff +0 -0
  27. package/dist/IBMPlexSans-Medium-GPYSN6WY.woff2 +0 -0
  28. package/dist/IBMPlexSans-MediumItalic-HYTLJOHM.woff +0 -0
  29. package/dist/IBMPlexSans-MediumItalic-NOK4NVHM.woff2 +0 -0
  30. package/dist/IBMPlexSans-Regular-7XP7CCD2.woff2 +0 -0
  31. package/dist/IBMPlexSans-Regular-7YEDMBFF.woff +0 -0
  32. package/dist/IBMPlexSans-SemiBold-6YAECOM6.woff +0 -0
  33. package/dist/IBMPlexSans-SemiBold-G57W7BEN.woff2 +0 -0
  34. package/dist/IBMPlexSans-SemiBoldItalic-4CLIFUGS.woff2 +0 -0
  35. package/dist/IBMPlexSans-SemiBoldItalic-IK6VH5Y5.woff +0 -0
  36. package/dist/index.css.map +0 -1
  37. package/dist/index.d.ts +0 -5656
  38. package/dist/index.js +0 -16110
  39. package/dist/index.js.map +0 -1
  40. /package/dist/{IBMPlexMono-Light-RY3ZOLND.woff → assets/fonts/IBMPlexMono-Light.woff} +0 -0
  41. /package/dist/{IBMPlexMono-Light-2FWZ4VDJ.woff2 → assets/fonts/IBMPlexMono-Light.woff2} +0 -0
  42. /package/dist/{IBMPlexMono-Regular-XDI3Y6KI.woff → assets/fonts/IBMPlexMono-Regular.woff} +0 -0
  43. /package/dist/{IBMPlexMono-Regular-EDCLBKUZ.woff2 → assets/fonts/IBMPlexMono-Regular.woff2} +0 -0
  44. /package/dist/{IBMPlexMono-SemiBold-HV422YXI.woff → assets/fonts/IBMPlexMono-SemiBold.woff} +0 -0
  45. /package/dist/{IBMPlexMono-SemiBold-4GO6OZFH.woff2 → assets/fonts/IBMPlexMono-SemiBold.woff2} +0 -0
  46. /package/dist/{IBMPlexSansVar-Italic-DPPECZC7.woff2 → assets/fonts/IBMPlexSansVar-Italic.woff2} +0 -0
  47. /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": "23.2.1",
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
- "types": "./dist/index.d.ts",
21
- "import": "./dist/index.mjs",
22
- "require": "./dist/index.js"
23
- },
24
- "./index.css": "./dist/index.css"
25
- },
26
- "homepage": "https://design.domstol.no",
27
- "scripts": {
28
- "test": "vitest run",
29
- "test:ui": "vitest --ui --coverage",
30
- "test:watch": "vitest watch",
31
- "coverage": "vitest run --coverage",
32
- "generate-css-types": "tcm src",
33
- "build": "pnpm generate-css-types && tsup --dts",
34
- "dev": "pnpm generate-css-types && tsup --dts && pnpm generate-css-types --watch",
35
- "typecheck": "tsc --noEmit",
36
- "generate:component-template": "ts-node scripts/generate-component-template.ts"
37
- },
38
- "keywords": [
39
- "dds",
40
- "design",
41
- "tokens",
42
- "design tokens",
43
- "design system",
44
- "domstolene",
45
- "norges domstoler",
46
- "elsa"
47
- ],
48
- "devDependencies": {
49
- "@internationalized/date": "^3.12.2",
50
- "@norges-domstoler/dds-design-tokens": "workspace:*",
51
- "@norges-domstoler/storybook-components": "workspace:*",
52
- "@react-types/datepicker": "^3.14.0",
53
- "@testing-library/dom": "^10.4.1",
54
- "@testing-library/jest-dom": "^6.9.1",
55
- "@testing-library/react": "^16.3.2",
56
- "@testing-library/user-event": "^14.6.1",
57
- "@types/node": "^25.9.3",
58
- "@types/react": "19.2.17",
59
- "@types/react-dom": "19.2.3",
60
- "@vitest/coverage-v8": "^4.1.8",
61
- "@vitest/ui": "^4.1.8",
62
- "autoprefixer": "^10.5.0",
63
- "csstype": "3.2.3",
64
- "jsdom": "^29.1.1",
65
- "postcss": "^8.5.15",
66
- "react": "19.2.7",
67
- "react-dom": "19.2.7",
68
- "ts-node": "^10.9.2",
69
- "tsup": "^8.5.1",
70
- "typed-css-modules": "^0.9.1",
71
- "typescript": "^5.9.3",
72
- "vite": "^8.0.16",
73
- "vitest": "^4.1.9"
74
- },
75
- "peerDependencies": {
76
- "@internationalized/date": "^3.12.2",
77
- "@norges-domstoler/dds-design-tokens": ">=5.0.0",
78
- "react": "^19",
79
- "react-dom": "^19"
80
- },
81
- "dependencies": {
82
- "@floating-ui/react-dom": "^2.1.8",
83
- "@react-aria/button": "^3.15.1",
84
- "@react-aria/calendar": "^3.10.1",
85
- "@react-aria/datepicker": "^3.17.1",
86
- "@react-aria/focus": "^3.22.1",
87
- "@react-aria/i18n": "^3.13.1",
88
- "@react-stately/calendar": "^3.10.1",
89
- "@react-stately/datepicker": "^3.17.1",
90
- "file-selector": "^2.1.2",
91
- "react-select": "^5.10.2"
92
- },
93
- "publishConfig": {
94
- "provenance": true
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
+ }