@digigov/ui 0.24.2 → 0.26.1
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 +38 -1
- package/admin/AutoComplete/__stories__/Default.d.ts +0 -1
- package/admin/AutoComplete/__stories__/Default.js +1 -1
- package/admin/AutoComplete/__stories__/WithAutoSelect.d.ts +0 -1
- package/admin/AutoComplete/__stories__/WithAutoSelect.js +13 -2
- package/admin/AutoComplete/__stories__/WithDefaultValue.d.ts +0 -1
- package/admin/AutoComplete/__stories__/WithDefaultValue.js +1 -1
- package/admin/AutoComplete/__stories__/WithInLine.d.ts +0 -1
- package/admin/AutoComplete/__stories__/WithInLine.js +1 -1
- package/admin/AutoComplete/__stories__/WithMinLength.d.ts +0 -1
- package/admin/AutoComplete/__stories__/WithMinLength.js +1 -1
- package/admin/AutoComplete/__stories__/WithPlaceHolder.d.ts +0 -1
- package/admin/AutoComplete/__stories__/WithPlaceHolder.js +1 -1
- package/admin/AutoComplete/__stories__/WithShowAllValues.d.ts +0 -1
- package/admin/AutoComplete/__stories__/WithShowAllValues.js +1 -1
- package/admin/AutoComplete/__stories__/utils.d.ts +2 -0
- package/admin/AutoComplete/__stories__/utils.js +15 -0
- package/admin/AutoComplete/index.d.ts +37 -20
- package/admin/AutoComplete/index.js +15 -53
- package/admin/AutoComplete/utils.d.ts +9 -1
- package/admin/AutoComplete/utils.js +23 -6
- package/admin/Chip/index.d.ts +2 -0
- package/admin/Chip/index.js +28 -0
- package/admin/CircularProgress/__stories__/Default.d.ts +0 -1
- package/admin/CopyToClipboard/__stories__/Banner.d.ts +0 -1
- package/admin/CopyToClipboard/__stories__/Default.d.ts +0 -1
- package/admin/CopyToClipboard/__stories__/MultipleCopies.d.ts +0 -1
- package/admin/CopyToClipboard/index.d.ts +4 -1
- package/admin/CopyToClipboard/index.js +14 -1
- package/admin/Drawer/Drawer.stories.d.ts +1 -4
- package/admin/Drawer/Drawer.stories.js +3 -22
- package/admin/Drawer/__stories__/Default.d.ts +0 -1
- package/admin/Drawer/__stories__/Default.js +13 -13
- package/admin/Drawer/index.d.ts +1 -0
- package/admin/Drawer/index.js +14 -0
- package/admin/Dropdown/__stories__/AlignRight.d.ts +0 -1
- package/admin/Dropdown/__stories__/Default.d.ts +0 -1
- package/admin/Dropdown/__stories__/PlacementTop.d.ts +0 -1
- package/admin/DropdownArrowDown/index.d.ts +3 -0
- package/admin/DropdownArrowDown/index.js +19 -0
- package/admin/Modal/__stories__/AlertDialog.d.ts +0 -1
- package/admin/Modal/__stories__/Default.d.ts +0 -1
- package/admin/Pagination/__stories__/Default.d.ts +0 -1
- package/admin/Pagination/index.d.ts +1 -1
- package/admin/StepNav/StepNav.stories.d.ts +7 -0
- package/admin/StepNav/StepNav.stories.js +32 -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/TaskList/__stories__/Default.d.ts +0 -1
- package/admin/Timeline/__stories__/Default.d.ts +0 -1
- package/admin/index.d.ts +2 -0
- package/admin/index.js +26 -0
- package/app/App.d.ts +0 -7
- package/app/App.js +6 -25
- package/app/Confirmation/__stories__/Default.d.ts +0 -1
- package/app/Footer/Footer.stories.d.ts +1 -0
- package/app/Footer/Footer.stories.js +14 -0
- package/app/Footer/__stories__/Default.d.ts +0 -1
- package/app/Footer/__stories__/DefaultCopyright.d.ts +2 -0
- package/app/Footer/__stories__/DefaultCopyright.js +32 -0
- package/app/Footer/__stories__/FooterAllInclusive.d.ts +0 -1
- package/app/Footer/__stories__/FooterAllInclusive.js +11 -4
- package/app/Footer/__stories__/FooterWithLink.d.ts +0 -1
- package/app/Footer/__stories__/FooterWithLink.js +1 -1
- package/app/Footer/__stories__/FooterWithLogo.d.ts +0 -1
- package/app/Footer/__stories__/FooterWithLogo.js +6 -2
- package/app/Footer/__stories__/FooterWithSecondaryNavigation.d.ts +0 -1
- package/app/Header/Header.stories.d.ts +12 -12
- package/app/Header/HeaderLogo.d.ts +1 -1
- package/app/Header/HeaderSection.d.ts +1 -1
- package/app/Header/HeaderTitle.d.ts +1 -1
- package/app/Header/__stories__/Default.d.ts +0 -1
- package/app/Header/__stories__/Default.js +2 -3
- package/app/Header/__stories__/WithNavigation.d.ts +0 -1
- package/app/Header/__stories__/WithNavigation.js +3 -4
- package/app/Header/__stories__/WithServiceName.d.ts +0 -1
- package/app/Header/__stories__/WithServiceName.js +2 -3
- package/app/Header/__stories__/WithServiceNameAndLogo.d.ts +0 -1
- package/app/Header/__stories__/WithServiceNameAndLogo.js +5 -4
- package/app/Header/index.d.ts +1 -1
- package/app/Header/index.spec.js +1 -5
- package/app/NotFound/__stories__/Default.d.ts +0 -1
- package/app/OutdatedBrowserBanner.d.ts +0 -1
- package/app/PhaseBannerHeader/__stories__/Default.d.ts +0 -1
- package/app/PhaseBannerHeader/index.d.ts +1 -1
- package/app/QrCodeScanner/__stories__/Default.d.ts +0 -1
- package/app/i18n.d.ts +2 -2
- package/app/i18n.js +16 -2
- package/core/Accordion/__stories__/Default.d.ts +0 -1
- package/core/Accordion/__stories__/WithHints.d.ts +0 -1
- package/core/Accordion/index.d.ts +3 -3
- package/core/BackLink/__stories__/Default.d.ts +0 -1
- package/core/Base/index.d.ts +3 -0
- package/core/Base/index.js +19 -0
- package/core/Blockquote/__stories__/Default.d.ts +0 -1
- package/core/Blockquote/index.d.ts +1 -1
- package/core/Breadcrumbs/__stories__/Default.d.ts +0 -1
- package/core/Button/BackButton.d.ts +1 -1
- package/core/Button/Button.stories.d.ts +15 -15
- package/core/Button/ButtonLink.d.ts +1 -1
- package/core/Button/__stories__/Back.d.ts +0 -1
- package/core/Button/__stories__/ButtonLinkButton.d.ts +0 -1
- package/core/Button/__stories__/CallToActionButton.d.ts +0 -1
- package/core/Button/__stories__/Disabled.d.ts +0 -1
- package/core/Button/__stories__/GroupingButtons.d.ts +0 -1
- package/core/Button/__stories__/GroupingButtons.js +1 -1
- package/core/Button/__stories__/GroupingButtonsAndLinks.d.ts +0 -1
- package/core/Button/__stories__/Primary.d.ts +0 -1
- package/core/Button/__stories__/Secondary.d.ts +0 -1
- package/core/Button/__stories__/Warning.d.ts +0 -1
- package/core/Button/__stories__/WithVariantLink.d.ts +0 -1
- package/core/Button/index.d.ts +1 -1
- package/core/Card/__stories__/Default.d.ts +0 -1
- package/core/Card/__stories__/WithClickableContent.d.ts +0 -1
- package/core/Card/__stories__/WithClickableLink.d.ts +0 -1
- package/core/Card/__stories__/WithDarkBorder.d.ts +0 -1
- package/core/Card/__stories__/WithDarkTopBorder.d.ts +0 -1
- package/core/Card/__stories__/WithDivider.d.ts +0 -1
- package/core/Card/__stories__/WithGrayBorder.d.ts +0 -1
- package/core/Card/__stories__/WithGrayTopBorder.d.ts +0 -1
- package/core/Card/__stories__/WithGroupButton.d.ts +0 -1
- package/core/Checkboxes/__stories__/ConditionalReveal.d.ts +0 -1
- package/core/Checkboxes/__stories__/Default.d.ts +0 -1
- package/core/Checkboxes/__stories__/MultipleQuestions.d.ts +0 -1
- package/core/Checkboxes/__stories__/NoneAnswer.d.ts +0 -1
- package/core/Checkboxes/__stories__/NoneAnswerWithError.d.ts +2 -3
- package/core/Checkboxes/__stories__/NoneAnswerWithError.js +4 -4
- package/core/Checkboxes/__stories__/WithErrorMessage.d.ts +0 -1
- package/core/Checkboxes/__stories__/WithHint.d.ts +0 -1
- package/core/Confirmation/__stories__/Default.d.ts +0 -1
- package/core/DateInput/__stories__/Default.d.ts +0 -1
- package/core/DateInput/__stories__/MultipleQuestions.d.ts +0 -1
- package/core/DateInput/__stories__/WithErrorMessage.d.ts +0 -1
- package/core/DateInput/__stories__/WithErrorMessageForSingleField.d.ts +0 -1
- package/core/Details/__stories__/Default.d.ts +0 -1
- package/core/Divider/__stories__/Default.d.ts +0 -1
- package/core/Divider/index.d.ts +1 -1
- package/core/ErrorMessage/__stories__/Default.d.ts +0 -1
- package/core/ErrorSummary/__stories__/Default.d.ts +0 -1
- package/core/ErrorSummary/__stories__/LinkedToCheckbox.d.ts +0 -1
- package/core/ErrorSummary/__stories__/LinkedToField.d.ts +0 -1
- package/core/ErrorSummary/__stories__/LinkedToInput.d.ts +0 -1
- package/core/ErrorSummary/index.spec.js +3 -5
- package/core/FileUpload/__stories__/Default.d.ts +0 -1
- package/core/FileUpload/__stories__/WithErrorMessage.d.ts +2 -3
- package/core/FileUpload/__stories__/WithErrorMessage.js +4 -4
- package/core/Form/index.d.ts +3 -0
- package/core/Form/index.js +19 -0
- package/core/Label/index.d.ts +4 -0
- package/core/Label/index.js +44 -0
- package/core/Link/__stories__/DarkBackground.d.ts +0 -1
- package/core/Link/__stories__/DarkBackgroundNoUnderline.d.ts +0 -1
- package/core/Link/__stories__/Default.d.ts +0 -1
- package/core/Link/__stories__/NoUnderline.d.ts +0 -1
- package/core/Link/__stories__/OpensInNewTab.d.ts +0 -1
- package/core/Link/index.d.ts +1 -0
- package/core/Link/index.js +2 -1
- package/core/List/ListItemContent.d.ts +0 -1
- package/core/List/ListItemContent.js +9 -27
- package/core/List/ListItemIcon.d.ts +1 -3
- package/core/List/ListItemIcon.js +9 -30
- package/core/List/ListItemText.d.ts +0 -1
- package/core/List/ListItemText.js +8 -15
- package/core/List/ListItemTitle.d.ts +0 -1
- package/core/List/ListItemTitle.js +8 -15
- package/core/List/__stories__/BulletList.d.ts +0 -1
- package/core/List/__stories__/Default.d.ts +0 -1
- package/core/List/__stories__/NumberedList.d.ts +0 -1
- package/core/List/__stories__/WithExtraSpace.d.ts +0 -1
- package/core/List/index.spec.js +1 -3
- package/core/Masthead/__stories__/Default.d.ts +0 -1
- 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/NavListItem.d.ts +1 -1
- package/core/NavList/NavListItemBase.d.ts +1 -1
- 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/core/NavList/__stories__/Default.d.ts +0 -1
- package/core/NavList/__stories__/NavHorizontalLayout.d.ts +0 -1
- package/core/NavList/index.d.ts +5 -0
- package/core/NavList/index.js +70 -0
- package/core/NavList/index.spec.js +1 -3
- package/core/NotificationBanner/__stories__/Default.d.ts +0 -1
- package/core/NotificationBanner/__stories__/Success.d.ts +0 -1
- package/core/NotificationBanner/index.spec.js +3 -5
- package/core/PhaseBanner/__stories__/Default.d.ts +0 -1
- package/core/PhaseBanner/__stories__/Underlined.d.ts +0 -1
- package/core/Radios/__stories__/ConditionalReveal.d.ts +0 -1
- package/core/Radios/__stories__/Default.d.ts +0 -1
- package/core/Radios/__stories__/Inline.d.ts +0 -1
- package/core/Radios/__stories__/MultipleQuestions.d.ts +0 -1
- package/core/Radios/__stories__/NoneAnswer.d.ts +0 -1
- package/core/Radios/__stories__/WithErrorMessage.d.ts +0 -1
- package/core/Radios/__stories__/WithHints.d.ts +0 -1
- package/core/Select/__stories__/Default.d.ts +0 -1
- package/core/Select/__stories__/DisabledInput.d.ts +0 -1
- package/core/Select/__stories__/WithHint.d.ts +0 -1
- package/core/SkipLink/index.d.ts +3 -0
- package/core/SkipLink/index.js +19 -0
- package/core/SummaryList/SummaryList.stories.d.ts +1 -0
- package/core/SummaryList/SummaryList.stories.js +14 -0
- package/core/SummaryList/__stories__/Default.d.ts +0 -1
- package/core/SummaryList/__stories__/Default.js +7 -1
- package/core/SummaryList/__stories__/WithActions.d.ts +0 -1
- package/core/SummaryList/__stories__/WithKeyAndAction.d.ts +2 -0
- package/core/SummaryList/__stories__/WithKeyAndAction.js +42 -0
- package/core/SummaryList/__stories__/WithoutBorders.d.ts +0 -1
- package/core/SvgIcon/index.d.ts +1 -0
- package/core/SvgIcon/index.js +14 -0
- package/core/Table/TableFloatingScroll.d.ts +0 -1
- package/core/Table/__stories__/DarkVariant.d.ts +0 -1
- package/core/Table/__stories__/DarkVariantWithVerticalHeaders.d.ts +0 -1
- package/core/Table/__stories__/Default.d.ts +0 -1
- package/core/Table/__stories__/DefinedWidth.d.ts +0 -1
- package/core/Table/__stories__/Densed.d.ts +0 -1
- package/core/Table/__stories__/MultipleProps.d.ts +0 -1
- package/core/Table/__stories__/NoData.d.ts +0 -1
- package/core/Table/__stories__/NumericDataType.d.ts +0 -1
- package/core/Table/__stories__/TableCaptions.d.ts +0 -1
- package/core/Table/__stories__/VerticalBorders.d.ts +0 -1
- package/core/Table/__stories__/VerticalHeaders.d.ts +0 -1
- package/core/Table/__stories__/WithFloatingScroll.d.ts +0 -1
- package/core/Table/__stories__/WithHeader.d.ts +0 -1
- package/core/Table/__stories__/WithLoader.d.ts +0 -1
- package/core/Table/__stories__/ZebraProp.d.ts +0 -1
- package/core/Tabs/__stories__/Default.d.ts +0 -1
- package/core/TextArea/__stories__/Default.d.ts +0 -1
- package/core/TextArea/__stories__/DisabledInput.d.ts +0 -1
- package/core/TextArea/__stories__/LimitedCharacters.d.ts +0 -1
- package/core/TextArea/__stories__/MultipleQuestions.d.ts +0 -1
- package/core/TextArea/__stories__/WithDeclaredRows.d.ts +0 -1
- package/core/TextArea/__stories__/WithErrorMessage.d.ts +0 -1
- package/core/TextArea/__stories__/WithHint.d.ts +0 -1
- package/core/TextInput/__stories__/AskingForNumbers.d.ts +0 -1
- package/core/TextInput/__stories__/Default.d.ts +0 -1
- package/core/TextInput/__stories__/DisabledInput.d.ts +0 -1
- package/core/TextInput/__stories__/FixedWidths.d.ts +0 -1
- package/core/TextInput/__stories__/FluidWidths.d.ts +0 -1
- package/core/TextInput/__stories__/MultipleQuestions.d.ts +0 -1
- package/core/TextInput/__stories__/WithErrorMessage.d.ts +0 -1
- package/core/TextInput/__stories__/WithHint.d.ts +0 -1
- package/core/VisuallyHidden/__stories__/Default.d.ts +0 -1
- package/core/WarningText/__stories__/Default.d.ts +0 -1
- package/core/WarningText/index.spec.js +1 -3
- package/core/index.d.ts +4 -0
- package/core/index.js +56 -0
- package/es/admin/AutoComplete/__stories__/Default.js +1 -1
- package/es/admin/AutoComplete/__stories__/WithAutoSelect.js +13 -2
- package/es/admin/AutoComplete/__stories__/WithDefaultValue.js +1 -1
- package/es/admin/AutoComplete/__stories__/WithInLine.js +1 -1
- package/es/admin/AutoComplete/__stories__/WithMinLength.js +1 -1
- package/es/admin/AutoComplete/__stories__/WithPlaceHolder.js +1 -1
- package/es/admin/AutoComplete/__stories__/WithShowAllValues.js +1 -1
- package/es/admin/AutoComplete/__stories__/utils.js +6 -0
- package/es/admin/AutoComplete/index.js +6 -45
- package/es/admin/AutoComplete/utils.js +18 -5
- package/es/admin/Chip/index.js +2 -0
- package/es/admin/CopyToClipboard/index.js +2 -1
- package/es/admin/Drawer/Drawer.stories.js +2 -5
- package/es/admin/Drawer/__stories__/Default.js +13 -13
- package/es/admin/Drawer/index.js +1 -0
- package/es/admin/DropdownArrowDown/index.js +3 -0
- package/es/admin/StepNav/StepNav.stories.js +7 -0
- package/es/admin/StepNav/__stories__/Default.js +97 -0
- package/es/admin/StepNav/index.js +15 -0
- package/es/admin/index.js +3 -1
- package/es/app/App.js +5 -18
- package/es/app/Footer/Footer.stories.js +1 -0
- package/es/app/Footer/__stories__/DefaultCopyright.js +16 -0
- package/es/app/Footer/__stories__/FooterAllInclusive.js +9 -4
- package/es/app/Footer/__stories__/FooterWithLink.js +1 -1
- package/es/app/Footer/__stories__/FooterWithLogo.js +4 -2
- package/es/app/Header/__stories__/Default.js +2 -3
- package/es/app/Header/__stories__/WithNavigation.js +2 -3
- package/es/app/Header/__stories__/WithServiceName.js +2 -3
- package/es/app/Header/__stories__/WithServiceNameAndLogo.js +4 -4
- package/es/app/Header/index.spec.js +1 -2
- package/es/app/i18n.js +16 -2
- package/es/core/Base/index.js +3 -0
- package/es/core/Button/__stories__/GroupingButtons.js +1 -1
- package/es/core/Checkboxes/__stories__/NoneAnswerWithError.js +2 -2
- package/es/core/ErrorSummary/index.spec.js +2 -3
- package/es/core/FileUpload/__stories__/WithErrorMessage.js +2 -2
- package/es/core/Form/index.js +3 -0
- package/es/core/Label/index.js +4 -0
- package/es/core/Link/index.js +2 -1
- package/es/core/List/ListItemContent.js +9 -22
- package/es/core/List/ListItemIcon.js +9 -24
- package/es/core/List/ListItemText.js +6 -10
- package/es/core/List/ListItemTitle.js +6 -10
- package/es/core/List/index.spec.js +1 -2
- 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/NavVertical.js +3 -0
- package/es/core/NavList/NavVerticalItem.js +3 -0
- package/es/core/NavList/index.js +6 -1
- package/es/core/NavList/index.spec.js +1 -2
- package/es/core/NotificationBanner/index.spec.js +3 -4
- package/es/core/SkipLink/index.js +3 -0
- package/es/core/SummaryList/SummaryList.stories.js +2 -1
- package/es/core/SummaryList/__stories__/Default.js +5 -1
- package/es/core/SummaryList/__stories__/WithKeyAndAction.js +20 -0
- package/es/core/SvgIcon/index.js +1 -0
- package/es/core/WarningText/index.spec.js +1 -2
- package/es/core/index.js +4 -0
- package/es/govgr/Footer/Copyright.js +4 -3
- package/es/govgr/Footer/index.mdx +1 -1
- package/es/govgr/images/govgr-logo-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/minedu-logo-base64.js +1 -0
- package/es/layouts/Basic/Content/index.js +3 -1
- package/es/layouts/Basic/Side/index.js +2 -1
- package/es/layouts/Basic/__stories__/Default.js +2 -2
- package/es/layouts/Basic/index.js +2 -1
- package/es/locales/el.js +8 -1
- package/es/locales/en.js +6 -0
- package/es/registry.js +110 -90
- package/es/typography/Caption/index.js +2 -1
- package/es/typography/NormalText/__stories__/FontWeight.js +5 -5
- package/es/typography/Paragraph/__stories__/FontWeight.js +4 -4
- package/es/typography/Title/index.js +2 -1
- package/esm/admin/AutoComplete/__stories__/Default.js +1 -1
- package/esm/admin/AutoComplete/__stories__/WithAutoSelect.js +13 -2
- package/esm/admin/AutoComplete/__stories__/WithDefaultValue.js +1 -1
- package/esm/admin/AutoComplete/__stories__/WithInLine.js +1 -1
- package/esm/admin/AutoComplete/__stories__/WithMinLength.js +1 -1
- package/esm/admin/AutoComplete/__stories__/WithPlaceHolder.js +1 -1
- package/esm/admin/AutoComplete/__stories__/WithShowAllValues.js +1 -1
- package/esm/admin/AutoComplete/__stories__/utils.js +6 -0
- package/esm/admin/AutoComplete/index.js +6 -45
- package/esm/admin/AutoComplete/utils.js +18 -5
- package/esm/admin/Chip/index.js +2 -0
- package/esm/admin/CopyToClipboard/index.js +2 -1
- package/esm/admin/Drawer/Drawer.stories.js +2 -5
- package/esm/admin/Drawer/__stories__/Default.js +13 -13
- package/esm/admin/Drawer/index.js +1 -0
- package/esm/admin/DropdownArrowDown/index.js +3 -0
- package/esm/admin/StepNav/StepNav.stories.js +7 -0
- package/esm/admin/StepNav/__stories__/Default.js +97 -0
- package/esm/admin/StepNav/index.js +15 -0
- package/esm/admin/index.js +3 -1
- package/esm/app/App.js +5 -18
- package/esm/app/Footer/Footer.stories.js +1 -0
- package/esm/app/Footer/__stories__/DefaultCopyright.js +16 -0
- package/esm/app/Footer/__stories__/FooterAllInclusive.js +9 -4
- package/esm/app/Footer/__stories__/FooterWithLink.js +1 -1
- package/esm/app/Footer/__stories__/FooterWithLogo.js +4 -2
- package/esm/app/Header/__stories__/Default.js +2 -3
- package/esm/app/Header/__stories__/WithNavigation.js +2 -3
- package/esm/app/Header/__stories__/WithServiceName.js +2 -3
- package/esm/app/Header/__stories__/WithServiceNameAndLogo.js +4 -4
- package/esm/app/Header/index.spec.js +1 -2
- package/esm/app/i18n.js +16 -2
- package/esm/core/Base/index.js +3 -0
- package/esm/core/Button/__stories__/GroupingButtons.js +1 -1
- package/esm/core/Checkboxes/__stories__/NoneAnswerWithError.js +2 -2
- package/esm/core/ErrorSummary/index.spec.js +2 -3
- package/esm/core/FileUpload/__stories__/WithErrorMessage.js +2 -2
- package/esm/core/Form/index.js +3 -0
- package/esm/core/Label/index.js +4 -0
- package/esm/core/Link/index.js +2 -1
- package/esm/core/List/ListItemContent.js +9 -22
- package/esm/core/List/ListItemIcon.js +9 -24
- package/esm/core/List/ListItemText.js +6 -10
- package/esm/core/List/ListItemTitle.js +6 -10
- package/esm/core/List/index.spec.js +1 -2
- 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/NavVertical.js +3 -0
- package/esm/core/NavList/NavVerticalItem.js +3 -0
- package/esm/core/NavList/index.js +6 -1
- package/esm/core/NavList/index.spec.js +1 -2
- package/esm/core/NotificationBanner/index.spec.js +3 -4
- package/esm/core/SkipLink/index.js +3 -0
- package/esm/core/SummaryList/SummaryList.stories.js +2 -1
- package/esm/core/SummaryList/__stories__/Default.js +5 -1
- package/esm/core/SummaryList/__stories__/WithKeyAndAction.js +20 -0
- package/esm/core/SvgIcon/index.js +1 -0
- package/esm/core/WarningText/index.spec.js +1 -2
- package/esm/core/index.js +4 -0
- package/esm/govgr/Footer/Copyright.js +4 -3
- package/esm/govgr/Footer/index.mdx +1 -1
- package/esm/govgr/images/govgr-logo-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/minedu-logo-base64.js +1 -0
- package/esm/index.js +1 -1
- package/esm/layouts/Basic/Content/index.js +3 -1
- package/esm/layouts/Basic/Side/index.js +2 -1
- package/esm/layouts/Basic/__stories__/Default.js +2 -2
- package/esm/layouts/Basic/index.js +2 -1
- package/esm/locales/el.js +8 -1
- package/esm/locales/en.js +6 -0
- package/esm/registry.js +110 -90
- package/esm/typography/Caption/index.js +2 -1
- package/esm/typography/NormalText/__stories__/FontWeight.js +5 -5
- package/esm/typography/Paragraph/__stories__/FontWeight.js +4 -4
- package/esm/typography/Title/index.js +2 -1
- package/govgr/Footer/Copyright.js +4 -3
- package/govgr/Footer/index.mdx +1 -1
- package/govgr/images/govgr-logo-base64.d.ts +2 -0
- package/govgr/images/govgr-logo-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/govgr/images/minedu-logo-base64.d.ts +2 -0
- package/govgr/images/minedu-logo-base64.js +8 -0
- package/layouts/Basic/Content/index.d.ts +3 -1
- package/layouts/Basic/Content/index.js +6 -0
- package/layouts/Basic/Side/index.d.ts +3 -1
- package/layouts/Basic/Side/index.js +6 -0
- package/layouts/Basic/Top/index.d.ts +1 -1
- package/layouts/Basic/__stories__/Default.d.ts +2 -3
- package/layouts/Basic/__stories__/Default.js +4 -4
- package/layouts/Basic/__stories__/MultipleRowsLayout.d.ts +0 -1
- package/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.d.ts +0 -1
- package/layouts/Basic/index.d.ts +1 -0
- package/layouts/Basic/index.js +9 -1
- package/layouts/Grid/__stories__/Default.d.ts +0 -1
- package/layouts/Grid/__stories__/Inline.d.ts +0 -1
- package/locales/el.d.ts +7 -0
- package/locales/el.js +8 -1
- package/locales/en.d.ts +6 -0
- package/locales/en.js +6 -0
- package/package.json +4 -4
- package/registry.d.ts +54 -45
- package/registry.js +158 -129
- package/typography/Caption/__stories__/Default.d.ts +0 -1
- package/typography/Caption/__stories__/NestedToTitle.d.ts +0 -1
- package/typography/Caption/index.d.ts +3 -2
- package/typography/Caption/index.js +8 -1
- package/typography/Hint/__stories__/Default.d.ts +0 -1
- package/typography/Hint/__stories__/FontSizes.d.ts +0 -1
- package/typography/NormalText/__stories__/Default.d.ts +0 -1
- package/typography/NormalText/__stories__/FontSizes.d.ts +0 -1
- package/typography/NormalText/__stories__/FontWeight.d.ts +2 -3
- package/typography/NormalText/__stories__/FontWeight.js +4 -4
- package/typography/NormalText/__stories__/Variants.d.ts +0 -1
- package/typography/Paragraph/__stories__/Default.d.ts +0 -1
- package/typography/Paragraph/__stories__/FontSizes.d.ts +0 -1
- package/typography/Paragraph/__stories__/FontWeight.d.ts +2 -3
- package/typography/Paragraph/__stories__/FontWeight.js +4 -4
- package/typography/Paragraph/__stories__/LeadVariant.d.ts +0 -1
- package/typography/Paragraph/__stories__/SmallVariant.d.ts +0 -1
- package/typography/Title/__stories__/Default.d.ts +0 -1
- package/typography/Title/index.d.ts +2 -1
- package/typography/Title/index.js +6 -0
- package/admin/AutoComplete/AccesibleAutoComplete/index.d.ts +0 -5
- package/admin/AutoComplete/AccesibleAutoComplete/index.js +0 -106
- package/es/admin/AutoComplete/AccesibleAutoComplete/index.js +0 -87
- package/es/test-utils/mountWithTheme.js +0 -30
- package/es/themes/govgr.js +0 -79
- package/es/themes/index.js +0 -2
- package/esm/admin/AutoComplete/AccesibleAutoComplete/index.js +0 -87
- package/esm/test-utils/mountWithTheme.js +0 -30
- package/esm/themes/govgr.js +0 -79
- package/esm/themes/index.js +0 -2
- package/test-utils/mountWithTheme.d.ts +0 -3
- package/test-utils/mountWithTheme.js +0 -43
- package/themes/govgr.d.ts +0 -3
- package/themes/govgr.js +0 -89
- package/themes/index.d.ts +0 -32
- package/themes/index.js +0 -19
package/app/Header/index.spec.js
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
4
|
|
|
7
5
|
var React = _interopRequireWildcard(require("react"));
|
|
8
6
|
|
|
9
7
|
var _enzyme = require("enzyme");
|
|
10
8
|
|
|
11
|
-
var _mountWithTheme = _interopRequireDefault(require("@digigov/ui/test-utils/mountWithTheme"));
|
|
12
|
-
|
|
13
9
|
var _Header = _interopRequireWildcard(require("@digigov/ui/app/Header"));
|
|
14
10
|
|
|
15
11
|
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); }
|
|
@@ -28,7 +24,7 @@ var _ref = /*#__PURE__*/React.createElement(_Header["default"], null, /*#__PURE_
|
|
|
28
24
|
}, "A title"), /*#__PURE__*/React.createElement(_Header.HeaderSubtitle, null, "A subtitle"));
|
|
29
25
|
|
|
30
26
|
it('renders the header with logo, title and subtitle ', function () {
|
|
31
|
-
expect(
|
|
27
|
+
expect(_ref).toMatchSnapshot();
|
|
32
28
|
});
|
|
33
29
|
|
|
34
30
|
var _ref2 = /*#__PURE__*/React.createElement(_Header.HeaderTitle, null, "A title");
|
|
@@ -4,5 +4,5 @@ export interface PhaseBannerHeaderProps extends DivElementAttributes {
|
|
|
4
4
|
tag?: string;
|
|
5
5
|
text?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare const PhaseBannerHeader: React.ForwardRefExoticComponent<Pick<PhaseBannerHeaderProps, "
|
|
7
|
+
export declare const PhaseBannerHeader: React.ForwardRefExoticComponent<Pick<PhaseBannerHeaderProps, "slot" | "style" | "title" | "text" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "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" | "tag"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
8
|
export default PhaseBannerHeader;
|
package/app/i18n.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface I18NContextProps {
|
|
3
3
|
Trans?: any;
|
|
4
|
-
t: (str: string) => string;
|
|
4
|
+
t: (str: string, context?: any) => string;
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
i18n?: any;
|
|
7
7
|
}
|
|
8
|
-
export declare const defaultTranslate: (key: any) =>
|
|
8
|
+
export declare const defaultTranslate: (key: string, context?: Record<string, any> | undefined) => string;
|
|
9
9
|
export declare const I18NContext: React.Context<I18NContextProps>;
|
|
10
10
|
export declare const I18NProvider: React.FC<I18NContextProps>;
|
|
11
11
|
export declare const useTranslation: () => I18NContextProps;
|
package/app/i18n.js
CHANGED
|
@@ -17,11 +17,25 @@ var _el = _interopRequireDefault(require("@digigov/ui/locales/el"));
|
|
|
17
17
|
|
|
18
18
|
var _excluded = ["t", "children"];
|
|
19
19
|
|
|
20
|
-
var defaultTranslate = function defaultTranslate(key) {
|
|
20
|
+
var defaultTranslate = function defaultTranslate(key, context) {
|
|
21
21
|
try {
|
|
22
22
|
if (key.split('.').length > 0) {
|
|
23
23
|
return key.split('.').reduce(function (locale, path) {
|
|
24
|
-
|
|
24
|
+
if (locale[path]) {
|
|
25
|
+
if (typeof locale[path] === 'string' && context) {
|
|
26
|
+
var nextLocale = locale[path];
|
|
27
|
+
var matches = locale[path].match(/\{{(\w+)\}}/g) || [];
|
|
28
|
+
matches.forEach(function (match) {
|
|
29
|
+
var variable = match.replaceAll(/{|}/g, '');
|
|
30
|
+
nextLocale = nextLocale.replace(match, context[variable]);
|
|
31
|
+
});
|
|
32
|
+
return nextLocale;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return locale[path];
|
|
36
|
+
} else {
|
|
37
|
+
return key;
|
|
38
|
+
}
|
|
25
39
|
}, _el["default"]);
|
|
26
40
|
} else if (_el["default"][key]) {
|
|
27
41
|
return _el["default"][key];
|
|
@@ -6,13 +6,13 @@ import AccordionSectionSummaryHeading from '@digigov/react-core/AccordionSection
|
|
|
6
6
|
import AccordionSectionSummary from '@digigov/react-core/AccordionSectionSummary';
|
|
7
7
|
import AccordionControls from '@digigov/react-core/AccordionControls';
|
|
8
8
|
import { UseTogglableSectionsReturn } from '@digigov/ui/hooks/useTogglableSections';
|
|
9
|
-
export declare const AccordionSectionHeader: React.ForwardRefExoticComponent<Pick<import("@digigov/react-core/AccordionSectionHeader").AccordionSectionHeaderProps, "
|
|
10
|
-
export declare const AccordionItemDetails: React.ForwardRefExoticComponent<Pick<import("@digigov/react-core/AccordionSectionContent").AccordionSectionContentProps, "
|
|
9
|
+
export declare const AccordionSectionHeader: React.ForwardRefExoticComponent<Pick<import("@digigov/react-core/AccordionSectionHeader").AccordionSectionHeaderProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "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" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & React.RefAttributes<HTMLElement>>;
|
|
10
|
+
export declare const AccordionItemDetails: React.ForwardRefExoticComponent<Pick<import("@digigov/react-core/AccordionSectionContent").AccordionSectionContentProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "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" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
export declare const AccordionItemSummary: ({ children, ...props }: {
|
|
12
12
|
[x: string]: any;
|
|
13
13
|
children: any;
|
|
14
14
|
}) => JSX.Element;
|
|
15
|
-
export declare const AccordionItem: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<import("@digigov/react-core/AccordionSection").AccordionSectionProps, "
|
|
15
|
+
export declare const AccordionItem: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<import("@digigov/react-core/AccordionSection").AccordionSectionProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "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" | "open" | "onToggle" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & React.RefAttributes<HTMLDetailsElement>>>;
|
|
16
16
|
export interface UseAccordionProps {
|
|
17
17
|
singleOpen?: boolean;
|
|
18
18
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
Object.defineProperty(exports, "Base", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function get() {
|
|
11
|
+
return _Base["default"];
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
exports["default"] = void 0;
|
|
15
|
+
|
|
16
|
+
var _Base = _interopRequireDefault(require("@digigov/react-core/Base"));
|
|
17
|
+
|
|
18
|
+
var _default = _Base["default"];
|
|
19
|
+
exports["default"] = _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const Blockquote: import("react").ForwardRefExoticComponent<Pick<import("@digigov/react-core/Blockquote").BlockquoteProps, "
|
|
2
|
+
export declare const Blockquote: import("react").ForwardRefExoticComponent<Pick<import("@digigov/react-core/Blockquote").BlockquoteProps, "cite" | "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "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" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & import("react").RefAttributes<HTMLElement>>;
|
|
3
3
|
export default Blockquote;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const BackButton: import("react").ForwardRefExoticComponent<Pick<import("@digigov/react-core/BackLink").BackLinkProps, "
|
|
2
|
+
export declare const BackButton: import("react").ForwardRefExoticComponent<Pick<import("@digigov/react-core/BackLink").BackLinkProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "media" | "target" | "type" | "role" | "tabIndex" | "href" | "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" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
3
3
|
export default BackButton;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
};
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
export const title: string;
|
|
3
|
+
export { Button as component };
|
|
4
|
+
}
|
|
6
5
|
export default _default;
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
6
|
+
export * from "./__stories__/Primary";
|
|
7
|
+
export * from "./__stories__/Secondary";
|
|
8
|
+
export * from "./__stories__/Warning";
|
|
9
|
+
export * from "./__stories__/GroupingButtons";
|
|
10
|
+
export * from "./__stories__/GroupingButtonsAndLinks";
|
|
11
|
+
export * from "./__stories__/CallToActionButton";
|
|
12
|
+
export * from "./__stories__/Disabled";
|
|
13
|
+
export * from "./__stories__/ButtonLinkButton";
|
|
14
|
+
export * from "./__stories__/Back";
|
|
15
|
+
export * from "./__stories__/WithVariantLink";
|
|
16
|
+
import Button from "@digigov/ui/core/Button";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ButtonLinkProps as CoreButtonLinkProps } from '@digigov/react-core/ButtonLink';
|
|
3
3
|
export declare type ButtonLinkProps = CoreButtonLinkProps;
|
|
4
|
-
export declare const ButtonLink: import("react").ForwardRefExoticComponent<Pick<CoreButtonLinkProps, "
|
|
4
|
+
export declare const ButtonLink: import("react").ForwardRefExoticComponent<Pick<CoreButtonLinkProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "media" | "target" | "type" | "role" | "tabIndex" | "href" | "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" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
@@ -22,7 +22,7 @@ var _ref = /*#__PURE__*/_react["default"].createElement(_Button.ButtonGroup, nul
|
|
|
22
22
|
}, "\u0391\u03C0\u03BF\u03B8\u03AE\u03BA\u03B5\u03C5\u03C3\u03B7"));
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* My deescrition is the best description that was described
|
|
25
|
+
* My deescrition is the best description that was described
|
|
26
26
|
*/
|
|
27
27
|
var GroupingButtons = function GroupingButtons() {
|
|
28
28
|
return _ref;
|
package/core/Button/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ButtonProps as CoreButtonProps } from '@digigov/react-core/Button';
|
|
3
3
|
export declare type ButtonProps = CoreButtonProps;
|
|
4
|
-
export declare const Button: React.ForwardRefExoticComponent<Pick<CoreButtonProps, "
|
|
4
|
+
export declare const Button: React.ForwardRefExoticComponent<Pick<CoreButtonProps, "form" | "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "name" | "type" | "role" | "tabIndex" | "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" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden" | "variant"> & React.RefAttributes<HTMLButtonElement>>;
|
|
5
5
|
export default Button;
|
|
6
6
|
export interface ContinueButtonProps extends ButtonProps {
|
|
7
7
|
label?: string;
|