@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
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface CheckboxConditionalProps extends BaseProps<'div'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* CheckboxConditional asks the user a related question when they select a particular checkbox,
|
|
7
|
-
* so they only see the question when it’s relevant to them.
|
|
8
|
-
* CheckboxConditional must be used inside Checkbox component
|
|
9
|
-
*/
|
|
10
|
-
export declare const CheckboxConditional: React.ForwardRefExoticComponent<Omit<CheckboxConditionalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
export default CheckboxConditional;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
import FieldContainer from "../FieldContainer/index.js";
|
|
5
|
-
import LabelContainer from "../LabelContainer/index.js";
|
|
6
|
-
const CheckboxConditional_CheckboxConditional = /*#__PURE__*/ react.forwardRef(function({ className, children, ...props }, ref) {
|
|
7
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
8
|
-
as: "div",
|
|
9
|
-
ref: ref,
|
|
10
|
-
className: clsx(className, {
|
|
11
|
-
'ds-checkboxes__conditional': true
|
|
12
|
-
}),
|
|
13
|
-
...props
|
|
14
|
-
}, /*#__PURE__*/ react.createElement(FieldContainer, null, /*#__PURE__*/ react.createElement(LabelContainer, null, children)));
|
|
15
|
-
});
|
|
16
|
-
const src_CheckboxConditional = CheckboxConditional_CheckboxConditional;
|
|
17
|
-
export { CheckboxConditional_CheckboxConditional as CheckboxConditional, src_CheckboxConditional as default };
|
package/CheckboxItem/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface CheckboxItemProps extends BaseProps<'input'> {
|
|
4
|
-
/**
|
|
5
|
-
* dividerText is optional.
|
|
6
|
-
* Add this prop to add a choice divider on top of a checkbox item.
|
|
7
|
-
* The string is the text that it will appear above this checkbox item.
|
|
8
|
-
*/
|
|
9
|
-
dividerText?: string;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Details for the CheckboxItem.
|
|
13
|
-
* CheckboxItem component allows the user to select one or more checkboxes
|
|
14
|
-
* CheckboxItem must be used inside Checkbox component
|
|
15
|
-
*/
|
|
16
|
-
export declare const CheckboxItem: React.ForwardRefExoticComponent<Omit<CheckboxItemProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
17
|
-
export default CheckboxItem;
|
package/CheckboxItem/index.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
import CheckboxItemInput from "../CheckboxItemInput/index.js";
|
|
5
|
-
import ChoiceDividerText from "../ChoiceDividerText/index.js";
|
|
6
|
-
import LabelContainer from "../LabelContainer/index.js";
|
|
7
|
-
const CheckboxItem_CheckboxItem = /*#__PURE__*/ react.forwardRef(function({ name, value, dividerText, className, disabled, children, ...props }, ref) {
|
|
8
|
-
return /*#__PURE__*/ react.createElement(react.Fragment, null, dividerText && /*#__PURE__*/ react.createElement(ChoiceDividerText, null, dividerText), /*#__PURE__*/ react.createElement(Base, {
|
|
9
|
-
as: "div",
|
|
10
|
-
className: clsx(className, {
|
|
11
|
-
'ds-checkboxes__item': true
|
|
12
|
-
})
|
|
13
|
-
}, /*#__PURE__*/ react.createElement(LabelContainer, {
|
|
14
|
-
className: clsx({
|
|
15
|
-
'ds-checkboxes__label': true,
|
|
16
|
-
'ds-checkboxes__label--disabled': disabled
|
|
17
|
-
})
|
|
18
|
-
}, children, /*#__PURE__*/ react.createElement(CheckboxItemInput, {
|
|
19
|
-
ref: ref,
|
|
20
|
-
name: name,
|
|
21
|
-
value: value,
|
|
22
|
-
disabled: disabled,
|
|
23
|
-
...props
|
|
24
|
-
}))));
|
|
25
|
-
});
|
|
26
|
-
const src_CheckboxItem = CheckboxItem_CheckboxItem;
|
|
27
|
-
export { CheckboxItem_CheckboxItem as CheckboxItem, src_CheckboxItem as default };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface CheckboxItemInputProps extends BaseProps<'input'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Details for the CheckboxItem.
|
|
7
|
-
* CheckboxItemInput component is the input component for CheckboxItem.
|
|
8
|
-
*/
|
|
9
|
-
export declare const CheckboxItemInput: React.ForwardRefExoticComponent<Omit<CheckboxItemInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
10
|
-
export default CheckboxItemInput;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const index_web_CheckboxItemInput = /*#__PURE__*/ react.forwardRef(function({ name, value, className, disabled, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "input",
|
|
7
|
-
ref: ref,
|
|
8
|
-
type: "checkbox",
|
|
9
|
-
name: name,
|
|
10
|
-
value: value,
|
|
11
|
-
className: clsx(className, {
|
|
12
|
-
'ds-checkboxes__input': true
|
|
13
|
-
}),
|
|
14
|
-
disabled: disabled,
|
|
15
|
-
...props
|
|
16
|
-
});
|
|
17
|
-
});
|
|
18
|
-
const index_web = index_web_CheckboxItemInput;
|
|
19
|
-
export { index_web_CheckboxItemInput as CheckboxItemInput, index_web as default };
|
package/Chip/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface ChipProps extends BaseProps<'li'> {
|
|
4
|
-
/**
|
|
5
|
-
|
|
6
|
-
*/
|
|
7
|
-
onDelete?: (e: React.MouseEvent<SVGSVGElement, MouseEvent>) => void;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Chips can be used to represent small blocks of information.
|
|
11
|
-
* Chip component must be inside ChipContainer component.
|
|
12
|
-
*/
|
|
13
|
-
export declare const Chip: React.ForwardRefExoticComponent<Omit<ChipProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
14
|
-
export default Chip;
|
package/Chip/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
|
-
import { CloseIcon } from "@digigov/react-icons/index.js";
|
|
5
|
-
const Chip_Chip = /*#__PURE__*/ react.forwardRef(function({ className, onDelete, onClick, children, ...props }, ref) {
|
|
6
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
7
|
-
as: "li",
|
|
8
|
-
ref: ref,
|
|
9
|
-
className: clsx(className, {
|
|
10
|
-
'ds-chip': true,
|
|
11
|
-
'ds-chip--deletable': !!onDelete
|
|
12
|
-
}),
|
|
13
|
-
...props,
|
|
14
|
-
onClick: onClick
|
|
15
|
-
}, /*#__PURE__*/ react.createElement(Base, {
|
|
16
|
-
as: "div",
|
|
17
|
-
role: onClick && 'button',
|
|
18
|
-
tabIndex: onClick && 0,
|
|
19
|
-
className: "ds-chip__content"
|
|
20
|
-
}, children, onDelete && /*#__PURE__*/ react.createElement(CloseIcon, {
|
|
21
|
-
onClick: (e)=>{
|
|
22
|
-
e.stopPropagation();
|
|
23
|
-
onDelete(e);
|
|
24
|
-
}
|
|
25
|
-
})));
|
|
26
|
-
});
|
|
27
|
-
const src_Chip = Chip_Chip;
|
|
28
|
-
export { Chip_Chip as Chip, src_Chip as default };
|
package/ChipContainer/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface ChipSectionProps extends BaseProps<'ul'> {
|
|
4
|
-
/**
|
|
5
|
-
* @value true
|
|
6
|
-
* @value false
|
|
7
|
-
*/
|
|
8
|
-
horizontal?: boolean;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* ChipContainer is used inside Chip component as a container for its items.
|
|
12
|
-
*/
|
|
13
|
-
export declare const ChipContainer: React.ForwardRefExoticComponent<Omit<ChipSectionProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
14
|
-
export default ChipContainer;
|
package/ChipContainer/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 ChipContainer_ChipContainer = /*#__PURE__*/ react.forwardRef(function({ className, horizontal, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "ul",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-chips': true,
|
|
10
|
-
'ds-chips--horizontal': horizontal
|
|
11
|
-
}),
|
|
12
|
-
...props
|
|
13
|
-
}, children);
|
|
14
|
-
});
|
|
15
|
-
const src_ChipContainer = ChipContainer_ChipContainer;
|
|
16
|
-
export { ChipContainer_ChipContainer as ChipContainer, src_ChipContainer as default };
|
package/ChipHeading/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { HeadingProps } from '../Heading/index.js';
|
|
3
|
-
export interface ChipHeadingProps extends HeadingProps {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* ChipHeading is used to provide header title above chips.
|
|
7
|
-
* ChipHeading component must be wrapped inside FilterSelectedSection component.
|
|
8
|
-
*/
|
|
9
|
-
export declare const ChipHeading: React.ForwardRefExoticComponent<Omit<ChipHeadingProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
10
|
-
export default ChipHeading;
|
package/ChipHeading/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import Heading from "../Heading/index.js";
|
|
3
|
-
const ChipHeading_ChipHeading = /*#__PURE__*/ react.forwardRef(function({ children, ...props }, ref) {
|
|
4
|
-
return /*#__PURE__*/ react.createElement(Heading, {
|
|
5
|
-
ref: ref,
|
|
6
|
-
element: "h2",
|
|
7
|
-
size: "xs",
|
|
8
|
-
...props
|
|
9
|
-
}, children);
|
|
10
|
-
});
|
|
11
|
-
const src_ChipHeading = ChipHeading_ChipHeading;
|
|
12
|
-
export { ChipHeading_ChipHeading as ChipHeading, src_ChipHeading as default };
|
package/ChipKeyValue/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface ChipKeyValueProps extends BaseProps<'span'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* ChipKeyValue is used to provide key value inside chips.
|
|
7
|
-
* ChipKeyValue component must be wrapped inside Chip component.
|
|
8
|
-
*/
|
|
9
|
-
export declare const ChipKeyValue: React.ForwardRefExoticComponent<Omit<ChipKeyValueProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
10
|
-
export default ChipKeyValue;
|
package/ChipKeyValue/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 ChipKeyValue_ChipKeyValue = /*#__PURE__*/ react.forwardRef(function({ className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "span",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-chip__key-value': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_ChipKeyValue = ChipKeyValue_ChipKeyValue;
|
|
15
|
-
export { ChipKeyValue_ChipKeyValue as ChipKeyValue, src_ChipKeyValue as default };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface ChoiceDividerTextProps extends BaseProps<'div'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* ChoiceDivider component adds a text divider on top of a Radio or Checkbox item.
|
|
7
|
-
* It's been used as a prop ("divider") inside RadioItem and CheckboxItem.
|
|
8
|
-
*/
|
|
9
|
-
export declare const ChoiceDividerText: React.ForwardRefExoticComponent<Omit<ChoiceDividerTextProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export default ChoiceDividerText;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const ChoiceDividerText_ChoiceDividerText = /*#__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-choice-divider-text': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_ChoiceDividerText = ChoiceDividerText_ChoiceDividerText;
|
|
15
|
-
export { ChoiceDividerText_ChoiceDividerText as ChoiceDividerText, src_ChoiceDividerText as default };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface CircularProgressBaseProps extends BaseProps<'svg'> {
|
|
4
|
-
/**
|
|
5
|
-
* color prop is optional.
|
|
6
|
-
* color prop is used to change the color of the loader.
|
|
7
|
-
* @value 'primary' is the default color.
|
|
8
|
-
* @value 'secondary' recommended for dark backgrounds.
|
|
9
|
-
* @default 'primary'
|
|
10
|
-
*/
|
|
11
|
-
color?: 'primary' | 'secondary';
|
|
12
|
-
/**
|
|
13
|
-
* size prop is optional.
|
|
14
|
-
* size prop is used to change the size of the loader.
|
|
15
|
-
* @value 'sm'
|
|
16
|
-
* @value 'md'
|
|
17
|
-
* @value 'lg'
|
|
18
|
-
* @default 'md'
|
|
19
|
-
*/
|
|
20
|
-
size?: 'sm' | 'md' | 'lg';
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Use CircularProgressBase component as an animated loader.
|
|
24
|
-
* CircularProgressBase can be used inside LoaderContainer component.
|
|
25
|
-
*/
|
|
26
|
-
export declare const CircularProgressBase: React.ForwardRefExoticComponent<Omit<CircularProgressBaseProps, "ref"> & React.RefAttributes<SVGElement>>;
|
|
27
|
-
export default CircularProgressBase;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const CircularProgressBase = /*#__PURE__*/ react.forwardRef(function({ color = 'primary', size = 'md', className, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "svg",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-circular-progress': true,
|
|
10
|
-
'ds-circular-progress--secondary': 'secondary' === color,
|
|
11
|
-
'ds-circular-progress--sm': 'sm' === size,
|
|
12
|
-
'ds-circular-progress--md': 'md' === size,
|
|
13
|
-
'ds-circular-progress--lg': 'lg' === size
|
|
14
|
-
}),
|
|
15
|
-
focusable: "false",
|
|
16
|
-
viewBox: "0 0 200 200",
|
|
17
|
-
"aria-hidden": "true",
|
|
18
|
-
...props
|
|
19
|
-
}, /*#__PURE__*/ react.createElement("path", {
|
|
20
|
-
className: "ds-circular-progress__circle ds-circular-progress__circle--1",
|
|
21
|
-
d: "M26,99.551C26,55.478,60.246,27.5,99.85,27.5S174,55.478,174,99.551,139.455,172.5,99.85,172.5C60.273,172.473,26,143.6,26,99.551Z"
|
|
22
|
-
}), /*#__PURE__*/ react.createElement("path", {
|
|
23
|
-
className: "ds-circular-progress__circle ds-circular-progress__circle--2",
|
|
24
|
-
d: "M26,99.551C26,55.478,60.246,27.5,99.85,27.5S174,55.478,174,99.551,139.455,172.5,99.85,172.5C60.273,172.473,26,143.6,26,99.551Z"
|
|
25
|
-
}));
|
|
26
|
-
});
|
|
27
|
-
const src_CircularProgressBase = CircularProgressBase;
|
|
28
|
-
export { CircularProgressBase, src_CircularProgressBase as default };
|
package/CloseButton/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ButtonProps } from '../Button/index.js';
|
|
3
|
-
export interface CloseButtonProps extends ButtonProps {
|
|
4
|
-
/**
|
|
5
|
-
* label is optional.
|
|
6
|
-
* If empty, the CloseButton will only have a close icon.
|
|
7
|
-
* Use this prop to add text beside the close icon. For example: 'Κλείσιμο'.
|
|
8
|
-
*/
|
|
9
|
-
label?: string;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* CloseButton is an <button> element. It can be used be inside the FilterSection component.
|
|
13
|
-
*/
|
|
14
|
-
export declare const CloseButton: React.ForwardRefExoticComponent<Omit<CloseButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
15
|
-
export default CloseButton;
|
package/CloseButton/index.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Button from "../Button/index.js";
|
|
4
|
-
import { CloseIcon } from "@digigov/react-icons/CloseIcon/index.js";
|
|
5
|
-
const CloseButton_CloseButton = /*#__PURE__*/ react.forwardRef(function({ label, className, children, ...props }, ref) {
|
|
6
|
-
return /*#__PURE__*/ react.createElement(Button, {
|
|
7
|
-
variant: "link",
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-close-btn': true
|
|
10
|
-
}),
|
|
11
|
-
ref: ref,
|
|
12
|
-
...props
|
|
13
|
-
}, label || children, /*#__PURE__*/ react.createElement(CloseIcon, null));
|
|
14
|
-
});
|
|
15
|
-
const src_CloseButton = CloseButton_CloseButton;
|
|
16
|
-
export { CloseButton_CloseButton as CloseButton, src_CloseButton as default };
|
package/Code/index.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TypographyProps } from '../Typography/index.js';
|
|
3
|
-
export interface CodeProps extends TypographyProps {
|
|
4
|
-
/**
|
|
5
|
-
* size is optional.
|
|
6
|
-
* @value 'lg' Use it when a lg text is an introductory paragraph that you can use at the top of a page to summarize the content.
|
|
7
|
-
* @value 'md' The majority of your body should use the standard 'md' size.
|
|
8
|
-
* @value 'sm' Use it sparingly to make your text font size smaller: 16px on larger screens and 14px on smaller screens.
|
|
9
|
-
* @default 'md'
|
|
10
|
-
*/
|
|
11
|
-
color?: 'default' | 'info' | 'attribute' | 'string' | 'keyword' | 'name';
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Code component is used for text formatting.
|
|
15
|
-
* If you need a paragraph, use the Paragraph component instead.
|
|
16
|
-
*/
|
|
17
|
-
export declare const Code: React.ForwardRefExoticComponent<Omit<CodeProps, "ref"> & React.RefAttributes<HTMLElement | HTMLParagraphElement>>;
|
|
18
|
-
export default Code;
|
package/Code/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Typography from "../Typography/index.js";
|
|
4
|
-
const Code_Code = /*#__PURE__*/ react.forwardRef(function({ color = 'default', className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Typography, {
|
|
6
|
-
as: "code",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-code': true,
|
|
10
|
-
'ds-code--attr': 'attribute' === color,
|
|
11
|
-
'ds-code--string': 'string' === color,
|
|
12
|
-
'ds-code--keyword': 'keyword' === color,
|
|
13
|
-
'ds-code--name': 'name' === color
|
|
14
|
-
}),
|
|
15
|
-
...props
|
|
16
|
-
}, children);
|
|
17
|
-
});
|
|
18
|
-
const src_Code = Code_Code;
|
|
19
|
-
export { Code_Code as Code, src_Code as default };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface CodeBlockContainerProps extends BaseProps<'div'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* CodeBlockContainer is a component for displaying code.
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
export declare const CodeBlockContainer: React.ForwardRefExoticComponent<Omit<CodeBlockContainerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export default CodeBlockContainer;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const CodeBlockContainer_CodeBlockContainer = /*#__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-code-block__container': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_CodeBlockContainer = CodeBlockContainer_CodeBlockContainer;
|
|
15
|
-
export { CodeBlockContainer_CodeBlockContainer as CodeBlockContainer, src_CodeBlockContainer as default };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface CodeBlockContentProps extends BaseProps<'pre'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* CodeBlockContent can be used as content inside the CodeBlockContainer.
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
export declare const CodeBlockContent: React.ForwardRefExoticComponent<Omit<CodeBlockContentProps, "ref"> & React.RefAttributes<HTMLPreElement>>;
|
|
10
|
-
export default CodeBlockContent;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const CodeBlockContent_CodeBlockContent = /*#__PURE__*/ react.forwardRef(function({ className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "pre",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: className,
|
|
9
|
-
...props
|
|
10
|
-
}, /*#__PURE__*/ react.createElement(Base, {
|
|
11
|
-
as: "code",
|
|
12
|
-
className: clsx({
|
|
13
|
-
'ds-code-block__content': true
|
|
14
|
-
})
|
|
15
|
-
}, children));
|
|
16
|
-
});
|
|
17
|
-
const src_CodeBlockContent = CodeBlockContent_CodeBlockContent;
|
|
18
|
-
export { CodeBlockContent_CodeBlockContent as CodeBlockContent, src_CodeBlockContent as default };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface CodeBlockHeaderProps extends BaseProps<'div'> {
|
|
4
|
-
/**
|
|
5
|
-
* justify prop is optional.
|
|
6
|
-
* justify prop is used the justify-content style.
|
|
7
|
-
* @value 'start' is used to place the header's content at the start.
|
|
8
|
-
* @value 'end' is used to place the header's content at the end.
|
|
9
|
-
* @value 'spaceBetween' is recommended for two items in header.
|
|
10
|
-
* @default 'start'
|
|
11
|
-
*/
|
|
12
|
-
justify?: 'start' | 'space-between' | 'end';
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* CodeBlockHeader can be used as header inside the CodeBlockContainer.
|
|
16
|
-
*
|
|
17
|
-
*/
|
|
18
|
-
export declare const CodeBlockHeader: React.ForwardRefExoticComponent<Omit<CodeBlockHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
-
export default CodeBlockHeader;
|
package/CodeBlockHeader/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 CodeBlockHeader_CodeBlockHeader = /*#__PURE__*/ react.forwardRef(function({ className, justify = 'start', children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "div",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-code-block__header': true,
|
|
10
|
-
[`ds-code-block__header--${justify}`]: void 0 !== justify
|
|
11
|
-
}),
|
|
12
|
-
...props
|
|
13
|
-
}, children);
|
|
14
|
-
});
|
|
15
|
-
const src_CodeBlockHeader = CodeBlockHeader_CodeBlockHeader;
|
|
16
|
-
export { CodeBlockHeader_CodeBlockHeader as CodeBlockHeader, src_CodeBlockHeader as default };
|
package/Container/index.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { GridProps } from '../Grid/index.js';
|
|
3
|
-
export interface ContainerProps extends GridProps {
|
|
4
|
-
/**
|
|
5
|
-
* grid is optional. Set to false if you don't need grid layout.
|
|
6
|
-
* @value true
|
|
7
|
-
* @value false
|
|
8
|
-
* @default true
|
|
9
|
-
*/
|
|
10
|
-
grid?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* fullWidth is optional. Set to true if you need a full width layout.
|
|
13
|
-
* @value true
|
|
14
|
-
* @value false
|
|
15
|
-
* @default false
|
|
16
|
-
*/
|
|
17
|
-
fullWidth?: boolean;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Use Container as a wrapper.
|
|
21
|
-
*/
|
|
22
|
-
export declare const Container: React.ForwardRefExoticComponent<Omit<ContainerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
-
export default Container;
|
package/Container/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Grid from "../Grid/index.js";
|
|
4
|
-
const Container_Container = /*#__PURE__*/ react.forwardRef(function({ grid = true, fullWidth = false, className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Grid, {
|
|
6
|
-
container: grid,
|
|
7
|
-
spacing: grid ? {
|
|
8
|
-
sm: 12
|
|
9
|
-
} : void 0,
|
|
10
|
-
ref: ref,
|
|
11
|
-
className: clsx(className, {
|
|
12
|
-
'ds-container': true,
|
|
13
|
-
'ds-container--full-width': fullWidth
|
|
14
|
-
}),
|
|
15
|
-
...props
|
|
16
|
-
}, children);
|
|
17
|
-
});
|
|
18
|
-
const src_Container = Container_Container;
|
|
19
|
-
export { Container_Container as Container, src_Container as default };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface CopyToClipboardContainerProps extends BaseProps<'div'> {
|
|
4
|
-
/**
|
|
5
|
-
* @value 'tooltip' is used when you want to show the message inside a tooltip.
|
|
6
|
-
* @value 'banner' is used when you want to show the message inside a banner.
|
|
7
|
-
* @default 'tooltip'
|
|
8
|
-
*/
|
|
9
|
-
variant?: 'tooltip' | 'banner';
|
|
10
|
-
/**
|
|
11
|
-
* tooltipAlign is optional.
|
|
12
|
-
* tooltipAlign prop adds tooltip right or left and is used only if variant is tooltip.
|
|
13
|
-
* @value 'right'
|
|
14
|
-
* @value 'left'
|
|
15
|
-
* @default 'right'
|
|
16
|
-
*/
|
|
17
|
-
tooltipAlign?: 'right' | 'left';
|
|
18
|
-
/**
|
|
19
|
-
* dense is optional.
|
|
20
|
-
* affects only the density of the tooltip.
|
|
21
|
-
* @value true tooltip will be dense.
|
|
22
|
-
* @value false
|
|
23
|
-
* @default false
|
|
24
|
-
* */
|
|
25
|
-
dense?: boolean;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* CopyToClipboardContainer is a wrapper component for CopyToClipboardMessage
|
|
29
|
-
*/
|
|
30
|
-
export declare const CopyToClipboardContainer: React.ForwardRefExoticComponent<Omit<CopyToClipboardContainerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
31
|
-
export default CopyToClipboardContainer;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const index_web_CopyToClipboardContainer = /*#__PURE__*/ react.forwardRef(function({ variant = 'tooltip', tooltipAlign = 'right', className, dense, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "div",
|
|
7
|
-
ref: ref,
|
|
8
|
-
...props,
|
|
9
|
-
className: clsx(className, {
|
|
10
|
-
'ds-copy-to-clipboard': true
|
|
11
|
-
}),
|
|
12
|
-
...props
|
|
13
|
-
}, /*#__PURE__*/ react.createElement(Base, {
|
|
14
|
-
as: "div",
|
|
15
|
-
className: clsx(className, {
|
|
16
|
-
'ds-copy-to-clipboard__tooltip': 'tooltip' === variant,
|
|
17
|
-
'ds-copy-to-clipboard__tooltip--dense': 'tooltip' === variant && dense,
|
|
18
|
-
'ds-copy-to-clipboard__tooltip--left': 'tooltip' === variant && 'left' === tooltipAlign,
|
|
19
|
-
'ds-copy-to-clipboard__tooltip--right': 'tooltip' === variant && 'right' === tooltipAlign,
|
|
20
|
-
'ds-copy-to-clipboard__banner': 'banner' === variant
|
|
21
|
-
})
|
|
22
|
-
}, children));
|
|
23
|
-
});
|
|
24
|
-
const index_web = index_web_CopyToClipboardContainer;
|
|
25
|
-
export { index_web_CopyToClipboardContainer as CopyToClipboardContainer, index_web as default };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { CopyToClipboardContainerProps } from '../CopyToClipboardContainer/index.js';
|
|
2
|
-
import { CopyToClipboardMessageProps } from './index.web.js';
|
|
3
|
-
export declare const CopyToClipboardMessage: import("react").ForwardRefExoticComponent<Omit<CopyToClipboardMessageProps & CopyToClipboardContainerProps, "ref"> & import("react").RefAttributes<unknown>>;
|
|
4
|
-
export default CopyToClipboardMessage;
|