@digigov/react-core 1.0.0-6b93ebf2 → 1.0.0-88820b1e
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/AccessibilityMenuButton/index.js +1 -1
- package/Accordion/index.d.ts +19 -1
- package/Accordion/index.js +7 -2
- package/AccordionSection/index.d.ts +1 -2
- package/AccordionSection/index.js +2 -4
- package/AdminAside/index.d.ts +1 -1
- package/AdminHeaderContent/__snapshots__/index.spec.tsx.snap +16 -0
- package/{AdminHeaderSection → AdminHeaderContent}/index.d.ts +4 -4
- package/{AdminHeaderSection → AdminHeaderContent}/index.js +6 -6
- package/{AdminHeaderSection → AdminHeaderContent}/index.spec.js +3 -3
- package/AdminLayout/index.js +1 -1
- package/AdminMain/index.d.ts +1 -1
- package/AdminTopSection/index.d.ts +16 -1
- package/AdminTopSection/index.js +6 -3
- package/Aside/__snapshots__/index.test.tsx.snap +2 -2
- package/AutoCompleteStatus/__snapshots__/index.test.tsx.snap +2 -2
- package/AutoCompleteStatusWrapper/__snapshots__/index.test.tsx.snap +2 -2
- package/AutoCompleteWrapper/index.d.ts +12 -11
- package/AutoCompleteWrapper/index.js +3 -3
- package/BackLink/__snapshots__/index.test.tsx.snap +14 -4
- package/BannerContainer/__snapshots__/index.test.tsx.snap +16 -0
- package/BottomInfo/__snapshots__/index.test.tsx.snap +29 -0
- package/BottomInfoContainer/__snapshots__/index.test.tsx.snap +29 -0
- package/BottomInfoContent/__snapshots__/index.test.tsx.snap +25 -0
- package/BottomInfoContent/index.d.ts +1 -1
- package/CHANGELOG.md +1 -1
- package/CardAction/__snapshots__/index.test.tsx.snap +2 -2
- package/CheckboxConditional/__snapshots__/index.test.tsx.snap +2 -5
- package/Chip/__snapshots__/index.test.tsx.snap +5 -30
- package/Chip/index.d.ts +1 -1
- package/Chip/index.js +1 -1
- package/{esm/ChipSection → ChipContainer}/__snapshots__/index.spec.tsx.snap +3 -3
- package/ChipContainer/index.d.ts +14 -0
- package/{ChipSection → ChipContainer}/index.js +5 -5
- package/ChipContainer/index.spec.js +15 -0
- package/ChipHeading/__snapshots__/index.test.tsx.snap +13 -8
- package/ChipHeading/index.d.ts +3 -3
- package/ChipHeading/index.js +6 -9
- package/ChipKeyValue/__snapshots__/index.test.tsx.snap +16 -0
- package/CloseButton/__snapshots__/index.test.tsx.snap +51 -0
- package/CloseButton/index.d.ts +9 -0
- package/{FilterCloseButton → CloseButton}/index.js +8 -10
- package/{FooterMeta → CloseButton}/index.test.js +3 -3
- package/Container/__snapshots__/index.test.tsx.snap +5 -5
- package/DateInputItem/__snapshots__/index.test.tsx.snap +6 -6
- package/DateInputItem/index.js +1 -1
- package/Drawer/__snapshots__/index.test.tsx.snap +53 -52
- package/DrawerHeading/__snapshots__/index.test.tsx.snap +61 -40
- package/DrawerHeading/index.d.ts +3 -3
- package/DrawerHeading/index.js +14 -17
- package/DropdownButton/__snapshots__/index.test.tsx.snap +162 -108
- package/ErrorSummary/__snapshots__/index.test.tsx.snap +37 -0
- package/FieldContainer/__snapshots__/index.test.tsx.snap +6 -15
- package/FieldContainer/index.d.ts +1 -1
- package/FieldContainer/index.js +3 -6
- package/FileUploadContainer/__snapshots__/index.test.tsx.snap +2 -2
- package/FileUploadContainer/index.d.ts +2 -2
- package/FileUploadContainer/index.js +4 -4
- package/FileUploadContainer/index.test.js +2 -2
- package/FilterContainer/__snapshots__/index.test.tsx.snap +16 -0
- package/FilterContainer/index.d.ts +38 -0
- package/{FilterSection → FilterContainer}/index.js +6 -6
- package/FilterContainer/index.test.js +15 -0
- package/FilterContent/index.d.ts +1 -1
- package/FilterContent/index.js +1 -1
- package/{es/FilterHeading → FilterHeadingContainer}/__snapshots__/index.test.tsx.snap +3 -3
- package/FilterHeadingContainer/index.d.ts +12 -0
- package/{FilterHeading → FilterHeadingContainer}/index.js +6 -6
- package/{FilterHeading → FilterHeadingContainer}/index.test.js +3 -3
- package/FilterSelectedSection/index.d.ts +1 -7
- package/FilterSelectedSection/index.js +3 -5
- package/FooterContainer/__snapshots__/index.test.tsx.snap +20 -7
- package/FooterContainer/index.d.ts +3 -12
- package/FooterContainer/index.js +5 -11
- package/FooterContent/index.d.ts +1 -1
- package/FooterContent/index.js +1 -1
- package/FooterHeading/__snapshots__/index.test.tsx.snap +42 -24
- package/FooterHeading/index.d.ts +3 -3
- package/FooterHeading/index.js +8 -5
- package/FooterInfo/__snapshots__/index.test.tsx.snap +16 -0
- package/{FooterMeta → FooterInfo}/index.d.ts +5 -5
- package/{FooterMeta → FooterInfo}/index.js +7 -7
- package/{FooterInlineList → FooterInfo}/index.test.js +3 -3
- package/FooterInfoSection/__snapshots__/index.test.tsx.snap +50 -0
- package/FooterInfoSection/index.d.ts +14 -0
- package/{FooterMetaItem → FooterInfoSection}/index.js +7 -7
- package/{FooterMetaItem → FooterInfoSection}/index.test.js +7 -7
- package/FooterList/index.d.ts +8 -2
- package/FooterList/index.js +5 -3
- package/FooterNavigation/index.d.ts +1 -1
- package/FooterNavigation/index.js +1 -1
- package/FooterNavigationSection/__snapshots__/index.test.tsx.snap +20 -0
- package/FooterNavigationSection/index.d.ts +11 -0
- package/{FooterSection → FooterNavigationSection}/index.js +7 -7
- package/FooterNavigationSection/index.test.js +17 -0
- package/Grid/index.d.ts +1 -1
- package/Grid/index.js +1 -1
- package/HeaderSection/__snapshots__/index.test.tsx.snap +2 -2
- package/HeaderSection/index.js +1 -1
- package/Heading/__snapshots__/index.test.tsx.snap +66 -31
- package/Heading/index.d.ts +14 -14
- package/Heading/index.js +7 -4
- package/Heading/index.test.js +43 -26
- package/HeadingCaption/index.d.ts +3 -3
- package/HeadingCaption/index.js +3 -3
- package/Hint/__snapshots__/index.test.tsx.snap +52 -29
- package/Hint/index.d.ts +3 -11
- package/Hint/index.js +4 -3
- package/Hint/index.test.js +3 -3
- package/KitchenSinkHeading/index.d.ts +1 -1
- package/Layout/__snapshots__/index.test.tsx.snap +2 -2
- package/Layout/index.js +1 -1
- package/List/__snapshots__/index.test.tsx.snap +8 -8
- package/List/index.d.ts +11 -9
- package/List/index.js +5 -5
- package/List/index.test.js +4 -4
- package/ModalContainer/__snapshots__/index.test.tsx.snap +1 -1
- package/ModalContent/__snapshots__/index.test.tsx.snap +2 -2
- package/ModalHeading/__snapshots__/index.test.tsx.snap +15 -12
- package/ModalHeading/index.d.ts +3 -3
- package/ModalHeading/index.js +7 -11
- package/NavMenuContainer/__snapshots__/index.test.tsx.snap +1 -1
- package/NavMenuContainerContent/index.d.ts +1 -1
- package/NormalText/__snapshots__/index.test.tsx.snap +604 -366
- package/NormalText/index.d.ts +10 -33
- package/NormalText/index.js +8 -6
- package/NormalText/index.test.js +92 -92
- package/NotificationBannerHeading/index.d.ts +1 -1
- package/PageTitleCaption/__snapshots__/index.test.tsx.snap +102 -0
- package/PageTitleCaption/index.d.ts +9 -0
- package/PageTitleCaption/index.js +33 -0
- package/PageTitleCaption/index.test.js +47 -0
- package/PageTitleContainer/__snapshots__/index.test.tsx.snap +16 -0
- package/PageTitleContainer/index.d.ts +9 -0
- package/{FooterInlineListItem → PageTitleContainer}/index.js +7 -7
- package/PageTitleContainer/index.test.js +15 -0
- package/PageTitleHeading/__snapshots__/index.test.tsx.snap +54 -36
- package/PageTitleHeading/index.d.ts +1 -1
- package/PageTitleHeading/index.js +2 -6
- package/Pagination/__snapshots__/index.spec.tsx.snap +17 -0
- package/Pagination/index.d.ts +4 -4
- package/Pagination/index.js +4 -4
- package/Pagination/index.spec.js +8 -0
- package/PaginationListItem/__snapshots__/index.spec.tsx.snap +15 -15
- package/PaginationListItem/index.d.ts +3 -2
- package/PaginationListItem/index.js +4 -3
- package/PaginationListItem/index.spec.js +4 -4
- package/Paragraph/__snapshots__/index.test.tsx.snap +851 -375
- package/Paragraph/index.d.ts +2 -2
- package/Paragraph/index.test.js +92 -92
- package/PhaseBannerHeaderContainer/__snapshots__/inde.test.tsx.snap +2 -2
- package/PhaseBannerHeaderContainer/index.js +1 -1
- package/PhaseBannerTag/__snapshots__/index.test.tsx.snap +2 -2
- package/PhaseBannerTag/index.js +1 -1
- package/RadioConditional/__snapshots__/index.test.tsx.snap +2 -5
- package/ResultsActionBar/__snapshots__/indext.test.tsx.snap +2 -2
- package/ResultsActionBar/index.js +1 -1
- package/ResultsHeading/__snapshots__/index.test.tsx.snap +2 -2
- package/ResultsHeading/index.js +1 -1
- package/ResultsHeadingActions/__snapshots__/index.test.tsx.snap +16 -7
- package/ResultsHeadingActions/index.js +6 -6
- package/SearchButton/__snapshots__/index.test.tsx.snap +41 -26
- package/SearchButton/index.d.ts +1 -1
- package/SearchButton/index.js +1 -1
- package/{esm/SearchSection → SearchContainer}/__snapshots__/index.test.tsx.snap +3 -3
- package/SearchContainer/index.d.ts +9 -0
- package/{SearchSection → SearchContainer}/index.js +4 -4
- package/SearchContainer/index.test.js +15 -0
- package/Section/__snapshots__/index.test.tsx.snap +16 -0
- package/SectionBreak/__snapshots__/index.test.tsx.snap +6 -6
- package/SelectContainer/index.js +2 -4
- package/SelectOption/__snapshots__/index.test.tsx.snap +4 -4
- package/SelectOption/index.js +3 -7
- package/SingleCharacterInput/__snapshots__/index.test.tsx.snap +198 -0
- package/SingleCharacterInput/index.d.ts +18 -0
- package/SingleCharacterInput/index.js +44 -0
- package/{SingleCharacterInputItem → SingleCharacterInput}/index.test.js +18 -27
- package/SingleCharacterInputs/__snapshots__/index.test.tsx.snap +16 -0
- package/SingleCharacterInputs/index.d.ts +11 -0
- package/{SingleCharacterInputContainer → SingleCharacterInputs}/index.js +6 -6
- package/{SingleCharacterInputContainer → SingleCharacterInputs}/index.test.js +3 -3
- package/Stack/__snapshots__/index.test.tsx.snap +516 -0
- package/{ChipSectionWrapper → Stack}/index.d.ts +28 -5
- package/Stack/index.js +45 -0
- package/Stack/index.test.d.ts +1 -0
- package/Stack/index.test.js +254 -0
- package/StepNavAccordionHeadingText/__snapshots__/index.test.tsx.snap +15 -45
- package/StepNavAccordionHeadingText/index.d.ts +8 -19
- package/StepNavAccordionHeadingText/index.js +3 -4
- package/StepNavAccordionHeadingText/index.test.js +4 -21
- package/StepNavAccordionSummaryHeading/__snapshots__/index.test.tsx.snap +8 -8
- package/SvgIcon/__snapshots__/index.test.tsx.snap +39 -16
- package/SvgIcon/index.d.ts +22 -21
- package/SvgIcon/index.js +1 -1
- package/SvgIcon/index.test.js +36 -28
- package/Table/index.d.ts +1 -1
- package/TableCaption/index.js +1 -1
- package/TableHeadCell/__snapshots__/index.test.tsx.snap +53 -53
- package/TableHeadCell/index.d.ts +19 -19
- package/TableHeadCell/index.js +3 -3
- package/TableHeadCell/index.test.js +24 -24
- package/TabsHeading/__snapshots__/index.test.tsx.snap +75 -24
- package/TabsHeading/index.d.ts +4 -4
- package/TabsHeading/index.js +10 -8
- package/TabsListItem/index.d.ts +7 -8
- package/TabsListItem/index.js +5 -5
- package/TabsListItem/index.test.js +8 -8
- package/TaskListItemHeading/__snapshots__/index.test.tsx.snap +4 -4
- package/TaskListItemHeading/index.d.ts +4 -19
- package/TaskListItemHeading/index.js +9 -33
- package/TaskListItemTag/__snapshots__/index.test.tsx.snap +18 -18
- package/TaskListItemTag/index.d.ts +7 -7
- package/TaskListItemTag/index.js +3 -3
- package/TaskListItemTag/index.test.js +6 -6
- package/TextInput/__snapshots__/index.test.tsx.snap +204 -204
- package/TextInput/index.d.ts +26 -25
- package/TextInput/index.js +4 -6
- package/TextInput/index.test.js +114 -114
- package/Timeline/index.d.ts +7 -7
- package/Timeline/index.js +4 -4
- package/Typography/__snapshots__/index.test.tsx.snap +181 -0
- package/Typography/index.d.ts +30 -0
- package/{ChipSectionWrapper → Typography}/index.js +13 -10
- package/Typography/index.test.d.ts +1 -0
- package/Typography/index.test.js +99 -0
- package/Unpurge/index.js +1 -1
- package/WarningText/__snapshots__/index.test.tsx.snap +31 -0
- package/WarningText/index.d.ts +7 -1
- package/WarningText/index.js +4 -2
- package/WarningText/index.test.js +8 -0
- package/es/AccessibilityMenuButton/index.js +1 -1
- package/es/Accordion/index.js +7 -2
- package/es/AccordionSection/index.js +2 -4
- package/es/AdminHeaderContent/__snapshots__/index.spec.tsx.snap +16 -0
- package/es/{AdminHeaderSection → AdminHeaderContent}/index.js +4 -4
- package/es/AdminHeaderContent/index.spec.js +9 -0
- package/es/AdminLayout/index.js +1 -1
- package/es/AdminTopSection/index.js +6 -3
- package/es/Aside/__snapshots__/index.test.tsx.snap +2 -2
- package/es/AutoCompleteStatus/__snapshots__/index.test.tsx.snap +2 -2
- package/es/AutoCompleteStatusWrapper/__snapshots__/index.test.tsx.snap +2 -2
- package/es/AutoCompleteWrapper/index.js +3 -3
- package/es/BackLink/__snapshots__/index.test.tsx.snap +14 -4
- package/es/BannerContainer/__snapshots__/index.test.tsx.snap +16 -0
- package/es/BottomInfo/__snapshots__/index.test.tsx.snap +29 -0
- package/es/BottomInfoContainer/__snapshots__/index.test.tsx.snap +29 -0
- package/es/BottomInfoContent/__snapshots__/index.test.tsx.snap +25 -0
- package/es/CardAction/__snapshots__/index.test.tsx.snap +2 -2
- package/es/CheckboxConditional/__snapshots__/index.test.tsx.snap +2 -5
- package/es/Chip/__snapshots__/index.test.tsx.snap +5 -30
- package/es/Chip/index.js +1 -1
- package/{src/ChipSection → es/ChipContainer}/__snapshots__/index.spec.tsx.snap +3 -3
- package/{esm/ChipSection → es/ChipContainer}/index.js +3 -3
- package/es/ChipContainer/index.spec.js +9 -0
- package/es/ChipHeading/__snapshots__/index.test.tsx.snap +13 -8
- package/es/ChipHeading/index.js +6 -8
- package/es/ChipKeyValue/__snapshots__/index.test.tsx.snap +16 -0
- package/es/CloseButton/__snapshots__/index.test.tsx.snap +51 -0
- package/{esm/FilterCloseButton → es/CloseButton}/index.js +6 -8
- package/es/CloseButton/index.test.js +9 -0
- package/es/Container/__snapshots__/index.test.tsx.snap +5 -5
- package/es/DateInputItem/__snapshots__/index.test.tsx.snap +6 -6
- package/es/DateInputItem/index.js +1 -1
- package/es/Drawer/__snapshots__/index.test.tsx.snap +53 -52
- package/es/DrawerHeading/__snapshots__/index.test.tsx.snap +61 -40
- package/es/DrawerHeading/index.js +14 -16
- package/es/DropdownButton/__snapshots__/index.test.tsx.snap +162 -108
- package/es/ErrorSummary/__snapshots__/index.test.tsx.snap +37 -0
- package/es/FieldContainer/__snapshots__/index.test.tsx.snap +6 -15
- package/es/FieldContainer/index.js +3 -6
- package/es/FileUploadContainer/__snapshots__/index.test.tsx.snap +2 -2
- package/es/FileUploadContainer/index.js +4 -4
- package/es/FileUploadContainer/index.test.js +2 -2
- package/es/FilterContainer/__snapshots__/index.test.tsx.snap +16 -0
- package/es/{FilterSection → FilterContainer}/index.js +4 -4
- package/es/FilterContainer/index.test.js +9 -0
- package/es/FilterContent/index.js +1 -1
- package/{esm/FilterHeading → es/FilterHeadingContainer}/__snapshots__/index.test.tsx.snap +3 -3
- package/es/{FilterHeading → FilterHeadingContainer}/index.js +4 -4
- package/es/FilterHeadingContainer/index.test.js +9 -0
- package/es/FilterSelectedSection/index.js +3 -5
- package/es/FooterContainer/__snapshots__/index.test.tsx.snap +20 -7
- package/es/FooterContainer/index.js +5 -10
- package/es/FooterContent/index.js +1 -1
- package/es/FooterHeading/__snapshots__/index.test.tsx.snap +42 -24
- package/es/FooterHeading/index.js +8 -5
- package/es/FooterInfo/__snapshots__/index.test.tsx.snap +16 -0
- package/{esm/FooterMeta → es/FooterInfo}/index.js +5 -5
- package/es/FooterInfo/index.test.js +9 -0
- package/es/FooterInfoSection/__snapshots__/index.test.tsx.snap +50 -0
- package/es/{FooterMetaItem → FooterInfoSection}/index.js +5 -5
- package/es/FooterInfoSection/index.test.js +25 -0
- package/es/FooterList/index.js +5 -3
- package/es/FooterNavigation/index.js +1 -1
- package/es/FooterNavigationSection/__snapshots__/index.test.tsx.snap +20 -0
- package/es/{FooterSection → FooterNavigationSection}/index.js +5 -5
- package/es/FooterNavigationSection/index.test.js +11 -0
- package/es/Grid/index.js +1 -1
- package/es/HeaderSection/__snapshots__/index.test.tsx.snap +2 -2
- package/es/HeaderSection/index.js +1 -1
- package/es/Heading/__snapshots__/index.test.tsx.snap +66 -31
- package/es/Heading/index.js +7 -4
- package/es/Heading/index.test.js +43 -26
- package/es/HeadingCaption/index.js +3 -3
- package/es/Hint/__snapshots__/index.test.tsx.snap +52 -29
- package/es/Hint/index.js +4 -3
- package/es/Hint/index.test.js +3 -3
- package/es/Layout/__snapshots__/index.test.tsx.snap +2 -2
- package/es/Layout/index.js +1 -1
- package/es/List/__snapshots__/index.test.tsx.snap +8 -8
- package/es/List/index.js +5 -5
- package/es/List/index.test.js +4 -4
- package/es/ModalContainer/__snapshots__/index.test.tsx.snap +1 -1
- package/es/ModalContent/__snapshots__/index.test.tsx.snap +2 -2
- package/es/ModalHeading/__snapshots__/index.test.tsx.snap +15 -12
- package/es/ModalHeading/index.js +7 -10
- package/es/NavMenuContainer/__snapshots__/index.test.tsx.snap +1 -1
- package/es/NormalText/__snapshots__/index.test.tsx.snap +604 -366
- package/es/NormalText/index.js +8 -6
- package/es/NormalText/index.test.js +92 -92
- package/es/PageTitleCaption/__snapshots__/index.test.tsx.snap +102 -0
- package/es/PageTitleCaption/index.js +18 -0
- package/es/PageTitleCaption/index.test.js +41 -0
- package/es/PageTitleContainer/__snapshots__/index.test.tsx.snap +16 -0
- package/{esm/FooterInlineListItem → es/PageTitleContainer}/index.js +5 -5
- package/es/PageTitleContainer/index.test.js +9 -0
- package/es/PageTitleHeading/__snapshots__/index.test.tsx.snap +54 -36
- package/es/PageTitleHeading/index.js +2 -6
- package/es/Pagination/__snapshots__/index.spec.tsx.snap +17 -0
- package/es/Pagination/index.js +4 -4
- package/es/Pagination/index.spec.js +8 -0
- package/es/PaginationListItem/__snapshots__/index.spec.tsx.snap +15 -15
- package/es/PaginationListItem/index.js +4 -3
- package/es/PaginationListItem/index.spec.js +4 -4
- package/es/Paragraph/__snapshots__/index.test.tsx.snap +851 -375
- package/es/Paragraph/index.test.js +92 -92
- package/es/PhaseBannerHeaderContainer/__snapshots__/inde.test.tsx.snap +2 -2
- package/es/PhaseBannerHeaderContainer/index.js +1 -1
- package/es/PhaseBannerTag/__snapshots__/index.test.tsx.snap +2 -2
- package/es/PhaseBannerTag/index.js +1 -1
- package/es/RadioConditional/__snapshots__/index.test.tsx.snap +2 -5
- package/es/ResultsActionBar/__snapshots__/indext.test.tsx.snap +2 -2
- package/es/ResultsActionBar/index.js +1 -1
- package/es/ResultsHeading/__snapshots__/index.test.tsx.snap +2 -2
- package/es/ResultsHeading/index.js +1 -1
- package/es/ResultsHeadingActions/__snapshots__/index.test.tsx.snap +16 -7
- package/es/ResultsHeadingActions/index.js +6 -6
- package/es/SearchButton/__snapshots__/index.test.tsx.snap +41 -26
- package/es/SearchButton/index.js +1 -1
- package/{SearchSection → es/SearchContainer}/__snapshots__/index.test.tsx.snap +3 -3
- package/es/{SearchSection → SearchContainer}/index.js +2 -2
- package/es/SearchContainer/index.test.js +9 -0
- package/es/Section/__snapshots__/index.test.tsx.snap +16 -0
- package/es/SectionBreak/__snapshots__/index.test.tsx.snap +6 -6
- package/es/SelectContainer/index.js +2 -4
- package/es/SelectOption/__snapshots__/index.test.tsx.snap +4 -4
- package/es/SelectOption/index.js +3 -7
- package/es/SingleCharacterInput/__snapshots__/index.test.tsx.snap +198 -0
- package/es/SingleCharacterInput/index.js +28 -0
- package/{esm/SingleCharacterInputItem → es/SingleCharacterInput}/index.test.js +18 -27
- package/es/SingleCharacterInputs/__snapshots__/index.test.tsx.snap +16 -0
- package/{esm/SingleCharacterInputContainer → es/SingleCharacterInputs}/index.js +4 -4
- package/es/SingleCharacterInputs/index.test.js +9 -0
- package/es/Stack/__snapshots__/index.test.tsx.snap +516 -0
- package/es/Stack/index.js +29 -0
- package/es/Stack/index.test.js +248 -0
- package/es/StepNavAccordionHeadingText/__snapshots__/index.test.tsx.snap +15 -45
- package/es/StepNavAccordionHeadingText/index.js +3 -4
- package/es/StepNavAccordionHeadingText/index.test.js +4 -21
- package/es/StepNavAccordionSummaryHeading/__snapshots__/index.test.tsx.snap +8 -8
- package/es/SvgIcon/__snapshots__/index.test.tsx.snap +39 -16
- package/es/SvgIcon/index.js +1 -1
- package/es/SvgIcon/index.test.js +36 -28
- package/es/TableCaption/index.js +1 -1
- package/es/TableHeadCell/__snapshots__/index.test.tsx.snap +53 -53
- package/es/TableHeadCell/index.js +3 -3
- package/es/TableHeadCell/index.test.js +24 -24
- package/es/TabsHeading/__snapshots__/index.test.tsx.snap +75 -24
- package/es/TabsHeading/index.js +10 -8
- package/es/TabsListItem/index.js +5 -5
- package/es/TabsListItem/index.test.js +8 -8
- package/es/TaskListItemHeading/__snapshots__/index.test.tsx.snap +4 -4
- package/es/TaskListItemHeading/index.js +9 -32
- package/es/TaskListItemTag/__snapshots__/index.test.tsx.snap +18 -18
- package/es/TaskListItemTag/index.js +3 -3
- package/es/TaskListItemTag/index.test.js +6 -6
- package/es/TextInput/__snapshots__/index.test.tsx.snap +204 -204
- package/es/TextInput/index.js +4 -6
- package/es/TextInput/index.test.js +114 -114
- package/es/Timeline/index.js +4 -4
- package/es/Typography/__snapshots__/index.test.tsx.snap +181 -0
- package/es/Typography/index.js +26 -0
- package/es/Typography/index.test.js +93 -0
- package/es/Unpurge/index.js +1 -1
- package/es/WarningText/__snapshots__/index.test.tsx.snap +31 -0
- package/es/WarningText/index.js +4 -2
- package/es/WarningText/index.test.js +8 -0
- package/es/index.js +15 -15
- package/es/registry.js +30 -30
- package/esm/AccessibilityMenuButton/index.js +1 -1
- package/esm/Accordion/index.js +7 -2
- package/esm/AccordionSection/index.js +2 -4
- package/esm/AdminHeaderContent/__snapshots__/index.spec.tsx.snap +16 -0
- package/esm/{AdminHeaderSection → AdminHeaderContent}/index.js +4 -4
- package/esm/AdminHeaderContent/index.spec.js +9 -0
- package/esm/AdminLayout/index.js +1 -1
- package/esm/AdminTopSection/index.js +6 -3
- package/esm/Aside/__snapshots__/index.test.tsx.snap +2 -2
- package/esm/AutoCompleteStatus/__snapshots__/index.test.tsx.snap +2 -2
- package/esm/AutoCompleteStatusWrapper/__snapshots__/index.test.tsx.snap +2 -2
- package/esm/AutoCompleteWrapper/index.js +3 -3
- package/esm/BackLink/__snapshots__/index.test.tsx.snap +14 -4
- package/esm/BannerContainer/__snapshots__/index.test.tsx.snap +16 -0
- package/esm/BottomInfo/__snapshots__/index.test.tsx.snap +29 -0
- package/esm/BottomInfoContainer/__snapshots__/index.test.tsx.snap +29 -0
- package/esm/BottomInfoContent/__snapshots__/index.test.tsx.snap +25 -0
- package/esm/CardAction/__snapshots__/index.test.tsx.snap +2 -2
- package/esm/CheckboxConditional/__snapshots__/index.test.tsx.snap +2 -5
- package/esm/Chip/__snapshots__/index.test.tsx.snap +5 -30
- package/esm/Chip/index.js +1 -1
- package/{ChipSection → esm/ChipContainer}/__snapshots__/index.spec.tsx.snap +3 -3
- package/{es/ChipSection → esm/ChipContainer}/index.js +3 -3
- package/esm/ChipContainer/index.spec.js +9 -0
- package/esm/ChipHeading/__snapshots__/index.test.tsx.snap +13 -8
- package/esm/ChipHeading/index.js +6 -8
- package/esm/ChipKeyValue/__snapshots__/index.test.tsx.snap +16 -0
- package/esm/CloseButton/__snapshots__/index.test.tsx.snap +51 -0
- package/{es/FilterCloseButton → esm/CloseButton}/index.js +6 -8
- package/esm/CloseButton/index.test.js +9 -0
- package/esm/Container/__snapshots__/index.test.tsx.snap +5 -5
- package/esm/DateInputItem/__snapshots__/index.test.tsx.snap +6 -6
- package/esm/DateInputItem/index.js +1 -1
- package/esm/Drawer/__snapshots__/index.test.tsx.snap +53 -52
- package/esm/DrawerHeading/__snapshots__/index.test.tsx.snap +61 -40
- package/esm/DrawerHeading/index.js +14 -16
- package/esm/DropdownButton/__snapshots__/index.test.tsx.snap +162 -108
- package/esm/ErrorSummary/__snapshots__/index.test.tsx.snap +37 -0
- package/esm/FieldContainer/__snapshots__/index.test.tsx.snap +6 -15
- package/esm/FieldContainer/index.js +3 -6
- package/esm/FileUploadContainer/__snapshots__/index.test.tsx.snap +2 -2
- package/esm/FileUploadContainer/index.js +4 -4
- package/esm/FileUploadContainer/index.test.js +2 -2
- package/esm/FilterContainer/__snapshots__/index.test.tsx.snap +16 -0
- package/esm/{FilterSection → FilterContainer}/index.js +4 -4
- package/esm/FilterContainer/index.test.js +9 -0
- package/esm/FilterContent/index.js +1 -1
- package/{src/FilterHeading → esm/FilterHeadingContainer}/__snapshots__/index.test.tsx.snap +3 -3
- package/esm/{FilterHeading → FilterHeadingContainer}/index.js +4 -4
- package/esm/FilterHeadingContainer/index.test.js +9 -0
- package/esm/FilterSelectedSection/index.js +3 -5
- package/esm/FooterContainer/__snapshots__/index.test.tsx.snap +20 -7
- package/esm/FooterContainer/index.js +5 -10
- package/esm/FooterContent/index.js +1 -1
- package/esm/FooterHeading/__snapshots__/index.test.tsx.snap +42 -24
- package/esm/FooterHeading/index.js +8 -5
- package/esm/FooterInfo/__snapshots__/index.test.tsx.snap +16 -0
- package/{es/FooterMeta → esm/FooterInfo}/index.js +5 -5
- package/esm/FooterInfo/index.test.js +9 -0
- package/esm/FooterInfoSection/__snapshots__/index.test.tsx.snap +50 -0
- package/esm/{FooterMetaItem → FooterInfoSection}/index.js +5 -5
- package/esm/FooterInfoSection/index.test.js +25 -0
- package/esm/FooterList/index.js +5 -3
- package/esm/FooterNavigation/index.js +1 -1
- package/esm/FooterNavigationSection/__snapshots__/index.test.tsx.snap +20 -0
- package/esm/{FooterSection → FooterNavigationSection}/index.js +5 -5
- package/esm/FooterNavigationSection/index.test.js +11 -0
- package/esm/Grid/index.js +1 -1
- package/esm/HeaderSection/__snapshots__/index.test.tsx.snap +2 -2
- package/esm/HeaderSection/index.js +1 -1
- package/esm/Heading/__snapshots__/index.test.tsx.snap +66 -31
- package/esm/Heading/index.js +7 -4
- package/esm/Heading/index.test.js +43 -26
- package/esm/HeadingCaption/index.js +3 -3
- package/esm/Hint/__snapshots__/index.test.tsx.snap +52 -29
- package/esm/Hint/index.js +4 -3
- package/esm/Hint/index.test.js +3 -3
- package/esm/Layout/__snapshots__/index.test.tsx.snap +2 -2
- package/esm/Layout/index.js +1 -1
- package/esm/List/__snapshots__/index.test.tsx.snap +8 -8
- package/esm/List/index.js +5 -5
- package/esm/List/index.test.js +4 -4
- package/esm/ModalContainer/__snapshots__/index.test.tsx.snap +1 -1
- package/esm/ModalContent/__snapshots__/index.test.tsx.snap +2 -2
- package/esm/ModalHeading/__snapshots__/index.test.tsx.snap +15 -12
- package/esm/ModalHeading/index.js +7 -10
- package/esm/NavMenuContainer/__snapshots__/index.test.tsx.snap +1 -1
- package/esm/NormalText/__snapshots__/index.test.tsx.snap +604 -366
- package/esm/NormalText/index.js +8 -6
- package/esm/NormalText/index.test.js +92 -92
- package/esm/PageTitleCaption/__snapshots__/index.test.tsx.snap +102 -0
- package/esm/PageTitleCaption/index.js +18 -0
- package/esm/PageTitleCaption/index.test.js +41 -0
- package/esm/PageTitleContainer/__snapshots__/index.test.tsx.snap +16 -0
- package/{es/FooterInlineListItem → esm/PageTitleContainer}/index.js +5 -5
- package/esm/PageTitleContainer/index.test.js +9 -0
- package/esm/PageTitleHeading/__snapshots__/index.test.tsx.snap +54 -36
- package/esm/PageTitleHeading/index.js +2 -6
- package/esm/Pagination/__snapshots__/index.spec.tsx.snap +17 -0
- package/esm/Pagination/index.js +4 -4
- package/esm/Pagination/index.spec.js +8 -0
- package/esm/PaginationListItem/__snapshots__/index.spec.tsx.snap +15 -15
- package/esm/PaginationListItem/index.js +4 -3
- package/esm/PaginationListItem/index.spec.js +4 -4
- package/esm/Paragraph/__snapshots__/index.test.tsx.snap +851 -375
- package/esm/Paragraph/index.test.js +92 -92
- package/esm/PhaseBannerHeaderContainer/__snapshots__/inde.test.tsx.snap +2 -2
- package/esm/PhaseBannerHeaderContainer/index.js +1 -1
- package/esm/PhaseBannerTag/__snapshots__/index.test.tsx.snap +2 -2
- package/esm/PhaseBannerTag/index.js +1 -1
- package/esm/RadioConditional/__snapshots__/index.test.tsx.snap +2 -5
- package/esm/ResultsActionBar/__snapshots__/indext.test.tsx.snap +2 -2
- package/esm/ResultsActionBar/index.js +1 -1
- package/esm/ResultsHeading/__snapshots__/index.test.tsx.snap +2 -2
- package/esm/ResultsHeading/index.js +1 -1
- package/esm/ResultsHeadingActions/__snapshots__/index.test.tsx.snap +16 -7
- package/esm/ResultsHeadingActions/index.js +6 -6
- package/esm/SearchButton/__snapshots__/index.test.tsx.snap +41 -26
- package/esm/SearchButton/index.js +1 -1
- package/{src/SearchSection → esm/SearchContainer}/__snapshots__/index.test.tsx.snap +3 -3
- package/esm/{SearchSection → SearchContainer}/index.js +2 -2
- package/esm/SearchContainer/index.test.js +9 -0
- package/esm/Section/__snapshots__/index.test.tsx.snap +16 -0
- package/esm/SectionBreak/__snapshots__/index.test.tsx.snap +6 -6
- package/esm/SelectContainer/index.js +2 -4
- package/esm/SelectOption/__snapshots__/index.test.tsx.snap +4 -4
- package/esm/SelectOption/index.js +3 -7
- package/esm/SingleCharacterInput/__snapshots__/index.test.tsx.snap +198 -0
- package/esm/SingleCharacterInput/index.js +28 -0
- package/{es/SingleCharacterInputItem → esm/SingleCharacterInput}/index.test.js +18 -27
- package/esm/SingleCharacterInputs/__snapshots__/index.test.tsx.snap +16 -0
- package/{es/SingleCharacterInputContainer → esm/SingleCharacterInputs}/index.js +4 -4
- package/esm/SingleCharacterInputs/index.test.js +9 -0
- package/esm/Stack/__snapshots__/index.test.tsx.snap +516 -0
- package/esm/Stack/index.js +29 -0
- package/esm/Stack/index.test.js +248 -0
- package/esm/StepNavAccordionHeadingText/__snapshots__/index.test.tsx.snap +15 -45
- package/esm/StepNavAccordionHeadingText/index.js +3 -4
- package/esm/StepNavAccordionHeadingText/index.test.js +4 -21
- package/esm/StepNavAccordionSummaryHeading/__snapshots__/index.test.tsx.snap +8 -8
- package/esm/SvgIcon/__snapshots__/index.test.tsx.snap +39 -16
- package/esm/SvgIcon/index.js +1 -1
- package/esm/SvgIcon/index.test.js +36 -28
- package/esm/TableCaption/index.js +1 -1
- package/esm/TableHeadCell/__snapshots__/index.test.tsx.snap +53 -53
- package/esm/TableHeadCell/index.js +3 -3
- package/esm/TableHeadCell/index.test.js +24 -24
- package/esm/TabsHeading/__snapshots__/index.test.tsx.snap +75 -24
- package/esm/TabsHeading/index.js +10 -8
- package/esm/TabsListItem/index.js +5 -5
- package/esm/TabsListItem/index.test.js +8 -8
- package/esm/TaskListItemHeading/__snapshots__/index.test.tsx.snap +4 -4
- package/esm/TaskListItemHeading/index.js +9 -32
- package/esm/TaskListItemTag/__snapshots__/index.test.tsx.snap +18 -18
- package/esm/TaskListItemTag/index.js +3 -3
- package/esm/TaskListItemTag/index.test.js +6 -6
- package/esm/TextInput/__snapshots__/index.test.tsx.snap +204 -204
- package/esm/TextInput/index.js +4 -6
- package/esm/TextInput/index.test.js +114 -114
- package/esm/Timeline/index.js +4 -4
- package/esm/Typography/__snapshots__/index.test.tsx.snap +181 -0
- package/esm/Typography/index.js +26 -0
- package/esm/Typography/index.test.js +93 -0
- package/esm/Unpurge/index.js +1 -1
- package/esm/WarningText/__snapshots__/index.test.tsx.snap +31 -0
- package/esm/WarningText/index.js +4 -2
- package/esm/WarningText/index.test.js +8 -0
- package/esm/index.js +16 -16
- package/esm/registry.js +30 -30
- package/index.d.ts +15 -15
- package/index.js +105 -105
- package/package.json +3 -3
- package/registry.d.ts +15 -15
- package/registry.js +36 -36
- package/src/AccessibilityMenuButton/index.tsx +1 -1
- package/src/Accordion/index.tsx +36 -2
- package/src/AccordionSection/index.tsx +2 -12
- package/src/AccordionSectionSummary/index.tsx +5 -2
- package/src/AdminHeaderContent/__snapshots__/index.spec.tsx.snap +16 -0
- package/src/AdminHeaderContent/index.spec.tsx +10 -0
- package/src/AdminHeaderContent/index.tsx +27 -0
- package/src/AdminLayout/index.tsx +1 -1
- package/src/AdminTopSection/index.tsx +20 -2
- package/src/Aside/__snapshots__/index.test.tsx.snap +2 -2
- package/src/AutoCompleteStatus/__snapshots__/index.test.tsx.snap +2 -2
- package/src/AutoCompleteStatusWrapper/__snapshots__/index.test.tsx.snap +2 -2
- package/src/AutoCompleteWrapper/index.tsx +18 -23
- package/src/BackLink/__snapshots__/index.test.tsx.snap +14 -4
- package/src/BannerContainer/__snapshots__/index.test.tsx.snap +16 -0
- package/src/BottomInfo/__snapshots__/index.test.tsx.snap +29 -0
- package/src/BottomInfoContainer/__snapshots__/index.test.tsx.snap +29 -0
- package/src/BottomInfoContent/__snapshots__/index.test.tsx.snap +25 -0
- package/src/CardAction/__snapshots__/index.test.tsx.snap +2 -2
- package/src/CheckboxConditional/__snapshots__/index.test.tsx.snap +2 -5
- package/src/Chip/__snapshots__/index.test.tsx.snap +5 -30
- package/src/Chip/index.tsx +1 -1
- package/{es/ChipSection → src/ChipContainer}/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/ChipContainer/index.spec.tsx +8 -0
- package/src/{ChipSection → ChipContainer}/index.tsx +4 -4
- package/src/ChipHeading/__snapshots__/index.test.tsx.snap +13 -8
- package/src/ChipHeading/index.tsx +5 -13
- package/src/ChipKeyValue/__snapshots__/index.test.tsx.snap +16 -0
- package/src/CloseButton/__snapshots__/index.test.tsx.snap +51 -0
- package/src/CloseButton/index.test.tsx +8 -0
- package/src/CloseButton/index.tsx +29 -0
- package/src/Container/__snapshots__/index.test.tsx.snap +5 -5
- package/src/DateInputItem/__snapshots__/index.test.tsx.snap +6 -6
- package/src/DateInputItem/index.tsx +2 -2
- package/src/Drawer/__snapshots__/index.test.tsx.snap +53 -52
- package/src/DrawerHeading/__snapshots__/index.test.tsx.snap +61 -40
- package/src/DrawerHeading/index.tsx +14 -19
- package/src/DropdownButton/__snapshots__/index.test.tsx.snap +162 -108
- package/src/ErrorSummary/__snapshots__/index.test.tsx.snap +37 -0
- package/src/FieldContainer/__snapshots__/index.test.tsx.snap +6 -15
- package/src/FieldContainer/index.tsx +1 -1
- package/src/FileUploadContainer/__snapshots__/index.test.tsx.snap +2 -2
- package/src/FileUploadContainer/index.test.tsx +2 -2
- package/src/FileUploadContainer/index.tsx +3 -3
- package/src/FilterContainer/__snapshots__/index.test.tsx.snap +16 -0
- package/src/FilterContainer/index.test.tsx +8 -0
- package/src/{FilterSection → FilterContainer}/index.tsx +7 -7
- package/src/FilterContent/index.tsx +2 -2
- package/{FilterHeading → src/FilterHeadingContainer}/__snapshots__/index.test.tsx.snap +3 -3
- package/src/FilterHeadingContainer/index.test.tsx +8 -0
- package/src/{FilterHeading → FilterHeadingContainer}/index.tsx +7 -7
- package/src/FilterSelectedSection/index.tsx +2 -13
- package/src/FooterContainer/__snapshots__/index.test.tsx.snap +20 -7
- package/src/FooterContainer/index.tsx +5 -27
- package/src/FooterContent/index.tsx +1 -1
- package/src/FooterHeading/__snapshots__/index.test.tsx.snap +42 -24
- package/src/FooterHeading/index.tsx +10 -8
- package/src/FooterInfo/__snapshots__/index.test.tsx.snap +16 -0
- package/src/FooterInfo/index.test.tsx +8 -0
- package/src/{FooterMeta → FooterInfo}/index.tsx +7 -7
- package/src/FooterInfoSection/__snapshots__/index.test.tsx.snap +50 -0
- package/src/FooterInfoSection/index.test.tsx +20 -0
- package/src/FooterInfoSection/index.tsx +34 -0
- package/src/FooterList/index.tsx +11 -3
- package/src/FooterNavigation/index.tsx +1 -1
- package/src/FooterNavigationSection/__snapshots__/index.test.tsx.snap +20 -0
- package/src/FooterNavigationSection/index.test.tsx +8 -0
- package/src/FooterNavigationSection/index.tsx +29 -0
- package/src/Grid/index.tsx +6 -72
- package/src/HeaderSection/__snapshots__/index.test.tsx.snap +2 -2
- package/src/HeaderSection/index.tsx +1 -1
- package/src/Heading/__snapshots__/index.test.tsx.snap +66 -31
- package/src/Heading/index.test.tsx +17 -3
- package/src/Heading/index.tsx +18 -19
- package/src/HeadingCaption/index.tsx +5 -7
- package/src/Hint/__snapshots__/index.test.tsx.snap +52 -29
- package/src/Hint/index.test.tsx +3 -3
- package/src/Hint/index.tsx +6 -16
- package/src/Layout/__snapshots__/index.test.tsx.snap +2 -2
- package/src/Layout/index.tsx +2 -2
- package/src/List/__snapshots__/index.test.tsx.snap +8 -8
- package/src/List/index.test.tsx +4 -4
- package/src/List/index.tsx +14 -12
- package/src/ModalContainer/__snapshots__/index.test.tsx.snap +1 -1
- package/src/ModalContent/__snapshots__/index.test.tsx.snap +2 -2
- package/src/ModalHeading/__snapshots__/index.test.tsx.snap +15 -12
- package/src/ModalHeading/index.tsx +8 -12
- package/src/NavMenuContainer/__snapshots__/index.test.tsx.snap +1 -1
- package/src/NavVertical/index.tsx +1 -1
- package/src/NormalText/__snapshots__/index.test.tsx.snap +604 -366
- package/src/NormalText/index.test.tsx +66 -66
- package/src/NormalText/index.tsx +17 -49
- package/src/PageTitleCaption/__snapshots__/index.test.tsx.snap +102 -0
- package/src/PageTitleCaption/index.test.tsx +32 -0
- package/src/PageTitleCaption/index.tsx +22 -0
- package/src/PageTitleContainer/__snapshots__/index.test.tsx.snap +16 -0
- package/src/PageTitleContainer/index.test.tsx +8 -0
- package/src/PageTitleContainer/index.tsx +27 -0
- package/src/PageTitleHeading/__snapshots__/index.test.tsx.snap +54 -36
- package/src/PageTitleHeading/index.tsx +3 -3
- package/src/Pagination/__snapshots__/index.spec.tsx.snap +17 -0
- package/src/Pagination/index.spec.tsx +3 -0
- package/src/Pagination/index.tsx +5 -5
- package/src/PaginationListItem/__snapshots__/index.spec.tsx.snap +15 -15
- package/src/PaginationListItem/index.spec.tsx +4 -4
- package/src/PaginationListItem/index.tsx +11 -3
- package/src/Paragraph/__snapshots__/index.test.tsx.snap +851 -375
- package/src/Paragraph/index.test.tsx +66 -66
- package/src/Paragraph/index.tsx +1 -1
- package/src/PhaseBannerHeaderContainer/__snapshots__/inde.test.tsx.snap +2 -2
- package/src/PhaseBannerHeaderContainer/index.tsx +1 -1
- package/src/PhaseBannerTag/__snapshots__/index.test.tsx.snap +2 -2
- package/src/PhaseBannerTag/index.tsx +0 -1
- package/src/RadioConditional/__snapshots__/index.test.tsx.snap +2 -5
- package/src/ResultsActionBar/__snapshots__/indext.test.tsx.snap +2 -2
- package/src/ResultsActionBar/index.tsx +1 -1
- package/src/ResultsHeading/__snapshots__/index.test.tsx.snap +2 -2
- package/src/ResultsHeading/index.tsx +1 -1
- package/src/ResultsHeadingActions/__snapshots__/index.test.tsx.snap +16 -7
- package/src/ResultsHeadingActions/index.tsx +5 -5
- package/src/SearchButton/__snapshots__/index.test.tsx.snap +41 -26
- package/src/SearchButton/index.tsx +1 -1
- package/{es/SearchSection → src/SearchContainer}/__snapshots__/index.test.tsx.snap +3 -3
- package/src/SearchContainer/index.test.tsx +8 -0
- package/src/{SearchSection → SearchContainer}/index.tsx +5 -5
- package/src/Section/__snapshots__/index.test.tsx.snap +16 -0
- package/src/SectionBreak/__snapshots__/index.test.tsx.snap +6 -6
- package/src/SelectContainer/index.tsx +1 -2
- package/src/SelectOption/__snapshots__/index.test.tsx.snap +4 -4
- package/src/SelectOption/index.tsx +4 -4
- package/src/SingleCharacterInput/__snapshots__/index.test.tsx.snap +198 -0
- package/src/SingleCharacterInput/index.test.tsx +40 -0
- package/src/SingleCharacterInput/index.tsx +42 -0
- package/src/SingleCharacterInputs/__snapshots__/index.test.tsx.snap +16 -0
- package/src/SingleCharacterInputs/index.test.tsx +10 -0
- package/src/{SingleCharacterInputContainer → SingleCharacterInputs}/index.tsx +7 -7
- package/src/Stack/__snapshots__/index.test.tsx.snap +516 -0
- package/src/Stack/index.test.tsx +96 -0
- package/src/Stack/index.tsx +63 -0
- package/src/StepNavAccordionHeadingText/__snapshots__/index.test.tsx.snap +15 -45
- package/src/StepNavAccordionHeadingText/index.test.tsx +3 -23
- package/src/StepNavAccordionHeadingText/index.tsx +9 -25
- package/src/StepNavAccordionSummaryHeading/__snapshots__/index.test.tsx.snap +8 -8
- package/src/SvgIcon/__snapshots__/index.test.tsx.snap +39 -16
- package/src/SvgIcon/index.test.tsx +7 -4
- package/src/SvgIcon/index.tsx +24 -26
- package/src/TableCaption/index.tsx +1 -4
- package/src/TableHeadCell/__snapshots__/index.test.tsx.snap +53 -53
- package/src/TableHeadCell/index.test.tsx +24 -24
- package/src/TableHeadCell/index.tsx +25 -31
- package/src/TabsHeading/__snapshots__/index.test.tsx.snap +75 -24
- package/src/TabsHeading/index.tsx +7 -16
- package/src/TabsListItem/index.test.tsx +8 -8
- package/src/TabsListItem/index.tsx +10 -11
- package/src/TaskListItemHeading/__snapshots__/index.test.tsx.snap +4 -4
- package/src/TaskListItemHeading/index.tsx +6 -51
- package/src/TaskListItemTag/__snapshots__/index.test.tsx.snap +18 -18
- package/src/TaskListItemTag/index.test.tsx +6 -6
- package/src/TaskListItemTag/index.tsx +8 -10
- package/src/TextInput/__snapshots__/index.test.tsx.snap +204 -204
- package/src/TextInput/index.test.tsx +84 -84
- package/src/TextInput/index.tsx +33 -46
- package/src/Timeline/index.tsx +8 -8
- package/src/Typography/__snapshots__/index.test.tsx.snap +181 -0
- package/src/Typography/index.test.tsx +44 -0
- package/src/Typography/index.tsx +52 -0
- package/src/Unpurge/index.tsx +118 -0
- package/src/WarningText/__snapshots__/index.test.tsx.snap +31 -0
- package/src/WarningText/index.test.tsx +3 -0
- package/src/WarningText/index.tsx +13 -3
- package/src/index.ts +15 -15
- package/src/registry.js +30 -30
- package/AdminHeaderSection/__snapshots__/index.spec.tsx.snap +0 -16
- package/ChipSection/index.d.ts +0 -14
- package/ChipSection/index.spec.js +0 -15
- package/ChipSectionWrapper/__snapshots__/index.spec.tsx.snap +0 -16
- package/ChipSectionWrapper/index.spec.js +0 -15
- package/DropdownArrowDown/index.d.ts +0 -9
- package/DropdownArrowDown/index.js +0 -31
- package/FilterCloseButton/index.d.ts +0 -16
- package/FilterHeading/index.d.ts +0 -12
- package/FilterSection/__snapshots__/index.test.tsx.snap +0 -16
- package/FilterSection/index.d.ts +0 -38
- package/FilterSection/index.test.js +0 -15
- package/FooterInlineList/__snapshots__/index.test.tsx.snap +0 -16
- package/FooterInlineList/index.d.ts +0 -11
- package/FooterInlineList/index.js +0 -40
- package/FooterInlineListItem/__snapshots__/index.test.tsx.snap +0 -16
- package/FooterInlineListItem/index.d.ts +0 -9
- package/FooterInlineListItem/index.test.js +0 -15
- package/FooterMeta/__snapshots__/index.test.tsx.snap +0 -16
- package/FooterMetaItem/__snapshots__/index.test.tsx.snap +0 -50
- package/FooterMetaItem/index.d.ts +0 -16
- package/FooterSection/__snapshots__/index.test.tsx.snap +0 -16
- package/FooterSection/index.d.ts +0 -11
- package/FooterSection/index.test.js +0 -15
- package/SearchSection/index.d.ts +0 -9
- package/SearchSection/index.test.js +0 -15
- package/SingleCharacterInputContainer/__snapshots__/index.test.tsx.snap +0 -16
- package/SingleCharacterInputContainer/index.d.ts +0 -11
- package/SingleCharacterInputItem/__snapshots__/index.test.tsx.snap +0 -173
- package/SingleCharacterInputItem/index.d.ts +0 -33
- package/SingleCharacterInputItem/index.js +0 -50
- package/es/AdminHeaderSection/__snapshots__/index.spec.tsx.snap +0 -16
- package/es/AdminHeaderSection/index.spec.js +0 -9
- package/es/ChipSection/index.spec.js +0 -9
- package/es/ChipSectionWrapper/__snapshots__/index.spec.tsx.snap +0 -16
- package/es/ChipSectionWrapper/index.js +0 -23
- package/es/ChipSectionWrapper/index.spec.js +0 -9
- package/es/DropdownArrowDown/index.js +0 -18
- package/es/FilterHeading/index.test.js +0 -9
- package/es/FilterSection/__snapshots__/index.test.tsx.snap +0 -16
- package/es/FilterSection/index.test.js +0 -9
- package/es/FooterInlineList/__snapshots__/index.test.tsx.snap +0 -16
- package/es/FooterInlineList/index.js +0 -24
- package/es/FooterInlineList/index.test.js +0 -9
- package/es/FooterInlineListItem/__snapshots__/index.test.tsx.snap +0 -16
- package/es/FooterInlineListItem/index.test.js +0 -9
- package/es/FooterMeta/__snapshots__/index.test.tsx.snap +0 -16
- package/es/FooterMeta/index.test.js +0 -9
- package/es/FooterMetaItem/__snapshots__/index.test.tsx.snap +0 -50
- package/es/FooterMetaItem/index.test.js +0 -25
- package/es/FooterSection/__snapshots__/index.test.tsx.snap +0 -16
- package/es/FooterSection/index.test.js +0 -9
- package/es/SearchSection/index.test.js +0 -9
- package/es/SingleCharacterInputContainer/__snapshots__/index.test.tsx.snap +0 -16
- package/es/SingleCharacterInputContainer/index.test.js +0 -9
- package/es/SingleCharacterInputItem/__snapshots__/index.test.tsx.snap +0 -173
- package/es/SingleCharacterInputItem/index.js +0 -34
- package/esm/AdminHeaderSection/__snapshots__/index.spec.tsx.snap +0 -16
- package/esm/AdminHeaderSection/index.spec.js +0 -9
- package/esm/ChipSection/index.spec.js +0 -9
- package/esm/ChipSectionWrapper/__snapshots__/index.spec.tsx.snap +0 -16
- package/esm/ChipSectionWrapper/index.js +0 -23
- package/esm/ChipSectionWrapper/index.spec.js +0 -9
- package/esm/DropdownArrowDown/index.js +0 -18
- package/esm/FilterHeading/index.test.js +0 -9
- package/esm/FilterSection/__snapshots__/index.test.tsx.snap +0 -16
- package/esm/FilterSection/index.test.js +0 -9
- package/esm/FooterInlineList/__snapshots__/index.test.tsx.snap +0 -16
- package/esm/FooterInlineList/index.js +0 -24
- package/esm/FooterInlineList/index.test.js +0 -9
- package/esm/FooterInlineListItem/__snapshots__/index.test.tsx.snap +0 -16
- package/esm/FooterInlineListItem/index.test.js +0 -9
- package/esm/FooterMeta/__snapshots__/index.test.tsx.snap +0 -16
- package/esm/FooterMeta/index.test.js +0 -9
- package/esm/FooterMetaItem/__snapshots__/index.test.tsx.snap +0 -50
- package/esm/FooterMetaItem/index.test.js +0 -25
- package/esm/FooterSection/__snapshots__/index.test.tsx.snap +0 -16
- package/esm/FooterSection/index.test.js +0 -9
- package/esm/SearchSection/index.test.js +0 -9
- package/esm/SingleCharacterInputContainer/__snapshots__/index.test.tsx.snap +0 -16
- package/esm/SingleCharacterInputContainer/index.test.js +0 -9
- package/esm/SingleCharacterInputItem/__snapshots__/index.test.tsx.snap +0 -173
- package/esm/SingleCharacterInputItem/index.js +0 -34
- package/src/AdminHeaderSection/__snapshots__/index.spec.tsx.snap +0 -16
- package/src/AdminHeaderSection/index.spec.tsx +0 -10
- package/src/AdminHeaderSection/index.tsx +0 -27
- package/src/ChipSection/index.spec.tsx +0 -8
- package/src/ChipSectionWrapper/__snapshots__/index.spec.tsx.snap +0 -16
- package/src/ChipSectionWrapper/index.spec.tsx +0 -10
- package/src/ChipSectionWrapper/index.tsx +0 -21
- package/src/DropdownArrowDown/index.tsx +0 -16
- package/src/FilterCloseButton/index.tsx +0 -40
- package/src/FilterHeading/index.test.tsx +0 -8
- package/src/FilterSection/__snapshots__/index.test.tsx.snap +0 -16
- package/src/FilterSection/index.test.tsx +0 -8
- package/src/FooterInlineList/__snapshots__/index.test.tsx.snap +0 -16
- package/src/FooterInlineList/index.test.tsx +0 -8
- package/src/FooterInlineList/index.tsx +0 -29
- package/src/FooterInlineListItem/__snapshots__/index.test.tsx.snap +0 -16
- package/src/FooterInlineListItem/index.test.tsx +0 -10
- package/src/FooterInlineListItem/index.tsx +0 -27
- package/src/FooterMeta/__snapshots__/index.test.tsx.snap +0 -16
- package/src/FooterMeta/index.test.tsx +0 -8
- package/src/FooterMetaItem/__snapshots__/index.test.tsx.snap +0 -50
- package/src/FooterMetaItem/index.test.tsx +0 -20
- package/src/FooterMetaItem/index.tsx +0 -36
- package/src/FooterSection/__snapshots__/index.test.tsx.snap +0 -16
- package/src/FooterSection/index.test.tsx +0 -8
- package/src/FooterSection/index.tsx +0 -29
- package/src/SearchSection/index.test.tsx +0 -8
- package/src/SingleCharacterInputContainer/__snapshots__/index.test.tsx.snap +0 -16
- package/src/SingleCharacterInputContainer/index.test.tsx +0 -10
- package/src/SingleCharacterInputItem/__snapshots__/index.test.tsx.snap +0 -173
- package/src/SingleCharacterInputItem/index.test.tsx +0 -45
- package/src/SingleCharacterInputItem/index.tsx +0 -62
- /package/{AdminHeaderSection → AdminHeaderContent}/index.spec.d.ts +0 -0
- /package/{ChipSection → ChipContainer}/index.spec.d.ts +0 -0
- /package/{FilterHeading → CloseButton}/index.test.d.ts +0 -0
- /package/{FilterSection → FilterContainer}/index.test.d.ts +0 -0
- /package/{FooterInlineList → FilterHeadingContainer}/index.test.d.ts +0 -0
- /package/{FooterInlineListItem → FooterInfo}/index.test.d.ts +0 -0
- /package/{FooterMeta → FooterInfoSection}/index.test.d.ts +0 -0
- /package/{FooterMetaItem → FooterNavigationSection}/index.test.d.ts +0 -0
- /package/{FooterSection → PageTitleCaption}/index.test.d.ts +0 -0
- /package/{SearchSection → PageTitleContainer}/index.test.d.ts +0 -0
- /package/{SingleCharacterInputContainer → SearchContainer}/index.test.d.ts +0 -0
- /package/{SingleCharacterInputItem → SingleCharacterInput}/index.test.d.ts +0 -0
- /package/{ChipSectionWrapper/index.spec.d.ts → SingleCharacterInputs/index.test.d.ts} +0 -0
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { mount } from 'enzyme';
|
|
3
|
-
import SearchSection from '@digigov/react-core/SearchSection';
|
|
4
|
-
|
|
5
|
-
var _ref = /*#__PURE__*/React.createElement(SearchSection, null, "hello");
|
|
6
|
-
|
|
7
|
-
it('renders the SearchSection with no prop', function () {
|
|
8
|
-
expect(mount(_ref)).toMatchSnapshot();
|
|
9
|
-
});
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`renders the SingleCharacterInputContainer with no props 1`] = `
|
|
4
|
-
<ForwardRef(SingleCharacterInputContainer)>
|
|
5
|
-
<ForwardRef(Base)
|
|
6
|
-
as="div"
|
|
7
|
-
className="govgr-single-character-input--container"
|
|
8
|
-
>
|
|
9
|
-
<div
|
|
10
|
-
className="govgr-single-character-input--container"
|
|
11
|
-
>
|
|
12
|
-
hello
|
|
13
|
-
</div>
|
|
14
|
-
</ForwardRef(Base)>
|
|
15
|
-
</ForwardRef(SingleCharacterInputContainer)>
|
|
16
|
-
`;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { mount } from 'enzyme';
|
|
3
|
-
import SingleCharacterInputContainer from '@digigov/react-core/SingleCharacterInputContainer';
|
|
4
|
-
|
|
5
|
-
var _ref = /*#__PURE__*/React.createElement(SingleCharacterInputContainer, null, "hello");
|
|
6
|
-
|
|
7
|
-
it('renders the SingleCharacterInputContainer with no props', function () {
|
|
8
|
-
expect(mount(_ref)).toMatchSnapshot();
|
|
9
|
-
});
|
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`renders the SingleCharacterInputItem with maxLength prop 1`] = `
|
|
4
|
-
<ForwardRef(SingleCharacterInputItem)
|
|
5
|
-
maxLength={6}
|
|
6
|
-
>
|
|
7
|
-
<ForwardRef(Base)
|
|
8
|
-
as="input"
|
|
9
|
-
className="govgr-otp-input__item govgr-input govgr-otp-input--width"
|
|
10
|
-
inputMode="numeric"
|
|
11
|
-
maxLength={6}
|
|
12
|
-
pattern="[0-9]*"
|
|
13
|
-
type="text"
|
|
14
|
-
>
|
|
15
|
-
<input
|
|
16
|
-
className="govgr-otp-input__item govgr-input govgr-otp-input--width"
|
|
17
|
-
inputMode="numeric"
|
|
18
|
-
maxLength={6}
|
|
19
|
-
pattern="[0-9]*"
|
|
20
|
-
type="text"
|
|
21
|
-
/>
|
|
22
|
-
</ForwardRef(Base)>
|
|
23
|
-
</ForwardRef(SingleCharacterInputItem)>
|
|
24
|
-
`;
|
|
25
|
-
|
|
26
|
-
exports[`renders the SingleCharacterInputItem with name and error props 1`] = `
|
|
27
|
-
<ForwardRef(SingleCharacterInputItem)
|
|
28
|
-
error={true}
|
|
29
|
-
name="single-character-input"
|
|
30
|
-
>
|
|
31
|
-
<ForwardRef(Base)
|
|
32
|
-
as="input"
|
|
33
|
-
className="govgr-input--error govgr-otp-input__item govgr-input govgr-otp-input--width"
|
|
34
|
-
inputMode="numeric"
|
|
35
|
-
maxLength={1}
|
|
36
|
-
name="single-character-input"
|
|
37
|
-
pattern="[0-9]*"
|
|
38
|
-
type="text"
|
|
39
|
-
>
|
|
40
|
-
<input
|
|
41
|
-
className="govgr-input--error govgr-otp-input__item govgr-input govgr-otp-input--width"
|
|
42
|
-
inputMode="numeric"
|
|
43
|
-
maxLength={1}
|
|
44
|
-
name="single-character-input"
|
|
45
|
-
pattern="[0-9]*"
|
|
46
|
-
type="text"
|
|
47
|
-
/>
|
|
48
|
-
</ForwardRef(Base)>
|
|
49
|
-
</ForwardRef(SingleCharacterInputItem)>
|
|
50
|
-
`;
|
|
51
|
-
|
|
52
|
-
exports[`renders the SingleCharacterInputItem with name and error props 2`] = `
|
|
53
|
-
<ForwardRef(SingleCharacterInputItem)
|
|
54
|
-
error={true}
|
|
55
|
-
name="single-character-input"
|
|
56
|
-
>
|
|
57
|
-
<ForwardRef(Base)
|
|
58
|
-
as="input"
|
|
59
|
-
className="govgr-input--error govgr-otp-input__item govgr-input govgr-otp-input--width"
|
|
60
|
-
inputMode="numeric"
|
|
61
|
-
maxLength={1}
|
|
62
|
-
name="single-character-input"
|
|
63
|
-
pattern="[0-9]*"
|
|
64
|
-
type="text"
|
|
65
|
-
>
|
|
66
|
-
<input
|
|
67
|
-
className="govgr-input--error govgr-otp-input__item govgr-input govgr-otp-input--width"
|
|
68
|
-
inputMode="numeric"
|
|
69
|
-
maxLength={1}
|
|
70
|
-
name="single-character-input"
|
|
71
|
-
pattern="[0-9]*"
|
|
72
|
-
type="text"
|
|
73
|
-
/>
|
|
74
|
-
</ForwardRef(Base)>
|
|
75
|
-
</ForwardRef(SingleCharacterInputItem)>
|
|
76
|
-
`;
|
|
77
|
-
|
|
78
|
-
exports[`renders the SingleCharacterInputItem with name prop 1`] = `
|
|
79
|
-
<ForwardRef(SingleCharacterInputItem)
|
|
80
|
-
name="single-character-input"
|
|
81
|
-
>
|
|
82
|
-
<ForwardRef(Base)
|
|
83
|
-
as="input"
|
|
84
|
-
className="govgr-otp-input__item govgr-input govgr-otp-input--width"
|
|
85
|
-
inputMode="numeric"
|
|
86
|
-
maxLength={1}
|
|
87
|
-
name="single-character-input"
|
|
88
|
-
pattern="[0-9]*"
|
|
89
|
-
type="text"
|
|
90
|
-
>
|
|
91
|
-
<input
|
|
92
|
-
className="govgr-otp-input__item govgr-input govgr-otp-input--width"
|
|
93
|
-
inputMode="numeric"
|
|
94
|
-
maxLength={1}
|
|
95
|
-
name="single-character-input"
|
|
96
|
-
pattern="[0-9]*"
|
|
97
|
-
type="text"
|
|
98
|
-
/>
|
|
99
|
-
</ForwardRef(Base)>
|
|
100
|
-
</ForwardRef(SingleCharacterInputItem)>
|
|
101
|
-
`;
|
|
102
|
-
|
|
103
|
-
exports[`renders the SingleCharacterInputItem with name, pattern, maxLength and error props 1`] = `
|
|
104
|
-
<ForwardRef(SingleCharacterInputItem)
|
|
105
|
-
error={true}
|
|
106
|
-
maxLength={6}
|
|
107
|
-
name="single-character-input"
|
|
108
|
-
pattern="\\\\d{1}"
|
|
109
|
-
>
|
|
110
|
-
<ForwardRef(Base)
|
|
111
|
-
as="input"
|
|
112
|
-
className="govgr-input--error govgr-otp-input__item govgr-input govgr-otp-input--width"
|
|
113
|
-
inputMode="numeric"
|
|
114
|
-
maxLength={6}
|
|
115
|
-
name="single-character-input"
|
|
116
|
-
pattern="\\\\d{1}"
|
|
117
|
-
type="text"
|
|
118
|
-
>
|
|
119
|
-
<input
|
|
120
|
-
className="govgr-input--error govgr-otp-input__item govgr-input govgr-otp-input--width"
|
|
121
|
-
inputMode="numeric"
|
|
122
|
-
maxLength={6}
|
|
123
|
-
name="single-character-input"
|
|
124
|
-
pattern="\\\\d{1}"
|
|
125
|
-
type="text"
|
|
126
|
-
/>
|
|
127
|
-
</ForwardRef(Base)>
|
|
128
|
-
</ForwardRef(SingleCharacterInputItem)>
|
|
129
|
-
`;
|
|
130
|
-
|
|
131
|
-
exports[`renders the SingleCharacterInputItem with no props 1`] = `
|
|
132
|
-
<ForwardRef(SingleCharacterInputItem)>
|
|
133
|
-
<ForwardRef(Base)
|
|
134
|
-
as="input"
|
|
135
|
-
className="govgr-otp-input__item govgr-input govgr-otp-input--width"
|
|
136
|
-
inputMode="numeric"
|
|
137
|
-
maxLength={1}
|
|
138
|
-
pattern="[0-9]*"
|
|
139
|
-
type="text"
|
|
140
|
-
>
|
|
141
|
-
<input
|
|
142
|
-
className="govgr-otp-input__item govgr-input govgr-otp-input--width"
|
|
143
|
-
inputMode="numeric"
|
|
144
|
-
maxLength={1}
|
|
145
|
-
pattern="[0-9]*"
|
|
146
|
-
type="text"
|
|
147
|
-
/>
|
|
148
|
-
</ForwardRef(Base)>
|
|
149
|
-
</ForwardRef(SingleCharacterInputItem)>
|
|
150
|
-
`;
|
|
151
|
-
|
|
152
|
-
exports[`renders the SingleCharacterInputItem with pattern prop 1`] = `
|
|
153
|
-
<ForwardRef(SingleCharacterInputItem)
|
|
154
|
-
pattern="\\\\d{1}"
|
|
155
|
-
>
|
|
156
|
-
<ForwardRef(Base)
|
|
157
|
-
as="input"
|
|
158
|
-
className="govgr-otp-input__item govgr-input govgr-otp-input--width"
|
|
159
|
-
inputMode="numeric"
|
|
160
|
-
maxLength={1}
|
|
161
|
-
pattern="\\\\d{1}"
|
|
162
|
-
type="text"
|
|
163
|
-
>
|
|
164
|
-
<input
|
|
165
|
-
className="govgr-otp-input__item govgr-input govgr-otp-input--width"
|
|
166
|
-
inputMode="numeric"
|
|
167
|
-
maxLength={1}
|
|
168
|
-
pattern="\\\\d{1}"
|
|
169
|
-
type="text"
|
|
170
|
-
/>
|
|
171
|
-
</ForwardRef(Base)>
|
|
172
|
-
</ForwardRef(SingleCharacterInputItem)>
|
|
173
|
-
`;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["name", "error", "className", "pattern", "maxLength"];
|
|
4
|
-
import React from 'react';
|
|
5
|
-
import clsx from 'clsx';
|
|
6
|
-
import Base from '@digigov/react-core/Base';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Details for the SingleCharacterInputItem.
|
|
10
|
-
* SingleCharacterInputItem component is used for displaying simple digital character inputs.
|
|
11
|
-
* SingleCharacterInputItem component must be included inside SingleCharacterInputContainer component as children component
|
|
12
|
-
*/
|
|
13
|
-
export var SingleCharacterInputItem = /*#__PURE__*/React.forwardRef(function SingleCharacterInputItem(_ref, ref) {
|
|
14
|
-
var name = _ref.name,
|
|
15
|
-
error = _ref.error,
|
|
16
|
-
className = _ref.className,
|
|
17
|
-
_ref$pattern = _ref.pattern,
|
|
18
|
-
pattern = _ref$pattern === void 0 ? '[0-9]*' : _ref$pattern,
|
|
19
|
-
_ref$maxLength = _ref.maxLength,
|
|
20
|
-
maxLength = _ref$maxLength === void 0 ? 1 : _ref$maxLength,
|
|
21
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
22
|
-
|
|
23
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Base, _extends({
|
|
24
|
-
as: "input",
|
|
25
|
-
className: clsx(className && className, error && 'govgr-input--error', true && ['govgr-otp-input__item', 'govgr-input', 'govgr-otp-input--width']),
|
|
26
|
-
inputMode: "numeric",
|
|
27
|
-
maxLength: maxLength,
|
|
28
|
-
name: name,
|
|
29
|
-
pattern: pattern,
|
|
30
|
-
ref: ref,
|
|
31
|
-
type: "text"
|
|
32
|
-
}, props)));
|
|
33
|
-
});
|
|
34
|
-
export default SingleCharacterInputItem;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`renders the AdminHeaderSection with no props 1`] = `
|
|
4
|
-
<ForwardRef(AdminHeaderSection)>
|
|
5
|
-
<ForwardRef(Base)
|
|
6
|
-
as="div"
|
|
7
|
-
className="govgr-admin-header__container"
|
|
8
|
-
>
|
|
9
|
-
<div
|
|
10
|
-
className="govgr-admin-header__container"
|
|
11
|
-
>
|
|
12
|
-
hello
|
|
13
|
-
</div>
|
|
14
|
-
</ForwardRef(Base)>
|
|
15
|
-
</ForwardRef(AdminHeaderSection)>
|
|
16
|
-
`;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { mount } from 'enzyme';
|
|
3
|
-
|
|
4
|
-
import AdminHeaderSection from '@digigov/react-core/AdminHeaderSection';
|
|
5
|
-
|
|
6
|
-
it('renders the AdminHeaderSection with no props', () => {
|
|
7
|
-
expect(
|
|
8
|
-
mount(<AdminHeaderSection>hello</AdminHeaderSection>)
|
|
9
|
-
).toMatchSnapshot();
|
|
10
|
-
});
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import clsx from 'clsx';
|
|
3
|
-
import Base, { BaseProps } from '@digigov/react-core/Base';
|
|
4
|
-
|
|
5
|
-
export interface AdminHeaderSectionProps extends BaseProps<'div'> {}
|
|
6
|
-
/**
|
|
7
|
-
* AdminAdminHeaderSection is used inside AdminHeader as a container for its items.
|
|
8
|
-
*/
|
|
9
|
-
export const AdminHeaderSection = React.forwardRef<
|
|
10
|
-
HTMLDivElement,
|
|
11
|
-
AdminHeaderSectionProps
|
|
12
|
-
>(function AdminHeaderSection({ className, children, ...props }, ref) {
|
|
13
|
-
return (
|
|
14
|
-
<Base
|
|
15
|
-
as="div"
|
|
16
|
-
ref={ref}
|
|
17
|
-
className={clsx(className, {
|
|
18
|
-
'govgr-admin-header__container': true,
|
|
19
|
-
})}
|
|
20
|
-
{...props}
|
|
21
|
-
>
|
|
22
|
-
{children}
|
|
23
|
-
</Base>
|
|
24
|
-
);
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
export default AdminHeaderSection;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`renders the ChipSectionWrapper with no props 1`] = `
|
|
4
|
-
<ForwardRef(ChipSectionWrapper)>
|
|
5
|
-
<ForwardRef(Base)
|
|
6
|
-
as="ul"
|
|
7
|
-
className=""
|
|
8
|
-
>
|
|
9
|
-
<ul
|
|
10
|
-
className=""
|
|
11
|
-
>
|
|
12
|
-
hello!
|
|
13
|
-
</ul>
|
|
14
|
-
</ForwardRef(Base)>
|
|
15
|
-
</ForwardRef(ChipSectionWrapper)>
|
|
16
|
-
`;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { mount } from 'enzyme';
|
|
3
|
-
|
|
4
|
-
import ChipSectionWrapper from '@digigov/react-core/ChipSectionWrapper';
|
|
5
|
-
|
|
6
|
-
it('renders the ChipSectionWrapper with no props', () => {
|
|
7
|
-
expect(
|
|
8
|
-
mount(<ChipSectionWrapper>hello!</ChipSectionWrapper>)
|
|
9
|
-
).toMatchSnapshot();
|
|
10
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import clsx from 'clsx';
|
|
3
|
-
import Base, { BaseProps } from '@digigov/react-core/Base';
|
|
4
|
-
|
|
5
|
-
export interface ChipSectionWrapperProps extends BaseProps<'div'> { }
|
|
6
|
-
/**
|
|
7
|
-
* ChipSectionWrapper is used as a wrapper for the ChipHeading and ChipSection components
|
|
8
|
-
* in case one wants to use them in a horizontal layout.
|
|
9
|
-
*/
|
|
10
|
-
export const ChipSectionWrapper = React.forwardRef<
|
|
11
|
-
HTMLDivElement,
|
|
12
|
-
ChipSectionWrapperProps
|
|
13
|
-
>(function ChipSectionWrapper({ className, children, ...props }, ref) {
|
|
14
|
-
return (
|
|
15
|
-
<Base as="div" ref={ref} className={clsx(className)} {...props}>
|
|
16
|
-
{children}
|
|
17
|
-
</Base>
|
|
18
|
-
);
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
export default ChipSectionWrapper;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CaretIcon } from '@digigov/react-icons';
|
|
3
|
-
import { CaretType } from '@digigov/react-icons/icons';
|
|
4
|
-
|
|
5
|
-
export interface DropdownArrowDownProps extends CaretType {}
|
|
6
|
-
/**
|
|
7
|
-
* DropdownArrowDown icon component is used to in Dropdown component.
|
|
8
|
-
*/
|
|
9
|
-
export const DropdownArrowDown = React.forwardRef<
|
|
10
|
-
SVGSVGElement,
|
|
11
|
-
DropdownArrowDownProps
|
|
12
|
-
>(function DropdownArrowDown({ ...props }, ref) {
|
|
13
|
-
return <CaretIcon direction="down" ref={ref} {...props} size="md" />;
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
export default DropdownArrowDown;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import clsx from 'clsx';
|
|
3
|
-
import Button, { ButtonProps } from '@digigov/react-core/Button';
|
|
4
|
-
import { CloseIcon } from '@digigov/react-icons/CloseIcon';
|
|
5
|
-
|
|
6
|
-
export interface FilterCloseButtonProps extends ButtonProps {
|
|
7
|
-
/**
|
|
8
|
-
* closeIcon is optional.
|
|
9
|
-
* This declares the close icon.
|
|
10
|
-
* The default value is CloseIcon.
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
closeIcon?: React.ReactNode;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* FilterCloseButton is an <button> element. It should be inside the FilterSection component.
|
|
17
|
-
*/
|
|
18
|
-
export const FilterCloseButton = React.forwardRef<
|
|
19
|
-
HTMLButtonElement,
|
|
20
|
-
FilterCloseButtonProps
|
|
21
|
-
>(function FilterCloseButton(
|
|
22
|
-
{ className, children, closeIcon = <CloseIcon />, ...props },
|
|
23
|
-
ref
|
|
24
|
-
) {
|
|
25
|
-
return (
|
|
26
|
-
<Button
|
|
27
|
-
variant="link"
|
|
28
|
-
className={clsx(className, {
|
|
29
|
-
'govgr-filter__close-btn': true,
|
|
30
|
-
})}
|
|
31
|
-
ref={ref}
|
|
32
|
-
{...props}
|
|
33
|
-
>
|
|
34
|
-
{children}
|
|
35
|
-
{closeIcon}
|
|
36
|
-
</Button>
|
|
37
|
-
);
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
export default FilterCloseButton;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`renders the FilterSection with no props 1`] = `
|
|
4
|
-
<ForwardRef(FilterSection)>
|
|
5
|
-
<ForwardRef(Base)
|
|
6
|
-
as="div"
|
|
7
|
-
className="govgr-filter--closed govgr-filter"
|
|
8
|
-
>
|
|
9
|
-
<div
|
|
10
|
-
className="govgr-filter--closed govgr-filter"
|
|
11
|
-
>
|
|
12
|
-
hello
|
|
13
|
-
</div>
|
|
14
|
-
</ForwardRef(Base)>
|
|
15
|
-
</ForwardRef(FilterSection)>
|
|
16
|
-
`;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`renders the FooterInlineList with no props 1`] = `
|
|
4
|
-
<ForwardRef(FooterInlineList)>
|
|
5
|
-
<ForwardRef(Base)
|
|
6
|
-
as="ul"
|
|
7
|
-
className="govgr-footer__inline-list"
|
|
8
|
-
>
|
|
9
|
-
<ul
|
|
10
|
-
className="govgr-footer__inline-list"
|
|
11
|
-
>
|
|
12
|
-
hello
|
|
13
|
-
</ul>
|
|
14
|
-
</ForwardRef(Base)>
|
|
15
|
-
</ForwardRef(FooterInlineList)>
|
|
16
|
-
`;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { mount } from 'enzyme';
|
|
3
|
-
|
|
4
|
-
import FooterInlineList from '@digigov/react-core/FooterInlineList';
|
|
5
|
-
|
|
6
|
-
it('renders the FooterInlineList with no props', () => {
|
|
7
|
-
expect(mount(<FooterInlineList>hello</FooterInlineList>)).toMatchSnapshot();
|
|
8
|
-
});
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import clsx from 'clsx';
|
|
3
|
-
import Base, { BaseProps } from '@digigov/react-core/Base';
|
|
4
|
-
|
|
5
|
-
export interface FooterInlineListProps extends BaseProps<'ul'> {}
|
|
6
|
-
/**
|
|
7
|
-
* FooterInlineList is a component for an inline list in the footer.
|
|
8
|
-
* It must be inside the FooterContent component.
|
|
9
|
-
* This is a wrapper for a list of FooterInlineListItem.
|
|
10
|
-
*/
|
|
11
|
-
export const FooterInlineList = React.forwardRef<
|
|
12
|
-
HTMLUListElement,
|
|
13
|
-
FooterInlineListProps
|
|
14
|
-
>(function FooterInlineList({ className, children, ...props }, ref) {
|
|
15
|
-
return (
|
|
16
|
-
<Base
|
|
17
|
-
as="ul"
|
|
18
|
-
ref={ref}
|
|
19
|
-
className={clsx(className, {
|
|
20
|
-
'govgr-footer__inline-list': true,
|
|
21
|
-
})}
|
|
22
|
-
{...props}
|
|
23
|
-
>
|
|
24
|
-
{children}
|
|
25
|
-
</Base>
|
|
26
|
-
);
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
export default FooterInlineList;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`renders the FooterInlineListItem with no props 1`] = `
|
|
4
|
-
<ForwardRef(FooterInlineListItem)>
|
|
5
|
-
<ForwardRef(Base)
|
|
6
|
-
as="li"
|
|
7
|
-
className="govgr-footer__inline-list-item"
|
|
8
|
-
>
|
|
9
|
-
<li
|
|
10
|
-
className="govgr-footer__inline-list-item"
|
|
11
|
-
>
|
|
12
|
-
hello
|
|
13
|
-
</li>
|
|
14
|
-
</ForwardRef(Base)>
|
|
15
|
-
</ForwardRef(FooterInlineListItem)>
|
|
16
|
-
`;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { mount } from 'enzyme';
|
|
3
|
-
|
|
4
|
-
import FooterInlineListItem from '@digigov/react-core/FooterInlineListItem';
|
|
5
|
-
|
|
6
|
-
it('renders the FooterInlineListItem with no props', () => {
|
|
7
|
-
expect(
|
|
8
|
-
mount(<FooterInlineListItem>hello</FooterInlineListItem>)
|
|
9
|
-
).toMatchSnapshot();
|
|
10
|
-
});
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import clsx from 'clsx';
|
|
3
|
-
import Base, { BaseProps } from '@digigov/react-core/Base';
|
|
4
|
-
|
|
5
|
-
export interface FooterInlineListItemProps extends BaseProps<'li'> {}
|
|
6
|
-
/**
|
|
7
|
-
* Details for the FooterInlineListItem.
|
|
8
|
-
*/
|
|
9
|
-
export const FooterInlineListItem = React.forwardRef<
|
|
10
|
-
HTMLLIElement,
|
|
11
|
-
FooterInlineListItemProps
|
|
12
|
-
>(function FooterInlineListItem({ className, children, ...props }, ref) {
|
|
13
|
-
return (
|
|
14
|
-
<Base
|
|
15
|
-
as="li"
|
|
16
|
-
ref={ref}
|
|
17
|
-
className={clsx(className, {
|
|
18
|
-
'govgr-footer__inline-list-item': true,
|
|
19
|
-
})}
|
|
20
|
-
{...props}
|
|
21
|
-
>
|
|
22
|
-
{children}
|
|
23
|
-
</Base>
|
|
24
|
-
);
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
export default FooterInlineListItem;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`renders the FooterMeta with no props 1`] = `
|
|
4
|
-
<ForwardRef(FooterMeta)>
|
|
5
|
-
<ForwardRef(Base)
|
|
6
|
-
as="div"
|
|
7
|
-
className="govgr-footer__meta"
|
|
8
|
-
>
|
|
9
|
-
<div
|
|
10
|
-
className="govgr-footer__meta"
|
|
11
|
-
>
|
|
12
|
-
hello
|
|
13
|
-
</div>
|
|
14
|
-
</ForwardRef(Base)>
|
|
15
|
-
</ForwardRef(FooterMeta)>
|
|
16
|
-
`;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`renders the FooterMetaItem with grow=false 1`] = `
|
|
4
|
-
<ForwardRef(FooterMetaItem)
|
|
5
|
-
grow={false}
|
|
6
|
-
>
|
|
7
|
-
<ForwardRef(Base)
|
|
8
|
-
as="div"
|
|
9
|
-
className="govgr-footer__meta-item"
|
|
10
|
-
>
|
|
11
|
-
<div
|
|
12
|
-
className="govgr-footer__meta-item"
|
|
13
|
-
>
|
|
14
|
-
hello
|
|
15
|
-
</div>
|
|
16
|
-
</ForwardRef(Base)>
|
|
17
|
-
</ForwardRef(FooterMetaItem)>
|
|
18
|
-
`;
|
|
19
|
-
|
|
20
|
-
exports[`renders the FooterMetaItem with grow=true 1`] = `
|
|
21
|
-
<ForwardRef(FooterMetaItem)
|
|
22
|
-
grow={true}
|
|
23
|
-
>
|
|
24
|
-
<ForwardRef(Base)
|
|
25
|
-
as="div"
|
|
26
|
-
className="govgr-footer__meta-item--grow govgr-footer__meta-item"
|
|
27
|
-
>
|
|
28
|
-
<div
|
|
29
|
-
className="govgr-footer__meta-item--grow govgr-footer__meta-item"
|
|
30
|
-
>
|
|
31
|
-
hello
|
|
32
|
-
</div>
|
|
33
|
-
</ForwardRef(Base)>
|
|
34
|
-
</ForwardRef(FooterMetaItem)>
|
|
35
|
-
`;
|
|
36
|
-
|
|
37
|
-
exports[`renders the FooterMetaItem with no props 1`] = `
|
|
38
|
-
<ForwardRef(FooterMetaItem)>
|
|
39
|
-
<ForwardRef(Base)
|
|
40
|
-
as="div"
|
|
41
|
-
className="govgr-footer__meta-item"
|
|
42
|
-
>
|
|
43
|
-
<div
|
|
44
|
-
className="govgr-footer__meta-item"
|
|
45
|
-
>
|
|
46
|
-
hello
|
|
47
|
-
</div>
|
|
48
|
-
</ForwardRef(Base)>
|
|
49
|
-
</ForwardRef(FooterMetaItem)>
|
|
50
|
-
`;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { mount } from 'enzyme';
|
|
3
|
-
|
|
4
|
-
import FooterMetaItem from '@digigov/react-core/FooterMetaItem';
|
|
5
|
-
|
|
6
|
-
it('renders the FooterMetaItem with no props', () => {
|
|
7
|
-
expect(mount(<FooterMetaItem>hello</FooterMetaItem>)).toMatchSnapshot();
|
|
8
|
-
});
|
|
9
|
-
|
|
10
|
-
it('renders the FooterMetaItem with grow=true', () => {
|
|
11
|
-
expect(
|
|
12
|
-
mount(<FooterMetaItem grow={true}>hello</FooterMetaItem>)
|
|
13
|
-
).toMatchSnapshot();
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
it('renders the FooterMetaItem with grow=false', () => {
|
|
17
|
-
expect(
|
|
18
|
-
mount(<FooterMetaItem grow={false}>hello</FooterMetaItem>)
|
|
19
|
-
).toMatchSnapshot();
|
|
20
|
-
});
|