@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
|
@@ -7,250 +7,250 @@ it('renders the TextInput with no props', () => {
|
|
|
7
7
|
expect(mount(<TextInput></TextInput>)).toMatchSnapshot();
|
|
8
8
|
});
|
|
9
9
|
|
|
10
|
-
it('renders the TextInput with
|
|
11
|
-
expect(mount(<TextInput
|
|
10
|
+
it('renders the TextInput with maxWidth="2-char"', () => {
|
|
11
|
+
expect(mount(<TextInput maxWidth='2-char'></TextInput>)).toMatchSnapshot();
|
|
12
12
|
});
|
|
13
13
|
|
|
14
|
-
it('renders the TextInput with
|
|
15
|
-
expect(mount(<TextInput
|
|
14
|
+
it('renders the TextInput with maxWidth="3-char"', () => {
|
|
15
|
+
expect(mount(<TextInput maxWidth='3-char'></TextInput>)).toMatchSnapshot();
|
|
16
16
|
});
|
|
17
17
|
|
|
18
|
-
it('renders the TextInput with
|
|
19
|
-
expect(mount(<TextInput
|
|
18
|
+
it('renders the TextInput with maxWidth="4-char"', () => {
|
|
19
|
+
expect(mount(<TextInput maxWidth='4-char'></TextInput>)).toMatchSnapshot();
|
|
20
20
|
});
|
|
21
21
|
|
|
22
|
-
it('renders the TextInput with
|
|
23
|
-
expect(mount(<TextInput
|
|
22
|
+
it('renders the TextInput with maxWidth="5-char"', () => {
|
|
23
|
+
expect(mount(<TextInput maxWidth='5-char'></TextInput>)).toMatchSnapshot();
|
|
24
24
|
});
|
|
25
25
|
|
|
26
|
-
it('renders the TextInput with
|
|
27
|
-
expect(mount(<TextInput
|
|
26
|
+
it('renders the TextInput with maxWidth="10-char"', () => {
|
|
27
|
+
expect(mount(<TextInput maxWidth='10-char'></TextInput>)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
|
|
30
|
-
it('renders the TextInput with
|
|
31
|
-
expect(mount(<TextInput
|
|
30
|
+
it('renders the TextInput with maxWidth="20-char"', () => {
|
|
31
|
+
expect(mount(<TextInput maxWidth='20-char'></TextInput>)).toMatchSnapshot();
|
|
32
32
|
});
|
|
33
33
|
|
|
34
|
-
it('renders the TextInput with
|
|
34
|
+
it('renders the TextInput with width=one-quarter', () => {
|
|
35
35
|
expect(
|
|
36
|
-
mount(<TextInput
|
|
36
|
+
mount(<TextInput width={'25%'}></TextInput>)
|
|
37
37
|
).toMatchSnapshot();
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
it('renders the TextInput with
|
|
40
|
+
it('renders the TextInput with width=one-third', () => {
|
|
41
41
|
expect(
|
|
42
|
-
mount(<TextInput
|
|
42
|
+
mount(<TextInput width={'33.3%'}></TextInput>)
|
|
43
43
|
).toMatchSnapshot();
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
it('renders the TextInput with
|
|
46
|
+
it('renders the TextInput with width=one-half', () => {
|
|
47
47
|
expect(
|
|
48
|
-
mount(<TextInput
|
|
48
|
+
mount(<TextInput width={'50%'}></TextInput>)
|
|
49
49
|
).toMatchSnapshot();
|
|
50
50
|
});
|
|
51
51
|
|
|
52
|
-
it('renders the TextInput with
|
|
52
|
+
it('renders the TextInput with width=two-thirds', () => {
|
|
53
53
|
expect(
|
|
54
|
-
mount(<TextInput
|
|
54
|
+
mount(<TextInput width={'66.6%'}></TextInput>)
|
|
55
55
|
).toMatchSnapshot();
|
|
56
56
|
});
|
|
57
57
|
|
|
58
|
-
it('renders the TextInput with
|
|
58
|
+
it('renders the TextInput with width=three-quarters', () => {
|
|
59
59
|
expect(
|
|
60
|
-
mount(<TextInput
|
|
60
|
+
mount(<TextInput width={'75%'}></TextInput>)
|
|
61
61
|
).toMatchSnapshot();
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
it('renders the TextInput with
|
|
65
|
-
expect(mount(<TextInput
|
|
64
|
+
it('renders the TextInput with width=full', () => {
|
|
65
|
+
expect(mount(<TextInput width={'full'}></TextInput>)).toMatchSnapshot();
|
|
66
66
|
});
|
|
67
67
|
|
|
68
|
-
it('renders the TextInput with
|
|
68
|
+
it('renders the TextInput with maxWidth="2-char" and with width=one-quarter', () => {
|
|
69
69
|
expect(
|
|
70
|
-
mount(<TextInput
|
|
70
|
+
mount(<TextInput maxWidth='2-char' width={'25%'}></TextInput>)
|
|
71
71
|
).toMatchSnapshot();
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
it('renders the TextInput with
|
|
74
|
+
it('renders the TextInput with maxWidth="3-char" and with width=one-quarter', () => {
|
|
75
75
|
expect(
|
|
76
|
-
mount(<TextInput
|
|
76
|
+
mount(<TextInput maxWidth='3-char' width={'25%'}></TextInput>)
|
|
77
77
|
).toMatchSnapshot();
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
it('renders the TextInput with
|
|
80
|
+
it('renders the TextInput with maxWidth="4-char" and with width=one-quarter', () => {
|
|
81
81
|
expect(
|
|
82
|
-
mount(<TextInput
|
|
82
|
+
mount(<TextInput maxWidth='4-char' width={'25%'}></TextInput>)
|
|
83
83
|
).toMatchSnapshot();
|
|
84
84
|
});
|
|
85
85
|
|
|
86
|
-
it('renders the TextInput with with
|
|
86
|
+
it('renders the TextInput with with maxWidth="5-char" with width=one-quarter', () => {
|
|
87
87
|
expect(
|
|
88
|
-
mount(<TextInput
|
|
88
|
+
mount(<TextInput maxWidth='5-char' width={'25%'}></TextInput>)
|
|
89
89
|
).toMatchSnapshot();
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
it('renders the TextInput with
|
|
92
|
+
it('renders the TextInput with maxWidth="20-char" and with width=one-quarter', () => {
|
|
93
93
|
expect(
|
|
94
|
-
mount(<TextInput
|
|
94
|
+
mount(<TextInput maxWidth='20-char' width={'25%'}></TextInput>)
|
|
95
95
|
).toMatchSnapshot();
|
|
96
96
|
});
|
|
97
97
|
|
|
98
|
-
it('renders the TextInput with
|
|
98
|
+
it('renders the TextInput with maxWidth="2-char" and with width=one-third', () => {
|
|
99
99
|
expect(
|
|
100
|
-
mount(<TextInput
|
|
100
|
+
mount(<TextInput maxWidth='2-char' width={'33.3%'}></TextInput>)
|
|
101
101
|
).toMatchSnapshot();
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
it('renders the TextInput with
|
|
104
|
+
it('renders the TextInput with maxWidth="3-char" and with width=one-third', () => {
|
|
105
105
|
expect(
|
|
106
|
-
mount(<TextInput
|
|
106
|
+
mount(<TextInput maxWidth='3-char' width={'33.3%'}></TextInput>)
|
|
107
107
|
).toMatchSnapshot();
|
|
108
108
|
});
|
|
109
109
|
|
|
110
|
-
it('renders the TextInput with
|
|
110
|
+
it('renders the TextInput with maxWidth="4-char" and with width=one-third', () => {
|
|
111
111
|
expect(
|
|
112
|
-
mount(<TextInput
|
|
112
|
+
mount(<TextInput maxWidth='4-char' width={'33.3%'}></TextInput>)
|
|
113
113
|
).toMatchSnapshot();
|
|
114
114
|
});
|
|
115
115
|
|
|
116
|
-
it('renders the TextInput with with
|
|
116
|
+
it('renders the TextInput with with maxWidth="5-char" with width=one-third', () => {
|
|
117
117
|
expect(
|
|
118
|
-
mount(<TextInput
|
|
118
|
+
mount(<TextInput maxWidth='5-char' width={'33.3%'}></TextInput>)
|
|
119
119
|
).toMatchSnapshot();
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
it('renders the TextInput with
|
|
122
|
+
it('renders the TextInput with maxWidth="20-char" and with width=one-third', () => {
|
|
123
123
|
expect(
|
|
124
|
-
mount(<TextInput
|
|
124
|
+
mount(<TextInput maxWidth='20-char' width={'33.3%'}></TextInput>)
|
|
125
125
|
).toMatchSnapshot();
|
|
126
126
|
});
|
|
127
127
|
|
|
128
|
-
it('renders the TextInput with
|
|
128
|
+
it('renders the TextInput with maxWidth="2-char" and with width=one-half', () => {
|
|
129
129
|
expect(
|
|
130
|
-
mount(<TextInput
|
|
130
|
+
mount(<TextInput maxWidth='2-char' width={'50%'}></TextInput>)
|
|
131
131
|
).toMatchSnapshot();
|
|
132
132
|
});
|
|
133
133
|
|
|
134
|
-
it('renders the TextInput with
|
|
134
|
+
it('renders the TextInput with maxWidth="3-char" and with width=one-half', () => {
|
|
135
135
|
expect(
|
|
136
|
-
mount(<TextInput
|
|
136
|
+
mount(<TextInput maxWidth='3-char' width={'50%'}></TextInput>)
|
|
137
137
|
).toMatchSnapshot();
|
|
138
138
|
});
|
|
139
139
|
|
|
140
|
-
it('renders the TextInput with
|
|
140
|
+
it('renders the TextInput with maxWidth="4-char" and with width=one-half', () => {
|
|
141
141
|
expect(
|
|
142
|
-
mount(<TextInput
|
|
142
|
+
mount(<TextInput maxWidth='4-char' width={'50%'}></TextInput>)
|
|
143
143
|
).toMatchSnapshot();
|
|
144
144
|
});
|
|
145
145
|
|
|
146
|
-
it('renders the TextInput with with
|
|
146
|
+
it('renders the TextInput with with maxWidth="5-char" with width=one-half', () => {
|
|
147
147
|
expect(
|
|
148
|
-
mount(<TextInput
|
|
148
|
+
mount(<TextInput maxWidth='5-char' width={'50%'}></TextInput>)
|
|
149
149
|
).toMatchSnapshot();
|
|
150
150
|
});
|
|
151
151
|
|
|
152
|
-
it('renders the TextInput with
|
|
152
|
+
it('renders the TextInput with maxWidth="20-char" and with width=one-half', () => {
|
|
153
153
|
expect(
|
|
154
|
-
mount(<TextInput
|
|
154
|
+
mount(<TextInput maxWidth='20-char' width={'50%'}></TextInput>)
|
|
155
155
|
).toMatchSnapshot();
|
|
156
156
|
});
|
|
157
157
|
|
|
158
|
-
it('renders the TextInput with
|
|
158
|
+
it('renders the TextInput with maxWidth="2-char" and with width=two-thirds', () => {
|
|
159
159
|
expect(
|
|
160
|
-
mount(<TextInput
|
|
160
|
+
mount(<TextInput maxWidth='2-char' width={'66.6%'}></TextInput>)
|
|
161
161
|
).toMatchSnapshot();
|
|
162
162
|
});
|
|
163
163
|
|
|
164
|
-
it('renders the TextInput with
|
|
164
|
+
it('renders the TextInput with maxWidth="3-char" and with width=two-thirds', () => {
|
|
165
165
|
expect(
|
|
166
|
-
mount(<TextInput
|
|
166
|
+
mount(<TextInput maxWidth='3-char' width={'66.6%'}></TextInput>)
|
|
167
167
|
).toMatchSnapshot();
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
it('renders the TextInput with
|
|
170
|
+
it('renders the TextInput with maxWidth="4-char" and with width=two-thirds', () => {
|
|
171
171
|
expect(
|
|
172
|
-
mount(<TextInput
|
|
172
|
+
mount(<TextInput maxWidth='4-char' width={'66.6%'}></TextInput>)
|
|
173
173
|
).toMatchSnapshot();
|
|
174
174
|
});
|
|
175
175
|
|
|
176
|
-
it('renders the TextInput with with
|
|
176
|
+
it('renders the TextInput with with maxWidth="5-char" with width=two-thirds', () => {
|
|
177
177
|
expect(
|
|
178
|
-
mount(<TextInput
|
|
178
|
+
mount(<TextInput maxWidth='5-char' width={'66.6%'}></TextInput>)
|
|
179
179
|
).toMatchSnapshot();
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
-
it('renders the TextInput with
|
|
182
|
+
it('renders the TextInput with maxWidth="20-char" and with width=two-thirds', () => {
|
|
183
183
|
expect(
|
|
184
|
-
mount(<TextInput
|
|
184
|
+
mount(<TextInput maxWidth='20-char' width={'66.6%'}></TextInput>)
|
|
185
185
|
).toMatchSnapshot();
|
|
186
186
|
});
|
|
187
187
|
|
|
188
|
-
it('renders the TextInput with
|
|
188
|
+
it('renders the TextInput with maxWidth="2-char" and with width=three-quarters', () => {
|
|
189
189
|
expect(
|
|
190
190
|
mount(
|
|
191
|
-
<TextInput
|
|
191
|
+
<TextInput maxWidth='2-char' width={'75%'}></TextInput>
|
|
192
192
|
)
|
|
193
193
|
).toMatchSnapshot();
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
it('renders the TextInput with
|
|
196
|
+
it('renders the TextInput with maxWidth="3-char" and with width=three-quarters', () => {
|
|
197
197
|
expect(
|
|
198
198
|
mount(
|
|
199
|
-
<TextInput
|
|
199
|
+
<TextInput maxWidth='3-char' width={'75%'}></TextInput>
|
|
200
200
|
)
|
|
201
201
|
).toMatchSnapshot();
|
|
202
202
|
});
|
|
203
203
|
|
|
204
|
-
it('renders the TextInput with
|
|
204
|
+
it('renders the TextInput with maxWidth="4-char" and with width=three-quarters', () => {
|
|
205
205
|
expect(
|
|
206
206
|
mount(
|
|
207
|
-
<TextInput
|
|
207
|
+
<TextInput maxWidth='4-char' width={'75%'}></TextInput>
|
|
208
208
|
)
|
|
209
209
|
).toMatchSnapshot();
|
|
210
210
|
});
|
|
211
211
|
|
|
212
|
-
it('renders the TextInput with with
|
|
212
|
+
it('renders the TextInput with with maxWidth="5-char" with width=three-quarters', () => {
|
|
213
213
|
expect(
|
|
214
214
|
mount(
|
|
215
|
-
<TextInput
|
|
215
|
+
<TextInput maxWidth='5-char' width={'75%'}></TextInput>
|
|
216
216
|
)
|
|
217
217
|
).toMatchSnapshot();
|
|
218
218
|
});
|
|
219
219
|
|
|
220
|
-
it('renders the TextInput with
|
|
220
|
+
it('renders the TextInput with maxWidth="20-char" and with width=three-quarters', () => {
|
|
221
221
|
expect(
|
|
222
222
|
mount(
|
|
223
|
-
<TextInput
|
|
223
|
+
<TextInput maxWidth='20-char' width={'75%'}></TextInput>
|
|
224
224
|
)
|
|
225
225
|
).toMatchSnapshot();
|
|
226
226
|
});
|
|
227
227
|
|
|
228
|
-
it('renders the TextInput with
|
|
228
|
+
it('renders the TextInput with maxWidth="2-char" and with width=full', () => {
|
|
229
229
|
expect(
|
|
230
|
-
mount(<TextInput
|
|
230
|
+
mount(<TextInput maxWidth='2-char' width={'full'}></TextInput>)
|
|
231
231
|
).toMatchSnapshot();
|
|
232
232
|
});
|
|
233
233
|
|
|
234
|
-
it('renders the TextInput with
|
|
234
|
+
it('renders the TextInput with maxWidth="3-char" and with width=full', () => {
|
|
235
235
|
expect(
|
|
236
|
-
mount(<TextInput
|
|
236
|
+
mount(<TextInput maxWidth='3-char' width={'full'}></TextInput>)
|
|
237
237
|
).toMatchSnapshot();
|
|
238
238
|
});
|
|
239
239
|
|
|
240
|
-
it('renders the TextInput with
|
|
240
|
+
it('renders the TextInput with maxWidth="4-char" and with width=full', () => {
|
|
241
241
|
expect(
|
|
242
|
-
mount(<TextInput
|
|
242
|
+
mount(<TextInput maxWidth='4-char' width={'full'}></TextInput>)
|
|
243
243
|
).toMatchSnapshot();
|
|
244
244
|
});
|
|
245
245
|
|
|
246
|
-
it('renders the TextInput with with
|
|
246
|
+
it('renders the TextInput with with maxWidth="5-char" with width=full', () => {
|
|
247
247
|
expect(
|
|
248
|
-
mount(<TextInput
|
|
248
|
+
mount(<TextInput maxWidth='5-char' width={'full'}></TextInput>)
|
|
249
249
|
).toMatchSnapshot();
|
|
250
250
|
});
|
|
251
251
|
|
|
252
|
-
it('renders the TextInput with
|
|
252
|
+
it('renders the TextInput with maxWidth="20-char" and with width=full', () => {
|
|
253
253
|
expect(
|
|
254
|
-
mount(<TextInput
|
|
254
|
+
mount(<TextInput maxWidth='20-char' width={'full'}></TextInput>)
|
|
255
255
|
).toMatchSnapshot();
|
|
256
256
|
});
|
package/src/TextInput/index.tsx
CHANGED
|
@@ -4,40 +4,35 @@ import Base, { BaseProps } from '@digigov/react-core/Base';
|
|
|
4
4
|
|
|
5
5
|
export interface TextInputProps extends BaseProps<'input'> {
|
|
6
6
|
/**
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
* maxWidth is optional.
|
|
8
|
+
* @value '2-char';
|
|
9
|
+
* @value '3-char';
|
|
10
|
+
* @value '4-char';
|
|
11
|
+
* @value '5-char';
|
|
12
|
+
* @value '10-char';
|
|
13
|
+
* @value '20-char';
|
|
14
|
+
*/
|
|
15
|
+
maxWidth?: '2-char' | '3-char' | '4-char' | '5-char' | '10-char' | '20-char';
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
| 'one-third'
|
|
30
|
-
| 'one-half'
|
|
31
|
-
| 'two-thirds'
|
|
32
|
-
| 'three-quarters'
|
|
33
|
-
| 'full';
|
|
18
|
+
* width is optional.
|
|
19
|
+
* Use width prop to define a custom width in your component.
|
|
20
|
+
* @value '25%';
|
|
21
|
+
* @value '33.3%';
|
|
22
|
+
* @value '50%';
|
|
23
|
+
* @value '66.6%';
|
|
24
|
+
* @value '75%';
|
|
25
|
+
* @value '100%';
|
|
26
|
+
* @value 'full';
|
|
27
|
+
*/
|
|
28
|
+
width?: '25%' | '33.3%' | '50%' | '66.6%' | '75%' | '100%' | 'full';
|
|
34
29
|
|
|
35
30
|
/**
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
31
|
+
* error is optional. The default value is false.
|
|
32
|
+
* Use this prop when there is an error at the input.
|
|
33
|
+
* @value true
|
|
34
|
+
* @value false
|
|
35
|
+
*/
|
|
41
36
|
error?: boolean;
|
|
42
37
|
}
|
|
43
38
|
/**
|
|
@@ -48,9 +43,8 @@ export const TextInput = React.forwardRef<HTMLInputElement, TextInputProps>(
|
|
|
48
43
|
function TextInput(
|
|
49
44
|
{
|
|
50
45
|
type = 'text',
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
cellWidth,
|
|
46
|
+
maxWidth,
|
|
47
|
+
width,
|
|
54
48
|
error,
|
|
55
49
|
className,
|
|
56
50
|
children,
|
|
@@ -62,23 +56,16 @@ export const TextInput = React.forwardRef<HTMLInputElement, TextInputProps>(
|
|
|
62
56
|
<Base
|
|
63
57
|
as="input"
|
|
64
58
|
type={type}
|
|
65
|
-
name={name}
|
|
66
59
|
ref={ref}
|
|
67
60
|
className={clsx(className, {
|
|
68
61
|
'govgr-input': true,
|
|
69
|
-
'govgr-input--width-2': characterWidth === 2,
|
|
70
|
-
'govgr-input--width-3': characterWidth === 3,
|
|
71
|
-
'govgr-input--width-4': characterWidth === 4,
|
|
72
|
-
'govgr-input--width-5': characterWidth === 5,
|
|
73
|
-
'govgr-input--width-10': characterWidth === 10,
|
|
74
|
-
'govgr-input--width-20': characterWidth === 20,
|
|
75
|
-
'govgr-!-width-one-quarter': cellWidth === 'one-quarter',
|
|
76
|
-
'govgr-!-width-one-third': cellWidth === 'one-third',
|
|
77
|
-
'govgr-!-width-one-half': cellWidth === 'one-half',
|
|
78
|
-
'govgr-!-width-two-thirds': cellWidth === 'two-thirds',
|
|
79
|
-
'govgr-!-width-three-quarters': cellWidth === 'three-quarters',
|
|
80
|
-
'govgr-!-width-full': cellWidth === 'full',
|
|
81
62
|
'govgr-input--error': error,
|
|
63
|
+
[`govgr-input--width-${maxWidth}`]: maxWidth !== undefined,
|
|
64
|
+
'govgr-!-width-one-quarter': width === '25%',
|
|
65
|
+
'govgr-!-width-one-third': width === '33.3%',
|
|
66
|
+
'govgr-!-width-one-half': width === '50%',
|
|
67
|
+
'govgr-!-width-two-thirds': width === '66.6%',
|
|
68
|
+
'govgr-!-width-three-quarters': width === '75%',
|
|
82
69
|
})}
|
|
83
70
|
{...props}
|
|
84
71
|
>
|
package/src/Timeline/index.tsx
CHANGED
|
@@ -4,26 +4,26 @@ import Base, { BaseProps } from '@digigov/react-core/Base';
|
|
|
4
4
|
|
|
5
5
|
export interface TimelineProps extends BaseProps<'ol'> {
|
|
6
6
|
/**
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
* spaced is optional. Use it to add space between the list items.
|
|
8
|
+
* @value true
|
|
9
|
+
* @value false
|
|
10
|
+
* @default true
|
|
11
|
+
*/
|
|
12
|
+
dense?: boolean;
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* Timeline component is used for listing items.
|
|
16
16
|
* This component must contain TimelineItem component.
|
|
17
17
|
*/
|
|
18
18
|
export const Timeline = React.forwardRef<HTMLOListElement, TimelineProps>(
|
|
19
|
-
function Timeline({
|
|
19
|
+
function Timeline({ dense = true, className, children, ...props }, ref) {
|
|
20
20
|
return (
|
|
21
21
|
<Base
|
|
22
22
|
as="ol"
|
|
23
23
|
ref={ref}
|
|
24
24
|
className={clsx(className, {
|
|
25
25
|
'govgr-timeline': true,
|
|
26
|
-
'govgr-timeline--spaced':
|
|
26
|
+
'govgr-timeline--spaced': !dense,
|
|
27
27
|
})}
|
|
28
28
|
{...props}
|
|
29
29
|
>
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`renders the Typography fontSize=24 and as=span props 1`] = `
|
|
4
|
+
<ForwardRef(Typography)
|
|
5
|
+
as="span"
|
|
6
|
+
fontSize={24}
|
|
7
|
+
>
|
|
8
|
+
<ForwardRef(Base)
|
|
9
|
+
as="span"
|
|
10
|
+
className="govgr-!-font-size-24"
|
|
11
|
+
>
|
|
12
|
+
<span
|
|
13
|
+
className="govgr-!-font-size-24"
|
|
14
|
+
>
|
|
15
|
+
hello
|
|
16
|
+
</span>
|
|
17
|
+
</ForwardRef(Base)>
|
|
18
|
+
</ForwardRef(Typography)>
|
|
19
|
+
`;
|
|
20
|
+
|
|
21
|
+
exports[`renders the Typography fontSize=30 and as=span props 1`] = `
|
|
22
|
+
<ForwardRef(Typography)
|
|
23
|
+
as="span"
|
|
24
|
+
fontSize={30}
|
|
25
|
+
>
|
|
26
|
+
<ForwardRef(Base)
|
|
27
|
+
as="span"
|
|
28
|
+
className="govgr-!-font-size-30"
|
|
29
|
+
>
|
|
30
|
+
<span
|
|
31
|
+
className="govgr-!-font-size-30"
|
|
32
|
+
>
|
|
33
|
+
hello
|
|
34
|
+
</span>
|
|
35
|
+
</ForwardRef(Base)>
|
|
36
|
+
</ForwardRef(Typography)>
|
|
37
|
+
`;
|
|
38
|
+
|
|
39
|
+
exports[`renders the Typography fontSize=36 and as=span props 1`] = `
|
|
40
|
+
<ForwardRef(Typography)
|
|
41
|
+
as="span"
|
|
42
|
+
fontSize={36}
|
|
43
|
+
>
|
|
44
|
+
<ForwardRef(Base)
|
|
45
|
+
as="span"
|
|
46
|
+
className="govgr-!-font-size-36"
|
|
47
|
+
>
|
|
48
|
+
<span
|
|
49
|
+
className="govgr-!-font-size-36"
|
|
50
|
+
>
|
|
51
|
+
hello
|
|
52
|
+
</span>
|
|
53
|
+
</ForwardRef(Base)>
|
|
54
|
+
</ForwardRef(Typography)>
|
|
55
|
+
`;
|
|
56
|
+
|
|
57
|
+
exports[`renders the Typography fontSize=48 and as=span props 1`] = `
|
|
58
|
+
<ForwardRef(Typography)
|
|
59
|
+
as="span"
|
|
60
|
+
fontSize={48}
|
|
61
|
+
>
|
|
62
|
+
<ForwardRef(Base)
|
|
63
|
+
as="span"
|
|
64
|
+
className="govgr-!-font-size-48"
|
|
65
|
+
>
|
|
66
|
+
<span
|
|
67
|
+
className="govgr-!-font-size-48"
|
|
68
|
+
>
|
|
69
|
+
hello
|
|
70
|
+
</span>
|
|
71
|
+
</ForwardRef(Base)>
|
|
72
|
+
</ForwardRef(Typography)>
|
|
73
|
+
`;
|
|
74
|
+
|
|
75
|
+
exports[`renders the Typography fontSize=72 and as=span props 1`] = `
|
|
76
|
+
<ForwardRef(Typography)
|
|
77
|
+
as="span"
|
|
78
|
+
fontSize={72}
|
|
79
|
+
>
|
|
80
|
+
<ForwardRef(Base)
|
|
81
|
+
as="span"
|
|
82
|
+
className="govgr-!-font-size-72"
|
|
83
|
+
>
|
|
84
|
+
<span
|
|
85
|
+
className="govgr-!-font-size-72"
|
|
86
|
+
>
|
|
87
|
+
hello
|
|
88
|
+
</span>
|
|
89
|
+
</ForwardRef(Base)>
|
|
90
|
+
</ForwardRef(Typography)>
|
|
91
|
+
`;
|
|
92
|
+
|
|
93
|
+
exports[`renders the Typography fontWeight=bold and as=p props 1`] = `
|
|
94
|
+
<ForwardRef(Typography)
|
|
95
|
+
as="p"
|
|
96
|
+
fontWeight="bold"
|
|
97
|
+
>
|
|
98
|
+
<ForwardRef(Base)
|
|
99
|
+
as="p"
|
|
100
|
+
className="govgr-!-font-weight-bold"
|
|
101
|
+
>
|
|
102
|
+
<p
|
|
103
|
+
className="govgr-!-font-weight-bold"
|
|
104
|
+
>
|
|
105
|
+
hello
|
|
106
|
+
</p>
|
|
107
|
+
</ForwardRef(Base)>
|
|
108
|
+
</ForwardRef(Typography)>
|
|
109
|
+
`;
|
|
110
|
+
|
|
111
|
+
exports[`renders the Typography with fontSize=14 and as=span props 1`] = `
|
|
112
|
+
<ForwardRef(Typography)
|
|
113
|
+
as="span"
|
|
114
|
+
fontSize={14}
|
|
115
|
+
>
|
|
116
|
+
<ForwardRef(Base)
|
|
117
|
+
as="span"
|
|
118
|
+
className="govgr-!-font-size-14"
|
|
119
|
+
>
|
|
120
|
+
<span
|
|
121
|
+
className="govgr-!-font-size-14"
|
|
122
|
+
>
|
|
123
|
+
hello
|
|
124
|
+
</span>
|
|
125
|
+
</ForwardRef(Base)>
|
|
126
|
+
</ForwardRef(Typography)>
|
|
127
|
+
`;
|
|
128
|
+
|
|
129
|
+
exports[`renders the Typography with fontSize=16 and as=span props 1`] = `
|
|
130
|
+
<ForwardRef(Typography)
|
|
131
|
+
as="span"
|
|
132
|
+
fontSize={16}
|
|
133
|
+
>
|
|
134
|
+
<ForwardRef(Base)
|
|
135
|
+
as="span"
|
|
136
|
+
className="govgr-!-font-size-16"
|
|
137
|
+
>
|
|
138
|
+
<span
|
|
139
|
+
className="govgr-!-font-size-16"
|
|
140
|
+
>
|
|
141
|
+
hello
|
|
142
|
+
</span>
|
|
143
|
+
</ForwardRef(Base)>
|
|
144
|
+
</ForwardRef(Typography)>
|
|
145
|
+
`;
|
|
146
|
+
|
|
147
|
+
exports[`renders the Typography with fontSize=19 and as=span props 1`] = `
|
|
148
|
+
<ForwardRef(Typography)
|
|
149
|
+
as="span"
|
|
150
|
+
fontSize={19}
|
|
151
|
+
>
|
|
152
|
+
<ForwardRef(Base)
|
|
153
|
+
as="span"
|
|
154
|
+
className="govgr-!-font-size-19"
|
|
155
|
+
>
|
|
156
|
+
<span
|
|
157
|
+
className="govgr-!-font-size-19"
|
|
158
|
+
>
|
|
159
|
+
hello
|
|
160
|
+
</span>
|
|
161
|
+
</ForwardRef(Base)>
|
|
162
|
+
</ForwardRef(Typography)>
|
|
163
|
+
`;
|
|
164
|
+
|
|
165
|
+
exports[`renders the Typography with fontWeight=regular and as=p props 1`] = `
|
|
166
|
+
<ForwardRef(Typography)
|
|
167
|
+
as="p"
|
|
168
|
+
fontWeight="regular"
|
|
169
|
+
>
|
|
170
|
+
<ForwardRef(Base)
|
|
171
|
+
as="p"
|
|
172
|
+
className="govgr-!-font-weight-regular"
|
|
173
|
+
>
|
|
174
|
+
<p
|
|
175
|
+
className="govgr-!-font-weight-regular"
|
|
176
|
+
>
|
|
177
|
+
hello
|
|
178
|
+
</p>
|
|
179
|
+
</ForwardRef(Base)>
|
|
180
|
+
</ForwardRef(Typography)>
|
|
181
|
+
`;
|