@helsenorge/datepicker 14.0.0 → 14.1.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.
- package/lib/CHANGELOG.md +30 -19
- package/lib/resources/Resources.d.ts +153 -0
- package/package.json +2 -2
package/lib/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,44 @@
|
|
|
1
1
|
|
|
2
|
-
## [14.
|
|
2
|
+
## [14.1.0](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv14.0.0&targetVersion=GTv14.1.0) (2026-03-13)
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **icon:** nytt ikon measuringtape ([919b752](https://github.com/helsenorge/designsystem/commit/919b752e8816b5266962c7ef62a27e93103de3be)), closes [#373613](https://github.com/helsenorge/designsystem/issues/373613)
|
|
7
|
+
* **toggle:** juster størrelsen og fjern animasjon ved hover ([e69b0cf](https://github.com/helsenorge/designsystem/commit/e69b0cf04b8f51e5b612ace444f668a04dbc2c01)), closes [#372951](https://github.com/helsenorge/designsystem/issues/372951)
|
|
8
|
+
* **utils:** slett gammelt script for å opprette ikonfiler ([d97131a](https://github.com/helsenorge/designsystem/commit/d97131a0aecccefe0245a3a4ba433dd47e81e886)), closes [#373641](https://github.com/helsenorge/designsystem/issues/373641)
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* resources dts fil ble ikke med i lib ([5eb29b7](https://github.com/helsenorge/designsystem/commit/5eb29b7400ca5ba2b177ca2e18e746d4e0f51f8b)), closes [#373683](https://github.com/helsenorge/designsystem/issues/373683)
|
|
13
|
+
* **bootstrap:** fjern deprecation warning ([38e0178](https://github.com/helsenorge/designsystem/commit/38e017841630d8f3b6f170373f64432a6e86b01c)), closes [#373746](https://github.com/helsenorge/designsystem/issues/373746)
|
|
14
|
+
* **tile:** lazyicon vises ikke ([f7cec5f](https://github.com/helsenorge/designsystem/commit/f7cec5f381c4d49b8ecc1e7e58451a8710cff877)), closes [#373723](https://github.com/helsenorge/designsystem/issues/373723)
|
|
15
|
+
|
|
16
|
+
## [14.0.0](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv13.8.0&targetVersion=GTv14.0.0) (2026-03-11)
|
|
3
17
|
|
|
4
18
|
### Features
|
|
5
19
|
|
|
6
20
|
* **helpexpander:** ref blir nullable ([2bd75af](https://github.com/helsenorge/designsystem/commit/2bd75affe116883b10e50e2b5b8a9dd6dbbf0555)), closes [#371787](https://github.com/helsenorge/designsystem/issues/371787)
|
|
7
21
|
* **icon:** nye ikoner starstroke og starfill ([f4c9f7f](https://github.com/helsenorge/designsystem/commit/f4c9f7f57c7ce440aa2a564cf4a2f133c5c2f6d0)), closes [#370948](https://github.com/helsenorge/designsystem/issues/370948)
|
|
22
|
+
* **illustration:** nye illustrasjoner stork og thinking ([26d4edc](https://github.com/helsenorge/designsystem/commit/26d4edce1606559c4017b74097513b090dd3cb0e)), closes [#372380](https://github.com/helsenorge/designsystem/issues/372380)
|
|
23
|
+
* **servicemessage:** ny prop messageRole ([ee8ac9f](https://github.com/helsenorge/designsystem/commit/ee8ac9f084ec3e51904b0a58ff9bb0ccd5f45542)), closes [#372043](https://github.com/helsenorge/designsystem/issues/372043)
|
|
8
24
|
|
|
9
25
|
### Bug Fixes
|
|
10
26
|
|
|
11
|
-
*
|
|
27
|
+
* generer ider til svger istedenfor hardkodede ([ea0cccf](https://github.com/helsenorge/designsystem/commit/ea0cccf37a31a817940b36f78b73af7303accb1b)), closes [#372412](https://github.com/helsenorge/designsystem/issues/372412)
|
|
12
28
|
* stopper å sette state i useffect for å få færre rerenders ([6d66002](https://github.com/helsenorge/designsystem/commit/6d6600271241fd7498281a52ab5c6bc269e5faec)), closes [#371689](https://github.com/helsenorge/designsystem/issues/371689)
|
|
29
|
+
* **button:** ikke vis hoverfarge på små skjermer for disabled buttons ([9a6a451](https://github.com/helsenorge/designsystem/commit/9a6a451fefaaf181858a282ca467bfdf176ec6f7)), closes [#372696](https://github.com/helsenorge/designsystem/issues/372696)
|
|
30
|
+
* **datepicker:** legg på outline ved hover på kalenderknapp ([b0c1a4e](https://github.com/helsenorge/designsystem/commit/b0c1a4e0025c1d7dfa69ab7cf08f00cb790cb0a0)), closes [#345238](https://github.com/helsenorge/designsystem/issues/345238)
|
|
31
|
+
* **datepicker:** småfikser rundt validering ([cd06bee](https://github.com/helsenorge/designsystem/commit/cd06beed0212d3d82fb67165722f5f740367255b)), closes [#372577](https://github.com/helsenorge/designsystem/issues/372577) [#373156](https://github.com/helsenorge/designsystem/issues/373156)
|
|
32
|
+
* **drawer:** flytt lukkekryss tilbake til flexbox ([f0f3c6f](https://github.com/helsenorge/designsystem/commit/f0f3c6f0c2f8d5c6b615c1ac7dbf6aab997b2e73)), closes [#373141](https://github.com/helsenorge/designsystem/issues/373141)
|
|
33
|
+
* **helptriggerinline:** tekst er nå left aligned ([ea0deeb](https://github.com/helsenorge/designsystem/commit/ea0deebe9a2ee373766a5ac6e4500fc581b0ee97)), closes [#372216](https://github.com/helsenorge/designsystem/issues/372216)
|
|
13
34
|
* **icon:** fiks ikonfiler etter major oppgradering ([8e65a7e](https://github.com/helsenorge/designsystem/commit/8e65a7e9b1ea24bfac5176a1b00517aee4726cb5)), closes [#373313](https://github.com/helsenorge/designsystem/issues/373313)
|
|
35
|
+
* **unsafe_datepicker:** bruk resources i labels fra react-day-picker ([0958b64](https://github.com/helsenorge/designsystem/commit/0958b64f730776a515917e5dcd44392e5d19ab50)), closes [#345238](https://github.com/helsenorge/designsystem/issues/345238) [#372577](https://github.com/helsenorge/designsystem/issues/372577)
|
|
36
|
+
|
|
37
|
+
## 14.0.0-beta.9 (2026-02-25)
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* resources dts skal inkluderes i lib ([160ef18](https://github.com/helsenorge/designsystem/commit/160ef18da28abde5bd52f9914e3b27d9ee27aefd))
|
|
14
42
|
|
|
15
43
|
## 14.0.0-beta.8 (2026-02-25)
|
|
16
44
|
|
|
@@ -76,23 +104,6 @@
|
|
|
76
104
|
* ts feilmeldinger under bygg og runtime ([0688fb9](https://github.com/helsenorge/designsystem/commit/0688fb98634de41b75c3c172831634e6b57b2901)), closes [#368806](https://github.com/helsenorge/designsystem/issues/368806)
|
|
77
105
|
* **panel:** fiks feil import ([b952624](https://github.com/helsenorge/designsystem/commit/b952624923ef37e2f0b88efe659a8a0117c94201))
|
|
78
106
|
|
|
79
|
-
## [13.9.0](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv13.8.0&targetVersion=GTv13.9.0) (2026-03-09)
|
|
80
|
-
|
|
81
|
-
### Features
|
|
82
|
-
|
|
83
|
-
* **illustration:** nye illustrasjoner stork og thinking ([26d4edc](https://github.com/helsenorge/designsystem/commit/26d4edce1606559c4017b74097513b090dd3cb0e)), closes [#372380](https://github.com/helsenorge/designsystem/issues/372380)
|
|
84
|
-
* **servicemessage:** ny prop messageRole ([ee8ac9f](https://github.com/helsenorge/designsystem/commit/ee8ac9f084ec3e51904b0a58ff9bb0ccd5f45542)), closes [#372043](https://github.com/helsenorge/designsystem/issues/372043)
|
|
85
|
-
|
|
86
|
-
### Bug Fixes
|
|
87
|
-
|
|
88
|
-
* generer ider til svger istedenfor hardkodede ([ea0cccf](https://github.com/helsenorge/designsystem/commit/ea0cccf37a31a817940b36f78b73af7303accb1b)), closes [#372412](https://github.com/helsenorge/designsystem/issues/372412)
|
|
89
|
-
* **button:** ikke vis hoverfarge på små skjermer for disabled buttons ([9a6a451](https://github.com/helsenorge/designsystem/commit/9a6a451fefaaf181858a282ca467bfdf176ec6f7)), closes [#372696](https://github.com/helsenorge/designsystem/issues/372696)
|
|
90
|
-
* **datepicker:** legg på outline ved hover på kalenderknapp ([b0c1a4e](https://github.com/helsenorge/designsystem/commit/b0c1a4e0025c1d7dfa69ab7cf08f00cb790cb0a0)), closes [#345238](https://github.com/helsenorge/designsystem/issues/345238)
|
|
91
|
-
* **datepicker:** småfikser rundt validering ([cd06bee](https://github.com/helsenorge/designsystem/commit/cd06beed0212d3d82fb67165722f5f740367255b)), closes [#372577](https://github.com/helsenorge/designsystem/issues/372577) [#373156](https://github.com/helsenorge/designsystem/issues/373156)
|
|
92
|
-
* **drawer:** flytt lukkekryss tilbake til flexbox ([f0f3c6f](https://github.com/helsenorge/designsystem/commit/f0f3c6f0c2f8d5c6b615c1ac7dbf6aab997b2e73)), closes [#373141](https://github.com/helsenorge/designsystem/issues/373141)
|
|
93
|
-
* **helptriggerinline:** tekst er nå left aligned ([ea0deeb](https://github.com/helsenorge/designsystem/commit/ea0deebe9a2ee373766a5ac6e4500fc581b0ee97)), closes [#372216](https://github.com/helsenorge/designsystem/issues/372216)
|
|
94
|
-
* **unsafe_datepicker:** bruk resources i labels fra react-day-picker ([0958b64](https://github.com/helsenorge/designsystem/commit/0958b64f730776a515917e5dcd44392e5d19ab50)), closes [#345238](https://github.com/helsenorge/designsystem/issues/345238) [#372577](https://github.com/helsenorge/designsystem/issues/372577)
|
|
95
|
-
|
|
96
107
|
## [13.8.0](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv13.7.0&targetVersion=GTv13.8.0) (2026-02-24)
|
|
97
108
|
|
|
98
109
|
### Features
|
|
@@ -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.1.0",
|
|
6
6
|
"description": "The official Helsenorge datepicker.",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -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",
|