@altinn/altinn-components 0.6.10 → 0.6.12
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/README.md +1 -12
- package/dist/assets/Footer.css +1 -0
- package/dist/assets/FooterBase.css +1 -1
- package/dist/assets/ListItemAction.css +1 -0
- package/dist/assets/ListItemBase.css +1 -1
- package/dist/components/Footer/Footer.d.ts +2 -1
- package/dist/components/Footer/Footer.js +14 -9
- package/dist/components/Footer/Footer.stories.js +6 -3
- package/dist/components/Footer/FooterBase.js +5 -5
- package/dist/components/GlobalMenu/GlobalMenu.js +5 -5
- package/dist/components/GlobalMenu/index.d.ts +3 -0
- package/dist/components/GlobalMenu/index.js +8 -2
- package/dist/components/Header/Header.d.ts +4 -3
- package/dist/components/Header/Header.js +29 -29
- package/dist/components/Layout/Layout.stories.js +26 -25
- package/dist/components/LayoutAction/ActionFooter.d.ts +1 -1
- package/dist/components/List/ListItem.d.ts +15 -6
- package/dist/components/List/ListItem.js +18 -19
- package/dist/components/List/ListItem.stories.js +146 -118
- package/dist/components/List/ListItemAction.d.ts +13 -0
- package/dist/components/List/ListItemAction.js +19 -0
- package/dist/components/List/ListItemAction.stories.js +45 -0
- package/dist/components/List/ListItemBase.d.ts +3 -1
- package/dist/components/List/ListItemBase.js +44 -48
- package/dist/components/List/index.d.ts +1 -0
- package/dist/components/List/index.js +6 -4
- package/dist/components/Menu/MenuItemBase.js +25 -25
- package/dist/components/Searchbar/AutocompleteItem.js +3 -2
- package/dist/components/index.js +151 -143
- package/dist/index.js +152 -144
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4,9 +4,9 @@ import { Avatar as p } from "./components/Avatar/Avatar.js";
|
|
|
4
4
|
import { AvatarGroup as f } from "./components/Avatar/AvatarGroup.js";
|
|
5
5
|
import { Badge as n } from "./components/Badge/Badge.js";
|
|
6
6
|
import { BookmarksList as u } from "./components/Bookmarks/BookmarksList.js";
|
|
7
|
-
import { BookmarksListItem as
|
|
8
|
-
import { QueryItem as
|
|
9
|
-
import { ButtonBase as
|
|
7
|
+
import { BookmarksListItem as l } from "./components/Bookmarks/BookmarksListItem.js";
|
|
8
|
+
import { QueryItem as g, QueryLabel as D } from "./components/Bookmarks/QueryLabel.js";
|
|
9
|
+
import { ButtonBase as M } from "./components/Button/ButtonBase.js";
|
|
10
10
|
import { ButtonLabel as I } from "./components/Button/ButtonLabel.js";
|
|
11
11
|
import { ButtonIcon as b } from "./components/Button/ButtonIcon.js";
|
|
12
12
|
import { Button as S } from "./components/Button/Button.js";
|
|
@@ -30,10 +30,10 @@ import { DialogHeader as ao } from "./components/Dialog/DialogHeader.js";
|
|
|
30
30
|
import { DialogHeaderBase as xo } from "./components/Dialog/DialogHeaderBase.js";
|
|
31
31
|
import { DialogHeadings as io } from "./components/Dialog/DialogHeadings.js";
|
|
32
32
|
import { DialogHistory as so } from "./components/Dialog/DialogHistory.js";
|
|
33
|
-
import { DialogNav as
|
|
34
|
-
import { DialogSectionBase as
|
|
33
|
+
import { DialogNav as Bo } from "./components/Dialog/DialogNav.js";
|
|
34
|
+
import { DialogSectionBase as co } from "./components/Dialog/DialogSectionBase.js";
|
|
35
35
|
import { DialogSeenBy as Do } from "./components/Dialog/DialogSeenBy.js";
|
|
36
|
-
import { DialogSelect as
|
|
36
|
+
import { DialogSelect as Mo } from "./components/Dialog/DialogSelect.js";
|
|
37
37
|
import { DialogStatus as yo, DialogStatusEnum as bo } from "./components/Dialog/DialogStatus.js";
|
|
38
38
|
import { DialogTitle as So } from "./components/Dialog/DialogTitle.js";
|
|
39
39
|
import { DialogTouchedBy as Ao } from "./components/Dialog/DialogTouchedBy.js";
|
|
@@ -48,88 +48,94 @@ import { DrawerOrDropdown as qo } from "./components/Dropdown/DrawerOrDropdown.j
|
|
|
48
48
|
import { Footer as Jo } from "./components/Footer/Footer.js";
|
|
49
49
|
import { AccountMenu as Vo } from "./components/GlobalMenu/AccountMenu.js";
|
|
50
50
|
import { GlobalMenu as Xo } from "./components/GlobalMenu/GlobalMenu.js";
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
51
|
+
import { AccountButton as Zo } from "./components/GlobalMenu/AccountButton.js";
|
|
52
|
+
import { BackButton as $o } from "./components/GlobalMenu/BackButton.js";
|
|
53
|
+
import { LogoutButton as rr } from "./components/GlobalMenu/LogoutButton.js";
|
|
54
|
+
import { Header as tr } from "./components/Header/Header.js";
|
|
55
|
+
import { HeaderBase as ar } from "./components/Header/HeaderBase.js";
|
|
56
|
+
import { HeaderLogo as xr } from "./components/Header/HeaderLogo.js";
|
|
57
|
+
import { HeaderButton as ir } from "./components/Header/HeaderButton.js";
|
|
58
|
+
import { HistoryList as sr } from "./components/History/HistoryList.js";
|
|
59
|
+
import { HistoryItem as Br } from "./components/History/HistoryItem.js";
|
|
60
|
+
import { Icon as cr } from "./components/Icon/Icon.js";
|
|
61
|
+
import { SvgIcon as Dr } from "./components/Icon/SvgIcon.js";
|
|
62
|
+
import { CheckboxIcon as Mr } from "./components/Icon/CheckboxIcon.js";
|
|
63
|
+
import { RadioIcon as Ir } from "./components/Icon/RadioIcon.js";
|
|
64
|
+
import { ProgressIcon as br } from "./components/Icon/ProgressIcon.js";
|
|
65
|
+
import { iconsMap as Sr } from "./components/Icon/iconsMap.js";
|
|
66
|
+
import { LayoutBase as Ar } from "./components/Layout/LayoutBase.js";
|
|
67
|
+
import { LayoutBody as hr } from "./components/Layout/LayoutBody.js";
|
|
68
|
+
import { LayoutContent as Tr } from "./components/Layout/LayoutContent.js";
|
|
69
|
+
import { LayoutSidebar as Fr } from "./components/Layout/LayoutSidebar.js";
|
|
70
|
+
import { Layout as Or } from "./components/Layout/Layout.js";
|
|
71
|
+
import { ActionHeader as Er } from "./components/LayoutAction/ActionHeader.js";
|
|
72
|
+
import { ActionFooter as Qr } from "./components/LayoutAction/ActionFooter.js";
|
|
73
|
+
import { ActionMenu as Nr } from "./components/LayoutAction/ActionMenu.js";
|
|
74
|
+
import { ListItemBase as qr } from "./components/List/ListItemBase.js";
|
|
75
|
+
import { ListItem as Jr } from "./components/List/ListItem.js";
|
|
76
|
+
import { ListBase as Vr } from "./components/List/ListBase.js";
|
|
77
|
+
import { List as Xr } from "./components/List/List.js";
|
|
78
|
+
import { ListItemLabel as Zr } from "./components/List/ListItemLabel.js";
|
|
79
|
+
import { ListItemMedia as $r } from "./components/List/ListItemMedia.js";
|
|
80
|
+
import { ListItemAction as re } from "./components/List/ListItemAction.js";
|
|
81
|
+
import { MenuItemBase as te } from "./components/Menu/MenuItemBase.js";
|
|
82
|
+
import { MenuItemLabel as ae } from "./components/Menu/MenuItemLabel.js";
|
|
83
|
+
import { MenuItemMedia as xe } from "./components/Menu/MenuItemMedia.js";
|
|
84
|
+
import { MenuItem as ie } from "./components/Menu/MenuItem.js";
|
|
85
|
+
import { MenuInputField as se } from "./components/Menu/MenuInputField.js";
|
|
86
|
+
import { MenuOption as Be } from "./components/Menu/MenuOption.js";
|
|
87
|
+
import { MenuSearch as ce } from "./components/Menu/MenuSearch.js";
|
|
88
|
+
import { MenuHeader as De } from "./components/Menu/MenuHeader.js";
|
|
89
|
+
import { MenuItems as Me } from "./components/Menu/MenuItems.js";
|
|
90
|
+
import { MenuBase as Ie, MenuList as ye, MenuListItem as be } from "./components/Menu/MenuBase.js";
|
|
91
|
+
import { Menu as Se } from "./components/Menu/Menu.js";
|
|
92
|
+
import { MetaBase as Ae } from "./components/Meta/MetaBase.js";
|
|
93
|
+
import { MetaList as he, MetaListItem as Ce } from "./components/Meta/MetaList.js";
|
|
94
|
+
import { MetaItemBase as ve } from "./components/Meta/MetaItemBase.js";
|
|
95
|
+
import { MetaItemMedia as Pe } from "./components/Meta/MetaItemMedia.js";
|
|
96
|
+
import { MetaItemLabel as Re } from "./components/Meta/MetaItemLabel.js";
|
|
97
|
+
import { MetaItem as Ge } from "./components/Meta/MetaItem.js";
|
|
98
|
+
import { MetaProgress as Ke } from "./components/Meta/MetaProgress.js";
|
|
99
|
+
import { MetaTimestamp as je } from "./components/Meta/MetaTimestamp.js";
|
|
100
|
+
import { RootProvider as ze, useRootContext as Je } from "./components/RootProvider/RootProvider.js";
|
|
101
|
+
import { Searchbar as Ve } from "./components/Searchbar/Searchbar.js";
|
|
102
|
+
import { Snackbar as Xe } from "./components/Snackbar/Snackbar.js";
|
|
103
|
+
import { SnackbarBase as Ze } from "./components/Snackbar/SnackbarBase.js";
|
|
104
|
+
import { SnackbarMedia as $e } from "./components/Snackbar/SnackbarMedia.js";
|
|
105
|
+
import { SnackbarLabel as rt } from "./components/Snackbar/SnackbarLabel.js";
|
|
106
|
+
import { ToolbarBase as tt } from "./components/Toolbar/ToolbarBase.js";
|
|
107
|
+
import { ToolbarButton as at } from "./components/Toolbar/ToolbarButton.js";
|
|
108
|
+
import { Toolbar as xt } from "./components/Toolbar/Toolbar.js";
|
|
109
|
+
import { PageBase as it } from "./components/Page/PageBase.js";
|
|
110
|
+
import { PageHeader as st } from "./components/Page/PageHeader.js";
|
|
111
|
+
import { SectionBase as Bt } from "./components/Page/SectionBase.js";
|
|
112
|
+
import { SectionHeader as ct } from "./components/Page/SectionHeader.js";
|
|
113
|
+
import { SectionFooter as Dt } from "./components/Page/SectionFooter.js";
|
|
114
|
+
import { Typography as Mt } from "./components/Typography/Typography.js";
|
|
115
|
+
import { Heading as It } from "./components/Typography/Heading.js";
|
|
116
|
+
import { useClickOutside as bt } from "./hooks/useClickOutside.js";
|
|
117
|
+
import { useEscapeKey as St } from "./hooks/useEscapeKey.js";
|
|
118
|
+
import { useMenu as At } from "./hooks/useMenu.js";
|
|
115
119
|
export {
|
|
120
|
+
Zo as AccountButton,
|
|
116
121
|
Vo as AccountMenu,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
122
|
+
Qr as ActionFooter,
|
|
123
|
+
Er as ActionHeader,
|
|
124
|
+
Nr as ActionMenu,
|
|
120
125
|
e as AttachmentLink,
|
|
121
126
|
m as AttachmentList,
|
|
122
127
|
p as Avatar,
|
|
123
128
|
f as AvatarGroup,
|
|
129
|
+
$o as BackButton,
|
|
124
130
|
To as Backdrop,
|
|
125
131
|
n as Badge,
|
|
126
132
|
u as BookmarksList,
|
|
127
|
-
|
|
133
|
+
l as BookmarksListItem,
|
|
128
134
|
S as Button,
|
|
129
|
-
|
|
135
|
+
M as ButtonBase,
|
|
130
136
|
b as ButtonIcon,
|
|
131
137
|
I as ButtonLabel,
|
|
132
|
-
|
|
138
|
+
Mr as CheckboxIcon,
|
|
133
139
|
A as ComboButton,
|
|
134
140
|
T as ContextMenu,
|
|
135
141
|
F as Dialog,
|
|
@@ -149,10 +155,10 @@ export {
|
|
|
149
155
|
Q as DialogListItem,
|
|
150
156
|
N as DialogListItemBase,
|
|
151
157
|
E as DialogMetadata,
|
|
152
|
-
|
|
153
|
-
|
|
158
|
+
Bo as DialogNav,
|
|
159
|
+
co as DialogSectionBase,
|
|
154
160
|
Do as DialogSeenBy,
|
|
155
|
-
|
|
161
|
+
Mo as DialogSelect,
|
|
156
162
|
yo as DialogStatus,
|
|
157
163
|
bo as DialogStatusEnum,
|
|
158
164
|
So as DialogTitle,
|
|
@@ -166,71 +172,73 @@ export {
|
|
|
166
172
|
ho as DropdownBase,
|
|
167
173
|
Jo as Footer,
|
|
168
174
|
Xo as GlobalMenu,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
tr as Header,
|
|
176
|
+
ar as HeaderBase,
|
|
177
|
+
ir as HeaderButton,
|
|
178
|
+
xr as HeaderLogo,
|
|
179
|
+
It as Heading,
|
|
180
|
+
Br as HistoryItem,
|
|
181
|
+
sr as HistoryList,
|
|
182
|
+
cr as Icon,
|
|
177
183
|
h as IconButton,
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
184
|
+
Or as Layout,
|
|
185
|
+
Ar as LayoutBase,
|
|
186
|
+
hr as LayoutBody,
|
|
187
|
+
Tr as LayoutContent,
|
|
188
|
+
Fr as LayoutSidebar,
|
|
189
|
+
Xr as List,
|
|
190
|
+
Vr as ListBase,
|
|
191
|
+
Jr as ListItem,
|
|
192
|
+
re as ListItemAction,
|
|
193
|
+
qr as ListItemBase,
|
|
194
|
+
Zr as ListItemLabel,
|
|
195
|
+
$r as ListItemMedia,
|
|
196
|
+
rr as LogoutButton,
|
|
197
|
+
Se as Menu,
|
|
198
|
+
Ie as MenuBase,
|
|
199
|
+
De as MenuHeader,
|
|
200
|
+
se as MenuInputField,
|
|
201
|
+
ie as MenuItem,
|
|
202
|
+
te as MenuItemBase,
|
|
203
|
+
ae as MenuItemLabel,
|
|
204
|
+
xe as MenuItemMedia,
|
|
205
|
+
Me as MenuItems,
|
|
206
|
+
ye as MenuList,
|
|
207
|
+
be as MenuListItem,
|
|
208
|
+
Be as MenuOption,
|
|
209
|
+
ce as MenuSearch,
|
|
210
|
+
Ae as MetaBase,
|
|
211
|
+
Ge as MetaItem,
|
|
212
|
+
ve as MetaItemBase,
|
|
213
|
+
Re as MetaItemLabel,
|
|
214
|
+
Pe as MetaItemMedia,
|
|
215
|
+
he as MetaList,
|
|
216
|
+
Ce as MetaListItem,
|
|
217
|
+
Ke as MetaProgress,
|
|
218
|
+
je as MetaTimestamp,
|
|
219
|
+
it as PageBase,
|
|
220
|
+
st as PageHeader,
|
|
221
|
+
br as ProgressIcon,
|
|
222
|
+
g as QueryItem,
|
|
215
223
|
D as QueryLabel,
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
224
|
+
Ir as RadioIcon,
|
|
225
|
+
ze as RootProvider,
|
|
226
|
+
Ve as Searchbar,
|
|
227
|
+
Bt as SectionBase,
|
|
228
|
+
Dt as SectionFooter,
|
|
229
|
+
ct as SectionHeader,
|
|
230
|
+
Xe as Snackbar,
|
|
231
|
+
Ze as SnackbarBase,
|
|
232
|
+
rt as SnackbarLabel,
|
|
233
|
+
$e as SnackbarMedia,
|
|
234
|
+
Dr as SvgIcon,
|
|
235
|
+
xt as Toolbar,
|
|
236
|
+
tt as ToolbarBase,
|
|
237
|
+
at as ToolbarButton,
|
|
238
|
+
Mt as Typography,
|
|
239
|
+
Sr as iconsMap,
|
|
240
|
+
bt as useClickOutside,
|
|
241
|
+
St as useEscapeKey,
|
|
242
|
+
At as useMenu,
|
|
243
|
+
Je as useRootContext
|
|
236
244
|
};
|