@digigov/ui 0.35.3 → 0.35.5
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 +20 -3
- package/admin/AccessibilityMenu/index.d.ts +4 -4
- package/admin/AccessibilityMenu/index.js +23 -23
- package/admin/AutoComplete/Status/index.d.ts +1 -1
- package/admin/AutoComplete/Status/index.js +2 -2
- package/admin/AutoComplete/__stories__/Default.js +2 -2
- package/admin/AutoComplete/__stories__/WithAutoSelect.js +2 -2
- package/admin/AutoComplete/__stories__/WithDefaultValue.js +2 -2
- package/admin/AutoComplete/__stories__/WithInLine.js +2 -2
- package/admin/AutoComplete/__stories__/WithMinLength.js +2 -2
- package/admin/AutoComplete/__stories__/WithPlaceHolder.js +2 -2
- package/admin/AutoComplete/__stories__/WithShowAllValues.js +2 -2
- package/admin/AutoComplete/index.d.ts +4 -4
- package/admin/AutoComplete/index.js +6 -12
- package/admin/Chip/Chip.stories.d.ts +12 -0
- package/admin/Chip/Chip.stories.js +88 -0
- package/admin/Chip/__stories__/ClickableChip.d.ts +2 -0
- package/admin/Chip/__stories__/ClickableChip.js +24 -0
- package/admin/Chip/__stories__/ClickableDeletableChip.d.ts +2 -0
- package/admin/Chip/__stories__/ClickableDeletableChip.js +27 -0
- package/admin/Chip/__stories__/Default.d.ts +2 -0
- package/admin/Chip/__stories__/Default.js +22 -0
- package/admin/Chip/__stories__/DeletableChip.d.ts +2 -0
- package/admin/Chip/__stories__/DeletableChip.js +24 -0
- package/admin/Chip/__stories__/GroupOfChips.d.ts +2 -0
- package/admin/Chip/__stories__/GroupOfChips.js +28 -0
- package/admin/Chip/index.d.ts +0 -1
- package/admin/Chip/index.js +0 -14
- package/admin/CircularProgress/__stories__/Default.js +2 -2
- package/admin/CopyToClipboard/index.js +2 -2
- package/admin/Drawer/__stories__/Default.js +2 -2
- package/admin/Dropdown/__stories__/AlignRight.js +5 -5
- package/admin/Dropdown/__stories__/Default.js +5 -5
- package/admin/Dropdown/__stories__/PlacementTop.js +5 -5
- package/admin/Dropdown/index.d.ts +1 -1
- package/admin/Modal/__stories__/Default.js +2 -2
- package/admin/Modal/index.d.ts +2 -2
- package/admin/Pagination/Pagination.stories.d.ts +1 -0
- package/admin/Pagination/Pagination.stories.js +14 -0
- package/admin/Pagination/__stories__/Default.js +2 -2
- package/admin/Pagination/__stories__/PaginationSmall.js +2 -2
- package/admin/Pagination/__stories__/PaginationWithSmallFont.d.ts +2 -0
- package/admin/Pagination/__stories__/PaginationWithSmallFont.js +62 -0
- package/admin/Pagination/index.d.ts +2 -2
- package/admin/Pagination/index.js +4 -4
- package/admin/StepNav/__stories__/Default.js +9 -11
- package/admin/StepNav/index.d.ts +7 -9
- package/admin/StepNav/index.js +10 -26
- package/admin/TaskList/__stories__/Default.js +2 -2
- package/admin/Timeline/__stories__/Default.js +5 -5
- package/api/index.spec.js +4 -4
- package/api/useResource.js +2 -2
- package/api/useResourceAction.js +2 -2
- package/api/useResourceQuery.js +2 -2
- package/api/utils.d.ts +1 -1
- package/app/BottomInfoContainer/index.d.ts +1 -1
- package/app/BottomInfoContent/index.d.ts +1 -1
- package/app/Footer/__stories__/DefaultCopyright.js +4 -4
- package/app/Footer/__stories__/FooterAllInclusive.js +4 -4
- package/app/Footer/__stories__/FooterWithLink.js +5 -5
- package/app/Footer/__stories__/FooterWithLogo.js +4 -4
- package/app/Footer/__stories__/FooterWithSecondaryNavigation.js +4 -4
- package/app/Footer/__stories__/YearCopyright.js +4 -4
- package/app/Header/Header.stories.playwright.json +16 -0
- package/app/Header/__stories__/Default.js +2 -2
- package/app/Header/__stories__/WithHeaderNavigation.js +7 -7
- package/app/Header/__stories__/WithNavigation.js +6 -6
- package/app/Header/__stories__/WithServiceName.js +3 -3
- package/app/Header/__stories__/WithServiceNameAndLogo.js +4 -4
- package/app/OutdatedBrowserBanner.js +5 -5
- package/app/PhaseBannerHeader/index.js +2 -2
- package/app/QrCodeScanner/__stories__/Default.js +2 -2
- package/app/ThemeOptionsForm/index.js +4 -4
- package/app/ThemePaletteForm/index.js +2 -2
- package/core/Accordion/__stories__/Default.js +2 -2
- package/core/Accordion/__stories__/WithHints.js +4 -4
- package/core/Accordion/index.d.ts +5 -5
- package/core/Accordion/index.js +20 -20
- package/core/Button/BackButton.d.ts +1 -1
- package/core/Card/__stories__/Default.js +2 -2
- package/core/Card/__stories__/WithDarkBorder.js +2 -2
- package/core/Card/__stories__/WithDarkTopBorder.js +2 -2
- package/core/Card/__stories__/WithDivider.js +2 -2
- package/core/Card/__stories__/WithGrayBorder.js +2 -2
- package/core/Card/__stories__/WithGrayTopBorder.js +2 -2
- package/core/Card/__stories__/WithGroupButton.js +2 -2
- package/core/Checkbox/__stories__/ConditionalReveal.js +4 -4
- package/core/Checkbox/__stories__/Default.js +3 -3
- package/core/Checkbox/__stories__/MultipleQuestions.js +3 -3
- package/core/Checkbox/__stories__/NoneAnswer.js +3 -4
- package/core/Checkbox/__stories__/NoneAnswerWithError.js +9 -10
- package/core/Checkbox/__stories__/WithErrorMessage.js +7 -7
- package/core/Checkbox/__stories__/WithHint.js +6 -6
- package/core/DateInputContainer/__stories__/WithErrorMessage.js +4 -4
- package/core/DateInputContainer/__stories__/WithErrorMessageForSingleField.js +4 -4
- package/core/Divider/index.d.ts +2 -1
- package/core/Divider/index.js +16 -0
- package/core/ErrorMessage/__stories__/Default.js +3 -3
- package/core/ErrorSummary/__stories__/Default.js +2 -2
- package/core/ErrorSummary/__stories__/LinkedToCheckbox.js +7 -7
- package/core/ErrorSummary/__stories__/LinkedToField.js +7 -7
- package/core/ErrorSummary/__stories__/LinkedToInput.js +7 -7
- package/core/FileUpload/__stories__/Default.js +2 -2
- package/core/FileUpload/__stories__/WithErrorMessage.js +4 -4
- package/core/Link/__stories__/DarkBackground.js +2 -2
- package/core/Link/__stories__/DarkBackgroundNoUnderline.js +2 -2
- package/core/List/ListItemTitle.d.ts +1 -1
- package/core/List/ListItemTitle.js +2 -2
- package/core/List/__stories__/Default.js +2 -2
- package/core/Masthead/__stories__/Default.js +4 -4
- package/core/NavList/NavListAuto/NavListAuto.js +2 -2
- package/core/NavList/NavListAuto/NavListContextAuto.d.ts +1 -1
- package/core/NavList/NavListAuto/NavListContextAuto.js +2 -2
- package/core/NavList/NavListAuto/NavListItemAnchorAuto.js +2 -2
- package/core/NavList/NavListAuto/NavListItemButtonAuto.js +3 -3
- package/core/NavList/NavListAuto/NavListMenuAuto.js +3 -3
- package/core/NavList/NavListItemBase.js +4 -4
- package/core/NavList/__stories__/Default.js +2 -2
- package/core/NavList/__stories__/NavVerticalLayout.js +2 -2
- package/core/NavList/types.d.ts +1 -1
- package/core/NotificationBanner/index.d.ts +1 -1
- package/core/NotificationBanner/index.js +2 -2
- package/core/PhaseBanner/__stories__/Default.js +2 -2
- package/core/PhaseBanner/__stories__/Underlined.js +2 -2
- package/core/RadioContainer/__stories__/ConditionalReveal.js +2 -2
- package/core/RadioContainer/__stories__/Default.js +2 -2
- package/core/RadioContainer/__stories__/Inline.js +2 -2
- package/core/RadioContainer/__stories__/MultipleQuestions.js +2 -2
- package/core/RadioContainer/__stories__/NoneAnswer.js +10 -11
- package/core/RadioContainer/__stories__/WithErrorMessage.js +8 -8
- package/core/RadioContainer/__stories__/WithHints.js +2 -2
- package/core/SelectContainer/__stories__/Default.js +2 -2
- package/core/SelectContainer/__stories__/DisabledInput.js +2 -2
- package/core/SelectContainer/__stories__/WithHint.js +2 -2
- package/core/ServiceBadge/index.js +2 -2
- package/core/SingleCharacterInputContainer/__stories__/Default.js +2 -2
- package/core/SingleCharacterInputContainer/__stories__/WithDefaultError.js +4 -4
- package/core/SingleCharacterInputContainer/__stories__/WithErrorMessageInvalidCode.js +4 -4
- package/core/SingleCharacterInputContainer/__stories__/WithErrorMessageLessDigit.js +4 -4
- package/core/SummaryList/__stories__/Default.js +2 -2
- package/core/SummaryList/__stories__/RowVariations.js +2 -2
- package/core/SummaryList/__stories__/WithActions.js +4 -4
- package/core/SummaryList/__stories__/WithKeyAndAction.js +4 -4
- package/core/Table/__stories__/WithFloatingScroll.js +2 -2
- package/core/Table/__stories__/WithLoader.js +4 -4
- package/core/Table/index.d.ts +1 -1
- package/core/Table/index.js +2 -2
- package/core/Tabs/__stories__/Default.js +5 -5
- package/core/TextArea/__stories__/DisabledInput.js +2 -2
- package/core/TextArea/__stories__/LimitedCharacters.js +2 -2
- package/core/TextArea/__stories__/MultipleQuestions.js +2 -2
- package/core/TextArea/__stories__/WithDeclaredRows.js +2 -2
- package/core/TextArea/__stories__/WithErrorMessage.js +4 -4
- package/core/TextArea/__stories__/WithHint.js +2 -2
- package/core/TextInput/__stories__/AskingForNumbers.js +2 -2
- package/core/TextInput/__stories__/Default.js +2 -2
- package/core/TextInput/__stories__/DisabledInput.js +2 -2
- package/core/TextInput/__stories__/FixedWidths.js +2 -2
- package/core/TextInput/__stories__/FluidWidths.js +2 -2
- package/core/TextInput/__stories__/MultipleQuestions.js +2 -2
- package/core/TextInput/__stories__/WithErrorMessage.js +3 -3
- package/core/TextInput/__stories__/WithHint.js +2 -2
- package/core/VisuallyHidden/__stories__/Default.js +4 -4
- package/es/admin/AccessibilityMenu/index.js +3 -3
- package/es/admin/AutoComplete/Status/index.js +1 -1
- package/es/admin/AutoComplete/__stories__/Default.js +1 -1
- package/es/admin/AutoComplete/__stories__/WithAutoSelect.js +1 -1
- 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/index.js +8 -6
- package/es/admin/Chip/Chip.stories.js +12 -0
- package/es/admin/Chip/__stories__/ClickableChip.js +10 -0
- package/es/admin/Chip/__stories__/ClickableDeletableChip.js +13 -0
- package/es/admin/Chip/__stories__/Default.js +9 -0
- package/es/admin/Chip/__stories__/DeletableChip.js +10 -0
- package/es/admin/Chip/__stories__/GroupOfChips.js +9 -0
- package/es/admin/Chip/index.js +0 -1
- package/es/admin/CircularProgress/__stories__/Default.js +1 -1
- package/es/admin/CopyToClipboard/index.js +1 -1
- package/es/admin/Drawer/__stories__/Default.js +3 -2
- package/es/admin/Dropdown/__stories__/AlignRight.js +5 -4
- package/es/admin/Dropdown/__stories__/Default.js +5 -4
- package/es/admin/Dropdown/__stories__/PlacementTop.js +5 -4
- package/es/admin/Modal/__stories__/Default.js +1 -1
- package/es/admin/Pagination/Pagination.stories.js +2 -1
- package/es/admin/Pagination/__stories__/Default.js +2 -2
- package/es/admin/Pagination/__stories__/PaginationSmall.js +2 -2
- package/es/admin/Pagination/__stories__/PaginationWithSmallFont.js +44 -0
- package/es/admin/Pagination/index.js +2 -2
- package/es/admin/StepNav/__stories__/Default.js +9 -11
- package/es/admin/StepNav/index.js +7 -9
- package/es/admin/TaskList/__stories__/Default.js +1 -1
- package/es/admin/Timeline/__stories__/Default.js +3 -3
- package/es/api/index.spec.js +2 -2
- package/es/api/useResource.js +2 -2
- package/es/api/useResourceAction.js +1 -1
- package/es/api/useResourceQuery.js +1 -1
- package/es/app/Footer/__stories__/DefaultCopyright.js +3 -2
- package/es/app/Footer/__stories__/FooterAllInclusive.js +5 -4
- package/es/app/Footer/__stories__/FooterWithLink.js +4 -3
- package/es/app/Footer/__stories__/FooterWithLogo.js +4 -3
- package/es/app/Footer/__stories__/FooterWithSecondaryNavigation.js +5 -4
- package/es/app/Footer/__stories__/YearCopyright.js +3 -2
- package/es/app/Header/Header.stories.playwright.json +16 -0
- package/es/app/Header/__stories__/Default.js +1 -1
- package/es/app/Header/__stories__/WithHeaderNavigation.js +5 -4
- package/es/app/Header/__stories__/WithNavigation.js +3 -3
- package/es/app/Header/__stories__/WithServiceName.js +2 -2
- package/es/app/Header/__stories__/WithServiceNameAndLogo.js +2 -2
- package/es/app/Header/index.spec.js +1 -1
- package/es/app/OutdatedBrowserBanner.js +3 -3
- package/es/app/PhaseBannerHeader/index.js +1 -1
- package/es/app/QrCodeScanner/__stories__/Default.js +1 -1
- package/es/app/ThemeOptionsForm/index.js +3 -3
- package/es/app/ThemePaletteForm/index.js +1 -1
- package/es/core/Accordion/__stories__/Default.js +1 -1
- package/es/core/Accordion/__stories__/WithHints.js +2 -2
- package/es/core/Accordion/index.js +3 -3
- package/es/core/Card/__stories__/Default.js +1 -1
- package/es/core/Card/__stories__/WithDarkBorder.js +1 -1
- package/es/core/Card/__stories__/WithDarkTopBorder.js +1 -1
- package/es/core/Card/__stories__/WithDivider.js +1 -1
- package/es/core/Card/__stories__/WithGrayBorder.js +1 -1
- package/es/core/Card/__stories__/WithGrayTopBorder.js +1 -1
- package/es/core/Card/__stories__/WithGroupButton.js +1 -1
- package/es/core/Checkbox/__stories__/ConditionalReveal.js +3 -3
- package/es/core/Checkbox/__stories__/Default.js +3 -3
- package/es/core/Checkbox/__stories__/MultipleQuestions.js +3 -3
- package/es/core/Checkbox/__stories__/NoneAnswer.js +3 -4
- package/es/core/Checkbox/__stories__/NoneAnswerWithError.js +8 -9
- package/es/core/Checkbox/__stories__/WithErrorMessage.js +6 -6
- package/es/core/Checkbox/__stories__/WithHint.js +6 -6
- package/es/core/DateInputContainer/__stories__/WithErrorMessage.js +2 -2
- package/es/core/DateInputContainer/__stories__/WithErrorMessageForSingleField.js +2 -2
- package/es/core/Divider/index.js +1 -0
- package/es/core/ErrorMessage/__stories__/Default.js +2 -2
- package/es/core/ErrorSummary/__stories__/Default.js +1 -1
- package/es/core/ErrorSummary/__stories__/LinkedToCheckbox.js +5 -5
- package/es/core/ErrorSummary/__stories__/LinkedToField.js +5 -5
- package/es/core/ErrorSummary/__stories__/LinkedToInput.js +6 -5
- package/es/core/FileUpload/__stories__/Default.js +1 -1
- package/es/core/FileUpload/__stories__/WithErrorMessage.js +3 -3
- package/es/core/Link/__stories__/DarkBackground.js +1 -1
- package/es/core/Link/__stories__/DarkBackgroundNoUnderline.js +1 -1
- package/es/core/List/ListItemTitle.js +1 -1
- package/es/core/List/__stories__/Default.js +1 -1
- package/es/core/Masthead/__stories__/Default.js +2 -2
- package/es/core/NavList/NavListAuto/NavListAuto.js +1 -1
- package/es/core/NavList/NavListAuto/NavListContextAuto.js +1 -1
- package/es/core/NavList/NavListAuto/NavListItemAnchorAuto.js +2 -2
- package/es/core/NavList/NavListAuto/NavListItemButtonAuto.js +2 -2
- package/es/core/NavList/NavListAuto/NavListMenuAuto.js +2 -2
- package/es/core/NavList/NavListItemBase.js +2 -2
- package/es/core/NavList/__stories__/Default.js +1 -1
- package/es/core/NavList/__stories__/NavVerticalLayout.js +1 -1
- package/es/core/NotificationBanner/index.js +1 -1
- package/es/core/PhaseBanner/__stories__/Default.js +1 -1
- package/es/core/PhaseBanner/__stories__/Underlined.js +1 -1
- package/es/core/RadioContainer/__stories__/ConditionalReveal.js +1 -1
- package/es/core/RadioContainer/__stories__/Default.js +1 -1
- package/es/core/RadioContainer/__stories__/Inline.js +1 -1
- package/es/core/RadioContainer/__stories__/MultipleQuestions.js +1 -1
- package/es/core/RadioContainer/__stories__/NoneAnswer.js +9 -10
- package/es/core/RadioContainer/__stories__/WithErrorMessage.js +7 -7
- package/es/core/RadioContainer/__stories__/WithHints.js +1 -1
- package/es/core/SelectContainer/__stories__/Default.js +1 -1
- package/es/core/SelectContainer/__stories__/DisabledInput.js +1 -1
- package/es/core/SelectContainer/__stories__/WithHint.js +1 -1
- package/es/core/ServiceBadge/index.js +1 -1
- package/es/core/SingleCharacterInputContainer/__stories__/Default.js +1 -1
- package/es/core/SingleCharacterInputContainer/__stories__/WithDefaultError.js +3 -3
- package/es/core/SingleCharacterInputContainer/__stories__/WithErrorMessageInvalidCode.js +3 -3
- package/es/core/SingleCharacterInputContainer/__stories__/WithErrorMessageLessDigit.js +3 -3
- package/es/core/SummaryList/__stories__/Default.js +1 -1
- package/es/core/SummaryList/__stories__/RowVariations.js +1 -1
- package/es/core/SummaryList/__stories__/WithActions.js +2 -2
- package/es/core/SummaryList/__stories__/WithKeyAndAction.js +2 -2
- package/es/core/Table/__stories__/WithFloatingScroll.js +2 -2
- package/es/core/Table/__stories__/WithLoader.js +4 -4
- package/es/core/Table/index.js +1 -1
- package/es/core/Tabs/__stories__/Default.js +3 -3
- package/es/core/TextArea/__stories__/Default.js +2 -1
- package/es/core/TextArea/__stories__/DisabledInput.js +3 -2
- package/es/core/TextArea/__stories__/LimitedCharacters.js +3 -2
- package/es/core/TextArea/__stories__/MultipleQuestions.js +1 -1
- package/es/core/TextArea/__stories__/WithDeclaredRows.js +3 -2
- package/es/core/TextArea/__stories__/WithErrorMessage.js +4 -3
- package/es/core/TextArea/__stories__/WithHint.js +3 -2
- package/es/core/TextInput/__stories__/AskingForNumbers.js +3 -2
- package/es/core/TextInput/__stories__/Default.js +3 -2
- package/es/core/TextInput/__stories__/DisabledInput.js +3 -2
- package/es/core/TextInput/__stories__/FixedWidths.js +3 -2
- package/es/core/TextInput/__stories__/FluidWidths.js +3 -2
- package/es/core/TextInput/__stories__/MultipleQuestions.js +1 -1
- package/es/core/TextInput/__stories__/WithErrorMessage.js +4 -3
- package/es/core/TextInput/__stories__/WithHint.js +3 -2
- package/es/core/VisuallyHidden/__stories__/Default.js +2 -2
- package/es/govgr/Footer/index.js +2 -2
- package/es/hooks/useNavList.js +1 -1
- package/es/hooks/useSort.js +2 -1
- package/es/layouts/Basic/__stories__/MultipleRowsLayout.js +1 -1
- package/es/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.js +1 -1
- package/es/layouts/Grid/__stories__/Default.js +1 -1
- package/es/layouts/Grid/__stories__/Inline.js +1 -1
- package/es/locales/el.js +14 -0
- package/es/locales/en.js +14 -0
- package/es/registry.js +3 -0
- package/es/typography/HeadingCaption/__stories__/Default.js +1 -1
- package/es/typography/NormalText/__stories__/FontSizes.js +1 -1
- package/es/typography/NormalText/__stories__/FontWeight.js +1 -1
- package/es/typography/NormalText/__stories__/Variants.js +1 -1
- package/es/utils/Kitchensink/KitchensinkComponent.js +2 -2
- package/es/utils/Kitchensink/KitchensinkDashboard.js +1 -1
- package/esm/admin/AccessibilityMenu/index.js +3 -3
- package/esm/admin/AutoComplete/Status/index.js +1 -1
- package/esm/admin/AutoComplete/__stories__/Default.js +1 -1
- package/esm/admin/AutoComplete/__stories__/WithAutoSelect.js +1 -1
- 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/index.js +8 -6
- package/esm/admin/Chip/Chip.stories.js +12 -0
- package/esm/admin/Chip/__stories__/ClickableChip.js +10 -0
- package/esm/admin/Chip/__stories__/ClickableDeletableChip.js +13 -0
- package/esm/admin/Chip/__stories__/Default.js +9 -0
- package/esm/admin/Chip/__stories__/DeletableChip.js +10 -0
- package/esm/admin/Chip/__stories__/GroupOfChips.js +9 -0
- package/esm/admin/Chip/index.js +0 -1
- package/esm/admin/CircularProgress/__stories__/Default.js +1 -1
- package/esm/admin/CopyToClipboard/index.js +1 -1
- package/esm/admin/Drawer/__stories__/Default.js +3 -2
- package/esm/admin/Dropdown/__stories__/AlignRight.js +5 -4
- package/esm/admin/Dropdown/__stories__/Default.js +5 -4
- package/esm/admin/Dropdown/__stories__/PlacementTop.js +5 -4
- package/esm/admin/Modal/__stories__/Default.js +1 -1
- package/esm/admin/Pagination/Pagination.stories.js +2 -1
- package/esm/admin/Pagination/__stories__/Default.js +2 -2
- package/esm/admin/Pagination/__stories__/PaginationSmall.js +2 -2
- package/esm/admin/Pagination/__stories__/PaginationWithSmallFont.js +44 -0
- package/esm/admin/Pagination/index.js +2 -2
- package/esm/admin/StepNav/__stories__/Default.js +9 -11
- package/esm/admin/StepNav/index.js +7 -9
- package/esm/admin/TaskList/__stories__/Default.js +1 -1
- package/esm/admin/Timeline/__stories__/Default.js +3 -3
- package/esm/api/index.spec.js +2 -2
- package/esm/api/useResource.js +2 -2
- package/esm/api/useResourceAction.js +1 -1
- package/esm/api/useResourceQuery.js +1 -1
- package/esm/app/Footer/__stories__/DefaultCopyright.js +3 -2
- package/esm/app/Footer/__stories__/FooterAllInclusive.js +5 -4
- package/esm/app/Footer/__stories__/FooterWithLink.js +4 -3
- package/esm/app/Footer/__stories__/FooterWithLogo.js +4 -3
- package/esm/app/Footer/__stories__/FooterWithSecondaryNavigation.js +5 -4
- package/esm/app/Footer/__stories__/YearCopyright.js +3 -2
- package/esm/app/Header/Header.stories.playwright.json +16 -0
- package/esm/app/Header/__stories__/Default.js +1 -1
- package/esm/app/Header/__stories__/WithHeaderNavigation.js +5 -4
- package/esm/app/Header/__stories__/WithNavigation.js +3 -3
- package/esm/app/Header/__stories__/WithServiceName.js +2 -2
- package/esm/app/Header/__stories__/WithServiceNameAndLogo.js +2 -2
- package/esm/app/Header/index.spec.js +1 -1
- package/esm/app/OutdatedBrowserBanner.js +3 -3
- package/esm/app/PhaseBannerHeader/index.js +1 -1
- package/esm/app/QrCodeScanner/__stories__/Default.js +1 -1
- package/esm/app/ThemeOptionsForm/index.js +3 -3
- package/esm/app/ThemePaletteForm/index.js +1 -1
- package/esm/core/Accordion/__stories__/Default.js +1 -1
- package/esm/core/Accordion/__stories__/WithHints.js +2 -2
- package/esm/core/Accordion/index.js +3 -3
- package/esm/core/Card/__stories__/Default.js +1 -1
- package/esm/core/Card/__stories__/WithDarkBorder.js +1 -1
- package/esm/core/Card/__stories__/WithDarkTopBorder.js +1 -1
- package/esm/core/Card/__stories__/WithDivider.js +1 -1
- package/esm/core/Card/__stories__/WithGrayBorder.js +1 -1
- package/esm/core/Card/__stories__/WithGrayTopBorder.js +1 -1
- package/esm/core/Card/__stories__/WithGroupButton.js +1 -1
- package/esm/core/Checkbox/__stories__/ConditionalReveal.js +3 -3
- package/esm/core/Checkbox/__stories__/Default.js +3 -3
- package/esm/core/Checkbox/__stories__/MultipleQuestions.js +3 -3
- package/esm/core/Checkbox/__stories__/NoneAnswer.js +3 -4
- package/esm/core/Checkbox/__stories__/NoneAnswerWithError.js +8 -9
- package/esm/core/Checkbox/__stories__/WithErrorMessage.js +6 -6
- package/esm/core/Checkbox/__stories__/WithHint.js +6 -6
- package/esm/core/DateInputContainer/__stories__/WithErrorMessage.js +2 -2
- package/esm/core/DateInputContainer/__stories__/WithErrorMessageForSingleField.js +2 -2
- package/esm/core/Divider/index.js +1 -0
- package/esm/core/ErrorMessage/__stories__/Default.js +2 -2
- package/esm/core/ErrorSummary/__stories__/Default.js +1 -1
- package/esm/core/ErrorSummary/__stories__/LinkedToCheckbox.js +5 -5
- package/esm/core/ErrorSummary/__stories__/LinkedToField.js +5 -5
- package/esm/core/ErrorSummary/__stories__/LinkedToInput.js +6 -5
- package/esm/core/FileUpload/__stories__/Default.js +1 -1
- package/esm/core/FileUpload/__stories__/WithErrorMessage.js +3 -3
- package/esm/core/Link/__stories__/DarkBackground.js +1 -1
- package/esm/core/Link/__stories__/DarkBackgroundNoUnderline.js +1 -1
- package/esm/core/List/ListItemTitle.js +1 -1
- package/esm/core/List/__stories__/Default.js +1 -1
- package/esm/core/Masthead/__stories__/Default.js +2 -2
- package/esm/core/NavList/NavListAuto/NavListAuto.js +1 -1
- package/esm/core/NavList/NavListAuto/NavListContextAuto.js +1 -1
- package/esm/core/NavList/NavListAuto/NavListItemAnchorAuto.js +2 -2
- package/esm/core/NavList/NavListAuto/NavListItemButtonAuto.js +2 -2
- package/esm/core/NavList/NavListAuto/NavListMenuAuto.js +2 -2
- package/esm/core/NavList/NavListItemBase.js +2 -2
- package/esm/core/NavList/__stories__/Default.js +1 -1
- package/esm/core/NavList/__stories__/NavVerticalLayout.js +1 -1
- package/esm/core/NotificationBanner/index.js +1 -1
- package/esm/core/PhaseBanner/__stories__/Default.js +1 -1
- package/esm/core/PhaseBanner/__stories__/Underlined.js +1 -1
- package/esm/core/RadioContainer/__stories__/ConditionalReveal.js +1 -1
- package/esm/core/RadioContainer/__stories__/Default.js +1 -1
- package/esm/core/RadioContainer/__stories__/Inline.js +1 -1
- package/esm/core/RadioContainer/__stories__/MultipleQuestions.js +1 -1
- package/esm/core/RadioContainer/__stories__/NoneAnswer.js +9 -10
- package/esm/core/RadioContainer/__stories__/WithErrorMessage.js +7 -7
- package/esm/core/RadioContainer/__stories__/WithHints.js +1 -1
- package/esm/core/SelectContainer/__stories__/Default.js +1 -1
- package/esm/core/SelectContainer/__stories__/DisabledInput.js +1 -1
- package/esm/core/SelectContainer/__stories__/WithHint.js +1 -1
- package/esm/core/ServiceBadge/index.js +1 -1
- package/esm/core/SingleCharacterInputContainer/__stories__/Default.js +1 -1
- package/esm/core/SingleCharacterInputContainer/__stories__/WithDefaultError.js +3 -3
- package/esm/core/SingleCharacterInputContainer/__stories__/WithErrorMessageInvalidCode.js +3 -3
- package/esm/core/SingleCharacterInputContainer/__stories__/WithErrorMessageLessDigit.js +3 -3
- package/esm/core/SummaryList/__stories__/Default.js +1 -1
- package/esm/core/SummaryList/__stories__/RowVariations.js +1 -1
- package/esm/core/SummaryList/__stories__/WithActions.js +2 -2
- package/esm/core/SummaryList/__stories__/WithKeyAndAction.js +2 -2
- package/esm/core/Table/__stories__/WithFloatingScroll.js +2 -2
- package/esm/core/Table/__stories__/WithLoader.js +4 -4
- package/esm/core/Table/index.js +1 -1
- package/esm/core/Tabs/__stories__/Default.js +3 -3
- package/esm/core/TextArea/__stories__/Default.js +2 -1
- package/esm/core/TextArea/__stories__/DisabledInput.js +3 -2
- package/esm/core/TextArea/__stories__/LimitedCharacters.js +3 -2
- package/esm/core/TextArea/__stories__/MultipleQuestions.js +1 -1
- package/esm/core/TextArea/__stories__/WithDeclaredRows.js +3 -2
- package/esm/core/TextArea/__stories__/WithErrorMessage.js +4 -3
- package/esm/core/TextArea/__stories__/WithHint.js +3 -2
- package/esm/core/TextInput/__stories__/AskingForNumbers.js +3 -2
- package/esm/core/TextInput/__stories__/Default.js +3 -2
- package/esm/core/TextInput/__stories__/DisabledInput.js +3 -2
- package/esm/core/TextInput/__stories__/FixedWidths.js +3 -2
- package/esm/core/TextInput/__stories__/FluidWidths.js +3 -2
- package/esm/core/TextInput/__stories__/MultipleQuestions.js +1 -1
- package/esm/core/TextInput/__stories__/WithErrorMessage.js +4 -3
- package/esm/core/TextInput/__stories__/WithHint.js +3 -2
- package/esm/core/VisuallyHidden/__stories__/Default.js +2 -2
- package/esm/govgr/Footer/index.js +2 -2
- package/esm/hooks/useNavList.js +1 -1
- package/esm/hooks/useSort.js +2 -1
- package/esm/index.js +1 -1
- package/esm/layouts/Basic/__stories__/MultipleRowsLayout.js +1 -1
- package/esm/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.js +1 -1
- package/esm/layouts/Grid/__stories__/Default.js +1 -1
- package/esm/layouts/Grid/__stories__/Inline.js +1 -1
- package/esm/locales/el.js +14 -0
- package/esm/locales/en.js +14 -0
- package/esm/registry.js +3 -0
- package/esm/typography/HeadingCaption/__stories__/Default.js +1 -1
- package/esm/typography/NormalText/__stories__/FontSizes.js +1 -1
- package/esm/typography/NormalText/__stories__/FontWeight.js +1 -1
- package/esm/typography/NormalText/__stories__/Variants.js +1 -1
- package/esm/utils/Kitchensink/KitchensinkComponent.js +2 -2
- package/esm/utils/Kitchensink/KitchensinkDashboard.js +1 -1
- package/govgr/Footer/index.js +4 -4
- package/hooks/useNavList.js +2 -2
- package/layouts/Basic/Content/index.d.ts +1 -1
- package/layouts/Basic/Side/index.d.ts +1 -1
- package/layouts/Basic/__stories__/MultipleRowsLayout.js +2 -2
- package/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.js +2 -2
- package/layouts/Grid/__stories__/Default.js +2 -2
- package/layouts/Grid/__stories__/Inline.js +2 -2
- package/locales/el.d.ts +14 -0
- package/locales/el.js +14 -0
- package/locales/en.d.ts +14 -0
- package/locales/en.js +14 -0
- package/package.json +3 -3
- package/registry.d.ts +2 -0
- package/registry.js +4 -0
- package/src/admin/AccessibilityMenu/index.tsx +6 -6
- package/src/admin/AutoComplete/Status/index.tsx +1 -1
- package/src/admin/AutoComplete/__stories__/Default.tsx +1 -1
- package/src/admin/AutoComplete/__stories__/WithAutoSelect.tsx +1 -1
- package/src/admin/AutoComplete/__stories__/WithDefaultValue.tsx +1 -1
- package/src/admin/AutoComplete/__stories__/WithInLine.tsx +1 -1
- package/src/admin/AutoComplete/__stories__/WithMinLength.tsx +1 -1
- package/src/admin/AutoComplete/__stories__/WithPlaceHolder.tsx +1 -1
- package/src/admin/AutoComplete/__stories__/WithShowAllValues.tsx +1 -1
- package/src/admin/AutoComplete/index.tsx +7 -6
- package/src/admin/Chip/Chip.stories.js +12 -0
- package/src/admin/Chip/__stories__/ClickableChip.tsx +16 -0
- package/src/admin/Chip/__stories__/ClickableDeletableChip.tsx +19 -0
- package/src/admin/Chip/__stories__/Default.tsx +10 -0
- package/src/admin/Chip/__stories__/DeletableChip.tsx +16 -0
- package/src/admin/Chip/__stories__/GroupOfChips.tsx +15 -0
- package/src/admin/Chip/index.tsx +0 -1
- package/src/admin/CircularProgress/__stories__/Default.tsx +1 -1
- package/src/admin/CopyToClipboard/index.tsx +1 -1
- package/src/admin/Drawer/__stories__/Default.tsx +3 -2
- package/src/admin/Dropdown/__stories__/AlignRight.tsx +5 -4
- package/src/admin/Dropdown/__stories__/Default.tsx +5 -4
- package/src/admin/Dropdown/__stories__/PlacementTop.tsx +5 -4
- package/src/admin/Modal/__stories__/Default.tsx +1 -1
- package/src/admin/Pagination/Pagination.stories.js +1 -0
- package/src/admin/Pagination/__stories__/Default.tsx +2 -3
- package/src/admin/Pagination/__stories__/PaginationSmall.tsx +2 -2
- package/src/admin/Pagination/__stories__/PaginationWithSmallFont.tsx +66 -0
- package/src/admin/Pagination/index.tsx +2 -2
- package/src/admin/StepNav/__stories__/Default.tsx +12 -26
- package/src/admin/StepNav/index.tsx +7 -11
- package/src/admin/TaskList/__stories__/Default.tsx +8 -8
- package/src/admin/Timeline/__stories__/Default.tsx +6 -6
- package/src/api/index.spec.tsx +2 -2
- package/src/api/useResource.tsx +2 -2
- package/src/api/useResourceAction.tsx +2 -2
- package/src/api/useResourceQuery.tsx +1 -1
- package/src/api/utils.tsx +1 -1
- package/src/app/Footer/__stories__/DefaultCopyright.tsx +6 -6
- package/src/app/Footer/__stories__/FooterAllInclusive.tsx +5 -6
- package/src/app/Footer/__stories__/FooterWithLink.tsx +6 -6
- package/src/app/Footer/__stories__/FooterWithLogo.tsx +5 -6
- package/src/app/Footer/__stories__/FooterWithSecondaryNavigation.tsx +5 -6
- package/src/app/Footer/__stories__/YearCopyright.tsx +6 -6
- package/src/app/Header/Header.stories.playwright.json +16 -0
- package/src/app/Header/__stories__/Default.tsx +1 -1
- package/src/app/Header/__stories__/WithHeaderNavigation.tsx +5 -4
- package/src/app/Header/__stories__/WithNavigation.tsx +3 -3
- package/src/app/Header/__stories__/WithServiceName.tsx +2 -2
- package/src/app/Header/__stories__/WithServiceNameAndLogo.tsx +2 -2
- package/src/app/Header/index.spec.tsx +1 -1
- package/src/app/OutdatedBrowserBanner.tsx +3 -3
- package/src/app/PhaseBannerHeader/index.tsx +1 -1
- package/src/app/QrCodeScanner/__stories__/Default.tsx +1 -1
- package/src/app/QrCodeViewer/index.tsx +1 -1
- package/src/app/ThemeOptionsForm/index.tsx +7 -7
- package/src/app/ThemePaletteForm/index.tsx +1 -1
- package/src/core/Accordion/__stories__/Default.tsx +1 -1
- package/src/core/Accordion/__stories__/WithHints.tsx +2 -2
- package/src/core/Accordion/index.tsx +3 -3
- package/src/core/Card/__stories__/Default.tsx +2 -2
- package/src/core/Card/__stories__/WithDarkBorder.tsx +2 -2
- package/src/core/Card/__stories__/WithDarkTopBorder.tsx +2 -2
- package/src/core/Card/__stories__/WithDivider.tsx +2 -2
- package/src/core/Card/__stories__/WithGrayBorder.tsx +2 -2
- package/src/core/Card/__stories__/WithGrayTopBorder.tsx +2 -2
- package/src/core/Card/__stories__/WithGroupButton.tsx +2 -2
- package/src/core/Checkbox/__stories__/ConditionalReveal.tsx +4 -4
- package/src/core/Checkbox/__stories__/Default.tsx +3 -3
- package/src/core/Checkbox/__stories__/MultipleQuestions.tsx +3 -3
- package/src/core/Checkbox/__stories__/NoneAnswer.tsx +1 -2
- package/src/core/Checkbox/__stories__/NoneAnswerWithError.tsx +6 -7
- package/src/core/Checkbox/__stories__/WithErrorMessage.tsx +5 -5
- package/src/core/Checkbox/__stories__/WithHint.tsx +3 -3
- package/src/core/DateInputContainer/__stories__/WithErrorMessage.tsx +3 -3
- package/src/core/DateInputContainer/__stories__/WithErrorMessageForSingleField.tsx +3 -3
- package/src/core/Divider/index.tsx +1 -0
- package/src/core/ErrorMessage/__stories__/Default.tsx +3 -3
- package/src/core/ErrorSummary/__stories__/Default.tsx +1 -1
- package/src/core/ErrorSummary/__stories__/LinkedToCheckbox.tsx +7 -7
- package/src/core/ErrorSummary/__stories__/LinkedToField.tsx +8 -8
- package/src/core/ErrorSummary/__stories__/LinkedToInput.tsx +6 -5
- package/src/core/FileUpload/__stories__/Default.tsx +1 -1
- package/src/core/FileUpload/__stories__/WithErrorMessage.tsx +4 -4
- package/src/core/Link/__stories__/DarkBackground.tsx +1 -1
- package/src/core/Link/__stories__/DarkBackgroundNoUnderline.tsx +1 -1
- package/src/core/List/ListItemTitle.tsx +1 -1
- package/src/core/List/__stories__/Default.tsx +1 -1
- package/src/core/Masthead/__stories__/Default.tsx +3 -3
- package/src/core/NavList/NavListAuto/NavListAuto.tsx +1 -1
- package/src/core/NavList/NavListAuto/NavListBaseAuto.tsx +1 -1
- package/src/core/NavList/NavListAuto/NavListContextAuto.tsx +2 -2
- package/src/core/NavList/NavListAuto/NavListItemAnchorAuto.tsx +2 -2
- package/src/core/NavList/NavListAuto/NavListItemButtonAuto.tsx +2 -2
- package/src/core/NavList/NavListAuto/NavListMenuAuto.tsx +3 -3
- package/src/core/NavList/NavListItemBase.tsx +5 -5
- package/src/core/NavList/__stories__/Default.tsx +1 -1
- package/src/core/NavList/__stories__/NavVerticalLayout.tsx +1 -1
- package/src/core/NavList/types.tsx +1 -1
- package/src/core/NotificationBanner/index.tsx +1 -1
- package/src/core/PhaseBanner/__stories__/Default.tsx +2 -2
- package/src/core/PhaseBanner/__stories__/Underlined.tsx +2 -2
- package/src/core/RadioContainer/__stories__/ConditionalReveal.tsx +6 -6
- package/src/core/RadioContainer/__stories__/Default.tsx +2 -2
- package/src/core/RadioContainer/__stories__/Inline.tsx +2 -2
- package/src/core/RadioContainer/__stories__/MultipleQuestions.tsx +2 -2
- package/src/core/RadioContainer/__stories__/NoneAnswer.tsx +5 -6
- package/src/core/RadioContainer/__stories__/WithErrorMessage.tsx +5 -5
- package/src/core/RadioContainer/__stories__/WithHints.tsx +2 -2
- package/src/core/SelectContainer/__stories__/Default.tsx +3 -3
- package/src/core/SelectContainer/__stories__/DisabledInput.tsx +3 -3
- package/src/core/SelectContainer/__stories__/WithHint.tsx +3 -3
- package/src/core/ServiceBadge/index.tsx +1 -1
- package/src/core/SingleCharacterInputContainer/__stories__/Default.tsx +5 -5
- package/src/core/SingleCharacterInputContainer/__stories__/WithDefaultError.tsx +6 -6
- package/src/core/SingleCharacterInputContainer/__stories__/WithErrorMessageInvalidCode.tsx +6 -6
- package/src/core/SingleCharacterInputContainer/__stories__/WithErrorMessageLessDigit.tsx +6 -6
- package/src/core/SummaryList/__stories__/Default.tsx +2 -2
- package/src/core/SummaryList/__stories__/RowVariations.tsx +2 -2
- package/src/core/SummaryList/__stories__/WithActions.tsx +3 -3
- package/src/core/SummaryList/__stories__/WithKeyAndAction.tsx +3 -3
- package/src/core/Table/__stories__/WithFloatingScroll.tsx +9 -9
- package/src/core/Table/__stories__/WithLoader.tsx +6 -6
- package/src/core/Table/index.tsx +1 -1
- package/src/core/Tabs/__stories__/Default.tsx +10 -10
- package/src/core/TextArea/__stories__/Default.tsx +2 -1
- package/src/core/TextArea/__stories__/DisabledInput.tsx +3 -2
- package/src/core/TextArea/__stories__/LimitedCharacters.tsx +3 -2
- package/src/core/TextArea/__stories__/MultipleQuestions.tsx +1 -1
- package/src/core/TextArea/__stories__/WithDeclaredRows.tsx +3 -2
- package/src/core/TextArea/__stories__/WithErrorMessage.tsx +4 -3
- package/src/core/TextArea/__stories__/WithHint.tsx +3 -2
- package/src/core/TextInput/__stories__/AskingForNumbers.tsx +3 -2
- package/src/core/TextInput/__stories__/Default.tsx +3 -2
- package/src/core/TextInput/__stories__/DisabledInput.tsx +3 -2
- package/src/core/TextInput/__stories__/FixedWidths.tsx +3 -2
- package/src/core/TextInput/__stories__/FluidWidths.tsx +3 -2
- package/src/core/TextInput/__stories__/MultipleQuestions.tsx +1 -1
- package/src/core/TextInput/__stories__/WithErrorMessage.tsx +4 -3
- package/src/core/TextInput/__stories__/WithHint.tsx +3 -2
- package/src/core/VisuallyHidden/__stories__/Default.tsx +4 -4
- package/src/govgr/Footer/index.tsx +2 -2
- package/src/hooks/useNavList.ts +1 -1
- package/src/hooks/useSort.tsx +2 -1
- package/src/layouts/Basic/__stories__/MultipleRowsLayout.tsx +1 -1
- package/src/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.tsx +1 -1
- package/src/layouts/Grid/__stories__/Default.tsx +1 -1
- package/src/layouts/Grid/__stories__/Inline.tsx +1 -1
- package/src/locales/el.ts +14 -0
- package/src/locales/en.ts +14 -0
- package/src/registry.js +3 -0
- package/src/typography/HeadingCaption/__stories__/Default.tsx +1 -1
- package/src/typography/NormalText/__stories__/FontSizes.tsx +1 -1
- package/src/typography/NormalText/__stories__/FontWeight.tsx +1 -1
- package/src/typography/NormalText/__stories__/Variants.tsx +1 -1
- package/src/utils/Kitchensink/KitchensinkComponent.tsx +2 -2
- package/src/utils/Kitchensink/KitchensinkDashboard.tsx +1 -1
- package/typography/Caption/index.d.ts +1 -1
- package/typography/HeadingCaption/__stories__/Default.js +2 -2
- package/typography/NormalText/__stories__/FontSizes.js +2 -2
- package/typography/NormalText/__stories__/FontWeight.js +2 -2
- package/typography/NormalText/__stories__/Variants.js +2 -2
- package/utils/Kitchensink/KitchensinkComponent.js +3 -3
- package/utils/Kitchensink/KitchensinkDashboard.js +2 -2
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
TaskList,
|
|
4
|
-
TaskListItem,
|
|
5
|
-
TaskListItemHeading,
|
|
6
|
-
TaskListItemContent,
|
|
7
|
-
TaskListItemTag,
|
|
8
|
-
} from '@digigov/ui/admin/TaskList';
|
|
9
|
-
|
|
10
2
|
import { LinkBase } from '@digigov/ui/core/Link';
|
|
11
3
|
|
|
12
4
|
import {
|
|
@@ -16,6 +8,14 @@ import {
|
|
|
16
8
|
SummaryListItemKey,
|
|
17
9
|
} from '@digigov/ui/core/SummaryList';
|
|
18
10
|
|
|
11
|
+
import {
|
|
12
|
+
TaskList,
|
|
13
|
+
TaskListItem,
|
|
14
|
+
TaskListItemHeading,
|
|
15
|
+
TaskListItemContent,
|
|
16
|
+
TaskListItemTag,
|
|
17
|
+
} from '@digigov/ui/admin/TaskList';
|
|
18
|
+
|
|
19
19
|
const fields = [
|
|
20
20
|
{
|
|
21
21
|
title: 'Check before you start',
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { Button } from '@digigov/ui/core/Button';
|
|
3
|
+
import { Hint } from '@digigov/ui/typography/Hint';
|
|
4
|
+
import { Paragraph } from '@digigov/ui/typography/Paragraph';
|
|
5
|
+
import { LinkBase } from '@digigov/ui/core/Link';
|
|
6
|
+
|
|
2
7
|
import {
|
|
3
8
|
Timeline,
|
|
4
9
|
TimelineItem,
|
|
@@ -6,17 +11,12 @@ import {
|
|
|
6
11
|
TimelineContent,
|
|
7
12
|
TimelineActions,
|
|
8
13
|
} from '@digigov/ui/admin/Timeline';
|
|
9
|
-
|
|
14
|
+
|
|
10
15
|
import {
|
|
11
16
|
Details,
|
|
12
17
|
DetailsSummary,
|
|
13
18
|
DetailsContent,
|
|
14
19
|
} from '@digigov/ui/core/Details';
|
|
15
|
-
import { LinkBase } from '@digigov/ui/core/Link';
|
|
16
|
-
|
|
17
|
-
import { Hint } from '@digigov/ui/typography/Hint';
|
|
18
|
-
|
|
19
|
-
import { Paragraph } from '@digigov/ui/typography/Paragraph';
|
|
20
20
|
|
|
21
21
|
const data = [
|
|
22
22
|
{
|
package/src/api/index.spec.tsx
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
import React, { FunctionComponent, Suspense, useEffect } from 'react';
|
|
3
3
|
import { render, fireEvent } from '@testing-library/react';
|
|
4
4
|
import fetchMock from 'fetch-mock';
|
|
5
|
-
import 'whatwg-fetch';
|
|
6
|
-
import fetchAPI from '@digigov/ui/api/fetchAPI';
|
|
7
5
|
import {
|
|
8
6
|
APIProvider,
|
|
9
7
|
useResource,
|
|
@@ -13,6 +11,8 @@ import {
|
|
|
13
11
|
APIErrors,
|
|
14
12
|
} from '@digigov/ui/api/index';
|
|
15
13
|
import delay from '@digigov/ui/test-utils/delay';
|
|
14
|
+
import fetchAPI from '@digigov/ui/api/fetchAPI';
|
|
15
|
+
import 'whatwg-fetch';
|
|
16
16
|
|
|
17
17
|
const HandleError = ({ error }) => {
|
|
18
18
|
if (error.name === 'APIError') {
|
package/src/api/useResource.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getQueryKey, processResponse } from '@digigov/ui/api/utils';
|
|
2
2
|
import { useQuery, queryCache } from 'react-query';
|
|
3
3
|
import { useAPI } from '@digigov/ui/api';
|
|
4
|
-
import {
|
|
4
|
+
import { useState } from 'react';
|
|
5
5
|
|
|
6
6
|
export type RequestResponse = {
|
|
7
7
|
data?: Record<string, any>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useState, useEffect } from 'react';
|
|
2
|
-
import { useMutation } from 'react-query';
|
|
3
|
-
import { useAPI } from '@digigov/ui/api';
|
|
4
2
|
import { RequestResponse } from '@digigov/ui/api/useResource';
|
|
5
3
|
import { getQueryKey, processResponse } from '@digigov/ui/api/utils';
|
|
4
|
+
import { useMutation } from 'react-query';
|
|
5
|
+
import { useAPI } from '@digigov/ui/api';
|
|
6
6
|
|
|
7
7
|
export function useResourceAction(
|
|
8
8
|
resource: string,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useEffect, useMemo, useState, useCallback } from 'react';
|
|
2
|
+
import { getQueryKey, processResponse } from '@digigov/ui/api/utils';
|
|
2
3
|
import { usePaginatedQuery, QueryFunction, queryCache } from 'react-query';
|
|
3
4
|
import { useAPI } from '@digigov/ui/api';
|
|
4
|
-
import { getQueryKey, processResponse } from '@digigov/ui/api/utils';
|
|
5
5
|
|
|
6
6
|
const DEFAULT_PAGINATION_LIMIT = 30;
|
|
7
7
|
const DEFAULT_LIMIT_OPTIONS = [10, 30, 60, 100];
|
package/src/api/utils.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ArrayQueryKey } from 'react-query/types';
|
|
2
1
|
import { APIError } from '@digigov/ui/api/APIErrors';
|
|
3
2
|
import { ProcessedResponse } from '@digigov/ui/api/fetchAPI';
|
|
3
|
+
import { ArrayQueryKey } from 'react-query/types';
|
|
4
4
|
|
|
5
5
|
export async function parseErrors(response: Response): Promise<string[]> {
|
|
6
6
|
const errors: string[] = [];
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { Copyright } from '@digigov/ui/govgr/Footer/Copyright';
|
|
3
|
+
import { HellenicRepublicLogo } from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
|
|
4
|
+
import { Footer } from '@digigov/ui/app/Footer';
|
|
5
|
+
|
|
2
6
|
import {
|
|
3
|
-
Footer,
|
|
4
7
|
FooterMeta,
|
|
5
8
|
FooterMetaItem,
|
|
6
9
|
FooterContent,
|
|
7
10
|
FooterInlineList,
|
|
8
11
|
FooterInlineListItem,
|
|
9
12
|
FooterLink,
|
|
10
|
-
} from
|
|
11
|
-
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
13
|
+
} from '@digigov/ui/app/Footer';
|
|
12
14
|
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
import { HellenicRepublicLogo } from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
|
|
15
|
+
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
16
16
|
|
|
17
17
|
export const DefaultCopyright = () => {
|
|
18
18
|
return (
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { Footer } from '@digigov/ui/app/Footer';
|
|
3
|
+
import { Copyright } from '@digigov/ui/govgr/Footer/Copyright';
|
|
4
|
+
import { HellenicRepublicLogo } from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
|
|
2
5
|
|
|
3
6
|
import {
|
|
4
|
-
Footer,
|
|
5
7
|
FooterMeta,
|
|
6
8
|
FooterMetaItem,
|
|
7
9
|
FooterContent,
|
|
@@ -15,14 +17,11 @@ import {
|
|
|
15
17
|
FooterInlineListItem,
|
|
16
18
|
FooterContentLogos,
|
|
17
19
|
FooterImage,
|
|
18
|
-
} from
|
|
20
|
+
} from '@digigov/ui/app/Footer';
|
|
19
21
|
|
|
22
|
+
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
20
23
|
import { Link } from '@digigov/ui/core/Link';
|
|
21
24
|
import { SectionBreak } from '@digigov/ui/core/SectionBreak';
|
|
22
|
-
|
|
23
|
-
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
24
|
-
import { Copyright } from '@digigov/ui/govgr/Footer/Copyright';
|
|
25
|
-
import { HellenicRepublicLogo } from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
|
|
26
25
|
import logo1 from '@digigov/ui/govgr/images/greek-government-base64';
|
|
27
26
|
import logo2 from '@digigov/ui/govgr/images/grnet-logo-base64';
|
|
28
27
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { Copyright } from '@digigov/ui/govgr/Footer/Copyright';
|
|
3
|
+
import { HellenicRepublicLogo } from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
|
|
4
|
+
import { Footer } from '@digigov/ui/app/Footer';
|
|
5
|
+
|
|
2
6
|
import {
|
|
3
|
-
Footer,
|
|
4
7
|
FooterMeta,
|
|
5
8
|
FooterMetaItem,
|
|
6
9
|
FooterContent,
|
|
7
10
|
FooterInlineList,
|
|
8
11
|
FooterInlineListItem,
|
|
9
12
|
FooterLink,
|
|
10
|
-
} from
|
|
11
|
-
import { Link } from '@digigov/ui/core/Link';
|
|
13
|
+
} from '@digigov/ui/app/Footer';
|
|
12
14
|
|
|
13
15
|
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
14
|
-
|
|
15
|
-
import { Copyright } from '@digigov/ui/govgr/Footer/Copyright';
|
|
16
|
-
import { HellenicRepublicLogo } from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
|
|
16
|
+
import { Link } from '@digigov/ui/core/Link';
|
|
17
17
|
|
|
18
18
|
export const FooterWithLink = () => {
|
|
19
19
|
return (
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { Footer } from '@digigov/ui/app/Footer';
|
|
3
|
+
import { Copyright } from '@digigov/ui/govgr/Footer/Copyright';
|
|
4
|
+
import { HellenicRepublicLogo } from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
|
|
2
5
|
|
|
3
6
|
import {
|
|
4
|
-
Footer,
|
|
5
7
|
FooterMeta,
|
|
6
8
|
FooterMetaItem,
|
|
7
9
|
FooterContent,
|
|
8
10
|
FooterContentLogos,
|
|
9
11
|
FooterImage,
|
|
10
|
-
} from
|
|
12
|
+
} from '@digigov/ui/app/Footer';
|
|
11
13
|
|
|
12
|
-
import { Link } from '@digigov/ui/core/Link';
|
|
13
14
|
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
14
|
-
|
|
15
|
-
import { Copyright } from '@digigov/ui/govgr/Footer/Copyright';
|
|
16
|
-
import { HellenicRepublicLogo } from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
|
|
15
|
+
import { Link } from '@digigov/ui/core/Link';
|
|
17
16
|
import logo1 from '@digigov/ui/govgr/images/greek-government-base64';
|
|
18
17
|
import logo2 from '@digigov/ui/govgr/images/grnet-logo-base64';
|
|
19
18
|
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { Footer } from '@digigov/ui/app/Footer';
|
|
3
|
+
import { Copyright } from '@digigov/ui/govgr/Footer/Copyright';
|
|
4
|
+
import { HellenicRepublicLogo } from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
|
|
2
5
|
|
|
3
6
|
import {
|
|
4
|
-
Footer,
|
|
5
7
|
FooterMeta,
|
|
6
8
|
FooterMetaItem,
|
|
7
9
|
FooterContent,
|
|
@@ -11,15 +13,12 @@ import {
|
|
|
11
13
|
FooterList,
|
|
12
14
|
FooterListItem,
|
|
13
15
|
FooterLink,
|
|
14
|
-
} from
|
|
16
|
+
} from '@digigov/ui/app/Footer';
|
|
15
17
|
|
|
18
|
+
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
16
19
|
import { Link } from '@digigov/ui/core/Link';
|
|
17
20
|
import { SectionBreak } from '@digigov/ui/core/SectionBreak';
|
|
18
21
|
|
|
19
|
-
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
20
|
-
import { Copyright } from '@digigov/ui/govgr/Footer/Copyright';
|
|
21
|
-
import { HellenicRepublicLogo } from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
|
|
22
|
-
|
|
23
22
|
export const FooterWithSecondaryNavigation = () => {
|
|
24
23
|
return (
|
|
25
24
|
<Footer>
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
+
import { Copyright, getCopyright } from '@digigov/ui/govgr/Footer/Copyright';
|
|
4
|
+
|
|
5
|
+
import { HellenicRepublicLogo } from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
|
|
6
|
+
import { Footer } from '@digigov/ui/app/Footer';
|
|
7
|
+
|
|
3
8
|
import {
|
|
4
|
-
Footer,
|
|
5
9
|
FooterMeta,
|
|
6
10
|
FooterMetaItem,
|
|
7
11
|
FooterContent,
|
|
8
12
|
FooterInlineList,
|
|
9
13
|
FooterInlineListItem,
|
|
10
14
|
FooterLink,
|
|
11
|
-
} from
|
|
15
|
+
} from '@digigov/ui/app/Footer';
|
|
12
16
|
|
|
13
17
|
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
14
18
|
|
|
15
|
-
import { Copyright, getCopyright } from '@digigov/ui/govgr/Footer/Copyright';
|
|
16
|
-
|
|
17
|
-
import { HellenicRepublicLogo } from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
|
|
18
|
-
|
|
19
19
|
export const YearCopyright = () => {
|
|
20
20
|
return (
|
|
21
21
|
<Footer>
|
|
@@ -28,6 +28,22 @@
|
|
|
28
28
|
"title": "Keyboard navigation"
|
|
29
29
|
}
|
|
30
30
|
]
|
|
31
|
+
},
|
|
32
|
+
"digigov-ui-app-header--with-header-navigation": {
|
|
33
|
+
"actionSets": [
|
|
34
|
+
{
|
|
35
|
+
"actions": [
|
|
36
|
+
{
|
|
37
|
+
"name": "hover",
|
|
38
|
+
"args": {
|
|
39
|
+
"selector": "html>body>div:nth-child(5)>div>header>div>div:nth-child(2)>details>summary"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"id": "CweCKhM6Ql7t",
|
|
44
|
+
"title": "Hover on dropdown"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
31
47
|
}
|
|
32
48
|
}
|
|
33
49
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Header } from '@digigov/ui/app/Header';
|
|
3
|
-
import { HeaderContent } from '@digigov/ui/app/Header/HeaderContent';
|
|
4
3
|
import { HeaderSection } from '@digigov/ui/app/Header/HeaderSection';
|
|
4
|
+
import { HeaderContent } from '@digigov/ui/app/Header/HeaderContent';
|
|
5
5
|
import { GovGRLogo } from '@digigov/ui/govgr/GovGRLogo';
|
|
6
6
|
|
|
7
7
|
export const Default = () => (
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ArrowIcon, BurgerIcon, MoreVertIcon } from "@digigov/ui";
|
|
3
|
-
import { Dropdown, DropdownButton, DropdownContent } from '@digigov/ui/admin';
|
|
4
2
|
import Header from '@digigov/ui/app/Header';
|
|
5
|
-
import HeaderContent from '@digigov/ui/app/Header/HeaderContent';
|
|
6
|
-
import HeaderNavMenuContent from '@digigov/ui/app/Header/HeaderNavMenuContent';
|
|
7
3
|
import HeaderSection from '@digigov/ui/app/Header/HeaderSection';
|
|
4
|
+
import HeaderNavMenuContent from '@digigov/ui/app/Header/HeaderNavMenuContent';
|
|
8
5
|
import HeaderTitle from '@digigov/ui/app/Header/HeaderTitle';
|
|
9
6
|
import NavList from '@digigov/ui/core/NavList/NavList';
|
|
10
7
|
import NavListItem from '@digigov/ui/core/NavList/NavListItem';
|
|
11
8
|
import NavListItemLink from '@digigov/ui/core/NavList/NavListItemLink';
|
|
9
|
+
import HeaderContent from '@digigov/ui/app/Header/HeaderContent';
|
|
12
10
|
import GovGRLogo from '@digigov/ui/govgr/GovGRLogo';
|
|
13
11
|
import { Top } from '@digigov/ui/layouts/Basic';
|
|
12
|
+
import { ArrowIcon } from '@digigov/ui';
|
|
13
|
+
import { Dropdown, DropdownButton, DropdownContent } from '@digigov/ui/admin';
|
|
14
|
+
import { BurgerIcon, MoreVertIcon } from '@digigov/ui';
|
|
14
15
|
|
|
15
16
|
export const WithHeaderNavigation = () => (
|
|
16
17
|
<Top>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { SectionBreak } from '@digigov/ui';
|
|
3
2
|
import { Header } from '@digigov/ui/app/Header';
|
|
4
|
-
import { HeaderContent } from '@digigov/ui/app/Header/HeaderContent';
|
|
5
3
|
import { HeaderSection } from '@digigov/ui/app/Header/HeaderSection';
|
|
4
|
+
import { HeaderContent } from '@digigov/ui/app/Header/HeaderContent';
|
|
6
5
|
import { Nav } from '@digigov/ui/core/NavList/Nav';
|
|
7
6
|
import { NavList } from '@digigov/ui/core/NavList/NavList';
|
|
8
7
|
import { NavListItem } from '@digigov/ui/core/NavList/NavListItem';
|
|
9
8
|
import { GovGRLogo } from '@digigov/ui/govgr/GovGRLogo';
|
|
10
|
-
import { useNavList } from '@digigov/ui/hooks/useNavList';
|
|
11
9
|
import { Top } from '@digigov/ui/layouts/Basic';
|
|
10
|
+
import { SectionBreak } from '@digigov/ui';
|
|
11
|
+
import { useNavList } from '@digigov/ui/hooks/useNavList';
|
|
12
12
|
|
|
13
13
|
export const WithNavigation = () => {
|
|
14
14
|
const { registerButton } = useNavList();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Header } from '@digigov/ui/app/Header';
|
|
3
|
-
import { HeaderContent } from '@digigov/ui/app/Header/HeaderContent';
|
|
4
3
|
import { HeaderSection } from '@digigov/ui/app/Header/HeaderSection';
|
|
5
|
-
import {
|
|
4
|
+
import { HeaderContent } from '@digigov/ui/app/Header/HeaderContent';
|
|
6
5
|
import { GovGRLogo } from '@digigov/ui/govgr/GovGRLogo';
|
|
6
|
+
import { HeaderTitle } from '@digigov/ui/app/Header/HeaderTitle';
|
|
7
7
|
|
|
8
8
|
export const WithServiceName = () => (
|
|
9
9
|
<Header>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Header } from '@digigov/ui/app/Header';
|
|
3
|
+
import { HeaderSection } from '@digigov/ui/app/Header/HeaderSection';
|
|
3
4
|
import { HeaderContent } from '@digigov/ui/app/Header/HeaderContent';
|
|
5
|
+
import { GovGRLogo } from '@digigov/ui/govgr/GovGRLogo';
|
|
4
6
|
import { HeaderSecondaryLogo } from '@digigov/ui/app/Header/HeaderSecondaryLogo';
|
|
5
|
-
import { HeaderSection } from '@digigov/ui/app/Header/HeaderSection';
|
|
6
7
|
import { HeaderTitle } from '@digigov/ui/app/Header/HeaderTitle';
|
|
7
|
-
import { GovGRLogo } from '@digigov/ui/govgr/GovGRLogo';
|
|
8
8
|
import logo3 from '@digigov/ui/govgr/images/minedu-logo-base64';
|
|
9
9
|
|
|
10
10
|
export const WithServiceNameAndLogo = () => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { mount } from 'enzyme';
|
|
3
3
|
|
|
4
|
+
import logo from '../../govgr/GovGRLogo/govgr-logo.svg';
|
|
4
5
|
import Header, {
|
|
5
6
|
HeaderTitle,
|
|
6
7
|
HeaderSubtitle,
|
|
7
8
|
HeaderLogo,
|
|
8
9
|
} from '@digigov/ui/app/Header';
|
|
9
|
-
import logo from '../../govgr/GovGRLogo/govgr-logo.svg';
|
|
10
10
|
|
|
11
11
|
it('renders the header with logo, title and subtitle ', () => {
|
|
12
12
|
expect(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useTranslation } from '@digigov/ui/app/';
|
|
3
|
-
import Link from '@digigov/ui/core/Link';
|
|
4
2
|
import { WarningText } from '@digigov/ui/core/WarningText';
|
|
5
|
-
import useOutdatedBrowserCheck from '@digigov/ui/hooks/useOutdatedBrowserCheck';
|
|
6
3
|
import Paragraph from '@digigov/ui/typography/Paragraph';
|
|
4
|
+
import useOutdatedBrowserCheck from '@digigov/ui/hooks/useOutdatedBrowserCheck';
|
|
5
|
+
import Link from '@digigov/ui/core/Link';
|
|
7
6
|
import { isMobile } from '@digigov/ui/utils/evaluateBrowserVersion';
|
|
7
|
+
import { useTranslation } from '@digigov/ui/app/';
|
|
8
8
|
|
|
9
9
|
export default function OutdatedBrowserBanner(): JSX.Element {
|
|
10
10
|
const mob = isMobile;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import HeaderSection from '@digigov/react-core/HeaderSection';
|
|
3
3
|
import PhaseBanner from '@digigov/react-core/PhaseBanner';
|
|
4
|
-
import PhaseBannerHeaderContainer from '@digigov/react-core/PhaseBannerHeaderContainer';
|
|
5
4
|
import PhaseBannerTag from '@digigov/react-core/PhaseBannerTag';
|
|
6
5
|
import PhaseBannerText from '@digigov/react-core/PhaseBannerText';
|
|
6
|
+
import PhaseBannerHeaderContainer from '@digigov/react-core/PhaseBannerHeaderContainer';
|
|
7
7
|
|
|
8
8
|
type DivElementAttributes = JSX.IntrinsicElements['div'];
|
|
9
9
|
export interface PhaseBannerHeaderProps extends DivElementAttributes {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Suspense, useState } from 'react';
|
|
2
2
|
import { QrCodeScanner } from '@digigov/ui/app/QrCodeScanner';
|
|
3
|
-
import { ErrorSummary } from '@digigov/ui/core/ErrorSummary';
|
|
4
3
|
import { Heading } from '@digigov/ui/typography/Heading';
|
|
4
|
+
import { ErrorSummary } from '@digigov/ui/core/ErrorSummary';
|
|
5
5
|
|
|
6
6
|
export const Default = () => {
|
|
7
7
|
const [error, setError] = useState({ message: '' });
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { useRef, useEffect, useState } from 'react';
|
|
2
2
|
import qrcodegen from '@digigov/ui/app/QrCodeViewer/qrcodegen';
|
|
3
|
-
import { QRPropsCanvas } from '@digigov/ui/app/QrCodeViewer/types';
|
|
4
3
|
import {
|
|
5
4
|
generatePath,
|
|
6
5
|
excavateModules,
|
|
7
6
|
getImageSettings,
|
|
8
7
|
MARGIN_SIZE,
|
|
9
8
|
} from '@digigov/ui/app/QrCodeViewer/utils';
|
|
9
|
+
import { QRPropsCanvas } from '@digigov/ui/app/QrCodeViewer/types';
|
|
10
10
|
|
|
11
11
|
const DEFAULT_SIZE = 128;
|
|
12
12
|
const DEFAULT_LEVEL = 'L';
|
|
@@ -7,17 +7,17 @@ import FieldContainer, {
|
|
|
7
7
|
import { RadioContainer, RadioItem } from '@digigov/ui/core/RadioContainer';
|
|
8
8
|
import SectionBreak from '@digigov/ui/core/SectionBreak';
|
|
9
9
|
|
|
10
|
+
import useTheme, { ThemeSelectOptions } from '@digigov/ui/hooks/useTheme';
|
|
10
11
|
import useFontSize, { FontSizeOptions } from '@digigov/ui/hooks/useFontSize';
|
|
11
|
-
import useHighlightLinks, {
|
|
12
|
-
HighlightLinksOptions,
|
|
13
|
-
} from '@digigov/ui/hooks/useHighlightLinks';
|
|
14
|
-
import useLetterSpacing, {
|
|
15
|
-
LetterSpacingOptions,
|
|
16
|
-
} from '@digigov/ui/hooks/useLetterSpacing';
|
|
17
12
|
import useLineHeight, {
|
|
18
13
|
LineHeightOptions,
|
|
19
14
|
} from '@digigov/ui/hooks/useLineHeight';
|
|
20
|
-
import
|
|
15
|
+
import useLetterSpacing, {
|
|
16
|
+
LetterSpacingOptions,
|
|
17
|
+
} from '@digigov/ui/hooks/useLetterSpacing';
|
|
18
|
+
import useHighlightLinks, {
|
|
19
|
+
HighlightLinksOptions,
|
|
20
|
+
} from '@digigov/ui/hooks/useHighlightLinks';
|
|
21
21
|
|
|
22
22
|
export const ThemeOptionsForm = () => {
|
|
23
23
|
const [theme, changeTheme] = useTheme();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import Button from '@digigov/react-core/Button';
|
|
3
3
|
import { Fieldset, FieldsetLegend } from '@digigov/ui/core/FieldContainer';
|
|
4
|
+
import VisuallyHidden from '@digigov/ui/core/VisuallyHidden';
|
|
4
5
|
import { RadioContainer, RadioItem } from '@digigov/ui/core/RadioContainer';
|
|
5
6
|
import SectionBreak from '@digigov/ui/core/SectionBreak';
|
|
6
|
-
import VisuallyHidden from '@digigov/ui/core/VisuallyHidden';
|
|
7
7
|
|
|
8
8
|
import useTheme, { ThemeSelectOptions } from '@digigov/ui/hooks/useTheme';
|
|
9
9
|
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
AccordionSectionSummaryHeading,
|
|
9
9
|
} from '@digigov/ui/core/Accordion';
|
|
10
10
|
|
|
11
|
+
import { Paragraph } from '@digigov/ui/typography/Paragraph';
|
|
11
12
|
import { Link } from '@digigov/ui/core/Link';
|
|
12
13
|
import { List } from '@digigov/ui/core/List/List';
|
|
13
14
|
import { ListItem } from '@digigov/ui/core/List/ListItem';
|
|
14
|
-
import { Paragraph } from '@digigov/ui/typography/Paragraph';
|
|
15
15
|
|
|
16
16
|
export const Default = () => (
|
|
17
17
|
<Accordion>
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
AccordionSectionSummaryHeading,
|
|
9
9
|
} from '@digigov/ui/core/Accordion';
|
|
10
10
|
|
|
11
|
+
import { Hint } from '@digigov/ui/typography/Hint';
|
|
12
|
+
import { Paragraph } from '@digigov/ui/typography/Paragraph';
|
|
11
13
|
import { Link } from '@digigov/ui/core/Link';
|
|
12
14
|
import { List } from '@digigov/ui/core/List/List';
|
|
13
15
|
import { ListItem } from '@digigov/ui/core/List/ListItem';
|
|
14
|
-
import { Hint } from '@digigov/ui/typography/Hint';
|
|
15
|
-
import { Paragraph } from '@digigov/ui/typography/Paragraph';
|
|
16
16
|
|
|
17
17
|
export const WithHints = () => (
|
|
18
18
|
<Accordion>
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/* eslint-disable react-hooks/exhaustive-deps */
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
3
|
import Accordion from '@digigov/react-core/Accordion';
|
|
4
|
-
import AccordionControls from '@digigov/react-core/AccordionControls';
|
|
5
4
|
import AccordionSection from '@digigov/react-core/AccordionSection';
|
|
6
5
|
import AccordionSectionContent from '@digigov/react-core/AccordionSectionContent';
|
|
7
|
-
import AccordionSectionSummary from '@digigov/react-core/AccordionSectionSummary';
|
|
8
6
|
import AccordionSectionSummaryHeadingBase, {
|
|
9
7
|
AccordionSectionSummaryHeadingProps as AccordionSectionSummaryHeadingBaseProps,
|
|
10
8
|
} from '@digigov/react-core/AccordionSectionSummaryHeading';
|
|
9
|
+
import AccordionSectionSummary from '@digigov/react-core/AccordionSectionSummary';
|
|
10
|
+
import AccordionControls from '@digigov/react-core/AccordionControls';
|
|
11
|
+
import withDeprecation from '@digigov/ui/utils/withDeprecation';
|
|
11
12
|
import {
|
|
12
13
|
useTogglableTab,
|
|
13
14
|
UseTogglableTabReturn,
|
|
14
15
|
} from '@digigov/ui/hooks/useTogglableTab';
|
|
15
|
-
import withDeprecation from '@digigov/ui/utils/withDeprecation';
|
|
16
16
|
|
|
17
17
|
export const AccordionItemDetails = withDeprecation(AccordionSectionContent, {
|
|
18
18
|
name: 'AccordionItemDetails',
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { Button } from '@digigov/ui/core/Button';
|
|
4
|
-
|
|
5
3
|
import { Card, CardHeading, CardText, CardAction } from '@digigov/ui/core/Card';
|
|
6
4
|
|
|
5
|
+
import { Button } from '@digigov/ui/core/Button';
|
|
6
|
+
|
|
7
7
|
export const Default = () => (
|
|
8
8
|
<Card>
|
|
9
9
|
<CardHeading>Γεωργία και κτηνοτροφία</CardHeading>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { Button } from '@digigov/ui/core/Button';
|
|
4
|
-
|
|
5
3
|
import { Card, CardAction, CardHeading, CardText } from '@digigov/ui/core/Card';
|
|
6
4
|
|
|
5
|
+
import { Button } from '@digigov/ui/core/Button';
|
|
6
|
+
|
|
7
7
|
export const WithDarkBorder = () => (
|
|
8
8
|
<Card variant="border" borderColor="dark">
|
|
9
9
|
<CardHeading>Γεωργία και κτηνοτροφία</CardHeading>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { Button } from '@digigov/ui/core/Button';
|
|
4
|
-
|
|
5
3
|
import { Card, CardAction, CardHeading, CardText } from '@digigov/ui/core/Card';
|
|
6
4
|
|
|
5
|
+
import { Button } from '@digigov/ui/core/Button';
|
|
6
|
+
|
|
7
7
|
export const WithDarkTopBorder = () => (
|
|
8
8
|
<Card variant="border-top" borderColor="dark">
|
|
9
9
|
<CardHeading>Γεωργία και κτηνοτροφία</CardHeading>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { Button } from '@digigov/ui/core/Button';
|
|
4
|
-
|
|
5
3
|
import { Card, CardAction, CardHeading, CardText } from '@digigov/ui/core/Card';
|
|
6
4
|
|
|
5
|
+
import { Button } from '@digigov/ui/core/Button';
|
|
6
|
+
|
|
7
7
|
export const WithDivider = () => (
|
|
8
8
|
<Card variant="divider">
|
|
9
9
|
<CardHeading>Γεωργία και κτηνοτροφία</CardHeading>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { Button } from '@digigov/ui/core/Button';
|
|
4
|
-
|
|
5
3
|
import { Card, CardAction, CardHeading, CardText } from '@digigov/ui/core/Card';
|
|
6
4
|
|
|
5
|
+
import { Button } from '@digigov/ui/core/Button';
|
|
6
|
+
|
|
7
7
|
export const WithGrayBorder = () => (
|
|
8
8
|
<Card variant="border" borderColor="gray">
|
|
9
9
|
<CardHeading>Γεωργία και κτηνοτροφία</CardHeading>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { Button } from '@digigov/ui/core/Button';
|
|
4
|
-
|
|
5
3
|
import { Card, CardAction, CardHeading, CardText } from '@digigov/ui/core/Card';
|
|
6
4
|
|
|
5
|
+
import { Button } from '@digigov/ui/core/Button';
|
|
6
|
+
|
|
7
7
|
export const WithGrayTopBorder = () => (
|
|
8
8
|
<Card variant="border-top" borderColor="gray">
|
|
9
9
|
<CardHeading>Γεωργία και κτηνοτροφία</CardHeading>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { Button, ButtonGroup } from '@digigov/ui/core/Button';
|
|
4
|
-
|
|
5
3
|
import { Card, CardHeading, CardText, CardAction } from '@digigov/ui/core/Card';
|
|
6
4
|
|
|
5
|
+
import { Button, ButtonGroup } from '@digigov/ui/core/Button';
|
|
6
|
+
|
|
7
7
|
import { Link } from '@digigov/ui/core/Link';
|
|
8
8
|
|
|
9
9
|
export const WithGroupButton = () => (
|