@smudi/designsystem 1.4.0 → 1.5.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.
- package/@smudi/assets/UDI-red-logo.svg.js +1 -0
- package/@smudi/components/alert/alert.js +5 -4
- package/@smudi/components/avatar/avatar.js +1 -0
- package/@smudi/components/avatar-stack/avatar-stack.js +1 -0
- package/@smudi/components/badge/badge.js +5 -4
- package/@smudi/components/breadcrumbs/breadcrumbs.js +4 -3
- package/@smudi/components/button/button.js +5 -4
- package/@smudi/components/card/card-icon-block.js +6 -5
- package/@smudi/components/card/card.js +1 -0
- package/@smudi/components/checkbox/checkbox.js +1 -0
- package/@smudi/components/chip/chip.js +1 -0
- package/@smudi/components/details/details.js +5 -4
- package/@smudi/components/dialog/dialog-section.js +10 -9
- package/@smudi/components/dialog/dialog.js +1 -0
- package/@smudi/components/divider/divider.js +1 -0
- package/@smudi/components/dropdown/dropdown-button.js +11 -10
- package/@smudi/components/dropdown/dropdown-context.js +4 -3
- package/@smudi/components/dropdown/dropdown-item.js +8 -7
- package/@smudi/components/dropdown/dropdown-list.js +10 -9
- package/@smudi/components/dropdown/dropdown.js +15 -14
- package/@smudi/components/error-summary/error-summary.js +1 -0
- package/@smudi/components/field/field.js +1 -0
- package/@smudi/components/fieldset/fieldset.js +1 -0
- package/@smudi/components/header/header-content.js +4 -3
- package/@smudi/components/header/header-divider.js +1 -0
- package/@smudi/components/header/header-menu/header-menu-button.js +8 -7
- package/@smudi/components/header/header-menu/header-menu-content.js +5 -4
- package/@smudi/components/header/header-menu/header-menu-group.js +11 -10
- package/@smudi/components/header/header-menu/header-menu-item.js +4 -3
- package/@smudi/components/header/header-menu/header-menu.js +6 -5
- package/@smudi/components/header/header-search/header-search-button.js +1 -0
- package/@smudi/components/header/header-search/header-search.js +6 -5
- package/@smudi/components/header/header.js +1 -0
- package/@smudi/components/header/index.js +7 -6
- package/@smudi/components/input/input.js +5 -4
- package/@smudi/components/layout-components/box-layouts/box-layout.js +11 -10
- package/@smudi/components/layout-components/box-layouts/box-layout.module.css.js +2 -1
- package/@smudi/components/layout-components/center-layouts/center-layout.js +9 -8
- package/@smudi/components/layout-components/center-layouts/center-layout.module.css.js +5 -4
- package/@smudi/components/layout-components/cluster-layouts/cluster-layout.js +5 -4
- package/@smudi/components/layout-components/cluster-layouts/cluster-layout.module.css.js +2 -1
- package/@smudi/components/layout-components/grid-layouts/grid-layout.js +5 -4
- package/@smudi/components/layout-components/grid-layouts/grid-layout.module.css.js +2 -1
- package/@smudi/components/layout-components/stack-layouts/stack-layout.js +5 -4
- package/@smudi/components/layout-components/stack-layouts/stack-layout.module.css.js +2 -1
- package/@smudi/components/layout-components/wrapper-layouts/wrapper-layout.js +9 -8
- package/@smudi/components/layout-components/wrapper-layouts/wrapper-layout.module.css.js +4 -3
- package/@smudi/components/link/link.js +1 -0
- package/@smudi/components/list/list.js +1 -0
- package/@smudi/components/pagination/pagination.js +5 -4
- package/@smudi/components/popover/popover.js +4 -3
- package/@smudi/components/radio/radio.js +1 -0
- package/@smudi/components/search/search.js +5 -4
- package/@smudi/components/select/select.js +7 -6
- package/@smudi/components/skeleton/skeleton.js +1 -0
- package/@smudi/components/skip-link/skip-link.js +1 -0
- package/@smudi/components/spinner/spinner.js +4 -3
- package/@smudi/components/suggestion/smudi-suggestion/smudi-suggestion-context.js +4 -3
- package/@smudi/components/suggestion/smudi-suggestion/smudi-suggestion-list.js +11 -10
- package/@smudi/components/suggestion/smudi-suggestion/smudi-suggestion.js +1 -0
- package/@smudi/components/suggestion/suggestion-no-chips/suggestion-no-chips.js +1 -0
- package/@smudi/components/suggestion/suggestion.js +3 -2
- package/@smudi/components/table/table.js +5 -4
- package/@smudi/components/tabs/tabs-content.js +1 -0
- package/@smudi/components/tabs/tabs-list.js +1 -0
- package/@smudi/components/tabs/tabs-trigger.js +1 -0
- package/@smudi/components/tabs/tabs.js +5 -4
- package/@smudi/components/tag/tag.js +1 -0
- package/@smudi/components/textarea/text-area.js +4 -3
- package/@smudi/components/textfield/textfield.js +1 -0
- package/@smudi/components/toast/toast.js +1 -0
- package/@smudi/components/toggle-group/toggle-group.js +1 -0
- package/@smudi/components/tooltip/tooltip.js +4 -3
- package/@smudi/components/typography/heading/heading.js +5 -4
- package/@smudi/components/typography/paragraph/paragraph.js +1 -0
- package/@smudi/components/utils/apply-inert-outside.js +1 -0
- package/@smudi/components/utils/class-names.js +1 -0
- package/@smudi/icons/generated/SmudiBiometryIcon.js +1 -0
- package/@smudi/icons/generated/SmudiFingerprintIcon.js +4 -3
- package/@smudi/icons/generated/SmudiFlagIcon.js +10 -9
- package/@smudi/icons/generated/SmudiScanIcon.js +10 -9
- package/@smudi/react.js +128 -191
- package/@smudi/smudi/react.d.ts +38 -38
- package/@smudi/smudi/react.d.ts.map +1 -1
- package/@smudi/styles.css +1 -1
- package/@smudi/utils/append-class-name.js +4 -3
- package/@smudi/utils/combine-refs.js +4 -3
- package/README.md +6 -3
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as c, jsx as o } from "react/jsx-runtime";
|
|
2
3
|
import { forwardRef as i } from "react";
|
|
3
|
-
const s = ({ title: l, titleId:
|
|
4
|
+
const s = ({ title: l, titleId: e, ...r }, a) => /* @__PURE__ */ c(
|
|
4
5
|
"svg",
|
|
5
6
|
{
|
|
6
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -10,12 +11,12 @@ const s = ({ title: l, titleId: o, ...a }, e) => /* @__PURE__ */ c(
|
|
|
10
11
|
viewBox: "0 0 24 24",
|
|
11
12
|
focusable: !1,
|
|
12
13
|
role: "img",
|
|
13
|
-
ref:
|
|
14
|
-
"aria-labelledby":
|
|
15
|
-
...
|
|
14
|
+
ref: a,
|
|
15
|
+
"aria-labelledby": e,
|
|
16
|
+
...r,
|
|
16
17
|
children: [
|
|
17
|
-
l ? /* @__PURE__ */
|
|
18
|
-
/* @__PURE__ */
|
|
18
|
+
l ? /* @__PURE__ */ o("title", { id: e, children: l }) : null,
|
|
19
|
+
/* @__PURE__ */ o(
|
|
19
20
|
"path",
|
|
20
21
|
{
|
|
21
22
|
fill: "currentColor",
|
|
@@ -24,7 +25,7 @@ const s = ({ title: l, titleId: o, ...a }, e) => /* @__PURE__ */ c(
|
|
|
24
25
|
)
|
|
25
26
|
]
|
|
26
27
|
}
|
|
27
|
-
),
|
|
28
|
+
), f = i(s);
|
|
28
29
|
export {
|
|
29
|
-
|
|
30
|
+
f as default
|
|
30
31
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as i, jsx as l } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef as c } from "react";
|
|
4
|
+
const h = ({ title: a, titleId: e, ...o }, r) => /* @__PURE__ */ i(
|
|
4
5
|
"svg",
|
|
5
6
|
{
|
|
6
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -10,12 +11,12 @@ const m = ({ title: a, titleId: o, ...e }, l) => /* @__PURE__ */ h(
|
|
|
10
11
|
viewBox: "0 0 24 24",
|
|
11
12
|
focusable: !1,
|
|
12
13
|
role: "img",
|
|
13
|
-
ref:
|
|
14
|
-
"aria-labelledby":
|
|
15
|
-
...
|
|
14
|
+
ref: r,
|
|
15
|
+
"aria-labelledby": e,
|
|
16
|
+
...o,
|
|
16
17
|
children: [
|
|
17
|
-
a ? /* @__PURE__ */
|
|
18
|
-
/* @__PURE__ */
|
|
18
|
+
a ? /* @__PURE__ */ l("title", { id: e, children: a }) : null,
|
|
19
|
+
/* @__PURE__ */ l(
|
|
19
20
|
"path",
|
|
20
21
|
{
|
|
21
22
|
fill: "currentColor",
|
|
@@ -24,7 +25,7 @@ const m = ({ title: a, titleId: o, ...e }, l) => /* @__PURE__ */ h(
|
|
|
24
25
|
)
|
|
25
26
|
]
|
|
26
27
|
}
|
|
27
|
-
), s =
|
|
28
|
+
), s = c(h);
|
|
28
29
|
export {
|
|
29
30
|
s as default
|
|
30
31
|
};
|
package/@smudi/react.js
CHANGED
|
@@ -1,198 +1,135 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
/* empty css */
|
|
2
3
|
import { default as t } from "./icons/generated/SmudiBiometryIcon.js";
|
|
3
|
-
import { default as
|
|
4
|
-
import { default as
|
|
4
|
+
import { default as m } from "./icons/generated/SmudiFingerprintIcon.js";
|
|
5
|
+
import { default as x } from "./icons/generated/SmudiFlagIcon.js";
|
|
5
6
|
import { default as n } from "./icons/generated/SmudiScanIcon.js";
|
|
6
|
-
|
|
7
|
-
import { Alert as
|
|
8
|
-
import { Avatar as
|
|
9
|
-
import { AvatarStack as
|
|
10
|
-
import { Badge as
|
|
11
|
-
import { Breadcrumbs as
|
|
12
|
-
import { Button as
|
|
13
|
-
import { Card as
|
|
14
|
-
import { Checkbox as
|
|
15
|
-
import { Chip as
|
|
16
|
-
import { Dialog as
|
|
17
|
-
import { Details as
|
|
18
|
-
import { Divider as
|
|
19
|
-
import { Dropdown as
|
|
20
|
-
import { DropdownButton as
|
|
21
|
-
import { DropdownItem as
|
|
22
|
-
import { DropdownList as
|
|
23
|
-
import { ErrorSummary as
|
|
24
|
-
import { Field as
|
|
25
|
-
import { Fieldset as
|
|
26
|
-
import { Input as
|
|
27
|
-
import { Link as
|
|
28
|
-
import { List as
|
|
29
|
-
import { Pagination as
|
|
30
|
-
import { Popover as
|
|
31
|
-
import { Radio as
|
|
32
|
-
import { Search as
|
|
33
|
-
import { Select as
|
|
34
|
-
import { Skeleton as
|
|
35
|
-
import { SkipLink as
|
|
36
|
-
import { Spinner as
|
|
37
|
-
import { Suggestion as
|
|
38
|
-
import { Table as
|
|
39
|
-
import { Tabs as
|
|
40
|
-
import { TabsList as
|
|
41
|
-
import { TabsTrigger as
|
|
42
|
-
import { TabsContent as
|
|
43
|
-
import { Tag as
|
|
44
|
-
import { TextArea as
|
|
45
|
-
import { Textfield as
|
|
46
|
-
import { ToggleGroup as
|
|
47
|
-
import { Tooltip as
|
|
48
|
-
import { Heading as
|
|
49
|
-
import { Paragraph as
|
|
50
|
-
import { ToastProvider as
|
|
51
|
-
import { Header as
|
|
52
|
-
import { BoxLayout as
|
|
53
|
-
import { CenterLayout as
|
|
54
|
-
import { ClusterLayout as
|
|
55
|
-
import { GridLayout as
|
|
56
|
-
import { StackLayout as
|
|
57
|
-
import { default as
|
|
58
|
-
import { HeaderContent as
|
|
59
|
-
import { HeaderDivider as
|
|
60
|
-
import { HeaderMenuButton as
|
|
61
|
-
import { HeaderMenuContent as
|
|
62
|
-
import { HeaderMenuGroup as
|
|
63
|
-
import { HeaderMenuItem as
|
|
64
|
-
import { HeaderSearch as
|
|
65
|
-
import { HeaderSearchButton as
|
|
66
|
-
import { UDILogo as
|
|
7
|
+
export * from "@digdir/designsystemet-react";
|
|
8
|
+
import { Alert as u } from "./components/alert/alert.js";
|
|
9
|
+
import { Avatar as l } from "./components/avatar/avatar.js";
|
|
10
|
+
import { AvatarStack as g } from "./components/avatar-stack/avatar-stack.js";
|
|
11
|
+
import { Badge as L } from "./components/badge/badge.js";
|
|
12
|
+
import { Breadcrumbs as H } from "./components/breadcrumbs/breadcrumbs.js";
|
|
13
|
+
import { Button as y } from "./components/button/button.js";
|
|
14
|
+
import { Card as C } from "./components/card/card.js";
|
|
15
|
+
import { Checkbox as b } from "./components/checkbox/checkbox.js";
|
|
16
|
+
import { Chip as h } from "./components/chip/chip.js";
|
|
17
|
+
import { Dialog as M } from "./components/dialog/dialog.js";
|
|
18
|
+
import { Details as A } from "./components/details/details.js";
|
|
19
|
+
import { Divider as P } from "./components/divider/divider.js";
|
|
20
|
+
import { Dropdown as E } from "./components/dropdown/dropdown.js";
|
|
21
|
+
import { DropdownButton as U } from "./components/dropdown/dropdown-button.js";
|
|
22
|
+
import { DropdownItem as j } from "./components/dropdown/dropdown-item.js";
|
|
23
|
+
import { DropdownList as z } from "./components/dropdown/dropdown-list.js";
|
|
24
|
+
import { ErrorSummary as K } from "./components/error-summary/error-summary.js";
|
|
25
|
+
import { Field as O } from "./components/field/field.js";
|
|
26
|
+
import { Fieldset as V } from "./components/fieldset/fieldset.js";
|
|
27
|
+
import { Input as Y } from "./components/input/input.js";
|
|
28
|
+
import { Link as _ } from "./components/link/link.js";
|
|
29
|
+
import { List as rr } from "./components/list/list.js";
|
|
30
|
+
import { Pagination as er } from "./components/pagination/pagination.js";
|
|
31
|
+
import { Popover as pr } from "./components/popover/popover.js";
|
|
32
|
+
import { Radio as fr } from "./components/radio/radio.js";
|
|
33
|
+
import { Search as ar } from "./components/search/search.js";
|
|
34
|
+
import { Select as dr } from "./components/select/select.js";
|
|
35
|
+
import { Skeleton as ur } from "./components/skeleton/skeleton.js";
|
|
36
|
+
import { SkipLink as lr } from "./components/skip-link/skip-link.js";
|
|
37
|
+
import { Spinner as gr } from "./components/spinner/spinner.js";
|
|
38
|
+
import { Suggestion as Lr } from "./components/suggestion/suggestion.js";
|
|
39
|
+
import { Table as Hr } from "./components/table/table.js";
|
|
40
|
+
import { Tabs as yr } from "./components/tabs/tabs.js";
|
|
41
|
+
import { TabsList as Cr } from "./components/tabs/tabs-list.js";
|
|
42
|
+
import { TabsTrigger as br } from "./components/tabs/tabs-trigger.js";
|
|
43
|
+
import { TabsContent as hr } from "./components/tabs/tabs-content.js";
|
|
44
|
+
import { Tag as Mr } from "./components/tag/tag.js";
|
|
45
|
+
import { TextArea as Ar } from "./components/textarea/text-area.js";
|
|
46
|
+
import { Textfield as Pr } from "./components/textfield/textfield.js";
|
|
47
|
+
import { ToggleGroup as Er } from "./components/toggle-group/toggle-group.js";
|
|
48
|
+
import { Tooltip as Ur } from "./components/tooltip/tooltip.js";
|
|
49
|
+
import { Heading as jr } from "./components/typography/heading/heading.js";
|
|
50
|
+
import { Paragraph as zr } from "./components/typography/paragraph/paragraph.js";
|
|
51
|
+
import { ToastProvider as Kr, toast as Nr } from "./components/toast/toast.js";
|
|
52
|
+
import { Header as Qr, HeaderMenu as Vr } from "./components/header/index.js";
|
|
53
|
+
import { BoxLayout as Yr } from "./components/layout-components/box-layouts/box-layout.js";
|
|
54
|
+
import { CenterLayout as _r } from "./components/layout-components/center-layouts/center-layout.js";
|
|
55
|
+
import { ClusterLayout as ro } from "./components/layout-components/cluster-layouts/cluster-layout.js";
|
|
56
|
+
import { GridLayout as eo } from "./components/layout-components/grid-layouts/grid-layout.js";
|
|
57
|
+
import { StackLayout as po } from "./components/layout-components/stack-layouts/stack-layout.js";
|
|
58
|
+
import { default as fo } from "./components/layout-components/wrapper-layouts/wrapper-layout.js";
|
|
59
|
+
import { HeaderContent as ao } from "./components/header/header-content.js";
|
|
60
|
+
import { HeaderDivider as io } from "./components/header/header-divider.js";
|
|
61
|
+
import { HeaderMenuButton as so } from "./components/header/header-menu/header-menu-button.js";
|
|
62
|
+
import { HeaderMenuContent as So } from "./components/header/header-menu/header-menu-content.js";
|
|
63
|
+
import { HeaderMenuGroup as co } from "./components/header/header-menu/header-menu-group.js";
|
|
64
|
+
import { HeaderMenuItem as To } from "./components/header/header-menu/header-menu-item.js";
|
|
65
|
+
import { HeaderSearch as Do } from "./components/header/header-search/header-search.js";
|
|
66
|
+
import { HeaderSearchButton as Bo } from "./components/header/header-search/header-search-button.js";
|
|
67
|
+
import { UDILogo as Io } from "./components/header/header.js";
|
|
67
68
|
export {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
N as EXPERIMENTAL_SuggestionOption,
|
|
114
|
-
rr as ErrorSummary,
|
|
115
|
-
X as ErrorSummaryHeading,
|
|
116
|
-
_ as ErrorSummaryItem,
|
|
117
|
-
G as ErrorSummaryLink,
|
|
118
|
-
O as ErrorSummaryList,
|
|
119
|
-
tr as Field,
|
|
120
|
-
U as FieldAffix,
|
|
121
|
-
V as FieldAffixes,
|
|
122
|
-
W as FieldCounter,
|
|
123
|
-
j as FieldDescription,
|
|
124
|
-
pr as Fieldset,
|
|
125
|
-
q as FieldsetDescription,
|
|
126
|
-
z as FieldsetLegend,
|
|
127
|
-
ge as GridLayout,
|
|
128
|
-
ae as Header,
|
|
129
|
-
be as HeaderContent,
|
|
130
|
-
Ee as HeaderDivider,
|
|
131
|
-
pe as HeaderMenu,
|
|
132
|
-
Ie as HeaderMenuButton,
|
|
133
|
-
Be as HeaderMenuContent,
|
|
134
|
-
he as HeaderMenuGroup,
|
|
135
|
-
He as HeaderMenuItem,
|
|
136
|
-
Ae as HeaderSearch,
|
|
137
|
-
Fe as HeaderSearchButton,
|
|
138
|
-
Yr as Heading,
|
|
139
|
-
ir as Input,
|
|
140
|
-
J as Label,
|
|
141
|
-
nr as Link,
|
|
142
|
-
dr as List,
|
|
143
|
-
K as ListItem,
|
|
144
|
-
Q as ListOrdered,
|
|
145
|
-
Y as ListUnordered,
|
|
146
|
-
gr as Pagination,
|
|
147
|
-
Z as PaginationButton,
|
|
148
|
-
$ as PaginationItem,
|
|
149
|
-
oo as PaginationList,
|
|
150
|
-
$r as Paragraph,
|
|
151
|
-
sr as Popover,
|
|
152
|
-
ro as PopoverTrigger,
|
|
153
|
-
eo as PopoverTriggerContext,
|
|
154
|
-
Sr as Radio,
|
|
155
|
-
br as Search,
|
|
156
|
-
to as SearchButton,
|
|
157
|
-
ao as SearchClear,
|
|
158
|
-
po as SearchInput,
|
|
159
|
-
Er as Select,
|
|
160
|
-
mo as SelectOptgroup,
|
|
161
|
-
io as SelectOption,
|
|
162
|
-
Ir as Skeleton,
|
|
163
|
-
Br as SkipLink,
|
|
69
|
+
u as Alert,
|
|
70
|
+
l as Avatar,
|
|
71
|
+
g as AvatarStack,
|
|
72
|
+
L as Badge,
|
|
73
|
+
Yr as BoxLayout,
|
|
74
|
+
H as Breadcrumbs,
|
|
75
|
+
y as Button,
|
|
76
|
+
C as Card,
|
|
77
|
+
_r as CenterLayout,
|
|
78
|
+
b as Checkbox,
|
|
79
|
+
h as Chip,
|
|
80
|
+
ro as ClusterLayout,
|
|
81
|
+
A as Details,
|
|
82
|
+
M as Dialog,
|
|
83
|
+
P as Divider,
|
|
84
|
+
E as Dropdown,
|
|
85
|
+
U as DropdownButton,
|
|
86
|
+
j as DropdownItem,
|
|
87
|
+
z as DropdownList,
|
|
88
|
+
K as ErrorSummary,
|
|
89
|
+
O as Field,
|
|
90
|
+
V as Fieldset,
|
|
91
|
+
eo as GridLayout,
|
|
92
|
+
Qr as Header,
|
|
93
|
+
ao as HeaderContent,
|
|
94
|
+
io as HeaderDivider,
|
|
95
|
+
Vr as HeaderMenu,
|
|
96
|
+
so as HeaderMenuButton,
|
|
97
|
+
So as HeaderMenuContent,
|
|
98
|
+
co as HeaderMenuGroup,
|
|
99
|
+
To as HeaderMenuItem,
|
|
100
|
+
Do as HeaderSearch,
|
|
101
|
+
Bo as HeaderSearchButton,
|
|
102
|
+
jr as Heading,
|
|
103
|
+
Y as Input,
|
|
104
|
+
_ as Link,
|
|
105
|
+
rr as List,
|
|
106
|
+
er as Pagination,
|
|
107
|
+
zr as Paragraph,
|
|
108
|
+
pr as Popover,
|
|
109
|
+
fr as Radio,
|
|
110
|
+
ar as Search,
|
|
111
|
+
dr as Select,
|
|
112
|
+
ur as Skeleton,
|
|
113
|
+
lr as SkipLink,
|
|
164
114
|
t as SmudiBiometryIcon,
|
|
165
|
-
|
|
166
|
-
|
|
115
|
+
m as SmudiFingerprintIcon,
|
|
116
|
+
x as SmudiFlagIcon,
|
|
167
117
|
n as SmudiScanIcon,
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
Nr as
|
|
185
|
-
Or as Tag,
|
|
186
|
-
Vr as TextArea,
|
|
187
|
-
Lo as Textarea,
|
|
188
|
-
jr as Textfield,
|
|
189
|
-
re as ToastProvider,
|
|
190
|
-
zr as ToggleGroup,
|
|
191
|
-
bo as ToggleGroupItem,
|
|
192
|
-
Kr as Tooltip,
|
|
193
|
-
ve as UDILogo,
|
|
194
|
-
co as ValidationMessage,
|
|
195
|
-
Se as WrapperLayout,
|
|
196
|
-
ee as toast,
|
|
197
|
-
Eo as useCheckboxGroup
|
|
118
|
+
gr as Spinner,
|
|
119
|
+
po as StackLayout,
|
|
120
|
+
Lr as Suggestion,
|
|
121
|
+
Hr as Table,
|
|
122
|
+
yr as Tabs,
|
|
123
|
+
hr as TabsContent,
|
|
124
|
+
Cr as TabsList,
|
|
125
|
+
br as TabsTrigger,
|
|
126
|
+
Mr as Tag,
|
|
127
|
+
Ar as TextArea,
|
|
128
|
+
Pr as Textfield,
|
|
129
|
+
Kr as ToastProvider,
|
|
130
|
+
Er as ToggleGroup,
|
|
131
|
+
Ur as Tooltip,
|
|
132
|
+
Io as UDILogo,
|
|
133
|
+
fo as WrapperLayout,
|
|
134
|
+
Nr as toast
|
|
198
135
|
};
|
package/@smudi/smudi/react.d.ts
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
export * from './icons/generated';
|
|
2
|
-
export
|
|
3
|
-
export type {
|
|
4
|
-
export { Alert } from '../components/alert/alert';
|
|
5
|
-
export { Avatar } from '../components/avatar/avatar';
|
|
6
|
-
export { AvatarStack } from '../components/avatar-stack/avatar-stack';
|
|
7
|
-
export { Badge } from '../components/badge/badge';
|
|
8
|
-
export { Breadcrumbs } from '../components/breadcrumbs/breadcrumbs';
|
|
9
|
-
export { Button } from '../components/button/button';
|
|
10
|
-
export { Card, type CardIconBlockProps } from '../components/card/card';
|
|
11
|
-
export { Checkbox } from '../components/checkbox/checkbox';
|
|
2
|
+
export * from '@digdir/designsystemet-react';
|
|
3
|
+
export type { Color, SeverityColors } from '@digdir/designsystemet-types';
|
|
4
|
+
export { Alert, type AlertProps } from '../components/alert/alert';
|
|
5
|
+
export { Avatar, type AvatarProps } from '../components/avatar/avatar';
|
|
6
|
+
export { AvatarStack, type AvatarStackProps, } from '../components/avatar-stack/avatar-stack';
|
|
7
|
+
export { Badge, type BadgeProps } from '../components/badge/badge';
|
|
8
|
+
export { Breadcrumbs, type BreadcrumbsProps, } from '../components/breadcrumbs/breadcrumbs';
|
|
9
|
+
export { Button, type ButtonProps } from '../components/button/button';
|
|
10
|
+
export { Card, type CardProps, type CardIconBlockProps, } from '../components/card/card';
|
|
11
|
+
export { Checkbox, type CheckboxProps } from '../components/checkbox/checkbox';
|
|
12
12
|
export { Chip } from '../components/chip/chip';
|
|
13
|
-
export { Dialog, type DialogSectionProps } from '../components/dialog/dialog';
|
|
14
|
-
export { Details } from '../components/details/details';
|
|
15
|
-
export { Divider } from '../components/divider/divider';
|
|
13
|
+
export { Dialog, type DialogProps, type DialogSectionProps, } from '../components/dialog/dialog';
|
|
14
|
+
export { Details, type DetailsProps } from '../components/details/details';
|
|
15
|
+
export { Divider, type DividerProps } from '../components/divider/divider';
|
|
16
16
|
export { Dropdown, type DropdownProps } from '../components/dropdown/dropdown';
|
|
17
17
|
export { DropdownButton, type DropdownButtonClickEvent, type DropdownButtonProps, } from '../components/dropdown/dropdown-button';
|
|
18
18
|
export { DropdownItem, type DropdownItemProps, } from '../components/dropdown/dropdown-item';
|
|
19
19
|
export { DropdownList, type DropdownListProps, } from '../components/dropdown/dropdown-list';
|
|
20
|
-
export { ErrorSummary } from '../components/error-summary/error-summary';
|
|
21
|
-
export { Field } from '../components/field/field';
|
|
22
|
-
export { Fieldset } from '../components/fieldset/fieldset';
|
|
23
|
-
export { Input } from '../components/input/input';
|
|
24
|
-
export { Link } from '../components/link/link';
|
|
20
|
+
export { ErrorSummary, type ErrorSummaryProps, } from '../components/error-summary/error-summary';
|
|
21
|
+
export { Field, type FieldProps } from '../components/field/field';
|
|
22
|
+
export { Fieldset, type FieldsetProps } from '../components/fieldset/fieldset';
|
|
23
|
+
export { Input, type InputProps } from '../components/input/input';
|
|
24
|
+
export { Link, type LinkProps } from '../components/link/link';
|
|
25
25
|
export { List } from '../components/list/list';
|
|
26
|
-
export { Pagination } from '../components/pagination/pagination';
|
|
27
|
-
export { Popover } from '../components/popover/popover';
|
|
28
|
-
export { Radio } from '../components/radio/radio';
|
|
29
|
-
export { Search } from '../components/search/search';
|
|
30
|
-
export { Select } from '../components/select/select';
|
|
31
|
-
export { Skeleton } from '../components/skeleton/skeleton';
|
|
32
|
-
export { SkipLink } from '../components/skip-link/skip-link';
|
|
33
|
-
export { Spinner } from '../components/spinner/spinner';
|
|
26
|
+
export { Pagination, type PaginationProps, } from '../components/pagination/pagination';
|
|
27
|
+
export { Popover, type PopoverProps } from '../components/popover/popover';
|
|
28
|
+
export { Radio, type RadioProps } from '../components/radio/radio';
|
|
29
|
+
export { Search, type SearchProps } from '../components/search/search';
|
|
30
|
+
export { Select, type SelectProps } from '../components/select/select';
|
|
31
|
+
export { Skeleton, type SkeletonProps } from '../components/skeleton/skeleton';
|
|
32
|
+
export { SkipLink, type SkipLinkProps } from '../components/skip-link/skip-link';
|
|
33
|
+
export { Spinner, type SpinnerProps } from '../components/spinner/spinner';
|
|
34
34
|
export { Suggestion, type SuggestionProps, type SuggestionNoChipsProps, } from '../components/suggestion/suggestion';
|
|
35
|
-
export { Table } from '../components/table/table';
|
|
36
|
-
export { Tabs } from '../components/tabs/tabs';
|
|
37
|
-
export { TabsList } from '../components/tabs/tabs-list';
|
|
38
|
-
export { TabsTrigger } from '../components/tabs/tabs-trigger';
|
|
39
|
-
export { TabsContent } from '../components/tabs/tabs-content';
|
|
40
|
-
export { Tag } from '../components/tag/tag';
|
|
41
|
-
export { TextArea } from '../components/textarea/text-area';
|
|
42
|
-
export { Textfield } from '../components/textfield/textfield';
|
|
43
|
-
export { ToggleGroup } from '../components/toggle-group/toggle-group';
|
|
44
|
-
export { Tooltip } from '../components/tooltip/tooltip';
|
|
45
|
-
export { Heading } from '../components/typography/heading/heading';
|
|
46
|
-
export { Paragraph } from '../components/typography/paragraph/paragraph';
|
|
35
|
+
export { Table, type TableProps } from '../components/table/table';
|
|
36
|
+
export { Tabs, type TabsProps } from '../components/tabs/tabs';
|
|
37
|
+
export { TabsList, type TabsListProps } from '../components/tabs/tabs-list';
|
|
38
|
+
export { TabsTrigger, type TabsTriggerProps, } from '../components/tabs/tabs-trigger';
|
|
39
|
+
export { TabsContent, type TabsContentProps, } from '../components/tabs/tabs-content';
|
|
40
|
+
export { Tag, type TagProps } from '../components/tag/tag';
|
|
41
|
+
export { TextArea, type TextareaProps } from '../components/textarea/text-area';
|
|
42
|
+
export { Textfield, type TextfieldProps, } from '../components/textfield/textfield';
|
|
43
|
+
export { ToggleGroup, type ToggleGroupProps, } from '../components/toggle-group/toggle-group';
|
|
44
|
+
export { Tooltip, type TooltipProps } from '../components/tooltip/tooltip';
|
|
45
|
+
export { Heading, type HeadingProps, } from '../components/typography/heading/heading';
|
|
46
|
+
export { Paragraph, type ParagraphProps, } from '../components/typography/paragraph/paragraph';
|
|
47
47
|
export { toast, ToastProvider, type ToastHandle, type ToastOptions, } from '../components/toast/toast';
|
|
48
48
|
export { Header, HeaderContent, HeaderDivider, HeaderMenu, HeaderMenuButton, HeaderMenuContent, HeaderMenuGroup, HeaderMenuItem, HeaderSearch, HeaderSearchButton, UDILogo, type HeaderContentProps, type HeaderDividerProps, type HeaderMenuButtonProps, type HeaderMenuContentProps, type HeaderMenuGroupProps, type HeaderMenuItemProps, type HeaderMenuProps, type HeaderProps, type HeaderSearchButtonProps, type HeaderSearchProps, } from '../components/header';
|
|
49
49
|
export { BoxLayout, type BoxLayoutBorderRadius, type BoxLayoutProps, type BoxLayoutSize, type BoxLayoutVariant, } from '../components/layout-components/box-layouts/box-layout';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../smudi/react.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAGtB,cAAc,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../smudi/react.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAGtB,cAAc,mBAAmB,CAAC;AAElC,cAAc,8BAA8B,CAAC;AAI7C,YAAY,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAG1E,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EACL,WAAW,EACX,KAAK,gBAAgB,GACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EACL,WAAW,EACX,KAAK,gBAAgB,GACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EACL,IAAI,EACJ,KAAK,SAAS,EACd,KAAK,kBAAkB,GACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,gCAAg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