@mattilsynet/design 2.2.6 → 2.2.7

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.
Files changed (85) hide show
  1. package/mtds/alert/alert.js +1 -1
  2. package/mtds/app/app.d.ts +1 -1
  3. package/mtds/app/app.js +10 -41
  4. package/mtds/app/app.js.map +1 -1
  5. package/mtds/avatar/avatar.js +1 -1
  6. package/mtds/badge/badge.js +1 -1
  7. package/mtds/breadcrumbs/breadcrumbs.js +1 -1
  8. package/mtds/button/button.js +1 -1
  9. package/mtds/card/card.js +1 -1
  10. package/mtds/chart/chart-element.d.ts +1 -1
  11. package/mtds/chart/chart-element.js +4 -4
  12. package/mtds/chart/chart-element.js.map +1 -1
  13. package/mtds/chip/chip.js +1 -1
  14. package/mtds/details/details.d.ts +2 -0
  15. package/mtds/details/details.js.map +1 -1
  16. package/mtds/dialog/dialog.js +1 -1
  17. package/mtds/divider/divider.js +1 -1
  18. package/mtds/errorsummary/errorsummary.js +1 -1
  19. package/mtds/field/field-observer.js +3 -3
  20. package/mtds/field/field.d.ts +3 -5
  21. package/mtds/field/field.js +69 -99
  22. package/mtds/field/field.js.map +1 -1
  23. package/mtds/fieldset/fieldset.js +1 -1
  24. package/mtds/helptext/helptext.js +1 -1
  25. package/mtds/index.iife.js +7 -8
  26. package/mtds/index.js +5 -5
  27. package/mtds/input/input.js +1 -1
  28. package/mtds/layout/layout.js +1 -1
  29. package/mtds/link/link.js +1 -1
  30. package/mtds/logo/logo.js +1 -1
  31. package/mtds/map/map-element.d.ts +43 -0
  32. package/mtds/map/map-element.js +66 -0
  33. package/mtds/map/map-element.js.map +1 -0
  34. package/mtds/map/map.css.js +22 -0
  35. package/mtds/map/map.css.js.map +1 -0
  36. package/mtds/map.d.ts +1 -0
  37. package/mtds/map.iife.js +683 -0
  38. package/mtds/map.js +6 -0
  39. package/mtds/map.js.map +1 -0
  40. package/mtds/package.json.js +1 -1
  41. package/mtds/pagination/pagination.d.ts +1 -1
  42. package/mtds/pagination/pagination.js +20 -51
  43. package/mtds/pagination/pagination.js.map +1 -1
  44. package/mtds/popover/popover-observer.js +1 -1
  45. package/mtds/popover/popover.d.ts +2 -2
  46. package/mtds/popover/popover.js +1 -1
  47. package/mtds/popover/popover.js.map +1 -1
  48. package/mtds/react-types.d.ts +2 -3
  49. package/mtds/skeleton/skeleton.js +1 -1
  50. package/mtds/spinner/spinner.js +1 -1
  51. package/mtds/steps/steps.js +1 -1
  52. package/mtds/styles.css +1 -1
  53. package/mtds/styles.json +20 -20
  54. package/mtds/styles.module.css.js +41 -41
  55. package/mtds/table/table.js +1 -1
  56. package/mtds/tag/tag.js +1 -1
  57. package/mtds/toast/toast-helper.js +1 -1
  58. package/mtds/toast/toast.js +1 -1
  59. package/mtds/togglegroup/togglegroup.js +1 -1
  60. package/mtds/tooltip/tooltip-observer.js +1 -1
  61. package/mtds/typography/typography.js +1 -1
  62. package/mtds/utils.js +2 -2
  63. package/mtds/validation/validation.js +1 -1
  64. package/package.json +15 -9
  65. package/mtds/external/@floating-ui/core/dist/floating-ui.core.js +0 -342
  66. package/mtds/external/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  67. package/mtds/external/@floating-ui/dom/dist/floating-ui.dom.js +0 -399
  68. package/mtds/external/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  69. package/mtds/external/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -137
  70. package/mtds/external/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  71. package/mtds/external/@floating-ui/utils/dist/floating-ui.utils.js +0 -130
  72. package/mtds/external/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  73. package/mtds/external/@u-elements/u-combobox/dist/u-combobox.js +0 -266
  74. package/mtds/external/@u-elements/u-combobox/dist/u-combobox.js.map +0 -1
  75. package/mtds/external/@u-elements/u-datalist/dist/u-datalist.js +0 -231
  76. package/mtds/external/@u-elements/u-datalist/dist/u-datalist.js.map +0 -1
  77. package/mtds/external/@u-elements/u-details/dist/u-details.js +0 -89
  78. package/mtds/external/@u-elements/u-details/dist/u-details.js.map +0 -1
  79. package/mtds/external/@u-elements/u-progress/dist/u-progress.js +0 -94
  80. package/mtds/external/@u-elements/u-progress/dist/u-progress.js.map +0 -1
  81. package/mtds/external/@u-elements/u-tabs/dist/u-tabs.js +0 -186
  82. package/mtds/external/@u-elements/u-tabs/dist/u-tabs.js.map +0 -1
  83. package/mtds/external/clsx/dist/clsx.js +0 -18
  84. package/mtds/external/clsx/dist/clsx.js.map +0 -1
  85. package/mtds/map/map.d.ts +0 -14
