@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.
- package/mtds/alert/alert.js +1 -1
- package/mtds/app/app.d.ts +1 -1
- package/mtds/app/app.js +10 -41
- package/mtds/app/app.js.map +1 -1
- package/mtds/avatar/avatar.js +1 -1
- package/mtds/badge/badge.js +1 -1
- package/mtds/breadcrumbs/breadcrumbs.js +1 -1
- package/mtds/button/button.js +1 -1
- package/mtds/card/card.js +1 -1
- package/mtds/chart/chart-element.d.ts +1 -1
- package/mtds/chart/chart-element.js +5 -5
- package/mtds/chart/chart-element.js.map +1 -1
- package/mtds/chart/chart-lines.d.ts +1 -1
- package/mtds/chart/chart-lines.js +30 -30
- package/mtds/chart/chart-lines.js.map +1 -1
- package/mtds/chart/chart.css.js +10 -4
- package/mtds/chart/chart.css.js.map +1 -1
- package/mtds/chart/chart.d.ts +2 -2
- package/mtds/chart/chart.js.map +1 -1
- package/mtds/chart/chart.stories.d.ts +1 -1
- package/mtds/chip/chip.js +1 -1
- package/mtds/details/details.d.ts +2 -0
- package/mtds/details/details.js.map +1 -1
- package/mtds/dialog/dialog.js +1 -1
- package/mtds/divider/divider.js +1 -1
- package/mtds/errorsummary/errorsummary.js +1 -1
- package/mtds/field/field-observer.js +3 -3
- package/mtds/field/field.d.ts +3 -5
- package/mtds/field/field.js +69 -99
- package/mtds/field/field.js.map +1 -1
- package/mtds/fieldset/fieldset.js +1 -1
- package/mtds/helptext/helptext.js +1 -1
- package/mtds/index.d.ts +1 -0
- package/mtds/index.iife.js +19 -14
- package/mtds/index.js +5 -5
- package/mtds/input/input.js +1 -1
- package/mtds/layout/layout.js +1 -1
- package/mtds/link/link.js +1 -1
- package/mtds/logo/logo.js +1 -1
- package/mtds/map/map-element.d.ts +43 -0
- package/mtds/map/map-element.js +66 -0
- package/mtds/map/map-element.js.map +1 -0
- package/mtds/map/map.css.js +22 -0
- package/mtds/map/map.css.js.map +1 -0
- package/mtds/map.d.ts +1 -0
- package/mtds/map.iife.js +683 -0
- package/mtds/map.js +6 -0
- package/mtds/map.js.map +1 -0
- package/mtds/package.json.js +1 -1
- package/mtds/pagination/pagination.d.ts +1 -1
- package/mtds/pagination/pagination.js +20 -51
- package/mtds/pagination/pagination.js.map +1 -1
- package/mtds/popover/popover-observer.js +2 -3
- package/mtds/popover/popover-observer.js.map +1 -1
- package/mtds/popover/popover.d.ts +2 -2
- package/mtds/popover/popover.js +1 -1
- package/mtds/popover/popover.js.map +1 -1
- package/mtds/react-types.d.ts +2 -3
- package/mtds/skeleton/skeleton.js +1 -1
- package/mtds/spinner/spinner.js +1 -1
- package/mtds/steps/steps.js +1 -1
- package/mtds/styles.css +1 -1
- package/mtds/styles.json +42 -41
- package/mtds/styles.module.css.js +102 -100
- package/mtds/styles.module.css.js.map +1 -1
- package/mtds/table/table.js +1 -1
- package/mtds/tag/tag.js +1 -1
- package/mtds/tailwind.css +5 -0
- package/mtds/toast/toast-helper.js +1 -1
- package/mtds/toast/toast.js +1 -1
- package/mtds/togglegroup/togglegroup.js +1 -1
- package/mtds/tooltip/tooltip-observer.js +1 -1
- package/mtds/typography/typography.js +1 -1
- package/mtds/utils.js +2 -2
- package/mtds/validation/validation.js +1 -1
- package/package.json +15 -9
- package/mtds/external/@floating-ui/core/dist/floating-ui.core.js +0 -342
- package/mtds/external/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
- package/mtds/external/@floating-ui/dom/dist/floating-ui.dom.js +0 -399
- package/mtds/external/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
- package/mtds/external/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -137
- package/mtds/external/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
- package/mtds/external/@floating-ui/utils/dist/floating-ui.utils.js +0 -130
- package/mtds/external/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
- package/mtds/external/@u-elements/u-combobox/dist/u-combobox.js +0 -266
- package/mtds/external/@u-elements/u-combobox/dist/u-combobox.js.map +0 -1
- package/mtds/external/@u-elements/u-datalist/dist/u-datalist.js +0 -231
- package/mtds/external/@u-elements/u-datalist/dist/u-datalist.js.map +0 -1
- package/mtds/external/@u-elements/u-details/dist/u-details.js +0 -89
- package/mtds/external/@u-elements/u-details/dist/u-details.js.map +0 -1
- package/mtds/external/@u-elements/u-progress/dist/u-progress.js +0 -94
- package/mtds/external/@u-elements/u-progress/dist/u-progress.js.map +0 -1
- package/mtds/external/@u-elements/u-tabs/dist/u-tabs.js +0 -186
- package/mtds/external/@u-elements/u-tabs/dist/u-tabs.js.map +0 -1
- package/mtds/external/clsx/dist/clsx.js +0 -18
- package/mtds/external/clsx/dist/clsx.js.map +0 -1
- package/mtds/map/map.d.ts +0 -4
package/mtds/styles.json
CHANGED
|
@@ -1,43 +1,44 @@
|
|
|
1
1
|
{
|
|
2
|
-
"alert": "
|
|
3
|
-
"app": "
|
|
4
|
-
"sticky": "
|
|
5
|
-
"avatar": "
|
|
6
|
-
"badge": "
|
|
7
|
-
"breadcrumbs": "
|
|
8
|
-
"button": "
|
|
9
|
-
"card": "
|
|
10
|
-
"group": "
|
|
11
|
-
"chip": "
|
|
12
|
-
"details": "
|
|
13
|
-
"dialog": "
|
|
14
|
-
"divider": "
|
|
15
|
-
"errorsummary": "
|
|
16
|
-
"field": "
|
|
17
|
-
"affixes": "
|
|
18
|
-
"fieldset": "
|
|
19
|
-
"helptext": "
|
|
20
|
-
"input": "
|
|
21
|
-
"grid": "
|
|
22
|
-
"flex": "
|
|
23
|
-
"link": "
|
|
24
|
-
"logo": "
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
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 _ = "
|
|
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:
|
|
4
|
-
sticky:
|
|
5
|
-
avatar:
|
|
3
|
+
app: t,
|
|
4
|
+
sticky: a,
|
|
5
|
+
avatar: s,
|
|
6
6
|
badge: o,
|
|
7
7
|
breadcrumbs: e,
|
|
8
|
-
button:
|
|
9
|
-
card:
|
|
10
|
-
group:
|
|
11
|
-
chip:
|
|
12
|
-
details:
|
|
13
|
-
dialog:
|
|
14
|
-
_drawer:
|
|
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:
|
|
17
|
-
_errorsummary:
|
|
18
|
-
field:
|
|
19
|
-
_datalist:
|
|
20
|
-
affixes:
|
|
21
|
-
fieldset:
|
|
22
|
-
helptext:
|
|
23
|
-
input:
|
|
24
|
-
grid:
|
|
25
|
-
flex:
|
|
26
|
-
link:
|
|
27
|
-
logo:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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
|
-
|
|
72
|
-
|
|
72
|
+
t as app,
|
|
73
|
+
s as avatar,
|
|
73
74
|
o as badge,
|
|
74
|
-
|
|
75
|
+
Z as body,
|
|
75
76
|
e as breadcrumbs,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
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
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
B as
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
I as
|
|
109
|
-
|
|
110
|
-
|
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/mtds/table/table.js
CHANGED
package/mtds/tag/tag.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
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);
|
package/mtds/toast/toast.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as m } from "react/jsx-runtime";
|
|
3
|
-
import
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import { flip as I, shift as h } from "
|
|
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
|
|
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 "
|
|
2
|
-
import
|
|
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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mattilsynet/design",
|
|
3
|
-
"version": "2.2.
|
|
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.
|
|
46
|
-
"@digdir/designsystemet-css": "^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/
|
|
54
|
-
"@types/
|
|
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.
|
|
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",
|