@digigov/ui 0.21.1 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -1
- package/admin/AutoComplete/AccesibleAutoComplete/index.d.ts +5 -0
- package/admin/AutoComplete/AccesibleAutoComplete/index.js +106 -0
- package/admin/AutoComplete/AutoComplete.stories.d.ts +13 -0
- package/admin/AutoComplete/AutoComplete.stories.js +115 -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 +3 -0
- package/admin/AutoComplete/__stories__/Default.js +34 -0
- package/admin/AutoComplete/__stories__/WithAutoSelect.d.ts +3 -0
- package/admin/AutoComplete/__stories__/WithAutoSelect.js +35 -0
- package/admin/AutoComplete/__stories__/WithDefaultValue.d.ts +3 -0
- package/admin/AutoComplete/__stories__/WithDefaultValue.js +33 -0
- package/admin/AutoComplete/__stories__/WithInLine.d.ts +3 -0
- package/admin/AutoComplete/__stories__/WithInLine.js +33 -0
- package/admin/AutoComplete/__stories__/WithMinLength.d.ts +3 -0
- package/admin/AutoComplete/__stories__/WithMinLength.js +35 -0
- package/admin/AutoComplete/__stories__/WithPlaceHolder.d.ts +3 -0
- package/admin/AutoComplete/__stories__/WithPlaceHolder.js +33 -0
- package/admin/AutoComplete/__stories__/WithShowAllValues.d.ts +3 -0
- package/admin/AutoComplete/__stories__/WithShowAllValues.js +33 -0
- package/admin/AutoComplete/index.d.ts +101 -0
- package/admin/AutoComplete/index.js +744 -0
- package/admin/AutoComplete/index.mdx +46 -0
- package/admin/AutoComplete/utils.d.ts +1 -0
- package/admin/AutoComplete/utils.js +13 -0
- package/admin/CircularProgress/CircularProgress.stories.d.ts +6 -0
- package/admin/CircularProgress/CircularProgress.stories.js +30 -0
- package/admin/CircularProgress/__stories__/Default.d.ts +3 -0
- package/admin/CircularProgress/__stories__/Default.js +26 -0
- package/admin/Drawer/Drawer.stories.d.ts +7 -0
- package/admin/Drawer/Drawer.stories.js +30 -0
- package/admin/Drawer/__stories__/Default.d.ts +3 -0
- package/admin/Drawer/__stories__/Default.js +106 -0
- package/admin/Drawer/index.mdx +12 -0
- package/admin/Dropdown/index.d.ts +7 -1
- package/admin/Dropdown/index.js +29 -1
- package/admin/FilterSection/index.d.ts +1 -0
- package/admin/FilterSection/index.js +14 -0
- package/admin/Pagination/Pagination.stories.d.ts +7 -0
- package/admin/Pagination/Pagination.stories.js +30 -0
- package/admin/Pagination/__stories__/Default.d.ts +3 -0
- package/admin/Pagination/__stories__/Default.js +179 -0
- package/admin/Pagination/index.mdx +12 -0
- package/admin/index.d.ts +1 -0
- package/admin/index.js +13 -0
- package/app/Confirmation/Confirmation.mdx +9 -0
- package/app/Confirmation/Confirmation.stories.d.ts +6 -0
- package/app/Confirmation/Confirmation.stories.js +30 -0
- package/app/Confirmation/__stories__/Default.d.ts +3 -0
- package/app/Confirmation/__stories__/Default.js +28 -0
- package/app/Confirmation/index.d.ts +5 -3
- package/app/Confirmation/index.js +19 -34
- package/app/CopyToClipboard/CopyToClipboard.stories.d.ts +9 -0
- package/app/CopyToClipboard/CopyToClipboard.stories.js +58 -0
- package/app/CopyToClipboard/__stories__/Banner.d.ts +3 -0
- package/app/CopyToClipboard/__stories__/Banner.js +30 -0
- package/app/CopyToClipboard/__stories__/Default.d.ts +3 -0
- package/app/CopyToClipboard/__stories__/Default.js +30 -0
- package/app/CopyToClipboard/__stories__/MultipleCopies.d.ts +3 -0
- package/app/CopyToClipboard/__stories__/MultipleCopies.js +142 -0
- package/app/CopyToClipboard/index.d.ts +9 -0
- package/app/CopyToClipboard/index.js +69 -0
- package/app/CopyToClipboard/index.mdx +22 -0
- package/app/Footer/Footer.mdx +27 -0
- package/app/Footer/Footer.stories.d.ts +10 -0
- package/app/Footer/Footer.stories.js +88 -0
- package/app/Footer/__stories__/Default.d.ts +3 -0
- package/app/Footer/__stories__/Default.js +22 -0
- package/app/Footer/__stories__/FooterAllInclusive.d.ts +3 -0
- package/app/Footer/__stories__/FooterAllInclusive.js +48 -0
- package/app/Footer/__stories__/FooterWithLink.d.ts +3 -0
- package/app/Footer/__stories__/FooterWithLink.js +40 -0
- package/app/Footer/__stories__/FooterWithLogo.d.ts +3 -0
- package/app/Footer/__stories__/FooterWithLogo.js +40 -0
- package/app/Footer/__stories__/FooterWithSecondaryNavigation.d.ts +3 -0
- package/app/Footer/__stories__/FooterWithSecondaryNavigation.js +50 -0
- package/app/Header/index.mdx +18 -0
- package/app/I18nText.js +7 -7
- package/app/NotFound/NotFound.stories.d.ts +7 -0
- package/app/NotFound/NotFound.stories.js +30 -0
- package/app/NotFound/__stories__/Default.d.ts +3 -0
- package/app/NotFound/__stories__/Default.js +22 -0
- package/app/NotFound/index.mdx +12 -0
- package/app/PhaseBannerHeader/PhaseBannerHeader.stories.d.ts +6 -0
- package/app/PhaseBannerHeader/PhaseBannerHeader.stories.js +30 -0
- package/app/PhaseBannerHeader/__stories__/Default.d.ts +3 -0
- package/app/PhaseBannerHeader/__stories__/Default.js +25 -0
- package/app/{PhaseBannerHeader.d.ts → PhaseBannerHeader/index.d.ts} +0 -0
- package/app/{PhaseBannerHeader.js → PhaseBannerHeader/index.js} +0 -0
- package/app/PhaseBannerHeader/index.mdx +12 -0
- package/app/QrCodeScanner/QrCodeScanner.stories.d.ts +7 -0
- package/app/QrCodeScanner/QrCodeScanner.stories.js +30 -0
- package/app/QrCodeScanner/__stories__/Default.d.ts +3 -0
- package/app/QrCodeScanner/__stories__/Default.js +74 -0
- package/app/QrCodeScanner/index.d.ts +1 -3
- package/app/QrCodeScanner/index.js +10 -3
- package/core/Accordion/Accordion.stories.d.ts +7 -0
- package/core/Accordion/Accordion.stories.js +44 -0
- package/core/Accordion/__stories__/Default.d.ts +3 -0
- package/core/Accordion/__stories__/Default.js +34 -0
- package/core/Accordion/__stories__/WithHints.d.ts +3 -0
- package/core/Accordion/__stories__/WithHints.js +36 -0
- package/core/Accordion/index.mdx +13 -86
- package/core/BackLink/BackLink.stories.d.ts +7 -0
- package/core/BackLink/BackLink.stories.js +30 -0
- package/core/BackLink/__stories__/Default.d.ts +3 -0
- package/core/BackLink/__stories__/Default.js +24 -0
- package/core/BackLink/index.d.ts +3 -0
- package/core/BackLink/index.js +30 -0
- package/core/BackLink/index.mdx +16 -0
- package/core/Blockquote/Blockquote.stories.d.ts +7 -0
- package/core/Blockquote/Blockquote.stories.js +30 -0
- package/core/Blockquote/__stories__/Default.d.ts +3 -0
- package/core/Blockquote/__stories__/Default.js +22 -0
- package/core/Blockquote/index.mdx +17 -2
- package/core/Breadcrumbs/Breadcrumbs.stories.d.ts +7 -0
- package/core/Breadcrumbs/Breadcrumbs.stories.js +30 -0
- package/core/Breadcrumbs/__stories__/Default.d.ts +3 -0
- package/core/Breadcrumbs/__stories__/Default.js +36 -0
- package/core/Breadcrumbs/breadcrumbs.mdx +22 -0
- package/core/Breadcrumbs/index.d.ts +2 -0
- package/core/Breadcrumbs/index.js +16 -2
- package/core/Button/Button.mdx +37 -2
- package/core/Button/Button.stories.d.ts +2 -0
- package/core/Button/Button.stories.js +28 -0
- package/core/Button/__stories__/CallToActionButton.d.ts +3 -0
- package/core/Button/__stories__/CallToActionButton.js +22 -0
- package/core/Button/__stories__/Disabled.d.ts +6 -0
- package/core/Button/__stories__/Disabled.js +27 -0
- package/core/Button/__stories__/Warning.d.ts +1 -0
- package/core/Button/__stories__/Warning.js +4 -2
- package/core/Card/Card.stories.d.ts +15 -0
- package/core/Card/Card.stories.js +142 -0
- package/core/Card/__stories__/Default.d.ts +3 -0
- package/core/Card/__stories__/Default.js +30 -0
- package/core/Card/__stories__/WithClickableContent.d.ts +3 -0
- package/core/Card/__stories__/WithClickableContent.js +34 -0
- package/core/Card/__stories__/WithClickableLink.d.ts +3 -0
- package/core/Card/__stories__/WithClickableLink.js +32 -0
- package/core/Card/__stories__/WithDarkBorder.d.ts +3 -0
- package/core/Card/__stories__/WithDarkBorder.js +33 -0
- package/core/Card/__stories__/WithDarkTopBorder.d.ts +3 -0
- package/core/Card/__stories__/WithDarkTopBorder.js +33 -0
- package/core/Card/__stories__/WithDivider.d.ts +3 -0
- package/core/Card/__stories__/WithDivider.js +32 -0
- package/core/Card/__stories__/WithGrayBorder.d.ts +3 -0
- package/core/Card/__stories__/WithGrayBorder.js +33 -0
- package/core/Card/__stories__/WithGrayTopBorder.d.ts +3 -0
- package/core/Card/__stories__/WithGrayTopBorder.js +33 -0
- package/core/Card/__stories__/WithGroupButton.d.ts +3 -0
- package/core/Card/__stories__/WithGroupButton.js +32 -0
- package/core/Card/card.mdx +78 -0
- package/core/Checkboxes/Checkbox.stories.d.ts +13 -0
- package/core/Checkboxes/Checkbox.stories.js +114 -0
- package/core/Checkboxes/__stories__/ConditionalReveal.d.ts +3 -0
- package/core/Checkboxes/__stories__/ConditionalReveal.js +44 -0
- package/core/Checkboxes/__stories__/Default.d.ts +3 -0
- package/core/Checkboxes/__stories__/Default.js +41 -0
- package/core/Checkboxes/__stories__/MultipleQuestions.d.ts +3 -0
- package/core/Checkboxes/__stories__/MultipleQuestions.js +43 -0
- package/core/Checkboxes/__stories__/NoneAnswer.d.ts +3 -0
- package/core/Checkboxes/__stories__/NoneAnswer.js +43 -0
- package/core/Checkboxes/__stories__/NoneAnswerWithError.d.ts +3 -0
- package/core/Checkboxes/__stories__/NoneAnswerWithError.js +51 -0
- package/core/Checkboxes/__stories__/WithErrorMessage.d.ts +3 -0
- package/core/Checkboxes/__stories__/WithErrorMessage.js +44 -0
- package/core/Checkboxes/__stories__/WithHint.d.ts +3 -0
- package/core/Checkboxes/__stories__/WithHint.js +41 -0
- package/core/Checkboxes/checkboxes.mdx +54 -0
- package/core/Checkboxes/index.d.ts +5 -0
- package/core/Checkboxes/index.js +58 -0
- package/core/Confirmation/Confirmation.stories.d.ts +7 -0
- package/core/Confirmation/Confirmation.stories.js +30 -0
- package/core/Confirmation/__stories__/Default.d.ts +3 -0
- package/core/Confirmation/__stories__/Default.js +28 -0
- package/core/Confirmation/confirmation.mdx +19 -0
- package/core/Confirmation/index.d.ts +5 -0
- package/core/Confirmation/index.js +58 -0
- package/core/DateInput/DateInput.stories.d.ts +10 -0
- package/core/DateInput/DateInput.stories.js +72 -0
- package/core/DateInput/__stories__/Default.d.ts +3 -0
- package/core/DateInput/__stories__/Default.js +41 -0
- package/core/DateInput/__stories__/MultipleQuestions.d.ts +3 -0
- package/core/DateInput/__stories__/MultipleQuestions.js +41 -0
- package/core/DateInput/__stories__/WithErrorMessage.d.ts +3 -0
- package/core/DateInput/__stories__/WithErrorMessage.js +48 -0
- package/core/DateInput/__stories__/WithErrorMessageForSingleField.d.ts +3 -0
- package/core/DateInput/__stories__/WithErrorMessageForSingleField.js +46 -0
- package/core/DateInput/index.d.ts +4 -0
- package/core/DateInput/index.js +44 -0
- package/core/DateInput/index.mdx +34 -0
- package/core/Details/Details.stories.d.ts +7 -0
- package/core/Details/Details.stories.js +30 -0
- package/core/Details/__stories__/Default.d.ts +3 -0
- package/core/Details/__stories__/Default.js +28 -0
- package/core/Details/index.mdx +9 -25
- package/core/Divider/Divider.stories.d.ts +7 -0
- package/core/Divider/Divider.stories.js +32 -0
- package/core/Divider/__stories__/Default.d.ts +3 -0
- package/core/Divider/__stories__/Default.js +39 -0
- package/core/ErrorMessage/ErrorMessage.stories.d.ts +7 -0
- package/core/ErrorMessage/ErrorMessage.stories.js +30 -0
- package/core/ErrorMessage/__stories__/Default.d.ts +3 -0
- package/core/ErrorMessage/__stories__/Default.js +44 -0
- package/core/ErrorMessage/index.d.ts +3 -0
- package/core/ErrorMessage/index.js +30 -0
- package/core/ErrorMessage/index.mdx +21 -0
- package/core/ErrorSummary/ErrorSummary.stories.d.ts +10 -0
- package/core/ErrorSummary/ErrorSummary.stories.js +72 -0
- package/core/ErrorSummary/__stories__/Default.d.ts +3 -0
- package/core/ErrorSummary/__stories__/Default.js +28 -0
- package/core/ErrorSummary/__stories__/LinkedToCheckbox.d.ts +3 -0
- package/core/ErrorSummary/__stories__/LinkedToCheckbox.js +58 -0
- package/core/ErrorSummary/__stories__/LinkedToField.d.ts +3 -0
- package/core/ErrorSummary/__stories__/LinkedToField.js +59 -0
- package/core/ErrorSummary/__stories__/LinkedToInput.d.ts +3 -0
- package/core/ErrorSummary/__stories__/LinkedToInput.js +54 -0
- package/core/ErrorSummary/index.mdx +21 -38
- package/core/Field/index.d.ts +5 -0
- package/core/Field/index.js +58 -0
- package/core/FileUpload/FileUpload.stories.d.ts +8 -0
- package/core/FileUpload/FileUpload.stories.js +44 -0
- package/core/FileUpload/__stories__/Default.d.ts +3 -0
- package/core/FileUpload/__stories__/Default.js +34 -0
- package/core/FileUpload/__stories__/WithErrorMessage.d.ts +3 -0
- package/core/FileUpload/__stories__/WithErrorMessage.js +40 -0
- package/core/FileUpload/index.mdx +22 -0
- package/core/Link/Link.stories.d.ts +11 -0
- package/core/Link/Link.stories.js +86 -0
- package/core/Link/__stories__/DarkBackground.d.ts +3 -0
- package/core/Link/__stories__/DarkBackground.js +28 -0
- package/core/Link/__stories__/DarkBackgroundNoUnderline.d.ts +3 -0
- package/core/Link/__stories__/DarkBackgroundNoUnderline.js +29 -0
- package/core/Link/__stories__/Default.d.ts +3 -0
- package/core/Link/__stories__/Default.js +24 -0
- package/core/Link/__stories__/NoUnderline.d.ts +3 -0
- package/core/Link/__stories__/NoUnderline.js +25 -0
- package/core/Link/__stories__/OpensInNewTab.d.ts +3 -0
- package/core/Link/__stories__/OpensInNewTab.js +26 -0
- package/core/Link/link.mdx +30 -0
- package/core/List/List.stories.d.ts +9 -0
- package/core/List/List.stories.js +72 -0
- package/core/List/__stories__/BulletList.d.ts +3 -0
- package/core/List/__stories__/BulletList.js +30 -0
- package/core/List/__stories__/Default.d.ts +3 -0
- package/core/List/__stories__/Default.js +30 -0
- package/core/List/__stories__/NumberedList.d.ts +3 -0
- package/core/List/__stories__/NumberedList.js +30 -0
- package/core/List/__stories__/WithExtraSpace.d.ts +3 -0
- package/core/List/__stories__/WithExtraSpace.js +30 -0
- package/core/List/index.mdx +22 -3
- package/core/Masthead/Masthead.stories.d.ts +7 -0
- package/core/Masthead/Masthead.stories.js +30 -0
- package/core/Masthead/__stories__/Default.d.ts +3 -0
- package/core/Masthead/__stories__/Default.js +32 -0
- package/core/Masthead/index.d.ts +4 -0
- package/core/Masthead/index.js +44 -0
- package/core/Masthead/masthead.mdx +14 -0
- package/core/NavList/NavList.d.ts +1 -14
- package/core/NavList/NavList.js +11 -70
- package/core/NavList/NavListBase.d.ts +4 -0
- package/core/NavList/NavListBase.js +74 -0
- package/core/NavList/NavListSubMenu.d.ts +1 -1
- package/core/NavList/NavListSubMenu.js +2 -2
- package/core/NavList/types.d.ts +13 -0
- package/core/NavList/types.js +5 -0
- package/core/NotificationBanner/NotificationBanner.stories.d.ts +8 -0
- package/core/NotificationBanner/NotificationBanner.stories.js +44 -0
- package/core/NotificationBanner/__stories__/Default.d.ts +3 -0
- package/core/NotificationBanner/__stories__/Default.js +26 -0
- package/core/NotificationBanner/__stories__/Success.d.ts +3 -0
- package/core/NotificationBanner/__stories__/Success.js +27 -0
- package/core/NotificationBanner/index.d.ts +1 -1
- package/core/NotificationBanner/index.js +6 -3
- package/core/NotificationBanner/index.mdx +13 -60
- package/core/NotificationBanner/index.spec.js +1 -1
- package/core/PhaseBanner/PhaseBanner.stories.d.ts +8 -0
- package/core/PhaseBanner/PhaseBanner.stories.js +44 -0
- package/core/PhaseBanner/__stories__/Default.d.ts +3 -0
- package/core/PhaseBanner/__stories__/Default.js +32 -0
- package/core/PhaseBanner/__stories__/Underlined.d.ts +3 -0
- package/core/PhaseBanner/__stories__/Underlined.js +34 -0
- package/core/PhaseBanner/index.d.ts +6 -0
- package/core/PhaseBanner/index.js +72 -0
- package/core/PhaseBanner/index.mdx +24 -0
- package/core/Radios/Radios.stories.d.ts +13 -0
- package/core/Radios/Radios.stories.js +114 -0
- package/core/Radios/__stories__/ConditionalReveal.d.ts +3 -0
- package/core/Radios/__stories__/ConditionalReveal.js +44 -0
- package/core/Radios/__stories__/Default.d.ts +3 -0
- package/core/Radios/__stories__/Default.js +42 -0
- package/core/Radios/__stories__/Inline.d.ts +3 -0
- package/core/Radios/__stories__/Inline.js +40 -0
- package/core/Radios/__stories__/MultipleQuestions.d.ts +3 -0
- package/core/Radios/__stories__/MultipleQuestions.js +46 -0
- package/core/Radios/__stories__/NoneAnswer.d.ts +3 -0
- package/core/Radios/__stories__/NoneAnswer.js +41 -0
- package/core/Radios/__stories__/WithErrorMessage.d.ts +3 -0
- package/core/Radios/__stories__/WithErrorMessage.js +44 -0
- package/core/Radios/__stories__/WithHints.d.ts +3 -0
- package/core/Radios/__stories__/WithHints.js +40 -0
- package/core/Radios/index.d.ts +5 -0
- package/core/Radios/index.js +58 -0
- package/core/Radios/index.mdx +56 -0
- package/core/Select/Select.stories.d.ts +9 -0
- package/core/Select/Select.stories.js +58 -0
- package/core/Select/__stories__/Default.d.ts +3 -0
- package/core/Select/__stories__/Default.js +43 -0
- package/core/Select/__stories__/DisabledInput.d.ts +3 -0
- package/core/Select/__stories__/DisabledInput.js +43 -0
- package/core/Select/__stories__/WithHint.d.ts +3 -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 +36 -0
- package/core/SummaryList/SummaryList.stories.d.ts +8 -0
- package/core/SummaryList/SummaryList.stories.js +60 -0
- package/core/SummaryList/__stories__/Default.d.ts +3 -0
- package/core/SummaryList/__stories__/Default.js +28 -0
- package/core/SummaryList/__stories__/WithActions.d.ts +3 -0
- package/core/SummaryList/__stories__/WithActions.js +42 -0
- package/core/SummaryList/__stories__/WithoutBorders.d.ts +3 -0
- package/core/SummaryList/__stories__/WithoutBorders.js +30 -0
- package/core/SummaryList/index.mdx +17 -65
- package/core/Table/Table.stories.d.ts +18 -0
- package/core/Table/Table.stories.js +200 -0
- package/core/Table/TableFloatingScroll.d.ts +3 -0
- package/core/Table/TableFloatingScroll.js +105 -0
- package/core/Table/__stories__/DarkVariant.d.ts +3 -0
- package/core/Table/__stories__/DarkVariant.js +24 -0
- package/core/Table/__stories__/DarkVariantWithVerticalHeaders.d.ts +3 -0
- package/core/Table/__stories__/DarkVariantWithVerticalHeaders.js +24 -0
- package/core/Table/__stories__/Default.d.ts +3 -0
- package/core/Table/__stories__/Default.js +22 -0
- package/core/Table/__stories__/DefinedWidth.d.ts +3 -0
- package/core/Table/__stories__/DefinedWidth.js +28 -0
- package/core/Table/__stories__/Densed.d.ts +3 -0
- package/core/Table/__stories__/Densed.js +26 -0
- package/core/Table/__stories__/MultipleProps.d.ts +3 -0
- package/core/Table/__stories__/MultipleProps.js +58 -0
- package/core/Table/__stories__/NoData.d.ts +3 -0
- package/core/Table/__stories__/NoData.js +22 -0
- package/core/Table/__stories__/NumericDataType.d.ts +3 -0
- package/core/Table/__stories__/NumericDataType.js +46 -0
- package/core/Table/__stories__/TableCaptions.d.ts +3 -0
- package/core/Table/__stories__/TableCaptions.js +30 -0
- package/core/Table/__stories__/VerticalBorders.d.ts +3 -0
- package/core/Table/__stories__/VerticalBorders.js +24 -0
- package/core/Table/__stories__/VerticalHeaders.d.ts +3 -0
- package/core/Table/__stories__/VerticalHeaders.js +22 -0
- package/core/Table/__stories__/WithHeader.d.ts +3 -0
- package/core/Table/__stories__/WithHeader.js +67 -0
- package/core/Table/__stories__/WithLoader.d.ts +3 -0
- package/core/Table/__stories__/WithLoader.js +103 -0
- package/core/Table/__stories__/ZebraProp.d.ts +3 -0
- package/core/Table/__stories__/ZebraProp.js +24 -0
- package/core/Table/index.d.ts +1 -0
- package/core/Table/index.js +13 -0
- package/core/Table/index.mdx +52 -0
- package/core/Tabs/Tabs.stories.d.ts +6 -0
- package/core/Tabs/Tabs.stories.js +30 -0
- package/core/Tabs/__stories__/Default.d.ts +3 -0
- package/core/Tabs/__stories__/Default.js +52 -0
- package/core/Tabs/index.js +21 -1
- package/core/Tabs/index.mdx +10 -2
- package/core/TextArea/TextArea.stories.d.ts +13 -0
- package/core/TextArea/TextArea.stories.js +114 -0
- package/core/TextArea/__stories__/Default.d.ts +3 -0
- package/core/TextArea/__stories__/Default.js +32 -0
- package/core/TextArea/__stories__/DisabledInput.d.ts +3 -0
- package/core/TextArea/__stories__/DisabledInput.js +35 -0
- package/core/TextArea/__stories__/LimitedCharacters.d.ts +3 -0
- package/core/TextArea/__stories__/LimitedCharacters.js +34 -0
- package/core/TextArea/__stories__/MultipleQuestions.d.ts +3 -0
- package/core/TextArea/__stories__/MultipleQuestions.js +30 -0
- package/core/TextArea/__stories__/WithDeclaredRows.d.ts +3 -0
- package/core/TextArea/__stories__/WithDeclaredRows.js +35 -0
- package/core/TextArea/__stories__/WithErrorMessage.d.ts +3 -0
- package/core/TextArea/__stories__/WithErrorMessage.js +39 -0
- package/core/TextArea/__stories__/WithHint.d.ts +3 -0
- package/core/TextArea/__stories__/WithHint.js +34 -0
- package/core/TextArea/index.d.ts +3 -0
- package/core/TextArea/index.js +30 -0
- package/core/TextArea/index.mdx +50 -0
- package/core/TextInput/TextInput.stories.d.ts +14 -0
- package/core/TextInput/TextInput.stories.js +128 -0
- package/core/TextInput/__stories__/AskingForNumbers.d.ts +3 -0
- package/core/TextInput/__stories__/AskingForNumbers.js +36 -0
- package/core/TextInput/__stories__/Default.d.ts +3 -0
- package/core/TextInput/__stories__/Default.js +32 -0
- package/core/TextInput/__stories__/DisabledInput.d.ts +3 -0
- package/core/TextInput/__stories__/DisabledInput.js +35 -0
- package/core/TextInput/__stories__/FixedWidths.d.ts +3 -0
- package/core/TextInput/__stories__/FixedWidths.js +68 -0
- package/core/TextInput/__stories__/FluidWidths.d.ts +3 -0
- package/core/TextInput/__stories__/FluidWidths.js +68 -0
- package/core/TextInput/__stories__/MultipleQuestions.d.ts +3 -0
- package/core/TextInput/__stories__/MultipleQuestions.js +28 -0
- package/core/TextInput/__stories__/WithErrorMessage.d.ts +3 -0
- package/core/TextInput/__stories__/WithErrorMessage.js +39 -0
- package/core/TextInput/__stories__/WithHint.d.ts +3 -0
- package/core/TextInput/__stories__/WithHint.js +34 -0
- package/core/TextInput/index.d.ts +3 -0
- package/core/TextInput/index.js +30 -0
- package/core/TextInput/index.mdx +59 -0
- package/core/VisuallyHidden/VisuallyHidden.stories.d.ts +7 -0
- package/core/VisuallyHidden/VisuallyHidden.stories.js +30 -0
- package/core/VisuallyHidden/__stories__/Default.d.ts +3 -0
- package/core/VisuallyHidden/__stories__/Default.js +38 -0
- package/core/VisuallyHidden/index.d.ts +2 -0
- package/core/VisuallyHidden/index.js +14 -2
- package/core/VisuallyHidden/index.mdx +17 -0
- package/core/WarningText/WarningText.stories.d.ts +6 -0
- package/core/WarningText/WarningText.stories.js +30 -0
- package/core/WarningText/__stories__/Default.d.ts +3 -0
- package/core/WarningText/__stories__/Default.js +22 -0
- package/core/WarningText/index.mdx +10 -35
- package/core/index.d.ts +8 -2
- package/core/index.js +87 -17
- package/es/admin/AutoComplete/AccesibleAutoComplete/index.js +87 -0
- package/es/admin/AutoComplete/AutoComplete.stories.js +13 -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 +20 -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/index.js +676 -0
- package/es/admin/AutoComplete/index.mdx +46 -0
- package/es/admin/AutoComplete/utils.js +6 -0
- package/es/admin/CircularProgress/CircularProgress.stories.js +6 -0
- package/es/admin/CircularProgress/__stories__/Default.js +11 -0
- package/es/admin/Drawer/Drawer.stories.js +6 -0
- package/es/admin/Drawer/__stories__/Default.js +83 -0
- package/es/admin/Drawer/index.mdx +12 -0
- package/es/admin/Dropdown/index.js +28 -1
- package/es/admin/FilterSection/index.js +1 -0
- package/es/admin/Pagination/Pagination.stories.js +6 -0
- package/es/admin/Pagination/__stories__/Default.js +156 -0
- package/es/admin/Pagination/index.mdx +12 -0
- package/es/admin/index.js +2 -1
- package/es/app/Confirmation/Confirmation.mdx +9 -0
- package/es/app/Confirmation/Confirmation.stories.js +6 -0
- package/es/app/Confirmation/__stories__/Default.js +9 -0
- package/es/app/Confirmation/index.js +5 -3
- package/es/app/CopyToClipboard/CopyToClipboard.stories.js +8 -0
- package/es/app/CopyToClipboard/__stories__/Banner.js +16 -0
- package/es/app/CopyToClipboard/__stories__/Default.js +16 -0
- package/es/app/CopyToClipboard/__stories__/MultipleCopies.js +120 -0
- package/es/app/CopyToClipboard/index.js +45 -0
- package/es/app/CopyToClipboard/index.mdx +22 -0
- package/es/app/Footer/Footer.mdx +27 -0
- package/es/app/Footer/Footer.stories.js +11 -0
- package/es/app/Footer/__stories__/Default.js +9 -0
- package/es/app/Footer/__stories__/FooterAllInclusive.js +30 -0
- package/es/app/Footer/__stories__/FooterWithLink.js +23 -0
- package/es/app/Footer/__stories__/FooterWithLogo.js +23 -0
- package/es/app/Footer/__stories__/FooterWithSecondaryNavigation.js +32 -0
- package/es/app/Header/index.mdx +18 -0
- package/es/app/I18nText.js +7 -6
- package/es/app/NotFound/NotFound.stories.js +6 -0
- package/es/app/NotFound/__stories__/Default.js +9 -0
- package/es/app/NotFound/index.mdx +12 -0
- package/es/app/PhaseBannerHeader/PhaseBannerHeader.stories.js +6 -0
- package/es/app/PhaseBannerHeader/__stories__/Default.js +12 -0
- package/es/app/{PhaseBannerHeader.js → PhaseBannerHeader/index.js} +0 -0
- package/es/app/PhaseBannerHeader/index.mdx +12 -0
- package/es/app/QrCodeScanner/QrCodeScanner.stories.js +6 -0
- package/es/app/QrCodeScanner/__stories__/Default.js +52 -0
- package/es/app/QrCodeScanner/index.js +7 -3
- package/es/core/Accordion/Accordion.stories.js +7 -0
- package/es/core/Accordion/__stories__/Default.js +12 -0
- package/es/core/Accordion/__stories__/WithHints.js +13 -0
- package/es/core/Accordion/index.mdx +13 -86
- package/es/core/BackLink/BackLink.stories.js +6 -0
- package/es/core/BackLink/__stories__/Default.js +11 -0
- package/es/core/BackLink/index.js +3 -0
- package/es/core/BackLink/index.mdx +16 -0
- package/es/core/Blockquote/Blockquote.stories.js +6 -0
- package/es/core/Blockquote/__stories__/Default.js +9 -0
- package/es/core/Blockquote/index.mdx +17 -2
- package/es/core/Breadcrumbs/Breadcrumbs.stories.js +6 -0
- package/es/core/Breadcrumbs/__stories__/Default.js +17 -0
- package/es/core/Breadcrumbs/breadcrumbs.mdx +22 -0
- package/es/core/Breadcrumbs/index.js +3 -1
- package/es/core/Button/Button.mdx +37 -2
- package/es/core/Button/Button.stories.js +3 -1
- package/es/core/Button/__stories__/CallToActionButton.js +9 -0
- package/es/core/Button/__stories__/Disabled.js +14 -0
- package/es/core/Button/__stories__/Warning.js +2 -1
- package/es/core/Card/Card.stories.js +14 -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 +78 -0
- package/es/core/Checkboxes/Checkbox.stories.js +12 -0
- package/es/core/Checkboxes/__stories__/ConditionalReveal.js +22 -0
- package/es/core/Checkboxes/__stories__/Default.js +20 -0
- package/es/core/Checkboxes/__stories__/MultipleQuestions.js +22 -0
- package/es/core/Checkboxes/__stories__/NoneAnswer.js +22 -0
- package/es/core/Checkboxes/__stories__/NoneAnswerWithError.js +28 -0
- package/es/core/Checkboxes/__stories__/WithErrorMessage.js +21 -0
- package/es/core/Checkboxes/__stories__/WithHint.js +20 -0
- package/es/core/Checkboxes/checkboxes.mdx +54 -0
- package/es/core/Checkboxes/index.js +5 -0
- package/es/core/Confirmation/Confirmation.stories.js +6 -0
- package/es/core/Confirmation/__stories__/Default.js +9 -0
- package/es/core/Confirmation/confirmation.mdx +19 -0
- package/es/core/Confirmation/index.js +5 -0
- package/es/core/DateInput/DateInput.stories.js +9 -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 +34 -0
- package/es/core/Details/Details.stories.js +6 -0
- package/es/core/Details/__stories__/Default.js +9 -0
- package/es/core/Details/index.mdx +9 -25
- package/es/core/Divider/Divider.stories.js +7 -0
- package/es/core/Divider/__stories__/Default.js +26 -0
- package/es/core/ErrorMessage/ErrorMessage.stories.js +6 -0
- package/es/core/ErrorMessage/__stories__/Default.js +21 -0
- package/es/core/ErrorMessage/index.js +3 -0
- package/es/core/ErrorMessage/index.mdx +21 -0
- package/es/core/ErrorSummary/ErrorSummary.stories.js +9 -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.mdx +21 -38
- package/es/core/Field/index.js +5 -0
- package/es/core/FileUpload/FileUpload.stories.js +7 -0
- package/es/core/FileUpload/__stories__/Default.js +13 -0
- package/es/core/FileUpload/__stories__/WithErrorMessage.js +17 -0
- package/es/core/FileUpload/index.mdx +22 -0
- package/es/core/Link/Link.stories.js +10 -0
- package/es/core/Link/__stories__/DarkBackground.js +13 -0
- package/es/core/Link/__stories__/DarkBackgroundNoUnderline.js +14 -0
- package/es/core/Link/__stories__/Default.js +11 -0
- package/es/core/Link/__stories__/NoUnderline.js +12 -0
- package/es/core/Link/__stories__/OpensInNewTab.js +13 -0
- package/es/core/Link/link.mdx +30 -0
- package/es/core/List/List.stories.js +9 -0
- package/es/core/List/__stories__/BulletList.js +11 -0
- package/es/core/List/__stories__/Default.js +10 -0
- package/es/core/List/__stories__/NumberedList.js +11 -0
- package/es/core/List/__stories__/WithExtraSpace.js +11 -0
- package/es/core/List/index.mdx +22 -3
- package/es/core/Masthead/Masthead.stories.js +6 -0
- package/es/core/Masthead/__stories__/Default.js +11 -0
- package/es/core/Masthead/index.js +4 -0
- package/es/core/Masthead/masthead.mdx +14 -0
- package/es/core/NavList/NavList.js +8 -63
- package/es/core/NavList/NavListBase.js +58 -0
- package/es/core/NavList/NavListSubMenu.js +1 -1
- package/es/core/NavList/types.js +1 -0
- package/es/core/NotificationBanner/NotificationBanner.stories.js +7 -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 +6 -3
- package/es/core/NotificationBanner/index.mdx +13 -60
- package/es/core/NotificationBanner/index.spec.js +1 -1
- package/es/core/PhaseBanner/PhaseBanner.stories.js +7 -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 +24 -0
- package/es/core/Radios/Radios.stories.js +12 -0
- package/es/core/Radios/__stories__/ConditionalReveal.js +22 -0
- package/es/core/Radios/__stories__/Default.js +22 -0
- package/es/core/Radios/__stories__/Inline.js +19 -0
- package/es/core/Radios/__stories__/MultipleQuestions.js +25 -0
- package/es/core/Radios/__stories__/NoneAnswer.js +21 -0
- package/es/core/Radios/__stories__/WithErrorMessage.js +21 -0
- package/es/core/Radios/__stories__/WithHints.js +19 -0
- package/es/core/Radios/index.js +5 -0
- package/es/core/Radios/index.mdx +56 -0
- package/es/core/Select/Select.stories.js +8 -0
- package/es/core/Select/__stories__/Default.js +21 -0
- package/es/core/Select/__stories__/DisabledInput.js +22 -0
- package/es/core/Select/__stories__/WithHint.js +22 -0
- package/es/core/Select/index.js +4 -0
- package/es/core/Select/index.mdx +36 -0
- package/es/core/SummaryList/SummaryList.stories.js +9 -0
- package/es/core/SummaryList/__stories__/Default.js +9 -0
- package/es/core/SummaryList/__stories__/WithActions.js +20 -0
- package/es/core/SummaryList/__stories__/WithoutBorders.js +11 -0
- package/es/core/SummaryList/index.mdx +17 -65
- package/es/core/Table/Table.stories.js +19 -0
- package/es/core/Table/TableFloatingScroll.js +85 -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__/MultipleProps.js +45 -0
- package/es/core/Table/__stories__/NoData.js +9 -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__/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 +2 -1
- package/es/core/Table/index.mdx +52 -0
- package/es/core/Tabs/Tabs.stories.js +6 -0
- package/es/core/Tabs/__stories__/Default.js +29 -0
- package/es/core/Tabs/index.js +22 -2
- package/es/core/Tabs/index.mdx +10 -2
- package/es/core/TextArea/TextArea.stories.js +12 -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 +50 -0
- package/es/core/TextInput/TextInput.stories.js +13 -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 +59 -0
- package/es/core/VisuallyHidden/VisuallyHidden.stories.js +6 -0
- package/es/core/VisuallyHidden/__stories__/Default.js +16 -0
- package/es/core/VisuallyHidden/index.js +3 -1
- package/es/core/VisuallyHidden/index.mdx +17 -0
- package/es/core/WarningText/WarningText.stories.js +6 -0
- package/es/core/WarningText/__stories__/Default.js +9 -0
- package/es/core/WarningText/index.mdx +10 -35
- package/es/core/index.js +9 -3
- package/es/govgr/Footer/index.mdx +4 -4
- package/es/hooks/useTogglableSections.js +7 -1
- package/es/introduction.md +4 -1
- package/es/layouts/Basic/Basic.stories.js +9 -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/Grid/Grid.stories.js +7 -0
- package/es/layouts/Grid/__stories__/Default.js +58 -0
- package/es/layouts/Grid/__stories__/Inline.js +55 -0
- package/es/layouts/Grid/index.js +1 -0
- package/es/layouts/index.js +2 -0
- package/es/locales/el.js +1 -0
- package/es/locales/en.js +1 -0
- package/es/registry.js +71 -31
- package/es/typography/Caption/Caption.stories.js +7 -0
- package/es/typography/Caption/__stories__/Default.js +35 -0
- package/es/typography/Caption/__stories__/NestedToTitle.js +15 -0
- package/es/typography/{Caption.js → Caption/index.js} +0 -0
- package/es/typography/Caption/index.mdx +16 -0
- package/es/typography/Hint/Hint.stories.js +7 -0
- package/es/typography/Hint/__stories__/Default.js +9 -0
- package/es/typography/Hint/__stories__/FontSizes.js +21 -0
- package/es/typography/{Hint.js → Hint/index.js} +0 -0
- package/es/typography/Hint/index.mdx +16 -0
- package/es/typography/NormalText/NormalText.stories.js +9 -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.js → NormalText/index.js} +0 -0
- package/es/typography/NormalText/index.mdx +26 -0
- package/es/typography/Paragraph/Paragraph.stories.js +10 -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.js → Paragraph/index.js} +0 -0
- package/es/typography/Paragraph/index.mdx +30 -0
- package/es/typography/Title/Title.stories.js +6 -0
- package/es/typography/Title/__stories__/Default.js +24 -0
- package/es/typography/{Title.js → Title/index.js} +0 -0
- package/es/typography/Title/index.mdx +12 -0
- package/esm/admin/AutoComplete/AccesibleAutoComplete/index.js +87 -0
- package/esm/admin/AutoComplete/AutoComplete.stories.js +13 -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 +20 -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/index.js +676 -0
- package/esm/admin/AutoComplete/index.mdx +46 -0
- package/esm/admin/AutoComplete/utils.js +6 -0
- package/esm/admin/CircularProgress/CircularProgress.stories.js +6 -0
- package/esm/admin/CircularProgress/__stories__/Default.js +11 -0
- package/esm/admin/Drawer/Drawer.stories.js +6 -0
- package/esm/admin/Drawer/__stories__/Default.js +83 -0
- package/esm/admin/Drawer/index.mdx +12 -0
- package/esm/admin/Dropdown/index.js +28 -1
- package/esm/admin/FilterSection/index.js +1 -0
- package/esm/admin/Pagination/Pagination.stories.js +6 -0
- package/esm/admin/Pagination/__stories__/Default.js +156 -0
- package/esm/admin/Pagination/index.mdx +12 -0
- package/esm/admin/index.js +2 -1
- package/esm/app/Confirmation/Confirmation.mdx +9 -0
- package/esm/app/Confirmation/Confirmation.stories.js +6 -0
- package/esm/app/Confirmation/__stories__/Default.js +9 -0
- package/esm/app/Confirmation/index.js +5 -3
- package/esm/app/CopyToClipboard/CopyToClipboard.stories.js +8 -0
- package/esm/app/CopyToClipboard/__stories__/Banner.js +16 -0
- package/esm/app/CopyToClipboard/__stories__/Default.js +16 -0
- package/esm/app/CopyToClipboard/__stories__/MultipleCopies.js +120 -0
- package/esm/app/CopyToClipboard/index.js +45 -0
- package/esm/app/CopyToClipboard/index.mdx +22 -0
- package/esm/app/Footer/Footer.mdx +27 -0
- package/esm/app/Footer/Footer.stories.js +11 -0
- package/esm/app/Footer/__stories__/Default.js +9 -0
- package/esm/app/Footer/__stories__/FooterAllInclusive.js +30 -0
- package/esm/app/Footer/__stories__/FooterWithLink.js +23 -0
- package/esm/app/Footer/__stories__/FooterWithLogo.js +23 -0
- package/esm/app/Footer/__stories__/FooterWithSecondaryNavigation.js +32 -0
- package/esm/app/Header/index.mdx +18 -0
- package/esm/app/I18nText.js +7 -6
- package/esm/app/NotFound/NotFound.stories.js +6 -0
- package/esm/app/NotFound/__stories__/Default.js +9 -0
- package/esm/app/NotFound/index.mdx +12 -0
- package/esm/app/PhaseBannerHeader/PhaseBannerHeader.stories.js +6 -0
- package/esm/app/PhaseBannerHeader/__stories__/Default.js +12 -0
- package/esm/app/{PhaseBannerHeader.js → PhaseBannerHeader/index.js} +0 -0
- package/esm/app/PhaseBannerHeader/index.mdx +12 -0
- package/esm/app/QrCodeScanner/QrCodeScanner.stories.js +6 -0
- package/esm/app/QrCodeScanner/__stories__/Default.js +52 -0
- package/esm/app/QrCodeScanner/index.js +7 -3
- package/esm/core/Accordion/Accordion.stories.js +7 -0
- package/esm/core/Accordion/__stories__/Default.js +12 -0
- package/esm/core/Accordion/__stories__/WithHints.js +13 -0
- package/esm/core/Accordion/index.mdx +13 -86
- package/esm/core/BackLink/BackLink.stories.js +6 -0
- package/esm/core/BackLink/__stories__/Default.js +11 -0
- package/esm/core/BackLink/index.js +3 -0
- package/esm/core/BackLink/index.mdx +16 -0
- package/esm/core/Blockquote/Blockquote.stories.js +6 -0
- package/esm/core/Blockquote/__stories__/Default.js +9 -0
- package/esm/core/Blockquote/index.mdx +17 -2
- package/esm/core/Breadcrumbs/Breadcrumbs.stories.js +6 -0
- package/esm/core/Breadcrumbs/__stories__/Default.js +17 -0
- package/esm/core/Breadcrumbs/breadcrumbs.mdx +22 -0
- package/esm/core/Breadcrumbs/index.js +3 -1
- package/esm/core/Button/Button.mdx +37 -2
- package/esm/core/Button/Button.stories.js +3 -1
- package/esm/core/Button/__stories__/CallToActionButton.js +9 -0
- package/esm/core/Button/__stories__/Disabled.js +14 -0
- package/esm/core/Button/__stories__/Warning.js +2 -1
- package/esm/core/Card/Card.stories.js +14 -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 +78 -0
- package/esm/core/Checkboxes/Checkbox.stories.js +12 -0
- package/esm/core/Checkboxes/__stories__/ConditionalReveal.js +22 -0
- package/esm/core/Checkboxes/__stories__/Default.js +20 -0
- package/esm/core/Checkboxes/__stories__/MultipleQuestions.js +22 -0
- package/esm/core/Checkboxes/__stories__/NoneAnswer.js +22 -0
- package/esm/core/Checkboxes/__stories__/NoneAnswerWithError.js +28 -0
- package/esm/core/Checkboxes/__stories__/WithErrorMessage.js +21 -0
- package/esm/core/Checkboxes/__stories__/WithHint.js +20 -0
- package/esm/core/Checkboxes/checkboxes.mdx +54 -0
- package/esm/core/Checkboxes/index.js +5 -0
- package/esm/core/Confirmation/Confirmation.stories.js +6 -0
- package/esm/core/Confirmation/__stories__/Default.js +9 -0
- package/esm/core/Confirmation/confirmation.mdx +19 -0
- package/esm/core/Confirmation/index.js +5 -0
- package/esm/core/DateInput/DateInput.stories.js +9 -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 +34 -0
- package/esm/core/Details/Details.stories.js +6 -0
- package/esm/core/Details/__stories__/Default.js +9 -0
- package/esm/core/Details/index.mdx +9 -25
- package/esm/core/Divider/Divider.stories.js +7 -0
- package/esm/core/Divider/__stories__/Default.js +26 -0
- package/esm/core/ErrorMessage/ErrorMessage.stories.js +6 -0
- package/esm/core/ErrorMessage/__stories__/Default.js +21 -0
- package/esm/core/ErrorMessage/index.js +3 -0
- package/esm/core/ErrorMessage/index.mdx +21 -0
- package/esm/core/ErrorSummary/ErrorSummary.stories.js +9 -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.mdx +21 -38
- package/esm/core/Field/index.js +5 -0
- package/esm/core/FileUpload/FileUpload.stories.js +7 -0
- package/esm/core/FileUpload/__stories__/Default.js +13 -0
- package/esm/core/FileUpload/__stories__/WithErrorMessage.js +17 -0
- package/esm/core/FileUpload/index.mdx +22 -0
- package/esm/core/Link/Link.stories.js +10 -0
- package/esm/core/Link/__stories__/DarkBackground.js +13 -0
- package/esm/core/Link/__stories__/DarkBackgroundNoUnderline.js +14 -0
- package/esm/core/Link/__stories__/Default.js +11 -0
- package/esm/core/Link/__stories__/NoUnderline.js +12 -0
- package/esm/core/Link/__stories__/OpensInNewTab.js +13 -0
- package/esm/core/Link/link.mdx +30 -0
- package/esm/core/List/List.stories.js +9 -0
- package/esm/core/List/__stories__/BulletList.js +11 -0
- package/esm/core/List/__stories__/Default.js +10 -0
- package/esm/core/List/__stories__/NumberedList.js +11 -0
- package/esm/core/List/__stories__/WithExtraSpace.js +11 -0
- package/esm/core/List/index.mdx +22 -3
- package/esm/core/Masthead/Masthead.stories.js +6 -0
- package/esm/core/Masthead/__stories__/Default.js +11 -0
- package/esm/core/Masthead/index.js +4 -0
- package/esm/core/Masthead/masthead.mdx +14 -0
- package/esm/core/NavList/NavList.js +8 -63
- package/esm/core/NavList/NavListBase.js +58 -0
- package/esm/core/NavList/NavListSubMenu.js +1 -1
- package/esm/core/NavList/types.js +1 -0
- package/esm/core/NotificationBanner/NotificationBanner.stories.js +7 -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 +6 -3
- package/esm/core/NotificationBanner/index.mdx +13 -60
- package/esm/core/NotificationBanner/index.spec.js +1 -1
- package/esm/core/PhaseBanner/PhaseBanner.stories.js +7 -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 +24 -0
- package/esm/core/Radios/Radios.stories.js +12 -0
- package/esm/core/Radios/__stories__/ConditionalReveal.js +22 -0
- package/esm/core/Radios/__stories__/Default.js +22 -0
- package/esm/core/Radios/__stories__/Inline.js +19 -0
- package/esm/core/Radios/__stories__/MultipleQuestions.js +25 -0
- package/esm/core/Radios/__stories__/NoneAnswer.js +21 -0
- package/esm/core/Radios/__stories__/WithErrorMessage.js +21 -0
- package/esm/core/Radios/__stories__/WithHints.js +19 -0
- package/esm/core/Radios/index.js +5 -0
- package/esm/core/Radios/index.mdx +56 -0
- package/esm/core/Select/Select.stories.js +8 -0
- package/esm/core/Select/__stories__/Default.js +21 -0
- package/esm/core/Select/__stories__/DisabledInput.js +22 -0
- package/esm/core/Select/__stories__/WithHint.js +22 -0
- package/esm/core/Select/index.js +4 -0
- package/esm/core/Select/index.mdx +36 -0
- package/esm/core/SummaryList/SummaryList.stories.js +9 -0
- package/esm/core/SummaryList/__stories__/Default.js +9 -0
- package/esm/core/SummaryList/__stories__/WithActions.js +20 -0
- package/esm/core/SummaryList/__stories__/WithoutBorders.js +11 -0
- package/esm/core/SummaryList/index.mdx +17 -65
- package/esm/core/Table/Table.stories.js +19 -0
- package/esm/core/Table/TableFloatingScroll.js +85 -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__/MultipleProps.js +45 -0
- package/esm/core/Table/__stories__/NoData.js +9 -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__/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 +2 -1
- package/esm/core/Table/index.mdx +52 -0
- package/esm/core/Tabs/Tabs.stories.js +6 -0
- package/esm/core/Tabs/__stories__/Default.js +29 -0
- package/esm/core/Tabs/index.js +22 -2
- package/esm/core/Tabs/index.mdx +10 -2
- package/esm/core/TextArea/TextArea.stories.js +12 -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 +50 -0
- package/esm/core/TextInput/TextInput.stories.js +13 -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 +59 -0
- package/esm/core/VisuallyHidden/VisuallyHidden.stories.js +6 -0
- package/esm/core/VisuallyHidden/__stories__/Default.js +16 -0
- package/esm/core/VisuallyHidden/index.js +3 -1
- package/esm/core/VisuallyHidden/index.mdx +17 -0
- package/esm/core/WarningText/WarningText.stories.js +6 -0
- package/esm/core/WarningText/__stories__/Default.js +9 -0
- package/esm/core/WarningText/index.mdx +10 -35
- package/esm/core/index.js +9 -3
- package/esm/govgr/Footer/index.mdx +4 -4
- package/esm/hooks/useTogglableSections.js +7 -1
- package/esm/index.js +1 -1
- package/esm/introduction.md +4 -1
- package/esm/layouts/Basic/Basic.stories.js +9 -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/Grid/Grid.stories.js +7 -0
- package/esm/layouts/Grid/__stories__/Default.js +58 -0
- package/esm/layouts/Grid/__stories__/Inline.js +55 -0
- package/esm/layouts/Grid/index.js +1 -0
- package/esm/layouts/index.js +2 -0
- package/esm/locales/el.js +1 -0
- package/esm/locales/en.js +1 -0
- package/esm/registry.js +71 -31
- package/esm/typography/Caption/Caption.stories.js +7 -0
- package/esm/typography/Caption/__stories__/Default.js +35 -0
- package/esm/typography/Caption/__stories__/NestedToTitle.js +15 -0
- package/esm/typography/{Caption.js → Caption/index.js} +0 -0
- package/esm/typography/Caption/index.mdx +16 -0
- package/esm/typography/Hint/Hint.stories.js +7 -0
- package/esm/typography/Hint/__stories__/Default.js +9 -0
- package/esm/typography/Hint/__stories__/FontSizes.js +21 -0
- package/esm/typography/{Hint.js → Hint/index.js} +0 -0
- package/esm/typography/Hint/index.mdx +16 -0
- package/esm/typography/NormalText/NormalText.stories.js +9 -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.js → NormalText/index.js} +0 -0
- package/esm/typography/NormalText/index.mdx +26 -0
- package/esm/typography/Paragraph/Paragraph.stories.js +10 -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.js → Paragraph/index.js} +0 -0
- package/esm/typography/Paragraph/index.mdx +30 -0
- package/esm/typography/Title/Title.stories.js +6 -0
- package/esm/typography/Title/__stories__/Default.js +24 -0
- package/esm/typography/{Title.js → Title/index.js} +0 -0
- package/esm/typography/Title/index.mdx +12 -0
- package/govgr/Footer/index.mdx +4 -4
- package/hooks/useTogglableSections.d.ts +3 -2
- package/hooks/useTogglableSections.js +7 -1
- package/introduction.md +4 -1
- package/layouts/Basic/Basic.stories.d.ts +9 -0
- package/layouts/Basic/Basic.stories.js +60 -0
- package/layouts/Basic/__stories__/Default.d.ts +3 -0
- package/layouts/Basic/__stories__/Default.js +30 -0
- package/layouts/Basic/__stories__/MultipleRowsLayout.d.ts +3 -0
- package/layouts/Basic/__stories__/MultipleRowsLayout.js +32 -0
- package/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.d.ts +3 -0
- package/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.js +32 -0
- package/layouts/Grid/Grid.stories.d.ts +7 -0
- package/layouts/Grid/Grid.stories.js +44 -0
- package/layouts/Grid/__stories__/Default.d.ts +3 -0
- package/layouts/Grid/__stories__/Default.js +71 -0
- package/layouts/Grid/__stories__/Inline.d.ts +3 -0
- package/layouts/Grid/__stories__/Inline.js +68 -0
- package/layouts/Grid/index.d.ts +3 -1
- package/layouts/Grid/index.js +6 -0
- package/layouts/index.d.ts +2 -0
- package/layouts/index.js +22 -1
- package/locales/el.d.ts +1 -0
- package/locales/el.js +1 -0
- package/locales/en.d.ts +1 -0
- package/locales/en.js +1 -0
- package/package.json +3 -3
- package/registry.d.ts +35 -15
- package/registry.js +106 -46
- package/typography/Caption/Caption.stories.d.ts +8 -0
- package/typography/Caption/Caption.stories.js +44 -0
- package/typography/Caption/__stories__/Default.d.ts +3 -0
- package/typography/Caption/__stories__/Default.js +49 -0
- package/typography/Caption/__stories__/NestedToTitle.d.ts +3 -0
- package/typography/Caption/__stories__/NestedToTitle.js +29 -0
- package/typography/{Caption.d.ts → Caption/index.d.ts} +0 -0
- package/typography/{Caption.js → Caption/index.js} +0 -0
- package/typography/Caption/index.mdx +16 -0
- package/typography/Hint/Hint.stories.d.ts +8 -0
- package/typography/Hint/Hint.stories.js +44 -0
- package/typography/Hint/__stories__/Default.d.ts +3 -0
- package/typography/Hint/__stories__/Default.js +22 -0
- package/typography/Hint/__stories__/FontSizes.d.ts +3 -0
- package/typography/Hint/__stories__/FontSizes.js +34 -0
- package/typography/{Hint.d.ts → Hint/index.d.ts} +0 -0
- package/typography/{Hint.js → Hint/index.js} +0 -0
- package/typography/Hint/index.mdx +16 -0
- package/typography/NormalText/NormalText.stories.d.ts +10 -0
- package/typography/NormalText/NormalText.stories.js +72 -0
- package/typography/NormalText/__stories__/Default.d.ts +3 -0
- package/typography/NormalText/__stories__/Default.js +22 -0
- package/typography/NormalText/__stories__/FontSizes.d.ts +3 -0
- package/typography/NormalText/__stories__/FontSizes.js +62 -0
- package/typography/NormalText/__stories__/FontWeight.d.ts +3 -0
- package/typography/NormalText/__stories__/FontWeight.js +32 -0
- package/typography/NormalText/__stories__/Variants.d.ts +3 -0
- package/typography/NormalText/__stories__/Variants.js +32 -0
- package/typography/{NormalText.d.ts → NormalText/index.d.ts} +0 -0
- package/typography/{NormalText.js → NormalText/index.js} +0 -0
- package/typography/NormalText/index.mdx +26 -0
- package/typography/Paragraph/Paragraph.stories.d.ts +11 -0
- package/typography/Paragraph/Paragraph.stories.js +86 -0
- package/typography/Paragraph/__stories__/Default.d.ts +3 -0
- package/typography/Paragraph/__stories__/Default.js +22 -0
- package/typography/Paragraph/__stories__/FontSizes.d.ts +3 -0
- package/typography/Paragraph/__stories__/FontSizes.js +48 -0
- package/typography/Paragraph/__stories__/FontWeight.d.ts +3 -0
- package/typography/Paragraph/__stories__/FontWeight.js +28 -0
- package/typography/Paragraph/__stories__/LeadVariant.d.ts +3 -0
- package/typography/Paragraph/__stories__/LeadVariant.js +24 -0
- package/typography/Paragraph/__stories__/SmallVariant.d.ts +3 -0
- package/typography/Paragraph/__stories__/SmallVariant.js +24 -0
- package/typography/{Paragraph.d.ts → Paragraph/index.d.ts} +0 -0
- package/typography/{Paragraph.js → Paragraph/index.js} +0 -0
- package/typography/Paragraph/index.mdx +30 -0
- package/typography/Title/Title.stories.d.ts +7 -0
- package/typography/Title/Title.stories.js +30 -0
- package/typography/Title/__stories__/Default.d.ts +3 -0
- package/typography/Title/__stories__/Default.js +37 -0
- package/typography/{Title.d.ts → Title/index.d.ts} +0 -0
- package/typography/{Title.js → Title/index.js} +0 -0
- package/typography/Title/index.mdx +12 -0
- package/app/NotFound/NotFound.mdx +0 -5
- package/app/QrCodeScanner/index.mdx +0 -7
- package/es/app/NotFound/NotFound.mdx +0 -5
- package/es/app/QrCodeScanner/index.mdx +0 -7
- package/esm/app/NotFound/NotFound.mdx +0 -5
- package/esm/app/QrCodeScanner/index.mdx +0 -7
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Paragraph from "@digigov/ui/typography/Paragraph";
|
|
3
|
+
|
|
4
|
+
var _ref = /*#__PURE__*/React.createElement(Paragraph, {
|
|
5
|
+
variant: "small"
|
|
6
|
+
}, "govgr-body");
|
|
7
|
+
|
|
8
|
+
export var SmallVariant = function SmallVariant() {
|
|
9
|
+
return _ref;
|
|
10
|
+
};
|
|
11
|
+
export default SmallVariant;
|
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: paragraph
|
|
3
|
+
title: Paragraph
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
import Paragraph from '@digigov/ui/typography/Paragraph';
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## How to use
|
|
11
|
+
|
|
12
|
+
<Story packageName="@digigov/ui" component="typography/Paragraph" story="Default.tsx" />
|
|
13
|
+
|
|
14
|
+
### Lead paragraph
|
|
15
|
+
|
|
16
|
+
<Story packageName="@digigov/ui" component="typography/Paragraph" story="LeadVariant.tsx" />
|
|
17
|
+
|
|
18
|
+
### Small paragraph
|
|
19
|
+
|
|
20
|
+
<Story packageName="@digigov/ui" component="typography/Paragraph" story="SmallVariant.tsx" />
|
|
21
|
+
|
|
22
|
+
## Font override classes
|
|
23
|
+
|
|
24
|
+
### Font size
|
|
25
|
+
|
|
26
|
+
<Story packageName="@digigov/ui" component="typography/Paragraph" story="FontSizes.tsx" />
|
|
27
|
+
|
|
28
|
+
### Font weight
|
|
29
|
+
|
|
30
|
+
<Story packageName="@digigov/ui" component="typography/Paragraph" story="FontWeight.tsx" />
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Title from "@digigov/ui/typography/Title";
|
|
3
|
+
|
|
4
|
+
var _ref = /*#__PURE__*/React.createElement(Title, null, " govgr-heading-xl ");
|
|
5
|
+
|
|
6
|
+
var _ref2 = /*#__PURE__*/React.createElement(Title, {
|
|
7
|
+
size: "lg",
|
|
8
|
+
element: "h2"
|
|
9
|
+
}, " govgr-heading-lg ");
|
|
10
|
+
|
|
11
|
+
var _ref3 = /*#__PURE__*/React.createElement(Title, {
|
|
12
|
+
size: "md",
|
|
13
|
+
element: "h3"
|
|
14
|
+
}, " govgr-heading-md ");
|
|
15
|
+
|
|
16
|
+
var _ref4 = /*#__PURE__*/React.createElement(Title, {
|
|
17
|
+
size: "sm",
|
|
18
|
+
element: "h4"
|
|
19
|
+
}, " govgr-heading-sm ");
|
|
20
|
+
|
|
21
|
+
export var Default = function Default() {
|
|
22
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, _ref, _ref2, _ref3, _ref4);
|
|
23
|
+
};
|
|
24
|
+
export default Default;
|
|
File without changes
|
package/govgr/Footer/index.mdx
CHANGED
|
@@ -5,7 +5,7 @@ parent: docs/ui/components
|
|
|
5
5
|
|
|
6
6
|
## Default Footer
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
#
|
|
9
9
|
|
|
10
10
|
```jsx
|
|
11
11
|
import Bottom from '@digigov/ui/layouts/Basic';
|
|
@@ -22,7 +22,7 @@ import GovGRFooter from '@digigov/ui/govgr/Footer';
|
|
|
22
22
|
|
|
23
23
|
## Customizable Footer
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
#
|
|
26
26
|
|
|
27
27
|
```jsx
|
|
28
28
|
import Copyright from '@digigov/ui/govgr/Footer/Copyright';
|
|
@@ -45,7 +45,7 @@ import LicenseCCSA from '@digigov/ui/govgr/Footer/LicenseCCSA';
|
|
|
45
45
|
|
|
46
46
|
## Using custom grid
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
#
|
|
49
49
|
|
|
50
50
|
```jsx
|
|
51
51
|
import Grid from '@material-ui/core/Grid';
|
|
@@ -72,7 +72,7 @@ import HellenicRepublicLogo from '@digigov/ui/govgr/Footer/HellenicRepublicLogo'
|
|
|
72
72
|
|
|
73
73
|
## Asking users for feedback
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
#
|
|
76
76
|
|
|
77
77
|
```jsx
|
|
78
78
|
import { Feedback } from '@digigov/ui/govgr/Footer';
|
|
@@ -5,9 +5,10 @@ export interface UseTogglableSectionsInterface {
|
|
|
5
5
|
initial?: Record<string, boolean>;
|
|
6
6
|
firstOpen?: boolean;
|
|
7
7
|
ariaNavigation?: boolean;
|
|
8
|
+
toggleHook?: (id: string) => void;
|
|
8
9
|
}
|
|
9
10
|
export interface UseTogglableSectionsReturn {
|
|
10
|
-
register: (el:
|
|
11
|
+
register: (el: string) => any;
|
|
11
12
|
registered: {
|
|
12
13
|
current: Record<string, HTMLElement>;
|
|
13
14
|
};
|
|
@@ -15,4 +16,4 @@ export interface UseTogglableSectionsReturn {
|
|
|
15
16
|
toggle: (id: string) => void;
|
|
16
17
|
setOpened: (opened: ((curOpened: Record<string, boolean>) => Record<string, boolean>) | Record<string, boolean>) => void;
|
|
17
18
|
}
|
|
18
|
-
export declare function useTogglableSections({ toggleProperty, singleOpen, onToggleProperty, initial, firstOpen, ariaNavigation, }: UseTogglableSectionsInterface): UseTogglableSectionsReturn;
|
|
19
|
+
export declare function useTogglableSections({ toggleProperty, singleOpen, onToggleProperty, initial, firstOpen, ariaNavigation, toggleHook, }: UseTogglableSectionsInterface): UseTogglableSectionsReturn;
|
|
@@ -22,7 +22,8 @@ function useTogglableSections(_ref) {
|
|
|
22
22
|
onToggleProperty = _ref.onToggleProperty,
|
|
23
23
|
initial = _ref.initial,
|
|
24
24
|
firstOpen = _ref.firstOpen,
|
|
25
|
-
ariaNavigation = _ref.ariaNavigation
|
|
25
|
+
ariaNavigation = _ref.ariaNavigation,
|
|
26
|
+
toggleHook = _ref.toggleHook;
|
|
26
27
|
|
|
27
28
|
var _useState = (0, _react.useState)(initial || {}),
|
|
28
29
|
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
@@ -44,6 +45,11 @@ function useTogglableSections(_ref) {
|
|
|
44
45
|
}, []);
|
|
45
46
|
var toggle = (0, _react.useCallback)(function (e) {
|
|
46
47
|
var key = e.currentTarget.getAttribute('aria-controls');
|
|
48
|
+
|
|
49
|
+
if (toggleHook) {
|
|
50
|
+
toggleHook(key);
|
|
51
|
+
}
|
|
52
|
+
|
|
47
53
|
e.preventDefault();
|
|
48
54
|
|
|
49
55
|
if (singleOpen) {
|
package/introduction.md
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
export const title: string;
|
|
3
|
+
export { Basic as component };
|
|
4
|
+
}
|
|
5
|
+
export default _default;
|
|
6
|
+
export * from "./__stories__/Default";
|
|
7
|
+
export * from "./__stories__/TwoThirdsOneThirdColumns";
|
|
8
|
+
export * from "./__stories__/MultipleRowsLayout";
|
|
9
|
+
import Basic from "@digigov/ui/layouts/Basic";
|
|
@@ -0,0 +1,60 @@
|
|
|
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 _Basic = _interopRequireDefault(require("@digigov/ui/layouts/Basic"));
|
|
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 _TwoThirdsOneThirdColumns = require("./__stories__/TwoThirdsOneThirdColumns");
|
|
28
|
+
|
|
29
|
+
Object.keys(_TwoThirdsOneThirdColumns).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] === _TwoThirdsOneThirdColumns[key]) return;
|
|
33
|
+
Object.defineProperty(exports, key, {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function get() {
|
|
36
|
+
return _TwoThirdsOneThirdColumns[key];
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
var _MultipleRowsLayout = require("./__stories__/MultipleRowsLayout");
|
|
42
|
+
|
|
43
|
+
Object.keys(_MultipleRowsLayout).forEach(function (key) {
|
|
44
|
+
if (key === "default" || key === "__esModule") return;
|
|
45
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
46
|
+
if (key in exports && exports[key] === _MultipleRowsLayout[key]) return;
|
|
47
|
+
Object.defineProperty(exports, key, {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
get: function get() {
|
|
50
|
+
return _MultipleRowsLayout[key];
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
/* eslint-disable digigov/no-relative-imports */
|
|
56
|
+
var _default = {
|
|
57
|
+
title: 'Digigov UI/layouts/Basic',
|
|
58
|
+
component: _Basic["default"]
|
|
59
|
+
};
|
|
60
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
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.TwoThirdsColumn = void 0;
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _Basic = _interopRequireWildcard(require("@digigov/ui/layouts/Basic"));
|
|
15
|
+
|
|
16
|
+
var _typography = require("@digigov/ui/typography");
|
|
17
|
+
|
|
18
|
+
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); }
|
|
19
|
+
|
|
20
|
+
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; }
|
|
21
|
+
|
|
22
|
+
var _ref = /*#__PURE__*/_react["default"].createElement(_Basic["default"], null, /*#__PURE__*/_react["default"].createElement(_Basic.Content, null, /*#__PURE__*/_react["default"].createElement(_Basic.Main, null, /*#__PURE__*/_react["default"].createElement(_typography.Title, null, "Two-thirds column"), /*#__PURE__*/_react["default"].createElement(_typography.Paragraph, null, "This is a paragraph inside a two-thirds wide column"))));
|
|
23
|
+
|
|
24
|
+
var TwoThirdsColumn = function TwoThirdsColumn() {
|
|
25
|
+
return _ref;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
exports.TwoThirdsColumn = TwoThirdsColumn;
|
|
29
|
+
var _default = TwoThirdsColumn;
|
|
30
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
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.MultipleRowsLayout = void 0;
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _Basic = _interopRequireWildcard(require("@digigov/ui/layouts/Basic"));
|
|
15
|
+
|
|
16
|
+
var _typography = require("@digigov/ui/typography");
|
|
17
|
+
|
|
18
|
+
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); }
|
|
19
|
+
|
|
20
|
+
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; }
|
|
21
|
+
|
|
22
|
+
var _ref = /*#__PURE__*/_react["default"].createElement(_Basic["default"], null, /*#__PURE__*/_react["default"].createElement(_Basic.Content, null, /*#__PURE__*/_react["default"].createElement(_Basic.Main, null, /*#__PURE__*/_react["default"].createElement(_typography.Title, null, "Two-thirds column"), /*#__PURE__*/_react["default"].createElement(_typography.Paragraph, null, "This is a paragraph inside a two-thirds wide column"))), /*#__PURE__*/_react["default"].createElement(_Basic.Content, null, /*#__PURE__*/_react["default"].createElement(_Basic.Main, null, /*#__PURE__*/_react["default"].createElement(_typography.Title, null, "Two-thirds column"), /*#__PURE__*/_react["default"].createElement(_typography.Paragraph, null, "This is a paragraph inside a two-thirds wide column")), /*#__PURE__*/_react["default"].createElement(_Basic.Side, null, /*#__PURE__*/_react["default"].createElement(_typography.Title, {
|
|
23
|
+
size: "md"
|
|
24
|
+
}, "One-third-column"), /*#__PURE__*/_react["default"].createElement(_typography.Paragraph, null, "This is a paragraph inside a one-third wide column"))));
|
|
25
|
+
|
|
26
|
+
var MultipleRowsLayout = function MultipleRowsLayout() {
|
|
27
|
+
return _ref;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
exports.MultipleRowsLayout = MultipleRowsLayout;
|
|
31
|
+
var _default = MultipleRowsLayout;
|
|
32
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
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.TwoThirdsOneThirdColumns = void 0;
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _Basic = _interopRequireWildcard(require("@digigov/ui/layouts/Basic"));
|
|
15
|
+
|
|
16
|
+
var _typography = require("@digigov/ui/typography");
|
|
17
|
+
|
|
18
|
+
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); }
|
|
19
|
+
|
|
20
|
+
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; }
|
|
21
|
+
|
|
22
|
+
var _ref = /*#__PURE__*/_react["default"].createElement(_Basic["default"], null, /*#__PURE__*/_react["default"].createElement(_Basic.Content, null, /*#__PURE__*/_react["default"].createElement(_Basic.Main, null, /*#__PURE__*/_react["default"].createElement(_typography.Title, null, "Two-thirds column"), /*#__PURE__*/_react["default"].createElement(_typography.Paragraph, null, "This is a paragraph inside a two-thirds wide column")), /*#__PURE__*/_react["default"].createElement(_Basic.Side, null, /*#__PURE__*/_react["default"].createElement(_typography.Title, {
|
|
23
|
+
size: "md"
|
|
24
|
+
}, "One-third-column"), /*#__PURE__*/_react["default"].createElement(_typography.Paragraph, null, "This is a paragraph inside a one-third wide column"))));
|
|
25
|
+
|
|
26
|
+
var TwoThirdsOneThirdColumns = function TwoThirdsOneThirdColumns() {
|
|
27
|
+
return _ref;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
exports.TwoThirdsOneThirdColumns = TwoThirdsOneThirdColumns;
|
|
31
|
+
var _default = TwoThirdsOneThirdColumns;
|
|
32
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,44 @@
|
|
|
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 _layouts = _interopRequireDefault(require("@digigov/ui/layouts"));
|
|
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 _Inline = require("./__stories__/Inline");
|
|
28
|
+
|
|
29
|
+
Object.keys(_Inline).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] === _Inline[key]) return;
|
|
33
|
+
Object.defineProperty(exports, key, {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function get() {
|
|
36
|
+
return _Inline[key];
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
var _default = {
|
|
41
|
+
title: 'Digigov UI/layouts/Grid',
|
|
42
|
+
component: _layouts["default"]
|
|
43
|
+
};
|
|
44
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = exports.Default = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
var _Grid = _interopRequireDefault(require("@digigov/react-core/Grid"));
|
|
13
|
+
|
|
14
|
+
var _ref = /*#__PURE__*/_react["default"].createElement("div", {
|
|
15
|
+
className: "govgr-btn govgr-btn-primary"
|
|
16
|
+
}, "lalal");
|
|
17
|
+
|
|
18
|
+
var _ref2 = /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
19
|
+
container: true,
|
|
20
|
+
spacing: 4
|
|
21
|
+
}, /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
22
|
+
xs: 12,
|
|
23
|
+
sm: 8,
|
|
24
|
+
md: 6,
|
|
25
|
+
lg: 4,
|
|
26
|
+
xl: 2,
|
|
27
|
+
className: "border border-black"
|
|
28
|
+
}, "1"), /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
29
|
+
xs: 12,
|
|
30
|
+
sm: 4,
|
|
31
|
+
md: 6,
|
|
32
|
+
lg: 4,
|
|
33
|
+
xl: 2,
|
|
34
|
+
className: "border border-black"
|
|
35
|
+
}, "1"), /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
36
|
+
xs: 12,
|
|
37
|
+
sm: 8,
|
|
38
|
+
md: 6,
|
|
39
|
+
lg: 4,
|
|
40
|
+
xl: 2,
|
|
41
|
+
className: "border border-black"
|
|
42
|
+
}, "1"), /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
43
|
+
xs: 12,
|
|
44
|
+
sm: 4,
|
|
45
|
+
md: 6,
|
|
46
|
+
lg: 4,
|
|
47
|
+
xl: 2,
|
|
48
|
+
className: "border border-black"
|
|
49
|
+
}, "1"), /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
50
|
+
xs: 12,
|
|
51
|
+
sm: 8,
|
|
52
|
+
md: 6,
|
|
53
|
+
lg: 4,
|
|
54
|
+
xl: 2,
|
|
55
|
+
className: "border border-black"
|
|
56
|
+
}, "1"), /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
57
|
+
xs: 12,
|
|
58
|
+
sm: 4,
|
|
59
|
+
md: 6,
|
|
60
|
+
lg: 4,
|
|
61
|
+
xl: 2,
|
|
62
|
+
className: "border border-black"
|
|
63
|
+
}, "1"));
|
|
64
|
+
|
|
65
|
+
var Default = function Default() {
|
|
66
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, _ref, _ref2);
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
exports.Default = Default;
|
|
70
|
+
var _default = Default;
|
|
71
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = exports.Inline = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
var _Grid = _interopRequireDefault(require("@digigov/react-core/Grid"));
|
|
13
|
+
|
|
14
|
+
var _ref = /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
15
|
+
container: true,
|
|
16
|
+
spacing: 4,
|
|
17
|
+
inline: true
|
|
18
|
+
}, /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
19
|
+
xs: 12,
|
|
20
|
+
sm: 8,
|
|
21
|
+
md: 6,
|
|
22
|
+
lg: 4,
|
|
23
|
+
xl: 2,
|
|
24
|
+
className: "border border-black"
|
|
25
|
+
}, "1"), /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
26
|
+
xs: 12,
|
|
27
|
+
sm: 4,
|
|
28
|
+
md: 6,
|
|
29
|
+
lg: 4,
|
|
30
|
+
xl: 2,
|
|
31
|
+
className: "border border-black"
|
|
32
|
+
}, "1"), /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
33
|
+
xs: 12,
|
|
34
|
+
sm: 8,
|
|
35
|
+
md: 6,
|
|
36
|
+
lg: 4,
|
|
37
|
+
xl: 2,
|
|
38
|
+
className: "border border-black"
|
|
39
|
+
}, "1"), /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
40
|
+
xs: 12,
|
|
41
|
+
sm: 4,
|
|
42
|
+
md: 6,
|
|
43
|
+
lg: 4,
|
|
44
|
+
xl: 2,
|
|
45
|
+
className: "border border-black"
|
|
46
|
+
}, "1"), /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
47
|
+
xs: 12,
|
|
48
|
+
sm: 8,
|
|
49
|
+
md: 6,
|
|
50
|
+
lg: 4,
|
|
51
|
+
xl: 2,
|
|
52
|
+
className: "border border-black"
|
|
53
|
+
}, "1"), /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
54
|
+
xs: 12,
|
|
55
|
+
sm: 4,
|
|
56
|
+
md: 6,
|
|
57
|
+
lg: 4,
|
|
58
|
+
xl: 2,
|
|
59
|
+
className: "border border-black"
|
|
60
|
+
}, "1"));
|
|
61
|
+
|
|
62
|
+
var Inline = function Inline() {
|
|
63
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, _ref);
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
exports.Inline = Inline;
|
|
67
|
+
var _default = Inline;
|
|
68
|
+
exports["default"] = _default;
|
package/layouts/Grid/index.d.ts
CHANGED
package/layouts/Grid/index.js
CHANGED
|
@@ -5,6 +5,12 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
+
Object.defineProperty(exports, "Grid", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function get() {
|
|
11
|
+
return _Grid["default"];
|
|
12
|
+
}
|
|
13
|
+
});
|
|
8
14
|
exports["default"] = void 0;
|
|
9
15
|
|
|
10
16
|
var _Grid = _interopRequireDefault(require("@digigov/react-core/Grid"));
|
package/layouts/index.d.ts
CHANGED
package/layouts/index.js
CHANGED
|
@@ -6,7 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
var _exportNames = {
|
|
9
|
-
BasicLayout: true
|
|
9
|
+
BasicLayout: true,
|
|
10
|
+
Grid: true
|
|
10
11
|
};
|
|
11
12
|
Object.defineProperty(exports, "BasicLayout", {
|
|
12
13
|
enumerable: true,
|
|
@@ -14,6 +15,12 @@ Object.defineProperty(exports, "BasicLayout", {
|
|
|
14
15
|
return _Basic["default"];
|
|
15
16
|
}
|
|
16
17
|
});
|
|
18
|
+
Object.defineProperty(exports, "Grid", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _Grid["default"];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
17
24
|
|
|
18
25
|
var _Basic = _interopRequireWildcard(require("@digigov/ui/layouts/Basic"));
|
|
19
26
|
|
|
@@ -29,6 +36,20 @@ Object.keys(_Basic).forEach(function (key) {
|
|
|
29
36
|
});
|
|
30
37
|
});
|
|
31
38
|
|
|
39
|
+
var _Grid = _interopRequireWildcard(require("@digigov/ui/layouts/Grid"));
|
|
40
|
+
|
|
41
|
+
Object.keys(_Grid).forEach(function (key) {
|
|
42
|
+
if (key === "default" || key === "__esModule") return;
|
|
43
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
44
|
+
if (key in exports && exports[key] === _Grid[key]) return;
|
|
45
|
+
Object.defineProperty(exports, key, {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function get() {
|
|
48
|
+
return _Grid[key];
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
|
|
32
53
|
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); }
|
|
33
54
|
|
|
34
55
|
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; }
|