package/mtds/styles.json CHANGED
@@ -1,44 +1,44 @@
1
1
  {
2
- "alert": "_alert_1a0v1_1 _ds-alert_nwz76_3",
2
+ "alert": "_alert_1a0v1_1 _ds-alert_14b25_3",
3
3
  "app": "_app_1a0v1_1",
4
4
  "sticky": "_sticky_1a0v1_1",
5
- "avatar": "_avatar_1a0v1_1 _ds-avatar_nwz76_1",
5
+ "avatar": "_avatar_1a0v1_1 _ds-avatar_14b25_1",
6
6
  "badge": "_badge_1a0v1_1",
7
- "breadcrumbs": "_breadcrumbs_1a0v1_1 _ds-breadcrumbs_nwz76_5",
8
- "button": "_button_1a0v1_1 _ds-button_nwz76_1",
7
+ "breadcrumbs": "_breadcrumbs_1a0v1_1 _ds-breadcrumbs_14b25_5",
8
+ "button": "_button_1a0v1_1 _ds-button_14b25_1",
9
9
  "card": "_card_1a0v1_1",
10
10
  "group": "_group_1a0v1_1",
11
- "chip": "_chip_1a0v1_1 _ds-chip_nwz76_5",
12
- "details": "_details_1a0v1_1 _ds-details_nwz76_3",
13
- "dialog": "_dialog_1a0v1_1 _ds-dialog_nwz76_5",
11
+ "chip": "_chip_1a0v1_1 _ds-chip_14b25_5",
12
+ "details": "_details_1a0v1_1 _ds-details_14b25_3",
13
+ "dialog": "_dialog_1a0v1_1 _ds-dialog_14b25_5",
14
14
  "divider": "_divider_1a0v1_1",
15
- "errorsummary": "_errorsummary_1a0v1_1 _ds-error-summary_nwz76_5",
16
- "field": "_field_1a0v1_1 _ds-field_nwz76_1",
17
- "affixes": "_affixes_1a0v1_1 _ds-field-affixes_nwz76_3",
18
- "fieldset": "_fieldset_1a0v1_1 _ds-fieldset_nwz76_3",
19
- "helptext": "_helptext_1a0v1_1 _ds-focus_nwz76_1",
20
- "input": "_input_1a0v1_1 _ds-input_nwz76_1",
15
+ "errorsummary": "_errorsummary_1a0v1_1 _ds-error-summary_14b25_5",
16
+ "field": "_field_1a0v1_1 _ds-field_14b25_1",
17
+ "affixes": "_affixes_1a0v1_1 _ds-field-affixes_14b25_3",
18
+ "fieldset": "_fieldset_1a0v1_1 _ds-fieldset_14b25_3",
19
+ "helptext": "_helptext_1a0v1_1 _ds-focus_14b25_1",
20
+ "input": "_input_1a0v1_1 _ds-input_14b25_1",
21
21
  "grid": "_grid_1a0v1_1",
22
22
  "flex": "_flex_1a0v1_1",
23
23
  "link": "_link_1a0v1_1",
24
24
  "logo": "_logo_1a0v1_1",
25
25
  "map": "_map_1a0v1_1",
26
- "pagination": "_pagination_1a0v1_1 _ds-pagination_nwz76_5",
26
+ "pagination": "_pagination_1a0v1_1 _ds-pagination_14b25_5",
27
27
  "popover": "_popover_1a0v1_1",
28
28
  "progress": "_progress_1a0v1_1",
29
- "skeleton": "_skeleton_1a0v1_1 _ds-skeleton_nwz76_5",
29
+ "skeleton": "_skeleton_1a0v1_1 _ds-skeleton_14b25_5",
30
30
  "spinner": "_spinner_1a0v1_1",
31
31
  "steps": "_steps_1a0v1_1",
32
- "table": "_table_1a0v1_1 _ds-table_nwz76_5",
33
- "tabs": "_tabs_1a0v1_1 _ds-tabs_nwz76_5",
34
- "tag": "_tag_1a0v1_1 _ds-tag_nwz76_5",
32
+ "table": "_table_1a0v1_1 _ds-table_14b25_5",
33
+ "tabs": "_tabs_1a0v1_1 _ds-tabs_14b25_5",
34
+ "tag": "_tag_1a0v1_1 _ds-tag_14b25_5",
35
35
  "toast": "_toast_1a0v1_1",
36
36
  "togglegroup": "_togglegroup_1a0v1_1",
37
- "heading": "_heading_1a0v1_1 _ds-heading_nwz76_1",
37
+ "heading": "_heading_1a0v1_1 _ds-heading_14b25_1",
38
38
  "ingress": "_ingress_1a0v1_1",
39
39
  "muted": "_muted_1a0v1_1",
40
40
  "info": "_info_1a0v1_1",
41
41
  "prose": "_prose_1a0v1_1",
42
- "validation": "_validation_1a0v1_1 _ds-validation-message_nwz76_1",
42
+ "validation": "_validation_1a0v1_1 _ds-validation-message_14b25_1",
43
43
  "body": "_body_1a0v1_173"
44
44
  }
