@digigov/ui 0.11.0 → 0.12.2
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/.eslintrc.js +4 -0
- package/.prettierrc.js +3 -0
- package/.rush/temp/package-deps_build.json +176 -0
- package/.rush/temp/shrinkwrap-deps.json +278 -0
- package/CHANGELOG.json +796 -0
- package/CHANGELOG.md +22 -1
- package/docs/components.mdx +1 -0
- package/docs/create-a-new-service.mdx +93 -0
- package/docs/create-common-page-layout.mdx +205 -0
- package/docs/create-static-page.mdx +179 -0
- package/docs/edit-start-page.mdx +143 -0
- package/docs/index.mdx +66 -0
- package/docs/introduction.mdx +34 -0
- package/package.json +31 -8
- package/src/api/APIErrors.tsx +44 -0
- package/src/api/APIProvider.tsx +27 -0
- package/src/api/fetchAPI.ts +45 -0
- package/src/api/index.spec.tsx +419 -0
- package/{esm/api/index.js → src/api/index.tsx} +6 -3
- package/{api → src/api}/introduction.md +0 -0
- package/src/api/useResource.tsx +96 -0
- package/src/api/useResourceAction.tsx +80 -0
- package/src/api/useResourceQuery.tsx +177 -0
- package/src/api/utils.tsx +156 -0
- package/src/app/App.tsx +33 -0
- package/{app/Confirmation/index.d.ts → src/app/Confirmation/index.tsx} +0 -0
- package/{app/Footer/index.d.ts → src/app/Footer/index.tsx} +0 -0
- package/{es/app/Header/HeaderLogo.js → src/app/Header/HeaderLogo.tsx} +9 -7
- package/src/app/Header/HeaderSection.tsx +13 -0
- package/src/app/Header/HeaderTitle.tsx +24 -0
- package/{app → src/app}/Header/__snapshots__/index.spec.tsx.snap +0 -0
- package/{app → src/app}/Header/index.mdx +0 -0
- package/src/app/Header/index.spec.tsx +32 -0
- package/{esm/app/Header/index.js → src/app/Header/index.tsx} +10 -4
- package/src/app/NotFound/index.tsx +21 -0
- package/src/app/OutdatedBrowserBanner.tsx +37 -0
- package/src/app/PageTitle.tsx +70 -0
- package/{app → src/app}/QrCodeScanner/__snapshots__/index.spec.tsx.snap +0 -0
- package/{app → src/app}/QrCodeScanner/index.mdx +0 -0
- package/src/app/QrCodeScanner/index.spec.tsx +19 -0
- package/src/app/QrCodeScanner/index.tsx +90 -0
- package/src/app/i18n.tsx +44 -0
- package/{app/index.d.ts → src/app/index.ts} +0 -0
- package/{core → src/core}/Accordion/__snapshots__/index.spec.tsx.snap +0 -0
- package/{core → src/core}/Accordion/index.mdx +0 -0
- package/src/core/Accordion/index.spec.tsx +30 -0
- package/src/core/Accordion/index.tsx +86 -0
- package/{core → src/core}/Blockquote/__snapshots__/index.spec.tsx.snap +0 -0
- package/{core → src/core}/Blockquote/index.mdx +0 -0
- package/src/core/Blockquote/index.spec.tsx +10 -0
- package/{esm/core/Blockquote/index.js → src/core/Blockquote/index.tsx} +9 -7
- package/{core/Breadcrumbs/index.d.ts → src/core/Breadcrumbs/index.tsx} +0 -0
- package/{esm/core/Button/BackButton.js → src/core/Button/BackButton.tsx} +10 -8
- package/src/core/Button/ButtonLink.tsx +20 -0
- package/src/core/Button/CallToAction.tsx +31 -0
- package/src/core/Button/Icon.tsx +9 -0
- package/{core → src/core}/Button/__snapshots__/index.spec.tsx.snap +0 -0
- package/{core → src/core}/Button/index.mdx +0 -0
- package/src/core/Button/index.spec.tsx +8 -0
- package/src/core/Button/index.tsx +46 -0
- package/{core/Card/index.d.ts → src/core/Card/index.tsx} +0 -0
- package/{core → src/core}/Details/__snapshots__/index.spec.tsx.snap +0 -0
- package/{core → src/core}/Details/index.mdx +0 -0
- package/src/core/Details/index.spec.tsx +38 -0
- package/{core/Details/index.d.ts → src/core/Details/index.tsx} +2 -0
- package/src/core/Divider/index.tsx +13 -0
- package/{core → src/core}/ErrorSummary/__snapshots__/index.spec.tsx.snap +0 -0
- package/{core → src/core}/ErrorSummary/index.mdx +0 -0
- package/src/core/ErrorSummary/index.spec.tsx +10 -0
- package/{core/ErrorSummary/index.d.ts → src/core/ErrorSummary/index.tsx} +1 -0
- package/{core/Hidden/index.d.ts → src/core/Hidden/index.tsx} +0 -0
- package/{core → src/core}/Link/__snapshots__/index.spec.tsx.snap +0 -0
- package/src/core/Link/index.spec.tsx +22 -0
- package/src/core/Link/index.tsx +41 -0
- package/{core/List/List.d.ts → src/core/List/List.tsx} +2 -0
- package/{core/List/ListItem.d.ts → src/core/List/ListItem.tsx} +2 -0
- package/src/core/List/ListItemContent.tsx +32 -0
- package/src/core/List/ListItemIcon.tsx +31 -0
- package/src/core/List/ListItemText.tsx +23 -0
- package/src/core/List/ListItemTitle.tsx +37 -0
- package/{core → src/core}/List/__snapshots__/index.spec.tsx.snap +0 -0
- package/{core → src/core}/List/index.mdx +0 -0
- package/src/core/List/index.spec.tsx +10 -0
- package/{core/List/index.d.ts → src/core/List/index.tsx} +0 -0
- package/src/core/NavList/NavList.tsx +103 -0
- package/src/core/NavList/NavListContext.tsx +85 -0
- package/src/core/NavList/NavListItem.tsx +143 -0
- package/src/core/NavList/NavListItemBase.tsx +146 -0
- package/src/core/NavList/NavListSubMenu.tsx +33 -0
- package/{core → src/core}/NavList/__snapshots__/index.spec.tsx.snap +0 -0
- package/{core → src/core}/NavList/index.mdx +0 -0
- package/src/core/NavList/index.spec.tsx +10 -0
- package/{core/NavList/index.d.ts → src/core/NavList/index.tsx} +0 -0
- package/{core → src/core}/NotificationBanner/__snapshots__/index.spec.tsx.snap +0 -0
- package/{core → src/core}/NotificationBanner/index.mdx +0 -0
- package/src/core/NotificationBanner/index.spec.tsx +27 -0
- package/src/core/NotificationBanner/index.tsx +52 -0
- package/{core → src/core}/ServiceBadge/ServiceBadge.mdx +0 -0
- package/{core → src/core}/ServiceBadge/index.mdx +0 -0
- package/src/core/ServiceBadge/index.tsx +35 -0
- package/{core → src/core}/SummaryList/__snapshots__/index.spec.tsx.snap +0 -0
- package/{core → src/core}/SummaryList/index.mdx +0 -0
- package/src/core/SummaryList/index.spec.tsx +28 -0
- package/{core/SummaryList/index.d.ts → src/core/SummaryList/index.tsx} +2 -0
- package/{core/Table/index.d.ts → src/core/Table/index.tsx} +0 -0
- package/{core → src/core}/Tabs/index.mdx +0 -0
- package/src/core/Tabs/index.tsx +36 -0
- package/{core/VisuallyHidden/index.d.ts → src/core/VisuallyHidden/index.tsx} +0 -0
- package/{core → src/core}/WarningText/__snapshots__/index.spec.tsx.snap +0 -0
- package/{core → src/core}/WarningText/index.mdx +0 -0
- package/src/core/WarningText/index.spec.tsx +10 -0
- package/{core/WarningText/index.d.ts → src/core/WarningText/index.tsx} +1 -0
- package/{core/index.d.ts → src/core/index.ts} +3 -0
- package/src/custom.d.ts +8 -0
- package/{es → src}/form/inputs/Input/index.mdx +0 -0
- package/src/govgr/Footer/Copyright.tsx +64 -0
- package/{govgr/Footer/HellenicRepublicLogo.d.ts → src/govgr/Footer/HellenicRepublicLogo.tsx} +1 -0
- package/src/govgr/Footer/LicenseCCSA.tsx +24 -0
- package/{es → src}/govgr/Footer/index.mdx +0 -0
- package/src/govgr/Footer/index.tsx +49 -0
- package/{esm/govgr/Footer/logo.js → src/govgr/Footer/logo.ts} +1 -1
- package/{esm/govgr/Footer/logos/logo-el.js → src/govgr/Footer/logos/logo-el.ts} +1 -1
- package/{esm/govgr/Footer/logos/logo-en.js → src/govgr/Footer/logos/logo-en.ts} +1 -1
- package/{es → src}/govgr/Logo/govgr-logo.svg +0 -0
- package/{govgr/Logo/index.d.ts → src/govgr/Logo/index.tsx} +2 -0
- package/{es/govgr/Logo/logo.js → src/govgr/Logo/logo.ts} +1 -1
- package/{govgr/index.d.ts → src/govgr/index.ts} +0 -0
- package/src/hooks/useDebounce.ts +50 -0
- package/src/hooks/useLatest.ts +12 -0
- package/{esm/hooks/useOutdatedBrowserCheck.js → src/hooks/useOutdatedBrowserCheck.ts} +16 -15
- package/src/hooks/useSearch.ts +47 -0
- package/src/hooks/useTogglableSections.tsx +102 -0
- package/{index.d.ts → src/index.ts} +0 -0
- package/{es → src}/layouts/Basic/Bottom/index.mdx +0 -0
- package/{layouts/Basic/Bottom/index.d.ts → src/layouts/Basic/Bottom/index.tsx} +1 -0
- package/{es → src}/layouts/Basic/Content/index.mdx +0 -0
- package/src/layouts/Basic/Content/index.tsx +24 -0
- package/{es → src}/layouts/Basic/Main/index.mdx +0 -0
- package/{layouts/Basic/Main/index.d.ts → src/layouts/Basic/Main/index.tsx} +1 -0
- package/{es → src}/layouts/Basic/Masthead/index.mdx +0 -0
- package/{layouts/Basic/Masthead/index.d.ts → src/layouts/Basic/Masthead/index.tsx} +2 -0
- package/{es → src}/layouts/Basic/Side/index.mdx +0 -0
- package/{esm/layouts/Basic/Side/index.js → src/layouts/Basic/Side/index.tsx} +5 -3
- package/{es → src}/layouts/Basic/Top/index.mdx +0 -0
- package/{es/layouts/Basic/Top/index.js → src/layouts/Basic/Top/index.tsx} +7 -5
- package/{es → src}/layouts/Basic/__snapshots__/index.spec.tsx.snap +0 -0
- package/{es → src}/layouts/Basic/index.mdx +0 -0
- package/src/layouts/Basic/index.spec.tsx +24 -0
- package/{layouts/Basic/index.d.ts → src/layouts/Basic/index.tsx} +2 -0
- package/{layouts/Grid/index.d.ts → src/layouts/Grid/index.tsx} +0 -0
- package/{layouts/index.d.ts → src/layouts/index.ts} +0 -0
- package/src/locales/el.ts +60 -0
- package/{esm/locales/en.js → src/locales/en.ts} +25 -11
- package/{es → src}/router/index.mdx +0 -0
- package/src/router/index.tsx +28 -0
- package/src/test-utils/delay.ts +9 -0
- package/src/test-utils/mountWithTheme.tsx +33 -0
- package/{es → src}/themes/govgr.js +33 -29
- package/src/themes/grnet.js +109 -0
- package/src/themes/index.tsx +38 -0
- package/src/typography/Caption.tsx +15 -0
- package/src/typography/NormalText.tsx +7 -0
- package/src/typography/Paragraph.tsx +9 -0
- package/src/typography/Title.tsx +51 -0
- package/{es → src}/typography/index.mdx +0 -0
- package/{typography/index.d.ts → src/typography/index.ts} +0 -0
- package/src/utils/evaluateBrowserVersion.ts +346 -0
- package/src/utils/withDeprecation.tsx +97 -0
- package/tsconfig.json +18 -0
- package/tsconfig.production.json +27 -0
- package/ui.build.log +17 -0
- package/LICENSE +0 -0
- package/api/APIErrors.d.ts +0 -22
- package/api/APIErrors.js +0 -117
- package/api/APIProvider.d.ts +0 -15
- package/api/APIProvider.js +0 -43
- package/api/fetchAPI.d.ts +0 -18
- package/api/fetchAPI.js +0 -64
- package/api/index.d.ts +0 -9
- package/api/index.js +0 -104
- package/api/index.spec.d.ts +0 -1
- package/api/index.spec.js +0 -584
- package/api/useResource.d.ts +0 -11
- package/api/useResource.js +0 -144
- package/api/useResourceAction.d.ts +0 -2
- package/api/useResourceAction.js +0 -157
- package/api/useResourceQuery.d.ts +0 -18
- package/api/useResourceQuery.js +0 -229
- package/api/utils.d.ts +0 -6
- package/api/utils.js +0 -250
- package/app/App.d.ts +0 -14
- package/app/App.js +0 -49
- package/app/Confirmation/index.js +0 -44
- package/app/Footer/index.js +0 -200
- package/app/Header/HeaderLogo.d.ts +0 -3
- package/app/Header/HeaderLogo.js +0 -30
- package/app/Header/HeaderSection.d.ts +0 -5
- package/app/Header/HeaderSection.js +0 -20
- package/app/Header/HeaderTitle.d.ts +0 -5
- package/app/Header/HeaderTitle.js +0 -30
- package/app/Header/index.d.ts +0 -11
- package/app/Header/index.js +0 -106
- package/app/Header/index.spec.d.ts +0 -1
- package/app/Header/index.spec.js +0 -45
- package/app/NotFound/index.d.ts +0 -3
- package/app/NotFound/index.js +0 -29
- package/app/OutdatedBrowserBanner.d.ts +0 -2
- package/app/OutdatedBrowserBanner.js +0 -41
- package/app/PageTitle.d.ts +0 -10
- package/app/PageTitle.js +0 -76
- package/app/QrCodeScanner/index.d.ts +0 -29
- package/app/QrCodeScanner/index.js +0 -85
- package/app/QrCodeScanner/index.spec.d.ts +0 -1
- package/app/QrCodeScanner/index.spec.js +0 -26
- package/app/i18n.d.ts +0 -10
- package/app/i18n.js +0 -57
- package/app/index.js +0 -70
- package/core/Accordion/index.d.ts +0 -21
- package/core/Accordion/index.js +0 -127
- package/core/Accordion/index.spec.d.ts +0 -1
- package/core/Accordion/index.spec.js +0 -19
- package/core/Blockquote/index.d.ts +0 -3
- package/core/Blockquote/index.js +0 -29
- package/core/Blockquote/index.spec.d.ts +0 -1
- package/core/Blockquote/index.spec.js +0 -21
- package/core/Breadcrumbs/index.js +0 -44
- package/core/Button/BackButton.d.ts +0 -3
- package/core/Button/BackButton.js +0 -34
- package/core/Button/ButtonLink.d.ts +0 -4
- package/core/Button/ButtonLink.js +0 -28
- package/core/Button/CallToAction.d.ts +0 -7
- package/core/Button/CallToAction.js +0 -41
- package/core/Button/Icon.d.ts +0 -2
- package/core/Button/Icon.js +0 -19
- package/core/Button/index.d.ts +0 -15
- package/core/Button/index.js +0 -121
- package/core/Button/index.spec.d.ts +0 -1
- package/core/Button/index.spec.js +0 -21
- package/core/Card/index.js +0 -57
- package/core/Details/index.js +0 -35
- package/core/Details/index.spec.d.ts +0 -1
- package/core/Details/index.spec.js +0 -27
- package/core/Divider/index.d.ts +0 -5
- package/core/Divider/index.js +0 -20
- package/core/ErrorSummary/index.js +0 -19
- package/core/ErrorSummary/index.spec.d.ts +0 -1
- package/core/ErrorSummary/index.spec.js +0 -21
- package/core/Hidden/index.js +0 -18
- package/core/Link/index.d.ts +0 -12
- package/core/Link/index.js +0 -50
- package/core/Link/index.spec.d.ts +0 -1
- package/core/Link/index.spec.js +0 -31
- package/core/List/List.js +0 -19
- package/core/List/ListItem.js +0 -19
- package/core/List/ListItemContent.d.ts +0 -7
- package/core/List/ListItemContent.js +0 -45
- package/core/List/ListItemIcon.d.ts +0 -7
- package/core/List/ListItemIcon.js +0 -48
- package/core/List/ListItemText.d.ts +0 -8
- package/core/List/ListItemText.js +0 -36
- package/core/List/ListItemTitle.d.ts +0 -10
- package/core/List/ListItemTitle.js +0 -44
- package/core/List/index.js +0 -96
- package/core/List/index.spec.d.ts +0 -1
- package/core/List/index.spec.js +0 -21
- package/core/NavList/NavList.d.ts +0 -17
- package/core/NavList/NavList.js +0 -99
- package/core/NavList/NavListContext.d.ts +0 -20
- package/core/NavList/NavListContext.js +0 -102
- package/core/NavList/NavListItem.d.ts +0 -13
- package/core/NavList/NavListItem.js +0 -171
- package/core/NavList/NavListItemBase.d.ts +0 -16
- package/core/NavList/NavListItemBase.js +0 -161
- package/core/NavList/NavListSubMenu.d.ts +0 -8
- package/core/NavList/NavListSubMenu.js +0 -52
- package/core/NavList/index.js +0 -68
- package/core/NavList/index.spec.d.ts +0 -1
- package/core/NavList/index.spec.js +0 -21
- package/core/NotificationBanner/index.d.ts +0 -18
- package/core/NotificationBanner/index.js +0 -78
- package/core/NotificationBanner/index.spec.d.ts +0 -1
- package/core/NotificationBanner/index.spec.js +0 -32
- package/core/ServiceBadge/index.d.ts +0 -9
- package/core/ServiceBadge/index.js +0 -36
- package/core/SummaryList/index.js +0 -79
- package/core/SummaryList/index.spec.d.ts +0 -1
- package/core/SummaryList/index.spec.js +0 -19
- package/core/Table/index.js +0 -96
- package/core/Tabs/index.d.ts +0 -16
- package/core/Tabs/index.js +0 -88
- package/core/VisuallyHidden/index.js +0 -18
- package/core/WarningText/index.js +0 -19
- package/core/WarningText/index.spec.d.ts +0 -1
- package/core/WarningText/index.spec.js +0 -21
- package/core/index.js +0 -199
- package/custom.d.js +0 -1
- package/es/api/APIErrors.js +0 -96
- package/es/api/APIProvider.js +0 -25
- package/es/api/fetchAPI.js +0 -49
- package/es/api/index.js +0 -13
- package/es/api/index.spec.js +0 -546
- package/es/api/introduction.md +0 -6
- package/es/api/useResource.js +0 -128
- package/es/api/useResourceAction.js +0 -141
- package/es/api/useResourceQuery.js +0 -208
- package/es/api/utils.js +0 -233
- package/es/app/App.js +0 -27
- package/es/app/Confirmation/index.js +0 -3
- package/es/app/Footer/index.js +0 -15
- package/es/app/Header/HeaderSection.js +0 -7
- package/es/app/Header/HeaderTitle.js +0 -17
- package/es/app/Header/__snapshots__/index.spec.tsx.snap +0 -393
- package/es/app/Header/index.js +0 -13
- package/es/app/Header/index.mdx +0 -50
- package/es/app/Header/index.spec.js +0 -32
- package/es/app/NotFound/index.js +0 -12
- package/es/app/OutdatedBrowserBanner.js +0 -24
- package/es/app/PageTitle.js +0 -57
- package/es/app/QrCodeScanner/__snapshots__/index.spec.tsx.snap +0 -22
- package/es/app/QrCodeScanner/index.js +0 -64
- package/es/app/QrCodeScanner/index.mdx +0 -22
- package/es/app/QrCodeScanner/index.spec.js +0 -13
- package/es/app/i18n.js +0 -36
- package/es/app/index.js +0 -5
- package/es/core/Accordion/__snapshots__/index.spec.tsx.snap +0 -78
- package/es/core/Accordion/index.js +0 -67
- package/es/core/Accordion/index.mdx +0 -104
- package/es/core/Accordion/index.spec.js +0 -9
- package/es/core/Blockquote/__snapshots__/index.spec.tsx.snap +0 -13
- package/es/core/Blockquote/index.js +0 -16
- package/es/core/Blockquote/index.mdx +0 -61
- package/es/core/Blockquote/index.spec.js +0 -9
- package/es/core/Breadcrumbs/index.js +0 -3
- package/es/core/Button/BackButton.js +0 -21
- package/es/core/Button/ButtonLink.js +0 -16
- package/es/core/Button/CallToAction.js +0 -27
- package/es/core/Button/Icon.js +0 -7
- package/es/core/Button/__snapshots__/index.spec.tsx.snap +0 -13
- package/es/core/Button/index.js +0 -36
- package/es/core/Button/index.mdx +0 -65
- package/es/core/Button/index.spec.js +0 -9
- package/es/core/Card/index.js +0 -4
- package/es/core/Details/__snapshots__/index.spec.tsx.snap +0 -50
- package/es/core/Details/index.js +0 -5
- package/es/core/Details/index.mdx +0 -34
- package/es/core/Details/index.spec.js +0 -17
- package/es/core/Divider/index.js +0 -7
- package/es/core/ErrorSummary/__snapshots__/index.spec.tsx.snap +0 -322
- package/es/core/ErrorSummary/index.js +0 -3
- package/es/core/ErrorSummary/index.mdx +0 -61
- package/es/core/ErrorSummary/index.spec.js +0 -9
- package/es/core/Hidden/index.js +0 -1
- package/es/core/Link/__snapshots__/index.spec.tsx.snap +0 -31
- package/es/core/Link/index.js +0 -26
- package/es/core/Link/index.spec.js +0 -21
- package/es/core/List/List.js +0 -3
- package/es/core/List/ListItem.js +0 -3
- package/es/core/List/ListItemContent.js +0 -27
- package/es/core/List/ListItemIcon.js +0 -29
- package/es/core/List/ListItemText.js +0 -19
- package/es/core/List/ListItemTitle.js +0 -25
- package/es/core/List/__snapshots__/index.spec.tsx.snap +0 -322
- package/es/core/List/index.js +0 -7
- package/es/core/List/index.mdx +0 -40
- package/es/core/List/index.spec.js +0 -9
- package/es/core/NavList/NavList.js +0 -78
- package/es/core/NavList/NavListContext.js +0 -80
- package/es/core/NavList/NavListItem.js +0 -141
- package/es/core/NavList/NavListItemBase.js +0 -133
- package/es/core/NavList/NavListSubMenu.js +0 -27
- package/es/core/NavList/__snapshots__/index.spec.tsx.snap +0 -334
- package/es/core/NavList/index.js +0 -5
- package/es/core/NavList/index.mdx +0 -185
- package/es/core/NavList/index.spec.js +0 -9
- package/es/core/NotificationBanner/__snapshots__/index.spec.tsx.snap +0 -737
- package/es/core/NotificationBanner/index.js +0 -35
- package/es/core/NotificationBanner/index.mdx +0 -77
- package/es/core/NotificationBanner/index.spec.js +0 -20
- package/es/core/ServiceBadge/ServiceBadge.mdx +0 -0
- package/es/core/ServiceBadge/index.js +0 -20
- package/es/core/ServiceBadge/index.mdx +0 -42
- package/es/core/SummaryList/__snapshots__/index.spec.tsx.snap +0 -57
- package/es/core/SummaryList/index.js +0 -7
- package/es/core/SummaryList/index.mdx +0 -82
- package/es/core/SummaryList/index.spec.js +0 -9
- package/es/core/Table/index.js +0 -7
- package/es/core/Tabs/index.js +0 -37
- package/es/core/Tabs/index.mdx +0 -54
- package/es/core/VisuallyHidden/index.js +0 -1
- package/es/core/WarningText/__snapshots__/index.spec.tsx.snap +0 -336
- package/es/core/WarningText/index.js +0 -3
- package/es/core/WarningText/index.mdx +0 -46
- package/es/core/WarningText/index.spec.js +0 -9
- package/es/core/index.js +0 -14
- package/es/custom.d.js +0 -0
- package/es/govgr/Footer/Copyright.js +0 -37
- package/es/govgr/Footer/HellenicRepublicLogo.js +0 -3
- package/es/govgr/Footer/LicenseCCSA.js +0 -18
- package/es/govgr/Footer/index.js +0 -21
- package/es/govgr/Footer/logo.js +0 -1
- package/es/govgr/Footer/logos/logo-el.js +0 -1
- package/es/govgr/Footer/logos/logo-en.js +0 -1
- package/es/govgr/Logo/index.js +0 -3
- package/es/govgr/index.js +0 -4
- package/es/hooks/useDebounce.js +0 -41
- package/es/hooks/useLatest.js +0 -12
- package/es/hooks/useOutdatedBrowserCheck.js +0 -46
- package/es/hooks/useSearch.js +0 -25
- package/es/hooks/useTogglableSections.js +0 -96
- package/es/index.js +0 -5
- package/es/layouts/Basic/Bottom/index.js +0 -3
- package/es/layouts/Basic/Content/index.js +0 -18
- package/es/layouts/Basic/Main/index.js +0 -3
- package/es/layouts/Basic/Masthead/index.js +0 -4
- package/es/layouts/Basic/Side/index.js +0 -7
- package/es/layouts/Basic/index.js +0 -8
- package/es/layouts/Basic/index.spec.js +0 -10
- package/es/layouts/Grid/index.js +0 -1
- package/es/layouts/index.js +0 -2
- package/es/locales/el.js +0 -45
- package/es/locales/en.js +0 -45
- package/es/router/index.js +0 -15
- package/es/test-utils/delay.js +0 -31
- package/es/test-utils/mountWithTheme.js +0 -30
- package/es/themes/grnet.js +0 -110
- package/es/themes/index.js +0 -2
- package/es/typography/Caption.js +0 -7
- package/es/typography/NormalText.js +0 -3
- package/es/typography/Paragraph.js +0 -2
- package/es/typography/Title.js +0 -48
- package/es/typography/index.js +0 -8
- package/es/utils/evaluateBrowserVersion.js +0 -201
- package/es/utils/withDeprecation.js +0 -103
- package/esm/api/APIErrors.js +0 -96
- package/esm/api/APIProvider.js +0 -25
- package/esm/api/fetchAPI.js +0 -49
- package/esm/api/index.spec.js +0 -546
- package/esm/api/introduction.md +0 -6
- package/esm/api/useResource.js +0 -128
- package/esm/api/useResourceAction.js +0 -141
- package/esm/api/useResourceQuery.js +0 -208
- package/esm/api/utils.js +0 -233
- package/esm/app/App.js +0 -27
- package/esm/app/Confirmation/index.js +0 -3
- package/esm/app/Footer/index.js +0 -15
- package/esm/app/Header/HeaderLogo.js +0 -17
- package/esm/app/Header/HeaderSection.js +0 -7
- package/esm/app/Header/HeaderTitle.js +0 -17
- package/esm/app/Header/__snapshots__/index.spec.tsx.snap +0 -393
- package/esm/app/Header/index.mdx +0 -50
- package/esm/app/Header/index.spec.js +0 -32
- package/esm/app/NotFound/index.js +0 -12
- package/esm/app/OutdatedBrowserBanner.js +0 -24
- package/esm/app/PageTitle.js +0 -57
- package/esm/app/QrCodeScanner/__snapshots__/index.spec.tsx.snap +0 -22
- package/esm/app/QrCodeScanner/index.js +0 -64
- package/esm/app/QrCodeScanner/index.mdx +0 -22
- package/esm/app/QrCodeScanner/index.spec.js +0 -13
- package/esm/app/i18n.js +0 -36
- package/esm/app/index.js +0 -5
- package/esm/core/Accordion/__snapshots__/index.spec.tsx.snap +0 -78
- package/esm/core/Accordion/index.js +0 -67
- package/esm/core/Accordion/index.mdx +0 -104
- package/esm/core/Accordion/index.spec.js +0 -9
- package/esm/core/Blockquote/__snapshots__/index.spec.tsx.snap +0 -13
- package/esm/core/Blockquote/index.mdx +0 -61
- package/esm/core/Blockquote/index.spec.js +0 -9
- package/esm/core/Breadcrumbs/index.js +0 -3
- package/esm/core/Button/ButtonLink.js +0 -16
- package/esm/core/Button/CallToAction.js +0 -27
- package/esm/core/Button/Icon.js +0 -7
- package/esm/core/Button/__snapshots__/index.spec.tsx.snap +0 -13
- package/esm/core/Button/index.js +0 -36
- package/esm/core/Button/index.mdx +0 -65
- package/esm/core/Button/index.spec.js +0 -9
- package/esm/core/Card/index.js +0 -4
- package/esm/core/Details/__snapshots__/index.spec.tsx.snap +0 -50
- package/esm/core/Details/index.js +0 -5
- package/esm/core/Details/index.mdx +0 -34
- package/esm/core/Details/index.spec.js +0 -17
- package/esm/core/Divider/index.js +0 -7
- package/esm/core/ErrorSummary/__snapshots__/index.spec.tsx.snap +0 -322
- package/esm/core/ErrorSummary/index.js +0 -3
- package/esm/core/ErrorSummary/index.mdx +0 -61
- package/esm/core/ErrorSummary/index.spec.js +0 -9
- package/esm/core/Hidden/index.js +0 -1
- package/esm/core/Link/__snapshots__/index.spec.tsx.snap +0 -31
- package/esm/core/Link/index.js +0 -26
- package/esm/core/Link/index.spec.js +0 -21
- package/esm/core/List/List.js +0 -3
- package/esm/core/List/ListItem.js +0 -3
- package/esm/core/List/ListItemContent.js +0 -27
- package/esm/core/List/ListItemIcon.js +0 -29
- package/esm/core/List/ListItemText.js +0 -19
- package/esm/core/List/ListItemTitle.js +0 -25
- package/esm/core/List/__snapshots__/index.spec.tsx.snap +0 -322
- package/esm/core/List/index.js +0 -7
- package/esm/core/List/index.mdx +0 -40
- package/esm/core/List/index.spec.js +0 -9
- package/esm/core/NavList/NavList.js +0 -78
- package/esm/core/NavList/NavListContext.js +0 -80
- package/esm/core/NavList/NavListItem.js +0 -141
- package/esm/core/NavList/NavListItemBase.js +0 -133
- package/esm/core/NavList/NavListSubMenu.js +0 -27
- package/esm/core/NavList/__snapshots__/index.spec.tsx.snap +0 -334
- package/esm/core/NavList/index.js +0 -5
- package/esm/core/NavList/index.mdx +0 -185
- package/esm/core/NavList/index.spec.js +0 -9
- package/esm/core/NotificationBanner/__snapshots__/index.spec.tsx.snap +0 -737
- package/esm/core/NotificationBanner/index.js +0 -35
- package/esm/core/NotificationBanner/index.mdx +0 -77
- package/esm/core/NotificationBanner/index.spec.js +0 -20
- package/esm/core/ServiceBadge/ServiceBadge.mdx +0 -0
- package/esm/core/ServiceBadge/index.js +0 -20
- package/esm/core/ServiceBadge/index.mdx +0 -42
- package/esm/core/SummaryList/__snapshots__/index.spec.tsx.snap +0 -57
- package/esm/core/SummaryList/index.js +0 -7
- package/esm/core/SummaryList/index.mdx +0 -82
- package/esm/core/SummaryList/index.spec.js +0 -9
- package/esm/core/Table/index.js +0 -7
- package/esm/core/Tabs/index.js +0 -37
- package/esm/core/Tabs/index.mdx +0 -54
- package/esm/core/VisuallyHidden/index.js +0 -1
- package/esm/core/WarningText/__snapshots__/index.spec.tsx.snap +0 -336
- package/esm/core/WarningText/index.js +0 -3
- package/esm/core/WarningText/index.mdx +0 -46
- package/esm/core/WarningText/index.spec.js +0 -9
- package/esm/core/index.js +0 -14
- package/esm/custom.d.js +0 -0
- package/esm/form/inputs/Input/index.mdx +0 -10
- package/esm/govgr/Footer/Copyright.js +0 -37
- package/esm/govgr/Footer/HellenicRepublicLogo.js +0 -3
- package/esm/govgr/Footer/LicenseCCSA.js +0 -18
- package/esm/govgr/Footer/index.js +0 -21
- package/esm/govgr/Footer/index.mdx +0 -97
- package/esm/govgr/Logo/govgr-logo.svg +0 -1
- package/esm/govgr/Logo/index.js +0 -3
- package/esm/govgr/Logo/logo.js +0 -1
- package/esm/govgr/index.js +0 -4
- package/esm/hooks/useDebounce.js +0 -41
- package/esm/hooks/useLatest.js +0 -12
- package/esm/hooks/useSearch.js +0 -25
- package/esm/hooks/useTogglableSections.js +0 -96
- package/esm/index.js +0 -10
- package/esm/layouts/Basic/Bottom/index.js +0 -3
- package/esm/layouts/Basic/Bottom/index.mdx +0 -37
- package/esm/layouts/Basic/Content/index.js +0 -18
- package/esm/layouts/Basic/Content/index.mdx +0 -64
- package/esm/layouts/Basic/Main/index.js +0 -3
- package/esm/layouts/Basic/Main/index.mdx +0 -64
- package/esm/layouts/Basic/Masthead/index.js +0 -4
- package/esm/layouts/Basic/Masthead/index.mdx +0 -74
- package/esm/layouts/Basic/Side/index.mdx +0 -71
- package/esm/layouts/Basic/Top/index.js +0 -11
- package/esm/layouts/Basic/Top/index.mdx +0 -74
- package/esm/layouts/Basic/__snapshots__/index.spec.tsx.snap +0 -54
- package/esm/layouts/Basic/index.js +0 -8
- package/esm/layouts/Basic/index.mdx +0 -62
- package/esm/layouts/Basic/index.spec.js +0 -10
- package/esm/layouts/Grid/index.js +0 -1
- package/esm/layouts/index.js +0 -2
- package/esm/locales/el.js +0 -45
- package/esm/router/index.js +0 -15
- package/esm/router/index.mdx +0 -40
- package/esm/test-utils/delay.js +0 -31
- package/esm/test-utils/mountWithTheme.js +0 -30
- package/esm/themes/govgr.js +0 -79
- package/esm/themes/grnet.js +0 -110
- package/esm/themes/index.js +0 -2
- package/esm/typography/Caption.js +0 -7
- package/esm/typography/NormalText.js +0 -3
- package/esm/typography/Paragraph.js +0 -2
- package/esm/typography/Title.js +0 -48
- package/esm/typography/index.js +0 -8
- package/esm/typography/index.mdx +0 -32
- package/esm/utils/evaluateBrowserVersion.js +0 -201
- package/esm/utils/withDeprecation.js +0 -103
- package/form/inputs/Input/index.mdx +0 -10
- package/govgr/Footer/Copyright.d.ts +0 -8
- package/govgr/Footer/Copyright.js +0 -52
- package/govgr/Footer/HellenicRepublicLogo.js +0 -19
- package/govgr/Footer/LicenseCCSA.d.ts +0 -3
- package/govgr/Footer/LicenseCCSA.js +0 -33
- package/govgr/Footer/index.d.ts +0 -13
- package/govgr/Footer/index.js +0 -39
- package/govgr/Footer/index.mdx +0 -97
- package/govgr/Footer/logo.d.ts +0 -2
- package/govgr/Footer/logo.js +0 -8
- package/govgr/Footer/logos/logo-el.d.ts +0 -2
- package/govgr/Footer/logos/logo-el.js +0 -8
- package/govgr/Footer/logos/logo-en.d.ts +0 -2
- package/govgr/Footer/logos/logo-en.js +0 -8
- package/govgr/Logo/govgr-logo.svg +0 -1
- package/govgr/Logo/index.js +0 -19
- package/govgr/Logo/logo.d.ts +0 -2
- package/govgr/Logo/logo.js +0 -8
- package/govgr/index.js +0 -57
- package/hooks/useDebounce.d.ts +0 -3
- package/hooks/useDebounce.js +0 -63
- package/hooks/useLatest.d.ts +0 -3
- package/hooks/useLatest.js +0 -26
- package/hooks/useOutdatedBrowserCheck.d.ts +0 -2
- package/hooks/useOutdatedBrowserCheck.js +0 -60
- package/hooks/useSearch.d.ts +0 -4
- package/hooks/useSearch.js +0 -40
- package/hooks/useTogglableSections.d.ts +0 -18
- package/hooks/useTogglableSections.js +0 -108
- package/index.js +0 -70
- package/layouts/Basic/Bottom/index.js +0 -19
- package/layouts/Basic/Bottom/index.mdx +0 -37
- package/layouts/Basic/Content/index.d.ts +0 -5
- package/layouts/Basic/Content/index.js +0 -31
- package/layouts/Basic/Content/index.mdx +0 -64
- package/layouts/Basic/Main/index.js +0 -19
- package/layouts/Basic/Main/index.mdx +0 -64
- package/layouts/Basic/Masthead/index.js +0 -27
- package/layouts/Basic/Masthead/index.mdx +0 -74
- package/layouts/Basic/Side/index.d.ts +0 -3
- package/layouts/Basic/Side/index.js +0 -20
- package/layouts/Basic/Side/index.mdx +0 -71
- package/layouts/Basic/Top/index.d.ts +0 -3
- package/layouts/Basic/Top/index.js +0 -24
- package/layouts/Basic/Top/index.mdx +0 -74
- package/layouts/Basic/__snapshots__/index.spec.tsx.snap +0 -54
- package/layouts/Basic/index.js +0 -97
- package/layouts/Basic/index.mdx +0 -62
- package/layouts/Basic/index.spec.d.ts +0 -1
- package/layouts/Basic/index.spec.js +0 -20
- package/layouts/Grid/index.js +0 -18
- package/layouts/index.js +0 -34
- package/locales/el.d.ts +0 -46
- package/locales/el.js +0 -52
- package/locales/en.d.ts +0 -46
- package/locales/en.js +0 -52
- package/router/index.d.ts +0 -9
- package/router/index.js +0 -37
- package/router/index.mdx +0 -40
- package/test-utils/delay.d.ts +0 -2
- package/test-utils/delay.js +0 -45
- package/test-utils/mountWithTheme.d.ts +0 -3
- package/test-utils/mountWithTheme.js +0 -43
- package/themes/govgr.d.ts +0 -3
- package/themes/govgr.js +0 -89
- package/themes/grnet.d.ts +0 -2
- package/themes/grnet.js +0 -128
- package/themes/index.d.ts +0 -32
- package/themes/index.js +0 -19
- package/typography/Caption.d.ts +0 -7
- package/typography/Caption.js +0 -20
- package/typography/NormalText.d.ts +0 -5
- package/typography/NormalText.js +0 -19
- package/typography/Paragraph.d.ts +0 -6
- package/typography/Paragraph.js +0 -13
- package/typography/Title.d.ts +0 -9
- package/typography/Title.js +0 -63
- package/typography/index.js +0 -97
- package/typography/index.mdx +0 -32
- package/utils/evaluateBrowserVersion.d.ts +0 -15
- package/utils/evaluateBrowserVersion.js +0 -216
- package/utils/withDeprecation.d.ts +0 -16
- package/utils/withDeprecation.js +0 -116
|
@@ -1,322 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`renders the ErrorSummary 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(ErrorSummary)>
|
|
315
|
-
<div
|
|
316
|
-
className="govgr-error-summary"
|
|
317
|
-
>
|
|
318
|
-
this is some random warning text
|
|
319
|
-
</div>
|
|
320
|
-
</ForwardRef(ErrorSummary)>
|
|
321
|
-
</ThemeProvider>
|
|
322
|
-
`;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Error Summary
|
|
3
|
-
parent: docs/ui/components
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Error Summary
|
|
7
|
-
|
|
8
|
-
import ErrorSummary from '@digigov/ui/core/ErrorSummary';
|
|
9
|
-
import PropsDoc from '@docs-components/propsDoc';
|
|
10
|
-
import StylesDoc from '@docs-components/stylesDoc';
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```jsx live path=core/ErrorSummary/index.tsx
|
|
15
|
-
import ErrorSummary from '@digigov/ui/core/ErrorSummary';
|
|
16
|
-
import Paragraph from '@digigov/ui/typography/Paragraph';
|
|
17
|
-
function CustomWarning (props){
|
|
18
|
-
return (
|
|
19
|
-
<ErrorSummary><Paragraph>Action Label</Paragraph></ErrorSummary>
|
|
20
|
-
)
|
|
21
|
-
}
|
|
22
|
-
export CustomErrorSummary
|
|
23
|
-
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
<br />
|
|
27
|
-
|
|
28
|
-
## When to use this component
|
|
29
|
-
|
|
30
|
-
Use this component at the top of a page to summarise any errors a user has
|
|
31
|
-
made.
|
|
32
|
-
|
|
33
|
-
When a user makes an error, you must show both an error summary and an error
|
|
34
|
-
message next to each answer that contains an error.
|
|
35
|
-
|
|
36
|
-
## How it works
|
|
37
|
-
|
|
38
|
-
You must:
|
|
39
|
-
|
|
40
|
-
- move keyboard focus to the error summary
|
|
41
|
-
- include the heading "There is a problem"
|
|
42
|
-
- link to each of the answers that have validation errors
|
|
43
|
-
- make sure the error messages in the error summary are worded the same as
|
|
44
|
-
those which appear next to the inputs with errors
|
|
45
|
-
|
|
46
|
-
As well as showing an error summary, follow the validation pattern - for
|
|
47
|
-
example, by adding "Error: " to the beginning of the page `<title>` so screen
|
|
48
|
-
readers read it out as soon as possible.
|
|
49
|
-
|
|
50
|
-
And make your error messages clear and concise.
|
|
51
|
-
|
|
52
|
-
## API
|
|
53
|
-
|
|
54
|
-
### Properties
|
|
55
|
-
|
|
56
|
-
<PropsDoc data={ErrorSummary.__doc__} />
|
|
57
|
-
<br />
|
|
58
|
-
|
|
59
|
-
### Styles
|
|
60
|
-
|
|
61
|
-
<StylesDoc data={ErrorSummary.__doc__} />
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import mountWithTheme from '@digigov/ui/test-utils/mountWithTheme';
|
|
3
|
-
import Component from '.';
|
|
4
|
-
|
|
5
|
-
var _ref = /*#__PURE__*/React.createElement(Component, null, "this is some random warning text");
|
|
6
|
-
|
|
7
|
-
it('renders the ErrorSummary with sample data', function () {
|
|
8
|
-
expect(mountWithTheme(_ref)).toMatchSnapshot();
|
|
9
|
-
});
|
package/esm/core/Hidden/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '@digigov/react-core/Hidden';
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Provider 1`] = `
|
|
4
|
-
<LinkProvider
|
|
5
|
-
component={[Function]}
|
|
6
|
-
>
|
|
7
|
-
<ForwardRef(WrappedLink)>
|
|
8
|
-
<CustomLink
|
|
9
|
-
href=""
|
|
10
|
-
>
|
|
11
|
-
<div>
|
|
12
|
-
hello
|
|
13
|
-
</div>
|
|
14
|
-
</CustomLink>
|
|
15
|
-
</ForwardRef(WrappedLink)>
|
|
16
|
-
</LinkProvider>
|
|
17
|
-
`;
|
|
18
|
-
|
|
19
|
-
exports[`renders the Link 1`] = `
|
|
20
|
-
<ForwardRef(WrappedLink)>
|
|
21
|
-
<CommonLink
|
|
22
|
-
href=""
|
|
23
|
-
>
|
|
24
|
-
<a
|
|
25
|
-
href=""
|
|
26
|
-
>
|
|
27
|
-
hello
|
|
28
|
-
</a>
|
|
29
|
-
</CommonLink>
|
|
30
|
-
</ForwardRef(WrappedLink)>
|
|
31
|
-
`;
|
package/esm/core/Link/index.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["children", "href"];
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
export var CommonLink = function CommonLink(props) {
|
|
6
|
-
return /*#__PURE__*/React.createElement("a", props, props.children);
|
|
7
|
-
};
|
|
8
|
-
var LinkComponentContext = /*#__PURE__*/React.createContext(CommonLink);
|
|
9
|
-
export var LinkProvider = function LinkProvider(props) {
|
|
10
|
-
return /*#__PURE__*/React.createElement(LinkComponentContext.Provider, {
|
|
11
|
-
value: props.component
|
|
12
|
-
}, props.children);
|
|
13
|
-
};
|
|
14
|
-
var Link = /*#__PURE__*/React.forwardRef(function WrappedLink(_ref, ref) {
|
|
15
|
-
var children = _ref.children,
|
|
16
|
-
_ref$href = _ref.href,
|
|
17
|
-
href = _ref$href === void 0 ? '' : _ref$href,
|
|
18
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
19
|
-
|
|
20
|
-
var LinkComponent = React.useContext(LinkComponentContext);
|
|
21
|
-
return /*#__PURE__*/React.createElement(LinkComponent, _extends({
|
|
22
|
-
ref: ref,
|
|
23
|
-
href: href
|
|
24
|
-
}, props), children);
|
|
25
|
-
});
|
|
26
|
-
export default Link;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { mount } from 'enzyme';
|
|
3
|
-
import Component, { LinkProvider } from '@digigov/ui/core/Link';
|
|
4
|
-
|
|
5
|
-
var CustomLink = function CustomLink(props) {
|
|
6
|
-
return /*#__PURE__*/React.createElement("div", null, props.children);
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
var _ref = /*#__PURE__*/React.createElement(Component, null, "hello");
|
|
10
|
-
|
|
11
|
-
it('renders the Link', function () {
|
|
12
|
-
expect(mount(_ref)).toMatchSnapshot();
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
var _ref2 = /*#__PURE__*/React.createElement(LinkProvider, {
|
|
16
|
-
component: CustomLink
|
|
17
|
-
}, /*#__PURE__*/React.createElement(Component, null, "hello"));
|
|
18
|
-
|
|
19
|
-
it('Provider', function () {
|
|
20
|
-
expect(mount(_ref2)).toMatchSnapshot();
|
|
21
|
-
});
|
package/esm/core/List/List.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["className", "children"];
|
|
4
|
-
import React from 'react';
|
|
5
|
-
import clsx from 'clsx';
|
|
6
|
-
import { makeStyles } from '@material-ui/core/styles';
|
|
7
|
-
export var useListItemContenttyles = makeStyles(function (theme) {
|
|
8
|
-
return {
|
|
9
|
-
root: {
|
|
10
|
-
flexGrow: 1,
|
|
11
|
-
padding: theme.spacing(0, 2)
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
}, {
|
|
15
|
-
name: 'MuiListItemContent'
|
|
16
|
-
});
|
|
17
|
-
export var ListItemContent = function ListItemContent(_ref) {
|
|
18
|
-
var className = _ref.className,
|
|
19
|
-
children = _ref.children,
|
|
20
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
21
|
-
|
|
22
|
-
var classes = useListItemContenttyles();
|
|
23
|
-
return /*#__PURE__*/React.createElement("div", _extends({
|
|
24
|
-
className: clsx(className, classes.root)
|
|
25
|
-
}, props), children);
|
|
26
|
-
};
|
|
27
|
-
export default ListItemContent;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["className", "children", "style"];
|
|
4
|
-
import React from 'react';
|
|
5
|
-
import clsx from 'clsx';
|
|
6
|
-
import { makeStyles } from '@material-ui/core/styles';
|
|
7
|
-
import Avatar from '@material-ui/core/Avatar';
|
|
8
|
-
export var useListItemIconStyles = makeStyles(function () {
|
|
9
|
-
return {
|
|
10
|
-
root: {}
|
|
11
|
-
};
|
|
12
|
-
}, {
|
|
13
|
-
name: 'MuiListItemIcon'
|
|
14
|
-
});
|
|
15
|
-
export var ListItemIcon = function ListItemIcon(_ref) {
|
|
16
|
-
var className = _ref.className,
|
|
17
|
-
children = _ref.children,
|
|
18
|
-
style = _ref.style,
|
|
19
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
20
|
-
|
|
21
|
-
var classes = useListItemIconStyles();
|
|
22
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
23
|
-
style: style,
|
|
24
|
-
className: clsx(className, classes.root)
|
|
25
|
-
}, /*#__PURE__*/React.createElement(Avatar, _extends({
|
|
26
|
-
variant: "rounded"
|
|
27
|
-
}, props), children));
|
|
28
|
-
};
|
|
29
|
-
export default ListItemIcon;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
|
-
var _excluded = ["children"];
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { makeStyles } from '@material-ui/core/styles';
|
|
5
|
-
import NormalText from '@digigov/ui/typography/NormalText';
|
|
6
|
-
export var useListItemTextStyles = makeStyles(function () {
|
|
7
|
-
return {
|
|
8
|
-
root: {}
|
|
9
|
-
};
|
|
10
|
-
}, {
|
|
11
|
-
name: 'MuiListItemText'
|
|
12
|
-
});
|
|
13
|
-
export var ListItemText = function ListItemText(_ref) {
|
|
14
|
-
var children = _ref.children,
|
|
15
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
16
|
-
|
|
17
|
-
return /*#__PURE__*/React.createElement(NormalText, props, children);
|
|
18
|
-
};
|
|
19
|
-
export default ListItemText;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["href", "linkProps", "children"];
|
|
4
|
-
import React from 'react';
|
|
5
|
-
import { makeStyles } from '@material-ui/core/styles';
|
|
6
|
-
import Title from '@digigov/ui/typography/Title';
|
|
7
|
-
import Link from '@digigov/ui/core/Link';
|
|
8
|
-
export var useListItemTitleStyles = makeStyles(function () {
|
|
9
|
-
return {
|
|
10
|
-
root: {}
|
|
11
|
-
};
|
|
12
|
-
}, {
|
|
13
|
-
name: 'MuiListItemTitle'
|
|
14
|
-
});
|
|
15
|
-
export var ListItemTitle = function ListItemTitle(_ref) {
|
|
16
|
-
var href = _ref.href,
|
|
17
|
-
linkProps = _ref.linkProps,
|
|
18
|
-
children = _ref.children,
|
|
19
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
20
|
-
|
|
21
|
-
return /*#__PURE__*/React.createElement(Title, props, href ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
22
|
-
href: href
|
|
23
|
-
}, linkProps), children) : children);
|
|
24
|
-
};
|
|
25
|
-
export default ListItemTitle;
|