govuk-react 1.0.0-alpha.0 → 1.0.0-alpha.2
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/README.md +3 -2
- package/dist/components/accordion/index.d.ts +68 -0
- package/dist/components/accordion/index.js +104 -0
- package/dist/components/accordion/index.js.map +1 -0
- package/dist/components/back-link/index.d.ts +1 -0
- package/dist/components/back-link/index.js +2 -0
- package/dist/components/back-link/index.js.map +1 -0
- package/dist/components/body/index.d.ts +1 -0
- package/dist/components/body/index.js +2 -0
- package/dist/components/body/index.js.map +1 -0
- package/dist/components/breadcrumbs/index.js +2 -0
- package/dist/components/breadcrumbs/index.js.map +1 -0
- package/dist/components/button/index.d.ts +24 -0
- package/dist/components/button/index.js +17 -0
- package/dist/components/button/index.js.map +1 -0
- package/dist/components/caption/index.d.ts +1 -0
- package/dist/components/caption/index.js +2 -0
- package/dist/components/caption/index.js.map +1 -0
- package/dist/components/character-count/index.d.ts +36 -0
- package/dist/components/character-count/index.js +82 -0
- package/dist/components/character-count/index.js.map +1 -0
- package/dist/components/checkboxes/index.d.ts +47 -0
- package/dist/components/checkboxes/index.js +64 -0
- package/dist/components/checkboxes/index.js.map +1 -0
- package/dist/components/cookie-banner/index.js +2 -0
- package/dist/components/cookie-banner/index.js.map +1 -0
- package/dist/components/date-input/index.js +2 -0
- package/dist/components/date-input/index.js.map +1 -0
- package/dist/components/details/index.js +2 -0
- package/dist/components/details/index.js.map +1 -0
- package/dist/components/document-footer-metadata/index.d.ts +35 -0
- package/dist/components/document-footer-metadata/index.js +36 -0
- package/dist/components/document-footer-metadata/index.js.map +1 -0
- package/dist/components/error-message/index.d.ts +1 -0
- package/dist/components/error-message/index.js +2 -0
- package/dist/components/error-message/index.js.map +1 -0
- package/dist/components/error-summary/index.d.ts +22 -0
- package/dist/components/error-summary/index.js +49 -0
- package/dist/components/error-summary/index.js.map +1 -0
- package/dist/components/exit-this-page/index.d.ts +33 -0
- package/dist/components/exit-this-page/index.js +66 -0
- package/dist/components/exit-this-page/index.js.map +1 -0
- package/dist/components/feedback/index.js +2 -0
- package/dist/components/feedback/index.js.map +1 -0
- package/dist/components/fieldset/index.js +2 -0
- package/dist/components/fieldset/index.js.map +1 -0
- package/dist/components/file-upload/control.d.ts +6 -0
- package/dist/components/file-upload/control.js +9 -0
- package/dist/components/file-upload/control.js.map +1 -0
- package/dist/components/file-upload/enhanced.d.ts +45 -0
- package/dist/components/file-upload/enhanced.js +84 -0
- package/dist/components/file-upload/enhanced.js.map +1 -0
- package/dist/components/file-upload/index.d.ts +12 -0
- package/dist/components/file-upload/index.js +18 -0
- package/dist/components/file-upload/index.js.map +1 -0
- package/dist/components/footer/index.js +2 -0
- package/dist/components/footer/index.js.map +1 -0
- package/dist/components/form-group/index.d.ts +1 -0
- package/dist/components/form-group/index.js +2 -0
- package/dist/components/form-group/index.js.map +1 -0
- package/dist/components/generic-header/index.js +2 -0
- package/dist/components/generic-header/index.js.map +1 -0
- package/dist/components/grid-column/index.d.ts +1 -0
- package/dist/components/grid-column/index.js +2 -0
- package/dist/components/grid-column/index.js.map +1 -0
- package/dist/components/grid-row/index.d.ts +1 -0
- package/dist/components/grid-row/index.js +2 -0
- package/dist/components/grid-row/index.js.map +1 -0
- package/dist/components/header/index.js +2 -0
- package/dist/components/header/index.js.map +1 -0
- package/dist/components/heading/index.d.ts +1 -0
- package/dist/components/heading/index.js +2 -0
- package/dist/components/heading/index.js.map +1 -0
- package/dist/components/hint/index.d.ts +1 -0
- package/dist/components/hint/index.js +2 -0
- package/dist/components/hint/index.js.map +1 -0
- package/dist/components/input/index.js +2 -0
- package/dist/components/input/index.js.map +1 -0
- package/dist/components/inset-text/index.d.ts +1 -0
- package/dist/components/inset-text/index.js +2 -0
- package/dist/components/inset-text/index.js.map +1 -0
- package/dist/components/label/index.d.ts +1 -0
- package/dist/components/label/index.js +2 -0
- package/dist/components/label/index.js.map +1 -0
- package/dist/components/language-navigation/index.js +2 -0
- package/dist/components/language-navigation/index.js.map +1 -0
- package/dist/components/link/index.d.ts +1 -0
- package/dist/components/link/index.js +2 -0
- package/dist/components/link/index.js.map +1 -0
- package/dist/components/list/index.d.ts +1 -0
- package/dist/components/list/index.js +2 -0
- package/dist/components/list/index.js.map +1 -0
- package/dist/components/loading-box/index.d.ts +33 -0
- package/dist/components/loading-box/index.js +29 -0
- package/dist/components/loading-box/index.js.map +1 -0
- package/dist/components/main-wrapper/index.d.ts +1 -0
- package/dist/components/main-wrapper/index.js +2 -0
- package/dist/components/main-wrapper/index.js.map +1 -0
- package/dist/components/modal/index.d.ts +31 -0
- package/dist/components/modal/index.js +45 -0
- package/dist/components/modal/index.js.map +1 -0
- package/dist/components/notification-banner/index.d.ts +17 -0
- package/dist/components/notification-banner/index.js +44 -0
- package/dist/components/notification-banner/index.js.map +1 -0
- package/dist/{page.d.ts → components/page/index.d.ts} +2 -6
- package/dist/components/page/index.js +22 -0
- package/dist/components/page/index.js.map +1 -0
- package/dist/components/pagination/index.js +2 -0
- package/dist/components/pagination/index.js.map +1 -0
- package/dist/components/panel/index.js +2 -0
- package/dist/components/panel/index.js.map +1 -0
- package/dist/components/password-input/index.d.ts +26 -0
- package/dist/components/password-input/index.js +60 -0
- package/dist/components/password-input/index.js.map +1 -0
- package/dist/components/phase-banner/index.js +2 -0
- package/dist/components/phase-banner/index.js.map +1 -0
- package/dist/components/radios/index.d.ts +31 -0
- package/dist/components/radios/index.js +61 -0
- package/dist/components/radios/index.js.map +1 -0
- package/dist/components/related-items/index.d.ts +31 -0
- package/dist/components/related-items/index.js +41 -0
- package/dist/components/related-items/index.js.map +1 -0
- package/dist/components/search-box/index.d.ts +87 -0
- package/dist/components/search-box/index.js +96 -0
- package/dist/components/search-box/index.js.map +1 -0
- package/dist/components/section-break/index.d.ts +1 -0
- package/dist/components/section-break/index.js +2 -0
- package/dist/components/section-break/index.js.map +1 -0
- package/dist/components/select/index.js +2 -0
- package/dist/components/select/index.js.map +1 -0
- package/dist/components/service-navigation/index.d.ts +62 -0
- package/dist/components/service-navigation/index.js +122 -0
- package/dist/components/service-navigation/index.js.map +1 -0
- package/dist/{skip-link.d.ts → components/skip-link/index.d.ts} +2 -6
- package/dist/components/skip-link/index.js +16 -0
- package/dist/components/skip-link/index.js.map +1 -0
- package/dist/components/summary-list/index.js +2 -0
- package/dist/components/summary-list/index.js.map +1 -0
- package/dist/components/table/index.js +2 -0
- package/dist/components/table/index.js.map +1 -0
- package/dist/components/tabs/index.d.ts +94 -0
- package/dist/components/tabs/index.js +105 -0
- package/dist/components/tabs/index.js.map +1 -0
- package/dist/components/tag/index.d.ts +1 -0
- package/dist/components/tag/index.js +2 -0
- package/dist/components/tag/index.js.map +1 -0
- package/dist/components/task-list/index.js +2 -0
- package/dist/components/task-list/index.js.map +1 -0
- package/dist/components/textarea/index.js +2 -0
- package/dist/components/textarea/index.js.map +1 -0
- package/dist/components/visually-hidden/index.d.ts +1 -0
- package/dist/components/visually-hidden/index.js +2 -0
- package/dist/components/visually-hidden/index.js.map +1 -0
- package/dist/components/warning-text/index.js +2 -0
- package/dist/components/warning-text/index.js.map +1 -0
- package/dist/components/width-container/index.d.ts +1 -0
- package/dist/components/width-container/index.js +2 -0
- package/dist/components/width-container/index.js.map +1 -0
- package/dist/index.d.ts +58 -94
- package/dist/index.js +59 -59
- package/dist/index.js.map +1 -1
- package/dist/styles.css +350 -0
- package/dist/utils/join-ids.d.ts +2 -0
- package/dist/utils/join-ids.js +6 -0
- package/dist/utils/join-ids.js.map +1 -0
- package/package.json +10 -7
- package/dist/accordion.d.ts +0 -4
- package/dist/accordion.js +0 -4
- package/dist/accordion.js.map +0 -1
- package/dist/back-link.d.ts +0 -21
- package/dist/back-link.js +0 -4
- package/dist/back-link.js.map +0 -1
- package/dist/body.d.ts +0 -1
- package/dist/body.js +0 -4
- package/dist/body.js.map +0 -1
- package/dist/breadcrumbs.js +0 -3
- package/dist/breadcrumbs.js.map +0 -1
- package/dist/button.d.ts +0 -26
- package/dist/button.js +0 -4
- package/dist/button.js.map +0 -1
- package/dist/caption.d.ts +0 -1
- package/dist/caption.js +0 -4
- package/dist/caption.js.map +0 -1
- package/dist/character-count.d.ts +0 -4
- package/dist/character-count.js +0 -4
- package/dist/character-count.js.map +0 -1
- package/dist/checkboxes.d.ts +0 -3
- package/dist/checkboxes.js +0 -4
- package/dist/checkboxes.js.map +0 -1
- package/dist/chunk-2KPHO7N2.js +0 -3
- package/dist/chunk-2KPHO7N2.js.map +0 -1
- package/dist/chunk-2W35PR6E.js +0 -3
- package/dist/chunk-2W35PR6E.js.map +0 -1
- package/dist/chunk-57K6B6V2.js +0 -38
- package/dist/chunk-57K6B6V2.js.map +0 -1
- package/dist/chunk-5RYJUAI3.js +0 -3
- package/dist/chunk-5RYJUAI3.js.map +0 -1
- package/dist/chunk-5YT2PQAF.js +0 -3
- package/dist/chunk-5YT2PQAF.js.map +0 -1
- package/dist/chunk-B33BQUXM.js +0 -8
- package/dist/chunk-B33BQUXM.js.map +0 -1
- package/dist/chunk-BAXFWXMR.js +0 -41
- package/dist/chunk-BAXFWXMR.js.map +0 -1
- package/dist/chunk-BDIDAVNV.js +0 -22
- package/dist/chunk-BDIDAVNV.js.map +0 -1
- package/dist/chunk-D6TMELAY.js +0 -3
- package/dist/chunk-D6TMELAY.js.map +0 -1
- package/dist/chunk-DHTWPFZO.js +0 -8
- package/dist/chunk-DHTWPFZO.js.map +0 -1
- package/dist/chunk-DK2FZF7U.js +0 -3
- package/dist/chunk-DK2FZF7U.js.map +0 -1
- package/dist/chunk-EMM6RZT7.js +0 -3
- package/dist/chunk-EMM6RZT7.js.map +0 -1
- package/dist/chunk-EMNBPB3L.js +0 -8
- package/dist/chunk-EMNBPB3L.js.map +0 -1
- package/dist/chunk-FE2OFAA5.js +0 -8
- package/dist/chunk-FE2OFAA5.js.map +0 -1
- package/dist/chunk-FNDQEOKW.js +0 -20
- package/dist/chunk-FNDQEOKW.js.map +0 -1
- package/dist/chunk-HHH5BEO6.js +0 -3
- package/dist/chunk-HHH5BEO6.js.map +0 -1
- package/dist/chunk-HRURRTAU.js +0 -83
- package/dist/chunk-HRURRTAU.js.map +0 -1
- package/dist/chunk-IFETUZ4S.js +0 -3
- package/dist/chunk-IFETUZ4S.js.map +0 -1
- package/dist/chunk-JLNRFYFI.js +0 -3
- package/dist/chunk-JLNRFYFI.js.map +0 -1
- package/dist/chunk-K7VSNNQD.js +0 -8
- package/dist/chunk-K7VSNNQD.js.map +0 -1
- package/dist/chunk-KFWTQTVJ.js +0 -3
- package/dist/chunk-KFWTQTVJ.js.map +0 -1
- package/dist/chunk-L4GCVMBX.js +0 -3
- package/dist/chunk-L4GCVMBX.js.map +0 -1
- package/dist/chunk-L4O7OXGY.js +0 -151
- package/dist/chunk-L4O7OXGY.js.map +0 -1
- package/dist/chunk-LG7D7X4T.js +0 -8
- package/dist/chunk-LG7D7X4T.js.map +0 -1
- package/dist/chunk-M5BQAPSC.js +0 -8
- package/dist/chunk-M5BQAPSC.js.map +0 -1
- package/dist/chunk-NN44HUS7.js +0 -64
- package/dist/chunk-NN44HUS7.js.map +0 -1
- package/dist/chunk-NV2BSK6G.js +0 -3
- package/dist/chunk-NV2BSK6G.js.map +0 -1
- package/dist/chunk-OCGJIH5X.js +0 -159
- package/dist/chunk-OCGJIH5X.js.map +0 -1
- package/dist/chunk-OQVOKH2T.js +0 -8
- package/dist/chunk-OQVOKH2T.js.map +0 -1
- package/dist/chunk-OWBD4KZC.js +0 -115
- package/dist/chunk-OWBD4KZC.js.map +0 -1
- package/dist/chunk-PM2AAFY4.js +0 -35
- package/dist/chunk-PM2AAFY4.js.map +0 -1
- package/dist/chunk-PNMADTQQ.js +0 -3
- package/dist/chunk-PNMADTQQ.js.map +0 -1
- package/dist/chunk-PZ5AY32C.js +0 -9
- package/dist/chunk-PZ5AY32C.js.map +0 -1
- package/dist/chunk-QOWZLJK4.js +0 -3
- package/dist/chunk-QOWZLJK4.js.map +0 -1
- package/dist/chunk-QV7AS734.js +0 -98
- package/dist/chunk-QV7AS734.js.map +0 -1
- package/dist/chunk-RC24GP47.js +0 -8
- package/dist/chunk-RC24GP47.js.map +0 -1
- package/dist/chunk-RIB3ADHK.js +0 -8
- package/dist/chunk-RIB3ADHK.js.map +0 -1
- package/dist/chunk-RODK5NYM.js +0 -3
- package/dist/chunk-RODK5NYM.js.map +0 -1
- package/dist/chunk-SKQVJZMM.js +0 -79
- package/dist/chunk-SKQVJZMM.js.map +0 -1
- package/dist/chunk-SMUQZFJ7.js +0 -179
- package/dist/chunk-SMUQZFJ7.js.map +0 -1
- package/dist/chunk-SVIOO5V5.js +0 -109
- package/dist/chunk-SVIOO5V5.js.map +0 -1
- package/dist/chunk-SYW45KJ5.js +0 -3
- package/dist/chunk-SYW45KJ5.js.map +0 -1
- package/dist/chunk-T56AQZA4.js +0 -3
- package/dist/chunk-T56AQZA4.js.map +0 -1
- package/dist/chunk-TK6FAARU.js +0 -12
- package/dist/chunk-TK6FAARU.js.map +0 -1
- package/dist/chunk-TQOVKJLU.js +0 -78
- package/dist/chunk-TQOVKJLU.js.map +0 -1
- package/dist/chunk-U2FEV65D.js +0 -8
- package/dist/chunk-U2FEV65D.js.map +0 -1
- package/dist/chunk-UHX5TMH6.js +0 -49
- package/dist/chunk-UHX5TMH6.js.map +0 -1
- package/dist/chunk-VB3GA2KO.js +0 -3
- package/dist/chunk-VB3GA2KO.js.map +0 -1
- package/dist/chunk-VGZUAGCQ.js +0 -8
- package/dist/chunk-VGZUAGCQ.js.map +0 -1
- package/dist/chunk-VKUBJY23.js +0 -8
- package/dist/chunk-VKUBJY23.js.map +0 -1
- package/dist/chunk-VQ4FRNV3.js +0 -8
- package/dist/chunk-VQ4FRNV3.js.map +0 -1
- package/dist/chunk-W7RN6ITL.js +0 -8
- package/dist/chunk-W7RN6ITL.js.map +0 -1
- package/dist/chunk-WFHQPUFE.js +0 -3
- package/dist/chunk-WFHQPUFE.js.map +0 -1
- package/dist/chunk-XO7OW5TM.js +0 -3
- package/dist/chunk-XO7OW5TM.js.map +0 -1
- package/dist/chunk-YOBXV2EG.js +0 -101
- package/dist/chunk-YOBXV2EG.js.map +0 -1
- package/dist/chunk-YYDYVLVS.js +0 -47
- package/dist/chunk-YYDYVLVS.js.map +0 -1
- package/dist/chunk-Z4J4DQCF.js +0 -8
- package/dist/chunk-Z4J4DQCF.js.map +0 -1
- package/dist/chunk-ZHHORZMC.js +0 -3
- package/dist/chunk-ZHHORZMC.js.map +0 -1
- package/dist/cookie-banner.js +0 -3
- package/dist/cookie-banner.js.map +0 -1
- package/dist/date-input.js +0 -3
- package/dist/date-input.js.map +0 -1
- package/dist/details.js +0 -3
- package/dist/details.js.map +0 -1
- package/dist/document-footer-metadata.d.ts +0 -2
- package/dist/document-footer-metadata.js +0 -4
- package/dist/document-footer-metadata.js.map +0 -1
- package/dist/error-message.d.ts +0 -1
- package/dist/error-message.js +0 -4
- package/dist/error-message.js.map +0 -1
- package/dist/error-summary.d.ts +0 -3
- package/dist/error-summary.js +0 -4
- package/dist/error-summary.js.map +0 -1
- package/dist/exit-this-page.d.ts +0 -4
- package/dist/exit-this-page.js +0 -4
- package/dist/exit-this-page.js.map +0 -1
- package/dist/feedback.js +0 -3
- package/dist/feedback.js.map +0 -1
- package/dist/fieldset.js +0 -3
- package/dist/fieldset.js.map +0 -1
- package/dist/file-upload.d.ts +0 -90
- package/dist/file-upload.js +0 -4
- package/dist/file-upload.js.map +0 -1
- package/dist/footer.js +0 -3
- package/dist/footer.js.map +0 -1
- package/dist/form-group.d.ts +0 -1
- package/dist/form-group.js +0 -4
- package/dist/form-group.js.map +0 -1
- package/dist/generic-header.js +0 -3
- package/dist/generic-header.js.map +0 -1
- package/dist/grid-column.d.ts +0 -1
- package/dist/grid-column.js +0 -4
- package/dist/grid-column.js.map +0 -1
- package/dist/grid-row.d.ts +0 -1
- package/dist/grid-row.js +0 -4
- package/dist/grid-row.js.map +0 -1
- package/dist/header.js +0 -3
- package/dist/header.js.map +0 -1
- package/dist/heading.d.ts +0 -1
- package/dist/heading.js +0 -4
- package/dist/heading.js.map +0 -1
- package/dist/hint.d.ts +0 -1
- package/dist/hint.js +0 -4
- package/dist/hint.js.map +0 -1
- package/dist/index-7cuUiEo3.d.ts +0 -98
- package/dist/index-B8fw-F9t.d.ts +0 -22
- package/dist/index-BBckYYWt.d.ts +0 -131
- package/dist/index-BOPiKua4.d.ts +0 -61
- package/dist/index-BOfUYry5.d.ts +0 -22
- package/dist/index-BP18qbj1.d.ts +0 -22
- package/dist/index-BQaNJq4d.d.ts +0 -22
- package/dist/index-BnYaP7AC.d.ts +0 -57
- package/dist/index-C-c5LroN.d.ts +0 -22
- package/dist/index-CAxOsfPr.d.ts +0 -22
- package/dist/index-CHKQTetM.d.ts +0 -52
- package/dist/index-CWRQhs3p.d.ts +0 -55
- package/dist/index-CidkuScr.d.ts +0 -22
- package/dist/index-D-5h70y_.d.ts +0 -22
- package/dist/index-DDvVZ8mX.d.ts +0 -22
- package/dist/index-DQaFKwpy.d.ts +0 -106
- package/dist/index-DWibEGiF.d.ts +0 -22
- package/dist/index-D_wOwhn9.d.ts +0 -127
- package/dist/index-DhPVSZNZ.d.ts +0 -40
- package/dist/index-DhjWVeDK.d.ts +0 -22
- package/dist/index-DnvlWvry.d.ts +0 -54
- package/dist/index-Dr0S9iUZ.d.ts +0 -22
- package/dist/index-Dw9RbQVO.d.ts +0 -22
- package/dist/index-MxQB65RM.d.ts +0 -48
- package/dist/index-RZtIJBvk.d.ts +0 -22
- package/dist/index-TgEbRgDh.d.ts +0 -22
- package/dist/index-a8sYZpTj.d.ts +0 -77
- package/dist/index-rQaOtoWF.d.ts +0 -59
- package/dist/index-trAlT6HP.d.ts +0 -22
- package/dist/index-vBukON0x.d.ts +0 -50
- package/dist/input.js +0 -3
- package/dist/input.js.map +0 -1
- package/dist/inset-text.d.ts +0 -1
- package/dist/inset-text.js +0 -4
- package/dist/inset-text.js.map +0 -1
- package/dist/label.d.ts +0 -1
- package/dist/label.js +0 -4
- package/dist/label.js.map +0 -1
- package/dist/language-navigation.js +0 -3
- package/dist/language-navigation.js.map +0 -1
- package/dist/link.d.ts +0 -1
- package/dist/link.js +0 -4
- package/dist/link.js.map +0 -1
- package/dist/list.d.ts +0 -1
- package/dist/list.js +0 -4
- package/dist/list.js.map +0 -1
- package/dist/loading-box.d.ts +0 -39
- package/dist/loading-box.js +0 -4
- package/dist/loading-box.js.map +0 -1
- package/dist/main-wrapper.d.ts +0 -1
- package/dist/main-wrapper.js +0 -4
- package/dist/main-wrapper.js.map +0 -1
- package/dist/modal.d.ts +0 -4
- package/dist/modal.js +0 -4
- package/dist/modal.js.map +0 -1
- package/dist/notification-banner.d.ts +0 -3
- package/dist/notification-banner.js +0 -4
- package/dist/notification-banner.js.map +0 -1
- package/dist/page.js +0 -7
- package/dist/page.js.map +0 -1
- package/dist/pagination.js +0 -3
- package/dist/pagination.js.map +0 -1
- package/dist/panel.js +0 -3
- package/dist/panel.js.map +0 -1
- package/dist/password-input.d.ts +0 -4
- package/dist/password-input.js +0 -4
- package/dist/password-input.js.map +0 -1
- package/dist/phase-banner.js +0 -3
- package/dist/phase-banner.js.map +0 -1
- package/dist/radios.d.ts +0 -3
- package/dist/radios.js +0 -4
- package/dist/radios.js.map +0 -1
- package/dist/related-items.d.ts +0 -2
- package/dist/related-items.js +0 -4
- package/dist/related-items.js.map +0 -1
- package/dist/search-box.d.ts +0 -3
- package/dist/search-box.js +0 -4
- package/dist/search-box.js.map +0 -1
- package/dist/section-break.d.ts +0 -1
- package/dist/section-break.js +0 -4
- package/dist/section-break.js.map +0 -1
- package/dist/select.js +0 -3
- package/dist/select.js.map +0 -1
- package/dist/service-navigation.d.ts +0 -4
- package/dist/service-navigation.js +0 -4
- package/dist/service-navigation.js.map +0 -1
- package/dist/skip-link.js +0 -4
- package/dist/skip-link.js.map +0 -1
- package/dist/summary-list.js +0 -3
- package/dist/summary-list.js.map +0 -1
- package/dist/table.js +0 -3
- package/dist/table.js.map +0 -1
- package/dist/tabs.d.ts +0 -3
- package/dist/tabs.js +0 -4
- package/dist/tabs.js.map +0 -1
- package/dist/tag.d.ts +0 -1
- package/dist/tag.js +0 -4
- package/dist/tag.js.map +0 -1
- package/dist/task-list.js +0 -3
- package/dist/task-list.js.map +0 -1
- package/dist/textarea.js +0 -3
- package/dist/textarea.js.map +0 -1
- package/dist/visually-hidden.d.ts +0 -1
- package/dist/visually-hidden.js +0 -4
- package/dist/visually-hidden.js.map +0 -1
- package/dist/warning-text.js +0 -3
- package/dist/warning-text.js.map +0 -1
- package/dist/width-container.d.ts +0 -1
- package/dist/width-container.js +0 -4
- package/dist/width-container.js.map +0 -1
- /package/dist/{breadcrumbs.d.ts → components/breadcrumbs/index.d.ts} +0 -0
- /package/dist/{cookie-banner.d.ts → components/cookie-banner/index.d.ts} +0 -0
- /package/dist/{date-input.d.ts → components/date-input/index.d.ts} +0 -0
- /package/dist/{details.d.ts → components/details/index.d.ts} +0 -0
- /package/dist/{feedback.d.ts → components/feedback/index.d.ts} +0 -0
- /package/dist/{fieldset.d.ts → components/fieldset/index.d.ts} +0 -0
- /package/dist/{footer.d.ts → components/footer/index.d.ts} +0 -0
- /package/dist/{generic-header.d.ts → components/generic-header/index.d.ts} +0 -0
- /package/dist/{header.d.ts → components/header/index.d.ts} +0 -0
- /package/dist/{input.d.ts → components/input/index.d.ts} +0 -0
- /package/dist/{language-navigation.d.ts → components/language-navigation/index.d.ts} +0 -0
- /package/dist/{pagination.d.ts → components/pagination/index.d.ts} +0 -0
- /package/dist/{panel.d.ts → components/panel/index.d.ts} +0 -0
- /package/dist/{phase-banner.d.ts → components/phase-banner/index.d.ts} +0 -0
- /package/dist/{select.d.ts → components/select/index.d.ts} +0 -0
- /package/dist/{summary-list.d.ts → components/summary-list/index.d.ts} +0 -0
- /package/dist/{table.d.ts → components/table/index.d.ts} +0 -0
- /package/dist/{task-list.d.ts → components/task-list/index.d.ts} +0 -0
- /package/dist/{textarea.d.ts → components/textarea/index.d.ts} +0 -0
- /package/dist/{warning-text.d.ts → components/warning-text/index.d.ts} +0 -0
package/dist/index-D_wOwhn9.d.ts
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ComponentProps, ReactNode } from 'react';
|
|
3
|
-
import * as Primitives from '@govuk-react/primitives/autocomplete';
|
|
4
|
-
|
|
5
|
-
/** Styles govuk-frontend has no class for, hoisted and deduplicated by React. Based on GOV.UK’s search component. */
|
|
6
|
-
declare const searchBoxCss = "\n.govuk-react-search-box__wrapper{display:flex;background-color:#fff}\n.govuk-react-search-box__input{margin:0;-webkit-appearance:none;appearance:none}\n.govuk-react-search-box__input:focus{z-index:1}\n.govuk-react-search-box__button{position:relative;flex:0 0 auto;width:2.5rem;height:2.5rem;margin:0;padding:0;border:0;border-radius:0;outline:2px solid transparent;outline-offset:0;cursor:pointer;background-color:var(--govuk-brand-colour,#1d70b8);color:#fff}\n.govuk-react-search-box__button:hover{background-color:color-mix(in srgb,var(--govuk-brand-colour,#1d70b8) 75%,#000)}\n.govuk-react-search-box__button:focus{z-index:1;outline:3px solid var(--govuk-focus-colour,#fd0);box-shadow:inset 0 0 0 4px #0b0c0c}\n.govuk-react-search-box__icon{position:absolute;inset:0;width:100%;height:100%;transform:scale(.5);pointer-events:none}\n.govuk-react-search-box:not(.govuk-react-search-box--inverse) .govuk-react-search-box__input{border-right-width:0}\n.govuk-react-search-box:not(.govuk-react-search-box--inverse) .govuk-react-search-box__input:focus{border-right-width:2px}\n.govuk-react-search-box--inverse .govuk-react-search-box__label{color:#fff}\n.govuk-react-search-box--inverse .govuk-react-search-box__input{border-width:0}\n.govuk-react-search-box--inverse .govuk-react-search-box__button{background-color:color-mix(in srgb,var(--govuk-brand-colour,#1d70b8) 20%,#fff);color:var(--govuk-brand-colour,#1d70b8)}\n.govuk-react-search-box--inverse .govuk-react-search-box__button:hover{background-color:color-mix(in srgb,var(--govuk-brand-colour,#1d70b8) 5%,#fff)}\n.govuk-react-search-box--large .govuk-react-search-box__input{height:3.125rem}\n.govuk-react-search-box--large .govuk-react-search-box__button{width:3.125rem;height:3.125rem}\n.govuk-react-search-box--large .govuk-react-search-box__icon{transform:scale(.4)}\n.govuk-react-search-box__autocomplete{display:block;position:relative}\n.govuk-react-search-box__menu{position:absolute;z-index:100;top:100%;left:0;right:0;margin:0;padding:0;list-style:none;overflow-x:hidden;background-color:#fff;border:1px solid #b1b4b6;border-top:0}\n.govuk-react-search-box--inverse .govuk-react-search-box__menu{border-top:1px solid #b1b4b6}\n.govuk-react-search-box__option{cursor:pointer;font-family:\"GDS Transport\",arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:1rem;line-height:1.25;color:#0b0c0c}\n@media (min-width:40.0625em){.govuk-react-search-box__option{font-size:1.1875rem;line-height:1.3157894737}}\n.govuk-react-search-box__option>*{pointer-events:none}\n.govuk-react-search-box__option[data-focused],.govuk-react-search-box__option:hover,.govuk-react-search-box__option:focus-visible{background-color:#f3f3f3;outline:none;text-decoration:underline;text-decoration-thickness:max(3px,.1875rem,.12em);text-underline-offset:.1578em}\n.govuk-react-search-box__option:focus-visible .govuk-react-search-box__suggestion-text{background-color:var(--govuk-focus-colour,#fd0)}\n.govuk-react-search-box__option[hidden]{display:none}\n.govuk-react-search-box__option-wrapper{display:flex;align-items:center;margin:0 15px;padding:5px 0}\n.govuk-react-search-box__option:not([hidden])~.govuk-react-search-box__option:not([hidden]) .govuk-react-search-box__option-wrapper{border-top:1px solid #b1b4b6}\n.govuk-react-search-box__suggestion-icon{flex:none;width:20px;height:2.5rem;margin-right:10px;background-color:#505a5f;-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 27'%3E%3Ccircle cx='12' cy='11' r='8.5' fill='none' stroke='%23000' stroke-width='3'/%3E%3Cpath d='m17.9 17.4 8.5 8.5' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E\") center/contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 27'%3E%3Ccircle cx='12' cy='11' r='8.5' fill='none' stroke='%23000' stroke-width='3'/%3E%3Cpath d='m17.9 17.4 8.5 8.5' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E\") center/contain no-repeat}\n.govuk-react-search-box__option[data-focused] .govuk-react-search-box__suggestion-icon,.govuk-react-search-box__option:hover .govuk-react-search-box__suggestion-icon,.govuk-react-search-box__option:focus-visible .govuk-react-search-box__suggestion-icon{background-color:#0b0c0c}\n.govuk-react-search-box__suggestion-text{font-weight:700}\n.govuk-react-search-box__suggestion-highlight{font-weight:400;background:none;color:inherit}\n.govuk-react-search-box--large .govuk-react-search-box__option{min-height:3.125rem}\n@media (forced-colors:active){.govuk-react-search-box__menu{border-color:FieldText}.govuk-react-search-box__option[data-focused],.govuk-react-search-box__option:hover{forced-color-adjust:none;background-color:Highlight;color:HighlightText}.govuk-react-search-box__suggestion-icon{background-color:currentcolor}}\n";
|
|
7
|
-
type RootProps = ComponentProps<'div'> & {
|
|
8
|
-
/** For use on dark backgrounds, such as a GOV.UK blue homepage banner. */
|
|
9
|
-
inverse?: boolean;
|
|
10
|
-
/** A larger input and button. */
|
|
11
|
-
large?: boolean;
|
|
12
|
-
};
|
|
13
|
-
/** Wraps the search label, input and submit button. */
|
|
14
|
-
declare function Root({ inverse, large, className, children, ...props }: RootProps): React.JSX.Element;
|
|
15
|
-
type LabelProps = ComponentProps<'label'> & {
|
|
16
|
-
/** The label size, from govuk-frontend’s label sizes. */
|
|
17
|
-
size?: 's' | 'm' | 'l' | 'xl';
|
|
18
|
-
/** Hide the label visually. It’s still read by screen readers. */
|
|
19
|
-
visuallyHidden?: boolean;
|
|
20
|
-
};
|
|
21
|
-
declare function Label({ size, visuallyHidden, className, children, ...props }: LabelProps): React.JSX.Element;
|
|
22
|
-
type WrapperProps = ComponentProps<'div'>;
|
|
23
|
-
/** Lays out the input and submit button side by side. */
|
|
24
|
-
declare function Wrapper({ className, ...props }: WrapperProps): React.JSX.Element;
|
|
25
|
-
type InputProps = ComponentProps<'input'>;
|
|
26
|
-
declare function Input({ className, type, ...props }: InputProps): React.JSX.Element;
|
|
27
|
-
type ButtonProps = ComponentProps<'button'>;
|
|
28
|
-
/** The submit button, with a search icon. Children are its accessible name, “Search” by default. */
|
|
29
|
-
declare function Button({ className, children, ...props }: ButtonProps): React.JSX.Element;
|
|
30
|
-
type CompositeProps = Omit<InputProps, 'id'> & Pick<RootProps, 'inverse' | 'large'> & {
|
|
31
|
-
/** The input’s id, which the label points to. */
|
|
32
|
-
id: string;
|
|
33
|
-
/** The label text. */
|
|
34
|
-
label?: ReactNode;
|
|
35
|
-
/** The label size, from govuk-frontend’s label sizes. */
|
|
36
|
-
labelSize?: LabelProps['size'];
|
|
37
|
-
/** Hide the label visually. It’s still read by screen readers. */
|
|
38
|
-
labelVisuallyHidden?: boolean;
|
|
39
|
-
/** The submit button’s visually hidden text. */
|
|
40
|
-
buttonText?: ReactNode;
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* A search input with a label and an attached submit button, based on GOV.UK’s search component. Put it in your own `form`. Other props go on the input.
|
|
44
|
-
*
|
|
45
|
-
* @see https://components.publishing.service.gov.uk/component-guide/search
|
|
46
|
-
*/
|
|
47
|
-
declare function Composite({ id, label, labelSize, labelVisuallyHidden, buttonText, inverse, large, ...props }: CompositeProps): React.JSX.Element;
|
|
48
|
-
type AutocompleteProps = Primitives.RootProps;
|
|
49
|
-
/**
|
|
50
|
-
* Suggests searches as the user types, around `Wrapper`, `Listbox`, `Status` and `AssistiveHint`.
|
|
51
|
-
* Without JavaScript the search box works as usual. Based on GOV.UK’s search with autocomplete,
|
|
52
|
-
* with behaviour from accessible-autocomplete.
|
|
53
|
-
*/
|
|
54
|
-
declare function Autocomplete({ className, ...props }: AutocompleteProps): React.JSX.Element;
|
|
55
|
-
type AutocompleteInputProps = InputProps;
|
|
56
|
-
/** `Input`, as the autocomplete’s combobox. */
|
|
57
|
-
declare function AutocompleteInput(props: AutocompleteInputProps): React.JSX.Element;
|
|
58
|
-
type ListboxProps = Primitives.ListboxProps;
|
|
59
|
-
/** The menu of suggestions, under the search box. Hidden until there are suggestions to show. */
|
|
60
|
-
declare function Listbox({ className, ...props }: ListboxProps): React.JSX.Element;
|
|
61
|
-
type OptionProps = Primitives.OptionProps;
|
|
62
|
-
/** A suggestion, in `Listbox`. Children are its text, which can hold `Match`. */
|
|
63
|
-
declare function Option({ className, children, ...props }: OptionProps): React.JSX.Element;
|
|
64
|
-
type MatchProps = ComponentProps<'mark'>;
|
|
65
|
-
/** The part of a suggestion that matches the query, in `Option`. */
|
|
66
|
-
declare function Match({ className, ...props }: MatchProps): React.JSX.Element;
|
|
67
|
-
type StatusProps = Primitives.StatusProps;
|
|
68
|
-
/** What screen readers hear about the suggestions. Visually hidden. */
|
|
69
|
-
declare function Status(props: StatusProps): React.JSX.Element;
|
|
70
|
-
type AssistiveHintProps = Primitives.AssistiveHintProps;
|
|
71
|
-
/** How to use the suggestions, for screen readers. Never shown. */
|
|
72
|
-
declare function AssistiveHint({ children, ...props }: AssistiveHintProps): React.JSX.Element;
|
|
73
|
-
type AutocompleteCompositeProps = CompositeProps & Pick<AutocompleteProps, 'minLength' | 'filter' | 'onQueryChange' | 'onConfirm'> & {
|
|
74
|
-
/**
|
|
75
|
-
* The suggestions for the query, such as from `onQueryChange`. Only those containing the query
|
|
76
|
-
* show, unless `filter` is "none", such as for suggestions a server has already matched.
|
|
77
|
-
* Children are an alternative.
|
|
78
|
-
*/
|
|
79
|
-
suggestions?: string[];
|
|
80
|
-
/** `Option`s, rather than `suggestions`, such as to highlight the query with `Match`. */
|
|
81
|
-
children?: ReactNode;
|
|
82
|
-
};
|
|
83
|
-
/**
|
|
84
|
-
* A search box that suggests searches as the user types, based on GOV.UK’s search with
|
|
85
|
-
* autocomplete. Choosing a suggestion submits the form. Put it in your own `form`. Other props go
|
|
86
|
-
* on the input. Without JavaScript it’s `Composite`.
|
|
87
|
-
*
|
|
88
|
-
* @see https://components.publishing.service.gov.uk/component-guide/search_with_autocomplete
|
|
89
|
-
*/
|
|
90
|
-
declare function AutocompleteComposite({ id, label, labelSize, labelVisuallyHidden, buttonText, inverse, large, minLength, filter, onQueryChange, onConfirm, suggestions, children, ...props }: AutocompleteCompositeProps): React.JSX.Element;
|
|
91
|
-
|
|
92
|
-
declare const index_AssistiveHint: typeof AssistiveHint;
|
|
93
|
-
type index_AssistiveHintProps = AssistiveHintProps;
|
|
94
|
-
declare const index_Autocomplete: typeof Autocomplete;
|
|
95
|
-
declare const index_AutocompleteComposite: typeof AutocompleteComposite;
|
|
96
|
-
type index_AutocompleteCompositeProps = AutocompleteCompositeProps;
|
|
97
|
-
declare const index_AutocompleteInput: typeof AutocompleteInput;
|
|
98
|
-
type index_AutocompleteInputProps = AutocompleteInputProps;
|
|
99
|
-
type index_AutocompleteProps = AutocompleteProps;
|
|
100
|
-
declare const index_Button: typeof Button;
|
|
101
|
-
type index_ButtonProps = ButtonProps;
|
|
102
|
-
declare const index_Composite: typeof Composite;
|
|
103
|
-
type index_CompositeProps = CompositeProps;
|
|
104
|
-
declare const index_Input: typeof Input;
|
|
105
|
-
type index_InputProps = InputProps;
|
|
106
|
-
declare const index_Label: typeof Label;
|
|
107
|
-
type index_LabelProps = LabelProps;
|
|
108
|
-
declare const index_Listbox: typeof Listbox;
|
|
109
|
-
type index_ListboxProps = ListboxProps;
|
|
110
|
-
declare const index_Match: typeof Match;
|
|
111
|
-
type index_MatchProps = MatchProps;
|
|
112
|
-
declare const index_Option: typeof Option;
|
|
113
|
-
type index_OptionProps = OptionProps;
|
|
114
|
-
declare const index_Root: typeof Root;
|
|
115
|
-
type index_RootProps = RootProps;
|
|
116
|
-
declare const index_Status: typeof Status;
|
|
117
|
-
type index_StatusProps = StatusProps;
|
|
118
|
-
declare const index_Wrapper: typeof Wrapper;
|
|
119
|
-
type index_WrapperProps = WrapperProps;
|
|
120
|
-
declare const index_searchBoxCss: typeof searchBoxCss;
|
|
121
|
-
declare namespace index {
|
|
122
|
-
export { index_AssistiveHint as AssistiveHint, index_Autocomplete as Autocomplete, index_AutocompleteComposite as AutocompleteComposite, index_AutocompleteInput as AutocompleteInput, index_Button as Button, index_Composite as Composite, index_Input as Input, index_Label as Label, index_Listbox as Listbox, index_Match as Match, index_Option as Option, index_Root as Root, index_Status as Status, index_Wrapper as Wrapper, index_searchBoxCss as searchBoxCss };
|
|
123
|
-
export type { index_AssistiveHintProps as AssistiveHintProps, index_AutocompleteCompositeProps as AutocompleteCompositeProps, index_AutocompleteInputProps as AutocompleteInputProps, index_AutocompleteProps as AutocompleteProps, index_ButtonProps as ButtonProps, index_CompositeProps as CompositeProps, index_InputProps as InputProps, index_LabelProps as LabelProps, index_ListboxProps as ListboxProps, index_MatchProps as MatchProps, index_OptionProps as OptionProps, index_RootProps as RootProps, index_StatusProps as StatusProps, index_WrapperProps as WrapperProps };
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
export { AssistiveHint as A, Button as B, Composite as C, Input as I, Label as L, Match as M, Option as O, Root as R, Status as S, Wrapper as W, Autocomplete as b, AutocompleteComposite as c, AutocompleteInput as e, index as i, Listbox as m, searchBoxCss as t };
|
|
127
|
-
export type { AssistiveHintProps as a, AutocompleteCompositeProps as d, AutocompleteInputProps as f, AutocompleteProps as g, ButtonProps as h, CompositeProps as j, InputProps as k, LabelProps as l, ListboxProps as n, MatchProps as o, OptionProps as p, RootProps as q, StatusProps as r, WrapperProps as s };
|
package/dist/index-DhPVSZNZ.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as Markup from 'govuk-frontend-react/notification-banner';
|
|
3
|
-
import { Content, ContentProps, Header, HeaderProps, Heading, HeadingProps, Link, LinkProps, Title, TitleProps } from 'govuk-frontend-react/notification-banner';
|
|
4
|
-
|
|
5
|
-
type RootProps = Markup.RootProps;
|
|
6
|
-
/**
|
|
7
|
-
* Use a notification banner to tell the user about something they need to know about, but that’s not directly related to the page content.
|
|
8
|
-
*
|
|
9
|
-
* @see https://design-system.service.gov.uk/components/notification-banner/
|
|
10
|
-
*/
|
|
11
|
-
declare function Root({ disableAutoFocus, ...props }: RootProps): React.JSX.Element;
|
|
12
|
-
type CompositeProps = Markup.CompositeProps;
|
|
13
|
-
/**
|
|
14
|
-
* Use a notification banner to tell the user about something they need to know about, but that’s not directly related to the page content.
|
|
15
|
-
*
|
|
16
|
-
* @see https://design-system.service.gov.uk/components/notification-banner/
|
|
17
|
-
*/
|
|
18
|
-
declare function Composite({ title, titleId, titleHeadingLevel, heading, success, children, ...props }: CompositeProps): React.JSX.Element;
|
|
19
|
-
|
|
20
|
-
declare const index_Composite: typeof Composite;
|
|
21
|
-
type index_CompositeProps = CompositeProps;
|
|
22
|
-
declare const index_Content: typeof Content;
|
|
23
|
-
declare const index_ContentProps: typeof ContentProps;
|
|
24
|
-
declare const index_Header: typeof Header;
|
|
25
|
-
declare const index_HeaderProps: typeof HeaderProps;
|
|
26
|
-
declare const index_Heading: typeof Heading;
|
|
27
|
-
declare const index_HeadingProps: typeof HeadingProps;
|
|
28
|
-
declare const index_Link: typeof Link;
|
|
29
|
-
declare const index_LinkProps: typeof LinkProps;
|
|
30
|
-
declare const index_Root: typeof Root;
|
|
31
|
-
type index_RootProps = RootProps;
|
|
32
|
-
declare const index_Title: typeof Title;
|
|
33
|
-
declare const index_TitleProps: typeof TitleProps;
|
|
34
|
-
declare namespace index {
|
|
35
|
-
export { index_Composite as Composite, index_Content as Content, index_ContentProps as ContentProps, index_Header as Header, index_HeaderProps as HeaderProps, index_Heading as Heading, index_HeadingProps as HeadingProps, index_Link as Link, index_LinkProps as LinkProps, index_Root as Root, index_Title as Title, index_TitleProps as TitleProps };
|
|
36
|
-
export type { index_CompositeProps as CompositeProps, index_RootProps as RootProps };
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export { Composite as C, Root as R, index as i };
|
|
40
|
-
export type { CompositeProps as a, RootProps as b };
|
package/dist/index-DhjWVeDK.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as header from 'govuk-frontend-react/header';
|
|
2
|
-
|
|
3
|
-
function _mergeNamespaces(n, m) {
|
|
4
|
-
m.forEach(function (e) {
|
|
5
|
-
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
6
|
-
if (k !== 'default' && !(k in n)) {
|
|
7
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
8
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return e[k]; }
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
});
|
|
15
|
-
return Object.freeze(n);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
var index = /*#__PURE__*/_mergeNamespaces({
|
|
19
|
-
__proto__: null
|
|
20
|
-
}, [header]);
|
|
21
|
-
|
|
22
|
-
export { index as i };
|
package/dist/index-DnvlWvry.d.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ComponentProps, ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
type RootProps = ComponentProps<'dl'>;
|
|
5
|
-
/** A list of metadata about a document, such as who it’s from and what it’s part of. */
|
|
6
|
-
declare function Root({ className, ...props }: RootProps): React.JSX.Element;
|
|
7
|
-
type TermProps = ComponentProps<'dt'>;
|
|
8
|
-
declare function Term({ className, ...props }: TermProps): React.JSX.Element;
|
|
9
|
-
type DefinitionProps = ComponentProps<'dd'>;
|
|
10
|
-
declare function Definition({ className, ...props }: DefinitionProps): React.JSX.Element;
|
|
11
|
-
type ItemCompositeProps = {
|
|
12
|
-
/** The label, such as “From”. A colon is added after it. */
|
|
13
|
-
term: ReactNode;
|
|
14
|
-
/** The values. Each renders as its own definition. */
|
|
15
|
-
definitions: ReactNode[];
|
|
16
|
-
};
|
|
17
|
-
/** A term and its values. */
|
|
18
|
-
declare function ItemComposite({ term, definitions }: ItemCompositeProps): React.JSX.Element;
|
|
19
|
-
type CompositeProps = RootProps & {
|
|
20
|
-
/** Values for “From”, such as organisation links. */
|
|
21
|
-
from?: ReactNode[];
|
|
22
|
-
/** Values for “Part of”, such as topic links. */
|
|
23
|
-
partOf?: ReactNode[];
|
|
24
|
-
/** Other items. Prefer `ItemComposite` children. */
|
|
25
|
-
other?: {
|
|
26
|
-
id?: string | number;
|
|
27
|
-
title: ReactNode;
|
|
28
|
-
content: ReactNode;
|
|
29
|
-
}[];
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* Metadata about a document. Children are `ItemComposite`s, rendered after `from`, `partOf` and `other`.
|
|
33
|
-
*
|
|
34
|
-
* @see https://components.publishing.service.gov.uk/component-guide/metadata
|
|
35
|
-
*/
|
|
36
|
-
declare function Composite({ from, partOf, other, children, ...props }: CompositeProps): React.JSX.Element;
|
|
37
|
-
|
|
38
|
-
declare const index_Composite: typeof Composite;
|
|
39
|
-
type index_CompositeProps = CompositeProps;
|
|
40
|
-
declare const index_Definition: typeof Definition;
|
|
41
|
-
type index_DefinitionProps = DefinitionProps;
|
|
42
|
-
declare const index_ItemComposite: typeof ItemComposite;
|
|
43
|
-
type index_ItemCompositeProps = ItemCompositeProps;
|
|
44
|
-
declare const index_Root: typeof Root;
|
|
45
|
-
type index_RootProps = RootProps;
|
|
46
|
-
declare const index_Term: typeof Term;
|
|
47
|
-
type index_TermProps = TermProps;
|
|
48
|
-
declare namespace index {
|
|
49
|
-
export { index_Composite as Composite, index_Definition as Definition, index_ItemComposite as ItemComposite, index_Root as Root, index_Term as Term };
|
|
50
|
-
export type { index_CompositeProps as CompositeProps, index_DefinitionProps as DefinitionProps, index_ItemCompositeProps as ItemCompositeProps, index_RootProps as RootProps, index_TermProps as TermProps };
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export { Composite as C, Definition as D, ItemComposite as I, Root as R, Term as T, index as i };
|
|
54
|
-
export type { CompositeProps as a, DefinitionProps as b, ItemCompositeProps as c, RootProps as d, TermProps as e };
|
package/dist/index-Dr0S9iUZ.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as feedback from 'govuk-frontend-react/feedback';
|
|
2
|
-
|
|
3
|
-
function _mergeNamespaces(n, m) {
|
|
4
|
-
m.forEach(function (e) {
|
|
5
|
-
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
6
|
-
if (k !== 'default' && !(k in n)) {
|
|
7
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
8
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return e[k]; }
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
});
|
|
15
|
-
return Object.freeze(n);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
var index = /*#__PURE__*/_mergeNamespaces({
|
|
19
|
-
__proto__: null
|
|
20
|
-
}, [feedback]);
|
|
21
|
-
|
|
22
|
-
export { index as i };
|
package/dist/index-Dw9RbQVO.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as details from 'govuk-frontend-react/details';
|
|
2
|
-
|
|
3
|
-
function _mergeNamespaces(n, m) {
|
|
4
|
-
m.forEach(function (e) {
|
|
5
|
-
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
6
|
-
if (k !== 'default' && !(k in n)) {
|
|
7
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
8
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return e[k]; }
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
});
|
|
15
|
-
return Object.freeze(n);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
var index = /*#__PURE__*/_mergeNamespaces({
|
|
19
|
-
__proto__: null
|
|
20
|
-
}, [details]);
|
|
21
|
-
|
|
22
|
-
export { index as i };
|
package/dist/index-MxQB65RM.d.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as Primitives from '@govuk-react/primitives/password-input';
|
|
3
|
-
import * as Markup from 'govuk-frontend-react/password-input';
|
|
4
|
-
import { Wrapper, WrapperProps } from 'govuk-frontend-react/password-input';
|
|
5
|
-
|
|
6
|
-
type RootProps = Markup.RootProps;
|
|
7
|
-
/**
|
|
8
|
-
* Help users accessibly enter passwords.
|
|
9
|
-
*
|
|
10
|
-
* @see https://design-system.service.gov.uk/components/password-input/
|
|
11
|
-
*/
|
|
12
|
-
declare function Root({ showPasswordText, hidePasswordText, showPasswordAriaLabelText, hidePasswordAriaLabelText, passwordShownAnnouncementText, passwordHiddenAnnouncementText, ...props }: RootProps): React.JSX.Element;
|
|
13
|
-
|
|
14
|
-
type InputProps = Markup.InputProps;
|
|
15
|
-
declare function Input(props: InputProps): React.JSX.Element;
|
|
16
|
-
type ToggleProps = Markup.ToggleProps;
|
|
17
|
-
/** The show and hide button. Hidden until JavaScript runs. */
|
|
18
|
-
declare function Toggle(props: ToggleProps): React.JSX.Element;
|
|
19
|
-
type StatusProps = Omit<Primitives.StatusProps, 'asChild'>;
|
|
20
|
-
/** A visually hidden live region that announces when the password is shown or hidden. */
|
|
21
|
-
declare function Status({ className, ...props }: StatusProps): React.JSX.Element;
|
|
22
|
-
type FieldProps = Markup.FieldProps;
|
|
23
|
-
/**
|
|
24
|
-
* Help users accessibly enter passwords.
|
|
25
|
-
*
|
|
26
|
-
* @see https://design-system.service.gov.uk/components/password-input/
|
|
27
|
-
*/
|
|
28
|
-
declare function Field({ id: idProp, name, label, labelSize, labelIsPageHeading, hint, errorMessage, showPasswordText, hidePasswordText, showPasswordAriaLabelText, hidePasswordAriaLabelText, passwordShownAnnouncementText, passwordHiddenAnnouncementText, 'aria-describedby': describedBy, ...props }: FieldProps): React.JSX.Element;
|
|
29
|
-
|
|
30
|
-
declare const index_Field: typeof Field;
|
|
31
|
-
type index_FieldProps = FieldProps;
|
|
32
|
-
declare const index_Input: typeof Input;
|
|
33
|
-
type index_InputProps = InputProps;
|
|
34
|
-
declare const index_Root: typeof Root;
|
|
35
|
-
type index_RootProps = RootProps;
|
|
36
|
-
declare const index_Status: typeof Status;
|
|
37
|
-
type index_StatusProps = StatusProps;
|
|
38
|
-
declare const index_Toggle: typeof Toggle;
|
|
39
|
-
type index_ToggleProps = ToggleProps;
|
|
40
|
-
declare const index_Wrapper: typeof Wrapper;
|
|
41
|
-
declare const index_WrapperProps: typeof WrapperProps;
|
|
42
|
-
declare namespace index {
|
|
43
|
-
export { index_Field as Field, index_Input as Input, index_Root as Root, index_Status as Status, index_Toggle as Toggle, index_Wrapper as Wrapper, index_WrapperProps as WrapperProps };
|
|
44
|
-
export type { index_FieldProps as FieldProps, index_InputProps as InputProps, index_RootProps as RootProps, index_StatusProps as StatusProps, index_ToggleProps as ToggleProps };
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export { Field as F, Input as I, Root as R, Status as S, Toggle as T, index as i };
|
|
48
|
-
export type { FieldProps as a, InputProps as b, RootProps as c, StatusProps as d, ToggleProps as e };
|
package/dist/index-RZtIJBvk.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as phaseBanner from 'govuk-frontend-react/phase-banner';
|
|
2
|
-
|
|
3
|
-
function _mergeNamespaces(n, m) {
|
|
4
|
-
m.forEach(function (e) {
|
|
5
|
-
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
6
|
-
if (k !== 'default' && !(k in n)) {
|
|
7
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
8
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return e[k]; }
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
});
|
|
15
|
-
return Object.freeze(n);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
var index = /*#__PURE__*/_mergeNamespaces({
|
|
19
|
-
__proto__: null
|
|
20
|
-
}, [phaseBanner]);
|
|
21
|
-
|
|
22
|
-
export { index as i };
|
package/dist/index-TgEbRgDh.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as languageNavigation from 'govuk-frontend-react/language-navigation';
|
|
2
|
-
|
|
3
|
-
function _mergeNamespaces(n, m) {
|
|
4
|
-
m.forEach(function (e) {
|
|
5
|
-
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
6
|
-
if (k !== 'default' && !(k in n)) {
|
|
7
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
8
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return e[k]; }
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
});
|
|
15
|
-
return Object.freeze(n);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
var index = /*#__PURE__*/_mergeNamespaces({
|
|
19
|
-
__proto__: null
|
|
20
|
-
}, [languageNavigation]);
|
|
21
|
-
|
|
22
|
-
export { index as i };
|
package/dist/index-a8sYZpTj.d.ts
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as Markup from 'govuk-frontend-react/checkboxes';
|
|
3
|
-
import { Divider, DividerProps, Hint, HintProps, Item, ItemProps, Label, LabelProps } from 'govuk-frontend-react/checkboxes';
|
|
4
|
-
|
|
5
|
-
/** Shows a reveal only while its checkbox is checked, before or without JavaScript. */
|
|
6
|
-
declare const checkboxesCss: string;
|
|
7
|
-
type RootProps = Markup.RootProps;
|
|
8
|
-
/**
|
|
9
|
-
* Let users select one or more options by using the checkboxes component.
|
|
10
|
-
*
|
|
11
|
-
* Children are `Item`s, each with an `Input`, followed by a `Conditional` where it reveals one.
|
|
12
|
-
*
|
|
13
|
-
* @see https://design-system.service.gov.uk/components/checkboxes/
|
|
14
|
-
*/
|
|
15
|
-
declare function Root(props: RootProps): React.JSX.Element;
|
|
16
|
-
type InputProps = Markup.InputProps & {
|
|
17
|
-
/** The id of the `Conditional` this checkbox reveals. */
|
|
18
|
-
controls?: string;
|
|
19
|
-
/**
|
|
20
|
-
* For an option such as "None of these": once JavaScript runs, checking it unchecks the other
|
|
21
|
-
* checkboxes with its name, and checking one of them unchecks it.
|
|
22
|
-
*/
|
|
23
|
-
exclusive?: boolean;
|
|
24
|
-
/** govuk-frontend's way to make it exclusive: "exclusive". */
|
|
25
|
-
'data-behaviour'?: string;
|
|
26
|
-
};
|
|
27
|
-
declare function Input({ controls, exclusive, 'data-behaviour': behaviour, ...props }: InputProps): React.JSX.Element;
|
|
28
|
-
type ConditionalProps = Markup.ConditionalProps;
|
|
29
|
-
/** Content revealed while its checkbox is checked, straight after its `Item`. Pass the checkbox's `checked` or `defaultChecked` as `checked`. */
|
|
30
|
-
declare function Conditional(props: ConditionalProps): React.JSX.Element;
|
|
31
|
-
type ItemCompositeProps = Markup.ItemCompositeProps & Pick<InputProps, 'exclusive'>;
|
|
32
|
-
declare function ItemComposite({ id, label, hint, conditional, 'aria-describedby': describedBy, ...props }: ItemCompositeProps): React.JSX.Element;
|
|
33
|
-
type FieldProps = Omit<Markup.FieldProps, 'items' | 'children'> & ({
|
|
34
|
-
children?: React.ReactNode;
|
|
35
|
-
items?: never;
|
|
36
|
-
} | {
|
|
37
|
-
children?: never;
|
|
38
|
-
/** Prefer children, which memoise and re-render better. */
|
|
39
|
-
items: (ItemCompositeProps | {
|
|
40
|
-
divider: React.ReactNode;
|
|
41
|
-
})[];
|
|
42
|
-
});
|
|
43
|
-
/**
|
|
44
|
-
* Let users select one or more options by using the checkboxes component.
|
|
45
|
-
*
|
|
46
|
-
* Children are `ItemComposite`s and `Divider`s.
|
|
47
|
-
*
|
|
48
|
-
* @see https://design-system.service.gov.uk/components/checkboxes/
|
|
49
|
-
*/
|
|
50
|
-
declare function Field({ items, children, ...props }: FieldProps): React.JSX.Element;
|
|
51
|
-
|
|
52
|
-
declare const index_Conditional: typeof Conditional;
|
|
53
|
-
type index_ConditionalProps = ConditionalProps;
|
|
54
|
-
declare const index_Divider: typeof Divider;
|
|
55
|
-
declare const index_DividerProps: typeof DividerProps;
|
|
56
|
-
declare const index_Field: typeof Field;
|
|
57
|
-
type index_FieldProps = FieldProps;
|
|
58
|
-
declare const index_Hint: typeof Hint;
|
|
59
|
-
declare const index_HintProps: typeof HintProps;
|
|
60
|
-
declare const index_Input: typeof Input;
|
|
61
|
-
type index_InputProps = InputProps;
|
|
62
|
-
declare const index_Item: typeof Item;
|
|
63
|
-
declare const index_ItemComposite: typeof ItemComposite;
|
|
64
|
-
type index_ItemCompositeProps = ItemCompositeProps;
|
|
65
|
-
declare const index_ItemProps: typeof ItemProps;
|
|
66
|
-
declare const index_Label: typeof Label;
|
|
67
|
-
declare const index_LabelProps: typeof LabelProps;
|
|
68
|
-
declare const index_Root: typeof Root;
|
|
69
|
-
type index_RootProps = RootProps;
|
|
70
|
-
declare const index_checkboxesCss: typeof checkboxesCss;
|
|
71
|
-
declare namespace index {
|
|
72
|
-
export { index_Conditional as Conditional, index_Divider as Divider, index_DividerProps as DividerProps, index_Field as Field, index_Hint as Hint, index_HintProps as HintProps, index_Input as Input, index_Item as Item, index_ItemComposite as ItemComposite, index_ItemProps as ItemProps, index_Label as Label, index_LabelProps as LabelProps, index_Root as Root, index_checkboxesCss as checkboxesCss };
|
|
73
|
-
export type { index_ConditionalProps as ConditionalProps, index_FieldProps as FieldProps, index_InputProps as InputProps, index_ItemCompositeProps as ItemCompositeProps, index_RootProps as RootProps };
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export { Conditional as C, Field as F, Input as I, Root as R, ItemComposite as d, checkboxesCss as g, index as i };
|
|
77
|
-
export type { ConditionalProps as a, FieldProps as b, InputProps as c, ItemCompositeProps as e, RootProps as f };
|
package/dist/index-rQaOtoWF.d.ts
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ComponentProps, ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
/** Styles govuk-frontend has no class for, hoisted and deduplicated by React. */
|
|
5
|
-
declare const relatedItemsCss = ".govuk-react-related-items{border-top:2px solid var(--govuk-brand-colour,#1d70b8);padding-top:10px}";
|
|
6
|
-
type RootProps = ComponentProps<'div'>;
|
|
7
|
-
/** Related content, such as topics, guidance and collections. */
|
|
8
|
-
declare function Root({ className, children, ...props }: RootProps): React.JSX.Element;
|
|
9
|
-
type HeadingProps = ComponentProps<'h2'>;
|
|
10
|
-
declare function Heading({ className, children, ...props }: HeadingProps): React.JSX.Element;
|
|
11
|
-
type SectionProps = ComponentProps<'nav'>;
|
|
12
|
-
declare function Section(props: SectionProps): React.JSX.Element;
|
|
13
|
-
type SectionHeadingProps = ComponentProps<'h3'>;
|
|
14
|
-
declare function SectionHeading({ className, children, ...props }: SectionHeadingProps): React.JSX.Element;
|
|
15
|
-
type ListProps = ComponentProps<'ul'>;
|
|
16
|
-
declare function List({ className, ...props }: ListProps): React.JSX.Element;
|
|
17
|
-
type ItemProps = ComponentProps<'li'>;
|
|
18
|
-
declare function Item(props: ItemProps): React.JSX.Element;
|
|
19
|
-
type SectionCompositeProps = Omit<SectionProps, 'title'> & {
|
|
20
|
-
/** The section heading, such as “Travel abroad”. Also labels the navigation landmark. */
|
|
21
|
-
title: ReactNode;
|
|
22
|
-
};
|
|
23
|
-
/** A labelled navigation section with a heading and a list. Children are `Item`s. */
|
|
24
|
-
declare function SectionComposite({ title, children, ...props }: SectionCompositeProps): React.JSX.Element;
|
|
25
|
-
type CompositeProps = Omit<RootProps, 'title'> & {
|
|
26
|
-
/** The main heading. */
|
|
27
|
-
title?: ReactNode;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Related content, including topics, guidance and collections. Children are `SectionComposite`s.
|
|
31
|
-
*
|
|
32
|
-
* @see https://components.publishing.service.gov.uk/component-guide/related_navigation
|
|
33
|
-
*/
|
|
34
|
-
declare function Composite({ title, children, ...props }: CompositeProps): React.JSX.Element;
|
|
35
|
-
|
|
36
|
-
declare const index_Composite: typeof Composite;
|
|
37
|
-
type index_CompositeProps = CompositeProps;
|
|
38
|
-
declare const index_Heading: typeof Heading;
|
|
39
|
-
type index_HeadingProps = HeadingProps;
|
|
40
|
-
declare const index_Item: typeof Item;
|
|
41
|
-
type index_ItemProps = ItemProps;
|
|
42
|
-
declare const index_List: typeof List;
|
|
43
|
-
type index_ListProps = ListProps;
|
|
44
|
-
declare const index_Root: typeof Root;
|
|
45
|
-
type index_RootProps = RootProps;
|
|
46
|
-
declare const index_Section: typeof Section;
|
|
47
|
-
declare const index_SectionComposite: typeof SectionComposite;
|
|
48
|
-
type index_SectionCompositeProps = SectionCompositeProps;
|
|
49
|
-
declare const index_SectionHeading: typeof SectionHeading;
|
|
50
|
-
type index_SectionHeadingProps = SectionHeadingProps;
|
|
51
|
-
type index_SectionProps = SectionProps;
|
|
52
|
-
declare const index_relatedItemsCss: typeof relatedItemsCss;
|
|
53
|
-
declare namespace index {
|
|
54
|
-
export { index_Composite as Composite, index_Heading as Heading, index_Item as Item, index_List as List, index_Root as Root, index_Section as Section, index_SectionComposite as SectionComposite, index_SectionHeading as SectionHeading, index_relatedItemsCss as relatedItemsCss };
|
|
55
|
-
export type { index_CompositeProps as CompositeProps, index_HeadingProps as HeadingProps, index_ItemProps as ItemProps, index_ListProps as ListProps, index_RootProps as RootProps, index_SectionCompositeProps as SectionCompositeProps, index_SectionHeadingProps as SectionHeadingProps, index_SectionProps as SectionProps };
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export { Composite as C, Heading as H, Item as I, List as L, Root as R, Section as S, SectionComposite as f, SectionHeading as h, index as i, relatedItemsCss as r };
|
|
59
|
-
export type { CompositeProps as a, HeadingProps as b, ItemProps as c, ListProps as d, RootProps as e, SectionCompositeProps as g, SectionHeadingProps as j, SectionProps as k };
|
package/dist/index-trAlT6HP.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as cookieBanner from 'govuk-frontend-react/cookie-banner';
|
|
2
|
-
|
|
3
|
-
function _mergeNamespaces(n, m) {
|
|
4
|
-
m.forEach(function (e) {
|
|
5
|
-
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
6
|
-
if (k !== 'default' && !(k in n)) {
|
|
7
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
8
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return e[k]; }
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
});
|
|
15
|
-
return Object.freeze(n);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
var index = /*#__PURE__*/_mergeNamespaces({
|
|
19
|
-
__proto__: null
|
|
20
|
-
}, [cookieBanner]);
|
|
21
|
-
|
|
22
|
-
export { index as i };
|
package/dist/index-vBukON0x.d.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as Markup from 'govuk-frontend-react/error-summary';
|
|
3
|
-
import { Alert, AlertProps, Body, BodyProps, Description, DescriptionProps, List, ListItem, ListItemComposite, ListItemCompositeProps, ListItemLink, ListItemProps, ListProps, Title, TitleProps } from 'govuk-frontend-react/error-summary';
|
|
4
|
-
|
|
5
|
-
type RootProps = Markup.RootProps;
|
|
6
|
-
/**
|
|
7
|
-
* Use an error summary when there is a validation error.
|
|
8
|
-
*
|
|
9
|
-
* It takes focus when it appears. To move focus to it again, such as after another invalid submit,
|
|
10
|
-
* give it a new `key`.
|
|
11
|
-
*
|
|
12
|
-
* @see https://design-system.service.gov.uk/components/error-summary/
|
|
13
|
-
*/
|
|
14
|
-
declare function Root({ disableAutoFocus, ...props }: RootProps): React.JSX.Element;
|
|
15
|
-
type CompositeProps = Markup.CompositeProps;
|
|
16
|
-
/**
|
|
17
|
-
* Use an error summary when there is a validation error.
|
|
18
|
-
*
|
|
19
|
-
* Children are `ListItemComposite`s.
|
|
20
|
-
*
|
|
21
|
-
* @see https://design-system.service.gov.uk/components/error-summary/
|
|
22
|
-
*/
|
|
23
|
-
declare function Composite({ title, description, errors, children, ...props }: CompositeProps): React.JSX.Element;
|
|
24
|
-
|
|
25
|
-
declare const index_Alert: typeof Alert;
|
|
26
|
-
declare const index_AlertProps: typeof AlertProps;
|
|
27
|
-
declare const index_Body: typeof Body;
|
|
28
|
-
declare const index_BodyProps: typeof BodyProps;
|
|
29
|
-
declare const index_Composite: typeof Composite;
|
|
30
|
-
type index_CompositeProps = CompositeProps;
|
|
31
|
-
declare const index_Description: typeof Description;
|
|
32
|
-
declare const index_DescriptionProps: typeof DescriptionProps;
|
|
33
|
-
declare const index_List: typeof List;
|
|
34
|
-
declare const index_ListItem: typeof ListItem;
|
|
35
|
-
declare const index_ListItemComposite: typeof ListItemComposite;
|
|
36
|
-
declare const index_ListItemCompositeProps: typeof ListItemCompositeProps;
|
|
37
|
-
declare const index_ListItemLink: typeof ListItemLink;
|
|
38
|
-
declare const index_ListItemProps: typeof ListItemProps;
|
|
39
|
-
declare const index_ListProps: typeof ListProps;
|
|
40
|
-
declare const index_Root: typeof Root;
|
|
41
|
-
type index_RootProps = RootProps;
|
|
42
|
-
declare const index_Title: typeof Title;
|
|
43
|
-
declare const index_TitleProps: typeof TitleProps;
|
|
44
|
-
declare namespace index {
|
|
45
|
-
export { index_Alert as Alert, index_AlertProps as AlertProps, index_Body as Body, index_BodyProps as BodyProps, index_Composite as Composite, index_Description as Description, index_DescriptionProps as DescriptionProps, index_List as List, index_ListItem as ListItem, index_ListItemComposite as ListItemComposite, index_ListItemCompositeProps as ListItemCompositeProps, index_ListItemLink as ListItemLink, index_ListItemProps as ListItemProps, index_ListProps as ListProps, index_Root as Root, index_Title as Title, index_TitleProps as TitleProps };
|
|
46
|
-
export type { index_CompositeProps as CompositeProps, index_RootProps as RootProps };
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export { Composite as C, Root as R, index as i };
|
|
50
|
-
export type { CompositeProps as a, RootProps as b };
|
package/dist/input.js
DELETED
package/dist/input.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"input.js"}
|
package/dist/inset-text.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { InsetText, InsetTextProps } from 'govuk-frontend-react/inset-text';
|
package/dist/inset-text.js
DELETED
package/dist/inset-text.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"inset-text.js"}
|
package/dist/label.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Label, LabelComposite, LabelCompositeProps, LabelProps, LabelWrapper, LabelWrapperProps } from 'govuk-frontend-react/label';
|
package/dist/label.js
DELETED
package/dist/label.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"label.js"}
|