@altinn/altinn-components 0.29.1 → 0.29.3
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/dist/assets/Badge.css +1 -1
- package/dist/assets/SettingsItem.css +1 -1
- package/dist/assets/SnackbarItem.css +1 -1
- package/dist/assets/TimelineLink.css +1 -1
- package/dist/components/Badge/Badge.js +5 -5
- package/dist/components/Dashboard/DashboardHeader.js +11 -11
- package/dist/components/List/ListItemHeader.js +7 -7
- package/dist/components/Settings/SettingsItem.js +13 -13
- package/dist/components/Settings/SettingsList.js +30 -0
- package/dist/components/Settings/SettingsSection.js +20 -0
- package/dist/components/Settings/index.js +6 -4
- package/dist/components/Snackbar/SnackbarItem.js +36 -37
- package/dist/components/Snackbar/useSnackbar.js +6 -6
- package/dist/components/Timeline/TimelineLink.js +18 -19
- package/dist/components/index.js +47 -45
- package/dist/index.js +73 -71
- package/dist/types/lib/components/Account/AccountList.stories.d.ts +16 -6
- package/dist/types/lib/components/Account/AccountListItem.stories.d.ts +2 -2
- package/dist/types/lib/components/Account/AccountMenu.stories.d.ts +1 -1
- package/dist/types/lib/components/Account/AccountSettingsList.stories.d.ts +14 -0
- package/dist/types/lib/components/ActivityLog/ActivityLog.stories.d.ts +1 -0
- package/dist/types/lib/components/Article/ArticleContact.stories.d.ts +1 -1
- package/dist/types/lib/components/Article/ArticleHeader.stories.d.ts +1 -1
- package/dist/types/lib/components/Attachment/AttachmentLink.stories.d.ts +1 -1
- package/dist/types/lib/components/Attachment/AttachmentList.stories.d.ts +1 -1
- package/dist/types/lib/components/Avatar/AvatarGroup.stories.d.ts +1 -1
- package/dist/types/lib/components/Avatar/avatar.stories.d.ts +1 -1
- package/dist/types/lib/components/Badge/Badge.d.ts +1 -1
- package/dist/types/lib/components/Badge/Badge.stories.d.ts +2 -1
- package/dist/types/lib/components/Bookmarks/BookmarksListItem.stories.d.ts +1 -1
- package/dist/types/lib/components/Bookmarks/BookmarksSection.stories.d.ts +1 -1
- package/dist/types/lib/components/Button/Button.stories.d.ts +1 -1
- package/dist/types/lib/components/Button/ComboButton.stories.d.ts +1 -1
- package/dist/types/lib/components/Button/IconButton.stories.d.ts +1 -1
- package/dist/types/lib/components/Byline/Byline.stories.d.ts +1 -1
- package/dist/types/lib/components/ContextMenu/ContextMenu.stories.d.ts +1 -1
- package/dist/types/lib/components/Dashboard/DashboardHeader.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/Dialog.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogActions.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogAttachments.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogBody.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogBylline.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogHeader.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogHistory.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogList.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogListItem.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogMetadata.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogSeenBy.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogStatus.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogTouchedBy.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/SeenByLog.stories.d.ts +1 -1
- package/dist/types/lib/components/DsComponents/DsComponents.stories.d.ts +1 -1
- package/dist/types/lib/components/Footer/Footer.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/Checkbox.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/CheckboxOptions.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/Radio.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/RadioOptions.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/SearchField.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/SelectField.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/Switch.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/SwitchOptions.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/TextField.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/TextareaField.stories.d.ts +1 -1
- package/dist/types/lib/components/GlobalMenu/GlobalMenu.stories.d.ts +1 -1
- package/dist/types/lib/components/GlobalMenu/GlobalMenuButton.stories.d.ts +1 -1
- package/dist/types/lib/components/Header/HeaderButton.stories.d.ts +1 -1
- package/dist/types/lib/components/Header/LocaleSwitcher.stories.d.ts +1 -1
- package/dist/types/lib/components/Icon/CheckboxIcon.stories.d.ts +1 -1
- package/dist/types/lib/components/Icon/Icon.stories.d.ts +1 -1
- package/dist/types/lib/components/Icon/ProgressIcon.stories.d.ts +1 -1
- package/dist/types/lib/components/Icon/RadioIcon.stories.d.ts +1 -1
- package/dist/types/lib/components/LayoutAction/LayoutAction.stories.d.ts +1 -1
- package/dist/types/lib/components/List/ListItem.stories.d.ts +1 -1
- package/dist/types/lib/components/Menu/Menu.stories.d.ts +1 -1
- package/dist/types/lib/components/Menu/MenuOption.stories.d.ts +1 -1
- package/dist/types/lib/components/Menu/MenuSearch.stories.d.ts +1 -1
- package/dist/types/lib/components/Metadata/MetaItem.stories.d.ts +1 -1
- package/dist/types/lib/components/Metadata/MetaProgress.stories.d.ts +1 -1
- package/dist/types/lib/components/Metadata/MetaTimestamp.stories.d.ts +1 -1
- package/dist/types/lib/components/Metadata/Metadata.stories.d.ts +1 -1
- package/dist/types/lib/components/Page/Breadcrumbs.stories.d.ts +1 -1
- package/dist/types/lib/components/Page/ContactSection.stories.d.ts +1 -1
- package/dist/types/lib/components/Page/Flex.stories.d.ts +1 -1
- package/dist/types/lib/components/Page/Grid.stories.d.ts +1 -1
- package/dist/types/lib/components/Page/List.stories.d.ts +1 -1
- package/dist/types/lib/components/Page/PageMenu.stories.d.ts +1 -1
- package/dist/types/lib/components/Page/PageNav.stories.d.ts +1 -1
- package/dist/types/lib/components/Page/PageTabs.stories.d.ts +1 -1
- package/dist/types/lib/components/ResourceList/ResourceList.stories.d.ts +1 -1
- package/dist/types/lib/components/ResourceList/ResourceListItem.stories.d.ts +1 -1
- package/dist/types/lib/components/Searchbar/Autocomplete.stories.d.ts +1 -1
- package/dist/types/lib/components/Searchbar/Searchbar.stories.d.ts +1 -1
- package/dist/types/lib/components/Settings/Settings.stories.d.ts +0 -1
- package/dist/types/lib/components/Settings/SettingsItem.d.ts +1 -0
- package/dist/types/lib/components/Settings/SettingsItem.stories.d.ts +3 -2
- package/dist/types/lib/components/Settings/SettingsList.d.ts +9 -0
- package/dist/types/lib/components/Settings/SettingsSection.d.ts +9 -0
- package/dist/types/lib/components/Settings/index.d.ts +2 -1
- package/dist/types/lib/components/Snackbar/SnackbarItem.d.ts +0 -2
- package/dist/types/lib/components/Snackbar/SnackbarItem.stories.d.ts +1 -1
- package/dist/types/lib/components/Timeline/TimelineActivity.stories.d.ts +1 -1
- package/dist/types/lib/components/Timeline/TimelineFooter.stories.d.ts +1 -1
- package/dist/types/lib/components/Timeline/TimelineHeader.stories.d.ts +1 -1
- package/dist/types/lib/components/Timeline/TimelineSection.stories.d.ts +1 -1
- package/dist/types/lib/components/Toolbar/Toolbar.stories.d.ts +1 -1
- package/dist/types/lib/components/Toolbar/ToolbarAdd.stories.d.ts +1 -1
- package/dist/types/lib/components/Toolbar/ToolbarButton.stories.d.ts +1 -1
- package/dist/types/lib/components/Toolbar/ToolbarDate.stories.d.ts +1 -1
- package/dist/types/lib/components/Toolbar/ToolbarDaterange.stories.d.ts +1 -1
- package/dist/types/lib/components/Toolbar/ToolbarFilter.stories.d.ts +1 -1
- package/dist/types/lib/components/Toolbar/ToolbarMenu.stories.d.ts +1 -1
- package/dist/types/lib/components/Toolbar/ToolbarOptions.stories.d.ts +1 -1
- package/dist/types/lib/components/Toolbar/ToolbarSearch.stories.d.ts +1 -1
- package/dist/types/lib/components/Typography/Heading.stories.d.ts +1 -1
- package/dist/types/lib/components/Typography/Typography.stories.d.ts +1 -1
- package/dist/types/lib/stories/Profile/Settings.stories.d.ts +3 -4
- package/dist/types/lib/stories/Profile.stories.d.ts +7 -7
- package/package.json +12 -16
- package/dist/components/Settings/Settings.js +0 -20
- package/dist/types/lib/components/Settings/Settings.d.ts +0 -9
- package/dist/types/lib/stories/Profile/Accounts.stories.d.ts +0 -14
package/dist/index.js
CHANGED
|
@@ -4,8 +4,8 @@ import { AttachmentList as p } from "./components/Attachment/AttachmentList.js";
|
|
|
4
4
|
import { Avatar as f, isAvatarProps as i } from "./components/Avatar/Avatar.js";
|
|
5
5
|
import { AvatarGroup as n, isAvatarGroupProps as c } from "./components/Avatar/AvatarGroup.js";
|
|
6
6
|
import { AccountMenu as u } from "./components/Account/AccountMenu.js";
|
|
7
|
-
import { AccountListItem as
|
|
8
|
-
import { AccountList as
|
|
7
|
+
import { AccountListItem as g } from "./components/Account/AccountListItem.js";
|
|
8
|
+
import { AccountList as d } from "./components/Account/AccountList.js";
|
|
9
9
|
import { Badge as I } from "./components/Badge/Badge.js";
|
|
10
10
|
import { BookmarksListItem as b } from "./components/Bookmarks/BookmarksListItem.js";
|
|
11
11
|
import { EditableBookmark as M } from "./components/Bookmarks/EditableBookmark.js";
|
|
@@ -57,8 +57,8 @@ import { BackButton as fr } from "./components/GlobalMenu/BackButton.js";
|
|
|
57
57
|
import { LogoutButton as sr } from "./components/GlobalMenu/LogoutButton.js";
|
|
58
58
|
import { EndUserLabel as cr } from "./components/GlobalMenu/EndUserLabel.js";
|
|
59
59
|
import { GlobalMenu as ur } from "./components/GlobalMenu/GlobalMenu.js";
|
|
60
|
-
import { GlobalMenuButton as
|
|
61
|
-
import { Header as
|
|
60
|
+
import { GlobalMenuButton as gr } from "./components/GlobalMenu/GlobalMenuButton.js";
|
|
61
|
+
import { Header as dr } from "./components/Header/Header.js";
|
|
62
62
|
import { HeaderBase as Ir } from "./components/Header/HeaderBase.js";
|
|
63
63
|
import { HeaderLogo as br } from "./components/Header/HeaderLogo.js";
|
|
64
64
|
import { HeaderButton as Mr } from "./components/Header/HeaderButton.js";
|
|
@@ -84,7 +84,7 @@ import { ListItemLabel as ie } from "./components/List/ListItemLabel.js";
|
|
|
84
84
|
import { ListItemIcon as ne } from "./components/List/ListItemIcon.js";
|
|
85
85
|
import { ListItemControls as le } from "./components/List/ListItemControls.js";
|
|
86
86
|
import { ListItemSelect as De } from "./components/List/ListItemSelect.js";
|
|
87
|
-
import { ListItem as
|
|
87
|
+
import { ListItem as Le } from "./components/List/ListItem.js";
|
|
88
88
|
import { List as Be } from "./components/List/List.js";
|
|
89
89
|
import { MenuItemBase as Se } from "./components/Menu/MenuItemBase.js";
|
|
90
90
|
import { MenuItemLabel as Ae, getAriaLabelFromTitle as Me } from "./components/Menu/MenuItemLabel.js";
|
|
@@ -108,8 +108,8 @@ import { MetaListItem as pt, Metadata as xt } from "./components/Metadata/Metada
|
|
|
108
108
|
import { RootProvider as it, useRootContext as st } from "./components/RootProvider/RootProvider.js";
|
|
109
109
|
import { SearchItem as ct } from "./components/Search/SearchItem.js";
|
|
110
110
|
import { Searchbar as ut } from "./components/Searchbar/Searchbar.js";
|
|
111
|
-
import { SearchbarBase as
|
|
112
|
-
import { SearchbarField as
|
|
111
|
+
import { SearchbarBase as gt } from "./components/Searchbar/SearchbarBase.js";
|
|
112
|
+
import { SearchbarField as dt } from "./components/Searchbar/SearchbarField.js";
|
|
113
113
|
import { AutocompleteBase as It } from "./components/Searchbar/AutocompleteBase.js";
|
|
114
114
|
import { AutocompleteGroup as bt } from "./components/Searchbar/AutocompleteGroup.js";
|
|
115
115
|
import { Autocomplete as Mt } from "./components/Searchbar/Autocomplete.js";
|
|
@@ -133,8 +133,8 @@ import { TimelineLink as fm } from "./components/Timeline/TimelineLink.js";
|
|
|
133
133
|
import { ToolbarBase as sm } from "./components/Toolbar/ToolbarBase.js";
|
|
134
134
|
import { ToolbarButton as cm } from "./components/Toolbar/ToolbarButton.js";
|
|
135
135
|
import { Toolbar as um } from "./components/Toolbar/Toolbar.js";
|
|
136
|
-
import { ToolbarSearch as
|
|
137
|
-
import { ToolbarFilter as
|
|
136
|
+
import { ToolbarSearch as gm } from "./components/Toolbar/ToolbarSearch.js";
|
|
137
|
+
import { ToolbarFilter as dm } from "./components/Toolbar/ToolbarFilter.js";
|
|
138
138
|
import { ToolbarDaterange as Im } from "./components/Toolbar/ToolbarDaterange.js";
|
|
139
139
|
import { PageBase as bm } from "./components/Page/PageBase.js";
|
|
140
140
|
import { PageNav as Mm } from "./components/Page/PageNav.js";
|
|
@@ -160,8 +160,8 @@ import { AccessAreaList as fa } from "./components/AccessAreaList/AccessAreaList
|
|
|
160
160
|
import { AccessPackageListItem as sa } from "./components/AccessPackageList/AccessPackageListItem.js";
|
|
161
161
|
import { AccessPackageList as ca } from "./components/AccessPackageList/AccessPackageList.js";
|
|
162
162
|
import { Field as ua } from "./components/Forms/Field.js";
|
|
163
|
-
import { Fieldset as
|
|
164
|
-
import { Legend as
|
|
163
|
+
import { Fieldset as ga } from "./components/Forms/Fieldset.js";
|
|
164
|
+
import { Legend as da } from "./components/Forms/Legend.js";
|
|
165
165
|
import { Label as Ia } from "./components/Forms/Label.js";
|
|
166
166
|
import { Input as ba } from "./components/Forms/Input.js";
|
|
167
167
|
import { Textarea as Ma } from "./components/Forms/Textarea.js";
|
|
@@ -179,39 +179,40 @@ import { OptionsBase as qa } from "./components/Forms/OptionsBase.js";
|
|
|
179
179
|
import { RadioOptions as Wa } from "./components/Forms/RadioOptions.js";
|
|
180
180
|
import { SwitchOptions as Ya } from "./components/Forms/SwitchOptions.js";
|
|
181
181
|
import { CheckboxOptions as _a } from "./components/Forms/CheckboxOptions.js";
|
|
182
|
-
import {
|
|
182
|
+
import { SettingsSection as op } from "./components/Settings/SettingsSection.js";
|
|
183
183
|
import { SettingsItem as ep } from "./components/Settings/SettingsItem.js";
|
|
184
|
-
import {
|
|
185
|
-
import {
|
|
186
|
-
import {
|
|
187
|
-
import {
|
|
188
|
-
import {
|
|
189
|
-
import {
|
|
184
|
+
import { SettingsList as mp } from "./components/Settings/SettingsList.js";
|
|
185
|
+
import { DashboardHeader as pp } from "./components/Dashboard/DashboardHeader.js";
|
|
186
|
+
import { DashboardCard as fp } from "./components/Dashboard/DashboardCard.js";
|
|
187
|
+
import { DashboardIcon as sp } from "./components/Dashboard/DashboardIcon.js";
|
|
188
|
+
import { ActivityLog as cp } from "./components/ActivityLog/ActivityLog.js";
|
|
189
|
+
import { ActivityLogItem as up } from "./components/ActivityLog/ActivityLogItem.js";
|
|
190
|
+
import { ArticleHeader as gp } from "./components/Article/ArticleHeader.js";
|
|
190
191
|
import { ArticleContact as dp } from "./components/Article/ArticleContact.js";
|
|
191
|
-
import { Article as
|
|
192
|
-
import { useClickOutside as
|
|
193
|
-
import { useEscapeKey as
|
|
194
|
-
import { useMenu as
|
|
195
|
-
import { A as
|
|
196
|
-
import { D as
|
|
197
|
-
import { P as
|
|
198
|
-
import { V as
|
|
192
|
+
import { Article as Ip } from "./components/Article/Article.js";
|
|
193
|
+
import { useClickOutside as bp } from "./hooks/useClickOutside.js";
|
|
194
|
+
import { useEscapeKey as Mp } from "./hooks/useEscapeKey.js";
|
|
195
|
+
import { useMenu as kp } from "./hooks/useMenu.js";
|
|
196
|
+
import { A as yp, B as Cp, a as Pp, C as Hp, b as Fp, c as vp, D as wp, H as Op, L as Gp, d as Rp, e as Ep, P as Qp, f as Up, g as Vp, h as jp, i as zp, S as Kp, j as Np, T as qp, u as Jp } from "./usePagination-D247OF6_.js";
|
|
197
|
+
import { D as Xp } from "./index-D3Rt9ate.js";
|
|
198
|
+
import { P as Zp } from "./Paragraph-Bm-eoPYv.js";
|
|
199
|
+
import { V as $p } from "./index-CnWc2FNH.js";
|
|
199
200
|
export {
|
|
200
201
|
fa as AccessAreaList,
|
|
201
202
|
pa as AccessAreaListItem,
|
|
202
203
|
ca as AccessPackageList,
|
|
203
204
|
sa as AccessPackageListItem,
|
|
204
205
|
qm as AccordionSection,
|
|
205
|
-
|
|
206
|
-
|
|
206
|
+
d as AccountList,
|
|
207
|
+
g as AccountListItem,
|
|
207
208
|
u as AccountMenu,
|
|
208
209
|
$r as ActionFooter,
|
|
209
210
|
Zr as ActionHeader,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
cp as ActivityLog,
|
|
212
|
+
up as ActivityLogItem,
|
|
213
|
+
Ip as Article,
|
|
213
214
|
dp as ArticleContact,
|
|
214
|
-
|
|
215
|
+
gp as ArticleHeader,
|
|
215
216
|
m as AttachmentLink,
|
|
216
217
|
p as AttachmentList,
|
|
217
218
|
Mt as Autocomplete,
|
|
@@ -240,9 +241,9 @@ export {
|
|
|
240
241
|
jm as ContactSection,
|
|
241
242
|
j as ContextMenu,
|
|
242
243
|
pr as CurrentAccount,
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
244
|
+
fp as DashboardCard,
|
|
245
|
+
pp as DashboardHeader,
|
|
246
|
+
sp as DashboardIcon,
|
|
246
247
|
K as Dialog,
|
|
247
248
|
So as DialogActions,
|
|
248
249
|
Ao as DialogActivityLog,
|
|
@@ -275,40 +276,40 @@ export {
|
|
|
275
276
|
Wo as DrawerHeader,
|
|
276
277
|
er as DrawerOrDropdown,
|
|
277
278
|
jo as DropdownBase,
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
279
|
+
yp as DsAlert,
|
|
280
|
+
Cp as DsBadge,
|
|
281
|
+
Pp as DsButton,
|
|
282
|
+
Hp as DsCheckbox,
|
|
283
|
+
Fp as DsChip,
|
|
284
|
+
vp as DsCombobox,
|
|
285
|
+
Xp as DsDetails,
|
|
286
|
+
wp as DsDialog,
|
|
287
|
+
Op as DsHeading,
|
|
288
|
+
Gp as DsLink,
|
|
289
|
+
Rp as DsListItem,
|
|
290
|
+
Ep as DsListUnordered,
|
|
291
|
+
Qp as DsPagination,
|
|
292
|
+
Zp as DsParagraph,
|
|
293
|
+
Up as DsPopover,
|
|
294
|
+
Vp as DsSearch,
|
|
295
|
+
jp as DsSkeleton,
|
|
296
|
+
zp as DsSpinner,
|
|
297
|
+
Kp as DsSwitch,
|
|
298
|
+
Np as DsTabs,
|
|
299
|
+
qp as DsTextfield,
|
|
300
|
+
$p as DsValidationMessage,
|
|
300
301
|
M as EditableBookmark,
|
|
301
302
|
cr as EndUserLabel,
|
|
302
303
|
ua as Field,
|
|
303
304
|
wa as FieldBase,
|
|
304
|
-
|
|
305
|
+
ga as Fieldset,
|
|
305
306
|
Ka as FieldsetBase,
|
|
306
307
|
Fm as Flex,
|
|
307
308
|
mr as Footer,
|
|
308
309
|
ur as GlobalMenu,
|
|
309
|
-
|
|
310
|
+
gr as GlobalMenuButton,
|
|
310
311
|
wm as Grid,
|
|
311
|
-
|
|
312
|
+
dr as Header,
|
|
312
313
|
Ir as HeaderBase,
|
|
313
314
|
Mr as HeaderButton,
|
|
314
315
|
br as HeaderLogo,
|
|
@@ -324,9 +325,9 @@ export {
|
|
|
324
325
|
zr as LayoutBody,
|
|
325
326
|
Nr as LayoutContent,
|
|
326
327
|
Jr as LayoutSidebar,
|
|
327
|
-
|
|
328
|
+
da as Legend,
|
|
328
329
|
Be as List,
|
|
329
|
-
|
|
330
|
+
Le as ListItem,
|
|
330
331
|
te as ListItemBase,
|
|
331
332
|
le as ListItemControls,
|
|
332
333
|
xe as ListItemHeader,
|
|
@@ -378,14 +379,15 @@ export {
|
|
|
378
379
|
ja as SearchField,
|
|
379
380
|
ct as SearchItem,
|
|
380
381
|
ut as Searchbar,
|
|
381
|
-
|
|
382
|
-
|
|
382
|
+
gt as SearchbarBase,
|
|
383
|
+
dt as SearchbarField,
|
|
383
384
|
Um as Section,
|
|
384
385
|
Eo as SeenByLog,
|
|
385
386
|
ka as Select,
|
|
386
387
|
Ua as SelectField,
|
|
387
|
-
op as Settings,
|
|
388
388
|
ep as SettingsItem,
|
|
389
|
+
mp as SettingsList,
|
|
390
|
+
op as SettingsSection,
|
|
389
391
|
e as SizeEnum,
|
|
390
392
|
Kt as Skeleton,
|
|
391
393
|
Ot as Snackbar,
|
|
@@ -412,8 +414,8 @@ export {
|
|
|
412
414
|
sm as ToolbarBase,
|
|
413
415
|
cm as ToolbarButton,
|
|
414
416
|
Im as ToolbarDaterange,
|
|
415
|
-
|
|
416
|
-
|
|
417
|
+
dm as ToolbarFilter,
|
|
418
|
+
gm as ToolbarSearch,
|
|
417
419
|
Wm as Transmission,
|
|
418
420
|
Ym as TransmissionList,
|
|
419
421
|
_m as Typography,
|
|
@@ -421,10 +423,10 @@ export {
|
|
|
421
423
|
c as isAvatarGroupProps,
|
|
422
424
|
i as isAvatarProps,
|
|
423
425
|
Hr as isIconProps,
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
426
|
+
bp as useClickOutside,
|
|
427
|
+
Jp as useDsPagination,
|
|
428
|
+
Mp as useEscapeKey,
|
|
429
|
+
kp as useMenu,
|
|
428
430
|
st as useRootContext,
|
|
429
431
|
jt as useSnackbar
|
|
430
432
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
import { AccountListItemProps, AccountListProps } from '..';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
@@ -11,8 +11,18 @@ export default meta;
|
|
|
11
11
|
type Story = StoryObj<typeof meta>;
|
|
12
12
|
export declare const Default: Story;
|
|
13
13
|
export declare const WithGroups: Story;
|
|
14
|
-
export declare const
|
|
15
|
-
export declare const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
export declare const Controlled: () => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const Collapsible: () => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
interface AccountDetailsProps extends AccountListItemProps {
|
|
17
|
+
smsAlerts?: boolean;
|
|
18
|
+
emailAlerts?: boolean;
|
|
19
|
+
email?: string;
|
|
20
|
+
phone?: string;
|
|
21
|
+
address?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare const AccountToolbar: ({ id, type, isCurrentEndUser, favourite, onToggleFavourite }: AccountDetailsProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare const NotificationSettings: ({ smsAlerts, emailAlerts, email, phone, }: AccountDetailsProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare const CompanyDetails: ({ id, parentId, uniqueId, ...props }: AccountDetailsProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare const PersonDetails: ({ id, uniqueId, isCurrentEndUser, address, ...props }: AccountDetailsProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare const UserDetails: ({ id, uniqueId, phone, address, email, ...props }: AccountDetailsProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare const GroupDetails: ({ id, accountIds }: AccountDetailsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
import { AccountListItemProps } from '..';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
@@ -13,7 +13,7 @@ declare const meta: {
|
|
|
13
13
|
title: string;
|
|
14
14
|
description: string;
|
|
15
15
|
};
|
|
16
|
-
decorators: ((Story: import('
|
|
16
|
+
decorators: ((Story: import('storybook/internal/csf').PartialStoryFn<import('@storybook/react-vite').ReactRenderer, {
|
|
17
17
|
id: string;
|
|
18
18
|
type: import('./AccountListItem').AccountListItemType;
|
|
19
19
|
name: string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { SettingsListProps } from '..';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ items, groups }: SettingsListProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {};
|
|
8
|
+
args: SettingsListProps;
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Default: Story;
|
|
13
|
+
export declare const Controlled: () => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const Collapsible: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
component: ({ color, theme, title, description, children, items, }: import('./ArticleContact').ArticleContactProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
component: ({ icon, iconAltText, href, label }: import('./AttachmentLink').AttachmentLinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { Color, Theme } from '..';
|
|
3
3
|
export type BadgeColor = Color;
|
|
4
|
-
export type BadgeVariant = 'tinted' | 'base';
|
|
4
|
+
export type BadgeVariant = 'tinted' | 'base' | 'text';
|
|
5
5
|
/** Theme is deprecated, use variant instead */
|
|
6
6
|
export type BadgeTheme = Theme;
|
|
7
7
|
export type BadgeSize = 'sm' | 'xs';
|
|
@@ -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
|
component: ({ label, color, variant, theme, size, className, children }: import('./Badge').BadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -15,3 +15,4 @@ export declare const Alert: Story;
|
|
|
15
15
|
export declare const AlertXs: Story;
|
|
16
16
|
export declare const UnreadCount: Story;
|
|
17
17
|
export declare const UnreadCountXs: Story;
|
|
18
|
+
export declare const TextBadge: Story;
|
|
@@ -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
|
component: ({ loading, title, ariaLabel, params, ...rest }: import('./BookmarksListItem').BookmarksListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
component: ({ variant, color, size, selected, icon, iconSize, href, label, labelSize, children, className, loading, ariaLabel, ...rest }: import('./Button').ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
component: ({ loading, color, size, avatar, avatarGroup, datetime, children, as, ...props }: import('./Byline').BylineProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
component: ({ type, name, title, description, loading, children }: import('./DashboardHeader').DashboardHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
component: ({ items, maxItems, id, expandAltLabel }: import('./DialogActions').DialogActionsProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -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
|
component: ({ title, items }: import('./DialogAttachments.tsx').DialogAttachmentsProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -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
|
component: ({ loading, sender, recipient, recipientLabel, updatedAt, updatedAtLabel, children, seenByLog, }: import('./DialogBody').DialogBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
component: ({ sender, recipient, recipientLabel, grouped, loading, size, }: import('./DialogByline').DialogBylineProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -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
|
component: ({ loading, title, status, dueAt, dueAtLabel }: import('./DialogHeader').DialogHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
component: ({ items, collapsible, expanded, expandLabel, collapseLabel, }: import('./DialogHistory').DialogHistoryProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -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
|
component: ({ items, groups, sortGroupBy, isLoading }: import('./DialogList').DialogListProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
component: ({ className, loading, status, sender, updatedAt, updatedAtLabel, dueAt, dueAtLabel, trashedAt, trashedAtLabel, archivedAt, archivedAtLabel, seenBy, touchedBy, attachmentsCount, attachmentsLabel, transmissionsLabel, activityLog, }: import('./DialogMetadata').DialogMetadataProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
component: ({ size, label, seenByEndUser, seenByOthersCount, onClick, ...rest }: import('./DialogSeenBy').DialogSeenByProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
component: ({ loading, size, value, label }: import('./DialogStatus').DialogStatusProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -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
|
component: ({ loading, size, touchedBy, className }: import('./DialogTouchedBy').DialogTouchedByProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -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
|
component: ({ collapsible, expanded, title, items, endUserLabel }: import('./SeenByLog').SeenByLogProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
component: ({ options, ...restProps }: import('./CheckboxOptions').CheckboxOptionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
component: ({ name, options, ...restProps }: import('./RadioOptions').RadioOptionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
component: ({ size, label, children, ...rest }: import('./SelectField').SelectFieldProps) => import("react/jsx-runtime").JSX.Element;
|