@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
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
CheckboxConditional,
|
|
7
7
|
} from '@digigov/ui/core/Checkbox';
|
|
8
8
|
|
|
9
|
+
import { TextInput } from '@digigov/ui/core/TextInput';
|
|
10
|
+
|
|
9
11
|
import {
|
|
10
12
|
FieldContainer,
|
|
11
13
|
Fieldset,
|
|
12
14
|
FieldsetLegend,
|
|
13
15
|
} from '@digigov/ui/core/FieldContainer';
|
|
14
16
|
|
|
15
|
-
import { TextInput } from '@digigov/ui/core/TextInput';
|
|
16
|
-
|
|
17
17
|
import { Hint } from '@digigov/ui/typography/Hint';
|
|
18
18
|
|
|
19
19
|
export const ConditionalReveal = () => (
|
|
@@ -27,9 +27,9 @@ export const ConditionalReveal = () => (
|
|
|
27
27
|
</CheckboxItem>
|
|
28
28
|
<CheckboxConditional>
|
|
29
29
|
Email address
|
|
30
|
-
<TextInput name="email" cellWidth="one-third" />
|
|
30
|
+
<TextInput name="email-address" cellWidth="one-third" />
|
|
31
31
|
</CheckboxConditional>
|
|
32
|
-
<CheckboxItem name="
|
|
32
|
+
<CheckboxItem name="email" value="phone">
|
|
33
33
|
Τηλέφωνο
|
|
34
34
|
</CheckboxItem>
|
|
35
35
|
</Checkbox>
|
|
@@ -18,13 +18,13 @@ export const Default = () => (
|
|
|
18
18
|
Πείτε μας σχετικά με πρόσφατες αλλαγές. Επιλέξτε ό,τι ισχύει.
|
|
19
19
|
</Hint>
|
|
20
20
|
<Checkbox>
|
|
21
|
-
<CheckboxItem name="
|
|
21
|
+
<CheckboxItem name="feeling" value="cold">
|
|
22
22
|
Έχω συνάχι
|
|
23
23
|
</CheckboxItem>
|
|
24
|
-
<CheckboxItem name="
|
|
24
|
+
<CheckboxItem name="feeling" value="fever">
|
|
25
25
|
Έχω πυρετό
|
|
26
26
|
</CheckboxItem>
|
|
27
|
-
<CheckboxItem name="
|
|
27
|
+
<CheckboxItem name="feeling" value="fatigue">
|
|
28
28
|
Αισθάνομαι κούραση
|
|
29
29
|
</CheckboxItem>
|
|
30
30
|
</Checkbox>
|
|
@@ -18,13 +18,13 @@ export const MultipleQuestions = () => (
|
|
|
18
18
|
Πείτε μας σχετικά με πρόσφατες αλλαγές. Επιλέξτε ό,τι ισχύει.
|
|
19
19
|
</Hint>
|
|
20
20
|
<Checkbox>
|
|
21
|
-
<CheckboxItem name="
|
|
21
|
+
<CheckboxItem name="feeling" value="cold">
|
|
22
22
|
Έχω συνάχι
|
|
23
23
|
</CheckboxItem>
|
|
24
|
-
<CheckboxItem name="
|
|
24
|
+
<CheckboxItem name="feeling" value="fever">
|
|
25
25
|
Έχω πυρετό
|
|
26
26
|
</CheckboxItem>
|
|
27
|
-
<CheckboxItem name="
|
|
27
|
+
<CheckboxItem name="feeling" value="fatigue">
|
|
28
28
|
Αισθάνομαι κούραση
|
|
29
29
|
</CheckboxItem>
|
|
30
30
|
</Checkbox>
|
|
@@ -26,8 +26,7 @@ export const NoneAnswer = () => (
|
|
|
26
26
|
<CheckboxItem name="fever" value="fever">
|
|
27
27
|
Γαλλία
|
|
28
28
|
</CheckboxItem>
|
|
29
|
-
<
|
|
30
|
-
<CheckboxItem name="fatigue" value="fatigue">
|
|
29
|
+
<CheckboxItem name="fatigue" value="fatigue" divider="ή">
|
|
31
30
|
Όχι, δεν θα ταξιδέψω σε καμία από αυτές τις χώρες
|
|
32
31
|
</CheckboxItem>
|
|
33
32
|
</Checkbox>
|
|
@@ -2,15 +2,15 @@ import React from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { Checkbox, CheckboxItem } from '@digigov/ui/core/Checkbox';
|
|
4
4
|
|
|
5
|
-
import { ErrorMessage } from '@digigov/ui/core/ErrorMessage';
|
|
6
|
-
|
|
7
5
|
import {
|
|
8
6
|
FieldContainer,
|
|
9
7
|
Fieldset,
|
|
10
8
|
FieldsetLegend,
|
|
11
9
|
} from '@digigov/ui/core/FieldContainer';
|
|
12
|
-
|
|
10
|
+
|
|
13
11
|
import { Hint } from '@digigov/ui/typography/Hint';
|
|
12
|
+
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
13
|
+
import { ErrorMessage } from '@digigov/ui/core/ErrorMessage';
|
|
14
14
|
|
|
15
15
|
export const NoneAnswerWithError = () => (
|
|
16
16
|
<FieldContainer error>
|
|
@@ -27,14 +27,13 @@ export const NoneAnswerWithError = () => (
|
|
|
27
27
|
ταξιδέψω σε καμία από αυτές τις χώρες».
|
|
28
28
|
</ErrorMessage>
|
|
29
29
|
<Checkbox>
|
|
30
|
-
<CheckboxItem defaultChecked name="
|
|
30
|
+
<CheckboxItem defaultChecked name="country" value="en">
|
|
31
31
|
Αγγλία
|
|
32
32
|
</CheckboxItem>
|
|
33
|
-
<CheckboxItem name="
|
|
33
|
+
<CheckboxItem name="country" value="fr">
|
|
34
34
|
Γαλλία
|
|
35
35
|
</CheckboxItem>
|
|
36
|
-
<
|
|
37
|
-
<CheckboxItem defaultChecked name="none" value="none">
|
|
36
|
+
<CheckboxItem divider='ή' defaultChecked name="country" value="none">
|
|
38
37
|
Όχι, δεν θα ταξιδέψω σε καμία από αυτές τις χώρες
|
|
39
38
|
</CheckboxItem>
|
|
40
39
|
</Checkbox>
|
|
@@ -2,15 +2,15 @@ import React from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { Checkbox, CheckboxItem } from '@digigov/ui/core/Checkbox';
|
|
4
4
|
|
|
5
|
-
import { ErrorMessage } from '@digigov/ui/core/ErrorMessage';
|
|
6
|
-
|
|
7
5
|
import {
|
|
8
6
|
FieldContainer,
|
|
9
7
|
Fieldset,
|
|
10
8
|
FieldsetLegend,
|
|
11
9
|
} from '@digigov/ui/core/FieldContainer';
|
|
12
|
-
|
|
10
|
+
|
|
11
|
+
import { ErrorMessage } from '@digigov/ui/core/ErrorMessage';
|
|
13
12
|
import { Hint } from '@digigov/ui/typography/Hint';
|
|
13
|
+
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
14
14
|
|
|
15
15
|
export const WithErrorMessage = () => (
|
|
16
16
|
<FieldContainer error>
|
|
@@ -25,10 +25,10 @@ export const WithErrorMessage = () => (
|
|
|
25
25
|
<VisuallyHidden>Λάθος:</VisuallyHidden> Επιλέξτε μία ή παραπάνω χώρες.
|
|
26
26
|
</ErrorMessage>
|
|
27
27
|
<Checkbox>
|
|
28
|
-
<CheckboxItem name="
|
|
28
|
+
<CheckboxItem name="country" value="en">
|
|
29
29
|
Αγγλία
|
|
30
30
|
</CheckboxItem>
|
|
31
|
-
<CheckboxItem name="
|
|
31
|
+
<CheckboxItem name="country" value="fr">
|
|
32
32
|
Γαλλία
|
|
33
33
|
</CheckboxItem>
|
|
34
34
|
</Checkbox>
|
|
@@ -18,14 +18,14 @@ export const WithHint = () => (
|
|
|
18
18
|
Αν έχετε πολλαπλή υπηκοότητα, επιλέξτε ό,τι ισχύει.
|
|
19
19
|
</Hint>
|
|
20
20
|
<Checkbox>
|
|
21
|
-
<CheckboxItem name="
|
|
21
|
+
<CheckboxItem name="nationality" value="gr">
|
|
22
22
|
Ελληνική
|
|
23
23
|
<Hint>συμπεριλαμβανομένων απόδημων πολιτών</Hint>
|
|
24
24
|
</CheckboxItem>
|
|
25
|
-
<CheckboxItem name="
|
|
25
|
+
<CheckboxItem name="nationality" value="cy">
|
|
26
26
|
Κυπριακή
|
|
27
27
|
</CheckboxItem>
|
|
28
|
-
<CheckboxItem name="
|
|
28
|
+
<CheckboxItem name="nationality" value="other">
|
|
29
29
|
Άλλη χώρα
|
|
30
30
|
</CheckboxItem>
|
|
31
31
|
</Checkbox>
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
DateInputItem,
|
|
6
6
|
} from '@digigov/ui/core/DateInputContainer';
|
|
7
7
|
|
|
8
|
-
import { ErrorMessage } from '@digigov/ui/core/ErrorMessage';
|
|
9
|
-
|
|
10
8
|
import {
|
|
11
9
|
FieldContainer,
|
|
12
10
|
Fieldset,
|
|
13
11
|
FieldsetLegend,
|
|
14
12
|
} from '@digigov/ui/core/FieldContainer';
|
|
15
|
-
|
|
13
|
+
|
|
16
14
|
import { Hint } from '@digigov/ui/typography/Hint';
|
|
15
|
+
import { ErrorMessage } from '@digigov/ui/core/ErrorMessage';
|
|
16
|
+
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
17
17
|
|
|
18
18
|
export const WithErrorMessage = () => (
|
|
19
19
|
<FieldContainer error>
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
DateInputItem,
|
|
6
6
|
} from '@digigov/ui/core/DateInputContainer';
|
|
7
7
|
|
|
8
|
-
import { ErrorMessage } from '@digigov/ui/core/ErrorMessage';
|
|
9
|
-
|
|
10
8
|
import {
|
|
11
9
|
FieldContainer,
|
|
12
10
|
Fieldset,
|
|
13
11
|
FieldsetLegend,
|
|
14
12
|
} from '@digigov/ui/core/FieldContainer';
|
|
15
|
-
|
|
13
|
+
|
|
16
14
|
import { Hint } from '@digigov/ui/typography/Hint';
|
|
15
|
+
import { ErrorMessage } from '@digigov/ui/core/ErrorMessage';
|
|
16
|
+
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
17
17
|
|
|
18
18
|
export const WithErrorMessageForSingleField = () => (
|
|
19
19
|
<FieldContainer error>
|
|
@@ -2,6 +2,7 @@ import CoreSectionBreak, {
|
|
|
2
2
|
SectionBreakProps as CoreSectionBreakProps,
|
|
3
3
|
} from '@digigov/react-core/SectionBreak';
|
|
4
4
|
import withDeprecation from '@digigov/ui/utils/withDeprecation';
|
|
5
|
+
export * from '@digigov/react-core/ChoiceDivider';
|
|
5
6
|
|
|
6
7
|
export type DividerProps = CoreSectionBreakProps;
|
|
7
8
|
|
|
@@ -2,15 +2,15 @@ import React from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { Checkbox, CheckboxItem } from '@digigov/ui/core/Checkbox';
|
|
4
4
|
|
|
5
|
-
import { ErrorMessage } from '@digigov/ui/core/ErrorMessage';
|
|
6
|
-
|
|
7
5
|
import {
|
|
8
6
|
FieldContainer,
|
|
9
7
|
Fieldset,
|
|
10
8
|
FieldsetLegend,
|
|
11
9
|
} from '@digigov/ui/core/FieldContainer';
|
|
12
|
-
|
|
10
|
+
|
|
11
|
+
import { ErrorMessage } from '@digigov/ui/core/ErrorMessage';
|
|
13
12
|
import { Hint } from '@digigov/ui/typography/Hint';
|
|
13
|
+
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
14
14
|
|
|
15
15
|
export const Default = () => (
|
|
16
16
|
<FieldContainer error>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ErrorSummary } from '@digigov/ui/core/ErrorSummary';
|
|
3
|
-
import { Link } from '@digigov/ui/core/Link';
|
|
4
3
|
import { Heading } from '@digigov/ui/typography/Heading';
|
|
4
|
+
import { Link } from '@digigov/ui/core/Link';
|
|
5
5
|
|
|
6
6
|
export const Default = () => (
|
|
7
7
|
<ErrorSummary>
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Checkbox, CheckboxItem } from '@digigov/ui/core/Checkbox';
|
|
3
|
-
import { ErrorMessage } from '@digigov/ui/core/ErrorMessage';
|
|
4
2
|
import { ErrorSummary } from '@digigov/ui/core/ErrorSummary';
|
|
3
|
+
import { Heading } from '@digigov/ui/typography/Heading';
|
|
4
|
+
import { Link } from '@digigov/ui/core/Link';
|
|
5
|
+
import { Hint } from '@digigov/ui/typography/Hint';
|
|
6
|
+
import { ErrorMessage } from '@digigov/ui/core/ErrorMessage';
|
|
7
|
+
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
8
|
+
|
|
5
9
|
import {
|
|
6
10
|
FieldContainer,
|
|
7
11
|
Fieldset,
|
|
8
12
|
FieldsetLegend,
|
|
9
13
|
} from '@digigov/ui/core/FieldContainer';
|
|
10
|
-
import { Link } from '@digigov/ui/core/Link';
|
|
11
|
-
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
12
14
|
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
import { Hint } from '@digigov/ui/typography/Hint';
|
|
15
|
+
import { Checkbox, CheckboxItem } from '@digigov/ui/core/Checkbox';
|
|
16
16
|
|
|
17
17
|
export const LinkedToCheckbox = () => (
|
|
18
18
|
<div className="example">
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { ErrorSummary } from '@digigov/ui/core/ErrorSummary';
|
|
3
|
+
import { Heading } from '@digigov/ui/typography/Heading';
|
|
4
|
+
import { Link } from '@digigov/ui/core/Link';
|
|
5
|
+
import { Hint } from '@digigov/ui/typography/Hint';
|
|
6
|
+
import { ErrorMessage } from '@digigov/ui/core/ErrorMessage';
|
|
7
|
+
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
8
|
+
|
|
2
9
|
import {
|
|
3
10
|
DateInputContainer,
|
|
4
11
|
DateInputItem,
|
|
5
12
|
} from '@digigov/ui/core/DateInputContainer';
|
|
6
|
-
|
|
7
|
-
import { ErrorSummary } from '@digigov/ui/core/ErrorSummary';
|
|
13
|
+
|
|
8
14
|
import {
|
|
9
15
|
FieldContainer,
|
|
10
16
|
Fieldset,
|
|
11
17
|
FieldsetLegend,
|
|
12
18
|
} from '@digigov/ui/core/FieldContainer';
|
|
13
|
-
import { Link } from '@digigov/ui/core/Link';
|
|
14
|
-
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
15
|
-
|
|
16
|
-
import { Heading } from '@digigov/ui/typography/Heading';
|
|
17
|
-
|
|
18
|
-
import { Hint } from '@digigov/ui/typography/Hint';
|
|
19
19
|
|
|
20
20
|
export const LinkedToField = () => (
|
|
21
21
|
<div className="example">
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ErrorMessage } from '@digigov/ui/core/ErrorMessage';
|
|
3
2
|
import { ErrorSummary } from '@digigov/ui/core/ErrorSummary';
|
|
4
|
-
import {
|
|
5
|
-
import { LabelContainer, LabelTitle } from "@digigov/ui/core/LabelContainer";
|
|
3
|
+
import { Heading } from '@digigov/ui/typography/Heading';
|
|
6
4
|
import { Link } from '@digigov/ui/core/Link';
|
|
7
5
|
import { TextInput } from '@digigov/ui/core/TextInput';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
6
|
+
import { FieldContainer } from '@digigov/ui/core/FieldContainer';
|
|
7
|
+
import { LabelContainer } from '@digigov/ui/core/LabelContainer';
|
|
8
|
+
import { LabelTitle } from '@digigov/ui/core/LabelContainer';
|
|
10
9
|
import { Hint } from '@digigov/ui/typography/Hint';
|
|
10
|
+
import { ErrorMessage } from '@digigov/ui/core/ErrorMessage';
|
|
11
|
+
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
11
12
|
|
|
12
13
|
export const LinkedToInput = () => (
|
|
13
14
|
<div className="example">
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
FieldsetLegend,
|
|
7
7
|
} from '@digigov/ui/core/FieldContainer';
|
|
8
8
|
|
|
9
|
-
import { FileUpload } from '@digigov/ui/core/FileUpload';
|
|
10
9
|
import { Hint } from '@digigov/ui/typography/Hint';
|
|
10
|
+
import { FileUpload } from '@digigov/ui/core/FileUpload';
|
|
11
11
|
|
|
12
12
|
export const Default = () => (
|
|
13
13
|
<FieldContainer>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { ErrorMessage } from '@digigov/ui/core/ErrorMessage';
|
|
4
|
-
|
|
5
3
|
import {
|
|
6
4
|
FieldContainer,
|
|
7
5
|
Fieldset,
|
|
8
6
|
FieldsetLegend,
|
|
9
7
|
} from '@digigov/ui/core/FieldContainer';
|
|
10
|
-
|
|
11
|
-
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
8
|
+
|
|
12
9
|
import { Hint } from '@digigov/ui/typography/Hint';
|
|
10
|
+
import { ErrorMessage } from '@digigov/ui/core/ErrorMessage';
|
|
11
|
+
import { VisuallyHidden } from '@digigov/ui/core/VisuallyHidden';
|
|
12
|
+
import { FileUpload } from '@digigov/ui/core/FileUpload';
|
|
13
13
|
|
|
14
14
|
export const WithErrorMessage = () => (
|
|
15
15
|
<FieldContainer error>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Link } from '@digigov/ui/core/Link';
|
|
3
|
-
import { SectionBreak } from '@digigov/ui/core/SectionBreak';
|
|
4
3
|
import { Masthead } from '@digigov/ui/layouts/Basic/Masthead';
|
|
4
|
+
import { SectionBreak } from '@digigov/ui/core/SectionBreak';
|
|
5
5
|
export const DarkBackground = () => (
|
|
6
6
|
<Masthead>
|
|
7
7
|
<SectionBreak visible={false} />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Link } from '@digigov/ui/core/Link';
|
|
3
|
-
import { SectionBreak } from '@digigov/ui/core/SectionBreak';
|
|
4
3
|
import { Masthead } from '@digigov/ui/layouts/Basic/Masthead';
|
|
4
|
+
import { SectionBreak } from '@digigov/ui/core/SectionBreak';
|
|
5
5
|
export const DarkBackgroundNoUnderline = () => (
|
|
6
6
|
<Masthead>
|
|
7
7
|
<SectionBreak visible={false} />
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import Link, { LinkProps } from '@digigov/ui/core/Link';
|
|
3
2
|
import Title, { TitleProps } from '@digigov/ui/typography/Title';
|
|
3
|
+
import Link, { LinkProps } from '@digigov/ui/core/Link';
|
|
4
4
|
import withDeprecation from '@digigov/ui/utils/withDeprecation';
|
|
5
5
|
|
|
6
6
|
export interface ListItemTitleProps extends TitleProps {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Link } from '@digigov/ui/core/Link';
|
|
3
2
|
import { List } from '@digigov/ui/core/List/List';
|
|
4
3
|
import { ListItem } from '@digigov/ui/core/List/ListItem';
|
|
4
|
+
import { Link } from '@digigov/ui/core/Link';
|
|
5
5
|
|
|
6
6
|
export const Default = () => (
|
|
7
7
|
<List>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { Masthead, MastheadBody } from '@digigov/ui/layouts/Basic/Masthead';
|
|
4
4
|
|
|
5
|
+
import { CallToAction } from '@digigov/ui/core/Button/CallToAction';
|
|
5
6
|
import { Container } from '@digigov/ui/layouts/Basic/Container';
|
|
6
|
-
import { Main } from '@digigov/ui/layouts/Basic/Main';
|
|
7
|
-
import { Masthead, MastheadBody } from '@digigov/ui/layouts/Basic/Masthead';
|
|
8
7
|
import { Heading } from '@digigov/ui/typography/Heading';
|
|
8
|
+
import { Main } from '@digigov/ui/layouts/Basic/Main';
|
|
9
9
|
|
|
10
10
|
export const Default = () => (
|
|
11
11
|
<Masthead>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { NavListBaseAuto } from '@digigov/ui/core/NavList/NavListAuto/NavListBaseAuto';
|
|
3
2
|
import { NavListProviderAuto } from '@digigov/ui/core/NavList/NavListAuto/NavListContextAuto';
|
|
4
3
|
import { NavListAutoProps } from '@digigov/ui/core/NavList/types';
|
|
4
|
+
import { NavListBaseAuto } from '@digigov/ui/core/NavList/NavListAuto/NavListBaseAuto';
|
|
5
5
|
|
|
6
6
|
export const NavListAuto: React.FC<NavListAutoProps> = ({
|
|
7
7
|
layout,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { NavListAutoProps } from '@digigov/ui/core/NavList/types';
|
|
2
3
|
import Nav from '@digigov/ui/core/NavList/Nav';
|
|
3
4
|
import NavList from '@digigov/ui/core/NavList/NavList';
|
|
4
|
-
import { NavListAutoProps } from '@digigov/ui/core/NavList/types';
|
|
5
5
|
|
|
6
6
|
export const NavListBaseAuto: React.FC<NavListAutoProps> = ({
|
|
7
7
|
className,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React, { createContext, useEffect, useState } from 'react';
|
|
2
|
-
import { NavListLayout } from '@digigov/ui/core/NavList/types';
|
|
3
1
|
import { useNavList } from '@digigov/ui/hooks/useNavList';
|
|
2
|
+
import { NavListLayout } from '@digigov/ui/core/NavList/types';
|
|
3
|
+
import React, { createContext, useEffect, useState } from 'react';
|
|
4
4
|
|
|
5
5
|
export interface NavLinkInterface {
|
|
6
6
|
name?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useContext } from 'react';
|
|
2
|
-
import NavListItem from '@digigov/react-core/NavListItem';
|
|
3
|
-
import NavListContextAuto from '@digigov/ui/core/NavList/NavListAuto/NavListContextAuto';
|
|
4
2
|
import { NavListItemLink } from '@digigov/ui/core/NavList/NavListItemLink';
|
|
3
|
+
import NavListContextAuto from '@digigov/ui/core/NavList/NavListAuto/NavListContextAuto';
|
|
4
|
+
import NavListItem from '@digigov/react-core/NavListItem';
|
|
5
5
|
|
|
6
6
|
interface NavListItemAnchorAutoProps {
|
|
7
7
|
name: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import NavListItemButton from '@digigov/ui/core/NavList/NavListItemButton';
|
|
3
3
|
import NavItemSubMenuAuto from '@digigov/ui/core/NavList/NavListAuto/NavListSubMenuAuto';
|
|
4
|
+
import NavItemMenuAuto from '@digigov/ui/core/NavList/NavListAuto/NavListMenuAuto';
|
|
4
5
|
import NavListItem from '@digigov/ui/core/NavList/NavListItem';
|
|
5
|
-
import NavListItemButton from '@digigov/ui/core/NavList/NavListItemButton';
|
|
6
6
|
import { NavListLayout } from '@digigov/ui/core/NavList/types';
|
|
7
7
|
|
|
8
8
|
interface NavListItemButtonAutoProps {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { NavListLayout } from '@digigov/ui/core/NavList/types';
|
|
3
3
|
import NavMenu from '@digigov/ui/core/NavList/NavMenu';
|
|
4
4
|
import NavMenuContainer from '@digigov/ui/core/NavList/NavMenuContainer';
|
|
5
|
+
import NavMenuContainerTitle from '@digigov/ui/core/NavList/NavMenuContainerTitle';
|
|
5
6
|
import NavMenuContainerContent from '@digigov/ui/core/NavList/NavMenuContainerContent';
|
|
6
7
|
import NavMenuContainerContentList from '@digigov/ui/core/NavList/NavMenuContainerContentList';
|
|
7
8
|
import NavMenuContainerContentListItem from '@digigov/ui/core/NavList/NavMenuContainerContentListItem';
|
|
8
|
-
import
|
|
9
|
-
import { NavListLayout } from '@digigov/ui/core/NavList/types';
|
|
9
|
+
import { Link } from '@digigov/ui/core';
|
|
10
10
|
|
|
11
11
|
interface NavListMenuAutoProps {
|
|
12
12
|
layout?: NavListLayout;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Link from '@digigov/ui/core/Link';
|
|
3
|
+
import {
|
|
4
|
+
isNavListItemLinkInterface,
|
|
5
|
+
NavListLayout,
|
|
6
|
+
} from '@digigov/ui/core/NavList/types';
|
|
3
7
|
import NavListItem from '@digigov/ui/core/NavList/NavListItem';
|
|
4
8
|
import NavMenu from '@digigov/ui/core/NavList/NavMenu';
|
|
5
9
|
import NavMenuContainer from '@digigov/ui/core/NavList/NavMenuContainer';
|
|
10
|
+
import NavMenuContainerTitle from '@digigov/ui/core/NavList/NavMenuContainerTitle';
|
|
6
11
|
import NavMenuContainerContent from '@digigov/ui/core/NavList/NavMenuContainerContent';
|
|
7
12
|
import NavMenuContainerContentList from '@digigov/ui/core/NavList/NavMenuContainerContentList';
|
|
8
13
|
import NavMenuContainerContentListItem from '@digigov/ui/core/NavList/NavMenuContainerContentListItem';
|
|
9
|
-
import NavMenuContainerTitle from '@digigov/ui/core/NavList/NavMenuContainerTitle';
|
|
10
|
-
import {
|
|
11
|
-
isNavListItemLinkInterface,
|
|
12
|
-
NavListLayout,
|
|
13
|
-
} from '@digigov/ui/core/NavList/types';
|
|
14
14
|
|
|
15
15
|
export interface NavListItemBaseProps {
|
|
16
16
|
container?: (key: string) => { active: boolean; id: string };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Link } from '@digigov/ui/core';
|
|
3
2
|
import NavList, {
|
|
4
3
|
isNavListItemLinkInterface,
|
|
5
4
|
Nav,
|
|
@@ -12,6 +11,7 @@ import NavList, {
|
|
|
12
11
|
NavMenuContainerTitle,
|
|
13
12
|
} from '@digigov/ui/core/NavList';
|
|
14
13
|
import { useNavList } from '@digigov/ui/hooks/useNavList';
|
|
14
|
+
import { Link } from '@digigov/ui/core';
|
|
15
15
|
const links = [
|
|
16
16
|
{ name: 'Nav1', href: '#', label: 'Nav list item 1' },
|
|
17
17
|
{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import Link from '@digigov/ui/core/Link';
|
|
3
2
|
import NavList, {
|
|
4
3
|
isNavListItemLinkInterface,
|
|
5
4
|
Nav,
|
|
@@ -12,6 +11,7 @@ import NavList, {
|
|
|
12
11
|
NavMenuContainerTitle,
|
|
13
12
|
} from '@digigov/ui/core/NavList';
|
|
14
13
|
import { useNavList } from '@digigov/ui/hooks/useNavList';
|
|
14
|
+
import Link from '@digigov/ui/core/Link';
|
|
15
15
|
|
|
16
16
|
const links = [
|
|
17
17
|
{ name: 'Nav1', href: '#', label: 'Nav list item 1' },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { NavLinkInterface } from '@digigov/ui/core/NavList/NavListAuto/NavListContextAuto';
|
|
2
3
|
import { BaseCSSProperties } from '@material-ui/core/styles/withStyles';
|
|
3
4
|
import { NavProps } from '@digigov/ui/core/NavList';
|
|
4
|
-
import { NavLinkInterface } from '@digigov/ui/core/NavList/NavListAuto/NavListContextAuto';
|
|
5
5
|
|
|
6
6
|
export type NavListLayout = 'horizontal' | 'vertical';
|
|
7
7
|
|
|
@@ -2,9 +2,9 @@ import React from 'react';
|
|
|
2
2
|
import NotificationBannerContainer, {
|
|
3
3
|
NotificationBannerContainerProps,
|
|
4
4
|
} from '@digigov/react-core/NotificationBannerContainer';
|
|
5
|
-
import NotificationBannerContent from '@digigov/react-core/NotificationBannerContent';
|
|
6
5
|
import NotificationBannerHeader from '@digigov/react-core/NotificationBannerHeader';
|
|
7
6
|
import NotificationBannerHeading from '@digigov/react-core/NotificationBannerHeading';
|
|
7
|
+
import NotificationBannerContent from '@digigov/react-core/NotificationBannerContent';
|
|
8
8
|
import NotificationBannerLink from '@digigov/react-core/NotificationBannerLink';
|
|
9
9
|
|
|
10
10
|
export interface NotificationBannerProps
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { Link } from '@digigov/ui/core/Link';
|
|
4
|
-
|
|
5
3
|
import {
|
|
6
4
|
PhaseBanner,
|
|
7
5
|
PhaseBannerTag,
|
|
8
6
|
PhaseBannerText,
|
|
9
7
|
} from '@digigov/ui/core/PhaseBanner';
|
|
10
8
|
|
|
9
|
+
import { Link } from '@digigov/ui/core/Link';
|
|
10
|
+
|
|
11
11
|
export const Default = () => (
|
|
12
12
|
<PhaseBanner>
|
|
13
13
|
<PhaseBannerTag>ALPHA</PhaseBannerTag>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { Link } from '@digigov/ui/core/Link';
|
|
4
|
-
|
|
5
3
|
import {
|
|
6
4
|
PhaseBanner,
|
|
7
5
|
PhaseBannerTag,
|
|
8
6
|
PhaseBannerText,
|
|
9
7
|
} from '@digigov/ui/core/PhaseBanner';
|
|
10
8
|
|
|
9
|
+
import { Link } from '@digigov/ui/core/Link';
|
|
10
|
+
|
|
11
11
|
export const Underlined = () => (
|
|
12
12
|
<PhaseBanner underline>
|
|
13
13
|
<PhaseBannerTag>ALPHA</PhaseBannerTag>
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
FieldContainer,
|
|
5
|
-
Fieldset,
|
|
6
|
-
FieldsetLegend,
|
|
7
|
-
} from '@digigov/ui/core/FieldContainer';
|
|
8
|
-
|
|
9
3
|
import {
|
|
10
4
|
RadioContainer,
|
|
11
5
|
RadioItem,
|
|
@@ -14,6 +8,12 @@ import {
|
|
|
14
8
|
|
|
15
9
|
import { TextInput } from '@digigov/ui/core/TextInput';
|
|
16
10
|
|
|
11
|
+
import {
|
|
12
|
+
FieldContainer,
|
|
13
|
+
Fieldset,
|
|
14
|
+
FieldsetLegend,
|
|
15
|
+
} from '@digigov/ui/core/FieldContainer';
|
|
16
|
+
|
|
17
17
|
import { Hint } from '@digigov/ui/typography/Hint';
|
|
18
18
|
|
|
19
19
|
export const ConditionalReveal = () => (
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
+
import { RadioContainer, RadioItem } from '@digigov/ui/core/RadioContainer';
|
|
4
|
+
|
|
3
5
|
import {
|
|
4
6
|
FieldContainer,
|
|
5
7
|
Fieldset,
|
|
6
8
|
FieldsetLegend,
|
|
7
9
|
} from '@digigov/ui/core/FieldContainer';
|
|
8
10
|
|
|
9
|
-
import { RadioContainer, RadioItem } from '@digigov/ui/core/RadioContainer';
|
|
10
|
-
|
|
11
11
|
export const Default = () => (
|
|
12
12
|
<FieldContainer>
|
|
13
13
|
<Fieldset>
|