@mattilsynet/design 2.2.5 → 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 (97) 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 +5 -5
  12. package/mtds/chart/chart-element.js.map +1 -1
  13. package/mtds/chart/chart-lines.d.ts +1 -1
  14. package/mtds/chart/chart-lines.js +30 -30
  15. package/mtds/chart/chart-lines.js.map +1 -1
  16. package/mtds/chart/chart.css.js +10 -4
  17. package/mtds/chart/chart.css.js.map +1 -1
  18. package/mtds/chart/chart.d.ts +2 -2
  19. package/mtds/chart/chart.js.map +1 -1
  20. package/mtds/chart/chart.stories.d.ts +1 -1
  21. package/mtds/chip/chip.js +1 -1
  22. package/mtds/details/details.d.ts +2 -0
  23. package/mtds/details/details.js.map +1 -1
  24. package/mtds/dialog/dialog.js +1 -1
  25. package/mtds/divider/divider.js +1 -1
  26. package/mtds/errorsummary/errorsummary.js +1 -1
  27. package/mtds/field/field-observer.js +3 -3
  28. package/mtds/field/field.d.ts +3 -5
  29. package/mtds/field/field.js +69 -99
  30. package/mtds/field/field.js.map +1 -1
  31. package/mtds/fieldset/fieldset.js +1 -1
  32. package/mtds/helptext/helptext.js +1 -1
  33. package/mtds/index.d.ts +1 -0
  34. package/mtds/index.iife.js +19 -14
  35. package/mtds/index.js +5 -5
  36. package/mtds/input/input.js +1 -1
  37. package/mtds/layout/layout.js +1 -1
  38. package/mtds/link/link.js +1 -1
  39. package/mtds/logo/logo.js +1 -1
  40. package/mtds/map/map-element.d.ts +43 -0
  41. package/mtds/map/map-element.js +66 -0
  42. package/mtds/map/map-element.js.map +1 -0
  43. package/mtds/map/map.css.js +22 -0
  44. package/mtds/map/map.css.js.map +1 -0
  45. package/mtds/map.d.ts +1 -0
  46. package/mtds/map.iife.js +683 -0
  47. package/mtds/map.js +6 -0
  48. package/mtds/map.js.map +1 -0
  49. package/mtds/package.json.js +1 -1
  50. package/mtds/pagination/pagination.d.ts +1 -1
  51. package/mtds/pagination/pagination.js +20 -51
  52. package/mtds/pagination/pagination.js.map +1 -1
  53. package/mtds/popover/popover-observer.js +2 -3
  54. package/mtds/popover/popover-observer.js.map +1 -1
  55. package/mtds/popover/popover.d.ts +2 -2
  56. package/mtds/popover/popover.js +1 -1
  57. package/mtds/popover/popover.js.map +1 -1
  58. package/mtds/react-types.d.ts +2 -3
  59. package/mtds/skeleton/skeleton.js +1 -1
  60. package/mtds/spinner/spinner.js +1 -1
  61. package/mtds/steps/steps.js +1 -1
  62. package/mtds/styles.css +1 -1
  63. package/mtds/styles.json +42 -41
  64. package/mtds/styles.module.css.js +102 -100
  65. package/mtds/styles.module.css.js.map +1 -1
  66. package/mtds/table/table.js +1 -1
  67. package/mtds/tag/tag.js +1 -1
  68. package/mtds/tailwind.css +5 -0
  69. package/mtds/toast/toast-helper.js +1 -1
  70. package/mtds/toast/toast.js +1 -1
  71. package/mtds/togglegroup/togglegroup.js +1 -1
  72. package/mtds/tooltip/tooltip-observer.js +1 -1
  73. package/mtds/typography/typography.js +1 -1
  74. package/mtds/utils.js +2 -2
  75. package/mtds/validation/validation.js +1 -1
  76. package/package.json +15 -9
  77. package/mtds/external/@floating-ui/core/dist/floating-ui.core.js +0 -342
  78. package/mtds/external/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  79. package/mtds/external/@floating-ui/dom/dist/floating-ui.dom.js +0 -399
  80. package/mtds/external/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  81. package/mtds/external/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -137
  82. package/mtds/external/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  83. package/mtds/external/@floating-ui/utils/dist/floating-ui.utils.js +0 -130
  84. package/mtds/external/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  85. package/mtds/external/@u-elements/u-combobox/dist/u-combobox.js +0 -266
  86. package/mtds/external/@u-elements/u-combobox/dist/u-combobox.js.map +0 -1
  87. package/mtds/external/@u-elements/u-datalist/dist/u-datalist.js +0 -231
  88. package/mtds/external/@u-elements/u-datalist/dist/u-datalist.js.map +0 -1
  89. package/mtds/external/@u-elements/u-details/dist/u-details.js +0 -89
  90. package/mtds/external/@u-elements/u-details/dist/u-details.js.map +0 -1
  91. package/mtds/external/@u-elements/u-progress/dist/u-progress.js +0 -94
  92. package/mtds/external/@u-elements/u-progress/dist/u-progress.js.map +0 -1
  93. package/mtds/external/@u-elements/u-tabs/dist/u-tabs.js +0 -186
  94. package/mtds/external/@u-elements/u-tabs/dist/u-tabs.js.map +0 -1
  95. package/mtds/external/clsx/dist/clsx.js +0 -18
  96. package/mtds/external/clsx/dist/clsx.js.map +0 -1
  97. package/mtds/map/map.d.ts +0 -4
