@altinn/altinn-components 0.10.2 → 0.10.4
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/accountMenu-MvAYkqv1.js +68 -0
- package/dist/attachments-Bpqu8-fZ.js +25 -0
- package/dist/components/Autocomplete/AutocompleteItem.js +6 -6
- package/dist/components/Autocomplete/index.js +5 -1
- package/dist/components/Searchbar/Searchbar.js +16 -12
- package/dist/components/index.js +272 -268
- package/dist/dialogContextMenu-CvlJE9ba.js +38 -0
- package/dist/globalMenu-DY4uIQk2.js +63 -0
- package/dist/index.js +276 -272
- package/dist/menuItems-DWpXjKEX.js +90 -0
- package/dist/nav-CZ8x72yY.js +8 -0
- package/dist/skatt-Bc2at6fO.js +8 -0
- package/dist/transmissionsCompletedDialog-DOK3nF7d.js +672 -0
- package/dist/types/lib/components/Autocomplete/index.d.ts +3 -0
- package/dist/types/lib/components/Dialog/Dialog.stories.d.ts +15 -0
- package/dist/{lib → types/lib}/components/Dialog/DialogListItem.stories.d.ts +3 -23
- package/dist/types/lib/components/Dialog/DraftDialog.stories.d.ts +17 -0
- package/dist/types/lib/components/Icon/Icon.stories.d.ts +6 -0
- package/dist/types/lib/components/Menu/MenuItem.stories.d.ts +24 -0
- package/dist/useAccountMenu-ImwZYwks.js +82 -0
- package/package.json +5 -5
- package/dist/components/AccessAreaList/AccessAreaListItem.stories.js +0 -85
- package/dist/components/AccessPackageList/AccessPackageList.stories.js +0 -17
- package/dist/components/Attachment/AttachmentLink.stories.js +0 -15
- package/dist/components/Attachment/AttachmentList.stories.js +0 -19
- package/dist/components/Autocomplete/Autocomplete.stories.js +0 -322
- package/dist/components/Avatar/AvatarGroup.stories.js +0 -61
- package/dist/components/Avatar/avatar.stories.js +0 -38
- package/dist/components/Badge/Badge.stories.js +0 -27
- package/dist/components/Bookmarks/BookmarksList.stories.js +0 -61
- package/dist/components/Bookmarks/BookmarksListItem.stories.js +0 -64
- package/dist/components/Bookmarks/BookmarksSection.stories.js +0 -63
- package/dist/components/Button/Button.stories.js +0 -41
- package/dist/components/Button/Buttons.stories.js +0 -51
- package/dist/components/Button/ComboButton.stories.js +0 -38
- package/dist/components/Button/IconButton.stories.js +0 -28
- package/dist/components/Byline/Byline.stories.js +0 -44
- package/dist/components/ContextMenu/ContextMenu.stories.js +0 -50
- package/dist/components/Dialog/Dialog.stories.js +0 -98
- package/dist/components/Dialog/DialogActions.stories.js +0 -55
- package/dist/components/Dialog/DialogAttachments.stories.js +0 -17
- package/dist/components/Dialog/DialogBylline.stories.js +0 -25
- package/dist/components/Dialog/DialogContent.stories.js +0 -39
- package/dist/components/Dialog/DialogHistory.stories.js +0 -34
- package/dist/components/Dialog/DialogList.stories.js +0 -44
- package/dist/components/Dialog/DialogListItem.stories.js +0 -222
- package/dist/components/Dialog/DialogMetadata.stories.js +0 -68
- package/dist/components/Dialog/DialogSeenBy.stories.js +0 -43
- package/dist/components/Dialog/DialogStatus.stories.js +0 -48
- package/dist/components/Dialog/DialogTouchedBy.stories.js +0 -24
- package/dist/components/Dialog/DialogTransmissions.stories.js +0 -184
- package/dist/components/Dialog/DraftDialog.stories.js +0 -142
- package/dist/components/Footer/Footer.stories.js +0 -37
- package/dist/components/GlobalMenu/AccountMenu.stories.js +0 -27
- package/dist/components/GlobalMenu/GlobalMenu.stories.js +0 -46
- package/dist/components/Header/Header.stories.js +0 -35
- package/dist/components/Header/HeaderButton.stories.js +0 -65
- package/dist/components/Header/HeaderLogo.stories.js +0 -14
- package/dist/components/Icon/CheckboxIcon.stories.js +0 -27
- package/dist/components/Icon/Icon.stories.js +0 -21
- package/dist/components/Icon/ProgressIcon.stories.js +0 -36
- package/dist/components/Icon/RadioIcon.stories.js +0 -27
- package/dist/components/Layout/Layout.stories.js +0 -50
- package/dist/components/Layout/LayoutBase.stories.js +0 -14
- package/dist/components/Layout/LayoutBody.stories.js +0 -14
- package/dist/components/Layout/LayoutContent.stories.js +0 -14
- package/dist/components/Layout/LayoutSidebar.stories.js +0 -14
- package/dist/components/LayoutAction/ActionFooter.stories.js +0 -61
- package/dist/components/LayoutAction/ActionHeader.stories.js +0 -16
- package/dist/components/LayoutAction/ActionMenu.stories.js +0 -36
- package/dist/components/List/List.stories.js +0 -41
- package/dist/components/List/ListItem.stories.js +0 -251
- package/dist/components/List/ListItemHeader.stories.js +0 -241
- package/dist/components/Menu/Menu.stories.js +0 -411
- package/dist/components/Menu/MenuItem.stories.js +0 -138
- package/dist/components/Menu/MenuItems.stories.js +0 -338
- package/dist/components/Menu/MenuOption.stories.js +0 -46
- package/dist/components/Menu/MenuSearch.stories.js +0 -16
- package/dist/components/Meta/MetaItem.stories.js +0 -21
- package/dist/components/Meta/MetaList.stories.js +0 -26
- package/dist/components/Meta/MetaProgress.stories.js +0 -25
- package/dist/components/Meta/MetaTimestamp.stories.js +0 -29
- package/dist/components/Page/PageBase.stories.js +0 -54
- package/dist/components/Page/PageHeader.stories.js +0 -91
- package/dist/components/Page/PageNav.stories.js +0 -41
- package/dist/components/ResourceList/ResourceList.stories.js +0 -270
- package/dist/components/ResourceList/ResourceListItem.stories.js +0 -33
- package/dist/components/Searchbar/Searchbar.stories.js +0 -140
- package/dist/components/Snackbar/Snackbar.stories.js +0 -17
- package/dist/components/Timeline/Timeline.stories.js +0 -65
- package/dist/components/Toolbar/Toolbar.stories.js +0 -72
- package/dist/components/Toolbar/ToolbarAdd.stories.js +0 -23
- package/dist/components/Toolbar/ToolbarButton.stories.js +0 -26
- package/dist/components/Toolbar/ToolbarDate.stories.js +0 -61
- package/dist/components/Toolbar/ToolbarDaterange.stories.js +0 -16
- package/dist/components/Toolbar/ToolbarFilter.stories.js +0 -39
- package/dist/components/Toolbar/ToolbarMenu.stories.js +0 -32
- package/dist/components/Toolbar/ToolbarOptions.stories.js +0 -57
- package/dist/components/Toolbar/ToolbarSearch.stories.js +0 -16
- package/dist/components/Transmission/TransmissionItem.stories.js +0 -56
- package/dist/components/Transmission/TransmissionList.stories.js +0 -27
- package/dist/lib/components/Autocomplete/index.d.ts +0 -1
- package/dist/lib/components/Dialog/Dialog.stories.d.ts +0 -57
- package/dist/lib/components/Dialog/DraftDialog.stories.d.ts +0 -59
- package/dist/lib/examples/accountMenu.d.ts +0 -2
- package/dist/lib/examples/attachments.d.ts +0 -2
- package/dist/lib/examples/avatar/brreg.d.ts +0 -2
- package/dist/lib/examples/avatar/index.d.ts +0 -5
- package/dist/lib/examples/avatar/nav.d.ts +0 -2
- package/dist/lib/examples/avatar/oslo.d.ts +0 -2
- package/dist/lib/examples/avatar/skatt.d.ts +0 -2
- package/dist/lib/examples/avatar/ssb.d.ts +0 -2
- package/dist/lib/examples/dialog/dialogContextMenu.d.ts +0 -2
- package/dist/lib/examples/dialog/dialogHistoryItems.d.ts +0 -2
- package/dist/lib/examples/dialog/dialogListItems.d.ts +0 -2
- package/dist/lib/examples/dialog/extendedLetterDialog.d.ts +0 -2
- package/dist/lib/examples/dialog/index.d.ts +0 -14
- package/dist/lib/examples/dialog/metadataDialog.d.ts +0 -2
- package/dist/lib/examples/dialog/reportingCompletedDialog.d.ts +0 -2
- package/dist/lib/examples/dialog/reportingDialog.d.ts +0 -2
- package/dist/lib/examples/dialog/reportingDraftDialog.d.ts +0 -2
- package/dist/lib/examples/dialog/reportingHistoryItems.d.ts +0 -2
- package/dist/lib/examples/dialog/reportingInProgressDialog.d.ts +0 -2
- package/dist/lib/examples/dialog/simpleLetterDialog.d.ts +0 -2
- package/dist/lib/examples/dialog/transmissionList.d.ts +0 -2
- package/dist/lib/examples/dialog/transmissionsCompletedDialog.d.ts +0 -2
- package/dist/lib/examples/dialog/transmissionsDialog.d.ts +0 -2
- package/dist/lib/examples/dialog/transmissionsHistoryItems.d.ts +0 -2
- package/dist/lib/examples/dialog/transmissionsInProgressDialog.d.ts +0 -2
- package/dist/lib/examples/dialog/transmissionsTimeline.d.ts +0 -2
- package/dist/lib/examples/footer.d.ts +0 -2
- package/dist/lib/examples/globalMenu.d.ts +0 -2
- package/dist/lib/examples/header.d.ts +0 -2
- package/dist/lib/examples/inboxFilters.d.ts +0 -4
- package/dist/lib/examples/inboxMenu.d.ts +0 -2
- package/dist/lib/examples/index.d.ts +0 -10
- package/dist/lib/examples/loginMenu.d.ts +0 -2
- package/dist/lib/examples/menuItems.d.ts +0 -2
- package/dist/lib/examples/useAccountMenu.d.ts +0 -16
- package/dist/lib/examples/useInboxSearch.d.ts +0 -2
- /package/dist/{lib → types/lib}/components/AccessAreaList/AccessAreaList.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/AccessAreaList/AccessAreaListItem.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/AccessAreaList/AccessAreaListItem.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/AccessAreaList/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/AccessPackageList/AccessPackageList.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/AccessPackageList/AccessPackageList.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/AccessPackageList/AccessPackageListItem.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/AccessPackageList/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Attachment/AttachmentLink.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Attachment/AttachmentLink.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Attachment/AttachmentList.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Attachment/AttachmentList.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Attachment/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Autocomplete/Autocomplete.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Autocomplete/Autocomplete.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Autocomplete/AutocompleteBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Autocomplete/AutocompleteGroup.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Autocomplete/AutocompleteItem.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Autocomplete/ScopeListItem.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Avatar/Avatar.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Avatar/AvatarGroup.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Avatar/AvatarGroup.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Avatar/avatar.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Avatar/color.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Avatar/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Badge/Badge.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Badge/Badge.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Badge/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Bookmarks/BookmarksList.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Bookmarks/BookmarksList.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Bookmarks/BookmarksListItem.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Bookmarks/BookmarksListItem.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Bookmarks/BookmarksSection.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Bookmarks/BookmarksSection.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Bookmarks/QueryLabel.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Bookmarks/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Button/Button.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Button/Button.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Button/ButtonBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Button/ButtonIcon.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Button/ButtonLabel.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Button/Buttons.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Button/ComboButton.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Button/ComboButton.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Button/IconButton.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Button/IconButton.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Button/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Byline/Byline.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Byline/Byline.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Byline/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/ContextMenu/ContextMenu.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/ContextMenu/ContextMenu.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/ContextMenu/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Datepicker/Datepicker.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Datepicker/DatepickerBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Datepicker/DatepickerHeader.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Datepicker/DatepickerTable.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Datepicker/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Datepicker/useDatepicker.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/Dialog.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogActions.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogActions.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogActivityLog.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogAttachments.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogAttachments.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogByline.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogBylline.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogContent.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogContent.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogDescription.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogHeading.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogHistory.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogHistory.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogHistoryDetails.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogHistoryItem.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogLabel.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogList.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogList.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogListGroup.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogListItem.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogMetadata.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogMetadata.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogSection.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogSeenBy.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogSeenBy.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogSelect.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogStatus.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogStatus.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogTimeline.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogTimelineItem.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogTouchedBy.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogTouchedBy.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogTransmissions.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DialogTransmissions.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/DraftDialog.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dialog/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dropdown/Backdrop.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dropdown/DrawerBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dropdown/DrawerBody.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dropdown/DrawerButton.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dropdown/DrawerFooter.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dropdown/DrawerHeader.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dropdown/DrawerOrDropdown.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dropdown/DropdownBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Dropdown/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Footer/Footer.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Footer/Footer.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Footer/FooterAddress.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Footer/FooterBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Footer/FooterLogo.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Footer/FooterMenu.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Footer/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/GlobalMenu/AccountButton.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/GlobalMenu/AccountMenu.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/GlobalMenu/AccountMenu.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/GlobalMenu/BackButton.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/GlobalMenu/GlobalMenu.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/GlobalMenu/GlobalMenu.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/GlobalMenu/GlobalMenuBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/GlobalMenu/LogoutButton.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/GlobalMenu/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Header/DigdirLogomark.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Header/Header.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Header/Header.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Header/HeaderBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Header/HeaderButton.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Header/HeaderButton.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Header/HeaderLogo.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Header/HeaderLogo.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Header/HeaderMenu.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Header/HeaderSearch.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Header/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Icon/CheckboxCheckedIcon.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Icon/CheckboxIcon.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Icon/CheckboxIcon.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Icon/CheckboxUncheckedIcon.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Icon/Icon.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Icon/ProgressIcon.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Icon/ProgressIcon.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Icon/RadioCheckedIcon.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Icon/RadioIcon.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Icon/RadioIcon.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Icon/RadioUncheckedIcon.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Icon/SvgIcon.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Icon/iconsMap.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Icon/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Layout/Layout.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Layout/Layout.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Layout/LayoutBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Layout/LayoutBase.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Layout/LayoutBody.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Layout/LayoutBody.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Layout/LayoutContent.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Layout/LayoutContent.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Layout/LayoutSidebar.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Layout/LayoutSidebar.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Layout/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/LayoutAction/ActionFooter.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/LayoutAction/ActionFooter.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/LayoutAction/ActionHeader.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/LayoutAction/ActionHeader.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/LayoutAction/ActionMenu.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/LayoutAction/ActionMenu.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/LayoutAction/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/List/List.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/List/List.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/List/ListBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/List/ListItem.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/List/ListItem.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/List/ListItemBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/List/ListItemControls.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/List/ListItemHeader.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/List/ListItemHeader.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/List/ListItemLabel.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/List/ListItemLink.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/List/ListItemMedia.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/List/ListItemMenu.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/List/ListItemSelect.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/List/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Menu/Menu.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Menu/Menu.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Menu/MenuBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Menu/MenuHeader.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Menu/MenuInputField.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Menu/MenuItem.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Menu/MenuItemBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Menu/MenuItemLabel.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Menu/MenuItemMedia.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Menu/MenuItems.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Menu/MenuItems.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Menu/MenuOption.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Menu/MenuOption.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Menu/MenuSearch.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Menu/MenuSearch.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Menu/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Meta/MetaBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Meta/MetaItem.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Meta/MetaItem.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Meta/MetaItemBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Meta/MetaItemLabel.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Meta/MetaItemMedia.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Meta/MetaList.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Meta/MetaList.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Meta/MetaProgress.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Meta/MetaProgress.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Meta/MetaTimestamp.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Meta/MetaTimestamp.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Meta/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Page/Article.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Page/PageBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Page/PageBase.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Page/PageHeader.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Page/PageHeader.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Page/PageNav.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Page/PageNav.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Page/Section.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Page/SectionFooter.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Page/SectionHeader.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Page/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/ResourceList/ResourceList.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/ResourceList/ResourceList.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/ResourceList/ResourceListItem.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/ResourceList/ResourceListItem.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/ResourceList/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/RootProvider/RootProvider.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/RootProvider/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Searchbar/SearchField.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Searchbar/Searchbar.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Searchbar/Searchbar.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Searchbar/SearchbarBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Searchbar/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Skeleton/Skeleton.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Skeleton/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Snackbar/Snackbar.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Snackbar/Snackbar.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Snackbar/SnackbarBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Snackbar/SnackbarLabel.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Snackbar/SnackbarMedia.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Snackbar/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Timeline/Timeline.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Timeline/Timeline.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Timeline/TimelineBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Timeline/TimelineSection.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Timeline/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/Toolbar.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/Toolbar.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/ToolbarAccountMenu.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/ToolbarAdd.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/ToolbarAdd.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/ToolbarBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/ToolbarButton.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/ToolbarButton.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/ToolbarDate.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/ToolbarDaterange.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/ToolbarDaterange.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/ToolbarFilter.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/ToolbarFilter.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/ToolbarFilterBase.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/ToolbarMenu.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/ToolbarMenu.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/ToolbarOptions.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/ToolbarOptions.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/ToolbarSearch.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/ToolbarSearch.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Toolbar/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Transmission/TransmissionItem.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Transmission/TransmissionItem.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Transmission/TransmissionList.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Transmission/TransmissionList.stories.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Transmission/TransmissionType.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Transmission/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Typography/Heading.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Typography/Typography.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/Typography/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/components/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/hooks/index.d.ts +0 -0
- /package/dist/{lib → types/lib}/hooks/useClickOutside.d.ts +0 -0
- /package/dist/{lib → types/lib}/hooks/useEnterKey.d.ts +0 -0
- /package/dist/{lib → types/lib}/hooks/useEscapeKey.d.ts +0 -0
- /package/dist/{lib → types/lib}/hooks/useMenu.d.ts +0 -0
- /package/dist/{lib → types/lib}/index.d.ts +0 -0
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import { jsx as n, jsxs as s } from "react/jsx-runtime";
|
|
2
|
-
import { fn as i } from "@storybook/test";
|
|
3
|
-
import { LayoutBase as l } from "../Layout/LayoutBase.js";
|
|
4
|
-
import "../../index-L8X2o7IH.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "../Icon/SvgIcon.js";
|
|
7
|
-
import "../Autocomplete/AutocompleteBase.js";
|
|
8
|
-
import { MenuItem as o } from "./MenuItem.js";
|
|
9
|
-
import { MenuBase as p } from "./MenuBase.js";
|
|
10
|
-
import { MetaItem as m } from "../Meta/MetaItem.js";
|
|
11
|
-
import "../RootProvider/RootProvider.js";
|
|
12
|
-
const I = {
|
|
13
|
-
title: "Menu/MenuItem",
|
|
14
|
-
component: o,
|
|
15
|
-
tags: ["autodocs"],
|
|
16
|
-
parameters: {},
|
|
17
|
-
args: {
|
|
18
|
-
id: "inbox",
|
|
19
|
-
onClick: i()
|
|
20
|
-
}
|
|
21
|
-
}, A = {
|
|
22
|
-
args: {
|
|
23
|
-
icon: "inbox",
|
|
24
|
-
title: "Innboks"
|
|
25
|
-
}
|
|
26
|
-
}, C = {
|
|
27
|
-
args: {
|
|
28
|
-
icon: "inbox",
|
|
29
|
-
title: "Innboks",
|
|
30
|
-
badge: {
|
|
31
|
-
label: "4"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}, G = {
|
|
35
|
-
args: {
|
|
36
|
-
size: "lg",
|
|
37
|
-
icon: "inbox",
|
|
38
|
-
title: "Innboks",
|
|
39
|
-
color: "strong"
|
|
40
|
-
}
|
|
41
|
-
}, M = {
|
|
42
|
-
args: {
|
|
43
|
-
size: "lg",
|
|
44
|
-
icon: "inbox",
|
|
45
|
-
title: "Innboks",
|
|
46
|
-
color: "strong",
|
|
47
|
-
badge: {
|
|
48
|
-
color: "alert",
|
|
49
|
-
label: "4"
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}, c = {
|
|
53
|
-
args: {
|
|
54
|
-
avatar: {
|
|
55
|
-
type: "person",
|
|
56
|
-
name: "Eirik Horneland"
|
|
57
|
-
},
|
|
58
|
-
title: "Eirik Horneland"
|
|
59
|
-
}
|
|
60
|
-
}, z = {
|
|
61
|
-
args: {
|
|
62
|
-
avatarGroup: {
|
|
63
|
-
items: [
|
|
64
|
-
{
|
|
65
|
-
type: "person",
|
|
66
|
-
name: "Eirik Horneland"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
type: "person",
|
|
70
|
-
name: "Japhet Sery Larsen"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
type: "person",
|
|
74
|
-
name: "Aune Heggebø"
|
|
75
|
-
}
|
|
76
|
-
]
|
|
77
|
-
},
|
|
78
|
-
title: "3 personer"
|
|
79
|
-
}
|
|
80
|
-
}, g = {
|
|
81
|
-
args: {
|
|
82
|
-
avatar: {
|
|
83
|
-
type: "company",
|
|
84
|
-
name: "Sportsklubben Brann"
|
|
85
|
-
},
|
|
86
|
-
title: "Sportsklubben Brann"
|
|
87
|
-
}
|
|
88
|
-
}, H = {
|
|
89
|
-
args: {
|
|
90
|
-
avatarGroup: {
|
|
91
|
-
defaultType: "company",
|
|
92
|
-
items: [
|
|
93
|
-
{
|
|
94
|
-
name: "Sportsklubben Brann"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
name: "Bergen Næringsråd"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
name: "Bergen bar"
|
|
101
|
-
}
|
|
102
|
-
]
|
|
103
|
-
},
|
|
104
|
-
title: "3 virksomheter"
|
|
105
|
-
}
|
|
106
|
-
}, S = {
|
|
107
|
-
args: {
|
|
108
|
-
...c.args,
|
|
109
|
-
size: "lg",
|
|
110
|
-
description: "Født: XX.XX.XXXX"
|
|
111
|
-
}
|
|
112
|
-
}, E = {
|
|
113
|
-
args: {
|
|
114
|
-
...g.args,
|
|
115
|
-
size: "lg",
|
|
116
|
-
description: "Org nr.: XX.XX.XXXX"
|
|
117
|
-
}
|
|
118
|
-
}, L = () => {
|
|
119
|
-
const t = ["global", "neutral", "company", "person", "global-dark"], a = ["neutral", "subtle", "strong", "company", "person"];
|
|
120
|
-
return /* @__PURE__ */ n("div", { style: { display: "flex", width: "100%" }, children: t.map((e) => /* @__PURE__ */ n("div", { style: { flexGrow: 1 }, children: /* @__PURE__ */ n(l, { theme: e, children: /* @__PURE__ */ n(p, { children: a.map((r) => /* @__PURE__ */ s("div", { children: [
|
|
121
|
-
/* @__PURE__ */ n(o, { icon: "inbox", title: "Title", color: r, id: "inbox" }),
|
|
122
|
-
/* @__PURE__ */ n(m, { children: e + "/" + r })
|
|
123
|
-
] }, r)) }) }) }, e)) });
|
|
124
|
-
};
|
|
125
|
-
export {
|
|
126
|
-
M as AlertBadge,
|
|
127
|
-
g as Company,
|
|
128
|
-
E as CompanyAccount,
|
|
129
|
-
H as CompanyGroup,
|
|
130
|
-
A as Default,
|
|
131
|
-
C as DefaultBadge,
|
|
132
|
-
G as Large,
|
|
133
|
-
c as Person,
|
|
134
|
-
S as PersonAccount,
|
|
135
|
-
z as PersonGroup,
|
|
136
|
-
L as ThemesAndColors,
|
|
137
|
-
I as default
|
|
138
|
-
};
|
|
@@ -1,338 +0,0 @@
|
|
|
1
|
-
import { menuItems as i } from "../../examples/menuItems.js";
|
|
2
|
-
import { MenuItems as r } from "./MenuItems.js";
|
|
3
|
-
const n = {
|
|
4
|
-
title: "Menu/MenuItems",
|
|
5
|
-
component: r,
|
|
6
|
-
tags: ["autodocs"],
|
|
7
|
-
parameters: {},
|
|
8
|
-
args: {}
|
|
9
|
-
}, s = {
|
|
10
|
-
args: {
|
|
11
|
-
groups: {
|
|
12
|
-
shortcuts: {
|
|
13
|
-
title: "Snarveier",
|
|
14
|
-
defaultItemColor: "neutral"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
defaultItemColor: "subtle",
|
|
18
|
-
items: [
|
|
19
|
-
{
|
|
20
|
-
id: "innboks",
|
|
21
|
-
groupId: "1",
|
|
22
|
-
size: "lg",
|
|
23
|
-
icon: "inbox",
|
|
24
|
-
title: "Innboks",
|
|
25
|
-
color: "strong",
|
|
26
|
-
badge: { color: "alert", label: "4" }
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
id: "utkast",
|
|
30
|
-
groupId: "2",
|
|
31
|
-
icon: "doc-pencil",
|
|
32
|
-
title: "Utkast",
|
|
33
|
-
badge: {
|
|
34
|
-
label: "3"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
id: "sendt",
|
|
39
|
-
groupId: "2",
|
|
40
|
-
icon: "file-checkmark",
|
|
41
|
-
selected: !0,
|
|
42
|
-
title: "Sendt",
|
|
43
|
-
badge: {
|
|
44
|
-
label: "2"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
id: "lagret",
|
|
49
|
-
groupId: "3",
|
|
50
|
-
icon: "bookmark",
|
|
51
|
-
title: "Lagrede søk",
|
|
52
|
-
badge: {
|
|
53
|
-
label: "5"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
id: "arkivert",
|
|
58
|
-
groupId: "4",
|
|
59
|
-
icon: "archive",
|
|
60
|
-
title: "Arkivert",
|
|
61
|
-
badge: {
|
|
62
|
-
label: "100+"
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
id: "papirkurv",
|
|
67
|
-
groupId: "4",
|
|
68
|
-
disabled: !0,
|
|
69
|
-
icon: "trash",
|
|
70
|
-
title: "Papirkurv",
|
|
71
|
-
badge: {
|
|
72
|
-
label: "45"
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
id: "users",
|
|
77
|
-
groupId: "shortcuts",
|
|
78
|
-
icon: "person-group",
|
|
79
|
-
title: "Brukere"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
id: "settings",
|
|
83
|
-
groupId: "shortcuts",
|
|
84
|
-
icon: "cog",
|
|
85
|
-
title: "Innstillinger"
|
|
86
|
-
}
|
|
87
|
-
]
|
|
88
|
-
}
|
|
89
|
-
}, a = {
|
|
90
|
-
args: {
|
|
91
|
-
groups: {},
|
|
92
|
-
defaultItemColor: "subtle",
|
|
93
|
-
items: [
|
|
94
|
-
{
|
|
95
|
-
id: "person",
|
|
96
|
-
groupId: "1",
|
|
97
|
-
size: "lg",
|
|
98
|
-
avatar: {
|
|
99
|
-
type: "person",
|
|
100
|
-
name: "Erik Huseklepp"
|
|
101
|
-
},
|
|
102
|
-
title: "Erik Huseklepp"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
id: "profil",
|
|
106
|
-
groupId: "2",
|
|
107
|
-
icon: "person-circle",
|
|
108
|
-
title: "Kontaktinformasjon"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
id: "varslinger",
|
|
112
|
-
groupId: "2",
|
|
113
|
-
icon: "bell",
|
|
114
|
-
title: "Varslingsinnstillinger"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
id: "bookmarks",
|
|
118
|
-
groupId: "3",
|
|
119
|
-
icon: "bookmark",
|
|
120
|
-
title: "Favoritter"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
id: "grupper",
|
|
124
|
-
groupId: "3",
|
|
125
|
-
icon: "hexagon-grid",
|
|
126
|
-
title: "Grupper"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
id: "logg",
|
|
130
|
-
groupId: "4",
|
|
131
|
-
icon: "clock-dashed",
|
|
132
|
-
title: "Aktivitetslogg"
|
|
133
|
-
}
|
|
134
|
-
]
|
|
135
|
-
}
|
|
136
|
-
}, d = {
|
|
137
|
-
args: {
|
|
138
|
-
groups: {},
|
|
139
|
-
defaultItemColor: "subtle",
|
|
140
|
-
items: [
|
|
141
|
-
{
|
|
142
|
-
id: "company",
|
|
143
|
-
groupId: "1",
|
|
144
|
-
size: "lg",
|
|
145
|
-
avatar: {
|
|
146
|
-
type: "company",
|
|
147
|
-
name: "Bergen Bar"
|
|
148
|
-
},
|
|
149
|
-
title: "Bergen Bar"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
id: "profil",
|
|
153
|
-
groupId: "2",
|
|
154
|
-
icon: "buildings2",
|
|
155
|
-
title: "Firmaprofil"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
id: "brukere",
|
|
159
|
-
groupId: "3",
|
|
160
|
-
icon: "person-group",
|
|
161
|
-
title: "Brukere"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
id: "grupper",
|
|
165
|
-
groupId: "3",
|
|
166
|
-
icon: "hexagon-grid",
|
|
167
|
-
title: "Grupper"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
id: "logg",
|
|
171
|
-
groupId: "4",
|
|
172
|
-
icon: "clock-dashed",
|
|
173
|
-
title: "Aktivitetslogg"
|
|
174
|
-
}
|
|
175
|
-
]
|
|
176
|
-
}
|
|
177
|
-
}, g = {
|
|
178
|
-
args: {
|
|
179
|
-
groups: {
|
|
180
|
-
a1: {
|
|
181
|
-
title: "Deg selv, favoritter og grupper"
|
|
182
|
-
},
|
|
183
|
-
b1: {
|
|
184
|
-
title: "Andre kontoer"
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
items: i
|
|
188
|
-
}
|
|
189
|
-
}, t = {
|
|
190
|
-
args: {
|
|
191
|
-
defaultItemColor: "subtle",
|
|
192
|
-
groups: {
|
|
193
|
-
settings: {
|
|
194
|
-
defaultItemColor: "neutral"
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
items: [
|
|
198
|
-
{
|
|
199
|
-
id: "account",
|
|
200
|
-
groupId: "account",
|
|
201
|
-
size: "lg",
|
|
202
|
-
avatar: {
|
|
203
|
-
type: "person",
|
|
204
|
-
name: "Herman Friele"
|
|
205
|
-
},
|
|
206
|
-
title: "Herman Friele",
|
|
207
|
-
description: "Fødselsnr: XX.XX.XXXX"
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
id: "innboks",
|
|
211
|
-
groupId: "apps",
|
|
212
|
-
size: "lg",
|
|
213
|
-
icon: "inbox",
|
|
214
|
-
title: "Innboks",
|
|
215
|
-
collapsible: !0,
|
|
216
|
-
items: [
|
|
217
|
-
{
|
|
218
|
-
id: "utkast",
|
|
219
|
-
groupId: "1",
|
|
220
|
-
icon: "doc-pencil",
|
|
221
|
-
title: "Utkast"
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
id: "sent",
|
|
225
|
-
groupId: "1",
|
|
226
|
-
icon: "file-checkmark",
|
|
227
|
-
selected: !0,
|
|
228
|
-
title: "Sendt"
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
id: "bookmarks",
|
|
232
|
-
groupId: "3",
|
|
233
|
-
icon: "bookmark",
|
|
234
|
-
title: "Lagrede søk"
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
id: "arkiv",
|
|
238
|
-
groupId: "4",
|
|
239
|
-
icon: "archive",
|
|
240
|
-
title: "Arkivert"
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
id: "trash",
|
|
244
|
-
groupId: "4",
|
|
245
|
-
icon: "trash",
|
|
246
|
-
title: "Papirkurv"
|
|
247
|
-
}
|
|
248
|
-
]
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
id: "tilganger",
|
|
252
|
-
groupId: "apps",
|
|
253
|
-
size: "lg",
|
|
254
|
-
icon: "bookmark",
|
|
255
|
-
title: "Tilganger"
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
id: "skjema",
|
|
259
|
-
groupId: "apps",
|
|
260
|
-
size: "lg",
|
|
261
|
-
icon: "menu-grid",
|
|
262
|
-
title: "Alle skjema"
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
id: "settings",
|
|
266
|
-
groupId: "settings",
|
|
267
|
-
icon: "cog",
|
|
268
|
-
title: "Innstillinger"
|
|
269
|
-
}
|
|
270
|
-
]
|
|
271
|
-
}
|
|
272
|
-
}, u = {
|
|
273
|
-
args: {
|
|
274
|
-
...t.args,
|
|
275
|
-
items: [...t.args.items].map((e) => e.collapsible ? {
|
|
276
|
-
...e,
|
|
277
|
-
expanded: !0
|
|
278
|
-
} : e)
|
|
279
|
-
}
|
|
280
|
-
}, p = {
|
|
281
|
-
args: {
|
|
282
|
-
defaultItemColor: "subtle",
|
|
283
|
-
groups: {
|
|
284
|
-
"level-1": {
|
|
285
|
-
divider: !0
|
|
286
|
-
},
|
|
287
|
-
"level-2": {
|
|
288
|
-
divider: !0
|
|
289
|
-
}
|
|
290
|
-
},
|
|
291
|
-
items: [
|
|
292
|
-
{
|
|
293
|
-
id: "people",
|
|
294
|
-
groupId: "level-1",
|
|
295
|
-
size: "lg",
|
|
296
|
-
icon: "menu-grid",
|
|
297
|
-
title: "Alle skjema",
|
|
298
|
-
expanded: !0,
|
|
299
|
-
items: [
|
|
300
|
-
{
|
|
301
|
-
groupId: "level-2",
|
|
302
|
-
id: "tema",
|
|
303
|
-
icon: "teddy-bear",
|
|
304
|
-
title: "Tema",
|
|
305
|
-
expanded: !0,
|
|
306
|
-
items: [
|
|
307
|
-
{
|
|
308
|
-
id: "c1",
|
|
309
|
-
groupId: "level-3",
|
|
310
|
-
title: "Kategori 1"
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
groupId: "level-3",
|
|
314
|
-
id: "c2",
|
|
315
|
-
title: "Kategori 2"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
groupId: "level-3",
|
|
319
|
-
id: "c3",
|
|
320
|
-
title: "Kategori 3"
|
|
321
|
-
}
|
|
322
|
-
]
|
|
323
|
-
}
|
|
324
|
-
]
|
|
325
|
-
}
|
|
326
|
-
]
|
|
327
|
-
}
|
|
328
|
-
};
|
|
329
|
-
export {
|
|
330
|
-
g as AccountMenu,
|
|
331
|
-
t as CollapsibleGlobalMenu,
|
|
332
|
-
d as CompanyMenu,
|
|
333
|
-
p as DrilldownMenu,
|
|
334
|
-
u as ExpandedGlobalMenu,
|
|
335
|
-
s as InboxMenu,
|
|
336
|
-
a as PersonMenu,
|
|
337
|
-
n as default
|
|
338
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { MenuOption as e } from "./MenuOption.js";
|
|
2
|
-
const s = {
|
|
3
|
-
title: "Menu/MenuOption",
|
|
4
|
-
component: e,
|
|
5
|
-
tags: ["autodocs"],
|
|
6
|
-
parameters: {},
|
|
7
|
-
args: {
|
|
8
|
-
value: "",
|
|
9
|
-
label: "Label"
|
|
10
|
-
}
|
|
11
|
-
}, c = {
|
|
12
|
-
args: {
|
|
13
|
-
type: "checkbox",
|
|
14
|
-
title: "Title",
|
|
15
|
-
size: "sm",
|
|
16
|
-
checked: !1
|
|
17
|
-
}
|
|
18
|
-
}, o = {
|
|
19
|
-
args: {
|
|
20
|
-
type: "checkbox",
|
|
21
|
-
title: "Title",
|
|
22
|
-
size: "sm",
|
|
23
|
-
checked: !0
|
|
24
|
-
}
|
|
25
|
-
}, a = {
|
|
26
|
-
args: {
|
|
27
|
-
type: "radio",
|
|
28
|
-
title: "Title",
|
|
29
|
-
size: "sm",
|
|
30
|
-
checked: !1
|
|
31
|
-
}
|
|
32
|
-
}, i = {
|
|
33
|
-
args: {
|
|
34
|
-
type: "radio",
|
|
35
|
-
title: "Title",
|
|
36
|
-
size: "sm",
|
|
37
|
-
checked: !0
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
export {
|
|
41
|
-
c as Checkbox,
|
|
42
|
-
o as CheckboxChecked,
|
|
43
|
-
a as Radio,
|
|
44
|
-
i as RadioChecked,
|
|
45
|
-
s as default
|
|
46
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { MenuSearch as e } from "./MenuSearch.js";
|
|
2
|
-
const t = {
|
|
3
|
-
title: "Menu/MenuSearch",
|
|
4
|
-
component: e,
|
|
5
|
-
tags: ["autodocs"],
|
|
6
|
-
parameters: {},
|
|
7
|
-
args: {
|
|
8
|
-
name: "search"
|
|
9
|
-
}
|
|
10
|
-
}, r = {
|
|
11
|
-
args: {}
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
r as Default,
|
|
15
|
-
t as default
|
|
16
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { MetaItem as t } from "./MetaItem.js";
|
|
2
|
-
const a = {
|
|
3
|
-
title: "Meta/MetaItem",
|
|
4
|
-
component: t,
|
|
5
|
-
tags: ["autodocs"],
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: "centered"
|
|
8
|
-
},
|
|
9
|
-
args: {
|
|
10
|
-
children: "Label"
|
|
11
|
-
}
|
|
12
|
-
}, o = {
|
|
13
|
-
args: {}
|
|
14
|
-
}, c = {
|
|
15
|
-
args: { icon: "clock-dashed" }
|
|
16
|
-
};
|
|
17
|
-
export {
|
|
18
|
-
o as Default,
|
|
19
|
-
c as Icon,
|
|
20
|
-
a as default
|
|
21
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { MetaList as t } from "./MetaList.js";
|
|
2
|
-
const e = {
|
|
3
|
-
title: "Meta/MetaList",
|
|
4
|
-
component: t,
|
|
5
|
-
tags: ["autodocs"],
|
|
6
|
-
parameters: {},
|
|
7
|
-
args: {
|
|
8
|
-
items: [
|
|
9
|
-
{
|
|
10
|
-
label: "Meta 1"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
label: "Meta 2"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
label: "Meta 3"
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
}
|
|
20
|
-
}, s = {
|
|
21
|
-
args: {}
|
|
22
|
-
};
|
|
23
|
-
export {
|
|
24
|
-
s as Default,
|
|
25
|
-
e as default
|
|
26
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { MetaProgress as e } from "./MetaProgress.js";
|
|
2
|
-
const s = {
|
|
3
|
-
title: "Meta/MetaProgress",
|
|
4
|
-
component: e,
|
|
5
|
-
tags: ["autodocs"],
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: "centered"
|
|
8
|
-
},
|
|
9
|
-
args: {}
|
|
10
|
-
}, t = {
|
|
11
|
-
args: {
|
|
12
|
-
progress: 75,
|
|
13
|
-
children: "Under arbeid"
|
|
14
|
-
}
|
|
15
|
-
}, o = {
|
|
16
|
-
args: {
|
|
17
|
-
progress: 100,
|
|
18
|
-
children: "Avsluttet"
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
t as InProgress,
|
|
23
|
-
o as ProgressComplete,
|
|
24
|
-
s as default
|
|
25
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { MetaTimestamp as t } from "./MetaTimestamp.js";
|
|
2
|
-
const e = {
|
|
3
|
-
title: "Meta/MetaTimestamp",
|
|
4
|
-
component: t,
|
|
5
|
-
tags: ["autodocs"],
|
|
6
|
-
parameters: {
|
|
7
|
-
// layout: "fullscreen",
|
|
8
|
-
},
|
|
9
|
-
args: {
|
|
10
|
-
children: "26. mai 1999",
|
|
11
|
-
datetime: "1999-05-26"
|
|
12
|
-
}
|
|
13
|
-
}, i = {
|
|
14
|
-
args: {
|
|
15
|
-
children: "26. mai 1999",
|
|
16
|
-
datetime: "1999-05-26"
|
|
17
|
-
}
|
|
18
|
-
}, m = {
|
|
19
|
-
args: {
|
|
20
|
-
icon: "clock",
|
|
21
|
-
children: "Frist: 26. mai 1999",
|
|
22
|
-
datetime: "1999-05-26"
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
export {
|
|
26
|
-
i as Default,
|
|
27
|
-
m as Icon,
|
|
28
|
-
e as default
|
|
29
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import "../../index-L8X2o7IH.js";
|
|
3
|
-
import "../Icon/SvgIcon.js";
|
|
4
|
-
import { Typography as t } from "../Typography/Typography.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "../Autocomplete/AutocompleteBase.js";
|
|
7
|
-
import { Button as s } from "../Button/Button.js";
|
|
8
|
-
import "../RootProvider/RootProvider.js";
|
|
9
|
-
import { Byline as g } from "../Byline/Byline.js";
|
|
10
|
-
import { PageBase as i } from "./PageBase.js";
|
|
11
|
-
import { PageNav as o } from "./PageNav.js";
|
|
12
|
-
import { PageHeader as a } from "./PageHeader.js";
|
|
13
|
-
import { Section as n } from "./Section.js";
|
|
14
|
-
import { Article as l } from "./Article.js";
|
|
15
|
-
import { nav as m } from "../../examples/avatar/nav.js";
|
|
16
|
-
const A = {
|
|
17
|
-
title: "Page/PageBase",
|
|
18
|
-
component: i,
|
|
19
|
-
tags: ["autodocs"],
|
|
20
|
-
parameters: {},
|
|
21
|
-
args: {}
|
|
22
|
-
}, N = () => /* @__PURE__ */ r(i, { color: "subtle", shadow: "xs", children: [
|
|
23
|
-
/* @__PURE__ */ e(o, { padding: "sm" }),
|
|
24
|
-
/* @__PURE__ */ e(l, { padding: "lg", children: /* @__PURE__ */ e(a, { title: "Article", children: /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e("p", { children: "Some text" }) }) }) })
|
|
25
|
-
] }), w = () => /* @__PURE__ */ r(i, { spacing: "lg", children: [
|
|
26
|
-
/* @__PURE__ */ r(n, { color: "subtle", shadow: "xs", children: [
|
|
27
|
-
/* @__PURE__ */ e(o, { padding: "sm" }),
|
|
28
|
-
/* @__PURE__ */ e(a, { avatar: { name: "Zulu Salamander" }, title: "Zulu Salamander", padding: "lg", children: "Tabs?" })
|
|
29
|
-
] }),
|
|
30
|
-
/* @__PURE__ */ e(n, { children: /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e("p", { children: "Lorem ipsum dolor sit amet" }) }) })
|
|
31
|
-
] }), z = () => /* @__PURE__ */ r(i, { spacing: "lg", children: [
|
|
32
|
-
/* @__PURE__ */ e(o, {}),
|
|
33
|
-
/* @__PURE__ */ r(l, { spacing: "lg", children: [
|
|
34
|
-
/* @__PURE__ */ r(a, { icon: "teddy-bear", title: "Barneoppdragelse i hjemmet", children: [
|
|
35
|
-
/* @__PURE__ */ e(t, { size: "lg", children: "Når du har unger som ikke gjør som du sier kan du bruke dette skjemaet." }),
|
|
36
|
-
/* @__PURE__ */ r(g, { avatar: m, children: [
|
|
37
|
-
/* @__PURE__ */ e("strong", { children: "NAV, " }),
|
|
38
|
-
" 14. oktober 2024"
|
|
39
|
-
] }),
|
|
40
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(s, { children: "Start skjema" }) })
|
|
41
|
-
] }),
|
|
42
|
-
/* @__PURE__ */ e(n, { children: /* @__PURE__ */ r(t, { size: "lg", children: [
|
|
43
|
-
/* @__PURE__ */ e("p", { children: "Barneoppdragelse i hjemmet handler om å skape en balanse mellom kjærlighet, grenser og respekt. Det er viktig å vise barna ubetinget kjærlighet og støtte, samtidig som man setter tydelige og konsistente grenser som hjelper dem å forstå hva som er akseptabel oppførsel." }),
|
|
44
|
-
/* @__PURE__ */ e("h2", { children: "Nøkkelen" }),
|
|
45
|
-
/* @__PURE__ */ e("p", { children: "Kommunikasjon er nøkkelen: lytte til barnas tanker og følelser, og gi dem mulighet til å uttrykke seg, samtidig som man forklarer hvorfor regler og forventninger finnes. Positiv forsterkning, som ros og anerkjennelse av gode handlinger, fremmer ønsket adferd, mens konstruktiv veiledning bør erstatte streng straff. Ved å være en god rollemodell og skape et trygt, strukturert og kjærlig miljø, gir man barna de beste forutsetninger for å utvikle seg til trygge, ansvarlige og empatiske individer." })
|
|
46
|
-
] }) })
|
|
47
|
-
] })
|
|
48
|
-
] });
|
|
49
|
-
export {
|
|
50
|
-
z as ArticlePage,
|
|
51
|
-
N as DialogPage,
|
|
52
|
-
w as ProfilePage,
|
|
53
|
-
A as default
|
|
54
|
-
};
|