@gov-design-system-ce/components 0.0.48 → 0.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/core.cjs.js +6 -2
- package/dist/cjs/core.cjs.js.map +1 -1
- package/dist/cjs/gov-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-accordion.cjs.entry.js +1 -1
- package/dist/cjs/gov-alert.cjs.entry.js +1 -1
- package/dist/cjs/gov-app.cjs.entry.js +1 -1
- package/dist/cjs/gov-app.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-attachments_3.cjs.entry.js +1 -1
- package/dist/cjs/gov-backdrop.cjs.entry.js +1 -1
- package/dist/cjs/gov-badge.cjs.entry.js +1 -1
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/gov-button.cjs.entry.js +1 -1
- package/dist/cjs/gov-card.cjs.entry.js +1 -1
- package/dist/cjs/gov-container.cjs.entry.js +1 -1
- package/dist/cjs/gov-control-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-cookiebar.cjs.entry.js +1 -1
- package/dist/cjs/gov-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gov-empty.cjs.entry.js +1 -1
- package/dist/cjs/gov-error-code.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-control.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-file.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-input.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-label.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-multi-select.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-password-power.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-radio.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-search.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-select.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-switch.cjs.entry.js +1 -1
- package/dist/cjs/gov-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-grid.cjs.entry.js +1 -1
- package/dist/cjs/gov-icon.cjs.entry.js +2 -2
- package/dist/cjs/gov-layout-column.cjs.entry.js +1 -1
- package/dist/cjs/gov-layout.cjs.entry.js +1 -1
- package/dist/cjs/gov-loading.cjs.entry.js +1 -1
- package/dist/cjs/gov-message.cjs.entry.js +1 -1
- package/dist/cjs/gov-modal.cjs.entry.js +1 -1
- package/dist/cjs/gov-nav-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-nav.cjs.entry.js +1 -1
- package/dist/cjs/gov-pagination.cjs.entry.js +1 -1
- package/dist/cjs/gov-prompt.cjs.entry.js +1 -1
- package/dist/cjs/gov-side-nav-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-side-nav.cjs.entry.js +1 -1
- package/dist/cjs/gov-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/gov-spacer.cjs.entry.js +1 -1
- package/dist/cjs/gov-statsbar-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-statsbar.cjs.entry.js +1 -1
- package/dist/cjs/gov-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-stepper.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tile.cjs.entry.js +1 -1
- package/dist/cjs/gov-tiles.cjs.entry.js +1 -1
- package/dist/cjs/gov-toast.cjs.entry.js +1 -1
- package/dist/cjs/gov-tooltip-content.cjs.entry.js +1 -1
- package/dist/cjs/gov-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/gov-wizzard-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-wizzard.cjs.entry.js +1 -1
- package/dist/cjs/{index-29ac07f6.js → index-83edd4fe.js} +305 -63
- package/dist/cjs/index-83edd4fe.js.map +1 -0
- package/dist/cjs/loader.cjs.js +3 -11
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +62 -62
- package/dist/collection/components/gov-accordion/constants.js +3 -3
- package/dist/collection/components/gov-accordion/gov-accordion-item.js +14 -7
- package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -1
- package/dist/collection/components/gov-accordion/gov-accordion.js +16 -12
- package/dist/collection/components/gov-accordion/gov-accordion.js.map +1 -1
- package/dist/collection/components/gov-alert/constants.js +2 -2
- package/dist/collection/components/gov-alert/gov-alert.js +6 -3
- package/dist/collection/components/gov-alert/gov-alert.js.map +1 -1
- package/dist/collection/components/gov-app/gov-app.js +37 -37
- package/dist/collection/components/gov-app/gov-app.js.map +1 -1
- package/dist/collection/components/gov-attachments/gov-attachments-item.js +10 -8
- package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +1 -1
- package/dist/collection/components/gov-attachments/gov-attachments.js +8 -7
- package/dist/collection/components/gov-attachments/gov-attachments.js.map +1 -1
- package/dist/collection/components/gov-backdrop/gov-backdrop.js +10 -8
- package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +1 -1
- package/dist/collection/components/gov-badge/gov-badge.js +18 -9
- package/dist/collection/components/gov-badge/gov-badge.js.map +1 -1
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +10 -8
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -1
- package/dist/collection/components/gov-button/default/constants.js +3 -3
- package/dist/collection/components/gov-button/default/gov-button.js +26 -13
- package/dist/collection/components/gov-button/default/gov-button.js.map +1 -1
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +8 -4
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.js.map +1 -1
- package/dist/collection/components/gov-card/gov-card.js +16 -12
- package/dist/collection/components/gov-card/gov-card.js.map +1 -1
- package/dist/collection/components/gov-container/gov-container.js +7 -5
- package/dist/collection/components/gov-container/gov-container.js.map +1 -1
- package/dist/collection/components/gov-control-group/constants.js +2 -2
- package/dist/collection/components/gov-control-group/gov-control-group.js +2 -1
- package/dist/collection/components/gov-control-group/gov-control-group.js.map +1 -1
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +3 -3
- package/dist/collection/components/gov-empty/gov-empty.js +3 -3
- package/dist/collection/components/gov-error-code/gov-error-code.js +3 -3
- package/dist/collection/components/gov-form/autocomplete/constants.js +3 -3
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +30 -15
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +1 -1
- package/dist/collection/components/gov-form/checkbox/constants.js +2 -2
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +14 -7
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +1 -1
- package/dist/collection/components/gov-form/control/constants.js +2 -2
- package/dist/collection/components/gov-form/control/gov-form-control.js +4 -2
- package/dist/collection/components/gov-form/control/gov-form-control.js.map +1 -1
- package/dist/collection/components/gov-form/file/gov-form-file.js +20 -10
- package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
- package/dist/collection/components/gov-form/group/gov-form-group.js +2 -1
- package/dist/collection/components/gov-form/group/gov-form-group.js.map +1 -1
- package/dist/collection/components/gov-form/input/constants.js +3 -3
- package/dist/collection/components/gov-form/input/gov-form-input.js +40 -24
- package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
- package/dist/collection/components/gov-form/label/gov-form-label.js +6 -4
- package/dist/collection/components/gov-form/label/gov-form-label.js.map +1 -1
- package/dist/collection/components/gov-form/message/constants.js +2 -2
- package/dist/collection/components/gov-form/message/gov-form-message.js +9 -7
- package/dist/collection/components/gov-form/message/gov-form-message.js.map +1 -1
- package/dist/collection/components/gov-form/multiselect/constants.js +3 -3
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +22 -11
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -1
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +2 -2
- package/dist/collection/components/gov-form/radio/constants.js +2 -2
- package/dist/collection/components/gov-form/radio/gov-form-radio.js +14 -7
- package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +1 -1
- package/dist/collection/components/gov-form/search/constants.js +2 -2
- package/dist/collection/components/gov-form/search/gov-form-search.js +4 -3
- package/dist/collection/components/gov-form/search/gov-form-search.js.map +1 -1
- package/dist/collection/components/gov-form/select/constants.js +3 -3
- package/dist/collection/components/gov-form/select/gov-form-select.js +22 -11
- package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
- package/dist/collection/components/gov-form/switch/constants.js +2 -2
- package/dist/collection/components/gov-form/switch/gov-form-switch.js +14 -7
- package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -1
- package/dist/collection/components/gov-grid/gov-grid-item.css +0 -44
- package/dist/collection/components/gov-grid/gov-grid-item.js +3 -3
- package/dist/collection/components/gov-grid/gov-grid.js +3 -3
- package/dist/collection/components/gov-icon/gov-icon.js +6 -5
- package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
- package/dist/collection/components/gov-layout/gov-layout-column.js +3 -3
- package/dist/collection/components/gov-layout/gov-layout.js +7 -5
- package/dist/collection/components/gov-layout/gov-layout.js.map +1 -1
- package/dist/collection/components/gov-loading/loading/gov-loading.js +3 -3
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +8 -4
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js.map +1 -1
- package/dist/collection/components/gov-message/constants.js +2 -2
- package/dist/collection/components/gov-message/gov-message.js +7 -6
- package/dist/collection/components/gov-message/gov-message.js.map +1 -1
- package/dist/collection/components/gov-modal/gov-modal.js +8 -4
- package/dist/collection/components/gov-modal/gov-modal.js.map +1 -1
- package/dist/collection/components/gov-nav/gov-nav-item.js +3 -3
- package/dist/collection/components/gov-nav/gov-nav.js +7 -6
- package/dist/collection/components/gov-nav/gov-nav.js.map +1 -1
- package/dist/collection/components/gov-pagination/constants.js +3 -3
- package/dist/collection/components/gov-pagination/gov-pagination.js +10 -5
- package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -1
- package/dist/collection/components/gov-promp/gov-prompt.js +8 -4
- package/dist/collection/components/gov-promp/gov-prompt.js.map +1 -1
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.js +15 -10
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.js.map +1 -1
- package/dist/collection/components/gov-side-nav/gov-side-nav.js +10 -8
- package/dist/collection/components/gov-side-nav/gov-side-nav.js.map +1 -1
- package/dist/collection/components/gov-spacer/constants.js +2 -2
- package/dist/collection/components/gov-spacer/gov-spacer.js +8 -6
- package/dist/collection/components/gov-spacer/gov-spacer.js.map +1 -1
- package/dist/collection/components/gov-statsbar/constants.js +2 -2
- package/dist/collection/components/gov-statsbar/gov-statsbar-item.js +6 -5
- package/dist/collection/components/gov-statsbar/gov-statsbar-item.js.map +1 -1
- package/dist/collection/components/gov-statsbar/gov-statsbar.js +8 -6
- package/dist/collection/components/gov-statsbar/gov-statsbar.js.map +1 -1
- package/dist/collection/components/gov-stepper/constants.js +3 -3
- package/dist/collection/components/gov-stepper/gov-stepper-item.js +14 -10
- package/dist/collection/components/gov-stepper/gov-stepper-item.js.map +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper.js +8 -6
- package/dist/collection/components/gov-stepper/gov-stepper.js.map +1 -1
- package/dist/collection/components/gov-tabs/constants.js +2 -2
- package/dist/collection/components/gov-tabs/gov-tabs-item.js +10 -7
- package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs.js +29 -19
- package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -1
- package/dist/collection/components/gov-tile/container/gov-tiles.js +4 -4
- package/dist/collection/components/gov-tile/gov-tile.js +6 -3
- package/dist/collection/components/gov-tile/gov-tile.js.map +1 -1
- package/dist/collection/components/gov-toast/constants.js +2 -2
- package/dist/collection/components/gov-toast/gov-toast.js +11 -8
- package/dist/collection/components/gov-toast/gov-toast.js.map +1 -1
- package/dist/collection/components/gov-tooltip/constants.js +3 -3
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +3 -3
- package/dist/collection/components/gov-tooltip/gov-tooltip.js +15 -10
- package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -1
- package/dist/collection/components/gov-wizzard/constants.js +3 -3
- package/dist/collection/components/gov-wizzard/gov-wizzard-item.js +14 -7
- package/dist/collection/components/gov-wizzard/gov-wizzard-item.js.map +1 -1
- package/dist/collection/components/gov-wizzard/gov-wizzard.js +6 -3
- package/dist/collection/components/gov-wizzard/gov-wizzard.js.map +1 -1
- package/dist/collection/helpers/Dom/form.js +9 -9
- package/dist/collection/helpers/Dom/win.js +1 -1
- package/dist/collection/helpers/StorybookDocsTemplate.js +3 -3
- package/dist/collection/helpers/Validate/props.js +1 -1
- package/dist/collection/helpers/Validate/wcag.js +3 -3
- package/dist/collection/utils/ds.utils.js +1 -1
- package/dist/collection/utils/icon.utils.js +3 -3
- package/dist/components/gov-accordion-item.js +1 -156
- package/dist/components/gov-accordion-item.js.map +1 -1
- package/dist/components/gov-accordion.js +1 -94
- package/dist/components/gov-accordion.js.map +1 -1
- package/dist/components/gov-alert.js +1 -122
- package/dist/components/gov-alert.js.map +1 -1
- package/dist/components/gov-app.js +1 -8924
- package/dist/components/gov-app.js.map +1 -1
- package/dist/components/gov-attachments-item.js +1 -7
- package/dist/components/gov-attachments-item.js.map +1 -1
- package/dist/components/gov-attachments.js +1 -7
- package/dist/components/gov-attachments.js.map +1 -1
- package/dist/components/gov-backdrop.js +1 -7
- package/dist/components/gov-backdrop.js.map +1 -1
- package/dist/components/gov-badge.js +1 -7
- package/dist/components/gov-badge.js.map +1 -1
- package/dist/components/gov-breadcrumbs.js +1 -67
- package/dist/components/gov-breadcrumbs.js.map +1 -1
- package/dist/components/gov-button.js +1 -7
- package/dist/components/gov-button.js.map +1 -1
- package/dist/components/gov-card.js +1 -143
- package/dist/components/gov-card.js.map +1 -1
- package/dist/components/gov-container.js +1 -51
- package/dist/components/gov-container.js.map +1 -1
- package/dist/components/gov-control-group.js +1 -57
- package/dist/components/gov-control-group.js.map +1 -1
- package/dist/components/gov-cookiebar.js +1 -46
- package/dist/components/gov-cookiebar.js.map +1 -1
- package/dist/components/gov-dropdown.js +1 -150
- package/dist/components/gov-dropdown.js.map +1 -1
- package/dist/components/gov-empty.js +1 -44
- package/dist/components/gov-empty.js.map +1 -1
- package/dist/components/gov-error-code.js +1 -44
- package/dist/components/gov-error-code.js.map +1 -1
- package/dist/components/gov-form-autocomplete.js +1 -7
- package/dist/components/gov-form-autocomplete.js.map +1 -1
- package/dist/components/gov-form-checkbox.js +1 -159
- package/dist/components/gov-form-checkbox.js.map +1 -1
- package/dist/components/gov-form-control.js +1 -139
- package/dist/components/gov-form-control.js.map +1 -1
- package/dist/components/gov-form-file.js +1 -288
- package/dist/components/gov-form-file.js.map +1 -1
- package/dist/components/gov-form-group.js +1 -57
- package/dist/components/gov-form-group.js.map +1 -1
- package/dist/components/gov-form-input.js +1 -7
- package/dist/components/gov-form-input.js.map +1 -1
- package/dist/components/gov-form-label.js +1 -46
- package/dist/components/gov-form-label.js.map +1 -1
- package/dist/components/gov-form-message.js +1 -7
- package/dist/components/gov-form-message.js.map +1 -1
- package/dist/components/gov-form-multi-select.js +1 -270
- package/dist/components/gov-form-multi-select.js.map +1 -1
- package/dist/components/gov-form-password-power.js +1 -43
- package/dist/components/gov-form-password-power.js.map +1 -1
- package/dist/components/gov-form-radio.js +1 -153
- package/dist/components/gov-form-radio.js.map +1 -1
- package/dist/components/gov-form-search.js +1 -47
- package/dist/components/gov-form-search.js.map +1 -1
- package/dist/components/gov-form-select.js +1 -7
- package/dist/components/gov-form-select.js.map +1 -1
- package/dist/components/gov-form-switch.js +1 -153
- package/dist/components/gov-form-switch.js.map +1 -1
- package/dist/components/gov-grid-item.js +1 -49
- package/dist/components/gov-grid-item.js.map +1 -1
- package/dist/components/gov-grid.js +1 -44
- package/dist/components/gov-grid.js.map +1 -1
- package/dist/components/gov-icon.js +1 -7
- package/dist/components/gov-icon.js.map +1 -1
- package/dist/components/gov-layout-column.js +1 -38
- package/dist/components/gov-layout-column.js.map +1 -1
- package/dist/components/gov-layout.js +1 -51
- package/dist/components/gov-layout.js.map +1 -1
- package/dist/components/gov-loading.js +1 -58
- package/dist/components/gov-loading.js.map +1 -1
- package/dist/components/gov-message.js +1 -57
- package/dist/components/gov-message.js.map +1 -1
- package/dist/components/gov-modal.js +1 -146
- package/dist/components/gov-modal.js.map +1 -1
- package/dist/components/gov-nav-item.js +1 -53
- package/dist/components/gov-nav-item.js.map +1 -1
- package/dist/components/gov-nav.js +1 -57
- package/dist/components/gov-nav.js.map +1 -1
- package/dist/components/gov-pagination.js +1 -270
- package/dist/components/gov-pagination.js.map +1 -1
- package/dist/components/gov-prompt.js +1 -146
- package/dist/components/gov-prompt.js.map +1 -1
- package/dist/components/gov-side-nav-item.js +1 -124
- package/dist/components/gov-side-nav-item.js.map +1 -1
- package/dist/components/gov-side-nav.js +1 -73
- package/dist/components/gov-side-nav.js.map +1 -1
- package/dist/components/gov-skeleton.js +1 -137
- package/dist/components/gov-skeleton.js.map +1 -1
- package/dist/components/gov-spacer.js +1 -72
- package/dist/components/gov-spacer.js.map +1 -1
- package/dist/components/gov-statsbar-item.js +1 -51
- package/dist/components/gov-statsbar-item.js.map +1 -1
- package/dist/components/gov-statsbar.js +1 -65
- package/dist/components/gov-statsbar.js.map +1 -1
- package/dist/components/gov-stepper-item.js +1 -96
- package/dist/components/gov-stepper-item.js.map +1 -1
- package/dist/components/gov-stepper.js +1 -61
- package/dist/components/gov-stepper.js.map +1 -1
- package/dist/components/gov-tabs-item.js +1 -73
- package/dist/components/gov-tabs-item.js.map +1 -1
- package/dist/components/gov-tabs.js +1 -232
- package/dist/components/gov-tabs.js.map +1 -1
- package/dist/components/gov-tile.js +1 -80
- package/dist/components/gov-tile.js.map +1 -1
- package/dist/components/gov-tiles.js +1 -49
- package/dist/components/gov-tiles.js.map +1 -1
- package/dist/components/gov-toast.js +1 -136
- package/dist/components/gov-toast.js.map +1 -1
- package/dist/components/gov-tooltip-content.js +1 -54
- package/dist/components/gov-tooltip-content.js.map +1 -1
- package/dist/components/gov-tooltip.js +1 -176
- package/dist/components/gov-tooltip.js.map +1 -1
- package/dist/components/gov-wizzard-item.js +1 -144
- package/dist/components/gov-wizzard-item.js.map +1 -1
- package/dist/components/gov-wizzard.js +1 -83
- package/dist/components/gov-wizzard.js.map +1 -1
- package/dist/components/index.d.ts +14 -62
- package/dist/components/index.js +1 -62
- package/dist/components/index.js.map +1 -1
- package/dist/components/p-03990da5.js +2 -0
- package/dist/components/p-03990da5.js.map +1 -0
- package/dist/components/p-0f5e2b0a.js +2 -0
- package/dist/components/p-0f5e2b0a.js.map +1 -0
- package/dist/components/p-1020a160.js +2 -0
- package/dist/components/p-1020a160.js.map +1 -0
- package/dist/components/p-16e8c053.js +2 -0
- package/dist/components/p-16e8c053.js.map +1 -0
- package/dist/components/p-17c1ffc1.js +2 -0
- package/dist/components/p-17c1ffc1.js.map +1 -0
- package/dist/components/p-1b4f2520.js +2 -0
- package/dist/components/p-1b4f2520.js.map +1 -0
- package/dist/components/p-1c1d0bbe.js +2 -0
- package/dist/components/p-1c1d0bbe.js.map +1 -0
- package/dist/components/p-20853eff.js +2 -0
- package/dist/components/{gov-form-select2.js.map → p-20853eff.js.map} +1 -1
- package/dist/components/p-24636c53.js +2 -0
- package/dist/components/p-24636c53.js.map +1 -0
- package/dist/components/p-2692b1ff.js +2 -0
- package/dist/components/p-2692b1ff.js.map +1 -0
- package/dist/components/p-26acf964.js +2 -0
- package/dist/components/p-26acf964.js.map +1 -0
- package/dist/components/p-34152b51.js +2 -0
- package/dist/components/p-34152b51.js.map +1 -0
- package/dist/components/p-3464136c.js +2 -0
- package/dist/components/p-3464136c.js.map +1 -0
- package/dist/components/p-36be8f6e.js +2 -0
- package/dist/components/p-36be8f6e.js.map +1 -0
- package/dist/components/p-386409dc.js +2 -0
- package/dist/components/p-386409dc.js.map +1 -0
- package/dist/components/p-3dbf7f49.js +2 -0
- package/dist/components/p-3dbf7f49.js.map +1 -0
- package/dist/components/p-3f37ddb6.js +2 -0
- package/dist/components/p-3f37ddb6.js.map +1 -0
- package/dist/components/p-404f469e.js +2 -0
- package/dist/components/p-404f469e.js.map +1 -0
- package/dist/components/p-47172f0a.js +2 -0
- package/dist/components/p-47172f0a.js.map +1 -0
- package/dist/components/p-55500e5a.js +2 -0
- package/dist/components/p-55500e5a.js.map +1 -0
- package/dist/components/p-561fa17b.js +2 -0
- package/dist/components/p-561fa17b.js.map +1 -0
- package/dist/components/p-5bf5a42e.js +2 -0
- package/dist/components/p-5bf5a42e.js.map +1 -0
- package/dist/components/p-5defdc5e.js +2 -0
- package/dist/components/p-5defdc5e.js.map +1 -0
- package/dist/components/p-6278531b.js +2 -0
- package/dist/components/p-6278531b.js.map +1 -0
- package/dist/components/p-64ced668.js +2 -0
- package/dist/components/p-64ced668.js.map +1 -0
- package/dist/components/p-80c0109d.js +2 -0
- package/dist/components/p-80c0109d.js.map +1 -0
- package/dist/components/p-80e30702.js +2 -0
- package/dist/components/{constants13.js.map → p-80e30702.js.map} +1 -1
- package/dist/components/p-9144dde1.js +2 -0
- package/dist/components/p-9144dde1.js.map +1 -0
- package/dist/components/p-9331532e.js +2 -0
- package/dist/components/p-9331532e.js.map +1 -0
- package/dist/components/p-a5d69694.js +2 -0
- package/dist/components/p-a5d69694.js.map +1 -0
- package/dist/components/p-a6d14a47.js +2 -0
- package/dist/components/p-a6d14a47.js.map +1 -0
- package/dist/components/p-b72a7bed.js +2 -0
- package/dist/components/p-b72a7bed.js.map +1 -0
- package/dist/components/p-be4aab0e.js +2 -0
- package/dist/components/p-be4aab0e.js.map +1 -0
- package/dist/components/p-ccc44ac1.js +2 -0
- package/dist/components/p-ccc44ac1.js.map +1 -0
- package/dist/components/p-efcdfed8.js +2 -0
- package/dist/components/p-efcdfed8.js.map +1 -0
- package/dist/components/p-ff7365ae.js +2 -0
- package/dist/components/p-ff7365ae.js.map +1 -0
- package/dist/components/p-ffb7495c.js +2 -0
- package/dist/components/p-ffb7495c.js.map +1 -0
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/index.esm.js.map +1 -1
- package/dist/core/{p-a2f998a0.entry.js → p-02c3a3fd.entry.js} +2 -2
- package/dist/core/p-02c3a3fd.entry.js.map +1 -0
- package/dist/core/p-03990da5.js.map +1 -1
- package/dist/core/{p-6aa31f02.entry.js → p-041d30b1.entry.js} +2 -2
- package/dist/core/p-041d30b1.entry.js.map +1 -0
- package/dist/core/{p-90330543.entry.js → p-0eadfb3e.entry.js} +2 -2
- package/dist/core/p-0eadfb3e.entry.js.map +1 -0
- package/dist/core/{p-5d348765.entry.js → p-0eb11cfc.entry.js} +2 -2
- package/dist/core/p-0eb11cfc.entry.js.map +1 -0
- package/dist/core/p-0f5e2b0a.js.map +1 -1
- package/dist/core/p-1020a160.js.map +1 -1
- package/dist/core/p-10cbc3fe.js +3 -0
- package/dist/core/p-10cbc3fe.js.map +1 -0
- package/dist/core/{p-02fb27e8.entry.js → p-11be550d.entry.js} +2 -2
- package/dist/core/p-11be550d.entry.js.map +1 -0
- package/dist/core/{p-2e2be66b.entry.js → p-1ae47d62.entry.js} +2 -2
- package/dist/core/p-1ae47d62.entry.js.map +1 -0
- package/dist/core/p-1c1d0bbe.js.map +1 -1
- package/dist/core/{p-2f88b6d9.entry.js → p-1c62f175.entry.js} +2 -2
- package/dist/core/p-1c62f175.entry.js.map +1 -0
- package/dist/core/{p-d90a2718.entry.js → p-1da9f871.entry.js} +2 -2
- package/dist/core/p-1da9f871.entry.js.map +1 -0
- package/dist/core/{p-d8def432.entry.js → p-1e3cad4b.entry.js} +2 -2
- package/dist/core/p-1e3cad4b.entry.js.map +1 -0
- package/dist/core/{p-e1e4c8f8.entry.js → p-228da18e.entry.js} +2 -2
- package/dist/core/p-228da18e.entry.js.map +1 -0
- package/dist/core/p-24636c53.js.map +1 -1
- package/dist/core/p-26acf964.js.map +1 -1
- package/dist/core/{p-e4bb6100.entry.js → p-2790d89e.entry.js} +2 -2
- package/dist/core/p-2790d89e.entry.js.map +1 -0
- package/dist/core/{p-a89c27c1.entry.js → p-2fe9d3ea.entry.js} +2 -2
- package/dist/core/p-2fe9d3ea.entry.js.map +1 -0
- package/dist/core/{p-732f74fe.entry.js → p-33895061.entry.js} +2 -2
- package/dist/core/p-33895061.entry.js.map +1 -0
- package/dist/core/p-34152b51.js.map +1 -1
- package/dist/core/p-3464136c.js.map +1 -1
- package/dist/core/p-34ed07f6.js.map +1 -1
- package/dist/core/{p-21d08d89.entry.js → p-3559e7c5.entry.js} +2 -2
- package/dist/core/p-3559e7c5.entry.js.map +1 -0
- package/dist/core/p-36be8f6e.js.map +1 -1
- package/dist/core/{p-042d5b20.entry.js → p-3858e2c8.entry.js} +2 -2
- package/dist/core/p-3858e2c8.entry.js.map +1 -0
- package/dist/core/p-3b9df792.entry.js +2 -0
- package/dist/core/p-3b9df792.entry.js.map +1 -0
- package/dist/core/{p-2507a42a.entry.js → p-3d720d54.entry.js} +2 -2
- package/dist/core/p-3d720d54.entry.js.map +1 -0
- package/dist/core/p-3dbf7f49.js.map +1 -1
- package/dist/core/{p-42636ddf.entry.js → p-3e5432d7.entry.js} +2 -2
- package/dist/core/p-3e5432d7.entry.js.map +1 -0
- package/dist/core/p-3f37ddb6.js.map +1 -1
- package/dist/core/p-404f469e.js.map +1 -1
- package/dist/core/{p-7cde4bc8.entry.js → p-42cd2cc4.entry.js} +2 -2
- package/dist/core/p-42cd2cc4.entry.js.map +1 -0
- package/dist/core/{p-3d7ea15c.entry.js → p-48349167.entry.js} +2 -2
- package/dist/core/p-48349167.entry.js.map +1 -0
- package/dist/core/{p-8bebbcc7.entry.js → p-49926f53.entry.js} +2 -2
- package/dist/core/p-49926f53.entry.js.map +1 -0
- package/dist/core/{p-14a475a8.entry.js → p-5150efee.entry.js} +2 -2
- package/dist/core/p-5150efee.entry.js.map +1 -0
- package/dist/core/{p-dc94a1da.entry.js → p-5316e768.entry.js} +2 -2
- package/dist/core/p-5316e768.entry.js.map +1 -0
- package/dist/core/p-55500e5a.js.map +1 -1
- package/dist/core/p-561fa17b.js.map +1 -1
- package/dist/core/{p-ed1e9d01.entry.js → p-5a855a15.entry.js} +2 -2
- package/dist/core/p-5a855a15.entry.js.map +1 -0
- package/dist/core/p-5defdc5e.js.map +1 -1
- package/dist/core/{p-00c4dc0d.entry.js → p-5e23a6ba.entry.js} +2 -2
- package/dist/core/p-5e23a6ba.entry.js.map +1 -0
- package/dist/core/p-6278531b.js.map +1 -1
- package/dist/core/p-64ced668.js.map +1 -1
- package/dist/core/{p-76e2aa52.entry.js → p-6dacb8d3.entry.js} +2 -2
- package/dist/core/p-6dacb8d3.entry.js.map +1 -0
- package/dist/core/{p-52dc68aa.entry.js → p-6f43bd00.entry.js} +2 -2
- package/dist/core/p-6f43bd00.entry.js.map +1 -0
- package/dist/core/{p-2e94d2d3.entry.js → p-722218fd.entry.js} +2 -2
- package/dist/core/p-722218fd.entry.js.map +1 -0
- package/dist/core/{p-a4d23e73.entry.js → p-739dd451.entry.js} +2 -2
- package/dist/core/p-739dd451.entry.js.map +1 -0
- package/dist/core/{p-4d257c38.entry.js → p-7ab82a55.entry.js} +2 -2
- package/dist/core/p-7ab82a55.entry.js.map +1 -0
- package/dist/core/p-80e30702.js.map +1 -1
- package/dist/core/{p-1def0eb2.entry.js → p-88a78167.entry.js} +2 -2
- package/dist/core/p-88a78167.entry.js.map +1 -0
- package/dist/core/{p-58047fab.entry.js → p-89921159.entry.js} +2 -2
- package/dist/core/p-89921159.entry.js.map +1 -0
- package/dist/core/p-9144dde1.js.map +1 -1
- package/dist/core/{p-50e94566.entry.js → p-93042b25.entry.js} +2 -2
- package/dist/core/p-93042b25.entry.js.map +1 -0
- package/dist/core/{p-0f0564e8.entry.js → p-9633e7b5.entry.js} +2 -2
- package/dist/core/p-9633e7b5.entry.js.map +1 -0
- package/dist/core/{p-fe8dd50e.entry.js → p-9751af2e.entry.js} +2 -2
- package/dist/core/p-9751af2e.entry.js.map +1 -0
- package/dist/core/{p-d9e28400.entry.js → p-9a3e3ace.entry.js} +2 -2
- package/dist/core/p-9a3e3ace.entry.js.map +1 -0
- package/dist/core/{p-22222994.entry.js → p-9ad54c30.entry.js} +2 -2
- package/dist/core/p-9ad54c30.entry.js.map +1 -0
- package/dist/core/p-9dab01be.js.map +1 -1
- package/dist/core/{p-5957ba08.entry.js → p-9e208f40.entry.js} +2 -2
- package/dist/core/p-9e208f40.entry.js.map +1 -0
- package/dist/core/p-9f541022.entry.js +2 -0
- package/dist/core/p-9f541022.entry.js.map +1 -0
- package/dist/core/p-a5d69694.js.map +1 -1
- package/dist/core/{p-f1503456.entry.js → p-a68547b1.entry.js} +2 -2
- package/dist/core/p-a68547b1.entry.js.map +1 -0
- package/dist/core/p-a6d14a47.js.map +1 -1
- package/dist/core/{p-bd47b407.entry.js → p-a857915f.entry.js} +2 -2
- package/dist/core/{p-bd47b407.entry.js.map → p-a857915f.entry.js.map} +1 -1
- package/dist/core/{p-354c6a6d.entry.js → p-aa4e716e.entry.js} +2 -2
- package/dist/core/p-aa4e716e.entry.js.map +1 -0
- package/dist/core/{p-25e53e01.entry.js → p-ac94d242.entry.js} +2 -2
- package/dist/core/p-ac94d242.entry.js.map +1 -0
- package/dist/core/{p-b2dfef17.entry.js → p-ae04e58f.entry.js} +2 -2
- package/dist/core/p-ae04e58f.entry.js.map +1 -0
- package/dist/core/{p-4db67975.entry.js → p-af7a89bc.entry.js} +2 -2
- package/dist/core/p-af7a89bc.entry.js.map +1 -0
- package/dist/core/{p-683fc65e.entry.js → p-b5a560d2.entry.js} +2 -2
- package/dist/core/p-b5a560d2.entry.js.map +1 -0
- package/dist/core/{p-63ef7826.entry.js → p-bbcbe1cc.entry.js} +2 -2
- package/dist/core/p-bbcbe1cc.entry.js.map +1 -0
- package/dist/core/p-be4aab0e.js.map +1 -1
- package/dist/core/{p-220f189d.entry.js → p-d2729599.entry.js} +2 -2
- package/dist/core/p-d2729599.entry.js.map +1 -0
- package/dist/core/{p-70a7e7f6.entry.js → p-d921bd4b.entry.js} +2 -2
- package/dist/core/p-d921bd4b.entry.js.map +1 -0
- package/dist/core/{p-f644cad5.entry.js → p-da762184.entry.js} +2 -2
- package/dist/core/p-da762184.entry.js.map +1 -0
- package/dist/core/p-de3dc437.entry.js +2 -0
- package/dist/core/p-de3dc437.entry.js.map +1 -0
- package/dist/core/p-e0c04c5f.entry.js +2 -0
- package/dist/core/p-e0c04c5f.entry.js.map +1 -0
- package/dist/core/{p-a714637e.entry.js → p-e1b3c361.entry.js} +2 -2
- package/dist/core/p-e1b3c361.entry.js.map +1 -0
- package/dist/core/{p-bc1c8436.entry.js → p-e86db39c.entry.js} +2 -2
- package/dist/core/p-e86db39c.entry.js.map +1 -0
- package/dist/core/{p-ce59c2ee.entry.js → p-eda868dc.entry.js} +2 -2
- package/dist/core/p-eda868dc.entry.js.map +1 -0
- package/dist/core/{p-bbfa3d9e.entry.js → p-f95bca5f.entry.js} +2 -2
- package/dist/core/p-f95bca5f.entry.js.map +1 -0
- package/dist/core/{p-ec63daab.entry.js → p-f969eec7.entry.js} +2 -2
- package/dist/core/p-f969eec7.entry.js.map +1 -0
- package/dist/core/{p-4c6d7b65.entry.js → p-fa71fb92.entry.js} +2 -2
- package/dist/core/p-fa71fb92.entry.js.map +1 -0
- package/dist/core/p-ff7365ae.js.map +1 -1
- package/dist/core/p-ffb7495c.js.map +1 -1
- package/dist/esm/core.js +3 -2
- package/dist/esm/core.js.map +1 -1
- package/dist/esm/gov-accordion-item.entry.js +1 -1
- package/dist/esm/gov-accordion.entry.js +1 -1
- package/dist/esm/gov-alert.entry.js +1 -1
- package/dist/esm/gov-app.entry.js +1 -1
- package/dist/esm/gov-app.entry.js.map +1 -1
- package/dist/esm/gov-attachments_3.entry.js +1 -1
- package/dist/esm/gov-backdrop.entry.js +1 -1
- package/dist/esm/gov-badge.entry.js +1 -1
- package/dist/esm/gov-breadcrumbs.entry.js +1 -1
- package/dist/esm/gov-button.entry.js +1 -1
- package/dist/esm/gov-card.entry.js +1 -1
- package/dist/esm/gov-container.entry.js +1 -1
- package/dist/esm/gov-control-group.entry.js +1 -1
- package/dist/esm/gov-cookiebar.entry.js +1 -1
- package/dist/esm/gov-dropdown.entry.js +1 -1
- package/dist/esm/gov-empty.entry.js +1 -1
- package/dist/esm/gov-error-code.entry.js +1 -1
- package/dist/esm/gov-form-autocomplete.entry.js +1 -1
- package/dist/esm/gov-form-checkbox.entry.js +1 -1
- package/dist/esm/gov-form-control.entry.js +1 -1
- package/dist/esm/gov-form-file.entry.js +1 -1
- package/dist/esm/gov-form-group.entry.js +1 -1
- package/dist/esm/gov-form-input.entry.js +1 -1
- package/dist/esm/gov-form-label.entry.js +1 -1
- package/dist/esm/gov-form-multi-select.entry.js +1 -1
- package/dist/esm/gov-form-password-power.entry.js +1 -1
- package/dist/esm/gov-form-radio.entry.js +1 -1
- package/dist/esm/gov-form-search.entry.js +1 -1
- package/dist/esm/gov-form-select.entry.js +1 -1
- package/dist/esm/gov-form-switch.entry.js +1 -1
- package/dist/esm/gov-grid-item.entry.js +1 -1
- package/dist/esm/gov-grid.entry.js +1 -1
- package/dist/esm/gov-icon.entry.js +2 -2
- package/dist/esm/gov-layout-column.entry.js +1 -1
- package/dist/esm/gov-layout.entry.js +1 -1
- package/dist/esm/gov-loading.entry.js +1 -1
- package/dist/esm/gov-message.entry.js +1 -1
- package/dist/esm/gov-modal.entry.js +1 -1
- package/dist/esm/gov-nav-item.entry.js +1 -1
- package/dist/esm/gov-nav.entry.js +1 -1
- package/dist/esm/gov-pagination.entry.js +1 -1
- package/dist/esm/gov-prompt.entry.js +1 -1
- package/dist/esm/gov-side-nav-item.entry.js +1 -1
- package/dist/esm/gov-side-nav.entry.js +1 -1
- package/dist/esm/gov-skeleton.entry.js +1 -1
- package/dist/esm/gov-spacer.entry.js +1 -1
- package/dist/esm/gov-statsbar-item.entry.js +1 -1
- package/dist/esm/gov-statsbar.entry.js +1 -1
- package/dist/esm/gov-stepper-item.entry.js +1 -1
- package/dist/esm/gov-stepper.entry.js +1 -1
- package/dist/esm/gov-tabs-item.entry.js +1 -1
- package/dist/esm/gov-tabs.entry.js +1 -1
- package/dist/esm/gov-tabs.entry.js.map +1 -1
- package/dist/esm/gov-tile.entry.js +1 -1
- package/dist/esm/gov-tiles.entry.js +1 -1
- package/dist/esm/gov-toast.entry.js +1 -1
- package/dist/esm/gov-tooltip-content.entry.js +1 -1
- package/dist/esm/gov-tooltip.entry.js +1 -1
- package/dist/esm/gov-wizzard-item.entry.js +1 -1
- package/dist/esm/gov-wizzard.entry.js +1 -1
- package/dist/esm/{index-b010bfb4.js → index-ae3c50f1.js} +305 -64
- package/dist/esm/index-ae3c50f1.js.map +1 -0
- package/dist/esm/loader.js +3 -11
- package/dist/esm/loader.js.map +1 -1
- package/dist/hydrate/index.d.ts +17 -16
- package/dist/hydrate/index.js +199 -166
- package/dist/stencil.config.js +6 -11
- package/dist/stencil.config.js.map +1 -1
- package/dist/types/components/gov-accordion/constants.d.ts +2 -2
- package/dist/types/components/gov-alert/constants.d.ts +1 -1
- package/dist/types/components/gov-app/gov-app.d.ts +34 -34
- package/dist/types/components/gov-badge/constants.d.ts +1 -1
- package/dist/types/components/gov-button/default/constants.d.ts +5 -5
- package/dist/types/components/gov-button/dropdown/constants.d.ts +1 -1
- package/dist/types/components/gov-control-group/constants.d.ts +1 -1
- package/dist/types/components/gov-form/autocomplete/constants.d.ts +2 -2
- package/dist/types/components/gov-form/checkbox/constants.d.ts +1 -1
- package/dist/types/components/gov-form/control/constants.d.ts +1 -1
- package/dist/types/components/gov-form/group/constants.d.ts +1 -1
- package/dist/types/components/gov-form/input/constants.d.ts +4 -4
- package/dist/types/components/gov-form/label/constants.d.ts +1 -1
- package/dist/types/components/gov-form/message/constants.d.ts +1 -1
- package/dist/types/components/gov-form/multiselect/constants.d.ts +2 -2
- package/dist/types/components/gov-form/radio/constants.d.ts +1 -1
- package/dist/types/components/gov-form/search/constants.d.ts +1 -1
- package/dist/types/components/gov-form/select/constants.d.ts +2 -2
- package/dist/types/components/gov-form/switch/constants.d.ts +1 -1
- package/dist/types/components/gov-icon/constants.d.ts +1 -1
- package/dist/types/components/gov-layout/constants.d.ts +2 -2
- package/dist/types/components/gov-loading/skeleton/constants.d.ts +3 -3
- package/dist/types/components/gov-message/constants.d.ts +1 -1
- package/dist/types/components/gov-pagination/constants.d.ts +3 -3
- package/dist/types/components/gov-spacer/constants.d.ts +2 -2
- package/dist/types/components/gov-statsbar/constants.d.ts +2 -2
- package/dist/types/components/gov-stepper/constants.d.ts +2 -2
- package/dist/types/components/gov-tabs/constants.d.ts +3 -3
- package/dist/types/components/gov-toast/constants.d.ts +2 -2
- package/dist/types/components/gov-tooltip/constants.d.ts +3 -3
- package/dist/types/components/gov-wizzard/constants.d.ts +2 -2
- package/dist/types/components.d.ts +50 -0
- package/dist/types/stencil-public-runtime.d.ts +88 -17
- package/dist/types/types/interfaces.d.ts +2 -2
- package/dist/types/utils/utils.d.ts +1 -1
- package/loader/index.d.ts +10 -1
- package/package.json +22 -22
- package/dist/cjs/index-29ac07f6.js.map +0 -1
- package/dist/components/Fragment.js +0 -5
- package/dist/components/Fragment.js.map +0 -1
- package/dist/components/constants.js +0 -25
- package/dist/components/constants.js.map +0 -1
- package/dist/components/constants10.js +0 -19
- package/dist/components/constants10.js.map +0 -1
- package/dist/components/constants11.js +0 -22
- package/dist/components/constants11.js.map +0 -1
- package/dist/components/constants12.js +0 -25
- package/dist/components/constants12.js.map +0 -1
- package/dist/components/constants13.js +0 -29
- package/dist/components/constants14.js +0 -23
- package/dist/components/constants14.js.map +0 -1
- package/dist/components/constants15.js +0 -24
- package/dist/components/constants15.js.map +0 -1
- package/dist/components/constants2.js +0 -15
- package/dist/components/constants2.js.map +0 -1
- package/dist/components/constants3.js +0 -33
- package/dist/components/constants3.js.map +0 -1
- package/dist/components/constants4.js +0 -12
- package/dist/components/constants4.js.map +0 -1
- package/dist/components/constants5.js +0 -13
- package/dist/components/constants5.js.map +0 -1
- package/dist/components/constants6.js +0 -10
- package/dist/components/constants6.js.map +0 -1
- package/dist/components/constants7.js +0 -22
- package/dist/components/constants7.js.map +0 -1
- package/dist/components/constants8.js +0 -18
- package/dist/components/constants8.js.map +0 -1
- package/dist/components/constants9.js +0 -12
- package/dist/components/constants9.js.map +0 -1
- package/dist/components/form.js +0 -152
- package/dist/components/form.js.map +0 -1
- package/dist/components/gov-attachments-item2.js +0 -70
- package/dist/components/gov-attachments-item2.js.map +0 -1
- package/dist/components/gov-attachments2.js +0 -57
- package/dist/components/gov-attachments2.js.map +0 -1
- package/dist/components/gov-backdrop2.js +0 -64
- package/dist/components/gov-backdrop2.js.map +0 -1
- package/dist/components/gov-badge2.js +0 -108
- package/dist/components/gov-badge2.js.map +0 -1
- package/dist/components/gov-button2.js +0 -223
- package/dist/components/gov-button2.js.map +0 -1
- package/dist/components/gov-form-autocomplete2.js +0 -294
- package/dist/components/gov-form-autocomplete2.js.map +0 -1
- package/dist/components/gov-form-input2.js +0 -235
- package/dist/components/gov-form-input2.js.map +0 -1
- package/dist/components/gov-form-message2.js +0 -58
- package/dist/components/gov-form-message2.js.map +0 -1
- package/dist/components/gov-form-select2.js +0 -186
- package/dist/components/gov-icon2.js +0 -142
- package/dist/components/gov-icon2.js.map +0 -1
- package/dist/components/gov.log.js +0 -17
- package/dist/components/gov.log.js.map +0 -1
- package/dist/components/props.js +0 -14
- package/dist/components/props.js.map +0 -1
- package/dist/components/sizes.js +0 -18
- package/dist/components/sizes.js.map +0 -1
- package/dist/components/string.utils.js +0 -20
- package/dist/components/string.utils.js.map +0 -1
- package/dist/components/template.js +0 -113
- package/dist/components/template.js.map +0 -1
- package/dist/components/utils.js +0 -35
- package/dist/components/utils.js.map +0 -1
- package/dist/components/variants.js +0 -18
- package/dist/components/variants.js.map +0 -1
- package/dist/components/wcag.js +0 -62
- package/dist/components/wcag.js.map +0 -1
- package/dist/components/win.js +0 -23
- package/dist/components/win.js.map +0 -1
- package/dist/core/critical.css +0 -2532
- package/dist/core/p-00c4dc0d.entry.js.map +0 -1
- package/dist/core/p-02fb27e8.entry.js.map +0 -1
- package/dist/core/p-042d5b20.entry.js.map +0 -1
- package/dist/core/p-0574a26a.entry.js +0 -2
- package/dist/core/p-0574a26a.entry.js.map +0 -1
- package/dist/core/p-070f9684.entry.js +0 -2
- package/dist/core/p-070f9684.entry.js.map +0 -1
- package/dist/core/p-0f0564e8.entry.js.map +0 -1
- package/dist/core/p-14a475a8.entry.js.map +0 -1
- package/dist/core/p-1def0eb2.entry.js.map +0 -1
- package/dist/core/p-21d08d89.entry.js.map +0 -1
- package/dist/core/p-220f189d.entry.js.map +0 -1
- package/dist/core/p-22222994.entry.js.map +0 -1
- package/dist/core/p-2507a42a.entry.js.map +0 -1
- package/dist/core/p-25e53e01.entry.js.map +0 -1
- package/dist/core/p-2e2be66b.entry.js.map +0 -1
- package/dist/core/p-2e94d2d3.entry.js.map +0 -1
- package/dist/core/p-2f88b6d9.entry.js.map +0 -1
- package/dist/core/p-354c6a6d.entry.js.map +0 -1
- package/dist/core/p-3d7ea15c.entry.js.map +0 -1
- package/dist/core/p-42636ddf.entry.js.map +0 -1
- package/dist/core/p-4af5e4f4.js +0 -3
- package/dist/core/p-4af5e4f4.js.map +0 -1
- package/dist/core/p-4c6d7b65.entry.js.map +0 -1
- package/dist/core/p-4d257c38.entry.js.map +0 -1
- package/dist/core/p-4db67975.entry.js.map +0 -1
- package/dist/core/p-50e94566.entry.js.map +0 -1
- package/dist/core/p-52dc68aa.entry.js.map +0 -1
- package/dist/core/p-58047fab.entry.js.map +0 -1
- package/dist/core/p-5957ba08.entry.js.map +0 -1
- package/dist/core/p-5d348765.entry.js.map +0 -1
- package/dist/core/p-60ff8457.entry.js +0 -2
- package/dist/core/p-60ff8457.entry.js.map +0 -1
- package/dist/core/p-63ef7826.entry.js.map +0 -1
- package/dist/core/p-683fc65e.entry.js.map +0 -1
- package/dist/core/p-6aa31f02.entry.js.map +0 -1
- package/dist/core/p-70a7e7f6.entry.js.map +0 -1
- package/dist/core/p-732f74fe.entry.js.map +0 -1
- package/dist/core/p-76e2aa52.entry.js.map +0 -1
- package/dist/core/p-7cde4bc8.entry.js.map +0 -1
- package/dist/core/p-8bebbcc7.entry.js.map +0 -1
- package/dist/core/p-90330543.entry.js.map +0 -1
- package/dist/core/p-a2f998a0.entry.js.map +0 -1
- package/dist/core/p-a4d23e73.entry.js.map +0 -1
- package/dist/core/p-a714637e.entry.js.map +0 -1
- package/dist/core/p-a89c27c1.entry.js.map +0 -1
- package/dist/core/p-b2dfef17.entry.js.map +0 -1
- package/dist/core/p-bbfa3d9e.entry.js.map +0 -1
- package/dist/core/p-bc1c8436.entry.js.map +0 -1
- package/dist/core/p-ce59c2ee.entry.js.map +0 -1
- package/dist/core/p-d8def432.entry.js.map +0 -1
- package/dist/core/p-d90a2718.entry.js.map +0 -1
- package/dist/core/p-d9e28400.entry.js.map +0 -1
- package/dist/core/p-dc94a1da.entry.js.map +0 -1
- package/dist/core/p-e1e4c8f8.entry.js.map +0 -1
- package/dist/core/p-e4bb6100.entry.js.map +0 -1
- package/dist/core/p-ebf79ea8.entry.js +0 -2
- package/dist/core/p-ebf79ea8.entry.js.map +0 -1
- package/dist/core/p-ec63daab.entry.js.map +0 -1
- package/dist/core/p-ed1e9d01.entry.js.map +0 -1
- package/dist/core/p-f1503456.entry.js.map +0 -1
- package/dist/core/p-f644cad5.entry.js.map +0 -1
- package/dist/core/p-fe8dd50e.entry.js.map +0 -1
- package/dist/custom-elements/index.d.ts +0 -399
- package/dist/custom-elements/index.js +0 -2
- package/dist/custom-elements/index.js.map +0 -1
- package/dist/esm/index-b010bfb4.js.map +0 -1
- package/dist/esm/polyfills/css-shim.js +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-83edd4fe.js');
|
|
6
6
|
const props = require('./props-5f82e4c0.js');
|
|
7
7
|
const constants = require('./constants-20b3f7ee.js');
|
|
8
8
|
const string_utils = require('./string.utils-0f08c48c.js');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-83edd4fe.js');
|
|
6
6
|
const gov_log = require('./gov.log-0c9dca27.js');
|
|
7
7
|
const props = require('./props-5f82e4c0.js');
|
|
8
8
|
const constants = require('./constants-21559414.js');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-83edd4fe.js');
|
|
6
6
|
const props = require('./props-5f82e4c0.js');
|
|
7
7
|
const constants = require('./constants-21559414.js');
|
|
8
8
|
const template = require('./template-e1c4ff78.js');
|
|
@@ -62,7 +62,6 @@ const TEXT_NODE_ID = 't';
|
|
|
62
62
|
const HYDRATE_ID = 's-id';
|
|
63
63
|
const HYDRATED_STYLE_ID = 'sty-id';
|
|
64
64
|
const HYDRATE_CHILD_ID = 'c-id';
|
|
65
|
-
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
66
65
|
/**
|
|
67
66
|
* Default style mode id
|
|
68
67
|
*/
|
|
@@ -71,11 +70,30 @@ const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
|
71
70
|
* Don't add values to these!!
|
|
72
71
|
*/
|
|
73
72
|
const EMPTY_OBJ = {};
|
|
73
|
+
/**
|
|
74
|
+
* Check whether a value is a 'complex type', defined here as an object or a
|
|
75
|
+
* function.
|
|
76
|
+
*
|
|
77
|
+
* @param o the value to check
|
|
78
|
+
* @returns whether it's a complex type or not
|
|
79
|
+
*/
|
|
74
80
|
const isComplexType = (o) => {
|
|
75
81
|
// https://jsperf.com/typeof-fn-object/5
|
|
76
82
|
o = typeof o;
|
|
77
83
|
return o === 'object' || o === 'function';
|
|
78
84
|
};
|
|
85
|
+
/**
|
|
86
|
+
* Helper method for querying a `meta` tag that contains a nonce value
|
|
87
|
+
* out of a DOM's head.
|
|
88
|
+
*
|
|
89
|
+
* @param doc The DOM containing the `head` to query against
|
|
90
|
+
* @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
|
|
91
|
+
* exists or the tag has no content.
|
|
92
|
+
*/
|
|
93
|
+
function queryNonceMetaTagContent(doc) {
|
|
94
|
+
var _a, _b, _c;
|
|
95
|
+
return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;
|
|
96
|
+
}
|
|
79
97
|
/**
|
|
80
98
|
* Production h() function based on Preact by
|
|
81
99
|
* Jason Miller (@developit)
|
|
@@ -84,7 +102,6 @@ const isComplexType = (o) => {
|
|
|
84
102
|
*
|
|
85
103
|
* Modified for Stencil's compiler and vdom
|
|
86
104
|
*/
|
|
87
|
-
// const stack: any[] = [];
|
|
88
105
|
// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
|
|
89
106
|
// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
|
|
90
107
|
const h = (nodeName, vnodeData, ...children) => {
|
|
@@ -154,6 +171,14 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
154
171
|
}
|
|
155
172
|
return vnode;
|
|
156
173
|
};
|
|
174
|
+
/**
|
|
175
|
+
* A utility function for creating a virtual DOM node from a tag and some
|
|
176
|
+
* possible text content.
|
|
177
|
+
*
|
|
178
|
+
* @param tag the tag for this element
|
|
179
|
+
* @param text possible text content for the node
|
|
180
|
+
* @returns a newly-minted virtual DOM node
|
|
181
|
+
*/
|
|
157
182
|
const newVNode = (tag, text) => {
|
|
158
183
|
const vnode = {
|
|
159
184
|
$flags$: 0,
|
|
@@ -174,11 +199,31 @@ const newVNode = (tag, text) => {
|
|
|
174
199
|
return vnode;
|
|
175
200
|
};
|
|
176
201
|
const Host = {};
|
|
202
|
+
/**
|
|
203
|
+
* Check whether a given node is a Host node or not
|
|
204
|
+
*
|
|
205
|
+
* @param node the virtual DOM node to check
|
|
206
|
+
* @returns whether it's a Host node or not
|
|
207
|
+
*/
|
|
177
208
|
const isHost = (node) => node && node.$tag$ === Host;
|
|
209
|
+
/**
|
|
210
|
+
* Implementation of {@link d.FunctionalUtilities} for Stencil's VDom.
|
|
211
|
+
*
|
|
212
|
+
* Note that these functions convert from {@link d.VNode} to
|
|
213
|
+
* {@link d.ChildNode} to give functional component developers a friendly
|
|
214
|
+
* interface.
|
|
215
|
+
*/
|
|
178
216
|
const vdomFnUtils = {
|
|
179
217
|
forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
|
|
180
218
|
map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),
|
|
181
219
|
};
|
|
220
|
+
/**
|
|
221
|
+
* Convert a {@link d.VNode} to a {@link d.ChildNode} in order to present a
|
|
222
|
+
* friendlier public interface (hence, 'convertToPublic').
|
|
223
|
+
*
|
|
224
|
+
* @param node the virtual DOM node to convert
|
|
225
|
+
* @returns a converted child node
|
|
226
|
+
*/
|
|
182
227
|
const convertToPublic = (node) => ({
|
|
183
228
|
vattrs: node.$attrs$,
|
|
184
229
|
vchildren: node.$children$,
|
|
@@ -187,6 +232,15 @@ const convertToPublic = (node) => ({
|
|
|
187
232
|
vtag: node.$tag$,
|
|
188
233
|
vtext: node.$text$,
|
|
189
234
|
});
|
|
235
|
+
/**
|
|
236
|
+
* Convert a {@link d.ChildNode} back to an equivalent {@link d.VNode} in
|
|
237
|
+
* order to use the resulting object in the virtual DOM. The initial object was
|
|
238
|
+
* likely created as part of presenting a public API, so converting it back
|
|
239
|
+
* involved making it 'private' again (hence, `convertToPrivate`).
|
|
240
|
+
*
|
|
241
|
+
* @param node the child node to convert
|
|
242
|
+
* @returns a converted virtual DOM node
|
|
243
|
+
*/
|
|
190
244
|
const convertToPrivate = (node) => {
|
|
191
245
|
if (typeof node.vtag === 'function') {
|
|
192
246
|
const vnodeData = Object.assign({}, node.vattrs);
|
|
@@ -473,8 +527,9 @@ const registerStyle = (scopeId, cssText, allowCS) => {
|
|
|
473
527
|
}
|
|
474
528
|
styles.set(scopeId, style);
|
|
475
529
|
};
|
|
476
|
-
const addStyle = (styleContainerNode, cmpMeta, mode
|
|
477
|
-
|
|
530
|
+
const addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
531
|
+
var _a;
|
|
532
|
+
const scopeId = getScopeId(cmpMeta);
|
|
478
533
|
const style = styles.get(scopeId);
|
|
479
534
|
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
480
535
|
// so the fallback is to always use the document for the root node in those cases
|
|
@@ -494,9 +549,12 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
|
494
549
|
styleElm.innerHTML = style;
|
|
495
550
|
}
|
|
496
551
|
else {
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
552
|
+
styleElm = doc.createElement('style');
|
|
553
|
+
styleElm.innerHTML = style;
|
|
554
|
+
// Apply CSP nonce to the style tag if it exists
|
|
555
|
+
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
556
|
+
if (nonce != null) {
|
|
557
|
+
styleElm.setAttribute('nonce', nonce);
|
|
500
558
|
}
|
|
501
559
|
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
502
560
|
}
|
|
@@ -527,6 +585,21 @@ const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
|
527
585
|
*
|
|
528
586
|
* Modified for Stencil's compiler and vdom
|
|
529
587
|
*/
|
|
588
|
+
/**
|
|
589
|
+
* When running a VDom render set properties present on a VDom node onto the
|
|
590
|
+
* corresponding HTML element.
|
|
591
|
+
*
|
|
592
|
+
* Note that this function has special functionality for the `class`,
|
|
593
|
+
* `style`, `key`, and `ref` attributes, as well as event handlers (like
|
|
594
|
+
* `onClick`, etc). All others are just passed through as-is.
|
|
595
|
+
*
|
|
596
|
+
* @param elm the HTMLElement onto which attributes should be set
|
|
597
|
+
* @param memberName the name of the attribute to set
|
|
598
|
+
* @param oldValue the old value for the attribute
|
|
599
|
+
* @param newValue the new value for the attribute
|
|
600
|
+
* @param isSvg whether we're in an svg context or not
|
|
601
|
+
* @param flags bitflags for Vdom variables
|
|
602
|
+
*/
|
|
530
603
|
const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
531
604
|
if (oldValue !== newValue) {
|
|
532
605
|
let isProp = isMemberInElement(elm, memberName);
|
|
@@ -773,6 +846,21 @@ const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
773
846
|
}
|
|
774
847
|
plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
775
848
|
};
|
|
849
|
+
/**
|
|
850
|
+
* Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
|
|
851
|
+
* add them to the DOM in the appropriate place.
|
|
852
|
+
*
|
|
853
|
+
* @param parentElm the DOM node which should be used as a parent for the new
|
|
854
|
+
* DOM nodes
|
|
855
|
+
* @param before a child of the `parentElm` which the new children should be
|
|
856
|
+
* inserted before (optional)
|
|
857
|
+
* @param parentVNode the parent virtual DOM node
|
|
858
|
+
* @param vnodes the new child virtual DOM nodes to produce DOM nodes for
|
|
859
|
+
* @param startIdx the index in the child virtual DOM nodes at which to start
|
|
860
|
+
* creating DOM nodes (inclusive)
|
|
861
|
+
* @param endIdx the index in the child virtual DOM nodes at which to stop
|
|
862
|
+
* creating DOM nodes (inclusive)
|
|
863
|
+
*/
|
|
776
864
|
const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
777
865
|
let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
|
|
778
866
|
let childNode;
|
|
@@ -786,27 +874,41 @@ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) =>
|
|
|
786
874
|
}
|
|
787
875
|
}
|
|
788
876
|
};
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
877
|
+
/**
|
|
878
|
+
* Remove the DOM elements corresponding to a list of {@link d.VNode} objects.
|
|
879
|
+
* This can be used to, for instance, clean up after a list of children which
|
|
880
|
+
* should no longer be shown.
|
|
881
|
+
*
|
|
882
|
+
* This function also handles some of Stencil's slot relocation logic.
|
|
883
|
+
*
|
|
884
|
+
* @param vnodes a list of virtual DOM nodes to remove
|
|
885
|
+
* @param startIdx the index at which to start removing nodes (inclusive)
|
|
886
|
+
* @param endIdx the index at which to stop removing nodes (inclusive)
|
|
887
|
+
*/
|
|
888
|
+
const removeVnodes = (vnodes, startIdx, endIdx) => {
|
|
889
|
+
for (let index = startIdx; index <= endIdx; ++index) {
|
|
890
|
+
const vnode = vnodes[index];
|
|
891
|
+
if (vnode) {
|
|
892
|
+
const elm = vnode.$elm$;
|
|
893
|
+
nullifyVNodeRefs(vnode);
|
|
894
|
+
if (elm) {
|
|
895
|
+
{
|
|
896
|
+
// we're removing this element
|
|
897
|
+
// so it's possible we need to show slot fallback content now
|
|
898
|
+
checkSlotFallbackVisibility = true;
|
|
899
|
+
if (elm['s-ol']) {
|
|
900
|
+
// remove the original location comment
|
|
901
|
+
elm['s-ol'].remove();
|
|
902
|
+
}
|
|
903
|
+
else {
|
|
904
|
+
// it's possible that child nodes of the node
|
|
905
|
+
// that's being removed are slot nodes
|
|
906
|
+
putBackInOriginalLocation(elm, true);
|
|
907
|
+
}
|
|
806
908
|
}
|
|
909
|
+
// remove the vnode's element from the dom
|
|
910
|
+
elm.remove();
|
|
807
911
|
}
|
|
808
|
-
// remove the vnode's element from the dom
|
|
809
|
-
elm.remove();
|
|
810
912
|
}
|
|
811
913
|
}
|
|
812
914
|
};
|
|
@@ -1064,7 +1166,8 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
1064
1166
|
*
|
|
1065
1167
|
* So, in other words, if `key` attrs are not set on VNodes which may be
|
|
1066
1168
|
* changing order within a `children` array or something along those lines then
|
|
1067
|
-
* we could obtain a false
|
|
1169
|
+
* we could obtain a false negative and then have to do needless re-rendering
|
|
1170
|
+
* (i.e. we'd say two VNodes aren't equal when in fact they should be).
|
|
1068
1171
|
*
|
|
1069
1172
|
* @param leftVNode the first VNode to check
|
|
1070
1173
|
* @param rightVNode the second VNode to check
|
|
@@ -1278,22 +1381,68 @@ const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
|
|
|
1278
1381
|
}
|
|
1279
1382
|
return slotNameAttr === '';
|
|
1280
1383
|
};
|
|
1281
|
-
|
|
1384
|
+
/**
|
|
1385
|
+
* 'Nullify' any VDom `ref` callbacks on a VDom node or its children by
|
|
1386
|
+
* calling them with `null`. This signals that the DOM element corresponding to
|
|
1387
|
+
* the VDom node has been removed from the DOM.
|
|
1388
|
+
*
|
|
1389
|
+
* @param vNode a virtual DOM node
|
|
1390
|
+
*/
|
|
1391
|
+
const nullifyVNodeRefs = (vNode) => {
|
|
1282
1392
|
{
|
|
1283
1393
|
vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
|
|
1284
|
-
vNode.$children$ && vNode.$children$.map(
|
|
1394
|
+
vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
|
|
1285
1395
|
}
|
|
1286
1396
|
};
|
|
1287
|
-
|
|
1397
|
+
/**
|
|
1398
|
+
* The main entry point for Stencil's virtual DOM-based rendering engine
|
|
1399
|
+
*
|
|
1400
|
+
* Given a {@link d.HostRef} container and some virtual DOM nodes, this
|
|
1401
|
+
* function will handle creating a virtual DOM tree with a single root, patching
|
|
1402
|
+
* the current virtual DOM tree onto an old one (if any), dealing with slot
|
|
1403
|
+
* relocation, and reflecting attributes.
|
|
1404
|
+
*
|
|
1405
|
+
* @param hostRef data needed to root and render the virtual DOM tree, such as
|
|
1406
|
+
* the DOM node into which it should be rendered.
|
|
1407
|
+
* @param renderFnResults the virtual DOM nodes to be rendered
|
|
1408
|
+
* @param isInitialLoad whether or not this is the first call after page load
|
|
1409
|
+
*/
|
|
1410
|
+
const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
1288
1411
|
const hostElm = hostRef.$hostElement$;
|
|
1289
1412
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
1290
1413
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
1414
|
+
// if `renderFnResults` is a Host node then we can use it directly. If not,
|
|
1415
|
+
// we need to call `h` again to wrap the children of our component in a
|
|
1416
|
+
// 'dummy' Host node (well, an empty vnode) since `renderVdom` assumes
|
|
1417
|
+
// implicitly that the top-level vdom node is 1) an only child and 2)
|
|
1418
|
+
// contains attrs that need to be set on the host element.
|
|
1291
1419
|
const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
|
|
1292
1420
|
hostTagName = hostElm.tagName;
|
|
1293
1421
|
if (cmpMeta.$attrsToReflect$) {
|
|
1294
1422
|
rootVnode.$attrs$ = rootVnode.$attrs$ || {};
|
|
1295
1423
|
cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
|
|
1296
1424
|
}
|
|
1425
|
+
// On the first render and *only* on the first render we want to check for
|
|
1426
|
+
// any attributes set on the host element which are also set on the vdom
|
|
1427
|
+
// node. If we find them, we override the value on the VDom node attrs with
|
|
1428
|
+
// the value from the host element, which allows developers building apps
|
|
1429
|
+
// with Stencil components to override e.g. the `role` attribute on a
|
|
1430
|
+
// component even if it's already set on the `Host`.
|
|
1431
|
+
if (isInitialLoad && rootVnode.$attrs$) {
|
|
1432
|
+
for (const key of Object.keys(rootVnode.$attrs$)) {
|
|
1433
|
+
// We have a special implementation in `setAccessor` for `style` and
|
|
1434
|
+
// `class` which reconciles values coming from the VDom with values
|
|
1435
|
+
// already present on the DOM element, so we don't want to override those
|
|
1436
|
+
// attributes on the VDom tree with values from the host element if they
|
|
1437
|
+
// are present.
|
|
1438
|
+
//
|
|
1439
|
+
// Likewise, `ref` and `key` are special internal values for the Stencil
|
|
1440
|
+
// runtime and we don't want to override those either.
|
|
1441
|
+
if (hostElm.hasAttribute(key) && !['key', 'ref', 'style', 'class'].includes(key)) {
|
|
1442
|
+
rootVnode.$attrs$[key] = hostElm[key];
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1297
1446
|
rootVnode.$tag$ = null;
|
|
1298
1447
|
rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
|
|
1299
1448
|
hostRef.$vnode$ = rootVnode;
|
|
@@ -1403,28 +1552,99 @@ const scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
|
1403
1552
|
const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
|
|
1404
1553
|
return writeTask(dispatch) ;
|
|
1405
1554
|
};
|
|
1555
|
+
/**
|
|
1556
|
+
* Dispatch initial-render and update lifecycle hooks, enqueuing calls to
|
|
1557
|
+
* component lifecycle methods like `componentWillLoad` as well as
|
|
1558
|
+
* {@link updateComponent}, which will kick off the virtual DOM re-render.
|
|
1559
|
+
*
|
|
1560
|
+
* @param hostRef a reference to a host DOM node
|
|
1561
|
+
* @param isInitialLoad whether we're on the initial load or not
|
|
1562
|
+
* @returns an empty Promise which is used to enqueue a series of operations for
|
|
1563
|
+
* the component
|
|
1564
|
+
*/
|
|
1406
1565
|
const dispatchHooks = (hostRef, isInitialLoad) => {
|
|
1407
1566
|
const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);
|
|
1408
1567
|
const instance = hostRef.$lazyInstance$ ;
|
|
1409
|
-
|
|
1568
|
+
// We're going to use this variable together with `enqueue` to implement a
|
|
1569
|
+
// little promise-based queue. We start out with it `undefined`. When we add
|
|
1570
|
+
// the first function to the queue we'll set this variable to be that
|
|
1571
|
+
// function's return value. When we attempt to add subsequent values to the
|
|
1572
|
+
// queue we'll check that value and, if it was a `Promise`, we'll then chain
|
|
1573
|
+
// the new function off of that `Promise` using `.then()`. This will give our
|
|
1574
|
+
// queue two nice properties:
|
|
1575
|
+
//
|
|
1576
|
+
// 1. If all functions added to the queue are synchronous they'll be called
|
|
1577
|
+
// synchronously right away.
|
|
1578
|
+
// 2. If all functions added to the queue are asynchronous they'll all be
|
|
1579
|
+
// called in order after `dispatchHooks` exits.
|
|
1580
|
+
let maybePromise;
|
|
1410
1581
|
if (isInitialLoad) {
|
|
1411
1582
|
{
|
|
1412
|
-
|
|
1583
|
+
// If `componentWillLoad` returns a `Promise` then we want to wait on
|
|
1584
|
+
// whatever's going on in that `Promise` before we launch into
|
|
1585
|
+
// rendering the component, doing other lifecycle stuff, etc. So
|
|
1586
|
+
// in that case we assign the returned promise to the variable we
|
|
1587
|
+
// declared above to hold a possible 'queueing' Promise
|
|
1588
|
+
maybePromise = safeCall(instance, 'componentWillLoad');
|
|
1413
1589
|
}
|
|
1414
1590
|
}
|
|
1415
1591
|
else {
|
|
1416
1592
|
{
|
|
1417
|
-
|
|
1593
|
+
// Like `componentWillLoad` above, we allow Stencil component
|
|
1594
|
+
// authors to return a `Promise` from this lifecycle callback, and
|
|
1595
|
+
// we specify that our runtime will wait for that `Promise` to
|
|
1596
|
+
// resolve before the component re-renders. So if the method
|
|
1597
|
+
// returns a `Promise` we need to keep it around!
|
|
1598
|
+
maybePromise = safeCall(instance, 'componentWillUpdate');
|
|
1418
1599
|
}
|
|
1419
1600
|
}
|
|
1420
1601
|
{
|
|
1421
|
-
|
|
1602
|
+
maybePromise = enqueue(maybePromise, () => safeCall(instance, 'componentWillRender'));
|
|
1422
1603
|
}
|
|
1423
1604
|
endSchedule();
|
|
1424
|
-
return
|
|
1605
|
+
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
1425
1606
|
};
|
|
1607
|
+
/**
|
|
1608
|
+
* This function uses a Promise to implement a simple first-in, first-out queue
|
|
1609
|
+
* of functions to be called.
|
|
1610
|
+
*
|
|
1611
|
+
* The queue is ordered on the basis of the first argument. If it's
|
|
1612
|
+
* `undefined`, then nothing is on the queue yet, so the provided function can
|
|
1613
|
+
* be called synchronously (although note that this function may return a
|
|
1614
|
+
* `Promise`). The idea is that then the return value of that enqueueing
|
|
1615
|
+
* operation is kept around, so that if it was a `Promise` then subsequent
|
|
1616
|
+
* functions can be enqueued by calling this function again with that `Promise`
|
|
1617
|
+
* as the first argument.
|
|
1618
|
+
*
|
|
1619
|
+
* @param maybePromise either a `Promise` which should resolve before the next function is called or an 'empty' sentinel
|
|
1620
|
+
* @param fn a function to enqueue
|
|
1621
|
+
* @returns either a `Promise` or the return value of the provided function
|
|
1622
|
+
*/
|
|
1623
|
+
const enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn) : fn();
|
|
1624
|
+
/**
|
|
1625
|
+
* Check that a value is a `Promise`. To check, we first see if the value is an
|
|
1626
|
+
* instance of the `Promise` global. In a few circumstances, in particular if
|
|
1627
|
+
* the global has been overwritten, this is could be misleading, so we also do
|
|
1628
|
+
* a little 'duck typing' check to see if the `.then` property of the value is
|
|
1629
|
+
* defined and a function.
|
|
1630
|
+
*
|
|
1631
|
+
* @param maybePromise it might be a promise!
|
|
1632
|
+
* @returns whether it is or not
|
|
1633
|
+
*/
|
|
1634
|
+
const isPromisey = (maybePromise) => maybePromise instanceof Promise ||
|
|
1635
|
+
(maybePromise && maybePromise.then && typeof maybePromise.then === 'function');
|
|
1636
|
+
/**
|
|
1637
|
+
* Update a component given reference to its host elements and so on.
|
|
1638
|
+
*
|
|
1639
|
+
* @param hostRef an object containing references to the element's host node,
|
|
1640
|
+
* VDom nodes, and other metadata
|
|
1641
|
+
* @param instance a reference to the underlying host element where it will be
|
|
1642
|
+
* rendered
|
|
1643
|
+
* @param isInitialLoad whether or not this function is being called as part of
|
|
1644
|
+
* the first render cycle
|
|
1645
|
+
*/
|
|
1426
1646
|
const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
1427
|
-
|
|
1647
|
+
var _a;
|
|
1428
1648
|
const elm = hostRef.$hostElement$;
|
|
1429
1649
|
const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
|
|
1430
1650
|
const rc = elm['s-rc'];
|
|
@@ -1434,7 +1654,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
1434
1654
|
}
|
|
1435
1655
|
const endRender = createTime('render', hostRef.$cmpMeta$.$tagName$);
|
|
1436
1656
|
{
|
|
1437
|
-
callRender(hostRef, instance);
|
|
1657
|
+
callRender(hostRef, instance, elm, isInitialLoad);
|
|
1438
1658
|
}
|
|
1439
1659
|
if (rc) {
|
|
1440
1660
|
// ok, so turns out there are some child host elements
|
|
@@ -1446,7 +1666,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
1446
1666
|
endRender();
|
|
1447
1667
|
endUpdate();
|
|
1448
1668
|
{
|
|
1449
|
-
const childrenPromises = elm['s-p'];
|
|
1669
|
+
const childrenPromises = (_a = elm['s-p']) !== null && _a !== void 0 ? _a : [];
|
|
1450
1670
|
const postUpdate = () => postUpdateComponent(hostRef);
|
|
1451
1671
|
if (childrenPromises.length === 0) {
|
|
1452
1672
|
postUpdate();
|
|
@@ -1458,7 +1678,19 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
1458
1678
|
}
|
|
1459
1679
|
}
|
|
1460
1680
|
};
|
|
1461
|
-
|
|
1681
|
+
/**
|
|
1682
|
+
* Handle making the call to the VDom renderer with the proper context given
|
|
1683
|
+
* various build variables
|
|
1684
|
+
*
|
|
1685
|
+
* @param hostRef an object containing references to the element's host node,
|
|
1686
|
+
* VDom nodes, and other metadata
|
|
1687
|
+
* @param instance a reference to the underlying host element where it will be
|
|
1688
|
+
* rendered
|
|
1689
|
+
* @param elm the Host element for the component
|
|
1690
|
+
* @param isInitialLoad whether or not this function is being called as part of
|
|
1691
|
+
* @returns an empty promise
|
|
1692
|
+
*/
|
|
1693
|
+
const callRender = (hostRef, instance, elm, isInitialLoad) => {
|
|
1462
1694
|
try {
|
|
1463
1695
|
instance = instance.render() ;
|
|
1464
1696
|
{
|
|
@@ -1473,7 +1705,7 @@ const callRender = (hostRef, instance, elm) => {
|
|
|
1473
1705
|
// or we need to update the css class/attrs on the host element
|
|
1474
1706
|
// DOM WRITE!
|
|
1475
1707
|
{
|
|
1476
|
-
renderVdom(hostRef, instance);
|
|
1708
|
+
renderVdom(hostRef, instance, isInitialLoad);
|
|
1477
1709
|
}
|
|
1478
1710
|
}
|
|
1479
1711
|
}
|
|
@@ -1550,9 +1782,6 @@ const safeCall = (instance, method, arg) => {
|
|
|
1550
1782
|
}
|
|
1551
1783
|
return undefined;
|
|
1552
1784
|
};
|
|
1553
|
-
const then = (promise, thenFn) => {
|
|
1554
|
-
return promise && promise.then ? promise.then(thenFn) : thenFn();
|
|
1555
|
-
};
|
|
1556
1785
|
const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
1557
1786
|
;
|
|
1558
1787
|
const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
@@ -1716,9 +1945,9 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1716
1945
|
const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
|
|
1717
1946
|
// initializeComponent
|
|
1718
1947
|
if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
|
|
1948
|
+
// Let the runtime know that the component has been initialized
|
|
1949
|
+
hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
|
|
1719
1950
|
{
|
|
1720
|
-
// we haven't initialized this element yet
|
|
1721
|
-
hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
|
|
1722
1951
|
// lazy loaded components
|
|
1723
1952
|
// request the component's implementation to be
|
|
1724
1953
|
// wired up with the host element
|
|
@@ -1817,7 +2046,8 @@ const connectedCallback = (elm) => {
|
|
|
1817
2046
|
// if the slot polyfill is required we'll need to put some nodes
|
|
1818
2047
|
// in here to act as original content anchors as we move nodes around
|
|
1819
2048
|
// host element has been connected to the DOM
|
|
1820
|
-
if ((
|
|
2049
|
+
if ((// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
2050
|
+
cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
|
|
1821
2051
|
setContentReference(elm);
|
|
1822
2052
|
}
|
|
1823
2053
|
}
|
|
@@ -1856,7 +2086,12 @@ const connectedCallback = (elm) => {
|
|
|
1856
2086
|
}
|
|
1857
2087
|
else {
|
|
1858
2088
|
// fire off connectedCallback() on component instance
|
|
1859
|
-
|
|
2089
|
+
if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$lazyInstance$) {
|
|
2090
|
+
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
2091
|
+
}
|
|
2092
|
+
else if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$onReadyPromise$) {
|
|
2093
|
+
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));
|
|
2094
|
+
}
|
|
1860
2095
|
}
|
|
1861
2096
|
endConnected();
|
|
1862
2097
|
}
|
|
@@ -1872,23 +2107,26 @@ const setContentReference = (elm) => {
|
|
|
1872
2107
|
contentRefElm['s-cn'] = true;
|
|
1873
2108
|
elm.insertBefore(contentRefElm, elm.firstChild);
|
|
1874
2109
|
};
|
|
1875
|
-
const
|
|
2110
|
+
const disconnectInstance = (instance) => {
|
|
2111
|
+
{
|
|
2112
|
+
safeCall(instance, 'disconnectedCallback');
|
|
2113
|
+
}
|
|
2114
|
+
};
|
|
2115
|
+
const disconnectedCallback = async (elm) => {
|
|
1876
2116
|
if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
|
|
1877
2117
|
const hostRef = getHostRef(elm);
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
2118
|
+
if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$lazyInstance$) {
|
|
2119
|
+
disconnectInstance(hostRef.$lazyInstance$);
|
|
2120
|
+
}
|
|
2121
|
+
else if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$onReadyPromise$) {
|
|
2122
|
+
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
|
|
1881
2123
|
}
|
|
1882
2124
|
}
|
|
1883
2125
|
};
|
|
1884
2126
|
const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
1885
2127
|
const endBootstrap = createTime();
|
|
1886
|
-
const cmpTags = [];
|
|
1887
2128
|
const exclude = options.exclude || [];
|
|
1888
2129
|
const customElements = win.customElements;
|
|
1889
|
-
const head = doc.head;
|
|
1890
|
-
const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
|
|
1891
|
-
const visibilityStyle = /*@__PURE__*/ doc.createElement('style');
|
|
1892
2130
|
const deferredConnectedCallbacks = [];
|
|
1893
2131
|
let appLoadFallback;
|
|
1894
2132
|
let isBootstrapping = true;
|
|
@@ -1947,16 +2185,10 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1947
2185
|
};
|
|
1948
2186
|
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1949
2187
|
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1950
|
-
cmpTags.push(tagName);
|
|
1951
2188
|
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));
|
|
1952
2189
|
}
|
|
1953
2190
|
});
|
|
1954
2191
|
});
|
|
1955
|
-
{
|
|
1956
|
-
visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
|
|
1957
|
-
visibilityStyle.setAttribute('data-styles', '');
|
|
1958
|
-
head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
1959
|
-
}
|
|
1960
2192
|
// Process deferred connectedCallbacks now all components have been registered
|
|
1961
2193
|
isBootstrapping = false;
|
|
1962
2194
|
if (deferredConnectedCallbacks.length) {
|
|
@@ -1970,6 +2202,13 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1970
2202
|
// Fallback appLoad event
|
|
1971
2203
|
endBootstrap();
|
|
1972
2204
|
};
|
|
2205
|
+
/**
|
|
2206
|
+
* Assigns the given value to the nonce property on the runtime platform object.
|
|
2207
|
+
* During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
|
|
2208
|
+
* @param nonce The value to be assigned to the platform nonce property.
|
|
2209
|
+
* @returns void
|
|
2210
|
+
*/
|
|
2211
|
+
const setNonce = (nonce) => (plt.$nonce$ = nonce);
|
|
1973
2212
|
const hostRefs = /*@__PURE__*/ new WeakMap();
|
|
1974
2213
|
const getHostRef = (ref) => hostRefs.get(ref);
|
|
1975
2214
|
const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
|
|
@@ -2267,7 +2506,9 @@ const plt = {
|
|
|
2267
2506
|
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
2268
2507
|
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
2269
2508
|
};
|
|
2270
|
-
const supportsShadow =
|
|
2509
|
+
const supportsShadow =
|
|
2510
|
+
// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
2511
|
+
true;
|
|
2271
2512
|
const promiseResolve = (v) => Promise.resolve(v);
|
|
2272
2513
|
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
2273
2514
|
try {
|
|
@@ -2329,5 +2570,6 @@ exports.getElement = getElement;
|
|
|
2329
2570
|
exports.h = h;
|
|
2330
2571
|
exports.promiseResolve = promiseResolve;
|
|
2331
2572
|
exports.registerInstance = registerInstance;
|
|
2573
|
+
exports.setNonce = setNonce;
|
|
2332
2574
|
|
|
2333
|
-
//# sourceMappingURL=index-
|
|
2575
|
+
//# sourceMappingURL=index-83edd4fe.js.map
|