@digigov/react-core 2.0.8 → 2.0.9-platform-196.17-02-26-12-34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.prettierrc.cjs +1 -0
- package/.turbo/turbo-build.log +15 -0
- package/CHANGELOG.json +1750 -0
- package/eslint.config.mjs +3 -0
- package/nativewind-env.d.ts +1 -0
- package/package.json +54 -7
- package/tsconfig.json +16 -0
- package/tsconfig.production.json +7 -0
- package/Accordion/index.d.ts +0 -2
- package/Accordion/index.js +0 -3
- package/Accordion/index.native.d.ts +0 -2
- package/Accordion/index.native.js +0 -15
- package/Accordion/index.web.d.ts +0 -28
- package/Accordion/index.web.js +0 -20
- package/AccordionControls/index.d.ts +0 -9
- package/AccordionControls/index.js +0 -15
- package/AccordionSection/index.d.ts +0 -2
- package/AccordionSection/index.js +0 -3
- package/AccordionSection/index.native.d.ts +0 -2
- package/AccordionSection/index.native.js +0 -12
- package/AccordionSection/index.web.d.ts +0 -10
- package/AccordionSection/index.web.js +0 -15
- package/AccordionSectionContent/index.d.ts +0 -10
- package/AccordionSectionContent/index.js +0 -15
- package/AccordionSectionSummary/index.d.ts +0 -9
- package/AccordionSectionSummary/index.js +0 -17
- package/AccordionSectionSummaryHeading/index.d.ts +0 -10
- package/AccordionSectionSummaryHeading/index.js +0 -22
- package/AdminAside/index.d.ts +0 -9
- package/AdminAside/index.js +0 -16
- package/AdminContainer/index.d.ts +0 -17
- package/AdminContainer/index.js +0 -16
- package/AdminHeader/index.d.ts +0 -10
- package/AdminHeader/index.js +0 -15
- package/AdminHeaderContent/index.d.ts +0 -9
- package/AdminHeaderContent/index.js +0 -14
- package/AdminLayout/index.d.ts +0 -9
- package/AdminLayout/index.js +0 -15
- package/AdminMain/index.d.ts +0 -9
- package/AdminMain/index.js +0 -15
- package/AdminTopSection/index.d.ts +0 -25
- package/AdminTopSection/index.js +0 -17
- package/Aside/index.d.ts +0 -27
- package/Aside/index.js +0 -21
- package/AutoCompleteAssistiveHint/index.d.ts +0 -11
- package/AutoCompleteAssistiveHint/index.js +0 -15
- package/AutoCompleteContainer/index.d.ts +0 -22
- package/AutoCompleteContainer/index.js +0 -21
- package/AutoCompleteInputBase/index.d.ts +0 -17
- package/AutoCompleteInputBase/index.js +0 -18
- package/AutoCompleteMultipleInput/index.d.ts +0 -9
- package/AutoCompleteMultipleInput/index.js +0 -16
- package/AutoCompleteMultipleInputContainer/index.d.ts +0 -12
- package/AutoCompleteMultipleInputContainer/index.js +0 -17
- package/AutoCompleteResultList/index.d.ts +0 -20
- package/AutoCompleteResultList/index.js +0 -16
- package/AutoCompleteResultListItem/index.d.ts +0 -47
- package/AutoCompleteResultListItem/index.js +0 -19
- package/AutoCompleteStatus/index.d.ts +0 -10
- package/AutoCompleteStatus/index.js +0 -18
- package/AutoCompleteStatusContainer/index.d.ts +0 -10
- package/AutoCompleteStatusContainer/index.js +0 -15
- package/BackLinkBase/index.d.ts +0 -9
- package/BackLinkBase/index.js +0 -22
- package/BackToTopContainer/index.d.ts +0 -17
- package/BackToTopContainer/index.js +0 -20
- package/BackToTopLimit/index.d.ts +0 -9
- package/BackToTopLimit/index.js +0 -13
- package/BackToTopLink/index.d.ts +0 -9
- package/BackToTopLink/index.js +0 -21
- package/BannerContainer/index.d.ts +0 -6
- package/BannerContainer/index.js +0 -15
- package/Base/compat/Input/CheckboxInput.native.d.ts +0 -4
- package/Base/compat/Input/CheckboxInput.native.js +0 -24
- package/Base/compat/Input/RadioInput.native.d.ts +0 -4
- package/Base/compat/Input/RadioInput.native.js +0 -24
- package/Base/compat/Input/StringInput.native.d.ts +0 -7
- package/Base/compat/Input/StringInput.native.js +0 -79
- package/Base/compat/Input/index.native.d.ts +0 -7
- package/Base/compat/Input/index.native.js +0 -25
- package/Base/compat/button.native.d.ts +0 -5
- package/Base/compat/button.native.js +0 -36
- package/Base/compat/details.native.d.ts +0 -9
- package/Base/compat/details.native.js +0 -29
- package/Base/compat/li.native.d.ts +0 -4
- package/Base/compat/li.native.js +0 -4
- package/Base/compat/ol.native.d.ts +0 -6
- package/Base/compat/ol.native.js +0 -24
- package/Base/index.d.ts +0 -2
- package/Base/index.js +0 -3
- package/Base/index.native.d.ts +0 -7
- package/Base/index.native.js +0 -111
- package/Base/index.web.d.ts +0 -104
- package/Base/index.web.js +0 -53
- package/Base/mapping.native.d.ts +0 -6
- package/Base/mapping.native.js +0 -36
- package/Base/utils.d.ts +0 -40
- package/Base/utils.js +0 -46
- package/Base/wrap.native.d.ts +0 -2
- package/Base/wrap.native.js +0 -67
- package/Blockquote/index.d.ts +0 -16
- package/Blockquote/index.js +0 -16
- package/Bottom/index.d.ts +0 -9
- package/Bottom/index.js +0 -15
- package/BottomInfo/index.d.ts +0 -9
- package/BottomInfo/index.js +0 -14
- package/BottomInfoContainer/index.d.ts +0 -9
- package/BottomInfoContainer/index.js +0 -14
- package/BottomInfoContent/index.d.ts +0 -9
- package/BottomInfoContent/index.js +0 -16
- package/Breadcrumbs/index.d.ts +0 -10
- package/Breadcrumbs/index.js +0 -16
- package/BreadcrumbsList/index.d.ts +0 -9
- package/BreadcrumbsList/index.js +0 -15
- package/BreadcrumbsListItemLinkBase/index.d.ts +0 -14
- package/BreadcrumbsListItemLinkBase/index.js +0 -15
- package/BreadcrumbsListItemWrapper/index.d.ts +0 -10
- package/BreadcrumbsListItemWrapper/index.js +0 -15
- package/Button/index.d.ts +0 -35
- package/Button/index.js +0 -25
- package/ButtonGroup/index.d.ts +0 -9
- package/ButtonGroup/index.js +0 -15
- package/ButtonLinkBase/index.d.ts +0 -28
- package/ButtonLinkBase/index.js +0 -19
- package/CallToActionBase/index.d.ts +0 -9
- package/CallToActionBase/index.js +0 -18
- package/Card/index.d.ts +0 -50
- package/Card/index.js +0 -28
- package/CardAction/index.d.ts +0 -11
- package/CardAction/index.js +0 -15
- package/CardContent/index.d.ts +0 -10
- package/CardContent/index.js +0 -15
- package/CardHeading/index.d.ts +0 -10
- package/CardHeading/index.js +0 -17
- package/Checkbox/index.d.ts +0 -27
- package/Checkbox/index.js +0 -17
- package/CheckboxConditional/index.d.ts +0 -11
- package/CheckboxConditional/index.js +0 -17
- package/CheckboxItem/index.d.ts +0 -17
- package/CheckboxItem/index.js +0 -27
- package/CheckboxItemInput/index.d.ts +0 -2
- package/CheckboxItemInput/index.js +0 -3
- package/CheckboxItemInput/index.web.d.ts +0 -10
- package/CheckboxItemInput/index.web.js +0 -19
- package/Chip/index.d.ts +0 -14
- package/Chip/index.js +0 -28
- package/ChipContainer/index.d.ts +0 -14
- package/ChipContainer/index.js +0 -16
- package/ChipHeading/index.d.ts +0 -10
- package/ChipHeading/index.js +0 -12
- package/ChipKeyValue/index.d.ts +0 -10
- package/ChipKeyValue/index.js +0 -15
- package/ChoiceDividerText/index.d.ts +0 -10
- package/ChoiceDividerText/index.js +0 -15
- package/CircularProgressBase/index.d.ts +0 -27
- package/CircularProgressBase/index.js +0 -28
- package/CloseButton/index.d.ts +0 -15
- package/CloseButton/index.js +0 -16
- package/Code/index.d.ts +0 -18
- package/Code/index.js +0 -19
- package/CodeBlockContainer/index.d.ts +0 -10
- package/CodeBlockContainer/index.js +0 -15
- package/CodeBlockContent/index.d.ts +0 -10
- package/CodeBlockContent/index.js +0 -18
- package/CodeBlockHeader/index.d.ts +0 -19
- package/CodeBlockHeader/index.js +0 -16
- package/Container/index.d.ts +0 -23
- package/Container/index.js +0 -19
- package/CopyToClipboardContainer/index.d.ts +0 -2
- package/CopyToClipboardContainer/index.js +0 -3
- package/CopyToClipboardContainer/index.web.d.ts +0 -31
- package/CopyToClipboardContainer/index.web.js +0 -25
- package/CopyToClipboardMessage/index.d.ts +0 -2
- package/CopyToClipboardMessage/index.js +0 -3
- package/CopyToClipboardMessage/index.native.d.ts +0 -4
- package/CopyToClipboardMessage/index.native.js +0 -12
- package/CopyToClipboardMessage/index.web.d.ts +0 -18
- package/CopyToClipboardMessage/index.web.js +0 -16
- package/CopyrightContainer/index.d.ts +0 -10
- package/CopyrightContainer/index.js +0 -15
- package/DateInputContainer/index.d.ts +0 -19
- package/DateInputContainer/index.js +0 -16
- package/DateInputItem/index.d.ts +0 -2
- package/DateInputItem/index.js +0 -3
- package/DateInputItem/index.native.d.ts +0 -2
- package/DateInputItem/index.native.js +0 -8
- package/DateInputItem/index.web.d.ts +0 -26
- package/DateInputItem/index.web.js +0 -26
- package/Details/index.d.ts +0 -2
- package/Details/index.js +0 -3
- package/Details/index.native.d.ts +0 -2
- package/Details/index.native.js +0 -11
- package/Details/index.web.d.ts +0 -10
- package/Details/index.web.js +0 -15
- package/DetailsContent/index.d.ts +0 -11
- package/DetailsContent/index.js +0 -16
- package/DetailsSummary/index.d.ts +0 -10
- package/DetailsSummary/index.js +0 -16
- package/Drawer/index.d.ts +0 -46
- package/Drawer/index.js +0 -31
- package/DrawerHeading/index.d.ts +0 -16
- package/DrawerHeading/index.js +0 -19
- package/DropdownBase/index.d.ts +0 -39
- package/DropdownBase/index.js +0 -19
- package/DropdownButton/index.d.ts +0 -45
- package/DropdownButton/index.js +0 -26
- package/DropdownContent/index.d.ts +0 -25
- package/DropdownContent/index.js +0 -17
- package/ErrorMessage/index.d.ts +0 -11
- package/ErrorMessage/index.js +0 -15
- package/ErrorSummary/index.d.ts +0 -25
- package/ErrorSummary/index.js +0 -16
- package/FieldContainer/index.d.ts +0 -15
- package/FieldContainer/index.js +0 -20
- package/Fieldset/index.d.ts +0 -10
- package/Fieldset/index.js +0 -15
- package/FieldsetLegend/index.d.ts +0 -27
- package/FieldsetLegend/index.js +0 -20
- package/FileUpload/index.d.ts +0 -24
- package/FileUpload/index.js +0 -28
- package/FileUploadContainer/index.d.ts +0 -24
- package/FileUploadContainer/index.js +0 -16
- package/FillableText/index.d.ts +0 -10
- package/FillableText/index.js +0 -15
- package/FilterContainer/index.d.ts +0 -40
- package/FilterContainer/index.js +0 -30
- package/FilterContent/index.d.ts +0 -9
- package/FilterContent/index.js +0 -15
- package/FilterHeadingContainer/index.d.ts +0 -24
- package/FilterHeadingContainer/index.js +0 -20
- package/FilterOptionsSection/index.d.ts +0 -14
- package/FilterOptionsSection/index.js +0 -16
- package/FilterSelectedHeading/index.d.ts +0 -9
- package/FilterSelectedHeading/index.js +0 -15
- package/FilterSelectedSection/index.d.ts +0 -9
- package/FilterSelectedSection/index.js +0 -15
- package/Footer/index.d.ts +0 -9
- package/Footer/index.js +0 -15
- package/FooterContainer/index.d.ts +0 -9
- package/FooterContainer/index.js +0 -11
- package/FooterContent/index.d.ts +0 -10
- package/FooterContent/index.js +0 -15
- package/FooterContentLogos/index.d.ts +0 -11
- package/FooterContentLogos/index.js +0 -15
- package/FooterHeading/index.d.ts +0 -18
- package/FooterHeading/index.js +0 -16
- package/FooterImage/index.d.ts +0 -11
- package/FooterImage/index.js +0 -16
- package/FooterInfo/index.d.ts +0 -11
- package/FooterInfo/index.js +0 -15
- package/FooterInfoSection/index.d.ts +0 -14
- package/FooterInfoSection/index.js +0 -16
- package/FooterLinkBase/index.d.ts +0 -9
- package/FooterLinkBase/index.js +0 -15
- package/FooterList/index.d.ts +0 -23
- package/FooterList/index.js +0 -17
- package/FooterListItem/index.d.ts +0 -10
- package/FooterListItem/index.js +0 -15
- package/FooterNavigation/index.d.ts +0 -11
- package/FooterNavigation/index.js +0 -15
- package/FooterNavigationSection/index.d.ts +0 -11
- package/FooterNavigationSection/index.js +0 -15
- package/Form/index.d.ts +0 -16
- package/Form/index.js +0 -16
- package/FullPageBackground/index.d.ts +0 -10
- package/FullPageBackground/index.js +0 -15
- package/GovGRLogoBase/govgr-logo-base64.d.ts +0 -2
- package/GovGRLogoBase/govgr-logo-base64.js +0 -2
- package/GovGRLogoBase/govgr-logo-blue-base64.d.ts +0 -2
- package/GovGRLogoBase/govgr-logo-blue-base64.js +0 -2
- package/GovGRLogoBase/index.d.ts +0 -9
- package/GovGRLogoBase/index.js +0 -30
- package/Grid/index.d.ts +0 -83
- package/Grid/index.js +0 -28
- package/Header/index.d.ts +0 -10
- package/Header/index.js +0 -17
- package/HeaderContent/index.d.ts +0 -9
- package/HeaderContent/index.js +0 -15
- package/HeaderLogoBase/index.d.ts +0 -19
- package/HeaderLogoBase/index.js +0 -22
- package/HeaderNavMenuContent/index.d.ts +0 -11
- package/HeaderNavMenuContent/index.js +0 -15
- package/HeaderSecondaryLogoBase/index.d.ts +0 -19
- package/HeaderSecondaryLogoBase/index.js +0 -22
- package/HeaderSection/index.d.ts +0 -9
- package/HeaderSection/index.js +0 -15
- package/HeaderTitleBase/index.d.ts +0 -9
- package/HeaderTitleBase/index.js +0 -16
- package/Heading/index.d.ts +0 -31
- package/Heading/index.js +0 -33
- package/HeadingCaption/index.d.ts +0 -19
- package/HeadingCaption/index.js +0 -15
- package/HellenicRepublicLogo/index.d.ts +0 -17
- package/HellenicRepublicLogo/index.js +0 -32
- package/HellenicRepublicLogo/logo-el.d.ts +0 -2
- package/HellenicRepublicLogo/logo-el.js +0 -2
- package/HellenicRepublicLogo/logo-en.d.ts +0 -2
- package/HellenicRepublicLogo/logo-en.js +0 -2
- package/HellenicRepublicLogo/logo-inverted-el.d.ts +0 -2
- package/HellenicRepublicLogo/logo-inverted-el.js +0 -2
- package/HellenicRepublicLogo/logo-inverted-en.d.ts +0 -2
- package/HellenicRepublicLogo/logo-inverted-en.js +0 -2
- package/Hidden/index.d.ts +0 -71
- package/Hidden/index.js +0 -21
- package/Hint/index.d.ts +0 -22
- package/Hint/index.js +0 -18
- package/ImageLogo/index.d.ts +0 -20
- package/ImageLogo/index.js +0 -18
- package/ImageLogoSet/index.d.ts +0 -20
- package/ImageLogoSet/index.js +0 -19
- package/KitchenSinkAllComponents/index.d.ts +0 -5
- package/KitchenSinkAllComponents/index.js +0 -14
- package/KitchenSinkCard/index.d.ts +0 -5
- package/KitchenSinkCard/index.js +0 -15
- package/KitchenSinkCategory/index.d.ts +0 -5
- package/KitchenSinkCategory/index.js +0 -14
- package/KitchenSinkContent/index.d.ts +0 -14
- package/KitchenSinkContent/index.js +0 -15
- package/KitchenSinkContentInfo/index.d.ts +0 -5
- package/KitchenSinkContentInfo/index.js +0 -14
- package/KitchenSinkContentTags/index.d.ts +0 -5
- package/KitchenSinkContentTags/index.js +0 -14
- package/KitchenSinkHeading/index.d.ts +0 -5
- package/KitchenSinkHeading/index.js +0 -13
- package/KitchenSinkLetterContent/index.d.ts +0 -5
- package/KitchenSinkLetterContent/index.js +0 -14
- package/LabelContainer/index.d.ts +0 -9
- package/LabelContainer/index.js +0 -15
- package/LabelTitle/index.d.ts +0 -26
- package/LabelTitle/index.js +0 -20
- package/LabeledText/index.d.ts +0 -18
- package/LabeledText/index.js +0 -16
- package/Layout/index.d.ts +0 -15
- package/Layout/index.js +0 -16
- package/LinkBase/index.d.ts +0 -24
- package/LinkBase/index.js +0 -20
- package/List/index.d.ts +0 -33
- package/List/index.js +0 -19
- package/ListItem/index.d.ts +0 -9
- package/ListItem/index.js +0 -15
- package/LoaderContainer/index.d.ts +0 -9
- package/LoaderContainer/index.js +0 -15
- package/Main/index.d.ts +0 -9
- package/Main/index.js +0 -19
- package/Masthead/index.d.ts +0 -18
- package/Masthead/index.js +0 -18
- package/MastheadBody/index.d.ts +0 -9
- package/MastheadBody/index.js +0 -15
- package/MastheadLogo/index.d.ts +0 -11
- package/MastheadLogo/index.js +0 -16
- package/ModalAction/index.d.ts +0 -11
- package/ModalAction/index.js +0 -15
- package/ModalContainer/index.d.ts +0 -31
- package/ModalContainer/index.js +0 -23
- package/ModalContent/index.d.ts +0 -10
- package/ModalContent/index.js +0 -15
- package/ModalHeading/index.d.ts +0 -10
- package/ModalHeading/index.js +0 -12
- package/Nav/index.d.ts +0 -49
- package/Nav/index.js +0 -28
- package/NavList/index.d.ts +0 -31
- package/NavList/index.js +0 -19
- package/NavListItemActionBase/index.d.ts +0 -26
- package/NavListItemActionBase/index.js +0 -22
- package/NavListItemActionContainer/index.d.ts +0 -2
- package/NavListItemActionContainer/index.js +0 -3
- package/NavListItemActionContainer/index.native.d.ts +0 -5
- package/NavListItemActionContainer/index.native.js +0 -11
- package/NavListItemActionContainer/index.web.d.ts +0 -10
- package/NavListItemActionContainer/index.web.js +0 -15
- package/NavListItemBadge/index.d.ts +0 -15
- package/NavListItemBadge/index.js +0 -15
- package/NavListItemButton/index.d.ts +0 -27
- package/NavListItemButton/index.js +0 -20
- package/NavListItemLinkBase/index.d.ts +0 -17
- package/NavListItemLinkBase/index.js +0 -16
- package/NavMenuContainer/index.d.ts +0 -25
- package/NavMenuContainer/index.js +0 -25
- package/NavMenuContent/index.d.ts +0 -11
- package/NavMenuContent/index.js +0 -18
- package/NavMenuContentListBase/index.d.ts +0 -10
- package/NavMenuContentListBase/index.js +0 -15
- package/NavMenuContentListItem/index.d.ts +0 -10
- package/NavMenuContentListItem/index.js +0 -15
- package/NavMenuTitle/index.d.ts +0 -11
- package/NavMenuTitle/index.js +0 -24
- package/NormalText/index.d.ts +0 -18
- package/NormalText/index.js +0 -19
- package/NotificationBannerContainer/index.d.ts +0 -30
- package/NotificationBannerContainer/index.js +0 -20
- package/NotificationBannerContent/index.d.ts +0 -34
- package/NotificationBannerContent/index.js +0 -25
- package/NotificationBannerHeader/index.d.ts +0 -11
- package/NotificationBannerHeader/index.js +0 -23
- package/NotificationBannerHeading/index.d.ts +0 -11
- package/NotificationBannerHeading/index.js +0 -16
- package/NotificationBannerLink/index.d.ts +0 -2
- package/NotificationBannerLink/index.js +0 -3
- package/NotificationBannerLink/index.native.d.ts +0 -6
- package/NotificationBannerLink/index.native.js +0 -12
- package/NotificationBannerLink/index.web.d.ts +0 -11
- package/NotificationBannerLink/index.web.js +0 -14
- package/PageTitleCaption/index.d.ts +0 -9
- package/PageTitleCaption/index.js +0 -10
- package/PageTitleContainer/index.d.ts +0 -9
- package/PageTitleContainer/index.js +0 -15
- package/PageTitleHeading/index.d.ts +0 -10
- package/PageTitleHeading/index.js +0 -10
- package/Pagination/index.d.ts +0 -17
- package/Pagination/index.js +0 -16
- package/PaginationLabelContainer/index.d.ts +0 -9
- package/PaginationLabelContainer/index.js +0 -15
- package/PaginationList/index.d.ts +0 -9
- package/PaginationList/index.js +0 -15
- package/PaginationListItem/index.d.ts +0 -29
- package/PaginationListItem/index.js +0 -18
- package/Panel/index.d.ts +0 -15
- package/Panel/index.js +0 -16
- package/PanelBody/index.d.ts +0 -9
- package/PanelBody/index.js +0 -15
- package/PanelTitle/index.d.ts +0 -9
- package/PanelTitle/index.js +0 -15
- package/Paragraph/index.d.ts +0 -10
- package/Paragraph/index.js +0 -11
- package/PhaseBanner/index.d.ts +0 -18
- package/PhaseBanner/index.js +0 -21
- package/PhaseBannerHeaderContainer/index.d.ts +0 -6
- package/PhaseBannerHeaderContainer/index.js +0 -15
- package/PhaseBannerTag/index.d.ts +0 -9
- package/PhaseBannerTag/index.js +0 -15
- package/PhaseBannerText/index.d.ts +0 -11
- package/PhaseBannerText/index.js +0 -15
- package/RadioConditional/index.d.ts +0 -11
- package/RadioConditional/index.js +0 -17
- package/RadioContainer/index.d.ts +0 -24
- package/RadioContainer/index.js +0 -17
- package/RadioItem/index.d.ts +0 -16
- package/RadioItem/index.js +0 -31
- package/ResultsActionBar/index.d.ts +0 -9
- package/ResultsActionBar/index.js +0 -15
- package/ResultsHeading/index.d.ts +0 -10
- package/ResultsHeading/index.js +0 -15
- package/ResultsHeadingActions/index.d.ts +0 -10
- package/ResultsHeadingActions/index.js +0 -15
- package/SearchButton/index.d.ts +0 -10
- package/SearchButton/index.js +0 -15
- package/SearchContainer/index.d.ts +0 -9
- package/SearchContainer/index.js +0 -15
- package/Section/index.d.ts +0 -10
- package/Section/index.js +0 -13
- package/SectionBreak/index.d.ts +0 -26
- package/SectionBreak/index.js +0 -19
- package/SelectContainer/index.d.ts +0 -17
- package/SelectContainer/index.js +0 -16
- package/SelectOption/index.d.ts +0 -10
- package/SelectOption/index.js +0 -15
- package/SingleCharacterInput/index.d.ts +0 -18
- package/SingleCharacterInput/index.js +0 -18
- package/SingleCharacterInputs/index.d.ts +0 -11
- package/SingleCharacterInputs/index.js +0 -15
- package/Skeleton/index.d.ts +0 -49
- package/Skeleton/index.js +0 -31
- package/SkipLink/index.d.ts +0 -9
- package/SkipLink/index.js +0 -17
- package/Stack/index.d.ts +0 -41
- package/Stack/index.js +0 -26
- package/StepNav/index.d.ts +0 -17
- package/StepNav/index.js +0 -16
- package/StepNavAccordion/index.d.ts +0 -11
- package/StepNavAccordion/index.js +0 -15
- package/StepNavAccordionContent/index.d.ts +0 -10
- package/StepNavAccordionContent/index.js +0 -15
- package/StepNavAccordionHeadingText/index.d.ts +0 -22
- package/StepNavAccordionHeadingText/index.js +0 -19
- package/StepNavAccordionHeadingTitle/index.d.ts +0 -11
- package/StepNavAccordionHeadingTitle/index.js +0 -15
- package/StepNavAccordionSummary/index.d.ts +0 -9
- package/StepNavAccordionSummary/index.js +0 -16
- package/StepNavAccordionSummaryHeading/index.d.ts +0 -27
- package/StepNavAccordionSummaryHeading/index.js +0 -30
- package/StepNavCircleNumber/index.d.ts +0 -19
- package/StepNavCircleNumber/index.js +0 -20
- package/StepNavControls/index.d.ts +0 -10
- package/StepNavControls/index.js +0 -15
- package/StepNavList/index.d.ts +0 -10
- package/StepNavList/index.js +0 -15
- package/StepNavListItem/index.d.ts +0 -9
- package/StepNavListItem/index.js +0 -15
- package/SummaryList/index.d.ts +0 -36
- package/SummaryList/index.js +0 -18
- package/SummaryListItem/index.d.ts +0 -19
- package/SummaryListItem/index.js +0 -16
- package/SummaryListItemAction/index.d.ts +0 -10
- package/SummaryListItemAction/index.js +0 -15
- package/SummaryListItemKey/index.d.ts +0 -38
- package/SummaryListItemKey/index.js +0 -20
- package/SummaryListItemValue/index.d.ts +0 -23
- package/SummaryListItemValue/index.js +0 -17
- package/Table/index.d.ts +0 -62
- package/Table/index.js +0 -25
- package/TableBody/index.d.ts +0 -18
- package/TableBody/index.js +0 -17
- package/TableCaption/index.d.ts +0 -20
- package/TableCaption/index.js +0 -16
- package/TableContainer/index.d.ts +0 -16
- package/TableContainer/index.js +0 -16
- package/TableDataCell/index.d.ts +0 -40
- package/TableDataCell/index.js +0 -22
- package/TableHead/index.d.ts +0 -9
- package/TableHead/index.js +0 -15
- package/TableHeadCell/index.d.ts +0 -30
- package/TableHeadCell/index.js +0 -22
- package/TableLoaderBackground/index.d.ts +0 -10
- package/TableLoaderBackground/index.js +0 -15
- package/TableNoDataRow/index.d.ts +0 -10
- package/TableNoDataRow/index.js +0 -19
- package/TableRow/index.d.ts +0 -25
- package/TableRow/index.js +0 -17
- package/TableSortIconContainer/index.d.ts +0 -11
- package/TableSortIconContainer/index.js +0 -15
- package/Tabs/index.d.ts +0 -17
- package/Tabs/index.js +0 -16
- package/TabsHeading/index.d.ts +0 -18
- package/TabsHeading/index.js +0 -14
- package/TabsList/index.d.ts +0 -10
- package/TabsList/index.js +0 -16
- package/TabsListItemBase/index.d.ts +0 -17
- package/TabsListItemBase/index.js +0 -23
- package/TabsPanelBase/index.d.ts +0 -18
- package/TabsPanelBase/index.js +0 -18
- package/TaskList/index.d.ts +0 -17
- package/TaskList/index.js +0 -16
- package/TaskListItem/index.d.ts +0 -9
- package/TaskListItem/index.js +0 -15
- package/TaskListItemContent/index.d.ts +0 -10
- package/TaskListItemContent/index.js +0 -15
- package/TaskListItemHeading/index.d.ts +0 -10
- package/TaskListItemHeading/index.js +0 -12
- package/TaskListItemTag/index.d.ts +0 -16
- package/TaskListItemTag/index.js +0 -16
- package/TextArea/index.d.ts +0 -2
- package/TextArea/index.js +0 -3
- package/TextArea/index.native.d.ts +0 -2
- package/TextArea/index.native.js +0 -12
- package/TextArea/index.web.d.ts +0 -24
- package/TextArea/index.web.js +0 -20
- package/TextInput/index.d.ts +0 -2
- package/TextInput/index.js +0 -3
- package/TextInput/index.native.d.ts +0 -2
- package/TextInput/index.native.js +0 -13
- package/TextInput/index.web.d.ts +0 -46
- package/TextInput/index.web.js +0 -24
- package/Timeline/index.d.ts +0 -17
- package/Timeline/index.js +0 -16
- package/TimelineActions/index.d.ts +0 -11
- package/TimelineActions/index.js +0 -15
- package/TimelineContent/index.d.ts +0 -10
- package/TimelineContent/index.js +0 -15
- package/TimelineHeading/index.d.ts +0 -25
- package/TimelineHeading/index.js +0 -30
- package/TimelineItem/index.d.ts +0 -9
- package/TimelineItem/index.js +0 -15
- package/Top/index.d.ts +0 -9
- package/Top/index.js +0 -15
- package/Typography/index.d.ts +0 -30
- package/Typography/index.js +0 -16
- package/Unpurge/index.d.ts +0 -3
- package/Unpurge/index.js +0 -3163
- package/VisuallyHidden/index.d.ts +0 -10
- package/VisuallyHidden/index.js +0 -15
- package/WarningText/index.d.ts +0 -31
- package/WarningText/index.js +0 -28
- package/WarningTextAssistive/index.d.ts +0 -15
- package/WarningTextAssistive/index.js +0 -15
- package/index.d.ts +0 -218
- package/index.js +0 -222
- package/lazy.d.ts +0 -246
- package/lazy.js +0 -733
- package/registry.d.ts +0 -267
- package/registry.js +0 -540
- package/src/lazy.ts +0 -246
- package/src/registry.ts +0 -549
- package/utils/index.native.d.ts +0 -43
- package/utils/index.native.js +0 -46
package/LabelTitle/index.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 LabelTitle_LabelTitle = /*#__PURE__*/ react.forwardRef(function({ size, className, heading = false, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "span",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-label__title': true,
|
|
10
|
-
[`ds-label__title--${size}`]: void 0 !== size
|
|
11
|
-
}),
|
|
12
|
-
...heading && {
|
|
13
|
-
role: 'heading',
|
|
14
|
-
'aria-level': 1
|
|
15
|
-
},
|
|
16
|
-
...props
|
|
17
|
-
}, children);
|
|
18
|
-
});
|
|
19
|
-
const src_LabelTitle = LabelTitle_LabelTitle;
|
|
20
|
-
export { LabelTitle_LabelTitle as LabelTitle, src_LabelTitle as default };
|
package/LabeledText/index.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface LabeledTextProps extends BaseProps<'span'> {
|
|
4
|
-
/**
|
|
5
|
-
* Set active true when the label is focused. Default value is false.
|
|
6
|
-
* If the active property is being set to true the background color is yellow otherwise it's light grey.
|
|
7
|
-
* @value true
|
|
8
|
-
* @value false
|
|
9
|
-
*/
|
|
10
|
-
active?: boolean;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* LabeledText can be used to add style to some text.
|
|
14
|
-
* More specifically it adds background color and changes the font weight to bold.
|
|
15
|
-
* LabeledText is used inside Fillabletext component.
|
|
16
|
-
*/
|
|
17
|
-
export declare const LabeledText: React.ForwardRefExoticComponent<Omit<LabeledTextProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
18
|
-
export default LabeledText;
|
package/LabeledText/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 LabeledText_LabeledText = /*#__PURE__*/ react.forwardRef(function({ className, children, active, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "span",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-labeled-text': true,
|
|
10
|
-
'ds-labeled-text--active': active
|
|
11
|
-
}),
|
|
12
|
-
...props
|
|
13
|
-
}, children);
|
|
14
|
-
});
|
|
15
|
-
const src_LabeledText = LabeledText_LabeledText;
|
|
16
|
-
export { LabeledText_LabeledText as LabeledText, src_LabeledText as default };
|
package/Layout/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface LayoutProps extends BaseProps<'div'> {
|
|
4
|
-
/**
|
|
5
|
-
* @value true
|
|
6
|
-
* @value false
|
|
7
|
-
* @default true
|
|
8
|
-
*/
|
|
9
|
-
fullHeight?: boolean;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Wrapper component for the entire page except the Header and the Footer.
|
|
13
|
-
*/
|
|
14
|
-
export declare const Layout: React.ForwardRefExoticComponent<Omit<LayoutProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
-
export default Layout;
|
package/Layout/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 Layout_Layout = /*#__PURE__*/ react.forwardRef(function({ className, children, fullHeight = true, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "div",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-layout': true,
|
|
10
|
-
'ds-layout--full-height': fullHeight
|
|
11
|
-
}),
|
|
12
|
-
...props
|
|
13
|
-
}, children);
|
|
14
|
-
});
|
|
15
|
-
const src_Layout = Layout_Layout;
|
|
16
|
-
export { Layout_Layout as Layout, src_Layout as default };
|
package/LinkBase/index.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface LinkBaseProps extends BaseProps<'a'> {
|
|
4
|
-
/**
|
|
5
|
-
* underline is optional. The default value is 'true'.
|
|
6
|
-
* Make it 'false' only if the context tells the user that the text is a link, even without the underline.
|
|
7
|
-
* @value true
|
|
8
|
-
* @value false
|
|
9
|
-
*/
|
|
10
|
-
underline?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* defaultStyle is optional. The default value is 'true'.
|
|
13
|
-
* Make it 'false' only if you need to use a link with different style, and the default style clashes over with your
|
|
14
|
-
* custom styles. For example, BreadcrumbsListItem is a link but it has a different styling.
|
|
15
|
-
* @value true
|
|
16
|
-
* @value false
|
|
17
|
-
*/
|
|
18
|
-
defaultStyle?: boolean;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* This component defines a hyperlink, which is used to link from one page to another.
|
|
22
|
-
*/
|
|
23
|
-
export declare const LinkBase: React.ForwardRefExoticComponent<Omit<LinkBaseProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
24
|
-
export default LinkBase;
|
package/LinkBase/index.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 LinkBase_LinkBase = /*#__PURE__*/ react.forwardRef(function({ underline = true, defaultStyle = true, className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "a",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-link': defaultStyle,
|
|
10
|
-
'ds-link--no-underline': !underline
|
|
11
|
-
}),
|
|
12
|
-
...props.as && {
|
|
13
|
-
defaultStyle: defaultStyle,
|
|
14
|
-
underline: underline
|
|
15
|
-
},
|
|
16
|
-
...props
|
|
17
|
-
}, children);
|
|
18
|
-
});
|
|
19
|
-
const src_LinkBase = LinkBase_LinkBase;
|
|
20
|
-
export { LinkBase_LinkBase as LinkBase, src_LinkBase as default };
|
package/List/index.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface ListProps extends BaseProps<'ol'> {
|
|
4
|
-
/**
|
|
5
|
-
* listStyle is optional. By default, the list style is none.
|
|
6
|
-
* @value 'bullet'
|
|
7
|
-
* @value 'number'
|
|
8
|
-
* @value 'none'
|
|
9
|
-
* @default 'none'
|
|
10
|
-
*/
|
|
11
|
-
listStyle?: 'bullet' | 'number' | 'none';
|
|
12
|
-
/**
|
|
13
|
-
* dense is optional. Use it to add less space between the list items.
|
|
14
|
-
* @value true
|
|
15
|
-
* @value false
|
|
16
|
-
* @default true
|
|
17
|
-
*/
|
|
18
|
-
dense?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* layout is optional.
|
|
21
|
-
* Use it to display the list items horizontally or vertically.
|
|
22
|
-
* @value 'horizontal'
|
|
23
|
-
* @value 'vertical'
|
|
24
|
-
* @default 'vertical'
|
|
25
|
-
*/
|
|
26
|
-
layout?: 'horizontal' | 'vertical';
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* List component is used for listing items.
|
|
30
|
-
* This component must contain ListItem component.
|
|
31
|
-
*/
|
|
32
|
-
export declare const List: React.ForwardRefExoticComponent<Omit<ListProps, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
33
|
-
export default List;
|
package/List/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const List_List = /*#__PURE__*/ react.forwardRef(function({ listStyle = 'none', dense = true, layout, className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "ol",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-list': true,
|
|
10
|
-
'ds-list--bullet': 'bullet' === listStyle,
|
|
11
|
-
'ds-list--number': 'number' === listStyle,
|
|
12
|
-
'ds-list--spaced': !dense,
|
|
13
|
-
'ds-list--horizontal': 'horizontal' === layout
|
|
14
|
-
}),
|
|
15
|
-
...props
|
|
16
|
-
}, children);
|
|
17
|
-
});
|
|
18
|
-
const src_List = List_List;
|
|
19
|
-
export { List_List as List, src_List as default };
|
package/ListItem/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface ListItemProps extends BaseProps<'li'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* ListItem must be inside List compoenent.
|
|
7
|
-
*/
|
|
8
|
-
export declare const ListItem: React.ForwardRefExoticComponent<Omit<ListItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
9
|
-
export default ListItem;
|
package/ListItem/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 ListItem_ListItem = /*#__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-list__item': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_ListItem = ListItem_ListItem;
|
|
15
|
-
export { ListItem_ListItem as ListItem, src_ListItem as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface LoaderContainerProps extends BaseProps<'div'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* LoaderContainer contains the svg icon that is being displayed in the page and works as a loading indicator.
|
|
7
|
-
*/
|
|
8
|
-
export declare const LoaderContainer: React.ForwardRefExoticComponent<Omit<LoaderContainerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
export default LoaderContainer;
|
package/LoaderContainer/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 LoaderContainer_LoaderContainer = /*#__PURE__*/ react.forwardRef(function({ children, className, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "div",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-loader': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_LoaderContainer = LoaderContainer_LoaderContainer;
|
|
15
|
-
export { LoaderContainer_LoaderContainer as LoaderContainer, src_LoaderContainer as default };
|
package/Main/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { GridProps } from '../Grid/index.js';
|
|
3
|
-
export interface MainProps extends GridProps {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Use this inside Container component for placing the main content of the page.
|
|
7
|
-
*/
|
|
8
|
-
export declare const Main: React.ForwardRefExoticComponent<Omit<MainProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
9
|
-
export default Main;
|
package/Main/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 Main_Main = /*#__PURE__*/ react.forwardRef(function({ className, children, id = 'main-content', ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Grid, {
|
|
6
|
-
item: true,
|
|
7
|
-
xs: 12,
|
|
8
|
-
md: 8,
|
|
9
|
-
as: "main",
|
|
10
|
-
id: id,
|
|
11
|
-
ref: ref,
|
|
12
|
-
className: clsx(className, {
|
|
13
|
-
'ds-main': true
|
|
14
|
-
}),
|
|
15
|
-
...props
|
|
16
|
-
}, children);
|
|
17
|
-
});
|
|
18
|
-
const src_Main = Main_Main;
|
|
19
|
-
export { Main_Main as Main, src_Main as default };
|
package/Masthead/index.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface MastheadProps extends BaseProps<'section'> {
|
|
4
|
-
/**
|
|
5
|
-
*
|
|
6
|
-
* color prop changes the background color of MastHead component.
|
|
7
|
-
* default value is primary.
|
|
8
|
-
* @value 'primary'
|
|
9
|
-
* @value 'secondary'
|
|
10
|
-
* @default 'primary'
|
|
11
|
-
*/
|
|
12
|
-
color?: 'primary' | 'secondary';
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Use the Masthead on the top of the page.
|
|
16
|
-
*/
|
|
17
|
-
export declare const Masthead: React.ForwardRefExoticComponent<Omit<MastheadProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
-
export default Masthead;
|
package/Masthead/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const Masthead_Masthead = /*#__PURE__*/ react.forwardRef(function({ className, children, color = 'primary', ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "section",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-masthead': true,
|
|
10
|
-
'ds-background-dark': 'primary' === color,
|
|
11
|
-
'ds-masthead--primary': 'primary' === color,
|
|
12
|
-
'ds-masthead--secondary': 'secondary' === color
|
|
13
|
-
}),
|
|
14
|
-
...props
|
|
15
|
-
}, children);
|
|
16
|
-
});
|
|
17
|
-
const src_Masthead = Masthead_Masthead;
|
|
18
|
-
export { Masthead_Masthead as Masthead, src_Masthead as default };
|
package/MastheadBody/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface MastheadBodyProps extends BaseProps<'p'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Use the MastheadBody inside Masthead an you can wrap your content inside Main component.
|
|
7
|
-
*/
|
|
8
|
-
export declare const MastheadBody: React.ForwardRefExoticComponent<Omit<MastheadBodyProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
9
|
-
export default MastheadBody;
|
package/MastheadBody/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 MastheadBody_MastheadBody = /*#__PURE__*/ react.forwardRef(function({ className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "p",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-masthead__body': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_MastheadBody = MastheadBody_MastheadBody;
|
|
15
|
-
export { MastheadBody_MastheadBody as MastheadBody, src_MastheadBody as default };
|
package/MastheadLogo/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface MastheadLogoProps extends BaseProps<'img'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* MastheadLogo is a component for logos and images in the masthead.
|
|
7
|
-
* It is used inside to Masthead.
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
export declare const MastheadLogo: React.ForwardRefExoticComponent<Omit<MastheadLogoProps, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
11
|
-
export default MastheadLogo;
|
package/MastheadLogo/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 MastheadLogo_MastheadLogo = /*#__PURE__*/ react.forwardRef(function({ className, children, alt = 'masthead logo', ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "img",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-masthead__logo': true
|
|
10
|
-
}),
|
|
11
|
-
...props,
|
|
12
|
-
alt: alt
|
|
13
|
-
}, children);
|
|
14
|
-
});
|
|
15
|
-
const src_MastheadLogo = MastheadLogo_MastheadLogo;
|
|
16
|
-
export { MastheadLogo_MastheadLogo as MastheadLogo, src_MastheadLogo as default };
|
package/ModalAction/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface ModalActionProps extends BaseProps<'div'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* ModelAction contains the action behavior for Modal Component.
|
|
7
|
-
* We can use links, Buttons or ButtonGroup with max of two buttons
|
|
8
|
-
* Use ModalAction inside Modal component as childern
|
|
9
|
-
*/
|
|
10
|
-
export declare const ModalAction: React.ForwardRefExoticComponent<Omit<ModalActionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
export default ModalAction;
|
package/ModalAction/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 ModalAction_ModalAction = /*#__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-modal__action': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_ModalAction = ModalAction_ModalAction;
|
|
15
|
-
export { ModalAction_ModalAction as ModalAction, src_ModalAction as default };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface ModalContainerProps extends BaseProps<'div'> {
|
|
4
|
-
/**
|
|
5
|
-
* @value true
|
|
6
|
-
* @value false
|
|
7
|
-
*/
|
|
8
|
-
open?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* dense is optional.
|
|
11
|
-
* @value true ModalContainer and its children will be dense.
|
|
12
|
-
* @value false
|
|
13
|
-
* @default false
|
|
14
|
-
*/
|
|
15
|
-
dense?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* gaps is optional.
|
|
18
|
-
* @value false there will be no extra gaps among children components.
|
|
19
|
-
* @value true
|
|
20
|
-
* @default true
|
|
21
|
-
*/
|
|
22
|
-
gaps?: boolean;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Modals can be used to open a pop-up dialog box and provide critical information
|
|
26
|
-
* or ask for a decision. Modals disable all app functionality when they appear, and
|
|
27
|
-
* remain on screen until confirmed, dismissed, or a required action has been taken
|
|
28
|
-
* Use Modal as parent component to wrap ModalHeading, ModalText and ModalAction components
|
|
29
|
-
*/
|
|
30
|
-
export declare const ModalContainer: React.ForwardRefExoticComponent<Omit<ModalContainerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
31
|
-
export default ModalContainer;
|
package/ModalContainer/index.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const ModalContainer_ModalContainer = /*#__PURE__*/ react.forwardRef(function({ className, gaps = true, children, open, dense, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
ref: ref,
|
|
7
|
-
as: "div",
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-modal-container': true,
|
|
10
|
-
'ds-modal-container--open': open,
|
|
11
|
-
'ds-modal-container--dense': dense
|
|
12
|
-
}),
|
|
13
|
-
...props
|
|
14
|
-
}, /*#__PURE__*/ react.createElement(Base, {
|
|
15
|
-
as: "div",
|
|
16
|
-
className: "ds-modal"
|
|
17
|
-
}, gaps ? /*#__PURE__*/ react.createElement(Base, {
|
|
18
|
-
as: "div",
|
|
19
|
-
className: "ds-modal__body"
|
|
20
|
-
}, children) : children));
|
|
21
|
-
});
|
|
22
|
-
const src_ModalContainer = ModalContainer_ModalContainer;
|
|
23
|
-
export { ModalContainer_ModalContainer as ModalContainer, src_ModalContainer as default };
|
package/ModalContent/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface ModalContentProps extends BaseProps<'div'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* ModalContent contains the text or any other element for Modal Component
|
|
7
|
-
* Use ModalContent inside Modal component as children
|
|
8
|
-
*/
|
|
9
|
-
export declare const ModalContent: React.ForwardRefExoticComponent<Omit<ModalContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export default ModalContent;
|
package/ModalContent/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 ModalContent_ModalContent = /*#__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-modal__content': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_ModalContent = ModalContent_ModalContent;
|
|
15
|
-
export { ModalContent_ModalContent as ModalContent, src_ModalContent as default };
|
package/ModalHeading/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { HeadingProps } from '../Heading/index.js';
|
|
3
|
-
export interface ModalHeadingProps extends HeadingProps {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* ModalHeading gives header title to Modal Component
|
|
7
|
-
* Use ModalHeading inside Modal component as children
|
|
8
|
-
*/
|
|
9
|
-
export declare const ModalHeading: React.ForwardRefExoticComponent<Omit<ModalHeadingProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export default ModalHeading;
|
package/ModalHeading/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import Heading from "../Heading/index.js";
|
|
3
|
-
const ModalHeading_ModalHeading = /*#__PURE__*/ react.forwardRef(function({ children, ...props }, ref) {
|
|
4
|
-
return /*#__PURE__*/ react.createElement(Heading, {
|
|
5
|
-
ref: ref,
|
|
6
|
-
size: "md",
|
|
7
|
-
element: "h2",
|
|
8
|
-
...props
|
|
9
|
-
}, children);
|
|
10
|
-
});
|
|
11
|
-
const src_ModalHeading = ModalHeading_ModalHeading;
|
|
12
|
-
export { ModalHeading_ModalHeading as ModalHeading, src_ModalHeading as default };
|
package/Nav/index.d.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface NavProps extends BaseProps<'nav'> {
|
|
4
|
-
/**
|
|
5
|
-
* open is optional.
|
|
6
|
-
* use this prop to control the navigation's visibility when it's a drawer.
|
|
7
|
-
* @value true
|
|
8
|
-
* @value false
|
|
9
|
-
* @default false
|
|
10
|
-
*/
|
|
11
|
-
open?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* border is optional.
|
|
14
|
-
* border prop contains border-bottom styling.
|
|
15
|
-
* @value true
|
|
16
|
-
* @value false
|
|
17
|
-
* @default true
|
|
18
|
-
*/
|
|
19
|
-
border?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* drawer is optional.
|
|
22
|
-
* drawer prop allows element to be positioned relative to the viewport.
|
|
23
|
-
* Use this prop only if you want to implement responsive drawer navigation and you have a button to toggle the drawer open and closed.
|
|
24
|
-
* @value 'never' the navigation will never be drawer
|
|
25
|
-
* @value 'smDown' the navigation will be drawer on small screens only
|
|
26
|
-
* @value 'mdDown' the navigation will be drawer on medium screens and below
|
|
27
|
-
* @value 'lgDown' the navigation will be drawer on large screens and below
|
|
28
|
-
* @value 'always' the navigation will be drawer on all screen sizes
|
|
29
|
-
* @default 'never'
|
|
30
|
-
*/
|
|
31
|
-
drawer?: 'never' | 'smDown' | 'mdDown' | 'lgDown' | 'always';
|
|
32
|
-
/**
|
|
33
|
-
* onClose makes a CloseButton component visible when the Nav is drawer.
|
|
34
|
-
* Use this prop to close the drawer when close button is clicked, passing a callback function.
|
|
35
|
-
* Make sure that the drawer prop is not 'never'.
|
|
36
|
-
*/
|
|
37
|
-
onClose?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
38
|
-
/**
|
|
39
|
-
* closeButtonLabel is optional.
|
|
40
|
-
* Use this prop to add text beside the close icon. For example: 'Κλείσιμο'.
|
|
41
|
-
*/
|
|
42
|
-
closeButtonLabel?: string;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Nav is mainly used under the Header.
|
|
46
|
-
* This is a wrapper for the NavList component.
|
|
47
|
-
*/
|
|
48
|
-
export declare const Nav: React.ForwardRefExoticComponent<Omit<NavProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
49
|
-
export default Nav;
|
package/Nav/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 CloseButton from "../CloseButton/index.js";
|
|
5
|
-
const Nav_Nav = /*#__PURE__*/ react.forwardRef(function({ className, open, drawer = 'never', onClose, closeButtonLabel, border = true, children, ...props }, ref) {
|
|
6
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
7
|
-
as: "nav",
|
|
8
|
-
ref: ref,
|
|
9
|
-
className: clsx(className, {
|
|
10
|
-
'ds-nav': true,
|
|
11
|
-
'ds-nav--border': border,
|
|
12
|
-
'ds-nav--hidden': 'never' != drawer && !open,
|
|
13
|
-
'ds-nav--drawer-smDown': 'smDown' === drawer,
|
|
14
|
-
'ds-nav--drawer-mdDown': 'mdDown' === drawer,
|
|
15
|
-
'ds-nav--drawer-lgDown': 'lgDown' === drawer,
|
|
16
|
-
'ds-nav--drawer': 'always' === drawer
|
|
17
|
-
}),
|
|
18
|
-
...props
|
|
19
|
-
}, onClose && 'never' !== drawer && /*#__PURE__*/ react.createElement(CloseButton, {
|
|
20
|
-
smUpHidden: 'smDown' === drawer,
|
|
21
|
-
mdUpHidden: 'mdDown' === drawer,
|
|
22
|
-
lgUpHidden: 'lgDown' === drawer,
|
|
23
|
-
onClick: (e)=>onClose(e),
|
|
24
|
-
label: closeButtonLabel
|
|
25
|
-
}), children);
|
|
26
|
-
});
|
|
27
|
-
const src_Nav = Nav_Nav;
|
|
28
|
-
export { Nav_Nav as Nav, src_Nav as default };
|
package/NavList/index.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface NavListProps extends BaseProps<'ul'> {
|
|
4
|
-
/**
|
|
5
|
-
* active prop sets active background color to the nav list.
|
|
6
|
-
* @value true
|
|
7
|
-
* @value false
|
|
8
|
-
* @default false
|
|
9
|
-
*/
|
|
10
|
-
active?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* layout prop sets the display layout for the nav list
|
|
13
|
-
* @value 'vertical'
|
|
14
|
-
* @value 'horizontal'
|
|
15
|
-
* @default 'horizontal'
|
|
16
|
-
*/
|
|
17
|
-
layout?: 'vertical' | 'horizontal';
|
|
18
|
-
/**
|
|
19
|
-
* fullWidth gives to the nav list full width.
|
|
20
|
-
* @value true
|
|
21
|
-
* @value false
|
|
22
|
-
* @default true
|
|
23
|
-
*/
|
|
24
|
-
fullWidth?: boolean;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* NavList must be inside the Nav.
|
|
28
|
-
* This component has a list of NavListItem component inside.
|
|
29
|
-
*/
|
|
30
|
-
export declare const NavList: React.ForwardRefExoticComponent<Omit<NavListProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
31
|
-
export default NavList;
|
package/NavList/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const NavList_NavList = /*#__PURE__*/ react.forwardRef(function({ className, active = false, layout = 'horizontal', fullWidth, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "ul",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-nav__list': true,
|
|
10
|
-
'ds-nav__list--active': active,
|
|
11
|
-
'ds-nav__list--horizontal': 'horizontal' === layout,
|
|
12
|
-
'ds-nav__list--vertical': 'vertical' === layout,
|
|
13
|
-
'ds-nav__list--full-width': fullWidth
|
|
14
|
-
}),
|
|
15
|
-
...props
|
|
16
|
-
}, children);
|
|
17
|
-
});
|
|
18
|
-
const src_NavList = NavList_NavList;
|
|
19
|
-
export { NavList_NavList as NavList, src_NavList as default };
|