@digigov/ui 0.8.4 → 0.9.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 +14 -1
- package/app/App.js +6 -8
- package/app/Header/HeaderLogo.js +19 -39
- package/app/Header/HeaderSection.js +6 -43
- package/app/Header/HeaderTitle.js +14 -91
- package/app/Header/index.js +20 -67
- package/app/Header/index.spec.js +0 -1
- package/app/PageTitle.js +45 -81
- package/core/Accordion/index.js +103 -57
- package/core/Blockquote/index.js +17 -47
- package/core/Button/BackButton.js +20 -42
- package/core/Button/ButtonLink.js +28 -0
- package/core/Button/CallToAction.js +21 -12
- package/core/Button/Icon.js +5 -47
- package/core/Button/index.js +49 -99
- package/core/Details/index.js +22 -70
- package/core/Divider/index.js +9 -9
- package/core/ErrorSummary/index.js +8 -28
- package/core/List/List.js +8 -34
- package/core/List/ListItem.js +8 -38
- package/core/List/ListItemTitle.js +1 -3
- package/core/NavList/NavListItem.js +2 -2
- package/core/NotificationBanner/index.js +49 -48
- package/core/NotificationBanner/index.spec.js +3 -1
- package/core/ServiceBadge/index.js +17 -28
- package/core/SummaryList/index.js +57 -124
- package/core/Tabs/index.js +65 -98
- package/core/WarningText/index.js +8 -41
- package/es/app/App.js +6 -8
- package/es/app/Header/HeaderLogo.js +15 -30
- package/es/app/Header/HeaderSection.js +5 -36
- package/es/app/Header/HeaderTitle.js +13 -78
- package/es/app/Header/index.js +6 -56
- package/es/app/Header/index.spec.js +0 -1
- package/es/app/PageTitle.js +46 -74
- package/es/core/Accordion/index.js +64 -52
- package/es/core/Blockquote/index.js +13 -39
- package/es/core/Button/BackButton.js +18 -36
- package/es/core/Button/ButtonLink.js +16 -0
- package/es/core/Button/CallToAction.js +19 -9
- package/es/core/Button/Icon.js +5 -35
- package/es/core/Button/index.js +26 -87
- package/es/core/Details/index.js +5 -62
- package/es/core/Divider/index.js +7 -6
- package/es/core/ErrorSummary/index.js +2 -21
- package/es/core/List/List.js +2 -26
- package/es/core/List/ListItem.js +2 -30
- package/es/core/List/ListItemTitle.js +1 -3
- package/es/core/NavList/NavListItem.js +1 -1
- package/es/core/NotificationBanner/index.js +27 -45
- package/es/core/NotificationBanner/index.spec.js +3 -1
- package/es/core/ServiceBadge/index.js +15 -25
- package/es/core/SummaryList/index.js +7 -119
- package/es/core/Tabs/index.js +33 -93
- package/es/core/WarningText/index.js +2 -33
- package/es/govgr/Footer/Copyright.js +14 -36
- package/es/govgr/Footer/HellenicRepublicLogo.js +2 -30
- package/es/govgr/Footer/LicenseCCSA.js +2 -17
- package/es/govgr/Footer/index.js +23 -69
- package/es/govgr/Logo/index.js +2 -14
- package/es/hooks/useTogglableSections.js +96 -0
- package/es/layouts/Basic/Bottom/index.js +3 -13
- package/es/layouts/Basic/Content/index.js +13 -51
- package/es/layouts/Basic/Content/index.mdx +1 -1
- package/es/layouts/Basic/Main/index.js +3 -21
- package/es/layouts/Basic/Masthead/index.js +4 -47
- package/es/layouts/Basic/Masthead/index.mdx +1 -1
- package/es/layouts/Basic/Side/index.js +6 -28
- package/es/layouts/Basic/Top/index.js +7 -36
- package/es/layouts/Basic/index.js +3 -49
- package/es/themes/grnet.js +1 -1
- package/es/typography/Caption.js +5 -21
- package/es/typography/NormalText.js +2 -10
- package/es/typography/Paragraph.js +1 -29
- package/es/typography/Title.js +40 -87
- package/es/utils/withDeprecation.js +93 -0
- package/esm/app/App.js +6 -8
- package/esm/app/Header/HeaderLogo.js +15 -30
- package/esm/app/Header/HeaderSection.js +5 -36
- package/esm/app/Header/HeaderTitle.js +13 -78
- package/esm/app/Header/index.js +6 -56
- package/esm/app/Header/index.spec.js +0 -1
- package/esm/app/PageTitle.js +46 -74
- package/esm/core/Accordion/index.js +64 -52
- package/esm/core/Blockquote/index.js +13 -39
- package/esm/core/Button/BackButton.js +18 -36
- package/esm/core/Button/ButtonLink.js +16 -0
- package/esm/core/Button/CallToAction.js +19 -9
- package/esm/core/Button/Icon.js +5 -35
- package/esm/core/Button/index.js +26 -87
- package/esm/core/Details/index.js +5 -62
- package/esm/core/Divider/index.js +7 -6
- package/esm/core/ErrorSummary/index.js +2 -21
- package/esm/core/List/List.js +2 -26
- package/esm/core/List/ListItem.js +2 -30
- package/esm/core/List/ListItemTitle.js +1 -3
- package/esm/core/NavList/NavListItem.js +1 -1
- package/esm/core/NotificationBanner/index.js +27 -45
- package/esm/core/NotificationBanner/index.spec.js +3 -1
- package/esm/core/ServiceBadge/index.js +15 -25
- package/esm/core/SummaryList/index.js +7 -119
- package/esm/core/Tabs/index.js +33 -93
- package/esm/core/WarningText/index.js +2 -33
- package/esm/govgr/Footer/Copyright.js +14 -36
- package/esm/govgr/Footer/HellenicRepublicLogo.js +2 -30
- package/esm/govgr/Footer/LicenseCCSA.js +2 -17
- package/esm/govgr/Footer/index.js +23 -69
- package/esm/govgr/Logo/index.js +2 -14
- package/esm/hooks/useTogglableSections.js +96 -0
- package/esm/index.js +1 -1
- package/esm/layouts/Basic/Bottom/index.js +3 -13
- package/esm/layouts/Basic/Content/index.js +13 -51
- package/esm/layouts/Basic/Content/index.mdx +1 -1
- package/esm/layouts/Basic/Main/index.js +3 -21
- package/esm/layouts/Basic/Masthead/index.js +4 -47
- package/esm/layouts/Basic/Masthead/index.mdx +1 -1
- package/esm/layouts/Basic/Side/index.js +6 -28
- package/esm/layouts/Basic/Top/index.js +7 -36
- package/esm/layouts/Basic/index.js +3 -49
- package/esm/themes/grnet.js +1 -1
- package/esm/typography/Caption.js +5 -21
- package/esm/typography/NormalText.js +2 -10
- package/esm/typography/Paragraph.js +1 -29
- package/esm/typography/Title.js +40 -87
- package/esm/utils/withDeprecation.js +93 -0
- package/govgr/Footer/Copyright.js +15 -42
- package/govgr/Footer/HellenicRepublicLogo.js +8 -39
- package/govgr/Footer/LicenseCCSA.js +2 -19
- package/govgr/Footer/index.js +23 -72
- package/govgr/Logo/index.js +9 -28
- package/hooks/useTogglableSections.js +108 -0
- package/layouts/Basic/Bottom/index.js +10 -19
- package/layouts/Basic/Content/index.js +16 -68
- package/layouts/Basic/Content/index.mdx +1 -1
- package/layouts/Basic/Main/index.js +10 -23
- package/layouts/Basic/Masthead/index.js +17 -54
- package/layouts/Basic/Masthead/index.mdx +1 -1
- package/layouts/Basic/Side/index.js +9 -35
- package/layouts/Basic/Top/index.js +7 -40
- package/layouts/Basic/index.js +4 -57
- package/{api → libs/ui/src/api}/APIErrors.d.ts +0 -0
- package/{api → libs/ui/src/api}/APIProvider.d.ts +0 -0
- package/{api → libs/ui/src/api}/fetchAPI.d.ts +0 -0
- package/{api → libs/ui/src/api}/index.d.ts +0 -0
- package/{api → libs/ui/src/api}/index.spec.d.ts +0 -0
- package/{api → libs/ui/src/api}/useResource.d.ts +0 -0
- package/{api → libs/ui/src/api}/useResourceAction.d.ts +0 -0
- package/{api → libs/ui/src/api}/useResourceQuery.d.ts +0 -0
- package/{api → libs/ui/src/api}/utils.d.ts +0 -0
- package/{app → libs/ui/src/app}/App.d.ts +0 -0
- package/libs/ui/src/app/Header/HeaderLogo.d.ts +3 -0
- package/libs/ui/src/app/Header/HeaderSection.d.ts +5 -0
- package/libs/ui/src/app/Header/HeaderTitle.d.ts +5 -0
- package/libs/ui/src/app/Header/index.d.ts +9 -0
- package/{app → libs/ui/src/app}/Header/index.spec.d.ts +0 -0
- package/{app → libs/ui/src/app}/NotFound/index.d.ts +0 -0
- package/{app → libs/ui/src/app}/OutdatedBrowserBanner.d.ts +0 -0
- package/libs/ui/src/app/PageTitle.d.ts +10 -0
- package/{app → libs/ui/src/app}/QrCodeScanner/index.d.ts +0 -0
- package/{app → libs/ui/src/app}/QrCodeScanner/index.spec.d.ts +0 -0
- package/{app → libs/ui/src/app}/i18n.d.ts +0 -0
- package/{app → libs/ui/src/app}/index.d.ts +0 -0
- package/libs/ui/src/core/Accordion/index.d.ts +21 -0
- package/{core → libs/ui/src/core}/Accordion/index.spec.d.ts +0 -0
- package/libs/ui/src/core/Blockquote/index.d.ts +3 -0
- package/{core → libs/ui/src/core}/Blockquote/index.spec.d.ts +0 -0
- package/libs/ui/src/core/Button/BackButton.d.ts +3 -0
- package/libs/ui/src/core/Button/ButtonLink.d.ts +4 -0
- package/libs/ui/src/core/Button/CallToAction.d.ts +7 -0
- package/libs/ui/src/core/Button/Icon.d.ts +2 -0
- package/libs/ui/src/core/Button/index.d.ts +14 -0
- package/{core → libs/ui/src/core}/Button/index.spec.d.ts +0 -0
- package/libs/ui/src/core/Details/index.d.ts +5 -0
- package/{core → libs/ui/src/core}/Details/index.spec.d.ts +0 -0
- package/libs/ui/src/core/Divider/index.d.ts +5 -0
- package/libs/ui/src/core/ErrorSummary/index.d.ts +3 -0
- package/{core → libs/ui/src/core}/ErrorSummary/index.spec.d.ts +0 -0
- package/{core → libs/ui/src/core}/Link/index.d.ts +0 -0
- package/{core → libs/ui/src/core}/Link/index.spec.d.ts +0 -0
- package/libs/ui/src/core/List/List.d.ts +3 -0
- package/libs/ui/src/core/List/ListItem.d.ts +3 -0
- package/{core → libs/ui/src/core}/List/ListItemContent.d.ts +0 -0
- package/{core → libs/ui/src/core}/List/ListItemIcon.d.ts +0 -0
- package/{core → libs/ui/src/core}/List/ListItemText.d.ts +1 -0
- package/{core → libs/ui/src/core}/List/ListItemTitle.d.ts +0 -0
- package/{core → libs/ui/src/core}/List/index.d.ts +0 -0
- package/{core → libs/ui/src/core}/List/index.spec.d.ts +0 -0
- package/{core → libs/ui/src/core}/NavList/NavList.d.ts +1 -1
- package/{core → libs/ui/src/core}/NavList/NavListContext.d.ts +0 -0
- package/{core → libs/ui/src/core}/NavList/NavListItem.d.ts +0 -0
- package/{core → libs/ui/src/core}/NavList/NavListItemBase.d.ts +1 -1
- package/{core → libs/ui/src/core}/NavList/NavListSubMenu.d.ts +0 -0
- package/{core → libs/ui/src/core}/NavList/index.d.ts +0 -0
- package/{core → libs/ui/src/core}/NavList/index.spec.d.ts +0 -0
- package/libs/ui/src/core/NotificationBanner/index.d.ts +17 -0
- package/{core → libs/ui/src/core}/NotificationBanner/index.spec.d.ts +0 -0
- package/libs/ui/src/core/ServiceBadge/index.d.ts +8 -0
- package/libs/ui/src/core/SummaryList/index.d.ts +7 -0
- package/{core → libs/ui/src/core}/SummaryList/index.spec.d.ts +0 -0
- package/libs/ui/src/core/Tabs/index.d.ts +16 -0
- package/libs/ui/src/core/WarningText/index.d.ts +3 -0
- package/{core → libs/ui/src/core}/WarningText/index.spec.d.ts +0 -0
- package/{core → libs/ui/src/core}/index.d.ts +0 -0
- package/{govgr → libs/ui/src/govgr}/Footer/Copyright.d.ts +1 -1
- package/libs/ui/src/govgr/Footer/HellenicRepublicLogo.d.ts +3 -0
- package/{govgr → libs/ui/src/govgr}/Footer/LicenseCCSA.d.ts +0 -0
- package/{govgr → libs/ui/src/govgr}/Footer/index.d.ts +3 -3
- package/{govgr → libs/ui/src/govgr}/Footer/logo.d.ts +0 -0
- package/libs/ui/src/govgr/Footer/logos/logo-el.d.ts +2 -0
- package/libs/ui/src/govgr/Footer/logos/logo-en.d.ts +2 -0
- package/libs/ui/src/govgr/Logo/index.d.ts +3 -0
- package/{govgr → libs/ui/src/govgr}/Logo/logo.d.ts +0 -0
- package/{govgr → libs/ui/src/govgr}/index.d.ts +0 -0
- package/{hooks → libs/ui/src/hooks}/useDebounce.d.ts +0 -0
- package/{hooks → libs/ui/src/hooks}/useLatest.d.ts +0 -0
- package/{hooks → libs/ui/src/hooks}/useOutdatedBrowserCheck.d.ts +0 -0
- package/{hooks → libs/ui/src/hooks}/useSearch.d.ts +0 -0
- package/libs/ui/src/hooks/useTogglableSections.d.ts +18 -0
- package/{index.d.ts → libs/ui/src/index.d.ts} +0 -0
- package/libs/ui/src/layouts/Basic/Bottom/index.d.ts +3 -0
- package/libs/ui/src/layouts/Basic/Content/index.d.ts +5 -0
- package/libs/ui/src/layouts/Basic/Main/index.d.ts +3 -0
- package/libs/ui/src/layouts/Basic/Masthead/index.d.ts +4 -0
- package/libs/ui/src/layouts/Basic/Side/index.d.ts +3 -0
- package/libs/ui/src/layouts/Basic/Top/index.d.ts +3 -0
- package/libs/ui/src/layouts/Basic/index.d.ts +8 -0
- package/{layouts → libs/ui/src/layouts}/Basic/index.spec.d.ts +0 -0
- package/{layouts → libs/ui/src/layouts}/index.d.ts +0 -0
- package/{locales → libs/ui/src/locales}/el.d.ts +0 -0
- package/{locales → libs/ui/src/locales}/en.d.ts +0 -0
- package/{router → libs/ui/src/router}/index.d.ts +0 -0
- package/{test-utils → libs/ui/src/test-utils}/delay.d.ts +0 -0
- package/{test-utils → libs/ui/src/test-utils}/mountWithTheme.d.ts +0 -0
- package/{themes → libs/ui/src/themes}/govgr.d.ts +0 -0
- package/{themes → libs/ui/src/themes}/grnet.d.ts +0 -0
- package/{themes → libs/ui/src/themes}/index.d.ts +0 -0
- package/libs/ui/src/typography/Caption.d.ts +7 -0
- package/libs/ui/src/typography/NormalText.d.ts +5 -0
- package/libs/ui/src/typography/Paragraph.d.ts +6 -0
- package/libs/ui/src/typography/Title.d.ts +9 -0
- package/{typography → libs/ui/src/typography}/index.d.ts +0 -0
- package/{utils → libs/ui/src/utils}/evaluateBrowserVersion.d.ts +0 -0
- package/libs/ui/src/utils/withDeprecation.d.ts +16 -0
- package/libs-ui/react-core/src/Accordion/index.d.ts +10 -0
- package/libs-ui/react-core/src/AccordionControls/index.d.ts +9 -0
- package/libs-ui/react-core/src/AccordionSection/index.d.ts +15 -0
- package/libs-ui/react-core/src/AccordionSectionContent/index.d.ts +10 -0
- package/libs-ui/react-core/src/AccordionSectionHeader/index.d.ts +9 -0
- package/libs-ui/react-core/src/Aside/index.d.ts +10 -0
- package/libs-ui/react-core/src/BackLink/index.d.ts +13 -0
- package/libs-ui/react-core/src/Blockquote/index.d.ts +9 -0
- package/libs-ui/react-core/src/Bottom/index.d.ts +9 -0
- package/libs-ui/react-core/src/Button/index.d.ts +21 -0
- package/libs-ui/react-core/src/ButtonLink/index.d.ts +17 -0
- package/libs-ui/react-core/src/CallToAction/index.d.ts +10 -0
- package/libs-ui/react-core/src/Container/index.d.ts +9 -0
- package/libs-ui/react-core/src/Copyright/index.d.ts +10 -0
- package/libs-ui/react-core/src/Details/index.d.ts +10 -0
- package/libs-ui/react-core/src/DetailsContent/index.d.ts +10 -0
- package/libs-ui/react-core/src/DetailsSummary/index.d.ts +9 -0
- package/libs-ui/react-core/src/ErrorSummary/index.d.ts +9 -0
- package/libs-ui/react-core/src/Footer/index.d.ts +9 -0
- package/libs-ui/react-core/src/FooterContainer/index.d.ts +9 -0
- package/libs-ui/react-core/src/FooterMeta/index.d.ts +11 -0
- package/libs-ui/react-core/src/FooterMetaItem/index.d.ts +14 -0
- package/libs-ui/react-core/src/GovGRLogo/index.d.ts +9 -0
- package/libs-ui/react-core/src/Grid/index.d.ts +20 -0
- package/libs-ui/react-core/src/Header/index.d.ts +10 -0
- package/libs-ui/react-core/src/HeaderLogo/index.d.ts +17 -0
- package/libs-ui/react-core/src/HeaderSection/index.d.ts +9 -0
- package/libs-ui/react-core/src/HeaderSubtitle/index.d.ts +9 -0
- package/libs-ui/react-core/src/HeaderTitle/index.d.ts +13 -0
- package/libs-ui/react-core/src/Heading/index.d.ts +21 -0
- package/libs-ui/react-core/src/HeadingCaption/index.d.ts +15 -0
- package/libs-ui/react-core/src/HellenicRepublicLogo/index.d.ts +20 -0
- package/{govgr/Footer/logos → libs-ui/react-core/src/HellenicRepublicLogo}/logo-el.d.ts +0 -0
- package/{govgr/Footer/logos → libs-ui/react-core/src/HellenicRepublicLogo}/logo-en.d.ts +0 -0
- package/libs-ui/react-core/src/Layout/index.d.ts +10 -0
- package/libs-ui/react-core/src/List/index.d.ts +18 -0
- package/libs-ui/react-core/src/ListItem/index.d.ts +9 -0
- package/libs-ui/react-core/src/Main/index.d.ts +9 -0
- package/libs-ui/react-core/src/Masthead/index.d.ts +9 -0
- package/libs-ui/react-core/src/MastheadBody/index.d.ts +9 -0
- package/libs-ui/react-core/src/NormalText/index.d.ts +28 -0
- package/libs-ui/react-core/src/NotificationBanner/index.d.ts +17 -0
- package/libs-ui/react-core/src/NotificationBannerContent/index.d.ts +12 -0
- package/libs-ui/react-core/src/NotificationBannerHeader/index.d.ts +11 -0
- package/libs-ui/react-core/src/NotificationBannerHeading/index.d.ts +11 -0
- package/libs-ui/react-core/src/Paragraph/index.d.ts +26 -0
- package/libs-ui/react-core/src/PhaseBanner/index.d.ts +15 -0
- package/libs-ui/react-core/src/PhaseBannerTag/index.d.ts +9 -0
- package/libs-ui/react-core/src/SectionBreak/index.d.ts +18 -0
- package/libs-ui/react-core/src/SummaryList/index.d.ts +10 -0
- package/libs-ui/react-core/src/SummaryListItem/index.d.ts +10 -0
- package/libs-ui/react-core/src/SummaryListItemAction/index.d.ts +10 -0
- package/libs-ui/react-core/src/SummaryListItemKey/index.d.ts +10 -0
- package/libs-ui/react-core/src/SummaryListItemValue/index.d.ts +9 -0
- package/libs-ui/react-core/src/Tabs/index.d.ts +10 -0
- package/libs-ui/react-core/src/TabsHeading/index.d.ts +15 -0
- package/libs-ui/react-core/src/TabsList/index.d.ts +10 -0
- package/libs-ui/react-core/src/TabsListItem/index.d.ts +20 -0
- package/libs-ui/react-core/src/TabsPanel/index.d.ts +16 -0
- package/libs-ui/react-core/src/Top/index.d.ts +9 -0
- package/libs-ui/react-core/src/WarningText/index.d.ts +11 -0
- package/package.json +3 -2
- package/themes/grnet.js +1 -1
- package/typography/Caption.js +5 -25
- package/typography/NormalText.js +9 -16
- package/typography/Paragraph.js +3 -39
- package/typography/Title.js +42 -88
- package/utils/withDeprecation.js +105 -0
- package/app/Header/HeaderLogo.d.ts +0 -12
- package/app/Header/HeaderSection.d.ts +0 -6
- package/app/Header/HeaderTitle.d.ts +0 -26
- package/app/Header/index.d.ts +0 -20
- package/app/PageTitle.d.ts +0 -21
- package/core/Accordion/index.d.ts +0 -23
- package/core/Blockquote/index.d.ts +0 -9
- package/core/Button/BackButton.d.ts +0 -4
- package/core/Button/CallToAction.d.ts +0 -8
- package/core/Button/Icon.d.ts +0 -9
- package/core/Button/__snapshots__/index.spec.tsx.snap +0 -145
- package/core/Button/index.d.js +0 -1
- package/core/Button/index.d.ts +0 -26
- package/core/Details/index.d.ts +0 -17
- package/core/Divider/index.d.ts +0 -6
- package/core/ErrorSummary/index.d.ts +0 -8
- package/core/List/List.d.ts +0 -10
- package/core/List/ListItem.d.ts +0 -10
- package/core/NotificationBanner/index.d.ts +0 -7
- package/core/ServiceBadge/index.d.ts +0 -7
- package/core/SummaryList/index.d.ts +0 -29
- package/core/Tabs/index.d.ts +0 -21
- package/core/WarningText/index.d.ts +0 -8
- package/es/core/Button/__snapshots__/index.spec.tsx.snap +0 -145
- package/es/core/Button/index.d.js +0 -0
- package/esm/core/Button/__snapshots__/index.spec.tsx.snap +0 -145
- package/esm/core/Button/index.d.js +0 -0
- package/govgr/Footer/HellenicRepublicLogo.d.ts +0 -6
- package/govgr/Logo/index.d.ts +0 -3
- package/layouts/Basic/Bottom/index.d.ts +0 -5
- package/layouts/Basic/Content/index.d.ts +0 -9
- package/layouts/Basic/Main/index.d.ts +0 -8
- package/layouts/Basic/Masthead/index.d.ts +0 -7
- package/layouts/Basic/Side/index.d.ts +0 -14
- package/layouts/Basic/Top/index.d.ts +0 -13
- package/layouts/Basic/index.d.ts +0 -31
- package/typography/Caption.d.ts +0 -10
- package/typography/NormalText.d.ts +0 -6
- package/typography/Paragraph.d.ts +0 -7
- package/typography/Title.d.ts +0 -16
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { GridProps } from '@material-ui/core/Grid';
|
|
3
|
-
interface SummaryListItemActionProps extends GridProps {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
handleClick?: (event: React.MouseEvent<HTMLElement>) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const SummaryListItemAction: React.FC<SummaryListItemActionProps>;
|
|
9
|
-
interface SummaryListItemValueProps extends GridProps {
|
|
10
|
-
children: React.ReactNode;
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const SummaryListItemValue: React.FC<SummaryListItemValueProps>;
|
|
14
|
-
interface SummaryListItemKeyProps extends GridProps {
|
|
15
|
-
children: React.ReactNode;
|
|
16
|
-
className?: string;
|
|
17
|
-
}
|
|
18
|
-
export declare const SummaryListItemKey: React.FC<SummaryListItemKeyProps>;
|
|
19
|
-
export interface SummaryListItemProps {
|
|
20
|
-
children: React.ReactElement<typeof SummaryListItemKey | typeof SummaryListItemValue | typeof SummaryListItemAction>[];
|
|
21
|
-
className?: string;
|
|
22
|
-
}
|
|
23
|
-
export declare const SummaryListItem: React.FC<SummaryListItemProps>;
|
|
24
|
-
export interface SummaryListProps {
|
|
25
|
-
className?: string;
|
|
26
|
-
children: React.ReactElement<typeof SummaryListItem>[] | React.ReactElement<typeof SummaryListItem>;
|
|
27
|
-
}
|
|
28
|
-
export declare const SummaryList: React.FC<SummaryListProps>;
|
|
29
|
-
export {};
|
package/core/Tabs/index.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TabsProps as MuiTabsProps } from '@material-ui/core/Tabs';
|
|
3
|
-
import { TabProps as MuiTabProps } from '@material-ui/core/Tab';
|
|
4
|
-
export interface A11Props {
|
|
5
|
-
id: string;
|
|
6
|
-
'aria-controls': string;
|
|
7
|
-
}
|
|
8
|
-
export declare function getA11yProps(index: string | number): A11Props;
|
|
9
|
-
export interface TabsProps extends MuiTabsProps {
|
|
10
|
-
}
|
|
11
|
-
export declare const Tabs: React.FC<TabsProps>;
|
|
12
|
-
export interface TabProps extends MuiTabProps {
|
|
13
|
-
}
|
|
14
|
-
export declare const Tab: React.FC<TabProps>;
|
|
15
|
-
export interface TabPanelProps {
|
|
16
|
-
children?: React.ReactNode;
|
|
17
|
-
index: string | number;
|
|
18
|
-
value: string | number;
|
|
19
|
-
}
|
|
20
|
-
export declare const TabPanel: React.FC<TabPanelProps>;
|
|
21
|
-
export default Tabs;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const useWarningTextStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"text" | "root" | "icon">;
|
|
3
|
-
export interface WarningTextProps {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const WarningText: React.FC<WarningTextProps>;
|
|
8
|
-
export default WarningText;
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`renders the button 1`] = `
|
|
4
|
-
<Button
|
|
5
|
-
color="primary"
|
|
6
|
-
size="large"
|
|
7
|
-
variant="contained"
|
|
8
|
-
xsFullWidth={false}
|
|
9
|
-
>
|
|
10
|
-
<WithStyles(ForwardRef(Button))
|
|
11
|
-
classes={
|
|
12
|
-
Object {
|
|
13
|
-
"containedPrimary": "MuiButton-containedPrimary",
|
|
14
|
-
"containedSecondary": "MuiButton-containedSecondary",
|
|
15
|
-
"disabled": "Mui-disabled",
|
|
16
|
-
"root": "MuiButton-root",
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
color="primary"
|
|
20
|
-
data-testid="button"
|
|
21
|
-
size="large"
|
|
22
|
-
variant="contained"
|
|
23
|
-
>
|
|
24
|
-
<ForwardRef(Button)
|
|
25
|
-
classes={
|
|
26
|
-
Object {
|
|
27
|
-
"colorInherit": "MuiButton-colorInherit",
|
|
28
|
-
"contained": "MuiButton-contained",
|
|
29
|
-
"containedPrimary": "MuiButton-containedPrimary MuiButton-containedPrimary",
|
|
30
|
-
"containedSecondary": "MuiButton-containedSecondary MuiButton-containedSecondary",
|
|
31
|
-
"containedSizeLarge": "MuiButton-containedSizeLarge",
|
|
32
|
-
"containedSizeSmall": "MuiButton-containedSizeSmall",
|
|
33
|
-
"disableElevation": "MuiButton-disableElevation",
|
|
34
|
-
"disabled": "Mui-disabled Mui-disabled",
|
|
35
|
-
"endIcon": "MuiButton-endIcon",
|
|
36
|
-
"focusVisible": "Mui-focusVisible",
|
|
37
|
-
"fullWidth": "MuiButton-fullWidth",
|
|
38
|
-
"iconSizeLarge": "MuiButton-iconSizeLarge",
|
|
39
|
-
"iconSizeMedium": "MuiButton-iconSizeMedium",
|
|
40
|
-
"iconSizeSmall": "MuiButton-iconSizeSmall",
|
|
41
|
-
"label": "MuiButton-label",
|
|
42
|
-
"outlined": "MuiButton-outlined",
|
|
43
|
-
"outlinedPrimary": "MuiButton-outlinedPrimary",
|
|
44
|
-
"outlinedSecondary": "MuiButton-outlinedSecondary",
|
|
45
|
-
"outlinedSizeLarge": "MuiButton-outlinedSizeLarge",
|
|
46
|
-
"outlinedSizeSmall": "MuiButton-outlinedSizeSmall",
|
|
47
|
-
"root": "MuiButton-root MuiButton-root",
|
|
48
|
-
"sizeLarge": "MuiButton-sizeLarge",
|
|
49
|
-
"sizeSmall": "MuiButton-sizeSmall",
|
|
50
|
-
"startIcon": "MuiButton-startIcon",
|
|
51
|
-
"text": "MuiButton-text",
|
|
52
|
-
"textPrimary": "MuiButton-textPrimary",
|
|
53
|
-
"textSecondary": "MuiButton-textSecondary",
|
|
54
|
-
"textSizeLarge": "MuiButton-textSizeLarge",
|
|
55
|
-
"textSizeSmall": "MuiButton-textSizeSmall",
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
color="primary"
|
|
59
|
-
data-testid="button"
|
|
60
|
-
size="large"
|
|
61
|
-
variant="contained"
|
|
62
|
-
>
|
|
63
|
-
<WithStyles(ForwardRef(ButtonBase))
|
|
64
|
-
className="MuiButton-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-containedPrimary MuiButton-containedSizeLarge MuiButton-sizeLarge"
|
|
65
|
-
component="button"
|
|
66
|
-
data-testid="button"
|
|
67
|
-
disabled={false}
|
|
68
|
-
focusRipple={true}
|
|
69
|
-
focusVisibleClassName="Mui-focusVisible"
|
|
70
|
-
type="button"
|
|
71
|
-
>
|
|
72
|
-
<ForwardRef(ButtonBase)
|
|
73
|
-
className="MuiButton-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-containedPrimary MuiButton-containedSizeLarge MuiButton-sizeLarge"
|
|
74
|
-
classes={
|
|
75
|
-
Object {
|
|
76
|
-
"disabled": "Mui-disabled",
|
|
77
|
-
"focusVisible": "Mui-focusVisible",
|
|
78
|
-
"root": "MuiButtonBase-root",
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
component="button"
|
|
82
|
-
data-testid="button"
|
|
83
|
-
disabled={false}
|
|
84
|
-
focusRipple={true}
|
|
85
|
-
focusVisibleClassName="Mui-focusVisible"
|
|
86
|
-
type="button"
|
|
87
|
-
>
|
|
88
|
-
<button
|
|
89
|
-
className="MuiButtonBase-root MuiButton-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-containedPrimary MuiButton-containedSizeLarge MuiButton-sizeLarge"
|
|
90
|
-
data-testid="button"
|
|
91
|
-
disabled={false}
|
|
92
|
-
onBlur={[Function]}
|
|
93
|
-
onDragLeave={[Function]}
|
|
94
|
-
onFocus={[Function]}
|
|
95
|
-
onKeyDown={[Function]}
|
|
96
|
-
onKeyUp={[Function]}
|
|
97
|
-
onMouseDown={[Function]}
|
|
98
|
-
onMouseLeave={[Function]}
|
|
99
|
-
onMouseUp={[Function]}
|
|
100
|
-
onTouchEnd={[Function]}
|
|
101
|
-
onTouchMove={[Function]}
|
|
102
|
-
onTouchStart={[Function]}
|
|
103
|
-
tabIndex={0}
|
|
104
|
-
type="button"
|
|
105
|
-
>
|
|
106
|
-
<span
|
|
107
|
-
className="MuiButton-label"
|
|
108
|
-
>
|
|
109
|
-
hello
|
|
110
|
-
</span>
|
|
111
|
-
<WithStyles(memo)
|
|
112
|
-
center={false}
|
|
113
|
-
>
|
|
114
|
-
<ForwardRef(TouchRipple)
|
|
115
|
-
center={false}
|
|
116
|
-
classes={
|
|
117
|
-
Object {
|
|
118
|
-
"child": "MuiTouchRipple-child",
|
|
119
|
-
"childLeaving": "MuiTouchRipple-childLeaving",
|
|
120
|
-
"childPulsate": "MuiTouchRipple-childPulsate",
|
|
121
|
-
"ripple": "MuiTouchRipple-ripple",
|
|
122
|
-
"ripplePulsate": "MuiTouchRipple-ripplePulsate",
|
|
123
|
-
"rippleVisible": "MuiTouchRipple-rippleVisible",
|
|
124
|
-
"root": "MuiTouchRipple-root",
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
>
|
|
128
|
-
<span
|
|
129
|
-
className="MuiTouchRipple-root"
|
|
130
|
-
>
|
|
131
|
-
<TransitionGroup
|
|
132
|
-
childFactory={[Function]}
|
|
133
|
-
component={null}
|
|
134
|
-
exit={true}
|
|
135
|
-
/>
|
|
136
|
-
</span>
|
|
137
|
-
</ForwardRef(TouchRipple)>
|
|
138
|
-
</WithStyles(memo)>
|
|
139
|
-
</button>
|
|
140
|
-
</ForwardRef(ButtonBase)>
|
|
141
|
-
</WithStyles(ForwardRef(ButtonBase))>
|
|
142
|
-
</ForwardRef(Button)>
|
|
143
|
-
</WithStyles(ForwardRef(Button))>
|
|
144
|
-
</Button>
|
|
145
|
-
`;
|
|
File without changes
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`renders the button 1`] = `
|
|
4
|
-
<Button
|
|
5
|
-
color="primary"
|
|
6
|
-
size="large"
|
|
7
|
-
variant="contained"
|
|
8
|
-
xsFullWidth={false}
|
|
9
|
-
>
|
|
10
|
-
<WithStyles(ForwardRef(Button))
|
|
11
|
-
classes={
|
|
12
|
-
Object {
|
|
13
|
-
"containedPrimary": "MuiButton-containedPrimary",
|
|
14
|
-
"containedSecondary": "MuiButton-containedSecondary",
|
|
15
|
-
"disabled": "Mui-disabled",
|
|
16
|
-
"root": "MuiButton-root",
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
color="primary"
|
|
20
|
-
data-testid="button"
|
|
21
|
-
size="large"
|
|
22
|
-
variant="contained"
|
|
23
|
-
>
|
|
24
|
-
<ForwardRef(Button)
|
|
25
|
-
classes={
|
|
26
|
-
Object {
|
|
27
|
-
"colorInherit": "MuiButton-colorInherit",
|
|
28
|
-
"contained": "MuiButton-contained",
|
|
29
|
-
"containedPrimary": "MuiButton-containedPrimary MuiButton-containedPrimary",
|
|
30
|
-
"containedSecondary": "MuiButton-containedSecondary MuiButton-containedSecondary",
|
|
31
|
-
"containedSizeLarge": "MuiButton-containedSizeLarge",
|
|
32
|
-
"containedSizeSmall": "MuiButton-containedSizeSmall",
|
|
33
|
-
"disableElevation": "MuiButton-disableElevation",
|
|
34
|
-
"disabled": "Mui-disabled Mui-disabled",
|
|
35
|
-
"endIcon": "MuiButton-endIcon",
|
|
36
|
-
"focusVisible": "Mui-focusVisible",
|
|
37
|
-
"fullWidth": "MuiButton-fullWidth",
|
|
38
|
-
"iconSizeLarge": "MuiButton-iconSizeLarge",
|
|
39
|
-
"iconSizeMedium": "MuiButton-iconSizeMedium",
|
|
40
|
-
"iconSizeSmall": "MuiButton-iconSizeSmall",
|
|
41
|
-
"label": "MuiButton-label",
|
|
42
|
-
"outlined": "MuiButton-outlined",
|
|
43
|
-
"outlinedPrimary": "MuiButton-outlinedPrimary",
|
|
44
|
-
"outlinedSecondary": "MuiButton-outlinedSecondary",
|
|
45
|
-
"outlinedSizeLarge": "MuiButton-outlinedSizeLarge",
|
|
46
|
-
"outlinedSizeSmall": "MuiButton-outlinedSizeSmall",
|
|
47
|
-
"root": "MuiButton-root MuiButton-root",
|
|
48
|
-
"sizeLarge": "MuiButton-sizeLarge",
|
|
49
|
-
"sizeSmall": "MuiButton-sizeSmall",
|
|
50
|
-
"startIcon": "MuiButton-startIcon",
|
|
51
|
-
"text": "MuiButton-text",
|
|
52
|
-
"textPrimary": "MuiButton-textPrimary",
|
|
53
|
-
"textSecondary": "MuiButton-textSecondary",
|
|
54
|
-
"textSizeLarge": "MuiButton-textSizeLarge",
|
|
55
|
-
"textSizeSmall": "MuiButton-textSizeSmall",
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
color="primary"
|
|
59
|
-
data-testid="button"
|
|
60
|
-
size="large"
|
|
61
|
-
variant="contained"
|
|
62
|
-
>
|
|
63
|
-
<WithStyles(ForwardRef(ButtonBase))
|
|
64
|
-
className="MuiButton-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-containedPrimary MuiButton-containedSizeLarge MuiButton-sizeLarge"
|
|
65
|
-
component="button"
|
|
66
|
-
data-testid="button"
|
|
67
|
-
disabled={false}
|
|
68
|
-
focusRipple={true}
|
|
69
|
-
focusVisibleClassName="Mui-focusVisible"
|
|
70
|
-
type="button"
|
|
71
|
-
>
|
|
72
|
-
<ForwardRef(ButtonBase)
|
|
73
|
-
className="MuiButton-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-containedPrimary MuiButton-containedSizeLarge MuiButton-sizeLarge"
|
|
74
|
-
classes={
|
|
75
|
-
Object {
|
|
76
|
-
"disabled": "Mui-disabled",
|
|
77
|
-
"focusVisible": "Mui-focusVisible",
|
|
78
|
-
"root": "MuiButtonBase-root",
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
component="button"
|
|
82
|
-
data-testid="button"
|
|
83
|
-
disabled={false}
|
|
84
|
-
focusRipple={true}
|
|
85
|
-
focusVisibleClassName="Mui-focusVisible"
|
|
86
|
-
type="button"
|
|
87
|
-
>
|
|
88
|
-
<button
|
|
89
|
-
className="MuiButtonBase-root MuiButton-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-containedPrimary MuiButton-containedSizeLarge MuiButton-sizeLarge"
|
|
90
|
-
data-testid="button"
|
|
91
|
-
disabled={false}
|
|
92
|
-
onBlur={[Function]}
|
|
93
|
-
onDragLeave={[Function]}
|
|
94
|
-
onFocus={[Function]}
|
|
95
|
-
onKeyDown={[Function]}
|
|
96
|
-
onKeyUp={[Function]}
|
|
97
|
-
onMouseDown={[Function]}
|
|
98
|
-
onMouseLeave={[Function]}
|
|
99
|
-
onMouseUp={[Function]}
|
|
100
|
-
onTouchEnd={[Function]}
|
|
101
|
-
onTouchMove={[Function]}
|
|
102
|
-
onTouchStart={[Function]}
|
|
103
|
-
tabIndex={0}
|
|
104
|
-
type="button"
|
|
105
|
-
>
|
|
106
|
-
<span
|
|
107
|
-
className="MuiButton-label"
|
|
108
|
-
>
|
|
109
|
-
hello
|
|
110
|
-
</span>
|
|
111
|
-
<WithStyles(memo)
|
|
112
|
-
center={false}
|
|
113
|
-
>
|
|
114
|
-
<ForwardRef(TouchRipple)
|
|
115
|
-
center={false}
|
|
116
|
-
classes={
|
|
117
|
-
Object {
|
|
118
|
-
"child": "MuiTouchRipple-child",
|
|
119
|
-
"childLeaving": "MuiTouchRipple-childLeaving",
|
|
120
|
-
"childPulsate": "MuiTouchRipple-childPulsate",
|
|
121
|
-
"ripple": "MuiTouchRipple-ripple",
|
|
122
|
-
"ripplePulsate": "MuiTouchRipple-ripplePulsate",
|
|
123
|
-
"rippleVisible": "MuiTouchRipple-rippleVisible",
|
|
124
|
-
"root": "MuiTouchRipple-root",
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
>
|
|
128
|
-
<span
|
|
129
|
-
className="MuiTouchRipple-root"
|
|
130
|
-
>
|
|
131
|
-
<TransitionGroup
|
|
132
|
-
childFactory={[Function]}
|
|
133
|
-
component={null}
|
|
134
|
-
exit={true}
|
|
135
|
-
/>
|
|
136
|
-
</span>
|
|
137
|
-
</ForwardRef(TouchRipple)>
|
|
138
|
-
</WithStyles(memo)>
|
|
139
|
-
</button>
|
|
140
|
-
</ForwardRef(ButtonBase)>
|
|
141
|
-
</WithStyles(ForwardRef(ButtonBase))>
|
|
142
|
-
</ForwardRef(Button)>
|
|
143
|
-
</WithStyles(ForwardRef(Button))>
|
|
144
|
-
</Button>
|
|
145
|
-
`;
|
|
File without changes
|
package/govgr/Logo/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { GridProps as MuiGridProps } from '@material-ui/core/Grid';
|
|
3
|
-
import { ContainerProps as MuiContainerProps } from '@material-ui/core/Container';
|
|
4
|
-
export interface ContentProps extends MuiGridProps {
|
|
5
|
-
maxWidth?: MuiContainerProps['maxWidth'];
|
|
6
|
-
flex?: number;
|
|
7
|
-
dense?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const Content: React.FC<ContentProps>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ContentProps } from '@digigov/ui/layouts/Basic/Content';
|
|
3
|
-
export interface MastheadProps extends ContentProps {
|
|
4
|
-
variant?: 'default' | 'grey';
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const Masthead: React.FC<MastheadProps>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { GridProps as MuiGridProps } from '@material-ui/core/Grid';
|
|
3
|
-
import { BaseCSSProperties } from '@material-ui/core/styles/withStyles';
|
|
4
|
-
/**
|
|
5
|
-
* The right *Side* section of the layout.
|
|
6
|
-
*
|
|
7
|
-
* Include content supplementary to the content of the *Main* section.
|
|
8
|
-
*/
|
|
9
|
-
export interface SideProps extends MuiGridProps {
|
|
10
|
-
}
|
|
11
|
-
export interface SideStyles {
|
|
12
|
-
root: BaseCSSProperties;
|
|
13
|
-
}
|
|
14
|
-
export declare const Side: React.FC<SideProps>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { GridProps as MuiGridProps } from '@material-ui/core/Grid';
|
|
3
|
-
export interface TopProps extends MuiGridProps {
|
|
4
|
-
dense?: boolean;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* The *Top* section of the layout.
|
|
8
|
-
*
|
|
9
|
-
* Top section covers the full width of the page. Suggested height of the
|
|
10
|
-
* elements inside the section is 50-100px.
|
|
11
|
-
*/
|
|
12
|
-
export declare const Top: React.FC<TopProps>;
|
|
13
|
-
export default Top;
|
package/layouts/Basic/index.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { GridProps as MuiGridProps } from '@material-ui/core/Grid';
|
|
3
|
-
import { ContainerProps } from '@material-ui/core/Container';
|
|
4
|
-
import { BaseCSSProperties } from '@material-ui/core/styles/withStyles';
|
|
5
|
-
export interface GridProps extends MuiGridProps {
|
|
6
|
-
}
|
|
7
|
-
export declare type LayoutStyles = GridProps['classes'] & {
|
|
8
|
-
skipToContent: BaseCSSProperties;
|
|
9
|
-
};
|
|
10
|
-
export declare const useLayoutStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"root" | "skipToContent">;
|
|
11
|
-
export interface LayoutProps extends GridProps {
|
|
12
|
-
/** label of `skip to content` link */
|
|
13
|
-
skipToContentLabel?: string;
|
|
14
|
-
/** HTML id to which the `skip to content` link will direct to. */
|
|
15
|
-
skipTopContentID?: string;
|
|
16
|
-
children: React.ReactElement<ContainerProps | GridProps>[];
|
|
17
|
-
classes?: LayoutStyles;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* *Layout* component for the basic layout.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export declare const Layout: React.FC<LayoutProps>;
|
|
24
|
-
declare const BasicLayout: React.FC<LayoutProps>;
|
|
25
|
-
export default BasicLayout;
|
|
26
|
-
export * from '@digigov/ui/layouts/Basic/Top';
|
|
27
|
-
export * from '@digigov/ui/layouts/Basic/Side';
|
|
28
|
-
export * from '@digigov/ui/layouts/Basic/Main';
|
|
29
|
-
export * from '@digigov/ui/layouts/Basic/Content';
|
|
30
|
-
export * from '@digigov/ui/layouts/Basic/Bottom';
|
|
31
|
-
export * from '@digigov/ui/layouts/Basic/Masthead';
|
package/typography/Caption.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseCSSProperties } from '@material-ui/core/styles/withStyles';
|
|
3
|
-
export interface CaptionProps {
|
|
4
|
-
classes?: {
|
|
5
|
-
caption?: BaseCSSProperties;
|
|
6
|
-
};
|
|
7
|
-
className?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const Caption: React.FC<CaptionProps>;
|
|
10
|
-
export default Caption;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TypographyProps } from '@material-ui/core/Typography';
|
|
3
|
-
export declare const useParagraphStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"paragraph">;
|
|
4
|
-
export interface ParagraphProps extends TypographyProps {
|
|
5
|
-
}
|
|
6
|
-
export declare const Paragraph: React.FC<ParagraphProps>;
|
|
7
|
-
export default Paragraph;
|
package/typography/Title.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React, { HTMLAttributes } from 'react';
|
|
2
|
-
export interface TitleStyles {
|
|
3
|
-
root?: string;
|
|
4
|
-
xl?: string;
|
|
5
|
-
lg?: string;
|
|
6
|
-
md?: string;
|
|
7
|
-
sm?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface TitleProps extends HTMLAttributes<HTMLHeadElement> {
|
|
10
|
-
size?: 'xl' | 'lg' | 'md' | 'sm' | 'xs';
|
|
11
|
-
classes?: TitleStyles;
|
|
12
|
-
dense?: boolean;
|
|
13
|
-
component?: any;
|
|
14
|
-
}
|
|
15
|
-
declare const RefTitle: React.ForwardRefExoticComponent<TitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
16
|
-
export default RefTitle;
|