@digigov/ui 0.24.3 → 0.26.2
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 +39 -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/CopyToClipboard.stories.playwright.json +37 -0
- 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/Dropdown.stories.playwright.json +21 -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/Modal.stories.playwright.json +37 -0
- package/admin/Modal/__stories__/AlertDialog.d.ts +0 -1
- package/admin/Modal/__stories__/Default.d.ts +0 -1
- package/admin/Pagination/Pagination.stories.playwright.json +27 -0
- package/admin/Pagination/__stories__/Default.d.ts +0 -1
- package/admin/Pagination/index.d.ts +1 -1
- package/admin/StepNav/StepNav.stories.playwright.json +33 -0
- package/admin/StepNav/__stories__/Default.d.ts +0 -1
- package/admin/TaskList/__stories__/Default.d.ts +0 -1
- package/admin/Timeline/__stories__/Default.d.ts +0 -1
- package/admin/index.d.ts +1 -0
- package/admin/index.js +13 -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/Footer.stories.playwright.json +27 -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/Header.stories.playwright.json +33 -0
- 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/Accordion.stories.playwright.json +27 -0
- 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/BackLink.stories.playwright.json +21 -0
- 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/Breadcrumbs.stories.playwright.json +33 -0
- 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/Button.stories.playwright.json +93 -0
- 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/Card.stories.playwright.json +21 -0
- 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/Checkbox.stories.playwright.json +55 -0
- 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/DateInput.stories.playwright.json +61 -0
- 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/Details.stories.playwright.json +27 -0
- 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/ErrorSummary.stories.playwright.json +27 -0
- 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__/Default.js +1 -1
- package/core/FileUpload/__stories__/WithErrorMessage.d.ts +2 -3
- package/core/FileUpload/__stories__/WithErrorMessage.js +5 -5
- 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/Link.stories.playwright.json +65 -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/List.stories.playwright.json +27 -0
- 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/Masthead.stories.playwright.json +21 -0
- 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/NavList.stories.playwright.json +33 -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/NotificationBanner.stories.playwright.json +49 -0
- 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/PhaseBanner.stories.playwright.json +21 -0
- package/core/PhaseBanner/__stories__/Default.d.ts +0 -1
- package/core/PhaseBanner/__stories__/Underlined.d.ts +0 -1
- package/core/Radios/Radios.stories.playwright.json +49 -0
- 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/Select.stories.playwright.json +21 -0
- 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/SummaryList.stories.playwright.json +27 -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/Table.stories.playwright.json +21 -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/Tabs.stories.playwright.json +27 -0
- package/core/Tabs/__stories__/Default.d.ts +0 -1
- package/core/TextArea/TextArea.stories.playwright.json +59 -0
- 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/TextInput.stories.playwright.json +43 -0
- 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/CopyToClipboard.stories.playwright.json +37 -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/Dropdown/Dropdown.stories.playwright.json +21 -0
- package/es/admin/DropdownArrowDown/index.js +3 -0
- package/es/admin/Modal/Modal.stories.playwright.json +37 -0
- package/es/admin/Pagination/Pagination.stories.playwright.json +27 -0
- package/es/admin/StepNav/StepNav.stories.playwright.json +33 -0
- package/es/admin/index.js +1 -0
- package/es/app/App.js +5 -18
- package/es/app/Footer/Footer.stories.js +1 -0
- package/es/app/Footer/Footer.stories.playwright.json +27 -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/Header.stories.playwright.json +33 -0
- 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/Accordion/Accordion.stories.playwright.json +27 -0
- package/es/core/BackLink/BackLink.stories.playwright.json +21 -0
- package/es/core/Base/index.js +3 -0
- package/es/core/Breadcrumbs/Breadcrumbs.stories.playwright.json +33 -0
- package/es/core/Button/Button.stories.playwright.json +93 -0
- package/es/core/Button/__stories__/GroupingButtons.js +1 -1
- package/es/core/Card/Card.stories.playwright.json +21 -0
- package/es/core/Checkboxes/Checkbox.stories.playwright.json +55 -0
- package/es/core/Checkboxes/__stories__/NoneAnswerWithError.js +2 -2
- package/es/core/DateInput/DateInput.stories.playwright.json +61 -0
- package/es/core/Details/Details.stories.playwright.json +27 -0
- package/es/core/ErrorSummary/ErrorSummary.stories.playwright.json +27 -0
- package/es/core/ErrorSummary/index.spec.js +2 -3
- package/es/core/FileUpload/__stories__/Default.js +1 -1
- package/es/core/FileUpload/__stories__/WithErrorMessage.js +3 -3
- package/es/core/Form/index.js +3 -0
- package/es/core/Label/index.js +4 -0
- package/es/core/Link/Link.stories.playwright.json +65 -0
- package/es/core/Link/index.js +2 -1
- package/es/core/List/List.stories.playwright.json +27 -0
- 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/Masthead/Masthead.stories.playwright.json +21 -0
- package/es/core/NavList/NavHorizontal.js +3 -0
- package/es/core/NavList/NavHorizontalList.js +3 -0
- package/es/core/NavList/NavHorizontalListItem.js +3 -0
- package/es/core/NavList/NavList.stories.playwright.json +33 -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/NotificationBanner.stories.playwright.json +49 -0
- package/es/core/NotificationBanner/index.spec.js +3 -4
- package/es/core/PhaseBanner/PhaseBanner.stories.playwright.json +21 -0
- package/es/core/Radios/Radios.stories.playwright.json +49 -0
- package/es/core/Select/Select.stories.playwright.json +21 -0
- package/es/core/SkipLink/index.js +3 -0
- package/es/core/SummaryList/SummaryList.stories.js +2 -1
- package/es/core/SummaryList/SummaryList.stories.playwright.json +27 -0
- 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/Table/Table.stories.playwright.json +21 -0
- package/es/core/Tabs/Tabs.stories.playwright.json +27 -0
- package/es/core/TextArea/TextArea.stories.playwright.json +59 -0
- package/es/core/TextInput/TextInput.stories.playwright.json +43 -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/index.js +4 -0
- package/es/govgr/images/minedu-logo-base64.js +1 -0
- package/es/govgr/index.js +2 -1
- 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 +9 -2
- package/es/locales/en.js +7 -1
- package/es/registry.js +142 -114
- 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/CopyToClipboard.stories.playwright.json +37 -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/Dropdown/Dropdown.stories.playwright.json +21 -0
- package/esm/admin/DropdownArrowDown/index.js +3 -0
- package/esm/admin/Modal/Modal.stories.playwright.json +37 -0
- package/esm/admin/Pagination/Pagination.stories.playwright.json +27 -0
- package/esm/admin/StepNav/StepNav.stories.playwright.json +33 -0
- package/esm/admin/index.js +1 -0
- package/esm/app/App.js +5 -18
- package/esm/app/Footer/Footer.stories.js +1 -0
- package/esm/app/Footer/Footer.stories.playwright.json +27 -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/Header.stories.playwright.json +33 -0
- 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/Accordion/Accordion.stories.playwright.json +27 -0
- package/esm/core/BackLink/BackLink.stories.playwright.json +21 -0
- package/esm/core/Base/index.js +3 -0
- package/esm/core/Breadcrumbs/Breadcrumbs.stories.playwright.json +33 -0
- package/esm/core/Button/Button.stories.playwright.json +93 -0
- package/esm/core/Button/__stories__/GroupingButtons.js +1 -1
- package/esm/core/Card/Card.stories.playwright.json +21 -0
- package/esm/core/Checkboxes/Checkbox.stories.playwright.json +55 -0
- package/esm/core/Checkboxes/__stories__/NoneAnswerWithError.js +2 -2
- package/esm/core/DateInput/DateInput.stories.playwright.json +61 -0
- package/esm/core/Details/Details.stories.playwright.json +27 -0
- package/esm/core/ErrorSummary/ErrorSummary.stories.playwright.json +27 -0
- package/esm/core/ErrorSummary/index.spec.js +2 -3
- package/esm/core/FileUpload/__stories__/Default.js +1 -1
- package/esm/core/FileUpload/__stories__/WithErrorMessage.js +3 -3
- package/esm/core/Form/index.js +3 -0
- package/esm/core/Label/index.js +4 -0
- package/esm/core/Link/Link.stories.playwright.json +65 -0
- package/esm/core/Link/index.js +2 -1
- package/esm/core/List/List.stories.playwright.json +27 -0
- 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/Masthead/Masthead.stories.playwright.json +21 -0
- package/esm/core/NavList/NavHorizontal.js +3 -0
- package/esm/core/NavList/NavHorizontalList.js +3 -0
- package/esm/core/NavList/NavHorizontalListItem.js +3 -0
- package/esm/core/NavList/NavList.stories.playwright.json +33 -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/NotificationBanner.stories.playwright.json +49 -0
- package/esm/core/NotificationBanner/index.spec.js +3 -4
- package/esm/core/PhaseBanner/PhaseBanner.stories.playwright.json +21 -0
- package/esm/core/Radios/Radios.stories.playwright.json +49 -0
- package/esm/core/Select/Select.stories.playwright.json +21 -0
- package/esm/core/SkipLink/index.js +3 -0
- package/esm/core/SummaryList/SummaryList.stories.js +2 -1
- package/esm/core/SummaryList/SummaryList.stories.playwright.json +27 -0
- 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/Table/Table.stories.playwright.json +21 -0
- package/esm/core/Tabs/Tabs.stories.playwright.json +27 -0
- package/esm/core/TextArea/TextArea.stories.playwright.json +59 -0
- package/esm/core/TextInput/TextInput.stories.playwright.json +43 -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/index.js +4 -0
- package/esm/govgr/images/minedu-logo-base64.js +1 -0
- package/esm/govgr/index.js +2 -1
- 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 +9 -2
- package/esm/locales/en.js +7 -1
- package/esm/registry.js +142 -114
- 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/index.d.ts +4 -0
- package/govgr/images/index.js +57 -0
- package/govgr/images/minedu-logo-base64.d.ts +2 -0
- package/govgr/images/minedu-logo-base64.js +8 -0
- package/govgr/index.d.ts +1 -0
- package/govgr/index.js +13 -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 +8 -1
- package/locales/el.js +9 -2
- package/locales/en.d.ts +7 -1
- package/locales/en.js +7 -1
- package/package.json +4 -4
- package/registry.d.ts +70 -57
- package/registry.js +192 -151
- 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/core/NavList/index.js
CHANGED
|
@@ -65,4 +65,74 @@ Object.keys(_NavListContext).forEach(function (key) {
|
|
|
65
65
|
return _NavListContext[key];
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
var _NavHorizontal = require("@digigov/ui/core/NavList/NavHorizontal");
|
|
71
|
+
|
|
72
|
+
Object.keys(_NavHorizontal).forEach(function (key) {
|
|
73
|
+
if (key === "default" || key === "__esModule") return;
|
|
74
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
75
|
+
if (key in exports && exports[key] === _NavHorizontal[key]) return;
|
|
76
|
+
Object.defineProperty(exports, key, {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function get() {
|
|
79
|
+
return _NavHorizontal[key];
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
var _NavHorizontalList = require("@digigov/ui/core/NavList/NavHorizontalList");
|
|
85
|
+
|
|
86
|
+
Object.keys(_NavHorizontalList).forEach(function (key) {
|
|
87
|
+
if (key === "default" || key === "__esModule") return;
|
|
88
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
89
|
+
if (key in exports && exports[key] === _NavHorizontalList[key]) return;
|
|
90
|
+
Object.defineProperty(exports, key, {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function get() {
|
|
93
|
+
return _NavHorizontalList[key];
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
var _NavHorizontalListItem = require("@digigov/ui/core/NavList/NavHorizontalListItem");
|
|
99
|
+
|
|
100
|
+
Object.keys(_NavHorizontalListItem).forEach(function (key) {
|
|
101
|
+
if (key === "default" || key === "__esModule") return;
|
|
102
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
103
|
+
if (key in exports && exports[key] === _NavHorizontalListItem[key]) return;
|
|
104
|
+
Object.defineProperty(exports, key, {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function get() {
|
|
107
|
+
return _NavHorizontalListItem[key];
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
var _NavVertical = require("@digigov/ui/core/NavList/NavVertical");
|
|
113
|
+
|
|
114
|
+
Object.keys(_NavVertical).forEach(function (key) {
|
|
115
|
+
if (key === "default" || key === "__esModule") return;
|
|
116
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
117
|
+
if (key in exports && exports[key] === _NavVertical[key]) return;
|
|
118
|
+
Object.defineProperty(exports, key, {
|
|
119
|
+
enumerable: true,
|
|
120
|
+
get: function get() {
|
|
121
|
+
return _NavVertical[key];
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
});
|
|
125
|
+
|
|
126
|
+
var _NavVerticalItem = require("@digigov/ui/core/NavList/NavVerticalItem");
|
|
127
|
+
|
|
128
|
+
Object.keys(_NavVerticalItem).forEach(function (key) {
|
|
129
|
+
if (key === "default" || key === "__esModule") return;
|
|
130
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
131
|
+
if (key in exports && exports[key] === _NavVerticalItem[key]) return;
|
|
132
|
+
Object.defineProperty(exports, key, {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function get() {
|
|
135
|
+
return _NavVerticalItem[key];
|
|
136
|
+
}
|
|
137
|
+
});
|
|
68
138
|
});
|
|
@@ -6,8 +6,6 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
|
6
6
|
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
8
|
|
|
9
|
-
var _mountWithTheme = _interopRequireDefault(require("@digigov/ui/test-utils/mountWithTheme"));
|
|
10
|
-
|
|
11
9
|
var _NavList = _interopRequireDefault(require("@digigov/ui/core/NavList"));
|
|
12
10
|
|
|
13
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); }
|
|
@@ -17,5 +15,5 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
17
15
|
var _ref = /*#__PURE__*/React.createElement(_NavList["default"], null, "this is some random warning text");
|
|
18
16
|
|
|
19
17
|
it('renders the ErrorSummary with sample data', function () {
|
|
20
|
-
expect(
|
|
18
|
+
expect(_ref).toMatchSnapshot();
|
|
21
19
|
});
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-core-notificationbanner--default": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "hover",
|
|
10
|
+
"args": {
|
|
11
|
+
"selector": "html>body>div:nth-child(5)>div>div:nth-child(2)>h3>a"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "click",
|
|
16
|
+
"args": {
|
|
17
|
+
"selector": "html>body>div:nth-child(5)>div>div:nth-child(2)>h3>a"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"id": "dYDf1Q2XBX7X",
|
|
22
|
+
"title": "Hover and click"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"digigov-ui-core-notificationbanner--success": {
|
|
27
|
+
"actionSets": [
|
|
28
|
+
{
|
|
29
|
+
"actions": [
|
|
30
|
+
{
|
|
31
|
+
"name": "hover",
|
|
32
|
+
"args": {
|
|
33
|
+
"selector": "html>body>div:nth-child(5)>div>div:nth-child(2)>h3>a"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "click",
|
|
38
|
+
"args": {
|
|
39
|
+
"selector": "html>body>div:nth-child(5)>div>div:nth-child(2)>h3>a"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"id": "ez4xB9-sspYz",
|
|
44
|
+
"title": "Hover and click"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -6,8 +6,6 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
|
6
6
|
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
8
|
|
|
9
|
-
var _mountWithTheme = _interopRequireDefault(require("@digigov/ui/test-utils/mountWithTheme"));
|
|
10
|
-
|
|
11
9
|
var _NotificationBanner = _interopRequireDefault(require("@digigov/ui/core/NotificationBanner"));
|
|
12
10
|
|
|
13
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); }
|
|
@@ -19,14 +17,14 @@ var _ref = /*#__PURE__*/React.createElement(_NotificationBanner["default"], {
|
|
|
19
17
|
}, "this is a notification");
|
|
20
18
|
|
|
21
19
|
it('renders the notification banner', function () {
|
|
22
|
-
expect(
|
|
20
|
+
expect(_ref).toMatchSnapshot();
|
|
23
21
|
});
|
|
24
22
|
it('renders the notification banner with title and link', function () {
|
|
25
|
-
expect(
|
|
23
|
+
expect( /*#__PURE__*/React.createElement(_NotificationBanner["default"], {
|
|
26
24
|
title: "Notification Banner Example",
|
|
27
25
|
link: {
|
|
28
26
|
href: '/',
|
|
29
27
|
label: 'This is a label'
|
|
30
28
|
}
|
|
31
|
-
}, "this is a notification"))
|
|
29
|
+
}, "this is a notification")).toMatchSnapshot();
|
|
32
30
|
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-core-phasebanner--default": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "keyboard.press",
|
|
10
|
+
"args": {
|
|
11
|
+
"key": "Tab"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"id": "b1ldT3RjaFfg",
|
|
16
|
+
"title": "pressing Tab"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-core-radios--default": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "keyboard.press",
|
|
10
|
+
"args": {
|
|
11
|
+
"key": "Tab"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "keyboard.press",
|
|
16
|
+
"args": {
|
|
17
|
+
"key": "Space"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "keyboard.press",
|
|
22
|
+
"args": {
|
|
23
|
+
"key": "ArrowDown"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"id": "ihfl6FqwhAee",
|
|
28
|
+
"title": "Navigate with keyboard"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"digigov-ui-core-radios--with-hints": {
|
|
33
|
+
"actionSets": [
|
|
34
|
+
{
|
|
35
|
+
"actions": [
|
|
36
|
+
{
|
|
37
|
+
"name": "click",
|
|
38
|
+
"args": {
|
|
39
|
+
"selector": "html>body>div:nth-child(5)>div>fieldset>div>div:nth-child(1)>label>input"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"id": "FgKax2U7F5gE",
|
|
44
|
+
"title": "Click first"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-core-select--default": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "click",
|
|
10
|
+
"args": {
|
|
11
|
+
"selector": "html>body>div:nth-child(5)>div>label>select"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"id": "r12umQc21tgb",
|
|
16
|
+
"title": "Select with mouse"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -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, "SkipLink", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function get() {
|
|
11
|
+
return _SkipLink["default"];
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
exports["default"] = void 0;
|
|
15
|
+
|
|
16
|
+
var _SkipLink = _interopRequireDefault(require("@digigov/react-core/SkipLink"));
|
|
17
|
+
|
|
18
|
+
var _default = _SkipLink["default"];
|
|
19
|
+
exports["default"] = _default;
|
|
@@ -52,6 +52,20 @@ Object.keys(_WithoutBorders).forEach(function (key) {
|
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
|
|
55
|
+
var _WithKeyAndAction = require("./__stories__/WithKeyAndAction");
|
|
56
|
+
|
|
57
|
+
Object.keys(_WithKeyAndAction).forEach(function (key) {
|
|
58
|
+
if (key === "default" || key === "__esModule") return;
|
|
59
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
60
|
+
if (key in exports && exports[key] === _WithKeyAndAction[key]) return;
|
|
61
|
+
Object.defineProperty(exports, key, {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
get: function get() {
|
|
64
|
+
return _WithKeyAndAction[key];
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
|
|
55
69
|
/* eslint-disable digigov/no-relative-imports */
|
|
56
70
|
var _default = {
|
|
57
71
|
title: 'Digigov UI/core/SummaryList',
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-core-summarylist--with-actions": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "keyboard.press",
|
|
10
|
+
"args": {
|
|
11
|
+
"key": "Tab"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "keyboard.press",
|
|
16
|
+
"args": {
|
|
17
|
+
"key": "Tab"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"id": "vjxfIQ17JwqS",
|
|
22
|
+
"title": "Navigate with keyboard"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -13,11 +13,17 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
13
13
|
|
|
14
14
|
var _SummaryList = _interopRequireWildcard(require("@digigov/ui/core/SummaryList"));
|
|
15
15
|
|
|
16
|
+
var _VisuallyHidden = _interopRequireDefault(require("@digigov/ui/core/VisuallyHidden"));
|
|
17
|
+
|
|
18
|
+
var _Link = _interopRequireDefault(require("@digigov/ui/core/Link"));
|
|
19
|
+
|
|
16
20
|
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); }
|
|
17
21
|
|
|
18
22
|
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; }
|
|
19
23
|
|
|
20
|
-
var _ref = /*#__PURE__*/_react["default"].createElement(_SummaryList["default"], null, /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItem, null, /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItemKey, null, "\u038C\u03BD\u03BF\u03BC\u03B1"), /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItemValue, null, "\u0393\u03B9\u03CE\u03C1\u03B3\u03BF\u03C2 \u03A0\u03B1\u03C0\u03B1\u03B4\u03CC\u03C0\u03BF\u03C5\u03BB\u03BF\u03C2")), /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItem, null, /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItemKey, null, "\u0394\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7"), /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItemValue, null, "\u03A4\u03AC\u03B4\u03B5 20, \u03A0\u03B1\u03C4\u03AE\u03C3\u03B9\u03B1"), /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItemAction, null
|
|
24
|
+
var _ref = /*#__PURE__*/_react["default"].createElement(_SummaryList["default"], null, /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItem, null, /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItemKey, null, "\u038C\u03BD\u03BF\u03BC\u03B1"), /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItemValue, null, "\u0393\u03B9\u03CE\u03C1\u03B3\u03BF\u03C2 \u03A0\u03B1\u03C0\u03B1\u03B4\u03CC\u03C0\u03BF\u03C5\u03BB\u03BF\u03C2")), /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItem, null, /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItemKey, null, "\u0394\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7"), /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItemValue, null, "\u03A4\u03AC\u03B4\u03B5 20, \u03A0\u03B1\u03C4\u03AE\u03C3\u03B9\u03B1"), /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItemAction, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
25
|
+
href: "#"
|
|
26
|
+
}, "\u0391\u03BB\u03BB\u03B1\u03B3\u03AE", /*#__PURE__*/_react["default"].createElement(_VisuallyHidden["default"], null, "\u0394\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7\u03C2")))), /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItem, null, /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItemKey, null, "\u03A4\u03B7\u03BB\u03AD\u03C6\u03C9\u03BD\u03BF"), /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItemValue, null, "6941234567")));
|
|
21
27
|
|
|
22
28
|
var Default = function Default() {
|
|
23
29
|
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, _ref);
|
|
@@ -0,0 +1,42 @@
|
|
|
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.WithKeyAndAction = void 0;
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _SummaryList = _interopRequireWildcard(require("@digigov/ui/core/SummaryList"));
|
|
15
|
+
|
|
16
|
+
var _VisuallyHidden = _interopRequireDefault(require("@digigov/ui/core/VisuallyHidden"));
|
|
17
|
+
|
|
18
|
+
var _Link = _interopRequireDefault(require("@digigov/ui/core/Link"));
|
|
19
|
+
|
|
20
|
+
var _core = require("@digigov/ui/core");
|
|
21
|
+
|
|
22
|
+
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); }
|
|
23
|
+
|
|
24
|
+
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; }
|
|
25
|
+
|
|
26
|
+
var _ref = /*#__PURE__*/_react["default"].createElement(_SummaryList["default"], null, /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItem, null, /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItemKey, null, "\u038C\u03BD\u03BF\u03BC\u03B1"), /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItemAction, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
27
|
+
href: "#"
|
|
28
|
+
}, "\u0391\u03BB\u03BB\u03B1\u03B3\u03AE", /*#__PURE__*/_react["default"].createElement(_VisuallyHidden["default"], null, "\u039F\u03BD\u03CC\u03BC\u03B1\u03C4\u03BF\u03C2")))), /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItem, null, /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItemKey, null, "\u0394\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7"), /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItemAction, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
29
|
+
href: "#"
|
|
30
|
+
}, "\u0391\u03BB\u03BB\u03B1\u03B3\u03AE", /*#__PURE__*/_react["default"].createElement(_VisuallyHidden["default"], null, "\u0394\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7\u03C2")))), /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItem, null, /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItemKey, null, "\u03A4\u03B7\u03BB\u03AD\u03C6\u03C9\u03BD\u03BF"), /*#__PURE__*/_react["default"].createElement(_SummaryList.SummaryListItemAction, null, /*#__PURE__*/_react["default"].createElement(_core.ButtonGroup, null, /*#__PURE__*/_react["default"].createElement(_core.Button, {
|
|
31
|
+
variant: "link"
|
|
32
|
+
}, "\u0391\u03BB\u03BB\u03B1\u03B3\u03AE ", /*#__PURE__*/_react["default"].createElement(_VisuallyHidden["default"], null, "\u03C4\u03B7\u03BB\u03B5\u03C6\u03CE\u03BD\u03BF\u03C5")), /*#__PURE__*/_react["default"].createElement(_core.Button, {
|
|
33
|
+
variant: "link"
|
|
34
|
+
}, "\u0394\u03B9\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE ", /*#__PURE__*/_react["default"].createElement(_VisuallyHidden["default"], null, "\u03C4\u03B7\u03BB\u03B5\u03C6\u03CE\u03BD\u03BF\u03C5"))))));
|
|
35
|
+
|
|
36
|
+
var WithKeyAndAction = function WithKeyAndAction() {
|
|
37
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, _ref);
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
exports.WithKeyAndAction = WithKeyAndAction;
|
|
41
|
+
var _default = WithKeyAndAction;
|
|
42
|
+
exports["default"] = _default;
|
package/core/SvgIcon/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from '@digigov/react-core/SvgIcon';
|
|
|
2
2
|
export * from '@digigov/react-core/ArrowIcon';
|
|
3
3
|
export * from '@digigov/react-core/CaretIcon';
|
|
4
4
|
export * from '@digigov/react-core/UncheckIcon';
|
|
5
|
+
export * from '@digigov/react-core/CheckIcon';
|
|
5
6
|
export * from '@digigov/react-core/CloseIcon';
|
|
6
7
|
export * from '@digigov/react-core/MoreVertIcon';
|
|
7
8
|
export * from '@digigov/react-core/BurgerIcon';
|
package/core/SvgIcon/index.js
CHANGED
|
@@ -64,6 +64,20 @@ Object.keys(_UncheckIcon).forEach(function (key) {
|
|
|
64
64
|
});
|
|
65
65
|
});
|
|
66
66
|
|
|
67
|
+
var _CheckIcon = require("@digigov/react-core/CheckIcon");
|
|
68
|
+
|
|
69
|
+
Object.keys(_CheckIcon).forEach(function (key) {
|
|
70
|
+
if (key === "default" || key === "__esModule") return;
|
|
71
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
72
|
+
if (key in exports && exports[key] === _CheckIcon[key]) return;
|
|
73
|
+
Object.defineProperty(exports, key, {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function get() {
|
|
76
|
+
return _CheckIcon[key];
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
});
|
|
80
|
+
|
|
67
81
|
var _CloseIcon = require("@digigov/react-core/CloseIcon");
|
|
68
82
|
|
|
69
83
|
Object.keys(_CloseIcon).forEach(function (key) {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "4",
|
|
3
|
+
"stories": {
|
|
4
|
+
"digigov-ui-core-table--with-loader": {
|
|
5
|
+
"actionSets": [
|
|
6
|
+
{
|
|
7
|
+
"actions": [
|
|
8
|
+
{
|
|
9
|
+
"name": "click",
|
|
10
|
+
"args": {
|
|
11
|
+
"selector": "html>body>div:nth-child(5)>div>button"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"id": "pJkd6uCc33pr",
|
|
16
|
+
"title": "Toggle Loading"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|