@mattilsynet/design 3.1.18 → 3.2.0

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 (52) hide show
  1. package/mtds/atlas/atlas-element.js +2 -2
  2. package/mtds/atlas/atlas-element.js.map +1 -1
  3. package/mtds/atlas/atlas.css.js +9 -9
  4. package/mtds/atlas/atlas.css.js.map +1 -1
  5. package/mtds/atlas.iife.js +10 -10
  6. package/mtds/illustrations/barn-water.svg +1 -0
  7. package/mtds/illustrations/barn.svg +1 -0
  8. package/mtds/illustrations/bowl-food-stacked.svg +1 -0
  9. package/mtds/illustrations/bowl.svg +1 -0
  10. package/mtds/illustrations/fertilizer.svg +1 -0
  11. package/mtds/illustrations/flagg-eu.svg +1 -0
  12. package/mtds/illustrations/flask-lab.svg +1 -0
  13. package/mtds/illustrations/flowerpot.svg +1 -0
  14. package/mtds/illustrations/fork-sausage.svg +1 -0
  15. package/mtds/illustrations/glas.svg +1 -0
  16. package/mtds/illustrations/index.json +166 -0
  17. package/mtds/illustrations/leaf.svg +1 -0
  18. package/mtds/illustrations/parasite.svg +1 -0
  19. package/mtds/illustrations/person-ham.svg +1 -1
  20. package/mtds/illustrations/person-inspect-border.svg +1 -0
  21. package/mtds/illustrations/person-inspect-kitchen.svg +1 -0
  22. package/mtds/illustrations/person-inspect-meat.svg +1 -0
  23. package/mtds/illustrations/person-inspect-plants.svg +1 -0
  24. package/mtds/illustrations/person-lab-clipboard.svg +1 -0
  25. package/mtds/illustrations/person-lab-greet.svg +1 -0
  26. package/mtds/illustrations/person-meat.svg +1 -22
  27. package/mtds/illustrations/pitchfork-soil.svg +1 -0
  28. package/mtds/illustrations/plant-pot.svg +1 -0
  29. package/mtds/illustrations/sailboat-people.svg +1 -0
  30. package/mtds/illustrations/salami.svg +1 -0
  31. package/mtds/illustrations/sausage.svg +1 -0
  32. package/mtds/illustrations/seed-group.svg +1 -0
  33. package/mtds/illustrations/seed.svg +1 -0
  34. package/mtds/illustrations/shopping-basket.svg +1 -0
  35. package/mtds/illustrations/skinke.svg +1 -1
  36. package/mtds/illustrations/sprouts-soil.svg +1 -0
  37. package/mtds/illustrations/stove.svg +1 -0
  38. package/mtds/illustrations/supplement-group.svg +1 -1
  39. package/mtds/illustrations/supplement-jar.svg +1 -1
  40. package/mtds/illustrations/supplement-tube.svg +1 -1
  41. package/mtds/illustrations/test-tube-wide.svg +1 -0
  42. package/mtds/illustrations/test-tube.svg +1 -0
  43. package/mtds/illustrations/tractor-pesticides.svg +1 -0
  44. package/mtds/illustrations/turnip-meat.svg +1 -1
  45. package/mtds/illustrations/virus.svg +1 -0
  46. package/mtds/index.iife.js +31 -19
  47. package/mtds/package.json.js +1 -1
  48. package/mtds/steps/steps.stories.d.ts +1 -0
  49. package/mtds/styles.css +1 -1
  50. package/mtds/styles.json +45 -45
  51. package/mtds/styles.module.css.js +62 -62
  52. package/package.json +23 -22
