@ukic/web-components 3.4.0 → 3.5.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-fc4016d2.js → helpers-931fd72e.js} +30 -32
- package/dist/cjs/helpers-931fd72e.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-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 +135 -142
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-vertical.cjs.entry.js +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +5 -5
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
- 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 +2 -2
- 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-input-component-container_3.cjs.entry.js +19 -14
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +36 -13
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-menu-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +31 -39
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +7 -4
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +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-item.cjs.entry.js +2 -2
- package/dist/cjs/ic-pagination.cjs.entry.js +5 -5
- package/dist/cjs/ic-popover-menu.cjs.entry.js +5 -5
- package/dist/cjs/ic-radio-group.cjs.entry.js +6 -6
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +5 -5
- package/dist/cjs/ic-search-bar.cjs.entry.js +28 -12
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
- package/dist/cjs/ic-select.cjs.entry.js +8 -8
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +16 -17
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- 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 +6 -6
- 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-text-field.cjs.entry.js +8 -8
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +2 -2
- package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +4 -4
- 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 +15 -9
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/ag-theme-icds.css +24 -4
- package/dist/collection/components/ic-button/ic-button.js +3 -3
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +10 -2
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +6 -3
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.stories.js +22 -0
- 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 +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.css +2 -1
- package/dist/collection/components/ic-input-label/ic-input-label.js +31 -8
- package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
- package/dist/collection/components/ic-input-validation/ic-input-validation.js +3 -3
- package/dist/collection/components/ic-link/ic-link.js +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +3 -3
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +210 -211
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.stories.js +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js.map +1 -1
- package/dist/collection/components/ic-menu/ic-menu.js +56 -10
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu-group/ic-menu-group.js +1 -1
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +38 -47
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +26 -4
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +6 -4
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +4 -4
- package/dist/collection/components/ic-page-header/ic-page-header.js +6 -6
- package/dist/collection/components/ic-pagination/ic-pagination.js +4 -4
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +4 -4
- package/dist/collection/components/ic-radio-group/ic-radio-group.css +10 -2
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +7 -4
- 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 +22 -0
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +4 -4
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +53 -11
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.stories.js +20 -10
- package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
- package/dist/collection/components/ic-select/ic-select.js +8 -7
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select_(multi).stories.js +21 -13
- package/dist/collection/components/ic-select/ic-select_(searchable).stories.js +21 -13
- package/dist/collection/components/ic-select/ic-select_(single).stories.js +17 -9
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +15 -16
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.stories.js +143 -0
- 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 +1 -4
- package/dist/collection/components/ic-switch/ic-switch.js +5 -4
- package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
- package/dist/collection/components/ic-switch/ic-switch.stories.js +8 -1
- 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 +8 -7
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-text-field/ic-text-field.stories.js +12 -1
- package/dist/collection/components/ic-theme/ic-theme.js +1 -1
- package/dist/collection/components/ic-toast/ic-toast.js +3 -3
- 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-top-navigation/ic-top-navigation.css +1 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +13 -7
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
- package/dist/collection/components/ic-typography/ic-typography.js +2 -2
- package/dist/collection/utils/constants.js +1 -1
- package/dist/collection/utils/constants.js.map +1 -1
- package/dist/collection/utils/helpers.js +27 -30
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/components/helpers.js +29 -32
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-button2.js +3 -3
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +4 -4
- package/dist/components/ic-checkbox-group.js.map +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 +1 -1
- package/dist/components/ic-empty-state.js +2 -2
- package/dist/components/ic-footer-link.js +2 -2
- package/dist/components/ic-hero.js +4 -4
- package/dist/components/ic-horizontal-scroll2.js +5 -5
- package/dist/components/ic-input-component-container2.js +3 -3
- package/dist/components/ic-input-container2.js +2 -2
- package/dist/components/ic-input-label2.js +33 -10
- package/dist/components/ic-input-label2.js.map +1 -1
- package/dist/components/ic-input-validation2.js +3 -3
- package/dist/components/ic-link2.js +1 -1
- package/dist/components/ic-loading-indicator2.js +139 -143
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-group.js +1 -1
- package/dist/components/ic-menu2.js +16 -9
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +32 -41
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js +8 -5
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +2 -2
- package/dist/components/ic-navigation-item.js.map +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-item2.js +2 -2
- package/dist/components/ic-pagination.js +4 -4
- package/dist/components/ic-popover-menu.js +4 -4
- package/dist/components/ic-radio-group.js +5 -5
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +4 -4
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +31 -12
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-section-container2.js +2 -2
- package/dist/components/ic-select.js +8 -8
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +16 -17
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js +2 -2
- package/dist/components/ic-skip-link.js +2 -2
- package/dist/components/ic-status-tag.js +2 -2
- package/dist/components/ic-step.js +13 -13
- package/dist/components/ic-stepper.js +2 -2
- package/dist/components/ic-switch.js +5 -5
- 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-tab-panel.js.map +1 -1
- package/dist/components/ic-text-field.js +8 -8
- package/dist/components/ic-text-field.js.map +1 -1
- package/dist/components/ic-theme.js +2 -2
- package/dist/components/ic-toast-region.js +1 -1
- package/dist/components/ic-toast.js +4 -4
- package/dist/components/ic-toggle-button-group.js +2 -2
- package/dist/components/ic-toggle-button.js +3 -3
- package/dist/components/ic-top-navigation.js +15 -9
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-typography2.js +2 -2
- package/dist/core/ag-theme-icds.css +24 -4
- package/dist/core/core.css +29 -25
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-7deaf128.entry.js → p-0f3a56bb.entry.js} +2 -2
- package/dist/core/p-0f3a56bb.entry.js.map +1 -0
- package/dist/core/{p-c5ffe2cf.entry.js → p-0f86ea09.entry.js} +2 -2
- package/dist/core/p-1228fd8c.entry.js +2 -0
- package/dist/core/{p-887e00bb.entry.js.map → p-1228fd8c.entry.js.map} +1 -1
- package/dist/core/{p-aad2abbf.entry.js → p-1286b234.entry.js} +2 -2
- package/dist/core/p-1286b234.entry.js.map +1 -0
- package/dist/core/{p-d82b27df.entry.js → p-13e65198.entry.js} +2 -2
- package/dist/core/{p-9a6dc8b1.entry.js → p-20a6dc40.entry.js} +2 -2
- package/dist/core/{p-4e48a671.entry.js → p-21ed856c.entry.js} +2 -2
- package/dist/core/{p-a140bcaa.entry.js → p-226406d6.entry.js} +2 -2
- package/dist/core/{p-7d2c07e2.entry.js → p-24bb2265.entry.js} +2 -2
- package/dist/core/{p-5eb2ac90.entry.js → p-2b342b23.entry.js} +2 -2
- package/dist/core/{p-8958c60f.entry.js → p-334672c1.entry.js} +2 -2
- package/dist/core/{p-dee21f6d.entry.js → p-3448c713.entry.js} +2 -2
- package/dist/core/{p-6cd0b010.entry.js → p-37900547.entry.js} +2 -2
- package/dist/core/{p-7d352865.entry.js → p-3abaa877.entry.js} +2 -2
- package/dist/core/p-3abaa877.entry.js.map +1 -0
- package/dist/core/{p-ef36181d.entry.js → p-3afc2870.entry.js} +2 -2
- package/dist/core/{p-aad10013.entry.js → p-3d7d2ff4.entry.js} +2 -2
- package/dist/core/p-41bb4db1.entry.js +2 -0
- package/dist/core/p-41bb4db1.entry.js.map +1 -0
- package/dist/core/{p-6eea869b.entry.js → p-44902a33.entry.js} +2 -2
- package/dist/core/{p-628c32b8.entry.js → p-476eac8c.entry.js} +2 -2
- package/dist/core/{p-56e0de32.entry.js → p-49ca3f54.entry.js} +2 -2
- package/dist/core/{p-56fb0298.entry.js → p-4dfc41e7.entry.js} +2 -2
- package/dist/core/{p-23536595.entry.js → p-5026eeaf.entry.js} +2 -2
- package/dist/core/{p-4a2acb2e.entry.js → p-54ea7120.entry.js} +2 -2
- package/dist/core/{p-a17499ff.entry.js → p-5b2bf9bb.entry.js} +2 -2
- package/dist/core/{p-ef4b752c.entry.js → p-5d9b23ce.entry.js} +2 -2
- package/dist/core/{p-4dc97b03.entry.js → p-5f9d1977.entry.js} +2 -2
- package/dist/core/p-5f9d1977.entry.js.map +1 -0
- package/dist/core/{p-e38fddbb.entry.js → p-6c10e1a2.entry.js} +2 -2
- package/dist/core/{p-51b49429.entry.js → p-6cb81f35.entry.js} +2 -2
- package/dist/core/{p-d4903dcd.entry.js → p-6dd73165.entry.js} +2 -2
- package/dist/core/{p-fc4f7180.entry.js → p-7ead8535.entry.js} +2 -2
- package/dist/core/{p-c8cf1ad5.entry.js → p-831e884c.entry.js} +2 -2
- package/dist/core/{p-fa38ad2e.entry.js → p-85f735ed.entry.js} +2 -2
- package/dist/core/p-89f493f3.entry.js +2 -0
- package/dist/core/p-89f493f3.entry.js.map +1 -0
- package/dist/core/{p-dfc8cba6.entry.js → p-8da025b5.entry.js} +2 -2
- package/dist/core/p-990c37aa.entry.js +2 -0
- package/dist/core/p-990c37aa.entry.js.map +1 -0
- package/dist/core/{p-803f2eb8.entry.js → p-9e039aba.entry.js} +2 -2
- package/dist/core/{p-3cb4ecef.entry.js → p-9e051db4.entry.js} +2 -2
- package/dist/core/{p-1d172032.entry.js → p-9edc5973.entry.js} +2 -2
- package/dist/core/{p-2c371198.entry.js → p-a14025cc.entry.js} +2 -2
- package/dist/core/p-a7286727.entry.js +2 -0
- package/dist/core/p-a7286727.entry.js.map +1 -0
- package/dist/core/{p-cfa9ed7d.entry.js → p-ab4e8b4a.entry.js} +2 -2
- package/dist/core/{p-dcce0dfd.entry.js → p-ab7a5536.entry.js} +2 -2
- package/dist/core/{p-26dfc4db.entry.js → p-ac73cfb8.entry.js} +2 -2
- package/dist/core/{p-1d254b71.entry.js → p-ad374f0b.entry.js} +2 -2
- package/dist/core/{p-513628ef.entry.js → p-b08bb522.entry.js} +2 -2
- package/dist/core/{p-e2629bfe.entry.js → p-b1b27b7e.entry.js} +2 -2
- package/dist/core/p-b40ecf16.js +2 -0
- package/dist/core/p-b40ecf16.js.map +1 -0
- package/dist/core/{p-5aec3757.entry.js → p-b59007a3.entry.js} +2 -2
- package/dist/core/{p-87fa5add.entry.js → p-b811c7a1.entry.js} +2 -2
- package/dist/core/p-b811c7a1.entry.js.map +1 -0
- package/dist/core/p-bae2df5e.entry.js +2 -0
- package/dist/core/p-bae2df5e.entry.js.map +1 -0
- package/dist/core/{p-d8ce39ac.entry.js → p-c8555360.entry.js} +2 -2
- package/dist/core/{p-60aad45d.entry.js → p-ced2e6ca.entry.js} +2 -2
- package/dist/core/{p-de1e04ac.entry.js → p-d281c3cf.entry.js} +2 -2
- package/dist/core/p-d32c377d.entry.js +2 -0
- package/dist/core/p-d32c377d.entry.js.map +1 -0
- package/dist/core/p-d4a77f80.entry.js +2 -0
- package/dist/core/p-d4a77f80.entry.js.map +1 -0
- package/dist/core/{p-9c47521d.entry.js → p-d7476f6d.entry.js} +2 -2
- package/dist/core/{p-8c77dd65.entry.js → p-e107d1dd.entry.js} +2 -2
- package/dist/core/p-e506ec91.entry.js +2 -0
- package/dist/core/p-e506ec91.entry.js.map +1 -0
- package/dist/core/{p-bf3b853e.entry.js → p-fc5661ac.entry.js} +2 -2
- package/dist/core/p-fca45edb.entry.js +2 -0
- package/dist/core/p-fca45edb.entry.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-f2ffaa7c.js → helpers-91abc444.js} +30 -33
- package/dist/esm/helpers-91abc444.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-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 +135 -142
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card-vertical.entry.js +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +5 -5
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +1 -1
- 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 +2 -2
- 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-input-component-container_3.entry.js +19 -14
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +36 -13
- package/dist/esm/ic-input-label_2.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +2 -2
- package/dist/esm/ic-menu-group.entry.js +2 -2
- package/dist/esm/ic-menu-item.entry.js +1 -1
- package/dist/esm/ic-navigation-button.entry.js +31 -39
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +7 -4
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +2 -2
- package/dist/esm/ic-navigation-item.entry.js.map +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-item.entry.js +2 -2
- package/dist/esm/ic-pagination.entry.js +5 -5
- package/dist/esm/ic-popover-menu.entry.js +5 -5
- package/dist/esm/ic-radio-group.entry.js +6 -6
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +5 -5
- package/dist/esm/ic-search-bar.entry.js +28 -12
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-section-container.entry.js +2 -2
- package/dist/esm/ic-select.entry.js +8 -8
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +16 -17
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- 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 +6 -6
- 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-text-field.entry.js +8 -8
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +2 -2
- package/dist/esm/ic-toast-region.entry.js +1 -1
- package/dist/esm/ic-toast.entry.js +4 -4
- 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 +15 -9
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +3 -0
- package/dist/types/components/ic-input-label/ic-input-label.d.ts +2 -0
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +28 -32
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +2 -0
- package/dist/types/components/ic-menu/ic-menu.d.ts +7 -0
- package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +8 -5
- package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +4 -1
- package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +3 -0
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +11 -0
- package/dist/types/components/ic-select/ic-select.d.ts +1 -0
- package/dist/types/components/ic-switch/ic-switch.d.ts +1 -0
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +1 -0
- package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +1 -0
- package/dist/types/components.d.ts +33 -13
- package/dist/types/utils/constants.d.ts +1 -1
- package/dist/types/utils/helpers.d.ts +1 -1
- package/hydrate/index.js +445 -396
- package/hydrate/index.mjs +445 -396
- package/package.json +3 -5
- package/vscode-data.json +8 -0
- package/dist/cjs/helpers-fc4016d2.js.map +0 -1
- package/dist/core/p-0fb68b4f.entry.js +0 -2
- package/dist/core/p-0fb68b4f.entry.js.map +0 -1
- package/dist/core/p-15b7adaf.entry.js +0 -2
- package/dist/core/p-15b7adaf.entry.js.map +0 -1
- package/dist/core/p-3676ac4e.entry.js +0 -2
- package/dist/core/p-3676ac4e.entry.js.map +0 -1
- package/dist/core/p-432aeae0.entry.js +0 -2
- package/dist/core/p-432aeae0.entry.js.map +0 -1
- package/dist/core/p-4dc97b03.entry.js.map +0 -1
- package/dist/core/p-554845c4.entry.js +0 -2
- package/dist/core/p-554845c4.entry.js.map +0 -1
- package/dist/core/p-59b48450.entry.js +0 -2
- package/dist/core/p-59b48450.entry.js.map +0 -1
- package/dist/core/p-7d352865.entry.js.map +0 -1
- package/dist/core/p-7deaf128.entry.js.map +0 -1
- package/dist/core/p-8242c24f.js +0 -2
- package/dist/core/p-8242c24f.js.map +0 -1
- package/dist/core/p-87fa5add.entry.js.map +0 -1
- package/dist/core/p-887e00bb.entry.js +0 -2
- package/dist/core/p-aad2abbf.entry.js.map +0 -1
- package/dist/core/p-bdcc79dd.entry.js +0 -2
- package/dist/core/p-bdcc79dd.entry.js.map +0 -1
- package/dist/core/p-c59fd23e.entry.js +0 -2
- package/dist/core/p-c59fd23e.entry.js.map +0 -1
- package/dist/core/p-eca6e215.entry.js +0 -2
- package/dist/core/p-eca6e215.entry.js.map +0 -1
- package/dist/esm/helpers-f2ffaa7c.js.map +0 -1
- /package/dist/core/{p-c5ffe2cf.entry.js.map → p-0f86ea09.entry.js.map} +0 -0
- /package/dist/core/{p-d82b27df.entry.js.map → p-13e65198.entry.js.map} +0 -0
- /package/dist/core/{p-9a6dc8b1.entry.js.map → p-20a6dc40.entry.js.map} +0 -0
- /package/dist/core/{p-4e48a671.entry.js.map → p-21ed856c.entry.js.map} +0 -0
- /package/dist/core/{p-a140bcaa.entry.js.map → p-226406d6.entry.js.map} +0 -0
- /package/dist/core/{p-7d2c07e2.entry.js.map → p-24bb2265.entry.js.map} +0 -0
- /package/dist/core/{p-5eb2ac90.entry.js.map → p-2b342b23.entry.js.map} +0 -0
- /package/dist/core/{p-8958c60f.entry.js.map → p-334672c1.entry.js.map} +0 -0
- /package/dist/core/{p-dee21f6d.entry.js.map → p-3448c713.entry.js.map} +0 -0
- /package/dist/core/{p-6cd0b010.entry.js.map → p-37900547.entry.js.map} +0 -0
- /package/dist/core/{p-ef36181d.entry.js.map → p-3afc2870.entry.js.map} +0 -0
- /package/dist/core/{p-aad10013.entry.js.map → p-3d7d2ff4.entry.js.map} +0 -0
- /package/dist/core/{p-6eea869b.entry.js.map → p-44902a33.entry.js.map} +0 -0
- /package/dist/core/{p-628c32b8.entry.js.map → p-476eac8c.entry.js.map} +0 -0
- /package/dist/core/{p-56e0de32.entry.js.map → p-49ca3f54.entry.js.map} +0 -0
- /package/dist/core/{p-56fb0298.entry.js.map → p-4dfc41e7.entry.js.map} +0 -0
- /package/dist/core/{p-23536595.entry.js.map → p-5026eeaf.entry.js.map} +0 -0
- /package/dist/core/{p-4a2acb2e.entry.js.map → p-54ea7120.entry.js.map} +0 -0
- /package/dist/core/{p-a17499ff.entry.js.map → p-5b2bf9bb.entry.js.map} +0 -0
- /package/dist/core/{p-ef4b752c.entry.js.map → p-5d9b23ce.entry.js.map} +0 -0
- /package/dist/core/{p-e38fddbb.entry.js.map → p-6c10e1a2.entry.js.map} +0 -0
- /package/dist/core/{p-51b49429.entry.js.map → p-6cb81f35.entry.js.map} +0 -0
- /package/dist/core/{p-d4903dcd.entry.js.map → p-6dd73165.entry.js.map} +0 -0
- /package/dist/core/{p-fc4f7180.entry.js.map → p-7ead8535.entry.js.map} +0 -0
- /package/dist/core/{p-c8cf1ad5.entry.js.map → p-831e884c.entry.js.map} +0 -0
- /package/dist/core/{p-fa38ad2e.entry.js.map → p-85f735ed.entry.js.map} +0 -0
- /package/dist/core/{p-dfc8cba6.entry.js.map → p-8da025b5.entry.js.map} +0 -0
- /package/dist/core/{p-803f2eb8.entry.js.map → p-9e039aba.entry.js.map} +0 -0
- /package/dist/core/{p-3cb4ecef.entry.js.map → p-9e051db4.entry.js.map} +0 -0
- /package/dist/core/{p-1d172032.entry.js.map → p-9edc5973.entry.js.map} +0 -0
- /package/dist/core/{p-2c371198.entry.js.map → p-a14025cc.entry.js.map} +0 -0
- /package/dist/core/{p-cfa9ed7d.entry.js.map → p-ab4e8b4a.entry.js.map} +0 -0
- /package/dist/core/{p-dcce0dfd.entry.js.map → p-ab7a5536.entry.js.map} +0 -0
- /package/dist/core/{p-26dfc4db.entry.js.map → p-ac73cfb8.entry.js.map} +0 -0
- /package/dist/core/{p-1d254b71.entry.js.map → p-ad374f0b.entry.js.map} +0 -0
- /package/dist/core/{p-513628ef.entry.js.map → p-b08bb522.entry.js.map} +0 -0
- /package/dist/core/{p-e2629bfe.entry.js.map → p-b1b27b7e.entry.js.map} +0 -0
- /package/dist/core/{p-5aec3757.entry.js.map → p-b59007a3.entry.js.map} +0 -0
- /package/dist/core/{p-d8ce39ac.entry.js.map → p-c8555360.entry.js.map} +0 -0
- /package/dist/core/{p-60aad45d.entry.js.map → p-ced2e6ca.entry.js.map} +0 -0
- /package/dist/core/{p-de1e04ac.entry.js.map → p-d281c3cf.entry.js.map} +0 -0
- /package/dist/core/{p-9c47521d.entry.js.map → p-d7476f6d.entry.js.map} +0 -0
- /package/dist/core/{p-8c77dd65.entry.js.map → p-e107d1dd.entry.js.map} +0 -0
- /package/dist/core/{p-bf3b853e.entry.js.map → p-fc5661ac.entry.js.map} +0 -0
package/hydrate/index.js
CHANGED
@@ -3212,7 +3212,7 @@ const IC_BLOCK_COLOR_COMPONENTS = [
|
|
3212
3212
|
"ic-footer",
|
3213
3213
|
"ic-side-navigation",
|
3214
3214
|
"ic-alert",
|
3215
|
-
];
|
3215
|
+
].join(",");
|
3216
3216
|
const IC_FIXED_COLOR_COMPONENTS = ["ic-alert"];
|
3217
3217
|
const IC_BLOCK_COLOR_EXCEPTIONS = {
|
3218
3218
|
"ic-alert": ["ic-link", "ic-button"],
|
@@ -3373,7 +3373,9 @@ const removeHiddenInput = (container) => {
|
|
3373
3373
|
const hasShadowDom = (el) => !!el && !!el.shadowRoot && !!el.attachShadow;
|
3374
3374
|
const getInputHelperTextID = (id) => id + "-helper-text";
|
3375
3375
|
const getInputValidationTextID = (id) => id + "-validation-text";
|
3376
|
-
const getInputDescribedByText = (inputId, helperText, validationText) => `${
|
3376
|
+
const getInputDescribedByText = (el, inputId, helperText, validationText) => `${isSlotUsed(el, "helper-text") || helperText
|
3377
|
+
? getInputHelperTextID(inputId)
|
3378
|
+
: ""} ${validationText ? getInputValidationTextID(inputId) : ""}`.trim();
|
3377
3379
|
/**
|
3378
3380
|
* This method helps to understand the context in which a component exists,
|
3379
3381
|
* to assist with choosing appropriate foreground colours to use. For example,
|
@@ -3389,25 +3391,24 @@ const getInputDescribedByText = (inputId, helperText, validationText) => `${help
|
|
3389
3391
|
const getBrandFromContext = (el, brandFromEvent = null) => {
|
3390
3392
|
var _a;
|
3391
3393
|
const parentElement = el.parentElement || el.getRootNode().host.parentElement;
|
3392
|
-
const blockColorParent = parentElement === null || parentElement === void 0 ? void 0 : parentElement.closest(IC_BLOCK_COLOR_COMPONENTS
|
3393
|
-
|
3394
|
-
|
3395
|
-
|
3396
|
-
|
3397
|
-
|
3398
|
-
|
3399
|
-
|
3400
|
-
|
3401
|
-
|
3402
|
-
|
3403
|
-
|
3404
|
-
|
3405
|
-
|
3406
|
-
|
3407
|
-
|
3394
|
+
const blockColorParent = parentElement === null || parentElement === void 0 ? void 0 : parentElement.closest(IC_BLOCK_COLOR_COMPONENTS);
|
3395
|
+
if (!blockColorParent)
|
3396
|
+
return IcBrandForegroundEnum.Default;
|
3397
|
+
const parentTag = blockColorParent.tagName.toLowerCase();
|
3398
|
+
if ((_a = IC_BLOCK_COLOR_EXCEPTIONS[parentTag]) === null || _a === void 0 ? void 0 : _a.includes(el.tagName.toLowerCase())) {
|
3399
|
+
return IcBrandForegroundEnum.Default;
|
3400
|
+
}
|
3401
|
+
else if (brandFromEvent !== null &&
|
3402
|
+
!IC_FIXED_COLOR_COMPONENTS.includes(parentTag)) {
|
3403
|
+
return brandFromEvent;
|
3404
|
+
}
|
3405
|
+
else if (blockColorParent.classList.contains(`${parentTag}-${IcBrandForegroundEnum.Dark}`) ||
|
3406
|
+
blockColorParent.classList.contains(IcBrandForegroundEnum.Dark)) {
|
3407
|
+
return IcBrandForegroundEnum.Dark;
|
3408
|
+
}
|
3409
|
+
else {
|
3408
3410
|
return IcBrandForegroundEnum.Light;
|
3409
3411
|
}
|
3410
|
-
return IcBrandForegroundEnum.Default;
|
3411
3412
|
};
|
3412
3413
|
/**
|
3413
3414
|
* Checks if the current device is a mobile or tablet device.
|
@@ -3425,12 +3426,13 @@ const isMobileOrTablet = () => "maxTouchPoints" in navigator && "userAgent" in n
|
|
3425
3426
|
* @param button - shadowDOM button
|
3426
3427
|
*/
|
3427
3428
|
const handleHiddenFormButtonClick = (form, button) => {
|
3428
|
-
|
3429
|
-
button
|
3429
|
+
var _a, _b;
|
3430
|
+
const hiddenFormButton = (_a = document.querySelector("#hidden-form-button")) !== null && _a !== void 0 ? _a : document.createElement("button");
|
3431
|
+
hiddenFormButton.setAttribute("type", (_b = button.type) !== null && _b !== void 0 ? _b : "button");
|
3432
|
+
hiddenFormButton.id = "hidden-form-button";
|
3430
3433
|
hiddenFormButton.style.display = "none";
|
3431
3434
|
form.appendChild(hiddenFormButton);
|
3432
3435
|
hiddenFormButton.click();
|
3433
|
-
hiddenFormButton.remove();
|
3434
3436
|
};
|
3435
3437
|
const isEmptyString = (value) => !value || value.trim().length === 0;
|
3436
3438
|
// A helper function that checks if a prop has been defined
|
@@ -3526,15 +3528,10 @@ const getCssProperty = (cssVar) => getComputedStyle(document.documentElement).ge
|
|
3526
3528
|
* This is a similar calculation to its CSS counterpart: "--ic-brand-text-color"
|
3527
3529
|
* @returns number representing the brightness of the theme colour
|
3528
3530
|
*/
|
3529
|
-
const getBrandColorBrightness = () =>
|
3530
|
-
|
3531
|
-
|
3532
|
-
|
3533
|
-
return ((parseInt(themeRed) * 299 +
|
3534
|
-
parseInt(themeGreen) * 587 +
|
3535
|
-
parseInt(themeBlue) * 114) /
|
3536
|
-
1000);
|
3537
|
-
};
|
3531
|
+
const getBrandColorBrightness = () => (parseInt(getCssProperty("--ic-brand-color-primary-r")) * 299 +
|
3532
|
+
parseInt(getCssProperty("--ic-brand-color-primary-g")) * 587 +
|
3533
|
+
parseInt(getCssProperty("--ic-brand-color-primary-b")) * 114) /
|
3534
|
+
1000;
|
3538
3535
|
/**
|
3539
3536
|
* Returns if dark or light foreground colors should be used for color contrast reasons
|
3540
3537
|
* @returns "dark" or "light"
|
@@ -5255,14 +5252,14 @@ class Button {
|
|
5255
5252
|
: undefined;
|
5256
5253
|
const hasLeftIcon = !!this.getSlottedIcon("left");
|
5257
5254
|
const hasRightIcon = !!this.getSlottedIcon("right");
|
5258
|
-
const ButtonContent = () => this.hasRouterSlot() ? (hAsync("slot", { name: "router-item" })) : (hAsync(TagType, Object.assign({ class: "button", "aria-disabled": loading || disabled ? "true" : null, "aria-label": loading ? "Loading" : ariaLabel, "aria-expanded": dropdown && `${dropdownExpanded}` }, buttonAttrs, inheritedAttributes, { onFocus: onFocus, onBlur: onBlur, ref: (el) => (this.buttonEl = el), "aria-describedby": describedby, part: "button" }), loading ? (hAsync("div", { class: "loading-container" }, hAsync("ic-loading-indicator", { type: "linear", monochrome: monochrome, theme: theme }))) : (hAsync(Fragment, null, (hasLeftIcon ||
|
5255
|
+
const ButtonContent = () => this.hasRouterSlot() ? (hAsync("slot", { name: "router-item" })) : (hAsync(TagType, Object.assign({ class: "button", tabindex: 0, "aria-disabled": loading || disabled ? "true" : null, "aria-label": loading ? "Loading" : ariaLabel, "aria-expanded": dropdown && `${dropdownExpanded}` }, buttonAttrs, inheritedAttributes, { onFocus: onFocus, onBlur: onBlur, ref: (el) => (this.buttonEl = el), "aria-describedby": describedby, part: "button" }), loading ? (hAsync("div", { class: "loading-container" }, hAsync("ic-loading-indicator", { type: "linear", monochrome: monochrome, theme: theme }))) : (hAsync(Fragment, null, (hasLeftIcon ||
|
5259
5256
|
(!!this.getSlottedIcon("top") && !hasRightIcon)) && (hAsync("div", { class: "icon-container" }, hAsync("slot", { name: `${hasLeftIcon ? "left" : "top"}-icon` }))), hAsync("slot", null), !dropdown
|
5260
5257
|
? hasRightIcon && (hAsync("div", { class: { "icon-container": true, "right-icon": true } }, hAsync("slot", { name: "right-icon" })))
|
5261
5258
|
: variant !== "icon" &&
|
5262
5259
|
variant !== "destructive" && (hAsync("span", { class: dropdownExpanded
|
5263
5260
|
? "dropdown-expanded"
|
5264
5261
|
: "arrow-dropdown", innerHTML: arrowDropdown }))))));
|
5265
|
-
return (hAsync(Host, { key: '
|
5262
|
+
return (hAsync(Host, { key: '4e8888cdc523c32383945dbf5503a1d9129ed6e9', class: {
|
5266
5263
|
"ic-button-disabled": disabled && !loading,
|
5267
5264
|
"ic-button-full-width": fullWidth,
|
5268
5265
|
"ic-button-loading": loading,
|
@@ -5278,7 +5275,7 @@ class Button {
|
|
5278
5275
|
monochrome,
|
5279
5276
|
"top-icon": isSlotUsed(this.el, "top-icon"),
|
5280
5277
|
"with-badge": isSlotUsed(this.el, "badge"),
|
5281
|
-
}, onClick: handleClick, onKeyDown: handleKeyDown, "aria-owns": ariaOwnsId, "aria-controls": ariaControlsId, "aria-expanded": dropdown && `${dropdownExpanded}` }, hasTooltip && (hAsync("ic-tooltip", { key: '
|
5278
|
+
}, onClick: handleClick, onKeyDown: handleKeyDown, "aria-owns": ariaOwnsId, "aria-controls": ariaControlsId, "aria-expanded": dropdown && `${dropdownExpanded}` }, hasTooltip && (hAsync("ic-tooltip", { key: 'ca33053f91d9716b014aa5fcd419e22cbdc553d8', id: describedby, label: title || ariaLabel, target: buttonId, placement: tooltipPlacement, silent: isIconVariant() && !!ariaLabel }, hAsync(ButtonContent, { key: 'bdfd844921507888ab65db6e46fd3ec4410a62b3' }))), isSlotUsed(this.el, "badge") && hAsync("slot", { key: '1400c01085f417f357a5523b295b022075a3480f', name: "badge" }), !hasTooltip && hAsync(ButtonContent, { key: '36e6969ee4b09ac6fb8b93c3a5d5aa932f0621dc' }), describedByContent && (hAsync("span", { key: 'a4a130e848f981b08d2bc953016d836bc0000b62', id: describedby, class: "ic-button-describedby" }, describedByContent))));
|
5282
5279
|
}
|
5283
5280
|
static get delegatesFocus() { return true; }
|
5284
5281
|
get el() { return getElement(this); }
|
@@ -5691,10 +5688,13 @@ class Checkbox {
|
|
5691
5688
|
}; }
|
5692
5689
|
}
|
5693
5690
|
|
5694
|
-
const icCheckboxGroupCss = "/*! 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-checkbox-group-label);--ic-input-label-helper-text-color:var(--ic-checkbox-group-subtitle);--ic-input-validation-error:var(--ic-checkbox-state-icon-error);--ic-input-validation-status-text-color:var(--ic-checkbox-state-text)}:host(.ic-checkbox-group-disabled){--ic-input-label-text-color:var(--ic-checkbox-group-label-disabled);--ic-input-label-helper-text-color:var(\n --ic-checkbox-group-subtitle-disabled\n )}ic-input-label.error{color:var(--ic-checkbox-group-label-error);--ic-typography-color:var(--ic-checkbox-group-label-error);--ic-input-label-helper-text-color:var(--ic-checkbox-group-subtitle-error)}ic-input-label ic-typography{margin-bottom:var(--ic-space-sm)}:host(.ic-checkbox-group-small) ic-input-label ic-typography{margin-bottom:calc(var(--ic-space-sm) / 2)}ic-input-validation{margin-top:var(--ic-space-sm)}:host(.ic-checkbox-group-small) ic-input-validation{margin-top:calc(var(--ic-space-sm) / 2)}.checkboxes-container{margin-bottom:calc(-1 * var(--ic-space-xxs))}:host(.ic-checkbox-group-small) .checkboxes-container{margin-bottom:calc(-1 * var(--ic-space-xxxs))}.screen-reader-only-text{position:absolute;left:-9999px;background-color:#fff;color:#000;text-transform:none}.screen-reader-only-text:dir(rtl){right:-9999px}";
|
5691
|
+
const icCheckboxGroupCss = "/*! 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-checkbox-group-label);--ic-input-label-helper-text-color:var(--ic-checkbox-group-subtitle);--ic-input-validation-error:var(--ic-checkbox-state-icon-error);--ic-input-validation-status-text-color:var(--ic-checkbox-state-text)}:host(.ic-checkbox-group-disabled){--ic-input-label-text-color:var(--ic-checkbox-group-label-disabled);--ic-input-label-helper-text-color:var(\n --ic-checkbox-group-subtitle-disabled\n )}ic-input-label.error{color:var(--ic-checkbox-group-label-error);--ic-typography-color:var(--ic-checkbox-group-label-error);--ic-input-label-helper-text-color:var(--ic-checkbox-group-subtitle-error)}ic-input-label:not(.with-helper) .ic-typography-label,ic-input-label .helpertext{margin-bottom:var(--ic-space-sm)}:host(.ic-checkbox-group-small) ic-input-label:not(.with-helper) .ic-typography-label,:host(.ic-checkbox-group-small) ic-input-label .helpertext{margin-bottom:calc(var(--ic-space-sm) / 2)}ic-input-label .helpertext{display:block}ic-input-validation{margin-top:var(--ic-space-sm)}:host(.ic-checkbox-group-small) ic-input-validation{margin-top:calc(var(--ic-space-sm) / 2)}.checkboxes-container{margin-bottom:calc(-1 * var(--ic-space-xxs))}:host(.ic-checkbox-group-small) .checkboxes-container{margin-bottom:calc(-1 * var(--ic-space-xxxs))}.screen-reader-only-text{position:absolute;left:-9999px;background-color:#fff;color:#000;text-transform:none}.screen-reader-only-text:dir(rtl){right:-9999px}";
|
5695
5692
|
var IcCheckboxGroupStyle0 = icCheckboxGroupCss;
|
5696
5693
|
|
5697
5694
|
const CHECKBOX_SELECTOR = "ic-checkbox";
|
5695
|
+
/**
|
5696
|
+
* @slot helper-text - Content is set as the helper text for the checkbox group.
|
5697
|
+
*/
|
5698
5698
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
5699
5699
|
class CheckboxGroup {
|
5700
5700
|
constructor(hostRef) {
|
@@ -5784,13 +5784,13 @@ class CheckboxGroup {
|
|
5784
5784
|
}
|
5785
5785
|
render() {
|
5786
5786
|
const { disabled, helperText, hideLabel, label, name, required, size, theme, validationStatus, validationText, } = this;
|
5787
|
-
const describedBy = getInputDescribedByText(name, helperText !== "", validationStatus !== "");
|
5787
|
+
const describedBy = getInputDescribedByText(this.el, name, helperText !== "", validationStatus !== "");
|
5788
5788
|
const renderSRText = validationStatus === "error" || required || hideLabel;
|
5789
|
-
return (hAsync(Host, { key: '
|
5789
|
+
return (hAsync(Host, { key: '3eab3a8d0cc27b77ac7daf1f6d3068533ab675bb', class: {
|
5790
5790
|
"ic-checkbox-group-disabled": !!disabled,
|
5791
5791
|
[`ic-checkbox-group-${size}`]: true,
|
5792
5792
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
5793
|
-
} }, renderSRText && (hAsync("span", { key: '
|
5793
|
+
} }, renderSRText && (hAsync("span", { key: '3cbf05ef6c6df9737d8f40ecbe6db5944f8a2406', id: "screenReaderOnlyText", class: "screen-reader-only-text", "aria-hidden": "true" }, label, " ", validationStatus === "error" ? "invalid data " : null, " ", required ? "required" : null)), hAsync("fieldset", { key: 'ce2d74b5e4f88c2cdfc6b730db2b3763c48df206', id: name, "aria-labelledby": `${renderSRText ? "screenReaderOnlyText" : ""} ${describedBy}`.trim(), disabled: disabled }, !hideLabel && (hAsync("legend", { key: '70a1b515ccd08e731837ee10f248163f342536b2' }, hAsync("ic-input-label", { key: '67be3445bb1dee8a2e1ccee88f16ae58fc81c77e', class: { [`${validationStatus}`]: true }, label: label, helperText: helperText, required: required, disabled: disabled, useLabelTag: false }, hAsync("slot", { key: 'be393bdcf6138057e1e0c65082817f590dbcadf7', name: "helper-text", slot: "helper-text" })))), hAsync("div", { key: 'd43399d04efc5501f5a8b118aedbba213410593b', class: "checkboxes-container" }, hAsync("slot", { key: '96c715128256965fb3acbe3ff5eca7bb5be9897b' }))), hasValidationStatus(validationStatus, disabled) && (hAsync("ic-input-validation", { key: '6b4b02fd8819946472c6a0c60c050ef885168312', for: name, ariaLiveMode: "polite", status: validationStatus, message: validationText }))));
|
5794
5794
|
}
|
5795
5795
|
get el() { return getElement(this); }
|
5796
5796
|
static get watchers() { return {
|
@@ -6051,10 +6051,10 @@ class DataList {
|
|
6051
6051
|
if (size === "small") {
|
6052
6052
|
Array.from(el.children).forEach((child) => child.setAttribute("size", "small"));
|
6053
6053
|
}
|
6054
|
-
return (hAsync(Host, { key: '
|
6054
|
+
return (hAsync(Host, { key: 'a10decea9f6872dd3a86cb4e8d989f1628ddd8dd', class: {
|
6055
6055
|
"ic-data-list-small": size === "small",
|
6056
6056
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
6057
|
-
} }, hAsync("div", { key: '
|
6057
|
+
} }, hAsync("div", { key: '5e818e459c2dd23b6e021d82012150757b7520e9', class: "heading", id: "data-list-heading" }, hAsync("slot", { key: '2d68d50a52c8fc3882aa9138ce427c23ccdbc394', name: "heading" }, hAsync("ic-typography", { key: '275d859a1075fd96294913acf1a3b2b9bb1777c2', variant: "h3" }, heading))), hAsync("div", { key: '06e942c78939bf9526ef3bcebba1c76db3c3f608', class: "divider" }), hAsync("ul", { key: '9e7218ee17444774d184680d27e3e11424953bfc', "aria-labelledby": "data-list-heading", class: "rows" }, hAsync("slot", { key: 'a75aec759140988dc2d673385d7eef1fc0e7dba5' }))));
|
6058
6058
|
}
|
6059
6059
|
get el() { return getElement(this); }
|
6060
6060
|
static get style() { return IcDataListStyle0; }
|
@@ -6144,12 +6144,12 @@ class DataRow {
|
|
6144
6144
|
}
|
6145
6145
|
render() {
|
6146
6146
|
const { el, listSize, hasEndComponent, label, renderCellContent, size, theme, value, } = this;
|
6147
|
-
return (hAsync(Host, { key: '
|
6147
|
+
return (hAsync(Host, { key: '2faf353c648f521406dc1318be100192dece1aab', class: {
|
6148
6148
|
["ic-data-row-small"]: size === "small",
|
6149
6149
|
["breakpoint-medium"]: listSize === "m",
|
6150
6150
|
["breakpoint-xs"]: listSize === "xs",
|
6151
6151
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
6152
|
-
}, role: "listitem" }, hAsync("div", { key: '
|
6152
|
+
}, role: "listitem" }, hAsync("div", { key: '3d8e82d44292400dc5cf92230967eb3c9cc57cd0', class: "data" }, hAsync("div", { key: '1e1edf0e3cefbe7cf2bb7e6ab973e55eeab1c0e3', class: "text-cells" }, (isSlotUsed(el, "label") || label) && renderCellContent("label"), (isSlotUsed(el, "value") || value) && renderCellContent("value")), hasEndComponent && (hAsync("div", { key: '0b60b67c17cce484293060ec5ba89619f527e5c9', class: "end-component" }, hAsync("slot", { key: '403f6290fd00ef44fa02baaeed36932caf6f9902', name: "end-component" })))), hAsync("div", { key: '653123df7e4243474aa5254d948b1666c9b50722', class: "divider" })));
|
6153
6153
|
}
|
6154
6154
|
get el() { return getElement(this); }
|
6155
6155
|
static get style() { return IcDataRowStyle0; }
|
@@ -6511,7 +6511,7 @@ class Dialog {
|
|
6511
6511
|
}
|
6512
6512
|
render() {
|
6513
6513
|
const { dialogRendered, disableHeightConstraint, fadeIn, theme } = this;
|
6514
|
-
return (hAsync(Host, { key: '
|
6514
|
+
return (hAsync(Host, { key: 'e8517bd103f365705b664f80c494df70972dd9c4', class: {
|
6515
6515
|
"ic-dialog-hidden": !dialogRendered,
|
6516
6516
|
"ic-dialog-fade-in": fadeIn,
|
6517
6517
|
"disable-height-constraint": !!disableHeightConstraint,
|
@@ -6711,11 +6711,11 @@ class EmptyState {
|
|
6711
6711
|
}
|
6712
6712
|
render() {
|
6713
6713
|
const { aligned, body, maxLines, heading, imageSize, subheading, theme } = this;
|
6714
|
-
return (hAsync(Host, { key: '
|
6714
|
+
return (hAsync(Host, { key: '1742fa428f2c887fd9b0a200fa5f4040c3ceedf3', class: {
|
6715
6715
|
[`ic-empty-state-${aligned}`]: true,
|
6716
6716
|
[`image-${imageSize}`]: isSlotUsed(this.el, "image"),
|
6717
6717
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
6718
|
-
} }, isSlotUsed(this.el, "image") && hAsync("slot", { key: '
|
6718
|
+
} }, isSlotUsed(this.el, "image") && hAsync("slot", { key: '781c3afcd34547dba24bdc777fed7b704d2d27ad', name: "image" }), hAsync("div", { key: 'a8eb38fb47f8e03d3654cc3f26d12ff1369a52ff' }, hAsync("slot", { key: '4375bf33214131da721591bfbea44d03514b9836', name: "heading" }, hAsync("ic-typography", { key: 'd83b8868e417e55a574716e380be3e99ea2f3aa3', variant: "h4", class: "empty-state-heading" }, heading)), hAsync("slot", { key: '79d4fe82562ba2d44ffa5a693a3e9d5743984bbd', name: "subheading" }, hAsync("ic-typography", { key: 'ffd4e8d460b03c3b90b477c0d2f420492a337165', variant: "subtitle-small", class: "empty-state-subheading" }, subheading)), hAsync("slot", { key: '166e1b63631dc5f6a5ada15867fae52442c18e14', name: "body" }, hAsync("ic-typography", { key: 'f63a9ec68fe53dadddd3cb26ffe6478164caf3af', maxLines: maxLines, class: "empty-state-body" }, body))), isSlotUsed(this.el, "actions") && (hAsync("div", { key: 'ccf0fe966f7a2c6f5225005d5bd4266523bf5267', class: "action-area" }, hAsync("slot", { key: 'f9f8f74c450aed47b1e8f0467e290714237251b0', name: "actions" })))));
|
6719
6719
|
}
|
6720
6720
|
get el() { return getElement(this); }
|
6721
6721
|
static get style() { return IcEmptyStateStyle0; }
|
@@ -6908,12 +6908,12 @@ class FooterLink {
|
|
6908
6908
|
const { footerConfig, href, hreflang, referrerpolicy, rel, target, download, } = this;
|
6909
6909
|
const { small, grouped } = footerConfig;
|
6910
6910
|
const isLogoLink = !!this.el.closest("div[slot='logo']");
|
6911
|
-
return (hAsync(Host, { key: '
|
6911
|
+
return (hAsync(Host, { key: 'da292a4ecbb670fb85eddac93d4e8743a7f7a5a3', class: {
|
6912
6912
|
"footer-link": true,
|
6913
6913
|
[`footer-link-${grouped ? "grouped" : "ungrouped"}-${small ? "small" : "sparse"}`]: true,
|
6914
6914
|
[`footer-link-${this.foregroundColor}`]: true,
|
6915
6915
|
"footer-logo-link": isLogoLink,
|
6916
|
-
}, role: "listitem" }, hAsync("ic-link", { key: '
|
6916
|
+
}, role: "listitem" }, hAsync("ic-link", { key: 'ba008bce21d6a1a062d69515578c158908c4f413', class: "footer-link", href: href, hreflang: hreflang, referrerpolicy: referrerpolicy, rel: rel, download: download !== false ? download : undefined, target: target }, hAsync("slot", { key: '45d18d8d1009b438338c2153a2b59c88d6f3c320' }))));
|
6917
6917
|
}
|
6918
6918
|
static get delegatesFocus() { return true; }
|
6919
6919
|
get el() { return getElement(this); }
|
@@ -7088,18 +7088,18 @@ class Hero {
|
|
7088
7088
|
"background-position": scrollFactor,
|
7089
7089
|
};
|
7090
7090
|
}
|
7091
|
-
return (hAsync(Host, { key: '
|
7091
|
+
return (hAsync(Host, { key: '4c88b4471d3485baff1f6c55f859639feb3166d8', class: {
|
7092
7092
|
[`ic-hero-${IcBrandForegroundEnum.Dark}`]: foregroundColor === IcBrandForegroundEnum.Dark,
|
7093
7093
|
["has-background-image"]: backgroundImage !== undefined,
|
7094
7094
|
["has-right-content"]: this.rightContent,
|
7095
7095
|
["ic-hero-small"]: size === "small",
|
7096
7096
|
["secondary-heading"]: !!secondaryHeading,
|
7097
|
-
}, style: style }, hAsync("ic-section-container", { key: '
|
7097
|
+
}, style: style }, hAsync("ic-section-container", { key: 'b68716e353d9b2767dc16a5f701e3cdcbd32c748', aligned: aligned, fullHeight: true, class: "section-container" }, hAsync("div", { key: '6dd6f422c0bd36725be4b41b42633aeebfa1911d', class: {
|
7098
7098
|
["left-container"]: true,
|
7099
7099
|
["left-container-full-width"]: this.leftContentFullWidth,
|
7100
|
-
} }, hAsync("div", { key: '
|
7100
|
+
} }, hAsync("div", { key: '54ffef99b79eef5eedbf1571bff89270982b5671', class: "heading" }, hAsync("slot", { key: '6b7f71caecbaa84d1a39295e100aedef32d1d522', name: "heading" }, hAsync("ic-typography", { key: '841b429a53b8b72dd60017cb2b2404b826f5bbe8', variant: size === "small" ? "h2" : "h1", class: {
|
7101
7101
|
["heading-bottom-spacing"]: size !== "small",
|
7102
|
-
} }, hAsync("h2", { key: '
|
7102
|
+
} }, hAsync("h2", { key: 'ee802d396bb8a5638f2ab8a62fddbf764436e20e' }, heading)))), hAsync("div", { key: '9a051783a24c9a92fc0aeff2db50689befe4834e', class: "subheading" }, hAsync("slot", { key: 'eb894eaeb4b4303be0caf090d85d487aa11284fb', name: "subheading" }, hAsync("ic-typography", { key: '92b4d9af6118e2ff9bf2b9166862067c610fffee', variant: "body" }, subheading))), hAsync("div", { key: 'cacf81a4666eba19211493914e9b1af466e61478', class: "interaction-container" }, hAsync("slot", { key: '982fb4b528bea4c486d9c0df2cf47fb3ace19414', name: "interaction" }))), (isPropDefined(secondaryHeading) || this.rightContent) && (hAsync("div", { key: '32cd6196da302dd5d0896c90d53d1b35c060e31c', class: "right-container" }, hAsync("slot", { key: '655f0a9978d8402faab43e7e143987f2934255f6', name: "secondary" }, secondaryHeading && (hAsync("div", { key: '94de7e79fd9122b4084b57bf0b5b0571d77e7adc', class: "secondary-container" }, hAsync("div", { key: 'afd414fd37f9b1c8fb6d9f2d7957314f35a1da40', class: "secondary-heading" }, hAsync("ic-typography", { key: 'd643e471ec716d3e6f33ec7761027323ca31bc8c', variant: "h4" }, hAsync("h3", { key: 'f6296bbd33d2ca70beb5100151cebfa8732206d0' }, secondaryHeading))), hAsync("div", { key: '0575ef33984c79674626d9f114ad90a3f973e63a', class: "secondary-subheading" }, hAsync("ic-typography", { key: '8045e445231e4cbbd07ad9fa21a7b6bbf5015eff', variant: "subtitle-small" }, secondarySubheading))))))))));
|
7103
7103
|
}
|
7104
7104
|
get el() { return getElement(this); }
|
7105
7105
|
static get style() { return IcHeroStyle0; }
|
@@ -7290,22 +7290,22 @@ class HorizontalScroll {
|
|
7290
7290
|
}
|
7291
7291
|
render() {
|
7292
7292
|
const { firstItemVisible, lastItemVisible, itemOverflow } = this;
|
7293
|
-
return (hAsync(Host, { key: '
|
7293
|
+
return (hAsync(Host, { key: '3c307f5bddcc7b6c8ab7764d08504585f61e203d', class: {
|
7294
7294
|
["ic-horizontal-scroll-visible"]: itemOverflow,
|
7295
7295
|
["ic-horizontal-scroll-dark"]: this.appearance === IcBrandForegroundEnum.Dark,
|
7296
7296
|
["ic-horizontal-scroll-light"]: this.appearance === IcBrandForegroundEnum.Light,
|
7297
7297
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
7298
|
-
} }, hAsync("div", { key: '
|
7298
|
+
} }, hAsync("div", { key: 'f4bda7e5c0108e986191cde56ef8e255a80b604f', "aria-hidden": "true", class: {
|
7299
7299
|
["scroll-container-left"]: true,
|
7300
7300
|
["hidden"]: !itemOverflow,
|
7301
7301
|
["disabled"]: firstItemVisible,
|
7302
|
-
}, role: "tab" }, hAsync("ic-button", { key: '
|
7302
|
+
}, role: "tab" }, hAsync("ic-button", { key: '5eb199e69ca500c8e84e9b79cec4a3448b604c39', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll left", theme: this.theme === "light" || this.theme === "inherit"
|
7303
7303
|
? "dark"
|
7304
|
-
: "light", monochrome: this.monochrome, innerHTML: LeftArrow, disabled: firstItemVisible, tabindex: "-1", onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler }), hAsync("span", { key: '
|
7304
|
+
: "light", monochrome: this.monochrome, innerHTML: LeftArrow, disabled: firstItemVisible, tabindex: "-1", onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler }), hAsync("span", { key: 'c939c5db95cc4b61645045ef498cc9b80c4f3d69', class: "scroll-splitter-left" })), hAsync("slot", { key: '3ded812f11a7bbdc25157d840ee32f23ed58131b' }), hAsync("div", { key: 'e713490eb2995ff19ec70bf0a098193eaa9829a8', "aria-hidden": "true", class: {
|
7305
7305
|
["scroll-container-right"]: true,
|
7306
7306
|
["hidden"]: !itemOverflow,
|
7307
7307
|
["disabled"]: lastItemVisible,
|
7308
|
-
}, role: "tab" }, hAsync("span", { key: '
|
7308
|
+
}, role: "tab" }, hAsync("span", { key: 'a2427e872d8ab79ef0022ccb216238867e49065c', class: "scroll-splitter-right" }), hAsync("ic-button", { key: 'a58d98e7d695fe15e3c085f1bec0079045817b2d', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll right", theme: this.theme === "light" || this.theme === "inherit"
|
7309
7309
|
? "dark"
|
7310
7310
|
: "light", monochrome: this.monochrome, innerHTML: RightArrow, disabled: lastItemVisible, tabindex: "-1", onClick: this.scrollRight, onMouseDown: this.rightArrowMouseDownHandler }))));
|
7311
7311
|
}
|
@@ -7380,15 +7380,15 @@ class InputComponentContainer {
|
|
7380
7380
|
}
|
7381
7381
|
render() {
|
7382
7382
|
const { size, validationStatus, disabled, readonly, multiLine, fullWidth, validationInline, } = this;
|
7383
|
-
return (hAsync(Host, { key: '
|
7383
|
+
return (hAsync(Host, { key: 'fc70461ae7d3922f07aa5a85209e376d42bfc451', class: {
|
7384
7384
|
[`ic-input-component-container-${size}`]: true,
|
7385
7385
|
[`ic-input-component-container-${validationStatus}`]: validationStatus !== "" && !disabled && !readonly,
|
7386
7386
|
"ic-input-component-container-disabled": !!disabled,
|
7387
7387
|
"ic-input-component-container-readonly": !!readonly,
|
7388
7388
|
"ic-input-component-container-multiline": !!multiLine,
|
7389
7389
|
"ic-input-component-container-full-width": !!fullWidth,
|
7390
|
-
}, "aria-disabled": disabled ? "true" : null }, hAsync("div", { key: '
|
7391
|
-
validationStatus === IcInformationStatus.Success && (hAsync("span", { key: '
|
7390
|
+
}, "aria-disabled": disabled ? "true" : null }, hAsync("div", { key: '20934b81740e6c907bff86cc706d3aafe3a790df', class: "focus-indicator" }, slotHasContent(this.el, "left-icon") && (hAsync("div", { key: '3577416fc719a575372188c43a78ac945b1b1526', class: "icon-container" }, hAsync("slot", { key: '36ee3e5c85ec77c69f88c2b74d272bdb6ee42ca1', name: "left-icon" }))), hAsync("slot", { key: 'e0a79f50c8ba34c0d989e2402df8b00587c5878f' }), validationInline &&
|
7391
|
+
validationStatus === IcInformationStatus.Success && (hAsync("span", { key: 'b156fb5bb6fcfec8c6dec6febdeea6d2adc7e009', class: "inline-success", innerHTML: successIcon })))));
|
7392
7392
|
}
|
7393
7393
|
get el() { return getElement(this); }
|
7394
7394
|
static get watchers() { return {
|
@@ -7429,11 +7429,11 @@ class InputContainer {
|
|
7429
7429
|
this.readonly = false;
|
7430
7430
|
}
|
7431
7431
|
render() {
|
7432
|
-
return (hAsync(Host, { key: '
|
7432
|
+
return (hAsync(Host, { key: '49cd31d8dca09cc4b2f49e0b2e7829bb1771a5d6' }, hAsync("div", { key: 'bb0e3a80161a86b40e0dc424264e71cf6c95c88a', class: {
|
7433
7433
|
["component-container"]: true,
|
7434
7434
|
["disabled"]: !!this.disabled,
|
7435
7435
|
["readonly"]: !!this.readonly,
|
7436
|
-
} }, hAsync("slot", { key: '
|
7436
|
+
} }, hAsync("slot", { key: '4916ff0aebd6632d6e6f5daaa3c318e1e696ff2f' }))));
|
7437
7437
|
}
|
7438
7438
|
static get style() { return IcInputContainerStyle0; }
|
7439
7439
|
static get cmpMeta() { return {
|
@@ -7449,7 +7449,7 @@ class InputContainer {
|
|
7449
7449
|
}; }
|
7450
7450
|
}
|
7451
7451
|
|
7452
|
-
const icInputLabelCss = "ic-input-label{margin-bottom:var(--ic-space-xs);--ic-typography-color:var(\n --ic-input-label-text-color,\n var(--ic-color-text-primary)\n )}ic-input-label.with-helper{margin-bottom:var(--ic-space-xxxs)}ic-input-label.ic-input-label-readonly{--ic-typography-color:var(--ic-input-label-readonly-typography-color)}ic-input-label .helpertext{margin-top:var(--ic-space-xxxs);padding-bottom:var(--ic-input-label-helpertext-padding, 0);--ic-typography-color:var(\n --ic-input-label-helper-text-color,\n var(--ic-color-text-secondary)\n )}ic-input-label .helpertext-normal{--ic-typography-color:var(\n --ic-input-label-helper-text-color,\n var(--ic-color-text-secondary)\n )}ic-input-label .helpertext-readonly{--ic-typography-color:var(--ic-input-label-readonly-helpertext-color)}ic-input-label .readonly-label{--ic-typography-color:var(--ic-input-label-readonly-label-color)}ic-input-label .error-label{--ic-typography-color:var(--ic-input-label-error-label-color)}";
|
7452
|
+
const icInputLabelCss = "ic-input-label{margin-bottom:var(--ic-space-xs);--ic-typography-color:var(\n --ic-input-label-text-color,\n var(--ic-color-text-primary)\n )}ic-input-label.with-helper{margin-bottom:var(--ic-space-xxxs)}ic-input-label.ic-input-label-readonly{--ic-typography-color:var(--ic-input-label-readonly-typography-color)}ic-input-label .helpertext,ic-input-label .helpertext ::slotted(*){margin-top:var(--ic-space-xxxs);padding-bottom:var(--ic-input-label-helpertext-padding, 0);--ic-typography-color:var(\n --ic-input-label-helper-text-color,\n var(--ic-color-text-secondary)\n )}ic-input-label .helpertext-normal{--ic-typography-color:var(\n --ic-input-label-helper-text-color,\n var(--ic-color-text-secondary)\n )}ic-input-label .helpertext-readonly{--ic-typography-color:var(--ic-input-label-readonly-helpertext-color)}ic-input-label .readonly-label{--ic-typography-color:var(--ic-input-label-readonly-label-color)}ic-input-label .error-label{--ic-typography-color:var(--ic-input-label-error-label-color)}";
|
7453
7453
|
var IcInputLabelStyle0 = icInputLabelCss;
|
7454
7454
|
|
7455
7455
|
class InputLabel {
|
@@ -7483,6 +7483,25 @@ class InputLabel {
|
|
7483
7483
|
* @internal If `true`, wraps label text in label tag
|
7484
7484
|
*/
|
7485
7485
|
this.useLabelTag = true;
|
7486
|
+
this.isHelperTextSlotUsed = (slot) => {
|
7487
|
+
const assignedEls = slot === null || slot === void 0 ? void 0 : slot.assignedElements();
|
7488
|
+
if (assignedEls && assignedEls.length) {
|
7489
|
+
for (const el of assignedEls) {
|
7490
|
+
if (el.tagName === "SLOT") {
|
7491
|
+
// Recursion needed for when slot is forwarded multiple times - through child components
|
7492
|
+
// (e.g. in date picker)
|
7493
|
+
if (this.isHelperTextSlotUsed(el)) {
|
7494
|
+
return true;
|
7495
|
+
}
|
7496
|
+
}
|
7497
|
+
else {
|
7498
|
+
// Found an assigned element which is not a nested <slot>
|
7499
|
+
return true;
|
7500
|
+
}
|
7501
|
+
}
|
7502
|
+
}
|
7503
|
+
return false;
|
7504
|
+
};
|
7486
7505
|
}
|
7487
7506
|
componentDidLoad() {
|
7488
7507
|
onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Input Label");
|
@@ -7490,22 +7509,26 @@ class InputLabel {
|
|
7490
7509
|
render() {
|
7491
7510
|
const { disabled, readonly, label, required, helperText, status, hideLabel, useLabelTag, } = this;
|
7492
7511
|
const labelText = required ? label + " *" : label;
|
7493
|
-
|
7512
|
+
const helperTextId = this.for && getInputHelperTextID(this.for);
|
7513
|
+
const helperTextClass = {
|
7514
|
+
helpertext: true,
|
7515
|
+
"helpertext-normal": !disabled && !readonly,
|
7516
|
+
"helpertext-readonly": readonly,
|
7517
|
+
};
|
7518
|
+
const helperTextSlot = this.el.querySelector("slot[name='helper-text']");
|
7519
|
+
return (hAsync(Host, { key: 'f03d8032ac769d4ecea37fe7a60e9d5acea54cd9', class: {
|
7494
7520
|
"ic-input-label-disabled": !!disabled,
|
7495
7521
|
"ic-input-label-readonly": readonly,
|
7496
|
-
"with-helper": helperText !== "",
|
7497
|
-
} }, !hideLabel && (hAsync("ic-typography", { key: '
|
7522
|
+
"with-helper": this.isHelperTextSlotUsed(helperTextSlot) || helperText !== "",
|
7523
|
+
} }, !hideLabel && (hAsync("ic-typography", { key: '7af61c1f2a1b9068fb9a9b649f60da1784207aa3', variant: "label", class: {
|
7498
7524
|
"readonly-label": readonly,
|
7499
7525
|
"error-label": status === "error" && !(readonly || disabled),
|
7500
|
-
} }, readonly || !useLabelTag ? (`${labelText}`) : (hAsync("label", { htmlFor: this.for }, labelText)))), helperText !== "" && (hAsync("ic-typography", {
|
7501
|
-
helpertext: true,
|
7502
|
-
"helpertext-normal": !disabled && !readonly,
|
7503
|
-
"helpertext-readonly": readonly,
|
7504
|
-
} }, hAsync("span", { key: '70cdef7f1ef75572ab4f9455e4b5b3401ce10950', id: this.for && getInputHelperTextID(this.for) }, helperText)))));
|
7526
|
+
} }, readonly || !useLabelTag ? (`${labelText}`) : (hAsync("label", { htmlFor: this.for }, labelText)))), this.isHelperTextSlotUsed(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))))));
|
7505
7527
|
}
|
7528
|
+
get el() { return getElement(this); }
|
7506
7529
|
static get style() { return IcInputLabelStyle0; }
|
7507
7530
|
static get cmpMeta() { return {
|
7508
|
-
"$flags$":
|
7531
|
+
"$flags$": 4,
|
7509
7532
|
"$tagName$": "ic-input-label",
|
7510
7533
|
"$members$": {
|
7511
7534
|
"disabled": [4],
|
@@ -7557,13 +7580,13 @@ class InputValidation {
|
|
7557
7580
|
render() {
|
7558
7581
|
const { ariaLiveMode, fullWidth, status, message } = this;
|
7559
7582
|
const displayIcon = status !== "" ? icon[status] : "";
|
7560
|
-
return (hAsync(Host, { key: '
|
7583
|
+
return (hAsync(Host, { key: '2ab746f75a46252bc0755dfd28220dbe555b93b3', class: {
|
7561
7584
|
[`ic-input-validation-${status}`]: status !== "",
|
7562
7585
|
"ic-input-validation-full-width": !!fullWidth,
|
7563
|
-
} }, displayIcon !== "" && (hAsync("span", { key: '
|
7586
|
+
} }, displayIcon !== "" && (hAsync("span", { key: 'fc02067a0c0f1e9672e190f1bd30774cd2cfcfe0', class: {
|
7564
7587
|
"status-icon": true,
|
7565
7588
|
[`icon-${status}`]: true,
|
7566
|
-
}, innerHTML: displayIcon })), hAsync("ic-typography", { key: '
|
7589
|
+
}, innerHTML: displayIcon })), hAsync("ic-typography", { key: 'f8d3c1d9d7f30e232ebbc827033ad318485f7c98', variant: "caption", class: "statustext" }, hAsync("span", { key: '73b35c4a5c4dbe77fe4c71032020a0346e34fcfd', "aria-live": ariaLiveMode, id: this.for && getInputValidationTextID(this.for) }, message)), hAsync("slot", { key: '629f37113c9354db274019eadc9ae7140adf921a', name: "validation-message-adornment" })));
|
7567
7590
|
}
|
7568
7591
|
get el() { return getElement(this); }
|
7569
7592
|
static get style() { return IcInputValidationStyle0; }
|
@@ -7672,7 +7695,7 @@ class Link {
|
|
7672
7695
|
}
|
7673
7696
|
render() {
|
7674
7697
|
const { download, href, hreflang, referrerpolicy, rel, target, monochrome, theme, } = this;
|
7675
|
-
return (hAsync(Host, { key: '
|
7698
|
+
return (hAsync(Host, { key: '769bea68e79e8b28fb9c0ea007c24dd11968d332', class: {
|
7676
7699
|
["ic-link"]: true,
|
7677
7700
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
7678
7701
|
["ic-link-monochrome"]: !!monochrome,
|
@@ -7703,12 +7726,26 @@ class Link {
|
|
7703
7726
|
}; }
|
7704
7727
|
}
|
7705
7728
|
|
7706
|
-
const icLoadingIndicatorCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--linear-border-radius:0.25rem;--inner-color:var(--ic-loading-indicator-inner-color);--outer-color:var(--ic-loading-indicator-outer-color);--label-color:var(--ic-loading-indicator-label-color);--margin:none;--linear-line-height:var(--ic-space-xs)}:host(.ic-loading-indicator-monochrome){--inner-color:var(--ic-loading-indicator-inner-color-monochrome);--outer-color:var(--ic-loading-indicator-outer-color-monochrome);--label-color:var(--ic-loading-indicator-label-color-monochrome)}.ic-loading-container{display:flex;flex-direction:column;justify-content:center;align-items:center}:host([size=\"small\"]){--circular-diameter:2.5rem;--linear-line-height:var(--ic-space-xxs)}:host([size=\"medium\"]){--circular-diameter:5rem}:host([size=\"large\"]){--circular-diameter:7.5rem}:host([size=\"icon\"]){display:inline-block;--margin:var(--ic-space-xxxs);--circular-diameter:1.25rem}:host(.ic-loading-indicator-label){--margin:0 0 var(--ic-space-xs) 0}.ic-loading-label{--ic-typography-color:var(--label-color);margin-left:var(--label-margin-left)}.ic-loading-circular-outer{height:var(--circular-diameter);width:var(--circular-diameter)}.ic-loading-circular-outer.indeterminate{animation:circular-animation 1s linear;animation-iteration-count:infinite}@keyframes circular-animation{100%{transform:rotate(360deg)}}.ic-loading-circular-outer,.ic-loading-linear-outer{margin:var(--margin)}.ic-loading-linear-outer{background-color:var(--outer-color);height:var(--linear-line-height);width:100%;border-radius:var(--linear-border-radius);overflow:hidden}.ic-loading-linear-inner{position:relative;height:100%;background-color:var(--inner-color);border-radius:var(--linear-border-radius)}.indeterminate>.ic-loading-linear-inner{animation:linear-animation 2s infinite}.determinate>.ic-loading-linear-inner{transition:width 0.5s;width:var(--linear-width)}:host(.ic-loading-indicator-full-width){--linear-border-radius:none}@keyframes linear-animation{0%{width:0%;left:-1%}25%{width:0%;left:-1%}50%{width:101%;left:-1%}75%{width:0%;left:101%}100%{width:0%;left:101%}}.ic-loading-circular-svg{position:relative;width:100%;height:100%;transform:rotate(-90deg)}.ic-loading-circular-svg circle{width:100%;height:100%;fill:none;stroke:var(--compact-step-outer-color, var(--outer-color));stroke-width:var(--circular-line-width);stroke-linecap:round}.ic-loading-circular-svg circle:nth-child(2){--circular-indeterminate:calc(\n (0.25 * var(--stroke-dasharray)) - var(--stroke-dasharray)\n );stroke-dasharray:var(--stroke-dasharray), var(--stroke-dasharray);stroke-dashoffset:var(--stroke-dashoffset, var(--circular-indeterminate));stroke:var(--compact-step-inner-color, var(--inner-color))}
|
7729
|
+
const icLoadingIndicatorCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--linear-border-radius:0.25rem;--inner-color:var(--ic-loading-indicator-inner-color);--outer-color:var(--ic-loading-indicator-outer-color);--label-color:var(--ic-loading-indicator-label-color);--margin:none;--linear-line-height:var(--ic-space-xs)}:host(.ic-loading-indicator-monochrome){--inner-color:var(--ic-loading-indicator-inner-color-monochrome);--outer-color:var(--ic-loading-indicator-outer-color-monochrome);--label-color:var(--ic-loading-indicator-label-color-monochrome)}.ic-loading-container{display:flex;flex-direction:column;justify-content:center;align-items:center}:host([size=\"small\"]){--circular-diameter:2.5rem;--linear-line-height:var(--ic-space-xxs)}:host([size=\"medium\"]){--circular-diameter:5rem}:host([size=\"large\"]){--circular-diameter:7.5rem}:host([size=\"icon\"]){display:inline-block;--margin:var(--ic-space-xxxs);--circular-diameter:1.25rem}:host(.ic-loading-indicator-label){--margin:0 0 var(--ic-space-xs) 0}.ic-loading-label{--ic-typography-color:var(--label-color);margin-left:var(--label-margin-left)}.ic-loading-circular-outer{height:var(--circular-diameter);width:var(--circular-diameter)}.ic-loading-circular-outer.indeterminate{animation:circular-animation 1s linear;animation-iteration-count:infinite}@keyframes circular-animation{100%{transform:rotate(360deg)}}.ic-loading-circular-outer,.ic-loading-linear-outer{margin:var(--margin)}.ic-loading-linear-outer{background-color:var(--outer-color);height:var(--linear-line-height);width:100%;border-radius:var(--linear-border-radius);overflow:hidden}.ic-loading-linear-inner{position:relative;height:100%;background-color:var(--inner-color);border-radius:var(--linear-border-radius)}.indeterminate>.ic-loading-linear-inner{animation:linear-animation 2s infinite}.determinate>.ic-loading-linear-inner{transition:width 0.5s;width:var(--linear-width)}:host(.ic-loading-indicator-full-width){--linear-border-radius:none}@keyframes linear-animation{0%{width:0%;left:-1%}25%{width:0%;left:-1%}50%{width:101%;left:-1%}75%{width:0%;left:101%}100%{width:0%;left:101%}}.ic-loading-circular-svg{position:relative;width:100%;height:100%;transform:rotate(-90deg)}.ic-loading-circular-svg circle{width:100%;height:100%;fill:none;stroke:var(--compact-step-outer-color, var(--outer-color));stroke-width:var(--circular-line-width);stroke-linecap:round}.ic-loading-circular-svg circle:nth-child(2){--circular-indeterminate:calc(\n (0.25 * var(--stroke-dasharray)) - var(--stroke-dasharray)\n );stroke-dasharray:var(--stroke-dasharray), var(--stroke-dasharray);stroke-dashoffset:var(--stroke-dashoffset, var(--circular-indeterminate));stroke:var(--compact-step-inner-color, var(--inner-color))}.inner-label{height:100%;display:grid}.inner-label .ic-loading-circular-svg,.inner-text{grid-column:1;grid-row:1}:host(.not-required.compact-step-progress-indicator) .ic-loading-circular-svg circle:nth-child(2){stroke:var(--ic-architectural-300)}.inner-text{display:flex;align-items:center;justify-content:center;width:var(--ic-space-lg);height:inherit;overflow:hidden;margin:auto;--ic-typography-color:var(\n --ic-step-indicator-text-current,\n var(--ic-status-info-default)\n )}:host(.not-required.compact-step-progress-indicator) .inner-text{--ic-typography-color:var(--ic-step-indicator-text-disabled)}:host(.ic-loading-indicator-light.not-required.compact-step-progress-indicator) .inner-text{--ic-typography-color:var(--ic-architectural-400)}@media (forced-colors: active){.indeterminate>.ic-loading-circular-inner{forced-color-adjust:none}.ic-loading-linear-outer{border:var(--ic-border-hc)}.ic-loading-linear-inner{background-color:canvastext}.ic-loading-circular-svg circle{stroke:Background}.ic-loading-circular-svg circle:nth-child(2){stroke:canvastext}:host(.not-required.compact-step-progress-indicator) .ic-loading-circular-svg circle:nth-child(2){stroke:GrayText}}";
|
7707
7730
|
var IcLoadingIndicatorStyle0 = icLoadingIndicatorCss;
|
7708
7731
|
|
7732
|
+
const LOADING_INDICATOR_WIDTHS = {
|
7733
|
+
large: 120,
|
7734
|
+
medium: 80,
|
7735
|
+
small: 40,
|
7736
|
+
icon: 20,
|
7737
|
+
};
|
7709
7738
|
class LoadingIndicator {
|
7710
7739
|
constructor(hostRef) {
|
7711
7740
|
registerInstance(this, hostRef);
|
7741
|
+
this.labelList = [];
|
7742
|
+
this.circularDiameter = 0;
|
7743
|
+
this.circularLineWidth = 0;
|
7744
|
+
this.circularDimensions = {
|
7745
|
+
x: 0,
|
7746
|
+
y: 0,
|
7747
|
+
r: 0,
|
7748
|
+
};
|
7712
7749
|
this.clipInnerElement = false;
|
7713
7750
|
/**
|
7714
7751
|
* The description that will be set as the aria-label of the loading indicator when not using a visible label.
|
@@ -7740,190 +7777,169 @@ class LoadingIndicator {
|
|
7740
7777
|
* The size of the loading indicator.
|
7741
7778
|
*/
|
7742
7779
|
this.size = "medium";
|
7743
|
-
/**
|
7744
|
-
* The type of indicator, either linear or circular.
|
7745
|
-
*/
|
7746
|
-
this.type = "circular";
|
7747
7780
|
/**
|
7748
7781
|
* Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
|
7749
7782
|
*/
|
7750
7783
|
this.theme = "inherit";
|
7751
|
-
|
7752
|
-
|
7753
|
-
|
7784
|
+
/**
|
7785
|
+
* The type of indicator, either linear or circular.
|
7786
|
+
*/
|
7787
|
+
this.type = "circular";
|
7788
|
+
this.getLabel = (labelIndex) => new Promise(() => {
|
7789
|
+
this.interval = setInterval(() => {
|
7790
|
+
if (labelIndex < this.labelList.length - 1) {
|
7791
|
+
labelIndex++;
|
7792
|
+
}
|
7793
|
+
else {
|
7794
|
+
labelIndex = 0;
|
7795
|
+
}
|
7796
|
+
this.indicatorLabel = this.labelList[labelIndex];
|
7797
|
+
}, this.labelDuration);
|
7798
|
+
});
|
7799
|
+
this.getLabelVariant = () => {
|
7800
|
+
const width = this.type === "circular" ? this.calculateWidth() : 0;
|
7801
|
+
if (this.size === "small" || (width && width < 60)) {
|
7802
|
+
return "label";
|
7754
7803
|
}
|
7804
|
+
else if (this.size === "large" || width >= 120) {
|
7805
|
+
return "h2";
|
7806
|
+
}
|
7807
|
+
return "h4";
|
7755
7808
|
};
|
7756
|
-
this.
|
7757
|
-
|
7758
|
-
|
7759
|
-
|
7760
|
-
labelIndex++;
|
7761
|
-
}
|
7762
|
-
else {
|
7763
|
-
labelIndex = 0;
|
7764
|
-
}
|
7765
|
-
setLabel(this.labelList[labelIndex]);
|
7766
|
-
}, this.labelDuration);
|
7767
|
-
});
|
7768
|
-
};
|
7769
|
-
this.getLabelVariant = () => {
|
7770
|
-
var _a;
|
7771
|
-
let variant = "h4";
|
7772
|
-
const width = (_a = this.outerElement) === null || _a === void 0 ? void 0 : _a.offsetWidth;
|
7773
|
-
if (this.size === "small" ||
|
7774
|
-
(width && this.type === "circular" && width < 60)) {
|
7775
|
-
variant = "label";
|
7776
|
-
}
|
7777
|
-
else if (this.size === "large" ||
|
7778
|
-
(width && this.type === "circular" && width >= 120)) {
|
7779
|
-
variant = "h2";
|
7780
|
-
}
|
7781
|
-
return variant;
|
7782
|
-
};
|
7783
|
-
// Sets the circular indicator line width - accounting for the circle size being altered using the CSS custom property
|
7784
|
-
this.setCircleLineWidth = () => {
|
7785
|
-
const compactStepCircularLineWidth = this.el.classList.contains("compact-step-progress-indicator")
|
7786
|
-
? 40
|
7787
|
-
: 0;
|
7788
|
-
const toastDismissTimerCircularLineWidth = this.el.classList.contains("toast-dismiss-timer")
|
7789
|
-
? 20
|
7790
|
-
: 0;
|
7809
|
+
this.calculateWidth = () => {
|
7810
|
+
var _a, _b, _c;
|
7811
|
+
if ((_a = this.outerElement) === null || _a === void 0 ? void 0 : _a.offsetWidth)
|
7812
|
+
return this.outerElement.offsetWidth;
|
7791
7813
|
if (this.outerElement) {
|
7792
|
-
const {
|
7793
|
-
if (width
|
7794
|
-
|
7795
|
-
|
7796
|
-
|
7797
|
-
|
7798
|
-
|
7799
|
-
|
7800
|
-
this.circularDiameter =
|
7801
|
-
compactStepCircularLineWidth ||
|
7802
|
-
toastDismissTimerCircularLineWidth ||
|
7803
|
-
width;
|
7804
|
-
this.outerElement.style.setProperty("--circular-line-width", `${this.circularLineWidth}px`);
|
7814
|
+
const { width } = window.getComputedStyle(this.outerElement);
|
7815
|
+
if (width) {
|
7816
|
+
// Regex to check the units of the css string
|
7817
|
+
if (((_b = width.match(/\D+$/)) === null || _b === void 0 ? void 0 : _b[0]) !== "%")
|
7818
|
+
return parseFloat(width);
|
7819
|
+
const parentWidth = (_c = this.outerElement.parentElement) === null || _c === void 0 ? void 0 : _c.offsetWidth;
|
7820
|
+
if (parentWidth)
|
7821
|
+
return parentWidth * (parseFloat(width) / 100);
|
7805
7822
|
}
|
7806
7823
|
}
|
7824
|
+
return LOADING_INDICATOR_WIDTHS[this.size];
|
7807
7825
|
};
|
7808
7826
|
this.setLinearDeterminateWidth = () => {
|
7809
|
-
const max = this.max;
|
7810
|
-
const min = this.min;
|
7811
|
-
if (!this.innerElement)
|
7812
|
-
return;
|
7813
7827
|
// Ensure progress cannot be out of bounds
|
7814
|
-
if (this.progress)
|
7815
|
-
|
7816
|
-
|
7817
|
-
|
7818
|
-
|
7819
|
-
|
7820
|
-
|
7821
|
-
else {
|
7822
|
-
this.innerElement.classList.add("clip");
|
7823
|
-
}
|
7824
|
-
this.innerElement.style.setProperty("--linear-width", `${proportion * 100}%`);
|
7828
|
+
if (!this.innerElement || !this.progress)
|
7829
|
+
return;
|
7830
|
+
const progress = Math.min(this.max, Math.max(this.min, this.progress));
|
7831
|
+
const proportion = (progress - this.min) / (this.max - this.min);
|
7832
|
+
this.clipInnerElement = proportion > 0.5;
|
7833
|
+
if (this.clipInnerElement) {
|
7834
|
+
this.innerElement.classList.remove("clip");
|
7825
7835
|
}
|
7826
|
-
|
7827
|
-
|
7828
|
-
|
7829
|
-
|
7830
|
-
return cls;
|
7836
|
+
else {
|
7837
|
+
this.innerElement.classList.add("clip");
|
7838
|
+
}
|
7839
|
+
this.innerElement.style.setProperty("--linear-width", `${proportion * 100}%`);
|
7831
7840
|
};
|
7832
7841
|
this.updateLabel = () => {
|
7833
|
-
if (this.label
|
7834
|
-
|
7835
|
-
|
7836
|
-
|
7837
|
-
else {
|
7838
|
-
this.labelList = this.label;
|
7839
|
-
const labelIndex = 0;
|
7840
|
-
this.indicatorLabel = this.labelList[labelIndex];
|
7841
|
-
if (this.labelList.length > 1) {
|
7842
|
-
this.getLabel(labelIndex, (label) => {
|
7843
|
-
this.indicatorLabel = label;
|
7844
|
-
});
|
7845
|
-
}
|
7846
|
-
}
|
7842
|
+
if (!this.label)
|
7843
|
+
return;
|
7844
|
+
if (typeof this.label === "string") {
|
7845
|
+
this.indicatorLabel = this.label;
|
7847
7846
|
}
|
7848
|
-
|
7849
|
-
|
7850
|
-
|
7851
|
-
|
7852
|
-
|
7853
|
-
const y = r;
|
7854
|
-
const nextRadius = r - this.circularLineWidth / 2;
|
7855
|
-
this.setDashSteps(nextRadius);
|
7856
|
-
return { x, y, r: nextRadius };
|
7857
|
-
}
|
7858
|
-
return { x: 0, y: 0, r: 0 };
|
7859
|
-
};
|
7860
|
-
this.setDashSteps = (radius) => {
|
7861
|
-
const dashArray = 2 * Math.PI * radius;
|
7862
|
-
if (this.circularMeter) {
|
7863
|
-
this.circularMeter.style.setProperty("--stroke-dasharray", `${dashArray}px`);
|
7864
|
-
if (!this.indeterminate && this.progress) {
|
7865
|
-
const min = this.min;
|
7866
|
-
const max = this.max;
|
7867
|
-
const progress = Math.min(Math.max(this.progress, min), max);
|
7868
|
-
const proportion = -1 - (progress - min) / (max - min);
|
7869
|
-
this.circularMeter.style.setProperty("--circular-steps-max", String(this.max));
|
7870
|
-
this.circularMeter.style.setProperty("--stroke-dashoffset", `${proportion * dashArray}px`);
|
7847
|
+
else {
|
7848
|
+
this.labelList = this.label;
|
7849
|
+
this.indicatorLabel = this.labelList[0];
|
7850
|
+
if (this.labelList.length > 1) {
|
7851
|
+
this.getLabel(0);
|
7871
7852
|
}
|
7872
7853
|
}
|
7873
7854
|
};
|
7855
|
+
this.setCircleDimensions = () => {
|
7856
|
+
let dashOffset = undefined;
|
7857
|
+
if (this.circularDiameter <= 0)
|
7858
|
+
return;
|
7859
|
+
const r = this.circularDiameter / 2;
|
7860
|
+
const nextRadius = r - this.circularLineWidth / 2;
|
7861
|
+
const dashArray = 2 * Math.PI * nextRadius;
|
7862
|
+
if (this.progress) {
|
7863
|
+
const progress = Math.min(Math.max(this.progress, this.min), this.max);
|
7864
|
+
dashOffset = `${(-1 - (progress - this.min) / (this.max - this.min)) * dashArray}px`;
|
7865
|
+
}
|
7866
|
+
this.circularDimensions = {
|
7867
|
+
x: r,
|
7868
|
+
y: r,
|
7869
|
+
r: nextRadius,
|
7870
|
+
dashArray: `${dashArray}px`,
|
7871
|
+
dashOffset,
|
7872
|
+
};
|
7873
|
+
};
|
7874
7874
|
}
|
7875
7875
|
watchPropHandler() {
|
7876
7876
|
this.updateLabel();
|
7877
7877
|
}
|
7878
|
+
minMaxChangeHandler() {
|
7879
|
+
if (this.type === "circular")
|
7880
|
+
this.setCircleDimensions();
|
7881
|
+
}
|
7878
7882
|
watchProgressHandler() {
|
7883
|
+
if (this.type === "linear") {
|
7884
|
+
this.setLinearDeterminateWidth();
|
7885
|
+
}
|
7886
|
+
else {
|
7887
|
+
this.setCircleDimensions();
|
7888
|
+
}
|
7889
|
+
}
|
7890
|
+
setIndicatorDimensions() {
|
7879
7891
|
if (this.type === "circular") {
|
7880
|
-
|
7892
|
+
// Sets the circular indicator line width - accounting for the circle size being altered using the CSS custom property
|
7893
|
+
const diameter = this.calculateWidth();
|
7894
|
+
if (this.outerElement && diameter !== this.circularDiameter) {
|
7895
|
+
this.circularLineWidth = diameter * 0.1;
|
7896
|
+
this.circularDiameter = diameter;
|
7897
|
+
this.outerElement.style.setProperty("--circular-line-width", `${this.circularLineWidth}px`);
|
7898
|
+
this.setCircleDimensions();
|
7899
|
+
}
|
7900
|
+
}
|
7901
|
+
else {
|
7902
|
+
this.setLinearDeterminateWidth();
|
7881
7903
|
}
|
7882
7904
|
}
|
7883
7905
|
disconnectedCallback() {
|
7884
7906
|
clearInterval(this.interval);
|
7885
7907
|
}
|
7886
7908
|
componentWillLoad() {
|
7887
|
-
this.indeterminate = this.progress === undefined;
|
7888
7909
|
this.updateLabel();
|
7889
7910
|
this.el.setAttribute("exportparts", "ic-loading-container");
|
7890
7911
|
}
|
7891
7912
|
componentDidLoad() {
|
7892
|
-
|
7893
|
-
if (this.type === "circular") {
|
7894
|
-
this.setCircleLineWidth();
|
7895
|
-
this.circularMeter = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".ic-loading-circular-svg circle:nth-child(2)");
|
7896
|
-
this.updateCircularProgressMeter();
|
7897
|
-
}
|
7898
|
-
if (Number(this.progress) >= 0 && this.type === "linear") {
|
7899
|
-
this.setLinearDeterminateWidth();
|
7900
|
-
}
|
7901
|
-
}
|
7902
|
-
componentWillUpdate() {
|
7903
|
-
this.indeterminate = this.progress === undefined;
|
7904
|
-
}
|
7905
|
-
componentDidUpdate() {
|
7906
|
-
if (Number(this.progress) >= 0 && this.type === "linear") {
|
7907
|
-
this.setLinearDeterminateWidth();
|
7908
|
-
}
|
7913
|
+
this.setIndicatorDimensions();
|
7909
7914
|
}
|
7910
7915
|
render() {
|
7911
|
-
const { theme, label, description, size, fullWidth, innerLabel, monochrome, } = this;
|
7912
|
-
const { x, y, r } =
|
7913
|
-
return (hAsync(Host, { key: '
|
7916
|
+
const { theme, label, description, size, fullWidth, innerLabel, monochrome, type, progress, min, max, circularDiameter, indicatorLabel, circularDimensions, } = this;
|
7917
|
+
const { x, y, r, dashArray, dashOffset } = circularDimensions;
|
7918
|
+
return (hAsync(Host, { key: '7f78047511c580f116c21d00e76a19dee3319d60', class: {
|
7914
7919
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
7920
|
+
"ic-loading-indicator-full-width": fullWidth,
|
7915
7921
|
"ic-loading-indicator-label": !!label,
|
7916
|
-
"ic-loading-indicator-
|
7922
|
+
"ic-loading-indicator-monochrome": monochrome,
|
7923
|
+
} }, hAsync("div", { key: 'eec896daa35399c26a11873674ba4bc4fd099ddc', class: "ic-loading-container", part: "ic-loading-container" }, hAsync("div", { key: 'b3ab1935e9fe5d50cd6513acd7a8eabb31fadf98', ref: (el) => (this.outerElement = el), class: {
|
7924
|
+
[`ic-loading-${type}-outer`]: true,
|
7925
|
+
[progress === undefined ? "indeterminate" : "determinate"]: true,
|
7926
|
+
}, 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: '2f6e1f2e1a88b752cdda2a6b2834441e8546eb9b', ref: (el) => (this.innerElement = el), class: {
|
7927
|
+
[`ic-loading-${type}-inner`]: true,
|
7917
7928
|
"inner-label": !!innerLabel,
|
7918
|
-
|
7919
|
-
|
7920
|
-
|
7921
|
-
|
7929
|
+
} }, innerLabel && size === "small" && (hAsync("ic-typography", { key: 'c0d18d282c7090aa2bf478c3beee03e6c2b2f61d', variant: "subtitle-small", class: "inner-text" }, innerLabel)), type === "circular" && (hAsync("svg", { key: 'a5827dba8cff99684667dfa1147186ad0bd3f7a1', class: "ic-loading-circular-svg", viewBox: `0 0 ${circularDiameter} ${circularDiameter}` }, hAsync("circle", { key: 'c53d2155e9aea468427178f5a41e0a24b02565fa', cx: x, cy: y, r: r }), hAsync("circle", { key: 'c5b6aea5b936b056a8103c0dacb81822348b20d1', style: {
|
7930
|
+
"--circular-steps-max": progress ? `${max}` : undefined,
|
7931
|
+
"--progress-value": progress !== undefined ? `${progress}` : undefined,
|
7932
|
+
"--stroke-dasharray": dashArray,
|
7933
|
+
"--stroke-dashoffset": dashOffset,
|
7934
|
+
}, cx: x, cy: y, r: r }))))), label && size !== "icon" && (hAsync("ic-typography", { key: 'e586d3c31d518a77bf93f90504318e3a5baeeb64', id: "ic-loading-label", class: "ic-loading-label", role: "status", variant: this.getLabelVariant() }, hAsync("p", { key: 'd1c0b977ef4441ae45f4122a7a0ee03b33b4421b' }, indicatorLabel))))));
|
7922
7935
|
}
|
7923
7936
|
get el() { return getElement(this); }
|
7924
7937
|
static get watchers() { return {
|
7925
7938
|
"label": ["watchPropHandler"],
|
7926
|
-
"
|
7939
|
+
"max": ["minMaxChangeHandler"],
|
7940
|
+
"min": ["minMaxChangeHandler"],
|
7941
|
+
"progress": ["watchProgressHandler"],
|
7942
|
+
"type": ["setIndicatorDimensions"]
|
7927
7943
|
}; }
|
7928
7944
|
static get style() { return IcLoadingIndicatorStyle0; }
|
7929
7945
|
static get cmpMeta() { return {
|
@@ -7933,18 +7949,18 @@ class LoadingIndicator {
|
|
7933
7949
|
"description": [1],
|
7934
7950
|
"fullWidth": [516, "full-width"],
|
7935
7951
|
"innerLabel": [2, "inner-label"],
|
7952
|
+
"label": [1],
|
7936
7953
|
"labelDuration": [2, "label-duration"],
|
7937
7954
|
"max": [2],
|
7938
7955
|
"min": [2],
|
7939
7956
|
"monochrome": [4],
|
7940
|
-
"size": [513],
|
7941
|
-
"type": [513],
|
7942
|
-
"label": [1],
|
7943
7957
|
"progress": [2],
|
7958
|
+
"size": [513],
|
7944
7959
|
"theme": [1],
|
7960
|
+
"type": [513],
|
7945
7961
|
"circularDiameter": [32],
|
7946
7962
|
"circularLineWidth": [32],
|
7947
|
-
"
|
7963
|
+
"circularDimensions": [32],
|
7948
7964
|
"indicatorLabel": [32],
|
7949
7965
|
"clipInnerElement": [32]
|
7950
7966
|
},
|
@@ -9787,6 +9803,7 @@ class Menu {
|
|
9787
9803
|
this.initialOptionsListRender = false;
|
9788
9804
|
this.keyboardNav = false;
|
9789
9805
|
this.preventIncorrectTabOrder = false;
|
9806
|
+
this.popperProps = {};
|
9790
9807
|
/**
|
9791
9808
|
* Determines whether options manually set as values (by pressing 'Enter') when they receive focus using keyboard navigation.
|
9792
9809
|
*/
|
@@ -10640,9 +10657,7 @@ class Menu {
|
|
10640
10657
|
*/
|
10641
10658
|
async initPopperJs(anchor) {
|
10642
10659
|
// Placements set to "-start" to accommodate for custom menu width - menu should always be aligned to the left
|
10643
|
-
this.popperInstance = createPopper(anchor, this.host, {
|
10644
|
-
placement: "bottom-start",
|
10645
|
-
modifiers: [
|
10660
|
+
this.popperInstance = createPopper(anchor, this.host, Object.assign({ placement: "bottom-start", modifiers: [
|
10646
10661
|
{
|
10647
10662
|
name: "offset",
|
10648
10663
|
options: {
|
@@ -10656,8 +10671,14 @@ class Menu {
|
|
10656
10671
|
rootBoundary: "viewport",
|
10657
10672
|
},
|
10658
10673
|
},
|
10659
|
-
],
|
10660
|
-
|
10674
|
+
] }, this.popperProps));
|
10675
|
+
}
|
10676
|
+
/**
|
10677
|
+
* @internal This method allows props to be added to the PopperJS createPopper instance outside of the menu
|
10678
|
+
* @param props object - createPopper props set externally
|
10679
|
+
*/
|
10680
|
+
async setExternalPopperProps(props) {
|
10681
|
+
this.popperProps = props;
|
10661
10682
|
}
|
10662
10683
|
focusOnSearchOrSelectInput(menuOptions, highlightedOptionIndex) {
|
10663
10684
|
if (!menuOptions[highlightedOptionIndex])
|
@@ -10676,7 +10697,7 @@ class Menu {
|
|
10676
10697
|
const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, parentEl, SEARCH_BAR_TAG, } = this;
|
10677
10698
|
const selectAllButtonText = `${(value === null || value === void 0 ? void 0 : value.length) === this.ungroupedOptions.length ? "Clear" : "Select"} all`;
|
10678
10699
|
const hasNoResults = this.host.classList.contains("no-results");
|
10679
|
-
return (hAsync(Host, { key: '
|
10700
|
+
return (hAsync(Host, { key: '6c3e0c39d138c8622c3748c16294f0e21e202909', class: {
|
10680
10701
|
"ic-menu-full-width": !!fullWidth,
|
10681
10702
|
"ic-menu-no-focus": ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" &&
|
10682
10703
|
(parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) !== SEARCH_BAR_TAG) ||
|
@@ -10685,7 +10706,7 @@ class Menu {
|
|
10685
10706
|
[`ic-menu-${size}`]: true,
|
10686
10707
|
"ic-menu-open": open && options.length !== 0,
|
10687
10708
|
"ic-menu-multiple": this.isMultiSelect,
|
10688
|
-
} }, options.length !== 0 && (hAsync("ul", { key: '
|
10709
|
+
} }, options.length !== 0 && (hAsync("ul", { key: '69ea4424544b03896b65f0b30221872e131a04f6', id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": this.isMultiSelect ? "true" : "false", tabindex: open &&
|
10689
10710
|
!keyboardNav &&
|
10690
10711
|
((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ||
|
10691
10712
|
(parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) === SEARCH_BAR_TAG)
|
@@ -10713,7 +10734,7 @@ class Menu {
|
|
10713
10734
|
this.isMultiSelect &&
|
10714
10735
|
!isLoading &&
|
10715
10736
|
!hasTimedOut &&
|
10716
|
-
!hasNoResults && (hAsync("div", { key: '
|
10737
|
+
!hasNoResults && (hAsync("div", { key: '17553f6e5ecd81b892894244b3a3a143b998c23c', class: "option-bar" }, hAsync("ic-typography", { key: '7f4ce460524beb936e4d4ef2bbbcedd03cacec5c' }, hAsync("p", { key: 'aae0e564a9caf83b09d4ee8daa3d9409b7d69501' }, `${value ? value.length : 0}/${getOptionsWithoutGroupTitlesCount(this.options)} selected`)), hAsync("ic-button", { key: '692b840395eafd8c4c5dd0f21bab2082debb44bf', 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)))));
|
10717
10738
|
}
|
10718
10739
|
get host() { return getElement(this); }
|
10719
10740
|
static get watchers() { return {
|
@@ -10748,10 +10769,12 @@ class Menu {
|
|
10748
10769
|
"optionHighlighted": [32],
|
10749
10770
|
"preventIncorrectTabOrder": [32],
|
10750
10771
|
"menuOptions": [32],
|
10772
|
+
"popperProps": [32],
|
10751
10773
|
"handleClickOpen": [64],
|
10752
10774
|
"handleKeyboardOpen": [64],
|
10753
10775
|
"handleSetFirstOption": [64],
|
10754
|
-
"initPopperJs": [64]
|
10776
|
+
"initPopperJs": [64],
|
10777
|
+
"setExternalPopperProps": [64]
|
10755
10778
|
},
|
10756
10779
|
"$listeners$": undefined,
|
10757
10780
|
"$lazyBundleId$": "-",
|
@@ -10768,7 +10791,7 @@ class MenuGroup {
|
|
10768
10791
|
}
|
10769
10792
|
render() {
|
10770
10793
|
const parentMenu = this.el.closest("ic-popover-menu");
|
10771
|
-
return (hAsync(Host, { key: '
|
10794
|
+
return (hAsync(Host, { key: 'ec777b0d41cd1bb5d7751e61e702a45341f3080a', role: "group", "aria-label": this.label !== null ? this.label : "" }, isPropDefined(this.label) && (hAsync("ic-typography", { key: '31d4b7ba6d46a89c8c843654a2ded8ca993b1803', variant: "subtitle-small" }, this.label)), hAsync("span", { key: '3f1472c581431ea8c80dfc79a98b34d6ad2418f2', class: "menu-items-wrapper" }, hAsync("slot", { key: '68c43747e9948fdec7dff7c5e0d2a69d2bc73b62' })), this.el !== (parentMenu === null || parentMenu === void 0 ? void 0 : parentMenu.querySelector("ic-menu-group:last-child")) && (hAsync("hr", { key: 'b6540d15632b2d798ec6ead8d55fde5bca1e49f6' }))));
|
10772
10795
|
}
|
10773
10796
|
get el() { return getElement(this); }
|
10774
10797
|
static get style() { return IcMenuGroupStyle0; }
|
@@ -10929,7 +10952,6 @@ class NavigationButton {
|
|
10929
10952
|
registerInstance(this, hostRef);
|
10930
10953
|
this.inheritedAttributes = {};
|
10931
10954
|
this.hostMutationObserver = null;
|
10932
|
-
this.initialAppearance = getBrandForegroundAppearance();
|
10933
10955
|
/**
|
10934
10956
|
* The display mode.
|
10935
10957
|
*/
|
@@ -10942,7 +10964,9 @@ class NavigationButton {
|
|
10942
10964
|
* Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
|
10943
10965
|
*/
|
10944
10966
|
this.theme = "inherit";
|
10945
|
-
|
10967
|
+
/**
|
10968
|
+
* Triggered when attributes of host element change
|
10969
|
+
*/
|
10946
10970
|
this.hostMutationCallback = (mutationList) => {
|
10947
10971
|
mutationList.forEach(({ attributeName }) => {
|
10948
10972
|
if (attributeName) {
|
@@ -10958,6 +10982,7 @@ class NavigationButton {
|
|
10958
10982
|
this.inheritedAttributes = inheritAttributes(this.el, MUTABLE_ATTRIBUTES$2);
|
10959
10983
|
}
|
10960
10984
|
componentDidLoad() {
|
10985
|
+
this.updateTheme();
|
10961
10986
|
onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Navigation Button");
|
10962
10987
|
this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);
|
10963
10988
|
this.hostMutationObserver.observe(this.el, {
|
@@ -10965,8 +10990,9 @@ class NavigationButton {
|
|
10965
10990
|
});
|
10966
10991
|
}
|
10967
10992
|
componentWillRender() {
|
10968
|
-
|
10969
|
-
|
10993
|
+
var _a;
|
10994
|
+
(_a = this.el
|
10995
|
+
.querySelector(`[slot="icon"]`)) === null || _a === void 0 ? void 0 : _a.setAttribute("viewBox", "0 0 24 24");
|
10970
10996
|
}
|
10971
10997
|
disconnectedCallback() {
|
10972
10998
|
var _a;
|
@@ -10978,51 +11004,40 @@ class NavigationButton {
|
|
10978
11004
|
navBarMenuCloseHandler() {
|
10979
11005
|
this.mode = "navbar";
|
10980
11006
|
}
|
10981
|
-
brandChangeHandler(
|
10982
|
-
this.
|
11007
|
+
brandChangeHandler({ detail: { mode } }) {
|
11008
|
+
this.updateTheme(mode);
|
10983
11009
|
}
|
10984
11010
|
/**
|
10985
11011
|
* Sets focus on the native `button`.
|
10986
11012
|
*/
|
10987
11013
|
async setFocus() {
|
10988
|
-
|
10989
|
-
|
10990
|
-
|
11014
|
+
var _a;
|
11015
|
+
(_a = this.buttonEl) === null || _a === void 0 ? void 0 : _a.setFocus();
|
11016
|
+
}
|
11017
|
+
updateTheme(mode = getBrandForegroundAppearance()) {
|
11018
|
+
var _a;
|
11019
|
+
if ((_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.closest(IC_BLOCK_COLOR_COMPONENTS))
|
11020
|
+
return;
|
11021
|
+
this.theme =
|
11022
|
+
mode === IcBrandForegroundEnum.Light
|
11023
|
+
? IcBrandForegroundEnum.Dark
|
11024
|
+
: IcBrandForegroundEnum.Light;
|
10991
11025
|
}
|
10992
11026
|
render() {
|
10993
|
-
const { href,
|
10994
|
-
|
10995
|
-
let className = "";
|
10996
|
-
let variant = "icon";
|
10997
|
-
let appearance = this.initialAppearance;
|
10998
|
-
let size = "large";
|
10999
|
-
let fullWidth = false;
|
11000
|
-
let disableTooltip = false;
|
11001
|
-
if (this.mode === "menu") {
|
11002
|
-
label = this.label;
|
11003
|
-
variant = "tertiary";
|
11004
|
-
appearance = IcBrandForegroundEnum.Default;
|
11005
|
-
size = "medium";
|
11006
|
-
fullWidth = true;
|
11007
|
-
className = "popout-menu-button";
|
11008
|
-
disableTooltip = true;
|
11009
|
-
}
|
11027
|
+
const { download, href, inheritedAttributes, label, mode, referrerpolicy, rel, target, theme, } = this;
|
11028
|
+
const isMenuMode = mode === "menu";
|
11010
11029
|
const buttonProps = {
|
11011
|
-
variant,
|
11012
|
-
appearance,
|
11013
|
-
size,
|
11014
|
-
href,
|
11015
|
-
target,
|
11016
|
-
rel,
|
11017
11030
|
download,
|
11031
|
+
href,
|
11018
11032
|
referrerpolicy,
|
11019
|
-
|
11020
|
-
|
11033
|
+
rel,
|
11034
|
+
target,
|
11035
|
+
theme,
|
11021
11036
|
};
|
11022
|
-
return (hAsync(Host, { key: '
|
11023
|
-
|
11024
|
-
[`ic-theme-${
|
11025
|
-
} }, hAsync("ic-button", Object.assign({ key: '
|
11037
|
+
return (hAsync(Host, { key: '341c602f37816c5bd021d7d2457a60cc48ec0a4d', class: {
|
11038
|
+
"in-side-menu": isMenuMode,
|
11039
|
+
[`ic-theme-${theme}`]: theme !== "inherit",
|
11040
|
+
} }, hAsync("ic-button", Object.assign({ key: '7f122b31c8584bc6ccea93220a60f1a7754f7985', ref: (el) => (this.buttonEl = el), class: { "popout-menu-button": isMenuMode }, "aria-label": !isMenuMode ? label : null, disableTooltip: isMenuMode, fullWidth: isMenuMode, monochrome: !isMenuMode, size: isMenuMode ? "medium" : "large", variant: isMenuMode ? "tertiary" : "icon" }, buttonProps, inheritedAttributes), isMenuMode ? label : "", hAsync("slot", { key: '68d45cf8961f30491f610d5c009da84350611c1b', slot: "left-icon", name: "icon" }), isSlotUsed(this.el, "badge") && hAsync("slot", { key: '43740c1e00ca73197b6d121b6ccf6df550d3b5c7', name: "badge" }))));
|
11026
11041
|
}
|
11027
11042
|
static get delegatesFocus() { return true; }
|
11028
11043
|
get el() { return getElement(this); }
|
@@ -11038,8 +11053,7 @@ class NavigationButton {
|
|
11038
11053
|
"referrerpolicy": [1],
|
11039
11054
|
"rel": [1],
|
11040
11055
|
"target": [1],
|
11041
|
-
"theme": [
|
11042
|
-
"initialAppearance": [32],
|
11056
|
+
"theme": [1025],
|
11043
11057
|
"mode": [32],
|
11044
11058
|
"setFocus": [64]
|
11045
11059
|
},
|
@@ -11066,7 +11080,6 @@ class NavigationGroup {
|
|
11066
11080
|
this.mouseGate = false;
|
11067
11081
|
this.deviceSize = DEVICE_SIZES.XL;
|
11068
11082
|
this.dropdownOpen = false;
|
11069
|
-
this.expanded = true;
|
11070
11083
|
this.focusStyle = getBrandForegroundAppearance();
|
11071
11084
|
this.inTopNavSideMenu = false;
|
11072
11085
|
this.isSideNavExpanded = false;
|
@@ -11074,6 +11087,10 @@ class NavigationGroup {
|
|
11074
11087
|
* If `true`, the group will be expandable when in an ic-side-navigation component, or, when in an ic-top-navigation component, in the side menu displayed at small screen sizes.
|
11075
11088
|
*/
|
11076
11089
|
this.expandable = false;
|
11090
|
+
/**
|
11091
|
+
* If `true`, the expandable group will be expanded by default when in an ic-side-navigation component. To enable this prop, `expandable` must also be set to `true`.
|
11092
|
+
*/
|
11093
|
+
this.expanded = true;
|
11077
11094
|
/**
|
11078
11095
|
* Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
|
11079
11096
|
*/
|
@@ -11312,7 +11329,7 @@ class NavigationGroup {
|
|
11312
11329
|
const isTopNav = this.navigationType === "top";
|
11313
11330
|
const isTopNavDesktop = !inTopNavSideMenu && isTopNav;
|
11314
11331
|
const ariaExpanded = (isSideNav && expanded) || (isTopNav && dropdownOpen);
|
11315
|
-
return (hAsync(Host, { key: '
|
11332
|
+
return (hAsync(Host, { key: '1c16958eaa37fb0d37d04178e7bd2d469af832f6', class: {
|
11316
11333
|
"in-side-menu": inTopNavSideMenu,
|
11317
11334
|
"ic-navigation-group-expandable": expandable,
|
11318
11335
|
"ic-navigation-group-side-nav": isSideNav,
|
@@ -11320,7 +11337,7 @@ class NavigationGroup {
|
|
11320
11337
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
11321
11338
|
}, role: "listitem" }, expandable || isTopNavDesktop ? (hAsync("button", { onMouseEnter: isTopNavDesktop ? this.handleMouseEnter : undefined, onMouseLeave: isTopNav ? this.handleMouseLeave : undefined, onBlur: this.handleBlur, onClick: this.handleClick, onKeyDown: this.handleKeydown, class: navGroupTitleClassNames, ref: (el) => (this.groupEl = el), "aria-expanded": `${ariaExpanded}`, "aria-haspopup": `${isTopNavDesktop}` }, this.renderGroupTitleText(), isSideNav && expandable && (hAsync("div", { class: {
|
11322
11339
|
"chevron-toggle-icon-wrapper": true,
|
11323
|
-
"chevron-toggle-icon-closed": expanded,
|
11340
|
+
"chevron-toggle-icon-closed": !!expanded,
|
11324
11341
|
}, innerHTML: chevronIcon })))) : ((!isSideNav || isSideNavExpanded) && (hAsync("div", { class: navGroupTitleClassNames }, this.renderGroupTitleText()))), this.renderNavigationItems()));
|
11325
11342
|
}
|
11326
11343
|
static get delegatesFocus() { return true; }
|
@@ -11331,11 +11348,11 @@ class NavigationGroup {
|
|
11331
11348
|
"$tagName$": "ic-navigation-group",
|
11332
11349
|
"$members$": {
|
11333
11350
|
"expandable": [4],
|
11351
|
+
"expanded": [1028],
|
11334
11352
|
"label": [1],
|
11335
11353
|
"theme": [1],
|
11336
11354
|
"deviceSize": [32],
|
11337
11355
|
"dropdownOpen": [32],
|
11338
|
-
"expanded": [32],
|
11339
11356
|
"focusStyle": [32],
|
11340
11357
|
"inTopNavSideMenu": [32],
|
11341
11358
|
"navigationType": [32],
|
@@ -11349,7 +11366,7 @@ class NavigationGroup {
|
|
11349
11366
|
}; }
|
11350
11367
|
}
|
11351
11368
|
|
11352
|
-
const icNavigationItemCss = "/*! 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;--navigation-link-colour:var(--ic-brand-text-color)}:host(:focus-within){z-index:var(--ic-z-index-navigation-item)}svg{width:var(--ic-space-xl);fill:var(--ic-brand-text-color)}.svg{margin-left:auto}.chevron-container svg,.chevron-container .svg{width:var(--ic-space-lg);height:var(--ic-space-lg)}.chevron-container{flex-grow:1}:host(.expandable.navigation-item) .link,:host(.expandable.navigation-item) ::slotted(a){padding-right:0}:host(.navigation-item) .link,:host(.navigation-item) ::slotted(a){height:calc(100% - var(--ic-space-xxs));width:-moz-fit-content;width:fit-content;color:var(--navigation-link-colour);display:flex;align-items:center;justify-content:center;padding:0 var(--ic-space-md) var(--ic-space-xxs);text-decoration:none;transition:var(--ic-easing-transition-fast);position:relative;white-space:nowrap}:host(.navigation-item) ::slotted(a){height:100%;font:var(--ic-font-label) !important;letter-spacing:var(--ic-font-letter-spacing-0pt025) !important;padding:0 var(--ic-space-md) !important}:host(.navigation-item-selected) .link::after,:host(.navigation-item-selected) ::slotted(a.active)::after,:host(.navigation-item-top-nav) ::slotted(a.active)::after{content:\"\";height:0.25rem;width:100%;position:absolute;bottom:0;background-color:var(--ic-top-navigation-theme)}:host(.navigation-item-selected.navigation-item-page-header) ::slotted(a.active)::after,:host(.navigation-item-selected.navigation-item-page-header) .link::after,:host(.navigation-item.navigation-item-page-header) ::slotted(a.active)::after,:host(.navigation-item-top-nav-child) ::slotted(a.active)::after{content:none}:host(.navigation-item-side-menu-selected) .link,:host(.navigation-item-side-menu) ::slotted(a.active),:host(.navigation-item-top-nav-child) ::slotted(a.active){box-shadow:none}:host(.navigation-item) .link:hover:not(:focus){background-color:var(--ic-brand-hover);cursor:pointer}:host(.navigation-item:not(.navigation-item-top-nav-child,.navigation-item-side-menu,.navigation-item-top-nav-child-selected .navigation-item-side-menu-selected)) .focus-indicator:focus-within{box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius)}:host(.navigation-item) .link:focus,:host(.navigation-item) ::slotted(a:focus){box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);outline:var(--ic-hc-focus-outline);outline-offset:calc(-1 * (var(--ic-space-xxxs) + var(--ic-space-1px) / 2))}:host(.navigation-item-selected) .link:focus,:host(.navigation-item) ::slotted(a.active:focus){box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);outline:var(--ic-hc-focus-outline);outline-offset:calc(-1 * (var(--ic-space-xxxs) + var(--ic-space-1px) / 2))}:host(.navigation-item) .link:active:not(:focus),:host(.navigation-item) ::slotted(a:active:not(:focus)){background-color:var(--ic-brand-active)}:host(.navigation-item-side-menu) .link,:host(.navigation-item-side-menu) ::slotted(a){min-height:2.5rem;height:auto;width:100%;box-sizing:border-box;color:var(--ic-top-navigation-nav-item);--ic-typography-color:var(--ic-top-navigation-nav-item);display:flex;align-items:center;justify-content:flex-start;text-decoration:none;text-wrap:wrap;white-space:normal;transition:box-shadow var(--ic-transition-duration-fast),\n border-radius var(--ic-transition-duration-fast)}:host(.navigation-item-top-nav-child) ::slotted(svg),:host(.navigation-item-side-menu) ::slotted(svg),:host(.navigation-item-page-header) ::slotted(svg){fill:var(--ic-color-text-primary)}:host(.navigation-item-side-menu) ::slotted(a){font:var(--ic-font-body) !important;letter-spacing:var(--ic-font-letter-spacing-0pt005) !important;transition:box-shadow var(--ic-easing-transition-fast),\n background-color var(--ic-easing-transition-fast)}:host(.navigation-item-side-menu) .link:hover:not(:focus){background-color:var(--ic-top-navigation-nav-item-hover)}:host(.navigation-item-side-menu) ::slotted(a:hover:not(:focus)){background-color:var(--ic-top-navigation-nav-item-hover) !important}:host(.navigation-item-side-menu) .focus-indicator:focus-within{box-shadow:none}:host(.navigation-item-side-menu) .link:focus,:host(.navigation-item-side-menu) ::slotted(a:focus){box-shadow:var(--ic-border-focus-inset) !important;width:auto;border-radius:var(--ic-border-radius-inset) !important}:host(.navigation-item-side-menu-selected) .link,:host(.navigation-item-side-menu-selected) ::slotted(a){transition:box-shadow var(--ic-easing-transition-slow),\n background-color var(--ic-easing-transition-slow)}:host(.navigation-item-side-menu-selected) .link:focus,:host(.navigation-item-side-menu) ::slotted(a.active:focus),:host(.navigation-item-top-nav-child) ::slotted(a.active:focus){margin-left:var(--ic-space-xs) !important;padding-left:var(--ic-space-xs) !important}:host(.navigation-item-top-nav-child) .link,:host(.navigation-item-top-nav-child) ::slotted(a){height:2.5rem;width:-moz-fit-content;width:fit-content;min-width:9.063rem;color:var(--ic-top-navigation-nav-item);display:flex;align-items:center;justify-content:flex-start;padding:0 var(--ic-space-md) !important;text-decoration:none;position:relative;transition:box-shadow var(--ic-transition-duration-fast),\n border-radius var(--ic-transition-duration-slow)}:host(.navigation-item-top-nav-child) ::slotted(a){font:var(--ic-font-body) !important;letter-spacing:var(--ic-font-letter-spacing-0pt005) !important}:host(.navigation-item-top-nav-child) .link:hover:not(:focus),:host(.navigation-item-top-nav-child) ::slotted(a:hover:not(:focus)){background-color:var(--ic-top-navigation-nav-item-hover) !important}:host(.navigation-item-top-nav-child) .link:focus,:host(.navigation-item-top-nav-child) ::slotted(a:focus){z-index:1;outline:var(--ic-hc-focus-outline);border-radius:var(--ic-border-radius-inset);box-shadow:var(--ic-border-focus-inset);transition:border-radius 0s, box-shadow var(--ic-transition-duration-fast)}:host(.navigation-item-top-nav-child) ::slotted(a.active:focus){box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset)}:host(.navigation-item-side-menu) .link:active:not(:focus){background-color:var(--ic-top-navigation-nav-item-pressed)}:host(.navigation-item-top-nav-child) .link:active:not(:focus),:host(.navigation-item-top-nav-child) ::slotted(a:active:not(:focus)){outline:var(--ic-hc-focus-outline);background-color:var(--ic-top-navigation-nav-item-pressed)}:host(.navigation-item-top-nav-child) ::slotted(a:active:not(:focus)),:host(.navigation-item-side-menu) ::slotted(a:active:not(:focus)){background-color:var(--ic-top-navigation-nav-item-pressed) !important}:host(.navigation-item-side-menu-selected) *,:host(.navigation-item-top-nav-child-selected) *,:host(.navigation-item-side-menu) ::slotted(a.active),:host(.navigation-item-top-nav-child) ::slotted(a.active){font-weight:700 !important}:host(.navigation-item-top-nav-child) ::slotted(a.active)::before,:host(.navigation-item-top-nav-child-selected) .link::before,:host(.navigation-item-side-menu-selected) .link::before,:host(.navigation-item-side-menu) ::slotted(a.active)::before,:host(.navigation-item-side-menu-selected) .link:focus::before,:host(.navigation-item-side-menu) ::slotted(a.active:focus)::before{content:\"\";position:absolute;left:0;width:var(--ic-space-xs);height:inherit;min-height:2.5rem;background-color:var(--ic-top-navigation-nav-item-banner);transition:left 0s}:host(.navigation-item-side-menu-selected) .link::before,:host(.navigation-item-side-menu-selected) .link:focus::before{margin-top:var(--ic-space-xxs)}:host(.navigation-item-top-nav-child-selected) .link:focus{margin-left:var(--ic-space-xs);margin-right:calc(-1 * var(--ic-space-xs));padding-left:var(--ic-space-xs) !important}:host(.navigation-item-top-nav-child-selected) .link:focus::before{left:calc(-1 * var(--ic-space-xs));z-index:1}:host(.navigation-item-side-menu-selected) .link::before,:host(.navigation-item-side-menu) ::slotted(a.active)::before,:host(.navigation-item-side-menu-selected) .link:focus::before,:host(.navigation-item-side-menu) ::slotted(a.active:focus)::before{z-index:1}:host(.navigation-item-side-menu-selected) .link:focus::before,:host(.navigation-item-side-menu) ::slotted(a.active:focus)::before,:host(.navigation-item-top-nav-child) ::slotted(a.active:focus)::before{left:calc(-1 * var(--ic-space-xs))}:host(.navigation-item-side-menu-selected) .link::after{display:none}:host(.navigation-item-side-nav-collapsed) .link{height:100%}:host(.navigation-item-side-nav-collapsed) ::slotted(svg),:host(.navigation-item-side-nav-collapsed-with-label) ::slotted(svg){margin:auto;pointer-events:none}:host(.navigation-item-side-nav-collapsed) .icon,:host(.navigation-item-side-nav-collapsed-with-label) .icon,:host(.navigation-item-side-nav-collapsed-with-label) ic-typography{align-items:center;padding:0;margin:auto 0;width:-moz-fit-content;width:fit-content;pointer-events:none}:host(.navigation-item-side-nav-collapsed-with-label) ic-typography{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;text-align:center}:host(.navigation-item-side-nav-collapsed-with-label) .link,:host(.navigation-item-side-nav-collapsed-with-label) ::slotted(a){display:flex;flex-direction:column;height:-moz-fit-content;height:fit-content;padding:var(--ic-space-xs) !important;gap:var(--ic-space-xxs)}:host(.navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) .link,:host(.navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) ::slotted(a){height:auto !important;gap:0;width:auto;padding:var(--ic-space-xs) !important}:host(.navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) ::slotted(a){display:block;text-align:center}:host(.navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) .link ic-typography{opacity:1;min-width:-moz-min-content;min-width:min-content}:host(.navigation-item-side-nav-collapsed) svg,:host(.navigation-item-side-nav-collapsed-with-label) svg{display:none}::slotted(svg){fill:var(--ic-brand-text-color);height:var(--ic-space-lg);width:var(--ic-space-lg);margin-left:var(--ic-space-md)}.icon{height:1.5rem;width:var(--ic-space-xxl);margin-left:calc(-1 * var(--ic-space-md));flex:0 1 0%;position:relative}.icon>::slotted(*){margin-left:var(--ic-space-md) !important;margin-right:var(--ic-space-xs)}.inline-badge{margin-left:var(--ic-space-xs)}.badge{margin-left:0}:host(.navigation-item-side-nav-collapsed) .icon>::slotted(*){margin:auto !important}:host(.navigation-item-side-nav) .icon>::slotted(*){margin-right:0}:host(.navigation-item-side-nav) .link,:host(.navigation-item-side-nav) ::slotted(a){height:var(--navigation-item-height, 4rem);min-height:var(--navigation-item-min-height);width:var(--navigation-item-width, auto);justify-content:var(--navigation-item-justify-content);display:flex;gap:var(--ic-space-xs);box-sizing:border-box;color:var(--navigation-item-child-color) !important;text-decoration:none !important;white-space:nowrap;padding:0 var(--ic-space-md);text-wrap:wrap}:host(.navigation-item-side-nav.navigation-item-top-nav-child) .link,:host(.navigation-item-side-nav.navigation-item-top-nav-child) ::slotted(a){height:var(--navigation-item-child-height);width:var(--navigation-group-width);color:var(--navigation-item-child-color) !important;display:flex;gap:0.625rem;box-sizing:border-box;min-width:0;transition:box-shadow var(--ic-easing-transition-fast);text-decoration:none !important;white-space:nowrap}:host(.navigation-item-side-nav.navigation-item-top-nav-child) .link:focus,:host(.navigation-item-side-nav.navigation-item-top-nav-child) ::slotted(a:focus){box-shadow:var(--ic-border-focus-dark)}:host(.navigation-item-side-nav.navigation-item-side-menu) .link:active{background-color:var(--navigation-item-child-active)}:host(.navigation-item-side-nav.navigation-item-top-nav-child) .link:active,:host(.navigation-item-side-nav.navigation-item-top-nav-child) ::slotted(a:active){background-color:var(--navigation-item-child-active)}:host(.navigation-item-side-nav) a.link ic-typography,:host(.navigation-item-side-nav.navigation-item-top-nav-child) a.link ic-typography,:host(.navigation-item-side-nav) div.link ic-typography,:host(.navigation-item-side-nav.navigation-item-top-nav-child) div.link ic-typography,.navigation-item-side-nav-slotted-text{opacity:var(--navigation-item-label-opacity);transition:opacity var(--ic-easing-transition-slow);white-space:wrap;text-overflow:ellipsis;overflow:hidden}:host(.navigation-item-side-nav.navigation-item-selected) .link,:host(.navigation-item-side-nav.navigation-item) ::slotted(a.active){box-shadow:inset 0.313rem 0 0 var(--ic-brand-text-color)}:host(.navigation-item-side-nav.navigation-item-selected) .link::before,:host(.navigation-item-side-nav) ::slotted(a.active)::before{content:\"\";display:block;position:absolute;inset:0 0 0 0.313rem;border-radius:0.688rem !important;transition:var(--ic-easing-transition-slow)}:host(.navigation-item-side-nav.navigation-item-selected) .link:focus::before,:host(.navigation-item-side-nav) ::slotted(a.active:focus)::before{box-shadow:var(--ic-border-focus-inset)}:host(:not(.navigation-item-side-nav-collapsed).navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) .link{opacity:var(--navigation-item-label-opacity);height:auto}:host(.navigation-item-top-nav-child.navigation-item-side-nav-collapsed-with-label) .link,:host(.navigation-item-top-nav-child.navigation-item-side-nav-collapsed-with-label) ::slotted(a){min-width:var(--navigation-group-item-min-width);padding:var(--ic-space-xs) !important;height:auto;gap:0}:host(.navigation-item-top-nav-child.navigation-item-side-nav-collapsed-with-label) ::slotted(a){display:block}:host(.navigation-item-side-nav.navigation-item-selected) .link::after,:host(.navigation-item-side-nav) ::slotted(a.active)::after{display:none}:host(.navigation-item-side-nav.navigation-item) .link:focus,:host(.navigation-item-side-nav.navigation-item) ::slotted(a:focus){box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);background-color:transparent}:host(.navigation-item-side-nav.navigation-item-selected) .link:focus,:host(.navigation-item-side-nav) ::slotted(a.active:focus){margin:0 auto;box-shadow:inset 0.313rem 0 0 var(--ic-brand-text-color);border-radius:0}:host(.navigation-item-side-nav.navigation-item) .link:hover:not(:focus){background-color:var(--ic-brand-hover) !important}:host(.navigation-item-page-header).link,:host(.navigation-item-page-header) a,:host(.navigation-item-page-header) ::slotted(a){height:2.5rem !important;color:var(--ic-color-text-primary) !important;transition:all var(--ic-easing-transition-fast) !important;box-shadow:rgba(23 89 188 / 0%) !important}:host(.navigation-item-page-header.navigation-item-selected) .link::after,:host(.navigation-item-page-header) ::slotted(a.active)::after{content:\" \" !important;position:absolute;bottom:0;left:0;right:0;height:var(--ic-space-xxs);background-color:var(--ic-action-default) !important}:host(.navigation-item-page-header) .link:hover,:host(.navigation-item-page-header) ::slotted(.link:hover),:host(.navigation-item-page-header) ::slotted(a:hover),:host(.navigation-item-page-header) .link:hover:not(:focus){background-color:var(--ic-action-default-bg-hover) !important;cursor:pointer}:host(.navigation-item-page-header) .link:focus,:host(.navigation-item-page-header) ::slotted(a:focus){box-shadow:var(--ic-border-focus)}:host(.navigation-item-page-header) .link:active,:host(.navigation-item-page-header) ::slotted(a:active){background-color:var(--ic-action-default-bg-pressed) !important}:host(.navigation-item-page-header.navigation-item-selected) .link:focus::after,:host(.navigation-item-page-header) ::slotted(a.active:focus)::after{border-bottom-left-radius:var(--ic-border-radius);border-bottom-right-radius:var(--ic-border-radius)}:host(.navigation-item-page-header.navigation-item-selected.with-transition) .link,:host(.navigation-item-page-header.navigation-item-selected.with-transition) ::slotted(a.active){transition:all var(--ic-easing-transition-fast),\n border-color var(--ic-transition-duration-fast)}:host(.navigation-item-page-header) ::slotted(a.active)::before,:host(.navigation-item-page-header) ::slotted(a.active:focus)::before,:host(.navigation-item-page-header.navigation-item-selected) .link:focus::before{display:none}.open-in-new-icon{flex:1}.open-in-new-icon svg{margin-top:var(--ic-space-xxs);padding-left:var(--ic-space-xs)}:host(.navigation-item-side-nav) .open-in-new-icon{margin-left:calc(-1 * var(--ic-space-xs))}:host(.navigation-item-top-nav) .open-in-new-icon svg,:host(.navigation-item-page-header) .open-in-new-icon svg,:host(.navigation-item-side-nav) .open-in-new-icon svg{height:0.875rem;width:0.875rem}:host(.navigation-item-side-menu) .open-in-new-icon svg,:host(.navigation-item-top-nav-child) .open-in-new-icon svg{height:var(--ic-space-md);width:var(--ic-space-md)}:host(.navigation-item-page-header) .open-in-new-icon svg,:host(.navigation-item-top-nav-child) .open-in-new-icon svg,:host(.navigation-item-side-menu) .open-in-new-icon svg{fill:var(--ic-color-text-primary)}@media (forced-colors: active){.open-in-new-icon svg{fill:currentcolor}}";
|
11369
|
+
const icNavigationItemCss = "/*! 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;--navigation-link-colour:var(--ic-brand-text-color)}:host(:focus-within){z-index:var(--ic-z-index-navigation-item)}svg{width:var(--ic-space-xl);fill:var(--ic-brand-text-color)}.svg{margin-left:auto}.chevron-container svg,.chevron-container .svg{width:var(--ic-space-lg);height:var(--ic-space-lg)}.chevron-container{flex-grow:1}:host(.expandable.navigation-item) .link,:host(.expandable.navigation-item) ::slotted(a){padding-right:0}:host(.navigation-item) .link,:host(.navigation-item) ::slotted(a){height:calc(100% - var(--ic-space-xxs));width:-moz-fit-content;width:fit-content;color:var(--navigation-link-colour);display:flex;align-items:center;justify-content:center;padding:0 var(--ic-space-md) var(--ic-space-xxs);text-decoration:none;transition:var(--ic-easing-transition-fast);position:relative;white-space:nowrap}:host(.navigation-item) ::slotted(a){height:100%;font:var(--ic-font-label) !important;letter-spacing:var(--ic-font-letter-spacing-0pt025) !important;padding:0 var(--ic-space-md) !important}:host(.navigation-item-selected) .link::after,:host(.navigation-item-selected) ::slotted(a.active)::after,:host(.navigation-item-top-nav) ::slotted(a.active)::after{content:\"\";height:0.25rem;width:100%;position:absolute;bottom:0;background-color:var(--ic-top-navigation-theme)}:host(.navigation-item-selected.navigation-item-page-header) ::slotted(a.active)::after,:host(.navigation-item-selected.navigation-item-page-header) .link::after,:host(.navigation-item.navigation-item-page-header) ::slotted(a.active)::after,:host(.navigation-item-top-nav-child) ::slotted(a.active)::after{content:none}:host(.navigation-item-side-menu-selected) .link,:host(.navigation-item-side-menu) ::slotted(a.active),:host(.navigation-item-top-nav-child) ::slotted(a.active){box-shadow:none}:host(.navigation-item) .link:hover:not(:focus){background-color:var(--ic-brand-hover);cursor:pointer}:host(.navigation-item:not(.navigation-item-page-header,.navigation-item-side-menu,.navigation-item-top-nav-child)) ::slotted(a:hover:not(:focus)),:host(.navigation-item-side-nav.navigation-item) .link:hover:not(:focus){background-color:var(--ic-brand-hover) !important}:host(.navigation-item:not(.navigation-item-top-nav-child,.navigation-item-side-menu,.navigation-item-top-nav-child-selected .navigation-item-side-menu-selected)) .focus-indicator:focus-within{box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius)}:host(.navigation-item) .link:focus,:host(.navigation-item) ::slotted(a:focus){box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);outline:var(--ic-hc-focus-outline);outline-offset:calc(-1 * (var(--ic-space-xxxs) + var(--ic-space-1px) / 2))}:host(.navigation-item-selected) .link:focus,:host(.navigation-item) ::slotted(a.active:focus){box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);outline:var(--ic-hc-focus-outline);outline-offset:calc(-1 * (var(--ic-space-xxxs) + var(--ic-space-1px) / 2))}:host(.navigation-item) .link:active:not(:focus),:host(.navigation-item) ::slotted(a:active:not(:focus)){background-color:var(--ic-brand-active)}:host(.navigation-item-side-menu) .link,:host(.navigation-item-side-menu) ::slotted(a){min-height:2.5rem;height:auto;width:100%;box-sizing:border-box;color:var(--ic-top-navigation-nav-item);--ic-typography-color:var(--ic-top-navigation-nav-item);display:flex;align-items:center;justify-content:flex-start;text-decoration:none;text-wrap:wrap;white-space:normal;transition:box-shadow var(--ic-transition-duration-fast),\n border-radius var(--ic-transition-duration-fast)}:host(.navigation-item-top-nav-child) ::slotted(svg),:host(.navigation-item-side-menu) ::slotted(svg),:host(.navigation-item-page-header) ::slotted(svg){fill:var(--ic-color-text-primary)}:host(.navigation-item-side-menu) ::slotted(a){font:var(--ic-font-body) !important;letter-spacing:var(--ic-font-letter-spacing-0pt005) !important;transition:box-shadow var(--ic-easing-transition-fast),\n background-color var(--ic-easing-transition-fast)}:host(.navigation-item-side-menu) .link:hover:not(:focus){background-color:var(--ic-top-navigation-nav-item-hover)}:host(.navigation-item-side-menu) ::slotted(a:hover:not(:focus)){background-color:var(--ic-top-navigation-nav-item-hover) !important}:host(.navigation-item-side-menu) .focus-indicator:focus-within{box-shadow:none}:host(.navigation-item-side-menu) .link:focus,:host(.navigation-item-side-menu) ::slotted(a:focus){box-shadow:var(--ic-border-focus-inset) !important;width:auto;border-radius:var(--ic-border-radius-inset) !important}:host(.navigation-item-side-menu-selected) .link,:host(.navigation-item-side-menu-selected) ::slotted(a){transition:box-shadow var(--ic-easing-transition-slow),\n background-color var(--ic-easing-transition-slow)}:host(.navigation-item-side-menu-selected) .link:focus,:host(.navigation-item-side-menu) ::slotted(a.active:focus),:host(.navigation-item-top-nav-child) ::slotted(a.active:focus){margin-left:var(--ic-space-xs) !important;padding-left:var(--ic-space-xs) !important}:host(.navigation-item-top-nav-child) .link,:host(.navigation-item-top-nav-child) ::slotted(a){height:2.5rem;width:-moz-fit-content;width:fit-content;min-width:9.063rem;color:var(--ic-top-navigation-nav-item);display:flex;align-items:center;justify-content:flex-start;padding:0 var(--ic-space-md) !important;text-decoration:none;position:relative;transition:box-shadow var(--ic-transition-duration-fast),\n border-radius var(--ic-transition-duration-slow)}:host(.navigation-item-top-nav-child) ::slotted(a){font:var(--ic-font-body) !important;letter-spacing:var(--ic-font-letter-spacing-0pt005) !important}:host(.navigation-item-top-nav-child) .link:hover:not(:focus),:host(.navigation-item-top-nav-child) ::slotted(a:hover:not(:focus)){background-color:var(--ic-top-navigation-nav-item-hover) !important}:host(.navigation-item-top-nav-child) .link:focus,:host(.navigation-item-top-nav-child) ::slotted(a:focus){z-index:1;outline:var(--ic-hc-focus-outline);border-radius:var(--ic-border-radius-inset);box-shadow:var(--ic-border-focus-inset);transition:border-radius 0s, box-shadow var(--ic-transition-duration-fast)}:host(.navigation-item-top-nav-child) ::slotted(a.active:focus){box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset)}:host(.navigation-item-side-menu) .link:active:not(:focus){background-color:var(--ic-top-navigation-nav-item-pressed)}:host(.navigation-item-top-nav-child) .link:active:not(:focus),:host(.navigation-item-top-nav-child) ::slotted(a:active:not(:focus)){outline:var(--ic-hc-focus-outline);background-color:var(--ic-top-navigation-nav-item-pressed)}:host(.navigation-item-top-nav-child) ::slotted(a:active:not(:focus)),:host(.navigation-item-side-menu) ::slotted(a:active:not(:focus)){background-color:var(--ic-top-navigation-nav-item-pressed) !important}:host(.navigation-item-side-menu-selected) *,:host(.navigation-item-top-nav-child-selected) *,:host(.navigation-item-side-menu) ::slotted(a.active),:host(.navigation-item-top-nav-child) ::slotted(a.active){font-weight:700 !important}:host(.navigation-item-top-nav-child) ::slotted(a.active)::before,:host(.navigation-item-top-nav-child-selected) .link::before,:host(.navigation-item-side-menu-selected) .link::before,:host(.navigation-item-side-menu) ::slotted(a.active)::before,:host(.navigation-item-side-menu-selected) .link:focus::before,:host(.navigation-item-side-menu) ::slotted(a.active:focus)::before{content:\"\";position:absolute;left:0;width:var(--ic-space-xs);height:inherit;min-height:2.5rem;background-color:var(--ic-top-navigation-nav-item-banner);transition:left 0s}:host(.navigation-item-side-menu-selected) .link::before,:host(.navigation-item-side-menu-selected) .link:focus::before{margin-top:var(--ic-space-xxs)}:host(.navigation-item-top-nav-child-selected) .link:focus{margin-left:var(--ic-space-xs);margin-right:calc(-1 * var(--ic-space-xs));padding-left:var(--ic-space-xs) !important}:host(.navigation-item-top-nav-child-selected) .link:focus::before{left:calc(-1 * var(--ic-space-xs));z-index:1}:host(.navigation-item-side-menu-selected) .link::before,:host(.navigation-item-side-menu) ::slotted(a.active)::before,:host(.navigation-item-side-menu-selected) .link:focus::before,:host(.navigation-item-side-menu) ::slotted(a.active:focus)::before{z-index:1}:host(.navigation-item-side-menu-selected) .link:focus::before,:host(.navigation-item-side-menu) ::slotted(a.active:focus)::before,:host(.navigation-item-top-nav-child) ::slotted(a.active:focus)::before{left:calc(-1 * var(--ic-space-xs))}:host(.navigation-item-side-menu-selected) .link::after{display:none}:host(.navigation-item-side-nav-collapsed) .link{height:100%}:host(.navigation-item-side-nav-collapsed) ::slotted(svg),:host(.navigation-item-side-nav-collapsed-with-label) ::slotted(svg){margin:auto;pointer-events:none}:host(.navigation-item-side-nav-collapsed) .icon,:host(.navigation-item-side-nav-collapsed-with-label) .icon,:host(.navigation-item-side-nav-collapsed-with-label) ic-typography{align-items:center;padding:0;margin:auto 0;width:-moz-fit-content;width:fit-content;pointer-events:none}:host(.navigation-item-side-nav-collapsed-with-label) ic-typography{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;text-align:center}:host(.navigation-item-side-nav-collapsed-with-label) .link,:host(.navigation-item-side-nav-collapsed-with-label) ::slotted(a){display:flex;flex-direction:column;height:-moz-fit-content;height:fit-content;padding:var(--ic-space-xs) !important;gap:var(--ic-space-xxs)}:host(.navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) .link,:host(.navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) ::slotted(a){height:auto !important;gap:0;width:auto;padding:var(--ic-space-xs) !important}:host(.navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) ::slotted(a){display:block;text-align:center}:host(.navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) .link ic-typography{opacity:1;min-width:-moz-min-content;min-width:min-content}:host(.navigation-item-side-nav-collapsed) svg,:host(.navigation-item-side-nav-collapsed-with-label) svg{display:none}::slotted(svg){fill:var(--ic-brand-text-color);height:var(--ic-space-lg);width:var(--ic-space-lg);margin-left:var(--ic-space-md)}.icon{height:1.5rem;width:var(--ic-space-xxl);margin-left:calc(-1 * var(--ic-space-md));flex:0 1 0%;position:relative}.icon>::slotted(*){margin-left:var(--ic-space-md) !important;margin-right:var(--ic-space-xs)}.inline-badge{margin-left:var(--ic-space-xs)}.badge{margin-left:0}:host(.navigation-item-side-nav-collapsed) .icon>::slotted(*){margin:auto !important}:host(.navigation-item-side-nav) .icon>::slotted(*){margin-right:0}:host(.navigation-item-side-nav) .link,:host(.navigation-item-side-nav) ::slotted(a){height:var(--navigation-item-height, 4rem);min-height:var(--navigation-item-min-height);width:var(--navigation-item-width, auto);justify-content:var(--navigation-item-justify-content);display:flex;gap:var(--ic-space-xs);box-sizing:border-box;color:var(--navigation-item-child-color) !important;text-decoration:none !important;white-space:nowrap;padding:0 var(--ic-space-md);text-wrap:wrap}:host(.navigation-item-side-nav.navigation-item-top-nav-child) .link,:host(.navigation-item-side-nav.navigation-item-top-nav-child) ::slotted(a){height:var(--navigation-item-child-height);width:var(--navigation-group-width);color:var(--navigation-item-child-color) !important;display:flex;gap:0.625rem;box-sizing:border-box;min-width:0;transition:box-shadow var(--ic-easing-transition-fast);text-decoration:none !important;white-space:nowrap}:host(.navigation-item-side-nav.navigation-item-top-nav-child) .link:focus,:host(.navigation-item-side-nav.navigation-item-top-nav-child) ::slotted(a:focus){box-shadow:var(--ic-border-focus-dark)}:host(.navigation-item-side-nav.navigation-item-side-menu) .link:active{background-color:var(--navigation-item-child-active)}:host(.navigation-item-side-nav.navigation-item-top-nav-child) .link:active,:host(.navigation-item-side-nav.navigation-item-top-nav-child) ::slotted(a:active){background-color:var(--navigation-item-child-active)}:host(.navigation-item-side-nav) a.link ic-typography,:host(.navigation-item-side-nav.navigation-item-top-nav-child) a.link ic-typography,:host(.navigation-item-side-nav) div.link ic-typography,:host(.navigation-item-side-nav.navigation-item-top-nav-child) div.link ic-typography,.navigation-item-side-nav-slotted-text{opacity:var(--navigation-item-label-opacity);transition:opacity var(--ic-easing-transition-slow);white-space:wrap;text-overflow:ellipsis;overflow:hidden}:host(.navigation-item-side-nav.navigation-item-selected) .link,:host(.navigation-item-side-nav.navigation-item) ::slotted(a.active){box-shadow:inset 0.313rem 0 0 var(--ic-brand-text-color)}:host(.navigation-item-side-nav.navigation-item-selected) .link::before,:host(.navigation-item-side-nav) ::slotted(a.active)::before{content:\"\";display:block;position:absolute;inset:0 0 0 0.313rem;border-radius:0.688rem !important;transition:var(--ic-easing-transition-slow)}:host(.navigation-item-side-nav.navigation-item-selected) .link:focus::before,:host(.navigation-item-side-nav) ::slotted(a.active:focus)::before{box-shadow:var(--ic-border-focus-inset)}:host(:not(.navigation-item-side-nav-collapsed).navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) .link{opacity:var(--navigation-item-label-opacity);height:auto}:host(.navigation-item-top-nav-child.navigation-item-side-nav-collapsed-with-label) .link,:host(.navigation-item-top-nav-child.navigation-item-side-nav-collapsed-with-label) ::slotted(a){min-width:var(--navigation-group-item-min-width);padding:var(--ic-space-xs) !important;height:auto;gap:0}:host(.navigation-item-top-nav-child.navigation-item-side-nav-collapsed-with-label) ::slotted(a){display:block}:host(.navigation-item-side-nav.navigation-item-selected) .link::after,:host(.navigation-item-side-nav) ::slotted(a.active)::after{display:none}:host(.navigation-item-side-nav.navigation-item) .link:focus,:host(.navigation-item-side-nav.navigation-item) ::slotted(a:focus){box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);background-color:transparent}:host(.navigation-item-side-nav.navigation-item-selected) .link:focus,:host(.navigation-item-side-nav) ::slotted(a.active:focus){margin:0 auto;box-shadow:inset 0.313rem 0 0 var(--ic-brand-text-color);border-radius:0}:host(.navigation-item-page-header).link,:host(.navigation-item-page-header) a,:host(.navigation-item-page-header) ::slotted(a){height:2.5rem !important;color:var(--ic-color-text-primary) !important;transition:all var(--ic-easing-transition-fast) !important;box-shadow:rgba(23 89 188 / 0%) !important}:host(.navigation-item-page-header.navigation-item-selected) .link::after,:host(.navigation-item-page-header) ::slotted(a.active)::after{content:\" \" !important;position:absolute;bottom:0;left:0;right:0;height:var(--ic-space-xxs);background-color:var(--ic-action-default) !important}:host(.navigation-item-page-header) .link:hover,:host(.navigation-item-page-header) ::slotted(.link:hover),:host(.navigation-item-page-header) ::slotted(a:hover),:host(.navigation-item-page-header) .link:hover:not(:focus){background-color:var(--ic-action-default-bg-hover) !important;cursor:pointer}:host(.navigation-item-page-header) .link:focus,:host(.navigation-item-page-header) ::slotted(a:focus){box-shadow:var(--ic-border-focus)}:host(.navigation-item-page-header) .link:active,:host(.navigation-item-page-header) ::slotted(a:active){background-color:var(--ic-action-default-bg-pressed) !important}:host(.navigation-item-page-header.navigation-item-selected) .link:focus::after,:host(.navigation-item-page-header) ::slotted(a.active:focus)::after{border-bottom-left-radius:var(--ic-border-radius);border-bottom-right-radius:var(--ic-border-radius)}:host(.navigation-item-page-header.navigation-item-selected.with-transition) .link,:host(.navigation-item-page-header.navigation-item-selected.with-transition) ::slotted(a.active){transition:all var(--ic-easing-transition-fast),\n border-color var(--ic-transition-duration-fast)}:host(.navigation-item-page-header) ::slotted(a.active)::before,:host(.navigation-item-page-header) ::slotted(a.active:focus)::before,:host(.navigation-item-page-header.navigation-item-selected) .link:focus::before{display:none}.open-in-new-icon{flex:1}.open-in-new-icon svg{margin-top:var(--ic-space-xxs);padding-left:var(--ic-space-xs)}:host(.navigation-item-side-nav) .open-in-new-icon{margin-left:calc(-1 * var(--ic-space-xs))}:host(.navigation-item-top-nav) .open-in-new-icon svg,:host(.navigation-item-page-header) .open-in-new-icon svg,:host(.navigation-item-side-nav) .open-in-new-icon svg{height:0.875rem;width:0.875rem}:host(.navigation-item-side-menu) .open-in-new-icon svg,:host(.navigation-item-top-nav-child) .open-in-new-icon svg{height:var(--ic-space-md);width:var(--ic-space-md)}:host(.navigation-item-page-header) .open-in-new-icon svg,:host(.navigation-item-top-nav-child) .open-in-new-icon svg,:host(.navigation-item-side-menu) .open-in-new-icon svg{fill:var(--ic-color-text-primary)}@media (forced-colors: active){.open-in-new-icon svg{fill:currentcolor}}";
|
11353
11370
|
var IcNavigationItemStyle0 = icNavigationItemCss;
|
11354
11371
|
|
11355
11372
|
/**
|
@@ -11747,16 +11764,16 @@ class NavigationMenu {
|
|
11747
11764
|
}
|
11748
11765
|
}
|
11749
11766
|
render() {
|
11750
|
-
return (hAsync(Host, { key: '
|
11767
|
+
return (hAsync(Host, { key: '238491dcf801f29d30b1da0e65546592557fde24', class: { [`ic-theme-${this.theme}`]: this.theme !== "inherit" } }, hAsync("div", { key: '1f4c1f5653cf725ea520300c56f7769716ed5c2a', class: "popout-modal", onClick: this.closeMenu }), hAsync("div", { key: '7b1ff84083af3b3ceb6e309844c99d7e3a0ae350', class: "popout-menu", role: "dialog", "aria-modal": "true", "aria-label": `${this.hasNavigation ? "Navigation" : "App"} menu` }, hAsync("span", { key: '3fbc25efa5a16c9f091ab455379e2c94ae5f35ca', "aria-hidden": "true", id: "navigation-landmark-text", class: "navigation-landmark-text" }, "Main navigation"), hAsync("nav", { key: '2847e0434b96df094d4d14dc39aaa65d9b504435', "aria-labelledby": "navigation-landmark-text", "aria-hidden": this.hasNavigation ? "false" : "true" }, hAsync("div", { key: 'a9543c0611d2c8dd1427500b1cd4cbf2de448b7b', class: {
|
11751
11768
|
["menu-close-button-container"]: true,
|
11752
11769
|
["nav-group-first"]: this.navGroupFirst,
|
11753
|
-
} }, hAsync("ic-button", { key: '
|
11770
|
+
} }, hAsync("ic-button", { key: 'c6116c335e9c6c29bde6485421b3d72456e4c485', ref: (el) => (this.closeButton = el), id: "menu-close-button", class: "menu-close-button", variant: "icon", size: "large", "aria-label": `Close ${this.hasNavigation ? "navigation" : "app"} menu`, onClick: this.closeMenu }, hAsync("svg", { key: 'f224bd0fbc219bb6ae337399e6f08c3187d32fb7', width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: 'a4419dfcec4df358e35bb7c9b623e5a720b89a3e', 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: '29d722a813544e8e82a07e2642a7014b32673dda', name: "navigation" })), this.hasButtons && (hAsync("div", { key: '96ee54e19b08c60e1de050dc06367009bb15484f', class: {
|
11754
11771
|
["menu-buttons-container"]: true,
|
11755
11772
|
["menu-buttons-container-nav-item-above"]: this.navItemAboveButtons,
|
11756
|
-
} }, hAsync("slot", { key: '
|
11773
|
+
} }, hAsync("slot", { key: '851897a3d08d4a74078379b16fb66f74392380dd', name: "buttons" }))), (this.status !== "" || this.version !== "") && (hAsync("div", { key: 'faa0f531a4f2232c343b7197a798f7b79bfaaa17', class: {
|
11757
11774
|
["menu-status-version-container"]: true,
|
11758
11775
|
["status-version-no-buttons"]: !this.hasButtons,
|
11759
|
-
} }, this.status !== "" && (hAsync("div", { key: '
|
11776
|
+
} }, this.status !== "" && (hAsync("div", { key: '43000a7655c49bdd7c15beaaef8f371f20c59049', class: "menu-status" }, hAsync("ic-typography", { key: 'f92edc3ead11de1eb052835e0fef11ea26f70e91', variant: "label-uppercase", "aria-label": "app tag", class: "menu-status-text" }, this.status))), this.version !== "" && (hAsync("div", { key: '84b3193b76f979b9dfd967fe549eb996dedf3631', class: "menu-version" }, hAsync("ic-typography", { key: 'f3ea4120a05fc6707ff54ce634aa6798d7dbade3', variant: "label", class: "menu-version-text", "aria-label": "app version" }, this.version))))))));
|
11760
11777
|
}
|
11761
11778
|
get el() { return getElement(this); }
|
11762
11779
|
static get style() { return IcNavigationMenuStyle0; }
|
@@ -11889,19 +11906,19 @@ class PageHeader {
|
|
11889
11906
|
const navAriaLabel = `${isSlotUsed(this.el, "heading")
|
11890
11907
|
? (_b = (_a = this.el.querySelector('[slot="heading"]')) === null || _a === void 0 ? void 0 : _a.textContent) !== null && _b !== void 0 ? _b : ""
|
11891
11908
|
: heading !== null && heading !== void 0 ? heading : ""} page sections`;
|
11892
|
-
return (hAsync(Host, { key: '
|
11909
|
+
return (hAsync(Host, { key: 'f988d0a582d79cad1f4356f95723c8773bf17190', class: {
|
11893
11910
|
["ic-page-header-sticky"]: !!sticky,
|
11894
11911
|
["ic-page-header-sticky-desktop"]: !sticky && !!stickyDesktopOnly,
|
11895
11912
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
11896
|
-
}, "aria-label": this.el.ariaLabel || "page header" }, hAsync("header", { key: '
|
11913
|
+
}, "aria-label": this.el.ariaLabel || "page header" }, hAsync("header", { key: 'e4b8a519550fc032df5155fcff89c73ff81f85ee', class: {
|
11897
11914
|
["border-bottom"]: !!border,
|
11898
11915
|
["tabs"]: isSlotUsed(this.el, "tabs"),
|
11899
|
-
}, role: "presentation" }, hAsync("ic-section-container", { key: '
|
11916
|
+
}, role: "presentation" }, hAsync("ic-section-container", { key: '88196b15dc099dcd58cb05b85b9a658af8a0870f', aligned: aligned, fullHeight: isSlotUsed(this.el, "tabs") }, isSlotUsed(this.el, "breadcrumbs") && (hAsync("div", { key: '6766660061af3380f50b0c947b36ce82a71256cd', class: "breadcrumb-area" }, hAsync("slot", { key: '489b45909344aa2cfecf01bcc9ebc3d1b8089c45', name: "breadcrumbs" }))), hAsync("div", { key: '47de9346bf042254a6c085fa94e049ba1eb15264', class: "main-content" }, hAsync("div", { key: 'f90a01c812d8abcc73c92c54e00eb3944b8c433d', class: "title-area" }, hAsync("div", { key: '966f731d25f434ce6f83f79175d0341c22a56687', class: "header-content" }, hAsync("slot", { key: '9025f92b304b3e2c67cb63339bdc33699ddb7fde', name: "heading" }, hAsync("ic-typography", { key: 'fe72a4b26d562fa57bbe52289c1a5a949b89f772', variant: size === "small" ? "h4" : "h2", class: "heading" }, hAsync("h2", { key: 'd86917ae13eb27ba68de7755bfdd727d814770e7' }, heading))), hAsync("slot", { key: '8c9fca603f02ffaf1318ce855b6a17bed99ff6f0', name: "heading-adornment" })), hAsync("div", { key: 'aa5559ddfef89fd22fe0994f620b06c7d317f562', class: {
|
11900
11917
|
["subheading-content"]: !!subheading || isSlotUsed(this.el, "subheading"),
|
11901
11918
|
["small"]: size === "small",
|
11902
|
-
} }, hAsync("slot", { key: '
|
11903
|
-
isSlotUsed(this.el, "tabs")) && (hAsync("div", { key: '
|
11904
|
-
!isSlotUsed(this.el, "tabs") && hAsync("slot", { key: '
|
11919
|
+
} }, hAsync("slot", { key: '8ca2ec4f5e79385004d82721b32aaa4477e5e383', name: "subheading" }, hAsync("ic-typography", { key: 'e3abaf1b025005164883f6aac049425101703a0a', variant: "body" }, subheading)))), isSlotUsed(this.el, "actions") && (hAsync("div", { key: '501f5d87bcc67f92a7fc109e1507ecfc82de113d', class: "action-area" }, hAsync("slot", { key: '59b2c28e72936af87fca0d3b5fc78a9292235278', name: "actions" }))), isSlotUsed(this.el, "input") && (hAsync("div", { key: '50a7b161cad03ca332d7ba189bbe3e07845b5b3b', class: "input-area" }, hAsync("slot", { key: 'e3dabe11caf744a6b1293fa45bb668b959c330c5', name: "input" })))), (isSlotUsed(this.el, "stepper") ||
|
11920
|
+
isSlotUsed(this.el, "tabs")) && (hAsync("div", { key: '7399fec29cf8483d3a0150fb66f8b51fd9bcccf9', class: "navigation-area" }, isSlotUsed(this.el, "stepper") &&
|
11921
|
+
!isSlotUsed(this.el, "tabs") && hAsync("slot", { key: '60243b69d094b1842c7ba0841170d263c512b83f', name: "stepper" }), isSlotUsed(this.el, "tabs") && (hAsync("nav", { key: 'f7b3cfd55bb421b3f9a988c65d66b3206d2ded1b', "aria-label": navAriaLabel }, hAsync("ic-horizontal-scroll", { key: '8344abb3186738bda94429804dcc927b87578c66' }, hAsync("ul", { key: '4c7e5ffe0acf83738cea0b93ef68910cde3a68fb', class: "tabs-slot" }, hAsync("slot", { key: '1634b736035f20da485de5cd90590a2d8e07be3a', name: "tabs" })))))))))));
|
11905
11922
|
}
|
11906
11923
|
get el() { return getElement(this); }
|
11907
11924
|
static get style() { return IcPageHeaderStyle0; }
|
@@ -12179,14 +12196,14 @@ class Pagination {
|
|
12179
12196
|
}
|
12180
12197
|
render() {
|
12181
12198
|
const { type, currentPage, hideCurrentPage, disabled, hideFirstAndLastPageButton, label, theme, monochrome, } = this;
|
12182
|
-
return (hAsync(Host, { key: '
|
12199
|
+
return (hAsync(Host, { key: 'f0bb93865da97a2978792da0ecec7398d17fd0cd', class: {
|
12183
12200
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
12184
12201
|
["ic-pagination-monochrome"]: !!monochrome,
|
12185
|
-
} }, type === "simple" && (hAsync("nav", { key: '
|
12202
|
+
} }, type === "simple" && (hAsync("nav", { key: 'd98096aea9467c15560cf5bee82f979a27a6e72b', class: {
|
12186
12203
|
["disabled"]: !!disabled,
|
12187
|
-
}, role: "navigation", "aria-label": "Pagination Navigation" }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), hAsync("ic-pagination-item", { key: '
|
12204
|
+
}, role: "navigation", "aria-label": "Pagination Navigation" }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), hAsync("ic-pagination-item", { key: 'e578665c5de2260f824cf4ff3c3e29dafabe7037', 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: 'e1172d5a137f47d778f3878155bb747b32303179', class: {
|
12188
12205
|
["disabled"]: !!disabled,
|
12189
|
-
}, role: "navigation", "aria-label": "Pagination Navigation" }, 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: '
|
12206
|
+
}, role: "navigation", "aria-label": "Pagination Navigation" }, 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: '2094451eaeb1eb5f6f52f4a93f8b30534bd31162', class: "sr-only", "aria-live": "polite" }, "Page ", this.currentPage))));
|
12190
12207
|
}
|
12191
12208
|
get el() { return getElement(this); }
|
12192
12209
|
static get watchers() { return {
|
@@ -12270,7 +12287,7 @@ class PaginationItem {
|
|
12270
12287
|
}
|
12271
12288
|
render() {
|
12272
12289
|
const { page, selected, type, disabled, label, capitalizedLabel, monochrome, } = this;
|
12273
|
-
return (hAsync("a", { key: '
|
12290
|
+
return (hAsync("a", { key: '96dd8b411124b3276fdd7b630d6b1d15528398a0', class: { ["monochrome"]: !!monochrome } }, type === "ellipsis" ? (hAsync("div", { class: {
|
12274
12291
|
["item-container"]: true,
|
12275
12292
|
["ellipsis"]: true,
|
12276
12293
|
["disabled"]: !!disabled,
|
@@ -12580,17 +12597,17 @@ class PopoverMenu {
|
|
12580
12597
|
}
|
12581
12598
|
}
|
12582
12599
|
render() {
|
12583
|
-
return (hAsync(Host, { key: '
|
12600
|
+
return (hAsync(Host, { key: '2cf6304cab334813b297e8bf91d25c57ab6b9b91', class: {
|
12584
12601
|
["ic-popover-menu-open"]: !!this.open,
|
12585
12602
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
12586
|
-
} }, hAsync("div", { key: '
|
12603
|
+
} }, hAsync("div", { key: 'b7f520998946555e6e5d8ca43d194ec142cf4102', id: this.parentPopover === undefined
|
12587
12604
|
? `ic-popover-submenu-${this.submenuId}`
|
12588
12605
|
: "", class: {
|
12589
12606
|
menu: true,
|
12590
|
-
} }, hAsync("span", { key: '
|
12607
|
+
} }, hAsync("span", { key: '5c43e11463a6fe04356d73c2522eca4c1cb39d68', class: {
|
12591
12608
|
"opening-from-parent": this.openingFromParent,
|
12592
12609
|
"opening-from-child": this.openingFromChild,
|
12593
|
-
} }, isPropDefined(this.submenuId) && (hAsync("span", { key: '
|
12610
|
+
} }, isPropDefined(this.submenuId) && (hAsync("span", { key: '7bb226ae2aa077cff93ea367f136f171020c0718' }, hAsync("span", { key: '0cc54f3ef474f2cbe92c3c04437d83cf35e92de1', role: "menu" }, hAsync("ic-menu-item", { key: 'ae3f4d6162e643ac6245821e392b2b9491215287', 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: 'c3e1211479d31e062b13aba36a025fec0814cfee', slot: "icon", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "submenu-back-icon" }, hAsync("path", { key: 'dc399eef7ee50dc37dc57aa1f241292d0827a743', d: "M20 11H7.83L13.42 5.41L12 4L4 12L12 20L13.41 18.59L7.83 13H20V11Z", fill: "currentColor" })))), hAsync("ic-typography", { key: 'b1ce83e9b01277953f21fe9c58763915c4a8515a', variant: "subtitle-small", class: "parent-label" }, this.parentLabel))), hAsync("div", { key: 'fab42dde1d195b5d47dd1c669a7bce81f79f42c6', class: "menu-body", "aria-label": this.getMenuAriaLabel(), role: "menu" }, hAsync("slot", { key: 'fe4f5006cefd63260217c969c06d214f47e0b9bb' }))))));
|
12594
12611
|
}
|
12595
12612
|
static get delegatesFocus() { return true; }
|
12596
12613
|
get el() { return getElement(this); }
|
@@ -12621,9 +12638,12 @@ class PopoverMenu {
|
|
12621
12638
|
}; }
|
12622
12639
|
}
|
12623
12640
|
|
12624
|
-
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)}ic-input-label.error{--ic-input-label-text-color:var(--ic-radio-button-input-field-label-error)}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 )}ic-input-validation{margin-top:var(--ic-space-sm)}:host(.ic-radio-group-small) ic-input-validation{margin-top:calc(var(--ic-space-sm) / 2)}ic-input-label ic-typography{margin-bottom:var(--ic-space-sm)}:host(.ic-radio-group-small) ic-input-label ic-typography{margin-bottom:calc(var(--ic-space-sm) / 2)}: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)}";
|
12641
|
+
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)}ic-input-label.error{--ic-input-label-text-color:var(--ic-radio-button-input-field-label-error)}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 )}ic-input-validation{margin-top:var(--ic-space-sm)}:host(.ic-radio-group-small) ic-input-validation{margin-top:calc(var(--ic-space-sm) / 2)}ic-input-label:not(.with-helper) .ic-typography-label,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)}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)}";
|
12625
12642
|
var IcRadioGroupStyle0 = icRadioGroupCss;
|
12626
12643
|
|
12644
|
+
/**
|
12645
|
+
* @slot helper-text - Content is set as the helper text for the radio group.
|
12646
|
+
*/
|
12627
12647
|
class RadioGroup {
|
12628
12648
|
constructor(hostRef) {
|
12629
12649
|
registerInstance(this, hostRef);
|
@@ -12848,16 +12868,16 @@ class RadioGroup {
|
|
12848
12868
|
}
|
12849
12869
|
render() {
|
12850
12870
|
const { currentOrientation, disabled, handleKeyDown, helperText, hideLabel, label, required, size, validationStatus, validationText, theme, } = this;
|
12851
|
-
return (hAsync(Host, { key: '
|
12871
|
+
return (hAsync(Host, { key: '04d5db82b3be0bd747a4bbbf540ff38a2344bb18', onKeyDown: handleKeyDown, class: {
|
12852
12872
|
"ic-radio-group-small": size === "small",
|
12853
12873
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
12854
|
-
} }, hAsync("div", { key: '
|
12874
|
+
} }, hAsync("div", { key: '7293abe2277d46aa27ffd81ad47982f6f7d63e51', role: "radiogroup", "aria-label": `${label}${required ? ", required" : ""}` }, !hideLabel && (hAsync("ic-input-label", { key: '90c7d78da23c13d04df52dcdf554af8a15de6e05', class: {
|
12855
12875
|
[`${validationStatus}`]: true,
|
12856
12876
|
["disabled"]: !!disabled,
|
12857
|
-
}, label: label, helperText: helperText, required: required, disabled: disabled })), hAsync("div", { key: '
|
12877
|
+
}, label: label, helperText: helperText, required: required, disabled: disabled }, hAsync("slot", { key: 'fe90706c42c1abebb7bbf757808af7219b577aa8', name: "helper-text", slot: "helper-text" }))), hAsync("div", { key: 'd2e61e45ecdcb0c40229f4d25a2c6c0ed1247f11', class: {
|
12858
12878
|
"radio-buttons-container": true,
|
12859
12879
|
horizontal: currentOrientation === this.RADIO_HORIZONTAL,
|
12860
|
-
}, ref: (el) => (this.radioContainer = el) }, hAsync("slot", { key: '
|
12880
|
+
}, ref: (el) => (this.radioContainer = el) }, hAsync("slot", { key: 'bac88f9fba9a5a242aced76a20f21933f4de6299' }))), hasValidationStatus(validationStatus, disabled) && (hAsync("ic-input-validation", { key: 'f7a0dc8e5d1ac3d774644910600153aba9caacd5', ariaLiveMode: "polite", status: validationStatus, message: validationText }))));
|
12861
12881
|
}
|
12862
12882
|
get el() { return getElement(this); }
|
12863
12883
|
static get watchers() { return {
|
@@ -13037,15 +13057,15 @@ class RadioOption {
|
|
13037
13057
|
render() {
|
13038
13058
|
const { additionalFieldDisplay, disabled, dynamicText, form, groupLabel, handleClick, handleKeyDown, hasAdditionalField, label, name, selected, value, theme, } = this;
|
13039
13059
|
const id = `ic-radio-option-${isPropDefined(label) || value}-${groupLabel}`;
|
13040
|
-
return (hAsync(Host, { key: '
|
13060
|
+
return (hAsync(Host, { key: '66293449ae3f0f896a661395663aa6c6dba7120b', onClick: handleClick, onKeyDown: handleKeyDown, class: {
|
13041
13061
|
["ic-radio-option-disabled"]: !!disabled,
|
13042
13062
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
13043
|
-
} }, hAsync("div", { key: '
|
13063
|
+
} }, hAsync("div", { key: 'a2c09f392610f5396c21fb5d5b07844eb8e4db08', class: { container: true, disabled: !!disabled } }, hAsync("div", { key: 'b51d23e434eb9ab8545047f93b60458dcfaac2b1' }, hAsync("input", { key: '7a53942a42b170e7110b1faa688480fab5080a02', 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: 'a307412594b305b08290b7fa488f8600a0f4b527', class: "checkmark" })), hAsync("ic-typography", { key: 'aab05754fdff4e00b3078593d0dd1e2457dcaded', class: "radio-label", variant: "body" }, hAsync("label", { key: '88947c4ea40c1dea292edc9a5aa649ec19ab29b9', htmlFor: id }, label))), hasAdditionalField && (hAsync("div", { key: '06c1920d96ec36c622b258a7d4ff8a02edc0789d', class: {
|
13044
13064
|
"dynamic-container": true,
|
13045
13065
|
hidden: additionalFieldDisplay === "dynamic" && !selected,
|
13046
|
-
} }, additionalFieldDisplay === "dynamic" && (hAsync("div", { key: '
|
13066
|
+
} }, additionalFieldDisplay === "dynamic" && (hAsync("div", { key: '79324c51055d3d6223f79857a72d0eb2b0c22f69', class: "branch-corner" })), hAsync("div", { key: 'df7eb14bf1776611bf956140821b16d025b72bd8' }, additionalFieldDisplay === "dynamic" && (hAsync("ic-typography", { key: '0eecaca9a48b8ccef541736e453c58d2f29fd15b', variant: "caption" }, hAsync("p", { key: '45fba47da58602ccc13f1420cba7a7108c9c5615', class: "dynamic-text" }, dynamicText))), hAsync("div", { key: '764e735294d09ea889cc3bc241dee272e7afae31', class: {
|
13047
13067
|
"additional-field-wrapper": additionalFieldDisplay === "static",
|
13048
|
-
} }, hAsync("slot", { key: '
|
13068
|
+
} }, hAsync("slot", { key: 'a3e127198c155be9c525e0159506f852f4000b86', name: ADDITIONAL_FIELD })))))));
|
13049
13069
|
}
|
13050
13070
|
get el() { return getElement(this); }
|
13051
13071
|
static get watchers() { return {
|
@@ -13090,6 +13110,9 @@ const icSearchBarCss = "/*! normalize.css v8.0.1 | MIT License | github.com/neco
|
|
13090
13110
|
var IcSearchBarStyle0 = icSearchBarCss;
|
13091
13111
|
|
13092
13112
|
let inputIds$3 = 0;
|
13113
|
+
/**
|
13114
|
+
* @slot helper-text - Content is set as the helper text for the search bar.
|
13115
|
+
*/
|
13093
13116
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
13094
13117
|
class SearchBar {
|
13095
13118
|
constructor(hostRef) {
|
@@ -13203,6 +13226,10 @@ class SearchBar {
|
|
13203
13226
|
* The placeholder value to display.
|
13204
13227
|
*/
|
13205
13228
|
this.placeholder = "Search";
|
13229
|
+
/**
|
13230
|
+
* If `true` the parent form will not submit when the icSubmitSearch event fires.
|
13231
|
+
*/
|
13232
|
+
this.preventFormSubmitOnSearch = false;
|
13206
13233
|
/**
|
13207
13234
|
* If `true`, the readonly state will be set.
|
13208
13235
|
*/
|
@@ -13465,6 +13492,13 @@ class SearchBar {
|
|
13465
13492
|
this.hasTimedOut ||
|
13466
13493
|
this.loading;
|
13467
13494
|
this.showMenuWithNoInput = () => this.charactersUntilSuggestion === 0;
|
13495
|
+
this.updateSearchButtonType = () => {
|
13496
|
+
this.searchButtonType =
|
13497
|
+
!!this.el.closest("FORM") &&
|
13498
|
+
!this.preventFormSubmitOnSearch
|
13499
|
+
? "submit"
|
13500
|
+
: "button";
|
13501
|
+
};
|
13468
13502
|
}
|
13469
13503
|
watchCharactersUntilSuggestionHandler() {
|
13470
13504
|
if (this.showMenuWithNoInput()) {
|
@@ -13483,6 +13517,9 @@ class SearchBar {
|
|
13483
13517
|
this.triggerLoading();
|
13484
13518
|
}
|
13485
13519
|
}
|
13520
|
+
preventFormSubmitOnSearchHandler() {
|
13521
|
+
this.updateSearchButtonType();
|
13522
|
+
}
|
13486
13523
|
filteredOptionsHandler(newOptions) {
|
13487
13524
|
this.hasTimedOut = newOptions.some((opt) => opt.timedOut);
|
13488
13525
|
}
|
@@ -13530,6 +13567,7 @@ class SearchBar {
|
|
13530
13567
|
componentWillLoad() {
|
13531
13568
|
this.setInputValue(this.value);
|
13532
13569
|
removeDisabledFalse(this.disabled, this.el);
|
13570
|
+
this.updateSearchButtonType();
|
13533
13571
|
}
|
13534
13572
|
componentDidLoad() {
|
13535
13573
|
if (this.focusOnLoad) {
|
@@ -13591,9 +13629,9 @@ class SearchBar {
|
|
13591
13629
|
}, 500);
|
13592
13630
|
}
|
13593
13631
|
render() {
|
13594
|
-
const { inputId, name, label, required, size, placeholder, helperText, disabled, value, readonly, spellcheck, fullWidth, options, open, hideLabel, menuId, ariaActiveDescendant, truncateValue, autofocus, autocapitalize, autocomplete, filteredOptions, theme, charactersUntilSuggestion, labelField, valueField, loadingLabel, loadingErrorLabel, searchMode, showClearButton, searchSubmitFocused, clearButtonFocused, } = this;
|
13632
|
+
const { inputId, name, label, required, size, placeholder, helperText, disabled, value, readonly, spellcheck, fullWidth, options, open, hideLabel, menuId, ariaActiveDescendant, truncateValue, autofocus, autocapitalize, autocomplete, filteredOptions, theme, charactersUntilSuggestion, labelField, valueField, loadingLabel, loadingErrorLabel, searchMode, showClearButton, searchSubmitFocused, clearButtonFocused, searchButtonType, } = this;
|
13595
13633
|
const disabledMode = readonly || disabled;
|
13596
|
-
const describedBy = getInputDescribedByText(inputId, helperText !== "", false).trim();
|
13634
|
+
const describedBy = getInputDescribedByText(this.el, inputId, helperText !== "", false).trim();
|
13597
13635
|
let describedById = undefined;
|
13598
13636
|
if (describedBy !== "" && this.hasOptionsOrFilterDisabled()) {
|
13599
13637
|
describedById = `${describedBy} ${inputId}-assistive-hint`;
|
@@ -13610,39 +13648,39 @@ class SearchBar {
|
|
13610
13648
|
const menuRendered = menuOpen && value.length >= charactersUntilSuggestion;
|
13611
13649
|
const labelValue = getLabelFromValue(value, options, valueField, labelField);
|
13612
13650
|
renderHiddenInput(this.el, value, name, disabledMode);
|
13613
|
-
return (hAsync(Host, { key: '
|
13651
|
+
return (hAsync(Host, { key: '52cd7f9c675ebb5a73d43d8aba5c564a09975983', class: {
|
13614
13652
|
"ic-search-bar-search": true,
|
13615
13653
|
"ic-search-bar-full-width": fullWidth,
|
13616
13654
|
"ic-search-bar-disabled": disabled,
|
13617
13655
|
"ic-search-bar-small": size === "small",
|
13618
13656
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
13619
|
-
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, hAsync("ic-input-container", { key: '
|
13657
|
+
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, hAsync("ic-input-container", { key: '93f1f86abb836848f4a77e8bea800402a7c3d792', readonly: readonly, disabled: disabledMode }, !hideLabel && (hAsync("ic-input-label", { key: '3408fa52e67fbc9420cb7f763198ea950e356b7e', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledMode && !readonly, readonly: readonly }, hAsync("slot", { key: '24fed7a49fc79140dabb28e1f77c8321bc51729b', name: "helper-text", slot: "helper-text" }))), hAsync("ic-input-component-container", { key: 'be1083aceb07c1235666cb3f1f9892f8e1b8538d', ref: (el) => (this.anchorEl = el), size: size, disabled: disabledMode, readonly: readonly, fullWidth: fullWidth }, hAsync("input", { key: '4ea2d718f3b6e4e524f534719630c618bb25a4d4', id: inputId, name: name, ref: (el) => (this.inputEl = el), value: options && !!labelValue ? labelValue : value, class: {
|
13620
13658
|
"no-left-pad": readonly,
|
13621
13659
|
readonly,
|
13622
13660
|
"truncate-value": truncateValue,
|
13623
|
-
}, placeholder: placeholder, required: required, disabled: disabledMode, readonly: readonly, onInput: this.onInput, onBlur: this.onInputBlur, onFocus: this.onInputFocus, "aria-label": label, "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: '
|
13661
|
+
}, 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: '447b4da477637a70ac3f2b9c180df87aebee044b', class: {
|
13624
13662
|
"clear-button-container": true,
|
13625
13663
|
"clear-button-visible": !!value && !disabledMode && showClearButton,
|
13626
|
-
} }, hAsync("ic-button", { key: '
|
13664
|
+
} }, hAsync("ic-button", { key: '3a740c60761c034298c1cabf4173a4168a2cbaee', id: "clear-button", class: {
|
13627
13665
|
"clear-button": true,
|
13628
13666
|
"clear-button-unfocused": !clearButtonFocused,
|
13629
|
-
}, "aria-label": "Clear", innerHTML: clearIcon, onClick: this.handleClear, onMouseDown: this.handleMouseDown, size: size, onFocus: this.handleFocusClearButton, onBlur: this.handleClearBlur, onKeyDown: this.handleClear, type: "
|
13667
|
+
}, "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", theme: clearButtonFocused ? "light" : "dark" }), hAsync("div", { key: '7fec0530f8a21476d808203bc79857a0c44538ab', class: "divider" })), hAsync("div", { key: '376a77d494db324f5e469932009692cab51c58fe', class: {
|
13630
13668
|
"search-submit-button-container": true,
|
13631
13669
|
"search-submit-button-disabled": this.isSubmitDisabled(),
|
13632
|
-
} }, hAsync("ic-button", { key: '
|
13670
|
+
} }, hAsync("ic-button", { key: 'c94e42dc5907d0e7dc412b8a09792090d4359783', id: "search-submit-button", "aria-label": "Search", ref: (el) => (this.searchSubmitButton = el), class: {
|
13633
13671
|
"search-submit-button": true,
|
13634
13672
|
"search-submit-button-small": size === "small",
|
13635
13673
|
"search-submit-button-unfocused": !searchSubmitFocused,
|
13636
13674
|
"search-submit-button-disabled": this.isSubmitDisabled(),
|
13637
|
-
}, disabled: this.isSubmitDisabled(), innerHTML: searchIcon, size: size, onClick: this.handleSubmitSearch, onMouseDown: this.handleMouseDown, onBlur: this.handleSubmitSearchBlur, onFocus: this.handleSubmitSearchFocus, onKeyDown: this.handleSubmitSearchKeyDown, type:
|
13675
|
+
}, 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", theme: searchSubmitFocused ? "light" : "dark" }))), hAsync("div", { key: 'd59837a4d8626cb434d74920c3d16ebad1aa38e8', class: {
|
13638
13676
|
"menu-container": true,
|
13639
13677
|
fullwidth: fullWidth,
|
13640
|
-
} }, menuRendered && this.anchorEl && this.inputEl && (hAsync("ic-menu", { key: '
|
13678
|
+
} }, menuRendered && this.anchorEl && this.inputEl && (hAsync("ic-menu", { key: '05921526c6a5d778689ffaaa00567c155e1d24f9', class: {
|
13641
13679
|
"no-results": this.hadNoOptions() ||
|
13642
13680
|
(filteredOptions.length === 1 &&
|
13643
13681
|
(filteredOptions[0][labelField] === loadingLabel ||
|
13644
13682
|
filteredOptions[0][labelField] === loadingErrorLabel)),
|
13645
|
-
}, 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 })))), hAsync("div", { key: '
|
13683
|
+
}, 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 })))), hAsync("div", { key: 'd7ae3fba62207c2df5ce4b02434e81777666d5c2', "aria-live": "polite", role: "status", class: "search-results-status" })));
|
13646
13684
|
}
|
13647
13685
|
static get delegatesFocus() { return true; }
|
13648
13686
|
get el() { return getElement(this); }
|
@@ -13651,6 +13689,7 @@ class SearchBar {
|
|
13651
13689
|
"disabled": ["watchDisabledHandler"],
|
13652
13690
|
"debounce": ["debounceChanged"],
|
13653
13691
|
"loading": ["loadingHandler"],
|
13692
|
+
"preventFormSubmitOnSearch": ["preventFormSubmitOnSearchHandler"],
|
13654
13693
|
"filteredOptions": ["filteredOptionsHandler"],
|
13655
13694
|
"options": ["watchOptionsHandler"],
|
13656
13695
|
"value": ["watchValueHandler"]
|
@@ -13681,6 +13720,7 @@ class SearchBar {
|
|
13681
13720
|
"loadingLabel": [1, "loading-label"],
|
13682
13721
|
"name": [1],
|
13683
13722
|
"placeholder": [1],
|
13723
|
+
"preventFormSubmitOnSearch": [4, "prevent-form-submit-on-search"],
|
13684
13724
|
"readonly": [4],
|
13685
13725
|
"required": [4],
|
13686
13726
|
"searchMode": [1, "search-mode"],
|
@@ -13697,6 +13737,7 @@ class SearchBar {
|
|
13697
13737
|
"open": [32],
|
13698
13738
|
"searchSubmitFocused": [32],
|
13699
13739
|
"showClearButton": [32],
|
13740
|
+
"searchButtonType": [32],
|
13700
13741
|
"filteredOptions": [32],
|
13701
13742
|
"setFocus": [64]
|
13702
13743
|
},
|
@@ -13723,12 +13764,12 @@ class SectionContainer {
|
|
13723
13764
|
}
|
13724
13765
|
render() {
|
13725
13766
|
const { aligned, fullHeight } = this;
|
13726
|
-
return (hAsync(Host, { key: '
|
13767
|
+
return (hAsync(Host, { key: '9e23a2afe1ae3c15369906d28f55755f69254f8e', class: {
|
13727
13768
|
["aligned-left"]: aligned === "left" || aligned === null,
|
13728
13769
|
["aligned-center"]: aligned === "center",
|
13729
13770
|
["aligned-full-width"]: aligned === "full-width",
|
13730
13771
|
["no-vertical-padding"]: !!fullHeight,
|
13731
|
-
} }, hAsync("slot", { key: '
|
13772
|
+
} }, hAsync("slot", { key: '75e12e8d9f4b61ff68aba436e7206129d143ddba' })));
|
13732
13773
|
}
|
13733
13774
|
static get style() { return IcSectionContainerStyle0; }
|
13734
13775
|
static get cmpMeta() { return {
|
@@ -13760,6 +13801,7 @@ var IcSelectStyle0 = icSelectCss;
|
|
13760
13801
|
let inputIds$2 = 0;
|
13761
13802
|
const MUTABLE_ATTRIBUTES$1 = [...IC_INHERITED_ARIA, "tabindex", "title"];
|
13762
13803
|
/**
|
13804
|
+
* @slot helper-text - Content is set as the helper text for the select.
|
13763
13805
|
* @slot icon - Content will be placed to the left of the select text input.
|
13764
13806
|
*/
|
13765
13807
|
class Select {
|
@@ -14534,7 +14576,7 @@ class Select {
|
|
14534
14576
|
// Does not cause errors when it is a multi-select - sets value correctly, to a comma-separated string
|
14535
14577
|
renderHiddenInput(this.el, searchable ? hiddenInputValue : currValue, name || inputId, disabled);
|
14536
14578
|
const invalid = `${validationStatus === IcInformationStatus.Error}`;
|
14537
|
-
const describedBy = getInputDescribedByText(inputId, helperText !== "", hasValidationStatus(validationStatus, !!disabled)).trim();
|
14579
|
+
const describedBy = getInputDescribedByText(this.el, inputId, helperText !== "", hasValidationStatus(validationStatus, !!disabled)).trim();
|
14538
14580
|
const valueLabelString = multiple
|
14539
14581
|
? this.getMultipleOptionsString(currValue)
|
14540
14582
|
: this.getLabelFromValue(currValue);
|
@@ -14542,18 +14584,18 @@ class Select {
|
|
14542
14584
|
(searchable
|
14543
14585
|
? !!searchableSelectInputValue
|
14544
14586
|
: !!currValue && !loading && showClearButton);
|
14545
|
-
return (hAsync(Host, { key: '
|
14587
|
+
return (hAsync(Host, { key: '4772c66e1053f7c19cafff3753af54715eab05d9', class: {
|
14546
14588
|
"ic-select-disabled": disabled,
|
14547
14589
|
"ic-select-searchable": searchable,
|
14548
14590
|
[`ic-select-${size}`]: size !== "medium",
|
14549
14591
|
"ic-select-full-width": fullWidth,
|
14550
14592
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
14551
|
-
}, onBlur: this.onBlur }, hAsync("ic-input-container", { key: '
|
14593
|
+
}, onBlur: this.onBlur }, hAsync("ic-input-container", { key: '8d4a5a0b53f01cc6740b9fc1f5fa0805e45c8169', readonly: readonly }, !hideLabel && (hAsync("ic-input-label", { key: '37e19194734f052932dd6ac7c56994f67802a1bd', for: inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly }, hAsync("slot", { key: '3b27f513ffc78d514c7695b1e5941041837efd55', name: "helper-text", slot: "helper-text" }))), hAsync("ic-input-component-container", { key: 'a5bf5d711e23862ec08fb8f8e85ce0beec436ccc', ref: (el) => (this.anchorEl = el), class: { "menu-open": open }, size: size, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, isSlotUsed(this.el, "icon") &&
|
14552
14594
|
!disabled &&
|
14553
|
-
(!readonly || !!value) && (hAsync("span", { key: '
|
14595
|
+
(!readonly || !!value) && (hAsync("span", { key: '42fc8c78302cde968d3c96ad72c9aac66652829e', slot: "left-icon", class: {
|
14554
14596
|
readonly,
|
14555
14597
|
"has-value": !!value,
|
14556
|
-
} }, hAsync("slot", { key: '
|
14598
|
+
} }, hAsync("slot", { key: '0cf7160335785716303e4e2e602be1a2d975098e', name: "icon" }))), readonly ? (hAsync("ic-typography", null, hAsync("p", null, valueLabelString))) : isMobileOrTablet() && !multiple ? (hAsync("select", Object.assign({ ref: (el) => (this.nativeSelectElement = el), disabled: disabled, onChange: this.handleNativeSelectChange, required: required, id: inputId, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.handleNativeSelectKeyDown, form: form }, inheritedAttributes), hAsync("option", { value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => option.children ? (hAsync("optgroup", { label: option.label }, option.children.map((child) => this.renderNativeOption(child)))) : (this.renderNativeOption(option))))) : searchable ? (hAsync("div", { class: "searchable-select-container" }, hAsync("input", { class: {
|
14557
14599
|
"select-input": true,
|
14558
14600
|
"with-clear-button": !!searchableSelectInputValue,
|
14559
14601
|
}, role: "combobox", autocomplete: "off", "aria-label": label, "aria-describedby": describedBy, "aria-activedescendant": ariaActiveDescendant, "aria-autocomplete": "list", "aria-expanded": `${open}`, "aria-invalid": invalid, "aria-required": `${required}`, "aria-controls": menuId, ref: (el) => (this.searchableSelectElement = el), id: inputId, value: searchableSelectInputValue || undefined, placeholder: placeholder, disabled: disabled, onInput: this.handleSearchableSelectInput, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, form: form }), isClearable && (hAsync("div", { class: "clear-button-container" }, hAsync("ic-button", { id: "clear-button", ref: (el) => (this.clearButton = el), "aria-label": searchableSelectInputValue &&
|
@@ -14573,13 +14615,13 @@ class Select {
|
|
14573
14615
|
} }, valueLabelString || placeholder), hAsync("div", { class: "select-input-end" }, isClearable && hAsync("div", { class: "divider" }), hAsync("span", { class: {
|
14574
14616
|
"expand-icon": true,
|
14575
14617
|
"expand-icon-open": open,
|
14576
|
-
}, innerHTML: Expand, "aria-hidden": "true" }))), isClearable && (hAsync("ic-button", { id: "clear-button", "aria-label": "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: size, variant: "icon", theme: clearButtonFocused ? "light" : "dark" }))))), (!isMobileOrTablet() || multiple) && (hAsync("ic-menu", { key: '
|
14618
|
+
}, innerHTML: Expand, "aria-hidden": "true" }))), isClearable && (hAsync("ic-button", { id: "clear-button", "aria-label": "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: size, variant: "icon", theme: clearButtonFocused ? "light" : "dark" }))))), (!isMobileOrTablet() || multiple) && (hAsync("ic-menu", { key: '3c09e05b72ddab09e9cfe2fb3ba2e403964dcb37', class: {
|
14577
14619
|
"no-results": loading ||
|
14578
14620
|
hasTimedOut ||
|
14579
14621
|
((_a = noOptions === null || noOptions === void 0 ? void 0 : noOptions[0]) === null || _a === void 0 ? void 0 : _a.label) === emptyOptionListText,
|
14580
14622
|
}, ref: (el) => (this.menu = el), inputEl: searchable
|
14581
14623
|
? this.searchableSelectElement
|
14582
|
-
: this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, size: size, menuId: menuId, open: open, options: searchable ? filteredOptions : uniqueOptions, value: multiple ? currValue : currValue, fullWidth: fullWidth, selectOnEnter: selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuOptionSelectAll: this.handleSelectAllChange, onMenuKeyPress: this.handleMenuKeyPress, onUngroupedOptionsSet: this.setUngroupedOptions, onRetryButtonClicked: this.handleRetry, parentEl: this.el, onTimeoutBlur: this.onTimeoutBlur, activationType: searchable || multiple || selectOnEnter ? "manual" : "automatic", closeOnSelect: !multiple })), multiple && (hAsync("div", { key: '
|
14624
|
+
: this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, size: size, menuId: menuId, open: open, options: searchable ? filteredOptions : uniqueOptions, value: multiple ? currValue : currValue, fullWidth: fullWidth, selectOnEnter: selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuOptionSelectAll: this.handleSelectAllChange, onMenuKeyPress: this.handleMenuKeyPress, onUngroupedOptionsSet: this.setUngroupedOptions, onRetryButtonClicked: this.handleRetry, parentEl: this.el, onTimeoutBlur: this.onTimeoutBlur, activationType: searchable || multiple || selectOnEnter ? "manual" : "automatic", closeOnSelect: !multiple })), multiple && (hAsync("div", { key: '744fd85d0482cc49928b5d167691a58ff87d22ab', "aria-live": "polite", role: "status", class: "multi-select-selected-count" })), hasValidationStatus(validationStatus, disabled) && (hAsync("ic-input-validation", { key: '034f52ca6c0b23f29d784ec342a83e9434a0e352', class: { "menu-open": open }, ariaLiveMode: "polite", status: validationStatus, message: validationText, for: inputId })))));
|
14583
14625
|
}
|
14584
14626
|
static get delegatesFocus() { return true; }
|
14585
14627
|
get el() { return getElement(this); }
|
@@ -14765,9 +14807,7 @@ class SideNavigation {
|
|
14765
14807
|
};
|
14766
14808
|
this.toggleMenuExpanded = (expanded) => {
|
14767
14809
|
var _a, _b, _c, _d;
|
14768
|
-
|
14769
|
-
this.menuExpanded = expanded;
|
14770
|
-
}
|
14810
|
+
this.menuExpanded = expanded;
|
14771
14811
|
if (this.menuExpanded) {
|
14772
14812
|
this.setAndRemoveNoWrapAfterMenuExpanded();
|
14773
14813
|
(_b = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".app-title-inner-wrapper")) === null || _b === void 0 ? void 0 : _b.classList.add("app-title-show");
|
@@ -14982,32 +15022,32 @@ class SideNavigation {
|
|
14982
15022
|
this.resizeObserverCallback = (currSize) => {
|
14983
15023
|
var _a, _b, _c, _d;
|
14984
15024
|
this.deviceSize = currSize;
|
14985
|
-
const
|
15025
|
+
const isSDeviceEnableTop = currSize === DEVICE_SIZES.S && !this.disableTopBarBehaviour;
|
14986
15026
|
if (!this.disableAutoParentStyling) {
|
14987
15027
|
const topBarHeight = (_b = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".top-bar")) === null || _b === void 0 ? void 0 : _b.scrollHeight;
|
14988
|
-
this.setParentPaddingTop(
|
14989
|
-
if (
|
15028
|
+
this.setParentPaddingTop(isSDeviceEnableTop ? `${topBarHeight}px` : "0");
|
15029
|
+
if (isSDeviceEnableTop)
|
14990
15030
|
this.setParentPaddingLeft("0");
|
14991
|
-
if (
|
15031
|
+
if (isSDeviceEnableTop && this.inline) {
|
14992
15032
|
(_c = this.el.parentElement) === null || _c === void 0 ? void 0 : _c.style.setProperty("height", `calc(100% - ${topBarHeight}px)`);
|
14993
15033
|
}
|
14994
|
-
else if (!
|
15034
|
+
else if (!isSDeviceEnableTop) {
|
14995
15035
|
(_d = this.el.parentElement) === null || _d === void 0 ? void 0 : _d.style.setProperty("height", "100%");
|
14996
15036
|
}
|
14997
15037
|
}
|
15038
|
+
const notSmallDisableTop = currSize > DEVICE_SIZES.S || this.disableTopBarBehaviour;
|
14998
15039
|
if (!this.disableAutoParentStyling) {
|
14999
15040
|
const paddingLeft = `calc(var(--ic-space-xxl) ${this.collapsedIconLabels ? "* 2" : "+ var(--ic-space-xs)"})`;
|
15000
15041
|
if (currSize > DEVICE_SIZES.L) {
|
15001
15042
|
this.setParentPaddingTop("0");
|
15002
15043
|
this.setParentPaddingLeft("0");
|
15003
15044
|
}
|
15004
|
-
else if (
|
15045
|
+
else if (notSmallDisableTop &&
|
15005
15046
|
currSize <= DEVICE_SIZES.M &&
|
15006
15047
|
this.static) {
|
15007
15048
|
this.setParentPaddingLeft(paddingLeft);
|
15008
15049
|
}
|
15009
|
-
else if (
|
15010
|
-
currSize <= DEVICE_SIZES.L) {
|
15050
|
+
else if (notSmallDisableTop && currSize <= DEVICE_SIZES.L) {
|
15011
15051
|
this.setParentPaddingLeft(this.static && this.menuExpanded
|
15012
15052
|
? "calc(var(--ic-space-xl) * 10)"
|
15013
15053
|
: paddingLeft);
|
@@ -15096,10 +15136,11 @@ class SideNavigation {
|
|
15096
15136
|
render() {
|
15097
15137
|
const { appTitle, menuOpen, foregroundColor, menuExpanded, href, status, version, collapsedIconLabels, inline, } = this;
|
15098
15138
|
const isSDevice = !this.disableTopBarBehaviour && this.deviceSize === DEVICE_SIZES.S;
|
15139
|
+
const isSDeviceDisableTop = this.disableTopBarBehaviour && this.deviceSize === DEVICE_SIZES.S;
|
15099
15140
|
const isMdDevice = this.deviceSize === DEVICE_SIZES.M;
|
15100
15141
|
const isLgDevice = this.deviceSize >= DEVICE_SIZES.L;
|
15101
15142
|
const isAppNameSubtitleVariant = this.deviceSizeAppTitle === DEVICE_SIZES.S;
|
15102
|
-
const displayExpandBtn = isMdDevice ||
|
15143
|
+
const displayExpandBtn = isMdDevice || isSDeviceDisableTop || (isLgDevice && !this.static);
|
15103
15144
|
const topBarProps = {
|
15104
15145
|
isSDevice,
|
15105
15146
|
foregroundColor,
|
@@ -15108,7 +15149,7 @@ class SideNavigation {
|
|
15108
15149
|
isAppNameSubtitleVariant,
|
15109
15150
|
appTitle: appTitle || "",
|
15110
15151
|
};
|
15111
|
-
return (hAsync(Host, { key: '
|
15152
|
+
return (hAsync(Host, { key: '3c2b5578401f4cb5aec4443e08d0dd201e3b68a5', class: {
|
15112
15153
|
"xs-menu-open": menuOpen && isSDevice,
|
15113
15154
|
"xs-menu-close": !menuOpen && isSDevice,
|
15114
15155
|
"sm-collapsed": !isSDevice && !menuExpanded,
|
@@ -15117,12 +15158,12 @@ class SideNavigation {
|
|
15117
15158
|
[`ic-side-navigation-${IcBrandForegroundEnum.Dark}`]: foregroundColor === IcBrandForegroundEnum.Dark,
|
15118
15159
|
["collapsed-labels"]: !isSDevice && !menuExpanded && !!collapsedIconLabels,
|
15119
15160
|
["ic-side-navigation-inline"]: !!inline,
|
15120
|
-
} }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { key: '
|
15161
|
+
} }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { key: 'e23e83b3b8ab5745d3336b9046d73b2093b3ce2b', class: "side-navigation", id: "side-navigation" }, !isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { key: '015266a0a9c86247a1304a261a8854f6f09c2cc9', class: "side-navigation-inner" }, isSlotUsed(this.el, "primary-navigation") && (hAsync("nav", { key: 'dd6adfcf6555b8733c3a54e986c376a8173b67f4', class: "primary-navigation", "aria-labelledby": "primary-navigation-landmark" }, hAsync("span", { key: '2496078c272bd4a2330a71a92fe5b6814d57f057', "aria-hidden": "true", class: "navigation-landmark-title", id: "primary-navigation-landmark" }, "Primary"), hAsync("ul", { key: '9357b0f4413ffb8a27454e76f4ef8f31a0268edd', class: "navigation-list" }, hAsync("slot", { key: 'f16b2e21c42f8bb71090bdf2616821a7f3971bb6', name: "primary-navigation" }))))), hAsync("div", { key: '526a5d6b53d96281d1f94ccba74fff0656bae624', class: {
|
15121
15162
|
["bottom-wrapper"]: true,
|
15122
15163
|
["classification-spacing"]: hasClassificationBanner(),
|
15123
|
-
} }, isSlotUsed(this.el, "secondary-navigation") && (hAsync("nav", { key: '
|
15164
|
+
} }, isSlotUsed(this.el, "secondary-navigation") && (hAsync("nav", { key: 'b4ca53bf595e01cca2fa4f6be6c206df17ca9dea', class: "secondary-navigation", "aria-labelledby": "secondary-navigation-landmark" }, hAsync("span", { key: '3297c45f0206ad300b91bc72fd3f73833344e0a6', "aria-hidden": "true", class: "navigation-landmark-title", id: "secondary-navigation-landmark" }, "Secondary"), hAsync("ul", { key: '9e26f92a7d9b7a336c030d5d9341e72e8d0c8869', class: "navigation-list" }, hAsync("slot", { key: '7542d4061e0b546499e5b5323c39957c1607435a', name: "secondary-navigation" })))), hAsync("div", { key: '3b7e932d373b189762584a180a13bc06ec702d77', class: "bottom-side-nav" }, this.hasSecondaryNavigation && hAsync("ic-divider", { key: 'fa143397381376b142bef4fc6318ad98f329a358' }), displayExpandBtn && (hAsync("button", { key: '1d92181c969e5fd7c960ff2b28dbc9588b0339cc', class: "menu-expand-button", innerHTML: chevronIcon, onClick: () => this.toggleMenuExpanded(!this.menuExpanded), "aria-label": `${menuExpanded ? "Collapse" : "Expand"} side navigation` })), hAsync("div", { key: 'f82c9aec7d5b2175bcf0a71edef6e7dbd4d2914e', class: "app-status-wrapper" }, status !== "" && (hAsync("div", { key: '33caeb2d9c8234d9b526fb9eea4a4a4ff829238d', class: {
|
15124
15165
|
["app-status"]: true,
|
15125
|
-
} }, hAsync("ic-typography", { key: '
|
15166
|
+
} }, hAsync("ic-typography", { key: '565ad1362e02ba1c86a179310f8fa9681402c9f2', "aria-label": "app tag", variant: "label-uppercase", class: "app-status-text" }, status))), version !== "" && (hAsync("ic-typography", { key: '98c9e55f050ae87c60506b72726d843e3e67eb8e', variant: "label", class: "app-version", "aria-label": "app version" }, version))))))));
|
15126
15167
|
}
|
15127
15168
|
get el() { return getElement(this); }
|
15128
15169
|
static get watchers() { return {
|
@@ -15186,11 +15227,11 @@ class Skeleton {
|
|
15186
15227
|
width: el.style.width || (variant === "circle" ? "25px" : "260px"),
|
15187
15228
|
}
|
15188
15229
|
: undefined;
|
15189
|
-
return (hAsync(Host, { key: '
|
15230
|
+
return (hAsync(Host, { key: '5818b75264565b11565affe9e6edbd0ebc850b5a', class: {
|
15190
15231
|
skeleton: true,
|
15191
15232
|
"ic-skeleton-circle": variant === "circle",
|
15192
15233
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
15193
|
-
}, style: style, "aria-disabled": "true" }, hAsync("slot", { key: '
|
15234
|
+
}, style: style, "aria-disabled": "true" }, hAsync("slot", { key: 'dac00f75ef41cba4df058a87ac54a7346e93f747' })));
|
15194
15235
|
}
|
15195
15236
|
get el() { return getElement(this); }
|
15196
15237
|
static get style() { return IcSkeletonStyle0; }
|
@@ -15247,9 +15288,9 @@ class SkipLink {
|
|
15247
15288
|
}
|
15248
15289
|
render() {
|
15249
15290
|
const { fullWidth, inline, label, monochrome, target, theme, transparentBackground, } = this;
|
15250
|
-
return (hAsync(Host, { key: '
|
15291
|
+
return (hAsync(Host, { key: '48ebe55664670d4b67c3063a4d0d309b7a7b001a', class: {
|
15251
15292
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
15252
|
-
} }, hAsync("ic-link", { key: '
|
15293
|
+
} }, hAsync("ic-link", { key: 'effeead1403ff76b176d5bb7b3863c53e3677dd9', class: {
|
15253
15294
|
"display-top": !inline,
|
15254
15295
|
"full-width": !!fullWidth,
|
15255
15296
|
"show-background": !transparentBackground,
|
@@ -15314,12 +15355,12 @@ class StatusTag {
|
|
15314
15355
|
}
|
15315
15356
|
render() {
|
15316
15357
|
const { label, status, variant, size, announced, theme, uppercase } = this;
|
15317
|
-
return (hAsync(Host, { key: '
|
15358
|
+
return (hAsync(Host, { key: '1364b3edcf4a5ebe148cfb8aa777bda105a3282f', class: { [`ic-theme-${theme}`]: theme !== "inherit" }, role: announced ? "status" : null, "aria-label": "Status" }, hAsync("strong", { key: '96a6e601c3aeef8600835dc1e114c7be5a240164', class: {
|
15318
15359
|
["tag"]: true,
|
15319
15360
|
[`${variant}-${status}`]: true,
|
15320
15361
|
["outlined"]: variant === "outlined",
|
15321
15362
|
[`${size}`]: true,
|
15322
|
-
} }, hAsync("ic-typography", { key: '
|
15363
|
+
} }, hAsync("ic-typography", { key: 'dd831bf604192af5ee4b29676be2eda2d5d12e24', variant: uppercase ? "label-uppercase" : "label", "apply-vertical-margins": false }, hAsync("span", { key: 'd7c07a02acbb5db23516389b41a752c75f6c3da6' }, label)))));
|
15323
15364
|
}
|
15324
15365
|
static get style() { return IcStatusTagStyle0; }
|
15325
15366
|
static get cmpMeta() { return {
|
@@ -15403,29 +15444,29 @@ class Step {
|
|
15403
15444
|
// STATUS ICON FOR COMPACT STEP
|
15404
15445
|
let statusIcon;
|
15405
15446
|
if (this.type === "completed" || this.compactStepStyling === "completed") {
|
15406
|
-
statusIcon = (hAsync("span", { key: '
|
15447
|
+
statusIcon = (hAsync("span", { key: 'da8e370996e92dde0f17f6460ecb0c11d8def086', class: "check-icon step-icon", "aria-hidden": "true", innerHTML: checkIcon }));
|
15407
15448
|
}
|
15408
15449
|
else if (this.type === "disabled" ||
|
15409
15450
|
this.compactStepStyling === "disabled") {
|
15410
|
-
statusIcon = (hAsync("span", { key: '
|
15451
|
+
statusIcon = (hAsync("span", { key: '581de517797d73b13bab42503a084a579c540d5f', class: "warning-icon step-icon", "aria-hidden": "true", innerHTML: warningIcon }));
|
15411
15452
|
}
|
15412
15453
|
// COMPACT STEP COMPONENT
|
15413
|
-
const compactStep = (hAsync("div", { key: '
|
15454
|
+
const compactStep = (hAsync("div", { key: '2b0b01b29c81bd1ae351b56f04c18f7eab1ca4f1', class: {
|
15414
15455
|
["step"]: true,
|
15415
15456
|
["current"]: !!this.current,
|
15416
15457
|
[`compact-step-${this.compactStepStyling}`]: !!this.compactStepStyling,
|
15417
15458
|
["disabled"]: this.type === "disabled" || this.compactStepStyling === "disabled",
|
15418
|
-
} }, hAsync("ic-loading-indicator", { key: '
|
15459
|
+
} }, hAsync("ic-loading-indicator", { key: '4f2234e8dc571338c71f63263d2cd45460920717', class: {
|
15419
15460
|
"compact-step-progress-indicator": true,
|
15420
15461
|
"not-required": this.type === "disabled" ||
|
15421
15462
|
this.compactStepStyling === "disabled",
|
15422
|
-
}, "aria-hidden": "true", size: "small", "inner-label": this.stepNum, progress: this.progress }), hAsync("div", { key: '
|
15463
|
+
}, "aria-hidden": "true", size: "small", "inner-label": this.stepNum, progress: this.progress }), hAsync("div", { key: 'bb3834decc5d6e971b8da1b225987f41d7542b67', class: "heading-area" }, hAsync("ic-typography", { key: 'c9ac23c26ecb3a002f065583c36b105dd7a80d35', variant: "h4", class: "heading" }, this.heading), hAsync("div", { key: '72a46d0b49c4b09db01fd6a7a4000efb4d4f6da9', class: "info-line" }, hAsync("ic-typography", { key: '0a8f7b16a04431260d1650474ea86faa0248af2d', variant: "caption", class: "step-num" }, `${this.stepNum} of ${this.lastStepNum}`, hAsync("span", { key: '497ad4a0febb2b9f5380a0bb28f0effc6368cf1d', class: "visually-hidden" }, " steps")), (this.subheading ||
|
15423
15464
|
this.type === "completed" ||
|
15424
15465
|
this.type === "disabled" ||
|
15425
15466
|
(this.variant === "compact" &&
|
15426
15467
|
!!this.compactStepStyling &&
|
15427
15468
|
this.compactStepStyling !== "active") ||
|
15428
|
-
!!this.status) && (hAsync("div", { key: '
|
15469
|
+
!!this.status) && (hAsync("div", { key: 'ee5da9d5d75229d3bffbc761dfc4c779b22b063d', class: "step-status" }, statusIcon !== undefined && statusIcon, (this.subheading || stepType) && (hAsync("ic-typography", { key: 'b249e660a2eff61dc1d537ab14e2bf027c2ffab2', variant: "caption" }, this.subheading !== null && isPropDefined(this.subheading)
|
15429
15470
|
? this.subheading
|
15430
15471
|
: this.type === "disabled" ||
|
15431
15472
|
(this.variant === "compact" &&
|
@@ -15438,26 +15479,26 @@ class Step {
|
|
15438
15479
|
// ICON FOR DEFAULT STEP
|
15439
15480
|
let icon;
|
15440
15481
|
if (this.type !== "completed") {
|
15441
|
-
icon = (hAsync("ic-typography", { key: '
|
15482
|
+
icon = (hAsync("ic-typography", { key: '8d6b60fe3b7cb9426536ac8afaeb798de0291b1c', variant: "subtitle-small" }, hAsync("span", { key: '464e32e9503075944e90e9e42c72ef3955c948d0', class: "step-icon-inner", "aria-hidden": "true" }, this.stepNum)));
|
15442
15483
|
}
|
15443
15484
|
else {
|
15444
|
-
icon = (hAsync("div", { key: '
|
15485
|
+
icon = (hAsync("div", { key: '620c7f67632c073a4e339427bedc5ffed0a4a320', class: "step-icon-inner", "aria-hidden": "true" }, hAsync("span", { key: '1396290202c009168bf4b7983a2af4f5d8fdeb64', class: "check-icon", innerHTML: checkIcon })));
|
15445
15486
|
}
|
15446
15487
|
// STEP CONNECT FOR DEFAULT STEP
|
15447
|
-
const partialBar = this.type === "current" && (hAsync("div", { key: '
|
15448
|
-
const finalStep = !this.lastStep && (hAsync("div", { key: '
|
15488
|
+
const partialBar = this.type === "current" && (hAsync("div", { key: '7d27dc6a29aca34dcb14c0624c66309614c5378a', class: "step-connect-inner" }));
|
15489
|
+
const finalStep = !this.lastStep && (hAsync("div", { key: '70aeb7052405a7977a12562c329f227c71e35a8b', class: {
|
15449
15490
|
["step-connect"]: true,
|
15450
15491
|
["aligned-full-width"]: !!(((_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.classList.contains("ic-stepper-default")) &&
|
15451
15492
|
!this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
|
15452
15493
|
} }, partialBar));
|
15453
15494
|
// DEFAULT STEP COMPONENT
|
15454
|
-
const defaultStep = (hAsync("div", { key: '
|
15495
|
+
const defaultStep = (hAsync("div", { key: '130b7d2d16c416a5e699a20564b475fe0620af18', class: {
|
15455
15496
|
["step"]: true,
|
15456
15497
|
[`${this.type}`]: true,
|
15457
|
-
} }, hAsync("div", { key: '
|
15498
|
+
} }, hAsync("div", { key: '6b71087d2f67a0858fdd819424fed8d36084d98e', class: "step-top" }, hAsync("div", { key: 'a9d0fc4317db6cc4b60c8429909fe30dbae3001e', class: "step-icon" }, icon), finalStep), (this.heading || this.subheading || this.status) && (hAsync("div", { key: '13c274e45d81977b4ceeaf98a4e092a2d90fec97', class: "heading-area" }, this.heading && (hAsync("ic-typography", { key: '1c4307d5780fff0c7200631e7b729024e3ca8315', variant: "subtitle-large", class: "heading" }, this.heading)), this.heading && (this.subheading || this.status) && (hAsync("ic-typography", { key: '4e6b789f77f40ed85e486bb8bf25b2209e042a91', variant: "caption", class: "subheading" }, this.subheading !== null && isPropDefined(this.subheading)
|
15458
15499
|
? this.subheading
|
15459
15500
|
: stepStatus))))));
|
15460
|
-
return (hAsync(Host, { key: '
|
15501
|
+
return (hAsync(Host, { key: 'aaeb6b423f4a746831b15ec90ae450a4a4c3fc9e', role: "listitem", "aria-label": `Step ${this.stepNum}${ariaLabel}`, "aria-current": (this.current || this.type === "current") && "step", class: {
|
15461
15502
|
["aligned-full-width"]: !!(((_b = this.el.parentElement) === null || _b === void 0 ? void 0 : _b.classList.contains("ic-stepper-default")) &&
|
15462
15503
|
!this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
|
15463
15504
|
[`ic-step-${this.variant}`]: true,
|
@@ -15738,11 +15779,11 @@ class Stepper {
|
|
15738
15779
|
checkResizeObserver(this.runResizeObserver);
|
15739
15780
|
}
|
15740
15781
|
render() {
|
15741
|
-
return (hAsync(Host, { key: '
|
15782
|
+
return (hAsync(Host, { key: '82128e652194f8c19692211d4170bab0651112c6', class: {
|
15742
15783
|
[`ic-stepper-${this.variant}`]: true,
|
15743
15784
|
["ic-stepper-aligned-left"]: this.variant === "default" && this.aligned === "left",
|
15744
15785
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
15745
|
-
} }, hAsync("ul", { key: '
|
15786
|
+
} }, hAsync("ul", { key: '887be84fa976e8aae0bc1fd659781f4650543725', class: "step-item-list" }, hAsync("slot", { key: '09dfecb16ef10d0920e0b781befed025e16af13c' }))));
|
15746
15787
|
}
|
15747
15788
|
get el() { return getElement(this); }
|
15748
15789
|
static get watchers() { return {
|
@@ -15774,11 +15815,12 @@ class Stepper {
|
|
15774
15815
|
}; }
|
15775
15816
|
}
|
15776
15817
|
|
15777
|
-
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)}input{overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ic-switch-container{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ic-space-xxs);cursor:pointer}.ic-switch-label{margin-left:var(--ic-space-xxs);margin-bottom:var(--ic-space-sm)}.ic-switch-label-small{margin-bottom:0.625rem}.ic-switch-toggle{display:flex;align-items:center;justify-content:space-around;width:4rem;height:var(--ic-space-xl);position:relative;border-radius:100vw;background-color:var(--ic-switch-unchecked-bg);border:var(--ic-border-width) solid var(--ic-switch-unchecked);box-sizing:border-box;transition:var(--ic-transition-duration-fast)}.ic-switch-line-break{flex:1 0 100%}.ic-switch-toggle::before{content:\"\";width:1.333rem;height:1.333rem;border-radius:50%;position:absolute;z-index:2;top:50%;left:0.333rem;transform:translate(0, -50%);background-color:var(--ic-switch-unchecked);transition:var(--ic-transition-duration-slow)}.ic-switch-icon{display:inline-block;vertical-align:middle;width:0.625rem;height:0.625rem}.ic-switch-icon-circle,.ic-switch-icon-line{stroke-width:1}.ic-switch-icon-circle{stroke:var(--ic-switch-indicator-off)}.ic-switch-icon-line{stroke:var(--ic-switch-indicator-on)}@media (prefers-reduced-motion: reduce){.ic-switch-toggle::before{transition-duration:0ms}}.ic-switch-input:checked+.ic-switch-toggle{background-color:var(--ic-switch-checked-bg);border:none}.ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(var(--ic-space-xl), -50%);background-color:var(--ic-switch-checked)}.ic-switch-input:not([disabled])+.ic-switch-toggle:hover::before{box-shadow:0 0 0 0.75rem var(--ic-switch-unchecked-bg-hover)}.ic-switch-input:not([disabled])+.ic-switch-toggle:active::before{box-shadow:0 0 0 0.75rem var(--ic-switch-unchecked-bg-pressed)}.ic-switch-input:not([disabled]):checked+.ic-switch-toggle:hover::before{box-shadow:0 0 0 0.75rem var(--ic-switch-checked-bg-hover)}.ic-switch-input:not([disabled]):checked+.ic-switch-toggle:active::before{box-shadow:0 0 0 0.75rem var(--ic-switch-checked-bg-pressed)}.ic-switch-input:focus:not([disabled])+.ic-switch-toggle,.ic-switch-input:focus-visible:not([disabled])+.ic-switch-toggle{box-shadow:var(--ic-border-focus)}.ic-switch-disabled{cursor:default}.ic-switch-disabled .ic-switch-icon-circle{stroke:var(--ic-switch-indicator-off-disabled)}.ic-switch-disabled .ic-switch-icon-line{stroke:var(--ic-switch-indicator-on-disabled)}.ic-switch-input:disabled+.ic-switch-toggle{background-color:var(--ic-switch-unchecked-bg-disabled);border:var(--ic-space-1px) dashed var(--ic-switch-unchecked-outline-disabled)}.ic-switch-input:disabled+.ic-switch-toggle::before{background-color:var(--ic-switch-unchecked-disabled)}.ic-switch-input:disabled:checked+.ic-switch-toggle{background-color:var(--ic-switch-checked-bg-disabled);border:var(--ic-border-width) dashed\n var(--ic-switch-checked-outline-disabled)}.ic-switch-input:disabled:checked+.ic-switch-toggle::before{background-color:var(--ic-switch-checked)}.ic-switch-small{gap:var(--ic-space-xxxs)}.ic-switch-small .ic-switch-toggle{width:var(--ic-space-xxl);height:var(--ic-space-lg)}.ic-switch-small .ic-switch-toggle::before{width:var(--ic-space-md);height:var(--ic-space-md);left:var(--ic-space-xxs)}.ic-switch-small .ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(var(--ic-space-lg), -50%)}::slotted(
|
15818
|
+
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)}input{overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ic-switch-container{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ic-space-xxs);cursor:pointer}.ic-switch-label{margin-left:var(--ic-space-xxs);margin-bottom:var(--ic-space-sm)}.ic-switch-label-small{margin-bottom:0.625rem}.ic-switch-toggle{display:flex;align-items:center;justify-content:space-around;width:4rem;height:var(--ic-space-xl);position:relative;border-radius:100vw;background-color:var(--ic-switch-unchecked-bg);border:var(--ic-border-width) solid var(--ic-switch-unchecked);box-sizing:border-box;transition:var(--ic-transition-duration-fast)}.ic-switch-line-break{flex:1 0 100%}.ic-switch-toggle::before{content:\"\";width:1.333rem;height:1.333rem;border-radius:50%;position:absolute;z-index:2;top:50%;left:0.333rem;transform:translate(0, -50%);background-color:var(--ic-switch-unchecked);transition:var(--ic-transition-duration-slow)}.ic-switch-icon{display:inline-block;vertical-align:middle;width:0.625rem;height:0.625rem}.ic-switch-icon-circle,.ic-switch-icon-line{stroke-width:1}.ic-switch-icon-circle{stroke:var(--ic-switch-indicator-off)}.ic-switch-icon-line{stroke:var(--ic-switch-indicator-on)}@media (prefers-reduced-motion: reduce){.ic-switch-toggle::before{transition-duration:0ms}}.ic-switch-input:checked+.ic-switch-toggle{background-color:var(--ic-switch-checked-bg);border:none}.ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(var(--ic-space-xl), -50%);background-color:var(--ic-switch-checked)}.ic-switch-input:not([disabled])+.ic-switch-toggle:hover::before{box-shadow:0 0 0 0.75rem var(--ic-switch-unchecked-bg-hover)}.ic-switch-input:not([disabled])+.ic-switch-toggle:active::before{box-shadow:0 0 0 0.75rem var(--ic-switch-unchecked-bg-pressed)}.ic-switch-input:not([disabled]):checked+.ic-switch-toggle:hover::before{box-shadow:0 0 0 0.75rem var(--ic-switch-checked-bg-hover)}.ic-switch-input:not([disabled]):checked+.ic-switch-toggle:active::before{box-shadow:0 0 0 0.75rem var(--ic-switch-checked-bg-pressed)}.ic-switch-input:focus:not([disabled])+.ic-switch-toggle,.ic-switch-input:focus-visible:not([disabled])+.ic-switch-toggle{box-shadow:var(--ic-border-focus)}.ic-switch-disabled{cursor:default}.ic-switch-disabled .ic-switch-icon-circle{stroke:var(--ic-switch-indicator-off-disabled)}.ic-switch-disabled .ic-switch-icon-line{stroke:var(--ic-switch-indicator-on-disabled)}.ic-switch-input:disabled+.ic-switch-toggle{background-color:var(--ic-switch-unchecked-bg-disabled);border:var(--ic-space-1px) dashed var(--ic-switch-unchecked-outline-disabled)}.ic-switch-input:disabled+.ic-switch-toggle::before{background-color:var(--ic-switch-unchecked-disabled)}.ic-switch-input:disabled:checked+.ic-switch-toggle{background-color:var(--ic-switch-checked-bg-disabled);border:var(--ic-border-width) dashed\n var(--ic-switch-checked-outline-disabled)}.ic-switch-input:disabled:checked+.ic-switch-toggle::before{background-color:var(--ic-switch-checked)}.ic-switch-small{gap:var(--ic-space-xxxs)}.ic-switch-small .ic-switch-toggle{width:var(--ic-space-xxl);height:var(--ic-space-lg)}.ic-switch-small .ic-switch-toggle::before{width:var(--ic-space-md);height:var(--ic-space-md);left:var(--ic-space-xxs)}.ic-switch-small .ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(var(--ic-space-lg), -50%)}::slotted([slot=\"right-adornment\"]){margin-left:var(--ic-space-sm);fill:var(--ic-switch-icon)}@media (forced-colors: active){.ic-switch-toggle::before,.ic-switch-input:checked+.ic-switch-toggle{border:var(--ic-border-hc)}.ic-switch-input:focus+.ic-switch-toggle{border-color:highlight;outline:var(--ic-space-xxxs) solid highlight}.ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(calc(var(--ic-space-xl) - 0.125rem), -50%)}.ic-switch-input:disabled+.ic-switch-toggle,.ic-switch-input:disabled:checked+.ic-switch-toggle,.ic-switch-input:disabled+.ic-switch-toggle::before{border-color:GrayText}.ic-switch-disabled .ic-switch-icon-circle,.ic-switch-disabled .ic-switch-icon-line{stroke:GrayText}}";
|
15778
15819
|
var IcSwitchStyle0 = icSwitchCss;
|
15779
15820
|
|
15780
15821
|
let inputIds$1 = 0;
|
15781
15822
|
/**
|
15823
|
+
* @slot helper-text - Content is set as the helper text for the switch.
|
15782
15824
|
* @slot right-adornment - Content is placed to the right of switch.
|
15783
15825
|
*/
|
15784
15826
|
class Switch {
|
@@ -15871,16 +15913,16 @@ class Switch {
|
|
15871
15913
|
const { label, checkedState, size, disabled, name, value, hideLabel, helperText, inputId, theme, } = this;
|
15872
15914
|
const isSmall = size === "small";
|
15873
15915
|
renderHiddenInput(this.el, checkedState ? value : "", name, disabled);
|
15874
|
-
return (hAsync(Host, { key: '
|
15916
|
+
return (hAsync(Host, { key: '41b8e3edfe4befcf823ba88af9b476301be738c0', class: {
|
15875
15917
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
15876
|
-
} }, hAsync("label", { key: '
|
15918
|
+
} }, hAsync("label", { key: 'b7be9f77c5ff10bd8f4ebcc76588d5b84567f37c', class: {
|
15877
15919
|
"ic-switch-container": true,
|
15878
15920
|
"ic-switch-disabled": !!disabled,
|
15879
15921
|
"ic-switch-small": isSmall,
|
15880
|
-
}, htmlFor: inputId }, !hideLabel && (hAsync("ic-input-label", { key: '
|
15922
|
+
}, htmlFor: inputId }, !hideLabel && (hAsync("ic-input-label", { key: '799058374e555336d45376ddd645afeee32bafcb', for: inputId, label: label, helperText: helperText, readonly: false, disabled: disabled, class: {
|
15881
15923
|
"ic-switch-label": true,
|
15882
15924
|
"ic-switch-label-small": isSmall,
|
15883
|
-
} })), !hideLabel && hAsync("span", { key: '
|
15925
|
+
} }, hAsync("slot", { key: '509cfc15006377cd5cbb7ead4d33d29069e1ae25', name: "helper-text", slot: "helper-text" }))), !hideLabel && hAsync("span", { key: '01ab8db129ac0a1cb0d1eb36c220211102c77696', class: "ic-switch-line-break" }), hAsync("input", { key: '71c1a210fb9323c0d0bf1139f4bbd68e529b1c1f', 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: '835ba78c97c3af1916e4214e781ecd3e4f465828', class: "ic-switch-toggle" }, hAsync("svg", { key: '8bb00a2e5f95ebe996e73be959467df033c44881', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, hAsync("line", { key: 'a3d47d6105d552f920ef6143e385515da508500f', class: "ic-switch-icon-line", x1: "9", y1: isSmall ? "2" : "1", x2: "9", y2: isSmall ? "8" : "9" })), hAsync("svg", { key: '2d7a5654aebbb042123a706edb2dec1c605d5f9d', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, hAsync("circle", { key: '6c0645133ac7a2fa747ce1cd81df0d2b528e19a5', class: "ic-switch-icon-circle", fill: "none", cx: "5", cy: "5", r: isSmall ? "3.335" : "4.445" }))), hAsync("slot", { key: 'f7ac187630acff4dabd2c264a6ebdbc717c21221', name: "right-adornment" }))));
|
15884
15926
|
}
|
15885
15927
|
static get delegatesFocus() { return true; }
|
15886
15928
|
get el() { return getElement(this); }
|
@@ -16258,7 +16300,7 @@ class TabContext {
|
|
16258
16300
|
}
|
16259
16301
|
}
|
16260
16302
|
render() {
|
16261
|
-
return hAsync("slot", { key: '
|
16303
|
+
return hAsync("slot", { key: 'b2129a3c599ca4b97df30f14833761780c2c0940' });
|
16262
16304
|
}
|
16263
16305
|
get el() { return getElement(this); }
|
16264
16306
|
static get watchers() { return {
|
@@ -16304,11 +16346,11 @@ class TabGroup {
|
|
16304
16346
|
}
|
16305
16347
|
render() {
|
16306
16348
|
const { inline, theme, label, monochrome } = this;
|
16307
|
-
return (hAsync(Host, { key: '
|
16349
|
+
return (hAsync(Host, { key: '5e2ac19760c3c6f6a5fa4e24e4b65d06bf958734', role: "tablist", "aria-label": label, class: {
|
16308
16350
|
["ic-tab-group-inline"]: !!inline,
|
16309
16351
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
16310
16352
|
["ic-tab-group-monochrome"]: !!monochrome,
|
16311
|
-
} }, hAsync("ic-horizontal-scroll", { key: '
|
16353
|
+
} }, hAsync("ic-horizontal-scroll", { key: 'c1af66d6ccce50093586a87024d2fc2064204e65', theme: theme, "focus-trigger": "tabFocus", monochrome: monochrome }, hAsync("div", { key: '5d74a60b33b216eea766a5d15e9d130cda924d2b', class: "tabs-container" }, hAsync("slot", { key: '7d95c9b98a270810c391abc779ca0bda5c7fa24f' })))));
|
16312
16354
|
}
|
16313
16355
|
static get delegatesFocus() { return true; }
|
16314
16356
|
static get style() { return IcTabGroupStyle0; }
|
@@ -16351,10 +16393,10 @@ class TabPanel {
|
|
16351
16393
|
}
|
16352
16394
|
render() {
|
16353
16395
|
const { active, theme } = this;
|
16354
|
-
return (hAsync(Host, { key: '
|
16396
|
+
return (hAsync(Host, { key: '866d13ac3e2c93c8ea20e83d8513a74664aabfcb', class: {
|
16355
16397
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
16356
16398
|
"ic-tab-panel-hidden": !active,
|
16357
|
-
}, role: "tabpanel", "aria-hidden": `${!active}` }, hAsync("div", { key: '
|
16399
|
+
}, role: "tabpanel", "aria-hidden": `${!active}` }, hAsync("div", { key: 'a44da18c8534659c240dcb84ba9941b61574f546' }, hAsync("slot", { key: '91a267e9b16c4ebdadb1b5facb9f7f50f3944f8e' }))));
|
16358
16400
|
}
|
16359
16401
|
get el() { return getElement(this); }
|
16360
16402
|
static get style() { return IcTabPanelStyle0; }
|
@@ -16381,6 +16423,7 @@ var IcTextFieldStyle0 = icTextFieldCss;
|
|
16381
16423
|
let inputIds = 0;
|
16382
16424
|
const MUTABLE_ATTRIBUTES = [...IC_INHERITED_ARIA, "title"];
|
16383
16425
|
/**
|
16426
|
+
* @slot helper-text - Content is set as the helper text for the text field.
|
16384
16427
|
* @slot icon - Content will be placed to the left of the text input.
|
16385
16428
|
*/
|
16386
16429
|
class TextField {
|
@@ -16737,21 +16780,21 @@ class TextField {
|
|
16737
16780
|
const charsRemaining = maxNumChars - numChars;
|
16738
16781
|
const remainingCharCountDescId = maxCharacters > 0 ? `${inputId}-remaining-char-count-desc` : "";
|
16739
16782
|
const remainingCharCountDesc = `${charsRemaining} character${charsRemaining === 1 ? "" : "s"} remaining.`;
|
16740
|
-
const describedBy = `${hiddenCharCountDescId} ${numChars > 0 ? remainingCharCountDescId : ""} ${getInputDescribedByText(inputId, helperText !== "", showStatusText)}`.trim();
|
16783
|
+
const describedBy = `${hiddenCharCountDescId} ${numChars > 0 ? remainingCharCountDescId : ""} ${getInputDescribedByText(this.el, inputId, helperText !== "", showStatusText)}`.trim();
|
16741
16784
|
const disabledText = disabledMode && !readonly;
|
16742
16785
|
const showLeftIcon = !!this.el.querySelector(`[slot="icon"]`) && !disabledText;
|
16743
16786
|
const invalid = `${currentStatus === IcInformationStatus.Error}`;
|
16744
16787
|
hiddenInput
|
16745
16788
|
? renderHiddenInput(this.el, value, name, disabledMode)
|
16746
16789
|
: removeHiddenInput(this.el);
|
16747
|
-
return (hAsync(Host, { key: '
|
16790
|
+
return (hAsync(Host, { key: '353a70181ab18c4f636b34e2177bb9d088567885', class: {
|
16748
16791
|
"ic-text-field-full-width": fullWidth,
|
16749
16792
|
"ic-text-field-disabled": disabledMode,
|
16750
16793
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
16751
|
-
} }, hAsync("ic-input-container", { key: '
|
16794
|
+
} }, hAsync("ic-input-container", { key: '96d0ef6132ed2a26ee535cfc5055ddc6287446f6', readonly: readonly, disabled: disabledMode }, !hideLabel && (hAsync("ic-input-label", { key: 'dfcb7859651f74678636e4cda1ba0706b2e3b1fb', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledText, readonly: readonly }, hAsync("slot", { key: 'd9ee297f2de674a969486a3d00eef54526eace50', name: "helper-text", slot: "helper-text" }))), hAsync("ic-input-component-container", { key: '0a178235ced26ef73fd907d41424a8b4942659dc', size: size, validationStatus: currentStatus, multiLine: multiline, disabled: disabledMode, readonly: readonly, validationInline: validationInline, fullWidth: fullWidth }, showLeftIcon && (hAsync("span", { key: 'c5206e3d1af81d4bf9bf0afcc9277899ca2287be', class: {
|
16752
16795
|
readonly,
|
16753
16796
|
"has-value": this.getNumberOfCharacters(value) > 0,
|
16754
|
-
}, slot: "left-icon" }, hAsync("slot", { key: '
|
16797
|
+
}, slot: "left-icon" }, hAsync("slot", { key: 'f3945929b482d9a0a954dc1afa658fc0c45d90c8', 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: {
|
16755
16798
|
"no-left-pad": !showLeftIcon && readonly,
|
16756
16799
|
readonly,
|
16757
16800
|
"truncate-value": truncateValue,
|
@@ -16759,19 +16802,19 @@ class TextField {
|
|
16759
16802
|
"no-resize": resize === false || !!readonly,
|
16760
16803
|
"no-left-pad": !showLeftIcon && !!readonly,
|
16761
16804
|
readonly: !!readonly,
|
16762
|
-
}, 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, autocapitalize: autocapitalize, spellcheck: spellcheck, inputmode: inputmode, maxlength: maxCharactersReached ? maxCharacters : undefined, minlength: minCharactersUnattained ? minCharacters : undefined }, inheritedAttributes))), isSlotUsed(el, "clear-button") && (hAsync("slot", { key: '
|
16805
|
+
}, 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, autocapitalize: autocapitalize, spellcheck: spellcheck, inputmode: inputmode, maxlength: maxCharactersReached ? maxCharacters : undefined, minlength: minCharactersUnattained ? minCharacters : undefined }, inheritedAttributes))), isSlotUsed(el, "clear-button") && (hAsync("slot", { key: '6397d66b59b148884cb2fd7f8913063ca24f0de1', name: "clear-button" })), isSlotUsed(el, "search-submit-button") && (hAsync("slot", { key: 'c5e7f94345cebe1dc99ba475aa5bde1b45dda0e0', name: "search-submit-button" }))), isSlotUsed(el, "menu") && hAsync("slot", { key: '1c7fe7d7654373753295a44a3e126ce2409099cc', name: "menu" }), (!isEmptyString(validationStatus) ||
|
16763
16806
|
!isEmptyString(validationText) ||
|
16764
16807
|
maxNumChars > 0 ||
|
16765
16808
|
maxValueExceeded ||
|
16766
16809
|
maxCharactersWarning ||
|
16767
16810
|
minCharactersUnattained ||
|
16768
16811
|
minValueUnattained) &&
|
16769
|
-
!validationInlineInternal && (hAsync("ic-input-validation", { key: '
|
16812
|
+
!validationInlineInternal && (hAsync("ic-input-validation", { key: '2ba3ff987910423696b822529b36e59f04b36025', status: this.hasStatus(currentStatus) === false ||
|
16770
16813
|
(currentStatus === IcInformationStatus.Success &&
|
16771
16814
|
validationInline) ||
|
16772
16815
|
validationInlineInternal
|
16773
16816
|
? ""
|
16774
|
-
: currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, !readonly && maxNumChars > 0 && (hAsync("div", { key: '
|
16817
|
+
: currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, !readonly && maxNumChars > 0 && (hAsync("div", { key: '01e443574b72a18ebd0b0646b0c2c30b59cc5726', slot: "validation-message-adornment" }, !hideCharCount && (hAsync("ic-typography", { key: '90d4e1d9325a34444c38a9c75eaaa5e256c23cae', variant: "caption", class: "char-count-text" }, hAsync("span", { key: '901a7db053e3fa59e6db506a53be92ddbf54be5d', class: "char-count" }, numChars, "/", maxNumChars))), hAsync("span", { key: '83b08ec8e8ba8286cc8024b647552c5b3e0d09e5', class: "remaining-char-count-desc", "aria-live": "polite", hidden: !isFocussed, id: remainingCharCountDescId }, remainingCharCountDesc), hAsync("span", { key: '28e0fc0de7a73057a7b00bd7e40e71c7611a980c', hidden: true, id: hiddenCharCountDescId }, "Field can contain a maximum of ", maxNumChars, " characters."))))))));
|
16775
16818
|
}
|
16776
16819
|
get el() { return getElement(this); }
|
16777
16820
|
static get watchers() { return {
|
@@ -16909,7 +16952,7 @@ class Theme {
|
|
16909
16952
|
}
|
16910
16953
|
render() {
|
16911
16954
|
const { themeClass } = this;
|
16912
|
-
return (hAsync(Host, { key: '
|
16955
|
+
return (hAsync(Host, { key: 'b49257f527c4a26eca25d04500d822785cba320b', class: themeClass }, hAsync("slot", { key: '09782aca70372e6897e9032b66a166335778a6fe' })));
|
16913
16956
|
}
|
16914
16957
|
static get watchers() { return {
|
16915
16958
|
"brandColor": ["watchBrandColorPropHandler"],
|
@@ -17134,13 +17177,13 @@ class Toast {
|
|
17134
17177
|
}
|
17135
17178
|
render() {
|
17136
17179
|
const { variant, heading, message, visible, isManual, dismissButtonAriaLabel, } = this;
|
17137
|
-
return (hAsync(Host, { key: '
|
17180
|
+
return (hAsync(Host, { key: '77ff93e63eaa0ac86b8afc447c5f2190131dd758', class: { ["ic-toast-hidden"]: !visible }, tabindex: "0", onFocus: this.onFocus, onBlur: this.onBlur, role: isManual ? "dialog" : "alert", "aria-live": isManual ? null : "polite" }, hAsync("div", { key: '0fcc1bf6aaf4c42a8ba4828c82777f75426b63bd', class: "container" }, variant && visible && (hAsync("div", { key: '87093bc655aa884d3e815f49a7ed5675e7e26b60', class: "toast-icon-container" }, hAsync("div", { key: 'b169b9bad445f582c0d0019cb646f0648ea589a1', class: {
|
17138
17181
|
["divider"]: true,
|
17139
17182
|
[`divider-${variant}`]: true,
|
17140
|
-
} }), variant === "neutral" ? (hAsync("slot", { name: "neutral-icon" })) : (hAsync("span", { class: "toast-icon", innerHTML: VARIANT_ICONS[variant].icon })))), hAsync("div", { key: '
|
17183
|
+
} }), variant === "neutral" ? (hAsync("slot", { name: "neutral-icon" })) : (hAsync("span", { class: "toast-icon", innerHTML: VARIANT_ICONS[variant].icon })))), hAsync("div", { key: '22a0c86247222789d4590a8c2698120c74fe3c59', class: {
|
17141
17184
|
["toast-content"]: true,
|
17142
17185
|
["no-icon"]: variant === "neutral" && !isSlotUsed(this.el, "neutral-icon"),
|
17143
|
-
} }, hAsync("div", { key: '
|
17186
|
+
} }, hAsync("div", { key: 'fba229f896689a7309d2e6e1d566e3e7dbd32932', class: "toast-text" }, hAsync("ic-typography", { key: 'd672976872f8789ed4a51c4af23e64a48ba19bc8', variant: "subtitle-large", class: "toast-heading" }, visible && (isManual ? hAsync("h5", null, heading) : hAsync("p", null, heading))), message && (hAsync("ic-typography", { key: 'f51c64d977c09cc5e6502b780dc70de84ebaa035', variant: "body", class: "toast-message" }, visible && hAsync("p", { key: 'f827dbff18b4b0cfd713747f09d62e0040f8f1a3' }, message)))), isSlotUsed(this.el, "action") && (hAsync("div", { key: '3f5cee133b54735d6d7466ceb37389d27b61c7a0', class: "toast-action-container" }, hAsync("slot", { key: 'b7882de8b13f069887ebd612ab6e260b063c65d1', 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", "aria-label": dismissButtonAriaLabel })))));
|
17144
17187
|
}
|
17145
17188
|
get el() { return getElement(this); }
|
17146
17189
|
static get watchers() { return {
|
@@ -17212,7 +17255,7 @@ class ToastRegion {
|
|
17212
17255
|
}
|
17213
17256
|
}
|
17214
17257
|
render() {
|
17215
|
-
return hAsync("slot", { key: '
|
17258
|
+
return hAsync("slot", { key: '9a80027a3b497771ca83af4172fdccc2bfcc10f0' });
|
17216
17259
|
}
|
17217
17260
|
get el() { return getElement(this); }
|
17218
17261
|
static get watchers() { return {
|
@@ -17364,7 +17407,7 @@ class ToggleButton {
|
|
17364
17407
|
render() {
|
17365
17408
|
const { accessibleLabel, checked, disabled, fullWidth, iconPlacement, monochrome, label, loading, size, theme, tooltipPlacement, variant, } = this;
|
17366
17409
|
const iconVariant = variant === "icon";
|
17367
|
-
return (hAsync(Host, { key: '
|
17410
|
+
return (hAsync(Host, { key: '64acdb10437030311b26805c7a5b4fb4e53a7641', class: {
|
17368
17411
|
"ic-toggle-button-checked": checked,
|
17369
17412
|
"ic-toggle-button-disabled": disabled,
|
17370
17413
|
"ic-toggle-button-icon": iconVariant,
|
@@ -17373,7 +17416,7 @@ class ToggleButton {
|
|
17373
17416
|
"ic-toggle-button-full-width": fullWidth,
|
17374
17417
|
[`ic-toggle-button-${size}`]: true,
|
17375
17418
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
17376
|
-
}, onFocus: this.handleFocus }, hAsync("ic-button", { key: '
|
17419
|
+
}, onFocus: this.handleFocus }, hAsync("ic-button", { key: '7ec9db00accaa2e67f4797534f4ad2b304da6397', "aria-pressed": `${checked}`, variant: iconVariant ? "icon" : "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: 'e84bac663f0dababe84c49180fbeabaaff23c24d' }), isSlotUsed(this.el, "icon") && (hAsync("slot", { key: 'ee8b32317edb8d9f0dfcbdb0daa106a53bcf26d4', name: "icon", slot: `${iconPlacement}-icon` })), isSlotUsed(this.el, "badge") && (hAsync("slot", { key: 'baa79552fb587d8f1167874dc55f47bbf9cf711b', name: "badge", slot: "badge" })))));
|
17377
17420
|
}
|
17378
17421
|
static get delegatesFocus() { return true; }
|
17379
17422
|
get el() { return getElement(this); }
|
@@ -17624,13 +17667,13 @@ class ToggleButtonGroup {
|
|
17624
17667
|
}
|
17625
17668
|
render() {
|
17626
17669
|
const { accessibleLabel, disabled, fullWidth, loading, monochrome, theme } = this;
|
17627
|
-
return (hAsync(Host, { key: '
|
17670
|
+
return (hAsync(Host, { key: 'c82ba602f319c2074da44667618cc5d7b7c3499b', role: "group", "aria-label": accessibleLabel, tabindex: 0, class: {
|
17628
17671
|
"ic-toggle-button-group-disabled": disabled,
|
17629
17672
|
"ic-toggle-button-group-full-width": fullWidth,
|
17630
17673
|
"ic-toggle-button-group-loading": loading,
|
17631
17674
|
"ic-toggle-button-group-monochrome": monochrome,
|
17632
17675
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
17633
|
-
}, onFocus: this.handleHostFocus }, hAsync("slot", { key: '
|
17676
|
+
}, onFocus: this.handleHostFocus }, hAsync("slot", { key: '98defd37fd3f5c87d4d0aceefd1b5ac0c5ad6123' })));
|
17634
17677
|
}
|
17635
17678
|
get el() { return getElement(this); }
|
17636
17679
|
static get watchers() { return {
|
@@ -17951,7 +17994,7 @@ class Tooltip {
|
|
17951
17994
|
}; }
|
17952
17995
|
}
|
17953
17996
|
|
17954
|
-
const icTopNavigationCss = "/*! 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;color:var(--ic-top-navigation-text);width:100%;position:relative;--ic-typography-color:var(--ic-top-navigation-text);--ic-button-secondary-text-monochrome:var(--ic-brand-text-color);--ic-button-secondary-border-monochrome:var(--ic-brand-text-color);--navigation-link-colour:var(--ic-top-navigation-text)}:host(.dark){color:var(--ic-color-text-primary-light);--ic-typography-color:var(--ic-color-text-primary-light);--ic-top-navigation-logo:var(--ic-color-icon-neutral);--ic-top-navigation-icon:var(--ic-color-icon-neutral);--ic-top-navigation-icon-and-label:var(--ic-color-text-primary-light);--ic-top-navigation-theme:var(--ic-color-icon-neutral);--ic-top-navigation-status-tag:var(--ic-color-background-primary-dark);--ic-top-navigation-status-tag-text:var(--ic-color-brand-text);--ic-top-navigation-status-tag-secondary:var(--ic-state-layer-darken-10);--ic-top-navigation-title-hover:var(--ic-action-dark-bg-hover);--ic-top-navigation-title-pressed:var(--ic-action-dark-bg-pressed);--navigation-link-colour:var(--ic-color-text-primary-light)}:host(.dark) ::slotted(ic-navigation-button){--ic-button-icon-monochrome:var(--ic-color-text-primary-light)}::slotted(ic-navigation-button){--ic-button-icon-monochrome:white}:host .top-navigation{background-color:var(--ic-top-navigation-background);height:-moz-max-content;height:max-content}:host(.fullwidth-searchbar) slot[name=\"search\"]::slotted(form){width:100%}:host .title-link{display:inline-flex;align-items:center;text-decoration:none;padding:var(--ic-space-xxs);transition:var(--ic-easing-transition-fast)}:host .title-link,:host .title-link:visited,:host .title-link:active,:host .title-link ::slotted(a),:host .title-link:visited ::slotted(a),:host .title-link:active ::slotted(a){color:var(--ic-top-navigation-icon-and-label);text-decoration:none;outline:none}:host .title-link:hover:not(:focus){background-color:var(--ic-top-navigation-title-hover)}:host .title-link:active:not(:focus){background-color:var(--ic-top-navigation-title-pressed)}:host .title-link:hover{border-radius:var(--ic-border-radius)}:host .title-link:focus,:host .title-link:focus-within{border-radius:var(--ic-border-radius);box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline)}:host .title-link ic-typography{font-weight:600}:host .nav-panel-container{border-top:var(--ic-space-1px) solid var(--ic-top-navigation-keyline);padding:0 var(--ic-space-lg);margin-left:calc(-1 * var(--section-container-margin));margin-right:calc(-1 * var(--section-container-margin));display:flex}:host(.dark) .nav-panel-container{border-top:var(--ic-border-keyline-darken)}.top-panel-container{display:flex;padding-top:0.5rem;padding-bottom:0.5rem}.navigation-tabs{margin-top:calc(-1 * var(--ic-space-1px))}.app-details-container{display:flex;align-items:center;flex:1 1 auto;margin-right:var(--ic-space-md)}.app-icon-container{display:flex;padding-right:var(--ic-space-xs)}.icon-buttons-container{display:flex;margin-left:var(--ic-space-md)}.icon-buttons-container ::slotted(nav){display:flex}.title-wrap{overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}:host .app-status{border-radius:var(--ic-space-md);background-color:var(--ic-top-navigation-status-tag);color:var(--ic-top-navigation-status-tag-text);--ic-typography-color:var(--ic-top-navigation-status-tag-text);padding:var(--ic-space-xxs) var(--ic-space-lg);margin-left:var(--ic-space-md);flex:1 1 0;max-width:-moz-fit-content;max-width:fit-content}:host .app-version{border-radius:var(--ic-space-md);background-color:var(--ic-top-navigation-status-tag-secondary);color:var(--ic-top-navigation-status-tag);padding:var(--ic-space-xxs) var(--ic-space-sm);margin-left:var(--ic-space-xs);flex:1 1 0;max-width:-moz-fit-content;max-width:fit-content}slot[name=\"app-icon\"]::slotted(*){fill:var(--ic-top-navigation-logo);width:2em;height:2em}slot[name=\"toggle-icon\"] svg{fill:var(--ic-top-navigation-icon)}.search-menu-container{justify-content:right;display:flex;align-items:center}.menu-button-container{margin-left:var(--ic-space-md)}.menu-button-container .navigation-landmark-button-text{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}.menu-button-container .navigation-landmark-button-text:dir(rtl){right:-9999px}.search-actions-container{display:flex}.menu-buttons-slot{display:flex;flex-direction:column}.navigation-landmark-text{position:absolute;width:var(--ic-space-1px);height:var(--ic-space-1px);padding:0;margin:calc(-1 * var(--ic-space-1px));overflow:hidden}.navigation-item-list{display:flex;list-style:none;height:2.75rem}.navigation-item-list::-webkit-scrollbar{display:none}:host ic-section-container{padding-bottom:0 !important;padding-top:0 !important}@media screen and (min-width: 993px){.app-details-container{margin-right:var(--ic-space-lg)}}@media screen and (max-width: 1200px){:host .nav-panel-container{padding:0 var(--ic-space-md)}}:host(.mobile-mode) .app-status,:host(.mobile-mode) .app-version{display:none}:host(.mobile-mode) .title-link{margin-right:var(--ic-space-xs)}:host(.mobile-mode) .search-menu-container{max-width:10rem}:host(.mobile-mode) .search-bar-container{display:flex;justify-content:center;align-items:center;border-top:var(--ic-border-keyline-darken);height:4rem;padding-left:var(--ic-space-md);padding-right:var(--ic-space-md);margin-left:calc(-1 * var(--section-container-margin));margin-right:calc(-1 * var(--section-container-margin))}@media screen and (max-width: 576px){:host .title-link{margin-right:var(--ic-space-xxxs);word-break:break-word;-webkit-hyphens:none;hyphens:none}.top-panel-container{min-height:2.5rem}.search-bar-container{margin-top:0;height:3.5rem;padding-left:var(--ic-space-xs);padding-right:var(--ic-space-xs)}.menu-button-container{margin-left:var(--ic-space-sm)}slot[name=\"app-icon\"]::slotted(*){width:1.5em;height:1.5em}slot[name=\"toggle-icon\"] svg{width:1.5em;height:1.5em}}@media (forced-colors: active){:host .top-navigation{border-bottom:var(--ic-border-hc)}.app-status,.app-version{border:var(--ic-border-hc)}slot[name=\"app-icon\"]::slotted(*){fill:currentcolor}slot[name=\"toggle-icon\"] svg{fill:currentcolor}}";
|
17997
|
+
const icTopNavigationCss = "/*! 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;color:var(--ic-top-navigation-text);width:100%;position:relative;--ic-typography-color:var(--ic-top-navigation-text);--ic-button-secondary-text-monochrome:var(--ic-brand-text-color);--ic-button-secondary-border-monochrome:var(--ic-brand-text-color);--navigation-link-colour:var(--ic-top-navigation-text)}:host(.dark){color:var(--ic-color-text-primary-light);--ic-typography-color:var(--ic-color-text-primary-light);--ic-top-navigation-logo:var(--ic-color-icon-neutral);--ic-top-navigation-icon:var(--ic-color-icon-neutral);--ic-top-navigation-icon-and-label:var(--ic-color-text-primary-light);--ic-top-navigation-theme:var(--ic-color-icon-neutral);--ic-top-navigation-status-tag:var(--ic-color-background-primary-dark);--ic-top-navigation-status-tag-text:var(--ic-color-brand-text);--ic-top-navigation-status-tag-secondary:var(--ic-state-layer-darken-10);--ic-top-navigation-title-hover:var(--ic-action-dark-bg-hover);--ic-top-navigation-title-pressed:var(--ic-action-dark-bg-pressed);--navigation-link-colour:var(--ic-color-text-primary-light)}:host(.dark) ::slotted(ic-navigation-button){--ic-button-icon-monochrome:var(--ic-color-text-primary-light)}::slotted(ic-navigation-button){--ic-button-icon-monochrome:white}:host .top-navigation{background-color:var(--ic-top-navigation-background);height:-moz-max-content;height:max-content}:host(.fullwidth-searchbar) slot[name=\"search\"]::slotted(form){width:100%}:host .title-link{display:inline-flex;align-items:center;text-decoration:none;padding:var(--ic-space-xxs);transition:var(--ic-easing-transition-fast)}:host .title-link,:host .title-link:visited,:host .title-link:active,:host .title-link ::slotted(a),:host .title-link:visited ::slotted(a),:host .title-link:active ::slotted(a){color:var(--ic-top-navigation-icon-and-label);text-decoration:none;outline:none}:host .title-link:hover:not(:focus){background-color:var(--ic-top-navigation-title-hover)}:host .title-link:active:not(:focus){background-color:var(--ic-top-navigation-title-pressed)}:host .title-link:hover{border-radius:var(--ic-border-radius)}:host .title-link:focus,:host .title-link:focus-within{border-radius:var(--ic-border-radius);box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline)}:host .title-link ic-typography{font-weight:600}:host .nav-panel-container{border-top:var(--ic-space-1px) solid var(--ic-top-navigation-keyline);padding:0 var(--ic-space-lg);margin-left:calc(-1 * var(--section-container-margin));margin-right:calc(-1 * var(--section-container-margin));display:flex}:host(.dark) .nav-panel-container{border-top:var(--ic-border-keyline-darken)}.top-panel-container{display:flex;padding-top:0.5rem;padding-bottom:0.5rem}.navigation-tabs{margin-top:calc(-1 * var(--ic-space-1px))}.app-details-container{display:flex;align-items:center;flex:1 1 auto;margin-right:var(--ic-space-md)}.app-icon-container{display:flex;padding-right:var(--ic-space-xs)}.icon-buttons-container{display:flex;margin-left:var(--ic-space-md)}.icon-buttons-container ::slotted(nav){display:flex}.title-wrap{overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}:host .app-status{border-radius:var(--ic-space-md);background-color:var(--ic-top-navigation-status-tag);color:var(--ic-top-navigation-status-tag-text);--ic-typography-color:var(--ic-top-navigation-status-tag-text);padding:var(--ic-space-xxs) var(--ic-space-lg);margin-left:var(--ic-space-md);flex:1 1 0;max-width:-moz-fit-content;max-width:fit-content}:host .app-version{border-radius:var(--ic-space-md);background-color:var(--ic-top-navigation-status-tag-secondary);color:var(--ic-top-navigation-status-tag);padding:var(--ic-space-xxs) var(--ic-space-sm);margin-left:var(--ic-space-xs);flex:1 1 0;max-width:-moz-fit-content;max-width:fit-content}slot[name=\"app-icon\"]::slotted(*){fill:var(--ic-top-navigation-logo);width:2em;height:2em;cursor:pointer}slot[name=\"toggle-icon\"] svg{fill:var(--ic-top-navigation-icon)}.search-menu-container{justify-content:right;display:flex;align-items:center}.menu-button-container{margin-left:var(--ic-space-md)}.menu-button-container .navigation-landmark-button-text{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}.menu-button-container .navigation-landmark-button-text:dir(rtl){right:-9999px}.search-actions-container{display:flex}.menu-buttons-slot{display:flex;flex-direction:column}.navigation-landmark-text{position:absolute;width:var(--ic-space-1px);height:var(--ic-space-1px);padding:0;margin:calc(-1 * var(--ic-space-1px));overflow:hidden}.navigation-item-list{display:flex;list-style:none;height:2.75rem}.navigation-item-list::-webkit-scrollbar{display:none}:host ic-section-container{padding-bottom:0 !important;padding-top:0 !important}@media screen and (min-width: 993px){.app-details-container{margin-right:var(--ic-space-lg)}}@media screen and (max-width: 1200px){:host .nav-panel-container{padding:0 var(--ic-space-md)}}:host(.mobile-mode) .app-status,:host(.mobile-mode) .app-version{display:none}:host(.mobile-mode) .title-link{margin-right:var(--ic-space-xs)}:host(.mobile-mode) .search-menu-container{max-width:10rem}:host(.mobile-mode) .search-bar-container{display:flex;justify-content:center;align-items:center;border-top:var(--ic-border-keyline-darken);height:4rem;padding-left:var(--ic-space-md);padding-right:var(--ic-space-md);margin-left:calc(-1 * var(--section-container-margin));margin-right:calc(-1 * var(--section-container-margin))}@media screen and (max-width: 576px){:host .title-link{margin-right:var(--ic-space-xxxs);word-break:break-word;-webkit-hyphens:none;hyphens:none}.top-panel-container{min-height:2.5rem}.search-bar-container{margin-top:0;height:3.5rem;padding-left:var(--ic-space-xs);padding-right:var(--ic-space-xs)}.menu-button-container{margin-left:var(--ic-space-sm)}slot[name=\"app-icon\"]::slotted(*){width:1.5em;height:1.5em}slot[name=\"toggle-icon\"] svg{width:1.5em;height:1.5em}}@media (forced-colors: active){:host .top-navigation{border-bottom:var(--ic-border-hc)}.app-status,.app-version{border:var(--ic-border-hc)}slot[name=\"app-icon\"]::slotted(*){fill:currentcolor}slot[name=\"toggle-icon\"] svg{fill:currentcolor}}";
|
17955
17998
|
var IcTopNavigationStyle0 = icTopNavigationCss;
|
17956
17999
|
|
17957
18000
|
/**
|
@@ -17970,6 +18013,7 @@ class TopNavigation {
|
|
17970
18013
|
this.icNavigationMenuOpened = createEvent(this, "icNavigationMenuOpened", 7);
|
17971
18014
|
this.icTopNavResized = createEvent(this, "icTopNavResized", 7);
|
17972
18015
|
this.hasAppIcon = false;
|
18016
|
+
this.hasAppTitleSlot = false;
|
17973
18017
|
this.hasIconButtons = false;
|
17974
18018
|
this.hasNavigation = false;
|
17975
18019
|
this.hasSearchSlotContent = false;
|
@@ -18018,9 +18062,15 @@ class TopNavigation {
|
|
18018
18062
|
this.version = "";
|
18019
18063
|
this.checkSlots = () => {
|
18020
18064
|
this.hasAppIcon = isSlotUsed(this.el, "app-icon");
|
18065
|
+
this.hasAppTitleSlot = isSlotUsed(this.el, "app-title");
|
18021
18066
|
this.hasNavigation = isSlotUsed(this.el, "navigation");
|
18022
18067
|
this.hasIconButtons = isSlotUsed(this.el, "buttons");
|
18023
18068
|
this.hasSearchSlotContent = isSlotUsed(this.el, "search");
|
18069
|
+
if (this.hasAppIcon) {
|
18070
|
+
const slottedAppIcon = this.el.querySelector('[slot="app-icon"]');
|
18071
|
+
if (slottedAppIcon && slottedAppIcon.tagName === "A")
|
18072
|
+
slottedAppIcon.tabIndex = -1;
|
18073
|
+
}
|
18024
18074
|
};
|
18025
18075
|
this.initialiseSearchBar = () => {
|
18026
18076
|
if (!this.hasSearchSlotContent)
|
@@ -18113,7 +18163,7 @@ class TopNavigation {
|
|
18113
18163
|
}
|
18114
18164
|
componentDidLoad() {
|
18115
18165
|
checkResizeObserver(this.runResizeObserver);
|
18116
|
-
if (!
|
18166
|
+
if (!this.hasAppTitleSlot) {
|
18117
18167
|
onComponentRequiredPropUndefined([{ prop: this.appTitle, propName: "app-title" }], "Top Navigation");
|
18118
18168
|
}
|
18119
18169
|
}
|
@@ -18141,7 +18191,7 @@ class TopNavigation {
|
|
18141
18191
|
this.foregroundColor = detail.mode;
|
18142
18192
|
}
|
18143
18193
|
render() {
|
18144
|
-
const { appTitle, contentAligned, customMobileBreakpoint, deviceSize, el, foregroundColor, hasAppIcon, hasFullWidthSearchBar, hasIconButtons, hasNavigation, hasSearchSlotContent, href, inline, menuButtonClick, mobileSearchBarVisible, navMenuVisible, searchButtonClickHandler, searchButtonMouseDownHandler, shortAppTitle, status, version, theme, } = this;
|
18194
|
+
const { appTitle, contentAligned, customMobileBreakpoint, deviceSize, el, foregroundColor, hasAppIcon, hasAppTitleSlot, hasFullWidthSearchBar, hasIconButtons, hasNavigation, hasSearchSlotContent, href, inline, menuButtonClick, mobileSearchBarVisible, navMenuVisible, searchButtonClickHandler, searchButtonMouseDownHandler, shortAppTitle, status, version, theme, } = this;
|
18145
18195
|
const hasStatus = status !== "";
|
18146
18196
|
const hasVersion = version !== "";
|
18147
18197
|
const hasMenuContent = hasNavigation || hasIconButtons || hasStatus || hasVersion;
|
@@ -18157,21 +18207,20 @@ class TopNavigation {
|
|
18157
18207
|
const mobileSearchButtonTitle = `${mobileSearchBarVisible ? "Hide" : "Show"} search`;
|
18158
18208
|
const menuSize = isSmallDeviceSize ? "small" : "medium";
|
18159
18209
|
const shortAppTitleSlot = isSlotUsed(el, "short-app-title");
|
18160
|
-
const hasAppTitleSlot = isSlotUsed(el, "app-title");
|
18161
18210
|
const Component = hasAppTitleSlot ? "div" : "a";
|
18162
18211
|
const attrs = Component == "a" && {
|
18163
18212
|
href: href,
|
18164
18213
|
};
|
18165
|
-
return (hAsync(Host, { key: '
|
18214
|
+
return (hAsync(Host, { key: '04ae428a97e2c58967096b74d112eaff245f8dff', class: {
|
18166
18215
|
"fullwidth-searchbar": hasFullWidthSearchBar,
|
18167
18216
|
"mobile-mode": overMobileBreakpoint,
|
18168
18217
|
[IcBrandForegroundEnum.Dark]: foregroundColor === IcBrandForegroundEnum.Dark,
|
18169
18218
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
18170
|
-
} }, hAsync("div", { key: '
|
18219
|
+
} }, hAsync("div", { key: '567b43f0ff4239ec947520f1b3cfdca5f248a273', class: "top-navigation" }, hAsync("ic-section-container", { key: 'de93c750d52edcafbf52b45f35adeb6547a68b7b', aligned: contentAligned, "full-height": true }, hAsync("header", { key: '70f3227f015418d9fa82e64786a0b6c9543b3bee', role: "banner" }, hAsync("div", { key: 'cd42a8c33f9baef9566f2fea19d3e9462f4e067a', class: "top-panel-container" }, hAsync("div", { key: '192dbc95a46ffb8d06a7f55258e791a149003bd4', class: "app-details-container" }, (hasTitle || hasAppTitleSlot) && (hAsync(Component, Object.assign({ key: '434d3d4de2d251752145200352425032692fc1cd', class: "title-link" }, attrs), hasAppIcon && (hAsync("div", { key: '6f3d2089eb16b717946baa082706beb46f04657d', class: "app-icon-container" }, hAsync("slot", { key: '0daa4b46d9e2d72aa1c68e62279e5a3389ec3ab2', name: "app-icon" }))), isSmallDeviceSize &&
|
18171
18220
|
(!isEmptyString(shortAppTitle) || shortAppTitleSlot) ? (hAsync("ic-typography", { variant: "subtitle-small", "aria-label": (!hasAppTitleSlot || !shortAppTitleSlot) &&
|
18172
|
-
`${appTitle} (${shortAppTitle})` }, hAsync("h1", null, shortAppTitleSlot ? (hAsync("slot", { name: "short-app-title" })) : (shortAppTitle)))) : (hAsync("ic-typography", { variant: appTitleVariant }, hAsync("h1", { class: "title-wrap" }, hasAppTitleSlot ? (hAsync("slot", { name: "app-title" })) : (appTitle)))))), hasStatus && (hAsync("div", { key: '
|
18221
|
+
`${appTitle} (${shortAppTitle})` }, hAsync("h1", null, shortAppTitleSlot ? (hAsync("slot", { name: "short-app-title" })) : (shortAppTitle)))) : (hAsync("ic-typography", { variant: appTitleVariant }, hAsync("h1", { class: "title-wrap" }, hasAppTitleSlot ? (hAsync("slot", { name: "app-title" })) : (appTitle)))))), hasStatus && (hAsync("div", { key: '83a440ebcedf586a87690b57ea9ecfce1495ceb7', class: "app-status" }, hAsync("ic-typography", { key: '0889ee69e31b3665821b286915a43e253fd66c1a', "aria-label": "app tag", variant: "label-uppercase", class: "app-status-text" }, status))), hasVersion && (hAsync("div", { key: '542d3f22383d5bac8eda47fcd47ef694f054929b', class: "app-version" }, hAsync("ic-typography", { key: '0ed2b7209b4f03da9d462ac1406d3530696b702c', variant: "label", class: "app-version-text", "aria-label": "app version" }, version)))), (hasSearchSlotContent || hasMenuContent) && (hAsync("div", { key: 'dbc3439b52e9d9257fc1c98ad50e25e92140ceca', class: "search-menu-container" }, hAsync("div", { key: '3f5b5d05659459daab6d0bcbd69dd0ac70eae0f8', class: "search-actions-container" }, !overMobileBreakpoint ? (hAsync(Fragment, null, hAsync("slot", { name: "search" }), hasIconButtons && (hAsync("div", { class: "icon-buttons-container" }, hAsync("slot", { name: "buttons" }))))) : (hAsync(Fragment, null, hasSearchSlotContent && (hAsync("ic-button", { id: "search-toggle-button", ref: (el) => (this.mobileSearchButtonEl = el), onMouseDown: searchButtonMouseDownHandler, variant: "icon-tertiary", monochrome: true, size: searchButtonSize, "aria-label": mobileSearchButtonTitle, theme: foregroundColor, onClick: searchButtonClickHandler }, hAsync("slot", { name: "toggle-icon" }, hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "#ffffff" }, hAsync("path", { d: "M0 0h24v24H0V0z", fill: "none" }), hAsync("path", { d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" }))))), hasMenuContent && (hAsync("div", { class: "menu-button-container" }, hAsync("span", { id: "navigation-landmark-button-text", class: "navigation-landmark-button-text", "aria-hidden": "true" }, "Main navigation button"), hAsync("nav", { "aria-labelledby": "navigation-landmark-button-text", "aria-hidden": `${navMenuVisible}` }, hAsync("ic-button", { id: "menu-button", ref: (el) => (this.menuButtonEl = el), theme: foregroundColor, variant: "secondary", monochrome: true, "aria-expanded": "false", "aria-haspopup": "true", "aria-label": `Open ${hasNavigation ? "navigation" : "app"} menu`, size: menuSize, onClick: menuButtonClick }, "Menu", hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", height: "24px", viewBox: "0 0 24 24", width: "24px", fill: "#ffffff", slot: "left-icon" }, hAsync("path", { d: "M0 0h24v24H0V0z", fill: "none" }), hAsync("path", { d: "M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" })))))))))))), mobileSearchBarVisible && (hAsync("div", { key: 'b3f55a4e18ef3c55503b56447d5fbeb19e569a4f', class: "search-bar-container" }, hAsync("slot", { key: '99ebca2aa04bf76d949384c517dc2012312dbd92', name: "search" }))), hasNavigation && !overMobileBreakpoint && (hAsync("div", { key: '6113dfcd92cf06c1f9a533ec6c2f0af3d26abca7', class: "navigation-tabs" }, hAsync("span", { key: 'fa638d34955dccbdb7a8f149e0a8e083e3df0f72', id: "navigation-landmark-text", class: "navigation-landmark-text", "aria-hidden": "true" }, "Main pages"), hAsync("nav", { key: 'fc6e24c76b720a463e81dbbe00c91a065bb260ea', "aria-labelledby": "navigation-landmark-text", class: "nav-panel-container" }, hAsync("ic-horizontal-scroll", { key: 'da133fd91d91ff172067fc9aad86651a4c3a2f95', monochrome: true, appearance: foregroundColor }, hAsync("ul", { key: 'f48330caa3937f35f2f65a3fbad830bda2b5c342', class: "navigation-item-list", tabindex: "-1" }, hAsync("slot", { key: '74eb909d405109d5387f42e00a633e8ed09ff6f6', name: "navigation" }))))))))), navMenuVisible && (hAsync("ic-navigation-menu", { key: 'c77d988d1af3ac37eebb5d598b5f649f1d47c899', version: version, status: status, class: {
|
18173
18222
|
inline,
|
18174
|
-
} }, hasIconButtons && (hAsync("div", { key: '
|
18223
|
+
} }, hasIconButtons && (hAsync("div", { key: '77d9283a5fdffa724e13f667e9d09ae72f72329e', class: "menu-buttons-slot", slot: "buttons" }, hAsync("slot", { key: '020b485ca53e55926b072738ab7dcb465f1efce5', name: "buttons" }))), hAsync("ul", { key: '16101ca81c95d2de0d55c7a051ccffd5a987f5f8', slot: "navigation" }, hAsync("slot", { key: '02bde8c67591e4c2c15d005252f1f7ae87cff61a', name: "navigation" }))))));
|
18175
18224
|
}
|
18176
18225
|
get el() { return getElement(this); }
|
18177
18226
|
static get watchers() { return {
|
@@ -18374,7 +18423,7 @@ class Typography {
|
|
18374
18423
|
render() {
|
18375
18424
|
var _a, _b;
|
18376
18425
|
const { variant, applyVerticalMargins, maxLines, truncated, expanded, strikethrough, underline, italic, bold, theme, } = this;
|
18377
|
-
return (hAsync(Host, { key: '
|
18426
|
+
return (hAsync(Host, { key: 'f3ae0024474b949d4cd79a2d626524a08f0a83f9', class: {
|
18378
18427
|
[`ic-typography-${variant}`]: true,
|
18379
18428
|
[`ic-typography-vertical-margins-${variant}`]: !!applyVerticalMargins,
|
18380
18429
|
["ic-typography-bold"]: !!bold,
|
@@ -18387,7 +18436,7 @@ class Typography {
|
|
18387
18436
|
((_b = (_a = this.el.getRootNode()) === null || _a === void 0 ? void 0 : _a.host) === null || _b === void 0 ? void 0 : _b.tagName) ===
|
18388
18437
|
"IC-TOOLTIP") &&
|
18389
18438
|
maxLines &&
|
18390
|
-
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: '
|
18439
|
+
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: 'ab55fb9e3b5d0ed50a99d8f194fe0e9436de1613', class: { "trunc-btn": true, focus: this.truncButtonFocussed }, onFocus: this.truncButtonFocus, onBlur: this.truncButtonBlur, onMouseDown: this.truncButtonFocusFromMouse, onClick: this.toggleExpanded }, expanded ? "See less" : "See more"))));
|
18391
18440
|
}
|
18392
18441
|
get el() { return getElement(this); }
|
18393
18442
|
static get watchers() { return {
|