@mattilsynet/design 2.2.7 → 2.2.8
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/app/app-observer.js +1 -1
- package/mtds/app/app-toggle.js +10 -26
- package/mtds/app/app-toggle.js.map +1 -1
- package/mtds/app/app-toggle2.js +26 -10
- package/mtds/app/app-toggle2.js.map +1 -1
- package/mtds/app/app.js +1 -1
- package/mtds/dialog/dialog-observer.js +20 -19
- package/mtds/dialog/dialog-observer.js.map +1 -1
- package/mtds/dialog/dialog.stories.d.ts +3 -1
- package/mtds/index.d.ts +0 -1
- package/mtds/index.iife.js +14 -14
- package/mtds/map/map-element.d.ts +7 -3
- package/mtds/map/map-element.js +54 -46
- package/mtds/map/map-element.js.map +1 -1
- package/mtds/map/map.css.js +30 -6
- package/mtds/map/map.css.js.map +1 -1
- package/mtds/map.iife.js +47 -8
- package/mtds/map.js +5 -3
- package/mtds/map.js.map +1 -1
- package/mtds/package.json.js +1 -1
- package/mtds/popover/popover-observer.js +29 -26
- package/mtds/popover/popover-observer.js.map +1 -1
- package/mtds/styles.css +1 -1
- package/mtds/styles.json +41 -42
- package/mtds/styles.module.css.js +72 -74
- package/mtds/styles.module.css.js.map +1 -1
- package/package.json +5 -3
package/mtds/styles.json
CHANGED
|
@@ -1,44 +1,43 @@
|
|
|
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
|
-
"
|
|
43
|
-
"body": "_body_1a0v1_173"
|
|
2
|
+
"alert": "_alert_3aj69_1 _ds-alert_14b25_3",
|
|
3
|
+
"app": "_app_3aj69_1",
|
|
4
|
+
"sticky": "_sticky_3aj69_1",
|
|
5
|
+
"avatar": "_avatar_3aj69_1 _ds-avatar_14b25_1",
|
|
6
|
+
"badge": "_badge_3aj69_1",
|
|
7
|
+
"breadcrumbs": "_breadcrumbs_3aj69_1 _ds-breadcrumbs_14b25_5",
|
|
8
|
+
"button": "_button_3aj69_1 _ds-button_14b25_1",
|
|
9
|
+
"card": "_card_3aj69_1",
|
|
10
|
+
"group": "_group_3aj69_1",
|
|
11
|
+
"chip": "_chip_3aj69_1 _ds-chip_14b25_5",
|
|
12
|
+
"details": "_details_3aj69_1 _ds-details_14b25_3",
|
|
13
|
+
"dialog": "_dialog_3aj69_1 _ds-dialog_14b25_5",
|
|
14
|
+
"divider": "_divider_3aj69_1",
|
|
15
|
+
"errorsummary": "_errorsummary_3aj69_1 _ds-error-summary_14b25_5",
|
|
16
|
+
"field": "_field_3aj69_1 _ds-field_14b25_1",
|
|
17
|
+
"affixes": "_affixes_3aj69_1 _ds-field-affixes_14b25_3",
|
|
18
|
+
"fieldset": "_fieldset_3aj69_1 _ds-fieldset_14b25_3",
|
|
19
|
+
"helptext": "_helptext_3aj69_1 _ds-focus_14b25_1",
|
|
20
|
+
"input": "_input_3aj69_1 _ds-input_14b25_1",
|
|
21
|
+
"grid": "_grid_3aj69_1",
|
|
22
|
+
"flex": "_flex_3aj69_1",
|
|
23
|
+
"link": "_link_3aj69_1",
|
|
24
|
+
"logo": "_logo_3aj69_1",
|
|
25
|
+
"pagination": "_pagination_3aj69_1 _ds-pagination_14b25_5",
|
|
26
|
+
"popover": "_popover_3aj69_1",
|
|
27
|
+
"progress": "_progress_3aj69_1",
|
|
28
|
+
"skeleton": "_skeleton_3aj69_1 _ds-skeleton_14b25_5",
|
|
29
|
+
"spinner": "_spinner_3aj69_1",
|
|
30
|
+
"steps": "_steps_3aj69_1",
|
|
31
|
+
"table": "_table_3aj69_1 _ds-table_14b25_5",
|
|
32
|
+
"tabs": "_tabs_3aj69_1 _ds-tabs_14b25_5",
|
|
33
|
+
"tag": "_tag_3aj69_1 _ds-tag_14b25_5",
|
|
34
|
+
"toast": "_toast_3aj69_1",
|
|
35
|
+
"togglegroup": "_togglegroup_3aj69_1",
|
|
36
|
+
"heading": "_heading_3aj69_1 _ds-heading_14b25_1",
|
|
37
|
+
"ingress": "_ingress_3aj69_1",
|
|
38
|
+
"muted": "_muted_3aj69_1",
|
|
39
|
+
"info": "_info_3aj69_1",
|
|
40
|
+
"prose": "_prose_3aj69_1",
|
|
41
|
+
"validation": "_validation_3aj69_1 _ds-validation-message_14b25_1",
|
|
42
|
+
"body": "_body_3aj69_173"
|
|
44
43
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const _ = "
|
|
1
|
+
const _ = "_alert_3aj69_1 _ds-alert_14b25_3", t = "_app_3aj69_1", s = "_sticky_3aj69_1", a = "_avatar_3aj69_1 _ds-avatar_14b25_1", o = "_badge_3aj69_1", e = "_breadcrumbs_3aj69_1 _ds-breadcrumbs_14b25_5", n = "_button_3aj69_1 _ds-button_14b25_1", r = "_card_3aj69_1", i = "_group_3aj69_1", d = "_chip_3aj69_1 _ds-chip_14b25_5", c = "_details_3aj69_1 _ds-details_14b25_3", l = "_dialog_3aj69_1 _ds-dialog_14b25_5", j = "__drawer_3aj69_1", p = "_divider_3aj69_1", b = "_errorsummary_3aj69_1 _ds-error-summary_14b25_5", g = "__errorsummary_3aj69_1", u = "_field_3aj69_1 _ds-field_14b25_1", m = "__datalist_3aj69_1", f = "_affixes_3aj69_1 _ds-field-affixes_14b25_3", k = "_fieldset_3aj69_1 _ds-fieldset_14b25_3", h = "_helptext_3aj69_1 _ds-focus_14b25_1", v = "_input_3aj69_1 _ds-input_14b25_1", y = "_grid_3aj69_1", x = "_flex_3aj69_1", w = "_link_3aj69_1", C = "_logo_3aj69_1", M = "_pagination_3aj69_1 _ds-pagination_14b25_5", O = "_popover_3aj69_1", S = "_progress_3aj69_1", T = "__indeterminate_3aj69_1", q = "_skeleton_3aj69_1 _ds-skeleton_14b25_5", z = "__skeleton_3aj69_1", A = "_spinner_3aj69_1", B = "_steps_3aj69_1", D = "_table_3aj69_1 _ds-table_14b25_5", E = "__scrollShadow_3aj69_1", F = "_tabs_3aj69_1 _ds-tabs_14b25_5", G = "__scrollMask_3aj69_1", H = "_tag_3aj69_1 _ds-tag_14b25_5", I = "_toast_3aj69_1", J = "__toastClose_3aj69_1", K = "__toastOpen_3aj69_1", L = "__toastTimeout_3aj69_1", N = "_togglegroup_3aj69_1", P = "__tooltip_3aj69_1", Q = "_heading_3aj69_1 _ds-heading_14b25_1", R = "_ingress_3aj69_1", U = "_muted_3aj69_1", V = "_info_3aj69_1", W = "_prose_3aj69_1", X = "_validation_3aj69_1 _ds-validation-message_14b25_1", Y = "_body_3aj69_173", Z = "__checked_3aj69_1", $ = {
|
|
2
2
|
alert: _,
|
|
3
3
|
app: t,
|
|
4
|
-
sticky:
|
|
5
|
-
avatar:
|
|
4
|
+
sticky: s,
|
|
5
|
+
avatar: a,
|
|
6
6
|
badge: o,
|
|
7
7
|
breadcrumbs: e,
|
|
8
8
|
button: n,
|
|
@@ -11,7 +11,7 @@ const _ = "_alert_1a0v1_1 _ds-alert_14b25_3", t = "_app_1a0v1_1", a = "_sticky_1
|
|
|
11
11
|
chip: d,
|
|
12
12
|
details: c,
|
|
13
13
|
dialog: l,
|
|
14
|
-
_drawer:
|
|
14
|
+
_drawer: j,
|
|
15
15
|
divider: p,
|
|
16
16
|
errorsummary: b,
|
|
17
17
|
_errorsummary: g,
|
|
@@ -20,95 +20,93 @@ const _ = "_alert_1a0v1_1 _ds-alert_14b25_3", t = "_app_1a0v1_1", a = "_sticky_1
|
|
|
20
20
|
affixes: f,
|
|
21
21
|
fieldset: k,
|
|
22
22
|
helptext: h,
|
|
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
|
-
|
|
55
|
-
_checked: $
|
|
23
|
+
input: v,
|
|
24
|
+
grid: y,
|
|
25
|
+
flex: x,
|
|
26
|
+
link: w,
|
|
27
|
+
logo: C,
|
|
28
|
+
pagination: M,
|
|
29
|
+
popover: O,
|
|
30
|
+
progress: S,
|
|
31
|
+
_indeterminate: T,
|
|
32
|
+
skeleton: q,
|
|
33
|
+
_skeleton: z,
|
|
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
|
|
56
55
|
};
|
|
57
56
|
export {
|
|
58
|
-
|
|
57
|
+
Z as _checked,
|
|
59
58
|
m as _datalist,
|
|
60
|
-
|
|
59
|
+
j as _drawer,
|
|
61
60
|
g as _errorsummary,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
61
|
+
T as _indeterminate,
|
|
62
|
+
G as _scrollMask,
|
|
63
|
+
E as _scrollShadow,
|
|
64
|
+
z as _skeleton,
|
|
65
|
+
J as _toastClose,
|
|
66
|
+
K as _toastOpen,
|
|
67
|
+
L as _toastTimeout,
|
|
68
|
+
P as _tooltip,
|
|
70
69
|
f as affixes,
|
|
71
70
|
_ as alert,
|
|
72
71
|
t as app,
|
|
73
|
-
|
|
72
|
+
a as avatar,
|
|
74
73
|
o as badge,
|
|
75
|
-
|
|
74
|
+
Y as body,
|
|
76
75
|
e as breadcrumbs,
|
|
77
76
|
n as button,
|
|
78
77
|
r as card,
|
|
79
78
|
d as chip,
|
|
80
|
-
|
|
79
|
+
$ as default,
|
|
81
80
|
c as details,
|
|
82
81
|
l as dialog,
|
|
83
82
|
p as divider,
|
|
84
83
|
b as errorsummary,
|
|
85
84
|
u as field,
|
|
86
85
|
k as fieldset,
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
x as flex,
|
|
87
|
+
y as grid,
|
|
89
88
|
i as group,
|
|
90
|
-
|
|
89
|
+
Q as heading,
|
|
91
90
|
h as helptext,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
B as
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
I as
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
Y as validation
|
|
91
|
+
V as info,
|
|
92
|
+
R as ingress,
|
|
93
|
+
v as input,
|
|
94
|
+
w 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
|
+
q as skeleton,
|
|
102
|
+
A as spinner,
|
|
103
|
+
B as steps,
|
|
104
|
+
s 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
|
|
113
111
|
};
|
|
114
112
|
//# 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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mattilsynet/design",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./mtds/index.js",
|
|
6
6
|
"types": "./mtds/index.d.ts",
|
|
@@ -55,7 +55,6 @@
|
|
|
55
55
|
"@storybook/addon-themes": "^9.1.8",
|
|
56
56
|
"@storybook/react-vite": "^9.1.8",
|
|
57
57
|
"@tanstack/react-table": "^8.21.3",
|
|
58
|
-
"@types/leaflet": "^1.9.20",
|
|
59
58
|
"@types/node": "^24.6.0",
|
|
60
59
|
"@types/react": "^19.1.16",
|
|
61
60
|
"@types/react-dom": "^19.1.9",
|
|
@@ -72,13 +71,16 @@
|
|
|
72
71
|
},
|
|
73
72
|
"dependencies": {
|
|
74
73
|
"@floating-ui/dom": "^1.7.4",
|
|
74
|
+
"@types/leaflet": "^1.9.20",
|
|
75
|
+
"@types/leaflet.markercluster": "^1.5.6",
|
|
75
76
|
"@u-elements/u-combobox": "^1.0.1",
|
|
76
77
|
"@u-elements/u-datalist": "^1.0.14",
|
|
77
78
|
"@u-elements/u-details": "^0.1.5",
|
|
78
79
|
"@u-elements/u-progress": "^0.0.6",
|
|
79
80
|
"@u-elements/u-tabs": "^0.0.12",
|
|
80
81
|
"clsx": "^2.1.1",
|
|
81
|
-
"leaflet": "^1.9.4"
|
|
82
|
+
"leaflet": "^1.9.4",
|
|
83
|
+
"leaflet.markercluster": "^1.5.3"
|
|
82
84
|
},
|
|
83
85
|
"overrides": {
|
|
84
86
|
"ansi-regex": "^6.2.2",
|