package/mtds/styles.json CHANGED
@@ -1,43 +1,44 @@
1
1
  {
2
- "alert": "_alert_1nshl_1 _ds-alert_nwz76_3",
3
- "app": "_app_1nshl_1",
4
- "sticky": "_sticky_1nshl_1",
5
- "avatar": "_avatar_1nshl_1 _ds-avatar_nwz76_1",
6
- "badge": "_badge_1nshl_1",
7
- "breadcrumbs": "_breadcrumbs_1nshl_1 _ds-breadcrumbs_nwz76_5",
8
- "button": "_button_1nshl_1 _ds-button_nwz76_1",
9
- "card": "_card_1nshl_1",
10
- "group": "_group_1nshl_1",
11
- "chip": "_chip_1nshl_1 _ds-chip_nwz76_5",
12
- "details": "_details_1nshl_1 _ds-details_nwz76_3",
13
- "dialog": "_dialog_1nshl_1 _ds-dialog_nwz76_5",
14
- "divider": "_divider_1nshl_1",
15
- "errorsummary": "_errorsummary_1nshl_1 _ds-error-summary_nwz76_5",
16
- "field": "_field_1nshl_1 _ds-field_nwz76_1",
17
- "affixes": "_affixes_1nshl_1 _ds-field-affixes_nwz76_3",
18
- "fieldset": "_fieldset_1nshl_1 _ds-fieldset_nwz76_3",
19
- "helptext": "_helptext_1nshl_1 _ds-focus_nwz76_1",
20
- "input": "_input_1nshl_1 _ds-input_nwz76_1",
21
- "grid": "_grid_1nshl_1",
22
- "flex": "_flex_1nshl_1",
23
- "link": "_link_1nshl_1",
24
- "logo": "_logo_1nshl_1",
25
- "pagination": "_pagination_1nshl_1 _ds-pagination_nwz76_5",
26
- "popover": "_popover_1nshl_1",
27
- "progress": "_progress_1nshl_1",
28
- "skeleton": "_skeleton_1nshl_1 _ds-skeleton_nwz76_5",
29
- "spinner": "_spinner_1nshl_1",
30
- "steps": "_steps_1nshl_1",
31
- "table": "_table_1nshl_1 _ds-table_nwz76_5",
32
- "tabs": "_tabs_1nshl_1 _ds-tabs_nwz76_5",
33
- "tag": "_tag_1nshl_1 _ds-tag_nwz76_5",
34
- "toast": "_toast_1nshl_1",
35
- "togglegroup": "_togglegroup_1nshl_1",
36
- "heading": "_heading_1nshl_1 _ds-heading_nwz76_1",
37
- "ingress": "_ingress_1nshl_1",
38
- "muted": "_muted_1nshl_1",
39
- "info": "_info_1nshl_1",
40
- "prose": "_prose_1nshl_1",
41
- "validation": "_validation_1nshl_1 _ds-validation-message_nwz76_1",
42
- "body": "_body_1nshl_172"
2
+ "alert": "_alert_1a0v1_1 _ds-alert_14b25_3",
3
+ "app": "_app_1a0v1_1",
4
+ "sticky": "_sticky_1a0v1_1",
5
+ "avatar": "_avatar_1a0v1_1 _ds-avatar_14b25_1",
6
+ "badge": "_badge_1a0v1_1",
7
+ "breadcrumbs": "_breadcrumbs_1a0v1_1 _ds-breadcrumbs_14b25_5",
8
+ "button": "_button_1a0v1_1 _ds-button_14b25_1",
9
+ "card": "_card_1a0v1_1",
10
+ "group": "_group_1a0v1_1",
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
+ "divider": "_divider_1a0v1_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
+ "grid": "_grid_1a0v1_1",
22
+ "flex": "_flex_1a0v1_1",
23
+ "link": "_link_1a0v1_1",
24
+ "logo": "_logo_1a0v1_1",
25
+ "map": "_map_1a0v1_1",
26
+ "pagination": "_pagination_1a0v1_1 _ds-pagination_14b25_5",
27
+ "popover": "_popover_1a0v1_1",
28
+ "progress": "_progress_1a0v1_1",
29
+ "skeleton": "_skeleton_1a0v1_1 _ds-skeleton_14b25_5",
30
+ "spinner": "_spinner_1a0v1_1",
31
+ "steps": "_steps_1a0v1_1",
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
+ "toast": "_toast_1a0v1_1",
36
+ "togglegroup": "_togglegroup_1a0v1_1",
37
+ "heading": "_heading_1a0v1_1 _ds-heading_14b25_1",
38
+ "ingress": "_ingress_1a0v1_1",
39
+ "muted": "_muted_1a0v1_1",
40
+ "info": "_info_1a0v1_1",
41
+ "prose": "_prose_1a0v1_1",
42
+ "validation": "_validation_1a0v1_1 _ds-validation-message_14b25_1",
43
+ "body": "_body_1a0v1_173"
43
44
  }
