@ukic/web-components 3.23.0 → 3.25.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/core.cjs.js +1 -1
- package/dist/cjs/{helpers-81cd6930.js → helpers-51bab4b5.js} +9 -68
- package/dist/cjs/helpers-51bab4b5.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
- package/dist/cjs/ic-action-chip.cjs.entry.js +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +17 -9
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-horizontal.cjs.entry.js +6 -6
- package/dist/cjs/ic-card-vertical.cjs.entry.js +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/ic-chip.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-list.cjs.entry.js +2 -2
- package/dist/cjs/ic-data-row.cjs.entry.js +3 -3
- package/dist/cjs/ic-dialog.cjs.entry.js +41 -29
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +1 -1
- package/dist/cjs/ic-empty-state.cjs.entry.js +3 -3
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +3 -3
- package/dist/cjs/ic-footer.cjs.entry.js +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +5 -5
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +6 -6
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +35 -34
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +6 -6
- 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 +2 -2
- package/dist/cjs/ic-menu-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +5 -5
- package/dist/cjs/ic-page-header.cjs.entry.js +7 -7
- package/dist/cjs/ic-pagination-bar.cjs.entry.js +6 -6
- package/dist/cjs/ic-pagination-item.cjs.entry.js +2 -2
- package/dist/cjs/ic-pagination_3.cjs.entry.js +28 -26
- package/dist/cjs/ic-pagination_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +5 -5
- package/dist/cjs/ic-radio-group.cjs.entry.js +7 -7
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +9 -7
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +10 -10
- package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
- package/dist/cjs/ic-side-navigation.cjs.entry.js +5 -5
- 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 +3 -3
- package/dist/cjs/ic-step.cjs.entry.js +14 -14
- package/dist/cjs/ic-stepper.cjs.entry.js +3 -3
- package/dist/cjs/ic-switch.cjs.entry.js +7 -9
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/ic-tab.cjs.entry.js +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +2 -2
- package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +6 -6
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js +5 -5
- 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-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 +41 -29
- package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
- package/dist/collection/components/ic-empty-state/ic-empty-state.js +2 -2
- 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-group/ic-navigation-group.js +1 -1
- 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-bar/ic-pagination-bar.js +5 -5
- 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.css +15 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +9 -9
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.stories.js +48 -4
- package/dist/collection/components/ic-radio-option/ic-radio-option.css +29 -444
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +7 -5
- package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +10 -10
- package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
- package/dist/collection/components/ic-select/ic-select.js +18 -16
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select.types.js.map +1 -1
- 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.css +108 -43
- package/dist/collection/components/ic-switch/ic-switch.js +9 -11
- package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
- package/dist/collection/components/ic-switch/ic-switch.stories.js +8 -4
- 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 +21 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +33 -3
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.stories.js +128 -6
- package/dist/collection/components/ic-typography/ic-typography.js +2 -2
- package/dist/collection/utils/helpers.js +8 -66
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/components/helpers.js +9 -67
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-action-chip.js +1 -1
- package/dist/components/ic-alert.js +1 -1
- package/dist/components/ic-card-horizontal.js +6 -6
- package/dist/components/ic-card-vertical.js +1 -1
- package/dist/components/ic-checkbox-group.js +2 -2
- package/dist/components/ic-checkbox.js +4 -4
- package/dist/components/ic-chip.js +1 -1
- package/dist/components/ic-data-list.js +2 -2
- package/dist/components/ic-data-row.js +2 -2
- package/dist/components/ic-dialog.js +41 -29
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-divider2.js +1 -1
- package/dist/components/ic-empty-state.js +3 -3
- package/dist/components/ic-footer-link.js +2 -2
- package/dist/components/ic-footer.js +1 -1
- package/dist/components/ic-hero.js +5 -5
- package/dist/components/ic-horizontal-scroll2.js +6 -6
- package/dist/components/ic-input-component-container2.js +4 -4
- 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 +3 -3
- 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 +30 -29
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +1 -1
- package/dist/components/ic-navigation-group.js +2 -2
- package/dist/components/ic-navigation-item.js +1 -1
- package/dist/components/ic-navigation-menu2.js +5 -5
- package/dist/components/ic-page-header.js +6 -6
- package/dist/components/ic-pagination-bar.js +6 -6
- package/dist/components/ic-pagination-item2.js +2 -2
- package/dist/components/ic-pagination2.js +4 -4
- package/dist/components/ic-popover-menu.js +4 -4
- package/dist/components/ic-radio-group.js +6 -6
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +8 -6
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +10 -10
- package/dist/components/ic-section-container2.js +2 -2
- package/dist/components/ic-select2.js +19 -17
- package/dist/components/ic-select2.js.map +1 -1
- package/dist/components/ic-side-navigation.js +5 -5
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js +2 -2
- package/dist/components/ic-skeleton.js.map +1 -1
- 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 +6 -8
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.js +1 -1
- package/dist/components/ic-tab-group.js +2 -2
- package/dist/components/ic-tab-panel.js +2 -2
- package/dist/components/ic-text-field2.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 +13 -4
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +1 -1
- package/dist/components/ic-typography2.js +2 -2
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-3aed13ba.entry.js → p-023cf5d9.entry.js} +2 -2
- package/dist/core/{p-fb9376f0.entry.js → p-043a5677.entry.js} +2 -2
- package/dist/core/p-171a19bf.entry.js +3 -0
- package/dist/core/p-171a19bf.entry.js.map +1 -0
- package/dist/core/{p-347cc084.entry.js → p-19056c16.entry.js} +2 -2
- package/dist/core/{p-b777f0a1.entry.js → p-1cfaa962.entry.js} +2 -2
- package/dist/core/{p-659d048d.entry.js → p-23fb87be.entry.js} +2 -2
- package/dist/core/{p-f661ba76.entry.js → p-2424f82f.entry.js} +2 -2
- package/dist/core/{p-2691cc80.entry.js → p-243ae8fe.entry.js} +2 -2
- package/dist/core/{p-aad03a3c.entry.js → p-271ee0bc.entry.js} +2 -2
- package/dist/core/{p-67de1290.entry.js → p-2b1ce5b7.entry.js} +2 -2
- package/dist/core/p-343670b4.entry.js +2 -0
- package/dist/core/p-343670b4.entry.js.map +1 -0
- package/dist/core/{p-61d79fc6.entry.js → p-3da9774b.entry.js} +2 -2
- package/dist/core/{p-0fb7f915.entry.js → p-3ee66d00.entry.js} +2 -2
- package/dist/core/{p-ea7a3d30.entry.js → p-3f001e75.entry.js} +2 -2
- package/dist/core/{p-09505807.entry.js → p-406647b8.entry.js} +2 -2
- package/dist/core/{p-9cb83a2e.entry.js → p-44d043f7.entry.js} +2 -2
- package/dist/core/{p-4f56acff.entry.js → p-46e5a58b.entry.js} +2 -2
- package/dist/core/{p-cfbacca1.entry.js → p-4dbc72f4.entry.js} +2 -2
- package/dist/core/p-526dd099.entry.js +2 -0
- package/dist/core/p-526dd099.entry.js.map +1 -0
- package/dist/core/{p-f64996f1.entry.js → p-5fc0dc36.entry.js} +2 -2
- package/dist/core/{p-7b538fd1.entry.js → p-61799a8b.entry.js} +2 -2
- package/dist/core/{p-90678e67.entry.js → p-6b5edd6b.entry.js} +2 -2
- package/dist/core/p-70ca7796.entry.js +2 -0
- package/dist/core/p-70ca7796.entry.js.map +1 -0
- package/dist/core/{p-daec7e69.entry.js → p-72f52f20.entry.js} +2 -2
- package/dist/core/{p-9c2b2cb9.entry.js → p-74a3a450.entry.js} +2 -2
- package/dist/core/{p-c156e6e9.entry.js → p-796fc111.entry.js} +2 -2
- package/dist/core/{p-b52c44eb.entry.js → p-85232cec.entry.js} +2 -2
- package/dist/core/{p-b997ad5e.entry.js → p-85ac0d78.entry.js} +2 -2
- package/dist/core/{p-1b81ec88.entry.js → p-8fc5e9f9.entry.js} +2 -2
- package/dist/core/p-8fc5e9f9.entry.js.map +1 -0
- package/dist/core/{p-48a628f0.entry.js → p-9267c160.entry.js} +2 -2
- package/dist/core/{p-393af2bc.entry.js → p-970e190c.entry.js} +2 -2
- package/dist/core/p-98dee727.entry.js +2 -0
- package/dist/core/p-98dee727.entry.js.map +1 -0
- package/dist/core/{p-e938eb31.entry.js → p-99b20121.entry.js} +2 -2
- package/dist/core/{p-aaf4e367.entry.js → p-9ae157de.entry.js} +2 -2
- package/dist/core/{p-80d85403.entry.js → p-9b48971f.entry.js} +2 -2
- package/dist/core/{p-73043f57.entry.js → p-9ced00a7.entry.js} +2 -2
- package/dist/core/{p-bb7652cd.entry.js → p-a0c54a50.entry.js} +2 -2
- package/dist/core/{p-880f7548.entry.js → p-a5fcb9c1.entry.js} +2 -2
- package/dist/core/{p-a780a34b.entry.js → p-a7c263bd.entry.js} +2 -2
- package/dist/core/{p-99433296.entry.js → p-ab104baa.entry.js} +2 -2
- package/dist/core/{p-ef70ea50.entry.js → p-b27e147d.entry.js} +2 -2
- package/dist/core/{p-9502fb86.entry.js → p-b58fb588.entry.js} +2 -2
- package/dist/core/p-bb52e752.entry.js +2 -0
- package/dist/core/p-bb52e752.entry.js.map +1 -0
- package/dist/core/{p-2b87c592.entry.js → p-c0b70c08.entry.js} +2 -2
- package/dist/core/{p-46fd555f.entry.js → p-c41fd2cf.entry.js} +2 -2
- package/dist/core/{p-5900cb65.entry.js → p-c82c2362.entry.js} +2 -2
- package/dist/core/{p-e7767c0d.entry.js → p-ca64b7ba.entry.js} +2 -2
- package/dist/core/{p-cad23b7d.entry.js → p-cd963de6.entry.js} +2 -2
- package/dist/core/{p-735d3096.entry.js → p-cf669574.entry.js} +2 -2
- package/dist/core/{p-83578f1d.entry.js → p-cf87b6db.entry.js} +2 -2
- package/dist/core/{p-05fd2707.entry.js → p-d0d324b4.entry.js} +2 -2
- package/dist/core/{p-ea890d3d.entry.js → p-d0dd9f2c.entry.js} +2 -2
- package/dist/core/{p-5976de6e.entry.js → p-d1220d2a.entry.js} +2 -2
- package/dist/core/{p-50dca790.entry.js → p-d5fcd4f9.entry.js} +2 -2
- package/dist/core/{p-56de4f4b.entry.js → p-d7c6fc8d.entry.js} +2 -2
- package/dist/core/{p-506d428a.entry.js → p-d8de5b88.entry.js} +2 -2
- package/dist/core/{p-53ab3c0f.entry.js → p-e35f15ec.entry.js} +2 -2
- package/dist/core/p-e5266c19.entry.js +2 -0
- package/dist/core/p-e5266c19.entry.js.map +1 -0
- package/dist/core/{p-09caf7ed.entry.js → p-ec1ea1a7.entry.js} +2 -2
- package/dist/core/{p-b77b1e1f.js → p-eeb8d98a.js} +2 -2
- package/dist/core/p-eeb8d98a.js.map +1 -0
- package/dist/core/{p-2a124daf.entry.js → p-ef96e1aa.entry.js} +2 -2
- package/dist/core/{p-2bd80913.entry.js → p-fc4b7d2b.entry.js} +2 -2
- package/dist/core/{p-8a833e82.entry.js → p-fd9ea62a.entry.js} +2 -2
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-66681c73.js → helpers-33039856.js} +10 -68
- package/dist/esm/helpers-33039856.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +1 -1
- package/dist/esm/ic-accordion.entry.js +1 -1
- package/dist/esm/ic-action-chip.entry.js +1 -1
- package/dist/esm/ic-alert.entry.js +1 -1
- package/dist/esm/ic-back-to-top.entry.js +1 -1
- package/dist/esm/ic-badge.entry.js +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +1 -1
- package/dist/esm/ic-button_3.entry.js +17 -9
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card-horizontal.entry.js +6 -6
- package/dist/esm/ic-card-vertical.entry.js +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +3 -3
- package/dist/esm/ic-checkbox.entry.js +5 -5
- package/dist/esm/ic-chip.entry.js +1 -1
- package/dist/esm/ic-data-list.entry.js +2 -2
- package/dist/esm/ic-data-row.entry.js +3 -3
- package/dist/esm/ic-dialog.entry.js +41 -29
- package/dist/esm/ic-dialog.entry.js.map +1 -1
- package/dist/esm/ic-divider.entry.js +1 -1
- package/dist/esm/ic-empty-state.entry.js +3 -3
- package/dist/esm/ic-footer-link-group.entry.js +1 -1
- package/dist/esm/ic-footer-link.entry.js +3 -3
- package/dist/esm/ic-footer.entry.js +1 -1
- package/dist/esm/ic-hero.entry.js +5 -5
- package/dist/esm/ic-horizontal-scroll.entry.js +6 -6
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +35 -34
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +6 -6
- 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 +2 -2
- package/dist/esm/ic-menu-group.entry.js +2 -2
- package/dist/esm/ic-menu-item.entry.js +1 -1
- package/dist/esm/ic-navigation-button.entry.js +1 -1
- package/dist/esm/ic-navigation-group.entry.js +2 -2
- package/dist/esm/ic-navigation-item.entry.js +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +5 -5
- package/dist/esm/ic-page-header.entry.js +7 -7
- package/dist/esm/ic-pagination-bar.entry.js +6 -6
- package/dist/esm/ic-pagination-item.entry.js +2 -2
- package/dist/esm/ic-pagination_3.entry.js +28 -26
- package/dist/esm/ic-pagination_3.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +5 -5
- package/dist/esm/ic-radio-group.entry.js +7 -7
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +9 -7
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +10 -10
- package/dist/esm/ic-section-container.entry.js +2 -2
- package/dist/esm/ic-side-navigation.entry.js +5 -5
- 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 +3 -3
- package/dist/esm/ic-step.entry.js +14 -14
- package/dist/esm/ic-stepper.entry.js +3 -3
- package/dist/esm/ic-switch.entry.js +7 -9
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-context.entry.js +1 -1
- package/dist/esm/ic-tab-group.entry.js +3 -3
- package/dist/esm/ic-tab-panel.entry.js +2 -2
- package/dist/esm/ic-tab.entry.js +1 -1
- package/dist/esm/ic-theme.entry.js +2 -2
- package/dist/esm/ic-toast-region.entry.js +1 -1
- package/dist/esm/ic-toast.entry.js +6 -6
- package/dist/esm/ic-toggle-button-group.entry.js +3 -3
- package/dist/esm/ic-toggle-button.entry.js +3 -3
- package/dist/esm/ic-top-navigation.entry.js +1 -1
- package/dist/esm/ic-typography.entry.js +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-dialog/ic-dialog.d.ts +2 -1
- package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +2 -2
- package/dist/types/components/ic-select/ic-select.types.d.ts +2 -1
- package/dist/types/components/ic-switch/ic-switch.d.ts +2 -2
- package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +8 -0
- package/dist/types/components.d.ts +12 -4
- package/dist/types/utils/helpers.d.ts +0 -31
- package/hydrate/index.js +263 -294
- package/hydrate/index.mjs +263 -294
- package/package.json +10 -9
- package/vscode-data.json +13 -3
- package/dist/cjs/helpers-81cd6930.js.map +0 -1
- package/dist/core/p-1b81ec88.entry.js.map +0 -1
- package/dist/core/p-6b4ec95f.entry.js +0 -3
- package/dist/core/p-6b4ec95f.entry.js.map +0 -1
- package/dist/core/p-a08d6b46.entry.js +0 -2
- package/dist/core/p-a08d6b46.entry.js.map +0 -1
- package/dist/core/p-a2953aad.entry.js +0 -2
- package/dist/core/p-a2953aad.entry.js.map +0 -1
- package/dist/core/p-a321feee.entry.js +0 -2
- package/dist/core/p-a321feee.entry.js.map +0 -1
- package/dist/core/p-b77b1e1f.js.map +0 -1
- package/dist/core/p-cbca04bb.entry.js +0 -2
- package/dist/core/p-cbca04bb.entry.js.map +0 -1
- package/dist/core/p-cc64e5ef.entry.js +0 -2
- package/dist/core/p-cc64e5ef.entry.js.map +0 -1
- package/dist/core/p-f84ac9c6.entry.js +0 -2
- package/dist/core/p-f84ac9c6.entry.js.map +0 -1
- package/dist/esm/helpers-66681c73.js.map +0 -1
- /package/dist/core/{p-3aed13ba.entry.js.map → p-023cf5d9.entry.js.map} +0 -0
- /package/dist/core/{p-fb9376f0.entry.js.map → p-043a5677.entry.js.map} +0 -0
- /package/dist/core/{p-347cc084.entry.js.map → p-19056c16.entry.js.map} +0 -0
- /package/dist/core/{p-b777f0a1.entry.js.map → p-1cfaa962.entry.js.map} +0 -0
- /package/dist/core/{p-659d048d.entry.js.map → p-23fb87be.entry.js.map} +0 -0
- /package/dist/core/{p-f661ba76.entry.js.map → p-2424f82f.entry.js.map} +0 -0
- /package/dist/core/{p-2691cc80.entry.js.map → p-243ae8fe.entry.js.map} +0 -0
- /package/dist/core/{p-aad03a3c.entry.js.map → p-271ee0bc.entry.js.map} +0 -0
- /package/dist/core/{p-67de1290.entry.js.map → p-2b1ce5b7.entry.js.map} +0 -0
- /package/dist/core/{p-61d79fc6.entry.js.map → p-3da9774b.entry.js.map} +0 -0
- /package/dist/core/{p-0fb7f915.entry.js.map → p-3ee66d00.entry.js.map} +0 -0
- /package/dist/core/{p-ea7a3d30.entry.js.map → p-3f001e75.entry.js.map} +0 -0
- /package/dist/core/{p-09505807.entry.js.map → p-406647b8.entry.js.map} +0 -0
- /package/dist/core/{p-9cb83a2e.entry.js.map → p-44d043f7.entry.js.map} +0 -0
- /package/dist/core/{p-4f56acff.entry.js.map → p-46e5a58b.entry.js.map} +0 -0
- /package/dist/core/{p-cfbacca1.entry.js.map → p-4dbc72f4.entry.js.map} +0 -0
- /package/dist/core/{p-f64996f1.entry.js.map → p-5fc0dc36.entry.js.map} +0 -0
- /package/dist/core/{p-7b538fd1.entry.js.map → p-61799a8b.entry.js.map} +0 -0
- /package/dist/core/{p-90678e67.entry.js.map → p-6b5edd6b.entry.js.map} +0 -0
- /package/dist/core/{p-daec7e69.entry.js.map → p-72f52f20.entry.js.map} +0 -0
- /package/dist/core/{p-9c2b2cb9.entry.js.map → p-74a3a450.entry.js.map} +0 -0
- /package/dist/core/{p-c156e6e9.entry.js.map → p-796fc111.entry.js.map} +0 -0
- /package/dist/core/{p-b52c44eb.entry.js.map → p-85232cec.entry.js.map} +0 -0
- /package/dist/core/{p-b997ad5e.entry.js.map → p-85ac0d78.entry.js.map} +0 -0
- /package/dist/core/{p-48a628f0.entry.js.map → p-9267c160.entry.js.map} +0 -0
- /package/dist/core/{p-393af2bc.entry.js.map → p-970e190c.entry.js.map} +0 -0
- /package/dist/core/{p-e938eb31.entry.js.map → p-99b20121.entry.js.map} +0 -0
- /package/dist/core/{p-aaf4e367.entry.js.map → p-9ae157de.entry.js.map} +0 -0
- /package/dist/core/{p-80d85403.entry.js.map → p-9b48971f.entry.js.map} +0 -0
- /package/dist/core/{p-73043f57.entry.js.map → p-9ced00a7.entry.js.map} +0 -0
- /package/dist/core/{p-bb7652cd.entry.js.map → p-a0c54a50.entry.js.map} +0 -0
- /package/dist/core/{p-880f7548.entry.js.map → p-a5fcb9c1.entry.js.map} +0 -0
- /package/dist/core/{p-a780a34b.entry.js.map → p-a7c263bd.entry.js.map} +0 -0
- /package/dist/core/{p-99433296.entry.js.map → p-ab104baa.entry.js.map} +0 -0
- /package/dist/core/{p-ef70ea50.entry.js.map → p-b27e147d.entry.js.map} +0 -0
- /package/dist/core/{p-9502fb86.entry.js.map → p-b58fb588.entry.js.map} +0 -0
- /package/dist/core/{p-2b87c592.entry.js.map → p-c0b70c08.entry.js.map} +0 -0
- /package/dist/core/{p-46fd555f.entry.js.map → p-c41fd2cf.entry.js.map} +0 -0
- /package/dist/core/{p-5900cb65.entry.js.map → p-c82c2362.entry.js.map} +0 -0
- /package/dist/core/{p-e7767c0d.entry.js.map → p-ca64b7ba.entry.js.map} +0 -0
- /package/dist/core/{p-cad23b7d.entry.js.map → p-cd963de6.entry.js.map} +0 -0
- /package/dist/core/{p-735d3096.entry.js.map → p-cf669574.entry.js.map} +0 -0
- /package/dist/core/{p-83578f1d.entry.js.map → p-cf87b6db.entry.js.map} +0 -0
- /package/dist/core/{p-05fd2707.entry.js.map → p-d0d324b4.entry.js.map} +0 -0
- /package/dist/core/{p-ea890d3d.entry.js.map → p-d0dd9f2c.entry.js.map} +0 -0
- /package/dist/core/{p-5976de6e.entry.js.map → p-d1220d2a.entry.js.map} +0 -0
- /package/dist/core/{p-50dca790.entry.js.map → p-d5fcd4f9.entry.js.map} +0 -0
- /package/dist/core/{p-56de4f4b.entry.js.map → p-d7c6fc8d.entry.js.map} +0 -0
- /package/dist/core/{p-506d428a.entry.js.map → p-d8de5b88.entry.js.map} +0 -0
- /package/dist/core/{p-53ab3c0f.entry.js.map → p-e35f15ec.entry.js.map} +0 -0
- /package/dist/core/{p-09caf7ed.entry.js.map → p-ec1ea1a7.entry.js.map} +0 -0
- /package/dist/core/{p-2a124daf.entry.js.map → p-ef96e1aa.entry.js.map} +0 -0
- /package/dist/core/{p-2bd80913.entry.js.map → p-fc4b7d2b.entry.js.map} +0 -0
- /package/dist/core/{p-8a833e82.entry.js.map → p-fd9ea62a.entry.js.map} +0 -0
package/hydrate/index.js
CHANGED
|
@@ -3734,10 +3734,13 @@ const focusElement = (focusAttemptCount, focusedElementIndex, interactiveElement
|
|
|
3734
3734
|
if (newFocusAttemptCount++ > interactiveElementList.length) {
|
|
3735
3735
|
return;
|
|
3736
3736
|
}
|
|
3737
|
-
let newFocusedElementIndex = focusedElementIndex;
|
|
3738
3737
|
if (shouldSkipElement(element)) {
|
|
3739
|
-
|
|
3740
|
-
|
|
3738
|
+
const nextIndex = shiftKey
|
|
3739
|
+
? focusedElementIndex - 1
|
|
3740
|
+
: focusedElementIndex + 1;
|
|
3741
|
+
const newFocusedElementIndex = nextIndex < 0
|
|
3742
|
+
? interactiveElementList.length - 1
|
|
3743
|
+
: nextIndex % interactiveElementList.length;
|
|
3741
3744
|
return focusElement(newFocusAttemptCount, newFocusedElementIndex, interactiveElementList, shiftKey);
|
|
3742
3745
|
}
|
|
3743
3746
|
else {
|
|
@@ -3753,73 +3756,12 @@ const focusElement = (focusAttemptCount, focusedElementIndex, interactiveElement
|
|
|
3753
3756
|
default:
|
|
3754
3757
|
element.focus();
|
|
3755
3758
|
}
|
|
3756
|
-
return { newFocusAttemptCount, newFocusedElementIndex };
|
|
3757
|
-
}
|
|
3758
|
-
};
|
|
3759
|
-
/**
|
|
3760
|
-
* Gets the index of the currently focused element. Used for focus trapping.
|
|
3761
|
-
* @param el - host element of the component
|
|
3762
|
-
* @param interactiveElementList - list of interactive elements
|
|
3763
|
-
*/
|
|
3764
|
-
const getFocusedElementIndex = (el, interactiveElementList) => {
|
|
3765
|
-
var _a;
|
|
3766
|
-
for (let i = 0; i < interactiveElementList.length; i++) {
|
|
3767
|
-
if (interactiveElementList[i] ===
|
|
3768
|
-
(((_a = el.shadowRoot) === null || _a === void 0 ? void 0 : _a.activeElement) || document.activeElement)) {
|
|
3769
|
-
return i;
|
|
3770
|
-
}
|
|
3771
|
-
}
|
|
3772
|
-
return null;
|
|
3773
|
-
};
|
|
3774
|
-
/**
|
|
3775
|
-
* Gets the next focusable element index based on whether the shift key is pressed. Used for focus trapping.
|
|
3776
|
-
* @param focusedElementIndex - current focused element index
|
|
3777
|
-
* @param shiftKey - whether the shift key is pressed
|
|
3778
|
-
*/
|
|
3779
|
-
const getFocusIndexBasedOnShiftKey = (focusedElementIndex, shiftKey) => (shiftKey ? (focusedElementIndex -= 1) : (focusedElementIndex += 1));
|
|
3780
|
-
/**
|
|
3781
|
-
* Gets the next focusable element index, looping back to the start or end if necessary. Used for focus trapping.
|
|
3782
|
-
* @param focusedElementIndex - current focused element index
|
|
3783
|
-
* @param interactiveElementList - list of interactive elements
|
|
3784
|
-
*/
|
|
3785
|
-
const getLoopedNextFocusIndexIfLastElement = (focusedElementIndex, interactiveElementList) => {
|
|
3786
|
-
if (focusedElementIndex > interactiveElementList.length - 1) {
|
|
3787
|
-
return 0;
|
|
3788
|
-
}
|
|
3789
|
-
else if (focusedElementIndex < 0) {
|
|
3790
|
-
return interactiveElementList.length - 1;
|
|
3791
|
-
}
|
|
3792
|
-
return focusedElementIndex;
|
|
3793
|
-
};
|
|
3794
|
-
/**
|
|
3795
|
-
* Handles tab key press for focus trapping.
|
|
3796
|
-
* @param el - host element of the component
|
|
3797
|
-
* @param focusAttemptCount - number of focus attempts that have been made
|
|
3798
|
-
* @param focusedElementIndex - current focused element index
|
|
3799
|
-
* @param interactiveElementList - list of interactive elements
|
|
3800
|
-
* @param shiftKey - whether the shift key is pressed
|
|
3801
|
-
*/
|
|
3802
|
-
function handleFocusTrapTabKeyPress(el, focusAttemptCount, focusedElementIndex, interactiveElementList, shiftKey) {
|
|
3803
|
-
var _a;
|
|
3804
|
-
let newFocusAttemptCount = focusAttemptCount;
|
|
3805
|
-
let newFocusedElementIndex = getFocusedElementIndex(el, interactiveElementList) || focusedElementIndex;
|
|
3806
|
-
if (((_a = interactiveElementList[focusedElementIndex]) === null || _a === void 0 ? void 0 : _a.tagName) === IC_SEARCH_BAR) {
|
|
3807
3759
|
return {
|
|
3808
3760
|
newFocusAttemptCount,
|
|
3809
|
-
newFocusedElementIndex,
|
|
3810
|
-
preventDefault: false,
|
|
3761
|
+
newFocusedElementIndex: focusedElementIndex,
|
|
3811
3762
|
};
|
|
3812
3763
|
}
|
|
3813
|
-
|
|
3814
|
-
newFocusedElementIndex = getLoopedNextFocusIndexIfLastElement(newFocusedElementIndex, interactiveElementList);
|
|
3815
|
-
newFocusAttemptCount = 0;
|
|
3816
|
-
const focusElementResult = focusElement(newFocusAttemptCount, newFocusedElementIndex, interactiveElementList, shiftKey);
|
|
3817
|
-
if (focusElementResult) {
|
|
3818
|
-
newFocusedElementIndex = focusElementResult.newFocusedElementIndex;
|
|
3819
|
-
newFocusAttemptCount = focusElementResult.newFocusAttemptCount;
|
|
3820
|
-
}
|
|
3821
|
-
return { newFocusAttemptCount, newFocusedElementIndex, preventDefault: true };
|
|
3822
|
-
}
|
|
3764
|
+
};
|
|
3823
3765
|
/**
|
|
3824
3766
|
* Sets up listener and mutation observer to refresh interactive elements on slot changes. Used for focus trapping.
|
|
3825
3767
|
* @param contentWrapper - content wrapper element
|
|
@@ -5869,7 +5811,7 @@ class CardHorizontal {
|
|
|
5869
5811
|
};
|
|
5870
5812
|
const hasLeftImage = isSlotUsed(this.el, this.IMAGE_LEFT);
|
|
5871
5813
|
const hasRightImage = isSlotUsed(this.el, this.IMAGE_RIGHT);
|
|
5872
|
-
return (hAsync(Host, { key: '
|
|
5814
|
+
return (hAsync(Host, { key: '993936c23981131f47a6a861fa5a674f7ac719a6', class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, hAsync(Component, Object.assign({ key: 'a2db6c5abb6998c35f151d99dddb2735413f3bc1', class: {
|
|
5873
5815
|
card: true,
|
|
5874
5816
|
clickable: clickable && !disabled,
|
|
5875
5817
|
disabled,
|
|
@@ -5879,15 +5821,15 @@ class CardHorizontal {
|
|
|
5879
5821
|
"with-icon": isSlotUsed(this.el, "icon"),
|
|
5880
5822
|
"with-image": hasLeftImage || hasRightImage,
|
|
5881
5823
|
spacious: density === "spacious",
|
|
5882
|
-
}, tabindex: clickable && !parentIsAnchorTag ? 0 : undefined, "aria-disabled": disabled ? "true" : undefined, disabled: disabled ? true : undefined }, attrs), hasLeftImage && (hAsync("div", { key: '
|
|
5824
|
+
}, tabindex: clickable && !parentIsAnchorTag ? 0 : undefined, "aria-disabled": disabled ? "true" : undefined, disabled: disabled ? true : undefined }, attrs), hasLeftImage && (hAsync("div", { key: '656083f09459cc16f8447b91eebb3c659b85da5c', class: "image" }, hAsync("slot", { key: '1b840cba21192c53adf23100a9098caeeec437e1', name: "image-left" }))), hAsync("div", { key: '2e2d7beac8517384366bcf8d06bac8287b87c891', class: {
|
|
5883
5825
|
"card-content": true,
|
|
5884
5826
|
"left-image": hasLeftImage,
|
|
5885
5827
|
"right-image": hasRightImage,
|
|
5886
|
-
} }, hAsync("div", { key: '
|
|
5828
|
+
} }, hAsync("div", { key: 'e3c9df4624522f1e06010b7dbee8117e32e9776c', class: "card-header" }, isSlotUsed(this.el, "icon") && (hAsync("div", { key: '4e76a0b208d5ded1b78eb2b5a767cda857a37209', class: "icon" }, hAsync("slot", { key: 'ca49f56e2c2ee3597cd6a617e9e0c87023398f6f', name: "icon" }))), hAsync("div", { key: 'ce88138ce249e4f72eb84c5094f13823b191d623', class: {
|
|
5887
5829
|
"card-title": true,
|
|
5888
5830
|
"with-interaction-button": isSlotUsed(this.el, this.INTERACTION_BUTTON),
|
|
5889
|
-
} }, hAsync("slot", { key: '
|
|
5890
|
-
(subheading || isSlotUsed(this.el, "subheading")) && (hAsync("div", { key: '
|
|
5831
|
+
} }, hAsync("slot", { key: 'cf3047258572bb2df6a880dbe78cdfb997138e52', name: "heading" }, hAsync("ic-typography", { key: '2a953b2db51d4d5ad87cd951f71be15e8b6a9123', variant: "h4" }, hAsync("p", { key: '778d1c565dda268e52e30e435593f1205ab4c8f6' }, heading)))), isSlotUsed(this.el, this.INTERACTION_BUTTON) && (hAsync("div", { key: '9c13abe27f6ccf4a5d33505dacdf3a3da63fcc61', class: "interaction-button" }, hAsync("slot", { key: '72180f00ff5a341450e0cc58fdd4e4e674446dca', name: "interaction-button" })))), density === "spacious" &&
|
|
5832
|
+
(subheading || isSlotUsed(this.el, "subheading")) && (hAsync("div", { key: '84de830afde5f4b9c05d8699c5ea72fb995c68dc', class: "subheading" }, hAsync("slot", { key: '343d4addd3a8e6b175bb8cd4c6f30143d89655e9', name: "subheading" }, hAsync("ic-typography", { key: '7dc39433145b52a210cac6963b46ceeab46214e0', variant: "subtitle-small" }, subheading)))), density === "spacious" && isSlotUsed(this.el, "adornment") && (hAsync("div", { key: 'eba46f8b6532f8a54a893baded9ea2ec19e5db2f', class: "adornment" }, hAsync("slot", { key: 'b200296d06d2decfeeef24c80b7c7a651b9ce9bb', name: "adornment" }))), (message || isSlotUsed(this.el, "message")) && (hAsync("div", { key: 'af361ff1a144a2fa7d6fdccd881e93c244824587', class: "card-message" }, message && (hAsync("ic-typography", { key: '49567589e624e4b971e798233fdf31c7be932374', variant: "body" }, message)), isSlotUsed(this.el, "message") && hAsync("slot", { key: '84726023327a15b33785348f7aeb19ab93bded55', name: "message" })))), isSlotUsed(this.el, "badge") && hAsync("slot", { key: 'ee75df75084b53a768c83cf2f11471f846030549', name: "badge" }), hasRightImage && (hAsync("div", { key: '47b257898c62169e72626d990f762b361bea35b6', class: "image" }, hAsync("slot", { key: '31af6d4ee374ac40c2ee3903ac94c75a409fb46a', name: "image-right" }))))));
|
|
5891
5833
|
}
|
|
5892
5834
|
get el() { return getElement(this); }
|
|
5893
5835
|
static get watchers() { return {
|
|
@@ -6258,17 +6200,17 @@ class Checkbox {
|
|
|
6258
6200
|
? renderHiddenInput(el, value, name, disabled)
|
|
6259
6201
|
: removeHiddenInput(el);
|
|
6260
6202
|
const LabelContent = () => this.hasLabelSlot() ? (hAsync("slot", { name: "label" })) : (hAsync("ic-typography", { class: "checkbox-label", variant: "body" }, hAsync("label", { htmlFor: inputId }, label)));
|
|
6261
|
-
return (hAsync(Host, { key: '
|
|
6203
|
+
return (hAsync(Host, { key: 'b0354f672348084da74301a8d95ec590affc6f1b', class: {
|
|
6262
6204
|
"ic-checkbox-disabled": disabled,
|
|
6263
6205
|
[`ic-checkbox-${size}`]: !!size,
|
|
6264
6206
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
6265
|
-
} }, hAsync("div", { key: '
|
|
6207
|
+
} }, hAsync("div", { key: '4f1a7f7f2c44edc8bb4b113abb1e82421f150ec1', class: "container" }, displayIndeterminate ? (hAsync("div", { class: "indeterminate-symbol" })) : (checked && (hAsync("svg", { class: "checkmark", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "fill-rule": "evenodd", "clip-rule": "evenodd" }, hAsync("title", null, "checkmark icon"), hAsync("path", { d: "M21 6.285l-11.16 12.733-6.84-6.018 1.319-1.49 5.341 4.686 9.865-11.196 1.475 1.285z" })))), hAsync("input", { key: '11d459b32a35d16969cff6db5087d710776b0c56', role: "checkbox", class: {
|
|
6266
6208
|
checkbox: true,
|
|
6267
6209
|
checked,
|
|
6268
6210
|
indeterminate: displayIndeterminate,
|
|
6269
|
-
}, ref: (el) => (this.checkboxEl = el), type: "checkbox", name: name, id: inputId, value: value, disabled: disabled, checked: checked, indeterminate: displayIndeterminate, onClick: handleClick, form: form, "aria-label": hideLabel || this.hasLabelSlot() ? label : undefined }), !hideLabel && hAsync(LabelContent, { key: '
|
|
6211
|
+
}, ref: (el) => (this.checkboxEl = el), type: "checkbox", name: name, id: inputId, value: value, disabled: disabled, checked: checked, indeterminate: displayIndeterminate, onClick: handleClick, form: form, "aria-label": hideLabel || this.hasLabelSlot() ? label : undefined }), !hideLabel && hAsync(LabelContent, { key: '0b2e1ba8150dada1ed202f82b87e5090475e4538' })), hAsync("span", { key: 'ac7a0b65fe263404799947a9e38e56d571a4d15b', id: `${inputId}-additional-field-description`, role: "alert", class: "sr-only" }, isDynamicAdditionalField && checked ? dynamicText : ""), isSlotUsed(el, "additional-field") && (hAsync("div", { key: '7c3324bdbe5f4002e68a3cab9452ece5a4a0ec47', class: "dynamic-container", ref: (el) => (this.additionalFieldContainer = el) }, isDynamicAdditionalField && hAsync("div", { key: '3e8f8a84490a9b395625db6e5d3ab41dcfd3f52b', class: "branch-corner" }), hAsync("div", { key: '7a13bef6e34f74553f621d8dced7f0d7c2ad9ff9', class: "dynamic-field-container" }, isDynamicAdditionalField && (hAsync("ic-typography", { key: '97d5099d39ed0a796fb21cc6e39768ad464ae13d', variant: "caption" }, hAsync("p", { key: '565b6fecc59ec1a8786d6a956ef15389f79b1b5d', class: "dynamic-text" }, isDynamicAdditionalField && checked ? dynamicText : ""))), hAsync("div", { key: 'f1f45ea17205c5314c7d0cdb9bc59afc791aa6e9', class: {
|
|
6270
6212
|
"additional-field-wrapper": !isDynamicAdditionalField,
|
|
6271
|
-
} }, hAsync("slot", { key: '
|
|
6213
|
+
} }, hAsync("slot", { key: 'f302388352b40f0d63a8b425aae215af22615570', name: "additional-field" })))))));
|
|
6272
6214
|
}
|
|
6273
6215
|
static get delegatesFocus() { return true; }
|
|
6274
6216
|
get el() { return getElement(this); }
|
|
@@ -6428,11 +6370,11 @@ class CheckboxGroup {
|
|
|
6428
6370
|
const describedBy = getInputDescribedByText(this.el, name, helperText !== "", validationStatus !== "");
|
|
6429
6371
|
const renderSRText = validationStatus === "error" || required || hideLabel;
|
|
6430
6372
|
const showValidation = hasValidationStatus(validationStatus, disabled);
|
|
6431
|
-
return (hAsync(Host, { key: '
|
|
6373
|
+
return (hAsync(Host, { key: '341fdb8e66b7d26e12cf7fc3f20a155496b79786', class: {
|
|
6432
6374
|
"ic-checkbox-group-disabled": !!disabled,
|
|
6433
6375
|
[`ic-checkbox-group-${size}`]: true,
|
|
6434
6376
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
6435
|
-
} }, renderSRText && (hAsync("span", { key: '
|
|
6377
|
+
} }, renderSRText && (hAsync("span", { key: '03c4ba0d42664b8b90b24b03d706511f0ba88137', id: "screenReaderOnlyText", class: "screen-reader-only-text", "aria-hidden": "true" }, label, " ", validationStatus === "error" ? "invalid data " : null, " ", required ? "required" : null)), hAsync("fieldset", { key: '0c82676c357846ed04d71e7585ddb30474512c68', id: name, "aria-labelledby": `${renderSRText ? "screenReaderOnlyText" : ""} ${describedBy}`.trim(), disabled: disabled }, !hideLabel && (hAsync("legend", { key: 'fa68b7a637731d3e372b67517e771c9a615491d8' }, hAsync("ic-input-label", { key: 'aa1c65aa095273d12eaa48a985a460612774e0c0', class: { [`${validationStatus}`]: true }, label: label, helperText: helperText, required: required, disabled: disabled, useLabelTag: false }, hAsync("slot", { key: '273f50debbf2dd7d9be6285e4e7e937dc228e12c', name: "label", slot: "label" }), hAsync("slot", { key: '508f4ca3cceb525b716fcbc4fe3467958d896b26', name: "helper-text", slot: "helper-text" })))), hAsync("div", { key: 'ca304d719a39151857515e0082add76e00c659ab', class: "checkboxes-container" }, hAsync("slot", { key: '948d2e299d90127031d0f0b28337db373a689f63' }))), hAsync("ic-input-validation", { key: '81b3ec6068f5e14eb4b4b3d6aeecbbc87b248223', class: {
|
|
6436
6378
|
"show-validation": showValidation,
|
|
6437
6379
|
}, for: name, ariaLiveMode: validationAriaLive, status: showValidation ? validationStatus : "", message: showValidation ? validationText : "" })));
|
|
6438
6380
|
}
|
|
@@ -6728,10 +6670,10 @@ class DataList {
|
|
|
6728
6670
|
Array.from(el.children).forEach((child) => child.setAttribute("size", "small"));
|
|
6729
6671
|
}
|
|
6730
6672
|
const hasHeading = heading || el.querySelector('[slot="heading"]');
|
|
6731
|
-
return (hAsync(Host, { key: '
|
|
6673
|
+
return (hAsync(Host, { key: 'f331288c7ba2fa98cba0f35b871d749dfc0f3f1a', class: {
|
|
6732
6674
|
"ic-data-list-small": size === "small",
|
|
6733
6675
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
6734
|
-
} }, hAsync("div", { key: '
|
|
6676
|
+
} }, hAsync("div", { key: 'e6ff66d94a2e43f61c13e1299fe5fa6fe5487140', class: "heading", id: "data-list-heading" }, hAsync("slot", { key: '49d07dbea901b714751713c10f86d857eaa23a18', name: "heading" }, hAsync("ic-typography", { key: '1cdc2c192f6d25e866f6a58add2dd143f42cfd2d', variant: "h3" }, heading))), hAsync("div", { key: '61fc0bb5ae33e4953d8ec96089a51d98cec47525', class: { divider: true, "divider-no-heading": !hasHeading } }), hAsync("ul", { key: '9dfd24a99a64dc6e6d07adb193625c13bfcd0c1d', "aria-labelledby": "data-list-heading", class: "rows" }, hAsync("slot", { key: '6b2eb9f7e56d6357f25d7d0fd066ddb203a4c294' }))));
|
|
6735
6677
|
}
|
|
6736
6678
|
get el() { return getElement(this); }
|
|
6737
6679
|
static get style() { return IcDataListStyle0; }
|
|
@@ -6821,12 +6763,12 @@ class DataRow {
|
|
|
6821
6763
|
}
|
|
6822
6764
|
render() {
|
|
6823
6765
|
const { el, listSize, hasEndComponent, label, renderCellContent, size, theme, value, } = this;
|
|
6824
|
-
return (hAsync(Host, { key: '
|
|
6766
|
+
return (hAsync(Host, { key: '46dd273c34a8cce8c645f53304f9b651b2f99a08', class: {
|
|
6825
6767
|
["ic-data-row-small"]: size === "small",
|
|
6826
6768
|
["breakpoint-medium"]: listSize === "m",
|
|
6827
6769
|
["breakpoint-xs"]: listSize === "xs",
|
|
6828
6770
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
6829
|
-
}, role: "listitem" }, hAsync("div", { key: '
|
|
6771
|
+
}, role: "listitem" }, hAsync("div", { key: 'eea3a2d30e7efbc0482011ed340da0469b461d5a', class: "data" }, hAsync("div", { key: '3d8c6c8b8011048312c997831395b18a361b27e8', class: "text-cells" }, (isSlotUsed(el, "label") || label) && renderCellContent("label"), (isSlotUsed(el, "value") || value) && renderCellContent("value")), hasEndComponent && (hAsync("div", { key: '8c2521ab22be9a57658a0a60b9180d0273ef60f1', class: "end-component" }, hAsync("slot", { key: '8df22512fbbb6e5d7991e1d9bd217bda5fa563ac', name: "end-component" })))), hAsync("div", { key: '6369f6266898ffffe9317c3bb3d4dd483d612f94', class: "divider" })));
|
|
6830
6772
|
}
|
|
6831
6773
|
get el() { return getElement(this); }
|
|
6832
6774
|
static get style() { return IcDataRowStyle0; }
|
|
@@ -6868,7 +6810,6 @@ class Dialog {
|
|
|
6868
6810
|
this.DIALOG_CONTROLS = "dialog-controls";
|
|
6869
6811
|
this.dialogHeight = 0;
|
|
6870
6812
|
this.focusAttemptCount = 0;
|
|
6871
|
-
this.focusedElementIndex = 0;
|
|
6872
6813
|
this.interactiveElementList = [];
|
|
6873
6814
|
this.resizeObserver = null;
|
|
6874
6815
|
this.dialogRendered = false;
|
|
@@ -6977,6 +6918,16 @@ class Dialog {
|
|
|
6977
6918
|
this.contentAreaMutationObserver = contentAreaMutationObserver;
|
|
6978
6919
|
}
|
|
6979
6920
|
};
|
|
6921
|
+
this.focusLast = () => {
|
|
6922
|
+
if (this.interactiveElementList.length > 0) {
|
|
6923
|
+
focusElement(this.focusAttemptCount, this.interactiveElementList.length - 1, this.interactiveElementList, true);
|
|
6924
|
+
}
|
|
6925
|
+
};
|
|
6926
|
+
this.focusFirst = () => {
|
|
6927
|
+
if (this.interactiveElementList.length > 0) {
|
|
6928
|
+
focusElement(this.focusAttemptCount, 0, this.interactiveElementList);
|
|
6929
|
+
}
|
|
6930
|
+
};
|
|
6980
6931
|
this.setInitialFocus = () => {
|
|
6981
6932
|
this.sourceElement = document.activeElement;
|
|
6982
6933
|
if (!this.interactiveElementList.length) {
|
|
@@ -6989,15 +6940,14 @@ class Dialog {
|
|
|
6989
6940
|
}, 10);
|
|
6990
6941
|
return;
|
|
6991
6942
|
}
|
|
6992
|
-
|
|
6993
|
-
if (
|
|
6994
|
-
|
|
6943
|
+
let focusedElementIndex = this.interactiveElementList.findIndex((element) => element.hasAttribute(this.DATA_GETS_FOCUS));
|
|
6944
|
+
if (focusedElementIndex === -1) {
|
|
6945
|
+
focusedElementIndex = 0;
|
|
6995
6946
|
}
|
|
6996
|
-
if (this.interactiveElementList[
|
|
6997
|
-
const focusElementResult = focusElement(this.focusAttemptCount,
|
|
6947
|
+
if (this.interactiveElementList[focusedElementIndex]) {
|
|
6948
|
+
const focusElementResult = focusElement(this.focusAttemptCount, focusedElementIndex, this.interactiveElementList);
|
|
6998
6949
|
if (focusElementResult) {
|
|
6999
6950
|
this.focusAttemptCount = focusElementResult.newFocusAttemptCount;
|
|
7000
|
-
this.focusedElementIndex = focusElementResult.newFocusedElementIndex;
|
|
7001
6951
|
}
|
|
7002
6952
|
}
|
|
7003
6953
|
};
|
|
@@ -7007,17 +6957,32 @@ class Dialog {
|
|
|
7007
6957
|
this.getInteractiveElements = () => {
|
|
7008
6958
|
var _a;
|
|
7009
6959
|
this.interactiveElementList = Array.from(((_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll("ic-button")) || []);
|
|
7010
|
-
const
|
|
7011
|
-
if (
|
|
7012
|
-
if (
|
|
7013
|
-
|
|
6960
|
+
const slottedElements = slottedInteractiveElements(this.el);
|
|
6961
|
+
if (slottedElements.length > 0) {
|
|
6962
|
+
if (slottedElements[0].slot !== this.DIALOG_CONTROLS) {
|
|
6963
|
+
slottedElements[0].setAttribute(this.DATA_GETS_FOCUS, "");
|
|
7014
6964
|
}
|
|
7015
6965
|
else if (!this.destructive) {
|
|
7016
|
-
|
|
6966
|
+
slottedElements[slottedElements.length - 1].setAttribute(this.DATA_GETS_FOCUS, "");
|
|
7017
6967
|
}
|
|
7018
6968
|
}
|
|
7019
|
-
|
|
7020
|
-
|
|
6969
|
+
// insert the slotted interactive elements after the close button in the focus order
|
|
6970
|
+
if (slottedElements.length > 0 && this.interactiveElementList.length > 0) {
|
|
6971
|
+
if (this.interactiveElementList[0].classList.contains("close-icon")) {
|
|
6972
|
+
// if there is a close button, insert slotted interactive elements after it in the focus order
|
|
6973
|
+
this.interactiveElementList = [
|
|
6974
|
+
this.interactiveElementList[0],
|
|
6975
|
+
...slottedElements,
|
|
6976
|
+
...this.interactiveElementList.slice(1),
|
|
6977
|
+
];
|
|
6978
|
+
}
|
|
6979
|
+
else {
|
|
6980
|
+
// if there is no close button, slotted interactive elements should be first in the focus order
|
|
6981
|
+
this.interactiveElementList = [
|
|
6982
|
+
...slottedElements,
|
|
6983
|
+
...this.interactiveElementList,
|
|
6984
|
+
];
|
|
6985
|
+
}
|
|
7021
6986
|
}
|
|
7022
6987
|
};
|
|
7023
6988
|
this.renderDialog = () => {
|
|
@@ -7028,11 +6993,11 @@ class Dialog {
|
|
|
7028
6993
|
[`${size}`]: true,
|
|
7029
6994
|
"disable-height-constraint": !!disableHeightConstraint,
|
|
7030
6995
|
"disable-width-constraint": !!disableWidthConstraint,
|
|
7031
|
-
}, "aria-labelledby": "dialog-label dialog-heading", "aria-describedby": "dialog-alert dialog-content", ref: (el) => (this.dialogEl = el) }, hAsync("div", { class: "heading-area" }, hAsync("div", { class: "heading-content" }, hAsync("div", { class: "label" }, hAsync("slot", { name: "label" }, hAsync("ic-typography", { variant: "label", id: "dialog-label" }, label))), hAsync("div", { class: "heading" }, hAsync("slot", { name: "heading" }, hAsync("ic-typography", { variant: "h4", id: "dialog-heading" }, heading)))), !hideCloseButton && (hAsync("ic-button", { class: "close-icon", variant: "icon-tertiary", innerHTML: closeIcon, "aria-label": dismissLabel, onClick: closeIconClick, "data-gets-focus": destructive || (hideDefaultControls && !controlsSlotUsed)
|
|
6996
|
+
}, "aria-labelledby": "dialog-label dialog-heading", "aria-describedby": "dialog-alert dialog-content", ref: (el) => (this.dialogEl = el) }, hAsync("div", { tabindex: "0", onFocus: this.focusLast }), hAsync("div", { class: "heading-area" }, hAsync("div", { class: "heading-content" }, hAsync("div", { class: "label" }, hAsync("slot", { name: "label" }, hAsync("ic-typography", { variant: "label", id: "dialog-label" }, label))), hAsync("div", { class: "heading" }, hAsync("slot", { name: "heading" }, hAsync("ic-typography", { variant: "h4", id: "dialog-heading" }, heading)))), !hideCloseButton && (hAsync("ic-button", { class: "close-icon", variant: "icon-tertiary", innerHTML: closeIcon, "aria-label": dismissLabel, onClick: closeIconClick, "data-gets-focus": destructive || (hideDefaultControls && !controlsSlotUsed)
|
|
7032
6997
|
? ""
|
|
7033
6998
|
: null }))), hAsync("div", { class: "content-area" }, isSlotUsed(this.el, "alert") && hAsync("slot", { name: "alert" }), hAsync("div", { id: "dialog-content" }, hAsync("slot", null))), (controlsSlotUsed || !hideDefaultControls) && (hAsync("div", { class: {
|
|
7034
6999
|
[DIALOG_CONTROLS]: true,
|
|
7035
|
-
} }, controlsSlotUsed ? (hAsync("slot", { name: DIALOG_CONTROLS })) : (hAsync(Fragment, null, hAsync("ic-button", { variant: "tertiary", onClick: () => this.cancelDialog(), class: "dialog-control-button", "data-gets-focus": null }, "Cancel"), hAsync("ic-button", { variant: destructive ? "destructive" : "primary", onClick: () => this.confirmDialog(), class: "dialog-control-button", "data-gets-focus": "" }, "Confirm")))))));
|
|
7000
|
+
} }, controlsSlotUsed ? (hAsync("slot", { name: DIALOG_CONTROLS })) : (hAsync(Fragment, null, hAsync("ic-button", { variant: "tertiary", onClick: () => this.cancelDialog(), class: "dialog-control-button", "data-gets-focus": null }, "Cancel"), hAsync("ic-button", { variant: destructive ? "destructive" : "primary", onClick: () => this.confirmDialog(), class: "dialog-control-button", "data-gets-focus": "" }, "Confirm"))))), hAsync("div", { tabindex: "0", onFocus: this.focusFirst })));
|
|
7036
7001
|
};
|
|
7037
7002
|
}
|
|
7038
7003
|
watchOpenHandler() {
|
|
@@ -7075,17 +7040,6 @@ class Dialog {
|
|
|
7075
7040
|
handleKeyboard(ev) {
|
|
7076
7041
|
if (this.dialogRendered) {
|
|
7077
7042
|
switch (ev.key) {
|
|
7078
|
-
case "Tab": {
|
|
7079
|
-
const tabKeyPressHandlerResult = handleFocusTrapTabKeyPress(this.el, this.focusAttemptCount, this.focusedElementIndex, this.interactiveElementList, ev.shiftKey);
|
|
7080
|
-
this.focusAttemptCount =
|
|
7081
|
-
tabKeyPressHandlerResult.newFocusAttemptCount;
|
|
7082
|
-
this.focusedElementIndex =
|
|
7083
|
-
tabKeyPressHandlerResult.newFocusedElementIndex;
|
|
7084
|
-
if (tabKeyPressHandlerResult.preventDefault) {
|
|
7085
|
-
ev.preventDefault();
|
|
7086
|
-
}
|
|
7087
|
-
break;
|
|
7088
|
-
}
|
|
7089
7043
|
case "Escape":
|
|
7090
7044
|
if (!ev.repeat) {
|
|
7091
7045
|
this.open = false;
|
|
@@ -7124,7 +7078,7 @@ class Dialog {
|
|
|
7124
7078
|
}
|
|
7125
7079
|
render() {
|
|
7126
7080
|
const { dialogRendered, disableHeightConstraint, fadeIn, theme, size } = this;
|
|
7127
|
-
return (hAsync(Host, { key: '
|
|
7081
|
+
return (hAsync(Host, { key: '81eec3ff249b58950bfd8b0e525e46d8a5688db3', class: {
|
|
7128
7082
|
"ic-dialog-hidden": !dialogRendered,
|
|
7129
7083
|
"ic-dialog-fade-in": fadeIn,
|
|
7130
7084
|
"disable-height-constraint": !!disableHeightConstraint,
|
|
@@ -7335,11 +7289,11 @@ class EmptyState {
|
|
|
7335
7289
|
}
|
|
7336
7290
|
render() {
|
|
7337
7291
|
const { aligned, body, maxLines, heading, imageSize, subheading, theme } = this;
|
|
7338
|
-
return (hAsync(Host, { key: '
|
|
7292
|
+
return (hAsync(Host, { key: '0d3bc48ea4f0188251b3fc3a6c720f06173b587a', class: {
|
|
7339
7293
|
[`ic-empty-state-${aligned}`]: true,
|
|
7340
7294
|
[`image-${imageSize}`]: isSlotUsed(this.el, "image"),
|
|
7341
7295
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
7342
|
-
} }, isSlotUsed(this.el, "image") && hAsync("slot", { key: '
|
|
7296
|
+
} }, isSlotUsed(this.el, "image") && hAsync("slot", { key: 'fdc11c4e5e04a6042f3114325066d3775a24451e', name: "image" }), hAsync("div", { key: '46e1df54a68e5728738c7c0aeb27e62919b583d5' }, hAsync("slot", { key: 'acf5cf5cca7b227befc908e3a606f38855f200ef', name: "heading" }, hAsync("ic-typography", { key: '10a627304367e6643bbf0197172655135156fba9', variant: "h4", class: "empty-state-heading" }, heading)), hAsync("slot", { key: 'a35e301f516eaef4a1fd7d7b7222c0111869c71a', name: "subheading" }, hAsync("ic-typography", { key: 'a93898edcb0998f2bbfd089f459d1268af69265c', variant: "subtitle-small", class: "empty-state-subheading" }, subheading)), hAsync("slot", { key: '89386937b3eb05475eef76d742d384c38b10bc1b', name: "body" }, hAsync("ic-typography", { key: '914ebaa368de220a3607a743ef1dd40fea9e3c79', maxLines: maxLines, class: "empty-state-body" }, body))), isSlotUsed(this.el, "actions") && (hAsync("div", { key: 'a1884397ea2ea1de771c11e35b5bc8efefa63b06', class: "action-area" }, hAsync("slot", { key: 'fa34f99bf5d5935ac5942b321ed56f97317bdb5b', name: "actions" })))));
|
|
7343
7297
|
}
|
|
7344
7298
|
get el() { return getElement(this); }
|
|
7345
7299
|
static get style() { return IcEmptyStateStyle0; }
|
|
@@ -7537,12 +7491,12 @@ class FooterLink {
|
|
|
7537
7491
|
const { footerConfig, href, hreflang, referrerpolicy, rel, target, download, } = this;
|
|
7538
7492
|
const { small, grouped } = footerConfig;
|
|
7539
7493
|
const isLogoLink = !!this.el.closest("div[slot='logo']");
|
|
7540
|
-
return (hAsync(Host, { key: '
|
|
7494
|
+
return (hAsync(Host, { key: 'cabde329ebfe9f787eae1d984bb6cf0ec4fcb047', class: {
|
|
7541
7495
|
"footer-link": true,
|
|
7542
7496
|
[`footer-link-${grouped ? "grouped" : "ungrouped"}-${small ? "small" : "sparse"}`]: true,
|
|
7543
7497
|
[`footer-link-${this.foregroundColor}`]: true,
|
|
7544
7498
|
"footer-logo-link": isLogoLink,
|
|
7545
|
-
}, role: "listitem" }, hAsync("ic-link", { key: '
|
|
7499
|
+
}, role: "listitem" }, hAsync("ic-link", { key: 'e4e3d3b716923eb8f9df66d058ac07fbadbc7982', class: "footer-link", href: href, hreflang: hreflang, referrerpolicy: referrerpolicy, rel: rel, download: download !== false ? download : undefined, target: target }, hAsync("slot", { key: 'b8e662b7b67daa4cc8329fd4404d354013dfec7f' }))));
|
|
7546
7500
|
}
|
|
7547
7501
|
static get delegatesFocus() { return true; }
|
|
7548
7502
|
get el() { return getElement(this); }
|
|
@@ -7721,7 +7675,7 @@ class Hero {
|
|
|
7721
7675
|
"background-position": scrollFactor,
|
|
7722
7676
|
};
|
|
7723
7677
|
}
|
|
7724
|
-
return (hAsync(Host, { key: '
|
|
7678
|
+
return (hAsync(Host, { key: '80e57ae6db4a37e6bd7dbf43e174710c043f3dfe', class: {
|
|
7725
7679
|
[`ic-hero-${IcBrandForegroundEnum.Dark}`]: foregroundColor === IcBrandForegroundEnum.Dark,
|
|
7726
7680
|
["has-background-image"]: backgroundImage !== undefined,
|
|
7727
7681
|
["has-right-content"]: this.rightContent,
|
|
@@ -7729,12 +7683,12 @@ class Hero {
|
|
|
7729
7683
|
["secondary-heading"]: !!secondaryHeading,
|
|
7730
7684
|
[`ic-hero-content-aligned-${contentAligned}`]: contentAligned !== undefined,
|
|
7731
7685
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
7732
|
-
}, style: style }, hAsync("ic-section-container", { key: '
|
|
7686
|
+
}, style: style }, hAsync("ic-section-container", { key: 'f8aa12b2e228bda409d0d5acfba9854c274da27b', aligned: aligned, fullHeight: true, class: "section-container" }, hAsync("div", { key: 'ded24c5a89fc3af527310702c5d0aa08177f1628', class: {
|
|
7733
7687
|
["left-container"]: true,
|
|
7734
7688
|
["left-container-full-width"]: this.leftContentFullWidth,
|
|
7735
|
-
} }, hAsync("div", { key: '
|
|
7689
|
+
} }, hAsync("div", { key: '57a9c51353b30931cd94bd949b5a96e8c1185fb1', class: "heading" }, hAsync("slot", { key: 'af625456f6c9efc26e2f6b7d118a7e22b474d48a', name: "heading" }, hAsync("ic-typography", { key: '6383d4916844a260c2ac8966bebc5d0042667dc4', variant: size === "small" ? "h2" : "h1", class: {
|
|
7736
7690
|
["heading-bottom-spacing"]: size !== "small",
|
|
7737
|
-
} }, hAsync("h2", { key: '
|
|
7691
|
+
} }, hAsync("h2", { key: '575a5929c50ff7661c856f7cda77b3a1acdddd03' }, heading)))), hAsync("div", { key: 'c10dabd945bfcb3362c5fa5b3e8eec17ffc82fd1', class: "subheading" }, hAsync("slot", { key: 'b50831b542a1ed7abb4d9ba9c06421e0f87dbb08', name: "subheading" }, hAsync("ic-typography", { key: '69f1420e36d15129f34c499c9f0eacee6a33e1cc', variant: "body" }, subheading))), hAsync("div", { key: '68f012d311258597a759f020faece5003ebc59c8', class: "interaction-container" }, hAsync("slot", { key: '79691480f48726c1df218c2322396b253b389bec', name: "interaction" }))), (isPropDefined(secondaryHeading) || this.rightContent) && (hAsync("div", { key: 'b80d0b64484c613d5e992bd940028e34734ae14a', class: "right-container" }, hAsync("slot", { key: 'd2291ea19039231b5cad28307ba3b8e0c8b654bb', name: "secondary" }, secondaryHeading && (hAsync("div", { key: '2f71e08c41b560aa727f60fed23521ab8fb4741d', class: "secondary-container" }, hAsync("div", { key: '6b5a2c1f34878f30b0d51d68066815c927060d2c', class: "secondary-heading" }, hAsync("ic-typography", { key: '64709a648468bbbb80599485041b37d9bcff777a', variant: "h4" }, hAsync("h3", { key: '7bc5aba841edce92e3189cf4d5f9e4fccf38ef4e' }, secondaryHeading))), hAsync("div", { key: '2a2fbf605afc2023595300d064111a4fa471bfdc', class: "secondary-subheading" }, hAsync("ic-typography", { key: '5b87284ace2401f60d4f208fa06cb85b367ed244', variant: "subtitle-small" }, secondarySubheading))))))))));
|
|
7738
7692
|
}
|
|
7739
7693
|
get el() { return getElement(this); }
|
|
7740
7694
|
static get style() { return IcHeroStyle0; }
|
|
@@ -7926,22 +7880,22 @@ class HorizontalScroll {
|
|
|
7926
7880
|
}
|
|
7927
7881
|
render() {
|
|
7928
7882
|
const { firstItemVisible, lastItemVisible, itemOverflow } = this;
|
|
7929
|
-
return (hAsync(Host, { key: '
|
|
7883
|
+
return (hAsync(Host, { key: 'e62a9673acd5416d956f0f293682a45d8caad08f', class: {
|
|
7930
7884
|
["ic-horizontal-scroll-visible"]: itemOverflow,
|
|
7931
7885
|
["ic-horizontal-scroll-dark"]: this.appearance === IcBrandForegroundEnum.Dark,
|
|
7932
7886
|
["ic-horizontal-scroll-light"]: this.appearance === IcBrandForegroundEnum.Light,
|
|
7933
7887
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
|
7934
|
-
} }, hAsync("div", { key: '
|
|
7888
|
+
} }, hAsync("div", { key: 'e3c2707ab25d06342f46237efe0d28479ab042cf', "aria-hidden": "true", class: {
|
|
7935
7889
|
["scroll-container-left"]: true,
|
|
7936
7890
|
["hidden"]: !itemOverflow,
|
|
7937
7891
|
["disabled"]: firstItemVisible,
|
|
7938
|
-
}, role: "tab" }, hAsync("ic-button", { key: '
|
|
7892
|
+
}, role: "tab" }, hAsync("ic-button", { key: '1240e1b97205b7b31c8d467982f8ac163fb89183', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll left", theme: this.theme === "light" || this.theme === "inherit"
|
|
7939
7893
|
? "dark"
|
|
7940
|
-
: "light", monochrome: this.monochrome, innerHTML: LeftArrow, disabled: firstItemVisible, tabindex: "-1", onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler }), hAsync("span", { key: '
|
|
7894
|
+
: "light", monochrome: this.monochrome, innerHTML: LeftArrow, disabled: firstItemVisible, tabindex: "-1", onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler }), hAsync("span", { key: '96f80e692d71cf3d9903f60aa1c6322e68cddfe6', class: "scroll-splitter-left" })), hAsync("slot", { key: '7b33db784648922f25369dc24beb3d50562d1090' }), hAsync("div", { key: 'b9645cd33d53e6eafe01444236543fb503a75e1e', "aria-hidden": "true", class: {
|
|
7941
7895
|
["scroll-container-right"]: true,
|
|
7942
7896
|
["hidden"]: !itemOverflow,
|
|
7943
7897
|
["disabled"]: lastItemVisible,
|
|
7944
|
-
}, role: "tab" }, hAsync("span", { key: '
|
|
7898
|
+
}, role: "tab" }, hAsync("span", { key: '1e1e2c4992938e38068602d65db3f980308b0db6', class: "scroll-splitter-right" }), hAsync("ic-button", { key: 'cae9a3da598885a5e12476f0ea85dcbc5e454266', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll right", theme: this.theme === "light" || this.theme === "inherit"
|
|
7945
7899
|
? "dark"
|
|
7946
7900
|
: "light", monochrome: this.monochrome, innerHTML: RightArrow, disabled: lastItemVisible, tabindex: "-1", onClick: this.scrollRight, onMouseDown: this.rightArrowMouseDownHandler }))));
|
|
7947
7901
|
}
|
|
@@ -8016,15 +7970,15 @@ class InputComponentContainer {
|
|
|
8016
7970
|
}
|
|
8017
7971
|
render() {
|
|
8018
7972
|
const { size, validationStatus, disabled, readonly, multiLine, fullWidth, validationInline, } = this;
|
|
8019
|
-
return (hAsync(Host, { key: '
|
|
7973
|
+
return (hAsync(Host, { key: '89ddddb905fb2169968a978feb1db2ddaed8fb0c', class: {
|
|
8020
7974
|
[`ic-input-component-container-${size}`]: true,
|
|
8021
7975
|
[`ic-input-component-container-${validationStatus}`]: validationStatus !== "" && !disabled && !readonly,
|
|
8022
7976
|
"ic-input-component-container-disabled": !!disabled,
|
|
8023
7977
|
"ic-input-component-container-readonly": !!readonly,
|
|
8024
7978
|
"ic-input-component-container-multiline": !!multiLine,
|
|
8025
7979
|
"ic-input-component-container-full-width": !!fullWidth,
|
|
8026
|
-
}, "aria-disabled": disabled ? "true" : null }, hAsync("div", { key: '
|
|
8027
|
-
validationStatus === IcInformationStatus.Success && (hAsync("span", { key: '
|
|
7980
|
+
}, "aria-disabled": disabled ? "true" : null }, hAsync("div", { key: 'e26afb0f2d7b78a1ca9b1ec3976b8e8fa3b2f3fe', class: "focus-indicator" }, slotHasContent(this.el, "left-icon") && (hAsync("div", { key: 'd314cf7303bab259eb78c85f38b943d758e6d874', class: "icon-container" }, hAsync("slot", { key: '128cdd1e6a537838dc490b33e2a657e613d6c969', name: "left-icon" }))), hAsync("slot", { key: '9d5fd3e67c6658f988a335e080b6e7141d1c8712' }), validationInline &&
|
|
7981
|
+
validationStatus === IcInformationStatus.Success && (hAsync("span", { key: '119749d6c32bebe9c8540fa7fadb28e7387428e5', class: "inline-success", innerHTML: successIcon })))));
|
|
8028
7982
|
}
|
|
8029
7983
|
get el() { return getElement(this); }
|
|
8030
7984
|
static get watchers() { return {
|
|
@@ -8065,11 +8019,11 @@ class InputContainer {
|
|
|
8065
8019
|
this.readonly = false;
|
|
8066
8020
|
}
|
|
8067
8021
|
render() {
|
|
8068
|
-
return (hAsync(Host, { key: '
|
|
8022
|
+
return (hAsync(Host, { key: 'f8a56b6ed7706188078d28f8fd7216c046fe32a2' }, hAsync("div", { key: 'f7d41111869769c9ab8e5ad72ee936827ef36c91', class: {
|
|
8069
8023
|
["component-container"]: true,
|
|
8070
8024
|
["disabled"]: !!this.disabled,
|
|
8071
8025
|
["readonly"]: !!this.readonly,
|
|
8072
|
-
} }, hAsync("slot", { key: '
|
|
8026
|
+
} }, hAsync("slot", { key: '42fc42d0f226b11b93ab910c00ed25c027ebb549' }))));
|
|
8073
8027
|
}
|
|
8074
8028
|
static get style() { return IcInputContainerStyle0; }
|
|
8075
8029
|
static get cmpMeta() { return {
|
|
@@ -8163,11 +8117,11 @@ class InputLabel {
|
|
|
8163
8117
|
"readonly-label": readonly,
|
|
8164
8118
|
"error-label": status === "error" && !(readonly || disabled),
|
|
8165
8119
|
} }, hAsync("label", { htmlFor: this.for }, labelText)));
|
|
8166
|
-
return (hAsync(Host, { key: '
|
|
8120
|
+
return (hAsync(Host, { key: '22df328142cec5a7a86fcf3e62bc40dcbfe56f97', class: {
|
|
8167
8121
|
"ic-input-label-disabled": !!disabled,
|
|
8168
8122
|
"ic-input-label-readonly": readonly,
|
|
8169
8123
|
"with-helper": this.isSlotUsed(helperTextSlot) || helperText !== "",
|
|
8170
|
-
} }, !hideLabel && hAsync(LabelContent, { key: '
|
|
8124
|
+
} }, !hideLabel && hAsync(LabelContent, { key: '4eddf506bc0027ff8470aeaa5f16ec124a81cc0f' }), this.isSlotUsed(helperTextSlot) ? (hAsync("span", { id: helperTextId, class: helperTextClass }, hAsync("slot", { name: "helper-text" }))) : (helperText !== "" && (hAsync("ic-typography", { variant: "caption", class: helperTextClass }, hAsync("span", { id: helperTextId }, helperText))))));
|
|
8171
8125
|
}
|
|
8172
8126
|
get el() { return getElement(this); }
|
|
8173
8127
|
static get style() { return IcInputLabelStyle0; }
|
|
@@ -8234,14 +8188,14 @@ class InputValidation {
|
|
|
8234
8188
|
render() {
|
|
8235
8189
|
const { ariaLiveMode, fullWidth, status, message } = this;
|
|
8236
8190
|
const displayIcon = status !== "" ? ICON[status] : "";
|
|
8237
|
-
return (hAsync(Host, { key: '
|
|
8191
|
+
return (hAsync(Host, { key: '6d368ba4b4e79886a2efff97ca3d8d446516cc11', class: {
|
|
8238
8192
|
[`ic-input-validation-${status}`]: status !== "",
|
|
8239
8193
|
"ic-input-validation-full-width": !!fullWidth,
|
|
8240
8194
|
"ic-input-validation-with-status": status !== "",
|
|
8241
|
-
} }, displayIcon !== "" && (hAsync("span", { key: '
|
|
8195
|
+
} }, displayIcon !== "" && (hAsync("span", { key: 'ce5fbaa3281136744bc5f77c4ea6570205126285', class: {
|
|
8242
8196
|
"status-icon": true,
|
|
8243
8197
|
[`icon-${status}`]: true,
|
|
8244
|
-
}, innerHTML: displayIcon })), hAsync("ic-typography", { key: '
|
|
8198
|
+
}, innerHTML: displayIcon })), hAsync("ic-typography", { key: '00f35ab82e8fe784ae05fc70d4164c4a804a49e4', variant: "caption", class: "statustext" }, hAsync("span", { key: '1d6d6486d3f885897271a80a3c87077b2bfc39a6', id: this.for && getInputValidationTextID(this.for) }, isSlotUsed(this.el, "validation-message") ? (hAsync("slot", { name: "validation-message" })) : (message)), hAsync("span", { key: 'a37f6a7af4602e08a00b5d980209781c4f4913ac', ref: (el) => (this.messageEl = el), class: "sr-only", "aria-live": ariaLiveMode })), hAsync("slot", { key: '8b5260888b4fff0031fa8917f84e2cc3b7fa97df', name: "validation-message-adornment" })));
|
|
8245
8199
|
}
|
|
8246
8200
|
get el() { return getElement(this); }
|
|
8247
8201
|
static get watchers() { return {
|
|
@@ -8393,10 +8347,10 @@ class LayoutGrid {
|
|
|
8393
8347
|
}
|
|
8394
8348
|
render() {
|
|
8395
8349
|
const { aligned, fullHeight } = this;
|
|
8396
|
-
return (hAsync(Host, { key: '
|
|
8350
|
+
return (hAsync(Host, { key: '61a7e3f3a8e2156da3cecc47997fc54392d4efc0', class: {
|
|
8397
8351
|
[`ic-layout-grid-aligned-${aligned}`]: true,
|
|
8398
8352
|
["ic-layout-grid-no-vertical-padding"]: !!fullHeight,
|
|
8399
|
-
} }, hAsync("slot", { key: '
|
|
8353
|
+
} }, hAsync("slot", { key: 'ac804c02e898cd212d5cb48b3b5a7ba18790f186' })));
|
|
8400
8354
|
}
|
|
8401
8355
|
get el() { return getElement(this); }
|
|
8402
8356
|
static get watchers() { return {
|
|
@@ -8476,9 +8430,9 @@ class LayoutGridItem {
|
|
|
8476
8430
|
}
|
|
8477
8431
|
render() {
|
|
8478
8432
|
const { hideInMobileMode } = this;
|
|
8479
|
-
return (hAsync(Host, { key: '
|
|
8433
|
+
return (hAsync(Host, { key: '903a4aaf039efd3eb3f1748829047f02073f4877', class: {
|
|
8480
8434
|
"ic-layout-grid-hide-in-mobile": !!hideInMobileMode,
|
|
8481
|
-
} }, hAsync("slot", { key: '
|
|
8435
|
+
} }, hAsync("slot", { key: 'cad27bb4fc8a60f8e579c66776c9277973e14963' })));
|
|
8482
8436
|
}
|
|
8483
8437
|
get el() { return getElement(this); }
|
|
8484
8438
|
static get watchers() { return {
|
|
@@ -8591,7 +8545,7 @@ class Link {
|
|
|
8591
8545
|
}
|
|
8592
8546
|
render() {
|
|
8593
8547
|
const { download, href, hreflang, referrerpolicy, rel, target, monochrome, theme, } = this;
|
|
8594
|
-
return (hAsync(Host, { key: '
|
|
8548
|
+
return (hAsync(Host, { key: 'd62709776b71c1cbb259db22f9d56ae4bdb6d3c3', class: {
|
|
8595
8549
|
["ic-link"]: true,
|
|
8596
8550
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
8597
8551
|
["ic-link-monochrome"]: !!monochrome,
|
|
@@ -8817,24 +8771,24 @@ class LoadingIndicator {
|
|
|
8817
8771
|
}
|
|
8818
8772
|
render() {
|
|
8819
8773
|
const { circularDiameter, circularDimensions: { x, y, r, dashArray, dashOffset }, description, fullWidth, indicatorLabel, innerLabel, internalType, label, max, min, monochrome, progress, size, theme, } = this;
|
|
8820
|
-
return (hAsync(Host, { key: '
|
|
8774
|
+
return (hAsync(Host, { key: 'beb812375fe592948fd08a79719e2929f2465c28', class: {
|
|
8821
8775
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
8822
8776
|
"ic-loading-indicator-full-width": fullWidth,
|
|
8823
8777
|
"ic-loading-indicator-label": !!label,
|
|
8824
8778
|
"ic-loading-indicator-monochrome": monochrome,
|
|
8825
8779
|
[`ic-loading-indicator-size-${size}`]: true,
|
|
8826
|
-
} }, hAsync("div", { key: '
|
|
8780
|
+
} }, hAsync("div", { key: '8a06331985f07e1abafcd9ecc35aa77301068283', class: "ic-loading-container", part: "ic-loading-container" }, hAsync("div", { key: '4efb469ea95efd064cd1bfa5b4ea7d4adab1783c', ref: (el) => (this.outerElement = el), class: {
|
|
8827
8781
|
[`ic-loading-${internalType}-outer`]: true,
|
|
8828
8782
|
[progress === undefined ? "indeterminate" : "determinate"]: true,
|
|
8829
|
-
}, role: "progressbar", "aria-labelledby": label && size !== "icon" && "ic-loading-label", "aria-label": description, "aria-valuenow": progress, "aria-valuemin": min, "aria-valuemax": max }, hAsync("div", { key: '
|
|
8783
|
+
}, role: "progressbar", "aria-labelledby": label && size !== "icon" && "ic-loading-label", "aria-label": description, "aria-valuenow": progress, "aria-valuemin": min, "aria-valuemax": max }, hAsync("div", { key: '59de7cfe38c013ea45f73bb3aa700f1faba75244', ref: (el) => (this.innerElement = el), class: {
|
|
8830
8784
|
[`ic-loading-${internalType}-inner`]: true,
|
|
8831
8785
|
"inner-label": !!innerLabel,
|
|
8832
|
-
} }, innerLabel && size === "small" && (hAsync("ic-typography", { key: '
|
|
8786
|
+
} }, innerLabel && size === "small" && (hAsync("ic-typography", { key: '0450c339e59da5b47cf73d77b968fb4e34ebe57f', variant: "subtitle-small", class: "inner-text" }, innerLabel)), internalType === "circular" && (hAsync("svg", { key: '4e7a06aad19b58afb8b568ee572863ebf60d1ee3', class: "ic-loading-circular-svg", viewBox: `0 0 ${circularDiameter} ${circularDiameter}` }, hAsync("circle", { key: '1953d5576a4d86c2c5b18f62fa806a9408566ba3', cx: x, cy: y, r: r }), hAsync("circle", { key: 'f8f6bbfbf38710de4ea96278512d0aca385ae069', style: {
|
|
8833
8787
|
"--circular-steps-max": progress ? `${max}` : undefined,
|
|
8834
8788
|
"--progress-value": progress !== undefined ? `${progress}` : undefined,
|
|
8835
8789
|
"--stroke-dasharray": dashArray,
|
|
8836
8790
|
"--stroke-dashoffset": dashOffset,
|
|
8837
|
-
}, cx: x, cy: y, r: r }))))), label && size !== "icon" && (hAsync("ic-typography", { key: '
|
|
8791
|
+
}, cx: x, cy: y, r: r }))))), label && size !== "icon" && (hAsync("ic-typography", { key: 'c3ceae06e922246f12e188135f30400eb409894a', id: "ic-loading-label", class: "ic-loading-label", role: "alert", variant: this.getLabelVariant() }, hAsync("p", { key: '6cbf517faab2093db5dc47f8b33c51fdc7af604b' }, indicatorLabel))))));
|
|
8838
8792
|
}
|
|
8839
8793
|
get el() { return getElement(this); }
|
|
8840
8794
|
static get watchers() { return {
|
|
@@ -10675,7 +10629,7 @@ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof win
|
|
|
10675
10629
|
|
|
10676
10630
|
var purify = {exports: {}};
|
|
10677
10631
|
|
|
10678
|
-
/*! @license DOMPurify 3.
|
|
10632
|
+
/*! @license DOMPurify 3.4.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.0/LICENSE */
|
|
10679
10633
|
|
|
10680
10634
|
(function (module, exports) {
|
|
10681
10635
|
(function (global, factory) {
|
|
@@ -10880,7 +10834,7 @@ var purify = {exports: {}};
|
|
|
10880
10834
|
|
|
10881
10835
|
const html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'exportparts', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inert', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'part', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'slot', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns', 'slot']);
|
|
10882
10836
|
const svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'mask-type', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);
|
|
10883
|
-
const mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', '
|
|
10837
|
+
const mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnalign', 'columnlines', 'columnspacing', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lquote', 'lspace', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);
|
|
10884
10838
|
const xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);
|
|
10885
10839
|
|
|
10886
10840
|
// eslint-disable-next-line unicorn/better-regex
|
|
@@ -10915,20 +10869,11 @@ var purify = {exports: {}};
|
|
|
10915
10869
|
// https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
|
|
10916
10870
|
const NODE_TYPE = {
|
|
10917
10871
|
element: 1,
|
|
10918
|
-
attribute: 2,
|
|
10919
10872
|
text: 3,
|
|
10920
|
-
cdataSection: 4,
|
|
10921
|
-
entityReference: 5,
|
|
10922
|
-
// Deprecated
|
|
10923
|
-
entityNode: 6,
|
|
10924
10873
|
// Deprecated
|
|
10925
10874
|
progressingInstruction: 7,
|
|
10926
10875
|
comment: 8,
|
|
10927
|
-
document: 9
|
|
10928
|
-
documentType: 10,
|
|
10929
|
-
documentFragment: 11,
|
|
10930
|
-
notation: 12 // Deprecated
|
|
10931
|
-
};
|
|
10876
|
+
document: 9};
|
|
10932
10877
|
const getGlobal = function getGlobal() {
|
|
10933
10878
|
return typeof window === 'undefined' ? null : window;
|
|
10934
10879
|
};
|
|
@@ -10986,7 +10931,7 @@ var purify = {exports: {}};
|
|
|
10986
10931
|
function createDOMPurify() {
|
|
10987
10932
|
let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
|
|
10988
10933
|
const DOMPurify = root => createDOMPurify(root);
|
|
10989
|
-
DOMPurify.version = '3.
|
|
10934
|
+
DOMPurify.version = '3.4.0';
|
|
10990
10935
|
DOMPurify.removed = [];
|
|
10991
10936
|
if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
|
|
10992
10937
|
// Not running in a browser, provide a factory function
|
|
@@ -11262,7 +11207,7 @@ var purify = {exports: {}};
|
|
|
11262
11207
|
NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;
|
|
11263
11208
|
MATHML_TEXT_INTEGRATION_POINTS = cfg.MATHML_TEXT_INTEGRATION_POINTS || MATHML_TEXT_INTEGRATION_POINTS;
|
|
11264
11209
|
HTML_INTEGRATION_POINTS = cfg.HTML_INTEGRATION_POINTS || HTML_INTEGRATION_POINTS;
|
|
11265
|
-
CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING ||
|
|
11210
|
+
CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || create(null);
|
|
11266
11211
|
if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {
|
|
11267
11212
|
CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;
|
|
11268
11213
|
}
|
|
@@ -11302,13 +11247,10 @@ var purify = {exports: {}};
|
|
|
11302
11247
|
addToSet(ALLOWED_ATTR, xml);
|
|
11303
11248
|
}
|
|
11304
11249
|
}
|
|
11305
|
-
/*
|
|
11306
|
-
|
|
11307
|
-
|
|
11308
|
-
|
|
11309
|
-
if (!objectHasOwnProperty(cfg, 'ADD_ATTR')) {
|
|
11310
|
-
EXTRA_ELEMENT_HANDLING.attributeCheck = null;
|
|
11311
|
-
}
|
|
11250
|
+
/* Always reset function-based ADD_TAGS / ADD_ATTR checks to prevent
|
|
11251
|
+
* leaking across calls when switching from function to array config */
|
|
11252
|
+
EXTRA_ELEMENT_HANDLING.tagCheck = null;
|
|
11253
|
+
EXTRA_ELEMENT_HANDLING.attributeCheck = null;
|
|
11312
11254
|
/* Merge configuration parameters */
|
|
11313
11255
|
if (cfg.ADD_TAGS) {
|
|
11314
11256
|
if (typeof cfg.ADD_TAGS === 'function') {
|
|
@@ -11631,6 +11573,11 @@ var purify = {exports: {}};
|
|
|
11631
11573
|
_forceRemove(currentNode);
|
|
11632
11574
|
return true;
|
|
11633
11575
|
}
|
|
11576
|
+
/* Remove risky CSS construction leading to mXSS */
|
|
11577
|
+
if (SAFE_FOR_XML && currentNode.namespaceURI === HTML_NAMESPACE && tagName === 'style' && _isNode(currentNode.firstElementChild)) {
|
|
11578
|
+
_forceRemove(currentNode);
|
|
11579
|
+
return true;
|
|
11580
|
+
}
|
|
11634
11581
|
/* Remove any occurrence of processing instructions */
|
|
11635
11582
|
if (currentNode.nodeType === NODE_TYPE.progressingInstruction) {
|
|
11636
11583
|
_forceRemove(currentNode);
|
|
@@ -11642,7 +11589,7 @@ var purify = {exports: {}};
|
|
|
11642
11589
|
return true;
|
|
11643
11590
|
}
|
|
11644
11591
|
/* Remove element if anything forbids its presence */
|
|
11645
|
-
if (!(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) &&
|
|
11592
|
+
if (FORBID_TAGS[tagName] || !(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && !ALLOWED_TAGS[tagName]) {
|
|
11646
11593
|
/* Check if we have a custom element to handle */
|
|
11647
11594
|
if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
|
|
11648
11595
|
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
|
|
@@ -11881,7 +11828,7 @@ var purify = {exports: {}};
|
|
|
11881
11828
|
*
|
|
11882
11829
|
* @param fragment to iterate over recursively
|
|
11883
11830
|
*/
|
|
11884
|
-
const
|
|
11831
|
+
const _sanitizeShadowDOM2 = function _sanitizeShadowDOM(fragment) {
|
|
11885
11832
|
let shadowNode = null;
|
|
11886
11833
|
const shadowIterator = _createNodeIterator(fragment);
|
|
11887
11834
|
/* Execute a hook if present */
|
|
@@ -11895,7 +11842,7 @@ var purify = {exports: {}};
|
|
|
11895
11842
|
_sanitizeAttributes(shadowNode);
|
|
11896
11843
|
/* Deep shadow DOM detected */
|
|
11897
11844
|
if (shadowNode.content instanceof DocumentFragment) {
|
|
11898
|
-
|
|
11845
|
+
_sanitizeShadowDOM2(shadowNode.content);
|
|
11899
11846
|
}
|
|
11900
11847
|
}
|
|
11901
11848
|
/* Execute a hook if present */
|
|
@@ -11990,7 +11937,7 @@ var purify = {exports: {}};
|
|
|
11990
11937
|
_sanitizeAttributes(currentNode);
|
|
11991
11938
|
/* Shadow DOM detected, sanitize it */
|
|
11992
11939
|
if (currentNode.content instanceof DocumentFragment) {
|
|
11993
|
-
|
|
11940
|
+
_sanitizeShadowDOM2(currentNode.content);
|
|
11994
11941
|
}
|
|
11995
11942
|
}
|
|
11996
11943
|
/* If we sanitized `dirty` in-place, return it. */
|
|
@@ -11999,6 +11946,14 @@ var purify = {exports: {}};
|
|
|
11999
11946
|
}
|
|
12000
11947
|
/* Return sanitized string or DOM */
|
|
12001
11948
|
if (RETURN_DOM) {
|
|
11949
|
+
if (SAFE_FOR_TEMPLATES) {
|
|
11950
|
+
body.normalize();
|
|
11951
|
+
let html = body.innerHTML;
|
|
11952
|
+
arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
|
|
11953
|
+
html = stringReplace(html, expr, ' ');
|
|
11954
|
+
});
|
|
11955
|
+
body.innerHTML = html;
|
|
11956
|
+
}
|
|
12002
11957
|
if (RETURN_DOM_FRAGMENT) {
|
|
12003
11958
|
returnNode = createDocumentFragment.call(body.ownerDocument);
|
|
12004
11959
|
while (body.firstChild) {
|
|
@@ -13099,7 +13054,7 @@ class Menu {
|
|
|
13099
13054
|
const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, parentEl, SEARCH_BAR_TAG, multiSelect, } = this;
|
|
13100
13055
|
const selectAllButtonText = `${(value === null || value === void 0 ? void 0 : value.length) === this.ungroupedOptions.length ? "Clear" : "Select"} all`;
|
|
13101
13056
|
const hasNoResults = this.host.classList.contains("no-results");
|
|
13102
|
-
return (hAsync(Host, { key: '
|
|
13057
|
+
return (hAsync(Host, { key: 'c8002b0985f20231f9e24b2e446a67cf3230be7e', class: {
|
|
13103
13058
|
"ic-menu-full-width": !!fullWidth,
|
|
13104
13059
|
"ic-menu-no-focus": ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" &&
|
|
13105
13060
|
(parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) !== SEARCH_BAR_TAG) ||
|
|
@@ -13108,7 +13063,7 @@ class Menu {
|
|
|
13108
13063
|
[`ic-menu-${size}`]: true,
|
|
13109
13064
|
"ic-menu-open": open && options.length !== 0,
|
|
13110
13065
|
"ic-menu-multiple": multiSelect,
|
|
13111
|
-
} }, options.length !== 0 && (hAsync("ul", { key: '
|
|
13066
|
+
} }, options.length !== 0 && (hAsync("ul", { key: 'c7f0134bd0f14aae16fc4f2f0ba20f72553e4af5', id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": multiSelect ? "true" : "false", "aria-activedescendant": this.optionHighlighted
|
|
13112
13067
|
? this.getOptionId(this.optionHighlighted)
|
|
13113
13068
|
: undefined, tabindex: !this.allowMenuFocus
|
|
13114
13069
|
? "-1"
|
|
@@ -13140,7 +13095,7 @@ class Menu {
|
|
|
13140
13095
|
multiSelect &&
|
|
13141
13096
|
!isLoading &&
|
|
13142
13097
|
!hasTimedOut &&
|
|
13143
|
-
!hasNoResults && (hAsync("div", { key: '
|
|
13098
|
+
!hasNoResults && (hAsync("div", { key: '6dc5d80d88ac368c6274e709ba5a8a1dc79bf9e8', class: "option-bar" }, hAsync("ic-typography", { key: '5a62bb37a7c338c00e296519077a8254c39c1c4a' }, hAsync("p", { key: 'd5209b3fa671a87fc4ad2039732315d51d042c9f' }, `${value ? value.length : 0}/${getOptionsWithoutGroupTitlesCount(this.options)} selected`)), hAsync("ic-button", { key: '543d14896d83e275257adf6808a4f855b694a5d4', class: "select-all-button", "aria-label": `${selectAllButtonText} options for ${inputLabel}`, ref: (el) => (this.selectAllButton = el), variant: "tertiary", onClick: this.handleSelectAllClick, onMouseDown: this.handleSelectAllMouseDown, onBlur: this.handleSelectAllBlur, onFocus: this.handleSelectAllFocus, size: size === "small" ? "small" : "medium" }, selectAllButtonText)))));
|
|
13144
13099
|
}
|
|
13145
13100
|
get host() { return getElement(this); }
|
|
13146
13101
|
static get watchers() { return {
|
|
@@ -13202,7 +13157,7 @@ class MenuGroup {
|
|
|
13202
13157
|
}
|
|
13203
13158
|
render() {
|
|
13204
13159
|
const parentMenu = this.el.closest("ic-popover-menu");
|
|
13205
|
-
return (hAsync(Host, { key: '
|
|
13160
|
+
return (hAsync(Host, { key: 'b67fb3029530607dcb8b7462eeb56cbd7ef7322e', role: "group", "aria-label": this.label !== null ? this.label : "" }, isPropDefined(this.label) && (hAsync("ic-typography", { key: 'cd75b3b4ab6862d17c0167a021b223911ff5f128', variant: "subtitle-small" }, this.label)), hAsync("span", { key: '81cb0aafc38655f78a510988720f5831e4a90479', class: "menu-items-wrapper" }, hAsync("slot", { key: '6dad74f6bf17000f8255b4764d70a28edd48cbe8' })), this.el !== (parentMenu === null || parentMenu === void 0 ? void 0 : parentMenu.querySelector("ic-menu-group:last-child")) && (hAsync("hr", { key: '3c766f970b1ee1f2e2427b9afbf798d97bee454a' }))));
|
|
13206
13161
|
}
|
|
13207
13162
|
get el() { return getElement(this); }
|
|
13208
13163
|
static get style() { return IcMenuGroupStyle0; }
|
|
@@ -13750,7 +13705,7 @@ class NavigationGroup {
|
|
|
13750
13705
|
const isTopNav = this.navigationType === "top";
|
|
13751
13706
|
const isTopNavDesktop = !inTopNavSideMenu && isTopNav;
|
|
13752
13707
|
const ariaExpanded = (isSideNav && expanded) || (isTopNav && dropdownOpen);
|
|
13753
|
-
return (hAsync(Host, { key: '
|
|
13708
|
+
return (hAsync(Host, { key: 'ab11148a5f98eb6fed6ab2378c016cd76377af3f', class: {
|
|
13754
13709
|
"in-side-menu": inTopNavSideMenu,
|
|
13755
13710
|
"ic-navigation-group-expandable": expandable,
|
|
13756
13711
|
"ic-navigation-group-side-nav": isSideNav,
|
|
@@ -14177,16 +14132,16 @@ class NavigationMenu {
|
|
|
14177
14132
|
}
|
|
14178
14133
|
}
|
|
14179
14134
|
render() {
|
|
14180
|
-
return (hAsync(Host, { key: '
|
|
14135
|
+
return (hAsync(Host, { key: '88cc35277a0efd2944900616928bcc208fb89f90', class: { [`ic-theme-${this.theme}`]: this.theme !== "inherit" } }, hAsync("div", { key: '1b372e20a919c1f3f85f6529c00671e345f5b0e3', class: "popout-modal", onClick: this.closeMenu }), hAsync("div", { key: 'edbd31518897423eeb3c6bd46a981e030bc1818f', class: "popout-menu", role: "dialog", "aria-modal": "true", "aria-label": `${this.hasNavigation ? "Navigation" : "App"} menu` }, hAsync("span", { key: '9cba7a72dc1b6910e1be0e416a12bfaf8987f83a', "aria-hidden": "true", id: "navigation-landmark-text", class: "navigation-landmark-text" }, "Main navigation"), hAsync("nav", { key: '86e45794dd6a7279817fffd3258db31bf73d185a', "aria-labelledby": "navigation-landmark-text", "aria-hidden": this.hasNavigation ? "false" : "true" }, hAsync("div", { key: 'ebcd2ba1d90caf089e75049d0b23b6998c6747fd', class: {
|
|
14181
14136
|
["menu-close-button-container"]: true,
|
|
14182
14137
|
["nav-group-first"]: this.navGroupFirst,
|
|
14183
|
-
} }, hAsync("ic-button", { key: '
|
|
14138
|
+
} }, hAsync("ic-button", { key: '7d5788fd10e2347cceb35b043b7d988775ffca71', ref: (el) => (this.closeButton = el), id: "menu-close-button", class: "menu-close-button", variant: "icon-tertiary", size: "large", "aria-label": `Close ${this.hasNavigation ? "navigation" : "app"} menu`, onClick: this.closeMenu }, hAsync("svg", { key: 'ac57c2b5bdbbcf6d76aba52914f079e166c68d1e', width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '9a4f43826d2db708df341e972e6ea3fe4f315542', d: "M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z" })))), this.hasNavigation && hAsync("slot", { key: 'ad0aad328a21de31219535ded6e19e28cd896258', name: "navigation" })), this.hasButtons && (hAsync("div", { key: '8838500ffe54c265b212bf7f137eb390b92be4d0', class: {
|
|
14184
14139
|
["menu-buttons-container"]: true,
|
|
14185
14140
|
["menu-buttons-container-nav-item-above"]: this.navItemAboveButtons,
|
|
14186
|
-
} }, hAsync("slot", { key: '
|
|
14141
|
+
} }, hAsync("slot", { key: '8e507cf9f00c407fbe7b74863b10a6fd613cfc8f', name: "buttons" }))), (this.status !== "" || this.version !== "") && (hAsync("div", { key: '9ccfb022e3c3e74d88ad241a93d5c98615ba3018', class: {
|
|
14187
14142
|
["menu-status-version-container"]: true,
|
|
14188
14143
|
["status-version-no-buttons"]: !this.hasButtons,
|
|
14189
|
-
} }, this.status !== "" && (hAsync("div", { key: '
|
|
14144
|
+
} }, this.status !== "" && (hAsync("div", { key: 'c85a43e520d29e854ca874cbd45516e01c59135b', class: "menu-status" }, hAsync("ic-typography", { key: 'da1919a00dc5acb4b6631c434eefe94c6b03a101', variant: "label-uppercase", "aria-label": "app tag", class: "menu-status-text" }, this.status))), this.version !== "" && (hAsync("div", { key: '1944cc236ceb8ce956d2b92b4b767e1cdcbfd039', class: "menu-version" }, hAsync("ic-typography", { key: '6f255b313c46458054d0d5a5d60a46431ea496ac', variant: "label", class: "menu-version-text", "aria-label": "app version" }, this.version))))))));
|
|
14190
14145
|
}
|
|
14191
14146
|
get el() { return getElement(this); }
|
|
14192
14147
|
static get style() { return IcNavigationMenuStyle0; }
|
|
@@ -14319,19 +14274,19 @@ class PageHeader {
|
|
|
14319
14274
|
const navAriaLabel = `${isSlotUsed(this.el, "heading")
|
|
14320
14275
|
? (_b = (_a = this.el.querySelector('[slot="heading"]')) === null || _a === void 0 ? void 0 : _a.textContent) !== null && _b !== void 0 ? _b : ""
|
|
14321
14276
|
: heading !== null && heading !== void 0 ? heading : ""} page sections`;
|
|
14322
|
-
return (hAsync(Host, { key: '
|
|
14277
|
+
return (hAsync(Host, { key: '56a0018680921ae6e2a155ed26695b46efaa544b', class: {
|
|
14323
14278
|
["ic-page-header-sticky"]: !!sticky,
|
|
14324
14279
|
["ic-page-header-sticky-desktop"]: !sticky && !!stickyDesktopOnly,
|
|
14325
14280
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
14326
|
-
}, "aria-label": this.el.ariaLabel || "page header" }, hAsync("header", { key: '
|
|
14281
|
+
}, "aria-label": this.el.ariaLabel || "page header" }, hAsync("header", { key: 'e31ac8b3d53332983cb02414ebddd0b8b1a1c2b8', class: {
|
|
14327
14282
|
["border-bottom"]: !!border,
|
|
14328
14283
|
["tabs"]: isSlotUsed(this.el, "tabs"),
|
|
14329
|
-
}, role: "presentation" }, hAsync("ic-section-container", { key: '
|
|
14284
|
+
}, role: "presentation" }, hAsync("ic-section-container", { key: '6b9684893d452c5e487d704d3adabf692c738c72', aligned: aligned, fullHeight: isSlotUsed(this.el, "tabs") }, isSlotUsed(this.el, "breadcrumbs") && (hAsync("div", { key: '7032c24dcb9128b29dcf511a52f3528840719e9d', class: "breadcrumb-area" }, hAsync("slot", { key: '2288318626d12483173966e10f2697a00c2fcac1', name: "breadcrumbs" }))), hAsync("div", { key: '53d63b4b4b65ad8ef894db55d2ac5c9c1141ebe7', class: "main-content" }, hAsync("div", { key: 'dd25121e5c9c62331c78f3a855b63cf6640305f1', class: "title-area" }, hAsync("div", { key: 'aed5b0bb1ea1ce66e39689a976ac548f89c3a9c7', class: "header-content" }, hAsync("slot", { key: '8c70282f646873000fb3c11faf7dd13b958dd160', name: "heading" }, hAsync("ic-typography", { key: '4e121e3b0949503f2a7489b555101bc51d00dadd', variant: size === "small" ? "h4" : "h2", class: "heading" }, hAsync("h2", { key: '09ee94d04aa661a5a08452e45c59b82c1c2843a1' }, heading))), hAsync("slot", { key: '9668baec0690affcc38764335dc1475120d943ca', name: "heading-adornment" })), hAsync("div", { key: 'cac63814c854930fb43d102dfb9c3aba3e7cf6e1', class: {
|
|
14330
14285
|
["subheading-content"]: !!subheading || isSlotUsed(this.el, "subheading"),
|
|
14331
14286
|
["small"]: size === "small",
|
|
14332
|
-
} }, hAsync("slot", { key: '
|
|
14333
|
-
isSlotUsed(this.el, "tabs")) && (hAsync("div", { key: '
|
|
14334
|
-
!isSlotUsed(this.el, "tabs") && hAsync("slot", { key: '
|
|
14287
|
+
} }, hAsync("slot", { key: 'f9d8d1cdad14e0655e332cb1470a26e101061013', name: "subheading" }, hAsync("ic-typography", { key: '6210631fe95d70a1ddc9d04b7ce352bd39368802', variant: "body" }, subheading)))), isSlotUsed(this.el, "actions") && (hAsync("div", { key: 'b7bfeae9b8d45f80690e6e53155fee2e3c3d45c1', class: "action-area" }, hAsync("slot", { key: '92d88765f25bdf4aaa0107fc5de975e09605c0ef', name: "actions" }))), isSlotUsed(this.el, "input") && (hAsync("div", { key: 'bffa6ea72d550696262e32fb3ec48c70723414db', class: "input-area" }, hAsync("slot", { key: '51ccb64bec580e2321d764e8ad88c525e399ff34', name: "input" })))), (isSlotUsed(this.el, "stepper") ||
|
|
14288
|
+
isSlotUsed(this.el, "tabs")) && (hAsync("div", { key: 'c5636159415cfcf52ded2415551518efb11aee76', class: "navigation-area" }, isSlotUsed(this.el, "stepper") &&
|
|
14289
|
+
!isSlotUsed(this.el, "tabs") && hAsync("slot", { key: '5bfcc8f61a6c3f6c72f727e51e6433f028c69a9a', name: "stepper" }), isSlotUsed(this.el, "tabs") && (hAsync("nav", { key: 'be0b3d4a3b19157dae085060bc8636576551e9cb', "aria-label": navAriaLabel }, hAsync("ic-horizontal-scroll", { key: 'f20077bb7bd258d9cfd7c68ec81557caf622702b' }, hAsync("ul", { key: 'e4cdf692ff8f4dccc2218f49e21323e3cb9766bc', class: "tabs-slot" }, hAsync("slot", { key: '682123b35aaf0bef301e081c62faaf0acf9348fb', name: "tabs" })))))))))));
|
|
14335
14290
|
}
|
|
14336
14291
|
get el() { return getElement(this); }
|
|
14337
14292
|
static get style() { return IcPageHeaderStyle0; }
|
|
@@ -14638,14 +14593,14 @@ class Pagination {
|
|
|
14638
14593
|
}
|
|
14639
14594
|
render() {
|
|
14640
14595
|
const { type, currentPage, hideCurrentPage, disabled, hideFirstAndLastPageButton, label, theme, monochrome, } = this;
|
|
14641
|
-
return (hAsync(Host, { key: '
|
|
14596
|
+
return (hAsync(Host, { key: 'b6438410825fba931acc4eb7282ea11341f4a2ab', class: {
|
|
14642
14597
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
14643
14598
|
["ic-pagination-monochrome"]: !!monochrome,
|
|
14644
|
-
} }, type === "simple" && (hAsync("nav", { key: '
|
|
14599
|
+
} }, type === "simple" && (hAsync("nav", { key: 'c76e2d21aaed0bb12c976778e1e6399157002b4f', class: {
|
|
14645
14600
|
["disabled"]: !!disabled,
|
|
14646
|
-
}, role: "navigation", "aria-label": this.accessibleLabel }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), hAsync("ic-pagination-item", { key: '
|
|
14601
|
+
}, role: "navigation", "aria-label": this.accessibleLabel }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), hAsync("ic-pagination-item", { key: 'c5b391e53945f6545e3b2694bcd32a8d9fdab18e', theme: this.theme, monochrome: this.monochrome, type: "simple-current", page: currentPage, label: label, class: { ["hide-current-page"]: !!hideCurrentPage }, disabled: disabled }), this.nextButton(), hideFirstAndLastPageButton ? null : this.lastButton())), type === "complex" && (hAsync("nav", { key: 'faa2aa8655d7e1de8877efca2d43233ae3de7d49', class: {
|
|
14647
14602
|
["disabled"]: !!disabled,
|
|
14648
|
-
}, role: "navigation", "aria-label": this.accessibleLabel }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), this.renderStartItems(), this.startEllipsis && this.renderStartEllipsis(), this.renderMiddleItems(), this.endEllipsis && this.renderEndEllipsis(), this.renderEndItems(), this.nextButton(), hideFirstAndLastPageButton ? null : this.lastButton())), type === "complex" && (hAsync("span", { key: '
|
|
14603
|
+
}, role: "navigation", "aria-label": this.accessibleLabel }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), this.renderStartItems(), this.startEllipsis && this.renderStartEllipsis(), this.renderMiddleItems(), this.endEllipsis && this.renderEndEllipsis(), this.renderEndItems(), this.nextButton(), hideFirstAndLastPageButton ? null : this.lastButton())), type === "complex" && (hAsync("span", { key: 'fb40e41bc8e509eb8d3119c40e0b8c2d43b1a19f', class: "sr-only", "aria-live": "polite" }, "Page ", this.currentPage))));
|
|
14649
14604
|
}
|
|
14650
14605
|
get el() { return getElement(this); }
|
|
14651
14606
|
static get watchers() { return {
|
|
@@ -15036,21 +14991,21 @@ class PaginationBar {
|
|
|
15036
14991
|
}
|
|
15037
14992
|
render() {
|
|
15038
14993
|
const { accessibleLabel, alignment, displayedItemsPerPageOptions, PAGE_INPUT_FIELD_ID, type, rangeLabelType, hideRangeLabel, showItemsPerPageControl, showGoToPageControl, pageLabel, capitalizedPageLabel, lowerCasePageLabel, capitalizedItemLabel, lowerCaseItemLabel, totalPages, activePage, itemsPerPageString, theme, monochrome, selectItemsPerPageOnEnter, hideCurrentPage, hideFirstAndLastPageButton, } = this;
|
|
15039
|
-
return (hAsync(Host, { key: '
|
|
14994
|
+
return (hAsync(Host, { key: 'ed30fb75ae41bf29e5da275bec31017ebce86e97', class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, hAsync("div", { key: '4554a8fc365cb414a0dea76288a9cb34b79a214a', class: {
|
|
15040
14995
|
["pagination-bar"]: true,
|
|
15041
14996
|
[`pagination-bar-${alignment}`]: true,
|
|
15042
|
-
}, ref: (el) => (this.paginationBarEl = el) }, (!hideRangeLabel || showItemsPerPageControl) && (hAsync("div", { key: '
|
|
14997
|
+
}, ref: (el) => (this.paginationBarEl = el) }, (!hideRangeLabel || showItemsPerPageControl) && (hAsync("div", { key: 'da16624475d46a037d1252f469a26b2db796a968', class: "item-controls" }, showItemsPerPageControl && (hAsync("div", { key: 'b1d533af5521cf15802f03cc8fb108faa410c8a1', class: "items-per-page-holder" }, hAsync("ic-typography", { key: '11f449f28b0267c48d3176890a9c9743a6fc9be5', class: {
|
|
15043
14998
|
["items-per-page-control-label"]: true,
|
|
15044
|
-
}, variant: "label", onClick: this.itemsPerPageLabelClickHandler }, capitalizedItemLabel, "s per ", lowerCasePageLabel), hAsync("ic-select", { key: '
|
|
14999
|
+
}, variant: "label", onClick: this.itemsPerPageLabelClickHandler }, capitalizedItemLabel, "s per ", lowerCasePageLabel), hAsync("ic-select", { key: '3d90595b2c790b9e013809c65f1e3aef68a22b87', theme: theme, size: "small", label: "items-per-page-input", class: "items-per-page-input", hideLabel: true, options: displayedItemsPerPageOptions, selectOnEnter: selectItemsPerPageOnEnter, value: itemsPerPageString, onIcChange: this.changeItemsPerPage, ref: (el) => (this.pageDropdownEl = el) }))), !hideRangeLabel &&
|
|
15045
15000
|
(rangeLabelType === "data" ? (hAsync("ic-typography", { class: {
|
|
15046
15001
|
["item-pagination-label"]: true,
|
|
15047
15002
|
}, variant: "label", "aria-live": "polite" }, this.upperBound === 0 && `0 ${lowerCaseItemLabel}s`, this.upperBound > 0 &&
|
|
15048
15003
|
`${this.lowerBound} - ${this.upperBound} of ${this.totalItems} ${lowerCaseItemLabel}${this.totalItems > 1 ? "s" : ""}`)) : (hAsync("ic-typography", { class: {
|
|
15049
15004
|
["page-pagination-label"]: true,
|
|
15050
|
-
}, variant: "label", "aria-live": "polite" }, capitalizedPageLabel, " ", activePage, " of ", totalPages))))), hAsync("div", { key: '
|
|
15005
|
+
}, variant: "label", "aria-live": "polite" }, capitalizedPageLabel, " ", activePage, " of ", totalPages))))), hAsync("div", { key: 'dc16dc6a05bcb1319a843ac84dd67616f64cfee8', class: {
|
|
15051
15006
|
["pagination-controls"]: true,
|
|
15052
15007
|
["pagination-controls-wrap"]: this.paginationWrapped,
|
|
15053
|
-
} }, hAsync("div", { key: '
|
|
15008
|
+
} }, hAsync("div", { key: '81415919e995bd446afc9ea8ebbb960c90fa2a88', class: "pagination-holder" }, hAsync("ic-pagination", { key: '41cc4d82e190d83ceff81e9daaf46e53520c47c5', accessibleLabel: accessibleLabel, type: type, pages: totalPages, label: pageLabel, ref: (el) => (this.paginationEl = el), currentPage: activePage, theme: theme, monochrome: monochrome, hideCurrentPage: hideCurrentPage, hideFirstAndLastPageButton: hideFirstAndLastPageButton })), showGoToPageControl && (hAsync("div", { key: 'bee892f29e85a564ac4a3269f680559d4450bdea', class: "go-to-page-holder" }, hAsync("ic-typography", { key: 'c5fb41a31a7ef6d2ef4559cd0ecf28d4a1fa734d', variant: "label", onClick: this.goToPageLabelClickHandler }, "Go to ", lowerCasePageLabel), hAsync("ic-tooltip", { key: '2d29e320c4e33e19640d57d75cae7c36cb52bedc', label: this.inputError, target: `#${PAGE_INPUT_FIELD_ID}`, disableHover: true, disableClick: true, ref: (el) => (this.pageInputTooltipEl = el) }, hAsync("ic-text-field", { key: '99050ae8eff64226aae32ed1e2b56b5ab300dfb1', theme: theme, type: "number", size: "small", label: PAGE_INPUT_FIELD_ID, class: PAGE_INPUT_FIELD_ID, id: PAGE_INPUT_FIELD_ID, hideLabel: true, onKeyDown: this.handleKeydown, onKeyUp: this.handleKeyUp, onInput: this.handleInputChange, max: totalPages, min: "1", validationInlineInternal: true, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: (el) => (this.pageInputEl = el) })), hAsync("ic-button", { key: '3fa2967f1bd229d6fd1e78f8ac5be99052d9a37a', variant: "secondary", onClick: this.goToPage, size: "small", class: "go-to-page-button" }, "Go")))))));
|
|
15054
15009
|
}
|
|
15055
15010
|
get el() { return getElement(this); }
|
|
15056
15011
|
static get watchers() { return {
|
|
@@ -15151,7 +15106,7 @@ class PaginationItem {
|
|
|
15151
15106
|
}
|
|
15152
15107
|
render() {
|
|
15153
15108
|
const { page, selected, type, disabled, label, capitalizedLabel, monochrome, } = this;
|
|
15154
|
-
return (hAsync("a", { key: '
|
|
15109
|
+
return (hAsync("a", { key: '1ed788f91d47fcaf163a11cf910c9269ca83466c', class: { ["monochrome"]: !!monochrome } }, type === "ellipsis" ? (hAsync("div", { class: {
|
|
15155
15110
|
["item-container"]: true,
|
|
15156
15111
|
["ellipsis"]: true,
|
|
15157
15112
|
["disabled"]: !!disabled,
|
|
@@ -15470,17 +15425,17 @@ class PopoverMenu {
|
|
|
15470
15425
|
this.popperProps = props;
|
|
15471
15426
|
}
|
|
15472
15427
|
render() {
|
|
15473
|
-
return (hAsync(Host, { key: '
|
|
15428
|
+
return (hAsync(Host, { key: '331cedc179eb4d558f29f7704df951210f43fa77', class: {
|
|
15474
15429
|
["ic-popover-menu-open"]: !!this.open,
|
|
15475
15430
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
|
15476
|
-
} }, hAsync("div", { key: '
|
|
15431
|
+
} }, hAsync("div", { key: '4efbe811a462e960af2d7a5ab63d3df5f69209cb', id: this.parentPopover === undefined
|
|
15477
15432
|
? `ic-popover-submenu-${this.submenuId}`
|
|
15478
15433
|
: "", class: {
|
|
15479
15434
|
menu: true,
|
|
15480
|
-
} }, hAsync("span", { key: '
|
|
15435
|
+
} }, hAsync("span", { key: '25207afa860d6d4b897a8d7b7406d5a450652949', class: {
|
|
15481
15436
|
"opening-from-parent": this.openingFromParent,
|
|
15482
15437
|
"opening-from-child": this.openingFromChild,
|
|
15483
|
-
} }, isPropDefined(this.submenuId) && (hAsync("span", { key: '
|
|
15438
|
+
} }, isPropDefined(this.submenuId) && (hAsync("span", { key: '21bebc9796ecd62d6c0a51247f450eb0f61de6fb' }, hAsync("span", { key: 'bf64a9672b93e4831bce7309514121108e79f26c', role: "menu" }, hAsync("ic-menu-item", { key: 'a6bbb41562f8047a34e81f7afb72f6fdf7489b53', class: "ic-popover-submenu-back-button", ref: (el) => (this.backButton = el), label: "Back", onClick: this.handleBackButtonClick, id: `ic-popover-submenu-back-button-${this.submenuLevel}` }, hAsync("svg", { key: 'a5267871273dfffa86198105d325adf3b62f2728', slot: "icon", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "submenu-back-icon" }, hAsync("path", { key: 'cfba5502e9594fe2dc299d7e8922a39e64e6e282', d: "M20 11H7.83L13.42 5.41L12 4L4 12L12 20L13.41 18.59L7.83 13H20V11Z", fill: "currentColor" })))), hAsync("ic-typography", { key: '4c718558761258605c42ad71966c54cc09fc7bac', variant: "subtitle-small", class: "parent-label" }, this.parentLabel))), hAsync("div", { key: '8c127ed3e934a257795e0b3472c6d901e8e3fb62', class: "menu-body", "aria-label": this.getMenuAriaLabel(), role: "menu" }, hAsync("slot", { key: '8f06fc83099461573082afc75d008e37ee84cf65' }))))));
|
|
15484
15439
|
}
|
|
15485
15440
|
static get delegatesFocus() { return true; }
|
|
15486
15441
|
get el() { return getElement(this); }
|
|
@@ -15514,7 +15469,7 @@ class PopoverMenu {
|
|
|
15514
15469
|
}; }
|
|
15515
15470
|
}
|
|
15516
15471
|
|
|
15517
|
-
const icRadioGroupCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--ic-input-label-text-color:var(--ic-radio-button-input-field-label);--ic-input-label-helper-text-color:var(\n --ic-radio-button-input-field-subtitle\n );--ic-input-validation-status-text-color:var(--ic-radio-button-state-text);--ic-input-validation-error:var(--ic-radio-button-state-icon-error)}:host ic-input-label.error{--ic-input-label-text-color:var(--ic-radio-button-input-field-label-error)}:host ic-input-label.disabled{--ic-input-label-text-color:var(\n --ic-radio-button-input-field-label-disabled\n );--ic-input-label-helper-text-color:var(\n --ic-radio-button-input-field-subtitle-disabled\n )}:host ic-input-validation.show-validation{margin-top:var(--ic-space-sm)}:host(.ic-radio-group-small) ic-input-validation.show-validation{margin-top:calc(var(--ic-space-sm) / 2)}:host ic-input-label:not(.with-helper) .ic-typography-label,:host ic-input-label .helpertext{margin-bottom:var(--ic-space-sm)}:host(.ic-radio-group-small) ic-input-label:not(.with-helper) .ic-typography-label,:host(.ic-radio-group-small) ic-input-label .helpertext{margin-bottom:calc(var(--ic-space-sm) / 2)}:host ic-input-label .helpertext{display:block}:host .radio-buttons-container{display:flex;flex-direction:column;gap:var(--ic-space-xxs)}:host(.ic-radio-group-small) .radio-buttons-container{gap:var(--ic-space-xxxs)}:host .radio-buttons-container.horizontal{display:flex;flex-direction:row;gap:calc(var(--ic-space-xl) + var(--ic-space-xs))}:host(.ic-radio-group-small) .radio-buttons-container.horizontal{gap:var(--ic-space-xl)}";
|
|
15472
|
+
const icRadioGroupCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--ic-input-label-text-color:var(--ic-radio-button-input-field-label);--ic-input-label-helper-text-color:var(\n --ic-radio-button-input-field-subtitle\n );--ic-input-validation-status-text-color:var(--ic-radio-button-state-text);--ic-input-validation-error:var(--ic-radio-button-state-icon-error)}:host ic-input-label.error{--ic-input-label-text-color:var(--ic-radio-button-input-field-label-error)}:host ic-input-label.disabled{--ic-input-label-text-color:var(\n --ic-radio-button-input-field-label-disabled\n );--ic-input-label-helper-text-color:var(\n --ic-radio-button-input-field-subtitle-disabled\n )}:host ic-input-validation.show-validation{margin-top:var(--ic-space-sm)}:host(.ic-radio-group-small) ic-input-validation.show-validation{margin-top:calc(var(--ic-space-sm) / 2)}:host(.ic-radio-group-large) ic-input-validation.show-validation{margin-top:var(--ic-space-md)}:host ic-input-label:not(.with-helper) .ic-typography-label,:host ic-input-label .helpertext{margin-bottom:var(--ic-space-sm)}:host(.ic-radio-group-small) ic-input-label:not(.with-helper) .ic-typography-label,:host(.ic-radio-group-small) ic-input-label .helpertext{margin-bottom:calc(var(--ic-space-sm) / 2)}:host(.ic-radio-group-large) ic-input-label:not(.with-helper) .ic-typography-label,:host(.ic-radio-group-large) ic-input-label .helpertext{margin-bottom:var(--ic-space-md)}:host ic-input-label .helpertext{display:block}:host .radio-buttons-container{display:flex;flex-direction:column;gap:var(--ic-space-xxs)}:host(.ic-radio-group-small) .radio-buttons-container{gap:var(--ic-space-xxxs)}:host(.ic-radio-group-large) .radio-buttons-container{gap:var(--ic-space-xs)}:host .radio-buttons-container.horizontal{display:flex;flex-direction:row;gap:calc(var(--ic-space-xl) + var(--ic-space-xs))}:host(.ic-radio-group-small) .radio-buttons-container.horizontal{gap:var(--ic-space-xl)}";
|
|
15518
15473
|
var IcRadioGroupStyle0 = icRadioGroupCss;
|
|
15519
15474
|
|
|
15520
15475
|
/**
|
|
@@ -15749,16 +15704,16 @@ class RadioGroup {
|
|
|
15749
15704
|
render() {
|
|
15750
15705
|
const { currentOrientation, disabled, handleKeyDown, helperText, hideLabel, label, required, size, validationAriaLive, validationStatus, validationText, theme, } = this;
|
|
15751
15706
|
const showValidation = hasValidationStatus(validationStatus, disabled);
|
|
15752
|
-
return (hAsync(Host, { key: '
|
|
15753
|
-
|
|
15707
|
+
return (hAsync(Host, { key: 'df3176ecead3472c9cbc46f20b4398beb1cf0710', onKeyDown: handleKeyDown, class: {
|
|
15708
|
+
[`ic-radio-group-${size}`]: size !== "medium",
|
|
15754
15709
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
15755
|
-
} }, hAsync("fieldset", { key: '
|
|
15710
|
+
} }, hAsync("fieldset", { key: '30b8cb57ab1b69d85fbe4a7e1ec9205561409fd2', role: "radiogroup", id: this.name, "aria-required": `${required}` }, !hideLabel && (hAsync("legend", { key: '5b2ecba8b0c1b4af585b8f2ba568d6251541d00f' }, hAsync("ic-input-label", { key: 'ae98da9c60057fa3da425fc7a2d63657f02c2f91', class: {
|
|
15756
15711
|
[`${validationStatus}`]: true,
|
|
15757
15712
|
["disabled"]: !!disabled,
|
|
15758
|
-
}, label: label, helperText: helperText, required: required, disabled: disabled }, hAsync("slot", { key: '
|
|
15713
|
+
}, label: label, helperText: helperText, required: required, disabled: disabled }, hAsync("slot", { key: '2078e0b37824b1e75ac973ac923fd22d16a04e99', name: "helper-text", slot: "helper-text" })))), hAsync("div", { key: '7824dbbccae54f17a9533e4f20489fcb21881209', class: {
|
|
15759
15714
|
"radio-buttons-container": true,
|
|
15760
15715
|
horizontal: currentOrientation === this.RADIO_HORIZONTAL,
|
|
15761
|
-
}, ref: (el) => (this.radioContainer = el) }, hAsync("slot", { key: '
|
|
15716
|
+
}, ref: (el) => (this.radioContainer = el) }, hAsync("slot", { key: 'c9a80207676d3ae60c1dfe43016adae0d2b57605' }))), hAsync("ic-input-validation", { key: '34bbce2c663bcb56a1bbfbed44ab12998c197cce', class: {
|
|
15762
15717
|
"show-validation": showValidation,
|
|
15763
15718
|
}, ariaLiveMode: validationAriaLive, status: showValidation ? validationStatus : "", message: showValidation ? validationText : "" })));
|
|
15764
15719
|
}
|
|
@@ -15796,7 +15751,7 @@ class RadioGroup {
|
|
|
15796
15751
|
}; }
|
|
15797
15752
|
}
|
|
15798
15753
|
|
|
15799
|
-
const icRadioOptionCss = "html.sc-ic-radio-option{line-height:1.15;-webkit-text-size-adjust:100%}body.sc-ic-radio-option{margin:0}main.sc-ic-radio-option{display:block}h1.sc-ic-radio-option{font-size:2em;margin:0.67em 0}hr.sc-ic-radio-option{box-sizing:content-box;height:0;overflow:visible}pre.sc-ic-radio-option{font-family:monospace, monospace;font-size:1em}a.sc-ic-radio-option{background-color:transparent}abbr[title].sc-ic-radio-option{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b.sc-ic-radio-option,strong.sc-ic-radio-option{font-weight:bolder}code.sc-ic-radio-option,kbd.sc-ic-radio-option,samp.sc-ic-radio-option{font-family:monospace, monospace;font-size:1em}small.sc-ic-radio-option{font-size:80%}sub.sc-ic-radio-option,sup.sc-ic-radio-option{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub.sc-ic-radio-option{bottom:-0.25em}sup.sc-ic-radio-option{top:-0.5em}img.sc-ic-radio-option{border-style:none}button.sc-ic-radio-option,input.sc-ic-radio-option,optgroup.sc-ic-radio-option,select.sc-ic-radio-option,textarea.sc-ic-radio-option{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button.sc-ic-radio-option,input.sc-ic-radio-option{overflow:visible}button.sc-ic-radio-option,select.sc-ic-radio-option{text-transform:none}button.sc-ic-radio-option,[type=\"button\"].sc-ic-radio-option,[type=\"reset\"].sc-ic-radio-option,[type=\"submit\"].sc-ic-radio-option{-webkit-appearance:button}button.sc-ic-radio-option::-moz-focus-inner,[type=\"button\"].sc-ic-radio-option::-moz-focus-inner,[type=\"reset\"].sc-ic-radio-option::-moz-focus-inner,[type=\"submit\"].sc-ic-radio-option::-moz-focus-inner{border-style:none;padding:0}button.sc-ic-radio-option:-moz-focusring,[type=\"button\"].sc-ic-radio-option:-moz-focusring,[type=\"reset\"].sc-ic-radio-option:-moz-focusring,[type=\"submit\"].sc-ic-radio-option:-moz-focusring{outline:1px dotted ButtonText}fieldset.sc-ic-radio-option{padding:0.35em 0.75em 0.625em}legend.sc-ic-radio-option{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress.sc-ic-radio-option{vertical-align:baseline}textarea.sc-ic-radio-option{overflow:auto}[type=\"checkbox\"].sc-ic-radio-option,[type=\"radio\"].sc-ic-radio-option{box-sizing:border-box;padding:0}[type=\"number\"].sc-ic-radio-option::-webkit-inner-spin-button,[type=\"number\"].sc-ic-radio-option::-webkit-outer-spin-button{height:auto}[type=\"search\"].sc-ic-radio-option{-webkit-appearance:textfield;outline-offset:-2px}[type=\"search\"].sc-ic-radio-option::-webkit-search-decoration{-webkit-appearance:none}.sc-ic-radio-option::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details.sc-ic-radio-option{display:block}summary.sc-ic-radio-option{display:list-item}template.sc-ic-radio-option{display:none}[hidden].sc-ic-radio-option{display:none}html.sc-ic-radio-option,body.sc-ic-radio-option,div.sc-ic-radio-option,span.sc-ic-radio-option,applet.sc-ic-radio-option,object.sc-ic-radio-option,iframe.sc-ic-radio-option,h1.sc-ic-radio-option,h2.sc-ic-radio-option,h3.sc-ic-radio-option,h4.sc-ic-radio-option,h5.sc-ic-radio-option,h6.sc-ic-radio-option,p.sc-ic-radio-option,blockquote.sc-ic-radio-option,pre.sc-ic-radio-option,a.sc-ic-radio-option,abbr.sc-ic-radio-option,acronym.sc-ic-radio-option,address.sc-ic-radio-option,big.sc-ic-radio-option,cite.sc-ic-radio-option,code.sc-ic-radio-option,del.sc-ic-radio-option,dfn.sc-ic-radio-option,em.sc-ic-radio-option,img.sc-ic-radio-option,ins.sc-ic-radio-option,kbd.sc-ic-radio-option,q.sc-ic-radio-option,s.sc-ic-radio-option,samp.sc-ic-radio-option,small.sc-ic-radio-option,strike.sc-ic-radio-option,strong.sc-ic-radio-option,sub.sc-ic-radio-option,sup.sc-ic-radio-option,tt.sc-ic-radio-option,var.sc-ic-radio-option,b.sc-ic-radio-option,u.sc-ic-radio-option,i.sc-ic-radio-option,center.sc-ic-radio-option,dl.sc-ic-radio-option,dt.sc-ic-radio-option,dd.sc-ic-radio-option,ol.sc-ic-radio-option,ul.sc-ic-radio-option,li.sc-ic-radio-option,fieldset.sc-ic-radio-option,form.sc-ic-radio-option,label.sc-ic-radio-option,legend.sc-ic-radio-option,table.sc-ic-radio-option,caption.sc-ic-radio-option,tbody.sc-ic-radio-option,tfoot.sc-ic-radio-option,thead.sc-ic-radio-option,tr.sc-ic-radio-option,th.sc-ic-radio-option,td.sc-ic-radio-option,article.sc-ic-radio-option,aside.sc-ic-radio-option,canvas.sc-ic-radio-option,details.sc-ic-radio-option,embed.sc-ic-radio-option,figure.sc-ic-radio-option,figcaption.sc-ic-radio-option,footer.sc-ic-radio-option,header.sc-ic-radio-option,hgroup.sc-ic-radio-option,menu.sc-ic-radio-option,nav.sc-ic-radio-option,output.sc-ic-radio-option,ruby.sc-ic-radio-option,section.sc-ic-radio-option,summary.sc-ic-radio-option,time.sc-ic-radio-option,mark.sc-ic-radio-option,audio.sc-ic-radio-option,video.sc-ic-radio-option{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}.sc-ic-radio-option-h{display:flex;flex-direction:column;width:-moz-fit-content;width:fit-content}.sc-ic-radio-option-h .additional-field-wrapper-static.sc-ic-radio-option-s>[slot=\"additional-field\"]{margin-top:calc(var(--ic-space-sm) / 2);margin-left:var(--ic-space-xl)}.ic-radio-option-disabled.sc-ic-radio-option-h,.ic-radio-option-disabled.sc-ic-radio-option-h .radio-label.sc-ic-radio-option{--ic-typography-color:var(--ic-radio-button-text-option-disabled)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:focus+span.checkmark.sc-ic-radio-option,.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:hover input.sc-ic-radio-option:focus+span.checkmark.sc-ic-radio-option,.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:focus+span.checkmark.sc-ic-radio-option,.sc-ic-radio-option-h:focus .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked+span.checkmark.sc-ic-radio-option{box-shadow:var(--ic-border-focus)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option{display:grid;grid-template-columns:min-content auto;position:relative;cursor:pointer;align-items:center;margin:var(--ic-space-xxs) 0 var(--ic-space-xxs) var(--ic-space-xxs)}.ic-radio-option-small.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option{margin:0 0 0 var(--ic-space-xxs)}.sc-ic-radio-option-h .radio-option-container.disabled.sc-ic-radio-option,.sc-ic-radio-option-h .radio-option-container.disabled.sc-ic-radio-option input.sc-ic-radio-option:disabled{cursor:default}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-block;position:absolute;cursor:pointer;height:var(--ic-space-lg);width:var(--ic-space-lg);border-radius:50%;border:none}.ic-radio-option-small.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option{height:var(--ic-space-md);width:var(--ic-space-md)}.sc-ic-radio-option-h .checkmark.sc-ic-radio-option{display:block;position:relative;top:0;left:0;height:var(--ic-space-lg);width:var(--ic-space-lg);background-color:var(--ic-radio-button-background-default);border:var(--ic-space-1px) solid var(--ic-radio-button-border-default);border-radius:50%;transition:var(--ic-easing-transition-fast);box-sizing:border-box}.ic-radio-option-small.sc-ic-radio-option-h .checkmark.sc-ic-radio-option{height:var(--ic-space-md);width:var(--ic-space-md)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option::after{display:inline-block}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:hover input.sc-ic-radio-option~.checkmark.sc-ic-radio-option{box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-hover);border:var(--ic-border-width) solid var(--ic-radio-button-default-hover)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:hover input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option{box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-hover);border:0.125rem solid var(--ic-radio-button-default-hover)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:hover:not(.disabled) input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option::after{background-color:var(--ic-radio-button-default-hover)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option~.checkmark.sc-ic-radio-option{box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-pressed);border:var(--ic-border-width) solid var(--ic-radio-button-default-pressed)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option{border:0.125rem solid var(--ic-radio-button-default-pressed);box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-pressed)}.ic-radio-option-small.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option{border-width:var(--ic-space-1px)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option::after{background-color:var(--ic-radio-button-default-pressed)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option{border:0.125rem solid var(--ic-radio-button-default-active)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked:disabled~.checkmark.sc-ic-radio-option{border:0.125rem solid var(--ic-radio-button-border-disabled)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option{border:var(--ic-border-width) dashed var(--ic-radio-button-border-disabled)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option::after{background:var(--ic-radio-button-disabled)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:hover input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option{box-shadow:none;border:0.125rem solid none}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option::after{background-color:var(--ic-radio-button-disabled)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option .checkmark.sc-ic-radio-option::after{content:\"\";position:absolute;display:none;top:calc(50% - var(--ic-space-xs));left:calc(50% - var(--ic-space-xs));width:var(--ic-space-md);height:var(--ic-space-md);border-radius:50%;background:var(--ic-radio-button-default-active)}.ic-radio-option-small.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option .checkmark.sc-ic-radio-option::after{top:50%;left:50%;width:0.625rem;height:0.625rem;border-radius:50%;background:var(--ic-radio-button-default-active);transform:translate(-50%, -50%)}.sc-ic-radio-option-h .radio-label.sc-ic-radio-option{margin-left:var(--ic-space-md);--ic-typography-color:var(--ic-radio-button-text-option)}.ic-radio-option-small.sc-ic-radio-option-h .radio-label.sc-ic-radio-option{margin-left:var(--ic-space-xs)}.sc-ic-radio-option-h .additional-field-wrapper-static.sc-ic-radio-option{margin-left:var(--ic-space-xs)}.sc-ic-radio-option-h .branch-corner.sc-ic-radio-option{color:var(--ic-radio-button-required-bar);height:var(--ic-space-md);width:var(--ic-space-xl);border-radius:0 0 0 0.188rem;border-bottom:0.125rem solid var(--ic-radio-button-required-bar);border-left:0.125rem solid var(--ic-radio-button-required-bar);margin-left:calc(-1 * var(--ic-space-1px))}.sc-ic-radio-option-h .dynamic-container.sc-ic-radio-option{display:flex;position:relative;margin:var(--ic-space-xxs) 0 var(--ic-space-xxs) var(--ic-space-md);gap:var(--ic-space-xs)}.ic-radio-option-small.sc-ic-radio-option-h .dynamic-container.sc-ic-radio-option{margin-left:12px}.sc-ic-radio-option-h .dynamic-container.hidden.sc-ic-radio-option{display:none}.sc-ic-radio-option-h .dynamic-text.sc-ic-radio-option{color:var(--ic-radio-button-required-text);--ic-typography-color:var(--ic-radio-button-required-text);margin-top:calc(var(--ic-space-sm) / 2);margin-bottom:var(--ic-space-xs);border-radius:2%}@media (max-width: 576px){.sc-ic-radio-option-h .additional-field-wrapper-dynamic.sc-ic-radio-option-s>ic-text-field,.sc-ic-radio-option-h .additional-field-wrapper-static.sc-ic-radio-option-s>ic-text-field{--input-width:100%}}@media (forced-colors: active){.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option,.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option{border-color:Highlight}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option::after,.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option::after{background-color:Highlight}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option,.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked:disabled~.checkmark.sc-ic-radio-option{border-color:GrayText}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option::after,.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option::after{background-color:GrayText}}.sc-ic-radio-option-h input[type=\"radio\"].sc-ic-radio-option:dir(rtl){right:0}.sc-ic-radio-option-h .radio-label.sc-ic-radio-option:dir(rtl){padding-right:var(--ic-space-sm);padding-left:0}.sc-ic-radio-option-h .branch-corner.sc-ic-radio-option:dir(rtl){border-radius:0 0 0.188rem;border-right:0.125rem solid var(--ic-action-default);border-left:none}.sc-ic-radio-option-h .dynamic-container.sc-ic-radio-option:dir(rtl){margin:var(--ic-space-xxxs) var(--ic-space-sm) var(--ic-space-xxs) 0}@media (prefers-reduced-motion: reduce){.sc-ic-radio-option-h .checkmark.sc-ic-radio-option{transition:none}}";
|
|
15754
|
+
const icRadioOptionCss = ".sc-ic-radio-option-h{display:flex;flex-direction:column;width:-moz-fit-content;width:fit-content}.sc-ic-radio-option-h .additional-field-wrapper-static.sc-ic-radio-option-s>[slot=\"additional-field\"]{margin-top:calc(var(--ic-space-sm) / 2);margin-left:var(--ic-space-xl)}.ic-radio-option-disabled.sc-ic-radio-option-h,.ic-radio-option-disabled.sc-ic-radio-option-h .radio-label.sc-ic-radio-option{--ic-typography-color:var(--ic-radio-button-text-option-disabled)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:focus+span.checkmark.sc-ic-radio-option,.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:hover input.sc-ic-radio-option:focus+span.checkmark.sc-ic-radio-option,.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:focus+span.checkmark.sc-ic-radio-option,.sc-ic-radio-option-h:focus .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked+span.checkmark.sc-ic-radio-option{box-shadow:var(--ic-border-focus)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option{display:grid;grid-template-columns:min-content auto;position:relative;cursor:pointer;align-items:center;margin:var(--ic-space-xxs) 0 var(--ic-space-xxs) var(--ic-space-xxs)}.ic-radio-option-small.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option{margin:0 0 0 var(--ic-space-xxs)}.sc-ic-radio-option-h .radio-option-container.disabled.sc-ic-radio-option,.sc-ic-radio-option-h .radio-option-container.disabled.sc-ic-radio-option input.sc-ic-radio-option:disabled{cursor:default}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-block;position:absolute;cursor:pointer;height:var(--ic-space-lg);width:var(--ic-space-lg);border-radius:50%;border:none}.ic-radio-option-small.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option{height:var(--ic-space-md);width:var(--ic-space-md)}.ic-radio-option-large.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option{height:var(--ic-space-xl);width:var(--ic-space-xl)}.sc-ic-radio-option-h .checkmark.sc-ic-radio-option{display:block;position:relative;top:0;left:0;height:var(--ic-space-lg);width:var(--ic-space-lg);background-color:var(--ic-radio-button-background-default);border:var(--ic-space-1px) solid var(--ic-radio-button-border-default);border-radius:50%;transition:var(--ic-easing-transition-fast);box-sizing:border-box}.ic-radio-option-small.sc-ic-radio-option-h .checkmark.sc-ic-radio-option{height:var(--ic-space-md);width:var(--ic-space-md)}.ic-radio-option-large.sc-ic-radio-option-h .checkmark.sc-ic-radio-option{height:var(--ic-space-xl);width:var(--ic-space-xl)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option::after{display:inline-block}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:hover input.sc-ic-radio-option~.checkmark.sc-ic-radio-option{box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-hover);border:var(--ic-border-width) solid var(--ic-radio-button-default-hover)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:hover input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option{box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-hover);border:0.125rem solid var(--ic-radio-button-default-hover)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:hover:not(.disabled) input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option::after{background-color:var(--ic-radio-button-default-hover)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option~.checkmark.sc-ic-radio-option{box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-pressed);border:var(--ic-border-width) solid var(--ic-radio-button-default-pressed)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option{border:0.125rem solid var(--ic-radio-button-default-pressed);box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-pressed)}.ic-radio-option-small.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option{border-width:var(--ic-space-1px)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option::after{background-color:var(--ic-radio-button-default-pressed)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option{border:0.125rem solid var(--ic-radio-button-default-active)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked:disabled~.checkmark.sc-ic-radio-option{border:0.125rem solid var(--ic-radio-button-border-disabled)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option{border:var(--ic-border-width) dashed var(--ic-radio-button-border-disabled)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option::after{background:var(--ic-radio-button-disabled)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:hover input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option{box-shadow:none;border:0.125rem solid none}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option::after{background-color:var(--ic-radio-button-disabled)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option .checkmark.sc-ic-radio-option::after{content:\"\";position:absolute;display:none;top:calc(50% - var(--ic-space-xs));left:calc(50% - var(--ic-space-xs));width:var(--ic-space-md);height:var(--ic-space-md);border-radius:50%;background:var(--ic-radio-button-default-active)}.ic-radio-option-small.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option .checkmark.sc-ic-radio-option::after{top:50%;left:50%;width:0.625rem;height:0.625rem;border-radius:50%;background:var(--ic-radio-button-default-active);transform:translate(-50%, -50%)}.ic-radio-option-large.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option .checkmark.sc-ic-radio-option::after{top:50%;left:50%;width:calc(var(--ic-space-md) + var(--ic-space-xxs));height:calc(var(--ic-space-md) + var(--ic-space-xxs));border-radius:50%;background:var(--ic-radio-button-default-active);transform:translate(-50%, -50%)}.sc-ic-radio-option-h .radio-label.sc-ic-radio-option{margin-left:var(--ic-space-md);--ic-typography-color:var(--ic-radio-button-text-option)}.ic-radio-option-small.sc-ic-radio-option-h .radio-label.sc-ic-radio-option{margin-left:var(--ic-space-xs)}.ic-radio-option-large.sc-ic-radio-option-h .radio-label.sc-ic-radio-option{margin-left:var(--ic-space-md)}.sc-ic-radio-option-h .additional-field-wrapper-static.sc-ic-radio-option{margin-left:var(--ic-space-xs)}.sc-ic-radio-option-h .branch-corner.sc-ic-radio-option{color:var(--ic-radio-button-required-bar);height:var(--ic-space-md);width:var(--ic-space-xl);border-radius:0 0 0 0.188rem;border-bottom:0.125rem solid var(--ic-radio-button-required-bar);border-left:0.125rem solid var(--ic-radio-button-required-bar);margin-left:calc(-1 * var(--ic-space-1px))}.sc-ic-radio-option-h .dynamic-container.sc-ic-radio-option{display:flex;position:relative;margin:var(--ic-space-xxs) 0 var(--ic-space-xxs) var(--ic-space-md);gap:var(--ic-space-xs)}.ic-radio-option-small.sc-ic-radio-option-h .dynamic-container.sc-ic-radio-option{margin-left:var(--ic-space-sm)}.ic-radio-option-large.sc-ic-radio-option-h .dynamic-container.sc-ic-radio-option{margin-left:calc(var(--ic-space-md) + var(--ic-space-xxs))}.sc-ic-radio-option-h .dynamic-container.hidden.sc-ic-radio-option{display:none}.sc-ic-radio-option-h .dynamic-text.sc-ic-radio-option{color:var(--ic-radio-button-required-text);--ic-typography-color:var(--ic-radio-button-required-text);margin-top:calc(var(--ic-space-sm) / 2);margin-bottom:var(--ic-space-xs);border-radius:2%}@media (max-width: 576px){.sc-ic-radio-option-h .additional-field-wrapper-dynamic.sc-ic-radio-option-s>ic-text-field,.sc-ic-radio-option-h .additional-field-wrapper-static.sc-ic-radio-option-s>ic-text-field{--input-width:100%}}@media (forced-colors: active){.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option,.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option{border-color:Highlight}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option::after,.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option::after{background-color:Highlight}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option,.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked:disabled~.checkmark.sc-ic-radio-option{border-color:GrayText}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option::after,.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option::after{background-color:GrayText}}.sc-ic-radio-option-h input[type=\"radio\"].sc-ic-radio-option:dir(rtl){right:0}.sc-ic-radio-option-h .radio-label.sc-ic-radio-option:dir(rtl){padding-right:var(--ic-space-sm);padding-left:0}.sc-ic-radio-option-h .branch-corner.sc-ic-radio-option:dir(rtl){border-radius:0 0 0.188rem;border-right:0.125rem solid var(--ic-action-default);border-left:none}.sc-ic-radio-option-h .dynamic-container.sc-ic-radio-option:dir(rtl){margin:var(--ic-space-xxxs) var(--ic-space-sm) var(--ic-space-xxs) 0}@media (prefers-reduced-motion: reduce){.sc-ic-radio-option-h .checkmark.sc-ic-radio-option{transition:none}}";
|
|
15800
15755
|
var IcRadioOptionStyle0 = icRadioOptionCss;
|
|
15801
15756
|
|
|
15802
15757
|
const ADDITIONAL_FIELD = "additional-field";
|
|
@@ -15939,20 +15894,22 @@ class RadioOption {
|
|
|
15939
15894
|
return additionalField;
|
|
15940
15895
|
}
|
|
15941
15896
|
render() {
|
|
15942
|
-
var _a, _b;
|
|
15897
|
+
var _a, _b, _c, _d;
|
|
15943
15898
|
const { additionalFieldDisplay, disabled, dynamicText, form, groupLabel, handleClick, handleKeyDown, hasAdditionalField, label, name, selected, value, theme, } = this;
|
|
15944
15899
|
const id = `ic-radio-option-${isPropDefined(label) || value}-${groupLabel}`;
|
|
15945
|
-
return (hAsync(Host, { key: '
|
|
15900
|
+
return (hAsync(Host, { key: '01e55fbbed424dd593a7d311364434411ccd048b', onClick: handleClick, onKeyDown: handleKeyDown, class: {
|
|
15946
15901
|
["ic-radio-option-disabled"]: !!disabled,
|
|
15947
15902
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
15948
15903
|
["ic-radio-option-small"]: ((_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.tagName) === "IC-RADIO-GROUP" &&
|
|
15949
15904
|
((_b = this.el.parentElement) === null || _b === void 0 ? void 0 : _b.className.includes("ic-radio-group-small")),
|
|
15950
|
-
|
|
15905
|
+
["ic-radio-option-large"]: ((_c = this.el.parentElement) === null || _c === void 0 ? void 0 : _c.tagName) === "IC-RADIO-GROUP" &&
|
|
15906
|
+
((_d = this.el.parentElement) === null || _d === void 0 ? void 0 : _d.className.includes("ic-radio-group-large")),
|
|
15907
|
+
} }, hAsync("div", { key: 'fc0d81615b47d81bc9b95d6863200b07fb52b04b', class: { "radio-option-container": true, disabled: !!disabled } }, hAsync("div", { key: '76e9aaf1c8286eba5d747d3f526005a4e384c5ad' }, hAsync("input", { key: 'c2bdee7b4344ea9009a5523fec827cc71c60a666', tabindex: selected ? "0" : "-1", type: "radio", name: name, id: id, value: value, disabled: disabled, checked: selected, ref: (el) => (this.radioElement = el), form: form }), hAsync("span", { key: 'd4e56853e3b89ec1b02834ac92979a0c7732c8ea', class: "checkmark" })), hAsync("ic-typography", { key: 'b59ad2a116ccc3c4ab4ce7c3f1555862834c219b', class: "radio-label", variant: "body" }, hAsync("label", { key: '98450e5c6ac1857d1aeafbd0ee01204e1bf7b67b', htmlFor: id }, label))), hasAdditionalField && (hAsync("div", { key: '7a003d032a8df33ae8d7e536b310f50627004a7d', class: {
|
|
15951
15908
|
"dynamic-container": true,
|
|
15952
15909
|
hidden: additionalFieldDisplay === "dynamic" && !selected,
|
|
15953
|
-
} }, additionalFieldDisplay === "dynamic" && (hAsync("div", { key: '
|
|
15910
|
+
} }, additionalFieldDisplay === "dynamic" && (hAsync("div", { key: 'e71bef2b3f45dc145bd244b12daa1f934aabd8c9', class: "branch-corner" })), hAsync("div", { key: 'c430c0f8af54686f02cdb4ff648923d1479a1b36' }, additionalFieldDisplay === "dynamic" && (hAsync("ic-typography", { key: '70f2577189910a4b040ac4a24aecd8ae3255b417', variant: "caption", role: "alert" }, hAsync("p", { key: '413223245ee9362fb10f6481e337a087f77f3c58', class: "dynamic-text" }, dynamicText))), hAsync("div", { key: 'cf9ace3d0edcde40f6542af9d2f8644e2d9626e4', class: {
|
|
15954
15911
|
[`additional-field-wrapper-${additionalFieldDisplay}`]: true,
|
|
15955
|
-
} }, hAsync("slot", { key: '
|
|
15912
|
+
} }, hAsync("slot", { key: '2c5b92af633dd04592891d9ba10a90c0b9d80e85', name: ADDITIONAL_FIELD })))))));
|
|
15956
15913
|
}
|
|
15957
15914
|
get el() { return getElement(this); }
|
|
15958
15915
|
static get watchers() { return {
|
|
@@ -16534,39 +16491,39 @@ class SearchBar {
|
|
|
16534
16491
|
const menuRendered = menuOpen && value.length >= charactersUntilSuggestion;
|
|
16535
16492
|
const labelValue = getLabelFromValue(value, options, valueField, labelField);
|
|
16536
16493
|
renderHiddenInput(this.el, value, name, disabledMode);
|
|
16537
|
-
return (hAsync(Host, { key: '
|
|
16494
|
+
return (hAsync(Host, { key: 'f9ec3f2c47607e817cf0352546d0f72653b433ae', class: {
|
|
16538
16495
|
"ic-search-bar-search": true,
|
|
16539
16496
|
"ic-search-bar-full-width": fullWidth,
|
|
16540
16497
|
"ic-search-bar-disabled": disabled,
|
|
16541
16498
|
"ic-search-bar-small": size === "small",
|
|
16542
16499
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
16543
|
-
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, hAsync("ic-input-container", { key: '
|
|
16500
|
+
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, hAsync("ic-input-container", { key: 'fde0dc358fd80f81d23927eb18b6bd73e9694bcc', readonly: readonly, disabled: disabledMode }, !hideLabel && (hAsync("ic-input-label", { key: '3c2a138a07c5a637842bf0330a857cd8a4c05be5', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledMode && !readonly, readonly: readonly }, hAsync("slot", { key: '4e5d465c5f4486826f3a634a4dd5ed2ecf01b249', name: "helper-text", slot: "helper-text" }))), hAsync("ic-input-component-container", { key: '62ad9581a1280af102d990de7fcac4055f800bec', ref: (el) => (this.anchorEl = el), size: size, disabled: disabledMode, readonly: readonly, fullWidth: fullWidth }, hAsync("input", { key: '196cad9c551d68276d99af9a60bd07a141130bd9', id: inputId, name: name, ref: (el) => (this.inputEl = el), value: options && !!labelValue ? labelValue : value, class: {
|
|
16544
16501
|
"no-left-pad": readonly,
|
|
16545
16502
|
readonly,
|
|
16546
16503
|
"truncate-value": truncateValue,
|
|
16547
|
-
}, 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" }), hAsync("div", { key: '
|
|
16504
|
+
}, 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" }), hAsync("div", { key: '94889d1ffab13321ea522704aacd7ebf0e0c3d00', class: {
|
|
16548
16505
|
"clear-button-container": true,
|
|
16549
16506
|
"clear-button-visible": !!value && !disabledMode && showClearButton,
|
|
16550
|
-
} }, hAsync("ic-button", { key: '
|
|
16507
|
+
} }, hAsync("ic-button", { key: 'd0a3c5b6288c249ba8be2a4bcbbd2a33f1a30025', id: "clear-button", class: {
|
|
16551
16508
|
"clear-button": true,
|
|
16552
16509
|
"clear-button-unfocused": !clearButtonFocused,
|
|
16553
|
-
}, "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" }), hAsync("div", { key: '
|
|
16510
|
+
}, "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" }), hAsync("div", { key: '3965e828aba0dd8f88051ec717c7fafcb237a271', class: "divider" })), hAsync("div", { key: 'c143dbc227dce558f5f87e1e2f7e3a014b9d250c', class: {
|
|
16554
16511
|
"search-submit-button-container": true,
|
|
16555
16512
|
"search-submit-button-disabled": this.isSubmitDisabled(),
|
|
16556
|
-
} }, hAsync("ic-button", { key: '
|
|
16513
|
+
} }, hAsync("ic-button", { key: '98e79886a69703ab39c8d6f5f97c147fb406870d', id: "search-submit-button", "aria-label": "Search", ref: (el) => (this.searchSubmitButton = el), class: {
|
|
16557
16514
|
"search-submit-button": true,
|
|
16558
16515
|
"search-submit-button-small": size === "small",
|
|
16559
16516
|
"search-submit-button-unfocused": !searchSubmitFocused,
|
|
16560
16517
|
"search-submit-button-disabled": this.isSubmitDisabled(),
|
|
16561
|
-
}, 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" }))), hAsync("div", { key: '
|
|
16518
|
+
}, 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" }))), hAsync("div", { key: '4b0377230ac437eda9f5674876e87a7a72a0779c', class: {
|
|
16562
16519
|
"menu-container": true,
|
|
16563
16520
|
fullwidth: fullWidth,
|
|
16564
|
-
} }, menuRendered && this.anchorEl && this.inputEl && (hAsync("ic-menu", { key: '
|
|
16521
|
+
} }, menuRendered && this.anchorEl && this.inputEl && (hAsync("ic-menu", { key: '8be3e2accba616f85a408e8c82304433e98f7715', class: {
|
|
16565
16522
|
"no-results": this.hadNoOptions() ||
|
|
16566
16523
|
(filteredOptions.length === 1 &&
|
|
16567
16524
|
(filteredOptions[0][labelField] === loadingLabel ||
|
|
16568
16525
|
filteredOptions[0][labelField] === loadingErrorLabel)),
|
|
16569
|
-
}, 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 })))), hAsync("div", { key: '
|
|
16526
|
+
}, 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 })))), hAsync("div", { key: '09953fbff84f3e27a6522da365ef49e96b21fa62', "aria-live": "polite", role: "status", class: "search-results-status" })));
|
|
16570
16527
|
}
|
|
16571
16528
|
static get delegatesFocus() { return true; }
|
|
16572
16529
|
get el() { return getElement(this); }
|
|
@@ -16650,12 +16607,12 @@ class SectionContainer {
|
|
|
16650
16607
|
}
|
|
16651
16608
|
render() {
|
|
16652
16609
|
const { aligned, fullHeight } = this;
|
|
16653
|
-
return (hAsync(Host, { key: '
|
|
16610
|
+
return (hAsync(Host, { key: 'b72248434ac227221b9854880dd5103733052170', class: {
|
|
16654
16611
|
["aligned-left"]: aligned === "left" || aligned === null,
|
|
16655
16612
|
["aligned-center"]: aligned === "center",
|
|
16656
16613
|
["aligned-full-width"]: aligned === "full-width",
|
|
16657
16614
|
["no-vertical-padding"]: !!fullHeight,
|
|
16658
|
-
} }, hAsync("slot", { key: '
|
|
16615
|
+
} }, hAsync("slot", { key: '749c9299c6116291ec9555bbd2a9586585e7480d' })));
|
|
16659
16616
|
}
|
|
16660
16617
|
static get style() { return IcSectionContainerStyle0; }
|
|
16661
16618
|
static get cmpMeta() { return {
|
|
@@ -17029,7 +16986,9 @@ class Select {
|
|
|
17029
16986
|
if (filteredOptions.length > 0) {
|
|
17030
16987
|
const firstOption = filteredOptions[0];
|
|
17031
16988
|
if ("children" in firstOption) {
|
|
17032
|
-
|
|
16989
|
+
if (firstOption.children) {
|
|
16990
|
+
this.value = firstOption.children[0].value;
|
|
16991
|
+
}
|
|
17033
16992
|
}
|
|
17034
16993
|
else {
|
|
17035
16994
|
this.value = firstOption.value;
|
|
@@ -17289,19 +17248,19 @@ class Select {
|
|
|
17289
17248
|
"loading" in menuOptions[0] ||
|
|
17290
17249
|
"timedOut" in menuOptions[0]));
|
|
17291
17250
|
renderHiddenInput(this.el, value, name || inputId, disabled);
|
|
17292
|
-
const ClearButton = () => (hAsync("ic-button", { key: '
|
|
17293
|
-
const NativeSelect = () => (hAsync("select", Object.assign({ key: '
|
|
17294
|
-
const SelectButton = () => (hAsync("div", { key: '
|
|
17251
|
+
const ClearButton = () => (hAsync("ic-button", { key: '3892a327f660eb5c8add2dad6b0234e98c1763df', ref: (el) => (this.clearButton = el), id: "clear-button", "aria-label": this.searchable ? "Clear input" : "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onBlur: this.handleBlur, size: size, variant: "icon-tertiary" }));
|
|
17252
|
+
const NativeSelect = () => (hAsync("select", Object.assign({ key: '9dbff7cad48e70c9ecb5bdaf5188bf76ebb21bc9', ref: (el) => (this.nativeSelectElement = el), disabled: disabled, onChange: this.handleNativeSelectChange, required: required, id: inputId, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid ? "true" : "false", onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleNativeSelectKeyDown, form: form }, inheritedAttributes), hAsync("option", { key: '4899ac51e4735de3a3a6d1674a107d496d136f8d', value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => "children" in option && option.children ? (hAsync("optgroup", { label: option.label }, option.children.map((child) => this.renderNativeOption(child)))) : (this.renderNativeOption(option)))));
|
|
17253
|
+
const SelectButton = () => (hAsync("div", { key: 'a54b55c792c30da50db55cdf579a7b5112733ab2', class: "select-container" }, hAsync("button", { key: '566288c0b7ba2c08f437d0894f1e7e8d050dbec9', class: "select-input", role: "combobox", ref: (el) => (this.selectElement = el), id: inputId, "aria-label": `${label}, ${(multiple && value
|
|
17295
17254
|
? `${value.length} of ${this.flatOptions.length} selected, ${this.getLabelString()}`
|
|
17296
|
-
: this.getLabelString()) || placeholder}`, onClick: this.handleClick, "aria-describedby": describedBy, "aria-invalid": invalid ? "true" : "false", "aria-haspopup": "listbox", "aria-expanded": `${open}`, "aria-controls": menuId, "aria-required": `${required}`, disabled: disabled, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, "aria-activedescendant": ariaActiveDescendant }, hAsync("ic-typography", { key: '
|
|
17255
|
+
: this.getLabelString()) || placeholder}`, onClick: this.handleClick, "aria-describedby": describedBy, "aria-invalid": invalid ? "true" : "false", "aria-haspopup": "listbox", "aria-expanded": `${open}`, "aria-controls": menuId, "aria-required": `${required}`, disabled: disabled, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, "aria-activedescendant": ariaActiveDescendant }, hAsync("ic-typography", { key: 'f5fb6dcd933444aa16b0e481f3cfcd606d266027', variant: "body", class: {
|
|
17297
17256
|
"value-text": true,
|
|
17298
17257
|
"with-clear-button": !!isClearable,
|
|
17299
17258
|
placeholder: !value,
|
|
17300
|
-
} }, this.getLabelString()), hAsync("div", { key: '
|
|
17259
|
+
} }, this.getLabelString()), hAsync("div", { key: '2a0f71ba4314bf48c042c08d6542a7e5d290cfa1', class: "select-input-end" }, isClearable && hAsync("div", { key: 'aab9235d7bed234a7faa3b76f946723a6fd733b5', class: "divider" }), hAsync("span", { key: 'bbcb55feda8598bed785a7d97ffbfda9beace9b6', class: {
|
|
17301
17260
|
"expand-icon": true,
|
|
17302
17261
|
"expand-icon-open": open,
|
|
17303
|
-
}, innerHTML: Expand, "aria-hidden": "true" }))), isClearable && hAsync(ClearButton, { key: '
|
|
17304
|
-
const SelectInput = () => (hAsync("div", { key: '
|
|
17262
|
+
}, innerHTML: Expand, "aria-hidden": "true" }))), isClearable && hAsync(ClearButton, { key: '7be9270208022eec818d3d11e787e97b3e9781a4' }), hAsync("div", { key: '66a002a41aaae04ff167acd5bc41df446d1c7185', "aria-live": "polite", "aria-atomic": "true", class: "aria-live-hidden-text" }, selectButtonAriaLiveText)));
|
|
17263
|
+
const SelectInput = () => (hAsync("div", { key: '8c8bc17e0e8d6b2a19c2b6546a7dc1927003ffe6', class: "searchable-select-container" }, hAsync("input", { key: 'b9f94d2533162b38c766f003a9befcbadff6def8', class: {
|
|
17305
17264
|
"value-text": true,
|
|
17306
17265
|
"select-input": true,
|
|
17307
17266
|
"with-clear-button": !!searchableSelectInputValue,
|
|
@@ -17309,25 +17268,25 @@ class Select {
|
|
|
17309
17268
|
? ""
|
|
17310
17269
|
: value
|
|
17311
17270
|
? this.getLabelString()
|
|
17312
|
-
: searchableSelectInputValue || undefined, disabled: disabled, placeholder: placeholder, onInput: this.handleSearchableSelectInput, onClick: this.handleClick, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, form: form }), isClearable && (hAsync("div", { key: '
|
|
17271
|
+
: searchableSelectInputValue || undefined, disabled: disabled, placeholder: placeholder, onInput: this.handleSearchableSelectInput, onClick: this.handleClick, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, form: form }), isClearable && (hAsync("div", { key: '2fa369c2f909206cda3e533fdc1b4f61f49e5367', class: "clear-button-container" }, hAsync(ClearButton, { key: '7c6f3009ca83d1f1ad53bbfe9356663a777b01b8' }), hAsync("div", { key: 'f7928645b4eac91f7a65e88fa493032f9036e520', class: "divider" }))), hAsync("span", { key: '01223cbc2bb20344cc6e18d6d7c899ed9eb73565', onMouseDown: this.handleExpandIconMouseDown, class: {
|
|
17313
17272
|
"expand-icon": true,
|
|
17314
17273
|
"expand-icon-open": open,
|
|
17315
|
-
}, innerHTML: Expand, "aria-hidden": "true" }), hAsync("div", { key: '
|
|
17316
|
-
const ReadOnly = () => (hAsync("ic-typography", { key: '
|
|
17317
|
-
return (hAsync(Host, { key: '
|
|
17274
|
+
}, innerHTML: Expand, "aria-hidden": "true" }), hAsync("div", { key: '3ad6ae8f699743bdf8277a4b5c50afa4fa0ddc22', "aria-live": "polite", role: "status", class: "aria-live-hidden-text" }, selectInputAriaLiveText)));
|
|
17275
|
+
const ReadOnly = () => (hAsync("ic-typography", { key: 'dac815c30b87420c94c68e65eaa27ec3b0902a12' }, hAsync("p", { key: '828de16f7df4fa23e8387f2ef9cf84b1994a91a3' }, this.getLabelString() === placeholder ? "" : this.getLabelString())));
|
|
17276
|
+
return (hAsync(Host, { key: '91899d31f22ef6d7417710d110499cc72e97f230', class: {
|
|
17318
17277
|
"ic-select-disabled": disabled,
|
|
17319
17278
|
"ic-select-searchable": searchable,
|
|
17320
17279
|
[`ic-select-${size}`]: size !== "medium",
|
|
17321
17280
|
"ic-select-full-width": fullWidth,
|
|
17322
17281
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
17323
|
-
} }, hAsync("ic-input-container", { key: '
|
|
17282
|
+
} }, hAsync("ic-input-container", { key: '2c314323d9b410363eefdfb6fbdcb8b4360109d0', readonly: readonly }, !hideLabel && (hAsync("ic-input-label", { key: '28269a9d64624f0c646fa46bf8199716cefdc220', for: inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly }, hAsync("slot", { key: '235bdb195e5feeae8d82360efa17aa576df9cff4', name: "helper-text", slot: "helper-text" }))), hAsync("ic-input-component-container", { key: 'a936a39d3dbdf43d406d994594b4dd72f1aa59e2', ref: (el) => (this.anchorEl = el), class: { "menu-open": open }, size: size, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, isSlotUsed(this.el, "icon") &&
|
|
17324
17283
|
!disabled &&
|
|
17325
|
-
(!readonly || !!value) && (hAsync("span", { key: '
|
|
17284
|
+
(!readonly || !!value) && (hAsync("span", { key: '67c88b6a8c00524eff7575fc71150ea5aabeb847', slot: "left-icon", class: {
|
|
17326
17285
|
readonly,
|
|
17327
17286
|
"has-value": !!value,
|
|
17328
|
-
} }, hAsync("slot", { key: '
|
|
17287
|
+
} }, hAsync("slot", { key: '92f2c3c41210287a28e524afa4511a08204a5544', name: "icon" }))), isMobileOrTablet() && this.useNativeSelectOnMobile && !multiple ? (hAsync(NativeSelect, null)) : readonly ? (hAsync(ReadOnly, null)) : !searchable ? (hAsync(SelectButton, null)) : (hAsync(SelectInput, null))), !(isMobileOrTablet() &&
|
|
17329
17288
|
this.useNativeSelectOnMobile &&
|
|
17330
|
-
!multiple) && (hAsync("ic-menu", { key: '
|
|
17289
|
+
!multiple) && (hAsync("ic-menu", { key: '644f853a4caad5efbcab0c9228e0bf18595ecb91', ref: (el) => (this.menu = el), class: { "no-results": noOptions }, inputEl: searchable ? this.searchableSelectElement : this.selectElement, allowMenuFocus: false, inputLabel: label, anchorEl: this.anchorEl, size: size, menuId: menuId, open: open, options: this.getOptions(), value: multiple ? value : value, fullWidth: fullWidth, selectOnEnter: selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleSelectChange, onMenuOptionSelectAll: this.handleSelectAllChange, onTimeoutBlur: this.handleTimeoutBlur, onMenuOptionId: this.updateAriaActiveDescendant, onClick: this.setFocus, parentEl: this.el, activationType: searchable || multiple || selectOnEnter ? "manual" : "automatic", onRetryButtonClicked: this.handleRetry, closeOnSelect: !multiple, multiSelect: multiple, searchableSelect: searchable })), hAsync("ic-input-validation", { key: '00ca9a2788bf404fb096c2497e46aa138c32ea76', class: {
|
|
17331
17290
|
"menu-open": open,
|
|
17332
17291
|
}, ariaLiveMode: validationAriaLive, status: showValidation ? validationStatus : "", message: showValidation ? validationText : "", for: inputId }))));
|
|
17333
17292
|
}
|
|
@@ -17871,7 +17830,7 @@ class SideNavigation {
|
|
|
17871
17830
|
isAppNameSubtitleVariant,
|
|
17872
17831
|
appTitle: appTitle || "",
|
|
17873
17832
|
};
|
|
17874
|
-
return (hAsync(Host, { key: '
|
|
17833
|
+
return (hAsync(Host, { key: '467270372cb15a90984978cb333a6756c7ffcb8d', class: {
|
|
17875
17834
|
"xs-menu-open": menuOpen && isSDevice,
|
|
17876
17835
|
"xs-menu-close": !menuOpen && isSDevice,
|
|
17877
17836
|
"sm-collapsed": !isSDevice && !menuExpanded,
|
|
@@ -17880,12 +17839,12 @@ class SideNavigation {
|
|
|
17880
17839
|
[`ic-side-navigation-${IcBrandForegroundEnum.Dark}`]: foregroundColor === IcBrandForegroundEnum.Dark,
|
|
17881
17840
|
["collapsed-labels"]: !isSDevice && !menuExpanded && !!collapsedIconLabels,
|
|
17882
17841
|
["ic-side-navigation-inline"]: !!inline,
|
|
17883
|
-
} }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { key: '
|
|
17842
|
+
} }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { key: '51b75422befcc62a8b9a866ab9ab7c58b799db2c', class: "side-navigation", id: "side-navigation" }, !isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { key: 'fbcb14963d2ce5567297bdf794d1dd5f7a6209bb', class: "side-navigation-inner" }, isSlotUsed(this.el, "primary-navigation") && (hAsync("nav", { key: '24da45c7237f1152c1e93db9b928120bcca1ba14', class: "primary-navigation", "aria-labelledby": "primary-navigation-landmark" }, hAsync("span", { key: 'e57f1521e37ecc9b770b35339059564ff23fe945', "aria-hidden": "true", class: "navigation-landmark-title", id: "primary-navigation-landmark" }, "Primary"), hAsync("ul", { key: '88ffcdc33e0ebb348a3f8851dfb85020625293d7', class: "navigation-list" }, hAsync("slot", { key: '91243f0760b0a67226f4c83a0393f669443ee356', name: "primary-navigation" }))))), hAsync("div", { key: '77eaa1bf6bd8951c5a77902c75b0664aa36f0b44', class: {
|
|
17884
17843
|
["bottom-wrapper"]: true,
|
|
17885
17844
|
["classification-spacing"]: hasClassificationBanner(),
|
|
17886
|
-
} }, isSlotUsed(this.el, "secondary-navigation") && (hAsync("nav", { key: '
|
|
17845
|
+
} }, isSlotUsed(this.el, "secondary-navigation") && (hAsync("nav", { key: 'ad66580f2b2f753f4ce2d1be8128fdcb5fb69c9f', class: "secondary-navigation", "aria-labelledby": "secondary-navigation-landmark" }, hAsync("span", { key: '3f503502795535166e14d6d52ee1b8f72dfe9551', "aria-hidden": "true", class: "navigation-landmark-title", id: "secondary-navigation-landmark" }, "Secondary"), hAsync("ul", { key: 'cfd5af2f79b1ca9e309fc160c5b4b00385f017d2', class: "navigation-list" }, hAsync("slot", { key: 'a975b85e39c977ea241a976df63699337f6507d7', name: "secondary-navigation" })))), hAsync("div", { key: 'b0f3f81a20589100389495ded413bf1bfe09e096', class: "bottom-side-nav" }, this.hasSecondaryNavigation && hAsync("ic-divider", { key: '3ee7716a6a6ed2e8f776b9ba376a54274c84f873' }), displayExpandBtn && (hAsync("button", { key: 'c7f04012bfcb7f727431a9d7e6e53d714cc49e5e', class: "menu-expand-button", innerHTML: chevronIcon, onClick: () => this.toggleMenuExpanded(!this.menuExpanded), "aria-label": `${menuExpanded ? "Collapse" : "Expand"} side navigation` })), hAsync("div", { key: 'a3d90469e6d05790dd84a00ea1e4c4c35ecb8955', class: "app-status-wrapper" }, status && (hAsync("div", { key: '6dddec89dbd4e81f2d5b0132c648e53e72092d14', class: {
|
|
17887
17846
|
["app-status"]: true,
|
|
17888
|
-
} }, hAsync("ic-typography", { key: '
|
|
17847
|
+
} }, hAsync("ic-typography", { key: '21635fd5640f74861ede6840073a112753d13a29', "aria-label": "app tag", variant: "label-uppercase", class: "app-status-text" }, status))), version && (hAsync("ic-typography", { key: '7a95df03f61c13f2a6ed23e43be42959ae98fd88', variant: "label", class: "app-version", "aria-label": "app version" }, version))))))));
|
|
17889
17848
|
}
|
|
17890
17849
|
get el() { return getElement(this); }
|
|
17891
17850
|
static get watchers() { return {
|
|
@@ -17964,11 +17923,11 @@ class Skeleton {
|
|
|
17964
17923
|
width: el.style.width || width || DEFAULT_WIDTHS[variant],
|
|
17965
17924
|
}
|
|
17966
17925
|
: undefined;
|
|
17967
|
-
return (hAsync(Host, { key: '
|
|
17926
|
+
return (hAsync(Host, { key: '67c1971600feaaaf5849048b4bc5ad3d4903ffb4', class: {
|
|
17968
17927
|
skeleton: true,
|
|
17969
17928
|
"ic-skeleton-circle": variant === "circle",
|
|
17970
17929
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
17971
|
-
}, style: style, "aria-disabled": "true" }, hAsync("slot", { key: '
|
|
17930
|
+
}, style: style, "aria-disabled": "true" }, hAsync("slot", { key: 'caf8562f7997131daa69e85d6766b3edf2531259' })));
|
|
17972
17931
|
}
|
|
17973
17932
|
get el() { return getElement(this); }
|
|
17974
17933
|
static get style() { return IcSkeletonStyle0; }
|
|
@@ -18027,9 +17986,9 @@ class SkipLink {
|
|
|
18027
17986
|
}
|
|
18028
17987
|
render() {
|
|
18029
17988
|
const { fullWidth, inline, label, monochrome, target, theme, transparentBackground, } = this;
|
|
18030
|
-
return (hAsync(Host, { key: '
|
|
17989
|
+
return (hAsync(Host, { key: '2f344a07df5cb31b39b5cd4ca8bc257229646b31', class: {
|
|
18031
17990
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
18032
|
-
} }, hAsync("ic-link", { key: '
|
|
17991
|
+
} }, hAsync("ic-link", { key: '9b844b5a2f207d08eaa8cbb621d54ed56f5cc28d', class: {
|
|
18033
17992
|
"display-top": !inline,
|
|
18034
17993
|
"full-width": !!fullWidth,
|
|
18035
17994
|
"show-background": !transparentBackground,
|
|
@@ -18094,12 +18053,12 @@ class StatusTag {
|
|
|
18094
18053
|
}
|
|
18095
18054
|
render() {
|
|
18096
18055
|
const { label, status, variant, size, announced, theme, uppercase } = this;
|
|
18097
|
-
return (hAsync(Host, { key: '
|
|
18056
|
+
return (hAsync(Host, { key: '06426990cc94da53c570547331c63d161675f620', class: { [`ic-theme-${theme}`]: theme !== "inherit" }, role: announced ? "status" : null, "aria-label": "Status" }, hAsync("strong", { key: '2c6d0e05018d59bfc7c1acab4b8ffda5ba4cfce3', class: {
|
|
18098
18057
|
["tag"]: true,
|
|
18099
18058
|
[`${variant}-${status}`]: true,
|
|
18100
18059
|
["outlined"]: variant === "outlined",
|
|
18101
18060
|
[`${size}`]: true,
|
|
18102
|
-
} }, hAsync("ic-typography", { key: '
|
|
18061
|
+
} }, hAsync("ic-typography", { key: '3af29b781e35ed4817043d4f2f697f468502189a', variant: uppercase ? "label-uppercase" : "label", "apply-vertical-margins": false }, hAsync("span", { key: '4f4759e8dabfff3d686ed3e4cd3975cc0b0c33b4' }, label)))));
|
|
18103
18062
|
}
|
|
18104
18063
|
static get style() { return IcStatusTagStyle0; }
|
|
18105
18064
|
static get cmpMeta() { return {
|
|
@@ -18203,27 +18162,27 @@ class Step {
|
|
|
18203
18162
|
// STATUS ICON FOR COMPACT STEP
|
|
18204
18163
|
let statusIcon;
|
|
18205
18164
|
if (type === "completed" || compactStepStyling === "completed") {
|
|
18206
|
-
statusIcon = (hAsync("span", { key: '
|
|
18165
|
+
statusIcon = (hAsync("span", { key: '4d1011a9a12449bd324aff3f404522fde6912be3', class: "check-icon step-icon", "aria-hidden": "true", innerHTML: checkIcon }));
|
|
18207
18166
|
}
|
|
18208
18167
|
else if (type === "disabled" || compactStepStyling === "disabled") {
|
|
18209
|
-
statusIcon = (hAsync("span", { key: '
|
|
18168
|
+
statusIcon = (hAsync("span", { key: '7825f61e87546bcaa9100c439239022abb0f3eb7', class: "warning-icon step-icon", "aria-hidden": "true", innerHTML: warningIcon }));
|
|
18210
18169
|
}
|
|
18211
18170
|
// COMPACT STEP COMPONENT
|
|
18212
|
-
const compactStep = (hAsync("div", { key: '
|
|
18171
|
+
const compactStep = (hAsync("div", { key: '82c7c26c90ce286582f7ef477129d2ce241200c1', class: {
|
|
18213
18172
|
["step"]: true,
|
|
18214
18173
|
["current"]: !!current,
|
|
18215
18174
|
[`compact-step-${compactStepStyling}`]: !!compactStepStyling,
|
|
18216
18175
|
["disabled"]: type === "disabled" || compactStepStyling === "disabled",
|
|
18217
|
-
} }, hAsync("ic-loading-indicator", { key: '
|
|
18176
|
+
} }, hAsync("ic-loading-indicator", { key: 'd3d1b2aa382bd8b307433f16aa05f644b275902f', class: {
|
|
18218
18177
|
"compact-step-progress-indicator": true,
|
|
18219
18178
|
"not-required": type === "disabled" || compactStepStyling === "disabled",
|
|
18220
|
-
}, "aria-hidden": "true", size: "small", "inner-label": stepNum, progress: progress }), hAsync("div", { key: '
|
|
18179
|
+
}, "aria-hidden": "true", size: "small", "inner-label": stepNum, progress: progress }), hAsync("div", { key: 'd0f78f477b4fe29b2ac33798712b70c0c3d2ce41', class: "heading-area" }, isSlotUsed(this.el, "heading") ? (hAsync("slot", { name: "heading" })) : (hAsync("ic-typography", { variant: "h4", class: "heading" }, heading)), hAsync("div", { key: 'f9a074c126d393ec82cf72621e5941c32dbd72fb', class: "info-line" }, hAsync("ic-typography", { key: '1b6bd91bcb1013fa1e23a9e9af49d3da1f25448e', variant: "caption", class: "step-num" }, `${stepNum} ${icI18n.of} ${lastStepNum}`, hAsync("span", { key: '753bbc4c12a2b968cde11238f46ff4ffbc4f39fd', class: "visually-hidden" }, ` ${icI18n.steps}`)), (this.subheading ||
|
|
18221
18180
|
type === "completed" ||
|
|
18222
18181
|
type === "disabled" ||
|
|
18223
18182
|
(this.variant === "compact" &&
|
|
18224
18183
|
!!compactStepStyling &&
|
|
18225
18184
|
compactStepStyling !== "active") ||
|
|
18226
|
-
!!status) && (hAsync("div", { key: '
|
|
18185
|
+
!!status) && (hAsync("div", { key: '93968f9752cf90df5f67994a3942f38d94323b50', class: "step-status" }, statusIcon !== undefined && statusIcon, (subheading || stepType) && (hAsync("ic-typography", { key: 'd1879f9dc5a7ea2e9b468fc95593056527e08095', variant: "caption" }, subheading !== null && isPropDefined(subheading)
|
|
18227
18186
|
? subheading
|
|
18228
18187
|
: type === "disabled" ||
|
|
18229
18188
|
(variant === "compact" &&
|
|
@@ -18236,26 +18195,26 @@ class Step {
|
|
|
18236
18195
|
// ICON FOR DEFAULT STEP
|
|
18237
18196
|
let icon;
|
|
18238
18197
|
if (type !== "completed") {
|
|
18239
|
-
icon = (hAsync("ic-typography", { key: '
|
|
18198
|
+
icon = (hAsync("ic-typography", { key: 'e76d3c6f2fc82ae27e9f19af2ad29374c75271b1', variant: "subtitle-small" }, hAsync("span", { key: '2ada7f696f0e90ecca298a2109d9aaeb70777a1a', class: "step-icon-inner", "aria-hidden": "true" }, this.stepNum)));
|
|
18240
18199
|
}
|
|
18241
18200
|
else {
|
|
18242
|
-
icon = (hAsync("div", { key: '
|
|
18201
|
+
icon = (hAsync("div", { key: '195a5f5dd31061a4059020d7fa1d65b15eb29a11', class: "step-icon-inner", "aria-hidden": "true" }, hAsync("span", { key: 'd11d3bf512968fa286309bcd69faa20cd12d3396', class: "check-icon", innerHTML: checkIcon })));
|
|
18243
18202
|
}
|
|
18244
18203
|
// STEP CONNECT FOR DEFAULT STEP
|
|
18245
|
-
const partialBar = type === "current" && (hAsync("div", { key: '
|
|
18246
|
-
const finalStep = !lastStep && (hAsync("div", { key: '
|
|
18204
|
+
const partialBar = type === "current" && (hAsync("div", { key: '5564ceeb1d40367572f3ae679e7212a2a2a53578', class: "step-connect-inner" }));
|
|
18205
|
+
const finalStep = !lastStep && (hAsync("div", { key: 'fae846f5c7d46ad65c7d21a2785526ed6d841444', class: {
|
|
18247
18206
|
["step-connect"]: true,
|
|
18248
18207
|
["aligned-full-width"]: !!(((_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.classList.contains("ic-stepper-default")) &&
|
|
18249
18208
|
!this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
|
|
18250
18209
|
} }, partialBar));
|
|
18251
18210
|
// DEFAULT STEP COMPONENT
|
|
18252
|
-
const defaultStep = (hAsync("div", { key: '
|
|
18211
|
+
const defaultStep = (hAsync("div", { key: 'f02d7139a59a46207e7bd308cf90ffd42c14a93e', class: {
|
|
18253
18212
|
["step"]: true,
|
|
18254
18213
|
[`${type}`]: true,
|
|
18255
|
-
} }, hAsync("div", { key: '
|
|
18214
|
+
} }, hAsync("div", { key: 'd3cb91eb9ae01c50255fefe75c9cf15dac9899a2', class: "step-top" }, hAsync("div", { key: '71afc47b70d57c6d98aacd824c304e661d97a97d', class: "step-icon" }, icon), finalStep), (hasHeading || subheading || status) && (hAsync("div", { key: '7b11bdfc83c4071d6aff8f026e7ab32f2033a666', class: "heading-area" }, isSlotUsed(this.el, "heading") ? (hAsync("slot", { name: "heading" })) : (hAsync("ic-typography", { variant: "subtitle-large", class: "heading" }, heading)), hasHeading && (subheading || status) && (hAsync("ic-typography", { key: '10da1844c1af5252f89bc59254e23c45c5400a2d', variant: "caption", class: "subheading" }, subheading !== null && isPropDefined(subheading)
|
|
18256
18215
|
? subheading
|
|
18257
18216
|
: stepStatus))))));
|
|
18258
|
-
return (hAsync(Host, { key: '
|
|
18217
|
+
return (hAsync(Host, { key: '6605252cf1e05ba81b2adbcf6e41f2c9c23b1f09', role: "listitem", "aria-label": `${icI18n.step} ${stepNum}${ariaLabel}`, "aria-current": (current || type === "current") && "step", class: {
|
|
18259
18218
|
["aligned-full-width"]: !!(((_b = this.el.parentElement) === null || _b === void 0 ? void 0 : _b.classList.contains("ic-stepper-default")) &&
|
|
18260
18219
|
!this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
|
|
18261
18220
|
[`ic-step-${variant}`]: true,
|
|
@@ -18575,11 +18534,11 @@ class Stepper {
|
|
|
18575
18534
|
checkResizeObserver(this.runResizeObserver);
|
|
18576
18535
|
}
|
|
18577
18536
|
render() {
|
|
18578
|
-
return (hAsync(Host, { key: '
|
|
18537
|
+
return (hAsync(Host, { key: '4fbff633235fba3d0c146427b74d1c4e69cff419', class: {
|
|
18579
18538
|
[`ic-stepper-${this.variant}`]: true,
|
|
18580
18539
|
["ic-stepper-aligned-left"]: this.variant === "default" && this.aligned === "left",
|
|
18581
18540
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
|
18582
|
-
} }, hAsync("ul", { key: '
|
|
18541
|
+
} }, hAsync("ul", { key: '452b6724f1b286aa3ff75fd460cdc4dfa36e8e55', class: "step-item-list" }, hAsync("slot", { key: 'e6e6465ee3c505fab2bbe1c7c502defa7e587571' }))));
|
|
18583
18542
|
}
|
|
18584
18543
|
get el() { return getElement(this); }
|
|
18585
18544
|
static get watchers() { return {
|
|
@@ -18612,7 +18571,7 @@ class Stepper {
|
|
|
18612
18571
|
}; }
|
|
18613
18572
|
}
|
|
18614
18573
|
|
|
18615
|
-
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-
|
|
18574
|
+
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-toggle{display:flex;align-items:center;width:calc(var(--ic-space-xl) * 2);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);gap:calc(var(--ic-space-md) + var(--ic-space-xxs))}.ic-switch-small .ic-switch-toggle{width:var(--ic-space-xxl);height:var(--ic-space-lg);gap:calc(var(--ic-space-sm) + var(--ic-space-xxxs))}.ic-switch-large .ic-switch-toggle{width:calc(var(--ic-space-xl) + var(--ic-space-xxl));height:calc(var(--ic-space-xl) + var(--ic-space-xs));gap:calc(var(--ic-space-lg) + var(--ic-space-xxs))}.ic-switch-line-break{flex:1 0 100%}.ic-switch-toggle::before{content:\"\";width:calc(var(--ic-space-sm) * 2);height:calc(var(--ic-space-sm) * 2);border-radius:50%;position:absolute;z-index:2;top:50%;left:var(--ic-space-xxs);transform:translate(0, -50%);background-color:var(--ic-switch-unchecked);transition:var(--ic-transition-duration-slow)}.ic-switch-small .ic-switch-toggle::before{width:var(--ic-space-md);height:var(--ic-space-md)}.ic-switch-large .ic-switch-toggle::before{width:var(--ic-space-xl);height:var(--ic-space-xl)}.ic-switch-icon{display:inline-block;vertical-align:middle;width:var(--ic-space-sm);height:var(--ic-space-sm)}.ic-switch-small .ic-switch-icon{width:var(--ic-space-xs);height:var(--ic-space-xs)}.ic-switch-large .ic-switch-icon{width:var(--ic-space-md);height:var(--ic-space-md)}.ic-switch-icon-circle{stroke:var(--ic-switch-indicator-off);stroke-width:var(--ic-space-1px)}.ic-switch-icon-line{height:var(--ic-space-sm);width:var(--ic-space-1px);background-color:var(--ic-switch-indicator-on);border-radius:99px;margin-left:calc(\n var(--ic-space-md) + var(--ic-space-xxs) - var(--ic-space-1px)\n )}.ic-switch-small .ic-switch-icon-line{margin-left:calc(var(--ic-space-md) - var(--ic-space-1px));height:var(--ic-space-xs)}.ic-switch-large .ic-switch-icon-line{margin-left:calc(\n var(--ic-space-xs) + var(--ic-space-md) - var(--ic-space-1px)\n );height:var(--ic-space-md)}.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(calc(var(--ic-space-xl) - var(--ic-space-1px)), -50%);background-color:var(--ic-switch-checked)}.ic-switch-small .ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(calc(var(--ic-space-lg) - var(--ic-space-1px)), -50%)}.ic-switch-large .ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(\n calc(var(--ic-space-xxl) - var(--ic-space-xs) - var(--ic-space-1px)),\n -50%\n )}.ic-switch-input:not([disabled])+.ic-switch-toggle:hover::before{box-shadow:0 0 0 var(--ic-space-sm) var(--ic-switch-unchecked-bg-hover)}.ic-switch-input:not([disabled])+.ic-switch-toggle:active::before{box-shadow:0 0 0 var(--ic-space-sm) var(--ic-switch-unchecked-bg-pressed)}.ic-switch-input:not([disabled]):checked+.ic-switch-toggle:hover::before{box-shadow:0 0 0 var(--ic-space-sm) var(--ic-switch-checked-bg-hover)}.ic-switch-input:not([disabled]):checked+.ic-switch-toggle:active::before{box-shadow:0 0 0 var(--ic-space-sm) 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{background-color: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)}::slotted([slot=\"right-adornment\"]){margin-left:var(--ic-space-sm);fill:var(--ic-switch-icon)}@media (forced-colors: active){.ic-switch-toggle::before{width:calc(var(--ic-space-sm) * 2 - var(--ic-space-xxxs));height:calc(var(--ic-space-sm) * 2 - var(--ic-space-xxxs))}.ic-switch-small .ic-switch-toggle::before{width:calc(var(--ic-space-md) - var(--ic-space-xxxs));height:calc(var(--ic-space-md) - var(--ic-space-xxxs))}.ic-switch-large .ic-switch-toggle::before{width:calc(var(--ic-space-xl) - var(--ic-space-xxxs));height:calc(var(--ic-space-xl) - var(--ic-space-xxxs))}.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) - var(--ic-space-xxxs)), -50%)}.ic-switch-small .ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(calc(var(--ic-space-lg) - var(--ic-space-xxxs)), -50%)}.ic-switch-large .ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(\n calc(var(--ic-space-xxl) - var(--ic-space-xs) - var(--ic-space-xxxs)),\n -50%\n )}.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-icon-line{background-color:buttonborder}.ic-switch-disabled .ic-switch-icon-circle{stroke:GrayText}.ic-switch-disabled .ic-switch-icon-line{background-color:GrayText}}@media (prefers-reduced-motion: reduce){.ic-switch-toggle,.ic-switch-toggle::before{transition:none}}";
|
|
18616
18575
|
var IcSwitchStyle0 = icSwitchCss;
|
|
18617
18576
|
|
|
18618
18577
|
let inputIds$1 = 0;
|
|
@@ -18708,18 +18667,16 @@ class Switch {
|
|
|
18708
18667
|
}
|
|
18709
18668
|
render() {
|
|
18710
18669
|
const { label, checkedState, size, disabled, name, value, hideLabel, helperText, inputId, theme, } = this;
|
|
18711
|
-
const isSmall = size === "small";
|
|
18712
18670
|
renderHiddenInput(this.el, checkedState ? value : "", name, disabled);
|
|
18713
|
-
return (hAsync(Host, { key: '
|
|
18671
|
+
return (hAsync(Host, { key: '5c000ca3e49cd14427153c3621794df417e8cf20', class: {
|
|
18714
18672
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
18715
|
-
} }, hAsync("label", { key: '
|
|
18673
|
+
} }, hAsync("label", { key: '8460399d045a653d8c5e3c93f87d2759b99d4095', class: {
|
|
18716
18674
|
"ic-switch-container": true,
|
|
18717
18675
|
"ic-switch-disabled": !!disabled,
|
|
18718
|
-
|
|
18719
|
-
}, htmlFor: inputId }, !hideLabel && (hAsync("ic-input-label", { key: '
|
|
18676
|
+
[`ic-switch-${size}`]: true,
|
|
18677
|
+
}, htmlFor: inputId }, !hideLabel && (hAsync("ic-input-label", { key: '5bd95a31f589a3569373427072b91153b9af825d', for: inputId, label: label, helperText: helperText, readonly: false, disabled: disabled, class: {
|
|
18720
18678
|
"ic-switch-label": true,
|
|
18721
|
-
|
|
18722
|
-
} }, hAsync("slot", { key: 'd0ec1f628328f0e3938964248ac38c576ee602ce', name: "helper-text", slot: "helper-text" }))), !hideLabel && hAsync("span", { key: '60474539357c0bd43823042d06e0292f1769a879', class: "ic-switch-line-break" }), hAsync("input", { key: 'e9f17d56e514e1a545fae25631c835a714515461', 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 }), hAsync("span", { key: 'ec6530e9f6d0a9248d6104068a8dc08c98142d44', class: "ic-switch-toggle" }, hAsync("svg", { key: '9dbe1ccb311d5d3cf836b1db84f783f3f4aa1b1c', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, hAsync("line", { key: '019b9a398510349b9fbb41784aa01f77af2c482f', class: "ic-switch-icon-line", x1: "9", y1: isSmall ? "2" : "1", x2: "9", y2: isSmall ? "8" : "9" })), hAsync("svg", { key: '36806f4ca85eb87212f155f42293cffc9d7b2f2e', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, hAsync("circle", { key: '5d34317d431ea7b8e10d6a379b02148b4fc69b4e', class: "ic-switch-icon-circle", fill: "none", cx: "5", cy: "5", r: isSmall ? "3.335" : "4.445" }))), hAsync("slot", { key: 'bfb4599c8cfad3efa9466eefe7dc84b580a2a3d2', name: "right-adornment" }))));
|
|
18679
|
+
} }, hAsync("slot", { key: 'a89047529ee17453676191651624842e5b1643ff', name: "helper-text", slot: "helper-text" }))), !hideLabel && hAsync("span", { key: 'ef6b29d8bfa4ad565aca3fdadc61f9d7e9c8a51c', class: "ic-switch-line-break" }), hAsync("input", { key: '0299a7208ea94969af14ded8f92a3c602e4d9260', 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 }), hAsync("span", { key: '5576c0aff81d9a5825111f62a00dfc69516ff52d', class: "ic-switch-toggle" }, hAsync("span", { key: '3bd162d8cd5b5d08b1a71625edaa7905d837414b', class: "ic-switch-icon-line", "aria-hidden": "true" }), hAsync("svg", { key: '592dd6027032283ed67502269b80fd6a5ca922ae', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 8 8", xmlns: "http://www.w3.org/2000/svg", fill: "none" }, hAsync("circle", { key: '6479b349e98272f1578e84b7213949ed064e84f7', class: "ic-switch-icon-circle", fill: "none", cx: "4", cy: "4", r: "3.5", "vector-effect": "non-scaling-stroke" }))), hAsync("slot", { key: '66d14ab0f462f8f050ffb425a154bde647821377', name: "right-adornment" }))));
|
|
18723
18680
|
}
|
|
18724
18681
|
static get delegatesFocus() { return true; }
|
|
18725
18682
|
get el() { return getElement(this); }
|
|
@@ -19104,7 +19061,7 @@ class TabContext {
|
|
|
19104
19061
|
}
|
|
19105
19062
|
}
|
|
19106
19063
|
render() {
|
|
19107
|
-
return hAsync("slot", { key: '
|
|
19064
|
+
return hAsync("slot", { key: '717530e623d11f274e79fe3be4bcbd0ff9e71033' });
|
|
19108
19065
|
}
|
|
19109
19066
|
get el() { return getElement(this); }
|
|
19110
19067
|
static get watchers() { return {
|
|
@@ -19151,11 +19108,11 @@ class TabGroup {
|
|
|
19151
19108
|
}
|
|
19152
19109
|
render() {
|
|
19153
19110
|
const { inline, theme, label, monochrome } = this;
|
|
19154
|
-
return (hAsync(Host, { key: '
|
|
19111
|
+
return (hAsync(Host, { key: '1681c117c989b999a55a9646350f26efe3dac55c', role: "tablist", "aria-label": label, class: {
|
|
19155
19112
|
["ic-tab-group-inline"]: !!inline,
|
|
19156
19113
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
19157
19114
|
["ic-tab-group-monochrome"]: !!monochrome,
|
|
19158
|
-
} }, hAsync("ic-horizontal-scroll", { key: '
|
|
19115
|
+
} }, hAsync("ic-horizontal-scroll", { key: '86003202cd06e1bbd9f99124c10ceebe9414049d', theme: theme, "focus-trigger": "tabFocus", monochrome: monochrome }, hAsync("div", { key: '4e1b79906c19817adf8a4d01332f8066e8d5e1c4', class: "tabs-container" }, hAsync("slot", { key: '697f2ce044588082937aff666d1f04976b310785' })))));
|
|
19159
19116
|
}
|
|
19160
19117
|
static get delegatesFocus() { return true; }
|
|
19161
19118
|
static get style() { return IcTabGroupStyle0; }
|
|
@@ -19198,10 +19155,10 @@ class TabPanel {
|
|
|
19198
19155
|
}
|
|
19199
19156
|
render() {
|
|
19200
19157
|
const { active, theme } = this;
|
|
19201
|
-
return (hAsync(Host, { key: '
|
|
19158
|
+
return (hAsync(Host, { key: 'c00d3917329516768eb37409203d897251b75d76', class: {
|
|
19202
19159
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
19203
19160
|
"ic-tab-panel-hidden": !active,
|
|
19204
|
-
}, role: "tabpanel", "aria-hidden": `${!active}` }, hAsync("div", { key: '
|
|
19161
|
+
}, role: "tabpanel", "aria-hidden": `${!active}` }, hAsync("div", { key: 'f5cc419286a31c1b6da62a34926dcf8060c12dfd' }, hAsync("slot", { key: '05c9bfb071d304e758c0bb8dd780bf000b3d8bf1' }))));
|
|
19205
19162
|
}
|
|
19206
19163
|
get el() { return getElement(this); }
|
|
19207
19164
|
static get style() { return IcTabPanelStyle0; }
|
|
@@ -19613,14 +19570,14 @@ class TextField {
|
|
|
19613
19570
|
hiddenInput
|
|
19614
19571
|
? renderHiddenInput(this.el, value, name, disabledMode)
|
|
19615
19572
|
: removeHiddenInput(this.el);
|
|
19616
|
-
return (hAsync(Host, { key: '
|
|
19573
|
+
return (hAsync(Host, { key: '4eb073ddbce5dc93c167bbaa66b94daf51c4a828', class: {
|
|
19617
19574
|
"ic-text-field-full-width": fullWidth,
|
|
19618
19575
|
"ic-text-field-disabled": disabledMode,
|
|
19619
19576
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
19620
|
-
} }, hAsync("ic-input-container", { key: '
|
|
19577
|
+
} }, hAsync("ic-input-container", { key: '07a171c8cbd55588387145b3d8469e6930ab4a7c', readonly: readonly, disabled: disabledMode }, !hideLabel && (hAsync("ic-input-label", { key: 'b5f6b3b831c08cd4958458188c8d6be3219f1479', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledText, readonly: readonly }, hAsync("slot", { key: '1c33ec889c6a730f4b7e1075978e13f05a21f53a', name: "helper-text", slot: "helper-text" }))), hAsync("ic-input-component-container", { key: '786f1d5b65b4b66838aba7320cd5b479cd8305e4', size: size, validationStatus: currentStatus, multiLine: multiline, disabled: disabledMode, readonly: readonly, validationInline: validationInline, fullWidth: fullWidth }, showLeftIcon && (hAsync("span", { key: 'ed91ef841c132afd05cdee83e735413ad1d9e5a3', class: {
|
|
19621
19578
|
readonly,
|
|
19622
19579
|
"has-value": this.getNumberOfCharacters(value) > 0,
|
|
19623
|
-
}, slot: "left-icon" }, hAsync("slot", { key: '
|
|
19580
|
+
}, slot: "left-icon" }, hAsync("slot", { key: 'ee52a8fc57ce814d713d1a0807d8dc040ced4d41', name: "icon" }))), !multiline ? (hAsync("input", Object.assign({ id: inputId, name: name, ref: (el) => (this.inputEl = el), type: type, min: min, max: max, value: value, class: {
|
|
19624
19581
|
"no-left-pad": !showLeftIcon && readonly,
|
|
19625
19582
|
readonly,
|
|
19626
19583
|
"truncate-value": truncateValue,
|
|
@@ -19628,12 +19585,12 @@ class TextField {
|
|
|
19628
19585
|
"no-resize": resize === false || !!readonly,
|
|
19629
19586
|
"no-left-pad": !showLeftIcon && !!readonly,
|
|
19630
19587
|
readonly: !!readonly,
|
|
19631
|
-
}, 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") && (hAsync("slot", { key: '
|
|
19588
|
+
}, 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") && (hAsync("slot", { key: '06f74409f7256055715e982be8e68780df1126b5', name: "clear-button" })), isSlotUsed(el, "search-submit-button") && (hAsync("slot", { key: '7ed8058fb83dfa713539348de0c37929a0225129', name: "search-submit-button" }))), isSlotUsed(el, "menu") && hAsync("slot", { key: 'e56ca28bcb4154d65bb46f1b3625e29c0038e9b7', name: "menu" }), hAsync("ic-input-validation", { key: '3c64d8598155035ebde2419e407e89c35053c64a', class: { "show-validation": this.showValidationMargin() }, status: this.hasStatus(currentStatus) === false ||
|
|
19632
19589
|
(currentStatus === IcInformationStatus.Success &&
|
|
19633
19590
|
validationInline) ||
|
|
19634
19591
|
validationInlineInternal
|
|
19635
19592
|
? ""
|
|
19636
|
-
: currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, isSlotUsed(el, "validation-text") && (hAsync("slot", { key: '
|
|
19593
|
+
: currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, isSlotUsed(el, "validation-text") && (hAsync("slot", { key: 'd40417b8b52597518c4b1e804ede9ae59364c0c9', name: "validation-text", slot: "validation-message" })), !readonly && maxNumChars > 0 && (hAsync("div", { key: 'e4dc991f18d280cf05f3ead492e17eb37b15cbb1', slot: "validation-message-adornment" }, !hideCharCount && (hAsync("ic-typography", { key: 'e668b2a73a860bd7a53300440a019239363f2350', variant: "caption", class: "char-count-text" }, hAsync("span", { key: '835dea67f0e27e0c86e0236f48ecd7a5265719a3', class: "char-count" }, numChars, "/", maxNumChars))), hAsync("span", { key: '0a4d3628c4ecfe1102b015c3bf4a345eb2a18674', class: "remaining-char-count-desc", "aria-live": "polite", hidden: !isFocussed, id: remainingCharCountDescId }, remainingCharCountDesc), hAsync("span", { key: '365c77cbed1ca017f3f19f13be9b76561ec5cf57', hidden: true, id: hiddenCharCountDescId }, "Field can contain a maximum of ", maxNumChars, " characters.")))))));
|
|
19637
19594
|
}
|
|
19638
19595
|
get el() { return getElement(this); }
|
|
19639
19596
|
static get watchers() { return {
|
|
@@ -19772,7 +19729,7 @@ class Theme {
|
|
|
19772
19729
|
}
|
|
19773
19730
|
render() {
|
|
19774
19731
|
const { themeClass } = this;
|
|
19775
|
-
return (hAsync(Host, { key: '
|
|
19732
|
+
return (hAsync(Host, { key: '63d492e3dd31089565a15df543420f375dbad1b6', class: themeClass }, hAsync("slot", { key: '479a3cbc49286aa2e3853956721f26a5ee37e9ef' })));
|
|
19776
19733
|
}
|
|
19777
19734
|
static get watchers() { return {
|
|
19778
19735
|
"brandColor": ["watchBrandColorPropHandler"],
|
|
@@ -20002,20 +19959,20 @@ class Toast {
|
|
|
20002
19959
|
}
|
|
20003
19960
|
render() {
|
|
20004
19961
|
const { variant, heading, message, visible, isManual, dismissButtonAriaLabel, theme, } = this;
|
|
20005
|
-
return (hAsync(Host, { key: '
|
|
19962
|
+
return (hAsync(Host, { key: '57c068f4c9a9e3017733432a596f78e2bcbffae6', class: {
|
|
20006
19963
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
20007
19964
|
["ic-toast-hidden"]: !visible,
|
|
20008
19965
|
[`ic-toast-variant-${variant}`]: variant !== undefined,
|
|
20009
|
-
}, tabindex: "0", onFocus: this.onFocus, onBlur: this.onBlur, role: isManual ? "dialog" : "alert", "aria-live": isManual ? null : "polite" }, hAsync("div", { key: '
|
|
19966
|
+
}, tabindex: "0", onFocus: this.onFocus, onBlur: this.onBlur, role: isManual ? "dialog" : "alert", "aria-live": isManual ? null : "polite" }, hAsync("div", { key: 'e24bd72e435cc443c375eee309ae98fc9e030c0b', class: {
|
|
20010
19967
|
["container"]: true,
|
|
20011
19968
|
[`container-${variant}`]: variant !== undefined,
|
|
20012
|
-
} }, variant && visible && (hAsync("div", { key: '
|
|
19969
|
+
} }, variant && visible && (hAsync("div", { key: 'bdabfabb04efcd93ab88ecb691b3baa73fc9da0a', class: "toast-icon-container" }, hAsync("div", { key: 'bede66dcf6189ac321e9bee90dc144e9d38a09dc', class: {
|
|
20013
19970
|
["divider"]: true,
|
|
20014
19971
|
[`divider-${variant}`]: true,
|
|
20015
|
-
} }), variant === "neutral" ? (hAsync("slot", { name: "neutral-icon" })) : (hAsync("span", { class: "toast-icon", innerHTML: VARIANT_ICONS[variant].icon })))), hAsync("div", { key: '
|
|
19972
|
+
} }), variant === "neutral" ? (hAsync("slot", { name: "neutral-icon" })) : (hAsync("span", { class: "toast-icon", innerHTML: VARIANT_ICONS[variant].icon })))), hAsync("div", { key: '57480804dc55695e555a16dd818c5febcaffbe00', class: {
|
|
20016
19973
|
["toast-content"]: true,
|
|
20017
19974
|
["no-icon"]: variant === "neutral" && !isSlotUsed(this.el, "neutral-icon"),
|
|
20018
|
-
} }, hAsync("div", { key: '
|
|
19975
|
+
} }, hAsync("div", { key: '8540288f9f34f0b72c86fa3039d579c93be1277f', class: "toast-text" }, hAsync("ic-typography", { key: 'c5e8f2d0a2fe026b430dddf7a81e825845f5ce72', variant: "subtitle-large", class: "toast-heading" }, visible && (isManual ? hAsync("h5", null, heading) : hAsync("p", null, heading))), message && (hAsync("ic-typography", { key: '89fe3df8f98581ef66c1ea74930d9042a579a359', variant: "body", class: "toast-message" }, visible && hAsync("p", { key: 'd805d260febad5f8d58aeffe2dfef9f84d6d0911' }, message)))), isSlotUsed(this.el, "action") && (hAsync("div", { key: 'c9cfd3cd4bf5f77cea072bb15f8629ab4a368ad0', class: "toast-action-container" }, hAsync("slot", { key: '26b2fb447b937f327719edfe531e5b1260fa7c6c', name: "action" })))), !isManual ? (hAsync("ic-loading-indicator", { class: "toast-dismiss-timer", theme: "dark", monochrome: true, size: "icon", progress: this.timerProgress, description: "Dismiss timer" })) : (hAsync("ic-button", { id: "dismiss-button", innerHTML: closeIcon, onClick: this.dismissAction, variant: "icon-tertiary", "aria-label": dismissButtonAriaLabel })))));
|
|
20019
19976
|
}
|
|
20020
19977
|
get el() { return getElement(this); }
|
|
20021
19978
|
static get watchers() { return {
|
|
@@ -20088,7 +20045,7 @@ class ToastRegion {
|
|
|
20088
20045
|
}
|
|
20089
20046
|
}
|
|
20090
20047
|
render() {
|
|
20091
|
-
return hAsync("slot", { key: '
|
|
20048
|
+
return hAsync("slot", { key: '28f5e26c6dbfb2de076cff231b72722f1ff403c7' });
|
|
20092
20049
|
}
|
|
20093
20050
|
get el() { return getElement(this); }
|
|
20094
20051
|
static get watchers() { return {
|
|
@@ -20261,7 +20218,7 @@ class ToggleButton {
|
|
|
20261
20218
|
render() {
|
|
20262
20219
|
const { accessibleLabel, checked, disabled, fullWidth, iconPlacement, monochrome, label, loading, outline, size, theme, tooltipPlacement, variant, } = this;
|
|
20263
20220
|
const iconVariant = variant === "icon";
|
|
20264
|
-
return (hAsync(Host, { key: '
|
|
20221
|
+
return (hAsync(Host, { key: 'a90e2a846a52531dc542d039724dc8516a00ae14', class: {
|
|
20265
20222
|
"ic-toggle-button-checked": checked,
|
|
20266
20223
|
"ic-toggle-button-disabled": disabled,
|
|
20267
20224
|
"ic-toggle-button-icon": iconVariant,
|
|
@@ -20271,7 +20228,7 @@ class ToggleButton {
|
|
|
20271
20228
|
"ic-toggle-button-hide-outline": !outline,
|
|
20272
20229
|
[`ic-toggle-button-${size}`]: true,
|
|
20273
20230
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
20274
|
-
}, onFocus: this.handleFocus }, hAsync("ic-button", { key: '
|
|
20231
|
+
}, onFocus: this.handleFocus }, hAsync("ic-button", { key: '6f15f0c63675bd099d370ce02e2b02eeac4e913a', "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, hAsync("slot", { key: '2503823bad70fa984db6c71d16cc863daaede0e3' }), isSlotUsed(this.el, "icon") && (hAsync("slot", { key: '53969441b6446ec012b538c2f3d468ea0e793547', name: "icon", slot: `${iconPlacement}-icon` })), isSlotUsed(this.el, "badge") && (hAsync("slot", { key: '2619be7d1528115db996708b102aadd611fd1b4b', name: "badge", slot: "badge" })))));
|
|
20275
20232
|
}
|
|
20276
20233
|
static get delegatesFocus() { return true; }
|
|
20277
20234
|
get el() { return getElement(this); }
|
|
@@ -20551,14 +20508,14 @@ class ToggleButtonGroup {
|
|
|
20551
20508
|
}
|
|
20552
20509
|
render() {
|
|
20553
20510
|
const { accessibleLabel, disabled, fullWidth, loading, monochrome, outline, theme, } = this;
|
|
20554
|
-
return (hAsync(Host, { key: '
|
|
20511
|
+
return (hAsync(Host, { key: 'b312b6cae074758bad82c66446709925e19cf5ce', role: "group", "aria-label": accessibleLabel, tabindex: disabled ? -1 : 0, class: {
|
|
20555
20512
|
"ic-toggle-button-group-disabled": disabled,
|
|
20556
20513
|
"ic-toggle-button-group-full-width": fullWidth,
|
|
20557
20514
|
"ic-toggle-button-group-loading": loading,
|
|
20558
20515
|
"ic-toggle-button-group-monochrome": monochrome,
|
|
20559
20516
|
"ic-toggle-button-group-hide-outline": !outline,
|
|
20560
20517
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
20561
|
-
}, onFocus: this.handleHostFocus }, hAsync("slot", { key: '
|
|
20518
|
+
}, onFocus: this.handleHostFocus }, hAsync("slot", { key: '8b09d946e7a8983b66f8bef384901899f88a54af' })));
|
|
20562
20519
|
}
|
|
20563
20520
|
get el() { return getElement(this); }
|
|
20564
20521
|
static get watchers() { return {
|
|
@@ -20600,9 +20557,12 @@ class ToggleButtonGroup {
|
|
|
20600
20557
|
}; }
|
|
20601
20558
|
}
|
|
20602
20559
|
|
|
20603
|
-
const icTooltipCss = "/*! 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(.ic-tooltip){width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;--ic-tooltip-background:var(--ic-color-background-primary-dark);--ic-tooltip-text:var(--ic-color-text-primary-dark);--ic-tooltip-border:var(--ic-color-border-neutral-grey-light)}:host(.ic-tooltip) .ic-tooltip-container{background-color:var(--ic-tooltip-background);text-align:center;padding:var(--ic-space-xxxs) var(--ic-space-xs);border-radius:var(--ic-border-radius);border:var(--ic-border-width) solid var(--ic-tooltip-border);position:absolute;max-width:20rem;display:none;z-index:var(--ic-z-index-tooltip);box-shadow:var(--ic-elevation-overlay);width:-moz-max-content;width:max-content}:host(.ic-tooltip) ic-typography{--ic-typography-color:var(--ic-tooltip-text)}:host(.tooltip-navigation-item:not(.tooltip-navigation-item-side-nav-collapsed)) .ic-tooltip-container,:host(.tooltip-disabled) .ic-tooltip-container{display:none !important}:host(.tooltip-long-label-navigation-item-side-nav-expanded) .ic-tooltip-container[data-show]{display:block !important}:host(.ic-tooltip) .ic-tooltip-arrow,:host(.ic-tooltip) .ic-tooltip-arrow::before{position:absolute;background:inherit}:host(.ic-tooltip) .ic-tooltip-arrow{visibility:hidden;width:var(--ic-space-md);height:var(--ic-space-md)}:host(.ic-tooltip) .ic-tooltip-arrow::before{visibility:visible;content:\"\";border:var(--ic-border-width) solid var(--ic-tooltip-border);width:100%;height:100%}:host(.ic-tooltip) .ic-tooltip-container[data-show]{display:block}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"top\"]>.ic-tooltip-arrow{height:var(--ic-space-xxxs)}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"top\"]>.ic-tooltip-arrow::before{border-radius:0 0 var(--ic-border-radius) var(--ic-border-radius);left:0;top:var(--ic-space-xxxs);border-top:0;transform:translateX(var(--tooltip-arrow-translate))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"bottom\"]>.ic-tooltip-arrow{top:calc(-1 * var(--ic-space-xxs));height:var(--ic-space-xxxs)}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"bottom\"]>.ic-tooltip-arrow::before{border-radius:var(--ic-border-radius) var(--ic-border-radius) 0 0;left:0;top:var(--ic-space-1px);border-bottom:0;transform:translateX(var(--tooltip-arrow-translate))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"left\"]>.ic-tooltip-arrow{width:var(--ic-space-xxxs);right:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"left\"]>.ic-tooltip-arrow::before{border-radius:0 var(--ic-border-radius) var(--ic-border-radius) 0;border-left:0;top:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"right\"]>.ic-tooltip-arrow{width:var(--ic-space-xxxs);left:calc(-1 * var(--ic-space-xxs))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"right\"]>.ic-tooltip-arrow::before{border-radius:var(--ic-border-radius) 0 0 var(--ic-border-radius);border-right:0;top:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip-in-container){display:inline-block}@media screen and (max-width: 576px){:host(.ic-tooltip) .ic-tooltip-container{max-width:18.875rem}}@media (forced-colors: active){:host(.ic-tooltip) .ic-tooltip-container,:host(.ic-tooltip) .ic-tooltip-arrow::before{border:var(--ic-border-hc)}}";
|
|
20560
|
+
const icTooltipCss = "/*! 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(.ic-tooltip){width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;--ic-tooltip-background:var(--ic-color-background-primary-dark);--ic-tooltip-text:var(--ic-color-text-primary-dark);--ic-tooltip-border:var(--ic-color-border-neutral-grey-light)}:host(.ic-tooltip) .ic-tooltip-container{background-color:var(--ic-tooltip-background);text-align:center;padding:var(--ic-space-xxxs) var(--ic-space-xs);border-radius:var(--ic-border-radius);border:var(--ic-border-width) solid var(--ic-tooltip-border);position:absolute;max-width:20rem;display:none;z-index:var(--ic-z-index-tooltip);box-shadow:var(--ic-elevation-overlay);width:-moz-max-content;width:max-content}:host(.ic-tooltip) ic-typography{--ic-typography-color:var(--ic-tooltip-text)}:host(.tooltip-navigation-item:not(.tooltip-navigation-item-side-nav-collapsed)) .ic-tooltip-container,:host(.tooltip-disabled) .ic-tooltip-container{display:none !important}:host(.tooltip-long-label-navigation-item-side-nav-expanded) .ic-tooltip-container[data-show]{display:block !important}:host(.ic-tooltip) .ic-tooltip-arrow,:host(.ic-tooltip) .ic-tooltip-arrow::before{position:absolute;background:inherit}:host(.ic-tooltip) .ic-tooltip-arrow{visibility:hidden;width:var(--ic-space-md);height:var(--ic-space-md)}:host(.ic-tooltip) .ic-tooltip-arrow::before{visibility:visible;content:\"\";border:var(--ic-border-width) solid var(--ic-tooltip-border);width:100%;height:100%}:host(.ic-tooltip) .ic-tooltip-container[data-show]{display:block}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"top\"]>.ic-tooltip-arrow{height:var(--ic-space-xxxs)}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"top\"]>.ic-tooltip-arrow::before{border-radius:0 0 var(--ic-border-radius) var(--ic-border-radius);left:0;top:var(--ic-space-xxxs);border-top:0;transform:translateX(var(--tooltip-arrow-translate))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"bottom\"]>.ic-tooltip-arrow{top:calc(-1 * var(--ic-space-xxs));height:var(--ic-space-xxxs)}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"bottom\"]>.ic-tooltip-arrow::before{border-radius:var(--ic-border-radius) var(--ic-border-radius) 0 0;left:0;top:var(--ic-space-1px);border-bottom:0;transform:translateX(var(--tooltip-arrow-translate))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"left\"]>.ic-tooltip-arrow{width:var(--ic-space-xxxs);right:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"left\"]>.ic-tooltip-arrow::before{border-radius:0 var(--ic-border-radius) var(--ic-border-radius) 0;border-left:0;top:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"right\"]>.ic-tooltip-arrow{width:var(--ic-space-xxxs);left:calc(-1 * var(--ic-space-xxs))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"right\"]>.ic-tooltip-arrow::before{border-radius:var(--ic-border-radius) 0 0 var(--ic-border-radius);border-right:0;top:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip-in-container){display:inline-block}:host(.ic-tooltip.ic-tooltip-with-icon) .ic-tooltip-content{display:flex;align-items:flex-start;justify-content:flex-start;gap:var(--ic-space-xxs);text-align:left}:host(.ic-tooltip.ic-tooltip-with-icon) .ic-icon-container{width:var(--ic-space-md);height:var(--ic-space-md);color:var(--ic-tooltip-text)}:host(.ic-tooltip.ic-tooltip-with-icon) ::slotted([slot=\"icon\"]){width:var(--ic-space-md);height:var(--ic-space-md);display:inline-block;margin-top:var(--ic-space-1px)}@media screen and (max-width: 576px){:host(.ic-tooltip) .ic-tooltip-container{max-width:18.875rem}}@media (forced-colors: active){:host(.ic-tooltip) .ic-tooltip-container,:host(.ic-tooltip) .ic-tooltip-arrow::before{border:var(--ic-border-hc)}}";
|
|
20604
20561
|
var IcTooltipStyle0 = icTooltipCss;
|
|
20605
20562
|
|
|
20563
|
+
/**
|
|
20564
|
+
* @slot icon - Icon will be rendered to the left of the tooltip text.
|
|
20565
|
+
*/
|
|
20606
20566
|
class Tooltip {
|
|
20607
20567
|
constructor(hostRef) {
|
|
20608
20568
|
registerInstance(this, hostRef);
|
|
@@ -20793,6 +20753,10 @@ class Tooltip {
|
|
|
20793
20753
|
}
|
|
20794
20754
|
this.containerContentArea =
|
|
20795
20755
|
(_b = (_a = container === null || container === void 0 ? void 0 : container.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".content-area")) !== null && _b !== void 0 ? _b : null;
|
|
20756
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, "icon"));
|
|
20757
|
+
this.hostMutationObserver.observe(this.el, {
|
|
20758
|
+
childList: true,
|
|
20759
|
+
});
|
|
20796
20760
|
onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Tooltip");
|
|
20797
20761
|
}
|
|
20798
20762
|
componentDidRender() {
|
|
@@ -20801,6 +20765,9 @@ class Tooltip {
|
|
|
20801
20765
|
this.maxLines &&
|
|
20802
20766
|
this.maxLines > 0 &&
|
|
20803
20767
|
(typographyEl === null || typographyEl === void 0 ? void 0 : typographyEl.setAttribute("style", `--truncation-max-lines: ${this.maxLines}`));
|
|
20768
|
+
if (this.iconAltText && !isSlotUsed(this.el, "icon")) {
|
|
20769
|
+
console.warn(`Prop 'iconAltText' is provided without an icon slotted in the 'icon' slot. Please provide an icon or remove the 'iconAltText' prop.`);
|
|
20770
|
+
}
|
|
20804
20771
|
}
|
|
20805
20772
|
/**
|
|
20806
20773
|
* Method to programmatically show/hide the tooltip without needing to interact with an anchor element
|
|
@@ -20819,10 +20786,11 @@ class Tooltip {
|
|
|
20819
20786
|
}
|
|
20820
20787
|
render() {
|
|
20821
20788
|
const { label, maxLines, silent, theme } = this;
|
|
20822
|
-
return (hAsync(Host, { key: '
|
|
20789
|
+
return (hAsync(Host, { key: 'f9990c54172e8fda3d24a9f613ff5328018b9c6c', class: {
|
|
20823
20790
|
"ic-tooltip": true,
|
|
20824
20791
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
20825
|
-
|
|
20792
|
+
"ic-tooltip-with-icon": isSlotUsed(this.el, "icon"),
|
|
20793
|
+
}, "aria-label": isSafari && label }, hAsync("div", { key: '1b09f90e4da36ec2470bef240be537dc3642c922', ref: (el) => (this.toolTip = el), role: "tooltip", class: "ic-tooltip-container", "aria-hidden": `${silent}` }, hAsync("div", { key: '1cbfb4ce2ba7fce474330e70aab9f6820845b80d', class: "ic-tooltip-content" }, isSlotUsed(this.el, "icon") && (hAsync("div", { key: '3b82f426322ae769893569dc7c649f0ada256ad2', class: "ic-icon-container", "aria-hidden": `${!this.iconAltText}`, "aria-label": this.iconAltText, role: "img" }, hAsync("slot", { key: '7dd357c6339e36a9d830d74e042f2772b6d1fb4e', name: "icon", "aria-hidden": "true" }))), hAsync("ic-typography", { key: '959297e6c8134160c67aaea1f09b06b30bdc6bbb', maxLines: maxLines, variant: "caption" }, label)), hAsync("div", { key: '8be3a57f5e5c7dcb1b16544ab18aa2fbf9f76ad6', ref: (el) => (this.arrow = el), class: "ic-tooltip-arrow" })), hAsync("slot", { key: 'cb9ede12f1da7cf478cff4ae6914693e0ec3f560' })));
|
|
20826
20794
|
}
|
|
20827
20795
|
get el() { return getElement(this); }
|
|
20828
20796
|
static get watchers() { return {
|
|
@@ -20838,6 +20806,7 @@ class Tooltip {
|
|
|
20838
20806
|
"disableClick": [4, "disable-click"],
|
|
20839
20807
|
"disableHover": [4, "disable-hover"],
|
|
20840
20808
|
"fixedPositioning": [4, "fixed-positioning"],
|
|
20809
|
+
"iconAltText": [1, "icon-alt-text"],
|
|
20841
20810
|
"maxLines": [2, "max-lines"],
|
|
20842
20811
|
"placement": [1],
|
|
20843
20812
|
"silent": [4],
|
|
@@ -21287,7 +21256,7 @@ class Typography {
|
|
|
21287
21256
|
render() {
|
|
21288
21257
|
var _a, _b;
|
|
21289
21258
|
const { variant, applyVerticalMargins, maxLines, truncated, expanded, strikethrough, underline, italic, bold, theme, } = this;
|
|
21290
|
-
return (hAsync(Host, { key: '
|
|
21259
|
+
return (hAsync(Host, { key: 'ebe035263fde8a7f2d24b8c40386caa8920bc506', class: {
|
|
21291
21260
|
[`ic-typography-${variant}`]: true,
|
|
21292
21261
|
[`ic-typography-vertical-margins-${variant}`]: !!applyVerticalMargins,
|
|
21293
21262
|
["ic-typography-bold"]: !!bold,
|
|
@@ -21300,7 +21269,7 @@ class Typography {
|
|
|
21300
21269
|
((_b = (_a = this.el.getRootNode()) === null || _a === void 0 ? void 0 : _a.host) === null || _b === void 0 ? void 0 : _b.tagName) ===
|
|
21301
21270
|
"IC-TOOLTIP") &&
|
|
21302
21271
|
maxLines &&
|
|
21303
|
-
maxLines > 0 ? (hAsync("div", { class: "trunc-wrapper", ref: (el) => (this.truncWrapperEl = el) }, hAsync("slot", null))) : (hAsync("slot", null)), variant === "body" && maxLines && maxLines > 0 && truncated && (hAsync("button", { key: '
|
|
21272
|
+
maxLines > 0 ? (hAsync("div", { class: "trunc-wrapper", ref: (el) => (this.truncWrapperEl = el) }, hAsync("slot", null))) : (hAsync("slot", null)), variant === "body" && maxLines && maxLines > 0 && truncated && (hAsync("button", { key: '78d2abb16288489fadb3c94a1cf1bbffd78ea67e', class: { "trunc-btn": true, focus: this.truncButtonFocussed }, onFocus: this.truncButtonFocus, onBlur: this.truncButtonBlur, onMouseDown: this.truncButtonFocusFromMouse, onClick: this.toggleExpanded }, expanded ? "See less" : "See more"))));
|
|
21304
21273
|
}
|
|
21305
21274
|
get el() { return getElement(this); }
|
|
21306
21275
|
static get watchers() { return {
|