@gov-design-system-ce/components 4.2.0 → 4.2.1
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/dist/cjs/{array.utils-96eadde3.js → array.utils-211fffc0.js} +2 -2
- package/dist/cjs/{array.utils-96eadde3.js.map → array.utils-211fffc0.js.map} +1 -1
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/gov-attachments_3.cjs.entry.js +3 -3
- package/dist/cjs/gov-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/gov-banner.cjs.entry.js +21 -20
- package/dist/cjs/gov-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-blockquote.cjs.entry.js +1 -1
- package/dist/cjs/gov-blockquote.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js +3 -3
- package/dist/cjs/gov-button.cjs.entry.js +5 -5
- package/dist/cjs/gov-card.cjs.entry.js +11 -3
- package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-chip.cjs.entry.js +2 -2
- package/dist/cjs/gov-container.cjs.entry.js +1 -1
- package/dist/cjs/gov-control-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-cookiebar.cjs.entry.js +1 -1
- package/dist/cjs/gov-dialog.cjs.entry.js +3 -3
- package/dist/cjs/gov-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gov-empty.cjs.entry.js +1 -1
- package/dist/cjs/gov-error-code.cjs.entry.js +1 -1
- package/dist/cjs/gov-flex_3.cjs.entry.js +3 -3
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js +3 -3
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +3 -3
- package/dist/cjs/gov-form-control.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-file.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-input_2.cjs.entry.js +6 -6
- package/dist/cjs/gov-form-label.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-multi-select.cjs.entry.js +4 -4
- package/dist/cjs/gov-form-password-power.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-range.cjs.entry.js +207 -0
- package/dist/cjs/gov-form-range.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-search.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-select.cjs.entry.js +4 -4
- package/dist/cjs/gov-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-grid.cjs.entry.js +1 -1
- package/dist/cjs/gov-infobar.cjs.entry.js +2 -2
- package/dist/cjs/gov-layout-column.cjs.entry.js +1 -1
- package/dist/cjs/gov-layout.cjs.entry.js +1 -1
- package/dist/cjs/gov-lifecycle.cjs.entry.js +1 -1
- package/dist/cjs/gov-link.cjs.entry.js +2 -1
- package/dist/cjs/gov-link.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-loading.cjs.entry.js +1 -1
- package/dist/cjs/gov-message.cjs.entry.js +1 -1
- package/dist/cjs/gov-pagination.cjs.entry.js +2 -2
- package/dist/cjs/gov-spacer.cjs.entry.js +1 -1
- package/dist/cjs/gov-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-stepper.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs.cjs.entry.js +2 -2
- package/dist/cjs/gov-tag.cjs.entry.js +1 -1
- package/dist/cjs/gov-tile.cjs.entry.js +1 -1
- package/dist/cjs/gov-toast.cjs.entry.js +1 -1
- package/dist/cjs/gov-tooltip-content.cjs.entry.js +1 -1
- package/dist/cjs/gov-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/gov-wizard-item.cjs.entry.js +2 -2
- package/dist/cjs/gov-wizard.cjs.entry.js +3 -3
- package/dist/cjs/{helpers.types-ff60c9bd.js → helpers.types-9066e4a4.js} +3 -1
- package/dist/cjs/helpers.types-9066e4a4.js.map +1 -0
- package/dist/cjs/index-0e4f24f9.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{wcag-2927ff73.js → wcag-f8da82da.js} +2 -2
- package/dist/cjs/{wcag-2927ff73.js.map → wcag-f8da82da.js.map} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/gov-banner/gov-banner.js +26 -73
- package/dist/collection/components/gov-banner/gov-banner.js.map +1 -1
- package/dist/collection/components/gov-blockquote/constants.js.map +1 -0
- package/dist/collection/components/{gov-blocquote → gov-blockquote}/gov-blockquote.js +2 -2
- package/dist/collection/components/gov-blockquote/gov-blockquote.js.map +1 -0
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +1 -1
- package/dist/collection/components/gov-button/button/gov-button.js +3 -3
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +1 -1
- package/dist/collection/components/gov-card/gov-card.js +52 -1
- package/dist/collection/components/gov-card/gov-card.js.map +1 -1
- package/dist/collection/components/gov-chip/gov-chip.js +2 -2
- package/dist/collection/components/gov-container/gov-container.js +1 -1
- package/dist/collection/components/gov-control-group/gov-control-group.js +1 -1
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +1 -1
- package/dist/collection/components/gov-dialog/gov-dialog.js +1 -1
- package/dist/collection/components/gov-empty/gov-empty.js +1 -1
- package/dist/collection/components/gov-error-code/gov-error-code.js +1 -1
- package/dist/collection/components/gov-flex/gov-flex.js +1 -1
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +1 -1
- package/dist/collection/components/gov-form/control/gov-form-control.js +1 -1
- package/dist/collection/components/gov-form/file/gov-form-file.js +1 -1
- package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +1 -1
- package/dist/collection/components/gov-form/group/gov-form-group.js +1 -1
- package/dist/collection/components/gov-form/group/gov-form-radio-group.js +1 -1
- package/dist/collection/components/gov-form/input/gov-form-input.js +5 -5
- package/dist/collection/components/gov-form/label/gov-form-label.js +1 -1
- package/dist/collection/components/gov-form/message/gov-form-message.js +1 -1
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +2 -2
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +1 -1
- package/dist/collection/components/gov-form/range/constants.js +9 -0
- package/dist/collection/components/gov-form/range/constants.js.map +1 -0
- package/dist/collection/components/gov-form/range/gov-form-range.js +610 -0
- package/dist/collection/components/gov-form/range/gov-form-range.js.map +1 -0
- package/dist/collection/components/gov-form/search/gov-form-search.js +1 -1
- package/dist/collection/components/gov-form/select/gov-form-select.js +2 -2
- package/dist/collection/components/gov-grid/gov-grid-item.js +1 -1
- package/dist/collection/components/gov-grid/gov-grid.js +1 -1
- package/dist/collection/components/gov-infobar/gov-infobar.js +2 -2
- package/dist/collection/components/gov-layout/gov-layout-column.js +1 -1
- package/dist/collection/components/gov-layout/gov-layout.js +1 -1
- package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js +1 -1
- package/dist/collection/components/gov-link/gov-link.js +20 -1
- package/dist/collection/components/gov-link/gov-link.js.map +1 -1
- package/dist/collection/components/gov-loading/loading/gov-loading.js +1 -1
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +1 -1
- package/dist/collection/components/gov-message/gov-message.js +1 -1
- package/dist/collection/components/gov-spacer/gov-spacer.js +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper-item.js +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper.js +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs-item.js +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs.js +1 -1
- package/dist/collection/components/gov-tag/gov-tag.js +1 -1
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +1 -1
- package/dist/collection/components/gov-tile/gov-tile.js +1 -1
- package/dist/collection/components/gov-toast/gov-toast.js +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip.js +2 -2
- package/dist/collection/components/gov-wizard/gov-wizard-item.js +2 -2
- package/dist/collection/components/gov-wizard/gov-wizard.js +1 -1
- package/dist/collection/data/color-definitions.js +13 -13
- package/dist/collection/data/font-definitions.js +86 -48
- package/dist/collection/pages/Banner.js +112 -112
- package/dist/collection/pages/Banner.js.map +1 -1
- package/dist/collection/pages/Blockquote.js +3 -3
- package/dist/collection/pages/Blockquote.js.map +1 -1
- package/dist/collection/pages/Card.js +27 -17
- package/dist/collection/pages/Card.js.map +1 -1
- package/dist/collection/pages/Forms.js +209 -4
- package/dist/collection/pages/Forms.js.map +1 -1
- package/dist/collection/pages/Message.js +10 -10
- package/dist/collection/pages/Message.js.map +1 -1
- package/dist/collection/pages/Typography.js +7 -0
- package/dist/collection/pages/Typography.js.map +1 -1
- package/dist/components/gov-accordion-item.js +1 -1
- package/dist/components/gov-attachments-item.js +1 -1
- package/dist/components/gov-attachments.js +1 -1
- package/dist/components/gov-backdrop.js +1 -1
- package/dist/components/gov-banner.js +1 -1
- package/dist/components/gov-banner.js.map +1 -1
- package/dist/components/gov-blockquote.js +1 -1
- package/dist/components/gov-blockquote.js.map +1 -1
- package/dist/components/gov-breadcrumbs.js +1 -1
- package/dist/components/gov-breadcrumbs.js.map +1 -1
- package/dist/components/gov-button.js +1 -1
- package/dist/components/gov-card.js +1 -1
- package/dist/components/gov-card.js.map +1 -1
- package/dist/components/gov-chip.js +1 -1
- package/dist/components/gov-container.js +1 -1
- package/dist/components/gov-control-group.js +1 -1
- package/dist/components/gov-cookiebar.js +1 -1
- package/dist/components/gov-dialog.js +1 -1
- package/dist/components/gov-dropdown.js +1 -1
- package/dist/components/gov-empty.js +1 -1
- package/dist/components/gov-error-code.js +1 -1
- package/dist/components/gov-flex.js +1 -1
- package/dist/components/gov-form-autocomplete.js +1 -1
- package/dist/components/gov-form-checkbox-group.js +1 -1
- package/dist/components/gov-form-checkbox.js +1 -1
- package/dist/components/gov-form-control.js +1 -1
- package/dist/components/gov-form-file.js +1 -1
- package/dist/components/gov-form-group.js +1 -1
- package/dist/components/gov-form-input.js +1 -1
- package/dist/components/gov-form-label.js +1 -1
- package/dist/components/gov-form-message.js +1 -1
- package/dist/components/gov-form-multi-select.js +1 -1
- package/dist/components/gov-form-password-power.js +1 -1
- package/dist/components/gov-form-radio-group.js +1 -1
- package/dist/components/gov-form-range.d.ts +11 -0
- package/dist/components/gov-form-range.js +2 -0
- package/dist/components/gov-form-range.js.map +1 -0
- package/dist/components/gov-form-search.js +1 -1
- package/dist/components/gov-form-select.js +1 -1
- package/dist/components/gov-form-switch.js +1 -1
- package/dist/components/gov-grid-item.js +1 -1
- package/dist/components/gov-grid.js +1 -1
- package/dist/components/gov-icon.js +1 -1
- package/dist/components/gov-infobar.js +1 -1
- package/dist/components/gov-infobar.js.map +1 -1
- package/dist/components/gov-layout-column.js +1 -1
- package/dist/components/gov-layout-column.js.map +1 -1
- package/dist/components/gov-layout.js +1 -1
- package/dist/components/gov-lifecycle.js +1 -1
- package/dist/components/gov-link.js +1 -1
- package/dist/components/gov-link.js.map +1 -1
- package/dist/components/gov-loading.js +1 -1
- package/dist/components/gov-loading.js.map +1 -1
- package/dist/components/gov-message.js +1 -1
- package/dist/components/gov-pagination.js +1 -1
- package/dist/components/gov-skeleton.js +1 -1
- package/dist/components/gov-spacer.js +1 -1
- package/dist/components/gov-stepper-item.js +1 -1
- package/dist/components/gov-stepper.js +1 -1
- package/dist/components/gov-tabs-item.js +1 -1
- package/dist/components/gov-tabs.js +1 -1
- package/dist/components/gov-tag.js +1 -1
- package/dist/components/gov-theme-switch.js +1 -1
- package/dist/components/gov-tile.js +1 -1
- package/dist/components/gov-toast.js +1 -1
- package/dist/components/gov-tooltip-content.js +1 -1
- package/dist/components/gov-tooltip.js +1 -1
- package/dist/components/gov-tooltip.js.map +1 -1
- package/dist/components/gov-wizard-item.js +1 -1
- package/dist/components/gov-wizard.js +1 -1
- package/dist/components/{p-73938936.js → p-022e49cf.js} +2 -2
- package/dist/components/p-10cad7f1.js +2 -0
- package/dist/components/p-2fe7d728.js +2 -0
- package/dist/components/p-2fe7d728.js.map +1 -0
- package/dist/components/{p-b533871a.js → p-313b4611.js} +2 -2
- package/dist/components/{p-3fead64a.js → p-5a861cd2.js} +2 -2
- package/dist/components/{p-0327a469.js → p-5b0934a8.js} +2 -2
- package/dist/components/{p-3c90521b.js → p-5d60b866.js} +2 -2
- package/dist/components/{p-69a31c96.js → p-6ce6e14f.js} +2 -2
- package/dist/components/{p-2fc08a71.js → p-7fb16042.js} +2 -2
- package/dist/components/p-be086357.js +2 -0
- package/dist/components/{p-4fba9df0.js → p-d3435179.js} +2 -2
- package/dist/components/p-de989dfe.js +2 -0
- package/dist/components/{p-7be2301a.js → p-e0c3b1a7.js} +2 -2
- package/dist/components/{p-b5dc6bae.js → p-f9b1a12b.js} +2 -2
- package/dist/core/core.css +708 -733
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-07590d84.entry.js +2 -0
- package/dist/core/p-07590d84.entry.js.map +1 -0
- package/dist/core/p-08552a0e.entry.js +2 -0
- package/dist/core/{p-16f44a0b.entry.js.map → p-08552a0e.entry.js.map} +1 -1
- package/dist/core/p-0abc38e8.entry.js +2 -0
- package/dist/core/{p-28d1bc01.entry.js.map → p-0abc38e8.entry.js.map} +1 -1
- package/dist/core/p-0c393d2f.entry.js +2 -0
- package/dist/core/p-16ece889.entry.js +2 -0
- package/dist/core/p-171e2a2f.entry.js +2 -0
- package/dist/core/p-25615325.entry.js +2 -0
- package/dist/core/{p-132c9a87.entry.js → p-2a7bcce0.entry.js} +2 -2
- package/dist/core/{p-f120ba66.entry.js → p-2f966102.entry.js} +2 -2
- package/dist/core/p-2fe7d728.js +2 -0
- package/dist/core/p-2fe7d728.js.map +1 -0
- package/dist/core/{p-9ae280b2.entry.js → p-3583dcf7.entry.js} +2 -2
- package/dist/core/p-3b2267a1.entry.js +2 -0
- package/dist/core/p-4216d8f3.entry.js +2 -0
- package/dist/core/p-44c912e2.entry.js +2 -0
- package/dist/core/p-4d5f768f.entry.js +2 -0
- package/dist/core/p-52bb8e4f.entry.js +2 -0
- package/dist/core/{p-f7e47c0a.entry.js.map → p-52bb8e4f.entry.js.map} +1 -1
- package/dist/core/p-52c74fc5.entry.js +2 -0
- package/dist/core/p-548806cb.entry.js +2 -0
- package/dist/core/{p-ab868410.entry.js → p-5fa4965e.entry.js} +2 -2
- package/dist/core/p-6d54ce5f.js +2 -0
- package/dist/core/p-6f74eb08.entry.js +2 -0
- package/dist/core/{p-5108eb37.entry.js → p-75dae924.entry.js} +2 -2
- package/dist/core/p-774ea182.entry.js +2 -0
- package/dist/core/p-843f980a.entry.js +2 -0
- package/dist/core/p-8a72ebcd.entry.js +2 -0
- package/dist/core/{p-94119ad4.entry.js → p-8cd7a120.entry.js} +2 -2
- package/dist/core/{p-99f192c1.entry.js → p-8f469270.entry.js} +2 -2
- package/dist/core/{p-564555e6.entry.js → p-947804a8.entry.js} +2 -2
- package/dist/core/p-979ff58c.entry.js +2 -0
- package/dist/core/p-979ff58c.entry.js.map +1 -0
- package/dist/core/{p-5242b51b.entry.js → p-981f217e.entry.js} +2 -2
- package/dist/core/p-9c1f3e9e.entry.js +2 -0
- package/dist/core/p-9c1f3e9e.entry.js.map +1 -0
- package/dist/core/{p-ab11081d.entry.js → p-a1c825f3.entry.js} +2 -2
- package/dist/core/p-a440365f.entry.js +2 -0
- package/dist/core/p-a440365f.entry.js.map +1 -0
- package/dist/core/p-a70c7959.entry.js +2 -0
- package/dist/core/{p-1cf1dd10.entry.js.map → p-a70c7959.entry.js.map} +1 -1
- package/dist/core/{p-59fe6cbc.entry.js → p-a8a7ae96.entry.js} +2 -2
- package/dist/core/p-aacafa40.entry.js +2 -0
- package/dist/core/{p-e89471ef.entry.js.map → p-aacafa40.entry.js.map} +1 -1
- package/dist/core/{p-a02f2547.entry.js → p-aeaba3ef.entry.js} +2 -2
- package/dist/core/p-b87e5429.entry.js +2 -0
- package/dist/core/p-b87e5429.entry.js.map +1 -0
- package/dist/core/p-b9f1c2ef.entry.js +2 -0
- package/dist/core/{p-3d7fb8f8.entry.js.map → p-b9f1c2ef.entry.js.map} +1 -1
- package/dist/core/p-bca478fd.entry.js +2 -0
- package/dist/core/{p-f98f19f6.entry.js.map → p-bca478fd.entry.js.map} +1 -1
- package/dist/core/p-be086357.js +2 -0
- package/dist/core/p-bea685cb.entry.js +2 -0
- package/dist/core/{p-49cd4d0d.entry.js.map → p-bea685cb.entry.js.map} +1 -1
- package/dist/core/{p-c07f6bb4.entry.js → p-c1584cfe.entry.js} +2 -2
- package/dist/core/p-c5a49469.entry.js +2 -0
- package/dist/core/{p-650fe9e8.entry.js.map → p-c5a49469.entry.js.map} +1 -1
- package/dist/core/{p-eb8a9705.entry.js → p-c88d8659.entry.js} +2 -2
- package/dist/core/p-cba1ebca.entry.js +2 -0
- package/dist/core/{p-16d3a79a.entry.js.map → p-cba1ebca.entry.js.map} +1 -1
- package/dist/core/p-ccb64e4e.entry.js +2 -0
- package/dist/core/p-d383f977.entry.js +2 -0
- package/dist/core/p-d990aae8.entry.js +2 -0
- package/dist/core/p-ddb3772f.entry.js +2 -0
- package/dist/core/{p-46ecf09e.entry.js.map → p-ddb3772f.entry.js.map} +1 -1
- package/dist/core/{p-ae88fe6b.entry.js → p-e2655cb7.entry.js} +2 -2
- package/dist/core/{p-3acaa012.entry.js → p-e29c9924.entry.js} +2 -2
- package/dist/core/p-ead1f58d.entry.js +2 -0
- package/dist/core/{p-f0e001c7.entry.js.map → p-ead1f58d.entry.js.map} +1 -1
- package/dist/core/{p-ee950038.entry.js → p-f83b3b08.entry.js} +2 -2
- package/dist/esm/{array.utils-85696abd.js → array.utils-3b213795.js} +2 -2
- package/dist/esm/{array.utils-85696abd.js.map → array.utils-3b213795.js.map} +1 -1
- package/dist/esm/core.js +1 -1
- package/dist/esm/gov-attachments_3.entry.js +3 -3
- package/dist/esm/gov-backdrop.entry.js +2 -2
- package/dist/esm/gov-banner.entry.js +21 -20
- package/dist/esm/gov-banner.entry.js.map +1 -1
- package/dist/esm/gov-blockquote.entry.js +1 -1
- package/dist/esm/gov-blockquote.entry.js.map +1 -1
- package/dist/esm/gov-breadcrumbs.entry.js +3 -3
- package/dist/esm/gov-button.entry.js +5 -5
- package/dist/esm/gov-card.entry.js +11 -3
- package/dist/esm/gov-card.entry.js.map +1 -1
- package/dist/esm/gov-chip.entry.js +2 -2
- package/dist/esm/gov-container.entry.js +1 -1
- package/dist/esm/gov-control-group.entry.js +1 -1
- package/dist/esm/gov-cookiebar.entry.js +1 -1
- package/dist/esm/gov-dialog.entry.js +3 -3
- package/dist/esm/gov-dropdown.entry.js +1 -1
- package/dist/esm/gov-empty.entry.js +1 -1
- package/dist/esm/gov-error-code.entry.js +1 -1
- package/dist/esm/gov-flex_3.entry.js +3 -3
- package/dist/esm/gov-form-autocomplete.entry.js +3 -3
- package/dist/esm/gov-form-checkbox-group.entry.js +3 -3
- package/dist/esm/gov-form-control.entry.js +1 -1
- package/dist/esm/gov-form-file.entry.js +1 -1
- package/dist/esm/gov-form-group.entry.js +1 -1
- package/dist/esm/gov-form-input_2.entry.js +6 -6
- package/dist/esm/gov-form-label.entry.js +1 -1
- package/dist/esm/gov-form-multi-select.entry.js +4 -4
- package/dist/esm/gov-form-password-power.entry.js +1 -1
- package/dist/esm/gov-form-radio-group.entry.js +1 -1
- package/dist/esm/gov-form-range.entry.js +203 -0
- package/dist/esm/gov-form-range.entry.js.map +1 -0
- package/dist/esm/gov-form-search.entry.js +1 -1
- package/dist/esm/gov-form-select.entry.js +4 -4
- package/dist/esm/gov-grid-item.entry.js +1 -1
- package/dist/esm/gov-grid.entry.js +1 -1
- package/dist/esm/gov-infobar.entry.js +2 -2
- package/dist/esm/gov-layout-column.entry.js +1 -1
- package/dist/esm/gov-layout.entry.js +1 -1
- package/dist/esm/gov-lifecycle.entry.js +1 -1
- package/dist/esm/gov-link.entry.js +2 -1
- package/dist/esm/gov-link.entry.js.map +1 -1
- package/dist/esm/gov-loading.entry.js +1 -1
- package/dist/esm/gov-message.entry.js +1 -1
- package/dist/esm/gov-pagination.entry.js +2 -2
- package/dist/esm/gov-spacer.entry.js +1 -1
- package/dist/esm/gov-stepper-item.entry.js +1 -1
- package/dist/esm/gov-stepper.entry.js +1 -1
- package/dist/esm/gov-tabs-item.entry.js +1 -1
- package/dist/esm/gov-tabs.entry.js +2 -2
- package/dist/esm/gov-tag.entry.js +1 -1
- package/dist/esm/gov-tile.entry.js +1 -1
- package/dist/esm/gov-toast.entry.js +1 -1
- package/dist/esm/gov-tooltip-content.entry.js +1 -1
- package/dist/esm/gov-tooltip.entry.js +2 -2
- package/dist/esm/gov-wizard-item.entry.js +2 -2
- package/dist/esm/gov-wizard.entry.js +3 -3
- package/dist/esm/{helpers.types-43ddbdb8.js → helpers.types-fe2f0447.js} +3 -2
- package/dist/esm/helpers.types-fe2f0447.js.map +1 -0
- package/dist/esm/index-bf8a6f64.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{wcag-253a4421.js → wcag-bd11d341.js} +2 -2
- package/dist/esm/{wcag-253a4421.js.map → wcag-bd11d341.js.map} +1 -1
- package/dist/hydrate/index.js +313 -86
- package/dist/hydrate/index.mjs +313 -86
- package/dist/stencil.config.js +1 -1
- package/dist/stencil.config.js.map +1 -1
- package/dist/types/components/gov-banner/gov-banner.d.ts +4 -14
- package/dist/types/components/gov-card/gov-card.d.ts +10 -0
- package/dist/types/components/gov-form/range/constants.d.ts +9 -0
- package/dist/types/components/gov-form/range/gov-form-range.d.ts +116 -0
- package/dist/types/components/gov-link/gov-link.d.ts +4 -0
- package/dist/types/components.d.ts +200 -22
- package/package.json +1 -1
- package/dist/cjs/helpers.types-ff60c9bd.js.map +0 -1
- package/dist/collection/components/gov-blocquote/constants.js.map +0 -1
- package/dist/collection/components/gov-blocquote/gov-blockquote.js.map +0 -1
- package/dist/components/p-2aedc81e.js +0 -2
- package/dist/components/p-2aedc81e.js.map +0 -1
- package/dist/components/p-80dad64b.js +0 -2
- package/dist/components/p-ded281e6.js +0 -2
- package/dist/components/p-f9a1ff6e.js +0 -2
- package/dist/core/p-005214d1.entry.js +0 -2
- package/dist/core/p-0fc9ea97.entry.js +0 -2
- package/dist/core/p-16d3a79a.entry.js +0 -2
- package/dist/core/p-16f44a0b.entry.js +0 -2
- package/dist/core/p-1c7c9144.entry.js +0 -2
- package/dist/core/p-1cf1dd10.entry.js +0 -2
- package/dist/core/p-23b4dcd3.entry.js +0 -2
- package/dist/core/p-28d1bc01.entry.js +0 -2
- package/dist/core/p-29ac15d2.js +0 -2
- package/dist/core/p-2aedc81e.js +0 -2
- package/dist/core/p-2aedc81e.js.map +0 -1
- package/dist/core/p-3d7fb8f8.entry.js +0 -2
- package/dist/core/p-46ecf09e.entry.js +0 -2
- package/dist/core/p-49cd4d0d.entry.js +0 -2
- package/dist/core/p-650fe9e8.entry.js +0 -2
- package/dist/core/p-6e41cf69.entry.js +0 -2
- package/dist/core/p-7399ad59.entry.js +0 -2
- package/dist/core/p-79ec86da.entry.js +0 -2
- package/dist/core/p-80bebb7f.entry.js +0 -2
- package/dist/core/p-8cbe8add.entry.js +0 -2
- package/dist/core/p-8f73f8e0.entry.js +0 -2
- package/dist/core/p-952ab9e5.entry.js +0 -2
- package/dist/core/p-9c1601b3.entry.js +0 -2
- package/dist/core/p-c2abc031.entry.js +0 -2
- package/dist/core/p-c688349d.entry.js +0 -2
- package/dist/core/p-c6fdc0a9.entry.js +0 -2
- package/dist/core/p-c6fdc0a9.entry.js.map +0 -1
- package/dist/core/p-c91512dd.entry.js +0 -2
- package/dist/core/p-cf9d5c2f.entry.js +0 -2
- package/dist/core/p-cf9d5c2f.entry.js.map +0 -1
- package/dist/core/p-d1270d72.entry.js +0 -2
- package/dist/core/p-d1270d72.entry.js.map +0 -1
- package/dist/core/p-d141e9ca.entry.js +0 -2
- package/dist/core/p-d141e9ca.entry.js.map +0 -1
- package/dist/core/p-de852480.entry.js +0 -2
- package/dist/core/p-ded281e6.js +0 -2
- package/dist/core/p-e89471ef.entry.js +0 -2
- package/dist/core/p-f0e001c7.entry.js +0 -2
- package/dist/core/p-f333c673.entry.js +0 -2
- package/dist/core/p-f7e47c0a.entry.js +0 -2
- package/dist/core/p-f98f19f6.entry.js +0 -2
- package/dist/esm/helpers.types-43ddbdb8.js.map +0 -1
- /package/dist/collection/components/{gov-blocquote → gov-blockquote}/constants.js +0 -0
- /package/dist/components/{p-73938936.js.map → p-022e49cf.js.map} +0 -0
- /package/dist/components/{p-80dad64b.js.map → p-10cad7f1.js.map} +0 -0
- /package/dist/components/{p-b533871a.js.map → p-313b4611.js.map} +0 -0
- /package/dist/components/{p-3fead64a.js.map → p-5a861cd2.js.map} +0 -0
- /package/dist/components/{p-0327a469.js.map → p-5b0934a8.js.map} +0 -0
- /package/dist/components/{p-3c90521b.js.map → p-5d60b866.js.map} +0 -0
- /package/dist/components/{p-69a31c96.js.map → p-6ce6e14f.js.map} +0 -0
- /package/dist/components/{p-2fc08a71.js.map → p-7fb16042.js.map} +0 -0
- /package/dist/components/{p-ded281e6.js.map → p-be086357.js.map} +0 -0
- /package/dist/components/{p-4fba9df0.js.map → p-d3435179.js.map} +0 -0
- /package/dist/components/{p-f9a1ff6e.js.map → p-de989dfe.js.map} +0 -0
- /package/dist/components/{p-7be2301a.js.map → p-e0c3b1a7.js.map} +0 -0
- /package/dist/components/{p-b5dc6bae.js.map → p-f9b1a12b.js.map} +0 -0
- /package/dist/core/{p-7399ad59.entry.js.map → p-0c393d2f.entry.js.map} +0 -0
- /package/dist/core/{p-9c1601b3.entry.js.map → p-16ece889.entry.js.map} +0 -0
- /package/dist/core/{p-1c7c9144.entry.js.map → p-171e2a2f.entry.js.map} +0 -0
- /package/dist/core/{p-23b4dcd3.entry.js.map → p-25615325.entry.js.map} +0 -0
- /package/dist/core/{p-132c9a87.entry.js.map → p-2a7bcce0.entry.js.map} +0 -0
- /package/dist/core/{p-f120ba66.entry.js.map → p-2f966102.entry.js.map} +0 -0
- /package/dist/core/{p-9ae280b2.entry.js.map → p-3583dcf7.entry.js.map} +0 -0
- /package/dist/core/{p-8cbe8add.entry.js.map → p-3b2267a1.entry.js.map} +0 -0
- /package/dist/core/{p-de852480.entry.js.map → p-4216d8f3.entry.js.map} +0 -0
- /package/dist/core/{p-80bebb7f.entry.js.map → p-44c912e2.entry.js.map} +0 -0
- /package/dist/core/{p-952ab9e5.entry.js.map → p-4d5f768f.entry.js.map} +0 -0
- /package/dist/core/{p-f333c673.entry.js.map → p-52c74fc5.entry.js.map} +0 -0
- /package/dist/core/{p-0fc9ea97.entry.js.map → p-548806cb.entry.js.map} +0 -0
- /package/dist/core/{p-ab868410.entry.js.map → p-5fa4965e.entry.js.map} +0 -0
- /package/dist/core/{p-29ac15d2.js.map → p-6d54ce5f.js.map} +0 -0
- /package/dist/core/{p-c688349d.entry.js.map → p-6f74eb08.entry.js.map} +0 -0
- /package/dist/core/{p-5108eb37.entry.js.map → p-75dae924.entry.js.map} +0 -0
- /package/dist/core/{p-005214d1.entry.js.map → p-774ea182.entry.js.map} +0 -0
- /package/dist/core/{p-79ec86da.entry.js.map → p-843f980a.entry.js.map} +0 -0
- /package/dist/core/{p-c91512dd.entry.js.map → p-8a72ebcd.entry.js.map} +0 -0
- /package/dist/core/{p-94119ad4.entry.js.map → p-8cd7a120.entry.js.map} +0 -0
- /package/dist/core/{p-99f192c1.entry.js.map → p-8f469270.entry.js.map} +0 -0
- /package/dist/core/{p-564555e6.entry.js.map → p-947804a8.entry.js.map} +0 -0
- /package/dist/core/{p-5242b51b.entry.js.map → p-981f217e.entry.js.map} +0 -0
- /package/dist/core/{p-ab11081d.entry.js.map → p-a1c825f3.entry.js.map} +0 -0
- /package/dist/core/{p-59fe6cbc.entry.js.map → p-a8a7ae96.entry.js.map} +0 -0
- /package/dist/core/{p-a02f2547.entry.js.map → p-aeaba3ef.entry.js.map} +0 -0
- /package/dist/core/{p-ded281e6.js.map → p-be086357.js.map} +0 -0
- /package/dist/core/{p-c07f6bb4.entry.js.map → p-c1584cfe.entry.js.map} +0 -0
- /package/dist/core/{p-eb8a9705.entry.js.map → p-c88d8659.entry.js.map} +0 -0
- /package/dist/core/{p-6e41cf69.entry.js.map → p-ccb64e4e.entry.js.map} +0 -0
- /package/dist/core/{p-c2abc031.entry.js.map → p-d383f977.entry.js.map} +0 -0
- /package/dist/core/{p-8f73f8e0.entry.js.map → p-d990aae8.entry.js.map} +0 -0
- /package/dist/core/{p-ae88fe6b.entry.js.map → p-e2655cb7.entry.js.map} +0 -0
- /package/dist/core/{p-3acaa012.entry.js.map → p-e29c9924.entry.js.map} +0 -0
- /package/dist/core/{p-ee950038.entry.js.map → p-f83b3b08.entry.js.map} +0 -0
- /package/dist/types/components/{gov-blocquote → gov-blockquote}/constants.d.ts +0 -0
- /package/dist/types/components/{gov-blocquote → gov-blockquote}/gov-blockquote.d.ts +0 -0
package/dist/stencil.config.js
CHANGED
|
@@ -70,7 +70,7 @@ export const config = {
|
|
|
70
70
|
includePolyfills: false,
|
|
71
71
|
componentModels: [
|
|
72
72
|
{
|
|
73
|
-
elements: ['gov-form-autocomplete', 'gov-form-input'],
|
|
73
|
+
elements: ['gov-form-autocomplete', 'gov-form-input', 'gov-form-range'],
|
|
74
74
|
event: 'gov-input',
|
|
75
75
|
targetAttr: 'value',
|
|
76
76
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stencil.config.js","sourceRoot":"","sources":["../../../stencil.config.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,OAAO,EAAC,MAAM,kBAAkB,CAAA;AACxC,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAA;AAClC,OAAO,YAAY,MAAM,cAAc,CAAA;AACvC,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAC,iBAAiB,EAAC,MAAM,8BAA8B,CAAA;AAC9D,OAAO,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAC,mBAAmB,EAAC,MAAM,gCAAgC,CAAC;AAEnE,MAAM,CAAC,MAAM,MAAM,GAAW;IAC7B,SAAS,EAAE,MAAM;IACjB,WAAW,EAAE,sBAAsB;IACnC,SAAS,EAAE,OAAO;IAClB,SAAS,EAAE,IAAI;IACf,qBAAqB,EAAE,KAAK;IAC5B,MAAM,EAAE;QACP,qBAAqB,EAAE,IAAI;QAC3B,qBAAqB,EAAE,IAAI;QAC3B,YAAY,EAAE,IAAI;KAClB;IACD,OAAO,EAAE;QACR,IAAI,CAAC;YACJ,iBAAiB,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;SACtF,CAAC;QACF,OAAO,CAAC;YACP,OAAO,EAAE,CAAC,YAAY,EAAE,CAAC;SACzB,CAAC;KACF;IACD,aAAa,EAAE;QACd;YACC,IAAI,EAAE,MAAM;YACZ,aAAa,EAAE,WAAW;SAC1B;QACD;YACC,IAAI,EAAE,aAAa;YACnB,MAAM,EAAE,IAAI;SACZ;QACD;YACC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE;gBACL,EAAC,GAAG,EAAE,iBAAiB,EAAE,IAAI,EAAE,oBAAoB,EAAC;gBACpD,EAAC,GAAG,EAAE,iBAAiB,EAAE,IAAI,EAAE,oBAAoB,EAAC;gBACpD,EAAC,GAAG,EAAE,kBAAkB,EAAE,IAAI,EAAE,qBAAqB,EAAC;gBACtD,EAAC,GAAG,EAAE,uBAAuB,EAAE,IAAI,EAAE,cAAc,EAAC;aACpD;YACD,aAAa,EAAE,IAAI;YACnB,OAAO,EAAE,aAAa;SACtB;QACD;YACC,IAAI,EAAE,qBAAqB;YAC3B,GAAG,EAAE,cAAc;SACnB;QACD;YACC,IAAI,EAAE,sBAAsB;YAC5B,oBAAoB,EAAE,KAAK;YAC3B,eAAe,EAAE,KAAK;YACtB,MAAM,EAAE,IAAI;YACZ,4BAA4B,EAAE,6BAA6B;SAC3D;QAED,iBAAiB,CAAC;YACjB,kBAAkB,EAAE,kCAAkC;YACtD,iBAAiB,EAAE,iBAAiB;YACpC,MAAM,EAAE,mCAAmC;YAC3C,SAAS,EAAE,IAAI;YACf,aAAa,EAAE,+CAA+C;YAC9D,iBAAiB,EAAE,CAAC,SAAS,CAAC;SAC9B,CAAC;QACF,eAAe,CAAC;YACf,oBAAoB,EAAE,kCAAkC;YACxD,WAAW,EAAE,yCAAyC;YACtD,2BAA2B,EAAE,KAAK;YAClC,gBAAgB,EAAE,KAAK;YACvB,eAAe,EAAE;gBAChB;oBACC,QAAQ,EAAE,CAAC,uBAAuB,EAAE,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"stencil.config.js","sourceRoot":"","sources":["../../../stencil.config.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,OAAO,EAAC,MAAM,kBAAkB,CAAA;AACxC,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAA;AAClC,OAAO,YAAY,MAAM,cAAc,CAAA;AACvC,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAC,iBAAiB,EAAC,MAAM,8BAA8B,CAAA;AAC9D,OAAO,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAC,mBAAmB,EAAC,MAAM,gCAAgC,CAAC;AAEnE,MAAM,CAAC,MAAM,MAAM,GAAW;IAC7B,SAAS,EAAE,MAAM;IACjB,WAAW,EAAE,sBAAsB;IACnC,SAAS,EAAE,OAAO;IAClB,SAAS,EAAE,IAAI;IACf,qBAAqB,EAAE,KAAK;IAC5B,MAAM,EAAE;QACP,qBAAqB,EAAE,IAAI;QAC3B,qBAAqB,EAAE,IAAI;QAC3B,YAAY,EAAE,IAAI;KAClB;IACD,OAAO,EAAE;QACR,IAAI,CAAC;YACJ,iBAAiB,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;SACtF,CAAC;QACF,OAAO,CAAC;YACP,OAAO,EAAE,CAAC,YAAY,EAAE,CAAC;SACzB,CAAC;KACF;IACD,aAAa,EAAE;QACd;YACC,IAAI,EAAE,MAAM;YACZ,aAAa,EAAE,WAAW;SAC1B;QACD;YACC,IAAI,EAAE,aAAa;YACnB,MAAM,EAAE,IAAI;SACZ;QACD;YACC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE;gBACL,EAAC,GAAG,EAAE,iBAAiB,EAAE,IAAI,EAAE,oBAAoB,EAAC;gBACpD,EAAC,GAAG,EAAE,iBAAiB,EAAE,IAAI,EAAE,oBAAoB,EAAC;gBACpD,EAAC,GAAG,EAAE,kBAAkB,EAAE,IAAI,EAAE,qBAAqB,EAAC;gBACtD,EAAC,GAAG,EAAE,uBAAuB,EAAE,IAAI,EAAE,cAAc,EAAC;aACpD;YACD,aAAa,EAAE,IAAI;YACnB,OAAO,EAAE,aAAa;SACtB;QACD;YACC,IAAI,EAAE,qBAAqB;YAC3B,GAAG,EAAE,cAAc;SACnB;QACD;YACC,IAAI,EAAE,sBAAsB;YAC5B,oBAAoB,EAAE,KAAK;YAC3B,eAAe,EAAE,KAAK;YACtB,MAAM,EAAE,IAAI;YACZ,4BAA4B,EAAE,6BAA6B;SAC3D;QAED,iBAAiB,CAAC;YACjB,kBAAkB,EAAE,kCAAkC;YACtD,iBAAiB,EAAE,iBAAiB;YACpC,MAAM,EAAE,mCAAmC;YAC3C,SAAS,EAAE,IAAI;YACf,aAAa,EAAE,+CAA+C;YAC9D,iBAAiB,EAAE,CAAC,SAAS,CAAC;SAC9B,CAAC;QACF,eAAe,CAAC;YACf,oBAAoB,EAAE,kCAAkC;YACxD,WAAW,EAAE,yCAAyC;YACtD,2BAA2B,EAAE,KAAK;YAClC,gBAAgB,EAAE,KAAK;YACvB,eAAe,EAAE;gBAChB;oBACC,QAAQ,EAAE,CAAC,uBAAuB,EAAE,gBAAgB,EAAE,gBAAgB,CAAC;oBACvE,KAAK,EAAE,WAAW;oBAClB,UAAU,EAAE,OAAO;iBACnB;gBACD;oBACC,QAAQ,EAAE,CAAC,uBAAuB,CAAC;oBACnC,KAAK,EAAE,YAAY;oBACnB,UAAU,EAAE,OAAO;iBACnB;gBACD;oBACC,QAAQ,EAAE,CAAC,mBAAmB,EAAE,iBAAiB,CAAC;oBAClD,KAAK,EAAE,YAAY;oBACnB,UAAU,EAAE,SAAS;iBACrB;gBACD;oBACC,QAAQ,EAAE,CAAC,sBAAsB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,yBAAyB,CAAC;oBAC1H,KAAK,EAAE,YAAY;oBACnB,UAAU,EAAE,OAAO;iBACnB;aACD;SACD,CAAC;QACF,mBAAmB,CAAC;YACnB,oBAAoB,EAAE,kCAAkC;YACxD,UAAU,EAAE,WAAW;YACvB,mBAAmB,EAAE,0DAA0D;YAC/E,mBAAmB,EAAE,+DAA+D;SACpF,CAAC;KACF;CACD,CAAA","sourcesContent":["import {Config} from \"@stencil/core\"\nimport {postcss} from \"@stencil/postcss\"\nimport {sass} from \"@stencil/sass\"\nimport autoprefixer from \"autoprefixer\"\nimport path from \"path\"\nimport {reactOutputTarget} from \"@stencil/react-output-target\"\nimport {vueOutputTarget} from \"@stencil/vue-output-target\"\nimport {angularOutputTarget} from '@stencil/angular-output-target';\n\nexport const config: Config = {\n\tnamespace: \"core\",\n\tglobalStyle: \"src/sass/global.scss\",\n\ttaskQueue: \"async\",\n\tsourceMap: true,\n\tinvisiblePrehydration: false,\n\textras: {\n\t\texperimentalSlotFixes: true,\n\t\tenableImportInjection: true,\n\t\tcloneNodeFix: true,\n\t},\n\tplugins: [\n\t\tsass({\n\t\t\tinjectGlobalPaths: [path.resolve(__dirname, `src/sass/core.scss`).replace(/\\\\/g, \"/\")],\n\t\t}),\n\t\tpostcss({\n\t\t\tplugins: [autoprefixer()],\n\t\t}),\n\t],\n\toutputTargets: [\n\t\t{\n\t\t\ttype: \"dist\",\n\t\t\tesmLoaderPath: \"../loader\",\n\t\t},\n\t\t{\n\t\t\ttype: \"docs-readme\",\n\t\t\tstrict: true,\n\t\t},\n\t\t{\n\t\t\ttype: \"www\",\n\t\t\tcopy: [\n\t\t\t\t{src: \"../../fonts/lib\", dest: \"build/assets/fonts\"},\n\t\t\t\t{src: \"../../icons/lib\", dest: \"build/assets/icons\"},\n\t\t\t\t{src: \"../../styles/lib\", dest: \"build/assets/styles\"},\n\t\t\t\t{src: \"../../core/src/assets\", dest: \"build/assets\"},\n\t\t\t],\n\t\t\tserviceWorker: null,\n\t\t\tbaseUrl: '/playground'\n\t\t},\n\t\t{\n\t\t\ttype: \"dist-hydrate-script\",\n\t\t\tdir: \"dist/hydrate\",\n\t\t},\n\t\t{\n\t\t\ttype: \"dist-custom-elements\",\n\t\t\tincludeGlobalScripts: false,\n\t\t\texternalRuntime: false,\n\t\t\tminify: true,\n\t\t\tcustomElementsExportBehavior: 'auto-define-custom-elements'\n\t\t},\n\n\t\treactOutputTarget({\n\t\t\tstencilPackageName: \"@gov-design-system-ce/components\",\n\t\t\tcustomElementsDir: \"dist/components\",\n\t\t\toutDir: \"../../../packages/core-react/lib/\",\n\t\t\tesModules: true,\n\t\t\thydrateModule: '@gov-design-system-ce/components/dist/hydrate',\n\t\t\texcludeComponents: ['gov-app']\n\t\t}),\n\t\tvueOutputTarget({\n\t\t\tcomponentCorePackage: \"@gov-design-system-ce/components\",\n\t\t\tproxiesFile: \"../../../packages/core-vue/lib/index.ts\",\n\t\t\tincludeImportCustomElements: false,\n\t\t\tincludePolyfills: false,\n\t\t\tcomponentModels: [\n\t\t\t\t{\n\t\t\t\t\telements: ['gov-form-autocomplete', 'gov-form-input', 'gov-form-range'],\n\t\t\t\t\tevent: 'gov-input',\n\t\t\t\t\ttargetAttr: 'value',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\telements: ['gov-form-autocomplete'],\n\t\t\t\t\tevent: 'gov-select',\n\t\t\t\t\ttargetAttr: 'value',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\telements: ['gov-form-checkbox', 'gov-form-switch'],\n\t\t\t\t\tevent: 'gov-change',\n\t\t\t\t\ttargetAttr: 'checked',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\telements: ['gov-form-multiselect', 'gov-form-select', 'gov-form-radio', 'gov-form-radio-group', 'gov-form-checkbox-group'],\n\t\t\t\t\tevent: 'gov-change',\n\t\t\t\t\ttargetAttr: 'value',\n\t\t\t\t},\n\t\t\t],\n\t\t}),\n\t\tangularOutputTarget({\n\t\t\tcomponentCorePackage: \"@gov-design-system-ce/components\",\n\t\t\toutputType: 'component',\n\t\t\tdirectivesProxyFile: '../../../packages/core-angular/src/directives/proxies.ts',\n\t\t\tdirectivesArrayFile: '../../../packages/core-angular/src/directives/proxies-list.ts',\n\t\t}),\n\t],\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BannerBackgroundsType, BannerForegroundsType, BannerSizesType, BannerTextColorsType } from "./constants";
|
|
2
2
|
export declare class GovBanner {
|
|
3
3
|
private h;
|
|
4
4
|
constructor();
|
|
@@ -19,20 +19,10 @@ export declare class GovBanner {
|
|
|
19
19
|
* XL Banner’s text color
|
|
20
20
|
*/
|
|
21
21
|
readonly textColor: BannerTextColorsType;
|
|
22
|
-
/**
|
|
23
|
-
* Adds accessible label for the banner that is only shown for screen readers.
|
|
24
|
-
*/
|
|
25
|
-
readonly accessibleLabel: string;
|
|
26
|
-
/**
|
|
27
|
-
* String of id's that indicate alternative labels elements
|
|
28
|
-
*/
|
|
29
|
-
readonly accessibleLabelledBy: string;
|
|
30
22
|
validateSize(newValue: string): void;
|
|
23
|
+
validateBackground(newValue: string): void;
|
|
24
|
+
validateForeground(newValue: string): void;
|
|
25
|
+
validateTextColor(newValue: string): void;
|
|
31
26
|
componentWillLoad(): void;
|
|
32
|
-
componentDidRender(): Promise<void>;
|
|
33
27
|
render(): any;
|
|
34
|
-
/**
|
|
35
|
-
* Validate the accessibility attributes of the component
|
|
36
|
-
*/
|
|
37
|
-
validateAccessibility(): Promise<void>;
|
|
38
28
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { CardDirectionType } from './constants';
|
|
3
3
|
import { GovCardChangeEvent } from './interfaces';
|
|
4
|
+
import { ButtonTargetType } from "../gov-button/button/constants";
|
|
4
5
|
export declare class GovCard {
|
|
5
6
|
private h;
|
|
6
7
|
private readonly headlineId;
|
|
@@ -20,6 +21,15 @@ export declare class GovCard {
|
|
|
20
21
|
* Defines whether the card is open or closed
|
|
21
22
|
*/
|
|
22
23
|
open: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Link on whole card
|
|
26
|
+
*/
|
|
27
|
+
readonly href: string;
|
|
28
|
+
/**
|
|
29
|
+
* Same as original parameter
|
|
30
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target
|
|
31
|
+
*/
|
|
32
|
+
readonly target?: ButtonTargetType;
|
|
23
33
|
/**
|
|
24
34
|
* Adds accessible label for the collapsible button that is only shown for screen readers.
|
|
25
35
|
*/
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Sizes } from "../../../core/constants/sizes";
|
|
2
|
+
import { ValueOf } from "../../../types/interfaces";
|
|
3
|
+
export declare const FormRangeSizes: Pick<typeof Sizes, "_S" | "_M" | "_L">;
|
|
4
|
+
export type FormRangeSizesType = `${ValueOf<typeof FormRangeSizes>}`;
|
|
5
|
+
export declare const FormRangeClass: {
|
|
6
|
+
root: string;
|
|
7
|
+
fill: string;
|
|
8
|
+
input: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { FormRangeSizesType } from './constants';
|
|
3
|
+
import { Attributes } from "../../../helpers/Dom/attribute";
|
|
4
|
+
import { FormInputEvent } from "../input/gov-form-input.types";
|
|
5
|
+
export declare class GovFormRange {
|
|
6
|
+
private inputRef?;
|
|
7
|
+
private outputRef?;
|
|
8
|
+
private fillRef?;
|
|
9
|
+
private f;
|
|
10
|
+
private readonly h;
|
|
11
|
+
private readonly inputId;
|
|
12
|
+
private attributeObserver;
|
|
13
|
+
constructor();
|
|
14
|
+
host: HTMLGovFormRangeElement;
|
|
15
|
+
/**
|
|
16
|
+
* Range’s size
|
|
17
|
+
*/
|
|
18
|
+
readonly size?: FormRangeSizesType;
|
|
19
|
+
/**
|
|
20
|
+
* Value of range
|
|
21
|
+
*/
|
|
22
|
+
value: string;
|
|
23
|
+
/**
|
|
24
|
+
* Custom range identifier
|
|
25
|
+
*/
|
|
26
|
+
readonly identifier: string;
|
|
27
|
+
/**
|
|
28
|
+
* Name of the range
|
|
29
|
+
*/
|
|
30
|
+
readonly name: string;
|
|
31
|
+
/**
|
|
32
|
+
* Minimum value that is acceptable
|
|
33
|
+
*/
|
|
34
|
+
readonly min?: string | number;
|
|
35
|
+
/**
|
|
36
|
+
* Maximum value that is acceptable
|
|
37
|
+
*/
|
|
38
|
+
readonly max?: string | number;
|
|
39
|
+
/**
|
|
40
|
+
* Defines size of each step
|
|
41
|
+
*/
|
|
42
|
+
readonly step?: string | number;
|
|
43
|
+
/**
|
|
44
|
+
* Show tooltip with current value
|
|
45
|
+
*/
|
|
46
|
+
readonly tooltip?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Show input with current value
|
|
49
|
+
*/
|
|
50
|
+
readonly input?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Links a <datalist/> element to a <input type="range">, providing value markers as guidance for the user
|
|
53
|
+
*/
|
|
54
|
+
readonly listIdentifier?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Set whether the range is required or not
|
|
57
|
+
*/
|
|
58
|
+
readonly required: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Indicates the entered value of child form element does conform to the format expected by the application
|
|
61
|
+
*/
|
|
62
|
+
readonly success: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Indicates the entered value does not conform to the format expected by the application
|
|
65
|
+
*/
|
|
66
|
+
readonly invalid: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Makes the range component disabled
|
|
69
|
+
*/
|
|
70
|
+
readonly disabled: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Emitted when the input has focus.
|
|
73
|
+
*/
|
|
74
|
+
govFocus: EventEmitter<FormInputEvent>;
|
|
75
|
+
/**
|
|
76
|
+
* Emitted when the input loses focus.
|
|
77
|
+
*/
|
|
78
|
+
govBlur: EventEmitter<FormInputEvent>;
|
|
79
|
+
/**
|
|
80
|
+
* Emitted when the input change value.
|
|
81
|
+
*/
|
|
82
|
+
govInput: EventEmitter<FormInputEvent>;
|
|
83
|
+
validateSize(newValue: string): void;
|
|
84
|
+
watchValue(): void;
|
|
85
|
+
watchControlAttrs(): void;
|
|
86
|
+
inheritedAttributes: Attributes;
|
|
87
|
+
private passControlAttrs;
|
|
88
|
+
private get getThumbWidth();
|
|
89
|
+
private controlOutputPosition;
|
|
90
|
+
componentDidLoad(): void;
|
|
91
|
+
componentWillLoad(): void;
|
|
92
|
+
componentDidRender(): void;
|
|
93
|
+
onAriaAttributeChange(attributeName: string, newValue: string): void;
|
|
94
|
+
disconnectedCallback(): void;
|
|
95
|
+
render(): any;
|
|
96
|
+
onCustomInputHandler(e: InputEvent): boolean;
|
|
97
|
+
private onInputHandler;
|
|
98
|
+
private onFocusHandler;
|
|
99
|
+
private onBlurHandler;
|
|
100
|
+
/**
|
|
101
|
+
* Returns the current state of the component
|
|
102
|
+
*/
|
|
103
|
+
setFocus(options?: FocusOptions): Promise<void>;
|
|
104
|
+
/**
|
|
105
|
+
* Sets the ordered value of the element
|
|
106
|
+
*/
|
|
107
|
+
setValue(value: string): Promise<void>;
|
|
108
|
+
/**
|
|
109
|
+
* Clears input value
|
|
110
|
+
*/
|
|
111
|
+
clearValue(): Promise<void>;
|
|
112
|
+
/**
|
|
113
|
+
* Returns an instance of the native html input element
|
|
114
|
+
*/
|
|
115
|
+
getRef(): Promise<HTMLInputElement>;
|
|
116
|
+
}
|
|
@@ -12,6 +12,10 @@ export declare class GovLink {
|
|
|
12
12
|
* Element size.
|
|
13
13
|
*/
|
|
14
14
|
readonly external?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Cutting text to one line
|
|
17
|
+
*/
|
|
18
|
+
readonly truncate?: boolean;
|
|
15
19
|
/**
|
|
16
20
|
* Same as original parameter
|
|
17
21
|
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href
|
|
@@ -8,7 +8,7 @@ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
|
8
8
|
import { AccordionSizeType } from "./components/gov-accordion/constants";
|
|
9
9
|
import { AccordionEvent, AccordionItemEvent } from "./components/gov-accordion/gov-accordion.types";
|
|
10
10
|
import { BannerBackgroundsType, BannerForegroundsType, BannerSizesType, BannerTextColorsType } from "./components/gov-banner/constants";
|
|
11
|
-
import { BlockquoteTypesType } from "./components/gov-
|
|
11
|
+
import { BlockquoteTypesType } from "./components/gov-blockquote/constants";
|
|
12
12
|
import { GovBreadcrumbsChangeEvent } from "./components/gov-breadcrumbs/gov-breadcrumbs.d";
|
|
13
13
|
import { ButtonColorType, ButtonSizesType, ButtonTargetType, ButtonTypesType, NativeTypesType } from "./components/gov-button/button/constants";
|
|
14
14
|
import { ButtonEvent } from "./components/gov-button/button/gov-button.types";
|
|
@@ -37,6 +37,7 @@ import { FormMultiselectEvent, GovFormMultiSelectItem, GovFormMultiSelectSelecte
|
|
|
37
37
|
import { FormMultiselectSizesType } from "./components/gov-form/multiselect/constants";
|
|
38
38
|
import { FormRadioSizesType } from "./components/gov-form/radio/constants";
|
|
39
39
|
import { FormRadioEvent } from "./components/gov-form/radio/gov-form-radio.types";
|
|
40
|
+
import { FormRangeSizesType } from "./components/gov-form/range/constants";
|
|
40
41
|
import { FormSearchColorType, FormSearchSizesType } from "./components/gov-form/search/constants";
|
|
41
42
|
import { FormSelectEvent, FormSelectOption } from "./components/gov-form/select/gov-form-select.types";
|
|
42
43
|
import { FormSelectSizesType } from "./components/gov-form/select/constants";
|
|
@@ -69,7 +70,7 @@ import { WizardItemEvent } from "./components/gov-wizard/gov-wizard-item.types";
|
|
|
69
70
|
export { AccordionSizeType } from "./components/gov-accordion/constants";
|
|
70
71
|
export { AccordionEvent, AccordionItemEvent } from "./components/gov-accordion/gov-accordion.types";
|
|
71
72
|
export { BannerBackgroundsType, BannerForegroundsType, BannerSizesType, BannerTextColorsType } from "./components/gov-banner/constants";
|
|
72
|
-
export { BlockquoteTypesType } from "./components/gov-
|
|
73
|
+
export { BlockquoteTypesType } from "./components/gov-blockquote/constants";
|
|
73
74
|
export { GovBreadcrumbsChangeEvent } from "./components/gov-breadcrumbs/gov-breadcrumbs.d";
|
|
74
75
|
export { ButtonColorType, ButtonSizesType, ButtonTargetType, ButtonTypesType, NativeTypesType } from "./components/gov-button/button/constants";
|
|
75
76
|
export { ButtonEvent } from "./components/gov-button/button/gov-button.types";
|
|
@@ -98,6 +99,7 @@ export { FormMultiselectEvent, GovFormMultiSelectItem, GovFormMultiSelectSelecte
|
|
|
98
99
|
export { FormMultiselectSizesType } from "./components/gov-form/multiselect/constants";
|
|
99
100
|
export { FormRadioSizesType } from "./components/gov-form/radio/constants";
|
|
100
101
|
export { FormRadioEvent } from "./components/gov-form/radio/gov-form-radio.types";
|
|
102
|
+
export { FormRangeSizesType } from "./components/gov-form/range/constants";
|
|
101
103
|
export { FormSearchColorType, FormSearchSizesType } from "./components/gov-form/search/constants";
|
|
102
104
|
export { FormSelectEvent, FormSelectOption } from "./components/gov-form/select/gov-form-select.types";
|
|
103
105
|
export { FormSelectSizesType } from "./components/gov-form/select/constants";
|
|
@@ -215,14 +217,6 @@ export namespace Components {
|
|
|
215
217
|
"validateAccessibility": () => Promise<void>;
|
|
216
218
|
}
|
|
217
219
|
interface GovBanner {
|
|
218
|
-
/**
|
|
219
|
-
* Adds accessible label for the banner that is only shown for screen readers.
|
|
220
|
-
*/
|
|
221
|
-
"accessibleLabel": string;
|
|
222
|
-
/**
|
|
223
|
-
* String of id's that indicate alternative labels elements
|
|
224
|
-
*/
|
|
225
|
-
"accessibleLabelledBy": string;
|
|
226
220
|
/**
|
|
227
221
|
* Banner’s background
|
|
228
222
|
*/
|
|
@@ -239,10 +233,6 @@ export namespace Components {
|
|
|
239
233
|
* XL Banner’s text color
|
|
240
234
|
*/
|
|
241
235
|
"textColor": BannerTextColorsType;
|
|
242
|
-
/**
|
|
243
|
-
* Validate the accessibility attributes of the component
|
|
244
|
-
*/
|
|
245
|
-
"validateAccessibility": () => Promise<void>;
|
|
246
236
|
}
|
|
247
237
|
interface GovBlockquote {
|
|
248
238
|
/**
|
|
@@ -382,10 +372,19 @@ export namespace Components {
|
|
|
382
372
|
* Card direction
|
|
383
373
|
*/
|
|
384
374
|
"direction": CardDirectionType;
|
|
375
|
+
/**
|
|
376
|
+
* Link on whole card
|
|
377
|
+
*/
|
|
378
|
+
"href": string;
|
|
385
379
|
/**
|
|
386
380
|
* Defines whether the card is open or closed
|
|
387
381
|
*/
|
|
388
382
|
"open": boolean;
|
|
383
|
+
/**
|
|
384
|
+
* Same as original parameter
|
|
385
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target
|
|
386
|
+
*/
|
|
387
|
+
"target"?: ButtonTargetType;
|
|
389
388
|
/**
|
|
390
389
|
* Validate the accessible attributes of the component
|
|
391
390
|
*/
|
|
@@ -1131,6 +1130,80 @@ export namespace Components {
|
|
|
1131
1130
|
*/
|
|
1132
1131
|
"value"?: string;
|
|
1133
1132
|
}
|
|
1133
|
+
interface GovFormRange {
|
|
1134
|
+
/**
|
|
1135
|
+
* Clears input value
|
|
1136
|
+
*/
|
|
1137
|
+
"clearValue": () => Promise<void>;
|
|
1138
|
+
/**
|
|
1139
|
+
* Makes the range component disabled
|
|
1140
|
+
*/
|
|
1141
|
+
"disabled": boolean;
|
|
1142
|
+
/**
|
|
1143
|
+
* Returns an instance of the native html input element
|
|
1144
|
+
*/
|
|
1145
|
+
"getRef": () => Promise<HTMLInputElement>;
|
|
1146
|
+
/**
|
|
1147
|
+
* Custom range identifier
|
|
1148
|
+
*/
|
|
1149
|
+
"identifier": string;
|
|
1150
|
+
/**
|
|
1151
|
+
* Show input with current value
|
|
1152
|
+
*/
|
|
1153
|
+
"input"?: boolean;
|
|
1154
|
+
/**
|
|
1155
|
+
* Indicates the entered value does not conform to the format expected by the application
|
|
1156
|
+
*/
|
|
1157
|
+
"invalid": boolean;
|
|
1158
|
+
/**
|
|
1159
|
+
* Links a <datalist/> element to a <input type="range">, providing value markers as guidance for the user
|
|
1160
|
+
*/
|
|
1161
|
+
"listIdentifier"?: string;
|
|
1162
|
+
/**
|
|
1163
|
+
* Maximum value that is acceptable
|
|
1164
|
+
*/
|
|
1165
|
+
"max"?: string | number;
|
|
1166
|
+
/**
|
|
1167
|
+
* Minimum value that is acceptable
|
|
1168
|
+
*/
|
|
1169
|
+
"min"?: string | number;
|
|
1170
|
+
/**
|
|
1171
|
+
* Name of the range
|
|
1172
|
+
*/
|
|
1173
|
+
"name": string;
|
|
1174
|
+
/**
|
|
1175
|
+
* Set whether the range is required or not
|
|
1176
|
+
*/
|
|
1177
|
+
"required": boolean;
|
|
1178
|
+
/**
|
|
1179
|
+
* Returns the current state of the component
|
|
1180
|
+
*/
|
|
1181
|
+
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
1182
|
+
/**
|
|
1183
|
+
* Sets the ordered value of the element
|
|
1184
|
+
*/
|
|
1185
|
+
"setValue": (value: string) => Promise<void>;
|
|
1186
|
+
/**
|
|
1187
|
+
* Range’s size
|
|
1188
|
+
*/
|
|
1189
|
+
"size"?: FormRangeSizesType;
|
|
1190
|
+
/**
|
|
1191
|
+
* Defines size of each step
|
|
1192
|
+
*/
|
|
1193
|
+
"step"?: string | number;
|
|
1194
|
+
/**
|
|
1195
|
+
* Indicates the entered value of child form element does conform to the format expected by the application
|
|
1196
|
+
*/
|
|
1197
|
+
"success": boolean;
|
|
1198
|
+
/**
|
|
1199
|
+
* Show tooltip with current value
|
|
1200
|
+
*/
|
|
1201
|
+
"tooltip"?: boolean;
|
|
1202
|
+
/**
|
|
1203
|
+
* Value of range
|
|
1204
|
+
*/
|
|
1205
|
+
"value": string;
|
|
1206
|
+
}
|
|
1134
1207
|
interface GovFormSearch {
|
|
1135
1208
|
/**
|
|
1136
1209
|
* Style variation of the form input.
|
|
@@ -1370,6 +1443,10 @@ export namespace Components {
|
|
|
1370
1443
|
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target
|
|
1371
1444
|
*/
|
|
1372
1445
|
"target": string;
|
|
1446
|
+
/**
|
|
1447
|
+
* Cutting text to one line
|
|
1448
|
+
*/
|
|
1449
|
+
"truncate"?: boolean;
|
|
1373
1450
|
}
|
|
1374
1451
|
interface GovLoading {
|
|
1375
1452
|
/**
|
|
@@ -1895,6 +1972,10 @@ export interface GovFormRadioGroupCustomEvent<T> extends CustomEvent<T> {
|
|
|
1895
1972
|
detail: T;
|
|
1896
1973
|
target: HTMLGovFormRadioGroupElement;
|
|
1897
1974
|
}
|
|
1975
|
+
export interface GovFormRangeCustomEvent<T> extends CustomEvent<T> {
|
|
1976
|
+
detail: T;
|
|
1977
|
+
target: HTMLGovFormRangeElement;
|
|
1978
|
+
}
|
|
1898
1979
|
export interface GovFormSelectCustomEvent<T> extends CustomEvent<T> {
|
|
1899
1980
|
detail: T;
|
|
1900
1981
|
target: HTMLGovFormSelectElement;
|
|
@@ -2363,6 +2444,25 @@ declare global {
|
|
|
2363
2444
|
prototype: HTMLGovFormRadioGroupElement;
|
|
2364
2445
|
new (): HTMLGovFormRadioGroupElement;
|
|
2365
2446
|
};
|
|
2447
|
+
interface HTMLGovFormRangeElementEventMap {
|
|
2448
|
+
"gov-focus": FormInputEvent;
|
|
2449
|
+
"gov-blur": FormInputEvent;
|
|
2450
|
+
"gov-input": FormInputEvent;
|
|
2451
|
+
}
|
|
2452
|
+
interface HTMLGovFormRangeElement extends Components.GovFormRange, HTMLStencilElement {
|
|
2453
|
+
addEventListener<K extends keyof HTMLGovFormRangeElementEventMap>(type: K, listener: (this: HTMLGovFormRangeElement, ev: GovFormRangeCustomEvent<HTMLGovFormRangeElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2454
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2455
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2456
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2457
|
+
removeEventListener<K extends keyof HTMLGovFormRangeElementEventMap>(type: K, listener: (this: HTMLGovFormRangeElement, ev: GovFormRangeCustomEvent<HTMLGovFormRangeElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2458
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2459
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2460
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2461
|
+
}
|
|
2462
|
+
var HTMLGovFormRangeElement: {
|
|
2463
|
+
prototype: HTMLGovFormRangeElement;
|
|
2464
|
+
new (): HTMLGovFormRangeElement;
|
|
2465
|
+
};
|
|
2366
2466
|
interface HTMLGovFormSearchElement extends Components.GovFormSearch, HTMLStencilElement {
|
|
2367
2467
|
}
|
|
2368
2468
|
var HTMLGovFormSearchElement: {
|
|
@@ -2689,6 +2789,7 @@ declare global {
|
|
|
2689
2789
|
"gov-form-password-power": HTMLGovFormPasswordPowerElement;
|
|
2690
2790
|
"gov-form-radio": HTMLGovFormRadioElement;
|
|
2691
2791
|
"gov-form-radio-group": HTMLGovFormRadioGroupElement;
|
|
2792
|
+
"gov-form-range": HTMLGovFormRangeElement;
|
|
2692
2793
|
"gov-form-search": HTMLGovFormSearchElement;
|
|
2693
2794
|
"gov-form-select": HTMLGovFormSelectElement;
|
|
2694
2795
|
"gov-form-switch": HTMLGovFormSwitchElement;
|
|
@@ -2803,14 +2904,6 @@ declare namespace LocalJSX {
|
|
|
2803
2904
|
"onGov-click"?: (event: GovBackdropCustomEvent<MouseEvent>) => void;
|
|
2804
2905
|
}
|
|
2805
2906
|
interface GovBanner {
|
|
2806
|
-
/**
|
|
2807
|
-
* Adds accessible label for the banner that is only shown for screen readers.
|
|
2808
|
-
*/
|
|
2809
|
-
"accessibleLabel"?: string;
|
|
2810
|
-
/**
|
|
2811
|
-
* String of id's that indicate alternative labels elements
|
|
2812
|
-
*/
|
|
2813
|
-
"accessibleLabelledBy"?: string;
|
|
2814
2907
|
/**
|
|
2815
2908
|
* Banner’s background
|
|
2816
2909
|
*/
|
|
@@ -2966,6 +3059,10 @@ declare namespace LocalJSX {
|
|
|
2966
3059
|
* Card direction
|
|
2967
3060
|
*/
|
|
2968
3061
|
"direction"?: CardDirectionType;
|
|
3062
|
+
/**
|
|
3063
|
+
* Link on whole card
|
|
3064
|
+
*/
|
|
3065
|
+
"href"?: string;
|
|
2969
3066
|
/**
|
|
2970
3067
|
* Called when the card toggle state changes
|
|
2971
3068
|
*/
|
|
@@ -2974,6 +3071,11 @@ declare namespace LocalJSX {
|
|
|
2974
3071
|
* Defines whether the card is open or closed
|
|
2975
3072
|
*/
|
|
2976
3073
|
"open"?: boolean;
|
|
3074
|
+
/**
|
|
3075
|
+
* Same as original parameter
|
|
3076
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target
|
|
3077
|
+
*/
|
|
3078
|
+
"target"?: ButtonTargetType;
|
|
2977
3079
|
}
|
|
2978
3080
|
interface GovChip {
|
|
2979
3081
|
/**
|
|
@@ -3738,6 +3840,76 @@ declare namespace LocalJSX {
|
|
|
3738
3840
|
*/
|
|
3739
3841
|
"value"?: string;
|
|
3740
3842
|
}
|
|
3843
|
+
interface GovFormRange {
|
|
3844
|
+
/**
|
|
3845
|
+
* Makes the range component disabled
|
|
3846
|
+
*/
|
|
3847
|
+
"disabled"?: boolean;
|
|
3848
|
+
/**
|
|
3849
|
+
* Custom range identifier
|
|
3850
|
+
*/
|
|
3851
|
+
"identifier"?: string;
|
|
3852
|
+
/**
|
|
3853
|
+
* Show input with current value
|
|
3854
|
+
*/
|
|
3855
|
+
"input"?: boolean;
|
|
3856
|
+
/**
|
|
3857
|
+
* Indicates the entered value does not conform to the format expected by the application
|
|
3858
|
+
*/
|
|
3859
|
+
"invalid"?: boolean;
|
|
3860
|
+
/**
|
|
3861
|
+
* Links a <datalist/> element to a <input type="range">, providing value markers as guidance for the user
|
|
3862
|
+
*/
|
|
3863
|
+
"listIdentifier"?: string;
|
|
3864
|
+
/**
|
|
3865
|
+
* Maximum value that is acceptable
|
|
3866
|
+
*/
|
|
3867
|
+
"max"?: string | number;
|
|
3868
|
+
/**
|
|
3869
|
+
* Minimum value that is acceptable
|
|
3870
|
+
*/
|
|
3871
|
+
"min"?: string | number;
|
|
3872
|
+
/**
|
|
3873
|
+
* Name of the range
|
|
3874
|
+
*/
|
|
3875
|
+
"name"?: string;
|
|
3876
|
+
/**
|
|
3877
|
+
* Emitted when the input loses focus.
|
|
3878
|
+
*/
|
|
3879
|
+
"onGov-blur"?: (event: GovFormRangeCustomEvent<FormInputEvent>) => void;
|
|
3880
|
+
/**
|
|
3881
|
+
* Emitted when the input has focus.
|
|
3882
|
+
*/
|
|
3883
|
+
"onGov-focus"?: (event: GovFormRangeCustomEvent<FormInputEvent>) => void;
|
|
3884
|
+
/**
|
|
3885
|
+
* Emitted when the input change value.
|
|
3886
|
+
*/
|
|
3887
|
+
"onGov-input"?: (event: GovFormRangeCustomEvent<FormInputEvent>) => void;
|
|
3888
|
+
/**
|
|
3889
|
+
* Set whether the range is required or not
|
|
3890
|
+
*/
|
|
3891
|
+
"required"?: boolean;
|
|
3892
|
+
/**
|
|
3893
|
+
* Range’s size
|
|
3894
|
+
*/
|
|
3895
|
+
"size"?: FormRangeSizesType;
|
|
3896
|
+
/**
|
|
3897
|
+
* Defines size of each step
|
|
3898
|
+
*/
|
|
3899
|
+
"step"?: string | number;
|
|
3900
|
+
/**
|
|
3901
|
+
* Indicates the entered value of child form element does conform to the format expected by the application
|
|
3902
|
+
*/
|
|
3903
|
+
"success"?: boolean;
|
|
3904
|
+
/**
|
|
3905
|
+
* Show tooltip with current value
|
|
3906
|
+
*/
|
|
3907
|
+
"tooltip"?: boolean;
|
|
3908
|
+
/**
|
|
3909
|
+
* Value of range
|
|
3910
|
+
*/
|
|
3911
|
+
"value"?: string;
|
|
3912
|
+
}
|
|
3741
3913
|
interface GovFormSearch {
|
|
3742
3914
|
/**
|
|
3743
3915
|
* Style variation of the form input.
|
|
@@ -3993,6 +4165,10 @@ declare namespace LocalJSX {
|
|
|
3993
4165
|
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target
|
|
3994
4166
|
*/
|
|
3995
4167
|
"target"?: string;
|
|
4168
|
+
/**
|
|
4169
|
+
* Cutting text to one line
|
|
4170
|
+
*/
|
|
4171
|
+
"truncate"?: boolean;
|
|
3996
4172
|
}
|
|
3997
4173
|
interface GovLoading {
|
|
3998
4174
|
/**
|
|
@@ -4438,6 +4614,7 @@ declare namespace LocalJSX {
|
|
|
4438
4614
|
"gov-form-password-power": GovFormPasswordPower;
|
|
4439
4615
|
"gov-form-radio": GovFormRadio;
|
|
4440
4616
|
"gov-form-radio-group": GovFormRadioGroup;
|
|
4617
|
+
"gov-form-range": GovFormRange;
|
|
4441
4618
|
"gov-form-search": GovFormSearch;
|
|
4442
4619
|
"gov-form-select": GovFormSelect;
|
|
4443
4620
|
"gov-form-switch": GovFormSwitch;
|
|
@@ -4504,6 +4681,7 @@ declare module "@stencil/core" {
|
|
|
4504
4681
|
"gov-form-password-power": LocalJSX.GovFormPasswordPower & JSXBase.HTMLAttributes<HTMLGovFormPasswordPowerElement>;
|
|
4505
4682
|
"gov-form-radio": LocalJSX.GovFormRadio & JSXBase.HTMLAttributes<HTMLGovFormRadioElement>;
|
|
4506
4683
|
"gov-form-radio-group": LocalJSX.GovFormRadioGroup & JSXBase.HTMLAttributes<HTMLGovFormRadioGroupElement>;
|
|
4684
|
+
"gov-form-range": LocalJSX.GovFormRange & JSXBase.HTMLAttributes<HTMLGovFormRangeElement>;
|
|
4507
4685
|
"gov-form-search": LocalJSX.GovFormSearch & JSXBase.HTMLAttributes<HTMLGovFormSearchElement>;
|
|
4508
4686
|
"gov-form-select": LocalJSX.GovFormSelect & JSXBase.HTMLAttributes<HTMLGovFormSelectElement>;
|
|
4509
4687
|
"gov-form-switch": LocalJSX.GovFormSwitch & JSXBase.HTMLAttributes<HTMLGovFormSwitchElement>;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@gov-design-system-ce/components",
|
|
3
3
|
"description": "This package includes Gov Design System Web Components and related utilities.",
|
|
4
4
|
"author": "Zdeněk Vítek",
|
|
5
|
-
"version": "4.2.
|
|
5
|
+
"version": "4.2.1",
|
|
6
6
|
"license": "EUPL v1.2 Licensed",
|
|
7
7
|
"main": "./dist/index.cjs.js",
|
|
8
8
|
"unpkg": "./dist/core/core.esm.js",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"helpers.types-ff60c9bd.js","mappings":";;AAyDO,MAAM,EAAE,GAAG,CAAI,KAA2B,KAAiB,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,CAAC;MAsB3F,cAAc,GAAG,CAC7B,GAAM,EACN,IAAO;IAEP,OAAO,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;AACxD,EAAE;MAEW,QAAQ,GAAG,CAAmB,GAAY,KAAe,OAAO,GAAG,KAAK,SAAS;MACjF,QAAQ,GAAG,CAAC,KAAc,KAAsB,EAAE,CAAC,KAAK,CAAC,IAAI,OAAO,KAAK,KAAK;;;;;;","names":[],"sources":["../../../packages/core/src/utils/helpers.types.ts"],"sourcesContent":["\nexport type Optional<T> = T | undefined;\nexport type Nullable<T> = T | null;\nexport type OptionalProperty<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;\nexport type ValueOf<T> = T[keyof T];\n\nexport type DeepPartial<T> = {\n\t[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];\n};\n\nexport type ObjectOrArrayType<T> = T | T[];\nexport const ObjectOrArray = {\n\tfirst: <T>(item: ObjectOrArrayType<T>): T => (Array.isArray(item) ? item[0] : item),\n\tarray: <T>(item: ObjectOrArrayType<T>): T[] => (Array.isArray(item) ? item : [item]),\n};\n\nexport const Omit = <T extends object, P extends keyof T, R extends Omit<T, P>>(properties: P[], object: T): R =>\n\tObject.entries(object).reduce(\n\t\t(all, [key, value]) => (properties.includes(key as P) ? all : { ...all, [key]: value }),\n\t\t{} as R\n\t);\n\nexport const whenDefined =\n\t<I, O>(fn: (input: I) => O) =>\n\t(value?: I): O | undefined =>\n\t\tvalue ? fn(value) : undefined;\n\n/**\n * Comparator function which defines the sort order\n * @example\n * ```\n * // sorts objects by `id` property\n * [{ id: 3 }, { id: 2 }, { id: 1 }].sort(compare(['id']))\n *\n * // sorts objects by `id` and `name` properties\n * [{ id: 3, name: 'b' }, { id: 2, name: 'a' }, { id: 1, name: 'b' }].sort(compare(['id', 'name']))\n * ```\n *\n * @param {Array<keyof T>} properties\n * @return {number}\n */\nexport const compare =\n\t<T extends object>(properties: Array<keyof T>) =>\n\t(a: T, b: T): number => {\n\t\tconst [property, ...rest] = properties;\n\t\tif (!property) {\n\t\t\treturn 0;\n\t\t}\n\t\tif (a[property] < b[property]) {\n\t\t\treturn -1;\n\t\t}\n\t\tif (a[property] > b[property]) {\n\t\t\treturn 1;\n\t\t}\n\t\treturn rest.length > 0 ? compare(rest)(a, b) : 0;\n\t};\n\nexport const is = <T>(value: T | undefined | null): value is T => value !== undefined && value !== null;\n\nexport const has =\n\t<T extends object, P extends keyof T>(property: P) =>\n\t(object: OptionalProperty<T, P>): object is T => {\n\t\treturn !!object[property];\n\t};\n\nexport const equals =\n\t<A>(a?: A) =>\n\t(b?: A): boolean =>\n\t\ta === b;\nexport const prop =\n\t<T, P extends keyof T>(property: P) =>\n\t(object: T): T[P] =>\n\t\tobject[property];\n\nexport const propOptional =\n\t<T, P extends keyof T>(property: P) =>\n\t(object?: T): Optional<T[P]> =>\n\t\tobject ? object[property] : undefined;\n\nexport const hasOwnProperty = <X extends object, Y extends PropertyKey>(\n\tobj: X,\n\tprop: Y\n): obj is X & Record<Y, ValueOf<X>> => {\n\treturn Object.prototype.hasOwnProperty.call(obj, prop);\n};\n\nexport const isObject = <T extends object>(obj: unknown): obj is T => typeof obj === 'object';\nexport const isString = (input: unknown): input is string => is(input) && typeof input === 'string';\nexport const isNumber = (input: unknown): input is string => is(input) && typeof input === 'number';\n\ntype Entries<T> = {\n\t[K in keyof T]: [K, T[K]];\n}[keyof T][];\nexport const getEntries = <T extends object>(obj: T) => Object.entries(obj) as Entries<T>;\n\nexport const getKeys = <T extends object>(obj: T) => Object.keys(obj) as Array<keyof T>;\nexport const getValues = <T extends object>(obj: T) => Object.values(obj) as Array<ValueOf<T>>;\n\nexport const first = <T>(array: T[]): Optional<T> => array[0];\n\nexport const pairs = <T>(arr: T[]): Array<[string, string]> =>\n\tarr.flatMap((item1, index1) => arr.flatMap((item2, index2) => (index1 > index2 ? [[item1, item2]] : []))) as any;\n\nexport const find =\n\t<T, S extends T>(predicate: (item: T) => item is S) =>\n\t(array?: T[]): Optional<S> =>\n\t\t(array || []).find(predicate);\nexport const filter =\n\t<T, S extends T>(predicate: (item: T) => item is S) =>\n\t(array?: T[]): S[] =>\n\t\t(array || []).filter(predicate);\n"],"version":3}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-blocquote/constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;IACjB,qCAAmB,CAAA;AACpB,CAAC,EAJW,cAAc,KAAd,cAAc,QAIzB;AAGD,MAAM,CAAC,MAAM,eAAe,GAAG;IAC9B,IAAI,EAAE,gBAAgB;CACtB,CAAA","sourcesContent":["import {ValueOf} from \"../../types/interfaces\";\n\nexport enum BlockquoteType {\n\tPRIMARY = 'primary',\n\tSUBTLE = 'subtle',\n\tNEUTRAL = 'neutral',\n}\nexport type BlockquoteTypesType = `${ValueOf<typeof BlockquoteType>}`\n\nexport const BlockquoteClass = {\n\troot: 'gov-blockquote',\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gov-blockquote.js","sourceRoot":"","sources":["../../../../../../src/components/gov-blocquote/gov-blockquote.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,eAAe,CAAA;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAC,eAAe,EAAE,cAAc,EAAsB,MAAM,aAAa,CAAC;AAMjF,MAAM,OAAO,aAAa;IAGzB;oBAQ4D,cAAc,CAAC,MAAM;;QAPhF,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAYD,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI;YACjE,iEAAU,IAAI,EAAC,YAAY,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,KAAK,GAAY;YAC/D,mEAAY,IAAI,EAAE,IAAI,CAAC,IAAI;gBAC1B,8DAAQ,CACI;YACb,6DAAM,IAAI,EAAC,OAAO,GAAG;YACrB,6DAAM,IAAI,EAAC,QAAQ,GAAG,CAChB,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Host, h, Prop} from '@stencil/core'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport {BlockquoteClass, BlockquoteType, BlockquoteTypesType} from \"./constants\";\n\n\n@Component({\n\ttag: 'gov-blockquote',\n})\nexport class GovBlockquote {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovBlockquoteElement\n\t/**\n\t * Blockquote’s type\n\t */\n\t@Prop({reflect: true}) readonly type: BlockquoteTypesType = BlockquoteType.SUBTLE\n\t/**\n\t * Blockquote’s cite url\n\t */\n\t@Prop({attribute: 'cite'}) readonly cite: string\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(BlockquoteClass.root)} type={this.type}>\n\t\t\t\t<gov-icon type=\"components\" name=\"quote\" size=\"3xl\"></gov-icon>\n\t\t\t\t<blockquote cite={this.cite}>\n\t\t\t\t\t<slot />\n\t\t\t\t</blockquote>\n\t\t\t\t<slot name=\"image\" />\n\t\t\t\t<slot name=\"author\" />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["is","value","undefined","hasOwnProperty","obj","prop","Object","prototype","call","isObject","isString","input"],"sources":["../../../packages/core/src/utils/helpers.types.ts"],"sourcesContent":["\nexport type Optional<T> = T | undefined;\nexport type Nullable<T> = T | null;\nexport type OptionalProperty<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;\nexport type ValueOf<T> = T[keyof T];\n\nexport type DeepPartial<T> = {\n\t[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];\n};\n\nexport type ObjectOrArrayType<T> = T | T[];\nexport const ObjectOrArray = {\n\tfirst: <T>(item: ObjectOrArrayType<T>): T => (Array.isArray(item) ? item[0] : item),\n\tarray: <T>(item: ObjectOrArrayType<T>): T[] => (Array.isArray(item) ? item : [item]),\n};\n\nexport const Omit = <T extends object, P extends keyof T, R extends Omit<T, P>>(properties: P[], object: T): R =>\n\tObject.entries(object).reduce(\n\t\t(all, [key, value]) => (properties.includes(key as P) ? all : { ...all, [key]: value }),\n\t\t{} as R\n\t);\n\nexport const whenDefined =\n\t<I, O>(fn: (input: I) => O) =>\n\t(value?: I): O | undefined =>\n\t\tvalue ? fn(value) : undefined;\n\n/**\n * Comparator function which defines the sort order\n * @example\n * ```\n * // sorts objects by `id` property\n * [{ id: 3 }, { id: 2 }, { id: 1 }].sort(compare(['id']))\n *\n * // sorts objects by `id` and `name` properties\n * [{ id: 3, name: 'b' }, { id: 2, name: 'a' }, { id: 1, name: 'b' }].sort(compare(['id', 'name']))\n * ```\n *\n * @param {Array<keyof T>} properties\n * @return {number}\n */\nexport const compare =\n\t<T extends object>(properties: Array<keyof T>) =>\n\t(a: T, b: T): number => {\n\t\tconst [property, ...rest] = properties;\n\t\tif (!property) {\n\t\t\treturn 0;\n\t\t}\n\t\tif (a[property] < b[property]) {\n\t\t\treturn -1;\n\t\t}\n\t\tif (a[property] > b[property]) {\n\t\t\treturn 1;\n\t\t}\n\t\treturn rest.length > 0 ? compare(rest)(a, b) : 0;\n\t};\n\nexport const is = <T>(value: T | undefined | null): value is T => value !== undefined && value !== null;\n\nexport const has =\n\t<T extends object, P extends keyof T>(property: P) =>\n\t(object: OptionalProperty<T, P>): object is T => {\n\t\treturn !!object[property];\n\t};\n\nexport const equals =\n\t<A>(a?: A) =>\n\t(b?: A): boolean =>\n\t\ta === b;\nexport const prop =\n\t<T, P extends keyof T>(property: P) =>\n\t(object: T): T[P] =>\n\t\tobject[property];\n\nexport const propOptional =\n\t<T, P extends keyof T>(property: P) =>\n\t(object?: T): Optional<T[P]> =>\n\t\tobject ? object[property] : undefined;\n\nexport const hasOwnProperty = <X extends object, Y extends PropertyKey>(\n\tobj: X,\n\tprop: Y\n): obj is X & Record<Y, ValueOf<X>> => {\n\treturn Object.prototype.hasOwnProperty.call(obj, prop);\n};\n\nexport const isObject = <T extends object>(obj: unknown): obj is T => typeof obj === 'object';\nexport const isString = (input: unknown): input is string => is(input) && typeof input === 'string';\nexport const isNumber = (input: unknown): input is string => is(input) && typeof input === 'number';\n\ntype Entries<T> = {\n\t[K in keyof T]: [K, T[K]];\n}[keyof T][];\nexport const getEntries = <T extends object>(obj: T) => Object.entries(obj) as Entries<T>;\n\nexport const getKeys = <T extends object>(obj: T) => Object.keys(obj) as Array<keyof T>;\nexport const getValues = <T extends object>(obj: T) => Object.values(obj) as Array<ValueOf<T>>;\n\nexport const first = <T>(array: T[]): Optional<T> => array[0];\n\nexport const pairs = <T>(arr: T[]): Array<[string, string]> =>\n\tarr.flatMap((item1, index1) => arr.flatMap((item2, index2) => (index1 > index2 ? [[item1, item2]] : []))) as any;\n\nexport const find =\n\t<T, S extends T>(predicate: (item: T) => item is S) =>\n\t(array?: T[]): Optional<S> =>\n\t\t(array || []).find(predicate);\nexport const filter =\n\t<T, S extends T>(predicate: (item: T) => item is S) =>\n\t(array?: T[]): S[] =>\n\t\t(array || []).filter(predicate);\n"],"mappings":"AAyDO,MAAMA,EAASC,GAA4CA,IAAUC,WAAaD,IAAU,K,MAsBtFE,EAAiB,CAC7BC,EACAC,IAEOC,OAAOC,UAAUJ,eAAeK,KAAKJ,EAAKC,G,MAGrCI,EAA8BL,UAAkCA,IAAQ,S,MACxEM,EAAYC,GAAoCX,EAAGW,WAAiBA,IAAU,gB","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{g as e,d as t}from"./p-e8ec030e.js";import{s as r}from"./p-cd6c2938.js";import{i}from"./p-2aedc81e.js";const n=(t,r,i)=>{if(t===undefined||String(t).length===0){e(`[${i}]: The (${r}) attribute is important for correct accessibility.`)}};const a=(i,n,a)=>{if(typeof i==="undefined"||i===undefined){return true}if(String(i).length===0){e(`[${a}]: Attribute (${n}) is defined with an empty value.`);return false}let s=[];const f=r(i);if(Array.isArray(f)){s=f.filter((function(e){return e.trim().length>0}))}return!!s.filter((e=>{if(t().getElementById(e)===null){return false}else{return true}})).length};const s=(r,n,a,s=undefined)=>{if(i(r)&&r.length>0){return true}if(typeof n==="string"&&n.length>0){const e=t().getElementById(n);if(e){return true}}e(`[${a}]: The element has no defined aria-label or aria-labelledby attribute.`,s);return false};export{s as a,a as b,n as v};
|
|
2
|
-
//# sourceMappingURL=p-80dad64b.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{i as r,a as e}from"./p-2aedc81e.js";const n=n=>{if(r(n)&&n.length){try{console.log(n);const r=JSON.parse(n);if(Array.isArray(r)||e(r)){return r}}catch(r){console.log(r);return null}}return null};const t=(r,e)=>{if(Number.isInteger(r)&&Number.isInteger(e)){return[...Array(e+1).keys()].slice(r)}return[]};const s=e=>{if(Array.isArray(e)){return e}else if(r(e)){const r=n(e);if(Array.isArray(r)){return r}}return[]};export{t as c,s as p};
|
|
2
|
-
//# sourceMappingURL=p-ded281e6.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as s,H as e,h as t,d as a}from"./p-42200001.js";import{F as o,a as i}from"./p-7f3becc5.js";import{g as r}from"./p-ea7fdd2e.js";import{v as c}from"./p-0b3574c2.js";import{c as d}from"./p-cd6c2938.js";const f=s(class s extends e{constructor(){super();this.__registerHost();this.color="neutral";this.size="m";this.h=r(this.host);this.messageId=d("GovFormMessage")}validateColor(s){c(i,s,o.root)}componentWillLoad(){this.validateColor(this.color)}render(){return t(a,{key:"dbc990cf3a48496a4905a768b3a7c662d42cc3ad",class:this.h.classes(o.root),color:this.color,size:this.size},this.h.hasSlot("icon")&&t("slot",{key:"600a149b56204308139aa026aea04dc5d872a7fe",name:"icon"}),t("span",{key:"61d47c46b469a1c070d2a0f7df3a47f8a878ba6f",id:this.messageId,class:o.content},t("slot",{key:"ff74d2926ddb5c3c79349d28906ff41a2485fde5"})))}async identifier(){return this.messageId}get host(){return this}static get watchers(){return{color:["validateColor"]}}},[4,"gov-form-message",{color:[1],size:[1],identifier:[64]},undefined,{color:["validateColor"]}]);function n(){if(typeof customElements==="undefined"){return}const s=["gov-form-message"];s.forEach((s=>{switch(s){case"gov-form-message":if(!customElements.get(s)){customElements.define(s,f)}break}}))}n();export{f as G,n as d};
|
|
2
|
-
//# sourceMappingURL=p-f9a1ff6e.js.map
|