@norges-domstoler/dds-components 0.0.8 → 0.0.12
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/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/components/Breadcrumbs/Breadcrumbs.d.ts +0 -1
- package/dist/components/Button/Button.styles.d.ts +0 -1
- package/dist/components/Card/Card.d.ts +0 -1
- package/dist/components/Card/CardAccordion/CardAccordionBody.d.ts +0 -1
- package/dist/components/Card/CardAccordion/CardAccordionHeader.d.ts +0 -1
- package/dist/components/Checkbox/Checkbox.styles.d.ts +0 -1
- package/dist/components/Datepicker/Datepicker.d.ts +8 -0
- package/dist/components/Datepicker/index.d.ts +1 -0
- package/dist/components/DescriptionList/DescriptionListDesc.d.ts +0 -1
- package/dist/components/DescriptionList/DescriptionListTerm.d.ts +0 -1
- package/dist/components/GlobalMessage/GlobalMessage.d.ts +0 -1
- package/dist/components/List/List.d.ts +0 -1
- package/dist/components/LocalMessage/LocalMessage.d.ts +0 -1
- package/dist/components/Pagination/Pagination.d.ts +2 -0
- package/dist/components/RadioButton/RadioButton.styles.d.ts +0 -1
- package/dist/components/Search/Search.d.ts +0 -1
- package/dist/components/Select/Select.styles.d.ts +0 -1
- package/dist/components/Table/Row.d.ts +0 -1
- package/dist/components/TextInput/TextInput.d.ts +5 -4
- package/dist/components/TextInput/TextInput.styles.d.ts +6 -10
- package/dist/components/TextInput/TextInput.tokens.d.ts +2 -38
- package/dist/components/TextInput/TextInput.types.d.ts +2 -6
- package/dist/components/Typography/Typography.d.ts +0 -1
- package/dist/helpers/Input/Input.styles.d.ts +8 -0
- package/dist/helpers/Input/Input.tokens.d.ts +71 -0
- package/dist/helpers/Input/Input.types.d.ts +10 -0
- package/dist/helpers/Input/index.d.ts +3 -0
- package/dist/helpers/{inputFieldStylingBase.d.ts → Input/inputFieldStylingBase.d.ts} +0 -0
- package/dist/helpers/InputMessage/InputMessage.d.ts +0 -1
- package/dist/index.css +20 -354
- package/dist/index.d.ts +2 -0
- package/dist/index.es.css +20 -354
- package/dist/index.es.js +551 -444
- package/dist/index.js +551 -443
- package/dist/styles/fontStyles.css +60 -0
- package/package.json +2 -1
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@norges-domstoler/dds-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12",
|
|
4
4
|
"description": "React components used in Domstolenes designsystem",
|
|
5
5
|
"author": "DDS team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
"react-dom": "^17.0.2",
|
|
70
70
|
"react-select": "^4.3.0",
|
|
71
71
|
"rollup": "^2.45.2",
|
|
72
|
+
"rollup-plugin-copy": "^3.4.0",
|
|
72
73
|
"rollup-plugin-sass": "^1.2.2",
|
|
73
74
|
"rollup-plugin-typescript2": "^0.30.0",
|
|
74
75
|
"styled-components": "^5.2.3",
|