@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
|
@@ -19,12 +19,12 @@ const SectionContainer = /*@__PURE__*/ proxyCustomElement(class SectionContainer
|
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
21
|
const { aligned, fullHeight } = this;
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '54b72df0db0ae4794b74be875011b76868370b73', class: {
|
|
23
23
|
["aligned-left"]: aligned === "left" || aligned === null,
|
|
24
24
|
["aligned-center"]: aligned === "center",
|
|
25
25
|
["aligned-full-width"]: aligned === "full-width",
|
|
26
26
|
["no-vertical-padding"]: !!fullHeight,
|
|
27
|
-
} }, h("slot", { key: '
|
|
27
|
+
} }, h("slot", { key: 'c0f0631b39da318c0ce15c6f6200c1f03268bd7a' })));
|
|
28
28
|
}
|
|
29
29
|
static get style() { return IcSectionContainerStyle0; }
|
|
30
30
|
}, [1, "ic-section-container", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { W as checkSlotInChildMutations, U as getLabelFromValue, T as getFilteredMenuOptions, L as isMacDevice, M as getOptionsWithoutGroupTitlesCount, r as removeDisabledFalse, t as removeFormResetListener, b as inheritAttributes, s as addFormResetListener, o as onComponentRequiredPropUndefined, u as renderHiddenInput, w as getInputDescribedByText, i as isSlotUsed, X as isMobileOrTablet, A as IcInformationStatus, x as hasValidationStatus } from './helpers.js';
|
|
3
3
|
import { I as IC_INHERITED_ARIA } from './constants.js';
|
|
4
4
|
import { d as defineCustomElement$a } from './ic-button2.js';
|
|
5
5
|
import { d as defineCustomElement$9 } from './ic-input-component-container2.js';
|
|
@@ -823,18 +823,18 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
823
823
|
(searchable
|
|
824
824
|
? !!searchableSelectInputValue
|
|
825
825
|
: !!currValue && !loading && showClearButton);
|
|
826
|
-
return (h(Host, { key: '
|
|
826
|
+
return (h(Host, { key: '7fe228e078a155a73e2fc94cc2b118c93b4145fe', class: {
|
|
827
827
|
"ic-select-disabled": disabled,
|
|
828
828
|
"ic-select-searchable": searchable,
|
|
829
829
|
[`ic-select-${size}`]: size !== "medium",
|
|
830
830
|
"ic-select-full-width": fullWidth,
|
|
831
831
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
832
|
-
}, onBlur: this.onBlur }, h("ic-input-container", { key: '
|
|
832
|
+
}, 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") &&
|
|
833
833
|
!disabled &&
|
|
834
|
-
(!readonly || !!value) && (h("span", { key: '
|
|
834
|
+
(!readonly || !!value) && (h("span", { key: '6976af6d54de212225c8187634faceac225d769e', slot: "left-icon", class: {
|
|
835
835
|
readonly,
|
|
836
836
|
"has-value": !!value,
|
|
837
|
-
} }, h("slot", { key: '
|
|
837
|
+
} }, 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: {
|
|
838
838
|
"value-text": true,
|
|
839
839
|
"select-input": true,
|
|
840
840
|
"with-clear-button": !!searchableSelectInputValue,
|
|
@@ -855,7 +855,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
855
855
|
} }, valueLabelString || placeholder), h("div", { class: "select-input-end" }, isClearable && h("div", { class: "divider" }), h("span", { class: {
|
|
856
856
|
"expand-icon": true,
|
|
857
857
|
"expand-icon-open": open,
|
|
858
|
-
}, 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: '
|
|
858
|
+
}, 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: {
|
|
859
859
|
"no-results": loading ||
|
|
860
860
|
hasTimedOut ||
|
|
861
861
|
(searchable &&
|
|
@@ -864,7 +864,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
864
864
|
((_d = (_c = this.uniqueOptions) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.label) === emptyOptionListText),
|
|
865
865
|
}, ref: (el) => (this.menu = el), inputEl: searchable
|
|
866
866
|
? this.searchableSelectElement
|
|
867
|
-
: 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: '
|
|
867
|
+
: 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: {
|
|
868
868
|
"menu-open": open,
|
|
869
869
|
}, ariaLiveMode: validationAriaLive, status: showValidation ? validationStatus : "", message: showValidation ? validationText : "", for: inputId }))));
|
|
870
870
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as closeIcon } from './close-icon.js';
|
|
3
3
|
import { c as chevronIcon } from './chevron-icon.js';
|
|
4
|
-
import {
|
|
4
|
+
import { P as getCssProperty, q as getCurrentDeviceSize, D as DEVICE_SIZES, l as getBrandForegroundAppearance, i as isSlotUsed, H as isEmptyString, c as checkResizeObserver, o as onComponentRequiredPropUndefined, I as IcBrandForegroundEnum, J as hasClassificationBanner, m as isPropDefined } from './helpers.js';
|
|
5
5
|
import { d as defineCustomElement$6 } from './ic-button2.js';
|
|
6
6
|
import { d as defineCustomElement$5 } from './ic-divider2.js';
|
|
7
7
|
import { d as defineCustomElement$4 } from './ic-loading-indicator2.js';
|
|
@@ -463,7 +463,7 @@ const SideNavigation = /*@__PURE__*/ proxyCustomElement(class SideNavigation ext
|
|
|
463
463
|
isAppNameSubtitleVariant,
|
|
464
464
|
appTitle: appTitle || "",
|
|
465
465
|
};
|
|
466
|
-
return (h(Host, { key: '
|
|
466
|
+
return (h(Host, { key: '2ca241755bb10821d8557f559592d4dd0760b887', class: {
|
|
467
467
|
"xs-menu-open": menuOpen && isSDevice,
|
|
468
468
|
"xs-menu-close": !menuOpen && isSDevice,
|
|
469
469
|
"sm-collapsed": !isSDevice && !menuExpanded,
|
|
@@ -472,12 +472,12 @@ const SideNavigation = /*@__PURE__*/ proxyCustomElement(class SideNavigation ext
|
|
|
472
472
|
[`ic-side-navigation-${IcBrandForegroundEnum.Dark}`]: foregroundColor === IcBrandForegroundEnum.Dark,
|
|
473
473
|
["collapsed-labels"]: !isSDevice && !menuExpanded && !!collapsedIconLabels,
|
|
474
474
|
["ic-side-navigation-inline"]: !!inline,
|
|
475
|
-
} }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), h("div", { key: '
|
|
475
|
+
} }, 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: {
|
|
476
476
|
["bottom-wrapper"]: true,
|
|
477
477
|
["classification-spacing"]: hasClassificationBanner(),
|
|
478
|
-
} }, isSlotUsed(this.el, "secondary-navigation") && (h("nav", { key: '
|
|
478
|
+
} }, 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: chevronIcon, 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: {
|
|
479
479
|
["app-status"]: true,
|
|
480
|
-
} }, h("ic-typography", { key: '
|
|
480
|
+
} }, 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))))))));
|
|
481
481
|
}
|
|
482
482
|
get el() { return this; }
|
|
483
483
|
static get watchers() { return {
|
|
@@ -45,11 +45,11 @@ const Skeleton = /*@__PURE__*/ proxyCustomElement(class Skeleton extends HTMLEle
|
|
|
45
45
|
width: el.style.width || width || DEFAULT_WIDTHS[variant],
|
|
46
46
|
}
|
|
47
47
|
: undefined;
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: 'b4a3ebe92aabc313aeb97e95ba87c6c12c59d2c6', class: {
|
|
49
49
|
skeleton: true,
|
|
50
50
|
"ic-skeleton-circle": variant === "circle",
|
|
51
51
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
52
|
-
}, style: style, "aria-disabled": "true" }, h("slot", { key: '
|
|
52
|
+
}, style: style, "aria-disabled": "true" }, h("slot", { key: 'be6ae12693bcfe04b70bf3dfee0e1096d194b9c9' })));
|
|
53
53
|
}
|
|
54
54
|
get el() { return this; }
|
|
55
55
|
static get style() { return IcSkeletonStyle0; }
|
|
@@ -43,9 +43,9 @@ const SkipLink = /*@__PURE__*/ proxyCustomElement(class SkipLink extends HTMLEle
|
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
45
|
const { fullWidth, inline, label, monochrome, target, theme, transparentBackground, } = this;
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '4db32bbfdf500c9f7f39329124081e7e0d297678', class: {
|
|
47
47
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
48
|
-
} }, h("ic-link", { key: '
|
|
48
|
+
} }, h("ic-link", { key: '4311c903f118bab9fedbdc7bfbb8ab912a25a22a', class: {
|
|
49
49
|
"display-top": !inline,
|
|
50
50
|
"full-width": !!fullWidth,
|
|
51
51
|
"show-background": !transparentBackground,
|
|
@@ -41,12 +41,12 @@ const StatusTag = /*@__PURE__*/ proxyCustomElement(class StatusTag extends HTMLE
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
const { label, status, variant, size, announced, theme, uppercase } = this;
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: 'd0d10c46cc967c5448afb1c10ad1211916602678', class: { [`ic-theme-${theme}`]: theme !== "inherit" }, role: announced ? "status" : null, "aria-label": "Status" }, h("strong", { key: 'df86eb3a1d27444b991f2bbca96c80c1ee8213a5', class: {
|
|
45
45
|
["tag"]: true,
|
|
46
46
|
[`${variant}-${status}`]: true,
|
|
47
47
|
["outlined"]: variant === "outlined",
|
|
48
48
|
[`${size}`]: true,
|
|
49
|
-
} }, h("ic-typography", { key: '
|
|
49
|
+
} }, h("ic-typography", { key: '466f53b65c33bb62a60b50507b08fee5bd13d108', variant: uppercase ? "label-uppercase" : "label", "apply-vertical-margins": false }, h("span", { key: 'a0082731e24b6d9bae6ef5c6f4641c325fbcc5fb' }, label)))));
|
|
50
50
|
}
|
|
51
51
|
static get style() { return IcStatusTagStyle0; }
|
|
52
52
|
}, [1, "ic-status-tag", {
|
|
@@ -86,27 +86,27 @@ const Step = /*@__PURE__*/ proxyCustomElement(class Step extends HTMLElement {
|
|
|
86
86
|
// STATUS ICON FOR COMPACT STEP
|
|
87
87
|
let statusIcon;
|
|
88
88
|
if (type === "completed" || compactStepStyling === "completed") {
|
|
89
|
-
statusIcon = (h("span", { key: '
|
|
89
|
+
statusIcon = (h("span", { key: '74b23c6076ab6aac072fc21e24ef5b13479699fc', class: "check-icon step-icon", "aria-hidden": "true", innerHTML: checkIcon }));
|
|
90
90
|
}
|
|
91
91
|
else if (type === "disabled" || compactStepStyling === "disabled") {
|
|
92
|
-
statusIcon = (h("span", { key: '
|
|
92
|
+
statusIcon = (h("span", { key: '0494daaaee14c3f2d3bd424fc5fd194c7ff2b62b', class: "warning-icon step-icon", "aria-hidden": "true", innerHTML: warningIcon }));
|
|
93
93
|
}
|
|
94
94
|
// COMPACT STEP COMPONENT
|
|
95
|
-
const compactStep = (h("div", { key: '
|
|
95
|
+
const compactStep = (h("div", { key: 'c3098f790836c299becd073793de042c70687b00', class: {
|
|
96
96
|
["step"]: true,
|
|
97
97
|
["current"]: !!current,
|
|
98
98
|
[`compact-step-${compactStepStyling}`]: !!compactStepStyling,
|
|
99
99
|
["disabled"]: type === "disabled" || compactStepStyling === "disabled",
|
|
100
|
-
} }, h("ic-loading-indicator", { key: '
|
|
100
|
+
} }, h("ic-loading-indicator", { key: 'a192685be47c4df0b5420d03099e046d2c86d92f', class: {
|
|
101
101
|
"compact-step-progress-indicator": true,
|
|
102
102
|
"not-required": type === "disabled" || compactStepStyling === "disabled",
|
|
103
|
-
}, "aria-hidden": "true", size: "small", "inner-label": stepNum, progress: progress }), h("div", { key: '
|
|
103
|
+
}, "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 ||
|
|
104
104
|
type === "completed" ||
|
|
105
105
|
type === "disabled" ||
|
|
106
106
|
(this.variant === "compact" &&
|
|
107
107
|
!!compactStepStyling &&
|
|
108
108
|
compactStepStyling !== "active") ||
|
|
109
|
-
!!status) && (h("div", { key: '
|
|
109
|
+
!!status) && (h("div", { key: 'f759a3ea746749a2e32a1f7fe242f81d415936ea', class: "step-status" }, statusIcon !== undefined && statusIcon, (subheading || stepType) && (h("ic-typography", { key: '2218c08fae3e99a77276ac5be770d83227d9436b', variant: "caption" }, subheading !== null && isPropDefined(subheading)
|
|
110
110
|
? subheading
|
|
111
111
|
: type === "disabled" ||
|
|
112
112
|
(variant === "compact" &&
|
|
@@ -119,26 +119,26 @@ const Step = /*@__PURE__*/ proxyCustomElement(class Step extends HTMLElement {
|
|
|
119
119
|
// ICON FOR DEFAULT STEP
|
|
120
120
|
let icon;
|
|
121
121
|
if (type !== "completed") {
|
|
122
|
-
icon = (h("ic-typography", { key: '
|
|
122
|
+
icon = (h("ic-typography", { key: 'bf9290b58e81fbd33b6fec33c1f8c2daf772e3d0', variant: "subtitle-small" }, h("span", { key: 'a7892500ccecb39d9ef030b1c265df95497dce73', class: "step-icon-inner", "aria-hidden": "true" }, this.stepNum)));
|
|
123
123
|
}
|
|
124
124
|
else {
|
|
125
|
-
icon = (h("div", { key: '
|
|
125
|
+
icon = (h("div", { key: 'cb195656bb75703ea8cdefdd2595984d7f134b68', class: "step-icon-inner", "aria-hidden": "true" }, h("span", { key: 'd83ddc1fe07d6f7e904b757e172541a6a614aa30', class: "check-icon", innerHTML: checkIcon })));
|
|
126
126
|
}
|
|
127
127
|
// STEP CONNECT FOR DEFAULT STEP
|
|
128
|
-
const partialBar = type === "current" && (h("div", { key: '
|
|
129
|
-
const finalStep = !lastStep && (h("div", { key: '
|
|
128
|
+
const partialBar = type === "current" && (h("div", { key: 'bbff974e95f002d093040010add1700c99e07613', class: "step-connect-inner" }));
|
|
129
|
+
const finalStep = !lastStep && (h("div", { key: 'c53c5a27a5601021a3474920ff4724c93d3ea1af', class: {
|
|
130
130
|
["step-connect"]: true,
|
|
131
131
|
["aligned-full-width"]: !!(((_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.classList.contains("ic-stepper-default")) &&
|
|
132
132
|
!this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
|
|
133
133
|
} }, partialBar));
|
|
134
134
|
// DEFAULT STEP COMPONENT
|
|
135
|
-
const defaultStep = (h("div", { key: '
|
|
135
|
+
const defaultStep = (h("div", { key: '42b8f42430b8a455d1954141279c967b641fedf1', class: {
|
|
136
136
|
["step"]: true,
|
|
137
137
|
[`${type}`]: true,
|
|
138
|
-
} }, h("div", { key: '
|
|
138
|
+
} }, 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)
|
|
139
139
|
? subheading
|
|
140
140
|
: stepStatus))))));
|
|
141
|
-
return (h(Host, { key: '
|
|
141
|
+
return (h(Host, { key: '05f6c45fb88ca8576133885301077d9a5432580a', role: "listitem", "aria-label": `${icI18n.step} ${stepNum}${ariaLabel}`, "aria-current": (current || type === "current") && "step", class: {
|
|
142
142
|
["aligned-full-width"]: !!(((_b = this.el.parentElement) === null || _b === void 0 ? void 0 : _b.classList.contains("ic-stepper-default")) &&
|
|
143
143
|
!this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
|
|
144
144
|
[`ic-step-${variant}`]: true,
|
|
@@ -286,11 +286,11 @@ const Stepper = /*@__PURE__*/ proxyCustomElement(class Stepper extends HTMLEleme
|
|
|
286
286
|
checkResizeObserver(this.runResizeObserver);
|
|
287
287
|
}
|
|
288
288
|
render() {
|
|
289
|
-
return (h(Host, { key: '
|
|
289
|
+
return (h(Host, { key: 'b7f2dcc641420517df19d3dd811bfeab6c924793', class: {
|
|
290
290
|
[`ic-stepper-${this.variant}`]: true,
|
|
291
291
|
["ic-stepper-aligned-left"]: this.variant === "default" && this.aligned === "left",
|
|
292
292
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
|
293
|
-
} }, h("ul", { key: '
|
|
293
|
+
} }, h("ul", { key: '9eadbde4ea2027d4c2f9f6ae3bcb67c0d8d91cc7', class: "step-item-list" }, h("slot", { key: '6567b75279bb52414e60d97eab675b2269851a93' }))));
|
|
294
294
|
}
|
|
295
295
|
get el() { return this; }
|
|
296
296
|
static get watchers() { return {
|
|
@@ -99,16 +99,16 @@ const Switch = /*@__PURE__*/ proxyCustomElement(class Switch extends HTMLElement
|
|
|
99
99
|
const { label, checkedState, size, disabled, name, value, hideLabel, helperText, inputId, theme, } = this;
|
|
100
100
|
const isSmall = size === "small";
|
|
101
101
|
renderHiddenInput(this.el, checkedState ? value : "", name, disabled);
|
|
102
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: '1e956030826e52752e8c7653b8da25af46f52426', class: {
|
|
103
103
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
104
|
-
} }, h("label", { key: '
|
|
104
|
+
} }, h("label", { key: '91501b821fe6124254ee768b372e064cd081fb16', class: {
|
|
105
105
|
"ic-switch-container": true,
|
|
106
106
|
"ic-switch-disabled": !!disabled,
|
|
107
107
|
"ic-switch-small": isSmall,
|
|
108
|
-
}, htmlFor: inputId }, !hideLabel && (h("ic-input-label", { key: '
|
|
108
|
+
}, htmlFor: inputId }, !hideLabel && (h("ic-input-label", { key: 'f9f89f3e0a580fd136efb7b7f896c74020a22b08', for: inputId, label: label, helperText: helperText, readonly: false, disabled: disabled, class: {
|
|
109
109
|
"ic-switch-label": true,
|
|
110
110
|
"ic-switch-label-small": isSmall,
|
|
111
|
-
} }, h("slot", { key: '
|
|
111
|
+
} }, 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" }))));
|
|
112
112
|
}
|
|
113
113
|
static get delegatesFocus() { return true; }
|
|
114
114
|
get el() { return this; }
|
|
@@ -232,7 +232,7 @@ const TabContext = /*@__PURE__*/ proxyCustomElement(class TabContext extends HTM
|
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
234
|
render() {
|
|
235
|
-
return h("slot", { key: '
|
|
235
|
+
return h("slot", { key: 'ddf3e45c3bd98315d6d49e35e3b309acfefc0782' });
|
|
236
236
|
}
|
|
237
237
|
get el() { return this; }
|
|
238
238
|
static get watchers() { return {
|
|
@@ -28,11 +28,11 @@ const TabGroup = /*@__PURE__*/ proxyCustomElement(class TabGroup extends HTMLEle
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
const { inline, theme, label, monochrome } = this;
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: 'e6eda4f0fddf03fa0e666070e9fe4a01ed6c244c', role: "tablist", "aria-label": label, class: {
|
|
32
32
|
["ic-tab-group-inline"]: !!inline,
|
|
33
33
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
34
34
|
["ic-tab-group-monochrome"]: !!monochrome,
|
|
35
|
-
} }, h("ic-horizontal-scroll", { key: '
|
|
35
|
+
} }, h("ic-horizontal-scroll", { key: 'b2387259eee6357ea9d90560aef246a035158e01', theme: theme, "focus-trigger": "tabFocus", monochrome: monochrome }, h("div", { key: 'a8351a7ab0e0a9ac824f5a4be46af8a97c6cb8dd', class: "tabs-container" }, h("slot", { key: '5008e5e509035d59bbf397a986af8d390ecacf1e' })))));
|
|
36
36
|
}
|
|
37
37
|
static get delegatesFocus() { return true; }
|
|
38
38
|
static get style() { return IcTabGroupStyle0; }
|
|
@@ -26,10 +26,10 @@ const TabPanel = /*@__PURE__*/ proxyCustomElement(class TabPanel extends HTMLEle
|
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
28
|
const { active, theme } = this;
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: '33c2600681317fb27e801153496452582e5862a8', class: {
|
|
30
30
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
31
31
|
"ic-tab-panel-hidden": !active,
|
|
32
|
-
}, role: "tabpanel", "aria-hidden": `${!active}` }, h("div", { key: '
|
|
32
|
+
}, role: "tabpanel", "aria-hidden": `${!active}` }, h("div", { key: '722ead8cc9ed26d0815781211bb5e657aa65f8ba' }, h("slot", { key: '78dad6e7c3d0ba3c684d586c0a16d2d1e7de32f7' }))));
|
|
33
33
|
}
|
|
34
34
|
get el() { return this; }
|
|
35
35
|
static get style() { return IcTabPanelStyle0; }
|
|
@@ -91,13 +91,13 @@ const Tab = /*@__PURE__*/ proxyCustomElement(class Tab extends HTMLElement {
|
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
93
|
const { disabled, selected, theme, monochrome, handleClick, handleFocus, handleMouseDown, } = this;
|
|
94
|
-
return (h(Host, { key: '
|
|
94
|
+
return (h(Host, { key: '3bf21c3c40b3d05205e9f78ab27886fc6eaa57e7', class: {
|
|
95
95
|
["with-transition"]: !this.isInitialRender,
|
|
96
96
|
["ic-tab-selected"]: !!selected,
|
|
97
97
|
["ic-tab-disabled"]: !!disabled,
|
|
98
98
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
99
99
|
["ic-tab-monochrome"]: !!monochrome,
|
|
100
|
-
}, 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: '
|
|
100
|
+
}, 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" })));
|
|
101
101
|
}
|
|
102
102
|
get el() { return this; }
|
|
103
103
|
static get watchers() { return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { H as isEmptyString, W as checkSlotInChildMutations, r as removeDisabledFalse, V as debounceEvent, t as removeFormResetListener, b as inheritAttributes, s as addFormResetListener, o as onComponentRequiredPropUndefined, A as IcInformationStatus, w as getInputDescribedByText, u as renderHiddenInput, v as removeHiddenInput, i as isSlotUsed } from './helpers.js';
|
|
3
3
|
import { e as IGNORED_KEYBOARD_CHARACTERS, I as IC_INHERITED_ARIA } from './constants.js';
|
|
4
4
|
import { d as defineCustomElement$6 } from './ic-input-component-container2.js';
|
|
5
5
|
import { d as defineCustomElement$5 } from './ic-input-container2.js';
|
|
@@ -400,14 +400,14 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLE
|
|
|
400
400
|
hiddenInput
|
|
401
401
|
? renderHiddenInput(this.el, value, name, disabledMode)
|
|
402
402
|
: removeHiddenInput(this.el);
|
|
403
|
-
return (h(Host, { key: '
|
|
403
|
+
return (h(Host, { key: 'c94560bea90464d881f323a308aa17926a2ff1e6', class: {
|
|
404
404
|
"ic-text-field-full-width": fullWidth,
|
|
405
405
|
"ic-text-field-disabled": disabledMode,
|
|
406
406
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
407
|
-
} }, h("ic-input-container", { key: '
|
|
407
|
+
} }, h("ic-input-container", { key: 'cf76ec0c26f5003f66707b697df8c6e065872a66', readonly: readonly, disabled: disabledMode }, !hideLabel && (h("ic-input-label", { key: '0e8b2170e02cafadcda1cd7c73b1fe0d17695247', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledText, readonly: readonly }, h("slot", { key: 'fb77e901d7b762bcdbe4b5aa1c448602617d1951', name: "helper-text", slot: "helper-text" }))), h("ic-input-component-container", { key: '51aff4fba6d8c8e474ebfc27f77c560cce1125f8', size: size, validationStatus: currentStatus, multiLine: multiline, disabled: disabledMode, readonly: readonly, validationInline: validationInline, fullWidth: fullWidth }, showLeftIcon && (h("span", { key: '85df3728d49c37c33e1fe792973c527137431a78', class: {
|
|
408
408
|
readonly,
|
|
409
409
|
"has-value": this.getNumberOfCharacters(value) > 0,
|
|
410
|
-
}, slot: "left-icon" }, h("slot", { key: '
|
|
410
|
+
}, slot: "left-icon" }, h("slot", { key: 'dc4cbe888dbe0e864102f60496be589951c4e610', name: "icon" }))), !multiline ? (h("input", Object.assign({ id: inputId, name: name, ref: (el) => (this.inputEl = el), type: type, min: min, max: max, value: value, class: {
|
|
411
411
|
"no-left-pad": !showLeftIcon && readonly,
|
|
412
412
|
readonly,
|
|
413
413
|
"truncate-value": truncateValue,
|
|
@@ -415,12 +415,12 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLE
|
|
|
415
415
|
"no-resize": resize === false || !!readonly,
|
|
416
416
|
"no-left-pad": !showLeftIcon && !!readonly,
|
|
417
417
|
readonly: !!readonly,
|
|
418
|
-
}, name: name, ref: (el) => (this.inputEl = el), value: value, rows: rows, required: required, disabled: disabledMode, placeholder: placeholder, readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, onScroll: this.onTextAreaScroll, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, autocomplete: autocomplete, autocapitalize: autocapitalize, spellcheck: spellcheck, inputmode: inputmode, maxlength: maxCharactersReached ? maxCharacters : undefined, minlength: minCharactersUnattained ? minCharacters : undefined }, inheritedAttributes))), isSlotUsed(el, "clear-button") && (h("slot", { key: '
|
|
418
|
+
}, name: name, ref: (el) => (this.inputEl = el), value: value, rows: rows, required: required, disabled: disabledMode, placeholder: placeholder, readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, onScroll: this.onTextAreaScroll, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, autocomplete: autocomplete, autocapitalize: autocapitalize, spellcheck: spellcheck, inputmode: inputmode, maxlength: maxCharactersReached ? maxCharacters : undefined, minlength: minCharactersUnattained ? minCharacters : undefined }, inheritedAttributes))), isSlotUsed(el, "clear-button") && (h("slot", { key: '6faa3c12856f4f6c10158af49f14b51d5dac92e8', name: "clear-button" })), isSlotUsed(el, "search-submit-button") && (h("slot", { key: 'c18e08b7ae93e3f65e0410af0b6d64eb418e3940', name: "search-submit-button" }))), isSlotUsed(el, "menu") && h("slot", { key: 'e1a46ef6a4d97c4910df75941d6608a7765d127a', name: "menu" }), h("ic-input-validation", { key: 'e963d95a1e5bfc767c35b798c61bcf958dbcdfa6', class: { "show-validation": this.showValidationMargin() }, status: this.hasStatus(currentStatus) === false ||
|
|
419
419
|
(currentStatus === IcInformationStatus.Success &&
|
|
420
420
|
validationInline) ||
|
|
421
421
|
validationInlineInternal
|
|
422
422
|
? ""
|
|
423
|
-
: currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, isSlotUsed(el, "validation-text") && (h("slot", { key: '
|
|
423
|
+
: currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, isSlotUsed(el, "validation-text") && (h("slot", { key: '4b5817e1c52b9af6511e07c202e5eb0e8457689d', name: "validation-text", slot: "validation-message" })), !readonly && maxNumChars > 0 && (h("div", { key: '059e8dc7ffbb0225d0c901821ff53d5b90ddf9f1', slot: "validation-message-adornment" }, !hideCharCount && (h("ic-typography", { key: 'afe9cb357584f91fd2762d2c9f87d68eb7e25e68', variant: "caption", class: "char-count-text" }, h("span", { key: '583f62c58407615b2ce37edb17eed4928952e6ee', class: "char-count" }, numChars, "/", maxNumChars))), h("span", { key: '953722d8ddd1d3c4e187308944fdd0723e8e8e70', class: "remaining-char-count-desc", "aria-live": "polite", hidden: !isFocussed, id: remainingCharCountDescId }, remainingCharCountDesc), h("span", { key: '973adba9f9c7dca2409423f36af8dc4a9a3a7192', hidden: true, id: hiddenCharCountDescId }, "Field can contain a maximum of ", maxNumChars, " characters.")))))));
|
|
424
424
|
}
|
|
425
425
|
get el() { return this; }
|
|
426
426
|
static get watchers() { return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { Y as getBrandColorBrightness, k as convertToRGBA, l as getBrandForegroundAppearance } from './helpers.js';
|
|
3
3
|
import { B as BLACK_MIN_COLOR_BRIGHTNESS, W as WHITE_MAX_COLOR_BRIGHTNESS } from './constants.js';
|
|
4
4
|
|
|
5
5
|
const Theme = /*@__PURE__*/ proxyCustomElement(class Theme extends HTMLElement {
|
|
@@ -69,7 +69,7 @@ const Theme = /*@__PURE__*/ proxyCustomElement(class Theme extends HTMLElement {
|
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
71
|
const { themeClass } = this;
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: '53aa5cb32bce3ebd1b66c22df8c64f615fad4d00', class: themeClass }, h("slot", { key: '6f2d5fa4d0d7a42995dd9d4b31081b421e6fe5a9' })));
|
|
73
73
|
}
|
|
74
74
|
static get watchers() { return {
|
|
75
75
|
"brandColor": ["watchBrandColorPropHandler"],
|
|
@@ -43,7 +43,7 @@ const ToastRegion = /*@__PURE__*/ proxyCustomElement(class ToastRegion extends H
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return h("slot", { key: '
|
|
46
|
+
return h("slot", { key: '7c0c88d4aeb9e5141603885ce134e43674e341a9' });
|
|
47
47
|
}
|
|
48
48
|
get el() { return this; }
|
|
49
49
|
static get watchers() { return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as closeIcon } from './close-icon.js';
|
|
3
3
|
import { V as VARIANT_ICONS } from './constants.js';
|
|
4
|
-
import { i as isSlotUsed, o as onComponentRequiredPropUndefined,
|
|
4
|
+
import { i as isSlotUsed, o as onComponentRequiredPropUndefined, Q as getSlot, m as isPropDefined } from './helpers.js';
|
|
5
5
|
import { d as defineCustomElement$5 } from './ic-button2.js';
|
|
6
6
|
import { d as defineCustomElement$4 } from './ic-loading-indicator2.js';
|
|
7
7
|
import { d as defineCustomElement$3 } from './ic-tooltip2.js';
|
|
@@ -214,20 +214,20 @@ const Toast = /*@__PURE__*/ proxyCustomElement(class Toast extends HTMLElement {
|
|
|
214
214
|
}
|
|
215
215
|
render() {
|
|
216
216
|
const { variant, heading, message, visible, isManual, dismissButtonAriaLabel, theme, } = this;
|
|
217
|
-
return (h(Host, { key: '
|
|
217
|
+
return (h(Host, { key: 'e7a7544e4b374165ecfece2ecacd0a8e5286fe2c', class: {
|
|
218
218
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
219
219
|
["ic-toast-hidden"]: !visible,
|
|
220
220
|
[`ic-toast-variant-${variant}`]: variant !== undefined,
|
|
221
|
-
}, tabindex: "0", onFocus: this.onFocus, onBlur: this.onBlur, role: isManual ? "dialog" : "alert", "aria-live": isManual ? null : "polite" }, h("div", { key: '
|
|
221
|
+
}, tabindex: "0", onFocus: this.onFocus, onBlur: this.onBlur, role: isManual ? "dialog" : "alert", "aria-live": isManual ? null : "polite" }, h("div", { key: 'dd87e639960574b163d4647c039bd26aafe046f6', class: {
|
|
222
222
|
["container"]: true,
|
|
223
223
|
[`container-${variant}`]: variant !== undefined,
|
|
224
|
-
} }, variant && visible && (h("div", { key: '
|
|
224
|
+
} }, variant && visible && (h("div", { key: 'baa9567a490a4400b1f27816fd82e14dd672b03c', class: "toast-icon-container" }, h("div", { key: '6a8f504184564a9ffdcfb1bb4aef68b571be1cd9', class: {
|
|
225
225
|
["divider"]: true,
|
|
226
226
|
[`divider-${variant}`]: true,
|
|
227
|
-
} }), variant === "neutral" ? (h("slot", { name: "neutral-icon" })) : (h("span", { class: "toast-icon", innerHTML: VARIANT_ICONS[variant].icon })))), h("div", { key: '
|
|
227
|
+
} }), variant === "neutral" ? (h("slot", { name: "neutral-icon" })) : (h("span", { class: "toast-icon", innerHTML: VARIANT_ICONS[variant].icon })))), h("div", { key: 'f6fe1acced40005f09a18cec2119b7fa518d65c3', class: {
|
|
228
228
|
["toast-content"]: true,
|
|
229
229
|
["no-icon"]: variant === "neutral" && !isSlotUsed(this.el, "neutral-icon"),
|
|
230
|
-
} }, h("div", { key: '
|
|
230
|
+
} }, h("div", { key: 'd594caa7e1e7935f992b5106432eee7304518fbe', class: "toast-text" }, h("ic-typography", { key: '83cd3393341aff5d8a7660e0fefd2c61a8039777', variant: "subtitle-large", class: "toast-heading" }, visible && (isManual ? h("h5", null, heading) : h("p", null, heading))), message && (h("ic-typography", { key: 'f628cf5d15c0dc000549698803420dd6a983b032', variant: "body", class: "toast-message" }, visible && h("p", { key: 'e6cb92a64c6d2d759eafec7f0adafa332dbbbc31' }, message)))), isSlotUsed(this.el, "action") && (h("div", { key: '805d7b37f322f0dcc8fbf4750ec5982adf7f5754', class: "toast-action-container" }, h("slot", { key: '943670c862d60185c157ebda02aeb1cb4f8b4650', name: "action" })))), !isManual ? (h("ic-loading-indicator", { class: "toast-dismiss-timer", theme: "dark", monochrome: true, size: "icon", progress: this.timerProgress, description: "Dismiss timer" })) : (h("ic-button", { id: "dismiss-button", innerHTML: closeIcon, onClick: this.dismissAction, variant: "icon-tertiary", "aria-label": dismissButtonAriaLabel })))));
|
|
231
231
|
}
|
|
232
232
|
get el() { return this; }
|
|
233
233
|
static get watchers() { return {
|
|
@@ -251,14 +251,14 @@ const ToggleButtonGroup = /*@__PURE__*/ proxyCustomElement(class ToggleButtonGro
|
|
|
251
251
|
}
|
|
252
252
|
render() {
|
|
253
253
|
const { accessibleLabel, disabled, fullWidth, loading, monochrome, outline, theme, } = this;
|
|
254
|
-
return (h(Host, { key: '
|
|
254
|
+
return (h(Host, { key: '5c8877eaeec66fb0cc9fbcd5ba593fc86bd2b5f2', role: "group", "aria-label": accessibleLabel, tabindex: disabled ? -1 : 0, class: {
|
|
255
255
|
"ic-toggle-button-group-disabled": disabled,
|
|
256
256
|
"ic-toggle-button-group-full-width": fullWidth,
|
|
257
257
|
"ic-toggle-button-group-loading": loading,
|
|
258
258
|
"ic-toggle-button-group-monochrome": monochrome,
|
|
259
259
|
"ic-toggle-button-group-hide-outline": !outline,
|
|
260
260
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
261
|
-
}, onFocus: this.handleHostFocus }, h("slot", { key: '
|
|
261
|
+
}, onFocus: this.handleHostFocus }, h("slot", { key: 'f701ba436d48cd8d33abe55a252b4dd40455b67a' })));
|
|
262
262
|
}
|
|
263
263
|
get el() { return this; }
|
|
264
264
|
static get watchers() { return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { o as onComponentRequiredPropUndefined,
|
|
2
|
+
import { o as onComponentRequiredPropUndefined, Z as isSlottedInGroup, r as removeDisabledFalse, i as isSlotUsed } from './helpers.js';
|
|
3
3
|
import { d as defineCustomElement$5 } from './ic-button2.js';
|
|
4
4
|
import { d as defineCustomElement$4 } from './ic-loading-indicator2.js';
|
|
5
5
|
import { d as defineCustomElement$3 } from './ic-tooltip2.js';
|
|
@@ -158,7 +158,7 @@ const ToggleButton = /*@__PURE__*/ proxyCustomElement(class ToggleButton extends
|
|
|
158
158
|
render() {
|
|
159
159
|
const { accessibleLabel, checked, disabled, fullWidth, iconPlacement, monochrome, label, loading, outline, size, theme, tooltipPlacement, variant, } = this;
|
|
160
160
|
const iconVariant = variant === "icon";
|
|
161
|
-
return (h(Host, { key: '
|
|
161
|
+
return (h(Host, { key: 'd61a2411c44e043dbc0d3adfdd4ef4c041c752b4', class: {
|
|
162
162
|
"ic-toggle-button-checked": checked,
|
|
163
163
|
"ic-toggle-button-disabled": disabled,
|
|
164
164
|
"ic-toggle-button-icon": iconVariant,
|
|
@@ -168,7 +168,7 @@ const ToggleButton = /*@__PURE__*/ proxyCustomElement(class ToggleButton extends
|
|
|
168
168
|
"ic-toggle-button-hide-outline": !outline,
|
|
169
169
|
[`ic-toggle-button-${size}`]: true,
|
|
170
170
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
171
|
-
}, onFocus: this.handleFocus }, h("ic-button", { key: '
|
|
171
|
+
}, onFocus: this.handleFocus }, h("ic-button", { key: 'a19e19a0cfbf6abe36aed52470e753c4410360dd', "aria-pressed": `${checked}`, variant: iconVariant ? "icon-tertiary" : "secondary", onClick: this.handleClick, title: accessibleLabel, "aria-label": `${accessibleLabel ? accessibleLabel : label}, ${checked ? "ticked" : "unticked"}`, disabled: disabled, size: size, fullWidth: fullWidth, loading: loading, tooltipPlacement: tooltipPlacement }, !iconVariant && label, h("slot", { key: 'be68b5556f38f43be5b8e5dee4533550be5271e9' }), isSlotUsed(this.el, "icon") && (h("slot", { key: '1adacf752187c44bb6b16ee3464e57b626893048', name: "icon", slot: `${iconPlacement}-icon` })), isSlotUsed(this.el, "badge") && (h("slot", { key: '2507afeda1b98c00a3801c8deddfb3f8c8c01a65', name: "badge", slot: "badge" })))));
|
|
172
172
|
}
|
|
173
173
|
static get delegatesFocus() { return true; }
|
|
174
174
|
get el() { return this; }
|