@digigov/ui 0.28.1 → 0.28.3
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 +16 -1
- package/README.md +1 -0
- package/admin/AutoComplete/AutoComplete.stories.d.ts +1 -0
- package/admin/AutoComplete/AutoComplete.stories.js +2 -1
- package/admin/AutoComplete/Status/index.d.ts +2 -2
- package/admin/AutoComplete/Status/index.js +4 -4
- package/admin/AutoComplete/index.d.ts +2 -2
- package/admin/AutoComplete/index.mdx +4 -0
- package/admin/CircularProgress/CircularProgress.stories.d.ts +2 -0
- package/admin/CircularProgress/CircularProgress.stories.js +3 -2
- package/admin/CircularProgress/__stories__/Default.js +1 -3
- package/admin/CopyToClipboard/CopyToClipboard.stories.d.ts +1 -1
- package/admin/CopyToClipboard/CopyToClipboard.stories.js +2 -15
- package/admin/CopyToClipboard/index.mdx +2 -2
- package/admin/Drawer/Drawer.stories.d.ts +7 -1
- package/admin/Drawer/Drawer.stories.js +25 -3
- package/admin/Drawer/__stories__/Default.js +7 -46
- package/admin/Drawer/index.mdx +4 -0
- package/admin/Dropdown/Dropdown.stories.d.ts +3 -0
- package/admin/Dropdown/Dropdown.stories.js +4 -1
- package/admin/Dropdown/__stories__/AlignRight.js +4 -3
- package/admin/Dropdown/__stories__/Default.js +5 -3
- package/admin/Dropdown/__stories__/PlacementTop.js +4 -3
- package/admin/Dropdown/index.d.ts +3 -2
- package/admin/Dropdown/index.js +12 -4
- package/admin/Dropdown/index.mdx +4 -1
- package/admin/Modal/Modal.stories.d.ts +3 -0
- package/admin/Modal/Modal.stories.js +4 -1
- package/admin/Modal/__stories__/AlertDialog.js +11 -31
- package/admin/Modal/__stories__/Default.js +10 -26
- package/admin/Modal/index.d.ts +2 -2
- package/admin/Modal/index.js +5 -5
- package/admin/Modal/index.mdx +4 -8
- package/admin/Pagination/Pagination.stories.d.ts +4 -0
- package/admin/Pagination/Pagination.stories.js +18 -1
- package/admin/Pagination/__stories__/Default.js +1 -27
- package/admin/Pagination/__stories__/PaginationSmall.d.ts +2 -0
- package/admin/Pagination/__stories__/PaginationSmall.js +61 -0
- package/admin/Pagination/index.d.ts +3 -2
- package/admin/Pagination/index.js +12 -4
- package/admin/Pagination/index.mdx +4 -0
- package/admin/StepNav/StepNav.stories.d.ts +2 -0
- package/admin/StepNav/StepNav.stories.js +3 -1
- package/admin/TaskList/TaskList.stories.d.ts +2 -0
- package/admin/TaskList/TaskList.stories.js +3 -1
- package/admin/TaskList/__stories__/Default.js +2 -2
- package/admin/Timeline/Timeline.stories.d.ts +2 -0
- package/admin/Timeline/Timeline.stories.js +3 -1
- package/admin/Timeline/__stories__/Default.js +3 -1
- package/app/Confirmation/Confirmation.mdx +4 -0
- package/app/Confirmation/Confirmation.stories.d.ts +5 -1
- package/app/Confirmation/Confirmation.stories.js +6 -3
- package/app/Confirmation/index.d.ts +3 -3
- package/app/Confirmation/index.js +44 -15
- package/app/Footer/Footer.mdx +4 -0
- package/app/Footer/Footer.stories.d.ts +5 -0
- package/app/Footer/Footer.stories.js +6 -2
- package/app/Footer/index.d.ts +2 -0
- package/app/Footer/index.js +28 -2
- package/app/Header/Header.stories.d.ts +4 -0
- package/app/Header/Header.stories.js +4 -0
- package/app/Header/index.mdx +4 -0
- package/app/I18nText.js +1 -0
- package/app/NotFound/NotFound.stories.d.ts +1 -0
- package/app/NotFound/NotFound.stories.js +2 -1
- package/app/NotFound/index.mdx +4 -0
- package/app/PageTitle.d.ts +5 -9
- package/app/PageTitle.js +57 -61
- package/app/PhaseBannerHeader/PhaseBannerHeader.stories.d.ts +2 -0
- package/app/PhaseBannerHeader/PhaseBannerHeader.stories.js +3 -2
- package/app/PhaseBannerHeader/index.mdx +4 -0
- package/app/QrCodeScanner/QrCodeScanner.stories.d.ts +1 -0
- package/app/QrCodeScanner/QrCodeScanner.stories.js +2 -1
- package/app/QrCodeScanner/index.d.ts +8 -1
- package/app/QrCodeScanner/index.js +3 -5
- package/app/QrCodeViewer/QRCode.stories.d.ts +1 -0
- package/app/QrCodeViewer/QRCode.stories.js +2 -1
- package/app/QrCodeViewer/index.d.ts +5 -7
- package/app/QrCodeViewer/index.js +2 -70
- package/app/QrCodeViewer/index.mdx +4 -0
- package/app/QrCodeViewer/types.d.ts +0 -1
- package/app/index.d.ts +2 -0
- package/app/index.js +26 -0
- package/core/Accordion/Accordion.stories.d.ts +5 -0
- package/core/Accordion/Accordion.stories.js +6 -2
- package/core/Accordion/Accordion.stories.playwright.json +1 -7
- package/core/Accordion/__stories__/Default.js +3 -1
- package/core/Accordion/__stories__/WithHints.js +3 -1
- package/core/Accordion/index.d.ts +6 -0
- package/core/Accordion/index.js +85 -6
- package/core/Accordion/index.mdx +4 -0
- package/core/BackLink/BackLink.stories.d.ts +1 -0
- package/core/BackLink/BackLink.stories.js +2 -1
- package/core/BackLink/index.mdx +4 -0
- package/core/Blockquote/Blockquote.stories.d.ts +3 -0
- package/core/Blockquote/Blockquote.stories.js +4 -1
- package/core/Blockquote/index.mdx +4 -0
- package/core/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -0
- package/core/Breadcrumbs/Breadcrumbs.stories.js +4 -1
- package/core/Breadcrumbs/breadcrumbs.mdx +4 -0
- package/core/Button/Button.stories.d.ts +3 -0
- package/core/Button/Button.stories.js +5 -2
- package/core/Button/index.mdx +4 -1
- package/core/Card/Card.stories.d.ts +4 -0
- package/core/Card/Card.stories.js +5 -1
- package/core/Card/__stories__/WithClickableContent.js +2 -2
- package/core/Card/card.mdx +4 -0
- package/core/Checkboxes/Checkbox.stories.d.ts +3 -0
- package/core/Checkboxes/Checkbox.stories.js +4 -1
- package/core/Checkboxes/__stories__/ConditionalReveal.js +1 -1
- package/core/Checkboxes/__stories__/NoneAnswerWithError.js +2 -2
- package/core/Checkboxes/checkboxes.mdx +4 -0
- package/core/DateInput/DateInput.stories.d.ts +3 -0
- package/core/DateInput/DateInput.stories.js +4 -1
- package/core/DateInput/index.d.ts +2 -2
- package/core/DateInput/index.js +5 -5
- package/core/DateInput/index.mdx +5 -0
- package/core/Details/Details.stories.d.ts +3 -0
- package/core/Details/Details.stories.js +4 -1
- package/core/Details/index.d.ts +3 -3
- package/core/Details/index.js +44 -21
- package/core/Details/index.mdx +4 -0
- package/core/Divider/Divider.stories.d.ts +1 -0
- package/core/Divider/Divider.stories.js +2 -1
- package/core/Divider/index.js +1 -0
- package/core/ErrorMessage/ErrorMessage.stories.d.ts +3 -0
- package/core/ErrorMessage/ErrorMessage.stories.js +4 -1
- package/core/ErrorMessage/index.mdx +4 -0
- package/core/ErrorSummary/ErrorSummary.stories.d.ts +3 -0
- package/core/ErrorSummary/ErrorSummary.stories.js +4 -1
- package/core/ErrorSummary/__stories__/LinkedToInput.js +2 -2
- package/core/ErrorSummary/index.d.ts +1 -1
- package/core/ErrorSummary/index.js +19 -8
- package/core/ErrorSummary/index.mdx +4 -0
- package/core/Field/index.d.ts +2 -2
- package/core/Field/index.js +5 -5
- package/core/FileUpload/FileUpload.stories.d.ts +2 -0
- package/core/FileUpload/FileUpload.stories.js +3 -1
- package/core/FileUpload/index.mdx +4 -1
- package/core/Label/index.d.ts +2 -2
- package/core/Label/index.js +5 -5
- package/core/Link/Link.stories.d.ts +2 -0
- package/core/Link/Link.stories.js +3 -1
- package/core/Link/index.d.ts +3 -3
- package/core/Link/index.js +15 -6
- package/core/Link/link.mdx +4 -0
- package/core/List/List.d.ts +1 -1
- package/core/List/List.js +19 -8
- package/core/List/List.stories.d.ts +4 -0
- package/core/List/List.stories.js +5 -2
- package/core/List/index.mdx +4 -0
- package/core/Masthead/Masthead.stories.d.ts +4 -0
- package/core/Masthead/Masthead.stories.js +5 -1
- package/core/Masthead/masthead.mdx +4 -0
- package/core/NavList/NavList.stories.d.ts +3 -0
- package/core/NavList/NavList.stories.js +4 -1
- package/core/NavList/index.d.ts +3 -1
- package/core/NavList/index.js +26 -8
- package/core/NavList/index.mdx +4 -0
- package/core/NotificationBanner/NotificationBanner.stories.d.ts +4 -0
- package/core/NotificationBanner/NotificationBanner.stories.js +5 -1
- package/core/NotificationBanner/index.d.ts +3 -3
- package/core/NotificationBanner/index.js +8 -2
- package/core/NotificationBanner/index.mdx +4 -0
- package/core/PhaseBanner/PhaseBanner.stories.d.ts +3 -0
- package/core/PhaseBanner/PhaseBanner.stories.js +4 -1
- package/core/PhaseBanner/index.mdx +4 -0
- package/core/Radios/Radios.stories.d.ts +3 -0
- package/core/Radios/Radios.stories.js +4 -1
- package/core/Radios/__stories__/ConditionalReveal.js +1 -1
- package/core/Radios/index.d.ts +2 -2
- package/core/Radios/index.js +5 -5
- package/core/Radios/index.mdx +14 -0
- package/core/Select/Select.stories.d.ts +3 -0
- package/core/Select/Select.stories.js +4 -1
- package/core/Select/__stories__/Default.js +2 -2
- package/core/Select/__stories__/DisabledInput.js +2 -2
- package/core/Select/__stories__/WithHint.js +2 -2
- package/core/Select/index.d.ts +2 -2
- package/core/Select/index.js +5 -5
- package/core/Select/index.mdx +4 -0
- package/core/SummaryList/SummaryList.stories.d.ts +4 -0
- package/core/SummaryList/SummaryList.stories.js +5 -2
- package/core/SummaryList/index.mdx +4 -0
- package/core/Table/Table.stories.d.ts +4 -0
- package/core/Table/Table.stories.js +5 -2
- package/core/Table/__stories__/WithFloatingScroll.js +1 -27
- package/core/Table/index.d.ts +2 -0
- package/core/Table/index.js +23 -2
- package/core/Table/index.mdx +4 -1
- package/core/Tabs/Tabs.stories.d.ts +5 -0
- package/core/Tabs/Tabs.stories.js +6 -2
- package/core/Tabs/index.d.ts +5 -5
- package/core/Tabs/index.js +74 -36
- package/core/Tabs/index.mdx +4 -0
- package/core/TextArea/TextArea.stories.d.ts +3 -0
- package/core/TextArea/TextArea.stories.js +4 -1
- package/core/TextArea/__stories__/Default.js +2 -2
- 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 +2 -2
- package/core/TextArea/__stories__/WithHint.js +2 -2
- package/core/TextArea/index.mdx +4 -0
- package/core/TextInput/TextInput.stories.d.ts +3 -0
- package/core/TextInput/TextInput.stories.js +4 -1
- 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 +7 -7
- package/core/TextInput/__stories__/FluidWidths.js +7 -7
- package/core/TextInput/__stories__/MultipleQuestions.js +2 -2
- package/core/TextInput/__stories__/WithErrorMessage.js +2 -2
- package/core/TextInput/__stories__/WithHint.js +2 -2
- package/core/TextInput/index.mdx +4 -0
- package/core/VisuallyHidden/VisuallyHidden.stories.d.ts +1 -0
- package/core/VisuallyHidden/VisuallyHidden.stories.js +2 -1
- package/core/VisuallyHidden/index.mdx +4 -1
- package/core/WarningText/WarningText.stories.d.ts +4 -0
- package/core/WarningText/WarningText.stories.js +5 -2
- package/core/WarningText/index.d.ts +1 -1
- package/core/WarningText/index.js +19 -8
- package/core/WarningText/index.mdx +4 -0
- package/core/index.d.ts +8 -5
- package/core/index.js +74 -65
- package/es/admin/AutoComplete/AutoComplete.stories.js +2 -1
- package/es/admin/AutoComplete/Status/index.js +4 -4
- package/es/admin/AutoComplete/index.mdx +4 -0
- package/es/admin/CircularProgress/CircularProgress.stories.js +3 -2
- package/es/admin/CircularProgress/__stories__/Default.js +1 -2
- package/es/admin/CopyToClipboard/CopyToClipboard.stories.js +3 -3
- package/es/admin/CopyToClipboard/index.mdx +2 -2
- package/es/admin/Drawer/Drawer.stories.js +8 -2
- package/es/admin/Drawer/__stories__/Default.js +8 -47
- package/es/admin/Drawer/index.mdx +4 -0
- package/es/admin/Dropdown/Dropdown.stories.js +4 -1
- package/es/admin/Dropdown/__stories__/AlignRight.js +4 -3
- package/es/admin/Dropdown/__stories__/Default.js +5 -3
- package/es/admin/Dropdown/__stories__/PlacementTop.js +4 -3
- package/es/admin/Dropdown/index.js +3 -2
- package/es/admin/Dropdown/index.mdx +4 -1
- package/es/admin/Modal/Modal.stories.js +4 -1
- package/es/admin/Modal/__stories__/AlertDialog.js +12 -31
- package/es/admin/Modal/__stories__/Default.js +11 -26
- package/es/admin/Modal/index.js +2 -2
- package/es/admin/Modal/index.mdx +4 -8
- package/es/admin/Pagination/Pagination.stories.js +6 -2
- package/es/admin/Pagination/__stories__/Default.js +1 -27
- package/es/admin/Pagination/__stories__/PaginationSmall.js +38 -0
- package/es/admin/Pagination/index.js +3 -2
- package/es/admin/Pagination/index.mdx +4 -0
- package/es/admin/StepNav/StepNav.stories.js +3 -1
- package/es/admin/TaskList/TaskList.stories.js +3 -1
- package/es/admin/TaskList/__stories__/Default.js +2 -2
- package/es/admin/Timeline/Timeline.stories.js +3 -1
- package/es/admin/Timeline/__stories__/Default.js +3 -2
- package/es/app/Confirmation/Confirmation.mdx +4 -0
- package/es/app/Confirmation/Confirmation.stories.js +6 -3
- package/es/app/Confirmation/index.js +4 -4
- package/es/app/Footer/Footer.mdx +4 -0
- package/es/app/Footer/Footer.stories.js +6 -2
- package/es/app/Footer/index.js +3 -1
- package/es/app/Header/Header.stories.js +4 -0
- package/es/app/Header/index.mdx +4 -0
- package/es/app/I18nText.js +1 -0
- package/es/app/NotFound/NotFound.stories.js +2 -1
- package/es/app/NotFound/index.mdx +4 -0
- package/es/app/PageTitle.js +6 -57
- package/es/app/PhaseBannerHeader/PhaseBannerHeader.stories.js +3 -2
- package/es/app/PhaseBannerHeader/index.mdx +4 -0
- package/es/app/QrCodeScanner/QrCodeScanner.stories.js +2 -1
- package/es/app/QrCodeScanner/index.js +3 -5
- package/es/app/QrCodeViewer/QRCode.stories.js +2 -1
- package/es/app/QrCodeViewer/index.js +2 -69
- package/es/app/QrCodeViewer/index.mdx +4 -0
- package/es/app/index.js +2 -0
- package/es/core/Accordion/Accordion.stories.js +6 -2
- package/es/core/Accordion/Accordion.stories.playwright.json +1 -7
- package/es/core/Accordion/__stories__/Default.js +3 -1
- package/es/core/Accordion/__stories__/WithHints.js +3 -1
- package/es/core/Accordion/index.js +6 -0
- package/es/core/Accordion/index.mdx +4 -0
- package/es/core/BackLink/BackLink.stories.js +2 -1
- package/es/core/BackLink/index.mdx +4 -0
- package/es/core/Blockquote/Blockquote.stories.js +4 -1
- package/es/core/Blockquote/index.mdx +4 -0
- package/es/core/Breadcrumbs/Breadcrumbs.stories.js +4 -1
- package/es/core/Breadcrumbs/breadcrumbs.mdx +4 -0
- package/es/core/Button/Button.stories.js +5 -2
- package/es/core/Button/index.mdx +4 -1
- package/es/core/Card/Card.stories.js +5 -1
- package/es/core/Card/__stories__/WithClickableContent.js +2 -2
- package/es/core/Card/card.mdx +4 -0
- package/es/core/Checkboxes/Checkbox.stories.js +4 -1
- package/es/core/Checkboxes/__stories__/ConditionalReveal.js +1 -1
- package/es/core/Checkboxes/__stories__/NoneAnswerWithError.js +2 -2
- package/es/core/Checkboxes/checkboxes.mdx +4 -0
- package/es/core/DateInput/DateInput.stories.js +4 -1
- package/es/core/DateInput/index.js +2 -2
- package/es/core/DateInput/index.mdx +5 -0
- package/es/core/Details/Details.stories.js +4 -1
- package/es/core/Details/index.js +3 -3
- package/es/core/Details/index.mdx +4 -0
- package/es/core/Divider/Divider.stories.js +2 -1
- package/es/core/Divider/index.js +1 -0
- package/es/core/ErrorMessage/ErrorMessage.stories.js +4 -1
- package/es/core/ErrorMessage/index.mdx +4 -0
- package/es/core/ErrorSummary/ErrorSummary.stories.js +4 -1
- package/es/core/ErrorSummary/__stories__/LinkedToInput.js +4 -4
- package/es/core/ErrorSummary/index.js +1 -1
- package/es/core/ErrorSummary/index.mdx +4 -0
- package/es/core/Field/index.js +2 -2
- package/es/core/FileUpload/FileUpload.stories.js +3 -1
- package/es/core/FileUpload/index.mdx +4 -1
- package/es/core/Label/index.js +2 -2
- package/es/core/Link/Link.stories.js +3 -1
- package/es/core/Link/index.js +8 -6
- package/es/core/Link/link.mdx +4 -0
- package/es/core/List/List.js +1 -1
- package/es/core/List/List.stories.js +5 -2
- package/es/core/List/index.mdx +4 -0
- package/es/core/Masthead/Masthead.stories.js +5 -1
- package/es/core/Masthead/masthead.mdx +4 -0
- package/es/core/NavList/NavList.stories.js +4 -1
- package/es/core/NavList/index.js +4 -2
- package/es/core/NavList/index.mdx +4 -0
- package/es/core/NotificationBanner/NotificationBanner.stories.js +5 -1
- package/es/core/NotificationBanner/index.js +3 -3
- package/es/core/NotificationBanner/index.mdx +4 -0
- package/es/core/PhaseBanner/PhaseBanner.stories.js +4 -1
- package/es/core/PhaseBanner/index.mdx +4 -0
- package/es/core/Radios/Radios.stories.js +4 -1
- package/es/core/Radios/__stories__/ConditionalReveal.js +1 -1
- package/es/core/Radios/index.js +2 -2
- package/es/core/Radios/index.mdx +14 -0
- package/es/core/Select/Select.stories.js +4 -1
- package/es/core/Select/__stories__/Default.js +2 -2
- package/es/core/Select/__stories__/DisabledInput.js +2 -2
- package/es/core/Select/__stories__/WithHint.js +2 -2
- package/es/core/Select/index.js +2 -2
- package/es/core/Select/index.mdx +4 -0
- package/es/core/SummaryList/SummaryList.stories.js +5 -2
- package/es/core/SummaryList/index.mdx +4 -0
- package/es/core/Table/Table.stories.js +5 -2
- package/es/core/Table/__stories__/WithFloatingScroll.js +1 -27
- package/es/core/Table/index.js +3 -1
- package/es/core/Table/index.mdx +4 -1
- package/es/core/Tabs/Tabs.stories.js +6 -2
- package/es/core/Tabs/index.js +5 -5
- package/es/core/Tabs/index.mdx +4 -0
- package/es/core/TextArea/TextArea.stories.js +4 -1
- package/es/core/TextArea/__stories__/Default.js +4 -4
- package/es/core/TextArea/__stories__/DisabledInput.js +4 -4
- package/es/core/TextArea/__stories__/LimitedCharacters.js +4 -4
- package/es/core/TextArea/__stories__/MultipleQuestions.js +4 -4
- package/es/core/TextArea/__stories__/WithDeclaredRows.js +4 -4
- package/es/core/TextArea/__stories__/WithErrorMessage.js +4 -4
- package/es/core/TextArea/__stories__/WithHint.js +4 -4
- package/es/core/TextArea/index.mdx +4 -0
- package/es/core/TextInput/TextInput.stories.js +4 -1
- package/es/core/TextInput/__stories__/AskingForNumbers.js +4 -4
- package/es/core/TextInput/__stories__/Default.js +4 -4
- package/es/core/TextInput/__stories__/DisabledInput.js +4 -4
- package/es/core/TextInput/__stories__/FixedWidths.js +9 -9
- package/es/core/TextInput/__stories__/FluidWidths.js +9 -9
- package/es/core/TextInput/__stories__/MultipleQuestions.js +4 -4
- package/es/core/TextInput/__stories__/WithErrorMessage.js +5 -5
- package/es/core/TextInput/__stories__/WithHint.js +4 -4
- package/es/core/TextInput/index.mdx +4 -0
- package/es/core/VisuallyHidden/VisuallyHidden.stories.js +2 -1
- package/es/core/VisuallyHidden/index.mdx +4 -1
- package/es/core/WarningText/WarningText.stories.js +5 -2
- package/es/core/WarningText/index.js +1 -1
- package/es/core/WarningText/index.mdx +4 -0
- package/es/core/index.js +8 -5
- package/es/govgr/Footer/Copyright.js +3 -2
- package/es/govgr/Footer/index.mdx +4 -0
- package/es/index.js +2 -1
- package/es/layouts/Basic/Basic.stories.js +3 -1
- package/es/layouts/Basic/Bottom/index.js +1 -1
- package/es/layouts/Basic/Bottom/index.mdx +4 -0
- package/es/layouts/Basic/Main/index.js +1 -1
- package/es/layouts/Basic/Main/index.mdx +4 -0
- package/es/layouts/Basic/Masthead/index.js +2 -2
- package/es/layouts/Basic/Masthead/index.mdx +4 -0
- package/es/layouts/Basic/Top/index.js +2 -10
- package/es/layouts/Basic/Top/index.mdx +4 -0
- package/es/layouts/Basic/index.js +5 -3
- package/es/layouts/Basic/index.mdx +0 -6
- package/es/layouts/Grid/Grid.stories.js +3 -2
- package/es/layouts/Grid/__stories__/Default.js +2 -6
- package/es/registry.js +116 -2
- package/es/typography/Heading/Heading.stories.js +2 -1
- package/es/typography/Heading/index.js +1 -1
- package/es/typography/Heading/index.mdx +4 -0
- package/es/typography/HeadingCaption/HeadingCaption.stories.js +2 -1
- package/es/typography/HeadingCaption/index.js +1 -1
- package/es/typography/HeadingCaption/index.mdx +4 -1
- package/es/typography/Hint/Hint.stories.js +2 -1
- package/es/typography/Hint/index.mdx +4 -1
- package/es/typography/NormalText/NormalText.stories.js +2 -1
- package/es/typography/NormalText/index.mdx +4 -1
- package/es/typography/Paragraph/Paragraph.stories.js +2 -1
- package/es/typography/Paragraph/index.mdx +4 -1
- package/es/typography/index.js +2 -4
- package/es/utils/Kitchensink/AllComponents.js +11 -0
- package/es/utils/Kitchensink/KitchensinkByCategory.js +42 -0
- package/es/utils/Kitchensink/KitchensinkByLetter.js +20 -0
- package/es/utils/Kitchensink/KitchensinkComponent.js +51 -0
- package/es/utils/Kitchensink/KitchensinkDashboard.js +50 -0
- package/es/utils/withDeprecation.js +15 -12
- package/esm/admin/AutoComplete/AutoComplete.stories.js +2 -1
- package/esm/admin/AutoComplete/Status/index.js +4 -4
- package/esm/admin/AutoComplete/index.mdx +4 -0
- package/esm/admin/CircularProgress/CircularProgress.stories.js +3 -2
- package/esm/admin/CircularProgress/__stories__/Default.js +1 -2
- package/esm/admin/CopyToClipboard/CopyToClipboard.stories.js +3 -3
- package/esm/admin/CopyToClipboard/index.mdx +2 -2
- package/esm/admin/Drawer/Drawer.stories.js +8 -2
- package/esm/admin/Drawer/__stories__/Default.js +8 -47
- package/esm/admin/Drawer/index.mdx +4 -0
- package/esm/admin/Dropdown/Dropdown.stories.js +4 -1
- package/esm/admin/Dropdown/__stories__/AlignRight.js +4 -3
- package/esm/admin/Dropdown/__stories__/Default.js +5 -3
- package/esm/admin/Dropdown/__stories__/PlacementTop.js +4 -3
- package/esm/admin/Dropdown/index.js +3 -2
- package/esm/admin/Dropdown/index.mdx +4 -1
- package/esm/admin/Modal/Modal.stories.js +4 -1
- package/esm/admin/Modal/__stories__/AlertDialog.js +12 -31
- package/esm/admin/Modal/__stories__/Default.js +11 -26
- package/esm/admin/Modal/index.js +2 -2
- package/esm/admin/Modal/index.mdx +4 -8
- package/esm/admin/Pagination/Pagination.stories.js +6 -2
- package/esm/admin/Pagination/__stories__/Default.js +1 -27
- package/esm/admin/Pagination/__stories__/PaginationSmall.js +38 -0
- package/esm/admin/Pagination/index.js +3 -2
- package/esm/admin/Pagination/index.mdx +4 -0
- package/esm/admin/StepNav/StepNav.stories.js +3 -1
- package/esm/admin/TaskList/TaskList.stories.js +3 -1
- package/esm/admin/TaskList/__stories__/Default.js +2 -2
- package/esm/admin/Timeline/Timeline.stories.js +3 -1
- package/esm/admin/Timeline/__stories__/Default.js +3 -2
- package/esm/app/Confirmation/Confirmation.mdx +4 -0
- package/esm/app/Confirmation/Confirmation.stories.js +6 -3
- package/esm/app/Confirmation/index.js +4 -4
- package/esm/app/Footer/Footer.mdx +4 -0
- package/esm/app/Footer/Footer.stories.js +6 -2
- package/esm/app/Footer/index.js +3 -1
- package/esm/app/Header/Header.stories.js +4 -0
- package/esm/app/Header/index.mdx +4 -0
- package/esm/app/I18nText.js +1 -0
- package/esm/app/NotFound/NotFound.stories.js +2 -1
- package/esm/app/NotFound/index.mdx +4 -0
- package/esm/app/PageTitle.js +6 -57
- package/esm/app/PhaseBannerHeader/PhaseBannerHeader.stories.js +3 -2
- package/esm/app/PhaseBannerHeader/index.mdx +4 -0
- package/esm/app/QrCodeScanner/QrCodeScanner.stories.js +2 -1
- package/esm/app/QrCodeScanner/index.js +3 -5
- package/esm/app/QrCodeViewer/QRCode.stories.js +2 -1
- package/esm/app/QrCodeViewer/index.js +2 -69
- package/esm/app/QrCodeViewer/index.mdx +4 -0
- package/esm/app/index.js +2 -0
- package/esm/core/Accordion/Accordion.stories.js +6 -2
- package/esm/core/Accordion/Accordion.stories.playwright.json +1 -7
- package/esm/core/Accordion/__stories__/Default.js +3 -1
- package/esm/core/Accordion/__stories__/WithHints.js +3 -1
- package/esm/core/Accordion/index.js +6 -0
- package/esm/core/Accordion/index.mdx +4 -0
- package/esm/core/BackLink/BackLink.stories.js +2 -1
- package/esm/core/BackLink/index.mdx +4 -0
- package/esm/core/Blockquote/Blockquote.stories.js +4 -1
- package/esm/core/Blockquote/index.mdx +4 -0
- package/esm/core/Breadcrumbs/Breadcrumbs.stories.js +4 -1
- package/esm/core/Breadcrumbs/breadcrumbs.mdx +4 -0
- package/esm/core/Button/Button.stories.js +5 -2
- package/esm/core/Button/index.mdx +4 -1
- package/esm/core/Card/Card.stories.js +5 -1
- package/esm/core/Card/__stories__/WithClickableContent.js +2 -2
- package/esm/core/Card/card.mdx +4 -0
- package/esm/core/Checkboxes/Checkbox.stories.js +4 -1
- package/esm/core/Checkboxes/__stories__/ConditionalReveal.js +1 -1
- package/esm/core/Checkboxes/__stories__/NoneAnswerWithError.js +2 -2
- package/esm/core/Checkboxes/checkboxes.mdx +4 -0
- package/esm/core/DateInput/DateInput.stories.js +4 -1
- package/esm/core/DateInput/index.js +2 -2
- package/esm/core/DateInput/index.mdx +5 -0
- package/esm/core/Details/Details.stories.js +4 -1
- package/esm/core/Details/index.js +3 -3
- package/esm/core/Details/index.mdx +4 -0
- package/esm/core/Divider/Divider.stories.js +2 -1
- package/esm/core/Divider/index.js +1 -0
- package/esm/core/ErrorMessage/ErrorMessage.stories.js +4 -1
- package/esm/core/ErrorMessage/index.mdx +4 -0
- package/esm/core/ErrorSummary/ErrorSummary.stories.js +4 -1
- package/esm/core/ErrorSummary/__stories__/LinkedToInput.js +4 -4
- package/esm/core/ErrorSummary/index.js +1 -1
- package/esm/core/ErrorSummary/index.mdx +4 -0
- package/esm/core/Field/index.js +2 -2
- package/esm/core/FileUpload/FileUpload.stories.js +3 -1
- package/esm/core/FileUpload/index.mdx +4 -1
- package/esm/core/Label/index.js +2 -2
- package/esm/core/Link/Link.stories.js +3 -1
- package/esm/core/Link/index.js +8 -6
- package/esm/core/Link/link.mdx +4 -0
- package/esm/core/List/List.js +1 -1
- package/esm/core/List/List.stories.js +5 -2
- package/esm/core/List/index.mdx +4 -0
- package/esm/core/Masthead/Masthead.stories.js +5 -1
- package/esm/core/Masthead/masthead.mdx +4 -0
- package/esm/core/NavList/NavList.stories.js +4 -1
- package/esm/core/NavList/index.js +4 -2
- package/esm/core/NavList/index.mdx +4 -0
- package/esm/core/NotificationBanner/NotificationBanner.stories.js +5 -1
- package/esm/core/NotificationBanner/index.js +3 -3
- package/esm/core/NotificationBanner/index.mdx +4 -0
- package/esm/core/PhaseBanner/PhaseBanner.stories.js +4 -1
- package/esm/core/PhaseBanner/index.mdx +4 -0
- package/esm/core/Radios/Radios.stories.js +4 -1
- package/esm/core/Radios/__stories__/ConditionalReveal.js +1 -1
- package/esm/core/Radios/index.js +2 -2
- package/esm/core/Radios/index.mdx +14 -0
- package/esm/core/Select/Select.stories.js +4 -1
- package/esm/core/Select/__stories__/Default.js +2 -2
- package/esm/core/Select/__stories__/DisabledInput.js +2 -2
- package/esm/core/Select/__stories__/WithHint.js +2 -2
- package/esm/core/Select/index.js +2 -2
- package/esm/core/Select/index.mdx +4 -0
- package/esm/core/SummaryList/SummaryList.stories.js +5 -2
- package/esm/core/SummaryList/index.mdx +4 -0
- package/esm/core/Table/Table.stories.js +5 -2
- package/esm/core/Table/__stories__/WithFloatingScroll.js +1 -27
- package/esm/core/Table/index.js +3 -1
- package/esm/core/Table/index.mdx +4 -1
- package/esm/core/Tabs/Tabs.stories.js +6 -2
- package/esm/core/Tabs/index.js +5 -5
- package/esm/core/Tabs/index.mdx +4 -0
- package/esm/core/TextArea/TextArea.stories.js +4 -1
- package/esm/core/TextArea/__stories__/Default.js +4 -4
- package/esm/core/TextArea/__stories__/DisabledInput.js +4 -4
- package/esm/core/TextArea/__stories__/LimitedCharacters.js +4 -4
- package/esm/core/TextArea/__stories__/MultipleQuestions.js +4 -4
- package/esm/core/TextArea/__stories__/WithDeclaredRows.js +4 -4
- package/esm/core/TextArea/__stories__/WithErrorMessage.js +4 -4
- package/esm/core/TextArea/__stories__/WithHint.js +4 -4
- package/esm/core/TextArea/index.mdx +4 -0
- package/esm/core/TextInput/TextInput.stories.js +4 -1
- package/esm/core/TextInput/__stories__/AskingForNumbers.js +4 -4
- package/esm/core/TextInput/__stories__/Default.js +4 -4
- package/esm/core/TextInput/__stories__/DisabledInput.js +4 -4
- package/esm/core/TextInput/__stories__/FixedWidths.js +9 -9
- package/esm/core/TextInput/__stories__/FluidWidths.js +9 -9
- package/esm/core/TextInput/__stories__/MultipleQuestions.js +4 -4
- package/esm/core/TextInput/__stories__/WithErrorMessage.js +5 -5
- package/esm/core/TextInput/__stories__/WithHint.js +4 -4
- package/esm/core/TextInput/index.mdx +4 -0
- package/esm/core/VisuallyHidden/VisuallyHidden.stories.js +2 -1
- package/esm/core/VisuallyHidden/index.mdx +4 -1
- package/esm/core/WarningText/WarningText.stories.js +5 -2
- package/esm/core/WarningText/index.js +1 -1
- package/esm/core/WarningText/index.mdx +4 -0
- package/esm/core/index.js +8 -5
- package/esm/govgr/Footer/Copyright.js +3 -2
- package/esm/govgr/Footer/index.mdx +4 -0
- package/esm/index.js +3 -2
- package/esm/layouts/Basic/Basic.stories.js +3 -1
- package/esm/layouts/Basic/Bottom/index.js +1 -1
- package/esm/layouts/Basic/Bottom/index.mdx +4 -0
- package/esm/layouts/Basic/Main/index.js +1 -1
- package/esm/layouts/Basic/Main/index.mdx +4 -0
- package/esm/layouts/Basic/Masthead/index.js +2 -2
- package/esm/layouts/Basic/Masthead/index.mdx +4 -0
- package/esm/layouts/Basic/Top/index.js +2 -10
- package/esm/layouts/Basic/Top/index.mdx +4 -0
- package/esm/layouts/Basic/index.js +5 -3
- package/esm/layouts/Basic/index.mdx +0 -6
- package/esm/layouts/Grid/Grid.stories.js +3 -2
- package/esm/layouts/Grid/__stories__/Default.js +2 -6
- package/esm/registry.js +116 -2
- package/esm/typography/Heading/Heading.stories.js +2 -1
- package/esm/typography/Heading/index.js +1 -1
- package/esm/typography/Heading/index.mdx +4 -0
- package/esm/typography/HeadingCaption/HeadingCaption.stories.js +2 -1
- package/esm/typography/HeadingCaption/index.js +1 -1
- package/esm/typography/HeadingCaption/index.mdx +4 -1
- package/esm/typography/Hint/Hint.stories.js +2 -1
- package/esm/typography/Hint/index.mdx +4 -1
- package/esm/typography/NormalText/NormalText.stories.js +2 -1
- package/esm/typography/NormalText/index.mdx +4 -1
- package/esm/typography/Paragraph/Paragraph.stories.js +2 -1
- package/esm/typography/Paragraph/index.mdx +4 -1
- package/esm/typography/index.js +2 -4
- package/esm/utils/Kitchensink/AllComponents.js +11 -0
- package/esm/utils/Kitchensink/KitchensinkByCategory.js +42 -0
- package/esm/utils/Kitchensink/KitchensinkByLetter.js +20 -0
- package/esm/utils/Kitchensink/KitchensinkComponent.js +51 -0
- package/esm/utils/Kitchensink/KitchensinkDashboard.js +50 -0
- package/esm/utils/withDeprecation.js +15 -12
- package/govgr/Footer/Copyright.d.ts +2 -0
- package/govgr/Footer/Copyright.js +10 -3
- package/govgr/Footer/index.mdx +4 -0
- package/index.d.ts +1 -0
- package/index.js +13 -0
- package/layouts/Basic/Basic.stories.d.ts +2 -0
- package/layouts/Basic/Basic.stories.js +3 -1
- package/layouts/Basic/Bottom/index.d.ts +1 -1
- package/layouts/Basic/Bottom/index.js +19 -8
- package/layouts/Basic/Bottom/index.mdx +4 -0
- package/layouts/Basic/Content/index.d.ts +1 -3
- package/layouts/Basic/Main/index.d.ts +1 -1
- package/layouts/Basic/Main/index.js +19 -8
- package/layouts/Basic/Main/index.mdx +4 -0
- package/layouts/Basic/Masthead/index.d.ts +2 -2
- package/layouts/Basic/Masthead/index.js +31 -14
- package/layouts/Basic/Masthead/index.mdx +4 -0
- package/layouts/Basic/Top/index.d.ts +2 -2
- package/layouts/Basic/Top/index.js +19 -13
- package/layouts/Basic/Top/index.mdx +4 -0
- package/layouts/Basic/index.d.ts +4 -2
- package/layouts/Basic/index.js +48 -11
- package/layouts/Basic/index.mdx +0 -6
- package/layouts/Grid/Grid.stories.d.ts +2 -0
- package/layouts/Grid/Grid.stories.js +3 -2
- package/layouts/Grid/__stories__/Default.js +2 -6
- package/package.json +5 -5
- package/registry.d.ts +111 -1
- package/registry.js +176 -5
- package/typography/Heading/Heading.stories.d.ts +1 -0
- package/typography/Heading/Heading.stories.js +2 -1
- package/typography/Heading/index.d.ts +1 -1
- package/typography/Heading/index.mdx +4 -0
- package/typography/HeadingCaption/HeadingCaption.stories.d.ts +1 -0
- package/typography/HeadingCaption/HeadingCaption.stories.js +2 -1
- package/typography/HeadingCaption/index.d.ts +1 -1
- package/typography/HeadingCaption/index.mdx +4 -1
- package/typography/Hint/Hint.stories.d.ts +1 -0
- package/typography/Hint/Hint.stories.js +2 -1
- package/typography/Hint/index.mdx +4 -1
- package/typography/NormalText/NormalText.stories.d.ts +1 -0
- package/typography/NormalText/NormalText.stories.js +2 -1
- package/typography/NormalText/index.mdx +4 -1
- package/typography/Paragraph/Paragraph.stories.d.ts +1 -0
- package/typography/Paragraph/Paragraph.stories.js +2 -1
- package/typography/Paragraph/index.mdx +4 -1
- package/typography/index.d.ts +2 -4
- package/typography/index.js +31 -46
- package/utils/Kitchensink/AllComponents.d.ts +1 -0
- package/utils/Kitchensink/AllComponents.js +24 -0
- package/utils/Kitchensink/KitchensinkByCategory.d.ts +6 -0
- package/utils/Kitchensink/KitchensinkByCategory.js +56 -0
- package/utils/Kitchensink/KitchensinkByLetter.d.ts +5 -0
- package/utils/Kitchensink/KitchensinkByLetter.js +34 -0
- package/utils/Kitchensink/KitchensinkComponent.d.ts +10 -0
- package/utils/Kitchensink/KitchensinkComponent.js +68 -0
- package/utils/Kitchensink/KitchensinkDashboard.d.ts +4 -0
- package/utils/Kitchensink/KitchensinkDashboard.js +63 -0
- package/utils/withDeprecation.js +15 -12
- package/admin/CopyToClipboard/__stories__/MultipleCopies.d.ts +0 -2
- package/admin/CopyToClipboard/__stories__/MultipleCopies.js +0 -142
- package/admin/Dropdown/Dropdown.stories.playwright.json +0 -21
- package/admin/Modal/Modal.stories.playwright.json +0 -37
- package/admin/Modal/__stories__/AlertDialog.test.d.ts +0 -1
- package/admin/Modal/__stories__/AlertDialog.test.js +0 -60
- package/core/Confirmation/Confirmation.stories.d.ts +0 -7
- package/core/Confirmation/Confirmation.stories.js +0 -30
- package/core/Confirmation/__stories__/Default.d.ts +0 -2
- package/core/Confirmation/__stories__/Default.js +0 -28
- package/core/Confirmation/confirmation.mdx +0 -19
- package/core/Confirmation/index.d.ts +0 -5
- package/core/Confirmation/index.js +0 -58
- package/core/ServiceBadge/index.mdx +0 -42
- package/es/admin/CopyToClipboard/__stories__/MultipleCopies.js +0 -120
- package/es/admin/Dropdown/Dropdown.stories.playwright.json +0 -21
- package/es/admin/Modal/Modal.stories.playwright.json +0 -37
- package/es/admin/Modal/__stories__/AlertDialog.test.js +0 -53
- package/es/core/Confirmation/Confirmation.stories.js +0 -6
- package/es/core/Confirmation/__stories__/Default.js +0 -9
- package/es/core/Confirmation/confirmation.mdx +0 -19
- package/es/core/Confirmation/index.js +0 -5
- package/es/core/ServiceBadge/index.mdx +0 -42
- package/es/form/inputs/Input/index.mdx +0 -10
- package/es/layouts/Basic/Content/index.mdx +0 -50
- package/es/layouts/Basic/Side/index.mdx +0 -57
- package/es/router/index.mdx +0 -5
- package/es/typography/index.mdx +0 -5
- package/esm/admin/CopyToClipboard/__stories__/MultipleCopies.js +0 -120
- package/esm/admin/Dropdown/Dropdown.stories.playwright.json +0 -21
- package/esm/admin/Modal/Modal.stories.playwright.json +0 -37
- package/esm/admin/Modal/__stories__/AlertDialog.test.js +0 -53
- package/esm/core/Confirmation/Confirmation.stories.js +0 -6
- package/esm/core/Confirmation/__stories__/Default.js +0 -9
- package/esm/core/Confirmation/confirmation.mdx +0 -19
- package/esm/core/Confirmation/index.js +0 -5
- package/esm/core/ServiceBadge/index.mdx +0 -42
- package/esm/form/inputs/Input/index.mdx +0 -10
- package/esm/layouts/Basic/Content/index.mdx +0 -50
- package/esm/layouts/Basic/Side/index.mdx +0 -57
- package/esm/router/index.mdx +0 -5
- package/esm/typography/index.mdx +0 -5
- package/form/inputs/Input/index.mdx +0 -10
- package/layouts/Basic/Content/index.mdx +0 -50
- package/layouts/Basic/Side/index.mdx +0 -57
- package/router/index.mdx +0 -5
- package/typography/index.mdx +0 -5
package/app/index.js
CHANGED
|
@@ -17,6 +17,32 @@ Object.keys(_App).forEach(function (key) {
|
|
|
17
17
|
});
|
|
18
18
|
});
|
|
19
19
|
|
|
20
|
+
var _Confirmation = require("@digigov/ui/app/Confirmation");
|
|
21
|
+
|
|
22
|
+
Object.keys(_Confirmation).forEach(function (key) {
|
|
23
|
+
if (key === "default" || key === "__esModule") return;
|
|
24
|
+
if (key in exports && exports[key] === _Confirmation[key]) return;
|
|
25
|
+
Object.defineProperty(exports, key, {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function get() {
|
|
28
|
+
return _Confirmation[key];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
var _Footer = require("@digigov/ui/app/Footer");
|
|
34
|
+
|
|
35
|
+
Object.keys(_Footer).forEach(function (key) {
|
|
36
|
+
if (key === "default" || key === "__esModule") return;
|
|
37
|
+
if (key in exports && exports[key] === _Footer[key]) return;
|
|
38
|
+
Object.defineProperty(exports, key, {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function get() {
|
|
41
|
+
return _Footer[key];
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
|
|
20
46
|
var _PageTitle = require("@digigov/ui/app/PageTitle");
|
|
21
47
|
|
|
22
48
|
Object.keys(_PageTitle).forEach(function (key) {
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
2
|
export const title: string;
|
|
3
|
+
export const tags: string[];
|
|
4
|
+
export const description: string;
|
|
5
|
+
export const link: string;
|
|
3
6
|
export { Accordion as component };
|
|
7
|
+
export const displayName: string;
|
|
4
8
|
}
|
|
5
9
|
export default _default;
|
|
6
10
|
export * from "./__stories__/Default";
|
|
7
11
|
export * from "./__stories__/WithHints";
|
|
12
|
+
import Accordion from "@digigov/ui/core/Accordion";
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
var _exportNames = {};
|
|
9
9
|
exports["default"] = void 0;
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _Accordion = _interopRequireDefault(require("@digigov/ui/core/Accordion"));
|
|
12
12
|
|
|
13
13
|
var _Default = require("./__stories__/Default");
|
|
14
14
|
|
|
@@ -39,6 +39,10 @@ Object.keys(_WithHints).forEach(function (key) {
|
|
|
39
39
|
});
|
|
40
40
|
var _default = {
|
|
41
41
|
title: 'Digigov UI/core/Accordion',
|
|
42
|
-
|
|
42
|
+
tags: ["Experimental"],
|
|
43
|
+
description: "The accordion component lets users show and hide sections of related content on a page.",
|
|
44
|
+
link: "https://guide.services.gov.gr/docs/components/accordion",
|
|
45
|
+
component: _Accordion["default"],
|
|
46
|
+
displayName: 'Accordion'
|
|
43
47
|
};
|
|
44
48
|
exports["default"] = _default;
|
|
@@ -8,13 +8,7 @@
|
|
|
8
8
|
{
|
|
9
9
|
"name": "click",
|
|
10
10
|
"args": {
|
|
11
|
-
"selector": "
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"name": "click",
|
|
16
|
-
"args": {
|
|
17
|
-
"selector": "html>body>div:nth-child(5)>div>details:nth-child(2)>div>p"
|
|
11
|
+
"selector": "text=Δικαστήρια"
|
|
18
12
|
}
|
|
19
13
|
}
|
|
20
14
|
],
|
|
@@ -23,7 +23,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
23
23
|
|
|
24
24
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25
25
|
|
|
26
|
-
var _ref = /*#__PURE__*/_react["default"].createElement(_Accordion["default"], null, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSection,
|
|
26
|
+
var _ref = /*#__PURE__*/_react["default"].createElement(_Accordion["default"], null, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSection, {
|
|
27
|
+
open: true
|
|
28
|
+
}, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSectionSummary, null, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSectionSummaryHeading, {
|
|
27
29
|
"aria-controls": "content1"
|
|
28
30
|
}, "\u0394\u03B9\u03B1\u03C6\u03BF\u03C1\u03AD\u03C2 \u03BC\u03B5 \u03C4\u03BF \u03B4\u03B7\u03BC\u03CC\u03C3\u03B9\u03BF")), /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSectionContent, {
|
|
29
31
|
id: "content1"
|
|
@@ -25,7 +25,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
25
25
|
|
|
26
26
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
27
27
|
|
|
28
|
-
var _ref = /*#__PURE__*/_react["default"].createElement(_Accordion["default"], null, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSection,
|
|
28
|
+
var _ref = /*#__PURE__*/_react["default"].createElement(_Accordion["default"], null, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSection, {
|
|
29
|
+
open: true
|
|
30
|
+
}, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSectionSummary, null, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSectionSummaryHeading, {
|
|
29
31
|
"aria-controls": "content1"
|
|
30
32
|
}, "\u0394\u03B9\u03B1\u03C6\u03BF\u03C1\u03AD\u03C2 \u03BC\u03B5 \u03C4\u03BF \u03B4\u03B7\u03BC\u03CC\u03C3\u03B9\u03BF"), /*#__PURE__*/_react["default"].createElement(_Hint["default"], null, "\u0394\u03B9\u03BA\u03B1\u03C3\u03C4\u03B9\u03BA\u03AD\u03C2 \u03BA\u03B1\u03B9 \u03B5\u03BE\u03C9\u03B4\u03B9\u03BA\u03B1\u03C3\u03C4\u03B9\u03BA\u03AD\u03C2 \u03B4\u03B9\u03B1\u03C6\u03BF\u03C1\u03AD\u03C2 \u03BC\u03B5 \u03C4\u03BF \u0394\u03B7\u03BC\u03CC\u03C3\u03B9\u03BF, \u03B5\u03BA\u03BA\u03B1\u03B8\u03AC\u03C1\u03B9\u03C3\u03B7 \u03B4\u03B9\u03BA\u03B1\u03C3\u03C4\u03B9\u03BA\u03CE\u03BD \u03B4\u03B1\u03C0\u03B1\u03BD\u03CE\u03BD \u03BA.\u03AC.")), /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSectionContent, {
|
|
31
33
|
id: "content1"
|
|
@@ -18,6 +18,12 @@ export interface UseAccordionProps {
|
|
|
18
18
|
export interface UseAccordionReturn extends UseTogglableSectionsReturn {
|
|
19
19
|
}
|
|
20
20
|
declare const useAccordion: (props: UseAccordionProps) => UseAccordionReturn;
|
|
21
|
+
export * from '@digigov/react-core/Accordion';
|
|
22
|
+
export * from '@digigov/react-core/AccordionControls';
|
|
23
|
+
export * from '@digigov/react-core/AccordionSection';
|
|
21
24
|
export * from '@digigov/react-core/AccordionSectionHeader';
|
|
25
|
+
export * from '@digigov/react-core/AccordionSectionContent';
|
|
26
|
+
export * from '@digigov/react-core/AccordionSectionSummary';
|
|
27
|
+
export * from '@digigov/react-core/AccordionSectionSummaryHeading';
|
|
22
28
|
export { Accordion, AccordionControls, AccordionSection, AccordionSectionContent, AccordionSectionSummary, AccordionSectionSummaryHeading, useAccordion, };
|
|
23
29
|
export default Accordion;
|
package/core/Accordion/index.js
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
5
7
|
Object.defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
@@ -62,17 +64,89 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
62
64
|
|
|
63
65
|
var _react = _interopRequireDefault(require("react"));
|
|
64
66
|
|
|
65
|
-
var _Accordion =
|
|
67
|
+
var _Accordion = _interopRequireWildcard(require("@digigov/react-core/Accordion"));
|
|
68
|
+
|
|
69
|
+
Object.keys(_Accordion).forEach(function (key) {
|
|
70
|
+
if (key === "default" || key === "__esModule") return;
|
|
71
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
72
|
+
if (key in exports && exports[key] === _Accordion[key]) return;
|
|
73
|
+
Object.defineProperty(exports, key, {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function get() {
|
|
76
|
+
return _Accordion[key];
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
var _AccordionSection = _interopRequireWildcard(require("@digigov/react-core/AccordionSection"));
|
|
82
|
+
|
|
83
|
+
Object.keys(_AccordionSection).forEach(function (key) {
|
|
84
|
+
if (key === "default" || key === "__esModule") return;
|
|
85
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
86
|
+
if (key in exports && exports[key] === _AccordionSection[key]) return;
|
|
87
|
+
Object.defineProperty(exports, key, {
|
|
88
|
+
enumerable: true,
|
|
89
|
+
get: function get() {
|
|
90
|
+
return _AccordionSection[key];
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
var _AccordionSectionContent = _interopRequireWildcard(require("@digigov/react-core/AccordionSectionContent"));
|
|
96
|
+
|
|
97
|
+
Object.keys(_AccordionSectionContent).forEach(function (key) {
|
|
98
|
+
if (key === "default" || key === "__esModule") return;
|
|
99
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
100
|
+
if (key in exports && exports[key] === _AccordionSectionContent[key]) return;
|
|
101
|
+
Object.defineProperty(exports, key, {
|
|
102
|
+
enumerable: true,
|
|
103
|
+
get: function get() {
|
|
104
|
+
return _AccordionSectionContent[key];
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
var _AccordionSectionSummaryHeading = _interopRequireWildcard(require("@digigov/react-core/AccordionSectionSummaryHeading"));
|
|
66
110
|
|
|
67
|
-
|
|
111
|
+
Object.keys(_AccordionSectionSummaryHeading).forEach(function (key) {
|
|
112
|
+
if (key === "default" || key === "__esModule") return;
|
|
113
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
114
|
+
if (key in exports && exports[key] === _AccordionSectionSummaryHeading[key]) return;
|
|
115
|
+
Object.defineProperty(exports, key, {
|
|
116
|
+
enumerable: true,
|
|
117
|
+
get: function get() {
|
|
118
|
+
return _AccordionSectionSummaryHeading[key];
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
});
|
|
68
122
|
|
|
69
|
-
var
|
|
123
|
+
var _AccordionSectionSummary = _interopRequireWildcard(require("@digigov/react-core/AccordionSectionSummary"));
|
|
70
124
|
|
|
71
|
-
|
|
125
|
+
Object.keys(_AccordionSectionSummary).forEach(function (key) {
|
|
126
|
+
if (key === "default" || key === "__esModule") return;
|
|
127
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
128
|
+
if (key in exports && exports[key] === _AccordionSectionSummary[key]) return;
|
|
129
|
+
Object.defineProperty(exports, key, {
|
|
130
|
+
enumerable: true,
|
|
131
|
+
get: function get() {
|
|
132
|
+
return _AccordionSectionSummary[key];
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
});
|
|
72
136
|
|
|
73
|
-
var
|
|
137
|
+
var _AccordionControls = _interopRequireWildcard(require("@digigov/react-core/AccordionControls"));
|
|
74
138
|
|
|
75
|
-
|
|
139
|
+
Object.keys(_AccordionControls).forEach(function (key) {
|
|
140
|
+
if (key === "default" || key === "__esModule") return;
|
|
141
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
142
|
+
if (key in exports && exports[key] === _AccordionControls[key]) return;
|
|
143
|
+
Object.defineProperty(exports, key, {
|
|
144
|
+
enumerable: true,
|
|
145
|
+
get: function get() {
|
|
146
|
+
return _AccordionControls[key];
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
});
|
|
76
150
|
|
|
77
151
|
var _withDeprecation = _interopRequireDefault(require("@digigov/ui/utils/withDeprecation"));
|
|
78
152
|
|
|
@@ -93,6 +167,11 @@ Object.keys(_AccordionSectionHeader).forEach(function (key) {
|
|
|
93
167
|
});
|
|
94
168
|
var _excluded = ["children"],
|
|
95
169
|
_excluded2 = ["register", "setOpened", "opened", "registered"];
|
|
170
|
+
|
|
171
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
172
|
+
|
|
173
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
174
|
+
|
|
96
175
|
var AccordionItemDetails = (0, _withDeprecation["default"])(_AccordionSectionContent["default"], {
|
|
97
176
|
name: 'AccordionItemDetails',
|
|
98
177
|
rename: 'AccordionSectionContent'
|
package/core/Accordion/index.mdx
CHANGED
|
@@ -31,3 +31,7 @@ Accordions hide content, so the labels need to be clear. If necessary, you can a
|
|
|
31
31
|
|
|
32
32
|
You can read more about the accessibility patterns used in our Accordion
|
|
33
33
|
implementation in the [ARIA Authoring Practices Guide (APG)](https://www.w3.org/WAI/ARIA/apg/patterns/accordion/).
|
|
34
|
+
|
|
35
|
+
## API
|
|
36
|
+
|
|
37
|
+
<PropTypes packageName="@digigov/ui" component="Accordion" />
|
package/core/BackLink/index.mdx
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
2
|
export const title: string;
|
|
3
|
+
export const description: string;
|
|
4
|
+
export const link: string;
|
|
3
5
|
export { Blockquote as component };
|
|
6
|
+
export const displayName: string;
|
|
4
7
|
}
|
|
5
8
|
export default _default;
|
|
6
9
|
export * from "./__stories__/Default";
|
|
@@ -25,6 +25,9 @@ Object.keys(_Default).forEach(function (key) {
|
|
|
25
25
|
});
|
|
26
26
|
var _default = {
|
|
27
27
|
title: 'Digigov UI/core/Blockquote',
|
|
28
|
-
|
|
28
|
+
description: "Use the inset text component to differentiate a block of text from the content that surrounds it",
|
|
29
|
+
link: "https://guide.services.gov.gr/docs/components/blockquote",
|
|
30
|
+
component: _Blockquote["default"],
|
|
31
|
+
displayName: 'Blockquote'
|
|
29
32
|
};
|
|
30
33
|
exports["default"] = _default;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
2
|
export const title: string;
|
|
3
|
+
export const description: string;
|
|
4
|
+
export const link: string;
|
|
3
5
|
export { Breadcrumbs as component };
|
|
6
|
+
export const displayName: string;
|
|
4
7
|
}
|
|
5
8
|
export default _default;
|
|
6
9
|
export * from "./__stories__/Default";
|
|
@@ -25,6 +25,9 @@ Object.keys(_Default).forEach(function (key) {
|
|
|
25
25
|
});
|
|
26
26
|
var _default = {
|
|
27
27
|
title: 'Digigov UI/core/Breadcrumbs',
|
|
28
|
-
|
|
28
|
+
description: 'Use the breadcrumbs component when you need to help users understand and move between the multiple levels of a website',
|
|
29
|
+
link: 'https://guide.services.gov.gr/docs/components/breadcrumbs',
|
|
30
|
+
component: _Breadcrumbs["default"],
|
|
31
|
+
displayName: 'Breadcrumbs'
|
|
29
32
|
};
|
|
30
33
|
exports["default"] = _default;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
2
|
export const title: string;
|
|
3
|
+
export const description: string;
|
|
4
|
+
export const link: string;
|
|
3
5
|
export { Button as component };
|
|
6
|
+
export const displayName: string;
|
|
4
7
|
}
|
|
5
8
|
export default _default;
|
|
6
9
|
export * from "./__stories__/Primary";
|
|
@@ -166,7 +166,10 @@ Object.keys(_ThemeToggle).forEach(function (key) {
|
|
|
166
166
|
|
|
167
167
|
/* eslint-disable digigov/no-relative-imports */
|
|
168
168
|
var _default = {
|
|
169
|
-
title: 'Digigov UI/
|
|
170
|
-
|
|
169
|
+
title: 'Digigov UI/core/Button',
|
|
170
|
+
description: 'Use the button component to help users carry out an action',
|
|
171
|
+
link: 'https://guide.services.gov.gr/docs/components/button',
|
|
172
|
+
component: _Button["default"],
|
|
173
|
+
displayName: 'Button'
|
|
171
174
|
};
|
|
172
175
|
exports["default"] = _default;
|
package/core/Button/index.mdx
CHANGED
|
@@ -94,4 +94,7 @@ Read more about [how to use the React types](/docs/api/Button)
|
|
|
94
94
|
|
|
95
95
|
You can read more about the accessibility patterns used in our Select
|
|
96
96
|
implementation in the ARIA Authoring Practices Guide (APG) at
|
|
97
|
-
|
|
97
|
+
|
|
98
|
+
## API
|
|
99
|
+
|
|
100
|
+
<PropTypes packageName="@digigov/ui" component="Button" />
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
2
|
export const title: string;
|
|
3
|
+
export const tags: string[];
|
|
4
|
+
export const description: string;
|
|
5
|
+
export const link: string;
|
|
3
6
|
export { Card as component };
|
|
7
|
+
export const displayName: string;
|
|
4
8
|
}
|
|
5
9
|
export default _default;
|
|
6
10
|
export * from "@digigov/ui/core/Card/__stories__/Default";
|
|
@@ -137,6 +137,10 @@ Object.keys(_WithGroupButton).forEach(function (key) {
|
|
|
137
137
|
});
|
|
138
138
|
var _default = {
|
|
139
139
|
title: 'Digigov UI/core/Card',
|
|
140
|
-
|
|
140
|
+
tags: ["Experimental"],
|
|
141
|
+
description: 'Cards can be used to divide and organise interface content for better understandability and readability',
|
|
142
|
+
link: 'https://guide.services.gov.gr/docs/components/card',
|
|
143
|
+
component: _Card["default"],
|
|
144
|
+
displayName: 'Card'
|
|
141
145
|
};
|
|
142
146
|
exports["default"] = _default;
|
|
@@ -13,7 +13,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
13
13
|
|
|
14
14
|
var _Card = _interopRequireWildcard(require("@digigov/ui/core/Card"));
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _LinkBase = _interopRequireDefault(require("@digigov/react-core/LinkBase"));
|
|
17
17
|
|
|
18
18
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
19
19
|
|
|
@@ -21,7 +21,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
21
21
|
|
|
22
22
|
var _ref = /*#__PURE__*/_react["default"].createElement(_Card["default"], {
|
|
23
23
|
callToAction: true
|
|
24
|
-
}, /*#__PURE__*/_react["default"].createElement(_Card.CardHeading, null, /*#__PURE__*/_react["default"].createElement(
|
|
24
|
+
}, /*#__PURE__*/_react["default"].createElement(_Card.CardHeading, null, /*#__PURE__*/_react["default"].createElement(_LinkBase["default"], {
|
|
25
25
|
href: "#"
|
|
26
26
|
}, "\u0393\u03B5\u03C9\u03C1\u03B3\u03AF\u03B1 \u03BA\u03B1\u03B9 \u03BA\u03C4\u03B7\u03BD\u03BF\u03C4\u03C1\u03BF\u03C6\u03AF\u03B1")), /*#__PURE__*/_react["default"].createElement(_Card.CardText, null, "\u0394\u03B9\u03B1\u03B4\u03B9\u03BA\u03B1\u03C3\u03AF\u03B5\u03C2, \u03B5\u03C0\u03B9\u03B4\u03BF\u03C4\u03AE\u03C3\u03B5\u03B9\u03C2 \u03BA\u03B1\u03B9 \u03B1\u03C0\u03BF\u03B6\u03B7\u03BC\u03B9\u03CE\u03C3\u03B5\u03B9\u03C2 \u03B3\u03B9\u03B1 \u03C4\u03B7\u03BD \u03B3\u03B5\u03C9\u03C1\u03B3\u03B9\u03BA\u03AE, \u03BA\u03C4\u03B7\u03BD\u03BF\u03C4\u03C1\u03BF\u03C6\u03B9\u03BA\u03AE \u03AE \u03B1\u03BB\u03B9\u03B5\u03C5\u03C4\u03B9\u03BA\u03AE \u03C3\u03B1\u03C2 \u03B4\u03C1\u03B1\u03C3\u03C4\u03B7\u03C1\u03B9\u03CC\u03C4\u03B7\u03C4\u03B1."));
|
|
27
27
|
|
package/core/Card/card.mdx
CHANGED
|
@@ -76,3 +76,7 @@ Cards also provides styles for actionable elements such as Buttons or Links.
|
|
|
76
76
|
#### Card with a group of actions
|
|
77
77
|
|
|
78
78
|
<Story packageName="@digigov/ui" component="core/Card" story="WithGroupButton.tsx" />
|
|
79
|
+
|
|
80
|
+
## API
|
|
81
|
+
|
|
82
|
+
<PropTypes packageName="@digigov/ui" component="Card" />
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
2
|
export const title: string;
|
|
3
|
+
export const description: string;
|
|
4
|
+
export const link: string;
|
|
3
5
|
export { Checkboxes as component };
|
|
6
|
+
export const displayName: string;
|
|
4
7
|
}
|
|
5
8
|
export default _default;
|
|
6
9
|
export * from "@digigov/ui/core/Checkboxes/__stories__/Default";
|
|
@@ -109,6 +109,9 @@ Object.keys(_ConditionalReveal).forEach(function (key) {
|
|
|
109
109
|
});
|
|
110
110
|
var _default = {
|
|
111
111
|
title: 'Digigov UI/core/Checkboxes',
|
|
112
|
-
|
|
112
|
+
description: 'Let users select one or more options by using the checkboxes component.',
|
|
113
|
+
link: 'https://guide.services.gov.gr/docs/components/checkboxes',
|
|
114
|
+
component: _Checkboxes["default"],
|
|
115
|
+
displayName: 'Checkboxes'
|
|
113
116
|
};
|
|
114
117
|
exports["default"] = _default;
|
|
@@ -28,7 +28,7 @@ var _ref = /*#__PURE__*/_react["default"].createElement(_Field["default"], null,
|
|
|
28
28
|
}, /*#__PURE__*/_react["default"].createElement(_Field.FieldsetLegend, null, "\u03A0\u03C9\u03C2 \u03B8\u03AD\u03BB\u03B5\u03C4\u03B5 \u03BD\u03B1 \u03B5\u03C0\u03B9\u03BA\u03BF\u03B9\u03BD\u03C9\u03BD\u03AE\u03C3\u03BF\u03C5\u03BC\u03B5 \u03BC\u03B1\u03B6\u03AF \u03C3\u03B1\u03C2;"), /*#__PURE__*/_react["default"].createElement(_Hint["default"], {
|
|
29
29
|
id: "contact-hint"
|
|
30
30
|
}, "\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03CC,\u03C4\u03B9 \u03B9\u03C3\u03C7\u03CD\u03B5\u03B9 \u03C3\u03C4\u03B7\u03BD \u03C0\u03B5\u03C1\u03AF\u03C0\u03C4\u03C9\u03C3\u03B7 \u03C3\u03B1\u03C2."), /*#__PURE__*/_react["default"].createElement(_Checkboxes["default"], null, /*#__PURE__*/_react["default"].createElement(_Checkboxes.CheckboxItem, {
|
|
31
|
-
|
|
31
|
+
defaultChecked: true,
|
|
32
32
|
name: "email",
|
|
33
33
|
value: "email"
|
|
34
34
|
}, "Email"), /*#__PURE__*/_react["default"].createElement(_Checkboxes.CheckboxConditional, null, "Email address", /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
@@ -34,7 +34,7 @@ var _ref = /*#__PURE__*/_react["default"].createElement(_Field["default"], {
|
|
|
34
34
|
}, "\u0391\u03BD \u03AD\u03C7\u03B5\u03C4\u03B5 \u03C0\u03BF\u03BB\u03BB\u03B1\u03C0\u03BB\u03AE \u03C5\u03C0\u03B7\u03BA\u03BF\u03CC\u03C4\u03B7\u03C4\u03B1, \u03B5\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03CC,\u03C4\u03B9 \u03B9\u03C3\u03C7\u03CD\u03B5\u03B9."), /*#__PURE__*/_react["default"].createElement(_ErrorMessage["default"], {
|
|
35
35
|
id: "travel-error"
|
|
36
36
|
}, /*#__PURE__*/_react["default"].createElement(_VisuallyHidden["default"], null, "\u039B\u03AC\u03B8\u03BF\u03C2:"), "\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03C4\u03B9\u03C2 \u03C7\u03CE\u03C1\u03B5\u03C2 \u03C3\u03C4\u03B9\u03C2 \u03BF\u03C0\u03BF\u03AF\u03B5\u03C2 \u03B8\u03B1 \u03C4\u03B1\u03BE\u03B9\u03B4\u03AD\u03C8\u03B5\u03C4\u03B5, \u03AE \u03B5\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \xAB\u038C\u03C7\u03B9, \u03B4\u03B5\u03BD \u03B8\u03B1 \u03C4\u03B1\u03BE\u03B9\u03B4\u03AD\u03C8\u03C9 \u03C3\u03B5 \u03BA\u03B1\u03BC\u03AF\u03B1 \u03B1\u03C0\u03CC \u03B1\u03C5\u03C4\u03AD\u03C2 \u03C4\u03B9\u03C2 \u03C7\u03CE\u03C1\u03B5\u03C2\xBB."), /*#__PURE__*/_react["default"].createElement(_Checkboxes["default"], null, /*#__PURE__*/_react["default"].createElement(_Checkboxes.CheckboxItem, {
|
|
37
|
-
|
|
37
|
+
defaultChecked: true,
|
|
38
38
|
name: "en",
|
|
39
39
|
value: "en"
|
|
40
40
|
}, "\u0391\u03B3\u03B3\u03BB\u03AF\u03B1"), /*#__PURE__*/_react["default"].createElement(_Checkboxes.CheckboxItem, {
|
|
@@ -43,7 +43,7 @@ var _ref = /*#__PURE__*/_react["default"].createElement(_Field["default"], {
|
|
|
43
43
|
}, "\u0393\u03B1\u03BB\u03BB\u03AF\u03B1"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
44
44
|
className: "govgr-checkboxes__divider"
|
|
45
45
|
}, "\u03AE"), /*#__PURE__*/_react["default"].createElement(_Checkboxes.CheckboxItem, {
|
|
46
|
-
|
|
46
|
+
defaultChecked: true,
|
|
47
47
|
name: "none",
|
|
48
48
|
value: "none"
|
|
49
49
|
}, "\u038C\u03C7\u03B9, \u03B4\u03B5\u03BD \u03B8\u03B1 \u03C4\u03B1\u03BE\u03B9\u03B4\u03AD\u03C8\u03C9 \u03C3\u03B5 \u03BA\u03B1\u03BC\u03AF\u03B1 \u03B1\u03C0\u03CC \u03B1\u03C5\u03C4\u03AD\u03C2 \u03C4\u03B9\u03C2 \u03C7\u03CE\u03C1\u03B5\u03C2"))));
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
2
|
export const title: string;
|
|
3
|
+
export const description: string;
|
|
4
|
+
export const link: string;
|
|
3
5
|
export { DateInput as component };
|
|
6
|
+
export const displayName: string;
|
|
4
7
|
}
|
|
5
8
|
export default _default;
|
|
6
9
|
export * from "@digigov/ui/core/DateInput/__stories__/Default";
|
|
@@ -67,6 +67,9 @@ Object.keys(_WithErrorMessageForSingleField).forEach(function (key) {
|
|
|
67
67
|
});
|
|
68
68
|
var _default = {
|
|
69
69
|
title: 'Digigov UI/core/DateInput',
|
|
70
|
-
|
|
70
|
+
description: "Use the date input component to help users enter a memorable date or one they can easily look up.",
|
|
71
|
+
link: "https://guide.services.gov.gr/docs/components/date-input",
|
|
72
|
+
component: _DateInput["default"],
|
|
73
|
+
displayName: 'DateInput'
|
|
71
74
|
};
|
|
72
75
|
exports["default"] = _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from '@digigov/react-core/
|
|
1
|
+
export * from '@digigov/react-core/DateInputContainer';
|
|
2
2
|
export * from '@digigov/react-core/DateInputItem';
|
|
3
|
-
import DateInput from '@digigov/react-core/
|
|
3
|
+
import DateInput from '@digigov/react-core/DateInputContainer';
|
|
4
4
|
export default DateInput;
|
package/core/DateInput/index.js
CHANGED
|
@@ -8,16 +8,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
var _exportNames = {};
|
|
9
9
|
exports["default"] = void 0;
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _DateInputContainer = _interopRequireWildcard(require("@digigov/react-core/DateInputContainer"));
|
|
12
12
|
|
|
13
|
-
Object.keys(
|
|
13
|
+
Object.keys(_DateInputContainer).forEach(function (key) {
|
|
14
14
|
if (key === "default" || key === "__esModule") return;
|
|
15
15
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
16
|
-
if (key in exports && exports[key] ===
|
|
16
|
+
if (key in exports && exports[key] === _DateInputContainer[key]) return;
|
|
17
17
|
Object.defineProperty(exports, key, {
|
|
18
18
|
enumerable: true,
|
|
19
19
|
get: function get() {
|
|
20
|
-
return
|
|
20
|
+
return _DateInputContainer[key];
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
23
|
});
|
|
@@ -40,5 +40,5 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
40
40
|
|
|
41
41
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
42
42
|
|
|
43
|
-
var _default =
|
|
43
|
+
var _default = _DateInputContainer["default"];
|
|
44
44
|
exports["default"] = _default;
|
package/core/DateInput/index.mdx
CHANGED
|
@@ -32,3 +32,8 @@ If you’re highlighting the whole date, style all the fields like this:
|
|
|
32
32
|
If you’re highlighting just one field - either the day, month or year - only style the field that has an error. The error message must say which field has an error, like this:
|
|
33
33
|
|
|
34
34
|
<Story packageName="@digigov/ui" component="core/DateInput" story="WithErrorMessageForSingleField.tsx" />
|
|
35
|
+
|
|
36
|
+
## API
|
|
37
|
+
|
|
38
|
+
<PropTypes packageName="@digigov/ui" component="DateInputContainer" />
|
|
39
|
+
<PropTypes packageName="@digigov/ui" component="DateInputItem" />
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
2
|
export const title: string;
|
|
3
|
+
export const description: string;
|
|
4
|
+
export const link: string;
|
|
3
5
|
export { Details as component };
|
|
6
|
+
export const displayName: string;
|
|
4
7
|
}
|
|
5
8
|
export default _default;
|
|
6
9
|
export * from "./__stories__/Default";
|
|
@@ -25,6 +25,9 @@ Object.keys(_Default).forEach(function (key) {
|
|
|
25
25
|
});
|
|
26
26
|
var _default = {
|
|
27
27
|
title: 'Digigov UI/core/Details',
|
|
28
|
-
|
|
28
|
+
description: 'Make a page easier to scan by letting users reveal more detailed information only if they need it.',
|
|
29
|
+
link: 'https://guide.services.gov.gr/docs/components/details',
|
|
30
|
+
component: _Details["default"],
|
|
31
|
+
displayName: 'Details'
|
|
29
32
|
};
|
|
30
33
|
exports["default"] = _default;
|
package/core/Details/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
export * from '@digigov/react-core/Details';
|
|
2
|
+
export * from '@digigov/react-core/DetailsContent';
|
|
3
|
+
export * from '@digigov/react-core/DetailsSummary';
|
|
1
4
|
import Details from '@digigov/react-core/Details';
|
|
2
|
-
import DetailsContent from '@digigov/react-core/DetailsContent';
|
|
3
|
-
import DetailsSummary from '@digigov/react-core/DetailsSummary';
|
|
4
|
-
export { Details, DetailsContent, DetailsSummary };
|
|
5
5
|
export default Details;
|