@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,26 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { NavListItemButtonProps } from '../NavListItemButton/index.js';
|
|
3
|
-
import { NavListItemLinkBaseProps } from '../NavListItemLinkBase/index.js';
|
|
4
|
-
export type LinkButtonJoinProps = NavListItemLinkBaseProps & NavListItemButtonProps;
|
|
5
|
-
export interface NavListItemActionBaseProps extends LinkButtonJoinProps {
|
|
6
|
-
/**
|
|
7
|
-
* label is optional.
|
|
8
|
-
* The label for the NavListItemActionBase.
|
|
9
|
-
*/
|
|
10
|
-
label?: string;
|
|
11
|
-
/**
|
|
12
|
-
* arrow is optional.
|
|
13
|
-
* use arrow prop if you want to have arrow at the nav list item.
|
|
14
|
-
* @value true
|
|
15
|
-
* @value false
|
|
16
|
-
* @default false
|
|
17
|
-
*/
|
|
18
|
-
arrow?: boolean;
|
|
19
|
-
badgeText?: string;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* NavListItemAction must be inside the NavList.
|
|
23
|
-
* This component has a items of NavListItemLink component inside.
|
|
24
|
-
*/
|
|
25
|
-
export declare const NavListItemActionBase: React.ForwardRefExoticComponent<Omit<NavListItemActionBaseProps, "ref"> & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
26
|
-
export default NavListItemActionBase;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import NavListItemActionContainer from "../NavListItemActionContainer/index.js";
|
|
3
|
-
import NavListItemBadge from "../NavListItemBadge/index.js";
|
|
4
|
-
import NavListItemButton from "../NavListItemButton/index.js";
|
|
5
|
-
import NavListItemLinkBase from "../NavListItemLinkBase/index.js";
|
|
6
|
-
const NavListItemActionBase_NavListItemActionBase = /*#__PURE__*/ react.forwardRef(function({ label, arrow = false, href, className, children, badgeText, ...props }, ref) {
|
|
7
|
-
return /*#__PURE__*/ react.createElement(NavListItemActionContainer, null, href ? /*#__PURE__*/ react.createElement(NavListItemLinkBase, {
|
|
8
|
-
...props,
|
|
9
|
-
href: href,
|
|
10
|
-
className: className,
|
|
11
|
-
ref: ref
|
|
12
|
-
}, children || label) : /*#__PURE__*/ react.createElement(NavListItemButton, {
|
|
13
|
-
...props,
|
|
14
|
-
arrow: arrow,
|
|
15
|
-
className: className,
|
|
16
|
-
ref: ref
|
|
17
|
-
}, children || label), badgeText && /*#__PURE__*/ react.createElement(NavListItemBadge, {
|
|
18
|
-
text: badgeText
|
|
19
|
-
}));
|
|
20
|
-
});
|
|
21
|
-
const src_NavListItemActionBase = NavListItemActionBase_NavListItemActionBase;
|
|
22
|
-
export { NavListItemActionBase_NavListItemActionBase as NavListItemActionBase, src_NavListItemActionBase as default };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { NavListItemActionContainerProps } from './index.web.js';
|
|
2
|
-
export declare const NavListItemActionContainer: import("react").ForwardRefExoticComponent<Omit<NavListItemActionContainerProps & {
|
|
3
|
-
borderBottom?: boolean;
|
|
4
|
-
}, "ref"> & import("react").RefAttributes<unknown>>;
|
|
5
|
-
export default NavListItemActionContainer;
|
|
@@ -1,11 +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 NavListItemActionContainer = index_native(index_web, ({ className, borderBottom, ...props })=>({
|
|
5
|
-
...props,
|
|
6
|
-
className: clsx(className, {
|
|
7
|
-
'ds-nav__list-item--border-bottom': borderBottom
|
|
8
|
-
})
|
|
9
|
-
}));
|
|
10
|
-
const NavListItemActionContainer_index_native = NavListItemActionContainer;
|
|
11
|
-
export { NavListItemActionContainer, NavListItemActionContainer_index_native as default };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface NavListItemActionContainerProps extends BaseProps<'li'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* NavListItemActionContainer must be inside the NavList.
|
|
7
|
-
* This component has a items of NavListItemLink component inside.
|
|
8
|
-
*/
|
|
9
|
-
export declare const NavListItemActionContainer: React.ForwardRefExoticComponent<Omit<NavListItemActionContainerProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
10
|
-
export default NavListItemActionContainer;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const index_web_NavListItemActionContainer = /*#__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-nav__list-item': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const index_web = index_web_NavListItemActionContainer;
|
|
15
|
-
export { index_web_NavListItemActionContainer as NavListItemActionContainer, index_web as default };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface NavListItemBadgeProps extends BaseProps<'span'> {
|
|
4
|
-
/**
|
|
5
|
-
* text is optional.
|
|
6
|
-
* text prop contains text to be displayed in the badge.
|
|
7
|
-
*/
|
|
8
|
-
text?: string;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* NavListItemBadge is used inside NavListItemAction.
|
|
12
|
-
* This component adds a badge to a NavListItem.
|
|
13
|
-
*/
|
|
14
|
-
export declare const NavListItemBadge: React.ForwardRefExoticComponent<Omit<NavListItemBadgeProps, "ref"> & React.RefAttributes<HTMLAnchorElement | HTMLSpanElement>>;
|
|
15
|
-
export default NavListItemBadge;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const NavListItemBadge_NavListItemBadge = /*#__PURE__*/ react.forwardRef(function({ text, className, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "span",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-nav__list-item-badge': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, text);
|
|
13
|
-
});
|
|
14
|
-
const src_NavListItemBadge = NavListItemBadge_NavListItemBadge;
|
|
15
|
-
export { NavListItemBadge_NavListItemBadge as NavListItemBadge, src_NavListItemBadge as default };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ButtonProps } from '../Button/index.js';
|
|
3
|
-
export interface NavListItemButtonProps extends ButtonProps {
|
|
4
|
-
/**
|
|
5
|
-
* When the NavListItemButton is active, that means that we are in this option / page of the Nav.
|
|
6
|
-
* NavListItemButton for nav menu.
|
|
7
|
-
* active is optional.
|
|
8
|
-
*
|
|
9
|
-
* @value true
|
|
10
|
-
* @value false
|
|
11
|
-
*/
|
|
12
|
-
active?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* use arrow prop if you want to have arrows in navigation buttons.
|
|
15
|
-
* arrow is optional.
|
|
16
|
-
*
|
|
17
|
-
* @value true
|
|
18
|
-
* @value false
|
|
19
|
-
* @default true
|
|
20
|
-
*/
|
|
21
|
-
arrow?: boolean;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* NavListItemButton is an <button> element. It should be inside the NavListItem component.
|
|
25
|
-
*/
|
|
26
|
-
export declare const NavListItemButton: React.ForwardRefExoticComponent<Omit<NavListItemButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
27
|
-
export default NavListItemButton;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Button from "../Button/index.js";
|
|
4
|
-
import { ChevronIcon } from "@digigov/react-icons/index.js";
|
|
5
|
-
const NavListItemButton_NavListItemButton = /*#__PURE__*/ react.forwardRef(function({ active, className, arrow = true, children, ...props }, ref) {
|
|
6
|
-
return /*#__PURE__*/ react.createElement(Button, {
|
|
7
|
-
variant: "link",
|
|
8
|
-
ref: ref,
|
|
9
|
-
"aria-selected": active,
|
|
10
|
-
className: clsx(className, {
|
|
11
|
-
'ds-nav__list-item-btn': true,
|
|
12
|
-
'ds-nav__list-item-btn--active': active
|
|
13
|
-
}),
|
|
14
|
-
...props
|
|
15
|
-
}, children, arrow && /*#__PURE__*/ react.createElement(ChevronIcon, {
|
|
16
|
-
direction: active ? 'up' : 'down'
|
|
17
|
-
}));
|
|
18
|
-
});
|
|
19
|
-
const src_NavListItemButton = NavListItemButton_NavListItemButton;
|
|
20
|
-
export { NavListItemButton_NavListItemButton as NavListItemButton, src_NavListItemButton as default };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { LinkBaseProps } from '../LinkBase/index.js';
|
|
3
|
-
export interface NavListItemLinkBaseProps extends LinkBaseProps {
|
|
4
|
-
/**
|
|
5
|
-
* When the NavListItemLink is active, that means that we are in this option / page of the Nav.
|
|
6
|
-
* active is optional.
|
|
7
|
-
*
|
|
8
|
-
* @value true
|
|
9
|
-
* @value false
|
|
10
|
-
*/
|
|
11
|
-
active?: boolean;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* NavListItemLink is an <a> element. It should be inside the NavListItem component.
|
|
15
|
-
*/
|
|
16
|
-
export declare const NavListItemLinkBase: React.ForwardRefExoticComponent<Omit<NavListItemLinkBaseProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
17
|
-
export default NavListItemLinkBase;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import { LinkBase } from "../LinkBase/index.js";
|
|
4
|
-
const NavListItemLinkBase_NavListItemLinkBase = /*#__PURE__*/ react.forwardRef(function({ active, href, className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(LinkBase, {
|
|
6
|
-
href: href,
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-nav__list-item-link': true,
|
|
10
|
-
'ds-nav__list-item-link--active': active
|
|
11
|
-
}),
|
|
12
|
-
...props
|
|
13
|
-
}, children);
|
|
14
|
-
});
|
|
15
|
-
const src_NavListItemLinkBase = NavListItemLinkBase_NavListItemLinkBase;
|
|
16
|
-
export { NavListItemLinkBase_NavListItemLinkBase as NavListItemLinkBase, src_NavListItemLinkBase as default };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface NavMenuContainerProps extends BaseProps<'div'> {
|
|
4
|
-
/**
|
|
5
|
-
* active is optional.
|
|
6
|
-
* Exactly one NavMenu should be active every time.
|
|
7
|
-
* This declares that this content is active and should depend of the 'selected' NavItem.
|
|
8
|
-
* @value true
|
|
9
|
-
* @value false
|
|
10
|
-
*/
|
|
11
|
-
active?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* layout prop sets the display layout for the nav list.
|
|
14
|
-
* @value 'vertical'
|
|
15
|
-
* @value 'horizontal'
|
|
16
|
-
* @default 'horizontal'
|
|
17
|
-
*/
|
|
18
|
-
layout?: 'vertical' | 'horizontal';
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* NavMenuContainer is the container menu component.
|
|
22
|
-
* Inside this component must be NavMenuContainerContent component.
|
|
23
|
-
*/
|
|
24
|
-
export declare const NavMenuContainer: React.ForwardRefExoticComponent<Omit<NavMenuContainerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
-
export default NavMenuContainer;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
import Container from "../Container/index.js";
|
|
5
|
-
const NavMenuContainer_NavMenuContainer = /*#__PURE__*/ react.forwardRef(function({ className, active, layout = 'horizontal', children, ...props }, ref) {
|
|
6
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
7
|
-
as: "div",
|
|
8
|
-
ref: ref,
|
|
9
|
-
"aria-hidden": !active,
|
|
10
|
-
className: clsx(className, {
|
|
11
|
-
'ds-nav-menu': true,
|
|
12
|
-
'ds-nav-menu--horizontal': 'horizontal' === layout,
|
|
13
|
-
'ds-nav-menu--vertical': 'vertical' === layout,
|
|
14
|
-
'ds-nav-menu--hidden': !active
|
|
15
|
-
})
|
|
16
|
-
}, /*#__PURE__*/ react.createElement(Container, {
|
|
17
|
-
grid: 'horizontal' === layout,
|
|
18
|
-
spacing: 4,
|
|
19
|
-
ref: ref,
|
|
20
|
-
className: className,
|
|
21
|
-
...props
|
|
22
|
-
}, children));
|
|
23
|
-
});
|
|
24
|
-
const src_NavMenuContainer = NavMenuContainer_NavMenuContainer;
|
|
25
|
-
export { NavMenuContainer_NavMenuContainer as NavMenuContainer, src_NavMenuContainer as default };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { GridProps } from '../Grid/index.js';
|
|
3
|
-
export interface NavMenuContentProps extends GridProps {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* NavMenuContent is the content menu component.
|
|
8
|
-
* Inside this component must be NavMenuContentList and NavMenuContentListLink components.
|
|
9
|
-
*/
|
|
10
|
-
export declare const NavMenuContent: React.ForwardRefExoticComponent<Omit<NavMenuContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
export default NavMenuContent;
|
package/NavMenuContent/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Grid from "../Grid/index.js";
|
|
4
|
-
const NavMenuContent_NavMenuContent = /*#__PURE__*/ react.forwardRef(function({ className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Grid, {
|
|
6
|
-
item: true,
|
|
7
|
-
xs: 12,
|
|
8
|
-
sm: 8,
|
|
9
|
-
spacing: 2,
|
|
10
|
-
ref: ref,
|
|
11
|
-
className: clsx(className, {
|
|
12
|
-
'ds-nav-menu__content': true
|
|
13
|
-
}),
|
|
14
|
-
...props
|
|
15
|
-
}, children);
|
|
16
|
-
});
|
|
17
|
-
const src_NavMenuContent = NavMenuContent_NavMenuContent;
|
|
18
|
-
export { NavMenuContent_NavMenuContent as NavMenuContent, src_NavMenuContent as default };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface NavMenuContentListProps extends BaseProps<'ul'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* NavMenuContentListBase contains the ul list nav menu.
|
|
7
|
-
* Inside this component must be NavMenuContentListItem component.
|
|
8
|
-
*/
|
|
9
|
-
export declare const NavMenuContentListBase: React.ForwardRefExoticComponent<Omit<NavMenuContentListProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
10
|
-
export default NavMenuContentListBase;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const NavMenuContentListBase_NavMenuContentListBase = /*#__PURE__*/ react.forwardRef(function({ className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "ul",
|
|
7
|
-
ref: ref,
|
|
8
|
-
className: clsx(className, {
|
|
9
|
-
'ds-nav-menu__content-list': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_NavMenuContentListBase = NavMenuContentListBase_NavMenuContentListBase;
|
|
15
|
-
export { NavMenuContentListBase_NavMenuContentListBase as NavMenuContentListBase, src_NavMenuContentListBase as default };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface NavMenuContentListItemProps extends BaseProps<'li'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* NavMenuContentListItem contains all li items nav menu.
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
export declare const NavMenuContentListItem: React.ForwardRefExoticComponent<Omit<NavMenuContentListItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
10
|
-
export default NavMenuContentListItem;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const NavMenuContentListItem_NavMenuContentListItem = /*#__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-nav-menu__content-list-item': true
|
|
10
|
-
}),
|
|
11
|
-
...props
|
|
12
|
-
}, children);
|
|
13
|
-
});
|
|
14
|
-
const src_NavMenuContentListItem = NavMenuContentListItem_NavMenuContentListItem;
|
|
15
|
-
export { NavMenuContentListItem_NavMenuContentListItem as NavMenuContentListItem, src_NavMenuContentListItem as default };
|
package/NavMenuTitle/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface NavMenuTitleProps extends BaseProps<'div'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* NavMenuTitle is the main Title for the nav list items.
|
|
8
|
-
* NavMenuTitle must be inside NavMenuContainer component.
|
|
9
|
-
*/
|
|
10
|
-
export declare const NavMenuTitle: React.ForwardRefExoticComponent<Omit<NavMenuTitleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
export default NavMenuTitle;
|
package/NavMenuTitle/index.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Grid from "../Grid/index.js";
|
|
4
|
-
import Heading from "../Heading/index.js";
|
|
5
|
-
const NavMenuTitle_NavMenuTitle = /*#__PURE__*/ react.forwardRef(function({ className, children, ...props }, ref) {
|
|
6
|
-
return /*#__PURE__*/ react.createElement(Grid, {
|
|
7
|
-
item: true,
|
|
8
|
-
xs: 12,
|
|
9
|
-
sm: 4,
|
|
10
|
-
ref: ref,
|
|
11
|
-
className: clsx(className, {
|
|
12
|
-
'ds-nav-menu__title': true
|
|
13
|
-
}),
|
|
14
|
-
...props
|
|
15
|
-
}, /*#__PURE__*/ react.createElement(Heading, {
|
|
16
|
-
element: "h3",
|
|
17
|
-
size: "md",
|
|
18
|
-
className: clsx({
|
|
19
|
-
'ds-nav-menu__title-heading': true
|
|
20
|
-
})
|
|
21
|
-
}, children));
|
|
22
|
-
});
|
|
23
|
-
const src_NavMenuTitle = NavMenuTitle_NavMenuTitle;
|
|
24
|
-
export { NavMenuTitle_NavMenuTitle as NavMenuTitle, src_NavMenuTitle as default };
|
package/NormalText/index.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TypographyProps } from '../Typography/index.js';
|
|
3
|
-
export interface NormalTextProps extends TypographyProps {
|
|
4
|
-
/**
|
|
5
|
-
* size is optional.
|
|
6
|
-
* @value 'lg' Use it when a lg text is an introductory paragraph that you can use at the top of a page to summarize the content.
|
|
7
|
-
* @value 'md' The majority of your body should use the standard 'md' size.
|
|
8
|
-
* @value 'sm' Use it sparingly to make your text font size smaller: 16px on larger screens and 14px on smaller screens.
|
|
9
|
-
* @default 'md'
|
|
10
|
-
*/
|
|
11
|
-
size?: 'lg' | 'md' | 'sm';
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* NormalText component is used for text formatting.
|
|
15
|
-
* If you need a paragraph, use the Paragraph component instead.
|
|
16
|
-
*/
|
|
17
|
-
export declare const NormalText: React.ForwardRefExoticComponent<Omit<NormalTextProps, "ref"> & React.RefAttributes<HTMLParagraphElement | HTMLSpanElement>>;
|
|
18
|
-
export default NormalText;
|
package/NormalText/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Typography from "../Typography/index.js";
|
|
4
|
-
const NormalText_NormalText = /*#__PURE__*/ react.forwardRef(function({ size = 'md', fontSize, fontWeight, className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Typography, {
|
|
6
|
-
as: "span",
|
|
7
|
-
fontWeight: fontWeight,
|
|
8
|
-
fontSize: fontSize,
|
|
9
|
-
ref: ref,
|
|
10
|
-
className: clsx(className, {
|
|
11
|
-
'ds-body': true,
|
|
12
|
-
'ds-body--lg': 'lg' === size,
|
|
13
|
-
'ds-body--sm': 'sm' === size
|
|
14
|
-
}),
|
|
15
|
-
...props
|
|
16
|
-
}, children);
|
|
17
|
-
});
|
|
18
|
-
const src_NormalText = NormalText_NormalText;
|
|
19
|
-
export { NormalText_NormalText as NormalText, src_NormalText as default };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface NotificationBannerContainerProps extends BaseProps<'div'> {
|
|
4
|
-
/**
|
|
5
|
-
* variant is optional.
|
|
6
|
-
* variant is used to change the color of the NotificationBannerContainer.
|
|
7
|
-
* @value 'info'
|
|
8
|
-
* @value 'success'
|
|
9
|
-
* @value 'error'
|
|
10
|
-
* @value 'error-group'
|
|
11
|
-
* @default 'info'.
|
|
12
|
-
*/
|
|
13
|
-
variant?: 'info' | 'success' | 'error' | 'error-group';
|
|
14
|
-
/**
|
|
15
|
-
* dense is optional.
|
|
16
|
-
* @value true NotificationBannerContainer will be dense.
|
|
17
|
-
* @value false
|
|
18
|
-
* @default false
|
|
19
|
-
* */
|
|
20
|
-
dense?: boolean;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Details for the NotificationBannerContainer.
|
|
24
|
-
* NotificationBannerContainer component informs users about something they need to know about
|
|
25
|
-
* NotificationBannerContainer component must be placed at the top of the page.
|
|
26
|
-
* NotificationBannerContainer wraps NotificationBannerContainerHeader, NotificationBannerContainerContent,NotificationBannerContainerHeading
|
|
27
|
-
* and NotificationBannerContainerLink components as children
|
|
28
|
-
*/
|
|
29
|
-
export declare const NotificationBannerContainer: React.ForwardRefExoticComponent<Omit<NotificationBannerContainerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
-
export default NotificationBannerContainer;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
const NotificationBannerContainer_NotificationBannerContainer = /*#__PURE__*/ react.forwardRef(function({ variant = 'info', className, dense, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
6
|
-
as: "div",
|
|
7
|
-
role: "region",
|
|
8
|
-
"aria-labelledby": "ds-notification-banner-title",
|
|
9
|
-
"data-module": "ds-notification-banner",
|
|
10
|
-
ref: ref,
|
|
11
|
-
className: clsx(className, {
|
|
12
|
-
'ds-notification-banner': true,
|
|
13
|
-
[`ds-notification-banner--${variant}`]: void 0 !== variant,
|
|
14
|
-
'ds-notification-banner--dense': dense
|
|
15
|
-
}),
|
|
16
|
-
...props
|
|
17
|
-
}, children);
|
|
18
|
-
});
|
|
19
|
-
const src_NotificationBannerContainer = NotificationBannerContainer_NotificationBannerContainer;
|
|
20
|
-
export { NotificationBannerContainer_NotificationBannerContainer as NotificationBannerContainer, src_NotificationBannerContainer as default };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface NotificationBannerContentProps extends BaseProps<'div'> {
|
|
4
|
-
/**
|
|
5
|
-
* assistiveText is optional.
|
|
6
|
-
* Default value is "Προσοχή".
|
|
7
|
-
* assistiveText is used to provide a textual warning for assistive technologies like screen readers.
|
|
8
|
-
*/
|
|
9
|
-
assistiveText?: string;
|
|
10
|
-
/**
|
|
11
|
-
* variant is optional.
|
|
12
|
-
* variant is used to display red line on the left side of the component and exclamation mark icon with light red as background.
|
|
13
|
-
* @value 'error'
|
|
14
|
-
* @value 'error-group'
|
|
15
|
-
* @default 'error'.
|
|
16
|
-
*/
|
|
17
|
-
/**
|
|
18
|
-
* variant is optional.
|
|
19
|
-
* variant error is used to change the color of the NotificationBannerContainer.
|
|
20
|
-
* variant error-group is used to display red line on the left side of the component and exclamation mark icon with light red as background.
|
|
21
|
-
* @value 'error'
|
|
22
|
-
* @value 'error-group'
|
|
23
|
-
* @default 'error'.
|
|
24
|
-
*/
|
|
25
|
-
variant?: 'error' | 'error-group';
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Details for the NotificationBannerContent.
|
|
29
|
-
* NotificationBannerContent component is used as a content for
|
|
30
|
-
* NotificationBannerHeading and NotificationBannerLink components.
|
|
31
|
-
* NotificationBannerContent component must be used inside NotificationBanner component as children.
|
|
32
|
-
*/
|
|
33
|
-
export declare const NotificationBannerContent: React.ForwardRefExoticComponent<Omit<NotificationBannerContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
34
|
-
export default NotificationBannerContent;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
import { WarningTextAssistive } from "../WarningTextAssistive/index.js";
|
|
5
|
-
const NotificationBannerContent_NotificationBannerContent = /*#__PURE__*/ react.forwardRef(function({ className, assistiveText, variant, children, ...props }, ref) {
|
|
6
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
7
|
-
as: "div",
|
|
8
|
-
ref: ref,
|
|
9
|
-
className: clsx(className, {
|
|
10
|
-
'ds-notification-banner__content': 'error-group' !== variant,
|
|
11
|
-
'ds-notification-error-group-banner__content': 'error-group' === variant
|
|
12
|
-
}),
|
|
13
|
-
...props
|
|
14
|
-
}, 'error-group' === variant ? /*#__PURE__*/ react.createElement(react.Fragment, null, /*#__PURE__*/ react.createElement(Base, {
|
|
15
|
-
as: "div",
|
|
16
|
-
className: clsx({
|
|
17
|
-
'ds-notification-banner__icon--error-group': true
|
|
18
|
-
})
|
|
19
|
-
}, "!"), /*#__PURE__*/ react.createElement(WarningTextAssistive, null, assistiveText), /*#__PURE__*/ react.createElement(Base, {
|
|
20
|
-
as: "div",
|
|
21
|
-
className: "ds-notification-banner__text-error-group"
|
|
22
|
-
}, children)) : children);
|
|
23
|
-
});
|
|
24
|
-
const src_NotificationBannerContent = NotificationBannerContent_NotificationBannerContent;
|
|
25
|
-
export { NotificationBannerContent_NotificationBannerContent as NotificationBannerContent, src_NotificationBannerContent as default };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseProps } from '../Base/index.js';
|
|
3
|
-
export interface NotificationBannerHeaderProps extends BaseProps<'div'> {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Details for the NotificationBannerHeader.
|
|
7
|
-
* NotificationBannerHeader component is used for placing head title to NotificationBanner component.
|
|
8
|
-
* NotificationBannerHeader component must be used inside NotificationBanner as children.
|
|
9
|
-
*/
|
|
10
|
-
export declare const NotificationBannerHeader: React.ForwardRefExoticComponent<Omit<NotificationBannerHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
export default NotificationBannerHeader;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Base from "../Base/index.js";
|
|
4
|
-
import Heading from "../Heading/index.js";
|
|
5
|
-
const NotificationBannerHeader_NotificationBannerHeader = /*#__PURE__*/ react.forwardRef(function({ className, children, ...props }, ref) {
|
|
6
|
-
return /*#__PURE__*/ react.createElement(Base, {
|
|
7
|
-
as: "div",
|
|
8
|
-
ref: ref,
|
|
9
|
-
className: clsx(className, {
|
|
10
|
-
'ds-notification-banner__header': true
|
|
11
|
-
}),
|
|
12
|
-
...props
|
|
13
|
-
}, /*#__PURE__*/ react.createElement(Heading, {
|
|
14
|
-
element: "h2",
|
|
15
|
-
size: "sm",
|
|
16
|
-
marginBottom: 0,
|
|
17
|
-
className: clsx({
|
|
18
|
-
'ds-notification-banner__title': true
|
|
19
|
-
})
|
|
20
|
-
}, children));
|
|
21
|
-
});
|
|
22
|
-
const src_NotificationBannerHeader = NotificationBannerHeader_NotificationBannerHeader;
|
|
23
|
-
export { NotificationBannerHeader_NotificationBannerHeader as NotificationBannerHeader, src_NotificationBannerHeader as default };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { HeadingProps } from '../Heading/index.js';
|
|
3
|
-
export interface NotificationBannerHeadingProps extends HeadingProps {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Details for the NotificationBannerHeading.
|
|
7
|
-
* NotificationBannerHeading component is used for placing text content to NotificationBanner component.
|
|
8
|
-
* NotificationBannerHeading component must be used inside NotificationBannerContent as children
|
|
9
|
-
*/
|
|
10
|
-
export declare const NotificationBannerHeading: React.ForwardRefExoticComponent<Omit<NotificationBannerHeadingProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
11
|
-
export default NotificationBannerHeading;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import react from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Heading from "../Heading/index.js";
|
|
4
|
-
const NotificationBannerHeading_NotificationBannerHeading = /*#__PURE__*/ react.forwardRef(function({ className, children, ...props }, ref) {
|
|
5
|
-
return /*#__PURE__*/ react.createElement(Heading, {
|
|
6
|
-
element: "h3",
|
|
7
|
-
size: "md",
|
|
8
|
-
ref: ref,
|
|
9
|
-
className: clsx(className, {
|
|
10
|
-
'ds-notification-banner__heading': true
|
|
11
|
-
}),
|
|
12
|
-
...props
|
|
13
|
-
}, children);
|
|
14
|
-
});
|
|
15
|
-
const src_NotificationBannerHeading = NotificationBannerHeading_NotificationBannerHeading;
|
|
16
|
-
export { NotificationBannerHeading_NotificationBannerHeading as NotificationBannerHeading, src_NotificationBannerHeading as default };
|