@norges-domstoler/dds-components 13.10.0 → 13.10.2
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/README.md +0 -17
- package/dist/index.d.mts +64 -60
- package/dist/index.d.ts +64 -60
- package/dist/index.js +695 -548
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +695 -548
- package/dist/index.mjs.map +1 -1
- package/dist/styles/fontStyles.css +26 -9
- package/package.json +13 -28
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
font-style: normal;
|
|
4
4
|
font-weight: 400;
|
|
5
5
|
font-display: swap;
|
|
6
|
-
src:
|
|
6
|
+
src:
|
|
7
|
+
local('IBM Plex Sans'),
|
|
8
|
+
local('IBMPlexSans'),
|
|
7
9
|
url('../assets/fonts/IBMPlexSans-Regular.woff2') format('woff2'),
|
|
8
10
|
url('../assets/fonts/IBMPlexSans-Regular.woff') format('woff');
|
|
9
11
|
}
|
|
@@ -13,7 +15,9 @@
|
|
|
13
15
|
font-style: italic;
|
|
14
16
|
font-weight: 400;
|
|
15
17
|
font-display: swap;
|
|
16
|
-
src:
|
|
18
|
+
src:
|
|
19
|
+
local('IBM Plex Sans Italic'),
|
|
20
|
+
local('IBMPlexSans-Italic'),
|
|
17
21
|
url('../assets/fonts/IBMPlexSans-Italic.woff2') format('woff2'),
|
|
18
22
|
url('../assets/fonts/IBMPlexSans-Italic.woff') format('woff');
|
|
19
23
|
}
|
|
@@ -23,7 +27,9 @@
|
|
|
23
27
|
font-style: normal;
|
|
24
28
|
font-weight: 300;
|
|
25
29
|
font-display: swap;
|
|
26
|
-
src:
|
|
30
|
+
src:
|
|
31
|
+
local('IBM Plex Sans Light'),
|
|
32
|
+
local('IBMPlexSans-Light'),
|
|
27
33
|
url('../assets/fonts/IBMPlexSans-Light.woff2') format('woff2'),
|
|
28
34
|
url('../assets/fonts/IBMPlexSans-Light.woff') format('woff');
|
|
29
35
|
}
|
|
@@ -33,7 +39,9 @@
|
|
|
33
39
|
font-style: italic;
|
|
34
40
|
font-weight: 300;
|
|
35
41
|
font-display: swap;
|
|
36
|
-
src:
|
|
42
|
+
src:
|
|
43
|
+
local('IBM Plex Sans Light Italic'),
|
|
44
|
+
local('IBMPlexSans-LightItalic'),
|
|
37
45
|
url('../assets/fonts/IBMPlexSans-LightItalic.woff2') format('woff2'),
|
|
38
46
|
url('../assets/fonts/IBMPlexSans-LightItalic.woff') format('woff');
|
|
39
47
|
}
|
|
@@ -43,7 +51,9 @@
|
|
|
43
51
|
font-style: normal;
|
|
44
52
|
font-weight: 600;
|
|
45
53
|
font-display: swap;
|
|
46
|
-
src:
|
|
54
|
+
src:
|
|
55
|
+
local('IBM Plex Sans SemiBold'),
|
|
56
|
+
local('IBMPlexSans-SemiBold'),
|
|
47
57
|
url('../assets/fonts/IBMPlexSans-SemiBold.woff2') format('woff2'),
|
|
48
58
|
url('../assets/fonts/IBMPlexSans-SemiBold.woff') format('woff');
|
|
49
59
|
}
|
|
@@ -53,7 +63,8 @@
|
|
|
53
63
|
font-style: italic;
|
|
54
64
|
font-weight: 600;
|
|
55
65
|
font-display: swap;
|
|
56
|
-
src:
|
|
66
|
+
src:
|
|
67
|
+
local('IBM Plex Sans SemiBold Italic'),
|
|
57
68
|
local('IBMPlexSans-SemiBoldItalic'),
|
|
58
69
|
url('../assets/fonts/IBMPlexSans-SemiBoldItalic.woff2') format('woff2'),
|
|
59
70
|
url('../assets/fonts/IBMPlexSans-SemiBoldItalic.woff') format('woff');
|
|
@@ -64,7 +75,9 @@
|
|
|
64
75
|
font-style: normal;
|
|
65
76
|
font-weight: 400;
|
|
66
77
|
font-display: swap;
|
|
67
|
-
src:
|
|
78
|
+
src:
|
|
79
|
+
local('IBM Plex Mono'),
|
|
80
|
+
local('IBMPlexMono'),
|
|
68
81
|
url('../assets/fonts/IBMPlexMono-Regular.woff2') format('woff2'),
|
|
69
82
|
url('../assets/fonts/IBMPlexMono-Regular.woff') format('woff');
|
|
70
83
|
}
|
|
@@ -74,7 +87,9 @@
|
|
|
74
87
|
font-style: normal;
|
|
75
88
|
font-weight: 300;
|
|
76
89
|
font-display: swap;
|
|
77
|
-
src:
|
|
90
|
+
src:
|
|
91
|
+
local('IBM Plex Mono Light'),
|
|
92
|
+
local('IBMPlexMono-Light'),
|
|
78
93
|
url('../assets/fonts/IBMPlexMono-Light.woff2') format('woff2'),
|
|
79
94
|
url('../assets/fonts/IBMPlexMono-Light.woff') format('woff');
|
|
80
95
|
}
|
|
@@ -84,7 +99,9 @@
|
|
|
84
99
|
font-style: normal;
|
|
85
100
|
font-weight: 600;
|
|
86
101
|
font-display: swap;
|
|
87
|
-
src:
|
|
102
|
+
src:
|
|
103
|
+
local('IBM Plex Mono SemiBold'),
|
|
104
|
+
local('IBMPlexMono-SemiBold'),
|
|
88
105
|
url('../assets/fonts/IBMPlexMono-SemiBold.woff2') format('woff2'),
|
|
89
106
|
url('../assets/fonts/IBMPlexMono-SemiBold.woff') format('woff');
|
|
90
107
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@norges-domstoler/dds-components",
|
|
3
|
-
"version": "13.10.
|
|
3
|
+
"version": "13.10.2",
|
|
4
4
|
"description": "React components used in Elsa - domstolenes designsystem",
|
|
5
5
|
"author": "Elsa team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,14 +22,7 @@
|
|
|
22
22
|
"build": "tsup --dts",
|
|
23
23
|
"build:fast": "tsup",
|
|
24
24
|
"dev": "npm run build:fast -- --watch",
|
|
25
|
-
"
|
|
26
|
-
"prettier": "prettier --write .",
|
|
27
|
-
"prettier:check": "prettier --check .",
|
|
28
|
-
"verify:types": "tsc --noEmit",
|
|
29
|
-
"verify:lint": "npm run lint",
|
|
30
|
-
"verify:test": "npm test",
|
|
31
|
-
"verify:prettier": "npm run prettier:check",
|
|
32
|
-
"verify": "concurrently 'npm:verify:*'",
|
|
25
|
+
"typecheck": "tsc --noEmit",
|
|
33
26
|
"prepack": "clean-package",
|
|
34
27
|
"postpack": "clean-package restore"
|
|
35
28
|
},
|
|
@@ -44,40 +37,32 @@
|
|
|
44
37
|
"elsa"
|
|
45
38
|
],
|
|
46
39
|
"devDependencies": {
|
|
47
|
-
"@mdx-js/react": "^2.3.0",
|
|
48
40
|
"@norges-domstoler/dds-design-tokens": "*",
|
|
49
41
|
"@norges-domstoler/storybook-components": "*",
|
|
50
|
-
"@storybook/blocks": "^7.5.
|
|
51
|
-
"@testing-library/jest-dom": "^
|
|
52
|
-
"@testing-library/react": "^14.
|
|
42
|
+
"@storybook/blocks": "^7.5.3",
|
|
43
|
+
"@testing-library/jest-dom": "^6.1.4",
|
|
44
|
+
"@testing-library/react": "^14.1.2",
|
|
53
45
|
"@testing-library/user-event": "^14.5.1",
|
|
54
|
-
"@types/react": "^18.2.
|
|
55
|
-
"@types/react-dom": "^18.2.
|
|
56
|
-
"@typescript-eslint/eslint-plugin": "^6.9.0",
|
|
57
|
-
"@typescript-eslint/parser": "^5.62.0",
|
|
46
|
+
"@types/react": "^18.2.37",
|
|
47
|
+
"@types/react-dom": "^18.2.15",
|
|
58
48
|
"clean-package": "2.2.0",
|
|
59
|
-
"concurrently": "^8.2.2",
|
|
60
|
-
"eslint": "^8.52.0",
|
|
61
|
-
"eslint-config-prettier": "^9.0.0",
|
|
62
|
-
"eslint-plugin-prettier": "^4.2.1",
|
|
63
|
-
"eslint-plugin-react": "^7.33.2",
|
|
64
49
|
"jsdom": "^22.1.0",
|
|
65
50
|
"react": "^18.2.0",
|
|
66
51
|
"react-dom": "^18.2.0",
|
|
67
|
-
"styled-components": "^6.
|
|
68
|
-
"tsup": "^
|
|
52
|
+
"styled-components": "^6.1.1",
|
|
53
|
+
"tsup": "^8.0.0",
|
|
69
54
|
"typescript": "^5.2.2",
|
|
70
|
-
"vite": "^
|
|
55
|
+
"vite": "^5.0.0",
|
|
71
56
|
"vitest": "^0.34.6"
|
|
72
57
|
},
|
|
73
58
|
"peerDependencies": {
|
|
74
|
-
"@norges-domstoler/dds-design-tokens": "^3",
|
|
59
|
+
"@norges-domstoler/dds-design-tokens": "^3.0.2",
|
|
75
60
|
"react": "^16 || ^17 || ^18",
|
|
76
61
|
"react-dom": "^16 || ^17 || ^18",
|
|
77
62
|
"styled-components": "^5 || ^6"
|
|
78
63
|
},
|
|
79
64
|
"dependencies": {
|
|
80
|
-
"@floating-ui/react-dom": "^2.0.
|
|
65
|
+
"@floating-ui/react-dom": "^2.0.4",
|
|
81
66
|
"@norges-domstoler/dds-core": "*",
|
|
82
67
|
"@norges-domstoler/dds-form": "*",
|
|
83
68
|
"@norges-domstoler/dds-icons": "*",
|
|
@@ -86,7 +71,7 @@
|
|
|
86
71
|
"attr-accept": "^2.2.2",
|
|
87
72
|
"file-selector": "^0.6.0",
|
|
88
73
|
"focus-visible": "^5.2.0",
|
|
89
|
-
"react-select": "^5.
|
|
74
|
+
"react-select": "^5.8.0",
|
|
90
75
|
"tslib": "^2.6.2"
|
|
91
76
|
},
|
|
92
77
|
"publishConfig": {
|