@digigov/ui 0.12.2 → 0.13.0
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 +8 -1
- package/{src/core/ServiceBadge/ServiceBadge.mdx → LICENSE} +0 -0
- package/api/APIErrors.d.ts +22 -0
- package/api/APIErrors.js +117 -0
- package/api/APIProvider.d.ts +15 -0
- package/api/APIProvider.js +43 -0
- package/api/fetchAPI.d.ts +18 -0
- package/api/fetchAPI.js +64 -0
- package/api/index.d.ts +9 -0
- package/api/index.js +104 -0
- package/api/index.spec.d.ts +1 -0
- package/api/index.spec.js +584 -0
- package/{src/api → api}/introduction.md +0 -0
- package/api/useResource.d.ts +11 -0
- package/api/useResource.js +144 -0
- package/api/useResourceAction.d.ts +2 -0
- package/api/useResourceAction.js +157 -0
- package/api/useResourceQuery.d.ts +18 -0
- package/api/useResourceQuery.js +229 -0
- package/api/utils.d.ts +6 -0
- package/api/utils.js +250 -0
- package/app/App.d.ts +14 -0
- package/app/App.js +49 -0
- package/{src/app/Confirmation/index.tsx → app/Confirmation/index.d.ts} +0 -0
- package/app/Confirmation/index.js +44 -0
- package/{src/app/Footer/index.tsx → app/Footer/index.d.ts} +0 -0
- package/app/Footer/index.js +200 -0
- package/app/Header/HeaderLogo.d.ts +3 -0
- package/app/Header/HeaderLogo.js +30 -0
- package/app/Header/HeaderSection.d.ts +5 -0
- package/app/Header/HeaderSection.js +20 -0
- package/app/Header/HeaderTitle.d.ts +5 -0
- package/app/Header/HeaderTitle.js +30 -0
- package/{src/app → app}/Header/__snapshots__/index.spec.tsx.snap +0 -0
- package/app/Header/index.d.ts +11 -0
- package/app/Header/index.js +106 -0
- package/{src/app → app}/Header/index.mdx +0 -0
- package/app/Header/index.spec.d.ts +1 -0
- package/app/Header/index.spec.js +45 -0
- package/app/NotFound/index.d.ts +3 -0
- package/app/NotFound/index.js +29 -0
- package/app/OutdatedBrowserBanner.d.ts +2 -0
- package/app/OutdatedBrowserBanner.js +41 -0
- package/app/PageTitle.d.ts +10 -0
- package/app/PageTitle.js +76 -0
- package/{src/app → app}/QrCodeScanner/__snapshots__/index.spec.tsx.snap +0 -0
- package/app/QrCodeScanner/index.d.ts +29 -0
- package/app/QrCodeScanner/index.js +85 -0
- package/{src/app → app}/QrCodeScanner/index.mdx +0 -0
- package/app/QrCodeScanner/index.spec.d.ts +1 -0
- package/app/QrCodeScanner/index.spec.js +26 -0
- package/app/i18n.d.ts +10 -0
- package/app/i18n.js +63 -0
- package/{src/app/index.ts → app/index.d.ts} +0 -0
- package/app/index.js +70 -0
- package/{src/core → core}/Accordion/__snapshots__/index.spec.tsx.snap +0 -0
- package/core/Accordion/index.d.ts +21 -0
- package/core/Accordion/index.js +127 -0
- package/{src/core → core}/Accordion/index.mdx +0 -0
- package/core/Accordion/index.spec.d.ts +1 -0
- package/core/Accordion/index.spec.js +19 -0
- package/{src/core → core}/Blockquote/__snapshots__/index.spec.tsx.snap +0 -0
- package/core/Blockquote/index.d.ts +3 -0
- package/core/Blockquote/index.js +29 -0
- package/{src/core → core}/Blockquote/index.mdx +0 -0
- package/core/Blockquote/index.spec.d.ts +1 -0
- package/core/Blockquote/index.spec.js +21 -0
- package/{src/core/Breadcrumbs/index.tsx → core/Breadcrumbs/index.d.ts} +0 -0
- package/core/Breadcrumbs/index.js +44 -0
- package/core/Button/BackButton.d.ts +3 -0
- package/core/Button/BackButton.js +34 -0
- package/core/Button/ButtonLink.d.ts +4 -0
- package/core/Button/ButtonLink.js +28 -0
- package/core/Button/CallToAction.d.ts +7 -0
- package/core/Button/CallToAction.js +41 -0
- package/core/Button/Icon.d.ts +2 -0
- package/core/Button/Icon.js +19 -0
- package/{src/core → core}/Button/__snapshots__/index.spec.tsx.snap +0 -0
- package/core/Button/index.d.ts +15 -0
- package/core/Button/index.js +122 -0
- package/{src/core → core}/Button/index.mdx +0 -0
- package/core/Button/index.spec.d.ts +1 -0
- package/core/Button/index.spec.js +21 -0
- package/{src/core/Card/index.tsx → core/Card/index.d.ts} +0 -0
- package/core/Card/index.js +57 -0
- package/{src/core → core}/Details/__snapshots__/index.spec.tsx.snap +0 -0
- package/{src/core/Details/index.tsx → core/Details/index.d.ts} +0 -2
- package/core/Details/index.js +35 -0
- package/{src/core → core}/Details/index.mdx +0 -0
- package/core/Details/index.spec.d.ts +1 -0
- package/core/Details/index.spec.js +27 -0
- package/core/Divider/index.d.ts +5 -0
- package/core/Divider/index.js +20 -0
- package/{src/core → core}/ErrorSummary/__snapshots__/index.spec.tsx.snap +0 -0
- package/{src/core/ErrorSummary/index.tsx → core/ErrorSummary/index.d.ts} +0 -1
- package/core/ErrorSummary/index.js +19 -0
- package/{src/core → core}/ErrorSummary/index.mdx +0 -0
- package/core/ErrorSummary/index.spec.d.ts +1 -0
- package/core/ErrorSummary/index.spec.js +21 -0
- package/{src/core/Hidden/index.tsx → core/Hidden/index.d.ts} +0 -0
- package/core/Hidden/index.js +18 -0
- package/{src/core → core}/Link/__snapshots__/index.spec.tsx.snap +0 -0
- package/core/Link/index.d.ts +12 -0
- package/core/Link/index.js +50 -0
- package/core/Link/index.spec.d.ts +1 -0
- package/core/Link/index.spec.js +31 -0
- package/{src/core/List/List.tsx → core/List/List.d.ts} +0 -2
- package/core/List/List.js +19 -0
- package/{src/core/List/ListItem.tsx → core/List/ListItem.d.ts} +0 -2
- package/core/List/ListItem.js +19 -0
- package/core/List/ListItemContent.d.ts +7 -0
- package/core/List/ListItemContent.js +45 -0
- package/core/List/ListItemIcon.d.ts +7 -0
- package/core/List/ListItemIcon.js +48 -0
- package/core/List/ListItemText.d.ts +8 -0
- package/core/List/ListItemText.js +36 -0
- package/core/List/ListItemTitle.d.ts +10 -0
- package/core/List/ListItemTitle.js +44 -0
- package/{src/core → core}/List/__snapshots__/index.spec.tsx.snap +0 -0
- package/{src/core/List/index.tsx → core/List/index.d.ts} +0 -0
- package/core/List/index.js +96 -0
- package/{src/core → core}/List/index.mdx +0 -0
- package/core/List/index.spec.d.ts +1 -0
- package/core/List/index.spec.js +21 -0
- package/core/NavList/NavList.d.ts +17 -0
- package/core/NavList/NavList.js +99 -0
- package/core/NavList/NavListContext.d.ts +20 -0
- package/core/NavList/NavListContext.js +102 -0
- package/core/NavList/NavListItem.d.ts +13 -0
- package/core/NavList/NavListItem.js +171 -0
- package/core/NavList/NavListItemBase.d.ts +16 -0
- package/core/NavList/NavListItemBase.js +161 -0
- package/core/NavList/NavListSubMenu.d.ts +8 -0
- package/core/NavList/NavListSubMenu.js +52 -0
- package/{src/core → core}/NavList/__snapshots__/index.spec.tsx.snap +0 -0
- package/{src/core/NavList/index.tsx → core/NavList/index.d.ts} +0 -0
- package/core/NavList/index.js +68 -0
- package/{src/core → core}/NavList/index.mdx +0 -0
- package/core/NavList/index.spec.d.ts +1 -0
- package/core/NavList/index.spec.js +21 -0
- package/{src/core → core}/NotificationBanner/__snapshots__/index.spec.tsx.snap +0 -0
- package/core/NotificationBanner/index.d.ts +18 -0
- package/core/NotificationBanner/index.js +78 -0
- package/{src/core → core}/NotificationBanner/index.mdx +0 -0
- package/core/NotificationBanner/index.spec.d.ts +1 -0
- package/core/NotificationBanner/index.spec.js +32 -0
- package/core/ServiceBadge/ServiceBadge.mdx +0 -0
- package/core/ServiceBadge/index.d.ts +9 -0
- package/core/ServiceBadge/index.js +36 -0
- package/{src/core → core}/ServiceBadge/index.mdx +0 -0
- package/{src/core → core}/SummaryList/__snapshots__/index.spec.tsx.snap +0 -0
- package/{src/core/SummaryList/index.tsx → core/SummaryList/index.d.ts} +0 -2
- package/core/SummaryList/index.js +79 -0
- package/{src/core → core}/SummaryList/index.mdx +0 -0
- package/core/SummaryList/index.spec.d.ts +1 -0
- package/core/SummaryList/index.spec.js +19 -0
- package/{src/core/Table/index.tsx → core/Table/index.d.ts} +0 -0
- package/core/Table/index.js +96 -0
- package/core/Tabs/index.d.ts +16 -0
- package/core/Tabs/index.js +88 -0
- package/{src/core → core}/Tabs/index.mdx +0 -0
- package/{src/core/VisuallyHidden/index.tsx → core/VisuallyHidden/index.d.ts} +0 -0
- package/core/VisuallyHidden/index.js +18 -0
- package/{src/core → core}/WarningText/__snapshots__/index.spec.tsx.snap +0 -0
- package/{src/core/WarningText/index.tsx → core/WarningText/index.d.ts} +0 -1
- package/core/WarningText/index.js +19 -0
- package/{src/core → core}/WarningText/index.mdx +0 -0
- package/core/WarningText/index.spec.d.ts +1 -0
- package/core/WarningText/index.spec.js +21 -0
- package/{src/core/index.ts → core/index.d.ts} +0 -0
- package/core/index.js +227 -0
- package/custom.d.js +1 -0
- package/es/api/APIErrors.js +96 -0
- package/es/api/APIProvider.js +25 -0
- package/es/api/fetchAPI.js +49 -0
- package/{src/api/index.tsx → es/api/index.js} +3 -6
- package/es/api/index.spec.js +546 -0
- package/es/api/introduction.md +6 -0
- package/es/api/useResource.js +128 -0
- package/es/api/useResourceAction.js +141 -0
- package/es/api/useResourceQuery.js +208 -0
- package/es/api/utils.js +233 -0
- package/es/app/App.js +27 -0
- package/es/app/Confirmation/index.js +3 -0
- package/es/app/Footer/index.js +15 -0
- package/{src/app/Header/HeaderLogo.tsx → es/app/Header/HeaderLogo.js} +7 -9
- package/es/app/Header/HeaderSection.js +7 -0
- package/es/app/Header/HeaderTitle.js +17 -0
- package/es/app/Header/__snapshots__/index.spec.tsx.snap +393 -0
- package/{src/app/Header/index.tsx → es/app/Header/index.js} +4 -10
- package/es/app/Header/index.mdx +50 -0
- package/es/app/Header/index.spec.js +32 -0
- package/es/app/NotFound/index.js +12 -0
- package/es/app/OutdatedBrowserBanner.js +24 -0
- package/es/app/PageTitle.js +57 -0
- package/es/app/QrCodeScanner/__snapshots__/index.spec.tsx.snap +22 -0
- package/es/app/QrCodeScanner/index.js +64 -0
- package/es/app/QrCodeScanner/index.mdx +22 -0
- package/es/app/QrCodeScanner/index.spec.js +13 -0
- package/es/app/i18n.js +42 -0
- package/es/app/index.js +5 -0
- package/es/core/Accordion/__snapshots__/index.spec.tsx.snap +78 -0
- package/es/core/Accordion/index.js +67 -0
- package/es/core/Accordion/index.mdx +104 -0
- package/es/core/Accordion/index.spec.js +9 -0
- package/es/core/Blockquote/__snapshots__/index.spec.tsx.snap +13 -0
- package/{src/core/Blockquote/index.tsx → es/core/Blockquote/index.js} +7 -9
- package/es/core/Blockquote/index.mdx +61 -0
- package/es/core/Blockquote/index.spec.js +9 -0
- package/es/core/Breadcrumbs/index.js +3 -0
- package/{src/core/Button/BackButton.tsx → es/core/Button/BackButton.js} +8 -10
- package/es/core/Button/ButtonLink.js +16 -0
- package/es/core/Button/CallToAction.js +27 -0
- package/es/core/Button/Icon.js +7 -0
- package/es/core/Button/__snapshots__/index.spec.tsx.snap +13 -0
- package/es/core/Button/index.js +37 -0
- package/es/core/Button/index.mdx +65 -0
- package/es/core/Button/index.spec.js +9 -0
- package/es/core/Card/index.js +4 -0
- package/es/core/Details/__snapshots__/index.spec.tsx.snap +50 -0
- package/es/core/Details/index.js +5 -0
- package/es/core/Details/index.mdx +34 -0
- package/es/core/Details/index.spec.js +17 -0
- package/es/core/Divider/index.js +7 -0
- package/es/core/ErrorSummary/__snapshots__/index.spec.tsx.snap +322 -0
- package/es/core/ErrorSummary/index.js +3 -0
- package/es/core/ErrorSummary/index.mdx +61 -0
- package/es/core/ErrorSummary/index.spec.js +9 -0
- package/es/core/Hidden/index.js +1 -0
- package/es/core/Link/__snapshots__/index.spec.tsx.snap +31 -0
- package/es/core/Link/index.js +26 -0
- package/es/core/Link/index.spec.js +21 -0
- package/es/core/List/List.js +3 -0
- package/es/core/List/ListItem.js +3 -0
- package/es/core/List/ListItemContent.js +27 -0
- package/es/core/List/ListItemIcon.js +29 -0
- package/es/core/List/ListItemText.js +19 -0
- package/es/core/List/ListItemTitle.js +25 -0
- package/es/core/List/__snapshots__/index.spec.tsx.snap +322 -0
- package/es/core/List/index.js +7 -0
- package/es/core/List/index.mdx +40 -0
- package/es/core/List/index.spec.js +9 -0
- package/es/core/NavList/NavList.js +78 -0
- package/es/core/NavList/NavListContext.js +80 -0
- package/es/core/NavList/NavListItem.js +141 -0
- package/es/core/NavList/NavListItemBase.js +133 -0
- package/es/core/NavList/NavListSubMenu.js +27 -0
- package/es/core/NavList/__snapshots__/index.spec.tsx.snap +334 -0
- package/es/core/NavList/index.js +5 -0
- package/es/core/NavList/index.mdx +185 -0
- package/es/core/NavList/index.spec.js +9 -0
- package/es/core/NotificationBanner/__snapshots__/index.spec.tsx.snap +737 -0
- package/es/core/NotificationBanner/index.js +35 -0
- package/es/core/NotificationBanner/index.mdx +77 -0
- package/es/core/NotificationBanner/index.spec.js +20 -0
- package/es/core/ServiceBadge/ServiceBadge.mdx +0 -0
- package/es/core/ServiceBadge/index.js +20 -0
- package/es/core/ServiceBadge/index.mdx +42 -0
- package/es/core/SummaryList/__snapshots__/index.spec.tsx.snap +57 -0
- package/es/core/SummaryList/index.js +7 -0
- package/es/core/SummaryList/index.mdx +82 -0
- package/es/core/SummaryList/index.spec.js +9 -0
- package/es/core/Table/index.js +7 -0
- package/es/core/Tabs/index.js +37 -0
- package/es/core/Tabs/index.mdx +54 -0
- package/es/core/VisuallyHidden/index.js +1 -0
- package/es/core/WarningText/__snapshots__/index.spec.tsx.snap +336 -0
- package/es/core/WarningText/index.js +3 -0
- package/es/core/WarningText/index.mdx +46 -0
- package/es/core/WarningText/index.spec.js +9 -0
- package/es/core/index.js +17 -0
- package/es/custom.d.js +0 -0
- package/{src → es}/form/inputs/Input/index.mdx +0 -0
- package/es/govgr/Footer/Copyright.js +37 -0
- package/es/govgr/Footer/HellenicRepublicLogo.js +3 -0
- package/es/govgr/Footer/LicenseCCSA.js +18 -0
- package/es/govgr/Footer/index.js +21 -0
- package/{src → es}/govgr/Footer/index.mdx +0 -0
- package/{src/govgr/Footer/logo.ts → es/govgr/Footer/logo.js} +1 -1
- package/{src/govgr/Footer/logos/logo-el.ts → es/govgr/Footer/logos/logo-el.js} +1 -1
- package/{src/govgr/Footer/logos/logo-en.ts → es/govgr/Footer/logos/logo-en.js} +1 -1
- package/{src → es}/govgr/Logo/govgr-logo.svg +0 -0
- package/es/govgr/Logo/index.js +3 -0
- package/{src/govgr/Logo/logo.ts → es/govgr/Logo/logo.js} +1 -1
- package/es/govgr/index.js +4 -0
- package/es/hooks/useDebounce.js +41 -0
- package/es/hooks/useLatest.js +12 -0
- package/{src/hooks/useOutdatedBrowserCheck.ts → es/hooks/useOutdatedBrowserCheck.js} +15 -16
- package/es/hooks/useSearch.js +25 -0
- package/es/hooks/useTogglableSections.js +96 -0
- package/es/index.js +5 -0
- package/es/layouts/Basic/Bottom/index.js +3 -0
- package/{src → es}/layouts/Basic/Bottom/index.mdx +0 -0
- package/es/layouts/Basic/Content/index.js +18 -0
- package/{src → es}/layouts/Basic/Content/index.mdx +0 -0
- package/es/layouts/Basic/Main/index.js +3 -0
- package/{src → es}/layouts/Basic/Main/index.mdx +0 -0
- package/es/layouts/Basic/Masthead/index.js +4 -0
- package/{src → es}/layouts/Basic/Masthead/index.mdx +0 -0
- package/{src/layouts/Basic/Side/index.tsx → es/layouts/Basic/Side/index.js} +3 -5
- package/{src → es}/layouts/Basic/Side/index.mdx +0 -0
- package/{src/layouts/Basic/Top/index.tsx → es/layouts/Basic/Top/index.js} +5 -7
- package/{src → es}/layouts/Basic/Top/index.mdx +0 -0
- package/{src → es}/layouts/Basic/__snapshots__/index.spec.tsx.snap +0 -0
- package/es/layouts/Basic/index.js +8 -0
- package/{src → es}/layouts/Basic/index.mdx +0 -0
- package/es/layouts/Basic/index.spec.js +10 -0
- package/es/layouts/Grid/index.js +1 -0
- package/es/layouts/index.js +2 -0
- package/{src/locales/el.ts → es/locales/el.js} +14 -19
- package/{src/locales/en.ts → es/locales/en.js} +13 -17
- package/es/router/index.js +15 -0
- package/{src → es}/router/index.mdx +0 -0
- package/es/test-utils/delay.js +31 -0
- package/es/test-utils/mountWithTheme.js +30 -0
- package/{src → es}/themes/govgr.js +29 -33
- package/es/themes/grnet.js +110 -0
- package/es/themes/index.js +2 -0
- package/es/typography/Caption.js +7 -0
- package/es/typography/NormalText.js +3 -0
- package/es/typography/Paragraph.js +2 -0
- package/es/typography/Title.js +48 -0
- package/es/typography/index.js +8 -0
- package/{src → es}/typography/index.mdx +0 -0
- package/es/utils/evaluateBrowserVersion.js +201 -0
- package/es/utils/withDeprecation.js +103 -0
- package/esm/api/APIErrors.js +96 -0
- package/esm/api/APIProvider.js +25 -0
- package/esm/api/fetchAPI.js +49 -0
- package/esm/api/index.js +13 -0
- package/esm/api/index.spec.js +546 -0
- package/esm/api/introduction.md +6 -0
- package/esm/api/useResource.js +128 -0
- package/esm/api/useResourceAction.js +141 -0
- package/esm/api/useResourceQuery.js +208 -0
- package/esm/api/utils.js +233 -0
- package/esm/app/App.js +27 -0
- package/esm/app/Confirmation/index.js +3 -0
- package/esm/app/Footer/index.js +15 -0
- package/esm/app/Header/HeaderLogo.js +17 -0
- package/esm/app/Header/HeaderSection.js +7 -0
- package/esm/app/Header/HeaderTitle.js +17 -0
- package/esm/app/Header/__snapshots__/index.spec.tsx.snap +393 -0
- package/esm/app/Header/index.js +13 -0
- package/esm/app/Header/index.mdx +50 -0
- package/esm/app/Header/index.spec.js +32 -0
- package/esm/app/NotFound/index.js +12 -0
- package/esm/app/OutdatedBrowserBanner.js +24 -0
- package/esm/app/PageTitle.js +57 -0
- package/esm/app/QrCodeScanner/__snapshots__/index.spec.tsx.snap +22 -0
- package/esm/app/QrCodeScanner/index.js +64 -0
- package/esm/app/QrCodeScanner/index.mdx +22 -0
- package/esm/app/QrCodeScanner/index.spec.js +13 -0
- package/esm/app/i18n.js +42 -0
- package/esm/app/index.js +5 -0
- package/esm/core/Accordion/__snapshots__/index.spec.tsx.snap +78 -0
- package/esm/core/Accordion/index.js +67 -0
- package/esm/core/Accordion/index.mdx +104 -0
- package/esm/core/Accordion/index.spec.js +9 -0
- package/esm/core/Blockquote/__snapshots__/index.spec.tsx.snap +13 -0
- package/esm/core/Blockquote/index.js +16 -0
- package/esm/core/Blockquote/index.mdx +61 -0
- package/esm/core/Blockquote/index.spec.js +9 -0
- package/esm/core/Breadcrumbs/index.js +3 -0
- package/esm/core/Button/BackButton.js +21 -0
- package/esm/core/Button/ButtonLink.js +16 -0
- package/esm/core/Button/CallToAction.js +27 -0
- package/esm/core/Button/Icon.js +7 -0
- package/esm/core/Button/__snapshots__/index.spec.tsx.snap +13 -0
- package/esm/core/Button/index.js +37 -0
- package/esm/core/Button/index.mdx +65 -0
- package/esm/core/Button/index.spec.js +9 -0
- package/esm/core/Card/index.js +4 -0
- package/esm/core/Details/__snapshots__/index.spec.tsx.snap +50 -0
- package/esm/core/Details/index.js +5 -0
- package/esm/core/Details/index.mdx +34 -0
- package/esm/core/Details/index.spec.js +17 -0
- package/esm/core/Divider/index.js +7 -0
- package/esm/core/ErrorSummary/__snapshots__/index.spec.tsx.snap +322 -0
- package/esm/core/ErrorSummary/index.js +3 -0
- package/esm/core/ErrorSummary/index.mdx +61 -0
- package/esm/core/ErrorSummary/index.spec.js +9 -0
- package/esm/core/Hidden/index.js +1 -0
- package/esm/core/Link/__snapshots__/index.spec.tsx.snap +31 -0
- package/esm/core/Link/index.js +26 -0
- package/esm/core/Link/index.spec.js +21 -0
- package/esm/core/List/List.js +3 -0
- package/esm/core/List/ListItem.js +3 -0
- package/esm/core/List/ListItemContent.js +27 -0
- package/esm/core/List/ListItemIcon.js +29 -0
- package/esm/core/List/ListItemText.js +19 -0
- package/esm/core/List/ListItemTitle.js +25 -0
- package/esm/core/List/__snapshots__/index.spec.tsx.snap +322 -0
- package/esm/core/List/index.js +7 -0
- package/esm/core/List/index.mdx +40 -0
- package/esm/core/List/index.spec.js +9 -0
- package/esm/core/NavList/NavList.js +78 -0
- package/esm/core/NavList/NavListContext.js +80 -0
- package/esm/core/NavList/NavListItem.js +141 -0
- package/esm/core/NavList/NavListItemBase.js +133 -0
- package/esm/core/NavList/NavListSubMenu.js +27 -0
- package/esm/core/NavList/__snapshots__/index.spec.tsx.snap +334 -0
- package/esm/core/NavList/index.js +5 -0
- package/esm/core/NavList/index.mdx +185 -0
- package/esm/core/NavList/index.spec.js +9 -0
- package/esm/core/NotificationBanner/__snapshots__/index.spec.tsx.snap +737 -0
- package/esm/core/NotificationBanner/index.js +35 -0
- package/esm/core/NotificationBanner/index.mdx +77 -0
- package/esm/core/NotificationBanner/index.spec.js +20 -0
- package/esm/core/ServiceBadge/ServiceBadge.mdx +0 -0
- package/esm/core/ServiceBadge/index.js +20 -0
- package/esm/core/ServiceBadge/index.mdx +42 -0
- package/esm/core/SummaryList/__snapshots__/index.spec.tsx.snap +57 -0
- package/esm/core/SummaryList/index.js +7 -0
- package/esm/core/SummaryList/index.mdx +82 -0
- package/esm/core/SummaryList/index.spec.js +9 -0
- package/esm/core/Table/index.js +7 -0
- package/esm/core/Tabs/index.js +37 -0
- package/esm/core/Tabs/index.mdx +54 -0
- package/esm/core/VisuallyHidden/index.js +1 -0
- package/esm/core/WarningText/__snapshots__/index.spec.tsx.snap +336 -0
- package/esm/core/WarningText/index.js +3 -0
- package/esm/core/WarningText/index.mdx +46 -0
- package/esm/core/WarningText/index.spec.js +9 -0
- package/esm/core/index.js +17 -0
- package/esm/custom.d.js +0 -0
- package/esm/form/inputs/Input/index.mdx +10 -0
- package/esm/govgr/Footer/Copyright.js +37 -0
- package/esm/govgr/Footer/HellenicRepublicLogo.js +3 -0
- package/esm/govgr/Footer/LicenseCCSA.js +18 -0
- package/esm/govgr/Footer/index.js +21 -0
- package/esm/govgr/Footer/index.mdx +97 -0
- package/esm/govgr/Footer/logo.js +1 -0
- package/esm/govgr/Footer/logos/logo-el.js +1 -0
- package/esm/govgr/Footer/logos/logo-en.js +1 -0
- package/esm/govgr/Logo/govgr-logo.svg +1 -0
- package/esm/govgr/Logo/index.js +3 -0
- package/esm/govgr/Logo/logo.js +1 -0
- package/esm/govgr/index.js +4 -0
- package/esm/hooks/useDebounce.js +41 -0
- package/esm/hooks/useLatest.js +12 -0
- package/esm/hooks/useOutdatedBrowserCheck.js +46 -0
- package/esm/hooks/useSearch.js +25 -0
- package/esm/hooks/useTogglableSections.js +96 -0
- package/esm/index.js +10 -0
- package/esm/layouts/Basic/Bottom/index.js +3 -0
- package/esm/layouts/Basic/Bottom/index.mdx +37 -0
- package/esm/layouts/Basic/Content/index.js +18 -0
- package/esm/layouts/Basic/Content/index.mdx +64 -0
- package/esm/layouts/Basic/Main/index.js +3 -0
- package/esm/layouts/Basic/Main/index.mdx +64 -0
- package/esm/layouts/Basic/Masthead/index.js +4 -0
- package/esm/layouts/Basic/Masthead/index.mdx +74 -0
- package/esm/layouts/Basic/Side/index.js +7 -0
- package/esm/layouts/Basic/Side/index.mdx +71 -0
- package/esm/layouts/Basic/Top/index.js +11 -0
- package/esm/layouts/Basic/Top/index.mdx +74 -0
- package/esm/layouts/Basic/__snapshots__/index.spec.tsx.snap +54 -0
- package/esm/layouts/Basic/index.js +8 -0
- package/esm/layouts/Basic/index.mdx +62 -0
- package/esm/layouts/Basic/index.spec.js +10 -0
- package/esm/layouts/Grid/index.js +1 -0
- package/esm/layouts/index.js +2 -0
- package/esm/locales/el.js +55 -0
- package/esm/locales/en.js +55 -0
- package/esm/router/index.js +15 -0
- package/esm/router/index.mdx +40 -0
- package/esm/test-utils/delay.js +31 -0
- package/esm/test-utils/mountWithTheme.js +30 -0
- package/esm/themes/govgr.js +79 -0
- package/esm/themes/grnet.js +110 -0
- package/esm/themes/index.js +2 -0
- package/esm/typography/Caption.js +7 -0
- package/esm/typography/NormalText.js +3 -0
- package/esm/typography/Paragraph.js +2 -0
- package/esm/typography/Title.js +48 -0
- package/esm/typography/index.js +8 -0
- package/esm/typography/index.mdx +32 -0
- package/esm/utils/evaluateBrowserVersion.js +201 -0
- package/esm/utils/withDeprecation.js +103 -0
- package/form/inputs/Input/index.mdx +10 -0
- package/govgr/Footer/Copyright.d.ts +8 -0
- package/govgr/Footer/Copyright.js +52 -0
- package/{src/govgr/Footer/HellenicRepublicLogo.tsx → govgr/Footer/HellenicRepublicLogo.d.ts} +0 -1
- package/govgr/Footer/HellenicRepublicLogo.js +19 -0
- package/govgr/Footer/LicenseCCSA.d.ts +3 -0
- package/govgr/Footer/LicenseCCSA.js +33 -0
- package/govgr/Footer/index.d.ts +13 -0
- package/govgr/Footer/index.js +39 -0
- package/govgr/Footer/index.mdx +97 -0
- package/govgr/Footer/logo.d.ts +2 -0
- package/govgr/Footer/logo.js +8 -0
- package/govgr/Footer/logos/logo-el.d.ts +2 -0
- package/govgr/Footer/logos/logo-el.js +8 -0
- package/govgr/Footer/logos/logo-en.d.ts +2 -0
- package/govgr/Footer/logos/logo-en.js +8 -0
- package/govgr/Logo/govgr-logo.svg +1 -0
- package/{src/govgr/Logo/index.tsx → govgr/Logo/index.d.ts} +0 -2
- package/govgr/Logo/index.js +19 -0
- package/govgr/Logo/logo.d.ts +2 -0
- package/govgr/Logo/logo.js +8 -0
- package/{src/govgr/index.ts → govgr/index.d.ts} +0 -0
- package/govgr/index.js +57 -0
- package/hooks/useDebounce.d.ts +3 -0
- package/hooks/useDebounce.js +63 -0
- package/hooks/useLatest.d.ts +3 -0
- package/hooks/useLatest.js +26 -0
- package/hooks/useOutdatedBrowserCheck.d.ts +2 -0
- package/hooks/useOutdatedBrowserCheck.js +60 -0
- package/hooks/useSearch.d.ts +4 -0
- package/hooks/useSearch.js +40 -0
- package/hooks/useTogglableSections.d.ts +18 -0
- package/hooks/useTogglableSections.js +108 -0
- package/{src/index.ts → index.d.ts} +0 -0
- package/index.js +70 -0
- package/{src/layouts/Basic/Bottom/index.tsx → layouts/Basic/Bottom/index.d.ts} +0 -1
- package/layouts/Basic/Bottom/index.js +19 -0
- package/layouts/Basic/Bottom/index.mdx +37 -0
- package/layouts/Basic/Content/index.d.ts +5 -0
- package/layouts/Basic/Content/index.js +31 -0
- package/layouts/Basic/Content/index.mdx +64 -0
- package/{src/layouts/Basic/Main/index.tsx → layouts/Basic/Main/index.d.ts} +0 -1
- package/layouts/Basic/Main/index.js +19 -0
- package/layouts/Basic/Main/index.mdx +64 -0
- package/{src/layouts/Basic/Masthead/index.tsx → layouts/Basic/Masthead/index.d.ts} +0 -2
- package/layouts/Basic/Masthead/index.js +27 -0
- package/layouts/Basic/Masthead/index.mdx +74 -0
- package/layouts/Basic/Side/index.d.ts +3 -0
- package/layouts/Basic/Side/index.js +20 -0
- package/layouts/Basic/Side/index.mdx +71 -0
- package/layouts/Basic/Top/index.d.ts +3 -0
- package/layouts/Basic/Top/index.js +24 -0
- package/layouts/Basic/Top/index.mdx +74 -0
- package/layouts/Basic/__snapshots__/index.spec.tsx.snap +54 -0
- package/{src/layouts/Basic/index.tsx → layouts/Basic/index.d.ts} +0 -2
- package/layouts/Basic/index.js +97 -0
- package/layouts/Basic/index.mdx +62 -0
- package/layouts/Basic/index.spec.d.ts +1 -0
- package/layouts/Basic/index.spec.js +20 -0
- package/{src/layouts/Grid/index.tsx → layouts/Grid/index.d.ts} +0 -0
- package/layouts/Grid/index.js +18 -0
- package/{src/layouts/index.ts → layouts/index.d.ts} +0 -0
- package/layouts/index.js +34 -0
- package/locales/el.d.ts +56 -0
- package/locales/el.js +62 -0
- package/locales/en.d.ts +56 -0
- package/locales/en.js +62 -0
- package/package.json +8 -31
- package/router/index.d.ts +9 -0
- package/router/index.js +37 -0
- package/router/index.mdx +40 -0
- package/test-utils/delay.d.ts +2 -0
- package/test-utils/delay.js +45 -0
- package/test-utils/mountWithTheme.d.ts +3 -0
- package/test-utils/mountWithTheme.js +43 -0
- package/themes/govgr.d.ts +3 -0
- package/themes/govgr.js +89 -0
- package/themes/grnet.d.ts +2 -0
- package/themes/grnet.js +128 -0
- package/themes/index.d.ts +32 -0
- package/themes/index.js +19 -0
- package/typography/Caption.d.ts +7 -0
- package/typography/Caption.js +20 -0
- package/typography/NormalText.d.ts +5 -0
- package/typography/NormalText.js +19 -0
- package/typography/Paragraph.d.ts +6 -0
- package/typography/Paragraph.js +13 -0
- package/typography/Title.d.ts +9 -0
- package/typography/Title.js +63 -0
- package/{src/typography/index.ts → typography/index.d.ts} +0 -0
- package/typography/index.js +97 -0
- package/typography/index.mdx +32 -0
- package/utils/evaluateBrowserVersion.d.ts +15 -0
- package/utils/evaluateBrowserVersion.js +216 -0
- package/utils/withDeprecation.d.ts +16 -0
- package/utils/withDeprecation.js +116 -0
- package/.eslintrc.js +0 -4
- package/.prettierrc.js +0 -3
- package/.rush/temp/package-deps_build.json +0 -176
- package/.rush/temp/shrinkwrap-deps.json +0 -278
- package/CHANGELOG.json +0 -796
- package/docs/components.mdx +0 -1
- package/docs/create-a-new-service.mdx +0 -93
- package/docs/create-common-page-layout.mdx +0 -205
- package/docs/create-static-page.mdx +0 -179
- package/docs/edit-start-page.mdx +0 -143
- package/docs/index.mdx +0 -66
- package/docs/introduction.mdx +0 -34
- package/src/api/APIErrors.tsx +0 -44
- package/src/api/APIProvider.tsx +0 -27
- package/src/api/fetchAPI.ts +0 -45
- package/src/api/index.spec.tsx +0 -419
- package/src/api/useResource.tsx +0 -96
- package/src/api/useResourceAction.tsx +0 -80
- package/src/api/useResourceQuery.tsx +0 -177
- package/src/api/utils.tsx +0 -156
- package/src/app/App.tsx +0 -33
- package/src/app/Header/HeaderSection.tsx +0 -13
- package/src/app/Header/HeaderTitle.tsx +0 -24
- package/src/app/Header/index.spec.tsx +0 -32
- package/src/app/NotFound/index.tsx +0 -21
- package/src/app/OutdatedBrowserBanner.tsx +0 -37
- package/src/app/PageTitle.tsx +0 -70
- package/src/app/QrCodeScanner/index.spec.tsx +0 -19
- package/src/app/QrCodeScanner/index.tsx +0 -90
- package/src/app/i18n.tsx +0 -44
- package/src/core/Accordion/index.spec.tsx +0 -30
- package/src/core/Accordion/index.tsx +0 -86
- package/src/core/Blockquote/index.spec.tsx +0 -10
- package/src/core/Button/ButtonLink.tsx +0 -20
- package/src/core/Button/CallToAction.tsx +0 -31
- package/src/core/Button/Icon.tsx +0 -9
- package/src/core/Button/index.spec.tsx +0 -8
- package/src/core/Button/index.tsx +0 -46
- package/src/core/Details/index.spec.tsx +0 -38
- package/src/core/Divider/index.tsx +0 -13
- package/src/core/ErrorSummary/index.spec.tsx +0 -10
- package/src/core/Link/index.spec.tsx +0 -22
- package/src/core/Link/index.tsx +0 -41
- package/src/core/List/ListItemContent.tsx +0 -32
- package/src/core/List/ListItemIcon.tsx +0 -31
- package/src/core/List/ListItemText.tsx +0 -23
- package/src/core/List/ListItemTitle.tsx +0 -37
- package/src/core/List/index.spec.tsx +0 -10
- package/src/core/NavList/NavList.tsx +0 -103
- package/src/core/NavList/NavListContext.tsx +0 -85
- package/src/core/NavList/NavListItem.tsx +0 -143
- package/src/core/NavList/NavListItemBase.tsx +0 -146
- package/src/core/NavList/NavListSubMenu.tsx +0 -33
- package/src/core/NavList/index.spec.tsx +0 -10
- package/src/core/NotificationBanner/index.spec.tsx +0 -27
- package/src/core/NotificationBanner/index.tsx +0 -52
- package/src/core/ServiceBadge/index.tsx +0 -35
- package/src/core/SummaryList/index.spec.tsx +0 -28
- package/src/core/Tabs/index.tsx +0 -36
- package/src/core/WarningText/index.spec.tsx +0 -10
- package/src/custom.d.ts +0 -8
- package/src/govgr/Footer/Copyright.tsx +0 -64
- package/src/govgr/Footer/LicenseCCSA.tsx +0 -24
- package/src/govgr/Footer/index.tsx +0 -49
- package/src/hooks/useDebounce.ts +0 -50
- package/src/hooks/useLatest.ts +0 -12
- package/src/hooks/useSearch.ts +0 -47
- package/src/hooks/useTogglableSections.tsx +0 -102
- package/src/layouts/Basic/Content/index.tsx +0 -24
- package/src/layouts/Basic/index.spec.tsx +0 -24
- package/src/router/index.tsx +0 -28
- package/src/test-utils/delay.ts +0 -9
- package/src/test-utils/mountWithTheme.tsx +0 -33
- package/src/themes/grnet.js +0 -109
- package/src/themes/index.tsx +0 -38
- package/src/typography/Caption.tsx +0 -15
- package/src/typography/NormalText.tsx +0 -7
- package/src/typography/Paragraph.tsx +0 -9
- package/src/typography/Title.tsx +0 -51
- package/src/utils/evaluateBrowserVersion.ts +0 -346
- package/src/utils/withDeprecation.tsx +0 -97
- package/tsconfig.json +0 -18
- package/tsconfig.production.json +0 -27
- package/ui.build.log +0 -17
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`renders the WarningText with sample data 1`] = `
|
|
4
|
+
<ThemeProvider
|
|
5
|
+
theme={
|
|
6
|
+
Object {
|
|
7
|
+
"breakpoints": Object {
|
|
8
|
+
"between": [Function],
|
|
9
|
+
"down": [Function],
|
|
10
|
+
"keys": Array [
|
|
11
|
+
"xs",
|
|
12
|
+
"sm",
|
|
13
|
+
"md",
|
|
14
|
+
"lg",
|
|
15
|
+
"xl",
|
|
16
|
+
],
|
|
17
|
+
"only": [Function],
|
|
18
|
+
"up": [Function],
|
|
19
|
+
"values": Object {
|
|
20
|
+
"lg": 1280,
|
|
21
|
+
"md": 960,
|
|
22
|
+
"sm": 600,
|
|
23
|
+
"xl": 1920,
|
|
24
|
+
"xs": 0,
|
|
25
|
+
},
|
|
26
|
+
"width": [Function],
|
|
27
|
+
},
|
|
28
|
+
"direction": "ltr",
|
|
29
|
+
"footer": Object {
|
|
30
|
+
"contrastText": "",
|
|
31
|
+
"link": "",
|
|
32
|
+
"main": "",
|
|
33
|
+
},
|
|
34
|
+
"header": Object {
|
|
35
|
+
"border": Object {
|
|
36
|
+
"background": "",
|
|
37
|
+
"height": "",
|
|
38
|
+
"width": "",
|
|
39
|
+
},
|
|
40
|
+
"height": "",
|
|
41
|
+
"logo": Object {
|
|
42
|
+
"component": "",
|
|
43
|
+
"height": "",
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
"mixins": Object {
|
|
47
|
+
"gutters": [Function],
|
|
48
|
+
"toolbar": Object {
|
|
49
|
+
"@media (min-width:0px) and (orientation: landscape)": Object {
|
|
50
|
+
"minHeight": 48,
|
|
51
|
+
},
|
|
52
|
+
"@media (min-width:600px)": Object {
|
|
53
|
+
"minHeight": 64,
|
|
54
|
+
},
|
|
55
|
+
"minHeight": 56,
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
"overrides": Object {},
|
|
59
|
+
"palette": Object {
|
|
60
|
+
"action": Object {
|
|
61
|
+
"activatedOpacity": 0.12,
|
|
62
|
+
"active": "rgba(0, 0, 0, 0.54)",
|
|
63
|
+
"disabled": "rgba(0, 0, 0, 0.26)",
|
|
64
|
+
"disabledBackground": "rgba(0, 0, 0, 0.12)",
|
|
65
|
+
"disabledOpacity": 0.38,
|
|
66
|
+
"focus": "rgba(0, 0, 0, 0.12)",
|
|
67
|
+
"focusOpacity": 0.12,
|
|
68
|
+
"hover": "rgba(0, 0, 0, 0.04)",
|
|
69
|
+
"hoverOpacity": 0.04,
|
|
70
|
+
"selected": "rgba(0, 0, 0, 0.08)",
|
|
71
|
+
"selectedOpacity": 0.08,
|
|
72
|
+
},
|
|
73
|
+
"augmentColor": [Function],
|
|
74
|
+
"background": Object {
|
|
75
|
+
"default": "#fafafa",
|
|
76
|
+
"paper": "#fff",
|
|
77
|
+
},
|
|
78
|
+
"common": Object {
|
|
79
|
+
"black": "#000",
|
|
80
|
+
"white": "#fff",
|
|
81
|
+
},
|
|
82
|
+
"contrastThreshold": 3,
|
|
83
|
+
"divider": "rgba(0, 0, 0, 0.12)",
|
|
84
|
+
"error": Object {
|
|
85
|
+
"contrastText": "#fff",
|
|
86
|
+
"dark": "#d32f2f",
|
|
87
|
+
"light": "#e57373",
|
|
88
|
+
"main": "#f44336",
|
|
89
|
+
},
|
|
90
|
+
"getContrastText": [Function],
|
|
91
|
+
"grey": Object {
|
|
92
|
+
"100": "#f5f5f5",
|
|
93
|
+
"200": "#eeeeee",
|
|
94
|
+
"300": "#e0e0e0",
|
|
95
|
+
"400": "#bdbdbd",
|
|
96
|
+
"50": "#fafafa",
|
|
97
|
+
"500": "#9e9e9e",
|
|
98
|
+
"600": "#757575",
|
|
99
|
+
"700": "#616161",
|
|
100
|
+
"800": "#424242",
|
|
101
|
+
"900": "#212121",
|
|
102
|
+
"A100": "#d5d5d5",
|
|
103
|
+
"A200": "#aaaaaa",
|
|
104
|
+
"A400": "#303030",
|
|
105
|
+
"A700": "#616161",
|
|
106
|
+
},
|
|
107
|
+
"info": Object {
|
|
108
|
+
"contrastText": "#fff",
|
|
109
|
+
"dark": "#1976d2",
|
|
110
|
+
"light": "#64b5f6",
|
|
111
|
+
"main": "#2196f3",
|
|
112
|
+
},
|
|
113
|
+
"primary": Object {
|
|
114
|
+
"contrastText": "#fff",
|
|
115
|
+
"dark": "#303f9f",
|
|
116
|
+
"light": "#7986cb",
|
|
117
|
+
"main": "#3f51b5",
|
|
118
|
+
},
|
|
119
|
+
"secondary": Object {
|
|
120
|
+
"contrastText": "#fff",
|
|
121
|
+
"dark": "#c51162",
|
|
122
|
+
"light": "#ff4081",
|
|
123
|
+
"main": "#f50057",
|
|
124
|
+
},
|
|
125
|
+
"success": Object {
|
|
126
|
+
"contrastText": "rgba(0, 0, 0, 0.87)",
|
|
127
|
+
"dark": "#388e3c",
|
|
128
|
+
"light": "#81c784",
|
|
129
|
+
"main": "#4caf50",
|
|
130
|
+
},
|
|
131
|
+
"text": Object {
|
|
132
|
+
"disabled": "rgba(0, 0, 0, 0.38)",
|
|
133
|
+
"hint": "rgba(0, 0, 0, 0.38)",
|
|
134
|
+
"primary": "rgba(0, 0, 0, 0.87)",
|
|
135
|
+
"secondary": "rgba(0, 0, 0, 0.54)",
|
|
136
|
+
},
|
|
137
|
+
"tonalOffset": 0.2,
|
|
138
|
+
"type": "light",
|
|
139
|
+
"warning": Object {
|
|
140
|
+
"contrastText": "rgba(0, 0, 0, 0.87)",
|
|
141
|
+
"dark": "#f57c00",
|
|
142
|
+
"light": "#ffb74d",
|
|
143
|
+
"main": "#ff9800",
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
"props": Object {},
|
|
147
|
+
"shadows": Array [
|
|
148
|
+
"none",
|
|
149
|
+
"0px 2px 1px -1px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 1px 3px 0px rgba(0,0,0,0.12)",
|
|
150
|
+
"0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12)",
|
|
151
|
+
"0px 3px 3px -2px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 1px 8px 0px rgba(0,0,0,0.12)",
|
|
152
|
+
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
|
|
153
|
+
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
|
|
154
|
+
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
|
|
155
|
+
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
|
|
156
|
+
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
|
|
157
|
+
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
|
|
158
|
+
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
|
|
159
|
+
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
|
|
160
|
+
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
|
|
161
|
+
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
|
|
162
|
+
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
|
|
163
|
+
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
|
|
164
|
+
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
|
|
165
|
+
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
|
|
166
|
+
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
|
|
167
|
+
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
|
|
168
|
+
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
|
|
169
|
+
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
|
|
170
|
+
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
|
|
171
|
+
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
|
|
172
|
+
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
|
|
173
|
+
],
|
|
174
|
+
"shape": Object {
|
|
175
|
+
"borderRadius": 4,
|
|
176
|
+
},
|
|
177
|
+
"spacing": [Function],
|
|
178
|
+
"transitions": Object {
|
|
179
|
+
"create": [Function],
|
|
180
|
+
"duration": Object {
|
|
181
|
+
"complex": 375,
|
|
182
|
+
"enteringScreen": 225,
|
|
183
|
+
"leavingScreen": 195,
|
|
184
|
+
"short": 250,
|
|
185
|
+
"shorter": 200,
|
|
186
|
+
"shortest": 150,
|
|
187
|
+
"standard": 300,
|
|
188
|
+
},
|
|
189
|
+
"easing": Object {
|
|
190
|
+
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
|
|
191
|
+
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
192
|
+
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
|
|
193
|
+
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
|
|
194
|
+
},
|
|
195
|
+
"getAutoHeightDuration": [Function],
|
|
196
|
+
},
|
|
197
|
+
"typography": Object {
|
|
198
|
+
"body1": Object {
|
|
199
|
+
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
|
|
200
|
+
"fontSize": "1rem",
|
|
201
|
+
"fontWeight": 400,
|
|
202
|
+
"letterSpacing": "0.00938em",
|
|
203
|
+
"lineHeight": 1.5,
|
|
204
|
+
},
|
|
205
|
+
"body2": Object {
|
|
206
|
+
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
|
|
207
|
+
"fontSize": "0.875rem",
|
|
208
|
+
"fontWeight": 400,
|
|
209
|
+
"letterSpacing": "0.01071em",
|
|
210
|
+
"lineHeight": 1.43,
|
|
211
|
+
},
|
|
212
|
+
"button": Object {
|
|
213
|
+
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
|
|
214
|
+
"fontSize": "0.875rem",
|
|
215
|
+
"fontWeight": 500,
|
|
216
|
+
"letterSpacing": "0.02857em",
|
|
217
|
+
"lineHeight": 1.75,
|
|
218
|
+
"textTransform": "uppercase",
|
|
219
|
+
},
|
|
220
|
+
"caption": Object {
|
|
221
|
+
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
|
|
222
|
+
"fontSize": "0.75rem",
|
|
223
|
+
"fontWeight": 400,
|
|
224
|
+
"letterSpacing": "0.03333em",
|
|
225
|
+
"lineHeight": 1.66,
|
|
226
|
+
},
|
|
227
|
+
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
|
|
228
|
+
"fontSize": 14,
|
|
229
|
+
"fontWeightBold": 700,
|
|
230
|
+
"fontWeightLight": 300,
|
|
231
|
+
"fontWeightMedium": 500,
|
|
232
|
+
"fontWeightRegular": 400,
|
|
233
|
+
"h1": Object {
|
|
234
|
+
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
|
|
235
|
+
"fontSize": "6rem",
|
|
236
|
+
"fontWeight": 300,
|
|
237
|
+
"letterSpacing": "-0.01562em",
|
|
238
|
+
"lineHeight": 1.167,
|
|
239
|
+
},
|
|
240
|
+
"h2": Object {
|
|
241
|
+
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
|
|
242
|
+
"fontSize": "3.75rem",
|
|
243
|
+
"fontWeight": 300,
|
|
244
|
+
"letterSpacing": "-0.00833em",
|
|
245
|
+
"lineHeight": 1.2,
|
|
246
|
+
},
|
|
247
|
+
"h3": Object {
|
|
248
|
+
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
|
|
249
|
+
"fontSize": "3rem",
|
|
250
|
+
"fontWeight": 400,
|
|
251
|
+
"letterSpacing": "0em",
|
|
252
|
+
"lineHeight": 1.167,
|
|
253
|
+
},
|
|
254
|
+
"h4": Object {
|
|
255
|
+
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
|
|
256
|
+
"fontSize": "2.125rem",
|
|
257
|
+
"fontWeight": 400,
|
|
258
|
+
"letterSpacing": "0.00735em",
|
|
259
|
+
"lineHeight": 1.235,
|
|
260
|
+
},
|
|
261
|
+
"h5": Object {
|
|
262
|
+
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
|
|
263
|
+
"fontSize": "1.5rem",
|
|
264
|
+
"fontWeight": 400,
|
|
265
|
+
"letterSpacing": "0em",
|
|
266
|
+
"lineHeight": 1.334,
|
|
267
|
+
},
|
|
268
|
+
"h6": Object {
|
|
269
|
+
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
|
|
270
|
+
"fontSize": "1.25rem",
|
|
271
|
+
"fontWeight": 500,
|
|
272
|
+
"letterSpacing": "0.0075em",
|
|
273
|
+
"lineHeight": 1.6,
|
|
274
|
+
},
|
|
275
|
+
"htmlFontSize": 16,
|
|
276
|
+
"overline": Object {
|
|
277
|
+
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
|
|
278
|
+
"fontSize": "0.75rem",
|
|
279
|
+
"fontWeight": 400,
|
|
280
|
+
"letterSpacing": "0.08333em",
|
|
281
|
+
"lineHeight": 2.66,
|
|
282
|
+
"textTransform": "uppercase",
|
|
283
|
+
},
|
|
284
|
+
"pxToRem": [Function],
|
|
285
|
+
"round": [Function],
|
|
286
|
+
"subtitle1": Object {
|
|
287
|
+
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
|
|
288
|
+
"fontSize": "1rem",
|
|
289
|
+
"fontWeight": 400,
|
|
290
|
+
"letterSpacing": "0.00938em",
|
|
291
|
+
"lineHeight": 1.75,
|
|
292
|
+
},
|
|
293
|
+
"subtitle2": Object {
|
|
294
|
+
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
|
|
295
|
+
"fontSize": "0.875rem",
|
|
296
|
+
"fontWeight": 500,
|
|
297
|
+
"letterSpacing": "0.00714em",
|
|
298
|
+
"lineHeight": 1.57,
|
|
299
|
+
},
|
|
300
|
+
},
|
|
301
|
+
"zIndex": Object {
|
|
302
|
+
"appBar": 1100,
|
|
303
|
+
"drawer": 1200,
|
|
304
|
+
"mobileStepper": 1000,
|
|
305
|
+
"modal": 1300,
|
|
306
|
+
"snackbar": 1400,
|
|
307
|
+
"speedDial": 1050,
|
|
308
|
+
"tooltip": 1500,
|
|
309
|
+
},
|
|
310
|
+
Symbol(mui.nested): false,
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
>
|
|
314
|
+
<ForwardRef(WarningText)>
|
|
315
|
+
<div
|
|
316
|
+
className="govgr-warning-text"
|
|
317
|
+
>
|
|
318
|
+
<span
|
|
319
|
+
className="govgr-warning-text__icon"
|
|
320
|
+
>
|
|
321
|
+
!
|
|
322
|
+
</span>
|
|
323
|
+
<strong
|
|
324
|
+
className="govgr-warning-text__text"
|
|
325
|
+
>
|
|
326
|
+
<span
|
|
327
|
+
className="govgr-warning-text__assistive"
|
|
328
|
+
>
|
|
329
|
+
Προσοχή
|
|
330
|
+
</span>
|
|
331
|
+
this is some random warning text
|
|
332
|
+
</strong>
|
|
333
|
+
</div>
|
|
334
|
+
</ForwardRef(WarningText)>
|
|
335
|
+
</ThemeProvider>
|
|
336
|
+
`;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Warning Text
|
|
3
|
+
parent: docs/ui/components
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Warning Text
|
|
7
|
+
|
|
8
|
+
import WarningText from '@digigov/ui/core/WarningText';
|
|
9
|
+
import PropsDoc from '@docs-components/propsDoc';
|
|
10
|
+
import StylesDoc from '@docs-components/stylesDoc';
|
|
11
|
+
|
|
12
|
+
```jsx live path=core/WarningText/index.tsx
|
|
13
|
+
import WarningText from '@digigov/ui/core/WarningText';
|
|
14
|
+
import Paragraph from '@digigov/ui/typography/Paragraph';
|
|
15
|
+
function CustomWarning (props){
|
|
16
|
+
return (
|
|
17
|
+
<WarningText><Paragraph>Action Label</Paragraph></WarningText>
|
|
18
|
+
)
|
|
19
|
+
}
|
|
20
|
+
export CustomWarningText
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
<br />
|
|
25
|
+
|
|
26
|
+
## When to use this component
|
|
27
|
+
|
|
28
|
+
Use the warning text component when you need to warn users about something
|
|
29
|
+
important, such as legal consequences of an action, or lack of action that
|
|
30
|
+
they might take.
|
|
31
|
+
|
|
32
|
+
## How it works
|
|
33
|
+
|
|
34
|
+
Write a descriptive message for the users that warns them about the possible
|
|
35
|
+
complications of the current action.
|
|
36
|
+
|
|
37
|
+
## API
|
|
38
|
+
|
|
39
|
+
### Properties
|
|
40
|
+
|
|
41
|
+
<PropsDoc data={WarningText.__doc__} />
|
|
42
|
+
<br />
|
|
43
|
+
|
|
44
|
+
### Styles
|
|
45
|
+
|
|
46
|
+
<StylesDoc data={WarningText.__doc__} />
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import mountWithTheme from '@digigov/ui/test-utils/mountWithTheme';
|
|
3
|
+
import Component from '@digigov/ui/core/WarningText';
|
|
4
|
+
|
|
5
|
+
var _ref = /*#__PURE__*/React.createElement(Component, null, "this is some random warning text");
|
|
6
|
+
|
|
7
|
+
it('renders the WarningText with sample data', function () {
|
|
8
|
+
expect(mountWithTheme(_ref)).toMatchSnapshot();
|
|
9
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { default as Button } from '@digigov/ui/core/Button';
|
|
2
|
+
export * from '@digigov/ui/core/Button';
|
|
3
|
+
export { default as WarningText } from '@digigov/ui/core/WarningText';
|
|
4
|
+
export * from '@digigov/ui/core/Accordion';
|
|
5
|
+
export * from '@digigov/ui/core/Blockquote';
|
|
6
|
+
export * from '@digigov/ui/core/Details';
|
|
7
|
+
export * from '@digigov/ui/core/ErrorSummary';
|
|
8
|
+
export * from '@digigov/ui/core/Link';
|
|
9
|
+
export * from '@digigov/ui/core/List';
|
|
10
|
+
export * from '@digigov/ui/core/NavList';
|
|
11
|
+
export * from '@digigov/ui/core/ServiceBadge';
|
|
12
|
+
export * from '@digigov/ui/core/SummaryList';
|
|
13
|
+
export * from '@digigov/ui/core/Tabs';
|
|
14
|
+
export * from '@digigov/ui/core/NotificationBanner';
|
|
15
|
+
export * from '@digigov/ui/core/Table';
|
|
16
|
+
export * from '@digigov/ui/core/Button';
|
|
17
|
+
export * from '@digigov/ui/core/Divider';
|
package/esm/custom.d.js
ADDED
|
File without changes
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import CoreCopyright from '@digigov/react-core/Copyright';
|
|
3
|
+
import { useTranslation } from '@digigov/ui/app';
|
|
4
|
+
import Link from '@digigov/ui/core/Link';
|
|
5
|
+
|
|
6
|
+
var getCopyright = function getCopyright() {
|
|
7
|
+
var year = new Date().getFullYear();
|
|
8
|
+
return "\xA9 Copyright ".concat(year);
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export var Copyright = function Copyright(_ref) {
|
|
12
|
+
var _ref$copyright = _ref.copyright,
|
|
13
|
+
copyright = _ref$copyright === void 0 ? getCopyright() : _ref$copyright,
|
|
14
|
+
createdBy = _ref.createdBy,
|
|
15
|
+
minDigitalCopyright = _ref.minDigitalCopyright;
|
|
16
|
+
|
|
17
|
+
var _useTranslation = useTranslation(),
|
|
18
|
+
t = _useTranslation.t;
|
|
19
|
+
|
|
20
|
+
var copyrightInfo = minDigitalCopyright ? {
|
|
21
|
+
url: 'https://mindigital.gr',
|
|
22
|
+
label: t('footer.mindigital')
|
|
23
|
+
} : {
|
|
24
|
+
url: 'https://grnet.gr',
|
|
25
|
+
label: t('footer.grnet')
|
|
26
|
+
};
|
|
27
|
+
return /*#__PURE__*/React.createElement(CoreCopyright, null, copyright, ' - ', createdBy || /*#__PURE__*/React.createElement(React.Fragment, null, t('footer.created_by'), ' ', /*#__PURE__*/React.createElement(Link, {
|
|
28
|
+
href: copyrightInfo.url,
|
|
29
|
+
target: "_blank",
|
|
30
|
+
rel: "noopener noreferrer"
|
|
31
|
+
}, copyrightInfo.label), ' ', !minDigitalCopyright && /*#__PURE__*/React.createElement(React.Fragment, null, t('footer.using'), ' ', /*#__PURE__*/React.createElement(Link, {
|
|
32
|
+
href: "https://mathe.ellak.gr/",
|
|
33
|
+
target: "_blank",
|
|
34
|
+
rel: "noopener noreferrer"
|
|
35
|
+
}, t('footer.open_source')))));
|
|
36
|
+
};
|
|
37
|
+
export default Copyright;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import NormalText from '@digigov/react-core/NormalText';
|
|
3
|
+
import { useTranslation } from '@digigov/ui/app';
|
|
4
|
+
import Link from '@digigov/ui/core/Link';
|
|
5
|
+
|
|
6
|
+
var _ref = /*#__PURE__*/React.createElement(Link, {
|
|
7
|
+
href: "https://creativecommons.org/licenses/by-sa/4.0/deed.el",
|
|
8
|
+
target: "_blank",
|
|
9
|
+
rel: "noopener noreferrer"
|
|
10
|
+
}, "CC-BY-SA");
|
|
11
|
+
|
|
12
|
+
export var LicenseCCSA = function LicenseCCSA() {
|
|
13
|
+
var _useTranslation = useTranslation(),
|
|
14
|
+
t = _useTranslation.t;
|
|
15
|
+
|
|
16
|
+
return /*#__PURE__*/React.createElement(NormalText, null, /*#__PURE__*/React.createElement(React.Fragment, null, t('footer.creative_commons'), ' ', _ref, ' '));
|
|
17
|
+
};
|
|
18
|
+
export default LicenseCCSA;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Copyright from '@digigov/ui/govgr/Footer/Copyright';
|
|
3
|
+
import HellenicRepublicLogo from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
|
|
4
|
+
import Footer from '@digigov/react-core/Footer';
|
|
5
|
+
import FooterContainer from '@digigov/react-core/FooterContainer';
|
|
6
|
+
import FooterMeta from '@digigov/react-core/FooterMeta';
|
|
7
|
+
import FooterMetaItem from '@digigov/react-core/FooterMetaItem';
|
|
8
|
+
|
|
9
|
+
var _ref2 = /*#__PURE__*/React.createElement(FooterMetaItem, null, /*#__PURE__*/React.createElement(HellenicRepublicLogo, null));
|
|
10
|
+
|
|
11
|
+
export var GovGRFooter = function GovGRFooter(_ref) {
|
|
12
|
+
var copyright = _ref.copyright,
|
|
13
|
+
children = _ref.children,
|
|
14
|
+
createdBy = _ref.createdBy,
|
|
15
|
+
minDigitalCopyright = _ref.minDigitalCopyright;
|
|
16
|
+
return /*#__PURE__*/React.createElement(Footer, null, /*#__PURE__*/React.createElement(FooterContainer, null, children || /*#__PURE__*/React.createElement(FooterMeta, null, /*#__PURE__*/React.createElement(FooterMetaItem, null, copyright ? copyright : /*#__PURE__*/React.createElement(Copyright, {
|
|
17
|
+
createdBy: createdBy,
|
|
18
|
+
minDigitalCopyright: minDigitalCopyright
|
|
19
|
+
})), _ref2)));
|
|
20
|
+
};
|
|
21
|
+
export default GovGRFooter;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Footer
|
|
3
|
+
parent: docs/ui/components
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Default Footer
|
|
7
|
+
|
|
8
|
+
### How to import
|
|
9
|
+
|
|
10
|
+
```jsx
|
|
11
|
+
import Bottom from '@digigov/ui/layouts/Basic';
|
|
12
|
+
import GovGRFooter from '@digigov/ui/govgr/Footer';
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```jsx live
|
|
18
|
+
<Bottom>
|
|
19
|
+
<GovGRFooter />
|
|
20
|
+
</Bottom>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Customizable Footer
|
|
24
|
+
|
|
25
|
+
### How to import
|
|
26
|
+
|
|
27
|
+
```jsx
|
|
28
|
+
import Copyright from '@digigov/ui/govgr/Footer/Copyright';
|
|
29
|
+
import LicenseCCSA from '@digigov/ui/govgr/Footer/LicenseCCSA';
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Example
|
|
33
|
+
|
|
34
|
+
```jsx live
|
|
35
|
+
<Bottom>
|
|
36
|
+
<GovGRFooter>
|
|
37
|
+
<div>Custom info 1</div>
|
|
38
|
+
<Copyright />
|
|
39
|
+
<div>Custom info 2</div>
|
|
40
|
+
<LicenseCCSA />
|
|
41
|
+
<div>Custom info 3</div>
|
|
42
|
+
</GovGRFooter>
|
|
43
|
+
</Bottom>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Using custom grid
|
|
47
|
+
|
|
48
|
+
### How to import
|
|
49
|
+
|
|
50
|
+
```jsx
|
|
51
|
+
import Grid from '@material-ui/core/Grid';
|
|
52
|
+
import Copyright from '@digigov/ui/govgr/Footer/Copyright';
|
|
53
|
+
import LicenseCCSA from '@digigov/ui/govgr/Footer/LicenseCCSA';
|
|
54
|
+
import HellenicRepublicLogo from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Example using custom Grid with composable components
|
|
58
|
+
|
|
59
|
+
```jsx
|
|
60
|
+
<Bottom>
|
|
61
|
+
<GovGRFooter>
|
|
62
|
+
<Grid item xs={12} sm={8}>
|
|
63
|
+
<Copyright />
|
|
64
|
+
<LicenseCCSA />
|
|
65
|
+
</Grid>
|
|
66
|
+
<Grid item xs={12} sm={4}>
|
|
67
|
+
<HellenicRepublicLogo />
|
|
68
|
+
</Grid>
|
|
69
|
+
</GovGRFooter>
|
|
70
|
+
</Bottom>
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Asking users for feedback
|
|
74
|
+
|
|
75
|
+
### How to import
|
|
76
|
+
|
|
77
|
+
```jsx
|
|
78
|
+
import { Feedback } from '@digigov/ui/govgr/Footer';
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Example for user feedback
|
|
82
|
+
|
|
83
|
+
```jsx live
|
|
84
|
+
<Bottom>
|
|
85
|
+
<Feedback />
|
|
86
|
+
<GovGRFooter />
|
|
87
|
+
</Bottom>
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Example for reporting bugs
|
|
91
|
+
|
|
92
|
+
```jsx live
|
|
93
|
+
<Bottom>
|
|
94
|
+
<Feedback reportBugs />
|
|
95
|
+
<GovGRFooter />
|
|
96
|
+
</Bottom>
|
|
97
|
+
```
|