@digigov/react-core 2.0.8 → 2.0.9-platform-196.17-02-26-12-34
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/.prettierrc.cjs +1 -0
- package/.turbo/turbo-build.log +15 -0
- package/CHANGELOG.json +1750 -0
- package/eslint.config.mjs +3 -0
- package/nativewind-env.d.ts +1 -0
- package/package.json +54 -7
- package/tsconfig.json +16 -0
- package/tsconfig.production.json +7 -0
- package/Accordion/index.d.ts +0 -2
- package/Accordion/index.js +0 -3
- package/Accordion/index.native.d.ts +0 -2
- package/Accordion/index.native.js +0 -15
- package/Accordion/index.web.d.ts +0 -28
- package/Accordion/index.web.js +0 -20
- package/AccordionControls/index.d.ts +0 -9
- package/AccordionControls/index.js +0 -15
- package/AccordionSection/index.d.ts +0 -2
- package/AccordionSection/index.js +0 -3
- package/AccordionSection/index.native.d.ts +0 -2
- package/AccordionSection/index.native.js +0 -12
- package/AccordionSection/index.web.d.ts +0 -10
- package/AccordionSection/index.web.js +0 -15
- package/AccordionSectionContent/index.d.ts +0 -10
- package/AccordionSectionContent/index.js +0 -15
- package/AccordionSectionSummary/index.d.ts +0 -9
- package/AccordionSectionSummary/index.js +0 -17
- package/AccordionSectionSummaryHeading/index.d.ts +0 -10
- package/AccordionSectionSummaryHeading/index.js +0 -22
- package/AdminAside/index.d.ts +0 -9
- package/AdminAside/index.js +0 -16
- package/AdminContainer/index.d.ts +0 -17
- package/AdminContainer/index.js +0 -16
- package/AdminHeader/index.d.ts +0 -10
- package/AdminHeader/index.js +0 -15
- package/AdminHeaderContent/index.d.ts +0 -9
- package/AdminHeaderContent/index.js +0 -14
- package/AdminLayout/index.d.ts +0 -9
- package/AdminLayout/index.js +0 -15
- package/AdminMain/index.d.ts +0 -9
- package/AdminMain/index.js +0 -15
- package/AdminTopSection/index.d.ts +0 -25
- package/AdminTopSection/index.js +0 -17
- package/Aside/index.d.ts +0 -27
- package/Aside/index.js +0 -21
- package/AutoCompleteAssistiveHint/index.d.ts +0 -11
- package/AutoCompleteAssistiveHint/index.js +0 -15
- package/AutoCompleteContainer/index.d.ts +0 -22
- package/AutoCompleteContainer/index.js +0 -21
- package/AutoCompleteInputBase/index.d.ts +0 -17
- package/AutoCompleteInputBase/index.js +0 -18
- package/AutoCompleteMultipleInput/index.d.ts +0 -9
- package/AutoCompleteMultipleInput/index.js +0 -16
- package/AutoCompleteMultipleInputContainer/index.d.ts +0 -12
- package/AutoCompleteMultipleInputContainer/index.js +0 -17
- package/AutoCompleteResultList/index.d.ts +0 -20
- package/AutoCompleteResultList/index.js +0 -16
- package/AutoCompleteResultListItem/index.d.ts +0 -47
- package/AutoCompleteResultListItem/index.js +0 -19
- package/AutoCompleteStatus/index.d.ts +0 -10
- package/AutoCompleteStatus/index.js +0 -18
- package/AutoCompleteStatusContainer/index.d.ts +0 -10
- package/AutoCompleteStatusContainer/index.js +0 -15
- package/BackLinkBase/index.d.ts +0 -9
- package/BackLinkBase/index.js +0 -22
- package/BackToTopContainer/index.d.ts +0 -17
- package/BackToTopContainer/index.js +0 -20
- package/BackToTopLimit/index.d.ts +0 -9
- package/BackToTopLimit/index.js +0 -13
- package/BackToTopLink/index.d.ts +0 -9
- package/BackToTopLink/index.js +0 -21
- package/BannerContainer/index.d.ts +0 -6
- package/BannerContainer/index.js +0 -15
- package/Base/compat/Input/CheckboxInput.native.d.ts +0 -4
- package/Base/compat/Input/CheckboxInput.native.js +0 -24
- package/Base/compat/Input/RadioInput.native.d.ts +0 -4
- package/Base/compat/Input/RadioInput.native.js +0 -24
- package/Base/compat/Input/StringInput.native.d.ts +0 -7
- package/Base/compat/Input/StringInput.native.js +0 -79
- package/Base/compat/Input/index.native.d.ts +0 -7
- package/Base/compat/Input/index.native.js +0 -25
- package/Base/compat/button.native.d.ts +0 -5
- package/Base/compat/button.native.js +0 -36
- package/Base/compat/details.native.d.ts +0 -9
- package/Base/compat/details.native.js +0 -29
- package/Base/compat/li.native.d.ts +0 -4
- package/Base/compat/li.native.js +0 -4
- package/Base/compat/ol.native.d.ts +0 -6
- package/Base/compat/ol.native.js +0 -24
- package/Base/index.d.ts +0 -2
- package/Base/index.js +0 -3
- package/Base/index.native.d.ts +0 -7
- package/Base/index.native.js +0 -111
- package/Base/index.web.d.ts +0 -104
- package/Base/index.web.js +0 -53
- package/Base/mapping.native.d.ts +0 -6
- package/Base/mapping.native.js +0 -36
- package/Base/utils.d.ts +0 -40
- package/Base/utils.js +0 -46
- package/Base/wrap.native.d.ts +0 -2
- package/Base/wrap.native.js +0 -67
- package/Blockquote/index.d.ts +0 -16
- package/Blockquote/index.js +0 -16
- package/Bottom/index.d.ts +0 -9
- package/Bottom/index.js +0 -15
- package/BottomInfo/index.d.ts +0 -9
- package/BottomInfo/index.js +0 -14
- package/BottomInfoContainer/index.d.ts +0 -9
- package/BottomInfoContainer/index.js +0 -14
- package/BottomInfoContent/index.d.ts +0 -9
- package/BottomInfoContent/index.js +0 -16
- package/Breadcrumbs/index.d.ts +0 -10
- package/Breadcrumbs/index.js +0 -16
- package/BreadcrumbsList/index.d.ts +0 -9
- package/BreadcrumbsList/index.js +0 -15
- package/BreadcrumbsListItemLinkBase/index.d.ts +0 -14
- package/BreadcrumbsListItemLinkBase/index.js +0 -15
- package/BreadcrumbsListItemWrapper/index.d.ts +0 -10
- package/BreadcrumbsListItemWrapper/index.js +0 -15
- package/Button/index.d.ts +0 -35
- package/Button/index.js +0 -25
- package/ButtonGroup/index.d.ts +0 -9
- package/ButtonGroup/index.js +0 -15
- package/ButtonLinkBase/index.d.ts +0 -28
- package/ButtonLinkBase/index.js +0 -19
- package/CallToActionBase/index.d.ts +0 -9
- package/CallToActionBase/index.js +0 -18
- package/Card/index.d.ts +0 -50
- package/Card/index.js +0 -28
- package/CardAction/index.d.ts +0 -11
- package/CardAction/index.js +0 -15
- package/CardContent/index.d.ts +0 -10
- package/CardContent/index.js +0 -15
- package/CardHeading/index.d.ts +0 -10
- package/CardHeading/index.js +0 -17
- package/Checkbox/index.d.ts +0 -27
- package/Checkbox/index.js +0 -17
- package/CheckboxConditional/index.d.ts +0 -11
- package/CheckboxConditional/index.js +0 -17
- package/CheckboxItem/index.d.ts +0 -17
- package/CheckboxItem/index.js +0 -27
- package/CheckboxItemInput/index.d.ts +0 -2
- package/CheckboxItemInput/index.js +0 -3
- package/CheckboxItemInput/index.web.d.ts +0 -10
- package/CheckboxItemInput/index.web.js +0 -19
- package/Chip/index.d.ts +0 -14
- package/Chip/index.js +0 -28
- package/ChipContainer/index.d.ts +0 -14
- package/ChipContainer/index.js +0 -16
- package/ChipHeading/index.d.ts +0 -10
- package/ChipHeading/index.js +0 -12
- package/ChipKeyValue/index.d.ts +0 -10
- package/ChipKeyValue/index.js +0 -15
- package/ChoiceDividerText/index.d.ts +0 -10
- package/ChoiceDividerText/index.js +0 -15
- package/CircularProgressBase/index.d.ts +0 -27
- package/CircularProgressBase/index.js +0 -28
- package/CloseButton/index.d.ts +0 -15
- package/CloseButton/index.js +0 -16
- package/Code/index.d.ts +0 -18
- package/Code/index.js +0 -19
- package/CodeBlockContainer/index.d.ts +0 -10
- package/CodeBlockContainer/index.js +0 -15
- package/CodeBlockContent/index.d.ts +0 -10
- package/CodeBlockContent/index.js +0 -18
- package/CodeBlockHeader/index.d.ts +0 -19
- package/CodeBlockHeader/index.js +0 -16
- package/Container/index.d.ts +0 -23
- package/Container/index.js +0 -19
- package/CopyToClipboardContainer/index.d.ts +0 -2
- package/CopyToClipboardContainer/index.js +0 -3
- package/CopyToClipboardContainer/index.web.d.ts +0 -31
- package/CopyToClipboardContainer/index.web.js +0 -25
- package/CopyToClipboardMessage/index.d.ts +0 -2
- package/CopyToClipboardMessage/index.js +0 -3
- package/CopyToClipboardMessage/index.native.d.ts +0 -4
- package/CopyToClipboardMessage/index.native.js +0 -12
- package/CopyToClipboardMessage/index.web.d.ts +0 -18
- package/CopyToClipboardMessage/index.web.js +0 -16
- package/CopyrightContainer/index.d.ts +0 -10
- package/CopyrightContainer/index.js +0 -15
- package/DateInputContainer/index.d.ts +0 -19
- package/DateInputContainer/index.js +0 -16
- package/DateInputItem/index.d.ts +0 -2
- package/DateInputItem/index.js +0 -3
- package/DateInputItem/index.native.d.ts +0 -2
- package/DateInputItem/index.native.js +0 -8
- package/DateInputItem/index.web.d.ts +0 -26
- package/DateInputItem/index.web.js +0 -26
- package/Details/index.d.ts +0 -2
- package/Details/index.js +0 -3
- package/Details/index.native.d.ts +0 -2
- package/Details/index.native.js +0 -11
- package/Details/index.web.d.ts +0 -10
- package/Details/index.web.js +0 -15
- package/DetailsContent/index.d.ts +0 -11
- package/DetailsContent/index.js +0 -16
- package/DetailsSummary/index.d.ts +0 -10
- package/DetailsSummary/index.js +0 -16
- package/Drawer/index.d.ts +0 -46
- package/Drawer/index.js +0 -31
- package/DrawerHeading/index.d.ts +0 -16
- package/DrawerHeading/index.js +0 -19
- package/DropdownBase/index.d.ts +0 -39
- package/DropdownBase/index.js +0 -19
- package/DropdownButton/index.d.ts +0 -45
- package/DropdownButton/index.js +0 -26
- package/DropdownContent/index.d.ts +0 -25
- package/DropdownContent/index.js +0 -17
- package/ErrorMessage/index.d.ts +0 -11
- package/ErrorMessage/index.js +0 -15
- package/ErrorSummary/index.d.ts +0 -25
- package/ErrorSummary/index.js +0 -16
- package/FieldContainer/index.d.ts +0 -15
- package/FieldContainer/index.js +0 -20
- package/Fieldset/index.d.ts +0 -10
- package/Fieldset/index.js +0 -15
- package/FieldsetLegend/index.d.ts +0 -27
- package/FieldsetLegend/index.js +0 -20
- package/FileUpload/index.d.ts +0 -24
- package/FileUpload/index.js +0 -28
- package/FileUploadContainer/index.d.ts +0 -24
- package/FileUploadContainer/index.js +0 -16
- package/FillableText/index.d.ts +0 -10
- package/FillableText/index.js +0 -15
- package/FilterContainer/index.d.ts +0 -40
- package/FilterContainer/index.js +0 -30
- package/FilterContent/index.d.ts +0 -9
- package/FilterContent/index.js +0 -15
- package/FilterHeadingContainer/index.d.ts +0 -24
- package/FilterHeadingContainer/index.js +0 -20
- package/FilterOptionsSection/index.d.ts +0 -14
- package/FilterOptionsSection/index.js +0 -16
- package/FilterSelectedHeading/index.d.ts +0 -9
- package/FilterSelectedHeading/index.js +0 -15
- package/FilterSelectedSection/index.d.ts +0 -9
- package/FilterSelectedSection/index.js +0 -15
- package/Footer/index.d.ts +0 -9
- package/Footer/index.js +0 -15
- package/FooterContainer/index.d.ts +0 -9
- package/FooterContainer/index.js +0 -11
- package/FooterContent/index.d.ts +0 -10
- package/FooterContent/index.js +0 -15
- package/FooterContentLogos/index.d.ts +0 -11
- package/FooterContentLogos/index.js +0 -15
- package/FooterHeading/index.d.ts +0 -18
- package/FooterHeading/index.js +0 -16
- package/FooterImage/index.d.ts +0 -11
- package/FooterImage/index.js +0 -16
- package/FooterInfo/index.d.ts +0 -11
- package/FooterInfo/index.js +0 -15
- package/FooterInfoSection/index.d.ts +0 -14
- package/FooterInfoSection/index.js +0 -16
- package/FooterLinkBase/index.d.ts +0 -9
- package/FooterLinkBase/index.js +0 -15
- package/FooterList/index.d.ts +0 -23
- package/FooterList/index.js +0 -17
- package/FooterListItem/index.d.ts +0 -10
- package/FooterListItem/index.js +0 -15
- package/FooterNavigation/index.d.ts +0 -11
- package/FooterNavigation/index.js +0 -15
- package/FooterNavigationSection/index.d.ts +0 -11
- package/FooterNavigationSection/index.js +0 -15
- package/Form/index.d.ts +0 -16
- package/Form/index.js +0 -16
- package/FullPageBackground/index.d.ts +0 -10
- package/FullPageBackground/index.js +0 -15
- package/GovGRLogoBase/govgr-logo-base64.d.ts +0 -2
- package/GovGRLogoBase/govgr-logo-base64.js +0 -2
- package/GovGRLogoBase/govgr-logo-blue-base64.d.ts +0 -2
- package/GovGRLogoBase/govgr-logo-blue-base64.js +0 -2
- package/GovGRLogoBase/index.d.ts +0 -9
- package/GovGRLogoBase/index.js +0 -30
- package/Grid/index.d.ts +0 -83
- package/Grid/index.js +0 -28
- package/Header/index.d.ts +0 -10
- package/Header/index.js +0 -17
- package/HeaderContent/index.d.ts +0 -9
- package/HeaderContent/index.js +0 -15
- package/HeaderLogoBase/index.d.ts +0 -19
- package/HeaderLogoBase/index.js +0 -22
- package/HeaderNavMenuContent/index.d.ts +0 -11
- package/HeaderNavMenuContent/index.js +0 -15
- package/HeaderSecondaryLogoBase/index.d.ts +0 -19
- package/HeaderSecondaryLogoBase/index.js +0 -22
- package/HeaderSection/index.d.ts +0 -9
- package/HeaderSection/index.js +0 -15
- package/HeaderTitleBase/index.d.ts +0 -9
- package/HeaderTitleBase/index.js +0 -16
- package/Heading/index.d.ts +0 -31
- package/Heading/index.js +0 -33
- package/HeadingCaption/index.d.ts +0 -19
- package/HeadingCaption/index.js +0 -15
- package/HellenicRepublicLogo/index.d.ts +0 -17
- package/HellenicRepublicLogo/index.js +0 -32
- package/HellenicRepublicLogo/logo-el.d.ts +0 -2
- package/HellenicRepublicLogo/logo-el.js +0 -2
- package/HellenicRepublicLogo/logo-en.d.ts +0 -2
- package/HellenicRepublicLogo/logo-en.js +0 -2
- package/HellenicRepublicLogo/logo-inverted-el.d.ts +0 -2
- package/HellenicRepublicLogo/logo-inverted-el.js +0 -2
- package/HellenicRepublicLogo/logo-inverted-en.d.ts +0 -2
- package/HellenicRepublicLogo/logo-inverted-en.js +0 -2
- package/Hidden/index.d.ts +0 -71
- package/Hidden/index.js +0 -21
- package/Hint/index.d.ts +0 -22
- package/Hint/index.js +0 -18
- package/ImageLogo/index.d.ts +0 -20
- package/ImageLogo/index.js +0 -18
- package/ImageLogoSet/index.d.ts +0 -20
- package/ImageLogoSet/index.js +0 -19
- package/KitchenSinkAllComponents/index.d.ts +0 -5
- package/KitchenSinkAllComponents/index.js +0 -14
- package/KitchenSinkCard/index.d.ts +0 -5
- package/KitchenSinkCard/index.js +0 -15
- package/KitchenSinkCategory/index.d.ts +0 -5
- package/KitchenSinkCategory/index.js +0 -14
- package/KitchenSinkContent/index.d.ts +0 -14
- package/KitchenSinkContent/index.js +0 -15
- package/KitchenSinkContentInfo/index.d.ts +0 -5
- package/KitchenSinkContentInfo/index.js +0 -14
- package/KitchenSinkContentTags/index.d.ts +0 -5
- package/KitchenSinkContentTags/index.js +0 -14
- package/KitchenSinkHeading/index.d.ts +0 -5
- package/KitchenSinkHeading/index.js +0 -13
- package/KitchenSinkLetterContent/index.d.ts +0 -5
- package/KitchenSinkLetterContent/index.js +0 -14
- package/LabelContainer/index.d.ts +0 -9
- package/LabelContainer/index.js +0 -15
- package/LabelTitle/index.d.ts +0 -26
- package/LabelTitle/index.js +0 -20
- package/LabeledText/index.d.ts +0 -18
- package/LabeledText/index.js +0 -16
- package/Layout/index.d.ts +0 -15
- package/Layout/index.js +0 -16
- package/LinkBase/index.d.ts +0 -24
- package/LinkBase/index.js +0 -20
- package/List/index.d.ts +0 -33
- package/List/index.js +0 -19
- package/ListItem/index.d.ts +0 -9
- package/ListItem/index.js +0 -15
- package/LoaderContainer/index.d.ts +0 -9
- package/LoaderContainer/index.js +0 -15
- package/Main/index.d.ts +0 -9
- package/Main/index.js +0 -19
- package/Masthead/index.d.ts +0 -18
- package/Masthead/index.js +0 -18
- package/MastheadBody/index.d.ts +0 -9
- package/MastheadBody/index.js +0 -15
- package/MastheadLogo/index.d.ts +0 -11
- package/MastheadLogo/index.js +0 -16
- package/ModalAction/index.d.ts +0 -11
- package/ModalAction/index.js +0 -15
- package/ModalContainer/index.d.ts +0 -31
- package/ModalContainer/index.js +0 -23
- package/ModalContent/index.d.ts +0 -10
- package/ModalContent/index.js +0 -15
- package/ModalHeading/index.d.ts +0 -10
- package/ModalHeading/index.js +0 -12
- package/Nav/index.d.ts +0 -49
- package/Nav/index.js +0 -28
- package/NavList/index.d.ts +0 -31
- package/NavList/index.js +0 -19
- package/NavListItemActionBase/index.d.ts +0 -26
- package/NavListItemActionBase/index.js +0 -22
- package/NavListItemActionContainer/index.d.ts +0 -2
- package/NavListItemActionContainer/index.js +0 -3
- package/NavListItemActionContainer/index.native.d.ts +0 -5
- package/NavListItemActionContainer/index.native.js +0 -11
- package/NavListItemActionContainer/index.web.d.ts +0 -10
- package/NavListItemActionContainer/index.web.js +0 -15
- package/NavListItemBadge/index.d.ts +0 -15
- package/NavListItemBadge/index.js +0 -15
- package/NavListItemButton/index.d.ts +0 -27
- package/NavListItemButton/index.js +0 -20
- package/NavListItemLinkBase/index.d.ts +0 -17
- package/NavListItemLinkBase/index.js +0 -16
- package/NavMenuContainer/index.d.ts +0 -25
- package/NavMenuContainer/index.js +0 -25
- package/NavMenuContent/index.d.ts +0 -11
- package/NavMenuContent/index.js +0 -18
- package/NavMenuContentListBase/index.d.ts +0 -10
- package/NavMenuContentListBase/index.js +0 -15
- package/NavMenuContentListItem/index.d.ts +0 -10
- package/NavMenuContentListItem/index.js +0 -15
- package/NavMenuTitle/index.d.ts +0 -11
- package/NavMenuTitle/index.js +0 -24
- package/NormalText/index.d.ts +0 -18
- package/NormalText/index.js +0 -19
- package/NotificationBannerContainer/index.d.ts +0 -30
- package/NotificationBannerContainer/index.js +0 -20
- package/NotificationBannerContent/index.d.ts +0 -34
- package/NotificationBannerContent/index.js +0 -25
- package/NotificationBannerHeader/index.d.ts +0 -11
- package/NotificationBannerHeader/index.js +0 -23
- package/NotificationBannerHeading/index.d.ts +0 -11
- package/NotificationBannerHeading/index.js +0 -16
- package/NotificationBannerLink/index.d.ts +0 -2
- package/NotificationBannerLink/index.js +0 -3
- package/NotificationBannerLink/index.native.d.ts +0 -6
- package/NotificationBannerLink/index.native.js +0 -12
- package/NotificationBannerLink/index.web.d.ts +0 -11
- package/NotificationBannerLink/index.web.js +0 -14
- package/PageTitleCaption/index.d.ts +0 -9
- package/PageTitleCaption/index.js +0 -10
- package/PageTitleContainer/index.d.ts +0 -9
- package/PageTitleContainer/index.js +0 -15
- package/PageTitleHeading/index.d.ts +0 -10
- package/PageTitleHeading/index.js +0 -10
- package/Pagination/index.d.ts +0 -17
- package/Pagination/index.js +0 -16
- package/PaginationLabelContainer/index.d.ts +0 -9
- package/PaginationLabelContainer/index.js +0 -15
- package/PaginationList/index.d.ts +0 -9
- package/PaginationList/index.js +0 -15
- package/PaginationListItem/index.d.ts +0 -29
- package/PaginationListItem/index.js +0 -18
- package/Panel/index.d.ts +0 -15
- package/Panel/index.js +0 -16
- package/PanelBody/index.d.ts +0 -9
- package/PanelBody/index.js +0 -15
- package/PanelTitle/index.d.ts +0 -9
- package/PanelTitle/index.js +0 -15
- package/Paragraph/index.d.ts +0 -10
- package/Paragraph/index.js +0 -11
- package/PhaseBanner/index.d.ts +0 -18
- package/PhaseBanner/index.js +0 -21
- package/PhaseBannerHeaderContainer/index.d.ts +0 -6
- package/PhaseBannerHeaderContainer/index.js +0 -15
- package/PhaseBannerTag/index.d.ts +0 -9
- package/PhaseBannerTag/index.js +0 -15
- package/PhaseBannerText/index.d.ts +0 -11
- package/PhaseBannerText/index.js +0 -15
- package/RadioConditional/index.d.ts +0 -11
- package/RadioConditional/index.js +0 -17
- package/RadioContainer/index.d.ts +0 -24
- package/RadioContainer/index.js +0 -17
- package/RadioItem/index.d.ts +0 -16
- package/RadioItem/index.js +0 -31
- package/ResultsActionBar/index.d.ts +0 -9
- package/ResultsActionBar/index.js +0 -15
- package/ResultsHeading/index.d.ts +0 -10
- package/ResultsHeading/index.js +0 -15
- package/ResultsHeadingActions/index.d.ts +0 -10
- package/ResultsHeadingActions/index.js +0 -15
- package/SearchButton/index.d.ts +0 -10
- package/SearchButton/index.js +0 -15
- package/SearchContainer/index.d.ts +0 -9
- package/SearchContainer/index.js +0 -15
- package/Section/index.d.ts +0 -10
- package/Section/index.js +0 -13
- package/SectionBreak/index.d.ts +0 -26
- package/SectionBreak/index.js +0 -19
- package/SelectContainer/index.d.ts +0 -17
- package/SelectContainer/index.js +0 -16
- package/SelectOption/index.d.ts +0 -10
- package/SelectOption/index.js +0 -15
- package/SingleCharacterInput/index.d.ts +0 -18
- package/SingleCharacterInput/index.js +0 -18
- package/SingleCharacterInputs/index.d.ts +0 -11
- package/SingleCharacterInputs/index.js +0 -15
- package/Skeleton/index.d.ts +0 -49
- package/Skeleton/index.js +0 -31
- package/SkipLink/index.d.ts +0 -9
- package/SkipLink/index.js +0 -17
- package/Stack/index.d.ts +0 -41
- package/Stack/index.js +0 -26
- package/StepNav/index.d.ts +0 -17
- package/StepNav/index.js +0 -16
- package/StepNavAccordion/index.d.ts +0 -11
- package/StepNavAccordion/index.js +0 -15
- package/StepNavAccordionContent/index.d.ts +0 -10
- package/StepNavAccordionContent/index.js +0 -15
- package/StepNavAccordionHeadingText/index.d.ts +0 -22
- package/StepNavAccordionHeadingText/index.js +0 -19
- package/StepNavAccordionHeadingTitle/index.d.ts +0 -11
- package/StepNavAccordionHeadingTitle/index.js +0 -15
- package/StepNavAccordionSummary/index.d.ts +0 -9
- package/StepNavAccordionSummary/index.js +0 -16
- package/StepNavAccordionSummaryHeading/index.d.ts +0 -27
- package/StepNavAccordionSummaryHeading/index.js +0 -30
- package/StepNavCircleNumber/index.d.ts +0 -19
- package/StepNavCircleNumber/index.js +0 -20
- package/StepNavControls/index.d.ts +0 -10
- package/StepNavControls/index.js +0 -15
- package/StepNavList/index.d.ts +0 -10
- package/StepNavList/index.js +0 -15
- package/StepNavListItem/index.d.ts +0 -9
- package/StepNavListItem/index.js +0 -15
- package/SummaryList/index.d.ts +0 -36
- package/SummaryList/index.js +0 -18
- package/SummaryListItem/index.d.ts +0 -19
- package/SummaryListItem/index.js +0 -16
- package/SummaryListItemAction/index.d.ts +0 -10
- package/SummaryListItemAction/index.js +0 -15
- package/SummaryListItemKey/index.d.ts +0 -38
- package/SummaryListItemKey/index.js +0 -20
- package/SummaryListItemValue/index.d.ts +0 -23
- package/SummaryListItemValue/index.js +0 -17
- package/Table/index.d.ts +0 -62
- package/Table/index.js +0 -25
- package/TableBody/index.d.ts +0 -18
- package/TableBody/index.js +0 -17
- package/TableCaption/index.d.ts +0 -20
- package/TableCaption/index.js +0 -16
- package/TableContainer/index.d.ts +0 -16
- package/TableContainer/index.js +0 -16
- package/TableDataCell/index.d.ts +0 -40
- package/TableDataCell/index.js +0 -22
- package/TableHead/index.d.ts +0 -9
- package/TableHead/index.js +0 -15
- package/TableHeadCell/index.d.ts +0 -30
- package/TableHeadCell/index.js +0 -22
- package/TableLoaderBackground/index.d.ts +0 -10
- package/TableLoaderBackground/index.js +0 -15
- package/TableNoDataRow/index.d.ts +0 -10
- package/TableNoDataRow/index.js +0 -19
- package/TableRow/index.d.ts +0 -25
- package/TableRow/index.js +0 -17
- package/TableSortIconContainer/index.d.ts +0 -11
- package/TableSortIconContainer/index.js +0 -15
- package/Tabs/index.d.ts +0 -17
- package/Tabs/index.js +0 -16
- package/TabsHeading/index.d.ts +0 -18
- package/TabsHeading/index.js +0 -14
- package/TabsList/index.d.ts +0 -10
- package/TabsList/index.js +0 -16
- package/TabsListItemBase/index.d.ts +0 -17
- package/TabsListItemBase/index.js +0 -23
- package/TabsPanelBase/index.d.ts +0 -18
- package/TabsPanelBase/index.js +0 -18
- package/TaskList/index.d.ts +0 -17
- package/TaskList/index.js +0 -16
- package/TaskListItem/index.d.ts +0 -9
- package/TaskListItem/index.js +0 -15
- package/TaskListItemContent/index.d.ts +0 -10
- package/TaskListItemContent/index.js +0 -15
- package/TaskListItemHeading/index.d.ts +0 -10
- package/TaskListItemHeading/index.js +0 -12
- package/TaskListItemTag/index.d.ts +0 -16
- package/TaskListItemTag/index.js +0 -16
- package/TextArea/index.d.ts +0 -2
- package/TextArea/index.js +0 -3
- package/TextArea/index.native.d.ts +0 -2
- package/TextArea/index.native.js +0 -12
- package/TextArea/index.web.d.ts +0 -24
- package/TextArea/index.web.js +0 -20
- package/TextInput/index.d.ts +0 -2
- package/TextInput/index.js +0 -3
- package/TextInput/index.native.d.ts +0 -2
- package/TextInput/index.native.js +0 -13
- package/TextInput/index.web.d.ts +0 -46
- package/TextInput/index.web.js +0 -24
- package/Timeline/index.d.ts +0 -17
- package/Timeline/index.js +0 -16
- package/TimelineActions/index.d.ts +0 -11
- package/TimelineActions/index.js +0 -15
- package/TimelineContent/index.d.ts +0 -10
- package/TimelineContent/index.js +0 -15
- package/TimelineHeading/index.d.ts +0 -25
- package/TimelineHeading/index.js +0 -30
- package/TimelineItem/index.d.ts +0 -9
- package/TimelineItem/index.js +0 -15
- package/Top/index.d.ts +0 -9
- package/Top/index.js +0 -15
- package/Typography/index.d.ts +0 -30
- package/Typography/index.js +0 -16
- package/Unpurge/index.d.ts +0 -3
- package/Unpurge/index.js +0 -3163
- package/VisuallyHidden/index.d.ts +0 -10
- package/VisuallyHidden/index.js +0 -15
- package/WarningText/index.d.ts +0 -31
- package/WarningText/index.js +0 -28
- package/WarningTextAssistive/index.d.ts +0 -15
- package/WarningTextAssistive/index.js +0 -15
- package/index.d.ts +0 -218
- package/index.js +0 -222
- package/lazy.d.ts +0 -246
- package/lazy.js +0 -733
- package/registry.d.ts +0 -267
- package/registry.js +0 -540
- package/src/lazy.ts +0 -246
- package/src/registry.ts +0 -549
- package/utils/index.native.d.ts +0 -43
- package/utils/index.native.js +0 -46
package/Blockquote/index.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface BlockquoteProps extends BaseProps<'blockquote'> {
|
|
4
|
-
/**
|
|
5
|
-
* dense is optional.
|
|
6
|
-
* @value true Blockquote will be dense.
|
|
7
|
-
* @value false
|
|
8
|
-
* @default false
|
|
9
|
-
* */
|
|
10
|
-
dense?: boolean;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Use Blockquote to differentiate a block of text from the content that surrounds it.
|
|
14
|
-
*/
|
|
15
|
-
export declare const Blockquote: React.ForwardRefExoticComponent<Omit<BlockquoteProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
16
|
-
export default Blockquote;
|
package/Blockquote/index.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const Blockquote_Blockquote = /*#__PURE__*/ react.forwardRef(function({ className, dense, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "blockquote",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-blockquote': true,
|
|
10
|
-
'ds-blockquote--dense': dense
|
|
11
|
-
}),
|
|
12
|
-
...props
|
|
13
|
-
}, children);
|
|
14
|
-
});
|
|
15
|
-
const src_Blockquote = Blockquote_Blockquote;
|
|
16
|
-
export { Blockquote_Blockquote as Blockquote, src_Blockquote as default };
|
package/Bottom/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface BottomProps extends BaseProps<'div'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Bottom is used inside the Layout component and it must be the last component in order.
|
|
7
|
-
*/
|
|
8
|
-
export declare const Bottom: React.ForwardRefExoticComponent<Omit<BottomProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
export default Bottom;
|
package/Bottom/index.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const Bottom_Bottom = /*#__PURE__*/ react.forwardRef(function({ className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "div",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-bottom': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_Bottom = Bottom_Bottom;
|
|
15
|
-
export { Bottom_Bottom as Bottom, src_Bottom as default };
|
package/BottomInfo/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ContainerProps } from '../Container/index.js';
|
|
3
|
-
export interface BottomInfoProps extends ContainerProps {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Bottom BottomInfo is used inside the Bottom component and it must be the first component in order.
|
|
7
|
-
*/
|
|
8
|
-
export declare const BottomInfo: React.ForwardRefExoticComponent<Omit<BottomInfoProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
export default BottomInfo;
|
package/BottomInfo/index.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Container from "../Container/index.js";
|
|
4
|
-
const BottomInfo_BottomInfo = /*#__PURE__*/ react.forwardRef(function({ className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Container, {
|
|
6
|
-
ref: ref,
|
|
7
|
-
className: clsx(className, {
|
|
8
|
-
'ds-bottom-info': true
|
|
9
|
-
}),
|
|
10
|
-
...props
|
|
11
|
-
}, children);
|
|
12
|
-
});
|
|
13
|
-
const src_BottomInfo = BottomInfo_BottomInfo;
|
|
14
|
-
export { BottomInfo_BottomInfo as BottomInfo, src_BottomInfo as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ContainerProps } from '../Container/index.js';
|
|
3
|
-
export interface BottomInfoContainerProps extends ContainerProps {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Bottom BottomInfoContainer is used inside the Bottom component and it must be the first component in order.
|
|
7
|
-
*/
|
|
8
|
-
export declare const BottomInfoContainer: React.ForwardRefExoticComponent<Omit<BottomInfoContainerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
export default BottomInfoContainer;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Container from "../Container/index.js";
|
|
4
|
-
const BottomInfoContainer_BottomInfoContainer = /*#__PURE__*/ react.forwardRef(function({ className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Container, {
|
|
6
|
-
ref: ref,
|
|
7
|
-
className: clsx(className, {
|
|
8
|
-
'ds-bottom-info__container': true
|
|
9
|
-
}),
|
|
10
|
-
...props
|
|
11
|
-
}, children);
|
|
12
|
-
});
|
|
13
|
-
const src_BottomInfoContainer = BottomInfoContainer_BottomInfoContainer;
|
|
14
|
-
export { BottomInfoContainer_BottomInfoContainer as BottomInfoContainer, src_BottomInfoContainer as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { GridProps } from '../Grid/index.js';
|
|
3
|
-
export interface BottomInfoContentProps extends GridProps {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* BottomInfoContent is used inside the BottomInfoContainer component.
|
|
7
|
-
*/
|
|
8
|
-
export declare const BottomInfoContent: React.ForwardRefExoticComponent<Omit<BottomInfoContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
export default BottomInfoContent;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Grid from "../Grid/index.js";
|
|
4
|
-
const BottomInfoContent_BottomInfoContent = /*#__PURE__*/ react.forwardRef(function({ className, xs = 12, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Grid, {
|
|
6
|
-
item: true,
|
|
7
|
-
xs: xs,
|
|
8
|
-
ref: ref,
|
|
9
|
-
className: clsx(className, {
|
|
10
|
-
'ds-bottom-info__content': true
|
|
11
|
-
}),
|
|
12
|
-
...props
|
|
13
|
-
}, children);
|
|
14
|
-
});
|
|
15
|
-
const src_BottomInfoContent = BottomInfoContent_BottomInfoContent;
|
|
16
|
-
export { BottomInfoContent_BottomInfoContent as BottomInfoContent, src_BottomInfoContent as default };
|
package/Breadcrumbs/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface BreadcrumbsProps extends BaseProps<'div'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Use Breadcrumbs component when you need to help users understand and move between the multiple levels of a website.
|
|
7
|
-
* The breadcrumb should start with your ‘home’ page and end with the parent section of the current page.
|
|
8
|
-
*/
|
|
9
|
-
export declare const Breadcrumbs: React.ForwardRefExoticComponent<Omit<BreadcrumbsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export default Breadcrumbs;
|
package/Breadcrumbs/index.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const Breadcrumbs_Breadcrumbs = /*#__PURE__*/ react.forwardRef(function({ className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "nav",
|
|
7
|
-
"aria-label": "Breadcrumb",
|
|
8
|
-
ref: ref,
|
|
9
|
-
className: clsx(className, {
|
|
10
|
-
'ds-breadcrumbs': true
|
|
11
|
-
}),
|
|
12
|
-
...props
|
|
13
|
-
}, children);
|
|
14
|
-
});
|
|
15
|
-
const src_Breadcrumbs = Breadcrumbs_Breadcrumbs;
|
|
16
|
-
export { Breadcrumbs_Breadcrumbs as Breadcrumbs, src_Breadcrumbs as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface BreadcrumbsListProps extends BaseProps<'ol'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* BreadcrumbsList is used for providing the items inside Breadcrumbs.
|
|
7
|
-
*/
|
|
8
|
-
export declare const BreadcrumbsList: React.ForwardRefExoticComponent<Omit<BreadcrumbsListProps, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
9
|
-
export default BreadcrumbsList;
|
package/BreadcrumbsList/index.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const BreadcrumbsList_BreadcrumbsList = /*#__PURE__*/ react.forwardRef(function({ className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "ol",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-breadcrumbs__list': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_BreadcrumbsList = BreadcrumbsList_BreadcrumbsList;
|
|
15
|
-
export { BreadcrumbsList_BreadcrumbsList as BreadcrumbsList, src_BreadcrumbsList as default };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { LinkBaseProps } from '../LinkBase/index.js';
|
|
3
|
-
export interface BreadcrumbsListItemLinkBaseProps extends LinkBaseProps {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* BreadcrumbsListItemLinkBase creates an anchor link to navigate in different
|
|
7
|
-
* parts of the breadcrumbs.
|
|
8
|
-
* It should be used inside BreadcrumbsListItem as children component. This is
|
|
9
|
-
* the default link component for the BreadcrumbsListItem and it uses the LinkBase
|
|
10
|
-
* component from `@digigov/react-core`. In case you need to use a different Link
|
|
11
|
-
* component from a framework or a custom router, use `@digigov/ui/navigation/BreadcrumbsListItemLinkBase` instead.
|
|
12
|
-
*/
|
|
13
|
-
export declare const BreadcrumbsListItemLinkBase: React.ForwardRefExoticComponent<Omit<BreadcrumbsListItemLinkBaseProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
14
|
-
export default BreadcrumbsListItemLinkBase;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import { LinkBase } from "../LinkBase/index.js";
|
|
4
|
-
const BreadcrumbsListItemLinkBase_BreadcrumbsListItemLinkBase = /*#__PURE__*/ react.forwardRef(function({ href, className, children }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(LinkBase, {
|
|
6
|
-
href: href,
|
|
7
|
-
className: clsx(className, {
|
|
8
|
-
'ds-breadcrumbs__link': true,
|
|
9
|
-
'ds-breadcrumbs__link--inactive': void 0 === href
|
|
10
|
-
}),
|
|
11
|
-
ref: ref
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_BreadcrumbsListItemLinkBase = BreadcrumbsListItemLinkBase_BreadcrumbsListItemLinkBase;
|
|
15
|
-
export { BreadcrumbsListItemLinkBase_BreadcrumbsListItemLinkBase as BreadcrumbsListItemLinkBase, src_BreadcrumbsListItemLinkBase as default };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface BreadcrumbsListItemWrapperProps extends BaseProps<'li'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* BreadcrumbsListItem creates a list of items with the possibility of navigation.
|
|
7
|
-
* It should be used inside BreadcrumbsList as children component
|
|
8
|
-
*/
|
|
9
|
-
export declare const BreadcrumbsListItemWrapper: React.ForwardRefExoticComponent<Omit<BreadcrumbsListItemWrapperProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
10
|
-
export default BreadcrumbsListItemWrapper;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const BreadcrumbsListItemWrapper_BreadcrumbsListItemWrapper = /*#__PURE__*/ react.forwardRef(function({ className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "li",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-breadcrumbs__list-item': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_BreadcrumbsListItemWrapper = BreadcrumbsListItemWrapper_BreadcrumbsListItemWrapper;
|
|
15
|
-
export { BreadcrumbsListItemWrapper_BreadcrumbsListItemWrapper as BreadcrumbsListItemWrapper, src_BreadcrumbsListItemWrapper as default };
|
package/Button/index.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface ButtonProps extends BaseProps<'button'> {
|
|
4
|
-
/**
|
|
5
|
-
* color is optional.
|
|
6
|
-
* 'primary' color is used for the main call to action on a page.
|
|
7
|
-
* 'secondary' color is used for secondary calls to action on a page.
|
|
8
|
-
* 'warning' color is used to make users think carefully before they use them.
|
|
9
|
-
* The default value is 'primary'.
|
|
10
|
-
* @value 'primary'
|
|
11
|
-
* @value 'secondary'
|
|
12
|
-
* @value 'warning'
|
|
13
|
-
* @default 'primary'
|
|
14
|
-
*/
|
|
15
|
-
color?: 'primary' | 'secondary' | 'warning';
|
|
16
|
-
/**
|
|
17
|
-
* variant is optional.
|
|
18
|
-
* @value 'link'
|
|
19
|
-
* @value 'button'
|
|
20
|
-
* @default 'button'
|
|
21
|
-
*/
|
|
22
|
-
variant?: 'link' | 'button';
|
|
23
|
-
/**
|
|
24
|
-
* dense is optional.
|
|
25
|
-
* @value true Button will be dense.
|
|
26
|
-
* @value false
|
|
27
|
-
* @default false
|
|
28
|
-
*/
|
|
29
|
-
dense?: boolean;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Use the Button component to help users carry out an action.
|
|
33
|
-
*/
|
|
34
|
-
export declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
35
|
-
export default Button;
|
package/Button/index.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const Button_Button = /*#__PURE__*/ react.forwardRef(function({ color = 'primary', variant = 'button', dense, disabled, printHidden = true, className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "button",
|
|
7
|
-
disabled: disabled,
|
|
8
|
-
printHidden: printHidden,
|
|
9
|
-
ref: ref,
|
|
10
|
-
className: clsx(className, {
|
|
11
|
-
'ds-link': 'link' === variant,
|
|
12
|
-
'ds-link-warning': 'link' === variant && 'warning' === color,
|
|
13
|
-
'ds-link--disabled': 'link' === variant && disabled,
|
|
14
|
-
'ds-btn': 'button' === variant,
|
|
15
|
-
'ds-btn--dense': dense,
|
|
16
|
-
'ds-btn-primary': 'button' === variant && 'primary' === color,
|
|
17
|
-
'ds-btn-secondary': 'button' === variant && 'secondary' === color,
|
|
18
|
-
'ds-btn-warning': 'button' === variant && 'warning' === color,
|
|
19
|
-
'ds-btn--disabled': 'button' === variant && disabled
|
|
20
|
-
}),
|
|
21
|
-
...props
|
|
22
|
-
}, children);
|
|
23
|
-
});
|
|
24
|
-
const src_Button = Button_Button;
|
|
25
|
-
export { Button_Button as Button, src_Button as default };
|
package/ButtonGroup/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface ButtonGroupProps extends BaseProps<'div'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Use a button group when two or more buttons are placed together.
|
|
7
|
-
*/
|
|
8
|
-
export declare const ButtonGroup: React.ForwardRefExoticComponent<Omit<ButtonGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
export default ButtonGroup;
|
package/ButtonGroup/index.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const ButtonGroup_ButtonGroup = /*#__PURE__*/ react.forwardRef(function({ className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "div",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-btn-group': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_ButtonGroup = ButtonGroup_ButtonGroup;
|
|
15
|
-
export { ButtonGroup_ButtonGroup as ButtonGroup, src_ButtonGroup as default };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { LinkBaseProps } from '../LinkBase/index.js';
|
|
3
|
-
export interface ButtonLinkBaseProps extends LinkBaseProps {
|
|
4
|
-
/**
|
|
5
|
-
* color is optional.
|
|
6
|
-
* 'primary' color is used for the main call to action on a page.
|
|
7
|
-
* 'secondary' color is used for secondary calls to action on a page.
|
|
8
|
-
* 'warning' color is used to make users think carefully before they use them.
|
|
9
|
-
* The default value is 'primary'.
|
|
10
|
-
* @value 'primary'
|
|
11
|
-
* @value 'secondary'
|
|
12
|
-
* @value 'warning'
|
|
13
|
-
* @default 'primary'
|
|
14
|
-
*/
|
|
15
|
-
color?: 'primary' | 'secondary' | 'warning';
|
|
16
|
-
/**
|
|
17
|
-
* dense is optional.
|
|
18
|
-
* @value true Button will be dense.
|
|
19
|
-
* @value false
|
|
20
|
-
* @default false
|
|
21
|
-
*/
|
|
22
|
-
dense?: boolean;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Use the Button component to help users carry out an action.
|
|
26
|
-
*/
|
|
27
|
-
export declare const ButtonLinkBase: React.ForwardRefExoticComponent<Omit<ButtonLinkBaseProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
28
|
-
export default ButtonLinkBase;
|
package/ButtonLinkBase/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import { LinkBase } from "../LinkBase/index.js";
|
|
4
|
-
const ButtonLinkBase_ButtonLinkBase = /*#__PURE__*/ react.forwardRef(function({ color = 'primary', dense, className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(LinkBase, {
|
|
6
|
-
ref: ref,
|
|
7
|
-
defaultStyle: false,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-btn': true,
|
|
10
|
-
'ds-btn--dense': dense,
|
|
11
|
-
'ds-btn-primary': 'primary' === color,
|
|
12
|
-
'ds-btn-secondary': 'secondary' === color,
|
|
13
|
-
'ds-btn-warning': 'warning' === color
|
|
14
|
-
}),
|
|
15
|
-
...props
|
|
16
|
-
}, children);
|
|
17
|
-
});
|
|
18
|
-
const src_ButtonLinkBase = ButtonLinkBase_ButtonLinkBase;
|
|
19
|
-
export { ButtonLinkBase_ButtonLinkBase as ButtonLinkBase, src_ButtonLinkBase as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ButtonLinkBaseProps } from '../ButtonLinkBase/index.js';
|
|
3
|
-
export interface CallToActionBaseProps extends ButtonLinkBaseProps {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Use this button for the main call to action on your service’s start page.
|
|
7
|
-
*/
|
|
8
|
-
export declare const CallToActionBase: React.ForwardRefExoticComponent<Omit<CallToActionBaseProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
9
|
-
export default CallToActionBase;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import ButtonLinkBase from "../ButtonLinkBase/index.js";
|
|
4
|
-
import { ChevronIcon } from "@digigov/react-icons/index.js";
|
|
5
|
-
const CallToActionBase_CallToActionBase = /*#__PURE__*/ react.forwardRef(function({ printHidden = true, className, children, ...props }, ref) {
|
|
6
|
-
return /*#__PURE__*/ react.createElement(ButtonLinkBase, {
|
|
7
|
-
ref: ref,
|
|
8
|
-
printHidden: printHidden,
|
|
9
|
-
className: clsx(className, {
|
|
10
|
-
'ds-btn-cta': true
|
|
11
|
-
}),
|
|
12
|
-
...props
|
|
13
|
-
}, children, /*#__PURE__*/ react.createElement(ChevronIcon, {
|
|
14
|
-
className: "ds-btn-cta__icon"
|
|
15
|
-
}));
|
|
16
|
-
});
|
|
17
|
-
const src_CallToActionBase = CallToActionBase_CallToActionBase;
|
|
18
|
-
export { CallToActionBase_CallToActionBase as CallToActionBase, src_CallToActionBase as default };
|
package/Card/index.d.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface CardProps extends BaseProps<'div'> {
|
|
4
|
-
/**
|
|
5
|
-
* By default, we recommend using Cards without border style. Card border increases the contrast to its background.
|
|
6
|
-
* divider
|
|
7
|
-
* `variant` property is optional.
|
|
8
|
-
* @value 'border'
|
|
9
|
-
* @value 'divider'
|
|
10
|
-
* @value 'border-top'
|
|
11
|
-
*/
|
|
12
|
-
variant?: 'border' | 'divider' | 'border-top';
|
|
13
|
-
/**
|
|
14
|
-
*borderColor property is optional and it is used to set the color of the Card's border.
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* @value 'light'
|
|
18
|
-
* @value 'dark'
|
|
19
|
-
*/
|
|
20
|
-
borderColor?: 'light' | 'dark';
|
|
21
|
-
/**
|
|
22
|
-
*callToAction property is optional and it is used to set the content of the Card clickable.
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* @value true
|
|
26
|
-
* @value false
|
|
27
|
-
*/
|
|
28
|
-
callToAction?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* dense is optional.
|
|
31
|
-
* @value true Card will be dense.
|
|
32
|
-
* @value false
|
|
33
|
-
* @default false
|
|
34
|
-
* */
|
|
35
|
-
dense?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* fullHeight is optional.
|
|
38
|
-
* @value true Card will be have it's full height.
|
|
39
|
-
* @value false
|
|
40
|
-
* @default false
|
|
41
|
-
* */
|
|
42
|
-
fullHeight?: boolean;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Cards can be used to divide and organise interface content for better understandability and readability.
|
|
46
|
-
* Cards can help your users to scan through vast amounts of information quicker.
|
|
47
|
-
* Use Card as parent component to wrap CardHeading, CardContent and CartAction components
|
|
48
|
-
*/
|
|
49
|
-
export declare const Card: React.ForwardRefExoticComponent<Omit<CardProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
50
|
-
export default Card;
|
package/Card/index.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const Card_Card = /*#__PURE__*/ react.forwardRef(function({ variant, borderColor, callToAction, dense, fullHeight, className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "div",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-card': true,
|
|
10
|
-
'ds-card--dense': dense,
|
|
11
|
-
'ds-card--border': 'border' === variant,
|
|
12
|
-
'ds-card--border-top': 'border-top' === variant,
|
|
13
|
-
'ds-card--divider': 'divider' === variant,
|
|
14
|
-
'ds-card--cta': callToAction,
|
|
15
|
-
'ds-card--border-light': 'light' === borderColor,
|
|
16
|
-
'ds-card--border-dark': 'dark' === borderColor,
|
|
17
|
-
'ds-card--full-height': fullHeight
|
|
18
|
-
}),
|
|
19
|
-
...props
|
|
20
|
-
}, /*#__PURE__*/ react.createElement(Base, {
|
|
21
|
-
as: "div",
|
|
22
|
-
className: clsx({
|
|
23
|
-
'ds-card__body': true
|
|
24
|
-
})
|
|
25
|
-
}, children));
|
|
26
|
-
});
|
|
27
|
-
const src_Card = Card_Card;
|
|
28
|
-
export { Card_Card as Card, src_Card as default };
|
package/CardAction/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface CardActionProps extends BaseProps<'div'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* CardAction contains the action behavior for Card Component.
|
|
7
|
-
* We can use links, Buttons or ButtonGroup with max of two buttons
|
|
8
|
-
* Use CardAction inside Card component as childern
|
|
9
|
-
*/
|
|
10
|
-
export declare const CardAction: React.ForwardRefExoticComponent<Omit<CardActionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
export default CardAction;
|
package/CardAction/index.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const CardAction_CardAction = /*#__PURE__*/ react.forwardRef(function({ className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "div",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-card__action': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_CardAction = CardAction_CardAction;
|
|
15
|
-
export { CardAction_CardAction as CardAction, src_CardAction as default };
|
package/CardContent/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface CardContentProps extends BaseProps<'div'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* CardContent contains the text for Card Component
|
|
7
|
-
* Use CardContent inside Card component as children
|
|
8
|
-
*/
|
|
9
|
-
export declare const CardContent: React.ForwardRefExoticComponent<Omit<CardContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export default CardContent;
|
package/CardContent/index.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const CardContent_CardContent = /*#__PURE__*/ react.forwardRef(function({ className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "div",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-card__content': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_CardContent = CardContent_CardContent;
|
|
15
|
-
export { CardContent_CardContent as CardContent, src_CardContent as default };
|
package/CardHeading/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface CardHeadingProps extends BaseProps<'div'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* CardHeading gives header title to Card Component
|
|
7
|
-
* Use CardHeading inside Card component as children
|
|
8
|
-
*/
|
|
9
|
-
export declare const CardHeading: React.ForwardRefExoticComponent<Omit<CardHeadingProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export default CardHeading;
|
package/CardHeading/index.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const CardHeading_CardHeading = /*#__PURE__*/ react.forwardRef(function({ className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "div",
|
|
7
|
-
ref: ref,
|
|
8
|
-
role: "heading",
|
|
9
|
-
"aria-level": 2,
|
|
10
|
-
className: clsx(className, {
|
|
11
|
-
'ds-card__heading': true
|
|
12
|
-
}),
|
|
13
|
-
...props
|
|
14
|
-
}, children);
|
|
15
|
-
});
|
|
16
|
-
const src_CardHeading = CardHeading_CardHeading;
|
|
17
|
-
export { CardHeading_CardHeading as CardHeading, src_CardHeading as default };
|
package/Checkbox/index.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface CheckboxProps extends BaseProps<'div'> {
|
|
4
|
-
/**
|
|
5
|
-
* layout is optional.
|
|
6
|
-
* 'horizontal' places the CheckboxItems in one line.
|
|
7
|
-
* 'horizontal' should be used or only two CheckboxItems with limited text.
|
|
8
|
-
* @value 'vertical'
|
|
9
|
-
* @value 'horizontal'
|
|
10
|
-
* @default 'vertical'
|
|
11
|
-
*/
|
|
12
|
-
layout?: 'horizontal' | 'vertical';
|
|
13
|
-
/**
|
|
14
|
-
* dense is optional.
|
|
15
|
-
* @value true Checkboxes will be dense.
|
|
16
|
-
* @value false
|
|
17
|
-
* @default false
|
|
18
|
-
*/
|
|
19
|
-
dense?: boolean;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Details for the Checkbox.
|
|
23
|
-
* Checkbox component allow the user to select one or more items from a set.
|
|
24
|
-
* It takes CheckboxItem as children
|
|
25
|
-
*/
|
|
26
|
-
export declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
-
export default Checkbox;
|
package/Checkbox/index.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const Checkbox_Checkbox = /*#__PURE__*/ react.forwardRef(function({ layout, dense, className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "div",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-checkboxes': true,
|
|
10
|
-
'ds-checkboxes--horizontal': 'horizontal' === layout,
|
|
11
|
-
'ds-checkboxes--dense': dense
|
|
12
|
-
}),
|
|
13
|
-
...props
|
|
14
|
-
}, children);
|
|
15
|
-
});
|
|
16
|
-
const src_Checkbox = Checkbox_Checkbox;
|
|
17
|
-
export { Checkbox_Checkbox as Checkbox, src_Checkbox as default };
|