@ukic/web-components 2.18.1 → 2.19.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{helpers-3e526fb8.js → helpers-88e018cf.js} +13 -2
- package/dist/{core/p-6088297e.js.map → cjs/helpers-88e018cf.js.map} +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +3 -10
- package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +34 -85
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +25 -2
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +1 -1
- package/dist/cjs/ic-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +33 -15
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +26 -5
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
- package/dist/cjs/ic-pagination-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-pagination.cjs.entry.js +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +40 -26
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +9 -4
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
- package/dist/cjs/ic-select.cjs.entry.js +24 -6
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +5 -2
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +2 -1
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +1 -1
- package/dist/cjs/ic-text-field.cjs.entry.js +26 -7
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +3 -10
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/types-dc22e301.js.map +1 -1
- package/dist/collection/components/ic-badge/ic-badge.js +5 -12
- package/dist/collection/components/ic-badge/ic-badge.js.map +1 -1
- package/dist/collection/components/ic-badge/ic-badge.types.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.js +32 -83
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-chip/ic-chip.css +4 -3
- package/dist/collection/components/ic-chip/ic-chip.js +51 -1
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +44 -0
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -1
- package/dist/collection/components/ic-link/ic-link.js +33 -15
- package/dist/collection/components/ic-link/ic-link.js.map +1 -1
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +12 -0
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +6 -2
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +26 -5
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
- package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +11 -0
- package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +39 -25
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +30 -0
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -1
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +32 -3
- package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select.js +24 -6
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +11 -0
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -1
- package/dist/collection/components/ic-step/ic-step.css +93 -1
- package/dist/collection/components/ic-step/ic-step.js +3 -0
- package/dist/collection/components/ic-step/ic-step.js.map +1 -1
- package/dist/collection/components/ic-stepper/ic-stepper.js +19 -0
- package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +18 -0
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -1
- package/dist/collection/components/ic-text-field/ic-text-field.js +26 -7
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js +12 -0
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +1 -1
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +11 -0
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -1
- package/dist/collection/components/ic-theme/ic-theme.js +3 -10
- package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
- package/dist/collection/utils/helpers.js +11 -0
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/helpers.js +12 -1
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-badge.js +3 -10
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-button2.js +33 -84
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js +1 -1
- package/dist/components/ic-checkbox-group.js +1 -1
- package/dist/components/ic-checkbox.js +1 -1
- package/dist/components/ic-chip.js +29 -3
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-link2.js +34 -16
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js +1 -1
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-item2.js +1 -1
- package/dist/components/ic-navigation-button.js +27 -6
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +1 -1
- package/dist/components/ic-pagination.js +1 -1
- package/dist/components/ic-radio-group.js +40 -26
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +11 -5
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +1 -1
- package/dist/components/ic-select.js +25 -7
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-step.js +4 -1
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js +2 -0
- package/dist/components/ic-stepper.js.map +1 -1
- package/dist/components/ic-switch.js +1 -1
- package/dist/components/ic-tab.js +1 -1
- package/dist/components/ic-text-field2.js +27 -8
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +3 -10
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-toggle-button.js +1 -1
- package/dist/components/types.js.map +1 -1
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-00c21dd7.entry.js +2 -0
- package/dist/core/p-00c21dd7.entry.js.map +1 -0
- package/dist/core/{p-d34959e1.entry.js → p-02ad4585.entry.js} +2 -2
- package/dist/core/{p-7559d77c.entry.js → p-03796d51.entry.js} +2 -2
- package/dist/core/p-04cc2b25.entry.js +2 -0
- package/dist/core/p-04cc2b25.entry.js.map +1 -0
- package/dist/core/{p-97b805cb.entry.js → p-051583a5.entry.js} +2 -2
- package/dist/core/p-078f7f23.entry.js +2 -0
- package/dist/core/p-078f7f23.entry.js.map +1 -0
- package/dist/core/p-0c097626.entry.js +2 -0
- package/dist/core/p-0c097626.entry.js.map +1 -0
- package/dist/core/{p-e16edd06.entry.js → p-1197f0d4.entry.js} +2 -2
- package/dist/core/{p-ec7bf9d3.entry.js → p-1a6fab3e.entry.js} +2 -2
- package/dist/core/p-1b1270a1.entry.js +2 -0
- package/dist/core/p-1b1270a1.entry.js.map +1 -0
- package/dist/core/{p-2d753f6e.entry.js → p-1c3b619f.entry.js} +2 -2
- package/dist/core/p-24bed047.entry.js +2 -0
- package/dist/core/{p-8560228f.entry.js.map → p-24bed047.entry.js.map} +1 -1
- package/dist/core/p-26b7b18f.js.map +1 -1
- package/dist/core/{p-2b58ca8d.entry.js → p-2b326b17.entry.js} +2 -2
- package/dist/core/{p-739c0dc6.entry.js → p-2d4e7985.entry.js} +2 -2
- package/dist/core/p-2d4e7985.entry.js.map +1 -0
- package/dist/core/p-2f91e86a.entry.js +2 -0
- package/dist/core/p-2f91e86a.entry.js.map +1 -0
- package/dist/core/{p-b6a6c89f.entry.js → p-328bc6a2.entry.js} +2 -2
- package/dist/core/{p-e1239a95.entry.js → p-32e2ae6f.entry.js} +2 -2
- package/dist/core/{p-8846ae12.entry.js → p-346578e4.entry.js} +2 -2
- package/dist/core/{p-217cbca5.entry.js → p-3f53446c.entry.js} +2 -2
- package/dist/core/p-44ea7a6d.entry.js +2 -0
- package/dist/core/p-44ea7a6d.entry.js.map +1 -0
- package/dist/core/{p-6b88deb8.entry.js → p-498273cb.entry.js} +2 -2
- package/dist/core/{p-b12d380e.entry.js → p-4f3fe190.entry.js} +2 -2
- package/dist/core/{p-e7c303c1.entry.js → p-52a4c223.entry.js} +2 -2
- package/dist/core/p-52a4c223.entry.js.map +1 -0
- package/dist/core/{p-bb9d3d13.entry.js → p-5481b048.entry.js} +2 -2
- package/dist/core/{p-8f3f9566.entry.js → p-692ccc73.entry.js} +2 -2
- package/dist/core/{p-9aa9af2c.entry.js → p-6f9dcfb5.entry.js} +2 -2
- package/dist/core/{p-9637066f.entry.js → p-731515cf.entry.js} +2 -2
- package/dist/core/p-74f9082d.entry.js +2 -0
- package/dist/core/{p-84355a36.entry.js.map → p-74f9082d.entry.js.map} +1 -1
- package/dist/core/{p-71756d3b.entry.js → p-8153def1.entry.js} +2 -2
- package/dist/core/{p-8053ad3f.entry.js → p-8b65be1e.entry.js} +2 -2
- package/dist/core/{p-8e0be26c.entry.js → p-8e37e832.entry.js} +2 -2
- package/dist/core/{p-1e2a0991.entry.js → p-8ed04819.entry.js} +2 -2
- package/dist/core/p-8fe2b073.entry.js +2 -0
- package/dist/core/{p-855ee8f9.entry.js.map → p-8fe2b073.entry.js.map} +1 -1
- package/dist/core/{p-280077b1.entry.js → p-9f29ab99.entry.js} +2 -2
- package/dist/core/p-a13236ef.entry.js +2 -0
- package/dist/core/{p-2bf36b00.entry.js.map → p-a13236ef.entry.js.map} +1 -1
- package/dist/core/{p-9939eaf8.entry.js → p-adf468f4.entry.js} +2 -2
- package/dist/core/{p-06df74da.entry.js → p-af5eacc1.entry.js} +2 -2
- package/dist/core/{p-d932577f.entry.js → p-b451f27c.entry.js} +2 -2
- package/dist/core/{p-6e3aa59a.entry.js → p-ba1c3cf7.entry.js} +2 -2
- package/dist/core/{p-7599e6a9.entry.js → p-ba40f44a.entry.js} +2 -2
- package/dist/core/p-bceaf300.entry.js +2 -0
- package/dist/core/p-bceaf300.entry.js.map +1 -0
- package/dist/core/p-c3acbefe.entry.js +2 -0
- package/dist/core/p-c3acbefe.entry.js.map +1 -0
- package/dist/core/{p-5e5a29a4.entry.js → p-c919c571.entry.js} +2 -2
- package/dist/core/p-d19d157d.entry.js +2 -0
- package/dist/core/p-d19d157d.entry.js.map +1 -0
- package/dist/core/{p-56352316.entry.js → p-d7f4779d.entry.js} +2 -2
- package/dist/core/{p-6088297e.js → p-e4d0d1fb.js} +2 -2
- package/dist/core/p-e4d0d1fb.js.map +1 -0
- package/dist/core/{p-924495ee.entry.js → p-e5957ce0.entry.js} +2 -2
- package/dist/core/{p-b9c53ac1.entry.js → p-e68485ee.entry.js} +2 -2
- package/dist/core/{p-db78e715.entry.js → p-e8e0fa96.entry.js} +2 -2
- package/dist/core/{p-2ff18bd8.entry.js → p-f50a57f3.entry.js} +2 -2
- package/dist/core/p-f8df0716.entry.js +2 -0
- package/dist/core/{p-4de169ff.entry.js.map → p-f8df0716.entry.js.map} +1 -1
- package/dist/core/{p-ca7ca3b8.entry.js → p-fd737b7e.entry.js} +2 -2
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-b6bbde90.js → helpers-24ba0b83.js} +13 -2
- package/dist/esm/helpers-24ba0b83.js.map +1 -0
- package/dist/esm/ic-accordion.entry.js +1 -1
- package/dist/esm/ic-alert.entry.js +1 -1
- package/dist/esm/ic-back-to-top.entry.js +1 -1
- package/dist/esm/ic-badge.entry.js +3 -10
- package/dist/esm/ic-badge.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +1 -1
- package/dist/esm/ic-button_3.entry.js +34 -85
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +1 -1
- package/dist/esm/ic-checkbox.entry.js +1 -1
- package/dist/esm/ic-chip.entry.js +25 -2
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +1 -1
- package/dist/esm/ic-dialog.entry.js +1 -1
- package/dist/esm/ic-divider.entry.js +1 -1
- package/dist/esm/ic-empty-state.entry.js +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +1 -1
- package/dist/esm/ic-footer-link.entry.js +1 -1
- package/dist/esm/ic-footer.entry.js +1 -1
- package/dist/esm/ic-hero.entry.js +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +1 -1
- package/dist/esm/ic-input-label_2.entry.js +1 -1
- package/dist/esm/ic-link.entry.js +34 -16
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +1 -1
- package/dist/esm/ic-menu-item.entry.js +1 -1
- package/dist/esm/ic-navigation-button.entry.js +27 -6
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +1 -1
- package/dist/esm/ic-navigation-item.entry.js +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +1 -1
- package/dist/esm/ic-page-header.entry.js +1 -1
- package/dist/esm/ic-pagination-item.entry.js +1 -1
- package/dist/esm/ic-pagination.entry.js +1 -1
- package/dist/esm/ic-popover-menu.entry.js +1 -1
- package/dist/esm/ic-radio-group.entry.js +40 -26
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +9 -4
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +1 -1
- package/dist/esm/ic-select.entry.js +25 -7
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +1 -1
- package/dist/esm/ic-status-tag.entry.js +1 -1
- package/dist/esm/ic-step.entry.js +5 -2
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +2 -1
- package/dist/esm/ic-stepper.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +1 -1
- package/dist/esm/ic-tab-group.entry.js +1 -1
- package/dist/esm/ic-tab-panel.entry.js +1 -1
- package/dist/esm/ic-tab.entry.js +1 -1
- package/dist/esm/ic-text-field.entry.js +27 -8
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +3 -10
- package/dist/esm/ic-theme.entry.js.map +1 -1
- package/dist/esm/ic-toast.entry.js +1 -1
- package/dist/esm/ic-toggle-button.entry.js +1 -1
- package/dist/esm/ic-top-navigation.entry.js +1 -1
- package/dist/esm/ic-typography.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/types-6f6b41a5.js.map +1 -1
- package/dist/types/components/ic-badge/ic-badge.d.ts +2 -2
- package/dist/types/components/ic-badge/ic-badge.types.d.ts +0 -5
- package/dist/types/components/ic-button/ic-button.d.ts +2 -10
- package/dist/types/components/ic-chip/ic-chip.d.ts +8 -1
- package/dist/types/components/ic-link/ic-link.d.ts +6 -2
- package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +3 -0
- package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +3 -0
- package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +4 -0
- package/dist/types/components/ic-select/ic-select.d.ts +2 -0
- package/dist/types/components/ic-stepper/ic-stepper.d.ts +4 -0
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +2 -0
- package/dist/types/components.d.ts +21 -4
- package/dist/types/utils/helpers.d.ts +2 -1
- package/dist/types/utils/types.d.ts +5 -0
- package/hydrate/index.js +213 -162
- package/package.json +2 -2
- package/vscode-data.json +16 -0
- package/dist/cjs/helpers-3e526fb8.js.map +0 -1
- package/dist/core/p-06dcdfff.entry.js +0 -2
- package/dist/core/p-06dcdfff.entry.js.map +0 -1
- package/dist/core/p-28dfe4a3.entry.js +0 -2
- package/dist/core/p-28dfe4a3.entry.js.map +0 -1
- package/dist/core/p-2bf36b00.entry.js +0 -2
- package/dist/core/p-2c1d7440.entry.js +0 -2
- package/dist/core/p-2c1d7440.entry.js.map +0 -1
- package/dist/core/p-4851e1a7.entry.js +0 -2
- package/dist/core/p-4851e1a7.entry.js.map +0 -1
- package/dist/core/p-4de169ff.entry.js +0 -2
- package/dist/core/p-4ebf2e93.entry.js +0 -2
- package/dist/core/p-4ebf2e93.entry.js.map +0 -1
- package/dist/core/p-5eb3d65a.entry.js +0 -2
- package/dist/core/p-5eb3d65a.entry.js.map +0 -1
- package/dist/core/p-653f38a3.entry.js +0 -2
- package/dist/core/p-653f38a3.entry.js.map +0 -1
- package/dist/core/p-739c0dc6.entry.js.map +0 -1
- package/dist/core/p-84355a36.entry.js +0 -2
- package/dist/core/p-855ee8f9.entry.js +0 -2
- package/dist/core/p-8560228f.entry.js +0 -2
- package/dist/core/p-aa1d2c11.entry.js +0 -2
- package/dist/core/p-aa1d2c11.entry.js.map +0 -1
- package/dist/core/p-b602729a.entry.js +0 -2
- package/dist/core/p-b602729a.entry.js.map +0 -1
- package/dist/core/p-e3a47979.entry.js +0 -2
- package/dist/core/p-e3a47979.entry.js.map +0 -1
- package/dist/core/p-e7c303c1.entry.js.map +0 -1
- package/dist/esm/helpers-b6bbde90.js.map +0 -1
- /package/dist/core/{p-d34959e1.entry.js.map → p-02ad4585.entry.js.map} +0 -0
- /package/dist/core/{p-7559d77c.entry.js.map → p-03796d51.entry.js.map} +0 -0
- /package/dist/core/{p-97b805cb.entry.js.map → p-051583a5.entry.js.map} +0 -0
- /package/dist/core/{p-e16edd06.entry.js.map → p-1197f0d4.entry.js.map} +0 -0
- /package/dist/core/{p-ec7bf9d3.entry.js.map → p-1a6fab3e.entry.js.map} +0 -0
- /package/dist/core/{p-2d753f6e.entry.js.map → p-1c3b619f.entry.js.map} +0 -0
- /package/dist/core/{p-2b58ca8d.entry.js.map → p-2b326b17.entry.js.map} +0 -0
- /package/dist/core/{p-b6a6c89f.entry.js.map → p-328bc6a2.entry.js.map} +0 -0
- /package/dist/core/{p-e1239a95.entry.js.map → p-32e2ae6f.entry.js.map} +0 -0
- /package/dist/core/{p-8846ae12.entry.js.map → p-346578e4.entry.js.map} +0 -0
- /package/dist/core/{p-217cbca5.entry.js.map → p-3f53446c.entry.js.map} +0 -0
- /package/dist/core/{p-6b88deb8.entry.js.map → p-498273cb.entry.js.map} +0 -0
- /package/dist/core/{p-b12d380e.entry.js.map → p-4f3fe190.entry.js.map} +0 -0
- /package/dist/core/{p-bb9d3d13.entry.js.map → p-5481b048.entry.js.map} +0 -0
- /package/dist/core/{p-8f3f9566.entry.js.map → p-692ccc73.entry.js.map} +0 -0
- /package/dist/core/{p-9aa9af2c.entry.js.map → p-6f9dcfb5.entry.js.map} +0 -0
- /package/dist/core/{p-9637066f.entry.js.map → p-731515cf.entry.js.map} +0 -0
- /package/dist/core/{p-71756d3b.entry.js.map → p-8153def1.entry.js.map} +0 -0
- /package/dist/core/{p-8053ad3f.entry.js.map → p-8b65be1e.entry.js.map} +0 -0
- /package/dist/core/{p-8e0be26c.entry.js.map → p-8e37e832.entry.js.map} +0 -0
- /package/dist/core/{p-1e2a0991.entry.js.map → p-8ed04819.entry.js.map} +0 -0
- /package/dist/core/{p-280077b1.entry.js.map → p-9f29ab99.entry.js.map} +0 -0
- /package/dist/core/{p-9939eaf8.entry.js.map → p-adf468f4.entry.js.map} +0 -0
- /package/dist/core/{p-06df74da.entry.js.map → p-af5eacc1.entry.js.map} +0 -0
- /package/dist/core/{p-d932577f.entry.js.map → p-b451f27c.entry.js.map} +0 -0
- /package/dist/core/{p-6e3aa59a.entry.js.map → p-ba1c3cf7.entry.js.map} +0 -0
- /package/dist/core/{p-7599e6a9.entry.js.map → p-ba40f44a.entry.js.map} +0 -0
- /package/dist/core/{p-5e5a29a4.entry.js.map → p-c919c571.entry.js.map} +0 -0
- /package/dist/core/{p-56352316.entry.js.map → p-d7f4779d.entry.js.map} +0 -0
- /package/dist/core/{p-924495ee.entry.js.map → p-e5957ce0.entry.js.map} +0 -0
- /package/dist/core/{p-b9c53ac1.entry.js.map → p-e68485ee.entry.js.map} +0 -0
- /package/dist/core/{p-db78e715.entry.js.map → p-e8e0fa96.entry.js.map} +0 -0
- /package/dist/core/{p-2ff18bd8.entry.js.map → p-f50a57f3.entry.js.map} +0 -0
- /package/dist/core/{p-ca7ca3b8.entry.js.map → p-fd737b7e.entry.js.map} +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-f982899d.js');
|
6
|
-
const helpers = require('./helpers-
|
6
|
+
const helpers = require('./helpers-88e018cf.js');
|
7
7
|
const types = require('./types-dc22e301.js');
|
8
8
|
const popper = require('./popper-31badbf8.js');
|
9
9
|
|
@@ -39,24 +39,16 @@ const Button = class {
|
|
39
39
|
this.describedById = null;
|
40
40
|
this.mutationObserver = null;
|
41
41
|
this.hostMutationObserver = null;
|
42
|
-
this.setViewBox = () => {
|
43
|
-
let iconEl;
|
44
|
-
if (this.hasLeftIconSlot()) {
|
45
|
-
iconEl = this.el.querySelector(`[slot="left-icon"]`);
|
46
|
-
}
|
47
|
-
else if (this.hasRightIconSlot()) {
|
48
|
-
iconEl = this.el.querySelector(`[slot="right-icon"]`);
|
49
|
-
}
|
50
|
-
else {
|
51
|
-
iconEl = null;
|
52
|
-
}
|
53
|
-
return iconEl;
|
54
|
-
};
|
55
42
|
this.handleClick = () => {
|
56
43
|
if ((this.el.type === "submit" || this.el.type === "reset") &&
|
57
44
|
!this.hasRouterSlot() &&
|
58
45
|
!!this.el.closest("FORM")) {
|
59
|
-
|
46
|
+
const hiddenFormButton = document.createElement("button");
|
47
|
+
hiddenFormButton.setAttribute("type", this.el.type);
|
48
|
+
hiddenFormButton.style.display = "none";
|
49
|
+
this.el.closest("FORM").appendChild(hiddenFormButton);
|
50
|
+
hiddenFormButton.click();
|
51
|
+
hiddenFormButton.remove();
|
60
52
|
}
|
61
53
|
};
|
62
54
|
this.onFocus = () => {
|
@@ -65,11 +57,6 @@ const Button = class {
|
|
65
57
|
this.onBlur = () => {
|
66
58
|
this.icBlur.emit();
|
67
59
|
};
|
68
|
-
this.loadingWidth = () => {
|
69
|
-
if (this.loading) {
|
70
|
-
this.el.style.setProperty("--min-width", `${this.el.getBoundingClientRect().width}px`);
|
71
|
-
}
|
72
|
-
};
|
73
60
|
// triggered when text content of sibling element in light DOM changes
|
74
61
|
this.mutationCallback = () => {
|
75
62
|
this.describedByContent = this.describedByEl.innerText;
|
@@ -96,23 +83,6 @@ const Button = class {
|
|
96
83
|
this.hasTooltip =
|
97
84
|
!this.disableTooltip && (!!this.title || this.variant === "icon");
|
98
85
|
};
|
99
|
-
// file explorer is only opened if the property fileUpload is set to 'true'
|
100
|
-
this.openFileExplorer = () => {
|
101
|
-
helpers.renderFileHiddenInput(this.icFileSelection, this.el, this.multiple, this.fileInputName, this.selectedFiles, this.disabled, this.accept);
|
102
|
-
};
|
103
|
-
this.isTooltipSilent = () => {
|
104
|
-
if (this.variant === "icon") {
|
105
|
-
if (this.title)
|
106
|
-
return true;
|
107
|
-
else if (this.ariaLabel)
|
108
|
-
return true;
|
109
|
-
else
|
110
|
-
return false;
|
111
|
-
}
|
112
|
-
else {
|
113
|
-
return false;
|
114
|
-
}
|
115
|
-
};
|
116
86
|
this.ariaLabel = null;
|
117
87
|
this.describedByContent = null;
|
118
88
|
this.title = null;
|
@@ -161,29 +131,26 @@ const Button = class {
|
|
161
131
|
}
|
162
132
|
}
|
163
133
|
componentWillUpdate() {
|
164
|
-
this.
|
134
|
+
if (this.loading) {
|
135
|
+
this.el.style.setProperty("--min-width", `${this.el.getBoundingClientRect().width}px`);
|
136
|
+
}
|
165
137
|
this.setHasTooltip();
|
166
138
|
}
|
167
139
|
componentWillLoad() {
|
168
|
-
const
|
169
|
-
...helpers.IC_INHERITED_ARIA,
|
170
|
-
"title",
|
171
|
-
]);
|
172
|
-
const { title, "aria-label": ariaLabel } = allInheritedAttributes, restInheritedAttributes = __rest(allInheritedAttributes, ["title", "aria-label"]);
|
140
|
+
const _a = helpers.inheritAttributes(this.el, [...helpers.IC_INHERITED_ARIA, "title"]), { title, "aria-label": ariaLabel } = _a, restInheritedAttributes = __rest(_a, ["title", "aria-label"]);
|
173
141
|
this.title = title;
|
174
142
|
this.ariaLabel = ariaLabel;
|
175
143
|
this.inheritedAttributes = restInheritedAttributes;
|
176
144
|
helpers.removeDisabledFalse(this.disabled, this.el);
|
177
145
|
this.el.setAttribute("exportparts", "button");
|
178
|
-
|
179
|
-
this.id = id !== undefined ? id : null;
|
146
|
+
this.id = this.el.id || null;
|
180
147
|
this.setHasTooltip();
|
181
148
|
if (!this.hasTooltip) {
|
182
149
|
const describedById = this.inheritedAttributes["aria-describedby"];
|
183
150
|
if (describedById !== undefined) {
|
184
151
|
this.describedById = describedById;
|
185
152
|
const el = this.el.parentElement.querySelector(`#${describedById}`);
|
186
|
-
if (el
|
153
|
+
if (el) {
|
187
154
|
this.describedByContent = el.innerText;
|
188
155
|
this.describedByEl = el;
|
189
156
|
}
|
@@ -208,13 +175,17 @@ const Button = class {
|
|
208
175
|
}
|
209
176
|
}
|
210
177
|
componentWillRender() {
|
211
|
-
|
212
|
-
|
178
|
+
const iconEl = this.hasIconSlot("left")
|
179
|
+
? this.el.querySelector(`[slot="left-icon"]`)
|
180
|
+
: this.hasIconSlot("right")
|
181
|
+
? this.el.querySelector(`[slot="right-icon"]`)
|
182
|
+
: null;
|
183
|
+
iconEl === null || iconEl === void 0 ? void 0 : iconEl.setAttribute("viewBox", "0 0 24 24");
|
213
184
|
}
|
214
185
|
handleHostClick(event) {
|
215
186
|
if (!this.hasRouterSlot()) {
|
216
187
|
if (this.fileUpload) {
|
217
|
-
this.
|
188
|
+
helpers.renderFileHiddenInput(this.icFileSelection, this.el, this.multiple, this.fileInputName, this.selectedFiles, this.disabled, this.accept);
|
218
189
|
}
|
219
190
|
if (this.disabled || this.loading) {
|
220
191
|
event.stopImmediatePropagation();
|
@@ -224,33 +195,19 @@ const Button = class {
|
|
224
195
|
}
|
225
196
|
}
|
226
197
|
}
|
227
|
-
themeChangeHandler(
|
228
|
-
|
229
|
-
this.updateTheme(theme.mode);
|
198
|
+
themeChangeHandler({ detail }) {
|
199
|
+
this.updateTheme(detail.mode);
|
230
200
|
}
|
231
201
|
/**
|
232
202
|
* Sets focus on the native `button`.
|
233
203
|
*/
|
234
204
|
async setFocus() {
|
235
|
-
|
236
|
-
|
237
|
-
}
|
238
|
-
}
|
239
|
-
hasIconSlot() {
|
240
|
-
const iconEl = this.el.querySelector(`[slot="icon"]`);
|
241
|
-
return iconEl !== null;
|
242
|
-
}
|
243
|
-
hasLeftIconSlot() {
|
244
|
-
const iconEl = this.el.querySelector(`[slot="left-icon"]`);
|
245
|
-
return iconEl !== null;
|
246
|
-
}
|
247
|
-
hasTopIconSlot() {
|
248
|
-
const iconEl = this.el.querySelector(`[slot="top-icon"]`);
|
249
|
-
return iconEl !== null;
|
205
|
+
var _a;
|
206
|
+
(_a = this.buttonEl) === null || _a === void 0 ? void 0 : _a.focus();
|
250
207
|
}
|
251
|
-
|
252
|
-
const
|
253
|
-
return
|
208
|
+
hasIconSlot(position) {
|
209
|
+
const selectorPrefix = position ? `${position}-` : "";
|
210
|
+
return this.el.querySelector(`[slot="${selectorPrefix}icon"]`) !== null;
|
254
211
|
}
|
255
212
|
hasRouterSlot() {
|
256
213
|
this.routerSlot = this.el.querySelector('[slot="router-item"]');
|
@@ -259,16 +216,8 @@ const Button = class {
|
|
259
216
|
}
|
260
217
|
return !!this.routerSlot;
|
261
218
|
}
|
262
|
-
handleHiddenFormButtonClick(form) {
|
263
|
-
const hiddenFormButton = document.createElement("button");
|
264
|
-
hiddenFormButton.setAttribute("type", this.el.type);
|
265
|
-
hiddenFormButton.style.display = "none";
|
266
|
-
form.appendChild(hiddenFormButton);
|
267
|
-
hiddenFormButton.click();
|
268
|
-
hiddenFormButton.remove();
|
269
|
-
}
|
270
219
|
updateTheme(newTheme = null) {
|
271
|
-
const foregroundColor = helpers.getThemeFromContext(this.el, newTheme
|
220
|
+
const foregroundColor = helpers.getThemeFromContext(this.el, newTheme);
|
272
221
|
if (foregroundColor !== types.IcThemeForegroundEnum.Default) {
|
273
222
|
this.appearance = foregroundColor;
|
274
223
|
}
|
@@ -311,15 +260,15 @@ const Button = class {
|
|
311
260
|
describedBy = this.describedById;
|
312
261
|
}
|
313
262
|
const ButtonContent = () => {
|
314
|
-
return (index.h(TagType, Object.assign({ class: "button", "aria-disabled": this.loading || this.disabled ? "true" : null, "aria-label": this.loading ? "Loading" : ariaLabel, "aria-expanded": this.dropdown && `${this.dropdownExpanded}` }, buttonAttrs, inheritedAttributes, { onFocus: this.onFocus, onBlur: this.onBlur, ref: (el) => (this.buttonEl = el), "aria-describedby": describedBy, part: "button" }), this.hasIconSlot() && !this.loading && (index.h("div", { class: "icon-container" }, index.h("slot", { name: "icon" }))), this.
|
315
|
-
!this.
|
316
|
-
!this.
|
263
|
+
return (index.h(TagType, Object.assign({ class: "button", "aria-disabled": this.loading || this.disabled ? "true" : null, "aria-label": this.loading ? "Loading" : ariaLabel, "aria-expanded": this.dropdown && `${this.dropdownExpanded}` }, buttonAttrs, inheritedAttributes, { onFocus: this.onFocus, onBlur: this.onBlur, ref: (el) => (this.buttonEl = el), "aria-describedby": describedBy, part: "button" }), this.hasIconSlot() && !this.loading && (index.h("div", { class: "icon-container" }, index.h("slot", { name: "icon" }))), this.hasIconSlot("left") && !this.loading && (index.h("div", { class: "icon-container" }, index.h("slot", { name: "left-icon" }))), this.hasIconSlot("top") &&
|
264
|
+
!this.hasIconSlot("left") &&
|
265
|
+
!this.hasIconSlot("right") &&
|
317
266
|
!this.loading && (index.h("div", { class: "icon-container" }, index.h("slot", { name: "top-icon" }))), this.loading ? (index.h("div", { class: "loading-container" }, index.h("ic-loading-indicator", { type: "linear", appearance: this.variant === "primary" ||
|
318
267
|
this.variant === "destructive" ||
|
319
268
|
this.appearance === types.IcThemeForegroundEnum.Dark ||
|
320
269
|
this.appearance === types.IcThemeForegroundEnum.Light
|
321
270
|
? "light"
|
322
|
-
: "dark" }))) : (index.h("slot", null)), this.
|
271
|
+
: "dark" }))) : (index.h("slot", null)), this.hasIconSlot("right") && !this.loading && !this.dropdown && (index.h("div", { class: { "icon-container": true, "right-icon": true } }, index.h("slot", { name: "right-icon" }))), this.dropdown &&
|
323
272
|
!this.loading &&
|
324
273
|
this.variant !== "icon" &&
|
325
274
|
this.variant !== "destructive" && (index.h("span", { class: {
|
@@ -343,7 +292,7 @@ const Button = class {
|
|
343
292
|
["white-background"]: this.variant === "secondary" &&
|
344
293
|
!this.transparentBackground &&
|
345
294
|
this.appearance !== "light",
|
346
|
-
}, onClick: this.handleClick, "aria-owns": this.ariaOwnsId, "aria-controls": this.ariaControlsId, "aria-expanded": this.dropdown && `${this.dropdownExpanded}` }, this.hasTooltip && (index.h("ic-tooltip", { id: describedBy, label: title || ariaLabel, target: buttonId, placement: this.tooltipPlacement, silent: this.
|
295
|
+
}, onClick: this.handleClick, "aria-owns": this.ariaOwnsId, "aria-controls": this.ariaControlsId, "aria-expanded": this.dropdown && `${this.dropdownExpanded}` }, this.hasTooltip && (index.h("ic-tooltip", { id: describedBy, label: title || ariaLabel, target: buttonId, placement: this.tooltipPlacement, silent: this.variant === "icon" && (!!title || !!ariaLabel) }, this.hasRouterSlot() ? (index.h("slot", { name: "router-item" })) : (index.h(ButtonContent, null)))), helpers.isSlotUsed(this.el, "badge") && index.h("slot", { name: "badge" }), !this.hasTooltip &&
|
347
296
|
(this.hasRouterSlot() ? (index.h("slot", { name: "router-item" })) : (index.h(ButtonContent, null))), this.describedByContent && (index.h("span", { id: describedBy, class: "ic-button-describedby" }, this.describedByContent))));
|
348
297
|
}
|
349
298
|
static get delegatesFocus() { return true; }
|
@@ -354,7 +303,7 @@ const Button = class {
|
|
354
303
|
};
|
355
304
|
Button.style = icButtonCss;
|
356
305
|
|
357
|
-
const icLoadingIndicatorCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--linear-border-radius:0.25rem;--inner-color:var(--ic-action-default);--outer-color:var(--ic-architectural-100);--label-color:var(--ic-color-primary-text);--margin:none;--linear-line-height:var(--ic-space-xs)}:host(.light){--inner-color:var(--ic-architectural-white);--outer-color:var(--ic-architectural-800);--label-color:var(--ic-architectural-white)}.ic-loading-container{display:flex;flex-direction:column;justify-content:center;align-items:center}:host([size=\"small\"]){--circular-diameter:2.5rem;--linear-line-height:var(--ic-space-xxs)}:host([size=\"default\"]){--circular-diameter:5rem}:host([size=\"large\"]){--circular-diameter:7.5rem}:host([size=\"icon\"]){display:inline-block;--margin:var(--ic-space-xxxs);--circular-diameter:1.25rem}:host(.label){--margin:0 0 var(--ic-space-xs) 0}.ic-loading-label{white-space:nowrap;color:var(--label-color);margin-left:var(--label-margin-left)}.ic-loading-circular-outer{height:var(--circular-diameter);width:var(--circular-diameter)}.ic-loading-circular-outer.indeterminate{animation:circular-animation 1s linear;animation-iteration-count:infinite}@keyframes circular-animation{100%{transform:rotate(360deg)}}.ic-loading-circular-outer,.ic-loading-linear-outer{margin:var(--margin)}.ic-loading-linear-outer{background-color:var(--outer-color);height:var(--linear-line-height);width:100%;border-radius:var(--linear-border-radius);overflow:hidden}.ic-loading-linear-inner{position:relative;height:100%;background-color:var(--inner-color);border-radius:var(--linear-border-radius)}.indeterminate>.ic-loading-linear-inner{animation:linear-animation 2s infinite}.determinate>.ic-loading-linear-inner{transition:width 0.5s;width:var(--linear-width)}:host(.full-width){--linear-border-radius:none}@keyframes linear-animation{0%{width:0%;left:-1%}25%{width:0%;left:-1%}50%{width:101%;left:-1%}75%{width:0%;left:101%}100%{width:0%;left:101%}}.ic-loading-circular-svg{position:relative;width:100%;height:100%;transform:rotate(-90deg)}.ic-loading-circular-svg circle{width:100%;height:100%;fill:none;stroke:var(--outer-color);stroke-width:var(--circular-line-width);stroke-linecap:round}.ic-loading-circular-svg circle:nth-child(2){--circular-indeterminate:calc(\n (0.25 * var(--stroke-dasharray)) - var(--stroke-dasharray)\n );stroke-dasharray:var(--stroke-dasharray), var(--stroke-dasharray);stroke-dashoffset:var(--stroke-dashoffset, var(--circular-indeterminate));stroke:var(--compact-step-inner-color, var(--inner-color))}:host(.inner-label) .ic-loading-circular-inner{display:grid}:host(.inner-label) .ic-loading-circular-svg,.inner-text{grid-column:1;grid-row:1}:host(.not-required.compact-step-progress-indicator) .ic-loading-circular-svg circle:nth-child(2){stroke:var(--ic-architectural-300)}.inner-text{display:flex;align-items:center;justify-content:center;width:var(--ic-space-lg);height:inherit;overflow:hidden;margin:auto;color:var(--ic-status-info)}:host(.not-required.compact-step-progress-indicator) .inner-text{color:var(--ic-color-tertiary-text)}@media (forced-colors: active){.indeterminate>.ic-loading-circular-inner{forced-color-adjust:none}.ic-loading-linear-outer{border:var(--ic-hc-border)}.ic-loading-linear-inner{background-color:canvastext}.ic-loading-circular-svg circle{stroke:Background}.ic-loading-circular-svg circle:nth-child(2){stroke:canvastext}:host(.not-required.compact-step-progress-indicator) .ic-loading-circular-svg circle:nth-child(2){stroke:GrayText}}";
|
306
|
+
const icLoadingIndicatorCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--linear-border-radius:0.25rem;--inner-color:var(--ic-action-default);--outer-color:var(--ic-architectural-100);--label-color:var(--ic-color-primary-text);--margin:none;--linear-line-height:var(--ic-space-xs)}:host(.light){--inner-color:var(--ic-architectural-white);--outer-color:var(--ic-architectural-800);--label-color:var(--ic-architectural-white)}.ic-loading-container{display:flex;flex-direction:column;justify-content:center;align-items:center}:host([size=\"small\"]){--circular-diameter:2.5rem;--linear-line-height:var(--ic-space-xxs)}:host([size=\"default\"]){--circular-diameter:5rem}:host([size=\"large\"]){--circular-diameter:7.5rem}:host([size=\"icon\"]){display:inline-block;--margin:var(--ic-space-xxxs);--circular-diameter:1.25rem}:host(.label){--margin:0 0 var(--ic-space-xs) 0}.ic-loading-label{white-space:nowrap;color:var(--label-color);margin-left:var(--label-margin-left)}.ic-loading-circular-outer{height:var(--circular-diameter);width:var(--circular-diameter)}.ic-loading-circular-outer.indeterminate{animation:circular-animation 1s linear;animation-iteration-count:infinite}@keyframes circular-animation{100%{transform:rotate(360deg)}}.ic-loading-circular-outer,.ic-loading-linear-outer{margin:var(--margin)}.ic-loading-linear-outer{background-color:var(--outer-color);height:var(--linear-line-height);width:100%;border-radius:var(--linear-border-radius);overflow:hidden}.ic-loading-linear-inner{position:relative;height:100%;background-color:var(--inner-color);border-radius:var(--linear-border-radius)}.indeterminate>.ic-loading-linear-inner{animation:linear-animation 2s infinite}.determinate>.ic-loading-linear-inner{transition:width 0.5s;width:var(--linear-width)}:host(.full-width){--linear-border-radius:none}@keyframes linear-animation{0%{width:0%;left:-1%}25%{width:0%;left:-1%}50%{width:101%;left:-1%}75%{width:0%;left:101%}100%{width:0%;left:101%}}.ic-loading-circular-svg{position:relative;width:100%;height:100%;transform:rotate(-90deg)}.ic-loading-circular-svg circle{width:100%;height:100%;fill:none;stroke:var(--compact-step-outer-color, var(--outer-color));stroke-width:var(--circular-line-width);stroke-linecap:round}.ic-loading-circular-svg circle:nth-child(2){--circular-indeterminate:calc(\n (0.25 * var(--stroke-dasharray)) - var(--stroke-dasharray)\n );stroke-dasharray:var(--stroke-dasharray), var(--stroke-dasharray);stroke-dashoffset:var(--stroke-dashoffset, var(--circular-indeterminate));stroke:var(--compact-step-inner-color, var(--inner-color))}:host(.inner-label) .ic-loading-circular-inner{display:grid}:host(.inner-label) .ic-loading-circular-svg,.inner-text{grid-column:1;grid-row:1}:host(.not-required.compact-step-progress-indicator) .ic-loading-circular-svg circle:nth-child(2){stroke:var(--ic-architectural-300)}.inner-text{display:flex;align-items:center;justify-content:center;width:var(--ic-space-lg);height:inherit;overflow:hidden;margin:auto;color:var(--compact-step-inner-color, var(--ic-status-info))}:host(.not-required.compact-step-progress-indicator) .inner-text{color:var(--ic-color-tertiary-text)}:host(.light.not-required.compact-step-progress-indicator) .inner-text{color:var(--ic-architectural-400)}@media (forced-colors: active){.indeterminate>.ic-loading-circular-inner{forced-color-adjust:none}.ic-loading-linear-outer{border:var(--ic-hc-border)}.ic-loading-linear-inner{background-color:canvastext}.ic-loading-circular-svg circle{stroke:Background}.ic-loading-circular-svg circle:nth-child(2){stroke:canvastext}:host(.not-required.compact-step-progress-indicator) .ic-loading-circular-svg circle:nth-child(2){stroke:GrayText}}";
|
358
307
|
|
359
308
|
const LoadingIndicator = class {
|
360
309
|
constructor(hostRef) {
|