@digigov/react-core 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +34 -0
- package/CHANGELOG.md +15 -1
- package/dist/AccordionControls/index.d.ts +9 -0
- package/dist/AccordionControls/index.js +35 -0
- package/dist/AccordionControls/index.test.d.ts +1 -0
- package/dist/AccordionControls/index.test.js +15 -0
- package/dist/AccordionSection/index.js +5 -5
- package/dist/AccordionSectionHeader/index.js +1 -1
- package/dist/BackLink/index.js +3 -0
- package/dist/ButtonLink/index.d.ts +17 -0
- package/dist/ButtonLink/index.js +37 -0
- package/dist/ButtonLink/index.test.d.ts +1 -0
- package/dist/ButtonLink/index.test.js +80 -0
- package/dist/CHANGELOG.md +15 -1
- package/dist/CallToAction/index.d.ts +4 -7
- package/dist/CallToAction/index.js +6 -7
- package/dist/CheckboxItem/__snapshots__/index.test.tsx.snap +42 -0
- package/dist/Container/index.js +0 -1
- package/dist/GovGRLogo/index.d.ts +1 -5
- package/dist/Grid/__snapshots__/index.test.tsx.snap +105 -0
- package/dist/Grid/index.d.ts +20 -0
- package/dist/Grid/index.js +46 -0
- package/dist/Grid/index.test.d.ts +1 -0
- package/dist/Grid/index.test.js +71 -0
- package/dist/HeaderLogo/__snapshots__/index.test.tsx.snap +1 -1
- package/dist/HeaderLogo/index.d.ts +10 -2
- package/dist/HeaderLogo/index.js +8 -6
- package/dist/HeaderSecondaryLogo/__snapshots__/index.test.tsx.snap +2 -2
- package/dist/HeaderSecondaryLogo/index.js +1 -1
- package/dist/Heading/index.d.ts +2 -1
- package/dist/Heading/index.js +22 -3
- package/dist/HellenicRepublicLogo/index.d.ts +5 -0
- package/dist/HellenicRepublicLogo/index.js +8 -4
- package/dist/HellenicRepublicLogo/logo-el.d.ts +2 -0
- package/dist/HellenicRepublicLogo/logo-el.js +8 -0
- package/dist/HellenicRepublicLogo/logo-en.d.ts +2 -0
- package/dist/HellenicRepublicLogo/logo-en.js +8 -0
- package/dist/Layout/index.d.ts +2 -1
- package/dist/Layout/index.js +4 -2
- package/dist/NavHorizontal/__snapshots__/index.test.tsx.snap +24 -0
- package/dist/PhaseBanner/__snapshots__/index.test.tsx.snap +16 -0
- package/dist/PhaseBanner/index.d.ts +6 -1
- package/dist/PhaseBanner/index.js +4 -2
- package/dist/PhaseBanner/index.test.js +8 -0
- package/dist/Table/__snapshots__/index.test.tsx.snap +59 -0
- package/dist/Table/index.d.ts +34 -0
- package/dist/Table/index.js +42 -0
- package/dist/Table/index.test.d.ts +1 -0
- package/dist/Table/index.test.js +47 -0
- package/dist/TableBody/__snapshots__/index.test.tsx.snap +11 -0
- package/dist/TableBody/index.d.ts +9 -0
- package/dist/TableBody/index.js +35 -0
- package/dist/TableBody/index.test.d.ts +1 -0
- package/dist/TableBody/index.test.js +15 -0
- package/dist/TableCaption/__snapshots__/index.test.tsx.snap +59 -0
- package/dist/TableCaption/index.d.ts +15 -0
- package/dist/TableCaption/index.js +37 -0
- package/dist/TableCaption/index.test.d.ts +1 -0
- package/dist/TableCaption/index.test.js +47 -0
- package/dist/TableDataCell/__snapshots__/index.test.tsx.snap +23 -0
- package/dist/TableDataCell/index.d.ts +15 -0
- package/dist/TableDataCell/index.js +37 -0
- package/dist/TableDataCell/index.test.d.ts +1 -0
- package/dist/TableDataCell/index.test.js +23 -0
- package/dist/TableHead/__snapshots__/index.test.tsx.snap +11 -0
- package/dist/TableHead/index.d.ts +9 -0
- package/dist/TableHead/index.js +35 -0
- package/dist/TableHead/index.test.d.ts +1 -0
- package/dist/TableHead/index.test.js +15 -0
- package/dist/TableHeaderCell/__snapshots__/index.test.tsx.snap +182 -0
- package/dist/TableHeaderCell/index.d.ts +21 -0
- package/dist/TableHeaderCell/index.js +38 -0
- package/dist/TableHeaderCell/index.test.d.ts +1 -0
- package/dist/TableHeaderCell/index.test.js +125 -0
- package/dist/TableRow/__snapshots__/index.test.tsx.snap +11 -0
- package/dist/TableRow/index.d.ts +9 -0
- package/dist/TableRow/index.js +35 -0
- package/dist/TableRow/index.test.d.ts +1 -0
- package/dist/TableRow/index.test.js +15 -0
- package/dist/TabsListItem/index.d.ts +3 -3
- package/dist/TabsListItem/index.js +8 -7
- package/dist/TabsPanel/index.js +2 -0
- package/dist/TextInput/__snapshots__/index.test.tsx.snap +161 -161
- package/dist/TextInput/index.d.ts +4 -3
- package/dist/TextInput/index.js +3 -3
- package/dist/TextInput/index.test.js +72 -72
- package/dist/es/AccordionControls/index.js +20 -0
- package/dist/es/AccordionControls/index.test.js +9 -0
- package/dist/es/AccordionSection/index.js +5 -5
- package/dist/es/AccordionSectionHeader/index.js +1 -1
- package/dist/es/BackLink/index.js +3 -0
- package/dist/es/ButtonLink/index.js +22 -0
- package/dist/es/ButtonLink/index.test.js +74 -0
- package/dist/es/CallToAction/index.js +5 -7
- package/dist/es/CheckboxItem/__snapshots__/index.test.tsx.snap +42 -0
- package/dist/es/Container/index.js +0 -1
- package/dist/es/Grid/__snapshots__/index.test.tsx.snap +105 -0
- package/dist/es/Grid/index.js +31 -0
- package/dist/es/Grid/index.test.js +65 -0
- package/dist/es/HeaderLogo/__snapshots__/index.test.tsx.snap +1 -1
- package/dist/es/HeaderLogo/index.js +8 -6
- package/dist/es/HeaderSecondaryLogo/__snapshots__/index.test.tsx.snap +2 -2
- package/dist/es/HeaderSecondaryLogo/index.js +1 -1
- package/dist/es/Heading/index.js +22 -3
- package/dist/es/HellenicRepublicLogo/index.js +6 -4
- package/dist/es/HellenicRepublicLogo/logo-el.js +1 -0
- package/dist/es/HellenicRepublicLogo/logo-en.js +1 -0
- package/dist/es/Layout/index.js +4 -2
- package/dist/es/NavHorizontal/__snapshots__/index.test.tsx.snap +24 -0
- package/dist/es/PhaseBanner/__snapshots__/index.test.tsx.snap +16 -0
- package/dist/es/PhaseBanner/index.js +4 -2
- package/dist/es/PhaseBanner/index.test.js +8 -0
- package/dist/es/Table/__snapshots__/index.test.tsx.snap +59 -0
- package/dist/es/Table/index.js +27 -0
- package/dist/es/Table/index.test.js +41 -0
- package/dist/es/TableBody/__snapshots__/index.test.tsx.snap +11 -0
- package/dist/es/TableBody/index.js +20 -0
- package/dist/es/TableBody/index.test.js +9 -0
- package/dist/es/TableCaption/__snapshots__/index.test.tsx.snap +59 -0
- package/dist/es/TableCaption/index.js +22 -0
- package/dist/es/TableCaption/index.test.js +41 -0
- package/dist/es/TableDataCell/__snapshots__/index.test.tsx.snap +23 -0
- package/dist/es/TableDataCell/index.js +22 -0
- package/dist/es/TableDataCell/index.test.js +17 -0
- package/dist/es/TableHead/__snapshots__/index.test.tsx.snap +11 -0
- package/dist/es/TableHead/index.js +20 -0
- package/dist/es/TableHead/index.test.js +9 -0
- package/dist/es/TableHeaderCell/__snapshots__/index.test.tsx.snap +182 -0
- package/dist/es/TableHeaderCell/index.js +23 -0
- package/dist/es/TableHeaderCell/index.test.js +119 -0
- package/dist/es/TableRow/__snapshots__/index.test.tsx.snap +11 -0
- package/dist/es/TableRow/index.js +20 -0
- package/dist/es/TableRow/index.test.js +9 -0
- package/dist/es/TabsListItem/index.js +8 -7
- package/dist/es/TabsPanel/index.js +2 -0
- package/dist/es/TextInput/__snapshots__/index.test.tsx.snap +161 -161
- package/dist/es/TextInput/index.js +3 -3
- package/dist/es/TextInput/index.test.js +72 -72
- package/dist/es/index.js +7 -0
- package/dist/esm/AccordionControls/index.js +20 -0
- package/dist/esm/AccordionControls/index.test.js +9 -0
- package/dist/esm/AccordionSection/index.js +5 -5
- package/dist/esm/AccordionSectionHeader/index.js +1 -1
- package/dist/esm/BackLink/index.js +3 -0
- package/dist/esm/ButtonLink/index.js +22 -0
- package/dist/esm/ButtonLink/index.test.js +74 -0
- package/dist/esm/CallToAction/index.js +5 -7
- package/dist/esm/CheckboxItem/__snapshots__/index.test.tsx.snap +42 -0
- package/dist/esm/Container/index.js +0 -1
- package/dist/esm/Grid/__snapshots__/index.test.tsx.snap +105 -0
- package/dist/esm/Grid/index.js +31 -0
- package/dist/esm/Grid/index.test.js +65 -0
- package/dist/esm/HeaderLogo/__snapshots__/index.test.tsx.snap +1 -1
- package/dist/esm/HeaderLogo/index.js +8 -6
- package/dist/esm/HeaderSecondaryLogo/__snapshots__/index.test.tsx.snap +2 -2
- package/dist/esm/HeaderSecondaryLogo/index.js +1 -1
- package/dist/esm/Heading/index.js +22 -3
- package/dist/esm/HellenicRepublicLogo/index.js +6 -4
- package/dist/esm/HellenicRepublicLogo/logo-el.js +1 -0
- package/dist/esm/HellenicRepublicLogo/logo-en.js +1 -0
- package/dist/esm/Layout/index.js +4 -2
- package/dist/esm/NavHorizontal/__snapshots__/index.test.tsx.snap +24 -0
- package/dist/esm/PhaseBanner/__snapshots__/index.test.tsx.snap +16 -0
- package/dist/esm/PhaseBanner/index.js +4 -2
- package/dist/esm/PhaseBanner/index.test.js +8 -0
- package/dist/esm/Table/__snapshots__/index.test.tsx.snap +59 -0
- package/dist/esm/Table/index.js +27 -0
- package/dist/esm/Table/index.test.js +41 -0
- package/dist/esm/TableBody/__snapshots__/index.test.tsx.snap +11 -0
- package/dist/esm/TableBody/index.js +20 -0
- package/dist/esm/TableBody/index.test.js +9 -0
- package/dist/esm/TableCaption/__snapshots__/index.test.tsx.snap +59 -0
- package/dist/esm/TableCaption/index.js +22 -0
- package/dist/esm/TableCaption/index.test.js +41 -0
- package/dist/esm/TableDataCell/__snapshots__/index.test.tsx.snap +23 -0
- package/dist/esm/TableDataCell/index.js +22 -0
- package/dist/esm/TableDataCell/index.test.js +17 -0
- package/dist/esm/TableHead/__snapshots__/index.test.tsx.snap +11 -0
- package/dist/esm/TableHead/index.js +20 -0
- package/dist/esm/TableHead/index.test.js +9 -0
- package/dist/esm/TableHeaderCell/__snapshots__/index.test.tsx.snap +182 -0
- package/dist/esm/TableHeaderCell/index.js +23 -0
- package/dist/esm/TableHeaderCell/index.test.js +119 -0
- package/dist/esm/TableRow/__snapshots__/index.test.tsx.snap +11 -0
- package/dist/esm/TableRow/index.js +20 -0
- package/dist/esm/TableRow/index.test.js +9 -0
- package/dist/esm/TabsListItem/index.js +8 -7
- package/dist/esm/TabsPanel/index.js +2 -0
- package/dist/esm/TextInput/__snapshots__/index.test.tsx.snap +161 -161
- package/dist/esm/TextInput/index.js +3 -3
- package/dist/esm/TextInput/index.test.js +72 -72
- package/dist/esm/index.js +8 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.js +56 -0
- package/dist/package.json +2 -2
- package/package.json +3 -3
- package/react-core.build.log +15 -13
- package/src/AccordionControls/index.test.tsx +14 -0
- package/src/AccordionControls/index.tsx +24 -0
- package/src/AccordionSection/index.tsx +4 -5
- package/src/AccordionSectionHeader/index.tsx +2 -2
- package/src/BackLink/index.tsx +3 -0
- package/src/ButtonLink/index.test.tsx +56 -0
- package/src/ButtonLink/index.tsx +40 -0
- package/src/CallToAction/index.tsx +7 -13
- package/src/CheckboxItem/__snapshots__/index.test.tsx.snap +42 -0
- package/src/Container/index.tsx +0 -1
- package/src/GovGRLogo/index.tsx +1 -6
- package/src/Grid/__snapshots__/index.test.tsx.snap +105 -0
- package/src/Grid/index.test.tsx +29 -0
- package/src/Grid/index.tsx +121 -0
- package/src/HeaderLogo/__snapshots__/index.test.tsx.snap +1 -1
- package/src/HeaderLogo/index.tsx +15 -6
- package/src/HeaderSecondaryLogo/__snapshots__/index.test.tsx.snap +2 -2
- package/src/HeaderSecondaryLogo/index.tsx +1 -1
- package/src/Heading/index.tsx +22 -3
- package/src/HellenicRepublicLogo/index.tsx +10 -10
- package/src/HellenicRepublicLogo/logo-el.ts +1 -0
- package/src/HellenicRepublicLogo/logo-en.ts +1 -0
- package/src/Layout/index.tsx +5 -2
- package/src/NavHorizontal/__snapshots__/index.test.tsx.snap +24 -0
- package/src/PhaseBanner/__snapshots__/index.test.tsx.snap +16 -0
- package/src/PhaseBanner/index.test.tsx +4 -0
- package/src/PhaseBanner/index.tsx +9 -2
- package/src/Table/__snapshots__/index.test.tsx.snap +59 -0
- package/src/Table/index.test.tsx +24 -0
- package/src/Table/index.tsx +68 -0
- package/src/TableBody/__snapshots__/index.test.tsx.snap +11 -0
- package/src/TableBody/index.test.tsx +8 -0
- package/src/TableBody/index.tsx +26 -0
- package/src/TableCaption/__snapshots__/index.test.tsx.snap +59 -0
- package/src/TableCaption/index.test.tsx +32 -0
- package/src/TableCaption/index.tsx +36 -0
- package/src/TableDataCell/__snapshots__/index.test.tsx.snap +23 -0
- package/src/TableDataCell/index.test.tsx +14 -0
- package/src/TableDataCell/index.tsx +37 -0
- package/src/TableHead/__snapshots__/index.test.tsx.snap +11 -0
- package/src/TableHead/index.test.tsx +8 -0
- package/src/TableHead/index.tsx +26 -0
- package/src/TableHeaderCell/__snapshots__/index.test.tsx.snap +182 -0
- package/src/TableHeaderCell/index.test.tsx +113 -0
- package/src/TableHeaderCell/index.tsx +55 -0
- package/src/TableRow/__snapshots__/index.test.tsx.snap +11 -0
- package/src/TableRow/index.test.tsx +8 -0
- package/src/TableRow/index.tsx +25 -0
- package/src/TabsListItem/index.tsx +24 -24
- package/src/TabsPanel/index.tsx +2 -0
- package/src/TextInput/__snapshots__/index.test.tsx.snap +161 -161
- package/src/TextInput/index.test.tsx +88 -72
- package/src/TextInput/index.tsx +10 -9
- package/src/index.ts +7 -0
- package/coverage/clover.xml +0 -919
- package/coverage/coverage-final.json +0 -115
- package/coverage/lcov-report/Accordion/index.html +0 -111
- package/coverage/lcov-report/Accordion/index.tsx.html +0 -158
- package/coverage/lcov-report/AccordionSection/index.html +0 -111
- package/coverage/lcov-report/AccordionSection/index.tsx.html +0 -182
- package/coverage/lcov-report/AccordionSectionContent/index.html +0 -111
- package/coverage/lcov-report/AccordionSectionContent/index.tsx.html +0 -161
- package/coverage/lcov-report/AccordionSectionHeader/index.html +0 -111
- package/coverage/lcov-report/AccordionSectionHeader/index.tsx.html +0 -194
- package/coverage/lcov-report/Aside/index.html +0 -111
- package/coverage/lcov-report/Aside/index.tsx.html +0 -161
- package/coverage/lcov-report/BackLink/index.html +0 -111
- package/coverage/lcov-report/BackLink/index.tsx.html +0 -188
- package/coverage/lcov-report/Blockquote/index.html +0 -111
- package/coverage/lcov-report/Blockquote/index.tsx.html +0 -155
- package/coverage/lcov-report/Bottom/index.html +0 -111
- package/coverage/lcov-report/Bottom/index.tsx.html +0 -149
- package/coverage/lcov-report/Breadcrumbs/index.html +0 -111
- package/coverage/lcov-report/Breadcrumbs/index.tsx.html +0 -158
- package/coverage/lcov-report/BreadcrumbsList/index.html +0 -111
- package/coverage/lcov-report/BreadcrumbsList/index.tsx.html +0 -158
- package/coverage/lcov-report/BreadcrumbsListItem/index.html +0 -111
- package/coverage/lcov-report/BreadcrumbsListItem/index.tsx.html +0 -197
- package/coverage/lcov-report/BurgerIcon/index.html +0 -111
- package/coverage/lcov-report/BurgerIcon/index.tsx.html +0 -227
- package/coverage/lcov-report/Button/index.html +0 -111
- package/coverage/lcov-report/Button/index.tsx.html +0 -221
- package/coverage/lcov-report/ButtonGroup/index.html +0 -111
- package/coverage/lcov-report/ButtonGroup/index.tsx.html +0 -155
- package/coverage/lcov-report/CallToAction/index.html +0 -111
- package/coverage/lcov-report/CallToAction/index.tsx.html +0 -203
- package/coverage/lcov-report/Card/index.html +0 -111
- package/coverage/lcov-report/Card/index.tsx.html +0 -203
- package/coverage/lcov-report/CardAction/index.html +0 -111
- package/coverage/lcov-report/CardAction/index.tsx.html +0 -164
- package/coverage/lcov-report/CardHeading/index.html +0 -111
- package/coverage/lcov-report/CardHeading/index.tsx.html +0 -167
- package/coverage/lcov-report/CardText/index.html +0 -111
- package/coverage/lcov-report/CardText/index.tsx.html +0 -161
- package/coverage/lcov-report/Checkbox/index.html +0 -111
- package/coverage/lcov-report/Checkbox/index.tsx.html +0 -161
- package/coverage/lcov-report/CheckboxConditional/index.html +0 -111
- package/coverage/lcov-report/CheckboxConditional/index.tsx.html +0 -236
- package/coverage/lcov-report/CheckboxItem/index.html +0 -111
- package/coverage/lcov-report/CheckboxItem/index.tsx.html +0 -233
- package/coverage/lcov-report/Confirmation/index.html +0 -111
- package/coverage/lcov-report/Confirmation/index.tsx.html +0 -158
- package/coverage/lcov-report/ConfirmationBody/index.html +0 -111
- package/coverage/lcov-report/ConfirmationBody/index.tsx.html +0 -158
- package/coverage/lcov-report/ConfirmationTitle/index.html +0 -111
- package/coverage/lcov-report/ConfirmationTitle/index.tsx.html +0 -158
- package/coverage/lcov-report/Container/index.html +0 -111
- package/coverage/lcov-report/Container/index.tsx.html +0 -179
- package/coverage/lcov-report/Copyright/index.html +0 -111
- package/coverage/lcov-report/Copyright/index.tsx.html +0 -158
- package/coverage/lcov-report/DateInput/index.html +0 -111
- package/coverage/lcov-report/DateInput/index.tsx.html +0 -164
- package/coverage/lcov-report/DateInputItem/index.html +0 -111
- package/coverage/lcov-report/DateInputItem/index.tsx.html +0 -227
- package/coverage/lcov-report/Details/index.html +0 -111
- package/coverage/lcov-report/Details/index.tsx.html +0 -158
- package/coverage/lcov-report/DetailsContent/index.html +0 -111
- package/coverage/lcov-report/DetailsContent/index.tsx.html +0 -161
- package/coverage/lcov-report/DetailsSummary/index.html +0 -111
- package/coverage/lcov-report/DetailsSummary/index.tsx.html +0 -158
- package/coverage/lcov-report/ErrorMessage/index.html +0 -111
- package/coverage/lcov-report/ErrorMessage/index.tsx.html +0 -164
- package/coverage/lcov-report/ErrorSummary/index.html +0 -111
- package/coverage/lcov-report/ErrorSummary/index.tsx.html +0 -155
- package/coverage/lcov-report/Fieldset/index.html +0 -111
- package/coverage/lcov-report/Fieldset/index.tsx.html +0 -158
- package/coverage/lcov-report/FieldsetLegend/index.html +0 -111
- package/coverage/lcov-report/FieldsetLegend/index.tsx.html +0 -233
- package/coverage/lcov-report/FileUpload/index.html +0 -111
- package/coverage/lcov-report/FileUpload/index.tsx.html +0 -197
- package/coverage/lcov-report/Footer/index.html +0 -111
- package/coverage/lcov-report/Footer/index.tsx.html +0 -155
- package/coverage/lcov-report/FooterContainer/index.html +0 -111
- package/coverage/lcov-report/FooterContainer/index.tsx.html +0 -158
- package/coverage/lcov-report/FooterContent/index.html +0 -111
- package/coverage/lcov-report/FooterContent/index.tsx.html +0 -161
- package/coverage/lcov-report/FooterContentLogos/index.html +0 -111
- package/coverage/lcov-report/FooterContentLogos/index.tsx.html +0 -164
- package/coverage/lcov-report/FooterHeading/index.html +0 -111
- package/coverage/lcov-report/FooterHeading/index.tsx.html +0 -185
- package/coverage/lcov-report/FooterImage/index.html +0 -111
- package/coverage/lcov-report/FooterImage/index.tsx.html +0 -161
- package/coverage/lcov-report/FooterInlineList/index.html +0 -111
- package/coverage/lcov-report/FooterInlineList/index.tsx.html +0 -164
- package/coverage/lcov-report/FooterInlineListItem/index.html +0 -111
- package/coverage/lcov-report/FooterInlineListItem/index.tsx.html +0 -158
- package/coverage/lcov-report/FooterLink/index.html +0 -111
- package/coverage/lcov-report/FooterLink/index.tsx.html +0 -173
- package/coverage/lcov-report/FooterList/index.html +0 -111
- package/coverage/lcov-report/FooterList/index.tsx.html +0 -179
- package/coverage/lcov-report/FooterListItem/index.html +0 -111
- package/coverage/lcov-report/FooterListItem/index.tsx.html +0 -161
- package/coverage/lcov-report/FooterMeta/index.html +0 -111
- package/coverage/lcov-report/FooterMeta/index.tsx.html +0 -161
- package/coverage/lcov-report/FooterMetaItem/index.html +0 -111
- package/coverage/lcov-report/FooterMetaItem/index.tsx.html +0 -179
- package/coverage/lcov-report/FooterNavigation/index.html +0 -111
- package/coverage/lcov-report/FooterNavigation/index.tsx.html +0 -164
- package/coverage/lcov-report/FooterSection/index.html +0 -111
- package/coverage/lcov-report/FooterSection/index.tsx.html +0 -164
- package/coverage/lcov-report/FormGroup/index.html +0 -111
- package/coverage/lcov-report/FormGroup/index.tsx.html +0 -173
- package/coverage/lcov-report/GovGRFooter/index.html +0 -111
- package/coverage/lcov-report/GovGRFooter/index.tsx.html +0 -155
- package/coverage/lcov-report/GovGRLogo/index.html +0 -111
- package/coverage/lcov-report/GovGRLogo/index.tsx.html +0 -176
- package/coverage/lcov-report/Header/index.html +0 -111
- package/coverage/lcov-report/Header/index.tsx.html +0 -167
- package/coverage/lcov-report/HeaderContent/index.html +0 -111
- package/coverage/lcov-report/HeaderContent/index.tsx.html +0 -158
- package/coverage/lcov-report/HeaderLogo/index.html +0 -111
- package/coverage/lcov-report/HeaderLogo/index.tsx.html +0 -164
- package/coverage/lcov-report/HeaderSecondaryLogo/index.html +0 -111
- package/coverage/lcov-report/HeaderSecondaryLogo/index.tsx.html +0 -185
- package/coverage/lcov-report/HeaderSection/index.html +0 -111
- package/coverage/lcov-report/HeaderSection/index.tsx.html +0 -158
- package/coverage/lcov-report/HeaderSubtitle/index.html +0 -111
- package/coverage/lcov-report/HeaderSubtitle/index.tsx.html +0 -140
- package/coverage/lcov-report/HeaderTitle/index.html +0 -111
- package/coverage/lcov-report/HeaderTitle/index.tsx.html +0 -176
- package/coverage/lcov-report/Heading/index.html +0 -111
- package/coverage/lcov-report/Heading/index.tsx.html +0 -212
- package/coverage/lcov-report/HeadingCaption/index.html +0 -111
- package/coverage/lcov-report/HeadingCaption/index.tsx.html +0 -185
- package/coverage/lcov-report/HellenicRepublicLogo/index.html +0 -111
- package/coverage/lcov-report/HellenicRepublicLogo/index.tsx.html +0 -206
- package/coverage/lcov-report/Hint/index.html +0 -111
- package/coverage/lcov-report/Hint/index.tsx.html +0 -155
- package/coverage/lcov-report/Label/index.html +0 -111
- package/coverage/lcov-report/Label/index.tsx.html +0 -176
- package/coverage/lcov-report/Layout/index.html +0 -111
- package/coverage/lcov-report/Layout/index.tsx.html +0 -155
- package/coverage/lcov-report/Link/index.html +0 -111
- package/coverage/lcov-report/Link/index.tsx.html +0 -176
- package/coverage/lcov-report/List/index.html +0 -111
- package/coverage/lcov-report/List/index.tsx.html +0 -197
- package/coverage/lcov-report/ListItem/index.html +0 -111
- package/coverage/lcov-report/ListItem/index.tsx.html +0 -155
- package/coverage/lcov-report/Main/index.html +0 -111
- package/coverage/lcov-report/Main/index.tsx.html +0 -158
- package/coverage/lcov-report/Masthead/index.html +0 -111
- package/coverage/lcov-report/Masthead/index.tsx.html +0 -206
- package/coverage/lcov-report/MastheadBody/index.html +0 -111
- package/coverage/lcov-report/MastheadBody/index.tsx.html +0 -158
- package/coverage/lcov-report/NavHorizontal/index.html +0 -111
- package/coverage/lcov-report/NavHorizontal/index.tsx.html +0 -182
- package/coverage/lcov-report/NavHorizontalList/index.html +0 -111
- package/coverage/lcov-report/NavHorizontalList/index.tsx.html +0 -161
- package/coverage/lcov-report/NavHorizontalListItem/index.html +0 -111
- package/coverage/lcov-report/NavHorizontalListItem/index.tsx.html +0 -206
- package/coverage/lcov-report/NavVertical/index.html +0 -111
- package/coverage/lcov-report/NavVertical/index.tsx.html +0 -161
- package/coverage/lcov-report/NavVerticalItem/index.html +0 -111
- package/coverage/lcov-report/NavVerticalItem/index.tsx.html +0 -182
- package/coverage/lcov-report/NormalText/index.html +0 -111
- package/coverage/lcov-report/NormalText/index.tsx.html +0 -263
- package/coverage/lcov-report/NotificationBanner/index.html +0 -111
- package/coverage/lcov-report/NotificationBanner/index.tsx.html +0 -197
- package/coverage/lcov-report/NotificationBannerContent/index.html +0 -111
- package/coverage/lcov-report/NotificationBannerContent/index.tsx.html +0 -167
- package/coverage/lcov-report/NotificationBannerHeader/index.html +0 -111
- package/coverage/lcov-report/NotificationBannerHeader/index.tsx.html +0 -182
- package/coverage/lcov-report/NotificationBannerHeading/index.html +0 -111
- package/coverage/lcov-report/NotificationBannerHeading/index.tsx.html +0 -164
- package/coverage/lcov-report/NotificationBannerLink/index.html +0 -111
- package/coverage/lcov-report/NotificationBannerLink/index.tsx.html +0 -191
- package/coverage/lcov-report/PageTitle/index.html +0 -111
- package/coverage/lcov-report/PageTitle/index.tsx.html +0 -137
- package/coverage/lcov-report/PageTitleCaption/index.html +0 -111
- package/coverage/lcov-report/PageTitleCaption/index.tsx.html +0 -191
- package/coverage/lcov-report/PageTitleHeading/index.html +0 -111
- package/coverage/lcov-report/PageTitleHeading/index.tsx.html +0 -191
- package/coverage/lcov-report/PageTitleSection/index.html +0 -111
- package/coverage/lcov-report/PageTitleSection/index.tsx.html +0 -140
- package/coverage/lcov-report/Paragraph/index.html +0 -111
- package/coverage/lcov-report/Paragraph/index.tsx.html +0 -260
- package/coverage/lcov-report/PhaseBanner/index.html +0 -111
- package/coverage/lcov-report/PhaseBanner/index.tsx.html +0 -176
- package/coverage/lcov-report/PhaseBannerTag/index.html +0 -111
- package/coverage/lcov-report/PhaseBannerTag/index.tsx.html +0 -161
- package/coverage/lcov-report/PhaseBannerText/index.html +0 -111
- package/coverage/lcov-report/PhaseBannerText/index.tsx.html +0 -164
- package/coverage/lcov-report/Radio/index.html +0 -111
- package/coverage/lcov-report/Radio/index.tsx.html +0 -158
- package/coverage/lcov-report/RadioItem/index.html +0 -111
- package/coverage/lcov-report/RadioItem/index.tsx.html +0 -230
- package/coverage/lcov-report/SectionBreak/index.html +0 -111
- package/coverage/lcov-report/SectionBreak/index.tsx.html +0 -194
- package/coverage/lcov-report/Select/index.html +0 -111
- package/coverage/lcov-report/Select/index.tsx.html +0 -179
- package/coverage/lcov-report/SelectOption/index.html +0 -111
- package/coverage/lcov-report/SelectOption/index.tsx.html +0 -200
- package/coverage/lcov-report/ServiceBadge/index.html +0 -111
- package/coverage/lcov-report/ServiceBadge/index.tsx.html +0 -161
- package/coverage/lcov-report/SummaryList/index.html +0 -111
- package/coverage/lcov-report/SummaryList/index.tsx.html +0 -158
- package/coverage/lcov-report/SummaryListItem/index.html +0 -111
- package/coverage/lcov-report/SummaryListItem/index.tsx.html +0 -161
- package/coverage/lcov-report/SummaryListItemAction/index.html +0 -111
- package/coverage/lcov-report/SummaryListItemAction/index.tsx.html +0 -161
- package/coverage/lcov-report/SummaryListItemKey/index.html +0 -111
- package/coverage/lcov-report/SummaryListItemKey/index.tsx.html +0 -161
- package/coverage/lcov-report/SummaryListItemValue/index.html +0 -111
- package/coverage/lcov-report/SummaryListItemValue/index.tsx.html +0 -158
- package/coverage/lcov-report/Tabs/index.html +0 -111
- package/coverage/lcov-report/Tabs/index.tsx.html +0 -161
- package/coverage/lcov-report/TabsHeading/index.html +0 -111
- package/coverage/lcov-report/TabsHeading/index.tsx.html +0 -185
- package/coverage/lcov-report/TabsList/index.html +0 -111
- package/coverage/lcov-report/TabsList/index.tsx.html +0 -161
- package/coverage/lcov-report/TabsListItem/index.html +0 -111
- package/coverage/lcov-report/TabsListItem/index.tsx.html +0 -227
- package/coverage/lcov-report/TabsPanel/index.html +0 -111
- package/coverage/lcov-report/TabsPanel/index.tsx.html +0 -182
- package/coverage/lcov-report/TextArea/index.html +0 -111
- package/coverage/lcov-report/TextArea/index.tsx.html +0 -224
- package/coverage/lcov-report/TextInput/index.html +0 -111
- package/coverage/lcov-report/TextInput/index.tsx.html +0 -320
- package/coverage/lcov-report/Top/index.html +0 -111
- package/coverage/lcov-report/Top/index.tsx.html +0 -152
- package/coverage/lcov-report/VisuallyHidden/index.html +0 -111
- package/coverage/lcov-report/VisuallyHidden/index.tsx.html +0 -161
- package/coverage/lcov-report/WarningText/index.html +0 -111
- package/coverage/lcov-report/WarningText/index.tsx.html +0 -221
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -79
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +0 -1806
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -170
- package/coverage/lcov.info +0 -1508
|
@@ -31,210 +31,226 @@ it('renders the TextInput with characterWidth=20', () => {
|
|
|
31
31
|
expect(mount(<TextInput characterWidth={20}></TextInput>)).toMatchSnapshot();
|
|
32
32
|
});
|
|
33
33
|
|
|
34
|
-
it('renders the TextInput with
|
|
34
|
+
it('renders the TextInput with cellWidth=one-quarter', () => {
|
|
35
35
|
expect(
|
|
36
|
-
mount(<TextInput
|
|
36
|
+
mount(<TextInput cellWidth={'one-quarter'}></TextInput>)
|
|
37
37
|
).toMatchSnapshot();
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
it('renders the TextInput with
|
|
41
|
-
expect(
|
|
40
|
+
it('renders the TextInput with cellWidth=one-third', () => {
|
|
41
|
+
expect(
|
|
42
|
+
mount(<TextInput cellWidth={'one-third'}></TextInput>)
|
|
43
|
+
).toMatchSnapshot();
|
|
42
44
|
});
|
|
43
45
|
|
|
44
|
-
it('renders the TextInput with
|
|
45
|
-
expect(
|
|
46
|
+
it('renders the TextInput with cellWidth=one-half', () => {
|
|
47
|
+
expect(
|
|
48
|
+
mount(<TextInput cellWidth={'one-half'}></TextInput>)
|
|
49
|
+
).toMatchSnapshot();
|
|
46
50
|
});
|
|
47
51
|
|
|
48
|
-
it('renders the TextInput with
|
|
49
|
-
expect(
|
|
52
|
+
it('renders the TextInput with cellWidth=two-thirds', () => {
|
|
53
|
+
expect(
|
|
54
|
+
mount(<TextInput cellWidth={'two-thirds'}></TextInput>)
|
|
55
|
+
).toMatchSnapshot();
|
|
50
56
|
});
|
|
51
57
|
|
|
52
|
-
it('renders the TextInput with
|
|
58
|
+
it('renders the TextInput with cellWidth=three-quarters', () => {
|
|
53
59
|
expect(
|
|
54
|
-
mount(<TextInput
|
|
60
|
+
mount(<TextInput cellWidth={'three-quarters'}></TextInput>)
|
|
55
61
|
).toMatchSnapshot();
|
|
56
62
|
});
|
|
57
63
|
|
|
58
|
-
it('renders the TextInput with
|
|
59
|
-
expect(mount(<TextInput
|
|
64
|
+
it('renders the TextInput with cellWidth=full', () => {
|
|
65
|
+
expect(mount(<TextInput cellWidth={'full'}></TextInput>)).toMatchSnapshot();
|
|
60
66
|
});
|
|
61
67
|
|
|
62
|
-
it('renders the TextInput with characterWidth=2 and with
|
|
68
|
+
it('renders the TextInput with characterWidth=2 and with cellWidth=one-quarter', () => {
|
|
63
69
|
expect(
|
|
64
|
-
mount(<TextInput characterWidth={2}
|
|
70
|
+
mount(<TextInput characterWidth={2} cellWidth={'one-quarter'}></TextInput>)
|
|
65
71
|
).toMatchSnapshot();
|
|
66
72
|
});
|
|
67
73
|
|
|
68
|
-
it('renders the TextInput with characterWidth=3 and with
|
|
74
|
+
it('renders the TextInput with characterWidth=3 and with cellWidth=one-quarter', () => {
|
|
69
75
|
expect(
|
|
70
|
-
mount(<TextInput characterWidth={3}
|
|
76
|
+
mount(<TextInput characterWidth={3} cellWidth={'one-quarter'}></TextInput>)
|
|
71
77
|
).toMatchSnapshot();
|
|
72
78
|
});
|
|
73
79
|
|
|
74
|
-
it('renders the TextInput with characterWidth=4 and with
|
|
80
|
+
it('renders the TextInput with characterWidth=4 and with cellWidth=one-quarter', () => {
|
|
75
81
|
expect(
|
|
76
|
-
mount(<TextInput characterWidth={4}
|
|
82
|
+
mount(<TextInput characterWidth={4} cellWidth={'one-quarter'}></TextInput>)
|
|
77
83
|
).toMatchSnapshot();
|
|
78
84
|
});
|
|
79
85
|
|
|
80
|
-
it('renders the TextInput with with characterWidth=5 with
|
|
86
|
+
it('renders the TextInput with with characterWidth=5 with cellWidth=one-quarter', () => {
|
|
81
87
|
expect(
|
|
82
|
-
mount(<TextInput characterWidth={5}
|
|
88
|
+
mount(<TextInput characterWidth={5} cellWidth={'one-quarter'}></TextInput>)
|
|
83
89
|
).toMatchSnapshot();
|
|
84
90
|
});
|
|
85
91
|
|
|
86
|
-
it('renders the TextInput with characterWidth=20 and with
|
|
92
|
+
it('renders the TextInput with characterWidth=20 and with cellWidth=one-quarter', () => {
|
|
87
93
|
expect(
|
|
88
|
-
mount(<TextInput characterWidth={20}
|
|
94
|
+
mount(<TextInput characterWidth={20} cellWidth={'one-quarter'}></TextInput>)
|
|
89
95
|
).toMatchSnapshot();
|
|
90
96
|
});
|
|
91
97
|
|
|
92
|
-
it('renders the TextInput with characterWidth=2 and with
|
|
98
|
+
it('renders the TextInput with characterWidth=2 and with cellWidth=one-third', () => {
|
|
93
99
|
expect(
|
|
94
|
-
mount(<TextInput characterWidth={2}
|
|
100
|
+
mount(<TextInput characterWidth={2} cellWidth={'one-third'}></TextInput>)
|
|
95
101
|
).toMatchSnapshot();
|
|
96
102
|
});
|
|
97
103
|
|
|
98
|
-
it('renders the TextInput with characterWidth=3 and with
|
|
104
|
+
it('renders the TextInput with characterWidth=3 and with cellWidth=one-third', () => {
|
|
99
105
|
expect(
|
|
100
|
-
mount(<TextInput characterWidth={3}
|
|
106
|
+
mount(<TextInput characterWidth={3} cellWidth={'one-third'}></TextInput>)
|
|
101
107
|
).toMatchSnapshot();
|
|
102
108
|
});
|
|
103
109
|
|
|
104
|
-
it('renders the TextInput with characterWidth=4 and with
|
|
110
|
+
it('renders the TextInput with characterWidth=4 and with cellWidth=one-third', () => {
|
|
105
111
|
expect(
|
|
106
|
-
mount(<TextInput characterWidth={4}
|
|
112
|
+
mount(<TextInput characterWidth={4} cellWidth={'one-third'}></TextInput>)
|
|
107
113
|
).toMatchSnapshot();
|
|
108
114
|
});
|
|
109
115
|
|
|
110
|
-
it('renders the TextInput with with characterWidth=5 with
|
|
116
|
+
it('renders the TextInput with with characterWidth=5 with cellWidth=one-third', () => {
|
|
111
117
|
expect(
|
|
112
|
-
mount(<TextInput characterWidth={5}
|
|
118
|
+
mount(<TextInput characterWidth={5} cellWidth={'one-third'}></TextInput>)
|
|
113
119
|
).toMatchSnapshot();
|
|
114
120
|
});
|
|
115
121
|
|
|
116
|
-
it('renders the TextInput with characterWidth=20 and with
|
|
122
|
+
it('renders the TextInput with characterWidth=20 and with cellWidth=one-third', () => {
|
|
117
123
|
expect(
|
|
118
|
-
mount(<TextInput characterWidth={20}
|
|
124
|
+
mount(<TextInput characterWidth={20} cellWidth={'one-third'}></TextInput>)
|
|
119
125
|
).toMatchSnapshot();
|
|
120
126
|
});
|
|
121
127
|
|
|
122
|
-
it('renders the TextInput with characterWidth=2 and with
|
|
128
|
+
it('renders the TextInput with characterWidth=2 and with cellWidth=one-half', () => {
|
|
123
129
|
expect(
|
|
124
|
-
mount(<TextInput characterWidth={2}
|
|
130
|
+
mount(<TextInput characterWidth={2} cellWidth={'one-half'}></TextInput>)
|
|
125
131
|
).toMatchSnapshot();
|
|
126
132
|
});
|
|
127
133
|
|
|
128
|
-
it('renders the TextInput with characterWidth=3 and with
|
|
134
|
+
it('renders the TextInput with characterWidth=3 and with cellWidth=one-half', () => {
|
|
129
135
|
expect(
|
|
130
|
-
mount(<TextInput characterWidth={3}
|
|
136
|
+
mount(<TextInput characterWidth={3} cellWidth={'one-half'}></TextInput>)
|
|
131
137
|
).toMatchSnapshot();
|
|
132
138
|
});
|
|
133
139
|
|
|
134
|
-
it('renders the TextInput with characterWidth=4 and with
|
|
140
|
+
it('renders the TextInput with characterWidth=4 and with cellWidth=one-half', () => {
|
|
135
141
|
expect(
|
|
136
|
-
mount(<TextInput characterWidth={4}
|
|
142
|
+
mount(<TextInput characterWidth={4} cellWidth={'one-half'}></TextInput>)
|
|
137
143
|
).toMatchSnapshot();
|
|
138
144
|
});
|
|
139
145
|
|
|
140
|
-
it('renders the TextInput with with characterWidth=5 with
|
|
146
|
+
it('renders the TextInput with with characterWidth=5 with cellWidth=one-half', () => {
|
|
141
147
|
expect(
|
|
142
|
-
mount(<TextInput characterWidth={5}
|
|
148
|
+
mount(<TextInput characterWidth={5} cellWidth={'one-half'}></TextInput>)
|
|
143
149
|
).toMatchSnapshot();
|
|
144
150
|
});
|
|
145
151
|
|
|
146
|
-
it('renders the TextInput with characterWidth=20 and with
|
|
152
|
+
it('renders the TextInput with characterWidth=20 and with cellWidth=one-half', () => {
|
|
147
153
|
expect(
|
|
148
|
-
mount(<TextInput characterWidth={20}
|
|
154
|
+
mount(<TextInput characterWidth={20} cellWidth={'one-half'}></TextInput>)
|
|
149
155
|
).toMatchSnapshot();
|
|
150
156
|
});
|
|
151
157
|
|
|
152
|
-
it('renders the TextInput with characterWidth=2 and with
|
|
158
|
+
it('renders the TextInput with characterWidth=2 and with cellWidth=two-thirds', () => {
|
|
153
159
|
expect(
|
|
154
|
-
mount(<TextInput characterWidth={2}
|
|
160
|
+
mount(<TextInput characterWidth={2} cellWidth={'two-thirds'}></TextInput>)
|
|
155
161
|
).toMatchSnapshot();
|
|
156
162
|
});
|
|
157
163
|
|
|
158
|
-
it('renders the TextInput with characterWidth=3 and with
|
|
164
|
+
it('renders the TextInput with characterWidth=3 and with cellWidth=two-thirds', () => {
|
|
159
165
|
expect(
|
|
160
|
-
mount(<TextInput characterWidth={3}
|
|
166
|
+
mount(<TextInput characterWidth={3} cellWidth={'two-thirds'}></TextInput>)
|
|
161
167
|
).toMatchSnapshot();
|
|
162
168
|
});
|
|
163
169
|
|
|
164
|
-
it('renders the TextInput with characterWidth=4 and with
|
|
170
|
+
it('renders the TextInput with characterWidth=4 and with cellWidth=two-thirds', () => {
|
|
165
171
|
expect(
|
|
166
|
-
mount(<TextInput characterWidth={4}
|
|
172
|
+
mount(<TextInput characterWidth={4} cellWidth={'two-thirds'}></TextInput>)
|
|
167
173
|
).toMatchSnapshot();
|
|
168
174
|
});
|
|
169
175
|
|
|
170
|
-
it('renders the TextInput with with characterWidth=5 with
|
|
176
|
+
it('renders the TextInput with with characterWidth=5 with cellWidth=two-thirds', () => {
|
|
171
177
|
expect(
|
|
172
|
-
mount(<TextInput characterWidth={5}
|
|
178
|
+
mount(<TextInput characterWidth={5} cellWidth={'two-thirds'}></TextInput>)
|
|
173
179
|
).toMatchSnapshot();
|
|
174
180
|
});
|
|
175
181
|
|
|
176
|
-
it('renders the TextInput with characterWidth=20 and with
|
|
182
|
+
it('renders the TextInput with characterWidth=20 and with cellWidth=two-thirds', () => {
|
|
177
183
|
expect(
|
|
178
|
-
mount(<TextInput characterWidth={20}
|
|
184
|
+
mount(<TextInput characterWidth={20} cellWidth={'two-thirds'}></TextInput>)
|
|
179
185
|
).toMatchSnapshot();
|
|
180
186
|
});
|
|
181
187
|
|
|
182
|
-
it('renders the TextInput with characterWidth=2 and with
|
|
188
|
+
it('renders the TextInput with characterWidth=2 and with cellWidth=three-quarters', () => {
|
|
183
189
|
expect(
|
|
184
|
-
mount(
|
|
190
|
+
mount(
|
|
191
|
+
<TextInput characterWidth={2} cellWidth={'three-quarters'}></TextInput>
|
|
192
|
+
)
|
|
185
193
|
).toMatchSnapshot();
|
|
186
194
|
});
|
|
187
195
|
|
|
188
|
-
it('renders the TextInput with characterWidth=3 and with
|
|
196
|
+
it('renders the TextInput with characterWidth=3 and with cellWidth=three-quarters', () => {
|
|
189
197
|
expect(
|
|
190
|
-
mount(
|
|
198
|
+
mount(
|
|
199
|
+
<TextInput characterWidth={3} cellWidth={'three-quarters'}></TextInput>
|
|
200
|
+
)
|
|
191
201
|
).toMatchSnapshot();
|
|
192
202
|
});
|
|
193
203
|
|
|
194
|
-
it('renders the TextInput with characterWidth=4 and with
|
|
204
|
+
it('renders the TextInput with characterWidth=4 and with cellWidth=three-quarters', () => {
|
|
195
205
|
expect(
|
|
196
|
-
mount(
|
|
206
|
+
mount(
|
|
207
|
+
<TextInput characterWidth={4} cellWidth={'three-quarters'}></TextInput>
|
|
208
|
+
)
|
|
197
209
|
).toMatchSnapshot();
|
|
198
210
|
});
|
|
199
211
|
|
|
200
|
-
it('renders the TextInput with with characterWidth=5 with
|
|
212
|
+
it('renders the TextInput with with characterWidth=5 with cellWidth=three-quarters', () => {
|
|
201
213
|
expect(
|
|
202
|
-
mount(
|
|
214
|
+
mount(
|
|
215
|
+
<TextInput characterWidth={5} cellWidth={'three-quarters'}></TextInput>
|
|
216
|
+
)
|
|
203
217
|
).toMatchSnapshot();
|
|
204
218
|
});
|
|
205
219
|
|
|
206
|
-
it('renders the TextInput with characterWidth=20 and with
|
|
220
|
+
it('renders the TextInput with characterWidth=20 and with cellWidth=three-quarters', () => {
|
|
207
221
|
expect(
|
|
208
|
-
mount(
|
|
222
|
+
mount(
|
|
223
|
+
<TextInput characterWidth={20} cellWidth={'three-quarters'}></TextInput>
|
|
224
|
+
)
|
|
209
225
|
).toMatchSnapshot();
|
|
210
226
|
});
|
|
211
227
|
|
|
212
|
-
it('renders the TextInput with characterWidth=2 and with
|
|
228
|
+
it('renders the TextInput with characterWidth=2 and with cellWidth=full', () => {
|
|
213
229
|
expect(
|
|
214
|
-
mount(<TextInput characterWidth={2}
|
|
230
|
+
mount(<TextInput characterWidth={2} cellWidth={'full'}></TextInput>)
|
|
215
231
|
).toMatchSnapshot();
|
|
216
232
|
});
|
|
217
233
|
|
|
218
|
-
it('renders the TextInput with characterWidth=3 and with
|
|
234
|
+
it('renders the TextInput with characterWidth=3 and with cellWidth=full', () => {
|
|
219
235
|
expect(
|
|
220
|
-
mount(<TextInput characterWidth={3}
|
|
236
|
+
mount(<TextInput characterWidth={3} cellWidth={'full'}></TextInput>)
|
|
221
237
|
).toMatchSnapshot();
|
|
222
238
|
});
|
|
223
239
|
|
|
224
|
-
it('renders the TextInput with characterWidth=4 and with
|
|
240
|
+
it('renders the TextInput with characterWidth=4 and with cellWidth=full', () => {
|
|
225
241
|
expect(
|
|
226
|
-
mount(<TextInput characterWidth={4}
|
|
242
|
+
mount(<TextInput characterWidth={4} cellWidth={'full'}></TextInput>)
|
|
227
243
|
).toMatchSnapshot();
|
|
228
244
|
});
|
|
229
245
|
|
|
230
|
-
it('renders the TextInput with with characterWidth=5 with
|
|
246
|
+
it('renders the TextInput with with characterWidth=5 with cellWidth=full', () => {
|
|
231
247
|
expect(
|
|
232
|
-
mount(<TextInput characterWidth={5}
|
|
248
|
+
mount(<TextInput characterWidth={5} cellWidth={'full'}></TextInput>)
|
|
233
249
|
).toMatchSnapshot();
|
|
234
250
|
});
|
|
235
251
|
|
|
236
|
-
it('renders the TextInput with characterWidth=20 and with
|
|
252
|
+
it('renders the TextInput with characterWidth=20 and with cellWidth=full', () => {
|
|
237
253
|
expect(
|
|
238
|
-
mount(<TextInput characterWidth={20}
|
|
254
|
+
mount(<TextInput characterWidth={20} cellWidth={'full'}></TextInput>)
|
|
239
255
|
).toMatchSnapshot();
|
|
240
256
|
});
|
package/src/TextInput/index.tsx
CHANGED
|
@@ -14,9 +14,10 @@ export interface TextInputProps extends InputElementAttributes {
|
|
|
14
14
|
characterWidth?: 2 | 3 | 4 | 5 | 10 | 20;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* cellWidth is optional.
|
|
18
|
+
* Use cellWidth prop to define a custom width for a specific reference number in your components.
|
|
18
19
|
*/
|
|
19
|
-
|
|
20
|
+
cellWidth?:
|
|
20
21
|
| 'one-quarter'
|
|
21
22
|
| 'one-third'
|
|
22
23
|
| 'one-half'
|
|
@@ -40,7 +41,7 @@ export const TextInput = React.forwardRef<HTMLInputElement, TextInputProps>(
|
|
|
40
41
|
type = 'text',
|
|
41
42
|
name,
|
|
42
43
|
characterWidth,
|
|
43
|
-
|
|
44
|
+
cellWidth,
|
|
44
45
|
error,
|
|
45
46
|
className,
|
|
46
47
|
children,
|
|
@@ -61,12 +62,12 @@ export const TextInput = React.forwardRef<HTMLInputElement, TextInputProps>(
|
|
|
61
62
|
'govgr-input--width-5': characterWidth === 5,
|
|
62
63
|
'govgr-input--width-10': characterWidth === 10,
|
|
63
64
|
'govgr-input--width-20': characterWidth === 20,
|
|
64
|
-
'govgr-!-width-one-quarter':
|
|
65
|
-
'govgr-!-width-one-third':
|
|
66
|
-
'govgr-!-width-one-half':
|
|
67
|
-
'govgr-!-width-two-thirds':
|
|
68
|
-
'govgr-!-width-three-quarters':
|
|
69
|
-
'govgr-!-width-full':
|
|
65
|
+
'govgr-!-width-one-quarter': cellWidth === 'one-quarter',
|
|
66
|
+
'govgr-!-width-one-third': cellWidth === 'one-third',
|
|
67
|
+
'govgr-!-width-one-half': cellWidth === 'one-half',
|
|
68
|
+
'govgr-!-width-two-thirds': cellWidth === 'two-thirds',
|
|
69
|
+
'govgr-!-width-three-quarters': cellWidth === 'three-quarters',
|
|
70
|
+
'govgr-!-width-full': cellWidth === 'full',
|
|
70
71
|
'govgr-error-input': error === true,
|
|
71
72
|
})}
|
|
72
73
|
{...props}
|
package/src/index.ts
CHANGED
|
@@ -102,6 +102,13 @@ export { default as SummaryListItem } from '@digigov/react-core/SummaryListItem'
|
|
|
102
102
|
export { default as SummaryListItemAction } from '@digigov/react-core/SummaryListItemAction';
|
|
103
103
|
export { default as SummaryListItemKey } from '@digigov/react-core/SummaryListItemKey';
|
|
104
104
|
export { default as SummaryListItemValue } from '@digigov/react-core/SummaryListItemValue';
|
|
105
|
+
export { default as Table } from '@digigov/react-core/Table';
|
|
106
|
+
export { default as TableRow } from '@digigov/react-core/TableRow';
|
|
107
|
+
export { default as TableCaption } from '@digigov/react-core/TableCaption';
|
|
108
|
+
export { default as TableHead } from '@digigov/react-core/TableHead';
|
|
109
|
+
export { default as TableBody } from '@digigov/react-core/TableBody';
|
|
110
|
+
export { default as TableDataCell } from '@digigov/react-core/TableDataCell';
|
|
111
|
+
export { default as TableHeaderCell } from '@digigov/react-core/TableHeaderCell';
|
|
105
112
|
export { default as TabsList } from '@digigov/react-core/TabsList';
|
|
106
113
|
export { default as TabsListItem } from '@digigov/react-core/TabsListItem';
|
|
107
114
|
export { default as TabsPanel } from '@digigov/react-core/TabsPanel';
|