@ukic/web-components 2.1.0-beta.15 → 2.1.0-beta.16
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 +10 -3
- package/dist/cjs/core.cjs.js.map +1 -1
- package/dist/cjs/{helpers-d6b5880e.js → helpers-eb53c416.js} +7 -1
- package/dist/cjs/helpers-eb53c416.js.map +1 -0
- package/dist/cjs/ic-alert.cjs.entry.js +2 -2
- package/dist/cjs/ic-back-to-top.cjs.entry.js +2 -2
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/ic-button_3.cjs.entry.js +31 -31
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +4 -3
- package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +5 -2
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +3 -2
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +5 -2
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-entity.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +2 -2
- package/dist/cjs/ic-dialog.cjs.entry.js +296 -0
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-divider.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer.cjs.entry.js +3 -3
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +2 -2
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +2 -2
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +65 -26
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +3 -3
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +4 -3
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +2 -2
- package/dist/cjs/ic-navigation-group.cjs.entry.js +44 -18
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +2 -2
- package/dist/cjs/ic-page-header.cjs.entry.js +3 -3
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination-item.cjs.entry.js +6 -1
- package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination.cjs.entry.js +3 -2
- package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +3 -3
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +16 -5
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +5 -11
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +6 -3
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-section-container.cjs.entry.js +1 -1
- package/dist/cjs/ic-select.cjs.entry.js +34 -32
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +51 -42
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ic-switch.cjs.entry.js +4 -3
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +5 -1
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-text-field.cjs.entry.js +4 -5
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +2 -2
- package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +2 -2
- package/dist/cjs/ic-top-navigation.cjs.entry.js +2 -2
- package/dist/cjs/ic-typography.cjs.entry.js +2 -2
- package/dist/cjs/{index-a62312a7.js → index-014e3058.js} +222 -43
- package/dist/cjs/index-014e3058.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +13 -12
- package/dist/collection/components/ic-alert/ic-alert.e2e.js +16 -0
- package/dist/collection/components/ic-alert/ic-alert.e2e.js.map +1 -0
- package/dist/collection/components/ic-alert/ic-alert.spec.js +182 -0
- package/dist/collection/components/ic-alert/ic-alert.spec.js.map +1 -0
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.e2e.js +68 -0
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.e2e.js.map +1 -0
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.spec.js +123 -0
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.spec.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.spec.js +118 -0
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.spec.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.e2e.js +41 -0
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.e2e.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.spec.js +181 -0
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.spec.js.map +1 -0
- package/dist/collection/components/ic-button/ic-button.e2e.js +173 -0
- package/dist/collection/components/ic-button/ic-button.e2e.js.map +1 -0
- package/dist/collection/components/ic-button/ic-button.js +3 -2
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.spec.js +230 -0
- package/dist/collection/components/ic-button/ic-button.spec.js.map +1 -0
- package/dist/collection/components/ic-card/ic-card.css +3 -2
- package/dist/collection/components/ic-card/ic-card.e2e.js +23 -0
- package/dist/collection/components/ic-card/ic-card.e2e.js.map +1 -0
- package/dist/collection/components/ic-card/ic-card.js +2 -1
- package/dist/collection/components/ic-card/ic-card.js.map +1 -1
- package/dist/collection/components/ic-card/ic-card.spec.js +152 -0
- package/dist/collection/components/ic-card/ic-card.spec.js.map +1 -0
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +2 -1
- package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.e2e.js +201 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.e2e.js.map +1 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +4 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.spec.js +175 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.spec.js.map +1 -0
- package/dist/collection/components/ic-chip/ic-chip.js +4 -1
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
- package/dist/collection/components/ic-chip/ic-chip.spec.js +110 -0
- package/dist/collection/components/ic-chip/ic-chip.spec.js.map +1 -0
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.spec.js +140 -0
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.spec.js.map +1 -0
- package/dist/collection/components/ic-data-entity/ic-data-entity.spec.js +161 -0
- package/dist/collection/components/ic-data-entity/ic-data-entity.spec.js.map +1 -0
- package/dist/collection/components/ic-data-row/ic-data-row.spec.js +185 -0
- package/dist/collection/components/ic-data-row/ic-data-row.spec.js.map +1 -0
- package/dist/collection/components/ic-dialog/ic-dialog.css +595 -0
- package/dist/collection/components/ic-dialog/ic-dialog.e2e.js +204 -0
- package/dist/collection/components/ic-dialog/ic-dialog.e2e.js.map +1 -0
- package/dist/collection/components/ic-dialog/ic-dialog.js +641 -0
- package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -0
- package/dist/collection/components/ic-dialog/ic-dialog.spec.js +520 -0
- package/dist/collection/components/ic-dialog/ic-dialog.spec.js.map +1 -0
- package/dist/collection/components/ic-dialog/ic-dialog.test.a11y.js +28 -0
- package/dist/collection/components/ic-dialog/ic-dialog.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-divider/ic-divider.spec.js +24 -0
- package/dist/collection/components/ic-divider/ic-divider.spec.js.map +1 -0
- package/dist/collection/components/ic-footer/ic-footer.e2e.js +50 -0
- package/dist/collection/components/ic-footer/ic-footer.e2e.js.map +1 -0
- package/dist/collection/components/ic-footer/ic-footer.js +1 -1
- package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
- package/dist/collection/components/ic-footer/ic-footer.spec.js +140 -0
- package/dist/collection/components/ic-footer/ic-footer.spec.js.map +1 -0
- package/dist/collection/components/ic-footer-link/ic-footer-link.spec.js +62 -0
- package/dist/collection/components/ic-footer-link/ic-footer-link.spec.js.map +1 -0
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.spec.js +98 -0
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.spec.js.map +1 -0
- package/dist/collection/components/ic-hero/ic-hero.spec.js +76 -0
- package/dist/collection/components/ic-hero/ic-hero.spec.js.map +1 -0
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.spec.js +180 -0
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.spec.js.map +1 -0
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +32 -4
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.spec.js +117 -0
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.spec.js.map +1 -0
- package/dist/collection/components/ic-input-container/ic-input-container.spec.js +38 -0
- package/dist/collection/components/ic-input-container/ic-input-container.spec.js.map +1 -0
- package/dist/collection/components/ic-input-label/ic-input-label.spec.js +98 -0
- package/dist/collection/components/ic-input-label/ic-input-label.spec.js.map +1 -0
- package/dist/collection/components/ic-input-validation/ic-input-validation.css +0 -8
- package/dist/collection/components/ic-input-validation/ic-input-validation.spec.js +89 -0
- package/dist/collection/components/ic-input-validation/ic-input-validation.spec.js.map +1 -0
- package/dist/collection/components/ic-link/ic-link.spec.js +203 -0
- package/dist/collection/components/ic-link/ic-link.spec.js.map +1 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.e2e.js +34 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.e2e.js.map +1 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.spec.js +141 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.spec.js.map +1 -0
- package/dist/collection/components/ic-menu/ic-menu.css +9 -1
- package/dist/collection/components/ic-menu/ic-menu.js +85 -22
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu/ic-menu.spec.js +650 -0
- package/dist/collection/components/ic-menu/ic-menu.spec.js.map +1 -0
- package/dist/collection/components/ic-menu-group/ic-menu-group.spec.js +94 -0
- package/dist/collection/components/ic-menu-group/ic-menu-group.spec.js.map +1 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.css +2 -2
- package/dist/collection/components/ic-menu-item/ic-menu-item.js +2 -1
- package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
- package/dist/collection/components/ic-menu-item/ic-menu-item.spec.js +105 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.spec.js.map +1 -0
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.spec.js +84 -0
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.spec.js.map +1 -0
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +1 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +41 -15
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.spec.js +309 -0
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.spec.js.map +1 -0
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.spec.js +118 -0
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.spec.js.map +1 -0
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.e2e.js +29 -0
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.e2e.js.map +1 -0
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.spec.js +176 -0
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.spec.js.map +1 -0
- package/dist/collection/components/ic-page-header/ic-page-header.css +1 -1
- package/dist/collection/components/ic-page-header/ic-page-header.e2e.js +177 -0
- package/dist/collection/components/ic-page-header/ic-page-header.e2e.js.map +1 -0
- package/dist/collection/components/ic-page-header/ic-page-header.spec.js +284 -0
- package/dist/collection/components/ic-page-header/ic-page-header.spec.js.map +1 -0
- package/dist/collection/components/ic-pagination/ic-pagination.e2e.js +128 -0
- package/dist/collection/components/ic-pagination/ic-pagination.e2e.js.map +1 -0
- package/dist/collection/components/ic-pagination/ic-pagination.js +3 -2
- package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
- package/dist/collection/components/ic-pagination/ic-pagination.spec.js +325 -0
- package/dist/collection/components/ic-pagination/ic-pagination.spec.js.map +1 -0
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +5 -1
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.e2e.js +30 -0
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.e2e.js.map +1 -0
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.spec.js +381 -0
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.spec.js.map +1 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.e2e.js +343 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.e2e.js.map +1 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +19 -8
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.spec.js +303 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.spec.js.map +1 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.types.js +2 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.types.js.map +1 -0
- package/dist/collection/components/ic-radio-option/ic-radio-option.css +1 -1
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +5 -14
- package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.e2e.js +1054 -0
- package/dist/collection/components/ic-search-bar/ic-search-bar.e2e.js.map +1 -0
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +12 -9
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.spec.js +570 -0
- package/dist/collection/components/ic-search-bar/ic-search-bar.spec.js.map +1 -0
- package/dist/collection/components/ic-search-bar/ic-search-bar.types.js.map +1 -1
- package/dist/collection/components/ic-section-container/ic-section-container.spec.js +69 -0
- package/dist/collection/components/ic-section-container/ic-section-container.spec.js.map +1 -0
- package/dist/collection/components/ic-select/ic-select.e2e.js +1765 -0
- package/dist/collection/components/ic-select/ic-select.e2e.js.map +1 -0
- package/dist/collection/components/ic-select/ic-select.js +35 -33
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select.spec.js +1276 -0
- package/dist/collection/components/ic-select/ic-select.spec.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +0 -7
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.e2e.js +412 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.e2e.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +48 -39
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.spec.js +470 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.spec.js.map +1 -0
- package/dist/collection/components/ic-skeleton/ic-skeleton.spec.js +89 -0
- package/dist/collection/components/ic-skeleton/ic-skeleton.spec.js.map +1 -0
- package/dist/collection/components/ic-status-tag/ic-status-tag.css +2 -6
- package/dist/collection/components/ic-status-tag/ic-status-tag.spec.js +43 -0
- package/dist/collection/components/ic-status-tag/ic-status-tag.spec.js.map +1 -0
- package/dist/collection/components/ic-step/ic-step.spec.js +176 -0
- package/dist/collection/components/ic-step/ic-step.spec.js.map +1 -0
- package/dist/collection/components/ic-stepper/ic-stepper.e2e.js +49 -0
- package/dist/collection/components/ic-stepper/ic-stepper.e2e.js.map +1 -0
- package/dist/collection/components/ic-stepper/ic-stepper.spec.js +706 -0
- package/dist/collection/components/ic-stepper/ic-stepper.spec.js.map +1 -0
- package/dist/collection/components/ic-switch/ic-switch.css +1 -1
- package/dist/collection/components/ic-switch/ic-switch.js +2 -1
- package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
- package/dist/collection/components/ic-switch/ic-switch.spec.js +104 -0
- package/dist/collection/components/ic-switch/ic-switch.spec.js.map +1 -0
- package/dist/collection/components/ic-tab/ic-tab.e2e.js +32 -0
- package/dist/collection/components/ic-tab/ic-tab.e2e.js.map +1 -0
- package/dist/collection/components/ic-tab/ic-tab.js +4 -0
- package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
- package/dist/collection/components/ic-tab/ic-tab.spec.js +159 -0
- package/dist/collection/components/ic-tab/ic-tab.spec.js.map +1 -0
- package/dist/collection/components/ic-tab-context/ic-tab-context.e2e.js +317 -0
- package/dist/collection/components/ic-tab-context/ic-tab-context.e2e.js.map +1 -0
- package/dist/collection/components/ic-tab-context/ic-tab-context.spec.js +369 -0
- package/dist/collection/components/ic-tab-context/ic-tab-context.spec.js.map +1 -0
- package/dist/collection/components/ic-tab-group/ic-tab-group.css +2 -2
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.spec.js +65 -0
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.spec.js.map +1 -0
- package/dist/collection/components/ic-text-field/ic-text-field.css +0 -4
- package/dist/collection/components/ic-text-field/ic-text-field.e2e.js +98 -0
- package/dist/collection/components/ic-text-field/ic-text-field.e2e.js.map +1 -0
- package/dist/collection/components/ic-text-field/ic-text-field.input.spec.js +236 -0
- package/dist/collection/components/ic-text-field/ic-text-field.input.spec.js.map +1 -0
- package/dist/collection/components/ic-text-field/ic-text-field.js +11 -12
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-text-field/ic-text-field.textarea.spec.js +310 -0
- package/dist/collection/components/ic-text-field/ic-text-field.textarea.spec.js.map +1 -0
- package/dist/collection/components/ic-theme/ic-theme.e2e.js +72 -0
- package/dist/collection/components/ic-theme/ic-theme.e2e.js.map +1 -0
- package/dist/collection/components/ic-theme/ic-theme.spec.js +77 -0
- package/dist/collection/components/ic-theme/ic-theme.spec.js.map +1 -0
- package/dist/collection/components/ic-toast/ic-toast.e2e.js +82 -0
- package/dist/collection/components/ic-toast/ic-toast.e2e.js.map +1 -0
- package/dist/collection/components/ic-toast/ic-toast.spec.js +278 -0
- package/dist/collection/components/ic-toast/ic-toast.spec.js.map +1 -0
- package/dist/collection/components/ic-toast-region/ic-toast-region.spec.js +62 -0
- package/dist/collection/components/ic-toast-region/ic-toast-region.spec.js.map +1 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.css +22 -8
- package/dist/collection/components/ic-tooltip/ic-tooltip.e2e.js +115 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.e2e.js.map +1 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +26 -27
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.spec.js +128 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.spec.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.e2e.js +42 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.e2e.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.mobile.e2e.js +242 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.mobile.e2e.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.spec.js +286 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.spec.js.map +1 -0
- package/dist/collection/components/ic-typography/ic-typography.e2e.js +36 -0
- package/dist/collection/components/ic-typography/ic-typography.e2e.js.map +1 -0
- package/dist/collection/components/ic-typography/ic-typography.spec.js +296 -0
- package/dist/collection/components/ic-typography/ic-typography.spec.js.map +1 -0
- package/dist/collection/testspec.setup.js +11 -0
- package/dist/collection/testspec.setup.js.map +1 -1
- package/dist/collection/utils/helpers.js +5 -0
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/components/helpers.js +6 -1
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-alert.js +1 -113
- package/dist/components/ic-alert.js.map +1 -1
- package/dist/components/ic-alert2.js +117 -0
- package/dist/components/ic-alert2.js.map +1 -0
- package/dist/components/ic-back-to-top.js +2 -2
- package/dist/components/ic-breadcrumb-group.js +2 -2
- package/dist/components/ic-breadcrumb2.js +1 -1
- package/dist/components/ic-button2.js +4 -3
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js +4 -3
- package/dist/components/ic-card.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +5 -2
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js +3 -2
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js +5 -2
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js +1 -1
- package/dist/components/ic-data-entity.js +1 -1
- package/dist/components/ic-data-row.js +2 -2
- package/dist/components/ic-dialog.d.ts +11 -0
- package/dist/components/ic-dialog.js +357 -0
- package/dist/components/ic-dialog.js.map +1 -0
- package/dist/components/ic-divider2.js +2 -2
- package/dist/components/ic-footer-link-group.js +2 -2
- package/dist/components/ic-footer-link.js +2 -2
- package/dist/components/ic-footer.js +3 -3
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +2 -2
- package/dist/components/ic-horizontal-scroll2.js +2 -2
- package/dist/components/ic-input-component-container2.js +3 -3
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-container2.js +1 -1
- package/dist/components/ic-input-label2.js +2 -2
- package/dist/components/ic-input-validation2.js +3 -3
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-link2.js +2 -2
- package/dist/components/ic-loading-indicator2.js +1 -1
- package/dist/components/ic-menu-group.js +1 -1
- package/dist/components/ic-menu-item2.js +4 -3
- package/dist/components/ic-menu-item2.js.map +1 -1
- package/dist/components/ic-menu2.js +65 -26
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +2 -2
- package/dist/components/ic-navigation-group.js +44 -18
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +2 -2
- package/dist/components/ic-navigation-menu2.js +2 -2
- package/dist/components/ic-page-header.js +3 -3
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +5 -1
- package/dist/components/ic-pagination-item2.js.map +1 -1
- package/dist/components/ic-pagination.js +3 -2
- package/dist/components/ic-pagination.js.map +1 -1
- package/dist/components/ic-popover-menu.js +3 -3
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +16 -5
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +5 -11
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +6 -3
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-section-container2.js +1 -1
- package/dist/components/ic-select.js +34 -32
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +51 -42
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js +1 -1
- package/dist/components/ic-status-tag.js +3 -3
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +1 -1
- package/dist/components/ic-stepper.js +2 -2
- package/dist/components/ic-switch.js +4 -3
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.js +1 -1
- package/dist/components/ic-tab-group.js +3 -3
- package/dist/components/ic-tab-group.js.map +1 -1
- package/dist/components/ic-tab-panel.js +1 -1
- package/dist/components/ic-tab.js +5 -1
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field2.js +4 -5
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +2 -2
- package/dist/components/ic-toast-region.js +1 -1
- package/dist/components/ic-toast.js +2 -2
- package/dist/components/ic-tooltip2.js +29 -30
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +2 -2
- package/dist/components/ic-typography2.js +1 -1
- package/dist/components/index.d.ts +9 -60
- package/dist/components/index.js +1 -58
- package/dist/components/index.js.map +1 -1
- package/dist/core/core.css +41 -2
- 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-de45134c.entry.js → p-04d626ee.entry.js} +2 -2
- package/dist/core/p-04d626ee.entry.js.map +1 -0
- package/dist/core/p-06321d19.js.map +1 -1
- package/dist/core/{p-050dbce8.entry.js → p-0d325b4c.entry.js} +2 -2
- package/dist/core/p-0d325b4c.entry.js.map +1 -0
- package/dist/core/{p-46371c05.entry.js → p-249af8ab.entry.js} +2 -2
- package/dist/core/p-249af8ab.entry.js.map +1 -0
- package/dist/core/{p-36e0671f.entry.js → p-29d9fea1.entry.js} +2 -2
- package/dist/core/p-29d9fea1.entry.js.map +1 -0
- package/dist/core/p-2e051e1e.entry.js +2 -0
- package/dist/core/p-2e051e1e.entry.js.map +1 -0
- package/dist/core/{p-bffa2e1a.entry.js → p-2ec49a7e.entry.js} +2 -2
- package/dist/core/p-2ec49a7e.entry.js.map +1 -0
- package/dist/core/{p-223a214f.entry.js → p-3114a4b3.entry.js} +2 -2
- package/dist/core/p-3114a4b3.entry.js.map +1 -0
- package/dist/core/{p-50421f27.entry.js → p-311c38b3.entry.js} +2 -2
- package/dist/core/p-311c38b3.entry.js.map +1 -0
- package/dist/core/p-31ccdd50.entry.js +2 -0
- package/dist/core/p-31ccdd50.entry.js.map +1 -0
- package/dist/core/p-31e80ccb.entry.js +2 -0
- package/dist/core/p-31e80ccb.entry.js.map +1 -0
- package/dist/core/p-323bce82.entry.js +2 -0
- package/dist/core/p-323bce82.entry.js.map +1 -0
- package/dist/core/{p-a9184841.entry.js → p-3918c27a.entry.js} +2 -2
- package/dist/core/p-3918c27a.entry.js.map +1 -0
- package/dist/core/p-3ce0aa02.entry.js +2 -0
- package/dist/core/p-3ce0aa02.entry.js.map +1 -0
- package/dist/core/p-44512ebe.js.map +1 -1
- package/dist/core/{p-471820e6.js → p-4a385752.js} +2 -2
- package/dist/core/p-4a385752.js.map +1 -0
- package/dist/core/{p-312c10b0.entry.js → p-4c4fa082.entry.js} +2 -2
- package/dist/core/p-4c4fa082.entry.js.map +1 -0
- package/dist/core/{p-fc7dce3d.entry.js → p-4f7b34ed.entry.js} +2 -2
- package/dist/core/p-4f7b34ed.entry.js.map +1 -0
- package/dist/core/{p-c85476c0.entry.js → p-524557bc.entry.js} +2 -2
- package/dist/core/p-524557bc.entry.js.map +1 -0
- package/dist/core/p-551986d1.entry.js +2 -0
- package/dist/core/p-551986d1.entry.js.map +1 -0
- package/dist/core/p-57460fa3.entry.js +2 -0
- package/dist/core/p-57460fa3.entry.js.map +1 -0
- package/dist/core/p-5fcd965f.entry.js +2 -0
- package/dist/core/p-5fcd965f.entry.js.map +1 -0
- package/dist/core/{p-68547339.entry.js → p-617950f8.entry.js} +2 -2
- package/dist/core/p-617950f8.entry.js.map +1 -0
- package/dist/core/{p-af815dfb.entry.js → p-68308ecd.entry.js} +2 -2
- package/dist/core/p-68308ecd.entry.js.map +1 -0
- package/dist/core/p-6c76c6ba.entry.js +2 -0
- package/dist/core/p-6c76c6ba.entry.js.map +1 -0
- package/dist/core/p-6f57b13c.js.map +1 -1
- package/dist/core/p-79914e0c.entry.js +2 -0
- package/dist/core/p-79914e0c.entry.js.map +1 -0
- package/dist/core/{p-e6217f40.entry.js → p-820e4c17.entry.js} +2 -2
- package/dist/core/p-820e4c17.entry.js.map +1 -0
- package/dist/core/{p-1585e5c1.entry.js → p-84c8c4c7.entry.js} +2 -2
- package/dist/core/p-84c8c4c7.entry.js.map +1 -0
- package/dist/core/{p-29ea6f88.entry.js → p-8911656b.entry.js} +2 -2
- package/dist/core/p-8911656b.entry.js.map +1 -0
- package/dist/core/p-8c7f4343.js.map +1 -1
- package/dist/core/p-8d4f7027.js.map +1 -1
- package/dist/core/p-97286148.entry.js +2 -0
- package/dist/core/p-97286148.entry.js.map +1 -0
- package/dist/core/{p-454b1ecd.entry.js → p-97fd0cc1.entry.js} +2 -2
- package/dist/core/p-97fd0cc1.entry.js.map +1 -0
- package/dist/core/p-a74b8476.entry.js +2 -0
- package/dist/core/p-a74b8476.entry.js.map +1 -0
- package/dist/core/{p-4dd0eb6a.entry.js → p-a9de9aba.entry.js} +2 -2
- package/dist/core/p-a9de9aba.entry.js.map +1 -0
- package/dist/core/p-ad6c4c02.entry.js +2 -0
- package/dist/core/p-ad6c4c02.entry.js.map +1 -0
- package/dist/core/{p-ca20c9c3.entry.js → p-aeef3c9d.entry.js} +2 -2
- package/dist/core/p-aeef3c9d.entry.js.map +1 -0
- package/dist/core/p-b03bd9c6.entry.js +2 -0
- package/dist/core/p-b03bd9c6.entry.js.map +1 -0
- package/dist/core/p-b0685167.entry.js +2 -0
- package/dist/core/p-b0685167.entry.js.map +1 -0
- package/dist/core/p-b35a9909.entry.js +2 -0
- package/dist/core/p-b35a9909.entry.js.map +1 -0
- package/dist/core/p-bad10f6c.entry.js +2 -0
- package/dist/core/p-bad10f6c.entry.js.map +1 -0
- package/dist/core/{p-a18c0672.entry.js → p-bda4414e.entry.js} +2 -2
- package/dist/core/p-bda4414e.entry.js.map +1 -0
- package/dist/core/p-c0333310.entry.js +2 -0
- package/dist/core/p-c0333310.entry.js.map +1 -0
- package/dist/core/{p-2e63f202.entry.js → p-c3f9fb1d.entry.js} +2 -2
- package/dist/core/p-c3f9fb1d.entry.js.map +1 -0
- package/dist/core/{p-fb5861c6.entry.js → p-ca6820dc.entry.js} +2 -2
- package/dist/core/p-ca6820dc.entry.js.map +1 -0
- package/dist/core/p-d6694b41.entry.js +2 -0
- package/dist/core/p-d6694b41.entry.js.map +1 -0
- package/dist/core/{p-70124e59.entry.js → p-da4c1409.entry.js} +2 -2
- package/dist/core/p-da4c1409.entry.js.map +1 -0
- package/dist/core/p-dbe06c3b.entry.js +2 -0
- package/dist/core/p-dbe06c3b.entry.js.map +1 -0
- package/dist/core/{p-28bc3bf0.entry.js → p-df67b151.entry.js} +2 -2
- package/dist/core/p-df67b151.entry.js.map +1 -0
- package/dist/core/{p-df1b0f17.entry.js → p-dfd31e28.entry.js} +2 -2
- package/dist/core/p-dfd31e28.entry.js.map +1 -0
- package/dist/core/{p-5e896163.entry.js → p-e3e6308b.entry.js} +2 -2
- package/dist/core/p-e3e6308b.entry.js.map +1 -0
- package/dist/core/{p-b7cf6411.entry.js → p-ea233813.entry.js} +2 -2
- package/dist/core/p-ea233813.entry.js.map +1 -0
- package/dist/core/p-ec26fc38.js.map +1 -1
- package/dist/core/{p-d2d5132d.entry.js → p-ecdcae46.entry.js} +2 -2
- package/dist/core/p-ecdcae46.entry.js.map +1 -0
- package/dist/core/{p-443052a7.entry.js → p-ef91c17e.entry.js} +2 -2
- package/dist/core/p-ef91c17e.entry.js.map +1 -0
- package/dist/core/{p-cee45622.entry.js → p-f0714432.entry.js} +2 -2
- package/dist/core/p-f0714432.entry.js.map +1 -0
- package/dist/core/p-f3053872.js +3 -0
- package/dist/core/p-f3053872.js.map +1 -0
- package/dist/core/{p-a8dc8196.entry.js → p-f381e93f.entry.js} +2 -2
- package/dist/core/p-f381e93f.entry.js.map +1 -0
- package/dist/core/p-fd482bd7.entry.js +2 -0
- package/dist/core/p-fd482bd7.entry.js.map +1 -0
- package/dist/core/p-fe2c4009.entry.js +2 -0
- package/dist/core/p-fe2c4009.entry.js.map +1 -0
- package/dist/esm/core.js +7 -3
- package/dist/esm/core.js.map +1 -1
- package/dist/esm/{helpers-73666f14.js → helpers-8e57082b.js} +7 -2
- package/dist/esm/helpers-8e57082b.js.map +1 -0
- package/dist/esm/ic-alert.entry.js +2 -2
- package/dist/esm/ic-back-to-top.entry.js +2 -2
- package/dist/esm/ic-breadcrumb-group.entry.js +2 -2
- package/dist/esm/ic-breadcrumb.entry.js +2 -2
- package/dist/esm/ic-button_3.entry.js +31 -31
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +4 -3
- package/dist/esm/ic-card.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +5 -2
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +3 -2
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +5 -2
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-classification-banner.entry.js +1 -1
- package/dist/esm/ic-data-entity.entry.js +1 -1
- package/dist/esm/ic-data-row.entry.js +2 -2
- package/dist/esm/ic-dialog.entry.js +292 -0
- package/dist/esm/ic-dialog.entry.js.map +1 -0
- package/dist/esm/ic-divider.entry.js +2 -2
- package/dist/esm/ic-footer-link-group.entry.js +2 -2
- package/dist/esm/ic-footer-link.entry.js +2 -2
- package/dist/esm/ic-footer.entry.js +3 -3
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +2 -2
- package/dist/esm/ic-horizontal-scroll.entry.js +2 -2
- package/dist/esm/ic-input-component-container_3.entry.js +65 -26
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +3 -3
- package/dist/esm/ic-input-label_2.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +2 -2
- package/dist/esm/ic-menu-group.entry.js +1 -1
- package/dist/esm/ic-menu-item.entry.js +4 -3
- package/dist/esm/ic-menu-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-button.entry.js +2 -2
- package/dist/esm/ic-navigation-group.entry.js +44 -18
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +2 -2
- package/dist/esm/ic-navigation-menu.entry.js +2 -2
- package/dist/esm/ic-page-header.entry.js +3 -3
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination-item.entry.js +6 -1
- package/dist/esm/ic-pagination-item.entry.js.map +1 -1
- package/dist/esm/ic-pagination.entry.js +3 -2
- package/dist/esm/ic-pagination.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +3 -3
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +16 -5
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +5 -11
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +6 -3
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-section-container.entry.js +1 -1
- package/dist/esm/ic-select.entry.js +34 -32
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +51 -42
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +1 -1
- package/dist/esm/ic-status-tag.entry.js +3 -3
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +1 -1
- package/dist/esm/ic-stepper.entry.js +2 -2
- package/dist/esm/ic-switch.entry.js +4 -3
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-context.entry.js +1 -1
- package/dist/esm/ic-tab-group.entry.js +3 -3
- package/dist/esm/ic-tab-group.entry.js.map +1 -1
- package/dist/esm/ic-tab-panel.entry.js +1 -1
- package/dist/esm/ic-tab.entry.js +5 -1
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-text-field.entry.js +4 -5
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +2 -2
- package/dist/esm/ic-toast-region.entry.js +1 -1
- package/dist/esm/ic-toast.entry.js +2 -2
- package/dist/esm/ic-top-navigation.entry.js +2 -2
- package/dist/esm/ic-typography.entry.js +2 -2
- package/dist/esm/{index-3b144b17.js → index-a77644e1.js} +222 -44
- package/dist/esm/index-a77644e1.js.map +1 -0
- package/dist/esm/loader.js +4 -3
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.types.d.ts +1 -1
- package/dist/types/components/ic-button/ic-button.types.d.ts +4 -4
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +1 -0
- package/dist/types/components/ic-chip/ic-chip.d.ts +1 -0
- package/dist/types/components/ic-chip/ic-chip.types.d.ts +2 -2
- package/dist/types/components/ic-classification-banner/ic-classification-banner.types.d.ts +1 -1
- package/dist/types/components/ic-dialog/ic-dialog.d.ts +123 -0
- package/dist/types/components/ic-dialog/ic-dialog.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-footer/ic-footer.types.d.ts +1 -1
- package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +1 -1
- package/dist/types/components/ic-hero/ic-hero.types.d.ts +1 -1
- package/dist/types/components/ic-input-validation/ic-input-validation.types.d.ts +1 -1
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +2 -2
- package/dist/types/components/ic-menu/ic-menu.d.ts +6 -0
- package/dist/types/components/ic-menu-item/ic-menu-item.types.d.ts +1 -1
- package/dist/types/components/ic-navigation-button/ic-navigation-button.types.d.ts +1 -1
- package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +3 -1
- package/dist/types/components/ic-pagination/ic-pagination.d.ts +1 -1
- package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +1 -1
- package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +2 -1
- package/dist/types/components/ic-pagination-item/ic-pagination-item.types.d.ts +1 -1
- package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +4 -3
- package/dist/types/components/ic-radio-group/ic-radio-group.types.d.ts +7 -0
- package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +1 -3
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +1 -1
- package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +1 -1
- package/dist/types/components/ic-select/ic-select.d.ts +3 -3
- package/dist/types/components/ic-skeleton/ic-skeleton.types.d.ts +1 -1
- package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +2 -2
- package/dist/types/components/ic-step/ic-step.types.d.ts +3 -3
- package/dist/types/components/ic-stepper/ic-stepper.types.d.ts +1 -1
- package/dist/types/components/ic-tab/ic-tab.d.ts +1 -0
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +1 -1
- package/dist/types/components/ic-text-field/ic-text-field.types.d.ts +3 -3
- package/dist/types/components/ic-toast/ic-toast.types.d.ts +1 -1
- package/dist/types/components/ic-tooltip/ic-tooltip.types.d.ts +1 -1
- package/dist/types/components.d.ts +187 -27
- package/dist/types/stencil-public-runtime.d.ts +72 -15
- package/dist/types/testspec.setup.d.ts +9 -0
- package/dist/types/utils/helpers.d.ts +1 -0
- package/dist/types/utils/types.d.ts +22 -22
- package/hydrate/index.d.ts +17 -16
- package/hydrate/index.js +699 -262
- package/loader/index.d.ts +9 -0
- package/package.json +5 -5
- package/dist/cjs/helpers-d6b5880e.js.map +0 -1
- package/dist/cjs/index-a62312a7.js.map +0 -1
- package/dist/core/p-050dbce8.entry.js.map +0 -1
- package/dist/core/p-06962e10.entry.js +0 -2
- package/dist/core/p-06962e10.entry.js.map +0 -1
- package/dist/core/p-0969a95a.entry.js +0 -2
- package/dist/core/p-0969a95a.entry.js.map +0 -1
- package/dist/core/p-0a11ec35.entry.js +0 -2
- package/dist/core/p-0a11ec35.entry.js.map +0 -1
- package/dist/core/p-0f153569.entry.js +0 -2
- package/dist/core/p-0f153569.entry.js.map +0 -1
- package/dist/core/p-1585e5c1.entry.js.map +0 -1
- package/dist/core/p-223a214f.entry.js.map +0 -1
- package/dist/core/p-28bc3bf0.entry.js.map +0 -1
- package/dist/core/p-29ea6f88.entry.js.map +0 -1
- package/dist/core/p-2e63f202.entry.js.map +0 -1
- package/dist/core/p-2e6ea6d3.entry.js +0 -2
- package/dist/core/p-2e6ea6d3.entry.js.map +0 -1
- package/dist/core/p-2fb97a1b.entry.js +0 -2
- package/dist/core/p-2fb97a1b.entry.js.map +0 -1
- package/dist/core/p-312c10b0.entry.js.map +0 -1
- package/dist/core/p-31b4b684.entry.js +0 -2
- package/dist/core/p-31b4b684.entry.js.map +0 -1
- package/dist/core/p-32cc8827.entry.js +0 -2
- package/dist/core/p-32cc8827.entry.js.map +0 -1
- package/dist/core/p-3498db0b.entry.js +0 -2
- package/dist/core/p-3498db0b.entry.js.map +0 -1
- package/dist/core/p-36e0671f.entry.js.map +0 -1
- package/dist/core/p-443052a7.entry.js.map +0 -1
- package/dist/core/p-454b1ecd.entry.js.map +0 -1
- package/dist/core/p-46371c05.entry.js.map +0 -1
- package/dist/core/p-471820e6.js.map +0 -1
- package/dist/core/p-4dd0eb6a.entry.js.map +0 -1
- package/dist/core/p-50421f27.entry.js.map +0 -1
- package/dist/core/p-559b3d17.entry.js +0 -2
- package/dist/core/p-559b3d17.entry.js.map +0 -1
- package/dist/core/p-589f6dd3.js +0 -3
- package/dist/core/p-589f6dd3.js.map +0 -1
- package/dist/core/p-5a3f3f37.entry.js +0 -2
- package/dist/core/p-5a3f3f37.entry.js.map +0 -1
- package/dist/core/p-5e896163.entry.js.map +0 -1
- package/dist/core/p-68547339.entry.js.map +0 -1
- package/dist/core/p-6f2be5bd.entry.js +0 -2
- package/dist/core/p-6f2be5bd.entry.js.map +0 -1
- package/dist/core/p-70124e59.entry.js.map +0 -1
- package/dist/core/p-80164baa.entry.js +0 -2
- package/dist/core/p-80164baa.entry.js.map +0 -1
- package/dist/core/p-80eff050.entry.js +0 -2
- package/dist/core/p-80eff050.entry.js.map +0 -1
- package/dist/core/p-8edd3a9b.entry.js +0 -2
- package/dist/core/p-8edd3a9b.entry.js.map +0 -1
- package/dist/core/p-9715ec62.entry.js +0 -2
- package/dist/core/p-9715ec62.entry.js.map +0 -1
- package/dist/core/p-983cb33c.entry.js +0 -2
- package/dist/core/p-983cb33c.entry.js.map +0 -1
- package/dist/core/p-a18c0672.entry.js.map +0 -1
- package/dist/core/p-a8dc8196.entry.js.map +0 -1
- package/dist/core/p-a9184841.entry.js.map +0 -1
- package/dist/core/p-af815dfb.entry.js.map +0 -1
- package/dist/core/p-b69226d2.entry.js +0 -2
- package/dist/core/p-b69226d2.entry.js.map +0 -1
- package/dist/core/p-b7cf6411.entry.js.map +0 -1
- package/dist/core/p-bffa2e1a.entry.js.map +0 -1
- package/dist/core/p-c85476c0.entry.js.map +0 -1
- package/dist/core/p-ca20c9c3.entry.js.map +0 -1
- package/dist/core/p-cee45622.entry.js.map +0 -1
- package/dist/core/p-d2d5132d.entry.js.map +0 -1
- package/dist/core/p-de45134c.entry.js.map +0 -1
- package/dist/core/p-df1b0f17.entry.js.map +0 -1
- package/dist/core/p-e16e817e.entry.js +0 -2
- package/dist/core/p-e16e817e.entry.js.map +0 -1
- package/dist/core/p-e6217f40.entry.js.map +0 -1
- package/dist/core/p-faeedfd1.entry.js +0 -2
- package/dist/core/p-faeedfd1.entry.js.map +0 -1
- package/dist/core/p-fb5861c6.entry.js.map +0 -1
- package/dist/core/p-fc7dce3d.entry.js.map +0 -1
- package/dist/core/p-fd18d7a3.entry.js +0 -2
- package/dist/core/p-fd18d7a3.entry.js.map +0 -1
- package/dist/esm/helpers-73666f14.js.map +0 -1
- package/dist/esm/index-3b144b17.js.map +0 -1
|
@@ -75,11 +75,30 @@ const EMPTY_OBJ = {};
|
|
|
75
75
|
const SVG_NS = 'http://www.w3.org/2000/svg';
|
|
76
76
|
const HTML_NS = 'http://www.w3.org/1999/xhtml';
|
|
77
77
|
const isDef = (v) => v != null;
|
|
78
|
+
/**
|
|
79
|
+
* Check whether a value is a 'complex type', defined here as an object or a
|
|
80
|
+
* function.
|
|
81
|
+
*
|
|
82
|
+
* @param o the value to check
|
|
83
|
+
* @returns whether it's a complex type or not
|
|
84
|
+
*/
|
|
78
85
|
const isComplexType = (o) => {
|
|
79
86
|
// https://jsperf.com/typeof-fn-object/5
|
|
80
87
|
o = typeof o;
|
|
81
88
|
return o === 'object' || o === 'function';
|
|
82
89
|
};
|
|
90
|
+
/**
|
|
91
|
+
* Helper method for querying a `meta` tag that contains a nonce value
|
|
92
|
+
* out of a DOM's head.
|
|
93
|
+
*
|
|
94
|
+
* @param doc The DOM containing the `head` to query against
|
|
95
|
+
* @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
|
|
96
|
+
* exists or the tag has no content.
|
|
97
|
+
*/
|
|
98
|
+
function queryNonceMetaTagContent(doc) {
|
|
99
|
+
var _a, _b, _c;
|
|
100
|
+
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;
|
|
101
|
+
}
|
|
83
102
|
/**
|
|
84
103
|
* Production h() function based on Preact by
|
|
85
104
|
* Jason Miller (@developit)
|
|
@@ -88,7 +107,6 @@ const isComplexType = (o) => {
|
|
|
88
107
|
*
|
|
89
108
|
* Modified for Stencil's compiler and vdom
|
|
90
109
|
*/
|
|
91
|
-
// const stack: any[] = [];
|
|
92
110
|
// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
|
|
93
111
|
// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
|
|
94
112
|
const h = (nodeName, vnodeData, ...children) => {
|
|
@@ -158,6 +176,14 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
158
176
|
}
|
|
159
177
|
return vnode;
|
|
160
178
|
};
|
|
179
|
+
/**
|
|
180
|
+
* A utility function for creating a virtual DOM node from a tag and some
|
|
181
|
+
* possible text content.
|
|
182
|
+
*
|
|
183
|
+
* @param tag the tag for this element
|
|
184
|
+
* @param text possible text content for the node
|
|
185
|
+
* @returns a newly-minted virtual DOM node
|
|
186
|
+
*/
|
|
161
187
|
const newVNode = (tag, text) => {
|
|
162
188
|
const vnode = {
|
|
163
189
|
$flags$: 0,
|
|
@@ -178,11 +204,31 @@ const newVNode = (tag, text) => {
|
|
|
178
204
|
return vnode;
|
|
179
205
|
};
|
|
180
206
|
const Host = {};
|
|
207
|
+
/**
|
|
208
|
+
* Check whether a given node is a Host node or not
|
|
209
|
+
*
|
|
210
|
+
* @param node the virtual DOM node to check
|
|
211
|
+
* @returns whether it's a Host node or not
|
|
212
|
+
*/
|
|
181
213
|
const isHost = (node) => node && node.$tag$ === Host;
|
|
214
|
+
/**
|
|
215
|
+
* Implementation of {@link d.FunctionalUtilities} for Stencil's VDom.
|
|
216
|
+
*
|
|
217
|
+
* Note that these functions convert from {@link d.VNode} to
|
|
218
|
+
* {@link d.ChildNode} to give functional component developers a friendly
|
|
219
|
+
* interface.
|
|
220
|
+
*/
|
|
182
221
|
const vdomFnUtils = {
|
|
183
222
|
forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
|
|
184
223
|
map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),
|
|
185
224
|
};
|
|
225
|
+
/**
|
|
226
|
+
* Convert a {@link d.VNode} to a {@link d.ChildNode} in order to present a
|
|
227
|
+
* friendlier public interface (hence, 'convertToPublic').
|
|
228
|
+
*
|
|
229
|
+
* @param node the virtual DOM node to convert
|
|
230
|
+
* @returns a converted child node
|
|
231
|
+
*/
|
|
186
232
|
const convertToPublic = (node) => ({
|
|
187
233
|
vattrs: node.$attrs$,
|
|
188
234
|
vchildren: node.$children$,
|
|
@@ -191,6 +237,15 @@ const convertToPublic = (node) => ({
|
|
|
191
237
|
vtag: node.$tag$,
|
|
192
238
|
vtext: node.$text$,
|
|
193
239
|
});
|
|
240
|
+
/**
|
|
241
|
+
* Convert a {@link d.ChildNode} back to an equivalent {@link d.VNode} in
|
|
242
|
+
* order to use the resulting object in the virtual DOM. The initial object was
|
|
243
|
+
* likely created as part of presenting a public API, so converting it back
|
|
244
|
+
* involved making it 'private' again (hence, `convertToPrivate`).
|
|
245
|
+
*
|
|
246
|
+
* @param node the child node to convert
|
|
247
|
+
* @returns a converted virtual DOM node
|
|
248
|
+
*/
|
|
194
249
|
const convertToPrivate = (node) => {
|
|
195
250
|
if (typeof node.vtag === 'function') {
|
|
196
251
|
const vnodeData = Object.assign({}, node.vattrs);
|
|
@@ -505,6 +560,7 @@ const registerStyle = (scopeId, cssText, allowCS) => {
|
|
|
505
560
|
styles.set(scopeId, style);
|
|
506
561
|
};
|
|
507
562
|
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
563
|
+
var _a;
|
|
508
564
|
let scopeId = getScopeId(cmpMeta);
|
|
509
565
|
const style = styles.get(scopeId);
|
|
510
566
|
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
@@ -525,10 +581,16 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
|
525
581
|
styleElm.innerHTML = style;
|
|
526
582
|
}
|
|
527
583
|
else {
|
|
584
|
+
// TODO(STENCIL-659): Remove code implementing the CSS variable shim
|
|
528
585
|
{
|
|
529
586
|
styleElm = doc.createElement('style');
|
|
530
587
|
styleElm.innerHTML = style;
|
|
531
588
|
}
|
|
589
|
+
// Apply CSP nonce to the style tag if it exists
|
|
590
|
+
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
591
|
+
if (nonce != null) {
|
|
592
|
+
styleElm.setAttribute('nonce', nonce);
|
|
593
|
+
}
|
|
532
594
|
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
533
595
|
}
|
|
534
596
|
if (appliedStyles) {
|
|
@@ -548,6 +610,7 @@ const attachStyles = (hostRef) => {
|
|
|
548
610
|
const flags = cmpMeta.$flags$;
|
|
549
611
|
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
550
612
|
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
613
|
+
// TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
|
|
551
614
|
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
552
615
|
// only required when we're NOT using native shadow dom (slot)
|
|
553
616
|
// or this browser doesn't support native shadow dom
|
|
@@ -866,6 +929,21 @@ const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
866
929
|
}
|
|
867
930
|
plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
868
931
|
};
|
|
932
|
+
/**
|
|
933
|
+
* Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
|
|
934
|
+
* add them to the DOM in the appropriate place.
|
|
935
|
+
*
|
|
936
|
+
* @param parentElm the DOM node which should be used as a parent for the new
|
|
937
|
+
* DOM nodes
|
|
938
|
+
* @param before a child of the `parentElm` which the new children should be
|
|
939
|
+
* inserted before (optional)
|
|
940
|
+
* @param parentVNode the parent virtual DOM node
|
|
941
|
+
* @param vnodes the new child virtual DOM nodes to produce DOM nodes for
|
|
942
|
+
* @param startIdx the index in the child virtual DOM nodes at which to start
|
|
943
|
+
* creating DOM nodes (inclusive)
|
|
944
|
+
* @param endIdx the index in the child virtual DOM nodes at which to stop
|
|
945
|
+
* creating DOM nodes (inclusive)
|
|
946
|
+
*/
|
|
869
947
|
const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
870
948
|
let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
|
|
871
949
|
let childNode;
|
|
@@ -882,27 +960,41 @@ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) =>
|
|
|
882
960
|
}
|
|
883
961
|
}
|
|
884
962
|
};
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
963
|
+
/**
|
|
964
|
+
* Remove the DOM elements corresponding to a list of {@link d.VNode} objects.
|
|
965
|
+
* This can be used to, for instance, clean up after a list of children which
|
|
966
|
+
* should no longer be shown.
|
|
967
|
+
*
|
|
968
|
+
* This function also handles some of Stencil's slot relocation logic.
|
|
969
|
+
*
|
|
970
|
+
* @param vnodes a list of virtual DOM nodes to remove
|
|
971
|
+
* @param startIdx the index at which to start removing nodes (inclusive)
|
|
972
|
+
* @param endIdx the index at which to stop removing nodes (inclusive)
|
|
973
|
+
*/
|
|
974
|
+
const removeVnodes = (vnodes, startIdx, endIdx) => {
|
|
975
|
+
for (let index = startIdx; index <= endIdx; ++index) {
|
|
976
|
+
const vnode = vnodes[index];
|
|
977
|
+
if (vnode) {
|
|
978
|
+
const elm = vnode.$elm$;
|
|
979
|
+
nullifyVNodeRefs(vnode);
|
|
980
|
+
if (elm) {
|
|
981
|
+
{
|
|
982
|
+
// we're removing this element
|
|
983
|
+
// so it's possible we need to show slot fallback content now
|
|
984
|
+
checkSlotFallbackVisibility = true;
|
|
985
|
+
if (elm['s-ol']) {
|
|
986
|
+
// remove the original location comment
|
|
987
|
+
elm['s-ol'].remove();
|
|
988
|
+
}
|
|
989
|
+
else {
|
|
990
|
+
// it's possible that child nodes of the node
|
|
991
|
+
// that's being removed are slot nodes
|
|
992
|
+
putBackInOriginalLocation(elm, true);
|
|
993
|
+
}
|
|
902
994
|
}
|
|
995
|
+
// remove the vnode's element from the dom
|
|
996
|
+
elm.remove();
|
|
903
997
|
}
|
|
904
|
-
// remove the vnode's element from the dom
|
|
905
|
-
elm.remove();
|
|
906
998
|
}
|
|
907
999
|
}
|
|
908
1000
|
};
|
|
@@ -1160,7 +1252,8 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
1160
1252
|
*
|
|
1161
1253
|
* So, in other words, if `key` attrs are not set on VNodes which may be
|
|
1162
1254
|
* changing order within a `children` array or something along those lines then
|
|
1163
|
-
* we could obtain a false
|
|
1255
|
+
* we could obtain a false negative and then have to do needless re-rendering
|
|
1256
|
+
* (i.e. we'd say two VNodes aren't equal when in fact they should be).
|
|
1164
1257
|
*
|
|
1165
1258
|
* @param leftVNode the first VNode to check
|
|
1166
1259
|
* @param rightVNode the second VNode to check
|
|
@@ -1382,12 +1475,31 @@ const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
|
|
|
1382
1475
|
}
|
|
1383
1476
|
return slotNameAttr === '';
|
|
1384
1477
|
};
|
|
1385
|
-
|
|
1478
|
+
/**
|
|
1479
|
+
* 'Nullify' any VDom `ref` callbacks on a VDom node or its children by
|
|
1480
|
+
* calling them with `null`. This signals that the DOM element corresponding to
|
|
1481
|
+
* the VDom node has been removed from the DOM.
|
|
1482
|
+
*
|
|
1483
|
+
* @param vNode a virtual DOM node
|
|
1484
|
+
*/
|
|
1485
|
+
const nullifyVNodeRefs = (vNode) => {
|
|
1386
1486
|
{
|
|
1387
1487
|
vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
|
|
1388
|
-
vNode.$children$ && vNode.$children$.map(
|
|
1488
|
+
vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
|
|
1389
1489
|
}
|
|
1390
1490
|
};
|
|
1491
|
+
/**
|
|
1492
|
+
* The main entry point for Stencil's virtual DOM-based rendering engine
|
|
1493
|
+
*
|
|
1494
|
+
* Given a {@link d.HostRef} container and some virtual DOM nodes, this
|
|
1495
|
+
* function will handle creating a virtual DOM tree with a single root, patching
|
|
1496
|
+
* the current virtual DOM tree onto an old one (if any), dealing with slot
|
|
1497
|
+
* relocation, and reflecting attributes.
|
|
1498
|
+
*
|
|
1499
|
+
* @param hostRef data needed to root and render the virtual DOM tree, such as
|
|
1500
|
+
* the DOM node into which it should be rendered.
|
|
1501
|
+
* @param renderFnResults the virtual DOM nodes to be rendered
|
|
1502
|
+
*/
|
|
1391
1503
|
const renderVdom = (hostRef, renderFnResults) => {
|
|
1392
1504
|
const hostElm = hostRef.$hostElement$;
|
|
1393
1505
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
@@ -1510,35 +1622,84 @@ const scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
|
1510
1622
|
const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
|
|
1511
1623
|
return writeTask(dispatch) ;
|
|
1512
1624
|
};
|
|
1625
|
+
/**
|
|
1626
|
+
* Dispatch initial-render and update lifecycle hooks, enqueuing calls to
|
|
1627
|
+
* component lifecycle methods like `componentWillLoad` as well as
|
|
1628
|
+
* {@link updateComponent}, which will kick off the virtual DOM re-render.
|
|
1629
|
+
*
|
|
1630
|
+
* @param hostRef a reference to a host DOM node
|
|
1631
|
+
* @param isInitialLoad whether we're on the initial load or not
|
|
1632
|
+
* @returns an empty Promise which is used to enqueue a series of operations for
|
|
1633
|
+
* the component
|
|
1634
|
+
*/
|
|
1513
1635
|
const dispatchHooks = (hostRef, isInitialLoad) => {
|
|
1514
1636
|
const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);
|
|
1515
1637
|
const instance = hostRef.$lazyInstance$ ;
|
|
1516
|
-
|
|
1638
|
+
// We're going to use this variable together with `enqueue` to implement a
|
|
1639
|
+
// little promise-based queue. We start out with it `undefined`. When we add
|
|
1640
|
+
// the first function to the queue we'll set this variable to be that
|
|
1641
|
+
// function's return value. When we attempt to add subsequent values to the
|
|
1642
|
+
// queue we'll check that value and, if it was a `Promise`, we'll then chain
|
|
1643
|
+
// the new function off of that `Promise` using `.then()`. This will give our
|
|
1644
|
+
// queue two nice properties:
|
|
1645
|
+
//
|
|
1646
|
+
// 1. If all functions added to the queue are synchronous they'll be called
|
|
1647
|
+
// synchronously right away.
|
|
1648
|
+
// 2. If all functions added to the queue are asynchronous they'll all be
|
|
1649
|
+
// called in order after `dispatchHooks` exits.
|
|
1650
|
+
let maybePromise;
|
|
1517
1651
|
if (isInitialLoad) {
|
|
1518
1652
|
{
|
|
1519
1653
|
hostRef.$flags$ |= 256 /* HOST_FLAGS.isListenReady */;
|
|
1520
1654
|
if (hostRef.$queuedListeners$) {
|
|
1521
1655
|
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
|
|
1522
|
-
hostRef.$queuedListeners$ =
|
|
1656
|
+
hostRef.$queuedListeners$ = undefined;
|
|
1523
1657
|
}
|
|
1524
1658
|
}
|
|
1525
1659
|
{
|
|
1526
|
-
|
|
1660
|
+
// If `componentWillLoad` returns a `Promise` then we want to wait on
|
|
1661
|
+
// whatever's going on in that `Promise` before we launch into
|
|
1662
|
+
// rendering the component, doing other lifecycle stuff, etc. So
|
|
1663
|
+
// in that case we assign the returned promise to the variable we
|
|
1664
|
+
// declared above to hold a possible 'queueing' Promise
|
|
1665
|
+
maybePromise = safeCall(instance, 'componentWillLoad');
|
|
1527
1666
|
}
|
|
1528
1667
|
}
|
|
1529
1668
|
else {
|
|
1530
1669
|
{
|
|
1531
|
-
|
|
1670
|
+
// Like `componentWillLoad` above, we allow Stencil component
|
|
1671
|
+
// authors to return a `Promise` from this lifecycle callback, and
|
|
1672
|
+
// we specify that our runtime will wait for that `Promise` to
|
|
1673
|
+
// resolve before the component re-renders. So if the method
|
|
1674
|
+
// returns a `Promise` we need to keep it around!
|
|
1675
|
+
maybePromise = safeCall(instance, 'componentWillUpdate');
|
|
1532
1676
|
}
|
|
1533
1677
|
}
|
|
1534
1678
|
{
|
|
1535
|
-
|
|
1679
|
+
maybePromise = enqueue(maybePromise, () => safeCall(instance, 'componentWillRender'));
|
|
1536
1680
|
}
|
|
1537
1681
|
endSchedule();
|
|
1538
|
-
return
|
|
1682
|
+
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
1539
1683
|
};
|
|
1684
|
+
/**
|
|
1685
|
+
* This function uses a Promise to implement a simple first-in, first-out queue
|
|
1686
|
+
* of functions to be called.
|
|
1687
|
+
*
|
|
1688
|
+
* The queue is ordered on the basis of the first argument. If it's
|
|
1689
|
+
* `undefined`, then nothing is on the queue yet, so the provided function can
|
|
1690
|
+
* be called synchronously (although note that this function may return a
|
|
1691
|
+
* `Promise`). The idea is that then the return value of that enqueueing
|
|
1692
|
+
* operation is kept around, so that if it was a `Promise` then subsequent
|
|
1693
|
+
* functions can be enqueued by calling this function again with that `Promise`
|
|
1694
|
+
* as the first argument.
|
|
1695
|
+
*
|
|
1696
|
+
* @param maybePromise either a `Promise` which should resolve before the next function is called or an 'empty' sentinel
|
|
1697
|
+
* @param fn a function to enqueue
|
|
1698
|
+
* @returns either a `Promise` or the return value of the provided function
|
|
1699
|
+
*/
|
|
1700
|
+
const enqueue = (maybePromise, fn) => maybePromise instanceof Promise ? maybePromise.then(fn) : fn();
|
|
1540
1701
|
const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
1541
|
-
|
|
1702
|
+
var _a;
|
|
1542
1703
|
const elm = hostRef.$hostElement$;
|
|
1543
1704
|
const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
|
|
1544
1705
|
const rc = elm['s-rc'];
|
|
@@ -1560,7 +1721,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
1560
1721
|
endRender();
|
|
1561
1722
|
endUpdate();
|
|
1562
1723
|
{
|
|
1563
|
-
const childrenPromises = elm['s-p'];
|
|
1724
|
+
const childrenPromises = (_a = elm['s-p']) !== null && _a !== void 0 ? _a : [];
|
|
1564
1725
|
const postUpdate = () => postUpdateComponent(hostRef);
|
|
1565
1726
|
if (childrenPromises.length === 0) {
|
|
1566
1727
|
postUpdate();
|
|
@@ -1667,9 +1828,6 @@ const safeCall = (instance, method, arg) => {
|
|
|
1667
1828
|
}
|
|
1668
1829
|
return undefined;
|
|
1669
1830
|
};
|
|
1670
|
-
const then = (promise, thenFn) => {
|
|
1671
|
-
return promise && promise.then ? promise.then(thenFn) : thenFn();
|
|
1672
|
-
};
|
|
1673
1831
|
const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
1674
1832
|
;
|
|
1675
1833
|
const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
@@ -1833,9 +1991,9 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1833
1991
|
const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
|
|
1834
1992
|
// initializeComponent
|
|
1835
1993
|
if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
|
|
1994
|
+
// Let the runtime know that the component has been initialized
|
|
1995
|
+
hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
|
|
1836
1996
|
{
|
|
1837
|
-
// we haven't initialized this element yet
|
|
1838
|
-
hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
|
|
1839
1997
|
// lazy loaded components
|
|
1840
1998
|
// request the component's implementation to be
|
|
1841
1999
|
// wired up with the host element
|
|
@@ -1938,7 +2096,8 @@ const connectedCallback = (elm) => {
|
|
|
1938
2096
|
// if the slot polyfill is required we'll need to put some nodes
|
|
1939
2097
|
// in here to act as original content anchors as we move nodes around
|
|
1940
2098
|
// host element has been connected to the DOM
|
|
1941
|
-
if ((
|
|
2099
|
+
if ((// TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
|
|
2100
|
+
cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
|
|
1942
2101
|
setContentReference(elm);
|
|
1943
2102
|
}
|
|
1944
2103
|
}
|
|
@@ -2013,6 +2172,7 @@ const disconnectedCallback = (elm) => {
|
|
|
2013
2172
|
}
|
|
2014
2173
|
};
|
|
2015
2174
|
const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
2175
|
+
var _a;
|
|
2016
2176
|
const endBootstrap = createTime();
|
|
2017
2177
|
const cmpTags = [];
|
|
2018
2178
|
const exclude = options.exclude || [];
|
|
@@ -2110,6 +2270,11 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2110
2270
|
{
|
|
2111
2271
|
visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
|
|
2112
2272
|
visibilityStyle.setAttribute('data-styles', '');
|
|
2273
|
+
// Apply CSP nonce to the style tag if it exists
|
|
2274
|
+
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
2275
|
+
if (nonce != null) {
|
|
2276
|
+
visibilityStyle.setAttribute('nonce', nonce);
|
|
2277
|
+
}
|
|
2113
2278
|
head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
2114
2279
|
}
|
|
2115
2280
|
// Process deferred connectedCallbacks now all components have been registered
|
|
@@ -2160,6 +2325,13 @@ const getHostListenerTarget = (elm, flags) => {
|
|
|
2160
2325
|
};
|
|
2161
2326
|
// prettier-ignore
|
|
2162
2327
|
const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
|
|
2328
|
+
/**
|
|
2329
|
+
* Assigns the given value to the nonce property on the runtime platform object.
|
|
2330
|
+
* During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
|
|
2331
|
+
* @param nonce The value to be assigned to the platform nonce property.
|
|
2332
|
+
* @returns void
|
|
2333
|
+
*/
|
|
2334
|
+
const setNonce = (nonce) => (plt.$nonce$ = nonce);
|
|
2163
2335
|
const hostRefs = /*@__PURE__*/ new WeakMap();
|
|
2164
2336
|
const getHostRef = (ref) => hostRefs.get(ref);
|
|
2165
2337
|
const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
|
|
@@ -2200,10 +2372,6 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2200
2372
|
}
|
|
2201
2373
|
switch(bundleId) {
|
|
2202
2374
|
|
|
2203
|
-
case 'ic-alert.cjs':
|
|
2204
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2205
|
-
/* webpackMode: "lazy" */
|
|
2206
|
-
'./ic-alert.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2207
2375
|
case 'ic-back-to-top.cjs':
|
|
2208
2376
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2209
2377
|
/* webpackMode: "lazy" */
|
|
@@ -2240,6 +2408,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2240
2408
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2241
2409
|
/* webpackMode: "lazy" */
|
|
2242
2410
|
'./ic-data-row.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2411
|
+
case 'ic-dialog.cjs':
|
|
2412
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2413
|
+
/* webpackMode: "lazy" */
|
|
2414
|
+
'./ic-dialog.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2243
2415
|
case 'ic-footer.cjs':
|
|
2244
2416
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2245
2417
|
/* webpackMode: "lazy" */
|
|
@@ -2356,6 +2528,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2356
2528
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2357
2529
|
/* webpackMode: "lazy" */
|
|
2358
2530
|
'./ic-top-navigation.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2531
|
+
case 'ic-alert.cjs':
|
|
2532
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2533
|
+
/* webpackMode: "lazy" */
|
|
2534
|
+
'./ic-alert.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2359
2535
|
case 'ic-breadcrumb.cjs':
|
|
2360
2536
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2361
2537
|
/* webpackMode: "lazy" */
|
|
@@ -2434,7 +2610,9 @@ const plt = {
|
|
|
2434
2610
|
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
2435
2611
|
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
2436
2612
|
};
|
|
2437
|
-
const supportsShadow =
|
|
2613
|
+
const supportsShadow =
|
|
2614
|
+
// TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
|
|
2615
|
+
true;
|
|
2438
2616
|
const promiseResolve = (v) => Promise.resolve(v);
|
|
2439
2617
|
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
2440
2618
|
try {
|
|
@@ -2496,5 +2674,6 @@ exports.getElement = getElement;
|
|
|
2496
2674
|
exports.h = h;
|
|
2497
2675
|
exports.promiseResolve = promiseResolve;
|
|
2498
2676
|
exports.registerInstance = registerInstance;
|
|
2677
|
+
exports.setNonce = setNonce;
|
|
2499
2678
|
|
|
2500
|
-
//# sourceMappingURL=index-
|
|
2679
|
+
//# sourceMappingURL=index-014e3058.js.map
|