@mattilsynet/design 1.3.0 → 1.3.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/alert/alert.stories.d.ts +2 -2
- package/mtds/app/app-observer.js +1 -1
- package/mtds/app/app-toggle.js +26 -14
- package/mtds/app/app-toggle.js.map +1 -1
- package/mtds/app/app-toggle2.js +14 -26
- package/mtds/app/app-toggle2.js.map +1 -1
- package/mtds/app/app.js +1 -1
- package/mtds/app/app.stories.d.ts +2 -2
- package/mtds/avatar/avatar.stories.d.ts +2 -2
- package/mtds/badge/badge.stories.d.ts +2 -2
- package/mtds/breadcrumbs/breadcrumbs.stories.d.ts +2 -2
- package/mtds/button/button.stories.d.ts +2 -2
- package/mtds/card/card.stories.d.ts +2 -2
- package/mtds/chip/chip.stories.d.ts +2 -2
- package/mtds/details/details.stories.d.ts +1 -1
- package/mtds/dialog/dialog.stories.d.ts +1 -1
- package/mtds/divider/divider.stories.d.ts +1 -1
- package/mtds/errorsummary/errorsummary.stories.d.ts +2 -2
- package/mtds/external/@u-elements/u-combobox/dist/u-combobox.js +151 -152
- package/mtds/external/@u-elements/u-combobox/dist/u-combobox.js.map +1 -1
- package/mtds/external/@u-elements/u-datalist/dist/u-datalist.js +55 -57
- package/mtds/external/@u-elements/u-datalist/dist/u-datalist.js.map +1 -1
- package/mtds/field/field-observer.js +22 -22
- package/mtds/field/field-observer.js.map +1 -1
- package/mtds/field/field.js +4 -3
- package/mtds/field/field.js.map +1 -1
- package/mtds/field/field.stories.d.ts +3 -2
- package/mtds/fieldset/fieldset-observer.js +20 -15
- package/mtds/fieldset/fieldset-observer.js.map +1 -1
- package/mtds/fieldset/fieldset.stories.d.ts +1 -1
- package/mtds/helptext/helptext.stories.d.ts +1 -1
- package/mtds/index.d.ts +1 -0
- package/mtds/index.iife.js +8 -7
- package/mtds/input/input.stories.d.ts +2 -2
- package/mtds/layout/layout.stories.d.ts +2 -2
- package/mtds/link/link.stories.d.ts +1 -1
- package/mtds/logo/logo.stories.d.ts +2 -2
- package/mtds/package.json.js +1 -1
- package/mtds/pagination/pagination.stories.d.ts +1 -1
- package/mtds/popover/popover.stories.d.ts +1 -1
- package/mtds/progress/progress.stories.d.ts +2 -2
- package/mtds/react.d.ts +2 -1
- package/mtds/react.js +48 -46
- package/mtds/react.js.map +1 -1
- package/mtds/skeleton/skeleton.stories.d.ts +1 -1
- package/mtds/spinner/spinner.stories.d.ts +2 -2
- package/mtds/steps/steps-observer.d.ts +1 -0
- package/mtds/steps/steps.d.ts +9 -0
- package/mtds/steps/steps.js +11 -0
- package/mtds/steps/steps.js.map +1 -0
- package/mtds/steps/steps.stories.d.ts +22 -0
- package/mtds/styles.css +1 -1
- package/mtds/styles.json +40 -39
- package/mtds/styles.module.css.js +40 -38
- package/mtds/styles.module.css.js.map +1 -1
- package/mtds/table/table.stories.d.ts +2 -2
- package/mtds/tabs/tabs.stories.d.ts +3 -1
- package/mtds/tag/tag.stories.d.ts +2 -2
- package/mtds/togglegroup/togglegroup.stories.d.ts +1 -1
- package/mtds/tooltip/tooltip.stories.d.ts +2 -2
- package/mtds/typography/typography.d.ts +1 -0
- package/mtds/typography/typography.js.map +1 -1
- package/mtds/typography/typography.stories.d.ts +2 -2
- package/mtds/validation/validation.stories.d.ts +1 -1
- package/package.json +10 -14
- /package/mtds/illustrations/{illustrations.json → index.json} +0 -0
package/mtds/styles.json
CHANGED
|
@@ -1,41 +1,42 @@
|
|
|
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
|
-
"heading": "
|
|
20
|
-
"ingress": "
|
|
21
|
-
"muted": "
|
|
22
|
-
"info": "
|
|
23
|
-
"prose": "
|
|
24
|
-
"helptext": "
|
|
25
|
-
"input": "
|
|
26
|
-
"grid": "
|
|
27
|
-
"flex": "
|
|
28
|
-
"link": "
|
|
29
|
-
"logo": "
|
|
30
|
-
"pagination": "
|
|
31
|
-
"popover": "
|
|
32
|
-
"progress": "
|
|
33
|
-
"skeleton": "
|
|
34
|
-
"spinner": "
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
2
|
+
"alert": "_alert_ip922_1 _ds-alert_1efle_1",
|
|
3
|
+
"app": "_app_ip922_1",
|
|
4
|
+
"sticky": "_sticky_ip922_1",
|
|
5
|
+
"avatar": "_avatar_ip922_1 _ds-avatar_1efle_1",
|
|
6
|
+
"badge": "_badge_ip922_1",
|
|
7
|
+
"breadcrumbs": "_breadcrumbs_ip922_1 _ds-breadcrumbs_1efle_1",
|
|
8
|
+
"button": "_button_ip922_1 _ds-button_1efle_1",
|
|
9
|
+
"card": "_card_ip922_1",
|
|
10
|
+
"group": "_group_ip922_1",
|
|
11
|
+
"chip": "_chip_ip922_1 _ds-chip_1efle_1",
|
|
12
|
+
"details": "_details_ip922_1 _ds-details_1efle_1",
|
|
13
|
+
"dialog": "_dialog_ip922_1 _ds-dialog_1efle_1",
|
|
14
|
+
"divider": "_divider_ip922_1",
|
|
15
|
+
"errorsummary": "_errorsummary_ip922_1 _ds-error-summary_1efle_1",
|
|
16
|
+
"field": "_field_ip922_1 _ds-field_1efle_1",
|
|
17
|
+
"affixes": "_affixes_ip922_1 _ds-field-affixes_1efle_1",
|
|
18
|
+
"fieldset": "_fieldset_ip922_1 _ds-fieldset_1efle_1",
|
|
19
|
+
"heading": "_heading_ip922_1 _ds-heading_1efle_1",
|
|
20
|
+
"ingress": "_ingress_ip922_1",
|
|
21
|
+
"muted": "_muted_ip922_1",
|
|
22
|
+
"info": "_info_ip922_1",
|
|
23
|
+
"prose": "_prose_ip922_1",
|
|
24
|
+
"helptext": "_helptext_ip922_1 _ds-focus_1efle_1",
|
|
25
|
+
"input": "_input_ip922_1 _ds-input_1efle_1",
|
|
26
|
+
"grid": "_grid_ip922_1",
|
|
27
|
+
"flex": "_flex_ip922_1",
|
|
28
|
+
"link": "_link_ip922_1",
|
|
29
|
+
"logo": "_logo_ip922_1",
|
|
30
|
+
"pagination": "_pagination_ip922_1 _ds-pagination_1efle_1",
|
|
31
|
+
"popover": "_popover_ip922_1",
|
|
32
|
+
"progress": "_progress_ip922_1",
|
|
33
|
+
"skeleton": "_skeleton_ip922_1 _ds-skeleton_1efle_1",
|
|
34
|
+
"spinner": "_spinner_ip922_1",
|
|
35
|
+
"steps": "_steps_ip922_1",
|
|
36
|
+
"table": "_table_ip922_1 _ds-table_1efle_1",
|
|
37
|
+
"tabs": "_tabs_ip922_1 _ds-tabs_1efle_1",
|
|
38
|
+
"tag": "_tag_ip922_1 _ds-tag_1efle_1",
|
|
39
|
+
"togglegroup": "_togglegroup_ip922_1",
|
|
40
|
+
"validation": "_validation_ip922_1 _ds-validation-message_1efle_1",
|
|
41
|
+
"body": "_body_ip922_153"
|
|
41
42
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const _ = "
|
|
1
|
+
const _ = "_alert_ip922_1 _ds-alert_1efle_1", e = "_app_ip922_1", s = "_sticky_ip922_1", t = "_avatar_ip922_1 _ds-avatar_1efle_1", i = "_badge_ip922_1", o = "_breadcrumbs_ip922_1 _ds-breadcrumbs_1efle_1", n = "_button_ip922_1 _ds-button_1efle_1", p = "_card_ip922_1", a = "_group_ip922_1", l = "_chip_ip922_1 _ds-chip_1efle_1", r = "_details_ip922_1 _ds-details_1efle_1", d = "_dialog_ip922_1 _ds-dialog_1efle_1", c = "_divider_ip922_1", f = "_errorsummary_ip922_1 _ds-error-summary_1efle_1", g = "__errorsummary_ip922_1", u = "_field_ip922_1 _ds-field_1efle_1", b = "_affixes_ip922_1 _ds-field-affixes_1efle_1", m = "_fieldset_ip922_1 _ds-fieldset_1efle_1", k = "_heading_ip922_1 _ds-heading_1efle_1", h = "_ingress_ip922_1", v = "_muted_ip922_1", y = "_info_ip922_1", x = "_prose_ip922_1", w = "_helptext_ip922_1 _ds-focus_1efle_1", M = "_input_ip922_1 _ds-input_1efle_1", S = "_grid_ip922_1", j = "_flex_ip922_1", q = "_link_ip922_1", z = "_logo_ip922_1", A = "_pagination_ip922_1 _ds-pagination_1efle_1", B = "_popover_ip922_1", C = "_progress_ip922_1", D = "__indeterminate_ip922_1", E = "_skeleton_ip922_1 _ds-skeleton_1efle_1", F = "__skeleton_ip922_1", G = "_spinner_ip922_1", H = "_steps_ip922_1", I = "_table_ip922_1 _ds-table_1efle_1", J = "__scrollShadow_ip922_1", K = "_tabs_ip922_1 _ds-tabs_1efle_1", L = "__scrollMask_ip922_1", N = "_tag_ip922_1 _ds-tag_1efle_1", O = "_togglegroup_ip922_1", P = "__tooltip_ip922_1", Q = "_validation_ip922_1 _ds-validation-message_1efle_1", R = "_body_ip922_153", T = {
|
|
2
2
|
alert: _,
|
|
3
3
|
app: e,
|
|
4
4
|
sticky: s,
|
|
@@ -6,16 +6,16 @@ const _ = "_alert_1ib74_1 _ds-alert_1efle_1", e = "_app_1ib74_1", s = "_sticky_1
|
|
|
6
6
|
badge: i,
|
|
7
7
|
breadcrumbs: o,
|
|
8
8
|
button: n,
|
|
9
|
-
card:
|
|
10
|
-
group:
|
|
11
|
-
chip:
|
|
12
|
-
details:
|
|
13
|
-
dialog:
|
|
9
|
+
card: p,
|
|
10
|
+
group: a,
|
|
11
|
+
chip: l,
|
|
12
|
+
details: r,
|
|
13
|
+
dialog: d,
|
|
14
14
|
divider: c,
|
|
15
|
-
errorsummary:
|
|
16
|
-
_errorsummary:
|
|
17
|
-
field:
|
|
18
|
-
affixes:
|
|
15
|
+
errorsummary: f,
|
|
16
|
+
_errorsummary: g,
|
|
17
|
+
field: u,
|
|
18
|
+
affixes: b,
|
|
19
19
|
fieldset: m,
|
|
20
20
|
heading: k,
|
|
21
21
|
ingress: h,
|
|
@@ -35,43 +35,44 @@ const _ = "_alert_1ib74_1 _ds-alert_1efle_1", e = "_app_1ib74_1", s = "_sticky_1
|
|
|
35
35
|
skeleton: E,
|
|
36
36
|
_skeleton: F,
|
|
37
37
|
spinner: G,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
38
|
+
steps: H,
|
|
39
|
+
table: I,
|
|
40
|
+
_scrollShadow: J,
|
|
41
|
+
tabs: K,
|
|
42
|
+
_scrollMask: L,
|
|
43
|
+
tag: N,
|
|
44
|
+
togglegroup: O,
|
|
45
|
+
_tooltip: P,
|
|
46
|
+
validation: Q,
|
|
47
|
+
body: R
|
|
47
48
|
};
|
|
48
49
|
export {
|
|
49
|
-
|
|
50
|
+
g as _errorsummary,
|
|
50
51
|
D as _indeterminate,
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
L as _scrollMask,
|
|
53
|
+
J as _scrollShadow,
|
|
53
54
|
F as _skeleton,
|
|
54
|
-
|
|
55
|
-
|
|
55
|
+
P as _tooltip,
|
|
56
|
+
b as affixes,
|
|
56
57
|
_ as alert,
|
|
57
58
|
e as app,
|
|
58
59
|
t as avatar,
|
|
59
60
|
i as badge,
|
|
60
|
-
|
|
61
|
+
R as body,
|
|
61
62
|
o as breadcrumbs,
|
|
62
63
|
n as button,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
p as card,
|
|
65
|
+
l as chip,
|
|
66
|
+
T as default,
|
|
67
|
+
r as details,
|
|
68
|
+
d as dialog,
|
|
68
69
|
c as divider,
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
f as errorsummary,
|
|
71
|
+
u as field,
|
|
71
72
|
m as fieldset,
|
|
72
73
|
j as flex,
|
|
73
74
|
S as grid,
|
|
74
|
-
|
|
75
|
+
a as group,
|
|
75
76
|
k as heading,
|
|
76
77
|
w as helptext,
|
|
77
78
|
y as info,
|
|
@@ -86,11 +87,12 @@ export {
|
|
|
86
87
|
x as prose,
|
|
87
88
|
E as skeleton,
|
|
88
89
|
G as spinner,
|
|
90
|
+
H as steps,
|
|
89
91
|
s as sticky,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
I as table,
|
|
93
|
+
K as tabs,
|
|
94
|
+
N as tag,
|
|
95
|
+
O as togglegroup,
|
|
96
|
+
Q as validation
|
|
95
97
|
};
|
|
96
98
|
//# 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,7 +1,7 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
decorators: ((Story: import('
|
|
4
|
+
decorators: ((Story: import('storybook/internal/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
5
5
|
[x: string]: any;
|
|
6
6
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
};
|
|
@@ -7,3 +7,5 @@ type Story = StoryObj<typeof meta>;
|
|
|
7
7
|
export declare const Default: Story;
|
|
8
8
|
export declare const React: Story;
|
|
9
9
|
export declare const Sizes: Story;
|
|
10
|
+
export declare const WithCardPanels: Story;
|
|
11
|
+
export declare const ReactWithCardPanels: Story;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
decorators: ((Story: import('
|
|
4
|
+
decorators: ((Story: import('storybook/internal/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
5
5
|
[x: string]: any;
|
|
6
6
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
decorators: ((Story: import('
|
|
4
|
+
decorators: ((Story: import('storybook/internal/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
5
5
|
[x: string]: any;
|
|
6
6
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
7
7
|
};
|
|
@@ -3,6 +3,7 @@ import { PolymorphicComponentPropWithRef } from '../react-types';
|
|
|
3
3
|
export type HeadingSizes = "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
4
4
|
export type HeadingProps<As extends React.ElementType = "h2"> = PolymorphicComponentPropWithRef<As, {
|
|
5
5
|
"data-size"?: HeadingSizes;
|
|
6
|
+
"data-justify"?: "start" | "center";
|
|
6
7
|
}>;
|
|
7
8
|
type HeadingComponent = <As extends React.ElementType = "h2">(props: HeadingProps<As>) => JSX.Element;
|
|
8
9
|
export declare const Heading: HeadingComponent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.js","sources":["../../designsystem/typography/typography.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { type JSX, forwardRef } from \"react\";\nimport type {\n\tPolymorphicComponentPropWithRef,\n\tPolymorphicRef,\n} from \"../react-types\";\nimport styles from \"../styles.module.css\";\n\nexport type HeadingSizes = \"2xs\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\";\nexport type HeadingProps<As extends React.ElementType = \"h2\"> =\n\tPolymorphicComponentPropWithRef
|
|
1
|
+
{"version":3,"file":"typography.js","sources":["../../designsystem/typography/typography.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { type JSX, forwardRef } from \"react\";\nimport type {\n\tPolymorphicComponentPropWithRef,\n\tPolymorphicRef,\n} from \"../react-types\";\nimport styles from \"../styles.module.css\";\n\nexport type HeadingSizes = \"2xs\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\";\nexport type HeadingProps<As extends React.ElementType = \"h2\"> =\n\tPolymorphicComponentPropWithRef<\n\t\tAs,\n\t\t{\n\t\t\t\"data-size\"?: HeadingSizes;\n\t\t\t\"data-justify\"?: \"start\" | \"center\";\n\t\t}\n\t>;\n\ntype HeadingComponent = <As extends React.ElementType = \"h2\">(\n\tprops: HeadingProps<As>,\n) => JSX.Element;\n\nexport const Heading: HeadingComponent = forwardRef<null>(function Heading<\n\tAs extends React.ElementType = \"h2\",\n>({ as, className, ...rest }: HeadingProps<As>, ref?: PolymorphicRef<As>) {\n\tconst Tag = as || \"h2\";\n\n\treturn (\n\t\t<Tag className={clsx(styles.heading, className)} ref={ref} {...rest} />\n\t);\n}) as HeadingComponent; // Needed to tell Typescript this does not return ReactNode but acutally JSX.Element\n\nexport type MutedProps<As extends React.ElementType = \"small\"> =\n\tPolymorphicComponentPropWithRef<As>;\n\ntype MutedComponent = <As extends React.ElementType = \"small\">(\n\tprops: MutedProps<As>,\n) => JSX.Element;\n\nexport const Muted: MutedComponent = forwardRef<null>(function Muted<\n\tAs extends React.ElementType = \"small\",\n>({ as, className, ...rest }: MutedProps<As>, ref?: PolymorphicRef<As>) {\n\tconst Tag = as || \"small\";\n\treturn <Tag className={clsx(styles.muted, className)} ref={ref} {...rest} />;\n}) as MutedComponent; // Needed to tell Typescript this does not return ReactNode but acutally JSX.Element\n\nexport type IngressProps<As extends React.ElementType = \"span\"> =\n\tPolymorphicComponentPropWithRef<As>;\n\ntype IngressComponent = <As extends React.ElementType = \"span\">(\n\tprops: MutedProps<As>,\n) => JSX.Element;\n\nexport const Ingress: IngressComponent = forwardRef<null>(function Ingress<\n\tAs extends React.ElementType = \"span\",\n>({ as, className, ...rest }: IngressProps<As>, ref?: PolymorphicRef<As>) {\n\tconst Tag = as || \"span\";\n\treturn (\n\t\t<Tag className={clsx(styles.ingress, className)} ref={ref} {...rest} />\n\t);\n}) as IngressComponent; // Needed to tell Typescript this does not return ReactNode but acutally JSX.Element\n\nexport type InfoProps<As extends React.ElementType = \"span\"> =\n\tPolymorphicComponentPropWithRef<As>;\n\ntype InfoComponent = <As extends React.ElementType = \"span\">(\n\tprops: MutedProps<As>,\n) => JSX.Element;\n\nexport const Info: InfoComponent = forwardRef<null>(function Info<\n\tAs extends React.ElementType = \"span\",\n>({ as, className, ...rest }: InfoProps<As>, ref?: PolymorphicRef<As>) {\n\tconst Tag = as || \"span\";\n\treturn <Tag className={clsx(styles.info, className)} ref={ref} {...rest} />;\n}) as InfoComponent; // Needed to tell Typescript this does not return ReactNode but acutally JSX.Element\n"],"names":["Heading","forwardRef","as","className","rest","ref","jsx","clsx","styles","Muted","Ingress","Info"],"mappings":";;;;AAsBa,MAAAA,IAA4BC,EAAiB,SAExD,EAAE,IAAAC,GAAI,WAAAC,GAAW,GAAGC,EAAK,GAAqBC,GAA0B;AAIxE,SAAA,gBAAAC,EAHWJ,KAAM,MAGZ,EAAA,WAAWK,EAAKC,EAAO,SAASL,CAAS,GAAG,KAAAE,GAAW,GAAGD,EAAM,CAAA;AAEvE,CAAC,GASYK,IAAwBR,EAAiB,SAEpD,EAAE,IAAAC,GAAI,WAAAC,GAAW,GAAGC,EAAK,GAAmBC,GAA0B;AAEhE,SAAA,gBAAAC,EADKJ,KAAM,SACN,EAAA,WAAWK,EAAKC,EAAO,OAAOL,CAAS,GAAG,KAAAE,GAAW,GAAGD,EAAM,CAAA;AAC3E,CAAC,GASYM,IAA4BT,EAAiB,SAExD,EAAE,IAAAC,GAAI,WAAAC,GAAW,GAAGC,EAAK,GAAqBC,GAA0B;AAGxE,SAAA,gBAAAC,EAFWJ,KAAM,QAEZ,EAAA,WAAWK,EAAKC,EAAO,SAASL,CAAS,GAAG,KAAAE,GAAW,GAAGD,EAAM,CAAA;AAEvE,CAAC,GASYO,IAAsBV,EAAiB,SAElD,EAAE,IAAAC,GAAI,WAAAC,GAAW,GAAGC,EAAK,GAAkBC,GAA0B;AAE/D,SAAA,gBAAAC,EADKJ,KAAM,QACN,EAAA,WAAWK,EAAKC,EAAO,MAAML,CAAS,GAAG,KAAAE,GAAW,GAAGD,EAAM,CAAA;AAC1E,CAAC;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
decorators: ((Story: import('
|
|
4
|
+
decorators: ((Story: import('storybook/internal/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
5
5
|
[x: string]: any;
|
|
6
6
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
7
7
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mattilsynet/design",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./mtds/index.js",
|
|
6
6
|
"types": "./mtds/index.d.ts",
|
|
@@ -44,15 +44,9 @@
|
|
|
44
44
|
"@digdir/designsystemet-css": "^1.0.6",
|
|
45
45
|
"@phosphor-icons/core": "^2.1.1",
|
|
46
46
|
"@phosphor-icons/react": "^2.1.8",
|
|
47
|
-
"@storybook/addon-
|
|
48
|
-
"@storybook/addon-
|
|
49
|
-
"@storybook/
|
|
50
|
-
"@storybook/addon-themes": "^8.6.14",
|
|
51
|
-
"@storybook/blocks": "^8.6.14",
|
|
52
|
-
"@storybook/manager-api": "^8.6.14",
|
|
53
|
-
"@storybook/react": "^8.6.14",
|
|
54
|
-
"@storybook/react-vite": "^8.6.14",
|
|
55
|
-
"@storybook/theming": "^8.6.14",
|
|
47
|
+
"@storybook/addon-docs": "^9.0.6",
|
|
48
|
+
"@storybook/addon-themes": "^9.0.6",
|
|
49
|
+
"@storybook/react-vite": "^9.0.6",
|
|
56
50
|
"@tanstack/react-table": "^8.21.3",
|
|
57
51
|
"@types/node": "^22.15.19",
|
|
58
52
|
"@types/react": "^19.1.4",
|
|
@@ -63,18 +57,20 @@
|
|
|
63
57
|
"postcss-nesting": "^13.0.1",
|
|
64
58
|
"react": "^19.1.0",
|
|
65
59
|
"react-dom": "^19.1.0",
|
|
66
|
-
"storybook": "^
|
|
67
|
-
"svg2png-converter": "^1.0.2",
|
|
60
|
+
"storybook": "^9.0.6",
|
|
68
61
|
"typescript": "^5.8.3",
|
|
69
62
|
"vite": "^6.3.5",
|
|
70
63
|
"vite-plugin-dts": "^4.5.4"
|
|
71
64
|
},
|
|
72
65
|
"dependencies": {
|
|
73
|
-
"@u-elements/u-combobox": "^0.0.
|
|
74
|
-
"@u-elements/u-datalist": "^1.0.
|
|
66
|
+
"@u-elements/u-combobox": "^0.0.12",
|
|
67
|
+
"@u-elements/u-datalist": "^1.0.6",
|
|
75
68
|
"@u-elements/u-details": "^0.1.1",
|
|
76
69
|
"@u-elements/u-progress": "^0.0.5",
|
|
77
70
|
"@u-elements/u-tabs": "^0.0.9",
|
|
78
71
|
"clsx": "^2.1.1"
|
|
72
|
+
},
|
|
73
|
+
"overrides": {
|
|
74
|
+
"storybook": "$storybook"
|
|
79
75
|
}
|
|
80
76
|
}
|
|
File without changes
|