@digigov/react-core 0.15.5 → 0.16.0
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 +12 -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/index.d.ts +3 -3
- package/GovGRLogo/index.js +4 -1
- 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/index.js +3 -1
- 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 +10 -4
- 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/index.js +3 -1
- 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 +10 -4
- package/index.d.ts +1 -0
- package/index.js +8 -0
- package/package.json +2 -2
- package/registry.d.ts +4 -2
- package/registry.js +14 -6
package/es/ErrorMessage/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
|
/**
|
|
@@ -14,7 +15,8 @@ export var ErrorMessage = /*#__PURE__*/React.forwardRef(function ErrorMessage(_r
|
|
|
14
15
|
children = _ref.children,
|
|
15
16
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
16
17
|
|
|
17
|
-
return /*#__PURE__*/React.createElement(
|
|
18
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
19
|
+
as: "p",
|
|
18
20
|
ref: ref,
|
|
19
21
|
className: clsx(className, true && 'govgr-error-message')
|
|
20
22
|
}, props), children);
|
package/es/ErrorSummary/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
|
/**
|
|
@@ -12,7 +13,8 @@ export var ErrorSummary = /*#__PURE__*/React.forwardRef(function ErrorSummary(_r
|
|
|
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-error-summary')
|
|
18
20
|
}, props), children);
|
package/es/Fieldset/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 Fieldset = /*#__PURE__*/React.forwardRef(function Fieldset(_ref, ref)
|
|
|
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: "fieldset",
|
|
17
19
|
ref: ref,
|
|
18
20
|
className: clsx(className, true && 'govgr-fieldset')
|
|
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 = ["size", "heading", "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
|
/**
|
|
@@ -16,12 +17,13 @@ export var FieldsetLegend = /*#__PURE__*/React.forwardRef(function FieldsetLegen
|
|
|
16
17
|
children = _ref.children,
|
|
17
18
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
18
19
|
|
|
19
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(
|
|
20
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Base, _extends({
|
|
21
|
+
as: "legend",
|
|
20
22
|
ref: ref,
|
|
21
23
|
className: clsx(className, size === 'xl' && 'govgr-heading-xl', size === 'l' && 'govgr-heading-l', size === 'm' && 'govgr-heading-m', size === 's' && 'govgr-heading-s', true && 'govgr-fieldset__legend')
|
|
22
24
|
}, heading && {
|
|
23
|
-
role:
|
|
24
|
-
|
|
25
|
+
role: 'heading',
|
|
26
|
+
'aria-level': 1
|
|
25
27
|
}, props), children));
|
|
26
28
|
});
|
|
27
29
|
export default FieldsetLegend;
|
package/es/FileUpload/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 = ["name", "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
|
/**
|
|
@@ -16,7 +17,8 @@ export var FileUpload = /*#__PURE__*/React.forwardRef(function FileUpload(_ref,
|
|
|
16
17
|
|
|
17
18
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
18
19
|
className: clsx(className, true && 'upload-file')
|
|
19
|
-
}, props), children, /*#__PURE__*/React.createElement(
|
|
20
|
+
}, props), children, /*#__PURE__*/React.createElement(Base, _extends({
|
|
21
|
+
as: "input",
|
|
20
22
|
ref: ref,
|
|
21
23
|
type: "file",
|
|
22
24
|
name: name,
|
package/es/Footer/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
|
/**
|
|
@@ -12,7 +13,8 @@ export var Footer = /*#__PURE__*/React.forwardRef(function Footer(_ref, ref) {
|
|
|
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: "footer",
|
|
16
18
|
ref: ref,
|
|
17
19
|
className: clsx(className, true && 'govgr-footer')
|
|
18
20
|
}, 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", "fullWidth", "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
|
/**
|
|
@@ -14,7 +15,8 @@ export var FooterContainer = /*#__PURE__*/React.forwardRef(function FooterContai
|
|
|
14
15
|
children = _ref.children,
|
|
15
16
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
16
17
|
|
|
17
|
-
return /*#__PURE__*/React.createElement(
|
|
18
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
19
|
+
as: "div",
|
|
18
20
|
ref: ref,
|
|
19
21
|
className: clsx(className, fullWidth === false && 'govgr-width-container', fullWidth === true && 'govgr-full-width-container')
|
|
20
22
|
}, 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 FooterContent = /*#__PURE__*/React.forwardRef(function FooterContent(
|
|
|
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-footer__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
|
/**
|
|
@@ -14,7 +15,8 @@ export var FooterContentLogos = /*#__PURE__*/React.forwardRef(function FooterCon
|
|
|
14
15
|
children = _ref.children,
|
|
15
16
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
16
17
|
|
|
17
|
-
return /*#__PURE__*/React.createElement(
|
|
18
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
19
|
+
as: "div",
|
|
18
20
|
ref: ref,
|
|
19
21
|
className: clsx(className, true && 'govgr-footer__content--logos')
|
|
20
22
|
}, 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 = ["size", "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
|
/**
|
|
@@ -14,7 +15,8 @@ export var FooterHeading = /*#__PURE__*/React.forwardRef(function FooterHeading(
|
|
|
14
15
|
children = _ref.children,
|
|
15
16
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
16
17
|
|
|
17
|
-
return /*#__PURE__*/React.createElement(
|
|
18
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
19
|
+
as: "h2",
|
|
18
20
|
ref: ref,
|
|
19
21
|
className: clsx(className, size === 'm' && 'govgr-heading-m', size === 's' && 'govgr-heading-s', true && 'govgr-footer__heading')
|
|
20
22
|
}, props), children);
|
package/es/FooterImage/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", "alt"];
|
|
4
4
|
import React from 'react';
|
|
5
|
+
import Base from '@digigov/react-core/Base';
|
|
5
6
|
import clsx from 'clsx';
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -16,7 +17,8 @@ export var FooterImage = /*#__PURE__*/React.forwardRef(function FooterImage(_ref
|
|
|
16
17
|
alt = _ref$alt === void 0 ? 'footer logo' : _ref$alt,
|
|
17
18
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
18
19
|
|
|
19
|
-
return /*#__PURE__*/React.createElement(
|
|
20
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
21
|
+
as: "img",
|
|
20
22
|
ref: ref,
|
|
21
23
|
className: clsx(className, true && 'govgr-footer__logo')
|
|
22
24
|
}, props, {
|
|
@@ -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
|
/**
|
|
@@ -14,7 +15,8 @@ export var FooterInlineList = /*#__PURE__*/React.forwardRef(function FooterInlin
|
|
|
14
15
|
children = _ref.children,
|
|
15
16
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
16
17
|
|
|
17
|
-
return /*#__PURE__*/React.createElement(
|
|
18
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
19
|
+
as: "ul",
|
|
18
20
|
ref: ref,
|
|
19
21
|
className: clsx(className, true && 'govgr-footer__inline-list')
|
|
20
22
|
}, 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 FooterInlineListItem = /*#__PURE__*/React.forwardRef(function FooterI
|
|
|
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: "li",
|
|
16
18
|
ref: ref,
|
|
17
19
|
className: clsx(className, true && 'govgr-footer__inline-list-item')
|
|
18
20
|
}, props), children);
|
package/es/FooterLink/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 = ["href", "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 FooterLink = /*#__PURE__*/React.forwardRef(function FooterLink(_ref,
|
|
|
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: "a",
|
|
17
19
|
href: href,
|
|
18
20
|
ref: ref,
|
|
19
21
|
className: clsx(className, true && 'govgr-footer__link')
|
package/es/FooterList/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 = ["columns", "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
|
/**
|
|
@@ -14,7 +15,8 @@ export var FooterList = /*#__PURE__*/React.forwardRef(function FooterList(_ref,
|
|
|
14
15
|
children = _ref.children,
|
|
15
16
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
16
17
|
|
|
17
|
-
return /*#__PURE__*/React.createElement(
|
|
18
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
19
|
+
as: "ul",
|
|
18
20
|
ref: ref,
|
|
19
21
|
className: clsx(className, columns === 2 && 'govgr-footer__list--columns-2', true && 'govgr-footer__list')
|
|
20
22
|
}, 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 FooterListItem = /*#__PURE__*/React.forwardRef(function FooterListIte
|
|
|
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: "li",
|
|
17
19
|
ref: ref,
|
|
18
20
|
className: clsx(className, true && 'govgr-footer__list-item')
|
|
19
21
|
}, props), children);
|
package/es/FooterMeta/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
|
/**
|
|
@@ -14,7 +15,8 @@ export var FooterMeta = /*#__PURE__*/React.forwardRef(function FooterMeta(_ref,
|
|
|
14
15
|
children = _ref.children,
|
|
15
16
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
16
17
|
|
|
17
|
-
return /*#__PURE__*/React.createElement(
|
|
18
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
19
|
+
as: "div",
|
|
18
20
|
ref: ref,
|
|
19
21
|
className: clsx(className, true && 'govgr-footer__meta')
|
|
20
22
|
}, 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 = ["grow", "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 FooterMetaItem = /*#__PURE__*/React.forwardRef(function FooterMetaIte
|
|
|
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, grow === true && 'govgr-footer__meta-item--grow', true && 'govgr-footer__meta-item')
|
|
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
|
/**
|
|
@@ -14,7 +15,8 @@ export var FooterNavigation = /*#__PURE__*/React.forwardRef(function FooterNavig
|
|
|
14
15
|
children = _ref.children,
|
|
15
16
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
16
17
|
|
|
17
|
-
return /*#__PURE__*/React.createElement(
|
|
18
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
19
|
+
as: "div",
|
|
18
20
|
ref: ref,
|
|
19
21
|
className: clsx(className, true && 'govgr-footer__navigation')
|
|
20
22
|
}, 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
|
/**
|
|
@@ -14,7 +15,8 @@ export var FooterSection = /*#__PURE__*/React.forwardRef(function FooterSection(
|
|
|
14
15
|
children = _ref.children,
|
|
15
16
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
16
17
|
|
|
17
|
-
return /*#__PURE__*/React.createElement(
|
|
18
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
19
|
+
as: "div",
|
|
18
20
|
ref: ref,
|
|
19
21
|
className: clsx(className, true && 'govgr-footer__section')
|
|
20
22
|
}, props), children);
|
package/es/Form/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", "grid"];
|
|
4
4
|
import React from 'react';
|
|
5
|
+
import Base from '@digigov/react-core/Base';
|
|
5
6
|
import clsx from 'clsx';
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -15,7 +16,8 @@ export var Form = /*#__PURE__*/React.forwardRef(function Form(_ref, ref) {
|
|
|
15
16
|
grid = _ref$grid === void 0 ? false : _ref$grid,
|
|
16
17
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
17
18
|
|
|
18
|
-
return /*#__PURE__*/React.createElement(
|
|
19
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
20
|
+
as: "form",
|
|
19
21
|
ref: ref,
|
|
20
22
|
className: clsx(className, true && 'govgr-form', grid && 'govgr-grid')
|
|
21
23
|
}, props), children);
|
package/es/GovGRFooter/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
|
/**
|
|
@@ -12,7 +13,8 @@ export var GovGRFooter = /*#__PURE__*/React.forwardRef(function GovGRFooter(_ref
|
|
|
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: "footer",
|
|
16
18
|
ref: ref,
|
|
17
19
|
className: clsx(className, true && 'govgr-footer')
|
|
18
20
|
}, props), children);
|
package/es/GovGRLogo/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 = ["href", "className"];
|
|
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 GovGRLogo = /*#__PURE__*/React.forwardRef(function GovGRLogo(_ref, re
|
|
|
13
14
|
className = _ref.className,
|
|
14
15
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
15
16
|
|
|
16
|
-
return /*#__PURE__*/React.createElement(
|
|
17
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
18
|
+
as: "a",
|
|
17
19
|
href: href,
|
|
18
20
|
ref: ref,
|
|
19
21
|
className: clsx(className, true && 'govgr-header-link')
|
package/es/Grid/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", "container", "item", "spacing", "inline", "xs", "sm", "md", "lg", "xl"];
|
|
4
4
|
import React from 'react';
|
|
5
|
+
import Base from '@digigov/react-core/Base';
|
|
5
6
|
import clsx from 'clsx';
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -23,7 +24,8 @@ export var Grid = /*#__PURE__*/React.forwardRef(function Grid(_ref, ref) {
|
|
|
23
24
|
xl = _ref.xl,
|
|
24
25
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
25
26
|
|
|
26
|
-
return /*#__PURE__*/React.createElement(
|
|
27
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
28
|
+
as: "div",
|
|
27
29
|
ref: ref,
|
|
28
30
|
className: clsx(className, container === true && [inline === true && 'govgr-grid-inline', 'govgr-grid'], container && [spacing === 10 && "govgr-grid__gap-10", spacing === 12 && "govgr-grid__gap-12", spacing === 1 && "govgr-grid__gap-1", spacing === 2 && "govgr-grid__gap-2", spacing === 4 && "govgr-grid__gap-4", spacing === 6 && "govgr-grid__gap-6", spacing === 8 && "govgr-grid__gap-8"], item && [xs === 'auto' && "xs:govgr-grid__col-auto", sm === 'auto' && "sm:govgr-grid__col-auto", md === 'auto' && "md:govgr-grid__col-auto", lg === 'auto' && "lg:govgr-grid__col-auto", xl === 'auto' && "xl:govgr-grid__col-auto", xs === 10 && "xs:govgr-grid__col-span-10", xs === 11 && "xs:govgr-grid__col-span-11", xs === 12 && "xs:govgr-grid__col-span-12", sm === 10 && "sm:govgr-grid__col-span-10", sm === 11 && "sm:govgr-grid__col-span-11", sm === 12 && "sm:govgr-grid__col-span-12", md === 10 && "md:govgr-grid__col-span-10", md === 11 && "md:govgr-grid__col-span-11", md === 12 && "md:govgr-grid__col-span-12", lg === 10 && "lg:govgr-grid__col-span-10", lg === 11 && "lg:govgr-grid__col-span-11", lg === 12 && "lg:govgr-grid__col-span-12", xl === 10 && "xl:govgr-grid__col-span-10", xl === 11 && "xl:govgr-grid__col-span-11", xl === 12 && "xl:govgr-grid__col-span-12", xs === 1 && "xs:govgr-grid__col-span-1", xs === 2 && "xs:govgr-grid__col-span-2", xs === 3 && "xs:govgr-grid__col-span-3", xs === 4 && "xs:govgr-grid__col-span-4", xs === 5 && "xs:govgr-grid__col-span-5", xs === 6 && "xs:govgr-grid__col-span-6", xs === 7 && "xs:govgr-grid__col-span-7", xs === 8 && "xs:govgr-grid__col-span-8", xs === 9 && "xs:govgr-grid__col-span-9", sm === 1 && "sm:govgr-grid__col-span-1", sm === 2 && "sm:govgr-grid__col-span-2", sm === 3 && "sm:govgr-grid__col-span-3", sm === 4 && "sm:govgr-grid__col-span-4", sm === 5 && "sm:govgr-grid__col-span-5", sm === 6 && "sm:govgr-grid__col-span-6", sm === 7 && "sm:govgr-grid__col-span-7", sm === 8 && "sm:govgr-grid__col-span-8", sm === 9 && "sm:govgr-grid__col-span-9", md === 1 && "md:govgr-grid__col-span-1", md === 2 && "md:govgr-grid__col-span-2", md === 3 && "md:govgr-grid__col-span-3", md === 4 && "md:govgr-grid__col-span-4", md === 5 && "md:govgr-grid__col-span-5", md === 6 && "md:govgr-grid__col-span-6", md === 7 && "md:govgr-grid__col-span-7", md === 8 && "md:govgr-grid__col-span-8", md === 9 && "md:govgr-grid__col-span-9", lg === 1 && "lg:govgr-grid__col-span-1", lg === 2 && "lg:govgr-grid__col-span-2", lg === 3 && "lg:govgr-grid__col-span-3", lg === 4 && "lg:govgr-grid__col-span-4", lg === 5 && "lg:govgr-grid__col-span-5", lg === 6 && "lg:govgr-grid__col-span-6", lg === 7 && "lg:govgr-grid__col-span-7", lg === 8 && "lg:govgr-grid__col-span-8", lg === 9 && "lg:govgr-grid__col-span-9", xl === 1 && "xl:govgr-grid__col-span-1", xl === 2 && "xl:govgr-grid__col-span-2", xl === 3 && "xl:govgr-grid__col-span-3", xl === 4 && "xl:govgr-grid__col-span-4", xl === 5 && "xl:govgr-grid__col-span-5", xl === 6 && "xl:govgr-grid__col-span-6", xl === 7 && "xl:govgr-grid__col-span-7", xl === 8 && "xl:govgr-grid__col-span-8", xl === 9 && "xl:govgr-grid__col-span-9"])
|
|
29
31
|
}, props), children);
|
package/es/Header/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 Header = /*#__PURE__*/React.forwardRef(function Header(_ref, ref) {
|
|
|
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: "header",
|
|
17
19
|
role: "banner",
|
|
18
20
|
"data-module": "govgr-header",
|
|
19
21
|
ref: ref,
|
|
@@ -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 HeaderContent = /*#__PURE__*/React.forwardRef(function HeaderContent(
|
|
|
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-header__content')
|
|
18
20
|
}, props), children);
|
package/es/HeaderLogo/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 = ["href", "src", "altText", "className"];
|
|
4
4
|
import React from 'react';
|
|
5
|
+
import Base from '@digigov/react-core/Base';
|
|
5
6
|
import clsx from 'clsx';
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -14,7 +15,8 @@ export var HeaderLogo = /*#__PURE__*/React.forwardRef(function HeaderLogo(_ref,
|
|
|
14
15
|
className = _ref.className,
|
|
15
16
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
16
17
|
|
|
17
|
-
return /*#__PURE__*/React.createElement(
|
|
18
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
19
|
+
as: "a",
|
|
18
20
|
href: href,
|
|
19
21
|
ref: ref,
|
|
20
22
|
className: clsx(className, true && 'govgr-header-link')
|
|
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["href", "src", "altText", "className"];
|
|
4
4
|
import React from 'react';
|
|
5
|
+
import Base from '@digigov/react-core/Base';
|
|
5
6
|
import clsx from 'clsx';
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -14,7 +15,8 @@ export var HeaderSecondaryLogo = /*#__PURE__*/React.forwardRef(function HeaderSe
|
|
|
14
15
|
className = _ref.className,
|
|
15
16
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
16
17
|
|
|
17
|
-
return /*#__PURE__*/React.createElement(
|
|
18
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
19
|
+
as: "a",
|
|
18
20
|
href: href,
|
|
19
21
|
ref: ref,
|
|
20
22
|
className: clsx(className, true && 'govgr-header-link')
|
|
@@ -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 HeaderSection = /*#__PURE__*/React.forwardRef(function HeaderSection(
|
|
|
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-header__container')
|
|
18
20
|
}, 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 HeaderSubtitle = /*#__PURE__*/React.forwardRef(function HeaderSubtitl
|
|
|
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)
|
|
18
20
|
}, props), children);
|
package/es/HeaderTitle/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 = ["href", "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
|
/**
|
|
@@ -14,7 +15,8 @@ export var HeaderTitle = /*#__PURE__*/React.forwardRef(function HeaderTitle(_ref
|
|
|
14
15
|
children = _ref.children,
|
|
15
16
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
16
17
|
|
|
17
|
-
return /*#__PURE__*/React.createElement(
|
|
18
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
19
|
+
as: "a",
|
|
18
20
|
href: href,
|
|
19
21
|
ref: ref,
|
|
20
22
|
className: clsx(className, true && 'govgr-header-title')
|
package/es/Heading/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 = ["size", "element", "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
|
var getComponentBySize = function getComponentBySize(size) {
|
|
@@ -37,7 +38,8 @@ export var Heading = /*#__PURE__*/React.forwardRef(function Heading(_ref, ref) {
|
|
|
37
38
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
38
39
|
|
|
39
40
|
var Component = element ? element : getComponentBySize(size);
|
|
40
|
-
return /*#__PURE__*/React.createElement(
|
|
41
|
+
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
42
|
+
as: Component,
|
|
41
43
|
ref: ref,
|
|
42
44
|
className: clsx(className, size === 'xl' && 'govgr-heading-xl', size === 'l' && 'govgr-heading-l', size === 'm' && 'govgr-heading-m', size === 's' && 'govgr-heading-s')
|
|
43
45
|
}, 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 = ["size", "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
|
/**
|
|
@@ -15,7 +16,8 @@ export var HeadingCaption = /*#__PURE__*/React.forwardRef(function HeadingCaptio
|
|
|
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: "span",
|
|
19
21
|
ref: ref,
|
|
20
22
|
className: clsx(className, size === 'xl' && 'govgr-caption-xl', size === 'l' && 'govgr-caption-l', size === 'm' && 'govgr-caption-m')
|
|
21
23
|
}, props), children);
|