@norges-domstoler/dds-components 0.0.0-dev-20240404072551 → 0.0.0-dev-20240405092136
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/dist/index.css +148 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.mts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +1632 -1626
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1399 -1393
- package/dist/index.mjs.map +1 -1
- package/package.json +19 -10
- package/dist/styles/fontStyles.css +0 -107
- package/dist/styles/selection.css +0 -6
- /package/dist/{assets/fonts/IBMPlexMono-Light.woff2 → IBMPlexMono-Light-2FWZ4VDJ.woff2} +0 -0
- /package/dist/{assets/fonts/IBMPlexMono-Light.woff → IBMPlexMono-Light-RY3ZOLND.woff} +0 -0
- /package/dist/{assets/fonts/IBMPlexMono-Regular.woff2 → IBMPlexMono-Regular-EDCLBKUZ.woff2} +0 -0
- /package/dist/{assets/fonts/IBMPlexMono-Regular.woff → IBMPlexMono-Regular-XDI3Y6KI.woff} +0 -0
- /package/dist/{assets/fonts/IBMPlexMono-SemiBold.woff2 → IBMPlexMono-SemiBold-4GO6OZFH.woff2} +0 -0
- /package/dist/{assets/fonts/IBMPlexMono-SemiBold.woff → IBMPlexMono-SemiBold-HV422YXI.woff} +0 -0
- /package/dist/{assets/fonts/IBMPlexSans-Italic.woff2 → IBMPlexSans-Italic-5TWWGFM4.woff2} +0 -0
- /package/dist/{assets/fonts/IBMPlexSans-Italic.woff → IBMPlexSans-Italic-HH2T6U4G.woff} +0 -0
- /package/dist/{assets/fonts/IBMPlexSans-Light.woff2 → IBMPlexSans-Light-6JVLZATI.woff2} +0 -0
- /package/dist/{assets/fonts/IBMPlexSans-Light.woff → IBMPlexSans-Light-DJGXOPZM.woff} +0 -0
- /package/dist/{assets/fonts/IBMPlexSans-LightItalic.woff → IBMPlexSans-LightItalic-DGDYT5M4.woff} +0 -0
- /package/dist/{assets/fonts/IBMPlexSans-LightItalic.woff2 → IBMPlexSans-LightItalic-HGYKQIYJ.woff2} +0 -0
- /package/dist/{assets/fonts/IBMPlexSans-Regular.woff2 → IBMPlexSans-Regular-7XP7CCD2.woff2} +0 -0
- /package/dist/{assets/fonts/IBMPlexSans-Regular.woff → IBMPlexSans-Regular-7YEDMBFF.woff} +0 -0
- /package/dist/{assets/fonts/IBMPlexSans-SemiBold.woff → IBMPlexSans-SemiBold-6YAECOM6.woff} +0 -0
- /package/dist/{assets/fonts/IBMPlexSans-SemiBold.woff2 → IBMPlexSans-SemiBold-G57W7BEN.woff2} +0 -0
- /package/dist/{assets/fonts/IBMPlexSans-SemiBoldItalic.woff2 → IBMPlexSans-SemiBoldItalic-4CLIFUGS.woff2} +0 -0
- /package/dist/{assets/fonts/IBMPlexSans-SemiBoldItalic.woff → IBMPlexSans-SemiBoldItalic-IK6VH5Y5.woff} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@norges-domstoler/dds-components",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20240405092136",
|
|
4
4
|
"description": "React components used in Elsa - domstolenes designsystem",
|
|
5
5
|
"author": "Elsa team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,14 +9,20 @@
|
|
|
9
9
|
"url": "https://github.com/domstolene/designsystem"
|
|
10
10
|
},
|
|
11
11
|
"sideEffects": [
|
|
12
|
-
"*.css"
|
|
12
|
+
"*.css",
|
|
13
|
+
"src/styles/index.ts"
|
|
13
14
|
],
|
|
14
15
|
"files": [
|
|
15
16
|
"dist"
|
|
16
17
|
],
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"import": "./dist/index.mjs",
|
|
21
|
+
"require": "./dist/index.js",
|
|
22
|
+
"types": "./dist/index.d.ts"
|
|
23
|
+
},
|
|
24
|
+
"./index.css": "./dist/index.css"
|
|
25
|
+
},
|
|
20
26
|
"homepage": "https://design.domstol.no",
|
|
21
27
|
"keywords": [
|
|
22
28
|
"dds",
|
|
@@ -37,17 +43,20 @@
|
|
|
37
43
|
"@testing-library/user-event": "^14.5.2",
|
|
38
44
|
"@types/react": "^18.2.73",
|
|
39
45
|
"@types/react-dom": "^18.2.23",
|
|
46
|
+
"autoprefixer": "^10.4.19",
|
|
40
47
|
"csstype": "3.1.2",
|
|
41
48
|
"jsdom": "^24.0.0",
|
|
49
|
+
"postcss": "^8.4.38",
|
|
42
50
|
"react": "^18.2.0",
|
|
43
51
|
"react-dom": "^18.2.0",
|
|
44
52
|
"styled-components": "^6.1.8",
|
|
45
53
|
"tsup": "^8.0.2",
|
|
54
|
+
"typed-css-modules": "^0.9.1",
|
|
46
55
|
"typescript": "^5.4.3",
|
|
47
56
|
"vite": "^5.2.7",
|
|
48
57
|
"vitest": "^1.4.0",
|
|
49
|
-
"@norges-domstoler/
|
|
50
|
-
"@norges-domstoler/
|
|
58
|
+
"@norges-domstoler/dds-design-tokens": "4.0.2",
|
|
59
|
+
"@norges-domstoler/storybook-components": "0.0.6"
|
|
51
60
|
},
|
|
52
61
|
"peerDependencies": {
|
|
53
62
|
"@internationalized/date": "^3",
|
|
@@ -75,9 +84,9 @@
|
|
|
75
84
|
"scripts": {
|
|
76
85
|
"test": "vitest run",
|
|
77
86
|
"test:watch": "vitest watch",
|
|
78
|
-
"
|
|
79
|
-
"build
|
|
80
|
-
"dev": "pnpm
|
|
87
|
+
"generate-css-types": "tcm src --camelCase",
|
|
88
|
+
"build": "pnpm run generate-css-types && tsup --dts",
|
|
89
|
+
"dev": "pnpm run generate-css-types --watch",
|
|
81
90
|
"typecheck": "tsc --noEmit"
|
|
82
91
|
}
|
|
83
92
|
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: IBM Plex Sans;
|
|
3
|
-
font-style: normal;
|
|
4
|
-
font-weight: 400;
|
|
5
|
-
font-display: swap;
|
|
6
|
-
src:
|
|
7
|
-
local('IBM Plex Sans'),
|
|
8
|
-
local('IBMPlexSans'),
|
|
9
|
-
url('../assets/fonts/IBMPlexSans-Regular.woff2') format('woff2'),
|
|
10
|
-
url('../assets/fonts/IBMPlexSans-Regular.woff') format('woff');
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@font-face {
|
|
14
|
-
font-family: IBM Plex Sans;
|
|
15
|
-
font-style: italic;
|
|
16
|
-
font-weight: 400;
|
|
17
|
-
font-display: swap;
|
|
18
|
-
src:
|
|
19
|
-
local('IBM Plex Sans Italic'),
|
|
20
|
-
local('IBMPlexSans-Italic'),
|
|
21
|
-
url('../assets/fonts/IBMPlexSans-Italic.woff2') format('woff2'),
|
|
22
|
-
url('../assets/fonts/IBMPlexSans-Italic.woff') format('woff');
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@font-face {
|
|
26
|
-
font-family: IBM Plex Sans;
|
|
27
|
-
font-style: normal;
|
|
28
|
-
font-weight: 300;
|
|
29
|
-
font-display: swap;
|
|
30
|
-
src:
|
|
31
|
-
local('IBM Plex Sans Light'),
|
|
32
|
-
local('IBMPlexSans-Light'),
|
|
33
|
-
url('../assets/fonts/IBMPlexSans-Light.woff2') format('woff2'),
|
|
34
|
-
url('../assets/fonts/IBMPlexSans-Light.woff') format('woff');
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
@font-face {
|
|
38
|
-
font-family: IBM Plex Sans;
|
|
39
|
-
font-style: italic;
|
|
40
|
-
font-weight: 300;
|
|
41
|
-
font-display: swap;
|
|
42
|
-
src:
|
|
43
|
-
local('IBM Plex Sans Light Italic'),
|
|
44
|
-
local('IBMPlexSans-LightItalic'),
|
|
45
|
-
url('../assets/fonts/IBMPlexSans-LightItalic.woff2') format('woff2'),
|
|
46
|
-
url('../assets/fonts/IBMPlexSans-LightItalic.woff') format('woff');
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
@font-face {
|
|
50
|
-
font-family: IBM Plex Sans;
|
|
51
|
-
font-style: normal;
|
|
52
|
-
font-weight: 600;
|
|
53
|
-
font-display: swap;
|
|
54
|
-
src:
|
|
55
|
-
local('IBM Plex Sans SemiBold'),
|
|
56
|
-
local('IBMPlexSans-SemiBold'),
|
|
57
|
-
url('../assets/fonts/IBMPlexSans-SemiBold.woff2') format('woff2'),
|
|
58
|
-
url('../assets/fonts/IBMPlexSans-SemiBold.woff') format('woff');
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
@font-face {
|
|
62
|
-
font-family: IBM Plex Sans;
|
|
63
|
-
font-style: italic;
|
|
64
|
-
font-weight: 600;
|
|
65
|
-
font-display: swap;
|
|
66
|
-
src:
|
|
67
|
-
local('IBM Plex Sans SemiBold Italic'),
|
|
68
|
-
local('IBMPlexSans-SemiBoldItalic'),
|
|
69
|
-
url('../assets/fonts/IBMPlexSans-SemiBoldItalic.woff2') format('woff2'),
|
|
70
|
-
url('../assets/fonts/IBMPlexSans-SemiBoldItalic.woff') format('woff');
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
@font-face {
|
|
74
|
-
font-family: IBM Plex Mono;
|
|
75
|
-
font-style: normal;
|
|
76
|
-
font-weight: 400;
|
|
77
|
-
font-display: swap;
|
|
78
|
-
src:
|
|
79
|
-
local('IBM Plex Mono'),
|
|
80
|
-
local('IBMPlexMono'),
|
|
81
|
-
url('../assets/fonts/IBMPlexMono-Regular.woff2') format('woff2'),
|
|
82
|
-
url('../assets/fonts/IBMPlexMono-Regular.woff') format('woff');
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
@font-face {
|
|
86
|
-
font-family: IBM Plex Mono;
|
|
87
|
-
font-style: normal;
|
|
88
|
-
font-weight: 300;
|
|
89
|
-
font-display: swap;
|
|
90
|
-
src:
|
|
91
|
-
local('IBM Plex Mono Light'),
|
|
92
|
-
local('IBMPlexMono-Light'),
|
|
93
|
-
url('../assets/fonts/IBMPlexMono-Light.woff2') format('woff2'),
|
|
94
|
-
url('../assets/fonts/IBMPlexMono-Light.woff') format('woff');
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
@font-face {
|
|
98
|
-
font-family: IBM Plex Mono;
|
|
99
|
-
font-style: normal;
|
|
100
|
-
font-weight: 600;
|
|
101
|
-
font-display: swap;
|
|
102
|
-
src:
|
|
103
|
-
local('IBM Plex Mono SemiBold'),
|
|
104
|
-
local('IBMPlexMono-SemiBold'),
|
|
105
|
-
url('../assets/fonts/IBMPlexMono-SemiBold.woff2') format('woff2'),
|
|
106
|
-
url('../assets/fonts/IBMPlexMono-SemiBold.woff') format('woff');
|
|
107
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{assets/fonts/IBMPlexMono-SemiBold.woff2 → IBMPlexMono-SemiBold-4GO6OZFH.woff2}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{assets/fonts/IBMPlexSans-LightItalic.woff → IBMPlexSans-LightItalic-DGDYT5M4.woff}
RENAMED
|
File without changes
|
/package/dist/{assets/fonts/IBMPlexSans-LightItalic.woff2 → IBMPlexSans-LightItalic-HGYKQIYJ.woff2}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{assets/fonts/IBMPlexSans-SemiBold.woff2 → IBMPlexSans-SemiBold-G57W7BEN.woff2}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|