@digigov/ui 1.0.0-8bbf3ef2 → 1.0.0-a131264d
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/api/fetchAPI.js +1 -1
- package/api/fetchAPI.mjs +52 -0
- package/api/index.js +6 -6
- package/api/index.mjs +13 -0
- package/api/index.spec.js +3 -3
- package/api/index.spec.mjs +548 -0
- package/api/useResource.js +3 -3
- package/api/useResource.mjs +131 -0
- package/api/useResourceAction.js +3 -3
- package/api/useResourceAction.mjs +144 -0
- package/api/useResourceQuery.js +3 -3
- package/api/useResourceQuery.mjs +211 -0
- package/api/utils.js +1 -1
- package/api/utils.mjs +236 -0
- package/app/BannerContainer/BannerContainer.stories.js +2 -2
- package/app/BannerContainer/BannerContainer.stories.mjs +10 -0
- package/app/BannerContainer/__stories__/CookiesBanner.js +7 -7
- package/app/BannerContainer/__stories__/CookiesBanner.mjs +18 -0
- package/app/Footer/Footer.stories.js +2 -2
- package/app/Footer/Footer.stories.mjs +17 -0
- package/app/Footer/__stories__/Default.js +1 -1
- package/app/Footer/__stories__/Default.mjs +9 -0
- package/app/Footer/__stories__/DefaultCopyright.js +8 -8
- package/app/Footer/__stories__/DefaultCopyright.mjs +19 -0
- package/app/Footer/__stories__/FooterAllInclusive.js +26 -26
- package/app/Footer/__stories__/FooterAllInclusive.mjs +69 -0
- package/app/Footer/__stories__/FooterWithLink.js +11 -11
- package/app/Footer/__stories__/FooterWithLink.mjs +32 -0
- package/app/Footer/__stories__/FooterWithLogo.js +12 -12
- package/app/Footer/__stories__/FooterWithLogo.mjs +29 -0
- package/app/Footer/__stories__/FooterWithSecondaryNavigation.js +20 -20
- package/app/Footer/__stories__/FooterWithSecondaryNavigation.mjs +52 -0
- package/app/Footer/__stories__/YearCopyright.js +9 -9
- package/app/Footer/__stories__/YearCopyright.mjs +25 -0
- package/app/Header/Header.stories.js +7 -7
- package/app/Header/Header.stories.mjs +18 -0
- package/app/Header/__snapshots__/index.spec.tsx.snap +7 -4
- package/app/Header/__stories__/Default.js +5 -5
- package/app/Header/__stories__/Default.mjs +14 -0
- package/app/Header/__stories__/WithHeaderNavigation.js +13 -13
- package/app/Header/__stories__/WithHeaderNavigation.mjs +37 -0
- package/app/Header/__stories__/WithNavigation.js +9 -9
- package/app/Header/__stories__/WithNavigation.mjs +57 -0
- package/app/Header/__stories__/WithServiceName.js +6 -6
- package/app/Header/__stories__/WithServiceName.mjs +15 -0
- package/app/Header/__stories__/WithServiceNameAndLogo.js +8 -8
- package/app/Header/__stories__/WithServiceNameAndLogo.mjs +20 -0
- package/app/Header/index.js +6 -6
- package/app/Header/index.mjs +9 -0
- package/app/Header/index.spec.js +6 -6
- package/app/Header/index.spec.mjs +32 -0
- package/app/Loader/Loader.stories.js +3 -3
- package/app/Loader/Loader.stories.mjs +7 -0
- package/app/Loader/__stories__/Default.js +2 -2
- package/app/Loader/__stories__/Default.mjs +9 -0
- package/app/Masthead/Masthead.stories.js +5 -5
- package/app/Masthead/Masthead.stories.mjs +12 -0
- package/app/Masthead/__stories__/Default.js +5 -5
- package/app/Masthead/__stories__/Default.mjs +15 -0
- package/app/Masthead/__stories__/WithElements.js +8 -8
- package/app/Masthead/__stories__/WithElements.mjs +21 -0
- package/app/Masthead/__stories__/WithLogo.js +6 -6
- package/app/Masthead/__stories__/WithLogo.mjs +19 -0
- package/app/Modal/Modal.stories.d.ts +2 -0
- package/app/Modal/Modal.stories.js +33 -5
- package/app/Modal/Modal.stories.mjs +13 -0
- package/app/Modal/Modal.stories.playwright.json +32 -0
- package/app/Modal/__stories__/AlertDialog.js +7 -7
- package/app/Modal/__stories__/AlertDialog.mjs +44 -0
- package/app/Modal/__stories__/Auto.d.ts +2 -0
- package/app/Modal/__stories__/Auto.js +64 -0
- package/app/Modal/__stories__/Auto.mjs +47 -0
- package/app/Modal/__stories__/Default.js +9 -9
- package/app/Modal/__stories__/Default.mjs +42 -0
- package/app/Modal/__stories__/Dense.js +9 -9
- package/app/Modal/__stories__/Dense.mjs +43 -0
- package/app/Modal/__stories__/WithHooks.d.ts +2 -0
- package/app/Modal/__stories__/WithHooks.js +52 -0
- package/app/Modal/__stories__/WithHooks.mjs +34 -0
- package/app/Modal/auto.d.ts +21 -0
- package/app/Modal/auto.js +103 -0
- package/app/Modal/auto.mjs +69 -0
- package/app/Modal/hooks.d.ts +26 -0
- package/app/Modal/hooks.js +88 -0
- package/app/Modal/hooks.mjs +68 -0
- package/app/Modal/index.d.ts +3 -6
- package/app/Modal/index.js +35 -49
- package/app/Modal/index.mjs +59 -0
- package/app/NotFound/NotFound.stories.js +3 -3
- package/app/NotFound/NotFound.stories.mjs +7 -0
- package/app/NotFound/__stories__/Default.js +2 -2
- package/app/NotFound/__stories__/Default.mjs +9 -0
- package/app/NotFound/index.js +1 -1
- package/app/NotFound/index.mjs +12 -0
- package/app/OutdatedBrowserBanner/hooks/useOutdatedBrowserCheck.js +1 -1
- package/app/OutdatedBrowserBanner/hooks/useOutdatedBrowserCheck.mjs +47 -0
- package/app/OutdatedBrowserBanner/index.js +6 -6
- package/app/OutdatedBrowserBanner/index.mjs +25 -0
- package/app/Panel/Panel.stories.js +3 -3
- package/app/Panel/Panel.stories.mjs +9 -0
- package/app/Panel/__stories__/Default.js +2 -2
- package/app/Panel/__stories__/Default.mjs +9 -0
- package/app/PhaseBannerHeader/PhaseBannerHeader.stories.js +3 -3
- package/app/PhaseBannerHeader/PhaseBannerHeader.stories.mjs +7 -0
- package/app/PhaseBannerHeader/__stories__/Default.js +2 -2
- package/app/PhaseBannerHeader/__stories__/Default.mjs +12 -0
- package/app/QrCodeScanner/QrCodeScanner.stories.js +3 -3
- package/app/QrCodeScanner/QrCodeScanner.stories.mjs +7 -0
- package/app/QrCodeScanner/__stories__/Default.js +4 -4
- package/app/QrCodeScanner/__stories__/Default.mjs +52 -0
- package/app/QrCodeScanner/index.spec.js +2 -2
- package/app/QrCodeScanner/index.spec.mjs +15 -0
- package/app/QrCodeViewer/QRCode.stories.js +2 -2
- package/app/QrCodeViewer/QRCode.stories.mjs +9 -0
- package/app/QrCodeViewer/__stories__/Custom.js +3 -3
- package/app/QrCodeViewer/__stories__/Custom.mjs +22 -0
- package/app/QrCodeViewer/__stories__/Default.js +2 -2
- package/app/QrCodeViewer/__stories__/Default.mjs +11 -0
- package/app/QrCodeViewer/index.js +2 -2
- package/app/QrCodeViewer/index.mjs +156 -0
- package/app/ThemeOptions/index.js +11 -11
- package/app/ThemeOptions/index.mjs +255 -0
- package/app/hooks/useFontSize.js +1 -1
- package/app/hooks/useFontSize.mjs +10 -0
- package/app/hooks/useLetterSpacing.js +1 -1
- package/app/hooks/useLetterSpacing.mjs +10 -0
- package/app/hooks/useLineHeight.js +1 -1
- package/app/hooks/useLineHeight.mjs +10 -0
- package/app/index.d.ts +0 -1
- package/app/index.js +16 -29
- package/app/index.mjs +16 -0
- package/content/Accordion/Accordion.stories.d.ts +2 -0
- package/content/Accordion/Accordion.stories.js +32 -4
- package/content/Accordion/Accordion.stories.mjs +13 -0
- package/content/Accordion/__snapshots__/index.spec.tsx.snap +10 -4
- package/content/Accordion/__stories__/Auto.d.ts +2 -0
- package/content/Accordion/__stories__/Auto.js +59 -0
- package/content/Accordion/__stories__/Auto.mjs +41 -0
- package/content/Accordion/__stories__/Default.js +14 -14
- package/content/Accordion/__stories__/Default.mjs +31 -0
- package/content/Accordion/__stories__/WithHints.js +15 -15
- package/content/Accordion/__stories__/WithHints.mjs +32 -0
- package/content/Accordion/__stories__/WithHook.d.ts +2 -0
- package/content/Accordion/__stories__/WithHook.js +81 -0
- package/content/Accordion/__stories__/WithHook.mjs +61 -0
- package/content/Accordion/auto.d.ts +18 -0
- package/content/Accordion/auto.js +110 -0
- package/content/Accordion/auto.mjs +76 -0
- package/content/Accordion/hooks.d.ts +26 -0
- package/content/Accordion/hooks.js +207 -0
- package/content/Accordion/hooks.mjs +185 -0
- package/content/Accordion/index.d.ts +2 -24
- package/content/Accordion/index.js +33 -143
- package/content/Accordion/index.mjs +11 -0
- package/content/Accordion/index.spec.js +16 -2
- package/content/Accordion/index.spec.mjs +19 -0
- package/content/Blockquote/Blockquote.stories.js +4 -4
- package/content/Blockquote/Blockquote.stories.mjs +10 -0
- package/content/Blockquote/__stories__/Default.js +2 -2
- package/content/Blockquote/__stories__/Default.mjs +9 -0
- package/content/Blockquote/__stories__/Dense.js +2 -2
- package/content/Blockquote/__stories__/Dense.mjs +11 -0
- package/content/Blockquote/index.spec.js +2 -2
- package/content/Blockquote/index.spec.mjs +9 -0
- package/content/Card/Card.stories.js +13 -13
- package/content/Card/Card.stories.mjs +20 -0
- package/content/Card/__stories__/Default.js +3 -3
- package/content/Card/__stories__/Default.mjs +10 -0
- package/content/Card/__stories__/Dense.js +4 -4
- package/content/Card/__stories__/Dense.mjs +14 -0
- package/content/Card/__stories__/WithClickableContent.js +5 -5
- package/content/Card/__stories__/WithClickableContent.mjs +14 -0
- package/content/Card/__stories__/WithClickableLink.js +4 -4
- package/content/Card/__stories__/WithClickableLink.mjs +12 -0
- package/content/Card/__stories__/WithDarkBorder.js +4 -4
- package/content/Card/__stories__/WithDarkBorder.mjs +13 -0
- package/content/Card/__stories__/WithDarkTopBorder.js +4 -4
- package/content/Card/__stories__/WithDarkTopBorder.mjs +13 -0
- package/content/Card/__stories__/WithDivider.js +4 -4
- package/content/Card/__stories__/WithDivider.mjs +12 -0
- package/content/Card/__stories__/WithGrayBorder.js +4 -4
- package/content/Card/__stories__/WithGrayBorder.mjs +13 -0
- package/content/Card/__stories__/WithGrayTopBorder.js +4 -4
- package/content/Card/__stories__/WithGrayTopBorder.mjs +13 -0
- package/content/Card/__stories__/WithGroupButton.js +4 -4
- package/content/Card/__stories__/WithGroupButton.mjs +11 -0
- package/content/Card/__stories__/WithLink.js +3 -3
- package/content/Card/__stories__/WithLink.mjs +10 -0
- package/content/Chip/Chip.stories.js +7 -7
- package/content/Chip/Chip.stories.mjs +12 -0
- package/content/Chip/__stories__/ClickableChip.js +2 -2
- package/content/Chip/__stories__/ClickableChip.mjs +10 -0
- package/content/Chip/__stories__/ClickableDeletableChip.js +2 -2
- package/content/Chip/__stories__/ClickableDeletableChip.mjs +13 -0
- package/content/Chip/__stories__/Default.js +2 -2
- package/content/Chip/__stories__/Default.mjs +9 -0
- package/content/Chip/__stories__/DeletableChip.js +2 -2
- package/content/Chip/__stories__/DeletableChip.mjs +10 -0
- package/content/Chip/__stories__/GroupOfChips.js +2 -2
- package/content/Chip/__stories__/GroupOfChips.mjs +9 -0
- package/content/Details/Details.stories.js +3 -3
- package/content/Details/Details.stories.mjs +9 -0
- package/content/Details/__snapshots__/index.spec.tsx.snap +4 -4
- package/content/Details/__stories__/Default.js +2 -2
- package/content/Details/__stories__/Default.mjs +9 -0
- package/content/Details/index.spec.js +4 -4
- package/content/Details/index.spec.mjs +17 -0
- package/content/List/List.stories.js +8 -8
- package/content/List/List.stories.mjs +14 -0
- package/content/List/ListItemContent.js +1 -1
- package/content/List/ListItemContent.mjs +14 -0
- package/content/List/ListItemIcon.js +1 -1
- package/content/List/ListItemIcon.mjs +14 -0
- package/content/List/ListItemText.js +2 -2
- package/content/List/ListItemText.mjs +15 -0
- package/content/List/ListItemTitle.js +3 -3
- package/content/List/ListItemTitle.mjs +21 -0
- package/content/List/__stories__/BulletList.js +2 -2
- package/content/List/__stories__/BulletList.mjs +12 -0
- package/content/List/__stories__/Default.js +3 -3
- package/content/List/__stories__/Default.mjs +11 -0
- package/content/List/__stories__/HorizontalList.js +3 -3
- package/content/List/__stories__/HorizontalList.mjs +13 -0
- package/content/List/__stories__/NestedBulletList.js +2 -2
- package/content/List/__stories__/NestedBulletList.mjs +20 -0
- package/content/List/__stories__/NumberedList.js +2 -2
- package/content/List/__stories__/NumberedList.mjs +12 -0
- package/content/List/__stories__/WithExtraSpace.js +2 -2
- package/content/List/__stories__/WithExtraSpace.mjs +12 -0
- package/content/List/index.js +6 -6
- package/content/List/index.mjs +7 -0
- package/content/List/index.spec.js +2 -2
- package/content/List/index.spec.mjs +8 -0
- package/content/StepNav/StepNav.stories.d.ts +2 -0
- package/content/StepNav/StepNav.stories.js +30 -2
- package/content/StepNav/StepNav.stories.mjs +13 -0
- package/content/StepNav/__stories__/Auto.d.ts +2 -0
- package/content/StepNav/__stories__/Auto.js +152 -0
- package/content/StepNav/__stories__/Auto.mjs +135 -0
- package/content/StepNav/__stories__/Default.js +13 -13
- package/content/StepNav/__stories__/Default.mjs +178 -0
- package/content/StepNav/__stories__/Dense.js +14 -14
- package/content/StepNav/__stories__/Dense.mjs +180 -0
- package/content/StepNav/__stories__/WithHints.js +15 -15
- package/content/StepNav/__stories__/WithHints.mjs +189 -0
- package/content/StepNav/__stories__/WithHook.d.ts +2 -0
- package/content/StepNav/__stories__/WithHook.js +160 -0
- package/content/StepNav/__stories__/WithHook.mjs +143 -0
- package/content/StepNav/auto.d.ts +19 -0
- package/content/StepNav/auto.js +105 -0
- package/content/StepNav/auto.mjs +72 -0
- package/content/StepNav/index.d.ts +5 -2
- package/content/StepNav/index.js +60 -8
- package/content/StepNav/index.mjs +16 -0
- package/content/SummaryList/SummaryList.stories.js +2 -2
- package/content/SummaryList/SummaryList.stories.mjs +15 -0
- package/content/SummaryList/__stories__/Default.js +6 -6
- package/content/SummaryList/__stories__/Default.mjs +17 -0
- package/content/SummaryList/__stories__/RowVariations.js +13 -13
- package/content/SummaryList/__stories__/RowVariations.mjs +37 -0
- package/content/SummaryList/__stories__/WithActions.js +7 -7
- package/content/SummaryList/__stories__/WithActions.mjs +20 -0
- package/content/SummaryList/__stories__/WithKeyAndAction.js +7 -7
- package/content/SummaryList/__stories__/WithKeyAndAction.mjs +20 -0
- package/content/SummaryList/__stories__/WithoutActions.js +2 -2
- package/content/SummaryList/__stories__/WithoutActions.mjs +9 -0
- package/content/SummaryList/__stories__/WithoutBorders.js +7 -7
- package/content/SummaryList/__stories__/WithoutBorders.mjs +19 -0
- package/content/SummaryList/index.spec.js +2 -2
- package/content/SummaryList/index.spec.mjs +9 -0
- package/content/Table/Table.stories.js +2 -2
- package/content/Table/Table.stories.mjs +27 -0
- package/content/Table/__stories__/DarkVariant.js +9 -9
- package/content/Table/__stories__/DarkVariant.mjs +47 -0
- package/content/Table/__stories__/DarkVariantWithVerticalHeaders.js +9 -9
- package/content/Table/__stories__/DarkVariantWithVerticalHeaders.mjs +47 -0
- package/content/Table/__stories__/Default.js +8 -8
- package/content/Table/__stories__/Default.mjs +41 -0
- package/content/Table/__stories__/DefinedWidth.js +9 -9
- package/content/Table/__stories__/DefinedWidth.mjs +43 -0
- package/content/Table/__stories__/Densed.js +9 -9
- package/content/Table/__stories__/Densed.mjs +104 -0
- package/content/Table/__stories__/Full.js +13 -13
- package/content/Table/__stories__/Full.mjs +91 -0
- package/content/Table/__stories__/MultipleProps.js +11 -11
- package/content/Table/__stories__/MultipleProps.mjs +71 -0
- package/content/Table/__stories__/NoData.js +2 -2
- package/content/Table/__stories__/NoData.mjs +11 -0
- package/content/Table/__stories__/NumericDataType.js +10 -10
- package/content/Table/__stories__/NumericDataType.mjs +61 -0
- package/content/Table/__stories__/RowColors.js +10 -10
- package/content/Table/__stories__/RowColors.mjs +60 -0
- package/content/Table/__stories__/Stacked.js +9 -9
- package/content/Table/__stories__/Stacked.mjs +43 -0
- package/content/Table/__stories__/TableCaptions.js +5 -5
- package/content/Table/__stories__/TableCaptions.mjs +17 -0
- package/content/Table/__stories__/VerticalBorders.js +9 -9
- package/content/Table/__stories__/VerticalBorders.mjs +47 -0
- package/content/Table/__stories__/VerticalHeaders.js +8 -8
- package/content/Table/__stories__/VerticalHeaders.mjs +41 -0
- package/content/Table/__stories__/WithFloatingScroll.js +11 -11
- package/content/Table/__stories__/WithFloatingScroll.mjs +72 -0
- package/content/Table/__stories__/WithLoader.js +12 -12
- package/content/Table/__stories__/WithLoader.mjs +71 -0
- package/content/Table/__stories__/WithSortFilters.js +10 -10
- package/content/Table/__stories__/WithSortFilters.mjs +104 -0
- package/content/Table/__stories__/ZebraProp.js +9 -9
- package/content/Table/__stories__/ZebraProp.mjs +47 -0
- package/content/Table/index.d.ts +1 -1
- package/content/Table/index.js +5 -5
- package/content/Table/index.mjs +103 -0
- package/content/TaskList/TaskList.stories.js +4 -4
- package/content/TaskList/TaskList.stories.mjs +9 -0
- package/content/TaskList/__stories__/Default.js +8 -8
- package/content/TaskList/__stories__/Default.mjs +74 -0
- package/content/TaskList/__stories__/Dense.js +8 -8
- package/content/TaskList/__stories__/Dense.mjs +76 -0
- package/content/Timeline/Timeline.stories.js +4 -4
- package/content/Timeline/Timeline.stories.mjs +9 -0
- package/content/Timeline/__stories__/Default.js +9 -9
- package/content/Timeline/__stories__/Default.mjs +122 -0
- package/content/Timeline/__stories__/Dense.js +9 -9
- package/content/Timeline/__stories__/Dense.mjs +124 -0
- package/content/index.js +12 -12
- package/content/index.mjs +12 -0
- package/es/api/fetchAPI.js +1 -1
- package/es/api/index.js +7 -7
- package/es/api/index.spec.js +3 -3
- package/es/api/useResource.js +2 -2
- package/es/api/useResourceAction.js +2 -2
- package/es/api/useResourceQuery.js +2 -2
- package/es/api/utils.js +1 -1
- package/es/app/BannerContainer/BannerContainer.stories.js +2 -2
- package/es/app/BannerContainer/__stories__/CookiesBanner.js +6 -6
- package/es/app/Footer/Footer.stories.js +8 -8
- package/es/app/Footer/__stories__/Default.js +1 -1
- package/es/app/Footer/__stories__/DefaultCopyright.js +4 -4
- package/es/app/Footer/__stories__/FooterAllInclusive.js +8 -8
- package/es/app/Footer/__stories__/FooterWithLink.js +5 -5
- package/es/app/Footer/__stories__/FooterWithLogo.js +7 -7
- package/es/app/Footer/__stories__/FooterWithSecondaryNavigation.js +6 -6
- package/es/app/Footer/__stories__/YearCopyright.js +4 -4
- package/es/app/Header/Header.stories.js +6 -6
- package/es/app/Header/__snapshots__/index.spec.tsx.snap +7 -4
- package/es/app/Header/__stories__/Default.js +4 -4
- package/es/app/Header/__stories__/WithHeaderNavigation.js +12 -12
- package/es/app/Header/__stories__/WithNavigation.js +8 -8
- package/es/app/Header/__stories__/WithServiceName.js +5 -5
- package/es/app/Header/__stories__/WithServiceNameAndLogo.js +7 -7
- package/es/app/Header/index.js +6 -6
- package/es/app/Header/index.spec.js +1 -1
- package/es/app/Loader/Loader.stories.js +2 -2
- package/es/app/Loader/__stories__/Default.js +1 -1
- package/es/app/Masthead/Masthead.stories.js +4 -4
- package/es/app/Masthead/__stories__/Default.js +5 -5
- package/es/app/Masthead/__stories__/WithElements.js +8 -8
- package/es/app/Masthead/__stories__/WithLogo.js +6 -6
- package/es/app/Modal/Modal.stories.js +6 -4
- package/es/app/Modal/Modal.stories.playwright.json +32 -0
- package/es/app/Modal/__stories__/AlertDialog.js +3 -3
- package/es/app/Modal/__stories__/Auto.js +47 -0
- package/es/app/Modal/__stories__/Default.js +5 -5
- package/es/app/Modal/__stories__/Dense.js +5 -5
- package/es/app/Modal/__stories__/WithHooks.js +34 -0
- package/es/app/Modal/auto.js +69 -0
- package/es/app/Modal/hooks.js +68 -0
- package/es/app/Modal/index.js +10 -44
- package/es/app/NotFound/NotFound.stories.js +2 -2
- package/es/app/NotFound/__stories__/Default.js +1 -1
- package/es/app/NotFound/index.js +1 -1
- package/es/app/OutdatedBrowserBanner/hooks/useOutdatedBrowserCheck.js +1 -1
- package/es/app/OutdatedBrowserBanner/index.js +7 -7
- package/es/app/Panel/Panel.stories.js +2 -2
- package/es/app/Panel/__stories__/Default.js +1 -1
- package/es/app/PhaseBannerHeader/PhaseBannerHeader.stories.js +2 -2
- package/es/app/PhaseBannerHeader/__stories__/Default.js +1 -1
- package/es/app/QrCodeScanner/QrCodeScanner.stories.js +2 -2
- package/es/app/QrCodeScanner/__stories__/Default.js +3 -3
- package/es/app/QrCodeScanner/index.spec.js +1 -1
- package/es/app/QrCodeViewer/QRCode.stories.js +3 -3
- package/es/app/QrCodeViewer/__stories__/Custom.js +2 -2
- package/es/app/QrCodeViewer/__stories__/Default.js +1 -1
- package/es/app/QrCodeViewer/index.js +2 -2
- package/es/app/ThemeOptions/index.js +11 -11
- package/es/app/hooks/useFontSize.js +1 -1
- package/es/app/hooks/useLetterSpacing.js +1 -1
- package/es/app/hooks/useLineHeight.js +1 -1
- package/es/app/index.js +16 -17
- package/es/content/Accordion/Accordion.stories.js +5 -3
- package/es/content/Accordion/__snapshots__/index.spec.tsx.snap +10 -4
- package/es/content/Accordion/__stories__/Auto.js +41 -0
- package/es/content/Accordion/__stories__/Default.js +5 -5
- package/es/content/Accordion/__stories__/WithHints.js +6 -6
- package/es/content/Accordion/__stories__/WithHook.js +61 -0
- package/es/content/Accordion/auto.js +76 -0
- package/es/content/Accordion/hooks.js +185 -0
- package/es/content/Accordion/index.js +2 -88
- package/es/content/Accordion/index.spec.js +12 -2
- package/es/content/Blockquote/Blockquote.stories.js +3 -3
- package/es/content/Blockquote/__stories__/Default.js +1 -1
- package/es/content/Blockquote/__stories__/Dense.js +1 -1
- package/es/content/Blockquote/index.spec.js +1 -1
- package/es/content/Card/Card.stories.js +12 -12
- package/es/content/Card/__stories__/Default.js +2 -2
- package/es/content/Card/__stories__/Dense.js +2 -2
- package/es/content/Card/__stories__/WithClickableContent.js +2 -2
- package/es/content/Card/__stories__/WithClickableLink.js +2 -2
- package/es/content/Card/__stories__/WithDarkBorder.js +2 -2
- package/es/content/Card/__stories__/WithDarkTopBorder.js +2 -2
- package/es/content/Card/__stories__/WithDivider.js +2 -2
- package/es/content/Card/__stories__/WithGrayBorder.js +2 -2
- package/es/content/Card/__stories__/WithGrayTopBorder.js +2 -2
- package/es/content/Card/__stories__/WithGroupButton.js +3 -3
- package/es/content/Card/__stories__/WithLink.js +2 -2
- package/es/content/Chip/Chip.stories.js +6 -6
- package/es/content/Chip/__stories__/ClickableChip.js +1 -1
- package/es/content/Chip/__stories__/ClickableDeletableChip.js +1 -1
- package/es/content/Chip/__stories__/Default.js +1 -1
- package/es/content/Chip/__stories__/DeletableChip.js +1 -1
- package/es/content/Chip/__stories__/GroupOfChips.js +1 -1
- package/es/content/Details/Details.stories.js +2 -2
- package/es/content/Details/__snapshots__/index.spec.tsx.snap +4 -4
- package/es/content/Details/__stories__/Default.js +1 -1
- package/es/content/Details/index.spec.js +1 -1
- package/es/content/List/List.stories.js +7 -7
- package/es/content/List/ListItemContent.js +1 -1
- package/es/content/List/ListItemIcon.js +1 -1
- package/es/content/List/ListItemText.js +2 -2
- package/es/content/List/ListItemTitle.js +3 -3
- package/es/content/List/__stories__/BulletList.js +2 -2
- package/es/content/List/__stories__/Default.js +3 -3
- package/es/content/List/__stories__/HorizontalList.js +3 -3
- package/es/content/List/__stories__/NestedBulletList.js +2 -2
- package/es/content/List/__stories__/NumberedList.js +2 -2
- package/es/content/List/__stories__/WithExtraSpace.js +2 -2
- package/es/content/List/index.js +7 -7
- package/es/content/List/index.spec.js +1 -1
- package/es/content/StepNav/StepNav.stories.js +6 -4
- package/es/content/StepNav/__stories__/Auto.js +135 -0
- package/es/content/StepNav/__stories__/Default.js +4 -4
- package/es/content/StepNav/__stories__/Dense.js +4 -4
- package/es/content/StepNav/__stories__/WithHints.js +5 -5
- package/es/content/StepNav/__stories__/WithHook.js +143 -0
- package/es/content/StepNav/auto.js +72 -0
- package/es/content/StepNav/index.js +5 -2
- package/es/content/SummaryList/SummaryList.stories.js +7 -7
- package/es/content/SummaryList/__stories__/Default.js +3 -3
- package/es/content/SummaryList/__stories__/RowVariations.js +3 -3
- package/es/content/SummaryList/__stories__/WithActions.js +4 -4
- package/es/content/SummaryList/__stories__/WithKeyAndAction.js +4 -4
- package/es/content/SummaryList/__stories__/WithoutActions.js +1 -1
- package/es/content/SummaryList/__stories__/WithoutBorders.js +3 -3
- package/es/content/SummaryList/index.spec.js +1 -1
- package/es/content/Table/Table.stories.js +19 -19
- package/es/content/Table/__stories__/DarkVariant.js +1 -1
- package/es/content/Table/__stories__/DarkVariantWithVerticalHeaders.js +1 -1
- package/es/content/Table/__stories__/Default.js +1 -1
- package/es/content/Table/__stories__/DefinedWidth.js +1 -1
- package/es/content/Table/__stories__/Densed.js +1 -1
- package/es/content/Table/__stories__/Full.js +1 -1
- package/es/content/Table/__stories__/MultipleProps.js +1 -1
- package/es/content/Table/__stories__/NoData.js +1 -1
- package/es/content/Table/__stories__/NumericDataType.js +1 -1
- package/es/content/Table/__stories__/RowColors.js +2 -2
- package/es/content/Table/__stories__/Stacked.js +1 -1
- package/es/content/Table/__stories__/TableCaptions.js +1 -1
- package/es/content/Table/__stories__/VerticalBorders.js +1 -1
- package/es/content/Table/__stories__/VerticalHeaders.js +1 -1
- package/es/content/Table/__stories__/WithFloatingScroll.js +4 -4
- package/es/content/Table/__stories__/WithLoader.js +5 -5
- package/es/content/Table/__stories__/WithSortFilters.js +2 -2
- package/es/content/Table/__stories__/ZebraProp.js +1 -1
- package/es/content/Table/index.js +5 -5
- package/es/content/TaskList/TaskList.stories.js +3 -3
- package/es/content/TaskList/__stories__/Default.js +3 -3
- package/es/content/TaskList/__stories__/Dense.js +3 -3
- package/es/content/Timeline/Timeline.stories.js +3 -3
- package/es/content/Timeline/__stories__/Default.js +4 -4
- package/es/content/Timeline/__stories__/Dense.js +4 -4
- package/es/content/index.js +12 -12
- package/es/feedback/CopyToClipboard/CopyToClipboard.stories.js +4 -4
- package/es/feedback/CopyToClipboard/__stories__/Banner.js +2 -2
- package/es/feedback/CopyToClipboard/__stories__/Default.js +14 -11
- package/es/feedback/CopyToClipboard/__stories__/Dense.js +2 -2
- package/es/feedback/CopyToClipboard/index.js +4 -2
- package/es/feedback/ErrorSummary/ErrorSummary.stories.js +7 -7
- package/es/feedback/ErrorSummary/__stories__/Default.js +3 -3
- package/es/feedback/ErrorSummary/__stories__/Dense.js +3 -3
- package/es/feedback/ErrorSummary/__stories__/LinkedToCheckbox.js +8 -8
- package/es/feedback/ErrorSummary/__stories__/LinkedToField.js +8 -8
- package/es/feedback/ErrorSummary/__stories__/LinkedToInput.js +10 -10
- package/es/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.js +10 -10
- package/es/feedback/ErrorSummary/index.spec.js +1 -1
- package/es/feedback/NotificationBanner/NotificationBanner.stories.js +4 -4
- package/es/feedback/NotificationBanner/__stories__/Default.js +1 -1
- package/es/feedback/NotificationBanner/__stories__/Dense.js +1 -1
- package/es/feedback/NotificationBanner/__stories__/Success.js +1 -1
- package/es/feedback/NotificationBanner/index.spec.js +1 -1
- package/es/feedback/PhaseBanner/PhaseBanner.stories.js +3 -3
- package/es/feedback/PhaseBanner/__stories__/Default.js +2 -2
- package/es/feedback/PhaseBanner/__stories__/Underlined.js +2 -2
- package/es/feedback/ServiceBadge/index.js +1 -1
- package/es/feedback/WarningText/WarningText.stories.js +4 -4
- package/es/feedback/WarningText/__stories__/AssistiveText.js +1 -1
- package/es/feedback/WarningText/__stories__/Default.js +1 -1
- package/es/feedback/WarningText/__stories__/Dense.js +1 -1
- package/es/feedback/WarningText/index.spec.js +1 -1
- package/es/feedback/index.js +6 -6
- package/es/form/AutoComplete/AutoComplete.stories.js +8 -8
- package/es/form/AutoComplete/__stories__/Default.js +4 -4
- package/es/form/AutoComplete/__stories__/WithAutoSelect.js +4 -4
- package/es/form/AutoComplete/__stories__/WithDefaultValue.js +4 -4
- package/es/form/AutoComplete/__stories__/WithInLine.js +4 -4
- package/es/form/AutoComplete/__stories__/WithMinLength.js +5 -5
- package/es/form/AutoComplete/__stories__/WithPlaceHolder.js +4 -4
- package/es/form/AutoComplete/__stories__/WithShowAllValues.js +4 -4
- package/es/form/AutoComplete/index.js +2 -2
- package/es/form/Button/BackButton.js +1 -1
- package/es/form/Button/Button.stories.js +13 -13
- package/es/form/Button/Icon.js +1 -1
- package/es/form/Button/__stories__/Back.js +1 -1
- package/es/form/Button/__stories__/ButtonLinkButton.js +1 -1
- package/es/form/Button/__stories__/CallToActionButton.js +1 -1
- package/es/form/Button/__stories__/Dense.js +1 -1
- package/es/form/Button/__stories__/Disabled.js +1 -1
- package/es/form/Button/__stories__/GroupingButtons.js +1 -1
- package/es/form/Button/__stories__/GroupingButtonsAndLinks.js +2 -2
- package/es/form/Button/__stories__/Primary.js +1 -1
- package/es/form/Button/__stories__/Secondary.js +1 -1
- package/es/form/Button/__stories__/ThemeToggle.js +1 -1
- package/es/form/Button/__stories__/Warning.js +1 -1
- package/es/form/Button/__stories__/WithVariantLink.js +1 -1
- package/es/form/Button/index.js +5 -5
- package/es/form/Button/index.spec.js +1 -1
- package/es/form/Checkbox/Checkbox.stories.js +11 -11
- package/es/form/Checkbox/__stories__/ConditionalReveal.js +4 -4
- package/es/form/Checkbox/__stories__/Default.js +3 -3
- package/es/form/Checkbox/__stories__/Dense.js +3 -3
- package/es/form/Checkbox/__stories__/Inline.js +3 -3
- package/es/form/Checkbox/__stories__/InlineWithDivider.js +3 -3
- package/es/form/Checkbox/__stories__/MultipleQuestions.js +3 -3
- package/es/form/Checkbox/__stories__/NoneAnswer.js +2 -2
- package/es/form/Checkbox/__stories__/NoneAnswerWithError.js +4 -4
- package/es/form/Checkbox/__stories__/WithErrorMessage.js +5 -5
- package/es/form/Checkbox/__stories__/WithHint.js +3 -3
- package/es/form/DateInputContainer/DateInputContainer.stories.js +6 -6
- package/es/form/DateInputContainer/__stories__/Default.js +3 -3
- package/es/form/DateInputContainer/__stories__/Dense.js +2 -2
- package/es/form/DateInputContainer/__stories__/MultipleQuestions.js +3 -3
- package/es/form/DateInputContainer/__stories__/WithErrorMessage.js +5 -5
- package/es/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.js +5 -5
- package/es/form/ErrorMessage/ErrorMessage.stories.js +4 -4
- package/es/form/ErrorMessage/__stories__/DateInputError.js +5 -5
- package/es/form/ErrorMessage/__stories__/Default.js +5 -5
- package/es/form/ErrorMessage/__stories__/ErrorMessageOnly.js +2 -2
- package/es/form/FileUpload/FileUpload.stories.js +3 -3
- package/es/form/FileUpload/__stories__/Default.js +3 -3
- package/es/form/FileUpload/__stories__/WithErrorMessage.js +5 -5
- package/es/form/RadioContainer/RadioContainer.stories.js +11 -11
- package/es/form/RadioContainer/__stories__/ConditionalReveal.js +4 -4
- package/es/form/RadioContainer/__stories__/Default.js +2 -2
- package/es/form/RadioContainer/__stories__/Dense.js +2 -2
- package/es/form/RadioContainer/__stories__/Inline.js +3 -3
- package/es/form/RadioContainer/__stories__/InlineWithDivider.js +3 -3
- package/es/form/RadioContainer/__stories__/MultipleQuestions.js +3 -3
- package/es/form/RadioContainer/__stories__/NoneAnswer.js +2 -2
- package/es/form/RadioContainer/__stories__/WithErrorMessage.js +5 -5
- package/es/form/RadioContainer/__stories__/WithHints.js +3 -3
- package/es/form/RadioContainer/__stories__/WithMediumLegend.js +2 -2
- package/es/form/SelectContainer/SelectContainer.stories.js +5 -5
- package/es/form/SelectContainer/__stories__/Default.js +3 -3
- package/es/form/SelectContainer/__stories__/Dense.js +3 -3
- package/es/form/SelectContainer/__stories__/DisabledInput.js +3 -3
- package/es/form/SelectContainer/__stories__/WithHint.js +4 -4
- package/es/form/SingleCharacterInputs/SingleCharacterInput.stories.js +5 -5
- package/es/form/SingleCharacterInputs/__stories__/Default.js +3 -3
- package/es/form/SingleCharacterInputs/__stories__/WithDefaultError.js +5 -5
- package/es/form/SingleCharacterInputs/__stories__/WithErrorMessageInvalidCode.js +5 -5
- package/es/form/SingleCharacterInputs/__stories__/WithErrorMessageLessDigit.js +5 -5
- package/es/form/TextArea/TextArea.stories.js +9 -9
- package/es/form/TextArea/__stories__/Default.js +4 -4
- package/es/form/TextArea/__stories__/Dense.js +3 -3
- package/es/form/TextArea/__stories__/DisabledInput.js +5 -5
- package/es/form/TextArea/__stories__/LimitedCharacters.js +5 -5
- package/es/form/TextArea/__stories__/MultipleQuestions.js +4 -4
- package/es/form/TextArea/__stories__/WithDeclaredRows.js +5 -5
- package/es/form/TextArea/__stories__/WithErrorMessage.js +6 -6
- package/es/form/TextArea/__stories__/WithHint.js +5 -5
- package/es/form/TextInput/TextInput.stories.js +10 -10
- package/es/form/TextInput/__stories__/AskingForNumbers.js +5 -5
- package/es/form/TextInput/__stories__/Default.js +4 -4
- package/es/form/TextInput/__stories__/Dense.js +3 -3
- package/es/form/TextInput/__stories__/DisabledInput.js +5 -5
- package/es/form/TextInput/__stories__/FixedWidths.js +4 -4
- package/es/form/TextInput/__stories__/FluidWidths.js +4 -4
- package/es/form/TextInput/__stories__/MultipleQuestions.js +3 -3
- package/es/form/TextInput/__stories__/WithErrorMessage.js +6 -6
- package/es/form/TextInput/__stories__/WithHint.js +5 -5
- package/es/form/index.js +15 -15
- package/es/govgr/Footer/Copyright.js +2 -2
- package/es/govgr/Footer/LicenseCCSA.js +2 -2
- package/es/govgr/Footer/index.js +2 -2
- package/es/govgr/images/index.js +5 -5
- package/es/govgr/index.js +5 -5
- package/es/i18n/I18nText.js +1 -1
- package/es/i18n/index.js +1 -1
- package/es/icons/index.js +1 -1
- package/es/index.js +11 -11
- package/es/layouts/Basic/Basic.stories.js +4 -4
- package/es/layouts/Basic/Content/index.js +2 -4
- package/es/layouts/Basic/Side/index.js +2 -3
- package/es/layouts/Basic/__snapshots__/index.spec.tsx.snap +43 -24
- package/es/layouts/Basic/__stories__/Default.js +4 -4
- package/es/layouts/Basic/__stories__/MultipleRowsLayout.js +5 -5
- package/es/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.js +5 -5
- package/es/layouts/Basic/index.js +8 -8
- package/es/layouts/Basic/index.spec.js +1 -1
- package/es/layouts/Divider/Divider.stories.js +2 -2
- package/es/layouts/Divider/__stories__/Default.js +1 -1
- package/es/layouts/Divider/index.js +1 -1
- package/es/layouts/Grid/Grid.stories.js +4 -4
- package/es/layouts/Grid/__stories__/Default.js +2 -2
- package/es/layouts/Grid/__stories__/Inline.js +2 -2
- package/es/layouts/Grid/__stories__/ResponsiveSpacing.js +2 -2
- package/es/layouts/Stack/Stack.stories.js +7 -7
- package/es/layouts/Stack/__stories__/AlignItems.js +2 -2
- package/es/layouts/Stack/__stories__/Default.js +2 -2
- package/es/layouts/Stack/__stories__/JustifyContent.js +2 -2
- package/es/layouts/Stack/__stories__/NoWrap.js +2 -2
- package/es/layouts/Stack/__stories__/Row.js +2 -2
- package/es/layouts/Stack/__stories__/Spacing.js +2 -2
- package/es/layouts/index.js +13 -13
- package/es/navigation/BackLink/BackLink.stories.js +2 -2
- package/es/navigation/BackLink/__stories__/Default.js +1 -1
- package/es/navigation/BackToTopLink/BackToTopLink.stories.js +8 -0
- package/es/navigation/BackToTopLink/__stories__/Default.js +12 -0
- package/es/navigation/BackToTopLink/__stories__/InMain.js +13 -0
- package/es/navigation/BackToTopLink/index.js +64 -0
- package/es/navigation/Breadcrumbs/Breadcrumbs.stories.js +2 -2
- package/es/navigation/Breadcrumbs/__stories__/Default.js +1 -1
- package/es/navigation/Drawer/Drawer.stories.js +4 -2
- package/es/navigation/Drawer/__stories__/Auto.js +82 -0
- package/es/navigation/Drawer/__stories__/Default.js +4 -4
- package/es/navigation/Drawer/__stories__/WithHook.js +84 -0
- package/es/navigation/Drawer/auto.js +76 -0
- package/es/navigation/Drawer/hooks.js +52 -0
- package/es/navigation/Drawer/index.js +1 -0
- package/es/navigation/Dropdown/Dropdown.stories.js +11 -4
- package/es/navigation/Dropdown/Dropdown.stories.playwright.json +16 -0
- package/es/navigation/Dropdown/__stories__/AlignRight.js +8 -8
- package/es/navigation/Dropdown/__stories__/ContentPosition.js +99 -0
- package/es/navigation/Dropdown/__stories__/Default.js +9 -15
- package/es/navigation/Dropdown/__stories__/Dense.js +50 -0
- package/es/navigation/Dropdown/__stories__/Disabled.js +44 -0
- package/es/navigation/Dropdown/__stories__/PlacementTop.js +8 -8
- package/es/navigation/Dropdown/__stories__/Secondary.js +30 -0
- package/es/navigation/Dropdown/__stories__/VariantLink.js +43 -0
- package/es/navigation/Dropdown/__stories__/Warning.js +30 -0
- package/es/navigation/Dropdown/__stories__/WithIcons.js +95 -0
- package/es/navigation/Link/Link.stories.js +7 -7
- package/es/navigation/Link/__stories__/DarkBackground.js +3 -3
- package/es/navigation/Link/__stories__/DarkBackgroundNoUnderline.js +3 -3
- package/es/navigation/Link/__stories__/Default.js +1 -1
- package/es/navigation/Link/__stories__/ExternalLink.js +2 -2
- package/es/navigation/Link/__stories__/NoUnderline.js +1 -1
- package/es/navigation/Link/__stories__/OpensInNewTab.js +1 -1
- package/es/navigation/Link/index.spec.js +1 -1
- package/es/navigation/NavList/NavList.stories.js +9 -9
- package/es/navigation/NavList/NavListAuto/index.js +4 -4
- package/es/navigation/NavList/__stories__/Default.js +2 -2
- package/es/navigation/NavList/__stories__/HorizontalWithDrawer.js +4 -4
- package/es/navigation/NavList/__stories__/HorizontalWithoutDrawer.js +3 -3
- package/es/navigation/NavList/__stories__/NavListWithoutNav.js +2 -2
- package/es/navigation/NavList/__stories__/UsingHeaderButton.js +9 -9
- package/es/navigation/NavList/__stories__/UsingNavListAuto.js +3 -3
- package/es/navigation/NavList/__stories__/Vertical.js +2 -2
- package/es/navigation/NavList/__stories__/VerticalWithoutDrawer.js +4 -4
- package/es/navigation/NavList/hooks/useNavList.js +1 -1
- package/es/navigation/NavList/index.js +4 -4
- package/es/navigation/NavList/index.spec.js +1 -1
- package/es/navigation/Pagination/Pagination.stories.js +8 -6
- package/es/navigation/Pagination/__stories__/Auto.js +52 -0
- package/es/navigation/Pagination/__stories__/Default.js +9 -9
- package/es/navigation/Pagination/__stories__/PaginationSmall.js +7 -7
- package/es/navigation/Pagination/__stories__/PaginationWithSmallFont.js +7 -7
- package/es/navigation/Pagination/__stories__/WithHook.js +57 -0
- package/es/navigation/Pagination/__stories__/WithInactiveValues.js +9 -9
- package/es/navigation/Pagination/__stories__/WithResultsPerPage.js +7 -7
- package/es/navigation/Pagination/auto.js +87 -0
- package/es/navigation/Pagination/hooks.js +117 -0
- package/es/navigation/Pagination/index.js +51 -1
- package/es/navigation/SkipLink/SkipLink.stories.js +2 -2
- package/es/navigation/SkipLink/__stories__/Default.js +2 -2
- package/es/navigation/Tabs/Tabs.stories.js +5 -3
- package/es/navigation/Tabs/Tabs.stories.playwright.json +2 -2
- package/es/navigation/Tabs/__stories__/Auto.js +33 -0
- package/es/navigation/Tabs/__stories__/Default.js +26 -16
- package/es/navigation/Tabs/__stories__/Dense.js +35 -0
- package/es/navigation/Tabs/auto.js +56 -0
- package/es/navigation/Tabs/hooks.js +92 -0
- package/es/navigation/Tabs/index.js +4 -50
- package/es/navigation/index.js +9 -9
- package/es/registry.js +263 -239
- package/es/typography/Caption/index.js +2 -2
- package/es/typography/Heading/Heading.stories.js +2 -2
- package/es/typography/Heading/__stories__/Default.js +1 -1
- package/es/typography/HeadingCaption/HeadingCaption.stories.js +3 -3
- package/es/typography/HeadingCaption/__stories__/Default.js +2 -2
- package/es/typography/HeadingCaption/__stories__/NestedToTitle.js +2 -2
- package/es/typography/Hint/Hint.stories.js +3 -3
- package/es/typography/Hint/__stories__/Default.js +1 -1
- package/es/typography/Hint/__stories__/FontSizes.js +1 -1
- package/es/typography/NormalText/NormalText.stories.js +5 -5
- package/es/typography/NormalText/__stories__/Default.js +1 -1
- package/es/typography/NormalText/__stories__/FontSizes.js +2 -2
- package/es/typography/NormalText/__stories__/FontWeight.js +2 -2
- package/es/typography/NormalText/__stories__/Variants.js +2 -2
- package/es/typography/Paragraph/Paragraph.stories.js +6 -6
- package/es/typography/Paragraph/__stories__/Default.js +1 -1
- package/es/typography/Paragraph/__stories__/FontSizes.js +1 -1
- package/es/typography/Paragraph/__stories__/FontWeight.js +1 -1
- package/es/typography/Paragraph/__stories__/LeadVariant.js +1 -1
- package/es/typography/Paragraph/__stories__/SmallVariant.js +1 -1
- package/es/typography/Title/index.js +2 -2
- package/es/typography/index.js +5 -5
- package/es/utils/Base/index.js +2 -2
- package/es/utils/Kitchensink/AllComponents.js +2 -2
- package/es/utils/Kitchensink/KitchensinkByCategory.js +2 -2
- package/es/utils/Kitchensink/KitchensinkByLetter.js +1 -1
- package/es/utils/Kitchensink/KitchensinkComponent.js +5 -5
- package/es/utils/Kitchensink/KitchensinkDashboard.js +1 -1
- package/es/utils/VisuallyHidden/VisuallyHidden.stories.js +2 -2
- package/es/utils/VisuallyHidden/__stories__/Default.js +4 -4
- package/es/utils/hooks/useDebounce.js +1 -1
- package/es/utils/index.js +3 -3
- package/feedback/CopyToClipboard/CopyToClipboard.stories.js +5 -5
- package/feedback/CopyToClipboard/CopyToClipboard.stories.mjs +9 -0
- package/feedback/CopyToClipboard/__stories__/Banner.js +3 -3
- package/feedback/CopyToClipboard/__stories__/Banner.mjs +16 -0
- package/feedback/CopyToClipboard/__stories__/Default.js +14 -11
- package/feedback/CopyToClipboard/__stories__/Default.mjs +22 -0
- package/feedback/CopyToClipboard/__stories__/Dense.js +3 -3
- package/feedback/CopyToClipboard/__stories__/Dense.mjs +20 -0
- package/feedback/CopyToClipboard/index.d.ts +2 -1
- package/feedback/CopyToClipboard/index.js +4 -2
- package/feedback/CopyToClipboard/index.mjs +55 -0
- package/feedback/ErrorSummary/ErrorSummary.stories.js +8 -8
- package/feedback/ErrorSummary/ErrorSummary.stories.mjs +14 -0
- package/feedback/ErrorSummary/__stories__/Default.js +4 -4
- package/feedback/ErrorSummary/__stories__/Default.mjs +13 -0
- package/feedback/ErrorSummary/__stories__/Dense.js +4 -4
- package/feedback/ErrorSummary/__stories__/Dense.mjs +15 -0
- package/feedback/ErrorSummary/__stories__/LinkedToCheckbox.js +9 -9
- package/feedback/ErrorSummary/__stories__/LinkedToCheckbox.mjs +30 -0
- package/feedback/ErrorSummary/__stories__/LinkedToField.js +9 -9
- package/feedback/ErrorSummary/__stories__/LinkedToField.mjs +31 -0
- package/feedback/ErrorSummary/__stories__/LinkedToInput.js +10 -10
- package/feedback/ErrorSummary/__stories__/LinkedToInput.mjs +30 -0
- package/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.js +11 -11
- package/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.mjs +35 -0
- package/feedback/ErrorSummary/index.spec.js +2 -2
- package/feedback/ErrorSummary/index.spec.mjs +8 -0
- package/feedback/NotificationBanner/NotificationBanner.stories.js +5 -5
- package/feedback/NotificationBanner/NotificationBanner.stories.mjs +12 -0
- package/feedback/NotificationBanner/__stories__/Default.js +2 -2
- package/feedback/NotificationBanner/__stories__/Default.mjs +12 -0
- package/feedback/NotificationBanner/__stories__/Dense.js +2 -2
- package/feedback/NotificationBanner/__stories__/Dense.mjs +13 -0
- package/feedback/NotificationBanner/__stories__/Success.js +2 -2
- package/feedback/NotificationBanner/__stories__/Success.mjs +13 -0
- package/feedback/NotificationBanner/index.spec.js +3 -3
- package/feedback/NotificationBanner/index.spec.mjs +19 -0
- package/feedback/PhaseBanner/PhaseBanner.stories.js +4 -4
- package/feedback/PhaseBanner/PhaseBanner.stories.mjs +10 -0
- package/feedback/PhaseBanner/__stories__/Default.js +3 -3
- package/feedback/PhaseBanner/__stories__/Default.mjs +12 -0
- package/feedback/PhaseBanner/__stories__/Underlined.js +4 -4
- package/feedback/PhaseBanner/__stories__/Underlined.mjs +14 -0
- package/feedback/ServiceBadge/index.js +1 -1
- package/feedback/ServiceBadge/index.mjs +19 -0
- package/feedback/WarningText/WarningText.stories.js +5 -5
- package/feedback/WarningText/WarningText.stories.mjs +11 -0
- package/feedback/WarningText/__stories__/AssistiveText.js +2 -2
- package/feedback/WarningText/__stories__/AssistiveText.mjs +11 -0
- package/feedback/WarningText/__stories__/Default.js +2 -2
- package/feedback/WarningText/__stories__/Default.mjs +9 -0
- package/feedback/WarningText/__stories__/Dense.js +2 -2
- package/feedback/WarningText/__stories__/Dense.mjs +11 -0
- package/feedback/WarningText/index.spec.js +2 -2
- package/feedback/WarningText/index.spec.mjs +8 -0
- package/feedback/index.js +6 -6
- package/feedback/index.mjs +6 -0
- package/form/AutoComplete/AutoComplete.stories.js +9 -9
- package/form/AutoComplete/AutoComplete.stories.mjs +14 -0
- package/form/AutoComplete/__stories__/Default.js +5 -5
- package/form/AutoComplete/__stories__/Default.mjs +16 -0
- package/form/AutoComplete/__stories__/WithAutoSelect.js +5 -5
- package/form/AutoComplete/__stories__/WithAutoSelect.mjs +30 -0
- package/form/AutoComplete/__stories__/WithDefaultValue.js +5 -5
- package/form/AutoComplete/__stories__/WithDefaultValue.mjs +17 -0
- package/form/AutoComplete/__stories__/WithInLine.js +5 -5
- package/form/AutoComplete/__stories__/WithInLine.mjs +17 -0
- package/form/AutoComplete/__stories__/WithMinLength.js +6 -6
- package/form/AutoComplete/__stories__/WithMinLength.mjs +18 -0
- package/form/AutoComplete/__stories__/WithPlaceHolder.js +5 -5
- package/form/AutoComplete/__stories__/WithPlaceHolder.mjs +17 -0
- package/form/AutoComplete/__stories__/WithShowAllValues.js +5 -5
- package/form/AutoComplete/__stories__/WithShowAllValues.mjs +17 -0
- package/form/AutoComplete/index.js +2 -2
- package/form/AutoComplete/index.mjs +653 -0
- package/form/Button/BackButton.d.ts +1 -1
- package/form/Button/BackButton.js +1 -1
- package/form/Button/BackButton.mjs +21 -0
- package/form/Button/Button.stories.js +2 -2
- package/form/Button/Button.stories.mjs +21 -0
- package/form/Button/Icon.js +1 -1
- package/form/Button/Icon.mjs +7 -0
- package/form/Button/__stories__/Back.js +1 -1
- package/form/Button/__stories__/Back.mjs +13 -0
- package/form/Button/__stories__/ButtonLinkButton.js +1 -1
- package/form/Button/__stories__/ButtonLinkButton.mjs +17 -0
- package/form/Button/__stories__/CallToActionButton.js +1 -1
- package/form/Button/__stories__/CallToActionButton.mjs +14 -0
- package/form/Button/__stories__/Dense.js +2 -2
- package/form/Button/__stories__/Dense.mjs +12 -0
- package/form/Button/__stories__/Disabled.js +2 -2
- package/form/Button/__stories__/Disabled.mjs +13 -0
- package/form/Button/__stories__/GroupingButtons.js +2 -2
- package/form/Button/__stories__/GroupingButtons.mjs +11 -0
- package/form/Button/__stories__/GroupingButtonsAndLinks.js +3 -3
- package/form/Button/__stories__/GroupingButtonsAndLinks.mjs +12 -0
- package/form/Button/__stories__/Primary.js +2 -2
- package/form/Button/__stories__/Primary.mjs +11 -0
- package/form/Button/__stories__/Secondary.js +2 -2
- package/form/Button/__stories__/Secondary.mjs +12 -0
- package/form/Button/__stories__/ThemeToggle.js +1 -1
- package/form/Button/__stories__/ThemeToggle.mjs +9 -0
- package/form/Button/__stories__/Warning.js +2 -2
- package/form/Button/__stories__/Warning.mjs +12 -0
- package/form/Button/__stories__/WithVariantLink.js +2 -2
- package/form/Button/__stories__/WithVariantLink.mjs +12 -0
- package/form/Button/index.js +5 -5
- package/form/Button/index.mjs +20 -0
- package/form/Button/index.spec.js +2 -2
- package/form/Button/index.spec.mjs +9 -0
- package/form/Checkbox/Checkbox.stories.js +12 -12
- package/form/Checkbox/Checkbox.stories.mjs +18 -0
- package/form/Checkbox/__stories__/ConditionalReveal.js +7 -7
- package/form/Checkbox/__stories__/ConditionalReveal.mjs +26 -0
- package/form/Checkbox/__stories__/Default.js +6 -6
- package/form/Checkbox/__stories__/Default.mjs +24 -0
- package/form/Checkbox/__stories__/Dense.js +7 -7
- package/form/Checkbox/__stories__/Dense.mjs +26 -0
- package/form/Checkbox/__stories__/Inline.js +6 -6
- package/form/Checkbox/__stories__/Inline.mjs +23 -0
- package/form/Checkbox/__stories__/InlineWithDivider.js +6 -6
- package/form/Checkbox/__stories__/InlineWithDivider.mjs +24 -0
- package/form/Checkbox/__stories__/MultipleQuestions.js +6 -6
- package/form/Checkbox/__stories__/MultipleQuestions.mjs +26 -0
- package/form/Checkbox/__stories__/NoneAnswer.js +5 -5
- package/form/Checkbox/__stories__/NoneAnswer.mjs +20 -0
- package/form/Checkbox/__stories__/NoneAnswerWithError.js +7 -7
- package/form/Checkbox/__stories__/NoneAnswerWithError.mjs +26 -0
- package/form/Checkbox/__stories__/WithErrorMessage.js +7 -7
- package/form/Checkbox/__stories__/WithErrorMessage.mjs +27 -0
- package/form/Checkbox/__stories__/WithHint.js +6 -6
- package/form/Checkbox/__stories__/WithHint.mjs +27 -0
- package/form/DateInputContainer/DateInputContainer.stories.js +7 -7
- package/form/DateInputContainer/DateInputContainer.stories.mjs +13 -0
- package/form/DateInputContainer/__stories__/Default.js +7 -7
- package/form/DateInputContainer/__stories__/Default.mjs +24 -0
- package/form/DateInputContainer/__stories__/Dense.js +6 -6
- package/form/DateInputContainer/__stories__/Dense.mjs +23 -0
- package/form/DateInputContainer/__stories__/MultipleQuestions.js +6 -6
- package/form/DateInputContainer/__stories__/MultipleQuestions.mjs +24 -0
- package/form/DateInputContainer/__stories__/WithErrorMessage.js +9 -9
- package/form/DateInputContainer/__stories__/WithErrorMessage.mjs +35 -0
- package/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.js +9 -9
- package/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.mjs +32 -0
- package/form/ErrorMessage/ErrorMessage.stories.js +5 -5
- package/form/ErrorMessage/ErrorMessage.stories.mjs +11 -0
- package/form/ErrorMessage/__stories__/DateInputError.js +6 -6
- package/form/ErrorMessage/__stories__/DateInputError.mjs +24 -0
- package/form/ErrorMessage/__stories__/Default.js +6 -6
- package/form/ErrorMessage/__stories__/Default.mjs +32 -0
- package/form/ErrorMessage/__stories__/ErrorMessageOnly.js +3 -3
- package/form/ErrorMessage/__stories__/ErrorMessageOnly.mjs +12 -0
- package/form/FileUpload/FileUpload.stories.js +4 -4
- package/form/FileUpload/FileUpload.stories.mjs +9 -0
- package/form/FileUpload/__stories__/Default.js +4 -4
- package/form/FileUpload/__stories__/Default.mjs +17 -0
- package/form/FileUpload/__stories__/WithErrorMessage.js +6 -6
- package/form/FileUpload/__stories__/WithErrorMessage.mjs +21 -0
- package/form/RadioContainer/RadioContainer.stories.js +12 -12
- package/form/RadioContainer/RadioContainer.stories.mjs +18 -0
- package/form/RadioContainer/__stories__/ConditionalReveal.js +7 -7
- package/form/RadioContainer/__stories__/ConditionalReveal.mjs +26 -0
- package/form/RadioContainer/__stories__/Default.js +6 -6
- package/form/RadioContainer/__stories__/Default.mjs +22 -0
- package/form/RadioContainer/__stories__/Dense.js +7 -7
- package/form/RadioContainer/__stories__/Dense.mjs +24 -0
- package/form/RadioContainer/__stories__/Inline.js +6 -6
- package/form/RadioContainer/__stories__/Inline.mjs +23 -0
- package/form/RadioContainer/__stories__/InlineWithDivider.js +6 -6
- package/form/RadioContainer/__stories__/InlineWithDivider.mjs +24 -0
- package/form/RadioContainer/__stories__/MultipleQuestions.js +6 -6
- package/form/RadioContainer/__stories__/MultipleQuestions.mjs +26 -0
- package/form/RadioContainer/__stories__/NoneAnswer.js +5 -5
- package/form/RadioContainer/__stories__/NoneAnswer.mjs +24 -0
- package/form/RadioContainer/__stories__/WithErrorMessage.js +7 -7
- package/form/RadioContainer/__stories__/WithErrorMessage.mjs +29 -0
- package/form/RadioContainer/__stories__/WithHints.js +5 -5
- package/form/RadioContainer/__stories__/WithHints.mjs +29 -0
- package/form/RadioContainer/__stories__/WithMediumLegend.js +6 -6
- package/form/RadioContainer/__stories__/WithMediumLegend.mjs +24 -0
- package/form/SelectContainer/SelectContainer.stories.js +6 -6
- package/form/SelectContainer/SelectContainer.stories.mjs +12 -0
- package/form/SelectContainer/__stories__/Default.js +8 -8
- package/form/SelectContainer/__stories__/Default.mjs +22 -0
- package/form/SelectContainer/__stories__/Dense.js +8 -8
- package/form/SelectContainer/__stories__/Dense.mjs +23 -0
- package/form/SelectContainer/__stories__/DisabledInput.js +8 -8
- package/form/SelectContainer/__stories__/DisabledInput.mjs +24 -0
- package/form/SelectContainer/__stories__/WithHint.js +9 -9
- package/form/SelectContainer/__stories__/WithHint.mjs +26 -0
- package/form/SingleCharacterInputs/SingleCharacterInput.stories.js +6 -6
- package/form/SingleCharacterInputs/SingleCharacterInput.stories.mjs +12 -0
- package/form/SingleCharacterInputs/__stories__/Default.js +9 -9
- package/form/SingleCharacterInputs/__stories__/Default.mjs +35 -0
- package/form/SingleCharacterInputs/__stories__/WithDefaultError.js +11 -11
- package/form/SingleCharacterInputs/__stories__/WithDefaultError.mjs +39 -0
- package/form/SingleCharacterInputs/__stories__/WithErrorMessageInvalidCode.js +12 -12
- package/form/SingleCharacterInputs/__stories__/WithErrorMessageInvalidCode.mjs +49 -0
- package/form/SingleCharacterInputs/__stories__/WithErrorMessageLessDigit.js +12 -12
- package/form/SingleCharacterInputs/__stories__/WithErrorMessageLessDigit.mjs +43 -0
- package/form/TextArea/TextArea.stories.js +10 -10
- package/form/TextArea/TextArea.stories.mjs +16 -0
- package/form/TextArea/__stories__/Default.js +4 -4
- package/form/TextArea/__stories__/Default.mjs +16 -0
- package/form/TextArea/__stories__/Dense.js +4 -4
- package/form/TextArea/__stories__/Dense.mjs +14 -0
- package/form/TextArea/__stories__/DisabledInput.js +5 -5
- package/form/TextArea/__stories__/DisabledInput.mjs +21 -0
- package/form/TextArea/__stories__/LimitedCharacters.js +5 -5
- package/form/TextArea/__stories__/LimitedCharacters.mjs +24 -0
- package/form/TextArea/__stories__/MultipleQuestions.js +5 -5
- package/form/TextArea/__stories__/MultipleQuestions.mjs +17 -0
- package/form/TextArea/__stories__/WithDeclaredRows.js +5 -5
- package/form/TextArea/__stories__/WithDeclaredRows.mjs +21 -0
- package/form/TextArea/__stories__/WithErrorMessage.js +6 -6
- package/form/TextArea/__stories__/WithErrorMessage.mjs +27 -0
- package/form/TextArea/__stories__/WithHint.js +5 -5
- package/form/TextArea/__stories__/WithHint.mjs +20 -0
- package/form/TextInput/TextInput.stories.js +11 -11
- package/form/TextInput/TextInput.stories.mjs +17 -0
- package/form/TextInput/__stories__/AskingForNumbers.js +5 -5
- package/form/TextInput/__stories__/AskingForNumbers.mjs +22 -0
- package/form/TextInput/__stories__/Default.js +4 -4
- package/form/TextInput/__stories__/Default.mjs +16 -0
- package/form/TextInput/__stories__/Dense.js +4 -4
- package/form/TextInput/__stories__/Dense.mjs +14 -0
- package/form/TextInput/__stories__/DisabledInput.js +5 -5
- package/form/TextInput/__stories__/DisabledInput.mjs +21 -0
- package/form/TextInput/__stories__/FixedWidths.js +9 -9
- package/form/TextInput/__stories__/FixedWidths.mjs +42 -0
- package/form/TextInput/__stories__/FluidWidths.js +9 -9
- package/form/TextInput/__stories__/FluidWidths.mjs +42 -0
- package/form/TextInput/__stories__/MultipleQuestions.js +4 -4
- package/form/TextInput/__stories__/MultipleQuestions.mjs +13 -0
- package/form/TextInput/__stories__/WithErrorMessage.js +6 -6
- package/form/TextInput/__stories__/WithErrorMessage.mjs +27 -0
- package/form/TextInput/__stories__/WithHint.js +5 -5
- package/form/TextInput/__stories__/WithHint.mjs +20 -0
- package/form/index.js +15 -15
- package/form/index.mjs +15 -0
- package/govgr/Footer/Copyright.js +2 -2
- package/govgr/Footer/Copyright.mjs +39 -0
- package/govgr/Footer/LicenseCCSA.js +2 -2
- package/govgr/Footer/LicenseCCSA.mjs +18 -0
- package/govgr/Footer/index.js +2 -2
- package/govgr/Footer/index.mjs +21 -0
- package/govgr/images/index.js +5 -5
- package/govgr/images/index.mjs +5 -0
- package/govgr/index.js +5 -5
- package/govgr/index.mjs +5 -0
- package/i18n/I18nText.js +3 -3
- package/i18n/I18nText.mjs +79 -0
- package/i18n/index.d.ts +1 -1
- package/i18n/index.js +1 -1
- package/i18n/index.mjs +54 -0
- package/icons/index.js +1 -1
- package/icons/index.mjs +2 -0
- package/index.js +11 -11
- package/index.mjs +16 -0
- package/layouts/Basic/Basic.stories.js +2 -2
- package/layouts/Basic/Basic.stories.mjs +11 -0
- package/layouts/Basic/Content/index.d.ts +1 -3
- package/layouts/Basic/Content/index.js +1 -7
- package/layouts/Basic/Content/index.mjs +18 -0
- package/layouts/Basic/Side/index.d.ts +1 -3
- package/layouts/Basic/Side/index.js +1 -7
- package/layouts/Basic/Side/index.mjs +7 -0
- package/layouts/Basic/__snapshots__/index.spec.tsx.snap +43 -24
- package/layouts/Basic/__stories__/Default.js +5 -5
- package/layouts/Basic/__stories__/Default.mjs +12 -0
- package/layouts/Basic/__stories__/MultipleRowsLayout.js +6 -6
- package/layouts/Basic/__stories__/MultipleRowsLayout.mjs +15 -0
- package/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.js +6 -6
- package/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.mjs +15 -0
- package/layouts/Basic/index.js +8 -8
- package/layouts/Basic/index.mjs +11 -0
- package/layouts/Basic/index.spec.js +2 -2
- package/layouts/Basic/index.spec.mjs +10 -0
- package/layouts/Divider/Divider.stories.js +2 -2
- package/layouts/Divider/Divider.stories.mjs +8 -0
- package/layouts/Divider/__stories__/Default.js +1 -1
- package/layouts/Divider/__stories__/Default.mjs +21 -0
- package/layouts/Divider/index.js +1 -1
- package/layouts/Divider/index.mjs +9 -0
- package/layouts/Grid/Grid.stories.js +5 -5
- package/layouts/Grid/Grid.stories.mjs +9 -0
- package/layouts/Grid/__stories__/Default.js +9 -9
- package/layouts/Grid/__stories__/Default.mjs +75 -0
- package/layouts/Grid/__stories__/Inline.js +9 -9
- package/layouts/Grid/__stories__/Inline.mjs +76 -0
- package/layouts/Grid/__stories__/ResponsiveSpacing.js +9 -9
- package/layouts/Grid/__stories__/ResponsiveSpacing.mjs +79 -0
- package/layouts/Stack/Stack.stories.js +8 -8
- package/layouts/Stack/Stack.stories.mjs +12 -0
- package/layouts/Stack/__stories__/AlignItems.js +8 -8
- package/layouts/Stack/__stories__/AlignItems.mjs +67 -0
- package/layouts/Stack/__stories__/Default.js +3 -3
- package/layouts/Stack/__stories__/Default.mjs +24 -0
- package/layouts/Stack/__stories__/JustifyContent.js +9 -9
- package/layouts/Stack/__stories__/JustifyContent.mjs +84 -0
- package/layouts/Stack/__stories__/NoWrap.js +3 -3
- package/layouts/Stack/__stories__/NoWrap.mjs +26 -0
- package/layouts/Stack/__stories__/Row.js +3 -3
- package/layouts/Stack/__stories__/Row.mjs +25 -0
- package/layouts/Stack/__stories__/Spacing.js +7 -7
- package/layouts/Stack/__stories__/Spacing.mjs +55 -0
- package/layouts/index.js +7 -7
- package/layouts/index.mjs +13 -0
- package/navigation/BackLink/BackLink.stories.js +3 -3
- package/navigation/BackLink/BackLink.stories.mjs +7 -0
- package/navigation/BackLink/__stories__/Default.js +2 -2
- package/navigation/BackLink/__stories__/Default.mjs +12 -0
- package/navigation/BackToTopLink/BackToTopLink.stories.d.ts +9 -0
- package/navigation/BackToTopLink/BackToTopLink.stories.js +45 -0
- package/navigation/BackToTopLink/BackToTopLink.stories.mjs +8 -0
- package/navigation/BackToTopLink/__stories__/Default.d.ts +2 -0
- package/navigation/BackToTopLink/__stories__/Default.js +25 -0
- package/navigation/BackToTopLink/__stories__/Default.mjs +12 -0
- package/navigation/BackToTopLink/__stories__/InMain.d.ts +2 -0
- package/navigation/BackToTopLink/__stories__/InMain.js +34 -0
- package/navigation/BackToTopLink/__stories__/InMain.mjs +13 -0
- package/navigation/BackToTopLink/index.d.ts +12 -0
- package/navigation/BackToTopLink/index.js +125 -0
- package/navigation/BackToTopLink/index.mjs +64 -0
- package/navigation/Breadcrumbs/Breadcrumbs.stories.js +3 -3
- package/navigation/Breadcrumbs/Breadcrumbs.stories.mjs +9 -0
- package/navigation/Breadcrumbs/__stories__/Default.js +6 -6
- package/navigation/Breadcrumbs/__stories__/Default.mjs +21 -0
- package/navigation/Drawer/Drawer.stories.d.ts +2 -0
- package/navigation/Drawer/Drawer.stories.js +31 -3
- package/navigation/Drawer/Drawer.stories.mjs +11 -0
- package/navigation/Drawer/__stories__/Auto.d.ts +1 -0
- package/navigation/Drawer/__stories__/Auto.js +101 -0
- package/navigation/Drawer/__stories__/Auto.mjs +82 -0
- package/navigation/Drawer/__stories__/Default.js +5 -5
- package/navigation/Drawer/__stories__/Default.mjs +86 -0
- package/navigation/Drawer/__stories__/WithHook.d.ts +1 -0
- package/navigation/Drawer/__stories__/WithHook.js +106 -0
- package/navigation/Drawer/__stories__/WithHook.mjs +84 -0
- package/navigation/Drawer/auto.d.ts +28 -0
- package/navigation/Drawer/auto.js +111 -0
- package/navigation/Drawer/auto.mjs +76 -0
- package/navigation/Drawer/hooks.d.ts +20 -0
- package/navigation/Drawer/hooks.js +72 -0
- package/navigation/Drawer/hooks.mjs +52 -0
- package/navigation/Drawer/index.d.ts +1 -0
- package/navigation/Drawer/index.js +14 -0
- package/navigation/Drawer/index.mjs +5 -0
- package/navigation/Dropdown/Dropdown.stories.d.ts +7 -0
- package/navigation/Dropdown/Dropdown.stories.js +100 -2
- package/navigation/Dropdown/Dropdown.stories.mjs +19 -0
- package/navigation/Dropdown/Dropdown.stories.playwright.json +16 -0
- package/navigation/Dropdown/__stories__/AlignRight.js +10 -10
- package/navigation/Dropdown/__stories__/AlignRight.mjs +56 -0
- package/navigation/Dropdown/__stories__/ContentPosition.d.ts +2 -0
- package/navigation/Dropdown/__stories__/ContentPosition.js +114 -0
- package/navigation/Dropdown/__stories__/ContentPosition.mjs +99 -0
- package/navigation/Dropdown/__stories__/Default.js +9 -16
- package/navigation/Dropdown/__stories__/Default.mjs +42 -0
- package/navigation/Dropdown/__stories__/Dense.d.ts +2 -0
- package/navigation/Dropdown/__stories__/Dense.js +68 -0
- package/navigation/Dropdown/__stories__/Dense.mjs +50 -0
- package/navigation/Dropdown/__stories__/Disabled.d.ts +2 -0
- package/navigation/Dropdown/__stories__/Disabled.js +61 -0
- package/navigation/Dropdown/__stories__/Disabled.mjs +44 -0
- package/navigation/Dropdown/__stories__/PlacementTop.js +10 -10
- package/navigation/Dropdown/__stories__/PlacementTop.mjs +61 -0
- package/navigation/Dropdown/__stories__/Secondary.d.ts +2 -0
- package/navigation/Dropdown/__stories__/Secondary.js +44 -0
- package/navigation/Dropdown/__stories__/Secondary.mjs +30 -0
- package/navigation/Dropdown/__stories__/VariantLink.d.ts +2 -0
- package/navigation/Dropdown/__stories__/VariantLink.js +60 -0
- package/navigation/Dropdown/__stories__/VariantLink.mjs +43 -0
- package/navigation/Dropdown/__stories__/Warning.d.ts +2 -0
- package/navigation/Dropdown/__stories__/Warning.js +44 -0
- package/navigation/Dropdown/__stories__/Warning.mjs +30 -0
- package/navigation/Dropdown/__stories__/WithIcons.d.ts +2 -0
- package/navigation/Dropdown/__stories__/WithIcons.js +111 -0
- package/navigation/Dropdown/__stories__/WithIcons.mjs +95 -0
- package/navigation/Dropdown/index.d.ts +1 -1
- package/navigation/Link/Link.stories.js +8 -8
- package/navigation/Link/Link.stories.mjs +13 -0
- package/navigation/Link/__stories__/DarkBackground.js +4 -4
- package/navigation/Link/__stories__/DarkBackground.mjs +19 -0
- package/navigation/Link/__stories__/DarkBackgroundNoUnderline.js +4 -4
- package/navigation/Link/__stories__/DarkBackgroundNoUnderline.mjs +20 -0
- package/navigation/Link/__stories__/Default.js +2 -2
- package/navigation/Link/__stories__/Default.mjs +13 -0
- package/navigation/Link/__stories__/ExternalLink.js +3 -3
- package/navigation/Link/__stories__/ExternalLink.mjs +14 -0
- package/navigation/Link/__stories__/NoUnderline.js +2 -2
- package/navigation/Link/__stories__/NoUnderline.mjs +14 -0
- package/navigation/Link/__stories__/OpensInNewTab.js +2 -2
- package/navigation/Link/__stories__/OpensInNewTab.mjs +13 -0
- package/navigation/Link/index.spec.js +4 -4
- package/navigation/Link/index.spec.mjs +21 -0
- package/navigation/NavList/NavList.stories.js +10 -10
- package/navigation/NavList/NavList.stories.mjs +16 -0
- package/navigation/NavList/NavListAuto/index.js +2 -2
- package/navigation/NavList/NavListAuto/index.mjs +48 -0
- package/navigation/NavList/__stories__/Default.js +5 -5
- package/navigation/NavList/__stories__/Default.mjs +29 -0
- package/navigation/NavList/__stories__/HorizontalWithDrawer.js +9 -9
- package/navigation/NavList/__stories__/HorizontalWithDrawer.mjs +67 -0
- package/navigation/NavList/__stories__/HorizontalWithoutDrawer.js +8 -8
- package/navigation/NavList/__stories__/HorizontalWithoutDrawer.mjs +41 -0
- package/navigation/NavList/__stories__/NavListWithoutNav.js +4 -4
- package/navigation/NavList/__stories__/NavListWithoutNav.mjs +19 -0
- package/navigation/NavList/__stories__/UsingHeaderButton.js +15 -15
- package/navigation/NavList/__stories__/UsingHeaderButton.mjs +70 -0
- package/navigation/NavList/__stories__/UsingNavListAuto.js +3 -3
- package/navigation/NavList/__stories__/UsingNavListAuto.mjs +38 -0
- package/navigation/NavList/__stories__/Vertical.js +5 -5
- package/navigation/NavList/__stories__/Vertical.mjs +32 -0
- package/navigation/NavList/__stories__/VerticalWithoutDrawer.js +8 -8
- package/navigation/NavList/__stories__/VerticalWithoutDrawer.mjs +44 -0
- package/navigation/NavList/hooks/useNavList.js +1 -1
- package/navigation/NavList/hooks/useNavList.mjs +39 -0
- package/navigation/NavList/index.js +4 -4
- package/navigation/NavList/index.mjs +17 -0
- package/navigation/NavList/index.spec.js +2 -2
- package/navigation/NavList/index.spec.mjs +8 -0
- package/navigation/Pagination/Pagination.stories.d.ts +2 -0
- package/navigation/Pagination/Pagination.stories.js +35 -7
- package/navigation/Pagination/Pagination.stories.mjs +15 -0
- package/navigation/Pagination/__stories__/Auto.d.ts +2 -0
- package/navigation/Pagination/__stories__/Auto.js +68 -0
- package/navigation/Pagination/__stories__/Auto.mjs +52 -0
- package/navigation/Pagination/__stories__/Default.js +25 -25
- package/navigation/Pagination/__stories__/Default.mjs +67 -0
- package/navigation/Pagination/__stories__/PaginationSmall.js +11 -11
- package/navigation/Pagination/__stories__/PaginationSmall.mjs +35 -0
- package/navigation/Pagination/__stories__/PaginationWithSmallFont.js +16 -16
- package/navigation/Pagination/__stories__/PaginationWithSmallFont.mjs +44 -0
- package/navigation/Pagination/__stories__/WithHook.d.ts +2 -0
- package/navigation/Pagination/__stories__/WithHook.js +75 -0
- package/navigation/Pagination/__stories__/WithHook.mjs +57 -0
- package/navigation/Pagination/__stories__/WithInactiveValues.js +26 -26
- package/navigation/Pagination/__stories__/WithInactiveValues.mjs +69 -0
- package/navigation/Pagination/__stories__/WithResultsPerPage.js +15 -15
- package/navigation/Pagination/__stories__/WithResultsPerPage.mjs +40 -0
- package/navigation/Pagination/auto.d.ts +24 -0
- package/navigation/Pagination/auto.js +122 -0
- package/navigation/Pagination/auto.mjs +87 -0
- package/navigation/Pagination/hooks.d.ts +30 -0
- package/navigation/Pagination/hooks.js +131 -0
- package/navigation/Pagination/hooks.mjs +117 -0
- package/navigation/Pagination/index.d.ts +19 -0
- package/navigation/Pagination/index.js +90 -3
- package/navigation/Pagination/index.mjs +73 -0
- package/navigation/SkipLink/SkipLink.stories.js +3 -3
- package/navigation/SkipLink/SkipLink.stories.mjs +8 -0
- package/navigation/SkipLink/__stories__/Default.js +3 -3
- package/navigation/SkipLink/__stories__/Default.mjs +12 -0
- package/navigation/Tabs/Tabs.stories.d.ts +4 -2
- package/navigation/Tabs/Tabs.stories.js +31 -3
- package/navigation/Tabs/Tabs.stories.mjs +12 -0
- package/navigation/Tabs/Tabs.stories.playwright.json +2 -2
- package/navigation/Tabs/__stories__/Auto.d.ts +2 -0
- package/navigation/Tabs/__stories__/Auto.js +50 -0
- package/navigation/Tabs/__stories__/Auto.mjs +33 -0
- package/navigation/Tabs/__stories__/Default.js +28 -18
- package/navigation/Tabs/__stories__/Default.mjs +54 -0
- package/navigation/Tabs/__stories__/Dense.d.ts +2 -0
- package/navigation/Tabs/__stories__/Dense.js +52 -0
- package/navigation/Tabs/__stories__/Dense.mjs +35 -0
- package/navigation/Tabs/auto.d.ts +18 -0
- package/navigation/Tabs/auto.js +88 -0
- package/navigation/Tabs/auto.mjs +56 -0
- package/navigation/Tabs/hooks.d.ts +28 -0
- package/navigation/Tabs/hooks.js +111 -0
- package/navigation/Tabs/hooks.mjs +92 -0
- package/navigation/Tabs/index.d.ts +4 -11
- package/navigation/Tabs/index.js +37 -67
- package/navigation/Tabs/index.mjs +9 -0
- package/navigation/index.js +9 -9
- package/navigation/index.mjs +9 -0
- package/package.json +5 -5
- package/registry.d.ts +15 -2
- package/registry.js +275 -239
- package/registry.mjs +520 -0
- package/src/app/Header/__snapshots__/index.spec.tsx.snap +7 -4
- package/src/app/Header/__stories__/WithHeaderNavigation.tsx +2 -2
- package/src/app/Modal/Modal.stories.js +2 -0
- package/src/app/Modal/Modal.stories.playwright.json +32 -0
- package/src/app/Modal/__stories__/Auto.tsx +69 -0
- package/src/app/Modal/__stories__/WithHooks.tsx +44 -0
- package/src/app/Modal/auto.tsx +73 -0
- package/src/app/Modal/hooks.ts +87 -0
- package/src/app/Modal/index.tsx +10 -36
- package/src/app/index.ts +0 -1
- package/src/content/Accordion/Accordion.stories.js +2 -0
- package/src/content/Accordion/__snapshots__/index.spec.tsx.snap +10 -4
- package/src/content/Accordion/__stories__/Auto.tsx +129 -0
- package/src/content/Accordion/__stories__/WithHook.tsx +136 -0
- package/src/content/Accordion/auto.tsx +85 -0
- package/src/content/Accordion/hooks.ts +165 -0
- package/src/content/Accordion/index.spec.tsx +29 -15
- package/src/content/Accordion/index.tsx +3 -102
- package/src/content/Details/__snapshots__/index.spec.tsx.snap +4 -4
- package/src/content/StepNav/StepNav.stories.js +2 -0
- package/src/content/StepNav/__stories__/Auto.tsx +228 -0
- package/src/content/StepNav/__stories__/WithHook.tsx +231 -0
- package/src/content/StepNav/auto.tsx +81 -0
- package/src/content/StepNav/index.tsx +4 -2
- package/src/feedback/CopyToClipboard/__stories__/Default.tsx +2 -0
- package/src/feedback/CopyToClipboard/index.tsx +3 -1
- package/src/layouts/Basic/Content/index.tsx +0 -2
- package/src/layouts/Basic/Side/index.tsx +0 -1
- package/src/layouts/Basic/__snapshots__/index.spec.tsx.snap +43 -24
- package/src/navigation/BackToTopLink/BackToTopLink.stories.js +8 -0
- package/src/navigation/BackToTopLink/__stories__/Default.tsx +10 -0
- package/src/navigation/BackToTopLink/__stories__/InMain.tsx +16 -0
- package/src/navigation/BackToTopLink/index.tsx +53 -0
- package/src/navigation/Drawer/Drawer.stories.js +3 -0
- package/src/navigation/Drawer/__stories__/Auto.tsx +103 -0
- package/src/navigation/Drawer/__stories__/WithHook.tsx +105 -0
- package/src/navigation/Drawer/auto.tsx +84 -0
- package/src/navigation/Drawer/hooks.ts +66 -0
- package/src/navigation/Drawer/index.tsx +1 -1
- package/src/navigation/Dropdown/Dropdown.stories.js +7 -0
- package/src/navigation/Dropdown/Dropdown.stories.playwright.json +16 -0
- package/src/navigation/Dropdown/__stories__/ContentPosition.tsx +107 -0
- package/src/navigation/Dropdown/__stories__/Default.tsx +1 -4
- package/src/navigation/Dropdown/__stories__/Dense.tsx +54 -0
- package/src/navigation/Dropdown/__stories__/Disabled.tsx +49 -0
- package/src/navigation/Dropdown/__stories__/Secondary.tsx +36 -0
- package/src/navigation/Dropdown/__stories__/VariantLink.tsx +50 -0
- package/src/navigation/Dropdown/__stories__/Warning.tsx +36 -0
- package/src/navigation/Dropdown/__stories__/WithIcons.tsx +110 -0
- package/src/navigation/NavList/__stories__/UsingHeaderButton.tsx +2 -2
- package/src/navigation/Pagination/Pagination.stories.js +2 -0
- package/src/navigation/Pagination/__stories__/Auto.tsx +64 -0
- package/src/navigation/Pagination/__stories__/Default.tsx +5 -5
- package/src/navigation/Pagination/__stories__/PaginationSmall.tsx +3 -3
- package/src/navigation/Pagination/__stories__/PaginationWithSmallFont.tsx +3 -3
- package/src/navigation/Pagination/__stories__/WithHook.tsx +72 -0
- package/src/navigation/Pagination/__stories__/WithInactiveValues.tsx +5 -5
- package/src/navigation/Pagination/__stories__/WithResultsPerPage.tsx +3 -3
- package/src/navigation/Pagination/auto.tsx +141 -0
- package/src/navigation/Pagination/hooks.ts +136 -0
- package/src/navigation/Pagination/index.tsx +83 -0
- package/src/navigation/Tabs/Tabs.stories.js +4 -2
- package/src/navigation/Tabs/Tabs.stories.playwright.json +2 -2
- package/src/navigation/Tabs/__stories__/Auto.tsx +72 -0
- package/src/navigation/Tabs/__stories__/Default.tsx +40 -12
- package/src/navigation/Tabs/__stories__/Dense.tsx +74 -0
- package/src/navigation/Tabs/auto.tsx +60 -0
- package/src/navigation/Tabs/hooks.ts +103 -0
- package/src/navigation/Tabs/index.tsx +7 -50
- package/src/registry.js +26 -2
- package/src/utils/Base/index.tsx +1 -1
- package/typography/Caption/index.js +2 -2
- package/typography/Caption/index.mjs +8 -0
- package/typography/Heading/Heading.stories.js +3 -3
- package/typography/Heading/Heading.stories.mjs +7 -0
- package/typography/Heading/__stories__/Default.js +6 -6
- package/typography/Heading/__stories__/Default.mjs +29 -0
- package/typography/HeadingCaption/HeadingCaption.stories.js +4 -4
- package/typography/HeadingCaption/HeadingCaption.stories.mjs +8 -0
- package/typography/HeadingCaption/__stories__/Default.js +5 -5
- package/typography/HeadingCaption/__stories__/Default.mjs +35 -0
- package/typography/HeadingCaption/__stories__/NestedToTitle.js +3 -3
- package/typography/HeadingCaption/__stories__/NestedToTitle.mjs +15 -0
- package/typography/Hint/Hint.stories.js +4 -4
- package/typography/Hint/Hint.stories.mjs +8 -0
- package/typography/Hint/__stories__/Default.js +2 -2
- package/typography/Hint/__stories__/Default.mjs +9 -0
- package/typography/Hint/__stories__/FontSizes.js +5 -5
- package/typography/Hint/__stories__/FontSizes.mjs +21 -0
- package/typography/NormalText/NormalText.stories.js +6 -6
- package/typography/NormalText/NormalText.stories.mjs +10 -0
- package/typography/NormalText/__stories__/Default.js +2 -2
- package/typography/NormalText/__stories__/Default.mjs +9 -0
- package/typography/NormalText/__stories__/FontSizes.js +9 -9
- package/typography/NormalText/__stories__/FontSizes.mjs +60 -0
- package/typography/NormalText/__stories__/FontWeight.js +4 -4
- package/typography/NormalText/__stories__/FontWeight.mjs +20 -0
- package/typography/NormalText/__stories__/Variants.js +4 -4
- package/typography/NormalText/__stories__/Variants.mjs +20 -0
- package/typography/Paragraph/Paragraph.stories.js +7 -7
- package/typography/Paragraph/Paragraph.stories.mjs +11 -0
- package/typography/Paragraph/__stories__/Default.js +2 -2
- package/typography/Paragraph/__stories__/Default.mjs +9 -0
- package/typography/Paragraph/__stories__/FontSizes.js +8 -8
- package/typography/Paragraph/__stories__/FontSizes.mjs +35 -0
- package/typography/Paragraph/__stories__/FontWeight.js +3 -3
- package/typography/Paragraph/__stories__/FontWeight.mjs +15 -0
- package/typography/Paragraph/__stories__/LeadVariant.js +2 -2
- package/typography/Paragraph/__stories__/LeadVariant.mjs +11 -0
- package/typography/Paragraph/__stories__/SmallVariant.js +2 -2
- package/typography/Paragraph/__stories__/SmallVariant.mjs +11 -0
- package/typography/Title/index.js +2 -2
- package/typography/Title/index.mjs +42 -0
- package/typography/index.js +5 -5
- package/typography/index.mjs +5 -0
- package/utils/Base/index.d.ts +1 -1
- package/utils/Base/index.js +19 -8
- package/utils/Base/index.mjs +3 -0
- package/utils/Kitchensink/AllComponents.js +2 -2
- package/utils/Kitchensink/AllComponents.mjs +11 -0
- package/utils/Kitchensink/KitchensinkByCategory.js +2 -2
- package/utils/Kitchensink/KitchensinkByCategory.mjs +38 -0
- package/utils/Kitchensink/KitchensinkByLetter.js +1 -1
- package/utils/Kitchensink/KitchensinkByLetter.mjs +19 -0
- package/utils/Kitchensink/KitchensinkComponent.js +5 -5
- package/utils/Kitchensink/KitchensinkComponent.mjs +46 -0
- package/utils/Kitchensink/KitchensinkDashboard.js +1 -1
- package/utils/Kitchensink/KitchensinkDashboard.mjs +49 -0
- package/utils/VisuallyHidden/VisuallyHidden.stories.js +3 -3
- package/utils/VisuallyHidden/VisuallyHidden.stories.mjs +7 -0
- package/utils/VisuallyHidden/__stories__/Default.js +5 -5
- package/utils/VisuallyHidden/__stories__/Default.mjs +16 -0
- package/utils/hooks/useDebounce.d.ts +1 -1
- package/utils/hooks/useDebounce.js +1 -1
- package/utils/hooks/useDebounce.mjs +41 -0
- package/utils/index.js +3 -3
- package/utils/index.mjs +3 -0
- package/app/AccessibilityMenu/index.d.ts +0 -19
- package/app/AccessibilityMenu/index.js +0 -225
- package/es/app/AccessibilityMenu/index.js +0 -62
- package/esm/api/fetchAPI.js +0 -52
- package/esm/api/index.js +0 -13
- package/esm/api/index.spec.js +0 -548
- package/esm/api/introduction.md +0 -6
- package/esm/api/useResource.js +0 -131
- package/esm/api/useResourceAction.js +0 -144
- package/esm/api/useResourceQuery.js +0 -211
- package/esm/api/utils.js +0 -236
- package/esm/app/AccessibilityMenu/index.js +0 -62
- package/esm/app/BannerContainer/BannerContainer.stories.js +0 -10
- package/esm/app/BannerContainer/__stories__/CookiesBanner.js +0 -18
- package/esm/app/Footer/Footer.stories.js +0 -17
- package/esm/app/Footer/Footer.stories.playwright.json +0 -27
- package/esm/app/Footer/__stories__/Default.js +0 -9
- package/esm/app/Footer/__stories__/DefaultCopyright.js +0 -19
- package/esm/app/Footer/__stories__/FooterAllInclusive.js +0 -69
- package/esm/app/Footer/__stories__/FooterWithLink.js +0 -32
- package/esm/app/Footer/__stories__/FooterWithLogo.js +0 -29
- package/esm/app/Footer/__stories__/FooterWithSecondaryNavigation.js +0 -52
- package/esm/app/Footer/__stories__/YearCopyright.js +0 -25
- package/esm/app/Footer/index.mdx +0 -34
- package/esm/app/Header/Header.stories.js +0 -18
- package/esm/app/Header/Header.stories.playwright.json +0 -49
- package/esm/app/Header/__snapshots__/index.spec.tsx.snap +0 -52
- package/esm/app/Header/__stories__/Default.js +0 -14
- package/esm/app/Header/__stories__/WithHeaderNavigation.js +0 -37
- package/esm/app/Header/__stories__/WithNavigation.js +0 -57
- package/esm/app/Header/__stories__/WithServiceName.js +0 -15
- package/esm/app/Header/__stories__/WithServiceNameAndLogo.js +0 -20
- package/esm/app/Header/index.js +0 -9
- package/esm/app/Header/index.mdx +0 -30
- package/esm/app/Header/index.spec.js +0 -32
- package/esm/app/Loader/Loader.stories.js +0 -7
- package/esm/app/Loader/__stories__/Default.js +0 -9
- package/esm/app/Masthead/Masthead.stories.js +0 -12
- package/esm/app/Masthead/Masthead.stories.playwright.json +0 -21
- package/esm/app/Masthead/__stories__/Default.js +0 -15
- package/esm/app/Masthead/__stories__/WithElements.js +0 -21
- package/esm/app/Masthead/__stories__/WithLogo.js +0 -19
- package/esm/app/Masthead/index.mdx +0 -18
- package/esm/app/Modal/Modal.stories.js +0 -11
- package/esm/app/Modal/Modal.stories.playwright.json +0 -21
- package/esm/app/Modal/__stories__/AlertDialog.js +0 -44
- package/esm/app/Modal/__stories__/Default.js +0 -42
- package/esm/app/Modal/__stories__/Dense.js +0 -43
- package/esm/app/Modal/index.js +0 -93
- package/esm/app/Modal/index.mdx +0 -29
- package/esm/app/NotFound/NotFound.stories.js +0 -7
- package/esm/app/NotFound/__stories__/Default.js +0 -9
- package/esm/app/NotFound/index.js +0 -12
- package/esm/app/NotFound/index.mdx +0 -16
- package/esm/app/OutdatedBrowserBanner/hooks/useOutdatedBrowserCheck.js +0 -47
- package/esm/app/OutdatedBrowserBanner/index.js +0 -25
- package/esm/app/Panel/Panel.stories.js +0 -9
- package/esm/app/Panel/__stories__/Default.js +0 -9
- package/esm/app/Panel/index.mdx +0 -16
- package/esm/app/PhaseBannerHeader/PhaseBannerHeader.stories.js +0 -7
- package/esm/app/PhaseBannerHeader/__stories__/Default.js +0 -12
- package/esm/app/PhaseBannerHeader/index.mdx +0 -16
- package/esm/app/QrCodeScanner/QrCodeScanner.stories.js +0 -7
- package/esm/app/QrCodeScanner/__snapshots__/index.spec.tsx.snap +0 -13
- package/esm/app/QrCodeScanner/__stories__/Default.js +0 -52
- package/esm/app/QrCodeScanner/index.spec.js +0 -15
- package/esm/app/QrCodeViewer/QRCode.stories.js +0 -9
- package/esm/app/QrCodeViewer/__stories__/Custom.js +0 -22
- package/esm/app/QrCodeViewer/__stories__/Default.js +0 -11
- package/esm/app/QrCodeViewer/index.js +0 -156
- package/esm/app/QrCodeViewer/index.mdx +0 -22
- package/esm/app/ThemeOptions/index.js +0 -255
- package/esm/app/hooks/useFontSize.js +0 -10
- package/esm/app/hooks/useLetterSpacing.js +0 -10
- package/esm/app/hooks/useLineHeight.js +0 -10
- package/esm/app/index.js +0 -17
- package/esm/content/Accordion/Accordion.stories.js +0 -11
- package/esm/content/Accordion/Accordion.stories.playwright.json +0 -21
- package/esm/content/Accordion/__snapshots__/index.spec.tsx.snap +0 -151
- package/esm/content/Accordion/__stories__/Default.js +0 -31
- package/esm/content/Accordion/__stories__/WithHints.js +0 -32
- package/esm/content/Accordion/index.js +0 -97
- package/esm/content/Accordion/index.mdx +0 -33
- package/esm/content/Accordion/index.spec.js +0 -9
- package/esm/content/Blockquote/Blockquote.stories.js +0 -10
- package/esm/content/Blockquote/__snapshots__/index.spec.tsx.snap +0 -16
- package/esm/content/Blockquote/__stories__/Default.js +0 -9
- package/esm/content/Blockquote/__stories__/Dense.js +0 -11
- package/esm/content/Blockquote/index.mdx +0 -22
- package/esm/content/Blockquote/index.spec.js +0 -9
- package/esm/content/Card/Card.stories.js +0 -20
- package/esm/content/Card/Card.stories.playwright.json +0 -21
- package/esm/content/Card/__stories__/Default.js +0 -10
- package/esm/content/Card/__stories__/Dense.js +0 -14
- package/esm/content/Card/__stories__/WithClickableContent.js +0 -14
- package/esm/content/Card/__stories__/WithClickableLink.js +0 -12
- package/esm/content/Card/__stories__/WithDarkBorder.js +0 -13
- package/esm/content/Card/__stories__/WithDarkTopBorder.js +0 -13
- package/esm/content/Card/__stories__/WithDivider.js +0 -12
- package/esm/content/Card/__stories__/WithGrayBorder.js +0 -13
- package/esm/content/Card/__stories__/WithGrayTopBorder.js +0 -13
- package/esm/content/Card/__stories__/WithGroupButton.js +0 -11
- package/esm/content/Card/__stories__/WithLink.js +0 -10
- package/esm/content/Card/index.mdx +0 -73
- package/esm/content/Chip/Chip.stories.js +0 -12
- package/esm/content/Chip/__stories__/ClickableChip.js +0 -10
- package/esm/content/Chip/__stories__/ClickableDeletableChip.js +0 -13
- package/esm/content/Chip/__stories__/Default.js +0 -9
- package/esm/content/Chip/__stories__/DeletableChip.js +0 -10
- package/esm/content/Chip/__stories__/GroupOfChips.js +0 -9
- package/esm/content/Chip/index.mdx +0 -39
- package/esm/content/Details/Details.stories.js +0 -9
- package/esm/content/Details/Details.stories.playwright.json +0 -27
- package/esm/content/Details/__snapshots__/index.spec.tsx.snap +0 -81
- package/esm/content/Details/__stories__/Default.js +0 -9
- package/esm/content/Details/index.mdx +0 -25
- package/esm/content/Details/index.spec.js +0 -17
- package/esm/content/List/List.stories.js +0 -14
- package/esm/content/List/List.stories.playwright.json +0 -27
- package/esm/content/List/ListItemContent.js +0 -14
- package/esm/content/List/ListItemIcon.js +0 -14
- package/esm/content/List/ListItemText.js +0 -15
- package/esm/content/List/ListItemTitle.js +0 -21
- package/esm/content/List/__snapshots__/index.spec.tsx.snap +0 -7
- package/esm/content/List/__stories__/BulletList.js +0 -12
- package/esm/content/List/__stories__/Default.js +0 -11
- package/esm/content/List/__stories__/HorizontalList.js +0 -13
- package/esm/content/List/__stories__/NestedBulletList.js +0 -20
- package/esm/content/List/__stories__/NumberedList.js +0 -12
- package/esm/content/List/__stories__/WithExtraSpace.js +0 -12
- package/esm/content/List/index.js +0 -7
- package/esm/content/List/index.mdx +0 -30
- package/esm/content/List/index.spec.js +0 -8
- package/esm/content/StepNav/StepNav.stories.js +0 -11
- package/esm/content/StepNav/StepNav.stories.playwright.json +0 -33
- package/esm/content/StepNav/__stories__/Default.js +0 -178
- package/esm/content/StepNav/__stories__/Dense.js +0 -180
- package/esm/content/StepNav/__stories__/WithHints.js +0 -189
- package/esm/content/StepNav/index.js +0 -13
- package/esm/content/StepNav/index.mdx +0 -21
- package/esm/content/SummaryList/SummaryList.stories.js +0 -15
- package/esm/content/SummaryList/SummaryList.stories.playwright.json +0 -27
- package/esm/content/SummaryList/__snapshots__/index.spec.tsx.snap +0 -97
- package/esm/content/SummaryList/__stories__/Default.js +0 -17
- package/esm/content/SummaryList/__stories__/RowVariations.js +0 -37
- package/esm/content/SummaryList/__stories__/WithActions.js +0 -20
- package/esm/content/SummaryList/__stories__/WithKeyAndAction.js +0 -20
- package/esm/content/SummaryList/__stories__/WithoutActions.js +0 -9
- package/esm/content/SummaryList/__stories__/WithoutBorders.js +0 -19
- package/esm/content/SummaryList/index.mdx +0 -34
- package/esm/content/SummaryList/index.spec.js +0 -9
- package/esm/content/Table/Table.stories.js +0 -27
- package/esm/content/Table/Table.stories.playwright.json +0 -37
- package/esm/content/Table/__stories__/DarkVariant.js +0 -47
- package/esm/content/Table/__stories__/DarkVariantWithVerticalHeaders.js +0 -47
- package/esm/content/Table/__stories__/Default.js +0 -41
- package/esm/content/Table/__stories__/DefinedWidth.js +0 -43
- package/esm/content/Table/__stories__/Densed.js +0 -104
- package/esm/content/Table/__stories__/Full.js +0 -91
- package/esm/content/Table/__stories__/MultipleProps.js +0 -71
- package/esm/content/Table/__stories__/NoData.js +0 -11
- package/esm/content/Table/__stories__/NumericDataType.js +0 -61
- package/esm/content/Table/__stories__/RowColors.js +0 -60
- package/esm/content/Table/__stories__/Stacked.js +0 -43
- package/esm/content/Table/__stories__/TableCaptions.js +0 -17
- package/esm/content/Table/__stories__/VerticalBorders.js +0 -47
- package/esm/content/Table/__stories__/VerticalHeaders.js +0 -41
- package/esm/content/Table/__stories__/WithFloatingScroll.js +0 -72
- package/esm/content/Table/__stories__/WithLoader.js +0 -71
- package/esm/content/Table/__stories__/WithSortFilters.js +0 -104
- package/esm/content/Table/__stories__/ZebraProp.js +0 -47
- package/esm/content/Table/index.js +0 -103
- package/esm/content/Table/index.mdx +0 -76
- package/esm/content/TaskList/TaskList.stories.js +0 -9
- package/esm/content/TaskList/__stories__/Default.js +0 -74
- package/esm/content/TaskList/__stories__/Dense.js +0 -76
- package/esm/content/TaskList/index.mdx +0 -21
- package/esm/content/Timeline/Timeline.stories.js +0 -9
- package/esm/content/Timeline/__stories__/Default.js +0 -122
- package/esm/content/Timeline/__stories__/Dense.js +0 -124
- package/esm/content/Timeline/index.mdx +0 -23
- package/esm/content/index.js +0 -12
- package/esm/feedback/CopyToClipboard/CopyToClipboard.stories.js +0 -9
- package/esm/feedback/CopyToClipboard/CopyToClipboard.stories.playwright.json +0 -53
- package/esm/feedback/CopyToClipboard/__stories__/Banner.js +0 -16
- package/esm/feedback/CopyToClipboard/__stories__/Default.js +0 -19
- package/esm/feedback/CopyToClipboard/__stories__/Dense.js +0 -20
- package/esm/feedback/CopyToClipboard/index.js +0 -53
- package/esm/feedback/CopyToClipboard/index.mdx +0 -22
- package/esm/feedback/ErrorSummary/ErrorSummary.stories.js +0 -14
- package/esm/feedback/ErrorSummary/ErrorSummary.stories.playwright.json +0 -27
- package/esm/feedback/ErrorSummary/__snapshots__/index.spec.tsx.snap +0 -7
- package/esm/feedback/ErrorSummary/__stories__/Default.js +0 -13
- package/esm/feedback/ErrorSummary/__stories__/Dense.js +0 -15
- package/esm/feedback/ErrorSummary/__stories__/LinkedToCheckbox.js +0 -30
- package/esm/feedback/ErrorSummary/__stories__/LinkedToField.js +0 -31
- package/esm/feedback/ErrorSummary/__stories__/LinkedToInput.js +0 -30
- package/esm/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.js +0 -35
- package/esm/feedback/ErrorSummary/index.mdx +0 -40
- package/esm/feedback/ErrorSummary/index.spec.js +0 -8
- package/esm/feedback/NotificationBanner/NotificationBanner.stories.js +0 -12
- package/esm/feedback/NotificationBanner/NotificationBanner.stories.playwright.json +0 -49
- package/esm/feedback/NotificationBanner/__snapshots__/index.spec.tsx.snap +0 -23
- package/esm/feedback/NotificationBanner/__stories__/Default.js +0 -12
- package/esm/feedback/NotificationBanner/__stories__/Dense.js +0 -13
- package/esm/feedback/NotificationBanner/__stories__/Success.js +0 -13
- package/esm/feedback/NotificationBanner/index.mdx +0 -30
- package/esm/feedback/NotificationBanner/index.spec.js +0 -19
- package/esm/feedback/PhaseBanner/PhaseBanner.stories.js +0 -10
- package/esm/feedback/PhaseBanner/PhaseBanner.stories.playwright.json +0 -21
- package/esm/feedback/PhaseBanner/__stories__/Default.js +0 -12
- package/esm/feedback/PhaseBanner/__stories__/Underlined.js +0 -14
- package/esm/feedback/PhaseBanner/index.mdx +0 -26
- package/esm/feedback/ServiceBadge/index.js +0 -19
- package/esm/feedback/ServiceBadge/index.mdx +0 -47
- package/esm/feedback/WarningText/WarningText.stories.js +0 -11
- package/esm/feedback/WarningText/__snapshots__/index.spec.tsx.snap +0 -7
- package/esm/feedback/WarningText/__stories__/AssistiveText.js +0 -11
- package/esm/feedback/WarningText/__stories__/Default.js +0 -9
- package/esm/feedback/WarningText/__stories__/Dense.js +0 -11
- package/esm/feedback/WarningText/index.mdx +0 -21
- package/esm/feedback/WarningText/index.spec.js +0 -8
- package/esm/feedback/index.js +0 -6
- package/esm/form/AutoComplete/AutoComplete.stories.js +0 -14
- package/esm/form/AutoComplete/__stories__/Default.js +0 -16
- package/esm/form/AutoComplete/__stories__/WithAutoSelect.js +0 -30
- package/esm/form/AutoComplete/__stories__/WithDefaultValue.js +0 -17
- package/esm/form/AutoComplete/__stories__/WithInLine.js +0 -17
- package/esm/form/AutoComplete/__stories__/WithMinLength.js +0 -18
- package/esm/form/AutoComplete/__stories__/WithPlaceHolder.js +0 -17
- package/esm/form/AutoComplete/__stories__/WithShowAllValues.js +0 -17
- package/esm/form/AutoComplete/index.js +0 -653
- package/esm/form/AutoComplete/index.mdx +0 -49
- package/esm/form/Button/BackButton.js +0 -21
- package/esm/form/Button/Button.stories.js +0 -21
- package/esm/form/Button/Button.stories.playwright.json +0 -115
- package/esm/form/Button/Icon.js +0 -7
- package/esm/form/Button/__snapshots__/index.spec.tsx.snap +0 -17
- package/esm/form/Button/__stories__/Back.js +0 -13
- package/esm/form/Button/__stories__/ButtonLinkButton.js +0 -17
- package/esm/form/Button/__stories__/CallToActionButton.js +0 -14
- package/esm/form/Button/__stories__/Dense.js +0 -12
- package/esm/form/Button/__stories__/Disabled.js +0 -13
- package/esm/form/Button/__stories__/GroupingButtons.js +0 -11
- package/esm/form/Button/__stories__/GroupingButtonsAndLinks.js +0 -12
- package/esm/form/Button/__stories__/Primary.js +0 -11
- package/esm/form/Button/__stories__/Secondary.js +0 -12
- package/esm/form/Button/__stories__/ThemeToggle.js +0 -9
- package/esm/form/Button/__stories__/Warning.js +0 -12
- package/esm/form/Button/__stories__/WithVariantLink.js +0 -12
- package/esm/form/Button/index.js +0 -20
- package/esm/form/Button/index.mdx +0 -97
- package/esm/form/Button/index.spec.js +0 -9
- package/esm/form/Checkbox/Checkbox.stories.js +0 -18
- package/esm/form/Checkbox/Checkbox.stories.playwright.json +0 -55
- package/esm/form/Checkbox/__stories__/ConditionalReveal.js +0 -26
- package/esm/form/Checkbox/__stories__/Default.js +0 -24
- package/esm/form/Checkbox/__stories__/Dense.js +0 -26
- package/esm/form/Checkbox/__stories__/Inline.js +0 -23
- package/esm/form/Checkbox/__stories__/InlineWithDivider.js +0 -24
- package/esm/form/Checkbox/__stories__/MultipleQuestions.js +0 -26
- package/esm/form/Checkbox/__stories__/NoneAnswer.js +0 -20
- package/esm/form/Checkbox/__stories__/NoneAnswerWithError.js +0 -26
- package/esm/form/Checkbox/__stories__/WithErrorMessage.js +0 -27
- package/esm/form/Checkbox/__stories__/WithHint.js +0 -27
- package/esm/form/Checkbox/index.mdx +0 -57
- package/esm/form/DateInputContainer/DateInputContainer.stories.js +0 -13
- package/esm/form/DateInputContainer/DateInputContainer.stories.playwright.json +0 -61
- package/esm/form/DateInputContainer/__stories__/Default.js +0 -24
- package/esm/form/DateInputContainer/__stories__/Dense.js +0 -23
- package/esm/form/DateInputContainer/__stories__/MultipleQuestions.js +0 -24
- package/esm/form/DateInputContainer/__stories__/WithErrorMessage.js +0 -35
- package/esm/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.js +0 -32
- package/esm/form/DateInputContainer/index.mdx +0 -33
- package/esm/form/ErrorMessage/ErrorMessage.stories.js +0 -11
- package/esm/form/ErrorMessage/__stories__/DateInputError.js +0 -24
- package/esm/form/ErrorMessage/__stories__/Default.js +0 -32
- package/esm/form/ErrorMessage/__stories__/ErrorMessageOnly.js +0 -12
- package/esm/form/ErrorMessage/index.mdx +0 -21
- package/esm/form/FileUpload/FileUpload.stories.js +0 -9
- package/esm/form/FileUpload/__stories__/Default.js +0 -17
- package/esm/form/FileUpload/__stories__/WithErrorMessage.js +0 -21
- package/esm/form/FileUpload/index.mdx +0 -24
- package/esm/form/RadioContainer/RadioContainer.stories.js +0 -18
- package/esm/form/RadioContainer/RadioContainer.stories.playwright.json +0 -49
- package/esm/form/RadioContainer/__stories__/ConditionalReveal.js +0 -26
- package/esm/form/RadioContainer/__stories__/Default.js +0 -22
- package/esm/form/RadioContainer/__stories__/Dense.js +0 -24
- package/esm/form/RadioContainer/__stories__/Inline.js +0 -23
- package/esm/form/RadioContainer/__stories__/InlineWithDivider.js +0 -24
- package/esm/form/RadioContainer/__stories__/MultipleQuestions.js +0 -26
- package/esm/form/RadioContainer/__stories__/NoneAnswer.js +0 -24
- package/esm/form/RadioContainer/__stories__/WithErrorMessage.js +0 -29
- package/esm/form/RadioContainer/__stories__/WithHints.js +0 -29
- package/esm/form/RadioContainer/__stories__/WithMediumLegend.js +0 -24
- package/esm/form/RadioContainer/index.mdx +0 -68
- package/esm/form/SelectContainer/SelectContainer.stories.js +0 -12
- package/esm/form/SelectContainer/SelectContainer.stories.playwright.json +0 -21
- package/esm/form/SelectContainer/__stories__/Default.js +0 -22
- package/esm/form/SelectContainer/__stories__/Dense.js +0 -23
- package/esm/form/SelectContainer/__stories__/DisabledInput.js +0 -24
- package/esm/form/SelectContainer/__stories__/WithHint.js +0 -26
- package/esm/form/SelectContainer/index.mdx +0 -36
- package/esm/form/SingleCharacterInputs/SingleCharacterInput.stories.js +0 -12
- package/esm/form/SingleCharacterInputs/__stories__/Default.js +0 -35
- package/esm/form/SingleCharacterInputs/__stories__/WithDefaultError.js +0 -39
- package/esm/form/SingleCharacterInputs/__stories__/WithErrorMessageInvalidCode.js +0 -49
- package/esm/form/SingleCharacterInputs/__stories__/WithErrorMessageLessDigit.js +0 -43
- package/esm/form/SingleCharacterInputs/index.mdx +0 -24
- package/esm/form/TextArea/TextArea.stories.js +0 -16
- package/esm/form/TextArea/TextArea.stories.playwright.json +0 -59
- package/esm/form/TextArea/__stories__/Default.js +0 -16
- package/esm/form/TextArea/__stories__/Dense.js +0 -14
- package/esm/form/TextArea/__stories__/DisabledInput.js +0 -21
- package/esm/form/TextArea/__stories__/LimitedCharacters.js +0 -24
- package/esm/form/TextArea/__stories__/MultipleQuestions.js +0 -17
- package/esm/form/TextArea/__stories__/WithDeclaredRows.js +0 -21
- package/esm/form/TextArea/__stories__/WithErrorMessage.js +0 -27
- package/esm/form/TextArea/__stories__/WithHint.js +0 -20
- package/esm/form/TextArea/index.mdx +0 -48
- package/esm/form/TextInput/TextInput.stories.js +0 -17
- package/esm/form/TextInput/TextInput.stories.playwright.json +0 -43
- package/esm/form/TextInput/__stories__/AskingForNumbers.js +0 -22
- package/esm/form/TextInput/__stories__/Default.js +0 -16
- package/esm/form/TextInput/__stories__/Dense.js +0 -14
- package/esm/form/TextInput/__stories__/DisabledInput.js +0 -21
- package/esm/form/TextInput/__stories__/FixedWidths.js +0 -42
- package/esm/form/TextInput/__stories__/FluidWidths.js +0 -42
- package/esm/form/TextInput/__stories__/MultipleQuestions.js +0 -13
- package/esm/form/TextInput/__stories__/WithErrorMessage.js +0 -27
- package/esm/form/TextInput/__stories__/WithHint.js +0 -20
- package/esm/form/TextInput/index.mdx +0 -60
- package/esm/form/index.js +0 -15
- package/esm/govgr/Footer/Copyright.js +0 -39
- package/esm/govgr/Footer/LicenseCCSA.js +0 -18
- package/esm/govgr/Footer/index.js +0 -21
- package/esm/govgr/Footer/index.mdx +0 -101
- package/esm/govgr/GovGRLogo/govgr-logo.svg +0 -1
- package/esm/govgr/images/index.js +0 -5
- package/esm/govgr/index.js +0 -5
- package/esm/i18n/I18nText.js +0 -79
- package/esm/i18n/index.js +0 -54
- package/esm/icons/index.js +0 -2
- package/esm/index.js +0 -16
- package/esm/introduction.md +0 -11
- package/esm/layouts/Basic/Basic.stories.js +0 -11
- package/esm/layouts/Basic/Bottom/index.mdx +0 -41
- package/esm/layouts/Basic/Content/index.js +0 -20
- package/esm/layouts/Basic/Content/index.mdx +0 -49
- package/esm/layouts/Basic/Main/index.mdx +0 -55
- package/esm/layouts/Basic/Masthead/index.mdx +0 -62
- package/esm/layouts/Basic/Side/index.js +0 -8
- package/esm/layouts/Basic/Side/index.mdx +0 -56
- package/esm/layouts/Basic/Top/index.mdx +0 -63
- package/esm/layouts/Basic/__snapshots__/index.spec.tsx.snap +0 -89
- package/esm/layouts/Basic/__stories__/Default.js +0 -12
- package/esm/layouts/Basic/__stories__/MultipleRowsLayout.js +0 -15
- package/esm/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.js +0 -15
- package/esm/layouts/Basic/index.js +0 -11
- package/esm/layouts/Basic/index.mdx +0 -40
- package/esm/layouts/Basic/index.spec.js +0 -10
- package/esm/layouts/Divider/Divider.stories.js +0 -8
- package/esm/layouts/Divider/__stories__/Default.js +0 -21
- package/esm/layouts/Divider/index.js +0 -9
- package/esm/layouts/Grid/Grid.stories.js +0 -9
- package/esm/layouts/Grid/__stories__/Default.js +0 -75
- package/esm/layouts/Grid/__stories__/Inline.js +0 -76
- package/esm/layouts/Grid/__stories__/ResponsiveSpacing.js +0 -79
- package/esm/layouts/Stack/Stack.stories.js +0 -12
- package/esm/layouts/Stack/__stories__/AlignItems.js +0 -67
- package/esm/layouts/Stack/__stories__/Default.js +0 -24
- package/esm/layouts/Stack/__stories__/JustifyContent.js +0 -84
- package/esm/layouts/Stack/__stories__/NoWrap.js +0 -26
- package/esm/layouts/Stack/__stories__/Row.js +0 -25
- package/esm/layouts/Stack/__stories__/Spacing.js +0 -55
- package/esm/layouts/index.js +0 -13
- package/esm/navigation/BackLink/BackLink.stories.js +0 -7
- package/esm/navigation/BackLink/BackLink.stories.playwright.json +0 -21
- package/esm/navigation/BackLink/__stories__/Default.js +0 -12
- package/esm/navigation/BackLink/index.mdx +0 -20
- package/esm/navigation/Breadcrumbs/Breadcrumbs.stories.js +0 -9
- package/esm/navigation/Breadcrumbs/Breadcrumbs.stories.playwright.json +0 -33
- package/esm/navigation/Breadcrumbs/__stories__/Default.js +0 -21
- package/esm/navigation/Breadcrumbs/index.mdx +0 -27
- package/esm/navigation/Drawer/Drawer.stories.js +0 -9
- package/esm/navigation/Drawer/__stories__/Default.js +0 -86
- package/esm/navigation/Drawer/index.js +0 -4
- package/esm/navigation/Drawer/index.mdx +0 -16
- package/esm/navigation/Dropdown/Dropdown.stories.js +0 -12
- package/esm/navigation/Dropdown/Dropdown.stories.playwright.json +0 -53
- package/esm/navigation/Dropdown/__stories__/AlignRight.js +0 -56
- package/esm/navigation/Dropdown/__stories__/Default.js +0 -48
- package/esm/navigation/Dropdown/__stories__/PlacementTop.js +0 -61
- package/esm/navigation/Dropdown/index.mdx +0 -31
- package/esm/navigation/Link/Link.stories.js +0 -13
- package/esm/navigation/Link/Link.stories.playwright.json +0 -65
- package/esm/navigation/Link/__snapshots__/index.spec.tsx.snap +0 -38
- package/esm/navigation/Link/__stories__/DarkBackground.js +0 -19
- package/esm/navigation/Link/__stories__/DarkBackgroundNoUnderline.js +0 -20
- package/esm/navigation/Link/__stories__/Default.js +0 -13
- package/esm/navigation/Link/__stories__/ExternalLink.js +0 -14
- package/esm/navigation/Link/__stories__/NoUnderline.js +0 -14
- package/esm/navigation/Link/__stories__/OpensInNewTab.js +0 -13
- package/esm/navigation/Link/index.mdx +0 -40
- package/esm/navigation/Link/index.spec.js +0 -21
- package/esm/navigation/NavList/NavList.stories.js +0 -16
- package/esm/navigation/NavList/NavList.stories.playwright.json +0 -53
- package/esm/navigation/NavList/NavListAuto/index.js +0 -48
- package/esm/navigation/NavList/__snapshots__/index.spec.tsx.snap +0 -7
- package/esm/navigation/NavList/__stories__/Default.js +0 -29
- package/esm/navigation/NavList/__stories__/HorizontalWithDrawer.js +0 -67
- package/esm/navigation/NavList/__stories__/HorizontalWithoutDrawer.js +0 -41
- package/esm/navigation/NavList/__stories__/NavLinksOneLevel.json +0 -17
- package/esm/navigation/NavList/__stories__/NavLinksWithSubmenu.json +0 -36
- package/esm/navigation/NavList/__stories__/NavListWithoutNav.js +0 -19
- package/esm/navigation/NavList/__stories__/UsingHeaderButton.js +0 -70
- package/esm/navigation/NavList/__stories__/UsingNavListAuto.js +0 -38
- package/esm/navigation/NavList/__stories__/Vertical.js +0 -32
- package/esm/navigation/NavList/__stories__/VerticalWithoutDrawer.js +0 -44
- package/esm/navigation/NavList/hooks/useNavList.js +0 -39
- package/esm/navigation/NavList/index.js +0 -17
- package/esm/navigation/NavList/index.mdx +0 -34
- package/esm/navigation/NavList/index.spec.js +0 -8
- package/esm/navigation/Pagination/Pagination.stories.js +0 -13
- package/esm/navigation/Pagination/Pagination.stories.playwright.json +0 -27
- package/esm/navigation/Pagination/__stories__/Default.js +0 -67
- package/esm/navigation/Pagination/__stories__/PaginationSmall.js +0 -35
- package/esm/navigation/Pagination/__stories__/PaginationWithSmallFont.js +0 -44
- package/esm/navigation/Pagination/__stories__/WithInactiveValues.js +0 -69
- package/esm/navigation/Pagination/__stories__/WithResultsPerPage.js +0 -40
- package/esm/navigation/Pagination/index.js +0 -23
- package/esm/navigation/Pagination/index.mdx +0 -28
- package/esm/navigation/SkipLink/SkipLink.stories.js +0 -8
- package/esm/navigation/SkipLink/__stories__/Default.js +0 -12
- package/esm/navigation/Tabs/Tabs.stories.js +0 -10
- package/esm/navigation/Tabs/Tabs.stories.playwright.json +0 -27
- package/esm/navigation/Tabs/__stories__/Default.js +0 -44
- package/esm/navigation/Tabs/index.js +0 -55
- package/esm/navigation/Tabs/index.mdx +0 -24
- package/esm/navigation/index.js +0 -9
- package/esm/registry.js +0 -496
- package/esm/typography/Caption/index.js +0 -8
- package/esm/typography/Heading/Heading.stories.js +0 -7
- package/esm/typography/Heading/__stories__/Default.js +0 -29
- package/esm/typography/Heading/index.mdx +0 -16
- package/esm/typography/HeadingCaption/HeadingCaption.stories.js +0 -8
- package/esm/typography/HeadingCaption/__stories__/Default.js +0 -35
- package/esm/typography/HeadingCaption/__stories__/NestedToTitle.js +0 -15
- package/esm/typography/HeadingCaption/index.mdx +0 -18
- package/esm/typography/Hint/Hint.stories.js +0 -8
- package/esm/typography/Hint/__stories__/Default.js +0 -9
- package/esm/typography/Hint/__stories__/FontSizes.js +0 -21
- package/esm/typography/Hint/index.mdx +0 -20
- package/esm/typography/NormalText/NormalText.stories.js +0 -10
- package/esm/typography/NormalText/__stories__/Default.js +0 -9
- package/esm/typography/NormalText/__stories__/FontSizes.js +0 -60
- package/esm/typography/NormalText/__stories__/FontWeight.js +0 -20
- package/esm/typography/NormalText/__stories__/Variants.js +0 -20
- package/esm/typography/NormalText/index.mdx +0 -30
- package/esm/typography/Paragraph/Paragraph.stories.js +0 -11
- package/esm/typography/Paragraph/__stories__/Default.js +0 -9
- package/esm/typography/Paragraph/__stories__/FontSizes.js +0 -35
- package/esm/typography/Paragraph/__stories__/FontWeight.js +0 -15
- package/esm/typography/Paragraph/__stories__/LeadVariant.js +0 -11
- package/esm/typography/Paragraph/__stories__/SmallVariant.js +0 -11
- package/esm/typography/Paragraph/index.mdx +0 -33
- package/esm/typography/Title/index.js +0 -42
- package/esm/typography/index.js +0 -5
- package/esm/utils/Base/index.js +0 -3
- package/esm/utils/Kitchensink/AllComponents.js +0 -11
- package/esm/utils/Kitchensink/KitchensinkByCategory.js +0 -38
- package/esm/utils/Kitchensink/KitchensinkByLetter.js +0 -19
- package/esm/utils/Kitchensink/KitchensinkComponent.js +0 -46
- package/esm/utils/Kitchensink/KitchensinkDashboard.js +0 -49
- package/esm/utils/VisuallyHidden/VisuallyHidden.stories.js +0 -7
- package/esm/utils/VisuallyHidden/__stories__/Default.js +0 -16
- package/esm/utils/VisuallyHidden/index.mdx +0 -19
- package/esm/utils/hooks/useDebounce.js +0 -41
- package/esm/utils/index.js +0 -3
- package/src/app/AccessibilityMenu/index.tsx +0 -66
- /package/{esm/api/APIErrors.js → api/APIErrors.mjs} +0 -0
- /package/{esm/api/APIProvider.js → api/APIProvider.mjs} +0 -0
- /package/{esm/app/App.js → app/App.mjs} +0 -0
- /package/{esm/app/BannerContainer/index.js → app/BannerContainer/index.mjs} +0 -0
- /package/{esm/app/BottomInfo/index.js → app/BottomInfo/index.mjs} +0 -0
- /package/{esm/app/CloseButton/index.js → app/CloseButton/index.mjs} +0 -0
- /package/{esm/app/FilterContainer/index.js → app/FilterContainer/index.mjs} +0 -0
- /package/{esm/app/Footer/index.js → app/Footer/index.mjs} +0 -0
- /package/{esm/app/Header/HeaderContent.js → app/Header/HeaderContent.mjs} +0 -0
- /package/{esm/app/Header/HeaderLogo.js → app/Header/HeaderLogo.mjs} +0 -0
- /package/{esm/app/Header/HeaderNavMenuContent.js → app/Header/HeaderNavMenuContent.mjs} +0 -0
- /package/{esm/app/Header/HeaderSecondaryLogo.js → app/Header/HeaderSecondaryLogo.mjs} +0 -0
- /package/{esm/app/Header/HeaderSection.js → app/Header/HeaderSection.mjs} +0 -0
- /package/{esm/app/Header/HeaderTitle.js → app/Header/HeaderTitle.mjs} +0 -0
- /package/{esm/app/Loader/index.js → app/Loader/index.mjs} +0 -0
- /package/{esm/app/Masthead/index.js → app/Masthead/index.mjs} +0 -0
- /package/{esm/app/OutdatedBrowserBanner/hooks/evaluateBrowserVersion.js → app/OutdatedBrowserBanner/hooks/evaluateBrowserVersion.mjs} +0 -0
- /package/{esm/app/PageTitleContainer/index.js → app/PageTitleContainer/index.mjs} +0 -0
- /package/{esm/app/Panel/index.js → app/Panel/index.mjs} +0 -0
- /package/{esm/app/PhaseBannerHeader/index.js → app/PhaseBannerHeader/index.mjs} +0 -0
- /package/{esm/app/QrCodeScanner/index.js → app/QrCodeScanner/index.mjs} +0 -0
- /package/{esm/app/QrCodeViewer/qrcodegen.js → app/QrCodeViewer/qrcodegen.mjs} +0 -0
- /package/{esm/app/QrCodeViewer/types.js → app/QrCodeViewer/types.mjs} +0 -0
- /package/{esm/app/QrCodeViewer/utils.js → app/QrCodeViewer/utils.mjs} +0 -0
- /package/{esm/app/hooks/useHighlightLinks.js → app/hooks/useHighlightLinks.mjs} +0 -0
- /package/{esm/app/hooks/useTheme.js → app/hooks/useTheme.mjs} +0 -0
- /package/{esm/app/hooks/useVariantVars.js → app/hooks/useVariantVars.mjs} +0 -0
- /package/{esm/content/Blockquote/index.js → content/Blockquote/index.mjs} +0 -0
- /package/{esm/content/Card/index.js → content/Card/index.mjs} +0 -0
- /package/{esm/content/Chip/index.js → content/Chip/index.mjs} +0 -0
- /package/{esm/content/Details/index.js → content/Details/index.mjs} +0 -0
- /package/{esm/content/FillableText/index.js → content/FillableText/index.mjs} +0 -0
- /package/{esm/content/List/List.js → content/List/List.mjs} +0 -0
- /package/{esm/content/List/ListItem.js → content/List/ListItem.mjs} +0 -0
- /package/{esm/content/SummaryList/index.js → content/SummaryList/index.mjs} +0 -0
- /package/{esm/content/Table/TableFloatingScroll.js → content/Table/TableFloatingScroll.mjs} +0 -0
- /package/{esm/content/Table/hooks/useSort.js → content/Table/hooks/useSort.mjs} +0 -0
- /package/{esm/content/TaskList/index.js → content/TaskList/index.mjs} +0 -0
- /package/{esm/content/Timeline/index.js → content/Timeline/index.mjs} +0 -0
- /package/{esm/custom.d.js → custom.d.mjs} +0 -0
- /package/{esm/feedback/ErrorSummary/index.js → feedback/ErrorSummary/index.mjs} +0 -0
- /package/{esm/feedback/NotificationBanner/index.js → feedback/NotificationBanner/index.mjs} +0 -0
- /package/{esm/feedback/PhaseBanner/index.js → feedback/PhaseBanner/index.mjs} +0 -0
- /package/{esm/feedback/WarningText/index.js → feedback/WarningText/index.mjs} +0 -0
- /package/{esm/form/AutoComplete/Status/index.js → form/AutoComplete/Status/index.mjs} +0 -0
- /package/{esm/form/AutoComplete/__stories__/utils.js → form/AutoComplete/__stories__/utils.mjs} +0 -0
- /package/{esm/form/AutoComplete/utils.js → form/AutoComplete/utils.mjs} +0 -0
- /package/{esm/form/Button/ButtonLink.js → form/Button/ButtonLink.mjs} +0 -0
- /package/{esm/form/Button/CallToAction.js → form/Button/CallToAction.mjs} +0 -0
- /package/{esm/form/Button/ThemeToggleButton.js → form/Button/ThemeToggleButton.mjs} +0 -0
- /package/{esm/form/Checkbox/index.js → form/Checkbox/index.mjs} +0 -0
- /package/{esm/form/DateInputContainer/index.js → form/DateInputContainer/index.mjs} +0 -0
- /package/{esm/form/ErrorMessage/index.js → form/ErrorMessage/index.mjs} +0 -0
- /package/{esm/form/FieldContainer/index.js → form/FieldContainer/index.mjs} +0 -0
- /package/{esm/form/FileUpload/index.js → form/FileUpload/index.mjs} +0 -0
- /package/{esm/form/Form/index.js → form/Form/index.mjs} +0 -0
- /package/{esm/form/LabelContainer/index.js → form/LabelContainer/index.mjs} +0 -0
- /package/{esm/form/RadioContainer/index.js → form/RadioContainer/index.mjs} +0 -0
- /package/{esm/form/SearchContainer/index.js → form/SearchContainer/index.mjs} +0 -0
- /package/{esm/form/SelectContainer/index.js → form/SelectContainer/index.mjs} +0 -0
- /package/{esm/form/SingleCharacterInputs/index.js → form/SingleCharacterInputs/index.mjs} +0 -0
- /package/{esm/form/TextArea/index.js → form/TextArea/index.mjs} +0 -0
- /package/{esm/form/TextInput/index.js → form/TextInput/index.mjs} +0 -0
- /package/{esm/govgr/Footer/HellenicRepublicLogo.js → govgr/Footer/HellenicRepublicLogo.mjs} +0 -0
- /package/{esm/govgr/Footer/logo.js → govgr/Footer/logo.mjs} +0 -0
- /package/{esm/govgr/Footer/logos/logo-el.js → govgr/Footer/logos/logo-el.mjs} +0 -0
- /package/{esm/govgr/Footer/logos/logo-en.js → govgr/Footer/logos/logo-en.mjs} +0 -0
- /package/{esm/govgr/GovGRLogo/index.js → govgr/GovGRLogo/index.mjs} +0 -0
- /package/{esm/govgr/GovGRLogo/logo.js → govgr/GovGRLogo/logo.mjs} +0 -0
- /package/{esm/govgr/images/govgr-logo-base64.js → govgr/images/govgr-logo-base64.mjs} +0 -0
- /package/{esm/govgr/images/govgr-logo-blue-base64.js → govgr/images/govgr-logo-blue-base64.mjs} +0 -0
- /package/{esm/govgr/images/greek-government-base64.js → govgr/images/greek-government-base64.mjs} +0 -0
- /package/{esm/govgr/images/grnet-logo-base64.js → govgr/images/grnet-logo-base64.mjs} +0 -0
- /package/{esm/govgr/images/minedu-logo-base64.js → govgr/images/minedu-logo-base64.mjs} +0 -0
- /package/{esm/govgr/images/minedu-logo-black-base64.js → govgr/images/minedu-logo-black-base64.mjs} +0 -0
- /package/{esm/i18n/locales/el.js → i18n/locales/el.mjs} +0 -0
- /package/{esm/i18n/locales/en.js → i18n/locales/en.mjs} +0 -0
- /package/{esm/icons/Icon/index.js → icons/Icon/index.mjs} +0 -0
- /package/{esm/icons/ImageLogo/index.js → icons/ImageLogo/index.mjs} +0 -0
- /package/{esm/icons/ImageLogoSet/index.js → icons/ImageLogoSet/index.mjs} +0 -0
- /package/{esm/layouts/Admin/index.js → layouts/Admin/index.mjs} +0 -0
- /package/{esm/layouts/Basic/Aside/index.js → layouts/Basic/Aside/index.mjs} +0 -0
- /package/{esm/layouts/Basic/Bottom/index.js → layouts/Basic/Bottom/index.mjs} +0 -0
- /package/{esm/layouts/Basic/Container/index.js → layouts/Basic/Container/index.mjs} +0 -0
- /package/{esm/layouts/Basic/Main/index.js → layouts/Basic/Main/index.mjs} +0 -0
- /package/{esm/layouts/Basic/Masthead/index.js → layouts/Basic/Masthead/index.mjs} +0 -0
- /package/{esm/layouts/Basic/Top/index.js → layouts/Basic/Top/index.mjs} +0 -0
- /package/{esm/layouts/Grid/index.js → layouts/Grid/index.mjs} +0 -0
- /package/{esm/layouts/Hidden/index.js → layouts/Hidden/index.mjs} +0 -0
- /package/{esm/layouts/Section/index.js → layouts/Section/index.mjs} +0 -0
- /package/{esm/layouts/SectionBreak/index.js → layouts/SectionBreak/index.mjs} +0 -0
- /package/{esm/layouts/Stack/index.js → layouts/Stack/index.mjs} +0 -0
- /package/{esm/misc/KitchenSink/index.js → misc/KitchenSink/index.mjs} +0 -0
- /package/{esm/navigation/BackLink/index.js → navigation/BackLink/index.mjs} +0 -0
- /package/{esm/navigation/Breadcrumbs/index.js → navigation/Breadcrumbs/index.mjs} +0 -0
- /package/{esm/navigation/Dropdown/index.js → navigation/Dropdown/index.mjs} +0 -0
- /package/{esm/navigation/Link/index.js → navigation/Link/index.mjs} +0 -0
- /package/{esm/navigation/NavList/Nav.js → navigation/NavList/Nav.mjs} +0 -0
- /package/{esm/navigation/NavList/NavList.js → navigation/NavList/NavList.mjs} +0 -0
- /package/{esm/navigation/NavList/NavMenuContentList.js → navigation/NavList/NavMenuContentList.mjs} +0 -0
- /package/{esm/navigation/NavList/hooks/useTogglableNav.js → navigation/NavList/hooks/useTogglableNav.mjs} +0 -0
- /package/{esm/navigation/NavList/types.js → navigation/NavList/types.mjs} +0 -0
- /package/{esm/navigation/SkipLink/index.js → navigation/SkipLink/index.mjs} +0 -0
- /package/{esm/test-utils/delay.js → test-utils/delay.mjs} +0 -0
- /package/{esm/typography/Heading/index.js → typography/Heading/index.mjs} +0 -0
- /package/{esm/typography/HeadingCaption/index.js → typography/HeadingCaption/index.mjs} +0 -0
- /package/{esm/typography/Hint/index.js → typography/Hint/index.mjs} +0 -0
- /package/{esm/typography/NormalText/index.js → typography/NormalText/index.mjs} +0 -0
- /package/{esm/typography/Paragraph/index.js → typography/Paragraph/index.mjs} +0 -0
- /package/{esm/utils/SvgIcon/index.js → utils/SvgIcon/index.mjs} +0 -0
- /package/{esm/utils/Typography/index.js → utils/Typography/index.mjs} +0 -0
- /package/{esm/utils/VisuallyHidden/index.js → utils/VisuallyHidden/index.mjs} +0 -0
- /package/{esm/utils/hooks/useKeypress.js → utils/hooks/useKeypress.mjs} +0 -0
- /package/{esm/utils/hooks/useLatest.js → utils/hooks/useLatest.mjs} +0 -0
- /package/{esm/utils/hooks/useSearch.js → utils/hooks/useSearch.mjs} +0 -0
- /package/{esm/utils/hooks/useTogglableTab.js → utils/hooks/useTogglableTab.mjs} +0 -0
- /package/{esm/utils/withDeprecation.js → utils/withDeprecation.mjs} +0 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Timeline, TimelineItem, TimelineHeading, TimelineContent, TimelineActions } from "./..";
|
|
3
|
+
import { Button, ButtonGroup } from "../../../form/Button";
|
|
4
|
+
import { Hint } from "../../../typography/Hint";
|
|
5
|
+
import { SummaryList, SummaryListItem, SummaryListItemAction, SummaryListItemKey, SummaryListItemValue } from "../../SummaryList";
|
|
6
|
+
var data = [{
|
|
7
|
+
title: 'Απάντηση',
|
|
8
|
+
codename: '(KEP-APA)',
|
|
9
|
+
date: '7 Απριλίου 2023, 12:32μ.μ.',
|
|
10
|
+
details: [{
|
|
11
|
+
name: 'Ημερομηνία',
|
|
12
|
+
value: '7 Απριλίου 2023, 12:32μ.μ.'
|
|
13
|
+
}, {
|
|
14
|
+
name: 'Χειριστής',
|
|
15
|
+
value: 'Καλλιόπη Παπαδοπούλου',
|
|
16
|
+
actions: ['Ανάθεση']
|
|
17
|
+
}, {
|
|
18
|
+
name: 'Κωδικός επαλήθευσης',
|
|
19
|
+
value: '637283494'
|
|
20
|
+
}, {
|
|
21
|
+
name: 'Κατάσταση',
|
|
22
|
+
value: 'Εισερχόμενη',
|
|
23
|
+
actions: ['Αλλαγή']
|
|
24
|
+
}]
|
|
25
|
+
}, {
|
|
26
|
+
title: 'Συμπληρωματικά έγγραφα ',
|
|
27
|
+
codename: '(MORE-DOCS)',
|
|
28
|
+
date: '5 Απριλίου 2023, 8:32π.μ.',
|
|
29
|
+
details: [{
|
|
30
|
+
name: 'Ημερομηνία',
|
|
31
|
+
value: '7 Απριλίου 2023, 12:32μ.μ.'
|
|
32
|
+
}, {
|
|
33
|
+
name: 'Χειριστής',
|
|
34
|
+
value: 'Μαρία Φλούπη',
|
|
35
|
+
actions: ['Ανάθεση']
|
|
36
|
+
}, {
|
|
37
|
+
name: 'Κωδικός επαλήθευσης',
|
|
38
|
+
value: '637283494'
|
|
39
|
+
}, {
|
|
40
|
+
name: 'Κατάσταση',
|
|
41
|
+
value: 'Εισερχόμενη',
|
|
42
|
+
actions: ['Αλλαγή']
|
|
43
|
+
}]
|
|
44
|
+
}, {
|
|
45
|
+
title: 'Αίτηση για συμπληρωματικά έγγραφα',
|
|
46
|
+
codename: '(MORE-DOCS-REQUEST)',
|
|
47
|
+
date: '5 Απριλίου 2023, 8:32π.μ.',
|
|
48
|
+
details: [{
|
|
49
|
+
name: 'Ημερομηνία',
|
|
50
|
+
value: '5 Απριλίου 2023, 8:32π.μ.'
|
|
51
|
+
}, {
|
|
52
|
+
name: 'Χειριστής',
|
|
53
|
+
value: 'Μαρία Φλούπη',
|
|
54
|
+
actions: ['Ανάθεση']
|
|
55
|
+
}, {
|
|
56
|
+
name: 'Κωδικός επαλήθευσης',
|
|
57
|
+
value: '974256'
|
|
58
|
+
}, {
|
|
59
|
+
name: 'Κατάσταση',
|
|
60
|
+
value: 'Εισερχόμενη',
|
|
61
|
+
actions: ['Αλλαγή']
|
|
62
|
+
}]
|
|
63
|
+
}, {
|
|
64
|
+
title: 'Αίτηση Βεβαίωσης Μόνιμης Κατοικίας',
|
|
65
|
+
codename: '(PERMRES-FOREIS)',
|
|
66
|
+
date: '3 Απριλίου 2023, 5:42μ.μ.',
|
|
67
|
+
actions: [{
|
|
68
|
+
label: 'Απάντηση'
|
|
69
|
+
}, {
|
|
70
|
+
label: 'Αίτημα για συμπληρωματικά έγγραφα'
|
|
71
|
+
}],
|
|
72
|
+
details: [{
|
|
73
|
+
name: 'Ημερομηνία',
|
|
74
|
+
value: '3 Απριλίου 2023, 5:42μ.μ.'
|
|
75
|
+
}, {
|
|
76
|
+
name: 'Χειριστής',
|
|
77
|
+
value: 'Μαρία Φλούπη',
|
|
78
|
+
actions: ['Ανάθεση']
|
|
79
|
+
}, {
|
|
80
|
+
name: 'Κωδικός επαλήθευσης',
|
|
81
|
+
value: '475747'
|
|
82
|
+
}, {
|
|
83
|
+
name: 'Κατάσταση',
|
|
84
|
+
value: 'Εισερχόμενη',
|
|
85
|
+
actions: ['Αλλαγή']
|
|
86
|
+
}]
|
|
87
|
+
}];
|
|
88
|
+
|
|
89
|
+
var _ref = /*#__PURE__*/React.createElement(Button, {
|
|
90
|
+
color: "secondary",
|
|
91
|
+
variant: "link"
|
|
92
|
+
}, "\u03A0\u03C1\u03BF\u03B2\u03BF\u03BB\u03AE \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03BF\u03C5");
|
|
93
|
+
|
|
94
|
+
var _ref2 = /*#__PURE__*/React.createElement(Button, {
|
|
95
|
+
color: "secondary",
|
|
96
|
+
variant: "link"
|
|
97
|
+
}, "\u039B\u03AE\u03C8\u03B7 PDF");
|
|
98
|
+
|
|
99
|
+
export var Dense = function Dense() {
|
|
100
|
+
return /*#__PURE__*/React.createElement(Timeline, {
|
|
101
|
+
dense: true
|
|
102
|
+
}, data && data.map(function (field, index) {
|
|
103
|
+
return /*#__PURE__*/React.createElement(TimelineItem, {
|
|
104
|
+
key: index
|
|
105
|
+
}, /*#__PURE__*/React.createElement(TimelineHeading, {
|
|
106
|
+
size: "md"
|
|
107
|
+
}, field.title, field.codename && /*#__PURE__*/React.createElement(React.Fragment, null, ' - ', " ", field.codename)), /*#__PURE__*/React.createElement(Hint, null, field.date), /*#__PURE__*/React.createElement(TimelineContent, null, field.details && /*#__PURE__*/React.createElement(SummaryList, null, field.details.map(function (field, index) {
|
|
108
|
+
return /*#__PURE__*/React.createElement(SummaryListItem, {
|
|
109
|
+
key: index
|
|
110
|
+
}, /*#__PURE__*/React.createElement(SummaryListItemKey, null, field.name), /*#__PURE__*/React.createElement(SummaryListItemValue, null, field.value), field.actions && /*#__PURE__*/React.createElement(SummaryListItemAction, null, /*#__PURE__*/React.createElement(ButtonGroup, null, field.actions && field.actions.map(function (action, subIndex) {
|
|
111
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
112
|
+
key: subIndex,
|
|
113
|
+
variant: "link"
|
|
114
|
+
}, action);
|
|
115
|
+
}))));
|
|
116
|
+
}))), /*#__PURE__*/React.createElement(TimelineActions, null, /*#__PURE__*/React.createElement(ButtonGroup, null, (field.actions || []).map(function (action, subIndex) {
|
|
117
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
118
|
+
key: subIndex,
|
|
119
|
+
variant: "link"
|
|
120
|
+
}, action.label);
|
|
121
|
+
}), _ref, _ref2)));
|
|
122
|
+
}));
|
|
123
|
+
};
|
|
124
|
+
export default Dense;
|
package/content/index.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
|
|
7
|
-
var _Accordion = require("
|
|
7
|
+
var _Accordion = require("./Accordion");
|
|
8
8
|
|
|
9
9
|
Object.keys(_Accordion).forEach(function (key) {
|
|
10
10
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -17,7 +17,7 @@ Object.keys(_Accordion).forEach(function (key) {
|
|
|
17
17
|
});
|
|
18
18
|
});
|
|
19
19
|
|
|
20
|
-
var _Blockquote = require("
|
|
20
|
+
var _Blockquote = require("./Blockquote");
|
|
21
21
|
|
|
22
22
|
Object.keys(_Blockquote).forEach(function (key) {
|
|
23
23
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -30,7 +30,7 @@ Object.keys(_Blockquote).forEach(function (key) {
|
|
|
30
30
|
});
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
var _Card = require("
|
|
33
|
+
var _Card = require("./Card");
|
|
34
34
|
|
|
35
35
|
Object.keys(_Card).forEach(function (key) {
|
|
36
36
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -43,7 +43,7 @@ Object.keys(_Card).forEach(function (key) {
|
|
|
43
43
|
});
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
var _Chip = require("
|
|
46
|
+
var _Chip = require("./Chip");
|
|
47
47
|
|
|
48
48
|
Object.keys(_Chip).forEach(function (key) {
|
|
49
49
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -56,7 +56,7 @@ Object.keys(_Chip).forEach(function (key) {
|
|
|
56
56
|
});
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
var _Details = require("
|
|
59
|
+
var _Details = require("./Details");
|
|
60
60
|
|
|
61
61
|
Object.keys(_Details).forEach(function (key) {
|
|
62
62
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -69,7 +69,7 @@ Object.keys(_Details).forEach(function (key) {
|
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
var _FillableText = require("
|
|
72
|
+
var _FillableText = require("./FillableText");
|
|
73
73
|
|
|
74
74
|
Object.keys(_FillableText).forEach(function (key) {
|
|
75
75
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -82,7 +82,7 @@ Object.keys(_FillableText).forEach(function (key) {
|
|
|
82
82
|
});
|
|
83
83
|
});
|
|
84
84
|
|
|
85
|
-
var _List = require("
|
|
85
|
+
var _List = require("./List");
|
|
86
86
|
|
|
87
87
|
Object.keys(_List).forEach(function (key) {
|
|
88
88
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -95,7 +95,7 @@ Object.keys(_List).forEach(function (key) {
|
|
|
95
95
|
});
|
|
96
96
|
});
|
|
97
97
|
|
|
98
|
-
var _StepNav = require("
|
|
98
|
+
var _StepNav = require("./StepNav");
|
|
99
99
|
|
|
100
100
|
Object.keys(_StepNav).forEach(function (key) {
|
|
101
101
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -108,7 +108,7 @@ Object.keys(_StepNav).forEach(function (key) {
|
|
|
108
108
|
});
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
var _SummaryList = require("
|
|
111
|
+
var _SummaryList = require("./SummaryList");
|
|
112
112
|
|
|
113
113
|
Object.keys(_SummaryList).forEach(function (key) {
|
|
114
114
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -121,7 +121,7 @@ Object.keys(_SummaryList).forEach(function (key) {
|
|
|
121
121
|
});
|
|
122
122
|
});
|
|
123
123
|
|
|
124
|
-
var _Table = require("
|
|
124
|
+
var _Table = require("./Table");
|
|
125
125
|
|
|
126
126
|
Object.keys(_Table).forEach(function (key) {
|
|
127
127
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -134,7 +134,7 @@ Object.keys(_Table).forEach(function (key) {
|
|
|
134
134
|
});
|
|
135
135
|
});
|
|
136
136
|
|
|
137
|
-
var _TaskList = require("
|
|
137
|
+
var _TaskList = require("./TaskList");
|
|
138
138
|
|
|
139
139
|
Object.keys(_TaskList).forEach(function (key) {
|
|
140
140
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -147,7 +147,7 @@ Object.keys(_TaskList).forEach(function (key) {
|
|
|
147
147
|
});
|
|
148
148
|
});
|
|
149
149
|
|
|
150
|
-
var _Timeline = require("
|
|
150
|
+
var _Timeline = require("./Timeline");
|
|
151
151
|
|
|
152
152
|
Object.keys(_Timeline).forEach(function (key) {
|
|
153
153
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from "./Accordion";
|
|
2
|
+
export * from "./Blockquote";
|
|
3
|
+
export * from "./Card";
|
|
4
|
+
export * from "./Chip";
|
|
5
|
+
export * from "./Details";
|
|
6
|
+
export * from "./FillableText";
|
|
7
|
+
export * from "./List";
|
|
8
|
+
export * from "./StepNav";
|
|
9
|
+
export * from "./SummaryList";
|
|
10
|
+
export * from "./Table";
|
|
11
|
+
export * from "./TaskList";
|
|
12
|
+
export * from "./Timeline";
|
package/es/api/fetchAPI.js
CHANGED
|
@@ -4,7 +4,7 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
|
4
4
|
|
|
5
5
|
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); } return ContinueSentinel; } var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
6
6
|
|
|
7
|
-
import { getArgs, processResponse } from
|
|
7
|
+
import { getArgs, processResponse } from "./utils";
|
|
8
8
|
export function fetchAPI(_x, _x2, _x3) {
|
|
9
9
|
return _fetchAPI.apply(this, arguments);
|
|
10
10
|
}
|
package/es/api/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
2
|
import { useContext } from 'react';
|
|
3
|
-
import { APIContext } from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
3
|
+
import { APIContext } from "./APIProvider";
|
|
4
|
+
export * from "./APIErrors";
|
|
5
|
+
export * from "./APIProvider";
|
|
6
|
+
export * from "./useResource";
|
|
7
|
+
export * from "./useResourceAction";
|
|
8
|
+
export * from "./useResourceQuery";
|
|
9
|
+
export * from "./fetchAPI";
|
|
10
10
|
export var useAPI = function useAPI() {
|
|
11
11
|
return useContext(APIContext);
|
|
12
12
|
};
|
package/es/api/index.spec.js
CHANGED
|
@@ -9,9 +9,9 @@ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyri
|
|
|
9
9
|
import React, { Suspense, useEffect } from 'react';
|
|
10
10
|
import { render, fireEvent } from '@testing-library/react';
|
|
11
11
|
import fetchMock from 'fetch-mock';
|
|
12
|
-
import fetchAPI from
|
|
13
|
-
import { APIProvider, useResource, useResourceAction, useResourceMany, APIErrors } from
|
|
14
|
-
import delay from
|
|
12
|
+
import fetchAPI from "./fetchAPI";
|
|
13
|
+
import { APIProvider, useResource, useResourceAction, useResourceMany, APIErrors } from "./index";
|
|
14
|
+
import delay from "../test-utils/delay";
|
|
15
15
|
import 'whatwg-fetch';
|
|
16
16
|
|
|
17
17
|
var _ref2 = /*#__PURE__*/React.createElement("span", null, "something went wrong");
|
package/es/api/useResource.js
CHANGED
|
@@ -6,8 +6,8 @@ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyri
|
|
|
6
6
|
|
|
7
7
|
import { useState } from 'react';
|
|
8
8
|
import { useQuery, queryCache } from 'react-query';
|
|
9
|
-
import { useAPI } from
|
|
10
|
-
import { getQueryKey, processResponse } from
|
|
9
|
+
import { useAPI } from "./";
|
|
10
|
+
import { getQueryKey, processResponse } from "./utils";
|
|
11
11
|
export function useResource(resource, id, query, options, suspense) {
|
|
12
12
|
var _useAPI = useAPI(),
|
|
13
13
|
baseURL = _useAPI.config.baseURL,
|
|
@@ -6,8 +6,8 @@ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyri
|
|
|
6
6
|
|
|
7
7
|
import { useState, useEffect } from 'react';
|
|
8
8
|
import { useMutation } from 'react-query';
|
|
9
|
-
import { useAPI } from
|
|
10
|
-
import { getQueryKey, processResponse } from
|
|
9
|
+
import { useAPI } from "./";
|
|
10
|
+
import { getQueryKey, processResponse } from "./utils";
|
|
11
11
|
export function useResourceAction(resource, id) {
|
|
12
12
|
var method = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'POST';
|
|
13
13
|
var data = arguments.length > 3 ? arguments[3] : undefined;
|
|
@@ -9,8 +9,8 @@ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyri
|
|
|
9
9
|
|
|
10
10
|
import { useEffect, useMemo, useState, useCallback } from 'react';
|
|
11
11
|
import { usePaginatedQuery, queryCache } from 'react-query';
|
|
12
|
-
import { useAPI } from
|
|
13
|
-
import { getQueryKey, processResponse } from
|
|
12
|
+
import { useAPI } from "./";
|
|
13
|
+
import { getQueryKey, processResponse } from "./utils";
|
|
14
14
|
var DEFAULT_PAGINATION_LIMIT = 30;
|
|
15
15
|
var DEFAULT_LIMIT_OPTIONS = [10, 30, 60, 100];
|
|
16
16
|
export function useResourceManyBase(resource, query, options) {
|
package/es/api/utils.js
CHANGED
|
@@ -4,7 +4,7 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
|
4
4
|
|
|
5
5
|
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); } return ContinueSentinel; } var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
6
6
|
|
|
7
|
-
import { APIError } from
|
|
7
|
+
import { APIError } from "./APIErrors";
|
|
8
8
|
export function parseErrors(_x) {
|
|
9
9
|
return _parseErrors.apply(this, arguments);
|
|
10
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable digigov/no-relative-imports */
|
|
2
|
-
import BannerContainer from
|
|
2
|
+
import BannerContainer from "./";
|
|
3
3
|
export default {
|
|
4
4
|
title: 'Digigov UI/app/BannerContainer',
|
|
5
5
|
description: 'The BannerContainer provides a container for the banner and the page content.',
|
|
@@ -7,4 +7,4 @@ export default {
|
|
|
7
7
|
component: BannerContainer,
|
|
8
8
|
displayName: 'BannerContainer'
|
|
9
9
|
};
|
|
10
|
-
export * from
|
|
10
|
+
export * from "./__stories__/CookiesBanner";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import BannerContainer from
|
|
3
|
-
import { Container } from
|
|
4
|
-
import { Main } from
|
|
5
|
-
import { Heading } from
|
|
6
|
-
import { Paragraph } from
|
|
7
|
-
import Button, { ButtonGroup } from
|
|
2
|
+
import BannerContainer from "./..";
|
|
3
|
+
import { Container } from "../../../layouts/Basic/Container";
|
|
4
|
+
import { Main } from "../../../layouts/Basic/Main";
|
|
5
|
+
import { Heading } from "../../../typography/Heading";
|
|
6
|
+
import { Paragraph } from "../../../typography/Paragraph";
|
|
7
|
+
import Button, { ButtonGroup } from "../../../form/Button";
|
|
8
8
|
|
|
9
9
|
var _ref = /*#__PURE__*/React.createElement(BannerContainer, null, /*#__PURE__*/React.createElement(Container, null, /*#__PURE__*/React.createElement(Main, null, /*#__PURE__*/React.createElement(Heading, {
|
|
10
10
|
size: "md"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable digigov/no-relative-imports */
|
|
2
|
-
import Footer from
|
|
2
|
+
import Footer from "./";
|
|
3
3
|
export default {
|
|
4
4
|
title: 'Digigov UI/app/Footer',
|
|
5
5
|
description: 'The footer provides copyright, licensing and other information about your service and department.',
|
|
@@ -8,10 +8,10 @@ export default {
|
|
|
8
8
|
component: Footer,
|
|
9
9
|
displayName: 'Footer'
|
|
10
10
|
};
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
11
|
+
export * from "./__stories__/Default";
|
|
12
|
+
export * from "./__stories__/FooterWithLogo";
|
|
13
|
+
export * from "./__stories__/FooterWithLink";
|
|
14
|
+
export * from "./__stories__/DefaultCopyright";
|
|
15
|
+
export * from "./__stories__/FooterWithSecondaryNavigation";
|
|
16
|
+
export * from "./__stories__/FooterAllInclusive";
|
|
17
|
+
export * from "./__stories__/YearCopyright";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Footer, FooterContainer, FooterInfo, FooterInfoSection, FooterContent, FooterList, FooterListItem, FooterLink } from
|
|
3
|
-
import Copyright from
|
|
4
|
-
import HellenicRepublicLogo from
|
|
5
|
-
import VisuallyHidden from
|
|
2
|
+
import { Footer, FooterContainer, FooterInfo, FooterInfoSection, FooterContent, FooterList, FooterListItem, FooterLink } from "./..";
|
|
3
|
+
import Copyright from "../../../govgr/Footer/Copyright";
|
|
4
|
+
import HellenicRepublicLogo from "../../../govgr/Footer/HellenicRepublicLogo";
|
|
5
|
+
import VisuallyHidden from "../../../utils/VisuallyHidden";
|
|
6
6
|
|
|
7
7
|
var _ref = /*#__PURE__*/React.createElement(Footer, null, /*#__PURE__*/React.createElement(FooterContainer, null, /*#__PURE__*/React.createElement(FooterInfo, null, /*#__PURE__*/React.createElement(FooterInfoSection, {
|
|
8
8
|
grow: true,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Footer, FooterContainer, FooterInfo, FooterInfoSection, FooterContent, FooterNavigation, FooterNavigationSection, FooterHeading, FooterList, FooterListItem, FooterLink, FooterContentLogos, FooterImage } from
|
|
3
|
-
import Copyright from
|
|
4
|
-
import HellenicRepublicLogo from
|
|
5
|
-
import govgrBlueLogo from
|
|
6
|
-
import mineduBlackLogo from
|
|
7
|
-
import SectionBreak from
|
|
8
|
-
import Link from
|
|
9
|
-
import VisuallyHidden from
|
|
2
|
+
import { Footer, FooterContainer, FooterInfo, FooterInfoSection, FooterContent, FooterNavigation, FooterNavigationSection, FooterHeading, FooterList, FooterListItem, FooterLink, FooterContentLogos, FooterImage } from "./..";
|
|
3
|
+
import Copyright from "../../../govgr/Footer/Copyright";
|
|
4
|
+
import HellenicRepublicLogo from "../../../govgr/Footer/HellenicRepublicLogo";
|
|
5
|
+
import govgrBlueLogo from "../../../govgr/images/govgr-logo-blue-base64";
|
|
6
|
+
import mineduBlackLogo from "../../../govgr/images/minedu-logo-black-base64";
|
|
7
|
+
import SectionBreak from "../../../layouts/SectionBreak";
|
|
8
|
+
import Link from "../../../navigation/Link";
|
|
9
|
+
import VisuallyHidden from "../../../utils/VisuallyHidden";
|
|
10
10
|
|
|
11
11
|
var _ref = /*#__PURE__*/React.createElement(FooterNavigation, null, /*#__PURE__*/React.createElement(FooterNavigationSection, {
|
|
12
12
|
"aria-label": "footer navigation section"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Footer, FooterContainer, FooterInfo, FooterInfoSection, FooterContent, FooterList, FooterListItem, FooterLink } from
|
|
3
|
-
import Copyright from
|
|
4
|
-
import HellenicRepublicLogo from
|
|
5
|
-
import Link from
|
|
6
|
-
import VisuallyHidden from
|
|
2
|
+
import { Footer, FooterContainer, FooterInfo, FooterInfoSection, FooterContent, FooterList, FooterListItem, FooterLink } from "./..";
|
|
3
|
+
import Copyright from "../../../govgr/Footer/Copyright";
|
|
4
|
+
import HellenicRepublicLogo from "../../../govgr/Footer/HellenicRepublicLogo";
|
|
5
|
+
import Link from "../../../navigation/Link";
|
|
6
|
+
import VisuallyHidden from "../../../utils/VisuallyHidden";
|
|
7
7
|
|
|
8
8
|
var _ref = /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u03A0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B5\u03C2 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2");
|
|
9
9
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Footer, FooterContainer, FooterInfo, FooterInfoSection, FooterContent, FooterContentLogos, FooterImage } from
|
|
3
|
-
import Copyright from
|
|
4
|
-
import HellenicRepublicLogo from
|
|
5
|
-
import govgrBlueLogo from
|
|
6
|
-
import mineduBlackLogo from
|
|
7
|
-
import Link from
|
|
8
|
-
import VisuallyHidden from
|
|
2
|
+
import { Footer, FooterContainer, FooterInfo, FooterInfoSection, FooterContent, FooterContentLogos, FooterImage } from "./..";
|
|
3
|
+
import Copyright from "../../../govgr/Footer/Copyright";
|
|
4
|
+
import HellenicRepublicLogo from "../../../govgr/Footer/HellenicRepublicLogo";
|
|
5
|
+
import govgrBlueLogo from "../../../govgr/images/govgr-logo-blue-base64";
|
|
6
|
+
import mineduBlackLogo from "../../../govgr/images/minedu-logo-black-base64";
|
|
7
|
+
import Link from "../../../navigation/Link";
|
|
8
|
+
import VisuallyHidden from "../../../utils/VisuallyHidden";
|
|
9
9
|
|
|
10
10
|
var _ref = /*#__PURE__*/React.createElement(FooterContentLogos, null, /*#__PURE__*/React.createElement(FooterImage, {
|
|
11
11
|
src: govgrBlueLogo
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Footer, FooterContainer, FooterInfo, FooterInfoSection, FooterContent, FooterNavigation, FooterNavigationSection, FooterHeading, FooterList, FooterListItem, FooterLink } from
|
|
3
|
-
import Copyright from
|
|
4
|
-
import HellenicRepublicLogo from
|
|
5
|
-
import SectionBreak from
|
|
6
|
-
import Link from
|
|
7
|
-
import VisuallyHidden from
|
|
2
|
+
import { Footer, FooterContainer, FooterInfo, FooterInfoSection, FooterContent, FooterNavigation, FooterNavigationSection, FooterHeading, FooterList, FooterListItem, FooterLink } from "./..";
|
|
3
|
+
import Copyright from "../../../govgr/Footer/Copyright";
|
|
4
|
+
import HellenicRepublicLogo from "../../../govgr/Footer/HellenicRepublicLogo";
|
|
5
|
+
import SectionBreak from "../../../layouts/SectionBreak";
|
|
6
|
+
import Link from "../../../navigation/Link";
|
|
7
|
+
import VisuallyHidden from "../../../utils/VisuallyHidden";
|
|
8
8
|
|
|
9
9
|
var _ref = /*#__PURE__*/React.createElement(FooterNavigation, null, /*#__PURE__*/React.createElement(FooterNavigationSection, {
|
|
10
10
|
"aria-label": "footer navigation section"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Footer, FooterContainer, FooterInfo, FooterInfoSection, FooterContent, FooterList, FooterListItem, FooterLink } from
|
|
3
|
-
import { Copyright, getCopyright } from
|
|
4
|
-
import { HellenicRepublicLogo } from
|
|
5
|
-
import { VisuallyHidden } from
|
|
2
|
+
import { Footer, FooterContainer, FooterInfo, FooterInfoSection, FooterContent, FooterList, FooterListItem, FooterLink } from "./..";
|
|
3
|
+
import { Copyright, getCopyright } from "../../../govgr/Footer/Copyright";
|
|
4
|
+
import { HellenicRepublicLogo } from "../../../govgr/Footer/HellenicRepublicLogo";
|
|
5
|
+
import { VisuallyHidden } from "../../../utils/VisuallyHidden";
|
|
6
6
|
|
|
7
7
|
var _ref = /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u03A0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B5\u03C2 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2");
|
|
8
8
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Header from
|
|
1
|
+
import Header from "./";
|
|
2
2
|
export default {
|
|
3
3
|
title: 'Digigov UI/app/Header',
|
|
4
4
|
component: Header,
|
|
@@ -11,8 +11,8 @@ export default {
|
|
|
11
11
|
layout: 'fullscreen'
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
14
|
+
export * from "./__stories__/Default";
|
|
15
|
+
export * from "./__stories__/WithServiceName";
|
|
16
|
+
export * from "./__stories__/WithServiceNameAndLogo";
|
|
17
|
+
export * from "./__stories__/WithNavigation";
|
|
18
|
+
export * from "./__stories__/WithHeaderNavigation";
|
|
@@ -4,11 +4,11 @@ exports[`renders the HeaderTitle component 1`] = `
|
|
|
4
4
|
<ForwardRef(HeaderTitle)>
|
|
5
5
|
<ForwardRef(Base)
|
|
6
6
|
as="a"
|
|
7
|
-
className="govgr-
|
|
7
|
+
className="govgr-header__title"
|
|
8
8
|
href="/"
|
|
9
9
|
>
|
|
10
10
|
<a
|
|
11
|
-
className="govgr-
|
|
11
|
+
className="govgr-header__title"
|
|
12
12
|
href="/"
|
|
13
13
|
>
|
|
14
14
|
A title
|
|
@@ -23,11 +23,11 @@ exports[`renders the HeaderTitle component with custom href 1`] = `
|
|
|
23
23
|
>
|
|
24
24
|
<ForwardRef(Base)
|
|
25
25
|
as="a"
|
|
26
|
-
className="govgr-
|
|
26
|
+
className="govgr-header__title"
|
|
27
27
|
href="/somelink"
|
|
28
28
|
>
|
|
29
29
|
<a
|
|
30
|
-
className="govgr-
|
|
30
|
+
className="govgr-header__title"
|
|
31
31
|
href="/somelink"
|
|
32
32
|
>
|
|
33
33
|
A title
|
|
@@ -48,5 +48,8 @@ exports[`renders the header with logo, title and subtitle 1`] = `
|
|
|
48
48
|
>
|
|
49
49
|
A title
|
|
50
50
|
</ForwardRef(HeaderTitle)>
|
|
51
|
+
<ForwardRef(HeaderSection)>
|
|
52
|
+
A subtitle
|
|
53
|
+
</ForwardRef(HeaderSection)>
|
|
51
54
|
</ForwardRef(Header)>
|
|
52
55
|
`;
|