@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,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface TaskListItemTagProps extends BaseProps<'strong'> {
|
|
4
|
-
/**
|
|
5
|
-
* Set status to change the background color of the TaskListItemTag element.
|
|
6
|
-
@value 'primary'
|
|
7
|
-
@value 'secondary'
|
|
8
|
-
@value 'info'
|
|
9
|
-
*/
|
|
10
|
-
color?: 'primary' | 'secondary' | 'info';
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* TaskListItemTag is used inside the TaskListItem component and it displays the status of the task (completed, not started yet, etc.)
|
|
14
|
-
*/
|
|
15
|
-
export declare const TaskListItemTag: React.ForwardRefExoticComponent<Omit<TaskListItemTagProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
16
|
-
export default TaskListItemTag;
|
package/TaskListItemTag/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 TaskListItemTag_TaskListItemTag = /*#__PURE__*/ react.forwardRef(function({ color, className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "strong",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-task-list__content__tag': true,
|
|
10
|
-
[`ds-task-list__content__tag--${color}`]: void 0 !== color
|
|
11
|
-
}),
|
|
12
|
-
...props
|
|
13
|
-
}, children);
|
|
14
|
-
});
|
|
15
|
-
const TaskListItemTag = TaskListItemTag_TaskListItemTag;
|
|
16
|
-
export { TaskListItemTag_TaskListItemTag as TaskListItemTag, TaskListItemTag as default };
|
package/TextArea/index.d.ts
DELETED
package/TextArea/index.js
DELETED
package/TextArea/index.native.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import clsx from "clsx";
|
|
2
|
-
import index_web from "./index.web.js";
|
|
3
|
-
import index_native from "../utils/index.native.js";
|
|
4
|
-
const TextArea = index_native(index_web, ({ className, ...props })=>({
|
|
5
|
-
...props,
|
|
6
|
-
multiline: true,
|
|
7
|
-
className: clsx(className, {
|
|
8
|
-
'ds-textarea__wrapper': true
|
|
9
|
-
})
|
|
10
|
-
}));
|
|
11
|
-
const TextArea_index_native = TextArea;
|
|
12
|
-
export { TextArea, TextArea_index_native as default };
|
package/TextArea/index.web.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface TextAreaProps extends BaseProps<'textarea'> {
|
|
4
|
-
/**
|
|
5
|
-
* error is optional. The default value is false.
|
|
6
|
-
* Use this prop when there is an error at the input.
|
|
7
|
-
* @value true
|
|
8
|
-
* @value false
|
|
9
|
-
*/
|
|
10
|
-
error?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* dense is optional.
|
|
13
|
-
* @value true TextArea will be dense.
|
|
14
|
-
* @value false
|
|
15
|
-
* @default false
|
|
16
|
-
*/
|
|
17
|
-
dense?: boolean;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Textarea component is used when you need to let users enter an
|
|
21
|
-
* amount of text that’s longer than a single line.
|
|
22
|
-
*/
|
|
23
|
-
export declare const TextArea: React.ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
24
|
-
export default TextArea;
|
package/TextArea/index.web.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const index_web_TextArea = /*#__PURE__*/ react.forwardRef(function({ name, rows, error, dense, className, ...props }, ref) {
|
|
5
|
-
const defaultRows = dense ? 3 : 6;
|
|
6
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
7
|
-
as: "textarea",
|
|
8
|
-
name: name,
|
|
9
|
-
rows: rows || defaultRows,
|
|
10
|
-
ref: ref,
|
|
11
|
-
className: clsx(className, {
|
|
12
|
-
'ds-textarea': true,
|
|
13
|
-
'ds-textarea--dense': dense,
|
|
14
|
-
'ds-input--error': error
|
|
15
|
-
}),
|
|
16
|
-
...props
|
|
17
|
-
});
|
|
18
|
-
});
|
|
19
|
-
const index_web = index_web_TextArea;
|
|
20
|
-
export { index_web_TextArea as TextArea, index_web as default };
|
package/TextInput/index.d.ts
DELETED
package/TextInput/index.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import clsx from "clsx";
|
|
2
|
-
import index_web from "./index.web.js";
|
|
3
|
-
import index_native from "../utils/index.native.js";
|
|
4
|
-
const TextInput = index_native(index_web, ({ className, ...props })=>({
|
|
5
|
-
...props,
|
|
6
|
-
className: clsx(className, {
|
|
7
|
-
'ds-input__wrapper': true,
|
|
8
|
-
'ds-input--disabled': props.disabled,
|
|
9
|
-
[`ds-input--width-${props.maxWidth}__wrapper`]: void 0 !== props.maxWidth
|
|
10
|
-
})
|
|
11
|
-
}));
|
|
12
|
-
const TextInput_index_native = TextInput;
|
|
13
|
-
export { TextInput, TextInput_index_native as default };
|
package/TextInput/index.web.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface TextInputProps extends BaseProps<'input'> {
|
|
4
|
-
/**
|
|
5
|
-
* maxWidth is optional.
|
|
6
|
-
* @value '2-char';
|
|
7
|
-
* @value '3-char';
|
|
8
|
-
* @value '4-char';
|
|
9
|
-
* @value '5-char';
|
|
10
|
-
* @value '10-char';
|
|
11
|
-
* @value '20-char';
|
|
12
|
-
*/
|
|
13
|
-
maxWidth?: '2-char' | '3-char' | '4-char' | '5-char' | '10-char' | '20-char';
|
|
14
|
-
/**
|
|
15
|
-
* width is optional.
|
|
16
|
-
* Use width prop to define a custom width in your component.
|
|
17
|
-
* @value '25%';
|
|
18
|
-
* @value '33.3%';
|
|
19
|
-
* @value '50%';
|
|
20
|
-
* @value '66.6%';
|
|
21
|
-
* @value '75%';
|
|
22
|
-
* @value '100%';
|
|
23
|
-
* @value 'full';
|
|
24
|
-
*/
|
|
25
|
-
width?: '25%' | '33.3%' | '50%' | '66.6%' | '75%' | '100%' | 'full';
|
|
26
|
-
/**
|
|
27
|
-
* error is optional. The default value is false.
|
|
28
|
-
* Use this prop when there is an error at the input.
|
|
29
|
-
* @value true
|
|
30
|
-
* @value false
|
|
31
|
-
*/
|
|
32
|
-
error?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* dense is optional.
|
|
35
|
-
* @value true TextInput will be dense.
|
|
36
|
-
* @value false
|
|
37
|
-
* @default false
|
|
38
|
-
*/
|
|
39
|
-
dense?: boolean;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* TextInput component when you need to let users enter text that’s no
|
|
43
|
-
* longer than a single line, such as their name or phone number.
|
|
44
|
-
*/
|
|
45
|
-
export declare const TextInput: React.ForwardRefExoticComponent<Omit<TextInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
46
|
-
export default TextInput;
|
package/TextInput/index.web.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const index_web_TextInput = /*#__PURE__*/ react.forwardRef(function({ type = 'text', maxWidth, width, error, dense, className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "input",
|
|
7
|
-
type: type,
|
|
8
|
-
ref: ref,
|
|
9
|
-
className: clsx(className, {
|
|
10
|
-
'ds-input': true,
|
|
11
|
-
'ds-input--error': error,
|
|
12
|
-
'ds-input--dense': dense,
|
|
13
|
-
[`ds-input--width-${maxWidth}`]: void 0 !== maxWidth,
|
|
14
|
-
'ds-!-width-one-quarter': '25%' === width,
|
|
15
|
-
'ds-!-width-one-third': '33.3%' === width,
|
|
16
|
-
'ds-!-width-one-half': '50%' === width,
|
|
17
|
-
'ds-!-width-two-thirds': '66.6%' === width,
|
|
18
|
-
'ds-!-width-three-quarters': '75%' === width
|
|
19
|
-
}),
|
|
20
|
-
...props
|
|
21
|
-
}, children);
|
|
22
|
-
});
|
|
23
|
-
const index_web = index_web_TextInput;
|
|
24
|
-
export { index_web_TextInput as TextInput, index_web as default };
|
package/Timeline/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface TimelineProps extends BaseProps<'ol'> {
|
|
4
|
-
/**
|
|
5
|
-
* dense is optional.
|
|
6
|
-
* @value true Timeline will be dense.
|
|
7
|
-
* @value false
|
|
8
|
-
* @default true
|
|
9
|
-
*/
|
|
10
|
-
dense?: boolean;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Timeline component is used for listing items.
|
|
14
|
-
* This component must contain TimelineItem component.
|
|
15
|
-
*/
|
|
16
|
-
export declare const Timeline: React.ForwardRefExoticComponent<Omit<TimelineProps, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
17
|
-
export default Timeline;
|
package/Timeline/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 Timeline_Timeline = /*#__PURE__*/ react.forwardRef(function({ dense, className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "ol",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-timeline': true,
|
|
10
|
-
'ds-timeline--dense': dense
|
|
11
|
-
}),
|
|
12
|
-
...props
|
|
13
|
-
}, children);
|
|
14
|
-
});
|
|
15
|
-
const src_Timeline = Timeline_Timeline;
|
|
16
|
-
export { Timeline_Timeline as Timeline, src_Timeline as default };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface TimelineActionsProps extends BaseProps<'div'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* TimelineActions contains the action behavior for Timeline Component.
|
|
7
|
-
* We can use Links and Buttons.
|
|
8
|
-
* Use TimelineActions inside Timeline component, after TimelineContent.
|
|
9
|
-
*/
|
|
10
|
-
export declare const TimelineActions: React.ForwardRefExoticComponent<Omit<TimelineActionsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
export default TimelineActions;
|
package/TimelineActions/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 TimelineActions = /*#__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-timeline__actions': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_TimelineActions = TimelineActions;
|
|
15
|
-
export { TimelineActions, src_TimelineActions as default };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface TimelineContentProps extends BaseProps<'div'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* TimelineContent component is used as a content for Timeline component.
|
|
7
|
-
* TimelineContent component must be used inside Timeline component as child, after TimelineHeading.
|
|
8
|
-
*/
|
|
9
|
-
export declare const TimelineContent: React.ForwardRefExoticComponent<Omit<TimelineContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export default TimelineContent;
|
package/TimelineContent/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 TimelineContent_TimelineContent = /*#__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-timeline__content': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_TimelineContent = TimelineContent_TimelineContent;
|
|
15
|
-
export { TimelineContent_TimelineContent as TimelineContent, src_TimelineContent as default };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface TimelineHeadingProps extends BaseProps<'h2'> {
|
|
4
|
-
/**
|
|
5
|
-
* size is optional. 'lg' is the default value.
|
|
6
|
-
* @value 'lg'
|
|
7
|
-
* @value 'md'
|
|
8
|
-
* @value 'sm'
|
|
9
|
-
* @default 'lg'
|
|
10
|
-
*/
|
|
11
|
-
size?: 'lg' | 'md' | 'sm';
|
|
12
|
-
/**
|
|
13
|
-
* element is optional. 'h2' is the default value.
|
|
14
|
-
* @value 'h2'
|
|
15
|
-
* @value 'h3'
|
|
16
|
-
* @value 'h4'
|
|
17
|
-
*/
|
|
18
|
-
element?: 'h2' | 'h3' | 'h4';
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* TimelineHeading component is used to place a title in a Timeline component.
|
|
22
|
-
* TimelineHeading component must be wraped inside Timeline component.
|
|
23
|
-
*/
|
|
24
|
-
export declare const TimelineHeading: React.ForwardRefExoticComponent<Omit<TimelineHeadingProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
25
|
-
export default TimelineHeading;
|
package/TimelineHeading/index.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const getComponentBySize = (size)=>{
|
|
5
|
-
switch(size){
|
|
6
|
-
case 'lg':
|
|
7
|
-
return 'h2';
|
|
8
|
-
case 'md':
|
|
9
|
-
return 'h3';
|
|
10
|
-
case 'sm':
|
|
11
|
-
return 'h4';
|
|
12
|
-
default:
|
|
13
|
-
return 'h2';
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
const TimelineHeading_TimelineHeading = /*#__PURE__*/ react.forwardRef(function({ size = 'lg', element, className, children, ...props }, ref) {
|
|
17
|
-
const Component = element ? element : getComponentBySize(size);
|
|
18
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
19
|
-
as: Component,
|
|
20
|
-
ref: ref,
|
|
21
|
-
className: clsx(className, {
|
|
22
|
-
'ds-timeline__heading': true,
|
|
23
|
-
'ds-timeline__heading-md': 'md' === size,
|
|
24
|
-
'ds-timeline__heading-sm': 'sm' === size
|
|
25
|
-
}),
|
|
26
|
-
...props
|
|
27
|
-
}, children);
|
|
28
|
-
});
|
|
29
|
-
const src_TimelineHeading = TimelineHeading_TimelineHeading;
|
|
30
|
-
export { TimelineHeading_TimelineHeading as TimelineHeading, src_TimelineHeading as default };
|
package/TimelineItem/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface TimelineItemProps extends BaseProps<'li'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* TimelineItem must be inside Timeline compoenent.
|
|
7
|
-
*/
|
|
8
|
-
export declare const TimelineItem: React.ForwardRefExoticComponent<Omit<TimelineItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
9
|
-
export default TimelineItem;
|
package/TimelineItem/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 TimelineItem_TimelineItem = /*#__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-timeline__item': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_TimelineItem = TimelineItem_TimelineItem;
|
|
15
|
-
export { TimelineItem_TimelineItem as TimelineItem, src_TimelineItem as default };
|
package/Top/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface TopProps extends BaseProps<'div'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Top is used inside the Layout component and it must be the first component in order.
|
|
7
|
-
*/
|
|
8
|
-
export declare const Top: React.ForwardRefExoticComponent<Omit<TopProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
export default Top;
|
package/Top/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 Top_Top = /*#__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-top': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_Top = Top_Top;
|
|
15
|
-
export { Top_Top as Top, src_Top as default };
|
package/Typography/index.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface TypographyProps extends BaseProps<'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'span' | 'p' | 'code'> {
|
|
4
|
-
/**
|
|
5
|
-
* fontSize is optional.
|
|
6
|
-
* Add this fontSize override prop in order to change the font size.
|
|
7
|
-
* @value 14
|
|
8
|
-
* @value 16
|
|
9
|
-
* @value 19
|
|
10
|
-
* @value 24
|
|
11
|
-
* @value 30
|
|
12
|
-
* @value 36
|
|
13
|
-
* @value 48
|
|
14
|
-
* @value 72
|
|
15
|
-
*/
|
|
16
|
-
fontSize?: 14 | 16 | 19 | 24 | 30 | 36 | 48 | 72;
|
|
17
|
-
/**
|
|
18
|
-
* fontWeight is optional.
|
|
19
|
-
* You can add a fontWeight override prop to change the font weight to regular or bold.
|
|
20
|
-
* @value 'regular'
|
|
21
|
-
* @value 'bold'
|
|
22
|
-
*/
|
|
23
|
-
fontWeight?: 'regular' | 'bold';
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Typography component is used as generic component for typography.
|
|
27
|
-
* Use Typography component to extend components such as Heading, NormalText Paragraph etc.
|
|
28
|
-
*/
|
|
29
|
-
export declare const Typography: React.ForwardRefExoticComponent<Omit<TypographyProps, "ref"> & React.RefAttributes<HTMLParagraphElement | HTMLHeadingElement | HTMLSpanElement>>;
|
|
30
|
-
export default Typography;
|
package/Typography/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 Typography_Typography = /*#__PURE__*/ react.forwardRef(function({ as, fontSize, fontWeight, className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: as,
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
[`ds-!-font-size-${fontSize}`]: void 0 !== fontSize,
|
|
10
|
-
[`ds-!-font-weight-${fontWeight}`]: void 0 !== fontWeight
|
|
11
|
-
}),
|
|
12
|
-
...props
|
|
13
|
-
}, children);
|
|
14
|
-
});
|
|
15
|
-
const src_Typography = Typography_Typography;
|
|
16
|
-
export { Typography_Typography as Typography, src_Typography as default };
|
package/Unpurge/index.d.ts
DELETED