@@ -1,112 +1,114 @@
1
- const _ = "_alert_1nshl_1 _ds-alert_nwz76_3", s = "_app_1nshl_1", n = "_sticky_1nshl_1", t = "_avatar_1nshl_1 _ds-avatar_nwz76_1", o = "_badge_1nshl_1", e = "_breadcrumbs_1nshl_1 _ds-breadcrumbs_nwz76_5", l = "_button_1nshl_1 _ds-button_nwz76_1", a = "_card_1nshl_1", r = "_group_1nshl_1", i = "_chip_1nshl_1 _ds-chip_nwz76_5", d = "_details_1nshl_1 _ds-details_nwz76_3", c = "_dialog_1nshl_1 _ds-dialog_nwz76_5", h = "__drawer_1nshl_1", p = "_divider_1nshl_1", g = "_errorsummary_1nshl_1 _ds-error-summary_nwz76_5", u = "__errorsummary_1nshl_1", m = "_field_1nshl_1 _ds-field_nwz76_1", b = "__datalist_1nshl_1", w = "_affixes_1nshl_1 _ds-field-affixes_nwz76_3", f = "_fieldset_1nshl_1 _ds-fieldset_nwz76_3", z = "_helptext_1nshl_1 _ds-focus_nwz76_1", k = "_input_1nshl_1 _ds-input_nwz76_1", v = "_grid_1nshl_1", y = "_flex_1nshl_1", x = "_link_1nshl_1", C = "_logo_1nshl_1", M = "_pagination_1nshl_1 _ds-pagination_nwz76_5", O = "_popover_1nshl_1", S = "_progress_1nshl_1", T = "__indeterminate_1nshl_1", j = "_skeleton_1nshl_1 _ds-skeleton_nwz76_5", q = "__skeleton_1nshl_1", A = "_spinner_1nshl_1", B = "_steps_1nshl_1", D = "_table_1nshl_1 _ds-table_nwz76_5", E = "__scrollShadow_1nshl_1", F = "_tabs_1nshl_1 _ds-tabs_nwz76_5", G = "__scrollMask_1nshl_1", H = "_tag_1nshl_1 _ds-tag_nwz76_5", I = "_toast_1nshl_1", J = "__toastClose_1nshl_1", K = "__toastOpen_1nshl_1", L = "__toastTimeout_1nshl_1", N = "_togglegroup_1nshl_1", P = "__tooltip_1nshl_1", Q = "_heading_1nshl_1 _ds-heading_nwz76_1", R = "_ingress_1nshl_1", U = "_muted_1nshl_1", V = "_info_1nshl_1", W = "_prose_1nshl_1", X = "_validation_1nshl_1 _ds-validation-message_nwz76_1", Y = "_body_1nshl_172", Z = "__checked_1nshl_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
- app: s,
4
- sticky: n,
5
- avatar: t,
3
+ app: t,
4
+ sticky: a,
5
+ avatar: s,
6
6
  badge: o,
7
7
  breadcrumbs: e,
8
- button: l,
9
- card: a,
10
- group: r,
11
- chip: i,
12
- details: d,
13
- dialog: c,
14
- _drawer: h,
8
+ button: n,
9
+ card: r,
10
+ group: i,
11
+ chip: d,
12
+ details: c,
13
+ dialog: l,
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: v,
25
- flex: y,
26
- link: x,
27
- logo: C,
28
- pagination: M,
29
- popover: O,
30
- progress: S,
31
- _indeterminate: T,
32
- skeleton: j,
33
- _skeleton: q,
34
- spinner: A,
35
- steps: B,
36
- table: D,
37
- _scrollShadow: E,
38
- tabs: F,
39
- _scrollMask: G,
40
- tag: H,
41
- toast: I,
42
- _toastClose: J,
43
- _toastOpen: K,
44
- _toastTimeout: L,
45
- togglegroup: N,
46
- _tooltip: P,
47
- heading: Q,
48
- ingress: R,
49
- muted: U,
50
- info: V,
51
- prose: W,
52
- validation: X,
53
- body: Y,
54
- _checked: Z
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
+ _skeleton: A,
35
+ spinner: B,
36
+ steps: D,
37
+ table: E,
38
+ _scrollShadow: F,
39
+ tabs: G,
40
+ _scrollMask: H,
41
+ tag: I,
42
+ toast: J,
43
+ _toastClose: K,
44
+ _toastOpen: L,
45
+ _toastTimeout: N,
46
+ togglegroup: P,
47
+ _tooltip: Q,
48
+ heading: R,
49
+ ingress: U,
50
+ muted: V,
51
+ info: W,
52
+ prose: X,
53
+ validation: Y,
54
+ body: Z,
55
+ _checked: $
55
56
  };
