@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,21 +7,21 @@ it('renders the NormalText with no props', () => {
|
|
|
7
7
|
expect(mount(<NormalText>hello</NormalText>)).toMatchSnapshot();
|
|
8
8
|
});
|
|
9
9
|
|
|
10
|
-
it('renders the NormalText with
|
|
10
|
+
it('renders the NormalText with size=lead', () => {
|
|
11
11
|
expect(
|
|
12
|
-
mount(<NormalText
|
|
12
|
+
mount(<NormalText size={'lg'}>hello</NormalText>)
|
|
13
13
|
).toMatchSnapshot();
|
|
14
14
|
});
|
|
15
15
|
|
|
16
|
-
it('renders the NormalText with
|
|
16
|
+
it('renders the NormalText with size=normal', () => {
|
|
17
17
|
expect(
|
|
18
|
-
mount(<NormalText
|
|
18
|
+
mount(<NormalText size={'md'}>hello</NormalText>)
|
|
19
19
|
).toMatchSnapshot();
|
|
20
20
|
});
|
|
21
21
|
|
|
22
|
-
it('renders the NormalText with
|
|
22
|
+
it('renders the NormalText with size=small', () => {
|
|
23
23
|
expect(
|
|
24
|
-
mount(<NormalText
|
|
24
|
+
mount(<NormalText size={'sm'}>hello</NormalText>)
|
|
25
25
|
).toMatchSnapshot();
|
|
26
26
|
});
|
|
27
27
|
|
|
@@ -39,306 +39,306 @@ it('renders the NormalText with fontWeight=bold', () => {
|
|
|
39
39
|
|
|
40
40
|
it('renders the NormalText with fontSize=14', () => {
|
|
41
41
|
expect(
|
|
42
|
-
mount(<NormalText fontSize={
|
|
42
|
+
mount(<NormalText fontSize={14}>hello</NormalText>)
|
|
43
43
|
).toMatchSnapshot();
|
|
44
44
|
});
|
|
45
45
|
|
|
46
46
|
it('renders the NormalText with fontSize=16', () => {
|
|
47
47
|
expect(
|
|
48
|
-
mount(<NormalText fontSize={
|
|
48
|
+
mount(<NormalText fontSize={16}>hello</NormalText>)
|
|
49
49
|
).toMatchSnapshot();
|
|
50
50
|
});
|
|
51
51
|
|
|
52
52
|
it('renders the NormalText with fontSize=19', () => {
|
|
53
53
|
expect(
|
|
54
|
-
mount(<NormalText fontSize={
|
|
54
|
+
mount(<NormalText fontSize={19}>hello</NormalText>)
|
|
55
55
|
).toMatchSnapshot();
|
|
56
56
|
});
|
|
57
57
|
|
|
58
58
|
it('renders the NormalText with fontSize=24', () => {
|
|
59
59
|
expect(
|
|
60
|
-
mount(<NormalText fontSize={
|
|
60
|
+
mount(<NormalText fontSize={24}>hello</NormalText>)
|
|
61
61
|
).toMatchSnapshot();
|
|
62
62
|
});
|
|
63
63
|
|
|
64
64
|
it('renders the NormalText with fontSize=30', () => {
|
|
65
65
|
expect(
|
|
66
|
-
mount(<NormalText fontSize={
|
|
66
|
+
mount(<NormalText fontSize={30}>hello</NormalText>)
|
|
67
67
|
).toMatchSnapshot();
|
|
68
68
|
});
|
|
69
69
|
|
|
70
70
|
it('renders the NormalText with fontSize=36', () => {
|
|
71
71
|
expect(
|
|
72
|
-
mount(<NormalText fontSize={
|
|
72
|
+
mount(<NormalText fontSize={36}>hello</NormalText>)
|
|
73
73
|
).toMatchSnapshot();
|
|
74
74
|
});
|
|
75
75
|
|
|
76
76
|
it('renders the NormalText with fontSize=48', () => {
|
|
77
77
|
expect(
|
|
78
|
-
mount(<NormalText fontSize={
|
|
78
|
+
mount(<NormalText fontSize={48}>hello</NormalText>)
|
|
79
79
|
).toMatchSnapshot();
|
|
80
80
|
});
|
|
81
81
|
|
|
82
82
|
it('renders the NormalText with fontSize=72', () => {
|
|
83
83
|
expect(
|
|
84
|
-
mount(<NormalText fontSize={
|
|
84
|
+
mount(<NormalText fontSize={72}>hello</NormalText>)
|
|
85
85
|
).toMatchSnapshot();
|
|
86
86
|
});
|
|
87
87
|
|
|
88
|
-
it('renders the NormalText with
|
|
88
|
+
it('renders the NormalText with size=lead and fontSize=14', () => {
|
|
89
89
|
expect(
|
|
90
90
|
mount(
|
|
91
|
-
<NormalText
|
|
91
|
+
<NormalText size={'lg'} fontSize={14}>
|
|
92
92
|
hello
|
|
93
93
|
</NormalText>
|
|
94
94
|
)
|
|
95
95
|
).toMatchSnapshot();
|
|
96
96
|
});
|
|
97
97
|
|
|
98
|
-
it('renders the NormalText with
|
|
98
|
+
it('renders the NormalText with size=lead and ontSize=16', () => {
|
|
99
99
|
expect(
|
|
100
100
|
mount(
|
|
101
|
-
<NormalText
|
|
101
|
+
<NormalText size={'lg'} fontSize={16}>
|
|
102
102
|
hello
|
|
103
103
|
</NormalText>
|
|
104
104
|
)
|
|
105
105
|
).toMatchSnapshot();
|
|
106
106
|
});
|
|
107
107
|
|
|
108
|
-
it('renders the NormalText with
|
|
108
|
+
it('renders the NormalText with size=lead and fontSize=19', () => {
|
|
109
109
|
expect(
|
|
110
110
|
mount(
|
|
111
|
-
<NormalText
|
|
111
|
+
<NormalText size={'lg'} fontSize={19}>
|
|
112
112
|
hello
|
|
113
113
|
</NormalText>
|
|
114
114
|
)
|
|
115
115
|
).toMatchSnapshot();
|
|
116
116
|
});
|
|
117
117
|
|
|
118
|
-
it('renders the NormalText with
|
|
118
|
+
it('renders the NormalText with size=lead and fontSize=24', () => {
|
|
119
119
|
expect(
|
|
120
120
|
mount(
|
|
121
|
-
<NormalText
|
|
121
|
+
<NormalText size={'lg'} fontSize={24}>
|
|
122
122
|
hello
|
|
123
123
|
</NormalText>
|
|
124
124
|
)
|
|
125
125
|
).toMatchSnapshot();
|
|
126
126
|
});
|
|
127
127
|
|
|
128
|
-
it('renders the NormalText with
|
|
128
|
+
it('renders the NormalText with size=lead and fontSize=30', () => {
|
|
129
129
|
expect(
|
|
130
130
|
mount(
|
|
131
|
-
<NormalText
|
|
131
|
+
<NormalText size={'lg'} fontSize={30}>
|
|
132
132
|
hello
|
|
133
133
|
</NormalText>
|
|
134
134
|
)
|
|
135
135
|
).toMatchSnapshot();
|
|
136
136
|
});
|
|
137
137
|
|
|
138
|
-
it('renders the NormalText with
|
|
138
|
+
it('renders the NormalText with size=lead and fontSize=36', () => {
|
|
139
139
|
expect(
|
|
140
140
|
mount(
|
|
141
|
-
<NormalText
|
|
141
|
+
<NormalText size={'lg'} fontSize={36}>
|
|
142
142
|
hello
|
|
143
143
|
</NormalText>
|
|
144
144
|
)
|
|
145
145
|
).toMatchSnapshot();
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
it('renders the NormalText with
|
|
148
|
+
it('renders the NormalText with size=lead and font size fontSize=48', () => {
|
|
149
149
|
expect(
|
|
150
150
|
mount(
|
|
151
|
-
<NormalText
|
|
151
|
+
<NormalText size={'lg'} fontSize={48}>
|
|
152
152
|
hello
|
|
153
153
|
</NormalText>
|
|
154
154
|
)
|
|
155
155
|
).toMatchSnapshot();
|
|
156
156
|
});
|
|
157
157
|
|
|
158
|
-
it('renders the NormalText with
|
|
158
|
+
it('renders the NormalText with size=lead and font size fontSize=72', () => {
|
|
159
159
|
expect(
|
|
160
160
|
mount(
|
|
161
|
-
<NormalText
|
|
161
|
+
<NormalText size={'lg'} fontSize={72}>
|
|
162
162
|
hello
|
|
163
163
|
</NormalText>
|
|
164
164
|
)
|
|
165
165
|
).toMatchSnapshot();
|
|
166
166
|
});
|
|
167
167
|
|
|
168
|
-
it('renders the NormalText with
|
|
168
|
+
it('renders the NormalText with size=normal and fontSize=14', () => {
|
|
169
169
|
expect(
|
|
170
170
|
mount(
|
|
171
|
-
<NormalText
|
|
171
|
+
<NormalText size={'md'} fontSize={14}>
|
|
172
172
|
hello
|
|
173
173
|
</NormalText>
|
|
174
174
|
)
|
|
175
175
|
).toMatchSnapshot();
|
|
176
176
|
});
|
|
177
177
|
|
|
178
|
-
it('renders the NormalText with
|
|
178
|
+
it('renders the NormalText with size=normal and ontSize=16', () => {
|
|
179
179
|
expect(
|
|
180
180
|
mount(
|
|
181
|
-
<NormalText
|
|
181
|
+
<NormalText size={'md'} fontSize={16}>
|
|
182
182
|
hello
|
|
183
183
|
</NormalText>
|
|
184
184
|
)
|
|
185
185
|
).toMatchSnapshot();
|
|
186
186
|
});
|
|
187
187
|
|
|
188
|
-
it('renders the NormalText with
|
|
188
|
+
it('renders the NormalText with size=normal and fontSize=19', () => {
|
|
189
189
|
expect(
|
|
190
190
|
mount(
|
|
191
|
-
<NormalText
|
|
191
|
+
<NormalText size={'md'} fontSize={19}>
|
|
192
192
|
hello
|
|
193
193
|
</NormalText>
|
|
194
194
|
)
|
|
195
195
|
).toMatchSnapshot();
|
|
196
196
|
});
|
|
197
197
|
|
|
198
|
-
it('renders the NormalText with
|
|
198
|
+
it('renders the NormalText with size=normal and fontSize=24', () => {
|
|
199
199
|
expect(
|
|
200
200
|
mount(
|
|
201
|
-
<NormalText
|
|
201
|
+
<NormalText size={'md'} fontSize={24}>
|
|
202
202
|
hello
|
|
203
203
|
</NormalText>
|
|
204
204
|
)
|
|
205
205
|
).toMatchSnapshot();
|
|
206
206
|
});
|
|
207
207
|
|
|
208
|
-
it('renders the NormalText with
|
|
208
|
+
it('renders the NormalText with size=normal and fontSize=30', () => {
|
|
209
209
|
expect(
|
|
210
210
|
mount(
|
|
211
|
-
<NormalText
|
|
211
|
+
<NormalText size={'md'} fontSize={30}>
|
|
212
212
|
hello
|
|
213
213
|
</NormalText>
|
|
214
214
|
)
|
|
215
215
|
).toMatchSnapshot();
|
|
216
216
|
});
|
|
217
217
|
|
|
218
|
-
it('renders the NormalText with
|
|
218
|
+
it('renders the NormalText with size=normal and fontSize=36', () => {
|
|
219
219
|
expect(
|
|
220
220
|
mount(
|
|
221
|
-
<NormalText
|
|
221
|
+
<NormalText size={'md'} fontSize={36}>
|
|
222
222
|
hello
|
|
223
223
|
</NormalText>
|
|
224
224
|
)
|
|
225
225
|
).toMatchSnapshot();
|
|
226
226
|
});
|
|
227
227
|
|
|
228
|
-
it('renders the NormalText with
|
|
228
|
+
it('renders the NormalText with size=normal and font size fontSize=48', () => {
|
|
229
229
|
expect(
|
|
230
230
|
mount(
|
|
231
|
-
<NormalText
|
|
231
|
+
<NormalText size={'md'} fontSize={48}>
|
|
232
232
|
hello
|
|
233
233
|
</NormalText>
|
|
234
234
|
)
|
|
235
235
|
).toMatchSnapshot();
|
|
236
236
|
});
|
|
237
237
|
|
|
238
|
-
it('renders the NormalText with
|
|
238
|
+
it('renders the NormalText with size=normal and font size fontSize=72', () => {
|
|
239
239
|
expect(
|
|
240
240
|
mount(
|
|
241
|
-
<NormalText
|
|
241
|
+
<NormalText size={'md'} fontSize={72}>
|
|
242
242
|
hello
|
|
243
243
|
</NormalText>
|
|
244
244
|
)
|
|
245
245
|
).toMatchSnapshot();
|
|
246
246
|
});
|
|
247
247
|
|
|
248
|
-
it('renders the NormalText with
|
|
248
|
+
it('renders the NormalText with size=small and fontSize=14', () => {
|
|
249
249
|
expect(
|
|
250
250
|
mount(
|
|
251
|
-
<NormalText
|
|
251
|
+
<NormalText size={'sm'} fontSize={14}>
|
|
252
252
|
hello
|
|
253
253
|
</NormalText>
|
|
254
254
|
)
|
|
255
255
|
).toMatchSnapshot();
|
|
256
256
|
});
|
|
257
257
|
|
|
258
|
-
it('renders the NormalText with
|
|
258
|
+
it('renders the NormalText with size=small and ontSize=16', () => {
|
|
259
259
|
expect(
|
|
260
260
|
mount(
|
|
261
|
-
<NormalText
|
|
261
|
+
<NormalText size={'sm'} fontSize={16}>
|
|
262
262
|
hello
|
|
263
263
|
</NormalText>
|
|
264
264
|
)
|
|
265
265
|
).toMatchSnapshot();
|
|
266
266
|
});
|
|
267
267
|
|
|
268
|
-
it('renders the NormalText with
|
|
268
|
+
it('renders the NormalText with size=small and fontSize=19', () => {
|
|
269
269
|
expect(
|
|
270
270
|
mount(
|
|
271
|
-
<NormalText
|
|
271
|
+
<NormalText size={'sm'} fontSize={19}>
|
|
272
272
|
hello
|
|
273
273
|
</NormalText>
|
|
274
274
|
)
|
|
275
275
|
).toMatchSnapshot();
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
it('renders the NormalText with
|
|
278
|
+
it('renders the NormalText with size=small and fontSize=24', () => {
|
|
279
279
|
expect(
|
|
280
280
|
mount(
|
|
281
|
-
<NormalText
|
|
281
|
+
<NormalText size={'sm'} fontSize={24}>
|
|
282
282
|
hello
|
|
283
283
|
</NormalText>
|
|
284
284
|
)
|
|
285
285
|
).toMatchSnapshot();
|
|
286
286
|
});
|
|
287
287
|
|
|
288
|
-
it('renders the NormalText with
|
|
288
|
+
it('renders the NormalText with size=small and fontSize=30', () => {
|
|
289
289
|
expect(
|
|
290
290
|
mount(
|
|
291
|
-
<NormalText
|
|
291
|
+
<NormalText size={'sm'} fontSize={30}>
|
|
292
292
|
hello
|
|
293
293
|
</NormalText>
|
|
294
294
|
)
|
|
295
295
|
).toMatchSnapshot();
|
|
296
296
|
});
|
|
297
297
|
|
|
298
|
-
it('renders the NormalText with
|
|
298
|
+
it('renders the NormalText with size=lead and fontSize=36', () => {
|
|
299
299
|
expect(
|
|
300
300
|
mount(
|
|
301
|
-
<NormalText
|
|
301
|
+
<NormalText size={'lg'} fontSize={36}>
|
|
302
302
|
hello
|
|
303
303
|
</NormalText>
|
|
304
304
|
)
|
|
305
305
|
).toMatchSnapshot();
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
it('renders the NormalText with
|
|
308
|
+
it('renders the NormalText with size=small and font size fontSize=48', () => {
|
|
309
309
|
expect(
|
|
310
310
|
mount(
|
|
311
|
-
<NormalText
|
|
311
|
+
<NormalText size={'sm'} fontSize={48}>
|
|
312
312
|
hello
|
|
313
313
|
</NormalText>
|
|
314
314
|
)
|
|
315
315
|
).toMatchSnapshot();
|
|
316
316
|
});
|
|
317
317
|
|
|
318
|
-
it('renders the NormalText with
|
|
318
|
+
it('renders the NormalText with size=small and font size fontSize=72', () => {
|
|
319
319
|
expect(
|
|
320
320
|
mount(
|
|
321
|
-
<NormalText
|
|
321
|
+
<NormalText size={'sm'} fontSize={72}>
|
|
322
322
|
hello
|
|
323
323
|
</NormalText>
|
|
324
324
|
)
|
|
325
325
|
).toMatchSnapshot();
|
|
326
326
|
});
|
|
327
327
|
|
|
328
|
-
it('renders the NormalText with
|
|
328
|
+
it('renders the NormalText with size=small, font size fontSize=72 and fontWeight=regular', () => {
|
|
329
329
|
expect(
|
|
330
330
|
mount(
|
|
331
|
-
<NormalText
|
|
331
|
+
<NormalText size={'sm'} fontSize={72} fontWeight={'regular'}>
|
|
332
332
|
hello
|
|
333
333
|
</NormalText>
|
|
334
334
|
)
|
|
335
335
|
).toMatchSnapshot();
|
|
336
336
|
});
|
|
337
337
|
|
|
338
|
-
it('renders the NormalText with
|
|
338
|
+
it('renders the NormalText with size=small, font size fontSize=72 and fontWeight=bold', () => {
|
|
339
339
|
expect(
|
|
340
340
|
mount(
|
|
341
|
-
<NormalText
|
|
341
|
+
<NormalText size={'sm'} fontSize={72} fontWeight={'bold'}>
|
|
342
342
|
hello
|
|
343
343
|
</NormalText>
|
|
344
344
|
)
|
package/src/NormalText/index.tsx
CHANGED
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
export interface NormalTextProps extends BaseProps<'span' | 'p'> {
|
|
6
|
-
/**
|
|
7
|
-
* variant is optional.
|
|
8
|
-
* Use 'lg' when a lg text is an introductory paragraph that you can use at the top of a page to summarize the content.
|
|
9
|
-
* The majority of your body should use the standard 'md' variant. This is the default value.
|
|
10
|
-
* You can use the 'sm' sparingly to make your text font size smaller: 16px on larger screens and 14px on smaller screens.
|
|
11
|
-
* @value 'lg'
|
|
12
|
-
* @value 'md'
|
|
13
|
-
* @value 'sm'
|
|
14
|
-
* @default 'md'
|
|
15
|
-
*/
|
|
16
|
-
variant?: 'lg' | 'md' | 'sm';
|
|
17
|
-
/**
|
|
18
|
-
* fontSize is optional.
|
|
19
|
-
* Add this fontSize override prop in order to change the font size.
|
|
20
|
-
* @value '14'
|
|
21
|
-
* @value '16'
|
|
22
|
-
* @value '19'
|
|
23
|
-
* @value '24'
|
|
24
|
-
* @value '30'
|
|
25
|
-
* @value '36'
|
|
26
|
-
* @value '48'
|
|
27
|
-
* @value '72'
|
|
28
|
-
*/
|
|
29
|
-
fontSize?: '14' | '16' | '19' | '24' | '30' | '36' | '48' | '72';
|
|
3
|
+
import Typography, { TypographyProps } from '@digigov/react-core/Typography';
|
|
4
|
+
export interface NormalTextProps extends TypographyProps {
|
|
30
5
|
/**
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
6
|
+
* size is optional.
|
|
7
|
+
* @value 'lg' Use it when a lg text is an introductory paragraph that you can use at the top of a page to summarize the content.
|
|
8
|
+
* @value 'md' The majority of your body should use the standard 'md' size.
|
|
9
|
+
* @value 'sm' Use it sparingly to make your text font size smaller: 16px on larger screens and 14px on smaller screens.
|
|
10
|
+
* @default 'md'
|
|
11
|
+
*/
|
|
12
|
+
size?: 'lg' | 'md' | 'sm';
|
|
37
13
|
}
|
|
38
14
|
/**
|
|
39
15
|
* NormalText component is used for text formatting.
|
|
@@ -43,32 +19,24 @@ export const NormalText = React.forwardRef<
|
|
|
43
19
|
HTMLSpanElement | HTMLParagraphElement,
|
|
44
20
|
NormalTextProps
|
|
45
21
|
>(function NormalText(
|
|
46
|
-
{
|
|
22
|
+
{ size = 'md', fontSize, fontWeight, className, children, ...props },
|
|
47
23
|
ref
|
|
48
24
|
) {
|
|
49
25
|
return (
|
|
50
|
-
<
|
|
51
|
-
as=
|
|
26
|
+
<Typography
|
|
27
|
+
as='span'
|
|
28
|
+
fontWeight={fontWeight}
|
|
29
|
+
fontSize={fontSize}
|
|
52
30
|
ref={ref}
|
|
53
31
|
className={clsx(className, {
|
|
54
32
|
'govgr-body': true,
|
|
55
|
-
'govgr-body-lg':
|
|
56
|
-
'govgr-body-sm':
|
|
57
|
-
'govgr-!-font-size-14': fontSize === '14',
|
|
58
|
-
'govgr-!-font-size-16': fontSize === '16',
|
|
59
|
-
'govgr-!-font-size-19': fontSize === '19',
|
|
60
|
-
'govgr-!-font-size-24': fontSize === '24',
|
|
61
|
-
'govgr-!-font-size-30': fontSize === '30',
|
|
62
|
-
'govgr-!-font-size-36': fontSize === '36',
|
|
63
|
-
'govgr-!-font-size-48': fontSize === '48',
|
|
64
|
-
'govgr-!-font-size-72': fontSize === '72',
|
|
65
|
-
'govgr-!-font-weight-regular': fontWeight == 'regular',
|
|
66
|
-
'govgr-!-font-weight-bold': fontWeight == 'bold',
|
|
33
|
+
'govgr-body-lg': size === 'lg',
|
|
34
|
+
'govgr-body-sm': size === 'sm',
|
|
67
35
|
})}
|
|
68
36
|
{...props}
|
|
69
37
|
>
|
|
70
38
|
{children}
|
|
71
|
-
</
|
|
39
|
+
</Typography>
|
|
72
40
|
);
|
|
73
41
|
});
|
|
74
42
|
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`renders the PageTitleHeading with no props 1`] = `
|
|
4
|
+
<ForwardRef(PageTitleHeading)>
|
|
5
|
+
<ForwardRef(Heading)>
|
|
6
|
+
<ForwardRef(Base)
|
|
7
|
+
as="h1"
|
|
8
|
+
className="govgr-heading-xl"
|
|
9
|
+
>
|
|
10
|
+
<h1
|
|
11
|
+
className="govgr-heading-xl"
|
|
12
|
+
>
|
|
13
|
+
hello
|
|
14
|
+
</h1>
|
|
15
|
+
</ForwardRef(Base)>
|
|
16
|
+
</ForwardRef(Heading)>
|
|
17
|
+
</ForwardRef(PageTitleHeading)>
|
|
18
|
+
`;
|
|
19
|
+
|
|
20
|
+
exports[`renders the PageTitleHeading with size=l 1`] = `
|
|
21
|
+
<ForwardRef(PageTitleHeading)
|
|
22
|
+
size="lg"
|
|
23
|
+
>
|
|
24
|
+
<ForwardRef(Heading)
|
|
25
|
+
size="lg"
|
|
26
|
+
>
|
|
27
|
+
<ForwardRef(Base)
|
|
28
|
+
as="h2"
|
|
29
|
+
className="govgr-heading-lg"
|
|
30
|
+
>
|
|
31
|
+
<h2
|
|
32
|
+
className="govgr-heading-lg"
|
|
33
|
+
>
|
|
34
|
+
hello
|
|
35
|
+
</h2>
|
|
36
|
+
</ForwardRef(Base)>
|
|
37
|
+
</ForwardRef(Heading)>
|
|
38
|
+
</ForwardRef(PageTitleHeading)>
|
|
39
|
+
`;
|
|
40
|
+
|
|
41
|
+
exports[`renders the PageTitleHeading with size=m 1`] = `
|
|
42
|
+
<ForwardRef(PageTitleHeading)
|
|
43
|
+
size="md"
|
|
44
|
+
>
|
|
45
|
+
<ForwardRef(Heading)
|
|
46
|
+
size="md"
|
|
47
|
+
>
|
|
48
|
+
<ForwardRef(Base)
|
|
49
|
+
as="h3"
|
|
50
|
+
className="govgr-heading-md"
|
|
51
|
+
>
|
|
52
|
+
<h3
|
|
53
|
+
className="govgr-heading-md"
|
|
54
|
+
>
|
|
55
|
+
hello
|
|
56
|
+
</h3>
|
|
57
|
+
</ForwardRef(Base)>
|
|
58
|
+
</ForwardRef(Heading)>
|
|
59
|
+
</ForwardRef(PageTitleHeading)>
|
|
60
|
+
`;
|
|
61
|
+
|
|
62
|
+
exports[`renders the PageTitleHeading with size=s 1`] = `
|
|
63
|
+
<ForwardRef(PageTitleHeading)
|
|
64
|
+
size="sm"
|
|
65
|
+
>
|
|
66
|
+
<ForwardRef(Heading)
|
|
67
|
+
size="sm"
|
|
68
|
+
>
|
|
69
|
+
<ForwardRef(Base)
|
|
70
|
+
as="h4"
|
|
71
|
+
className="govgr-heading-sm"
|
|
72
|
+
>
|
|
73
|
+
<h4
|
|
74
|
+
className="govgr-heading-sm"
|
|
75
|
+
>
|
|
76
|
+
hello
|
|
77
|
+
</h4>
|
|
78
|
+
</ForwardRef(Base)>
|
|
79
|
+
</ForwardRef(Heading)>
|
|
80
|
+
</ForwardRef(PageTitleHeading)>
|
|
81
|
+
`;
|
|
82
|
+
|
|
83
|
+
exports[`renders the PageTitleHeading with size=xl 1`] = `
|
|
84
|
+
<ForwardRef(PageTitleHeading)
|
|
85
|
+
size="xl"
|
|
86
|
+
>
|
|
87
|
+
<ForwardRef(Heading)
|
|
88
|
+
size="xl"
|
|
89
|
+
>
|
|
90
|
+
<ForwardRef(Base)
|
|
91
|
+
as="h1"
|
|
92
|
+
className="govgr-heading-xl"
|
|
93
|
+
>
|
|
94
|
+
<h1
|
|
95
|
+
className="govgr-heading-xl"
|
|
96
|
+
>
|
|
97
|
+
hello
|
|
98
|
+
</h1>
|
|
99
|
+
</ForwardRef(Base)>
|
|
100
|
+
</ForwardRef(Heading)>
|
|
101
|
+
</ForwardRef(PageTitleHeading)>
|
|
102
|
+
`;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { mount } from 'enzyme';
|
|
3
|
+
|
|
4
|
+
import PageTitleHeading from '@digigov/react-core/PageTitleHeading';
|
|
5
|
+
|
|
6
|
+
it('renders the PageTitleHeading with no props', () => {
|
|
7
|
+
expect(mount(<PageTitleHeading>hello</PageTitleHeading>)).toMatchSnapshot();
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
it('renders the PageTitleHeading with size=xl', () => {
|
|
11
|
+
expect(
|
|
12
|
+
mount(<PageTitleHeading size={'xl'}>hello</PageTitleHeading>)
|
|
13
|
+
).toMatchSnapshot();
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
it('renders the PageTitleHeading with size=l', () => {
|
|
17
|
+
expect(
|
|
18
|
+
mount(<PageTitleHeading size={'lg'}>hello</PageTitleHeading>)
|
|
19
|
+
).toMatchSnapshot();
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it('renders the PageTitleHeading with size=m', () => {
|
|
23
|
+
expect(
|
|
24
|
+
mount(<PageTitleHeading size={'md'}>hello</PageTitleHeading>)
|
|
25
|
+
).toMatchSnapshot();
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
it('renders the PageTitleHeading with size=s', () => {
|
|
29
|
+
expect(
|
|
30
|
+
mount(<PageTitleHeading size={'sm'}>hello</PageTitleHeading>)
|
|
31
|
+
).toMatchSnapshot();
|
|
32
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import HeadingCaption, {
|
|
3
|
+
HeadingCaptionProps,
|
|
4
|
+
} from '@digigov/react-core/HeadingCaption';
|
|
5
|
+
|
|
6
|
+
export interface PageTitleCaptionProps extends HeadingCaptionProps {}
|
|
7
|
+
/**
|
|
8
|
+
* PageTitleCaption will be replaced by HeadingCaption.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
export const PageTitleCaption = React.forwardRef<
|
|
12
|
+
HTMLHeadingElement,
|
|
13
|
+
PageTitleCaptionProps
|
|
14
|
+
>(function PageTitleCaption({ children, ...props }, ref) {
|
|
15
|
+
return (
|
|
16
|
+
<HeadingCaption ref={ref} {...props}>
|
|
17
|
+
{children}
|
|
18
|
+
</HeadingCaption>
|
|
19
|
+
);
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
export default PageTitleCaption;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`renders the PageTitleContainer with no props 1`] = `
|
|
4
|
+
<ForwardRef(PageTitleContainer)>
|
|
5
|
+
<ForwardRef(Base)
|
|
6
|
+
as="div"
|
|
7
|
+
className="govgr-page-title"
|
|
8
|
+
>
|
|
9
|
+
<div
|
|
10
|
+
className="govgr-page-title"
|
|
11
|
+
>
|
|
12
|
+
hello
|
|
13
|
+
</div>
|
|
14
|
+
</ForwardRef(Base)>
|
|
15
|
+
</ForwardRef(PageTitleContainer)>
|
|
16
|
+
`;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { mount } from 'enzyme';
|
|
3
|
+
|
|
4
|
+
import PageTitleContainer from '@digigov/react-core/PageTitleContainer';
|
|
5
|
+
|
|
6
|
+
it('renders the PageTitleContainer with no props', () => {
|
|
7
|
+
expect(mount(<PageTitleContainer>hello</PageTitleContainer>)).toMatchSnapshot();
|
|
8
|
+
});
|