@@ -1,11 +1,11 @@
1
- const _ = "_alert_1a0v1_1 _ds-alert_nwz76_3", t = "_app_1a0v1_1", a = "_sticky_1a0v1_1", s = "_avatar_1a0v1_1 _ds-avatar_nwz76_1", o = "_badge_1a0v1_1", n = "_breadcrumbs_1a0v1_1 _ds-breadcrumbs_nwz76_5", e = "_button_1a0v1_1 _ds-button_nwz76_1", r = "_card_1a0v1_1", i = "_group_1a0v1_1", d = "_chip_1a0v1_1 _ds-chip_nwz76_5", c = "_details_1a0v1_1 _ds-details_nwz76_3", l = "_dialog_1a0v1_1 _ds-dialog_nwz76_5", v = "__drawer_1a0v1_1", p = "_divider_1a0v1_1", g = "_errorsummary_1a0v1_1 _ds-error-summary_nwz76_5", u = "__errorsummary_1a0v1_1", m = "_field_1a0v1_1 _ds-field_nwz76_1", b = "__datalist_1a0v1_1", w = "_affixes_1a0v1_1 _ds-field-affixes_nwz76_3", f = "_fieldset_1a0v1_1 _ds-fieldset_nwz76_3", z = "_helptext_1a0v1_1 _ds-focus_nwz76_1", k = "_input_1a0v1_1 _ds-input_nwz76_1", h = "_grid_1a0v1_1", y = "_flex_1a0v1_1", x = "_link_1a0v1_1", C = "_logo_1a0v1_1", M = "_map_1a0v1_1", O = "_pagination_1a0v1_1 _ds-pagination_nwz76_5", S = "_popover_1a0v1_1", T = "_progress_1a0v1_1", j = "__indeterminate_1a0v1_1", q = "_skeleton_1a0v1_1 _ds-skeleton_nwz76_5", A = "__skeleton_1a0v1_1", B = "_spinner_1a0v1_1", D = "_steps_1a0v1_1", E = "_table_1a0v1_1 _ds-table_nwz76_5", F = "__scrollShadow_1a0v1_1", G = "_tabs_1a0v1_1 _ds-tabs_nwz76_5", H = "__scrollMask_1a0v1_1", I = "_tag_1a0v1_1 _ds-tag_nwz76_5", J = "_toast_1a0v1_1", K = "__toastClose_1a0v1_1", L = "__toastOpen_1a0v1_1", N = "__toastTimeout_1a0v1_1", P = "_togglegroup_1a0v1_1", Q = "__tooltip_1a0v1_1", R = "_heading_1a0v1_1 _ds-heading_nwz76_1", U = "_ingress_1a0v1_1", V = "_muted_1a0v1_1", W = "_info_1a0v1_1", X = "_prose_1a0v1_1", Y = "_validation_1a0v1_1 _ds-validation-message_nwz76_1", Z = "_body_1a0v1_173", $ = "__checked_1a0v1_1", __ = {
1
+ const _ = "_alert_1a0v1_1 _ds-alert_14b25_3", t = "_app_1a0v1_1", a = "_sticky_1a0v1_1", s = "_avatar_1a0v1_1 _ds-avatar_14b25_1", o = "_badge_1a0v1_1", e = "_breadcrumbs_1a0v1_1 _ds-breadcrumbs_14b25_5", n = "_button_1a0v1_1 _ds-button_14b25_1", r = "_card_1a0v1_1", i = "_group_1a0v1_1", d = "_chip_1a0v1_1 _ds-chip_14b25_5", c = "_details_1a0v1_1 _ds-details_14b25_3", l = "_dialog_1a0v1_1 _ds-dialog_14b25_5", v = "__drawer_1a0v1_1", p = "_divider_1a0v1_1", b = "_errorsummary_1a0v1_1 _ds-error-summary_14b25_5", g = "__errorsummary_1a0v1_1", u = "_field_1a0v1_1 _ds-field_14b25_1", m = "__datalist_1a0v1_1", f = "_affixes_1a0v1_1 _ds-field-affixes_14b25_3", k = "_fieldset_1a0v1_1 _ds-fieldset_14b25_3", h = "_helptext_1a0v1_1 _ds-focus_14b25_1", y = "_input_1a0v1_1 _ds-input_14b25_1", x = "_grid_1a0v1_1", w = "_flex_1a0v1_1", C = "_link_1a0v1_1", M = "_logo_1a0v1_1", O = "_map_1a0v1_1", S = "_pagination_1a0v1_1 _ds-pagination_14b25_5", T = "_popover_1a0v1_1", j = "_progress_1a0v1_1", q = "__indeterminate_1a0v1_1", z = "_skeleton_1a0v1_1 _ds-skeleton_14b25_5", A = "__skeleton_1a0v1_1", B = "_spinner_1a0v1_1", D = "_steps_1a0v1_1", E = "_table_1a0v1_1 _ds-table_14b25_5", F = "__scrollShadow_1a0v1_1", G = "_tabs_1a0v1_1 _ds-tabs_14b25_5", H = "__scrollMask_1a0v1_1", I = "_tag_1a0v1_1 _ds-tag_14b25_5", J = "_toast_1a0v1_1", K = "__toastClose_1a0v1_1", L = "__toastOpen_1a0v1_1", N = "__toastTimeout_1a0v1_1", P = "_togglegroup_1a0v1_1", Q = "__tooltip_1a0v1_1", R = "_heading_1a0v1_1 _ds-heading_14b25_1", U = "_ingress_1a0v1_1", V = "_muted_1a0v1_1", W = "_info_1a0v1_1", X = "_prose_1a0v1_1", Y = "_validation_1a0v1_1 _ds-validation-message_14b25_1", Z = "_body_1a0v1_173", $ = "__checked_1a0v1_1", __ = {
2
2
  alert: _,
3
3
  app: t,
4
4
  sticky: a,
5
5
  avatar: s,
6
6
  badge: o,
7
- breadcrumbs: n,
8
- button: e,
7
+ breadcrumbs: e,
8
+ button: n,
9
9
  card: r,
10
10
  group: i,
11
11
  chip: d,
@@ -13,24 +13,24 @@ const _ = "_alert_1a0v1_1 _ds-alert_nwz76_3", t = "_app_1a0v1_1", a = "_sticky_1
13
13
  dialog: l,
14
14
  _drawer: v,
15
15
  divider: p,
16
- errorsummary: g,
17
- _errorsummary: u,
18
- field: m,
19
- _datalist: b,
20
- affixes: w,
21
- fieldset: f,
22
- helptext: z,
23
- input: k,
24
- grid: h,
25
- flex: y,
26
- link: x,
27
- logo: C,
28
- map: M,
29
- pagination: O,
30
- popover: S,
31
- progress: T,
32
- _indeterminate: j,
33
- skeleton: q,
16
+ errorsummary: b,
17
+ _errorsummary: g,
18
+ field: u,
19
+ _datalist: m,
20
+ affixes: f,
21
+ fieldset: k,
22
+ helptext: h,
23
+ input: y,
24
+ grid: x,
25
+ flex: w,
26
+ link: C,
27
+ logo: M,
28
+ map: O,
29
+ pagination: S,
30
+ popover: T,
31
+ progress: j,
32
+ _indeterminate: q,
33
+ skeleton: z,
34
34
  _skeleton: A,
35
35
  spinner: B,
36
36
  steps: D,
@@ -56,10 +56,10 @@ const _ = "_alert_1a0v1_1 _ds-alert_nwz76_3", t = "_app_1a0v1_1", a = "_sticky_1
56
56
  };
57
57
  export {
58
58
  $ as _checked,
59
- b as _datalist,
59
+ m as _datalist,
60
60
  v as _drawer,
61
- u as _errorsummary,
62
- j as _indeterminate,
61
+ g as _errorsummary,
62
+ q as _indeterminate,
63
63
  H as _scrollMask,
64
64
  F as _scrollShadow,
65
65
  A as _skeleton,
@@ -67,40 +67,40 @@ export {
67
67
  L as _toastOpen,
68
68
  N as _toastTimeout,
69
69
  Q as _tooltip,
70
- w as affixes,
70
+ f as affixes,
71
71
  _ as alert,
72
72
  t as app,
73
73
  s as avatar,
74
74
  o as badge,
75
75
  Z as body,
76
- n as breadcrumbs,
77
- e as button,
76
+ e as breadcrumbs,
77
+ n as button,
78
78
  r as card,
79
79
  d as chip,
80
80
  __ as default,
81
81
  c as details,
82
82
  l as dialog,
83
83
  p as divider,
84
- g as errorsummary,
85
- m as field,
86
- f as fieldset,
87
- y as flex,
88
- h as grid,
84
+ b as errorsummary,
85
+ u as field,
86
+ k as fieldset,
87
+ w as flex,
88
+ x as grid,
89
89
  i as group,
90
90
  R as heading,
91
- z as helptext,
91
+ h as helptext,
92
92
  W as info,
93
93
  U as ingress,
94
- k as input,
95
- x as link,
96
- C as logo,
97
- M as map,
94
+ y as input,
95
+ C as link,
96
+ M as logo,
97
+ O as map,
98
98
  V as muted,
99
- O as pagination,
100
- S as popover,
101
- T as progress,
99
+ S as pagination,
100
+ T as popover,
101
+ j as progress,
102
102
  X as prose,
103
- q as skeleton,
103
+ z as skeleton,
104
104
  B as spinner,
105
105
  D as steps,
106
106
  a as sticky,
@@ -1,5 +1,5 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { clsx as d } from "../external/clsx/dist/clsx.js";
2
+ import d from "clsx";
3
3
  import { forwardRef as s } from "react";
4
4
  import i from "../styles.module.css.js";
5
5
  const l = {
package/mtds/tag/tag.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsx as f } from "react/jsx-runtime";
2
- import { clsx as s } from "../external/clsx/dist/clsx.js";
2
+ import s from "clsx";
3
3
  import { forwardRef as n } from "react";
4
4
  import p from "../styles.module.css.js";
5
5
  const x = n(function({ as: r, className: t, ...o }, a) {
@@ -1,4 +1,4 @@
1
- import { clsx as m } from "../external/clsx/dist/clsx.js";
1
+ import m from "clsx";
2
2
  import l from "../styles.module.css.js";
3
3
  import { tag as f, attr as s } from "../utils.js";
4
4
  function r(e, o = {}) {
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { jsx as m } from "react/jsx-runtime";
3
- import { clsx as u } from "../external/clsx/dist/clsx.js";
3
+ import u from "clsx";
4
4
  import { createRoot as f } from "react-dom/client";
5
5
  import d from "../styles.module.css.js";
6
6
  import { IS_BROWSER as w, tag as y } from "../utils.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as t, jsxs as i } from "react/jsx-runtime";
2
- import { clsx as u } from "../external/clsx/dist/clsx.js";
2
+ import u from "clsx";
3
3
  import { forwardRef as g } from "react";
4
4
  import c from "../styles.module.css.js";
5
5
  const f = g(
@@ -1,4 +1,4 @@
1
- import { flip as I, shift as h } from "../external/@floating-ui/dom/dist/floating-ui.dom.js";
1
+ import { flip as I, shift as h } from "@floating-ui/dom";
2
2
  import w from "../styles.module.css.js";
3
3
  import { IS_BROWSER as C, tag as O, onLoaded as y, on as s, QUICK_EVENT as r, attr as a, anchorPosition as u } from "../utils.js";
4
4
  const m = "aria-describedby", p = "Escape", d = "aria-labelledby", A = "--mtds-tooltip-position", P = 300, T = "mtds-tooltip", o = C ? document.getElementById(T) || O("div", {
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { clsx as a } from "../external/clsx/dist/clsx.js";
2
+ import a from "clsx";
3
3
  import { forwardRef as e } from "react";
4
4
  import c from "../styles.module.css.js";
5
5
  const d = e(function({ as: n, className: s, ...o }, t) {
package/mtds/utils.js CHANGED
@@ -1,5 +1,5 @@
1
- import { autoUpdate as p, computePosition as w } from "./external/@floating-ui/dom/dist/floating-ui.dom.js";
2
- import { clsx as E } from "./external/clsx/dist/clsx.js";
1
+ import { autoUpdate as p, computePosition as w } from "@floating-ui/dom";
2
+ import E from "clsx";
3
3
  const S = { capture: !0, passive: !0 }, f = typeof window < "u" && typeof document < "u";
4
4
  function h(t, e) {
5
5
  let n;
@@ -1,5 +1,5 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { clsx as a } from "../external/clsx/dist/clsx.js";
2
+ import a from "clsx";
3
3
  import { forwardRef as n } from "react";
4
4
  import s from "../styles.module.css.js";
5
5
  const l = n(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mattilsynet/design",
3
- "version": "2.2.6",
3
+ "version": "2.2.7",
4
4
  "type": "module",
5
5
  "main": "./mtds/index.js",
6
6
  "types": "./mtds/index.d.ts",
@@ -20,18 +20,23 @@
20
20
  "import": "./mtds/react.js",
21
21
  "types": "./mtds/react.d.ts"
22
22
  },
23
+ "./map": {
24
+ "import": "./mtds/map.js",
25
+ "types": "./mtds/map.d.ts"
26
+ },
23
27
  "./*.svg": "./mtds/*.svg",
24
28
  "./*.ico": "./mtds/*.ico",
25
29
  "./icons/*": "./mtds/icons/*",
26
30
  "./illustrations/*": "./mtds/illustrations/*",
27
31
  "./index.iife.js": "./mtds/index.iife.js",
32
+ "./map.iife.js": "./mtds/map.iife.js",
28
33
  "./package.json": "./package.json",
29
34
  "./styles.css": "./mtds/styles.css",
30
35
  "./styles.json": "./mtds/styles.json",
31
36
  "./tailwind.css": "./mtds/tailwind.css"
32
37
  },
33
38
  "scripts": {
34
- "build": "vite build --mode iife && vite build && rm -rf mtds/docs/ && rm -rf mtds/iife.css",
39
+ "build": "vite build --mode iife && vite build --mode iife-map && vite build && rm -rf mtds/docs/ && rm -rf mtds/iife.css",
35
40
  "build:tokens": "npx @digdir/designsystemet tokens build",
36
41
  "format": "npx @biomejs/biome format",
37
42
  "lint": "npx @biomejs/biome lint",
@@ -42,20 +47,20 @@
42
47
  },
43
48
  "devDependencies": {
44
49
  "@biomejs/biome": "^2.2.4",
45
- "@digdir/designsystemet": "^1.5.1",
46
- "@digdir/designsystemet-css": "^1.5.1",
50
+ "@digdir/designsystemet": "^1.6.0",
51
+ "@digdir/designsystemet-css": "^1.6.0",
47
52
  "@phosphor-icons/core": "^2.1.1",
48
53
  "@phosphor-icons/react": "^2.1.10",
49
54
  "@storybook/addon-docs": "^9.1.8",
50
55
  "@storybook/addon-themes": "^9.1.8",
51
56
  "@storybook/react-vite": "^9.1.8",
52
57
  "@tanstack/react-table": "^8.21.3",
53
- "@types/node": "^24.5.2",
54
- "@types/react": "^19.1.13",
58
+ "@types/leaflet": "^1.9.20",
59
+ "@types/node": "^24.6.0",
60
+ "@types/react": "^19.1.16",
55
61
  "@types/react-dom": "^19.1.9",
56
- "@vitejs/plugin-react": "^5.0.3",
62
+ "@vitejs/plugin-react": "^5.0.4",
57
63
  "fast-glob": "^3.3.3",
58
- "ol": "^10.6.1",
59
64
  "postcss": "^8.5.6",
60
65
  "postcss-nesting": "^13.0.2",
61
66
  "react": "^19.1.1",
@@ -72,7 +77,8 @@
72
77
  "@u-elements/u-details": "^0.1.5",
73
78
  "@u-elements/u-progress": "^0.0.6",
74
79
  "@u-elements/u-tabs": "^0.0.12",
75
- "clsx": "^2.1.1"
80
+ "clsx": "^2.1.1",
81
+ "leaflet": "^1.9.4"
76
82
  },
77
83
  "overrides": {
78
84
  "ansi-regex": "^6.2.2",