@helsenorge/datepicker 13.2.0 → 13.4.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 CHANGED
@@ -1,3 +1,36 @@
1
+ ## [13.4.0](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv13.3.0&targetVersion=GTv13.4.0) (2025-12-18)
2
+
3
+
4
+ ### Features
5
+
6
+ * input og textarea får resources til maxcharacters tekst ([5057563](https://github.com/helsenorge/designsystem/commit/5057563de68c04df119ff8f16063041c05282562)), closes [#365224](https://github.com/helsenorge/designsystem/issues/365224)
7
+ * **formgroup:** fjerner ariadescribedby prop ([9aa55d4](https://github.com/helsenorge/designsystem/commit/9aa55d463caaeff7d715d3d604237a687c25dc1f)), closes [#367262](https://github.com/helsenorge/designsystem/issues/367262)
8
+ * **formgroup:** ny prop ariadescribedby og formfieldtag er koblet med ariadescribedby automatisk ([71569ef](https://github.com/helsenorge/designsystem/commit/71569ef9db0f955b6a06a363b137635703c2f123)), closes [#367262](https://github.com/helsenorge/designsystem/issues/367262)
9
+ * **linklist:** linkref prop kan være null ([b3bd5c1](https://github.com/helsenorge/designsystem/commit/b3bd5c1e5e786908269752cd4ccc672dd81ba88d)), closes [#367039](https://github.com/helsenorge/designsystem/issues/367039)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **datepicker:** popup vises delvis utenfor skjerm på smal desktop ([1a06d2a](https://github.com/helsenorge/designsystem/commit/1a06d2a27b3902d4fbf89a231ed13085aa1959f6)), closes [#367051](https://github.com/helsenorge/designsystem/issues/367051)
15
+ * **slider:** onclick oppfører seg rart med validering aktivert ([fe2c93a](https://github.com/helsenorge/designsystem/commit/fe2c93a917ce0b54b5f92283fd2340918529e42d)), closes [#357082](https://github.com/helsenorge/designsystem/issues/357082)
16
+
17
+ ## [13.3.0](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv13.2.0&targetVersion=GTv13.3.0) (2025-12-11)
18
+
19
+
20
+ ### Features
21
+
22
+ * Nye ikon zoominleft zoomoutleft og oppdatert ikonscript ([f7a429d](https://github.com/helsenorge/designsystem/commit/f7a429d2558da965a5fb7259353c7123428b6985)), closes [#365860](https://github.com/helsenorge/designsystem/issues/365860)
23
+ * **panel:** får focusable prop ([0e35f3c](https://github.com/helsenorge/designsystem/commit/0e35f3c787acce1fd19862d069485c8f02a8f8e1)), closes [#366506](https://github.com/helsenorge/designsystem/issues/366506)
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * **dropdown:** dobbel scrollbar på windows med mange elementer ([9b740a9](https://github.com/helsenorge/designsystem/commit/9b740a99cea321edda035b3c7acda377e82ab76c)), closes [#366359](https://github.com/helsenorge/designsystem/issues/366359)
29
+ * **highlighter:** fungerer igjen med duolist ([3f31a76](https://github.com/helsenorge/designsystem/commit/3f31a76176ee73ff5d89dbf6f28c4b517f20a54a)), closes [#366784](https://github.com/helsenorge/designsystem/issues/366784)
30
+ * **highlighter:** mister keys ved bruk med duolist ([550b025](https://github.com/helsenorge/designsystem/commit/550b025486651d9389efc99a42640b7f965f022d)), closes [#366784](https://github.com/helsenorge/designsystem/issues/366784)
31
+ * **linklist:** focus styling skal ikke trigges av museklikk ([8ffc342](https://github.com/helsenorge/designsystem/commit/8ffc342d4bebd321b5c306a2c37bed835f912193)), closes [#366485](https://github.com/helsenorge/designsystem/issues/366485)
32
+ * **panel:** klager på manglende keys på underkomponenter ([611b12d](https://github.com/helsenorge/designsystem/commit/611b12d44d47fb4c35f718006f0661f54a896481)), closes [#366779](https://github.com/helsenorge/designsystem/issues/366779)
33
+
1
34
  ## [13.2.0](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv13.1.0&targetVersion=GTv13.2.0) (2025-12-04)
2
35
 
3
36
 
@@ -2005,15 +2005,15 @@ var getControllerRightEdgePx = (controllerSize) => document.documentElement.clie
2005
2005
  var getBubbleRightPx = (controllerSize, bubbleSize) => {
2006
2006
  return controllerSize.left + bubbleSize.width;
2007
2007
  };
2008
- var getBubbleLeftVisible = (controllerSize) => {
2009
- return controllerSize.left > WINDOW_MARGIN_PX;
2008
+ var getBubbleLeftVisible = (controllerSize, bubbleSize) => {
2009
+ return getBubbleLeftPx(controllerSize, bubbleSize) > WINDOW_MARGIN_PX;
2010
2010
  };
2011
2011
  var getBubbleRightIsVisible = (controllerSize, bubbleSize) => {
2012
2012
  return getBubbleRightPx(controllerSize, bubbleSize) < document.documentElement.clientWidth - WINDOW_MARGIN_PX;
2013
2013
  };
2014
2014
  var getHorizontalPosition = (controllerSize, bubbleSize) => {
2015
2015
  if (!getBubbleRightIsVisible(controllerSize, bubbleSize)) return "right";
2016
- if (!getBubbleLeftVisible(controllerSize)) return "left";
2016
+ if (!getBubbleLeftVisible(controllerSize, bubbleSize)) return "left";
2017
2017
  return "floating";
2018
2018
  };
2019
2019
  var getBubbleAbovePx = (controllerSize, bubbleSize) => controllerSize.top - BUBBLE_VERTICAL_OFFSET_PX - bubbleSize.height;
@@ -2202,7 +2202,10 @@ var HN_Designsystem_DatePicker_en_GB_default = {
2202
2202
  nextMonth: "Next month",
2203
2203
  previousMonth: "Previous month",
2204
2204
  monthDropdown: "Select month",
2205
- yearDropdown: "Select year"
2205
+ yearDropdown: "Select year",
2206
+ dayFormatPlaceholder: "dd",
2207
+ monthFormatPlaceholder: "mm",
2208
+ yearFormatPlaceholder: "yyyy"
2206
2209
  };
2207
2210
  var HN_Designsystem_DatePicker_nb_NO_default = {
2208
2211
  dateButtonAriaLabel: "Åpne datovelger",
@@ -2214,7 +2217,10 @@ var HN_Designsystem_DatePicker_nb_NO_default = {
2214
2217
  monthDropdown: "Velg måned",
2215
2218
  yearDropdown: "Velg år",
2216
2219
  goToToday: "Gå til i dag",
2217
- loadingText: "Henter info. Vennligst vent."
2220
+ loadingText: "Henter info. Vennligst vent.",
2221
+ dayFormatPlaceholder: "dd",
2222
+ monthFormatPlaceholder: "mm",
2223
+ yearFormatPlaceholder: "åååå"
2218
2224
  };
2219
2225
  const getResources = (language) => {
2220
2226
  switch (language) {