@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
package/TextInput/index.d.ts
CHANGED
|
@@ -2,37 +2,38 @@ import React from 'react';
|
|
|
2
2
|
import { BaseProps } from '@digigov/react-core/Base';
|
|
3
3
|
export interface TextInputProps extends BaseProps<'input'> {
|
|
4
4
|
/**
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
* maxWidth is optional.
|
|
6
|
+
* @value '2-char';
|
|
7
|
+
* @value '3-char';
|
|
8
|
+
* @value '4-char';
|
|
9
|
+
* @value '5-char';
|
|
10
|
+
* @value '10-char';
|
|
11
|
+
* @value '20-char';
|
|
12
|
+
*/
|
|
13
|
+
maxWidth?: '2-char' | '3-char' | '4-char' | '5-char' | '10-char' | '20-char';
|
|
14
14
|
/**
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
* width is optional.
|
|
16
|
+
* Use width prop to define a custom width in your component.
|
|
17
|
+
* @value '25%';
|
|
18
|
+
* @value '33.3%';
|
|
19
|
+
* @value '50%';
|
|
20
|
+
* @value '66.6%';
|
|
21
|
+
* @value '75%';
|
|
22
|
+
* @value '100%';
|
|
23
|
+
* @value 'full';
|
|
24
|
+
*/
|
|
25
|
+
width?: '25%' | '33.3%' | '50%' | '66.6%' | '75%' | '100%' | 'full';
|
|
25
26
|
/**
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
* error is optional. The default value is false.
|
|
28
|
+
* Use this prop when there is an error at the input.
|
|
29
|
+
* @value true
|
|
30
|
+
* @value false
|
|
31
|
+
*/
|
|
31
32
|
error?: boolean;
|
|
32
33
|
}
|
|
33
34
|
/**
|
|
34
35
|
* TextInput component when you need to let users enter text that’s no
|
|
35
36
|
* longer than a single line, such as their name or phone number.
|
|
36
37
|
*/
|
|
37
|
-
export declare const TextInput: React.ForwardRefExoticComponent<Pick<TextInputProps, "form" | "slot" | "style" | "title" | "pattern" | "as" | "className" | "color" | "height" | "id" | "lang" | "max" | "min" | "name" | "type" | "width" | "role" | "tabIndex" | "crossOrigin" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden" | "printVisible" | "xsUpHidden" | "smUpHidden" | "mdUpHidden" | "lgUpHidden" | "xlUpHidden" | "xsHidden" | "smHidden" | "mdHidden" | "lgHidden" | "xlHidden" | "error" | "
|
|
38
|
+
export declare const TextInput: React.ForwardRefExoticComponent<Pick<TextInputProps, "form" | "slot" | "style" | "title" | "pattern" | "as" | "className" | "color" | "height" | "id" | "lang" | "max" | "min" | "name" | "type" | "width" | "role" | "tabIndex" | "crossOrigin" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden" | "printVisible" | "xsUpHidden" | "smUpHidden" | "mdUpHidden" | "lgUpHidden" | "xlUpHidden" | "xsHidden" | "smHidden" | "mdHidden" | "lgHidden" | "xlHidden" | "error" | "maxWidth"> & React.RefAttributes<HTMLInputElement>>;
|
|
38
39
|
export default TextInput;
|
package/TextInput/index.js
CHANGED
|
@@ -17,7 +17,7 @@ var _clsx = _interopRequireDefault(require("clsx"));
|
|
|
17
17
|
|
|
18
18
|
var _Base = _interopRequireDefault(require("@digigov/react-core/Base"));
|
|
19
19
|
|
|
20
|
-
var _excluded = ["type", "
|
|
20
|
+
var _excluded = ["type", "maxWidth", "width", "error", "className", "children"];
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* TextInput component when you need to let users enter text that’s no
|
|
@@ -26,9 +26,8 @@ var _excluded = ["type", "name", "characterWidth", "cellWidth", "error", "classN
|
|
|
26
26
|
var TextInput = /*#__PURE__*/_react["default"].forwardRef(function TextInput(_ref, ref) {
|
|
27
27
|
var _ref$type = _ref.type,
|
|
28
28
|
type = _ref$type === void 0 ? 'text' : _ref$type,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
cellWidth = _ref.cellWidth,
|
|
29
|
+
maxWidth = _ref.maxWidth,
|
|
30
|
+
width = _ref.width,
|
|
32
31
|
error = _ref.error,
|
|
33
32
|
className = _ref.className,
|
|
34
33
|
children = _ref.children,
|
|
@@ -36,9 +35,8 @@ var TextInput = /*#__PURE__*/_react["default"].forwardRef(function TextInput(_re
|
|
|
36
35
|
return /*#__PURE__*/_react["default"].createElement(_Base["default"], (0, _extends2["default"])({
|
|
37
36
|
as: "input",
|
|
38
37
|
type: type,
|
|
39
|
-
name: name,
|
|
40
38
|
ref: ref,
|
|
41
|
-
className: (0, _clsx["default"])(className,
|
|
39
|
+
className: (0, _clsx["default"])(className, maxWidth !== undefined && "govgr-input--width-".concat(maxWidth), width === '33.3%' && 'govgr-!-width-one-third', width === '66.6%' && 'govgr-!-width-two-thirds', width === '25%' && 'govgr-!-width-one-quarter', width === '50%' && 'govgr-!-width-one-half', width === '75%' && 'govgr-!-width-three-quarters', error && 'govgr-input--error', true && 'govgr-input')
|
|
42
40
|
}, props), children);
|
|
43
41
|
});
|
|
44
42
|
|
package/TextInput/index.test.js
CHANGED
|
@@ -15,367 +15,367 @@ it('renders the TextInput with no props', function () {
|
|
|
15
15
|
});
|
|
16
16
|
|
|
17
17
|
var _ref2 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
18
|
-
|
|
18
|
+
maxWidth: "2-char"
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
it('renders the TextInput with
|
|
21
|
+
it('renders the TextInput with maxWidth="2-char"', function () {
|
|
22
22
|
expect((0, _enzyme.mount)(_ref2)).toMatchSnapshot();
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
var _ref3 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
26
|
-
|
|
26
|
+
maxWidth: "3-char"
|
|
27
27
|
});
|
|
28
28
|
|
|
29
|
-
it('renders the TextInput with
|
|
29
|
+
it('renders the TextInput with maxWidth="3-char"', function () {
|
|
30
30
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
31
31
|
});
|
|
32
32
|
|
|
33
33
|
var _ref4 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
34
|
-
|
|
34
|
+
maxWidth: "4-char"
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
it('renders the TextInput with
|
|
37
|
+
it('renders the TextInput with maxWidth="4-char"', function () {
|
|
38
38
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
39
39
|
});
|
|
40
40
|
|
|
41
41
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
42
|
-
|
|
42
|
+
maxWidth: "5-char"
|
|
43
43
|
});
|
|
44
44
|
|
|
45
|
-
it('renders the TextInput with
|
|
45
|
+
it('renders the TextInput with maxWidth="5-char"', function () {
|
|
46
46
|
expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
|
|
47
47
|
});
|
|
48
48
|
|
|
49
49
|
var _ref6 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
50
|
-
|
|
50
|
+
maxWidth: "10-char"
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
it('renders the TextInput with
|
|
53
|
+
it('renders the TextInput with maxWidth="10-char"', function () {
|
|
54
54
|
expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
|
|
55
55
|
});
|
|
56
56
|
|
|
57
57
|
var _ref7 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
58
|
-
|
|
58
|
+
maxWidth: "20-char"
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
it('renders the TextInput with
|
|
61
|
+
it('renders the TextInput with maxWidth="20-char"', function () {
|
|
62
62
|
expect((0, _enzyme.mount)(_ref7)).toMatchSnapshot();
|
|
63
63
|
});
|
|
64
64
|
|
|
65
65
|
var _ref8 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
66
|
-
|
|
66
|
+
width: '25%'
|
|
67
67
|
});
|
|
68
68
|
|
|
69
|
-
it('renders the TextInput with
|
|
69
|
+
it('renders the TextInput with width=one-quarter', function () {
|
|
70
70
|
expect((0, _enzyme.mount)(_ref8)).toMatchSnapshot();
|
|
71
71
|
});
|
|
72
72
|
|
|
73
73
|
var _ref9 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
74
|
-
|
|
74
|
+
width: '33.3%'
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
it('renders the TextInput with
|
|
77
|
+
it('renders the TextInput with width=one-third', function () {
|
|
78
78
|
expect((0, _enzyme.mount)(_ref9)).toMatchSnapshot();
|
|
79
79
|
});
|
|
80
80
|
|
|
81
81
|
var _ref10 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
82
|
-
|
|
82
|
+
width: '50%'
|
|
83
83
|
});
|
|
84
84
|
|
|
85
|
-
it('renders the TextInput with
|
|
85
|
+
it('renders the TextInput with width=one-half', function () {
|
|
86
86
|
expect((0, _enzyme.mount)(_ref10)).toMatchSnapshot();
|
|
87
87
|
});
|
|
88
88
|
|
|
89
89
|
var _ref11 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
90
|
-
|
|
90
|
+
width: '66.6%'
|
|
91
91
|
});
|
|
92
92
|
|
|
93
|
-
it('renders the TextInput with
|
|
93
|
+
it('renders the TextInput with width=two-thirds', function () {
|
|
94
94
|
expect((0, _enzyme.mount)(_ref11)).toMatchSnapshot();
|
|
95
95
|
});
|
|
96
96
|
|
|
97
97
|
var _ref12 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
98
|
-
|
|
98
|
+
width: '75%'
|
|
99
99
|
});
|
|
100
100
|
|
|
101
|
-
it('renders the TextInput with
|
|
101
|
+
it('renders the TextInput with width=three-quarters', function () {
|
|
102
102
|
expect((0, _enzyme.mount)(_ref12)).toMatchSnapshot();
|
|
103
103
|
});
|
|
104
104
|
|
|
105
105
|
var _ref13 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
106
|
-
|
|
106
|
+
width: 'full'
|
|
107
107
|
});
|
|
108
108
|
|
|
109
|
-
it('renders the TextInput with
|
|
109
|
+
it('renders the TextInput with width=full', function () {
|
|
110
110
|
expect((0, _enzyme.mount)(_ref13)).toMatchSnapshot();
|
|
111
111
|
});
|
|
112
112
|
|
|
113
113
|
var _ref14 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
maxWidth: "2-char",
|
|
115
|
+
width: '25%'
|
|
116
116
|
});
|
|
117
117
|
|
|
118
|
-
it('renders the TextInput with
|
|
118
|
+
it('renders the TextInput with maxWidth="2-char" and with width=one-quarter', function () {
|
|
119
119
|
expect((0, _enzyme.mount)(_ref14)).toMatchSnapshot();
|
|
120
120
|
});
|
|
121
121
|
|
|
122
122
|
var _ref15 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
maxWidth: "3-char",
|
|
124
|
+
width: '25%'
|
|
125
125
|
});
|
|
126
126
|
|
|
127
|
-
it('renders the TextInput with
|
|
127
|
+
it('renders the TextInput with maxWidth="3-char" and with width=one-quarter', function () {
|
|
128
128
|
expect((0, _enzyme.mount)(_ref15)).toMatchSnapshot();
|
|
129
129
|
});
|
|
130
130
|
|
|
131
131
|
var _ref16 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
maxWidth: "4-char",
|
|
133
|
+
width: '25%'
|
|
134
134
|
});
|
|
135
135
|
|
|
136
|
-
it('renders the TextInput with
|
|
136
|
+
it('renders the TextInput with maxWidth="4-char" and with width=one-quarter', function () {
|
|
137
137
|
expect((0, _enzyme.mount)(_ref16)).toMatchSnapshot();
|
|
138
138
|
});
|
|
139
139
|
|
|
140
140
|
var _ref17 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
maxWidth: "5-char",
|
|
142
|
+
width: '25%'
|
|
143
143
|
});
|
|
144
144
|
|
|
145
|
-
it('renders the TextInput with with
|
|
145
|
+
it('renders the TextInput with with maxWidth="5-char" with width=one-quarter', function () {
|
|
146
146
|
expect((0, _enzyme.mount)(_ref17)).toMatchSnapshot();
|
|
147
147
|
});
|
|
148
148
|
|
|
149
149
|
var _ref18 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
150
|
-
|
|
151
|
-
|
|
150
|
+
maxWidth: "20-char",
|
|
151
|
+
width: '25%'
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
it('renders the TextInput with
|
|
154
|
+
it('renders the TextInput with maxWidth="20-char" and with width=one-quarter', function () {
|
|
155
155
|
expect((0, _enzyme.mount)(_ref18)).toMatchSnapshot();
|
|
156
156
|
});
|
|
157
157
|
|
|
158
158
|
var _ref19 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
maxWidth: "2-char",
|
|
160
|
+
width: '33.3%'
|
|
161
161
|
});
|
|
162
162
|
|
|
163
|
-
it('renders the TextInput with
|
|
163
|
+
it('renders the TextInput with maxWidth="2-char" and with width=one-third', function () {
|
|
164
164
|
expect((0, _enzyme.mount)(_ref19)).toMatchSnapshot();
|
|
165
165
|
});
|
|
166
166
|
|
|
167
167
|
var _ref20 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
168
|
-
|
|
169
|
-
|
|
168
|
+
maxWidth: "3-char",
|
|
169
|
+
width: '33.3%'
|
|
170
170
|
});
|
|
171
171
|
|
|
172
|
-
it('renders the TextInput with
|
|
172
|
+
it('renders the TextInput with maxWidth="3-char" and with width=one-third', function () {
|
|
173
173
|
expect((0, _enzyme.mount)(_ref20)).toMatchSnapshot();
|
|
174
174
|
});
|
|
175
175
|
|
|
176
176
|
var _ref21 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
177
|
-
|
|
178
|
-
|
|
177
|
+
maxWidth: "4-char",
|
|
178
|
+
width: '33.3%'
|
|
179
179
|
});
|
|
180
180
|
|
|
181
|
-
it('renders the TextInput with
|
|
181
|
+
it('renders the TextInput with maxWidth="4-char" and with width=one-third', function () {
|
|
182
182
|
expect((0, _enzyme.mount)(_ref21)).toMatchSnapshot();
|
|
183
183
|
});
|
|
184
184
|
|
|
185
185
|
var _ref22 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
maxWidth: "5-char",
|
|
187
|
+
width: '33.3%'
|
|
188
188
|
});
|
|
189
189
|
|
|
190
|
-
it('renders the TextInput with with
|
|
190
|
+
it('renders the TextInput with with maxWidth="5-char" with width=one-third', function () {
|
|
191
191
|
expect((0, _enzyme.mount)(_ref22)).toMatchSnapshot();
|
|
192
192
|
});
|
|
193
193
|
|
|
194
194
|
var _ref23 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
195
|
-
|
|
196
|
-
|
|
195
|
+
maxWidth: "20-char",
|
|
196
|
+
width: '33.3%'
|
|
197
197
|
});
|
|
198
198
|
|
|
199
|
-
it('renders the TextInput with
|
|
199
|
+
it('renders the TextInput with maxWidth="20-char" and with width=one-third', function () {
|
|
200
200
|
expect((0, _enzyme.mount)(_ref23)).toMatchSnapshot();
|
|
201
201
|
});
|
|
202
202
|
|
|
203
203
|
var _ref24 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
204
|
-
|
|
205
|
-
|
|
204
|
+
maxWidth: "2-char",
|
|
205
|
+
width: '50%'
|
|
206
206
|
});
|
|
207
207
|
|
|
208
|
-
it('renders the TextInput with
|
|
208
|
+
it('renders the TextInput with maxWidth="2-char" and with width=one-half', function () {
|
|
209
209
|
expect((0, _enzyme.mount)(_ref24)).toMatchSnapshot();
|
|
210
210
|
});
|
|
211
211
|
|
|
212
212
|
var _ref25 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
213
|
-
|
|
214
|
-
|
|
213
|
+
maxWidth: "3-char",
|
|
214
|
+
width: '50%'
|
|
215
215
|
});
|
|
216
216
|
|
|
217
|
-
it('renders the TextInput with
|
|
217
|
+
it('renders the TextInput with maxWidth="3-char" and with width=one-half', function () {
|
|
218
218
|
expect((0, _enzyme.mount)(_ref25)).toMatchSnapshot();
|
|
219
219
|
});
|
|
220
220
|
|
|
221
221
|
var _ref26 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
222
|
-
|
|
223
|
-
|
|
222
|
+
maxWidth: "4-char",
|
|
223
|
+
width: '50%'
|
|
224
224
|
});
|
|
225
225
|
|
|
226
|
-
it('renders the TextInput with
|
|
226
|
+
it('renders the TextInput with maxWidth="4-char" and with width=one-half', function () {
|
|
227
227
|
expect((0, _enzyme.mount)(_ref26)).toMatchSnapshot();
|
|
228
228
|
});
|
|
229
229
|
|
|
230
230
|
var _ref27 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
231
|
-
|
|
232
|
-
|
|
231
|
+
maxWidth: "5-char",
|
|
232
|
+
width: '50%'
|
|
233
233
|
});
|
|
234
234
|
|
|
235
|
-
it('renders the TextInput with with
|
|
235
|
+
it('renders the TextInput with with maxWidth="5-char" with width=one-half', function () {
|
|
236
236
|
expect((0, _enzyme.mount)(_ref27)).toMatchSnapshot();
|
|
237
237
|
});
|
|
238
238
|
|
|
239
239
|
var _ref28 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
240
|
-
|
|
241
|
-
|
|
240
|
+
maxWidth: "20-char",
|
|
241
|
+
width: '50%'
|
|
242
242
|
});
|
|
243
243
|
|
|
244
|
-
it('renders the TextInput with
|
|
244
|
+
it('renders the TextInput with maxWidth="20-char" and with width=one-half', function () {
|
|
245
245
|
expect((0, _enzyme.mount)(_ref28)).toMatchSnapshot();
|
|
246
246
|
});
|
|
247
247
|
|
|
248
248
|
var _ref29 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
249
|
-
|
|
250
|
-
|
|
249
|
+
maxWidth: "2-char",
|
|
250
|
+
width: '66.6%'
|
|
251
251
|
});
|
|
252
252
|
|
|
253
|
-
it('renders the TextInput with
|
|
253
|
+
it('renders the TextInput with maxWidth="2-char" and with width=two-thirds', function () {
|
|
254
254
|
expect((0, _enzyme.mount)(_ref29)).toMatchSnapshot();
|
|
255
255
|
});
|
|
256
256
|
|
|
257
257
|
var _ref30 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
258
|
-
|
|
259
|
-
|
|
258
|
+
maxWidth: "3-char",
|
|
259
|
+
width: '66.6%'
|
|
260
260
|
});
|
|
261
261
|
|
|
262
|
-
it('renders the TextInput with
|
|
262
|
+
it('renders the TextInput with maxWidth="3-char" and with width=two-thirds', function () {
|
|
263
263
|
expect((0, _enzyme.mount)(_ref30)).toMatchSnapshot();
|
|
264
264
|
});
|
|
265
265
|
|
|
266
266
|
var _ref31 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
267
|
-
|
|
268
|
-
|
|
267
|
+
maxWidth: "4-char",
|
|
268
|
+
width: '66.6%'
|
|
269
269
|
});
|
|
270
270
|
|
|
271
|
-
it('renders the TextInput with
|
|
271
|
+
it('renders the TextInput with maxWidth="4-char" and with width=two-thirds', function () {
|
|
272
272
|
expect((0, _enzyme.mount)(_ref31)).toMatchSnapshot();
|
|
273
273
|
});
|
|
274
274
|
|
|
275
275
|
var _ref32 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
276
|
-
|
|
277
|
-
|
|
276
|
+
maxWidth: "5-char",
|
|
277
|
+
width: '66.6%'
|
|
278
278
|
});
|
|
279
279
|
|
|
280
|
-
it('renders the TextInput with with
|
|
280
|
+
it('renders the TextInput with with maxWidth="5-char" with width=two-thirds', function () {
|
|
281
281
|
expect((0, _enzyme.mount)(_ref32)).toMatchSnapshot();
|
|
282
282
|
});
|
|
283
283
|
|
|
284
284
|
var _ref33 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
285
|
-
|
|
286
|
-
|
|
285
|
+
maxWidth: "20-char",
|
|
286
|
+
width: '66.6%'
|
|
287
287
|
});
|
|
288
288
|
|
|
289
|
-
it('renders the TextInput with
|
|
289
|
+
it('renders the TextInput with maxWidth="20-char" and with width=two-thirds', function () {
|
|
290
290
|
expect((0, _enzyme.mount)(_ref33)).toMatchSnapshot();
|
|
291
291
|
});
|
|
292
292
|
|
|
293
293
|
var _ref34 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
294
|
-
|
|
295
|
-
|
|
294
|
+
maxWidth: "2-char",
|
|
295
|
+
width: '75%'
|
|
296
296
|
});
|
|
297
297
|
|
|
298
|
-
it('renders the TextInput with
|
|
298
|
+
it('renders the TextInput with maxWidth="2-char" and with width=three-quarters', function () {
|
|
299
299
|
expect((0, _enzyme.mount)(_ref34)).toMatchSnapshot();
|
|
300
300
|
});
|
|
301
301
|
|
|
302
302
|
var _ref35 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
303
|
-
|
|
304
|
-
|
|
303
|
+
maxWidth: "3-char",
|
|
304
|
+
width: '75%'
|
|
305
305
|
});
|
|
306
306
|
|
|
307
|
-
it('renders the TextInput with
|
|
307
|
+
it('renders the TextInput with maxWidth="3-char" and with width=three-quarters', function () {
|
|
308
308
|
expect((0, _enzyme.mount)(_ref35)).toMatchSnapshot();
|
|
309
309
|
});
|
|
310
310
|
|
|
311
311
|
var _ref36 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
312
|
-
|
|
313
|
-
|
|
312
|
+
maxWidth: "4-char",
|
|
313
|
+
width: '75%'
|
|
314
314
|
});
|
|
315
315
|
|
|
316
|
-
it('renders the TextInput with
|
|
316
|
+
it('renders the TextInput with maxWidth="4-char" and with width=three-quarters', function () {
|
|
317
317
|
expect((0, _enzyme.mount)(_ref36)).toMatchSnapshot();
|
|
318
318
|
});
|
|
319
319
|
|
|
320
320
|
var _ref37 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
321
|
-
|
|
322
|
-
|
|
321
|
+
maxWidth: "5-char",
|
|
322
|
+
width: '75%'
|
|
323
323
|
});
|
|
324
324
|
|
|
325
|
-
it('renders the TextInput with with
|
|
325
|
+
it('renders the TextInput with with maxWidth="5-char" with width=three-quarters', function () {
|
|
326
326
|
expect((0, _enzyme.mount)(_ref37)).toMatchSnapshot();
|
|
327
327
|
});
|
|
328
328
|
|
|
329
329
|
var _ref38 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
330
|
-
|
|
331
|
-
|
|
330
|
+
maxWidth: "20-char",
|
|
331
|
+
width: '75%'
|
|
332
332
|
});
|
|
333
333
|
|
|
334
|
-
it('renders the TextInput with
|
|
334
|
+
it('renders the TextInput with maxWidth="20-char" and with width=three-quarters', function () {
|
|
335
335
|
expect((0, _enzyme.mount)(_ref38)).toMatchSnapshot();
|
|
336
336
|
});
|
|
337
337
|
|
|
338
338
|
var _ref39 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
339
|
-
|
|
340
|
-
|
|
339
|
+
maxWidth: "2-char",
|
|
340
|
+
width: 'full'
|
|
341
341
|
});
|
|
342
342
|
|
|
343
|
-
it('renders the TextInput with
|
|
343
|
+
it('renders the TextInput with maxWidth="2-char" and with width=full', function () {
|
|
344
344
|
expect((0, _enzyme.mount)(_ref39)).toMatchSnapshot();
|
|
345
345
|
});
|
|
346
346
|
|
|
347
347
|
var _ref40 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
348
|
-
|
|
349
|
-
|
|
348
|
+
maxWidth: "3-char",
|
|
349
|
+
width: 'full'
|
|
350
350
|
});
|
|
351
351
|
|
|
352
|
-
it('renders the TextInput with
|
|
352
|
+
it('renders the TextInput with maxWidth="3-char" and with width=full', function () {
|
|
353
353
|
expect((0, _enzyme.mount)(_ref40)).toMatchSnapshot();
|
|
354
354
|
});
|
|
355
355
|
|
|
356
356
|
var _ref41 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
357
|
-
|
|
358
|
-
|
|
357
|
+
maxWidth: "4-char",
|
|
358
|
+
width: 'full'
|
|
359
359
|
});
|
|
360
360
|
|
|
361
|
-
it('renders the TextInput with
|
|
361
|
+
it('renders the TextInput with maxWidth="4-char" and with width=full', function () {
|
|
362
362
|
expect((0, _enzyme.mount)(_ref41)).toMatchSnapshot();
|
|
363
363
|
});
|
|
364
364
|
|
|
365
365
|
var _ref42 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
366
|
-
|
|
367
|
-
|
|
366
|
+
maxWidth: "5-char",
|
|
367
|
+
width: 'full'
|
|
368
368
|
});
|
|
369
369
|
|
|
370
|
-
it('renders the TextInput with with
|
|
370
|
+
it('renders the TextInput with with maxWidth="5-char" with width=full', function () {
|
|
371
371
|
expect((0, _enzyme.mount)(_ref42)).toMatchSnapshot();
|
|
372
372
|
});
|
|
373
373
|
|
|
374
374
|
var _ref43 = /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
|
|
375
|
-
|
|
376
|
-
|
|
375
|
+
maxWidth: "20-char",
|
|
376
|
+
width: 'full'
|
|
377
377
|
});
|
|
378
378
|
|
|
379
|
-
it('renders the TextInput with
|
|
379
|
+
it('renders the TextInput with maxWidth="20-char" and with width=full', function () {
|
|
380
380
|
expect((0, _enzyme.mount)(_ref43)).toMatchSnapshot();
|
|
381
381
|
});
|