@ukic/web-components 3.19.0 → 3.20.0
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/{constants-3a9ba64a.js → constants-4d389abc.js} +14 -1
- package/dist/cjs/constants-4d389abc.js.map +1 -0
- package/dist/cjs/{helpers-15fae358.js → helpers-3a796e7a.js} +161 -2
- package/dist/cjs/helpers-3a796e7a.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +8 -5
- package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js +2 -2
- package/dist/cjs/ic-action-chip.cjs.entry.js +5 -5
- package/dist/cjs/ic-alert.cjs.entry.js +2 -2
- package/dist/cjs/ic-back-to-top.cjs.entry.js +5 -5
- package/dist/cjs/ic-badge.cjs.entry.js +4 -4
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +4 -4
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +4 -4
- package/dist/cjs/ic-button_3.cjs.entry.js +23 -22
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-vertical.cjs.entry.js +6 -6
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +4 -4
- package/dist/cjs/ic-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/ic-chip.cjs.entry.js +5 -5
- package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
- package/dist/cjs/ic-data-list.cjs.entry.js +2 -2
- package/dist/cjs/ic-data-row.cjs.entry.js +4 -4
- package/dist/cjs/ic-dialog.cjs.entry.js +34 -125
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +2 -2
- package/dist/cjs/ic-empty-state.cjs.entry.js +4 -4
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer-link.cjs.entry.js +4 -4
- package/dist/cjs/ic-footer.cjs.entry.js +5 -5
- package/dist/cjs/ic-hero.cjs.entry.js +6 -6
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +7 -7
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +10 -10
- package/dist/cjs/ic-input-label_2.cjs.entry.js +7 -7
- package/dist/cjs/ic-layout-grid-item.cjs.entry.js +2 -2
- package/dist/cjs/ic-layout-grid.cjs.entry.js +2 -2
- package/dist/cjs/ic-link.cjs.entry.js +3 -3
- package/dist/cjs/ic-menu-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/ic-navigation-button.cjs.entry.js +4 -4
- package/dist/cjs/ic-navigation-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-navigation-item.cjs.entry.js +4 -4
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +6 -6
- package/dist/cjs/ic-page-header.cjs.entry.js +8 -8
- package/dist/cjs/ic-pagination-item.cjs.entry.js +3 -3
- package/dist/cjs/ic-pagination.cjs.entry.js +6 -6
- package/dist/cjs/ic-popover-menu.cjs.entry.js +6 -6
- package/dist/cjs/ic-radio-group.cjs.entry.js +6 -6
- package/dist/cjs/ic-radio-option.cjs.entry.js +6 -6
- package/dist/cjs/ic-search-bar.cjs.entry.js +11 -11
- package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
- package/dist/cjs/ic-select.cjs.entry.js +8 -8
- package/dist/cjs/ic-side-navigation.cjs.entry.js +6 -6
- package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-status-tag.cjs.entry.js +4 -4
- package/dist/cjs/ic-step.cjs.entry.js +15 -15
- package/dist/cjs/ic-stepper.cjs.entry.js +4 -4
- package/dist/cjs/ic-switch.cjs.entry.js +6 -6
- package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +4 -4
- package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/ic-tab.cjs.entry.js +4 -4
- package/dist/cjs/ic-text-field.cjs.entry.js +7 -7
- package/dist/cjs/ic-theme.cjs.entry.js +3 -3
- package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +7 -7
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +4 -4
- package/dist/cjs/ic-toggle-button.cjs.entry.js +4 -4
- package/dist/cjs/ic-top-navigation.cjs.entry.js +7 -7
- package/dist/cjs/ic-typography.cjs.entry.js +4 -4
- package/dist/cjs/index.cjs.js +7 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/collection/components/ic-accordion/ic-accordion.stories.js +21 -0
- package/dist/collection/components/ic-accordion-group/ic-accordion-group.css +11 -0
- package/dist/collection/components/ic-accordion-group/ic-accordion-group.js +6 -2
- package/dist/collection/components/ic-accordion-group/ic-accordion-group.js.map +1 -1
- package/dist/collection/components/ic-action-chip/ic-action-chip.js +3 -3
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +3 -3
- package/dist/collection/components/ic-badge/ic-badge.js +2 -2
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +2 -2
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +2 -2
- package/dist/collection/components/ic-button/ic-button.js +2 -2
- package/dist/collection/components/ic-card-vertical/ic-card-vertical.js +4 -4
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +4 -4
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +2 -2
- package/dist/collection/components/ic-chip/ic-chip.js +3 -3
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +2 -2
- package/dist/collection/components/ic-data-list/ic-data-list.js +2 -2
- package/dist/collection/components/ic-data-row/ic-data-row.js +2 -2
- package/dist/collection/components/ic-dialog/ic-dialog.js +33 -124
- package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
- package/dist/collection/components/ic-dialog/ic-dialog.stories.js +3 -2
- package/dist/collection/components/ic-empty-state/ic-empty-state.js +2 -2
- package/dist/collection/components/ic-footer/ic-footer.js +3 -3
- package/dist/collection/components/ic-footer-link/ic-footer-link.js +2 -2
- package/dist/collection/components/ic-hero/ic-hero.js +4 -4
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +5 -5
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +3 -3
- package/dist/collection/components/ic-input-container/ic-input-container.js +2 -2
- package/dist/collection/components/ic-input-label/ic-input-label.js +2 -2
- package/dist/collection/components/ic-input-validation/ic-input-validation.js +3 -3
- package/dist/collection/components/ic-layout-grid/ic-layout-grid.js +2 -2
- package/dist/collection/components/ic-layout-grid-item/ic-layout-grid-item.js +2 -2
- package/dist/collection/components/ic-link/ic-link.js +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +5 -5
- package/dist/collection/components/ic-menu/ic-menu.js +3 -3
- package/dist/collection/components/ic-menu-group/ic-menu-group.js +1 -1
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +2 -2
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +1 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +2 -2
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +4 -4
- package/dist/collection/components/ic-page-header/ic-page-header.js +6 -6
- package/dist/collection/components/ic-pagination/ic-pagination.js +4 -4
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +4 -4
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +4 -4
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +4 -4
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +9 -9
- package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
- package/dist/collection/components/ic-select/ic-select.js +6 -6
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +4 -4
- package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
- package/dist/collection/components/ic-skip-link/ic-skip-link.js +2 -2
- package/dist/collection/components/ic-status-tag/ic-status-tag.js +2 -2
- package/dist/collection/components/ic-step/ic-step.js +13 -13
- package/dist/collection/components/ic-stepper/ic-stepper.js +2 -2
- package/dist/collection/components/ic-switch/ic-switch.js +4 -4
- package/dist/collection/components/ic-tab/ic-tab.js +2 -2
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +1 -1
- package/dist/collection/components/ic-tab-group/ic-tab-group.js +2 -2
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +2 -2
- package/dist/collection/components/ic-text-field/ic-text-field.js +5 -5
- package/dist/collection/components/ic-theme/ic-theme.js +1 -1
- package/dist/collection/components/ic-toast/ic-toast.js +5 -5
- package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -1
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +2 -2
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +2 -2
- package/dist/collection/components/ic-tooltip/ic-tooltip.css +1 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +13 -12
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +5 -5
- package/dist/collection/components/ic-typography/ic-typography.js +2 -2
- package/dist/collection/utils/constants.js +7 -0
- package/dist/collection/utils/constants.js.map +1 -1
- package/dist/collection/utils/helpers.js +169 -2
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/constants.js +8 -1
- package/dist/components/constants.js.map +1 -1
- package/dist/components/helpers.js +157 -2
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-accordion-group.js +6 -3
- package/dist/components/ic-accordion-group.js.map +1 -1
- package/dist/components/ic-action-chip.js +3 -3
- package/dist/components/ic-back-to-top.js +3 -3
- package/dist/components/ic-badge.js +2 -2
- package/dist/components/ic-breadcrumb-group.js +2 -2
- package/dist/components/ic-breadcrumb2.js +2 -2
- package/dist/components/ic-button2.js +2 -2
- package/dist/components/ic-card-vertical.js +4 -4
- package/dist/components/ic-checkbox-group.js +2 -2
- package/dist/components/ic-checkbox.js +4 -4
- package/dist/components/ic-chip.js +3 -3
- package/dist/components/ic-classification-banner.js +2 -2
- package/dist/components/ic-data-list.js +2 -2
- package/dist/components/ic-data-row.js +2 -2
- package/dist/components/ic-dialog.js +33 -124
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-divider2.js +1 -1
- package/dist/components/ic-empty-state.js +2 -2
- package/dist/components/ic-footer-link.js +2 -2
- package/dist/components/ic-footer.js +4 -4
- package/dist/components/ic-hero.js +4 -4
- package/dist/components/ic-horizontal-scroll2.js +6 -6
- package/dist/components/ic-input-component-container2.js +3 -3
- package/dist/components/ic-input-container2.js +2 -2
- package/dist/components/ic-input-label2.js +2 -2
- package/dist/components/ic-input-validation2.js +4 -4
- package/dist/components/ic-layout-grid-item.js +2 -2
- package/dist/components/ic-layout-grid.js +2 -2
- package/dist/components/ic-link2.js +1 -1
- package/dist/components/ic-loading-indicator2.js +5 -5
- package/dist/components/ic-menu-group.js +1 -1
- package/dist/components/ic-menu2.js +4 -4
- package/dist/components/ic-navigation-button.js +3 -3
- package/dist/components/ic-navigation-group.js +2 -2
- package/dist/components/ic-navigation-item.js +3 -3
- package/dist/components/ic-navigation-menu2.js +5 -5
- package/dist/components/ic-page-header.js +6 -6
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +2 -2
- package/dist/components/ic-pagination.js +4 -4
- package/dist/components/ic-pagination.js.map +1 -1
- package/dist/components/ic-popover-menu.js +4 -4
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +4 -4
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +4 -4
- package/dist/components/ic-search-bar.js +10 -10
- package/dist/components/ic-section-container2.js +2 -2
- package/dist/components/ic-select.js +7 -7
- package/dist/components/ic-side-navigation.js +5 -5
- package/dist/components/ic-skeleton.js +2 -2
- package/dist/components/ic-skip-link.js +2 -2
- package/dist/components/ic-status-tag.js +2 -2
- package/dist/components/ic-step.js +13 -13
- package/dist/components/ic-stepper.js +2 -2
- package/dist/components/ic-switch.js +4 -4
- package/dist/components/ic-tab-context.js +1 -1
- package/dist/components/ic-tab-group.js +2 -2
- package/dist/components/ic-tab-panel.js +2 -2
- package/dist/components/ic-tab.js +2 -2
- package/dist/components/ic-text-field.js +6 -6
- package/dist/components/ic-theme.js +2 -2
- package/dist/components/ic-toast-region.js +1 -1
- package/dist/components/ic-toast.js +6 -6
- package/dist/components/ic-toggle-button-group.js +2 -2
- package/dist/components/ic-toggle-button.js +3 -3
- package/dist/components/ic-tooltip2.js +14 -13
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +6 -6
- package/dist/components/ic-typography2.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/core/core.css +4 -4
- package/dist/core/core.esm.js +1 -1
- package/dist/core/index.esm.js +1 -1
- package/dist/core/{p-7552c8a1.entry.js → p-0301d1c8.entry.js} +2 -2
- package/dist/core/{p-bb3a5130.entry.js → p-0722d7b6.entry.js} +2 -2
- package/dist/core/{p-43356493.entry.js → p-09c31ac6.entry.js} +2 -2
- package/dist/core/{p-5e1a77aa.entry.js → p-0d711c6a.entry.js} +2 -2
- package/dist/core/{p-ad6632a9.entry.js → p-0f6fd5d3.entry.js} +2 -2
- package/dist/core/{p-296a41ce.entry.js → p-0f998905.entry.js} +2 -2
- package/dist/core/{p-8798cc6b.entry.js → p-107281c4.entry.js} +2 -2
- package/dist/core/{p-b00efb15.entry.js → p-1d8559f0.entry.js} +2 -2
- package/dist/core/{p-62b9e7bf.entry.js → p-1edf2689.entry.js} +2 -2
- package/dist/core/{p-4637c326.entry.js → p-1fc4b88f.entry.js} +2 -2
- package/dist/core/{p-a8dc3162.entry.js → p-23dc27a8.entry.js} +2 -2
- package/dist/core/{p-af02add9.entry.js → p-276a6c8f.entry.js} +2 -2
- package/dist/core/{p-a5295f66.entry.js → p-3582c7df.entry.js} +2 -2
- package/dist/core/{p-44aaf454.entry.js → p-3c7e90a7.entry.js} +2 -2
- package/dist/core/p-45076d7e.entry.js +2 -0
- package/dist/core/{p-70e1dd4d.entry.js → p-45c553db.entry.js} +2 -2
- package/dist/core/p-4e43b272.entry.js +2 -0
- package/dist/core/p-4e43b272.entry.js.map +1 -0
- package/dist/core/{p-52fa3eec.entry.js → p-57ce68e5.entry.js} +2 -2
- package/dist/core/{p-c4ffcc64.entry.js → p-5ac3adb9.entry.js} +2 -2
- package/dist/core/{p-fb43abd6.entry.js → p-608b4912.entry.js} +2 -2
- package/dist/core/{p-bddf799a.js → p-6215e2ae.js} +2 -2
- package/dist/core/p-6215e2ae.js.map +1 -0
- package/dist/core/{p-9452b9ac.entry.js → p-656a9127.entry.js} +2 -2
- package/dist/core/{p-a86785dd.entry.js → p-6740c915.entry.js} +2 -2
- package/dist/core/{p-28c9a6e4.entry.js → p-6aa8d3ce.entry.js} +2 -2
- package/dist/core/{p-72ac8bb9.entry.js → p-72344764.entry.js} +2 -2
- package/dist/core/{p-6fb29846.entry.js → p-76e8df31.entry.js} +2 -2
- package/dist/core/p-7b8e5926.entry.js +2 -0
- package/dist/core/p-7b8e5926.entry.js.map +1 -0
- package/dist/core/{p-c397b33f.entry.js → p-7c38dd1f.entry.js} +2 -2
- package/dist/core/{p-355d0914.entry.js → p-81f60443.entry.js} +2 -2
- package/dist/core/{p-128e2cbb.entry.js → p-840c647f.entry.js} +2 -2
- package/dist/core/{p-3785c740.entry.js → p-86989873.entry.js} +2 -2
- package/dist/core/{p-1cc402b8.entry.js → p-880afd4b.entry.js} +2 -2
- package/dist/core/{p-287e5c17.entry.js → p-889bb8db.entry.js} +2 -2
- package/dist/core/{p-4fa7fbc4.entry.js → p-8b1567c9.entry.js} +2 -2
- package/dist/core/p-8b1567c9.entry.js.map +1 -0
- package/dist/core/{p-bfd03fb4.entry.js → p-8c00614c.entry.js} +2 -2
- package/dist/core/{p-8abcc114.entry.js → p-8f45f956.entry.js} +2 -2
- package/dist/core/{p-5cf704e3.entry.js → p-90814d32.entry.js} +2 -2
- package/dist/core/{p-6e8ef73c.entry.js → p-93e1ba0a.entry.js} +2 -2
- package/dist/core/{p-a7f21494.entry.js → p-949d08d3.entry.js} +2 -2
- package/dist/core/{p-614953c5.entry.js → p-9b60ca02.entry.js} +2 -2
- package/dist/core/{p-49444c33.entry.js → p-a0af1b0a.entry.js} +2 -2
- package/dist/core/{p-012e058a.entry.js → p-a16415e4.entry.js} +3 -3
- package/dist/core/{p-0eafbaa1.entry.js → p-ad5aca6f.entry.js} +2 -2
- package/dist/core/{p-bdda404b.entry.js → p-aed1c7e7.entry.js} +2 -2
- package/dist/core/{p-34cc376c.entry.js → p-b22fc28d.entry.js} +2 -2
- package/dist/core/{p-44fbe8c2.entry.js → p-b5e39585.entry.js} +2 -2
- package/dist/core/{p-3a94849e.entry.js → p-b8c0c142.entry.js} +2 -2
- package/dist/core/{p-f4e2e41f.entry.js → p-ba4abeac.entry.js} +2 -2
- package/dist/core/{p-6b6c1491.entry.js → p-c16e982c.entry.js} +2 -2
- package/dist/core/{p-f247db14.entry.js → p-c3f5907e.entry.js} +2 -2
- package/dist/core/{p-e0423c7e.entry.js → p-c7f8547d.entry.js} +2 -2
- package/dist/core/{p-411527a1.entry.js → p-cdbbcef4.entry.js} +2 -2
- package/dist/core/{p-21efc36e.entry.js → p-cf056074.entry.js} +2 -2
- package/dist/core/{p-539b975f.entry.js → p-d2d17d6d.entry.js} +2 -2
- package/dist/core/{p-082e0068.entry.js → p-d478d13e.entry.js} +2 -2
- package/dist/core/p-dbc8bf0c.js +2 -0
- package/dist/core/p-dbc8bf0c.js.map +1 -0
- package/dist/core/{p-77a6c3f7.entry.js → p-df029b1b.entry.js} +2 -2
- package/dist/core/{p-dfc2a0b1.entry.js → p-e176881a.entry.js} +2 -2
- package/dist/core/{p-d8200098.entry.js → p-e1814e7e.entry.js} +2 -2
- package/dist/core/{p-06b3ae40.entry.js → p-ebc47282.entry.js} +2 -2
- package/dist/core/{p-ae7dcbd5.entry.js → p-ec14c783.entry.js} +2 -2
- package/dist/core/{p-3b13d191.entry.js → p-f5fd4a76.entry.js} +2 -2
- package/dist/core/{p-911b4aa4.entry.js → p-f700b759.entry.js} +2 -2
- package/dist/core/{p-a7645717.entry.js → p-fdb587ab.entry.js} +2 -2
- package/dist/core/{p-091a7fbf.entry.js → p-fe0153ec.entry.js} +2 -2
- package/dist/esm/{constants-7960cba4.js → constants-ab12fdcf.js} +9 -2
- package/dist/esm/constants-ab12fdcf.js.map +1 -0
- package/dist/esm/{helpers-dcedb279.js → helpers-0f85537f.js} +158 -3
- package/dist/esm/helpers-0f85537f.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +8 -5
- package/dist/esm/ic-accordion-group.entry.js.map +1 -1
- package/dist/esm/ic-accordion.entry.js +2 -2
- package/dist/esm/ic-action-chip.entry.js +5 -5
- package/dist/esm/ic-alert.entry.js +2 -2
- package/dist/esm/ic-back-to-top.entry.js +5 -5
- package/dist/esm/ic-badge.entry.js +4 -4
- package/dist/esm/ic-breadcrumb-group.entry.js +4 -4
- package/dist/esm/ic-breadcrumb.entry.js +4 -4
- package/dist/esm/ic-button_3.entry.js +23 -22
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card-vertical.entry.js +6 -6
- package/dist/esm/ic-checkbox-group.entry.js +4 -4
- package/dist/esm/ic-checkbox.entry.js +6 -6
- package/dist/esm/ic-chip.entry.js +5 -5
- package/dist/esm/ic-classification-banner.entry.js +2 -2
- package/dist/esm/ic-data-list.entry.js +2 -2
- package/dist/esm/ic-data-row.entry.js +4 -4
- package/dist/esm/ic-dialog.entry.js +34 -125
- package/dist/esm/ic-dialog.entry.js.map +1 -1
- package/dist/esm/ic-divider.entry.js +2 -2
- package/dist/esm/ic-empty-state.entry.js +4 -4
- package/dist/esm/ic-footer-link-group.entry.js +2 -2
- package/dist/esm/ic-footer-link.entry.js +4 -4
- package/dist/esm/ic-footer.entry.js +5 -5
- package/dist/esm/ic-hero.entry.js +6 -6
- package/dist/esm/ic-horizontal-scroll.entry.js +7 -7
- package/dist/esm/ic-input-component-container_3.entry.js +10 -10
- package/dist/esm/ic-input-label_2.entry.js +7 -7
- package/dist/esm/ic-layout-grid-item.entry.js +2 -2
- package/dist/esm/ic-layout-grid.entry.js +2 -2
- package/dist/esm/ic-link.entry.js +3 -3
- package/dist/esm/ic-menu-group.entry.js +3 -3
- package/dist/esm/ic-menu-item.entry.js +2 -2
- package/dist/esm/ic-navigation-button.entry.js +4 -4
- package/dist/esm/ic-navigation-group.entry.js +3 -3
- package/dist/esm/ic-navigation-item.entry.js +4 -4
- package/dist/esm/ic-navigation-menu.entry.js +6 -6
- package/dist/esm/ic-page-header.entry.js +8 -8
- package/dist/esm/ic-pagination-item.entry.js +3 -3
- package/dist/esm/ic-pagination.entry.js +6 -6
- package/dist/esm/ic-popover-menu.entry.js +6 -6
- package/dist/esm/ic-radio-group.entry.js +6 -6
- package/dist/esm/ic-radio-option.entry.js +6 -6
- package/dist/esm/ic-search-bar.entry.js +11 -11
- package/dist/esm/ic-section-container.entry.js +2 -2
- package/dist/esm/ic-select.entry.js +8 -8
- package/dist/esm/ic-side-navigation.entry.js +6 -6
- package/dist/esm/ic-skeleton.entry.js +2 -2
- package/dist/esm/ic-skip-link.entry.js +2 -2
- package/dist/esm/ic-status-tag.entry.js +4 -4
- package/dist/esm/ic-step.entry.js +15 -15
- package/dist/esm/ic-stepper.entry.js +4 -4
- package/dist/esm/ic-switch.entry.js +6 -6
- package/dist/esm/ic-tab-context.entry.js +1 -1
- package/dist/esm/ic-tab-group.entry.js +4 -4
- package/dist/esm/ic-tab-panel.entry.js +2 -2
- package/dist/esm/ic-tab.entry.js +4 -4
- package/dist/esm/ic-text-field.entry.js +7 -7
- package/dist/esm/ic-theme.entry.js +3 -3
- package/dist/esm/ic-toast-region.entry.js +1 -1
- package/dist/esm/ic-toast.entry.js +7 -7
- package/dist/esm/ic-toggle-button-group.entry.js +4 -4
- package/dist/esm/ic-toggle-button.entry.js +4 -4
- package/dist/esm/ic-top-navigation.entry.js +7 -7
- package/dist/esm/ic-typography.entry.js +4 -4
- package/dist/esm/index.js +1 -1
- package/dist/types/components/ic-accordion-group/ic-accordion-group.d.ts +1 -0
- package/dist/types/components/ic-dialog/ic-dialog.d.ts +2 -15
- package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +1 -1
- package/dist/types/utils/constants.d.ts +6 -0
- package/dist/types/utils/helpers.d.ts +69 -2
- package/dist/types/utils/types.d.ts +1 -0
- package/hydrate/index.js +396 -320
- package/hydrate/index.mjs +396 -320
- package/package.json +2 -2
- package/dist/cjs/constants-3a9ba64a.js.map +0 -1
- package/dist/cjs/helpers-15fae358.js.map +0 -1
- package/dist/core/p-0257d59e.entry.js +0 -2
- package/dist/core/p-0257d59e.entry.js.map +0 -1
- package/dist/core/p-4fa7fbc4.entry.js.map +0 -1
- package/dist/core/p-a45de09d.entry.js +0 -2
- package/dist/core/p-a45de09d.entry.js.map +0 -1
- package/dist/core/p-a5658054.js +0 -2
- package/dist/core/p-a5658054.js.map +0 -1
- package/dist/core/p-ae861bb8.entry.js +0 -2
- package/dist/core/p-bddf799a.js.map +0 -1
- package/dist/esm/constants-7960cba4.js.map +0 -1
- package/dist/esm/helpers-dcedb279.js.map +0 -1
- /package/dist/core/{p-7552c8a1.entry.js.map → p-0301d1c8.entry.js.map} +0 -0
- /package/dist/core/{p-bb3a5130.entry.js.map → p-0722d7b6.entry.js.map} +0 -0
- /package/dist/core/{p-43356493.entry.js.map → p-09c31ac6.entry.js.map} +0 -0
- /package/dist/core/{p-5e1a77aa.entry.js.map → p-0d711c6a.entry.js.map} +0 -0
- /package/dist/core/{p-ad6632a9.entry.js.map → p-0f6fd5d3.entry.js.map} +0 -0
- /package/dist/core/{p-296a41ce.entry.js.map → p-0f998905.entry.js.map} +0 -0
- /package/dist/core/{p-8798cc6b.entry.js.map → p-107281c4.entry.js.map} +0 -0
- /package/dist/core/{p-b00efb15.entry.js.map → p-1d8559f0.entry.js.map} +0 -0
- /package/dist/core/{p-62b9e7bf.entry.js.map → p-1edf2689.entry.js.map} +0 -0
- /package/dist/core/{p-4637c326.entry.js.map → p-1fc4b88f.entry.js.map} +0 -0
- /package/dist/core/{p-a8dc3162.entry.js.map → p-23dc27a8.entry.js.map} +0 -0
- /package/dist/core/{p-af02add9.entry.js.map → p-276a6c8f.entry.js.map} +0 -0
- /package/dist/core/{p-a5295f66.entry.js.map → p-3582c7df.entry.js.map} +0 -0
- /package/dist/core/{p-44aaf454.entry.js.map → p-3c7e90a7.entry.js.map} +0 -0
- /package/dist/core/{p-ae861bb8.entry.js.map → p-45076d7e.entry.js.map} +0 -0
- /package/dist/core/{p-70e1dd4d.entry.js.map → p-45c553db.entry.js.map} +0 -0
- /package/dist/core/{p-52fa3eec.entry.js.map → p-57ce68e5.entry.js.map} +0 -0
- /package/dist/core/{p-c4ffcc64.entry.js.map → p-5ac3adb9.entry.js.map} +0 -0
- /package/dist/core/{p-fb43abd6.entry.js.map → p-608b4912.entry.js.map} +0 -0
- /package/dist/core/{p-9452b9ac.entry.js.map → p-656a9127.entry.js.map} +0 -0
- /package/dist/core/{p-a86785dd.entry.js.map → p-6740c915.entry.js.map} +0 -0
- /package/dist/core/{p-28c9a6e4.entry.js.map → p-6aa8d3ce.entry.js.map} +0 -0
- /package/dist/core/{p-72ac8bb9.entry.js.map → p-72344764.entry.js.map} +0 -0
- /package/dist/core/{p-6fb29846.entry.js.map → p-76e8df31.entry.js.map} +0 -0
- /package/dist/core/{p-c397b33f.entry.js.map → p-7c38dd1f.entry.js.map} +0 -0
- /package/dist/core/{p-355d0914.entry.js.map → p-81f60443.entry.js.map} +0 -0
- /package/dist/core/{p-128e2cbb.entry.js.map → p-840c647f.entry.js.map} +0 -0
- /package/dist/core/{p-3785c740.entry.js.map → p-86989873.entry.js.map} +0 -0
- /package/dist/core/{p-1cc402b8.entry.js.map → p-880afd4b.entry.js.map} +0 -0
- /package/dist/core/{p-287e5c17.entry.js.map → p-889bb8db.entry.js.map} +0 -0
- /package/dist/core/{p-bfd03fb4.entry.js.map → p-8c00614c.entry.js.map} +0 -0
- /package/dist/core/{p-8abcc114.entry.js.map → p-8f45f956.entry.js.map} +0 -0
- /package/dist/core/{p-5cf704e3.entry.js.map → p-90814d32.entry.js.map} +0 -0
- /package/dist/core/{p-6e8ef73c.entry.js.map → p-93e1ba0a.entry.js.map} +0 -0
- /package/dist/core/{p-a7f21494.entry.js.map → p-949d08d3.entry.js.map} +0 -0
- /package/dist/core/{p-614953c5.entry.js.map → p-9b60ca02.entry.js.map} +0 -0
- /package/dist/core/{p-49444c33.entry.js.map → p-a0af1b0a.entry.js.map} +0 -0
- /package/dist/core/{p-012e058a.entry.js.map → p-a16415e4.entry.js.map} +0 -0
- /package/dist/core/{p-0eafbaa1.entry.js.map → p-ad5aca6f.entry.js.map} +0 -0
- /package/dist/core/{p-bdda404b.entry.js.map → p-aed1c7e7.entry.js.map} +0 -0
- /package/dist/core/{p-34cc376c.entry.js.map → p-b22fc28d.entry.js.map} +0 -0
- /package/dist/core/{p-44fbe8c2.entry.js.map → p-b5e39585.entry.js.map} +0 -0
- /package/dist/core/{p-3a94849e.entry.js.map → p-b8c0c142.entry.js.map} +0 -0
- /package/dist/core/{p-f4e2e41f.entry.js.map → p-ba4abeac.entry.js.map} +0 -0
- /package/dist/core/{p-6b6c1491.entry.js.map → p-c16e982c.entry.js.map} +0 -0
- /package/dist/core/{p-f247db14.entry.js.map → p-c3f5907e.entry.js.map} +0 -0
- /package/dist/core/{p-e0423c7e.entry.js.map → p-c7f8547d.entry.js.map} +0 -0
- /package/dist/core/{p-411527a1.entry.js.map → p-cdbbcef4.entry.js.map} +0 -0
- /package/dist/core/{p-21efc36e.entry.js.map → p-cf056074.entry.js.map} +0 -0
- /package/dist/core/{p-539b975f.entry.js.map → p-d2d17d6d.entry.js.map} +0 -0
- /package/dist/core/{p-082e0068.entry.js.map → p-d478d13e.entry.js.map} +0 -0
- /package/dist/core/{p-77a6c3f7.entry.js.map → p-df029b1b.entry.js.map} +0 -0
- /package/dist/core/{p-dfc2a0b1.entry.js.map → p-e176881a.entry.js.map} +0 -0
- /package/dist/core/{p-d8200098.entry.js.map → p-e1814e7e.entry.js.map} +0 -0
- /package/dist/core/{p-06b3ae40.entry.js.map → p-ebc47282.entry.js.map} +0 -0
- /package/dist/core/{p-ae7dcbd5.entry.js.map → p-ec14c783.entry.js.map} +0 -0
- /package/dist/core/{p-3b13d191.entry.js.map → p-f5fd4a76.entry.js.map} +0 -0
- /package/dist/core/{p-911b4aa4.entry.js.map → p-f700b759.entry.js.map} +0 -0
- /package/dist/core/{p-a7645717.entry.js.map → p-fdb587ab.entry.js.map} +0 -0
- /package/dist/core/{p-091a7fbf.entry.js.map → p-fe0153ec.entry.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a7a720e7.js';
|
|
2
|
-
import {
|
|
3
|
-
import './constants-
|
|
2
|
+
import { F as getFilteredMenuOptions, G as getLabelFromValue, H as handleHiddenFormButtonClick, r as removeDisabledFalse, J as debounceEvent, o as onComponentRequiredPropUndefined, q as getInputDescribedByText, m as renderHiddenInput } from './helpers-0f85537f.js';
|
|
3
|
+
import './constants-ab12fdcf.js';
|
|
4
4
|
|
|
5
5
|
const clearIcon = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
6
6
|
<path d="M15.8327 5.34199L14.6577 4.16699L9.99935 8.82533L5.34102 4.16699L4.16602 5.34199L8.82435 10.0003L4.16602 14.6587L5.34102 15.8337L9.99935 11.1753L14.6577 15.8337L15.8327 14.6587L11.1743 10.0003L15.8327 5.34199Z" fill="currentColor"/>
|
|
@@ -549,39 +549,39 @@ const SearchBar = class {
|
|
|
549
549
|
const menuRendered = menuOpen && value.length >= charactersUntilSuggestion;
|
|
550
550
|
const labelValue = getLabelFromValue(value, options, valueField, labelField);
|
|
551
551
|
renderHiddenInput(this.el, value, name, disabledMode);
|
|
552
|
-
return (h(Host, { key: '
|
|
552
|
+
return (h(Host, { key: '97932f66827d3d1aa3e41ca8aa15e8bdb1ad5518', class: {
|
|
553
553
|
"ic-search-bar-search": true,
|
|
554
554
|
"ic-search-bar-full-width": fullWidth,
|
|
555
555
|
"ic-search-bar-disabled": disabled,
|
|
556
556
|
"ic-search-bar-small": size === "small",
|
|
557
557
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
558
|
-
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, h("ic-input-container", { key: '
|
|
558
|
+
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, h("ic-input-container", { key: '3fc6cebca3191c6e19e523e4273f4ad7cfd39ea4', readonly: readonly, disabled: disabledMode }, !hideLabel && (h("ic-input-label", { key: '453ef1b4a73227f5525e386100ba4d09fc75a1a0', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledMode && !readonly, readonly: readonly }, h("slot", { key: 'd72a6705f4e98030a9af02c832478ecb3cd11570', name: "helper-text", slot: "helper-text" }))), h("ic-input-component-container", { key: 'e0ae23eaa33e7194eec066a1e72050b91be3cdd5', ref: (el) => (this.anchorEl = el), size: size, disabled: disabledMode, readonly: readonly, fullWidth: fullWidth }, h("input", { key: 'ed239f98bcc086b05bbb14c43154aee3f7c2c76e', id: inputId, name: name, ref: (el) => (this.inputEl = el), value: options && !!labelValue ? labelValue : value, class: {
|
|
559
559
|
"no-left-pad": readonly,
|
|
560
560
|
readonly,
|
|
561
561
|
"truncate-value": truncateValue,
|
|
562
|
-
}, placeholder: placeholder, required: required, disabled: disabledMode, readonly: readonly, onInput: this.onInput, onBlur: this.onInputBlur, onFocus: this.onInputFocus, "aria-label": hideLabel ? label : undefined, "aria-activedescendant": ariaActiveDescendant, "aria-expanded": options.length > 0 && menuRendered ? `${menuOpen}` : undefined, "aria-owns": menuRendered ? menuId : undefined, "aria-describedby": describedById, "aria-controls": menuRendered ? menuId : undefined, "aria-haspopup": options.length > 0 ? "listbox" : undefined, "aria-autocomplete": hasSuggestedSearch ? "list" : undefined, role: options.length > 0 && menuRendered ? "combobox" : undefined, autocomplete: autocomplete, autocapitalize: autocapitalize, autoFocus: autofocus, spellcheck: spellcheck, inputmode: "search" }), h("div", { key: '
|
|
562
|
+
}, placeholder: placeholder, required: required, disabled: disabledMode, readonly: readonly, onInput: this.onInput, onBlur: this.onInputBlur, onFocus: this.onInputFocus, "aria-label": hideLabel ? label : undefined, "aria-activedescendant": ariaActiveDescendant, "aria-expanded": options.length > 0 && menuRendered ? `${menuOpen}` : undefined, "aria-owns": menuRendered ? menuId : undefined, "aria-describedby": describedById, "aria-controls": menuRendered ? menuId : undefined, "aria-haspopup": options.length > 0 ? "listbox" : undefined, "aria-autocomplete": hasSuggestedSearch ? "list" : undefined, role: options.length > 0 && menuRendered ? "combobox" : undefined, autocomplete: autocomplete, autocapitalize: autocapitalize, autoFocus: autofocus, spellcheck: spellcheck, inputmode: "search" }), h("div", { key: 'ed272c63c361866a3c096a4ed63e94582d4fcdf8', class: {
|
|
563
563
|
"clear-button-container": true,
|
|
564
564
|
"clear-button-visible": !!value && !disabledMode && showClearButton,
|
|
565
|
-
} }, h("ic-button", { key: '
|
|
565
|
+
} }, h("ic-button", { key: '5e9c4058a68f853a552bfa0f2113858a275a365a', id: "clear-button", class: {
|
|
566
566
|
"clear-button": true,
|
|
567
567
|
"clear-button-unfocused": !clearButtonFocused,
|
|
568
|
-
}, "aria-label": "Clear", innerHTML: clearIcon, onClick: this.handleClear, onMouseDown: this.handleMouseDown, size: size, onFocus: this.handleFocusClearButton, onBlur: this.handleClearBlur, onKeyDown: this.handleClear, type: "button", variant: "icon-tertiary", theme: clearButtonFocused ? "light" : "dark" }), h("div", { key: '
|
|
568
|
+
}, "aria-label": "Clear", innerHTML: clearIcon, onClick: this.handleClear, onMouseDown: this.handleMouseDown, size: size, onFocus: this.handleFocusClearButton, onBlur: this.handleClearBlur, onKeyDown: this.handleClear, type: "button", variant: "icon-tertiary", theme: clearButtonFocused ? "light" : "dark" }), h("div", { key: '262820b10ac5df18f2b73fcb4aa0f1b3602c2c0f', class: "divider" })), h("div", { key: 'e0ff6496a2b2a703a3d87980893926dd4fdf543d', class: {
|
|
569
569
|
"search-submit-button-container": true,
|
|
570
570
|
"search-submit-button-disabled": this.isSubmitDisabled(),
|
|
571
|
-
} }, h("ic-button", { key: '
|
|
571
|
+
} }, h("ic-button", { key: '4eefcd8121169df7b713df93cade880d0fcf5d60', id: "search-submit-button", "aria-label": "Search", ref: (el) => (this.searchSubmitButton = el), class: {
|
|
572
572
|
"search-submit-button": true,
|
|
573
573
|
"search-submit-button-small": size === "small",
|
|
574
574
|
"search-submit-button-unfocused": !searchSubmitFocused,
|
|
575
575
|
"search-submit-button-disabled": this.isSubmitDisabled(),
|
|
576
|
-
}, disabled: this.isSubmitDisabled(), innerHTML: searchIcon, size: size, onClick: this.handleSubmitSearch, onMouseDown: this.handleMouseDown, onBlur: this.handleSubmitSearchBlur, onFocus: this.handleSubmitSearchFocus, onKeyDown: this.handleSubmitSearchKeyDown, type: searchButtonType, variant: "icon-tertiary", theme: searchSubmitFocused ? "light" : "dark" }))), h("div", { key: '
|
|
576
|
+
}, disabled: this.isSubmitDisabled(), innerHTML: searchIcon, size: size, onClick: this.handleSubmitSearch, onMouseDown: this.handleMouseDown, onBlur: this.handleSubmitSearchBlur, onFocus: this.handleSubmitSearchFocus, onKeyDown: this.handleSubmitSearchKeyDown, type: searchButtonType, variant: "icon-tertiary", theme: searchSubmitFocused ? "light" : "dark" }))), h("div", { key: '1194a402978db78f8abbaa5e1127e6e1ce8d77d3', class: {
|
|
577
577
|
"menu-container": true,
|
|
578
578
|
fullwidth: fullWidth,
|
|
579
|
-
} }, menuRendered && this.anchorEl && this.inputEl && (h("ic-menu", { key: '
|
|
579
|
+
} }, menuRendered && this.anchorEl && this.inputEl && (h("ic-menu", { key: '1bf2856fb888425fd0b7f690e9f3389f9bb1ec9f', class: {
|
|
580
580
|
"no-results": this.hadNoOptions() ||
|
|
581
581
|
(filteredOptions.length === 1 &&
|
|
582
582
|
(filteredOptions[0][labelField] === loadingLabel ||
|
|
583
583
|
filteredOptions[0][labelField] === loadingErrorLabel)),
|
|
584
|
-
}, activationType: "manual", anchorEl: this.anchorEl, autofocusOnSelected: false, searchMode: searchMode, inputEl: this.inputEl, inputLabel: label, ref: (el) => (this.menu = el), fullWidth: fullWidth, menuId: menuId, open: true, options: filteredOptions, onMenuOptionSelect: this.handleOptionSelect, onMenuStateChange: this.handleMenuChange, onMenuOptionId: this.handleMenuOptionHighlight, onRetryButtonClicked: this.handleRetry, parentEl: this.el, value: value, labelField: labelField, valueField: valueField, searchBar: true })))), h("div", { key: '
|
|
584
|
+
}, activationType: "manual", anchorEl: this.anchorEl, autofocusOnSelected: false, searchMode: searchMode, inputEl: this.inputEl, inputLabel: label, ref: (el) => (this.menu = el), fullWidth: fullWidth, menuId: menuId, open: true, options: filteredOptions, onMenuOptionSelect: this.handleOptionSelect, onMenuStateChange: this.handleMenuChange, onMenuOptionId: this.handleMenuOptionHighlight, onRetryButtonClicked: this.handleRetry, parentEl: this.el, value: value, labelField: labelField, valueField: valueField, searchBar: true })))), h("div", { key: 'f3333622e515486aeb77de5e8c7061b02f8f19b6', "aria-live": "polite", role: "status", class: "search-results-status" })));
|
|
585
585
|
}
|
|
586
586
|
static get delegatesFocus() { return true; }
|
|
587
587
|
get el() { return getElement(this); }
|
|
@@ -17,12 +17,12 @@ const SectionContainer = class {
|
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
19
|
const { aligned, fullHeight } = this;
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '54b72df0db0ae4794b74be875011b76868370b73', class: {
|
|
21
21
|
["aligned-left"]: aligned === "left" || aligned === null,
|
|
22
22
|
["aligned-center"]: aligned === "center",
|
|
23
23
|
["aligned-full-width"]: aligned === "full-width",
|
|
24
24
|
["no-vertical-padding"]: !!fullHeight,
|
|
25
|
-
} }, h("slot", { key: '
|
|
25
|
+
} }, h("slot", { key: 'c0f0631b39da318c0ce15c6f6200c1f03268bd7a' })));
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
SectionContainer.style = IcSectionContainerStyle0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-a7a720e7.js';
|
|
2
|
-
import {
|
|
3
|
-
import { I as IC_INHERITED_ARIA } from './constants-
|
|
2
|
+
import { K as checkSlotInChildMutations, G as getLabelFromValue, F as getFilteredMenuOptions, L as isMacDevice, M as getOptionsWithoutGroupTitlesCount, r as removeDisabledFalse, l as removeFormResetListener, z as inheritAttributes, k as addFormResetListener, o as onComponentRequiredPropUndefined, m as renderHiddenInput, q as getInputDescribedByText, i as isSlotUsed, N as isMobileOrTablet, O as IcInformationStatus, s as hasValidationStatus } from './helpers-0f85537f.js';
|
|
3
|
+
import { I as IC_INHERITED_ARIA } from './constants-ab12fdcf.js';
|
|
4
4
|
|
|
5
5
|
const Expand = `<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
6
6
|
<path d="M7 9.5L12 14.5L17 9.5H7Z" fill="currentColor" />
|
|
@@ -812,18 +812,18 @@ const Select = class {
|
|
|
812
812
|
(searchable
|
|
813
813
|
? !!searchableSelectInputValue
|
|
814
814
|
: !!currValue && !loading && showClearButton);
|
|
815
|
-
return (h(Host, { key: '
|
|
815
|
+
return (h(Host, { key: '7fe228e078a155a73e2fc94cc2b118c93b4145fe', class: {
|
|
816
816
|
"ic-select-disabled": disabled,
|
|
817
817
|
"ic-select-searchable": searchable,
|
|
818
818
|
[`ic-select-${size}`]: size !== "medium",
|
|
819
819
|
"ic-select-full-width": fullWidth,
|
|
820
820
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
821
|
-
}, onBlur: this.onBlur }, h("ic-input-container", { key: '
|
|
821
|
+
}, onBlur: this.onBlur }, h("ic-input-container", { key: 'f354e43e2138805bfb8e7f47dad8460c54bc4150', readonly: readonly }, !hideLabel && (h("ic-input-label", { key: '5e0a35593115e83abab6de7f4c4c13d0865e4cd0', for: inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly }, h("slot", { key: 'a1bb94c8b02a3b859245e384443395b92a24cc87', name: "helper-text", slot: "helper-text" }))), h("ic-input-component-container", { key: '0ce9a0afd7163ad10add85df056d8ed5b1e5e856', ref: (el) => (this.anchorEl = el), class: { "menu-open": open }, size: size, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, isSlotUsed(this.el, "icon") &&
|
|
822
822
|
!disabled &&
|
|
823
|
-
(!readonly || !!value) && (h("span", { key: '
|
|
823
|
+
(!readonly || !!value) && (h("span", { key: '6976af6d54de212225c8187634faceac225d769e', slot: "left-icon", class: {
|
|
824
824
|
readonly,
|
|
825
825
|
"has-value": !!value,
|
|
826
|
-
} }, h("slot", { key: '
|
|
826
|
+
} }, h("slot", { key: 'f198b118f799e71cc850ff9b4e8f72b2e6bb531c', name: "icon" }))), readonly ? (h("ic-typography", null, h("p", null, valueLabelString))) : isMobileOrTablet() && !multiple ? (h("select", Object.assign({ ref: (el) => (this.nativeSelectElement = el), disabled: disabled, onChange: this.handleNativeSelectChange, required: required, id: inputId, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.handleNativeSelectKeyDown, form: form }, inheritedAttributes), h("option", { value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => option.children ? (h("optgroup", { label: option.label }, option.children.map((child) => this.renderNativeOption(child)))) : (this.renderNativeOption(option))))) : searchable ? (h("div", { class: "searchable-select-container" }, h("input", { class: {
|
|
827
827
|
"value-text": true,
|
|
828
828
|
"select-input": true,
|
|
829
829
|
"with-clear-button": !!searchableSelectInputValue,
|
|
@@ -844,7 +844,7 @@ const Select = class {
|
|
|
844
844
|
} }, valueLabelString || placeholder), h("div", { class: "select-input-end" }, isClearable && h("div", { class: "divider" }), h("span", { class: {
|
|
845
845
|
"expand-icon": true,
|
|
846
846
|
"expand-icon-open": open,
|
|
847
|
-
}, innerHTML: Expand, "aria-hidden": "true" }))), isClearable && (h("ic-button", { id: "clear-button", "aria-label": "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: size, variant: "icon-tertiary", theme: clearButtonFocused ? "light" : "dark" }))))), (!isMobileOrTablet() || multiple) && (h("ic-menu", { key: '
|
|
847
|
+
}, innerHTML: Expand, "aria-hidden": "true" }))), isClearable && (h("ic-button", { id: "clear-button", "aria-label": "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: size, variant: "icon-tertiary", theme: clearButtonFocused ? "light" : "dark" }))))), (!isMobileOrTablet() || multiple) && (h("ic-menu", { key: '34f6484de01345c4ea6d9fcaa1cdc09c394e6904', class: {
|
|
848
848
|
"no-results": loading ||
|
|
849
849
|
hasTimedOut ||
|
|
850
850
|
(searchable &&
|
|
@@ -853,7 +853,7 @@ const Select = class {
|
|
|
853
853
|
((_d = (_c = this.uniqueOptions) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.label) === emptyOptionListText),
|
|
854
854
|
}, ref: (el) => (this.menu = el), inputEl: searchable
|
|
855
855
|
? this.searchableSelectElement
|
|
856
|
-
: this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, size: size, menuId: menuId, open: open, options: searchable ? filteredOptions : uniqueOptions, value: multiple ? currValue : currValue, fullWidth: fullWidth, selectOnEnter: selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuOptionSelectAll: this.handleSelectAllChange, onMenuKeyPress: this.handleMenuKeyPress, onUngroupedOptionsSet: this.setUngroupedOptions, onRetryButtonClicked: this.handleRetry, parentEl: this.el, onTimeoutBlur: this.onTimeoutBlur, activationType: searchable || multiple || selectOnEnter ? "manual" : "automatic", closeOnSelect: !multiple, multiSelect: multiple ? true : false, searchableSelect: searchable ? true : false })), multiple && (h("div", { key: '
|
|
856
|
+
: this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, size: size, menuId: menuId, open: open, options: searchable ? filteredOptions : uniqueOptions, value: multiple ? currValue : currValue, fullWidth: fullWidth, selectOnEnter: selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuOptionSelectAll: this.handleSelectAllChange, onMenuKeyPress: this.handleMenuKeyPress, onUngroupedOptionsSet: this.setUngroupedOptions, onRetryButtonClicked: this.handleRetry, parentEl: this.el, onTimeoutBlur: this.onTimeoutBlur, activationType: searchable || multiple || selectOnEnter ? "manual" : "automatic", closeOnSelect: !multiple, multiSelect: multiple ? true : false, searchableSelect: searchable ? true : false })), multiple && (h("div", { key: 'edbcf92bebb2999f1b9dbff3da4299fd3fa21c00', "aria-live": "polite", role: "status", class: "multi-select-selected-count" })), h("ic-input-validation", { key: '37d687c64608a1bd70763c2c09351be2d736c624', class: {
|
|
857
857
|
"menu-open": open,
|
|
858
858
|
}, ariaLiveMode: validationAriaLive, status: showValidation ? validationStatus : "", message: showValidation ? validationText : "", for: inputId }))));
|
|
859
859
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a7a720e7.js';
|
|
2
2
|
import { c as closeIcon } from './close-icon-539ec8d1.js';
|
|
3
3
|
import { C as Chevron } from './chevron-icon-589e3b46.js';
|
|
4
|
-
import {
|
|
5
|
-
import './constants-
|
|
4
|
+
import { C as getCssProperty, f as getCurrentDeviceSize, D as DEVICE_SIZES, g as getBrandForegroundAppearance, i as isSlotUsed, P as isEmptyString, h as checkResizeObserver, o as onComponentRequiredPropUndefined, y as hasClassificationBanner, I as IcBrandForegroundEnum, e as isPropDefined } from './helpers-0f85537f.js';
|
|
5
|
+
import './constants-ab12fdcf.js';
|
|
6
6
|
|
|
7
7
|
const menuIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
|
|
8
8
|
<path d="M0 0h24v24H0V0z" fill="none" />
|
|
@@ -457,7 +457,7 @@ const SideNavigation = class {
|
|
|
457
457
|
isAppNameSubtitleVariant,
|
|
458
458
|
appTitle: appTitle || "",
|
|
459
459
|
};
|
|
460
|
-
return (h(Host, { key: '
|
|
460
|
+
return (h(Host, { key: '2ca241755bb10821d8557f559592d4dd0760b887', class: {
|
|
461
461
|
"xs-menu-open": menuOpen && isSDevice,
|
|
462
462
|
"xs-menu-close": !menuOpen && isSDevice,
|
|
463
463
|
"sm-collapsed": !isSDevice && !menuExpanded,
|
|
@@ -466,12 +466,12 @@ const SideNavigation = class {
|
|
|
466
466
|
[`ic-side-navigation-${IcBrandForegroundEnum.Dark}`]: foregroundColor === IcBrandForegroundEnum.Dark,
|
|
467
467
|
["collapsed-labels"]: !isSDevice && !menuExpanded && !!collapsedIconLabels,
|
|
468
468
|
["ic-side-navigation-inline"]: !!inline,
|
|
469
|
-
} }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), h("div", { key: '
|
|
469
|
+
} }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), h("div", { key: 'aa5762da7c66f9017e74d98b9d036cb14c69ec19', class: "side-navigation", id: "side-navigation" }, !isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), h("div", { key: 'df39cd75e1e5386c9b199966244b420e0ef0d448', class: "side-navigation-inner" }, isSlotUsed(this.el, "primary-navigation") && (h("nav", { key: '8f5a9af9ec882ed1e313ce9273db4d6ab477a990', class: "primary-navigation", "aria-labelledby": "primary-navigation-landmark" }, h("span", { key: 'a91c060ed0c0294e6fdc99c995430058b753e4cd', "aria-hidden": "true", class: "navigation-landmark-title", id: "primary-navigation-landmark" }, "Primary"), h("ul", { key: '060f365653046b8088c9161231c4001d39643e29', class: "navigation-list" }, h("slot", { key: 'b761659a332a7734c798ba61dee24ca7754cf96b', name: "primary-navigation" }))))), h("div", { key: 'a5be3e27f68f9314e107babba3e1b61e3dba27b4', class: {
|
|
470
470
|
["bottom-wrapper"]: true,
|
|
471
471
|
["classification-spacing"]: hasClassificationBanner(),
|
|
472
|
-
} }, isSlotUsed(this.el, "secondary-navigation") && (h("nav", { key: '
|
|
472
|
+
} }, isSlotUsed(this.el, "secondary-navigation") && (h("nav", { key: 'eb981c93add2bce4f244cef2072ddbe9004920da', class: "secondary-navigation", "aria-labelledby": "secondary-navigation-landmark" }, h("span", { key: '14093650feb9f7836d21e5e9c23025f161aa0a03', "aria-hidden": "true", class: "navigation-landmark-title", id: "secondary-navigation-landmark" }, "Secondary"), h("ul", { key: '2fc5d7119e42ad1a699c19f401542441f3c38101', class: "navigation-list" }, h("slot", { key: 'de673e94462c14ea82eef271b1094d53b60fb3c0', name: "secondary-navigation" })))), h("div", { key: '8c187281a890650aa75aba49154e1bd64e37df00', class: "bottom-side-nav" }, this.hasSecondaryNavigation && h("ic-divider", { key: 'ec8d437485b0554ceaeaee4fd6eb7f8215c1f2c4' }), displayExpandBtn && (h("button", { key: '44733bc053b72179fe49c1a3156ed1a6d389ea35', class: "menu-expand-button", innerHTML: Chevron, onClick: () => this.toggleMenuExpanded(!this.menuExpanded), "aria-label": `${menuExpanded ? "Collapse" : "Expand"} side navigation` })), h("div", { key: '0c46f90bab1c162677caf7f3a1e2e97b83f4b21f', class: "app-status-wrapper" }, status && (h("div", { key: '0ff477aa184a44aacf5c04d4a6a635ec133722be', class: {
|
|
473
473
|
["app-status"]: true,
|
|
474
|
-
} }, h("ic-typography", { key: '
|
|
474
|
+
} }, h("ic-typography", { key: '5fe36c925f766f7db841f70ed9bcefeea1b7346e', "aria-label": "app tag", variant: "label-uppercase", class: "app-status-text" }, status))), version && (h("ic-typography", { key: '01e44f6858a26def4f6ae9996990e5d8f4d584b6', variant: "label", class: "app-version", "aria-label": "app version" }, version))))))));
|
|
475
475
|
}
|
|
476
476
|
get el() { return getElement(this); }
|
|
477
477
|
static get watchers() { return {
|
|
@@ -43,11 +43,11 @@ const Skeleton = class {
|
|
|
43
43
|
width: el.style.width || width || DEFAULT_WIDTHS[variant],
|
|
44
44
|
}
|
|
45
45
|
: undefined;
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: 'b4a3ebe92aabc313aeb97e95ba87c6c12c59d2c6', class: {
|
|
47
47
|
skeleton: true,
|
|
48
48
|
"ic-skeleton-circle": variant === "circle",
|
|
49
49
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
50
|
-
}, style: style, "aria-disabled": "true" }, h("slot", { key: '
|
|
50
|
+
}, style: style, "aria-disabled": "true" }, h("slot", { key: 'be6ae12693bcfe04b70bf3dfee0e1096d194b9c9' })));
|
|
51
51
|
}
|
|
52
52
|
get el() { return getElement(this); }
|
|
53
53
|
};
|
|
@@ -40,9 +40,9 @@ const SkipLink = class {
|
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
42
|
const { fullWidth, inline, label, monochrome, target, theme, transparentBackground, } = this;
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '4db32bbfdf500c9f7f39329124081e7e0d297678', class: {
|
|
44
44
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
45
|
-
} }, h("ic-link", { key: '
|
|
45
|
+
} }, h("ic-link", { key: '4311c903f118bab9fedbdc7bfbb8ab912a25a22a', class: {
|
|
46
46
|
"display-top": !inline,
|
|
47
47
|
"full-width": !!fullWidth,
|
|
48
48
|
"show-background": !transparentBackground,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-a7a720e7.js';
|
|
2
|
-
import { o as onComponentRequiredPropUndefined } from './helpers-
|
|
3
|
-
import './constants-
|
|
2
|
+
import { o as onComponentRequiredPropUndefined } from './helpers-0f85537f.js';
|
|
3
|
+
import './constants-ab12fdcf.js';
|
|
4
4
|
|
|
5
5
|
const icStatusTagCss = "/*! 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}.tag{padding:var(--ic-space-xxs) var(--ic-space-sm);font-size:0.875rem;border-radius:var(--ic-space-md);display:inline-block;min-width:2.5rem;text-align:center;--ic-typography-color:var(--ic-status-tag-text)}.small{padding:var(--ic-space-xxxs) var(--ic-space-sm);border-radius:calc(var(--ic-space-md) - var(--ic-space-xxxs))}.large{padding:var(--ic-space-xs) var(--ic-space-sm);border-radius:calc(var(--ic-space-md) + var(--ic-space-xxs))}.filled-neutral{background-color:var(--ic-status-tag-neutral)}.filled-success{background-color:var(--ic-status-tag-success)}.filled-warning{background-color:var(--ic-status-tag-warning);--ic-typography-color:var(--ic-status-tag-filled-warning-text)}.filled-danger{background-color:var(--ic-status-tag-error)}.outlined{padding:calc(var(--ic-space-xxxs) + var(--ic-space-1px))\n calc(var(--ic-space-sm) - var(--ic-space-1px))}.outlined.small{padding:var(--ic-space-1px) calc(var(--ic-space-sm) - var(--ic-space-1px))}.outlined.large{padding:calc(var(--ic-space-xs) - var(--ic-space-1px))\n calc(var(--ic-space-sm) - var(--ic-space-1px))}.outlined-neutral{background-color:var(--ic-status-tag-outlined-background-neutral);border:var(--ic-border-width) solid var(--ic-status-tag-outlined-neutral);--ic-typography-color:var(--ic-status-tag-text-inverted)}.outlined-success{background-color:var(--ic-status-tag-outlined-background-success);border:var(--ic-border-width) solid var(--ic-status-tag-outlined-success);--ic-typography-color:var(--ic-status-tag-text-inverted)}.outlined-warning{background-color:var(--ic-status-tag-outlined-background-warning);border:var(--ic-border-width) solid var(--ic-status-tag-outlined-warning);--ic-typography-color:var(--ic-status-tag-text-inverted)}.outlined-danger{background-color:var(--ic-status-tag-outlined-background-error);border:var(--ic-border-width) solid var(--ic-status-tag-outlined-error);--ic-typography-color:var(--ic-status-tag-text-inverted)}@media (forced-colors: active){:host{-ms-high-contrast-adjust:none;forced-color-adjust:none}}";
|
|
6
6
|
const IcStatusTagStyle0 = icStatusTagCss;
|
|
@@ -39,12 +39,12 @@ const StatusTag = class {
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
const { label, status, variant, size, announced, theme, uppercase } = this;
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: 'd0d10c46cc967c5448afb1c10ad1211916602678', class: { [`ic-theme-${theme}`]: theme !== "inherit" }, role: announced ? "status" : null, "aria-label": "Status" }, h("strong", { key: 'df86eb3a1d27444b991f2bbca96c80c1ee8213a5', class: {
|
|
43
43
|
["tag"]: true,
|
|
44
44
|
[`${variant}-${status}`]: true,
|
|
45
45
|
["outlined"]: variant === "outlined",
|
|
46
46
|
[`${size}`]: true,
|
|
47
|
-
} }, h("ic-typography", { key: '
|
|
47
|
+
} }, h("ic-typography", { key: '466f53b65c33bb62a60b50507b08fee5bd13d108', variant: uppercase ? "label-uppercase" : "label", "apply-vertical-margins": false }, h("span", { key: 'a0082731e24b6d9bae6ef5c6f4641c325fbcc5fb' }, label)))));
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
StatusTag.style = IcStatusTagStyle0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-a7a720e7.js';
|
|
2
2
|
import { C as Check } from './check-icon-4a9f8371.js';
|
|
3
|
-
import { e as isPropDefined, i as isSlotUsed } from './helpers-
|
|
4
|
-
import './constants-
|
|
3
|
+
import { e as isPropDefined, i as isSlotUsed } from './helpers-0f85537f.js';
|
|
4
|
+
import './constants-ab12fdcf.js';
|
|
5
5
|
|
|
6
6
|
const warningIcon = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
7
7
|
<path d="M7.99935 4.32666L13.0193 13H2.97935L7.99935 4.32666ZM7.99935 1.66666L0.666016 14.3333H15.3327L7.99935 1.66666ZM8.66602 11H7.33268V12.3333H8.66602V11ZM8.66602 6.99999H7.33268V9.66666H8.66602V6.99999Z" fill="currentColor"/>
|
|
@@ -83,27 +83,27 @@ const Step = class {
|
|
|
83
83
|
// STATUS ICON FOR COMPACT STEP
|
|
84
84
|
let statusIcon;
|
|
85
85
|
if (type === "completed" || compactStepStyling === "completed") {
|
|
86
|
-
statusIcon = (h("span", { key: '
|
|
86
|
+
statusIcon = (h("span", { key: '74b23c6076ab6aac072fc21e24ef5b13479699fc', class: "check-icon step-icon", "aria-hidden": "true", innerHTML: Check }));
|
|
87
87
|
}
|
|
88
88
|
else if (type === "disabled" || compactStepStyling === "disabled") {
|
|
89
|
-
statusIcon = (h("span", { key: '
|
|
89
|
+
statusIcon = (h("span", { key: '0494daaaee14c3f2d3bd424fc5fd194c7ff2b62b', class: "warning-icon step-icon", "aria-hidden": "true", innerHTML: warningIcon }));
|
|
90
90
|
}
|
|
91
91
|
// COMPACT STEP COMPONENT
|
|
92
|
-
const compactStep = (h("div", { key: '
|
|
92
|
+
const compactStep = (h("div", { key: 'c3098f790836c299becd073793de042c70687b00', class: {
|
|
93
93
|
["step"]: true,
|
|
94
94
|
["current"]: !!current,
|
|
95
95
|
[`compact-step-${compactStepStyling}`]: !!compactStepStyling,
|
|
96
96
|
["disabled"]: type === "disabled" || compactStepStyling === "disabled",
|
|
97
|
-
} }, h("ic-loading-indicator", { key: '
|
|
97
|
+
} }, h("ic-loading-indicator", { key: 'a192685be47c4df0b5420d03099e046d2c86d92f', class: {
|
|
98
98
|
"compact-step-progress-indicator": true,
|
|
99
99
|
"not-required": type === "disabled" || compactStepStyling === "disabled",
|
|
100
|
-
}, "aria-hidden": "true", size: "small", "inner-label": stepNum, progress: progress }), h("div", { key: '
|
|
100
|
+
}, "aria-hidden": "true", size: "small", "inner-label": stepNum, progress: progress }), h("div", { key: '031a4827300fe997173f0a92e7f184cdd2481a54', class: "heading-area" }, isSlotUsed(this.el, "heading") ? (h("slot", { name: "heading" })) : (h("ic-typography", { variant: "h4", class: "heading" }, heading)), h("div", { key: '1f7909a0de56a3cc2fc8e498c9d027bb5faeedb1', class: "info-line" }, h("ic-typography", { key: '8afdaa87473127f7e154c353fe13671ee6295e64', variant: "caption", class: "step-num" }, `${stepNum} ${icI18n.of} ${lastStepNum}`, h("span", { key: '9ce1f2f33a521ad17e6c16ff13c57b7418c50863', class: "visually-hidden" }, ` ${icI18n.steps}`)), (this.subheading ||
|
|
101
101
|
type === "completed" ||
|
|
102
102
|
type === "disabled" ||
|
|
103
103
|
(this.variant === "compact" &&
|
|
104
104
|
!!compactStepStyling &&
|
|
105
105
|
compactStepStyling !== "active") ||
|
|
106
|
-
!!status) && (h("div", { key: '
|
|
106
|
+
!!status) && (h("div", { key: 'f759a3ea746749a2e32a1f7fe242f81d415936ea', class: "step-status" }, statusIcon !== undefined && statusIcon, (subheading || stepType) && (h("ic-typography", { key: '2218c08fae3e99a77276ac5be770d83227d9436b', variant: "caption" }, subheading !== null && isPropDefined(subheading)
|
|
107
107
|
? subheading
|
|
108
108
|
: type === "disabled" ||
|
|
109
109
|
(variant === "compact" &&
|
|
@@ -116,26 +116,26 @@ const Step = class {
|
|
|
116
116
|
// ICON FOR DEFAULT STEP
|
|
117
117
|
let icon;
|
|
118
118
|
if (type !== "completed") {
|
|
119
|
-
icon = (h("ic-typography", { key: '
|
|
119
|
+
icon = (h("ic-typography", { key: 'bf9290b58e81fbd33b6fec33c1f8c2daf772e3d0', variant: "subtitle-small" }, h("span", { key: 'a7892500ccecb39d9ef030b1c265df95497dce73', class: "step-icon-inner", "aria-hidden": "true" }, this.stepNum)));
|
|
120
120
|
}
|
|
121
121
|
else {
|
|
122
|
-
icon = (h("div", { key: '
|
|
122
|
+
icon = (h("div", { key: 'cb195656bb75703ea8cdefdd2595984d7f134b68', class: "step-icon-inner", "aria-hidden": "true" }, h("span", { key: 'd83ddc1fe07d6f7e904b757e172541a6a614aa30', class: "check-icon", innerHTML: Check })));
|
|
123
123
|
}
|
|
124
124
|
// STEP CONNECT FOR DEFAULT STEP
|
|
125
|
-
const partialBar = type === "current" && (h("div", { key: '
|
|
126
|
-
const finalStep = !lastStep && (h("div", { key: '
|
|
125
|
+
const partialBar = type === "current" && (h("div", { key: 'bbff974e95f002d093040010add1700c99e07613', class: "step-connect-inner" }));
|
|
126
|
+
const finalStep = !lastStep && (h("div", { key: 'c53c5a27a5601021a3474920ff4724c93d3ea1af', class: {
|
|
127
127
|
["step-connect"]: true,
|
|
128
128
|
["aligned-full-width"]: !!(((_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.classList.contains("ic-stepper-default")) &&
|
|
129
129
|
!this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
|
|
130
130
|
} }, partialBar));
|
|
131
131
|
// DEFAULT STEP COMPONENT
|
|
132
|
-
const defaultStep = (h("div", { key: '
|
|
132
|
+
const defaultStep = (h("div", { key: '42b8f42430b8a455d1954141279c967b641fedf1', class: {
|
|
133
133
|
["step"]: true,
|
|
134
134
|
[`${type}`]: true,
|
|
135
|
-
} }, h("div", { key: '
|
|
135
|
+
} }, h("div", { key: 'f82f5598ba7bd24ee738263d1f7ff9230f2527ce', class: "step-top" }, h("div", { key: '86b4cfae9c5c411803556f6028776aef731e9701', class: "step-icon" }, icon), finalStep), (hasHeading || subheading || status) && (h("div", { key: '3cd81c453558c3ea8a42360bb02fc66e7354fcc1', class: "heading-area" }, isSlotUsed(this.el, "heading") ? (h("slot", { name: "heading" })) : (h("ic-typography", { variant: "subtitle-large", class: "heading" }, heading)), hasHeading && (subheading || status) && (h("ic-typography", { key: 'ff802a77f070a2eef0ee69c537f8b92d2d614488', variant: "caption", class: "subheading" }, subheading !== null && isPropDefined(subheading)
|
|
136
136
|
? subheading
|
|
137
137
|
: stepStatus))))));
|
|
138
|
-
return (h(Host, { key: '
|
|
138
|
+
return (h(Host, { key: '05f6c45fb88ca8576133885301077d9a5432580a', role: "listitem", "aria-label": `${icI18n.step} ${stepNum}${ariaLabel}`, "aria-current": (current || type === "current") && "step", class: {
|
|
139
139
|
["aligned-full-width"]: !!(((_b = this.el.parentElement) === null || _b === void 0 ? void 0 : _b.classList.contains("ic-stepper-default")) &&
|
|
140
140
|
!this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
|
|
141
141
|
[`ic-step-${variant}`]: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-a7a720e7.js';
|
|
2
|
-
import { p as pxToRem, h as checkResizeObserver } from './helpers-
|
|
3
|
-
import './constants-
|
|
2
|
+
import { p as pxToRem, h as checkResizeObserver } from './helpers-0f85537f.js';
|
|
3
|
+
import './constants-ab12fdcf.js';
|
|
4
4
|
|
|
5
5
|
const icStepperCss = ":host{display:flex;width:100%}.step-item-list{display:flex;margin:0;padding:0}:host(.ic-stepper-default:not(.ic-stepper-aligned-left)) .step-item-list{flex:auto}:host(.ic-stepper-compact) ul ::slotted(ic-step){display:none}:host(.ic-stepper-compact) ul ::slotted(ic-step.show){display:flex}:host(.ic-stepper-compact) ul ::slotted(ic-step.hide){display:none;opacity:0;visibility:hidden}";
|
|
6
6
|
const IcStepperStyle0 = icStepperCss;
|
|
@@ -285,11 +285,11 @@ const Stepper = class {
|
|
|
285
285
|
checkResizeObserver(this.runResizeObserver);
|
|
286
286
|
}
|
|
287
287
|
render() {
|
|
288
|
-
return (h(Host, { key: '
|
|
288
|
+
return (h(Host, { key: 'b7f2dcc641420517df19d3dd811bfeab6c924793', class: {
|
|
289
289
|
[`ic-stepper-${this.variant}`]: true,
|
|
290
290
|
["ic-stepper-aligned-left"]: this.variant === "default" && this.aligned === "left",
|
|
291
291
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
|
292
|
-
} }, h("ul", { key: '
|
|
292
|
+
} }, h("ul", { key: '9eadbde4ea2027d4c2f9f6ae3bcb67c0d8d91cc7', class: "step-item-list" }, h("slot", { key: '6567b75279bb52414e60d97eab675b2269851a93' }))));
|
|
293
293
|
}
|
|
294
294
|
get el() { return getElement(this); }
|
|
295
295
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a7a720e7.js';
|
|
2
|
-
import { r as removeDisabledFalse, l as removeFormResetListener, k as addFormResetListener, o as onComponentRequiredPropUndefined, m as renderHiddenInput, q as getInputDescribedByText } from './helpers-
|
|
3
|
-
import './constants-
|
|
2
|
+
import { r as removeDisabledFalse, l as removeFormResetListener, k as addFormResetListener, o as onComponentRequiredPropUndefined, m as renderHiddenInput, q as getInputDescribedByText } from './helpers-0f85537f.js';
|
|
3
|
+
import './constants-ab12fdcf.js';
|
|
4
4
|
|
|
5
5
|
const icSwitchCss = "/*! 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:inline-block;--ic-input-label-text-color:var(--ic-switch-label);--ic-input-label-helper-text-color:var(--ic-switch-help-text);--ic-input-label-helpertext-padding:var(--ic-space-xs)}input{overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ic-switch-container{display:flex;flex-wrap:wrap;align-items:center;cursor:pointer}.ic-switch-label{margin-left:var(--ic-space-xxs);margin-bottom:var(--ic-space-xs)}.ic-switch-label-small{margin-bottom:var(--ic-space-xs)}.ic-switch-toggle{display:flex;align-items:center;justify-content:space-around;width:4rem;height:var(--ic-space-xl);position:relative;border-radius:100vw;background-color:var(--ic-switch-unchecked-bg);border:var(--ic-border-width) solid var(--ic-switch-unchecked);box-sizing:border-box;transition:var(--ic-transition-duration-fast);margin-left:var(--ic-space-xxs)}.ic-switch-line-break{flex:1 0 100%}.ic-switch-toggle::before{content:\"\";width:1.333rem;height:1.333rem;border-radius:50%;position:absolute;z-index:2;top:50%;left:0.333rem;transform:translate(0, -50%);background-color:var(--ic-switch-unchecked);transition:var(--ic-transition-duration-slow)}.ic-switch-icon{display:inline-block;vertical-align:middle;width:0.625rem;height:0.625rem}.ic-switch-icon-circle,.ic-switch-icon-line{stroke-width:1}.ic-switch-icon-circle{stroke:var(--ic-switch-indicator-off)}.ic-switch-icon-line{stroke:var(--ic-switch-indicator-on)}@media (prefers-reduced-motion: reduce){.ic-switch-toggle::before{transition-duration:0ms}}.ic-switch-input:checked+.ic-switch-toggle{background-color:var(--ic-switch-checked-bg);border:none}.ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(var(--ic-space-xl), -50%);background-color:var(--ic-switch-checked)}.ic-switch-input:not([disabled])+.ic-switch-toggle:hover::before{box-shadow:0 0 0 0.75rem var(--ic-switch-unchecked-bg-hover)}.ic-switch-input:not([disabled])+.ic-switch-toggle:active::before{box-shadow:0 0 0 0.75rem var(--ic-switch-unchecked-bg-pressed)}.ic-switch-input:not([disabled]):checked+.ic-switch-toggle:hover::before{box-shadow:0 0 0 0.75rem var(--ic-switch-checked-bg-hover)}.ic-switch-input:not([disabled]):checked+.ic-switch-toggle:active::before{box-shadow:0 0 0 0.75rem var(--ic-switch-checked-bg-pressed)}.ic-switch-input:focus:not([disabled])+.ic-switch-toggle,.ic-switch-input:focus-visible:not([disabled])+.ic-switch-toggle{box-shadow:var(--ic-border-focus)}.ic-switch-disabled{cursor:default}.ic-switch-disabled .ic-switch-icon-circle{stroke:var(--ic-switch-indicator-off-disabled)}.ic-switch-disabled .ic-switch-icon-line{stroke:var(--ic-switch-indicator-on-disabled)}.ic-switch-input:disabled+.ic-switch-toggle{background-color:var(--ic-switch-unchecked-bg-disabled);border:var(--ic-space-1px) dashed var(--ic-switch-unchecked-outline-disabled)}.ic-switch-input:disabled+.ic-switch-toggle::before{background-color:var(--ic-switch-unchecked-disabled)}.ic-switch-input:disabled:checked+.ic-switch-toggle{background-color:var(--ic-switch-checked-bg-disabled);border:var(--ic-border-width) dashed\n var(--ic-switch-checked-outline-disabled)}.ic-switch-input:disabled:checked+.ic-switch-toggle::before{background-color:var(--ic-switch-checked)}.ic-switch-small .ic-switch-toggle{width:var(--ic-space-xxl);height:var(--ic-space-lg)}.ic-switch-small .ic-switch-toggle::before{width:var(--ic-space-md);height:var(--ic-space-md);left:var(--ic-space-xxs)}.ic-switch-small .ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(var(--ic-space-lg), -50%)}::slotted([slot=\"right-adornment\"]){margin-left:var(--ic-space-sm);fill:var(--ic-switch-icon)}@media (forced-colors: active){.ic-switch-toggle::before,.ic-switch-input:checked+.ic-switch-toggle{border:var(--ic-border-hc)}.ic-switch-input:focus+.ic-switch-toggle{border-color:highlight;outline:var(--ic-space-xxxs) solid highlight}.ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(calc(var(--ic-space-xl) - 0.125rem), -50%)}.ic-switch-input:disabled+.ic-switch-toggle,.ic-switch-input:disabled:checked+.ic-switch-toggle,.ic-switch-input:disabled+.ic-switch-toggle::before{border-color:GrayText}.ic-switch-disabled .ic-switch-icon-circle,.ic-switch-disabled .ic-switch-icon-line{stroke:GrayText}}";
|
|
6
6
|
const IcSwitchStyle0 = icSwitchCss;
|
|
@@ -96,16 +96,16 @@ const Switch = class {
|
|
|
96
96
|
const { label, checkedState, size, disabled, name, value, hideLabel, helperText, inputId, theme, } = this;
|
|
97
97
|
const isSmall = size === "small";
|
|
98
98
|
renderHiddenInput(this.el, checkedState ? value : "", name, disabled);
|
|
99
|
-
return (h(Host, { key: '
|
|
99
|
+
return (h(Host, { key: '1e956030826e52752e8c7653b8da25af46f52426', class: {
|
|
100
100
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
101
|
-
} }, h("label", { key: '
|
|
101
|
+
} }, h("label", { key: '91501b821fe6124254ee768b372e064cd081fb16', class: {
|
|
102
102
|
"ic-switch-container": true,
|
|
103
103
|
"ic-switch-disabled": !!disabled,
|
|
104
104
|
"ic-switch-small": isSmall,
|
|
105
|
-
}, htmlFor: inputId }, !hideLabel && (h("ic-input-label", { key: '
|
|
105
|
+
}, htmlFor: inputId }, !hideLabel && (h("ic-input-label", { key: 'f9f89f3e0a580fd136efb7b7f896c74020a22b08', for: inputId, label: label, helperText: helperText, readonly: false, disabled: disabled, class: {
|
|
106
106
|
"ic-switch-label": true,
|
|
107
107
|
"ic-switch-label-small": isSmall,
|
|
108
|
-
} }, h("slot", { key: '
|
|
108
|
+
} }, h("slot", { key: 'ba6d621b604fb414e32b3610730faece841d30e6', name: "helper-text", slot: "helper-text" }))), !hideLabel && h("span", { key: 'd2a675ea63e51c6f3a2c9e22494a4d04ea7d6376', class: "ic-switch-line-break" }), h("input", { key: 'd0ebcc9c3119699b54ed088a511e050229e57b05', checked: checkedState, disabled: disabled, "aria-label": label, "aria-checked": checkedState ? "true" : "false", "aria-describedby": getInputDescribedByText(this.el, inputId, helperText !== "", false), role: "switch", class: "ic-switch-input", type: "checkbox", name: "toggle", id: inputId, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.handleChange }), h("span", { key: '7f5c08f419bda58267c3664dc6d63ed5218310b6', class: "ic-switch-toggle" }, h("svg", { key: '72c0c627015a5d4928b5b1301498b3b35bc07a9e', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, h("line", { key: '82aa70d102ff0444cf751b2d180a9407cfa6f3fb', class: "ic-switch-icon-line", x1: "9", y1: isSmall ? "2" : "1", x2: "9", y2: isSmall ? "8" : "9" })), h("svg", { key: '2234f9200dd364dcb995e6f12d380ae141e6320a', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: '60c2fbd7fc71a7e310d42b8b20c5c4483aa743a7', class: "ic-switch-icon-circle", fill: "none", cx: "5", cy: "5", r: isSmall ? "3.335" : "4.445" }))), h("slot", { key: 'eb81e7b8b1c6037e23074d407174060811af077e', name: "right-adornment" }))));
|
|
109
109
|
}
|
|
110
110
|
static get delegatesFocus() { return true; }
|
|
111
111
|
get el() { return getElement(this); }
|
|
@@ -231,7 +231,7 @@ const TabContext = class {
|
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
render() {
|
|
234
|
-
return h("slot", { key: '
|
|
234
|
+
return h("slot", { key: 'ddf3e45c3bd98315d6d49e35e3b309acfefc0782' });
|
|
235
235
|
}
|
|
236
236
|
get el() { return getElement(this); }
|
|
237
237
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-a7a720e7.js';
|
|
2
|
-
import { o as onComponentRequiredPropUndefined } from './helpers-
|
|
3
|
-
import './constants-
|
|
2
|
+
import { o as onComponentRequiredPropUndefined } from './helpers-0f85537f.js';
|
|
3
|
+
import './constants-ab12fdcf.js';
|
|
4
4
|
|
|
5
5
|
const icTabGroupCss = ":host{display:block;margin-bottom:var(--ic-space-md);border-bottom:var(--ic-space-1px) solid var(--ic-tab-bottom-border)}:host(.ic-tab-group-monochrome){border-bottom:var(--ic-space-1px) solid\n var(--ic-tab-bottom-border-monochrome)}:host(.ic-tab-group-inline){margin-bottom:0;border-bottom:none}.tabs-container{display:flex;flex-direction:row}.tabs-container::-webkit-scrollbar{display:none}:host ic-horizontal-scroll{--splitter-color:var(--ic-tab-divider)}:host(.ic-tab-group-monochrome) ic-horizontal-scroll{--splitter-color:var(--ic-tab-divider-monochrome)}";
|
|
6
6
|
const IcTabGroupStyle0 = icTabGroupCss;
|
|
@@ -22,11 +22,11 @@ const TabGroup = class {
|
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
24
|
const { inline, theme, label, monochrome } = this;
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: 'e6eda4f0fddf03fa0e666070e9fe4a01ed6c244c', role: "tablist", "aria-label": label, class: {
|
|
26
26
|
["ic-tab-group-inline"]: !!inline,
|
|
27
27
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
28
28
|
["ic-tab-group-monochrome"]: !!monochrome,
|
|
29
|
-
} }, h("ic-horizontal-scroll", { key: '
|
|
29
|
+
} }, h("ic-horizontal-scroll", { key: 'b2387259eee6357ea9d90560aef246a035158e01', theme: theme, "focus-trigger": "tabFocus", monochrome: monochrome }, h("div", { key: 'a8351a7ab0e0a9ac824f5a4be46af8a97c6cb8dd', class: "tabs-container" }, h("slot", { key: '5008e5e509035d59bbf397a986af8d390ecacf1e' })))));
|
|
30
30
|
}
|
|
31
31
|
static get delegatesFocus() { return true; }
|
|
32
32
|
};
|
|
@@ -24,10 +24,10 @@ const TabPanel = class {
|
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
26
|
const { active, theme } = this;
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '33c2600681317fb27e801153496452582e5862a8', class: {
|
|
28
28
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
29
29
|
"ic-tab-panel-hidden": !active,
|
|
30
|
-
}, role: "tabpanel", "aria-hidden": `${!active}` }, h("div", { key: '
|
|
30
|
+
}, role: "tabpanel", "aria-hidden": `${!active}` }, h("div", { key: '722ead8cc9ed26d0815781211bb5e657aa65f8ba' }, h("slot", { key: '78dad6e7c3d0ba3c684d586c0a16d2d1e7de32f7' }))));
|
|
31
31
|
}
|
|
32
32
|
get el() { return getElement(this); }
|
|
33
33
|
};
|
package/dist/esm/ic-tab.entry.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a7a720e7.js';
|
|
2
|
-
import { r as removeDisabledFalse, i as isSlotUsed } from './helpers-
|
|
3
|
-
import './constants-
|
|
2
|
+
import { r as removeDisabledFalse, i as isSlotUsed } from './helpers-0f85537f.js';
|
|
3
|
+
import './constants-ab12fdcf.js';
|
|
4
4
|
|
|
5
5
|
const icTabCss = "/*! 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{--indicator-initial-color:rgba(23 89 188 / 0%);--focus-indicator:var(--ic-border-focus);display:flex;align-items:center;border-radius:0;color:var(--ic-tab-label);--ic-typography-color:var(--ic-tab-label);height:2.5rem;padding:0 var(--ic-space-md);cursor:pointer;position:relative;border-bottom:var(--ic-space-xxs) solid var(--indicator-initial-color);gap:var(--ic-space-xs);transition:all var(--ic-easing-transition-fast)}::slotted([slot=\"icon\"]){fill:var(--ic-tab-icon)}:host(.ic-tab-disabled) ::slotted([slot=\"icon\"]){fill:var(--ic-tab-icon-disabled)}:host(:focus){box-shadow:var(--focus-indicator);border-radius:var(--ic-border-radius)}:host(:focus-visible){outline:var(--ic-hc-focus-outline)}:host(:hover){background-color:var(--ic-tab-item-hover)}:host(:active){background-color:var(--ic-tab-item-pressed)}:host(.ic-tab-selected){border-bottom:var(--ic-space-xxs) solid var(--ic-tab-item)}:host(.ic-tab-disabled){pointer-events:none;color:var(--ic-architectural-300)}:host(.ic-tab-disabled) ic-typography{--ic-typography-color:var(--ic-tab-label-disabled)}:host(.ic-tab-monochrome){color:var(--ic-tab-label-monochrome)}:host(.ic-tab-monochrome.ic-tab-disabled) ic-typography{color:var(--ic-tab-label-monochrome-disabled)}:host(.ic-tab-monochrome) ::slotted([slot=\"icon\"]){fill:var(--ic-tab-icon-monochrome)}:host(.ic-tab-monochrome.ic-tab-disabled) ::slotted([slot=\"icon\"]){fill:var(--ic-tab-icon-monochrome-disabled)}:host(.ic-tab-monochrome.ic-tab-selected){border-bottom:var(--ic-space-xxs) solid var(--ic-tab-item-monochrome)}:host(.ic-tab-monochrome:hover){background-color:var(--ic-tab-item-hover-monochrome)}:host(.ic-tab-monochrome:active){background-color:var(--ic-tab-item-pressed-monochrome)}@media (prefers-reduced-motion: no-preference){:host(.ic-tab-selected.with-transition){transition:all var(--ic-easing-transition-slow),\n border-color var(--ic-transition-duration-slow)}}.ic-tab-label{pointer-events:none;text-wrap:nowrap}::slotted(svg){fill:currentcolor}@media (forced-colors: active){:host{border-bottom:var(--ic-space-xxs) solid canvas}:host(.ic-tab-disabled){color:GrayText}:host(.ic-tab-disabled) ic-typography{color:GrayText;--ic-typography-color:GrayText}}";
|
|
6
6
|
const IcTabStyle0 = icTabCss;
|
|
@@ -89,13 +89,13 @@ const Tab = class {
|
|
|
89
89
|
}
|
|
90
90
|
render() {
|
|
91
91
|
const { disabled, selected, theme, monochrome, handleClick, handleFocus, handleMouseDown, } = this;
|
|
92
|
-
return (h(Host, { key: '
|
|
92
|
+
return (h(Host, { key: '3bf21c3c40b3d05205e9f78ab27886fc6eaa57e7', class: {
|
|
93
93
|
["with-transition"]: !this.isInitialRender,
|
|
94
94
|
["ic-tab-selected"]: !!selected,
|
|
95
95
|
["ic-tab-disabled"]: !!disabled,
|
|
96
96
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
97
97
|
["ic-tab-monochrome"]: !!monochrome,
|
|
98
|
-
}, role: "tab", "aria-selected": `${selected}`, onClick: handleClick, onFocus: handleFocus, onMouseDown: handleMouseDown, "aria-disabled": `${disabled}`, tabindex: selected ? 0 : -1 }, isSlotUsed(this.el, "icon") && h("slot", { key: '
|
|
98
|
+
}, role: "tab", "aria-selected": `${selected}`, onClick: handleClick, onFocus: handleFocus, onMouseDown: handleMouseDown, "aria-disabled": `${disabled}`, tabindex: selected ? 0 : -1 }, isSlotUsed(this.el, "icon") && h("slot", { key: 'd3638e97b02e0938fc25ef9fe8fd74eca1ff235b', name: "icon" }), h("ic-typography", { key: '35c6f3a78c18b43716e3ceb26736b8e2f3e64d3f', class: "ic-tab-label", variant: "label" }, h("span", { key: '2d64798a00f945d9fcf830c4e5c6b4abf1fcf45c' }, h("slot", { key: 'd2c099b23e226d66c754fdd16bcc7b62ffea2ad0' }))), isSlotUsed(this.el, "badge") && h("slot", { key: '9072229033bfc5e11c3e9ee048d5a578ebfd8a78', name: "badge" })));
|
|
99
99
|
}
|
|
100
100
|
get el() { return getElement(this); }
|
|
101
101
|
static get watchers() { return {
|