@digigov/react-core 0.15.4 → 0.16.1
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.d.ts +3 -3
- package/Accordion/index.js +4 -1
- package/AccordionControls/index.d.ts +3 -3
- package/AccordionControls/index.js +4 -1
- package/AccordionSection/index.d.ts +3 -3
- package/AccordionSection/index.js +5 -2
- package/AccordionSectionContent/index.d.ts +3 -3
- package/AccordionSectionContent/index.js +4 -1
- package/AccordionSectionHeader/index.d.ts +3 -3
- package/AccordionSectionHeader/index.js +4 -1
- package/AccordionSectionSummary/index.d.ts +3 -3
- package/AccordionSectionSummary/index.js +4 -1
- package/AccordionSectionSummaryHeading/index.d.ts +3 -3
- package/AccordionSectionSummaryHeading/index.js +4 -1
- package/Aside/index.d.ts +3 -3
- package/Aside/index.js +4 -1
- package/BackLink/index.d.ts +3 -3
- package/BackLink/index.js +4 -1
- package/Base/index.d.ts +43 -0
- package/Base/index.js +65 -0
- package/Blockquote/index.d.ts +3 -3
- package/Blockquote/index.js +4 -1
- package/Bottom/index.d.ts +3 -3
- package/Bottom/index.js +4 -1
- package/Breadcrumbs/index.d.ts +3 -3
- package/Breadcrumbs/index.js +4 -1
- package/BreadcrumbsList/index.d.ts +3 -3
- package/BreadcrumbsList/index.js +4 -1
- package/BreadcrumbsListItem/index.d.ts +3 -3
- package/BreadcrumbsListItem/index.js +4 -1
- package/Button/index.d.ts +3 -3
- package/Button/index.js +4 -1
- package/ButtonGroup/index.d.ts +3 -3
- package/ButtonGroup/index.js +4 -1
- package/ButtonLink/index.d.ts +3 -3
- package/ButtonLink/index.js +4 -1
- package/CHANGELOG.md +26 -1
- package/CallToAction/index.d.ts +1 -1
- package/Card/index.d.ts +3 -3
- package/Card/index.js +5 -3
- package/CardAction/index.d.ts +3 -3
- package/CardAction/index.js +4 -1
- package/CardHeading/index.d.ts +3 -3
- package/CardHeading/index.js +4 -1
- package/CardText/index.d.ts +3 -3
- package/CardText/index.js +4 -1
- package/Checkbox/index.d.ts +3 -3
- package/Checkbox/index.js +4 -1
- package/CheckboxConditional/index.d.ts +3 -7
- package/CheckboxConditional/index.js +6 -4
- package/CheckboxConditional/index.test.js +0 -8
- package/CheckboxItem/index.d.ts +3 -3
- package/CheckboxItem/index.js +4 -1
- package/Confirmation/index.d.ts +3 -3
- package/Confirmation/index.js +4 -1
- package/ConfirmationBody/index.d.ts +3 -3
- package/ConfirmationBody/index.js +4 -1
- package/ConfirmationTitle/index.d.ts +3 -3
- package/ConfirmationTitle/index.js +4 -1
- package/Container/index.d.ts +3 -3
- package/Container/index.js +6 -2
- package/Copyright/index.d.ts +3 -3
- package/Copyright/index.js +4 -1
- package/DateInput/index.d.ts +3 -3
- package/DateInput/index.js +4 -1
- package/DateInputItem/index.d.ts +3 -3
- package/DateInputItem/index.js +4 -1
- package/Details/index.d.ts +3 -3
- package/Details/index.js +4 -1
- package/DetailsContent/index.d.ts +3 -3
- package/DetailsContent/index.js +4 -1
- package/DetailsSummary/index.d.ts +3 -3
- package/DetailsSummary/index.js +4 -1
- package/ErrorMessage/index.d.ts +3 -3
- package/ErrorMessage/index.js +4 -1
- package/ErrorSummary/index.d.ts +3 -3
- package/ErrorSummary/index.js +4 -1
- package/Field/index.d.ts +1 -1
- package/Fieldset/index.d.ts +3 -3
- package/Fieldset/index.js +4 -1
- package/FieldsetLegend/index.d.ts +3 -3
- package/FieldsetLegend/index.js +6 -3
- package/FileUpload/index.d.ts +3 -3
- package/FileUpload/index.js +4 -1
- package/Footer/index.d.ts +3 -3
- package/Footer/index.js +4 -1
- package/FooterContainer/index.d.ts +3 -3
- package/FooterContainer/index.js +4 -1
- package/FooterContent/index.d.ts +3 -3
- package/FooterContent/index.js +4 -1
- package/FooterContentLogos/index.d.ts +3 -3
- package/FooterContentLogos/index.js +4 -1
- package/FooterHeading/index.d.ts +3 -3
- package/FooterHeading/index.js +4 -1
- package/FooterImage/index.d.ts +3 -3
- package/FooterImage/index.js +4 -1
- package/FooterInlineList/index.d.ts +3 -3
- package/FooterInlineList/index.js +4 -1
- package/FooterInlineListItem/index.d.ts +3 -3
- package/FooterInlineListItem/index.js +4 -1
- package/FooterLink/index.d.ts +3 -3
- package/FooterLink/index.js +4 -1
- package/FooterList/index.d.ts +3 -3
- package/FooterList/index.js +4 -1
- package/FooterListItem/index.d.ts +3 -3
- package/FooterListItem/index.js +4 -1
- package/FooterMeta/index.d.ts +3 -3
- package/FooterMeta/index.js +4 -1
- package/FooterMetaItem/index.d.ts +3 -3
- package/FooterMetaItem/index.js +4 -1
- package/FooterNavigation/index.d.ts +3 -3
- package/FooterNavigation/index.js +4 -1
- package/FooterSection/index.d.ts +3 -3
- package/FooterSection/index.js +4 -1
- package/Form/index.d.ts +3 -3
- package/Form/index.js +4 -1
- package/GovGRFooter/index.d.ts +3 -3
- package/GovGRFooter/index.js +4 -1
- package/GovGRLogo/govgr-logo-base64.d.ts +2 -0
- package/GovGRLogo/govgr-logo-base64.js +8 -0
- package/GovGRLogo/index.d.ts +3 -3
- package/GovGRLogo/index.js +7 -2
- package/Grid/index.d.ts +3 -3
- package/Grid/index.js +4 -1
- package/Header/index.d.ts +3 -3
- package/Header/index.js +4 -1
- package/HeaderContent/index.d.ts +3 -3
- package/HeaderContent/index.js +4 -1
- package/HeaderLogo/index.d.ts +3 -3
- package/HeaderLogo/index.js +4 -1
- package/HeaderSecondaryLogo/index.d.ts +3 -3
- package/HeaderSecondaryLogo/index.js +4 -1
- package/HeaderSection/index.d.ts +3 -3
- package/HeaderSection/index.js +4 -1
- package/HeaderSubtitle/index.d.ts +3 -3
- package/HeaderSubtitle/index.js +4 -1
- package/HeaderTitle/index.d.ts +3 -3
- package/HeaderTitle/index.js +4 -1
- package/Heading/index.d.ts +3 -3
- package/Heading/index.js +4 -1
- package/HeadingCaption/index.d.ts +3 -3
- package/HeadingCaption/index.js +4 -1
- package/HellenicRepublicLogo/index.d.ts +3 -3
- package/HellenicRepublicLogo/index.js +4 -1
- package/Hidden/index.d.ts +3 -3
- package/Hidden/index.js +4 -1
- package/Hint/index.d.ts +3 -3
- package/Hint/index.js +4 -1
- package/Label/index.d.ts +3 -3
- package/Label/index.js +4 -1
- package/LabelTitle/index.d.ts +7 -7
- package/LabelTitle/index.js +6 -3
- package/Layout/index.d.ts +3 -3
- package/Layout/index.js +4 -1
- package/Link/index.d.ts +3 -3
- package/Link/index.js +4 -1
- package/List/index.d.ts +3 -3
- package/List/index.js +4 -1
- package/ListItem/index.d.ts +3 -3
- package/ListItem/index.js +4 -1
- package/Main/index.d.ts +3 -3
- package/Main/index.js +4 -1
- package/Masthead/index.d.ts +3 -3
- package/Masthead/index.js +4 -1
- package/MastheadBody/index.d.ts +3 -3
- package/MastheadBody/index.js +4 -1
- package/NavHorizontal/index.d.ts +3 -3
- package/NavHorizontal/index.js +4 -1
- package/NavHorizontalList/index.d.ts +3 -3
- package/NavHorizontalList/index.js +4 -1
- package/NavHorizontalListItem/index.d.ts +3 -3
- package/NavHorizontalListItem/index.js +4 -1
- package/NavVertical/index.d.ts +3 -3
- package/NavVertical/index.js +4 -1
- package/NavVerticalItem/index.d.ts +3 -3
- package/NavVerticalItem/index.js +4 -1
- package/NormalText/index.d.ts +3 -3
- package/NormalText/index.js +4 -1
- package/NotificationBanner/index.d.ts +3 -3
- package/NotificationBanner/index.js +4 -1
- package/NotificationBannerContent/index.d.ts +3 -3
- package/NotificationBannerContent/index.js +4 -1
- package/NotificationBannerHeader/index.d.ts +3 -3
- package/NotificationBannerHeader/index.js +4 -1
- package/NotificationBannerHeading/index.d.ts +3 -3
- package/NotificationBannerHeading/index.js +4 -1
- package/NotificationBannerLink/index.d.ts +3 -3
- package/NotificationBannerLink/index.js +4 -1
- package/PageTitle/index.d.ts +3 -3
- package/PageTitle/index.js +4 -1
- package/PageTitleCaption/index.d.ts +3 -3
- package/PageTitleCaption/index.js +4 -1
- package/PageTitleHeading/index.d.ts +3 -3
- package/PageTitleHeading/index.js +4 -1
- package/PageTitleSection/index.d.ts +3 -3
- package/PageTitleSection/index.js +4 -1
- package/Paragraph/index.d.ts +3 -3
- package/Paragraph/index.js +4 -1
- package/PhaseBanner/index.d.ts +3 -3
- package/PhaseBanner/index.js +4 -1
- package/PhaseBannerHeaderContainer/index.d.ts +3 -3
- package/PhaseBannerHeaderContainer/index.js +4 -1
- package/PhaseBannerTag/index.d.ts +3 -3
- package/PhaseBannerTag/index.js +4 -1
- package/PhaseBannerText/index.d.ts +3 -3
- package/PhaseBannerText/index.js +4 -1
- package/Radio/index.d.ts +3 -3
- package/Radio/index.js +4 -1
- package/RadioConditional/index.d.ts +3 -7
- package/RadioConditional/index.js +6 -4
- package/RadioConditional/index.test.js +0 -8
- package/RadioItem/index.d.ts +3 -3
- package/RadioItem/index.js +4 -1
- package/SectionBreak/index.d.ts +3 -3
- package/SectionBreak/index.js +4 -1
- package/Select/index.d.ts +3 -3
- package/Select/index.js +4 -1
- package/SelectOption/index.d.ts +3 -3
- package/SelectOption/index.js +4 -1
- package/ServiceBadge/index.d.ts +3 -3
- package/ServiceBadge/index.js +4 -1
- package/SkipLink/index.d.ts +3 -3
- package/SkipLink/index.js +4 -1
- package/SummaryList/index.d.ts +3 -3
- package/SummaryList/index.js +4 -1
- package/SummaryListItem/index.d.ts +3 -3
- package/SummaryListItem/index.js +4 -1
- package/SummaryListItemAction/index.d.ts +3 -3
- package/SummaryListItemAction/index.js +4 -1
- package/SummaryListItemKey/index.d.ts +3 -3
- package/SummaryListItemKey/index.js +4 -1
- package/SummaryListItemValue/index.d.ts +3 -3
- package/SummaryListItemValue/index.js +4 -1
- package/SvgIcon/index.d.ts +3 -3
- package/SvgIcon/index.js +4 -1
- package/Table/index.d.ts +3 -3
- package/Table/index.js +4 -1
- package/TableBody/index.d.ts +3 -3
- package/TableBody/index.js +4 -1
- package/TableCaption/index.d.ts +3 -3
- package/TableCaption/index.js +4 -1
- package/TableContainer/index.d.ts +3 -3
- package/TableContainer/index.js +4 -1
- package/TableDataCell/index.d.ts +3 -3
- package/TableDataCell/index.js +4 -1
- package/TableHead/index.d.ts +3 -3
- package/TableHead/index.js +4 -1
- package/TableHeadCell/index.d.ts +3 -3
- package/TableHeadCell/index.js +4 -1
- package/TableNoDataRow/index.d.ts +3 -3
- package/TableNoDataRow/index.js +4 -1
- package/TableRow/index.d.ts +3 -3
- package/TableRow/index.js +4 -1
- package/Tabs/index.d.ts +3 -3
- package/Tabs/index.js +4 -1
- package/TabsHeading/index.d.ts +3 -3
- package/TabsHeading/index.js +4 -1
- package/TabsList/index.d.ts +3 -3
- package/TabsList/index.js +4 -1
- package/TabsListItem/index.d.ts +3 -3
- package/TabsListItem/index.js +4 -1
- package/TabsPanel/index.d.ts +3 -3
- package/TabsPanel/index.js +4 -1
- package/TextArea/index.d.ts +3 -3
- package/TextArea/index.js +4 -1
- package/TextInput/index.d.ts +3 -3
- package/TextInput/index.js +4 -1
- package/Top/index.d.ts +3 -3
- package/Top/index.js +4 -1
- package/UncheckIcon/__snapshots__/index.test.tsx.snap +45 -45
- package/UncheckIcon/index.d.ts +4 -4
- package/UncheckIcon/index.js +5 -5
- package/Unpurge/index.d.ts +2 -0
- package/Unpurge/index.js +19 -0
- package/VisuallyHidden/index.d.ts +3 -3
- package/VisuallyHidden/index.js +4 -1
- package/WarningText/index.d.ts +3 -3
- package/WarningText/index.js +4 -1
- package/es/Accordion/index.js +3 -1
- package/es/AccordionControls/index.js +3 -1
- package/es/AccordionSection/index.js +4 -2
- package/es/AccordionSectionContent/index.js +3 -1
- package/es/AccordionSectionHeader/index.js +3 -1
- package/es/AccordionSectionSummary/index.js +3 -1
- package/es/AccordionSectionSummaryHeading/index.js +3 -1
- package/es/Aside/index.js +3 -1
- package/es/BackLink/index.js +3 -1
- package/es/Base/index.js +50 -0
- package/es/Blockquote/index.js +3 -1
- package/es/Bottom/index.js +3 -1
- package/es/Breadcrumbs/index.js +3 -1
- package/es/BreadcrumbsList/index.js +3 -1
- package/es/BreadcrumbsListItem/index.js +3 -1
- package/es/Button/index.js +3 -1
- package/es/ButtonGroup/index.js +3 -1
- package/es/ButtonLink/index.js +3 -1
- package/es/Card/index.js +4 -3
- package/es/CardAction/index.js +3 -1
- package/es/CardHeading/index.js +3 -1
- package/es/CardText/index.js +3 -1
- package/es/Checkbox/index.js +3 -1
- package/es/CheckboxConditional/index.js +5 -4
- package/es/CheckboxConditional/index.test.js +0 -8
- package/es/CheckboxItem/index.js +3 -1
- package/es/Confirmation/index.js +3 -1
- package/es/ConfirmationBody/index.js +3 -1
- package/es/ConfirmationTitle/index.js +3 -1
- package/es/Container/index.js +5 -2
- package/es/Copyright/index.js +3 -1
- package/es/DateInput/index.js +3 -1
- package/es/DateInputItem/index.js +3 -1
- package/es/Details/index.js +3 -1
- package/es/DetailsContent/index.js +3 -1
- package/es/DetailsSummary/index.js +3 -1
- package/es/ErrorMessage/index.js +3 -1
- package/es/ErrorSummary/index.js +3 -1
- package/es/Fieldset/index.js +3 -1
- package/es/FieldsetLegend/index.js +5 -3
- package/es/FileUpload/index.js +3 -1
- package/es/Footer/index.js +3 -1
- package/es/FooterContainer/index.js +3 -1
- package/es/FooterContent/index.js +3 -1
- package/es/FooterContentLogos/index.js +3 -1
- package/es/FooterHeading/index.js +3 -1
- package/es/FooterImage/index.js +3 -1
- package/es/FooterInlineList/index.js +3 -1
- package/es/FooterInlineListItem/index.js +3 -1
- package/es/FooterLink/index.js +3 -1
- package/es/FooterList/index.js +3 -1
- package/es/FooterListItem/index.js +3 -1
- package/es/FooterMeta/index.js +3 -1
- package/es/FooterMetaItem/index.js +3 -1
- package/es/FooterNavigation/index.js +3 -1
- package/es/FooterSection/index.js +3 -1
- package/es/Form/index.js +3 -1
- package/es/GovGRFooter/index.js +3 -1
- package/es/GovGRLogo/govgr-logo-base64.js +1 -0
- package/es/GovGRLogo/index.js +5 -2
- package/es/Grid/index.js +3 -1
- package/es/Header/index.js +3 -1
- package/es/HeaderContent/index.js +3 -1
- package/es/HeaderLogo/index.js +3 -1
- package/es/HeaderSecondaryLogo/index.js +3 -1
- package/es/HeaderSection/index.js +3 -1
- package/es/HeaderSubtitle/index.js +3 -1
- package/es/HeaderTitle/index.js +3 -1
- package/es/Heading/index.js +3 -1
- package/es/HeadingCaption/index.js +3 -1
- package/es/HellenicRepublicLogo/index.js +3 -1
- package/es/Hidden/index.js +3 -1
- package/es/Hint/index.js +3 -1
- package/es/Label/index.js +3 -1
- package/es/LabelTitle/index.js +5 -3
- package/es/Layout/index.js +3 -1
- package/es/Link/index.js +3 -1
- package/es/List/index.js +3 -1
- package/es/ListItem/index.js +3 -1
- package/es/Main/index.js +3 -1
- package/es/Masthead/index.js +3 -1
- package/es/MastheadBody/index.js +3 -1
- package/es/NavHorizontal/index.js +3 -1
- package/es/NavHorizontalList/index.js +3 -1
- package/es/NavHorizontalListItem/index.js +3 -1
- package/es/NavVertical/index.js +3 -1
- package/es/NavVerticalItem/index.js +3 -1
- package/es/NormalText/index.js +3 -1
- package/es/NotificationBanner/index.js +3 -1
- package/es/NotificationBannerContent/index.js +3 -1
- package/es/NotificationBannerHeader/index.js +3 -1
- package/es/NotificationBannerHeading/index.js +3 -1
- package/es/NotificationBannerLink/index.js +3 -1
- package/es/PageTitle/index.js +3 -1
- package/es/PageTitleCaption/index.js +3 -1
- package/es/PageTitleHeading/index.js +3 -1
- package/es/PageTitleSection/index.js +3 -1
- package/es/Paragraph/index.js +3 -1
- package/es/PhaseBanner/index.js +3 -1
- package/es/PhaseBannerHeaderContainer/index.js +3 -1
- package/es/PhaseBannerTag/index.js +3 -1
- package/es/PhaseBannerText/index.js +3 -1
- package/es/Radio/index.js +3 -1
- package/es/RadioConditional/index.js +5 -4
- package/es/RadioConditional/index.test.js +0 -8
- package/es/RadioItem/index.js +3 -1
- package/es/SectionBreak/index.js +3 -1
- package/es/Select/index.js +3 -1
- package/es/SelectOption/index.js +3 -1
- package/es/ServiceBadge/index.js +3 -1
- package/es/SkipLink/index.js +3 -1
- package/es/SummaryList/index.js +3 -1
- package/es/SummaryListItem/index.js +3 -1
- package/es/SummaryListItemAction/index.js +3 -1
- package/es/SummaryListItemKey/index.js +3 -1
- package/es/SummaryListItemValue/index.js +3 -1
- package/es/SvgIcon/index.js +3 -1
- package/es/Table/index.js +3 -1
- package/es/TableBody/index.js +3 -1
- package/es/TableCaption/index.js +3 -1
- package/es/TableContainer/index.js +3 -1
- package/es/TableDataCell/index.js +3 -1
- package/es/TableHead/index.js +3 -1
- package/es/TableHeadCell/index.js +3 -1
- package/es/TableNoDataRow/index.js +3 -1
- package/es/TableRow/index.js +3 -1
- package/es/Tabs/index.js +3 -1
- package/es/TabsHeading/index.js +3 -1
- package/es/TabsList/index.js +3 -1
- package/es/TabsListItem/index.js +3 -1
- package/es/TabsPanel/index.js +3 -1
- package/es/TextArea/index.js +3 -1
- package/es/TextInput/index.js +3 -1
- package/es/Top/index.js +3 -1
- package/es/UncheckIcon/__snapshots__/index.test.tsx.snap +45 -45
- package/es/UncheckIcon/index.js +3 -3
- package/es/Unpurge/index.js +9 -0
- package/es/VisuallyHidden/index.js +3 -1
- package/es/WarningText/index.js +3 -1
- package/es/index.js +1 -0
- package/es/registry.js +16 -10
- package/esm/Accordion/index.js +3 -1
- package/esm/AccordionControls/index.js +3 -1
- package/esm/AccordionSection/index.js +4 -2
- package/esm/AccordionSectionContent/index.js +3 -1
- package/esm/AccordionSectionHeader/index.js +3 -1
- package/esm/AccordionSectionSummary/index.js +3 -1
- package/esm/AccordionSectionSummaryHeading/index.js +3 -1
- package/esm/Aside/index.js +3 -1
- package/esm/BackLink/index.js +3 -1
- package/esm/Base/index.js +50 -0
- package/esm/Blockquote/index.js +3 -1
- package/esm/Bottom/index.js +3 -1
- package/esm/Breadcrumbs/index.js +3 -1
- package/esm/BreadcrumbsList/index.js +3 -1
- package/esm/BreadcrumbsListItem/index.js +3 -1
- package/esm/Button/index.js +3 -1
- package/esm/ButtonGroup/index.js +3 -1
- package/esm/ButtonLink/index.js +3 -1
- package/esm/Card/index.js +4 -3
- package/esm/CardAction/index.js +3 -1
- package/esm/CardHeading/index.js +3 -1
- package/esm/CardText/index.js +3 -1
- package/esm/Checkbox/index.js +3 -1
- package/esm/CheckboxConditional/index.js +5 -4
- package/esm/CheckboxConditional/index.test.js +0 -8
- package/esm/CheckboxItem/index.js +3 -1
- package/esm/Confirmation/index.js +3 -1
- package/esm/ConfirmationBody/index.js +3 -1
- package/esm/ConfirmationTitle/index.js +3 -1
- package/esm/Container/index.js +5 -2
- package/esm/Copyright/index.js +3 -1
- package/esm/DateInput/index.js +3 -1
- package/esm/DateInputItem/index.js +3 -1
- package/esm/Details/index.js +3 -1
- package/esm/DetailsContent/index.js +3 -1
- package/esm/DetailsSummary/index.js +3 -1
- package/esm/ErrorMessage/index.js +3 -1
- package/esm/ErrorSummary/index.js +3 -1
- package/esm/Fieldset/index.js +3 -1
- package/esm/FieldsetLegend/index.js +5 -3
- package/esm/FileUpload/index.js +3 -1
- package/esm/Footer/index.js +3 -1
- package/esm/FooterContainer/index.js +3 -1
- package/esm/FooterContent/index.js +3 -1
- package/esm/FooterContentLogos/index.js +3 -1
- package/esm/FooterHeading/index.js +3 -1
- package/esm/FooterImage/index.js +3 -1
- package/esm/FooterInlineList/index.js +3 -1
- package/esm/FooterInlineListItem/index.js +3 -1
- package/esm/FooterLink/index.js +3 -1
- package/esm/FooterList/index.js +3 -1
- package/esm/FooterListItem/index.js +3 -1
- package/esm/FooterMeta/index.js +3 -1
- package/esm/FooterMetaItem/index.js +3 -1
- package/esm/FooterNavigation/index.js +3 -1
- package/esm/FooterSection/index.js +3 -1
- package/esm/Form/index.js +3 -1
- package/esm/GovGRFooter/index.js +3 -1
- package/esm/GovGRLogo/govgr-logo-base64.js +1 -0
- package/esm/GovGRLogo/index.js +5 -2
- package/esm/Grid/index.js +3 -1
- package/esm/Header/index.js +3 -1
- package/esm/HeaderContent/index.js +3 -1
- package/esm/HeaderLogo/index.js +3 -1
- package/esm/HeaderSecondaryLogo/index.js +3 -1
- package/esm/HeaderSection/index.js +3 -1
- package/esm/HeaderSubtitle/index.js +3 -1
- package/esm/HeaderTitle/index.js +3 -1
- package/esm/Heading/index.js +3 -1
- package/esm/HeadingCaption/index.js +3 -1
- package/esm/HellenicRepublicLogo/index.js +3 -1
- package/esm/Hidden/index.js +3 -1
- package/esm/Hint/index.js +3 -1
- package/esm/Label/index.js +3 -1
- package/esm/LabelTitle/index.js +5 -3
- package/esm/Layout/index.js +3 -1
- package/esm/Link/index.js +3 -1
- package/esm/List/index.js +3 -1
- package/esm/ListItem/index.js +3 -1
- package/esm/Main/index.js +3 -1
- package/esm/Masthead/index.js +3 -1
- package/esm/MastheadBody/index.js +3 -1
- package/esm/NavHorizontal/index.js +3 -1
- package/esm/NavHorizontalList/index.js +3 -1
- package/esm/NavHorizontalListItem/index.js +3 -1
- package/esm/NavVertical/index.js +3 -1
- package/esm/NavVerticalItem/index.js +3 -1
- package/esm/NormalText/index.js +3 -1
- package/esm/NotificationBanner/index.js +3 -1
- package/esm/NotificationBannerContent/index.js +3 -1
- package/esm/NotificationBannerHeader/index.js +3 -1
- package/esm/NotificationBannerHeading/index.js +3 -1
- package/esm/NotificationBannerLink/index.js +3 -1
- package/esm/PageTitle/index.js +3 -1
- package/esm/PageTitleCaption/index.js +3 -1
- package/esm/PageTitleHeading/index.js +3 -1
- package/esm/PageTitleSection/index.js +3 -1
- package/esm/Paragraph/index.js +3 -1
- package/esm/PhaseBanner/index.js +3 -1
- package/esm/PhaseBannerHeaderContainer/index.js +3 -1
- package/esm/PhaseBannerTag/index.js +3 -1
- package/esm/PhaseBannerText/index.js +3 -1
- package/esm/Radio/index.js +3 -1
- package/esm/RadioConditional/index.js +5 -4
- package/esm/RadioConditional/index.test.js +0 -8
- package/esm/RadioItem/index.js +3 -1
- package/esm/SectionBreak/index.js +3 -1
- package/esm/Select/index.js +3 -1
- package/esm/SelectOption/index.js +3 -1
- package/esm/ServiceBadge/index.js +3 -1
- package/esm/SkipLink/index.js +3 -1
- package/esm/SummaryList/index.js +3 -1
- package/esm/SummaryListItem/index.js +3 -1
- package/esm/SummaryListItemAction/index.js +3 -1
- package/esm/SummaryListItemKey/index.js +3 -1
- package/esm/SummaryListItemValue/index.js +3 -1
- package/esm/SvgIcon/index.js +3 -1
- package/esm/Table/index.js +3 -1
- package/esm/TableBody/index.js +3 -1
- package/esm/TableCaption/index.js +3 -1
- package/esm/TableContainer/index.js +3 -1
- package/esm/TableDataCell/index.js +3 -1
- package/esm/TableHead/index.js +3 -1
- package/esm/TableHeadCell/index.js +3 -1
- package/esm/TableNoDataRow/index.js +3 -1
- package/esm/TableRow/index.js +3 -1
- package/esm/Tabs/index.js +3 -1
- package/esm/TabsHeading/index.js +3 -1
- package/esm/TabsList/index.js +3 -1
- package/esm/TabsListItem/index.js +3 -1
- package/esm/TabsPanel/index.js +3 -1
- package/esm/TextArea/index.js +3 -1
- package/esm/TextInput/index.js +3 -1
- package/esm/Top/index.js +3 -1
- package/esm/UncheckIcon/__snapshots__/index.test.tsx.snap +45 -45
- package/esm/UncheckIcon/index.js +3 -3
- package/esm/Unpurge/index.js +9 -0
- package/esm/VisuallyHidden/index.js +3 -1
- package/esm/WarningText/index.js +3 -1
- package/esm/index.js +2 -1
- package/esm/registry.js +16 -10
- package/index.d.ts +1 -0
- package/index.js +8 -0
- package/package.json +2 -2
- package/registry.d.ts +7 -5
- package/registry.js +21 -13
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`renders the UncheckIcon with no props 1`] = `
|
|
4
|
-
<ForwardRef(
|
|
4
|
+
<ForwardRef(UncheckIcon)>
|
|
5
5
|
<ForwardRef(SvgIcon)
|
|
6
6
|
className="govgr-svg-icon--check"
|
|
7
7
|
>
|
|
8
8
|
<svg
|
|
9
9
|
aria-hidden="true"
|
|
10
|
-
className="govgr-svg-icon--
|
|
10
|
+
className="govgr-svg-icon--check govgr-svg-icon"
|
|
11
11
|
focusable="false"
|
|
12
12
|
viewBox="0 0 24 24"
|
|
13
13
|
>
|
|
@@ -16,11 +16,11 @@ exports[`renders the UncheckIcon with no props 1`] = `
|
|
|
16
16
|
/>
|
|
17
17
|
</svg>
|
|
18
18
|
</ForwardRef(SvgIcon)>
|
|
19
|
-
</ForwardRef(
|
|
19
|
+
</ForwardRef(UncheckIcon)>
|
|
20
20
|
`;
|
|
21
21
|
|
|
22
22
|
exports[`renders the UncheckIcon with prop size=l 1`] = `
|
|
23
|
-
<ForwardRef(
|
|
23
|
+
<ForwardRef(UncheckIcon)
|
|
24
24
|
size="l"
|
|
25
25
|
>
|
|
26
26
|
<ForwardRef(SvgIcon)
|
|
@@ -29,7 +29,7 @@ exports[`renders the UncheckIcon with prop size=l 1`] = `
|
|
|
29
29
|
>
|
|
30
30
|
<svg
|
|
31
31
|
aria-hidden="true"
|
|
32
|
-
className="govgr-svg-icon--
|
|
32
|
+
className="govgr-svg-icon--check govgr-svg-icon--l govgr-svg-icon"
|
|
33
33
|
focusable="false"
|
|
34
34
|
viewBox="0 0 24 24"
|
|
35
35
|
>
|
|
@@ -38,11 +38,11 @@ exports[`renders the UncheckIcon with prop size=l 1`] = `
|
|
|
38
38
|
/>
|
|
39
39
|
</svg>
|
|
40
40
|
</ForwardRef(SvgIcon)>
|
|
41
|
-
</ForwardRef(
|
|
41
|
+
</ForwardRef(UncheckIcon)>
|
|
42
42
|
`;
|
|
43
43
|
|
|
44
44
|
exports[`renders the UncheckIcon with prop size=m 1`] = `
|
|
45
|
-
<ForwardRef(
|
|
45
|
+
<ForwardRef(UncheckIcon)
|
|
46
46
|
size="m"
|
|
47
47
|
>
|
|
48
48
|
<ForwardRef(SvgIcon)
|
|
@@ -51,7 +51,7 @@ exports[`renders the UncheckIcon with prop size=m 1`] = `
|
|
|
51
51
|
>
|
|
52
52
|
<svg
|
|
53
53
|
aria-hidden="true"
|
|
54
|
-
className="govgr-svg-icon--
|
|
54
|
+
className="govgr-svg-icon--check govgr-svg-icon--m govgr-svg-icon"
|
|
55
55
|
focusable="false"
|
|
56
56
|
viewBox="0 0 24 24"
|
|
57
57
|
>
|
|
@@ -60,11 +60,11 @@ exports[`renders the UncheckIcon with prop size=m 1`] = `
|
|
|
60
60
|
/>
|
|
61
61
|
</svg>
|
|
62
62
|
</ForwardRef(SvgIcon)>
|
|
63
|
-
</ForwardRef(
|
|
63
|
+
</ForwardRef(UncheckIcon)>
|
|
64
64
|
`;
|
|
65
65
|
|
|
66
66
|
exports[`renders the UncheckIcon with prop size=s 1`] = `
|
|
67
|
-
<ForwardRef(
|
|
67
|
+
<ForwardRef(UncheckIcon)
|
|
68
68
|
size="s"
|
|
69
69
|
>
|
|
70
70
|
<ForwardRef(SvgIcon)
|
|
@@ -73,7 +73,7 @@ exports[`renders the UncheckIcon with prop size=s 1`] = `
|
|
|
73
73
|
>
|
|
74
74
|
<svg
|
|
75
75
|
aria-hidden="true"
|
|
76
|
-
className="govgr-svg-icon--
|
|
76
|
+
className="govgr-svg-icon--check govgr-svg-icon--s govgr-svg-icon"
|
|
77
77
|
focusable="false"
|
|
78
78
|
viewBox="0 0 24 24"
|
|
79
79
|
>
|
|
@@ -82,11 +82,11 @@ exports[`renders the UncheckIcon with prop size=s 1`] = `
|
|
|
82
82
|
/>
|
|
83
83
|
</svg>
|
|
84
84
|
</ForwardRef(SvgIcon)>
|
|
85
|
-
</ForwardRef(
|
|
85
|
+
</ForwardRef(UncheckIcon)>
|
|
86
86
|
`;
|
|
87
87
|
|
|
88
88
|
exports[`renders the UncheckIcon with prop size=xl 1`] = `
|
|
89
|
-
<ForwardRef(
|
|
89
|
+
<ForwardRef(UncheckIcon)
|
|
90
90
|
size="xl"
|
|
91
91
|
>
|
|
92
92
|
<ForwardRef(SvgIcon)
|
|
@@ -95,7 +95,7 @@ exports[`renders the UncheckIcon with prop size=xl 1`] = `
|
|
|
95
95
|
>
|
|
96
96
|
<svg
|
|
97
97
|
aria-hidden="true"
|
|
98
|
-
className="govgr-svg-icon--
|
|
98
|
+
className="govgr-svg-icon--check govgr-svg-icon--xl govgr-svg-icon"
|
|
99
99
|
focusable="false"
|
|
100
100
|
viewBox="0 0 24 24"
|
|
101
101
|
>
|
|
@@ -104,11 +104,11 @@ exports[`renders the UncheckIcon with prop size=xl 1`] = `
|
|
|
104
104
|
/>
|
|
105
105
|
</svg>
|
|
106
106
|
</ForwardRef(SvgIcon)>
|
|
107
|
-
</ForwardRef(
|
|
107
|
+
</ForwardRef(UncheckIcon)>
|
|
108
108
|
`;
|
|
109
109
|
|
|
110
110
|
exports[`renders the UncheckIcon with prop variant=dark 1`] = `
|
|
111
|
-
<ForwardRef(
|
|
111
|
+
<ForwardRef(UncheckIcon)
|
|
112
112
|
variant="dark"
|
|
113
113
|
>
|
|
114
114
|
<ForwardRef(SvgIcon)
|
|
@@ -117,7 +117,7 @@ exports[`renders the UncheckIcon with prop variant=dark 1`] = `
|
|
|
117
117
|
>
|
|
118
118
|
<svg
|
|
119
119
|
aria-hidden="true"
|
|
120
|
-
className="govgr-svg-icon--
|
|
120
|
+
className="govgr-svg-icon--check govgr-svg-icon--dark govgr-svg-icon"
|
|
121
121
|
focusable="false"
|
|
122
122
|
viewBox="0 0 24 24"
|
|
123
123
|
>
|
|
@@ -126,11 +126,11 @@ exports[`renders the UncheckIcon with prop variant=dark 1`] = `
|
|
|
126
126
|
/>
|
|
127
127
|
</svg>
|
|
128
128
|
</ForwardRef(SvgIcon)>
|
|
129
|
-
</ForwardRef(
|
|
129
|
+
</ForwardRef(UncheckIcon)>
|
|
130
130
|
`;
|
|
131
131
|
|
|
132
132
|
exports[`renders the UncheckIcon with prop variant=error 1`] = `
|
|
133
|
-
<ForwardRef(
|
|
133
|
+
<ForwardRef(UncheckIcon)
|
|
134
134
|
variant="error"
|
|
135
135
|
>
|
|
136
136
|
<ForwardRef(SvgIcon)
|
|
@@ -139,7 +139,7 @@ exports[`renders the UncheckIcon with prop variant=error 1`] = `
|
|
|
139
139
|
>
|
|
140
140
|
<svg
|
|
141
141
|
aria-hidden="true"
|
|
142
|
-
className="govgr-svg-icon--
|
|
142
|
+
className="govgr-svg-icon--check govgr-svg-icon--error govgr-svg-icon"
|
|
143
143
|
focusable="false"
|
|
144
144
|
viewBox="0 0 24 24"
|
|
145
145
|
>
|
|
@@ -148,11 +148,11 @@ exports[`renders the UncheckIcon with prop variant=error 1`] = `
|
|
|
148
148
|
/>
|
|
149
149
|
</svg>
|
|
150
150
|
</ForwardRef(SvgIcon)>
|
|
151
|
-
</ForwardRef(
|
|
151
|
+
</ForwardRef(UncheckIcon)>
|
|
152
152
|
`;
|
|
153
153
|
|
|
154
154
|
exports[`renders the UncheckIcon with prop variant=error and size= xl 1`] = `
|
|
155
|
-
<ForwardRef(
|
|
155
|
+
<ForwardRef(UncheckIcon)
|
|
156
156
|
size="xl"
|
|
157
157
|
variant="warning"
|
|
158
158
|
>
|
|
@@ -163,7 +163,7 @@ exports[`renders the UncheckIcon with prop variant=error and size= xl 1`] = `
|
|
|
163
163
|
>
|
|
164
164
|
<svg
|
|
165
165
|
aria-hidden="true"
|
|
166
|
-
className="govgr-svg-icon--
|
|
166
|
+
className="govgr-svg-icon--check govgr-svg-icon--warning govgr-svg-icon--xl govgr-svg-icon"
|
|
167
167
|
focusable="false"
|
|
168
168
|
viewBox="0 0 24 24"
|
|
169
169
|
>
|
|
@@ -172,11 +172,11 @@ exports[`renders the UncheckIcon with prop variant=error and size= xl 1`] = `
|
|
|
172
172
|
/>
|
|
173
173
|
</svg>
|
|
174
174
|
</ForwardRef(SvgIcon)>
|
|
175
|
-
</ForwardRef(
|
|
175
|
+
</ForwardRef(UncheckIcon)>
|
|
176
176
|
`;
|
|
177
177
|
|
|
178
178
|
exports[`renders the UncheckIcon with prop variant=focus 1`] = `
|
|
179
|
-
<ForwardRef(
|
|
179
|
+
<ForwardRef(UncheckIcon)
|
|
180
180
|
variant="focus"
|
|
181
181
|
>
|
|
182
182
|
<ForwardRef(SvgIcon)
|
|
@@ -185,7 +185,7 @@ exports[`renders the UncheckIcon with prop variant=focus 1`] = `
|
|
|
185
185
|
>
|
|
186
186
|
<svg
|
|
187
187
|
aria-hidden="true"
|
|
188
|
-
className="govgr-svg-icon--
|
|
188
|
+
className="govgr-svg-icon--check govgr-svg-icon--focus govgr-svg-icon"
|
|
189
189
|
focusable="false"
|
|
190
190
|
viewBox="0 0 24 24"
|
|
191
191
|
>
|
|
@@ -194,11 +194,11 @@ exports[`renders the UncheckIcon with prop variant=focus 1`] = `
|
|
|
194
194
|
/>
|
|
195
195
|
</svg>
|
|
196
196
|
</ForwardRef(SvgIcon)>
|
|
197
|
-
</ForwardRef(
|
|
197
|
+
</ForwardRef(UncheckIcon)>
|
|
198
198
|
`;
|
|
199
199
|
|
|
200
200
|
exports[`renders the UncheckIcon with prop variant=gray 1`] = `
|
|
201
|
-
<ForwardRef(
|
|
201
|
+
<ForwardRef(UncheckIcon)
|
|
202
202
|
variant="gray"
|
|
203
203
|
>
|
|
204
204
|
<ForwardRef(SvgIcon)
|
|
@@ -207,7 +207,7 @@ exports[`renders the UncheckIcon with prop variant=gray 1`] = `
|
|
|
207
207
|
>
|
|
208
208
|
<svg
|
|
209
209
|
aria-hidden="true"
|
|
210
|
-
className="govgr-svg-icon--
|
|
210
|
+
className="govgr-svg-icon--check govgr-svg-icon--gray govgr-svg-icon"
|
|
211
211
|
focusable="false"
|
|
212
212
|
viewBox="0 0 24 24"
|
|
213
213
|
>
|
|
@@ -216,11 +216,11 @@ exports[`renders the UncheckIcon with prop variant=gray 1`] = `
|
|
|
216
216
|
/>
|
|
217
217
|
</svg>
|
|
218
218
|
</ForwardRef(SvgIcon)>
|
|
219
|
-
</ForwardRef(
|
|
219
|
+
</ForwardRef(UncheckIcon)>
|
|
220
220
|
`;
|
|
221
221
|
|
|
222
222
|
exports[`renders the UncheckIcon with prop variant=light 1`] = `
|
|
223
|
-
<ForwardRef(
|
|
223
|
+
<ForwardRef(UncheckIcon)
|
|
224
224
|
variant="light"
|
|
225
225
|
>
|
|
226
226
|
<ForwardRef(SvgIcon)
|
|
@@ -229,7 +229,7 @@ exports[`renders the UncheckIcon with prop variant=light 1`] = `
|
|
|
229
229
|
>
|
|
230
230
|
<svg
|
|
231
231
|
aria-hidden="true"
|
|
232
|
-
className="govgr-svg-icon--
|
|
232
|
+
className="govgr-svg-icon--check govgr-svg-icon--light govgr-svg-icon"
|
|
233
233
|
focusable="false"
|
|
234
234
|
viewBox="0 0 24 24"
|
|
235
235
|
>
|
|
@@ -238,11 +238,11 @@ exports[`renders the UncheckIcon with prop variant=light 1`] = `
|
|
|
238
238
|
/>
|
|
239
239
|
</svg>
|
|
240
240
|
</ForwardRef(SvgIcon)>
|
|
241
|
-
</ForwardRef(
|
|
241
|
+
</ForwardRef(UncheckIcon)>
|
|
242
242
|
`;
|
|
243
243
|
|
|
244
244
|
exports[`renders the UncheckIcon with prop variant=primary 1`] = `
|
|
245
|
-
<ForwardRef(
|
|
245
|
+
<ForwardRef(UncheckIcon)
|
|
246
246
|
variant="primary"
|
|
247
247
|
>
|
|
248
248
|
<ForwardRef(SvgIcon)
|
|
@@ -251,7 +251,7 @@ exports[`renders the UncheckIcon with prop variant=primary 1`] = `
|
|
|
251
251
|
>
|
|
252
252
|
<svg
|
|
253
253
|
aria-hidden="true"
|
|
254
|
-
className="govgr-svg-icon--
|
|
254
|
+
className="govgr-svg-icon--check govgr-svg-icon--primary govgr-svg-icon"
|
|
255
255
|
focusable="false"
|
|
256
256
|
viewBox="0 0 24 24"
|
|
257
257
|
>
|
|
@@ -260,11 +260,11 @@ exports[`renders the UncheckIcon with prop variant=primary 1`] = `
|
|
|
260
260
|
/>
|
|
261
261
|
</svg>
|
|
262
262
|
</ForwardRef(SvgIcon)>
|
|
263
|
-
</ForwardRef(
|
|
263
|
+
</ForwardRef(UncheckIcon)>
|
|
264
264
|
`;
|
|
265
265
|
|
|
266
266
|
exports[`renders the UncheckIcon with prop variant=success 1`] = `
|
|
267
|
-
<ForwardRef(
|
|
267
|
+
<ForwardRef(UncheckIcon)
|
|
268
268
|
variant="success"
|
|
269
269
|
>
|
|
270
270
|
<ForwardRef(SvgIcon)
|
|
@@ -273,7 +273,7 @@ exports[`renders the UncheckIcon with prop variant=success 1`] = `
|
|
|
273
273
|
>
|
|
274
274
|
<svg
|
|
275
275
|
aria-hidden="true"
|
|
276
|
-
className="govgr-svg-icon--
|
|
276
|
+
className="govgr-svg-icon--check govgr-svg-icon--success govgr-svg-icon"
|
|
277
277
|
focusable="false"
|
|
278
278
|
viewBox="0 0 24 24"
|
|
279
279
|
>
|
|
@@ -282,11 +282,11 @@ exports[`renders the UncheckIcon with prop variant=success 1`] = `
|
|
|
282
282
|
/>
|
|
283
283
|
</svg>
|
|
284
284
|
</ForwardRef(SvgIcon)>
|
|
285
|
-
</ForwardRef(
|
|
285
|
+
</ForwardRef(UncheckIcon)>
|
|
286
286
|
`;
|
|
287
287
|
|
|
288
288
|
exports[`renders the UncheckIcon with prop variant=warning 1`] = `
|
|
289
|
-
<ForwardRef(
|
|
289
|
+
<ForwardRef(UncheckIcon)
|
|
290
290
|
variant="warning"
|
|
291
291
|
>
|
|
292
292
|
<ForwardRef(SvgIcon)
|
|
@@ -295,7 +295,7 @@ exports[`renders the UncheckIcon with prop variant=warning 1`] = `
|
|
|
295
295
|
>
|
|
296
296
|
<svg
|
|
297
297
|
aria-hidden="true"
|
|
298
|
-
className="govgr-svg-icon--
|
|
298
|
+
className="govgr-svg-icon--check govgr-svg-icon--warning govgr-svg-icon"
|
|
299
299
|
focusable="false"
|
|
300
300
|
viewBox="0 0 24 24"
|
|
301
301
|
>
|
|
@@ -304,11 +304,11 @@ exports[`renders the UncheckIcon with prop variant=warning 1`] = `
|
|
|
304
304
|
/>
|
|
305
305
|
</svg>
|
|
306
306
|
</ForwardRef(SvgIcon)>
|
|
307
|
-
</ForwardRef(
|
|
307
|
+
</ForwardRef(UncheckIcon)>
|
|
308
308
|
`;
|
|
309
309
|
|
|
310
310
|
exports[`renders the UncheckIcon with prop variant=warning and size=s 1`] = `
|
|
311
|
-
<ForwardRef(
|
|
311
|
+
<ForwardRef(UncheckIcon)
|
|
312
312
|
size="s"
|
|
313
313
|
variant="warning"
|
|
314
314
|
>
|
|
@@ -319,7 +319,7 @@ exports[`renders the UncheckIcon with prop variant=warning and size=s 1`] = `
|
|
|
319
319
|
>
|
|
320
320
|
<svg
|
|
321
321
|
aria-hidden="true"
|
|
322
|
-
className="govgr-svg-icon--
|
|
322
|
+
className="govgr-svg-icon--check govgr-svg-icon--warning govgr-svg-icon--s govgr-svg-icon"
|
|
323
323
|
focusable="false"
|
|
324
324
|
viewBox="0 0 24 24"
|
|
325
325
|
>
|
|
@@ -328,5 +328,5 @@ exports[`renders the UncheckIcon with prop variant=warning and size=s 1`] = `
|
|
|
328
328
|
/>
|
|
329
329
|
</svg>
|
|
330
330
|
</ForwardRef(SvgIcon)>
|
|
331
|
-
</ForwardRef(
|
|
331
|
+
</ForwardRef(UncheckIcon)>
|
|
332
332
|
`;
|
package/UncheckIcon/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SvgIconProps } from '@digigov/react-core/SvgIcon';
|
|
3
|
-
export interface
|
|
3
|
+
export interface UncheckIconProps extends SvgIconProps {
|
|
4
4
|
/**
|
|
5
5
|
* ref is optional.
|
|
6
6
|
* ref prop declares the reference of the svg icon component.
|
|
@@ -9,7 +9,7 @@ export interface UnCheckIconProps extends SvgIconProps {
|
|
|
9
9
|
ref?: React.Ref<SVGSVGElement>;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
|
-
* Use
|
|
12
|
+
* Use UnUncheckIcon component when you need a uncheck/decline icon.
|
|
13
13
|
*/
|
|
14
|
-
export declare const
|
|
15
|
-
export default
|
|
14
|
+
export declare const UncheckIcon: React.FC<UncheckIconProps>;
|
|
15
|
+
export default UncheckIcon;
|
package/UncheckIcon/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports["default"] = exports.
|
|
8
|
+
exports["default"] = exports.UncheckIcon = void 0;
|
|
9
9
|
|
|
10
10
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
11
|
|
|
@@ -24,9 +24,9 @@ var _ref2 = /*#__PURE__*/_react["default"].createElement("polygon", {
|
|
|
24
24
|
});
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* Use
|
|
27
|
+
* Use UnUncheckIcon component when you need a uncheck/decline icon.
|
|
28
28
|
*/
|
|
29
|
-
var
|
|
29
|
+
var UncheckIcon = /*#__PURE__*/_react["default"].forwardRef(function UncheckIcon(_ref, ref) {
|
|
30
30
|
var size = _ref.size,
|
|
31
31
|
variant = _ref.variant,
|
|
32
32
|
className = _ref.className,
|
|
@@ -39,6 +39,6 @@ var UnCheckIcon = /*#__PURE__*/_react["default"].forwardRef(function UnCheckIcon
|
|
|
39
39
|
}, props), _ref2);
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
exports.
|
|
43
|
-
var _default =
|
|
42
|
+
exports.UncheckIcon = UncheckIcon;
|
|
43
|
+
var _default = UncheckIcon;
|
|
44
44
|
exports["default"] = _default;
|
package/Unpurge/index.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
function Unpurge() {
|
|
13
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
14
|
+
className: "\n govgr-m-0 \n govgr-mt-0 \n govgr-mb-0 \n govgr-mr-0 \n govgr-ml-0 \n govgr-p-0 \n govgr-pt-0 \n govgr-pb-0 \n govgr-pr-0 \n govgr-pl-0 \n govgr-m-1 \n govgr-mt-1 \n govgr-mb-1 \n govgr-mr-1 \n govgr-ml-1 \n govgr-p-1 \n govgr-pt-1 \n govgr-pb-1 \n govgr-pr-1 \n govgr-pl-1 \n govgr-m-2 \n govgr-mt-2 \n govgr-mb-2 \n govgr-mr-2 \n govgr-ml-2 \n govgr-p-2 \n govgr-pt-2 \n govgr-pb-2 \n govgr-pr-2 \n govgr-pl-2 \n govgr-m-3 \n govgr-mt-3 \n govgr-mb-3 \n govgr-mr-3 \n govgr-ml-3 \n govgr-p-3 \n govgr-pt-3 \n govgr-pb-3 \n govgr-pr-3 \n govgr-pl-3 \n govgr-m-4 \n govgr-mt-4 \n govgr-mb-4 \n govgr-mr-4 \n govgr-ml-4 \n govgr-p-4 \n govgr-pt-4 \n govgr-pb-4 \n govgr-pr-4 \n govgr-pl-4 \n govgr-m-5 \n govgr-mt-5 \n govgr-mb-5 \n govgr-mr-5 \n govgr-ml-5 \n govgr-p-5 \n govgr-pt-5 \n govgr-pb-5 \n govgr-pr-5 \n govgr-pl-5 \n govgr-m-6 \n govgr-mt-6 \n govgr-mb-6 \n govgr-mr-6 \n govgr-ml-6 \n govgr-p-6 \n govgr-pt-6 \n govgr-pb-6 \n govgr-pr-6 \n govgr-pl-6 \n govgr-m-7 \n govgr-mt-7 \n govgr-mb-7 \n govgr-mr-7 \n govgr-ml-7 \n govgr-p-7 \n govgr-pt-7 \n govgr-pb-7 \n govgr-pr-7 \n govgr-pl-7 \n govgr-m-8 \n govgr-mt-8 \n govgr-mb-8 \n govgr-mr-8 \n govgr-ml-8 \n govgr-p-8 \n govgr-pt-8 \n govgr-pb-8 \n govgr-pr-8 \n govgr-pl-8 \n govgr-m-9 \n govgr-mt-9 \n govgr-mb-9 \n govgr-mr-9 \n govgr-ml-9 \n govgr-p-9 \n govgr-pt-9 \n govgr-pb-9 \n govgr-pr-9 \n govgr-pl-9 \n govgr-print-hidden\n "
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
var _default = Unpurge;
|
|
19
|
+
exports["default"] = _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
export interface VisuallyHiddenProps extends
|
|
2
|
+
import { BaseProps } from '@digigov/react-core/Base';
|
|
3
|
+
export interface VisuallyHiddenProps extends BaseProps<'span'> {
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
6
|
* Details for the VisuallyHidden.
|
|
7
7
|
* VisuallyHidden component provides text for screen readers that is visually hidden.
|
|
8
8
|
*/
|
|
9
|
-
export declare const VisuallyHidden: React.ForwardRefExoticComponent<Pick<VisuallyHiddenProps, "
|
|
9
|
+
export declare const VisuallyHidden: React.ForwardRefExoticComponent<Pick<VisuallyHiddenProps, "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"> & React.RefAttributes<HTMLSpanElement>>;
|
|
10
10
|
export default VisuallyHidden;
|
package/VisuallyHidden/index.js
CHANGED
|
@@ -13,6 +13,8 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
13
13
|
|
|
14
14
|
var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
|
|
16
|
+
var _Base = _interopRequireDefault(require("@digigov/react-core/Base"));
|
|
17
|
+
|
|
16
18
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
17
19
|
|
|
18
20
|
var _excluded = ["className", "children"];
|
|
@@ -25,7 +27,8 @@ var VisuallyHidden = /*#__PURE__*/_react["default"].forwardRef(function Visually
|
|
|
25
27
|
var className = _ref.className,
|
|
26
28
|
children = _ref.children,
|
|
27
29
|
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
28
|
-
return /*#__PURE__*/_react["default"].createElement("
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement(_Base["default"], (0, _extends2["default"])({
|
|
31
|
+
as: "span",
|
|
29
32
|
ref: ref,
|
|
30
33
|
className: (0, _clsx["default"])(className, true && 'govgr-visually-hidden')
|
|
31
34
|
}, props), children);
|
package/WarningText/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
export interface WarningTextProps extends
|
|
2
|
+
import { BaseProps } from '@digigov/react-core/Base';
|
|
3
|
+
export interface WarningTextProps extends BaseProps<'div'> {
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
6
|
* WarningText.
|
|
7
7
|
* Use the WarningText component when you need to warn users about something important.
|
|
8
8
|
* The component is used with a text inside it.
|
|
9
9
|
*/
|
|
10
|
-
export declare const WarningText: React.ForwardRefExoticComponent<Pick<WarningTextProps, "
|
|
10
|
+
export declare const WarningText: React.ForwardRefExoticComponent<Pick<WarningTextProps, "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"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
export default WarningText;
|
package/WarningText/index.js
CHANGED
|
@@ -13,6 +13,8 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
13
13
|
|
|
14
14
|
var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
|
|
16
|
+
var _Base = _interopRequireDefault(require("@digigov/react-core/Base"));
|
|
17
|
+
|
|
16
18
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
17
19
|
|
|
18
20
|
var _excluded = ["className", "children"];
|
|
@@ -26,7 +28,8 @@ var WarningText = /*#__PURE__*/_react["default"].forwardRef(function WarningText
|
|
|
26
28
|
var className = _ref.className,
|
|
27
29
|
children = _ref.children,
|
|
28
30
|
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
29
|
-
return /*#__PURE__*/_react["default"].createElement("
|
|
31
|
+
return /*#__PURE__*/_react["default"].createElement(_Base["default"], (0, _extends2["default"])({
|
|
32
|
+
as: "div",
|
|
30
33
|
ref: ref,
|
|
31
34
|
className: (0, _clsx["default"])(className, true && 'govgr-warning-text')
|
|
32
35
|
}, props), /*#__PURE__*/_react["default"].createElement("span", {
|
package/es/Accordion/index.js
CHANGED
|
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["className", "children"];
|
|
4
4
|
import React from 'react';
|
|
5
|
+
import Base from '@digigov/react-core/Base';
|
|
5
6
|
import clsx from 'clsx';
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -13,7 +14,8 @@ export var Accordion = /*#__PURE__*/React.forwardRef(function Accordion(_ref, re
|
|
|
13
14
|
children = _ref.children,
|
|
14
15
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
15
16
|
|
|
16
|
-
return /*#__PURE__*/React.createElement(
|
|
17
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
18
|
+
as: "div",
|
|
17
19
|
ref: ref,
|
|
18
20
|
className: clsx(className, true && 'govgr-accordion')
|
|
19
21
|
}, props), children);
|
|
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["className", "children"];
|
|
4
4
|
import React from 'react';
|
|
5
|
+
import Base from '@digigov/react-core/Base';
|
|
5
6
|
import clsx from 'clsx';
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -12,7 +13,8 @@ export var AccordionControls = /*#__PURE__*/React.forwardRef(function AccordionC
|
|
|
12
13
|
children = _ref.children,
|
|
13
14
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
14
15
|
|
|
15
|
-
return /*#__PURE__*/React.createElement(
|
|
16
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
17
|
+
as: "div",
|
|
16
18
|
ref: ref,
|
|
17
19
|
className: clsx(className, true && 'govgr-accordion__controls')
|
|
18
20
|
}, props), children);
|
|
@@ -2,11 +2,12 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["className", "children"];
|
|
4
4
|
import React from 'react';
|
|
5
|
+
import Base from '@digigov/react-core/Base';
|
|
5
6
|
import clsx from 'clsx';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* AccordionSection should be inside the Accordion component.
|
|
9
|
-
*
|
|
10
|
+
*
|
|
10
11
|
* Inside this component must place the AccordionSectionHeader and the AccordionSectionContent components.
|
|
11
12
|
*/
|
|
12
13
|
// eslint-disable-next-line react/display-name
|
|
@@ -15,7 +16,8 @@ export var AccordionSection = /*#__PURE__*/React.forwardRef(function AccordionSe
|
|
|
15
16
|
children = _ref.children,
|
|
16
17
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
17
18
|
|
|
18
|
-
return /*#__PURE__*/React.createElement(
|
|
19
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
20
|
+
as: "details",
|
|
19
21
|
ref: ref,
|
|
20
22
|
className: clsx(className, true && 'govgr-accordion__section')
|
|
21
23
|
}, props), children);
|
|
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["className", "children"];
|
|
4
4
|
import React from 'react';
|
|
5
|
+
import Base from '@digigov/react-core/Base';
|
|
5
6
|
import clsx from 'clsx';
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -13,7 +14,8 @@ export var AccordionSectionContent = /*#__PURE__*/React.forwardRef(function Acco
|
|
|
13
14
|
children = _ref.children,
|
|
14
15
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
15
16
|
|
|
16
|
-
return /*#__PURE__*/React.createElement(
|
|
17
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
18
|
+
as: "div",
|
|
17
19
|
ref: ref,
|
|
18
20
|
className: clsx(className, true && 'govgr-accordion__section-content')
|
|
19
21
|
}, props), children);
|
|
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["className", "children"];
|
|
4
4
|
import React from 'react';
|
|
5
|
+
import Base from '@digigov/react-core/Base';
|
|
5
6
|
import clsx from 'clsx';
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -12,7 +13,8 @@ export var AccordionSectionHeader = /*#__PURE__*/React.forwardRef(function Accor
|
|
|
12
13
|
children = _ref.children,
|
|
13
14
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
14
15
|
|
|
15
|
-
return /*#__PURE__*/React.createElement(
|
|
16
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
17
|
+
as: "summary",
|
|
16
18
|
ref: ref,
|
|
17
19
|
className: clsx(className, true && 'govgr-accordion__section-header')
|
|
18
20
|
}, props), /*#__PURE__*/React.createElement("h2", {
|