@mattilsynet/design 3.1.19 → 3.2.1
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/atlas/atlas-element.js +1 -1
- package/mtds/atlas/atlas-element.js.map +1 -1
- package/mtds/atlas/cluster.js.map +1 -1
- package/mtds/illustrations/barn-water.svg +1 -0
- package/mtds/illustrations/barn.svg +1 -0
- package/mtds/illustrations/bowl-food-stacked.svg +1 -0
- package/mtds/illustrations/bowl.svg +1 -0
- package/mtds/illustrations/debatt.svg +26 -1
- package/mtds/illustrations/fertilizer.svg +1 -0
- package/mtds/illustrations/flagg-eu.svg +1 -0
- package/mtds/illustrations/flask-lab.svg +1 -0
- package/mtds/illustrations/flowerpot.svg +1 -0
- package/mtds/illustrations/fork-sausage.svg +1 -0
- package/mtds/illustrations/glas.svg +1 -0
- package/mtds/illustrations/index.json +166 -0
- package/mtds/illustrations/leaf.svg +1 -0
- package/mtds/illustrations/parasite.svg +1 -0
- package/mtds/illustrations/person-ham.svg +1 -1
- package/mtds/illustrations/person-inspect-border.svg +1 -0
- package/mtds/illustrations/person-inspect-kitchen.svg +1 -0
- package/mtds/illustrations/person-inspect-meat.svg +1 -0
- package/mtds/illustrations/person-inspect-plants.svg +1 -0
- package/mtds/illustrations/person-lab-clipboard.svg +1 -0
- package/mtds/illustrations/person-lab-greet.svg +1 -0
- package/mtds/illustrations/person-meat.svg +1 -22
- package/mtds/illustrations/person-pear.svg +1 -2
- package/mtds/illustrations/pitchfork-soil.svg +1 -0
- package/mtds/illustrations/plant-pot.svg +1 -0
- package/mtds/illustrations/sailboat-people.svg +1 -0
- package/mtds/illustrations/salami.svg +1 -0
- package/mtds/illustrations/sausage.svg +1 -0
- package/mtds/illustrations/seed-group.svg +1 -0
- package/mtds/illustrations/seed.svg +1 -0
- package/mtds/illustrations/shopping-basket.svg +1 -0
- package/mtds/illustrations/skinke.svg +1 -1
- package/mtds/illustrations/sprouts-soil.svg +1 -0
- package/mtds/illustrations/stove.svg +1 -0
- package/mtds/illustrations/supplement-group.svg +1 -1
- package/mtds/illustrations/supplement-jar.svg +1 -1
- package/mtds/illustrations/supplement-tube.svg +1 -1
- package/mtds/illustrations/test-tube-wide.svg +1 -0
- package/mtds/illustrations/test-tube.svg +1 -0
- package/mtds/illustrations/tractor-pesticides.svg +1 -0
- package/mtds/illustrations/turnip-meat.svg +1 -1
- package/mtds/illustrations/virus.svg +1 -0
- package/mtds/index.iife.js +31 -19
- package/mtds/package.json.js +1 -1
- package/mtds/steps/steps.d.ts +2 -0
- package/mtds/steps/steps.js.map +1 -1
- package/mtds/steps/steps.stories.d.ts +1 -0
- package/mtds/styles.css +1 -1
- package/mtds/styles.json +45 -45
- package/mtds/styles.module.css.js +60 -60
- package/package.json +19 -19
package/mtds/styles.json
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
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
|
-
"suggestion": "
|
|
18
|
-
"affixes": "
|
|
19
|
-
"fieldset": "
|
|
20
|
-
"fileupload": "
|
|
21
|
-
"helptext": "
|
|
22
|
-
"input": "
|
|
23
|
-
"law": "
|
|
24
|
-
"grid": "
|
|
25
|
-
"flex": "
|
|
26
|
-
"link": "
|
|
27
|
-
"logo": "
|
|
28
|
-
"pagination": "
|
|
29
|
-
"popover": "
|
|
30
|
-
"print": "
|
|
31
|
-
"progress": "
|
|
32
|
-
"skeleton": "
|
|
33
|
-
"spinner": "
|
|
34
|
-
"steps": "
|
|
35
|
-
"table": "
|
|
36
|
-
"tabs": "
|
|
37
|
-
"tag": "
|
|
38
|
-
"toast": "
|
|
39
|
-
"togglegroup": "
|
|
40
|
-
"heading": "
|
|
41
|
-
"ingress": "
|
|
42
|
-
"muted": "
|
|
43
|
-
"info": "
|
|
44
|
-
"prose": "
|
|
45
|
-
"validation": "
|
|
46
|
-
"body": "
|
|
2
|
+
"alert": "_alert_14zqc_1 _ds-alert_w6yvp_3",
|
|
3
|
+
"app": "_app_14zqc_1",
|
|
4
|
+
"sticky": "_sticky_14zqc_1",
|
|
5
|
+
"avatar": "_avatar_14zqc_1 _ds-avatar_w6yvp_1",
|
|
6
|
+
"badge": "_badge_14zqc_1",
|
|
7
|
+
"breadcrumbs": "_breadcrumbs_14zqc_1 _ds-breadcrumbs_w6yvp_5",
|
|
8
|
+
"button": "_button_14zqc_1 _ds-button_w6yvp_1",
|
|
9
|
+
"card": "_card_14zqc_1",
|
|
10
|
+
"group": "_group_14zqc_1",
|
|
11
|
+
"chip": "_chip_14zqc_1 _ds-chip_w6yvp_5",
|
|
12
|
+
"details": "_details_14zqc_1 _ds-details_w6yvp_3",
|
|
13
|
+
"dialog": "_dialog_14zqc_1 _ds-dialog_w6yvp_5",
|
|
14
|
+
"divider": "_divider_14zqc_1",
|
|
15
|
+
"errorsummary": "_errorsummary_14zqc_1 _ds-error-summary_w6yvp_5",
|
|
16
|
+
"field": "_field_14zqc_1 _ds-field_w6yvp_1",
|
|
17
|
+
"suggestion": "_suggestion_14zqc_1 _ds-suggestion_w6yvp_5",
|
|
18
|
+
"affixes": "_affixes_14zqc_1 _ds-field-affixes_w6yvp_3",
|
|
19
|
+
"fieldset": "_fieldset_14zqc_1 _ds-fieldset_w6yvp_3",
|
|
20
|
+
"fileupload": "_fileupload_14zqc_1",
|
|
21
|
+
"helptext": "_helptext_14zqc_1 _ds-focus_w6yvp_1",
|
|
22
|
+
"input": "_input_14zqc_1 _ds-input_w6yvp_1",
|
|
23
|
+
"law": "_law_14zqc_1",
|
|
24
|
+
"grid": "_grid_14zqc_1",
|
|
25
|
+
"flex": "_flex_14zqc_1",
|
|
26
|
+
"link": "_link_14zqc_1",
|
|
27
|
+
"logo": "_logo_14zqc_1",
|
|
28
|
+
"pagination": "_pagination_14zqc_1 _ds-pagination_w6yvp_5",
|
|
29
|
+
"popover": "_popover_14zqc_1 _ds-popover_w6yvp_3",
|
|
30
|
+
"print": "_print_14zqc_1",
|
|
31
|
+
"progress": "_progress_14zqc_1",
|
|
32
|
+
"skeleton": "_skeleton_14zqc_1 _ds-skeleton_w6yvp_5",
|
|
33
|
+
"spinner": "_spinner_14zqc_1",
|
|
34
|
+
"steps": "_steps_14zqc_1",
|
|
35
|
+
"table": "_table_14zqc_1 _ds-table_w6yvp_5",
|
|
36
|
+
"tabs": "_tabs_14zqc_1 _ds-tabs_w6yvp_5",
|
|
37
|
+
"tag": "_tag_14zqc_1 _ds-tag_w6yvp_5",
|
|
38
|
+
"toast": "_toast_14zqc_1",
|
|
39
|
+
"togglegroup": "_togglegroup_14zqc_1 _ds-toggle-group_w6yvp_5",
|
|
40
|
+
"heading": "_heading_14zqc_1 _ds-heading_w6yvp_1",
|
|
41
|
+
"ingress": "_ingress_14zqc_1",
|
|
42
|
+
"muted": "_muted_14zqc_1",
|
|
43
|
+
"info": "_info_14zqc_1",
|
|
44
|
+
"prose": "_prose_14zqc_1",
|
|
45
|
+
"validation": "_validation_14zqc_1 _ds-validation-message_w6yvp_1",
|
|
46
|
+
"body": "_body_14zqc_162"
|
|
47
47
|
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
const _ = "
|
|
1
|
+
const _ = "_alert_14zqc_1 _ds-alert_w6yvp_3", t = "_app_14zqc_1", s = "_sticky_14zqc_1", o = "_avatar_14zqc_1 _ds-avatar_w6yvp_1", c = "_badge_14zqc_1", e = "_breadcrumbs_14zqc_1 _ds-breadcrumbs_w6yvp_5", n = "_button_14zqc_1 _ds-button_w6yvp_1", a = "_card_14zqc_1", i = "_group_14zqc_1", d = "_chip_14zqc_1 _ds-chip_w6yvp_5", p = "_details_14zqc_1 _ds-details_w6yvp_3", r = "_dialog_14zqc_1 _ds-dialog_w6yvp_5", l = "__drawer_14zqc_1", g = "_divider_14zqc_1", q = "_errorsummary_14zqc_1 _ds-error-summary_w6yvp_5", z = "_field_14zqc_1 _ds-field_w6yvp_1", v = "_suggestion_14zqc_1 _ds-suggestion_w6yvp_5", u = "_affixes_14zqc_1 _ds-field-affixes_w6yvp_3", y = "_fieldset_14zqc_1 _ds-fieldset_w6yvp_3", w = "_fileupload_14zqc_1", f = "_helptext_14zqc_1 _ds-focus_w6yvp_1", b = "_input_14zqc_1 _ds-input_w6yvp_1", m = "_law_14zqc_1", k = "_grid_14zqc_1", h = "_flex_14zqc_1", x = "_link_14zqc_1", C = "_logo_14zqc_1", M = "__logo_14zqc_1", O = "_pagination_14zqc_1 _ds-pagination_w6yvp_5", S = "_popover_14zqc_1 _ds-popover_w6yvp_3", T = "_print_14zqc_1", j = "_progress_14zqc_1", A = "__indeterminate_14zqc_1", B = "_skeleton_14zqc_1 _ds-skeleton_w6yvp_5", D = "__skeleton_14zqc_1", E = "_spinner_14zqc_1", F = "_steps_14zqc_1", G = "_table_14zqc_1 _ds-table_w6yvp_5", H = "__scrollShadow_14zqc_1", I = "_tabs_14zqc_1 _ds-tabs_w6yvp_5", J = "__scrollMask_14zqc_1", K = "_tag_14zqc_1 _ds-tag_w6yvp_5", L = "_toast_14zqc_1", N = "__toastClose_14zqc_1", P = "__toastOpen_14zqc_1", Q = "__toastTimeout_14zqc_1", R = "_togglegroup_14zqc_1 _ds-toggle-group_w6yvp_5", U = "__tooltip_14zqc_1 _ds-tooltip_w6yvp_5", V = "_heading_14zqc_1 _ds-heading_w6yvp_1", W = "_ingress_14zqc_1", X = "_muted_14zqc_1", Y = "_info_14zqc_1", Z = "_prose_14zqc_1", $ = "_validation_14zqc_1 _ds-validation-message_w6yvp_1", __ = "_body_14zqc_162", t_ = "__checked_14zqc_1", s_ = {
|
|
2
2
|
alert: _,
|
|
3
|
-
app:
|
|
4
|
-
sticky:
|
|
5
|
-
avatar:
|
|
6
|
-
badge:
|
|
3
|
+
app: t,
|
|
4
|
+
sticky: s,
|
|
5
|
+
avatar: o,
|
|
6
|
+
badge: c,
|
|
7
7
|
breadcrumbs: e,
|
|
8
8
|
button: n,
|
|
9
|
-
card:
|
|
10
|
-
group:
|
|
11
|
-
chip:
|
|
12
|
-
details:
|
|
13
|
-
dialog:
|
|
14
|
-
_drawer:
|
|
15
|
-
divider:
|
|
16
|
-
errorsummary:
|
|
17
|
-
field:
|
|
18
|
-
suggestion:
|
|
9
|
+
card: a,
|
|
10
|
+
group: i,
|
|
11
|
+
chip: d,
|
|
12
|
+
details: p,
|
|
13
|
+
dialog: r,
|
|
14
|
+
_drawer: l,
|
|
15
|
+
divider: g,
|
|
16
|
+
errorsummary: q,
|
|
17
|
+
field: z,
|
|
18
|
+
suggestion: v,
|
|
19
19
|
affixes: u,
|
|
20
|
-
fieldset:
|
|
21
|
-
fileupload:
|
|
22
|
-
helptext:
|
|
23
|
-
input:
|
|
24
|
-
law:
|
|
25
|
-
grid:
|
|
26
|
-
flex:
|
|
27
|
-
link:
|
|
28
|
-
logo:
|
|
29
|
-
_logo:
|
|
30
|
-
pagination:
|
|
31
|
-
popover:
|
|
32
|
-
print:
|
|
33
|
-
progress:
|
|
20
|
+
fieldset: y,
|
|
21
|
+
fileupload: w,
|
|
22
|
+
helptext: f,
|
|
23
|
+
input: b,
|
|
24
|
+
law: m,
|
|
25
|
+
grid: k,
|
|
26
|
+
flex: h,
|
|
27
|
+
link: x,
|
|
28
|
+
logo: C,
|
|
29
|
+
_logo: M,
|
|
30
|
+
pagination: O,
|
|
31
|
+
popover: S,
|
|
32
|
+
print: T,
|
|
33
|
+
progress: j,
|
|
34
34
|
_indeterminate: A,
|
|
35
35
|
skeleton: B,
|
|
36
36
|
_skeleton: D,
|
|
@@ -54,13 +54,13 @@ const _ = "_alert_1gd8q_1 _ds-alert_1hobb_3", o = "_app_1gd8q_1", t = "_sticky_1
|
|
|
54
54
|
prose: Z,
|
|
55
55
|
validation: $,
|
|
56
56
|
body: __,
|
|
57
|
-
_checked:
|
|
57
|
+
_checked: t_
|
|
58
58
|
};
|
|
59
59
|
export {
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
t_ as _checked,
|
|
61
|
+
l as _drawer,
|
|
62
62
|
A as _indeterminate,
|
|
63
|
-
|
|
63
|
+
M as _logo,
|
|
64
64
|
J as _scrollMask,
|
|
65
65
|
H as _scrollShadow,
|
|
66
66
|
D as _skeleton,
|
|
@@ -70,44 +70,44 @@ export {
|
|
|
70
70
|
U as _tooltip,
|
|
71
71
|
u as affixes,
|
|
72
72
|
_ as alert,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
t as app,
|
|
74
|
+
o as avatar,
|
|
75
|
+
c as badge,
|
|
76
76
|
__ as body,
|
|
77
77
|
e as breadcrumbs,
|
|
78
78
|
n as button,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
79
|
+
a as card,
|
|
80
|
+
d as chip,
|
|
81
|
+
s_ as default,
|
|
82
|
+
p as details,
|
|
83
|
+
r as dialog,
|
|
84
|
+
g as divider,
|
|
85
|
+
q as errorsummary,
|
|
86
|
+
z as field,
|
|
87
|
+
y as fieldset,
|
|
88
|
+
w as fileupload,
|
|
89
|
+
h as flex,
|
|
90
|
+
k as grid,
|
|
91
|
+
i as group,
|
|
92
92
|
V as heading,
|
|
93
|
-
|
|
93
|
+
f as helptext,
|
|
94
94
|
Y as info,
|
|
95
95
|
W as ingress,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
96
|
+
b as input,
|
|
97
|
+
m as law,
|
|
98
|
+
x as link,
|
|
99
|
+
C as logo,
|
|
100
100
|
X as muted,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
101
|
+
O as pagination,
|
|
102
|
+
S as popover,
|
|
103
|
+
T as print,
|
|
104
|
+
j as progress,
|
|
105
105
|
Z as prose,
|
|
106
106
|
B as skeleton,
|
|
107
107
|
E as spinner,
|
|
108
108
|
F as steps,
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
s as sticky,
|
|
110
|
+
v as suggestion,
|
|
111
111
|
G as table,
|
|
112
112
|
I as tabs,
|
|
113
113
|
K as tag,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mattilsynet/design",
|
|
3
|
-
"version": "3.1
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -54,44 +54,44 @@
|
|
|
54
54
|
"storybook:build": "npm run build && storybook build"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@biomejs/biome": "2.4.
|
|
58
|
-
"@digdir/designsystemet-css": "^1.13.
|
|
59
|
-
"@digdir/designsystemet-types": "^1.13.
|
|
57
|
+
"@biomejs/biome": "2.4.14",
|
|
58
|
+
"@digdir/designsystemet-css": "^1.13.3",
|
|
59
|
+
"@digdir/designsystemet-types": "^1.13.3",
|
|
60
60
|
"@handsontable/react-wrapper": "17.0.1",
|
|
61
61
|
"@phosphor-icons/core": "^2.1.1",
|
|
62
62
|
"@phosphor-icons/react": "^2.1.10",
|
|
63
|
-
"@storybook/addon-docs": "^10.3.
|
|
64
|
-
"@storybook/addon-themes": "^10.3.
|
|
65
|
-
"@storybook/react-vite": "^10.3.
|
|
63
|
+
"@storybook/addon-docs": "^10.3.6",
|
|
64
|
+
"@storybook/addon-themes": "^10.3.6",
|
|
65
|
+
"@storybook/react-vite": "^10.3.6",
|
|
66
66
|
"@tanstack/react-table": "^8.21.3",
|
|
67
|
-
"@turf/boolean-point-in-polygon": "^7.3.
|
|
68
|
-
"@turf/helpers": "^7.3.
|
|
67
|
+
"@turf/boolean-point-in-polygon": "^7.3.5",
|
|
68
|
+
"@turf/helpers": "^7.3.5",
|
|
69
69
|
"@types/leaflet": "^1.9.21",
|
|
70
70
|
"@types/leaflet.markercluster": "^1.5.6",
|
|
71
|
-
"@types/node": "^25.
|
|
71
|
+
"@types/node": "^25.6.0",
|
|
72
72
|
"@types/react": "^19.2.14",
|
|
73
73
|
"@types/react-dom": "^19.2.3",
|
|
74
74
|
"@vitejs/plugin-react": "^5.2.0",
|
|
75
75
|
"fast-glob": "^3.3.3",
|
|
76
76
|
"handsontable": "17.0.1",
|
|
77
77
|
"leaflet": "^2.0.0-alpha.1",
|
|
78
|
-
"postcss": "^8.5.
|
|
78
|
+
"postcss": "^8.5.13",
|
|
79
79
|
"postcss-nesting": "^14.0.0",
|
|
80
80
|
"react": "^19.2.5",
|
|
81
81
|
"react-dom": "^19.2.5",
|
|
82
82
|
"react-moveable": "^0.56.0",
|
|
83
|
-
"storybook": "^10.3.
|
|
84
|
-
"typescript": "^6.0.
|
|
83
|
+
"storybook": "^10.3.6",
|
|
84
|
+
"typescript": "^6.0.3",
|
|
85
85
|
"vite": "^7.3.2",
|
|
86
86
|
"vite-plugin-dts": "^4.5.4"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@digdir/designsystemet-web": "^1.13.
|
|
90
|
-
"@u-elements/u-combobox": "^
|
|
91
|
-
"@u-elements/u-datalist": "^
|
|
92
|
-
"@u-elements/u-details": "^0.
|
|
93
|
-
"@u-elements/u-progress": "
|
|
94
|
-
"@u-elements/u-tabs": "^0.
|
|
89
|
+
"@digdir/designsystemet-web": "^1.13.3",
|
|
90
|
+
"@u-elements/u-combobox": "^2.0.4",
|
|
91
|
+
"@u-elements/u-datalist": "^2.0.1",
|
|
92
|
+
"@u-elements/u-details": "^1.0.0",
|
|
93
|
+
"@u-elements/u-progress": "1.0.1",
|
|
94
|
+
"@u-elements/u-tabs": "^1.0.3",
|
|
95
95
|
"clsx": "^2.1.1"
|
|
96
96
|
},
|
|
97
97
|
"overrides": {
|