@norges-domstoler/dds-components 0.0.0-dev-20230925154113
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 +109 -0
- package/dist/assets/fonts/IBMPlexMono-Light.woff +0 -0
- package/dist/assets/fonts/IBMPlexMono-Light.woff2 +0 -0
- package/dist/assets/fonts/IBMPlexMono-Regular.woff +0 -0
- package/dist/assets/fonts/IBMPlexMono-Regular.woff2 +0 -0
- package/dist/assets/fonts/IBMPlexMono-SemiBold.woff +0 -0
- package/dist/assets/fonts/IBMPlexMono-SemiBold.woff2 +0 -0
- package/dist/assets/fonts/IBMPlexSans-Italic.woff +0 -0
- package/dist/assets/fonts/IBMPlexSans-Italic.woff2 +0 -0
- package/dist/assets/fonts/IBMPlexSans-Light.woff +0 -0
- package/dist/assets/fonts/IBMPlexSans-Light.woff2 +0 -0
- package/dist/assets/fonts/IBMPlexSans-LightItalic.woff +0 -0
- package/dist/assets/fonts/IBMPlexSans-LightItalic.woff2 +0 -0
- package/dist/assets/fonts/IBMPlexSans-Regular.woff +0 -0
- package/dist/assets/fonts/IBMPlexSans-Regular.woff2 +0 -0
- package/dist/assets/fonts/IBMPlexSans-SemiBold.woff +0 -0
- package/dist/assets/fonts/IBMPlexSans-SemiBold.woff2 +0 -0
- package/dist/assets/fonts/IBMPlexSans-SemiBoldItalic.woff +0 -0
- package/dist/assets/fonts/IBMPlexSans-SemiBoldItalic.woff2 +0 -0
- package/dist/calendar_today-PMIB5OWO.svg +1 -0
- package/dist/index.d.mts +1761 -0
- package/dist/index.d.ts +1761 -0
- package/dist/index.js +10573 -0
- package/dist/index.mjs +11051 -0
- package/dist/jordskifterett_bullet1-JEURT2QQ.svg +3 -0
- package/dist/lagmannsrett_bullet2-UGFNA6RB.svg +3 -0
- package/dist/styles/fontStyles.css +90 -0
- package/dist/styles/selection.css +6 -0
- package/dist/tingrett_bullet3-KRK5OB4E.svg +3 -0
- package/package.json +107 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: IBM Plex Sans;
|
|
3
|
+
font-style: normal;
|
|
4
|
+
font-weight: 400;
|
|
5
|
+
font-display: swap;
|
|
6
|
+
src: local('IBM Plex Sans'), local('IBMPlexSans'),
|
|
7
|
+
url('../assets/fonts/IBMPlexSans-Regular.woff2') format('woff2'),
|
|
8
|
+
url('../assets/fonts/IBMPlexSans-Regular.woff') format('woff');
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@font-face {
|
|
12
|
+
font-family: IBM Plex Sans;
|
|
13
|
+
font-style: italic;
|
|
14
|
+
font-weight: 400;
|
|
15
|
+
font-display: swap;
|
|
16
|
+
src: local('IBM Plex Sans Italic'), local('IBMPlexSans-Italic'),
|
|
17
|
+
url('../assets/fonts/IBMPlexSans-Italic.woff2') format('woff2'),
|
|
18
|
+
url('../assets/fonts/IBMPlexSans-Italic.woff') format('woff');
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@font-face {
|
|
22
|
+
font-family: IBM Plex Sans;
|
|
23
|
+
font-style: normal;
|
|
24
|
+
font-weight: 300;
|
|
25
|
+
font-display: swap;
|
|
26
|
+
src: local('IBM Plex Sans Light'), local('IBMPlexSans-Light'),
|
|
27
|
+
url('../assets/fonts/IBMPlexSans-Light.woff2') format('woff2'),
|
|
28
|
+
url('../assets/fonts/IBMPlexSans-Light.woff') format('woff');
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@font-face {
|
|
32
|
+
font-family: IBM Plex Sans;
|
|
33
|
+
font-style: italic;
|
|
34
|
+
font-weight: 300;
|
|
35
|
+
font-display: swap;
|
|
36
|
+
src: local('IBM Plex Sans Light Italic'), local('IBMPlexSans-LightItalic'),
|
|
37
|
+
url('../assets/fonts/IBMPlexSans-LightItalic.woff2') format('woff2'),
|
|
38
|
+
url('../assets/fonts/IBMPlexSans-LightItalic.woff') format('woff');
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@font-face {
|
|
42
|
+
font-family: IBM Plex Sans;
|
|
43
|
+
font-style: normal;
|
|
44
|
+
font-weight: 600;
|
|
45
|
+
font-display: swap;
|
|
46
|
+
src: local('IBM Plex Sans SemiBold'), local('IBMPlexSans-SemiBold'),
|
|
47
|
+
url('../assets/fonts/IBMPlexSans-SemiBold.woff2') format('woff2'),
|
|
48
|
+
url('../assets/fonts/IBMPlexSans-SemiBold.woff') format('woff');
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@font-face {
|
|
52
|
+
font-family: IBM Plex Sans;
|
|
53
|
+
font-style: italic;
|
|
54
|
+
font-weight: 600;
|
|
55
|
+
font-display: swap;
|
|
56
|
+
src: local('IBM Plex Sans SemiBold Italic'),
|
|
57
|
+
local('IBMPlexSans-SemiBoldItalic'),
|
|
58
|
+
url('../assets/fonts/IBMPlexSans-SemiBoldItalic.woff2') format('woff2'),
|
|
59
|
+
url('../assets/fonts/IBMPlexSans-SemiBoldItalic.woff') format('woff');
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@font-face {
|
|
63
|
+
font-family: IBM Plex Mono;
|
|
64
|
+
font-style: normal;
|
|
65
|
+
font-weight: 400;
|
|
66
|
+
font-display: swap;
|
|
67
|
+
src: local('IBM Plex Mono'), local('IBMPlexMono'),
|
|
68
|
+
url('../assets/fonts/IBMPlexMono-Regular.woff2') format('woff2'),
|
|
69
|
+
url('../assets/fonts/IBMPlexMono-Regular.woff') format('woff');
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@font-face {
|
|
73
|
+
font-family: IBM Plex Mono;
|
|
74
|
+
font-style: normal;
|
|
75
|
+
font-weight: 300;
|
|
76
|
+
font-display: swap;
|
|
77
|
+
src: local('IBM Plex Mono Light'), local('IBMPlexMono-Light'),
|
|
78
|
+
url('../assets/fonts/IBMPlexMono-Light.woff2') format('woff2'),
|
|
79
|
+
url('../assets/fonts/IBMPlexMono-Light.woff') format('woff');
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@font-face {
|
|
83
|
+
font-family: IBM Plex Mono;
|
|
84
|
+
font-style: normal;
|
|
85
|
+
font-weight: 600;
|
|
86
|
+
font-display: swap;
|
|
87
|
+
src: local('IBM Plex Mono SemiBold'), local('IBMPlexMono-SemiBold'),
|
|
88
|
+
url('../assets/fonts/IBMPlexMono-SemiBold.woff2') format('woff2'),
|
|
89
|
+
url('../assets/fonts/IBMPlexMono-SemiBold.woff') format('woff');
|
|
90
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@norges-domstoler/dds-components",
|
|
3
|
+
"version": "0.0.0-dev-20230925154113",
|
|
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
|
+
],
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"main": "dist/index.js",
|
|
18
|
+
"homepage": "https://design.domstol.no",
|
|
19
|
+
"scripts": {
|
|
20
|
+
"test": "vitest run",
|
|
21
|
+
"test:watch": "vitest watch",
|
|
22
|
+
"build": "tsup --dts",
|
|
23
|
+
"build:fast": "tsup",
|
|
24
|
+
"dev": "npm run build:fast -- --watch",
|
|
25
|
+
"lint": "eslint --ext=jsx,ts,tsx src",
|
|
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:*'",
|
|
33
|
+
"prepack": "clean-package",
|
|
34
|
+
"postpack": "clean-package restore"
|
|
35
|
+
},
|
|
36
|
+
"keywords": [
|
|
37
|
+
"dds",
|
|
38
|
+
"design",
|
|
39
|
+
"tokens",
|
|
40
|
+
"design tokens",
|
|
41
|
+
"design system",
|
|
42
|
+
"domstolene",
|
|
43
|
+
"norges domstoler",
|
|
44
|
+
"elsa"
|
|
45
|
+
],
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@mdx-js/react": "^2.3.0",
|
|
48
|
+
"@norges-domstoler/dds-design-tokens": "*",
|
|
49
|
+
"@norges-domstoler/storybook-components": "0.0.0-dev-20230925154113",
|
|
50
|
+
"@storybook/blocks": "^7.0.20",
|
|
51
|
+
"@testing-library/jest-dom": "^5.16.5",
|
|
52
|
+
"@testing-library/react": "^14.0.0",
|
|
53
|
+
"@testing-library/user-event": "^14.4.3",
|
|
54
|
+
"@types/react": "^18.2.12",
|
|
55
|
+
"@types/react-dom": "^18.2.5",
|
|
56
|
+
"@types/styled-components": "^5.1.26",
|
|
57
|
+
"@typescript-eslint/eslint-plugin": "^5.59.11",
|
|
58
|
+
"@typescript-eslint/parser": "^5.59.11",
|
|
59
|
+
"clean-package": "2.2.0",
|
|
60
|
+
"concurrently": "^8.2.0",
|
|
61
|
+
"eslint": "^8.42.0",
|
|
62
|
+
"eslint-config-prettier": "^8.8.0",
|
|
63
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
64
|
+
"eslint-plugin-react": "^7.32.2",
|
|
65
|
+
"jsdom": "^22.1.0",
|
|
66
|
+
"react": "^18.2.0",
|
|
67
|
+
"react-dom": "^18.2.0",
|
|
68
|
+
"tsup": "^7.2.0",
|
|
69
|
+
"typescript": "^5.1.3",
|
|
70
|
+
"vite": "^4.4.9",
|
|
71
|
+
"vitest": "^0.32.0"
|
|
72
|
+
},
|
|
73
|
+
"peerDependencies": {
|
|
74
|
+
"@norges-domstoler/dds-design-tokens": "^3",
|
|
75
|
+
"react": "^16 || ^17 || ^18",
|
|
76
|
+
"react-dom": "^16 || ^17 || ^18",
|
|
77
|
+
"styled-components": "^5"
|
|
78
|
+
},
|
|
79
|
+
"dependencies": {
|
|
80
|
+
"@floating-ui/react-dom": "^1.3.0",
|
|
81
|
+
"@norges-domstoler/dds-core": "0.0.0-dev-20230925154113",
|
|
82
|
+
"@norges-domstoler/dds-form": "0.0.0-dev-20230925154113",
|
|
83
|
+
"@norges-domstoler/dds-icons": "0.0.0-dev-20230925154113",
|
|
84
|
+
"@norges-domstoler/dds-typography": "0.0.0-dev-20230925154113",
|
|
85
|
+
"@norges-domstoler/development-utils": "0.0.0-dev-20230925154113",
|
|
86
|
+
"attr-accept": "^2.2.2",
|
|
87
|
+
"file-selector": "^0.6.0",
|
|
88
|
+
"focus-visible": "^5.2.0",
|
|
89
|
+
"react-select": "^5.7.3",
|
|
90
|
+
"tslib": "^2.5.3"
|
|
91
|
+
},
|
|
92
|
+
"publishConfig": {
|
|
93
|
+
"provenance": true
|
|
94
|
+
},
|
|
95
|
+
"clean-package": "./clean-package.config.json",
|
|
96
|
+
"module": "dist/index.mjs",
|
|
97
|
+
"types": "dist/index.d.ts",
|
|
98
|
+
"exports": {
|
|
99
|
+
".": {
|
|
100
|
+
"types": "./dist/index.d.ts",
|
|
101
|
+
"import": "./dist/index.mjs",
|
|
102
|
+
"require": "./dist/index.js"
|
|
103
|
+
},
|
|
104
|
+
"./package.json": "./package.json",
|
|
105
|
+
"./dist/*": "./dist/*"
|
|
106
|
+
}
|
|
107
|
+
}
|