@digigov/ui 0.28.2 → 0.28.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -1
- package/{src/admin/AutoComplete/__stories__/utils.ts → LICENSE} +0 -0
- package/README.md +1 -0
- package/admin/AdminLayout/index.d.ts +9 -0
- package/admin/AdminLayout/index.js +114 -0
- package/admin/AutoComplete/AutoComplete.stories.d.ts +14 -0
- package/admin/AutoComplete/AutoComplete.stories.js +116 -0
- package/admin/AutoComplete/Status/index.d.ts +40 -0
- package/admin/AutoComplete/Status/index.js +184 -0
- package/admin/AutoComplete/__stories__/Default.d.ts +2 -0
- package/admin/AutoComplete/__stories__/Default.js +34 -0
- package/admin/AutoComplete/__stories__/WithAutoSelect.d.ts +2 -0
- package/admin/AutoComplete/__stories__/WithAutoSelect.js +46 -0
- package/admin/AutoComplete/__stories__/WithDefaultValue.d.ts +2 -0
- package/admin/AutoComplete/__stories__/WithDefaultValue.js +33 -0
- package/admin/AutoComplete/__stories__/WithInLine.d.ts +2 -0
- package/admin/AutoComplete/__stories__/WithInLine.js +33 -0
- package/admin/AutoComplete/__stories__/WithMinLength.d.ts +2 -0
- package/admin/AutoComplete/__stories__/WithMinLength.js +35 -0
- package/admin/AutoComplete/__stories__/WithPlaceHolder.d.ts +2 -0
- package/admin/AutoComplete/__stories__/WithPlaceHolder.js +33 -0
- package/admin/AutoComplete/__stories__/WithShowAllValues.d.ts +2 -0
- package/admin/AutoComplete/__stories__/WithShowAllValues.js +33 -0
- package/admin/AutoComplete/__stories__/utils.d.ts +0 -0
- package/admin/AutoComplete/__stories__/utils.js +1 -0
- package/admin/AutoComplete/index.d.ts +118 -0
- package/admin/AutoComplete/index.js +716 -0
- package/admin/AutoComplete/index.mdx +49 -0
- package/admin/AutoComplete/utils.d.ts +11 -0
- package/admin/AutoComplete/utils.js +43 -0
- package/admin/Chip/index.d.ts +7 -0
- package/admin/Chip/index.js +86 -0
- package/admin/CircularProgress/CircularProgress.stories.d.ts +8 -0
- package/admin/CircularProgress/CircularProgress.stories.js +31 -0
- package/admin/CircularProgress/__stories__/Default.d.ts +2 -0
- package/admin/CircularProgress/__stories__/Default.js +24 -0
- package/admin/CircularProgress/index.d.ts +3 -0
- package/admin/CircularProgress/index.js +30 -0
- package/admin/CopyToClipboard/CopyToClipboard.stories.d.ts +9 -0
- package/admin/CopyToClipboard/CopyToClipboard.stories.js +45 -0
- package/{src/admin → admin}/CopyToClipboard/CopyToClipboard.stories.playwright.json +0 -0
- package/admin/CopyToClipboard/__stories__/Banner.d.ts +2 -0
- package/admin/CopyToClipboard/__stories__/Banner.js +30 -0
- package/admin/CopyToClipboard/__stories__/Default.d.ts +2 -0
- package/admin/CopyToClipboard/__stories__/Default.js +32 -0
- package/admin/CopyToClipboard/index.d.ts +13 -0
- package/admin/CopyToClipboard/index.js +85 -0
- package/admin/CopyToClipboard/index.mdx +22 -0
- package/admin/Drawer/Drawer.stories.d.ts +10 -0
- package/admin/Drawer/Drawer.stories.js +33 -0
- package/admin/Drawer/__stories__/Default.d.ts +2 -0
- package/admin/Drawer/__stories__/Default.js +67 -0
- package/admin/Drawer/index.d.ts +4 -0
- package/admin/Drawer/index.js +44 -0
- package/admin/Drawer/index.mdx +16 -0
- package/admin/Dropdown/Dropdown.stories.d.ts +12 -0
- package/admin/Dropdown/Dropdown.stories.js +63 -0
- package/admin/Dropdown/__stories__/AlignRight.d.ts +2 -0
- package/admin/Dropdown/__stories__/AlignRight.js +84 -0
- package/admin/Dropdown/__stories__/Default.d.ts +2 -0
- package/admin/Dropdown/__stories__/Default.js +77 -0
- package/admin/Dropdown/__stories__/PlacementTop.d.ts +2 -0
- package/admin/Dropdown/__stories__/PlacementTop.js +84 -0
- package/admin/Dropdown/index.d.ts +22 -0
- package/admin/Dropdown/index.js +144 -0
- package/admin/Dropdown/index.mdx +32 -0
- package/admin/DropdownArrowDown/index.d.ts +3 -0
- package/admin/DropdownArrowDown/index.js +19 -0
- package/admin/FillableText/index.d.ts +3 -0
- package/admin/FillableText/index.js +30 -0
- package/admin/FilterSection/index.d.ts +9 -0
- package/admin/FilterSection/index.js +114 -0
- package/admin/FullPageBackground/index.d.ts +3 -0
- package/admin/FullPageBackground/index.js +30 -0
- package/admin/LabeledText/index.d.ts +3 -0
- package/admin/LabeledText/index.js +30 -0
- package/admin/LoaderContainer/index.d.ts +3 -0
- package/admin/LoaderContainer/index.js +30 -0
- package/admin/Modal/Modal.stories.d.ts +11 -0
- package/admin/Modal/Modal.stories.js +47 -0
- package/admin/Modal/__stories__/AlertDialog.d.ts +2 -0
- package/admin/Modal/__stories__/AlertDialog.js +43 -0
- package/admin/Modal/__stories__/Default.d.ts +2 -0
- package/admin/Modal/__stories__/Default.js +44 -0
- package/admin/Modal/index.d.ts +18 -0
- package/admin/Modal/index.js +173 -0
- package/admin/Modal/index.mdx +22 -0
- package/admin/Pagination/Pagination.stories.d.ts +11 -0
- package/admin/Pagination/Pagination.stories.js +47 -0
- package/{src/admin → admin}/Pagination/Pagination.stories.playwright.json +0 -0
- package/admin/Pagination/__stories__/Default.d.ts +2 -0
- package/admin/Pagination/__stories__/Default.js +153 -0
- package/admin/Pagination/__stories__/PaginationSmall.d.ts +2 -0
- package/admin/Pagination/__stories__/PaginationSmall.js +61 -0
- package/admin/Pagination/index.d.ts +26 -0
- package/admin/Pagination/index.js +91 -0
- package/admin/Pagination/index.mdx +16 -0
- package/admin/ResultsHeading/index.d.ts +5 -0
- package/admin/ResultsHeading/index.js +58 -0
- package/admin/SearchSection/index.d.ts +5 -0
- package/admin/SearchSection/index.js +58 -0
- package/admin/StepNav/StepNav.stories.d.ts +9 -0
- package/admin/StepNav/StepNav.stories.js +34 -0
- package/{src/admin → admin}/StepNav/StepNav.stories.playwright.json +0 -0
- package/admin/StepNav/__stories__/Default.d.ts +2 -0
- package/admin/StepNav/__stories__/Default.js +123 -0
- package/admin/StepNav/index.d.ts +15 -0
- package/admin/StepNav/index.js +115 -0
- package/admin/TableLoaderBackground/index.d.ts +3 -0
- package/admin/TableLoaderBackground/index.js +30 -0
- package/admin/TaskList/TaskList.stories.d.ts +9 -0
- package/admin/TaskList/TaskList.stories.js +32 -0
- package/admin/TaskList/__stories__/Default.d.ts +2 -0
- package/admin/TaskList/__stories__/Default.js +97 -0
- package/admin/TaskList/index.d.ts +7 -0
- package/admin/TaskList/index.js +86 -0
- package/admin/Timeline/Timeline.stories.d.ts +9 -0
- package/admin/Timeline/Timeline.stories.js +32 -0
- package/admin/Timeline/__stories__/Default.d.ts +2 -0
- package/admin/Timeline/__stories__/Default.js +89 -0
- package/admin/Timeline/index.d.ts +7 -0
- package/admin/Timeline/index.js +86 -0
- package/{src/admin/index.ts → admin/index.d.ts} +0 -0
- package/admin/index.js +278 -0
- package/api/APIErrors.d.ts +22 -0
- package/api/APIErrors.js +117 -0
- package/api/APIProvider.d.ts +15 -0
- package/api/APIProvider.js +43 -0
- package/api/fetchAPI.d.ts +18 -0
- package/api/fetchAPI.js +66 -0
- package/api/index.d.ts +9 -0
- package/api/index.js +104 -0
- package/api/index.spec.d.ts +1 -0
- package/api/index.spec.js +583 -0
- package/{src/api → api}/introduction.md +0 -0
- package/api/useResource.d.ts +11 -0
- package/api/useResource.js +146 -0
- package/api/useResourceAction.d.ts +2 -0
- package/api/useResourceAction.js +159 -0
- package/api/useResourceQuery.d.ts +18 -0
- package/api/useResourceQuery.js +232 -0
- package/api/utils.d.ts +6 -0
- package/api/utils.js +252 -0
- package/app/App.d.ts +7 -0
- package/app/App.js +30 -0
- package/app/Confirmation/Confirmation.mdx +16 -0
- package/app/Confirmation/Confirmation.stories.d.ts +10 -0
- package/app/Confirmation/Confirmation.stories.js +33 -0
- package/app/Confirmation/__stories__/Default.d.ts +2 -0
- package/app/Confirmation/__stories__/Default.js +28 -0
- package/app/Confirmation/index.d.ts +5 -0
- package/app/Confirmation/index.js +58 -0
- package/app/Footer/Footer.mdx +34 -0
- package/app/Footer/Footer.stories.d.ts +17 -0
- package/app/Footer/Footer.stories.js +120 -0
- package/{src/app → app}/Footer/Footer.stories.playwright.json +0 -0
- package/app/Footer/__stories__/Default.d.ts +2 -0
- package/app/Footer/__stories__/Default.js +22 -0
- package/app/Footer/__stories__/DefaultCopyright.d.ts +2 -0
- package/app/Footer/__stories__/DefaultCopyright.js +32 -0
- package/app/Footer/__stories__/FooterAllInclusive.d.ts +2 -0
- package/app/Footer/__stories__/FooterAllInclusive.js +55 -0
- package/app/Footer/__stories__/FooterWithLink.d.ts +2 -0
- package/app/Footer/__stories__/FooterWithLink.js +40 -0
- package/app/Footer/__stories__/FooterWithLogo.d.ts +2 -0
- package/app/Footer/__stories__/FooterWithLogo.js +44 -0
- package/app/Footer/__stories__/FooterWithSecondaryNavigation.d.ts +2 -0
- package/app/Footer/__stories__/FooterWithSecondaryNavigation.js +50 -0
- package/app/Footer/__stories__/YearCopyright.d.ts +2 -0
- package/app/Footer/__stories__/YearCopyright.js +44 -0
- package/app/Footer/index.d.ts +17 -0
- package/app/Footer/index.js +226 -0
- package/app/Header/Header.stories.d.ts +17 -0
- package/app/Header/Header.stories.js +80 -0
- package/{src/app → app}/Header/Header.stories.playwright.json +0 -0
- package/app/Header/HeaderContent.d.ts +3 -0
- package/app/Header/HeaderContent.js +19 -0
- package/app/Header/HeaderLogo.d.ts +3 -0
- package/app/Header/HeaderLogo.js +30 -0
- package/app/Header/HeaderSecondaryLogo.d.ts +3 -0
- package/app/Header/HeaderSecondaryLogo.js +19 -0
- package/app/Header/HeaderSection.d.ts +3 -0
- package/app/Header/HeaderSection.js +30 -0
- package/app/Header/HeaderSubtitle.d.ts +3 -0
- package/app/Header/HeaderSubtitle.js +19 -0
- package/app/Header/HeaderTitle.d.ts +3 -0
- package/app/Header/HeaderTitle.js +30 -0
- package/{src/app → app}/Header/__snapshots__/index.spec.tsx.snap +0 -0
- package/app/Header/__stories__/Default.d.ts +2 -0
- package/app/Header/__stories__/Default.js +30 -0
- package/app/Header/__stories__/WithNavigation.d.ts +2 -0
- package/app/Header/__stories__/WithNavigation.js +38 -0
- package/app/Header/__stories__/WithServiceName.d.ts +2 -0
- package/app/Header/__stories__/WithServiceName.js +32 -0
- package/app/Header/__stories__/WithServiceNameAndLogo.d.ts +2 -0
- package/app/Header/__stories__/WithServiceNameAndLogo.js +39 -0
- package/app/Header/index.d.ts +9 -0
- package/app/Header/index.js +114 -0
- package/app/Header/index.mdx +31 -0
- package/app/Header/index.spec.d.ts +1 -0
- package/app/Header/index.spec.js +42 -0
- package/app/I18nText.d.ts +10 -0
- package/app/I18nText.js +93 -0
- package/app/NotFound/NotFound.stories.d.ts +8 -0
- package/app/NotFound/NotFound.stories.js +31 -0
- package/app/NotFound/__stories__/Default.d.ts +2 -0
- package/app/NotFound/__stories__/Default.js +22 -0
- package/app/NotFound/index.d.ts +3 -0
- package/app/NotFound/index.js +29 -0
- package/app/NotFound/index.mdx +16 -0
- package/app/OutdatedBrowserBanner.d.ts +1 -0
- package/app/OutdatedBrowserBanner.js +41 -0
- package/{src/app/PageTitle.tsx → app/PageTitle.d.ts} +0 -0
- package/app/PageTitle.js +72 -0
- package/app/PhaseBannerHeader/PhaseBannerHeader.stories.d.ts +8 -0
- package/app/PhaseBannerHeader/PhaseBannerHeader.stories.js +31 -0
- package/app/PhaseBannerHeader/__stories__/Default.d.ts +2 -0
- package/app/PhaseBannerHeader/__stories__/Default.js +25 -0
- package/app/PhaseBannerHeader/index.d.ts +8 -0
- package/app/PhaseBannerHeader/index.js +39 -0
- package/app/PhaseBannerHeader/index.mdx +16 -0
- package/app/QrCodeScanner/QrCodeScanner.stories.d.ts +8 -0
- package/app/QrCodeScanner/QrCodeScanner.stories.js +31 -0
- package/{src/app → app}/QrCodeScanner/__snapshots__/index.spec.tsx.snap +0 -0
- package/app/QrCodeScanner/__stories__/Default.d.ts +2 -0
- package/app/QrCodeScanner/__stories__/Default.js +74 -0
- package/app/QrCodeScanner/index.d.ts +34 -0
- package/app/QrCodeScanner/index.js +90 -0
- package/app/QrCodeScanner/index.spec.d.ts +1 -0
- package/app/QrCodeScanner/index.spec.js +26 -0
- package/app/QrCodeViewer/QRCode.stories.d.ts +9 -0
- package/app/QrCodeViewer/QRCode.stories.js +47 -0
- package/app/QrCodeViewer/__stories__/Custom.d.ts +2 -0
- package/app/QrCodeViewer/__stories__/Custom.js +37 -0
- package/app/QrCodeViewer/__stories__/Default.d.ts +2 -0
- package/app/QrCodeViewer/__stories__/Default.js +24 -0
- package/app/QrCodeViewer/index.d.ts +6 -0
- package/app/QrCodeViewer/index.js +180 -0
- package/app/QrCodeViewer/index.mdx +25 -0
- package/app/QrCodeViewer/qrcodegen.d.ts +100 -0
- package/app/QrCodeViewer/qrcodegen.js +1086 -0
- package/app/QrCodeViewer/types.d.ts +28 -0
- package/app/QrCodeViewer/types.js +5 -0
- package/app/QrCodeViewer/utils.d.ts +11 -0
- package/app/QrCodeViewer/utils.js +108 -0
- package/app/i18n.d.ts +12 -0
- package/app/i18n.js +79 -0
- package/app/index.d.ts +10 -0
- package/app/index.js +135 -0
- package/core/Accordion/Accordion.stories.d.ts +12 -0
- package/core/Accordion/Accordion.stories.js +48 -0
- package/core/Accordion/Accordion.stories.playwright.json +21 -0
- package/{src/core → core}/Accordion/__snapshots__/index.spec.tsx.snap +0 -0
- package/core/Accordion/__stories__/Default.d.ts +2 -0
- package/core/Accordion/__stories__/Default.js +52 -0
- package/core/Accordion/__stories__/WithHints.d.ts +2 -0
- package/core/Accordion/__stories__/WithHints.js +54 -0
- package/core/Accordion/index.d.ts +29 -0
- package/core/Accordion/index.js +219 -0
- package/core/Accordion/index.mdx +37 -0
- package/core/Accordion/index.spec.d.ts +1 -0
- package/core/Accordion/index.spec.js +19 -0
- package/core/BackLink/BackLink.stories.d.ts +8 -0
- package/core/BackLink/BackLink.stories.js +31 -0
- package/{src/core → core}/BackLink/BackLink.stories.playwright.json +0 -0
- package/core/BackLink/__stories__/Default.d.ts +2 -0
- package/core/BackLink/__stories__/Default.js +24 -0
- package/{src/core/BackLink/index.tsx → core/BackLink/index.d.ts} +0 -0
- package/core/BackLink/index.js +30 -0
- package/core/BackLink/index.mdx +20 -0
- package/core/Base/index.d.ts +3 -0
- package/core/Base/index.js +19 -0
- package/core/Blockquote/Blockquote.stories.d.ts +10 -0
- package/core/Blockquote/Blockquote.stories.js +33 -0
- package/{src/core → core}/Blockquote/__snapshots__/index.spec.tsx.snap +0 -0
- package/core/Blockquote/__stories__/Default.d.ts +2 -0
- package/core/Blockquote/__stories__/Default.js +22 -0
- package/core/Blockquote/index.d.ts +3 -0
- package/core/Blockquote/index.js +30 -0
- package/core/Blockquote/index.mdx +27 -0
- package/core/Blockquote/index.spec.d.ts +1 -0
- package/core/Blockquote/index.spec.js +21 -0
- package/core/Breadcrumbs/Breadcrumbs.stories.d.ts +10 -0
- package/core/Breadcrumbs/Breadcrumbs.stories.js +33 -0
- package/{src/core → core}/Breadcrumbs/Breadcrumbs.stories.playwright.json +0 -0
- package/core/Breadcrumbs/__stories__/Default.d.ts +2 -0
- package/core/Breadcrumbs/__stories__/Default.js +40 -0
- package/core/Breadcrumbs/breadcrumbs.mdx +26 -0
- package/{src/core/Breadcrumbs/index.tsx → core/Breadcrumbs/index.d.ts} +0 -0
- package/core/Breadcrumbs/index.js +58 -0
- package/core/Button/BackButton.d.ts +3 -0
- package/core/Button/BackButton.js +34 -0
- package/core/Button/BackLink.d.ts +3 -0
- package/core/Button/BackLink.js +30 -0
- package/core/Button/Button.stories.d.ts +20 -0
- package/core/Button/Button.stories.js +175 -0
- package/{src/core → core}/Button/Button.stories.playwright.json +0 -0
- package/core/Button/ButtonLink.d.ts +3 -0
- package/core/Button/ButtonLink.js +30 -0
- package/core/Button/CallToAction.d.ts +3 -0
- package/core/Button/CallToAction.js +30 -0
- package/core/Button/Icon.d.ts +2 -0
- package/core/Button/Icon.js +19 -0
- package/core/Button/ThemeToggleButton.d.ts +2 -0
- package/core/Button/ThemeToggleButton.js +70 -0
- package/{src/core → core}/Button/__snapshots__/index.spec.tsx.snap +0 -0
- package/core/Button/__stories__/Back.d.ts +3 -0
- package/core/Button/__stories__/Back.js +26 -0
- package/core/Button/__stories__/ButtonLinkButton.d.ts +5 -0
- package/core/Button/__stories__/ButtonLinkButton.js +30 -0
- package/core/Button/__stories__/CallToActionButton.d.ts +5 -0
- package/core/Button/__stories__/CallToActionButton.js +30 -0
- package/core/Button/__stories__/Disabled.d.ts +5 -0
- package/core/Button/__stories__/Disabled.js +27 -0
- package/core/Button/__stories__/GroupingButtons.d.ts +4 -0
- package/core/Button/__stories__/GroupingButtons.js +31 -0
- package/core/Button/__stories__/GroupingButtonsAndLinks.d.ts +4 -0
- package/core/Button/__stories__/GroupingButtonsAndLinks.js +33 -0
- package/core/Button/__stories__/Primary.d.ts +5 -0
- package/core/Button/__stories__/Primary.js +27 -0
- package/core/Button/__stories__/Secondary.d.ts +5 -0
- package/core/Button/__stories__/Secondary.js +28 -0
- package/core/Button/__stories__/ThemeToggle.d.ts +2 -0
- package/core/Button/__stories__/ThemeToggle.js +22 -0
- package/core/Button/__stories__/Warning.d.ts +1 -0
- package/core/Button/__stories__/Warning.js +23 -0
- package/core/Button/__stories__/WithVariantLink.d.ts +5 -0
- package/core/Button/__stories__/WithVariantLink.js +29 -0
- package/core/Button/index.d.ts +15 -0
- package/core/Button/index.js +132 -0
- package/core/Button/index.mdx +100 -0
- package/core/Button/index.spec.d.ts +1 -0
- package/core/Button/index.spec.js +21 -0
- package/core/Card/Card.stories.d.ts +19 -0
- package/core/Card/Card.stories.js +146 -0
- package/{src/core → core}/Card/Card.stories.playwright.json +0 -0
- package/core/Card/__stories__/Default.d.ts +2 -0
- package/core/Card/__stories__/Default.js +30 -0
- package/core/Card/__stories__/WithClickableContent.d.ts +2 -0
- package/core/Card/__stories__/WithClickableContent.js +34 -0
- package/core/Card/__stories__/WithClickableLink.d.ts +2 -0
- package/core/Card/__stories__/WithClickableLink.js +32 -0
- package/core/Card/__stories__/WithDarkBorder.d.ts +2 -0
- package/core/Card/__stories__/WithDarkBorder.js +33 -0
- package/core/Card/__stories__/WithDarkTopBorder.d.ts +2 -0
- package/core/Card/__stories__/WithDarkTopBorder.js +33 -0
- package/core/Card/__stories__/WithDivider.d.ts +2 -0
- package/core/Card/__stories__/WithDivider.js +32 -0
- package/core/Card/__stories__/WithGrayBorder.d.ts +2 -0
- package/core/Card/__stories__/WithGrayBorder.js +33 -0
- package/core/Card/__stories__/WithGrayTopBorder.d.ts +2 -0
- package/core/Card/__stories__/WithGrayTopBorder.js +33 -0
- package/core/Card/__stories__/WithGroupButton.d.ts +2 -0
- package/core/Card/__stories__/WithGroupButton.js +32 -0
- package/core/Card/card.mdx +82 -0
- package/core/Card/index.d.ts +6 -0
- package/core/Card/index.js +72 -0
- package/core/Checkboxes/Checkbox.stories.d.ts +16 -0
- package/core/Checkboxes/Checkbox.stories.js +117 -0
- package/{src/core → core}/Checkboxes/Checkbox.stories.playwright.json +0 -0
- package/core/Checkboxes/__stories__/ConditionalReveal.d.ts +2 -0
- package/core/Checkboxes/__stories__/ConditionalReveal.js +48 -0
- package/core/Checkboxes/__stories__/Default.d.ts +2 -0
- package/core/Checkboxes/__stories__/Default.js +45 -0
- package/core/Checkboxes/__stories__/MultipleQuestions.d.ts +2 -0
- package/core/Checkboxes/__stories__/MultipleQuestions.js +47 -0
- package/core/Checkboxes/__stories__/NoneAnswer.d.ts +2 -0
- package/core/Checkboxes/__stories__/NoneAnswer.js +47 -0
- package/core/Checkboxes/__stories__/NoneAnswerWithError.d.ts +2 -0
- package/core/Checkboxes/__stories__/NoneAnswerWithError.js +57 -0
- package/core/Checkboxes/__stories__/WithErrorMessage.d.ts +2 -0
- package/core/Checkboxes/__stories__/WithErrorMessage.js +50 -0
- package/core/Checkboxes/__stories__/WithHint.d.ts +2 -0
- package/core/Checkboxes/__stories__/WithHint.js +45 -0
- package/core/Checkboxes/checkboxes.mdx +58 -0
- package/{src/core/Checkboxes/index.tsx → core/Checkboxes/index.d.ts} +0 -0
- package/core/Checkboxes/index.js +58 -0
- package/core/DateInput/DateInput.stories.d.ts +13 -0
- package/core/DateInput/DateInput.stories.js +75 -0
- package/{src/core → core}/DateInput/DateInput.stories.playwright.json +0 -0
- package/core/DateInput/__stories__/Default.d.ts +2 -0
- package/core/DateInput/__stories__/Default.js +41 -0
- package/core/DateInput/__stories__/MultipleQuestions.d.ts +2 -0
- package/core/DateInput/__stories__/MultipleQuestions.js +41 -0
- package/core/DateInput/__stories__/WithErrorMessage.d.ts +2 -0
- package/core/DateInput/__stories__/WithErrorMessage.js +48 -0
- package/core/DateInput/__stories__/WithErrorMessageForSingleField.d.ts +2 -0
- package/core/DateInput/__stories__/WithErrorMessageForSingleField.js +46 -0
- package/{src/core/DateInput/index.tsx → core/DateInput/index.d.ts} +0 -0
- package/core/DateInput/index.js +44 -0
- package/core/DateInput/index.mdx +39 -0
- package/core/Details/Details.stories.d.ts +10 -0
- package/core/Details/Details.stories.js +33 -0
- package/{src/core → core}/Details/Details.stories.playwright.json +0 -0
- package/{src/core → core}/Details/__snapshots__/index.spec.tsx.snap +0 -0
- package/core/Details/__stories__/Default.d.ts +2 -0
- package/core/Details/__stories__/Default.js +28 -0
- package/core/Details/index.d.ts +5 -0
- package/core/Details/index.js +58 -0
- package/core/Details/index.mdx +22 -0
- package/core/Details/index.spec.d.ts +1 -0
- package/core/Details/index.spec.js +27 -0
- package/core/Divider/Divider.stories.d.ts +8 -0
- package/core/Divider/Divider.stories.js +33 -0
- package/core/Divider/__stories__/Default.d.ts +2 -0
- package/core/Divider/__stories__/Default.js +39 -0
- package/core/Divider/index.d.ts +5 -0
- package/core/Divider/index.js +21 -0
- package/core/ErrorMessage/ErrorMessage.stories.d.ts +10 -0
- package/core/ErrorMessage/ErrorMessage.stories.js +33 -0
- package/core/ErrorMessage/__stories__/Default.d.ts +2 -0
- package/core/ErrorMessage/__stories__/Default.js +44 -0
- package/{src/core/ErrorMessage/index.tsx → core/ErrorMessage/index.d.ts} +0 -0
- package/core/ErrorMessage/index.js +30 -0
- package/core/ErrorMessage/index.mdx +25 -0
- package/core/ErrorSummary/ErrorSummary.stories.d.ts +13 -0
- package/core/ErrorSummary/ErrorSummary.stories.js +75 -0
- package/{src/core → core}/ErrorSummary/ErrorSummary.stories.playwright.json +0 -0
- package/{src/core → core}/ErrorSummary/__snapshots__/index.spec.tsx.snap +0 -0
- package/core/ErrorSummary/__stories__/Default.d.ts +2 -0
- package/core/ErrorSummary/__stories__/Default.js +28 -0
- package/core/ErrorSummary/__stories__/LinkedToCheckbox.d.ts +2 -0
- package/core/ErrorSummary/__stories__/LinkedToCheckbox.js +58 -0
- package/core/ErrorSummary/__stories__/LinkedToField.d.ts +2 -0
- package/core/ErrorSummary/__stories__/LinkedToField.js +59 -0
- package/core/ErrorSummary/__stories__/LinkedToInput.d.ts +2 -0
- package/core/ErrorSummary/__stories__/LinkedToInput.js +54 -0
- package/core/ErrorSummary/index.d.ts +3 -0
- package/core/ErrorSummary/index.js +30 -0
- package/core/ErrorSummary/index.mdx +46 -0
- package/core/ErrorSummary/index.spec.d.ts +1 -0
- package/core/ErrorSummary/index.spec.js +19 -0
- package/core/Field/index.d.ts +5 -0
- package/core/Field/index.js +58 -0
- package/core/FileUpload/FileUpload.stories.d.ts +10 -0
- package/core/FileUpload/FileUpload.stories.js +46 -0
- package/core/FileUpload/__stories__/Default.d.ts +2 -0
- package/core/FileUpload/__stories__/Default.js +34 -0
- package/core/FileUpload/__stories__/WithErrorMessage.d.ts +2 -0
- package/core/FileUpload/__stories__/WithErrorMessage.js +40 -0
- package/{src/core/FileUpload/index.tsx → core/FileUpload/index.d.ts} +0 -0
- package/core/FileUpload/index.js +44 -0
- package/core/FileUpload/index.mdx +25 -0
- package/core/Form/index.d.ts +3 -0
- package/core/Form/index.js +19 -0
- package/{src/core/Hidden/index.tsx → core/Hidden/index.d.ts} +0 -0
- package/core/Hidden/index.js +18 -0
- package/core/Label/index.d.ts +4 -0
- package/core/Label/index.js +44 -0
- package/core/Link/Link.stories.d.ts +14 -0
- package/core/Link/Link.stories.js +102 -0
- package/{src/core → core}/Link/Link.stories.playwright.json +0 -0
- package/{src/core → core}/Link/__snapshots__/index.spec.tsx.snap +0 -0
- package/core/Link/__stories__/DarkBackground.d.ts +2 -0
- package/core/Link/__stories__/DarkBackground.js +30 -0
- package/core/Link/__stories__/DarkBackgroundNoUnderline.d.ts +2 -0
- package/core/Link/__stories__/DarkBackgroundNoUnderline.js +31 -0
- package/core/Link/__stories__/Default.d.ts +2 -0
- package/core/Link/__stories__/Default.js +26 -0
- package/core/Link/__stories__/ExternalLink.d.ts +2 -0
- package/core/Link/__stories__/ExternalLink.js +28 -0
- package/core/Link/__stories__/NoUnderline.d.ts +2 -0
- package/core/Link/__stories__/NoUnderline.js +27 -0
- package/core/Link/__stories__/OpensInNewTab.d.ts +2 -0
- package/core/Link/__stories__/OpensInNewTab.js +26 -0
- package/core/Link/index.d.ts +13 -0
- package/core/Link/index.js +62 -0
- package/core/Link/index.spec.d.ts +1 -0
- package/core/Link/index.spec.js +31 -0
- package/core/Link/link.mdx +38 -0
- package/core/List/List.d.ts +3 -0
- package/core/List/List.js +30 -0
- package/core/List/List.stories.d.ts +15 -0
- package/core/List/List.stories.js +103 -0
- package/{src/core → core}/List/List.stories.playwright.json +0 -0
- package/core/List/ListItem.d.ts +3 -0
- package/core/List/ListItem.js +19 -0
- package/core/List/ListItemContent.d.ts +6 -0
- package/core/List/ListItemContent.js +27 -0
- package/core/List/ListItemIcon.d.ts +5 -0
- package/core/List/ListItemIcon.js +27 -0
- package/core/List/ListItemText.d.ts +7 -0
- package/core/List/ListItemText.js +29 -0
- package/core/List/ListItemTitle.d.ts +9 -0
- package/core/List/ListItemTitle.js +37 -0
- package/{src/core → core}/List/__snapshots__/index.spec.tsx.snap +0 -0
- package/core/List/__stories__/BulletList.d.ts +2 -0
- package/core/List/__stories__/BulletList.js +30 -0
- package/core/List/__stories__/Default.d.ts +2 -0
- package/core/List/__stories__/Default.js +30 -0
- package/core/List/__stories__/NestedBulletList.d.ts +2 -0
- package/core/List/__stories__/NestedBulletList.js +38 -0
- package/core/List/__stories__/NestedListWithVariantStyles.d.ts +2 -0
- package/core/List/__stories__/NestedListWithVariantStyles.js +36 -0
- package/core/List/__stories__/NumberedList.d.ts +2 -0
- package/core/List/__stories__/NumberedList.js +30 -0
- package/core/List/__stories__/WithExtraSpace.d.ts +2 -0
- package/core/List/__stories__/WithExtraSpace.js +30 -0
- package/{src/core/List/index.tsx → core/List/index.d.ts} +0 -0
- package/core/List/index.js +96 -0
- package/core/List/index.mdx +31 -0
- package/core/List/index.spec.d.ts +1 -0
- package/core/List/index.spec.js +19 -0
- package/core/Masthead/Masthead.stories.d.ts +11 -0
- package/core/Masthead/Masthead.stories.js +34 -0
- package/{src/core → core}/Masthead/Masthead.stories.playwright.json +0 -0
- package/core/Masthead/__stories__/Default.d.ts +2 -0
- package/core/Masthead/__stories__/Default.js +34 -0
- package/{src/core/Masthead/index.tsx → core/Masthead/index.d.ts} +0 -0
- package/core/Masthead/index.js +44 -0
- package/core/Masthead/masthead.mdx +18 -0
- package/core/NavList/NavHorizontal.d.ts +3 -0
- package/core/NavList/NavHorizontal.js +19 -0
- package/core/NavList/NavHorizontalList.d.ts +3 -0
- package/core/NavList/NavHorizontalList.js +19 -0
- package/core/NavList/NavHorizontalListItem.d.ts +3 -0
- package/core/NavList/NavHorizontalListItem.js +19 -0
- package/core/NavList/NavList.d.ts +4 -0
- package/core/NavList/NavList.js +42 -0
- package/core/NavList/NavList.stories.d.ts +11 -0
- package/core/NavList/NavList.stories.js +47 -0
- package/{src/core → core}/NavList/NavList.stories.playwright.json +0 -0
- package/core/NavList/NavListBase.d.ts +4 -0
- package/core/NavList/NavListBase.js +76 -0
- package/core/NavList/NavListContext.d.ts +20 -0
- package/core/NavList/NavListContext.js +102 -0
- package/core/NavList/NavListItem.d.ts +14 -0
- package/core/NavList/NavListItem.js +173 -0
- package/core/NavList/NavListItemBase.d.ts +17 -0
- package/core/NavList/NavListItemBase.js +165 -0
- package/core/NavList/NavListSubMenu.d.ts +8 -0
- package/core/NavList/NavListSubMenu.js +52 -0
- package/core/NavList/NavVertical.d.ts +3 -0
- package/core/NavList/NavVertical.js +19 -0
- package/core/NavList/NavVerticalItem.d.ts +3 -0
- package/core/NavList/NavVerticalItem.js +19 -0
- package/{src/core → core}/NavList/__snapshots__/index.spec.tsx.snap +0 -0
- package/core/NavList/__stories__/Default.d.ts +2 -0
- package/core/NavList/__stories__/Default.js +69 -0
- package/core/NavList/__stories__/NavHorizontalLayout.d.ts +2 -0
- package/core/NavList/__stories__/NavHorizontalLayout.js +67 -0
- package/core/NavList/index.d.ts +12 -0
- package/core/NavList/index.js +156 -0
- package/core/NavList/index.mdx +29 -0
- package/core/NavList/index.spec.d.ts +1 -0
- package/core/NavList/index.spec.js +19 -0
- package/core/NavList/types.d.ts +14 -0
- package/core/NavList/types.js +5 -0
- package/core/NotificationBanner/NotificationBanner.stories.d.ts +12 -0
- package/core/NotificationBanner/NotificationBanner.stories.js +48 -0
- package/{src/core → core}/NotificationBanner/NotificationBanner.stories.playwright.json +0 -0
- package/{src/core → core}/NotificationBanner/__snapshots__/index.spec.tsx.snap +0 -0
- package/core/NotificationBanner/__stories__/Default.d.ts +2 -0
- package/core/NotificationBanner/__stories__/Default.js +26 -0
- package/core/NotificationBanner/__stories__/Success.d.ts +2 -0
- package/core/NotificationBanner/__stories__/Success.js +27 -0
- package/core/NotificationBanner/index.d.ts +18 -0
- package/core/NotificationBanner/index.js +79 -0
- package/core/NotificationBanner/index.mdx +32 -0
- package/core/NotificationBanner/index.spec.d.ts +1 -0
- package/core/NotificationBanner/index.spec.js +30 -0
- package/core/PhaseBanner/PhaseBanner.stories.d.ts +11 -0
- package/core/PhaseBanner/PhaseBanner.stories.js +47 -0
- package/{src/core → core}/PhaseBanner/PhaseBanner.stories.playwright.json +0 -0
- package/core/PhaseBanner/__stories__/Default.d.ts +2 -0
- package/core/PhaseBanner/__stories__/Default.js +32 -0
- package/core/PhaseBanner/__stories__/Underlined.d.ts +2 -0
- package/core/PhaseBanner/__stories__/Underlined.js +34 -0
- package/{src/core/PhaseBanner/index.tsx → core/PhaseBanner/index.d.ts} +0 -0
- package/core/PhaseBanner/index.js +72 -0
- package/core/PhaseBanner/index.mdx +28 -0
- package/core/Radios/Radios.stories.d.ts +16 -0
- package/core/Radios/Radios.stories.js +117 -0
- package/{src/core → core}/Radios/Radios.stories.playwright.json +0 -0
- package/core/Radios/__stories__/ConditionalReveal.d.ts +2 -0
- package/core/Radios/__stories__/ConditionalReveal.js +48 -0
- package/core/Radios/__stories__/Default.d.ts +2 -0
- package/core/Radios/__stories__/Default.js +42 -0
- package/core/Radios/__stories__/Inline.d.ts +2 -0
- package/core/Radios/__stories__/Inline.js +44 -0
- package/core/Radios/__stories__/MultipleQuestions.d.ts +2 -0
- package/core/Radios/__stories__/MultipleQuestions.js +50 -0
- package/core/Radios/__stories__/NoneAnswer.d.ts +2 -0
- package/core/Radios/__stories__/NoneAnswer.js +41 -0
- package/core/Radios/__stories__/WithErrorMessage.d.ts +2 -0
- package/core/Radios/__stories__/WithErrorMessage.js +50 -0
- package/core/Radios/__stories__/WithHints.d.ts +2 -0
- package/core/Radios/__stories__/WithHints.js +50 -0
- package/{src/core/Radios/index.tsx → core/Radios/index.d.ts} +0 -0
- package/core/Radios/index.js +58 -0
- package/core/Radios/index.mdx +70 -0
- package/core/SectionBreak/index.d.ts +3 -0
- package/core/SectionBreak/index.js +30 -0
- package/core/Select/Select.stories.d.ts +12 -0
- package/core/Select/Select.stories.js +61 -0
- package/{src/core → core}/Select/Select.stories.playwright.json +0 -0
- package/core/Select/__stories__/Default.d.ts +2 -0
- package/core/Select/__stories__/Default.js +43 -0
- package/core/Select/__stories__/DisabledInput.d.ts +2 -0
- package/core/Select/__stories__/DisabledInput.js +45 -0
- package/core/Select/__stories__/WithHint.d.ts +2 -0
- package/core/Select/__stories__/WithHint.js +45 -0
- package/core/Select/index.d.ts +4 -0
- package/core/Select/index.js +44 -0
- package/core/Select/index.mdx +46 -0
- package/core/ServiceBadge/index.d.ts +8 -0
- package/core/ServiceBadge/index.js +35 -0
- package/core/SkipLink/index.d.ts +3 -0
- package/core/SkipLink/index.js +19 -0
- package/core/SummaryList/SummaryList.stories.d.ts +14 -0
- package/core/SummaryList/SummaryList.stories.js +91 -0
- package/{src/core → core}/SummaryList/SummaryList.stories.playwright.json +0 -0
- package/{src/core → core}/SummaryList/__snapshots__/index.spec.tsx.snap +0 -0
- package/core/SummaryList/__stories__/Default.d.ts +2 -0
- package/core/SummaryList/__stories__/Default.js +34 -0
- package/core/SummaryList/__stories__/RowVariations.d.ts +2 -0
- package/core/SummaryList/__stories__/RowVariations.js +58 -0
- package/core/SummaryList/__stories__/WithActions.d.ts +2 -0
- package/core/SummaryList/__stories__/WithActions.js +42 -0
- package/core/SummaryList/__stories__/WithKeyAndAction.d.ts +2 -0
- package/core/SummaryList/__stories__/WithKeyAndAction.js +42 -0
- package/core/SummaryList/__stories__/WithoutBorders.d.ts +2 -0
- package/core/SummaryList/__stories__/WithoutBorders.js +30 -0
- package/core/SummaryList/index.d.ts +7 -0
- package/core/SummaryList/index.js +79 -0
- package/core/SummaryList/index.mdx +36 -0
- package/core/SummaryList/index.spec.d.ts +1 -0
- package/core/SummaryList/index.spec.js +19 -0
- package/core/SvgIcon/index.d.ts +10 -0
- package/core/SvgIcon/index.js +128 -0
- package/core/Table/Table.stories.d.ts +24 -0
- package/core/Table/Table.stories.js +231 -0
- package/{src/core → core}/Table/Table.stories.playwright.json +0 -0
- package/core/Table/TableFloatingScroll.d.ts +2 -0
- package/core/Table/TableFloatingScroll.js +107 -0
- package/core/Table/__stories__/DarkVariant.d.ts +2 -0
- package/core/Table/__stories__/DarkVariant.js +24 -0
- package/core/Table/__stories__/DarkVariantWithVerticalHeaders.d.ts +2 -0
- package/core/Table/__stories__/DarkVariantWithVerticalHeaders.js +24 -0
- package/core/Table/__stories__/Default.d.ts +2 -0
- package/core/Table/__stories__/Default.js +22 -0
- package/core/Table/__stories__/DefinedWidth.d.ts +2 -0
- package/core/Table/__stories__/DefinedWidth.js +28 -0
- package/core/Table/__stories__/Densed.d.ts +2 -0
- package/core/Table/__stories__/Densed.js +26 -0
- package/core/Table/__stories__/Full.d.ts +2 -0
- package/core/Table/__stories__/Full.js +27 -0
- package/core/Table/__stories__/MultipleProps.d.ts +2 -0
- package/core/Table/__stories__/MultipleProps.js +58 -0
- package/core/Table/__stories__/NoData.d.ts +2 -0
- package/core/Table/__stories__/NoData.js +24 -0
- package/core/Table/__stories__/NumericDataType.d.ts +2 -0
- package/core/Table/__stories__/NumericDataType.js +46 -0
- package/core/Table/__stories__/TableCaptions.d.ts +2 -0
- package/core/Table/__stories__/TableCaptions.js +30 -0
- package/core/Table/__stories__/VerticalBorders.d.ts +2 -0
- package/core/Table/__stories__/VerticalBorders.js +24 -0
- package/core/Table/__stories__/VerticalHeaders.d.ts +2 -0
- package/core/Table/__stories__/VerticalHeaders.js +22 -0
- package/core/Table/__stories__/WithFloatingScroll.d.ts +2 -0
- package/core/Table/__stories__/WithFloatingScroll.js +87 -0
- package/core/Table/__stories__/WithHeader.d.ts +2 -0
- package/core/Table/__stories__/WithHeader.js +67 -0
- package/core/Table/__stories__/WithLoader.d.ts +2 -0
- package/core/Table/__stories__/WithLoader.js +106 -0
- package/core/Table/__stories__/ZebraProp.d.ts +2 -0
- package/core/Table/__stories__/ZebraProp.js +24 -0
- package/core/Table/index.d.ts +12 -0
- package/core/Table/index.js +156 -0
- package/core/Table/index.mdx +71 -0
- package/core/Tabs/Tabs.stories.d.ts +11 -0
- package/core/Tabs/Tabs.stories.js +34 -0
- package/{src/core → core}/Tabs/Tabs.stories.playwright.json +0 -0
- package/core/Tabs/__stories__/Default.d.ts +2 -0
- package/core/Tabs/__stories__/Default.js +52 -0
- package/core/Tabs/index.d.ts +16 -0
- package/core/Tabs/index.js +146 -0
- package/core/Tabs/index.mdx +20 -0
- package/core/TextArea/TextArea.stories.d.ts +16 -0
- package/core/TextArea/TextArea.stories.js +117 -0
- package/{src/core → core}/TextArea/TextArea.stories.playwright.json +0 -0
- package/core/TextArea/__stories__/Default.d.ts +2 -0
- package/core/TextArea/__stories__/Default.js +32 -0
- package/core/TextArea/__stories__/DisabledInput.d.ts +2 -0
- package/core/TextArea/__stories__/DisabledInput.js +35 -0
- package/core/TextArea/__stories__/LimitedCharacters.d.ts +2 -0
- package/core/TextArea/__stories__/LimitedCharacters.js +34 -0
- package/core/TextArea/__stories__/MultipleQuestions.d.ts +2 -0
- package/core/TextArea/__stories__/MultipleQuestions.js +30 -0
- package/core/TextArea/__stories__/WithDeclaredRows.d.ts +2 -0
- package/core/TextArea/__stories__/WithDeclaredRows.js +35 -0
- package/core/TextArea/__stories__/WithErrorMessage.d.ts +2 -0
- package/core/TextArea/__stories__/WithErrorMessage.js +39 -0
- package/core/TextArea/__stories__/WithHint.d.ts +2 -0
- package/core/TextArea/__stories__/WithHint.js +34 -0
- package/{src/core/TextArea/index.tsx → core/TextArea/index.d.ts} +0 -0
- package/core/TextArea/index.js +30 -0
- package/core/TextArea/index.mdx +54 -0
- package/core/TextInput/TextInput.stories.d.ts +17 -0
- package/core/TextInput/TextInput.stories.js +131 -0
- package/{src/core → core}/TextInput/TextInput.stories.playwright.json +0 -0
- package/core/TextInput/__stories__/AskingForNumbers.d.ts +2 -0
- package/core/TextInput/__stories__/AskingForNumbers.js +36 -0
- package/core/TextInput/__stories__/Default.d.ts +2 -0
- package/core/TextInput/__stories__/Default.js +32 -0
- package/core/TextInput/__stories__/DisabledInput.d.ts +2 -0
- package/core/TextInput/__stories__/DisabledInput.js +35 -0
- package/core/TextInput/__stories__/FixedWidths.d.ts +2 -0
- package/core/TextInput/__stories__/FixedWidths.js +68 -0
- package/core/TextInput/__stories__/FluidWidths.d.ts +2 -0
- package/core/TextInput/__stories__/FluidWidths.js +68 -0
- package/core/TextInput/__stories__/MultipleQuestions.d.ts +2 -0
- package/core/TextInput/__stories__/MultipleQuestions.js +28 -0
- package/core/TextInput/__stories__/WithErrorMessage.d.ts +2 -0
- package/core/TextInput/__stories__/WithErrorMessage.js +39 -0
- package/core/TextInput/__stories__/WithHint.d.ts +2 -0
- package/core/TextInput/__stories__/WithHint.js +34 -0
- package/{src/core/TextInput/index.tsx → core/TextInput/index.d.ts} +0 -0
- package/core/TextInput/index.js +30 -0
- package/core/TextInput/index.mdx +63 -0
- package/core/VisuallyHidden/VisuallyHidden.stories.d.ts +8 -0
- package/core/VisuallyHidden/VisuallyHidden.stories.js +31 -0
- package/core/VisuallyHidden/__stories__/Default.d.ts +2 -0
- package/core/VisuallyHidden/__stories__/Default.js +38 -0
- package/{src/core/VisuallyHidden/index.tsx → core/VisuallyHidden/index.d.ts} +0 -0
- package/core/VisuallyHidden/index.js +30 -0
- package/core/VisuallyHidden/index.mdx +20 -0
- package/core/WarningText/WarningText.stories.d.ts +10 -0
- package/core/WarningText/WarningText.stories.js +33 -0
- package/{src/core → core}/WarningText/__snapshots__/index.spec.tsx.snap +0 -0
- package/core/WarningText/__stories__/Default.d.ts +2 -0
- package/core/WarningText/__stories__/Default.js +22 -0
- package/core/WarningText/index.d.ts +3 -0
- package/core/WarningText/index.js +30 -0
- package/core/WarningText/index.mdx +23 -0
- package/core/WarningText/index.spec.d.ts +1 -0
- package/core/WarningText/index.spec.js +19 -0
- package/core/index.d.ts +36 -0
- package/core/index.js +460 -0
- package/custom.d.js +1 -0
- package/es/admin/AdminLayout/index.js +9 -0
- package/es/admin/AutoComplete/AutoComplete.stories.js +14 -0
- package/es/admin/AutoComplete/Status/index.js +153 -0
- package/es/admin/AutoComplete/__stories__/Default.js +19 -0
- package/es/admin/AutoComplete/__stories__/WithAutoSelect.js +31 -0
- package/es/admin/AutoComplete/__stories__/WithDefaultValue.js +18 -0
- package/es/admin/AutoComplete/__stories__/WithInLine.js +18 -0
- package/es/admin/AutoComplete/__stories__/WithMinLength.js +19 -0
- package/es/admin/AutoComplete/__stories__/WithPlaceHolder.js +18 -0
- package/es/admin/AutoComplete/__stories__/WithShowAllValues.js +18 -0
- package/es/admin/AutoComplete/__stories__/utils.js +0 -0
- package/es/admin/AutoComplete/index.js +647 -0
- package/es/admin/AutoComplete/index.mdx +49 -0
- package/es/admin/AutoComplete/utils.js +28 -0
- package/es/admin/Chip/index.js +7 -0
- package/es/admin/CircularProgress/CircularProgress.stories.js +7 -0
- package/es/admin/CircularProgress/__stories__/Default.js +10 -0
- package/es/admin/CircularProgress/index.js +3 -0
- package/es/admin/CopyToClipboard/CopyToClipboard.stories.js +8 -0
- package/es/admin/CopyToClipboard/CopyToClipboard.stories.playwright.json +37 -0
- package/es/admin/CopyToClipboard/__stories__/Banner.js +16 -0
- package/es/admin/CopyToClipboard/__stories__/Default.js +18 -0
- package/es/admin/CopyToClipboard/index.js +49 -0
- package/es/admin/CopyToClipboard/index.mdx +22 -0
- package/es/admin/Drawer/Drawer.stories.js +9 -0
- package/es/admin/Drawer/__stories__/Default.js +44 -0
- package/es/admin/Drawer/index.js +4 -0
- package/es/admin/Drawer/index.mdx +16 -0
- package/es/admin/Dropdown/Dropdown.stories.js +12 -0
- package/es/admin/Dropdown/__stories__/AlignRight.js +57 -0
- package/es/admin/Dropdown/__stories__/Default.js +50 -0
- package/es/admin/Dropdown/__stories__/PlacementTop.js +57 -0
- package/es/admin/Dropdown/index.js +87 -0
- package/es/admin/Dropdown/index.mdx +32 -0
- package/es/admin/DropdownArrowDown/index.js +3 -0
- package/es/admin/FillableText/index.js +3 -0
- package/es/admin/FilterSection/index.js +9 -0
- package/es/admin/FullPageBackground/index.js +3 -0
- package/es/admin/LabeledText/index.js +3 -0
- package/es/admin/LoaderContainer/index.js +3 -0
- package/es/admin/Modal/Modal.stories.js +10 -0
- package/es/admin/Modal/__stories__/AlertDialog.js +22 -0
- package/es/admin/Modal/__stories__/Default.js +22 -0
- package/es/admin/Modal/index.js +88 -0
- package/es/admin/Modal/index.mdx +22 -0
- package/es/admin/Pagination/Pagination.stories.js +10 -0
- package/es/admin/Pagination/Pagination.stories.playwright.json +27 -0
- package/es/admin/Pagination/__stories__/Default.js +130 -0
- package/es/admin/Pagination/__stories__/PaginationSmall.js +38 -0
- package/es/admin/Pagination/index.js +23 -0
- package/es/admin/Pagination/index.mdx +16 -0
- package/es/admin/ResultsHeading/index.js +5 -0
- package/es/admin/SearchSection/index.js +5 -0
- package/es/admin/StepNav/StepNav.stories.js +9 -0
- package/es/admin/StepNav/StepNav.stories.playwright.json +33 -0
- package/es/admin/StepNav/__stories__/Default.js +97 -0
- package/es/admin/StepNav/index.js +15 -0
- package/es/admin/TableLoaderBackground/index.js +3 -0
- package/es/admin/TaskList/TaskList.stories.js +8 -0
- package/es/admin/TaskList/__stories__/Default.js +74 -0
- package/es/admin/TaskList/index.js +7 -0
- package/es/admin/Timeline/Timeline.stories.js +8 -0
- package/es/admin/Timeline/__stories__/Default.js +65 -0
- package/es/admin/Timeline/index.js +7 -0
- package/es/admin/index.js +21 -0
- package/es/api/APIErrors.js +96 -0
- package/es/api/APIProvider.js +25 -0
- package/es/api/fetchAPI.js +52 -0
- package/es/api/index.js +13 -0
- package/es/api/index.spec.js +548 -0
- package/es/api/introduction.md +6 -0
- package/es/api/useResource.js +131 -0
- package/es/api/useResourceAction.js +144 -0
- package/es/api/useResourceQuery.js +211 -0
- package/es/api/utils.js +236 -0
- package/es/app/App.js +14 -0
- package/es/app/Confirmation/Confirmation.mdx +16 -0
- package/es/app/Confirmation/Confirmation.stories.js +9 -0
- package/es/app/Confirmation/__stories__/Default.js +9 -0
- package/es/app/Confirmation/index.js +5 -0
- package/es/app/Footer/Footer.mdx +34 -0
- package/es/app/Footer/Footer.stories.js +17 -0
- package/es/app/Footer/Footer.stories.playwright.json +27 -0
- package/es/app/Footer/__stories__/Default.js +9 -0
- package/es/app/Footer/__stories__/DefaultCopyright.js +16 -0
- package/es/app/Footer/__stories__/FooterAllInclusive.js +35 -0
- package/es/app/Footer/__stories__/FooterWithLink.js +23 -0
- package/es/app/Footer/__stories__/FooterWithLogo.js +25 -0
- package/es/app/Footer/__stories__/FooterWithSecondaryNavigation.js +32 -0
- package/es/app/Footer/__stories__/YearCopyright.js +22 -0
- package/es/app/Footer/index.js +17 -0
- package/es/app/Header/Header.stories.js +17 -0
- package/es/app/Header/Header.stories.playwright.json +33 -0
- package/es/app/Header/HeaderContent.js +3 -0
- package/es/app/Header/HeaderLogo.js +3 -0
- package/es/app/Header/HeaderSecondaryLogo.js +3 -0
- package/es/app/Header/HeaderSection.js +3 -0
- package/es/app/Header/HeaderSubtitle.js +3 -0
- package/es/app/Header/HeaderTitle.js +3 -0
- package/es/app/Header/__snapshots__/index.spec.tsx.snap +396 -0
- package/es/app/Header/__stories__/Default.js +14 -0
- package/es/app/Header/__stories__/WithNavigation.js +19 -0
- package/es/app/Header/__stories__/WithServiceName.js +15 -0
- package/es/app/Header/__stories__/WithServiceNameAndLogo.js +20 -0
- package/es/app/Header/index.js +9 -0
- package/es/app/Header/index.mdx +31 -0
- package/es/app/Header/index.spec.js +32 -0
- package/es/app/I18nText.js +79 -0
- package/es/app/NotFound/NotFound.stories.js +7 -0
- package/es/app/NotFound/__stories__/Default.js +9 -0
- package/es/app/NotFound/index.js +12 -0
- package/es/app/NotFound/index.mdx +16 -0
- package/es/app/OutdatedBrowserBanner.js +24 -0
- package/es/app/PageTitle.js +6 -0
- package/es/app/PhaseBannerHeader/PhaseBannerHeader.stories.js +7 -0
- package/es/app/PhaseBannerHeader/__stories__/Default.js +12 -0
- package/es/app/PhaseBannerHeader/index.js +19 -0
- package/es/app/PhaseBannerHeader/index.mdx +16 -0
- package/es/app/QrCodeScanner/QrCodeScanner.stories.js +7 -0
- package/es/app/QrCodeScanner/__snapshots__/index.spec.tsx.snap +22 -0
- package/es/app/QrCodeScanner/__stories__/Default.js +52 -0
- package/es/app/QrCodeScanner/index.js +66 -0
- package/es/app/QrCodeScanner/index.spec.js +13 -0
- package/es/app/QrCodeViewer/QRCode.stories.js +9 -0
- package/es/app/QrCodeViewer/__stories__/Custom.js +22 -0
- package/es/app/QrCodeViewer/__stories__/Default.js +11 -0
- package/es/app/QrCodeViewer/index.js +157 -0
- package/es/app/QrCodeViewer/index.mdx +25 -0
- package/es/app/QrCodeViewer/qrcodegen.js +1085 -0
- package/es/app/QrCodeViewer/types.js +1 -0
- package/es/app/QrCodeViewer/utils.js +95 -0
- package/es/app/i18n.js +54 -0
- package/es/app/index.js +10 -0
- package/es/core/Accordion/Accordion.stories.js +11 -0
- package/es/core/Accordion/Accordion.stories.playwright.json +21 -0
- package/es/core/Accordion/__snapshots__/index.spec.tsx.snap +78 -0
- package/es/core/Accordion/__stories__/Default.js +30 -0
- package/es/core/Accordion/__stories__/WithHints.js +31 -0
- package/es/core/Accordion/index.js +64 -0
- package/es/core/Accordion/index.mdx +37 -0
- package/es/core/Accordion/index.spec.js +9 -0
- package/es/core/BackLink/BackLink.stories.js +7 -0
- package/es/core/BackLink/BackLink.stories.playwright.json +21 -0
- package/es/core/BackLink/__stories__/Default.js +11 -0
- package/es/core/BackLink/index.js +3 -0
- package/es/core/BackLink/index.mdx +20 -0
- package/es/core/Base/index.js +3 -0
- package/es/core/Blockquote/Blockquote.stories.js +9 -0
- package/es/core/Blockquote/__snapshots__/index.spec.tsx.snap +13 -0
- package/es/core/Blockquote/__stories__/Default.js +9 -0
- package/es/core/Blockquote/index.js +3 -0
- package/es/core/Blockquote/index.mdx +27 -0
- package/es/core/Blockquote/index.spec.js +9 -0
- package/es/core/Breadcrumbs/Breadcrumbs.stories.js +9 -0
- package/es/core/Breadcrumbs/Breadcrumbs.stories.playwright.json +33 -0
- package/es/core/Breadcrumbs/__stories__/Default.js +21 -0
- package/es/core/Breadcrumbs/breadcrumbs.mdx +26 -0
- package/es/core/Breadcrumbs/index.js +5 -0
- package/es/core/Button/BackButton.js +21 -0
- package/es/core/Button/BackLink.js +3 -0
- package/es/core/Button/Button.stories.js +20 -0
- package/es/core/Button/Button.stories.playwright.json +115 -0
- package/es/core/Button/ButtonLink.js +3 -0
- package/es/core/Button/CallToAction.js +3 -0
- package/es/core/Button/Icon.js +7 -0
- package/es/core/Button/ThemeToggleButton.js +49 -0
- package/es/core/Button/__snapshots__/index.spec.tsx.snap +13 -0
- package/es/core/Button/__stories__/Back.js +13 -0
- package/es/core/Button/__stories__/ButtonLinkButton.js +17 -0
- package/es/core/Button/__stories__/CallToActionButton.js +17 -0
- package/es/core/Button/__stories__/Disabled.js +14 -0
- package/es/core/Button/__stories__/GroupingButtons.js +13 -0
- package/es/core/Button/__stories__/GroupingButtonsAndLinks.js +14 -0
- package/es/core/Button/__stories__/Primary.js +14 -0
- package/es/core/Button/__stories__/Secondary.js +15 -0
- package/es/core/Button/__stories__/ThemeToggle.js +9 -0
- package/es/core/Button/__stories__/Warning.js +11 -0
- package/es/core/Button/__stories__/WithVariantLink.js +16 -0
- package/es/core/Button/index.js +20 -0
- package/es/core/Button/index.mdx +100 -0
- package/es/core/Button/index.spec.js +9 -0
- package/es/core/Card/Card.stories.js +18 -0
- package/es/core/Card/Card.stories.playwright.json +21 -0
- package/es/core/Card/__stories__/Default.js +10 -0
- package/es/core/Card/__stories__/WithClickableContent.js +14 -0
- package/es/core/Card/__stories__/WithClickableLink.js +12 -0
- package/es/core/Card/__stories__/WithDarkBorder.js +13 -0
- package/es/core/Card/__stories__/WithDarkTopBorder.js +13 -0
- package/es/core/Card/__stories__/WithDivider.js +12 -0
- package/es/core/Card/__stories__/WithGrayBorder.js +13 -0
- package/es/core/Card/__stories__/WithGrayTopBorder.js +13 -0
- package/es/core/Card/__stories__/WithGroupButton.js +11 -0
- package/es/core/Card/card.mdx +82 -0
- package/es/core/Card/index.js +6 -0
- package/es/core/Checkboxes/Checkbox.stories.js +15 -0
- package/es/core/Checkboxes/Checkbox.stories.playwright.json +55 -0
- package/es/core/Checkboxes/__stories__/ConditionalReveal.js +26 -0
- package/es/core/Checkboxes/__stories__/Default.js +24 -0
- package/es/core/Checkboxes/__stories__/MultipleQuestions.js +26 -0
- package/es/core/Checkboxes/__stories__/NoneAnswer.js +26 -0
- package/es/core/Checkboxes/__stories__/NoneAnswerWithError.js +34 -0
- package/es/core/Checkboxes/__stories__/WithErrorMessage.js +27 -0
- package/es/core/Checkboxes/__stories__/WithHint.js +24 -0
- package/es/core/Checkboxes/checkboxes.mdx +58 -0
- package/es/core/Checkboxes/index.js +5 -0
- package/es/core/DateInput/DateInput.stories.js +12 -0
- package/es/core/DateInput/DateInput.stories.playwright.json +61 -0
- package/es/core/DateInput/__stories__/Default.js +20 -0
- package/es/core/DateInput/__stories__/MultipleQuestions.js +20 -0
- package/es/core/DateInput/__stories__/WithErrorMessage.js +25 -0
- package/es/core/DateInput/__stories__/WithErrorMessageForSingleField.js +23 -0
- package/es/core/DateInput/index.js +4 -0
- package/es/core/DateInput/index.mdx +39 -0
- package/es/core/Details/Details.stories.js +9 -0
- package/es/core/Details/Details.stories.playwright.json +27 -0
- package/es/core/Details/__snapshots__/index.spec.tsx.snap +50 -0
- package/es/core/Details/__stories__/Default.js +9 -0
- package/es/core/Details/index.js +5 -0
- package/es/core/Details/index.mdx +22 -0
- package/es/core/Details/index.spec.js +17 -0
- package/es/core/Divider/Divider.stories.js +8 -0
- package/es/core/Divider/__stories__/Default.js +26 -0
- package/es/core/Divider/index.js +8 -0
- package/es/core/ErrorMessage/ErrorMessage.stories.js +9 -0
- package/es/core/ErrorMessage/__stories__/Default.js +21 -0
- package/es/core/ErrorMessage/index.js +3 -0
- package/es/core/ErrorMessage/index.mdx +25 -0
- package/es/core/ErrorSummary/ErrorSummary.stories.js +12 -0
- package/es/core/ErrorSummary/ErrorSummary.stories.playwright.json +27 -0
- package/es/core/ErrorSummary/__snapshots__/index.spec.tsx.snap +322 -0
- package/es/core/ErrorSummary/__stories__/Default.js +13 -0
- package/es/core/ErrorSummary/__stories__/LinkedToCheckbox.js +32 -0
- package/es/core/ErrorSummary/__stories__/LinkedToField.js +33 -0
- package/es/core/ErrorSummary/__stories__/LinkedToInput.js +32 -0
- package/es/core/ErrorSummary/index.js +3 -0
- package/es/core/ErrorSummary/index.mdx +46 -0
- package/es/core/ErrorSummary/index.spec.js +8 -0
- package/es/core/Field/index.js +5 -0
- package/es/core/FileUpload/FileUpload.stories.js +9 -0
- package/es/core/FileUpload/__stories__/Default.js +13 -0
- package/es/core/FileUpload/__stories__/WithErrorMessage.js +17 -0
- package/es/core/FileUpload/index.js +4 -0
- package/es/core/FileUpload/index.mdx +25 -0
- package/es/core/Form/index.js +3 -0
- package/es/core/Hidden/index.js +1 -0
- package/es/core/Label/index.js +4 -0
- package/es/core/Link/Link.stories.js +13 -0
- package/es/core/Link/Link.stories.playwright.json +65 -0
- package/es/core/Link/__snapshots__/index.spec.tsx.snap +31 -0
- package/es/core/Link/__stories__/DarkBackground.js +15 -0
- package/es/core/Link/__stories__/DarkBackgroundNoUnderline.js +16 -0
- package/es/core/Link/__stories__/Default.js +13 -0
- package/es/core/Link/__stories__/ExternalLink.js +14 -0
- package/es/core/Link/__stories__/NoUnderline.js +14 -0
- package/es/core/Link/__stories__/OpensInNewTab.js +13 -0
- package/es/core/Link/index.js +30 -0
- package/es/core/Link/index.spec.js +21 -0
- package/es/core/Link/link.mdx +38 -0
- package/es/core/List/List.js +3 -0
- package/es/core/List/List.stories.js +14 -0
- package/es/core/List/List.stories.playwright.json +27 -0
- package/es/core/List/ListItem.js +3 -0
- package/es/core/List/ListItemContent.js +14 -0
- package/es/core/List/ListItemIcon.js +14 -0
- package/es/core/List/ListItemText.js +15 -0
- package/es/core/List/ListItemTitle.js +21 -0
- package/es/core/List/__snapshots__/index.spec.tsx.snap +322 -0
- package/es/core/List/__stories__/BulletList.js +11 -0
- package/es/core/List/__stories__/Default.js +10 -0
- package/es/core/List/__stories__/NestedBulletList.js +19 -0
- package/es/core/List/__stories__/NestedListWithVariantStyles.js +17 -0
- package/es/core/List/__stories__/NumberedList.js +11 -0
- package/es/core/List/__stories__/WithExtraSpace.js +11 -0
- package/es/core/List/index.js +7 -0
- package/es/core/List/index.mdx +31 -0
- package/es/core/List/index.spec.js +8 -0
- package/es/core/Masthead/Masthead.stories.js +10 -0
- package/es/core/Masthead/Masthead.stories.playwright.json +21 -0
- package/es/core/Masthead/__stories__/Default.js +13 -0
- package/es/core/Masthead/index.js +4 -0
- package/es/core/Masthead/masthead.mdx +18 -0
- package/es/core/NavList/NavHorizontal.js +3 -0
- package/es/core/NavList/NavHorizontalList.js +3 -0
- package/es/core/NavList/NavHorizontalListItem.js +3 -0
- package/es/core/NavList/NavList.js +25 -0
- package/es/core/NavList/NavList.stories.js +10 -0
- package/es/core/NavList/NavList.stories.playwright.json +33 -0
- package/es/core/NavList/NavListBase.js +60 -0
- package/es/core/NavList/NavListContext.js +80 -0
- package/es/core/NavList/NavListItem.js +143 -0
- package/es/core/NavList/NavListItemBase.js +137 -0
- package/es/core/NavList/NavListSubMenu.js +27 -0
- package/es/core/NavList/NavVertical.js +3 -0
- package/es/core/NavList/NavVerticalItem.js +3 -0
- package/es/core/NavList/__snapshots__/index.spec.tsx.snap +334 -0
- package/es/core/NavList/__stories__/Default.js +48 -0
- package/es/core/NavList/__stories__/NavHorizontalLayout.js +46 -0
- package/es/core/NavList/index.js +12 -0
- package/es/core/NavList/index.mdx +29 -0
- package/es/core/NavList/index.spec.js +8 -0
- package/es/core/NavList/types.js +1 -0
- package/es/core/NotificationBanner/NotificationBanner.stories.js +11 -0
- package/es/core/NotificationBanner/NotificationBanner.stories.playwright.json +49 -0
- package/es/core/NotificationBanner/__snapshots__/index.spec.tsx.snap +737 -0
- package/es/core/NotificationBanner/__stories__/Default.js +12 -0
- package/es/core/NotificationBanner/__stories__/Success.js +13 -0
- package/es/core/NotificationBanner/index.js +30 -0
- package/es/core/NotificationBanner/index.mdx +32 -0
- package/es/core/NotificationBanner/index.spec.js +19 -0
- package/es/core/PhaseBanner/PhaseBanner.stories.js +10 -0
- package/es/core/PhaseBanner/PhaseBanner.stories.playwright.json +21 -0
- package/es/core/PhaseBanner/__stories__/Default.js +12 -0
- package/es/core/PhaseBanner/__stories__/Underlined.js +14 -0
- package/es/core/PhaseBanner/index.js +6 -0
- package/es/core/PhaseBanner/index.mdx +28 -0
- package/es/core/Radios/Radios.stories.js +15 -0
- package/es/core/Radios/Radios.stories.playwright.json +49 -0
- package/es/core/Radios/__stories__/ConditionalReveal.js +26 -0
- package/es/core/Radios/__stories__/Default.js +22 -0
- package/es/core/Radios/__stories__/Inline.js +23 -0
- package/es/core/Radios/__stories__/MultipleQuestions.js +29 -0
- package/es/core/Radios/__stories__/NoneAnswer.js +21 -0
- package/es/core/Radios/__stories__/WithErrorMessage.js +27 -0
- package/es/core/Radios/__stories__/WithHints.js +29 -0
- package/es/core/Radios/index.js +5 -0
- package/es/core/Radios/index.mdx +70 -0
- package/es/core/SectionBreak/index.js +3 -0
- package/es/core/Select/Select.stories.js +11 -0
- package/es/core/Select/Select.stories.playwright.json +21 -0
- package/es/core/Select/__stories__/Default.js +22 -0
- package/es/core/Select/__stories__/DisabledInput.js +24 -0
- package/es/core/Select/__stories__/WithHint.js +23 -0
- package/es/core/Select/index.js +4 -0
- package/es/core/Select/index.mdx +46 -0
- package/es/core/ServiceBadge/index.js +19 -0
- package/es/core/SkipLink/index.js +3 -0
- package/es/core/SummaryList/SummaryList.stories.js +14 -0
- package/es/core/SummaryList/SummaryList.stories.playwright.json +27 -0
- package/es/core/SummaryList/__snapshots__/index.spec.tsx.snap +57 -0
- package/es/core/SummaryList/__stories__/Default.js +13 -0
- package/es/core/SummaryList/__stories__/RowVariations.js +37 -0
- package/es/core/SummaryList/__stories__/WithActions.js +20 -0
- package/es/core/SummaryList/__stories__/WithKeyAndAction.js +20 -0
- package/es/core/SummaryList/__stories__/WithoutBorders.js +11 -0
- package/es/core/SummaryList/index.js +7 -0
- package/es/core/SummaryList/index.mdx +36 -0
- package/es/core/SummaryList/index.spec.js +9 -0
- package/es/core/SvgIcon/index.js +10 -0
- package/es/core/Table/Table.stories.js +24 -0
- package/es/core/Table/Table.stories.playwright.json +21 -0
- package/es/core/Table/TableFloatingScroll.js +87 -0
- package/es/core/Table/__stories__/DarkVariant.js +11 -0
- package/es/core/Table/__stories__/DarkVariantWithVerticalHeaders.js +11 -0
- package/es/core/Table/__stories__/Default.js +9 -0
- package/es/core/Table/__stories__/DefinedWidth.js +15 -0
- package/es/core/Table/__stories__/Densed.js +13 -0
- package/es/core/Table/__stories__/Full.js +14 -0
- package/es/core/Table/__stories__/MultipleProps.js +45 -0
- package/es/core/Table/__stories__/NoData.js +11 -0
- package/es/core/Table/__stories__/NumericDataType.js +33 -0
- package/es/core/Table/__stories__/TableCaptions.js +17 -0
- package/es/core/Table/__stories__/VerticalBorders.js +11 -0
- package/es/core/Table/__stories__/VerticalHeaders.js +9 -0
- package/es/core/Table/__stories__/WithFloatingScroll.js +70 -0
- package/es/core/Table/__stories__/WithHeader.js +53 -0
- package/es/core/Table/__stories__/WithLoader.js +81 -0
- package/es/core/Table/__stories__/ZebraProp.js +11 -0
- package/es/core/Table/index.js +12 -0
- package/es/core/Table/index.mdx +71 -0
- package/es/core/Tabs/Tabs.stories.js +10 -0
- package/es/core/Tabs/Tabs.stories.playwright.json +27 -0
- package/es/core/Tabs/__stories__/Default.js +29 -0
- package/es/core/Tabs/index.js +57 -0
- package/es/core/Tabs/index.mdx +20 -0
- package/es/core/TextArea/TextArea.stories.js +15 -0
- package/es/core/TextArea/TextArea.stories.playwright.json +59 -0
- package/es/core/TextArea/__stories__/Default.js +16 -0
- package/es/core/TextArea/__stories__/DisabledInput.js +18 -0
- package/es/core/TextArea/__stories__/LimitedCharacters.js +17 -0
- package/es/core/TextArea/__stories__/MultipleQuestions.js +14 -0
- package/es/core/TextArea/__stories__/WithDeclaredRows.js +18 -0
- package/es/core/TextArea/__stories__/WithErrorMessage.js +21 -0
- package/es/core/TextArea/__stories__/WithHint.js +17 -0
- package/es/core/TextArea/index.js +3 -0
- package/es/core/TextArea/index.mdx +54 -0
- package/es/core/TextInput/TextInput.stories.js +16 -0
- package/es/core/TextInput/TextInput.stories.playwright.json +43 -0
- package/es/core/TextInput/__stories__/AskingForNumbers.js +19 -0
- package/es/core/TextInput/__stories__/Default.js +16 -0
- package/es/core/TextInput/__stories__/DisabledInput.js +18 -0
- package/es/core/TextInput/__stories__/FixedWidths.js +52 -0
- package/es/core/TextInput/__stories__/FluidWidths.js +52 -0
- package/es/core/TextInput/__stories__/MultipleQuestions.js +13 -0
- package/es/core/TextInput/__stories__/WithErrorMessage.js +21 -0
- package/es/core/TextInput/__stories__/WithHint.js +17 -0
- package/es/core/TextInput/index.js +3 -0
- package/es/core/TextInput/index.mdx +63 -0
- package/es/core/VisuallyHidden/VisuallyHidden.stories.js +7 -0
- package/es/core/VisuallyHidden/__stories__/Default.js +16 -0
- package/es/core/VisuallyHidden/index.js +3 -0
- package/es/core/VisuallyHidden/index.mdx +20 -0
- package/es/core/WarningText/WarningText.stories.js +9 -0
- package/es/core/WarningText/__snapshots__/index.spec.tsx.snap +336 -0
- package/es/core/WarningText/__stories__/Default.js +9 -0
- package/es/core/WarningText/index.js +3 -0
- package/es/core/WarningText/index.mdx +23 -0
- package/es/core/WarningText/index.spec.js +8 -0
- package/es/core/index.js +36 -0
- package/es/custom.d.js +0 -0
- package/es/govgr/Footer/Copyright.js +36 -0
- package/es/govgr/Footer/HellenicRepublicLogo.js +3 -0
- package/es/govgr/Footer/LicenseCCSA.js +18 -0
- package/es/govgr/Footer/index.js +21 -0
- package/es/govgr/Footer/index.mdx +101 -0
- package/es/govgr/Footer/logo.js +1 -0
- package/es/govgr/Footer/logos/logo-el.js +1 -0
- package/es/govgr/Footer/logos/logo-en.js +1 -0
- package/{src → es}/govgr/Logo/govgr-logo.svg +0 -0
- package/es/govgr/Logo/index.js +3 -0
- package/es/govgr/Logo/logo.js +1 -0
- package/es/govgr/images/govgr-logo-base64.js +1 -0
- package/es/govgr/images/govgr-logo-blue-base64.js +1 -0
- package/es/govgr/images/greek-government-base64.js +1 -0
- package/es/govgr/images/grnet-logo-base64.js +1 -0
- package/es/govgr/images/index.js +5 -0
- package/es/govgr/images/minedu-logo-base64.js +1 -0
- package/es/govgr/index.js +5 -0
- package/es/hooks/useDebounce.js +41 -0
- package/es/hooks/useKeypress.js +20 -0
- package/es/hooks/useLatest.js +12 -0
- package/es/hooks/useOutdatedBrowserCheck.js +46 -0
- package/es/hooks/useSearch.js +25 -0
- package/es/hooks/useTogglableSections.js +102 -0
- package/es/index.js +6 -0
- package/{src → es}/introduction.md +0 -0
- package/es/layouts/Basic/Aside/index.js +3 -0
- package/es/layouts/Basic/Basic.stories.js +11 -0
- package/es/layouts/Basic/Bottom/index.js +3 -0
- package/es/layouts/Basic/Bottom/index.mdx +40 -0
- package/es/layouts/Basic/Container/index.js +3 -0
- package/es/layouts/Basic/Content/index.js +20 -0
- package/es/layouts/Basic/Main/index.js +3 -0
- package/es/layouts/Basic/Main/index.mdx +56 -0
- package/es/layouts/Basic/Masthead/index.js +4 -0
- package/es/layouts/Basic/Masthead/index.mdx +63 -0
- package/es/layouts/Basic/Side/index.js +8 -0
- package/es/layouts/Basic/Top/index.js +3 -0
- package/es/layouts/Basic/Top/index.mdx +64 -0
- package/{src → es}/layouts/Basic/__snapshots__/index.spec.tsx.snap +0 -0
- package/es/layouts/Basic/__stories__/Default.js +10 -0
- package/es/layouts/Basic/__stories__/MultipleRowsLayout.js +12 -0
- package/es/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.js +12 -0
- package/es/layouts/Basic/index.js +11 -0
- package/es/layouts/Basic/index.mdx +41 -0
- package/es/layouts/Basic/index.spec.js +10 -0
- package/es/layouts/Grid/Grid.stories.js +8 -0
- package/es/layouts/Grid/__stories__/Default.js +75 -0
- package/es/layouts/Grid/__stories__/Inline.js +76 -0
- package/es/layouts/Grid/index.js +3 -0
- package/es/layouts/index.js +4 -0
- package/es/locales/el.js +83 -0
- package/es/locales/en.js +82 -0
- package/es/registry.js +461 -0
- package/es/router/index.js +15 -0
- package/es/test-utils/delay.js +34 -0
- package/es/themes/grnet.js +111 -0
- package/es/typography/Caption/index.js +8 -0
- package/es/typography/Heading/Heading.stories.js +7 -0
- package/es/typography/Heading/__stories__/Default.js +24 -0
- package/es/typography/Heading/index.js +3 -0
- package/es/typography/Heading/index.mdx +16 -0
- package/es/typography/HeadingCaption/HeadingCaption.stories.js +8 -0
- package/es/typography/HeadingCaption/__stories__/Default.js +35 -0
- package/es/typography/HeadingCaption/__stories__/NestedToTitle.js +15 -0
- package/es/typography/HeadingCaption/index.js +3 -0
- package/es/typography/HeadingCaption/index.mdx +19 -0
- package/es/typography/Hint/Hint.stories.js +8 -0
- package/es/typography/Hint/__stories__/Default.js +9 -0
- package/es/typography/Hint/__stories__/FontSizes.js +21 -0
- package/es/typography/Hint/index.js +3 -0
- package/es/typography/Hint/index.mdx +19 -0
- package/es/typography/NormalText/NormalText.stories.js +10 -0
- package/es/typography/NormalText/__stories__/Default.js +9 -0
- package/es/typography/NormalText/__stories__/FontSizes.js +48 -0
- package/es/typography/NormalText/__stories__/FontWeight.js +18 -0
- package/es/typography/NormalText/__stories__/Variants.js +18 -0
- package/es/typography/NormalText/index.js +3 -0
- package/es/typography/NormalText/index.mdx +29 -0
- package/es/typography/Paragraph/Paragraph.stories.js +11 -0
- package/es/typography/Paragraph/__stories__/Default.js +9 -0
- package/es/typography/Paragraph/__stories__/FontSizes.js +35 -0
- package/es/typography/Paragraph/__stories__/FontWeight.js +15 -0
- package/es/typography/Paragraph/__stories__/LeadVariant.js +11 -0
- package/es/typography/Paragraph/__stories__/SmallVariant.js +11 -0
- package/es/typography/Paragraph/index.js +3 -0
- package/es/typography/Paragraph/index.mdx +33 -0
- package/es/typography/Title/index.js +49 -0
- package/es/typography/index.js +7 -0
- package/es/utils/Kitchensink/AllComponents.js +11 -0
- package/es/utils/Kitchensink/KitchensinkByCategory.js +42 -0
- package/es/utils/Kitchensink/KitchensinkByLetter.js +20 -0
- package/es/utils/Kitchensink/KitchensinkComponent.js +51 -0
- package/es/utils/Kitchensink/KitchensinkDashboard.js +50 -0
- package/es/utils/evaluateBrowserVersion.js +201 -0
- package/es/utils/withDeprecation.js +106 -0
- package/esm/admin/AdminLayout/index.js +9 -0
- package/esm/admin/AutoComplete/AutoComplete.stories.js +14 -0
- package/esm/admin/AutoComplete/Status/index.js +153 -0
- package/esm/admin/AutoComplete/__stories__/Default.js +19 -0
- package/esm/admin/AutoComplete/__stories__/WithAutoSelect.js +31 -0
- package/esm/admin/AutoComplete/__stories__/WithDefaultValue.js +18 -0
- package/esm/admin/AutoComplete/__stories__/WithInLine.js +18 -0
- package/esm/admin/AutoComplete/__stories__/WithMinLength.js +19 -0
- package/esm/admin/AutoComplete/__stories__/WithPlaceHolder.js +18 -0
- package/esm/admin/AutoComplete/__stories__/WithShowAllValues.js +18 -0
- package/esm/admin/AutoComplete/__stories__/utils.js +0 -0
- package/esm/admin/AutoComplete/index.js +647 -0
- package/esm/admin/AutoComplete/index.mdx +49 -0
- package/esm/admin/AutoComplete/utils.js +28 -0
- package/esm/admin/Chip/index.js +7 -0
- package/esm/admin/CircularProgress/CircularProgress.stories.js +7 -0
- package/esm/admin/CircularProgress/__stories__/Default.js +10 -0
- package/esm/admin/CircularProgress/index.js +3 -0
- package/esm/admin/CopyToClipboard/CopyToClipboard.stories.js +8 -0
- package/esm/admin/CopyToClipboard/CopyToClipboard.stories.playwright.json +37 -0
- package/esm/admin/CopyToClipboard/__stories__/Banner.js +16 -0
- package/esm/admin/CopyToClipboard/__stories__/Default.js +18 -0
- package/esm/admin/CopyToClipboard/index.js +49 -0
- package/esm/admin/CopyToClipboard/index.mdx +22 -0
- package/esm/admin/Drawer/Drawer.stories.js +9 -0
- package/esm/admin/Drawer/__stories__/Default.js +44 -0
- package/esm/admin/Drawer/index.js +4 -0
- package/esm/admin/Drawer/index.mdx +16 -0
- package/esm/admin/Dropdown/Dropdown.stories.js +12 -0
- package/esm/admin/Dropdown/__stories__/AlignRight.js +57 -0
- package/esm/admin/Dropdown/__stories__/Default.js +50 -0
- package/esm/admin/Dropdown/__stories__/PlacementTop.js +57 -0
- package/esm/admin/Dropdown/index.js +87 -0
- package/esm/admin/Dropdown/index.mdx +32 -0
- package/esm/admin/DropdownArrowDown/index.js +3 -0
- package/esm/admin/FillableText/index.js +3 -0
- package/esm/admin/FilterSection/index.js +9 -0
- package/esm/admin/FullPageBackground/index.js +3 -0
- package/esm/admin/LabeledText/index.js +3 -0
- package/esm/admin/LoaderContainer/index.js +3 -0
- package/esm/admin/Modal/Modal.stories.js +10 -0
- package/esm/admin/Modal/__stories__/AlertDialog.js +22 -0
- package/esm/admin/Modal/__stories__/Default.js +22 -0
- package/esm/admin/Modal/index.js +88 -0
- package/esm/admin/Modal/index.mdx +22 -0
- package/esm/admin/Pagination/Pagination.stories.js +10 -0
- package/esm/admin/Pagination/Pagination.stories.playwright.json +27 -0
- package/esm/admin/Pagination/__stories__/Default.js +130 -0
- package/esm/admin/Pagination/__stories__/PaginationSmall.js +38 -0
- package/esm/admin/Pagination/index.js +23 -0
- package/esm/admin/Pagination/index.mdx +16 -0
- package/esm/admin/ResultsHeading/index.js +5 -0
- package/esm/admin/SearchSection/index.js +5 -0
- package/esm/admin/StepNav/StepNav.stories.js +9 -0
- package/esm/admin/StepNav/StepNav.stories.playwright.json +33 -0
- package/esm/admin/StepNav/__stories__/Default.js +97 -0
- package/esm/admin/StepNav/index.js +15 -0
- package/esm/admin/TableLoaderBackground/index.js +3 -0
- package/esm/admin/TaskList/TaskList.stories.js +8 -0
- package/esm/admin/TaskList/__stories__/Default.js +74 -0
- package/esm/admin/TaskList/index.js +7 -0
- package/esm/admin/Timeline/Timeline.stories.js +8 -0
- package/esm/admin/Timeline/__stories__/Default.js +65 -0
- package/esm/admin/Timeline/index.js +7 -0
- package/esm/admin/index.js +21 -0
- package/esm/api/APIErrors.js +96 -0
- package/esm/api/APIProvider.js +25 -0
- package/esm/api/fetchAPI.js +52 -0
- package/esm/api/index.js +13 -0
- package/esm/api/index.spec.js +548 -0
- package/esm/api/introduction.md +6 -0
- package/esm/api/useResource.js +131 -0
- package/esm/api/useResourceAction.js +144 -0
- package/esm/api/useResourceQuery.js +211 -0
- package/esm/api/utils.js +236 -0
- package/esm/app/App.js +14 -0
- package/esm/app/Confirmation/Confirmation.mdx +16 -0
- package/esm/app/Confirmation/Confirmation.stories.js +9 -0
- package/esm/app/Confirmation/__stories__/Default.js +9 -0
- package/esm/app/Confirmation/index.js +5 -0
- package/esm/app/Footer/Footer.mdx +34 -0
- package/esm/app/Footer/Footer.stories.js +17 -0
- package/esm/app/Footer/Footer.stories.playwright.json +27 -0
- package/esm/app/Footer/__stories__/Default.js +9 -0
- package/esm/app/Footer/__stories__/DefaultCopyright.js +16 -0
- package/esm/app/Footer/__stories__/FooterAllInclusive.js +35 -0
- package/esm/app/Footer/__stories__/FooterWithLink.js +23 -0
- package/esm/app/Footer/__stories__/FooterWithLogo.js +25 -0
- package/esm/app/Footer/__stories__/FooterWithSecondaryNavigation.js +32 -0
- package/esm/app/Footer/__stories__/YearCopyright.js +22 -0
- package/esm/app/Footer/index.js +17 -0
- package/esm/app/Header/Header.stories.js +17 -0
- package/esm/app/Header/Header.stories.playwright.json +33 -0
- package/esm/app/Header/HeaderContent.js +3 -0
- package/esm/app/Header/HeaderLogo.js +3 -0
- package/esm/app/Header/HeaderSecondaryLogo.js +3 -0
- package/esm/app/Header/HeaderSection.js +3 -0
- package/esm/app/Header/HeaderSubtitle.js +3 -0
- package/esm/app/Header/HeaderTitle.js +3 -0
- package/esm/app/Header/__snapshots__/index.spec.tsx.snap +396 -0
- package/esm/app/Header/__stories__/Default.js +14 -0
- package/esm/app/Header/__stories__/WithNavigation.js +19 -0
- package/esm/app/Header/__stories__/WithServiceName.js +15 -0
- package/esm/app/Header/__stories__/WithServiceNameAndLogo.js +20 -0
- package/esm/app/Header/index.js +9 -0
- package/esm/app/Header/index.mdx +31 -0
- package/esm/app/Header/index.spec.js +32 -0
- package/esm/app/I18nText.js +79 -0
- package/esm/app/NotFound/NotFound.stories.js +7 -0
- package/esm/app/NotFound/__stories__/Default.js +9 -0
- package/esm/app/NotFound/index.js +12 -0
- package/esm/app/NotFound/index.mdx +16 -0
- package/esm/app/OutdatedBrowserBanner.js +24 -0
- package/esm/app/PageTitle.js +6 -0
- package/esm/app/PhaseBannerHeader/PhaseBannerHeader.stories.js +7 -0
- package/esm/app/PhaseBannerHeader/__stories__/Default.js +12 -0
- package/esm/app/PhaseBannerHeader/index.js +19 -0
- package/esm/app/PhaseBannerHeader/index.mdx +16 -0
- package/esm/app/QrCodeScanner/QrCodeScanner.stories.js +7 -0
- package/esm/app/QrCodeScanner/__snapshots__/index.spec.tsx.snap +22 -0
- package/esm/app/QrCodeScanner/__stories__/Default.js +52 -0
- package/esm/app/QrCodeScanner/index.js +66 -0
- package/esm/app/QrCodeScanner/index.spec.js +13 -0
- package/esm/app/QrCodeViewer/QRCode.stories.js +9 -0
- package/esm/app/QrCodeViewer/__stories__/Custom.js +22 -0
- package/esm/app/QrCodeViewer/__stories__/Default.js +11 -0
- package/esm/app/QrCodeViewer/index.js +157 -0
- package/esm/app/QrCodeViewer/index.mdx +25 -0
- package/esm/app/QrCodeViewer/qrcodegen.js +1085 -0
- package/esm/app/QrCodeViewer/types.js +1 -0
- package/esm/app/QrCodeViewer/utils.js +95 -0
- package/esm/app/i18n.js +54 -0
- package/esm/app/index.js +10 -0
- package/esm/core/Accordion/Accordion.stories.js +11 -0
- package/esm/core/Accordion/Accordion.stories.playwright.json +21 -0
- package/esm/core/Accordion/__snapshots__/index.spec.tsx.snap +78 -0
- package/esm/core/Accordion/__stories__/Default.js +30 -0
- package/esm/core/Accordion/__stories__/WithHints.js +31 -0
- package/esm/core/Accordion/index.js +64 -0
- package/esm/core/Accordion/index.mdx +37 -0
- package/esm/core/Accordion/index.spec.js +9 -0
- package/esm/core/BackLink/BackLink.stories.js +7 -0
- package/esm/core/BackLink/BackLink.stories.playwright.json +21 -0
- package/esm/core/BackLink/__stories__/Default.js +11 -0
- package/esm/core/BackLink/index.js +3 -0
- package/esm/core/BackLink/index.mdx +20 -0
- package/esm/core/Base/index.js +3 -0
- package/esm/core/Blockquote/Blockquote.stories.js +9 -0
- package/esm/core/Blockquote/__snapshots__/index.spec.tsx.snap +13 -0
- package/esm/core/Blockquote/__stories__/Default.js +9 -0
- package/esm/core/Blockquote/index.js +3 -0
- package/esm/core/Blockquote/index.mdx +27 -0
- package/esm/core/Blockquote/index.spec.js +9 -0
- package/esm/core/Breadcrumbs/Breadcrumbs.stories.js +9 -0
- package/esm/core/Breadcrumbs/Breadcrumbs.stories.playwright.json +33 -0
- package/esm/core/Breadcrumbs/__stories__/Default.js +21 -0
- package/esm/core/Breadcrumbs/breadcrumbs.mdx +26 -0
- package/esm/core/Breadcrumbs/index.js +5 -0
- package/esm/core/Button/BackButton.js +21 -0
- package/esm/core/Button/BackLink.js +3 -0
- package/esm/core/Button/Button.stories.js +20 -0
- package/esm/core/Button/Button.stories.playwright.json +115 -0
- package/esm/core/Button/ButtonLink.js +3 -0
- package/esm/core/Button/CallToAction.js +3 -0
- package/esm/core/Button/Icon.js +7 -0
- package/esm/core/Button/ThemeToggleButton.js +49 -0
- package/esm/core/Button/__snapshots__/index.spec.tsx.snap +13 -0
- package/esm/core/Button/__stories__/Back.js +13 -0
- package/esm/core/Button/__stories__/ButtonLinkButton.js +17 -0
- package/esm/core/Button/__stories__/CallToActionButton.js +17 -0
- package/esm/core/Button/__stories__/Disabled.js +14 -0
- package/esm/core/Button/__stories__/GroupingButtons.js +13 -0
- package/esm/core/Button/__stories__/GroupingButtonsAndLinks.js +14 -0
- package/esm/core/Button/__stories__/Primary.js +14 -0
- package/esm/core/Button/__stories__/Secondary.js +15 -0
- package/esm/core/Button/__stories__/ThemeToggle.js +9 -0
- package/esm/core/Button/__stories__/Warning.js +11 -0
- package/esm/core/Button/__stories__/WithVariantLink.js +16 -0
- package/esm/core/Button/index.js +20 -0
- package/esm/core/Button/index.mdx +100 -0
- package/esm/core/Button/index.spec.js +9 -0
- package/esm/core/Card/Card.stories.js +18 -0
- package/esm/core/Card/Card.stories.playwright.json +21 -0
- package/esm/core/Card/__stories__/Default.js +10 -0
- package/esm/core/Card/__stories__/WithClickableContent.js +14 -0
- package/esm/core/Card/__stories__/WithClickableLink.js +12 -0
- package/esm/core/Card/__stories__/WithDarkBorder.js +13 -0
- package/esm/core/Card/__stories__/WithDarkTopBorder.js +13 -0
- package/esm/core/Card/__stories__/WithDivider.js +12 -0
- package/esm/core/Card/__stories__/WithGrayBorder.js +13 -0
- package/esm/core/Card/__stories__/WithGrayTopBorder.js +13 -0
- package/esm/core/Card/__stories__/WithGroupButton.js +11 -0
- package/esm/core/Card/card.mdx +82 -0
- package/esm/core/Card/index.js +6 -0
- package/esm/core/Checkboxes/Checkbox.stories.js +15 -0
- package/esm/core/Checkboxes/Checkbox.stories.playwright.json +55 -0
- package/esm/core/Checkboxes/__stories__/ConditionalReveal.js +26 -0
- package/esm/core/Checkboxes/__stories__/Default.js +24 -0
- package/esm/core/Checkboxes/__stories__/MultipleQuestions.js +26 -0
- package/esm/core/Checkboxes/__stories__/NoneAnswer.js +26 -0
- package/esm/core/Checkboxes/__stories__/NoneAnswerWithError.js +34 -0
- package/esm/core/Checkboxes/__stories__/WithErrorMessage.js +27 -0
- package/esm/core/Checkboxes/__stories__/WithHint.js +24 -0
- package/esm/core/Checkboxes/checkboxes.mdx +58 -0
- package/esm/core/Checkboxes/index.js +5 -0
- package/esm/core/DateInput/DateInput.stories.js +12 -0
- package/esm/core/DateInput/DateInput.stories.playwright.json +61 -0
- package/esm/core/DateInput/__stories__/Default.js +20 -0
- package/esm/core/DateInput/__stories__/MultipleQuestions.js +20 -0
- package/esm/core/DateInput/__stories__/WithErrorMessage.js +25 -0
- package/esm/core/DateInput/__stories__/WithErrorMessageForSingleField.js +23 -0
- package/esm/core/DateInput/index.js +4 -0
- package/esm/core/DateInput/index.mdx +39 -0
- package/esm/core/Details/Details.stories.js +9 -0
- package/esm/core/Details/Details.stories.playwright.json +27 -0
- package/esm/core/Details/__snapshots__/index.spec.tsx.snap +50 -0
- package/esm/core/Details/__stories__/Default.js +9 -0
- package/esm/core/Details/index.js +5 -0
- package/esm/core/Details/index.mdx +22 -0
- package/esm/core/Details/index.spec.js +17 -0
- package/esm/core/Divider/Divider.stories.js +8 -0
- package/esm/core/Divider/__stories__/Default.js +26 -0
- package/esm/core/Divider/index.js +8 -0
- package/esm/core/ErrorMessage/ErrorMessage.stories.js +9 -0
- package/esm/core/ErrorMessage/__stories__/Default.js +21 -0
- package/esm/core/ErrorMessage/index.js +3 -0
- package/esm/core/ErrorMessage/index.mdx +25 -0
- package/esm/core/ErrorSummary/ErrorSummary.stories.js +12 -0
- package/esm/core/ErrorSummary/ErrorSummary.stories.playwright.json +27 -0
- package/esm/core/ErrorSummary/__snapshots__/index.spec.tsx.snap +322 -0
- package/esm/core/ErrorSummary/__stories__/Default.js +13 -0
- package/esm/core/ErrorSummary/__stories__/LinkedToCheckbox.js +32 -0
- package/esm/core/ErrorSummary/__stories__/LinkedToField.js +33 -0
- package/esm/core/ErrorSummary/__stories__/LinkedToInput.js +32 -0
- package/esm/core/ErrorSummary/index.js +3 -0
- package/esm/core/ErrorSummary/index.mdx +46 -0
- package/esm/core/ErrorSummary/index.spec.js +8 -0
- package/esm/core/Field/index.js +5 -0
- package/esm/core/FileUpload/FileUpload.stories.js +9 -0
- package/esm/core/FileUpload/__stories__/Default.js +13 -0
- package/esm/core/FileUpload/__stories__/WithErrorMessage.js +17 -0
- package/esm/core/FileUpload/index.js +4 -0
- package/esm/core/FileUpload/index.mdx +25 -0
- package/esm/core/Form/index.js +3 -0
- package/esm/core/Hidden/index.js +1 -0
- package/esm/core/Label/index.js +4 -0
- package/esm/core/Link/Link.stories.js +13 -0
- package/esm/core/Link/Link.stories.playwright.json +65 -0
- package/esm/core/Link/__snapshots__/index.spec.tsx.snap +31 -0
- package/esm/core/Link/__stories__/DarkBackground.js +15 -0
- package/esm/core/Link/__stories__/DarkBackgroundNoUnderline.js +16 -0
- package/esm/core/Link/__stories__/Default.js +13 -0
- package/esm/core/Link/__stories__/ExternalLink.js +14 -0
- package/esm/core/Link/__stories__/NoUnderline.js +14 -0
- package/esm/core/Link/__stories__/OpensInNewTab.js +13 -0
- package/esm/core/Link/index.js +30 -0
- package/esm/core/Link/index.spec.js +21 -0
- package/esm/core/Link/link.mdx +38 -0
- package/esm/core/List/List.js +3 -0
- package/esm/core/List/List.stories.js +14 -0
- package/esm/core/List/List.stories.playwright.json +27 -0
- package/esm/core/List/ListItem.js +3 -0
- package/esm/core/List/ListItemContent.js +14 -0
- package/esm/core/List/ListItemIcon.js +14 -0
- package/esm/core/List/ListItemText.js +15 -0
- package/esm/core/List/ListItemTitle.js +21 -0
- package/esm/core/List/__snapshots__/index.spec.tsx.snap +322 -0
- package/esm/core/List/__stories__/BulletList.js +11 -0
- package/esm/core/List/__stories__/Default.js +10 -0
- package/esm/core/List/__stories__/NestedBulletList.js +19 -0
- package/esm/core/List/__stories__/NestedListWithVariantStyles.js +17 -0
- package/esm/core/List/__stories__/NumberedList.js +11 -0
- package/esm/core/List/__stories__/WithExtraSpace.js +11 -0
- package/esm/core/List/index.js +7 -0
- package/esm/core/List/index.mdx +31 -0
- package/esm/core/List/index.spec.js +8 -0
- package/esm/core/Masthead/Masthead.stories.js +10 -0
- package/esm/core/Masthead/Masthead.stories.playwright.json +21 -0
- package/esm/core/Masthead/__stories__/Default.js +13 -0
- package/esm/core/Masthead/index.js +4 -0
- package/esm/core/Masthead/masthead.mdx +18 -0
- package/esm/core/NavList/NavHorizontal.js +3 -0
- package/esm/core/NavList/NavHorizontalList.js +3 -0
- package/esm/core/NavList/NavHorizontalListItem.js +3 -0
- package/esm/core/NavList/NavList.js +25 -0
- package/esm/core/NavList/NavList.stories.js +10 -0
- package/esm/core/NavList/NavList.stories.playwright.json +33 -0
- package/esm/core/NavList/NavListBase.js +60 -0
- package/esm/core/NavList/NavListContext.js +80 -0
- package/esm/core/NavList/NavListItem.js +143 -0
- package/esm/core/NavList/NavListItemBase.js +137 -0
- package/esm/core/NavList/NavListSubMenu.js +27 -0
- package/esm/core/NavList/NavVertical.js +3 -0
- package/esm/core/NavList/NavVerticalItem.js +3 -0
- package/esm/core/NavList/__snapshots__/index.spec.tsx.snap +334 -0
- package/esm/core/NavList/__stories__/Default.js +48 -0
- package/esm/core/NavList/__stories__/NavHorizontalLayout.js +46 -0
- package/esm/core/NavList/index.js +12 -0
- package/esm/core/NavList/index.mdx +29 -0
- package/esm/core/NavList/index.spec.js +8 -0
- package/esm/core/NavList/types.js +1 -0
- package/esm/core/NotificationBanner/NotificationBanner.stories.js +11 -0
- package/esm/core/NotificationBanner/NotificationBanner.stories.playwright.json +49 -0
- package/esm/core/NotificationBanner/__snapshots__/index.spec.tsx.snap +737 -0
- package/esm/core/NotificationBanner/__stories__/Default.js +12 -0
- package/esm/core/NotificationBanner/__stories__/Success.js +13 -0
- package/esm/core/NotificationBanner/index.js +30 -0
- package/esm/core/NotificationBanner/index.mdx +32 -0
- package/esm/core/NotificationBanner/index.spec.js +19 -0
- package/esm/core/PhaseBanner/PhaseBanner.stories.js +10 -0
- package/esm/core/PhaseBanner/PhaseBanner.stories.playwright.json +21 -0
- package/esm/core/PhaseBanner/__stories__/Default.js +12 -0
- package/esm/core/PhaseBanner/__stories__/Underlined.js +14 -0
- package/esm/core/PhaseBanner/index.js +6 -0
- package/esm/core/PhaseBanner/index.mdx +28 -0
- package/esm/core/Radios/Radios.stories.js +15 -0
- package/esm/core/Radios/Radios.stories.playwright.json +49 -0
- package/esm/core/Radios/__stories__/ConditionalReveal.js +26 -0
- package/esm/core/Radios/__stories__/Default.js +22 -0
- package/esm/core/Radios/__stories__/Inline.js +23 -0
- package/esm/core/Radios/__stories__/MultipleQuestions.js +29 -0
- package/esm/core/Radios/__stories__/NoneAnswer.js +21 -0
- package/esm/core/Radios/__stories__/WithErrorMessage.js +27 -0
- package/esm/core/Radios/__stories__/WithHints.js +29 -0
- package/esm/core/Radios/index.js +5 -0
- package/esm/core/Radios/index.mdx +70 -0
- package/esm/core/SectionBreak/index.js +3 -0
- package/esm/core/Select/Select.stories.js +11 -0
- package/esm/core/Select/Select.stories.playwright.json +21 -0
- package/esm/core/Select/__stories__/Default.js +22 -0
- package/esm/core/Select/__stories__/DisabledInput.js +24 -0
- package/esm/core/Select/__stories__/WithHint.js +23 -0
- package/esm/core/Select/index.js +4 -0
- package/esm/core/Select/index.mdx +46 -0
- package/esm/core/ServiceBadge/index.js +19 -0
- package/esm/core/SkipLink/index.js +3 -0
- package/esm/core/SummaryList/SummaryList.stories.js +14 -0
- package/esm/core/SummaryList/SummaryList.stories.playwright.json +27 -0
- package/esm/core/SummaryList/__snapshots__/index.spec.tsx.snap +57 -0
- package/esm/core/SummaryList/__stories__/Default.js +13 -0
- package/esm/core/SummaryList/__stories__/RowVariations.js +37 -0
- package/esm/core/SummaryList/__stories__/WithActions.js +20 -0
- package/esm/core/SummaryList/__stories__/WithKeyAndAction.js +20 -0
- package/esm/core/SummaryList/__stories__/WithoutBorders.js +11 -0
- package/esm/core/SummaryList/index.js +7 -0
- package/esm/core/SummaryList/index.mdx +36 -0
- package/esm/core/SummaryList/index.spec.js +9 -0
- package/esm/core/SvgIcon/index.js +10 -0
- package/esm/core/Table/Table.stories.js +24 -0
- package/esm/core/Table/Table.stories.playwright.json +21 -0
- package/esm/core/Table/TableFloatingScroll.js +87 -0
- package/esm/core/Table/__stories__/DarkVariant.js +11 -0
- package/esm/core/Table/__stories__/DarkVariantWithVerticalHeaders.js +11 -0
- package/esm/core/Table/__stories__/Default.js +9 -0
- package/esm/core/Table/__stories__/DefinedWidth.js +15 -0
- package/esm/core/Table/__stories__/Densed.js +13 -0
- package/esm/core/Table/__stories__/Full.js +14 -0
- package/esm/core/Table/__stories__/MultipleProps.js +45 -0
- package/esm/core/Table/__stories__/NoData.js +11 -0
- package/esm/core/Table/__stories__/NumericDataType.js +33 -0
- package/esm/core/Table/__stories__/TableCaptions.js +17 -0
- package/esm/core/Table/__stories__/VerticalBorders.js +11 -0
- package/esm/core/Table/__stories__/VerticalHeaders.js +9 -0
- package/esm/core/Table/__stories__/WithFloatingScroll.js +70 -0
- package/esm/core/Table/__stories__/WithHeader.js +53 -0
- package/esm/core/Table/__stories__/WithLoader.js +81 -0
- package/esm/core/Table/__stories__/ZebraProp.js +11 -0
- package/esm/core/Table/index.js +12 -0
- package/esm/core/Table/index.mdx +71 -0
- package/esm/core/Tabs/Tabs.stories.js +10 -0
- package/esm/core/Tabs/Tabs.stories.playwright.json +27 -0
- package/esm/core/Tabs/__stories__/Default.js +29 -0
- package/esm/core/Tabs/index.js +57 -0
- package/esm/core/Tabs/index.mdx +20 -0
- package/esm/core/TextArea/TextArea.stories.js +15 -0
- package/esm/core/TextArea/TextArea.stories.playwright.json +59 -0
- package/esm/core/TextArea/__stories__/Default.js +16 -0
- package/esm/core/TextArea/__stories__/DisabledInput.js +18 -0
- package/esm/core/TextArea/__stories__/LimitedCharacters.js +17 -0
- package/esm/core/TextArea/__stories__/MultipleQuestions.js +14 -0
- package/esm/core/TextArea/__stories__/WithDeclaredRows.js +18 -0
- package/esm/core/TextArea/__stories__/WithErrorMessage.js +21 -0
- package/esm/core/TextArea/__stories__/WithHint.js +17 -0
- package/esm/core/TextArea/index.js +3 -0
- package/esm/core/TextArea/index.mdx +54 -0
- package/esm/core/TextInput/TextInput.stories.js +16 -0
- package/esm/core/TextInput/TextInput.stories.playwright.json +43 -0
- package/esm/core/TextInput/__stories__/AskingForNumbers.js +19 -0
- package/esm/core/TextInput/__stories__/Default.js +16 -0
- package/esm/core/TextInput/__stories__/DisabledInput.js +18 -0
- package/esm/core/TextInput/__stories__/FixedWidths.js +52 -0
- package/esm/core/TextInput/__stories__/FluidWidths.js +52 -0
- package/esm/core/TextInput/__stories__/MultipleQuestions.js +13 -0
- package/esm/core/TextInput/__stories__/WithErrorMessage.js +21 -0
- package/esm/core/TextInput/__stories__/WithHint.js +17 -0
- package/esm/core/TextInput/index.js +3 -0
- package/esm/core/TextInput/index.mdx +63 -0
- package/esm/core/VisuallyHidden/VisuallyHidden.stories.js +7 -0
- package/esm/core/VisuallyHidden/__stories__/Default.js +16 -0
- package/esm/core/VisuallyHidden/index.js +3 -0
- package/esm/core/VisuallyHidden/index.mdx +20 -0
- package/esm/core/WarningText/WarningText.stories.js +9 -0
- package/esm/core/WarningText/__snapshots__/index.spec.tsx.snap +336 -0
- package/esm/core/WarningText/__stories__/Default.js +9 -0
- package/esm/core/WarningText/index.js +3 -0
- package/esm/core/WarningText/index.mdx +23 -0
- package/esm/core/WarningText/index.spec.js +8 -0
- package/esm/core/index.js +36 -0
- package/esm/custom.d.js +0 -0
- package/esm/govgr/Footer/Copyright.js +36 -0
- package/esm/govgr/Footer/HellenicRepublicLogo.js +3 -0
- package/esm/govgr/Footer/LicenseCCSA.js +18 -0
- package/esm/govgr/Footer/index.js +21 -0
- package/esm/govgr/Footer/index.mdx +101 -0
- package/esm/govgr/Footer/logo.js +1 -0
- package/esm/govgr/Footer/logos/logo-el.js +1 -0
- package/esm/govgr/Footer/logos/logo-en.js +1 -0
- package/esm/govgr/Logo/govgr-logo.svg +1 -0
- package/esm/govgr/Logo/index.js +3 -0
- package/esm/govgr/Logo/logo.js +1 -0
- package/esm/govgr/images/govgr-logo-base64.js +1 -0
- package/esm/govgr/images/govgr-logo-blue-base64.js +1 -0
- package/esm/govgr/images/greek-government-base64.js +1 -0
- package/esm/govgr/images/grnet-logo-base64.js +1 -0
- package/esm/govgr/images/index.js +5 -0
- package/esm/govgr/images/minedu-logo-base64.js +1 -0
- package/esm/govgr/index.js +5 -0
- package/esm/hooks/useDebounce.js +41 -0
- package/esm/hooks/useKeypress.js +20 -0
- package/esm/hooks/useLatest.js +12 -0
- package/esm/hooks/useOutdatedBrowserCheck.js +46 -0
- package/esm/hooks/useSearch.js +25 -0
- package/esm/hooks/useTogglableSections.js +102 -0
- package/esm/index.js +11 -0
- package/esm/introduction.md +11 -0
- package/esm/layouts/Basic/Aside/index.js +3 -0
- package/esm/layouts/Basic/Basic.stories.js +11 -0
- package/esm/layouts/Basic/Bottom/index.js +3 -0
- package/esm/layouts/Basic/Bottom/index.mdx +40 -0
- package/esm/layouts/Basic/Container/index.js +3 -0
- package/esm/layouts/Basic/Content/index.js +20 -0
- package/esm/layouts/Basic/Main/index.js +3 -0
- package/esm/layouts/Basic/Main/index.mdx +56 -0
- package/esm/layouts/Basic/Masthead/index.js +4 -0
- package/esm/layouts/Basic/Masthead/index.mdx +63 -0
- package/esm/layouts/Basic/Side/index.js +8 -0
- package/esm/layouts/Basic/Top/index.js +3 -0
- package/esm/layouts/Basic/Top/index.mdx +64 -0
- package/esm/layouts/Basic/__snapshots__/index.spec.tsx.snap +54 -0
- package/esm/layouts/Basic/__stories__/Default.js +10 -0
- package/esm/layouts/Basic/__stories__/MultipleRowsLayout.js +12 -0
- package/esm/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.js +12 -0
- package/esm/layouts/Basic/index.js +11 -0
- package/esm/layouts/Basic/index.mdx +41 -0
- package/esm/layouts/Basic/index.spec.js +10 -0
- package/esm/layouts/Grid/Grid.stories.js +8 -0
- package/esm/layouts/Grid/__stories__/Default.js +75 -0
- package/esm/layouts/Grid/__stories__/Inline.js +76 -0
- package/esm/layouts/Grid/index.js +3 -0
- package/esm/layouts/index.js +4 -0
- package/esm/locales/el.js +83 -0
- package/esm/locales/en.js +82 -0
- package/esm/registry.js +461 -0
- package/esm/router/index.js +15 -0
- package/esm/test-utils/delay.js +34 -0
- package/esm/themes/grnet.js +111 -0
- package/esm/typography/Caption/index.js +8 -0
- package/esm/typography/Heading/Heading.stories.js +7 -0
- package/esm/typography/Heading/__stories__/Default.js +24 -0
- package/esm/typography/Heading/index.js +3 -0
- package/esm/typography/Heading/index.mdx +16 -0
- package/esm/typography/HeadingCaption/HeadingCaption.stories.js +8 -0
- package/esm/typography/HeadingCaption/__stories__/Default.js +35 -0
- package/esm/typography/HeadingCaption/__stories__/NestedToTitle.js +15 -0
- package/esm/typography/HeadingCaption/index.js +3 -0
- package/esm/typography/HeadingCaption/index.mdx +19 -0
- package/esm/typography/Hint/Hint.stories.js +8 -0
- package/esm/typography/Hint/__stories__/Default.js +9 -0
- package/esm/typography/Hint/__stories__/FontSizes.js +21 -0
- package/esm/typography/Hint/index.js +3 -0
- package/esm/typography/Hint/index.mdx +19 -0
- package/esm/typography/NormalText/NormalText.stories.js +10 -0
- package/esm/typography/NormalText/__stories__/Default.js +9 -0
- package/esm/typography/NormalText/__stories__/FontSizes.js +48 -0
- package/esm/typography/NormalText/__stories__/FontWeight.js +18 -0
- package/esm/typography/NormalText/__stories__/Variants.js +18 -0
- package/esm/typography/NormalText/index.js +3 -0
- package/esm/typography/NormalText/index.mdx +29 -0
- package/esm/typography/Paragraph/Paragraph.stories.js +11 -0
- package/esm/typography/Paragraph/__stories__/Default.js +9 -0
- package/esm/typography/Paragraph/__stories__/FontSizes.js +35 -0
- package/esm/typography/Paragraph/__stories__/FontWeight.js +15 -0
- package/esm/typography/Paragraph/__stories__/LeadVariant.js +11 -0
- package/esm/typography/Paragraph/__stories__/SmallVariant.js +11 -0
- package/esm/typography/Paragraph/index.js +3 -0
- package/esm/typography/Paragraph/index.mdx +33 -0
- package/esm/typography/Title/index.js +49 -0
- package/esm/typography/index.js +7 -0
- package/esm/utils/Kitchensink/AllComponents.js +11 -0
- package/esm/utils/Kitchensink/KitchensinkByCategory.js +42 -0
- package/esm/utils/Kitchensink/KitchensinkByLetter.js +20 -0
- package/esm/utils/Kitchensink/KitchensinkComponent.js +51 -0
- package/esm/utils/Kitchensink/KitchensinkDashboard.js +50 -0
- package/esm/utils/evaluateBrowserVersion.js +201 -0
- package/esm/utils/withDeprecation.js +106 -0
- package/govgr/Footer/Copyright.d.ts +11 -0
- package/govgr/Footer/Copyright.js +61 -0
- package/govgr/Footer/HellenicRepublicLogo.d.ts +3 -0
- package/govgr/Footer/HellenicRepublicLogo.js +19 -0
- package/govgr/Footer/LicenseCCSA.d.ts +3 -0
- package/govgr/Footer/LicenseCCSA.js +33 -0
- package/govgr/Footer/index.d.ts +13 -0
- package/govgr/Footer/index.js +39 -0
- package/govgr/Footer/index.mdx +101 -0
- package/govgr/Footer/logo.d.ts +2 -0
- package/govgr/Footer/logo.js +8 -0
- package/govgr/Footer/logos/logo-el.d.ts +2 -0
- package/govgr/Footer/logos/logo-el.js +8 -0
- package/govgr/Footer/logos/logo-en.d.ts +2 -0
- package/govgr/Footer/logos/logo-en.js +8 -0
- package/govgr/Logo/govgr-logo.svg +1 -0
- package/govgr/Logo/index.d.ts +3 -0
- package/govgr/Logo/index.js +19 -0
- package/govgr/Logo/logo.d.ts +2 -0
- package/govgr/Logo/logo.js +8 -0
- package/govgr/images/govgr-logo-base64.d.ts +2 -0
- package/govgr/images/govgr-logo-base64.js +8 -0
- package/govgr/images/govgr-logo-blue-base64.d.ts +2 -0
- package/govgr/images/govgr-logo-blue-base64.js +8 -0
- package/govgr/images/greek-government-base64.d.ts +2 -0
- package/govgr/images/greek-government-base64.js +8 -0
- package/govgr/images/grnet-logo-base64.d.ts +2 -0
- package/govgr/images/grnet-logo-base64.js +8 -0
- package/{src/govgr/images/index.ts → govgr/images/index.d.ts} +0 -0
- package/govgr/images/index.js +70 -0
- package/govgr/images/minedu-logo-base64.d.ts +2 -0
- package/govgr/images/minedu-logo-base64.js +8 -0
- package/{src/govgr/index.ts → govgr/index.d.ts} +0 -0
- package/govgr/index.js +70 -0
- package/hooks/useDebounce.d.ts +3 -0
- package/hooks/useDebounce.js +63 -0
- package/hooks/useKeypress.d.ts +2 -0
- package/hooks/useKeypress.js +31 -0
- package/hooks/useLatest.d.ts +3 -0
- package/hooks/useLatest.js +26 -0
- package/hooks/useOutdatedBrowserCheck.d.ts +2 -0
- package/hooks/useOutdatedBrowserCheck.js +60 -0
- package/hooks/useSearch.d.ts +4 -0
- package/hooks/useSearch.js +40 -0
- package/hooks/useTogglableSections.d.ts +19 -0
- package/hooks/useTogglableSections.js +114 -0
- package/index.d.ts +6 -0
- package/index.js +83 -0
- package/introduction.md +11 -0
- package/layouts/Basic/Aside/index.d.ts +3 -0
- package/layouts/Basic/Aside/index.js +30 -0
- package/layouts/Basic/Basic.stories.d.ts +11 -0
- package/layouts/Basic/Basic.stories.js +62 -0
- package/layouts/Basic/Bottom/index.d.ts +3 -0
- package/layouts/Basic/Bottom/index.js +30 -0
- package/layouts/Basic/Bottom/index.mdx +40 -0
- package/layouts/Basic/Container/index.d.ts +3 -0
- package/layouts/Basic/Container/index.js +30 -0
- package/layouts/Basic/Content/index.d.ts +5 -0
- package/layouts/Basic/Content/index.js +37 -0
- package/layouts/Basic/Main/index.d.ts +3 -0
- package/layouts/Basic/Main/index.js +30 -0
- package/layouts/Basic/Main/index.mdx +56 -0
- package/layouts/Basic/Masthead/index.d.ts +4 -0
- package/layouts/Basic/Masthead/index.js +44 -0
- package/layouts/Basic/Masthead/index.mdx +63 -0
- package/layouts/Basic/Side/index.d.ts +5 -0
- package/layouts/Basic/Side/index.js +26 -0
- package/layouts/Basic/Top/index.d.ts +3 -0
- package/layouts/Basic/Top/index.js +30 -0
- package/layouts/Basic/Top/index.mdx +64 -0
- package/layouts/Basic/__snapshots__/index.spec.tsx.snap +54 -0
- package/layouts/Basic/__stories__/Default.d.ts +2 -0
- package/layouts/Basic/__stories__/Default.js +30 -0
- package/layouts/Basic/__stories__/MultipleRowsLayout.d.ts +2 -0
- package/layouts/Basic/__stories__/MultipleRowsLayout.js +32 -0
- package/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.d.ts +2 -0
- package/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.js +32 -0
- package/layouts/Basic/index.d.ts +11 -0
- package/layouts/Basic/index.js +142 -0
- package/layouts/Basic/index.mdx +41 -0
- package/layouts/Basic/index.spec.d.ts +1 -0
- package/layouts/Basic/index.spec.js +20 -0
- package/layouts/Grid/Grid.stories.d.ts +9 -0
- package/layouts/Grid/Grid.stories.js +45 -0
- package/layouts/Grid/__stories__/Default.d.ts +2 -0
- package/layouts/Grid/__stories__/Default.js +89 -0
- package/layouts/Grid/__stories__/Inline.d.ts +2 -0
- package/layouts/Grid/__stories__/Inline.js +90 -0
- package/layouts/Grid/index.d.ts +4 -0
- package/layouts/Grid/index.js +19 -0
- package/{src/layouts/index.ts → layouts/index.d.ts} +0 -0
- package/layouts/index.js +55 -0
- package/locales/el.d.ts +84 -0
- package/locales/el.js +90 -0
- package/locales/en.d.ts +83 -0
- package/locales/en.js +89 -0
- package/package.json +10 -36
- package/registry.d.ts +278 -0
- package/registry.js +696 -0
- package/router/index.d.ts +9 -0
- package/router/index.js +37 -0
- package/test-utils/delay.d.ts +2 -0
- package/test-utils/delay.js +47 -0
- package/themes/grnet.d.ts +2 -0
- package/themes/grnet.js +129 -0
- package/typography/Caption/index.d.ts +8 -0
- package/typography/Caption/index.js +27 -0
- package/typography/Heading/Heading.stories.d.ts +8 -0
- package/typography/Heading/Heading.stories.js +31 -0
- package/typography/Heading/__stories__/Default.d.ts +2 -0
- package/typography/Heading/__stories__/Default.js +37 -0
- package/typography/Heading/index.d.ts +3 -0
- package/typography/Heading/index.js +30 -0
- package/typography/Heading/index.mdx +16 -0
- package/typography/HeadingCaption/HeadingCaption.stories.d.ts +9 -0
- package/typography/HeadingCaption/HeadingCaption.stories.js +45 -0
- package/typography/HeadingCaption/__stories__/Default.d.ts +2 -0
- package/typography/HeadingCaption/__stories__/Default.js +49 -0
- package/typography/HeadingCaption/__stories__/NestedToTitle.d.ts +2 -0
- package/typography/HeadingCaption/__stories__/NestedToTitle.js +29 -0
- package/typography/HeadingCaption/index.d.ts +3 -0
- package/typography/HeadingCaption/index.js +30 -0
- package/typography/HeadingCaption/index.mdx +19 -0
- package/typography/Hint/Hint.stories.d.ts +9 -0
- package/typography/Hint/Hint.stories.js +45 -0
- package/typography/Hint/__stories__/Default.d.ts +2 -0
- package/typography/Hint/__stories__/Default.js +22 -0
- package/typography/Hint/__stories__/FontSizes.d.ts +2 -0
- package/typography/Hint/__stories__/FontSizes.js +34 -0
- package/typography/Hint/index.d.ts +3 -0
- package/typography/Hint/index.js +30 -0
- package/typography/Hint/index.mdx +19 -0
- package/typography/NormalText/NormalText.stories.d.ts +11 -0
- package/typography/NormalText/NormalText.stories.js +73 -0
- package/typography/NormalText/__stories__/Default.d.ts +2 -0
- package/typography/NormalText/__stories__/Default.js +22 -0
- package/typography/NormalText/__stories__/FontSizes.d.ts +2 -0
- package/typography/NormalText/__stories__/FontSizes.js +62 -0
- package/typography/NormalText/__stories__/FontWeight.d.ts +2 -0
- package/typography/NormalText/__stories__/FontWeight.js +32 -0
- package/typography/NormalText/__stories__/Variants.d.ts +2 -0
- package/typography/NormalText/__stories__/Variants.js +32 -0
- package/typography/NormalText/index.d.ts +3 -0
- package/typography/NormalText/index.js +30 -0
- package/typography/NormalText/index.mdx +29 -0
- package/typography/Paragraph/Paragraph.stories.d.ts +12 -0
- package/typography/Paragraph/Paragraph.stories.js +87 -0
- package/typography/Paragraph/__stories__/Default.d.ts +2 -0
- package/typography/Paragraph/__stories__/Default.js +22 -0
- package/typography/Paragraph/__stories__/FontSizes.d.ts +2 -0
- package/typography/Paragraph/__stories__/FontSizes.js +48 -0
- package/typography/Paragraph/__stories__/FontWeight.d.ts +2 -0
- package/typography/Paragraph/__stories__/FontWeight.js +28 -0
- package/typography/Paragraph/__stories__/LeadVariant.d.ts +2 -0
- package/typography/Paragraph/__stories__/LeadVariant.js +24 -0
- package/typography/Paragraph/__stories__/SmallVariant.d.ts +2 -0
- package/typography/Paragraph/__stories__/SmallVariant.js +24 -0
- package/typography/Paragraph/index.d.ts +3 -0
- package/typography/Paragraph/index.js +30 -0
- package/typography/Paragraph/index.mdx +33 -0
- package/typography/Title/index.d.ts +10 -0
- package/typography/Title/index.js +69 -0
- package/typography/index.d.ts +7 -0
- package/typography/index.js +96 -0
- package/utils/Kitchensink/AllComponents.d.ts +1 -0
- package/utils/Kitchensink/AllComponents.js +24 -0
- package/utils/Kitchensink/KitchensinkByCategory.d.ts +6 -0
- package/utils/Kitchensink/KitchensinkByCategory.js +56 -0
- package/utils/Kitchensink/KitchensinkByLetter.d.ts +5 -0
- package/utils/Kitchensink/KitchensinkByLetter.js +34 -0
- package/utils/Kitchensink/KitchensinkComponent.d.ts +10 -0
- package/utils/Kitchensink/KitchensinkComponent.js +68 -0
- package/utils/Kitchensink/KitchensinkDashboard.d.ts +4 -0
- package/utils/Kitchensink/KitchensinkDashboard.js +63 -0
- package/utils/evaluateBrowserVersion.d.ts +15 -0
- package/utils/evaluateBrowserVersion.js +216 -0
- package/utils/withDeprecation.d.ts +16 -0
- package/utils/withDeprecation.js +119 -0
- package/.eslintrc.js +0 -3
- package/.prettierrc.js +0 -3
- package/.rush/temp/operation/build/state.json +0 -3
- package/.rush/temp/package-deps_build.json +0 -535
- package/.rush/temp/shrinkwrap-deps.json +0 -393
- package/CHANGELOG.json +0 -1668
- package/digigov-ui-0.26.7.tgz +0 -0
- package/docs/components.mdx +0 -1
- package/docs/create-a-new-service.mdx +0 -93
- package/docs/create-common-page-layout.mdx +0 -205
- package/docs/create-static-page.mdx +0 -179
- package/docs/edit-start-page.mdx +0 -141
- package/docs/index.mdx +0 -66
- package/docs/introduction.mdx +0 -34
- package/src/admin/AdminLayout/index.tsx +0 -10
- package/src/admin/AutoComplete/AutoComplete.stories.js +0 -13
- package/src/admin/AutoComplete/Status/index.tsx +0 -142
- package/src/admin/AutoComplete/__stories__/Default.tsx +0 -15
- package/src/admin/AutoComplete/__stories__/WithAutoSelect.tsx +0 -31
- package/src/admin/AutoComplete/__stories__/WithDefaultValue.tsx +0 -20
- package/src/admin/AutoComplete/__stories__/WithInLine.tsx +0 -20
- package/src/admin/AutoComplete/__stories__/WithMinLength.tsx +0 -25
- package/src/admin/AutoComplete/__stories__/WithPlaceHolder.tsx +0 -20
- package/src/admin/AutoComplete/__stories__/WithShowAllValues.tsx +0 -20
- package/src/admin/AutoComplete/index.mdx +0 -45
- package/src/admin/AutoComplete/index.tsx +0 -655
- package/src/admin/AutoComplete/utils.ts +0 -301
- package/src/admin/Chip/index.tsx +0 -8
- package/src/admin/CircularProgress/CircularProgress.stories.js +0 -8
- package/src/admin/CircularProgress/__stories__/Default.tsx +0 -15
- package/src/admin/CircularProgress/index.tsx +0 -4
- package/src/admin/CopyToClipboard/CopyToClipboard.stories.js +0 -8
- package/src/admin/CopyToClipboard/__stories__/Banner.tsx +0 -18
- package/src/admin/CopyToClipboard/__stories__/Default.tsx +0 -19
- package/src/admin/CopyToClipboard/__stories__/MultipleCopies.tsx +0 -213
- package/src/admin/CopyToClipboard/index.mdx +0 -22
- package/src/admin/CopyToClipboard/index.tsx +0 -60
- package/src/admin/Drawer/Drawer.stories.js +0 -4
- package/src/admin/Drawer/__stories__/Default.tsx +0 -109
- package/src/admin/Drawer/index.mdx +0 -12
- package/src/admin/Drawer/index.tsx +0 -5
- package/src/admin/Dropdown/Dropdown.stories.js +0 -10
- package/src/admin/Dropdown/Dropdown.stories.playwright.json +0 -21
- package/src/admin/Dropdown/__stories__/AlignRight.tsx +0 -58
- package/src/admin/Dropdown/__stories__/Default.tsx +0 -50
- package/src/admin/Dropdown/__stories__/PlacementTop.tsx +0 -58
- package/src/admin/Dropdown/index.mdx +0 -29
- package/src/admin/Dropdown/index.tsx +0 -87
- package/src/admin/DropdownArrowDown/index.tsx +0 -4
- package/src/admin/FillableText/index.tsx +0 -4
- package/src/admin/FilterSection/index.tsx +0 -10
- package/src/admin/FullPageBackground/index.tsx +0 -4
- package/src/admin/LabeledText/index.tsx +0 -4
- package/src/admin/LoaderContainer/index.tsx +0 -4
- package/src/admin/Modal/Modal.stories.js +0 -9
- package/src/admin/Modal/Modal.stories.playwright.json +0 -37
- package/src/admin/Modal/__stories__/AlertDialog.test.tsx +0 -14
- package/src/admin/Modal/__stories__/AlertDialog.tsx +0 -41
- package/src/admin/Modal/__stories__/Default.tsx +0 -39
- package/src/admin/Modal/index.mdx +0 -26
- package/src/admin/Modal/index.tsx +0 -87
- package/src/admin/Pagination/Pagination.stories.js +0 -8
- package/src/admin/Pagination/__stories__/Default.tsx +0 -186
- package/src/admin/Pagination/index.mdx +0 -12
- package/src/admin/Pagination/index.tsx +0 -45
- package/src/admin/ResultsHeading/index.tsx +0 -6
- package/src/admin/SearchSection/index.tsx +0 -6
- package/src/admin/StepNav/StepNav.stories.js +0 -8
- package/src/admin/StepNav/__stories__/Default.tsx +0 -145
- package/src/admin/StepNav/index.tsx +0 -29
- package/src/admin/TableLoaderBackground/index.tsx +0 -4
- package/src/admin/TaskList/TaskList.stories.js +0 -8
- package/src/admin/TaskList/__stories__/Default.tsx +0 -116
- package/src/admin/TaskList/index.tsx +0 -8
- package/src/admin/Timeline/Timeline.stories.js +0 -8
- package/src/admin/Timeline/__stories__/Default.tsx +0 -122
- package/src/admin/Timeline/index.tsx +0 -8
- package/src/api/APIErrors.tsx +0 -44
- package/src/api/APIProvider.tsx +0 -27
- package/src/api/fetchAPI.ts +0 -45
- package/src/api/index.spec.tsx +0 -419
- package/src/api/index.tsx +0 -16
- package/src/api/useResource.tsx +0 -96
- package/src/api/useResourceAction.tsx +0 -80
- package/src/api/useResourceQuery.tsx +0 -177
- package/src/api/utils.tsx +0 -156
- package/src/app/App.tsx +0 -15
- package/src/app/Confirmation/Confirmation.mdx +0 -12
- package/src/app/Confirmation/Confirmation.stories.js +0 -8
- package/src/app/Confirmation/__stories__/Default.tsx +0 -17
- package/src/app/Confirmation/index.tsx +0 -6
- package/src/app/Footer/Footer.mdx +0 -30
- package/src/app/Footer/Footer.stories.js +0 -14
- package/src/app/Footer/__stories__/Default.tsx +0 -6
- package/src/app/Footer/__stories__/DefaultCopyright.tsx +0 -41
- package/src/app/Footer/__stories__/FooterAllInclusive.tsx +0 -106
- package/src/app/Footer/__stories__/FooterWithLink.tsx +0 -55
- package/src/app/Footer/__stories__/FooterWithLogo.tsx +0 -51
- package/src/app/Footer/__stories__/FooterWithSecondaryNavigation.tsx +0 -81
- package/src/app/Footer/__stories__/YearCopyright.tsx +0 -41
- package/src/app/Footer/index.tsx +0 -15
- package/src/app/Header/Header.stories.js +0 -14
- package/src/app/Header/HeaderContent.tsx +0 -4
- package/src/app/Header/HeaderLogo.tsx +0 -4
- package/src/app/Header/HeaderSecondaryLogo.tsx +0 -4
- package/src/app/Header/HeaderSection.tsx +0 -4
- package/src/app/Header/HeaderSubtitle.tsx +0 -4
- package/src/app/Header/HeaderTitle.tsx +0 -4
- package/src/app/Header/__stories__/Default.tsx +0 -17
- package/src/app/Header/__stories__/WithNavigation.tsx +0 -30
- package/src/app/Header/__stories__/WithServiceName.tsx +0 -19
- package/src/app/Header/__stories__/WithServiceNameAndLogo.tsx +0 -24
- package/src/app/Header/index.mdx +0 -27
- package/src/app/Header/index.spec.tsx +0 -29
- package/src/app/Header/index.tsx +0 -10
- package/src/app/I18nText.tsx +0 -78
- package/src/app/NotFound/NotFound.stories.js +0 -6
- package/src/app/NotFound/__stories__/Default.tsx +0 -6
- package/src/app/NotFound/index.mdx +0 -12
- package/src/app/NotFound/index.tsx +0 -21
- package/src/app/OutdatedBrowserBanner.tsx +0 -37
- package/src/app/PhaseBannerHeader/PhaseBannerHeader.stories.js +0 -8
- package/src/app/PhaseBannerHeader/__stories__/Default.tsx +0 -11
- package/src/app/PhaseBannerHeader/index.mdx +0 -12
- package/src/app/PhaseBannerHeader/index.tsx +0 -30
- package/src/app/QrCodeScanner/QrCodeScanner.stories.js +0 -6
- package/src/app/QrCodeScanner/__stories__/Default.tsx +0 -43
- package/src/app/QrCodeScanner/index.spec.tsx +0 -19
- package/src/app/QrCodeScanner/index.tsx +0 -90
- package/src/app/QrCodeViewer/QRCode.stories.js +0 -9
- package/src/app/QrCodeViewer/__stories__/Custom.tsx +0 -25
- package/src/app/QrCodeViewer/__stories__/Default.tsx +0 -9
- package/src/app/QrCodeViewer/index.mdx +0 -21
- package/src/app/QrCodeViewer/index.tsx +0 -250
- package/src/app/QrCodeViewer/qrcodegen.ts +0 -1382
- package/src/app/QrCodeViewer/types.ts +0 -31
- package/src/app/QrCodeViewer/utils.ts +0 -112
- package/src/app/i18n.tsx +0 -61
- package/src/app/index.ts +0 -8
- package/src/core/Accordion/Accordion.stories.js +0 -9
- package/src/core/Accordion/Accordion.stories.playwright.json +0 -27
- package/src/core/Accordion/__stories__/Default.tsx +0 -113
- package/src/core/Accordion/__stories__/WithHints.tsx +0 -122
- package/src/core/Accordion/index.mdx +0 -33
- package/src/core/Accordion/index.spec.tsx +0 -30
- package/src/core/Accordion/index.tsx +0 -79
- package/src/core/BackLink/BackLink.stories.js +0 -8
- package/src/core/BackLink/__stories__/Default.tsx +0 -10
- package/src/core/BackLink/index.mdx +0 -16
- package/src/core/Base/index.tsx +0 -4
- package/src/core/Blockquote/Blockquote.stories.js +0 -7
- package/src/core/Blockquote/__stories__/Default.tsx +0 -11
- package/src/core/Blockquote/index.mdx +0 -23
- package/src/core/Blockquote/index.spec.tsx +0 -10
- package/src/core/Blockquote/index.tsx +0 -4
- package/src/core/Breadcrumbs/Breadcrumbs.stories.js +0 -8
- package/src/core/Breadcrumbs/__stories__/Default.tsx +0 -20
- package/src/core/Breadcrumbs/breadcrumbs.mdx +0 -22
- package/src/core/Button/BackButton.tsx +0 -23
- package/src/core/Button/BackLink.tsx +0 -4
- package/src/core/Button/Button.stories.js +0 -20
- package/src/core/Button/ButtonLink.tsx +0 -4
- package/src/core/Button/CallToAction.tsx +0 -4
- package/src/core/Button/Icon.tsx +0 -9
- package/src/core/Button/ThemeToggleButton.tsx +0 -52
- package/src/core/Button/__stories__/Back.tsx +0 -9
- package/src/core/Button/__stories__/ButtonLinkButton.tsx +0 -17
- package/src/core/Button/__stories__/CallToActionButton.tsx +0 -17
- package/src/core/Button/__stories__/Disabled.tsx +0 -8
- package/src/core/Button/__stories__/GroupingButtons.tsx +0 -12
- package/src/core/Button/__stories__/GroupingButtonsAndLinks.tsx +0 -13
- package/src/core/Button/__stories__/Primary.tsx +0 -10
- package/src/core/Button/__stories__/Secondary.tsx +0 -12
- package/src/core/Button/__stories__/ThemeToggle.tsx +0 -7
- package/src/core/Button/__stories__/Warning.tsx +0 -10
- package/src/core/Button/__stories__/WithVariantLink.tsx +0 -18
- package/src/core/Button/index.mdx +0 -97
- package/src/core/Button/index.spec.tsx +0 -8
- package/src/core/Button/index.tsx +0 -24
- package/src/core/Card/Card.stories.js +0 -14
- package/src/core/Card/__stories__/Default.tsx +0 -18
- package/src/core/Card/__stories__/WithClickableContent.tsx +0 -17
- package/src/core/Card/__stories__/WithClickableLink.tsx +0 -17
- package/src/core/Card/__stories__/WithDarkBorder.tsx +0 -18
- package/src/core/Card/__stories__/WithDarkTopBorder.tsx +0 -18
- package/src/core/Card/__stories__/WithDivider.tsx +0 -18
- package/src/core/Card/__stories__/WithGrayBorder.tsx +0 -18
- package/src/core/Card/__stories__/WithGrayTopBorder.tsx +0 -18
- package/src/core/Card/__stories__/WithGroupButton.tsx +0 -22
- package/src/core/Card/card.mdx +0 -78
- package/src/core/Card/index.tsx +0 -7
- package/src/core/Checkboxes/Checkbox.stories.js +0 -12
- package/src/core/Checkboxes/__stories__/ConditionalReveal.tsx +0 -31
- package/src/core/Checkboxes/__stories__/Default.tsx +0 -26
- package/src/core/Checkboxes/__stories__/MultipleQuestions.tsx +0 -26
- package/src/core/Checkboxes/__stories__/NoneAnswer.tsx +0 -29
- package/src/core/Checkboxes/__stories__/NoneAnswerWithError.tsx +0 -38
- package/src/core/Checkboxes/__stories__/WithErrorMessage.tsx +0 -30
- package/src/core/Checkboxes/__stories__/WithHint.tsx +0 -27
- package/src/core/Checkboxes/checkboxes.mdx +0 -54
- package/src/core/Confirmation/Confirmation.stories.js +0 -8
- package/src/core/Confirmation/__stories__/Default.tsx +0 -15
- package/src/core/Confirmation/confirmation.mdx +0 -19
- package/src/core/Confirmation/index.tsx +0 -5
- package/src/core/DateInput/DateInput.stories.js +0 -9
- package/src/core/DateInput/__stories__/Default.tsx +0 -22
- package/src/core/DateInput/__stories__/MultipleQuestions.tsx +0 -22
- package/src/core/DateInput/__stories__/WithErrorMessage.tsx +0 -32
- package/src/core/DateInput/__stories__/WithErrorMessageForSingleField.tsx +0 -28
- package/src/core/DateInput/index.mdx +0 -34
- package/src/core/Details/Details.stories.js +0 -8
- package/src/core/Details/__stories__/Default.tsx +0 -21
- package/src/core/Details/index.mdx +0 -18
- package/src/core/Details/index.spec.tsx +0 -38
- package/src/core/Details/index.tsx +0 -7
- package/src/core/Divider/Divider.stories.js +0 -8
- package/src/core/Divider/__stories__/Default.tsx +0 -13
- package/src/core/Divider/index.tsx +0 -13
- package/src/core/ErrorMessage/ErrorMessage.stories.js +0 -8
- package/src/core/ErrorMessage/__stories__/Default.tsx +0 -31
- package/src/core/ErrorMessage/index.mdx +0 -21
- package/src/core/ErrorSummary/ErrorSummary.stories.js +0 -11
- package/src/core/ErrorSummary/__stories__/Default.tsx +0 -13
- package/src/core/ErrorSummary/__stories__/LinkedToCheckbox.tsx +0 -40
- package/src/core/ErrorSummary/__stories__/LinkedToField.tsx +0 -42
- package/src/core/ErrorSummary/__stories__/LinkedToInput.tsx +0 -35
- package/src/core/ErrorSummary/index.mdx +0 -42
- package/src/core/ErrorSummary/index.spec.tsx +0 -9
- package/src/core/ErrorSummary/index.tsx +0 -4
- package/src/core/Field/index.tsx +0 -6
- package/src/core/FileUpload/FileUpload.stories.js +0 -7
- package/src/core/FileUpload/__stories__/Default.tsx +0 -18
- package/src/core/FileUpload/__stories__/WithErrorMessage.tsx +0 -24
- package/src/core/FileUpload/index.mdx +0 -22
- package/src/core/Form/index.tsx +0 -5
- package/src/core/Label/index.tsx +0 -5
- package/src/core/Link/Link.stories.js +0 -11
- package/src/core/Link/__stories__/DarkBackground.tsx +0 -20
- package/src/core/Link/__stories__/DarkBackgroundNoUnderline.tsx +0 -21
- package/src/core/Link/__stories__/Default.tsx +0 -10
- package/src/core/Link/__stories__/ExternalLink.tsx +0 -18
- package/src/core/Link/__stories__/NoUnderline.tsx +0 -15
- package/src/core/Link/__stories__/OpensInNewTab.tsx +0 -9
- package/src/core/Link/index.spec.tsx +0 -22
- package/src/core/Link/index.tsx +0 -42
- package/src/core/Link/link.mdx +0 -34
- package/src/core/List/List.stories.js +0 -11
- package/src/core/List/List.tsx +0 -5
- package/src/core/List/ListItem.tsx +0 -5
- package/src/core/List/ListItemContent.tsx +0 -19
- package/src/core/List/ListItemIcon.tsx +0 -17
- package/src/core/List/ListItemText.tsx +0 -20
- package/src/core/List/ListItemTitle.tsx +0 -32
- package/src/core/List/__stories__/BulletList.tsx +0 -18
- package/src/core/List/__stories__/Default.tsx +0 -19
- package/src/core/List/__stories__/NestedBulletList.tsx +0 -47
- package/src/core/List/__stories__/NestedListWithVariantStyles.tsx +0 -55
- package/src/core/List/__stories__/NumberedList.tsx +0 -18
- package/src/core/List/__stories__/WithExtraSpace.tsx +0 -18
- package/src/core/List/index.mdx +0 -27
- package/src/core/List/index.spec.tsx +0 -9
- package/src/core/Masthead/Masthead.stories.js +0 -6
- package/src/core/Masthead/__stories__/Default.tsx +0 -23
- package/src/core/Masthead/masthead.mdx +0 -14
- package/src/core/NavList/NavHorizontal.tsx +0 -4
- package/src/core/NavList/NavHorizontalList.tsx +0 -4
- package/src/core/NavList/NavHorizontalListItem.tsx +0 -4
- package/src/core/NavList/NavList.stories.js +0 -7
- package/src/core/NavList/NavList.tsx +0 -24
- package/src/core/NavList/NavListBase.tsx +0 -71
- package/src/core/NavList/NavListContext.tsx +0 -85
- package/src/core/NavList/NavListItem.tsx +0 -146
- package/src/core/NavList/NavListItemBase.tsx +0 -149
- package/src/core/NavList/NavListSubMenu.tsx +0 -34
- package/src/core/NavList/NavVertical.tsx +0 -4
- package/src/core/NavList/NavVerticalItem.tsx +0 -4
- package/src/core/NavList/__stories__/Default.tsx +0 -51
- package/src/core/NavList/__stories__/NavHorizontalLayout.tsx +0 -53
- package/src/core/NavList/index.mdx +0 -25
- package/src/core/NavList/index.spec.tsx +0 -9
- package/src/core/NavList/index.tsx +0 -10
- package/src/core/NavList/types.tsx +0 -15
- package/src/core/NotificationBanner/NotificationBanner.stories.js +0 -7
- package/src/core/NotificationBanner/__stories__/Default.tsx +0 -13
- package/src/core/NotificationBanner/__stories__/Success.tsx +0 -14
- package/src/core/NotificationBanner/index.mdx +0 -28
- package/src/core/NotificationBanner/index.spec.tsx +0 -22
- package/src/core/NotificationBanner/index.tsx +0 -52
- package/src/core/PhaseBanner/PhaseBanner.stories.js +0 -9
- package/src/core/PhaseBanner/__stories__/Default.tsx +0 -18
- package/src/core/PhaseBanner/__stories__/Underlined.tsx +0 -18
- package/src/core/PhaseBanner/index.mdx +0 -24
- package/src/core/Radios/Radios.stories.js +0 -12
- package/src/core/Radios/__stories__/ConditionalReveal.tsx +0 -28
- package/src/core/Radios/__stories__/Default.tsx +0 -27
- package/src/core/Radios/__stories__/Inline.tsx +0 -26
- package/src/core/Radios/__stories__/MultipleQuestions.tsx +0 -31
- package/src/core/Radios/__stories__/NoneAnswer.tsx +0 -25
- package/src/core/Radios/__stories__/WithErrorMessage.tsx +0 -31
- package/src/core/Radios/__stories__/WithHints.tsx +0 -31
- package/src/core/Radios/index.mdx +0 -56
- package/src/core/SectionBreak/index.tsx +0 -4
- package/src/core/Select/Select.stories.js +0 -10
- package/src/core/Select/__stories__/Default.tsx +0 -20
- package/src/core/Select/__stories__/DisabledInput.tsx +0 -25
- package/src/core/Select/__stories__/WithHint.tsx +0 -22
- package/src/core/Select/index.mdx +0 -42
- package/src/core/Select/index.tsx +0 -5
- package/src/core/ServiceBadge/index.mdx +0 -42
- package/src/core/ServiceBadge/index.tsx +0 -27
- package/src/core/SkipLink/index.tsx +0 -4
- package/src/core/SummaryList/SummaryList.stories.js +0 -12
- package/src/core/SummaryList/__stories__/Default.tsx +0 -34
- package/src/core/SummaryList/__stories__/RowVariations.tsx +0 -110
- package/src/core/SummaryList/__stories__/WithActions.tsx +0 -54
- package/src/core/SummaryList/__stories__/WithKeyAndAction.tsx +0 -49
- package/src/core/SummaryList/__stories__/WithoutBorders.tsx +0 -29
- package/src/core/SummaryList/index.mdx +0 -32
- package/src/core/SummaryList/index.spec.tsx +0 -28
- package/src/core/SummaryList/index.tsx +0 -9
- package/src/core/SvgIcon/index.tsx +0 -11
- package/src/core/Table/Table.stories.js +0 -22
- package/src/core/Table/TableFloatingScroll.tsx +0 -79
- package/src/core/Table/__stories__/DarkVariant.tsx +0 -47
- package/src/core/Table/__stories__/DarkVariantWithVerticalHeaders.tsx +0 -59
- package/src/core/Table/__stories__/Default.tsx +0 -47
- package/src/core/Table/__stories__/DefinedWidth.tsx +0 -42
- package/src/core/Table/__stories__/Densed.tsx +0 -78
- package/src/core/Table/__stories__/Full.tsx +0 -105
- package/src/core/Table/__stories__/MultipleProps.tsx +0 -61
- package/src/core/Table/__stories__/NoData.tsx +0 -34
- package/src/core/Table/__stories__/NumericDataType.tsx +0 -51
- package/src/core/Table/__stories__/TableCaptions.tsx +0 -17
- package/src/core/Table/__stories__/VerticalBorders.tsx +0 -57
- package/src/core/Table/__stories__/VerticalHeaders.tsx +0 -57
- package/src/core/Table/__stories__/WithFloatingScroll.tsx +0 -128
- package/src/core/Table/__stories__/WithHeader.tsx +0 -98
- package/src/core/Table/__stories__/WithLoader.tsx +0 -126
- package/src/core/Table/__stories__/ZebraProp.tsx +0 -56
- package/src/core/Table/index.mdx +0 -68
- package/src/core/Table/index.tsx +0 -10
- package/src/core/Tabs/Tabs.stories.js +0 -8
- package/src/core/Tabs/__stories__/Default.tsx +0 -49
- package/src/core/Tabs/index.mdx +0 -16
- package/src/core/Tabs/index.tsx +0 -52
- package/src/core/TextArea/TextArea.stories.js +0 -15
- package/src/core/TextArea/__stories__/Default.tsx +0 -18
- package/src/core/TextArea/__stories__/DisabledInput.tsx +0 -23
- package/src/core/TextArea/__stories__/LimitedCharacters.tsx +0 -24
- package/src/core/TextArea/__stories__/MultipleQuestions.tsx +0 -20
- package/src/core/TextArea/__stories__/WithDeclaredRows.tsx +0 -23
- package/src/core/TextArea/__stories__/WithErrorMessage.tsx +0 -25
- package/src/core/TextArea/__stories__/WithHint.tsx +0 -23
- package/src/core/TextArea/index.mdx +0 -50
- package/src/core/TextInput/TextInput.stories.js +0 -15
- package/src/core/TextInput/__stories__/AskingForNumbers.tsx +0 -22
- package/src/core/TextInput/__stories__/Default.tsx +0 -16
- package/src/core/TextInput/__stories__/DisabledInput.tsx +0 -18
- package/src/core/TextInput/__stories__/FixedWidths.tsx +0 -48
- package/src/core/TextInput/__stories__/FluidWidths.tsx +0 -48
- package/src/core/TextInput/__stories__/MultipleQuestions.tsx +0 -15
- package/src/core/TextInput/__stories__/WithErrorMessage.tsx +0 -20
- package/src/core/TextInput/__stories__/WithHint.tsx +0 -18
- package/src/core/TextInput/index.mdx +0 -59
- package/src/core/VisuallyHidden/VisuallyHidden.stories.js +0 -8
- package/src/core/VisuallyHidden/__stories__/Default.tsx +0 -22
- package/src/core/VisuallyHidden/index.mdx +0 -17
- package/src/core/WarningText/WarningText.stories.js +0 -8
- package/src/core/WarningText/__stories__/Default.tsx +0 -10
- package/src/core/WarningText/index.mdx +0 -19
- package/src/core/WarningText/index.spec.tsx +0 -9
- package/src/core/WarningText/index.tsx +0 -4
- package/src/core/index.ts +0 -33
- package/src/custom.d.ts +0 -8
- package/src/form/inputs/Input/index.mdx +0 -10
- package/src/govgr/Footer/Copyright.tsx +0 -72
- package/src/govgr/Footer/HellenicRepublicLogo.tsx +0 -4
- package/src/govgr/Footer/LicenseCCSA.tsx +0 -24
- package/src/govgr/Footer/index.mdx +0 -97
- package/src/govgr/Footer/index.tsx +0 -49
- package/src/govgr/Footer/logo.ts +0 -1
- package/src/govgr/Footer/logos/logo-el.ts +0 -1
- package/src/govgr/Footer/logos/logo-en.ts +0 -1
- package/src/govgr/Logo/index.tsx +0 -5
- package/src/govgr/Logo/logo.ts +0 -1
- package/src/govgr/images/govgr-logo-base64.ts +0 -1
- package/src/govgr/images/govgr-logo-blue-base64.ts +0 -1
- package/src/govgr/images/greek-government-base64.ts +0 -1
- package/src/govgr/images/grnet-logo-base64.ts +0 -1
- package/src/govgr/images/minedu-logo-base64.ts +0 -1
- package/src/hooks/useDebounce.ts +0 -50
- package/src/hooks/useKeypress.ts +0 -27
- package/src/hooks/useLatest.ts +0 -12
- package/src/hooks/useOutdatedBrowserCheck.ts +0 -47
- package/src/hooks/useSearch.ts +0 -47
- package/src/hooks/useTogglableSections.tsx +0 -107
- package/src/index.ts +0 -5
- package/src/layouts/Basic/Aside/index.tsx +0 -4
- package/src/layouts/Basic/Basic.stories.js +0 -10
- package/src/layouts/Basic/Bottom/index.mdx +0 -36
- package/src/layouts/Basic/Bottom/index.tsx +0 -4
- package/src/layouts/Basic/Container/index.tsx +0 -4
- package/src/layouts/Basic/Content/index.mdx +0 -50
- package/src/layouts/Basic/Content/index.tsx +0 -26
- package/src/layouts/Basic/Main/index.mdx +0 -52
- package/src/layouts/Basic/Main/index.tsx +0 -4
- package/src/layouts/Basic/Masthead/index.mdx +0 -59
- package/src/layouts/Basic/Masthead/index.tsx +0 -6
- package/src/layouts/Basic/Side/index.mdx +0 -57
- package/src/layouts/Basic/Side/index.tsx +0 -10
- package/src/layouts/Basic/Top/index.mdx +0 -60
- package/src/layouts/Basic/Top/index.tsx +0 -5
- package/src/layouts/Basic/__stories__/Default.tsx +0 -17
- package/src/layouts/Basic/__stories__/MultipleRowsLayout.tsx +0 -31
- package/src/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.tsx +0 -23
- package/src/layouts/Basic/index.mdx +0 -47
- package/src/layouts/Basic/index.spec.tsx +0 -24
- package/src/layouts/Basic/index.tsx +0 -12
- package/src/layouts/Grid/Grid.stories.js +0 -9
- package/src/layouts/Grid/__stories__/Default.tsx +0 -74
- package/src/layouts/Grid/__stories__/Inline.tsx +0 -73
- package/src/layouts/Grid/index.tsx +0 -4
- package/src/locales/el.ts +0 -92
- package/src/locales/en.ts +0 -88
- package/src/registry.js +0 -352
- package/src/router/index.mdx +0 -5
- package/src/router/index.tsx +0 -28
- package/src/test-utils/delay.ts +0 -9
- package/src/themes/grnet.js +0 -110
- package/src/typography/Caption/index.tsx +0 -16
- package/src/typography/Heading/Heading.stories.js +0 -6
- package/src/typography/Heading/__stories__/Default.tsx +0 -22
- package/src/typography/Heading/index.mdx +0 -12
- package/src/typography/Heading/index.tsx +0 -4
- package/src/typography/HeadingCaption/HeadingCaption.stories.js +0 -7
- package/src/typography/HeadingCaption/__stories__/Default.tsx +0 -25
- package/src/typography/HeadingCaption/__stories__/NestedToTitle.tsx +0 -12
- package/src/typography/HeadingCaption/index.mdx +0 -16
- package/src/typography/HeadingCaption/index.tsx +0 -4
- package/src/typography/Hint/Hint.stories.js +0 -9
- package/src/typography/Hint/__stories__/Default.tsx +0 -9
- package/src/typography/Hint/__stories__/FontSizes.tsx +0 -14
- package/src/typography/Hint/index.mdx +0 -16
- package/src/typography/Hint/index.tsx +0 -4
- package/src/typography/NormalText/NormalText.stories.js +0 -11
- package/src/typography/NormalText/__stories__/Default.tsx +0 -11
- package/src/typography/NormalText/__stories__/FontSizes.tsx +0 -24
- package/src/typography/NormalText/__stories__/FontWeight.tsx +0 -13
- package/src/typography/NormalText/__stories__/Variants.tsx +0 -14
- package/src/typography/NormalText/index.mdx +0 -26
- package/src/typography/NormalText/index.tsx +0 -4
- package/src/typography/Paragraph/Paragraph.stories.js +0 -11
- package/src/typography/Paragraph/__stories__/Default.tsx +0 -11
- package/src/typography/Paragraph/__stories__/FontSizes.tsx +0 -17
- package/src/typography/Paragraph/__stories__/FontWeight.tsx +0 -11
- package/src/typography/Paragraph/__stories__/LeadVariant.tsx +0 -11
- package/src/typography/Paragraph/__stories__/SmallVariant.tsx +0 -11
- package/src/typography/Paragraph/index.mdx +0 -30
- package/src/typography/Paragraph/index.tsx +0 -4
- package/src/typography/Title/index.tsx +0 -52
- package/src/typography/index.mdx +0 -5
- package/src/typography/index.ts +0 -9
- package/src/utils/evaluateBrowserVersion.ts +0 -346
- package/src/utils/withDeprecation.tsx +0 -97
- package/tsconfig.json +0 -25
- package/tsconfig.production.json +0 -45
- package/ui.build.log +0 -16
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
var _exportNames = {
|
|
11
|
+
useModal: true,
|
|
12
|
+
Modal: true,
|
|
13
|
+
ModalBase: true
|
|
14
|
+
};
|
|
15
|
+
exports.useModal = exports["default"] = exports.ModalBase = exports.Modal = void 0;
|
|
16
|
+
|
|
17
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
18
|
+
|
|
19
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
20
|
+
|
|
21
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
22
|
+
|
|
23
|
+
var _ModalContainer = _interopRequireWildcard(require("@digigov/react-extensions/admin/ModalContainer"));
|
|
24
|
+
|
|
25
|
+
Object.keys(_ModalContainer).forEach(function (key) {
|
|
26
|
+
if (key === "default" || key === "__esModule") return;
|
|
27
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
28
|
+
if (key in exports && exports[key] === _ModalContainer[key]) return;
|
|
29
|
+
Object.defineProperty(exports, key, {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function get() {
|
|
32
|
+
return _ModalContainer[key];
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
var _ModalHeading = require("@digigov/react-extensions/admin/ModalHeading");
|
|
38
|
+
|
|
39
|
+
Object.keys(_ModalHeading).forEach(function (key) {
|
|
40
|
+
if (key === "default" || key === "__esModule") return;
|
|
41
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
42
|
+
if (key in exports && exports[key] === _ModalHeading[key]) return;
|
|
43
|
+
Object.defineProperty(exports, key, {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function get() {
|
|
46
|
+
return _ModalHeading[key];
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
var _ModalContent = require("@digigov/react-extensions/admin/ModalContent");
|
|
52
|
+
|
|
53
|
+
Object.keys(_ModalContent).forEach(function (key) {
|
|
54
|
+
if (key === "default" || key === "__esModule") return;
|
|
55
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
56
|
+
if (key in exports && exports[key] === _ModalContent[key]) return;
|
|
57
|
+
Object.defineProperty(exports, key, {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function get() {
|
|
60
|
+
return _ModalContent[key];
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
var _ModalAction = require("@digigov/react-extensions/admin/ModalAction");
|
|
66
|
+
|
|
67
|
+
Object.keys(_ModalAction).forEach(function (key) {
|
|
68
|
+
if (key === "default" || key === "__esModule") return;
|
|
69
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
70
|
+
if (key in exports && exports[key] === _ModalAction[key]) return;
|
|
71
|
+
Object.defineProperty(exports, key, {
|
|
72
|
+
enumerable: true,
|
|
73
|
+
get: function get() {
|
|
74
|
+
return _ModalAction[key];
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
80
|
+
|
|
81
|
+
var _useKeypress = _interopRequireDefault(require("@digigov/ui/hooks/useKeypress"));
|
|
82
|
+
|
|
83
|
+
var _excluded = ["open", "children", "onEscape"];
|
|
84
|
+
|
|
85
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
86
|
+
|
|
87
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
88
|
+
|
|
89
|
+
var useModal = function useModal() {
|
|
90
|
+
var _useState = (0, _react.useState)(false),
|
|
91
|
+
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
92
|
+
open = _useState2[0],
|
|
93
|
+
setOpen = _useState2[1];
|
|
94
|
+
|
|
95
|
+
var _useState3 = (0, _react.useState)(false),
|
|
96
|
+
_useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
|
|
97
|
+
modalData = _useState4[0],
|
|
98
|
+
setModalData = _useState4[1];
|
|
99
|
+
|
|
100
|
+
function toggleModal(data) {
|
|
101
|
+
setOpen(!open);
|
|
102
|
+
|
|
103
|
+
if (data) {
|
|
104
|
+
setModalData(data);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
var closeModal = (0, _react.useCallback)(function closeModal() {
|
|
109
|
+
setOpen(false);
|
|
110
|
+
}, []);
|
|
111
|
+
return {
|
|
112
|
+
toggleModal: toggleModal,
|
|
113
|
+
closeModal: closeModal,
|
|
114
|
+
modalData: modalData,
|
|
115
|
+
modalProps: {
|
|
116
|
+
onEscape: closeModal,
|
|
117
|
+
open: open,
|
|
118
|
+
role: 'dialog',
|
|
119
|
+
'aria-modal': 'true'
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
exports.useModal = useModal;
|
|
125
|
+
|
|
126
|
+
var Modal = function Modal(props) {
|
|
127
|
+
if (props.open) {
|
|
128
|
+
return /*#__PURE__*/_react["default"].createElement(ModalBase, props);
|
|
129
|
+
} else {
|
|
130
|
+
return null;
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
exports.Modal = Modal;
|
|
135
|
+
|
|
136
|
+
var ModalBase = function ModalBase(_ref) {
|
|
137
|
+
var open = _ref.open,
|
|
138
|
+
children = _ref.children,
|
|
139
|
+
onEscape = _ref.onEscape,
|
|
140
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
141
|
+
var firstModalElement = (0, _react.useRef)();
|
|
142
|
+
var lastModalElement = (0, _react.useRef)();
|
|
143
|
+
var handleFocus = (0, _react.useCallback)(function () {
|
|
144
|
+
firstModalElement.current.focus();
|
|
145
|
+
}, []);
|
|
146
|
+
(0, _useKeypress["default"])('Escape', onEscape);
|
|
147
|
+
(0, _react.useEffect)(function () {
|
|
148
|
+
handleFocus();
|
|
149
|
+
lastModalElement.current.addEventListener('focus', handleFocus);
|
|
150
|
+
return function () {
|
|
151
|
+
lastModalElement.current.removeEventListener('focus', handleFocus);
|
|
152
|
+
};
|
|
153
|
+
}, [open]);
|
|
154
|
+
return /*#__PURE__*/_react["default"].createElement(_ModalContainer["default"], (0, _extends2["default"])({
|
|
155
|
+
open: open,
|
|
156
|
+
role: "dialog"
|
|
157
|
+
}, props, {
|
|
158
|
+
"aria-hidden": "false",
|
|
159
|
+
"aria-modal": "true"
|
|
160
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
161
|
+
tabIndex: -1,
|
|
162
|
+
ref: firstModalElement,
|
|
163
|
+
"aria-hidden": "true"
|
|
164
|
+
}), open && children, /*#__PURE__*/_react["default"].createElement("span", {
|
|
165
|
+
tabIndex: 0,
|
|
166
|
+
ref: lastModalElement,
|
|
167
|
+
"aria-hidden": "true"
|
|
168
|
+
}));
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
exports.ModalBase = ModalBase;
|
|
172
|
+
var _default = Modal;
|
|
173
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: modal
|
|
3
|
+
title: Modal
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
import Modal, {ModalHeading, ModalContent, ModalAction} from "@digigov/ui/admin/Modal";
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## How to use
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## Accessibility
|
|
14
|
+
|
|
15
|
+
You can read more about the accessibility patterns used in our Modal
|
|
16
|
+
implementation in the ARIA Authoring Practices Guide (APG) at
|
|
17
|
+
[Dialog](https://www.w3.org/WAI/ARIA/apg/patterns/dialogmodal/) and
|
|
18
|
+
[Alert Dialog](https://www.w3.org/WAI/ARIA/apg/patterns/alertdialog/) sections.
|
|
19
|
+
|
|
20
|
+
## API
|
|
21
|
+
|
|
22
|
+
<PropTypes packageName="@digigov/ui" component="Modal" />
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
export const title: string;
|
|
3
|
+
export const description: string;
|
|
4
|
+
export const link: string;
|
|
5
|
+
export { Pagination as component };
|
|
6
|
+
export const displayName: string;
|
|
7
|
+
}
|
|
8
|
+
export default _default;
|
|
9
|
+
export * from "./__stories__/Default";
|
|
10
|
+
export * from "./__stories__/PaginationSmall";
|
|
11
|
+
import Pagination from "@digigov/ui/admin/Pagination";
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
var _exportNames = {};
|
|
9
|
+
exports["default"] = void 0;
|
|
10
|
+
|
|
11
|
+
var _Pagination = _interopRequireDefault(require("@digigov/ui/admin/Pagination"));
|
|
12
|
+
|
|
13
|
+
var _Default = require("./__stories__/Default");
|
|
14
|
+
|
|
15
|
+
Object.keys(_Default).forEach(function (key) {
|
|
16
|
+
if (key === "default" || key === "__esModule") return;
|
|
17
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
18
|
+
if (key in exports && exports[key] === _Default[key]) return;
|
|
19
|
+
Object.defineProperty(exports, key, {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function get() {
|
|
22
|
+
return _Default[key];
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
var _PaginationSmall = require("./__stories__/PaginationSmall");
|
|
28
|
+
|
|
29
|
+
Object.keys(_PaginationSmall).forEach(function (key) {
|
|
30
|
+
if (key === "default" || key === "__esModule") return;
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
32
|
+
if (key in exports && exports[key] === _PaginationSmall[key]) return;
|
|
33
|
+
Object.defineProperty(exports, key, {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function get() {
|
|
36
|
+
return _PaginationSmall[key];
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
var _default = {
|
|
41
|
+
title: 'Digigov UI/admin/Pagination',
|
|
42
|
+
description: 'Use the pagination component to let users browse through a long list.',
|
|
43
|
+
link: 'https://guide.services.gov.gr/docs/patterns/admin-pages/components/pagination',
|
|
44
|
+
component: _Pagination["default"],
|
|
45
|
+
displayName: 'Pagination'
|
|
46
|
+
};
|
|
47
|
+
exports["default"] = _default;
|
|
File without changes
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
exports["default"] = exports.Default = void 0;
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _Pagination = _interopRequireWildcard(require("@digigov/ui/admin/Pagination"));
|
|
15
|
+
|
|
16
|
+
var _ArrowIcon = _interopRequireDefault(require("@digigov/react-core/ArrowIcon"));
|
|
17
|
+
|
|
18
|
+
var _Link = _interopRequireDefault(require("@digigov/ui/core/Link"));
|
|
19
|
+
|
|
20
|
+
var _Divider = _interopRequireDefault(require("@digigov/ui/core/Divider"));
|
|
21
|
+
|
|
22
|
+
var _app = require("@digigov/ui/app");
|
|
23
|
+
|
|
24
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
25
|
+
|
|
26
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
27
|
+
|
|
28
|
+
var _ref = /*#__PURE__*/_react["default"].createElement(_Pagination["default"], null, /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationLabel, {
|
|
29
|
+
start: 10,
|
|
30
|
+
end: 20,
|
|
31
|
+
total: 10000
|
|
32
|
+
}), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationList, null, /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], null, /*#__PURE__*/_react["default"].createElement(_ArrowIcon["default"], {
|
|
33
|
+
direction: "left"
|
|
34
|
+
}), "\u03A0\u03C1\u03BF\u03B7\u03B3\u03BF\u03CD\u03BC\u03B5\u03BD\u03BF")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
35
|
+
href: "/page1"
|
|
36
|
+
}, "1")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, {
|
|
37
|
+
currentPage: true
|
|
38
|
+
}, "2"), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
39
|
+
href: "/page3"
|
|
40
|
+
}, "3")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, {
|
|
41
|
+
variant: "dots"
|
|
42
|
+
}), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
43
|
+
href: "/page5"
|
|
44
|
+
}, "5")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
45
|
+
href: "/page6"
|
|
46
|
+
}, "6")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
47
|
+
href: "/page7"
|
|
48
|
+
}, "7")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], null, "\u0395\u03C0\u03CC\u03BC\u03B5\u03BD\u03BF", /*#__PURE__*/_react["default"].createElement(_ArrowIcon["default"], {
|
|
49
|
+
direction: "right"
|
|
50
|
+
})))));
|
|
51
|
+
|
|
52
|
+
var _ref2 = /*#__PURE__*/_react["default"].createElement(_Divider["default"], {
|
|
53
|
+
visible: true,
|
|
54
|
+
size: "l"
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
var _ref3 = /*#__PURE__*/_react["default"].createElement(_Pagination["default"], null, /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationLabel, {
|
|
58
|
+
start: 10,
|
|
59
|
+
end: 20,
|
|
60
|
+
total: 10000
|
|
61
|
+
}), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationList, null, /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, {
|
|
62
|
+
inactive: true
|
|
63
|
+
}, /*#__PURE__*/_react["default"].createElement(_Link["default"], null, /*#__PURE__*/_react["default"].createElement(_ArrowIcon["default"], {
|
|
64
|
+
direction: "left"
|
|
65
|
+
}), "\u03A0\u03C1\u03BF\u03B7\u03B3\u03BF\u03CD\u03BC\u03B5\u03BD\u03BF")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, {
|
|
66
|
+
currentPage: true
|
|
67
|
+
}, "1"), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
68
|
+
href: "/page2"
|
|
69
|
+
}, "2")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
70
|
+
href: "/page3"
|
|
71
|
+
}, "3")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, {
|
|
72
|
+
variant: "dots"
|
|
73
|
+
}), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
74
|
+
href: "/page5"
|
|
75
|
+
}, "5")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
76
|
+
href: "/page6"
|
|
77
|
+
}, "6")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
78
|
+
href: "/page7"
|
|
79
|
+
}, "7")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], null, "\u0395\u03C0\u03CC\u03BC\u03B5\u03BD\u03BF", /*#__PURE__*/_react["default"].createElement(_ArrowIcon["default"], {
|
|
80
|
+
direction: "right"
|
|
81
|
+
})))));
|
|
82
|
+
|
|
83
|
+
var _ref4 = /*#__PURE__*/_react["default"].createElement(_Divider["default"], {
|
|
84
|
+
visible: true,
|
|
85
|
+
size: "l"
|
|
86
|
+
});
|
|
87
|
+
|
|
88
|
+
var _ref5 = /*#__PURE__*/_react["default"].createElement(_Pagination["default"], null, /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationLabel, {
|
|
89
|
+
start: 10,
|
|
90
|
+
end: 20,
|
|
91
|
+
total: 10000
|
|
92
|
+
}), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationList, null, /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], null, /*#__PURE__*/_react["default"].createElement(_ArrowIcon["default"], {
|
|
93
|
+
direction: "left"
|
|
94
|
+
}), "\u03A0\u03C1\u03BF\u03B7\u03B3\u03BF\u03CD\u03BC\u03B5\u03BD\u03BF")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
95
|
+
href: "/page1"
|
|
96
|
+
}, "1")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], null, "2")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
97
|
+
href: "/page3"
|
|
98
|
+
}, "3")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, {
|
|
99
|
+
variant: "dots"
|
|
100
|
+
}), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
101
|
+
href: "/page5"
|
|
102
|
+
}, "5")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
103
|
+
href: "/page6"
|
|
104
|
+
}, "6")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, {
|
|
105
|
+
currentPage: true
|
|
106
|
+
}, "7"), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, {
|
|
107
|
+
inactive: true
|
|
108
|
+
}, /*#__PURE__*/_react["default"].createElement(_Link["default"], null, "\u0395\u03C0\u03CC\u03BC\u03B5\u03BD\u03BF", /*#__PURE__*/_react["default"].createElement(_ArrowIcon["default"], {
|
|
109
|
+
direction: "right"
|
|
110
|
+
})))));
|
|
111
|
+
|
|
112
|
+
var _ref6 = /*#__PURE__*/_react["default"].createElement(_Divider["default"], {
|
|
113
|
+
visible: true,
|
|
114
|
+
size: "l"
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
var _ref7 = /*#__PURE__*/_react["default"].createElement(_Pagination["default"], null, /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationLabel, {
|
|
118
|
+
start: 1,
|
|
119
|
+
end: 10,
|
|
120
|
+
total: 15
|
|
121
|
+
}), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationList, null, /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], null, /*#__PURE__*/_react["default"].createElement(_ArrowIcon["default"], {
|
|
122
|
+
direction: "left"
|
|
123
|
+
}), "\u03A0\u03C1\u03BF\u03B7\u03B3\u03BF\u03CD\u03BC\u03B5\u03BD\u03BF")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
124
|
+
href: "/page1"
|
|
125
|
+
}, "1")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, {
|
|
126
|
+
variant: "dots"
|
|
127
|
+
}), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
128
|
+
href: "/page7"
|
|
129
|
+
}, "2")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, {
|
|
130
|
+
currentPage: true
|
|
131
|
+
}, "8"), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
132
|
+
href: "/page9"
|
|
133
|
+
}, "9")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, {
|
|
134
|
+
variant: "dots"
|
|
135
|
+
}), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
136
|
+
href: "/page20"
|
|
137
|
+
}, "20")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], null, "\u0395\u03C0\u03CC\u03BC\u03B5\u03BD\u03BF", /*#__PURE__*/_react["default"].createElement(_ArrowIcon["default"], {
|
|
138
|
+
direction: "right"
|
|
139
|
+
})))));
|
|
140
|
+
|
|
141
|
+
var Default = function Default() {
|
|
142
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
143
|
+
className: "example"
|
|
144
|
+
}, /*#__PURE__*/_react["default"].createElement(_app.I18NProvider, {
|
|
145
|
+
t: function t(str) {
|
|
146
|
+
return str;
|
|
147
|
+
}
|
|
148
|
+
}, _ref, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7));
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
exports.Default = Default;
|
|
152
|
+
var _default = Default;
|
|
153
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
exports["default"] = exports.PaginationSmall = void 0;
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _Pagination = _interopRequireWildcard(require("@digigov/ui/admin/Pagination"));
|
|
15
|
+
|
|
16
|
+
var _ArrowIcon = _interopRequireDefault(require("@digigov/react-core/ArrowIcon"));
|
|
17
|
+
|
|
18
|
+
var _Link = _interopRequireDefault(require("@digigov/ui/core/Link"));
|
|
19
|
+
|
|
20
|
+
var _Divider = _interopRequireDefault(require("@digigov/ui/core/Divider"));
|
|
21
|
+
|
|
22
|
+
var _app = require("@digigov/ui/app");
|
|
23
|
+
|
|
24
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
25
|
+
|
|
26
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
27
|
+
|
|
28
|
+
var _ref = /*#__PURE__*/_react["default"].createElement(_Pagination["default"], null, /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationLabel, {
|
|
29
|
+
start: 1,
|
|
30
|
+
end: 10,
|
|
31
|
+
total: 15
|
|
32
|
+
}), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationList, null, /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, {
|
|
33
|
+
inactive: true
|
|
34
|
+
}, /*#__PURE__*/_react["default"].createElement(_Link["default"], null, /*#__PURE__*/_react["default"].createElement(_ArrowIcon["default"], {
|
|
35
|
+
direction: "left"
|
|
36
|
+
}))), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, {
|
|
37
|
+
currentPage: true
|
|
38
|
+
}, "1"), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
39
|
+
href: "/page7"
|
|
40
|
+
}, "2")), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationListItem, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], null, /*#__PURE__*/_react["default"].createElement(_ArrowIcon["default"], {
|
|
41
|
+
direction: "right"
|
|
42
|
+
})))));
|
|
43
|
+
|
|
44
|
+
var _ref2 = /*#__PURE__*/_react["default"].createElement(_Divider["default"], {
|
|
45
|
+
visible: true,
|
|
46
|
+
size: "l"
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
var PaginationSmall = function PaginationSmall() {
|
|
50
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
51
|
+
className: "example"
|
|
52
|
+
}, /*#__PURE__*/_react["default"].createElement(_app.I18NProvider, {
|
|
53
|
+
t: function t(str) {
|
|
54
|
+
return str;
|
|
55
|
+
}
|
|
56
|
+
}, _ref, _ref2));
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
exports.PaginationSmall = PaginationSmall;
|
|
60
|
+
var _default = PaginationSmall;
|
|
61
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PaginationLabelContainer, { PaginationLabelContainerProps } from '@digigov/react-extensions/admin/PaginationLabelContainer';
|
|
3
|
+
export interface PaginationLabelProps extends PaginationLabelContainerProps {
|
|
4
|
+
/**
|
|
5
|
+
* Use start to set the value of the start point of the results shown.
|
|
6
|
+
*/
|
|
7
|
+
start: number;
|
|
8
|
+
/**
|
|
9
|
+
* Use end to set the value of the end point of the results shown.
|
|
10
|
+
*/
|
|
11
|
+
end: number;
|
|
12
|
+
/**
|
|
13
|
+
* Use total to set the value of the total results.
|
|
14
|
+
*/
|
|
15
|
+
total: number;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* PaginationLabel component is used for placing the pagination results label.
|
|
19
|
+
*/
|
|
20
|
+
export declare const PaginationLabel: React.ForwardRefExoticComponent<Pick<PaginationLabelProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "end" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "start" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden" | "total"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
21
|
+
export * from '@digigov/react-extensions/admin/Pagination';
|
|
22
|
+
export * from '@digigov/react-extensions/admin/PaginationList';
|
|
23
|
+
export * from '@digigov/react-extensions/admin/PaginationListItem';
|
|
24
|
+
export { PaginationLabelContainer };
|
|
25
|
+
import Pagination from '@digigov/react-extensions/admin/Pagination';
|
|
26
|
+
export default Pagination;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
var _exportNames = {
|
|
11
|
+
PaginationLabel: true,
|
|
12
|
+
PaginationLabelContainer: true
|
|
13
|
+
};
|
|
14
|
+
exports.PaginationLabel = void 0;
|
|
15
|
+
Object.defineProperty(exports, "PaginationLabelContainer", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function get() {
|
|
18
|
+
return _PaginationLabelContainer["default"];
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
exports["default"] = void 0;
|
|
22
|
+
|
|
23
|
+
var _react = _interopRequireDefault(require("react"));
|
|
24
|
+
|
|
25
|
+
var _PaginationLabelContainer = _interopRequireDefault(require("@digigov/react-extensions/admin/PaginationLabelContainer"));
|
|
26
|
+
|
|
27
|
+
var _I18nText = require("@digigov/ui/app/I18nText");
|
|
28
|
+
|
|
29
|
+
var _Pagination = _interopRequireWildcard(require("@digigov/react-extensions/admin/Pagination"));
|
|
30
|
+
|
|
31
|
+
Object.keys(_Pagination).forEach(function (key) {
|
|
32
|
+
if (key === "default" || key === "__esModule") return;
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
34
|
+
if (key in exports && exports[key] === _Pagination[key]) return;
|
|
35
|
+
Object.defineProperty(exports, key, {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function get() {
|
|
38
|
+
return _Pagination[key];
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
var _PaginationList = require("@digigov/react-extensions/admin/PaginationList");
|
|
44
|
+
|
|
45
|
+
Object.keys(_PaginationList).forEach(function (key) {
|
|
46
|
+
if (key === "default" || key === "__esModule") return;
|
|
47
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
48
|
+
if (key in exports && exports[key] === _PaginationList[key]) return;
|
|
49
|
+
Object.defineProperty(exports, key, {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function get() {
|
|
52
|
+
return _PaginationList[key];
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
var _PaginationListItem = require("@digigov/react-extensions/admin/PaginationListItem");
|
|
58
|
+
|
|
59
|
+
Object.keys(_PaginationListItem).forEach(function (key) {
|
|
60
|
+
if (key === "default" || key === "__esModule") return;
|
|
61
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
62
|
+
if (key in exports && exports[key] === _PaginationListItem[key]) return;
|
|
63
|
+
Object.defineProperty(exports, key, {
|
|
64
|
+
enumerable: true,
|
|
65
|
+
get: function get() {
|
|
66
|
+
return _PaginationListItem[key];
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
72
|
+
|
|
73
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* PaginationLabel component is used for placing the pagination results label.
|
|
77
|
+
*/
|
|
78
|
+
var PaginationLabel = /*#__PURE__*/_react["default"].forwardRef(function PaginationLabel(_ref, ref) {
|
|
79
|
+
var start = _ref.start,
|
|
80
|
+
end = _ref.end,
|
|
81
|
+
total = _ref.total;
|
|
82
|
+
return /*#__PURE__*/_react["default"].createElement(_PaginationLabelContainer["default"], {
|
|
83
|
+
ref: ref
|
|
84
|
+
}, /*#__PURE__*/_react["default"].createElement(_I18nText.I18nText, {
|
|
85
|
+
i18nKey: "pagination.label"
|
|
86
|
+
}, "Showing ", /*#__PURE__*/_react["default"].createElement("b", null, start), " to ", /*#__PURE__*/_react["default"].createElement("b", null, end), " of ", /*#__PURE__*/_react["default"].createElement("b", null, total), " results."));
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
exports.PaginationLabel = PaginationLabel;
|
|
90
|
+
var _default = _Pagination["default"];
|
|
91
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: pagination
|
|
3
|
+
title: Pagination
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
import Pagination from '@digigov/ui/app/Pagination';
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## How to use
|
|
11
|
+
|
|
12
|
+
<Story packageName="@digigov/ui" component="admin/Pagination" story="Default.tsx" />
|
|
13
|
+
|
|
14
|
+
## API
|
|
15
|
+
|
|
16
|
+
<PropTypes packageName="@digigov/ui" component="Pagination" />
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from '@digigov/react-extensions/admin/ResultsHeading';
|
|
2
|
+
export * from '@digigov/react-extensions/admin/ResultsActionBar';
|
|
3
|
+
export * from '@digigov/react-extensions/admin/ResultsHeadingActions';
|
|
4
|
+
import ResultsHeading from '@digigov/react-extensions/admin/ResultsHeading';
|
|
5
|
+
export default ResultsHeading;
|