package/mtds/styles.json CHANGED
@@ -1,47 +1,47 @@
1
1
  {
2
- "alert": "_alert_jc0nn_1 _ds-alert_c9r86_3",
3
- "app": "_app_jc0nn_1",
4
- "sticky": "_sticky_jc0nn_1",
5
- "avatar": "_avatar_jc0nn_1 _ds-avatar_c9r86_1",
6
- "badge": "_badge_jc0nn_1",
7
- "breadcrumbs": "_breadcrumbs_jc0nn_1 _ds-breadcrumbs_c9r86_5",
8
- "button": "_button_jc0nn_1 _ds-button_c9r86_1",
9
- "card": "_card_jc0nn_1",
10
- "group": "_group_jc0nn_1",
11
- "chip": "_chip_jc0nn_1 _ds-chip_c9r86_5",
12
- "details": "_details_jc0nn_1 _ds-details_c9r86_3",
13
- "dialog": "_dialog_jc0nn_1 _ds-dialog_c9r86_5",
14
- "divider": "_divider_jc0nn_1",
15
- "errorsummary": "_errorsummary_jc0nn_1 _ds-error-summary_c9r86_5",
16
- "field": "_field_jc0nn_1 _ds-field_c9r86_1",
17
- "suggestion": "_suggestion_jc0nn_1 _ds-suggestion_c9r86_5",
18
- "affixes": "_affixes_jc0nn_1 _ds-field-affixes_c9r86_3",
19
- "fieldset": "_fieldset_jc0nn_1 _ds-fieldset_c9r86_3",
20
- "fileupload": "_fileupload_jc0nn_1",
21
- "helptext": "_helptext_jc0nn_1 _ds-focus_c9r86_1",
22
- "input": "_input_jc0nn_1 _ds-input_c9r86_1",
23
- "law": "_law_jc0nn_1",
24
- "grid": "_grid_jc0nn_1",
25
- "flex": "_flex_jc0nn_1",
26
- "link": "_link_jc0nn_1",
27
- "logo": "_logo_jc0nn_1",
28
- "pagination": "_pagination_jc0nn_1 _ds-pagination_c9r86_5",
29
- "popover": "_popover_jc0nn_1 _ds-popover_c9r86_3",
30
- "print": "_print_jc0nn_1",
31
- "progress": "_progress_jc0nn_1",
32
- "skeleton": "_skeleton_jc0nn_1 _ds-skeleton_c9r86_5",
33
- "spinner": "_spinner_jc0nn_1",
34
- "steps": "_steps_jc0nn_1",
35
- "table": "_table_jc0nn_1 _ds-table_c9r86_5",
36
- "tabs": "_tabs_jc0nn_1 _ds-tabs_c9r86_5",
37
- "tag": "_tag_jc0nn_1 _ds-tag_c9r86_5",
38
- "toast": "_toast_jc0nn_1",
39
- "togglegroup": "_togglegroup_jc0nn_1 _ds-toggle-group_c9r86_5",
40
- "heading": "_heading_jc0nn_1 _ds-heading_c9r86_1",
41
- "ingress": "_ingress_jc0nn_1",
42
- "muted": "_muted_jc0nn_1",
43
- "info": "_info_jc0nn_1",
44
- "prose": "_prose_jc0nn_1",
45
- "validation": "_validation_jc0nn_1 _ds-validation-message_c9r86_1",
46
- "body": "_body_jc0nn_162"
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 _ = "_alert_jc0nn_1 _ds-alert_c9r86_3", n = "_app_jc0nn_1", t = "_sticky_jc0nn_1", s = "_avatar_jc0nn_1 _ds-avatar_c9r86_1", o = "_badge_jc0nn_1", c = "_breadcrumbs_jc0nn_1 _ds-breadcrumbs_c9r86_5", e = "_button_jc0nn_1 _ds-button_c9r86_1", a = "_card_jc0nn_1", r = "_group_jc0nn_1", i = "_chip_jc0nn_1 _ds-chip_c9r86_5", d = "_details_jc0nn_1 _ds-details_c9r86_3", l = "_dialog_jc0nn_1 _ds-dialog_c9r86_5", p = "__drawer_jc0nn_1", g = "_divider_jc0nn_1", j = "_errorsummary_jc0nn_1 _ds-error-summary_c9r86_5", u = "_field_jc0nn_1 _ds-field_c9r86_1", f = "_suggestion_jc0nn_1 _ds-suggestion_c9r86_5", b = "_affixes_jc0nn_1 _ds-field-affixes_c9r86_3", m = "_fieldset_jc0nn_1 _ds-fieldset_c9r86_3", k = "_fileupload_jc0nn_1", h = "_helptext_jc0nn_1 _ds-focus_c9r86_1", v = "_input_jc0nn_1 _ds-input_c9r86_1", x = "_law_jc0nn_1", y = "_grid_jc0nn_1", w = "_flex_jc0nn_1", C = "_link_jc0nn_1", M = "_logo_jc0nn_1", O = "__logo_jc0nn_1", S = "_pagination_jc0nn_1 _ds-pagination_c9r86_5", T = "_popover_jc0nn_1 _ds-popover_c9r86_3", q = "_print_jc0nn_1", z = "_progress_jc0nn_1", A = "__indeterminate_jc0nn_1", B = "_skeleton_jc0nn_1 _ds-skeleton_c9r86_5", D = "__skeleton_jc0nn_1", E = "_spinner_jc0nn_1", F = "_steps_jc0nn_1", G = "_table_jc0nn_1 _ds-table_c9r86_5", H = "__scrollShadow_jc0nn_1", I = "_tabs_jc0nn_1 _ds-tabs_c9r86_5", J = "__scrollMask_jc0nn_1", K = "_tag_jc0nn_1 _ds-tag_c9r86_5", L = "_toast_jc0nn_1", N = "__toastClose_jc0nn_1", P = "__toastOpen_jc0nn_1", Q = "__toastTimeout_jc0nn_1", R = "_togglegroup_jc0nn_1 _ds-toggle-group_c9r86_5", U = "__tooltip_jc0nn_1 _ds-tooltip_c9r86_5", V = "_heading_jc0nn_1 _ds-heading_c9r86_1", W = "_ingress_jc0nn_1", X = "_muted_jc0nn_1", Y = "_info_jc0nn_1", Z = "_prose_jc0nn_1", $ = "_validation_jc0nn_1 _ds-validation-message_c9r86_1", __ = "_body_jc0nn_162", n_ = "__checked_jc0nn_1", t_ = {
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: n,
4
- sticky: t,
5
- avatar: s,
6
- badge: o,
7
- breadcrumbs: c,
8
- button: e,
3
+ app: t,
4
+ sticky: s,
5
+ avatar: o,
6
+ badge: c,
7
+ breadcrumbs: e,
8
+ button: n,
9
9
  card: a,
10
- group: r,
11
- chip: i,
12
- details: d,
13
- dialog: l,
14
- _drawer: p,
10
+ group: i,
11
+ chip: d,
12
+ details: p,
13
+ dialog: r,
14
+ _drawer: l,
15
15
  divider: g,
16
- errorsummary: j,
17
- field: u,
18
- suggestion: f,
19
- affixes: b,
20
- fieldset: m,
21
- fileupload: k,
22
- helptext: h,
23
- input: v,
24
- law: x,
25
- grid: y,
26
- flex: w,
27
- link: C,
28
- logo: M,
29
- _logo: O,
30
- pagination: S,
31
- popover: T,
32
- print: q,
33
- progress: z,
16
+ errorsummary: q,
17
+ field: z,
18
+ suggestion: v,
19
+ affixes: u,
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_jc0nn_1 _ds-alert_c9r86_3", n = "_app_jc0nn_1", t = "_sticky_j
54
54
  prose: Z,
55
55
  validation: $,
56
56
  body: __,
57
- _checked: n_
57
+ _checked: t_
58
58
  };
59
59
  export {
60
- n_ as _checked,
61
- p as _drawer,
60
+ t_ as _checked,
61
+ l as _drawer,
62
62
  A as _indeterminate,
63
- O as _logo,
63
+ M as _logo,
64
64
  J as _scrollMask,
65
65
  H as _scrollShadow,
66
66
  D as _skeleton,
@@ -68,46 +68,46 @@ export {
68
68
  P as _toastOpen,
69
69
  Q as _toastTimeout,
70
70
  U as _tooltip,
71
- b as affixes,
71
+ u as affixes,
72
72
  _ as alert,
73
- n as app,
74
- s as avatar,
75
- o as badge,
73
+ t as app,
74
+ o as avatar,
75
+ c as badge,
76
76
  __ as body,
77
- c as breadcrumbs,
78
- e as button,
77
+ e as breadcrumbs,
78
+ n as button,
79
79
  a as card,
80
- i as chip,
81
- t_ as default,
82
- d as details,
83
- l as dialog,
80
+ d as chip,
81
+ s_ as default,
82
+ p as details,
83
+ r as dialog,
84
84
  g as divider,
85
- j as errorsummary,
86
- u as field,
87
- m as fieldset,
88
- k as fileupload,
89
- w as flex,
90
- y as grid,
91
- r as group,
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
- h as helptext,
93
+ f as helptext,
94
94
  Y as info,
95
95
  W as ingress,
96
- v as input,
97
- x as law,
98
- C as link,
99
- M as logo,
96
+ b as input,
97
+ m as law,
98
+ x as link,
99
+ C as logo,
100
100
  X as muted,
101
- S as pagination,
102
- T as popover,
103
- q as print,
104
- z as progress,
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
- t as sticky,
110
- f as suggestion,
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.18",
3
+ "version": "3.2.0",
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.8",
58
- "@digdir/designsystemet-css": "^1.13.0",
59
- "@digdir/designsystemet-types": "^1.13.0",
57
+ "@biomejs/biome": "2.4.13",
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.3",
64
- "@storybook/addon-themes": "^10.3.3",
65
- "@storybook/react-vite": "^10.3.3",
63
+ "@storybook/addon-docs": "^10.3.5",
64
+ "@storybook/addon-themes": "^10.3.5",
65
+ "@storybook/react-vite": "^10.3.5",
66
66
  "@tanstack/react-table": "^8.21.3",
67
- "@turf/boolean-point-in-polygon": "^7.3.4",
68
- "@turf/helpers": "^7.3.4",
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.5.0",
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.8",
78
+ "postcss": "^8.5.10",
79
79
  "postcss-nesting": "^14.0.0",
80
- "react": "^19.2.4",
81
- "react-dom": "^19.2.4",
80
+ "react": "^19.2.5",
81
+ "react-dom": "^19.2.5",
82
82
  "react-moveable": "^0.56.0",
83
- "storybook": "^10.3.3",
84
- "typescript": "^6.0.2",
85
- "vite": "^7.3.1",
83
+ "storybook": "^10.3.5",
84
+ "typescript": "^6.0.3",
85
+ "vite": "^7.3.2",
86
86
  "vite-plugin-dts": "^4.5.4"
87
87
  },
88
88
  "dependencies": {
89
- "@digdir/designsystemet-web": "^1.13.0",
90
- "@u-elements/u-combobox": "^1.0.7",
91
- "@u-elements/u-datalist": "^1.1.0",
92
- "@u-elements/u-details": "^0.2.2",
93
- "@u-elements/u-progress": "^0.0.7",
94
- "@u-elements/u-tabs": "^0.1.2",
89
+ "@digdir/designsystemet-web": "^1.13.3",
90
+ "@u-elements/u-combobox": "^2.0.2",
91
+ "@u-elements/u-datalist": "^2.0.0",
92
+ "@u-elements/u-details": "^1.0.0",
93
+ "@u-elements/u-progress": "1.0.1",
94
+ "@u-elements/u-tabs": "^1.0.1",
95
95
  "clsx": "^2.1.1"
96
96
  },
97
97
  "overrides": {
@@ -100,6 +100,7 @@
100
100
  "ansi-styles": "^6.2.3",
101
101
  "chalk": "^5.6.2",
102
102
  "debug": "^4.4.3",
103
+ "lodash": "^4.18.1",
103
104
  "minimatch": "^10.2.2",
104
105
  "strip-ansi": "^7.1.2",
105
106
  "supports-color": "^10.2.2",