@digigov/react-core 1.0.0-rc.4 → 1.0.0-rc.5
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/Accordion/index.js +8 -10
- package/Accordion/index.test/index.js +7 -0
- package/Accordion/index.test/package.json +6 -0
- package/AccordionControls/index.js +3 -5
- package/AccordionControls/index.test/index.js +7 -0
- package/AccordionControls/index.test/package.json +6 -0
- package/AccordionSection/index.js +3 -5
- package/AccordionSection/index.test/index.js +19 -0
- package/AccordionSection/index.test/package.json +6 -0
- package/AccordionSectionContent/index.js +3 -5
- package/AccordionSectionContent/index.test/index.js +7 -0
- package/AccordionSectionContent/index.test/package.json +6 -0
- package/AccordionSectionSummary/index.js +3 -5
- package/AccordionSectionSummary/index.test/index.js +7 -0
- package/AccordionSectionSummary/index.test/package.json +6 -0
- package/AccordionSectionSummaryHeading/index.js +3 -5
- package/AccordionSectionSummaryHeading/index.test/index.js +7 -0
- package/AccordionSectionSummaryHeading/index.test/package.json +6 -0
- package/AdminAside/index.js +3 -5
- package/AdminAside/index.test/index.js +7 -0
- package/AdminAside/index.test/package.json +6 -0
- package/AdminContainer/index.js +3 -5
- package/AdminContainer/index.test/index.js +7 -0
- package/AdminContainer/index.test/package.json +6 -0
- package/AdminHeader/index.js +3 -5
- package/AdminHeader/index.test/index.js +7 -0
- package/AdminHeader/index.test/package.json +6 -0
- package/AdminHeaderContent/index.js +3 -5
- package/AdminHeaderContent/index.spec/index.js +7 -0
- package/AdminHeaderContent/index.spec/package.json +6 -0
- package/AdminLayout/index.d.ts +3 -3
- package/AdminLayout/index.js +4 -6
- package/AdminLayout/index.test/index.js +7 -0
- package/AdminLayout/index.test/package.json +6 -0
- package/AdminMain/index.js +3 -5
- package/AdminMain/index.test/index.js +7 -0
- package/AdminMain/index.test/package.json +6 -0
- package/AdminTopSection/index.js +6 -8
- package/AdminTopSection/index.test/index.js +7 -0
- package/AdminTopSection/index.test/package.json +6 -0
- package/Aside/index.js +6 -8
- package/Aside/index.test/index.js +7 -0
- package/Aside/index.test/package.json +6 -0
- package/AutoCompleteAssistiveHint/index.js +3 -5
- package/AutoCompleteAssistiveHint/index.test/index.js +7 -0
- package/AutoCompleteAssistiveHint/index.test/package.json +6 -0
- package/AutoCompleteInput/index.d.ts +11 -11
- package/AutoCompleteInput/index.js +6 -8
- package/AutoCompleteInput/index.test/index.js +34 -0
- package/AutoCompleteInput/index.test/package.json +6 -0
- package/AutoCompleteInputTypeahead/index.js +2 -4
- package/AutoCompleteInputTypeahead/index.test/index.js +7 -0
- package/AutoCompleteInputTypeahead/index.test/package.json +6 -0
- package/AutoCompleteResultList/index.d.ts +15 -15
- package/AutoCompleteResultList/index.js +6 -8
- package/AutoCompleteResultList/index.test/index.js +27 -0
- package/AutoCompleteResultList/index.test/package.json +6 -0
- package/AutoCompleteResultListItem/index.d.ts +23 -23
- package/AutoCompleteResultListItem/index.js +8 -10
- package/AutoCompleteResultListItem/index.test/index.js +28 -0
- package/AutoCompleteResultListItem/index.test/package.json +6 -0
- package/AutoCompleteStatus/index.js +3 -5
- package/AutoCompleteStatus/index.test/index.js +7 -0
- package/AutoCompleteStatus/index.test/package.json +6 -0
- package/AutoCompleteStatusWrapper/index.js +3 -5
- package/AutoCompleteStatusWrapper/index.test/index.js +7 -0
- package/AutoCompleteStatusWrapper/index.test/package.json +6 -0
- package/AutoCompleteWrapper/index.js +4 -6
- package/AutoCompleteWrapper/index.test/index.js +7 -0
- package/AutoCompleteWrapper/index.test/package.json +6 -0
- package/BackLink/index.js +6 -9
- package/BackLink/index.test/index.js +13 -0
- package/BackLink/index.test/package.json +6 -0
- package/BackToTopContainer/index.js +4 -6
- package/BackToTopLimit/index.js +3 -5
- package/BackToTopLink/index.js +5 -8
- package/BannerContainer/index.js +3 -4
- package/BannerContainer/index.test/index.js +7 -0
- package/BannerContainer/index.test/package.json +6 -0
- package/Base/index.d.ts +6 -6
- package/Base/index.js +41 -27
- package/Blockquote/index.js +4 -6
- package/Blockquote/index.test/index.js +13 -0
- package/Blockquote/index.test/package.json +6 -0
- package/Bottom/index.js +3 -5
- package/Bottom/index.test/index.js +7 -0
- package/Bottom/index.test/package.json +6 -0
- package/BottomInfo/index.js +3 -5
- package/BottomInfo/index.test/index.js +7 -0
- package/BottomInfo/index.test/package.json +6 -0
- package/BottomInfoContainer/index.js +3 -5
- package/BottomInfoContainer/index.test/index.js +7 -0
- package/BottomInfoContainer/index.test/package.json +6 -0
- package/BottomInfoContent/index.js +6 -7
- package/BottomInfoContent/index.test/index.js +7 -0
- package/BottomInfoContent/index.test/package.json +6 -0
- package/Breadcrumbs/index.js +3 -5
- package/Breadcrumbs/index.test/index.js +7 -0
- package/Breadcrumbs/index.test/package.json +6 -0
- package/BreadcrumbsList/index.js +3 -5
- package/BreadcrumbsList/index.test/index.js +7 -0
- package/BreadcrumbsList/index.test/package.json +6 -0
- package/BreadcrumbsListItem/index.js +4 -6
- package/BreadcrumbsListItem/index.test/index.js +13 -0
- package/BreadcrumbsListItem/index.test/package.json +6 -0
- package/Button/index.d.ts +15 -15
- package/Button/index.js +11 -13
- package/Button/index.test/index.js +76 -0
- package/Button/index.test/package.json +6 -0
- package/ButtonGroup/index.js +3 -5
- package/ButtonGroup/index.test/index.js +7 -0
- package/ButtonGroup/index.test/package.json +6 -0
- package/ButtonLink/index.d.ts +10 -10
- package/ButtonLink/index.js +5 -7
- package/ButtonLink/index.test/index.js +68 -0
- package/ButtonLink/index.test/package.json +6 -0
- package/CallToAction/index.js +5 -8
- package/CallToAction/index.test/index.js +7 -0
- package/CallToAction/index.test/package.json +6 -0
- package/Card/index.d.ts +19 -19
- package/Card/index.js +7 -9
- package/Card/index.test/index.js +73 -0
- package/Card/index.test/package.json +6 -0
- package/CardAction/index.js +3 -5
- package/CardAction/index.test/index.js +7 -0
- package/CardAction/index.test/package.json +6 -0
- package/CardContent/index.js +3 -5
- package/CardContent/index.test/index.js +7 -0
- package/CardContent/index.test/package.json +6 -0
- package/CardHeading/index.js +3 -5
- package/CardHeading/index.test/index.js +7 -0
- package/CardHeading/index.test/package.json +6 -0
- package/Checkbox/index.js +5 -7
- package/Checkbox/index.test/index.js +24 -0
- package/Checkbox/index.test/package.json +6 -0
- package/CheckboxConditional/index.js +5 -7
- package/CheckboxConditional/index.test/index.js +7 -0
- package/CheckboxConditional/index.test/package.json +6 -0
- package/CheckboxItem/index.js +9 -11
- package/CheckboxItem/index.test/index.js +48 -0
- package/CheckboxItem/index.test/package.json +6 -0
- package/Chip/index.js +5 -7
- package/Chip/index.test/index.js +7 -0
- package/Chip/index.test/package.json +6 -0
- package/ChipContainer/index.d.ts +3 -3
- package/ChipContainer/index.js +4 -6
- package/ChipContainer/index.spec/index.js +7 -0
- package/ChipContainer/index.spec/package.json +6 -0
- package/ChipHeading/index.js +2 -4
- package/ChipHeading/index.test/index.js +7 -0
- package/ChipHeading/index.test/package.json +6 -0
- package/ChipKeyValue/index.js +3 -5
- package/ChipKeyValue/index.test/index.js +7 -0
- package/ChipKeyValue/index.test/package.json +6 -0
- package/ChoiceDividerText/index.js +3 -5
- package/ChoiceDividerText/index.test/index.js +7 -0
- package/ChoiceDividerText/index.test/package.json +6 -0
- package/CircularProgress/index.d.ts +8 -8
- package/CircularProgress/index.js +6 -10
- package/CircularProgress/index.test/index.js +39 -0
- package/CircularProgress/index.test/package.json +6 -0
- package/CloseButton/index.js +4 -7
- package/CloseButton/index.test/index.js +13 -0
- package/CloseButton/index.test/package.json +6 -0
- package/Container/index.js +7 -9
- package/Container/index.test/index.js +20 -0
- package/Container/index.test/package.json +6 -0
- package/CopyToClipboardContainer/index.js +8 -10
- package/CopyToClipboardContainer/index.spec/index.js +26 -0
- package/CopyToClipboardContainer/index.spec/package.json +6 -0
- package/CopyToClipboardMessage/index.d.ts +6 -6
- package/CopyToClipboardMessage/index.js +4 -6
- package/CopyToClipboardMessage/index.test/index.js +33 -0
- package/CopyToClipboardMessage/index.test/package.json +6 -0
- package/CopyrightContainer/index.js +3 -5
- package/CopyrightContainer/index.test/index.js +7 -0
- package/CopyrightContainer/index.test/package.json +6 -0
- package/DateInputContainer/index.js +4 -6
- package/DateInputContainer/index.test/index.js +13 -0
- package/DateInputContainer/index.test/package.json +6 -0
- package/DateInputItem/index.d.ts +11 -11
- package/DateInputItem/index.js +7 -9
- package/DateInputItem/index.test/index.js +20 -0
- package/DateInputItem/index.test/package.json +6 -0
- package/Details/index.js +3 -5
- package/Details/index.test/index.js +7 -0
- package/Details/index.test/package.json +6 -0
- package/DetailsContent/index.js +3 -5
- package/DetailsContent/index.test/index.js +7 -0
- package/DetailsContent/index.test/package.json +6 -0
- package/DetailsSummary/index.js +4 -6
- package/DetailsSummary/index.test/index.js +7 -0
- package/DetailsSummary/index.test/package.json +6 -0
- package/Drawer/index.d.ts +20 -20
- package/Drawer/index.js +9 -11
- package/Drawer/index.test/index.js +16 -0
- package/Drawer/index.test/package.json +6 -0
- package/DrawerHeading/index.d.ts +4 -4
- package/DrawerHeading/index.js +8 -9
- package/DrawerHeading/index.test/index.js +7 -0
- package/DrawerHeading/index.test/package.json +6 -0
- package/DropdownBase/index.d.ts +16 -16
- package/DropdownBase/index.js +8 -10
- package/DropdownBase/index.test/index.js +80 -0
- package/DropdownBase/index.test/package.json +6 -0
- package/DropdownButton/index.d.ts +28 -28
- package/DropdownButton/index.js +12 -15
- package/DropdownButton/index.test/index.js +153 -0
- package/DropdownButton/index.test/package.json +6 -0
- package/DropdownContent/index.js +5 -7
- package/DropdownContent/index.test/index.js +7 -0
- package/DropdownContent/index.test/package.json +6 -0
- package/ErrorMessage/index.js +3 -5
- package/ErrorMessage/index.test/index.js +7 -0
- package/ErrorMessage/index.test/package.json +6 -0
- package/ErrorSummary/index.js +5 -7
- package/ErrorSummary/index.test/index.js +13 -0
- package/ErrorSummary/index.test/package.json +6 -0
- package/FieldContainer/index.d.ts +4 -4
- package/FieldContainer/index.js +9 -11
- package/FieldContainer/index.test/index.js +19 -0
- package/FieldContainer/index.test/package.json +6 -0
- package/Fieldset/index.js +3 -5
- package/Fieldset/index.test/index.js +7 -0
- package/Fieldset/index.test/package.json +6 -0
- package/FieldsetLegend/index.d.ts +14 -14
- package/FieldsetLegend/index.js +7 -9
- package/FieldsetLegend/index.test/index.js +65 -0
- package/FieldsetLegend/index.test/package.json +6 -0
- package/FileUpload/index.d.ts +5 -5
- package/FileUpload/index.js +7 -9
- package/FileUpload/index.test/index.js +13 -0
- package/FileUpload/index.test/package.json +6 -0
- package/FileUploadContainer/index.d.ts +5 -5
- package/FileUploadContainer/index.js +5 -7
- package/FileUploadContainer/index.test/index.js +13 -0
- package/FileUploadContainer/index.test/package.json +6 -0
- package/FillableText/index.js +3 -5
- package/FillableText/index.test/index.js +7 -0
- package/FillableText/index.test/package.json +6 -0
- package/FilterContainer/index.d.ts +21 -21
- package/FilterContainer/index.js +9 -11
- package/FilterContainer/index.test/index.js +7 -0
- package/FilterContainer/index.test/package.json +6 -0
- package/FilterContent/index.js +3 -5
- package/FilterContent/index.test/index.js +7 -0
- package/FilterContent/index.test/package.json +6 -0
- package/FilterHeadingContainer/index.js +3 -5
- package/FilterHeadingContainer/index.test/index.js +7 -0
- package/FilterHeadingContainer/index.test/package.json +6 -0
- package/FilterOptionsSection/index.d.ts +3 -3
- package/FilterOptionsSection/index.js +4 -6
- package/FilterOptionsSection/index.spec/index.js +7 -0
- package/FilterOptionsSection/index.spec/package.json +6 -0
- package/FilterSelectedHeading/index.js +3 -5
- package/FilterSelectedHeading/index.spec/index.js +7 -0
- package/FilterSelectedHeading/index.spec/package.json +6 -0
- package/FilterSelectedSection/index.js +3 -5
- package/FilterSelectedSection/index.test/index.js +7 -0
- package/FilterSelectedSection/index.test/package.json +6 -0
- package/Footer/index.js +3 -5
- package/Footer/index.test/index.js +7 -0
- package/Footer/index.test/package.json +6 -0
- package/FooterContainer/index.js +2 -4
- package/FooterContainer/index.test/index.js +7 -0
- package/FooterContainer/index.test/package.json +6 -0
- package/FooterContent/index.js +3 -5
- package/FooterContent/index.test/index.js +7 -0
- package/FooterContent/index.test/package.json +6 -0
- package/FooterContentLogos/index.js +3 -5
- package/FooterContentLogos/index.test/index.js +7 -0
- package/FooterContentLogos/index.test/package.json +6 -0
- package/FooterHeading/index.d.ts +7 -7
- package/FooterHeading/index.js +7 -9
- package/FooterHeading/index.test/index.js +19 -0
- package/FooterHeading/index.test/package.json +6 -0
- package/FooterImage/index.js +5 -7
- package/FooterImage/index.test/index.js +7 -0
- package/FooterImage/index.test/package.json +6 -0
- package/FooterInfo/index.js +3 -5
- package/FooterInfo/index.test/index.js +7 -0
- package/FooterInfo/index.test/package.json +6 -0
- package/FooterInfoSection/index.js +4 -6
- package/FooterInfoSection/index.test/index.js +19 -0
- package/FooterInfoSection/index.test/package.json +6 -0
- package/FooterLink/index.js +3 -5
- package/FooterLink/index.test/index.js +13 -0
- package/FooterLink/index.test/package.json +6 -0
- package/FooterList/index.d.ts +5 -5
- package/FooterList/index.js +6 -8
- package/FooterList/index.test/index.js +13 -0
- package/FooterList/index.test/package.json +6 -0
- package/FooterListItem/index.js +3 -5
- package/FooterListItem/index.test/index.js +7 -0
- package/FooterListItem/index.test/package.json +6 -0
- package/FooterNavigation/index.js +3 -5
- package/FooterNavigation/index.test/index.js +7 -0
- package/FooterNavigation/index.test/package.json +6 -0
- package/FooterNavigationSection/index.js +3 -5
- package/FooterNavigationSection/index.test/index.js +9 -0
- package/FooterNavigationSection/index.test/package.json +6 -0
- package/Form/index.d.ts +4 -4
- package/Form/index.js +5 -7
- package/Form/index.test/index.js +13 -0
- package/Form/index.test/package.json +6 -0
- package/FullPageBackground/index.js +3 -5
- package/FullPageBackground/index.test/index.js +7 -0
- package/FullPageBackground/index.test/package.json +6 -0
- package/GovGRLogo/govgr-logo-base64/package.json +6 -0
- package/GovGRLogo/govgr-logo-base64.d.ts +1 -1
- package/GovGRLogo/govgr-logo-blue-base64/package.json +6 -0
- package/GovGRLogo/index.js +6 -8
- package/GovGRLogo/index.test/index.js +7 -0
- package/GovGRLogo/index.test/package.json +6 -0
- package/Grid/index.d.ts +3 -3
- package/Grid/index.js +15 -17
- package/Grid/index.test/index.js +49 -0
- package/Grid/index.test/package.json +6 -0
- package/Header/index.js +3 -5
- package/Header/index.test/index.js +7 -0
- package/Header/index.test/package.json +6 -0
- package/HeaderContent/index.js +3 -5
- package/HeaderContent/index.test/index.js +7 -0
- package/HeaderContent/index.test/package.json +6 -0
- package/HeaderLogo/index.js +5 -7
- package/HeaderLogo/index.test/index.js +7 -0
- package/HeaderLogo/index.test/package.json +6 -0
- package/HeaderNavMenuContent/index.js +3 -5
- package/HeaderNavMenuContent/index.test/index.js +7 -0
- package/HeaderNavMenuContent/index.test/package.json +6 -0
- package/HeaderSecondaryLogo/index.js +5 -7
- package/HeaderSecondaryLogo/index.test/index.js +18 -0
- package/HeaderSecondaryLogo/index.test/package.json +6 -0
- package/HeaderSection/index.js +3 -5
- package/HeaderSection/index.test/index.js +7 -0
- package/HeaderSection/index.test/package.json +6 -0
- package/HeaderTitle/index.js +5 -7
- package/HeaderTitle/index.test/index.js +13 -0
- package/HeaderTitle/index.test/package.json +6 -0
- package/Heading/index.d.ts +4 -4
- package/Heading/index.js +8 -16
- package/Heading/index.test/index.js +128 -0
- package/Heading/index.test/package.json +6 -0
- package/HeadingCaption/index.d.ts +7 -7
- package/HeadingCaption/index.js +5 -7
- package/HeadingCaption/index.test/index.js +25 -0
- package/HeadingCaption/index.test/package.json +6 -0
- package/HellenicRepublicLogo/index.d.ts +5 -5
- package/HellenicRepublicLogo/index.js +8 -10
- package/HellenicRepublicLogo/index.test/index.js +7 -0
- package/HellenicRepublicLogo/index.test/package.json +6 -0
- package/HellenicRepublicLogo/logo-el/package.json +6 -0
- package/HellenicRepublicLogo/logo-en/package.json +6 -0
- package/HellenicRepublicLogo/logo-inverted-el/package.json +6 -0
- package/HellenicRepublicLogo/logo-inverted-en/package.json +6 -0
- package/Hidden/index.d.ts +20 -20
- package/Hidden/index.js +9 -11
- package/Hidden/index.test/index.js +33 -0
- package/Hidden/index.test/package.json +6 -0
- package/Hint/index.js +5 -7
- package/Hint/index.test/index.js +25 -0
- package/Hint/index.test/package.json +6 -0
- package/ImageLogo/index.js +6 -8
- package/ImageLogo/index.test/index.js +16 -0
- package/ImageLogo/index.test/package.json +6 -0
- package/ImageLogoSet/index.d.ts +1 -1
- package/ImageLogoSet/index.js +7 -9
- package/ImageLogoSet/index.test/index.js +21 -0
- package/ImageLogoSet/index.test/package.json +6 -0
- package/KitchenSinkAllComponents/index.js +3 -4
- package/KitchenSinkCard/index.js +3 -4
- package/KitchenSinkCategory/index.js +3 -4
- package/KitchenSinkContent/index.d.ts +7 -7
- package/KitchenSinkContent/index.js +5 -6
- package/KitchenSinkContentInfo/index.js +3 -4
- package/KitchenSinkContentTags/index.js +3 -4
- package/KitchenSinkHeading/index.js +3 -4
- package/KitchenSinkLetterContent/index.js +3 -4
- package/LabelContainer/index.js +3 -5
- package/LabelContainer/index.test/index.js +7 -0
- package/LabelContainer/index.test/package.json +6 -0
- package/LabelTitle/index.d.ts +13 -13
- package/LabelTitle/index.js +6 -8
- package/LabelTitle/index.test/index.js +65 -0
- package/LabelTitle/index.test/package.json +6 -0
- package/LabeledText/index.d.ts +5 -5
- package/LabeledText/index.js +4 -6
- package/LabeledText/index.test/index.js +19 -0
- package/LabeledText/index.test/package.json +6 -0
- package/Layout/index.d.ts +4 -4
- package/Layout/index.js +5 -7
- package/Layout/index.test/index.js +7 -0
- package/Layout/index.test/package.json +6 -0
- package/LinkBase/index.d.ts +5 -5
- package/LinkBase/index.js +5 -7
- package/LinkBase/index.test/index.js +19 -0
- package/LinkBase/index.test/package.json +6 -0
- package/List/index.d.ts +11 -11
- package/List/index.js +8 -10
- package/List/index.test/index.js +46 -0
- package/List/index.test/package.json +6 -0
- package/ListItem/index.js +3 -5
- package/ListItem/index.test/index.js +7 -0
- package/ListItem/index.test/package.json +6 -0
- package/LoaderContainer/index.js +3 -5
- package/LoaderContainer/index.test/index.js +7 -0
- package/LoaderContainer/index.test/package.json +6 -0
- package/Main/index.js +5 -7
- package/Main/index.test/index.js +7 -0
- package/Main/index.test/package.json +6 -0
- package/Masthead/index.d.ts +7 -7
- package/Masthead/index.js +5 -7
- package/Masthead/index.test/index.js +7 -0
- package/Masthead/index.test/package.json +6 -0
- package/MastheadBody/index.js +3 -5
- package/MastheadBody/index.test/index.js +7 -0
- package/MastheadBody/index.test/package.json +6 -0
- package/MastheadLogo/index.js +5 -7
- package/MastheadLogo/index.test/index.js +7 -0
- package/MastheadLogo/index.test/package.json +6 -0
- package/ModalAction/index.js +3 -5
- package/ModalAction/index.test/index.js +7 -0
- package/ModalAction/index.test/package.json +6 -0
- package/ModalContainer/index.d.ts +3 -3
- package/ModalContainer/index.js +5 -7
- package/ModalContainer/index.test/index.js +7 -0
- package/ModalContainer/index.test/package.json +6 -0
- package/ModalContent/index.js +3 -5
- package/ModalContent/index.test/index.js +7 -0
- package/ModalContent/index.test/package.json +6 -0
- package/ModalHeading/index.js +3 -4
- package/ModalHeading/index.test/index.js +7 -0
- package/ModalHeading/index.test/package.json +6 -0
- package/Nav/index.d.ts +7 -7
- package/Nav/index.js +11 -13
- package/Nav/index.test/index.js +45 -0
- package/Nav/index.test/package.json +6 -0
- package/NavList/index.d.ts +10 -10
- package/NavList/index.js +8 -10
- package/NavList/index.test/index.js +13 -0
- package/NavList/index.test/package.json +6 -0
- package/NavListItemAction/index.d.ts +2 -2
- package/NavListItemAction/index.js +5 -8
- package/NavListItemAction/index.test/index.js +7 -0
- package/NavListItemAction/index.test/package.json +6 -0
- package/NavListItemActionContainer/index.js +3 -5
- package/NavListItemActionContainer/index.test/index.js +7 -0
- package/NavListItemActionContainer/index.test/package.json +6 -0
- package/NavListItemButton/index.d.ts +14 -14
- package/NavListItemButton/index.js +6 -8
- package/NavListItemButton/index.test/index.js +19 -0
- package/NavListItemButton/index.test/package.json +6 -0
- package/NavListItemLink/index.d.ts +6 -6
- package/NavListItemLink/index.js +5 -7
- package/NavListItemLink/index.test/index.js +33 -0
- package/NavListItemLink/index.test/package.json +6 -0
- package/NavMenuContainer/index.d.ts +11 -11
- package/NavMenuContainer/index.js +7 -9
- package/NavMenuContainer/index.test/index.js +25 -0
- package/NavMenuContainer/index.test/package.json +6 -0
- package/NavMenuContent/index.js +3 -5
- package/NavMenuContent/index.test/index.js +7 -0
- package/NavMenuContent/index.test/package.json +6 -0
- package/NavMenuContentListBase/index.js +3 -5
- package/NavMenuContentListBase/index.test/index.js +7 -0
- package/NavMenuContentListBase/index.test/package.json +6 -0
- package/NavMenuContentListItem/index.js +3 -5
- package/NavMenuContentListItem/index.test/index.js +7 -0
- package/NavMenuContentListItem/index.test/package.json +6 -0
- package/NavMenuTitle/index.js +4 -6
- package/NavMenuTitle/index.test/index.js +7 -0
- package/NavMenuTitle/index.test/package.json +6 -0
- package/NormalText/index.js +7 -9
- package/NormalText/index.test/index.js +269 -0
- package/NormalText/index.test/package.json +6 -0
- package/NotificationBannerContainer/index.js +6 -8
- package/NotificationBannerContainer/index.test/index.js +19 -0
- package/NotificationBannerContainer/index.test/package.json +6 -0
- package/NotificationBannerContent/index.js +3 -5
- package/NotificationBannerContent/index.test/index.js +7 -0
- package/NotificationBannerContent/index.test/package.json +6 -0
- package/NotificationBannerHeader/index.js +4 -6
- package/NotificationBannerHeader/index.test/index.js +7 -0
- package/NotificationBannerHeader/index.test/package.json +6 -0
- package/NotificationBannerHeading/index.js +3 -5
- package/NotificationBannerHeading/index.test/index.js +7 -0
- package/NotificationBannerHeading/index.test/package.json +6 -0
- package/NotificationBannerLink/index.js +3 -5
- package/NotificationBannerLink/index.test/index.js +13 -0
- package/NotificationBannerLink/index.test/package.json +6 -0
- package/PageTitleCaption/index.js +3 -4
- package/PageTitleCaption/index.test/index.js +31 -0
- package/PageTitleCaption/index.test/package.json +6 -0
- package/PageTitleContainer/index.js +3 -5
- package/PageTitleContainer/index.test/index.js +7 -0
- package/PageTitleContainer/index.test/package.json +6 -0
- package/PageTitleHeading/index.js +2 -4
- package/PageTitleHeading/index.test/index.js +31 -0
- package/PageTitleHeading/index.test/package.json +6 -0
- package/Pagination/index.d.ts +6 -6
- package/Pagination/index.js +5 -7
- package/Pagination/index.spec/index.js +13 -0
- package/Pagination/index.spec/package.json +6 -0
- package/PaginationLabelContainer/index.js +3 -5
- package/PaginationLabelContainer/index.spec/index.js +7 -0
- package/PaginationLabelContainer/index.spec/package.json +6 -0
- package/PaginationList/index.js +3 -5
- package/PaginationList/index.spec/index.js +12 -0
- package/PaginationList/index.spec/package.json +6 -0
- package/PaginationListItem/index.d.ts +14 -14
- package/PaginationListItem/index.js +8 -10
- package/PaginationListItem/index.spec/index.js +32 -0
- package/PaginationListItem/index.spec/package.json +6 -0
- package/Panel/index.js +5 -7
- package/Panel/index.test/index.js +7 -0
- package/Panel/index.test/package.json +6 -0
- package/PanelBody/index.js +3 -5
- package/PanelBody/index.test/index.js +7 -0
- package/PanelBody/index.test/package.json +6 -0
- package/PanelTitle/index.js +3 -5
- package/PanelTitle/index.test/index.js +7 -0
- package/PanelTitle/index.test/package.json +6 -0
- package/Paragraph/index.js +2 -4
- package/Paragraph/index.test/index.js +275 -0
- package/Paragraph/index.test/package.json +6 -0
- package/PhaseBanner/index.d.ts +6 -6
- package/PhaseBanner/index.js +5 -7
- package/PhaseBanner/index.test/index.js +13 -0
- package/PhaseBanner/index.test/package.json +6 -0
- package/PhaseBannerHeaderContainer/inde.test/index.js +7 -0
- package/PhaseBannerHeaderContainer/inde.test/package.json +6 -0
- package/PhaseBannerHeaderContainer/index.js +2 -3
- package/PhaseBannerTag/index.js +3 -5
- package/PhaseBannerTag/index.test/index.js +7 -0
- package/PhaseBannerTag/index.test/package.json +6 -0
- package/PhaseBannerText/index.js +3 -5
- package/PhaseBannerText/index.test/index.js +7 -0
- package/PhaseBannerText/index.test/package.json +6 -0
- package/RadioConditional/index.js +5 -7
- package/RadioConditional/index.test/index.js +7 -0
- package/RadioConditional/index.test/package.json +6 -0
- package/RadioContainer/index.d.ts +5 -5
- package/RadioContainer/index.js +5 -7
- package/RadioContainer/index.test/index.js +19 -0
- package/RadioContainer/index.test/package.json +6 -0
- package/RadioItem/index.d.ts +4 -4
- package/RadioItem/index.js +10 -12
- package/RadioItem/index.test/index.js +55 -0
- package/RadioItem/index.test/package.json +6 -0
- package/ResultsActionBar/index.js +3 -5
- package/ResultsActionBar/indext.test/index.js +7 -0
- package/ResultsActionBar/indext.test/package.json +6 -0
- package/ResultsHeading/index.js +3 -5
- package/ResultsHeading/index.test/index.js +7 -0
- package/ResultsHeading/index.test/package.json +6 -0
- package/ResultsHeadingActions/index.js +5 -8
- package/ResultsHeadingActions/index.test/index.js +7 -0
- package/ResultsHeadingActions/index.test/package.json +6 -0
- package/SearchButton/index.js +3 -6
- package/SearchButton/index.test/index.js +7 -0
- package/SearchButton/index.test/package.json +6 -0
- package/SearchContainer/index.js +3 -5
- package/SearchContainer/index.test/index.js +7 -0
- package/SearchContainer/index.test/package.json +6 -0
- package/Section/index.js +3 -5
- package/Section/index.test/index.js +7 -0
- package/Section/index.test/package.json +6 -0
- package/SectionBreak/index.d.ts +13 -13
- package/SectionBreak/index.js +6 -8
- package/SectionBreak/index.test/index.js +37 -0
- package/SectionBreak/index.test/package.json +6 -0
- package/SelectContainer/index.js +4 -6
- package/SelectContainer/index.test/index.js +26 -0
- package/SelectContainer/index.test/package.json +6 -0
- package/SelectOption/index.js +3 -5
- package/SelectOption/index.test/index.js +13 -0
- package/SelectOption/index.test/package.json +6 -0
- package/SingleCharacterInput/index.js +4 -6
- package/SingleCharacterInput/index.test/index.js +41 -0
- package/SingleCharacterInput/index.test/package.json +6 -0
- package/SingleCharacterInputs/index.js +3 -5
- package/SingleCharacterInputs/index.test/index.js +7 -0
- package/SingleCharacterInputs/index.test/package.json +6 -0
- package/SkipLink/index.js +5 -7
- package/SkipLink/index.test/index.js +7 -0
- package/SkipLink/index.test/package.json +6 -0
- package/Stack/index.js +10 -12
- package/Stack/index.test/index.js +188 -0
- package/Stack/index.test/package.json +6 -0
- package/StepNav/index.d.ts +5 -5
- package/StepNav/index.js +4 -6
- package/StepNav/index.test/index.js +13 -0
- package/StepNav/index.test/package.json +6 -0
- package/StepNavAccordion/index.js +3 -5
- package/StepNavAccordion/index.test/index.js +7 -0
- package/StepNavAccordion/index.test/package.json +6 -0
- package/StepNavAccordionContent/index.js +3 -5
- package/StepNavAccordionContent/index.test/index.js +7 -0
- package/StepNavAccordionContent/index.test/package.json +6 -0
- package/StepNavAccordionHeadingText/index.js +7 -9
- package/StepNavAccordionHeadingText/index.test/index.js +19 -0
- package/StepNavAccordionHeadingText/index.test/package.json +6 -0
- package/StepNavAccordionHeadingTitle/index.js +3 -5
- package/StepNavAccordionHeadingTitle/index.test/index.js +7 -0
- package/StepNavAccordionHeadingTitle/index.test/package.json +6 -0
- package/StepNavAccordionSummary/index.js +3 -5
- package/StepNavAccordionSummary/index.test/index.js +7 -0
- package/StepNavAccordionSummary/index.test/package.json +6 -0
- package/StepNavAccordionSummaryHeading/index.d.ts +11 -11
- package/StepNavAccordionSummaryHeading/index.js +7 -13
- package/StepNavAccordionSummaryHeading/index.test/index.js +33 -0
- package/StepNavAccordionSummaryHeading/index.test/package.json +6 -0
- package/StepNavCircleNumber/index.d.ts +7 -7
- package/StepNavCircleNumber/index.js +5 -7
- package/StepNavCircleNumber/index.test/index.js +13 -0
- package/StepNavCircleNumber/index.test/package.json +6 -0
- package/StepNavControls/index.js +3 -5
- package/StepNavControls/index.test/index.js +7 -0
- package/StepNavControls/index.test/package.json +6 -0
- package/StepNavList/index.js +3 -5
- package/StepNavList/index.test/index.js +7 -0
- package/StepNavList/index.test/package.json +6 -0
- package/StepNavListItem/index.js +3 -5
- package/StepNavListItem/index.test/index.js +7 -0
- package/StepNavListItem/index.test/package.json +6 -0
- package/SummaryList/index.d.ts +7 -7
- package/SummaryList/index.js +5 -7
- package/SummaryList/index.test/index.js +7 -0
- package/SummaryList/index.test/package.json +6 -0
- package/SummaryListItem/index.d.ts +7 -7
- package/SummaryListItem/index.js +5 -7
- package/SummaryListItem/index.test/index.js +7 -0
- package/SummaryListItem/index.test/package.json +6 -0
- package/SummaryListItemAction/index.js +3 -5
- package/SummaryListItemAction/index.test/index.js +7 -0
- package/SummaryListItemAction/index.test/package.json +6 -0
- package/SummaryListItemKey/index.js +3 -5
- package/SummaryListItemKey/index.test/index.js +7 -0
- package/SummaryListItemKey/index.test/package.json +6 -0
- package/SummaryListItemValue/index.js +3 -5
- package/SummaryListItemValue/index.test/index.js +7 -0
- package/SummaryListItemValue/index.test/package.json +6 -0
- package/SvgIcon/index.js +5 -7
- package/SvgIcon/index.test/index.js +99 -0
- package/SvgIcon/index.test/package.json +6 -0
- package/Table/index.d.ts +28 -28
- package/Table/index.js +11 -13
- package/Table/index.test/index.js +31 -0
- package/Table/index.test/package.json +6 -0
- package/TableBody/index.d.ts +7 -7
- package/TableBody/index.js +5 -7
- package/TableBody/index.test/index.js +7 -0
- package/TableBody/index.test/package.json +6 -0
- package/TableCaption/index.d.ts +9 -9
- package/TableCaption/index.js +5 -7
- package/TableCaption/index.test/index.js +31 -0
- package/TableCaption/index.test/package.json +6 -0
- package/TableContainer/index.d.ts +5 -5
- package/TableContainer/index.js +5 -7
- package/TableContainer/index.test/index.js +13 -0
- package/TableContainer/index.test/package.json +6 -0
- package/TableDataCell/index.d.ts +7 -7
- package/TableDataCell/index.js +6 -6
- package/TableDataCell/index.test/index.js +13 -0
- package/TableDataCell/index.test/package.json +6 -0
- package/TableHead/index.js +3 -5
- package/TableHead/index.test/index.js +7 -0
- package/TableHead/index.test/package.json +6 -0
- package/TableHeadCell/index.js +6 -8
- package/TableHeadCell/index.test/index.js +91 -0
- package/TableHeadCell/index.test/package.json +6 -0
- package/TableLoaderBackground/index.js +3 -5
- package/TableLoaderBackground/index.test/index.js +7 -0
- package/TableLoaderBackground/index.test/package.json +6 -0
- package/TableNoDataRow/index.js +3 -5
- package/TableNoDataRow/index.test/index.js +7 -0
- package/TableNoDataRow/index.test/package.json +6 -0
- package/TableRow/index.d.ts +5 -5
- package/TableRow/index.js +6 -8
- package/TableRow/index.test/index.js +19 -0
- package/TableRow/index.test/package.json +6 -0
- package/TableSortIconContainer/index.js +3 -5
- package/TableSortIconContainer/index.test/index.js +7 -0
- package/TableSortIconContainer/index.test/package.json +6 -0
- package/Tabs/index.js +5 -7
- package/Tabs/index.test/index.js +13 -0
- package/Tabs/index.test/package.json +6 -0
- package/TabsHeading/index.d.ts +7 -7
- package/TabsHeading/index.js +6 -8
- package/TabsHeading/index.test/index.js +19 -0
- package/TabsHeading/index.test/package.json +6 -0
- package/TabsList/index.js +3 -5
- package/TabsList/index.test/index.js +7 -0
- package/TabsList/index.test/package.json +6 -0
- package/TabsListItemBase/index.js +4 -6
- package/TabsListItemBase/index.test/index.js +33 -0
- package/TabsListItemBase/index.test/package.json +6 -0
- package/TabsPanelBase/index.d.ts +6 -6
- package/TabsPanelBase/index.js +4 -6
- package/TabsPanelBase/index.test/index.js +25 -0
- package/TabsPanelBase/index.test/package.json +6 -0
- package/TaskList/index.js +4 -6
- package/TaskList/index.test/index.js +13 -0
- package/TaskList/index.test/package.json +6 -0
- package/TaskListItem/index.js +3 -5
- package/TaskListItem/index.test/index.js +7 -0
- package/TaskListItem/index.test/package.json +6 -0
- package/TaskListItemContent/index.js +3 -5
- package/TaskListItemContent/index.test/index.js +7 -0
- package/TaskListItemContent/index.test/package.json +6 -0
- package/TaskListItemHeading/index.js +2 -4
- package/TaskListItemHeading/index.test/index.js +19 -0
- package/TaskListItemHeading/index.test/package.json +6 -0
- package/TaskListItemTag/index.js +4 -6
- package/TaskListItemTag/index.test/index.js +25 -0
- package/TaskListItemTag/index.test/package.json +6 -0
- package/TextArea/index.d.ts +5 -5
- package/TextArea/index.js +7 -9
- package/TextArea/index.test/index.js +43 -0
- package/TextArea/index.test/package.json +6 -0
- package/TextInput/index.js +9 -11
- package/TextInput/index.test/index.js +295 -0
- package/TextInput/index.test/package.json +6 -0
- package/Timeline/index.js +4 -6
- package/Timeline/index.test/index.js +13 -0
- package/Timeline/index.test/package.json +6 -0
- package/TimelineActions/index.js +3 -5
- package/TimelineActions/index.test/index.js +7 -0
- package/TimelineActions/index.test/package.json +6 -0
- package/TimelineContent/index.js +3 -5
- package/TimelineContent/index.test/index.js +7 -0
- package/TimelineContent/index.test/package.json +6 -0
- package/TimelineHeading/index.d.ts +11 -11
- package/TimelineHeading/index.js +7 -13
- package/TimelineHeading/index.test/index.js +19 -0
- package/TimelineHeading/index.test/package.json +6 -0
- package/TimelineItem/index.js +3 -5
- package/TimelineItem/index.test/index.js +7 -0
- package/TimelineItem/index.test/package.json +6 -0
- package/Top/index.js +3 -5
- package/Top/index.test/index.js +7 -0
- package/Top/index.test/package.json +6 -0
- package/Typography/index.d.ts +16 -16
- package/Typography/index.js +6 -8
- package/Typography/index.test/index.js +73 -0
- package/Typography/index.test/package.json +6 -0
- package/Unpurge/index.d.ts +1 -0
- package/Unpurge/index.js +0 -2
- package/VisuallyHidden/index.js +3 -5
- package/VisuallyHidden/index.test/index.js +7 -0
- package/VisuallyHidden/index.test/package.json +6 -0
- package/WarningText/index.js +6 -8
- package/WarningText/index.test/index.js +19 -0
- package/WarningText/index.test/package.json +6 -0
- package/cjs/Accordion/index.js +10 -21
- package/cjs/Accordion/index.test/index.js +10 -0
- package/cjs/AccordionControls/index.js +5 -16
- package/cjs/AccordionControls/index.test/index.js +10 -0
- package/cjs/AccordionSection/index.js +5 -16
- package/cjs/AccordionSection/index.test/index.js +22 -0
- package/cjs/AccordionSectionContent/index.js +5 -16
- package/cjs/AccordionSectionContent/index.test/index.js +10 -0
- package/cjs/AccordionSectionSummary/index.js +5 -16
- package/cjs/AccordionSectionSummary/index.test/index.js +10 -0
- package/cjs/AccordionSectionSummaryHeading/index.js +5 -16
- package/cjs/AccordionSectionSummaryHeading/index.test/index.js +10 -0
- package/cjs/AdminAside/index.js +5 -16
- package/cjs/AdminAside/index.test/index.js +10 -0
- package/cjs/AdminContainer/index.js +5 -16
- package/cjs/AdminContainer/index.test/index.js +10 -0
- package/cjs/AdminHeader/index.js +5 -16
- package/cjs/AdminHeader/index.test/index.js +10 -0
- package/cjs/AdminHeaderContent/index.js +5 -16
- package/cjs/AdminHeaderContent/index.spec/index.js +10 -0
- package/cjs/AdminLayout/index.js +6 -17
- package/cjs/AdminLayout/index.test/index.js +10 -0
- package/cjs/AdminMain/index.js +5 -16
- package/cjs/AdminMain/index.test/index.js +10 -0
- package/cjs/AdminTopSection/index.js +8 -19
- package/cjs/AdminTopSection/index.test/index.js +10 -0
- package/cjs/Aside/index.js +8 -19
- package/cjs/Aside/index.test/index.js +10 -0
- package/cjs/AutoCompleteAssistiveHint/index.js +5 -16
- package/cjs/AutoCompleteAssistiveHint/index.test/index.js +10 -0
- package/cjs/AutoCompleteInput/index.js +8 -19
- package/cjs/AutoCompleteInput/index.test/index.js +37 -0
- package/cjs/AutoCompleteInputTypeahead/index.js +4 -15
- package/cjs/AutoCompleteInputTypeahead/index.test/index.js +10 -0
- package/cjs/AutoCompleteResultList/index.js +8 -19
- package/cjs/AutoCompleteResultList/index.test/index.js +30 -0
- package/cjs/AutoCompleteResultListItem/index.js +10 -21
- package/cjs/AutoCompleteResultListItem/index.test/index.js +31 -0
- package/cjs/AutoCompleteStatus/index.js +5 -16
- package/cjs/AutoCompleteStatus/index.test/index.js +10 -0
- package/cjs/AutoCompleteStatusWrapper/index.js +5 -16
- package/cjs/AutoCompleteStatusWrapper/index.test/index.js +10 -0
- package/cjs/AutoCompleteWrapper/index.js +6 -17
- package/cjs/AutoCompleteWrapper/index.test/index.js +10 -0
- package/cjs/BackLink/index.js +8 -21
- package/cjs/BackLink/index.test/index.js +16 -0
- package/cjs/BackToTopContainer/index.js +6 -17
- package/cjs/BackToTopLimit/index.js +5 -15
- package/cjs/BackToTopLink/index.js +7 -20
- package/cjs/BannerContainer/index.js +5 -16
- package/cjs/BannerContainer/index.test/index.js +10 -0
- package/cjs/Base/index.js +41 -37
- package/cjs/Blockquote/index.js +6 -17
- package/cjs/Blockquote/index.test/index.js +16 -0
- package/cjs/Bottom/index.js +5 -16
- package/cjs/Bottom/index.test/index.js +10 -0
- package/cjs/BottomInfo/index.js +5 -16
- package/cjs/BottomInfo/index.test/index.js +10 -0
- package/cjs/BottomInfoContainer/index.js +5 -16
- package/cjs/BottomInfoContainer/index.test/index.js +10 -0
- package/cjs/BottomInfoContent/index.js +8 -18
- package/cjs/BottomInfoContent/index.test/index.js +10 -0
- package/cjs/Breadcrumbs/index.js +5 -16
- package/cjs/Breadcrumbs/index.test/index.js +10 -0
- package/cjs/BreadcrumbsList/index.js +5 -16
- package/cjs/BreadcrumbsList/index.test/index.js +10 -0
- package/cjs/BreadcrumbsListItem/index.js +6 -17
- package/cjs/BreadcrumbsListItem/index.test/index.js +16 -0
- package/cjs/Button/index.js +13 -24
- package/cjs/Button/index.test/index.js +79 -0
- package/cjs/ButtonGroup/index.js +5 -16
- package/cjs/ButtonGroup/index.test/index.js +10 -0
- package/cjs/ButtonLink/index.js +7 -18
- package/cjs/ButtonLink/index.test/index.js +71 -0
- package/cjs/CallToAction/index.js +7 -20
- package/cjs/CallToAction/index.test/index.js +10 -0
- package/cjs/Card/index.js +9 -20
- package/cjs/Card/index.test/index.js +76 -0
- package/cjs/CardAction/index.js +5 -16
- package/cjs/CardAction/index.test/index.js +10 -0
- package/cjs/CardContent/index.js +5 -16
- package/cjs/CardContent/index.test/index.js +10 -0
- package/cjs/CardHeading/index.js +5 -16
- package/cjs/CardHeading/index.test/index.js +10 -0
- package/cjs/Checkbox/index.js +7 -18
- package/cjs/Checkbox/index.test/index.js +27 -0
- package/cjs/CheckboxConditional/index.js +7 -20
- package/cjs/CheckboxConditional/index.test/index.js +10 -0
- package/cjs/CheckboxItem/index.js +11 -24
- package/cjs/CheckboxItem/index.test/index.js +51 -0
- package/cjs/Chip/index.js +7 -19
- package/cjs/Chip/index.test/index.js +10 -0
- package/cjs/ChipContainer/index.js +6 -17
- package/cjs/ChipContainer/index.spec/index.js +10 -0
- package/cjs/ChipHeading/index.js +4 -14
- package/cjs/ChipHeading/index.test/index.js +10 -0
- package/cjs/ChipKeyValue/index.js +5 -16
- package/cjs/ChipKeyValue/index.test/index.js +10 -0
- package/cjs/ChoiceDividerText/index.js +5 -16
- package/cjs/ChoiceDividerText/index.test/index.js +10 -0
- package/cjs/CircularProgress/index.js +8 -21
- package/cjs/CircularProgress/index.test/index.js +42 -0
- package/cjs/CloseButton/index.js +7 -20
- package/cjs/CloseButton/index.test/index.js +16 -0
- package/cjs/Container/index.js +9 -20
- package/cjs/Container/index.test/index.js +23 -0
- package/cjs/CopyToClipboardContainer/index.js +10 -21
- package/cjs/CopyToClipboardContainer/index.spec/index.js +29 -0
- package/cjs/CopyToClipboardMessage/index.js +6 -17
- package/cjs/CopyToClipboardMessage/index.test/index.js +36 -0
- package/cjs/CopyrightContainer/index.js +5 -16
- package/cjs/CopyrightContainer/index.test/index.js +10 -0
- package/cjs/DateInputContainer/index.js +6 -17
- package/cjs/DateInputContainer/index.test/index.js +16 -0
- package/cjs/DateInputItem/index.js +9 -20
- package/cjs/DateInputItem/index.test/index.js +23 -0
- package/cjs/Details/index.js +5 -16
- package/cjs/Details/index.test/index.js +10 -0
- package/cjs/DetailsContent/index.js +5 -16
- package/cjs/DetailsContent/index.test/index.js +10 -0
- package/cjs/DetailsSummary/index.js +6 -17
- package/cjs/DetailsSummary/index.test/index.js +10 -0
- package/cjs/Drawer/index.js +11 -22
- package/cjs/Drawer/index.test/index.js +19 -0
- package/cjs/DrawerHeading/index.js +10 -21
- package/cjs/DrawerHeading/index.test/index.js +10 -0
- package/cjs/DropdownBase/index.js +10 -21
- package/cjs/DropdownBase/index.test/index.js +83 -0
- package/cjs/DropdownButton/index.js +14 -27
- package/cjs/DropdownButton/index.test/index.js +156 -0
- package/cjs/DropdownContent/index.js +7 -18
- package/cjs/DropdownContent/index.test/index.js +10 -0
- package/cjs/ErrorMessage/index.js +5 -16
- package/cjs/ErrorMessage/index.test/index.js +10 -0
- package/cjs/ErrorSummary/index.js +7 -18
- package/cjs/ErrorSummary/index.test/index.js +16 -0
- package/cjs/FieldContainer/index.js +11 -22
- package/cjs/FieldContainer/index.test/index.js +22 -0
- package/cjs/Fieldset/index.js +5 -16
- package/cjs/Fieldset/index.test/index.js +10 -0
- package/cjs/FieldsetLegend/index.js +9 -20
- package/cjs/FieldsetLegend/index.test/index.js +68 -0
- package/cjs/FileUpload/index.js +9 -20
- package/cjs/FileUpload/index.test/index.js +16 -0
- package/cjs/FileUploadContainer/index.js +7 -18
- package/cjs/FileUploadContainer/index.test/index.js +16 -0
- package/cjs/FillableText/index.js +5 -16
- package/cjs/FillableText/index.test/index.js +10 -0
- package/cjs/FilterContainer/index.js +11 -22
- package/cjs/FilterContainer/index.test/index.js +10 -0
- package/cjs/FilterContent/index.js +5 -16
- package/cjs/FilterContent/index.test/index.js +10 -0
- package/cjs/FilterHeadingContainer/index.js +5 -16
- package/cjs/FilterHeadingContainer/index.test/index.js +10 -0
- package/cjs/FilterOptionsSection/index.js +6 -17
- package/cjs/FilterOptionsSection/index.spec/index.js +10 -0
- package/cjs/FilterSelectedHeading/index.js +5 -16
- package/cjs/FilterSelectedHeading/index.spec/index.js +10 -0
- package/cjs/FilterSelectedSection/index.js +5 -16
- package/cjs/FilterSelectedSection/index.test/index.js +10 -0
- package/cjs/Footer/index.js +5 -16
- package/cjs/Footer/index.test/index.js +10 -0
- package/cjs/FooterContainer/index.js +4 -14
- package/cjs/FooterContainer/index.test/index.js +10 -0
- package/cjs/FooterContent/index.js +5 -16
- package/cjs/FooterContent/index.test/index.js +10 -0
- package/cjs/FooterContentLogos/index.js +5 -16
- package/cjs/FooterContentLogos/index.test/index.js +10 -0
- package/cjs/FooterHeading/index.js +9 -20
- package/cjs/FooterHeading/index.test/index.js +22 -0
- package/cjs/FooterImage/index.js +7 -18
- package/cjs/FooterImage/index.test/index.js +10 -0
- package/cjs/FooterInfo/index.js +5 -16
- package/cjs/FooterInfo/index.test/index.js +10 -0
- package/cjs/FooterInfoSection/index.js +6 -17
- package/cjs/FooterInfoSection/index.test/index.js +22 -0
- package/cjs/FooterLink/index.js +5 -16
- package/cjs/FooterLink/index.test/index.js +16 -0
- package/cjs/FooterList/index.js +8 -19
- package/cjs/FooterList/index.test/index.js +16 -0
- package/cjs/FooterListItem/index.js +5 -16
- package/cjs/FooterListItem/index.test/index.js +10 -0
- package/cjs/FooterNavigation/index.js +5 -16
- package/cjs/FooterNavigation/index.test/index.js +10 -0
- package/cjs/FooterNavigationSection/index.js +5 -16
- package/cjs/FooterNavigationSection/index.test/index.js +12 -0
- package/cjs/Form/index.js +7 -18
- package/cjs/Form/index.test/index.js +16 -0
- package/cjs/FullPageBackground/index.js +5 -16
- package/cjs/FullPageBackground/index.test/index.js +10 -0
- package/cjs/GovGRLogo/govgr-logo-base64/index.js +7 -0
- package/cjs/GovGRLogo/govgr-logo-blue-base64/index.js +7 -0
- package/cjs/GovGRLogo/index.js +8 -21
- package/cjs/GovGRLogo/index.test/index.js +10 -0
- package/cjs/Grid/index.js +17 -28
- package/cjs/Grid/index.test/index.js +52 -0
- package/cjs/Header/index.js +5 -16
- package/cjs/Header/index.test/index.js +10 -0
- package/cjs/HeaderContent/index.js +5 -16
- package/cjs/HeaderContent/index.test/index.js +10 -0
- package/cjs/HeaderLogo/index.js +7 -18
- package/cjs/HeaderLogo/index.test/index.js +10 -0
- package/cjs/HeaderNavMenuContent/index.js +5 -16
- package/cjs/HeaderNavMenuContent/index.test/index.js +10 -0
- package/cjs/HeaderSecondaryLogo/index.js +7 -18
- package/cjs/HeaderSecondaryLogo/index.test/index.js +21 -0
- package/cjs/HeaderSection/index.js +5 -16
- package/cjs/HeaderSection/index.test/index.js +10 -0
- package/cjs/HeaderTitle/index.js +7 -18
- package/cjs/HeaderTitle/index.test/index.js +16 -0
- package/cjs/Heading/index.js +10 -27
- package/cjs/Heading/index.test/index.js +131 -0
- package/cjs/HeadingCaption/index.js +7 -18
- package/cjs/HeadingCaption/index.test/index.js +28 -0
- package/cjs/HellenicRepublicLogo/index.js +10 -25
- package/cjs/HellenicRepublicLogo/index.test/index.js +10 -0
- package/cjs/HellenicRepublicLogo/logo-el/index.js +7 -0
- package/cjs/HellenicRepublicLogo/logo-en/index.js +7 -0
- package/cjs/HellenicRepublicLogo/logo-inverted-el/index.js +7 -0
- package/cjs/HellenicRepublicLogo/logo-inverted-en/index.js +7 -0
- package/cjs/Hidden/index.js +11 -22
- package/cjs/Hidden/index.test/index.js +36 -0
- package/cjs/Hint/index.js +7 -18
- package/cjs/Hint/index.test/index.js +28 -0
- package/cjs/ImageLogo/index.js +8 -19
- package/cjs/ImageLogo/index.test/index.js +19 -0
- package/cjs/ImageLogoSet/index.js +9 -19
- package/cjs/ImageLogoSet/index.test/index.js +24 -0
- package/cjs/KitchenSinkAllComponents/index.js +5 -15
- package/cjs/KitchenSinkCard/index.js +5 -15
- package/cjs/KitchenSinkCategory/index.js +5 -15
- package/cjs/KitchenSinkContent/index.js +7 -17
- package/cjs/KitchenSinkContentInfo/index.js +5 -15
- package/cjs/KitchenSinkContentTags/index.js +5 -15
- package/cjs/KitchenSinkHeading/index.js +5 -15
- package/cjs/KitchenSinkLetterContent/index.js +5 -15
- package/cjs/LabelContainer/index.js +5 -16
- package/cjs/LabelContainer/index.test/index.js +10 -0
- package/cjs/LabelTitle/index.js +8 -19
- package/cjs/LabelTitle/index.test/index.js +68 -0
- package/cjs/LabeledText/index.js +6 -17
- package/cjs/LabeledText/index.test/index.js +22 -0
- package/cjs/Layout/index.js +7 -18
- package/cjs/Layout/index.test/index.js +10 -0
- package/cjs/LinkBase/index.js +7 -18
- package/cjs/LinkBase/index.test/index.js +22 -0
- package/cjs/List/index.js +10 -21
- package/cjs/List/index.test/index.js +49 -0
- package/cjs/ListItem/index.js +5 -16
- package/cjs/ListItem/index.test/index.js +10 -0
- package/cjs/LoaderContainer/index.js +5 -16
- package/cjs/LoaderContainer/index.test/index.js +10 -0
- package/cjs/Main/index.js +7 -18
- package/cjs/Main/index.test/index.js +10 -0
- package/cjs/Masthead/index.js +7 -18
- package/cjs/Masthead/index.test/index.js +10 -0
- package/cjs/MastheadBody/index.js +5 -16
- package/cjs/MastheadBody/index.test/index.js +10 -0
- package/cjs/MastheadLogo/index.js +7 -18
- package/cjs/MastheadLogo/index.test/index.js +10 -0
- package/cjs/ModalAction/index.js +5 -16
- package/cjs/ModalAction/index.test/index.js +10 -0
- package/cjs/ModalContainer/index.js +7 -18
- package/cjs/ModalContainer/index.test/index.js +10 -0
- package/cjs/ModalContent/index.js +5 -16
- package/cjs/ModalContent/index.test/index.js +10 -0
- package/cjs/ModalHeading/index.js +5 -14
- package/cjs/ModalHeading/index.test/index.js +10 -0
- package/cjs/Nav/index.js +13 -25
- package/cjs/Nav/index.test/index.js +48 -0
- package/cjs/NavList/index.js +10 -21
- package/cjs/NavList/index.test/index.js +16 -0
- package/cjs/NavListItemAction/index.js +7 -20
- package/cjs/NavListItemAction/index.test/index.js +10 -0
- package/cjs/NavListItemActionContainer/index.js +5 -16
- package/cjs/NavListItemActionContainer/index.test/index.js +10 -0
- package/cjs/NavListItemButton/index.js +8 -20
- package/cjs/NavListItemButton/index.test/index.js +22 -0
- package/cjs/NavListItemLink/index.js +7 -18
- package/cjs/NavListItemLink/index.test/index.js +36 -0
- package/cjs/NavMenuContainer/index.js +9 -21
- package/cjs/NavMenuContainer/index.test/index.js +28 -0
- package/cjs/NavMenuContent/index.js +5 -16
- package/cjs/NavMenuContent/index.test/index.js +10 -0
- package/cjs/NavMenuContentListBase/index.js +5 -16
- package/cjs/NavMenuContentListBase/index.test/index.js +10 -0
- package/cjs/NavMenuContentListItem/index.js +5 -16
- package/cjs/NavMenuContentListItem/index.test/index.js +10 -0
- package/cjs/NavMenuTitle/index.js +6 -18
- package/cjs/NavMenuTitle/index.test/index.js +10 -0
- package/cjs/NormalText/index.js +9 -20
- package/cjs/NormalText/index.test/index.js +272 -0
- package/cjs/NotificationBannerContainer/index.js +8 -19
- package/cjs/NotificationBannerContainer/index.test/index.js +22 -0
- package/cjs/NotificationBannerContent/index.js +5 -16
- package/cjs/NotificationBannerContent/index.test/index.js +10 -0
- package/cjs/NotificationBannerHeader/index.js +6 -18
- package/cjs/NotificationBannerHeader/index.test/index.js +10 -0
- package/cjs/NotificationBannerHeading/index.js +5 -16
- package/cjs/NotificationBannerHeading/index.test/index.js +10 -0
- package/cjs/NotificationBannerLink/index.js +5 -16
- package/cjs/NotificationBannerLink/index.test/index.js +16 -0
- package/cjs/PageTitleCaption/index.js +5 -14
- package/cjs/PageTitleCaption/index.test/index.js +34 -0
- package/cjs/PageTitleContainer/index.js +5 -16
- package/cjs/PageTitleContainer/index.test/index.js +10 -0
- package/cjs/PageTitleHeading/index.js +4 -14
- package/cjs/PageTitleHeading/index.test/index.js +34 -0
- package/cjs/Pagination/index.js +7 -18
- package/cjs/Pagination/index.spec/index.js +16 -0
- package/cjs/PaginationLabelContainer/index.js +5 -16
- package/cjs/PaginationLabelContainer/index.spec/index.js +10 -0
- package/cjs/PaginationList/index.js +5 -16
- package/cjs/PaginationList/index.spec/index.js +15 -0
- package/cjs/PaginationListItem/index.js +10 -21
- package/cjs/PaginationListItem/index.spec/index.js +35 -0
- package/cjs/Panel/index.js +7 -18
- package/cjs/Panel/index.test/index.js +10 -0
- package/cjs/PanelBody/index.js +5 -16
- package/cjs/PanelBody/index.test/index.js +10 -0
- package/cjs/PanelTitle/index.js +5 -16
- package/cjs/PanelTitle/index.test/index.js +10 -0
- package/cjs/Paragraph/index.js +4 -14
- package/cjs/Paragraph/index.test/index.js +278 -0
- package/cjs/PhaseBanner/index.js +7 -18
- package/cjs/PhaseBanner/index.test/index.js +16 -0
- package/cjs/PhaseBannerHeaderContainer/inde.test/index.js +10 -0
- package/cjs/PhaseBannerHeaderContainer/index.js +4 -15
- package/cjs/PhaseBannerTag/index.js +5 -16
- package/cjs/PhaseBannerTag/index.test/index.js +10 -0
- package/cjs/PhaseBannerText/index.js +5 -16
- package/cjs/PhaseBannerText/index.test/index.js +10 -0
- package/cjs/RadioConditional/index.js +7 -20
- package/cjs/RadioConditional/index.test/index.js +10 -0
- package/cjs/RadioContainer/index.js +7 -18
- package/cjs/RadioContainer/index.test/index.js +22 -0
- package/cjs/RadioItem/index.js +12 -25
- package/cjs/RadioItem/index.test/index.js +58 -0
- package/cjs/ResultsActionBar/index.js +5 -16
- package/cjs/ResultsActionBar/indext.test/index.js +10 -0
- package/cjs/ResultsHeading/index.js +5 -16
- package/cjs/ResultsHeading/index.test/index.js +10 -0
- package/cjs/ResultsHeadingActions/index.js +7 -20
- package/cjs/ResultsHeadingActions/index.test/index.js +10 -0
- package/cjs/SearchButton/index.js +5 -18
- package/cjs/SearchButton/index.test/index.js +10 -0
- package/cjs/SearchContainer/index.js +5 -16
- package/cjs/SearchContainer/index.test/index.js +10 -0
- package/cjs/Section/index.js +5 -16
- package/cjs/Section/index.test/index.js +10 -0
- package/cjs/SectionBreak/index.js +8 -19
- package/cjs/SectionBreak/index.test/index.js +40 -0
- package/cjs/SelectContainer/index.js +6 -17
- package/cjs/SelectContainer/index.test/index.js +29 -0
- package/cjs/SelectOption/index.js +5 -16
- package/cjs/SelectOption/index.test/index.js +16 -0
- package/cjs/SingleCharacterInput/index.js +6 -17
- package/cjs/SingleCharacterInput/index.test/index.js +44 -0
- package/cjs/SingleCharacterInputs/index.js +5 -16
- package/cjs/SingleCharacterInputs/index.test/index.js +10 -0
- package/cjs/SkipLink/index.js +7 -18
- package/cjs/SkipLink/index.test/index.js +10 -0
- package/cjs/Stack/index.js +12 -23
- package/cjs/Stack/index.test/index.js +191 -0
- package/cjs/StepNav/index.js +6 -17
- package/cjs/StepNav/index.test/index.js +16 -0
- package/cjs/StepNavAccordion/index.js +5 -16
- package/cjs/StepNavAccordion/index.test/index.js +10 -0
- package/cjs/StepNavAccordionContent/index.js +5 -16
- package/cjs/StepNavAccordionContent/index.test/index.js +10 -0
- package/cjs/StepNavAccordionHeadingText/index.js +9 -20
- package/cjs/StepNavAccordionHeadingText/index.test/index.js +22 -0
- package/cjs/StepNavAccordionHeadingTitle/index.js +5 -16
- package/cjs/StepNavAccordionHeadingTitle/index.test/index.js +10 -0
- package/cjs/StepNavAccordionSummary/index.js +5 -16
- package/cjs/StepNavAccordionSummary/index.test/index.js +10 -0
- package/cjs/StepNavAccordionSummaryHeading/index.js +9 -24
- package/cjs/StepNavAccordionSummaryHeading/index.test/index.js +36 -0
- package/cjs/StepNavCircleNumber/index.js +7 -18
- package/cjs/StepNavCircleNumber/index.test/index.js +16 -0
- package/cjs/StepNavControls/index.js +5 -16
- package/cjs/StepNavControls/index.test/index.js +10 -0
- package/cjs/StepNavList/index.js +5 -16
- package/cjs/StepNavList/index.test/index.js +10 -0
- package/cjs/StepNavListItem/index.js +5 -16
- package/cjs/StepNavListItem/index.test/index.js +10 -0
- package/cjs/SummaryList/index.js +7 -18
- package/cjs/SummaryList/index.test/index.js +10 -0
- package/cjs/SummaryListItem/index.js +7 -18
- package/cjs/SummaryListItem/index.test/index.js +10 -0
- package/cjs/SummaryListItemAction/index.js +5 -16
- package/cjs/SummaryListItemAction/index.test/index.js +10 -0
- package/cjs/SummaryListItemKey/index.js +5 -16
- package/cjs/SummaryListItemKey/index.test/index.js +10 -0
- package/cjs/SummaryListItemValue/index.js +5 -16
- package/cjs/SummaryListItemValue/index.test/index.js +10 -0
- package/cjs/SvgIcon/index.js +7 -18
- package/cjs/SvgIcon/index.test/index.js +102 -0
- package/cjs/Table/index.js +13 -24
- package/cjs/Table/index.test/index.js +34 -0
- package/cjs/TableBody/index.js +7 -18
- package/cjs/TableBody/index.test/index.js +10 -0
- package/cjs/TableCaption/index.js +7 -18
- package/cjs/TableCaption/index.test/index.js +34 -0
- package/cjs/TableContainer/index.js +7 -18
- package/cjs/TableContainer/index.test/index.js +16 -0
- package/cjs/TableDataCell/index.js +8 -17
- package/cjs/TableDataCell/index.test/index.js +16 -0
- package/cjs/TableHead/index.js +5 -16
- package/cjs/TableHead/index.test/index.js +10 -0
- package/cjs/TableHeadCell/index.js +8 -19
- package/cjs/TableHeadCell/index.test/index.js +94 -0
- package/cjs/TableLoaderBackground/index.js +5 -16
- package/cjs/TableLoaderBackground/index.test/index.js +10 -0
- package/cjs/TableNoDataRow/index.js +5 -16
- package/cjs/TableNoDataRow/index.test/index.js +10 -0
- package/cjs/TableRow/index.js +8 -19
- package/cjs/TableRow/index.test/index.js +22 -0
- package/cjs/TableSortIconContainer/index.js +5 -16
- package/cjs/TableSortIconContainer/index.test/index.js +10 -0
- package/cjs/Tabs/index.js +7 -18
- package/cjs/Tabs/index.test/index.js +16 -0
- package/cjs/TabsHeading/index.js +8 -19
- package/cjs/TabsHeading/index.test/index.js +22 -0
- package/cjs/TabsList/index.js +5 -16
- package/cjs/TabsList/index.test/index.js +10 -0
- package/cjs/TabsListItemBase/index.js +6 -17
- package/cjs/TabsListItemBase/index.test/index.js +36 -0
- package/cjs/TabsPanelBase/index.js +6 -17
- package/cjs/TabsPanelBase/index.test/index.js +28 -0
- package/cjs/TaskList/index.js +6 -17
- package/cjs/TaskList/index.test/index.js +16 -0
- package/cjs/TaskListItem/index.js +5 -16
- package/cjs/TaskListItem/index.test/index.js +10 -0
- package/cjs/TaskListItemContent/index.js +5 -16
- package/cjs/TaskListItemContent/index.test/index.js +10 -0
- package/cjs/TaskListItemHeading/index.js +4 -14
- package/cjs/TaskListItemHeading/index.test/index.js +22 -0
- package/cjs/TaskListItemTag/index.js +6 -17
- package/cjs/TaskListItemTag/index.test/index.js +28 -0
- package/cjs/TextArea/index.js +9 -20
- package/cjs/TextArea/index.test/index.js +46 -0
- package/cjs/TextInput/index.js +11 -22
- package/cjs/TextInput/index.test/index.js +298 -0
- package/cjs/Timeline/index.js +6 -17
- package/cjs/Timeline/index.test/index.js +16 -0
- package/cjs/TimelineActions/index.js +5 -16
- package/cjs/TimelineActions/index.test/index.js +10 -0
- package/cjs/TimelineContent/index.js +5 -16
- package/cjs/TimelineContent/index.test/index.js +10 -0
- package/cjs/TimelineHeading/index.js +9 -24
- package/cjs/TimelineHeading/index.test/index.js +22 -0
- package/cjs/TimelineItem/index.js +5 -16
- package/cjs/TimelineItem/index.test/index.js +10 -0
- package/cjs/Top/index.js +5 -16
- package/cjs/Top/index.test/index.js +10 -0
- package/cjs/Typography/index.js +8 -19
- package/cjs/Typography/index.test/index.js +76 -0
- package/cjs/Unpurge/index.js +1 -6
- package/cjs/VisuallyHidden/index.js +5 -16
- package/cjs/VisuallyHidden/index.test/index.js +10 -0
- package/cjs/WarningText/index.js +8 -19
- package/cjs/WarningText/index.test/index.js +22 -0
- package/cjs/index.js +210 -630
- package/cjs/registry/index.js +507 -0
- package/index.js +213 -213
- package/package.json +3 -3
- package/registry/index.js +498 -0
- package/registry/package.json +6 -0
- package/registry.d.ts +1 -1
- package/src/Accordion/index.tsx +20 -10
- package/src/AccordionSection/index.tsx +2 -5
- package/src/AccordionSectionSummary/index.tsx +2 -5
- package/src/AdminContainer/index.tsx +2 -2
- package/src/AdminLayout/index.tsx +4 -4
- package/src/AdminTopSection/index.tsx +4 -1
- package/src/AutoCompleteInput/index.tsx +11 -11
- package/src/AutoCompleteResultList/index.tsx +15 -15
- package/src/AutoCompleteResultListItem/index.tsx +22 -22
- package/src/AutoCompleteWrapper/index.tsx +2 -5
- package/src/BackToTopContainer/index.tsx +6 -2
- package/src/BackToTopLimit/index.tsx +2 -2
- package/src/BackToTopLink/index.tsx +24 -23
- package/src/BottomInfoContent/index.tsx +1 -4
- package/src/Button/index.tsx +15 -15
- package/src/ButtonLink/index.tsx +10 -10
- package/src/CallToAction/index.tsx +1 -1
- package/src/Card/index.tsx +19 -19
- package/src/Checkbox/index.test.tsx +1 -1
- package/src/Checkbox/index.tsx +1 -1
- package/src/CheckboxItem/index.tsx +27 -25
- package/src/Chip/index.tsx +1 -1
- package/src/ChipContainer/index.tsx +22 -21
- package/src/ChipKeyValue/index.tsx +1 -1
- package/src/ChoiceDividerText/index.tsx +1 -1
- package/src/CircularProgress/index.test.tsx +6 -2
- package/src/CircularProgress/index.tsx +8 -8
- package/src/CloseButton/index.test.tsx +2 -2
- package/src/Container/index.tsx +1 -1
- package/src/CopyToClipboardContainer/index.tsx +14 -4
- package/src/CopyToClipboardMessage/index.test.tsx +2 -10
- package/src/CopyToClipboardMessage/index.tsx +6 -6
- package/src/CopyrightContainer/index.tsx +1 -1
- package/src/DateInputItem/index.tsx +11 -11
- package/src/DetailsSummary/index.tsx +4 -4
- package/src/Drawer/index.tsx +20 -20
- package/src/DrawerHeading/index.tsx +12 -16
- package/src/DropdownBase/index.tsx +16 -16
- package/src/DropdownButton/index.tsx +28 -28
- package/src/FieldContainer/index.tsx +4 -4
- package/src/FieldsetLegend/index.tsx +14 -14
- package/src/FileUpload/index.tsx +5 -5
- package/src/FileUploadContainer/index.tsx +5 -5
- package/src/FilterContainer/index.tsx +21 -21
- package/src/FilterContent/index.tsx +1 -1
- package/src/FilterHeadingContainer/index.test.tsx +3 -1
- package/src/FilterHeadingContainer/index.tsx +1 -1
- package/src/FilterOptionsSection/index.tsx +4 -4
- package/src/FooterHeading/index.tsx +7 -7
- package/src/FooterList/index.tsx +13 -9
- package/src/FooterNavigationSection/index.test.tsx +7 -1
- package/src/Form/index.tsx +5 -5
- package/src/Heading/index.tsx +3 -3
- package/src/HeadingCaption/index.tsx +7 -7
- package/src/HellenicRepublicLogo/index.tsx +5 -5
- package/src/Hidden/index.tsx +26 -35
- package/src/ImageLogo/index.test.tsx +3 -4
- package/src/ImageLogo/index.tsx +24 -22
- package/src/ImageLogoSet/index.test.tsx +8 -5
- package/src/ImageLogoSet/index.tsx +25 -16
- package/src/KitchenSinkContent/index.tsx +7 -7
- package/src/LabelTitle/index.tsx +13 -13
- package/src/LabeledText/index.tsx +5 -5
- package/src/Layout/index.tsx +5 -5
- package/src/LinkBase/index.tsx +5 -5
- package/src/List/index.tsx +12 -19
- package/src/LoaderContainer/index.tsx +1 -1
- package/src/Masthead/index.tsx +7 -7
- package/src/ModalContainer/index.tsx +4 -5
- package/src/ModalHeading/index.tsx +1 -7
- package/src/Nav/index.test.tsx +7 -1
- package/src/Nav/index.tsx +10 -12
- package/src/NavList/index.tsx +21 -11
- package/src/NavListItemAction/index.test.tsx +3 -1
- package/src/NavListItemAction/index.tsx +32 -13
- package/src/NavListItemActionContainer/index.test.tsx +3 -1
- package/src/NavListItemActionContainer/index.tsx +17 -16
- package/src/NavListItemButton/index.tsx +14 -14
- package/src/NavListItemLink/index.tsx +6 -6
- package/src/NavMenuContainer/index.test.tsx +9 -3
- package/src/NavMenuContainer/index.tsx +12 -12
- package/src/NavMenuContent/index.tsx +12 -4
- package/src/NavMenuContentListItem/index.test.tsx +1 -3
- package/src/NavMenuContentListItem/index.tsx +1 -4
- package/src/NavMenuTitle/index.test.tsx +1 -3
- package/src/NavMenuTitle/index.tsx +24 -25
- package/src/NormalText/index.test.tsx +11 -33
- package/src/NormalText/index.tsx +1 -1
- package/src/NotificationBannerHeading/index.tsx +1 -1
- package/src/NotificationBannerLink/index.tsx +1 -4
- package/src/PageTitleContainer/index.test.tsx +3 -1
- package/src/Pagination/index.spec.tsx +1 -1
- package/src/Pagination/index.tsx +6 -6
- package/src/PaginationListItem/index.tsx +14 -14
- package/src/PanelBody/index.tsx +17 -18
- package/src/PanelTitle/index.tsx +17 -18
- package/src/Paragraph/index.tsx +1 -1
- package/src/PhaseBanner/index.tsx +6 -6
- package/src/RadioContainer/index.test.tsx +3 -1
- package/src/RadioContainer/index.tsx +9 -6
- package/src/RadioItem/index.test.tsx +3 -1
- package/src/RadioItem/index.tsx +40 -30
- package/src/ResultsHeadingActions/index.tsx +5 -4
- package/src/Section/index.tsx +1 -1
- package/src/SectionBreak/index.tsx +13 -13
- package/src/SelectOption/index.tsx +1 -4
- package/src/SingleCharacterInput/index.tsx +2 -2
- package/src/SingleCharacterInputs/index.tsx +1 -4
- package/src/Stack/index.test.tsx +66 -29
- package/src/Stack/index.tsx +50 -31
- package/src/StepNav/index.tsx +5 -5
- package/src/StepNavAccordionSummaryHeading/index.tsx +11 -11
- package/src/StepNavCircleNumber/index.tsx +7 -7
- package/src/SummaryList/index.tsx +7 -7
- package/src/SummaryListItem/index.tsx +7 -7
- package/src/Table/index.test.tsx +1 -1
- package/src/Table/index.tsx +29 -29
- package/src/TableBody/index.tsx +7 -7
- package/src/TableCaption/index.tsx +9 -9
- package/src/TableContainer/index.tsx +5 -5
- package/src/TableDataCell/index.tsx +7 -7
- package/src/TableHeadCell/index.test.tsx +5 -24
- package/src/TableRow/index.test.tsx +1 -1
- package/src/TableRow/index.tsx +10 -7
- package/src/TabsHeading/index.tsx +8 -8
- package/src/TabsPanelBase/index.test.tsx +6 -2
- package/src/TabsPanelBase/index.tsx +26 -25
- package/src/TextArea/index.tsx +6 -6
- package/src/TextInput/index.test.tsx +41 -61
- package/src/TimelineHeading/index.tsx +11 -11
- package/src/Typography/index.test.tsx +71 -11
- package/src/Typography/index.tsx +40 -39
- package/src/WarningText/index.test.tsx +3 -1
- package/src/registry.js +522 -180
- package/Accordion/index.test.js +0 -9
- package/AccordionControls/index.test.js +0 -9
- package/AccordionSection/index.test.js +0 -25
- package/AccordionSectionContent/index.test.js +0 -9
- package/AccordionSectionSummary/index.test.js +0 -9
- package/AccordionSectionSummaryHeading/index.test.js +0 -9
- package/AdminAside/index.test.js +0 -9
- package/AdminContainer/index.test.js +0 -9
- package/AdminHeader/index.test.js +0 -9
- package/AdminHeaderContent/index.spec.js +0 -9
- package/AdminLayout/index.test.js +0 -9
- package/AdminMain/index.test.js +0 -9
- package/AdminTopSection/index.test.js +0 -9
- package/Aside/index.test.js +0 -9
- package/AutoCompleteAssistiveHint/index.test.js +0 -9
- package/AutoCompleteInput/index.test.js +0 -44
- package/AutoCompleteInputTypeahead/index.test.js +0 -9
- package/AutoCompleteResultList/index.test.js +0 -35
- package/AutoCompleteResultListItem/index.test.js +0 -36
- package/AutoCompleteStatus/index.test.js +0 -9
- package/AutoCompleteStatusWrapper/index.test.js +0 -9
- package/AutoCompleteWrapper/index.test.js +0 -9
- package/BackLink/index.test.js +0 -17
- package/BannerContainer/index.test.js +0 -9
- package/Blockquote/index.test.js +0 -17
- package/Bottom/index.test.js +0 -9
- package/BottomInfo/index.test.js +0 -9
- package/BottomInfoContainer/index.test.js +0 -9
- package/BottomInfoContent/index.test.js +0 -9
- package/Breadcrumbs/index.test.js +0 -9
- package/BreadcrumbsList/index.test.js +0 -9
- package/BreadcrumbsListItem/index.test.js +0 -17
- package/Button/index.test.js +0 -100
- package/ButtonGroup/index.test.js +0 -9
- package/ButtonLink/index.test.js +0 -90
- package/CallToAction/index.test.js +0 -9
- package/Card/index.test.js +0 -95
- package/CardAction/index.test.js +0 -9
- package/CardContent/index.test.js +0 -9
- package/CardHeading/index.test.js +0 -9
- package/Checkbox/index.test.js +0 -32
- package/CheckboxConditional/index.test.js +0 -9
- package/CheckboxItem/index.test.js +0 -62
- package/Chip/index.test.js +0 -9
- package/ChipContainer/index.spec.js +0 -9
- package/ChipHeading/index.test.js +0 -9
- package/ChipKeyValue/index.test.js +0 -9
- package/ChoiceDividerText/index.test.js +0 -9
- package/CircularProgress/index.test.js +0 -51
- package/CloseButton/index.test.js +0 -17
- package/Container/index.test.js +0 -26
- package/CopyToClipboardContainer/index.spec.js +0 -34
- package/CopyToClipboardMessage/index.test.js +0 -45
- package/CopyrightContainer/index.test.js +0 -9
- package/DateInputContainer/index.test.js +0 -17
- package/DateInputItem/index.test.js +0 -26
- package/Details/index.test.js +0 -9
- package/DetailsContent/index.test.js +0 -9
- package/DetailsSummary/index.test.js +0 -9
- package/Drawer/index.test.js +0 -18
- package/DrawerHeading/index.test.js +0 -9
- package/DropdownBase/index.test.js +0 -104
- package/DropdownButton/index.test.js +0 -197
- package/DropdownContent/index.test.js +0 -9
- package/ErrorMessage/index.test.js +0 -9
- package/ErrorSummary/index.test.js +0 -17
- package/FieldContainer/index.test.js +0 -25
- package/Fieldset/index.test.js +0 -9
- package/FieldsetLegend/index.test.js +0 -85
- package/FileUpload/index.test.js +0 -17
- package/FileUploadContainer/index.test.js +0 -17
- package/FillableText/index.test.js +0 -9
- package/FilterContainer/index.test.js +0 -9
- package/FilterContent/index.test.js +0 -9
- package/FilterHeadingContainer/index.test.js +0 -9
- package/FilterOptionsSection/index.spec.js +0 -9
- package/FilterSelectedHeading/index.spec.js +0 -9
- package/FilterSelectedSection/index.test.js +0 -9
- package/Footer/index.test.js +0 -9
- package/FooterContainer/index.test.js +0 -9
- package/FooterContent/index.test.js +0 -9
- package/FooterContentLogos/index.test.js +0 -9
- package/FooterHeading/index.test.js +0 -25
- package/FooterImage/index.test.js +0 -9
- package/FooterInfo/index.test.js +0 -9
- package/FooterInfoSection/index.test.js +0 -25
- package/FooterLink/index.test.js +0 -17
- package/FooterList/index.test.js +0 -17
- package/FooterListItem/index.test.js +0 -9
- package/FooterNavigation/index.test.js +0 -9
- package/FooterNavigationSection/index.test.js +0 -11
- package/Form/index.test.js +0 -17
- package/FullPageBackground/index.test.js +0 -9
- package/GovGRLogo/index.test.js +0 -9
- package/Grid/index.test.js +0 -65
- package/Header/index.test.js +0 -9
- package/HeaderContent/index.test.js +0 -9
- package/HeaderLogo/index.test.js +0 -9
- package/HeaderNavMenuContent/index.test.js +0 -9
- package/HeaderSecondaryLogo/index.test.js +0 -22
- package/HeaderSection/index.test.js +0 -9
- package/HeaderTitle/index.test.js +0 -17
- package/Heading/index.test.js +0 -166
- package/HeadingCaption/index.test.js +0 -33
- package/HellenicRepublicLogo/index.test.js +0 -9
- package/Hidden/index.test.js +0 -43
- package/Hint/index.test.js +0 -33
- package/ImageLogo/index.test.js +0 -20
- package/ImageLogoSet/index.test.js +0 -23
- package/LabelContainer/index.test.js +0 -9
- package/LabelTitle/index.test.js +0 -85
- package/LabeledText/index.test.js +0 -25
- package/Layout/index.test.js +0 -9
- package/LinkBase/index.test.js +0 -25
- package/List/index.test.js +0 -60
- package/ListItem/index.test.js +0 -9
- package/LoaderContainer/index.test.js +0 -9
- package/Main/index.test.js +0 -9
- package/Masthead/index.test.js +0 -9
- package/MastheadBody/index.test.js +0 -9
- package/MastheadLogo/index.test.js +0 -9
- package/ModalAction/index.test.js +0 -9
- package/ModalContainer/index.test.js +0 -9
- package/ModalContent/index.test.js +0 -9
- package/ModalHeading/index.test.js +0 -9
- package/Nav/index.test.js +0 -59
- package/NavList/index.test.js +0 -17
- package/NavListItemAction/index.test.js +0 -9
- package/NavListItemActionContainer/index.test.js +0 -9
- package/NavListItemButton/index.test.js +0 -25
- package/NavListItemLink/index.test.js +0 -43
- package/NavMenuContainer/index.test.js +0 -33
- package/NavMenuContent/index.test.js +0 -9
- package/NavMenuContentListBase/index.test.js +0 -9
- package/NavMenuContentListItem/index.test.js +0 -9
- package/NavMenuTitle/index.test.js +0 -9
- package/NormalText/index.test.js +0 -349
- package/NotificationBannerContainer/index.test.js +0 -25
- package/NotificationBannerContent/index.test.js +0 -9
- package/NotificationBannerHeader/index.test.js +0 -9
- package/NotificationBannerHeading/index.test.js +0 -9
- package/NotificationBannerLink/index.test.js +0 -17
- package/PageTitleCaption/index.test.js +0 -41
- package/PageTitleContainer/index.test.js +0 -9
- package/PageTitleHeading/index.test.js +0 -41
- package/Pagination/index.spec.js +0 -17
- package/PaginationLabelContainer/index.spec.js +0 -9
- package/PaginationList/index.spec.js +0 -16
- package/PaginationListItem/index.spec.js +0 -42
- package/Panel/index.test.js +0 -9
- package/PanelBody/index.test.js +0 -9
- package/PanelTitle/index.test.js +0 -9
- package/Paragraph/index.test.js +0 -357
- package/PhaseBanner/index.test.js +0 -17
- package/PhaseBannerHeaderContainer/inde.test.js +0 -9
- package/PhaseBannerTag/index.test.js +0 -9
- package/PhaseBannerText/index.test.js +0 -9
- package/RadioConditional/index.test.js +0 -9
- package/RadioContainer/index.test.js +0 -25
- package/RadioItem/index.test.js +0 -71
- package/ResultsActionBar/indext.test.js +0 -9
- package/ResultsHeading/index.test.js +0 -9
- package/ResultsHeadingActions/index.test.js +0 -9
- package/SearchButton/index.test.js +0 -9
- package/SearchContainer/index.test.js +0 -9
- package/Section/index.test.js +0 -9
- package/SectionBreak/index.test.js +0 -49
- package/SelectContainer/index.test.js +0 -34
- package/SelectOption/index.test.js +0 -17
- package/SingleCharacterInput/index.test.js +0 -53
- package/SingleCharacterInputs/index.test.js +0 -9
- package/SkipLink/index.test.js +0 -9
- package/Stack/index.test.js +0 -248
- package/StepNav/index.test.js +0 -17
- package/StepNavAccordion/index.test.js +0 -9
- package/StepNavAccordionContent/index.test.js +0 -9
- package/StepNavAccordionHeadingText/index.test.js +0 -25
- package/StepNavAccordionHeadingTitle/index.test.js +0 -9
- package/StepNavAccordionSummary/index.test.js +0 -9
- package/StepNavAccordionSummaryHeading/index.test.js +0 -43
- package/StepNavCircleNumber/index.test.js +0 -17
- package/StepNavControls/index.test.js +0 -9
- package/StepNavList/index.test.js +0 -9
- package/StepNavListItem/index.test.js +0 -9
- package/SummaryList/index.test.js +0 -9
- package/SummaryListItem/index.test.js +0 -9
- package/SummaryListItemAction/index.test.js +0 -9
- package/SummaryListItemKey/index.test.js +0 -9
- package/SummaryListItemValue/index.test.js +0 -9
- package/SvgIcon/index.test.js +0 -131
- package/Table/index.test.js +0 -41
- package/TableBody/index.test.js +0 -9
- package/TableCaption/index.test.js +0 -41
- package/TableContainer/index.test.js +0 -17
- package/TableDataCell/index.test.js +0 -17
- package/TableHead/index.test.js +0 -9
- package/TableHeadCell/index.test.js +0 -119
- package/TableLoaderBackground/index.test.js +0 -9
- package/TableNoDataRow/index.test.js +0 -9
- package/TableRow/index.test.js +0 -25
- package/TableSortIconContainer/index.test.js +0 -9
- package/Tabs/index.test.js +0 -17
- package/TabsHeading/index.test.js +0 -25
- package/TabsList/index.test.js +0 -9
- package/TabsListItemBase/index.test.js +0 -43
- package/TabsPanelBase/index.test.js +0 -33
- package/TaskList/index.test.js +0 -17
- package/TaskListItem/index.test.js +0 -9
- package/TaskListItemContent/index.test.js +0 -9
- package/TaskListItemHeading/index.test.js +0 -25
- package/TaskListItemTag/index.test.js +0 -33
- package/TextArea/index.test.js +0 -57
- package/TextInput/index.test.js +0 -383
- package/Timeline/index.test.js +0 -17
- package/TimelineActions/index.test.js +0 -9
- package/TimelineContent/index.test.js +0 -9
- package/TimelineHeading/index.test.js +0 -25
- package/TimelineItem/index.test.js +0 -9
- package/Top/index.test.js +0 -9
- package/Typography/index.test.js +0 -93
- package/VisuallyHidden/index.test.js +0 -9
- package/WarningText/index.test.js +0 -25
- package/cjs/Accordion/index.test.js +0 -15
- package/cjs/AccordionControls/index.test.js +0 -15
- package/cjs/AccordionSection/index.test.js +0 -31
- package/cjs/AccordionSectionContent/index.test.js +0 -15
- package/cjs/AccordionSectionSummary/index.test.js +0 -15
- package/cjs/AccordionSectionSummaryHeading/index.test.js +0 -15
- package/cjs/AdminAside/index.test.js +0 -15
- package/cjs/AdminContainer/index.test.js +0 -15
- package/cjs/AdminHeader/index.test.js +0 -15
- package/cjs/AdminHeaderContent/index.spec.js +0 -15
- package/cjs/AdminLayout/index.test.js +0 -15
- package/cjs/AdminMain/index.test.js +0 -15
- package/cjs/AdminTopSection/index.test.js +0 -15
- package/cjs/Aside/index.test.js +0 -15
- package/cjs/AutoCompleteAssistiveHint/index.test.js +0 -15
- package/cjs/AutoCompleteInput/index.test.js +0 -50
- package/cjs/AutoCompleteInputTypeahead/index.test.js +0 -15
- package/cjs/AutoCompleteResultList/index.test.js +0 -41
- package/cjs/AutoCompleteResultListItem/index.test.js +0 -42
- package/cjs/AutoCompleteStatus/index.test.js +0 -15
- package/cjs/AutoCompleteStatusWrapper/index.test.js +0 -15
- package/cjs/AutoCompleteWrapper/index.test.js +0 -15
- package/cjs/BackLink/index.test.js +0 -23
- package/cjs/BannerContainer/index.test.js +0 -15
- package/cjs/Blockquote/index.test.js +0 -23
- package/cjs/Bottom/index.test.js +0 -15
- package/cjs/BottomInfo/index.test.js +0 -15
- package/cjs/BottomInfoContainer/index.test.js +0 -15
- package/cjs/BottomInfoContent/index.test.js +0 -15
- package/cjs/Breadcrumbs/index.test.js +0 -15
- package/cjs/BreadcrumbsList/index.test.js +0 -15
- package/cjs/BreadcrumbsListItem/index.test.js +0 -23
- package/cjs/Button/index.test.js +0 -106
- package/cjs/ButtonGroup/index.test.js +0 -15
- package/cjs/ButtonLink/index.test.js +0 -96
- package/cjs/CallToAction/index.test.js +0 -15
- package/cjs/Card/index.test.js +0 -101
- package/cjs/CardAction/index.test.js +0 -15
- package/cjs/CardContent/index.test.js +0 -15
- package/cjs/CardHeading/index.test.js +0 -15
- package/cjs/Checkbox/index.test.js +0 -39
- package/cjs/CheckboxConditional/index.test.js +0 -15
- package/cjs/CheckboxItem/index.test.js +0 -68
- package/cjs/Chip/index.test.js +0 -15
- package/cjs/ChipContainer/index.spec.js +0 -15
- package/cjs/ChipHeading/index.test.js +0 -15
- package/cjs/ChipKeyValue/index.test.js +0 -15
- package/cjs/ChoiceDividerText/index.test.js +0 -15
- package/cjs/CircularProgress/index.test.js +0 -57
- package/cjs/CloseButton/index.test.js +0 -23
- package/cjs/Container/index.test.js +0 -32
- package/cjs/CopyToClipboardContainer/index.spec.js +0 -40
- package/cjs/CopyToClipboardMessage/index.test.js +0 -51
- package/cjs/CopyrightContainer/index.test.js +0 -15
- package/cjs/DateInputContainer/index.test.js +0 -23
- package/cjs/DateInputItem/index.test.js +0 -32
- package/cjs/Details/index.test.js +0 -15
- package/cjs/DetailsContent/index.test.js +0 -15
- package/cjs/DetailsSummary/index.test.js +0 -15
- package/cjs/Drawer/index.test.js +0 -28
- package/cjs/DrawerHeading/index.test.js +0 -15
- package/cjs/DropdownBase/index.test.js +0 -110
- package/cjs/DropdownButton/index.test.js +0 -203
- package/cjs/DropdownContent/index.test.js +0 -15
- package/cjs/ErrorMessage/index.test.js +0 -15
- package/cjs/ErrorSummary/index.test.js +0 -23
- package/cjs/FieldContainer/index.test.js +0 -31
- package/cjs/Fieldset/index.test.js +0 -15
- package/cjs/FieldsetLegend/index.test.js +0 -91
- package/cjs/FileUpload/index.test.js +0 -23
- package/cjs/FileUploadContainer/index.test.js +0 -23
- package/cjs/FillableText/index.test.js +0 -15
- package/cjs/FilterContainer/index.test.js +0 -15
- package/cjs/FilterContent/index.test.js +0 -15
- package/cjs/FilterHeadingContainer/index.test.js +0 -15
- package/cjs/FilterOptionsSection/index.spec.js +0 -15
- package/cjs/FilterSelectedHeading/index.spec.js +0 -15
- package/cjs/FilterSelectedSection/index.test.js +0 -15
- package/cjs/Footer/index.test.js +0 -15
- package/cjs/FooterContainer/index.test.js +0 -15
- package/cjs/FooterContent/index.test.js +0 -15
- package/cjs/FooterContentLogos/index.test.js +0 -15
- package/cjs/FooterHeading/index.test.js +0 -31
- package/cjs/FooterImage/index.test.js +0 -15
- package/cjs/FooterInfo/index.test.js +0 -15
- package/cjs/FooterInfoSection/index.test.js +0 -31
- package/cjs/FooterLink/index.test.js +0 -23
- package/cjs/FooterList/index.test.js +0 -23
- package/cjs/FooterListItem/index.test.js +0 -15
- package/cjs/FooterNavigation/index.test.js +0 -15
- package/cjs/FooterNavigationSection/index.test.js +0 -17
- package/cjs/Form/index.test.js +0 -23
- package/cjs/FullPageBackground/index.test.js +0 -15
- package/cjs/GovGRLogo/govgr-logo-base64.js +0 -8
- package/cjs/GovGRLogo/govgr-logo-blue-base64.js +0 -8
- package/cjs/GovGRLogo/index.test.js +0 -15
- package/cjs/Grid/index.test.js +0 -71
- package/cjs/Header/index.test.js +0 -15
- package/cjs/HeaderContent/index.test.js +0 -15
- package/cjs/HeaderLogo/index.test.js +0 -15
- package/cjs/HeaderNavMenuContent/index.test.js +0 -15
- package/cjs/HeaderSecondaryLogo/index.test.js +0 -28
- package/cjs/HeaderSection/index.test.js +0 -15
- package/cjs/HeaderTitle/index.test.js +0 -23
- package/cjs/Heading/index.test.js +0 -172
- package/cjs/HeadingCaption/index.test.js +0 -39
- package/cjs/HellenicRepublicLogo/index.test.js +0 -15
- package/cjs/HellenicRepublicLogo/logo-el.js +0 -8
- package/cjs/HellenicRepublicLogo/logo-en.js +0 -8
- package/cjs/HellenicRepublicLogo/logo-inverted-el.js +0 -8
- package/cjs/HellenicRepublicLogo/logo-inverted-en.js +0 -8
- package/cjs/Hidden/index.test.js +0 -49
- package/cjs/Hint/index.test.js +0 -39
- package/cjs/ImageLogo/index.test.js +0 -26
- package/cjs/ImageLogoSet/index.test.js +0 -29
- package/cjs/LabelContainer/index.test.js +0 -15
- package/cjs/LabelTitle/index.test.js +0 -91
- package/cjs/LabeledText/index.test.js +0 -31
- package/cjs/Layout/index.test.js +0 -15
- package/cjs/LinkBase/index.test.js +0 -31
- package/cjs/List/index.test.js +0 -67
- package/cjs/ListItem/index.test.js +0 -15
- package/cjs/LoaderContainer/index.test.js +0 -15
- package/cjs/Main/index.test.js +0 -15
- package/cjs/Masthead/index.test.js +0 -15
- package/cjs/MastheadBody/index.test.js +0 -15
- package/cjs/MastheadLogo/index.test.js +0 -15
- package/cjs/ModalAction/index.test.js +0 -15
- package/cjs/ModalContainer/index.test.js +0 -15
- package/cjs/ModalContent/index.test.js +0 -15
- package/cjs/ModalHeading/index.test.js +0 -15
- package/cjs/Nav/index.test.js +0 -65
- package/cjs/NavList/index.test.js +0 -23
- package/cjs/NavListItemAction/index.test.js +0 -15
- package/cjs/NavListItemActionContainer/index.test.js +0 -15
- package/cjs/NavListItemButton/index.test.js +0 -31
- package/cjs/NavListItemLink/index.test.js +0 -49
- package/cjs/NavMenuContainer/index.test.js +0 -39
- package/cjs/NavMenuContent/index.test.js +0 -15
- package/cjs/NavMenuContentListBase/index.test.js +0 -15
- package/cjs/NavMenuContentListItem/index.test.js +0 -15
- package/cjs/NavMenuTitle/index.test.js +0 -15
- package/cjs/NormalText/index.test.js +0 -355
- package/cjs/NotificationBannerContainer/index.test.js +0 -31
- package/cjs/NotificationBannerContent/index.test.js +0 -15
- package/cjs/NotificationBannerHeader/index.test.js +0 -15
- package/cjs/NotificationBannerHeading/index.test.js +0 -15
- package/cjs/NotificationBannerLink/index.test.js +0 -23
- package/cjs/PageTitleCaption/index.test.js +0 -47
- package/cjs/PageTitleContainer/index.test.js +0 -15
- package/cjs/PageTitleHeading/index.test.js +0 -47
- package/cjs/Pagination/index.spec.js +0 -23
- package/cjs/PaginationLabelContainer/index.spec.js +0 -15
- package/cjs/PaginationList/index.spec.js +0 -23
- package/cjs/PaginationListItem/index.spec.js +0 -48
- package/cjs/Panel/index.test.js +0 -15
- package/cjs/PanelBody/index.test.js +0 -15
- package/cjs/PanelTitle/index.test.js +0 -15
- package/cjs/Paragraph/index.test.js +0 -363
- package/cjs/PhaseBanner/index.test.js +0 -23
- package/cjs/PhaseBannerHeaderContainer/inde.test.js +0 -15
- package/cjs/PhaseBannerTag/index.test.js +0 -15
- package/cjs/PhaseBannerText/index.test.js +0 -15
- package/cjs/RadioConditional/index.test.js +0 -15
- package/cjs/RadioContainer/index.test.js +0 -31
- package/cjs/RadioItem/index.test.js +0 -77
- package/cjs/ResultsActionBar/indext.test.js +0 -15
- package/cjs/ResultsHeading/index.test.js +0 -15
- package/cjs/ResultsHeadingActions/index.test.js +0 -15
- package/cjs/SearchButton/index.test.js +0 -15
- package/cjs/SearchContainer/index.test.js +0 -15
- package/cjs/Section/index.test.js +0 -15
- package/cjs/SectionBreak/index.test.js +0 -55
- package/cjs/SelectContainer/index.test.js +0 -40
- package/cjs/SelectOption/index.test.js +0 -23
- package/cjs/SingleCharacterInput/index.test.js +0 -59
- package/cjs/SingleCharacterInputs/index.test.js +0 -15
- package/cjs/SkipLink/index.test.js +0 -15
- package/cjs/Stack/index.test.js +0 -254
- package/cjs/StepNav/index.test.js +0 -23
- package/cjs/StepNavAccordion/index.test.js +0 -15
- package/cjs/StepNavAccordionContent/index.test.js +0 -15
- package/cjs/StepNavAccordionHeadingText/index.test.js +0 -31
- package/cjs/StepNavAccordionHeadingTitle/index.test.js +0 -15
- package/cjs/StepNavAccordionSummary/index.test.js +0 -15
- package/cjs/StepNavAccordionSummaryHeading/index.test.js +0 -49
- package/cjs/StepNavCircleNumber/index.test.js +0 -23
- package/cjs/StepNavControls/index.test.js +0 -15
- package/cjs/StepNavList/index.test.js +0 -15
- package/cjs/StepNavListItem/index.test.js +0 -15
- package/cjs/SummaryList/index.test.js +0 -15
- package/cjs/SummaryListItem/index.test.js +0 -15
- package/cjs/SummaryListItemAction/index.test.js +0 -15
- package/cjs/SummaryListItemKey/index.test.js +0 -15
- package/cjs/SummaryListItemValue/index.test.js +0 -15
- package/cjs/SvgIcon/index.test.js +0 -137
- package/cjs/Table/index.test.js +0 -47
- package/cjs/TableBody/index.test.js +0 -15
- package/cjs/TableCaption/index.test.js +0 -47
- package/cjs/TableContainer/index.test.js +0 -23
- package/cjs/TableDataCell/index.test.js +0 -23
- package/cjs/TableHead/index.test.js +0 -15
- package/cjs/TableHeadCell/index.test.js +0 -125
- package/cjs/TableLoaderBackground/index.test.js +0 -15
- package/cjs/TableNoDataRow/index.test.js +0 -15
- package/cjs/TableRow/index.test.js +0 -31
- package/cjs/TableSortIconContainer/index.test.js +0 -15
- package/cjs/Tabs/index.test.js +0 -23
- package/cjs/TabsHeading/index.test.js +0 -31
- package/cjs/TabsList/index.test.js +0 -15
- package/cjs/TabsListItemBase/index.test.js +0 -49
- package/cjs/TabsPanelBase/index.test.js +0 -39
- package/cjs/TaskList/index.test.js +0 -23
- package/cjs/TaskListItem/index.test.js +0 -15
- package/cjs/TaskListItemContent/index.test.js +0 -15
- package/cjs/TaskListItemHeading/index.test.js +0 -31
- package/cjs/TaskListItemTag/index.test.js +0 -39
- package/cjs/TextArea/index.test.js +0 -63
- package/cjs/TextInput/index.test.js +0 -389
- package/cjs/Timeline/index.test.js +0 -23
- package/cjs/TimelineActions/index.test.js +0 -15
- package/cjs/TimelineContent/index.test.js +0 -15
- package/cjs/TimelineHeading/index.test.js +0 -31
- package/cjs/TimelineItem/index.test.js +0 -15
- package/cjs/Top/index.test.js +0 -15
- package/cjs/Typography/index.test.js +0 -99
- package/cjs/VisuallyHidden/index.test.js +0 -15
- package/cjs/WarningText/index.test.js +0 -31
- package/cjs/registry.js +0 -754
- package/registry.js +0 -500
- /package/GovGRLogo/{govgr-logo-base64.js → govgr-logo-base64/index.js} +0 -0
- /package/GovGRLogo/{govgr-logo-blue-base64.js → govgr-logo-blue-base64/index.js} +0 -0
- /package/HellenicRepublicLogo/{logo-el.js → logo-el/index.js} +0 -0
- /package/HellenicRepublicLogo/{logo-en.js → logo-en/index.js} +0 -0
- /package/HellenicRepublicLogo/{logo-inverted-el.js → logo-inverted-el/index.js} +0 -0
- /package/HellenicRepublicLogo/{logo-inverted-en.js → logo-inverted-en/index.js} +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { mount } from 'enzyme';
|
|
3
|
+
import Hidden from '@digigov/react-core/Hidden';
|
|
4
|
+
var _ref = /*#__PURE__*/React.createElement(Hidden, {
|
|
5
|
+
lgUp: true
|
|
6
|
+
}, /*#__PURE__*/React.createElement("div", null, "hello"));
|
|
7
|
+
it('renders the Hidden with `lgUp` props', function () {
|
|
8
|
+
expect(mount(_ref)).toMatchSnapshot();
|
|
9
|
+
});
|
|
10
|
+
var _ref2 = /*#__PURE__*/React.createElement(Hidden, {
|
|
11
|
+
mdUp: true
|
|
12
|
+
}, /*#__PURE__*/React.createElement("div", null, "hello"));
|
|
13
|
+
it('renders the Hidden with `mdUp` props', function () {
|
|
14
|
+
expect(mount(_ref2)).toMatchSnapshot();
|
|
15
|
+
});
|
|
16
|
+
var _ref3 = /*#__PURE__*/React.createElement(Hidden, {
|
|
17
|
+
smUp: true
|
|
18
|
+
}, /*#__PURE__*/React.createElement("div", null, "hello"));
|
|
19
|
+
it('renders the Hidden with `smUp` props', function () {
|
|
20
|
+
expect(mount(_ref3)).toMatchSnapshot();
|
|
21
|
+
});
|
|
22
|
+
var _ref4 = /*#__PURE__*/React.createElement(Hidden, {
|
|
23
|
+
xlUp: true
|
|
24
|
+
}, /*#__PURE__*/React.createElement("div", null, "hello"));
|
|
25
|
+
it('renders the Hidden with `xlUp` props', function () {
|
|
26
|
+
expect(mount(_ref4)).toMatchSnapshot();
|
|
27
|
+
});
|
|
28
|
+
var _ref5 = /*#__PURE__*/React.createElement(Hidden, {
|
|
29
|
+
xsUp: true
|
|
30
|
+
}, /*#__PURE__*/React.createElement("div", null, "hello"));
|
|
31
|
+
it('renders the Hidden with `xsUp` props', function () {
|
|
32
|
+
expect(mount(_ref5)).toMatchSnapshot();
|
|
33
|
+
});
|
package/Hint/index.js
CHANGED
|
@@ -3,18 +3,16 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["fontSize", "className", "children", "breakWords"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import Typography from
|
|
7
|
-
|
|
6
|
+
import Typography from '@digigov/react-core/Typography';
|
|
8
7
|
/**
|
|
9
8
|
* Hint component can be used in form pages and it gives an extra hint description to the form.
|
|
10
9
|
*/
|
|
11
10
|
export var Hint = /*#__PURE__*/React.forwardRef(function Hint(_ref, ref) {
|
|
12
11
|
var fontSize = _ref.fontSize,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
className = _ref.className,
|
|
13
|
+
children = _ref.children,
|
|
14
|
+
breakWords = _ref.breakWords,
|
|
15
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
18
16
|
return /*#__PURE__*/React.createElement(Typography, _extends({
|
|
19
17
|
as: "p",
|
|
20
18
|
fontSize: fontSize,
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { mount } from 'enzyme';
|
|
3
|
+
import Hint from '@digigov/react-core/Hint';
|
|
4
|
+
var _ref = /*#__PURE__*/React.createElement(Hint, null, "hello");
|
|
5
|
+
it('renders the Hint with no props', function () {
|
|
6
|
+
expect(mount(_ref)).toMatchSnapshot();
|
|
7
|
+
});
|
|
8
|
+
var _ref2 = /*#__PURE__*/React.createElement(Hint, {
|
|
9
|
+
fontSize: 14
|
|
10
|
+
}, "hello");
|
|
11
|
+
it('renders the Hint with fontSize=14', function () {
|
|
12
|
+
expect(mount(_ref2)).toMatchSnapshot();
|
|
13
|
+
});
|
|
14
|
+
var _ref3 = /*#__PURE__*/React.createElement(Hint, {
|
|
15
|
+
fontSize: 16
|
|
16
|
+
}, "hello");
|
|
17
|
+
it('renders the Hint with fontSize=16', function () {
|
|
18
|
+
expect(mount(_ref3)).toMatchSnapshot();
|
|
19
|
+
});
|
|
20
|
+
var _ref4 = /*#__PURE__*/React.createElement(Hint, {
|
|
21
|
+
fontSize: 24
|
|
22
|
+
}, "hello");
|
|
23
|
+
it('renders the Hint with fontSize=24', function () {
|
|
24
|
+
expect(mount(_ref4)).toMatchSnapshot();
|
|
25
|
+
});
|
package/ImageLogo/index.js
CHANGED
|
@@ -3,20 +3,18 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["lang", "src", "variant", "className", "children"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import Base from
|
|
7
|
-
|
|
6
|
+
import Base from '@digigov/react-core/Base';
|
|
8
7
|
/**
|
|
9
8
|
* ImageLogo is used as a generic component for digigov images.
|
|
10
9
|
* This component can't have children.
|
|
11
10
|
*/
|
|
12
11
|
export var ImageLogo = /*#__PURE__*/React.forwardRef(function ImageLogo(_ref, ref) {
|
|
13
12
|
var lang = _ref.lang,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
src = _ref.src,
|
|
14
|
+
variant = _ref.variant,
|
|
15
|
+
className = _ref.className,
|
|
16
|
+
children = _ref.children,
|
|
17
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
20
18
|
console.log('src is', src);
|
|
21
19
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Base, _extends({
|
|
22
20
|
as: "img",
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { mount } from 'enzyme';
|
|
3
|
+
import ImageLogo from '@digigov/react-core/ImageLogo';
|
|
4
|
+
var _ref = /*#__PURE__*/React.createElement(ImageLogo, {
|
|
5
|
+
src: "logo.png"
|
|
6
|
+
});
|
|
7
|
+
it('renders the Hint with src prop', function () {
|
|
8
|
+
expect(mount(_ref)).toMatchSnapshot();
|
|
9
|
+
});
|
|
10
|
+
var _ref2 = /*#__PURE__*/React.createElement(ImageLogo, {
|
|
11
|
+
variant: "dark",
|
|
12
|
+
src: "logo.png"
|
|
13
|
+
});
|
|
14
|
+
it('renders the Hint with variant and src props', function () {
|
|
15
|
+
expect(mount(_ref2)).toMatchSnapshot();
|
|
16
|
+
});
|
package/ImageLogoSet/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export interface ImageLogoSet extends BaseProps<'img'> {
|
|
|
10
10
|
* variant is optional.
|
|
11
11
|
* variant is used to display images depending the theme (dark, light).
|
|
12
12
|
*/
|
|
13
|
-
variants?: Array<
|
|
13
|
+
variants?: Array<'dark' | 'light'>;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* ImageLogoSet is used as image inverter depending the theme (dark, light).
|
package/ImageLogoSet/index.js
CHANGED
|
@@ -2,21 +2,19 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["lang", "src", "variants", "className", "children"];
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import ImageLogo from
|
|
6
|
-
|
|
5
|
+
import ImageLogo from '@digigov/react-core/ImageLogo';
|
|
7
6
|
/**
|
|
8
7
|
* ImageLogoSet is used as image inverter depending the theme (dark, light).
|
|
9
8
|
* This component can't have children.
|
|
10
9
|
*/
|
|
11
10
|
export var ImageLogoSet = /*#__PURE__*/React.forwardRef(function ImageLogoSet(_ref, ref) {
|
|
12
11
|
var lang = _ref.lang,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
12
|
+
src = _ref.src,
|
|
13
|
+
_ref$variants = _ref.variants,
|
|
14
|
+
variants = _ref$variants === void 0 ? ['dark', 'light'] : _ref$variants,
|
|
15
|
+
className = _ref.className,
|
|
16
|
+
children = _ref.children,
|
|
17
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
20
18
|
return /*#__PURE__*/React.createElement(React.Fragment, null, variants.map(function (variant) {
|
|
21
19
|
var imageSrc = src === null || src === void 0 ? void 0 : src.replace(/(\.[^\.]+)$/, "--".concat(variant, "$1"));
|
|
22
20
|
return /*#__PURE__*/React.createElement(ImageLogo, _extends({
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { mount } from 'enzyme';
|
|
3
|
+
import ImageLogoSet from '@digigov/react-core/ImageLogoSet';
|
|
4
|
+
var _ref = /*#__PURE__*/React.createElement(ImageLogoSet, {
|
|
5
|
+
src: "logo.png"
|
|
6
|
+
});
|
|
7
|
+
it('renders the Hint with src prop', function () {
|
|
8
|
+
expect(mount(_ref)).toMatchSnapshot();
|
|
9
|
+
});
|
|
10
|
+
it('renders the Hint with variants=[light] and src props', function () {
|
|
11
|
+
expect(mount( /*#__PURE__*/React.createElement(ImageLogoSet, {
|
|
12
|
+
variants: ['light'],
|
|
13
|
+
src: "logo.png"
|
|
14
|
+
}))).toMatchSnapshot();
|
|
15
|
+
});
|
|
16
|
+
it('renders the Hint with variants=[light, dark] and src props', function () {
|
|
17
|
+
expect(mount( /*#__PURE__*/React.createElement(ImageLogoSet, {
|
|
18
|
+
variants: ['light', 'dark'],
|
|
19
|
+
src: "logo.png"
|
|
20
|
+
}))).toMatchSnapshot();
|
|
21
|
+
});
|
|
@@ -3,12 +3,11 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["className", "children"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import { Base } from
|
|
6
|
+
import { Base } from '@digigov/react-core/Base';
|
|
7
7
|
export var KitchenSinkAllComponents = /*#__PURE__*/React.forwardRef(function KitchenSinkAllComponents(_ref, ref) {
|
|
8
8
|
var className = _ref.className,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
children = _ref.children,
|
|
10
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
12
11
|
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
13
12
|
as: "div",
|
|
14
13
|
ref: ref,
|
package/KitchenSinkCard/index.js
CHANGED
|
@@ -3,12 +3,11 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["className", "children"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import Card from
|
|
6
|
+
import Card from '@digigov/react-core/Card';
|
|
7
7
|
export var KitchenSinkCard = /*#__PURE__*/React.forwardRef(function KitchenSinkCard(_ref, ref) {
|
|
8
8
|
var className = _ref.className,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
children = _ref.children,
|
|
10
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
12
11
|
return /*#__PURE__*/React.createElement(Card, _extends({
|
|
13
12
|
variant: "border",
|
|
14
13
|
borderColor: "light",
|
|
@@ -3,12 +3,11 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["className", "children"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import { Base } from
|
|
6
|
+
import { Base } from '@digigov/react-core/Base';
|
|
7
7
|
export var KitchenSinkCategory = /*#__PURE__*/React.forwardRef(function KitchenSinkCategory(_ref, ref) {
|
|
8
8
|
var className = _ref.className,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
children = _ref.children,
|
|
10
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
12
11
|
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
13
12
|
as: "div",
|
|
14
13
|
ref: ref,
|
|
@@ -2,13 +2,13 @@ import React from 'react';
|
|
|
2
2
|
import { BaseProps } from '@digigov/react-core/Base';
|
|
3
3
|
export interface KitchenSinkContentProps extends BaseProps<'div'> {
|
|
4
4
|
/**
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
* The content of the component.
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* * @value true
|
|
9
|
+
* @value false
|
|
10
|
+
* @default false
|
|
11
|
+
*/
|
|
12
12
|
wide?: boolean;
|
|
13
13
|
}
|
|
14
14
|
export declare const KitchenSinkContent: React.ForwardRefExoticComponent<Pick<KitchenSinkContentProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden" | "printVisible" | "xsUpHidden" | "smUpHidden" | "mdUpHidden" | "lgUpHidden" | "xlUpHidden" | "xsHidden" | "smHidden" | "mdHidden" | "lgHidden" | "xlHidden" | "wide"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -3,14 +3,13 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["wide", "className", "children"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import { Base } from
|
|
6
|
+
import { Base } from '@digigov/react-core/Base';
|
|
7
7
|
export var KitchenSinkContent = /*#__PURE__*/React.forwardRef(function KitchenSinkContent(_ref, ref) {
|
|
8
8
|
var _ref$wide = _ref.wide,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
wide = _ref$wide === void 0 ? false : _ref$wide,
|
|
10
|
+
className = _ref.className,
|
|
11
|
+
children = _ref.children,
|
|
12
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
14
13
|
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
15
14
|
as: "div",
|
|
16
15
|
ref: ref,
|
|
@@ -3,12 +3,11 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["className", "children"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import { Base } from
|
|
6
|
+
import { Base } from '@digigov/react-core/Base';
|
|
7
7
|
export var KitchenSinkContentInfo = /*#__PURE__*/React.forwardRef(function KitchenSinkContentInfo(_ref, ref) {
|
|
8
8
|
var className = _ref.className,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
children = _ref.children,
|
|
10
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
12
11
|
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
13
12
|
as: "div",
|
|
14
13
|
ref: ref,
|
|
@@ -3,12 +3,11 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["className", "children"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import { Base } from
|
|
6
|
+
import { Base } from '@digigov/react-core/Base';
|
|
7
7
|
export var KitchenSinkContentTags = /*#__PURE__*/React.forwardRef(function KitchenSinkContentTags(_ref, ref) {
|
|
8
8
|
var className = _ref.className,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
children = _ref.children,
|
|
10
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
12
11
|
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
13
12
|
as: "div",
|
|
14
13
|
ref: ref,
|
|
@@ -3,12 +3,11 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["className", "children"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import Heading from
|
|
6
|
+
import Heading from '@digigov/react-core/Heading';
|
|
7
7
|
export var KitchenSinkHeading = /*#__PURE__*/React.forwardRef(function KitchenSinkHeading(_ref, ref) {
|
|
8
8
|
var className = _ref.className,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
children = _ref.children,
|
|
10
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
12
11
|
return /*#__PURE__*/React.createElement(Heading, _extends({
|
|
13
12
|
className: clsx(className, true && 'govgr-kitchensink-category__heading'),
|
|
14
13
|
ref: ref
|
|
@@ -3,12 +3,11 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["className", "children"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import { Base } from
|
|
6
|
+
import { Base } from '@digigov/react-core/Base';
|
|
7
7
|
export var KitchenSinkLetterContent = /*#__PURE__*/React.forwardRef(function KitchenSinkLetterContent(_ref, ref) {
|
|
8
8
|
var className = _ref.className,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
children = _ref.children,
|
|
10
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
12
11
|
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
13
12
|
as: "div",
|
|
14
13
|
ref: ref,
|
package/LabelContainer/index.js
CHANGED
|
@@ -3,16 +3,14 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["className", "children"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import Base from
|
|
7
|
-
|
|
6
|
+
import Base from '@digigov/react-core/Base';
|
|
8
7
|
/**
|
|
9
8
|
* Label component defines a label for several elements at forms.
|
|
10
9
|
*/
|
|
11
10
|
export var LabelContainer = /*#__PURE__*/React.forwardRef(function LabelContainer(_ref, ref) {
|
|
12
11
|
var className = _ref.className,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
children = _ref.children,
|
|
13
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
16
14
|
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
17
15
|
as: "label",
|
|
18
16
|
ref: ref,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { mount } from 'enzyme';
|
|
3
|
+
import LabelContainer from '@digigov/react-core/LabelContainer';
|
|
4
|
+
var _ref = /*#__PURE__*/React.createElement(LabelContainer, null, "hello");
|
|
5
|
+
it('renders the Label with no props', function () {
|
|
6
|
+
expect(mount(_ref)).toMatchSnapshot();
|
|
7
|
+
});
|
package/LabelTitle/index.d.ts
CHANGED
|
@@ -2,21 +2,21 @@ import React from 'react';
|
|
|
2
2
|
import { BaseProps } from '@digigov/react-core/Base';
|
|
3
3
|
export interface LabelFieldProps extends BaseProps<'span'> {
|
|
4
4
|
/**
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
* size is optional. The default value is 'lg'
|
|
6
|
+
* @value 'xl'
|
|
7
|
+
* @value 'lg'
|
|
8
|
+
* @value 'md'
|
|
9
|
+
* @value 'sm'
|
|
10
|
+
*/
|
|
11
11
|
size?: 'xl' | 'lg' | 'md' | 'sm';
|
|
12
12
|
/**
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
* heading is optional.
|
|
14
|
+
* Add this prop if this Field component is the only one in this page.
|
|
15
|
+
* The default value is false.
|
|
16
|
+
* @value true
|
|
17
|
+
* @value false
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
20
|
heading?: boolean;
|
|
21
21
|
}
|
|
22
22
|
/**
|
package/LabelTitle/index.js
CHANGED
|
@@ -3,19 +3,17 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["size", "className", "heading", "children"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import Base from
|
|
7
|
-
|
|
6
|
+
import Base from '@digigov/react-core/Base';
|
|
8
7
|
/**
|
|
9
8
|
* Label component defines a label for several elements at forms.
|
|
10
9
|
*/
|
|
11
10
|
export var LabelTitle = /*#__PURE__*/React.forwardRef(function LabelTitle(_ref, ref) {
|
|
12
11
|
var size = _ref.size,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
className = _ref.className,
|
|
13
|
+
_ref$heading = _ref.heading,
|
|
14
|
+
heading = _ref$heading === void 0 ? false : _ref$heading,
|
|
15
|
+
children = _ref.children,
|
|
16
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
19
17
|
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
20
18
|
as: "span",
|
|
21
19
|
ref: ref,
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { mount } from 'enzyme';
|
|
3
|
+
import LabelTitle from '@digigov/react-core/LabelTitle';
|
|
4
|
+
var _ref = /*#__PURE__*/React.createElement(LabelTitle, null, "hello");
|
|
5
|
+
it('renders the LabelTitle with no props', function () {
|
|
6
|
+
expect(mount(_ref)).toMatchSnapshot();
|
|
7
|
+
});
|
|
8
|
+
var _ref2 = /*#__PURE__*/React.createElement(LabelTitle, {
|
|
9
|
+
heading: true
|
|
10
|
+
}, "hello");
|
|
11
|
+
it('renders the Label with heading prop', function () {
|
|
12
|
+
expect(mount(_ref2)).toMatchSnapshot();
|
|
13
|
+
});
|
|
14
|
+
var _ref3 = /*#__PURE__*/React.createElement(LabelTitle, {
|
|
15
|
+
size: "sm"
|
|
16
|
+
}, "hello");
|
|
17
|
+
it('renders the Label with size s prop', function () {
|
|
18
|
+
expect(mount(_ref3)).toMatchSnapshot();
|
|
19
|
+
});
|
|
20
|
+
var _ref4 = /*#__PURE__*/React.createElement(LabelTitle, {
|
|
21
|
+
size: "md"
|
|
22
|
+
}, "hello");
|
|
23
|
+
it('renders the Label with size m prop', function () {
|
|
24
|
+
expect(mount(_ref4)).toMatchSnapshot();
|
|
25
|
+
});
|
|
26
|
+
var _ref5 = /*#__PURE__*/React.createElement(LabelTitle, {
|
|
27
|
+
size: "lg"
|
|
28
|
+
}, "hello");
|
|
29
|
+
it('renders the Label with size l prop', function () {
|
|
30
|
+
expect(mount(_ref5)).toMatchSnapshot();
|
|
31
|
+
});
|
|
32
|
+
var _ref6 = /*#__PURE__*/React.createElement(LabelTitle, {
|
|
33
|
+
size: "xl"
|
|
34
|
+
}, "hello");
|
|
35
|
+
it('renders the Label with size xl prop', function () {
|
|
36
|
+
expect(mount(_ref6)).toMatchSnapshot();
|
|
37
|
+
});
|
|
38
|
+
var _ref7 = /*#__PURE__*/React.createElement(LabelTitle, {
|
|
39
|
+
heading: true,
|
|
40
|
+
size: "sm"
|
|
41
|
+
}, "hello");
|
|
42
|
+
it('renders the Label with heading and size s props', function () {
|
|
43
|
+
expect(mount(_ref7)).toMatchSnapshot();
|
|
44
|
+
});
|
|
45
|
+
var _ref8 = /*#__PURE__*/React.createElement(LabelTitle, {
|
|
46
|
+
heading: true,
|
|
47
|
+
size: "md"
|
|
48
|
+
}, "hello");
|
|
49
|
+
it('renders the Label with heading and size m props', function () {
|
|
50
|
+
expect(mount(_ref8)).toMatchSnapshot();
|
|
51
|
+
});
|
|
52
|
+
var _ref9 = /*#__PURE__*/React.createElement(LabelTitle, {
|
|
53
|
+
heading: true,
|
|
54
|
+
size: "lg"
|
|
55
|
+
}, "hello");
|
|
56
|
+
it('renders the Label with heading and size l props', function () {
|
|
57
|
+
expect(mount(_ref9)).toMatchSnapshot();
|
|
58
|
+
});
|
|
59
|
+
var _ref10 = /*#__PURE__*/React.createElement(LabelTitle, {
|
|
60
|
+
heading: true,
|
|
61
|
+
size: "xl"
|
|
62
|
+
}, "hello");
|
|
63
|
+
it('renders the Label with heading and size xl props', function () {
|
|
64
|
+
expect(mount(_ref10)).toMatchSnapshot();
|
|
65
|
+
});
|
package/LabeledText/index.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import React from 'react';
|
|
|
2
2
|
import { BaseProps } from '@digigov/react-core/Base';
|
|
3
3
|
export interface LabeledTextProps extends BaseProps<'span'> {
|
|
4
4
|
/**
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
10
|
active?: boolean;
|
|
11
11
|
}
|
|
12
12
|
/**
|
package/LabeledText/index.js
CHANGED
|
@@ -3,8 +3,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["className", "children", "active"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import Base from
|
|
7
|
-
|
|
6
|
+
import Base from '@digigov/react-core/Base';
|
|
8
7
|
/**
|
|
9
8
|
* LabeledText can be used to add style to some text.
|
|
10
9
|
* More specifically it adds background color and changes the font weight to bold.
|
|
@@ -12,10 +11,9 @@ import Base from "../Base";
|
|
|
12
11
|
*/
|
|
13
12
|
export var LabeledText = /*#__PURE__*/React.forwardRef(function LabeledText(_ref, ref) {
|
|
14
13
|
var className = _ref.className,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
children = _ref.children,
|
|
15
|
+
active = _ref.active,
|
|
16
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
19
17
|
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
20
18
|
as: "span",
|
|
21
19
|
ref: ref,
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { mount } from 'enzyme';
|
|
3
|
+
import LabeledText from '@digigov/react-core/LabeledText';
|
|
4
|
+
var _ref = /*#__PURE__*/React.createElement(LabeledText, null, "hello");
|
|
5
|
+
it('renders the LabeledText with no props', function () {
|
|
6
|
+
expect(mount(_ref)).toMatchSnapshot();
|
|
7
|
+
});
|
|
8
|
+
var _ref2 = /*#__PURE__*/React.createElement(LabeledText, {
|
|
9
|
+
active: true
|
|
10
|
+
}, "hello");
|
|
11
|
+
it('renders the LabeledText with active true', function () {
|
|
12
|
+
expect(mount(_ref2)).toMatchSnapshot();
|
|
13
|
+
});
|
|
14
|
+
var _ref3 = /*#__PURE__*/React.createElement(LabeledText, {
|
|
15
|
+
active: false
|
|
16
|
+
}, "hello");
|
|
17
|
+
it('renders the LabeledText with active false', function () {
|
|
18
|
+
expect(mount(_ref3)).toMatchSnapshot();
|
|
19
|
+
});
|