@gov-design-system-ce/components 4.0.4 → 4.0.5
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/LICENSE +21 -0
- package/package.json +1 -1
- package/readme.md +8 -0
- package/dist/cjs/Fragment-52846f79.js +0 -7
- package/dist/cjs/Fragment-52846f79.js.map +0 -1
- package/dist/cjs/constants-0c6c8e11.js +0 -30
- package/dist/cjs/constants-0c6c8e11.js.map +0 -1
- package/dist/cjs/constants-1490a5eb.js +0 -25
- package/dist/cjs/constants-1490a5eb.js.map +0 -1
- package/dist/cjs/constants-20b3f7ee.js +0 -28
- package/dist/cjs/constants-20b3f7ee.js.map +0 -1
- package/dist/cjs/constants-25f7a6be.js +0 -22
- package/dist/cjs/constants-25f7a6be.js.map +0 -1
- package/dist/cjs/constants-2b1c31b8.js +0 -15
- package/dist/cjs/constants-2b1c31b8.js.map +0 -1
- package/dist/cjs/constants-427a2843.js +0 -33
- package/dist/cjs/constants-427a2843.js.map +0 -1
- package/dist/cjs/constants-440cd5c8.js +0 -29
- package/dist/cjs/constants-440cd5c8.js.map +0 -1
- package/dist/cjs/constants-61f8be34.js +0 -26
- package/dist/cjs/constants-61f8be34.js.map +0 -1
- package/dist/cjs/constants-66cb0615.js +0 -20
- package/dist/cjs/constants-66cb0615.js.map +0 -1
- package/dist/cjs/constants-6df82618.js +0 -21
- package/dist/cjs/constants-6df82618.js.map +0 -1
- package/dist/cjs/constants-97eea364.js +0 -14
- package/dist/cjs/constants-97eea364.js.map +0 -1
- package/dist/cjs/constants-a31344ad.js +0 -37
- package/dist/cjs/constants-a31344ad.js.map +0 -1
- package/dist/cjs/constants-caad94b4.js +0 -16
- package/dist/cjs/constants-caad94b4.js.map +0 -1
- package/dist/cjs/constants-dde21dcf.js +0 -30
- package/dist/cjs/constants-dde21dcf.js.map +0 -1
- package/dist/cjs/constants-ded92f8a.js +0 -13
- package/dist/cjs/constants-ded92f8a.js.map +0 -1
- package/dist/cjs/core.cjs.js +0 -48
- package/dist/cjs/core.cjs.js.map +0 -1
- package/dist/cjs/form-74063d50.js +0 -163
- package/dist/cjs/form-74063d50.js.map +0 -1
- package/dist/cjs/gov-accordion-item.cjs.entry.js +0 -102
- package/dist/cjs/gov-accordion-item.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-accordion.cjs.entry.js +0 -77
- package/dist/cjs/gov-accordion.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-app.cjs.entry.js +0 -9449
- package/dist/cjs/gov-app.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-attachments_3.cjs.entry.js +0 -120
- package/dist/cjs/gov-attachments_3.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-backdrop.cjs.entry.js +0 -50
- package/dist/cjs/gov-backdrop.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js +0 -50
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-button.cjs.entry.js +0 -180
- package/dist/cjs/gov-button.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-card.cjs.entry.js +0 -112
- package/dist/cjs/gov-card.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-chip.cjs.entry.js +0 -108
- package/dist/cjs/gov-chip.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-container.cjs.entry.js +0 -36
- package/dist/cjs/gov-container.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-control-group.cjs.entry.js +0 -43
- package/dist/cjs/gov-control-group.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-cookiebar.cjs.entry.js +0 -33
- package/dist/cjs/gov-cookiebar.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-dropdown.cjs.entry.js +0 -135
- package/dist/cjs/gov-dropdown.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-empty.cjs.entry.js +0 -31
- package/dist/cjs/gov-empty.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-error-code.cjs.entry.js +0 -31
- package/dist/cjs/gov-error-code.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js +0 -245
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-form-checkbox.cjs.entry.js +0 -131
- package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-form-control.cjs.entry.js +0 -107
- package/dist/cjs/gov-form-control.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-form-file.cjs.entry.js +0 -240
- package/dist/cjs/gov-form-file.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-form-group.cjs.entry.js +0 -59
- package/dist/cjs/gov-form-group.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-form-input.cjs.entry.js +0 -190
- package/dist/cjs/gov-form-input.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-form-label.cjs.entry.js +0 -30
- package/dist/cjs/gov-form-label.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-form-multi-select.cjs.entry.js +0 -304
- package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-form-password-power.cjs.entry.js +0 -28
- package/dist/cjs/gov-form-password-power.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-form-radio.cjs.entry.js +0 -131
- package/dist/cjs/gov-form-radio.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-form-search.cjs.entry.js +0 -32
- package/dist/cjs/gov-form-search.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-form-select.cjs.entry.js +0 -167
- package/dist/cjs/gov-form-select.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-form-switch.cjs.entry.js +0 -131
- package/dist/cjs/gov-form-switch.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-grid-item.cjs.entry.js +0 -30
- package/dist/cjs/gov-grid-item.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-grid.cjs.entry.js +0 -28
- package/dist/cjs/gov-grid.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-icon.cjs.entry.js +0 -135
- package/dist/cjs/gov-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-infobar.cjs.entry.js +0 -91
- package/dist/cjs/gov-infobar.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-layout-column.cjs.entry.js +0 -25
- package/dist/cjs/gov-layout-column.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-layout.cjs.entry.js +0 -34
- package/dist/cjs/gov-layout.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-loading.cjs.entry.js +0 -30
- package/dist/cjs/gov-loading.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-message.cjs.entry.js +0 -44
- package/dist/cjs/gov-message.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-modal.cjs.entry.js +0 -106
- package/dist/cjs/gov-modal.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-nav-item.cjs.entry.js +0 -39
- package/dist/cjs/gov-nav-item.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-nav.cjs.entry.js +0 -42
- package/dist/cjs/gov-nav.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-pagination.cjs.entry.js +0 -224
- package/dist/cjs/gov-pagination.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-prompt.cjs.entry.js +0 -103
- package/dist/cjs/gov-prompt.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-side-nav-item.cjs.entry.js +0 -87
- package/dist/cjs/gov-side-nav-item.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-side-nav.cjs.entry.js +0 -56
- package/dist/cjs/gov-side-nav.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-skeleton.cjs.entry.js +0 -117
- package/dist/cjs/gov-skeleton.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-spacer.cjs.entry.js +0 -58
- package/dist/cjs/gov-spacer.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-statsbar-item.cjs.entry.js +0 -40
- package/dist/cjs/gov-statsbar-item.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-statsbar.cjs.entry.js +0 -53
- package/dist/cjs/gov-statsbar.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-stepper-item.cjs.entry.js +0 -78
- package/dist/cjs/gov-stepper-item.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-stepper.cjs.entry.js +0 -51
- package/dist/cjs/gov-stepper.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-tabs-item.cjs.entry.js +0 -53
- package/dist/cjs/gov-tabs-item.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-tabs.cjs.entry.js +0 -198
- package/dist/cjs/gov-tabs.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-tag.cjs.entry.js +0 -57
- package/dist/cjs/gov-tag.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-tile.cjs.entry.js +0 -42
- package/dist/cjs/gov-tile.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-tiles.cjs.entry.js +0 -33
- package/dist/cjs/gov-tiles.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-toast.cjs.entry.js +0 -101
- package/dist/cjs/gov-toast.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-tooltip-content.cjs.entry.js +0 -54
- package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-tooltip.cjs.entry.js +0 -224
- package/dist/cjs/gov-tooltip.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-wizard-item.cjs.entry.js +0 -115
- package/dist/cjs/gov-wizard-item.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-wizard.cjs.entry.js +0 -69
- package/dist/cjs/gov-wizard.cjs.entry.js.map +0 -1
- package/dist/cjs/gov.log-b842920d.js +0 -28
- package/dist/cjs/gov.log-b842920d.js.map +0 -1
- package/dist/cjs/helpers-2c870ff5.js +0 -19
- package/dist/cjs/helpers-2c870ff5.js.map +0 -1
- package/dist/cjs/index-7b6bba34.js +0 -2717
- package/dist/cjs/index-7b6bba34.js.map +0 -1
- package/dist/cjs/index.cjs.js +0 -4
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js +0 -15
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/props-d6146e54.js +0 -16
- package/dist/cjs/props-d6146e54.js.map +0 -1
- package/dist/cjs/sizes-79872c2a.js +0 -18
- package/dist/cjs/sizes-79872c2a.js.map +0 -1
- package/dist/cjs/string.utils-0f08c48c.js +0 -24
- package/dist/cjs/string.utils-0f08c48c.js.map +0 -1
- package/dist/cjs/template-4b951d1d.js +0 -128
- package/dist/cjs/template-4b951d1d.js.map +0 -1
- package/dist/cjs/utils-c9b1bba3.js +0 -41
- package/dist/cjs/utils-c9b1bba3.js.map +0 -1
- package/dist/cjs/variants-f5ffeef3.js +0 -18
- package/dist/cjs/variants-f5ffeef3.js.map +0 -1
- package/dist/cjs/wcag-e6257f27.js +0 -67
- package/dist/cjs/wcag-e6257f27.js.map +0 -1
- package/dist/cjs/win-5521073d.js +0 -39
- package/dist/cjs/win-5521073d.js.map +0 -1
- package/dist/collection/collection-manifest.json +0 -72
- package/dist/collection/components/gov-accordion/constants.js +0 -21
- package/dist/collection/components/gov-accordion/constants.js.map +0 -1
- package/dist/collection/components/gov-accordion/gov-accordion-item.css +0 -524
- package/dist/collection/components/gov-accordion/gov-accordion-item.js +0 -304
- package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +0 -1
- package/dist/collection/components/gov-accordion/gov-accordion.css +0 -240
- package/dist/collection/components/gov-accordion/gov-accordion.js +0 -226
- package/dist/collection/components/gov-accordion/gov-accordion.js.map +0 -1
- package/dist/collection/components/gov-accordion/gov-accordion.types.js +0 -2
- package/dist/collection/components/gov-accordion/gov-accordion.types.js.map +0 -1
- package/dist/collection/components/gov-app/gov-app.css +0 -249
- package/dist/collection/components/gov-app/gov-app.js +0 -99
- package/dist/collection/components/gov-app/gov-app.js.map +0 -1
- package/dist/collection/components/gov-attachments/constants.js +0 -12
- package/dist/collection/components/gov-attachments/constants.js.map +0 -1
- package/dist/collection/components/gov-attachments/gov-attachments-item.css +0 -261
- package/dist/collection/components/gov-attachments/gov-attachments-item.d.js +0 -2
- package/dist/collection/components/gov-attachments/gov-attachments-item.d.js.map +0 -1
- package/dist/collection/components/gov-attachments/gov-attachments-item.js +0 -123
- package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +0 -1
- package/dist/collection/components/gov-attachments/gov-attachments.css +0 -247
- package/dist/collection/components/gov-attachments/gov-attachments.js +0 -100
- package/dist/collection/components/gov-attachments/gov-attachments.js.map +0 -1
- package/dist/collection/components/gov-backdrop/constants.js +0 -5
- package/dist/collection/components/gov-backdrop/constants.js.map +0 -1
- package/dist/collection/components/gov-backdrop/gov-backdrop.css +0 -246
- package/dist/collection/components/gov-backdrop/gov-backdrop.js +0 -142
- package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +0 -1
- package/dist/collection/components/gov-breadcrumbs/constants.js +0 -4
- package/dist/collection/components/gov-breadcrumbs/constants.js.map +0 -1
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +0 -279
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js +0 -2
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js.map +0 -1
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +0 -162
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +0 -1
- package/dist/collection/components/gov-button/button/constants.js +0 -29
- package/dist/collection/components/gov-button/button/constants.js.map +0 -1
- package/dist/collection/components/gov-button/button/gov-button.css +0 -1154
- package/dist/collection/components/gov-button/button/gov-button.js +0 -891
- package/dist/collection/components/gov-button/button/gov-button.js.map +0 -1
- package/dist/collection/components/gov-button/button/gov-button.types.js +0 -2
- package/dist/collection/components/gov-button/button/gov-button.types.js.map +0 -1
- package/dist/collection/components/gov-button/dropdown/constants.js +0 -10
- package/dist/collection/components/gov-button/dropdown/constants.js.map +0 -1
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.css +0 -264
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +0 -177
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.js.map +0 -1
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.types.js +0 -2
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.types.js.map +0 -1
- package/dist/collection/components/gov-card/constants.js +0 -14
- package/dist/collection/components/gov-card/constants.js.map +0 -1
- package/dist/collection/components/gov-card/gov-card.css +0 -377
- package/dist/collection/components/gov-card/gov-card.js +0 -311
- package/dist/collection/components/gov-card/gov-card.js.map +0 -1
- package/dist/collection/components/gov-card/interfaces.js +0 -2
- package/dist/collection/components/gov-card/interfaces.js.map +0 -1
- package/dist/collection/components/gov-chip/constants.js +0 -13
- package/dist/collection/components/gov-chip/constants.js.map +0 -1
- package/dist/collection/components/gov-chip/gov-chip.css +0 -1255
- package/dist/collection/components/gov-chip/gov-chip.js +0 -462
- package/dist/collection/components/gov-chip/gov-chip.js.map +0 -1
- package/dist/collection/components/gov-container/constants.js +0 -4
- package/dist/collection/components/gov-container/constants.js.map +0 -1
- package/dist/collection/components/gov-container/gov-container.css +0 -247
- package/dist/collection/components/gov-container/gov-container.js +0 -60
- package/dist/collection/components/gov-container/gov-container.js.map +0 -1
- package/dist/collection/components/gov-control-group/constants.js +0 -7
- package/dist/collection/components/gov-control-group/constants.js.map +0 -1
- package/dist/collection/components/gov-control-group/gov-control-group.css +0 -280
- package/dist/collection/components/gov-control-group/gov-control-group.js +0 -84
- package/dist/collection/components/gov-control-group/gov-control-group.js.map +0 -1
- package/dist/collection/components/gov-cookiebar/constants.js +0 -9
- package/dist/collection/components/gov-cookiebar/constants.js.map +0 -1
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.css +0 -289
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +0 -24
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.js.map +0 -1
- package/dist/collection/components/gov-empty/constants.js +0 -7
- package/dist/collection/components/gov-empty/constants.js.map +0 -1
- package/dist/collection/components/gov-empty/gov-empty.css +0 -255
- package/dist/collection/components/gov-empty/gov-empty.js +0 -24
- package/dist/collection/components/gov-empty/gov-empty.js.map +0 -1
- package/dist/collection/components/gov-error-code/constants.js +0 -7
- package/dist/collection/components/gov-error-code/constants.js.map +0 -1
- package/dist/collection/components/gov-error-code/gov-error-code.css +0 -270
- package/dist/collection/components/gov-error-code/gov-error-code.js +0 -24
- package/dist/collection/components/gov-error-code/gov-error-code.js.map +0 -1
- package/dist/collection/components/gov-form/autocomplete/constants.js +0 -13
- package/dist/collection/components/gov-form/autocomplete/constants.js.map +0 -1
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.css +0 -289
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +0 -824
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +0 -1
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js +0 -2
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js.map +0 -1
- package/dist/collection/components/gov-form/checkbox/constants.js +0 -9
- package/dist/collection/components/gov-form/checkbox/constants.js.map +0 -1
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.css +0 -402
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +0 -442
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +0 -1
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.types.js +0 -2
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.types.js.map +0 -1
- package/dist/collection/components/gov-form/control/constants.js +0 -9
- package/dist/collection/components/gov-form/control/constants.js.map +0 -1
- package/dist/collection/components/gov-form/control/gov-form-control.css +0 -291
- package/dist/collection/components/gov-form/control/gov-form-control.js +0 -241
- package/dist/collection/components/gov-form/control/gov-form-control.js.map +0 -1
- package/dist/collection/components/gov-form/file/constants.js +0 -10
- package/dist/collection/components/gov-form/file/constants.js.map +0 -1
- package/dist/collection/components/gov-form/file/gov-form-file.css +0 -301
- package/dist/collection/components/gov-form/file/gov-form-file.js +0 -702
- package/dist/collection/components/gov-form/file/gov-form-file.js.map +0 -1
- package/dist/collection/components/gov-form/file/gov-form-file.types.js +0 -2
- package/dist/collection/components/gov-form/file/gov-form-file.types.js.map +0 -1
- package/dist/collection/components/gov-form/group/constants.js +0 -12
- package/dist/collection/components/gov-form/group/constants.js.map +0 -1
- package/dist/collection/components/gov-form/group/gov-form-group.css +0 -261
- package/dist/collection/components/gov-form/group/gov-form-group.js +0 -102
- package/dist/collection/components/gov-form/group/gov-form-group.js.map +0 -1
- package/dist/collection/components/gov-form/input/constants.js +0 -29
- package/dist/collection/components/gov-form/input/constants.js.map +0 -1
- package/dist/collection/components/gov-form/input/gov-form-input.css +0 -523
- package/dist/collection/components/gov-form/input/gov-form-input.js +0 -930
- package/dist/collection/components/gov-form/input/gov-form-input.js.map +0 -1
- package/dist/collection/components/gov-form/input/gov-form-input.types.js +0 -2
- package/dist/collection/components/gov-form/input/gov-form-input.types.js.map +0 -1
- package/dist/collection/components/gov-form/label/constants.js +0 -8
- package/dist/collection/components/gov-form/label/constants.js.map +0 -1
- package/dist/collection/components/gov-form/label/gov-form-label.css +0 -252
- package/dist/collection/components/gov-form/label/gov-form-label.js +0 -130
- package/dist/collection/components/gov-form/label/gov-form-label.js.map +0 -1
- package/dist/collection/components/gov-form/message/constants.js +0 -9
- package/dist/collection/components/gov-form/message/constants.js.map +0 -1
- package/dist/collection/components/gov-form/message/gov-form-message.css +0 -262
- package/dist/collection/components/gov-form/message/gov-form-message.js +0 -95
- package/dist/collection/components/gov-form/message/gov-form-message.js.map +0 -1
- package/dist/collection/components/gov-form/multiselect/constants.js +0 -12
- package/dist/collection/components/gov-form/multiselect/constants.js.map +0 -1
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.css +0 -639
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +0 -936
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +0 -1
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.types.js +0 -2
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.types.js.map +0 -1
- package/dist/collection/components/gov-form/password-power/constants.js +0 -6
- package/dist/collection/components/gov-form/password-power/constants.js.map +0 -1
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.css +0 -275
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +0 -43
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.js.map +0 -1
- package/dist/collection/components/gov-form/radio/constants.js +0 -11
- package/dist/collection/components/gov-form/radio/constants.js.map +0 -1
- package/dist/collection/components/gov-form/radio/gov-form-radio.css +0 -401
- package/dist/collection/components/gov-form/radio/gov-form-radio.js +0 -442
- package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +0 -1
- package/dist/collection/components/gov-form/radio/gov-form-radio.types.js +0 -2
- package/dist/collection/components/gov-form/radio/gov-form-radio.types.js.map +0 -1
- package/dist/collection/components/gov-form/search/constants.js +0 -9
- package/dist/collection/components/gov-form/search/constants.js.map +0 -1
- package/dist/collection/components/gov-form/search/gov-form-search.css +0 -274
- package/dist/collection/components/gov-form/search/gov-form-search.js +0 -51
- package/dist/collection/components/gov-form/search/gov-form-search.js.map +0 -1
- package/dist/collection/components/gov-form/select/constants.js +0 -10
- package/dist/collection/components/gov-form/select/constants.js.map +0 -1
- package/dist/collection/components/gov-form/select/gov-form-select.css +0 -598
- package/dist/collection/components/gov-form/select/gov-form-select.js +0 -613
- package/dist/collection/components/gov-form/select/gov-form-select.js.map +0 -1
- package/dist/collection/components/gov-form/select/gov-form-select.types.js +0 -2
- package/dist/collection/components/gov-form/select/gov-form-select.types.js.map +0 -1
- package/dist/collection/components/gov-form/switch/constants.js +0 -10
- package/dist/collection/components/gov-form/switch/constants.js.map +0 -1
- package/dist/collection/components/gov-form/switch/gov-form-switch.css +0 -440
- package/dist/collection/components/gov-form/switch/gov-form-switch.js +0 -442
- package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +0 -1
- package/dist/collection/components/gov-form/switch/gov-form-switch.types.js +0 -2
- package/dist/collection/components/gov-form/switch/gov-form-switch.types.js.map +0 -1
- package/dist/collection/components/gov-grid/constants.js +0 -7
- package/dist/collection/components/gov-grid/constants.js.map +0 -1
- package/dist/collection/components/gov-grid/gov-grid-item.css +0 -437
- package/dist/collection/components/gov-grid/gov-grid-item.js +0 -119
- package/dist/collection/components/gov-grid/gov-grid-item.js.map +0 -1
- package/dist/collection/components/gov-grid/gov-grid.css +0 -256
- package/dist/collection/components/gov-grid/gov-grid.js +0 -65
- package/dist/collection/components/gov-grid/gov-grid.js.map +0 -1
- package/dist/collection/components/gov-icon/constants.js +0 -11
- package/dist/collection/components/gov-icon/constants.js.map +0 -1
- package/dist/collection/components/gov-icon/gov-icon.css +0 -250
- package/dist/collection/components/gov-icon/gov-icon.js +0 -139
- package/dist/collection/components/gov-icon/gov-icon.js.map +0 -1
- package/dist/collection/components/gov-icon/helpers.js +0 -14
- package/dist/collection/components/gov-icon/helpers.js.map +0 -1
- package/dist/collection/components/gov-icon/list.js +0 -282
- package/dist/collection/components/gov-icon/list.js.map +0 -1
- package/dist/collection/components/gov-infobar/constants.js +0 -13
- package/dist/collection/components/gov-infobar/constants.js.map +0 -1
- package/dist/collection/components/gov-infobar/gov-infobar.css +0 -388
- package/dist/collection/components/gov-infobar/gov-infobar.js +0 -246
- package/dist/collection/components/gov-infobar/gov-infobar.js.map +0 -1
- package/dist/collection/components/gov-infobar/gov-infobar.types.js +0 -2
- package/dist/collection/components/gov-infobar/gov-infobar.types.js.map +0 -1
- package/dist/collection/components/gov-layout/constants.js +0 -19
- package/dist/collection/components/gov-layout/constants.js.map +0 -1
- package/dist/collection/components/gov-layout/gov-layout-column.css +0 -237
- package/dist/collection/components/gov-layout/gov-layout-column.js +0 -24
- package/dist/collection/components/gov-layout/gov-layout-column.js.map +0 -1
- package/dist/collection/components/gov-layout/gov-layout.css +0 -282
- package/dist/collection/components/gov-layout/gov-layout.js +0 -102
- package/dist/collection/components/gov-layout/gov-layout.js.map +0 -1
- package/dist/collection/components/gov-loading/loading/constants.js +0 -6
- package/dist/collection/components/gov-loading/loading/constants.js.map +0 -1
- package/dist/collection/components/gov-loading/loading/gov-loading.css +0 -261
- package/dist/collection/components/gov-loading/loading/gov-loading.js +0 -24
- package/dist/collection/components/gov-loading/loading/gov-loading.js.map +0 -1
- package/dist/collection/components/gov-loading/skeleton/constants.js +0 -20
- package/dist/collection/components/gov-loading/skeleton/constants.js.map +0 -1
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.css +0 -300
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +0 -271
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js.map +0 -1
- package/dist/collection/components/gov-message/constants.js +0 -10
- package/dist/collection/components/gov-message/constants.js.map +0 -1
- package/dist/collection/components/gov-message/gov-message.css +0 -319
- package/dist/collection/components/gov-message/gov-message.js +0 -64
- package/dist/collection/components/gov-message/gov-message.js.map +0 -1
- package/dist/collection/components/gov-modal/constants.js +0 -15
- package/dist/collection/components/gov-modal/constants.js.map +0 -1
- package/dist/collection/components/gov-modal/gov-modal.css +0 -345
- package/dist/collection/components/gov-modal/gov-modal.js +0 -355
- package/dist/collection/components/gov-modal/gov-modal.js.map +0 -1
- package/dist/collection/components/gov-nav/constants.js +0 -9
- package/dist/collection/components/gov-nav/constants.js.map +0 -1
- package/dist/collection/components/gov-nav/gov-nav-item.css +0 -288
- package/dist/collection/components/gov-nav/gov-nav-item.js +0 -68
- package/dist/collection/components/gov-nav/gov-nav-item.js.map +0 -1
- package/dist/collection/components/gov-nav/gov-nav.css +0 -254
- package/dist/collection/components/gov-nav/gov-nav.js +0 -98
- package/dist/collection/components/gov-nav/gov-nav.js.map +0 -1
- package/dist/collection/components/gov-pagination/constants.js +0 -21
- package/dist/collection/components/gov-pagination/constants.js.map +0 -1
- package/dist/collection/components/gov-pagination/gov-pagination.css +0 -394
- package/dist/collection/components/gov-pagination/gov-pagination.js +0 -460
- package/dist/collection/components/gov-pagination/gov-pagination.js.map +0 -1
- package/dist/collection/components/gov-pagination/gov-pagination.types.js +0 -2
- package/dist/collection/components/gov-pagination/gov-pagination.types.js.map +0 -1
- package/dist/collection/components/gov-pagination/pagination.js +0 -55
- package/dist/collection/components/gov-pagination/pagination.js.map +0 -1
- package/dist/collection/components/gov-promp/constants.js +0 -13
- package/dist/collection/components/gov-promp/constants.js.map +0 -1
- package/dist/collection/components/gov-promp/gov-prompt.css +0 -348
- package/dist/collection/components/gov-promp/gov-prompt.js +0 -334
- package/dist/collection/components/gov-promp/gov-prompt.js.map +0 -1
- package/dist/collection/components/gov-side-nav/constants.js +0 -16
- package/dist/collection/components/gov-side-nav/constants.js.map +0 -1
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.css +0 -384
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.d.js +0 -2
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.d.js.map +0 -1
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.js +0 -336
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.js.map +0 -1
- package/dist/collection/components/gov-side-nav/gov-side-nav.css +0 -237
- package/dist/collection/components/gov-side-nav/gov-side-nav.js +0 -171
- package/dist/collection/components/gov-side-nav/gov-side-nav.js.map +0 -1
- package/dist/collection/components/gov-spacer/constants.js +0 -15
- package/dist/collection/components/gov-spacer/constants.js.map +0 -1
- package/dist/collection/components/gov-spacer/gov-spacer.css +0 -302
- package/dist/collection/components/gov-spacer/gov-spacer.js +0 -97
- package/dist/collection/components/gov-spacer/gov-spacer.js.map +0 -1
- package/dist/collection/components/gov-statsbar/constants.js +0 -18
- package/dist/collection/components/gov-statsbar/constants.js.map +0 -1
- package/dist/collection/components/gov-statsbar/gov-statsbar-item.css +0 -296
- package/dist/collection/components/gov-statsbar/gov-statsbar-item.js +0 -66
- package/dist/collection/components/gov-statsbar/gov-statsbar-item.js.map +0 -1
- package/dist/collection/components/gov-statsbar/gov-statsbar.css +0 -281
- package/dist/collection/components/gov-statsbar/gov-statsbar.js +0 -104
- package/dist/collection/components/gov-statsbar/gov-statsbar.js.map +0 -1
- package/dist/collection/components/gov-stepper/constants.js +0 -21
- package/dist/collection/components/gov-stepper/constants.js.map +0 -1
- package/dist/collection/components/gov-stepper/gov-stepper-item.css +0 -467
- package/dist/collection/components/gov-stepper/gov-stepper-item.d.js +0 -2
- package/dist/collection/components/gov-stepper/gov-stepper-item.d.js.map +0 -1
- package/dist/collection/components/gov-stepper/gov-stepper-item.js +0 -250
- package/dist/collection/components/gov-stepper/gov-stepper-item.js.map +0 -1
- package/dist/collection/components/gov-stepper/gov-stepper.css +0 -237
- package/dist/collection/components/gov-stepper/gov-stepper.js +0 -99
- package/dist/collection/components/gov-stepper/gov-stepper.js.map +0 -1
- package/dist/collection/components/gov-tabs/constants.js +0 -25
- package/dist/collection/components/gov-tabs/constants.js.map +0 -1
- package/dist/collection/components/gov-tabs/gov-tabs-item.css +0 -238
- package/dist/collection/components/gov-tabs/gov-tabs-item.js +0 -186
- package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +0 -1
- package/dist/collection/components/gov-tabs/gov-tabs.css +0 -389
- package/dist/collection/components/gov-tabs/gov-tabs.js +0 -440
- package/dist/collection/components/gov-tabs/gov-tabs.js.map +0 -1
- package/dist/collection/components/gov-tabs/gov-tabs.types.js +0 -2
- package/dist/collection/components/gov-tabs/gov-tabs.types.js.map +0 -1
- package/dist/collection/components/gov-tag/constants.js +0 -4
- package/dist/collection/components/gov-tag/constants.js.map +0 -1
- package/dist/collection/components/gov-tag/gov-tag.css +0 -1259
- package/dist/collection/components/gov-tag/gov-tag.js +0 -157
- package/dist/collection/components/gov-tag/gov-tag.js.map +0 -1
- package/dist/collection/components/gov-tile/constants.js +0 -10
- package/dist/collection/components/gov-tile/constants.js.map +0 -1
- package/dist/collection/components/gov-tile/container/constants.js +0 -4
- package/dist/collection/components/gov-tile/container/constants.js.map +0 -1
- package/dist/collection/components/gov-tile/container/gov-tiles.css +0 -319
- package/dist/collection/components/gov-tile/container/gov-tiles.js +0 -70
- package/dist/collection/components/gov-tile/container/gov-tiles.js.map +0 -1
- package/dist/collection/components/gov-tile/gov-tile.css +0 -316
- package/dist/collection/components/gov-tile/gov-tile.js +0 -108
- package/dist/collection/components/gov-tile/gov-tile.js.map +0 -1
- package/dist/collection/components/gov-toast/constants.js +0 -13
- package/dist/collection/components/gov-toast/constants.js.map +0 -1
- package/dist/collection/components/gov-toast/gov-toast.css +0 -403
- package/dist/collection/components/gov-toast/gov-toast.js +0 -267
- package/dist/collection/components/gov-toast/gov-toast.js.map +0 -1
- package/dist/collection/components/gov-tooltip/constants.js +0 -19
- package/dist/collection/components/gov-tooltip/constants.js.map +0 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.css +0 -347
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +0 -159
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +0 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip.css +0 -241
- package/dist/collection/components/gov-tooltip/gov-tooltip.js +0 -397
- package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +0 -1
- package/dist/collection/components/gov-wizard/constants.js +0 -20
- package/dist/collection/components/gov-wizard/constants.js.map +0 -1
- package/dist/collection/components/gov-wizard/gov-wizard-item.css +0 -474
- package/dist/collection/components/gov-wizard/gov-wizard-item.d.js +0 -2
- package/dist/collection/components/gov-wizard/gov-wizard-item.d.js.map +0 -1
- package/dist/collection/components/gov-wizard/gov-wizard-item.js +0 -387
- package/dist/collection/components/gov-wizard/gov-wizard-item.js.map +0 -1
- package/dist/collection/components/gov-wizard/gov-wizard-item.types.js +0 -2
- package/dist/collection/components/gov-wizard/gov-wizard-item.types.js.map +0 -1
- package/dist/collection/components/gov-wizard/gov-wizard.css +0 -240
- package/dist/collection/components/gov-wizard/gov-wizard.js +0 -173
- package/dist/collection/components/gov-wizard/gov-wizard.js.map +0 -1
- package/dist/collection/core/constants/sizes.js +0 -15
- package/dist/collection/core/constants/sizes.js.map +0 -1
- package/dist/collection/core/constants/tags.js +0 -14
- package/dist/collection/core/constants/tags.js.map +0 -1
- package/dist/collection/core/constants/tokens.js +0 -17
- package/dist/collection/core/constants/tokens.js.map +0 -1
- package/dist/collection/core/constants/variants.js +0 -15
- package/dist/collection/core/constants/variants.js.map +0 -1
- package/dist/collection/data/color-definitions.js +0 -307
- package/dist/collection/data/font-definitions.js +0 -94
- package/dist/collection/helpers/Dom/form.js +0 -72
- package/dist/collection/helpers/Dom/form.js.map +0 -1
- package/dist/collection/helpers/Dom/form.types.js +0 -2
- package/dist/collection/helpers/Dom/form.types.js.map +0 -1
- package/dist/collection/helpers/Dom/template.js +0 -117
- package/dist/collection/helpers/Dom/template.js.map +0 -1
- package/dist/collection/helpers/Dom/template.types.js +0 -2
- package/dist/collection/helpers/Dom/template.types.js.map +0 -1
- package/dist/collection/helpers/Dom/win.js +0 -27
- package/dist/collection/helpers/Dom/win.js.map +0 -1
- package/dist/collection/helpers/Fragment.js +0 -2
- package/dist/collection/helpers/Fragment.js.map +0 -1
- package/dist/collection/helpers/Log/gov.log.js +0 -21
- package/dist/collection/helpers/Log/gov.log.js.map +0 -1
- package/dist/collection/helpers/Validate/props.js +0 -10
- package/dist/collection/helpers/Validate/props.js.map +0 -1
- package/dist/collection/helpers/Validate/wcag.js +0 -58
- package/dist/collection/helpers/Validate/wcag.js.map +0 -1
- package/dist/collection/index.js +0 -2
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/pages/Accordion.js +0 -239
- package/dist/collection/pages/Accordion.js.map +0 -1
- package/dist/collection/pages/Breadcrumbs.js +0 -36
- package/dist/collection/pages/Breadcrumbs.js.map +0 -1
- package/dist/collection/pages/Button.js +0 -1346
- package/dist/collection/pages/Button.js.map +0 -1
- package/dist/collection/pages/Card.js +0 -104
- package/dist/collection/pages/Card.js.map +0 -1
- package/dist/collection/pages/Chip.js +0 -381
- package/dist/collection/pages/Chip.js.map +0 -1
- package/dist/collection/pages/Container.js +0 -15
- package/dist/collection/pages/Container.js.map +0 -1
- package/dist/collection/pages/ControlGroup.js +0 -301
- package/dist/collection/pages/ControlGroup.js.map +0 -1
- package/dist/collection/pages/Cookiebar.js +0 -29
- package/dist/collection/pages/Cookiebar.js.map +0 -1
- package/dist/collection/pages/Empty.js +0 -43
- package/dist/collection/pages/Empty.js.map +0 -1
- package/dist/collection/pages/Error.js +0 -16
- package/dist/collection/pages/Error.js.map +0 -1
- package/dist/collection/pages/FormLabel.js +0 -13
- package/dist/collection/pages/FormLabel.js.map +0 -1
- package/dist/collection/pages/FormMessage.js +0 -82
- package/dist/collection/pages/FormMessage.js.map +0 -1
- package/dist/collection/pages/Forms.js +0 -1574
- package/dist/collection/pages/Forms.js.map +0 -1
- package/dist/collection/pages/FormsRestructure.js +0 -13
- package/dist/collection/pages/FormsRestructure.js.map +0 -1
- package/dist/collection/pages/Grid.js +0 -92
- package/dist/collection/pages/Grid.js.map +0 -1
- package/dist/collection/pages/Home.js +0 -51
- package/dist/collection/pages/Home.js.map +0 -1
- package/dist/collection/pages/Infobar.js +0 -149
- package/dist/collection/pages/Infobar.js.map +0 -1
- package/dist/collection/pages/Layout.js +0 -97
- package/dist/collection/pages/Layout.js.map +0 -1
- package/dist/collection/pages/Loading.js +0 -95
- package/dist/collection/pages/Loading.js.map +0 -1
- package/dist/collection/pages/Message.js +0 -94
- package/dist/collection/pages/Message.js.map +0 -1
- package/dist/collection/pages/Modal.js +0 -57
- package/dist/collection/pages/Modal.js.map +0 -1
- package/dist/collection/pages/Nav.js +0 -30
- package/dist/collection/pages/Nav.js.map +0 -1
- package/dist/collection/pages/Pagination.js +0 -38
- package/dist/collection/pages/Pagination.js.map +0 -1
- package/dist/collection/pages/Prompt.js +0 -48
- package/dist/collection/pages/Prompt.js.map +0 -1
- package/dist/collection/pages/SideNav.js +0 -117
- package/dist/collection/pages/SideNav.js.map +0 -1
- package/dist/collection/pages/Spacer.js +0 -25
- package/dist/collection/pages/Spacer.js.map +0 -1
- package/dist/collection/pages/Statsbar.js +0 -202
- package/dist/collection/pages/Statsbar.js.map +0 -1
- package/dist/collection/pages/Stepper.js +0 -88
- package/dist/collection/pages/Stepper.js.map +0 -1
- package/dist/collection/pages/Tabs.js +0 -323
- package/dist/collection/pages/Tabs.js.map +0 -1
- package/dist/collection/pages/Tag.js +0 -253
- package/dist/collection/pages/Tag.js.map +0 -1
- package/dist/collection/pages/Tiles.js +0 -125
- package/dist/collection/pages/Tiles.js.map +0 -1
- package/dist/collection/pages/ToastMessage.js +0 -47
- package/dist/collection/pages/ToastMessage.js.map +0 -1
- package/dist/collection/pages/ToastMessageCountdown.js +0 -47
- package/dist/collection/pages/ToastMessageCountdown.js.map +0 -1
- package/dist/collection/pages/Tooltip.js +0 -161
- package/dist/collection/pages/Tooltip.js.map +0 -1
- package/dist/collection/pages/Typography.js +0 -75
- package/dist/collection/pages/Typography.js.map +0 -1
- package/dist/collection/pages/Wizard.js +0 -88
- package/dist/collection/pages/Wizard.js.map +0 -1
- package/dist/collection/types/event.types.js +0 -2
- package/dist/collection/types/event.types.js.map +0 -1
- package/dist/collection/types/interfaces.js +0 -2
- package/dist/collection/types/interfaces.js.map +0 -1
- package/dist/collection/utils/array.utils.js +0 -7
- package/dist/collection/utils/array.utils.js.map +0 -1
- package/dist/collection/utils/bool.utils.js +0 -15
- package/dist/collection/utils/bool.utils.js.map +0 -1
- package/dist/collection/utils/ds.utils.js +0 -5
- package/dist/collection/utils/ds.utils.js.map +0 -1
- package/dist/collection/utils/file.utils.js +0 -26
- package/dist/collection/utils/file.utils.js.map +0 -1
- package/dist/collection/utils/helpers.types.js +0 -54
- package/dist/collection/utils/helpers.types.js.map +0 -1
- package/dist/collection/utils/icon.utils.js +0 -32
- package/dist/collection/utils/icon.utils.js.map +0 -1
- package/dist/collection/utils/number.utils.js +0 -4
- package/dist/collection/utils/number.utils.js.map +0 -1
- package/dist/collection/utils/string.utils.js +0 -17
- package/dist/collection/utils/string.utils.js.map +0 -1
- package/dist/collection/utils/utils.js +0 -35
- package/dist/collection/utils/utils.js.map +0 -1
- package/dist/components/gov-accordion-item.d.ts +0 -11
- package/dist/components/gov-accordion-item.js +0 -2
- package/dist/components/gov-accordion-item.js.map +0 -1
- package/dist/components/gov-accordion.d.ts +0 -11
- package/dist/components/gov-accordion.js +0 -2
- package/dist/components/gov-accordion.js.map +0 -1
- package/dist/components/gov-app.d.ts +0 -11
- package/dist/components/gov-app.js +0 -2
- package/dist/components/gov-app.js.map +0 -1
- package/dist/components/gov-attachments-item.d.ts +0 -11
- package/dist/components/gov-attachments-item.js +0 -2
- package/dist/components/gov-attachments-item.js.map +0 -1
- package/dist/components/gov-attachments.d.ts +0 -11
- package/dist/components/gov-attachments.js +0 -2
- package/dist/components/gov-attachments.js.map +0 -1
- package/dist/components/gov-backdrop.d.ts +0 -11
- package/dist/components/gov-backdrop.js +0 -2
- package/dist/components/gov-backdrop.js.map +0 -1
- package/dist/components/gov-breadcrumbs.d.ts +0 -11
- package/dist/components/gov-breadcrumbs.js +0 -2
- package/dist/components/gov-breadcrumbs.js.map +0 -1
- package/dist/components/gov-button.d.ts +0 -11
- package/dist/components/gov-button.js +0 -2
- package/dist/components/gov-button.js.map +0 -1
- package/dist/components/gov-card.d.ts +0 -11
- package/dist/components/gov-card.js +0 -2
- package/dist/components/gov-card.js.map +0 -1
- package/dist/components/gov-chip.d.ts +0 -11
- package/dist/components/gov-chip.js +0 -2
- package/dist/components/gov-chip.js.map +0 -1
- package/dist/components/gov-container.d.ts +0 -11
- package/dist/components/gov-container.js +0 -2
- package/dist/components/gov-container.js.map +0 -1
- package/dist/components/gov-control-group.d.ts +0 -11
- package/dist/components/gov-control-group.js +0 -2
- package/dist/components/gov-control-group.js.map +0 -1
- package/dist/components/gov-cookiebar.d.ts +0 -11
- package/dist/components/gov-cookiebar.js +0 -2
- package/dist/components/gov-cookiebar.js.map +0 -1
- package/dist/components/gov-dropdown.d.ts +0 -11
- package/dist/components/gov-dropdown.js +0 -2
- package/dist/components/gov-dropdown.js.map +0 -1
- package/dist/components/gov-empty.d.ts +0 -11
- package/dist/components/gov-empty.js +0 -2
- package/dist/components/gov-empty.js.map +0 -1
- package/dist/components/gov-error-code.d.ts +0 -11
- package/dist/components/gov-error-code.js +0 -2
- package/dist/components/gov-error-code.js.map +0 -1
- package/dist/components/gov-form-autocomplete.d.ts +0 -11
- package/dist/components/gov-form-autocomplete.js +0 -2
- package/dist/components/gov-form-autocomplete.js.map +0 -1
- package/dist/components/gov-form-checkbox.d.ts +0 -11
- package/dist/components/gov-form-checkbox.js +0 -2
- package/dist/components/gov-form-checkbox.js.map +0 -1
- package/dist/components/gov-form-control.d.ts +0 -11
- package/dist/components/gov-form-control.js +0 -2
- package/dist/components/gov-form-control.js.map +0 -1
- package/dist/components/gov-form-file.d.ts +0 -11
- package/dist/components/gov-form-file.js +0 -2
- package/dist/components/gov-form-file.js.map +0 -1
- package/dist/components/gov-form-group.d.ts +0 -11
- package/dist/components/gov-form-group.js +0 -2
- package/dist/components/gov-form-group.js.map +0 -1
- package/dist/components/gov-form-input.d.ts +0 -11
- package/dist/components/gov-form-input.js +0 -2
- package/dist/components/gov-form-input.js.map +0 -1
- package/dist/components/gov-form-label.d.ts +0 -11
- package/dist/components/gov-form-label.js +0 -2
- package/dist/components/gov-form-label.js.map +0 -1
- package/dist/components/gov-form-message.d.ts +0 -11
- package/dist/components/gov-form-message.js +0 -2
- package/dist/components/gov-form-message.js.map +0 -1
- package/dist/components/gov-form-multi-select.d.ts +0 -11
- package/dist/components/gov-form-multi-select.js +0 -2
- package/dist/components/gov-form-multi-select.js.map +0 -1
- package/dist/components/gov-form-password-power.d.ts +0 -11
- package/dist/components/gov-form-password-power.js +0 -2
- package/dist/components/gov-form-password-power.js.map +0 -1
- package/dist/components/gov-form-radio.d.ts +0 -11
- package/dist/components/gov-form-radio.js +0 -2
- package/dist/components/gov-form-radio.js.map +0 -1
- package/dist/components/gov-form-search.d.ts +0 -11
- package/dist/components/gov-form-search.js +0 -2
- package/dist/components/gov-form-search.js.map +0 -1
- package/dist/components/gov-form-select.d.ts +0 -11
- package/dist/components/gov-form-select.js +0 -2
- package/dist/components/gov-form-select.js.map +0 -1
- package/dist/components/gov-form-switch.d.ts +0 -11
- package/dist/components/gov-form-switch.js +0 -2
- package/dist/components/gov-form-switch.js.map +0 -1
- package/dist/components/gov-grid-item.d.ts +0 -11
- package/dist/components/gov-grid-item.js +0 -2
- package/dist/components/gov-grid-item.js.map +0 -1
- package/dist/components/gov-grid.d.ts +0 -11
- package/dist/components/gov-grid.js +0 -2
- package/dist/components/gov-grid.js.map +0 -1
- package/dist/components/gov-icon.d.ts +0 -11
- package/dist/components/gov-icon.js +0 -2
- package/dist/components/gov-icon.js.map +0 -1
- package/dist/components/gov-infobar.d.ts +0 -11
- package/dist/components/gov-infobar.js +0 -2
- package/dist/components/gov-infobar.js.map +0 -1
- package/dist/components/gov-layout-column.d.ts +0 -11
- package/dist/components/gov-layout-column.js +0 -2
- package/dist/components/gov-layout-column.js.map +0 -1
- package/dist/components/gov-layout.d.ts +0 -11
- package/dist/components/gov-layout.js +0 -2
- package/dist/components/gov-layout.js.map +0 -1
- package/dist/components/gov-loading.d.ts +0 -11
- package/dist/components/gov-loading.js +0 -2
- package/dist/components/gov-loading.js.map +0 -1
- package/dist/components/gov-message.d.ts +0 -11
- package/dist/components/gov-message.js +0 -2
- package/dist/components/gov-message.js.map +0 -1
- package/dist/components/gov-modal.d.ts +0 -11
- package/dist/components/gov-modal.js +0 -2
- package/dist/components/gov-modal.js.map +0 -1
- package/dist/components/gov-nav-item.d.ts +0 -11
- package/dist/components/gov-nav-item.js +0 -2
- package/dist/components/gov-nav-item.js.map +0 -1
- package/dist/components/gov-nav.d.ts +0 -11
- package/dist/components/gov-nav.js +0 -2
- package/dist/components/gov-nav.js.map +0 -1
- package/dist/components/gov-pagination.d.ts +0 -11
- package/dist/components/gov-pagination.js +0 -2
- package/dist/components/gov-pagination.js.map +0 -1
- package/dist/components/gov-prompt.d.ts +0 -11
- package/dist/components/gov-prompt.js +0 -2
- package/dist/components/gov-prompt.js.map +0 -1
- package/dist/components/gov-side-nav-item.d.ts +0 -11
- package/dist/components/gov-side-nav-item.js +0 -2
- package/dist/components/gov-side-nav-item.js.map +0 -1
- package/dist/components/gov-side-nav.d.ts +0 -11
- package/dist/components/gov-side-nav.js +0 -2
- package/dist/components/gov-side-nav.js.map +0 -1
- package/dist/components/gov-skeleton.d.ts +0 -11
- package/dist/components/gov-skeleton.js +0 -2
- package/dist/components/gov-skeleton.js.map +0 -1
- package/dist/components/gov-spacer.d.ts +0 -11
- package/dist/components/gov-spacer.js +0 -2
- package/dist/components/gov-spacer.js.map +0 -1
- package/dist/components/gov-statsbar-item.d.ts +0 -11
- package/dist/components/gov-statsbar-item.js +0 -2
- package/dist/components/gov-statsbar-item.js.map +0 -1
- package/dist/components/gov-statsbar.d.ts +0 -11
- package/dist/components/gov-statsbar.js +0 -2
- package/dist/components/gov-statsbar.js.map +0 -1
- package/dist/components/gov-stepper-item.d.ts +0 -11
- package/dist/components/gov-stepper-item.js +0 -2
- package/dist/components/gov-stepper-item.js.map +0 -1
- package/dist/components/gov-stepper.d.ts +0 -11
- package/dist/components/gov-stepper.js +0 -2
- package/dist/components/gov-stepper.js.map +0 -1
- package/dist/components/gov-tabs-item.d.ts +0 -11
- package/dist/components/gov-tabs-item.js +0 -2
- package/dist/components/gov-tabs-item.js.map +0 -1
- package/dist/components/gov-tabs.d.ts +0 -11
- package/dist/components/gov-tabs.js +0 -2
- package/dist/components/gov-tabs.js.map +0 -1
- package/dist/components/gov-tag.d.ts +0 -11
- package/dist/components/gov-tag.js +0 -2
- package/dist/components/gov-tag.js.map +0 -1
- package/dist/components/gov-tile.d.ts +0 -11
- package/dist/components/gov-tile.js +0 -2
- package/dist/components/gov-tile.js.map +0 -1
- package/dist/components/gov-tiles.d.ts +0 -11
- package/dist/components/gov-tiles.js +0 -2
- package/dist/components/gov-tiles.js.map +0 -1
- package/dist/components/gov-toast.d.ts +0 -11
- package/dist/components/gov-toast.js +0 -2
- package/dist/components/gov-toast.js.map +0 -1
- package/dist/components/gov-tooltip-content.d.ts +0 -11
- package/dist/components/gov-tooltip-content.js +0 -2
- package/dist/components/gov-tooltip-content.js.map +0 -1
- package/dist/components/gov-tooltip.d.ts +0 -11
- package/dist/components/gov-tooltip.js +0 -2
- package/dist/components/gov-tooltip.js.map +0 -1
- package/dist/components/gov-wizard-item.d.ts +0 -11
- package/dist/components/gov-wizard-item.js +0 -2
- package/dist/components/gov-wizard-item.js.map +0 -1
- package/dist/components/gov-wizard.d.ts +0 -11
- package/dist/components/gov-wizard.js +0 -2
- package/dist/components/gov-wizard.js.map +0 -1
- package/dist/components/index.d.ts +0 -33
- package/dist/components/index.js +0 -2
- package/dist/components/index.js.map +0 -1
- package/dist/components/p-003e6cca.js +0 -2
- package/dist/components/p-003e6cca.js.map +0 -1
- package/dist/components/p-036e0f9e.js +0 -2
- package/dist/components/p-036e0f9e.js.map +0 -1
- package/dist/components/p-03990da5.js +0 -2
- package/dist/components/p-03990da5.js.map +0 -1
- package/dist/components/p-17ebfe85.js +0 -2
- package/dist/components/p-17ebfe85.js.map +0 -1
- package/dist/components/p-1c1d0bbe.js +0 -2
- package/dist/components/p-1c1d0bbe.js.map +0 -1
- package/dist/components/p-1f84a302.js +0 -2
- package/dist/components/p-1f84a302.js.map +0 -1
- package/dist/components/p-24636c53.js +0 -2
- package/dist/components/p-24636c53.js.map +0 -1
- package/dist/components/p-28e59384.js +0 -2
- package/dist/components/p-28e59384.js.map +0 -1
- package/dist/components/p-2bf5b814.js +0 -2
- package/dist/components/p-2bf5b814.js.map +0 -1
- package/dist/components/p-2dee9951.js +0 -2
- package/dist/components/p-2dee9951.js.map +0 -1
- package/dist/components/p-3464136c.js +0 -2
- package/dist/components/p-3464136c.js.map +0 -1
- package/dist/components/p-3c71d697.js +0 -2
- package/dist/components/p-3c71d697.js.map +0 -1
- package/dist/components/p-4ce7b250.js +0 -2
- package/dist/components/p-4ce7b250.js.map +0 -1
- package/dist/components/p-4ff831e3.js +0 -2
- package/dist/components/p-4ff831e3.js.map +0 -1
- package/dist/components/p-53e02bee.js +0 -2
- package/dist/components/p-53e02bee.js.map +0 -1
- package/dist/components/p-55500e5a.js +0 -2
- package/dist/components/p-55500e5a.js.map +0 -1
- package/dist/components/p-570803ab.js +0 -2
- package/dist/components/p-570803ab.js.map +0 -1
- package/dist/components/p-5defdc5e.js +0 -2
- package/dist/components/p-5defdc5e.js.map +0 -1
- package/dist/components/p-619c90a3.js +0 -2
- package/dist/components/p-619c90a3.js.map +0 -1
- package/dist/components/p-6278531b.js +0 -2
- package/dist/components/p-6278531b.js.map +0 -1
- package/dist/components/p-6834d779.js +0 -2
- package/dist/components/p-6834d779.js.map +0 -1
- package/dist/components/p-700b19da.js +0 -2
- package/dist/components/p-700b19da.js.map +0 -1
- package/dist/components/p-74b2311a.js +0 -2
- package/dist/components/p-74b2311a.js.map +0 -1
- package/dist/components/p-7f2c9830.js +0 -2
- package/dist/components/p-7f2c9830.js.map +0 -1
- package/dist/components/p-9144dde1.js +0 -2
- package/dist/components/p-9144dde1.js.map +0 -1
- package/dist/components/p-9795ad94.js +0 -2
- package/dist/components/p-9795ad94.js.map +0 -1
- package/dist/components/p-9a4c910d.js +0 -2
- package/dist/components/p-9a4c910d.js.map +0 -1
- package/dist/components/p-a6d14a47.js +0 -2
- package/dist/components/p-a6d14a47.js.map +0 -1
- package/dist/components/p-b526e440.js +0 -2
- package/dist/components/p-b526e440.js.map +0 -1
- package/dist/components/p-b72a7bed.js +0 -2
- package/dist/components/p-b72a7bed.js.map +0 -1
- package/dist/components/p-be4aab0e.js +0 -2
- package/dist/components/p-be4aab0e.js.map +0 -1
- package/dist/components/p-d65d26d3.js +0 -2
- package/dist/components/p-d65d26d3.js.map +0 -1
- package/dist/components/p-db1f0452.js +0 -2
- package/dist/components/p-db1f0452.js.map +0 -1
- package/dist/components/p-dcb5fb35.js +0 -2
- package/dist/components/p-dcb5fb35.js.map +0 -1
- package/dist/components/p-e9e8b6ed.js +0 -2
- package/dist/components/p-e9e8b6ed.js.map +0 -1
- package/dist/components/p-fa1e4aea.js +0 -2
- package/dist/components/p-fa1e4aea.js.map +0 -1
- package/dist/components/p-ff7365ae.js +0 -2
- package/dist/components/p-ff7365ae.js.map +0 -1
- package/dist/components/p-ffb7495c.js +0 -2
- package/dist/components/p-ffb7495c.js.map +0 -1
- package/dist/core/core.css +0 -1
- package/dist/core/core.esm.js +0 -2
- package/dist/core/core.esm.js.map +0 -1
- package/dist/core/index.esm.js +0 -2
- package/dist/core/index.esm.js.map +0 -1
- package/dist/core/p-003e6cca.js +0 -2
- package/dist/core/p-003e6cca.js.map +0 -1
- package/dist/core/p-01d928c5.entry.js +0 -2
- package/dist/core/p-01d928c5.entry.js.map +0 -1
- package/dist/core/p-03990da5.js +0 -2
- package/dist/core/p-03990da5.js.map +0 -1
- package/dist/core/p-044f4c35.entry.js +0 -2
- package/dist/core/p-044f4c35.entry.js.map +0 -1
- package/dist/core/p-09966eaa.entry.js +0 -2
- package/dist/core/p-09966eaa.entry.js.map +0 -1
- package/dist/core/p-0e5fa8bf.js +0 -2
- package/dist/core/p-0e5fa8bf.js.map +0 -1
- package/dist/core/p-1116fec6.entry.js +0 -2
- package/dist/core/p-1116fec6.entry.js.map +0 -1
- package/dist/core/p-141d9af4.entry.js +0 -2
- package/dist/core/p-141d9af4.entry.js.map +0 -1
- package/dist/core/p-17ebfe85.js +0 -2
- package/dist/core/p-17ebfe85.js.map +0 -1
- package/dist/core/p-1c1d0bbe.js +0 -2
- package/dist/core/p-1c1d0bbe.js.map +0 -1
- package/dist/core/p-1fee1753.entry.js +0 -2
- package/dist/core/p-1fee1753.entry.js.map +0 -1
- package/dist/core/p-22abe742.entry.js +0 -2
- package/dist/core/p-22abe742.entry.js.map +0 -1
- package/dist/core/p-24636c53.js +0 -2
- package/dist/core/p-24636c53.js.map +0 -1
- package/dist/core/p-2712444e.entry.js +0 -2
- package/dist/core/p-2712444e.entry.js.map +0 -1
- package/dist/core/p-28e59384.js +0 -2
- package/dist/core/p-28e59384.js.map +0 -1
- package/dist/core/p-2969eb69.entry.js +0 -2
- package/dist/core/p-2969eb69.entry.js.map +0 -1
- package/dist/core/p-2bf5b814.js +0 -2
- package/dist/core/p-2bf5b814.js.map +0 -1
- package/dist/core/p-2f858bf5.entry.js +0 -2
- package/dist/core/p-2f858bf5.entry.js.map +0 -1
- package/dist/core/p-3464136c.js +0 -2
- package/dist/core/p-3464136c.js.map +0 -1
- package/dist/core/p-3b42950e.entry.js +0 -2
- package/dist/core/p-3b42950e.entry.js.map +0 -1
- package/dist/core/p-3c12c766.entry.js +0 -2
- package/dist/core/p-3c12c766.entry.js.map +0 -1
- package/dist/core/p-41c18f64.entry.js +0 -2
- package/dist/core/p-41c18f64.entry.js.map +0 -1
- package/dist/core/p-497c90ea.entry.js +0 -2
- package/dist/core/p-497c90ea.entry.js.map +0 -1
- package/dist/core/p-4a235ef5.entry.js +0 -2
- package/dist/core/p-4a235ef5.entry.js.map +0 -1
- package/dist/core/p-4c55142b.js +0 -2
- package/dist/core/p-4c55142b.js.map +0 -1
- package/dist/core/p-55500e5a.js +0 -2
- package/dist/core/p-55500e5a.js.map +0 -1
- package/dist/core/p-5bc604a3.js +0 -3
- package/dist/core/p-5bc604a3.js.map +0 -1
- package/dist/core/p-5defdc5e.js +0 -2
- package/dist/core/p-5defdc5e.js.map +0 -1
- package/dist/core/p-60963ed7.entry.js +0 -2
- package/dist/core/p-60963ed7.entry.js.map +0 -1
- package/dist/core/p-6278531b.js +0 -2
- package/dist/core/p-6278531b.js.map +0 -1
- package/dist/core/p-6675a0f0.entry.js +0 -2
- package/dist/core/p-6675a0f0.entry.js.map +0 -1
- package/dist/core/p-67138ae9.entry.js +0 -2
- package/dist/core/p-67138ae9.entry.js.map +0 -1
- package/dist/core/p-6834d779.js +0 -2
- package/dist/core/p-6834d779.js.map +0 -1
- package/dist/core/p-6dc942b8.entry.js +0 -2
- package/dist/core/p-6dc942b8.entry.js.map +0 -1
- package/dist/core/p-705efbf1.entry.js +0 -2
- package/dist/core/p-705efbf1.entry.js.map +0 -1
- package/dist/core/p-73b7585b.entry.js +0 -2
- package/dist/core/p-73b7585b.entry.js.map +0 -1
- package/dist/core/p-74882c70.entry.js +0 -2
- package/dist/core/p-74882c70.entry.js.map +0 -1
- package/dist/core/p-74b2311a.js +0 -2
- package/dist/core/p-74b2311a.js.map +0 -1
- package/dist/core/p-7724b535.js +0 -2
- package/dist/core/p-7724b535.js.map +0 -1
- package/dist/core/p-7757e4a1.entry.js +0 -2
- package/dist/core/p-7757e4a1.entry.js.map +0 -1
- package/dist/core/p-78942f76.entry.js +0 -2
- package/dist/core/p-78942f76.entry.js.map +0 -1
- package/dist/core/p-7f2c9830.js +0 -2
- package/dist/core/p-7f2c9830.js.map +0 -1
- package/dist/core/p-81593c86.entry.js +0 -2
- package/dist/core/p-81593c86.entry.js.map +0 -1
- package/dist/core/p-83e998d8.entry.js +0 -2
- package/dist/core/p-83e998d8.entry.js.map +0 -1
- package/dist/core/p-861714f2.entry.js +0 -2
- package/dist/core/p-861714f2.entry.js.map +0 -1
- package/dist/core/p-89b3e4d4.entry.js +0 -2
- package/dist/core/p-89b3e4d4.entry.js.map +0 -1
- package/dist/core/p-9144dde1.js +0 -2
- package/dist/core/p-9144dde1.js.map +0 -1
- package/dist/core/p-92af05f2.entry.js +0 -2
- package/dist/core/p-92af05f2.entry.js.map +0 -1
- package/dist/core/p-96d141a3.entry.js +0 -2
- package/dist/core/p-96d141a3.entry.js.map +0 -1
- package/dist/core/p-9a4c910d.js +0 -2
- package/dist/core/p-9a4c910d.js.map +0 -1
- package/dist/core/p-9c6699d6.entry.js +0 -2
- package/dist/core/p-9c6699d6.entry.js.map +0 -1
- package/dist/core/p-9dab01be.js +0 -2
- package/dist/core/p-9dab01be.js.map +0 -1
- package/dist/core/p-a63bb91e.entry.js +0 -2
- package/dist/core/p-a63bb91e.entry.js.map +0 -1
- package/dist/core/p-a6b6dc73.entry.js +0 -2
- package/dist/core/p-a6b6dc73.entry.js.map +0 -1
- package/dist/core/p-a6d14a47.js +0 -2
- package/dist/core/p-a6d14a47.js.map +0 -1
- package/dist/core/p-ac5e5b2c.entry.js +0 -2
- package/dist/core/p-ac5e5b2c.entry.js.map +0 -1
- package/dist/core/p-b1184db4.entry.js +0 -2
- package/dist/core/p-b1184db4.entry.js.map +0 -1
- package/dist/core/p-b127c8a8.entry.js +0 -2
- package/dist/core/p-b127c8a8.entry.js.map +0 -1
- package/dist/core/p-b49293dc.entry.js +0 -2
- package/dist/core/p-b49293dc.entry.js.map +0 -1
- package/dist/core/p-b4a59c79.entry.js +0 -2
- package/dist/core/p-b4a59c79.entry.js.map +0 -1
- package/dist/core/p-b4ab0d15.entry.js +0 -2
- package/dist/core/p-b4ab0d15.entry.js.map +0 -1
- package/dist/core/p-b580666b.entry.js +0 -2
- package/dist/core/p-b580666b.entry.js.map +0 -1
- package/dist/core/p-b5e1ee46.entry.js +0 -2
- package/dist/core/p-b5e1ee46.entry.js.map +0 -1
- package/dist/core/p-b7d23697.entry.js +0 -2
- package/dist/core/p-b7d23697.entry.js.map +0 -1
- package/dist/core/p-bb7f0a66.entry.js +0 -2
- package/dist/core/p-bb7f0a66.entry.js.map +0 -1
- package/dist/core/p-bbc7a0b0.entry.js +0 -2
- package/dist/core/p-bbc7a0b0.entry.js.map +0 -1
- package/dist/core/p-be4aab0e.js +0 -2
- package/dist/core/p-be4aab0e.js.map +0 -1
- package/dist/core/p-c574ecc8.entry.js +0 -2
- package/dist/core/p-c574ecc8.entry.js.map +0 -1
- package/dist/core/p-ccf73a1a.entry.js +0 -2
- package/dist/core/p-ccf73a1a.entry.js.map +0 -1
- package/dist/core/p-d298dd9c.entry.js +0 -2
- package/dist/core/p-d298dd9c.entry.js.map +0 -1
- package/dist/core/p-d69599bc.entry.js +0 -2
- package/dist/core/p-d69599bc.entry.js.map +0 -1
- package/dist/core/p-db1f0452.js +0 -2
- package/dist/core/p-db1f0452.js.map +0 -1
- package/dist/core/p-dcb5fb35.js +0 -2
- package/dist/core/p-dcb5fb35.js.map +0 -1
- package/dist/core/p-de3429ab.entry.js +0 -2
- package/dist/core/p-de3429ab.entry.js.map +0 -1
- package/dist/core/p-e24236b0.entry.js +0 -2
- package/dist/core/p-e24236b0.entry.js.map +0 -1
- package/dist/core/p-e5c2f601.entry.js +0 -2
- package/dist/core/p-e5c2f601.entry.js.map +0 -1
- package/dist/core/p-ee4c58e3.entry.js +0 -2
- package/dist/core/p-ee4c58e3.entry.js.map +0 -1
- package/dist/core/p-f1227928.entry.js +0 -2
- package/dist/core/p-f1227928.entry.js.map +0 -1
- package/dist/core/p-f29b0193.entry.js +0 -2
- package/dist/core/p-f29b0193.entry.js.map +0 -1
- package/dist/core/p-f636a1ca.entry.js +0 -2
- package/dist/core/p-f636a1ca.entry.js.map +0 -1
- package/dist/core/p-fa1e4aea.js +0 -2
- package/dist/core/p-fa1e4aea.js.map +0 -1
- package/dist/core/p-fb51d693.entry.js +0 -2
- package/dist/core/p-fb51d693.entry.js.map +0 -1
- package/dist/core/p-fc2a1e14.entry.js +0 -2
- package/dist/core/p-fc2a1e14.entry.js.map +0 -1
- package/dist/core/p-fc8a29e9.entry.js +0 -2
- package/dist/core/p-fc8a29e9.entry.js.map +0 -1
- package/dist/core/p-fd4b0f54.entry.js +0 -2
- package/dist/core/p-fd4b0f54.entry.js.map +0 -1
- package/dist/core/p-ff7365ae.js +0 -2
- package/dist/core/p-ff7365ae.js.map +0 -1
- package/dist/core/p-ffb7495c.js +0 -2
- package/dist/core/p-ffb7495c.js.map +0 -1
- package/dist/esm/Fragment-8d8d54fb.js +0 -5
- package/dist/esm/Fragment-8d8d54fb.js.map +0 -1
- package/dist/esm/constants-09bda759.js +0 -25
- package/dist/esm/constants-09bda759.js.map +0 -1
- package/dist/esm/constants-2499979c.js +0 -24
- package/dist/esm/constants-2499979c.js.map +0 -1
- package/dist/esm/constants-27b48cd1.js +0 -22
- package/dist/esm/constants-27b48cd1.js.map +0 -1
- package/dist/esm/constants-2a283e9a.js +0 -18
- package/dist/esm/constants-2a283e9a.js.map +0 -1
- package/dist/esm/constants-2b14bb01.js +0 -10
- package/dist/esm/constants-2b14bb01.js.map +0 -1
- package/dist/esm/constants-34a29ae2.js +0 -33
- package/dist/esm/constants-34a29ae2.js.map +0 -1
- package/dist/esm/constants-3786b01b.js +0 -22
- package/dist/esm/constants-3786b01b.js.map +0 -1
- package/dist/esm/constants-3df712e2.js +0 -13
- package/dist/esm/constants-3df712e2.js.map +0 -1
- package/dist/esm/constants-47d7a8bc.js +0 -17
- package/dist/esm/constants-47d7a8bc.js.map +0 -1
- package/dist/esm/constants-6df4edc4.js +0 -29
- package/dist/esm/constants-6df4edc4.js.map +0 -1
- package/dist/esm/constants-78474786.js +0 -25
- package/dist/esm/constants-78474786.js.map +0 -1
- package/dist/esm/constants-867ac6e2.js +0 -19
- package/dist/esm/constants-867ac6e2.js.map +0 -1
- package/dist/esm/constants-887c5391.js +0 -23
- package/dist/esm/constants-887c5391.js.map +0 -1
- package/dist/esm/constants-d71c09e0.js +0 -12
- package/dist/esm/constants-d71c09e0.js.map +0 -1
- package/dist/esm/constants-ebec7de8.js +0 -12
- package/dist/esm/constants-ebec7de8.js.map +0 -1
- package/dist/esm/core.js +0 -43
- package/dist/esm/core.js.map +0 -1
- package/dist/esm/form-39dc6896.js +0 -145
- package/dist/esm/form-39dc6896.js.map +0 -1
- package/dist/esm/gov-accordion-item.entry.js +0 -98
- package/dist/esm/gov-accordion-item.entry.js.map +0 -1
- package/dist/esm/gov-accordion.entry.js +0 -73
- package/dist/esm/gov-accordion.entry.js.map +0 -1
- package/dist/esm/gov-app.entry.js +0 -9445
- package/dist/esm/gov-app.entry.js.map +0 -1
- package/dist/esm/gov-attachments_3.entry.js +0 -114
- package/dist/esm/gov-attachments_3.entry.js.map +0 -1
- package/dist/esm/gov-backdrop.entry.js +0 -46
- package/dist/esm/gov-backdrop.entry.js.map +0 -1
- package/dist/esm/gov-breadcrumbs.entry.js +0 -46
- package/dist/esm/gov-breadcrumbs.entry.js.map +0 -1
- package/dist/esm/gov-button.entry.js +0 -176
- package/dist/esm/gov-button.entry.js.map +0 -1
- package/dist/esm/gov-card.entry.js +0 -108
- package/dist/esm/gov-card.entry.js.map +0 -1
- package/dist/esm/gov-chip.entry.js +0 -104
- package/dist/esm/gov-chip.entry.js.map +0 -1
- package/dist/esm/gov-container.entry.js +0 -32
- package/dist/esm/gov-container.entry.js.map +0 -1
- package/dist/esm/gov-control-group.entry.js +0 -39
- package/dist/esm/gov-control-group.entry.js.map +0 -1
- package/dist/esm/gov-cookiebar.entry.js +0 -29
- package/dist/esm/gov-cookiebar.entry.js.map +0 -1
- package/dist/esm/gov-dropdown.entry.js +0 -131
- package/dist/esm/gov-dropdown.entry.js.map +0 -1
- package/dist/esm/gov-empty.entry.js +0 -27
- package/dist/esm/gov-empty.entry.js.map +0 -1
- package/dist/esm/gov-error-code.entry.js +0 -27
- package/dist/esm/gov-error-code.entry.js.map +0 -1
- package/dist/esm/gov-form-autocomplete.entry.js +0 -241
- package/dist/esm/gov-form-autocomplete.entry.js.map +0 -1
- package/dist/esm/gov-form-checkbox.entry.js +0 -127
- package/dist/esm/gov-form-checkbox.entry.js.map +0 -1
- package/dist/esm/gov-form-control.entry.js +0 -103
- package/dist/esm/gov-form-control.entry.js.map +0 -1
- package/dist/esm/gov-form-file.entry.js +0 -236
- package/dist/esm/gov-form-file.entry.js.map +0 -1
- package/dist/esm/gov-form-group.entry.js +0 -55
- package/dist/esm/gov-form-group.entry.js.map +0 -1
- package/dist/esm/gov-form-input.entry.js +0 -186
- package/dist/esm/gov-form-input.entry.js.map +0 -1
- package/dist/esm/gov-form-label.entry.js +0 -26
- package/dist/esm/gov-form-label.entry.js.map +0 -1
- package/dist/esm/gov-form-multi-select.entry.js +0 -300
- package/dist/esm/gov-form-multi-select.entry.js.map +0 -1
- package/dist/esm/gov-form-password-power.entry.js +0 -24
- package/dist/esm/gov-form-password-power.entry.js.map +0 -1
- package/dist/esm/gov-form-radio.entry.js +0 -127
- package/dist/esm/gov-form-radio.entry.js.map +0 -1
- package/dist/esm/gov-form-search.entry.js +0 -28
- package/dist/esm/gov-form-search.entry.js.map +0 -1
- package/dist/esm/gov-form-select.entry.js +0 -163
- package/dist/esm/gov-form-select.entry.js.map +0 -1
- package/dist/esm/gov-form-switch.entry.js +0 -127
- package/dist/esm/gov-form-switch.entry.js.map +0 -1
- package/dist/esm/gov-grid-item.entry.js +0 -26
- package/dist/esm/gov-grid-item.entry.js.map +0 -1
- package/dist/esm/gov-grid.entry.js +0 -24
- package/dist/esm/gov-grid.entry.js.map +0 -1
- package/dist/esm/gov-icon.entry.js +0 -131
- package/dist/esm/gov-icon.entry.js.map +0 -1
- package/dist/esm/gov-infobar.entry.js +0 -87
- package/dist/esm/gov-infobar.entry.js.map +0 -1
- package/dist/esm/gov-layout-column.entry.js +0 -21
- package/dist/esm/gov-layout-column.entry.js.map +0 -1
- package/dist/esm/gov-layout.entry.js +0 -30
- package/dist/esm/gov-layout.entry.js.map +0 -1
- package/dist/esm/gov-loading.entry.js +0 -26
- package/dist/esm/gov-loading.entry.js.map +0 -1
- package/dist/esm/gov-message.entry.js +0 -40
- package/dist/esm/gov-message.entry.js.map +0 -1
- package/dist/esm/gov-modal.entry.js +0 -102
- package/dist/esm/gov-modal.entry.js.map +0 -1
- package/dist/esm/gov-nav-item.entry.js +0 -35
- package/dist/esm/gov-nav-item.entry.js.map +0 -1
- package/dist/esm/gov-nav.entry.js +0 -38
- package/dist/esm/gov-nav.entry.js.map +0 -1
- package/dist/esm/gov-pagination.entry.js +0 -220
- package/dist/esm/gov-pagination.entry.js.map +0 -1
- package/dist/esm/gov-prompt.entry.js +0 -99
- package/dist/esm/gov-prompt.entry.js.map +0 -1
- package/dist/esm/gov-side-nav-item.entry.js +0 -83
- package/dist/esm/gov-side-nav-item.entry.js.map +0 -1
- package/dist/esm/gov-side-nav.entry.js +0 -52
- package/dist/esm/gov-side-nav.entry.js.map +0 -1
- package/dist/esm/gov-skeleton.entry.js +0 -113
- package/dist/esm/gov-skeleton.entry.js.map +0 -1
- package/dist/esm/gov-spacer.entry.js +0 -54
- package/dist/esm/gov-spacer.entry.js.map +0 -1
- package/dist/esm/gov-statsbar-item.entry.js +0 -36
- package/dist/esm/gov-statsbar-item.entry.js.map +0 -1
- package/dist/esm/gov-statsbar.entry.js +0 -49
- package/dist/esm/gov-statsbar.entry.js.map +0 -1
- package/dist/esm/gov-stepper-item.entry.js +0 -74
- package/dist/esm/gov-stepper-item.entry.js.map +0 -1
- package/dist/esm/gov-stepper.entry.js +0 -47
- package/dist/esm/gov-stepper.entry.js.map +0 -1
- package/dist/esm/gov-tabs-item.entry.js +0 -49
- package/dist/esm/gov-tabs-item.entry.js.map +0 -1
- package/dist/esm/gov-tabs.entry.js +0 -194
- package/dist/esm/gov-tabs.entry.js.map +0 -1
- package/dist/esm/gov-tag.entry.js +0 -53
- package/dist/esm/gov-tag.entry.js.map +0 -1
- package/dist/esm/gov-tile.entry.js +0 -38
- package/dist/esm/gov-tile.entry.js.map +0 -1
- package/dist/esm/gov-tiles.entry.js +0 -29
- package/dist/esm/gov-tiles.entry.js.map +0 -1
- package/dist/esm/gov-toast.entry.js +0 -97
- package/dist/esm/gov-toast.entry.js.map +0 -1
- package/dist/esm/gov-tooltip-content.entry.js +0 -50
- package/dist/esm/gov-tooltip-content.entry.js.map +0 -1
- package/dist/esm/gov-tooltip.entry.js +0 -220
- package/dist/esm/gov-tooltip.entry.js.map +0 -1
- package/dist/esm/gov-wizard-item.entry.js +0 -111
- package/dist/esm/gov-wizard-item.entry.js.map +0 -1
- package/dist/esm/gov-wizard.entry.js +0 -65
- package/dist/esm/gov-wizard.entry.js.map +0 -1
- package/dist/esm/gov.log-49da0221.js +0 -25
- package/dist/esm/gov.log-49da0221.js.map +0 -1
- package/dist/esm/helpers-bc0fd116.js +0 -17
- package/dist/esm/helpers-bc0fd116.js.map +0 -1
- package/dist/esm/index-eb59f132.js +0 -2686
- package/dist/esm/index-eb59f132.js.map +0 -1
- package/dist/esm/index.js +0 -3
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js +0 -11
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/props-a85d9c89.js +0 -14
- package/dist/esm/props-a85d9c89.js.map +0 -1
- package/dist/esm/sizes-6c5943b4.js +0 -18
- package/dist/esm/sizes-6c5943b4.js.map +0 -1
- package/dist/esm/string.utils-f268fc6b.js +0 -20
- package/dist/esm/string.utils-f268fc6b.js.map +0 -1
- package/dist/esm/template-df429738.js +0 -120
- package/dist/esm/template-df429738.js.map +0 -1
- package/dist/esm/utils-c057a3fa.js +0 -35
- package/dist/esm/utils-c057a3fa.js.map +0 -1
- package/dist/esm/variants-2b936d58.js +0 -18
- package/dist/esm/variants-2b936d58.js.map +0 -1
- package/dist/esm/wcag-7d25e12b.js +0 -62
- package/dist/esm/wcag-7d25e12b.js.map +0 -1
- package/dist/esm/win-1dbd3f5c.js +0 -31
- package/dist/esm/win-1dbd3f5c.js.map +0 -1
- package/dist/globals.d.ts +0 -2
- package/dist/hydrate/index.d.ts +0 -218
- package/dist/hydrate/index.js +0 -22095
- package/dist/hydrate/package.json +0 -6
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/stencil.config.js +0 -75
- package/dist/stencil.config.js.map +0 -1
- package/dist/types/Users/iwory/iWork/asseco/mv/gov-design-system-ce/packages/core/.stencil/packages/core/stencil.config.d.ts +0 -2
- package/dist/types/components/gov-accordion/constants.d.ts +0 -22
- package/dist/types/components/gov-accordion/gov-accordion-item.d.ts +0 -58
- package/dist/types/components/gov-accordion/gov-accordion.d.ts +0 -42
- package/dist/types/components/gov-accordion/gov-accordion.types.d.ts +0 -9
- package/dist/types/components/gov-app/gov-app.d.ts +0 -40
- package/dist/types/components/gov-attachments/constants.d.ts +0 -11
- package/dist/types/components/gov-attachments/gov-attachments-item.d.d.ts +0 -4
- package/dist/types/components/gov-attachments/gov-attachments-item.d.ts +0 -24
- package/dist/types/components/gov-attachments/gov-attachments.d.ts +0 -19
- package/dist/types/components/gov-backdrop/constants.d.ts +0 -4
- package/dist/types/components/gov-backdrop/gov-backdrop.d.ts +0 -28
- package/dist/types/components/gov-breadcrumbs/constants.d.ts +0 -3
- package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.d.ts +0 -4
- package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +0 -33
- package/dist/types/components/gov-button/button/constants.d.ts +0 -30
- package/dist/types/components/gov-button/button/gov-button.d.ts +0 -180
- package/dist/types/components/gov-button/button/gov-button.types.d.ts +0 -4
- package/dist/types/components/gov-button/dropdown/constants.d.ts +0 -10
- package/dist/types/components/gov-button/dropdown/gov-dropdown.d.ts +0 -34
- package/dist/types/components/gov-button/dropdown/gov-dropdown.types.d.ts +0 -4
- package/dist/types/components/gov-card/constants.d.ts +0 -13
- package/dist/types/components/gov-card/gov-card.d.ts +0 -60
- package/dist/types/components/gov-card/interfaces.d.ts +0 -4
- package/dist/types/components/gov-chip/constants.d.ts +0 -13
- package/dist/types/components/gov-chip/gov-chip.d.ts +0 -93
- package/dist/types/components/gov-container/constants.d.ts +0 -3
- package/dist/types/components/gov-container/gov-container.d.ts +0 -12
- package/dist/types/components/gov-control-group/constants.d.ts +0 -7
- package/dist/types/components/gov-control-group/gov-control-group.d.ts +0 -16
- package/dist/types/components/gov-cookiebar/constants.d.ts +0 -8
- package/dist/types/components/gov-cookiebar/gov-cookiebar.d.ts +0 -7
- package/dist/types/components/gov-empty/constants.d.ts +0 -6
- package/dist/types/components/gov-empty/gov-empty.d.ts +0 -6
- package/dist/types/components/gov-error-code/constants.d.ts +0 -6
- package/dist/types/components/gov-error-code/gov-error-code.d.ts +0 -6
- package/dist/types/components/gov-form/autocomplete/constants.d.ts +0 -14
- package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +0 -151
- package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.types.d.ts +0 -9
- package/dist/types/components/gov-form/checkbox/constants.d.ts +0 -9
- package/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +0 -87
- package/dist/types/components/gov-form/checkbox/gov-form-checkbox.types.d.ts +0 -5
- package/dist/types/components/gov-form/control/constants.d.ts +0 -9
- package/dist/types/components/gov-form/control/gov-form-control.d.ts +0 -47
- package/dist/types/components/gov-form/file/constants.d.ts +0 -9
- package/dist/types/components/gov-form/file/gov-form-file.d.ts +0 -133
- package/dist/types/components/gov-form/file/gov-form-file.types.d.ts +0 -11
- package/dist/types/components/gov-form/group/constants.d.ts +0 -12
- package/dist/types/components/gov-form/group/gov-form-group.d.ts +0 -18
- package/dist/types/components/gov-form/input/constants.d.ts +0 -30
- package/dist/types/components/gov-form/input/gov-form-input.d.ts +0 -181
- package/dist/types/components/gov-form/input/gov-form-input.types.d.ts +0 -4
- package/dist/types/components/gov-form/label/constants.d.ts +0 -8
- package/dist/types/components/gov-form/label/gov-form-label.d.ts +0 -26
- package/dist/types/components/gov-form/message/constants.d.ts +0 -9
- package/dist/types/components/gov-form/message/gov-form-message.d.ts +0 -19
- package/dist/types/components/gov-form/multiselect/constants.d.ts +0 -13
- package/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +0 -157
- package/dist/types/components/gov-form/multiselect/gov-form-multi-select.types.d.ts +0 -9
- package/dist/types/components/gov-form/password-power/constants.d.ts +0 -5
- package/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +0 -7
- package/dist/types/components/gov-form/radio/constants.d.ts +0 -11
- package/dist/types/components/gov-form/radio/gov-form-radio.d.ts +0 -87
- package/dist/types/components/gov-form/radio/gov-form-radio.types.d.ts +0 -5
- package/dist/types/components/gov-form/search/constants.d.ts +0 -9
- package/dist/types/components/gov-form/search/gov-form-search.d.ts +0 -9
- package/dist/types/components/gov-form/select/constants.d.ts +0 -11
- package/dist/types/components/gov-form/select/gov-form-select.d.ts +0 -115
- package/dist/types/components/gov-form/select/gov-form-select.types.d.ts +0 -9
- package/dist/types/components/gov-form/switch/constants.d.ts +0 -10
- package/dist/types/components/gov-form/switch/gov-form-switch.d.ts +0 -87
- package/dist/types/components/gov-form/switch/gov-form-switch.types.d.ts +0 -5
- package/dist/types/components/gov-grid/constants.d.ts +0 -6
- package/dist/types/components/gov-grid/gov-grid-item.d.ts +0 -26
- package/dist/types/components/gov-grid/gov-grid.d.ts +0 -14
- package/dist/types/components/gov-icon/constants.d.ts +0 -12
- package/dist/types/components/gov-icon/gov-icon.d.ts +0 -23
- package/dist/types/components/gov-icon/helpers.d.ts +0 -5
- package/dist/types/components/gov-icon/list.d.ts +0 -3
- package/dist/types/components/gov-infobar/constants.d.ts +0 -13
- package/dist/types/components/gov-infobar/gov-infobar.d.ts +0 -47
- package/dist/types/components/gov-infobar/gov-infobar.types.d.ts +0 -4
- package/dist/types/components/gov-layout/constants.d.ts +0 -20
- package/dist/types/components/gov-layout/gov-layout-column.d.ts +0 -6
- package/dist/types/components/gov-layout/gov-layout.d.ts +0 -20
- package/dist/types/components/gov-loading/loading/constants.d.ts +0 -5
- package/dist/types/components/gov-loading/loading/gov-loading.d.ts +0 -6
- package/dist/types/components/gov-loading/skeleton/constants.d.ts +0 -20
- package/dist/types/components/gov-loading/skeleton/gov-skeleton.d.ts +0 -52
- package/dist/types/components/gov-message/constants.d.ts +0 -10
- package/dist/types/components/gov-message/gov-message.d.ts +0 -12
- package/dist/types/components/gov-modal/constants.d.ts +0 -14
- package/dist/types/components/gov-modal/gov-modal.d.ts +0 -69
- package/dist/types/components/gov-nav/constants.d.ts +0 -8
- package/dist/types/components/gov-nav/gov-nav-item.d.ts +0 -12
- package/dist/types/components/gov-nav/gov-nav.d.ts +0 -17
- package/dist/types/components/gov-pagination/constants.d.ts +0 -22
- package/dist/types/components/gov-pagination/gov-pagination.d.ts +0 -87
- package/dist/types/components/gov-pagination/gov-pagination.types.d.ts +0 -5
- package/dist/types/components/gov-pagination/pagination.d.ts +0 -12
- package/dist/types/components/gov-promp/constants.d.ts +0 -12
- package/dist/types/components/gov-promp/gov-prompt.d.ts +0 -65
- package/dist/types/components/gov-side-nav/constants.d.ts +0 -15
- package/dist/types/components/gov-side-nav/gov-side-nav-item.d.d.ts +0 -4
- package/dist/types/components/gov-side-nav/gov-side-nav-item.d.ts +0 -67
- package/dist/types/components/gov-side-nav/gov-side-nav.d.ts +0 -32
- package/dist/types/components/gov-spacer/constants.d.ts +0 -15
- package/dist/types/components/gov-spacer/gov-spacer.d.ts +0 -18
- package/dist/types/components/gov-statsbar/constants.d.ts +0 -18
- package/dist/types/components/gov-statsbar/gov-statsbar-item.d.ts +0 -14
- package/dist/types/components/gov-statsbar/gov-statsbar.d.ts +0 -19
- package/dist/types/components/gov-stepper/constants.d.ts +0 -22
- package/dist/types/components/gov-stepper/gov-stepper-item.d.d.ts +0 -4
- package/dist/types/components/gov-stepper/gov-stepper-item.d.ts +0 -48
- package/dist/types/components/gov-stepper/gov-stepper.d.ts +0 -20
- package/dist/types/components/gov-tabs/constants.d.ts +0 -25
- package/dist/types/components/gov-tabs/gov-tabs-item.d.ts +0 -37
- package/dist/types/components/gov-tabs/gov-tabs.d.ts +0 -72
- package/dist/types/components/gov-tabs/gov-tabs.types.d.ts +0 -8
- package/dist/types/components/gov-tag/constants.d.ts +0 -3
- package/dist/types/components/gov-tag/gov-tag.d.ts +0 -30
- package/dist/types/components/gov-tile/constants.d.ts +0 -9
- package/dist/types/components/gov-tile/container/constants.d.ts +0 -3
- package/dist/types/components/gov-tile/container/gov-tiles.d.ts +0 -15
- package/dist/types/components/gov-tile/gov-tile.d.ts +0 -21
- package/dist/types/components/gov-toast/constants.d.ts +0 -14
- package/dist/types/components/gov-toast/gov-toast.d.ts +0 -53
- package/dist/types/components/gov-tooltip/constants.d.ts +0 -20
- package/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +0 -28
- package/dist/types/components/gov-tooltip/gov-tooltip.d.ts +0 -54
- package/dist/types/components/gov-wizard/constants.d.ts +0 -21
- package/dist/types/components/gov-wizard/gov-wizard-item.d.d.ts +0 -4
- package/dist/types/components/gov-wizard/gov-wizard-item.d.ts +0 -72
- package/dist/types/components/gov-wizard/gov-wizard-item.types.d.ts +0 -4
- package/dist/types/components/gov-wizard/gov-wizard.d.ts +0 -33
- package/dist/types/components.d.ts +0 -4461
- package/dist/types/core/constants/sizes.d.ts +0 -13
- package/dist/types/core/constants/tags.d.ts +0 -12
- package/dist/types/core/constants/tokens.d.ts +0 -1
- package/dist/types/core/constants/variants.d.ts +0 -12
- package/dist/types/helpers/Dom/form.d.ts +0 -3
- package/dist/types/helpers/Dom/form.types.d.ts +0 -11
- package/dist/types/helpers/Dom/template.d.ts +0 -10
- package/dist/types/helpers/Dom/template.types.d.ts +0 -13
- package/dist/types/helpers/Dom/win.d.ts +0 -18
- package/dist/types/helpers/Fragment.d.ts +0 -2
- package/dist/types/helpers/Log/gov.log.d.ts +0 -8
- package/dist/types/helpers/Validate/props.d.ts +0 -1
- package/dist/types/helpers/Validate/wcag.d.ts +0 -4
- package/dist/types/index.d.ts +0 -1
- package/dist/types/interfaces.d.ts +0 -1
- package/dist/types/pages/Accordion.d.ts +0 -3
- package/dist/types/pages/Breadcrumbs.d.ts +0 -3
- package/dist/types/pages/Button.d.ts +0 -3
- package/dist/types/pages/Card.d.ts +0 -3
- package/dist/types/pages/Chip.d.ts +0 -3
- package/dist/types/pages/Container.d.ts +0 -3
- package/dist/types/pages/ControlGroup.d.ts +0 -3
- package/dist/types/pages/Cookiebar.d.ts +0 -3
- package/dist/types/pages/Empty.d.ts +0 -3
- package/dist/types/pages/Error.d.ts +0 -3
- package/dist/types/pages/FormLabel.d.ts +0 -3
- package/dist/types/pages/FormMessage.d.ts +0 -3
- package/dist/types/pages/Forms.d.ts +0 -8
- package/dist/types/pages/FormsRestructure.d.ts +0 -3
- package/dist/types/pages/Grid.d.ts +0 -3
- package/dist/types/pages/Home.d.ts +0 -3
- package/dist/types/pages/Infobar.d.ts +0 -3
- package/dist/types/pages/Layout.d.ts +0 -3
- package/dist/types/pages/Loading.d.ts +0 -3
- package/dist/types/pages/Message.d.ts +0 -3
- package/dist/types/pages/Modal.d.ts +0 -3
- package/dist/types/pages/Nav.d.ts +0 -3
- package/dist/types/pages/Pagination.d.ts +0 -3
- package/dist/types/pages/Prompt.d.ts +0 -3
- package/dist/types/pages/SideNav.d.ts +0 -3
- package/dist/types/pages/Spacer.d.ts +0 -3
- package/dist/types/pages/Statsbar.d.ts +0 -3
- package/dist/types/pages/Stepper.d.ts +0 -3
- package/dist/types/pages/Tabs.d.ts +0 -3
- package/dist/types/pages/Tag.d.ts +0 -3
- package/dist/types/pages/Tiles.d.ts +0 -3
- package/dist/types/pages/ToastMessage.d.ts +0 -3
- package/dist/types/pages/ToastMessageCountdown.d.ts +0 -3
- package/dist/types/pages/Tooltip.d.ts +0 -3
- package/dist/types/pages/Typography.d.ts +0 -3
- package/dist/types/pages/Wizard.d.ts +0 -3
- package/dist/types/stencil-public-runtime.d.ts +0 -1652
- package/dist/types/types/event.types.d.ts +0 -4
- package/dist/types/types/interfaces.d.ts +0 -2
- package/dist/types/types/typings.d.ts +0 -6
- package/dist/types/utils/array.utils.d.ts +0 -1
- package/dist/types/utils/bool.utils.d.ts +0 -1
- package/dist/types/utils/ds.utils.d.ts +0 -1
- package/dist/types/utils/file.utils.d.ts +0 -3
- package/dist/types/utils/helpers.types.d.ts +0 -49
- package/dist/types/utils/icon.utils.d.ts +0 -4
- package/dist/types/utils/number.utils.d.ts +0 -1
- package/dist/types/utils/string.utils.d.ts +0 -3
- package/dist/types/utils/utils.d.ts +0 -20
- package/loader/cdn.js +0 -3
- package/loader/index.cjs.js +0 -3
- package/loader/index.d.ts +0 -21
- package/loader/index.es2017.js +0 -3
- package/loader/index.js +0 -4
- package/loader/package.json +0 -11
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"gov-layout.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,YAAY,GAAG,smDAAsmD;;MCS9mD,SAAS;EAGrB;;gBAQqC,SAAS;;mBAQV,KAAK;IAfxC,IAAI,CAAC,CAAC,GAAGA,gBAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;GAC3B;EAgBO,SAAS,CAAC,aAAqB,EAAE,IAAY,EAAE,OAAe,EAAE,OAAgB;IACvF,MAAM,MAAM,GAAG,IAAI,GAAG,GAAG,GAAG,IAAI,GAAG,EAAE,CAAA;IACrC,MAAM,SAAS,GAAG,OAAO,GAAG,GAAG,GAAG,OAAO,GAAG,EAAE,CAAA;IAC9C,MAAM,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,EAAE,CAAA;IAC3C,OAAO,aAAa,GAAG,GAAG,GAAG,aAAa,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAA;GAC3E;EAED,MAAM;IACL,QACCC,QAACC,UAAI,IAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAACC,qBAAW,CAAC,IAAI,CAAC,IAC7DF,qBAAS,KAAK,EAAE,IAAI,CAAC,SAAS,CAACE,qBAAW,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IACzFF,qBAAQ,CACC,CACJ,EACP;GACD;;;;;;;","names":["govHost","h","Host","LayoutClass"],"sources":["../../../packages/core/src/components/gov-layout/gov-layout.scss?tag=gov-layout","../../../packages/core/src/components/gov-layout/gov-layout.tsx"],"sourcesContent":["/*\n * Layout\n */\n\n$class: \".gov-layout\";\n\n@mixin big() {\n\tflex: 1 1 auto;\n\twidth: auto;\n}\n\n@mixin small() {\n\tflex: 0 0 auto;\n\twidth: calc($container-width / 3 - $layout-gap);\n}\n\n#{$class} {\n\t@include base();\n\t&__section {\n\t\tdisplay: flex;\n\t\tgap: $layout-gap;\n\t\tflex-direction: column;\n\t}\n\n\t// MQ\n\t@include mq($from: lg) {\n\t\t&__section {\n\t\t\tflex-direction: row;\n\n\t\t\t&-aside-right,\n\t\t\t&-aside {\n\t\t\t\t#{$class}-column:first-child {\n\t\t\t\t\t@include big;\n\t\t\t\t}\n\n\t\t\t\t#{$class}-column:last-child {\n\t\t\t\t\t@include small;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&-aside-left {\n\t\t\t\t#{$class}-column:first-child {\n\t\t\t\t\t@include small;\n\t\t\t\t}\n\n\t\t\t\t#{$class}-column:last-child {\n\t\t\t\t\t@include big;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&-aside-right-inverse {\n\t\t\t\t#{$class}-column:first-child {\n\t\t\t\t\torder: 1;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&-aside-left-inverse {\n\t\t\t\t#{$class}-column:first-child {\n\t\t\t\t\torder: 2;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&-text {\n\t\t\t\twidth: $layout-content-width;\n\t\t\t\tmargin-right: auto;\n\t\t\t\tmargin-left: auto;\n\t\t\t}\n\n\t\t\t&-text-left {\n\t\t\t\twidth: $layout-content-width;\n\t\t\t\tmargin-right: auto;\n\t\t\t}\n\n\t\t\t&-text-right {\n\t\t\t\twidth: $layout-content-width;\n\t\t\t\tmargin-left: auto;\n\t\t\t}\n\t\t}\n\t}\n}\n","import { Component, Element, h, Host, Prop } from '@stencil/core'\nimport { LayoutClass, LayoutType, LayoutVariantType } from './constants'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { govHost } from '../../helpers/Dom/template'\n\n@Component({\n\ttag: 'gov-layout',\n\tstyleUrl: 'gov-layout.scss',\n})\nexport class GovLayout {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovLayoutElement\n\t/**\n\t * Layout type\n\t */\n\t@Prop() readonly type?: LayoutType = 'stretch'\n\t/**\n\t * Layout align\n\t */\n\t@Prop() readonly variant?: LayoutVariantType\n\t/**\n\t * Determine if component should have inverse column order\n\t */\n\t@Prop() readonly inverse: boolean = false\n\n\tprivate typeClass(originalClass: string, type: string, variant: string, inverse: boolean) {\n\t\tconst isType = type ? '-' + type : ''\n\t\tconst isVariant = variant ? '-' + variant : ''\n\t\tconst isInverse = inverse ? '-inverse' : ''\n\t\treturn originalClass + ' ' + originalClass + isType + isVariant + isInverse\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host type={this.type} class={this.h.classes(LayoutClass.root)}>\n\t\t\t\t<section class={this.typeClass(LayoutClass.section, this.type, this.variant, this.inverse)}>\n\t\t\t\t\t<slot />\n\t\t\t\t</section>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-7b6bba34.js');
|
|
6
|
-
const template = require('./template-4b951d1d.js');
|
|
7
|
-
|
|
8
|
-
const LoadingClass = {
|
|
9
|
-
root: 'gov-loading',
|
|
10
|
-
content: 'gov-loading__content',
|
|
11
|
-
icon: 'gov-loading__icon',
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
const govLoadingCss = ".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-loading{display:block}.gov-loading__content{z-index:101;position:fixed;top:50%;left:50%;display:flex;gap:1rem;flex-direction:column;align-items:center;min-width:9.6875rem;padding:1.5rem;border-radius:0.5rem;background:var(--gov-loading-bg, rgba(var(--gov-color-secondary-400-rgb), 0.8));color:var(--gov-loading-color, var(--gov-color-primary));text-align:center;transform:translate(-50%, -50%)}.gov-loading__icon{width:4rem;height:4rem;line-height:1}.gov-loading__icon svg{width:100%;height:100%}";
|
|
15
|
-
|
|
16
|
-
const GovLoading = class {
|
|
17
|
-
constructor(hostRef) {
|
|
18
|
-
index.registerInstance(this, hostRef);
|
|
19
|
-
this.h = template.govHost(this.host);
|
|
20
|
-
}
|
|
21
|
-
render() {
|
|
22
|
-
return (index.h(index.Host, { class: this.h.classes(LoadingClass.root) }, index.h("div", { class: LoadingClass.content }, index.h("gov-icon", { class: template.prepareClasses([LoadingClass.icon, "gov-spin-animation"]), name: "loader" }), index.h("slot", null)), index.h("gov-backdrop", { inverse: true })));
|
|
23
|
-
}
|
|
24
|
-
get host() { return index.getElement(this); }
|
|
25
|
-
};
|
|
26
|
-
GovLoading.style = govLoadingCss;
|
|
27
|
-
|
|
28
|
-
exports.gov_loading = GovLoading;
|
|
29
|
-
|
|
30
|
-
//# sourceMappingURL=gov-loading.cjs.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"gov-loading.entry.cjs.js","mappings":";;;;;;;AAAO,MAAM,YAAY,GAAG;EAC3B,IAAI,EAAE,aAAa;EACnB,OAAO,EAAE,sBAAsB;EAC/B,IAAI,EAAE,mBAAmB;CACzB;;ACJD,MAAM,aAAa,GAAG,60BAA60B;;MCSt1B,UAAU;EAGtB;;IACC,IAAI,CAAC,CAAC,GAAGA,gBAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;GAC3B;EAID,MAAM;IACL,QACCC,QAACC,UAAI,IAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,IAC7CD,iBAAK,KAAK,EAAE,YAAY,CAAC,OAAO,IAC/BA,sBAAU,KAAK,EAAEE,uBAAc,CAAC,CAAC,YAAY,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC,EAAE,IAAI,EAAC,QAAQ,GAAY,EACrGF,qBAAQ,CACH,EACNA,0BAAc,OAAO,EAAE,IAAI,GAAI,CACzB,EACP;GACD;;;;;;;","names":["govHost","h","Host","prepareClasses"],"sources":["../../../packages/core/src/components/gov-loading/loading/constants.ts","../../../packages/core/src/components/gov-loading/loading/gov-loading.scss?tag=gov-loading","../../../packages/core/src/components/gov-loading/loading/gov-loading.tsx"],"sourcesContent":["export const LoadingClass = {\n\troot: 'gov-loading',\n\tcontent: 'gov-loading__content',\n\ticon: 'gov-loading__icon',\n}\n","/*\n * Loading\n */\n\n$class: \".gov-loading\";\n\n#{$class} {\n\tdisplay: block;\n\t&__content {\n\t\t@include z-index(\"modal\", 1);\n\t\tposition: fixed;\n\t\ttop: 50%;\n\t\tleft: 50%;\n\t\tdisplay: flex;\n\t\tgap: rem-calc(16);\n\t\tflex-direction: column;\n\t\talign-items: center;\n\t\tmin-width: rem-calc(155);\n\t\tpadding: rem-calc(24);\n\t\tborder-radius: rem-calc(8);\n\t\tbackground: $loading-bg;\n\t\tcolor: $loading-color;\n\t\ttext-align: center;\n\t\ttransform: translate(-50%, -50%);\n\t}\n\t&__icon {\n\t\twidth: rem-calc(64);\n\t\theight: rem-calc(64);\n\t\tline-height: 1;\n\n\t\tsvg {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t}\n\t}\n}\n","import { Component, Element, h, Host } from \"@stencil/core\"\nimport { LoadingClass } from \"./constants\"\nimport { govHost, prepareClasses } from \"../../../helpers/Dom/template\"\nimport { GovHost } from \"../../../helpers/Dom/template.types\"\n\n@Component({\n\ttag: \"gov-loading\",\n\tstyleUrl: \"gov-loading.scss\",\n})\nexport class GovLoading {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovLoadingElement\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(LoadingClass.root)}>\n\t\t\t\t<div class={LoadingClass.content}>\n\t\t\t\t\t<gov-icon class={prepareClasses([LoadingClass.icon, \"gov-spin-animation\"])} name=\"loader\"></gov-icon>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t\t<gov-backdrop inverse={true} />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-7b6bba34.js');
|
|
6
|
-
const props = require('./props-d6146e54.js');
|
|
7
|
-
const variants = require('./variants-f5ffeef3.js');
|
|
8
|
-
const utils = require('./utils-c9b1bba3.js');
|
|
9
|
-
const template = require('./template-4b951d1d.js');
|
|
10
|
-
require('./gov.log-b842920d.js');
|
|
11
|
-
require('./win-5521073d.js');
|
|
12
|
-
|
|
13
|
-
utils.pick(variants.Variants, ['PRIMARY', 'SECONDARY', 'WARNING', 'ERROR', 'SUCCESS']);
|
|
14
|
-
const MessageClass = {
|
|
15
|
-
root: 'gov-message',
|
|
16
|
-
icon: 'gov-message__icon',
|
|
17
|
-
content: 'gov-message__content',
|
|
18
|
-
close: 'gov-message__close',
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
const govMessageCss = ".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-message{position:relative;display:flex;gap:1rem;flex-direction:column;padding:0.75rem 1rem;border-left:0.25rem solid transparent;background:var(--gov-toast-message-bg, var(--gov-color-neutral-white))}.gov-message__icon{flex:0 0 1.25rem;width:1.25rem;height:1.25rem}.gov-message__content{flex:1 1 auto}.gov-message__content>*:last-child{margin-bottom:0}.gov-message__content p{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing)}@media (min-width: 30em){.gov-message{flex-direction:row}}.gov-message[shadow=\"\"],.gov-message[shadow=true i],.gov-message[shadow=\"1\"]{box-shadow:var(--gov-message-box-shadow, 0 0.25rem 1.25rem rgba(0, 0, 0, 0.1))}.gov-message[variant=warning]{border-left-color:var(--gov-message-warning-color, var(--gov-color-warning));background:var(--gov-message-warning-bg-color, var(--gov-color-warning-100))}.gov-message[variant=warning] .gov-message__icon{color:var(--gov-message-warning-color, var(--gov-color-warning))}.gov-message[variant=warning][inverse=\"\"],.gov-message[variant=warning][inverse=true i],.gov-message[variant=warning][inverse=\"1\"]{background:var(--gov-message-bg-inverse, var(--gov-color-neutral-white))}.gov-message[variant=error]{border-left-color:var(--gov-message-error-color, var(--gov-color-error));background:var(--gov-message-error-bg-color, var(--gov-color-error-100))}.gov-message[variant=error] .gov-message__icon{color:var(--gov-message-error-color, var(--gov-color-error))}.gov-message[variant=error][inverse=\"\"],.gov-message[variant=error][inverse=true i],.gov-message[variant=error][inverse=\"1\"]{background:var(--gov-message-bg-inverse, var(--gov-color-neutral-white))}.gov-message[variant=secondary]{border-left-color:var(--gov-message-secondary-color, var(--gov-color-secondary));background:var(--gov-message-secondary-bg-color, var(--gov-color-secondary-200))}.gov-message[variant=secondary] .gov-message__icon{color:var(--gov-message-secondary-color, var(--gov-color-secondary))}.gov-message[variant=secondary][inverse=\"\"],.gov-message[variant=secondary][inverse=true i],.gov-message[variant=secondary][inverse=\"1\"]{background:var(--gov-message-bg-inverse, var(--gov-color-neutral-white))}.gov-message[variant=success]{border-left-color:var(--gov-message-success-color, var(--gov-color-success));background:var(--gov-message-success-bg-color, var(--gov-color-success-100))}.gov-message[variant=success] .gov-message__icon{color:var(--gov-message-success-color, var(--gov-color-success))}.gov-message[variant=success][inverse=\"\"],.gov-message[variant=success][inverse=true i],.gov-message[variant=success][inverse=\"1\"]{background:var(--gov-message-bg-inverse, var(--gov-color-neutral-white))}.gov-message[variant=primary]{border-left-color:var(--gov-message-primary-color, var(--gov-color-primary));background:var(--gov-message-primary-bg-color, var(--gov-color-primary-100))}.gov-message[variant=primary] .gov-message__icon{color:var(--gov-message-primary-color, var(--gov-color-primary))}.gov-message[variant=primary][inverse=\"\"],.gov-message[variant=primary][inverse=true i],.gov-message[variant=primary][inverse=\"1\"]{background:var(--gov-message-bg-inverse, var(--gov-color-neutral-white))}";
|
|
22
|
-
|
|
23
|
-
const GovMessage = class {
|
|
24
|
-
constructor(hostRef) {
|
|
25
|
-
index.registerInstance(this, hostRef);
|
|
26
|
-
this.variant = variants.Variants.PRIMARY;
|
|
27
|
-
this.h = template.govHost(this.host);
|
|
28
|
-
}
|
|
29
|
-
validateVariant(newValue) {
|
|
30
|
-
props.validateProp(variants.Variants, newValue, MessageClass.root);
|
|
31
|
-
}
|
|
32
|
-
render() {
|
|
33
|
-
return (index.h(index.Host, { class: this.h.classes(MessageClass.root), variant: this.variant, role: "alert" }, this.h.hasSlot("icon") && (index.h("span", { class: MessageClass.icon }, index.h("slot", { name: "icon" }))), index.h("div", { class: MessageClass.content }, index.h("slot", null))));
|
|
34
|
-
}
|
|
35
|
-
get host() { return index.getElement(this); }
|
|
36
|
-
static get watchers() { return {
|
|
37
|
-
"variant": ["validateVariant"]
|
|
38
|
-
}; }
|
|
39
|
-
};
|
|
40
|
-
GovMessage.style = govMessageCss;
|
|
41
|
-
|
|
42
|
-
exports.gov_message = GovMessage;
|
|
43
|
-
|
|
44
|
-
//# sourceMappingURL=gov-message.cjs.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"gov-message.entry.cjs.js","mappings":";;;;;;;;;;;;AAI+BA,UAAI,CAACC,iBAAQ,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,CAAC,EAAC;AAG/F,MAAM,YAAY,GAAG;EAC3B,IAAI,EAAE,aAAa;EACnB,IAAI,EAAE,mBAAmB;EACzB,OAAO,EAAE,sBAAsB;EAC/B,KAAK,EAAE,oBAAoB;CAC3B;;ACZD,MAAM,aAAa,GAAG,2jHAA2jH;;MCWpkH,UAAU;EAGtB;;mBAS+CA,iBAAQ,CAAC,OAAO;IAR9D,IAAI,CAAC,CAAC,GAAGC,gBAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;GAC3B;EAUD,eAAe,CAAC,QAAgB;IAC/BC,kBAAY,CAACF,iBAAQ,EAAE,QAAQ,EAAE,YAAY,CAAC,IAAI,CAAC,CAAA;GACnD;EAED,MAAM;IACL,QACCG,QAACC,UAAI,IAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,EAAC,OAAO,IACjF,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,KACtBD,kBAAM,KAAK,EAAE,YAAY,CAAC,IAAI,IAC7BA,kBAAM,IAAI,EAAC,MAAM,GAAG,CACd,CACP,EAEDA,iBAAK,KAAK,EAAE,YAAY,CAAC,OAAO,IAC/BA,qBAAQ,CACH,CACA,EACP;GACD;;;;;;;;;;","names":["pick","Variants","govHost","validateProp","h","Host"],"sources":["../../../packages/core/src/components/gov-message/constants.ts","../../../packages/core/src/components/gov-message/gov-message.scss?tag=gov-message","../../../packages/core/src/components/gov-message/gov-message.tsx"],"sourcesContent":["import { Variants } from '../../core/constants/variants'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const MessageVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'WARNING', 'ERROR', 'SUCCESS'])\nexport type MessageVariantType = `${ValueOf<typeof MessageVariants>}`\n\nexport const MessageClass = {\n\troot: 'gov-message',\n\ticon: 'gov-message__icon',\n\tcontent: 'gov-message__content',\n\tclose: 'gov-message__close',\n}\n","/*\n * Alert\n */\n\n@import \"../gov-toast/gov-toast-message-core.scss\";\n$class: \".gov-message\";\n\n#{$class} {\n\t@include toast-message-core;\n\n\t// VARIANTS\n\t@include parameter(\"shadow\") {\n\t\tbox-shadow: $message-box-shadow;\n\t}\n\t@each $variant, $definitions in $message-variants {\n\t\t&[variant=\"#{$variant}\"] {\n\t\t\tborder-left-color: get(\"color\", $definitions);\n\t\t\tbackground: get(\"bg-color\", $definitions);\n\t\t\t#{$class} {\n\t\t\t\t&__icon {\n\t\t\t\t\tcolor: get(\"color\", $definitions);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// STATES\n\t\t\t@include parameter(\"inverse\") {\n\t\t\t\tbackground: $message-bg-inverse;\n\t\t\t}\n\t\t}\n\t}\n}\n","import { Component, Element, h, Host, Prop, Watch } from \"@stencil/core\"\nimport { validateProp } from \"../../helpers/Validate/props\"\nimport { MessageClass, MessageVariantType } from \"./constants\"\nimport { govHost } from \"../../helpers/Dom/template\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\nimport { Variants } from \"../../core/constants/variants\"\n\n@Component({\n\ttag: \"gov-message\",\n\tstyleUrl: \"gov-message.scss\",\n})\nexport class GovMessage {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovMessageElement\n\n\t/**\n\t * Style variation of the content message.\n\t */\n\t@Prop() readonly variant: MessageVariantType = Variants.PRIMARY\n\n\t@Watch(\"variant\")\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(Variants, newValue, MessageClass.root)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(MessageClass.root)} variant={this.variant} role=\"alert\">\n\t\t\t\t{this.h.hasSlot(\"icon\") && (\n\t\t\t\t\t<span class={MessageClass.icon}>\n\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t</span>\n\t\t\t\t)}\n\n\t\t\t\t<div class={MessageClass.content}>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-7b6bba34.js');
|
|
6
|
-
const template = require('./template-4b951d1d.js');
|
|
7
|
-
const win = require('./win-5521073d.js');
|
|
8
|
-
const gov_log = require('./gov.log-b842920d.js');
|
|
9
|
-
const wcag = require('./wcag-e6257f27.js');
|
|
10
|
-
const string_utils = require('./string.utils-0f08c48c.js');
|
|
11
|
-
const utils = require('./utils-c9b1bba3.js');
|
|
12
|
-
const constants = require('./constants-66cb0615.js');
|
|
13
|
-
|
|
14
|
-
const govModalCss = ".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-modal{display:none}.gov-modal__dialog{z-index:101;position:fixed;top:50%;left:50%;display:flex;justify-content:center;align-items:center;width:100%;max-width:var(--gov-modal-max-width, 52.5rem);height:100%;padding:0.5rem;border:none;background:transparent;transform:translate(-50%, -50%);pointer-events:none}.gov-modal__inner{position:relative;display:flex;flex-direction:column;width:100%;max-height:100%;border-radius:var(--gov-border-radius, 0.1875rem);background:var(--gov-modal-bg, var(--gov-color-neutral-white));overflow:hidden;pointer-events:auto;box-shadow:0 0 1.5rem rgba(var(--gov-color-secondary-800-rgb), 0.24)}.gov-modal__header{display:flex;gap:1rem;align-items:flex-start;padding:1.5rem 1rem;border-bottom:var(--gov-modal-border-color, 0.0625rem solid var(--gov-color-secondary-500))}.gov-modal__icon{flex:0 0 auto;padding-top:calc((var(--gov-text-3xl-font-size) * 1.5 - 1.5rem) / 2)}.gov-modal__icon>*{width:1.5rem;height:1.5rem}.gov-modal__title{font-weight:var(--gov-text-3xl-font-weight);font-size:var(--gov-text-3xl-font-size);line-height:var(--gov-text-3xl-line-height);letter-spacing:var(--gov-text-3xl-letter-spacing);margin:0}.gov-modal__close{flex:0 0 auto;margin-left:auto}.gov-modal__content{height:100%;padding:1.5rem 1rem;color:var(--gov-modal-text-color, var(--gov-color-secondary-700));overflow:auto}.gov-modal__content>*:last-child{margin-bottom:0}.gov-modal__footer,.gov-modal__actions{padding:1.5rem 1rem;border-top:var(--gov-modal-border-color, 0.0625rem solid var(--gov-color-secondary-500))}.gov-modal__actions{display:flex;gap:0.5rem 1rem;flex-wrap:wrap;justify-content:flex-end}.gov-modal__dialog:focus .gov-modal__inner{outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base)}.gov-modal[open=\"\"],.gov-modal[open=true i],.gov-modal[open=\"1\"]{display:block}@media (min-width: 30em){.gov-modal__dialog{max-width:calc(var(--gov-modal-max-width, 52.5rem) + 3rem);padding:1.5rem}.gov-modal__dialog:focus{outline-offset:-1.5rem}.gov-modal__inner{box-shadow:0 0 2rem rgba(var(--gov-color-secondary-800-rgb), 0.32)}.gov-modal--prompt .gov-modal__dialog{max-width:calc(var(--gov-modal-prompt-max-width, 33.125rem) + 3rem)}}@media (min-width: 48em){.gov-modal__header{gap:1.25rem;padding:2rem 2.5rem 2rem 3rem}.gov-modal__content{padding:2rem 3rem}.gov-modal__footer{padding:1rem 3rem}.gov-modal--prompt .gov-modal__header,.gov-modal--prompt .gov-modal__content,.gov-modal--prompt .gov-modal__footer,.gov-modal--prompt .gov-modal__actions{padding:1.5rem}}";
|
|
15
|
-
|
|
16
|
-
const GovModal = class {
|
|
17
|
-
constructor(hostRef) {
|
|
18
|
-
index.registerInstance(this, hostRef);
|
|
19
|
-
this.govClose = index.createEvent(this, "gov-close", 7);
|
|
20
|
-
this.open = false;
|
|
21
|
-
this.blockClose = false;
|
|
22
|
-
this.label = undefined;
|
|
23
|
-
this.role = 'dialog';
|
|
24
|
-
this.labelTag = 'h2';
|
|
25
|
-
this.wcagLabelledBy = undefined;
|
|
26
|
-
this.wcagDescribedBy = undefined;
|
|
27
|
-
this.wcagCloseLabel = 'Zavřít okno';
|
|
28
|
-
this.wcagCloseLabelledBy = undefined;
|
|
29
|
-
this.h = template.govHost(this.host);
|
|
30
|
-
this.labelId = string_utils.createID('GovModalLabel');
|
|
31
|
-
this.contentId = string_utils.createID('GovModalContent');
|
|
32
|
-
}
|
|
33
|
-
validateLabelTag(newValue) {
|
|
34
|
-
const validTags = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
|
|
35
|
-
if (newValue) {
|
|
36
|
-
if (!validTags.includes(newValue)) {
|
|
37
|
-
gov_log.govErrorLog(`[${constants.ModalClass.root}]: Tag ${newValue} is not allowed.`);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
watchOpen(newValue) {
|
|
42
|
-
this.open = newValue;
|
|
43
|
-
}
|
|
44
|
-
showModal() {
|
|
45
|
-
this.open = true;
|
|
46
|
-
document.body.classList.add(constants.ModalClass.bodyFix);
|
|
47
|
-
}
|
|
48
|
-
hideModal() {
|
|
49
|
-
this.open = false;
|
|
50
|
-
document.body.classList.remove(constants.ModalClass.bodyFix);
|
|
51
|
-
}
|
|
52
|
-
async componentWillRender() {
|
|
53
|
-
if (this.open) {
|
|
54
|
-
this.showModal();
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
this.hideModal();
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
async componentDidRender() {
|
|
61
|
-
if (win.canValidateWcagOnRender()) {
|
|
62
|
-
await utils.delay(500);
|
|
63
|
-
await this.validateWcag();
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
render() {
|
|
67
|
-
const LabelTag = this.labelTag;
|
|
68
|
-
return (index.h(index.Host, { class: this.h.classes(constants.ModalClass.root), open: this.open }, index.h("dialog", { class: constants.ModalClass.dialog, hidden: !this.open, tabindex: "-1", open: this.open, "aria-modal": "true", "aria-hidden": template.toBoolAttr(!this.open), "aria-labelledby": this.wcagLabelledBy || this.labelId, "aria-describedby": this.wcagDescribedBy || this.contentId, role: this.role }, index.h("div", { class: constants.ModalClass.inner }, index.h("div", { class: constants.ModalClass.header }, this.h.hasSlot('icon') && (index.h("div", { class: constants.ModalClass.icon }, index.h("slot", { name: "icon" }))), this.label && (index.h(LabelTag, { class: constants.ModalClass.title, id: this.labelId }, this.label)), index.h("gov-button", { disabled: this.blockClose, class: constants.ModalClass.close, variant: "primary", wcagLabel: this.wcagCloseLabel, wcagLabelledBy: this.wcagCloseLabelledBy, type: "base", "on-gov-click": this.onCloseHandler.bind(this) }, index.h("gov-icon", { name: "x-lg" }))), index.h("div", { class: constants.ModalClass.content, id: this.contentId }, index.h("slot", null)), this.h.hasSlot('footer') && (index.h("div", { class: constants.ModalClass.footer }, index.h("slot", { name: "footer" }))))), this.open ? (index.h("gov-backdrop", { "wcag-label": this.wcagCloseLabel, "wcag-labelled-by": this.wcagCloseLabelledBy, "on-gov-click": this.onCloseHandler.bind(this) })) : null));
|
|
69
|
-
}
|
|
70
|
-
onCloseHandler(e) {
|
|
71
|
-
e.stopPropagation();
|
|
72
|
-
if (this.blockClose === false) {
|
|
73
|
-
this.hideModal();
|
|
74
|
-
this.govClose.emit(e);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Showing the modal
|
|
79
|
-
*/
|
|
80
|
-
async show() {
|
|
81
|
-
this.showModal();
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Hiding the modal
|
|
85
|
-
*/
|
|
86
|
-
async hide() {
|
|
87
|
-
this.hideModal();
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Validate the WCAG attributes of the component
|
|
91
|
-
*/
|
|
92
|
-
async validateWcag() {
|
|
93
|
-
wcag.validateWcagRef(this.wcagLabelledBy, 'wcag-labelled-by', constants.ModalClass.root);
|
|
94
|
-
wcag.validateWcagRef(this.wcagDescribedBy, 'wcag-described-by', constants.ModalClass.root);
|
|
95
|
-
}
|
|
96
|
-
get host() { return index.getElement(this); }
|
|
97
|
-
static get watchers() { return {
|
|
98
|
-
"labelTag": ["validateLabelTag"],
|
|
99
|
-
"open": ["watchOpen"]
|
|
100
|
-
}; }
|
|
101
|
-
};
|
|
102
|
-
GovModal.style = govModalCss;
|
|
103
|
-
|
|
104
|
-
exports.gov_modal = GovModal;
|
|
105
|
-
|
|
106
|
-
//# sourceMappingURL=gov-modal.cjs.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"gov-modal.entry.cjs.js","mappings":";;;;;;;;;;;;;AAAA,MAAM,WAAW,GAAG,2yFAA2yF;;MCelzF,QAAQ;EAKpB;;;gBAWgC,KAAK;sBAIhB,KAAK;;gBAQ4B,QAAQ;oBAIA,IAAI;;;0BAYS,aAAa;;IAtCvF,IAAI,CAAC,CAAC,GAAGA,gBAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC3B,IAAI,CAAC,OAAO,GAAGC,qBAAQ,CAAC,eAAe,CAAC,CAAA;IACxC,IAAI,CAAC,SAAS,GAAGA,qBAAQ,CAAC,iBAAiB,CAAC,CAAA;GAC5C;EA8CD,gBAAgB,CAAC,QAAgB;IAChC,MAAM,SAAS,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;IACtD,IAAI,QAAQ,EAAE;MACb,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;QAClCC,mBAAW,CAAC,IAAIC,oBAAU,CAAC,IAAI,UAAU,QAAQ,kBAAkB,CAAC,CAAA;OACpE;KACD;GACD;EAGD,SAAS,CAAC,QAAiB;IAC1B,IAAI,CAAC,IAAI,GAAG,QAAQ,CAAA;GACpB;EAEO,SAAS;IAChB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;IAChB,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAACA,oBAAU,CAAC,OAAO,CAAC,CAAA;GAC/C;EAEO,SAAS;IAChB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAA;IACjB,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAACA,oBAAU,CAAC,OAAO,CAAC,CAAA;GAClD;EAED,MAAM,mBAAmB;IACxB,IAAI,IAAI,CAAC,IAAI,EAAE;MACd,IAAI,CAAC,SAAS,EAAE,CAAA;KAChB;SAAM;MACN,IAAI,CAAC,SAAS,EAAE,CAAA;KAChB;GACD;EAED,MAAM,kBAAkB;IACvB,IAAIC,2BAAuB,EAAE,EAAE;MAC9B,MAAMC,WAAK,CAAC,GAAG,CAAC,CAAA;MAChB,MAAM,IAAI,CAAC,YAAY,EAAE,CAAA;KACzB;GACD;EAED,MAAM;IACL,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAA;IAC9B,QACCC,QAACC,UAAI,IAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAACJ,oBAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,IAC5DG,oBACC,KAAK,EAAEH,oBAAU,CAAC,MAAM,EACxB,MAAM,EAAE,CAAC,IAAI,CAAC,IAAI,EAClB,QAAQ,EAAC,IAAI,EACb,IAAI,EAAE,IAAI,CAAC,IAAI,gBACJ,MAAM,iBACJK,mBAAU,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,qBAClB,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,OAAO,sBAClC,IAAI,CAAC,eAAe,IAAI,IAAI,CAAC,SAAS,EACxD,IAAI,EAAE,IAAI,CAAC,IAAI,IAEfF,iBAAK,KAAK,EAAEH,oBAAU,CAAC,KAAK,IAC3BG,iBAAK,KAAK,EAAEH,oBAAU,CAAC,MAAM,IAC3B,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,KACtBG,iBAAK,KAAK,EAAEH,oBAAU,CAAC,IAAI,IAC1BG,kBAAM,IAAI,EAAC,MAAM,GAAG,CACf,CACN,EACA,IAAI,CAAC,KAAK,KACVA,QAAC,QAAQ,IAAC,KAAK,EAAEH,oBAAU,CAAC,KAAK,EAAE,EAAE,EAAE,IAAI,CAAC,OAAO,IACjD,IAAI,CAAC,KAAK,CACD,CACX,EACDG,wBACC,QAAQ,EAAE,IAAI,CAAC,UAAU,EACzB,KAAK,EAAEH,oBAAU,CAAC,KAAK,EACvB,OAAO,EAAC,SAAS,EACjB,SAAS,EAAE,IAAI,CAAC,cAAc,EAC9B,cAAc,EAAE,IAAI,CAAC,mBAAmB,EACxC,IAAI,EAAC,MAAM,kBACG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,IAE5CG,sBAAU,IAAI,EAAC,MAAM,GAAG,CACZ,CACR,EACNA,iBAAK,KAAK,EAAEH,oBAAU,CAAC,OAAO,EAAE,EAAE,EAAE,IAAI,CAAC,SAAS,IACjDG,qBAAQ,CACH,EACL,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,KACxBA,iBAAK,KAAK,EAAEH,oBAAU,CAAC,MAAM,IAC5BG,kBAAM,IAAI,EAAC,QAAQ,GAAG,CACjB,CACN,CACI,CACE,EAER,IAAI,CAAC,IAAI,IACTA,wCAA0B,IAAI,CAAC,cAAc,sBAAoB,IAAI,CAAC,mBAAmB,kBAAgB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,GAAI,IACxI,IAAI,CACF,EACP;GACD;EAEO,cAAc,CAAC,CAAe;IACrC,CAAC,CAAC,eAAe,EAAE,CAAA;IACnB,IAAI,IAAI,CAAC,UAAU,KAAK,KAAK,EAAE;MAC9B,IAAI,CAAC,SAAS,EAAE,CAAA;MAChB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;KACrB;GACD;;;;EAMD,MAAM,IAAI;IACT,IAAI,CAAC,SAAS,EAAE,CAAA;GAChB;;;;EAMD,MAAM,IAAI;IACT,IAAI,CAAC,SAAS,EAAE,CAAA;GAChB;;;;EAMD,MAAM,YAAY;IACjBG,oBAAe,CAAC,IAAI,CAAC,cAAc,EAAE,kBAAkB,EAAEN,oBAAU,CAAC,IAAI,CAAC,CAAA;IACzEM,oBAAe,CAAC,IAAI,CAAC,eAAe,EAAE,mBAAmB,EAAEN,oBAAU,CAAC,IAAI,CAAC,CAAA;GAC3E;;;;;;;;;;;","names":["govHost","createID","govErrorLog","ModalClass","canValidateWcagOnRender","delay","h","Host","toBoolAttr","validateWcagRef"],"sources":["../../../packages/core/src/components/gov-modal/gov-modal.scss?tag=gov-modal","../../../packages/core/src/components/gov-modal/gov-modal.tsx"],"sourcesContent":["/*\n * Modal\n */\n\n$class: \".gov-modal\";\n\n#{$class} {\n\tdisplay: none;\n\n\t&__dialog {\n\t\t@include z-index(\"modal\", 1);\n\t\tposition: fixed;\n\t\ttop: 50%;\n\t\tleft: 50%;\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\twidth: 100%;\n\t\tmax-width: $modal-max-width;\n\t\theight: 100%;\n\t\tpadding: rem-calc(8);\n\t\tborder: none;\n\t\tbackground: transparent;\n\t\ttransform: translate(-50%, -50%);\n\t\tpointer-events: none;\n\t}\n\n\t&__inner {\n\t\tposition: relative;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\twidth: 100%;\n\t\tmax-height: 100%;\n\t\tborder-radius: $border-radius;\n\t\tbackground: $modal-bg;\n\t\toverflow: hidden;\n\t\tpointer-events: auto;\n\t\tbox-shadow: get($shadow-l, $shadows);\n\t}\n\n\t&__header {\n\t\tdisplay: flex;\n\t\tgap: rem-calc(16);\n\t\talign-items: flex-start;\n\t\tpadding: rem-calc(24 16);\n\t\tborder-bottom: $modal-border;\n\t}\n\n\t&__icon {\n\t\tflex: 0 0 auto;\n\t\tpadding-top: calc(((var(--gov-text-#{$font-size-3xl}-font-size) * 1.5) - rem-calc(24)) / 2);\n\n\t\t& > * {\n\t\t\twidth: rem-calc(24);\n\t\t\theight: rem-calc(24);\n\t\t}\n\t}\n\n\t&__title {\n\t\t@include typography($font-size-3xl);\n\t\tmargin: 0;\n\t}\n\n\t&__close {\n\t\tflex: 0 0 auto;\n\t\tmargin-left: auto;\n\t}\n\n\t&__content {\n\t\t@include reset-last-margin();\n\t\theight: 100%;\n\t\tpadding: rem-calc(24 16);\n\t\tcolor: $modal-text-color;\n\t\toverflow: auto;\n\t}\n\n\t&__footer,\n\t&__actions {\n\t\tpadding: rem-calc(24 16);\n\t\tborder-top: $modal-border;\n\t}\n\n\t&__actions {\n\t\tdisplay: flex;\n\t\tgap: rem-calc(8 16);\n\t\tflex-wrap: wrap;\n\t\tjustify-content: flex-end;\n\t}\n\n\t// STATES\n\t&__dialog:focus &__inner {\n\t\toutline: $outline;\n\t}\n\n\t@include parameter(\"open\") {\n\t\tdisplay: block;\n\t}\n\n\t// MQ\n\t@include mq($from: sm) {\n\t\t&__dialog {\n\t\t\tmax-width: calc($modal-max-width + 2 * rem-calc(24));\n\t\t\tpadding: rem-calc(24);\n\n\t\t\t&:focus {\n\t\t\t\toutline-offset: rem-calc(-24);\n\t\t\t}\n\t\t}\n\t\t&__inner {\n\t\t\tbox-shadow: get($shadow-xl, $shadows);\n\t\t}\n\n\t\t// VARIANTS\n\t\t&--prompt &__dialog {\n\t\t\tmax-width: calc($modal-prompt-max-width + 2 * rem-calc(24));\n\t\t}\n\t}\n\t@include mq($from: md) {\n\t\t&__header {\n\t\t\tgap: rem-calc(20);\n\t\t\tpadding: rem-calc(32 40 32 48);\n\t\t}\n\t\t&__content {\n\t\t\tpadding: rem-calc(32 48);\n\t\t}\n\t\t&__footer {\n\t\t\tpadding: rem-calc(16 48);\n\t\t}\n\n\t\t// VARIANTS\n\t\t&--prompt {\n\t\t\t#{$class} {\n\t\t\t\t&__header,\n\t\t\t\t&__content,\n\t\t\t\t&__footer,\n\t\t\t\t&__actions {\n\t\t\t\t\tpadding: rem-calc(24);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","import { Component, Element, Event, EventEmitter, Host, Method, Prop, Watch, h } from '@stencil/core'\nimport { govHost, toBoolAttr } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { canValidateWcagOnRender } from '../../helpers/Dom/win'\nimport { govErrorLog } from '../../helpers/Log/gov.log'\nimport { validateWcagRef } from '../../helpers/Validate/wcag'\nimport { Nullable } from '../../types/interfaces'\nimport { createID } from '../../utils/string.utils'\nimport { delay } from '../../utils/utils'\nimport { ModalClass } from './constants'\n\n@Component({\n\ttag: 'gov-modal',\n\tstyleUrl: 'gov-modal.scss',\n})\nexport class GovModal {\n\tprivate h: GovHost\n\tprivate readonly labelId: string\n\tprivate readonly contentId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.labelId = createID('GovModalLabel')\n\t\tthis.contentId = createID('GovModalContent')\n\t}\n\n\t@Element() host: HTMLGovModalElement\n\n\t/**\n\t * Attribute for modal window display\n\t */\n\t@Prop({ mutable: true }) open = false\n\t/**\n\t * Attribute allowing blocking the modal closing\n\t */\n\t@Prop() blockClose = false\n\t/**\n\t * Title of modal window\n\t */\n\t@Prop() label: string\n\t/**\n\t * Role of modal\n\t */\n\t@Prop({ attribute: 'role' }) role: Nullable<string> = 'dialog'\n\t/**\n\t * Used to change the HTML tag in the modal label for correct semantic structure\n\t */\n\t@Prop({ attribute: 'label-tag' }) readonly labelTag: string = 'h2'\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({ attribute: 'wcag-labelled-by' }) wcagLabelledBy: string\n\t/**\n\t * Indicates the id of a component that describes the modal.\n\t */\n\t@Prop({ attribute: 'wcag-described-by' }) wcagDescribedBy: string\n\t/**\n\t * Adds accessible label for the modal close button that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: 'wcag-close-label' }) readonly wcagCloseLabel: string = 'Zavřít okno'\n\t/**\n\t * A string of identifiers that indicate alternative label elements for closing the modal window\n\t */\n\t@Prop({ attribute: 'wcag-close-labelled-by' }) wcagCloseLabelledBy: string\n\t/**\n\t * Emitted when modal window closes.\n\t */\n\t@Event({ eventName: 'gov-close' }) govClose: EventEmitter<PointerEvent>\n\n\t@Watch('labelTag')\n\tvalidateLabelTag(newValue: string): void {\n\t\tconst validTags = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6']\n\t\tif (newValue) {\n\t\t\tif (!validTags.includes(newValue)) {\n\t\t\t\tgovErrorLog(`[${ModalClass.root}]: Tag ${newValue} is not allowed.`)\n\t\t\t}\n\t\t}\n\t}\n\n\t@Watch('open')\n\twatchOpen(newValue: boolean): void {\n\t\tthis.open = newValue\n\t}\n\n\tprivate showModal() {\n\t\tthis.open = true\n\t\tdocument.body.classList.add(ModalClass.bodyFix)\n\t}\n\n\tprivate hideModal() {\n\t\tthis.open = false\n\t\tdocument.body.classList.remove(ModalClass.bodyFix)\n\t}\n\n\tasync componentWillRender() {\n\t\tif (this.open) {\n\t\t\tthis.showModal()\n\t\t} else {\n\t\t\tthis.hideModal()\n\t\t}\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\tconst LabelTag = this.labelTag\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ModalClass.root)} open={this.open}>\n\t\t\t\t<dialog\n\t\t\t\t\tclass={ModalClass.dialog}\n\t\t\t\t\thidden={!this.open}\n\t\t\t\t\ttabindex=\"-1\"\n\t\t\t\t\topen={this.open}\n\t\t\t\t\taria-modal=\"true\"\n\t\t\t\t\taria-hidden={toBoolAttr(!this.open)}\n\t\t\t\t\taria-labelledby={this.wcagLabelledBy || this.labelId}\n\t\t\t\t\taria-describedby={this.wcagDescribedBy || this.contentId}\n\t\t\t\t\trole={this.role}\n\t\t\t\t>\n\t\t\t\t\t<div class={ModalClass.inner}>\n\t\t\t\t\t\t<div class={ModalClass.header}>\n\t\t\t\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t\t\t\t<div class={ModalClass.icon}>\n\t\t\t\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t{this.label && (\n\t\t\t\t\t\t\t\t<LabelTag class={ModalClass.title} id={this.labelId}>\n\t\t\t\t\t\t\t\t\t{this.label}\n\t\t\t\t\t\t\t\t</LabelTag>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t<gov-button\n\t\t\t\t\t\t\t\tdisabled={this.blockClose}\n\t\t\t\t\t\t\t\tclass={ModalClass.close}\n\t\t\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\t\t\twcagLabel={this.wcagCloseLabel}\n\t\t\t\t\t\t\t\twcagLabelledBy={this.wcagCloseLabelledBy}\n\t\t\t\t\t\t\t\ttype=\"base\"\n\t\t\t\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<gov-icon name=\"x-lg\" />\n\t\t\t\t\t\t\t</gov-button>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class={ModalClass.content} id={this.contentId}>\n\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t{this.h.hasSlot('footer') && (\n\t\t\t\t\t\t\t<div class={ModalClass.footer}>\n\t\t\t\t\t\t\t\t<slot name=\"footer\" />\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t</dialog>\n\n\t\t\t\t{this.open ? (\n\t\t\t\t\t<gov-backdrop wcag-label={this.wcagCloseLabel} wcag-labelled-by={this.wcagCloseLabelledBy} on-gov-click={this.onCloseHandler.bind(this)} />\n\t\t\t\t) : null}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onCloseHandler(e: PointerEvent) {\n\t\te.stopPropagation()\n\t\tif (this.blockClose === false) {\n\t\t\tthis.hideModal()\n\t\t\tthis.govClose.emit(e)\n\t\t}\n\t}\n\n\t/**\n\t * Showing the modal\n\t */\n\t@Method()\n\tasync show(): Promise<void> {\n\t\tthis.showModal()\n\t}\n\n\t/**\n\t * Hiding the modal\n\t */\n\t@Method()\n\tasync hide(): Promise<void> {\n\t\tthis.hideModal()\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagRef(this.wcagLabelledBy, 'wcag-labelled-by', ModalClass.root)\n\t\tvalidateWcagRef(this.wcagDescribedBy, 'wcag-described-by', ModalClass.root)\n\t}\n}\n"],"version":3}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-7b6bba34.js');
|
|
6
|
-
const gov_log = require('./gov.log-b842920d.js');
|
|
7
|
-
const constants = require('./constants-2b1c31b8.js');
|
|
8
|
-
require('./win-5521073d.js');
|
|
9
|
-
require('./utils-c9b1bba3.js');
|
|
10
|
-
|
|
11
|
-
const govNavItemCss = ".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-nav-item{display:block}.gov-nav-item__link{position:relative;display:block;padding:0.9375rem 3rem 0.9375rem 2.25rem;color:var(--gov-nav-color, var(--gov-color-neutral-white));text-decoration:none}.gov-nav-item__link:focus{outline:none}.gov-nav-item__link:focus-visible{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0}.gov-nav-item__link:focus{outline-color:var(--gov-nav-color, var(--gov-color-neutral-white))}@media not all and (pointer: coarse){.gov-nav-item__link:hover{color:var(--gov-nav-color, var(--gov-color-neutral-white));text-decoration:underline}}@media (min-width: 48em){.gov-nav-item__link{display:inline-flex;justify-content:center;align-items:center;height:100%;padding:1.375rem 1.25rem 1.3125rem}.gov-nav-item__link::before{content:\"\";position:absolute;display:block;top:0;left:50%;width:0;height:0.125rem;background:var(--gov-nav-color, var(--gov-color-neutral-white));transform:translate(-50%);transition:width 150ms}@media not all and (pointer: coarse){.gov-nav-item__link:hover{text-decoration:none}.gov-nav-item__link:hover::before{width:100%}}}";
|
|
12
|
-
|
|
13
|
-
const GovNavItem = class {
|
|
14
|
-
constructor(hostRef) {
|
|
15
|
-
index.registerInstance(this, hostRef);
|
|
16
|
-
this.isExpandedState = undefined;
|
|
17
|
-
this.href = undefined;
|
|
18
|
-
}
|
|
19
|
-
validateHref(newValue) {
|
|
20
|
-
if (!newValue) {
|
|
21
|
-
gov_log.govErrorLog(`[${constants.NavItemClass.root}]: Parameter href is required.`);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
componentWillLoad() {
|
|
25
|
-
this.validateHref(this.href);
|
|
26
|
-
}
|
|
27
|
-
render() {
|
|
28
|
-
return (index.h(index.Host, { class: constants.NavItemClass.root, role: "listitem" }, index.h("a", { href: this.href, class: constants.NavItemClass.link }, index.h("slot", null))));
|
|
29
|
-
}
|
|
30
|
-
get host() { return index.getElement(this); }
|
|
31
|
-
static get watchers() { return {
|
|
32
|
-
"href": ["validateHref"]
|
|
33
|
-
}; }
|
|
34
|
-
};
|
|
35
|
-
GovNavItem.style = govNavItemCss;
|
|
36
|
-
|
|
37
|
-
exports.gov_nav_item = GovNavItem;
|
|
38
|
-
|
|
39
|
-
//# sourceMappingURL=gov-nav-item.cjs.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"gov-nav-item.entry.cjs.js","mappings":";;;;;;;;;;AAAA,MAAM,aAAa,GAAG,0+CAA0+C;;MCQn/C,UAAU;;;;;;EAWtB,YAAY,CAAC,QAAgB;IAC5B,IAAI,CAAC,QAAQ,EAAE;MACdA,mBAAW,CAAC,IAAIC,sBAAY,CAAC,IAAI,gCAAgC,CAAC,CAAA;KAClE;GACD;EAED,iBAAiB;IAChB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;GAC5B;EAED,MAAM;IACL,QACCC,QAACC,UAAI,IAAC,KAAK,EAAEF,sBAAY,CAAC,IAAI,EAAE,IAAI,EAAC,UAAU,IAC9CC,eAAG,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAED,sBAAY,CAAC,IAAI,IAC3CC,qBAAQ,CACL,CACE,EACP;GACD;;;;;;;;;;","names":["govErrorLog","NavItemClass","h","Host"],"sources":["../../../packages/core/src/components/gov-nav/gov-nav-item.scss?tag=gov-nav-item","../../../packages/core/src/components/gov-nav/gov-nav-item.tsx"],"sourcesContent":["/*\n * Nav - Item\n */\n\n$class: \".gov-nav-item\";\n\n#{$class} {\n\tdisplay: block;\n\t&__link {\n\t\t@include focus-outline();\n\t\tposition: relative;\n\t\tdisplay: block;\n\t\tpadding: rem-calc(15 48 15 36);\n\t\tcolor: $nav-color;\n\t\ttext-decoration: none;\n\t\t&:focus {\n\t\t\toutline-color: $nav-color;\n\t\t}\n\t\t@include hover() {\n\t\t\tcolor: $nav-color;\n\t\t\ttext-decoration: underline;\n\t\t}\n\t}\n\n\t// MQ\n\t@include mq($from: md) {\n\t\t&__link {\n\t\t\tdisplay: inline-flex;\n\t\t\tjustify-content: center;\n\t\t\talign-items: center;\n\t\t\theight: 100%;\n\t\t\tpadding: rem-calc(22 20 21);\n\t\t\t&::before {\n\t\t\t\t@include pseudo();\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 50%;\n\t\t\t\twidth: 0;\n\t\t\t\theight: rem-calc(2);\n\t\t\t\tbackground: $nav-color;\n\t\t\t\ttransform: translate(-50%);\n\t\t\t\ttransition: width $t;\n\t\t\t}\n\t\t\t@include hover() {\n\t\t\t\ttext-decoration: none;\n\t\t\t\t&::before {\n\t\t\t\t\twidth: 100%;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","import { Component, Element, h, Prop, State, Host, Watch } from '@stencil/core'\nimport { govErrorLog } from '../../helpers/Log/gov.log'\nimport { NavItemClass } from './constants'\n\n@Component({\n\ttag: 'gov-nav-item',\n\tstyleUrl: 'gov-nav-item.scss',\n})\nexport class GovNavItem {\n\t@Element() readonly host: HTMLGovNavItemElement\n\t@State() isExpandedState: boolean\n\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href\n\t */\n\t@Prop() readonly href: string\n\n\t@Watch('href')\n\tvalidateHref(newValue: string): void {\n\t\tif (!newValue) {\n\t\t\tgovErrorLog(`[${NavItemClass.root}]: Parameter href is required.`)\n\t\t}\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateHref(this.href)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={NavItemClass.root} role=\"listitem\">\n\t\t\t\t<a href={this.href} class={NavItemClass.link}>\n\t\t\t\t\t<slot />\n\t\t\t\t</a>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-7b6bba34.js');
|
|
6
|
-
const constants = require('./constants-2b1c31b8.js');
|
|
7
|
-
const wcag = require('./wcag-e6257f27.js');
|
|
8
|
-
const win = require('./win-5521073d.js');
|
|
9
|
-
const utils = require('./utils-c9b1bba3.js');
|
|
10
|
-
require('./gov.log-b842920d.js');
|
|
11
|
-
require('./string.utils-0f08c48c.js');
|
|
12
|
-
|
|
13
|
-
const govNavCss = ".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-nav{position:relative;display:block;width:100%;font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing);background:var(--gov-nav-bg, var(--gov-color-primary));font-weight:bold;letter-spacing:0.0125em;text-transform:uppercase}@media (min-width: 48em){.gov-nav{text-align:center}.gov-nav__nav{display:flex;justify-content:space-between}}";
|
|
14
|
-
|
|
15
|
-
const GovNav = class {
|
|
16
|
-
constructor(hostRef) {
|
|
17
|
-
index.registerInstance(this, hostRef);
|
|
18
|
-
this.wcagLabel = undefined;
|
|
19
|
-
this.wcagLabelledBy = undefined;
|
|
20
|
-
}
|
|
21
|
-
async componentDidRender() {
|
|
22
|
-
if (win.canValidateWcagOnRender()) {
|
|
23
|
-
await utils.delay(500);
|
|
24
|
-
await this.validateWcag();
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
render() {
|
|
28
|
-
return (index.h(index.Host, { class: constants.NavClass.root }, index.h("nav", { class: constants.NavClass.nav, role: 'list', "arial-label": this.wcagLabel, "arial-labelledby": this.wcagLabelledBy }, index.h("slot", null))));
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Validate the WCAG attributes of the component
|
|
32
|
-
*/
|
|
33
|
-
async validateWcag() {
|
|
34
|
-
wcag.validateWcagLabel(this.wcagLabel, this.wcagLabelledBy, constants.NavClass.root);
|
|
35
|
-
}
|
|
36
|
-
get host() { return index.getElement(this); }
|
|
37
|
-
};
|
|
38
|
-
GovNav.style = govNavCss;
|
|
39
|
-
|
|
40
|
-
exports.gov_nav = GovNav;
|
|
41
|
-
|
|
42
|
-
//# sourceMappingURL=gov-nav.cjs.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"gov-nav.entry.cjs.js","mappings":";;;;;;;;;;;;AAAA,MAAM,SAAS,GAAG,6xBAA6xB;;MCUlyB,MAAM;;;;;;EAYlB,MAAM,kBAAkB;IACvB,IAAIA,2BAAuB,EAAE,EAAE;MAC9B,MAAMC,WAAK,CAAC,GAAG,CAAC,CAAA;MAChB,MAAM,IAAI,CAAC,YAAY,EAAE,CAAA;KACzB;GACD;EAED,MAAM;IACL,QACCC,QAACC,UAAI,IAAC,KAAK,EAAEC,kBAAQ,CAAC,IAAI,IACzBF,iBAAK,KAAK,EAAEE,kBAAQ,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,iBAAe,IAAI,CAAC,SAAS,sBAAoB,IAAI,CAAC,cAAc,IACzGF,qBAAQ,CACH,CACA,EACP;GACD;;;;EAMD,MAAM,YAAY;IACjBG,sBAAiB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,cAAc,EAAED,kBAAQ,CAAC,IAAI,CAAC,CAAA;GACrE;;;;;;;","names":["canValidateWcagOnRender","delay","h","Host","NavClass","validateWcagLabel"],"sources":["../../../packages/core/src/components/gov-nav/gov-nav.scss?tag=gov-nav","../../../packages/core/src/components/gov-nav/gov-nav.tsx"],"sourcesContent":["/*\n * Nav\n */\n\n$class: \".gov-nav\";\n\n#{$class} {\n\t@include base();\n\t@include typography($font-size-s);\n\tbackground: $nav-bg;\n\tfont-weight: bold;\n\tletter-spacing: 0.0125em;\n\ttext-transform: uppercase;\n\n\t// MQ\n\t@include mq($from: md) {\n\t\ttext-align: center;\n\t\t&__nav {\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: space-between;\n\t\t}\n\t}\n}\n","import { Component, Element, h, Host, Method, Prop } from '@stencil/core'\nimport { NavClass } from './constants'\nimport { validateWcagLabel } from '../../helpers/Validate/wcag'\nimport { canValidateWcagOnRender } from '../../helpers/Dom/win'\nimport { delay } from '../../utils/utils'\n\n@Component({\n\ttag: 'gov-nav',\n\tstyleUrl: 'gov-nav.scss',\n})\nexport class GovNav {\n\t@Element() readonly host: HTMLGovNavElement\n\n\t/**\n\t * Adds accessible label for the accordion that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: 'wcag-label' }) readonly wcagLabel: string\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({ attribute: 'wcag-labelled-by' }) readonly wcagLabelledBy: string\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={NavClass.root}>\n\t\t\t\t<nav class={NavClass.nav} role={'list'} arial-label={this.wcagLabel} arial-labelledby={this.wcagLabelledBy}>\n\t\t\t\t\t<slot />\n\t\t\t\t</nav>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagLabel(this.wcagLabel, this.wcagLabelledBy, NavClass.root)\n\t}\n}\n"],"version":3}
|
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-7b6bba34.js');
|
|
6
|
-
const Fragment = require('./Fragment-52846f79.js');
|
|
7
|
-
const props = require('./props-d6146e54.js');
|
|
8
|
-
const sizes = require('./sizes-79872c2a.js');
|
|
9
|
-
const variants = require('./variants-f5ffeef3.js');
|
|
10
|
-
const utils = require('./utils-c9b1bba3.js');
|
|
11
|
-
const template = require('./template-4b951d1d.js');
|
|
12
|
-
const wcag = require('./wcag-e6257f27.js');
|
|
13
|
-
const win = require('./win-5521073d.js');
|
|
14
|
-
const string_utils = require('./string.utils-0f08c48c.js');
|
|
15
|
-
require('./gov.log-b842920d.js');
|
|
16
|
-
|
|
17
|
-
const PaginationSizes = utils.pick(sizes.Sizes, ['_S', '_M']);
|
|
18
|
-
const PaginationVariants = utils.pick(variants.Variants, ['PRIMARY', 'SECONDARY']);
|
|
19
|
-
var PaginationTypes;
|
|
20
|
-
(function (PaginationTypes) {
|
|
21
|
-
PaginationTypes["BUTTON"] = "button";
|
|
22
|
-
PaginationTypes["SELECT"] = "select";
|
|
23
|
-
})(PaginationTypes || (PaginationTypes = {}));
|
|
24
|
-
const PaginationClass = {
|
|
25
|
-
root: 'gov-pagination',
|
|
26
|
-
list: 'gov-pagination__list',
|
|
27
|
-
item: 'gov-pagination__item',
|
|
28
|
-
itemArrow: 'gov-pagination__item--arrow',
|
|
29
|
-
itemMore: 'gov-pagination__item--more',
|
|
30
|
-
itemSelect: 'gov-pagination__item--select',
|
|
31
|
-
inner: 'gov-pagination__inner',
|
|
32
|
-
arrow: 'gov-pagination__arrow',
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
function paginate(totalItems, currentPage = 1, pageSize = 10, maxPages = 10) {
|
|
36
|
-
// calculate total pages
|
|
37
|
-
const totalPages = Math.ceil(totalItems / pageSize);
|
|
38
|
-
// ensure current page isn't out of range
|
|
39
|
-
if (currentPage < 1) {
|
|
40
|
-
currentPage = 1;
|
|
41
|
-
}
|
|
42
|
-
else if (currentPage > totalPages) {
|
|
43
|
-
currentPage = totalPages;
|
|
44
|
-
}
|
|
45
|
-
let startPage, endPage;
|
|
46
|
-
if (totalPages <= maxPages) {
|
|
47
|
-
// total pages less than max so show all pages
|
|
48
|
-
startPage = 1;
|
|
49
|
-
endPage = totalPages;
|
|
50
|
-
}
|
|
51
|
-
else {
|
|
52
|
-
// total pages more than max so calculate start and end pages
|
|
53
|
-
const maxPagesBeforeCurrentPage = Math.floor(maxPages / 2);
|
|
54
|
-
const maxPagesAfterCurrentPage = Math.ceil(maxPages / 2) - 1;
|
|
55
|
-
if (currentPage <= maxPagesBeforeCurrentPage) {
|
|
56
|
-
// current page near the start
|
|
57
|
-
startPage = 1;
|
|
58
|
-
endPage = maxPages;
|
|
59
|
-
}
|
|
60
|
-
else if (currentPage + maxPagesAfterCurrentPage >= totalPages) {
|
|
61
|
-
// current page near the end
|
|
62
|
-
startPage = totalPages - maxPages + 1;
|
|
63
|
-
endPage = totalPages;
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
// current page somewhere in the middle
|
|
67
|
-
startPage = currentPage - maxPagesBeforeCurrentPage;
|
|
68
|
-
endPage = currentPage + maxPagesAfterCurrentPage;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
// calculate start and end item indexes
|
|
72
|
-
const startIndex = (currentPage - 1) * pageSize;
|
|
73
|
-
const endIndex = Math.min(startIndex + pageSize - 1, totalItems - 1);
|
|
74
|
-
// create an array of pages to ng-repeat in the pager control
|
|
75
|
-
const pages = Array.from(Array(endPage + 1 - startPage).keys()).map(i => startPage + i);
|
|
76
|
-
// return object with all pager properties required by the view
|
|
77
|
-
return {
|
|
78
|
-
totalItems: totalItems,
|
|
79
|
-
currentPage: currentPage,
|
|
80
|
-
pageSize: pageSize,
|
|
81
|
-
totalPages: totalPages,
|
|
82
|
-
startPage: startPage,
|
|
83
|
-
endPage: endPage,
|
|
84
|
-
startIndex: startIndex,
|
|
85
|
-
endIndex: endIndex,
|
|
86
|
-
pages: pages,
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
const createArrayRange = (from, to) => {
|
|
91
|
-
if (Number.isInteger(from) && Number.isInteger(to)) {
|
|
92
|
-
return [...Array(to + 1).keys()].slice(from);
|
|
93
|
-
}
|
|
94
|
-
return [];
|
|
95
|
-
};
|
|
96
|
-
|
|
97
|
-
const govPaginationCss = ".gov-pagination__list{margin:0;padding:0}.gov-pagination__list .gov-pagination__item{margin:0;padding:0;background:none}.gov-pagination__list .gov-pagination__item::before{display:none}.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-pagination{position:relative;display:block;width:100%}.gov-pagination__list{display:flex;align-items:center;flex-wrap:wrap;font-weight:bold;text-align:center}.gov-pagination__list .gov-pagination__item{display:flex;justify-content:center;align-items:center;margin:0;padding:0.125rem;border-radius:var(--gov-border-radius, 0.1875rem);overflow:hidden}.gov-pagination__list .gov-pagination__item--arrow{display:flex}.gov-pagination__list .gov-pagination__item--select{z-index:1;display:flex;overflow:visible;padding:0rem 1rem}.gov-pagination__arrow{margin:0}.gov-pagination__item--more .gov-form-select select{border:none !important;padding-right:0.75rem !important}.gov-pagination__item--more .gov-form-select .gov-icon{display:none}.gov-pagination__inner{display:flex;justify-content:center;align-items:center;align-self:stretch;width:100%;text-decoration:none}.gov-pagination__inner[wcag-current=true][type=solid][variant=primary] .element{background-color:var(--gov-button-primary-solid-hover-bg, var(--gov-color-primary-700));color:var(--gov-button-primary-solid-hover-color, var(--gov-color-neutral-white))}.gov-pagination__inner[wcag-current=true][type=outlined][variant=primary] .element{background-color:var(--gov-button-primary-outlined-hover-bg, var(--gov-color-primary-100));color:var(--gov-button-primary-outlined-hover-color, var(--gov-color-primary))}.gov-pagination__inner[wcag-current=true][type=base][variant=primary] .element{background-color:var(--gov-button-primary-base-hover-bg, var(--gov-color-primary-100));color:var(--gov-button-primary-base-hover-color, var(--gov-color-primary))}.gov-pagination__inner[wcag-current=true][type=link][variant=primary] .element{background-color:var(--gov-button-primary-link-hover-bg, transparent);color:var(--gov-button-primary-link-hover-color, var(--gov-color-primary))}.gov-pagination__inner[wcag-current=true][type=solid][variant=secondary] .element{background-color:var(--gov-button-secondary-solid-hover-bg, var(--gov-color-secondary-900));color:var(--gov-button-secondary-solid-hover-color, var(--gov-color-neutral-white))}.gov-pagination__inner[wcag-current=true][type=outlined][variant=secondary] .element{background-color:var(--gov-button-secondary-outlined-hover-bg, var(--gov-color-secondary-300));color:var(--gov-button-secondary-outlined-hover-color, var(--gov-color-secondary))}.gov-pagination__inner[wcag-current=true][type=base][variant=secondary] .element{background-color:var(--gov-button-secondary-base-hover-bg, var(--gov-color-secondary-300));color:var(--gov-button-secondary-base-hover-color, var(--gov-color-secondary))}.gov-pagination__inner[wcag-current=true][type=link][variant=secondary] .element{background-color:var(--gov-button-secondary-link-hover-bg, transparent);color:var(--gov-button-secondary-link-hover-color, var(--gov-color-secondary))}.gov-pagination__inner[wcag-current=true][type=solid][variant=error] .element{background-color:var(--gov-button-error-solid-hover-bg, var(--gov-color-error-500));color:var(--gov-button-error-solid-hover-color, var(--gov-color-neutral-white))}.gov-pagination__inner[wcag-current=true][type=outlined][variant=error] .element{background-color:var(--gov-button-error-outlined-hover-bg, var(--gov-color-error-100));color:var(--gov-button-error-outlined-hover-color, var(--gov-color-error))}.gov-pagination__inner[wcag-current=true][type=base][variant=error] .element{background-color:var(--gov-button-error-base-hover-bg, var(--gov-color-error-100));color:var(--gov-button-error-base-hover-color, var(--gov-color-error))}.gov-pagination__inner[wcag-current=true][type=link][variant=error] .element{background-color:var(--gov-button-error-link-hover-bg, transparent);color:var(--gov-button-error-link-hover-color, var(--gov-color-error))}.gov-pagination__inner[wcag-current=true][type=solid][variant=success] .element{background-color:var(--gov-button-success-solid-hover-bg, var(--gov-color-success-600));color:var(--gov-button-success-solid-hover-color, var(--gov-color-neutral-white))}.gov-pagination__inner[wcag-current=true][type=outlined][variant=success] .element{background-color:var(--gov-button-success-outlined-hover-bg, var(--gov-color-success-100));color:var(--gov-button-success-outlined-hover-color, var(--gov-color-success-500))}.gov-pagination__inner[wcag-current=true][type=base][variant=success] .element{background-color:var(--gov-button-success-base-hover-bg, var(--gov-color-success-100));color:var(--gov-button-success-base-hover-color, var(--gov-color-success-500))}.gov-pagination__inner[wcag-current=true][type=link][variant=success] .element{background-color:var(--gov-button-success-link-hover-bg, transparent);color:var(--gov-button-success-link-hover-color, var(--gov-color-success-500))}.gov-pagination__inner[wcag-current=true][type=solid][variant=warning] .element{background-color:var(--gov-button-warning-solid-hover-bg, var(--gov-color-warning-600));color:var(--gov-button-warning-solid-hover-color, var(--gov-color-neutral-white))}.gov-pagination__inner[wcag-current=true][type=outlined][variant=warning] .element{background-color:var(--gov-button-warning-outlined-hover-bg, var(--gov-color-warning-200));color:var(--gov-button-warning-outlined-hover-color, var(--gov-color-warning-500))}.gov-pagination__inner[wcag-current=true][type=base][variant=warning] .element{background-color:var(--gov-button-warning-base-hover-bg, var(--gov-color-warning-200));color:var(--gov-button-warning-base-hover-color, var(--gov-color-warning-500))}.gov-pagination__inner[wcag-current=true][type=link][variant=warning] .element{background-color:var(--gov-button-warning-link-hover-bg, transparent);color:var(--gov-button-warning-link-hover-color, var(--gov-color-warning-500))}.gov-pagination[size=s] .gov-pagination__inner{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing);font-weight:inherit}.gov-pagination[size=s] .gov-pagination__inner .element{min-width:var(--gov-pagination-s-button-size, 2rem)}.gov-pagination[size=m] .gov-pagination__inner{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);font-weight:inherit}.gov-pagination[size=m] .gov-pagination__inner .element{min-width:var(--gov-pagination-m-button-size, 2.5rem)}";
|
|
98
|
-
|
|
99
|
-
const GovPagination = class {
|
|
100
|
-
constructor(hostRef) {
|
|
101
|
-
index.registerInstance(this, hostRef);
|
|
102
|
-
this.govPage = index.createEvent(this, "gov-page", 7);
|
|
103
|
-
this.type = "button";
|
|
104
|
-
this.current = 1;
|
|
105
|
-
this.total = 0;
|
|
106
|
-
this.inverse = undefined;
|
|
107
|
-
this.size = "m";
|
|
108
|
-
this.variant = "primary";
|
|
109
|
-
this.pageSize = 10;
|
|
110
|
-
this.maxPages = 5;
|
|
111
|
-
this.link = undefined;
|
|
112
|
-
this.wcagLabel = undefined;
|
|
113
|
-
this.wcagLabelledBy = undefined;
|
|
114
|
-
this.wcagSelectLabel = "Vybrat stranu";
|
|
115
|
-
this.wcagPageLabel = "Strana";
|
|
116
|
-
this.pagination = undefined;
|
|
117
|
-
this.h = template.govHost(this.host);
|
|
118
|
-
this.pageSelectId = string_utils.createID("GovPageSelect");
|
|
119
|
-
}
|
|
120
|
-
validateType(newValue) {
|
|
121
|
-
props.validateProp(PaginationTypes, newValue, PaginationClass.root);
|
|
122
|
-
}
|
|
123
|
-
validateSize(newValue) {
|
|
124
|
-
props.validateProp(PaginationSizes, newValue, PaginationClass.root);
|
|
125
|
-
}
|
|
126
|
-
validateVariant(newValue) {
|
|
127
|
-
props.validateProp(PaginationVariants, newValue, PaginationClass.root);
|
|
128
|
-
}
|
|
129
|
-
recalculate() {
|
|
130
|
-
this.recalculatePagination(this.current);
|
|
131
|
-
}
|
|
132
|
-
componentWillLoad() {
|
|
133
|
-
this.recalculatePagination(this.current);
|
|
134
|
-
this.validateSize(this.size);
|
|
135
|
-
this.validateVariant(this.variant);
|
|
136
|
-
}
|
|
137
|
-
async componentDidRender() {
|
|
138
|
-
if (win.canValidateWcagOnRender()) {
|
|
139
|
-
await utils.delay(500);
|
|
140
|
-
await this.validateWcag();
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
recalculatePagination(currentPage) {
|
|
144
|
-
this.pagination = paginate(this.total, currentPage, this.pageSize, this.maxPages);
|
|
145
|
-
}
|
|
146
|
-
isActivePageClass(originalClass, page) {
|
|
147
|
-
if (this.pagination.currentPage === page) {
|
|
148
|
-
return originalClass + " is-active";
|
|
149
|
-
}
|
|
150
|
-
else {
|
|
151
|
-
return originalClass;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
prepareLinkUrl(page) {
|
|
155
|
-
if (this.link) {
|
|
156
|
-
return String(this.link).replace("{PAGE}", String(page));
|
|
157
|
-
}
|
|
158
|
-
return undefined;
|
|
159
|
-
}
|
|
160
|
-
resetSelectValue() {
|
|
161
|
-
if (this.spreadSelectRef) {
|
|
162
|
-
this.spreadSelectRef.getRef()
|
|
163
|
-
.then((el) => {
|
|
164
|
-
el.value = '...';
|
|
165
|
-
});
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
render() {
|
|
169
|
-
const pageResolver = (page, content) => {
|
|
170
|
-
const isDisabled = page === -1;
|
|
171
|
-
const ariaCurrent = template.toBoolAttrIfDefined(this.pagination.currentPage === page ? true : undefined);
|
|
172
|
-
return (index.h("gov-button", { href: this.prepareLinkUrl(page), variant: this.variant, size: this.size, type: "base", disabled: isDisabled, "on-gov-click": (e) => this.onClickHandler(e, page), "wcag-label": page > -1 ? this.wcagPageLabel + " " + page : undefined, "wcag-current": ariaCurrent, class: PaginationClass.inner }, content));
|
|
173
|
-
};
|
|
174
|
-
return (index.h(index.Host, { class: this.h.classes(PaginationClass.root), type: this.type, variant: this.variant, size: this.size }, index.h("nav", { "aria-label": this.wcagLabel, "aria-labelledby": this.wcagLabelledBy }, index.h("ul", { class: PaginationClass.list }, index.h("li", { class: template.prepareClasses([PaginationClass.item, PaginationClass.itemArrow]) }, pageResolver(this.pagination.currentPage > 1 ? 1 : -1, index.h("gov-icon", { class: PaginationClass.arrow, name: "chevron-double-left" }))), index.h("li", { class: template.prepareClasses([PaginationClass.item, PaginationClass.itemArrow]) }, pageResolver(this.pagination.startPage < this.pagination.currentPage ? this.pagination.currentPage - 1 : -1, index.h("gov-icon", { class: PaginationClass.arrow, name: "chevron-left" }))), this.type == "select" ? (index.h("li", { class: template.prepareClasses([PaginationClass.item, PaginationClass.itemSelect]) }, index.h("span", { class: PaginationClass.inner }, index.h("span", { id: this.pageSelectId, hidden: true }, this.wcagSelectLabel), index.h("gov-form-select", { size: "m", variant: this.variant, "wcag-labelled-by": this.pageSelectId, "on-gov-change": this.onSelectHandler.bind(this) }, createArrayRange(1, this.pagination.totalPages).map(page => (index.h("option", { value: page, selected: this.pagination.currentPage === page }, page))))))) : (index.h(Fragment.Fragment, null, this.pagination.pages.map(page => (index.h("li", { class: this.isActivePageClass(PaginationClass.item, page) }, pageResolver(page, page)))), this.pagination.totalPages ? (index.h("li", { class: template.prepareClasses([PaginationClass.item, PaginationClass.itemMore]) }, index.h("span", { class: PaginationClass.inner }, index.h("span", { id: this.pageSelectId, hidden: true }, this.wcagSelectLabel), index.h("gov-form-select", { size: "m", variant: this.variant, "wcag-labelled-by": this.pageSelectId, ref: el => (this.spreadSelectRef = el), "on-gov-change": this.onSelectHandler.bind(this) }, index.h("option", { selected: true, hidden: true }, "..."), createArrayRange(1, this.pagination.totalPages).map(page => (index.h("option", { value: page, selected: false }, page))))))) : null)), index.h("li", { class: template.prepareClasses([PaginationClass.item, PaginationClass.itemArrow]) }, pageResolver(this.pagination.totalPages > this.pagination.currentPage ? this.pagination.currentPage + 1 : -1, index.h("gov-icon", { class: PaginationClass.arrow, name: "chevron-right" }))), index.h("li", { class: template.prepareClasses([PaginationClass.item, PaginationClass.itemArrow]) }, pageResolver(this.pagination.totalPages > this.pagination.currentPage ? this.pagination.totalPages : -1, index.h("gov-icon", { class: PaginationClass.arrow, name: "chevron-double-right" })))))));
|
|
175
|
-
}
|
|
176
|
-
onClickHandler(e, page) {
|
|
177
|
-
e.stopPropagation();
|
|
178
|
-
this.recalculatePagination(page);
|
|
179
|
-
this.govPage.emit({
|
|
180
|
-
component: PaginationClass.root,
|
|
181
|
-
pagination: this.pagination
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
onSelectHandler(e) {
|
|
185
|
-
e.stopPropagation();
|
|
186
|
-
const value = e.detail.value;
|
|
187
|
-
const page = parseInt(value);
|
|
188
|
-
this.resetSelectValue();
|
|
189
|
-
if (isNaN(page) === false) {
|
|
190
|
-
this.recalculatePagination(page);
|
|
191
|
-
if (this.link) {
|
|
192
|
-
window.location.href = this.prepareLinkUrl(page);
|
|
193
|
-
}
|
|
194
|
-
else {
|
|
195
|
-
this.govPage.emit({
|
|
196
|
-
component: PaginationClass.root,
|
|
197
|
-
pagination: this.pagination
|
|
198
|
-
});
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
/**
|
|
203
|
-
* Validate the WCAG attributes of the component
|
|
204
|
-
*/
|
|
205
|
-
async validateWcag() {
|
|
206
|
-
wcag.validateWcagProp(this.wcagPageLabel, "wcag-page-label", PaginationClass.root);
|
|
207
|
-
wcag.validateWcagLabel(this.wcagLabel, this.wcagLabelledBy, PaginationClass.root);
|
|
208
|
-
}
|
|
209
|
-
get host() { return index.getElement(this); }
|
|
210
|
-
static get watchers() { return {
|
|
211
|
-
"type": ["validateType"],
|
|
212
|
-
"size": ["validateSize"],
|
|
213
|
-
"variant": ["validateVariant"],
|
|
214
|
-
"current": ["recalculate"],
|
|
215
|
-
"total": ["recalculate"],
|
|
216
|
-
"pageSize": ["recalculate"],
|
|
217
|
-
"maxPages": ["recalculate"]
|
|
218
|
-
}; }
|
|
219
|
-
};
|
|
220
|
-
GovPagination.style = govPaginationCss;
|
|
221
|
-
|
|
222
|
-
exports.gov_pagination = GovPagination;
|
|
223
|
-
|
|
224
|
-
//# sourceMappingURL=gov-pagination.cjs.entry.js.map
|