@digigov/ui 2.0.0-298cfc51 → 2.0.0-2a26e869
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/app/Footer/__stories__/FooterWithText/index.js +1 -1
- package/app/Footer/__stories__/FooterWithText.js.map +2 -2
- package/app/Masthead/__stories__/Default/index.js +1 -1
- package/app/Masthead/__stories__/Default.js.map +2 -2
- package/app/Masthead/__stories__/Secondary/index.js +1 -1
- package/app/Masthead/__stories__/Secondary.js.map +2 -2
- package/app/Masthead/__stories__/WithElements/index.js +1 -1
- package/app/Masthead/__stories__/WithElements.js.map +2 -2
- package/app/Masthead/__stories__/WithLogo/index.js +1 -1
- package/app/Masthead/__stories__/WithLogo.js.map +2 -2
- package/app/Modal/Modal.stories.js.map +2 -2
- package/app/Modal/__stories__/Auto/index.js +1 -5
- package/app/Modal/__stories__/Auto.js.map +2 -2
- package/app/OutdatedBrowserBanner/hooks/evaluateBrowserVersion/index.js +2 -2
- package/app/OutdatedBrowserBanner/hooks/evaluateBrowserVersion.js.map +2 -2
- package/app/QrCodeScanner/__stories__/Default.js.map +1 -1
- package/app/QrCodeScanner/index.js +1 -1
- package/app/QrCodeScanner/index.js.map +2 -2
- package/app/QrCodeViewer/index.js +1 -1
- package/app/QrCodeViewer/index.js.map +2 -2
- package/app/QrCodeViewer/qrcodegen.js.map +1 -1
- package/app/QrCodeViewer/types.d.ts +6 -6
- package/app/QrCodeViewer/utils.js.map +2 -2
- package/app/Skeleton/__stories__/SpecificWidthAndHeight.js.map +2 -2
- package/app/ThemeOptions/index.js +0 -4
- package/app/ThemeOptions/index.js.map +2 -2
- package/app/hooks/useHighlightLinks.js.map +2 -2
- package/app/hooks/useTheme/index.js +3 -1
- package/app/hooks/useTheme.js.map +2 -2
- package/cjs/app/Footer/__stories__/FooterWithText/index.js +1 -1
- package/cjs/app/Footer/__stories__/FooterWithText.js.map +2 -2
- package/cjs/app/Masthead/__stories__/Default/index.js +1 -1
- package/cjs/app/Masthead/__stories__/Default.js.map +2 -2
- package/cjs/app/Masthead/__stories__/Secondary/index.js +1 -1
- package/cjs/app/Masthead/__stories__/Secondary.js.map +2 -2
- package/cjs/app/Masthead/__stories__/WithElements/index.js +1 -1
- package/cjs/app/Masthead/__stories__/WithElements.js.map +2 -2
- package/cjs/app/Masthead/__stories__/WithLogo/index.js +1 -1
- package/cjs/app/Masthead/__stories__/WithLogo.js.map +2 -2
- package/cjs/app/Modal/Modal.stories.js.map +2 -2
- package/cjs/app/Modal/__stories__/Auto.js.map +2 -2
- package/cjs/app/OutdatedBrowserBanner/hooks/evaluateBrowserVersion/index.js +2 -2
- package/cjs/app/OutdatedBrowserBanner/hooks/evaluateBrowserVersion.js.map +2 -2
- package/cjs/app/QrCodeScanner/__stories__/Default.js.map +1 -1
- package/cjs/app/QrCodeScanner/index.js +1 -1
- package/cjs/app/QrCodeScanner/index.js.map +2 -2
- package/cjs/app/QrCodeViewer/index.js +1 -1
- package/cjs/app/QrCodeViewer/index.js.map +2 -2
- package/cjs/app/QrCodeViewer/qrcodegen.js.map +1 -1
- package/cjs/app/QrCodeViewer/types.js.map +1 -1
- package/cjs/app/QrCodeViewer/utils.js.map +2 -2
- package/cjs/app/Skeleton/__stories__/SpecificWidthAndHeight.js.map +2 -2
- package/cjs/app/ThemeOptions/index.js +0 -4
- package/cjs/app/ThemeOptions/index.js.map +2 -2
- package/cjs/app/hooks/useHighlightLinks.js.map +2 -2
- package/cjs/app/hooks/useTheme/index.js +3 -1
- package/cjs/app/hooks/useTheme.js.map +2 -2
- package/cjs/content/Accordion/__stories__/Auto.js.map +1 -1
- package/cjs/content/Accordion/auto.js.map +2 -2
- package/cjs/content/Accordion/index.js.map +2 -2
- package/cjs/content/List/__stories__/Default.js.map +2 -2
- package/cjs/content/Markdown/Markdown.stories.js.map +2 -2
- package/cjs/content/Markdown/__stories__/Default/index.js +1 -1
- package/cjs/content/Markdown/__stories__/Default.js.map +2 -2
- package/cjs/content/Markdown/index.js +4 -1
- package/cjs/content/Markdown/index.js.map +2 -2
- package/cjs/content/SafeHTML/SafeHTML.stories.js.map +2 -2
- package/cjs/content/SafeHTML/__stories__/Default/index.js +1 -1
- package/cjs/content/SafeHTML/__stories__/Default.js.map +2 -2
- package/cjs/content/SafeHTML/index.js.map +2 -2
- package/cjs/content/StepNav/__stories__/Auto.js.map +2 -2
- package/cjs/content/StepNav/auto/index.js +2 -2
- package/cjs/content/StepNav/auto.js.map +3 -3
- package/cjs/content/Table/TableFloatingScroll.js.map +2 -2
- package/cjs/content/Table/__stories__/WithLoader/index.js +3 -5
- package/cjs/content/Table/__stories__/WithLoader.js.map +3 -3
- package/cjs/content/Table/hooks/useSort/index.js +1 -2
- package/cjs/content/Table/hooks/useSort.js.map +3 -3
- package/cjs/content/Table/index.js +5 -5
- package/cjs/content/Table/index.js.map +2 -2
- package/cjs/feedback/CopyToClipboard/index.js +1 -1
- package/cjs/feedback/CopyToClipboard/index.js.map +2 -2
- package/cjs/feedback/ErrorSummary/ErrorSummary.stories/index.js +3 -0
- package/cjs/feedback/ErrorSummary/ErrorSummary.stories.js.map +2 -2
- package/cjs/feedback/ErrorSummary/__stories__/ErrorGroupLinkedToInput/index.js +49 -0
- package/cjs/feedback/ErrorSummary/__stories__/ErrorGroupLinkedToInput.js.map +7 -0
- package/cjs/feedback/ErrorSummary/__stories__/LinkedToInput/index.js +1 -2
- package/cjs/feedback/ErrorSummary/__stories__/LinkedToInput.js.map +3 -3
- package/cjs/form/AutoComplete/Status/index.js.map +1 -1
- package/cjs/form/AutoComplete/__stories__/Multiple/index.js +9 -1
- package/cjs/form/AutoComplete/__stories__/Multiple.js.map +2 -2
- package/cjs/form/AutoComplete/__stories__/MultipleShowingTwoSelected/index.js +10 -1
- package/cjs/form/AutoComplete/__stories__/MultipleShowingTwoSelected.js.map +2 -2
- package/cjs/form/AutoComplete/__stories__/MultipleWithDefaultValues/index.js +10 -1
- package/cjs/form/AutoComplete/__stories__/MultipleWithDefaultValues.js.map +2 -2
- package/cjs/form/AutoComplete/__stories__/MultipleWithMinLength.js.map +1 -1
- package/cjs/form/AutoComplete/__stories__/WithShowAllValues/index.js +1 -8
- package/cjs/form/AutoComplete/__stories__/WithShowAllValues.js.map +2 -2
- package/cjs/form/AutoComplete/index.js +38 -27
- package/cjs/form/AutoComplete/index.js.map +3 -3
- package/cjs/form/SearchContainer/__stories__/Default/index.js +1 -2
- package/cjs/form/SearchContainer/__stories__/Default.js.map +3 -3
- package/cjs/form/TextArea/__stories__/Default/index.js +1 -2
- package/cjs/form/TextArea/__stories__/Default.js.map +3 -3
- package/cjs/form/TextArea/__stories__/DisabledInput/index.js +1 -2
- package/cjs/form/TextArea/__stories__/DisabledInput.js.map +3 -3
- package/cjs/form/TextArea/__stories__/LimitedCharacters/index.js +1 -2
- package/cjs/form/TextArea/__stories__/LimitedCharacters.js.map +3 -3
- package/cjs/form/TextArea/__stories__/WithDeclaredRows/index.js +1 -2
- package/cjs/form/TextArea/__stories__/WithDeclaredRows.js.map +3 -3
- package/cjs/form/TextArea/__stories__/WithErrorMessage/index.js +1 -2
- package/cjs/form/TextArea/__stories__/WithErrorMessage.js.map +3 -3
- package/cjs/form/TextArea/__stories__/WithHint/index.js +1 -2
- package/cjs/form/TextArea/__stories__/WithHint.js.map +3 -3
- package/cjs/form/TextInput/__stories__/AskingForNumbers/index.js +1 -2
- package/cjs/form/TextInput/__stories__/AskingForNumbers.js.map +3 -3
- package/cjs/form/TextInput/__stories__/Default/index.js +1 -2
- package/cjs/form/TextInput/__stories__/Default.js.map +3 -3
- package/cjs/form/TextInput/__stories__/DisabledInput/index.js +1 -2
- package/cjs/form/TextInput/__stories__/DisabledInput.js.map +3 -3
- package/cjs/form/TextInput/__stories__/DisabledInputWithValue/index.js +2 -3
- package/cjs/form/TextInput/__stories__/DisabledInputWithValue.js.map +3 -3
- package/cjs/form/TextInput/__stories__/FixedWidths/index.js +1 -2
- package/cjs/form/TextInput/__stories__/FixedWidths.js.map +3 -3
- package/cjs/form/TextInput/__stories__/FluidWidths/index.js +1 -2
- package/cjs/form/TextInput/__stories__/FluidWidths.js.map +3 -3
- package/cjs/form/TextInput/__stories__/WithErrorMessage/index.js +1 -2
- package/cjs/form/TextInput/__stories__/WithErrorMessage.js.map +3 -3
- package/cjs/form/TextInput/__stories__/WithHint/index.js +1 -2
- package/cjs/form/TextInput/__stories__/WithHint.js.map +3 -3
- package/cjs/i18n/index.js +1 -1
- package/cjs/i18n/index.js.map +2 -2
- package/cjs/i18n/locales/en.js.map +2 -2
- package/cjs/icons/index.js.map +1 -1
- package/cjs/layouts/Basic/Basic.stories.js.map +1 -1
- package/cjs/layouts/Basic/Bottom/__stories__/Default/index.js +6 -6
- package/cjs/layouts/Basic/Bottom/__stories__/Default.js.map +2 -2
- package/cjs/layouts/Basic/Container/__stories__/Default/index.js +5 -5
- package/cjs/layouts/Basic/Container/__stories__/Default.js.map +2 -2
- package/cjs/layouts/Basic/Main/__stories__/Default/index.js +5 -5
- package/cjs/layouts/Basic/Main/__stories__/Default.js.map +2 -2
- package/cjs/layouts/Basic/Top/__stories__/Default/index.js +5 -5
- package/cjs/layouts/Basic/Top/__stories__/Default.js.map +2 -2
- package/cjs/layouts/Basic/__stories__/WithBasicLayout/index.js +2 -2
- package/cjs/layouts/Basic/__stories__/WithBasicLayout.js.map +2 -2
- package/cjs/layouts/Screen/Screen.stories.js.map +1 -1
- package/cjs/layouts/Screen/__stories__/Default.js.map +1 -1
- package/cjs/layouts/Screen/__stories__/ScreenDown.js.map +1 -1
- package/cjs/layouts/Screen/__stories__/ScreenUp.js.map +1 -1
- package/cjs/layouts/Screen/__stories__/SpecificScreenSize.js.map +1 -1
- package/cjs/layouts/Screen/index.js.map +1 -1
- package/cjs/lazy/index.js +75 -76
- package/cjs/lazy.js.map +3 -3
- package/cjs/navigation/BackToTopLink/index.js +1 -3
- package/cjs/navigation/BackToTopLink/index.js.map +2 -2
- package/cjs/navigation/Breadcrumbs/BreadcrumbsListItem/index.js +1 -1
- package/cjs/navigation/Breadcrumbs/BreadcrumbsListItem.js.map +2 -2
- package/cjs/navigation/Breadcrumbs/__stories__/Auto/index.js +3 -2
- package/cjs/navigation/Breadcrumbs/__stories__/Auto.js.map +2 -2
- package/cjs/navigation/Breadcrumbs/__stories__/WithHook.js.map +2 -2
- package/cjs/navigation/Breadcrumbs/__stories__/WithProvider/index.js +1 -1
- package/cjs/navigation/Breadcrumbs/__stories__/WithProvider.js.map +2 -2
- package/cjs/navigation/Breadcrumbs/auto.js.map +2 -2
- package/cjs/navigation/Breadcrumbs/index.js +0 -2
- package/cjs/navigation/Breadcrumbs/index.js.map +2 -2
- package/cjs/navigation/Breadcrumbs/slug/index.js +1 -1
- package/cjs/navigation/Breadcrumbs/slug.js.map +2 -2
- package/cjs/navigation/Breadcrumbs/utils.js.map +2 -2
- package/cjs/navigation/Drawer/__stories__/Default/index.js +1 -2
- package/cjs/navigation/Drawer/__stories__/Default.js.map +3 -3
- package/cjs/navigation/Dropdown/Dropdown.stories.js.map +2 -2
- package/cjs/navigation/Dropdown/__stories__/AlignRight/index.js +1 -2
- package/cjs/navigation/Dropdown/__stories__/AlignRight.js.map +3 -3
- package/cjs/navigation/Dropdown/__stories__/Default/index.js +1 -2
- package/cjs/navigation/Dropdown/__stories__/Default.js.map +3 -3
- package/cjs/navigation/Dropdown/__stories__/Dense/index.js +1 -2
- package/cjs/navigation/Dropdown/__stories__/Dense.js.map +3 -3
- package/cjs/navigation/Dropdown/__stories__/Disabled/index.js +1 -2
- package/cjs/navigation/Dropdown/__stories__/Disabled.js.map +3 -3
- package/cjs/navigation/Dropdown/__stories__/PlacementTop/index.js +1 -2
- package/cjs/navigation/Dropdown/__stories__/PlacementTop.js.map +3 -3
- package/cjs/navigation/Dropdown/__stories__/ScrollableContent/index.js +1 -1
- package/cjs/navigation/Dropdown/__stories__/ScrollableContent.js.map +2 -2
- package/cjs/navigation/Dropdown/__stories__/VariantLink/index.js +1 -2
- package/cjs/navigation/Dropdown/__stories__/VariantLink.js.map +3 -3
- package/cjs/navigation/Link/__stories__/WithProvider/index.js +9 -1
- package/cjs/navigation/Link/__stories__/WithProvider.js.map +2 -2
- package/cjs/navigation/NavList/__stories__/Default/index.js +9 -9
- package/cjs/navigation/NavList/__stories__/Default.js.map +2 -2
- package/cjs/navigation/NavList/__stories__/HorizontalWithDrawer/index.js +21 -21
- package/cjs/navigation/NavList/__stories__/HorizontalWithDrawer.js.map +2 -2
- package/cjs/navigation/NavList/__stories__/HorizontalWithoutDrawer/index.js +21 -21
- package/cjs/navigation/NavList/__stories__/HorizontalWithoutDrawer.js.map +2 -2
- package/cjs/navigation/NavList/__stories__/NavListWithoutNav/index.js +9 -9
- package/cjs/navigation/NavList/__stories__/NavListWithoutNav.js.map +2 -2
- package/cjs/navigation/NavList/__stories__/UsingNavListAuto/index.js +1 -1
- package/cjs/navigation/NavList/__stories__/UsingNavListAuto.js.map +2 -2
- package/cjs/navigation/NavList/__stories__/VerticalWithoutDrawer/index.js +21 -21
- package/cjs/navigation/NavList/__stories__/VerticalWithoutDrawer.js.map +2 -2
- package/cjs/navigation/NavList/__stories__/WithBadge/index.js +10 -10
- package/cjs/navigation/NavList/__stories__/WithBadge.js.map +2 -2
- package/cjs/navigation/NavList/hooks/useTogglableNav/index.js +2 -2
- package/cjs/navigation/NavList/hooks/useTogglableNav.js.map +2 -2
- package/cjs/navigation/Pagination/Pagination.stories.js.map +2 -2
- package/cjs/navigation/Pagination/__stories__/PaginationWithSmallFont/index.js +1 -1
- package/cjs/navigation/Pagination/__stories__/PaginationWithSmallFont.js.map +2 -2
- package/cjs/navigation/Pagination/__stories__/WithInactiveValues/index.js +1 -1
- package/cjs/navigation/Pagination/__stories__/WithInactiveValues.js.map +2 -2
- package/cjs/navigation/Pagination/__stories__/WithResultsPerPage/index.js +1 -1
- package/cjs/navigation/Pagination/__stories__/WithResultsPerPage.js.map +2 -2
- package/cjs/navigation/Tabs/__stories__/Auto.js.map +2 -2
- package/cjs/navigation/Tabs/__stories__/Default.js.map +2 -2
- package/cjs/navigation/Tabs/__stories__/Dense.js.map +2 -2
- package/cjs/navigation/Tabs/__stories__/UsingAccordion/index.js +2 -2
- package/cjs/navigation/Tabs/__stories__/UsingAccordion.js.map +2 -2
- package/cjs/navigation/Tabs/hooks/index.js +1 -1
- package/cjs/navigation/Tabs/hooks.js.map +2 -2
- package/cjs/registry/index.js +818 -228
- package/cjs/registry.js.map +3 -3
- package/cjs/typography/Code/index.js.map +1 -1
- package/cjs/typography/Typography/index.js.map +1 -1
- package/cjs/utils/hooks/useDebounce/index.js +2 -2
- package/cjs/utils/hooks/useDebounce.js.map +2 -2
- package/cjs/utils/hooks/useLatest.js.map +2 -2
- package/cjs/utils/hooks/useScreen/index.js +13 -4
- package/cjs/utils/hooks/useScreen.js.map +2 -2
- package/cjs/utils/hooks/useSearch.js.map +2 -2
- package/content/Accordion/__stories__/Auto.js.map +1 -1
- package/content/Accordion/auto.d.ts +1 -2
- package/content/Accordion/auto.js.map +2 -2
- package/content/Accordion/index.js.map +2 -2
- package/content/List/__stories__/Default.js.map +2 -2
- package/content/Markdown/Markdown.stories.js.map +2 -2
- package/content/Markdown/__stories__/Default/index.js +1 -1
- package/content/Markdown/__stories__/Default.js.map +2 -2
- package/content/Markdown/index.d.ts +1 -1
- package/content/Markdown/index.js +4 -1
- package/content/Markdown/index.js.map +2 -2
- package/content/SafeHTML/SafeHTML.stories.js.map +2 -2
- package/content/SafeHTML/__stories__/Default/index.js +1 -1
- package/content/SafeHTML/__stories__/Default.js.map +2 -2
- package/content/SafeHTML/index.d.ts +1 -1
- package/content/SafeHTML/index.js.map +2 -2
- package/content/StepNav/__stories__/Auto.js.map +2 -2
- package/content/StepNav/auto/index.js +3 -1
- package/content/StepNav/auto.d.ts +1 -2
- package/content/StepNav/auto.js.map +2 -2
- package/content/Table/TableFloatingScroll.js.map +2 -2
- package/content/Table/__stories__/WithLoader/index.js +2 -3
- package/content/Table/__stories__/WithLoader.js.map +2 -2
- package/content/Table/hooks/useSort/index.js +1 -2
- package/content/Table/hooks/useSort.js.map +2 -2
- package/content/Table/index.js +5 -5
- package/content/Table/index.js.map +2 -2
- package/feedback/CopyToClipboard/index.js +1 -1
- package/feedback/CopyToClipboard/index.js.map +2 -2
- package/feedback/ErrorSummary/ErrorSummary.stories/index.js +2 -0
- package/feedback/ErrorSummary/ErrorSummary.stories.d.ts +1 -0
- package/feedback/ErrorSummary/ErrorSummary.stories.js.map +2 -2
- package/feedback/ErrorSummary/__stories__/ErrorGroupLinkedToInput/index.js +16 -0
- package/feedback/ErrorSummary/__stories__/ErrorGroupLinkedToInput/package.json +6 -0
- package/feedback/ErrorSummary/__stories__/ErrorGroupLinkedToInput.d.ts +3 -0
- package/feedback/ErrorSummary/__stories__/ErrorGroupLinkedToInput.js.map +7 -0
- package/feedback/ErrorSummary/__stories__/LinkedToInput/index.js +1 -2
- package/feedback/ErrorSummary/__stories__/LinkedToInput.js.map +2 -2
- package/form/AutoComplete/Status/index.d.ts +4 -4
- package/form/AutoComplete/Status/index.js.map +1 -1
- package/form/AutoComplete/__stories__/Multiple/index.js +9 -1
- package/form/AutoComplete/__stories__/Multiple.js.map +2 -2
- package/form/AutoComplete/__stories__/MultipleShowingTwoSelected/index.js +10 -1
- package/form/AutoComplete/__stories__/MultipleShowingTwoSelected.js.map +2 -2
- package/form/AutoComplete/__stories__/MultipleWithDefaultValues/index.js +10 -1
- package/form/AutoComplete/__stories__/MultipleWithDefaultValues.js.map +2 -2
- package/form/AutoComplete/__stories__/MultipleWithMinLength.js.map +1 -1
- package/form/AutoComplete/__stories__/WithShowAllValues/index.js +1 -8
- package/form/AutoComplete/__stories__/WithShowAllValues.js.map +2 -2
- package/form/AutoComplete/index.d.ts +8 -9
- package/form/AutoComplete/index.js +38 -27
- package/form/AutoComplete/index.js.map +2 -2
- package/form/SearchContainer/__stories__/Default/index.js +4 -2
- package/form/SearchContainer/__stories__/Default.js.map +2 -2
- package/form/TextArea/__stories__/Default/index.js +1 -2
- package/form/TextArea/__stories__/Default.js.map +2 -2
- package/form/TextArea/__stories__/DisabledInput/index.js +1 -2
- package/form/TextArea/__stories__/DisabledInput.js.map +2 -2
- package/form/TextArea/__stories__/LimitedCharacters/index.js +1 -2
- package/form/TextArea/__stories__/LimitedCharacters.js.map +2 -2
- package/form/TextArea/__stories__/WithDeclaredRows/index.js +1 -2
- package/form/TextArea/__stories__/WithDeclaredRows.js.map +2 -2
- package/form/TextArea/__stories__/WithErrorMessage/index.js +1 -2
- package/form/TextArea/__stories__/WithErrorMessage.js.map +2 -2
- package/form/TextArea/__stories__/WithHint/index.js +1 -2
- package/form/TextArea/__stories__/WithHint.js.map +2 -2
- package/form/TextInput/__stories__/AskingForNumbers/index.js +1 -2
- package/form/TextInput/__stories__/AskingForNumbers.js.map +2 -2
- package/form/TextInput/__stories__/Default/index.js +1 -2
- package/form/TextInput/__stories__/Default.js.map +2 -2
- package/form/TextInput/__stories__/DisabledInput/index.js +1 -2
- package/form/TextInput/__stories__/DisabledInput.js.map +2 -2
- package/form/TextInput/__stories__/DisabledInputWithValue/index.js +2 -3
- package/form/TextInput/__stories__/DisabledInputWithValue.js.map +2 -2
- package/form/TextInput/__stories__/FixedWidths/index.js +1 -2
- package/form/TextInput/__stories__/FixedWidths.js.map +2 -2
- package/form/TextInput/__stories__/FluidWidths/index.js +1 -2
- package/form/TextInput/__stories__/FluidWidths.js.map +2 -2
- package/form/TextInput/__stories__/WithErrorMessage/index.js +1 -2
- package/form/TextInput/__stories__/WithErrorMessage.js.map +2 -2
- package/form/TextInput/__stories__/WithHint/index.js +1 -2
- package/form/TextInput/__stories__/WithHint.js.map +2 -2
- package/i18n/index.js +1 -1
- package/i18n/index.js.map +2 -2
- package/i18n/locales/en.js.map +2 -2
- package/icons/index.js.map +1 -1
- package/index.js +1 -1
- package/layouts/Basic/Basic.stories.js.map +1 -1
- package/layouts/Basic/Bottom/__stories__/Default/index.js +6 -6
- package/layouts/Basic/Bottom/__stories__/Default.js.map +2 -2
- package/layouts/Basic/Container/__stories__/Default/index.js +5 -5
- package/layouts/Basic/Container/__stories__/Default.js.map +2 -2
- package/layouts/Basic/Main/__stories__/Default/index.js +5 -5
- package/layouts/Basic/Main/__stories__/Default.js.map +2 -2
- package/layouts/Basic/Top/__stories__/Default/index.js +5 -5
- package/layouts/Basic/Top/__stories__/Default.js.map +2 -2
- package/layouts/Basic/__stories__/WithBasicLayout/index.js +2 -2
- package/layouts/Basic/__stories__/WithBasicLayout.js.map +2 -2
- package/layouts/Screen/Screen.stories.js.map +1 -1
- package/layouts/Screen/__stories__/Default.js.map +1 -1
- package/layouts/Screen/__stories__/ScreenDown.js.map +1 -1
- package/layouts/Screen/__stories__/ScreenUp.js.map +1 -1
- package/layouts/Screen/__stories__/SpecificScreenSize.js.map +1 -1
- package/layouts/Screen/index.js.map +1 -1
- package/lazy/index.js +331 -336
- package/navigation/BackToTopLink/index.js +1 -3
- package/navigation/BackToTopLink/index.js.map +2 -2
- package/navigation/Breadcrumbs/BreadcrumbsListItem/index.js +1 -1
- package/navigation/Breadcrumbs/BreadcrumbsListItem.js.map +2 -2
- package/navigation/Breadcrumbs/__stories__/Auto/index.js +3 -2
- package/navigation/Breadcrumbs/__stories__/Auto.js.map +2 -2
- package/navigation/Breadcrumbs/__stories__/WithHook/index.js +3 -1
- package/navigation/Breadcrumbs/__stories__/WithHook.js.map +2 -2
- package/navigation/Breadcrumbs/__stories__/WithProvider/index.js +1 -1
- package/navigation/Breadcrumbs/__stories__/WithProvider.js.map +2 -2
- package/navigation/Breadcrumbs/auto.d.ts +0 -2
- package/navigation/Breadcrumbs/auto.js.map +2 -2
- package/navigation/Breadcrumbs/index.d.ts +0 -1
- package/navigation/Breadcrumbs/index.js +0 -1
- package/navigation/Breadcrumbs/index.js.map +2 -2
- package/navigation/Breadcrumbs/slug/index.js +1 -1
- package/navigation/Breadcrumbs/slug.js.map +2 -2
- package/navigation/Breadcrumbs/utils.js.map +2 -2
- package/navigation/Drawer/__stories__/Default/index.js +1 -2
- package/navigation/Drawer/__stories__/Default.js.map +2 -2
- package/navigation/Dropdown/Dropdown.stories.js.map +2 -2
- package/navigation/Dropdown/__stories__/AlignRight/index.js +1 -2
- package/navigation/Dropdown/__stories__/AlignRight.js.map +2 -2
- package/navigation/Dropdown/__stories__/Default/index.js +1 -2
- package/navigation/Dropdown/__stories__/Default.js.map +2 -2
- package/navigation/Dropdown/__stories__/Dense/index.js +1 -2
- package/navigation/Dropdown/__stories__/Dense.js.map +2 -2
- package/navigation/Dropdown/__stories__/Disabled/index.js +1 -2
- package/navigation/Dropdown/__stories__/Disabled.js.map +2 -2
- package/navigation/Dropdown/__stories__/PlacementTop/index.js +1 -2
- package/navigation/Dropdown/__stories__/PlacementTop.js.map +2 -2
- package/navigation/Dropdown/__stories__/ScrollableContent/index.js +1 -1
- package/navigation/Dropdown/__stories__/ScrollableContent.js.map +2 -2
- package/navigation/Dropdown/__stories__/VariantLink/index.js +1 -2
- package/navigation/Dropdown/__stories__/VariantLink.js.map +2 -2
- package/navigation/Link/__stories__/WithProvider/index.js +9 -1
- package/navigation/Link/__stories__/WithProvider.js.map +2 -2
- package/navigation/NavList/__stories__/Default/index.js +9 -9
- package/navigation/NavList/__stories__/Default.js.map +2 -2
- package/navigation/NavList/__stories__/HorizontalWithDrawer/index.js +21 -21
- package/navigation/NavList/__stories__/HorizontalWithDrawer.js.map +2 -2
- package/navigation/NavList/__stories__/HorizontalWithoutDrawer/index.js +21 -21
- package/navigation/NavList/__stories__/HorizontalWithoutDrawer.js.map +2 -2
- package/navigation/NavList/__stories__/NavListWithoutNav/index.js +9 -9
- package/navigation/NavList/__stories__/NavListWithoutNav.js.map +2 -2
- package/navigation/NavList/__stories__/UsingNavListAuto/index.js +1 -1
- package/navigation/NavList/__stories__/UsingNavListAuto.js.map +2 -2
- package/navigation/NavList/__stories__/VerticalWithoutDrawer/index.js +21 -21
- package/navigation/NavList/__stories__/VerticalWithoutDrawer.js.map +2 -2
- package/navigation/NavList/__stories__/WithBadge/index.js +10 -10
- package/navigation/NavList/__stories__/WithBadge.js.map +2 -2
- package/navigation/NavList/hooks/useTogglableNav/index.js +2 -2
- package/navigation/NavList/hooks/useTogglableNav.js.map +2 -2
- package/navigation/Pagination/Pagination.stories.js.map +2 -2
- package/navigation/Pagination/__stories__/PaginationWithSmallFont/index.js +1 -1
- package/navigation/Pagination/__stories__/PaginationWithSmallFont.js.map +2 -2
- package/navigation/Pagination/__stories__/WithInactiveValues/index.js +1 -1
- package/navigation/Pagination/__stories__/WithInactiveValues.js.map +2 -2
- package/navigation/Pagination/__stories__/WithResultsPerPage/index.js +1 -1
- package/navigation/Pagination/__stories__/WithResultsPerPage.js.map +2 -2
- package/navigation/Tabs/__stories__/Auto/index.js +1 -4
- package/navigation/Tabs/__stories__/Auto.js.map +2 -2
- package/navigation/Tabs/__stories__/Default/index.js +1 -4
- package/navigation/Tabs/__stories__/Default.js.map +2 -2
- package/navigation/Tabs/__stories__/Dense/index.js +1 -4
- package/navigation/Tabs/__stories__/Dense.js.map +2 -2
- package/navigation/Tabs/__stories__/UsingAccordion/index.js +9 -12
- package/navigation/Tabs/__stories__/UsingAccordion.js.map +2 -2
- package/navigation/Tabs/hooks/index.js +1 -1
- package/navigation/Tabs/hooks.js.map +2 -2
- package/package.json +5 -5
- package/registry/index.js +962 -372
- package/src/app/Footer/__stories__/FooterWithText.tsx +9 -6
- package/src/app/Footer/interaction.test.tsx +11 -7
- package/src/app/Header/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/app/Header/index.spec.tsx +1 -1
- package/src/app/Header/interaction.test.tsx +22 -17
- package/src/app/Masthead/__stories__/Default.tsx +1 -1
- package/src/app/Masthead/__stories__/Secondary.tsx +1 -1
- package/src/app/Masthead/__stories__/WithElements.tsx +1 -1
- package/src/app/Masthead/__stories__/WithLogo.tsx +1 -1
- package/src/app/Masthead/interaction.test.tsx +6 -6
- package/src/app/Modal/Modal.stories.js +1 -2
- package/src/app/Modal/__stories__/Auto.tsx +1 -5
- package/src/app/Modal/interaction.test.tsx +22 -21
- package/src/app/OutdatedBrowserBanner/hooks/evaluateBrowserVersion.ts +2 -2
- package/src/app/QrCodeScanner/__stories__/Default.tsx +1 -1
- package/src/app/QrCodeScanner/index.tsx +1 -1
- package/src/app/QrCodeViewer/index.tsx +4 -4
- package/src/app/QrCodeViewer/qrcodegen.ts +3 -3
- package/src/app/QrCodeViewer/types.ts +10 -5
- package/src/app/QrCodeViewer/utils.ts +1 -1
- package/src/app/Skeleton/__stories__/SpecificWidthAndHeight.tsx +1 -1
- package/src/app/ThemeOptions/index.tsx +6 -15
- package/src/app/hooks/useHighlightLinks.ts +3 -4
- package/src/app/hooks/useTheme.ts +4 -3
- package/src/content/Accordion/__stories__/Auto.tsx +1 -1
- package/src/content/Accordion/auto.tsx +1 -2
- package/src/content/Accordion/index.tsx +0 -1
- package/src/content/Accordion/interaction.test.tsx +6 -6
- package/src/content/Card/interaction.test.tsx +6 -6
- package/src/content/Details/interaction.test.tsx +6 -6
- package/src/content/List/__stories__/Default.tsx +3 -9
- package/src/content/Markdown/Markdown.stories.js +1 -2
- package/src/content/Markdown/__stories__/Default.tsx +3 -2
- package/src/content/Markdown/index.tsx +9 -3
- package/src/content/SafeHTML/SafeHTML.stories.js +1 -2
- package/src/content/SafeHTML/__stories__/Default.tsx +4 -3
- package/src/content/SafeHTML/index.tsx +3 -3
- package/src/content/StepNav/__stories__/Auto.tsx +0 -1
- package/src/content/StepNav/auto.tsx +5 -3
- package/src/content/StepNav/interaction.test.tsx +16 -8
- package/src/content/SummaryList/interaction.test.tsx +11 -8
- package/src/content/Table/TableFloatingScroll.tsx +0 -1
- package/src/content/Table/__stories__/WithLoader.tsx +2 -3
- package/src/content/Table/hooks/useSort.tsx +1 -2
- package/src/content/Table/index.tsx +5 -5
- package/src/content/Table/interaction.test.tsx +19 -15
- package/src/feedback/CopyToClipboard/index.tsx +1 -1
- package/src/feedback/CopyToClipboard/interaction.test.tsx +18 -20
- package/src/feedback/ErrorSummary/ErrorSummary.stories.js +1 -0
- package/src/feedback/ErrorSummary/__stories__/ErrorGroupLinkedToInput.tsx +47 -0
- package/src/feedback/ErrorSummary/__stories__/LinkedToInput.tsx +1 -2
- package/src/feedback/ErrorSummary/index.test.tsx +4 -0
- package/src/feedback/ErrorSummary/interaction.test.tsx +7 -7
- package/src/feedback/NotificationBanner/interaction.test.tsx +14 -15
- package/src/feedback/PhaseBanner/interaction.test.tsx +6 -6
- package/src/form/AutoComplete/Status/index.tsx +4 -4
- package/src/form/AutoComplete/__stories__/Multiple.tsx +6 -1
- package/src/form/AutoComplete/__stories__/MultipleShowingTwoSelected.tsx +7 -1
- package/src/form/AutoComplete/__stories__/MultipleWithDefaultValues.tsx +7 -1
- package/src/form/AutoComplete/__stories__/MultipleWithMinLength.tsx +2 -2
- package/src/form/AutoComplete/__stories__/WithShowAllValues.tsx +1 -5
- package/src/form/AutoComplete/index.tsx +56 -40
- package/src/form/AutoComplete/interaction.test.tsx +16 -8
- package/src/form/Button/interaction.test.tsx +38 -39
- package/src/form/Checkbox/interaction.test.tsx +25 -17
- package/src/form/RadioContainer/interaction.test.tsx +16 -15
- package/src/form/SearchContainer/__stories__/Default.tsx +4 -2
- package/src/form/SelectContainer/interaction.test.tsx +10 -7
- package/src/form/TextArea/__stories__/Default.tsx +1 -2
- package/src/form/TextArea/__stories__/DisabledInput.tsx +1 -2
- package/src/form/TextArea/__stories__/LimitedCharacters.tsx +1 -2
- package/src/form/TextArea/__stories__/WithDeclaredRows.tsx +1 -2
- package/src/form/TextArea/__stories__/WithErrorMessage.tsx +1 -2
- package/src/form/TextArea/__stories__/WithHint.tsx +1 -2
- package/src/form/TextInput/__stories__/AskingForNumbers.tsx +1 -2
- package/src/form/TextInput/__stories__/Default.tsx +1 -2
- package/src/form/TextInput/__stories__/DisabledInput.tsx +1 -2
- package/src/form/TextInput/__stories__/DisabledInputWithValue.tsx +4 -5
- package/src/form/TextInput/__stories__/FixedWidths.tsx +1 -2
- package/src/form/TextInput/__stories__/FluidWidths.tsx +1 -2
- package/src/form/TextInput/__stories__/WithErrorMessage.tsx +1 -2
- package/src/form/TextInput/__stories__/WithHint.tsx +1 -2
- package/src/i18n/index.tsx +1 -1
- package/src/i18n/locales/en.ts +3 -6
- package/src/icons/index.tsx +1 -1
- package/src/layouts/Basic/Basic.stories.js +1 -1
- package/src/layouts/Basic/Bottom/__stories__/Default.tsx +6 -6
- package/src/layouts/Basic/Container/__stories__/Default.tsx +5 -5
- package/src/layouts/Basic/Main/__stories__/Default.tsx +5 -5
- package/src/layouts/Basic/Top/__stories__/Default.tsx +5 -5
- package/src/layouts/Basic/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/layouts/Basic/__stories__/WithBasicLayout.tsx +2 -2
- package/src/layouts/Basic/index.spec.tsx +1 -1
- package/src/layouts/Screen/Screen.stories.js +1 -1
- package/src/layouts/Screen/__stories__/Default.tsx +4 -4
- package/src/layouts/Screen/__stories__/ScreenDown.tsx +1 -1
- package/src/layouts/Screen/__stories__/ScreenUp.tsx +1 -1
- package/src/layouts/Screen/__stories__/SpecificScreenSize.tsx +1 -1
- package/src/layouts/Screen/index.tsx +0 -1
- package/src/lazy.js +331 -333
- package/src/navigation/BackLink/interaction.test.tsx +6 -6
- package/src/navigation/BackToTopLink/index.tsx +1 -2
- package/src/navigation/Breadcrumbs/BreadcrumbsListItem.tsx +1 -1
- package/src/navigation/Breadcrumbs/__stories__/Auto.tsx +4 -3
- package/src/navigation/Breadcrumbs/__stories__/WithHook.tsx +4 -2
- package/src/navigation/Breadcrumbs/__stories__/WithProvider.tsx +1 -1
- package/src/navigation/Breadcrumbs/auto.tsx +1 -2
- package/src/navigation/Breadcrumbs/index.tsx +0 -1
- package/src/navigation/Breadcrumbs/interaction.test.tsx +20 -18
- package/src/navigation/Breadcrumbs/slug.ts +3 -3
- package/src/navigation/Breadcrumbs/utils.ts +2 -2
- package/src/navigation/Drawer/__stories__/Default.tsx +1 -2
- package/src/navigation/Dropdown/Dropdown.stories.js +1 -2
- package/src/navigation/Dropdown/__stories__/AlignRight.tsx +1 -2
- package/src/navigation/Dropdown/__stories__/Default.tsx +1 -2
- package/src/navigation/Dropdown/__stories__/Dense.tsx +1 -2
- package/src/navigation/Dropdown/__stories__/Disabled.tsx +1 -2
- package/src/navigation/Dropdown/__stories__/PlacementTop.tsx +1 -2
- package/src/navigation/Dropdown/__stories__/ScrollableContent.tsx +1 -1
- package/src/navigation/Dropdown/__stories__/VariantLink.tsx +1 -2
- package/src/navigation/Dropdown/interaction.test.tsx +34 -35
- package/src/navigation/Link/__stories__/WithProvider.tsx +5 -1
- package/src/navigation/Link/interaction.test.tsx +20 -22
- package/src/navigation/NavList/__stories__/Default.tsx +11 -11
- package/src/navigation/NavList/__stories__/HorizontalWithDrawer.tsx +24 -24
- package/src/navigation/NavList/__stories__/HorizontalWithoutDrawer.tsx +24 -24
- package/src/navigation/NavList/__stories__/NavListWithoutNav.tsx +11 -11
- package/src/navigation/NavList/__stories__/UsingNavListAuto.tsx +1 -1
- package/src/navigation/NavList/__stories__/VerticalWithoutDrawer.tsx +24 -24
- package/src/navigation/NavList/__stories__/WithBadge.tsx +12 -12
- package/src/navigation/NavList/hooks/useTogglableNav.tsx +2 -2
- package/src/navigation/Pagination/Pagination.stories.js +1 -2
- package/src/navigation/Pagination/__stories__/PaginationWithSmallFont.tsx +1 -2
- package/src/navigation/Pagination/__stories__/WithInactiveValues.tsx +1 -1
- package/src/navigation/Pagination/__stories__/WithResultsPerPage.tsx +1 -2
- package/src/navigation/Pagination/interaction.test.tsx +7 -7
- package/src/navigation/Tabs/__stories__/Auto.tsx +1 -5
- package/src/navigation/Tabs/__stories__/Default.tsx +1 -4
- package/src/navigation/Tabs/__stories__/Dense.tsx +1 -4
- package/src/navigation/Tabs/__stories__/UsingAccordion.tsx +10 -13
- package/src/navigation/Tabs/hooks.ts +5 -10
- package/src/navigation/Tabs/interaction.test.tsx +7 -7
- package/src/registry.js +954 -366
- package/src/typography/Code/index.tsx +1 -1
- package/src/typography/Typography/index.tsx +1 -1
- package/src/utils/hooks/useDebounce.ts +4 -4
- package/src/utils/hooks/useLatest.ts +1 -1
- package/src/utils/hooks/useScreen.ts +34 -25
- package/src/utils/hooks/useSearch.ts +2 -3
- package/typography/Code/index.js.map +1 -1
- package/typography/Typography/index.js.map +1 -1
- package/utils/hooks/useDebounce/index.js +2 -2
- package/utils/hooks/useDebounce.d.ts +1 -1
- package/utils/hooks/useDebounce.js.map +2 -2
- package/utils/hooks/useLatest.d.ts +1 -1
- package/utils/hooks/useLatest.js.map +2 -2
- package/utils/hooks/useScreen/index.js +13 -4
- package/utils/hooks/useScreen.js.map +2 -2
- package/utils/hooks/useSearch.d.ts +2 -2
- package/utils/hooks/useSearch.js.map +2 -2
- package/cjs/test-utils/delay/index.js +0 -35
- package/cjs/test-utils/delay.js.map +0 -7
- package/lazy.d.ts +0 -361
- package/lazy.js.map +0 -7
- package/registry.d.ts +0 -315
- package/registry.js.map +0 -7
- package/src/test-utils/delay.ts +0 -9
- package/test-utils/delay/index.js +0 -12
- package/test-utils/delay/package.json +0 -6
- package/test-utils/delay.d.ts +0 -2
- package/test-utils/delay.js.map +0 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import Grid from '@digigov/ui/layouts/Grid';
|
|
3
2
|
import Markdown from '@digigov/ui/content/Markdown';
|
|
4
3
|
import { SectionBreak } from '@digigov/ui/layouts';
|
|
4
|
+
import Grid from '@digigov/ui/layouts/Grid';
|
|
5
5
|
|
|
6
6
|
const markdownExamples = [
|
|
7
7
|
'## Παράδειγμα h2',
|
|
@@ -35,7 +35,8 @@ export const Default = () => {
|
|
|
35
35
|
</Grid>
|
|
36
36
|
</Grid>
|
|
37
37
|
))}
|
|
38
|
-
</>
|
|
38
|
+
</>
|
|
39
|
+
);
|
|
39
40
|
};
|
|
40
41
|
|
|
41
42
|
export default Default;
|
|
@@ -2,11 +2,17 @@ import React from 'react';
|
|
|
2
2
|
import { useMarkdownToHTML } from '@digigov/ui/content/Markdown/useMarkdownToHTML';
|
|
3
3
|
import SafeHTML from '@digigov/ui/content/SafeHTML';
|
|
4
4
|
|
|
5
|
-
export const Markdown = ({
|
|
6
|
-
|
|
5
|
+
export const Markdown = ({
|
|
6
|
+
children,
|
|
7
|
+
content,
|
|
8
|
+
}: {
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
content?: string;
|
|
11
|
+
}) => {
|
|
12
|
+
content = content || (children as string);
|
|
7
13
|
|
|
8
14
|
const html = useMarkdownToHTML(content);
|
|
9
15
|
return <SafeHTML content={html} />;
|
|
10
16
|
};
|
|
11
17
|
|
|
12
|
-
export default Markdown;
|
|
18
|
+
export default Markdown;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import Grid from '@digigov/ui/layouts/Grid';
|
|
3
2
|
import SafeHTML from '@digigov/ui/content/SafeHTML';
|
|
4
3
|
import { SectionBreak } from '@digigov/ui/layouts';
|
|
4
|
+
import Grid from '@digigov/ui/layouts/Grid';
|
|
5
5
|
|
|
6
6
|
const htmlExamples = [
|
|
7
7
|
'<h1>Παράδειγμα h1</h1>',
|
|
@@ -35,7 +35,8 @@ export const Default = () => {
|
|
|
35
35
|
</Grid>
|
|
36
36
|
</Grid>
|
|
37
37
|
))}
|
|
38
|
-
</>
|
|
38
|
+
</>
|
|
39
|
+
);
|
|
39
40
|
};
|
|
40
41
|
|
|
41
|
-
export default Default;
|
|
42
|
+
export default Default;
|
|
@@ -26,7 +26,7 @@ const elementClassNameMapping = {
|
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
if (typeof window !== 'undefined') {
|
|
29
|
-
DomPurify.addHook('afterSanitizeAttributes', function(node) {
|
|
29
|
+
DomPurify.addHook('afterSanitizeAttributes', function (node) {
|
|
30
30
|
if (node.tagName.toLowerCase() in elementClassNameMapping) {
|
|
31
31
|
node.setAttribute(
|
|
32
32
|
'class',
|
|
@@ -43,7 +43,7 @@ if (typeof window !== 'undefined') {
|
|
|
43
43
|
|
|
44
44
|
export const getClosingTags = (htmlString) => {
|
|
45
45
|
const tags = htmlString.match(/<[^>]+\/?>/g);
|
|
46
|
-
const stack:
|
|
46
|
+
const stack: string[] = [];
|
|
47
47
|
if (!tags) {
|
|
48
48
|
return stack;
|
|
49
49
|
}
|
|
@@ -64,7 +64,7 @@ export const getClosingTags = (htmlString) => {
|
|
|
64
64
|
|
|
65
65
|
export interface SafeHTMLProps {
|
|
66
66
|
content: string;
|
|
67
|
-
tags?:
|
|
67
|
+
tags?: string[];
|
|
68
68
|
Tag?: string;
|
|
69
69
|
style?: React.CSSProperties;
|
|
70
70
|
}
|
|
@@ -5,9 +5,11 @@ import {
|
|
|
5
5
|
StepNavAccordion,
|
|
6
6
|
StepNavAccordionProps,
|
|
7
7
|
} from '@digigov/react-core/StepNavAccordion';
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
import {
|
|
9
|
+
UseAccordionReturn as useStepNavReturn,
|
|
10
|
+
AccordionItemId as StepNavItemId,
|
|
11
|
+
useAccordion as useStepNav,
|
|
12
|
+
} from '@digigov/ui/content/Accordion/hooks';
|
|
11
13
|
|
|
12
14
|
export interface ButtonAutoProps extends ButtonProps {}
|
|
13
15
|
export interface StepNavAccordionAutoProps extends StepNavAccordionProps {
|
|
@@ -4,15 +4,23 @@ import { test, expect } from '@playwright/experimental-ct-react';
|
|
|
4
4
|
import { Default } from '@digigov/ui/content/StepNav/__stories__/Default';
|
|
5
5
|
|
|
6
6
|
test('renders the Default Click 1st and all', async ({ mount, page }) => {
|
|
7
|
-
await mount(
|
|
8
|
-
<Default />
|
|
9
|
-
)
|
|
7
|
+
await mount(<Default />);
|
|
10
8
|
await page.evaluate(() => document.fonts.ready);
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
await page
|
|
10
|
+
.locator(
|
|
11
|
+
'#root>div>ol>li:nth-child(1)>details>summary>h2>div>span:nth-child(1)'
|
|
12
|
+
)
|
|
13
|
+
.hover();
|
|
14
|
+
await page
|
|
15
|
+
.locator(
|
|
16
|
+
'#root>div>ol>li:nth-child(1)>details>summary>h2>div>span:nth-child(1)'
|
|
17
|
+
)
|
|
18
|
+
.click();
|
|
19
|
+
await page.locator('#root>div>div>button').click();
|
|
14
20
|
|
|
15
|
-
const screenshot = await page.screenshot({
|
|
21
|
+
const screenshot = await page.screenshot({
|
|
22
|
+
fullPage: true,
|
|
23
|
+
animations: 'disabled',
|
|
24
|
+
});
|
|
16
25
|
expect(screenshot).toMatchSnapshot();
|
|
17
26
|
});
|
|
18
|
-
|
|
@@ -3,15 +3,18 @@ import { test, expect } from '@playwright/experimental-ct-react';
|
|
|
3
3
|
|
|
4
4
|
import { WithActions } from '@digigov/ui/content/SummaryList/__stories__/WithActions';
|
|
5
5
|
|
|
6
|
-
test('renders the WithActions Navigate with keyboard', async ({
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
test('renders the WithActions Navigate with keyboard', async ({
|
|
7
|
+
mount,
|
|
8
|
+
page,
|
|
9
|
+
}) => {
|
|
10
|
+
await mount(<WithActions />);
|
|
10
11
|
await page.evaluate(() => document.fonts.ready);
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
await page.keyboard.press('Tab');
|
|
13
|
+
await page.keyboard.press('Tab');
|
|
13
14
|
|
|
14
|
-
const screenshot = await page.screenshot({
|
|
15
|
+
const screenshot = await page.screenshot({
|
|
16
|
+
fullPage: true,
|
|
17
|
+
animations: 'disabled',
|
|
18
|
+
});
|
|
15
19
|
expect(screenshot).toMatchSnapshot();
|
|
16
20
|
});
|
|
17
|
-
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
// @delay-test-snapshot
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
|
-
import { CircularProgress } from '@digigov/ui/app/Loader';
|
|
4
|
-
import { LoaderContainer } from '@digigov/ui/app/Loader';
|
|
5
|
-
import { TableLoaderBackground } from '@digigov/ui/content/Table';
|
|
3
|
+
import { CircularProgress, LoaderContainer } from '@digigov/ui/app/Loader';
|
|
6
4
|
import {
|
|
5
|
+
TableLoaderBackground,
|
|
7
6
|
TableContainer,
|
|
8
7
|
Table,
|
|
9
8
|
TableCaption,
|
|
@@ -36,7 +36,7 @@ export const TableSortLabel = React.forwardRef<
|
|
|
36
36
|
<Dropdown
|
|
37
37
|
ref={(el) => {
|
|
38
38
|
dropdownRef.current = el;
|
|
39
|
-
typeof ref === 'function'
|
|
39
|
+
if (typeof ref === 'function') ref(el);
|
|
40
40
|
}}
|
|
41
41
|
disabled={disabled}
|
|
42
42
|
{...props}
|
|
@@ -63,12 +63,12 @@ export const TableSortLabel = React.forwardRef<
|
|
|
63
63
|
tabIndex={0}
|
|
64
64
|
onClick={() => {
|
|
65
65
|
onSort(1);
|
|
66
|
-
dropdownRef.current
|
|
66
|
+
if (dropdownRef.current) dropdownRef.current.open = false;
|
|
67
67
|
}}
|
|
68
68
|
onKeyDown={(e) => {
|
|
69
69
|
if (e.key === 'Enter') {
|
|
70
70
|
onSort(1);
|
|
71
|
-
dropdownRef.current
|
|
71
|
+
if (dropdownRef.current) dropdownRef.current.open = false;
|
|
72
72
|
}
|
|
73
73
|
}}
|
|
74
74
|
>
|
|
@@ -85,12 +85,12 @@ export const TableSortLabel = React.forwardRef<
|
|
|
85
85
|
tabIndex={0}
|
|
86
86
|
onClick={() => {
|
|
87
87
|
onSort(-1);
|
|
88
|
-
dropdownRef.current
|
|
88
|
+
if (dropdownRef.current) dropdownRef.current.open = false;
|
|
89
89
|
}}
|
|
90
90
|
onKeyDown={(e) => {
|
|
91
91
|
if (e.key === 'Enter') {
|
|
92
92
|
onSort(-1);
|
|
93
|
-
dropdownRef.current
|
|
93
|
+
if (dropdownRef.current) dropdownRef.current.open = false;
|
|
94
94
|
}
|
|
95
95
|
}}
|
|
96
96
|
>
|
|
@@ -4,29 +4,33 @@ import { test, expect } from '@playwright/experimental-ct-react';
|
|
|
4
4
|
import { WithLoader } from '@digigov/ui/content/Table/__stories__/WithLoader';
|
|
5
5
|
import { WithSortFilters } from '@digigov/ui/content/Table/__stories__/WithSortFilters';
|
|
6
6
|
const SCREENSHOT_DELAY = 2_000;
|
|
7
|
-
const delay = ms => new Promise(resolve => setTimeout(resolve, ms));
|
|
7
|
+
const delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
8
8
|
|
|
9
9
|
test('renders the WithLoader Toggle Loading', async ({ mount, page }) => {
|
|
10
|
-
await mount(
|
|
11
|
-
<WithLoader />
|
|
12
|
-
)
|
|
10
|
+
await mount(<WithLoader />);
|
|
13
11
|
await page.evaluate(() => document.fonts.ready);
|
|
14
12
|
await delay(SCREENSHOT_DELAY);
|
|
15
|
-
|
|
16
|
-
const screenshot = await page.screenshot({
|
|
13
|
+
await page.locator('#root>button').click();
|
|
14
|
+
const screenshot = await page.screenshot({
|
|
15
|
+
fullPage: true,
|
|
16
|
+
animations: 'disabled',
|
|
17
|
+
});
|
|
17
18
|
expect(screenshot).toMatchSnapshot();
|
|
18
19
|
});
|
|
19
|
-
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
)
|
|
21
|
+
test('renders the WithSortFilters Click on header cell', async ({
|
|
22
|
+
mount,
|
|
23
|
+
page,
|
|
24
|
+
}) => {
|
|
25
|
+
await mount(<WithSortFilters />);
|
|
26
26
|
await page.evaluate(() => document.fonts.ready);
|
|
27
27
|
await delay(SCREENSHOT_DELAY);
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
await page
|
|
29
|
+
.locator('#root>div>table>thead>tr>th:nth-child(1)>details>summary')
|
|
30
|
+
.click();
|
|
31
|
+
const screenshot = await page.screenshot({
|
|
32
|
+
fullPage: true,
|
|
33
|
+
animations: 'disabled',
|
|
34
|
+
});
|
|
30
35
|
expect(screenshot).toMatchSnapshot();
|
|
31
36
|
});
|
|
32
|
-
|
|
@@ -6,36 +6,34 @@ import { Default } from '@digigov/ui/feedback/CopyToClipboard/__stories__/Defaul
|
|
|
6
6
|
import { Dense } from '@digigov/ui/feedback/CopyToClipboard/__stories__/Dense';
|
|
7
7
|
|
|
8
8
|
test('renders the Banner Click button', async ({ mount, page }) => {
|
|
9
|
-
await mount(
|
|
10
|
-
<Banner />
|
|
11
|
-
)
|
|
9
|
+
await mount(<Banner />);
|
|
12
10
|
await page.evaluate(() => document.fonts.ready);
|
|
13
|
-
|
|
14
|
-
const screenshot = await page.screenshot({
|
|
11
|
+
await page.locator('#root>div>div>button').click();
|
|
12
|
+
const screenshot = await page.screenshot({
|
|
13
|
+
fullPage: true,
|
|
14
|
+
animations: 'disabled',
|
|
15
|
+
});
|
|
15
16
|
expect(screenshot).toMatchSnapshot();
|
|
16
17
|
});
|
|
17
|
-
|
|
18
|
-
|
|
19
18
|
|
|
20
19
|
test('renders the Default Click button', async ({ mount, page }) => {
|
|
21
|
-
await mount(
|
|
22
|
-
<Default />
|
|
23
|
-
)
|
|
20
|
+
await mount(<Default />);
|
|
24
21
|
await page.evaluate(() => document.fonts.ready);
|
|
25
|
-
|
|
26
|
-
const screenshot = await page.screenshot({
|
|
22
|
+
await page.locator('#root>div>div>button').click();
|
|
23
|
+
const screenshot = await page.screenshot({
|
|
24
|
+
fullPage: true,
|
|
25
|
+
animations: 'disabled',
|
|
26
|
+
});
|
|
27
27
|
expect(screenshot).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
|
-
|
|
30
|
-
|
|
31
29
|
|
|
32
30
|
test('renders the Dense Click button', async ({ mount, page }) => {
|
|
33
|
-
await mount(
|
|
34
|
-
<Dense />
|
|
35
|
-
)
|
|
31
|
+
await mount(<Dense />);
|
|
36
32
|
await page.evaluate(() => document.fonts.ready);
|
|
37
|
-
|
|
38
|
-
const screenshot = await page.screenshot({
|
|
33
|
+
await page.locator('#root>div>div>button').click();
|
|
34
|
+
const screenshot = await page.screenshot({
|
|
35
|
+
fullPage: true,
|
|
36
|
+
animations: 'disabled',
|
|
37
|
+
});
|
|
39
38
|
expect(screenshot).toMatchSnapshot();
|
|
40
39
|
});
|
|
41
|
-
|
|
@@ -12,4 +12,5 @@ export { Dense } from '@digigov/ui/feedback/ErrorSummary/__stories__/Dense';
|
|
|
12
12
|
export { LinkedToInput } from '@digigov/ui/feedback/ErrorSummary/__stories__/LinkedToInput';
|
|
13
13
|
export { LinkedToField } from '@digigov/ui/feedback/ErrorSummary/__stories__/LinkedToField';
|
|
14
14
|
export { LinkedToCheckbox } from '@digigov/ui/feedback/ErrorSummary/__stories__/LinkedToCheckbox';
|
|
15
|
+
export { ErrorGroupLinkedToInput } from '@digigov/ui/feedback/ErrorSummary/__stories__/ErrorGroupLinkedToInput';
|
|
15
16
|
export { WithBackLinkAndButton } from '@digigov/ui/feedback/ErrorSummary/__stories__/WithBackLinkAndButton';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { List, ListItem } from '@digigov/ui/content/List';
|
|
3
|
+
import { ErrorSummary } from '@digigov/ui/feedback/ErrorSummary';
|
|
4
|
+
import { FieldContainer } from '@digigov/ui/form/FieldContainer';
|
|
5
|
+
import { LabelContainer, LabelTitle } from '@digigov/ui/form/LabelContainer';
|
|
6
|
+
import { TextInput } from '@digigov/ui/form/TextInput';
|
|
7
|
+
import { Link } from '@digigov/ui/navigation/Link';
|
|
8
|
+
import { Heading } from '@digigov/ui/typography/Heading';
|
|
9
|
+
import { Hint } from '@digigov/ui/typography/Hint';
|
|
10
|
+
|
|
11
|
+
export const ErrorGroupLinkedToInput = () => (
|
|
12
|
+
<div>
|
|
13
|
+
<ErrorSummary variant="error-group">
|
|
14
|
+
<Heading size="md">Τα παρακάτω πεδία της φόρμας ειναι λάθος.</Heading>
|
|
15
|
+
<List listStyle="bullet">
|
|
16
|
+
<ListItem>
|
|
17
|
+
<b>Όνομα επιχείρησης:</b>{' '}
|
|
18
|
+
<Link href="#business-name">
|
|
19
|
+
Πρέπει να συμπληρώσετε το όνομα της επιχείρησης
|
|
20
|
+
</Link>
|
|
21
|
+
</ListItem>
|
|
22
|
+
<ListItem>
|
|
23
|
+
<b>Διεύθυνση επιχείρησης:</b>{' '}
|
|
24
|
+
<Link href="#address-name">
|
|
25
|
+
Πρέπει να συμπληρώσετε τη διεύθυνση της επιχείρησης
|
|
26
|
+
</Link>
|
|
27
|
+
</ListItem>
|
|
28
|
+
</List>
|
|
29
|
+
</ErrorSummary>
|
|
30
|
+
<FieldContainer error>
|
|
31
|
+
<LabelContainer>
|
|
32
|
+
<LabelTitle size="md">Όνομα επιχείρησης</LabelTitle>
|
|
33
|
+
<Hint>Ποιο είναι το όνομα της επιχείρησης;</Hint>
|
|
34
|
+
<TextInput error name="inputext" id="business-name"></TextInput>
|
|
35
|
+
</LabelContainer>
|
|
36
|
+
</FieldContainer>
|
|
37
|
+
<FieldContainer error>
|
|
38
|
+
<LabelContainer>
|
|
39
|
+
<LabelTitle size="md">Διεύθυνση επιχείρησης</LabelTitle>
|
|
40
|
+
<Hint>Ποια είναι η διεύθυνση της επιχείρησης;</Hint>
|
|
41
|
+
<TextInput error name="inputext" id="business-address"></TextInput>
|
|
42
|
+
</LabelContainer>
|
|
43
|
+
</FieldContainer>
|
|
44
|
+
</div>
|
|
45
|
+
);
|
|
46
|
+
|
|
47
|
+
export default ErrorGroupLinkedToInput;
|
|
@@ -2,8 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { ErrorSummary } from '@digigov/ui/feedback/ErrorSummary';
|
|
3
3
|
import { ErrorMessage } from '@digigov/ui/form/ErrorMessage';
|
|
4
4
|
import { FieldContainer } from '@digigov/ui/form/FieldContainer';
|
|
5
|
-
import { LabelContainer } from '@digigov/ui/form/LabelContainer';
|
|
6
|
-
import { LabelTitle } from '@digigov/ui/form/LabelContainer';
|
|
5
|
+
import { LabelContainer, LabelTitle } from '@digigov/ui/form/LabelContainer';
|
|
7
6
|
import { TextInput } from '@digigov/ui/form/TextInput';
|
|
8
7
|
import { Link } from '@digigov/ui/navigation/Link';
|
|
9
8
|
import { Heading } from '@digigov/ui/typography/Heading';
|
|
@@ -3,6 +3,7 @@ import { test, expect } from '@playwright/experimental-ct-react';
|
|
|
3
3
|
import TestVariant from '@digigov/ui/utils/TestVariant'
|
|
4
4
|
import { Default } from '@digigov/ui/feedback/ErrorSummary/__stories__/Default';
|
|
5
5
|
import { Dense } from '@digigov/ui/feedback/ErrorSummary/__stories__/Dense';
|
|
6
|
+
import { ErrorGroupLinkedToInput } from '@digigov/ui/feedback/ErrorSummary/__stories__/ErrorGroupLinkedToInput';
|
|
6
7
|
import { LinkedToCheckbox } from '@digigov/ui/feedback/ErrorSummary/__stories__/LinkedToCheckbox';
|
|
7
8
|
import { LinkedToField } from '@digigov/ui/feedback/ErrorSummary/__stories__/LinkedToField';
|
|
8
9
|
import { LinkedToInput } from '@digigov/ui/feedback/ErrorSummary/__stories__/LinkedToInput';
|
|
@@ -18,6 +19,9 @@ test('renders the All ErrorSummary variants', async ({ mount, page }) => {
|
|
|
18
19
|
<TestVariant title="Dense">
|
|
19
20
|
<Dense />
|
|
20
21
|
</TestVariant>
|
|
22
|
+
<TestVariant title="ErrorGroupLinkedToInput">
|
|
23
|
+
<ErrorGroupLinkedToInput />
|
|
24
|
+
</TestVariant>
|
|
21
25
|
<TestVariant title="LinkedToCheckbox">
|
|
22
26
|
<LinkedToCheckbox />
|
|
23
27
|
</TestVariant>
|
|
@@ -4,14 +4,14 @@ import { test, expect } from '@playwright/experimental-ct-react';
|
|
|
4
4
|
import { LinkedToCheckbox } from '@digigov/ui/feedback/ErrorSummary/__stories__/LinkedToCheckbox';
|
|
5
5
|
|
|
6
6
|
test('renders the LinkedToCheckbox Go to checkbox', async ({ mount, page }) => {
|
|
7
|
-
await mount(
|
|
8
|
-
<LinkedToCheckbox />
|
|
9
|
-
)
|
|
7
|
+
await mount(<LinkedToCheckbox />);
|
|
10
8
|
await page.evaluate(() => document.fonts.ready);
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
await page.keyboard.press('Tab');
|
|
10
|
+
await page.keyboard.press('Enter');
|
|
13
11
|
|
|
14
|
-
const screenshot = await page.screenshot({
|
|
12
|
+
const screenshot = await page.screenshot({
|
|
13
|
+
fullPage: true,
|
|
14
|
+
animations: 'disabled',
|
|
15
|
+
});
|
|
15
16
|
expect(screenshot).toMatchSnapshot();
|
|
16
17
|
});
|
|
17
|
-
|
|
@@ -5,28 +5,27 @@ import { Default } from '@digigov/ui/feedback/NotificationBanner/__stories__/Def
|
|
|
5
5
|
import { Success } from '@digigov/ui/feedback/NotificationBanner/__stories__/Success';
|
|
6
6
|
|
|
7
7
|
test('renders the Default Hover and click', async ({ mount, page }) => {
|
|
8
|
-
await mount(
|
|
9
|
-
<Default />
|
|
10
|
-
)
|
|
8
|
+
await mount(<Default />);
|
|
11
9
|
await page.evaluate(() => document.fonts.ready);
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
await page.locator('#root>div>div:nth-child(2)>h3>a').hover();
|
|
11
|
+
await page.locator('#root>div>div:nth-child(2)>h3>a').click();
|
|
14
12
|
|
|
15
|
-
const screenshot = await page.screenshot({
|
|
13
|
+
const screenshot = await page.screenshot({
|
|
14
|
+
fullPage: true,
|
|
15
|
+
animations: 'disabled',
|
|
16
|
+
});
|
|
16
17
|
expect(screenshot).toMatchSnapshot();
|
|
17
18
|
});
|
|
18
|
-
|
|
19
|
-
|
|
20
19
|
|
|
21
20
|
test('renders the Success Hover and click', async ({ mount, page }) => {
|
|
22
|
-
await mount(
|
|
23
|
-
<Success />
|
|
24
|
-
)
|
|
21
|
+
await mount(<Success />);
|
|
25
22
|
await page.evaluate(() => document.fonts.ready);
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
await page.locator('#root>div>div:nth-child(2)>h3>a').hover();
|
|
24
|
+
await page.locator('#root>div>div:nth-child(2)>h3>a').click();
|
|
28
25
|
|
|
29
|
-
const screenshot = await page.screenshot({
|
|
26
|
+
const screenshot = await page.screenshot({
|
|
27
|
+
fullPage: true,
|
|
28
|
+
animations: 'disabled',
|
|
29
|
+
});
|
|
30
30
|
expect(screenshot).toMatchSnapshot();
|
|
31
31
|
});
|
|
32
|
-
|
|
@@ -4,12 +4,12 @@ import { test, expect } from '@playwright/experimental-ct-react';
|
|
|
4
4
|
import { Default } from '@digigov/ui/feedback/PhaseBanner/__stories__/Default';
|
|
5
5
|
|
|
6
6
|
test('renders the Default pressing Tab', async ({ mount, page }) => {
|
|
7
|
-
await mount(
|
|
8
|
-
<Default />
|
|
9
|
-
)
|
|
7
|
+
await mount(<Default />);
|
|
10
8
|
await page.evaluate(() => document.fonts.ready);
|
|
11
|
-
|
|
12
|
-
const screenshot = await page.screenshot({
|
|
9
|
+
await page.keyboard.press('Tab');
|
|
10
|
+
const screenshot = await page.screenshot({
|
|
11
|
+
fullPage: true,
|
|
12
|
+
animations: 'disabled',
|
|
13
|
+
});
|
|
13
14
|
expect(screenshot).toMatchSnapshot();
|
|
14
15
|
});
|
|
15
|
-
|
|
@@ -26,7 +26,7 @@ const debounce = function (
|
|
|
26
26
|
};
|
|
27
27
|
const statusDebounceMillis = 1400;
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
interface StatusProps {
|
|
30
30
|
id: string;
|
|
31
31
|
length: number;
|
|
32
32
|
queryLength: number;
|
|
@@ -39,13 +39,13 @@ type StatusProps = {
|
|
|
39
39
|
tNoResults?: () => string;
|
|
40
40
|
tSelectedOption: (x: string, y: number, z: number) => string;
|
|
41
41
|
tResults?: (x: number, y: string) => string;
|
|
42
|
-
}
|
|
42
|
+
}
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
interface StateProps {
|
|
45
45
|
bump: boolean;
|
|
46
46
|
debounced: boolean;
|
|
47
47
|
silenced: boolean;
|
|
48
|
-
}
|
|
48
|
+
}
|
|
49
49
|
|
|
50
50
|
export default class Status extends Component<StatusProps, StateProps> {
|
|
51
51
|
static defaultProps = {
|
|
@@ -8,7 +8,12 @@ export const Multiple = () => (
|
|
|
8
8
|
<div>
|
|
9
9
|
<FieldContainer>
|
|
10
10
|
<Fieldset marginBottom={4}>
|
|
11
|
-
<AutoComplete
|
|
11
|
+
<AutoComplete
|
|
12
|
+
source={suggest}
|
|
13
|
+
multiple
|
|
14
|
+
width="50%"
|
|
15
|
+
id="multiple-select-default"
|
|
16
|
+
/>
|
|
12
17
|
</Fieldset>
|
|
13
18
|
</FieldContainer>
|
|
14
19
|
<Button>Υποβολή</Button>
|
|
@@ -7,7 +7,13 @@ import { FieldContainer } from '@digigov/ui/form/FieldContainer';
|
|
|
7
7
|
export const MultipleShowingTwoSelected = () => (
|
|
8
8
|
<div>
|
|
9
9
|
<FieldContainer>
|
|
10
|
-
<AutoComplete
|
|
10
|
+
<AutoComplete
|
|
11
|
+
source={suggest}
|
|
12
|
+
multiple
|
|
13
|
+
width="75%"
|
|
14
|
+
id="multiple-showing-two-selected"
|
|
15
|
+
numberOfSelected={2}
|
|
16
|
+
/>
|
|
11
17
|
</FieldContainer>
|
|
12
18
|
<Button>Υποβολή</Button>
|
|
13
19
|
</div>
|
|
@@ -7,7 +7,13 @@ import { FieldContainer } from '@digigov/ui/form/FieldContainer';
|
|
|
7
7
|
export const MultipleWithDefaultValues = () => (
|
|
8
8
|
<div>
|
|
9
9
|
<FieldContainer>
|
|
10
|
-
<AutoComplete
|
|
10
|
+
<AutoComplete
|
|
11
|
+
source={suggest}
|
|
12
|
+
multiple
|
|
13
|
+
defaultValue={['Ελλάδα', 'Ιταλία']}
|
|
14
|
+
width="50%"
|
|
15
|
+
id="govgr"
|
|
16
|
+
/>
|
|
11
17
|
</FieldContainer>
|
|
12
18
|
<Button>Υποβολή</Button>
|
|
13
19
|
</div>
|
|
@@ -8,8 +8,8 @@ import Paragraph from '@digigov/ui/typography/Paragraph';
|
|
|
8
8
|
export const MultipleWithMinLength = () => (
|
|
9
9
|
<div>
|
|
10
10
|
<Paragraph>
|
|
11
|
-
Εδώ, ο ελάχιστος αριθμός χαρακτήρων που πρέπει να
|
|
12
|
-
|
|
11
|
+
Εδώ, ο ελάχιστος αριθμός χαρακτήρων που πρέπει να εισαχθεί ώστε να αρχίσει
|
|
12
|
+
να φιλτράρεται η αναζήτηση είναι 2.
|
|
13
13
|
</Paragraph>
|
|
14
14
|
<FieldContainer>
|
|
15
15
|
<Fieldset marginBottom={4}>
|
|
@@ -7,11 +7,7 @@ import { FieldContainer } from '@digigov/ui/form/FieldContainer';
|
|
|
7
7
|
export const WithShowAllValues = () => (
|
|
8
8
|
<div>
|
|
9
9
|
<FieldContainer>
|
|
10
|
-
<AutoComplete
|
|
11
|
-
source={suggest}
|
|
12
|
-
autoselect={true}
|
|
13
|
-
id="govgr"
|
|
14
|
-
/>
|
|
10
|
+
<AutoComplete source={suggest} autoselect={true} id="govgr" />
|
|
15
11
|
</FieldContainer>
|
|
16
12
|
<Button>Υποβολή</Button>
|
|
17
13
|
</div>
|