@ukic/canary-web-components 3.0.0-canary.22 → 3.0.0-canary.23
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/clear-icon-547aa9b9.js +10 -0
- package/dist/cjs/clear-icon-547aa9b9.js.map +1 -0
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/helpers-da852478.js.map +1 -1
- package/dist/cjs/ic-action-chip.cjs.entry.js +116 -0
- package/dist/cjs/ic-action-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-back-to-top.cjs.entry.js +3 -3
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +2 -2
- package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +40 -85
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-vertical.cjs.entry.js +4 -4
- package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox_3.cjs.entry.js +6 -6
- package/dist/cjs/ic-checkbox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +11 -3
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
- package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-list.cjs.entry.js +2 -2
- package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +2 -2
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-table.cjs.entry.js +43 -56
- package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-date-input.cjs.entry.js +25 -17
- package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +3 -3
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +4 -4
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +5 -5
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_4.cjs.entry.js +224 -0
- package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-link.cjs.entry.js +1 -1
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
- package/dist/cjs/{ic-input-component-container_3.cjs.entry.js → ic-menu.cjs.entry.js} +5 -96
- package/dist/cjs/ic-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-navigation-button.cjs.entry.js +2 -2
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-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 +4 -4
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +6 -6
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination_4.cjs.entry.js +17 -17
- package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +4 -4
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +4 -4
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +4 -4
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +9 -9
- 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-section-container.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +4 -4
- 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-skeleton.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-skip-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +2 -2
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +13 -13
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +4 -4
- 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-context.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +2 -2
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-time-input.cjs.entry.js +943 -0
- package/dist/cjs/ic-time-input.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +3 -3
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +4 -4
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tree-item.cjs.entry.js +2 -2
- package/dist/cjs/ic-tree-view.cjs.entry.js +3 -3
- package/dist/cjs/ic-typography.cjs.entry.js +2 -2
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/index-d337cd8a.js +12 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/clock.svg +1 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/ic-data-table/ic-data-table.js +43 -57
- package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
- package/dist/collection/components/ic-data-table/ic-data-table.stories.js +3 -2
- package/dist/collection/components/ic-data-table/ic-data-table.stories.js.map +1 -1
- package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -1
- package/dist/collection/components/ic-data-table/story-data.js +7 -57
- package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
- package/dist/collection/components/ic-date-input/ic-date-input.js +24 -12
- package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
- package/dist/collection/components/ic-time-input/ic-time-input.css +648 -0
- package/dist/collection/components/ic-time-input/ic-time-input.js +1600 -0
- package/dist/collection/components/ic-time-input/ic-time-input.js.map +1 -0
- package/dist/collection/components/ic-time-input/ic-time-input.stories.js +320 -0
- package/dist/collection/components/ic-time-input/ic-time-input.stories.js.map +1 -0
- package/dist/collection/components/ic-time-input/test/helpers/ic-time-input.js +45 -0
- package/dist/collection/components/ic-time-input/test/helpers/ic-time-input.js.map +1 -0
- package/dist/collection/components/ic-tree-item/ic-tree-item.js +2 -2
- package/dist/collection/components/ic-tree-view/ic-tree-view.js +3 -3
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/clear-icon.js +8 -0
- package/dist/components/clear-icon.js.map +1 -0
- package/dist/components/helpers2.js.map +1 -1
- package/dist/components/ic-action-chip.js +160 -0
- package/dist/components/ic-action-chip.js.map +1 -0
- package/dist/components/ic-back-to-top.js +3 -3
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-badge.js +2 -2
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.js +2 -2
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-breadcrumb2.js +2 -2
- package/dist/components/ic-breadcrumb2.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-card-vertical.js +4 -4
- package/dist/components/ic-card-vertical.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +2 -2
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox2.js +4 -4
- package/dist/components/ic-checkbox2.js.map +1 -1
- package/dist/components/ic-chip.js +12 -4
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js +2 -2
- package/dist/components/ic-classification-banner.js.map +1 -1
- package/dist/components/ic-data-list.js +2 -2
- package/dist/components/ic-data-list.js.map +1 -1
- package/dist/components/ic-data-row.js +2 -2
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-data-table.js +43 -56
- package/dist/components/ic-data-table.js.map +1 -1
- package/dist/components/ic-date-input2.js +25 -17
- package/dist/components/ic-date-input2.js.map +1 -1
- package/dist/components/ic-dialog.js +1 -1
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-empty-state2.js +2 -2
- package/dist/components/ic-empty-state2.js.map +1 -1
- package/dist/components/ic-footer-link.js +2 -2
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.js +3 -3
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +4 -4
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll2.js +5 -5
- package/dist/components/ic-horizontal-scroll2.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +3 -3
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-container2.js +2 -2
- package/dist/components/ic-input-container2.js.map +1 -1
- package/dist/components/ic-input-label2.js +2 -2
- package/dist/components/ic-input-label2.js.map +1 -1
- package/dist/components/ic-input-validation2.js +3 -3
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-link2.js +1 -1
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js +5 -5
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-group.js +1 -1
- package/dist/components/ic-menu-group.js.map +1 -1
- package/dist/components/ic-menu2.js +3 -3
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +2 -2
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js +1 -1
- 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 +4 -4
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js +6 -6
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +1 -1
- package/dist/components/ic-pagination-item2.js.map +1 -1
- package/dist/components/ic-pagination2.js +4 -4
- package/dist/components/ic-pagination2.js.map +1 -1
- package/dist/components/ic-popover-menu.js +4 -4
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +4 -4
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +4 -4
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +9 -9
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-section-container2.js +2 -2
- package/dist/components/ic-section-container2.js.map +1 -1
- package/dist/components/ic-select2.js +6 -6
- package/dist/components/ic-select2.js.map +1 -1
- package/dist/components/ic-side-navigation.js +4 -4
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js +2 -2
- package/dist/components/ic-skeleton.js.map +1 -1
- package/dist/components/ic-skip-link.js +2 -2
- package/dist/components/ic-skip-link.js.map +1 -1
- package/dist/components/ic-status-tag.js +2 -2
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +13 -13
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js +2 -2
- package/dist/components/ic-stepper.js.map +1 -1
- package/dist/components/ic-switch.js +4 -4
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.js +1 -1
- package/dist/components/ic-tab-context.js.map +1 -1
- package/dist/components/ic-tab-group.js +2 -2
- package/dist/components/ic-tab-group.js.map +1 -1
- package/dist/components/ic-tab-panel.js +2 -2
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-tab.js +2 -2
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field2.js +6 -6
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +1 -1
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-time-input.d.ts +11 -0
- package/dist/components/ic-time-input.js +1045 -0
- package/dist/components/ic-time-input.js.map +1 -0
- package/dist/components/ic-toast-region.js +1 -1
- package/dist/components/ic-toast-region.js.map +1 -1
- package/dist/components/ic-toast.js +3 -3
- package/dist/components/ic-toast.js.map +1 -1
- package/dist/components/ic-toggle-button-group.js +2 -2
- package/dist/components/ic-toggle-button-group.js.map +1 -1
- package/dist/components/ic-toggle-button.js +2 -2
- package/dist/components/ic-toggle-button.js.map +1 -1
- package/dist/components/ic-tooltip2.js +33 -78
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +4 -4
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-tree-item.js +2 -2
- package/dist/components/ic-tree-view.js +3 -3
- package/dist/components/ic-typography2.js +2 -2
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/core/core.css +227 -7
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-137dd76e.entry.js → p-00a89919.entry.js} +2 -2
- package/dist/core/{p-137dd76e.entry.js.map → p-00a89919.entry.js.map} +1 -1
- package/dist/core/{p-e253a857.js → p-0f22f41e.js} +2 -2
- package/dist/core/p-0f22f41e.js.map +1 -0
- package/dist/core/{p-97abdbf7.entry.js → p-1521e96b.entry.js} +2 -2
- package/dist/core/{p-97abdbf7.entry.js.map → p-1521e96b.entry.js.map} +1 -1
- package/dist/core/{p-5d987f8f.entry.js → p-153d3597.entry.js} +2 -2
- package/dist/core/{p-5d987f8f.entry.js.map → p-153d3597.entry.js.map} +1 -1
- package/dist/core/{p-4b6818d9.entry.js → p-1cc402b8.entry.js} +2 -2
- package/dist/core/{p-4b6818d9.entry.js.map → p-1cc402b8.entry.js.map} +1 -1
- package/dist/core/{p-8d908a57.entry.js → p-22863d31.entry.js} +2 -2
- package/dist/core/{p-8d908a57.entry.js.map → p-22863d31.entry.js.map} +1 -1
- package/dist/core/{p-c94e7b0b.entry.js → p-27207aa3.entry.js} +2 -2
- package/dist/core/{p-c94e7b0b.entry.js.map → p-27207aa3.entry.js.map} +1 -1
- package/dist/core/{p-2c4bf16f.entry.js → p-2d6a1b50.entry.js} +2 -2
- package/dist/core/{p-2c4bf16f.entry.js.map → p-2d6a1b50.entry.js.map} +1 -1
- package/dist/core/{p-bc974a3e.entry.js → p-307c13a1.entry.js} +2 -2
- package/dist/core/{p-bc974a3e.entry.js.map → p-307c13a1.entry.js.map} +1 -1
- package/dist/core/{p-2d8900bf.entry.js → p-30b3afb1.entry.js} +2 -2
- package/dist/core/{p-2d8900bf.entry.js.map → p-30b3afb1.entry.js.map} +1 -1
- package/dist/core/{p-bf93baea.entry.js → p-324862f7.entry.js} +2 -2
- package/dist/core/{p-bf93baea.entry.js.map → p-324862f7.entry.js.map} +1 -1
- package/dist/core/{p-0fe08a58.js → p-33927ee1.js} +2 -2
- package/dist/core/{p-a220535c.entry.js → p-369f4536.entry.js} +2 -2
- package/dist/core/{p-a220535c.entry.js.map → p-369f4536.entry.js.map} +1 -1
- package/dist/core/{p-6e7aaca5.entry.js → p-3a5da30c.entry.js} +2 -2
- package/dist/core/{p-6e7aaca5.entry.js.map → p-3a5da30c.entry.js.map} +1 -1
- package/dist/core/{p-826a6c25.entry.js → p-3d10fa12.entry.js} +2 -2
- package/dist/core/{p-826a6c25.entry.js.map → p-3d10fa12.entry.js.map} +1 -1
- package/dist/core/{p-f569a91f.entry.js → p-48127d40.entry.js} +2 -2
- package/dist/core/{p-f569a91f.entry.js.map → p-48127d40.entry.js.map} +1 -1
- package/dist/core/{p-3448c713.entry.js → p-48db785a.entry.js} +2 -2
- package/dist/core/{p-3448c713.entry.js.map → p-48db785a.entry.js.map} +1 -1
- package/dist/core/{p-b27bc1a1.entry.js → p-4b212968.entry.js} +2 -2
- package/dist/core/{p-b27bc1a1.entry.js.map → p-4b212968.entry.js.map} +1 -1
- package/dist/core/p-53d50d9e.entry.js +2 -0
- package/dist/core/p-53d50d9e.entry.js.map +1 -0
- package/dist/core/{p-78635447.entry.js → p-558936fb.entry.js} +2 -2
- package/dist/core/{p-64372a57.entry.js → p-593cc594.entry.js} +2 -2
- package/dist/core/{p-64372a57.entry.js.map → p-593cc594.entry.js.map} +1 -1
- package/dist/core/{p-bbf39a76.entry.js → p-666a671b.entry.js} +2 -2
- package/dist/core/{p-bbf39a76.entry.js.map → p-666a671b.entry.js.map} +1 -1
- package/dist/core/{p-8397766e.entry.js → p-726144b4.entry.js} +2 -2
- package/dist/core/{p-8397766e.entry.js.map → p-726144b4.entry.js.map} +1 -1
- package/dist/core/p-74e0f41f.entry.js +2 -0
- package/dist/core/p-74e0f41f.entry.js.map +1 -0
- package/dist/core/{p-0dc0d839.entry.js → p-75f3038c.entry.js} +2 -2
- package/dist/core/{p-0dc0d839.entry.js.map → p-75f3038c.entry.js.map} +1 -1
- package/dist/core/p-7892130d.entry.js +2 -0
- package/dist/core/p-7892130d.entry.js.map +1 -0
- package/dist/core/{p-15ec796a.entry.js → p-7e5e94a9.entry.js} +2 -2
- package/dist/core/{p-15ec796a.entry.js.map → p-7e5e94a9.entry.js.map} +1 -1
- package/dist/core/p-8048c7da.entry.js +2 -0
- package/dist/core/{p-1e256460.entry.js.map → p-8048c7da.entry.js.map} +1 -1
- package/dist/core/p-80e43591.entry.js +2 -0
- package/dist/core/{p-8cb5deba.entry.js.map → p-80e43591.entry.js.map} +1 -1
- package/dist/core/{p-75901d06.entry.js → p-86ff903d.entry.js} +2 -2
- package/dist/core/{p-ead0acc3.entry.js → p-8908b8e6.entry.js} +2 -2
- package/dist/core/{p-832c7042.entry.js → p-8bf1022e.entry.js} +2 -2
- package/dist/core/{p-90364cef.entry.js → p-8fa7085e.entry.js} +2 -2
- package/dist/core/{p-90364cef.entry.js.map → p-8fa7085e.entry.js.map} +1 -1
- package/dist/core/{p-5237f3ac.entry.js → p-97c437bb.entry.js} +2 -2
- package/dist/core/{p-e2103bcc.entry.js → p-9c8a98e8.entry.js} +2 -2
- package/dist/core/{p-e2103bcc.entry.js.map → p-9c8a98e8.entry.js.map} +1 -1
- package/dist/core/{p-0f86ea09.entry.js → p-9f792a31.entry.js} +2 -2
- package/dist/core/{p-0f86ea09.entry.js.map → p-9f792a31.entry.js.map} +1 -1
- package/dist/core/{p-cd8178a9.entry.js → p-abcc90f0.entry.js} +2 -2
- package/dist/core/{p-cd8178a9.entry.js.map → p-abcc90f0.entry.js.map} +1 -1
- package/dist/core/p-ad48c77c.entry.js +2 -0
- package/dist/core/p-ad48c77c.entry.js.map +1 -0
- package/dist/core/p-b0462734.entry.js +2 -0
- package/dist/core/p-b0462734.entry.js.map +1 -0
- package/dist/core/{p-88c5ec78.entry.js → p-b2680959.entry.js} +2 -2
- package/dist/core/{p-88c5ec78.entry.js.map → p-b2680959.entry.js.map} +1 -1
- package/dist/core/{p-b1b27b7e.entry.js → p-b3ac38c5.entry.js} +2 -2
- package/dist/core/{p-b1b27b7e.entry.js.map → p-b3ac38c5.entry.js.map} +1 -1
- package/dist/core/p-b5ef2799.entry.js +2 -0
- package/dist/core/{p-497918fd.entry.js.map → p-b5ef2799.entry.js.map} +1 -1
- package/dist/core/{p-33404c14.entry.js → p-b7a0dc04.entry.js} +2 -2
- package/dist/core/{p-33404c14.entry.js.map → p-b7a0dc04.entry.js.map} +1 -1
- package/dist/core/{p-755bdc43.entry.js → p-b8938f93.entry.js} +2 -2
- package/dist/core/{p-9097a16a.entry.js → p-b9d4c0db.entry.js} +2 -2
- package/dist/core/{p-9097a16a.entry.js.map → p-b9d4c0db.entry.js.map} +1 -1
- package/dist/core/{p-b3509380.entry.js → p-c4bf8742.entry.js} +2 -2
- package/dist/core/{p-3cf99186.entry.js → p-c6eabd53.entry.js} +2 -2
- package/dist/core/{p-6f72e6ac.entry.js → p-c7ccc52a.entry.js} +2 -2
- package/dist/core/{p-6f72e6ac.entry.js.map → p-c7ccc52a.entry.js.map} +1 -1
- package/dist/core/{p-d04b75cb.entry.js → p-c82a2e84.entry.js} +2 -2
- package/dist/core/{p-94065f7a.entry.js → p-ca3c6653.entry.js} +2 -2
- package/dist/core/{p-94065f7a.entry.js.map → p-ca3c6653.entry.js.map} +1 -1
- package/dist/core/{p-d281c3cf.entry.js → p-d47acbd4.entry.js} +2 -2
- package/dist/core/{p-d281c3cf.entry.js.map → p-d47acbd4.entry.js.map} +1 -1
- package/dist/core/{p-a54eb1d1.entry.js → p-d5f8ef77.entry.js} +2 -2
- package/dist/core/{p-c77d6efc.entry.js → p-db3b0c0a.entry.js} +2 -2
- package/dist/core/{p-c77d6efc.entry.js.map → p-db3b0c0a.entry.js.map} +1 -1
- package/dist/core/{p-cc36abaa.entry.js → p-db6d0463.entry.js} +2 -2
- package/dist/core/p-dbde45ff.entry.js +2 -0
- package/dist/core/p-dbde45ff.entry.js.map +1 -0
- package/dist/core/p-dc8eede2.entry.js +2 -0
- package/dist/core/p-dc8eede2.entry.js.map +1 -0
- package/dist/core/p-dd7450fb.js +2 -0
- package/dist/core/p-dd7450fb.js.map +1 -0
- package/dist/core/{p-fc5661ac.entry.js → p-de43d375.entry.js} +2 -2
- package/dist/core/{p-fc5661ac.entry.js.map → p-de43d375.entry.js.map} +1 -1
- package/dist/core/p-de8081c6.entry.js +2 -0
- package/dist/core/{p-a26a60ff.entry.js.map → p-de8081c6.entry.js.map} +1 -1
- package/dist/core/p-e4906394.entry.js +2 -0
- package/dist/core/{p-032113b9.entry.js.map → p-e4906394.entry.js.map} +1 -1
- package/dist/core/p-e595bb87.entry.js +2 -0
- package/dist/core/p-e595bb87.entry.js.map +1 -0
- package/dist/core/{p-42913c5b.entry.js → p-e75514f1.entry.js} +2 -2
- package/dist/core/{p-42913c5b.entry.js.map → p-e75514f1.entry.js.map} +1 -1
- package/dist/core/{p-6dd73165.entry.js → p-ee6caf27.entry.js} +2 -2
- package/dist/core/{p-6dd73165.entry.js.map → p-ee6caf27.entry.js.map} +1 -1
- package/dist/core/{p-2de3287c.entry.js → p-f33eae3c.entry.js} +2 -2
- package/dist/core/{p-2de3287c.entry.js.map → p-f33eae3c.entry.js.map} +1 -1
- package/dist/core/{p-9e051db4.entry.js → p-f34eee68.entry.js} +2 -2
- package/dist/core/{p-9e051db4.entry.js.map → p-f34eee68.entry.js.map} +1 -1
- package/dist/core/{p-fb7f4e2e.entry.js → p-fbb0a74d.entry.js} +2 -2
- package/dist/core/{p-fb7f4e2e.entry.js.map → p-fbb0a74d.entry.js.map} +1 -1
- package/dist/core/{p-b88585bf.entry.js → p-fbd80981.entry.js} +2 -2
- package/dist/core/{p-b88585bf.entry.js.map → p-fbd80981.entry.js.map} +1 -1
- package/dist/core/{p-e18ba5d6.entry.js → p-fffb98c9.entry.js} +2 -2
- package/dist/core/{p-e18ba5d6.entry.js.map → p-fffb98c9.entry.js.map} +1 -1
- package/dist/esm/clear-icon-1c79bda2.js +8 -0
- package/dist/esm/clear-icon-1c79bda2.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-d9387cd3.js → helpers-89cb996d.js} +2 -2
- package/dist/esm/helpers-89cb996d.js.map +1 -0
- package/dist/esm/{helpers-574534c9.js → helpers-dea3fd9b.js} +2 -2
- package/dist/esm/{helpers-574534c9.js.map → helpers-dea3fd9b.js.map} +1 -1
- package/dist/esm/ic-accordion-group.entry.js +1 -1
- package/dist/esm/ic-accordion.entry.js +1 -1
- package/dist/esm/ic-action-chip.entry.js +112 -0
- package/dist/esm/ic-action-chip.entry.js.map +1 -0
- package/dist/esm/ic-alert.entry.js +1 -1
- package/dist/esm/ic-back-to-top.entry.js +4 -4
- package/dist/esm/ic-back-to-top.entry.js.map +1 -1
- package/dist/esm/ic-badge.entry.js +3 -3
- package/dist/esm/ic-badge.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +3 -3
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +3 -3
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +41 -86
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card-horizontal.entry.js +1 -1
- package/dist/esm/ic-card-vertical.entry.js +5 -5
- package/dist/esm/ic-card-vertical.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +3 -3
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox_3.entry.js +8 -8
- package/dist/esm/ic-checkbox_3.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +12 -4
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-classification-banner.entry.js +2 -2
- package/dist/esm/ic-classification-banner.entry.js.map +1 -1
- package/dist/esm/ic-data-list.entry.js +2 -2
- package/dist/esm/ic-data-list.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +3 -3
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/ic-data-table-title-bar.entry.js +1 -1
- package/dist/esm/ic-data-table.entry.js +44 -57
- package/dist/esm/ic-data-table.entry.js.map +1 -1
- package/dist/esm/ic-date-input.entry.js +26 -18
- package/dist/esm/ic-date-input.entry.js.map +1 -1
- package/dist/esm/ic-date-picker.entry.js +1 -1
- package/dist/esm/ic-dialog.entry.js +2 -2
- package/dist/esm/ic-dialog.entry.js.map +1 -1
- package/dist/esm/ic-divider.entry.js +1 -1
- 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-link.entry.js.map +1 -1
- package/dist/esm/ic-footer.entry.js +4 -4
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +5 -5
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +6 -6
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_4.entry.js +217 -0
- package/dist/esm/ic-input-component-container_4.entry.js.map +1 -0
- package/dist/esm/ic-link.entry.js +2 -2
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +2 -2
- package/dist/esm/ic-menu-group.entry.js.map +1 -1
- package/dist/esm/ic-menu-item.entry.js +1 -1
- package/dist/esm/{ic-input-component-container_3.entry.js → ic-menu.entry.js} +7 -96
- package/dist/esm/ic-menu.entry.js.map +1 -0
- package/dist/esm/ic-navigation-button.entry.js +3 -3
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +2 -2
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +3 -3
- 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-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +7 -7
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination_4.entry.js +18 -18
- package/dist/esm/ic-pagination_4.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +5 -5
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +5 -5
- 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-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +10 -10
- 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-section-container.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +5 -5
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +2 -2
- package/dist/esm/ic-skeleton.entry.js.map +1 -1
- package/dist/esm/ic-skip-link.entry.js +2 -2
- package/dist/esm/ic-skip-link.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +3 -3
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +14 -14
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +3 -3
- package/dist/esm/ic-stepper.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +5 -5
- 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-context.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +3 -3
- package/dist/esm/ic-tab-group.entry.js.map +1 -1
- package/dist/esm/ic-tab-panel.entry.js +2 -2
- package/dist/esm/ic-tab-panel.entry.js.map +1 -1
- package/dist/esm/ic-tab.entry.js +3 -3
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +2 -2
- package/dist/esm/ic-theme.entry.js.map +1 -1
- package/dist/esm/ic-time-input.entry.js +939 -0
- package/dist/esm/ic-time-input.entry.js.map +1 -0
- package/dist/esm/ic-toast-region.entry.js +1 -1
- package/dist/esm/ic-toast-region.entry.js.map +1 -1
- package/dist/esm/ic-toast.entry.js +4 -4
- package/dist/esm/ic-toast.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button-group.entry.js +3 -3
- package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button.entry.js +3 -3
- package/dist/esm/ic-toggle-button.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +5 -5
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-tree-item.entry.js +3 -3
- package/dist/esm/ic-tree-view.entry.js +4 -4
- package/dist/esm/ic-typography.entry.js +3 -3
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/index-a7a720e7.js +12 -4
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +12 -7
- package/dist/types/components/ic-data-table/story-data.d.ts +11 -20
- package/dist/types/components/ic-date-input/ic-date-input.d.ts +2 -1
- package/dist/types/components/ic-time-input/ic-time-input.d.ts +229 -0
- package/dist/types/components/ic-time-input/ic-time-input.stories.d.ts +121 -0
- package/dist/types/components/ic-time-input/test/helpers/ic-time-input.d.ts +23 -0
- package/dist/types/components.d.ts +234 -2
- package/dist/types/utils/types.d.ts +5 -0
- package/hydrate/index.js +1439 -361
- package/hydrate/index.mjs +1439 -361
- package/package.json +3 -3
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +0 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +0 -133
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +0 -1
- package/dist/core/p-032113b9.entry.js +0 -2
- package/dist/core/p-156fc5f1.entry.js +0 -2
- package/dist/core/p-156fc5f1.entry.js.map +0 -1
- package/dist/core/p-1e256460.entry.js +0 -2
- package/dist/core/p-1ffac8ae.entry.js +0 -2
- package/dist/core/p-1ffac8ae.entry.js.map +0 -1
- package/dist/core/p-224b2e14.entry.js +0 -2
- package/dist/core/p-224b2e14.entry.js.map +0 -1
- package/dist/core/p-497918fd.entry.js +0 -2
- package/dist/core/p-8cb5deba.entry.js +0 -2
- package/dist/core/p-95881758.entry.js +0 -2
- package/dist/core/p-95881758.entry.js.map +0 -1
- package/dist/core/p-a26a60ff.entry.js +0 -2
- package/dist/core/p-c67381b1.entry.js +0 -2
- package/dist/core/p-c67381b1.entry.js.map +0 -1
- package/dist/core/p-cdd6d5e8.entry.js +0 -2
- package/dist/core/p-cdd6d5e8.entry.js.map +0 -1
- package/dist/core/p-e253a857.js.map +0 -1
- package/dist/esm/helpers-d9387cd3.js.map +0 -1
- package/dist/esm/ic-input-component-container_3.entry.js.map +0 -1
- package/dist/esm/ic-input-label_2.entry.js +0 -128
- package/dist/esm/ic-input-label_2.entry.js.map +0 -1
- /package/dist/core/{p-0fe08a58.js.map → p-33927ee1.js.map} +0 -0
- /package/dist/core/{p-78635447.entry.js.map → p-558936fb.entry.js.map} +0 -0
- /package/dist/core/{p-75901d06.entry.js.map → p-86ff903d.entry.js.map} +0 -0
- /package/dist/core/{p-ead0acc3.entry.js.map → p-8908b8e6.entry.js.map} +0 -0
- /package/dist/core/{p-832c7042.entry.js.map → p-8bf1022e.entry.js.map} +0 -0
- /package/dist/core/{p-5237f3ac.entry.js.map → p-97c437bb.entry.js.map} +0 -0
- /package/dist/core/{p-755bdc43.entry.js.map → p-b8938f93.entry.js.map} +0 -0
- /package/dist/core/{p-b3509380.entry.js.map → p-c4bf8742.entry.js.map} +0 -0
- /package/dist/core/{p-3cf99186.entry.js.map → p-c6eabd53.entry.js.map} +0 -0
- /package/dist/core/{p-d04b75cb.entry.js.map → p-c82a2e84.entry.js.map} +0 -0
- /package/dist/core/{p-a54eb1d1.entry.js.map → p-d5f8ef77.entry.js.map} +0 -0
- /package/dist/core/{p-cc36abaa.entry.js.map → p-db6d0463.entry.js.map} +0 -0
package/hydrate/index.mjs
CHANGED
@@ -4005,6 +4005,147 @@ class AccordionGroup {
|
|
4005
4005
|
}; }
|
4006
4006
|
}
|
4007
4007
|
|
4008
|
+
var OpenInNew = `<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0z" fill="none"/><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/></svg>`;
|
4009
|
+
|
4010
|
+
const icActionChipCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n display: inline-block;\n max-width: 100%;\n vertical-align: middle;\n}\n\n.chip {\n --icon-color: var(--ic-action-chip-filled-icon);\n --text-color: var(--ic-action-chip-filled-label);\n --ic-typography-color: var(--text-color);\n\n align-items: center;\n background-color: var(--ic-action-chip-filled-background-default);\n border: var(--ic-border-width) solid transparent;\n border-radius: var(--ic-space-md);\n color: var(--text-color);\n cursor: pointer;\n display: flex;\n padding: var(--ic-space-xxs);\n position: relative;\n text-decoration: none;\n\n &:hover {\n background-color: var(--ic-action-chip-filled-background-hover);\n }\n\n &:active {\n background-color: var(--ic-action-chip-filled-background-pressed);\n }\n\n &:focus {\n box-shadow: var(--ic-border-focus);\n outline: var(--ic-hc-focus-outline);\n z-index: 1;\n }\n}\n\n.small {\n border-radius: calc(var(--ic-space-md) - var(--ic-space-xxxs));\n padding: var(--ic-space-xxxs);\n}\n\n.large {\n border-radius: calc(var(--ic-space-md) + var(--ic-space-xxs));\n padding: var(--ic-space-xs);\n}\n\n.outlined {\n --icon-color: var(--ic-action-chip-outlined-icon);\n --text-color: var(--ic-action-chip-outlined-label);\n\n background-color: transparent;\n border-color: var(--ic-action-chip-outlined-border-default);\n\n &.non-transparent {\n background-color: var(--ic-action-chip-outlined-background-default);\n }\n\n &:hover {\n --icon-color: var(--ic-action-chip-outlined-icon-hover);\n --text-color: var(--ic-action-chip-outlined-label-hover);\n\n background-color: var(--ic-action-chip-outlined-background-hover);\n border-color: var(--ic-action-chip-outlined-border-hover);\n }\n\n &:active {\n --icon-color: var(--ic-action-chip-outlined-icon-pressed);\n --text-color: var(--ic-action-chip-outlined-label-pressed);\n\n background-color: var(--ic-action-chip-outlined-background-pressed);\n border-color: var(--ic-action-chip-outlined-border-pressed);\n }\n}\n\n.monochrome {\n &.filled {\n background-color: var(\n --ic-action-chip-monochrome-filled-background-default\n );\n\n &:hover {\n background-color: var(\n --ic-action-chip-monochrome-filled-background-hover\n );\n }\n\n &:active {\n background-color: var(\n --ic-action-chip-monochrome-filled-background-pressed\n );\n }\n }\n\n &.outlined {\n --icon-color: var(--ic-action-chip-monochrome-outlined-icon);\n --text-color: var(--ic-action-chip-monochrome-outlined-label);\n\n border-color: var(--ic-action-chip-monochrome-outlined-border-default);\n\n &.non-transparent {\n background-color: var(\n --ic-action-chip-monochrome-outlined-background-default\n );\n }\n\n &:hover {\n --icon-color: var(--ic-action-chip-monochrome-outlined-icon-hover);\n --text-color: var(--ic-action-chip-monochrome-outlined-label-hover);\n\n background-color: var(\n --ic-action-chip-monochrome-outlined-background-hover\n );\n border-color: var(--ic-action-chip-monochrome-outlined-border-hover);\n }\n\n &:active {\n --icon-color: var(--ic-action-chip-monochrome-outlined-icon-pressed);\n --text-color: var(--ic-action-chip-monochrome-outlined-label-pressed);\n\n background-color: var(\n --ic-action-chip-monochrome-outlined-background-pressed\n );\n border-color: var(--ic-action-chip-monochrome-outlined-border-pressed);\n }\n }\n}\n\n.disabled {\n --icon-color: var(--ic-action-chip-icon-disabled) !important;\n --text-color: var(--ic-action-chip-label-disabled) !important;\n\n background-color: var(--ic-action-chip-background-disabled) !important;\n cursor: default;\n\n &.outlined {\n border-color: var(--ic-action-chip-outlined-border-disabled) !important;\n border-style: dashed;\n\n &:not(.non-transparent) {\n background-color: transparent !important;\n }\n }\n}\n\n.label {\n padding: 0 var(--ic-space-xs);\n}\n\n.icon {\n box-sizing: border-box;\n color: var(--icon-color);\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n padding: var(--ic-space-xxxs);\n}\n\n.open-in-new-icon {\n box-sizing: border-box;\n height: var(--ic-space-md);\n width: var(--ic-space-md);\n}\n\n.open-in-new-icon > svg {\n fill: var(--icon-color);\n height: inherit;\n width: inherit;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .chip {\n transition: var(--ic-easing-transition-fast);\n }\n}\n\n@media (forced-colors: active) {\n .chip {\n border: var(--ic-border-hc);\n\n &.disabled {\n --text-color: GrayText;\n\n -webkit-appearance: none;\n\n -moz-appearance: none;\n\n appearance: none;\n border-color: GrayText;\n\n svg,\n ::slotted(svg) {\n fill: GrayText;\n }\n }\n\n &:focus {\n border-color: Highlight;\n outline: none;\n }\n }\n}\n";
|
4011
|
+
var IcActionChipStyle0 = icActionChipCss;
|
4012
|
+
|
4013
|
+
/**
|
4014
|
+
* @slot badge - Badge component overlaying the top right of the chip.
|
4015
|
+
* @slot icon - Content will be rendered at the start of the chip.
|
4016
|
+
*/
|
4017
|
+
class ActionChip {
|
4018
|
+
constructor(hostRef) {
|
4019
|
+
registerInstance(this, hostRef);
|
4020
|
+
/**
|
4021
|
+
* If `true`, the chip will appear disabled.
|
4022
|
+
*/
|
4023
|
+
this.disabled = false;
|
4024
|
+
/**
|
4025
|
+
* If `true`, the user can save the linked URL instead of navigating to it.
|
4026
|
+
*/
|
4027
|
+
this.download = false;
|
4028
|
+
/**
|
4029
|
+
* If `true`, the button will display as monochromatic in either `light` or `dark` theme.
|
4030
|
+
*/
|
4031
|
+
this.monochrome = false;
|
4032
|
+
/**
|
4033
|
+
* The size of the chip.
|
4034
|
+
*/
|
4035
|
+
this.size = "medium";
|
4036
|
+
/**
|
4037
|
+
* Sets the chip to the dark or light theme colors. "inherit" will set the color based on the system settings or ic-theme component.
|
4038
|
+
*/
|
4039
|
+
this.theme = "inherit";
|
4040
|
+
/**
|
4041
|
+
* If `true`, the outlined variant of chip will have a transparent background rather than the theme defined color.
|
4042
|
+
*/
|
4043
|
+
this.transparentBackground = true;
|
4044
|
+
/**
|
4045
|
+
* The type of the chip.
|
4046
|
+
*/
|
4047
|
+
this.type = "button";
|
4048
|
+
/**
|
4049
|
+
* The emphasis of the chip.
|
4050
|
+
*/
|
4051
|
+
this.variant = "filled";
|
4052
|
+
}
|
4053
|
+
watchDisabledHandler() {
|
4054
|
+
removeDisabledFalse$1(this.disabled, this.el);
|
4055
|
+
}
|
4056
|
+
disconnectedCallback() {
|
4057
|
+
var _a;
|
4058
|
+
(_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
4059
|
+
}
|
4060
|
+
componentWillLoad() {
|
4061
|
+
removeDisabledFalse$1(this.disabled, this.el);
|
4062
|
+
}
|
4063
|
+
componentDidLoad() {
|
4064
|
+
onComponentRequiredPropUndefined$1([{ prop: this.label, propName: "label" }], "Chip");
|
4065
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots$1(mutationList, ["icon", "badge"]));
|
4066
|
+
this.hostMutationObserver.observe(this.el, {
|
4067
|
+
childList: true,
|
4068
|
+
});
|
4069
|
+
}
|
4070
|
+
/**
|
4071
|
+
* Sets focus on the chip.
|
4072
|
+
*/
|
4073
|
+
async setFocus() {
|
4074
|
+
var _a;
|
4075
|
+
(_a = this.chipEl) === null || _a === void 0 ? void 0 : _a.focus();
|
4076
|
+
}
|
4077
|
+
render() {
|
4078
|
+
const { disabled, download, form, formaction, formenctype, formmethod, formnovalidate, formtarget, href, hreflang, label, monochrome, referrerpolicy, rel, size, target, theme, transparentBackground, type, variant, } = this;
|
4079
|
+
const TagType = href ? "a" : "button";
|
4080
|
+
const isButtonElement = TagType === "button";
|
4081
|
+
const chipAttrs = isButtonElement
|
4082
|
+
? {
|
4083
|
+
disabled,
|
4084
|
+
form,
|
4085
|
+
formaction,
|
4086
|
+
formenctype,
|
4087
|
+
formmethod,
|
4088
|
+
formnovalidate,
|
4089
|
+
formtarget,
|
4090
|
+
type,
|
4091
|
+
}
|
4092
|
+
: {
|
4093
|
+
download: download !== false ? download : null,
|
4094
|
+
href,
|
4095
|
+
hreflang,
|
4096
|
+
referrerpolicy,
|
4097
|
+
rel,
|
4098
|
+
target,
|
4099
|
+
};
|
4100
|
+
return (hAsync(Host, { key: '2c65125774e7ce4fc9cb0d447e0ebff984caad5a', class: {
|
4101
|
+
[`ic-theme-${theme}`]: theme !== "inherit",
|
4102
|
+
} }, hAsync(TagType, Object.assign({ key: 'af57a8bb5d0b29b4ff1023747bc0d4ca3824af73', class: {
|
4103
|
+
chip: true,
|
4104
|
+
disabled: isButtonElement && disabled,
|
4105
|
+
monochrome,
|
4106
|
+
"non-transparent": variant === "outlined" && !transparentBackground,
|
4107
|
+
[`${size}`]: true,
|
4108
|
+
[`${variant}`]: true,
|
4109
|
+
}, ref: (el) => (this.chipEl = el) }, chipAttrs), isSlotUsed$1(this.el, "icon") && (hAsync("div", { key: '755a2318e2968614423a5b88b2831e259caef7e3', class: "icon" }, hAsync("slot", { key: '4137b19dc8fc2be40a7ccf696f820e30c1b668b0', name: "icon" }))), hAsync("ic-typography", { key: '2b8615d3bce8b9b0d4b5e89cceac2b97b8d95105', variant: "label", class: { label: true, "in-ag-grid": isElInAGGrid(this.el) } }, hAsync("span", { key: '3f5d55931b36640b30b472fcc4febecb6d502189' }, label)), !isButtonElement && target === "_blank" && (hAsync("span", { key: 'd0c2331424af931db24f5d9fe2dc3500bf31db46', class: "open-in-new-icon", innerHTML: OpenInNew })), isSlotUsed$1(this.el, "badge") && hAsync("slot", { key: 'b0451850fd5b42f4120b7fa6e943332d64e52690', name: "badge" }))));
|
4110
|
+
}
|
4111
|
+
static get delegatesFocus() { return true; }
|
4112
|
+
get el() { return getElement(this); }
|
4113
|
+
static get watchers() { return {
|
4114
|
+
"disabled": ["watchDisabledHandler"]
|
4115
|
+
}; }
|
4116
|
+
static get style() { return IcActionChipStyle0; }
|
4117
|
+
static get cmpMeta() { return {
|
4118
|
+
"$flags$": 25,
|
4119
|
+
"$tagName$": "ic-action-chip",
|
4120
|
+
"$members$": {
|
4121
|
+
"disabled": [4],
|
4122
|
+
"download": [8],
|
4123
|
+
"form": [1],
|
4124
|
+
"formaction": [1],
|
4125
|
+
"formenctype": [1],
|
4126
|
+
"formmethod": [1],
|
4127
|
+
"formnovalidate": [4],
|
4128
|
+
"formtarget": [1],
|
4129
|
+
"href": [1],
|
4130
|
+
"hreflang": [1],
|
4131
|
+
"label": [1],
|
4132
|
+
"monochrome": [4],
|
4133
|
+
"referrerpolicy": [1],
|
4134
|
+
"rel": [1],
|
4135
|
+
"size": [1],
|
4136
|
+
"target": [1],
|
4137
|
+
"theme": [1],
|
4138
|
+
"transparentBackground": [4, "transparent-background"],
|
4139
|
+
"type": [1],
|
4140
|
+
"variant": [1],
|
4141
|
+
"setFocus": [64]
|
4142
|
+
},
|
4143
|
+
"$listeners$": undefined,
|
4144
|
+
"$lazyBundleId$": "-",
|
4145
|
+
"$attrsToReflect$": []
|
4146
|
+
}; }
|
4147
|
+
}
|
4148
|
+
|
4008
4149
|
var closeIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
|
4009
4150
|
<path d="M0 0h24v24H0z" fill="none"/>
|
4010
4151
|
<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/>
|
@@ -4298,15 +4439,15 @@ class BackToTop {
|
|
4298
4439
|
const btnVariant = variant === "icon" ? "icon-secondary" : "secondary";
|
4299
4440
|
const size = variant === "icon" ? "large" : "medium";
|
4300
4441
|
const label = variant === "icon" ? "" : backToTopLabel;
|
4301
|
-
return (hAsync(Host, { key: '
|
4442
|
+
return (hAsync(Host, { key: '11f790112cc8047ab6b35459de506f6dc6a85c5f', class: {
|
4302
4443
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
4303
4444
|
[`ic-back-to-top-${this.position}`]: true,
|
4304
|
-
} }, hAsync("ic-button", { key: '
|
4445
|
+
} }, hAsync("ic-button", { key: '670015cd630e897033a440ff4846d475c113a453', "aria-label": backToTopLabel, variant: btnVariant, size: size, onClick: this.handleClick, class: {
|
4305
4446
|
["offset-banner"]: bannerOffset,
|
4306
4447
|
["show"]: !targetElVisible,
|
4307
4448
|
["by-footer"]: footerVisible,
|
4308
4449
|
["icon-only"]: variant === "icon",
|
4309
|
-
}, theme: this.theme }, hAsync("span", { key: '
|
4450
|
+
}, theme: this.theme }, hAsync("span", { key: 'e56c7a48a8226d1f471fc9a953851d27f4a6504c', class: "ic-back-to-top-icon", innerHTML: ArrowUpward }), label)));
|
4310
4451
|
}
|
4311
4452
|
static get delegatesFocus() { return true; }
|
4312
4453
|
get el() { return getElement(this); }
|
@@ -4490,7 +4631,7 @@ class Badge {
|
|
4490
4631
|
}
|
4491
4632
|
render() {
|
4492
4633
|
const { ariaLabel, el, foregroundColour, getLabel, position, size, label, type, variant, visible, theme, } = this;
|
4493
|
-
return (hAsync(Host, { key: '
|
4634
|
+
return (hAsync(Host, { key: '43b8e638c7b0965ad3591f8b306637b7b5aeea58', class: {
|
4494
4635
|
[`ic-badge-${position}`]: true,
|
4495
4636
|
[`ic-badge-${size}`]: true,
|
4496
4637
|
[`ic-badge-${variant}`]: true,
|
@@ -4498,7 +4639,7 @@ class Badge {
|
|
4498
4639
|
[`ic-badge-foreground-${foregroundColour}`]: foregroundColour !== null && variant === "custom",
|
4499
4640
|
[`${visible ? "ic-badge-show" : "ic-badge-hide"}`]: true,
|
4500
4641
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
4501
|
-
}, id: el.id || null, "aria-label": ariaLabel, role: "status" }, type === "icon" && hAsync("slot", { key: '
|
4642
|
+
}, id: el.id || null, "aria-label": ariaLabel, role: "status" }, type === "icon" && hAsync("slot", { key: '7f8a72f58bc485b3bfe69ef67d4e43d75a995f1f', name: "badge-icon" }), type === "text" && label && (hAsync("ic-typography", { key: 'fe925213d388d0b3be444b9ab16a2a9a4cbc2649', variant: size === "small" ? "badge-small" : "badge" }, getLabel())), type === "dot" && hAsync("span", { key: 'e6e8d7092112d105fb3914002b53a083c540fe47', class: "sr-only" }, "badge")));
|
4502
4643
|
}
|
4503
4644
|
static get delegatesFocus() { return true; }
|
4504
4645
|
get el() { return getElement(this); }
|
@@ -4625,11 +4766,11 @@ class Breadcrumb {
|
|
4625
4766
|
render() {
|
4626
4767
|
const { current, href, monochrome, pageTitle, showBackIcon, theme } = this;
|
4627
4768
|
const describedById = `${pageTitle === null || pageTitle === void 0 ? void 0 : pageTitle.toLowerCase().replace(" ", "-")}-describedby`;
|
4628
|
-
return (hAsync(Host, { key: '
|
4769
|
+
return (hAsync(Host, { key: '2c1131138a8be3af8ee344e0fbff5594fbcc2d77', class: {
|
4629
4770
|
"ic-breadcrumb-back": showBackIcon,
|
4630
4771
|
"ic-breadcrumb-monochrome": monochrome,
|
4631
4772
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
4632
|
-
}, "aria-current": current && "page", role: "listitem" }, hAsync("div", { key: '
|
4773
|
+
}, "aria-current": current && "page", role: "listitem" }, hAsync("div", { key: 'ee77a3aeced7063c4dbab6e1641daf11242d63ca', class: "breadcrumb" }, hAsync("span", { key: '1c2dc66e95e0676a381ab25769aa1b735ee5b9c5', innerHTML: chevronIcon, class: "chevron", "aria-hidden": "true" }), showBackIcon && (hAsync("span", { key: '3857c2967dd82b45a2400107e50d6f03bc65cdde', id: describedById, class: "hide" }, `Back to ${pageTitle}`)), !href ? (hAsync("div", { class: "slotted-link-container" }, showBackIcon && this.renderBackIcon(), hAsync("span", { class: "link-wrapper" }, hAsync("slot", null)))) : current ? (hAsync("span", { class: "current-page-container" }, isSlotUsed$1(this.el, "icon") && hAsync("slot", { name: "icon" }), pageTitle)) : (hAsync("ic-link", { theme: theme, monochrome: monochrome, href: href, class: "breadcrumb-link", "aria-describedby": showBackIcon && describedById }, showBackIcon && this.renderBackIcon(), isSlotUsed$1(this.el, "icon") && hAsync("slot", { name: "icon" }), pageTitle)))));
|
4633
4774
|
}
|
4634
4775
|
static get delegatesFocus() { return true; }
|
4635
4776
|
get el() { return getElement(this); }
|
@@ -4871,11 +5012,11 @@ class BreadcrumbGroup {
|
|
4871
5012
|
}
|
4872
5013
|
render() {
|
4873
5014
|
const { backBreadcrumbOnly, collapsed, theme } = this;
|
4874
|
-
return (hAsync(Host, { key: '
|
5015
|
+
return (hAsync(Host, { key: 'e9547e6fce74b57f2a3d7904bdca580c59abf881', class: {
|
4875
5016
|
"ic-breadcrumb-group-back": backBreadcrumbOnly,
|
4876
5017
|
"ic-breadcrumb-group-collapsed": collapsed,
|
4877
5018
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
4878
|
-
} }, hAsync("nav", { key: '
|
5019
|
+
} }, hAsync("nav", { key: '56fd90771323680169a7e2ff757c534f499bda48', "aria-label": "breadcrumbs" }, hAsync("ol", { key: '2817e0c715c94937436a41222f86a0e5e6b9cc92' }, hAsync("slot", { key: '137e284689752e6256c39ecc19988aafd3e49942' })))));
|
4879
5020
|
}
|
4880
5021
|
get el() { return getElement(this); }
|
4881
5022
|
static get watchers() { return {
|
@@ -4905,7 +5046,7 @@ var arrowDropdown$1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="non
|
|
4905
5046
|
<path d="M7 9.5L12 14.5L17 9.5H7Z" fill="currentColor"/>
|
4906
5047
|
</svg>`;
|
4907
5048
|
|
4908
|
-
const icButtonCss = "/*! 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;position:relative;--icon-width:100%;--icon-height:100%}.button,::slotted(a){font-family:var(--ic-font-body-family);text-decoration:none;font-weight:600;font-size:0.875rem;transition:var(--ic-easing-transition-fast);border-radius:var(--ic-border-radius);min-width:var(--min-width, 6.25rem);display:inline-flex;flex-direction:row;justify-content:center;align-items:center;background:none;border:none;box-sizing:border-box;white-space:nowrap;vertical-align:middle}:host(.with-badge) .button{border-radius:0.2188rem}.button:hover,::slotted(a:hover){cursor:pointer}.button:focus,::slotted(a:focus){box-shadow:var(--ic-border-focus)}.button:focus-visible,::slotted(a:focus-visible){outline:var(--ic-hc-focus-outline)}:host(.ic-button-disabled),:host(.ic-button-disabled) .button,:host(.ic-button-disabled) ::slotted(a),:host(.ic-button-loading),:host(.ic-button-loading) .button{pointer-events:none}:host(.top-icon) .button{flex-direction:column;--height:fit-content}:host(.top-icon) .button .icon-container{margin-right:0}:host(.ic-button-variant-primary) .button,:host(.ic-button-variant-icon-primary) .button{color:var(--ic-button-primary-text);background-color:var(--ic-button-primary-background)}:host(.ic-button-variant-primary:not(.ic-button-disabled)) ::slotted(svg){color:var(--ic-button-primary-icon)}:host(.ic-button-variant-primary) ::slotted(a),:host(.ic-button-variant-icon-primary) ::slotted(a){--ic-typography-color:var(--ic-button-primary-text);color:var(--ic-button-primary-text);background-color:var(--ic-button-primary-background) !important}:host(.ic-button-variant-primary) .button:hover,:host(.ic-button-variant-icon-primary) .button:hover{background-color:var(--ic-button-primary-background-hover)}:host(.ic-button-variant-primary) ::slotted(a:hover),:host(.ic-button-variant-icon-primary) ::slotted(a:hover){background-color:var(--ic-button-primary-background-hover) !important}:host(.ic-button-variant-primary.ic-button-loading) .button,:host(.ic-button-variant-primary) .button:active,:host(.ic-button-variant-icon-primary.ic-button-loading) .button,:host(.ic-button-variant-icon-primary) .button:active{background-color:var(--ic-button-primary-background-pressed);--button-loading-inner-color:var(--ic-button-primary-text);--button-loading-outer-color:var(--ic-button-primary-background-pressed)}:host(.ic-button-variant-primary) ::slotted(a:active),:host(.ic-button-variant-icon-primary) ::slotted(a:active){background-color:var(--ic-button-primary-background-pressed) !important}:host(.ic-button-variant-primary.ic-button-disabled) .button,:host(.ic-button-variant-icon-primary.ic-button-disabled) .button{background:var(--ic-button-primary-background-disabled);color:var(--ic-button-primary-text-disabled)}:host(.ic-button-variant-primary.ic-button-disabled) ::slotted(a),:host(.ic-button-variant-icon-primary.ic-button-disabled) ::slotted(a){background:var(--ic-button-primary-background-disabled) !important;--ic-typography-color:var(--ic-button-primary-text-disabled) !important;color:var(--ic-button-primary-text-disabled) !important}:host(.ic-button-variant-primary.monochrome) .button,:host(.ic-button-variant-icon-primary.monochrome) .button{color:var(--ic-button-primary-text-monochrome);background-color:var(--ic-button-primary-background-monochrome)}:host(.ic-button-variant-primary.monochrome) ::slotted(a),:host(.ic-button-variant-icon-primary.monochrome) ::slotted(a){background-color:var(--ic-button-primary-background-monochrome) !important}:host(.ic-button-variant-primary.monochrome) .button:hover,:host(.ic-button-variant-icon-primary.monochrome) .button:hover{background-color:var(--ic-button-primary-background-hover-monochrome)}:host(.ic-button-variant-primary.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-primary.monochrome) ::slotted(a:hover){background-color:var(\n --ic-button-primary-background-hover-monochrome\n ) !important}:host(.ic-button-variant-primary.ic-button-loading.monochrome) .button,:host(.ic-button-variant-primary.monochrome) .button:active,:host(.ic-button-variant-icon-primary.ic-button-loading.monochrome) .button,:host(.ic-button-variant-icon-primary.monochrome) .button:active{background-color:var(--ic-button-primary-background-pressed-monochrome);--button-loading-inner-color:var(--ic-button-primary-text-monochrome);--button-loading-outer-color:var(--ic-button-primary-background-monochrome)}:host(.ic-button-variant-primary.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-primary.monochrome) ::slotted(a:active){background-color:var(\n --ic-button-primary-background-pressed-monochrome\n ) !important}:host(.ic-button-variant-primary.ic-button-disabled.monochrome) .button,:host(.ic-button-variant-icon-primary.ic-button-disabled.monochrome) .button{background-color:var(--ic-button-primary-background-disabled-monochrome);color:var(--ic-button-primary-text-disabled-monochrome)}:host(.ic-button-variant-primary.ic-button-disabled.monochrome) ::slotted(a),:host(.ic-button-variant-icon-primary.ic-button-disabled.monochrome) ::slotted(a){background-color:var(\n --ic-button-primary-background-disabled-monochrome\n ) !important}:host(.ic-button-variant-secondary) .button,:host(.ic-button-variant-icon-secondary) .button{border:var(--ic-border-width) solid var(--ic-button-secondary-border);color:var(--ic-button-secondary-text)}:host(.ic-button-variant-secondary) ::slotted(a),:host(.ic-button-variant-icon-secondary) ::slotted(a){border:var(--ic-border-width) solid var(--ic-button-secondary-border) !important;color:var(--ic-button-secondary-text) !important;--ic-typography-color:var(--ic-button-secondary-text) !important}:host(.ic-button-variant-secondary) .button:hover,:host(.ic-button-variant-icon-secondary) .button:hover{background-color:var(--ic-button-secondary-background-hover-active);border-color:var(--ic-button-secondary-border-hover);color:var(--ic-button-secondary-text-hover-active)}:host(.ic-button-variant-secondary) ::slotted(a:hover),:host(.ic-button-variant-icon-secondary) ::slotted(a:hover){background-color:var(\n --ic-button-secondary-background-hover-active\n ) !important}:host(.ic-button-variant-secondary) .button:active,:host(.ic-button-variant-icon-secondary) .button:active{border-color:var(--ic-button-secondary-border-pressed);background-color:var(--ic-button-secondary-background-pressed-active);color:var(--ic-button-secondary-text-pressed-active)}:host(.ic-button-variant-secondary) ::slotted(a:active),:host(.ic-button-variant-icon-secondary) ::slotted(a:active){background-color:var(\n --ic-button-secondary-background-pressed-active\n ) !important}:host(.ic-button-variant-secondary.ic-button-loading) .button,:host(.ic-button-variant-icon-secondary.ic-button-loading) .button{border-color:var(--ic-button-secondary-border-pressed);background-color:var(\n --loading-button-background,\n var(--ic-button-secondary-background-pressed-active)\n ) !important;color:var(--ic-button-secondary-text-pressed-active);--button-loading-inner-color:var(--ic-button-secondary-border-pressed);--button-loading-outer-color:var(\n --ic-button-secondary-background-pressed-active\n )}:host(.ic-button-variant-secondary.ic-button-disabled) .button,:host(.ic-button-variant-icon-secondary.ic-button-disabled) .button{border-color:var(--ic-button-secondary-border-disabled);color:var(--ic-button-secondary-text-disabled);background:none}:host(.ic-button-variant-secondary.ic-button-disabled) ::slotted(a),:host(.ic-button-variant-icon-secondary.ic-button-disabled) ::slotted(a){background:none !important}:host(.ic-button-variant-secondary.background) .button,:host(.ic-button-variant-icon-secondary.background) .button{background-color:var(--ic-button-secondary-background)}:host(.ic-button-variant-secondary.background) ::slotted(a),:host(.ic-button-variant-icon-secondary.background) ::slotted(a){background-color:var(--ic-button-secondary-background) !important}:host(.ic-button-variant-secondary.background) .button:hover,:host(.ic-button-variant-icon-secondary.background) .button:hover{background-image:var(--ic-button-secondary-background-non-transparent-hover)}:host(.ic-button-variant-secondary.background) ::slotted(a:hover),:host(.ic-button-variant-icon-secondary.background) ::slotted(a:hover){background-image:var(\n --ic-button-secondary-background-non-transparent-hover\n ) !important}:host(.ic-button-variant-secondary.background) .button:active,:host(.ic-button-variant-icon-secondary.background) .button:active{background-image:var(\n --ic-button-secondary-background-non-transparent-active\n )}:host(.ic-button-variant-secondary.background) ::slotted(a:active),:host(.ic-button-variant-icon-secondary.background) ::slotted(a:active){background-image:var(\n --ic-button-secondary-background-non-transparent-active\n ) !important}:host(.ic-button-variant-secondary.monochrome) .button,:host(.ic-button-variant-icon-secondary.monochrome) .button{background-color:none;border:var(--ic-border-width) solid\n var(--ic-button-secondary-border-monochrome);color:var(--ic-button-secondary-text-monochrome)}:host(.ic-button-variant-secondary.monochrome) ::slotted(a),:host(.ic-button-variant-icon-secondary.monochrome) ::slotted(a){background-color:none !important}:host(.ic-button-variant-secondary.monochrome) .button:hover,:host(.ic-button-variant-icon-secondary.monochrome) .button:hover{background-color:var(--ic-button-secondary-background-hover-monochrome);border-color:var(--ic-button-secondary-border-hover-monochrome);color:var(--ic-button-secondary-text-hover-monochrome)}:host(.ic-button-variant-secondary.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-secondary.monochrome) ::slotted(a:hover){background-color:var(\n --ic-button-secondary-background-hover-monochrome\n ) !important}:host(.ic-button-variant-secondary.monochrome) .button:active,:host(.ic-button-variant-icon-secondary.monochrome) .button:active{background-color:var(--ic-button-secondary-background-pressed-monochrome);border-color:var(--ic-button-secondary-border-pressed-monochrome);color:var(--ic-button-secondary-text-pressed-monochrome)}:host(.ic-button-variant-secondary.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-secondary.monochrome) ::slotted(a:active){background-color:var(\n --ic-button-secondary-background-pressed-monochrome\n ) !important}:host(.ic-button-variant-secondary.ic-button-loading.monochrome) .button,:host(.ic-button-variant-icon-secondary.ic-button-loading.monochrome) .button{background-color:var(\n --ic-button-secondary-background-pressed-monochrome\n ) !important;border-color:var(--ic-button-secondary-border-pressed-monochrome);color:var(--ic-button-secondary-text-pressed-monochrome);--button-loading-inner-color:var(\n --ic-button-secondary-text-pressed-monochrome\n );--button-loading-outer-color:var(\n --ic-button-secondary-background-pressed-monochrome\n )}:host(.ic-button-variant-secondary.ic-button-disabled.monochrome) .button,:host(.ic-button-variant-icon-secondary.ic-button-disabled.monochrome) .button{background:none;border-color:var(--ic-button-secondary-border-disabled-monochrome);color:var(--ic-button-secondary-text-disabled-monochrome)}:host(.ic-button-variant-secondary.ic-button-disabled.monochrome) ::slotted(a),:host(.ic-button-variant-icon-secondary.ic-button-disabled.monochrome) ::slotted(a){background:none !important}:host(.ic-button-variant-secondary.background.monochrome) .button,:host(.ic-button-variant-icon-secondary.background.monochrome) .button{background-color:var(--ic-button-secondary-background-monochrome)}:host(.ic-button-variant-secondary.background.monochrome) ::slotted(a),:host(.ic-button-variant-icon-secondary.background.monochrome) ::slotted(a){background-color:var(--ic-button-secondary-background-monochrome) !important}:host(.ic-button-variant-secondary.background.monochrome) .button:hover,:host(.ic-button-variant-icon-secondary.background.monochrome) .button:hover{background-image:var(\n --ic-button-secondary-background-non-transparent-monochrome-hover\n )}:host(.ic-button-variant-secondary.background.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-secondary.background.monochrome) ::slotted(a:hover){background-image:var(\n --ic-button-secondary-background-non-transparent-monochrome-hover\n ) !important}:host(.ic-button-variant-secondary.background.monochrome) .button:active,:host(.ic-button-variant-icon-secondary.background.monochrome) .button:active{background-image:var(\n --ic-button-secondary-background-non-transparent-monochrome-active\n )}:host(.ic-button-variant-secondary.background.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-secondary.background.monochrome) ::slotted(a:active){background-image:var(\n --ic-button-secondary-background-non-transparent-monochrome-active\n ) !important}:host(.ic-button-variant-tertiary) .button,:host(.ic-button-variant-icon-tertiary) .button,:host(.ic-button-variant-tertiary) ::slotted(a),:host(.ic-button-variant-icon-tertiary) ::slotted(a){color:var(--ic-button-tertiary-text-active);--ic-typography-color:var(--ic-button-tertiary-text-active)}:host(.ic-button-variant-tertiary) .button:hover,:host(.ic-button-variant-icon-tertiary) .button:hover{background-color:var(--ic-button-tertiary-background-hover-active);color:var(--ic-button-tertiary-text-hover-active)}:host(.ic-button-variant-tertiary) ::slotted(a:hover),:host(.ic-button-variant-icon-tertiary) ::slotted(a:hover){background-color:var(\n --ic-button-tertiary-background-hover-active\n ) !important}:host(.ic-button-variant-tertiary) .button:active,:host(.ic-button-variant-tertiary.ic-button-loading) .button,:host(.ic-button-variant-icon-tertiary) .button:active,:host(.ic-button-variant-icon-tertiary.ic-button-loading) .button{background-color:var(--ic-button-tertiary-background-pressed-active);color:var(--ic-button-tertiary-text-pressed-active);--button-loading-inner-color:var(--ic-button-tertiary-text-pressed-active);--button-loading-outer-color:var(--ic-button-tertiary-background-pressed)}:host(.ic-button-variant-tertiary) ::slotted(a:active),:host(.ic-button-variant-icon-tertiary) ::slotted(a:active){background-color:var(\n --ic-button-tertiary-background-pressed-active\n ) !important}:host(.ic-button-variant-tertiary.ic-button-disabled) .button,:host(.ic-button-variant-icon-tertiary.ic-button-disabled) .button{color:var(--ic-button-tertiary-text-disabled);background:none}:host(.ic-button-variant-tertiary.ic-button-disabled) ::slotted(a),:host(.ic-button-variant-icon-tertiary.ic-button-disabled) ::slotted(a){background:none !important}:host(.ic-button-variant-tertiary.background) .button,:host(.ic-button-variant-icon-tertiary.background) .button{background-color:var(--ic-button-tertiary-background)}:host(.ic-button-variant-tertiary.background) ::slotted(a),:host(.ic-button-variant-icon-tertiary.background) ::slotted(a){background-color:var(--ic-button-tertiary-background) !important}:host(.ic-button-variant-tertiary.background) .button:hover,:host(.ic-button-variant-icon-tertiary.background) .button:hover{background-image:var(--ic-button-tertiary-background-non-transparent-hover)}:host(.ic-button-variant-tertiary.background) ::slotted(a:hover),:host(.ic-button-variant-icon-tertiary.background) ::slotted(a:hover){background-image:var(\n --ic-button-tertiary-background-non-transparent-hover\n ) !important}:host(.ic-button-variant-tertiary.background) .button:active,:host(.ic-button-variant-icon-tertiary.background) .button:active{background-image:var(--ic-button-tertiary-background-non-transparent-active)}:host(.ic-button-variant-tertiary.background) ::slotted(a:active),:host(.ic-button-variant-icon-tertiary.background) ::slotted(a:active){background-image:var(\n --ic-button-tertiary-background-non-transparent-active\n ) !important}:host(.ic-button-variant-tertiary.monochrome) .button,:host(.ic-button-variant-tertiary.monochrome) ::slotted(a),:host(.ic-button-variant-icon-tertiary.monochrome) .button,:host(.ic-button-variant-icon-tertiary.monochrome) ::slotted(a){color:var(--ic-button-tertiary-text-monochrome);--ic-typography-color:var(--ic-button-tertiary-text-monochrome)}:host(.ic-button-variant-tertiary.monochrome) .button:hover,:host(.ic-button-variant-icon-tertiary.monochrome) .button:hover{background-color:var(--ic-button-tertiary-background-hover-monochrome);color:var(--ic-button-tertiary-text-hover-monochrome)}:host(.ic-button-variant-tertiary.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-tertiary.monochrome) ::slotted(a:hover){background-color:var(\n --ic-button-tertiary-background-hover-monochrome\n ) !important}:host(.ic-button-variant-tertiary.monochrome) .button:active,:host(.ic-button-variant-tertiary.ic-button-loading.monochrome) .button,:host(.ic-button-variant-icon-tertiary.monochrome) .button:active,:host(.ic-button-variant-icon-tertiary.ic-button-loading.monochrome) .button{background-color:var(--ic-button-tertiary-background-pressed-monochrome);color:var(--ic-button-tertiary-text-pressed-monochrome);--button-loading-inner-color:var(\n --ic-button-tertiary-text-pressed-monochrome\n );--button-loading-outer-color:var(\n --ic-button-tertiary-background-pressed-monochrome\n )}:host(.ic-button-variant-tertiary.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-tertiary.monochrome) ::slotted(a:active){background-color:var(\n --ic-button-tertiary-background-pressed-monochrome\n ) !important}:host(.ic-button-variant-tertiary.ic-button-disabled.monochrome) .button,:host(.ic-button-variant-icon-tertiary.ic-button-disabled.monochrome) .button{color:var(--ic-button-tertiary-text-disabled-monochrome);background:none}:host(.ic-button-variant-tertiary.ic-button-disabled.monochrome) ::slotted(a),:host(.ic-button-variant-icon-tertiary.ic-button-disabled.monochrome) ::slotted(a){background:none !important}:host(.ic-button-variant-tertiary.background.monochrome) .button,:host(.ic-button-variant-icon-tertiary.background.monochrome) .button{background-color:var(--ic-button-tertiary-background-monochrome)}:host(.ic-button-variant-tertiary.background.monochrome) ::slotted(a),:host(.ic-button-variant-icon-tertiary.background.monochrome) ::slotted(a){background-color:var(--ic-button-tertiary-background-monochrome) !important}:host(.ic-button-variant-tertiary.background.monochrome) .button:hover,:host(.ic-button-variant-icon-tertiary.background.monochrome) .button:hover{background-image:var(\n --ic-button-tertiary-background-non-transparent-monochrome-hover\n )}:host(.ic-button-variant-tertiary.background.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-tertiary.background.monochrome) ::slotted(a:hover){background-image:var(\n --ic-button-tertiary-background-non-transparent-monochrome-hover\n ) !important}:host(.ic-button-variant-tertiary.background.monochrome) .button:active,:host(.ic-button-variant-icon-tertiary.background.monochrome) .button:active{background-image:var(\n --ic-button-tertiary-background-non-transparent-monochrome-active\n )}:host(.ic-button-variant-tertiary.background.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-tertiary.background.monochrome) ::slotted(a:active){background-image:var(\n --ic-button-tertiary-background-non-transparent-monochrome-active\n ) !important}:host(.ic-button-variant-destructive) .button,:host(.ic-button-variant-icon-destructive) .button{color:var(--ic-button-destructive-text);background-color:var(--ic-button-destructive-background);text-transform:uppercase}:host(.ic-button-variant-destructive) ::slotted(a),:host(.ic-button-variant-icon-destructive) ::slotted(a){color:var(--ic-button-destructive-text) !important;--ic-typography-color:var(--ic-button-destructive-text) !important;background-color:var(--ic-button-destructive-background) !important;text-transform:uppercase !important}:host(.ic-button-variant-destructive) .button:hover,:host(.ic-button-variant-icon-destructive) .button:hover{background-color:var(--ic-button-destructive-background-hover)}:host(.ic-button-variant-destructive) ::slotted(a:hover),:host(.ic-button-variant-icon-destructive) ::slotted(a:hover){background-color:var(--ic-button-destructive-background-hover) !important}:host(.ic-button-variant-destructive) .button:active,:host(.ic-button-variant-destructive.ic-button-loading) .button,:host(.ic-button-variant-icon-destructive.ic-button-loading) .button{color:var(--ic-button-primary-text);background-color:var(--ic-button-destructive-background-pressed);--button-loading-inner-color:var(--ic-button-primary-text);--button-loading-outer-color:var(--ic-button-destructive-background-pressed)}:host(.ic-button-variant-destructive) ::slotted(a:active),:host(.ic-button-variant-icon-destructive) ::slotted(a:active){background-color:var(--ic-button-destructive-background-pressed) !important}:host(.ic-button-variant-destructive.ic-button-disabled) .button,:host(.ic-button-variant-icon-destructive.ic-button-disabled) .button{background-color:var(--ic-button-destructive-background-disabled);color:var(--ic-button-destructive-text-disabled)}:host(.ic-button-variant-destructive.ic-button-disabled) ::slotted(a),:host(.ic-button-variant-icon-destructive.ic-button-disabled) ::slotted(a){background-color:var(--ic-button-destructive-background-disabled) !important}:host(.ic-button-variant-icon) .button{color:var(--ic-button-icon-color);background-color:var(--ic-button-icon-color-background);min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon) ::slotted(a){color:var(--ic-button-icon-color);background-color:var(--ic-button-icon-color-background) !important;min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important}:host(.ic-button-variant-icon) .button:hover{color:var(--ic-button-icon-color-hover);background-color:var(--ic-button-icon-color-background-hover)}:host(.ic-button-variant-icon) ::slotted(a:hover){color:var(--ic-button-icon-color-hover);background-color:var(--ic-button-icon-color-background-hover) !important}:host(.ic-button-variant-icon) .button:active:not(:focus),:host(.ic-button-variant-icon.ic-button-loading) .button{color:var(--ic-button-icon-color-active);background-color:var(--ic-button-icon-color-background-active)}:host(.ic-button-variant-icon) ::slotted(a:active:not(:focus)){color:var(--ic-button-icon-color-active);background-color:var(--ic-button-icon-color-background-active) !important}:host(.ic-button-variant-icon.ic-button-disabled) .button{color:var(--ic-color-icon-disabled-mid);background:none}:host(.ic-button-variant-icon.ic-button-disabled) ::slotted(a){color:var(--ic-color-icon-disabled-mid);background:none !important}:host(.ic-button-variant-icon-primary) .button,:host(.ic-button-variant-icon-primary) ::slotted(a){min-width:0;gap:var(--ic-space-xs);color:var(--ic-button-primary-icon)}:host(.ic-button-variant-icon-primary.monochrome) .button,:host(.ic-button-variant-primary.monochrome:not(.ic-button-disabled)) ::slotted(svg){color:var(--ic-button-primary-icon-monochrome)}:host(.ic-button-variant-icon-primary) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important;margin:0;pointer-events:none}:host(.ic-button-variant-icon.monochrome) ::slotted(a),:host(.ic-button-variant-icon.monochrome) ::slotted(svg){color:var(--ic-button-icon-monochrome)}:host(.ic-button-variant-icon-secondary) .button,:host(.ic-button-variant-icon-secondary) ::slotted(a){min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon-secondary) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important;margin:0;pointer-events:none}:host(.ic-button-variant-icon-tertiary) .button,:host(.ic-button-variant-icon-tertiary) ::slotted(a){min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon-tertiary) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important;margin:0;pointer-events:none}:host(.ic-button-variant-icon-destructive) .button,:host(.ic-button-variant-icon-destructive) ::slotted(a){min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon-destructive) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important;margin:0;pointer-events:none}:host(.ic-button-size-medium) .button{height:var(--height, 2.5rem);padding:var(--ic-space-xs) var(--ic-space-md)}:host(.ic-button-size-medium) ::slotted(a){height:var(--height, 2.5rem) !important;padding:var(--ic-space-xs) var(--ic-space-md) !important}:host(.ic-button-size-small) .button{height:var(--height, var(--ic-space-xl));padding:var(--ic-space-xxs) var(--ic-space-md)}:host(.ic-button-size-small) ::slotted(a){height:var(--height, var(--ic-space-xl)) !important;padding:var(--ic-space-xxs) var(--ic-space-md) !important}:host(.ic-button-size-large) .button{height:var(--height, var(--ic-space-xxl));padding:var(--ic-space-sm) var(--ic-space-md)}:host(.ic-button-size-large) ::slotted(a){height:var(--height, var(--ic-space-xxl)) !important;padding:var(--ic-space-sm) var(--ic-space-md) !important}:host(.ic-button-size-medium.ic-button-variant-icon) .button,:host(.ic-button-size-medium.ic-button-variant-icon-primary) .button,:host(.ic-button-size-medium.ic-button-variant-icon-secondary) .button,:host(.ic-button-size-medium.ic-button-variant-icon-tertiary) .button,:host(.ic-button-size-medium.ic-button-variant-icon-destructive) .button{height:var(--height, var(--ic-space-xl));width:var(--ic-space-xl);padding:0.375rem}:host(.ic-button-size-medium.ic-button-variant-icon-primary) ::slotted(a),:host(.ic-button-size-medium.ic-button-variant-icon-secondary) ::slotted(a),:host(.ic-button-size-medium.ic-button-variant-icon-tertiary) ::slotted(a),:host(.ic-button-size-medium.ic-button-variant-icon-destructive) ::slotted(a){height:var(--height, var(--ic-space-xl)) !important;width:var(--ic-space-xl) !important;padding:0.375rem !important}:host(.ic-button-size-small.ic-button-variant-icon) .button,:host(.ic-button-size-small.ic-button-variant-icon-primary) .button,:host(.ic-button-size-small.ic-button-variant-icon-secondary) .button,:host(.ic-button-size-small.ic-button-variant-icon-tertiary) .button,:host(.ic-button-size-small.ic-button-variant-icon-destructive) .button{height:var(--height, var(--ic-space-lg));width:var(--ic-space-lg);padding:var(--ic-space-xxs)}:host(.ic-button-size-small.ic-button-variant-icon-primary) ::slotted(a),:host(.ic-button-size-small.ic-button-variant-icon-secondary) ::slotted(a),:host(.ic-button-size-small.ic-button-variant-icon-tertiary) ::slotted(a),:host(.ic-button-size-small.ic-button-variant-icon-destructive) ::slotted(a),:host(.ic-button-size-small.ic-button-variant-icon) ::slotted(a){height:var(--height, var(--ic-space-lg)) !important;width:var(--ic-space-lg) !important;padding:var(--ic-space-xxs) !important}:host(.ic-button-size-large.ic-button-variant-icon) .button,:host(.ic-button-size-large.ic-button-variant-icon-primary) .button,:host(.ic-button-size-large.ic-button-variant-icon-secondary) .button,:host(.ic-button-size-large.ic-button-variant-icon-tertiary) .button,:host(.ic-button-size-large.ic-button-variant-icon-destructive) .button{height:var(--height, 2.5rem);width:2.5rem;padding:var(--ic-space-xs)}:host(.ic-button-size-large.ic-button-variant-icon-destructive) .button,:host(.ic-button-size-large.ic-button-variant-icon-primary) ::slotted(a),:host(.ic-button-size-large.ic-button-variant-icon-secondary) ::slotted(a),:host(.ic-button-size-large.ic-button-variant-icon-tertiary) ::slotted(a),:host(.ic-button-size-large.ic-button-variant-icon-destructive) ::slotted(a),:host(.ic-button-size-large.ic-button-variant-icon) ::slotted(a){height:var(--height, 2.5rem) !important;width:2.5rem !important;padding:var(--ic-space-xs) !important}:host(.ic-button-full-width),:host(.ic-button-full-width) .button{width:100%}:host(.ic-button-full-width) ::slotted(a){width:100% !important}div.loading-container{position:relative;align-items:center;width:100%}ic-loading-indicator{--inner-color:var(--button-loading-inner-color);--outer-color:var(--button-loading-outer-color), transparent}@keyframes loading-animation{0%{width:0%;left:0%}25%{width:0%;left:0%;opacity:0}50%{width:100%;left:0%;opacity:1}75%{width:0%;left:100%}100%{width:0%;left:100%;opacity:0}}div.icon-container{box-sizing:border-box;width:var(--ic-space-lg);height:var(--ic-space-lg);display:flex;justify-content:center;align-items:center;margin-right:var(--ic-space-xs)}div.right-icon{margin-right:auto;margin-left:var(--ic-space-xs)}:host(.ic-button-full-width) .right-icon{margin-right:var(--ic-space-xs)}::slotted(:not(ic-badge)){width:var(--icon-width) !important;height:var(--icon-height) !important;fill:currentcolor !important;pointer-events:none}:host(.ic-button-variant-icon) .button .icon-container{margin:0;pointer-events:none}:host(.search-submit-button) ::slotted(svg){--icon-height:1.25rem;--icon-width:1.25rem;color:var(--ic-atoms-input-search-button)}:host(.search-submit-button-small) ::slotted(svg){--icon-height:1rem;--icon-width:1rem;color:var(--ic-atoms-input-search-button)}:host(.search-submit-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:not(:active):focus{box-shadow:none;background-color:var(--ic-action-default-bg-hover)}:host(.search-submit-button) .button:not(:active):focus ::slotted(svg){color:var(--ic-button-primary-text)}:host(.search-submit-button){display:flex;align-items:center;margin:0 var(--ic-space-xxs)}:host(.ic-button-variant-icon) .button,:host(.ic-button-variant-icon) ::slotted(a){background-color:inherit;min-width:0;gap:var(--ic-space-xs)}:host(.button-variant-icon) .button,:host(.button-variant-icon) ::slotted(a){color:var(--button-default);min-width:0;gap:var(--ic-space-xs)}:host(.button-variant-icon) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important}:host(.button-variant-icon) .button:hover,:host(.button-variant-icon) ::slotted(a:hover){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-icon) .button:active:not(:focus),:host(.button-variant-icon) ::slotted(a:active:not(:focus)),:host(.button-variant-icon.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-icon.disabled) .button,:host(.button-variant-icon.disabled) ::slotted(a){color:var(--ic-color-icon-disabled-mid);background:none}:host(.clear-button){margin:0 var(--ic-space-xxs)}:host(.clear-button) .button:focus,:host(.calendar-button) .button:focus{box-shadow:none}:host(.clear-button) .button,:host(.clear-button) ::slotted(a){background-color:inherit;color:var(--ic-atoms-input-clear-button)}:host(.clear-button) .button:hover,:host(.clear-button) ::slotted(a:hover){color:var(--ic-atoms-input-clear-button)}:host(.clear-button){color:var(--ic-atoms-input-clear-button);margin:0 var(--ic-space-xxs)}:host(.clear-button) .button:focus,:host(.calendar-button) .button:focus{box-shadow:none}:host(.clear-button) .button:not(:active):focus ::slotted(svg){background-color:var(--ic-atoms-input-clear-button-focus-inner);color:var(--ic-button-primary-text);}:host(.menu-close-button) ::slotted(svg){--icon-height:0.875rem;--icon-width:0.875rem;color:var(--ic-top-navigation-icon-active)}:host(.popout-menu-button) .button{height:var(--height);justify-content:left;border-radius:0;white-space:pre-line;text-align:start}:host(.popout-menu-button) div.icon-container{flex:none}:host(.popout-menu-button) .button:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset)}.ic-button-describedby{display:none}:host .ic-tooltip{display:block}:host .arrow-dropdown{margin-top:auto}:host .dropdown-expanded{transform:rotate(180deg);margin-bottom:var(--ic-space-xxxs)}:host(.dropdown-no-icon) .button{padding-right:var(--ic-space-xs)}slot[name=\"router-item\"]::slotted(a){pointer-events:all}::slotted(a){font-size:0.875rem !important;border:none !important;vertical-align:middle !important}:host(#menu-button.ic-theme-dark){--ic-button-secondary-background-hover-monochrome:var(\n --ic-action-dark-bg-hover\n );--ic-button-secondary-background-pressed-monochrome:var(\n --ic-action-dark-bg-pressed\n );--ic-button-secondary-text-hover-monochrome:var(\n --ic-action-monochrome-hover-dark\n );--ic-button-secondary-text-pressed-monochrome:var(\n --ic-action-monochrome-pressed-dark\n );--ic-button-secondary-border-hover-monochrome:var(\n --ic-color-border-neutral-hover-dark\n );--ic-button-secondary-border-pressed-monochrome:var(\n --ic-color-border-neutral-pressed-dark\n )}:host(#menu-button.ic-theme-light){--ic-button-secondary-background-hover-monochrome:var(\n --ic-action-light-bg-hover\n );--ic-button-secondary-background-pressed-monochrome:var(\n --ic-action-light-bg-pressed\n );--ic-button-secondary-text-hover-monochrome:var(\n --ic-action-monochrome-hover\n );--ic-button-secondary-text-pressed-monochrome:var(\n --ic-action-monochrome-pressed\n );--ic-button-secondary-border-hover-monochrome:var(\n --ic-color-border-neutral-hover-light\n );--ic-button-secondary-border-pressed-monochrome:var(\n --ic-color-border-neutral-default\n )}@media (forced-colors: active){.button,::slotted(a){border:0.125rem solid transparent !important}.search-submit-button ::slotted(a),.ic-button-variant-icon ::slotted(a),.clear-button ::slotted(a),.search-submit-button ::slotted(svg),.ic-button-variant-icon ::slotted(svg),.clear-button ::slotted(svg){color:HighlightText}:host(.ic-button-variant-icon.monochrome) ::slotted(a),:host(.ic-button-variant-icon.monochrome) ::slotted(svg){color:white}:host(.clear-button) .button:not(:active):focus ::slotted(svg){color:white !important;background-color:inherit}:host(.ic-button-variant-primary:not(.ic-button-disabled)) ::slotted(svg){color:currentcolor !important}}:host(.flip) ::slotted(svg){transform:scaleX(-1)}";
|
5049
|
+
const icButtonCss = "/*! 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;position:relative;--icon-width:100%;--icon-height:100%}.button,::slotted(a){font-family:var(--ic-font-body-family);text-decoration:none;font-weight:600;font-size:0.875rem;transition:var(--ic-easing-transition-fast);border-radius:var(--ic-border-radius);min-width:var(--min-width, 6.25rem);display:inline-flex;flex-direction:row;justify-content:center;align-items:center;background:none;border:none;box-sizing:border-box;white-space:nowrap;vertical-align:middle}:host(.with-badge) .button{border-radius:0.2188rem}.button:hover,::slotted(a:hover){cursor:pointer}.button:focus,::slotted(a:focus){box-shadow:var(--ic-border-focus)}.button:focus-visible,::slotted(a:focus-visible){outline:var(--ic-hc-focus-outline)}:host(.ic-button-disabled),:host(.ic-button-disabled) .button,:host(.ic-button-disabled) ::slotted(a),:host(.ic-button-loading),:host(.ic-button-loading) .button{pointer-events:none}:host(.top-icon) .button{flex-direction:column;--height:fit-content}:host(.top-icon) .button .icon-container{margin-right:0}:host(.ic-button-variant-primary) .button,:host(.ic-button-variant-icon-primary) .button{color:var(--ic-button-primary-text);background-color:var(--ic-button-primary-background)}:host(.ic-button-variant-primary:not(.ic-button-disabled)) ::slotted(svg){color:var(--ic-button-primary-icon)}:host(.ic-button-variant-primary) ::slotted(a),:host(.ic-button-variant-icon-primary) ::slotted(a){--ic-typography-color:var(--ic-button-primary-text);color:var(--ic-button-primary-text);background-color:var(--ic-button-primary-background) !important}:host(.ic-button-variant-primary) .button:hover,:host(.ic-button-variant-icon-primary) .button:hover{background-color:var(--ic-button-primary-background-hover)}:host(.ic-button-variant-primary) ::slotted(a:hover),:host(.ic-button-variant-icon-primary) ::slotted(a:hover){background-color:var(--ic-button-primary-background-hover) !important}:host(.ic-button-variant-primary.ic-button-loading) .button,:host(.ic-button-variant-primary) .button:active,:host(.ic-button-variant-icon-primary.ic-button-loading) .button,:host(.ic-button-variant-icon-primary) .button:active{background-color:var(--ic-button-primary-background-pressed);--button-loading-inner-color:var(--ic-button-primary-text);--button-loading-outer-color:var(--ic-button-primary-background-pressed)}:host(.ic-button-variant-primary) ::slotted(a:active),:host(.ic-button-variant-icon-primary) ::slotted(a:active){background-color:var(--ic-button-primary-background-pressed) !important}:host(.ic-button-variant-primary.ic-button-disabled) .button,:host(.ic-button-variant-icon-primary.ic-button-disabled) .button{background:var(--ic-button-primary-background-disabled);color:var(--ic-button-primary-text-disabled)}:host(.ic-button-variant-primary.ic-button-disabled) ::slotted(a),:host(.ic-button-variant-icon-primary.ic-button-disabled) ::slotted(a){background:var(--ic-button-primary-background-disabled) !important;--ic-typography-color:var(--ic-button-primary-text-disabled) !important;color:var(--ic-button-primary-text-disabled) !important}:host(.ic-button-variant-primary.monochrome) .button,:host(.ic-button-variant-icon-primary.monochrome) .button{color:var(--ic-button-primary-text-monochrome);background-color:var(--ic-button-primary-background-monochrome)}:host(.ic-button-variant-primary.monochrome) ::slotted(a),:host(.ic-button-variant-icon-primary.monochrome) ::slotted(a){background-color:var(--ic-button-primary-background-monochrome) !important}:host(.ic-button-variant-primary.monochrome) .button:hover,:host(.ic-button-variant-icon-primary.monochrome) .button:hover{background-color:var(--ic-button-primary-background-hover-monochrome)}:host(.ic-button-variant-primary.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-primary.monochrome) ::slotted(a:hover){background-color:var(\n --ic-button-primary-background-hover-monochrome\n ) !important}:host(.ic-button-variant-primary.ic-button-loading.monochrome) .button,:host(.ic-button-variant-primary.monochrome) .button:active,:host(.ic-button-variant-icon-primary.ic-button-loading.monochrome) .button,:host(.ic-button-variant-icon-primary.monochrome) .button:active{background-color:var(--ic-button-primary-background-pressed-monochrome);--button-loading-inner-color:var(--ic-button-primary-text-monochrome);--button-loading-outer-color:var(--ic-button-primary-background-monochrome)}:host(.ic-button-variant-primary.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-primary.monochrome) ::slotted(a:active){background-color:var(\n --ic-button-primary-background-pressed-monochrome\n ) !important}:host(.ic-button-variant-primary.ic-button-disabled.monochrome) .button,:host(.ic-button-variant-icon-primary.ic-button-disabled.monochrome) .button{background-color:var(--ic-button-primary-background-disabled-monochrome);color:var(--ic-button-primary-text-disabled-monochrome)}:host(.ic-button-variant-primary.ic-button-disabled.monochrome) ::slotted(a),:host(.ic-button-variant-icon-primary.ic-button-disabled.monochrome) ::slotted(a){background-color:var(\n --ic-button-primary-background-disabled-monochrome\n ) !important}:host(.ic-button-variant-secondary) .button,:host(.ic-button-variant-icon-secondary) .button{border:var(--ic-border-width) solid var(--ic-button-secondary-border);color:var(--ic-button-secondary-text)}:host(.ic-button-variant-secondary) ::slotted(a),:host(.ic-button-variant-icon-secondary) ::slotted(a){border:var(--ic-border-width) solid var(--ic-button-secondary-border) !important;color:var(--ic-button-secondary-text) !important;--ic-typography-color:var(--ic-button-secondary-text) !important}:host(.ic-button-variant-secondary) .button:hover,:host(.ic-button-variant-icon-secondary) .button:hover{background-color:var(--ic-button-secondary-background-hover-active);border-color:var(--ic-button-secondary-border-hover);color:var(--ic-button-secondary-text-hover-active)}:host(.ic-button-variant-secondary) ::slotted(a:hover),:host(.ic-button-variant-icon-secondary) ::slotted(a:hover){background-color:var(\n --ic-button-secondary-background-hover-active\n ) !important}:host(.ic-button-variant-secondary) .button:active,:host(.ic-button-variant-icon-secondary) .button:active{border-color:var(--ic-button-secondary-border-pressed);background-color:var(--ic-button-secondary-background-pressed-active);color:var(--ic-button-secondary-text-pressed-active)}:host(.ic-button-variant-secondary) ::slotted(a:active),:host(.ic-button-variant-icon-secondary) ::slotted(a:active){background-color:var(\n --ic-button-secondary-background-pressed-active\n ) !important}:host(.ic-button-variant-secondary.ic-button-loading) .button,:host(.ic-button-variant-icon-secondary.ic-button-loading) .button{border-color:var(--ic-button-secondary-border-pressed);background-color:var(\n --loading-button-background,\n var(--ic-button-secondary-background-pressed-active)\n ) !important;color:var(--ic-button-secondary-text-pressed-active);--button-loading-inner-color:var(--ic-button-secondary-border-pressed);--button-loading-outer-color:var(\n --ic-button-secondary-background-pressed-active\n )}:host(.ic-button-variant-secondary.ic-button-disabled) .button,:host(.ic-button-variant-icon-secondary.ic-button-disabled) .button{border-color:var(--ic-button-secondary-border-disabled);color:var(--ic-button-secondary-text-disabled);background:none}:host(.ic-button-variant-secondary.ic-button-disabled) ::slotted(a),:host(.ic-button-variant-icon-secondary.ic-button-disabled) ::slotted(a){background:none !important}:host(.ic-button-variant-secondary.background) .button,:host(.ic-button-variant-icon-secondary.background) .button{background-color:var(--ic-button-secondary-background)}:host(.ic-button-variant-secondary.background) ::slotted(a),:host(.ic-button-variant-icon-secondary.background) ::slotted(a){background-color:var(--ic-button-secondary-background) !important}:host(.ic-button-variant-secondary.background) .button:hover,:host(.ic-button-variant-icon-secondary.background) .button:hover{background-image:var(--ic-button-secondary-background-non-transparent-hover)}:host(.ic-button-variant-secondary.background) ::slotted(a:hover),:host(.ic-button-variant-icon-secondary.background) ::slotted(a:hover){background-image:var(\n --ic-button-secondary-background-non-transparent-hover\n ) !important}:host(.ic-button-variant-secondary.background) .button:active,:host(.ic-button-variant-icon-secondary.background) .button:active{background-image:var(\n --ic-button-secondary-background-non-transparent-active\n )}:host(.ic-button-variant-secondary.background) ::slotted(a:active),:host(.ic-button-variant-icon-secondary.background) ::slotted(a:active){background-image:var(\n --ic-button-secondary-background-non-transparent-active\n ) !important}:host(.ic-button-variant-secondary.monochrome) .button,:host(.ic-button-variant-icon-secondary.monochrome) .button{background-color:none;border:var(--ic-border-width) solid\n var(--ic-button-secondary-border-monochrome);color:var(--ic-button-secondary-text-monochrome)}:host(.ic-button-variant-secondary.monochrome) ::slotted(a),:host(.ic-button-variant-icon-secondary.monochrome) ::slotted(a){background-color:none !important}:host(.ic-button-variant-secondary.monochrome) .button:hover,:host(.ic-button-variant-icon-secondary.monochrome) .button:hover{background-color:var(--ic-button-secondary-background-hover-monochrome);border-color:var(--ic-button-secondary-border-hover-monochrome);color:var(--ic-button-secondary-text-hover-monochrome)}:host(.ic-button-variant-secondary.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-secondary.monochrome) ::slotted(a:hover){background-color:var(\n --ic-button-secondary-background-hover-monochrome\n ) !important}:host(.ic-button-variant-secondary.monochrome) .button:active,:host(.ic-button-variant-icon-secondary.monochrome) .button:active{background-color:var(--ic-button-secondary-background-pressed-monochrome);border-color:var(--ic-button-secondary-border-pressed-monochrome);color:var(--ic-button-secondary-text-pressed-monochrome)}:host(.ic-button-variant-secondary.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-secondary.monochrome) ::slotted(a:active){background-color:var(\n --ic-button-secondary-background-pressed-monochrome\n ) !important}:host(.ic-button-variant-secondary.ic-button-loading.monochrome) .button,:host(.ic-button-variant-icon-secondary.ic-button-loading.monochrome) .button{background-color:var(\n --ic-button-secondary-background-pressed-monochrome\n ) !important;border-color:var(--ic-button-secondary-border-pressed-monochrome);color:var(--ic-button-secondary-text-pressed-monochrome);--button-loading-inner-color:var(\n --ic-button-secondary-text-pressed-monochrome\n );--button-loading-outer-color:var(\n --ic-button-secondary-background-pressed-monochrome\n )}:host(.ic-button-variant-secondary.ic-button-disabled.monochrome) .button,:host(.ic-button-variant-icon-secondary.ic-button-disabled.monochrome) .button{background:none;border-color:var(--ic-button-secondary-border-disabled-monochrome);color:var(--ic-button-secondary-text-disabled-monochrome)}:host(.ic-button-variant-secondary.ic-button-disabled.monochrome) ::slotted(a),:host(.ic-button-variant-icon-secondary.ic-button-disabled.monochrome) ::slotted(a){background:none !important}:host(.ic-button-variant-secondary.background.monochrome) .button,:host(.ic-button-variant-icon-secondary.background.monochrome) .button{background-color:var(--ic-button-secondary-background-monochrome)}:host(.ic-button-variant-secondary.background.monochrome) ::slotted(a),:host(.ic-button-variant-icon-secondary.background.monochrome) ::slotted(a){background-color:var(--ic-button-secondary-background-monochrome) !important}:host(.ic-button-variant-secondary.background.monochrome) .button:hover,:host(.ic-button-variant-icon-secondary.background.monochrome) .button:hover{background-image:var(\n --ic-button-secondary-background-non-transparent-monochrome-hover\n )}:host(.ic-button-variant-secondary.background.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-secondary.background.monochrome) ::slotted(a:hover){background-image:var(\n --ic-button-secondary-background-non-transparent-monochrome-hover\n ) !important}:host(.ic-button-variant-secondary.background.monochrome) .button:active,:host(.ic-button-variant-icon-secondary.background.monochrome) .button:active{background-image:var(\n --ic-button-secondary-background-non-transparent-monochrome-active\n )}:host(.ic-button-variant-secondary.background.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-secondary.background.monochrome) ::slotted(a:active){background-image:var(\n --ic-button-secondary-background-non-transparent-monochrome-active\n ) !important}:host(.ic-button-variant-tertiary) .button,:host(.ic-button-variant-icon-tertiary) .button,:host(.ic-button-variant-tertiary) ::slotted(a),:host(.ic-button-variant-icon-tertiary) ::slotted(a){color:var(--ic-button-tertiary-text-active);--ic-typography-color:var(--ic-button-tertiary-text-active)}:host(.ic-button-variant-tertiary) .button:hover,:host(.ic-button-variant-icon-tertiary) .button:hover{background-color:var(--ic-button-tertiary-background-hover-active);color:var(--ic-button-tertiary-text-hover-active)}:host(.ic-button-variant-tertiary) ::slotted(a:hover),:host(.ic-button-variant-icon-tertiary) ::slotted(a:hover){background-color:var(\n --ic-button-tertiary-background-hover-active\n ) !important}:host(.ic-button-variant-tertiary) .button:active,:host(.ic-button-variant-tertiary.ic-button-loading) .button,:host(.ic-button-variant-icon-tertiary) .button:active,:host(.ic-button-variant-icon-tertiary.ic-button-loading) .button{background-color:var(--ic-button-tertiary-background-pressed-active);color:var(--ic-button-tertiary-text-pressed-active);--button-loading-inner-color:var(--ic-button-tertiary-text-pressed-active);--button-loading-outer-color:var(--ic-button-tertiary-background-pressed)}:host(.ic-button-variant-tertiary) ::slotted(a:active),:host(.ic-button-variant-icon-tertiary) ::slotted(a:active){background-color:var(\n --ic-button-tertiary-background-pressed-active\n ) !important}:host(.ic-button-variant-tertiary.ic-button-disabled) .button,:host(.ic-button-variant-icon-tertiary.ic-button-disabled) .button{color:var(--ic-button-tertiary-text-disabled);background:none}:host(.ic-button-variant-tertiary.ic-button-disabled) ::slotted(a),:host(.ic-button-variant-icon-tertiary.ic-button-disabled) ::slotted(a){background:none !important}:host(.ic-button-variant-tertiary.background) .button,:host(.ic-button-variant-icon-tertiary.background) .button{background-color:var(--ic-button-tertiary-background)}:host(.ic-button-variant-tertiary.background) ::slotted(a),:host(.ic-button-variant-icon-tertiary.background) ::slotted(a){background-color:var(--ic-button-tertiary-background) !important}:host(.ic-button-variant-tertiary.background) .button:hover,:host(.ic-button-variant-icon-tertiary.background) .button:hover{background-image:var(--ic-button-tertiary-background-non-transparent-hover)}:host(.ic-button-variant-tertiary.background) ::slotted(a:hover),:host(.ic-button-variant-icon-tertiary.background) ::slotted(a:hover){background-image:var(\n --ic-button-tertiary-background-non-transparent-hover\n ) !important}:host(.ic-button-variant-tertiary.background) .button:active,:host(.ic-button-variant-icon-tertiary.background) .button:active{background-image:var(--ic-button-tertiary-background-non-transparent-active)}:host(.ic-button-variant-tertiary.background) ::slotted(a:active),:host(.ic-button-variant-icon-tertiary.background) ::slotted(a:active){background-image:var(\n --ic-button-tertiary-background-non-transparent-active\n ) !important}:host(.ic-button-variant-tertiary.monochrome) .button,:host(.ic-button-variant-tertiary.monochrome) ::slotted(a),:host(.ic-button-variant-icon-tertiary.monochrome) .button,:host(.ic-button-variant-icon-tertiary.monochrome) ::slotted(a){color:var(--ic-button-tertiary-text-monochrome);--ic-typography-color:var(--ic-button-tertiary-text-monochrome)}:host(.ic-button-variant-tertiary.monochrome) .button:hover,:host(.ic-button-variant-icon-tertiary.monochrome) .button:hover{background-color:var(--ic-button-tertiary-background-hover-monochrome);color:var(--ic-button-tertiary-text-hover-monochrome)}:host(.ic-button-variant-tertiary.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-tertiary.monochrome) ::slotted(a:hover){background-color:var(\n --ic-button-tertiary-background-hover-monochrome\n ) !important}:host(.ic-button-variant-tertiary.monochrome) .button:active,:host(.ic-button-variant-tertiary.ic-button-loading.monochrome) .button,:host(.ic-button-variant-icon-tertiary.monochrome) .button:active,:host(.ic-button-variant-icon-tertiary.ic-button-loading.monochrome) .button{background-color:var(--ic-button-tertiary-background-pressed-monochrome);color:var(--ic-button-tertiary-text-pressed-monochrome);--button-loading-inner-color:var(\n --ic-button-tertiary-text-pressed-monochrome\n );--button-loading-outer-color:var(\n --ic-button-tertiary-background-pressed-monochrome\n )}:host(.ic-button-variant-tertiary.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-tertiary.monochrome) ::slotted(a:active){background-color:var(\n --ic-button-tertiary-background-pressed-monochrome\n ) !important}:host(.ic-button-variant-tertiary.ic-button-disabled.monochrome) .button,:host(.ic-button-variant-icon-tertiary.ic-button-disabled.monochrome) .button{color:var(--ic-button-tertiary-text-disabled-monochrome);background:none}:host(.ic-button-variant-tertiary.ic-button-disabled.monochrome) ::slotted(a),:host(.ic-button-variant-icon-tertiary.ic-button-disabled.monochrome) ::slotted(a){background:none !important}:host(.ic-button-variant-tertiary.background.monochrome) .button,:host(.ic-button-variant-icon-tertiary.background.monochrome) .button{background-color:var(--ic-button-tertiary-background-monochrome)}:host(.ic-button-variant-tertiary.background.monochrome) ::slotted(a),:host(.ic-button-variant-icon-tertiary.background.monochrome) ::slotted(a){background-color:var(--ic-button-tertiary-background-monochrome) !important}:host(.ic-button-variant-tertiary.background.monochrome) .button:hover,:host(.ic-button-variant-icon-tertiary.background.monochrome) .button:hover{background-image:var(\n --ic-button-tertiary-background-non-transparent-monochrome-hover\n )}:host(.ic-button-variant-tertiary.background.monochrome) ::slotted(a:hover),:host(.ic-button-variant-icon-tertiary.background.monochrome) ::slotted(a:hover){background-image:var(\n --ic-button-tertiary-background-non-transparent-monochrome-hover\n ) !important}:host(.ic-button-variant-tertiary.background.monochrome) .button:active,:host(.ic-button-variant-icon-tertiary.background.monochrome) .button:active{background-image:var(\n --ic-button-tertiary-background-non-transparent-monochrome-active\n )}:host(.ic-button-variant-tertiary.background.monochrome) ::slotted(a:active),:host(.ic-button-variant-icon-tertiary.background.monochrome) ::slotted(a:active){background-image:var(\n --ic-button-tertiary-background-non-transparent-monochrome-active\n ) !important}:host(.ic-button-variant-destructive) .button,:host(.ic-button-variant-icon-destructive) .button{color:var(--ic-button-destructive-text);background-color:var(--ic-button-destructive-background);text-transform:uppercase}:host(.ic-button-variant-destructive) ::slotted(a),:host(.ic-button-variant-icon-destructive) ::slotted(a){color:var(--ic-button-destructive-text) !important;--ic-typography-color:var(--ic-button-destructive-text) !important;background-color:var(--ic-button-destructive-background) !important;text-transform:uppercase !important}:host(.ic-button-variant-destructive) .button:hover,:host(.ic-button-variant-icon-destructive) .button:hover{background-color:var(--ic-button-destructive-background-hover)}:host(.ic-button-variant-destructive) ::slotted(a:hover),:host(.ic-button-variant-icon-destructive) ::slotted(a:hover){background-color:var(--ic-button-destructive-background-hover) !important}:host(.ic-button-variant-destructive) .button:active,:host(.ic-button-variant-destructive.ic-button-loading) .button,:host(.ic-button-variant-icon-destructive.ic-button-loading) .button{color:var(--ic-button-primary-text);background-color:var(--ic-button-destructive-background-pressed);--button-loading-inner-color:var(--ic-button-primary-text);--button-loading-outer-color:var(--ic-button-destructive-background-pressed)}:host(.ic-button-variant-destructive) ::slotted(a:active),:host(.ic-button-variant-icon-destructive) ::slotted(a:active){background-color:var(--ic-button-destructive-background-pressed) !important}:host(.ic-button-variant-destructive.ic-button-disabled) .button,:host(.ic-button-variant-icon-destructive.ic-button-disabled) .button{background-color:var(--ic-button-destructive-background-disabled);color:var(--ic-button-destructive-text-disabled)}:host(.ic-button-variant-destructive.ic-button-disabled) ::slotted(a),:host(.ic-button-variant-icon-destructive.ic-button-disabled) ::slotted(a){background-color:var(--ic-button-destructive-background-disabled) !important}:host(.ic-button-variant-icon) .button{color:var(--ic-button-icon-color);background-color:var(--ic-button-icon-color-background);min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon) ::slotted(a){color:var(--ic-button-icon-color);background-color:var(--ic-button-icon-color-background) !important;min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important}:host(.ic-button-variant-icon) .button:hover{color:var(--ic-button-icon-color-hover);background-color:var(--ic-button-icon-color-background-hover)}:host(.ic-button-variant-icon) ::slotted(a:hover){color:var(--ic-button-icon-color-hover);background-color:var(--ic-button-icon-color-background-hover) !important}:host(.ic-button-variant-icon) .button:active:not(:focus),:host(.ic-button-variant-icon.ic-button-loading) .button{color:var(--ic-button-icon-color-active);background-color:var(--ic-button-icon-color-background-active)}:host(.ic-button-variant-icon) ::slotted(a:active:not(:focus)){color:var(--ic-button-icon-color-active);background-color:var(--ic-button-icon-color-background-active) !important}:host(.ic-button-variant-icon.ic-button-disabled) .button{color:var(--ic-color-icon-disabled-mid);background:none}:host(.ic-button-variant-icon.ic-button-disabled) ::slotted(a){color:var(--ic-color-icon-disabled-mid);background:none !important}:host(.ic-button-variant-icon-primary) .button,:host(.ic-button-variant-icon-primary) ::slotted(a){min-width:0;gap:var(--ic-space-xs);color:var(--ic-button-primary-icon)}:host(.ic-button-variant-icon-primary.monochrome) .button,:host(.ic-button-variant-primary.monochrome:not(.ic-button-disabled)) ::slotted(svg){color:var(--ic-button-primary-icon-monochrome)}:host(.ic-button-variant-icon-primary) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important;margin:0;pointer-events:none}:host(.ic-button-variant-icon.monochrome) ::slotted(a),:host(.ic-button-variant-icon.monochrome) ::slotted(svg){color:var(--ic-button-icon-monochrome)}:host(.ic-button-variant-icon-secondary) .button,:host(.ic-button-variant-icon-secondary) ::slotted(a){min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon-secondary) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important;margin:0;pointer-events:none}:host(.ic-button-variant-icon-tertiary) .button,:host(.ic-button-variant-icon-tertiary) ::slotted(a){min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon-tertiary) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important;margin:0;pointer-events:none}:host(.ic-button-variant-icon-destructive) .button,:host(.ic-button-variant-icon-destructive) ::slotted(a){min-width:0;gap:var(--ic-space-xs)}:host(.ic-button-variant-icon-destructive) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important;margin:0;pointer-events:none}:host(.ic-button-size-medium) .button{height:var(--height, 2.5rem);padding:var(--ic-space-xs) var(--ic-space-md)}:host(.ic-button-size-medium) ::slotted(a){height:var(--height, 2.5rem) !important;padding:var(--ic-space-xs) var(--ic-space-md) !important}:host(.ic-button-size-small) .button{height:var(--height, var(--ic-space-xl));padding:var(--ic-space-xxs) var(--ic-space-md)}:host(.ic-button-size-small) ::slotted(a){height:var(--height, var(--ic-space-xl)) !important;padding:var(--ic-space-xxs) var(--ic-space-md) !important}:host(.ic-button-size-large) .button{height:var(--height, var(--ic-space-xxl));padding:var(--ic-space-sm) var(--ic-space-md)}:host(.ic-button-size-large) ::slotted(a){height:var(--height, var(--ic-space-xxl)) !important;padding:var(--ic-space-sm) var(--ic-space-md) !important}:host(.ic-button-size-medium.ic-button-variant-icon) .button,:host(.ic-button-size-medium.ic-button-variant-icon-primary) .button,:host(.ic-button-size-medium.ic-button-variant-icon-secondary) .button,:host(.ic-button-size-medium.ic-button-variant-icon-tertiary) .button,:host(.ic-button-size-medium.ic-button-variant-icon-destructive) .button{height:var(--height, var(--ic-space-xl));width:var(--ic-space-xl);padding:0.375rem}:host(.ic-button-size-medium.ic-button-variant-icon-primary) ::slotted(a),:host(.ic-button-size-medium.ic-button-variant-icon-secondary) ::slotted(a),:host(.ic-button-size-medium.ic-button-variant-icon-tertiary) ::slotted(a),:host(.ic-button-size-medium.ic-button-variant-icon-destructive) ::slotted(a){height:var(--height, var(--ic-space-xl)) !important;width:var(--ic-space-xl) !important;padding:0.375rem !important}:host(.ic-button-size-small.ic-button-variant-icon) .button,:host(.ic-button-size-small.ic-button-variant-icon-primary) .button,:host(.ic-button-size-small.ic-button-variant-icon-secondary) .button,:host(.ic-button-size-small.ic-button-variant-icon-tertiary) .button,:host(.ic-button-size-small.ic-button-variant-icon-destructive) .button{height:var(--height, var(--ic-space-lg));width:var(--ic-space-lg);padding:var(--ic-space-xxs)}:host(.ic-button-size-small.ic-button-variant-icon-primary) ::slotted(a),:host(.ic-button-size-small.ic-button-variant-icon-secondary) ::slotted(a),:host(.ic-button-size-small.ic-button-variant-icon-tertiary) ::slotted(a),:host(.ic-button-size-small.ic-button-variant-icon-destructive) ::slotted(a),:host(.ic-button-size-small.ic-button-variant-icon) ::slotted(a){height:var(--height, var(--ic-space-lg)) !important;width:var(--ic-space-lg) !important;padding:var(--ic-space-xxs) !important}:host(.ic-button-size-large.ic-button-variant-icon) .button,:host(.ic-button-size-large.ic-button-variant-icon-primary) .button,:host(.ic-button-size-large.ic-button-variant-icon-secondary) .button,:host(.ic-button-size-large.ic-button-variant-icon-tertiary) .button,:host(.ic-button-size-large.ic-button-variant-icon-destructive) .button{height:var(--height, 2.5rem);width:2.5rem;padding:var(--ic-space-xs)}:host(.ic-button-size-large.ic-button-variant-icon-destructive) .button,:host(.ic-button-size-large.ic-button-variant-icon-primary) ::slotted(a),:host(.ic-button-size-large.ic-button-variant-icon-secondary) ::slotted(a),:host(.ic-button-size-large.ic-button-variant-icon-tertiary) ::slotted(a),:host(.ic-button-size-large.ic-button-variant-icon-destructive) ::slotted(a),:host(.ic-button-size-large.ic-button-variant-icon) ::slotted(a){height:var(--height, 2.5rem) !important;width:2.5rem !important;padding:var(--ic-space-xs) !important}:host(.ic-button-full-width),:host(.ic-button-full-width) .button{width:100%}:host(.ic-button-full-width) ::slotted(a){width:100% !important}div.loading-container{position:relative;align-items:center;width:100%}ic-loading-indicator{--inner-color:var(--button-loading-inner-color);--outer-color:var(--button-loading-outer-color), transparent}@keyframes loading-animation{0%{width:0%;left:0%}25%{width:0%;left:0%;opacity:0}50%{width:100%;left:0%;opacity:1}75%{width:0%;left:100%}100%{width:0%;left:100%;opacity:0}}div.icon-container{box-sizing:border-box;width:var(--ic-space-lg);height:var(--ic-space-lg);display:flex;justify-content:center;align-items:center;margin-right:var(--ic-space-xs)}div.right-icon{margin-right:auto;margin-left:var(--ic-space-xs)}:host(.ic-button-full-width) .right-icon{margin-right:var(--ic-space-xs)}::slotted(:not(ic-badge)){width:var(--icon-width) !important;height:var(--icon-height) !important;fill:currentcolor !important;pointer-events:none}:host(.ic-button-variant-icon) .button .icon-container{margin:0;pointer-events:none}:host(.search-submit-button) ::slotted(svg){--icon-height:1.25rem;--icon-width:1.25rem;color:var(--ic-atoms-input-search-button)}:host(.search-submit-button-small) ::slotted(svg){--icon-height:1rem;--icon-width:1rem;color:var(--ic-atoms-input-search-button)}:host(.search-submit-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:not(:active):focus{box-shadow:none;background-color:var(--ic-action-default-bg-hover)}:host(.search-submit-button) .button:not(:active):focus ::slotted(svg){color:var(--ic-button-primary-text)}:host(.search-submit-button){display:flex;align-items:center;margin:0 var(--ic-space-xxs)}:host(.ic-button-variant-icon) .button,:host(.ic-button-variant-icon) ::slotted(a){background-color:inherit;min-width:0;gap:var(--ic-space-xs)}:host(.button-variant-icon) .button,:host(.button-variant-icon) ::slotted(a){color:var(--button-default);min-width:0;gap:var(--ic-space-xs)}:host(.button-variant-icon) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important}:host(.button-variant-icon) .button:hover,:host(.button-variant-icon) ::slotted(a:hover){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-icon) .button:active:not(:focus),:host(.button-variant-icon) ::slotted(a:active:not(:focus)),:host(.button-variant-icon.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-icon.disabled) .button,:host(.button-variant-icon.disabled) ::slotted(a){color:var(--ic-color-icon-disabled-mid);background:none}:host(.clear-button){color:var(--ic-atoms-input-clear-button);margin:0 var(--ic-space-xxs)}:host(.clear-button) .button:focus,:host(.calendar-button) .button:focus,:host(.clock-button) .button:focus{box-shadow:none}:host(.clear-button) .button,:host(.clear-button) ::slotted(a){background-color:inherit;color:var(--ic-atoms-input-clear-button)}:host(.clear-button) .button:hover,:host(.clear-button) ::slotted(a:hover){color:var(--ic-atoms-input-clear-button)}:host(.clear-button) .button:not(:active):focus ::slotted(svg){background-color:var(--ic-atoms-input-clear-button-focus-inner);color:var(--ic-button-primary-text);}:host(.menu-close-button) ::slotted(svg){--icon-height:0.875rem;--icon-width:0.875rem;color:var(--ic-top-navigation-icon-active)}:host(.popout-menu-button) .button{height:var(--height);justify-content:left;border-radius:0;white-space:pre-line;text-align:start}:host(.popout-menu-button) div.icon-container{flex:none}:host(.popout-menu-button) .button:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset)}.ic-button-describedby{display:none}:host .ic-tooltip{display:block}:host .arrow-dropdown{margin-top:auto}:host .dropdown-expanded{transform:rotate(180deg);margin-bottom:var(--ic-space-xxxs)}:host(.dropdown-no-icon) .button{padding-right:var(--ic-space-xs)}slot[name=\"router-item\"]::slotted(a){pointer-events:all}::slotted(a){font-size:0.875rem !important;border:none !important;vertical-align:middle !important}:host(#menu-button.ic-theme-dark){--ic-button-secondary-background-hover-monochrome:var(\n --ic-action-dark-bg-hover\n );--ic-button-secondary-background-pressed-monochrome:var(\n --ic-action-dark-bg-pressed\n );--ic-button-secondary-text-hover-monochrome:var(\n --ic-action-monochrome-hover-dark\n );--ic-button-secondary-text-pressed-monochrome:var(\n --ic-action-monochrome-pressed-dark\n );--ic-button-secondary-border-hover-monochrome:var(\n --ic-color-border-neutral-hover-dark\n );--ic-button-secondary-border-pressed-monochrome:var(\n --ic-color-border-neutral-pressed-dark\n )}:host(#menu-button.ic-theme-light){--ic-button-secondary-background-hover-monochrome:var(\n --ic-action-light-bg-hover\n );--ic-button-secondary-background-pressed-monochrome:var(\n --ic-action-light-bg-pressed\n );--ic-button-secondary-text-hover-monochrome:var(\n --ic-action-monochrome-hover\n );--ic-button-secondary-text-pressed-monochrome:var(\n --ic-action-monochrome-pressed\n );--ic-button-secondary-border-hover-monochrome:var(\n --ic-color-border-neutral-hover-light\n );--ic-button-secondary-border-pressed-monochrome:var(\n --ic-color-border-neutral-default\n )}@media (forced-colors: active){.button,::slotted(a){border:0.125rem solid transparent !important}.search-submit-button ::slotted(a),.ic-button-variant-icon ::slotted(a),.clear-button ::slotted(a),.search-submit-button ::slotted(svg),.ic-button-variant-icon ::slotted(svg),.clear-button ::slotted(svg){color:HighlightText}:host(.ic-button-variant-icon.monochrome) ::slotted(a),:host(.ic-button-variant-icon.monochrome) ::slotted(svg){color:white}:host(.clear-button) .button:not(:active):focus ::slotted(svg){color:white !important;background-color:inherit}:host(.ic-button-variant-primary:not(.ic-button-disabled)) ::slotted(svg){color:currentcolor !important}}:host(.flip) ::slotted(svg){transform:scaleX(-1)}";
|
4909
5050
|
var IcButtonStyle0 = icButtonCss;
|
4910
5051
|
|
4911
5052
|
var __rest$1 = (undefined && undefined.__rest) || function (s, e) {
|
@@ -5276,7 +5417,7 @@ class Button {
|
|
5276
5417
|
variant !== "destructive" && (hAsync("span", { class: dropdownExpanded
|
5277
5418
|
? "dropdown-expanded"
|
5278
5419
|
: "arrow-dropdown", innerHTML: arrowDropdown$1 }))))));
|
5279
|
-
return (hAsync(Host, { key: '
|
5420
|
+
return (hAsync(Host, { key: '7ec6ab29cee9c1d669ffb4d181291ac2767cbbec', class: {
|
5280
5421
|
"ic-button-disabled": disabled && !loading,
|
5281
5422
|
"ic-button-full-width": fullWidth,
|
5282
5423
|
"ic-button-loading": loading,
|
@@ -5292,7 +5433,7 @@ class Button {
|
|
5292
5433
|
monochrome,
|
5293
5434
|
"top-icon": isSlotUsed$1(this.el, "top-icon"),
|
5294
5435
|
"with-badge": isSlotUsed$1(this.el, "badge"),
|
5295
|
-
}, onClick: handleClick, onKeyDown: handleKeyDown, "aria-owns": ariaOwnsId, "aria-controls": ariaControlsId, "aria-expanded": dropdown && `${dropdownExpanded}` }, hasTooltip && (hAsync("ic-tooltip", { key: '
|
5436
|
+
}, onClick: handleClick, onKeyDown: handleKeyDown, "aria-owns": ariaOwnsId, "aria-controls": ariaControlsId, "aria-expanded": dropdown && `${dropdownExpanded}` }, hasTooltip && (hAsync("ic-tooltip", { key: 'b9b1e24da3a9ca2e9aa33edf0dfde63f82473057', id: describedby, label: title || ariaLabel, target: buttonId, placement: tooltipPlacement, silent: isIconVariant() && !!ariaLabel }, hAsync(ButtonContent, { key: 'e2655f2e1623bb7a6177e8404a68ab1ab9c868a6' }))), isSlotUsed$1(this.el, "badge") && hAsync("slot", { key: 'ca43b11aeff88a1c9a46ae22cd8836405f96753e', name: "badge" }), !hasTooltip && hAsync(ButtonContent, { key: '3dd73eb3d140dd26aee9f245166142094762bc5c' }), describedByContent && (hAsync("span", { key: 'a38105ef6599d3b251b8528446db9f700982681e', id: describedby, class: "ic-button-describedby" }, describedByContent))));
|
5296
5437
|
}
|
5297
5438
|
static get delegatesFocus() { return true; }
|
5298
5439
|
get el() { return getElement(this); }
|
@@ -5952,19 +6093,19 @@ class CardVertical {
|
|
5952
6093
|
rel: rel,
|
5953
6094
|
target: target,
|
5954
6095
|
};
|
5955
|
-
return (hAsync(Host, { key: '
|
6096
|
+
return (hAsync(Host, { key: '2dc8070692fc796401c84c6156d1f66c8053310a', class: {
|
5956
6097
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
5957
|
-
} }, hAsync(Component, Object.assign({ key: '
|
6098
|
+
} }, hAsync(Component, Object.assign({ key: 'a1a8763990ed7e5ac5eecfc69e4b29ab184b9e6e', class: {
|
5958
6099
|
card: true,
|
5959
6100
|
clickable: !!clickable && !disabled,
|
5960
6101
|
disabled: !!disabled,
|
5961
6102
|
fullwidth: !!fullWidth,
|
5962
6103
|
focussed: isFocussed,
|
5963
6104
|
monochrome: monochrome,
|
5964
|
-
}, tabindex: clickable && !parentIsAnchorTag ? 0 : undefined, "aria-disabled": disabled ? "true" : null, disabled: disabled }, attrs), isSlotUsed$1(this.el, "image-top") && (hAsync("div", { key: '
|
6105
|
+
}, tabindex: clickable && !parentIsAnchorTag ? 0 : undefined, "aria-disabled": disabled ? "true" : null, disabled: disabled }, attrs), isSlotUsed$1(this.el, "image-top") && (hAsync("div", { key: '2c12f461a8b8972d8a4de1a6560a2c52ecadc36f', class: "image-top" }, hAsync("slot", { key: '9afec40e5ef6b57a10ca922d7f3da378f962200f', name: "image-top" }))), hAsync("div", { key: 'bb92939da24dbfa2fb2e4bc2606d4f7ef9d2ba37', class: "card-header" }, isSlotUsed$1(this.el, "icon") && (hAsync("div", { key: '165af9342325b430548209cf2bcd5b9781b752fd', class: "icon" }, hAsync("slot", { key: '4b2cdd47b1f2abfc16097dee848b630c93c1b835', name: "icon" }))), hAsync("div", { key: '02f1b6357a696bc43b9d5cc7c8030647b52e311c', class: "card-title" }, hAsync("slot", { key: 'b71ca0fa6a4aeb1cf75579920a66f58abe11d5ae', name: "heading" }, hAsync("ic-typography", { key: '63f9c6478987888f41a53d5beadec2b3deaa52ae', variant: "h4" }, hAsync("p", { key: '6d642c20d4656a408cf439c969a1895cb834c15e' }, heading)))), isSlotUsed$1(this.el, "interaction-button") && (hAsync("div", { key: '7a44d7d2c17cd980fa14da2a65aa68ddd8832f77', class: "interaction-button" }, hAsync("slot", { key: '6a9e0f0ca96125d94d39b31474c82ffe088ea475', name: "interaction-button" })))), (subheading || isSlotUsed$1(this.el, "subheading")) && (hAsync("div", { key: 'dc19ca8ae488c30aa1fc58e56db23fc0dc2a2c0f', class: "subheading" }, hAsync("slot", { key: 'bae9a057f813ef5c5df04befed60d09ccb106857', name: "subheading" }, hAsync("ic-typography", { key: '13a32e2d9bc3258b65edf8a5c385f181f39a2c8d', variant: "subtitle-small" }, subheading)))), isSlotUsed$1(this.el, "adornment") && (hAsync("div", { key: 'c359631c9d1ed0643290e1db2a5e521d6702b29d', class: "adornment" }, hAsync("slot", { key: '398a65927df066f96bffc5b59b95fd27ec558c12', name: "adornment" }))), isSlotUsed$1(this.el, "image-mid") && (hAsync("div", { key: '463a2495779d1faca6efd98a3e1425e3486fc0d1', class: "image-mid" }, hAsync("slot", { key: '049daa3cbf2542b0a47951a8758bb50a1ad699e2', name: "image-mid" }))), (message || isSlotUsed$1(this.el, "message")) && (hAsync("div", { key: '9f6b4ea8e3a8cfa0e8ad58366f4e2a198cb0f8f6', class: "card-message" }, message && (hAsync("ic-typography", { key: '1a32ff3958de50ea5732a0fb52616d04c6ebedcc', variant: "body" }, message)), isSlotUsed$1(this.el, "message") && hAsync("slot", { key: '0dabb8f6ed9bd42a0982284fa4976734c0d5e16f', name: "message" }))), (isSlotUsed$1(this.el, "interaction-controls") || expandable) && (hAsync("div", { key: '2d6292c895df325c53cffc72a330720855644c59', class: "interaction-area" }, hAsync("div", { key: 'a8c4c10d85a5608f49dbccb8cb65443d56d64a3f', class: "interaction-controls" }, hAsync("slot", { key: '5caebe86117ec6ef31d096a284aa035153e02a56', name: "interaction-controls" })), expandable && (hAsync("ic-tooltip", { key: '1d66d84f3181cc1694cdf779befca1610c538f71', id: "ic-tooltip-expand-button", label: "Toggle expandable area", silent: true }, hAsync("button", { key: 'eaa2b9484428dab89fb67677b80a09a6174b011b', class: {
|
5965
6106
|
"toggle-button": true,
|
5966
6107
|
[`toggle-button-${this.areaExpanded ? "expanded" : "closed"}`]: true,
|
5967
|
-
}, "aria-label": "Toggle expandable area", "aria-expanded": `${this.areaExpanded}`, "aria-controls": this.areaExpanded ? "expanded-content-area" : null, onClick: this.toggleExpanded, innerHTML: chevronIcon }))))), isSlotUsed$1(this.el, "expanded-content") && this.areaExpanded && (hAsync("div", { key: '
|
6108
|
+
}, "aria-label": "Toggle expandable area", "aria-expanded": `${this.areaExpanded}`, "aria-controls": this.areaExpanded ? "expanded-content-area" : null, onClick: this.toggleExpanded, innerHTML: chevronIcon }))))), isSlotUsed$1(this.el, "expanded-content") && this.areaExpanded && (hAsync("div", { key: 'd896c331bad9e027c4b56dd1fce75bc530218516', class: "expanded-content", id: "expanded-content-area" }, hAsync("slot", { key: '7fc81de39ef8a949674f22089d413bf946befdd7', name: "expanded-content" }))), isSlotUsed$1(this.el, "badge") && hAsync("slot", { key: '283bff90fab9be3b640ab7d04384d7ce2873bad8', name: "badge" }))));
|
5968
6109
|
}
|
5969
6110
|
get el() { return getElement(this); }
|
5970
6111
|
static get watchers() { return {
|
@@ -6112,17 +6253,17 @@ class Checkbox {
|
|
6112
6253
|
checked
|
6113
6254
|
? renderHiddenInput$1(el, value, name, disabled)
|
6114
6255
|
: removeHiddenInput(el);
|
6115
|
-
return (hAsync(Host, { key: '
|
6256
|
+
return (hAsync(Host, { key: '153b0b333ca1d0755d4e52dd9119d48cd1c246cc', class: {
|
6116
6257
|
"ic-checkbox-disabled": disabled,
|
6117
6258
|
[`ic-checkbox-${size}`]: !!size,
|
6118
6259
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
6119
|
-
} }, hAsync("div", { key: '
|
6260
|
+
} }, hAsync("div", { key: 'c0f56ee4fbbdd38fea208d133cdd1fa91a41d6c7', class: "container" }, displayIndeterminate ? (hAsync("div", { class: "indeterminate-symbol" })) : (checked && (hAsync("svg", { class: "checkmark", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "fill-rule": "evenodd", "clip-rule": "evenodd" }, hAsync("title", null, "checkmark icon"), hAsync("path", { d: "M21 6.285l-11.16 12.733-6.84-6.018 1.319-1.49 5.341 4.686 9.865-11.196 1.475 1.285z" })))), hAsync("input", { key: 'f8335e54b2f765591b3781d76a01632c34065855', role: "checkbox", class: {
|
6120
6261
|
checkbox: true,
|
6121
6262
|
checked,
|
6122
6263
|
indeterminate: displayIndeterminate,
|
6123
|
-
}, ref: (el) => (this.checkboxEl = el), type: "checkbox", name: name, id: id, value: value, disabled: disabled, checked: checked, indeterminate: displayIndeterminate, onClick: handleClick, form: form, "aria-label": hideLabel ? label : undefined }), !hideLabel && (hAsync("ic-typography", { key: '
|
6264
|
+
}, ref: (el) => (this.checkboxEl = el), type: "checkbox", name: name, id: id, value: value, disabled: disabled, checked: checked, indeterminate: displayIndeterminate, onClick: handleClick, form: form, "aria-label": hideLabel ? label : undefined }), !hideLabel && (hAsync("ic-typography", { key: '2ba4862a349e6b3f34c050c434ce247687f0dfd8', class: "checkbox-label", variant: "body" }, hAsync("label", { key: 'a3f3c733b5dc0a0acdf89d3b7db603e965102618', htmlFor: id }, label)))), isSlotUsed$1(el, "additional-field") && (hAsync("div", { key: 'ad38f0547dda8ce82cd107fec3f3ff9d555cc1e8', class: "dynamic-container", ref: (el) => (this.additionalFieldContainer = el) }, isDynamicAdditionalField && hAsync("div", { key: 'd2c8566cada65dbd60546873ccbfedb33ec0e093', class: "branch-corner" }), hAsync("div", { key: '05489504f66d7f6e79bbbf18302dd63348f2f4a7', class: "dynamic-field-container" }, isDynamicAdditionalField && (hAsync("ic-typography", { key: 'eb397dc91080f791a4fd13e3c1815fad70c7cb87', variant: "caption" }, hAsync("p", { key: '49633d6c0806655957055fbef51688bfdeb11411', class: "dynamic-text", "aria-live": "polite" }, dynamicText))), hAsync("div", { key: '916e20f79f80cd7ff0fb5c4b030caf07f146ffcc', class: {
|
6124
6265
|
"additional-field-wrapper": !isDynamicAdditionalField,
|
6125
|
-
} }, hAsync("slot", { key: '
|
6266
|
+
} }, hAsync("slot", { key: '5783108ca7c6edb7c55dad2cc9469549e31d7cd3', name: "additional-field" })))))));
|
6126
6267
|
}
|
6127
6268
|
static get delegatesFocus() { return true; }
|
6128
6269
|
get el() { return getElement(this); }
|
@@ -6257,11 +6398,11 @@ class CheckboxGroup {
|
|
6257
6398
|
const { disabled, helperText, hideLabel, label, name, required, size, theme, validationStatus, validationText, } = this;
|
6258
6399
|
const describedBy = getInputDescribedByText$1(this.el, name, helperText !== "", validationStatus !== "");
|
6259
6400
|
const renderSRText = validationStatus === "error" || required || hideLabel;
|
6260
|
-
return (hAsync(Host, { key: '
|
6401
|
+
return (hAsync(Host, { key: '977492f0ca432ab5dc9d7435c66cf6aafa8c44f1', class: {
|
6261
6402
|
"ic-checkbox-group-disabled": !!disabled,
|
6262
6403
|
[`ic-checkbox-group-${size}`]: true,
|
6263
6404
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
6264
|
-
} }, renderSRText && (hAsync("span", { key: '
|
6405
|
+
} }, renderSRText && (hAsync("span", { key: '5a9d1c9fcf5f1b837e4f6ff3ae516db0b105e1ac', id: "screenReaderOnlyText", class: "screen-reader-only-text", "aria-hidden": "true" }, label, " ", validationStatus === "error" ? "invalid data " : null, " ", required ? "required" : null)), hAsync("fieldset", { key: 'c3afb98a671db4dba8229d461c33d4b5a69d5e31', id: name, "aria-labelledby": `${renderSRText ? "screenReaderOnlyText" : ""} ${describedBy}`.trim(), disabled: disabled }, !hideLabel && (hAsync("legend", { key: 'bc4e450767c3fb6f7deb01370d9d1599d4515417' }, hAsync("ic-input-label", { key: '7c0c76b80d4b89673495b56a79cf8a05f0a224f3', class: { [`${validationStatus}`]: true }, label: label, helperText: helperText, required: required, disabled: disabled, useLabelTag: false }, hAsync("slot", { key: '348730e9c8ffbd0701a00e9380a11e403957604b', name: "helper-text", slot: "helper-text" })))), hAsync("div", { key: 'c4065c98766a8447ed51c0a84f953cc70c529d2c', class: "checkboxes-container" }, hAsync("slot", { key: 'cadbff332d84cf70bbbb42f1c40f4cb0bc705e38' }))), hasValidationStatus(validationStatus, disabled) && (hAsync("ic-input-validation", { key: '0259abfb51282b2dfc8ed9aed0a2b97ccb769ac2', for: name, ariaLiveMode: "polite", status: validationStatus, message: validationText }))));
|
6265
6406
|
}
|
6266
6407
|
get el() { return getElement(this); }
|
6267
6408
|
static get watchers() { return {
|
@@ -6363,12 +6504,20 @@ class Chip {
|
|
6363
6504
|
watchDisabledHandler() {
|
6364
6505
|
removeDisabledFalse$1(this.disabled, this.el);
|
6365
6506
|
}
|
6507
|
+
disconnectedCallback() {
|
6508
|
+
var _a;
|
6509
|
+
(_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
6510
|
+
}
|
6366
6511
|
componentWillLoad() {
|
6367
6512
|
removeDisabledFalse$1(this.disabled, this.el);
|
6368
6513
|
this.customColorHandler();
|
6369
6514
|
}
|
6370
6515
|
componentDidLoad() {
|
6371
6516
|
onComponentRequiredPropUndefined$1([{ prop: this.label, propName: "label" }], "Chip");
|
6517
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots$1(mutationList, ["icon", "badge"]));
|
6518
|
+
this.hostMutationObserver.observe(this.el, {
|
6519
|
+
childList: true,
|
6520
|
+
});
|
6372
6521
|
}
|
6373
6522
|
handleClick() {
|
6374
6523
|
this.visible = !this.visible;
|
@@ -6383,10 +6532,10 @@ class Chip {
|
|
6383
6532
|
render() {
|
6384
6533
|
const { label, variant, size, dismissible, visible, disabled, hovered, theme, foregroundColor, dismissLabel, transparentBackground, } = this;
|
6385
6534
|
const ariaLabel = `${label} chip`;
|
6386
|
-
return (hAsync(Host, { key: '
|
6535
|
+
return (hAsync(Host, { key: 'ced030b6d7a5aeb6b7030ea7858200187d16ae90', class: {
|
6387
6536
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
6388
6537
|
[`ic-chip-${foregroundColor}-text`]: variant === "filled" && !!foregroundColor,
|
6389
|
-
} }, visible && (hAsync("div", { key: '
|
6538
|
+
} }, visible && (hAsync("div", { key: 'dca2da18144d1ee47d9507cbb616bc6493060f94', class: {
|
6390
6539
|
chip: true,
|
6391
6540
|
[`${variant}`]: true,
|
6392
6541
|
[`${size}`]: true,
|
@@ -6394,7 +6543,7 @@ class Chip {
|
|
6394
6543
|
dismissible,
|
6395
6544
|
hovered,
|
6396
6545
|
"non-transparent": variant === "outlined" && !transparentBackground,
|
6397
|
-
} }, isSlotUsed$1(this.el, "icon") && (hAsync("div", { key: '
|
6546
|
+
} }, isSlotUsed$1(this.el, "icon") && (hAsync("div", { key: '3e1537327125e7cfd54a20aeeb3f6279560da02f', class: "icon" }, hAsync("slot", { key: '33a229dad89f94f165c0a3f77e83720e1cc0603f', name: "icon" }))), hAsync("ic-typography", { key: '7445c7ae2254c909af206b43e5044f643177f1af', variant: "label", "apply-vertical-margins": false, class: { label: true, "in-ag-grid": isElInAGGrid(this.el) } }, hAsync("span", { key: 'af34cb3ca942ea778c3ba4716f983755571626db' }, label)), dismissible && (hAsync("ic-tooltip", { key: '7664945e7ddc8cb66a302265a5b7affcea514241', label: dismissLabel, target: "dismiss-icon", class: { "tooltip-disabled": disabled } }, hAsync("button", { key: '692fd13b54eef71e29ef4d3639182617770684df', id: "dismiss-icon", class: "dismiss-icon", ref: (el) => (this.buttonEl = el), "aria-label": `${dismissLabel} ${ariaLabel}`, disabled: disabled, tabindex: disabled ? -1 : 0, onClick: this.dismissAction, onMouseEnter: this.mouseEnterHandler, onMouseLeave: this.mouseLeaveHandler, innerHTML: dismissIcon }))), isSlotUsed$1(this.el, "badge") && hAsync("slot", { key: '6db0a5f0dd29df3315caa52aba01d339449e3bdd', name: "badge" }))), dismissible && (hAsync("div", { key: '2d989a411ff7eedad1e9238714c704c3e2d0d536', class: "sr-only", "aria-live": "polite" }, !visible ? `Dismissed ${ariaLabel}` : ""))));
|
6398
6547
|
}
|
6399
6548
|
static get delegatesFocus() { return true; }
|
6400
6549
|
get el() { return getElement(this); }
|
@@ -6472,10 +6621,10 @@ class ClassificationBanner {
|
|
6472
6621
|
if (!classification ||
|
6473
6622
|
(classification && !classificationText[classification]))
|
6474
6623
|
classification = "default";
|
6475
|
-
return (hAsync(Host, { key: '
|
6624
|
+
return (hAsync(Host, { key: '8ccd98249fea7e78da349f2c97243366305c5dcc', class: { ["ic-classification-banner-inline"]: !!inline } }, hAsync("banner", { key: 'a108ace2bf5f64c5867f993d9d130595b61ccac9', "aria-label": "Protective marking", class: {
|
6476
6625
|
["classification-banner"]: true,
|
6477
6626
|
[`${classification}`]: classification,
|
6478
|
-
} }, classification !== "default" ? (hAsync("span", { class: "offscreen" }, "The protective marking of this page is:", " ")) : null, hAsync("ic-typography", { key: '
|
6627
|
+
} }, classification !== "default" ? (hAsync("span", { class: "offscreen" }, "The protective marking of this page is:", " ")) : null, hAsync("ic-typography", { key: '09edc559ec7b205d092210ef73ef95faa43c1a8a', variant: "caption-uppercase" }, classification === "default"
|
6479
6628
|
? classificationText[classification]
|
6480
6629
|
: `${upTo ? "up to" : ""}
|
6481
6630
|
${country}
|
@@ -6522,10 +6671,10 @@ class DataList {
|
|
6522
6671
|
if (size === "small") {
|
6523
6672
|
Array.from(el.children).forEach((child) => child.setAttribute("size", "small"));
|
6524
6673
|
}
|
6525
|
-
return (hAsync(Host, { key: '
|
6674
|
+
return (hAsync(Host, { key: '5e7af483f24335b47442b4aa768c7b04bc14bb64', class: {
|
6526
6675
|
"ic-data-list-small": size === "small",
|
6527
6676
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
6528
|
-
} }, hAsync("div", { key: '
|
6677
|
+
} }, hAsync("div", { key: 'a74f7d4a87b21b053a500cab89ca978ada43263e', class: "heading", id: "data-list-heading" }, hAsync("slot", { key: 'c4896992d8558dfbe2a1d8dd689cabae2581ce89', name: "heading" }, hAsync("ic-typography", { key: 'b05016df276422f769464a73d6ae71533d3c028f', variant: "h3" }, heading))), hAsync("div", { key: 'a984729dc0849a27d09cd6403efd230cfc927007', class: "divider" }), hAsync("ul", { key: '916c5b5c74f16f3fab74e2a157c2216b570420f5', "aria-labelledby": "data-list-heading", class: "rows" }, hAsync("slot", { key: 'e5e05b0957b4cf986139795f31771556fd5f6150' }))));
|
6529
6678
|
}
|
6530
6679
|
get el() { return getElement(this); }
|
6531
6680
|
static get style() { return IcDataListStyle0; }
|
@@ -6615,12 +6764,12 @@ class DataRow {
|
|
6615
6764
|
}
|
6616
6765
|
render() {
|
6617
6766
|
const { el, listSize, hasEndComponent, label, renderCellContent, size, theme, value, } = this;
|
6618
|
-
return (hAsync(Host, { key: '
|
6767
|
+
return (hAsync(Host, { key: '9a94132a8884960a5ec1c2f2772e89f46dbcc995', class: {
|
6619
6768
|
["ic-data-row-small"]: size === "small",
|
6620
6769
|
["breakpoint-medium"]: listSize === "m",
|
6621
6770
|
["breakpoint-xs"]: listSize === "xs",
|
6622
6771
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
6623
|
-
}, role: "listitem" }, hAsync("div", { key: '
|
6772
|
+
}, role: "listitem" }, hAsync("div", { key: '8a354952861f100d66f454998c5b6a40eff226bd', class: "data" }, hAsync("div", { key: '55359f425068a3a2b16cf194bc562ea8a2f865be', class: "text-cells" }, (isSlotUsed$1(el, "label") || label) && renderCellContent("label"), (isSlotUsed$1(el, "value") || value) && renderCellContent("value")), hasEndComponent && (hAsync("div", { key: '1bb95d477f8d30759480a304c5214c9530a118d2', class: "end-component" }, hAsync("slot", { key: '11284607c2c69d5b231d41ae307ca3044b49b8d1', name: "end-component" })))), hAsync("div", { key: 'c4289c8446de02edbf8491e6d1d3cdb66561483e', class: "divider" })));
|
6624
6773
|
}
|
6625
6774
|
get el() { return getElement(this); }
|
6626
6775
|
static get style() { return IcDataRowStyle0; }
|
@@ -7206,7 +7355,7 @@ class DataTable {
|
|
7206
7355
|
}
|
7207
7356
|
return columnWidthStyling;
|
7208
7357
|
};
|
7209
|
-
this.getCalculatedRowHeight = (columnProps,
|
7358
|
+
this.getCalculatedRowHeight = (columnProps, cell, rowTextWrap, currentRowHeight) => {
|
7210
7359
|
if ((this.truncationPattern || currentRowHeight) &&
|
7211
7360
|
!(columnProps === null || columnProps === void 0 ? void 0 : columnProps.textWrap) &&
|
7212
7361
|
!rowTextWrap &&
|
@@ -7236,22 +7385,22 @@ class DataTable {
|
|
7236
7385
|
}
|
7237
7386
|
});
|
7238
7387
|
};
|
7239
|
-
this.createCellContent = (columnProps, cell, cellSlotName,
|
7388
|
+
this.createCellContent = (columnProps, cell, cellSlotName, hasIcon, cellValue, rowOptions, currentRowHeight) => {
|
7240
7389
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
7241
7390
|
return (hAsync("div", { innerHTML: (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) === "element" &&
|
7242
7391
|
!isSlotUsed(this.el, cellSlotName)
|
7243
7392
|
? cell
|
7244
|
-
: undefined, class: Object.assign(Object.assign({ "cell-container": (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element", [`cell-alignment-${((
|
7245
|
-
((
|
7246
|
-
this.getCellAlignment(cell, "horizontal")}`]: !!((
|
7247
|
-
!!((
|
7393
|
+
: undefined, class: Object.assign(Object.assign({ "cell-container": (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element", "cell-icon": hasIcon || !!((_a = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _a === void 0 ? void 0 : _a.icon), [`cell-alignment-${((_b = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _b === void 0 ? void 0 : _b.horizontal) ||
|
7394
|
+
((_c = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _c === void 0 ? void 0 : _c.horizontal) ||
|
7395
|
+
this.getCellAlignment(cell, "horizontal")}`]: !!((_d = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _d === void 0 ? void 0 : _d.horizontal) ||
|
7396
|
+
!!((_e = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _e === void 0 ? void 0 : _e.horizontal) ||
|
7248
7397
|
!!this.getCellAlignment(cell, "horizontal"), [`data-type-${columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType}`]: true, [this.TEXT_WRAP_STRING]: (columnProps === null || columnProps === void 0 ? void 0 : columnProps.textWrap) ||
|
7249
7398
|
(rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.textWrap) ||
|
7250
|
-
!!this.getCellOptions(cell, "textWrap"), [
|
7399
|
+
!!this.getCellOptions(cell, "textWrap"), [`cell-emphasis-${(this.isObject(cell) && cellValue("emphasis")) ||
|
7251
7400
|
(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
7252
|
-
|
7401
|
+
(rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.emphasis)}`]: (this.isObject(cell) && !!cellValue("emphasis")) ||
|
7253
7402
|
!!(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
7254
|
-
!!
|
7403
|
+
!!(rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.emphasis) }, this.setTruncationClass()), { [this.CELL_CONTAINER_WITH_DESCRIPTION_STRING]: this.isObject(cell) && Object.keys(cell).includes("description") }), style: Object.assign(Object.assign({}, this.getCalculatedRowHeight(columnProps, cell, rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.textWrap, currentRowHeight)), this.getColumnWidth(columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnWidth)), "data-row-height": this.truncationPattern || currentRowHeight
|
7255
7404
|
? this.setRowHeight(currentRowHeight)
|
7256
7405
|
: null }, isSlotUsed(this.el, cellSlotName) ? (hAsync("slot", { name: cellSlotName })) : (hAsync(Fragment, null, isSlotUsed(this.el, `${cellSlotName}-icon`) ? (hAsync("slot", { name: `${cellSlotName}-icon` })) : ((hasIcon || ((_f = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _f === void 0 ? void 0 : _f.onAllCells)) &&
|
7257
7406
|
(cellValue("icon") || ((_g = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _g === void 0 ? void 0 : _g.icon)) && (hAsync("span", { class: "icon", innerHTML: cellValue("icon") || ((_h = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _h === void 0 ? void 0 : _h.icon) }))), (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element" &&
|
@@ -7261,9 +7410,9 @@ class DataTable {
|
|
7261
7410
|
} }, hAsync("ic-typography", { variant: "body", class: {
|
7262
7411
|
[`cell-emphasis-${(this.isObject(cell) && cellValue("emphasis")) ||
|
7263
7412
|
(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
7264
|
-
|
7413
|
+
(rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.emphasis)}`]: (this.isObject(cell) && !!cellValue("emphasis")) ||
|
7265
7414
|
!!(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
7266
|
-
!!
|
7415
|
+
!!(rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.emphasis),
|
7267
7416
|
[`text-${this.density}`]: this.notDefaultDensity(),
|
7268
7417
|
} }, this.isObject(cell) && (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "date" ? (Object.keys(cell).includes("href") ? (hAsync("ic-link", { href: cellValue("href"), theme: this.theme, target: cellValue("target") || undefined, rel: cellValue("rel") || undefined }, cellValue("data"))) : (cellValue("data"))) : (this.getCellContent(cell, columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType))), this.isObject(cell) &&
|
7269
7418
|
Object.keys(cell).includes("description") && (hAsync("div", { class: {
|
@@ -7273,48 +7422,37 @@ class DataTable {
|
|
7273
7422
|
};
|
7274
7423
|
this.createCells = (row, rowIndex) => {
|
7275
7424
|
var _a;
|
7276
|
-
const rowKeys = Object.keys(row);
|
7277
|
-
const rowOptions = this.getObjectValue(row, "rowOptions");
|
7278
|
-
let rowAlignment;
|
7279
|
-
let rowEmphasis;
|
7280
|
-
const rowHeader = this.getObjectValue(row, "header");
|
7281
|
-
if (rowHeader) {
|
7282
|
-
rowAlignment = this.getObjectValue(rowHeader, "rowAlignment");
|
7283
|
-
rowEmphasis = this.getObjectValue(rowHeader, "emphasis");
|
7284
|
-
}
|
7285
7425
|
const variableRowHeightVal = (_a = this.variableRowHeight) === null || _a === void 0 ? void 0 : _a.call(this, Object.assign(Object.assign({}, row), { index: rowIndex }));
|
7286
7426
|
const currentRowHeight = variableRowHeightVal
|
7287
7427
|
? variableRowHeightVal !== "auto" && variableRowHeightVal
|
7288
7428
|
: this.globalRowHeight !== "auto" && this.globalRowHeight;
|
7289
|
-
|
7429
|
+
const { rowOptions } = row;
|
7430
|
+
return this.columns.map((column) => {
|
7290
7431
|
var _a, _b, _c, _d;
|
7291
|
-
|
7292
|
-
|
7293
|
-
|
7294
|
-
|
7295
|
-
|
7296
|
-
|
7297
|
-
|
7298
|
-
|
7299
|
-
|
7300
|
-
|
7301
|
-
|
7302
|
-
|
7303
|
-
if (rowKeys[index] !== "rowOptions") {
|
7304
|
-
return (hAsync("td", { class: {
|
7305
|
-
["table-cell"]: true,
|
7306
|
-
[`table-density-${this.density}`]: this.notDefaultDensity(),
|
7307
|
-
["with-overflow"]: (column === null || column === void 0 ? void 0 : column.dataType) === "element",
|
7308
|
-
[`cell-vertical-align-${((_a = column === null || column === void 0 ? void 0 : column.columnAlignment) === null || _a === void 0 ? void 0 : _a.vertical) ||
|
7309
|
-
((_b = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _b === void 0 ? void 0 : _b.vertical) ||
|
7310
|
-
rowAlignment ||
|
7311
|
-
this.getCellAlignment(cell, "vertical")}`]: !!((_c = column === null || column === void 0 ? void 0 : column.columnAlignment) === null || _c === void 0 ? void 0 : _c.vertical) ||
|
7312
|
-
!!((_d = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _d === void 0 ? void 0 : _d.vertical) ||
|
7313
|
-
!!rowAlignment ||
|
7314
|
-
!!this.getCellAlignment(cell, "vertical"),
|
7315
|
-
}, style: Object.assign({}, this.getColumnWidth(column.columnWidth)) }, isSlotUsed(this.el, `${cellSlotName}-action-element`) ? (hAsync("div", { class: "cell-grid-wrapper" }, CellContent, hAsync("span", { class: "action-element" }, hAsync("slot", { name: `${cellSlotName}-action-element` })))) : (CellContent)));
|
7316
|
-
}
|
7432
|
+
const { columnAlignment, columnWidth, dataType, hidden, key } = column;
|
7433
|
+
if (hidden)
|
7434
|
+
return;
|
7435
|
+
const cell = this.getObjectValue(row, key);
|
7436
|
+
const cellSlotName = `${key}-${rowIndex}`;
|
7437
|
+
const cellValue = (key) => this.getObjectValue(cell, key);
|
7438
|
+
if (key === "header" && (rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.header)) {
|
7439
|
+
return (hAsync("th", { scope: "row", class: {
|
7440
|
+
"row-header": true,
|
7441
|
+
"row-header-sticky": this.stickyRowHeaders,
|
7442
|
+
[`row-header-alignment-${(_a = rowOptions.rowAlignment) === null || _a === void 0 ? void 0 : _a.horizontal}`]: !!((_b = rowOptions.rowAlignment) === null || _b === void 0 ? void 0 : _b.horizontal),
|
7443
|
+
} }, rowOptions.header));
|
7317
7444
|
}
|
7445
|
+
const CellContent = this.createCellContent(column, cell, cellSlotName, this.isObject(cell) && Object.keys(cell).includes("icon"), cellValue, rowOptions, currentRowHeight || undefined);
|
7446
|
+
return (hAsync("td", { class: {
|
7447
|
+
"table-cell": true,
|
7448
|
+
"with-overflow": dataType === "element",
|
7449
|
+
[`table-density-${this.density}`]: this.notDefaultDensity(),
|
7450
|
+
[`cell-vertical-align-${(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.vertical) ||
|
7451
|
+
((_c = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _c === void 0 ? void 0 : _c.vertical) ||
|
7452
|
+
this.getCellAlignment(cell, "vertical")}`]: !!(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.vertical) ||
|
7453
|
+
!!((_d = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _d === void 0 ? void 0 : _d.vertical) ||
|
7454
|
+
!!this.getCellAlignment(cell, "vertical"),
|
7455
|
+
}, style: Object.assign({}, this.getColumnWidth(columnWidth)) }, isSlotUsed(this.el, `${cellSlotName}-action-element`) ? (hAsync("div", { class: "cell-grid-wrapper" }, CellContent, hAsync("span", { class: "action-element" }, hAsync("slot", { name: `${cellSlotName}-action-element` })))) : (CellContent)));
|
7318
7456
|
});
|
7319
7457
|
};
|
7320
7458
|
this.createColumnHeaders = () => (this.columns || []).map(({ cellAlignment, colspan, icon, key, title, columnWidth, excludeColumnFromSort, hidden, }, index) => hidden !== true && (hAsync("th", { scope: "col", class: {
|
@@ -7332,9 +7470,7 @@ class DataTable {
|
|
7332
7470
|
} }, title))) : (hAsync("ic-typography", { variant: "body", class: {
|
7333
7471
|
["column-header-text"]: true,
|
7334
7472
|
[`text-${this.density}`]: this.notDefaultDensity(),
|
7335
|
-
} }, title)), this.sortable && !excludeColumnFromSort && (hAsync("ic-button", { variant: "icon-tertiary", id: `sort-button-${key}`, "aria-label": this.getSortButtonLabel(key),
|
7336
|
-
// eslint-disable-next-line react/jsx-no-bind
|
7337
|
-
onClick: () => this.sortRows(key), innerHTML: this.SORT_ICONS[this.sortedColumn === key
|
7473
|
+
} }, title)), this.sortable && !excludeColumnFromSort && (hAsync("ic-button", { variant: "icon-tertiary", id: `sort-button-${key}`, "aria-label": this.getSortButtonLabel(key), onClick: () => this.sortRows(key), innerHTML: this.SORT_ICONS[this.sortedColumn === key
|
7338
7474
|
? this.sortedColumnOrder
|
7339
7475
|
: "unsorted"], class: {
|
7340
7476
|
["sort-button"]: true,
|
@@ -8005,22 +8141,22 @@ class DataTable {
|
|
8005
8141
|
? "deselect all"
|
8006
8142
|
: "select all remaining"
|
8007
8143
|
: "select all";
|
8008
|
-
return (hAsync(Host, { key: '
|
8144
|
+
return (hAsync(Host, { key: 'bcb83a93fd9734b2ddb501c75a0bd7267f22b45c', style: Object.assign({}, this.setTableDimensions()), class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, hAsync("div", { key: '2aeadd74b7a8e5acf93ea72ce77c7a0ad520d95b', class: "table-container" }, isSlotUsed(this.el, "title-bar") && hAsync("slot", { key: '359c51f2db8d1ef0f4ba4da77acc334cb82f0ff1', name: "title-bar" }), hAsync("div", { key: 'ad28fdb967fe02e2d3b31e9e73787655f9b5bf5c', class: {
|
8009
8145
|
["table-row-container"]: true,
|
8010
8146
|
scrollable,
|
8011
|
-
}, tabIndex: scrollable ? 0 : undefined, onScroll: updateScrollOffset }, hAsync("table", { key: '
|
8147
|
+
}, tabIndex: scrollable ? 0 : undefined, onScroll: updateScrollOffset }, hAsync("table", { key: 'ed247db011e9783c6d56a03afe480fe5f4f2b6d0', style: {
|
8012
8148
|
"--table-layout": tableLayout,
|
8013
|
-
} }, hAsync("caption", { key: '
|
8149
|
+
} }, hAsync("caption", { key: '52bd7f8ae17ba373dceba49f7ee628780c825c71', class: "table-caption" }, caption), !hideColumnHeaders && (hAsync("thead", { key: '04d0c0199793ac830c9cc24fca64c999a287b690', class: {
|
8014
8150
|
["column-header-sticky"]: stickyColumnHeaders,
|
8015
8151
|
["column-header-overlay"]: stickyColumnHeaders && scrollOffset !== 0,
|
8016
|
-
} }, hAsync("tr", { key: '
|
8152
|
+
} }, hAsync("tr", { key: '5ff4686d2053f702a4d8217986d94d7a45596402' }, rowSelection && data && (hAsync("th", { key: 'b03c33ef7d27c1be4b9cff06eecfd85f280fb379', class: {
|
8017
8153
|
"column-header": true,
|
8018
8154
|
"checkbox-cell": true,
|
8019
8155
|
"updating-state-headers": updating && !loading,
|
8020
8156
|
[`table-density-${density}`]: this.notDefaultDensity(),
|
8021
|
-
} }, hAsync("div", { key: '
|
8157
|
+
} }, hAsync("div", { key: '5c114f3e53652b8b700b2fad7365976f87b7b6c2', class: "checkbox-wrapper" }, hAsync("ic-checkbox", { key: '349c87540675235321324f16157deedbd3221e45', class: "ic-data-table-checkbox", checked: rowsSelected && allRowsSelected, disabled: updating || loading, hideLabel: true, indeterminate: rowsSelected && !allRowsSelected, label: `${caption} ${headerCheckboxLabelState} rows`, nativeIndeterminateBehaviour: true, onIcCheck: () => selectAllRows(), size: density === "dense" ? "small" : "medium", value: caption })))), createColumnHeaders()))), updating &&
|
8022
8158
|
!loading &&
|
8023
|
-
(hideColumnHeaders ? (hAsync("thead", null, createUpdatingIndicator())) : (createUpdatingIndicator())), this.renderTableBody(loading, data, loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.overlay)), this.renderEmptyState(loading, data, loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.overlay)), hAsync("div", { key: '
|
8159
|
+
(hideColumnHeaders ? (hAsync("thead", null, createUpdatingIndicator())) : (createUpdatingIndicator())), this.renderTableBody(loading, data, loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.overlay)), this.renderEmptyState(loading, data, loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.overlay)), hAsync("div", { key: '913a847423633138a6f2ed004499c82863ae9b90', "aria-live": "assertive", class: "sr-only" }, this.renderAriaLiveLoading()), this.renderLoadingIndicator(loading, loadingOptions), (showPagination || isSlotUsed(this.el, "pagination-bar")) && (hAsync("div", { key: '3998139318125dd0767c2ec0faf5e3059335aa40', class: "pagination-container" }, isSlotUsed(this.el, "pagination-bar") ? (hAsync("slot", { name: "pagination-bar" })) : (hAsync("ic-pagination-bar", { alignment: paginationBarOptions.alignment, hideAllFromItemsPerPage: paginationBarOptions.hideAllFromItemsPerPage, hideRangeLabel: paginationBarOptions.hideRangeLabel, itemLabel: paginationBarOptions.itemLabel, itemsPerPageOptions: paginationBarOptions.itemsPerPageOptions, monochrome: paginationBarOptions.monochrome, pageLabel: paginationBarOptions.pageLabel, rangeLabelType: paginationBarOptions.rangeLabelType, selectedItemsPerPage: paginationBarOptions.selectedItemsPerPage, selectItemsPerPageOnEnter: paginationBarOptions.selectItemsPerPageOnEnter, setToFirstPageOnPaginationChange: paginationBarOptions.setToFirstPageOnPaginationChange, showGoToPageControl: paginationBarOptions.showGoToPageControl, showItemsPerPageControl: paginationBarOptions.showItemsPerPageControl, theme: theme, totalItems: (_a = data === null || data === void 0 ? void 0 : data.length) !== null && _a !== void 0 ? _a : 0, type: paginationBarOptions.type })))), sortable && (hAsync("div", { key: '97605941ae5d70267886542504d34751695ea57f', class: "screen-reader-sort-text", "aria-live": "polite" }, sortedColumnOrder !== "unsorted" && sortedColumn
|
8024
8160
|
? `${((_b = columns.find((col) => col.key === sortedColumn)) === null || _b === void 0 ? void 0 : _b.title) ||
|
8025
8161
|
sortedColumn} sorted ${sortedColumnOrder}`
|
8026
8162
|
: "table unsorted")))));
|
@@ -8259,7 +8395,7 @@ var Calendar = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" v
|
|
8259
8395
|
const icDateInputCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{--ic-input-label-helpertext-padding:var(--ic-space-xs);--input-bg-color:var(--ic-date-input-bg);--ic-input-label-text-color:var(--ic-date-input-label);--ic-input-label-helper-text-color:var(--ic-date-input-subtitle);--border-color:var(--ic-date-input-border);--border-color-disabled:var(--ic-date-input-border-disabled);--border-color-hover:var(--ic-date-input-border-default-hover);--border-color-pressed:var(--ic-date-input-border-default-pressed);--border-error-color:var(--ic-date-input-border-error);--border-error-color-hover:var(--ic-date-input-border-error-hover);--border-error-color-pressed:var(--ic-date-input-border-error-pressed);--border-success-color:var(--ic-date-input-border-success);--border-success-color-hover:var(--ic-date-input-border-success-hover);--border-success-color-pressed:var(--ic-date-input-border-success-pressed);--border-warning-color:var(--ic-date-input-border-warning);--border-warning-color-hover:var(--ic-date-input-border-warning-hover);--border-warning-color-pressed:var(--ic-date-input-border-warning-pressed)}:host(.ic-date-input-disabled){--ic-input-label-text-color:var(--ic-date-input-label-disabled);--ic-input-label-helper-text-color:var(--ic-date-input-subtitle-disabled)}input{border:0;height:100%;padding:0;outline:none;background:none;-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield;color:var(--ic-date-input-text-filled);caret-color:var(--ic-date-input-typing-cursor)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none}input:-webkit-autofill{box-shadow:0 0 0 var(--ic-space-sm) var(--ic-color-background-primary) inset;-webkit-text-fill-color:var(--ic-date-input-text-filled) !important}input::-moz-placeholder{color:var(--ic-date-input-text-placeholder)}input::placeholder{color:var(--ic-date-input-text-placeholder)}ic-input-component-container{cursor:text}ic-input-component-container .focus-indicator{padding:var(--ic-space-xxxs) var(--ic-space-xs);align-items:center}.date-inputs{color:var(--ic-date-input-text-placeholder)}.day-input{width:1.438rem}.month-input{width:1.813rem}.year-input,.year-input.fit-to-value{width:2.313rem}.fit-to-value{width:1.25rem}.sr-only{position:absolute;left:-9999px}.input-container{width:100%;display:flex;justify-content:space-between;align-items:center;position:relative}.action-buttons{display:flex;align-items:center}.show-calendar-button-wrapper{display:flex;justify-content:center;align-items:center}.clear-button,.calendar-button{border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition);margin:0}.clear-button.hidden{display:none}.clear-button:focus,.calendar-button:focus,.clear-button:active,.calendar-button:active{background-color:var(--ic-color-focus-inner) !important;box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer) !important;border-radius:0.25rem}.calendar-button:focus,.calendar-button:active{--ic-button-tertiary-text-active:var(--ic-atoms-input-clear-button-focus);--ic-button-tertiary-text-hover-active:var(\n --ic-atoms-input-clear-button-focus\n );--ic-button-tertiary-text-pressed-active:var(\n --ic-atoms-input-clear-button-focus\n )}.clear-button:focus,.calendar-button:focus,.clear-button:active *,.calendar-button:active *{fill:var(--ic-atoms-input-clear-button-focus)}.clear-button svg{color:var(--ic-date-input-clear-icon)}.clear-button:focus svg{color:var(--ic-atoms-input-clear-button-focus)}.divider{margin:0 var(--ic-space-xxs);width:var(--ic-space-1px);background-color:var(--ic-atoms-input-divider);border-radius:var(--ic-space-1px)}.divider.small{height:var(--ic-space-md)}.divider.medium{height:calc(var(--ic-space-sm) + var(--ic-space-xs))}.divider.large{height:var(--ic-space-lg)}ic-input-validation{--ic-input-validation-status-text-color:var(--ic-date-input-status-text);--ic-input-validation-error:var(--ic-date-input-icon-error);--ic-input-validation-warning-icon-color:var(--ic-date-input-icon-warning);--ic-input-validation-success-icon-color:var(--ic-date-input-icon-success)}";
|
8260
8396
|
var IcDateInputStyle0 = icDateInputCss;
|
8261
8397
|
|
8262
|
-
let inputIds$
|
8398
|
+
let inputIds$5 = 0;
|
8263
8399
|
/**
|
8264
8400
|
* @slot helper-text - Content is set as the helper text for the date input.
|
8265
8401
|
*/
|
@@ -8281,7 +8417,7 @@ class DateInput {
|
|
8281
8417
|
this.inputsInOrder = [];
|
8282
8418
|
this.isAfterMax = false;
|
8283
8419
|
this.isBeforeMin = false;
|
8284
|
-
this.
|
8420
|
+
this.preventInputsUpdating = false;
|
8285
8421
|
this.isDisabledDate = false;
|
8286
8422
|
this.isValidDay = true;
|
8287
8423
|
this.isValidMonth = true;
|
@@ -8294,6 +8430,7 @@ class DateInput {
|
|
8294
8430
|
this.selectedDate = null;
|
8295
8431
|
this.externalSetDate = false;
|
8296
8432
|
this.clearInput = false;
|
8433
|
+
this.calendarIsOpen = false;
|
8297
8434
|
this.calendarFocused = false;
|
8298
8435
|
this.clearButtonFocused = false;
|
8299
8436
|
this.removeLabelledBy = false;
|
@@ -8347,7 +8484,7 @@ class DateInput {
|
|
8347
8484
|
/**
|
8348
8485
|
* The ID for the input.
|
8349
8486
|
*/
|
8350
|
-
this.inputId = `ic-date-input-${inputIds$
|
8487
|
+
this.inputId = `ic-date-input-${inputIds$5++}`;
|
8351
8488
|
/**
|
8352
8489
|
* The text to display as the validation message when an invalid date is entered.
|
8353
8490
|
*/
|
@@ -8501,7 +8638,6 @@ class DateInput {
|
|
8501
8638
|
this.setPreventInput(input, true);
|
8502
8639
|
}
|
8503
8640
|
else {
|
8504
|
-
this.setInputValue(input, true);
|
8505
8641
|
this.setPreventInput(input, false);
|
8506
8642
|
}
|
8507
8643
|
}
|
@@ -8550,7 +8686,7 @@ class DateInput {
|
|
8550
8686
|
break;
|
8551
8687
|
}
|
8552
8688
|
this.preventInput(event, isInputPrevented);
|
8553
|
-
this.
|
8689
|
+
this.preventInputsUpdating = true;
|
8554
8690
|
};
|
8555
8691
|
this.handleFocus = (event) => {
|
8556
8692
|
// Highlight / select all characters in input for easy replacement
|
@@ -8662,7 +8798,7 @@ class DateInput {
|
|
8662
8798
|
this.selectedDateInfoEl.textContent = "";
|
8663
8799
|
}
|
8664
8800
|
this.previousSelectedDate = this.selectedDate;
|
8665
|
-
if (!this.
|
8801
|
+
if (!this.preventInputsUpdating) {
|
8666
8802
|
this.updateInputValues(this.day, this.month, this.year);
|
8667
8803
|
}
|
8668
8804
|
}
|
@@ -9101,7 +9237,7 @@ class DateInput {
|
|
9101
9237
|
this.setPreventInput(input, false);
|
9102
9238
|
});
|
9103
9239
|
this.clearInput = false;
|
9104
|
-
this.
|
9240
|
+
this.preventInputsUpdating = false;
|
9105
9241
|
this.setValidationMessage();
|
9106
9242
|
this.handleDateChange(true);
|
9107
9243
|
this.inputsInOrder[0].focus();
|
@@ -9112,7 +9248,8 @@ class DateInput {
|
|
9112
9248
|
(_c = (_b = (_a = this.calendarButtonEl) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector("ic-tooltip")) === null || _c === void 0 ? void 0 : _c.displayTooltip(false);
|
9113
9249
|
this.calendarButtonClicked.emit({ value: this.selectedDate });
|
9114
9250
|
(_f = (_e = (_d = this.calendarButtonEl) === null || _d === void 0 ? void 0 : _d.shadowRoot) === null || _e === void 0 ? void 0 : _e.querySelector("ic-tooltip")) === null || _f === void 0 ? void 0 : _f.displayTooltip(false);
|
9115
|
-
this.
|
9251
|
+
this.preventInputsUpdating = false;
|
9252
|
+
this.calendarIsOpen = true;
|
9116
9253
|
};
|
9117
9254
|
this.setValueAndEmitChange = (value) => {
|
9118
9255
|
if (!dateMatches(this.value ? new Date(this.value) : null, value)) {
|
@@ -9122,17 +9259,28 @@ class DateInput {
|
|
9122
9259
|
};
|
9123
9260
|
this.handleCalendarFocus = () => {
|
9124
9261
|
this.calendarFocused = true;
|
9262
|
+
if (this.calendarIsOpen) {
|
9263
|
+
// focus event triggered by closing calendar dialog so inputs should update
|
9264
|
+
this.preventInputsUpdating = false;
|
9265
|
+
this.calendarIsOpen = false;
|
9266
|
+
}
|
9267
|
+
else {
|
9268
|
+
this.preventInputsUpdating = true;
|
9269
|
+
}
|
9125
9270
|
};
|
9126
9271
|
this.handleCalendarBlur = () => {
|
9127
9272
|
this.calendarFocused = false;
|
9273
|
+
this.preventInputsUpdating = true;
|
9128
9274
|
};
|
9129
9275
|
this.handleClearFocus = () => {
|
9130
9276
|
this.removeLabelledBy = true;
|
9277
|
+
this.preventInputsUpdating = true;
|
9131
9278
|
this.clearButtonFocused = true;
|
9132
9279
|
};
|
9133
9280
|
this.handleClearBlur = (ev) => {
|
9134
9281
|
var _a;
|
9135
9282
|
this.clearButtonFocused = false;
|
9283
|
+
this.preventInputsUpdating = true;
|
9136
9284
|
if ((_a = ev.relatedTarget) === null || _a === void 0 ? void 0 : _a.id.match(/(day|year)-input$/)) {
|
9137
9285
|
this.removeLabelledBy = false;
|
9138
9286
|
return;
|
@@ -9256,11 +9404,11 @@ class DateInput {
|
|
9256
9404
|
componentWillUpdate() {
|
9257
9405
|
if (isEmptyString(this.helperText))
|
9258
9406
|
this.helperText = this.defaultHelperText;
|
9259
|
-
if (!this.
|
9407
|
+
if (!this.preventInputsUpdating)
|
9260
9408
|
this.setDate(this.value);
|
9261
9409
|
this.setAriaInvalid(this.isValidDay, this.isValidMonth, this.isValidDate, this.isDisabledDate);
|
9262
9410
|
this.handleDateChange(false);
|
9263
|
-
this.
|
9411
|
+
this.preventInputsUpdating = false;
|
9264
9412
|
}
|
9265
9413
|
componentDidRender() {
|
9266
9414
|
if (this.removeLabelledBy) {
|
@@ -9390,7 +9538,7 @@ class DateInput {
|
|
9390
9538
|
this.invalidDateText = (_a = this.previousInvalidDateTest) !== null && _a !== void 0 ? _a : "";
|
9391
9539
|
this.isPasteValidationDisplayed = false;
|
9392
9540
|
// This is to prevent setDate from triggering within componentWillUpdate
|
9393
|
-
this.
|
9541
|
+
this.preventInputsUpdating = true;
|
9394
9542
|
}
|
9395
9543
|
}
|
9396
9544
|
notifyScreenReader(input, event) {
|
@@ -9415,15 +9563,15 @@ class DateInput {
|
|
9415
9563
|
: "";
|
9416
9564
|
const assistiveHint = `Type or use the up and down arrow keys to change the values for the ${this.getDescOfInputsOrder()}.`;
|
9417
9565
|
renderHiddenInput(true, this.el, this.name, this.convertToDate(this.year, this.month, this.day), this.disabled);
|
9418
|
-
return (hAsync(Host, { key: '
|
9566
|
+
return (hAsync(Host, { key: '767560eabf5c5242cf11ead943b6e07cff501305', class: {
|
9419
9567
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
9420
9568
|
[`ic-date-input-disabled`]: disabled,
|
9421
|
-
}, onBlur: this.handleHostBlur, onFocus: this.handleHostFocus }, hAsync("ic-input-container", { key: '
|
9569
|
+
}, onBlur: this.handleHostBlur, onFocus: this.handleHostFocus }, hAsync("ic-input-container", { key: 'cd37bd9a48a9f578cdf5b3f5a03bba04e4a502d5', disabled: disabled }, !(hideLabel && hideHelperText) && (hAsync("ic-input-label", { key: '0bdb602306aa1177106759da5f977f36869a51e1', for: inputId, label: label, hideLabel: hideLabel, helperText: !hideHelperText ? helperText : "", disabled: disabled }, hAsync("slot", { key: '3eba48de2044efaaba63c31474597c88906cf0e7', name: "helper-text", slot: "helper-text" }))), hAsync("span", { key: '4395cbcc455b0535a1dc51a17d43d2056894558c', id: this.screenReaderInfoId, class: "sr-only", "aria-hidden": "true" }, this.getScreenReaderInfo(validationStatus), hideLabel && `${label}\n`, hideHelperText && `${helperText}\n`, `${this.defaultHelperText}.`), hAsync("span", { key: '2832552e06bf18c157e4b89240603c66e97d2bd7', id: this.assistiveHintId, class: "sr-only", "aria-hidden": "true" }, assistiveHint), hAsync("span", { key: '96ea3a7bb98dec9d217c9abfde2fffe29fd8b10b', id: "live-region", "aria-live": "assertive", class: "sr-only" }), hAsync("ic-input-component-container", { key: '239191d8b0d2f732fab91303a283d4592a6a8cbc', id: inputId, ref: (el) => (this.inputCompContainerEl = el), disabled: disabled, validationStatus: validationStatus, size: size, role: "group", class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, hAsync("div", { key: 'b11b5d3a989391a0960b29ca54e78f9de1e41f97', class: "input-container" }, hAsync("div", { key: '2e4106d33ee3b1ef5cf89cb61ac38f15c792a601', class: "date-inputs" }, this.getInputsInOrder()[0], "/", this.getInputsInOrder()[1], "/", this.getInputsInOrder()[2]), hAsync("div", { key: '8da9c7b8ca40a1bba9a714de24ae33e540ed91d0', class: "action-buttons" }, showClearButton && (hAsync("ic-button", { key: '2a7a675746e26ffdd4a6d43f4fdd268b9425f81f', id: "clear-button", "aria-label": "Clear input", class: {
|
9422
9570
|
["clear-button"]: true,
|
9423
9571
|
["hidden"]: isEmptyString(this.day) &&
|
9424
9572
|
isEmptyString(this.month) &&
|
9425
9573
|
isEmptyString(this.year),
|
9426
|
-
}, disabled: this.disabled, innerHTML: Clear$1, onClick: this.handleClear, onFocus: this.handleClearFocus, onBlur: this.handleClearBlur, variant: "icon-tertiary", theme: this.clearButtonFocused ? "light" : "dark", size: size })), showCalendarButton && (hAsync("div", { key: '
|
9574
|
+
}, disabled: this.disabled, innerHTML: Clear$1, onClick: this.handleClear, onFocus: this.handleClearFocus, onBlur: this.handleClearBlur, variant: "icon-tertiary", theme: this.clearButtonFocused ? "light" : "dark", size: size })), showCalendarButton && (hAsync("div", { key: '1a402f80e4ebfdb1e323b159dc2f93e412f84ff2', class: "show-calendar-button-wrapper" }, hAsync("div", { key: '1a93e892a8808109e93eb94ecee6639f930e78ac', class: { divider: true, [size]: true } }), hAsync("ic-button", { key: '0a4a5c7d2fd886be631ad052d02175c05900a814', id: "calendar-button", ref: (el) => (this.calendarButtonEl = el), "aria-label": "Display calendar", "aria-haspopup": "dialog", class: "calendar-button", disabled: this.disabled, innerHTML: Calendar, onClick: this.handleCalendarOpen, variant: "icon-tertiary", size: size, onFocus: this.handleCalendarFocus, onBlur: this.handleCalendarBlur, theme: this.calendarFocused ? "light" : "dark" })))))), hAsync("span", { key: 'c3db6318bf5b2759c708d07d0b5e446d35702f38', id: this.selectedDateInfoId, class: "sr-only", "aria-live": "polite" }, hAsync("span", { key: '6a682bf4c118014e15709e3d7099f9346a41d1a5', ref: (el) => (this.selectedDateInfoEl = el), role: "status" })), (hasCustomValidation || !isEmptyString(this.invalidDateText)) && (hAsync("ic-input-validation", { key: '90d5948c97133f9c1028016a20bc8b09542de88c', status: validationStatus, message: hasCustomValidation ? this.validationText : this.invalidDateText, for: inputId })))));
|
9427
9575
|
}
|
9428
9576
|
static get delegatesFocus() { return true; }
|
9429
9577
|
get el() { return getElement(this); }
|
@@ -11054,7 +11202,7 @@ class Dialog {
|
|
11054
11202
|
}
|
11055
11203
|
render() {
|
11056
11204
|
const { dialogRendered, disableHeightConstraint, fadeIn, theme } = this;
|
11057
|
-
return (hAsync(Host, { key: '
|
11205
|
+
return (hAsync(Host, { key: 'ff1c220a6687596221a97f380dd78692d1689ca7', class: {
|
11058
11206
|
"ic-dialog-hidden": !dialogRendered,
|
11059
11207
|
"ic-dialog-fade-in": fadeIn,
|
11060
11208
|
"disable-height-constraint": !!disableHeightConstraint,
|
@@ -11254,11 +11402,11 @@ class EmptyState {
|
|
11254
11402
|
}
|
11255
11403
|
render() {
|
11256
11404
|
const { aligned, body, maxLines, heading, imageSize, subheading, theme } = this;
|
11257
|
-
return (hAsync(Host, { key: '
|
11405
|
+
return (hAsync(Host, { key: '4bb35d1c3476b88cc58e952b1b8785e4425d5339', class: {
|
11258
11406
|
[`ic-empty-state-${aligned}`]: true,
|
11259
11407
|
[`image-${imageSize}`]: isSlotUsed$1(this.el, "image"),
|
11260
11408
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
11261
|
-
} }, isSlotUsed$1(this.el, "image") && hAsync("slot", { key: '
|
11409
|
+
} }, isSlotUsed$1(this.el, "image") && hAsync("slot", { key: '9e87ed9f746d37f57505a75c62b10279b31ef54e', name: "image" }), hAsync("div", { key: '4f94dc11d843660d3fecd976fa71f9c57644c89b' }, hAsync("slot", { key: 'be23c55a8dc832904fbae342890d2a3d2d74ae85', name: "heading" }, hAsync("ic-typography", { key: '52bf3dca695fecff3e5d650bd81db23d09665258', variant: "h4", class: "empty-state-heading" }, heading)), hAsync("slot", { key: '7ed10d78475ac8b9c3f5a084a1294ad1be180f15', name: "subheading" }, hAsync("ic-typography", { key: '5772d056578a64a951178c3c3026b36d4b316496', variant: "subtitle-small", class: "empty-state-subheading" }, subheading)), hAsync("slot", { key: '14a8815b51a06521642921f09fa8346483522e84', name: "body" }, hAsync("ic-typography", { key: 'bca780cc2275e81d4e25bae45f5065f6fab3bcd5', maxLines: maxLines, class: "empty-state-body" }, body))), isSlotUsed$1(this.el, "actions") && (hAsync("div", { key: 'd6c0f61a358c1d0c86c4da922ed0504ffdc8228f', class: "action-area" }, hAsync("slot", { key: 'ac150a34e883376bfee43a6edbeb8992c3bc3f96', name: "actions" })))));
|
11262
11410
|
}
|
11263
11411
|
get el() { return getElement(this); }
|
11264
11412
|
static get style() { return IcEmptyStateStyle0; }
|
@@ -11372,7 +11520,7 @@ class Footer {
|
|
11372
11520
|
isSlotUsed$1(el, "caption") ||
|
11373
11521
|
caption ||
|
11374
11522
|
copyright;
|
11375
|
-
return (hAsync(Host, { key: '
|
11523
|
+
return (hAsync(Host, { key: '5e9f3b92157b9ffa5fc6e2dbe8f8a5c6a63a6237', class: {
|
11376
11524
|
["ic-footer"]: true,
|
11377
11525
|
[`ic-footer-${small ? "small" : "sparse"}`]: true,
|
11378
11526
|
[`ic-footer-${groupLinks ? "grouped" : "ungrouped"}`]: true,
|
@@ -11380,10 +11528,10 @@ class Footer {
|
|
11380
11528
|
// Slots will be able to infer their own color
|
11381
11529
|
[`ic-footer-${IcBrandForegroundEnum$1.Dark}`]: foregroundColor === IcBrandForegroundEnum$1.Dark,
|
11382
11530
|
[`ic-footer-${IcBrandForegroundEnum$1.Light}`]: foregroundColor === IcBrandForegroundEnum$1.Light,
|
11383
|
-
} }, hAsync("footer", { key: '
|
11531
|
+
} }, hAsync("footer", { key: 'cfae5dcdd5a431bba915b83e5ef2ae2347d5bb6d', ref: (el) => (this.footerEl = el) }, (isSlotUsed$1(el, "description") || description) && (hAsync("div", { key: '9f960b8fcae0e3281b177bcfe1adf365657406dc', class: "footer-description" }, hAsync("ic-section-container", { key: '49455d77e8d5e9e8a1199dc0dcc00226291e9adc', aligned: aligned, fullHeight: true }, hAsync("div", { key: 'dab1fa34ca43acd9ff4c354f324c7c426d53c77b', class: "footer-description-inner" }, hAsync("ic-typography", { key: '484158672386c4fed447390ab0d92bfd759a9272', variant: "body" }, hAsync("slot", { key: '4a500553fd0f76a8d4f7ef8410dbd927896561b1', name: "description" }, description)))))), isSlotUsed$1(el, "link") && (hAsync("div", { key: 'ed8613714e2bf4d79cd062f55f2b716d3e0cd304', class: "footer-links" }, groupLinks && small ? (hAsync("div", { class: "footer-links-inner", role: "list" }, hAsync("slot", { name: "link" }))) : (hAsync("ic-section-container", { fullHeight: true, aligned: aligned }, hAsync("div", { class: "footer-links-inner", role: "list" }, hAsync("slot", { name: "link" })))))), showComplianceSection && (hAsync("div", { key: 'c3876f5fa89d39f28e64db1bc0fca90978102a01', class: "footer-compliance" }, hAsync("ic-section-container", { key: '3e169ea49bcd2698b84c58f8105b0915777d8bf3', aligned: aligned, fullHeight: true }, hAsync("div", { key: '9cfaa13eb736d3aa44b15db43221bf28bf4deb57', class: "footer-compliance-inner" }, isSlotUsed$1(el, "logo") && (hAsync("div", { key: '853fdedd70405ebb2e96cec2adc6407e5ed11538', class: "footer-logo" }, hAsync("slot", { key: '4eaaad7a4f17cd51cbdab414cdbadf3096891d38', name: "logo" }))), (isSlotUsed$1(el, "caption") || caption) && (hAsync("div", { key: '44a611218c4ea0f494df1551ecb26a8687d57a95', class: "footer-caption" }, hAsync("ic-typography", { key: 'b970144c7d85b7e05e319233be68cc91ef2d0476', variant: deviceSize <= IC_DEVICE_SIZES$1.M ? "caption" : "body" }, hAsync("slot", { key: '512d173a680ddd65b3583bada7530aa67d3f1f98', name: "caption" }, caption)))), copyright && (hAsync("div", { key: '604ac3c72ae99883f27fdb609202782f6069bfde', class: {
|
11384
11532
|
["footer-copyright"]: true,
|
11385
11533
|
["classification-spacing"]: hasClassificationBanner(),
|
11386
|
-
} }, hAsync("ic-typography", { key: '
|
11534
|
+
} }, hAsync("ic-typography", { key: '144bbc0144a865f8a55a1df5606cea9dfa87b5e8', variant: deviceSize <= IC_DEVICE_SIZES$1.M
|
11387
11535
|
? "caption-uppercase"
|
11388
11536
|
: "label-uppercase" }, "\u00A9 Crown Copyright"))))))))));
|
11389
11537
|
}
|
@@ -11451,12 +11599,12 @@ class FooterLink {
|
|
11451
11599
|
const { footerConfig, href, hreflang, referrerpolicy, rel, target, download, } = this;
|
11452
11600
|
const { small, grouped } = footerConfig;
|
11453
11601
|
const isLogoLink = !!this.el.closest("div[slot='logo']");
|
11454
|
-
return (hAsync(Host, { key: '
|
11602
|
+
return (hAsync(Host, { key: 'b8797484e397b1a952f2df6f644c985deec5be65', class: {
|
11455
11603
|
"footer-link": true,
|
11456
11604
|
[`footer-link-${grouped ? "grouped" : "ungrouped"}-${small ? "small" : "sparse"}`]: true,
|
11457
11605
|
[`footer-link-${this.foregroundColor}`]: true,
|
11458
11606
|
"footer-logo-link": isLogoLink,
|
11459
|
-
}, role: "listitem" }, hAsync("ic-link", { key: '
|
11607
|
+
}, role: "listitem" }, hAsync("ic-link", { key: '1cd559f7c768a70d2bc0c92845ad6ae6761b584a', class: "footer-link", href: href, hreflang: hreflang, referrerpolicy: referrerpolicy, rel: rel, download: download !== false ? download : undefined, target: target }, hAsync("slot", { key: 'f2104f33d9651f96414a4963b30ea2e6c2414b18' }))));
|
11460
11608
|
}
|
11461
11609
|
static get delegatesFocus() { return true; }
|
11462
11610
|
get el() { return getElement(this); }
|
@@ -11631,18 +11779,18 @@ class Hero {
|
|
11631
11779
|
"background-position": scrollFactor,
|
11632
11780
|
};
|
11633
11781
|
}
|
11634
|
-
return (hAsync(Host, { key: '
|
11782
|
+
return (hAsync(Host, { key: '482bc3a82ab3561d6f88c999ca302006a1d1aa0f', class: {
|
11635
11783
|
[`ic-hero-${IcBrandForegroundEnum$1.Dark}`]: foregroundColor === IcBrandForegroundEnum$1.Dark,
|
11636
11784
|
["has-background-image"]: backgroundImage !== undefined,
|
11637
11785
|
["has-right-content"]: this.rightContent,
|
11638
11786
|
["ic-hero-small"]: size === "small",
|
11639
11787
|
["secondary-heading"]: !!secondaryHeading,
|
11640
|
-
}, style: style }, hAsync("ic-section-container", { key: '
|
11788
|
+
}, style: style }, hAsync("ic-section-container", { key: '178b06d47614a00c4dabe06841acfebe369f7c0a', aligned: aligned, fullHeight: true, class: "section-container" }, hAsync("div", { key: '3cec4f74434ae64cc7c7df77755c32a54719e08a', class: {
|
11641
11789
|
["left-container"]: true,
|
11642
11790
|
["left-container-full-width"]: this.leftContentFullWidth,
|
11643
|
-
} }, hAsync("div", { key: '
|
11791
|
+
} }, hAsync("div", { key: '8053a5fad4279b04af9bb3ec1f606ec443c70b80', class: "heading" }, hAsync("slot", { key: 'ea0ec581076b555f8cbc03bd26be611e0e002df3', name: "heading" }, hAsync("ic-typography", { key: '93e39803e6d71599ee3831161dee785b0fa6dda7', variant: size === "small" ? "h2" : "h1", class: {
|
11644
11792
|
["heading-bottom-spacing"]: size !== "small",
|
11645
|
-
} }, hAsync("h2", { key: '
|
11793
|
+
} }, hAsync("h2", { key: '6931cd6ef37ca5ab9d01d4ca969130b9daf8d7a5' }, heading)))), hAsync("div", { key: 'a6212993adb3a6f3e4b267825e73cbf02e3129e7', class: "subheading" }, hAsync("slot", { key: '993071f73747a2d880a1b858f4fd6d9fec507002', name: "subheading" }, hAsync("ic-typography", { key: 'e16fd2e61701713aa782b9d128de9187cc81edd3', variant: "body" }, subheading))), hAsync("div", { key: '0ecd487ff2614787759eb35bdc8c6aecb385d795', class: "interaction-container" }, hAsync("slot", { key: '653843aca5d99e5bed6d0343e31c285ca1ad7e6d', name: "interaction" }))), (isPropDefined$1(secondaryHeading) || this.rightContent) && (hAsync("div", { key: 'ce6b3edc98f9f112b0bde6c590e1fbf7d3b75af8', class: "right-container" }, hAsync("slot", { key: '173399d87b56f858542b71da3105d25f639aad87', name: "secondary" }, secondaryHeading && (hAsync("div", { key: 'a2e895801f1611c60baacde029f2c55ce36b60a3', class: "secondary-container" }, hAsync("div", { key: 'aedd5eb54afb5f93a263cf366223257c6074b697', class: "secondary-heading" }, hAsync("ic-typography", { key: '6ec103c17df879c443aa587c09e32bfac942c2e3', variant: "h4" }, hAsync("h3", { key: '37623268a450894886e5ae7fe773a950a120c3cc' }, secondaryHeading))), hAsync("div", { key: '8e0ca17e68cf68c016040827d2999635babd1c9d', class: "secondary-subheading" }, hAsync("ic-typography", { key: '14c59d487b56af4c70a4ec37ab6091262bcc4b69', variant: "subtitle-small" }, secondarySubheading))))))))));
|
11646
11794
|
}
|
11647
11795
|
get el() { return getElement(this); }
|
11648
11796
|
static get style() { return IcHeroStyle0; }
|
@@ -11833,22 +11981,22 @@ class HorizontalScroll {
|
|
11833
11981
|
}
|
11834
11982
|
render() {
|
11835
11983
|
const { firstItemVisible, lastItemVisible, itemOverflow } = this;
|
11836
|
-
return (hAsync(Host, { key: '
|
11984
|
+
return (hAsync(Host, { key: '5c313665e71e0abc91a19f204ccf08d7b017f46b', class: {
|
11837
11985
|
["ic-horizontal-scroll-visible"]: itemOverflow,
|
11838
11986
|
["ic-horizontal-scroll-dark"]: this.appearance === IcBrandForegroundEnum$1.Dark,
|
11839
11987
|
["ic-horizontal-scroll-light"]: this.appearance === IcBrandForegroundEnum$1.Light,
|
11840
11988
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
11841
|
-
} }, hAsync("div", { key: '
|
11989
|
+
} }, hAsync("div", { key: '7a65d56af26a6bfe660c3e923beaf7b512f77de8', "aria-hidden": "true", class: {
|
11842
11990
|
["scroll-container-left"]: true,
|
11843
11991
|
["hidden"]: !itemOverflow,
|
11844
11992
|
["disabled"]: firstItemVisible,
|
11845
|
-
}, role: "tab" }, hAsync("ic-button", { key: '
|
11993
|
+
}, role: "tab" }, hAsync("ic-button", { key: '0203d6acdde7444d03038b3ec86f3e318615030d', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll left", theme: this.theme === "light" || this.theme === "inherit"
|
11846
11994
|
? "dark"
|
11847
|
-
: "light", monochrome: this.monochrome, innerHTML: LeftArrow, disabled: firstItemVisible, tabindex: "-1", onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler }), hAsync("span", { key: '
|
11995
|
+
: "light", monochrome: this.monochrome, innerHTML: LeftArrow, disabled: firstItemVisible, tabindex: "-1", onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler }), hAsync("span", { key: 'dffb5fee1c17005205216d0901141317e2dc4aa6', class: "scroll-splitter-left" })), hAsync("slot", { key: 'f637c15f3020e1572a61179c2132dece11d0699a' }), hAsync("div", { key: 'c563d5ca6d07a66f2111bea5aebe7d36ae481770', "aria-hidden": "true", class: {
|
11848
11996
|
["scroll-container-right"]: true,
|
11849
11997
|
["hidden"]: !itemOverflow,
|
11850
11998
|
["disabled"]: lastItemVisible,
|
11851
|
-
}, role: "tab" }, hAsync("span", { key: '
|
11999
|
+
}, role: "tab" }, hAsync("span", { key: 'd8afe9aaf2304d13909815aeb8e60ac4f8952f7f', class: "scroll-splitter-right" }), hAsync("ic-button", { key: '4f3be747e736a50705793742b0a1e9fab44d56db', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll right", theme: this.theme === "light" || this.theme === "inherit"
|
11852
12000
|
? "dark"
|
11853
12001
|
: "light", monochrome: this.monochrome, innerHTML: RightArrow, disabled: lastItemVisible, tabindex: "-1", onClick: this.scrollRight, onMouseDown: this.rightArrowMouseDownHandler }))));
|
11854
12002
|
}
|
@@ -11923,15 +12071,15 @@ class InputComponentContainer {
|
|
11923
12071
|
}
|
11924
12072
|
render() {
|
11925
12073
|
const { size, validationStatus, disabled, readonly, multiLine, fullWidth, validationInline, } = this;
|
11926
|
-
return (hAsync(Host, { key: '
|
12074
|
+
return (hAsync(Host, { key: 'c33ebfd9dd18101fb9161259538e8e0046f77a3d', class: {
|
11927
12075
|
[`ic-input-component-container-${size}`]: true,
|
11928
12076
|
[`ic-input-component-container-${validationStatus}`]: validationStatus !== "" && !disabled && !readonly,
|
11929
12077
|
"ic-input-component-container-disabled": !!disabled,
|
11930
12078
|
"ic-input-component-container-readonly": !!readonly,
|
11931
12079
|
"ic-input-component-container-multiline": !!multiLine,
|
11932
12080
|
"ic-input-component-container-full-width": !!fullWidth,
|
11933
|
-
}, "aria-disabled": disabled ? "true" : null }, hAsync("div", { key: '
|
11934
|
-
validationStatus === IcInformationStatus$1.Success && (hAsync("span", { key: '
|
12081
|
+
}, "aria-disabled": disabled ? "true" : null }, hAsync("div", { key: 'a70f27a3235ac0edb9d9c5a18983ae3c02de2a48', class: "focus-indicator" }, slotHasContent(this.el, "left-icon") && (hAsync("div", { key: 'aa0b233280382bd0e95a8ff932bf60a63603b7bf', class: "icon-container" }, hAsync("slot", { key: 'ceb8ec9b420073ac2ecd5d6793ad4342ab9ebbdd', name: "left-icon" }))), hAsync("slot", { key: '1850c6ed04510e678600c653a36e2114f982e561' }), validationInline &&
|
12082
|
+
validationStatus === IcInformationStatus$1.Success && (hAsync("span", { key: '58d228c595577c1cc9a0fe2b10538cc3efff53ab', class: "inline-success", innerHTML: successIcon })))));
|
11935
12083
|
}
|
11936
12084
|
get el() { return getElement(this); }
|
11937
12085
|
static get watchers() { return {
|
@@ -11972,11 +12120,11 @@ class InputContainer {
|
|
11972
12120
|
this.readonly = false;
|
11973
12121
|
}
|
11974
12122
|
render() {
|
11975
|
-
return (hAsync(Host, { key: '
|
12123
|
+
return (hAsync(Host, { key: '32ae22db5e182cc2c092c8f48e61d42a318284a0' }, hAsync("div", { key: 'bae9ef74f7f92004ec99c387a213822315c505ba', class: {
|
11976
12124
|
["component-container"]: true,
|
11977
12125
|
["disabled"]: !!this.disabled,
|
11978
12126
|
["readonly"]: !!this.readonly,
|
11979
|
-
} }, hAsync("slot", { key: '
|
12127
|
+
} }, hAsync("slot", { key: 'acca571eaa0d8f19b0e3379d2592409aacf9dd95' }))));
|
11980
12128
|
}
|
11981
12129
|
static get style() { return IcInputContainerStyle0; }
|
11982
12130
|
static get cmpMeta() { return {
|
@@ -12059,11 +12207,11 @@ class InputLabel {
|
|
12059
12207
|
"helpertext-readonly": readonly,
|
12060
12208
|
};
|
12061
12209
|
const helperTextSlot = this.el.querySelector("slot[name='helper-text']");
|
12062
|
-
return (hAsync(Host, { key: '
|
12210
|
+
return (hAsync(Host, { key: 'da58fe3cac026661d1c624c69c56c6e64ff3c07a', class: {
|
12063
12211
|
"ic-input-label-disabled": !!disabled,
|
12064
12212
|
"ic-input-label-readonly": readonly,
|
12065
12213
|
"with-helper": this.isHelperTextSlotUsed(helperTextSlot) || helperText !== "",
|
12066
|
-
} }, !hideLabel && (hAsync("ic-typography", { key: '
|
12214
|
+
} }, !hideLabel && (hAsync("ic-typography", { key: 'bb221e5f51681a0caa721c66f03fd475e4e08749', variant: "label", class: {
|
12067
12215
|
"readonly-label": readonly,
|
12068
12216
|
"error-label": status === "error" && !(readonly || disabled),
|
12069
12217
|
} }, 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))))));
|
@@ -12123,13 +12271,13 @@ class InputValidation {
|
|
12123
12271
|
render() {
|
12124
12272
|
const { ariaLiveMode, fullWidth, status, message } = this;
|
12125
12273
|
const displayIcon = status !== "" ? icon[status] : "";
|
12126
|
-
return (hAsync(Host, { key: '
|
12274
|
+
return (hAsync(Host, { key: '149fe6ed6f86bb49ff8179e617542c048da4b80f', class: {
|
12127
12275
|
[`ic-input-validation-${status}`]: status !== "",
|
12128
12276
|
"ic-input-validation-full-width": !!fullWidth,
|
12129
|
-
} }, displayIcon !== "" && (hAsync("span", { key: '
|
12277
|
+
} }, displayIcon !== "" && (hAsync("span", { key: 'e9e0ad999d435642e02a9f9c4abb95840fe13b3f', class: {
|
12130
12278
|
"status-icon": true,
|
12131
12279
|
[`icon-${status}`]: true,
|
12132
|
-
}, innerHTML: displayIcon })), hAsync("ic-typography", { key: '
|
12280
|
+
}, innerHTML: displayIcon })), hAsync("ic-typography", { key: '7494901b17b7bb3c91167e95190c415fd06f03c9', variant: "caption", class: "statustext" }, hAsync("span", { key: '5e7d2d4cdcef0d32d5338f25365bc9831203a9c9', "aria-live": ariaLiveMode, id: this.for && getInputValidationTextID$1(this.for) }, message)), hAsync("slot", { key: '445c0fe4b8effa3b9d98a9b240921e613ef43e24', name: "validation-message-adornment" })));
|
12133
12281
|
}
|
12134
12282
|
get el() { return getElement(this); }
|
12135
12283
|
static get style() { return IcInputValidationStyle0; }
|
@@ -12149,8 +12297,6 @@ class InputValidation {
|
|
12149
12297
|
}; }
|
12150
12298
|
}
|
12151
12299
|
|
12152
|
-
var OpenInNew = `<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0z" fill="none"/><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/></svg>`;
|
12153
|
-
|
12154
12300
|
const icLinkCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.ic-link) .link,:host(.ic-link) ::slotted(a){color:var(--ic-link-text);text-decoration:underline;font-weight:var(--ic-font-weight-bold);transition:var(--ic-easing-transition-fast)}:host(.ic-link) .link:visited,:host(.ic-link) ::slotted(a:visited),:host(.ic-link) .link:visited:hover,:host(.ic-link) ::slotted(a:visited:hover),:host(.ic-link) .link:visited:active,:host(.ic-link) ::slotted(a:visited:active),:host(.ic-link) .link:visited:focus,:host(.ic-link) ::slotted(a:visited:focus){color:var(--ic-link-text-visited)}:host(.ic-link) .link:hover{color:var(--ic-link-text-hover)}:host(.ic-link) .link:active{color:var(--ic-link-text-pressed)}:host(.ic-link) .link:focus{color:var(--ic-link-text-focused)}:host(.ic-link-monochrome) .link:hover{color:var(--ic-link-text-hover-monochrome)}:host(.ic-link-monochrome) .link:active{color:var(--ic-link-text-pressed-monochrome)}:host(.ic-link-monochrome) .link:focus{color:var(--ic-link-text-focused-monochrome)}:host(.ic-link) .link:hover,:host(.ic-link) .link:focus,:host(.ic-link) ::slotted(a:hover),:host(.ic-link) ::slotted(a:focus){outline:none;border-bottom:0.25rem solid !important;margin-bottom:-0.25rem !important;text-decoration:none}@supports (text-underline-offset: 10%){:host(.ic-link) .link:hover,:host(.ic-link) .link:focus,:host(.ic-link) ::slotted(a:hover),:host(.ic-link) ::slotted(a:focus){text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:10%;border-bottom:0 !important;margin-bottom:0 !important}}:host(.ic-link) .link:active,:host(.ic-link) .link:focus:active,:host(.ic-link) .link:visited:active,:host(.ic-link) ::slotted(a:active),:host(.ic-link) ::slotted(a:focus:active),:host(.ic-link) ::slotted(a:visited:active){text-decoration:none}.ic-link-open-in-new-icon{vertical-align:middle;margin-left:var(--ic-space-xxs)}.ic-link-open-in-new-icon>svg{width:var(--ic-space-md);height:var(--ic-space-md);fill:var(--ic-link-icon-launch)}.link:visited>.ic-link-open-in-new-icon>svg{fill:var(--ic-link-icon-launch-visited)}:host(.ic-link-monochrome) .link,:host(.ic-link-monochrome) ::slotted(a){color:var(--ic-link-text-monochrome)}:host(.ic-link-monochrome) .link:visited,:host(.ic-link-monochrome) ::slotted(a:visited),:host(.ic-link-monochrome) .link:visited:hover,:host(.ic-link-monochrome) ::slotted(a:visited:hover),:host(.ic-link-monochrome) .link:visited:active,:host(.ic-link-monochrome) ::slotted(a:visited:active),:host(.ic-link-monochrome) .link:visited:focus,:host(.ic-link-monochrome) ::slotted(a:visited:focus){color:var(--ic-link-text-visited-monochrome)}:host(.ic-link-monochrome) .link>.ic-link-open-in-new-icon>svg{fill:var(--ic-link-icon-launch-monochrome)}:host(.ic-link-monochrome) .link:visited>.ic-link-open-in-new-icon>svg{fill:var(--ic-link-icon-launch-visited-monochrome)}:host(.breadcrumb-link) .link{display:var(--breadcrumb-link-display);align-items:var(--breadcrumb-link-align-items);gap:var(--breadcrumb-link-gap)}:host(.breadcrumb-link) .link ::slotted(.back-icon){height:var(--ic-space-lg);width:var(--ic-space-lg)}:host(.breadcrumb-link.current-page) a,:host(.breadcrumb-link.current-page) ::slotted(a){font-weight:normal;color:inherit;text-decoration:none;display:flex;align-items:center}:host(.breadcrumb-link.current-page) .link,:host(.breadcrumb-link.current-page) ::slotted(a:focus){outline:var(--ic-hc-focus-outline);text-decoration:none}:host(.breadcrumb-link.current-page) .link:visited{color:var(--ic-color-text-primary)}:host(.footer-link) ::slotted(a){color:var(--ic-footer-link) !important}:host(.footer-link) .ic-link-open-in-new-icon>svg{fill:var(--ic-footer-icon) !important}@media (forced-colors: active){:host(.ic-link) .ic-link-open-in-new-icon>svg{fill:currentcolor !important}}";
|
12155
12301
|
var IcLinkStyle0 = icLinkCss;
|
12156
12302
|
|
@@ -12238,7 +12384,7 @@ class Link {
|
|
12238
12384
|
}
|
12239
12385
|
render() {
|
12240
12386
|
const { download, href, hreflang, referrerpolicy, rel, target, monochrome, theme, } = this;
|
12241
|
-
return (hAsync(Host, { key: '
|
12387
|
+
return (hAsync(Host, { key: 'bc07dfd2d7467391a9c121f1263df5d053f7a59c', class: {
|
12242
12388
|
["ic-link"]: true,
|
12243
12389
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
12244
12390
|
["ic-link-monochrome"]: !!monochrome,
|
@@ -12453,23 +12599,23 @@ class LoadingIndicator {
|
|
12453
12599
|
}
|
12454
12600
|
render() {
|
12455
12601
|
const { circularDiameter, circularDimensions: { x, y, r, dashArray, dashOffset }, description, fullWidth, indicatorLabel, innerLabel, label, max, min, monochrome, progress, size, theme, type, } = this;
|
12456
|
-
return (hAsync(Host, { key: '
|
12602
|
+
return (hAsync(Host, { key: 'a56bc4f2265b8697fb78fe0cb021df4f7c84b34d', class: {
|
12457
12603
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
12458
12604
|
"ic-loading-indicator-full-width": fullWidth,
|
12459
12605
|
"ic-loading-indicator-label": !!label,
|
12460
12606
|
"ic-loading-indicator-monochrome": monochrome,
|
12461
|
-
} }, hAsync("div", { key: '
|
12607
|
+
} }, hAsync("div", { key: '8da5f575ce68a85df03c23e256125ed968d55496', class: "ic-loading-container", part: "ic-loading-container" }, hAsync("div", { key: '1a32acb1ce270a95b88a77d13591151d8a280fe8', ref: (el) => (this.outerElement = el), class: {
|
12462
12608
|
[`ic-loading-${type}-outer`]: true,
|
12463
12609
|
[progress === undefined ? "indeterminate" : "determinate"]: true,
|
12464
|
-
}, 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: '
|
12610
|
+
}, 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: '0189f89d2f2f5a9f7530e1bbef1874fd52a00f87', ref: (el) => (this.innerElement = el), class: {
|
12465
12611
|
[`ic-loading-${type}-inner`]: true,
|
12466
12612
|
"inner-label": !!innerLabel,
|
12467
|
-
} }, innerLabel && size === "small" && (hAsync("ic-typography", { key: '
|
12613
|
+
} }, innerLabel && size === "small" && (hAsync("ic-typography", { key: '83c67de5d281dca4c293f3d06b278eabe63ccee3', variant: "subtitle-small", class: "inner-text" }, innerLabel)), type === "circular" && (hAsync("svg", { key: 'e2449654d4dcb904c56ba47f6f72cfda5bcee7f0', class: "ic-loading-circular-svg", viewBox: `0 0 ${circularDiameter} ${circularDiameter}` }, hAsync("circle", { key: '6436f697d6e7d7e030178fc3653ec86a509c2965', cx: x, cy: y, r: r }), hAsync("circle", { key: '19da0a067ffdd864a08a630eabff268e9bfd1c33', style: {
|
12468
12614
|
"--circular-steps-max": progress ? `${max}` : undefined,
|
12469
12615
|
"--progress-value": progress !== undefined ? `${progress}` : undefined,
|
12470
12616
|
"--stroke-dasharray": dashArray,
|
12471
12617
|
"--stroke-dashoffset": dashOffset,
|
12472
|
-
}, cx: x, cy: y, r: r }))))), label && size !== "icon" && (hAsync("ic-typography", { key: '
|
12618
|
+
}, cx: x, cy: y, r: r }))))), label && size !== "icon" && (hAsync("ic-typography", { key: 'e4d24f7e59633400c36e0e380e52ea1714c7f88f', id: "ic-loading-label", class: "ic-loading-label", role: "alert", variant: this.getLabelVariant() }, hAsync("p", { key: 'e89f399cb0c43c4cc7dd743a201789cf50a73ed9' }, indicatorLabel))))));
|
12473
12619
|
}
|
12474
12620
|
get el() { return getElement(this); }
|
12475
12621
|
static get watchers() { return {
|
@@ -15227,7 +15373,7 @@ class Menu {
|
|
15227
15373
|
const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, parentEl, SEARCH_BAR_TAG, multiSelect, } = this;
|
15228
15374
|
const selectAllButtonText = `${(value === null || value === void 0 ? void 0 : value.length) === this.ungroupedOptions.length ? "Clear" : "Select"} all`;
|
15229
15375
|
const hasNoResults = this.host.classList.contains("no-results");
|
15230
|
-
return (hAsync(Host, { key: '
|
15376
|
+
return (hAsync(Host, { key: '637bd569f0d987aae612c73390344c46127170ad', class: {
|
15231
15377
|
"ic-menu-full-width": !!fullWidth,
|
15232
15378
|
"ic-menu-no-focus": ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" &&
|
15233
15379
|
(parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) !== SEARCH_BAR_TAG) ||
|
@@ -15236,7 +15382,7 @@ class Menu {
|
|
15236
15382
|
[`ic-menu-${size}`]: true,
|
15237
15383
|
"ic-menu-open": open && options.length !== 0,
|
15238
15384
|
"ic-menu-multiple": multiSelect,
|
15239
|
-
} }, options.length !== 0 && (hAsync("ul", { key: '
|
15385
|
+
} }, options.length !== 0 && (hAsync("ul", { key: '3840de0e59bd4f2d87330cf23a6afe402870c848', id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": multiSelect ? "true" : "false", tabindex: open &&
|
15240
15386
|
!keyboardNav &&
|
15241
15387
|
((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ||
|
15242
15388
|
(parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) === SEARCH_BAR_TAG)
|
@@ -15264,7 +15410,7 @@ class Menu {
|
|
15264
15410
|
multiSelect &&
|
15265
15411
|
!isLoading &&
|
15266
15412
|
!hasTimedOut &&
|
15267
|
-
!hasNoResults && (hAsync("div", { key: '
|
15413
|
+
!hasNoResults && (hAsync("div", { key: '7c21b91f707319eac7433c9bf84b2e07117d4a5e', class: "option-bar" }, hAsync("ic-typography", { key: 'ebf470f1196440dbb9b7d827833866604df1273c' }, hAsync("p", { key: '796f1746246ee7867d6244c9ab824e5e483be7d0' }, `${value ? value.length : 0}/${getOptionsWithoutGroupTitlesCount(this.options)} selected`)), hAsync("ic-button", { key: 'ab28ce082f7fd653fb10c7692161ad0c00653792', 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)))));
|
15268
15414
|
}
|
15269
15415
|
get host() { return getElement(this); }
|
15270
15416
|
static get watchers() { return {
|
@@ -15324,7 +15470,7 @@ class MenuGroup {
|
|
15324
15470
|
}
|
15325
15471
|
render() {
|
15326
15472
|
const parentMenu = this.el.closest("ic-popover-menu");
|
15327
|
-
return (hAsync(Host, { key: '
|
15473
|
+
return (hAsync(Host, { key: '4136f4cf036cf396b34c3c2000242aca5ca2eeff', role: "group", "aria-label": this.label !== null ? this.label : "" }, isPropDefined$1(this.label) && (hAsync("ic-typography", { key: 'a0de968e792cfedeee7ddad9f4b43885241abce5', variant: "subtitle-small" }, this.label)), hAsync("span", { key: 'e9720932e7fc8ec62b7de24fef73a58bdc4af7c1', class: "menu-items-wrapper" }, hAsync("slot", { key: 'c5ba1104bbd9a8749aec9b78641a05159fb56b4b' })), this.el !== (parentMenu === null || parentMenu === void 0 ? void 0 : parentMenu.querySelector("ic-menu-group:last-child")) && (hAsync("hr", { key: 'f8daab6f88da899054ace20e75e67f636d24c346' }))));
|
15328
15474
|
}
|
15329
15475
|
get el() { return getElement(this); }
|
15330
15476
|
static get style() { return IcMenuGroupStyle0; }
|
@@ -15574,11 +15720,11 @@ class NavigationButton {
|
|
15574
15720
|
target,
|
15575
15721
|
theme,
|
15576
15722
|
};
|
15577
|
-
return (hAsync(Host, { key: '
|
15723
|
+
return (hAsync(Host, { key: '6d5b61877075117e4e5a88b0d1edf1cf986f4bcd', class: {
|
15578
15724
|
"in-side-menu": isMenuMode,
|
15579
15725
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
15580
15726
|
dark: parentThemeDark,
|
15581
|
-
} }, hAsync("ic-button", Object.assign({ key: '
|
15727
|
+
} }, hAsync("ic-button", Object.assign({ key: 'd1e885683fd648f260bec94656aeb818497899e2', 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-tertiary" }, buttonProps, inheritedAttributes), isMenuMode ? label : "", hAsync("slot", { key: 'c3ae147f7bccd4f10f9259d442b86636c1a332ca', slot: "left-icon", name: "icon" }), isSlotUsed$1(this.el, "badge") && hAsync("slot", { key: 'f5f961eb88638804430696e0e5b3424ad3b9ac6c', name: "badge" }))));
|
15582
15728
|
}
|
15583
15729
|
static get delegatesFocus() { return true; }
|
15584
15730
|
get el() { return getElement(this); }
|
@@ -15871,7 +16017,7 @@ class NavigationGroup {
|
|
15871
16017
|
const isTopNav = this.navigationType === "top";
|
15872
16018
|
const isTopNavDesktop = !inTopNavSideMenu && isTopNav;
|
15873
16019
|
const ariaExpanded = (isSideNav && expanded) || (isTopNav && dropdownOpen);
|
15874
|
-
return (hAsync(Host, { key: '
|
16020
|
+
return (hAsync(Host, { key: 'c9fd5c0334c5a73ed68f4e6ad29fecaead553879', class: {
|
15875
16021
|
"in-side-menu": inTopNavSideMenu,
|
15876
16022
|
"ic-navigation-group-expandable": expandable,
|
15877
16023
|
"ic-navigation-group-side-nav": isSideNav,
|
@@ -16104,7 +16250,7 @@ class NavigationItem {
|
|
16104
16250
|
render() {
|
16105
16251
|
const { inTopNavSideMenu, isTopNavChild, selected, navigationType, focusStyle, isInitialRender, sideNavExpanded, displayNavigationTooltip, collapsedIconLabel, isSideNavMobile, expandable, isInSideNav, theme, } = this;
|
16106
16252
|
const isTopNavChildDesktop = isTopNavChild && !inTopNavSideMenu;
|
16107
|
-
return (hAsync(Host, { key: '
|
16253
|
+
return (hAsync(Host, { key: '6d3d330011cb09ae9fd95b59f98a9d18ffc25ba0', class: {
|
16108
16254
|
"navigation-item": true,
|
16109
16255
|
"navigation-item-selected": !isTopNavChild && selected,
|
16110
16256
|
"navigation-item-top-nav": !inTopNavSideMenu && navigationType === "top",
|
@@ -16123,7 +16269,7 @@ class NavigationItem {
|
|
16123
16269
|
expandable,
|
16124
16270
|
[focusStyle]: isTopNavChild ? isInSideNav : !inTopNavSideMenu,
|
16125
16271
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
16126
|
-
}, onBlur: isTopNavChildDesktop ? this.handleBlur : null, onClick: this.handleClick, "aria-current": selected ? "page" : null, role: "listitem" }, hAsync("ic-tooltip", { key: '
|
16272
|
+
}, onBlur: isTopNavChildDesktop ? this.handleBlur : null, onClick: this.handleClick, "aria-current": selected ? "page" : null, role: "listitem" }, hAsync("ic-tooltip", { key: 'af3a3de698b102182ff030ffcfb66b419d7ac857', label: this.generateTooltipLabel(), target: "navigation-item", placement: "right", class: {
|
16127
16273
|
"tooltip-navigation-item": true,
|
16128
16274
|
"tooltip-navigation-item-side-nav-collapsed": displayNavigationTooltip && isInSideNav,
|
16129
16275
|
"tooltip-long-label-navigation-item-side-nav-expanded": this.el.hasAttribute("[display-navigation-tooltip = 'true']"),
|
@@ -16296,16 +16442,16 @@ class NavigationMenu {
|
|
16296
16442
|
}
|
16297
16443
|
}
|
16298
16444
|
render() {
|
16299
|
-
return (hAsync(Host, { key: '
|
16445
|
+
return (hAsync(Host, { key: '9bfabe90fd07c5e8a14a49ab4bb524bb9f806dfe', class: { [`ic-theme-${this.theme}`]: this.theme !== "inherit" } }, hAsync("div", { key: 'b76961453827afb14dd44063e60ca9f7b8eb2f7c', class: "popout-modal", onClick: this.closeMenu }), hAsync("div", { key: '999299a7dccb47e615a0161f8056b8849197bb19', class: "popout-menu", role: "dialog", "aria-modal": "true", "aria-label": `${this.hasNavigation ? "Navigation" : "App"} menu` }, hAsync("span", { key: 'b48aae3ed8dfe11905660f3dbe6104b1f236989f', "aria-hidden": "true", id: "navigation-landmark-text", class: "navigation-landmark-text" }, "Main navigation"), hAsync("nav", { key: '5a940ea5954ddb7291556c02d0bd18ba059b78c1', "aria-labelledby": "navigation-landmark-text", "aria-hidden": this.hasNavigation ? "false" : "true" }, hAsync("div", { key: '850e5a96df80c52ae4940f02c87cac7901e78ac3', class: {
|
16300
16446
|
["menu-close-button-container"]: true,
|
16301
16447
|
["nav-group-first"]: this.navGroupFirst,
|
16302
|
-
} }, hAsync("ic-button", { key: '
|
16448
|
+
} }, hAsync("ic-button", { key: '2b6f4da8f43779709841b4ae9031ddc69fb23ec7', 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: '79bff3984af1e147c29eabf9980b6ce069d9bfc8', width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '7651417208edb39d171ba5c12f54e459b1874cdd', 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: '67bb136c9b9495d0f6936c6fd9ba9ce10d2ac259', name: "navigation" })), this.hasButtons && (hAsync("div", { key: 'c52e4bda9f81995710db38d6fcc732cb90084379', class: {
|
16303
16449
|
["menu-buttons-container"]: true,
|
16304
16450
|
["menu-buttons-container-nav-item-above"]: this.navItemAboveButtons,
|
16305
|
-
} }, hAsync("slot", { key: '
|
16451
|
+
} }, hAsync("slot", { key: '38a17cb7addc92a6b7efe4497e97e28161b968eb', name: "buttons" }))), (this.status !== "" || this.version !== "") && (hAsync("div", { key: '2aa88c95fa491ca88b6c1479f8efedaf154cd705', class: {
|
16306
16452
|
["menu-status-version-container"]: true,
|
16307
16453
|
["status-version-no-buttons"]: !this.hasButtons,
|
16308
|
-
} }, this.status !== "" && (hAsync("div", { key: '
|
16454
|
+
} }, this.status !== "" && (hAsync("div", { key: '8622760368a90bc0d23838ba68515f1fa0a5f58d', class: "menu-status" }, hAsync("ic-typography", { key: '07bd54c4a3b95f4b582cc83959b42da930008f39', variant: "label-uppercase", "aria-label": "app tag", class: "menu-status-text" }, this.status))), this.version !== "" && (hAsync("div", { key: '58bbb4b9eb1531132fabc526b0271ae16807e795', class: "menu-version" }, hAsync("ic-typography", { key: '8dc5efdec4a21ffaad32e7542994a4bb40942108', variant: "label", class: "menu-version-text", "aria-label": "app version" }, this.version))))))));
|
16309
16455
|
}
|
16310
16456
|
get el() { return getElement(this); }
|
16311
16457
|
static get style() { return IcNavigationMenuStyle0; }
|
@@ -16438,19 +16584,19 @@ class PageHeader {
|
|
16438
16584
|
const navAriaLabel = `${isSlotUsed$1(this.el, "heading")
|
16439
16585
|
? (_b = (_a = this.el.querySelector('[slot="heading"]')) === null || _a === void 0 ? void 0 : _a.textContent) !== null && _b !== void 0 ? _b : ""
|
16440
16586
|
: heading !== null && heading !== void 0 ? heading : ""} page sections`;
|
16441
|
-
return (hAsync(Host, { key: '
|
16587
|
+
return (hAsync(Host, { key: 'c8e370ff1598aa28712785d4b507bf5f025cebdb', class: {
|
16442
16588
|
["ic-page-header-sticky"]: !!sticky,
|
16443
16589
|
["ic-page-header-sticky-desktop"]: !sticky && !!stickyDesktopOnly,
|
16444
16590
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
16445
|
-
}, "aria-label": this.el.ariaLabel || "page header" }, hAsync("header", { key: '
|
16591
|
+
}, "aria-label": this.el.ariaLabel || "page header" }, hAsync("header", { key: 'f053e88d5e15efceffca136fd7ea40149128cd24', class: {
|
16446
16592
|
["border-bottom"]: !!border,
|
16447
16593
|
["tabs"]: isSlotUsed$1(this.el, "tabs"),
|
16448
|
-
}, role: "presentation" }, hAsync("ic-section-container", { key: '
|
16594
|
+
}, role: "presentation" }, hAsync("ic-section-container", { key: '01db3e4aab357dbb9c7f01f170606811466076ca', aligned: aligned, fullHeight: isSlotUsed$1(this.el, "tabs") }, isSlotUsed$1(this.el, "breadcrumbs") && (hAsync("div", { key: '4b40dc91ec48350ed36dfc9a48c9602ba43f5373', class: "breadcrumb-area" }, hAsync("slot", { key: 'caf027eadebbc1380c21749aca3ee0577f238c1a', name: "breadcrumbs" }))), hAsync("div", { key: '9cc48ff862ec47b5c4f6e4339f3de5e01a095c5d', class: "main-content" }, hAsync("div", { key: '2728890f07f94ce5a9281c4840b17bbf76fe4386', class: "title-area" }, hAsync("div", { key: 'bbe4d03abb131d393eab89e60d3efc5b7c16e689', class: "header-content" }, hAsync("slot", { key: '5cd6f3d2aff865e81b86e88cdb9c3bddafe8880d', name: "heading" }, hAsync("ic-typography", { key: '134d8df0f315058110e52305aca1764da98f9727', variant: size === "small" ? "h4" : "h2", class: "heading" }, hAsync("h2", { key: 'ab8b90eb1ed5c8c563fe911e6a19b47687e38bbb' }, heading))), hAsync("slot", { key: '7d03675494aec7af35f8f1ce948399f9f254f163', name: "heading-adornment" })), hAsync("div", { key: 'b34566b9c5c92fe9fdc66faecf607917a4aeed29', class: {
|
16449
16595
|
["subheading-content"]: !!subheading || isSlotUsed$1(this.el, "subheading"),
|
16450
16596
|
["small"]: size === "small",
|
16451
|
-
} }, hAsync("slot", { key: '
|
16452
|
-
isSlotUsed$1(this.el, "tabs")) && (hAsync("div", { key: '
|
16453
|
-
!isSlotUsed$1(this.el, "tabs") && hAsync("slot", { key: '
|
16597
|
+
} }, hAsync("slot", { key: '41d87736aa23ad7bc6ba47ff3a95a977807c68cf', name: "subheading" }, hAsync("ic-typography", { key: '329f6d9840e4ed9109613c5f199d75340fd6fdc2', variant: "body" }, subheading)))), isSlotUsed$1(this.el, "actions") && (hAsync("div", { key: '36e1ae6a57d69362c2c1bfd7237779ea388984b6', class: "action-area" }, hAsync("slot", { key: 'e91d537a1ada1c2a7a239a28f698eabb46c2c0a7', name: "actions" }))), isSlotUsed$1(this.el, "input") && (hAsync("div", { key: 'b1432a5a237e6a10a67cbe51c9cb657bb2674d5d', class: "input-area" }, hAsync("slot", { key: '6896f964608a3a9f93719f1a508c7c411d7a2a05', name: "input" })))), (isSlotUsed$1(this.el, "stepper") ||
|
16598
|
+
isSlotUsed$1(this.el, "tabs")) && (hAsync("div", { key: '186a79cb9e798376abe710d5ae90e9d0d2b1dfc7', class: "navigation-area" }, isSlotUsed$1(this.el, "stepper") &&
|
16599
|
+
!isSlotUsed$1(this.el, "tabs") && hAsync("slot", { key: 'ee5c38d0953c558ef430f3de863edef69f33b025', name: "stepper" }), isSlotUsed$1(this.el, "tabs") && (hAsync("nav", { key: '02fcd488fd3ef4e4562cae7827c1890d600474f3', "aria-label": navAriaLabel }, hAsync("ic-horizontal-scroll", { key: '28660775ba31c4bcd7d589b9ed32b7fec75bff62' }, hAsync("ul", { key: 'ed3332f75cf9c9c93b60db8696cb55847eba93cb', class: "tabs-slot" }, hAsync("slot", { key: 'c34be8460a08d83074ace0d458c40fefffbe0807', name: "tabs" })))))))))));
|
16454
16600
|
}
|
16455
16601
|
get el() { return getElement(this); }
|
16456
16602
|
static get style() { return IcPageHeaderStyle0; }
|
@@ -16728,14 +16874,14 @@ class Pagination {
|
|
16728
16874
|
}
|
16729
16875
|
render() {
|
16730
16876
|
const { type, currentPage, hideCurrentPage, disabled, hideFirstAndLastPageButton, label, theme, monochrome, } = this;
|
16731
|
-
return (hAsync(Host, { key: '
|
16877
|
+
return (hAsync(Host, { key: '41c3da149fa9478f842f05931c9dbfaeed3b28c9', class: {
|
16732
16878
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
16733
16879
|
["ic-pagination-monochrome"]: !!monochrome,
|
16734
|
-
} }, type === "simple" && (hAsync("nav", { key: '
|
16880
|
+
} }, type === "simple" && (hAsync("nav", { key: '28dd37c1bfc70c1a46d5be79402a2f358f1dae8e', class: {
|
16735
16881
|
["disabled"]: !!disabled,
|
16736
|
-
}, role: "navigation", "aria-label": "Pagination Navigation" }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), hAsync("ic-pagination-item", { key: '
|
16882
|
+
}, role: "navigation", "aria-label": "Pagination Navigation" }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), hAsync("ic-pagination-item", { key: 'fd8075b42813e6bb183a59a7d663410efbc032e4', 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: 'e5cc07eeb2ab5daae6c093df1fb7bad7efee28b6', class: {
|
16737
16883
|
["disabled"]: !!disabled,
|
16738
|
-
}, 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: '
|
16884
|
+
}, 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: 'ef2236138709fd5e0ea462a8968c1394a2efba47', class: "sr-only", "aria-live": "polite" }, "Page ", this.currentPage))));
|
16739
16885
|
}
|
16740
16886
|
get el() { return getElement(this); }
|
16741
16887
|
static get watchers() { return {
|
@@ -17213,7 +17359,7 @@ class PaginationItem {
|
|
17213
17359
|
}
|
17214
17360
|
render() {
|
17215
17361
|
const { page, selected, type, disabled, label, capitalizedLabel, monochrome, } = this;
|
17216
|
-
return (hAsync("a", { key: '
|
17362
|
+
return (hAsync("a", { key: '21415f5d398cf1bf2b727e3b32c8cd94f33b0966', class: { ["monochrome"]: !!monochrome } }, type === "ellipsis" ? (hAsync("div", { class: {
|
17217
17363
|
["item-container"]: true,
|
17218
17364
|
["ellipsis"]: true,
|
17219
17365
|
["disabled"]: !!disabled,
|
@@ -17528,17 +17674,17 @@ class PopoverMenu {
|
|
17528
17674
|
this.popperProps = props;
|
17529
17675
|
}
|
17530
17676
|
render() {
|
17531
|
-
return (hAsync(Host, { key: '
|
17677
|
+
return (hAsync(Host, { key: 'bf477545827775810fff96aeaec431968ddc868b', class: {
|
17532
17678
|
["ic-popover-menu-open"]: !!this.open,
|
17533
17679
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
17534
|
-
} }, hAsync("div", { key: '
|
17680
|
+
} }, hAsync("div", { key: '8d806c10e5e2838f2c80bff8f6b3f2c0d5b5953a', id: this.parentPopover === undefined
|
17535
17681
|
? `ic-popover-submenu-${this.submenuId}`
|
17536
17682
|
: "", class: {
|
17537
17683
|
menu: true,
|
17538
|
-
} }, hAsync("span", { key: '
|
17684
|
+
} }, hAsync("span", { key: 'db4ddaa0ec0d2e425e0b49214f40098242de2710', class: {
|
17539
17685
|
"opening-from-parent": this.openingFromParent,
|
17540
17686
|
"opening-from-child": this.openingFromChild,
|
17541
|
-
} }, isPropDefined$1(this.submenuId) && (hAsync("span", { key: '
|
17687
|
+
} }, isPropDefined$1(this.submenuId) && (hAsync("span", { key: 'c0caa5f7a151e1ec2b41a9f5cdb8675409c3b969' }, hAsync("span", { key: 'ee3b377e7079ef95acdc5bfb3a0d3b7f83e27db2', role: "menu" }, hAsync("ic-menu-item", { key: '5f232c237300e529a5d3bd9d18eee5625f1dc0cd', 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: 'a0618ef1598d66a8c6b14a0b7a608f0d11a84616', slot: "icon", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "submenu-back-icon" }, hAsync("path", { key: 'ccdcb5e5ad7593839b9ae54f86586719c1ceb4dc', d: "M20 11H7.83L13.42 5.41L12 4L4 12L12 20L13.41 18.59L7.83 13H20V11Z", fill: "currentColor" })))), hAsync("ic-typography", { key: 'd6d1fbcd077f474eef14ba4d77f5d2bc4f5e30dc', variant: "subtitle-small", class: "parent-label" }, this.parentLabel))), hAsync("div", { key: '31727abcc337bbd7b242b3387f6bd260a3abadd4', class: "menu-body", "aria-label": this.getMenuAriaLabel(), role: "menu" }, hAsync("slot", { key: '9cfdbe9c8a166d68ef1a00159c8b5b04fb1e29f7' }))))));
|
17542
17688
|
}
|
17543
17689
|
static get delegatesFocus() { return true; }
|
17544
17690
|
get el() { return getElement(this); }
|
@@ -17801,16 +17947,16 @@ class RadioGroup {
|
|
17801
17947
|
}
|
17802
17948
|
render() {
|
17803
17949
|
const { currentOrientation, disabled, handleKeyDown, helperText, hideLabel, label, required, size, validationStatus, validationText, theme, } = this;
|
17804
|
-
return (hAsync(Host, { key: '
|
17950
|
+
return (hAsync(Host, { key: '94f34265abb206036b1d9ded9dd959647a710999', onKeyDown: handleKeyDown, class: {
|
17805
17951
|
"ic-radio-group-small": size === "small",
|
17806
17952
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
17807
|
-
} }, hAsync("div", { key: '
|
17953
|
+
} }, hAsync("div", { key: 'ecb2a958a94beb49129c1548fafa4c3220036218', role: "radiogroup", "aria-label": `${label}${required ? ", required" : ""}` }, !hideLabel && (hAsync("ic-input-label", { key: 'f11f98513d71d6ea942519fc38a91e96824da3e7', class: {
|
17808
17954
|
[`${validationStatus}`]: true,
|
17809
17955
|
["disabled"]: !!disabled,
|
17810
|
-
}, label: label, helperText: helperText, required: required, disabled: disabled }, hAsync("slot", { key: '
|
17956
|
+
}, label: label, helperText: helperText, required: required, disabled: disabled }, hAsync("slot", { key: '88578f95a79fe95d58294a93e8470dd663b42903', name: "helper-text", slot: "helper-text" }))), hAsync("div", { key: '9a5ea35f9f684085a25b40def44a29a992306ac1', class: {
|
17811
17957
|
"radio-buttons-container": true,
|
17812
17958
|
horizontal: currentOrientation === this.RADIO_HORIZONTAL,
|
17813
|
-
}, ref: (el) => (this.radioContainer = el) }, hAsync("slot", { key: '
|
17959
|
+
}, ref: (el) => (this.radioContainer = el) }, hAsync("slot", { key: 'dafa17bf5bc76e8697f802a3376bb2bfe1cc249e' }))), hasValidationStatus(validationStatus, disabled) && (hAsync("ic-input-validation", { key: '6b8a5b2aa258870a00b462d48a978b5cd3a4e33b', ariaLiveMode: "polite", status: validationStatus, message: validationText }))));
|
17814
17960
|
}
|
17815
17961
|
get el() { return getElement(this); }
|
17816
17962
|
static get watchers() { return {
|
@@ -17990,15 +18136,15 @@ class RadioOption {
|
|
17990
18136
|
render() {
|
17991
18137
|
const { additionalFieldDisplay, disabled, dynamicText, form, groupLabel, handleClick, handleKeyDown, hasAdditionalField, label, name, selected, value, theme, } = this;
|
17992
18138
|
const id = `ic-radio-option-${isPropDefined$1(label) || value}-${groupLabel}`;
|
17993
|
-
return (hAsync(Host, { key: '
|
18139
|
+
return (hAsync(Host, { key: 'ee36e924b1c248c87724903313bc778976c36522', onClick: handleClick, onKeyDown: handleKeyDown, class: {
|
17994
18140
|
["ic-radio-option-disabled"]: !!disabled,
|
17995
18141
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
17996
|
-
} }, hAsync("div", { key: '
|
18142
|
+
} }, hAsync("div", { key: '35871b7136c8dd16432e2a0683b13db53f2a1bd0', class: { container: true, disabled: !!disabled } }, hAsync("div", { key: 'daead4b95901afb27be2d2640d1210783ec4c14e' }, hAsync("input", { key: '69d0c5dec724714118475529e021ed9d30350383', 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: '7ae687fb075f60e33fb7edd48b1f323c5833b9fb', class: "checkmark" })), hAsync("ic-typography", { key: 'a3990ac2ea9a3898a436f2fd05966f920a493fa4', class: "radio-label", variant: "body" }, hAsync("label", { key: '0b83a00e2f215d9d051e71650584fb1e0aad55a4', htmlFor: id }, label))), hasAdditionalField && (hAsync("div", { key: '47b6a141f6956e78d4516985d2e70f00c1bdf1cf', class: {
|
17997
18143
|
"dynamic-container": true,
|
17998
18144
|
hidden: additionalFieldDisplay === "dynamic" && !selected,
|
17999
|
-
} }, additionalFieldDisplay === "dynamic" && (hAsync("div", { key: '
|
18145
|
+
} }, additionalFieldDisplay === "dynamic" && (hAsync("div", { key: '2c06cbb85ba445972698c02757a07e048a09ce40', class: "branch-corner" })), hAsync("div", { key: 'ecc00a96cfb580b9f386ea148106a1dae5a31332' }, additionalFieldDisplay === "dynamic" && (hAsync("ic-typography", { key: 'eeacd2d66085bd2bdb16698e6050e552d410d11b', variant: "caption" }, hAsync("p", { key: 'da0327cfe9a9a09405c86e268e7a84ca090b437f', class: "dynamic-text" }, dynamicText))), hAsync("div", { key: 'c9177d6cd8174c92665a3c59a1fe38aeedf6e17b', class: {
|
18000
18146
|
"additional-field-wrapper": additionalFieldDisplay === "static",
|
18001
|
-
} }, hAsync("slot", { key: '
|
18147
|
+
} }, hAsync("slot", { key: '1f4fdd0f5eeca0900aeaa04d49191e0b65d843ab', name: ADDITIONAL_FIELD })))))));
|
18002
18148
|
}
|
18003
18149
|
get el() { return getElement(this); }
|
18004
18150
|
static get watchers() { return {
|
@@ -18042,7 +18188,7 @@ var searchIcon = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xm
|
|
18042
18188
|
const icSearchBarCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.ic-search-bar-search){display:block;--divider-height:1.5rem;--ic-input-label-helpertext-padding:var(--ic-space-xs);--border-color:var(--ic-search-bar-outline);--input-bg-color:var(--ic-search-bar-background);--border-color-disabled:var(--ic-search-bar-outline-disabled);--menu-item-text-color:var(--ic-search-bar-dropdown-option-text);--menu-item-desc-text-color:var(--ic-search-bar-dropdown-option-description);--menu-bg-color:var(--ic-search-bar-dropdown-background);--menu-border-color:var(--ic-search-bar-dropdown-outline)}:host(.ic-search-bar-disabled){--ic-input-label-text-color:var(--ic-search-bar-label-disabled);--ic-input-label-helper-text-color:var(--ic-search-bar-subtitle-disabled)}:host(.ic-search-bar-search:hover){--border-color:var(--ic-search-bar-outline-hover)}:host(.ic-search-bar-search:active){--border-color:var(--ic-search-bar-outline-pressed)}:host(.ic-search-bar-search.ic-search-bar-small){--divider-height:1rem}:host(.ic-search-bar-full-width){width:100%}::-moz-placeholder{color:var(--ic-search-bar-placeholder-text);opacity:1}::placeholder{color:var(--ic-search-bar-placeholder-text);opacity:1}input{border:0;border-radius:var(--ic-border-radius);color:var(--ic-search-bar-filled-text);background-color:var(--input-bg-color);line-height:1.5rem;letter-spacing:0.005rem;width:100%;padding-right:var(--ic-space-xs);padding-left:var(--ic-space-xs);caret-color:var(--ic-search-bar-filled-text-cursor)}input:focus{border:0;outline:0}input:disabled::-moz-placeholder{color:var(--ic-search-bar-disabled-text)}input:disabled,input:disabled::placeholder{color:var(--ic-search-bar-disabled-text)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.no-left-pad{padding-left:0}input[type=\"search\"]::-webkit-search-cancel-button,input[type=\"search\"]::-webkit-search-decoration,input[type=\"search\"]::-webkit-search-results-button,input[type=\"search\"]::-webkit-search-results-decoration{display:none}input[type=\"search\"].truncate-value{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.clear-button-container{align-items:center;margin-right:var(--ic-space-1px);display:none;visibility:hidden}.clear-button{border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition)}.clear-button:focus,.clear-button:active{background-color:var(--ic-color-focus-inner);box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer);border-radius:0.25rem}.clear-button-unfocused *{fill:var(--ic-search-bar-clear-button)}.clear-button:focus,.clear-button:active *{fill:var(--ic-atoms-input-clear-button-focus)}.clear-button-visible{visibility:visible;display:flex}.search-submit-button-container{display:flex;align-items:center}.search-submit-button-unfocused *{fill:var(--ic-search-bar-filled-icon)}.search-submit-button-disabled *{fill:var(--ic-search-bar-icon-disabled)}.search-submit-button-disabled .ic-tooltip-container{display:none !important}.search-submit-button:focus,.search-submit-button:active{background-color:var(--ic-color-focus-inner) !important;box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer) !important;border-radius:var(--ic-space-xxs)}.search-submit-button:focus,.search-submit-button:active *{fill:white}.divider{width:var(--ic-border-width);background-color:var(--ic-search-bar-dropdown-divider);height:var(--divider-height)}.menu-container{width:var(--input-width, 20rem);position:relative;top:var(--ic-space-xxxs)}.menu-container.fullwidth{width:100%}.no-results{cursor:not-allowed}.search-results-status{border:0;clip:rect(0, 0, 0, 0, 0);height:var(--ic-space-1px);margin-bottom:calc(-1 * var(--ic-space-1px));margin-right:calc(-1 * var(--ic-space-1px));overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:var(--ic-space-1px)}@media (forced-colors: active){.search-submit-button-unfocused *{fill:canvastext}.search-submit-button-disabled *{fill:GrayText}}";
|
18043
18189
|
var IcSearchBarStyle0 = icSearchBarCss;
|
18044
18190
|
|
18045
|
-
let inputIds$
|
18191
|
+
let inputIds$4 = 0;
|
18046
18192
|
/**
|
18047
18193
|
* @slot helper-text - Content is set as the helper text for the search bar.
|
18048
18194
|
*/
|
@@ -18063,7 +18209,7 @@ class SearchBar {
|
|
18063
18209
|
this.icSearchBarFocus = createEvent(this, "icSearchBarFocus", 7);
|
18064
18210
|
this.icKeydown = createEvent(this, "icKeydown", 7);
|
18065
18211
|
this.hasTimedOut = false;
|
18066
|
-
this.inputId = `ic-search-bar-input-${inputIds$
|
18212
|
+
this.inputId = `ic-search-bar-input-${inputIds$4++}`;
|
18067
18213
|
this.menuCloseFromMenuChangeEvent = false;
|
18068
18214
|
this.menuId = `${this.inputId}-menu`;
|
18069
18215
|
this.preLoad = true;
|
@@ -18581,39 +18727,39 @@ class SearchBar {
|
|
18581
18727
|
const menuRendered = menuOpen && value.length >= charactersUntilSuggestion;
|
18582
18728
|
const labelValue = getLabelFromValue(value, options, valueField, labelField);
|
18583
18729
|
renderHiddenInput$1(this.el, value, name, disabledMode);
|
18584
|
-
return (hAsync(Host, { key: '
|
18730
|
+
return (hAsync(Host, { key: '0446a1092d484ef29e0424eb22c6ae00b8fe8a72', class: {
|
18585
18731
|
"ic-search-bar-search": true,
|
18586
18732
|
"ic-search-bar-full-width": fullWidth,
|
18587
18733
|
"ic-search-bar-disabled": disabled,
|
18588
18734
|
"ic-search-bar-small": size === "small",
|
18589
18735
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
18590
|
-
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, hAsync("ic-input-container", { key: '
|
18736
|
+
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, hAsync("ic-input-container", { key: 'fc32e70f7fa9397bc355774f58b8ab62af231083', readonly: readonly, disabled: disabledMode }, !hideLabel && (hAsync("ic-input-label", { key: '32b8c40811415afc37480ed00416fde752704235', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledMode && !readonly, readonly: readonly }, hAsync("slot", { key: 'be47eb0acd1cde1b3d4f80ae5e4300021fe069d6', name: "helper-text", slot: "helper-text" }))), hAsync("ic-input-component-container", { key: '266d999ac46d480655e325db420850e495c3cae7', ref: (el) => (this.anchorEl = el), size: size, disabled: disabledMode, readonly: readonly, fullWidth: fullWidth }, hAsync("input", { key: 'f9f3b64cd1bf88eeb7a7cd52d9d41240c7afa14f', id: inputId, name: name, ref: (el) => (this.inputEl = el), value: options && !!labelValue ? labelValue : value, class: {
|
18591
18737
|
"no-left-pad": readonly,
|
18592
18738
|
readonly,
|
18593
18739
|
"truncate-value": truncateValue,
|
18594
|
-
}, 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: '
|
18740
|
+
}, 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: 'cd71148d381416ce2aac9a4c6899bbbe5077ebb9', class: {
|
18595
18741
|
"clear-button-container": true,
|
18596
18742
|
"clear-button-visible": !!value && !disabledMode && showClearButton,
|
18597
|
-
} }, hAsync("ic-button", { key: '
|
18743
|
+
} }, hAsync("ic-button", { key: '3cf8c824075d6df594b65f7885f664ffce21fca8', id: "clear-button", class: {
|
18598
18744
|
"clear-button": true,
|
18599
18745
|
"clear-button-unfocused": !clearButtonFocused,
|
18600
|
-
}, "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: '
|
18746
|
+
}, "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: 'a8dd7dad12686d0d6dac4bde194d0df7eaf04c00', class: "divider" })), hAsync("div", { key: '0d3eb9dff9d6ebbdf4063826077c410256772aed', class: {
|
18601
18747
|
"search-submit-button-container": true,
|
18602
18748
|
"search-submit-button-disabled": this.isSubmitDisabled(),
|
18603
|
-
} }, hAsync("ic-button", { key: '
|
18749
|
+
} }, hAsync("ic-button", { key: '7d6a4c3a6f2a63178db90324e6f66804bd74ae07', id: "search-submit-button", "aria-label": "Search", ref: (el) => (this.searchSubmitButton = el), class: {
|
18604
18750
|
"search-submit-button": true,
|
18605
18751
|
"search-submit-button-small": size === "small",
|
18606
18752
|
"search-submit-button-unfocused": !searchSubmitFocused,
|
18607
18753
|
"search-submit-button-disabled": this.isSubmitDisabled(),
|
18608
|
-
}, 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: '
|
18754
|
+
}, 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: '7dbb3fd0f8374fffc17c3405e905d7307462a4c9', class: {
|
18609
18755
|
"menu-container": true,
|
18610
18756
|
fullwidth: fullWidth,
|
18611
|
-
} }, menuRendered && this.anchorEl && this.inputEl && (hAsync("ic-menu", { key: '
|
18757
|
+
} }, menuRendered && this.anchorEl && this.inputEl && (hAsync("ic-menu", { key: '9af74de47a4042857e8bed7691ce97397bc19f06', class: {
|
18612
18758
|
"no-results": this.hadNoOptions() ||
|
18613
18759
|
(filteredOptions.length === 1 &&
|
18614
18760
|
(filteredOptions[0][labelField] === loadingLabel ||
|
18615
18761
|
filteredOptions[0][labelField] === loadingErrorLabel)),
|
18616
|
-
}, activationType: "manual", anchorEl: this.anchorEl, autofocusOnSelected: false, searchMode: searchMode, inputEl: this.inputEl, inputLabel: label, ref: (el) => (this.menu = el), fullWidth: fullWidth, menuId: menuId, open: true, options: filteredOptions, onMenuOptionSelect: this.handleOptionSelect, onMenuStateChange: this.handleMenuChange, onMenuOptionId: this.handleMenuOptionHighlight, onRetryButtonClicked: this.handleRetry, parentEl: this.el, value: value, labelField: labelField, valueField: valueField, searchBar: true })))), hAsync("div", { key: '
|
18762
|
+
}, activationType: "manual", anchorEl: this.anchorEl, autofocusOnSelected: false, searchMode: searchMode, inputEl: this.inputEl, inputLabel: label, ref: (el) => (this.menu = el), fullWidth: fullWidth, menuId: menuId, open: true, options: filteredOptions, onMenuOptionSelect: this.handleOptionSelect, onMenuStateChange: this.handleMenuChange, onMenuOptionId: this.handleMenuOptionHighlight, onRetryButtonClicked: this.handleRetry, parentEl: this.el, value: value, labelField: labelField, valueField: valueField, searchBar: true })))), hAsync("div", { key: 'cf5b06c06543f839da43f37b3b105a16f2ca37f4', "aria-live": "polite", role: "status", class: "search-results-status" })));
|
18617
18763
|
}
|
18618
18764
|
static get delegatesFocus() { return true; }
|
18619
18765
|
get el() { return getElement(this); }
|
@@ -18697,12 +18843,12 @@ class SectionContainer {
|
|
18697
18843
|
}
|
18698
18844
|
render() {
|
18699
18845
|
const { aligned, fullHeight } = this;
|
18700
|
-
return (hAsync(Host, { key: '
|
18846
|
+
return (hAsync(Host, { key: '353b38e749d03e4838d93d9b58f3bddc0980099f', class: {
|
18701
18847
|
["aligned-left"]: aligned === "left" || aligned === null,
|
18702
18848
|
["aligned-center"]: aligned === "center",
|
18703
18849
|
["aligned-full-width"]: aligned === "full-width",
|
18704
18850
|
["no-vertical-padding"]: !!fullHeight,
|
18705
|
-
} }, hAsync("slot", { key: '
|
18851
|
+
} }, hAsync("slot", { key: 'd79345e552288f52d7ad83d2bd0e2ceaae9b1570' })));
|
18706
18852
|
}
|
18707
18853
|
static get style() { return IcSectionContainerStyle0; }
|
18708
18854
|
static get cmpMeta() { return {
|
@@ -18731,7 +18877,7 @@ var Clear = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w
|
|
18731
18877
|
const icSelectCss = "/*! 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;position:relative;--ic-input-label-helpertext-padding:var(--ic-space-xs);--menu-max-height:100px;--border-color:var(--ic-select-field-border);--border-color-hover:var(--ic-select-field-border-hover);--border-color-pressed:var(--ic-select-field-border-pressed);--border-color-disabled:var(--ic-select-field-border-disabled);--border-color-error:var(--ic-select-field-border-error);--border-color-error-hover:var(--ic-select-field-border-error-hover);--border-color-error-pressed:var(--ic-select-field-border-error-pressed);--border-color-success:var(--ic-select-field-border-success);--border-color-success-hover:var(--ic-select-field-border-success-hover);--border-color-success-pressed:var(--ic-select-field-border-success-pressed);--border-color-warning:var(--ic-select-field-border-warning);--border-color-warning-hover:var(--ic-select-field-border-warning-hover);--border-color-warning-pressed:var(--ic-select-field-border-warning-pressed);--ic-input-label-text-color:var(--ic-select-field-labe);--ic-input-label-helper-text-color:var(\n --ic-select-input-field-label-subtitle\n );--ic-input-validation-status-text-color:var(--ic-select-state-text);--ic-input-validation-error:var(--ic-select-state-icon-error);--ic-input-validation-warning-icon-color:var(--ic-select-state-icon-warning);--ic-input-validation-success-icon-color:var(--ic-select-state-icon-success);--menu-item-text-color:var(--ic-select-list-option-text);--menu-bg-color:var(--ic-select-list-option-background);--menu-border-color:var(--ic-select-dropdown-list-border)}:host(.ic-select-disabled){--ic-input-label-text-color:var(--ic-select-field-label-disabled);--ic-input-label-helper-text-color:var(\n --ic-select-input-field-label-subtitle-disabled\n )}:host(.ic-select-full-width){width:100%}ic-input-component-container.menu-open{--border-color:var(--ic-select-field-border-pressed)}ic-input-validation .status-icon,ic-input-validation .statustext{visibility:visible}ic-input-validation.menu-open .status-icon,ic-input-validation.menu-open .statustext{visibility:hidden;transition:visibility 0s}ic-input-label{margin-bottom:var(--ic-space-xs)}select{border:0;border-radius:var(--ic-border-radius);background-color:var(--ic-select-field-background);color:var(--ic-select-content-text);line-height:1.5rem;letter-spacing:0.005rem;width:100%;height:100%;padding-left:0.375rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-repeat:no-repeat;background-position:right 0.375rem center;background-image:var(--ic-select-mobile-dropdown-icon);caret-color:var(--ic-select-input-field-text-cursor)}select option,.select-option-selected{color:var(--ic-select-list-option-text)}select:disabled{color:var(--ic-select-content-text-disabled);background-image:var(--ic-select-mobile-dropdown-icon-disabled)}select:focus{border:0;outline:0}select:not([disabled]){cursor:pointer}.select-container{width:100%;display:flex;align-items:center;position:relative}.select-input{width:100%;height:100%;padding:0 0.375rem;display:flex;cursor:pointer;align-items:center;justify-content:space-between;background:none;border:none;background-color:var(--ic-select-field-background);color:var(--ic-select-content-text)}.select-input:focus{outline:none}.select-input[disabled]{pointer-events:none}:host(.ic-select-searchable) .select-input{cursor:auto}.select-input.with-clear-button{padding-right:0}.value-text{max-width:calc(100% - (var(--ic-space-lg) + var(--ic-space-xxs)));box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-bottom:0 !important}.value-text.with-clear-button{padding-right:calc(var(--ic-space-xl) + var(--ic-space-xs))}.searchable-select-container{align-items:center;display:flex;width:100%;position:relative}.expand-icon{height:var(--ic-space-lg);padding-left:var(--ic-space-xxs);color:var(--ic-select-expand-icon-color)}.expand-icon>svg{display:inline-block;width:var(--ic-space-lg);height:var(--ic-space-lg)}:host(.ic-select-disabled) .expand-icon,:host(.ic-select-disabled) .expand-icon>svg>path{color:var(--ic-select-disabled-expand-icon-color)}:host(.ic-select-searchable) .expand-icon{padding-left:0;height:2.25rem}:host(.ic-select-searchable) .expand-icon>svg{height:2.25rem;padding:0 calc(var(--ic-space-xxxs) + var(--ic-space-xxs)) 0\n var(--ic-space-xxs)}:host(.ic-select-searchable:not(.ic-select-disabled)) .expand-icon>svg{cursor:pointer}.expand-icon-open{color:var(--ic-select-expand-icon-color)}.expand-icon-open,:host(.ic-select-searchable) .expand-icon-open{transform:rotateX(180deg)}.placeholder{color:var(--ic-select-content-placeholder-text)}:host(.ic-select-disabled.ic-select-searchable) .select-input::-moz-placeholder{color:var(--ic-select-content-text-disabled)}:host(.ic-select-disabled) .value-text,:host(.ic-select-disabled) .select-input,:host(.ic-select-disabled) .placeholder,:host(.ic-select-disabled.ic-select-searchable) .select-input::placeholder{color:var(--ic-select-content-text-disabled)}.select-input-end{display:flex;align-items:center}.clear-button-container{display:flex;align-items:center}.divider{width:var(--ic-space-1px);background-color:var(--ic-select-content-divider);margin:var(--ic-space-xxs) 0;border-radius:var(--ic-space-1px);height:var(--ic-space-lg)}:host(.ic-select-small) .divider{height:var(--ic-space-md)}:host(.ic-select-large) .divider{height:var(--ic-space-xl)}.clear-button{color:var(--ic-select-clear-button);position:absolute;right:calc(var(--ic-space-xl) + var(--ic-space-xxs) - var(--ic-space-1px));border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition)}.clear-button:focus,.clear-button:active{background-color:var(--ic-color-focus-inner);box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer);border-radius:0.25rem}.clear-button:focus,.clear-button:active *{fill:var(--ic-atoms-input-clear-button-focus)}.clear-button.searchable{position:static}.searchable-select-results-status,.multi-select-selected-count{border:0;clip:rect(0, 0, 0, 0, 0);height:var(--ic-space-1px);overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:var(--ic-space-1px)}::slotted([slot=\"icon\"]){fill:var(--ic-select-content-placeholder-text)}.has-value ::slotted([slot=\"icon\"]){fill:var(--ic-select-content-text)}.readonly ::slotted([slot=\"icon\"]){padding:0.375rem;margin-bottom:0.75rem}@media (forced-colors: active){.has-value ::slotted([slot=\"icon\"]){fill:currentcolor}}";
|
18732
18878
|
var IcSelectStyle0 = icSelectCss;
|
18733
18879
|
|
18734
|
-
let inputIds$
|
18880
|
+
let inputIds$3 = 0;
|
18735
18881
|
const MUTABLE_ATTRIBUTES$1 = [...IC_INHERITED_ARIA, "tabindex", "title"];
|
18736
18882
|
/**
|
18737
18883
|
* @slot helper-text - Content is set as the helper text for the select.
|
@@ -18755,7 +18901,7 @@ class Select {
|
|
18755
18901
|
this.hasTimedOut = false;
|
18756
18902
|
this.inheritedAttributes = {};
|
18757
18903
|
this.initialOptionsEmpty = false;
|
18758
|
-
this.inputId = `ic-select-input-${inputIds$
|
18904
|
+
this.inputId = `ic-select-input-${inputIds$3++}`;
|
18759
18905
|
this.menuId = `${this.inputId}-menu`;
|
18760
18906
|
this.retryButtonClick = false;
|
18761
18907
|
this.searchableMenuItemSelected = false;
|
@@ -19517,18 +19663,18 @@ class Select {
|
|
19517
19663
|
(searchable
|
19518
19664
|
? !!searchableSelectInputValue
|
19519
19665
|
: !!currValue && !loading && showClearButton);
|
19520
|
-
return (hAsync(Host, { key: '
|
19666
|
+
return (hAsync(Host, { key: '17ddc749c9c786831031d470c5abdb1200293804', class: {
|
19521
19667
|
"ic-select-disabled": disabled,
|
19522
19668
|
"ic-select-searchable": searchable,
|
19523
19669
|
[`ic-select-${size}`]: size !== "medium",
|
19524
19670
|
"ic-select-full-width": fullWidth,
|
19525
19671
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
19526
|
-
}, onBlur: this.onBlur }, hAsync("ic-input-container", { key: '
|
19672
|
+
}, onBlur: this.onBlur }, hAsync("ic-input-container", { key: 'dac29abdd5b97fa78df511481a08c1657b56744d', readonly: readonly }, !hideLabel && (hAsync("ic-input-label", { key: '83f950a29ea0bea2a73494d033b433ab792621f6', for: inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly }, hAsync("slot", { key: 'e0b1ba22f6b42a4b912d8b86ca87768301cdd6c6', name: "helper-text", slot: "helper-text" }))), hAsync("ic-input-component-container", { key: '682ddb2e85e88bf60fab50faa8e0fdcd85ac1951', ref: (el) => (this.anchorEl = el), class: { "menu-open": open }, size: size, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, isSlotUsed$1(this.el, "icon") &&
|
19527
19673
|
!disabled &&
|
19528
|
-
(!readonly || !!value) && (hAsync("span", { key: '
|
19674
|
+
(!readonly || !!value) && (hAsync("span", { key: '743293181707560cac9fa7037c1d8a95faacbba1', slot: "left-icon", class: {
|
19529
19675
|
readonly,
|
19530
19676
|
"has-value": !!value,
|
19531
|
-
} }, hAsync("slot", { key: '
|
19677
|
+
} }, hAsync("slot", { key: '4925b524b62ce20585e1f7bc88fb9cc7cf543d12', 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: {
|
19532
19678
|
"select-input": true,
|
19533
19679
|
"with-clear-button": !!searchableSelectInputValue,
|
19534
19680
|
}, 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 &&
|
@@ -19548,13 +19694,13 @@ class Select {
|
|
19548
19694
|
} }, valueLabelString || placeholder), hAsync("div", { class: "select-input-end" }, isClearable && hAsync("div", { class: "divider" }), hAsync("span", { class: {
|
19549
19695
|
"expand-icon": true,
|
19550
19696
|
"expand-icon-open": open,
|
19551
|
-
}, 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: '
|
19697
|
+
}, 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: 'bff3cb65c73365cf55b3d00befdb2b0b35105219', class: {
|
19552
19698
|
"no-results": loading ||
|
19553
19699
|
hasTimedOut ||
|
19554
19700
|
((_a = noOptions === null || noOptions === void 0 ? void 0 : noOptions[0]) === null || _a === void 0 ? void 0 : _a.label) === emptyOptionListText,
|
19555
19701
|
}, ref: (el) => (this.menu = el), inputEl: searchable
|
19556
19702
|
? this.searchableSelectElement
|
19557
|
-
: this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, size: size, menuId: menuId, open: open, options: searchable ? filteredOptions : uniqueOptions, value: multiple ? currValue : currValue, fullWidth: fullWidth, selectOnEnter: selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuOptionSelectAll: this.handleSelectAllChange, onMenuKeyPress: this.handleMenuKeyPress, onUngroupedOptionsSet: this.setUngroupedOptions, onRetryButtonClicked: this.handleRetry, parentEl: this.el, onTimeoutBlur: this.onTimeoutBlur, activationType: searchable || multiple || selectOnEnter ? "manual" : "automatic", closeOnSelect: !multiple, multiSelect: multiple ? true : false, searchableSelect: searchable ? true : false })), multiple && (hAsync("div", { key: '
|
19703
|
+
: this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, size: size, menuId: menuId, open: open, options: searchable ? filteredOptions : uniqueOptions, value: multiple ? currValue : currValue, fullWidth: fullWidth, selectOnEnter: selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuOptionSelectAll: this.handleSelectAllChange, onMenuKeyPress: this.handleMenuKeyPress, onUngroupedOptionsSet: this.setUngroupedOptions, onRetryButtonClicked: this.handleRetry, parentEl: this.el, onTimeoutBlur: this.onTimeoutBlur, activationType: searchable || multiple || selectOnEnter ? "manual" : "automatic", closeOnSelect: !multiple, multiSelect: multiple ? true : false, searchableSelect: searchable ? true : false })), multiple && (hAsync("div", { key: 'c3a82cef8d2f90cc5b80ba435c63bf8b25aeaa4b', "aria-live": "polite", role: "status", class: "multi-select-selected-count" })), hasValidationStatus(validationStatus, disabled) && (hAsync("ic-input-validation", { key: 'd5a812ebb98068eb82e642483002dfa652eb618c', class: { "menu-open": open }, ariaLiveMode: "polite", status: validationStatus, message: validationText, for: inputId })))));
|
19558
19704
|
}
|
19559
19705
|
static get delegatesFocus() { return true; }
|
19560
19706
|
get el() { return getElement(this); }
|
@@ -20082,7 +20228,7 @@ class SideNavigation {
|
|
20082
20228
|
isAppNameSubtitleVariant,
|
20083
20229
|
appTitle: appTitle || "",
|
20084
20230
|
};
|
20085
|
-
return (hAsync(Host, { key: '
|
20231
|
+
return (hAsync(Host, { key: '7c08948b0f483f08399d9a843cc372a6e1117cd9', class: {
|
20086
20232
|
"xs-menu-open": menuOpen && isSDevice,
|
20087
20233
|
"xs-menu-close": !menuOpen && isSDevice,
|
20088
20234
|
"sm-collapsed": !isSDevice && !menuExpanded,
|
@@ -20091,12 +20237,12 @@ class SideNavigation {
|
|
20091
20237
|
[`ic-side-navigation-${IcBrandForegroundEnum$1.Dark}`]: foregroundColor === IcBrandForegroundEnum$1.Dark,
|
20092
20238
|
["collapsed-labels"]: !isSDevice && !menuExpanded && !!collapsedIconLabels,
|
20093
20239
|
["ic-side-navigation-inline"]: !!inline,
|
20094
|
-
} }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { key: '
|
20240
|
+
} }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { key: '39c88b80293b80db40ed2687f8c7a2b73db108f3', class: "side-navigation", id: "side-navigation" }, !isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { key: 'bc088f01295f7f02fb8cdc42f5daf5c1e7134949', class: "side-navigation-inner" }, isSlotUsed$1(this.el, "primary-navigation") && (hAsync("nav", { key: '9b9e561ef17bc3678f5bcec1fe164db88efe8961', class: "primary-navigation", "aria-labelledby": "primary-navigation-landmark" }, hAsync("span", { key: '9eaf0d09e985d890b60a2b522d5df08918582236', "aria-hidden": "true", class: "navigation-landmark-title", id: "primary-navigation-landmark" }, "Primary"), hAsync("ul", { key: '55a2cc5e38b2f304d430e943127bbcd52c418ccd', class: "navigation-list" }, hAsync("slot", { key: 'dce3539aa12916535b689ce1a2c3daebf2dfd17f', name: "primary-navigation" }))))), hAsync("div", { key: '2124eb9c5ff8290ca530a562f4acb3068fb0063c', class: {
|
20095
20241
|
["bottom-wrapper"]: true,
|
20096
20242
|
["classification-spacing"]: hasClassificationBanner(),
|
20097
|
-
} }, isSlotUsed$1(this.el, "secondary-navigation") && (hAsync("nav", { key: '
|
20243
|
+
} }, isSlotUsed$1(this.el, "secondary-navigation") && (hAsync("nav", { key: '4106c644d7a439ba2666b906ec7347d650b5b05c', class: "secondary-navigation", "aria-labelledby": "secondary-navigation-landmark" }, hAsync("span", { key: 'f58a64351b6ba155aa5b00c81e54ddbdb8aed227', "aria-hidden": "true", class: "navigation-landmark-title", id: "secondary-navigation-landmark" }, "Secondary"), hAsync("ul", { key: '4cb6c3a3945270f216e36a8647740cc1747165c4', class: "navigation-list" }, hAsync("slot", { key: '2ccc8555d80f15fa9ee40a7a9d89e6c21c519699', name: "secondary-navigation" })))), hAsync("div", { key: 'e36505c13b14e9eb766d52e50dfef11ad86cf9e0', class: "bottom-side-nav" }, this.hasSecondaryNavigation && hAsync("ic-divider", { key: '824c6240652cd7166af42f2b0e08acdb63372b5e' }), displayExpandBtn && (hAsync("button", { key: '67a081ab610c586abb4076a42b54f59d3965e4fc', class: "menu-expand-button", innerHTML: chevronIcon, onClick: () => this.toggleMenuExpanded(!this.menuExpanded), "aria-label": `${menuExpanded ? "Collapse" : "Expand"} side navigation` })), hAsync("div", { key: '56ed2420285577e6a1010edfab4ae02445c135f8', class: "app-status-wrapper" }, status && (hAsync("div", { key: '56317ca2ad0b3fc6a28662cbb37479e826bb02de', class: {
|
20098
20244
|
["app-status"]: true,
|
20099
|
-
} }, hAsync("ic-typography", { key: '
|
20245
|
+
} }, hAsync("ic-typography", { key: '067246de4696a3066f987ab17479c764caeaf53d', "aria-label": "app tag", variant: "label-uppercase", class: "app-status-text" }, status))), version && (hAsync("ic-typography", { key: 'cfcdca99019a27e730c07668de597eeb328ab500', variant: "label", class: "app-version", "aria-label": "app version" }, version))))))));
|
20100
20246
|
}
|
20101
20247
|
get el() { return getElement(this); }
|
20102
20248
|
static get watchers() { return {
|
@@ -20160,11 +20306,11 @@ class Skeleton {
|
|
20160
20306
|
width: el.style.width || (variant === "circle" ? "25px" : "260px"),
|
20161
20307
|
}
|
20162
20308
|
: undefined;
|
20163
|
-
return (hAsync(Host, { key: '
|
20309
|
+
return (hAsync(Host, { key: '7bd82290ac75e45c80d5ca97a888a9513e18ba96', class: {
|
20164
20310
|
skeleton: true,
|
20165
20311
|
"ic-skeleton-circle": variant === "circle",
|
20166
20312
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
20167
|
-
}, style: style, "aria-disabled": "true" }, hAsync("slot", { key: '
|
20313
|
+
}, style: style, "aria-disabled": "true" }, hAsync("slot", { key: 'f80d529ee6c23cf3d09b6593d4b6b8648e42e465' })));
|
20168
20314
|
}
|
20169
20315
|
get el() { return getElement(this); }
|
20170
20316
|
static get style() { return IcSkeletonStyle0; }
|
@@ -20221,9 +20367,9 @@ class SkipLink {
|
|
20221
20367
|
}
|
20222
20368
|
render() {
|
20223
20369
|
const { fullWidth, inline, label, monochrome, target, theme, transparentBackground, } = this;
|
20224
|
-
return (hAsync(Host, { key: '
|
20370
|
+
return (hAsync(Host, { key: '78f847910867f3dc91880c1f5a263a7784230d8b', class: {
|
20225
20371
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
20226
|
-
} }, hAsync("ic-link", { key: '
|
20372
|
+
} }, hAsync("ic-link", { key: '53567dbe0778b8720252ad8ae08a10815244415e', class: {
|
20227
20373
|
"display-top": !inline,
|
20228
20374
|
"full-width": !!fullWidth,
|
20229
20375
|
"show-background": !transparentBackground,
|
@@ -20288,12 +20434,12 @@ class StatusTag {
|
|
20288
20434
|
}
|
20289
20435
|
render() {
|
20290
20436
|
const { label, status, variant, size, announced, theme, uppercase } = this;
|
20291
|
-
return (hAsync(Host, { key: '
|
20437
|
+
return (hAsync(Host, { key: 'd9e1718931d2128db61bada395e96366d3ab2878', class: { [`ic-theme-${theme}`]: theme !== "inherit" }, role: announced ? "status" : null, "aria-label": "Status" }, hAsync("strong", { key: '5ff6fc1840e1468d76d6ac6eb0ca2a8716cdaf71', class: {
|
20292
20438
|
["tag"]: true,
|
20293
20439
|
[`${variant}-${status}`]: true,
|
20294
20440
|
["outlined"]: variant === "outlined",
|
20295
20441
|
[`${size}`]: true,
|
20296
|
-
} }, hAsync("ic-typography", { key: '
|
20442
|
+
} }, hAsync("ic-typography", { key: '6512f5278d0616d1b483eaced047edf2961523a7', variant: uppercase ? "label-uppercase" : "label", "apply-vertical-margins": false }, hAsync("span", { key: '31850ff9c7d3438f222e1347300fba666a197315' }, label)))));
|
20297
20443
|
}
|
20298
20444
|
static get style() { return IcStatusTagStyle0; }
|
20299
20445
|
static get cmpMeta() { return {
|
@@ -20377,29 +20523,29 @@ class Step {
|
|
20377
20523
|
// STATUS ICON FOR COMPACT STEP
|
20378
20524
|
let statusIcon;
|
20379
20525
|
if (this.type === "completed" || this.compactStepStyling === "completed") {
|
20380
|
-
statusIcon = (hAsync("span", { key: '
|
20526
|
+
statusIcon = (hAsync("span", { key: 'c554d57470b9bb379d21a3cd1abda1c75e5cba08', class: "check-icon step-icon", "aria-hidden": "true", innerHTML: checkIcon }));
|
20381
20527
|
}
|
20382
20528
|
else if (this.type === "disabled" ||
|
20383
20529
|
this.compactStepStyling === "disabled") {
|
20384
|
-
statusIcon = (hAsync("span", { key: '
|
20530
|
+
statusIcon = (hAsync("span", { key: '44e14eb7ee51ea4d6a6979139bf6da928e24de20', class: "warning-icon step-icon", "aria-hidden": "true", innerHTML: warningIcon }));
|
20385
20531
|
}
|
20386
20532
|
// COMPACT STEP COMPONENT
|
20387
|
-
const compactStep = (hAsync("div", { key: '
|
20533
|
+
const compactStep = (hAsync("div", { key: 'ba266206fb9d29e2d465d26df565ece4617d833f', class: {
|
20388
20534
|
["step"]: true,
|
20389
20535
|
["current"]: !!this.current,
|
20390
20536
|
[`compact-step-${this.compactStepStyling}`]: !!this.compactStepStyling,
|
20391
20537
|
["disabled"]: this.type === "disabled" || this.compactStepStyling === "disabled",
|
20392
|
-
} }, hAsync("ic-loading-indicator", { key: '
|
20538
|
+
} }, hAsync("ic-loading-indicator", { key: '8ac7e7a5dda9311526fabcf7c7467251496688c0', class: {
|
20393
20539
|
"compact-step-progress-indicator": true,
|
20394
20540
|
"not-required": this.type === "disabled" ||
|
20395
20541
|
this.compactStepStyling === "disabled",
|
20396
|
-
}, "aria-hidden": "true", size: "small", "inner-label": this.stepNum, progress: this.progress }), hAsync("div", { key: '
|
20542
|
+
}, "aria-hidden": "true", size: "small", "inner-label": this.stepNum, progress: this.progress }), hAsync("div", { key: '3641cfb114f1bd1bcc53b61d61c7e60368074d59', class: "heading-area" }, hAsync("ic-typography", { key: 'f57e7f3ee8558562b06a983f9474ad22884e0fb0', variant: "h4", class: "heading" }, this.heading), hAsync("div", { key: '1bfffacf1695ac55a98fdb70c95e56d3d7374644', class: "info-line" }, hAsync("ic-typography", { key: '62b06cbe4ab2ca000a1947855ba9783e8fa87f34', variant: "caption", class: "step-num" }, `${this.stepNum} of ${this.lastStepNum}`, hAsync("span", { key: '9801990157ce6e89a575dc505bfdb083dbf69d59', class: "visually-hidden" }, " steps")), (this.subheading ||
|
20397
20543
|
this.type === "completed" ||
|
20398
20544
|
this.type === "disabled" ||
|
20399
20545
|
(this.variant === "compact" &&
|
20400
20546
|
!!this.compactStepStyling &&
|
20401
20547
|
this.compactStepStyling !== "active") ||
|
20402
|
-
!!this.status) && (hAsync("div", { key: '
|
20548
|
+
!!this.status) && (hAsync("div", { key: '61da3c5be4a48ef8c49e049306e622038d09d972', class: "step-status" }, statusIcon !== undefined && statusIcon, (this.subheading || stepType) && (hAsync("ic-typography", { key: '36b727dae2acfa76a3b00ad93e296f1a7687a8bc', variant: "caption" }, this.subheading !== null && isPropDefined$1(this.subheading)
|
20403
20549
|
? this.subheading
|
20404
20550
|
: this.type === "disabled" ||
|
20405
20551
|
(this.variant === "compact" &&
|
@@ -20412,26 +20558,26 @@ class Step {
|
|
20412
20558
|
// ICON FOR DEFAULT STEP
|
20413
20559
|
let icon;
|
20414
20560
|
if (this.type !== "completed") {
|
20415
|
-
icon = (hAsync("ic-typography", { key: '
|
20561
|
+
icon = (hAsync("ic-typography", { key: '39a605e15f1e787440200c1b2d013b245eebdc65', variant: "subtitle-small" }, hAsync("span", { key: 'b957bb4c7e99809903fd89be087f15204625a0b7', class: "step-icon-inner", "aria-hidden": "true" }, this.stepNum)));
|
20416
20562
|
}
|
20417
20563
|
else {
|
20418
|
-
icon = (hAsync("div", { key: '
|
20564
|
+
icon = (hAsync("div", { key: 'f18d7120ca74ab1933e21efba3e3cf1ee08fbf70', class: "step-icon-inner", "aria-hidden": "true" }, hAsync("span", { key: 'a146e0b3a79e7aac5afc9e0e385701ed140cf672', class: "check-icon", innerHTML: checkIcon })));
|
20419
20565
|
}
|
20420
20566
|
// STEP CONNECT FOR DEFAULT STEP
|
20421
|
-
const partialBar = this.type === "current" && (hAsync("div", { key: '
|
20422
|
-
const finalStep = !this.lastStep && (hAsync("div", { key: '
|
20567
|
+
const partialBar = this.type === "current" && (hAsync("div", { key: '67fc4bea3d00a2c1dda63b5590816f5246c2e474', class: "step-connect-inner" }));
|
20568
|
+
const finalStep = !this.lastStep && (hAsync("div", { key: 'af37563dcbf8ec3a3411a9c451e31c73651e3160', class: {
|
20423
20569
|
["step-connect"]: true,
|
20424
20570
|
["aligned-full-width"]: !!(((_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.classList.contains("ic-stepper-default")) &&
|
20425
20571
|
!this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
|
20426
20572
|
} }, partialBar));
|
20427
20573
|
// DEFAULT STEP COMPONENT
|
20428
|
-
const defaultStep = (hAsync("div", { key: '
|
20574
|
+
const defaultStep = (hAsync("div", { key: 'b2c1130ef9a2e12fdf93c08f8564ec48631cf7d0', class: {
|
20429
20575
|
["step"]: true,
|
20430
20576
|
[`${this.type}`]: true,
|
20431
|
-
} }, hAsync("div", { key: '
|
20577
|
+
} }, hAsync("div", { key: '0282ce231a90fb918c383422de63cdab9a9d5528', class: "step-top" }, hAsync("div", { key: '1ce5c704d09efb169857dc1dd88af5e5f1f03021', class: "step-icon" }, icon), finalStep), (this.heading || this.subheading || this.status) && (hAsync("div", { key: 'ba9737c9919bb6bde9b09d320afaad8602d02d36', class: "heading-area" }, this.heading && (hAsync("ic-typography", { key: '9466eb68a941c56fe0cbecaef69e138cff2a8995', variant: "subtitle-large", class: "heading" }, this.heading)), this.heading && (this.subheading || this.status) && (hAsync("ic-typography", { key: '90151ad68ae0cd4f58d3e7eb01b88b9649997f61', variant: "caption", class: "subheading" }, this.subheading !== null && isPropDefined$1(this.subheading)
|
20432
20578
|
? this.subheading
|
20433
20579
|
: stepStatus))))));
|
20434
|
-
return (hAsync(Host, { key: '
|
20580
|
+
return (hAsync(Host, { key: 'e002bcf7743d7161bfb9816facb9a939e03aa233', role: "listitem", "aria-label": `Step ${this.stepNum}${ariaLabel}`, "aria-current": (this.current || this.type === "current") && "step", class: {
|
20435
20581
|
["aligned-full-width"]: !!(((_b = this.el.parentElement) === null || _b === void 0 ? void 0 : _b.classList.contains("ic-stepper-default")) &&
|
20436
20582
|
!this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
|
20437
20583
|
[`ic-step-${this.variant}`]: true,
|
@@ -20712,11 +20858,11 @@ class Stepper {
|
|
20712
20858
|
checkResizeObserver$1(this.runResizeObserver);
|
20713
20859
|
}
|
20714
20860
|
render() {
|
20715
|
-
return (hAsync(Host, { key: '
|
20861
|
+
return (hAsync(Host, { key: '160ed7fd4476d0a3bc486fdc53e8b5201b2da91b', class: {
|
20716
20862
|
[`ic-stepper-${this.variant}`]: true,
|
20717
20863
|
["ic-stepper-aligned-left"]: this.variant === "default" && this.aligned === "left",
|
20718
20864
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
20719
|
-
} }, hAsync("ul", { key: '
|
20865
|
+
} }, hAsync("ul", { key: '8bb8e3a99cd3a3c4ce4b7f0e532cb7f761dbcc89', class: "step-item-list" }, hAsync("slot", { key: '5ca26c0108e96ec012bcd9b99c420559fbccb839' }))));
|
20720
20866
|
}
|
20721
20867
|
get el() { return getElement(this); }
|
20722
20868
|
static get watchers() { return {
|
@@ -20751,7 +20897,7 @@ class Stepper {
|
|
20751
20897
|
const icSwitchCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;--ic-input-label-text-color:var(--ic-switch-label);--ic-input-label-helper-text-color:var(--ic-switch-help-text);--ic-input-label-helpertext-padding:var(--ic-space-xs)}input{overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ic-switch-container{display:flex;flex-wrap:wrap;align-items:center;cursor:pointer}.ic-switch-label{margin-left:var(--ic-space-xxs);margin-bottom:var(--ic-space-xs)}.ic-switch-label-small{margin-bottom:var(--ic-space-xs)}.ic-switch-toggle{display:flex;align-items:center;justify-content:space-around;width:4rem;height:var(--ic-space-xl);position:relative;border-radius:100vw;background-color:var(--ic-switch-unchecked-bg);border:var(--ic-border-width) solid var(--ic-switch-unchecked);box-sizing:border-box;transition:var(--ic-transition-duration-fast);margin-left:var(--ic-space-xxs)}.ic-switch-line-break{flex:1 0 100%}.ic-switch-toggle::before{content:\"\";width:1.333rem;height:1.333rem;border-radius:50%;position:absolute;z-index:2;top:50%;left:0.333rem;transform:translate(0, -50%);background-color:var(--ic-switch-unchecked);transition:var(--ic-transition-duration-slow)}.ic-switch-icon{display:inline-block;vertical-align:middle;width:0.625rem;height:0.625rem}.ic-switch-icon-circle,.ic-switch-icon-line{stroke-width:1}.ic-switch-icon-circle{stroke:var(--ic-switch-indicator-off)}.ic-switch-icon-line{stroke:var(--ic-switch-indicator-on)}@media (prefers-reduced-motion: reduce){.ic-switch-toggle::before{transition-duration:0ms}}.ic-switch-input:checked+.ic-switch-toggle{background-color:var(--ic-switch-checked-bg);border:none}.ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(var(--ic-space-xl), -50%);background-color:var(--ic-switch-checked)}.ic-switch-input:not([disabled])+.ic-switch-toggle:hover::before{box-shadow:0 0 0 0.75rem var(--ic-switch-unchecked-bg-hover)}.ic-switch-input:not([disabled])+.ic-switch-toggle:active::before{box-shadow:0 0 0 0.75rem var(--ic-switch-unchecked-bg-pressed)}.ic-switch-input:not([disabled]):checked+.ic-switch-toggle:hover::before{box-shadow:0 0 0 0.75rem var(--ic-switch-checked-bg-hover)}.ic-switch-input:not([disabled]):checked+.ic-switch-toggle:active::before{box-shadow:0 0 0 0.75rem var(--ic-switch-checked-bg-pressed)}.ic-switch-input:focus:not([disabled])+.ic-switch-toggle,.ic-switch-input:focus-visible:not([disabled])+.ic-switch-toggle{box-shadow:var(--ic-border-focus)}.ic-switch-disabled{cursor:default}.ic-switch-disabled .ic-switch-icon-circle{stroke:var(--ic-switch-indicator-off-disabled)}.ic-switch-disabled .ic-switch-icon-line{stroke:var(--ic-switch-indicator-on-disabled)}.ic-switch-input:disabled+.ic-switch-toggle{background-color:var(--ic-switch-unchecked-bg-disabled);border:var(--ic-space-1px) dashed var(--ic-switch-unchecked-outline-disabled)}.ic-switch-input:disabled+.ic-switch-toggle::before{background-color:var(--ic-switch-unchecked-disabled)}.ic-switch-input:disabled:checked+.ic-switch-toggle{background-color:var(--ic-switch-checked-bg-disabled);border:var(--ic-border-width) dashed\n var(--ic-switch-checked-outline-disabled)}.ic-switch-input:disabled:checked+.ic-switch-toggle::before{background-color:var(--ic-switch-checked)}.ic-switch-small .ic-switch-toggle{width:var(--ic-space-xxl);height:var(--ic-space-lg)}.ic-switch-small .ic-switch-toggle::before{width:var(--ic-space-md);height:var(--ic-space-md);left:var(--ic-space-xxs)}.ic-switch-small .ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(var(--ic-space-lg), -50%)}::slotted([slot=\"right-adornment\"]){margin-left:var(--ic-space-sm);fill:var(--ic-switch-icon)}@media (forced-colors: active){.ic-switch-toggle::before,.ic-switch-input:checked+.ic-switch-toggle{border:var(--ic-border-hc)}.ic-switch-input:focus+.ic-switch-toggle{border-color:highlight;outline:var(--ic-space-xxxs) solid highlight}.ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(calc(var(--ic-space-xl) - 0.125rem), -50%)}.ic-switch-input:disabled+.ic-switch-toggle,.ic-switch-input:disabled:checked+.ic-switch-toggle,.ic-switch-input:disabled+.ic-switch-toggle::before{border-color:GrayText}.ic-switch-disabled .ic-switch-icon-circle,.ic-switch-disabled .ic-switch-icon-line{stroke:GrayText}}";
|
20752
20898
|
var IcSwitchStyle0 = icSwitchCss;
|
20753
20899
|
|
20754
|
-
let inputIds$
|
20900
|
+
let inputIds$2 = 0;
|
20755
20901
|
/**
|
20756
20902
|
* @slot helper-text - Content is set as the helper text for the switch.
|
20757
20903
|
* @slot right-adornment - Content is placed to the right of switch.
|
@@ -20762,7 +20908,7 @@ class Switch {
|
|
20762
20908
|
this.icBlur = createEvent(this, "icBlur", 7);
|
20763
20909
|
this.icChange = createEvent(this, "icChange", 7);
|
20764
20910
|
this.icFocus = createEvent(this, "icFocus", 7);
|
20765
|
-
this.inputId = `ic-switch-input-${inputIds$
|
20911
|
+
this.inputId = `ic-switch-input-${inputIds$2++}`;
|
20766
20912
|
this.checkedState = false;
|
20767
20913
|
this.initiallyChecked = this.checked;
|
20768
20914
|
/**
|
@@ -20846,16 +20992,16 @@ class Switch {
|
|
20846
20992
|
const { label, checkedState, size, disabled, name, value, hideLabel, helperText, inputId, theme, } = this;
|
20847
20993
|
const isSmall = size === "small";
|
20848
20994
|
renderHiddenInput$1(this.el, checkedState ? value : "", name, disabled);
|
20849
|
-
return (hAsync(Host, { key: '
|
20995
|
+
return (hAsync(Host, { key: '9b7b3b90a63362a1759ddac6f4cf21b9a557e557', class: {
|
20850
20996
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
20851
|
-
} }, hAsync("label", { key: '
|
20997
|
+
} }, hAsync("label", { key: '53127158241f105ee2901065800c2e2c2956bde7', class: {
|
20852
20998
|
"ic-switch-container": true,
|
20853
20999
|
"ic-switch-disabled": !!disabled,
|
20854
21000
|
"ic-switch-small": isSmall,
|
20855
|
-
}, htmlFor: inputId }, !hideLabel && (hAsync("ic-input-label", { key: '
|
21001
|
+
}, htmlFor: inputId }, !hideLabel && (hAsync("ic-input-label", { key: '9a1a21f9800d5ac10a1a34c26cb4935ba5ffc11d', for: inputId, label: label, helperText: helperText, readonly: false, disabled: disabled, class: {
|
20856
21002
|
"ic-switch-label": true,
|
20857
21003
|
"ic-switch-label-small": isSmall,
|
20858
|
-
} }, hAsync("slot", { key: '
|
21004
|
+
} }, hAsync("slot", { key: 'a571eb57460d766e9170ec2eb805cff8d2e1942a', name: "helper-text", slot: "helper-text" }))), !hideLabel && hAsync("span", { key: '466b4dabdcc9c83a940e23939f3ef578e8c5e9f6', class: "ic-switch-line-break" }), hAsync("input", { key: 'b6fb491a569160225e7ff8a26384d955a1bda816', checked: checkedState, disabled: disabled, "aria-label": label, "aria-checked": checkedState ? "true" : "false", "aria-describedby": getInputDescribedByText$1(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: '5af91fad30f1284a67af6340d9bcc8196b395790', class: "ic-switch-toggle" }, hAsync("svg", { key: 'dc1454967547c70a3f344b73818343fa48468733', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, hAsync("line", { key: '561f2562c544bac3161ac16835c2d15eaf16ef42', class: "ic-switch-icon-line", x1: "9", y1: isSmall ? "2" : "1", x2: "9", y2: isSmall ? "8" : "9" })), hAsync("svg", { key: '74e1eb608eae10deab115ec10a9e38e69e749248', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, hAsync("circle", { key: '315395645de307e2b865f92c148e1e20435b44bd', class: "ic-switch-icon-circle", fill: "none", cx: "5", cy: "5", r: isSmall ? "3.335" : "4.445" }))), hAsync("slot", { key: 'cc7c441c007e20c183417ae606e59360e86b3c4d', name: "right-adornment" }))));
|
20859
21005
|
}
|
20860
21006
|
static get delegatesFocus() { return true; }
|
20861
21007
|
get el() { return getElement(this); }
|
@@ -20978,13 +21124,13 @@ class Tab {
|
|
20978
21124
|
}
|
20979
21125
|
render() {
|
20980
21126
|
const { disabled, selected, theme, monochrome, handleClick, handleFocus, handleMouseDown, } = this;
|
20981
|
-
return (hAsync(Host, { key: '
|
21127
|
+
return (hAsync(Host, { key: 'fe6e517a696ed23c6fb64028d617997439ebbac6', class: {
|
20982
21128
|
["with-transition"]: !this.isInitialRender,
|
20983
21129
|
["ic-tab-selected"]: !!selected,
|
20984
21130
|
["ic-tab-disabled"]: !!disabled,
|
20985
21131
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
20986
21132
|
["ic-tab-monochrome"]: !!monochrome,
|
20987
|
-
}, role: "tab", "aria-selected": `${selected}`, onClick: handleClick, onFocus: handleFocus, onMouseDown: handleMouseDown, "aria-disabled": `${disabled}`, tabindex: selected ? 0 : -1 }, isSlotUsed$1(this.el, "icon") && hAsync("slot", { key: '
|
21133
|
+
}, role: "tab", "aria-selected": `${selected}`, onClick: handleClick, onFocus: handleFocus, onMouseDown: handleMouseDown, "aria-disabled": `${disabled}`, tabindex: selected ? 0 : -1 }, isSlotUsed$1(this.el, "icon") && hAsync("slot", { key: '9c2bf173facd6f4b4fa96824bb14db06a2b97c6b', name: "icon" }), hAsync("ic-typography", { key: 'f1d4732d8f5ad9f198f2da6c08c3717731dcd8da', class: "ic-tab-label", variant: "label" }, hAsync("span", { key: '9f993fe757e86acb507a58259e47e507a5feddc3' }, hAsync("slot", { key: '2bfe6c474802a62771ce58947305f0b71db1803d' }))), isSlotUsed$1(this.el, "badge") && hAsync("slot", { key: '23c6074e338df9e72b77b5449938f61f9ee042a0', name: "badge" })));
|
20988
21134
|
}
|
20989
21135
|
get el() { return getElement(this); }
|
20990
21136
|
static get watchers() { return {
|
@@ -21233,7 +21379,7 @@ class TabContext {
|
|
21233
21379
|
}
|
21234
21380
|
}
|
21235
21381
|
render() {
|
21236
|
-
return hAsync("slot", { key: '
|
21382
|
+
return hAsync("slot", { key: '0df9be3f91695a070675c0809d85e94e4d64ec3b' });
|
21237
21383
|
}
|
21238
21384
|
get el() { return getElement(this); }
|
21239
21385
|
static get watchers() { return {
|
@@ -21279,11 +21425,11 @@ class TabGroup {
|
|
21279
21425
|
}
|
21280
21426
|
render() {
|
21281
21427
|
const { inline, theme, label, monochrome } = this;
|
21282
|
-
return (hAsync(Host, { key: '
|
21428
|
+
return (hAsync(Host, { key: '08da1fef9eb0a16a7f9d0f7cffff3894b3319b09', role: "tablist", "aria-label": label, class: {
|
21283
21429
|
["ic-tab-group-inline"]: !!inline,
|
21284
21430
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
21285
21431
|
["ic-tab-group-monochrome"]: !!monochrome,
|
21286
|
-
} }, hAsync("ic-horizontal-scroll", { key: '
|
21432
|
+
} }, hAsync("ic-horizontal-scroll", { key: 'c12cc06aba78c85277b3eab2250c8e61a3b4c4da', theme: theme, "focus-trigger": "tabFocus", monochrome: monochrome }, hAsync("div", { key: '01c299ea10f8600e2e9df303e06c4e97dcdab7c3', class: "tabs-container" }, hAsync("slot", { key: '1f2cb7d4f2f86c7e3ba8f910797a963d15d9a7e0' })))));
|
21287
21433
|
}
|
21288
21434
|
static get delegatesFocus() { return true; }
|
21289
21435
|
static get style() { return IcTabGroupStyle0; }
|
@@ -21326,10 +21472,10 @@ class TabPanel {
|
|
21326
21472
|
}
|
21327
21473
|
render() {
|
21328
21474
|
const { active, theme } = this;
|
21329
|
-
return (hAsync(Host, { key: '
|
21475
|
+
return (hAsync(Host, { key: 'ec5befdef261599b9f010a547bec533c28422dcd', class: {
|
21330
21476
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
21331
21477
|
"ic-tab-panel-hidden": !active,
|
21332
|
-
}, role: "tabpanel", "aria-hidden": `${!active}` }, hAsync("div", { key: '
|
21478
|
+
}, role: "tabpanel", "aria-hidden": `${!active}` }, hAsync("div", { key: '76bf7fc0f05bd9422c79ba6a592561c211b20bec' }, hAsync("slot", { key: '5ecfbc0ad3dc9c11b482f81557afc2afa5dd2803' }))));
|
21333
21479
|
}
|
21334
21480
|
get el() { return getElement(this); }
|
21335
21481
|
static get style() { return IcTabPanelStyle0; }
|
@@ -21353,7 +21499,7 @@ class TabPanel {
|
|
21353
21499
|
const icTextFieldCss = "/*! 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-helpertext-padding:var(--ic-space-xs);--border-color:var(--ic-text-field-border-neutral);--border-color-hover:var(--ic-text-field-border-neutral-hover);--border-color-pressed:var(--ic-text-field-border-neutral-pressed);--border-color-disabled:var(--ic-text-field-border-disabled);--border-color-error:var(--ic-text-field-border-error);--border-color-error-hover:var(--ic-text-field-border-error-hover);--border-color-error-pressed:var(--ic-text-field-border-error-pressed);--border-color-success:var(--ic-text-field-border-success);--border-color-success-hover:var(--ic-text-field-border-success-hover);--border-color-success-pressed:var(--ic-text-field-border-success-pressed);--border-color-warning:var(--ic-text-field-border-warning);--border-color-warning-hover:var(--ic-text-field-border-warning-hover);--border-color-warning-pressed:var(--ic-text-field-border-warning-pressed);--ic-input-label-text-color:var(--ic-text-field-label);--ic-input-label-helper-text-color:var(--ic-text-field-subtitle);--ic-input-validation-status-text-color:var(--ic-text-field-state-text);--ic-input-validation-error:var(--ic-text-field-state-icon-error);--ic-input-validation-warning-icon-color:var(\n --ic-text-field-state-icon-warning\n );--ic-input-validation-success-icon-color:var(\n --ic-text-field-state-icon-success\n );--ic-input-component-container-success-icon-inline-color:var(\n --ic-text-field-state-icon-success\n )}:host(.ic-text-field-disabled){--ic-input-label-text-color:var(--ic-text-field-label-disabled);--ic-input-label-helper-text-color:var(--ic-text-field-subtitle-disabled);--text-field-placeholder-color:var(\n --ic-text-field-text-area-placeholder-text-disabled\n )}:host(.ic-text-field-full-width){width:100%}::-moz-placeholder{color:var(\n --text-field-placeholder-color,\n var(--ic-text-field-placeholder-text)\n );opacity:1}::placeholder{color:var(\n --text-field-placeholder-color,\n var(--ic-text-field-placeholder-text)\n );opacity:1}input,textarea{border:0;border-radius:var(--ic-border-radius);color:var(--text-field-text-color, var(--ic-text-field-text));background-color:var(--input-bg-color, var(--ic-text-field-background));line-height:1.5rem;letter-spacing:0.005rem;width:100%;padding-right:var(--ic-space-xs);padding-left:var(--ic-space-xs);caret-color:var(\n --text-field-typing-cursor,\n var(--ic-text-field-typing-cursor)\n )}textarea{min-height:var(--ic-space-lg);resize:vertical;padding-top:0.375rem}input:focus,textarea:focus{border:0;outline:0}input:disabled,textarea:disabled{color:var(\n --text-field-disabled-text-color,\n var(--ic-text-field-text-disabled)\n )}input.readonly,textarea.readonly{color:var(--ic-text-field-read-only-input-text-internal);background:transparent}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=\"number\"]{-moz-appearance:textfield}textarea.no-resize{resize:none}.char-count-text{--ic-typography-color:var(--ic-text-field-character-limit);padding-right:var(--ic-space-xxxs)}:host(.ic-text-field-disabled) .char-count-text{--ic-typography-color:var(--ic-text-field-character-limit-disabled)}.no-left-pad{padding-left:0}::slotted([slot=\"icon\"]){fill:var(--ic-text-field-text-disabled)}.has-value ::slotted([slot=\"icon\"]){fill:var(--ic-text-field-input-internal-icon)}.char-count{margin-right:calc(-1 * var(--ic-space-xxxs))}.remaining-char-count-desc{position:absolute;left:-9999px}input[type=\"search\"]::-webkit-search-cancel-button,input[type=\"search\"]::-webkit-search-decoration,input[type=\"search\"]::-webkit-search-results-button,input[type=\"search\"]::-webkit-search-results-decoration{display:none}input[type=\"search\"].truncate-value{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media (forced-colors: active){input.readonly,textarea.readonly{color:canvastext}.has-value ::slotted([slot=\"icon\"]){fill:currentcolor}}";
|
21354
21500
|
var IcTextFieldStyle0 = icTextFieldCss;
|
21355
21501
|
|
21356
|
-
let inputIds = 0;
|
21502
|
+
let inputIds$1 = 0;
|
21357
21503
|
const MUTABLE_ATTRIBUTES = [...IC_INHERITED_ARIA, "title"];
|
21358
21504
|
/**
|
21359
21505
|
* @slot helper-text - Content is set as the helper text for the text field.
|
@@ -21423,7 +21569,7 @@ class TextField {
|
|
21423
21569
|
/**
|
21424
21570
|
* The ID for the input.
|
21425
21571
|
*/
|
21426
|
-
this.inputId = `ic-text-field-input-${inputIds++}`;
|
21572
|
+
this.inputId = `ic-text-field-input-${inputIds$1++}`;
|
21427
21573
|
/**
|
21428
21574
|
* A hint to the browser for which keyboard to display.
|
21429
21575
|
* Possible values: `"none"`, `"text"`, `"tel"`, `"url"`,
|
@@ -21720,14 +21866,14 @@ class TextField {
|
|
21720
21866
|
hiddenInput
|
21721
21867
|
? renderHiddenInput$1(this.el, value, name, disabledMode)
|
21722
21868
|
: removeHiddenInput(this.el);
|
21723
|
-
return (hAsync(Host, { key: '
|
21869
|
+
return (hAsync(Host, { key: 'af9f4dab9e78765b8e1e578d57783e5487d83f6b', class: {
|
21724
21870
|
"ic-text-field-full-width": fullWidth,
|
21725
21871
|
"ic-text-field-disabled": disabledMode,
|
21726
21872
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
21727
|
-
} }, hAsync("ic-input-container", { key: '
|
21873
|
+
} }, hAsync("ic-input-container", { key: '7417dcc2f53f877899b713093e81a4db38c394c7', readonly: readonly, disabled: disabledMode }, !hideLabel && (hAsync("ic-input-label", { key: '36ae0e2a6a99024c0b8fbd141519dcd4d5390e6d', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledText, readonly: readonly }, hAsync("slot", { key: '9392299204d1bc2ef1b0bb464984b8f8bc148834', name: "helper-text", slot: "helper-text" }))), hAsync("ic-input-component-container", { key: 'd6819ae02cab210950e11d74c1dac6dd3c5505ed', size: size, validationStatus: currentStatus, multiLine: multiline, disabled: disabledMode, readonly: readonly, validationInline: validationInline, fullWidth: fullWidth }, showLeftIcon && (hAsync("span", { key: '660f12ab2717dfd7b75bd19a60c92c167fb06db3', class: {
|
21728
21874
|
readonly,
|
21729
21875
|
"has-value": this.getNumberOfCharacters(value) > 0,
|
21730
|
-
}, slot: "left-icon" }, hAsync("slot", { key: '
|
21876
|
+
}, slot: "left-icon" }, hAsync("slot", { key: '8631fc623d4f5b422921add6d01992b736acdf22', 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: {
|
21731
21877
|
"no-left-pad": !showLeftIcon && readonly,
|
21732
21878
|
readonly,
|
21733
21879
|
"truncate-value": truncateValue,
|
@@ -21735,19 +21881,19 @@ class TextField {
|
|
21735
21881
|
"no-resize": resize === false || !!readonly,
|
21736
21882
|
"no-left-pad": !showLeftIcon && !!readonly,
|
21737
21883
|
readonly: !!readonly,
|
21738
|
-
}, 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$1(el, "clear-button") && (hAsync("slot", { key: '
|
21884
|
+
}, 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$1(el, "clear-button") && (hAsync("slot", { key: 'c92ce219c83dccaec610f5caeb2a71b4753cbe2f', name: "clear-button" })), isSlotUsed$1(el, "search-submit-button") && (hAsync("slot", { key: '4ee50a7855e3a2c3fb5ab4ad655b278bb7a2190d', name: "search-submit-button" }))), isSlotUsed$1(el, "menu") && hAsync("slot", { key: '9ab8449f815482c7cd689d3d22b918de4c72c27b', name: "menu" }), (!isEmptyString$1(validationStatus) ||
|
21739
21885
|
!isEmptyString$1(validationText) ||
|
21740
21886
|
maxNumChars > 0 ||
|
21741
21887
|
maxValueExceeded ||
|
21742
21888
|
maxCharactersWarning ||
|
21743
21889
|
minCharactersUnattained ||
|
21744
21890
|
minValueUnattained) &&
|
21745
|
-
!validationInlineInternal && (hAsync("ic-input-validation", { key: '
|
21891
|
+
!validationInlineInternal && (hAsync("ic-input-validation", { key: 'b87afc1859b8a33d5767b5b0c61056936b760de7', status: this.hasStatus(currentStatus) === false ||
|
21746
21892
|
(currentStatus === IcInformationStatus$1.Success &&
|
21747
21893
|
validationInline) ||
|
21748
21894
|
validationInlineInternal
|
21749
21895
|
? ""
|
21750
|
-
: currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, !readonly && maxNumChars > 0 && (hAsync("div", { key: '
|
21896
|
+
: currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, !readonly && maxNumChars > 0 && (hAsync("div", { key: 'b0f41b53066d1c7b6fa4442796ec5122198575bf', slot: "validation-message-adornment" }, !hideCharCount && (hAsync("ic-typography", { key: 'acc961a28e30293d1031a8469327e3f70c179936', variant: "caption", class: "char-count-text" }, hAsync("span", { key: '94e2d9e62a04beccd7abc4309a70f6a0908f4d34', class: "char-count" }, numChars, "/", maxNumChars))), hAsync("span", { key: 'caf33b69417c2a5d956b7a88ea3855212c7e3e19', class: "remaining-char-count-desc", "aria-live": "polite", hidden: !isFocussed, id: remainingCharCountDescId }, remainingCharCountDesc), hAsync("span", { key: 'f69c682178137ae9da47c05c15b81de48e06189a', hidden: true, id: hiddenCharCountDescId }, "Field can contain a maximum of ", maxNumChars, " characters."))))))));
|
21751
21897
|
}
|
21752
21898
|
get el() { return getElement(this); }
|
21753
21899
|
static get watchers() { return {
|
@@ -21885,7 +22031,7 @@ class Theme {
|
|
21885
22031
|
}
|
21886
22032
|
render() {
|
21887
22033
|
const { themeClass } = this;
|
21888
|
-
return (hAsync(Host, { key: '
|
22034
|
+
return (hAsync(Host, { key: '512d47b99bd3f18979a2e5bf12dc1959c4135026', class: themeClass }, hAsync("slot", { key: '16f87dc2ea22a43fa7208a9a4e37c5e37e779fc6' })));
|
21889
22035
|
}
|
21890
22036
|
static get watchers() { return {
|
21891
22037
|
"brandColor": ["watchBrandColorPropHandler"],
|
@@ -21905,42 +22051,1017 @@ class Theme {
|
|
21905
22051
|
}; }
|
21906
22052
|
}
|
21907
22053
|
|
21908
|
-
|
21909
|
-
var IcToastStyle0 = icToastCss;
|
22054
|
+
var Clock = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>clock-outline</title><path d="M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z" /></svg>`;
|
21910
22055
|
|
21911
|
-
const
|
21912
|
-
|
21913
|
-
|
22056
|
+
const icTimeInputCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{--ic-input-label-helpertext-padding:var(--ic-space-xs);--input-bg-color:var(--ic-time-picker-field-background);--ic-input-label-text-color:var(--ic-time-picker-label);--ic-input-label-helper-text-color:var(--ic-time-picker-subtitle);--border-color:var(--ic-time-picker-time-field-border-default);--border-color-disabled:var(--ic-time-picker-border-disabled);--border-color-hover:var(--ic-time-picker-time-field-border-hover);--border-color-pressed:var(--ic-time-picker-time-field-border-pressed);--border-error-color:var(--ic-time-picker-border-error);--border-error-color-hover:var(--ic-time-picker-border-error-hover);--border-error-color-pressed:var(--ic-time-picker-border-error-pressed);--border-success-color:var(--ic-time-picker-border-success);--border-success-color-hover:var(--ic-time-picker-border-success-hover);--border-success-color-pressed:var(--ic-time-picker-border-success-pressed);--border-warning-color:var(--ic-time-picker-border-warning);--border-warning-color-hover:var(--ic-time-picker-border-warning-hover);--border-warning-color-pressed:var(--ic-time-picker-border-warning-pressed);--input-width:calc((4 * var(--ic-space-xxl)) + var(--ic-space-xxs))}:host(.ic-time-input-disabled){--ic-input-label-text-color:var(--ic-time-picker-label-disabled);--ic-input-label-helper-text-color:var(--ic-time-picker-subtitle-disabled)}:host(.ic-time-input-disabled) input{color:var(--ic-time-picker-time-text-disabled)}:host(.ic-time-input-large){--input-width:calc(\n (4 * var(--ic-space-xxl)) + var(--ic-space-xxs) + var(--ic-space-lg)\n )}:host(.ic-time-input-small){--input-width:calc(\n (3 * var(--ic-space-xxl)) + var(--ic-space-xxs) + var(--ic-space-xl)\n )}input{border:0;height:100%;padding:0;outline:none;background:none;-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield;color:var(--ic-time-picker-time-text-default);caret-color:var(--ic-time-picker-typing-cursor)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none}input:-webkit-autofill{box-shadow:0 0 0 var(--ic-space-sm) var(--ic-color-background-primary) inset;-webkit-text-fill-color:var(--ic-time-picker-time-text-default) !important}input::-moz-placeholder{color:var(--ic-time-picker-field-placeholder-text)}input::placeholder{color:var(--ic-time-picker-field-placeholder-text)}ic-input-component-container{cursor:text}ic-input-component-container .focus-indicator{padding:var(--ic-space-xxxs) var(--ic-space-xs);align-items:center}.time-inputs{color:var(--ic-time-picker-field-placeholder-text)}.hour-input{width:1.438rem}.minute-input{width:1.813rem}.second-input,.second-input.fit-to-value{width:2.313rem}.fit-to-value{width:1.25rem}.sr-only{position:absolute;left:-9999px}.input-container{width:100%;display:flex;justify-content:space-between;align-items:center;position:relative}.action-buttons{display:flex;align-items:center}.show-clock-button-wrapper{display:flex;justify-content:center;align-items:center}.clear-button,.clock-button{border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition);margin:0}.clear-button.hidden{display:none}.clear-button:focus,.clock-button:focus,.clear-button:active,.clock-button:active{background-color:var(--ic-color-focus-inner) !important;box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer) !important;border-radius:0.25rem}.clock-button:focus,.clock-button:active{--ic-button-tertiary-text-active:var(--ic-atoms-input-clear-button-focus);--ic-button-tertiary-text-hover-active:var(\n --ic-atoms-input-clear-button-focus\n );--ic-button-tertiary-text-pressed-active:var(\n --ic-atoms-input-clear-button-focus\n )}.clear-button:focus,.clock-button:focus,.clear-button:active *,.clock-button:active *{fill:var(--ic-atoms-input-clear-button-focus)}.clear-button svg{color:var(--ic-time-picker-clear-icon)}.clear-button:focus svg{color:var(--ic-atoms-input-clear-button-focus)}.divider{margin:0 var(--ic-space-xxs);width:var(--ic-space-1px);background-color:var(--ic-atoms-input-divider);border-radius:var(--ic-space-1px)}.divider.small{height:var(--ic-space-md)}.divider.medium{height:calc(var(--ic-space-sm) + var(--ic-space-xs))}.divider.large{height:var(--ic-space-lg)}ic-input-validation{--ic-input-validation-status-text-color:var(--ic-time-picker-status-text);--ic-input-validation-error:var(--ic-time-picker-icon-error);--ic-input-validation-warning-icon-color:var(--ic-time-picker-icon-warning);--ic-input-validation-success-icon-color:var(--ic-time-picker-icon-success)}@media (forced-colors: active){.clear-button svg{color:currentColor}}";
|
22057
|
+
var IcTimeInputStyle0 = icTimeInputCss;
|
22058
|
+
|
22059
|
+
let inputIds = 0;
|
21914
22060
|
/**
|
21915
|
-
* @slot
|
21916
|
-
* @slot neutral-icon - A custom neutral icon is placed on the left side of the component. If used will default toast to `neutral` variant.
|
22061
|
+
* @slot helper-text - Content is set as the helper text for the time input.
|
21917
22062
|
*/
|
21918
|
-
class
|
22063
|
+
class TimeInput {
|
21919
22064
|
constructor(hostRef) {
|
21920
22065
|
registerInstance(this, hostRef);
|
21921
|
-
this.
|
21922
|
-
this.
|
21923
|
-
this.
|
21924
|
-
this.
|
22066
|
+
this.clockButtonClicked = createEvent(this, "clockButtonClicked", 7);
|
22067
|
+
this.icBlur = createEvent(this, "icBlur", 7);
|
22068
|
+
this.icChange = createEvent(this, "icChange", 7);
|
22069
|
+
this.icFocus = createEvent(this, "icFocus", 7);
|
22070
|
+
this.DEFAULT_TIME_FORMAT = "HH:MM:SS";
|
22071
|
+
this.ARIA_INVALID = "aria-invalid";
|
22072
|
+
this.ARIA_LABEL = "aria-label";
|
22073
|
+
this.ARIA_LABELLED_BY = "aria-labelledby";
|
22074
|
+
this.EVENT_OBJECT_STRING = "[object Event]";
|
22075
|
+
this.FIT_TO_VALUE = "fit-to-value";
|
22076
|
+
this.initialValue = this.value;
|
22077
|
+
this.inputsInOrder = [];
|
22078
|
+
this.isValidHour = true;
|
22079
|
+
this.isValidMinute = true;
|
22080
|
+
this.isValidSecond = true;
|
22081
|
+
this.isValidTime = true;
|
22082
|
+
this.isTimeSetFromKeyboardEvent = false;
|
22083
|
+
this.previousSelectedTime = null;
|
22084
|
+
this.selectedTime = null;
|
22085
|
+
this.externalSetTime = false;
|
22086
|
+
this.clearInput = false;
|
22087
|
+
this.maxTime = null;
|
22088
|
+
this.minTime = null;
|
22089
|
+
this.clockFocused = false;
|
22090
|
+
this.clearButtonFocused = false;
|
22091
|
+
this.removeLabelledBy = false;
|
22092
|
+
this.hour = "";
|
22093
|
+
this.minute = "";
|
22094
|
+
this.second = "";
|
21925
22095
|
/**
|
21926
|
-
* If
|
21927
|
-
* (NOTE: Has a minimum value of `5000ms`)
|
22096
|
+
* If `true`, the disabled state will be set.
|
21928
22097
|
*/
|
21929
|
-
this.
|
22098
|
+
this.disabled = false;
|
21930
22099
|
/**
|
21931
|
-
*
|
22100
|
+
* An array of times that will be disabled in the time input. The times can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
|
21932
22101
|
*/
|
21933
|
-
this.
|
22102
|
+
this.disableTimes = [];
|
21934
22103
|
/**
|
21935
|
-
*
|
22104
|
+
* If `true`, every individual input field completed will emit an icChange event.
|
21936
22105
|
*/
|
21937
|
-
this.
|
21938
|
-
|
21939
|
-
|
22106
|
+
this.emitTimePartChange = false;
|
22107
|
+
/**
|
22108
|
+
* If `true`, the helper text will be visually hidden, but still read out by screenreaders.
|
22109
|
+
*/
|
22110
|
+
this.hideHelperText = false;
|
22111
|
+
/**
|
22112
|
+
* If `true`, the label will be visually hidden, but will still be read out by screen readers.
|
22113
|
+
*/
|
22114
|
+
this.hideLabel = false;
|
22115
|
+
/**
|
22116
|
+
* The ID for the input.
|
22117
|
+
*/
|
22118
|
+
this.inputId = `ic-time-input-${inputIds++}`;
|
22119
|
+
/**
|
22120
|
+
* The text to display as the validation message when an invalid time is entered.
|
22121
|
+
*/
|
22122
|
+
this.invalidTimeMessage = "Please enter a valid time.";
|
22123
|
+
/**
|
22124
|
+
* The latest time that will be allowed. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
|
22125
|
+
*/
|
22126
|
+
this.max = "";
|
22127
|
+
/**
|
22128
|
+
* The earliest time that will be allowed. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
|
22129
|
+
*/
|
22130
|
+
this.min = "";
|
22131
|
+
/**
|
22132
|
+
* The name of the control, which is submitted with the form data.
|
22133
|
+
*/
|
22134
|
+
this.name = this.inputId;
|
22135
|
+
/**
|
22136
|
+
* If `true`, the input will require a value.
|
22137
|
+
*/
|
22138
|
+
this.required = false;
|
22139
|
+
/**
|
22140
|
+
* If `true`, a button which clears the time input when clicked will be displayed.
|
22141
|
+
*/
|
22142
|
+
this.showClearButton = true;
|
22143
|
+
/**
|
22144
|
+
* @internal If `true`, a button which displays the clock view when clicked will be displayed.
|
22145
|
+
*/
|
22146
|
+
this.showClockButton = false;
|
22147
|
+
/**
|
22148
|
+
* The size of the time input to be displayed.
|
22149
|
+
*/
|
22150
|
+
this.size = "medium";
|
22151
|
+
/**
|
22152
|
+
* Sets the time picker to the dark or light theme colors. "inherit" will set the color based on the system settings or ic-theme component.
|
22153
|
+
*/
|
22154
|
+
this.theme = "inherit";
|
22155
|
+
/**
|
22156
|
+
* The format in which the time will be displayed.
|
22157
|
+
*/
|
22158
|
+
this.timeFormat = this.DEFAULT_TIME_FORMAT;
|
22159
|
+
/**
|
22160
|
+
* The time period format: "12" for 12-hour, "24" for 24-hour. Defaults to "24".
|
22161
|
+
*/
|
22162
|
+
this.timePeriod = "24";
|
22163
|
+
/**
|
22164
|
+
* The value of the time input. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
|
22165
|
+
*/
|
22166
|
+
this.value = "";
|
22167
|
+
/**
|
22168
|
+
* The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in time validation.
|
22169
|
+
*/
|
22170
|
+
this.validationStatus = "";
|
22171
|
+
/**
|
22172
|
+
* The text to display as the validation message. This will override the built-in time validation.
|
22173
|
+
*/
|
22174
|
+
this.validationText = "";
|
22175
|
+
this.setInputPasteValue = (input, pastedValue) => {
|
22176
|
+
if (input) {
|
22177
|
+
const inputEl = input;
|
22178
|
+
inputEl.value = pastedValue;
|
22179
|
+
inputEl.classList.add(this.FIT_TO_VALUE);
|
22180
|
+
}
|
21940
22181
|
};
|
21941
|
-
this.
|
21942
|
-
|
21943
|
-
|
22182
|
+
this.parseTime = (value) => {
|
22183
|
+
if (!value)
|
22184
|
+
return null;
|
22185
|
+
if (value instanceof Date)
|
22186
|
+
return value;
|
22187
|
+
const parts = value.split(":");
|
22188
|
+
if (parts.length >= 2) {
|
22189
|
+
const d = new Date();
|
22190
|
+
d.setHours(+parts[0], +parts[1], parts[2] ? +parts[2] : 0, 0);
|
22191
|
+
return d;
|
22192
|
+
}
|
22193
|
+
return null;
|
22194
|
+
};
|
22195
|
+
this.isHHMMFormat = () => this.timeFormat === "HH:MM";
|
22196
|
+
this.isKeyboardOrEvent = (event) => {
|
22197
|
+
return (Object.prototype.toString.call(event) === this.EVENT_OBJECT_STRING ||
|
22198
|
+
Object.prototype.toString.call(event) === "[object KeyboardEvent]");
|
22199
|
+
};
|
22200
|
+
this.setTimeValidity = () => {
|
22201
|
+
const minHour = 0;
|
22202
|
+
const maxHour = this.timePeriod === "12" ? 11 : 23;
|
22203
|
+
if (!isEmptyString(this.hour)) {
|
22204
|
+
this.isValidHour = +this.hour >= minHour && +this.hour <= maxHour;
|
22205
|
+
}
|
22206
|
+
else {
|
22207
|
+
this.isValidHour = true;
|
22208
|
+
}
|
22209
|
+
if (!isEmptyString(this.minute)) {
|
22210
|
+
this.isValidMinute = +this.minute >= 0 && +this.minute <= 59;
|
22211
|
+
}
|
22212
|
+
else {
|
22213
|
+
this.isValidMinute = true;
|
22214
|
+
}
|
22215
|
+
if (!this.isHHMMFormat()) {
|
22216
|
+
if (!isEmptyString(this.second)) {
|
22217
|
+
this.isValidSecond = +this.second >= 0 && +this.second <= 59;
|
22218
|
+
}
|
22219
|
+
else {
|
22220
|
+
this.isValidSecond = true;
|
22221
|
+
}
|
22222
|
+
}
|
22223
|
+
else {
|
22224
|
+
this.isValidSecond = true;
|
22225
|
+
}
|
22226
|
+
};
|
22227
|
+
this.setInputValue = (input, clear = false) => {
|
22228
|
+
const newValue = clear ? "" : input.value;
|
22229
|
+
if (input === this.hourInputEl) {
|
22230
|
+
this.hour = newValue;
|
22231
|
+
}
|
22232
|
+
else if (input === this.minuteInputEl) {
|
22233
|
+
this.minute = newValue;
|
22234
|
+
}
|
22235
|
+
else if (input === this.secondInputEl && !this.isHHMMFormat()) {
|
22236
|
+
this.second = newValue;
|
22237
|
+
}
|
22238
|
+
this.setValidationMessage();
|
22239
|
+
};
|
22240
|
+
this.setPreventInput = (input, isPrevented) => {
|
22241
|
+
if (input === this.hourInputEl) {
|
22242
|
+
this.preventHourInput = isPrevented;
|
22243
|
+
}
|
22244
|
+
else if (input === this.minuteInputEl) {
|
22245
|
+
this.preventMinuteInput = isPrevented;
|
22246
|
+
}
|
22247
|
+
else if (input === this.secondInputEl) {
|
22248
|
+
this.preventSecondInput = isPrevented;
|
22249
|
+
}
|
22250
|
+
};
|
22251
|
+
this.setValidationMessage = () => {
|
22252
|
+
this.maxTime = this.parseTime(this.max);
|
22253
|
+
this.minTime = this.parseTime(this.min);
|
22254
|
+
this.setTimeValidity();
|
22255
|
+
let outOfBoundsMsg = "";
|
22256
|
+
let isDisabledTime = false;
|
22257
|
+
if (!isEmptyString(this.hour) &&
|
22258
|
+
!isEmptyString(this.minute) &&
|
22259
|
+
(this.isHHMMFormat() || !isEmptyString(this.second))) {
|
22260
|
+
this.selectedTime = this.convertToTime(this.hour, this.minute, this.isHHMMFormat() ? "00" : this.second);
|
22261
|
+
this.isValidTime =
|
22262
|
+
!!this.selectedTime &&
|
22263
|
+
this.selectedTime.getHours() == +this.hour &&
|
22264
|
+
this.selectedTime.getMinutes() == +this.minute &&
|
22265
|
+
(this.isHHMMFormat() || this.selectedTime.getSeconds() == +this.second);
|
22266
|
+
if (this.selectedTime &&
|
22267
|
+
Array.isArray(this.disableTimes) &&
|
22268
|
+
this.disableTimes.length > 0) {
|
22269
|
+
isDisabledTime = this.disableTimes.some((t) => {
|
22270
|
+
if (typeof t === "object" &&
|
22271
|
+
t !== null &&
|
22272
|
+
"start" in t &&
|
22273
|
+
"end" in t) {
|
22274
|
+
const start = this.parseTime(t.start);
|
22275
|
+
const end = this.parseTime(t.end);
|
22276
|
+
if (start && end) {
|
22277
|
+
return this.selectedTime >= start && this.selectedTime <= end;
|
22278
|
+
}
|
22279
|
+
return false;
|
22280
|
+
}
|
22281
|
+
const parsed = this.parseTime(t);
|
22282
|
+
return (parsed &&
|
22283
|
+
parsed.getHours() === this.selectedTime.getHours() &&
|
22284
|
+
parsed.getMinutes() === this.selectedTime.getMinutes() &&
|
22285
|
+
parsed.getSeconds() === this.selectedTime.getSeconds());
|
22286
|
+
});
|
22287
|
+
if (isDisabledTime) {
|
22288
|
+
this.isValidTime = false;
|
22289
|
+
outOfBoundsMsg = this.invalidTimeMessage;
|
22290
|
+
}
|
22291
|
+
}
|
22292
|
+
if (this.selectedTime && !isDisabledTime) {
|
22293
|
+
if (this.minTime && this.selectedTime < this.minTime) {
|
22294
|
+
this.isValidTime = false;
|
22295
|
+
outOfBoundsMsg = `Please enter a time after ${this.formatTime(this.minTime)}.`;
|
22296
|
+
}
|
22297
|
+
else if (this.maxTime && this.selectedTime > this.maxTime) {
|
22298
|
+
this.isValidTime = false;
|
22299
|
+
outOfBoundsMsg = `Please enter a time before ${this.formatTime(this.maxTime)}.`;
|
22300
|
+
}
|
22301
|
+
}
|
22302
|
+
if (!this.isValidTime) {
|
22303
|
+
this.inputsInOrder.forEach((input) => input.setAttribute(this.ARIA_INVALID, "true"));
|
22304
|
+
}
|
22305
|
+
else {
|
22306
|
+
this.inputsInOrder.forEach((input) => input.removeAttribute(this.ARIA_INVALID));
|
22307
|
+
}
|
22308
|
+
}
|
22309
|
+
else {
|
22310
|
+
this.selectedTime = null;
|
22311
|
+
}
|
22312
|
+
if (!(this.isValidHour &&
|
22313
|
+
this.isValidMinute &&
|
22314
|
+
this.isValidSecond &&
|
22315
|
+
this.isValidTime)) {
|
22316
|
+
this.invalidTimeText = outOfBoundsMsg || this.invalidTimeMessage;
|
22317
|
+
}
|
22318
|
+
else {
|
22319
|
+
this.invalidTimeText = "";
|
22320
|
+
}
|
22321
|
+
};
|
22322
|
+
this.formatTime = (time) => {
|
22323
|
+
const hh = time.getHours().toString().padStart(2, "0");
|
22324
|
+
const mm = time.getMinutes().toString().padStart(2, "0");
|
22325
|
+
const ss = time.getSeconds().toString().padStart(2, "0");
|
22326
|
+
return this.isHHMMFormat() ? `${hh}:${mm}` : `${hh}:${mm}:${ss}`;
|
22327
|
+
};
|
22328
|
+
this.handleInput = (event) => {
|
22329
|
+
const inputEvent = event;
|
22330
|
+
const input = event.target;
|
22331
|
+
if (input !== this.hourInputEl) {
|
22332
|
+
if (inputEvent.inputType !== "deleteContentBackward" &&
|
22333
|
+
!this.preventAutoFormatting) {
|
22334
|
+
if (input.value.length === 1 &&
|
22335
|
+
+input.value >= 6 &&
|
22336
|
+
+input.value <= 9) {
|
22337
|
+
this.setInputValue(input);
|
22338
|
+
this.notifyScreenReader(input);
|
22339
|
+
this.moveToNextInput(input);
|
22340
|
+
}
|
22341
|
+
if (input.value.length === 2) {
|
22342
|
+
this.setInputValue(input);
|
22343
|
+
this.setPreventInput(input, true);
|
22344
|
+
this.notifyScreenReader(input);
|
22345
|
+
this.moveToNextInput(input);
|
22346
|
+
}
|
22347
|
+
else {
|
22348
|
+
this.setPreventInput(input, false);
|
22349
|
+
}
|
22350
|
+
}
|
22351
|
+
else if (this.preventAutoFormatting) {
|
22352
|
+
if (input.value.length === 2 && !this.isKeyboardOrEvent(event)) {
|
22353
|
+
this.setInputValue(input);
|
22354
|
+
this.setPreventInput(input, true);
|
22355
|
+
this.moveToNextInput(input);
|
22356
|
+
}
|
22357
|
+
else {
|
22358
|
+
this.setInputValue(input);
|
22359
|
+
}
|
22360
|
+
}
|
22361
|
+
if (input.value.length !== 2) {
|
22362
|
+
this.setPreventInput(input, false);
|
22363
|
+
}
|
22364
|
+
}
|
22365
|
+
else {
|
22366
|
+
if (input.value.length === 2) {
|
22367
|
+
this.setInputValue(input);
|
22368
|
+
if (Object.prototype.toString.call(event) !== this.EVENT_OBJECT_STRING) {
|
22369
|
+
this.moveToNextInput(input);
|
22370
|
+
}
|
22371
|
+
this.setPreventInput(input, true);
|
22372
|
+
}
|
22373
|
+
else {
|
22374
|
+
this.setInputValue(input, true);
|
22375
|
+
this.setPreventInput(input, false);
|
22376
|
+
}
|
22377
|
+
}
|
22378
|
+
this.setFitToValueStyling(input);
|
22379
|
+
if (input.value.length === 0) {
|
22380
|
+
this.setInputValue(input, true);
|
22381
|
+
this.setValidationMessage();
|
22382
|
+
}
|
22383
|
+
this.notifyScreenReader(input);
|
22384
|
+
};
|
22385
|
+
this.handleKeyDown = (event, isInputPrevented) => {
|
22386
|
+
var _a;
|
22387
|
+
const input = event.target;
|
22388
|
+
const eventKey = (_a = event.key) === null || _a === void 0 ? void 0 : _a.toLowerCase();
|
22389
|
+
const regex = /-?\d*\.?\d+(e[-+]?\d+)?|[:]|arrowup|arrowdown|arrowleft|arrowright|shift|tab|backspace|delete/;
|
22390
|
+
if (!regex.test(eventKey) &&
|
22391
|
+
!((event.ctrlKey || event.metaKey) &&
|
22392
|
+
(eventKey === "v" || eventKey === "c"))) {
|
22393
|
+
event.preventDefault();
|
22394
|
+
}
|
22395
|
+
switch (eventKey) {
|
22396
|
+
case ":":
|
22397
|
+
case "arrowright":
|
22398
|
+
event.preventDefault();
|
22399
|
+
this.moveToNextInput(input);
|
22400
|
+
break;
|
22401
|
+
case "arrowleft":
|
22402
|
+
event.preventDefault();
|
22403
|
+
this.moveToPreviousInput(input);
|
22404
|
+
break;
|
22405
|
+
case "arrowup":
|
22406
|
+
case "arrowdown":
|
22407
|
+
this.preventAutoFormatting = true;
|
22408
|
+
this.handleUpDownArrowKeyPress(input, event);
|
22409
|
+
break;
|
22410
|
+
case "backspace":
|
22411
|
+
if (input.value.length === 0) {
|
22412
|
+
event.preventDefault();
|
22413
|
+
this.moveToPreviousInput(input);
|
22414
|
+
}
|
22415
|
+
break;
|
22416
|
+
}
|
22417
|
+
this.preventInput(event, isInputPrevented);
|
22418
|
+
this.isTimeSetFromKeyboardEvent = true;
|
22419
|
+
};
|
22420
|
+
this.handleFocus = (event) => {
|
22421
|
+
const input = event.target;
|
22422
|
+
input.select();
|
22423
|
+
};
|
22424
|
+
this.handleBlur = (event) => {
|
22425
|
+
const input = event.target;
|
22426
|
+
if (input) {
|
22427
|
+
this.autocompleteInput(input);
|
22428
|
+
}
|
22429
|
+
};
|
22430
|
+
this.handleUpDownArrowKeyPress = (input, event) => {
|
22431
|
+
let minValue = 0;
|
22432
|
+
let maxValue = 59;
|
22433
|
+
if (input === this.hourInputEl) {
|
22434
|
+
minValue = 0;
|
22435
|
+
maxValue = this.timePeriod === "12" ? 11 : 23;
|
22436
|
+
}
|
22437
|
+
let val = +input.value;
|
22438
|
+
if (event.key === "ArrowUp") {
|
22439
|
+
val = val + 1;
|
22440
|
+
if (val > maxValue)
|
22441
|
+
val = minValue;
|
22442
|
+
input.value = val.toString().padStart(2, "0");
|
22443
|
+
this.notifyScreenReader(input);
|
22444
|
+
}
|
22445
|
+
if (event.key === "ArrowDown") {
|
22446
|
+
val = val - 1;
|
22447
|
+
if (val < minValue)
|
22448
|
+
val = maxValue;
|
22449
|
+
input.value = val.toString().padStart(2, "0");
|
22450
|
+
this.notifyScreenReader(input);
|
22451
|
+
}
|
22452
|
+
this.setInputValue(input);
|
22453
|
+
this.setFitToValueStyling(input);
|
22454
|
+
};
|
22455
|
+
this.handleTimeChange = (force) => {
|
22456
|
+
if (force || this.selectedTime !== this.previousSelectedTime) {
|
22457
|
+
if (this.value) {
|
22458
|
+
this.inputsInOrder.forEach((input) => {
|
22459
|
+
input.classList.add(this.FIT_TO_VALUE);
|
22460
|
+
});
|
22461
|
+
}
|
22462
|
+
if (this.hour &&
|
22463
|
+
this.minute &&
|
22464
|
+
(this.isHHMMFormat() || this.second) &&
|
22465
|
+
this.invalidTimeText === "") {
|
22466
|
+
this.setValueAndEmitChange(this.selectedTime);
|
22467
|
+
this.notifyScreenReaderSelectedTime();
|
22468
|
+
}
|
22469
|
+
else if (!(this.selectedTime === null && this.previousSelectedTime === null) &&
|
22470
|
+
this.selectedTimeInfoEl) {
|
22471
|
+
this.setValueAndEmitChange(null);
|
22472
|
+
this.selectedTimeInfoEl.textContent = "";
|
22473
|
+
}
|
22474
|
+
this.previousSelectedTime = this.selectedTime;
|
22475
|
+
if (!this.isTimeSetFromKeyboardEvent) {
|
22476
|
+
this.updateInputValues(this.hour, this.minute, this.second);
|
22477
|
+
}
|
22478
|
+
}
|
22479
|
+
};
|
22480
|
+
this.setValueAndEmitChange = (value) => {
|
22481
|
+
if (this.value !== value) {
|
22482
|
+
this.emitIcChange(value);
|
22483
|
+
this.value = value;
|
22484
|
+
}
|
22485
|
+
};
|
22486
|
+
this.emitIcChange = (t) => {
|
22487
|
+
this.selectedTime = t;
|
22488
|
+
this.icChange.emit({
|
22489
|
+
value: t,
|
22490
|
+
timeObject: {
|
22491
|
+
hour: this.hour === "" ? null : this.hour,
|
22492
|
+
minute: this.minute === "" ? null : this.minute,
|
22493
|
+
second: this.second === "" ? null : this.second,
|
22494
|
+
},
|
22495
|
+
});
|
22496
|
+
};
|
22497
|
+
this.setTime = (time) => {
|
22498
|
+
if (time === null || time === "" || time === undefined) {
|
22499
|
+
if (this.hour)
|
22500
|
+
this.hour = "";
|
22501
|
+
if (this.minute)
|
22502
|
+
this.minute = "";
|
22503
|
+
if (this.second)
|
22504
|
+
this.second = "";
|
22505
|
+
this.inputsInOrder.forEach((input) => {
|
22506
|
+
input.classList.remove(this.FIT_TO_VALUE);
|
22507
|
+
this.setPreventInput(input, false);
|
22508
|
+
});
|
22509
|
+
this.handleTimeChange(true);
|
22510
|
+
}
|
22511
|
+
else {
|
22512
|
+
if (typeof time === "string") {
|
22513
|
+
const zuluMatch = time.match(/^(\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,3}))?Z?$/);
|
22514
|
+
if (zuluMatch) {
|
22515
|
+
this.hour = zuluMatch[1];
|
22516
|
+
this.minute = zuluMatch[2];
|
22517
|
+
this.second = zuluMatch[3];
|
22518
|
+
}
|
22519
|
+
else {
|
22520
|
+
const parts = time.split(":");
|
22521
|
+
this.hour = parts[0] || "";
|
22522
|
+
this.minute = parts[1] || "";
|
22523
|
+
this.second = parts[2] || "";
|
22524
|
+
}
|
22525
|
+
}
|
22526
|
+
else if (time instanceof Date) {
|
22527
|
+
this.hour = time.getHours().toString().padStart(2, "0");
|
22528
|
+
this.minute = time.getMinutes().toString().padStart(2, "0");
|
22529
|
+
this.second = time.getSeconds().toString().padStart(2, "0");
|
22530
|
+
}
|
22531
|
+
}
|
22532
|
+
this.setValidationMessage();
|
22533
|
+
};
|
22534
|
+
this.setAriaInvalid = (validHour, validMinute, validSecond) => {
|
22535
|
+
var _a, _b, _c;
|
22536
|
+
if (this.inputsInOrder.length) {
|
22537
|
+
this.inputsInOrder.forEach((input) => {
|
22538
|
+
input.removeAttribute(this.ARIA_INVALID);
|
22539
|
+
});
|
22540
|
+
if (!validHour) {
|
22541
|
+
(_a = this.hourInputEl) === null || _a === void 0 ? void 0 : _a.setAttribute(this.ARIA_INVALID, "true");
|
22542
|
+
}
|
22543
|
+
if (!validMinute) {
|
22544
|
+
(_b = this.minuteInputEl) === null || _b === void 0 ? void 0 : _b.setAttribute(this.ARIA_INVALID, "true");
|
22545
|
+
}
|
22546
|
+
if (!validSecond) {
|
22547
|
+
(_c = this.secondInputEl) === null || _c === void 0 ? void 0 : _c.setAttribute(this.ARIA_INVALID, "true");
|
22548
|
+
}
|
22549
|
+
if (!(validHour && validMinute && validSecond)) {
|
22550
|
+
this.inputsInOrder.forEach((input) => {
|
22551
|
+
input.setAttribute(this.ARIA_INVALID, "true");
|
22552
|
+
});
|
22553
|
+
}
|
22554
|
+
}
|
22555
|
+
};
|
22556
|
+
this.handleClear = () => {
|
22557
|
+
this.clearInput = true;
|
22558
|
+
if (this.hourInputEl) {
|
22559
|
+
this.hourInputEl.value = "";
|
22560
|
+
}
|
22561
|
+
if (this.minuteInputEl) {
|
22562
|
+
this.minuteInputEl.value = "";
|
22563
|
+
}
|
22564
|
+
if (!this.isHHMMFormat() && this.secondInputEl) {
|
22565
|
+
this.secondInputEl.value = "";
|
22566
|
+
}
|
22567
|
+
this.hour = "";
|
22568
|
+
this.minute = "";
|
22569
|
+
this.second = "";
|
22570
|
+
this.handleTimeChange(true);
|
22571
|
+
this.inputsInOrder.forEach((input) => {
|
22572
|
+
input.classList.remove(this.FIT_TO_VALUE);
|
22573
|
+
this.setPreventInput(input, false);
|
22574
|
+
});
|
22575
|
+
this.clearInput = false;
|
22576
|
+
this.isTimeSetFromKeyboardEvent = false;
|
22577
|
+
this.setValidationMessage();
|
22578
|
+
this.invalidTimeText = "";
|
22579
|
+
if (this.hourInputEl) {
|
22580
|
+
this.hourInputEl.focus();
|
22581
|
+
}
|
22582
|
+
};
|
22583
|
+
this.notifyScreenReaderSelectedTime = () => {
|
22584
|
+
if (this.selectedTime && this.selectedTimeInfoEl) {
|
22585
|
+
if (this.isHHMMFormat()) {
|
22586
|
+
this.selectedTimeInfoEl.textContent = `Selected time: ${this.selectedTime
|
22587
|
+
.getHours()
|
22588
|
+
.toString()
|
22589
|
+
.padStart(2, "0")}:${this.selectedTime
|
22590
|
+
.getMinutes()
|
22591
|
+
.toString()
|
22592
|
+
.padStart(2, "0")}`;
|
22593
|
+
}
|
22594
|
+
else {
|
22595
|
+
this.selectedTimeInfoEl.textContent = `Selected time: ${this.selectedTime
|
22596
|
+
.getHours()
|
22597
|
+
.toString()
|
22598
|
+
.padStart(2, "0")}:${this.selectedTime
|
22599
|
+
.getMinutes()
|
22600
|
+
.toString()
|
22601
|
+
.padStart(2, "0")}:${this.selectedTime
|
22602
|
+
.getSeconds()
|
22603
|
+
.toString()
|
22604
|
+
.padStart(2, "0")}`;
|
22605
|
+
}
|
22606
|
+
}
|
22607
|
+
};
|
22608
|
+
this.setFitToValueStyling = (input) => {
|
22609
|
+
if (input.value) {
|
22610
|
+
input.classList.add(this.FIT_TO_VALUE);
|
22611
|
+
}
|
22612
|
+
else {
|
22613
|
+
input.classList.remove(this.FIT_TO_VALUE);
|
22614
|
+
}
|
22615
|
+
};
|
22616
|
+
this.handleHostBlur = () => {
|
22617
|
+
this.removeLabelledBy = false;
|
22618
|
+
this.icBlur.emit({ value: this.selectedTime });
|
22619
|
+
};
|
22620
|
+
this.handleHostFocus = () => {
|
22621
|
+
var _a, _b;
|
22622
|
+
if ((_b = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.activeElement) === null || _b === void 0 ? void 0 : _b.id.match(/(hour|minute|second)-input$/)) {
|
22623
|
+
this.removeLabelledBy = false;
|
22624
|
+
}
|
22625
|
+
else {
|
22626
|
+
this.removeLabelledBy = true;
|
22627
|
+
}
|
22628
|
+
this.icFocus.emit({ value: this.selectedTime });
|
22629
|
+
};
|
22630
|
+
this.handleFormReset = () => {
|
22631
|
+
this.setTime(this.initialValue);
|
22632
|
+
this.setValidationMessage();
|
22633
|
+
this.handleTimeChange(false);
|
22634
|
+
};
|
22635
|
+
this.preventInput = (event, isInputPrevented) => {
|
22636
|
+
const key = event.key;
|
22637
|
+
const input = event.target;
|
22638
|
+
let selectedString;
|
22639
|
+
if (input) {
|
22640
|
+
selectedString = input.value.substring(input.selectionStart || 0, input.selectionEnd || undefined);
|
22641
|
+
}
|
22642
|
+
if (key === "e" ||
|
22643
|
+
key === "." ||
|
22644
|
+
key === "-" ||
|
22645
|
+
(event.key >= "0" &&
|
22646
|
+
event.key <= "9" &&
|
22647
|
+
isInputPrevented &&
|
22648
|
+
!selectedString)) {
|
22649
|
+
event.preventDefault();
|
22650
|
+
}
|
22651
|
+
};
|
22652
|
+
this.moveToNextInput = (currentInput) => {
|
22653
|
+
var _a;
|
22654
|
+
this.preventAutoFormatting = false;
|
22655
|
+
(_a = this.inputsInOrder[this.inputsInOrder.findIndex((input) => input === currentInput) + 1]) === null || _a === void 0 ? void 0 : _a.focus();
|
22656
|
+
};
|
22657
|
+
this.moveToPreviousInput = (currentInput) => {
|
22658
|
+
var _a;
|
22659
|
+
this.preventAutoFormatting = false;
|
22660
|
+
(_a = this.inputsInOrder[this.inputsInOrder.findIndex((input) => input === currentInput) - 1]) === null || _a === void 0 ? void 0 : _a.focus();
|
22661
|
+
};
|
22662
|
+
this.autocompleteInput = (input) => {
|
22663
|
+
const inputValue = input.value;
|
22664
|
+
if (inputValue.length === 1) {
|
22665
|
+
input.value = `0${inputValue}`;
|
22666
|
+
}
|
22667
|
+
if (input.value) {
|
22668
|
+
this.setInputValue(input);
|
22669
|
+
}
|
22670
|
+
};
|
22671
|
+
this.convertToTime = (hour, minute, second) => {
|
22672
|
+
if (!isEmptyString(hour) &&
|
22673
|
+
!isEmptyString(minute) &&
|
22674
|
+
(this.isHHMMFormat() || !isEmptyString(second))) {
|
22675
|
+
const d = new Date();
|
22676
|
+
d.setHours(+hour, +minute, this.isHHMMFormat() ? 0 : +second, 0);
|
22677
|
+
return d;
|
22678
|
+
}
|
22679
|
+
else {
|
22680
|
+
return null;
|
22681
|
+
}
|
22682
|
+
};
|
22683
|
+
this.setInputsInOrder = () => {
|
22684
|
+
var _a;
|
22685
|
+
this.inputsInOrder = [];
|
22686
|
+
const shadowInputs = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll("input");
|
22687
|
+
if (shadowInputs) {
|
22688
|
+
shadowInputs.forEach((input) => this.inputsInOrder.push(input));
|
22689
|
+
}
|
22690
|
+
};
|
22691
|
+
this.updateInputValues = (hour, minute, second) => {
|
22692
|
+
if (this.hourInputEl && this.minuteInputEl && this.secondInputEl) {
|
22693
|
+
this.hourInputEl.value = hour;
|
22694
|
+
this.minuteInputEl.value = minute;
|
22695
|
+
this.secondInputEl.value = second;
|
22696
|
+
}
|
22697
|
+
};
|
22698
|
+
this.removeAriaLabelledBy = () => {
|
22699
|
+
var _a;
|
22700
|
+
(_a = this.inputCompContainerEl) === null || _a === void 0 ? void 0 : _a.removeAttribute(this.ARIA_LABELLED_BY);
|
22701
|
+
};
|
22702
|
+
this.setAriaLabelledBy = () => {
|
22703
|
+
var _a, _b, _c, _d;
|
22704
|
+
if (this.disabled &&
|
22705
|
+
((_a = this.inputCompContainerEl) === null || _a === void 0 ? void 0 : _a.getAttribute(this.ARIA_LABELLED_BY))) {
|
22706
|
+
this.removeAriaLabelledBy();
|
22707
|
+
return;
|
22708
|
+
}
|
22709
|
+
if (this.disabled) {
|
22710
|
+
return;
|
22711
|
+
}
|
22712
|
+
const labelEl = (_b = this.el.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector("label");
|
22713
|
+
const labelId = `${this.inputId}-label`;
|
22714
|
+
if (labelEl !== null && labelEl !== undefined) {
|
22715
|
+
labelEl.id = labelId;
|
22716
|
+
}
|
22717
|
+
const hasValidation = !isEmptyString(this.validationStatus) ||
|
22718
|
+
!isEmptyString(this.invalidTimeText);
|
22719
|
+
const labelledBy = `${(_c = labelEl === null || labelEl === void 0 ? void 0 : labelEl.id) !== null && _c !== void 0 ? _c : ""} ${this.screenReaderInfoId} ${getInputDescribedByText(this.el, this.inputId, this.helperText !== "" && this.helperText !== this.defaultHelperText, hasValidation)} ${this.selectedTime ? this.selectedTimeInfoId : ""} ${this.assistiveHintId}`;
|
22720
|
+
(_d = this.inputCompContainerEl) === null || _d === void 0 ? void 0 : _d.setAttribute(this.ARIA_LABELLED_BY, labelledBy);
|
22721
|
+
};
|
22722
|
+
this.getInputsInOrder = () => {
|
22723
|
+
const timeParts = this.timeFormat.split(":");
|
22724
|
+
return timeParts.map((part) => {
|
22725
|
+
switch (part.substring(0, 1)) {
|
22726
|
+
case "H":
|
22727
|
+
return (hAsync("input", { class: "hour-input", id: "hour-input", ref: (el) => (this.hourInputEl = el), "aria-label": "hour", placeholder: "HH", disabled: this.disabled, inputmode: "number", pattern: "[0-9]*", onPaste: this.handlePaste, onKeyDown: (event) => this.handleKeyDown(event, this.preventHourInput) }));
|
22728
|
+
case "M":
|
22729
|
+
return (hAsync("input", { id: "minute-input", class: "minute-input", ref: (el) => (this.minuteInputEl = el), "aria-label": "minute", placeholder: "MM", disabled: this.disabled, inputmode: "number", pattern: "[0-9]*", onPaste: this.handlePaste, onKeyDown: (event) => this.handleKeyDown(event, this.preventMinuteInput) }));
|
22730
|
+
case "S":
|
22731
|
+
if (!this.isHHMMFormat()) {
|
22732
|
+
return (hAsync("input", { id: "second-input", class: "second-input", ref: (el) => (this.secondInputEl = el), "aria-label": "second", placeholder: "SS", disabled: this.disabled, inputmode: "number", pattern: "[0-9]*", onPaste: this.handlePaste, onKeyDown: (event) => this.handleKeyDown(event, this.preventSecondInput) }));
|
22733
|
+
}
|
22734
|
+
return null;
|
22735
|
+
default:
|
22736
|
+
return null;
|
22737
|
+
}
|
22738
|
+
});
|
22739
|
+
};
|
22740
|
+
this.getDescOfInputsOrder = () => {
|
22741
|
+
return "hour, minute, and second";
|
22742
|
+
};
|
22743
|
+
this.getScreenReaderInfo = (validationStatus) => {
|
22744
|
+
let inputDescriptors = "";
|
22745
|
+
if (this.required) {
|
22746
|
+
inputDescriptors += "required";
|
22747
|
+
}
|
22748
|
+
if (validationStatus === IcInformationStatus.Error) {
|
22749
|
+
inputDescriptors += " invalid data";
|
22750
|
+
}
|
22751
|
+
return inputDescriptors === "" ? "" : inputDescriptors + ", ";
|
22752
|
+
};
|
22753
|
+
this.notifyScreenReader = (input) => {
|
22754
|
+
var _a;
|
22755
|
+
const liveRegion = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("#live-region");
|
22756
|
+
if (liveRegion) {
|
22757
|
+
liveRegion.textContent = `${input.value}, ${input.getAttribute(this.ARIA_LABEL)}`;
|
22758
|
+
}
|
22759
|
+
};
|
22760
|
+
this.handlePaste = (event) => {
|
22761
|
+
var _a;
|
22762
|
+
event.preventDefault();
|
22763
|
+
const pastedValue = ((_a = event.clipboardData) === null || _a === void 0 ? void 0 : _a.getData("Text")) || "";
|
22764
|
+
const isValidTime = this.isPastedStringTimeValid(pastedValue);
|
22765
|
+
this.setPastedValueAndValidation(isValidTime, pastedValue, event);
|
22766
|
+
};
|
22767
|
+
this.handleClearFocus = () => {
|
22768
|
+
this.removeLabelledBy = true;
|
22769
|
+
this.clearButtonFocused = true;
|
22770
|
+
this.isTimeSetFromKeyboardEvent = true;
|
22771
|
+
};
|
22772
|
+
this.handleClearBlur = (ev) => {
|
22773
|
+
this.clearButtonFocused = false;
|
22774
|
+
this.isTimeSetFromKeyboardEvent = true;
|
22775
|
+
const relatedTarget = ev.relatedTarget;
|
22776
|
+
if ((relatedTarget === null || relatedTarget === void 0 ? void 0 : relatedTarget.id) === "clock-button") {
|
22777
|
+
this.removeLabelledBy = false;
|
22778
|
+
return;
|
22779
|
+
}
|
22780
|
+
if (relatedTarget === null || relatedTarget === void 0 ? void 0 : relatedTarget.id.match(/(minute|second)-input$/)) {
|
22781
|
+
this.removeLabelledBy = false;
|
22782
|
+
return;
|
22783
|
+
}
|
22784
|
+
this.removeLabelledBy = true;
|
22785
|
+
};
|
22786
|
+
this.handleClockFocus = () => {
|
22787
|
+
this.clockFocused = true;
|
22788
|
+
};
|
22789
|
+
this.handleClockBlur = () => {
|
22790
|
+
this.clockFocused = false;
|
22791
|
+
};
|
22792
|
+
this.isPastedStringTimeValid = (value) => {
|
22793
|
+
if (this.isHHMMFormat()) {
|
22794
|
+
if (/^\d{2}:\d{2}$/.test(value)) {
|
22795
|
+
return value;
|
22796
|
+
}
|
22797
|
+
}
|
22798
|
+
else {
|
22799
|
+
if (/^\d{2}:\d{2}:\d{2}$/.test(value)) {
|
22800
|
+
return value;
|
22801
|
+
}
|
22802
|
+
if (/^\d{2}:\d{2}:\d{2}Z$/.test(value)) {
|
22803
|
+
return value.replace("Z", "");
|
22804
|
+
}
|
22805
|
+
const isoMatch = value.match(/T(\d{2}:\d{2}:\d{2})/);
|
22806
|
+
if (isoMatch) {
|
22807
|
+
return isoMatch[1];
|
22808
|
+
}
|
22809
|
+
}
|
22810
|
+
return false;
|
22811
|
+
};
|
22812
|
+
this.setPastedValueAndValidation = (isValidTime, pastedValue, event) => {
|
22813
|
+
if (isValidTime) {
|
22814
|
+
const timeParts = isValidTime.split(":");
|
22815
|
+
this.inputsInOrder.forEach((input, index) => {
|
22816
|
+
input.classList.add(this.FIT_TO_VALUE);
|
22817
|
+
const timeValue = timeParts[index] || "";
|
22818
|
+
input.value = timeValue.slice(0, 2);
|
22819
|
+
this.setInputValue(input);
|
22820
|
+
this.autocompleteInput(input);
|
22821
|
+
});
|
22822
|
+
if (this.isHHMMFormat() && this.second !== "") {
|
22823
|
+
this.second = "";
|
22824
|
+
}
|
22825
|
+
}
|
22826
|
+
else {
|
22827
|
+
const pasted = pastedValue.trim();
|
22828
|
+
if ((pasted.length === 1 || pasted.length === 2) && isNumeric(pasted)) {
|
22829
|
+
this.setInputPasteValue(event.target, pasted);
|
22830
|
+
this.setInputValue(event.target);
|
22831
|
+
}
|
22832
|
+
else {
|
22833
|
+
this.invalidTimeText = `Please paste a valid ${event.target.getAttribute(this.ARIA_LABEL)}`;
|
22834
|
+
this.validationStatus = IcInformationStatus.Error;
|
22835
|
+
}
|
22836
|
+
}
|
22837
|
+
};
|
22838
|
+
}
|
22839
|
+
watchInputHandler() {
|
22840
|
+
if (this.emitTimePartChange &&
|
22841
|
+
!this.externalSetTime &&
|
22842
|
+
!this.clearInput &&
|
22843
|
+
!(this.hour && this.minute && this.second) &&
|
22844
|
+
this.selectedTime === null) {
|
22845
|
+
this.emitIcChange(this.selectedTime);
|
22846
|
+
}
|
22847
|
+
}
|
22848
|
+
watchDisabledHandler() {
|
22849
|
+
removeDisabledFalse(this.disabled, this.el);
|
22850
|
+
}
|
22851
|
+
watchMaxHandler() {
|
22852
|
+
this.maxTime = this.parseTime(this.max);
|
22853
|
+
}
|
22854
|
+
watchMinHandler() {
|
22855
|
+
this.minTime = this.parseTime(this.min);
|
22856
|
+
}
|
22857
|
+
watchRequiredHandler() {
|
22858
|
+
var _a, _b;
|
22859
|
+
const labelEl = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("label");
|
22860
|
+
if (this.required) {
|
22861
|
+
const asteriskSpan = document.createElement("span");
|
22862
|
+
asteriskSpan.setAttribute("id", "asterisk-span");
|
22863
|
+
asteriskSpan.setAttribute("aria-hidden", "true");
|
22864
|
+
asteriskSpan.textContent = " *";
|
22865
|
+
labelEl === null || labelEl === void 0 ? void 0 : labelEl.appendChild(asteriskSpan);
|
22866
|
+
}
|
22867
|
+
else {
|
22868
|
+
const asteriskSpan = (_b = this.el.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector("#asterisk-span");
|
22869
|
+
if (asteriskSpan) {
|
22870
|
+
asteriskSpan.remove();
|
22871
|
+
}
|
22872
|
+
}
|
22873
|
+
}
|
22874
|
+
disconnectedCallback() {
|
22875
|
+
removeFormResetListener(this.el, this.handleFormReset);
|
22876
|
+
}
|
22877
|
+
componentWillLoad() {
|
22878
|
+
this.defaultHelperText = `Use format ${this.timeFormat}`;
|
22879
|
+
if (isEmptyString(this.helperText))
|
22880
|
+
this.helperText = this.defaultHelperText;
|
22881
|
+
if (this.value) {
|
22882
|
+
this.externalSetTime = true;
|
22883
|
+
this.setTime(this.value);
|
22884
|
+
}
|
22885
|
+
this.screenReaderInfoId = `${this.inputId}-screen-reader-info`;
|
22886
|
+
this.assistiveHintId = `${this.inputId}-assistive-hint`;
|
22887
|
+
this.selectedTimeInfoId = `${this.inputId}-selected-time-info`;
|
22888
|
+
addFormResetListener(this.el, this.handleFormReset);
|
22889
|
+
removeDisabledFalse(this.disabled, this.el);
|
22890
|
+
}
|
22891
|
+
componentDidLoad() {
|
22892
|
+
this.setInputsInOrder();
|
22893
|
+
onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Time Input");
|
22894
|
+
if (this.value) {
|
22895
|
+
this.updateInputValues(this.hour, this.minute, this.second);
|
22896
|
+
this.inputsInOrder.forEach((input) => {
|
22897
|
+
input.classList.add(this.FIT_TO_VALUE);
|
22898
|
+
});
|
22899
|
+
}
|
22900
|
+
this.setAriaInvalid(this.isValidHour, this.isValidMinute, this.isValidSecond);
|
22901
|
+
if (this.value) {
|
22902
|
+
this.notifyScreenReaderSelectedTime();
|
22903
|
+
}
|
22904
|
+
this.inputsInOrder.forEach((input) => {
|
22905
|
+
input.addEventListener("input", this.handleInput);
|
22906
|
+
input.addEventListener("focus", this.handleFocus);
|
22907
|
+
input.addEventListener("blur", this.handleBlur);
|
22908
|
+
});
|
22909
|
+
this.watchRequiredHandler();
|
22910
|
+
}
|
22911
|
+
componentWillUpdate() {
|
22912
|
+
if (isEmptyString(this.helperText))
|
22913
|
+
this.helperText = this.defaultHelperText;
|
22914
|
+
if (!this.isTimeSetFromKeyboardEvent)
|
22915
|
+
this.setTime(this.value);
|
22916
|
+
this.setAriaInvalid(this.isValidHour, this.isValidMinute, this.isValidSecond);
|
22917
|
+
this.handleTimeChange(false);
|
22918
|
+
this.isTimeSetFromKeyboardEvent = false;
|
22919
|
+
}
|
22920
|
+
componentDidRender() {
|
22921
|
+
if (this.removeLabelledBy) {
|
22922
|
+
this.removeAriaLabelledBy();
|
22923
|
+
return;
|
22924
|
+
}
|
22925
|
+
this.setAriaLabelledBy();
|
22926
|
+
}
|
22927
|
+
/**
|
22928
|
+
* Returns the value as a Date object
|
22929
|
+
* @returns Date
|
22930
|
+
*/
|
22931
|
+
async getTime() {
|
22932
|
+
return this.selectedTime;
|
22933
|
+
}
|
22934
|
+
/**
|
22935
|
+
* @internal Used to enable other components to invoke an IcChange event from the input.
|
22936
|
+
*/
|
22937
|
+
async triggerIcChange(t) {
|
22938
|
+
this.externalSetTime = true;
|
22939
|
+
this.setTime(t);
|
22940
|
+
this.emitIcChange(t);
|
22941
|
+
this.externalSetTime = false;
|
22942
|
+
}
|
22943
|
+
render() {
|
22944
|
+
const { inputId, label, disabled, helperText, hideHelperText, hideLabel, showClearButton, showClockButton, size, theme, } = this;
|
22945
|
+
const hasCustomValidation = !isEmptyString(this.validationStatus);
|
22946
|
+
const validationStatus = hasCustomValidation
|
22947
|
+
? this.validationStatus
|
22948
|
+
: !isEmptyString(this.invalidTimeText)
|
22949
|
+
? IcInformationStatus.Error
|
22950
|
+
: "";
|
22951
|
+
const assistiveHint = `Type or use the up and down arrow keys to change the values for the ${this.getDescOfInputsOrder()}.`;
|
22952
|
+
renderHiddenInput(true, this.el, this.name, this.convertToTime(this.hour, this.minute, this.second), this.disabled);
|
22953
|
+
const showDivider = !!(showClearButton &&
|
22954
|
+
!(isEmptyString(this.hour) &&
|
22955
|
+
isEmptyString(this.minute) &&
|
22956
|
+
isEmptyString(this.second)));
|
22957
|
+
return (hAsync(Host, { key: 'cf8b05ab0ccc0a0a779296e4dd3ba52375547b13', class: {
|
22958
|
+
[`ic-theme-${theme}`]: theme !== "inherit",
|
22959
|
+
[`ic-time-input-disabled`]: disabled,
|
22960
|
+
[`ic-time-input-${size}`]: true,
|
22961
|
+
}, onBlur: this.handleHostBlur, onFocus: this.handleHostFocus }, hAsync("ic-input-container", { key: 'b104968d5b191f040358a7e800f11cb6dd036407', disabled: disabled }, !(hideLabel && hideHelperText) && (hAsync("ic-input-label", { key: 'fa0eaeef4aab6aef24b830e466ba87d68eb84b84', for: inputId, label: label, hideLabel: hideLabel, helperText: !hideHelperText ? helperText : "", disabled: disabled }, hAsync("slot", { key: 'e4548928534459ff788ff576483b560cf90fed53', name: "helper-text", slot: "helper-text" }))), hAsync("span", { key: '6f119c460880a9adb8661309c3a59cfee061ae7c', id: this.screenReaderInfoId, class: "sr-only", "aria-hidden": "true" }, this.getScreenReaderInfo(validationStatus), hideLabel && `${label}\n`, hideHelperText && `${helperText}\n`, `${this.defaultHelperText}.`), hAsync("span", { key: 'bd5ce20dab45d2514cd4219eee0d1645596e5e6e', id: this.assistiveHintId, class: "sr-only", "aria-hidden": "true" }, assistiveHint), hAsync("span", { key: 'e3d4a1e518f7bcb1b35ee065b5f038f9f6f3ffe7', id: "live-region", "aria-live": "assertive", class: "sr-only" }), hAsync("ic-input-component-container", { key: '396b05aa89aa0e24a1853cc5de20abb5341c49e5', id: inputId, ref: (el) => (this.inputCompContainerEl = el), disabled: disabled, validationStatus: validationStatus, size: size, role: "group", class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, hAsync("div", { key: '2ac49a3454ce8dbabb546e54af197f0a66840499', class: "input-container" }, hAsync("div", { key: '6917d370b61c997d888c133bb27d5fa8f94a79c0', class: "time-inputs" }, [
|
22962
|
+
this.getInputsInOrder()[0],
|
22963
|
+
":",
|
22964
|
+
this.getInputsInOrder()[1],
|
22965
|
+
!this.isHHMMFormat()
|
22966
|
+
? [":", this.getInputsInOrder()[2]]
|
22967
|
+
: null,
|
22968
|
+
]), hAsync("div", { key: 'f09f3442355e75170fb1916727fdcac001df885d', class: "action-buttons" }, showClearButton && (hAsync("ic-button", { key: '27173fcbdcd13798c4adc66eda9469bc471693ea', id: "clear-button", "aria-label": "Clear input", class: {
|
22969
|
+
["clear-button"]: true,
|
22970
|
+
["hidden"]: isEmptyString(this.hour) &&
|
22971
|
+
isEmptyString(this.minute) &&
|
22972
|
+
isEmptyString(this.second),
|
22973
|
+
}, disabled: this.disabled, innerHTML: Clear$1, onClick: this.handleClear, onFocus: this.handleClearFocus, onBlur: this.handleClearBlur, variant: "icon-tertiary", theme: this.clearButtonFocused ? "light" : "dark", size: size })), showClockButton && (hAsync("div", { key: '606a05c923fc4b95c21d0418be14168982117938', class: "show-clock-button-wrapper" }, hAsync("div", { key: '4b9b2d37ed3a9661615685f3b077ac244295fbd1', class: { divider: showDivider, [size]: true } }), hAsync("ic-button", { key: 'ab6ec2ca4b1442a23834e1a514800cd0f77c92d5', id: "clock-button", "aria-label": "Display clock", "aria-haspopup": "dialog", class: "clock-button", disabled: this.disabled, innerHTML: Clock, variant: "icon-tertiary", size: size, onFocus: this.handleClockFocus, onBlur: this.handleClockBlur, theme: this.clockFocused ? "light" : "dark" })))))), hAsync("span", { key: '1695846e5d626056f5a0e372c8513fcf0001f0b9', id: this.selectedTimeInfoId, class: "sr-only", "aria-live": "polite" }, hAsync("span", { key: '34f41adff4bc3642d21014b85e525b6f80814bb6', ref: (el) => (this.selectedTimeInfoEl = el), role: "status" })), (hasCustomValidation || !isEmptyString(this.invalidTimeText)) && (hAsync("ic-input-validation", { key: '4b9326e9e9df98698c2c6643262122658a1434de', status: validationStatus, message: hasCustomValidation ? this.validationText : this.invalidTimeText, for: inputId })))));
|
22974
|
+
}
|
22975
|
+
static get delegatesFocus() { return true; }
|
22976
|
+
get el() { return getElement(this); }
|
22977
|
+
static get watchers() { return {
|
22978
|
+
"hour": ["watchInputHandler"],
|
22979
|
+
"minute": ["watchInputHandler"],
|
22980
|
+
"second": ["watchInputHandler"],
|
22981
|
+
"disabled": ["watchDisabledHandler"],
|
22982
|
+
"max": ["watchMaxHandler"],
|
22983
|
+
"min": ["watchMinHandler"],
|
22984
|
+
"required": ["watchRequiredHandler"]
|
22985
|
+
}; }
|
22986
|
+
static get style() { return IcTimeInputStyle0; }
|
22987
|
+
static get cmpMeta() { return {
|
22988
|
+
"$flags$": 25,
|
22989
|
+
"$tagName$": "ic-time-input",
|
22990
|
+
"$members$": {
|
22991
|
+
"disabled": [4],
|
22992
|
+
"disableTimes": [16],
|
22993
|
+
"emitTimePartChange": [4, "emit-time-part-change"],
|
22994
|
+
"helperText": [1025, "helper-text"],
|
22995
|
+
"hideHelperText": [4, "hide-helper-text"],
|
22996
|
+
"hideLabel": [4, "hide-label"],
|
22997
|
+
"inputId": [1, "input-id"],
|
22998
|
+
"invalidTimeMessage": [1, "invalid-time-message"],
|
22999
|
+
"label": [1],
|
23000
|
+
"max": [1],
|
23001
|
+
"min": [1],
|
23002
|
+
"name": [1],
|
23003
|
+
"required": [4],
|
23004
|
+
"showClearButton": [4, "show-clear-button"],
|
23005
|
+
"showClockButton": [4, "show-clock-button"],
|
23006
|
+
"size": [1],
|
23007
|
+
"theme": [1],
|
23008
|
+
"timeFormat": [1, "time-format"],
|
23009
|
+
"timePeriod": [1, "time-period"],
|
23010
|
+
"value": [1025],
|
23011
|
+
"validationStatus": [1025, "validation-status"],
|
23012
|
+
"validationText": [1, "validation-text"],
|
23013
|
+
"invalidTimeText": [32],
|
23014
|
+
"clockFocused": [32],
|
23015
|
+
"clearButtonFocused": [32],
|
23016
|
+
"removeLabelledBy": [32],
|
23017
|
+
"hour": [32],
|
23018
|
+
"minute": [32],
|
23019
|
+
"second": [32],
|
23020
|
+
"getTime": [64],
|
23021
|
+
"triggerIcChange": [64]
|
23022
|
+
},
|
23023
|
+
"$listeners$": undefined,
|
23024
|
+
"$lazyBundleId$": "-",
|
23025
|
+
"$attrsToReflect$": []
|
23026
|
+
}; }
|
23027
|
+
}
|
23028
|
+
|
23029
|
+
const icToastCss = "/*! 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}@media (prefers-reduced-motion: no-preference){:host{animation:fadein var(--ic-transition-duration-slow) ease-in-out}:host(.hidden){animation:fadeout var(--ic-transition-duration-slow) ease-in-out}}:host{--bottom-position:var(--ic-space-xl);position:fixed;bottom:var(--bottom-position);left:50%;transform:translate(-50%);z-index:var(--ic-z-index-toast)}:host(.ic-toast-hidden){display:none}:host(:focus){outline:none}.container{max-width:32.5rem;min-width:18rem;box-shadow:var(--ic-elevation-overlay);min-height:3.5rem;background-color:var(--ic-toast-background);display:flex;align-items:center;position:relative;border-radius:var(--ic-border-radius)}.toast-icon-container{height:100%;display:flex;align-items:center}.divider{height:100%;width:var(--ic-space-xs);position:absolute;border-radius:var(--ic-space-xxxs) 0 0 var(--ic-space-xxxs)}.divider-neutral{background-color:var(--ic-toast-status-neutral)}.divider-info{background-color:var(--ic-toast-status-info)}.divider-warning{background-color:var(--ic-toast-status-warning)}.divider-error{background-color:var(--ic-toast-status-error)}.divider-success{background-color:var(--ic-toast-status-success)}.toast-icon,::slotted(svg){height:var(--ic-space-lg);width:var(--ic-space-lg);margin-left:var(--ic-space-md)}:host([variant=\"neutral\"]) .toast-icon svg,::slotted(svg){fill:var(--ic-toast-icon-neutral)}:host([variant=\"info\"]) .toast-icon svg{fill:var(--ic-toast-icon-info)}:host([variant=\"warning\"]) .toast-icon svg{fill:var(--ic-toast-icon-warning)}:host([variant=\"error\"]) .toast-icon svg{fill:var(--ic-toast-icon-error)}:host([variant=\"success\"]) .toast-icon svg{fill:var(--ic-toast-icon-success)}.toast-content{margin-left:var(--ic-space-xs);width:100%}.no-icon{margin-left:var(--ic-space-md)}.toast-text{padding:var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0}.toast-heading{--ic-typography-color:var(--ic-toast-title)}.toast-message{--ic-typography-color:var(--ic-toast-description)}.toast-action-container{padding-bottom:var(--ic-space-md)}#dismiss-button{padding:var(--ic-space-xs)}#dismiss-button>svg{color:var(--ic-toast-dismiss-button)}ic-loading-indicator{--outer-color:transparent;--inner-color:var(--ic-action-monochrome)}.toast-dismiss-timer{padding:var(--ic-space-sm)}@media (max-width: 576px){:host{--bottom-position:var(--ic-space-lg);width:calc(100% - 2 * var(--ic-space-md))}}@media (min-width: 993px){:host{--bottom-position:calc(var(--ic-space-xl) + var(--ic-space-xs))}}@media (forced-colors: active){.container{border:var(--ic-border-hc)}}@keyframes fadein{from{bottom:0;opacity:0}to{bottom:var(--bottom-position);opacity:1}}@keyframes fadeout{from{bottom:var(--bottom-position);opacity:1}to{bottom:0;opacity:0}}";
|
23030
|
+
var IcToastStyle0 = icToastCss;
|
23031
|
+
|
23032
|
+
const AUTO_DISMISS_TIMER_REFRESH_RATE_MS = 1000;
|
23033
|
+
const TOAST_HEADING_CHAR_LIMIT = 70;
|
23034
|
+
const TOAST_MESSAGE_CHAR_LIMIT = 140;
|
23035
|
+
/**
|
23036
|
+
* @slot action - IcButton or IcLink is placed below header and message. If used will default toast to manual `dismiss` type.
|
23037
|
+
* @slot neutral-icon - A custom neutral icon is placed on the left side of the component. If used will default toast to `neutral` variant.
|
23038
|
+
*/
|
23039
|
+
class Toast {
|
23040
|
+
constructor(hostRef) {
|
23041
|
+
registerInstance(this, hostRef);
|
23042
|
+
this.icDismiss = createEvent(this, "icDismiss", 7);
|
23043
|
+
this.interactiveElements = [];
|
23044
|
+
this.timerProgress = 100;
|
23045
|
+
this.visible = false;
|
23046
|
+
/**
|
23047
|
+
* If toast dismissMode is set to `automatic`, use this prop to define the time before the toast dismisses (in MILLISECONDS)
|
23048
|
+
* (NOTE: Has a minimum value of `5000ms`)
|
23049
|
+
*/
|
23050
|
+
this.autoDismissTimeout = 5000;
|
23051
|
+
/**
|
23052
|
+
* If toast can be manually dismissed, this prop sets a custom aria-label for the ic-button component
|
23053
|
+
*/
|
23054
|
+
this.dismissButtonAriaLabel = "dismiss";
|
23055
|
+
/**
|
23056
|
+
* How the toast will be dismissed. If manual will display a dismiss button.
|
23057
|
+
*/
|
23058
|
+
this.dismissMode = "manual";
|
23059
|
+
this.dismissAction = () => {
|
23060
|
+
this.icDismiss.emit();
|
23061
|
+
};
|
23062
|
+
this.handleProgressChange = () => {
|
23063
|
+
this.timerProgress -=
|
23064
|
+
(AUTO_DISMISS_TIMER_REFRESH_RATE_MS / this.autoDismissTimeout) * 100;
|
21944
23065
|
};
|
21945
23066
|
this.onFocus = () => {
|
21946
23067
|
if (this.focusInteractiveElement) {
|
@@ -22110,13 +23231,13 @@ class Toast {
|
|
22110
23231
|
}
|
22111
23232
|
render() {
|
22112
23233
|
const { variant, heading, message, visible, isManual, dismissButtonAriaLabel, } = this;
|
22113
|
-
return (hAsync(Host, { key: '
|
23234
|
+
return (hAsync(Host, { key: '72285c4f90a5364563549c3991a56ea15a7f09b0', 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: '165ac4c4776633f826dfb4da11ec950ab5ee1d74', class: "container" }, variant && visible && (hAsync("div", { key: '646d6326faeb131c256375eaa7a422862e603c87', class: "toast-icon-container" }, hAsync("div", { key: '1a679a2ad07206ce49af54f099aab135db3dc863', class: {
|
22114
23235
|
["divider"]: true,
|
22115
23236
|
[`divider-${variant}`]: true,
|
22116
|
-
} }), variant === "neutral" ? (hAsync("slot", { name: "neutral-icon" })) : (hAsync("span", { class: "toast-icon", innerHTML: VARIANT_ICONS[variant].icon })))), hAsync("div", { key: '
|
23237
|
+
} }), variant === "neutral" ? (hAsync("slot", { name: "neutral-icon" })) : (hAsync("span", { class: "toast-icon", innerHTML: VARIANT_ICONS[variant].icon })))), hAsync("div", { key: 'faec1abb053c98b482f2cbbc3b6cbb097bc7cfca', class: {
|
22117
23238
|
["toast-content"]: true,
|
22118
23239
|
["no-icon"]: variant === "neutral" && !isSlotUsed$1(this.el, "neutral-icon"),
|
22119
|
-
} }, hAsync("div", { key: '
|
23240
|
+
} }, hAsync("div", { key: '66a53a2d8f2433d55b353b8b19f487007baea78a', class: "toast-text" }, hAsync("ic-typography", { key: 'af86eaaef197aff5faae041b32c3823ffcbb785b', variant: "subtitle-large", class: "toast-heading" }, visible && (isManual ? hAsync("h5", null, heading) : hAsync("p", null, heading))), message && (hAsync("ic-typography", { key: '9a04f32939a2739826207d6b3df6796eb0d424ac', variant: "body", class: "toast-message" }, visible && hAsync("p", { key: '9ba710ed859c1dd9e8a6ed448207890faad5d706' }, message)))), isSlotUsed$1(this.el, "action") && (hAsync("div", { key: '68bf4d05f52322d6d056a583194e21b2dcadc2d1', class: "toast-action-container" }, hAsync("slot", { key: '39524496fb13e55b7828f5c6d70172ffe80ebae8', 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 })))));
|
22120
23241
|
}
|
22121
23242
|
get el() { return getElement(this); }
|
22122
23243
|
static get watchers() { return {
|
@@ -22188,7 +23309,7 @@ class ToastRegion {
|
|
22188
23309
|
}
|
22189
23310
|
}
|
22190
23311
|
render() {
|
22191
|
-
return hAsync("slot", { key: '
|
23312
|
+
return hAsync("slot", { key: '304f72b97b4c6fe1ff998e46f6d2daf80dca9c18' });
|
22192
23313
|
}
|
22193
23314
|
get el() { return getElement(this); }
|
22194
23315
|
static get watchers() { return {
|
@@ -22348,7 +23469,7 @@ class ToggleButton {
|
|
22348
23469
|
render() {
|
22349
23470
|
const { accessibleLabel, checked, disabled, fullWidth, iconPlacement, monochrome, label, loading, outline, size, theme, tooltipPlacement, variant, } = this;
|
22350
23471
|
const iconVariant = variant === "icon";
|
22351
|
-
return (hAsync(Host, { key: '
|
23472
|
+
return (hAsync(Host, { key: 'f8fcf3d711713e186960027c00f605b09350eb1b', class: {
|
22352
23473
|
"ic-toggle-button-checked": checked,
|
22353
23474
|
"ic-toggle-button-disabled": disabled,
|
22354
23475
|
"ic-toggle-button-icon": iconVariant,
|
@@ -22358,7 +23479,7 @@ class ToggleButton {
|
|
22358
23479
|
"ic-toggle-button-hide-outline": !outline,
|
22359
23480
|
[`ic-toggle-button-${size}`]: true,
|
22360
23481
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
22361
|
-
}, onFocus: this.handleFocus }, hAsync("ic-button", { key: '
|
23482
|
+
}, onFocus: this.handleFocus }, hAsync("ic-button", { key: 'a0d0f8b473b1731359a735e7249c3b3467e7012d', "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: 'a8335c7d4dbd6af3dff53ad5b7f7e0e34440be72' }), isSlotUsed$1(this.el, "icon") && (hAsync("slot", { key: 'c8e3337c6c4e2be224a3e15d107f67ece853c89f', name: "icon", slot: `${iconPlacement}-icon` })), isSlotUsed$1(this.el, "badge") && (hAsync("slot", { key: '1ae2a852eadc170c44fca19bf4993abd206cf4f3', name: "badge", slot: "badge" })))));
|
22362
23483
|
}
|
22363
23484
|
static get delegatesFocus() { return true; }
|
22364
23485
|
get el() { return getElement(this); }
|
@@ -22619,14 +23740,14 @@ class ToggleButtonGroup {
|
|
22619
23740
|
}
|
22620
23741
|
render() {
|
22621
23742
|
const { accessibleLabel, disabled, fullWidth, loading, monochrome, outline, theme, } = this;
|
22622
|
-
return (hAsync(Host, { key: '
|
23743
|
+
return (hAsync(Host, { key: 'bac81c86de7bedb193b11682ba0e845c6fb2e767', role: "group", "aria-label": accessibleLabel, tabindex: 0, class: {
|
22623
23744
|
"ic-toggle-button-group-disabled": disabled,
|
22624
23745
|
"ic-toggle-button-group-full-width": fullWidth,
|
22625
23746
|
"ic-toggle-button-group-loading": loading,
|
22626
23747
|
"ic-toggle-button-group-monochrome": monochrome,
|
22627
23748
|
"ic-toggle-button-group-hide-outline": !outline,
|
22628
23749
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
22629
|
-
}, onFocus: this.handleHostFocus }, hAsync("slot", { key: '
|
23750
|
+
}, onFocus: this.handleHostFocus }, hAsync("slot", { key: '66dd0f8c1aff7be57ecc0abf5386cdc43f64eb80' })));
|
22630
23751
|
}
|
22631
23752
|
get el() { return getElement(this); }
|
22632
23753
|
static get watchers() { return {
|
@@ -22666,18 +23787,16 @@ class ToggleButtonGroup {
|
|
22666
23787
|
}; }
|
22667
23788
|
}
|
22668
23789
|
|
22669
|
-
const icTooltipCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.ic-tooltip){width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;--ic-tooltip-background:var(--ic-color-background-primary-dark);--ic-tooltip-text:var(--ic-color-text-primary-dark);--ic-tooltip-border:var(--ic-color-border-neutral-grey-light)}:host(.ic-tooltip) .ic-tooltip-container{background-color:var(--ic-tooltip-background);text-align:center;padding:var(--ic-space-xxxs) var(--ic-space-xs);border-radius:var(--ic-border-radius);border:var(--ic-border-width) solid var(--ic-tooltip-border);position:absolute;max-width:20rem;display:none;z-index:var(--ic-z-index-tooltip);box-shadow:var(--ic-elevation-overlay);width:-moz-max-content;width:max-content}:host(.ic-tooltip) ic-typography{--ic-typography-color:var(--ic-tooltip-text)}:host(.tooltip-navigation-item:not(.tooltip-navigation-item-side-nav-collapsed)) .ic-tooltip-container,:host(.tooltip-disabled) .ic-tooltip-container{display:none !important}:host(.tooltip-long-label-navigation-item-side-nav-expanded) .ic-tooltip-container[data-show]{display:block !important}:host(.ic-tooltip) .ic-tooltip-arrow,:host(.ic-tooltip) .ic-tooltip-arrow::before{position:absolute;background:inherit}:host(.ic-tooltip) .ic-tooltip-arrow{visibility:hidden;width:var(--ic-space-md);height:var(--ic-space-md)}:host(.ic-tooltip) .ic-tooltip-arrow::before{visibility:visible;content:\"\";border:var(--ic-border-width) solid var(--ic-tooltip-border);width:100%;height:100%}:host(.ic-tooltip) .ic-tooltip-container[data-show]{display:block}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"top\"]>.ic-tooltip-arrow{height:var(--ic-space-xxxs)}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"top\"]>.ic-tooltip-arrow::before{border-radius:0 0 var(--ic-border-radius) var(--ic-border-radius);left:0;top:var(--ic-space-xxxs);border-top:0;transform:translateX(var(--tooltip-arrow-translate))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"bottom\"]>.ic-tooltip-arrow{top:calc(-1 * var(--ic-space-xxs));height:var(--ic-space-xxxs)}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"bottom\"]>.ic-tooltip-arrow::before{border-radius:var(--ic-border-radius) var(--ic-border-radius) 0 0;left:0;top:var(--ic-space-1px);border-bottom:0;transform:translateX(var(--tooltip-arrow-translate))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"left\"]>.ic-tooltip-arrow{width:var(--ic-space-xxxs);right:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"left\"]>.ic-tooltip-arrow::before{border-radius:0 var(--ic-border-radius) var(--ic-border-radius) 0;border-left:0;top:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"right\"]>.ic-tooltip-arrow{width:var(--ic-space-xxxs);left:calc(-1 * var(--ic-space-xxs))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"right\"]>.ic-tooltip-arrow::before{border-radius:var(--ic-border-radius) 0 0 var(--ic-border-radius);border-right:0;top:calc(-1 * var(--ic-space-1px))}:host(.on-dialog)
|
23790
|
+
const icTooltipCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.ic-tooltip){width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;--ic-tooltip-background:var(--ic-color-background-primary-dark);--ic-tooltip-text:var(--ic-color-text-primary-dark);--ic-tooltip-border:var(--ic-color-border-neutral-grey-light)}:host(.ic-tooltip) .ic-tooltip-container{background-color:var(--ic-tooltip-background);text-align:center;padding:var(--ic-space-xxxs) var(--ic-space-xs);border-radius:var(--ic-border-radius);border:var(--ic-border-width) solid var(--ic-tooltip-border);position:absolute;max-width:20rem;display:none;z-index:var(--ic-z-index-tooltip);box-shadow:var(--ic-elevation-overlay);width:-moz-max-content;width:max-content}:host(.ic-tooltip) ic-typography{--ic-typography-color:var(--ic-tooltip-text)}:host(.tooltip-navigation-item:not(.tooltip-navigation-item-side-nav-collapsed)) .ic-tooltip-container,:host(.tooltip-disabled) .ic-tooltip-container{display:none !important}:host(.tooltip-long-label-navigation-item-side-nav-expanded) .ic-tooltip-container[data-show]{display:block !important}:host(.ic-tooltip) .ic-tooltip-arrow,:host(.ic-tooltip) .ic-tooltip-arrow::before{position:absolute;background:inherit}:host(.ic-tooltip) .ic-tooltip-arrow{visibility:hidden;width:var(--ic-space-md);height:var(--ic-space-md)}:host(.ic-tooltip) .ic-tooltip-arrow::before{visibility:visible;content:\"\";border:var(--ic-border-width) solid var(--ic-tooltip-border);width:100%;height:100%}:host(.ic-tooltip) .ic-tooltip-container[data-show]{display:block}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"top\"]>.ic-tooltip-arrow{height:var(--ic-space-xxxs)}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"top\"]>.ic-tooltip-arrow::before{border-radius:0 0 var(--ic-border-radius) var(--ic-border-radius);left:0;top:var(--ic-space-xxxs);border-top:0;transform:translateX(var(--tooltip-arrow-translate))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"bottom\"]>.ic-tooltip-arrow{top:calc(-1 * var(--ic-space-xxs));height:var(--ic-space-xxxs)}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"bottom\"]>.ic-tooltip-arrow::before{border-radius:var(--ic-border-radius) var(--ic-border-radius) 0 0;left:0;top:var(--ic-space-1px);border-bottom:0;transform:translateX(var(--tooltip-arrow-translate))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"left\"]>.ic-tooltip-arrow{width:var(--ic-space-xxxs);right:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"left\"]>.ic-tooltip-arrow::before{border-radius:0 var(--ic-border-radius) var(--ic-border-radius) 0;border-left:0;top:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"right\"]>.ic-tooltip-arrow{width:var(--ic-space-xxxs);left:calc(-1 * var(--ic-space-xxs))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"right\"]>.ic-tooltip-arrow::before{border-radius:var(--ic-border-radius) 0 0 var(--ic-border-radius);border-right:0;top:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip-on-dialog){display:inline-block}@media screen and (max-width: 576px){:host(.ic-tooltip) .ic-tooltip-container{max-width:18.875rem}}@media (forced-colors: active){:host(.ic-tooltip) .ic-tooltip-container,:host(.ic-tooltip) .ic-tooltip-arrow::before{border:var(--ic-border-hc)}}";
|
22670
23791
|
var IcTooltipStyle0 = icTooltipCss;
|
22671
23792
|
|
22672
23793
|
class Tooltip {
|
22673
23794
|
constructor(hostRef) {
|
22674
23795
|
registerInstance(this, hostRef);
|
22675
23796
|
this.delayedHideEvents = ["mouseleave"];
|
22676
|
-
this.dialogOverflow = false;
|
22677
23797
|
this.instantHideEvents = ["focusout"];
|
22678
23798
|
this.mouseOverTool = false;
|
22679
23799
|
this.persistTooltip = false;
|
22680
|
-
this.onDialog = false;
|
22681
23800
|
this.showEvents = [
|
22682
23801
|
!this.disableHover && "mouseenter",
|
22683
23802
|
!this.disableHover && "focusin",
|
@@ -22704,76 +23823,11 @@ class Tooltip {
|
|
22704
23823
|
*/
|
22705
23824
|
this.theme = "inherit";
|
22706
23825
|
this.popperProps = {};
|
22707
|
-
this.getTooltipTranslate = (dialogEl) => {
|
22708
|
-
const child = this.el.children[0].getBoundingClientRect();
|
22709
|
-
let tooltipX;
|
22710
|
-
let tooltipY;
|
22711
|
-
switch (this.placement) {
|
22712
|
-
case "bottom":
|
22713
|
-
tooltipX = child.left - dialogEl.left - 0.5 * child.width;
|
22714
|
-
tooltipY = child.bottom - dialogEl.top;
|
22715
|
-
break;
|
22716
|
-
case "bottom-start":
|
22717
|
-
tooltipX = child.left - dialogEl.left;
|
22718
|
-
tooltipY = child.bottom - dialogEl.top;
|
22719
|
-
break;
|
22720
|
-
case "bottom-end":
|
22721
|
-
tooltipX = child.right - dialogEl.right;
|
22722
|
-
tooltipY = child.bottom - dialogEl.top;
|
22723
|
-
break;
|
22724
|
-
case "top":
|
22725
|
-
tooltipX = child.left - dialogEl.left - 0.5 * child.width;
|
22726
|
-
tooltipY = child.top - dialogEl.bottom;
|
22727
|
-
break;
|
22728
|
-
case "top-start":
|
22729
|
-
tooltipX = child.left - dialogEl.left;
|
22730
|
-
tooltipY = child.top - dialogEl.bottom;
|
22731
|
-
break;
|
22732
|
-
case "top-end":
|
22733
|
-
tooltipX = child.right - dialogEl.right;
|
22734
|
-
tooltipY = child.top - dialogEl.bottom;
|
22735
|
-
break;
|
22736
|
-
case "left":
|
22737
|
-
case "left-start":
|
22738
|
-
tooltipX = child.right - dialogEl.right - child.width;
|
22739
|
-
tooltipY = child.bottom - dialogEl.top - child.height;
|
22740
|
-
break;
|
22741
|
-
case "left-end":
|
22742
|
-
tooltipX = child.right - dialogEl.right - child.width;
|
22743
|
-
tooltipY = child.top - dialogEl.bottom + child.height;
|
22744
|
-
break;
|
22745
|
-
case "right":
|
22746
|
-
case "right-start":
|
22747
|
-
tooltipX = child.left - dialogEl.left + child.width;
|
22748
|
-
tooltipY = child.bottom - dialogEl.top - child.height;
|
22749
|
-
break;
|
22750
|
-
case "right-end":
|
22751
|
-
tooltipX = child.left - dialogEl.left + child.width;
|
22752
|
-
tooltipY = child.top - dialogEl.bottom + child.height;
|
22753
|
-
break;
|
22754
|
-
}
|
22755
|
-
if (this.dialogOverflow && tooltipX && tooltipX < 0) {
|
22756
|
-
if (this.placement.includes("top") ||
|
22757
|
-
this.placement.includes("bottom")) {
|
22758
|
-
this.toolTip.style.setProperty("--tooltip-arrow-translate", `${tooltipX}px`);
|
22759
|
-
tooltipX = child.left - dialogEl.left;
|
22760
|
-
}
|
22761
|
-
if (this.placement.includes("left")) {
|
22762
|
-
this.placement = "right";
|
22763
|
-
tooltipX = child.left - dialogEl.left + child.width;
|
22764
|
-
}
|
22765
|
-
}
|
22766
|
-
this.toolTip.style.setProperty("--tooltip-translate-x", `${tooltipX}px`);
|
22767
|
-
this.toolTip.style.setProperty("--tooltip-translate-y", `${tooltipY}px`);
|
22768
|
-
};
|
22769
23826
|
this.show = () => {
|
22770
|
-
var _a, _b, _c;
|
22771
23827
|
if (this.label) {
|
22772
23828
|
this.toolTip.setAttribute("data-show", "");
|
22773
|
-
if (this.
|
22774
|
-
this.el.classList.add("on-dialog");
|
22775
|
-
const dialogEl = (_c = (_b = (_a = this.icDialogEl) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector("dialog")) === null || _c === void 0 ? void 0 : _c.getBoundingClientRect();
|
22776
|
-
dialogEl && this.getTooltipTranslate(dialogEl);
|
23829
|
+
if (this.dialogContentArea) {
|
23830
|
+
this.el.classList.add("ic-tooltip-on-dialog");
|
22777
23831
|
}
|
22778
23832
|
this.popperInstance = createPopper(this.el, this.toolTip, Object.assign({ placement: this.placement, modifiers: [
|
22779
23833
|
{
|
@@ -22792,6 +23846,23 @@ class Tooltip {
|
|
22792
23846
|
name: "eventListeners",
|
22793
23847
|
options: { scroll: false, resize: false },
|
22794
23848
|
},
|
23849
|
+
...(this.dialogContentArea
|
23850
|
+
? [
|
23851
|
+
{
|
23852
|
+
name: "preventOverflow",
|
23853
|
+
options: {
|
23854
|
+
boundary: this.dialogContentArea,
|
23855
|
+
padding: 8,
|
23856
|
+
},
|
23857
|
+
},
|
23858
|
+
{
|
23859
|
+
name: "flip",
|
23860
|
+
options: {
|
23861
|
+
boundary: this.dialogContentArea,
|
23862
|
+
},
|
23863
|
+
},
|
23864
|
+
]
|
23865
|
+
: []),
|
22795
23866
|
] }, this.popperProps));
|
22796
23867
|
}
|
22797
23868
|
else {
|
@@ -22889,12 +23960,17 @@ class Tooltip {
|
|
22889
23960
|
}
|
22890
23961
|
}
|
22891
23962
|
componentDidLoad() {
|
22892
|
-
var _a;
|
23963
|
+
var _a, _b;
|
22893
23964
|
this.manageEventListeners("add");
|
22894
|
-
|
22895
|
-
this.
|
22896
|
-
|
22897
|
-
|
23965
|
+
let dialog;
|
23966
|
+
if (this.el.getRootNode().host) {
|
23967
|
+
dialog = this.el.getRootNode().host.closest("ic-dialog");
|
23968
|
+
}
|
23969
|
+
else {
|
23970
|
+
dialog = this.el.closest("ic-dialog");
|
23971
|
+
}
|
23972
|
+
this.dialogContentArea =
|
23973
|
+
(_b = (_a = dialog === null || dialog === void 0 ? void 0 : dialog.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".content-area")) !== null && _b !== void 0 ? _b : null;
|
22898
23974
|
onComponentRequiredPropUndefined$1([{ prop: this.label, propName: "label" }], "Tooltip");
|
22899
23975
|
}
|
22900
23976
|
componentDidRender() {
|
@@ -22921,10 +23997,10 @@ class Tooltip {
|
|
22921
23997
|
}
|
22922
23998
|
render() {
|
22923
23999
|
const { label, maxLines, silent, theme } = this;
|
22924
|
-
return (hAsync(Host, { key: '
|
24000
|
+
return (hAsync(Host, { key: '45c8808ecc7904b44e269ec6ae844da6f75710f0', class: {
|
22925
24001
|
"ic-tooltip": true,
|
22926
24002
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
22927
|
-
} }, hAsync("div", { key: '
|
24003
|
+
} }, hAsync("div", { key: 'a03ff6ebeb4d0476077838329f7f00cd29c1004d', ref: (el) => (this.toolTip = el), role: "tooltip", class: "ic-tooltip-container", "aria-hidden": `${silent}` }, hAsync("ic-typography", { key: '92b33499dae505e7e09bc92a8c91f1097de03b7b', maxLines: maxLines, variant: "caption" }, label), hAsync("div", { key: '37523617a917645fe37edb4e6d6e250ffc4d7b67', ref: (el) => (this.arrow = el), class: "ic-tooltip-arrow" })), hAsync("slot", { key: '44217d6c93aa8dab3250ebfde59f17bc51596576' })));
|
22928
24004
|
}
|
22929
24005
|
get el() { return getElement(this); }
|
22930
24006
|
static get watchers() { return {
|
@@ -22940,7 +24016,7 @@ class Tooltip {
|
|
22940
24016
|
"disableClick": [4, "disable-click"],
|
22941
24017
|
"disableHover": [4, "disable-hover"],
|
22942
24018
|
"maxLines": [2, "max-lines"],
|
22943
|
-
"placement": [
|
24019
|
+
"placement": [1],
|
22944
24020
|
"silent": [4],
|
22945
24021
|
"target": [513],
|
22946
24022
|
"theme": [1],
|
@@ -23173,16 +24249,16 @@ class TopNavigation {
|
|
23173
24249
|
const attrs = Component == "a" && {
|
23174
24250
|
href: href,
|
23175
24251
|
};
|
23176
|
-
return (hAsync(Host, { key: '
|
24252
|
+
return (hAsync(Host, { key: 'b0d2e6aebeb66ddb4ca659cfba83e2cdbd6ec3f4', class: {
|
23177
24253
|
"fullwidth-searchbar": hasFullWidthSearchBar,
|
23178
24254
|
"mobile-mode": overMobileBreakpoint,
|
23179
24255
|
[IcBrandForegroundEnum$1.Dark]: foregroundColor === IcBrandForegroundEnum$1.Dark,
|
23180
24256
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
23181
|
-
} }, hAsync("div", { key: '
|
24257
|
+
} }, hAsync("div", { key: '4a4576c41289fc356d5cfd4e0414901bd8d21a88', class: "top-navigation" }, hAsync("ic-section-container", { key: 'ec7aa4c1ce015f80c3850c2eba3b1e6b6d00c475', aligned: contentAligned, "full-height": true }, hAsync("header", { key: 'b388f01d5e3084e0530dcc5b460d773b8f51d1f2', role: "banner" }, hAsync("div", { key: 'a733f85700e1abccdf8aeceb97198359c53f9960', class: "top-panel-container" }, hAsync("div", { key: '948679467aee550281cdec8c5e43c6d5b4e7fd29', class: "app-details-container" }, (hasTitle || hasAppTitleSlot) && (hAsync(Component, Object.assign({ key: '4054a371178c53cf2794e7a9a653575b95a9354c', class: "title-link" }, attrs), hasAppIcon && (hAsync("div", { key: '11616acef1f4ff274320f24da803eab7cc52fa1d', class: "app-icon-container" }, hAsync("slot", { key: 'b36a9b7f67c72851dd11fd8f356a6735f4676814', name: "app-icon" }))), isSmallDeviceSize &&
|
23182
24258
|
(!isEmptyString$1(shortAppTitle) || shortAppTitleSlot) ? (hAsync("ic-typography", { variant: "subtitle-small", "aria-label": (!hasAppTitleSlot || !shortAppTitleSlot) &&
|
23183
|
-
`${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: '
|
24259
|
+
`${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: '42f5c01069f02f82abd34b4a540050154bdafec5', class: "app-status" }, hAsync("ic-typography", { key: '6052ad2c828b533ec121ee45d71c0afcdaae0622', "aria-label": "app tag", variant: "label-uppercase", class: "app-status-text" }, status))), hasVersion && (hAsync("div", { key: '173b8c98351d425e843aae093902b91feaa7fd05', class: "app-version" }, hAsync("ic-typography", { key: 'f46ecb51ac2c1f2c01beabf4590ac76681d94733', variant: "label", class: "app-version-text", "aria-label": "app version" }, version)))), (hasSearchSlotContent || hasMenuContent) && (hAsync("div", { key: '8f85b0505a04f7a3affb88ceaa81fe9eccd72ea1', class: "search-menu-container" }, hAsync("div", { key: 'ff332cfc554fef6856becd5fb87b9f315565bc1e', 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: 'ef7c477979320e20293484f6594eb89a38973540', class: "search-bar-container" }, hAsync("slot", { key: 'b19e53fc019ff1d16c0da99d7d38bc6428dd7cc8', name: "search" }))), hasNavigation && !overMobileBreakpoint && (hAsync("div", { key: 'bdd8f9b982328135f06fc010828bbf0dc803a788', class: "navigation-tabs" }, hAsync("span", { key: 'e231e5a002a04ff6275aa2d6a39c66d83787367a', id: "navigation-landmark-text", class: "navigation-landmark-text", "aria-hidden": "true" }, "Main pages"), hAsync("nav", { key: '201327e158e97d601a8fb93b8174af6091bd0295', "aria-labelledby": "navigation-landmark-text", class: "nav-panel-container" }, hAsync("ic-horizontal-scroll", { key: 'df8f402d0da993079b7378292cba17e85259c53c', monochrome: true, appearance: foregroundColor }, hAsync("ul", { key: '22aa05880499690dcd43572705234bdb6fd386b0', class: "navigation-item-list", tabindex: "-1" }, hAsync("slot", { key: 'effb669cef379880d7b45ca4e74ef096c10a1afb', name: "navigation" }))))))))), navMenuVisible && (hAsync("ic-navigation-menu", { key: 'a0a45fb9db2ea99414cdc2570f6c9697a96f01ad', version: version, status: status, class: {
|
23184
24260
|
inline,
|
23185
|
-
} }, hasIconButtons && (hAsync("div", { key: '
|
24261
|
+
} }, hasIconButtons && (hAsync("div", { key: '8c74bfd6c807022ccb315bd4718fa8a521fb08ae', class: "menu-buttons-slot", slot: "buttons" }, hAsync("slot", { key: '1720467597b353122e907f7c83e1f9e0ef62c9ad', name: "buttons" }))), hAsync("ul", { key: 'ccdc85df3febad2d603caeccafbd675be4d3d9a2', slot: "navigation" }, hAsync("slot", { key: '1f465185f8937c81b279e8823127e0e8bc7d6841', name: "navigation" }))))));
|
23186
24262
|
}
|
23187
24263
|
get el() { return getElement(this); }
|
23188
24264
|
static get watchers() { return {
|
@@ -23510,7 +24586,7 @@ class TreeItem {
|
|
23510
24586
|
rel: this.rel,
|
23511
24587
|
target: this.target,
|
23512
24588
|
};
|
23513
|
-
return (hAsync(Host, { key: '
|
24589
|
+
return (hAsync(Host, { key: 'd46ba231b2a4e4b223df95b23064b4657fc59eb9', class: {
|
23514
24590
|
"ic-tree-item-disabled": disabled,
|
23515
24591
|
"ic-tree-item-selected": !disabled && selected,
|
23516
24592
|
[`ic-tree-item-${size}`]: size !== "medium",
|
@@ -23521,7 +24597,7 @@ class TreeItem {
|
|
23521
24597
|
}, tabIndex: disabled ? -1 : 0, onClick: this.handleTreeItemClicked, ref: (el) => (this.treeItemElement = el), "aria-disabled": disabled ? "true" : "false", "aria-live": "polite" }, attrs, { onFocus: () => this.handleDisplayTooltip(true), onBlur: () => this.handleDisplayTooltip(false) }), this.isParent && (hAsync("span", { class: {
|
23522
24598
|
["arrow-dropdown"]: true,
|
23523
24599
|
["tree-item-expanded"]: expanded,
|
23524
|
-
}, "aria-hidden": "true", innerHTML: arrowDropdown })), isSlotUsed(this.el, "icon") && (hAsync("div", { class: "icon-container" }, hAsync("slot", { name: "icon" }))), hAsync("ic-typography", { class: "tree-item-label" }, isSlotUsed(this.el, "label") ? hAsync("slot", { name: "label" }) : label))), expanded && (hAsync("div", { key: '
|
24600
|
+
}, "aria-hidden": "true", innerHTML: arrowDropdown })), isSlotUsed(this.el, "icon") && (hAsync("div", { class: "icon-container" }, hAsync("slot", { name: "icon" }))), hAsync("ic-typography", { class: "tree-item-label" }, isSlotUsed(this.el, "label") ? hAsync("slot", { name: "label" }) : label))), expanded && (hAsync("div", { key: 'b6d59306dc68150e6c51fe8d8e9985702837824b', "aria-hidden": `${!expanded}` }, hAsync("slot", { key: 'fe7f782b4b5c4b2d5eeaab7ff511747d37d6068f' })))));
|
23525
24601
|
}
|
23526
24602
|
get el() { return getElement(this); }
|
23527
24603
|
static get watchers() { return {
|
@@ -23878,14 +24954,14 @@ class TreeView {
|
|
23878
24954
|
}
|
23879
24955
|
render() {
|
23880
24956
|
const { heading, isLoaded, size, theme, truncateHeading } = this;
|
23881
|
-
return (hAsync(Host, { key: '
|
24957
|
+
return (hAsync(Host, { key: '2b58b217bf98ece972496384d43f498460a9824e', "context-id": this.treeViewId, class: {
|
23882
24958
|
[`ic-tree-view-${size}`]: size !== "medium",
|
23883
24959
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
23884
24960
|
"ic-tree-view-truncate": truncateHeading,
|
23885
|
-
}, onKeyDown: this.handleKeyDown, "aria-label": this.isHeadingDefined() ? heading : null }, this.hasHeadingAreaContent() && (hAsync("div", { key: '
|
24961
|
+
}, onKeyDown: this.handleKeyDown, "aria-label": this.isHeadingDefined() ? heading : null }, this.hasHeadingAreaContent() && (hAsync("div", { key: 'f1ae0ca6d6572175add0fec3862cc7380f9c8d74', class: "heading-area-container" }, isSlotUsed(this.el, "icon") && (hAsync("div", { key: '1fba05e27d7f39890e4697c93bc41e30261fb6f4', class: "icon-container" }, hAsync("slot", { key: 'ec1b61092f87e3d76681d37f8dfdc284d8e4e1cc', name: "icon" }))), hAsync("ic-typography", { key: '0f67c01f76f91c220e59d90943f3832b6f7fb8c9', variant: "subtitle-large", class: {
|
23886
24962
|
"tree-view-header": true,
|
23887
24963
|
"with-padding": this.truncateHeading && !isLoaded,
|
23888
|
-
} }, isSlotUsed(this.el, "heading") ? (hAsync("slot", { name: "heading" })) : (heading)))), hAsync("slot", { key: '
|
24964
|
+
} }, isSlotUsed(this.el, "heading") ? (hAsync("slot", { name: "heading" })) : (heading)))), hAsync("slot", { key: '8f385af9272ed7ee3847bab9173c0f43aa450de4' })));
|
23889
24965
|
}
|
23890
24966
|
get el() { return getElement(this); }
|
23891
24967
|
static get watchers() { return {
|
@@ -24083,7 +25159,7 @@ class Typography {
|
|
24083
25159
|
render() {
|
24084
25160
|
var _a, _b;
|
24085
25161
|
const { variant, applyVerticalMargins, maxLines, truncated, expanded, strikethrough, underline, italic, bold, theme, } = this;
|
24086
|
-
return (hAsync(Host, { key: '
|
25162
|
+
return (hAsync(Host, { key: '0f64ad9e02b32790b2bc269df212468b2f9426f7', class: {
|
24087
25163
|
[`ic-typography-${variant}`]: true,
|
24088
25164
|
[`ic-typography-vertical-margins-${variant}`]: !!applyVerticalMargins,
|
24089
25165
|
["ic-typography-bold"]: !!bold,
|
@@ -24096,7 +25172,7 @@ class Typography {
|
|
24096
25172
|
((_b = (_a = this.el.getRootNode()) === null || _a === void 0 ? void 0 : _a.host) === null || _b === void 0 ? void 0 : _b.tagName) ===
|
24097
25173
|
"IC-TOOLTIP") &&
|
24098
25174
|
maxLines &&
|
24099
|
-
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: '
|
25175
|
+
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: '3e5f7e8b549122986d1dc67fe35b5e270233eb71', class: { "trunc-btn": true, focus: this.truncButtonFocussed }, onFocus: this.truncButtonFocus, onBlur: this.truncButtonBlur, onMouseDown: this.truncButtonFocusFromMouse, onClick: this.toggleExpanded }, expanded ? "See less" : "See more"))));
|
24100
25176
|
}
|
24101
25177
|
get el() { return getElement(this); }
|
24102
25178
|
static get watchers() { return {
|
@@ -24131,6 +25207,7 @@ class Typography {
|
|
24131
25207
|
registerComponents([
|
24132
25208
|
Accordion,
|
24133
25209
|
AccordionGroup,
|
25210
|
+
ActionChip,
|
24134
25211
|
Alert,
|
24135
25212
|
BackToTop,
|
24136
25213
|
Badge,
|
@@ -24193,6 +25270,7 @@ registerComponents([
|
|
24193
25270
|
TabPanel,
|
24194
25271
|
TextField,
|
24195
25272
|
Theme,
|
25273
|
+
TimeInput,
|
24196
25274
|
Toast,
|
24197
25275
|
ToastRegion,
|
24198
25276
|
ToggleButton,
|