@helsenorge/datepicker 14.0.0 → 14.2.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.
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
/* eslint:disable */
|
|
2
|
+
/*
|
|
3
|
+
* This file is automatically generated by SOT
|
|
4
|
+
*
|
|
5
|
+
* This file is for typings support only, it will not supply the actual text, you will still need to download the correct culture spesific .resx file.
|
|
6
|
+
*/
|
|
7
|
+
export type HNDesignsystemDatePicker = {
|
|
8
|
+
/**
|
|
9
|
+
* Åpne datovelger
|
|
10
|
+
*/
|
|
11
|
+
dateButtonAriaLabel: string;
|
|
12
|
+
/**
|
|
13
|
+
* {date}
|
|
14
|
+
*/
|
|
15
|
+
dayButtonBase: string;
|
|
16
|
+
/**
|
|
17
|
+
* I dag, {date}
|
|
18
|
+
*/
|
|
19
|
+
dayButtonToday: string;
|
|
20
|
+
/**
|
|
21
|
+
* {date} valgt
|
|
22
|
+
*/
|
|
23
|
+
dayButtonSelected: string;
|
|
24
|
+
/**
|
|
25
|
+
* Neste måned
|
|
26
|
+
*/
|
|
27
|
+
nextMonth: string;
|
|
28
|
+
/**
|
|
29
|
+
* Forrige måned
|
|
30
|
+
*/
|
|
31
|
+
previousMonth: string;
|
|
32
|
+
/**
|
|
33
|
+
* Velg måned
|
|
34
|
+
*/
|
|
35
|
+
monthDropdown: string;
|
|
36
|
+
/**
|
|
37
|
+
* Velg år
|
|
38
|
+
*/
|
|
39
|
+
yearDropdown: string;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export type HNDesignsystemUnsafe_DatePicker = {
|
|
43
|
+
/**
|
|
44
|
+
* Åpne datovelger
|
|
45
|
+
*/
|
|
46
|
+
dateButtonAriaLabel: string;
|
|
47
|
+
/**
|
|
48
|
+
* {date}
|
|
49
|
+
*/
|
|
50
|
+
dayButtonBase: string;
|
|
51
|
+
/**
|
|
52
|
+
* I dag, {date}
|
|
53
|
+
*/
|
|
54
|
+
dayButtonToday: string;
|
|
55
|
+
/**
|
|
56
|
+
* {date} valgt
|
|
57
|
+
*/
|
|
58
|
+
dayButtonSelected: string;
|
|
59
|
+
/**
|
|
60
|
+
* Neste måned
|
|
61
|
+
*/
|
|
62
|
+
nextMonth: string;
|
|
63
|
+
/**
|
|
64
|
+
* Forrige måned
|
|
65
|
+
*/
|
|
66
|
+
previousMonth: string;
|
|
67
|
+
/**
|
|
68
|
+
* Velg måned
|
|
69
|
+
*/
|
|
70
|
+
monthDropdown: string;
|
|
71
|
+
/**
|
|
72
|
+
* Velg år
|
|
73
|
+
*/
|
|
74
|
+
yearDropdown: string;
|
|
75
|
+
/**
|
|
76
|
+
* Gå til i dag
|
|
77
|
+
*/
|
|
78
|
+
goToToday: string;
|
|
79
|
+
/**
|
|
80
|
+
* Henter info. Vennligst vent.
|
|
81
|
+
*/
|
|
82
|
+
loadingText: string;
|
|
83
|
+
/**
|
|
84
|
+
* dd
|
|
85
|
+
*/
|
|
86
|
+
dayFormatPlaceholder: string;
|
|
87
|
+
/**
|
|
88
|
+
* mm
|
|
89
|
+
*/
|
|
90
|
+
monthFormatPlaceholder: string;
|
|
91
|
+
/**
|
|
92
|
+
* åååå
|
|
93
|
+
*/
|
|
94
|
+
yearFormatPlaceholder: string;
|
|
95
|
+
/**
|
|
96
|
+
* Åpne datovelger
|
|
97
|
+
*/
|
|
98
|
+
calendarButtonAriaLabel: string;
|
|
99
|
+
/**
|
|
100
|
+
* År må være et tall med 4 siffer
|
|
101
|
+
*/
|
|
102
|
+
validateDefaultMessageYear: string;
|
|
103
|
+
/**
|
|
104
|
+
* Måned må være et tall mellom 01 og 12
|
|
105
|
+
*/
|
|
106
|
+
validateDefaultMessageMonth: string;
|
|
107
|
+
/**
|
|
108
|
+
* Dag må være et tall mellom 01 og 31
|
|
109
|
+
*/
|
|
110
|
+
validateDefaultMessageDay: string;
|
|
111
|
+
/**
|
|
112
|
+
* Nullstill dato
|
|
113
|
+
*/
|
|
114
|
+
clearButtonAriaLabel: string;
|
|
115
|
+
/**
|
|
116
|
+
* Dag
|
|
117
|
+
*/
|
|
118
|
+
ariaLabelInputDay: string;
|
|
119
|
+
/**
|
|
120
|
+
* Måned
|
|
121
|
+
*/
|
|
122
|
+
ariaLabelInputMonth: string;
|
|
123
|
+
/**
|
|
124
|
+
* År
|
|
125
|
+
*/
|
|
126
|
+
ariaLabelInputYear: string;
|
|
127
|
+
/**
|
|
128
|
+
* Time må være et tall mellom 00 og 23
|
|
129
|
+
*/
|
|
130
|
+
validateDefaultMessageHour: string;
|
|
131
|
+
/**
|
|
132
|
+
* Minutt må være et tall mellom 00 og 59
|
|
133
|
+
*/
|
|
134
|
+
validateDefaultMessageMinute: string;
|
|
135
|
+
/**
|
|
136
|
+
* tt
|
|
137
|
+
*/
|
|
138
|
+
hourFormatPlaceholder: string;
|
|
139
|
+
/**
|
|
140
|
+
* mm
|
|
141
|
+
*/
|
|
142
|
+
minuteFormatPlaceholder: string;
|
|
143
|
+
/**
|
|
144
|
+
* Time
|
|
145
|
+
*/
|
|
146
|
+
ariaLabelInputHour: string;
|
|
147
|
+
/**
|
|
148
|
+
* Minutt
|
|
149
|
+
*/
|
|
150
|
+
ariaLabelInputMinute: string;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
/* eslint:enable */
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@helsenorge/datepicker",
|
|
3
3
|
"sideEffects": false,
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "14.
|
|
5
|
+
"version": "14.2.0",
|
|
6
6
|
"description": "The official Helsenorge datepicker.",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"test": "vitest"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@helsenorge/designsystem-react": "^14.0.0
|
|
59
|
+
"@helsenorge/designsystem-react": "^14.0.0",
|
|
60
60
|
"classnames": "^2.5.1",
|
|
61
61
|
"date-fns": "^4.0.0",
|
|
62
62
|
"react": "^19.0.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"react-day-picker": "^9.4.1"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@helsenorge/designsystem-react": "14.0.0
|
|
70
|
+
"@helsenorge/designsystem-react": "^14.0.0",
|
|
71
71
|
"@helsenorge/typed-scss-modules": "^9.0.0",
|
|
72
72
|
"@rollup/plugin-replace": "^6.0.1",
|
|
73
73
|
"@testing-library/jest-dom": "^6.5.0",
|