@altinn/altinn-components 0.27.1 → 0.28.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/dist/{ChevronDown-CRAwzuD3.js → ChevronUp-C09jxB5F.js} +21 -2
- package/dist/{ClockDashed-PQgzLSPC.js → DialogActivityLog-wsSwha93.js} +24 -12
- package/dist/altinn-ds-overrides.css +15 -1
- package/dist/altinn-theme.css +5 -1
- package/dist/assets/Avatar.css +1 -1
- package/dist/assets/AvatarGroup.css +1 -1
- package/dist/assets/Byline.css +1 -1
- package/dist/assets/DialogListItem.css +1 -1
- package/dist/assets/Divider.css +1 -0
- package/dist/assets/Flex.css +1 -1
- package/dist/assets/Grid.css +1 -1
- package/dist/assets/HeaderButton.css +1 -1
- package/dist/assets/Heading.css +1 -1
- package/dist/assets/Icon.css +1 -1
- package/dist/assets/IconOrAvatar.css +1 -0
- package/dist/assets/ListItem.css +1 -0
- package/dist/assets/ListItemBase.css +1 -1
- package/dist/assets/ListItemHeader.css +1 -1
- package/dist/assets/ListItemIcon.css +1 -1
- package/dist/assets/ListItemLabel.css +1 -1
- package/dist/assets/ListItemLink.css +1 -1
- package/dist/assets/ListItemSelect.css +1 -1
- package/dist/assets/MenuItemIcon.css +1 -1
- package/dist/assets/MetaItemIcon.css +1 -0
- package/dist/assets/SearchItem.css +1 -0
- package/dist/assets/SettingsItem.css +1 -0
- package/dist/assets/TimelineBase.css +1 -1
- package/dist/assets/TimelineIcon.css +1 -0
- package/dist/components/AccessAreaList/AccessAreaList.js +2 -2
- package/dist/components/AccessAreaList/AccessAreaListItem.js +26 -25
- package/dist/components/AccessPackageList/AccessPackageList.js +3 -3
- package/dist/components/AccessPackageList/AccessPackageListItem.js +30 -11
- package/dist/components/ActivityLog/ActivityLog.js +14 -0
- package/dist/components/ActivityLog/ActivityLogItem.js +13 -0
- package/dist/components/ActivityLog/index.js +6 -0
- package/dist/components/Article/Article.js +11 -0
- package/dist/components/Article/ArticleContact.js +25 -0
- package/dist/components/Article/ArticleHeader.js +15 -0
- package/dist/components/Article/index.js +8 -0
- package/dist/components/Attachment/AttachmentLink.js +1 -1
- package/dist/components/Avatar/Avatar.js +47 -45
- package/dist/components/Avatar/AvatarGroup.js +27 -32
- package/dist/components/Avatar/index.js +6 -4
- package/dist/components/Bookmarks/BookmarksListItem.js +2 -2
- package/dist/components/Bookmarks/BookmarksSection.js +2 -2
- package/dist/components/Bookmarks/EditableBookmark.js +2 -2
- package/dist/components/Button/ButtonIcon.js +1 -1
- package/dist/components/Button/ComboButton.js +1 -2
- package/dist/components/Byline/Byline.js +18 -16
- package/dist/components/ContextMenu/ContextMenu.js +1 -1
- package/dist/components/{Page → Dashboard}/DashboardCard.js +18 -18
- package/dist/components/Dashboard/DashboardHeader.js +25 -0
- package/dist/components/Dashboard/DashboardIcon.js +26 -0
- package/dist/components/Dashboard/index.js +8 -0
- package/dist/components/Datepicker/DatepickerHeader.js +1 -1
- package/dist/components/Datepicker/DatepickerTable.js +1 -1
- package/dist/components/Dialog/Dialog.js +1 -1
- package/dist/components/Dialog/DialogActions.js +18 -19
- package/dist/components/Dialog/DialogActivity.js +10 -10
- package/dist/components/Dialog/DialogActivityLog.js +5 -11
- package/dist/components/Dialog/DialogAttachments.js +4 -4
- package/dist/components/Dialog/DialogBody.js +15 -15
- package/dist/components/Dialog/DialogByline.js +1 -1
- package/dist/components/Dialog/DialogContact.js +1 -1
- package/dist/components/Dialog/DialogHeader.js +1 -1
- package/dist/components/Dialog/DialogHeading.js +1 -1
- package/dist/components/Dialog/DialogHistory.js +1 -1
- package/dist/components/Dialog/DialogHistoryItem.js +9 -9
- package/dist/components/Dialog/DialogHistorySegment.js +1 -1
- package/dist/components/Dialog/DialogLayout.js +1 -1
- package/dist/components/Dialog/DialogList.js +1 -1
- package/dist/components/Dialog/DialogListGroup.js +7 -7
- package/dist/components/Dialog/DialogListItem.js +95 -95
- package/dist/components/Dialog/DialogMetadata.js +97 -63
- package/dist/components/Dialog/DialogSection.js +1 -1
- package/dist/components/Dialog/DialogSeenBy.js +2 -2
- package/dist/components/Dialog/DialogSelect.js +1 -1
- package/dist/components/Dialog/DialogStatus.js +3 -3
- package/dist/components/Dialog/DialogTabs.js +1 -1
- package/dist/components/Dialog/SeenByLog.js +9 -9
- package/dist/components/Dialog/index.js +7 -7
- package/dist/components/Divider/Divider.js +7 -0
- package/dist/components/Divider/index.js +4 -0
- package/dist/components/Dropdown/DrawerButton.js +1 -1
- package/dist/components/Dropdown/DrawerHeader.js +1 -1
- package/dist/components/Dropdown/DrawerOrDropdown.js +1 -1
- package/dist/components/DsComponents/index.js +1 -1
- package/dist/components/Forms/Checkbox.js +1 -1
- package/dist/components/Forms/CheckboxOptions.js +1 -1
- package/dist/components/Forms/Field.js +13 -4
- package/dist/components/Forms/FieldBase.js +1 -1
- package/dist/components/Forms/FieldsetBase.js +1 -1
- package/dist/components/Forms/Radio.js +1 -1
- package/dist/components/Forms/RadioOptions.js +1 -1
- package/dist/components/Forms/SelectField.js +1 -1
- package/dist/components/Forms/Switch.js +9 -9
- package/dist/components/Forms/SwitchOptions.js +1 -1
- package/dist/components/Forms/TextField.js +1 -1
- package/dist/components/Forms/TextareaField.js +1 -1
- package/dist/components/GlobalMenu/AccountButton.js +15 -15
- package/dist/components/GlobalMenu/AccountMenu.js +22 -24
- package/dist/components/GlobalMenu/BackButton.js +26 -7
- package/dist/components/GlobalMenu/EndUserLabel.js +30 -10
- package/dist/components/GlobalMenu/GlobalMenu.js +1 -1
- package/dist/components/GlobalMenu/LogoutButton.js +1 -1
- package/dist/components/Header/Header.js +2 -2
- package/dist/components/Header/HeaderBase.js +1 -1
- package/dist/components/Header/HeaderButton.js +62 -43
- package/dist/components/Header/HeaderLogo.js +1 -1
- package/dist/components/Header/LocaleButton.js +1 -1
- package/dist/components/Header/LocaleSwitcher.js +1 -1
- package/dist/components/Icon/Icon.js +29 -17
- package/dist/components/Icon/IconOrAvatar.js +23 -15
- package/dist/components/Icon/index.js +11 -10
- package/dist/components/Layout/Layout.js +1 -1
- package/dist/components/LayoutAction/ActionHeader.js +1 -1
- package/dist/components/LayoutAction/LayoutAction.js +1 -1
- package/dist/components/List/List.js +7 -16
- package/dist/components/List/ListBase.js +5 -5
- package/dist/components/List/ListItem.js +55 -60
- package/dist/components/List/ListItemBase.js +35 -45
- package/dist/components/List/ListItemHeader.js +75 -102
- package/dist/components/List/ListItemIcon.js +22 -10
- package/dist/components/List/ListItemLabel.js +48 -21
- package/dist/components/List/ListItemLink.js +28 -30
- package/dist/components/List/ListItemSelect.js +12 -12
- package/dist/components/List/index.js +4 -6
- package/dist/components/Menu/MenuItem.js +39 -58
- package/dist/components/Menu/MenuItemBase.js +1 -1
- package/dist/components/Menu/MenuItemIcon.js +21 -21
- package/dist/components/Menu/MenuItems.js +1 -1
- package/dist/components/Menu/MenuItemsVirtual.js +1 -1
- package/dist/components/Menu/MenuOption.js +1 -1
- package/dist/components/Menu/MenuSearch.js +1 -1
- package/dist/components/Metadata/MetaItem.js +24 -0
- package/dist/components/Metadata/MetaItemIcon.js +18 -0
- package/dist/components/Metadata/MetaProgress.js +16 -0
- package/dist/components/Metadata/MetaTimestamp.js +23 -0
- package/dist/components/{Meta → Metadata}/Metadata.js +1 -1
- package/dist/components/Metadata/index.js +19 -0
- package/dist/components/Page/AccordionSection.js +1 -1
- package/dist/components/Page/Breadcrumbs.js +36 -17
- package/dist/components/Page/ContactButtons.js +1 -1
- package/dist/components/Page/ContactSection.js +1 -1
- package/dist/components/Page/Flex.js +37 -35
- package/dist/components/Page/Grid.js +5 -5
- package/dist/components/Page/PageHeader.js +30 -32
- package/dist/components/Page/PageMenu.js +1 -1
- package/dist/components/Page/PageNav.js +37 -18
- package/dist/components/Page/PageTabs.js +1 -1
- package/dist/components/Page/Section.js +1 -1
- package/dist/components/Page/index.js +20 -26
- package/dist/components/Profile/AccountList.js +4 -4
- package/dist/components/Profile/AccountListItem.js +46 -48
- package/dist/components/ResourceList/ResourceList.js +3 -3
- package/dist/components/ResourceList/ResourceListItem.js +6 -6
- package/dist/components/Search/SearchItem.js +20 -0
- package/dist/components/Search/index.js +2 -21
- package/dist/components/{Search → Searchbar}/Autocomplete.js +8 -8
- package/dist/components/Searchbar/AutocompleteBase.js +11 -0
- package/dist/components/{Search → Searchbar}/AutocompleteItem.js +28 -26
- package/dist/components/Searchbar/index.js +23 -0
- package/dist/components/Settings/Settings.js +20 -0
- package/dist/components/Settings/SettingsItem.js +37 -0
- package/dist/components/Settings/index.js +6 -0
- package/dist/components/Snackbar/SnackbarItem.js +1 -1
- package/dist/components/Timeline/Timeline.js +1 -1
- package/dist/components/Timeline/TimelineActivity.js +1 -1
- package/dist/components/Timeline/TimelineBase.js +20 -23
- package/dist/components/Timeline/TimelineFooter.js +1 -1
- package/dist/components/Timeline/TimelineHeader.js +13 -21
- package/dist/components/Timeline/TimelineIcon.js +20 -0
- package/dist/components/Timeline/TimelineLink.js +1 -1
- package/dist/components/Timeline/TimelineSection.js +1 -1
- package/dist/components/Timeline/TimelineSegment.js +1 -1
- package/dist/components/Timeline/index.js +6 -4
- package/dist/components/Toolbar/ToolbarAccountMenu.js +1 -1
- package/dist/components/Toolbar/ToolbarAdd.js +1 -1
- package/dist/components/Toolbar/ToolbarButton.js +76 -59
- package/dist/components/Toolbar/ToolbarDaterange.js +1 -1
- package/dist/components/Toolbar/ToolbarFilter.js +1 -1
- package/dist/components/Toolbar/ToolbarMenu.js +1 -1
- package/dist/components/Toolbar/ToolbarOptions.js +1 -1
- package/dist/components/Toolbar/ToolbarSearch.js +1 -1
- package/dist/components/Transmission/Transmission.js +45 -43
- package/dist/components/Transmission/TransmissionList.js +9 -9
- package/dist/components/Typography/Heading.js +28 -22
- package/dist/components/Typography/Typography.js +14 -14
- package/dist/components/index.js +410 -389
- package/dist/index.js +416 -395
- package/dist/types/lib/components/AccessAreaList/AccessAreaListItem.d.ts +1 -1
- package/dist/types/lib/components/AccessPackageList/AccessPackageList.d.ts +2 -2
- package/dist/types/lib/components/AccessPackageList/AccessPackageListItem.d.ts +1 -1
- package/dist/types/lib/components/ActivityLog/ActivityLog.d.ts +5 -0
- package/dist/types/lib/components/ActivityLog/ActivityLog.stories.d.ts +8 -0
- package/dist/types/lib/components/ActivityLog/ActivityLogItem.d.ts +8 -0
- package/dist/types/lib/components/ActivityLog/index.d.ts +2 -0
- package/dist/types/lib/components/Article/Article.d.ts +7 -0
- package/dist/types/lib/components/Article/Article.stories.d.ts +19 -0
- package/dist/types/lib/components/Article/ArticleContact.d.ts +12 -0
- package/dist/types/lib/components/{Profile/AccountList.stories.d.ts → Article/ArticleContact.stories.d.ts} +3 -2
- package/dist/types/lib/components/Article/ArticleHeader.d.ts +7 -0
- package/dist/types/lib/components/{Page → Article}/ArticleHeader.stories.d.ts +2 -2
- package/dist/types/lib/components/Article/index.d.ts +3 -0
- package/dist/types/lib/components/Avatar/Avatar.d.ts +5 -2
- package/dist/types/lib/components/Avatar/AvatarGroup.d.ts +5 -1
- package/dist/types/lib/components/Avatar/AvatarGroup.stories.d.ts +7 -3
- package/dist/types/lib/components/Avatar/Examples.stories.d.ts +1 -1
- package/dist/types/lib/components/Avatar/avatar.stories.d.ts +10 -2
- package/dist/types/lib/components/Button/ComboButton.stories.d.ts +10 -0
- package/dist/types/lib/components/Button/IconButton.stories.d.ts +7 -0
- package/dist/types/lib/components/ContextMenu/ContextMenu.stories.d.ts +7 -0
- package/dist/types/lib/components/{Page → Dashboard}/DashboardCard.d.ts +2 -2
- package/dist/types/lib/components/Dashboard/DashboardIcon.d.ts +10 -0
- package/dist/types/lib/components/Dashboard/index.d.ts +3 -0
- package/dist/types/lib/components/Dialog/DialogActivity.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogActivityLog.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogAttachments.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogHistorySegment.d.ts +1 -2
- package/dist/types/lib/components/Dialog/DialogList.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogListItem.d.ts +3 -5
- package/dist/types/lib/components/Dialog/DialogSeenBy.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogStatus.d.ts +1 -1
- package/dist/types/lib/components/Divider/Divider.d.ts +8 -0
- package/dist/types/lib/components/Divider/index.d.ts +1 -0
- package/dist/types/lib/components/Forms/Field.d.ts +3 -2
- package/dist/types/lib/components/Forms/Switch.d.ts +2 -1
- package/dist/types/lib/components/Forms/Switch.stories.d.ts +1 -1
- package/dist/types/lib/components/Header/Header.d.ts +1 -1
- package/dist/types/lib/components/Icon/Icon.d.ts +6 -1
- package/dist/types/lib/components/Icon/Icon.stories.d.ts +3 -1
- package/dist/types/lib/components/Icon/IconOrAvatar.d.ts +2 -1
- package/dist/types/lib/components/LayoutAction/LayoutAction.stories.d.ts +5 -0
- package/dist/types/lib/components/List/List.d.ts +10 -6
- package/dist/types/lib/components/List/List.stories.d.ts +6 -12
- package/dist/types/lib/components/List/ListBase.d.ts +6 -5
- package/dist/types/lib/components/List/ListItem.d.ts +14 -18
- package/dist/types/lib/components/List/ListItem.stories.d.ts +6 -4
- package/dist/types/lib/components/List/ListItemBase.d.ts +8 -12
- package/dist/types/lib/components/List/ListItemHeader.d.ts +6 -14
- package/dist/types/lib/components/List/ListItemIcon.d.ts +7 -4
- package/dist/types/lib/components/List/ListItemLabel.d.ts +6 -6
- package/dist/types/lib/components/List/ListItemLink.d.ts +1 -3
- package/dist/types/lib/components/List/ListItemSelect.d.ts +4 -10
- package/dist/types/lib/components/List/Specimens.stories.d.ts +6 -3
- package/dist/types/lib/components/List/index.d.ts +0 -1
- package/dist/types/lib/components/Menu/MenuItem.d.ts +5 -5
- package/dist/types/lib/components/Menu/MenuItemBase.d.ts +1 -1
- package/dist/types/lib/components/Menu/MenuItemIcon.d.ts +9 -7
- package/dist/types/lib/components/{Meta → Metadata}/MetaItem.d.ts +1 -1
- package/dist/types/lib/components/{Meta/MetaItemMedia.d.ts → Metadata/MetaItemIcon.d.ts} +2 -2
- package/dist/types/lib/components/{Meta → Metadata}/MetaProgress.d.ts +1 -1
- package/dist/types/lib/components/{Meta → Metadata}/MetaTimestamp.d.ts +1 -1
- package/dist/types/lib/components/Metadata/Metadata.stories.d.ts +7 -0
- package/dist/types/lib/components/{Meta → Metadata}/index.d.ts +1 -1
- package/dist/types/lib/components/Page/ContactSection.stories.d.ts +7 -0
- package/dist/types/lib/components/Page/Flex.d.ts +3 -1
- package/dist/types/lib/components/Page/Grid.d.ts +1 -1
- package/dist/types/lib/components/Page/PageHeader.d.ts +1 -1
- package/dist/types/lib/components/Page/PageHeader.stories.d.ts +1 -1
- package/dist/types/lib/components/Page/PageMenu.stories.d.ts +7 -0
- package/dist/types/lib/components/Page/index.d.ts +0 -3
- package/dist/types/lib/components/Profile/AccountListItem.d.ts +2 -1
- package/dist/types/lib/components/Profile/AccountListItem.stories.d.ts +57 -0
- package/dist/types/lib/components/ResourceList/ResourceList.d.ts +2 -2
- package/dist/types/lib/components/ResourceList/ResourceList.stories.d.ts +10 -3
- package/dist/types/lib/components/Search/SearchItem.d.ts +14 -0
- package/dist/types/lib/components/Search/index.d.ts +1 -10
- package/dist/types/lib/components/{Search → Searchbar}/Autocomplete.d.ts +1 -1
- package/dist/types/lib/components/{Search → Searchbar}/Searchbar.stories.d.ts +0 -1
- package/dist/types/lib/components/Searchbar/index.d.ts +10 -0
- package/dist/types/lib/components/Settings/Settings.d.ts +9 -0
- package/dist/types/lib/components/Settings/Settings.stories.d.ts +14 -0
- package/dist/types/lib/components/Settings/SettingsItem.d.ts +12 -0
- package/dist/types/lib/components/Settings/SettingsItem.stories.d.ts +51 -0
- package/dist/types/lib/components/Settings/index.d.ts +2 -0
- package/dist/types/lib/components/Timeline/TimelineActivity.stories.d.ts +0 -1
- package/dist/types/lib/components/Timeline/TimelineBase.d.ts +5 -5
- package/dist/types/lib/components/Timeline/TimelineHeader.d.ts +3 -5
- package/dist/types/lib/components/Timeline/TimelineHeader.stories.d.ts +2 -2
- package/dist/types/lib/components/Timeline/TimelineIcon.d.ts +11 -0
- package/dist/types/lib/components/Timeline/TimelineSegment.d.ts +2 -2
- package/dist/types/lib/components/Timeline/index.d.ts +1 -0
- package/dist/types/lib/components/Transmission/Transmission.d.ts +1 -1
- package/dist/types/lib/components/Transmission/Transmission.stories.d.ts +6 -9
- package/dist/types/lib/components/Typography/Heading.d.ts +9 -5
- package/dist/types/lib/components/Typography/Heading.stories.d.ts +1 -1
- package/dist/types/lib/components/Typography/Typography.d.ts +3 -3
- package/dist/types/lib/components/Typography/Typography.stories.d.ts +1 -1
- package/dist/types/lib/components/index.d.ts +7 -1
- package/dist/types/lib/stories/Admin/Settings.stories.d.ts +10 -0
- package/dist/types/lib/stories/Admin.stories.d.ts +18 -0
- package/dist/types/lib/stories/Inbox.stories.d.ts +20 -0
- package/dist/types/lib/stories/Portal.stories.d.ts +14 -0
- package/dist/types/lib/stories/Profile/Accounts.stories.d.ts +19 -0
- package/dist/types/lib/stories/Profile/Settings.stories.d.ts +16 -0
- package/dist/types/lib/stories/Profile.stories.d.ts +16 -0
- package/dist/types/lib/types/color.d.ts +2 -2
- package/dist/{usePagination-B4GfH2GQ.js → usePagination-Cpl0NjJN.js} +19 -20
- package/package.json +2 -2
- package/dist/ArrowLeft-C91mClJx.js +0 -25
- package/dist/ArrowRedo-BYz1MHxK.js +0 -25
- package/dist/ArrowRight-OLgmLkGy.js +0 -25
- package/dist/Bookmark-85oKfr9m.js +0 -25
- package/dist/Buildings2-DO6ftvL7.js +0 -25
- package/dist/ChevronUp-H8Nuww4h.js +0 -25
- package/dist/DocPencil-CVby07uu.js +0 -25
- package/dist/Handshake-Bz9FuL-x.js +0 -25
- package/dist/Inbox-z7qqLz8Y.js +0 -25
- package/dist/Package-ASRzCHA7.js +0 -25
- package/dist/PadlockLocked-xJsxvaHH.js +0 -25
- package/dist/PersonCircle-DMwECpgW.js +0 -25
- package/dist/Plus-B6MBOAcH.js +0 -25
- package/dist/Trash-DMlYh49i.js +0 -44
- package/dist/assets/MetaItemMedia.css +0 -1
- package/dist/assets/NotificationsItem.css +0 -1
- package/dist/companyAccess-DVKbpCnw.js +0 -626
- package/dist/components/Meta/MetaItem.js +0 -19
- package/dist/components/Meta/MetaItemMedia.js +0 -17
- package/dist/components/Meta/MetaProgress.js +0 -11
- package/dist/components/Meta/MetaTimestamp.js +0 -18
- package/dist/components/Meta/index.js +0 -19
- package/dist/components/Page/ArticleHeader.js +0 -16
- package/dist/components/Page/DashboardHeader.js +0 -25
- package/dist/components/Search/AutocompleteBase.js +0 -11
- package/dist/globalMenu-CtokaeGw.js +0 -124
- package/dist/types/lib/components/AccessAreaList/AccessAreaListItem.stories.d.ts +0 -40
- package/dist/types/lib/components/List/ListBase.stories.d.ts +0 -12
- package/dist/types/lib/components/List/MultilevelList.stories.d.ts +0 -5
- package/dist/types/lib/components/List/Patterns.stories.d.ts +0 -8
- package/dist/types/lib/components/Page/ArticleHeader.d.ts +0 -8
- package/dist/types/lib/components/Page/Examples.stories.d.ts +0 -27
- /package/dist/components/{Meta → Metadata}/MetaBase.js +0 -0
- /package/dist/components/{Meta → Metadata}/MetaItemBase.js +0 -0
- /package/dist/components/{Meta → Metadata}/MetaItemLabel.js +0 -0
- /package/dist/components/{Search → Searchbar}/AutocompleteGroup.js +0 -0
- /package/dist/components/{Search → Searchbar}/QueryLabel.js +0 -0
- /package/dist/components/{Search → Searchbar}/ScopeListItem.js +0 -0
- /package/dist/components/{Search → Searchbar}/SearchField.js +0 -0
- /package/dist/components/{Search → Searchbar}/Searchbar.js +0 -0
- /package/dist/components/{Search → Searchbar}/SearchbarBase.js +0 -0
- /package/dist/components/{Search → Searchbar}/SuggestListItem.js +0 -0
- /package/dist/types/lib/components/{Page → Dashboard}/DashboardHeader.d.ts +0 -0
- /package/dist/types/lib/components/{Page → Dashboard}/DashboardHeader.stories.d.ts +0 -0
- /package/dist/types/lib/components/{Meta → Metadata}/MetaBase.d.ts +0 -0
- /package/dist/types/lib/components/{Meta → Metadata}/MetaItem.stories.d.ts +0 -0
- /package/dist/types/lib/components/{Meta → Metadata}/MetaItemBase.d.ts +0 -0
- /package/dist/types/lib/components/{Meta → Metadata}/MetaItemLabel.d.ts +0 -0
- /package/dist/types/lib/components/{Meta → Metadata}/MetaProgress.stories.d.ts +0 -0
- /package/dist/types/lib/components/{Meta → Metadata}/MetaTimestamp.stories.d.ts +0 -0
- /package/dist/types/lib/components/{Meta → Metadata}/Metadata.d.ts +0 -0
- /package/dist/types/lib/components/{Search → Searchbar}/Autocomplete.stories.d.ts +0 -0
- /package/dist/types/lib/components/{Search → Searchbar}/AutocompleteBase.d.ts +0 -0
- /package/dist/types/lib/components/{Search → Searchbar}/AutocompleteGroup.d.ts +0 -0
- /package/dist/types/lib/components/{Search → Searchbar}/AutocompleteItem.d.ts +0 -0
- /package/dist/types/lib/components/{Search → Searchbar}/QueryLabel.d.ts +0 -0
- /package/dist/types/lib/components/{Search → Searchbar}/ScopeListItem.d.ts +0 -0
- /package/dist/types/lib/components/{Search → Searchbar}/SearchField.d.ts +0 -0
- /package/dist/types/lib/components/{Search → Searchbar}/Searchbar.d.ts +0 -0
- /package/dist/types/lib/components/{Search → Searchbar}/SearchbarBase.d.ts +0 -0
- /package/dist/types/lib/components/{Search → Searchbar}/SuggestListItem.d.ts +0 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ color, size, expanded, icon, label, title, value, description, children, ...item }: import('./SettingsItem').SettingsItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
tags: string[];
|
|
6
|
+
parameters: {};
|
|
7
|
+
args: {};
|
|
8
|
+
decorators: ((Story: import('@storybook/core/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
9
|
+
id?: string | undefined;
|
|
10
|
+
collapsible?: boolean | undefined;
|
|
11
|
+
expanded?: boolean | undefined;
|
|
12
|
+
icon?: import('..').SvgElement | import('..').IconProps | React.ReactNode | import('..').AvatarProps | import('..').AvatarGroupProps;
|
|
13
|
+
label?: React.ReactNode;
|
|
14
|
+
value?: string | number | undefined;
|
|
15
|
+
title?: string | undefined;
|
|
16
|
+
description?: string | undefined;
|
|
17
|
+
interactive?: boolean | undefined;
|
|
18
|
+
as?: React.ElementType | undefined;
|
|
19
|
+
tabIndex?: number | undefined;
|
|
20
|
+
color?: import('..').ListItemColor | undefined;
|
|
21
|
+
variant?: string | undefined;
|
|
22
|
+
size?: import('..').ListItemSize | undefined;
|
|
23
|
+
shadow?: import('..').Shadow | undefined;
|
|
24
|
+
border?: import('..').ListItemBorder | undefined;
|
|
25
|
+
className?: string | undefined;
|
|
26
|
+
loading?: boolean | undefined;
|
|
27
|
+
disabled?: boolean | undefined;
|
|
28
|
+
hidden?: boolean | undefined;
|
|
29
|
+
active?: boolean | undefined;
|
|
30
|
+
selected?: boolean | undefined;
|
|
31
|
+
onMouseEnter?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
32
|
+
children?: React.ReactNode;
|
|
33
|
+
select?: import('..').ListItemSelectProps | undefined;
|
|
34
|
+
linkIcon?: boolean | undefined;
|
|
35
|
+
badge?: React.ReactNode | import('..').BadgeProps;
|
|
36
|
+
controls?: React.ReactNode;
|
|
37
|
+
ariaLabel?: string | undefined;
|
|
38
|
+
href?: string | undefined;
|
|
39
|
+
onClick?: (() => void) | undefined;
|
|
40
|
+
onKeyPress?: React.KeyboardEventHandler | undefined;
|
|
41
|
+
describedby?: string | undefined;
|
|
42
|
+
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
43
|
+
};
|
|
44
|
+
export default meta;
|
|
45
|
+
type Story = StoryObj<typeof meta>;
|
|
46
|
+
export declare const Title: Story;
|
|
47
|
+
export declare const TitleDescription: Story;
|
|
48
|
+
export declare const TitleValue: Story;
|
|
49
|
+
export declare const CustomLabel: Story;
|
|
50
|
+
export declare const Company: Story;
|
|
51
|
+
export declare const Person: Story;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElementType, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { TimelineIconProps, Color, Theme } from '..';
|
|
3
3
|
export type TimelineTheme = 'base' | 'surface';
|
|
4
4
|
export type TimelineBorder = 'strong' | 'solid' | 'dashed' | 'hidden';
|
|
5
5
|
export type TimelineBorderWidth = 1 | 2;
|
|
@@ -10,10 +10,10 @@ export interface TimelineBaseProps {
|
|
|
10
10
|
border?: TimelineBorder;
|
|
11
11
|
color?: Color;
|
|
12
12
|
theme?: Theme;
|
|
13
|
-
icon?:
|
|
14
|
-
iconColor?:
|
|
15
|
-
|
|
13
|
+
icon?: TimelineIconProps['icon'];
|
|
14
|
+
iconColor?: TimelineIconProps['color'];
|
|
15
|
+
iconTheme?: TimelineIconProps['theme'];
|
|
16
16
|
children?: ReactNode;
|
|
17
17
|
id?: string;
|
|
18
18
|
}
|
|
19
|
-
export declare const TimelineBase: ({ as, loading, border, level, color, icon, iconColor,
|
|
19
|
+
export declare const TimelineBase: ({ as, loading, border, level, color, icon, iconColor, iconTheme, children, id, ...props }: TimelineBaseProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { Color, FlexProps,
|
|
2
|
+
import { Color, FlexProps, TimelineIconProps } from '..';
|
|
3
3
|
export type TimelineHeaderSize = 'sm' | 'lg';
|
|
4
4
|
export interface TimelineHeaderProps {
|
|
5
5
|
as?: FlexProps['as'];
|
|
6
6
|
loading?: boolean;
|
|
7
7
|
color?: Color;
|
|
8
|
-
|
|
9
|
-
icon?: IconOrAvatarProps['icon'];
|
|
10
|
-
iconTheme?: IconOrAvatarProps['iconTheme'];
|
|
8
|
+
icon?: TimelineIconProps['icon'];
|
|
11
9
|
children?: ReactNode;
|
|
12
10
|
}
|
|
13
|
-
export declare const TimelineHeader: ({ as, loading, color, icon,
|
|
11
|
+
export declare const TimelineHeader: ({ as, loading, color, icon, children }: TimelineHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: ({ as, loading, color, icon,
|
|
4
|
+
component: ({ as, loading, color, icon, children }: import('./TimelineHeader').TimelineHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
tags: string[];
|
|
6
6
|
parameters: {};
|
|
7
7
|
args: {
|
|
8
8
|
as: "header";
|
|
9
|
-
|
|
9
|
+
icon: import('..').AvatarProps;
|
|
10
10
|
children: import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { AvatarGroupProps, AvatarProps, Color, IconProps, SvgElement, Theme } from '..';
|
|
3
|
+
export type TimelineIconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
export interface TimelineIconProps {
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
size?: TimelineIconSize;
|
|
7
|
+
icon?: AvatarProps | AvatarGroupProps | IconProps | SvgElement | ReactNode;
|
|
8
|
+
color?: Color;
|
|
9
|
+
theme?: Theme;
|
|
10
|
+
}
|
|
11
|
+
export declare const TimelineIcon: ({ loading, size, color, theme, icon }: TimelineIconProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { FlexMargin, FlexSpacing,
|
|
2
|
+
import { FlexMargin, FlexSpacing, TimelineBaseProps, TimelineBorder, TypographyProps } from '..';
|
|
3
3
|
export interface TimelineSegmentProps extends TimelineBaseProps {
|
|
4
4
|
id?: string;
|
|
5
5
|
loading?: boolean;
|
|
6
|
-
icon?:
|
|
6
|
+
icon?: TimelineBaseProps['icon'];
|
|
7
7
|
datetime?: string;
|
|
8
8
|
border?: TimelineBorder;
|
|
9
9
|
byline?: ReactNode;
|
|
@@ -15,4 +15,4 @@ export interface TransmissionProps extends Omit<ListItemProps, 'children'> {
|
|
|
15
15
|
type?: TransmissionType;
|
|
16
16
|
children?: ReactNode | (() => ReactElement);
|
|
17
17
|
}
|
|
18
|
-
export declare const Transmission: ({ size,
|
|
18
|
+
export declare const Transmission: ({ size, variant, color, title, createdAt, createdAtLabel, badge, sender, summary, attachments, type, children, ...item }: TransmissionProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TransmissionProps } from '..';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: ({ size,
|
|
4
|
+
component: ({ size, variant, color, title, createdAt, createdAtLabel, badge, sender, summary, attachments, type, children, ...item }: TransmissionProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
tags: string[];
|
|
6
6
|
parameters: {};
|
|
7
7
|
args: {
|
|
@@ -17,32 +17,29 @@ declare const meta: {
|
|
|
17
17
|
attachments?: import('..').AttachmentListProps;
|
|
18
18
|
type?: import('./Transmission').TransmissionType;
|
|
19
19
|
children?: React.ReactNode | (() => React.ReactElement);
|
|
20
|
+
border?: import('..').ListItemBorder | undefined;
|
|
20
21
|
loading?: boolean | undefined;
|
|
22
|
+
variant?: import('..').ListItemVariant | undefined;
|
|
21
23
|
size?: import('..').ListItemSize | undefined;
|
|
22
24
|
color?: import('..').ListItemColor | undefined;
|
|
23
|
-
theme?: import('..').ListItemTheme | undefined;
|
|
24
25
|
className?: string | undefined;
|
|
26
|
+
icon?: import('..').SvgElement | import('..').IconProps | React.ReactNode | import('..').AvatarProps | import('..').AvatarGroupProps;
|
|
25
27
|
as?: React.ElementType | undefined;
|
|
26
28
|
label?: React.ReactNode | (() => React.ReactElement);
|
|
27
29
|
select?: import('..').ListItemSelectProps | undefined;
|
|
28
|
-
variant?: import('..').ListItemVariant | undefined;
|
|
29
|
-
icon?: import('..').SvgElement | import('..').IconProps | React.ReactNode;
|
|
30
30
|
hidden?: boolean | undefined;
|
|
31
31
|
expanded?: boolean | undefined;
|
|
32
32
|
active?: boolean | undefined;
|
|
33
33
|
disabled?: boolean | undefined;
|
|
34
|
-
avatar?: import('..').AvatarProps | undefined;
|
|
35
|
-
avatarGroup?: import('..').AvatarGroupProps | undefined;
|
|
36
34
|
href?: string | undefined;
|
|
37
35
|
controls?: React.ReactNode;
|
|
38
36
|
selected?: boolean | undefined;
|
|
39
37
|
ariaLabel?: string | undefined;
|
|
40
|
-
|
|
41
|
-
description?: string | undefined;
|
|
38
|
+
description?: React.ReactNode | import('..').HeadingProps;
|
|
42
39
|
linkIcon?: boolean | undefined;
|
|
43
40
|
interactive?: boolean | undefined;
|
|
44
41
|
tabIndex?: number | undefined;
|
|
45
|
-
shadow?: import('..').
|
|
42
|
+
shadow?: import('..').Shadow | undefined;
|
|
46
43
|
onMouseEnter?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
47
44
|
collapsible?: boolean | undefined;
|
|
48
45
|
onClick?: (() => void) | undefined;
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { TypographyProps } from '..';
|
|
3
|
-
export type HeadingSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
|
+
export type HeadingSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'inherit';
|
|
4
4
|
export type HeadingWeight = 'normal' | 'medium' | 'bold';
|
|
5
|
-
export type
|
|
5
|
+
export type HeadingLeading = 'none' | 'tight' | 'normal';
|
|
6
|
+
export type HeadingComponent = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'div' | 'span';
|
|
6
7
|
export interface HeadingProps {
|
|
7
8
|
loading?: boolean;
|
|
8
9
|
as?: HeadingComponent;
|
|
9
10
|
size?: HeadingSize;
|
|
10
11
|
weight?: HeadingWeight;
|
|
12
|
+
leading?: HeadingLeading;
|
|
11
13
|
color?: TypographyProps['color'];
|
|
12
|
-
|
|
14
|
+
variant?: TypographyProps['variant'];
|
|
15
|
+
maxRows?: 2 | undefined;
|
|
13
16
|
className?: string;
|
|
17
|
+
style?: CSSProperties;
|
|
14
18
|
children?: ReactNode;
|
|
15
19
|
}
|
|
16
|
-
export declare const Heading: ({ loading, as, size, weight, color,
|
|
20
|
+
export declare const Heading: ({ loading, as, size, leading, weight, color, variant, maxRows, className, style, children, }: HeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: ({ loading, as, size, weight, color,
|
|
4
|
+
component: ({ loading, as, size, leading, weight, color, variant, maxRows, className, style, children, }: import('./Heading').HeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
tags: string[];
|
|
6
6
|
parameters: {};
|
|
7
7
|
args: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
2
|
export type TypographyColor = 'neutral' | 'company' | 'person' | 'article';
|
|
3
|
-
export type
|
|
3
|
+
export type TypographyVariant = 'default' | 'subtle';
|
|
4
4
|
export type TypographySize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
5
5
|
export interface TypographyProps {
|
|
6
6
|
loading?: boolean;
|
|
@@ -8,11 +8,11 @@ export interface TypographyProps {
|
|
|
8
8
|
as?: ElementType;
|
|
9
9
|
size?: TypographySize;
|
|
10
10
|
color?: TypographyColor;
|
|
11
|
-
|
|
11
|
+
variant?: TypographyVariant;
|
|
12
12
|
className?: string;
|
|
13
13
|
children?: ReactNode;
|
|
14
14
|
href?: string;
|
|
15
15
|
style?: CSSProperties;
|
|
16
16
|
maxWidth?: string;
|
|
17
17
|
}
|
|
18
|
-
export declare const Typography: ({ loading, loadingText, as, size, color,
|
|
18
|
+
export declare const Typography: ({ loading, loadingText, as, size, color, variant, className, style, maxWidth, children, ...restProps }: TypographyProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: ({ loading, loadingText, as, size, color,
|
|
4
|
+
component: ({ loading, loadingText, as, size, color, variant, className, style, maxWidth, children, ...restProps }: import('./Typography').TypographyProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
tags: string[];
|
|
6
6
|
parameters: {};
|
|
7
7
|
args: {
|
|
@@ -7,6 +7,7 @@ export * from './Button';
|
|
|
7
7
|
export * from './Byline';
|
|
8
8
|
export * from './ContextMenu';
|
|
9
9
|
export * from './Dialog';
|
|
10
|
+
export * from './Divider';
|
|
10
11
|
export * from './Dropdown';
|
|
11
12
|
export * from './Footer';
|
|
12
13
|
export * from './GlobalMenu';
|
|
@@ -16,10 +17,11 @@ export * from './Layout';
|
|
|
16
17
|
export * from './LayoutAction';
|
|
17
18
|
export * from './List';
|
|
18
19
|
export * from './Menu';
|
|
19
|
-
export * from './
|
|
20
|
+
export * from './Metadata';
|
|
20
21
|
export * from './Profile';
|
|
21
22
|
export * from './RootProvider';
|
|
22
23
|
export * from './Search';
|
|
24
|
+
export * from './Searchbar';
|
|
23
25
|
export * from './Snackbar';
|
|
24
26
|
export * from './Skeleton';
|
|
25
27
|
export * from './Timeline';
|
|
@@ -31,4 +33,8 @@ export * from './ResourceList';
|
|
|
31
33
|
export * from './AccessAreaList';
|
|
32
34
|
export * from './AccessPackageList';
|
|
33
35
|
export * from './Forms';
|
|
36
|
+
export * from './Settings';
|
|
37
|
+
export * from './Dashboard';
|
|
38
|
+
export * from './ActivityLog';
|
|
39
|
+
export * from './Article';
|
|
34
40
|
export * from './DsComponents';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const meta: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
parameters: {};
|
|
5
|
+
args: {};
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
export declare const PrimarySettings: () => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const SecondarySettings: () => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const RoleSettings: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const meta: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
parameters: {
|
|
5
|
+
layout: string;
|
|
6
|
+
};
|
|
7
|
+
args: {};
|
|
8
|
+
};
|
|
9
|
+
export default meta;
|
|
10
|
+
export declare const Dashboard: () => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const Users: () => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const Access: () => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const Requests: () => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const ApiSettings: () => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const ReverseAccess: () => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const ClientAdmin: () => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare const Settings: () => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare const Log: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const meta: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
parameters: {
|
|
5
|
+
layout: string;
|
|
6
|
+
};
|
|
7
|
+
args: {};
|
|
8
|
+
};
|
|
9
|
+
export default meta;
|
|
10
|
+
export declare const Inbox: () => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const Search: () => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const Drafts: () => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const Sent: () => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const Bookmarks: () => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const Dialog: ({ tabId }: {
|
|
16
|
+
tabId?: string | undefined;
|
|
17
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare const DialogInfo: () => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const DialogActivityLog: () => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare const DialogContact: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const meta: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
parameters: {
|
|
5
|
+
layout: string;
|
|
6
|
+
};
|
|
7
|
+
args: {};
|
|
8
|
+
};
|
|
9
|
+
export default meta;
|
|
10
|
+
export declare const Home: () => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const Search: () => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const Category: () => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const Topic: () => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const Service: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AccountListItemProps } from '../../components';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
tags: string[];
|
|
5
|
+
parameters: {};
|
|
6
|
+
args: {
|
|
7
|
+
items: AccountListItemProps[];
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
export declare const Accounts: () => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
interface AccountDetailsProps {
|
|
13
|
+
type?: AccountListItemProps["type"];
|
|
14
|
+
favourite?: AccountListItemProps["favourite"];
|
|
15
|
+
}
|
|
16
|
+
export declare const AccountDetails: ({ type, favourite }: AccountDetailsProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare const CompanyDetails: () => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare const PersonDetails: () => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const GroupDetails: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const meta: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
parameters: {};
|
|
5
|
+
args: {};
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
export declare const ContactSettings: () => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const MoreSettings: () => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const AccountSettings: () => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const NotificationSettings: () => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const SettingsList: () => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const CollapsibleList: () => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const CompanySettings: () => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const PersonSettings: () => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const CompanyNotifications: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const meta: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
parameters: {
|
|
5
|
+
layout: string;
|
|
6
|
+
};
|
|
7
|
+
args: {};
|
|
8
|
+
};
|
|
9
|
+
export default meta;
|
|
10
|
+
export declare const Dashboard: () => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const Accounts: () => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const Users: () => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const Access: () => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const Settings: () => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const Notifications: () => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const Log: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type Color = 'inherit' | 'accent' | 'company' | 'person' | 'neutral' | 'success' | 'warning' | 'error' | 'danger' | 'info' | 'alert';
|
|
2
|
-
export type Theme = 'transparent' | 'default' | 'subtle' | 'surface' | 'surface-default' | 'surface-hover' | 'surface-active' | 'border' | 'border-subtle' | 'border-default' | 'border-strong' | 'base' | 'base-default' | 'base-hover' | 'base-active';
|
|
1
|
+
export type Color = 'inherit' | 'accent' | 'company' | 'person' | 'neutral' | 'article' | 'success' | 'warning' | 'error' | 'danger' | 'info' | 'alert';
|
|
2
|
+
export type Theme = 'transparent' | 'default' | 'tinted' | 'subtle' | 'surface' | 'surface-default' | 'surface-hover' | 'surface-active' | 'border' | 'border-subtle' | 'border-default' | 'border-strong' | 'base' | 'base-default' | 'base-hover' | 'base-active';
|
|
@@ -12,8 +12,7 @@ import { T as qt } from "./Textarea-BBstVlPT.js";
|
|
|
12
12
|
import { u as Wt } from "./index-DyDqjche.js";
|
|
13
13
|
import { S as Yt } from "./XMark-Bv1I87Ev.js";
|
|
14
14
|
import { P as Ne } from "./Paragraph-CFjOkbXa.js";
|
|
15
|
-
import { S as Gt } from "./ChevronUp-
|
|
16
|
-
import { S as Jt } from "./ChevronDown-CRAwzuD3.js";
|
|
15
|
+
import { S as Gt, a as Jt } from "./ChevronUp-C09jxB5F.js";
|
|
17
16
|
import { u as Qt } from "./useId-CsCRkvK3.js";
|
|
18
17
|
import { S as Zt } from "./Checkmark-RgzvRNxP.js";
|
|
19
18
|
import { flushSync as en } from "react-dom";
|
|
@@ -71,21 +70,21 @@ const We = b(function({ "aria-label": n, className: e, ...o }, r) {
|
|
|
71
70
|
an.Position.displayName = "Badge.Position";
|
|
72
71
|
const cn = b(({ asChild: t, className: n, ...e }, o) => a(t ? S : "a", { className: I("ds-link", n), ref: o, ...e }));
|
|
73
72
|
cn.displayName = "Link";
|
|
74
|
-
const
|
|
73
|
+
const co = b(function({ asChild: n, className: e, height: o, style: r, variant: i = "rectangle", width: s, ...c }, l) {
|
|
75
74
|
const u = n ? S : "span", h = i === "text", f = Oe("ds-skeleton-opacity-fade"), m = V([f, l]);
|
|
76
75
|
return a(u, { "aria-hidden": "true", className: I("ds-skeleton", e), "data-text": h ? "-".repeat(Number(s) || 1) : void 0, "data-variant": i, ref: m, style: h ? r : { width: s, height: o, ...r }, ...c });
|
|
77
|
-
}),
|
|
76
|
+
}), lo = b(function({ asChild: n, ...e }, o) {
|
|
78
77
|
return a(n ? S : "li", { ...e, ref: o });
|
|
79
|
-
}), Ye = (t, { asChild: n, className: e, ...o }, r) => a(n ? S : t, { className: I("ds-list", e), ref: r, ...o }),
|
|
78
|
+
}), Ye = (t, { asChild: n, className: e, ...o }, r) => a(n ? S : t, { className: I("ds-list", e), ref: r, ...o }), uo = b(function(n, e) {
|
|
80
79
|
return Ye("ul", n, e);
|
|
81
80
|
});
|
|
82
81
|
b(function(n, e) {
|
|
83
82
|
return Ye("ol", n, e);
|
|
84
83
|
});
|
|
85
|
-
const
|
|
84
|
+
const mo = b(function({ level: n = 2, className: e, asChild: o, ...r }, i) {
|
|
86
85
|
const s = o ? S : `h${n}`;
|
|
87
86
|
return a(s, { className: I("ds-heading", e), ref: i, ...r });
|
|
88
|
-
}),
|
|
87
|
+
}), fo = b(function({ "data-color": n = "info", className: e, ...o }, r) {
|
|
89
88
|
return a("div", { className: I("ds-alert", e), "data-color": n, ref: r, ...o });
|
|
90
89
|
}), Ge = b(function({ asChild: n, className: e, ...o }, r) {
|
|
91
90
|
return a(n ? S : "button", { className: I("ds-chip", e), type: n ? void 0 : "button", ref: r, ...o });
|
|
@@ -122,11 +121,11 @@ const dn = b(function({ "aria-label": n = "Sidenavigering", asChild: e, classNam
|
|
|
122
121
|
Ee.List.displayName = "Pagination.List";
|
|
123
122
|
Ee.Item.displayName = "Pagination.Item";
|
|
124
123
|
Ee.Button.displayName = "Pagination.Button";
|
|
125
|
-
const
|
|
124
|
+
const po = b(function({ "data-size": n, className: e, style: o, children: r, label: i, description: s, error: c, ...l }, u) {
|
|
126
125
|
return O(ue, { "data-size": n, className: e, style: o, children: [a(ce, { type: "checkbox", ref: u, ...l }), !!i && a(U, { weight: "regular", children: i }), !!s && a("div", { "data-field": "description", children: s }), !!c && a(_e, { children: c })] });
|
|
127
|
-
}),
|
|
126
|
+
}), bo = b(function({ "data-size": n, children: e, className: o, description: r, label: i, position: s, style: c, ...l }, u) {
|
|
128
127
|
return O(ue, { className: o, "data-position": s, "data-size": n, style: c, children: [a(ce, { type: "checkbox", role: "switch", ref: u, ...l }), !!i && a(U, { weight: "regular", children: i }), !!r && a("div", { "data-field": "description", children: r })] });
|
|
129
|
-
}),
|
|
128
|
+
}), ho = b(function({ label: n, description: e, error: o, multiline: r, prefix: i, suffix: s, "data-size": c, counter: l, style: u, className: h, ...f }, m) {
|
|
130
129
|
return O(ue, { className: h, "data-size": c, style: u, children: [!!n && a(U, { children: n }), !!e && a(Ut, { children: e }), O(Xt, { children: [i === void 0 || a(He, { children: i }), r === !0 ? a(qt, { ref: m, "aria-invalid": !!o || void 0, ...f }) : a(ce, { ref: m, "aria-invalid": !!o || void 0, ...f }), s === void 0 || a(He, { children: s })] }), !!o && a(_e, { children: o }), !!l && a(ue.Counter, { ...typeof l == "number" ? { limit: l } : l })] });
|
|
131
130
|
}), pe = Y({}), pn = b(function({ value: n, defaultValue: e, className: o, onChange: r, ...i }, s) {
|
|
132
131
|
const c = n !== void 0, [l, u] = X(e);
|
|
@@ -955,7 +954,7 @@ he.Empty.displayName = "Combobox.Empty";
|
|
|
955
954
|
const Hn = (t, n, e) => {
|
|
956
955
|
const o = (e - 1) / 2, r = Math.min(Math.max(t - Math.floor(o), 1), n - e + 1), i = Math.min(Math.max(t + Math.ceil(o), e), n), s = Array.from({ length: i + 1 - r }, (c, l) => l + r);
|
|
957
956
|
return e > 4 && r > 1 && s.splice(0, 2, 1, 0), e > 3 && i < n && s.splice(-2, 2, 0, n), s;
|
|
958
|
-
},
|
|
957
|
+
}, go = ({ currentPage: t = 1, setCurrentPage: n, onChange: e, totalPages: o = 1, showPages: r = 7 }) => Q(() => {
|
|
959
958
|
const i = t < o, s = t !== 1, c = (l) => (u) => {
|
|
960
959
|
if (l < 1 || l > o)
|
|
961
960
|
return u.preventDefault();
|
|
@@ -1003,24 +1002,24 @@ const Hn = (t, n, e) => {
|
|
|
1003
1002
|
};
|
|
1004
1003
|
}, [t, o, r]);
|
|
1005
1004
|
export {
|
|
1006
|
-
|
|
1005
|
+
fo as A,
|
|
1007
1006
|
an as B,
|
|
1008
|
-
|
|
1007
|
+
po as C,
|
|
1009
1008
|
De as D,
|
|
1010
|
-
|
|
1009
|
+
mo as H,
|
|
1011
1010
|
cn as L,
|
|
1012
1011
|
Ee as P,
|
|
1013
|
-
|
|
1014
|
-
|
|
1012
|
+
bo as S,
|
|
1013
|
+
ho as T,
|
|
1015
1014
|
te as a,
|
|
1016
1015
|
fe as b,
|
|
1017
1016
|
he as c,
|
|
1018
|
-
|
|
1019
|
-
|
|
1017
|
+
lo as d,
|
|
1018
|
+
uo as e,
|
|
1020
1019
|
tt as f,
|
|
1021
1020
|
Ae as g,
|
|
1022
|
-
|
|
1021
|
+
co as h,
|
|
1023
1022
|
We as i,
|
|
1024
1023
|
Te as j,
|
|
1025
|
-
|
|
1024
|
+
go as u
|
|
1026
1025
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@altinn/altinn-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@digdir/designsystemet-css": "^1.0.3",
|
|
24
24
|
"@digdir/designsystemet-react": "^1.0.3",
|
|
25
25
|
"@digdir/designsystemet-theme": "^1.0.3",
|
|
26
|
-
"@navikt/aksel-icons": "^7.
|
|
26
|
+
"@navikt/aksel-icons": "^7.14.1",
|
|
27
27
|
"@tanstack/react-virtual": "^3.13.4",
|
|
28
28
|
"classnames": "^2.5.1",
|
|
29
29
|
"react": "^19.0.0",
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import * as a from "react";
|
|
3
|
-
import { forwardRef as i } from "react";
|
|
4
|
-
import { u as f } from "./useId-CsCRkvK3.js";
|
|
5
|
-
var d = function(t, o) {
|
|
6
|
-
var l = {};
|
|
7
|
-
for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && o.indexOf(e) < 0 && (l[e] = t[e]);
|
|
8
|
-
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
9
|
-
for (var r = 0, e = Object.getOwnPropertySymbols(t); r < e.length; r++)
|
|
10
|
-
o.indexOf(e[r]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[r]) && (l[e[r]] = t[e[r]]);
|
|
11
|
-
return l;
|
|
12
|
-
};
|
|
13
|
-
const p = i((t, o) => {
|
|
14
|
-
var { title: l, titleId: e } = t, r = d(t, ["title", "titleId"]);
|
|
15
|
-
let n = f();
|
|
16
|
-
return n = l ? e || "title-" + n : void 0, a.createElement(
|
|
17
|
-
"svg",
|
|
18
|
-
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": n }, r),
|
|
19
|
-
l ? a.createElement("title", { id: n }, l) : null,
|
|
20
|
-
a.createElement("path", { fill: "currentColor", d: "M4.47 11.47a.75.75 0 0 0 0 1.06l4.5 4.5a.75.75 0 0 0 1.06-1.06l-3.22-3.22H19a.75.75 0 0 0 0-1.5H6.81l3.22-3.22a.75.75 0 1 0-1.06-1.06z" })
|
|
21
|
-
);
|
|
22
|
-
});
|
|
23
|
-
export {
|
|
24
|
-
p as S
|
|
25
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import * as a from "react";
|
|
3
|
-
import { forwardRef as i } from "react";
|
|
4
|
-
import { u as f } from "./useId-CsCRkvK3.js";
|
|
5
|
-
var d = function(t, o) {
|
|
6
|
-
var l = {};
|
|
7
|
-
for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && o.indexOf(e) < 0 && (l[e] = t[e]);
|
|
8
|
-
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
9
|
-
for (var r = 0, e = Object.getOwnPropertySymbols(t); r < e.length; r++)
|
|
10
|
-
o.indexOf(e[r]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[r]) && (l[e[r]] = t[e[r]]);
|
|
11
|
-
return l;
|
|
12
|
-
};
|
|
13
|
-
const p = i((t, o) => {
|
|
14
|
-
var { title: l, titleId: e } = t, r = d(t, ["title", "titleId"]);
|
|
15
|
-
let n = f();
|
|
16
|
-
return n = l ? e || "title-" + n : void 0, a.createElement(
|
|
17
|
-
"svg",
|
|
18
|
-
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": n }, r),
|
|
19
|
-
l ? a.createElement("title", { id: n }, l) : null,
|
|
20
|
-
a.createElement("path", { fill: "currentColor", d: "M16.03 3.97a.75.75 0 1 0-1.06 1.06l3.22 3.22H8a5.75 5.75 0 0 0 0 11.5h1.5a.75.75 0 0 0 0-1.5H8a4.25 4.25 0 0 1 0-8.5h10.19l-3.22 3.22a.75.75 0 0 0 1.06 1.06l4.5-4.5a.75.75 0 0 0 0-1.06z" })
|
|
21
|
-
);
|
|
22
|
-
});
|
|
23
|
-
export {
|
|
24
|
-
p as S
|
|
25
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import * as a from "react";
|
|
3
|
-
import { forwardRef as i } from "react";
|
|
4
|
-
import { u as f } from "./useId-CsCRkvK3.js";
|
|
5
|
-
var d = function(t, o) {
|
|
6
|
-
var l = {};
|
|
7
|
-
for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && o.indexOf(e) < 0 && (l[e] = t[e]);
|
|
8
|
-
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
9
|
-
for (var r = 0, e = Object.getOwnPropertySymbols(t); r < e.length; r++)
|
|
10
|
-
o.indexOf(e[r]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[r]) && (l[e[r]] = t[e[r]]);
|
|
11
|
-
return l;
|
|
12
|
-
};
|
|
13
|
-
const p = i((t, o) => {
|
|
14
|
-
var { title: l, titleId: e } = t, r = d(t, ["title", "titleId"]);
|
|
15
|
-
let n = f();
|
|
16
|
-
return n = l ? e || "title-" + n : void 0, a.createElement(
|
|
17
|
-
"svg",
|
|
18
|
-
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": n }, r),
|
|
19
|
-
l ? a.createElement("title", { id: n }, l) : null,
|
|
20
|
-
a.createElement("path", { fill: "currentColor", d: "M14.087 6.874a.752.752 0 0 0-.117 1.156l3.22 3.22H5a.75.75 0 0 0 0 1.5h12.19l-3.22 3.22a.75.75 0 0 0 1.06 1.06l4.5-4.5a.75.75 0 0 0 0-1.06l-4.5-4.5a.75.75 0 0 0-.943-.096" })
|
|
21
|
-
);
|
|
22
|
-
});
|
|
23
|
-
export {
|
|
24
|
-
p as S
|
|
25
|
-
};
|