56
57
  export {
57
- Z as _checked,
58
- b as _datalist,
59
- h as _drawer,
60
- u as _errorsummary,
61
- T as _indeterminate,
62
- G as _scrollMask,
63
- E as _scrollShadow,
64
- q as _skeleton,
65
- J as _toastClose,
66
- K as _toastOpen,
67
- L as _toastTimeout,
68
- P as _tooltip,
69
- w as affixes,
58
+ $ as _checked,
59
+ m as _datalist,
60
+ v as _drawer,
61
+ g as _errorsummary,
62
+ q as _indeterminate,
63
+ H as _scrollMask,
64
+ F as _scrollShadow,
65
+ A as _skeleton,
66
+ K as _toastClose,
67
+ L as _toastOpen,
68
+ N as _toastTimeout,
69
+ Q as _tooltip,
70
+ f as affixes,
70
71
  _ as alert,
71
- s as app,
72
- t as avatar,
72
+ t as app,
73
+ s as avatar,
73
74
  o as badge,
74
- Y as body,
75
+ Z as body,
75
76
  e as breadcrumbs,
76
- l as button,
77
- a as card,
78
- i as chip,
79
- $ as default,
80
- d as details,
81
- c as dialog,
77
+ n as button,
78
+ r as card,
79
+ d as chip,
80
+ __ as default,
81
+ c as details,
82
+ l as dialog,
82
83
  p as divider,
83
- g as errorsummary,
84
- m as field,
85
- f as fieldset,
86
- y as flex,
87
- v as grid,
88
- r as group,
89
- Q as heading,
90
- z as helptext,
91
- V as info,
92
- R as ingress,
93
- k as input,
94
- x as link,
95
- C as logo,
96
- U as muted,
97
- M as pagination,
98
- O as popover,
99
- S as progress,
100
- W as prose,
101
- j as skeleton,
102
- A as spinner,
103
- B as steps,
104
- n as sticky,
105
- D as table,
106
- F as tabs,
107
- H as tag,
108
- I as toast,
109
- N as togglegroup,
110
- X as validation
84
+ b as errorsummary,
85
+ u as field,
86
+ k as fieldset,
87
+ w as flex,
88
+ x as grid,
89
+ i as group,
90
+ R as heading,
91
+ h as helptext,
92
+ W as info,
93
+ U as ingress,
94
+ y as input,
95
+ C as link,
96
+ M as logo,
97
+ O as map,
98
+ V as muted,
99
+ S as pagination,
100
+ T as popover,
101
+ j as progress,
102
+ X as prose,
103
+ z as skeleton,
104
+ B as spinner,
105
+ D as steps,
106
+ a as sticky,
107
+ E as table,
108
+ G as tabs,
109
+ I as tag,
110
+ J as toast,
111
+ P as togglegroup,
112
+ Y as validation
111
113
  };
112
114
  //# sourceMappingURL=styles.module.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"styles.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -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) {
package/mtds/tailwind.css CHANGED
@@ -39,6 +39,11 @@
39
39
  --color-border-default: var(--mtds-color-border-default);
40
40
  --color-border-strong: var(--mtds-color-border-strong);
41
41
  --color-border-subtle: var(--mtds-color-border-subtle);
42
+ --color-charts-chart-a: var(--mtds-color-charts-chart-a);
43
+ --color-charts-chart-b: var(--mtds-color-charts-chart-b);
44
+ --color-charts-chart-c: var(--mtds-color-charts-chart-c);
45
+ --color-charts-chart-d: var(--mtds-color-charts-chart-d);
46
+ --color-charts-chart-e: var(--mtds-color-charts-chart-e);
42
47
  --color-danger-background-default: var(--mtds-color-danger-background-default);
43
48
  --color-danger-background-tinted: var(--mtds-color-danger-background-tinted);
44
49
  --color-danger-base-active: var(--mtds-color-danger-base-active);
@@ -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.5",
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",