@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.js
CHANGED
@@ -4009,6 +4009,147 @@ class AccordionGroup {
|
|
4009
4009
|
}; }
|
4010
4010
|
}
|
4011
4011
|
|
4012
|
+
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>`;
|
4013
|
+
|
4014
|
+
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";
|
4015
|
+
var IcActionChipStyle0 = icActionChipCss;
|
4016
|
+
|
4017
|
+
/**
|
4018
|
+
* @slot badge - Badge component overlaying the top right of the chip.
|
4019
|
+
* @slot icon - Content will be rendered at the start of the chip.
|
4020
|
+
*/
|
4021
|
+
class ActionChip {
|
4022
|
+
constructor(hostRef) {
|
4023
|
+
registerInstance(this, hostRef);
|
4024
|
+
/**
|
4025
|
+
* If `true`, the chip will appear disabled.
|
4026
|
+
*/
|
4027
|
+
this.disabled = false;
|
4028
|
+
/**
|
4029
|
+
* If `true`, the user can save the linked URL instead of navigating to it.
|
4030
|
+
*/
|
4031
|
+
this.download = false;
|
4032
|
+
/**
|
4033
|
+
* If `true`, the button will display as monochromatic in either `light` or `dark` theme.
|
4034
|
+
*/
|
4035
|
+
this.monochrome = false;
|
4036
|
+
/**
|
4037
|
+
* The size of the chip.
|
4038
|
+
*/
|
4039
|
+
this.size = "medium";
|
4040
|
+
/**
|
4041
|
+
* Sets the chip to the dark or light theme colors. "inherit" will set the color based on the system settings or ic-theme component.
|
4042
|
+
*/
|
4043
|
+
this.theme = "inherit";
|
4044
|
+
/**
|
4045
|
+
* If `true`, the outlined variant of chip will have a transparent background rather than the theme defined color.
|
4046
|
+
*/
|
4047
|
+
this.transparentBackground = true;
|
4048
|
+
/**
|
4049
|
+
* The type of the chip.
|
4050
|
+
*/
|
4051
|
+
this.type = "button";
|
4052
|
+
/**
|
4053
|
+
* The emphasis of the chip.
|
4054
|
+
*/
|
4055
|
+
this.variant = "filled";
|
4056
|
+
}
|
4057
|
+
watchDisabledHandler() {
|
4058
|
+
removeDisabledFalse$1(this.disabled, this.el);
|
4059
|
+
}
|
4060
|
+
disconnectedCallback() {
|
4061
|
+
var _a;
|
4062
|
+
(_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
4063
|
+
}
|
4064
|
+
componentWillLoad() {
|
4065
|
+
removeDisabledFalse$1(this.disabled, this.el);
|
4066
|
+
}
|
4067
|
+
componentDidLoad() {
|
4068
|
+
onComponentRequiredPropUndefined$1([{ prop: this.label, propName: "label" }], "Chip");
|
4069
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots$1(mutationList, ["icon", "badge"]));
|
4070
|
+
this.hostMutationObserver.observe(this.el, {
|
4071
|
+
childList: true,
|
4072
|
+
});
|
4073
|
+
}
|
4074
|
+
/**
|
4075
|
+
* Sets focus on the chip.
|
4076
|
+
*/
|
4077
|
+
async setFocus() {
|
4078
|
+
var _a;
|
4079
|
+
(_a = this.chipEl) === null || _a === void 0 ? void 0 : _a.focus();
|
4080
|
+
}
|
4081
|
+
render() {
|
4082
|
+
const { disabled, download, form, formaction, formenctype, formmethod, formnovalidate, formtarget, href, hreflang, label, monochrome, referrerpolicy, rel, size, target, theme, transparentBackground, type, variant, } = this;
|
4083
|
+
const TagType = href ? "a" : "button";
|
4084
|
+
const isButtonElement = TagType === "button";
|
4085
|
+
const chipAttrs = isButtonElement
|
4086
|
+
? {
|
4087
|
+
disabled,
|
4088
|
+
form,
|
4089
|
+
formaction,
|
4090
|
+
formenctype,
|
4091
|
+
formmethod,
|
4092
|
+
formnovalidate,
|
4093
|
+
formtarget,
|
4094
|
+
type,
|
4095
|
+
}
|
4096
|
+
: {
|
4097
|
+
download: download !== false ? download : null,
|
4098
|
+
href,
|
4099
|
+
hreflang,
|
4100
|
+
referrerpolicy,
|
4101
|
+
rel,
|
4102
|
+
target,
|
4103
|
+
};
|
4104
|
+
return (hAsync(Host, { key: '2c65125774e7ce4fc9cb0d447e0ebff984caad5a', class: {
|
4105
|
+
[`ic-theme-${theme}`]: theme !== "inherit",
|
4106
|
+
} }, hAsync(TagType, Object.assign({ key: 'af57a8bb5d0b29b4ff1023747bc0d4ca3824af73', class: {
|
4107
|
+
chip: true,
|
4108
|
+
disabled: isButtonElement && disabled,
|
4109
|
+
monochrome,
|
4110
|
+
"non-transparent": variant === "outlined" && !transparentBackground,
|
4111
|
+
[`${size}`]: true,
|
4112
|
+
[`${variant}`]: true,
|
4113
|
+
}, 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" }))));
|
4114
|
+
}
|
4115
|
+
static get delegatesFocus() { return true; }
|
4116
|
+
get el() { return getElement(this); }
|
4117
|
+
static get watchers() { return {
|
4118
|
+
"disabled": ["watchDisabledHandler"]
|
4119
|
+
}; }
|
4120
|
+
static get style() { return IcActionChipStyle0; }
|
4121
|
+
static get cmpMeta() { return {
|
4122
|
+
"$flags$": 25,
|
4123
|
+
"$tagName$": "ic-action-chip",
|
4124
|
+
"$members$": {
|
4125
|
+
"disabled": [4],
|
4126
|
+
"download": [8],
|
4127
|
+
"form": [1],
|
4128
|
+
"formaction": [1],
|
4129
|
+
"formenctype": [1],
|
4130
|
+
"formmethod": [1],
|
4131
|
+
"formnovalidate": [4],
|
4132
|
+
"formtarget": [1],
|
4133
|
+
"href": [1],
|
4134
|
+
"hreflang": [1],
|
4135
|
+
"label": [1],
|
4136
|
+
"monochrome": [4],
|
4137
|
+
"referrerpolicy": [1],
|
4138
|
+
"rel": [1],
|
4139
|
+
"size": [1],
|
4140
|
+
"target": [1],
|
4141
|
+
"theme": [1],
|
4142
|
+
"transparentBackground": [4, "transparent-background"],
|
4143
|
+
"type": [1],
|
4144
|
+
"variant": [1],
|
4145
|
+
"setFocus": [64]
|
4146
|
+
},
|
4147
|
+
"$listeners$": undefined,
|
4148
|
+
"$lazyBundleId$": "-",
|
4149
|
+
"$attrsToReflect$": []
|
4150
|
+
}; }
|
4151
|
+
}
|
4152
|
+
|
4012
4153
|
var closeIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
|
4013
4154
|
<path d="M0 0h24v24H0z" fill="none"/>
|
4014
4155
|
<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"/>
|
@@ -4302,15 +4443,15 @@ class BackToTop {
|
|
4302
4443
|
const btnVariant = variant === "icon" ? "icon-secondary" : "secondary";
|
4303
4444
|
const size = variant === "icon" ? "large" : "medium";
|
4304
4445
|
const label = variant === "icon" ? "" : backToTopLabel;
|
4305
|
-
return (hAsync(Host, { key: '
|
4446
|
+
return (hAsync(Host, { key: '11f790112cc8047ab6b35459de506f6dc6a85c5f', class: {
|
4306
4447
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
4307
4448
|
[`ic-back-to-top-${this.position}`]: true,
|
4308
|
-
} }, hAsync("ic-button", { key: '
|
4449
|
+
} }, hAsync("ic-button", { key: '670015cd630e897033a440ff4846d475c113a453', "aria-label": backToTopLabel, variant: btnVariant, size: size, onClick: this.handleClick, class: {
|
4309
4450
|
["offset-banner"]: bannerOffset,
|
4310
4451
|
["show"]: !targetElVisible,
|
4311
4452
|
["by-footer"]: footerVisible,
|
4312
4453
|
["icon-only"]: variant === "icon",
|
4313
|
-
}, theme: this.theme }, hAsync("span", { key: '
|
4454
|
+
}, theme: this.theme }, hAsync("span", { key: 'e56c7a48a8226d1f471fc9a953851d27f4a6504c', class: "ic-back-to-top-icon", innerHTML: ArrowUpward }), label)));
|
4314
4455
|
}
|
4315
4456
|
static get delegatesFocus() { return true; }
|
4316
4457
|
get el() { return getElement(this); }
|
@@ -4494,7 +4635,7 @@ class Badge {
|
|
4494
4635
|
}
|
4495
4636
|
render() {
|
4496
4637
|
const { ariaLabel, el, foregroundColour, getLabel, position, size, label, type, variant, visible, theme, } = this;
|
4497
|
-
return (hAsync(Host, { key: '
|
4638
|
+
return (hAsync(Host, { key: '43b8e638c7b0965ad3591f8b306637b7b5aeea58', class: {
|
4498
4639
|
[`ic-badge-${position}`]: true,
|
4499
4640
|
[`ic-badge-${size}`]: true,
|
4500
4641
|
[`ic-badge-${variant}`]: true,
|
@@ -4502,7 +4643,7 @@ class Badge {
|
|
4502
4643
|
[`ic-badge-foreground-${foregroundColour}`]: foregroundColour !== null && variant === "custom",
|
4503
4644
|
[`${visible ? "ic-badge-show" : "ic-badge-hide"}`]: true,
|
4504
4645
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
4505
|
-
}, id: el.id || null, "aria-label": ariaLabel, role: "status" }, type === "icon" && hAsync("slot", { key: '
|
4646
|
+
}, 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")));
|
4506
4647
|
}
|
4507
4648
|
static get delegatesFocus() { return true; }
|
4508
4649
|
get el() { return getElement(this); }
|
@@ -4629,11 +4770,11 @@ class Breadcrumb {
|
|
4629
4770
|
render() {
|
4630
4771
|
const { current, href, monochrome, pageTitle, showBackIcon, theme } = this;
|
4631
4772
|
const describedById = `${pageTitle === null || pageTitle === void 0 ? void 0 : pageTitle.toLowerCase().replace(" ", "-")}-describedby`;
|
4632
|
-
return (hAsync(Host, { key: '
|
4773
|
+
return (hAsync(Host, { key: '2c1131138a8be3af8ee344e0fbff5594fbcc2d77', class: {
|
4633
4774
|
"ic-breadcrumb-back": showBackIcon,
|
4634
4775
|
"ic-breadcrumb-monochrome": monochrome,
|
4635
4776
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
4636
|
-
}, "aria-current": current && "page", role: "listitem" }, hAsync("div", { key: '
|
4777
|
+
}, "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)))));
|
4637
4778
|
}
|
4638
4779
|
static get delegatesFocus() { return true; }
|
4639
4780
|
get el() { return getElement(this); }
|
@@ -4875,11 +5016,11 @@ class BreadcrumbGroup {
|
|
4875
5016
|
}
|
4876
5017
|
render() {
|
4877
5018
|
const { backBreadcrumbOnly, collapsed, theme } = this;
|
4878
|
-
return (hAsync(Host, { key: '
|
5019
|
+
return (hAsync(Host, { key: 'e9547e6fce74b57f2a3d7904bdca580c59abf881', class: {
|
4879
5020
|
"ic-breadcrumb-group-back": backBreadcrumbOnly,
|
4880
5021
|
"ic-breadcrumb-group-collapsed": collapsed,
|
4881
5022
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
4882
|
-
} }, hAsync("nav", { key: '
|
5023
|
+
} }, hAsync("nav", { key: '56fd90771323680169a7e2ff757c534f499bda48', "aria-label": "breadcrumbs" }, hAsync("ol", { key: '2817e0c715c94937436a41222f86a0e5e6b9cc92' }, hAsync("slot", { key: '137e284689752e6256c39ecc19988aafd3e49942' })))));
|
4883
5024
|
}
|
4884
5025
|
get el() { return getElement(this); }
|
4885
5026
|
static get watchers() { return {
|
@@ -4909,7 +5050,7 @@ var arrowDropdown$1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="non
|
|
4909
5050
|
<path d="M7 9.5L12 14.5L17 9.5H7Z" fill="currentColor"/>
|
4910
5051
|
</svg>`;
|
4911
5052
|
|
4912
|
-
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)}";
|
5053
|
+
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)}";
|
4913
5054
|
var IcButtonStyle0 = icButtonCss;
|
4914
5055
|
|
4915
5056
|
var __rest$1 = (undefined && undefined.__rest) || function (s, e) {
|
@@ -5280,7 +5421,7 @@ class Button {
|
|
5280
5421
|
variant !== "destructive" && (hAsync("span", { class: dropdownExpanded
|
5281
5422
|
? "dropdown-expanded"
|
5282
5423
|
: "arrow-dropdown", innerHTML: arrowDropdown$1 }))))));
|
5283
|
-
return (hAsync(Host, { key: '
|
5424
|
+
return (hAsync(Host, { key: '7ec6ab29cee9c1d669ffb4d181291ac2767cbbec', class: {
|
5284
5425
|
"ic-button-disabled": disabled && !loading,
|
5285
5426
|
"ic-button-full-width": fullWidth,
|
5286
5427
|
"ic-button-loading": loading,
|
@@ -5296,7 +5437,7 @@ class Button {
|
|
5296
5437
|
monochrome,
|
5297
5438
|
"top-icon": isSlotUsed$1(this.el, "top-icon"),
|
5298
5439
|
"with-badge": isSlotUsed$1(this.el, "badge"),
|
5299
|
-
}, onClick: handleClick, onKeyDown: handleKeyDown, "aria-owns": ariaOwnsId, "aria-controls": ariaControlsId, "aria-expanded": dropdown && `${dropdownExpanded}` }, hasTooltip && (hAsync("ic-tooltip", { key: '
|
5440
|
+
}, 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))));
|
5300
5441
|
}
|
5301
5442
|
static get delegatesFocus() { return true; }
|
5302
5443
|
get el() { return getElement(this); }
|
@@ -5956,19 +6097,19 @@ class CardVertical {
|
|
5956
6097
|
rel: rel,
|
5957
6098
|
target: target,
|
5958
6099
|
};
|
5959
|
-
return (hAsync(Host, { key: '
|
6100
|
+
return (hAsync(Host, { key: '2dc8070692fc796401c84c6156d1f66c8053310a', class: {
|
5960
6101
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
5961
|
-
} }, hAsync(Component, Object.assign({ key: '
|
6102
|
+
} }, hAsync(Component, Object.assign({ key: 'a1a8763990ed7e5ac5eecfc69e4b29ab184b9e6e', class: {
|
5962
6103
|
card: true,
|
5963
6104
|
clickable: !!clickable && !disabled,
|
5964
6105
|
disabled: !!disabled,
|
5965
6106
|
fullwidth: !!fullWidth,
|
5966
6107
|
focussed: isFocussed,
|
5967
6108
|
monochrome: monochrome,
|
5968
|
-
}, tabindex: clickable && !parentIsAnchorTag ? 0 : undefined, "aria-disabled": disabled ? "true" : null, disabled: disabled }, attrs), isSlotUsed$1(this.el, "image-top") && (hAsync("div", { key: '
|
6109
|
+
}, 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: {
|
5969
6110
|
"toggle-button": true,
|
5970
6111
|
[`toggle-button-${this.areaExpanded ? "expanded" : "closed"}`]: true,
|
5971
|
-
}, "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: '
|
6112
|
+
}, "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" }))));
|
5972
6113
|
}
|
5973
6114
|
get el() { return getElement(this); }
|
5974
6115
|
static get watchers() { return {
|
@@ -6116,17 +6257,17 @@ class Checkbox {
|
|
6116
6257
|
checked
|
6117
6258
|
? renderHiddenInput$1(el, value, name, disabled)
|
6118
6259
|
: removeHiddenInput(el);
|
6119
|
-
return (hAsync(Host, { key: '
|
6260
|
+
return (hAsync(Host, { key: '153b0b333ca1d0755d4e52dd9119d48cd1c246cc', class: {
|
6120
6261
|
"ic-checkbox-disabled": disabled,
|
6121
6262
|
[`ic-checkbox-${size}`]: !!size,
|
6122
6263
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
6123
|
-
} }, hAsync("div", { key: '
|
6264
|
+
} }, 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: {
|
6124
6265
|
checkbox: true,
|
6125
6266
|
checked,
|
6126
6267
|
indeterminate: displayIndeterminate,
|
6127
|
-
}, 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: '
|
6268
|
+
}, 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: {
|
6128
6269
|
"additional-field-wrapper": !isDynamicAdditionalField,
|
6129
|
-
} }, hAsync("slot", { key: '
|
6270
|
+
} }, hAsync("slot", { key: '5783108ca7c6edb7c55dad2cc9469549e31d7cd3', name: "additional-field" })))))));
|
6130
6271
|
}
|
6131
6272
|
static get delegatesFocus() { return true; }
|
6132
6273
|
get el() { return getElement(this); }
|
@@ -6261,11 +6402,11 @@ class CheckboxGroup {
|
|
6261
6402
|
const { disabled, helperText, hideLabel, label, name, required, size, theme, validationStatus, validationText, } = this;
|
6262
6403
|
const describedBy = getInputDescribedByText$1(this.el, name, helperText !== "", validationStatus !== "");
|
6263
6404
|
const renderSRText = validationStatus === "error" || required || hideLabel;
|
6264
|
-
return (hAsync(Host, { key: '
|
6405
|
+
return (hAsync(Host, { key: '977492f0ca432ab5dc9d7435c66cf6aafa8c44f1', class: {
|
6265
6406
|
"ic-checkbox-group-disabled": !!disabled,
|
6266
6407
|
[`ic-checkbox-group-${size}`]: true,
|
6267
6408
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
6268
|
-
} }, renderSRText && (hAsync("span", { key: '
|
6409
|
+
} }, 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 }))));
|
6269
6410
|
}
|
6270
6411
|
get el() { return getElement(this); }
|
6271
6412
|
static get watchers() { return {
|
@@ -6367,12 +6508,20 @@ class Chip {
|
|
6367
6508
|
watchDisabledHandler() {
|
6368
6509
|
removeDisabledFalse$1(this.disabled, this.el);
|
6369
6510
|
}
|
6511
|
+
disconnectedCallback() {
|
6512
|
+
var _a;
|
6513
|
+
(_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
6514
|
+
}
|
6370
6515
|
componentWillLoad() {
|
6371
6516
|
removeDisabledFalse$1(this.disabled, this.el);
|
6372
6517
|
this.customColorHandler();
|
6373
6518
|
}
|
6374
6519
|
componentDidLoad() {
|
6375
6520
|
onComponentRequiredPropUndefined$1([{ prop: this.label, propName: "label" }], "Chip");
|
6521
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots$1(mutationList, ["icon", "badge"]));
|
6522
|
+
this.hostMutationObserver.observe(this.el, {
|
6523
|
+
childList: true,
|
6524
|
+
});
|
6376
6525
|
}
|
6377
6526
|
handleClick() {
|
6378
6527
|
this.visible = !this.visible;
|
@@ -6387,10 +6536,10 @@ class Chip {
|
|
6387
6536
|
render() {
|
6388
6537
|
const { label, variant, size, dismissible, visible, disabled, hovered, theme, foregroundColor, dismissLabel, transparentBackground, } = this;
|
6389
6538
|
const ariaLabel = `${label} chip`;
|
6390
|
-
return (hAsync(Host, { key: '
|
6539
|
+
return (hAsync(Host, { key: 'ced030b6d7a5aeb6b7030ea7858200187d16ae90', class: {
|
6391
6540
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
6392
6541
|
[`ic-chip-${foregroundColor}-text`]: variant === "filled" && !!foregroundColor,
|
6393
|
-
} }, visible && (hAsync("div", { key: '
|
6542
|
+
} }, visible && (hAsync("div", { key: 'dca2da18144d1ee47d9507cbb616bc6493060f94', class: {
|
6394
6543
|
chip: true,
|
6395
6544
|
[`${variant}`]: true,
|
6396
6545
|
[`${size}`]: true,
|
@@ -6398,7 +6547,7 @@ class Chip {
|
|
6398
6547
|
dismissible,
|
6399
6548
|
hovered,
|
6400
6549
|
"non-transparent": variant === "outlined" && !transparentBackground,
|
6401
|
-
} }, isSlotUsed$1(this.el, "icon") && (hAsync("div", { key: '
|
6550
|
+
} }, 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}` : ""))));
|
6402
6551
|
}
|
6403
6552
|
static get delegatesFocus() { return true; }
|
6404
6553
|
get el() { return getElement(this); }
|
@@ -6476,10 +6625,10 @@ class ClassificationBanner {
|
|
6476
6625
|
if (!classification ||
|
6477
6626
|
(classification && !classificationText[classification]))
|
6478
6627
|
classification = "default";
|
6479
|
-
return (hAsync(Host, { key: '
|
6628
|
+
return (hAsync(Host, { key: '8ccd98249fea7e78da349f2c97243366305c5dcc', class: { ["ic-classification-banner-inline"]: !!inline } }, hAsync("banner", { key: 'a108ace2bf5f64c5867f993d9d130595b61ccac9', "aria-label": "Protective marking", class: {
|
6480
6629
|
["classification-banner"]: true,
|
6481
6630
|
[`${classification}`]: classification,
|
6482
|
-
} }, classification !== "default" ? (hAsync("span", { class: "offscreen" }, "The protective marking of this page is:", " ")) : null, hAsync("ic-typography", { key: '
|
6631
|
+
} }, classification !== "default" ? (hAsync("span", { class: "offscreen" }, "The protective marking of this page is:", " ")) : null, hAsync("ic-typography", { key: '09edc559ec7b205d092210ef73ef95faa43c1a8a', variant: "caption-uppercase" }, classification === "default"
|
6483
6632
|
? classificationText[classification]
|
6484
6633
|
: `${upTo ? "up to" : ""}
|
6485
6634
|
${country}
|
@@ -6526,10 +6675,10 @@ class DataList {
|
|
6526
6675
|
if (size === "small") {
|
6527
6676
|
Array.from(el.children).forEach((child) => child.setAttribute("size", "small"));
|
6528
6677
|
}
|
6529
|
-
return (hAsync(Host, { key: '
|
6678
|
+
return (hAsync(Host, { key: '5e7af483f24335b47442b4aa768c7b04bc14bb64', class: {
|
6530
6679
|
"ic-data-list-small": size === "small",
|
6531
6680
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
6532
|
-
} }, hAsync("div", { key: '
|
6681
|
+
} }, 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' }))));
|
6533
6682
|
}
|
6534
6683
|
get el() { return getElement(this); }
|
6535
6684
|
static get style() { return IcDataListStyle0; }
|
@@ -6619,12 +6768,12 @@ class DataRow {
|
|
6619
6768
|
}
|
6620
6769
|
render() {
|
6621
6770
|
const { el, listSize, hasEndComponent, label, renderCellContent, size, theme, value, } = this;
|
6622
|
-
return (hAsync(Host, { key: '
|
6771
|
+
return (hAsync(Host, { key: '9a94132a8884960a5ec1c2f2772e89f46dbcc995', class: {
|
6623
6772
|
["ic-data-row-small"]: size === "small",
|
6624
6773
|
["breakpoint-medium"]: listSize === "m",
|
6625
6774
|
["breakpoint-xs"]: listSize === "xs",
|
6626
6775
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
6627
|
-
}, role: "listitem" }, hAsync("div", { key: '
|
6776
|
+
}, 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" })));
|
6628
6777
|
}
|
6629
6778
|
get el() { return getElement(this); }
|
6630
6779
|
static get style() { return IcDataRowStyle0; }
|
@@ -7210,7 +7359,7 @@ class DataTable {
|
|
7210
7359
|
}
|
7211
7360
|
return columnWidthStyling;
|
7212
7361
|
};
|
7213
|
-
this.getCalculatedRowHeight = (columnProps,
|
7362
|
+
this.getCalculatedRowHeight = (columnProps, cell, rowTextWrap, currentRowHeight) => {
|
7214
7363
|
if ((this.truncationPattern || currentRowHeight) &&
|
7215
7364
|
!(columnProps === null || columnProps === void 0 ? void 0 : columnProps.textWrap) &&
|
7216
7365
|
!rowTextWrap &&
|
@@ -7240,22 +7389,22 @@ class DataTable {
|
|
7240
7389
|
}
|
7241
7390
|
});
|
7242
7391
|
};
|
7243
|
-
this.createCellContent = (columnProps, cell, cellSlotName,
|
7392
|
+
this.createCellContent = (columnProps, cell, cellSlotName, hasIcon, cellValue, rowOptions, currentRowHeight) => {
|
7244
7393
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
7245
7394
|
return (hAsync("div", { innerHTML: (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) === "element" &&
|
7246
7395
|
!isSlotUsed(this.el, cellSlotName)
|
7247
7396
|
? cell
|
7248
|
-
: undefined, class: Object.assign(Object.assign({ "cell-container": (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element", [`cell-alignment-${((
|
7249
|
-
((
|
7250
|
-
this.getCellAlignment(cell, "horizontal")}`]: !!((
|
7251
|
-
!!((
|
7397
|
+
: 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) ||
|
7398
|
+
((_c = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _c === void 0 ? void 0 : _c.horizontal) ||
|
7399
|
+
this.getCellAlignment(cell, "horizontal")}`]: !!((_d = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _d === void 0 ? void 0 : _d.horizontal) ||
|
7400
|
+
!!((_e = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _e === void 0 ? void 0 : _e.horizontal) ||
|
7252
7401
|
!!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) ||
|
7253
7402
|
(rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.textWrap) ||
|
7254
|
-
!!this.getCellOptions(cell, "textWrap"), [
|
7403
|
+
!!this.getCellOptions(cell, "textWrap"), [`cell-emphasis-${(this.isObject(cell) && cellValue("emphasis")) ||
|
7255
7404
|
(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
7256
|
-
|
7405
|
+
(rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.emphasis)}`]: (this.isObject(cell) && !!cellValue("emphasis")) ||
|
7257
7406
|
!!(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
7258
|
-
!!
|
7407
|
+
!!(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
|
7259
7408
|
? this.setRowHeight(currentRowHeight)
|
7260
7409
|
: 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)) &&
|
7261
7410
|
(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" &&
|
@@ -7265,9 +7414,9 @@ class DataTable {
|
|
7265
7414
|
} }, hAsync("ic-typography", { variant: "body", class: {
|
7266
7415
|
[`cell-emphasis-${(this.isObject(cell) && cellValue("emphasis")) ||
|
7267
7416
|
(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
7268
|
-
|
7417
|
+
(rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.emphasis)}`]: (this.isObject(cell) && !!cellValue("emphasis")) ||
|
7269
7418
|
!!(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
7270
|
-
!!
|
7419
|
+
!!(rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.emphasis),
|
7271
7420
|
[`text-${this.density}`]: this.notDefaultDensity(),
|
7272
7421
|
} }, 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) &&
|
7273
7422
|
Object.keys(cell).includes("description") && (hAsync("div", { class: {
|
@@ -7277,48 +7426,37 @@ class DataTable {
|
|
7277
7426
|
};
|
7278
7427
|
this.createCells = (row, rowIndex) => {
|
7279
7428
|
var _a;
|
7280
|
-
const rowKeys = Object.keys(row);
|
7281
|
-
const rowOptions = this.getObjectValue(row, "rowOptions");
|
7282
|
-
let rowAlignment;
|
7283
|
-
let rowEmphasis;
|
7284
|
-
const rowHeader = this.getObjectValue(row, "header");
|
7285
|
-
if (rowHeader) {
|
7286
|
-
rowAlignment = this.getObjectValue(rowHeader, "rowAlignment");
|
7287
|
-
rowEmphasis = this.getObjectValue(rowHeader, "emphasis");
|
7288
|
-
}
|
7289
7429
|
const variableRowHeightVal = (_a = this.variableRowHeight) === null || _a === void 0 ? void 0 : _a.call(this, Object.assign(Object.assign({}, row), { index: rowIndex }));
|
7290
7430
|
const currentRowHeight = variableRowHeightVal
|
7291
7431
|
? variableRowHeightVal !== "auto" && variableRowHeightVal
|
7292
7432
|
: this.globalRowHeight !== "auto" && this.globalRowHeight;
|
7293
|
-
|
7433
|
+
const { rowOptions } = row;
|
7434
|
+
return this.columns.map((column) => {
|
7294
7435
|
var _a, _b, _c, _d;
|
7295
|
-
|
7296
|
-
|
7297
|
-
|
7298
|
-
|
7299
|
-
|
7300
|
-
|
7301
|
-
|
7302
|
-
|
7303
|
-
|
7304
|
-
|
7305
|
-
|
7306
|
-
|
7307
|
-
if (rowKeys[index] !== "rowOptions") {
|
7308
|
-
return (hAsync("td", { class: {
|
7309
|
-
["table-cell"]: true,
|
7310
|
-
[`table-density-${this.density}`]: this.notDefaultDensity(),
|
7311
|
-
["with-overflow"]: (column === null || column === void 0 ? void 0 : column.dataType) === "element",
|
7312
|
-
[`cell-vertical-align-${((_a = column === null || column === void 0 ? void 0 : column.columnAlignment) === null || _a === void 0 ? void 0 : _a.vertical) ||
|
7313
|
-
((_b = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _b === void 0 ? void 0 : _b.vertical) ||
|
7314
|
-
rowAlignment ||
|
7315
|
-
this.getCellAlignment(cell, "vertical")}`]: !!((_c = column === null || column === void 0 ? void 0 : column.columnAlignment) === null || _c === void 0 ? void 0 : _c.vertical) ||
|
7316
|
-
!!((_d = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _d === void 0 ? void 0 : _d.vertical) ||
|
7317
|
-
!!rowAlignment ||
|
7318
|
-
!!this.getCellAlignment(cell, "vertical"),
|
7319
|
-
}, 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)));
|
7320
|
-
}
|
7436
|
+
const { columnAlignment, columnWidth, dataType, hidden, key } = column;
|
7437
|
+
if (hidden)
|
7438
|
+
return;
|
7439
|
+
const cell = this.getObjectValue(row, key);
|
7440
|
+
const cellSlotName = `${key}-${rowIndex}`;
|
7441
|
+
const cellValue = (key) => this.getObjectValue(cell, key);
|
7442
|
+
if (key === "header" && (rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.header)) {
|
7443
|
+
return (hAsync("th", { scope: "row", class: {
|
7444
|
+
"row-header": true,
|
7445
|
+
"row-header-sticky": this.stickyRowHeaders,
|
7446
|
+
[`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),
|
7447
|
+
} }, rowOptions.header));
|
7321
7448
|
}
|
7449
|
+
const CellContent = this.createCellContent(column, cell, cellSlotName, this.isObject(cell) && Object.keys(cell).includes("icon"), cellValue, rowOptions, currentRowHeight || undefined);
|
7450
|
+
return (hAsync("td", { class: {
|
7451
|
+
"table-cell": true,
|
7452
|
+
"with-overflow": dataType === "element",
|
7453
|
+
[`table-density-${this.density}`]: this.notDefaultDensity(),
|
7454
|
+
[`cell-vertical-align-${(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.vertical) ||
|
7455
|
+
((_c = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _c === void 0 ? void 0 : _c.vertical) ||
|
7456
|
+
this.getCellAlignment(cell, "vertical")}`]: !!(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.vertical) ||
|
7457
|
+
!!((_d = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _d === void 0 ? void 0 : _d.vertical) ||
|
7458
|
+
!!this.getCellAlignment(cell, "vertical"),
|
7459
|
+
}, 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)));
|
7322
7460
|
});
|
7323
7461
|
};
|
7324
7462
|
this.createColumnHeaders = () => (this.columns || []).map(({ cellAlignment, colspan, icon, key, title, columnWidth, excludeColumnFromSort, hidden, }, index) => hidden !== true && (hAsync("th", { scope: "col", class: {
|
@@ -7336,9 +7474,7 @@ class DataTable {
|
|
7336
7474
|
} }, title))) : (hAsync("ic-typography", { variant: "body", class: {
|
7337
7475
|
["column-header-text"]: true,
|
7338
7476
|
[`text-${this.density}`]: this.notDefaultDensity(),
|
7339
|
-
} }, title)), this.sortable && !excludeColumnFromSort && (hAsync("ic-button", { variant: "icon-tertiary", id: `sort-button-${key}`, "aria-label": this.getSortButtonLabel(key),
|
7340
|
-
// eslint-disable-next-line react/jsx-no-bind
|
7341
|
-
onClick: () => this.sortRows(key), innerHTML: this.SORT_ICONS[this.sortedColumn === key
|
7477
|
+
} }, 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
|
7342
7478
|
? this.sortedColumnOrder
|
7343
7479
|
: "unsorted"], class: {
|
7344
7480
|
["sort-button"]: true,
|
@@ -8009,22 +8145,22 @@ class DataTable {
|
|
8009
8145
|
? "deselect all"
|
8010
8146
|
: "select all remaining"
|
8011
8147
|
: "select all";
|
8012
|
-
return (hAsync(Host, { key: '
|
8148
|
+
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: {
|
8013
8149
|
["table-row-container"]: true,
|
8014
8150
|
scrollable,
|
8015
|
-
}, tabIndex: scrollable ? 0 : undefined, onScroll: updateScrollOffset }, hAsync("table", { key: '
|
8151
|
+
}, tabIndex: scrollable ? 0 : undefined, onScroll: updateScrollOffset }, hAsync("table", { key: 'ed247db011e9783c6d56a03afe480fe5f4f2b6d0', style: {
|
8016
8152
|
"--table-layout": tableLayout,
|
8017
|
-
} }, hAsync("caption", { key: '
|
8153
|
+
} }, hAsync("caption", { key: '52bd7f8ae17ba373dceba49f7ee628780c825c71', class: "table-caption" }, caption), !hideColumnHeaders && (hAsync("thead", { key: '04d0c0199793ac830c9cc24fca64c999a287b690', class: {
|
8018
8154
|
["column-header-sticky"]: stickyColumnHeaders,
|
8019
8155
|
["column-header-overlay"]: stickyColumnHeaders && scrollOffset !== 0,
|
8020
|
-
} }, hAsync("tr", { key: '
|
8156
|
+
} }, hAsync("tr", { key: '5ff4686d2053f702a4d8217986d94d7a45596402' }, rowSelection && data && (hAsync("th", { key: 'b03c33ef7d27c1be4b9cff06eecfd85f280fb379', class: {
|
8021
8157
|
"column-header": true,
|
8022
8158
|
"checkbox-cell": true,
|
8023
8159
|
"updating-state-headers": updating && !loading,
|
8024
8160
|
[`table-density-${density}`]: this.notDefaultDensity(),
|
8025
|
-
} }, hAsync("div", { key: '
|
8161
|
+
} }, 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 &&
|
8026
8162
|
!loading &&
|
8027
|
-
(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: '
|
8163
|
+
(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
|
8028
8164
|
? `${((_b = columns.find((col) => col.key === sortedColumn)) === null || _b === void 0 ? void 0 : _b.title) ||
|
8029
8165
|
sortedColumn} sorted ${sortedColumnOrder}`
|
8030
8166
|
: "table unsorted")))));
|
@@ -8263,7 +8399,7 @@ var Calendar = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" v
|
|
8263
8399
|
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)}";
|
8264
8400
|
var IcDateInputStyle0 = icDateInputCss;
|
8265
8401
|
|
8266
|
-
let inputIds$
|
8402
|
+
let inputIds$5 = 0;
|
8267
8403
|
/**
|
8268
8404
|
* @slot helper-text - Content is set as the helper text for the date input.
|
8269
8405
|
*/
|
@@ -8285,7 +8421,7 @@ class DateInput {
|
|
8285
8421
|
this.inputsInOrder = [];
|
8286
8422
|
this.isAfterMax = false;
|
8287
8423
|
this.isBeforeMin = false;
|
8288
|
-
this.
|
8424
|
+
this.preventInputsUpdating = false;
|
8289
8425
|
this.isDisabledDate = false;
|
8290
8426
|
this.isValidDay = true;
|
8291
8427
|
this.isValidMonth = true;
|
@@ -8298,6 +8434,7 @@ class DateInput {
|
|
8298
8434
|
this.selectedDate = null;
|
8299
8435
|
this.externalSetDate = false;
|
8300
8436
|
this.clearInput = false;
|
8437
|
+
this.calendarIsOpen = false;
|
8301
8438
|
this.calendarFocused = false;
|
8302
8439
|
this.clearButtonFocused = false;
|
8303
8440
|
this.removeLabelledBy = false;
|
@@ -8351,7 +8488,7 @@ class DateInput {
|
|
8351
8488
|
/**
|
8352
8489
|
* The ID for the input.
|
8353
8490
|
*/
|
8354
|
-
this.inputId = `ic-date-input-${inputIds$
|
8491
|
+
this.inputId = `ic-date-input-${inputIds$5++}`;
|
8355
8492
|
/**
|
8356
8493
|
* The text to display as the validation message when an invalid date is entered.
|
8357
8494
|
*/
|
@@ -8505,7 +8642,6 @@ class DateInput {
|
|
8505
8642
|
this.setPreventInput(input, true);
|
8506
8643
|
}
|
8507
8644
|
else {
|
8508
|
-
this.setInputValue(input, true);
|
8509
8645
|
this.setPreventInput(input, false);
|
8510
8646
|
}
|
8511
8647
|
}
|
@@ -8554,7 +8690,7 @@ class DateInput {
|
|
8554
8690
|
break;
|
8555
8691
|
}
|
8556
8692
|
this.preventInput(event, isInputPrevented);
|
8557
|
-
this.
|
8693
|
+
this.preventInputsUpdating = true;
|
8558
8694
|
};
|
8559
8695
|
this.handleFocus = (event) => {
|
8560
8696
|
// Highlight / select all characters in input for easy replacement
|
@@ -8666,7 +8802,7 @@ class DateInput {
|
|
8666
8802
|
this.selectedDateInfoEl.textContent = "";
|
8667
8803
|
}
|
8668
8804
|
this.previousSelectedDate = this.selectedDate;
|
8669
|
-
if (!this.
|
8805
|
+
if (!this.preventInputsUpdating) {
|
8670
8806
|
this.updateInputValues(this.day, this.month, this.year);
|
8671
8807
|
}
|
8672
8808
|
}
|
@@ -9105,7 +9241,7 @@ class DateInput {
|
|
9105
9241
|
this.setPreventInput(input, false);
|
9106
9242
|
});
|
9107
9243
|
this.clearInput = false;
|
9108
|
-
this.
|
9244
|
+
this.preventInputsUpdating = false;
|
9109
9245
|
this.setValidationMessage();
|
9110
9246
|
this.handleDateChange(true);
|
9111
9247
|
this.inputsInOrder[0].focus();
|
@@ -9116,7 +9252,8 @@ class DateInput {
|
|
9116
9252
|
(_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);
|
9117
9253
|
this.calendarButtonClicked.emit({ value: this.selectedDate });
|
9118
9254
|
(_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);
|
9119
|
-
this.
|
9255
|
+
this.preventInputsUpdating = false;
|
9256
|
+
this.calendarIsOpen = true;
|
9120
9257
|
};
|
9121
9258
|
this.setValueAndEmitChange = (value) => {
|
9122
9259
|
if (!dateMatches(this.value ? new Date(this.value) : null, value)) {
|
@@ -9126,17 +9263,28 @@ class DateInput {
|
|
9126
9263
|
};
|
9127
9264
|
this.handleCalendarFocus = () => {
|
9128
9265
|
this.calendarFocused = true;
|
9266
|
+
if (this.calendarIsOpen) {
|
9267
|
+
// focus event triggered by closing calendar dialog so inputs should update
|
9268
|
+
this.preventInputsUpdating = false;
|
9269
|
+
this.calendarIsOpen = false;
|
9270
|
+
}
|
9271
|
+
else {
|
9272
|
+
this.preventInputsUpdating = true;
|
9273
|
+
}
|
9129
9274
|
};
|
9130
9275
|
this.handleCalendarBlur = () => {
|
9131
9276
|
this.calendarFocused = false;
|
9277
|
+
this.preventInputsUpdating = true;
|
9132
9278
|
};
|
9133
9279
|
this.handleClearFocus = () => {
|
9134
9280
|
this.removeLabelledBy = true;
|
9281
|
+
this.preventInputsUpdating = true;
|
9135
9282
|
this.clearButtonFocused = true;
|
9136
9283
|
};
|
9137
9284
|
this.handleClearBlur = (ev) => {
|
9138
9285
|
var _a;
|
9139
9286
|
this.clearButtonFocused = false;
|
9287
|
+
this.preventInputsUpdating = true;
|
9140
9288
|
if ((_a = ev.relatedTarget) === null || _a === void 0 ? void 0 : _a.id.match(/(day|year)-input$/)) {
|
9141
9289
|
this.removeLabelledBy = false;
|
9142
9290
|
return;
|
@@ -9260,11 +9408,11 @@ class DateInput {
|
|
9260
9408
|
componentWillUpdate() {
|
9261
9409
|
if (isEmptyString(this.helperText))
|
9262
9410
|
this.helperText = this.defaultHelperText;
|
9263
|
-
if (!this.
|
9411
|
+
if (!this.preventInputsUpdating)
|
9264
9412
|
this.setDate(this.value);
|
9265
9413
|
this.setAriaInvalid(this.isValidDay, this.isValidMonth, this.isValidDate, this.isDisabledDate);
|
9266
9414
|
this.handleDateChange(false);
|
9267
|
-
this.
|
9415
|
+
this.preventInputsUpdating = false;
|
9268
9416
|
}
|
9269
9417
|
componentDidRender() {
|
9270
9418
|
if (this.removeLabelledBy) {
|
@@ -9394,7 +9542,7 @@ class DateInput {
|
|
9394
9542
|
this.invalidDateText = (_a = this.previousInvalidDateTest) !== null && _a !== void 0 ? _a : "";
|
9395
9543
|
this.isPasteValidationDisplayed = false;
|
9396
9544
|
// This is to prevent setDate from triggering within componentWillUpdate
|
9397
|
-
this.
|
9545
|
+
this.preventInputsUpdating = true;
|
9398
9546
|
}
|
9399
9547
|
}
|
9400
9548
|
notifyScreenReader(input, event) {
|
@@ -9419,15 +9567,15 @@ class DateInput {
|
|
9419
9567
|
: "";
|
9420
9568
|
const assistiveHint = `Type or use the up and down arrow keys to change the values for the ${this.getDescOfInputsOrder()}.`;
|
9421
9569
|
renderHiddenInput(true, this.el, this.name, this.convertToDate(this.year, this.month, this.day), this.disabled);
|
9422
|
-
return (hAsync(Host, { key: '
|
9570
|
+
return (hAsync(Host, { key: '767560eabf5c5242cf11ead943b6e07cff501305', class: {
|
9423
9571
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
9424
9572
|
[`ic-date-input-disabled`]: disabled,
|
9425
|
-
}, onBlur: this.handleHostBlur, onFocus: this.handleHostFocus }, hAsync("ic-input-container", { key: '
|
9573
|
+
}, 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: {
|
9426
9574
|
["clear-button"]: true,
|
9427
9575
|
["hidden"]: isEmptyString(this.day) &&
|
9428
9576
|
isEmptyString(this.month) &&
|
9429
9577
|
isEmptyString(this.year),
|
9430
|
-
}, 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: '
|
9578
|
+
}, 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 })))));
|
9431
9579
|
}
|
9432
9580
|
static get delegatesFocus() { return true; }
|
9433
9581
|
get el() { return getElement(this); }
|
@@ -11058,7 +11206,7 @@ class Dialog {
|
|
11058
11206
|
}
|
11059
11207
|
render() {
|
11060
11208
|
const { dialogRendered, disableHeightConstraint, fadeIn, theme } = this;
|
11061
|
-
return (hAsync(Host, { key: '
|
11209
|
+
return (hAsync(Host, { key: 'ff1c220a6687596221a97f380dd78692d1689ca7', class: {
|
11062
11210
|
"ic-dialog-hidden": !dialogRendered,
|
11063
11211
|
"ic-dialog-fade-in": fadeIn,
|
11064
11212
|
"disable-height-constraint": !!disableHeightConstraint,
|
@@ -11258,11 +11406,11 @@ class EmptyState {
|
|
11258
11406
|
}
|
11259
11407
|
render() {
|
11260
11408
|
const { aligned, body, maxLines, heading, imageSize, subheading, theme } = this;
|
11261
|
-
return (hAsync(Host, { key: '
|
11409
|
+
return (hAsync(Host, { key: '4bb35d1c3476b88cc58e952b1b8785e4425d5339', class: {
|
11262
11410
|
[`ic-empty-state-${aligned}`]: true,
|
11263
11411
|
[`image-${imageSize}`]: isSlotUsed$1(this.el, "image"),
|
11264
11412
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
11265
|
-
} }, isSlotUsed$1(this.el, "image") && hAsync("slot", { key: '
|
11413
|
+
} }, 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" })))));
|
11266
11414
|
}
|
11267
11415
|
get el() { return getElement(this); }
|
11268
11416
|
static get style() { return IcEmptyStateStyle0; }
|
@@ -11376,7 +11524,7 @@ class Footer {
|
|
11376
11524
|
isSlotUsed$1(el, "caption") ||
|
11377
11525
|
caption ||
|
11378
11526
|
copyright;
|
11379
|
-
return (hAsync(Host, { key: '
|
11527
|
+
return (hAsync(Host, { key: '5e9f3b92157b9ffa5fc6e2dbe8f8a5c6a63a6237', class: {
|
11380
11528
|
["ic-footer"]: true,
|
11381
11529
|
[`ic-footer-${small ? "small" : "sparse"}`]: true,
|
11382
11530
|
[`ic-footer-${groupLinks ? "grouped" : "ungrouped"}`]: true,
|
@@ -11384,10 +11532,10 @@ class Footer {
|
|
11384
11532
|
// Slots will be able to infer their own color
|
11385
11533
|
[`ic-footer-${IcBrandForegroundEnum$1.Dark}`]: foregroundColor === IcBrandForegroundEnum$1.Dark,
|
11386
11534
|
[`ic-footer-${IcBrandForegroundEnum$1.Light}`]: foregroundColor === IcBrandForegroundEnum$1.Light,
|
11387
|
-
} }, hAsync("footer", { key: '
|
11535
|
+
} }, 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: {
|
11388
11536
|
["footer-copyright"]: true,
|
11389
11537
|
["classification-spacing"]: hasClassificationBanner(),
|
11390
|
-
} }, hAsync("ic-typography", { key: '
|
11538
|
+
} }, hAsync("ic-typography", { key: '144bbc0144a865f8a55a1df5606cea9dfa87b5e8', variant: deviceSize <= IC_DEVICE_SIZES$1.M
|
11391
11539
|
? "caption-uppercase"
|
11392
11540
|
: "label-uppercase" }, "\u00A9 Crown Copyright"))))))))));
|
11393
11541
|
}
|
@@ -11455,12 +11603,12 @@ class FooterLink {
|
|
11455
11603
|
const { footerConfig, href, hreflang, referrerpolicy, rel, target, download, } = this;
|
11456
11604
|
const { small, grouped } = footerConfig;
|
11457
11605
|
const isLogoLink = !!this.el.closest("div[slot='logo']");
|
11458
|
-
return (hAsync(Host, { key: '
|
11606
|
+
return (hAsync(Host, { key: 'b8797484e397b1a952f2df6f644c985deec5be65', class: {
|
11459
11607
|
"footer-link": true,
|
11460
11608
|
[`footer-link-${grouped ? "grouped" : "ungrouped"}-${small ? "small" : "sparse"}`]: true,
|
11461
11609
|
[`footer-link-${this.foregroundColor}`]: true,
|
11462
11610
|
"footer-logo-link": isLogoLink,
|
11463
|
-
}, role: "listitem" }, hAsync("ic-link", { key: '
|
11611
|
+
}, 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' }))));
|
11464
11612
|
}
|
11465
11613
|
static get delegatesFocus() { return true; }
|
11466
11614
|
get el() { return getElement(this); }
|
@@ -11635,18 +11783,18 @@ class Hero {
|
|
11635
11783
|
"background-position": scrollFactor,
|
11636
11784
|
};
|
11637
11785
|
}
|
11638
|
-
return (hAsync(Host, { key: '
|
11786
|
+
return (hAsync(Host, { key: '482bc3a82ab3561d6f88c999ca302006a1d1aa0f', class: {
|
11639
11787
|
[`ic-hero-${IcBrandForegroundEnum$1.Dark}`]: foregroundColor === IcBrandForegroundEnum$1.Dark,
|
11640
11788
|
["has-background-image"]: backgroundImage !== undefined,
|
11641
11789
|
["has-right-content"]: this.rightContent,
|
11642
11790
|
["ic-hero-small"]: size === "small",
|
11643
11791
|
["secondary-heading"]: !!secondaryHeading,
|
11644
|
-
}, style: style }, hAsync("ic-section-container", { key: '
|
11792
|
+
}, style: style }, hAsync("ic-section-container", { key: '178b06d47614a00c4dabe06841acfebe369f7c0a', aligned: aligned, fullHeight: true, class: "section-container" }, hAsync("div", { key: '3cec4f74434ae64cc7c7df77755c32a54719e08a', class: {
|
11645
11793
|
["left-container"]: true,
|
11646
11794
|
["left-container-full-width"]: this.leftContentFullWidth,
|
11647
|
-
} }, hAsync("div", { key: '
|
11795
|
+
} }, hAsync("div", { key: '8053a5fad4279b04af9bb3ec1f606ec443c70b80', class: "heading" }, hAsync("slot", { key: 'ea0ec581076b555f8cbc03bd26be611e0e002df3', name: "heading" }, hAsync("ic-typography", { key: '93e39803e6d71599ee3831161dee785b0fa6dda7', variant: size === "small" ? "h2" : "h1", class: {
|
11648
11796
|
["heading-bottom-spacing"]: size !== "small",
|
11649
|
-
} }, hAsync("h2", { key: '
|
11797
|
+
} }, 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))))))))));
|
11650
11798
|
}
|
11651
11799
|
get el() { return getElement(this); }
|
11652
11800
|
static get style() { return IcHeroStyle0; }
|
@@ -11837,22 +11985,22 @@ class HorizontalScroll {
|
|
11837
11985
|
}
|
11838
11986
|
render() {
|
11839
11987
|
const { firstItemVisible, lastItemVisible, itemOverflow } = this;
|
11840
|
-
return (hAsync(Host, { key: '
|
11988
|
+
return (hAsync(Host, { key: '5c313665e71e0abc91a19f204ccf08d7b017f46b', class: {
|
11841
11989
|
["ic-horizontal-scroll-visible"]: itemOverflow,
|
11842
11990
|
["ic-horizontal-scroll-dark"]: this.appearance === IcBrandForegroundEnum$1.Dark,
|
11843
11991
|
["ic-horizontal-scroll-light"]: this.appearance === IcBrandForegroundEnum$1.Light,
|
11844
11992
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
11845
|
-
} }, hAsync("div", { key: '
|
11993
|
+
} }, hAsync("div", { key: '7a65d56af26a6bfe660c3e923beaf7b512f77de8', "aria-hidden": "true", class: {
|
11846
11994
|
["scroll-container-left"]: true,
|
11847
11995
|
["hidden"]: !itemOverflow,
|
11848
11996
|
["disabled"]: firstItemVisible,
|
11849
|
-
}, role: "tab" }, hAsync("ic-button", { key: '
|
11997
|
+
}, role: "tab" }, hAsync("ic-button", { key: '0203d6acdde7444d03038b3ec86f3e318615030d', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll left", theme: this.theme === "light" || this.theme === "inherit"
|
11850
11998
|
? "dark"
|
11851
|
-
: "light", monochrome: this.monochrome, innerHTML: LeftArrow, disabled: firstItemVisible, tabindex: "-1", onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler }), hAsync("span", { key: '
|
11999
|
+
: "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: {
|
11852
12000
|
["scroll-container-right"]: true,
|
11853
12001
|
["hidden"]: !itemOverflow,
|
11854
12002
|
["disabled"]: lastItemVisible,
|
11855
|
-
}, role: "tab" }, hAsync("span", { key: '
|
12003
|
+
}, 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"
|
11856
12004
|
? "dark"
|
11857
12005
|
: "light", monochrome: this.monochrome, innerHTML: RightArrow, disabled: lastItemVisible, tabindex: "-1", onClick: this.scrollRight, onMouseDown: this.rightArrowMouseDownHandler }))));
|
11858
12006
|
}
|
@@ -11927,15 +12075,15 @@ class InputComponentContainer {
|
|
11927
12075
|
}
|
11928
12076
|
render() {
|
11929
12077
|
const { size, validationStatus, disabled, readonly, multiLine, fullWidth, validationInline, } = this;
|
11930
|
-
return (hAsync(Host, { key: '
|
12078
|
+
return (hAsync(Host, { key: 'c33ebfd9dd18101fb9161259538e8e0046f77a3d', class: {
|
11931
12079
|
[`ic-input-component-container-${size}`]: true,
|
11932
12080
|
[`ic-input-component-container-${validationStatus}`]: validationStatus !== "" && !disabled && !readonly,
|
11933
12081
|
"ic-input-component-container-disabled": !!disabled,
|
11934
12082
|
"ic-input-component-container-readonly": !!readonly,
|
11935
12083
|
"ic-input-component-container-multiline": !!multiLine,
|
11936
12084
|
"ic-input-component-container-full-width": !!fullWidth,
|
11937
|
-
}, "aria-disabled": disabled ? "true" : null }, hAsync("div", { key: '
|
11938
|
-
validationStatus === IcInformationStatus$1.Success && (hAsync("span", { key: '
|
12085
|
+
}, "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 &&
|
12086
|
+
validationStatus === IcInformationStatus$1.Success && (hAsync("span", { key: '58d228c595577c1cc9a0fe2b10538cc3efff53ab', class: "inline-success", innerHTML: successIcon })))));
|
11939
12087
|
}
|
11940
12088
|
get el() { return getElement(this); }
|
11941
12089
|
static get watchers() { return {
|
@@ -11976,11 +12124,11 @@ class InputContainer {
|
|
11976
12124
|
this.readonly = false;
|
11977
12125
|
}
|
11978
12126
|
render() {
|
11979
|
-
return (hAsync(Host, { key: '
|
12127
|
+
return (hAsync(Host, { key: '32ae22db5e182cc2c092c8f48e61d42a318284a0' }, hAsync("div", { key: 'bae9ef74f7f92004ec99c387a213822315c505ba', class: {
|
11980
12128
|
["component-container"]: true,
|
11981
12129
|
["disabled"]: !!this.disabled,
|
11982
12130
|
["readonly"]: !!this.readonly,
|
11983
|
-
} }, hAsync("slot", { key: '
|
12131
|
+
} }, hAsync("slot", { key: 'acca571eaa0d8f19b0e3379d2592409aacf9dd95' }))));
|
11984
12132
|
}
|
11985
12133
|
static get style() { return IcInputContainerStyle0; }
|
11986
12134
|
static get cmpMeta() { return {
|
@@ -12063,11 +12211,11 @@ class InputLabel {
|
|
12063
12211
|
"helpertext-readonly": readonly,
|
12064
12212
|
};
|
12065
12213
|
const helperTextSlot = this.el.querySelector("slot[name='helper-text']");
|
12066
|
-
return (hAsync(Host, { key: '
|
12214
|
+
return (hAsync(Host, { key: 'da58fe3cac026661d1c624c69c56c6e64ff3c07a', class: {
|
12067
12215
|
"ic-input-label-disabled": !!disabled,
|
12068
12216
|
"ic-input-label-readonly": readonly,
|
12069
12217
|
"with-helper": this.isHelperTextSlotUsed(helperTextSlot) || helperText !== "",
|
12070
|
-
} }, !hideLabel && (hAsync("ic-typography", { key: '
|
12218
|
+
} }, !hideLabel && (hAsync("ic-typography", { key: 'bb221e5f51681a0caa721c66f03fd475e4e08749', variant: "label", class: {
|
12071
12219
|
"readonly-label": readonly,
|
12072
12220
|
"error-label": status === "error" && !(readonly || disabled),
|
12073
12221
|
} }, 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))))));
|
@@ -12127,13 +12275,13 @@ class InputValidation {
|
|
12127
12275
|
render() {
|
12128
12276
|
const { ariaLiveMode, fullWidth, status, message } = this;
|
12129
12277
|
const displayIcon = status !== "" ? icon[status] : "";
|
12130
|
-
return (hAsync(Host, { key: '
|
12278
|
+
return (hAsync(Host, { key: '149fe6ed6f86bb49ff8179e617542c048da4b80f', class: {
|
12131
12279
|
[`ic-input-validation-${status}`]: status !== "",
|
12132
12280
|
"ic-input-validation-full-width": !!fullWidth,
|
12133
|
-
} }, displayIcon !== "" && (hAsync("span", { key: '
|
12281
|
+
} }, displayIcon !== "" && (hAsync("span", { key: 'e9e0ad999d435642e02a9f9c4abb95840fe13b3f', class: {
|
12134
12282
|
"status-icon": true,
|
12135
12283
|
[`icon-${status}`]: true,
|
12136
|
-
}, innerHTML: displayIcon })), hAsync("ic-typography", { key: '
|
12284
|
+
}, 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" })));
|
12137
12285
|
}
|
12138
12286
|
get el() { return getElement(this); }
|
12139
12287
|
static get style() { return IcInputValidationStyle0; }
|
@@ -12153,8 +12301,6 @@ class InputValidation {
|
|
12153
12301
|
}; }
|
12154
12302
|
}
|
12155
12303
|
|
12156
|
-
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>`;
|
12157
|
-
|
12158
12304
|
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}}";
|
12159
12305
|
var IcLinkStyle0 = icLinkCss;
|
12160
12306
|
|
@@ -12242,7 +12388,7 @@ class Link {
|
|
12242
12388
|
}
|
12243
12389
|
render() {
|
12244
12390
|
const { download, href, hreflang, referrerpolicy, rel, target, monochrome, theme, } = this;
|
12245
|
-
return (hAsync(Host, { key: '
|
12391
|
+
return (hAsync(Host, { key: 'bc07dfd2d7467391a9c121f1263df5d053f7a59c', class: {
|
12246
12392
|
["ic-link"]: true,
|
12247
12393
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
12248
12394
|
["ic-link-monochrome"]: !!monochrome,
|
@@ -12457,23 +12603,23 @@ class LoadingIndicator {
|
|
12457
12603
|
}
|
12458
12604
|
render() {
|
12459
12605
|
const { circularDiameter, circularDimensions: { x, y, r, dashArray, dashOffset }, description, fullWidth, indicatorLabel, innerLabel, label, max, min, monochrome, progress, size, theme, type, } = this;
|
12460
|
-
return (hAsync(Host, { key: '
|
12606
|
+
return (hAsync(Host, { key: 'a56bc4f2265b8697fb78fe0cb021df4f7c84b34d', class: {
|
12461
12607
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
12462
12608
|
"ic-loading-indicator-full-width": fullWidth,
|
12463
12609
|
"ic-loading-indicator-label": !!label,
|
12464
12610
|
"ic-loading-indicator-monochrome": monochrome,
|
12465
|
-
} }, hAsync("div", { key: '
|
12611
|
+
} }, hAsync("div", { key: '8da5f575ce68a85df03c23e256125ed968d55496', class: "ic-loading-container", part: "ic-loading-container" }, hAsync("div", { key: '1a32acb1ce270a95b88a77d13591151d8a280fe8', ref: (el) => (this.outerElement = el), class: {
|
12466
12612
|
[`ic-loading-${type}-outer`]: true,
|
12467
12613
|
[progress === undefined ? "indeterminate" : "determinate"]: true,
|
12468
|
-
}, 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: '
|
12614
|
+
}, 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: {
|
12469
12615
|
[`ic-loading-${type}-inner`]: true,
|
12470
12616
|
"inner-label": !!innerLabel,
|
12471
|
-
} }, innerLabel && size === "small" && (hAsync("ic-typography", { key: '
|
12617
|
+
} }, 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: {
|
12472
12618
|
"--circular-steps-max": progress ? `${max}` : undefined,
|
12473
12619
|
"--progress-value": progress !== undefined ? `${progress}` : undefined,
|
12474
12620
|
"--stroke-dasharray": dashArray,
|
12475
12621
|
"--stroke-dashoffset": dashOffset,
|
12476
|
-
}, cx: x, cy: y, r: r }))))), label && size !== "icon" && (hAsync("ic-typography", { key: '
|
12622
|
+
}, 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))))));
|
12477
12623
|
}
|
12478
12624
|
get el() { return getElement(this); }
|
12479
12625
|
static get watchers() { return {
|
@@ -15231,7 +15377,7 @@ class Menu {
|
|
15231
15377
|
const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, parentEl, SEARCH_BAR_TAG, multiSelect, } = this;
|
15232
15378
|
const selectAllButtonText = `${(value === null || value === void 0 ? void 0 : value.length) === this.ungroupedOptions.length ? "Clear" : "Select"} all`;
|
15233
15379
|
const hasNoResults = this.host.classList.contains("no-results");
|
15234
|
-
return (hAsync(Host, { key: '
|
15380
|
+
return (hAsync(Host, { key: '637bd569f0d987aae612c73390344c46127170ad', class: {
|
15235
15381
|
"ic-menu-full-width": !!fullWidth,
|
15236
15382
|
"ic-menu-no-focus": ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" &&
|
15237
15383
|
(parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) !== SEARCH_BAR_TAG) ||
|
@@ -15240,7 +15386,7 @@ class Menu {
|
|
15240
15386
|
[`ic-menu-${size}`]: true,
|
15241
15387
|
"ic-menu-open": open && options.length !== 0,
|
15242
15388
|
"ic-menu-multiple": multiSelect,
|
15243
|
-
} }, options.length !== 0 && (hAsync("ul", { key: '
|
15389
|
+
} }, 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 &&
|
15244
15390
|
!keyboardNav &&
|
15245
15391
|
((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ||
|
15246
15392
|
(parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) === SEARCH_BAR_TAG)
|
@@ -15268,7 +15414,7 @@ class Menu {
|
|
15268
15414
|
multiSelect &&
|
15269
15415
|
!isLoading &&
|
15270
15416
|
!hasTimedOut &&
|
15271
|
-
!hasNoResults && (hAsync("div", { key: '
|
15417
|
+
!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)))));
|
15272
15418
|
}
|
15273
15419
|
get host() { return getElement(this); }
|
15274
15420
|
static get watchers() { return {
|
@@ -15328,7 +15474,7 @@ class MenuGroup {
|
|
15328
15474
|
}
|
15329
15475
|
render() {
|
15330
15476
|
const parentMenu = this.el.closest("ic-popover-menu");
|
15331
|
-
return (hAsync(Host, { key: '
|
15477
|
+
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' }))));
|
15332
15478
|
}
|
15333
15479
|
get el() { return getElement(this); }
|
15334
15480
|
static get style() { return IcMenuGroupStyle0; }
|
@@ -15578,11 +15724,11 @@ class NavigationButton {
|
|
15578
15724
|
target,
|
15579
15725
|
theme,
|
15580
15726
|
};
|
15581
|
-
return (hAsync(Host, { key: '
|
15727
|
+
return (hAsync(Host, { key: '6d5b61877075117e4e5a88b0d1edf1cf986f4bcd', class: {
|
15582
15728
|
"in-side-menu": isMenuMode,
|
15583
15729
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
15584
15730
|
dark: parentThemeDark,
|
15585
|
-
} }, hAsync("ic-button", Object.assign({ key: '
|
15731
|
+
} }, 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" }))));
|
15586
15732
|
}
|
15587
15733
|
static get delegatesFocus() { return true; }
|
15588
15734
|
get el() { return getElement(this); }
|
@@ -15875,7 +16021,7 @@ class NavigationGroup {
|
|
15875
16021
|
const isTopNav = this.navigationType === "top";
|
15876
16022
|
const isTopNavDesktop = !inTopNavSideMenu && isTopNav;
|
15877
16023
|
const ariaExpanded = (isSideNav && expanded) || (isTopNav && dropdownOpen);
|
15878
|
-
return (hAsync(Host, { key: '
|
16024
|
+
return (hAsync(Host, { key: 'c9fd5c0334c5a73ed68f4e6ad29fecaead553879', class: {
|
15879
16025
|
"in-side-menu": inTopNavSideMenu,
|
15880
16026
|
"ic-navigation-group-expandable": expandable,
|
15881
16027
|
"ic-navigation-group-side-nav": isSideNav,
|
@@ -16108,7 +16254,7 @@ class NavigationItem {
|
|
16108
16254
|
render() {
|
16109
16255
|
const { inTopNavSideMenu, isTopNavChild, selected, navigationType, focusStyle, isInitialRender, sideNavExpanded, displayNavigationTooltip, collapsedIconLabel, isSideNavMobile, expandable, isInSideNav, theme, } = this;
|
16110
16256
|
const isTopNavChildDesktop = isTopNavChild && !inTopNavSideMenu;
|
16111
|
-
return (hAsync(Host, { key: '
|
16257
|
+
return (hAsync(Host, { key: '6d3d330011cb09ae9fd95b59f98a9d18ffc25ba0', class: {
|
16112
16258
|
"navigation-item": true,
|
16113
16259
|
"navigation-item-selected": !isTopNavChild && selected,
|
16114
16260
|
"navigation-item-top-nav": !inTopNavSideMenu && navigationType === "top",
|
@@ -16127,7 +16273,7 @@ class NavigationItem {
|
|
16127
16273
|
expandable,
|
16128
16274
|
[focusStyle]: isTopNavChild ? isInSideNav : !inTopNavSideMenu,
|
16129
16275
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
16130
|
-
}, onBlur: isTopNavChildDesktop ? this.handleBlur : null, onClick: this.handleClick, "aria-current": selected ? "page" : null, role: "listitem" }, hAsync("ic-tooltip", { key: '
|
16276
|
+
}, 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: {
|
16131
16277
|
"tooltip-navigation-item": true,
|
16132
16278
|
"tooltip-navigation-item-side-nav-collapsed": displayNavigationTooltip && isInSideNav,
|
16133
16279
|
"tooltip-long-label-navigation-item-side-nav-expanded": this.el.hasAttribute("[display-navigation-tooltip = 'true']"),
|
@@ -16300,16 +16446,16 @@ class NavigationMenu {
|
|
16300
16446
|
}
|
16301
16447
|
}
|
16302
16448
|
render() {
|
16303
|
-
return (hAsync(Host, { key: '
|
16449
|
+
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: {
|
16304
16450
|
["menu-close-button-container"]: true,
|
16305
16451
|
["nav-group-first"]: this.navGroupFirst,
|
16306
|
-
} }, hAsync("ic-button", { key: '
|
16452
|
+
} }, 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: {
|
16307
16453
|
["menu-buttons-container"]: true,
|
16308
16454
|
["menu-buttons-container-nav-item-above"]: this.navItemAboveButtons,
|
16309
|
-
} }, hAsync("slot", { key: '
|
16455
|
+
} }, hAsync("slot", { key: '38a17cb7addc92a6b7efe4497e97e28161b968eb', name: "buttons" }))), (this.status !== "" || this.version !== "") && (hAsync("div", { key: '2aa88c95fa491ca88b6c1479f8efedaf154cd705', class: {
|
16310
16456
|
["menu-status-version-container"]: true,
|
16311
16457
|
["status-version-no-buttons"]: !this.hasButtons,
|
16312
|
-
} }, this.status !== "" && (hAsync("div", { key: '
|
16458
|
+
} }, 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))))))));
|
16313
16459
|
}
|
16314
16460
|
get el() { return getElement(this); }
|
16315
16461
|
static get style() { return IcNavigationMenuStyle0; }
|
@@ -16442,19 +16588,19 @@ class PageHeader {
|
|
16442
16588
|
const navAriaLabel = `${isSlotUsed$1(this.el, "heading")
|
16443
16589
|
? (_b = (_a = this.el.querySelector('[slot="heading"]')) === null || _a === void 0 ? void 0 : _a.textContent) !== null && _b !== void 0 ? _b : ""
|
16444
16590
|
: heading !== null && heading !== void 0 ? heading : ""} page sections`;
|
16445
|
-
return (hAsync(Host, { key: '
|
16591
|
+
return (hAsync(Host, { key: 'c8e370ff1598aa28712785d4b507bf5f025cebdb', class: {
|
16446
16592
|
["ic-page-header-sticky"]: !!sticky,
|
16447
16593
|
["ic-page-header-sticky-desktop"]: !sticky && !!stickyDesktopOnly,
|
16448
16594
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
16449
|
-
}, "aria-label": this.el.ariaLabel || "page header" }, hAsync("header", { key: '
|
16595
|
+
}, "aria-label": this.el.ariaLabel || "page header" }, hAsync("header", { key: 'f053e88d5e15efceffca136fd7ea40149128cd24', class: {
|
16450
16596
|
["border-bottom"]: !!border,
|
16451
16597
|
["tabs"]: isSlotUsed$1(this.el, "tabs"),
|
16452
|
-
}, role: "presentation" }, hAsync("ic-section-container", { key: '
|
16598
|
+
}, 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: {
|
16453
16599
|
["subheading-content"]: !!subheading || isSlotUsed$1(this.el, "subheading"),
|
16454
16600
|
["small"]: size === "small",
|
16455
|
-
} }, hAsync("slot", { key: '
|
16456
|
-
isSlotUsed$1(this.el, "tabs")) && (hAsync("div", { key: '
|
16457
|
-
!isSlotUsed$1(this.el, "tabs") && hAsync("slot", { key: '
|
16601
|
+
} }, 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") ||
|
16602
|
+
isSlotUsed$1(this.el, "tabs")) && (hAsync("div", { key: '186a79cb9e798376abe710d5ae90e9d0d2b1dfc7', class: "navigation-area" }, isSlotUsed$1(this.el, "stepper") &&
|
16603
|
+
!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" })))))))))));
|
16458
16604
|
}
|
16459
16605
|
get el() { return getElement(this); }
|
16460
16606
|
static get style() { return IcPageHeaderStyle0; }
|
@@ -16732,14 +16878,14 @@ class Pagination {
|
|
16732
16878
|
}
|
16733
16879
|
render() {
|
16734
16880
|
const { type, currentPage, hideCurrentPage, disabled, hideFirstAndLastPageButton, label, theme, monochrome, } = this;
|
16735
|
-
return (hAsync(Host, { key: '
|
16881
|
+
return (hAsync(Host, { key: '41c3da149fa9478f842f05931c9dbfaeed3b28c9', class: {
|
16736
16882
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
16737
16883
|
["ic-pagination-monochrome"]: !!monochrome,
|
16738
|
-
} }, type === "simple" && (hAsync("nav", { key: '
|
16884
|
+
} }, type === "simple" && (hAsync("nav", { key: '28dd37c1bfc70c1a46d5be79402a2f358f1dae8e', class: {
|
16739
16885
|
["disabled"]: !!disabled,
|
16740
|
-
}, role: "navigation", "aria-label": "Pagination Navigation" }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), hAsync("ic-pagination-item", { key: '
|
16886
|
+
}, 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: {
|
16741
16887
|
["disabled"]: !!disabled,
|
16742
|
-
}, 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: '
|
16888
|
+
}, 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))));
|
16743
16889
|
}
|
16744
16890
|
get el() { return getElement(this); }
|
16745
16891
|
static get watchers() { return {
|
@@ -17217,7 +17363,7 @@ class PaginationItem {
|
|
17217
17363
|
}
|
17218
17364
|
render() {
|
17219
17365
|
const { page, selected, type, disabled, label, capitalizedLabel, monochrome, } = this;
|
17220
|
-
return (hAsync("a", { key: '
|
17366
|
+
return (hAsync("a", { key: '21415f5d398cf1bf2b727e3b32c8cd94f33b0966', class: { ["monochrome"]: !!monochrome } }, type === "ellipsis" ? (hAsync("div", { class: {
|
17221
17367
|
["item-container"]: true,
|
17222
17368
|
["ellipsis"]: true,
|
17223
17369
|
["disabled"]: !!disabled,
|
@@ -17532,17 +17678,17 @@ class PopoverMenu {
|
|
17532
17678
|
this.popperProps = props;
|
17533
17679
|
}
|
17534
17680
|
render() {
|
17535
|
-
return (hAsync(Host, { key: '
|
17681
|
+
return (hAsync(Host, { key: 'bf477545827775810fff96aeaec431968ddc868b', class: {
|
17536
17682
|
["ic-popover-menu-open"]: !!this.open,
|
17537
17683
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
17538
|
-
} }, hAsync("div", { key: '
|
17684
|
+
} }, hAsync("div", { key: '8d806c10e5e2838f2c80bff8f6b3f2c0d5b5953a', id: this.parentPopover === undefined
|
17539
17685
|
? `ic-popover-submenu-${this.submenuId}`
|
17540
17686
|
: "", class: {
|
17541
17687
|
menu: true,
|
17542
|
-
} }, hAsync("span", { key: '
|
17688
|
+
} }, hAsync("span", { key: 'db4ddaa0ec0d2e425e0b49214f40098242de2710', class: {
|
17543
17689
|
"opening-from-parent": this.openingFromParent,
|
17544
17690
|
"opening-from-child": this.openingFromChild,
|
17545
|
-
} }, isPropDefined$1(this.submenuId) && (hAsync("span", { key: '
|
17691
|
+
} }, 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' }))))));
|
17546
17692
|
}
|
17547
17693
|
static get delegatesFocus() { return true; }
|
17548
17694
|
get el() { return getElement(this); }
|
@@ -17805,16 +17951,16 @@ class RadioGroup {
|
|
17805
17951
|
}
|
17806
17952
|
render() {
|
17807
17953
|
const { currentOrientation, disabled, handleKeyDown, helperText, hideLabel, label, required, size, validationStatus, validationText, theme, } = this;
|
17808
|
-
return (hAsync(Host, { key: '
|
17954
|
+
return (hAsync(Host, { key: '94f34265abb206036b1d9ded9dd959647a710999', onKeyDown: handleKeyDown, class: {
|
17809
17955
|
"ic-radio-group-small": size === "small",
|
17810
17956
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
17811
|
-
} }, hAsync("div", { key: '
|
17957
|
+
} }, hAsync("div", { key: 'ecb2a958a94beb49129c1548fafa4c3220036218', role: "radiogroup", "aria-label": `${label}${required ? ", required" : ""}` }, !hideLabel && (hAsync("ic-input-label", { key: 'f11f98513d71d6ea942519fc38a91e96824da3e7', class: {
|
17812
17958
|
[`${validationStatus}`]: true,
|
17813
17959
|
["disabled"]: !!disabled,
|
17814
|
-
}, label: label, helperText: helperText, required: required, disabled: disabled }, hAsync("slot", { key: '
|
17960
|
+
}, label: label, helperText: helperText, required: required, disabled: disabled }, hAsync("slot", { key: '88578f95a79fe95d58294a93e8470dd663b42903', name: "helper-text", slot: "helper-text" }))), hAsync("div", { key: '9a5ea35f9f684085a25b40def44a29a992306ac1', class: {
|
17815
17961
|
"radio-buttons-container": true,
|
17816
17962
|
horizontal: currentOrientation === this.RADIO_HORIZONTAL,
|
17817
|
-
}, ref: (el) => (this.radioContainer = el) }, hAsync("slot", { key: '
|
17963
|
+
}, ref: (el) => (this.radioContainer = el) }, hAsync("slot", { key: 'dafa17bf5bc76e8697f802a3376bb2bfe1cc249e' }))), hasValidationStatus(validationStatus, disabled) && (hAsync("ic-input-validation", { key: '6b8a5b2aa258870a00b462d48a978b5cd3a4e33b', ariaLiveMode: "polite", status: validationStatus, message: validationText }))));
|
17818
17964
|
}
|
17819
17965
|
get el() { return getElement(this); }
|
17820
17966
|
static get watchers() { return {
|
@@ -17994,15 +18140,15 @@ class RadioOption {
|
|
17994
18140
|
render() {
|
17995
18141
|
const { additionalFieldDisplay, disabled, dynamicText, form, groupLabel, handleClick, handleKeyDown, hasAdditionalField, label, name, selected, value, theme, } = this;
|
17996
18142
|
const id = `ic-radio-option-${isPropDefined$1(label) || value}-${groupLabel}`;
|
17997
|
-
return (hAsync(Host, { key: '
|
18143
|
+
return (hAsync(Host, { key: 'ee36e924b1c248c87724903313bc778976c36522', onClick: handleClick, onKeyDown: handleKeyDown, class: {
|
17998
18144
|
["ic-radio-option-disabled"]: !!disabled,
|
17999
18145
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
18000
|
-
} }, hAsync("div", { key: '
|
18146
|
+
} }, 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: {
|
18001
18147
|
"dynamic-container": true,
|
18002
18148
|
hidden: additionalFieldDisplay === "dynamic" && !selected,
|
18003
|
-
} }, additionalFieldDisplay === "dynamic" && (hAsync("div", { key: '
|
18149
|
+
} }, 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: {
|
18004
18150
|
"additional-field-wrapper": additionalFieldDisplay === "static",
|
18005
|
-
} }, hAsync("slot", { key: '
|
18151
|
+
} }, hAsync("slot", { key: '1f4fdd0f5eeca0900aeaa04d49191e0b65d843ab', name: ADDITIONAL_FIELD })))))));
|
18006
18152
|
}
|
18007
18153
|
get el() { return getElement(this); }
|
18008
18154
|
static get watchers() { return {
|
@@ -18046,7 +18192,7 @@ var searchIcon = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xm
|
|
18046
18192
|
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}}";
|
18047
18193
|
var IcSearchBarStyle0 = icSearchBarCss;
|
18048
18194
|
|
18049
|
-
let inputIds$
|
18195
|
+
let inputIds$4 = 0;
|
18050
18196
|
/**
|
18051
18197
|
* @slot helper-text - Content is set as the helper text for the search bar.
|
18052
18198
|
*/
|
@@ -18067,7 +18213,7 @@ class SearchBar {
|
|
18067
18213
|
this.icSearchBarFocus = createEvent(this, "icSearchBarFocus", 7);
|
18068
18214
|
this.icKeydown = createEvent(this, "icKeydown", 7);
|
18069
18215
|
this.hasTimedOut = false;
|
18070
|
-
this.inputId = `ic-search-bar-input-${inputIds$
|
18216
|
+
this.inputId = `ic-search-bar-input-${inputIds$4++}`;
|
18071
18217
|
this.menuCloseFromMenuChangeEvent = false;
|
18072
18218
|
this.menuId = `${this.inputId}-menu`;
|
18073
18219
|
this.preLoad = true;
|
@@ -18585,39 +18731,39 @@ class SearchBar {
|
|
18585
18731
|
const menuRendered = menuOpen && value.length >= charactersUntilSuggestion;
|
18586
18732
|
const labelValue = getLabelFromValue(value, options, valueField, labelField);
|
18587
18733
|
renderHiddenInput$1(this.el, value, name, disabledMode);
|
18588
|
-
return (hAsync(Host, { key: '
|
18734
|
+
return (hAsync(Host, { key: '0446a1092d484ef29e0424eb22c6ae00b8fe8a72', class: {
|
18589
18735
|
"ic-search-bar-search": true,
|
18590
18736
|
"ic-search-bar-full-width": fullWidth,
|
18591
18737
|
"ic-search-bar-disabled": disabled,
|
18592
18738
|
"ic-search-bar-small": size === "small",
|
18593
18739
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
18594
|
-
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, hAsync("ic-input-container", { key: '
|
18740
|
+
}, 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: {
|
18595
18741
|
"no-left-pad": readonly,
|
18596
18742
|
readonly,
|
18597
18743
|
"truncate-value": truncateValue,
|
18598
|
-
}, 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: '
|
18744
|
+
}, 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: {
|
18599
18745
|
"clear-button-container": true,
|
18600
18746
|
"clear-button-visible": !!value && !disabledMode && showClearButton,
|
18601
|
-
} }, hAsync("ic-button", { key: '
|
18747
|
+
} }, hAsync("ic-button", { key: '3cf8c824075d6df594b65f7885f664ffce21fca8', id: "clear-button", class: {
|
18602
18748
|
"clear-button": true,
|
18603
18749
|
"clear-button-unfocused": !clearButtonFocused,
|
18604
|
-
}, "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: '
|
18750
|
+
}, "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: {
|
18605
18751
|
"search-submit-button-container": true,
|
18606
18752
|
"search-submit-button-disabled": this.isSubmitDisabled(),
|
18607
|
-
} }, hAsync("ic-button", { key: '
|
18753
|
+
} }, hAsync("ic-button", { key: '7d6a4c3a6f2a63178db90324e6f66804bd74ae07', id: "search-submit-button", "aria-label": "Search", ref: (el) => (this.searchSubmitButton = el), class: {
|
18608
18754
|
"search-submit-button": true,
|
18609
18755
|
"search-submit-button-small": size === "small",
|
18610
18756
|
"search-submit-button-unfocused": !searchSubmitFocused,
|
18611
18757
|
"search-submit-button-disabled": this.isSubmitDisabled(),
|
18612
|
-
}, 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: '
|
18758
|
+
}, 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: {
|
18613
18759
|
"menu-container": true,
|
18614
18760
|
fullwidth: fullWidth,
|
18615
|
-
} }, menuRendered && this.anchorEl && this.inputEl && (hAsync("ic-menu", { key: '
|
18761
|
+
} }, menuRendered && this.anchorEl && this.inputEl && (hAsync("ic-menu", { key: '9af74de47a4042857e8bed7691ce97397bc19f06', class: {
|
18616
18762
|
"no-results": this.hadNoOptions() ||
|
18617
18763
|
(filteredOptions.length === 1 &&
|
18618
18764
|
(filteredOptions[0][labelField] === loadingLabel ||
|
18619
18765
|
filteredOptions[0][labelField] === loadingErrorLabel)),
|
18620
|
-
}, 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: '
|
18766
|
+
}, 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" })));
|
18621
18767
|
}
|
18622
18768
|
static get delegatesFocus() { return true; }
|
18623
18769
|
get el() { return getElement(this); }
|
@@ -18701,12 +18847,12 @@ class SectionContainer {
|
|
18701
18847
|
}
|
18702
18848
|
render() {
|
18703
18849
|
const { aligned, fullHeight } = this;
|
18704
|
-
return (hAsync(Host, { key: '
|
18850
|
+
return (hAsync(Host, { key: '353b38e749d03e4838d93d9b58f3bddc0980099f', class: {
|
18705
18851
|
["aligned-left"]: aligned === "left" || aligned === null,
|
18706
18852
|
["aligned-center"]: aligned === "center",
|
18707
18853
|
["aligned-full-width"]: aligned === "full-width",
|
18708
18854
|
["no-vertical-padding"]: !!fullHeight,
|
18709
|
-
} }, hAsync("slot", { key: '
|
18855
|
+
} }, hAsync("slot", { key: 'd79345e552288f52d7ad83d2bd0e2ceaae9b1570' })));
|
18710
18856
|
}
|
18711
18857
|
static get style() { return IcSectionContainerStyle0; }
|
18712
18858
|
static get cmpMeta() { return {
|
@@ -18735,7 +18881,7 @@ var Clear = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w
|
|
18735
18881
|
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}}";
|
18736
18882
|
var IcSelectStyle0 = icSelectCss;
|
18737
18883
|
|
18738
|
-
let inputIds$
|
18884
|
+
let inputIds$3 = 0;
|
18739
18885
|
const MUTABLE_ATTRIBUTES$1 = [...IC_INHERITED_ARIA, "tabindex", "title"];
|
18740
18886
|
/**
|
18741
18887
|
* @slot helper-text - Content is set as the helper text for the select.
|
@@ -18759,7 +18905,7 @@ class Select {
|
|
18759
18905
|
this.hasTimedOut = false;
|
18760
18906
|
this.inheritedAttributes = {};
|
18761
18907
|
this.initialOptionsEmpty = false;
|
18762
|
-
this.inputId = `ic-select-input-${inputIds$
|
18908
|
+
this.inputId = `ic-select-input-${inputIds$3++}`;
|
18763
18909
|
this.menuId = `${this.inputId}-menu`;
|
18764
18910
|
this.retryButtonClick = false;
|
18765
18911
|
this.searchableMenuItemSelected = false;
|
@@ -19521,18 +19667,18 @@ class Select {
|
|
19521
19667
|
(searchable
|
19522
19668
|
? !!searchableSelectInputValue
|
19523
19669
|
: !!currValue && !loading && showClearButton);
|
19524
|
-
return (hAsync(Host, { key: '
|
19670
|
+
return (hAsync(Host, { key: '17ddc749c9c786831031d470c5abdb1200293804', class: {
|
19525
19671
|
"ic-select-disabled": disabled,
|
19526
19672
|
"ic-select-searchable": searchable,
|
19527
19673
|
[`ic-select-${size}`]: size !== "medium",
|
19528
19674
|
"ic-select-full-width": fullWidth,
|
19529
19675
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
19530
|
-
}, onBlur: this.onBlur }, hAsync("ic-input-container", { key: '
|
19676
|
+
}, 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") &&
|
19531
19677
|
!disabled &&
|
19532
|
-
(!readonly || !!value) && (hAsync("span", { key: '
|
19678
|
+
(!readonly || !!value) && (hAsync("span", { key: '743293181707560cac9fa7037c1d8a95faacbba1', slot: "left-icon", class: {
|
19533
19679
|
readonly,
|
19534
19680
|
"has-value": !!value,
|
19535
|
-
} }, hAsync("slot", { key: '
|
19681
|
+
} }, 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: {
|
19536
19682
|
"select-input": true,
|
19537
19683
|
"with-clear-button": !!searchableSelectInputValue,
|
19538
19684
|
}, 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 &&
|
@@ -19552,13 +19698,13 @@ class Select {
|
|
19552
19698
|
} }, valueLabelString || placeholder), hAsync("div", { class: "select-input-end" }, isClearable && hAsync("div", { class: "divider" }), hAsync("span", { class: {
|
19553
19699
|
"expand-icon": true,
|
19554
19700
|
"expand-icon-open": open,
|
19555
|
-
}, 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: '
|
19701
|
+
}, 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: {
|
19556
19702
|
"no-results": loading ||
|
19557
19703
|
hasTimedOut ||
|
19558
19704
|
((_a = noOptions === null || noOptions === void 0 ? void 0 : noOptions[0]) === null || _a === void 0 ? void 0 : _a.label) === emptyOptionListText,
|
19559
19705
|
}, ref: (el) => (this.menu = el), inputEl: searchable
|
19560
19706
|
? this.searchableSelectElement
|
19561
|
-
: 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: '
|
19707
|
+
: 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 })))));
|
19562
19708
|
}
|
19563
19709
|
static get delegatesFocus() { return true; }
|
19564
19710
|
get el() { return getElement(this); }
|
@@ -20086,7 +20232,7 @@ class SideNavigation {
|
|
20086
20232
|
isAppNameSubtitleVariant,
|
20087
20233
|
appTitle: appTitle || "",
|
20088
20234
|
};
|
20089
|
-
return (hAsync(Host, { key: '
|
20235
|
+
return (hAsync(Host, { key: '7c08948b0f483f08399d9a843cc372a6e1117cd9', class: {
|
20090
20236
|
"xs-menu-open": menuOpen && isSDevice,
|
20091
20237
|
"xs-menu-close": !menuOpen && isSDevice,
|
20092
20238
|
"sm-collapsed": !isSDevice && !menuExpanded,
|
@@ -20095,12 +20241,12 @@ class SideNavigation {
|
|
20095
20241
|
[`ic-side-navigation-${IcBrandForegroundEnum$1.Dark}`]: foregroundColor === IcBrandForegroundEnum$1.Dark,
|
20096
20242
|
["collapsed-labels"]: !isSDevice && !menuExpanded && !!collapsedIconLabels,
|
20097
20243
|
["ic-side-navigation-inline"]: !!inline,
|
20098
|
-
} }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), hAsync("div", { key: '
|
20244
|
+
} }, 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: {
|
20099
20245
|
["bottom-wrapper"]: true,
|
20100
20246
|
["classification-spacing"]: hasClassificationBanner(),
|
20101
|
-
} }, isSlotUsed$1(this.el, "secondary-navigation") && (hAsync("nav", { key: '
|
20247
|
+
} }, 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: {
|
20102
20248
|
["app-status"]: true,
|
20103
|
-
} }, hAsync("ic-typography", { key: '
|
20249
|
+
} }, 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))))))));
|
20104
20250
|
}
|
20105
20251
|
get el() { return getElement(this); }
|
20106
20252
|
static get watchers() { return {
|
@@ -20164,11 +20310,11 @@ class Skeleton {
|
|
20164
20310
|
width: el.style.width || (variant === "circle" ? "25px" : "260px"),
|
20165
20311
|
}
|
20166
20312
|
: undefined;
|
20167
|
-
return (hAsync(Host, { key: '
|
20313
|
+
return (hAsync(Host, { key: '7bd82290ac75e45c80d5ca97a888a9513e18ba96', class: {
|
20168
20314
|
skeleton: true,
|
20169
20315
|
"ic-skeleton-circle": variant === "circle",
|
20170
20316
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
20171
|
-
}, style: style, "aria-disabled": "true" }, hAsync("slot", { key: '
|
20317
|
+
}, style: style, "aria-disabled": "true" }, hAsync("slot", { key: 'f80d529ee6c23cf3d09b6593d4b6b8648e42e465' })));
|
20172
20318
|
}
|
20173
20319
|
get el() { return getElement(this); }
|
20174
20320
|
static get style() { return IcSkeletonStyle0; }
|
@@ -20225,9 +20371,9 @@ class SkipLink {
|
|
20225
20371
|
}
|
20226
20372
|
render() {
|
20227
20373
|
const { fullWidth, inline, label, monochrome, target, theme, transparentBackground, } = this;
|
20228
|
-
return (hAsync(Host, { key: '
|
20374
|
+
return (hAsync(Host, { key: '78f847910867f3dc91880c1f5a263a7784230d8b', class: {
|
20229
20375
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
20230
|
-
} }, hAsync("ic-link", { key: '
|
20376
|
+
} }, hAsync("ic-link", { key: '53567dbe0778b8720252ad8ae08a10815244415e', class: {
|
20231
20377
|
"display-top": !inline,
|
20232
20378
|
"full-width": !!fullWidth,
|
20233
20379
|
"show-background": !transparentBackground,
|
@@ -20292,12 +20438,12 @@ class StatusTag {
|
|
20292
20438
|
}
|
20293
20439
|
render() {
|
20294
20440
|
const { label, status, variant, size, announced, theme, uppercase } = this;
|
20295
|
-
return (hAsync(Host, { key: '
|
20441
|
+
return (hAsync(Host, { key: 'd9e1718931d2128db61bada395e96366d3ab2878', class: { [`ic-theme-${theme}`]: theme !== "inherit" }, role: announced ? "status" : null, "aria-label": "Status" }, hAsync("strong", { key: '5ff6fc1840e1468d76d6ac6eb0ca2a8716cdaf71', class: {
|
20296
20442
|
["tag"]: true,
|
20297
20443
|
[`${variant}-${status}`]: true,
|
20298
20444
|
["outlined"]: variant === "outlined",
|
20299
20445
|
[`${size}`]: true,
|
20300
|
-
} }, hAsync("ic-typography", { key: '
|
20446
|
+
} }, hAsync("ic-typography", { key: '6512f5278d0616d1b483eaced047edf2961523a7', variant: uppercase ? "label-uppercase" : "label", "apply-vertical-margins": false }, hAsync("span", { key: '31850ff9c7d3438f222e1347300fba666a197315' }, label)))));
|
20301
20447
|
}
|
20302
20448
|
static get style() { return IcStatusTagStyle0; }
|
20303
20449
|
static get cmpMeta() { return {
|
@@ -20381,29 +20527,29 @@ class Step {
|
|
20381
20527
|
// STATUS ICON FOR COMPACT STEP
|
20382
20528
|
let statusIcon;
|
20383
20529
|
if (this.type === "completed" || this.compactStepStyling === "completed") {
|
20384
|
-
statusIcon = (hAsync("span", { key: '
|
20530
|
+
statusIcon = (hAsync("span", { key: 'c554d57470b9bb379d21a3cd1abda1c75e5cba08', class: "check-icon step-icon", "aria-hidden": "true", innerHTML: checkIcon }));
|
20385
20531
|
}
|
20386
20532
|
else if (this.type === "disabled" ||
|
20387
20533
|
this.compactStepStyling === "disabled") {
|
20388
|
-
statusIcon = (hAsync("span", { key: '
|
20534
|
+
statusIcon = (hAsync("span", { key: '44e14eb7ee51ea4d6a6979139bf6da928e24de20', class: "warning-icon step-icon", "aria-hidden": "true", innerHTML: warningIcon }));
|
20389
20535
|
}
|
20390
20536
|
// COMPACT STEP COMPONENT
|
20391
|
-
const compactStep = (hAsync("div", { key: '
|
20537
|
+
const compactStep = (hAsync("div", { key: 'ba266206fb9d29e2d465d26df565ece4617d833f', class: {
|
20392
20538
|
["step"]: true,
|
20393
20539
|
["current"]: !!this.current,
|
20394
20540
|
[`compact-step-${this.compactStepStyling}`]: !!this.compactStepStyling,
|
20395
20541
|
["disabled"]: this.type === "disabled" || this.compactStepStyling === "disabled",
|
20396
|
-
} }, hAsync("ic-loading-indicator", { key: '
|
20542
|
+
} }, hAsync("ic-loading-indicator", { key: '8ac7e7a5dda9311526fabcf7c7467251496688c0', class: {
|
20397
20543
|
"compact-step-progress-indicator": true,
|
20398
20544
|
"not-required": this.type === "disabled" ||
|
20399
20545
|
this.compactStepStyling === "disabled",
|
20400
|
-
}, "aria-hidden": "true", size: "small", "inner-label": this.stepNum, progress: this.progress }), hAsync("div", { key: '
|
20546
|
+
}, "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 ||
|
20401
20547
|
this.type === "completed" ||
|
20402
20548
|
this.type === "disabled" ||
|
20403
20549
|
(this.variant === "compact" &&
|
20404
20550
|
!!this.compactStepStyling &&
|
20405
20551
|
this.compactStepStyling !== "active") ||
|
20406
|
-
!!this.status) && (hAsync("div", { key: '
|
20552
|
+
!!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)
|
20407
20553
|
? this.subheading
|
20408
20554
|
: this.type === "disabled" ||
|
20409
20555
|
(this.variant === "compact" &&
|
@@ -20416,26 +20562,26 @@ class Step {
|
|
20416
20562
|
// ICON FOR DEFAULT STEP
|
20417
20563
|
let icon;
|
20418
20564
|
if (this.type !== "completed") {
|
20419
|
-
icon = (hAsync("ic-typography", { key: '
|
20565
|
+
icon = (hAsync("ic-typography", { key: '39a605e15f1e787440200c1b2d013b245eebdc65', variant: "subtitle-small" }, hAsync("span", { key: 'b957bb4c7e99809903fd89be087f15204625a0b7', class: "step-icon-inner", "aria-hidden": "true" }, this.stepNum)));
|
20420
20566
|
}
|
20421
20567
|
else {
|
20422
|
-
icon = (hAsync("div", { key: '
|
20568
|
+
icon = (hAsync("div", { key: 'f18d7120ca74ab1933e21efba3e3cf1ee08fbf70', class: "step-icon-inner", "aria-hidden": "true" }, hAsync("span", { key: 'a146e0b3a79e7aac5afc9e0e385701ed140cf672', class: "check-icon", innerHTML: checkIcon })));
|
20423
20569
|
}
|
20424
20570
|
// STEP CONNECT FOR DEFAULT STEP
|
20425
|
-
const partialBar = this.type === "current" && (hAsync("div", { key: '
|
20426
|
-
const finalStep = !this.lastStep && (hAsync("div", { key: '
|
20571
|
+
const partialBar = this.type === "current" && (hAsync("div", { key: '67fc4bea3d00a2c1dda63b5590816f5246c2e474', class: "step-connect-inner" }));
|
20572
|
+
const finalStep = !this.lastStep && (hAsync("div", { key: 'af37563dcbf8ec3a3411a9c451e31c73651e3160', class: {
|
20427
20573
|
["step-connect"]: true,
|
20428
20574
|
["aligned-full-width"]: !!(((_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.classList.contains("ic-stepper-default")) &&
|
20429
20575
|
!this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
|
20430
20576
|
} }, partialBar));
|
20431
20577
|
// DEFAULT STEP COMPONENT
|
20432
|
-
const defaultStep = (hAsync("div", { key: '
|
20578
|
+
const defaultStep = (hAsync("div", { key: 'b2c1130ef9a2e12fdf93c08f8564ec48631cf7d0', class: {
|
20433
20579
|
["step"]: true,
|
20434
20580
|
[`${this.type}`]: true,
|
20435
|
-
} }, hAsync("div", { key: '
|
20581
|
+
} }, 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)
|
20436
20582
|
? this.subheading
|
20437
20583
|
: stepStatus))))));
|
20438
|
-
return (hAsync(Host, { key: '
|
20584
|
+
return (hAsync(Host, { key: 'e002bcf7743d7161bfb9816facb9a939e03aa233', role: "listitem", "aria-label": `Step ${this.stepNum}${ariaLabel}`, "aria-current": (this.current || this.type === "current") && "step", class: {
|
20439
20585
|
["aligned-full-width"]: !!(((_b = this.el.parentElement) === null || _b === void 0 ? void 0 : _b.classList.contains("ic-stepper-default")) &&
|
20440
20586
|
!this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
|
20441
20587
|
[`ic-step-${this.variant}`]: true,
|
@@ -20716,11 +20862,11 @@ class Stepper {
|
|
20716
20862
|
checkResizeObserver$1(this.runResizeObserver);
|
20717
20863
|
}
|
20718
20864
|
render() {
|
20719
|
-
return (hAsync(Host, { key: '
|
20865
|
+
return (hAsync(Host, { key: '160ed7fd4476d0a3bc486fdc53e8b5201b2da91b', class: {
|
20720
20866
|
[`ic-stepper-${this.variant}`]: true,
|
20721
20867
|
["ic-stepper-aligned-left"]: this.variant === "default" && this.aligned === "left",
|
20722
20868
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
20723
|
-
} }, hAsync("ul", { key: '
|
20869
|
+
} }, hAsync("ul", { key: '8bb8e3a99cd3a3c4ce4b7f0e532cb7f761dbcc89', class: "step-item-list" }, hAsync("slot", { key: '5ca26c0108e96ec012bcd9b99c420559fbccb839' }))));
|
20724
20870
|
}
|
20725
20871
|
get el() { return getElement(this); }
|
20726
20872
|
static get watchers() { return {
|
@@ -20755,7 +20901,7 @@ class Stepper {
|
|
20755
20901
|
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}}";
|
20756
20902
|
var IcSwitchStyle0 = icSwitchCss;
|
20757
20903
|
|
20758
|
-
let inputIds$
|
20904
|
+
let inputIds$2 = 0;
|
20759
20905
|
/**
|
20760
20906
|
* @slot helper-text - Content is set as the helper text for the switch.
|
20761
20907
|
* @slot right-adornment - Content is placed to the right of switch.
|
@@ -20766,7 +20912,7 @@ class Switch {
|
|
20766
20912
|
this.icBlur = createEvent(this, "icBlur", 7);
|
20767
20913
|
this.icChange = createEvent(this, "icChange", 7);
|
20768
20914
|
this.icFocus = createEvent(this, "icFocus", 7);
|
20769
|
-
this.inputId = `ic-switch-input-${inputIds$
|
20915
|
+
this.inputId = `ic-switch-input-${inputIds$2++}`;
|
20770
20916
|
this.checkedState = false;
|
20771
20917
|
this.initiallyChecked = this.checked;
|
20772
20918
|
/**
|
@@ -20850,16 +20996,16 @@ class Switch {
|
|
20850
20996
|
const { label, checkedState, size, disabled, name, value, hideLabel, helperText, inputId, theme, } = this;
|
20851
20997
|
const isSmall = size === "small";
|
20852
20998
|
renderHiddenInput$1(this.el, checkedState ? value : "", name, disabled);
|
20853
|
-
return (hAsync(Host, { key: '
|
20999
|
+
return (hAsync(Host, { key: '9b7b3b90a63362a1759ddac6f4cf21b9a557e557', class: {
|
20854
21000
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
20855
|
-
} }, hAsync("label", { key: '
|
21001
|
+
} }, hAsync("label", { key: '53127158241f105ee2901065800c2e2c2956bde7', class: {
|
20856
21002
|
"ic-switch-container": true,
|
20857
21003
|
"ic-switch-disabled": !!disabled,
|
20858
21004
|
"ic-switch-small": isSmall,
|
20859
|
-
}, htmlFor: inputId }, !hideLabel && (hAsync("ic-input-label", { key: '
|
21005
|
+
}, htmlFor: inputId }, !hideLabel && (hAsync("ic-input-label", { key: '9a1a21f9800d5ac10a1a34c26cb4935ba5ffc11d', for: inputId, label: label, helperText: helperText, readonly: false, disabled: disabled, class: {
|
20860
21006
|
"ic-switch-label": true,
|
20861
21007
|
"ic-switch-label-small": isSmall,
|
20862
|
-
} }, hAsync("slot", { key: '
|
21008
|
+
} }, 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" }))));
|
20863
21009
|
}
|
20864
21010
|
static get delegatesFocus() { return true; }
|
20865
21011
|
get el() { return getElement(this); }
|
@@ -20982,13 +21128,13 @@ class Tab {
|
|
20982
21128
|
}
|
20983
21129
|
render() {
|
20984
21130
|
const { disabled, selected, theme, monochrome, handleClick, handleFocus, handleMouseDown, } = this;
|
20985
|
-
return (hAsync(Host, { key: '
|
21131
|
+
return (hAsync(Host, { key: 'fe6e517a696ed23c6fb64028d617997439ebbac6', class: {
|
20986
21132
|
["with-transition"]: !this.isInitialRender,
|
20987
21133
|
["ic-tab-selected"]: !!selected,
|
20988
21134
|
["ic-tab-disabled"]: !!disabled,
|
20989
21135
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
20990
21136
|
["ic-tab-monochrome"]: !!monochrome,
|
20991
|
-
}, 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: '
|
21137
|
+
}, 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" })));
|
20992
21138
|
}
|
20993
21139
|
get el() { return getElement(this); }
|
20994
21140
|
static get watchers() { return {
|
@@ -21237,7 +21383,7 @@ class TabContext {
|
|
21237
21383
|
}
|
21238
21384
|
}
|
21239
21385
|
render() {
|
21240
|
-
return hAsync("slot", { key: '
|
21386
|
+
return hAsync("slot", { key: '0df9be3f91695a070675c0809d85e94e4d64ec3b' });
|
21241
21387
|
}
|
21242
21388
|
get el() { return getElement(this); }
|
21243
21389
|
static get watchers() { return {
|
@@ -21283,11 +21429,11 @@ class TabGroup {
|
|
21283
21429
|
}
|
21284
21430
|
render() {
|
21285
21431
|
const { inline, theme, label, monochrome } = this;
|
21286
|
-
return (hAsync(Host, { key: '
|
21432
|
+
return (hAsync(Host, { key: '08da1fef9eb0a16a7f9d0f7cffff3894b3319b09', role: "tablist", "aria-label": label, class: {
|
21287
21433
|
["ic-tab-group-inline"]: !!inline,
|
21288
21434
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
21289
21435
|
["ic-tab-group-monochrome"]: !!monochrome,
|
21290
|
-
} }, hAsync("ic-horizontal-scroll", { key: '
|
21436
|
+
} }, hAsync("ic-horizontal-scroll", { key: 'c12cc06aba78c85277b3eab2250c8e61a3b4c4da', theme: theme, "focus-trigger": "tabFocus", monochrome: monochrome }, hAsync("div", { key: '01c299ea10f8600e2e9df303e06c4e97dcdab7c3', class: "tabs-container" }, hAsync("slot", { key: '1f2cb7d4f2f86c7e3ba8f910797a963d15d9a7e0' })))));
|
21291
21437
|
}
|
21292
21438
|
static get delegatesFocus() { return true; }
|
21293
21439
|
static get style() { return IcTabGroupStyle0; }
|
@@ -21330,10 +21476,10 @@ class TabPanel {
|
|
21330
21476
|
}
|
21331
21477
|
render() {
|
21332
21478
|
const { active, theme } = this;
|
21333
|
-
return (hAsync(Host, { key: '
|
21479
|
+
return (hAsync(Host, { key: 'ec5befdef261599b9f010a547bec533c28422dcd', class: {
|
21334
21480
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
21335
21481
|
"ic-tab-panel-hidden": !active,
|
21336
|
-
}, role: "tabpanel", "aria-hidden": `${!active}` }, hAsync("div", { key: '
|
21482
|
+
}, role: "tabpanel", "aria-hidden": `${!active}` }, hAsync("div", { key: '76bf7fc0f05bd9422c79ba6a592561c211b20bec' }, hAsync("slot", { key: '5ecfbc0ad3dc9c11b482f81557afc2afa5dd2803' }))));
|
21337
21483
|
}
|
21338
21484
|
get el() { return getElement(this); }
|
21339
21485
|
static get style() { return IcTabPanelStyle0; }
|
@@ -21357,7 +21503,7 @@ class TabPanel {
|
|
21357
21503
|
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}}";
|
21358
21504
|
var IcTextFieldStyle0 = icTextFieldCss;
|
21359
21505
|
|
21360
|
-
let inputIds = 0;
|
21506
|
+
let inputIds$1 = 0;
|
21361
21507
|
const MUTABLE_ATTRIBUTES = [...IC_INHERITED_ARIA, "title"];
|
21362
21508
|
/**
|
21363
21509
|
* @slot helper-text - Content is set as the helper text for the text field.
|
@@ -21427,7 +21573,7 @@ class TextField {
|
|
21427
21573
|
/**
|
21428
21574
|
* The ID for the input.
|
21429
21575
|
*/
|
21430
|
-
this.inputId = `ic-text-field-input-${inputIds++}`;
|
21576
|
+
this.inputId = `ic-text-field-input-${inputIds$1++}`;
|
21431
21577
|
/**
|
21432
21578
|
* A hint to the browser for which keyboard to display.
|
21433
21579
|
* Possible values: `"none"`, `"text"`, `"tel"`, `"url"`,
|
@@ -21724,14 +21870,14 @@ class TextField {
|
|
21724
21870
|
hiddenInput
|
21725
21871
|
? renderHiddenInput$1(this.el, value, name, disabledMode)
|
21726
21872
|
: removeHiddenInput(this.el);
|
21727
|
-
return (hAsync(Host, { key: '
|
21873
|
+
return (hAsync(Host, { key: 'af9f4dab9e78765b8e1e578d57783e5487d83f6b', class: {
|
21728
21874
|
"ic-text-field-full-width": fullWidth,
|
21729
21875
|
"ic-text-field-disabled": disabledMode,
|
21730
21876
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
21731
|
-
} }, hAsync("ic-input-container", { key: '
|
21877
|
+
} }, 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: {
|
21732
21878
|
readonly,
|
21733
21879
|
"has-value": this.getNumberOfCharacters(value) > 0,
|
21734
|
-
}, slot: "left-icon" }, hAsync("slot", { key: '
|
21880
|
+
}, 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: {
|
21735
21881
|
"no-left-pad": !showLeftIcon && readonly,
|
21736
21882
|
readonly,
|
21737
21883
|
"truncate-value": truncateValue,
|
@@ -21739,19 +21885,19 @@ class TextField {
|
|
21739
21885
|
"no-resize": resize === false || !!readonly,
|
21740
21886
|
"no-left-pad": !showLeftIcon && !!readonly,
|
21741
21887
|
readonly: !!readonly,
|
21742
|
-
}, 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: '
|
21888
|
+
}, 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) ||
|
21743
21889
|
!isEmptyString$1(validationText) ||
|
21744
21890
|
maxNumChars > 0 ||
|
21745
21891
|
maxValueExceeded ||
|
21746
21892
|
maxCharactersWarning ||
|
21747
21893
|
minCharactersUnattained ||
|
21748
21894
|
minValueUnattained) &&
|
21749
|
-
!validationInlineInternal && (hAsync("ic-input-validation", { key: '
|
21895
|
+
!validationInlineInternal && (hAsync("ic-input-validation", { key: 'b87afc1859b8a33d5767b5b0c61056936b760de7', status: this.hasStatus(currentStatus) === false ||
|
21750
21896
|
(currentStatus === IcInformationStatus$1.Success &&
|
21751
21897
|
validationInline) ||
|
21752
21898
|
validationInlineInternal
|
21753
21899
|
? ""
|
21754
|
-
: currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, !readonly && maxNumChars > 0 && (hAsync("div", { key: '
|
21900
|
+
: 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."))))))));
|
21755
21901
|
}
|
21756
21902
|
get el() { return getElement(this); }
|
21757
21903
|
static get watchers() { return {
|
@@ -21889,7 +22035,7 @@ class Theme {
|
|
21889
22035
|
}
|
21890
22036
|
render() {
|
21891
22037
|
const { themeClass } = this;
|
21892
|
-
return (hAsync(Host, { key: '
|
22038
|
+
return (hAsync(Host, { key: '512d47b99bd3f18979a2e5bf12dc1959c4135026', class: themeClass }, hAsync("slot", { key: '16f87dc2ea22a43fa7208a9a4e37c5e37e779fc6' })));
|
21893
22039
|
}
|
21894
22040
|
static get watchers() { return {
|
21895
22041
|
"brandColor": ["watchBrandColorPropHandler"],
|
@@ -21909,42 +22055,1017 @@ class Theme {
|
|
21909
22055
|
}; }
|
21910
22056
|
}
|
21911
22057
|
|
21912
|
-
|
21913
|
-
var IcToastStyle0 = icToastCss;
|
22058
|
+
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>`;
|
21914
22059
|
|
21915
|
-
const
|
21916
|
-
|
21917
|
-
|
22060
|
+
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}}";
|
22061
|
+
var IcTimeInputStyle0 = icTimeInputCss;
|
22062
|
+
|
22063
|
+
let inputIds = 0;
|
21918
22064
|
/**
|
21919
|
-
* @slot
|
21920
|
-
* @slot neutral-icon - A custom neutral icon is placed on the left side of the component. If used will default toast to `neutral` variant.
|
22065
|
+
* @slot helper-text - Content is set as the helper text for the time input.
|
21921
22066
|
*/
|
21922
|
-
class
|
22067
|
+
class TimeInput {
|
21923
22068
|
constructor(hostRef) {
|
21924
22069
|
registerInstance(this, hostRef);
|
21925
|
-
this.
|
21926
|
-
this.
|
21927
|
-
this.
|
21928
|
-
this.
|
22070
|
+
this.clockButtonClicked = createEvent(this, "clockButtonClicked", 7);
|
22071
|
+
this.icBlur = createEvent(this, "icBlur", 7);
|
22072
|
+
this.icChange = createEvent(this, "icChange", 7);
|
22073
|
+
this.icFocus = createEvent(this, "icFocus", 7);
|
22074
|
+
this.DEFAULT_TIME_FORMAT = "HH:MM:SS";
|
22075
|
+
this.ARIA_INVALID = "aria-invalid";
|
22076
|
+
this.ARIA_LABEL = "aria-label";
|
22077
|
+
this.ARIA_LABELLED_BY = "aria-labelledby";
|
22078
|
+
this.EVENT_OBJECT_STRING = "[object Event]";
|
22079
|
+
this.FIT_TO_VALUE = "fit-to-value";
|
22080
|
+
this.initialValue = this.value;
|
22081
|
+
this.inputsInOrder = [];
|
22082
|
+
this.isValidHour = true;
|
22083
|
+
this.isValidMinute = true;
|
22084
|
+
this.isValidSecond = true;
|
22085
|
+
this.isValidTime = true;
|
22086
|
+
this.isTimeSetFromKeyboardEvent = false;
|
22087
|
+
this.previousSelectedTime = null;
|
22088
|
+
this.selectedTime = null;
|
22089
|
+
this.externalSetTime = false;
|
22090
|
+
this.clearInput = false;
|
22091
|
+
this.maxTime = null;
|
22092
|
+
this.minTime = null;
|
22093
|
+
this.clockFocused = false;
|
22094
|
+
this.clearButtonFocused = false;
|
22095
|
+
this.removeLabelledBy = false;
|
22096
|
+
this.hour = "";
|
22097
|
+
this.minute = "";
|
22098
|
+
this.second = "";
|
21929
22099
|
/**
|
21930
|
-
* If
|
21931
|
-
* (NOTE: Has a minimum value of `5000ms`)
|
22100
|
+
* If `true`, the disabled state will be set.
|
21932
22101
|
*/
|
21933
|
-
this.
|
22102
|
+
this.disabled = false;
|
21934
22103
|
/**
|
21935
|
-
*
|
22104
|
+
* 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.
|
21936
22105
|
*/
|
21937
|
-
this.
|
22106
|
+
this.disableTimes = [];
|
21938
22107
|
/**
|
21939
|
-
*
|
22108
|
+
* If `true`, every individual input field completed will emit an icChange event.
|
21940
22109
|
*/
|
21941
|
-
this.
|
21942
|
-
|
21943
|
-
|
22110
|
+
this.emitTimePartChange = false;
|
22111
|
+
/**
|
22112
|
+
* If `true`, the helper text will be visually hidden, but still read out by screenreaders.
|
22113
|
+
*/
|
22114
|
+
this.hideHelperText = false;
|
22115
|
+
/**
|
22116
|
+
* If `true`, the label will be visually hidden, but will still be read out by screen readers.
|
22117
|
+
*/
|
22118
|
+
this.hideLabel = false;
|
22119
|
+
/**
|
22120
|
+
* The ID for the input.
|
22121
|
+
*/
|
22122
|
+
this.inputId = `ic-time-input-${inputIds++}`;
|
22123
|
+
/**
|
22124
|
+
* The text to display as the validation message when an invalid time is entered.
|
22125
|
+
*/
|
22126
|
+
this.invalidTimeMessage = "Please enter a valid time.";
|
22127
|
+
/**
|
22128
|
+
* 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.
|
22129
|
+
*/
|
22130
|
+
this.max = "";
|
22131
|
+
/**
|
22132
|
+
* 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.
|
22133
|
+
*/
|
22134
|
+
this.min = "";
|
22135
|
+
/**
|
22136
|
+
* The name of the control, which is submitted with the form data.
|
22137
|
+
*/
|
22138
|
+
this.name = this.inputId;
|
22139
|
+
/**
|
22140
|
+
* If `true`, the input will require a value.
|
22141
|
+
*/
|
22142
|
+
this.required = false;
|
22143
|
+
/**
|
22144
|
+
* If `true`, a button which clears the time input when clicked will be displayed.
|
22145
|
+
*/
|
22146
|
+
this.showClearButton = true;
|
22147
|
+
/**
|
22148
|
+
* @internal If `true`, a button which displays the clock view when clicked will be displayed.
|
22149
|
+
*/
|
22150
|
+
this.showClockButton = false;
|
22151
|
+
/**
|
22152
|
+
* The size of the time input to be displayed.
|
22153
|
+
*/
|
22154
|
+
this.size = "medium";
|
22155
|
+
/**
|
22156
|
+
* 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.
|
22157
|
+
*/
|
22158
|
+
this.theme = "inherit";
|
22159
|
+
/**
|
22160
|
+
* The format in which the time will be displayed.
|
22161
|
+
*/
|
22162
|
+
this.timeFormat = this.DEFAULT_TIME_FORMAT;
|
22163
|
+
/**
|
22164
|
+
* The time period format: "12" for 12-hour, "24" for 24-hour. Defaults to "24".
|
22165
|
+
*/
|
22166
|
+
this.timePeriod = "24";
|
22167
|
+
/**
|
22168
|
+
* 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.
|
22169
|
+
*/
|
22170
|
+
this.value = "";
|
22171
|
+
/**
|
22172
|
+
* The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in time validation.
|
22173
|
+
*/
|
22174
|
+
this.validationStatus = "";
|
22175
|
+
/**
|
22176
|
+
* The text to display as the validation message. This will override the built-in time validation.
|
22177
|
+
*/
|
22178
|
+
this.validationText = "";
|
22179
|
+
this.setInputPasteValue = (input, pastedValue) => {
|
22180
|
+
if (input) {
|
22181
|
+
const inputEl = input;
|
22182
|
+
inputEl.value = pastedValue;
|
22183
|
+
inputEl.classList.add(this.FIT_TO_VALUE);
|
22184
|
+
}
|
21944
22185
|
};
|
21945
|
-
this.
|
21946
|
-
|
21947
|
-
|
22186
|
+
this.parseTime = (value) => {
|
22187
|
+
if (!value)
|
22188
|
+
return null;
|
22189
|
+
if (value instanceof Date)
|
22190
|
+
return value;
|
22191
|
+
const parts = value.split(":");
|
22192
|
+
if (parts.length >= 2) {
|
22193
|
+
const d = new Date();
|
22194
|
+
d.setHours(+parts[0], +parts[1], parts[2] ? +parts[2] : 0, 0);
|
22195
|
+
return d;
|
22196
|
+
}
|
22197
|
+
return null;
|
22198
|
+
};
|
22199
|
+
this.isHHMMFormat = () => this.timeFormat === "HH:MM";
|
22200
|
+
this.isKeyboardOrEvent = (event) => {
|
22201
|
+
return (Object.prototype.toString.call(event) === this.EVENT_OBJECT_STRING ||
|
22202
|
+
Object.prototype.toString.call(event) === "[object KeyboardEvent]");
|
22203
|
+
};
|
22204
|
+
this.setTimeValidity = () => {
|
22205
|
+
const minHour = 0;
|
22206
|
+
const maxHour = this.timePeriod === "12" ? 11 : 23;
|
22207
|
+
if (!isEmptyString(this.hour)) {
|
22208
|
+
this.isValidHour = +this.hour >= minHour && +this.hour <= maxHour;
|
22209
|
+
}
|
22210
|
+
else {
|
22211
|
+
this.isValidHour = true;
|
22212
|
+
}
|
22213
|
+
if (!isEmptyString(this.minute)) {
|
22214
|
+
this.isValidMinute = +this.minute >= 0 && +this.minute <= 59;
|
22215
|
+
}
|
22216
|
+
else {
|
22217
|
+
this.isValidMinute = true;
|
22218
|
+
}
|
22219
|
+
if (!this.isHHMMFormat()) {
|
22220
|
+
if (!isEmptyString(this.second)) {
|
22221
|
+
this.isValidSecond = +this.second >= 0 && +this.second <= 59;
|
22222
|
+
}
|
22223
|
+
else {
|
22224
|
+
this.isValidSecond = true;
|
22225
|
+
}
|
22226
|
+
}
|
22227
|
+
else {
|
22228
|
+
this.isValidSecond = true;
|
22229
|
+
}
|
22230
|
+
};
|
22231
|
+
this.setInputValue = (input, clear = false) => {
|
22232
|
+
const newValue = clear ? "" : input.value;
|
22233
|
+
if (input === this.hourInputEl) {
|
22234
|
+
this.hour = newValue;
|
22235
|
+
}
|
22236
|
+
else if (input === this.minuteInputEl) {
|
22237
|
+
this.minute = newValue;
|
22238
|
+
}
|
22239
|
+
else if (input === this.secondInputEl && !this.isHHMMFormat()) {
|
22240
|
+
this.second = newValue;
|
22241
|
+
}
|
22242
|
+
this.setValidationMessage();
|
22243
|
+
};
|
22244
|
+
this.setPreventInput = (input, isPrevented) => {
|
22245
|
+
if (input === this.hourInputEl) {
|
22246
|
+
this.preventHourInput = isPrevented;
|
22247
|
+
}
|
22248
|
+
else if (input === this.minuteInputEl) {
|
22249
|
+
this.preventMinuteInput = isPrevented;
|
22250
|
+
}
|
22251
|
+
else if (input === this.secondInputEl) {
|
22252
|
+
this.preventSecondInput = isPrevented;
|
22253
|
+
}
|
22254
|
+
};
|
22255
|
+
this.setValidationMessage = () => {
|
22256
|
+
this.maxTime = this.parseTime(this.max);
|
22257
|
+
this.minTime = this.parseTime(this.min);
|
22258
|
+
this.setTimeValidity();
|
22259
|
+
let outOfBoundsMsg = "";
|
22260
|
+
let isDisabledTime = false;
|
22261
|
+
if (!isEmptyString(this.hour) &&
|
22262
|
+
!isEmptyString(this.minute) &&
|
22263
|
+
(this.isHHMMFormat() || !isEmptyString(this.second))) {
|
22264
|
+
this.selectedTime = this.convertToTime(this.hour, this.minute, this.isHHMMFormat() ? "00" : this.second);
|
22265
|
+
this.isValidTime =
|
22266
|
+
!!this.selectedTime &&
|
22267
|
+
this.selectedTime.getHours() == +this.hour &&
|
22268
|
+
this.selectedTime.getMinutes() == +this.minute &&
|
22269
|
+
(this.isHHMMFormat() || this.selectedTime.getSeconds() == +this.second);
|
22270
|
+
if (this.selectedTime &&
|
22271
|
+
Array.isArray(this.disableTimes) &&
|
22272
|
+
this.disableTimes.length > 0) {
|
22273
|
+
isDisabledTime = this.disableTimes.some((t) => {
|
22274
|
+
if (typeof t === "object" &&
|
22275
|
+
t !== null &&
|
22276
|
+
"start" in t &&
|
22277
|
+
"end" in t) {
|
22278
|
+
const start = this.parseTime(t.start);
|
22279
|
+
const end = this.parseTime(t.end);
|
22280
|
+
if (start && end) {
|
22281
|
+
return this.selectedTime >= start && this.selectedTime <= end;
|
22282
|
+
}
|
22283
|
+
return false;
|
22284
|
+
}
|
22285
|
+
const parsed = this.parseTime(t);
|
22286
|
+
return (parsed &&
|
22287
|
+
parsed.getHours() === this.selectedTime.getHours() &&
|
22288
|
+
parsed.getMinutes() === this.selectedTime.getMinutes() &&
|
22289
|
+
parsed.getSeconds() === this.selectedTime.getSeconds());
|
22290
|
+
});
|
22291
|
+
if (isDisabledTime) {
|
22292
|
+
this.isValidTime = false;
|
22293
|
+
outOfBoundsMsg = this.invalidTimeMessage;
|
22294
|
+
}
|
22295
|
+
}
|
22296
|
+
if (this.selectedTime && !isDisabledTime) {
|
22297
|
+
if (this.minTime && this.selectedTime < this.minTime) {
|
22298
|
+
this.isValidTime = false;
|
22299
|
+
outOfBoundsMsg = `Please enter a time after ${this.formatTime(this.minTime)}.`;
|
22300
|
+
}
|
22301
|
+
else if (this.maxTime && this.selectedTime > this.maxTime) {
|
22302
|
+
this.isValidTime = false;
|
22303
|
+
outOfBoundsMsg = `Please enter a time before ${this.formatTime(this.maxTime)}.`;
|
22304
|
+
}
|
22305
|
+
}
|
22306
|
+
if (!this.isValidTime) {
|
22307
|
+
this.inputsInOrder.forEach((input) => input.setAttribute(this.ARIA_INVALID, "true"));
|
22308
|
+
}
|
22309
|
+
else {
|
22310
|
+
this.inputsInOrder.forEach((input) => input.removeAttribute(this.ARIA_INVALID));
|
22311
|
+
}
|
22312
|
+
}
|
22313
|
+
else {
|
22314
|
+
this.selectedTime = null;
|
22315
|
+
}
|
22316
|
+
if (!(this.isValidHour &&
|
22317
|
+
this.isValidMinute &&
|
22318
|
+
this.isValidSecond &&
|
22319
|
+
this.isValidTime)) {
|
22320
|
+
this.invalidTimeText = outOfBoundsMsg || this.invalidTimeMessage;
|
22321
|
+
}
|
22322
|
+
else {
|
22323
|
+
this.invalidTimeText = "";
|
22324
|
+
}
|
22325
|
+
};
|
22326
|
+
this.formatTime = (time) => {
|
22327
|
+
const hh = time.getHours().toString().padStart(2, "0");
|
22328
|
+
const mm = time.getMinutes().toString().padStart(2, "0");
|
22329
|
+
const ss = time.getSeconds().toString().padStart(2, "0");
|
22330
|
+
return this.isHHMMFormat() ? `${hh}:${mm}` : `${hh}:${mm}:${ss}`;
|
22331
|
+
};
|
22332
|
+
this.handleInput = (event) => {
|
22333
|
+
const inputEvent = event;
|
22334
|
+
const input = event.target;
|
22335
|
+
if (input !== this.hourInputEl) {
|
22336
|
+
if (inputEvent.inputType !== "deleteContentBackward" &&
|
22337
|
+
!this.preventAutoFormatting) {
|
22338
|
+
if (input.value.length === 1 &&
|
22339
|
+
+input.value >= 6 &&
|
22340
|
+
+input.value <= 9) {
|
22341
|
+
this.setInputValue(input);
|
22342
|
+
this.notifyScreenReader(input);
|
22343
|
+
this.moveToNextInput(input);
|
22344
|
+
}
|
22345
|
+
if (input.value.length === 2) {
|
22346
|
+
this.setInputValue(input);
|
22347
|
+
this.setPreventInput(input, true);
|
22348
|
+
this.notifyScreenReader(input);
|
22349
|
+
this.moveToNextInput(input);
|
22350
|
+
}
|
22351
|
+
else {
|
22352
|
+
this.setPreventInput(input, false);
|
22353
|
+
}
|
22354
|
+
}
|
22355
|
+
else if (this.preventAutoFormatting) {
|
22356
|
+
if (input.value.length === 2 && !this.isKeyboardOrEvent(event)) {
|
22357
|
+
this.setInputValue(input);
|
22358
|
+
this.setPreventInput(input, true);
|
22359
|
+
this.moveToNextInput(input);
|
22360
|
+
}
|
22361
|
+
else {
|
22362
|
+
this.setInputValue(input);
|
22363
|
+
}
|
22364
|
+
}
|
22365
|
+
if (input.value.length !== 2) {
|
22366
|
+
this.setPreventInput(input, false);
|
22367
|
+
}
|
22368
|
+
}
|
22369
|
+
else {
|
22370
|
+
if (input.value.length === 2) {
|
22371
|
+
this.setInputValue(input);
|
22372
|
+
if (Object.prototype.toString.call(event) !== this.EVENT_OBJECT_STRING) {
|
22373
|
+
this.moveToNextInput(input);
|
22374
|
+
}
|
22375
|
+
this.setPreventInput(input, true);
|
22376
|
+
}
|
22377
|
+
else {
|
22378
|
+
this.setInputValue(input, true);
|
22379
|
+
this.setPreventInput(input, false);
|
22380
|
+
}
|
22381
|
+
}
|
22382
|
+
this.setFitToValueStyling(input);
|
22383
|
+
if (input.value.length === 0) {
|
22384
|
+
this.setInputValue(input, true);
|
22385
|
+
this.setValidationMessage();
|
22386
|
+
}
|
22387
|
+
this.notifyScreenReader(input);
|
22388
|
+
};
|
22389
|
+
this.handleKeyDown = (event, isInputPrevented) => {
|
22390
|
+
var _a;
|
22391
|
+
const input = event.target;
|
22392
|
+
const eventKey = (_a = event.key) === null || _a === void 0 ? void 0 : _a.toLowerCase();
|
22393
|
+
const regex = /-?\d*\.?\d+(e[-+]?\d+)?|[:]|arrowup|arrowdown|arrowleft|arrowright|shift|tab|backspace|delete/;
|
22394
|
+
if (!regex.test(eventKey) &&
|
22395
|
+
!((event.ctrlKey || event.metaKey) &&
|
22396
|
+
(eventKey === "v" || eventKey === "c"))) {
|
22397
|
+
event.preventDefault();
|
22398
|
+
}
|
22399
|
+
switch (eventKey) {
|
22400
|
+
case ":":
|
22401
|
+
case "arrowright":
|
22402
|
+
event.preventDefault();
|
22403
|
+
this.moveToNextInput(input);
|
22404
|
+
break;
|
22405
|
+
case "arrowleft":
|
22406
|
+
event.preventDefault();
|
22407
|
+
this.moveToPreviousInput(input);
|
22408
|
+
break;
|
22409
|
+
case "arrowup":
|
22410
|
+
case "arrowdown":
|
22411
|
+
this.preventAutoFormatting = true;
|
22412
|
+
this.handleUpDownArrowKeyPress(input, event);
|
22413
|
+
break;
|
22414
|
+
case "backspace":
|
22415
|
+
if (input.value.length === 0) {
|
22416
|
+
event.preventDefault();
|
22417
|
+
this.moveToPreviousInput(input);
|
22418
|
+
}
|
22419
|
+
break;
|
22420
|
+
}
|
22421
|
+
this.preventInput(event, isInputPrevented);
|
22422
|
+
this.isTimeSetFromKeyboardEvent = true;
|
22423
|
+
};
|
22424
|
+
this.handleFocus = (event) => {
|
22425
|
+
const input = event.target;
|
22426
|
+
input.select();
|
22427
|
+
};
|
22428
|
+
this.handleBlur = (event) => {
|
22429
|
+
const input = event.target;
|
22430
|
+
if (input) {
|
22431
|
+
this.autocompleteInput(input);
|
22432
|
+
}
|
22433
|
+
};
|
22434
|
+
this.handleUpDownArrowKeyPress = (input, event) => {
|
22435
|
+
let minValue = 0;
|
22436
|
+
let maxValue = 59;
|
22437
|
+
if (input === this.hourInputEl) {
|
22438
|
+
minValue = 0;
|
22439
|
+
maxValue = this.timePeriod === "12" ? 11 : 23;
|
22440
|
+
}
|
22441
|
+
let val = +input.value;
|
22442
|
+
if (event.key === "ArrowUp") {
|
22443
|
+
val = val + 1;
|
22444
|
+
if (val > maxValue)
|
22445
|
+
val = minValue;
|
22446
|
+
input.value = val.toString().padStart(2, "0");
|
22447
|
+
this.notifyScreenReader(input);
|
22448
|
+
}
|
22449
|
+
if (event.key === "ArrowDown") {
|
22450
|
+
val = val - 1;
|
22451
|
+
if (val < minValue)
|
22452
|
+
val = maxValue;
|
22453
|
+
input.value = val.toString().padStart(2, "0");
|
22454
|
+
this.notifyScreenReader(input);
|
22455
|
+
}
|
22456
|
+
this.setInputValue(input);
|
22457
|
+
this.setFitToValueStyling(input);
|
22458
|
+
};
|
22459
|
+
this.handleTimeChange = (force) => {
|
22460
|
+
if (force || this.selectedTime !== this.previousSelectedTime) {
|
22461
|
+
if (this.value) {
|
22462
|
+
this.inputsInOrder.forEach((input) => {
|
22463
|
+
input.classList.add(this.FIT_TO_VALUE);
|
22464
|
+
});
|
22465
|
+
}
|
22466
|
+
if (this.hour &&
|
22467
|
+
this.minute &&
|
22468
|
+
(this.isHHMMFormat() || this.second) &&
|
22469
|
+
this.invalidTimeText === "") {
|
22470
|
+
this.setValueAndEmitChange(this.selectedTime);
|
22471
|
+
this.notifyScreenReaderSelectedTime();
|
22472
|
+
}
|
22473
|
+
else if (!(this.selectedTime === null && this.previousSelectedTime === null) &&
|
22474
|
+
this.selectedTimeInfoEl) {
|
22475
|
+
this.setValueAndEmitChange(null);
|
22476
|
+
this.selectedTimeInfoEl.textContent = "";
|
22477
|
+
}
|
22478
|
+
this.previousSelectedTime = this.selectedTime;
|
22479
|
+
if (!this.isTimeSetFromKeyboardEvent) {
|
22480
|
+
this.updateInputValues(this.hour, this.minute, this.second);
|
22481
|
+
}
|
22482
|
+
}
|
22483
|
+
};
|
22484
|
+
this.setValueAndEmitChange = (value) => {
|
22485
|
+
if (this.value !== value) {
|
22486
|
+
this.emitIcChange(value);
|
22487
|
+
this.value = value;
|
22488
|
+
}
|
22489
|
+
};
|
22490
|
+
this.emitIcChange = (t) => {
|
22491
|
+
this.selectedTime = t;
|
22492
|
+
this.icChange.emit({
|
22493
|
+
value: t,
|
22494
|
+
timeObject: {
|
22495
|
+
hour: this.hour === "" ? null : this.hour,
|
22496
|
+
minute: this.minute === "" ? null : this.minute,
|
22497
|
+
second: this.second === "" ? null : this.second,
|
22498
|
+
},
|
22499
|
+
});
|
22500
|
+
};
|
22501
|
+
this.setTime = (time) => {
|
22502
|
+
if (time === null || time === "" || time === undefined) {
|
22503
|
+
if (this.hour)
|
22504
|
+
this.hour = "";
|
22505
|
+
if (this.minute)
|
22506
|
+
this.minute = "";
|
22507
|
+
if (this.second)
|
22508
|
+
this.second = "";
|
22509
|
+
this.inputsInOrder.forEach((input) => {
|
22510
|
+
input.classList.remove(this.FIT_TO_VALUE);
|
22511
|
+
this.setPreventInput(input, false);
|
22512
|
+
});
|
22513
|
+
this.handleTimeChange(true);
|
22514
|
+
}
|
22515
|
+
else {
|
22516
|
+
if (typeof time === "string") {
|
22517
|
+
const zuluMatch = time.match(/^(\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,3}))?Z?$/);
|
22518
|
+
if (zuluMatch) {
|
22519
|
+
this.hour = zuluMatch[1];
|
22520
|
+
this.minute = zuluMatch[2];
|
22521
|
+
this.second = zuluMatch[3];
|
22522
|
+
}
|
22523
|
+
else {
|
22524
|
+
const parts = time.split(":");
|
22525
|
+
this.hour = parts[0] || "";
|
22526
|
+
this.minute = parts[1] || "";
|
22527
|
+
this.second = parts[2] || "";
|
22528
|
+
}
|
22529
|
+
}
|
22530
|
+
else if (time instanceof Date) {
|
22531
|
+
this.hour = time.getHours().toString().padStart(2, "0");
|
22532
|
+
this.minute = time.getMinutes().toString().padStart(2, "0");
|
22533
|
+
this.second = time.getSeconds().toString().padStart(2, "0");
|
22534
|
+
}
|
22535
|
+
}
|
22536
|
+
this.setValidationMessage();
|
22537
|
+
};
|
22538
|
+
this.setAriaInvalid = (validHour, validMinute, validSecond) => {
|
22539
|
+
var _a, _b, _c;
|
22540
|
+
if (this.inputsInOrder.length) {
|
22541
|
+
this.inputsInOrder.forEach((input) => {
|
22542
|
+
input.removeAttribute(this.ARIA_INVALID);
|
22543
|
+
});
|
22544
|
+
if (!validHour) {
|
22545
|
+
(_a = this.hourInputEl) === null || _a === void 0 ? void 0 : _a.setAttribute(this.ARIA_INVALID, "true");
|
22546
|
+
}
|
22547
|
+
if (!validMinute) {
|
22548
|
+
(_b = this.minuteInputEl) === null || _b === void 0 ? void 0 : _b.setAttribute(this.ARIA_INVALID, "true");
|
22549
|
+
}
|
22550
|
+
if (!validSecond) {
|
22551
|
+
(_c = this.secondInputEl) === null || _c === void 0 ? void 0 : _c.setAttribute(this.ARIA_INVALID, "true");
|
22552
|
+
}
|
22553
|
+
if (!(validHour && validMinute && validSecond)) {
|
22554
|
+
this.inputsInOrder.forEach((input) => {
|
22555
|
+
input.setAttribute(this.ARIA_INVALID, "true");
|
22556
|
+
});
|
22557
|
+
}
|
22558
|
+
}
|
22559
|
+
};
|
22560
|
+
this.handleClear = () => {
|
22561
|
+
this.clearInput = true;
|
22562
|
+
if (this.hourInputEl) {
|
22563
|
+
this.hourInputEl.value = "";
|
22564
|
+
}
|
22565
|
+
if (this.minuteInputEl) {
|
22566
|
+
this.minuteInputEl.value = "";
|
22567
|
+
}
|
22568
|
+
if (!this.isHHMMFormat() && this.secondInputEl) {
|
22569
|
+
this.secondInputEl.value = "";
|
22570
|
+
}
|
22571
|
+
this.hour = "";
|
22572
|
+
this.minute = "";
|
22573
|
+
this.second = "";
|
22574
|
+
this.handleTimeChange(true);
|
22575
|
+
this.inputsInOrder.forEach((input) => {
|
22576
|
+
input.classList.remove(this.FIT_TO_VALUE);
|
22577
|
+
this.setPreventInput(input, false);
|
22578
|
+
});
|
22579
|
+
this.clearInput = false;
|
22580
|
+
this.isTimeSetFromKeyboardEvent = false;
|
22581
|
+
this.setValidationMessage();
|
22582
|
+
this.invalidTimeText = "";
|
22583
|
+
if (this.hourInputEl) {
|
22584
|
+
this.hourInputEl.focus();
|
22585
|
+
}
|
22586
|
+
};
|
22587
|
+
this.notifyScreenReaderSelectedTime = () => {
|
22588
|
+
if (this.selectedTime && this.selectedTimeInfoEl) {
|
22589
|
+
if (this.isHHMMFormat()) {
|
22590
|
+
this.selectedTimeInfoEl.textContent = `Selected time: ${this.selectedTime
|
22591
|
+
.getHours()
|
22592
|
+
.toString()
|
22593
|
+
.padStart(2, "0")}:${this.selectedTime
|
22594
|
+
.getMinutes()
|
22595
|
+
.toString()
|
22596
|
+
.padStart(2, "0")}`;
|
22597
|
+
}
|
22598
|
+
else {
|
22599
|
+
this.selectedTimeInfoEl.textContent = `Selected time: ${this.selectedTime
|
22600
|
+
.getHours()
|
22601
|
+
.toString()
|
22602
|
+
.padStart(2, "0")}:${this.selectedTime
|
22603
|
+
.getMinutes()
|
22604
|
+
.toString()
|
22605
|
+
.padStart(2, "0")}:${this.selectedTime
|
22606
|
+
.getSeconds()
|
22607
|
+
.toString()
|
22608
|
+
.padStart(2, "0")}`;
|
22609
|
+
}
|
22610
|
+
}
|
22611
|
+
};
|
22612
|
+
this.setFitToValueStyling = (input) => {
|
22613
|
+
if (input.value) {
|
22614
|
+
input.classList.add(this.FIT_TO_VALUE);
|
22615
|
+
}
|
22616
|
+
else {
|
22617
|
+
input.classList.remove(this.FIT_TO_VALUE);
|
22618
|
+
}
|
22619
|
+
};
|
22620
|
+
this.handleHostBlur = () => {
|
22621
|
+
this.removeLabelledBy = false;
|
22622
|
+
this.icBlur.emit({ value: this.selectedTime });
|
22623
|
+
};
|
22624
|
+
this.handleHostFocus = () => {
|
22625
|
+
var _a, _b;
|
22626
|
+
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$/)) {
|
22627
|
+
this.removeLabelledBy = false;
|
22628
|
+
}
|
22629
|
+
else {
|
22630
|
+
this.removeLabelledBy = true;
|
22631
|
+
}
|
22632
|
+
this.icFocus.emit({ value: this.selectedTime });
|
22633
|
+
};
|
22634
|
+
this.handleFormReset = () => {
|
22635
|
+
this.setTime(this.initialValue);
|
22636
|
+
this.setValidationMessage();
|
22637
|
+
this.handleTimeChange(false);
|
22638
|
+
};
|
22639
|
+
this.preventInput = (event, isInputPrevented) => {
|
22640
|
+
const key = event.key;
|
22641
|
+
const input = event.target;
|
22642
|
+
let selectedString;
|
22643
|
+
if (input) {
|
22644
|
+
selectedString = input.value.substring(input.selectionStart || 0, input.selectionEnd || undefined);
|
22645
|
+
}
|
22646
|
+
if (key === "e" ||
|
22647
|
+
key === "." ||
|
22648
|
+
key === "-" ||
|
22649
|
+
(event.key >= "0" &&
|
22650
|
+
event.key <= "9" &&
|
22651
|
+
isInputPrevented &&
|
22652
|
+
!selectedString)) {
|
22653
|
+
event.preventDefault();
|
22654
|
+
}
|
22655
|
+
};
|
22656
|
+
this.moveToNextInput = (currentInput) => {
|
22657
|
+
var _a;
|
22658
|
+
this.preventAutoFormatting = false;
|
22659
|
+
(_a = this.inputsInOrder[this.inputsInOrder.findIndex((input) => input === currentInput) + 1]) === null || _a === void 0 ? void 0 : _a.focus();
|
22660
|
+
};
|
22661
|
+
this.moveToPreviousInput = (currentInput) => {
|
22662
|
+
var _a;
|
22663
|
+
this.preventAutoFormatting = false;
|
22664
|
+
(_a = this.inputsInOrder[this.inputsInOrder.findIndex((input) => input === currentInput) - 1]) === null || _a === void 0 ? void 0 : _a.focus();
|
22665
|
+
};
|
22666
|
+
this.autocompleteInput = (input) => {
|
22667
|
+
const inputValue = input.value;
|
22668
|
+
if (inputValue.length === 1) {
|
22669
|
+
input.value = `0${inputValue}`;
|
22670
|
+
}
|
22671
|
+
if (input.value) {
|
22672
|
+
this.setInputValue(input);
|
22673
|
+
}
|
22674
|
+
};
|
22675
|
+
this.convertToTime = (hour, minute, second) => {
|
22676
|
+
if (!isEmptyString(hour) &&
|
22677
|
+
!isEmptyString(minute) &&
|
22678
|
+
(this.isHHMMFormat() || !isEmptyString(second))) {
|
22679
|
+
const d = new Date();
|
22680
|
+
d.setHours(+hour, +minute, this.isHHMMFormat() ? 0 : +second, 0);
|
22681
|
+
return d;
|
22682
|
+
}
|
22683
|
+
else {
|
22684
|
+
return null;
|
22685
|
+
}
|
22686
|
+
};
|
22687
|
+
this.setInputsInOrder = () => {
|
22688
|
+
var _a;
|
22689
|
+
this.inputsInOrder = [];
|
22690
|
+
const shadowInputs = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll("input");
|
22691
|
+
if (shadowInputs) {
|
22692
|
+
shadowInputs.forEach((input) => this.inputsInOrder.push(input));
|
22693
|
+
}
|
22694
|
+
};
|
22695
|
+
this.updateInputValues = (hour, minute, second) => {
|
22696
|
+
if (this.hourInputEl && this.minuteInputEl && this.secondInputEl) {
|
22697
|
+
this.hourInputEl.value = hour;
|
22698
|
+
this.minuteInputEl.value = minute;
|
22699
|
+
this.secondInputEl.value = second;
|
22700
|
+
}
|
22701
|
+
};
|
22702
|
+
this.removeAriaLabelledBy = () => {
|
22703
|
+
var _a;
|
22704
|
+
(_a = this.inputCompContainerEl) === null || _a === void 0 ? void 0 : _a.removeAttribute(this.ARIA_LABELLED_BY);
|
22705
|
+
};
|
22706
|
+
this.setAriaLabelledBy = () => {
|
22707
|
+
var _a, _b, _c, _d;
|
22708
|
+
if (this.disabled &&
|
22709
|
+
((_a = this.inputCompContainerEl) === null || _a === void 0 ? void 0 : _a.getAttribute(this.ARIA_LABELLED_BY))) {
|
22710
|
+
this.removeAriaLabelledBy();
|
22711
|
+
return;
|
22712
|
+
}
|
22713
|
+
if (this.disabled) {
|
22714
|
+
return;
|
22715
|
+
}
|
22716
|
+
const labelEl = (_b = this.el.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector("label");
|
22717
|
+
const labelId = `${this.inputId}-label`;
|
22718
|
+
if (labelEl !== null && labelEl !== undefined) {
|
22719
|
+
labelEl.id = labelId;
|
22720
|
+
}
|
22721
|
+
const hasValidation = !isEmptyString(this.validationStatus) ||
|
22722
|
+
!isEmptyString(this.invalidTimeText);
|
22723
|
+
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}`;
|
22724
|
+
(_d = this.inputCompContainerEl) === null || _d === void 0 ? void 0 : _d.setAttribute(this.ARIA_LABELLED_BY, labelledBy);
|
22725
|
+
};
|
22726
|
+
this.getInputsInOrder = () => {
|
22727
|
+
const timeParts = this.timeFormat.split(":");
|
22728
|
+
return timeParts.map((part) => {
|
22729
|
+
switch (part.substring(0, 1)) {
|
22730
|
+
case "H":
|
22731
|
+
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) }));
|
22732
|
+
case "M":
|
22733
|
+
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) }));
|
22734
|
+
case "S":
|
22735
|
+
if (!this.isHHMMFormat()) {
|
22736
|
+
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) }));
|
22737
|
+
}
|
22738
|
+
return null;
|
22739
|
+
default:
|
22740
|
+
return null;
|
22741
|
+
}
|
22742
|
+
});
|
22743
|
+
};
|
22744
|
+
this.getDescOfInputsOrder = () => {
|
22745
|
+
return "hour, minute, and second";
|
22746
|
+
};
|
22747
|
+
this.getScreenReaderInfo = (validationStatus) => {
|
22748
|
+
let inputDescriptors = "";
|
22749
|
+
if (this.required) {
|
22750
|
+
inputDescriptors += "required";
|
22751
|
+
}
|
22752
|
+
if (validationStatus === IcInformationStatus.Error) {
|
22753
|
+
inputDescriptors += " invalid data";
|
22754
|
+
}
|
22755
|
+
return inputDescriptors === "" ? "" : inputDescriptors + ", ";
|
22756
|
+
};
|
22757
|
+
this.notifyScreenReader = (input) => {
|
22758
|
+
var _a;
|
22759
|
+
const liveRegion = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("#live-region");
|
22760
|
+
if (liveRegion) {
|
22761
|
+
liveRegion.textContent = `${input.value}, ${input.getAttribute(this.ARIA_LABEL)}`;
|
22762
|
+
}
|
22763
|
+
};
|
22764
|
+
this.handlePaste = (event) => {
|
22765
|
+
var _a;
|
22766
|
+
event.preventDefault();
|
22767
|
+
const pastedValue = ((_a = event.clipboardData) === null || _a === void 0 ? void 0 : _a.getData("Text")) || "";
|
22768
|
+
const isValidTime = this.isPastedStringTimeValid(pastedValue);
|
22769
|
+
this.setPastedValueAndValidation(isValidTime, pastedValue, event);
|
22770
|
+
};
|
22771
|
+
this.handleClearFocus = () => {
|
22772
|
+
this.removeLabelledBy = true;
|
22773
|
+
this.clearButtonFocused = true;
|
22774
|
+
this.isTimeSetFromKeyboardEvent = true;
|
22775
|
+
};
|
22776
|
+
this.handleClearBlur = (ev) => {
|
22777
|
+
this.clearButtonFocused = false;
|
22778
|
+
this.isTimeSetFromKeyboardEvent = true;
|
22779
|
+
const relatedTarget = ev.relatedTarget;
|
22780
|
+
if ((relatedTarget === null || relatedTarget === void 0 ? void 0 : relatedTarget.id) === "clock-button") {
|
22781
|
+
this.removeLabelledBy = false;
|
22782
|
+
return;
|
22783
|
+
}
|
22784
|
+
if (relatedTarget === null || relatedTarget === void 0 ? void 0 : relatedTarget.id.match(/(minute|second)-input$/)) {
|
22785
|
+
this.removeLabelledBy = false;
|
22786
|
+
return;
|
22787
|
+
}
|
22788
|
+
this.removeLabelledBy = true;
|
22789
|
+
};
|
22790
|
+
this.handleClockFocus = () => {
|
22791
|
+
this.clockFocused = true;
|
22792
|
+
};
|
22793
|
+
this.handleClockBlur = () => {
|
22794
|
+
this.clockFocused = false;
|
22795
|
+
};
|
22796
|
+
this.isPastedStringTimeValid = (value) => {
|
22797
|
+
if (this.isHHMMFormat()) {
|
22798
|
+
if (/^\d{2}:\d{2}$/.test(value)) {
|
22799
|
+
return value;
|
22800
|
+
}
|
22801
|
+
}
|
22802
|
+
else {
|
22803
|
+
if (/^\d{2}:\d{2}:\d{2}$/.test(value)) {
|
22804
|
+
return value;
|
22805
|
+
}
|
22806
|
+
if (/^\d{2}:\d{2}:\d{2}Z$/.test(value)) {
|
22807
|
+
return value.replace("Z", "");
|
22808
|
+
}
|
22809
|
+
const isoMatch = value.match(/T(\d{2}:\d{2}:\d{2})/);
|
22810
|
+
if (isoMatch) {
|
22811
|
+
return isoMatch[1];
|
22812
|
+
}
|
22813
|
+
}
|
22814
|
+
return false;
|
22815
|
+
};
|
22816
|
+
this.setPastedValueAndValidation = (isValidTime, pastedValue, event) => {
|
22817
|
+
if (isValidTime) {
|
22818
|
+
const timeParts = isValidTime.split(":");
|
22819
|
+
this.inputsInOrder.forEach((input, index) => {
|
22820
|
+
input.classList.add(this.FIT_TO_VALUE);
|
22821
|
+
const timeValue = timeParts[index] || "";
|
22822
|
+
input.value = timeValue.slice(0, 2);
|
22823
|
+
this.setInputValue(input);
|
22824
|
+
this.autocompleteInput(input);
|
22825
|
+
});
|
22826
|
+
if (this.isHHMMFormat() && this.second !== "") {
|
22827
|
+
this.second = "";
|
22828
|
+
}
|
22829
|
+
}
|
22830
|
+
else {
|
22831
|
+
const pasted = pastedValue.trim();
|
22832
|
+
if ((pasted.length === 1 || pasted.length === 2) && isNumeric(pasted)) {
|
22833
|
+
this.setInputPasteValue(event.target, pasted);
|
22834
|
+
this.setInputValue(event.target);
|
22835
|
+
}
|
22836
|
+
else {
|
22837
|
+
this.invalidTimeText = `Please paste a valid ${event.target.getAttribute(this.ARIA_LABEL)}`;
|
22838
|
+
this.validationStatus = IcInformationStatus.Error;
|
22839
|
+
}
|
22840
|
+
}
|
22841
|
+
};
|
22842
|
+
}
|
22843
|
+
watchInputHandler() {
|
22844
|
+
if (this.emitTimePartChange &&
|
22845
|
+
!this.externalSetTime &&
|
22846
|
+
!this.clearInput &&
|
22847
|
+
!(this.hour && this.minute && this.second) &&
|
22848
|
+
this.selectedTime === null) {
|
22849
|
+
this.emitIcChange(this.selectedTime);
|
22850
|
+
}
|
22851
|
+
}
|
22852
|
+
watchDisabledHandler() {
|
22853
|
+
removeDisabledFalse(this.disabled, this.el);
|
22854
|
+
}
|
22855
|
+
watchMaxHandler() {
|
22856
|
+
this.maxTime = this.parseTime(this.max);
|
22857
|
+
}
|
22858
|
+
watchMinHandler() {
|
22859
|
+
this.minTime = this.parseTime(this.min);
|
22860
|
+
}
|
22861
|
+
watchRequiredHandler() {
|
22862
|
+
var _a, _b;
|
22863
|
+
const labelEl = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("label");
|
22864
|
+
if (this.required) {
|
22865
|
+
const asteriskSpan = document.createElement("span");
|
22866
|
+
asteriskSpan.setAttribute("id", "asterisk-span");
|
22867
|
+
asteriskSpan.setAttribute("aria-hidden", "true");
|
22868
|
+
asteriskSpan.textContent = " *";
|
22869
|
+
labelEl === null || labelEl === void 0 ? void 0 : labelEl.appendChild(asteriskSpan);
|
22870
|
+
}
|
22871
|
+
else {
|
22872
|
+
const asteriskSpan = (_b = this.el.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector("#asterisk-span");
|
22873
|
+
if (asteriskSpan) {
|
22874
|
+
asteriskSpan.remove();
|
22875
|
+
}
|
22876
|
+
}
|
22877
|
+
}
|
22878
|
+
disconnectedCallback() {
|
22879
|
+
removeFormResetListener(this.el, this.handleFormReset);
|
22880
|
+
}
|
22881
|
+
componentWillLoad() {
|
22882
|
+
this.defaultHelperText = `Use format ${this.timeFormat}`;
|
22883
|
+
if (isEmptyString(this.helperText))
|
22884
|
+
this.helperText = this.defaultHelperText;
|
22885
|
+
if (this.value) {
|
22886
|
+
this.externalSetTime = true;
|
22887
|
+
this.setTime(this.value);
|
22888
|
+
}
|
22889
|
+
this.screenReaderInfoId = `${this.inputId}-screen-reader-info`;
|
22890
|
+
this.assistiveHintId = `${this.inputId}-assistive-hint`;
|
22891
|
+
this.selectedTimeInfoId = `${this.inputId}-selected-time-info`;
|
22892
|
+
addFormResetListener(this.el, this.handleFormReset);
|
22893
|
+
removeDisabledFalse(this.disabled, this.el);
|
22894
|
+
}
|
22895
|
+
componentDidLoad() {
|
22896
|
+
this.setInputsInOrder();
|
22897
|
+
onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Time Input");
|
22898
|
+
if (this.value) {
|
22899
|
+
this.updateInputValues(this.hour, this.minute, this.second);
|
22900
|
+
this.inputsInOrder.forEach((input) => {
|
22901
|
+
input.classList.add(this.FIT_TO_VALUE);
|
22902
|
+
});
|
22903
|
+
}
|
22904
|
+
this.setAriaInvalid(this.isValidHour, this.isValidMinute, this.isValidSecond);
|
22905
|
+
if (this.value) {
|
22906
|
+
this.notifyScreenReaderSelectedTime();
|
22907
|
+
}
|
22908
|
+
this.inputsInOrder.forEach((input) => {
|
22909
|
+
input.addEventListener("input", this.handleInput);
|
22910
|
+
input.addEventListener("focus", this.handleFocus);
|
22911
|
+
input.addEventListener("blur", this.handleBlur);
|
22912
|
+
});
|
22913
|
+
this.watchRequiredHandler();
|
22914
|
+
}
|
22915
|
+
componentWillUpdate() {
|
22916
|
+
if (isEmptyString(this.helperText))
|
22917
|
+
this.helperText = this.defaultHelperText;
|
22918
|
+
if (!this.isTimeSetFromKeyboardEvent)
|
22919
|
+
this.setTime(this.value);
|
22920
|
+
this.setAriaInvalid(this.isValidHour, this.isValidMinute, this.isValidSecond);
|
22921
|
+
this.handleTimeChange(false);
|
22922
|
+
this.isTimeSetFromKeyboardEvent = false;
|
22923
|
+
}
|
22924
|
+
componentDidRender() {
|
22925
|
+
if (this.removeLabelledBy) {
|
22926
|
+
this.removeAriaLabelledBy();
|
22927
|
+
return;
|
22928
|
+
}
|
22929
|
+
this.setAriaLabelledBy();
|
22930
|
+
}
|
22931
|
+
/**
|
22932
|
+
* Returns the value as a Date object
|
22933
|
+
* @returns Date
|
22934
|
+
*/
|
22935
|
+
async getTime() {
|
22936
|
+
return this.selectedTime;
|
22937
|
+
}
|
22938
|
+
/**
|
22939
|
+
* @internal Used to enable other components to invoke an IcChange event from the input.
|
22940
|
+
*/
|
22941
|
+
async triggerIcChange(t) {
|
22942
|
+
this.externalSetTime = true;
|
22943
|
+
this.setTime(t);
|
22944
|
+
this.emitIcChange(t);
|
22945
|
+
this.externalSetTime = false;
|
22946
|
+
}
|
22947
|
+
render() {
|
22948
|
+
const { inputId, label, disabled, helperText, hideHelperText, hideLabel, showClearButton, showClockButton, size, theme, } = this;
|
22949
|
+
const hasCustomValidation = !isEmptyString(this.validationStatus);
|
22950
|
+
const validationStatus = hasCustomValidation
|
22951
|
+
? this.validationStatus
|
22952
|
+
: !isEmptyString(this.invalidTimeText)
|
22953
|
+
? IcInformationStatus.Error
|
22954
|
+
: "";
|
22955
|
+
const assistiveHint = `Type or use the up and down arrow keys to change the values for the ${this.getDescOfInputsOrder()}.`;
|
22956
|
+
renderHiddenInput(true, this.el, this.name, this.convertToTime(this.hour, this.minute, this.second), this.disabled);
|
22957
|
+
const showDivider = !!(showClearButton &&
|
22958
|
+
!(isEmptyString(this.hour) &&
|
22959
|
+
isEmptyString(this.minute) &&
|
22960
|
+
isEmptyString(this.second)));
|
22961
|
+
return (hAsync(Host, { key: 'cf8b05ab0ccc0a0a779296e4dd3ba52375547b13', class: {
|
22962
|
+
[`ic-theme-${theme}`]: theme !== "inherit",
|
22963
|
+
[`ic-time-input-disabled`]: disabled,
|
22964
|
+
[`ic-time-input-${size}`]: true,
|
22965
|
+
}, 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" }, [
|
22966
|
+
this.getInputsInOrder()[0],
|
22967
|
+
":",
|
22968
|
+
this.getInputsInOrder()[1],
|
22969
|
+
!this.isHHMMFormat()
|
22970
|
+
? [":", this.getInputsInOrder()[2]]
|
22971
|
+
: null,
|
22972
|
+
]), hAsync("div", { key: 'f09f3442355e75170fb1916727fdcac001df885d', class: "action-buttons" }, showClearButton && (hAsync("ic-button", { key: '27173fcbdcd13798c4adc66eda9469bc471693ea', id: "clear-button", "aria-label": "Clear input", class: {
|
22973
|
+
["clear-button"]: true,
|
22974
|
+
["hidden"]: isEmptyString(this.hour) &&
|
22975
|
+
isEmptyString(this.minute) &&
|
22976
|
+
isEmptyString(this.second),
|
22977
|
+
}, 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 })))));
|
22978
|
+
}
|
22979
|
+
static get delegatesFocus() { return true; }
|
22980
|
+
get el() { return getElement(this); }
|
22981
|
+
static get watchers() { return {
|
22982
|
+
"hour": ["watchInputHandler"],
|
22983
|
+
"minute": ["watchInputHandler"],
|
22984
|
+
"second": ["watchInputHandler"],
|
22985
|
+
"disabled": ["watchDisabledHandler"],
|
22986
|
+
"max": ["watchMaxHandler"],
|
22987
|
+
"min": ["watchMinHandler"],
|
22988
|
+
"required": ["watchRequiredHandler"]
|
22989
|
+
}; }
|
22990
|
+
static get style() { return IcTimeInputStyle0; }
|
22991
|
+
static get cmpMeta() { return {
|
22992
|
+
"$flags$": 25,
|
22993
|
+
"$tagName$": "ic-time-input",
|
22994
|
+
"$members$": {
|
22995
|
+
"disabled": [4],
|
22996
|
+
"disableTimes": [16],
|
22997
|
+
"emitTimePartChange": [4, "emit-time-part-change"],
|
22998
|
+
"helperText": [1025, "helper-text"],
|
22999
|
+
"hideHelperText": [4, "hide-helper-text"],
|
23000
|
+
"hideLabel": [4, "hide-label"],
|
23001
|
+
"inputId": [1, "input-id"],
|
23002
|
+
"invalidTimeMessage": [1, "invalid-time-message"],
|
23003
|
+
"label": [1],
|
23004
|
+
"max": [1],
|
23005
|
+
"min": [1],
|
23006
|
+
"name": [1],
|
23007
|
+
"required": [4],
|
23008
|
+
"showClearButton": [4, "show-clear-button"],
|
23009
|
+
"showClockButton": [4, "show-clock-button"],
|
23010
|
+
"size": [1],
|
23011
|
+
"theme": [1],
|
23012
|
+
"timeFormat": [1, "time-format"],
|
23013
|
+
"timePeriod": [1, "time-period"],
|
23014
|
+
"value": [1025],
|
23015
|
+
"validationStatus": [1025, "validation-status"],
|
23016
|
+
"validationText": [1, "validation-text"],
|
23017
|
+
"invalidTimeText": [32],
|
23018
|
+
"clockFocused": [32],
|
23019
|
+
"clearButtonFocused": [32],
|
23020
|
+
"removeLabelledBy": [32],
|
23021
|
+
"hour": [32],
|
23022
|
+
"minute": [32],
|
23023
|
+
"second": [32],
|
23024
|
+
"getTime": [64],
|
23025
|
+
"triggerIcChange": [64]
|
23026
|
+
},
|
23027
|
+
"$listeners$": undefined,
|
23028
|
+
"$lazyBundleId$": "-",
|
23029
|
+
"$attrsToReflect$": []
|
23030
|
+
}; }
|
23031
|
+
}
|
23032
|
+
|
23033
|
+
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}}";
|
23034
|
+
var IcToastStyle0 = icToastCss;
|
23035
|
+
|
23036
|
+
const AUTO_DISMISS_TIMER_REFRESH_RATE_MS = 1000;
|
23037
|
+
const TOAST_HEADING_CHAR_LIMIT = 70;
|
23038
|
+
const TOAST_MESSAGE_CHAR_LIMIT = 140;
|
23039
|
+
/**
|
23040
|
+
* @slot action - IcButton or IcLink is placed below header and message. If used will default toast to manual `dismiss` type.
|
23041
|
+
* @slot neutral-icon - A custom neutral icon is placed on the left side of the component. If used will default toast to `neutral` variant.
|
23042
|
+
*/
|
23043
|
+
class Toast {
|
23044
|
+
constructor(hostRef) {
|
23045
|
+
registerInstance(this, hostRef);
|
23046
|
+
this.icDismiss = createEvent(this, "icDismiss", 7);
|
23047
|
+
this.interactiveElements = [];
|
23048
|
+
this.timerProgress = 100;
|
23049
|
+
this.visible = false;
|
23050
|
+
/**
|
23051
|
+
* If toast dismissMode is set to `automatic`, use this prop to define the time before the toast dismisses (in MILLISECONDS)
|
23052
|
+
* (NOTE: Has a minimum value of `5000ms`)
|
23053
|
+
*/
|
23054
|
+
this.autoDismissTimeout = 5000;
|
23055
|
+
/**
|
23056
|
+
* If toast can be manually dismissed, this prop sets a custom aria-label for the ic-button component
|
23057
|
+
*/
|
23058
|
+
this.dismissButtonAriaLabel = "dismiss";
|
23059
|
+
/**
|
23060
|
+
* How the toast will be dismissed. If manual will display a dismiss button.
|
23061
|
+
*/
|
23062
|
+
this.dismissMode = "manual";
|
23063
|
+
this.dismissAction = () => {
|
23064
|
+
this.icDismiss.emit();
|
23065
|
+
};
|
23066
|
+
this.handleProgressChange = () => {
|
23067
|
+
this.timerProgress -=
|
23068
|
+
(AUTO_DISMISS_TIMER_REFRESH_RATE_MS / this.autoDismissTimeout) * 100;
|
21948
23069
|
};
|
21949
23070
|
this.onFocus = () => {
|
21950
23071
|
if (this.focusInteractiveElement) {
|
@@ -22114,13 +23235,13 @@ class Toast {
|
|
22114
23235
|
}
|
22115
23236
|
render() {
|
22116
23237
|
const { variant, heading, message, visible, isManual, dismissButtonAriaLabel, } = this;
|
22117
|
-
return (hAsync(Host, { key: '
|
23238
|
+
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: {
|
22118
23239
|
["divider"]: true,
|
22119
23240
|
[`divider-${variant}`]: true,
|
22120
|
-
} }), variant === "neutral" ? (hAsync("slot", { name: "neutral-icon" })) : (hAsync("span", { class: "toast-icon", innerHTML: VARIANT_ICONS[variant].icon })))), hAsync("div", { key: '
|
23241
|
+
} }), variant === "neutral" ? (hAsync("slot", { name: "neutral-icon" })) : (hAsync("span", { class: "toast-icon", innerHTML: VARIANT_ICONS[variant].icon })))), hAsync("div", { key: 'faec1abb053c98b482f2cbbc3b6cbb097bc7cfca', class: {
|
22121
23242
|
["toast-content"]: true,
|
22122
23243
|
["no-icon"]: variant === "neutral" && !isSlotUsed$1(this.el, "neutral-icon"),
|
22123
|
-
} }, hAsync("div", { key: '
|
23244
|
+
} }, 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 })))));
|
22124
23245
|
}
|
22125
23246
|
get el() { return getElement(this); }
|
22126
23247
|
static get watchers() { return {
|
@@ -22192,7 +23313,7 @@ class ToastRegion {
|
|
22192
23313
|
}
|
22193
23314
|
}
|
22194
23315
|
render() {
|
22195
|
-
return hAsync("slot", { key: '
|
23316
|
+
return hAsync("slot", { key: '304f72b97b4c6fe1ff998e46f6d2daf80dca9c18' });
|
22196
23317
|
}
|
22197
23318
|
get el() { return getElement(this); }
|
22198
23319
|
static get watchers() { return {
|
@@ -22352,7 +23473,7 @@ class ToggleButton {
|
|
22352
23473
|
render() {
|
22353
23474
|
const { accessibleLabel, checked, disabled, fullWidth, iconPlacement, monochrome, label, loading, outline, size, theme, tooltipPlacement, variant, } = this;
|
22354
23475
|
const iconVariant = variant === "icon";
|
22355
|
-
return (hAsync(Host, { key: '
|
23476
|
+
return (hAsync(Host, { key: 'f8fcf3d711713e186960027c00f605b09350eb1b', class: {
|
22356
23477
|
"ic-toggle-button-checked": checked,
|
22357
23478
|
"ic-toggle-button-disabled": disabled,
|
22358
23479
|
"ic-toggle-button-icon": iconVariant,
|
@@ -22362,7 +23483,7 @@ class ToggleButton {
|
|
22362
23483
|
"ic-toggle-button-hide-outline": !outline,
|
22363
23484
|
[`ic-toggle-button-${size}`]: true,
|
22364
23485
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
22365
|
-
}, onFocus: this.handleFocus }, hAsync("ic-button", { key: '
|
23486
|
+
}, 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" })))));
|
22366
23487
|
}
|
22367
23488
|
static get delegatesFocus() { return true; }
|
22368
23489
|
get el() { return getElement(this); }
|
@@ -22623,14 +23744,14 @@ class ToggleButtonGroup {
|
|
22623
23744
|
}
|
22624
23745
|
render() {
|
22625
23746
|
const { accessibleLabel, disabled, fullWidth, loading, monochrome, outline, theme, } = this;
|
22626
|
-
return (hAsync(Host, { key: '
|
23747
|
+
return (hAsync(Host, { key: 'bac81c86de7bedb193b11682ba0e845c6fb2e767', role: "group", "aria-label": accessibleLabel, tabindex: 0, class: {
|
22627
23748
|
"ic-toggle-button-group-disabled": disabled,
|
22628
23749
|
"ic-toggle-button-group-full-width": fullWidth,
|
22629
23750
|
"ic-toggle-button-group-loading": loading,
|
22630
23751
|
"ic-toggle-button-group-monochrome": monochrome,
|
22631
23752
|
"ic-toggle-button-group-hide-outline": !outline,
|
22632
23753
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
22633
|
-
}, onFocus: this.handleHostFocus }, hAsync("slot", { key: '
|
23754
|
+
}, onFocus: this.handleHostFocus }, hAsync("slot", { key: '66dd0f8c1aff7be57ecc0abf5386cdc43f64eb80' })));
|
22634
23755
|
}
|
22635
23756
|
get el() { return getElement(this); }
|
22636
23757
|
static get watchers() { return {
|
@@ -22670,18 +23791,16 @@ class ToggleButtonGroup {
|
|
22670
23791
|
}; }
|
22671
23792
|
}
|
22672
23793
|
|
22673
|
-
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)
|
23794
|
+
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)}}";
|
22674
23795
|
var IcTooltipStyle0 = icTooltipCss;
|
22675
23796
|
|
22676
23797
|
class Tooltip {
|
22677
23798
|
constructor(hostRef) {
|
22678
23799
|
registerInstance(this, hostRef);
|
22679
23800
|
this.delayedHideEvents = ["mouseleave"];
|
22680
|
-
this.dialogOverflow = false;
|
22681
23801
|
this.instantHideEvents = ["focusout"];
|
22682
23802
|
this.mouseOverTool = false;
|
22683
23803
|
this.persistTooltip = false;
|
22684
|
-
this.onDialog = false;
|
22685
23804
|
this.showEvents = [
|
22686
23805
|
!this.disableHover && "mouseenter",
|
22687
23806
|
!this.disableHover && "focusin",
|
@@ -22708,76 +23827,11 @@ class Tooltip {
|
|
22708
23827
|
*/
|
22709
23828
|
this.theme = "inherit";
|
22710
23829
|
this.popperProps = {};
|
22711
|
-
this.getTooltipTranslate = (dialogEl) => {
|
22712
|
-
const child = this.el.children[0].getBoundingClientRect();
|
22713
|
-
let tooltipX;
|
22714
|
-
let tooltipY;
|
22715
|
-
switch (this.placement) {
|
22716
|
-
case "bottom":
|
22717
|
-
tooltipX = child.left - dialogEl.left - 0.5 * child.width;
|
22718
|
-
tooltipY = child.bottom - dialogEl.top;
|
22719
|
-
break;
|
22720
|
-
case "bottom-start":
|
22721
|
-
tooltipX = child.left - dialogEl.left;
|
22722
|
-
tooltipY = child.bottom - dialogEl.top;
|
22723
|
-
break;
|
22724
|
-
case "bottom-end":
|
22725
|
-
tooltipX = child.right - dialogEl.right;
|
22726
|
-
tooltipY = child.bottom - dialogEl.top;
|
22727
|
-
break;
|
22728
|
-
case "top":
|
22729
|
-
tooltipX = child.left - dialogEl.left - 0.5 * child.width;
|
22730
|
-
tooltipY = child.top - dialogEl.bottom;
|
22731
|
-
break;
|
22732
|
-
case "top-start":
|
22733
|
-
tooltipX = child.left - dialogEl.left;
|
22734
|
-
tooltipY = child.top - dialogEl.bottom;
|
22735
|
-
break;
|
22736
|
-
case "top-end":
|
22737
|
-
tooltipX = child.right - dialogEl.right;
|
22738
|
-
tooltipY = child.top - dialogEl.bottom;
|
22739
|
-
break;
|
22740
|
-
case "left":
|
22741
|
-
case "left-start":
|
22742
|
-
tooltipX = child.right - dialogEl.right - child.width;
|
22743
|
-
tooltipY = child.bottom - dialogEl.top - child.height;
|
22744
|
-
break;
|
22745
|
-
case "left-end":
|
22746
|
-
tooltipX = child.right - dialogEl.right - child.width;
|
22747
|
-
tooltipY = child.top - dialogEl.bottom + child.height;
|
22748
|
-
break;
|
22749
|
-
case "right":
|
22750
|
-
case "right-start":
|
22751
|
-
tooltipX = child.left - dialogEl.left + child.width;
|
22752
|
-
tooltipY = child.bottom - dialogEl.top - child.height;
|
22753
|
-
break;
|
22754
|
-
case "right-end":
|
22755
|
-
tooltipX = child.left - dialogEl.left + child.width;
|
22756
|
-
tooltipY = child.top - dialogEl.bottom + child.height;
|
22757
|
-
break;
|
22758
|
-
}
|
22759
|
-
if (this.dialogOverflow && tooltipX && tooltipX < 0) {
|
22760
|
-
if (this.placement.includes("top") ||
|
22761
|
-
this.placement.includes("bottom")) {
|
22762
|
-
this.toolTip.style.setProperty("--tooltip-arrow-translate", `${tooltipX}px`);
|
22763
|
-
tooltipX = child.left - dialogEl.left;
|
22764
|
-
}
|
22765
|
-
if (this.placement.includes("left")) {
|
22766
|
-
this.placement = "right";
|
22767
|
-
tooltipX = child.left - dialogEl.left + child.width;
|
22768
|
-
}
|
22769
|
-
}
|
22770
|
-
this.toolTip.style.setProperty("--tooltip-translate-x", `${tooltipX}px`);
|
22771
|
-
this.toolTip.style.setProperty("--tooltip-translate-y", `${tooltipY}px`);
|
22772
|
-
};
|
22773
23830
|
this.show = () => {
|
22774
|
-
var _a, _b, _c;
|
22775
23831
|
if (this.label) {
|
22776
23832
|
this.toolTip.setAttribute("data-show", "");
|
22777
|
-
if (this.
|
22778
|
-
this.el.classList.add("on-dialog");
|
22779
|
-
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();
|
22780
|
-
dialogEl && this.getTooltipTranslate(dialogEl);
|
23833
|
+
if (this.dialogContentArea) {
|
23834
|
+
this.el.classList.add("ic-tooltip-on-dialog");
|
22781
23835
|
}
|
22782
23836
|
this.popperInstance = createPopper(this.el, this.toolTip, Object.assign({ placement: this.placement, modifiers: [
|
22783
23837
|
{
|
@@ -22796,6 +23850,23 @@ class Tooltip {
|
|
22796
23850
|
name: "eventListeners",
|
22797
23851
|
options: { scroll: false, resize: false },
|
22798
23852
|
},
|
23853
|
+
...(this.dialogContentArea
|
23854
|
+
? [
|
23855
|
+
{
|
23856
|
+
name: "preventOverflow",
|
23857
|
+
options: {
|
23858
|
+
boundary: this.dialogContentArea,
|
23859
|
+
padding: 8,
|
23860
|
+
},
|
23861
|
+
},
|
23862
|
+
{
|
23863
|
+
name: "flip",
|
23864
|
+
options: {
|
23865
|
+
boundary: this.dialogContentArea,
|
23866
|
+
},
|
23867
|
+
},
|
23868
|
+
]
|
23869
|
+
: []),
|
22799
23870
|
] }, this.popperProps));
|
22800
23871
|
}
|
22801
23872
|
else {
|
@@ -22893,12 +23964,17 @@ class Tooltip {
|
|
22893
23964
|
}
|
22894
23965
|
}
|
22895
23966
|
componentDidLoad() {
|
22896
|
-
var _a;
|
23967
|
+
var _a, _b;
|
22897
23968
|
this.manageEventListeners("add");
|
22898
|
-
|
22899
|
-
this.
|
22900
|
-
|
22901
|
-
|
23969
|
+
let dialog;
|
23970
|
+
if (this.el.getRootNode().host) {
|
23971
|
+
dialog = this.el.getRootNode().host.closest("ic-dialog");
|
23972
|
+
}
|
23973
|
+
else {
|
23974
|
+
dialog = this.el.closest("ic-dialog");
|
23975
|
+
}
|
23976
|
+
this.dialogContentArea =
|
23977
|
+
(_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;
|
22902
23978
|
onComponentRequiredPropUndefined$1([{ prop: this.label, propName: "label" }], "Tooltip");
|
22903
23979
|
}
|
22904
23980
|
componentDidRender() {
|
@@ -22925,10 +24001,10 @@ class Tooltip {
|
|
22925
24001
|
}
|
22926
24002
|
render() {
|
22927
24003
|
const { label, maxLines, silent, theme } = this;
|
22928
|
-
return (hAsync(Host, { key: '
|
24004
|
+
return (hAsync(Host, { key: '45c8808ecc7904b44e269ec6ae844da6f75710f0', class: {
|
22929
24005
|
"ic-tooltip": true,
|
22930
24006
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
22931
|
-
} }, hAsync("div", { key: '
|
24007
|
+
} }, 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' })));
|
22932
24008
|
}
|
22933
24009
|
get el() { return getElement(this); }
|
22934
24010
|
static get watchers() { return {
|
@@ -22944,7 +24020,7 @@ class Tooltip {
|
|
22944
24020
|
"disableClick": [4, "disable-click"],
|
22945
24021
|
"disableHover": [4, "disable-hover"],
|
22946
24022
|
"maxLines": [2, "max-lines"],
|
22947
|
-
"placement": [
|
24023
|
+
"placement": [1],
|
22948
24024
|
"silent": [4],
|
22949
24025
|
"target": [513],
|
22950
24026
|
"theme": [1],
|
@@ -23177,16 +24253,16 @@ class TopNavigation {
|
|
23177
24253
|
const attrs = Component == "a" && {
|
23178
24254
|
href: href,
|
23179
24255
|
};
|
23180
|
-
return (hAsync(Host, { key: '
|
24256
|
+
return (hAsync(Host, { key: 'b0d2e6aebeb66ddb4ca659cfba83e2cdbd6ec3f4', class: {
|
23181
24257
|
"fullwidth-searchbar": hasFullWidthSearchBar,
|
23182
24258
|
"mobile-mode": overMobileBreakpoint,
|
23183
24259
|
[IcBrandForegroundEnum$1.Dark]: foregroundColor === IcBrandForegroundEnum$1.Dark,
|
23184
24260
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
23185
|
-
} }, hAsync("div", { key: '
|
24261
|
+
} }, 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 &&
|
23186
24262
|
(!isEmptyString$1(shortAppTitle) || shortAppTitleSlot) ? (hAsync("ic-typography", { variant: "subtitle-small", "aria-label": (!hasAppTitleSlot || !shortAppTitleSlot) &&
|
23187
|
-
`${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: '
|
24263
|
+
`${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: {
|
23188
24264
|
inline,
|
23189
|
-
} }, hasIconButtons && (hAsync("div", { key: '
|
24265
|
+
} }, 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" }))))));
|
23190
24266
|
}
|
23191
24267
|
get el() { return getElement(this); }
|
23192
24268
|
static get watchers() { return {
|
@@ -23514,7 +24590,7 @@ class TreeItem {
|
|
23514
24590
|
rel: this.rel,
|
23515
24591
|
target: this.target,
|
23516
24592
|
};
|
23517
|
-
return (hAsync(Host, { key: '
|
24593
|
+
return (hAsync(Host, { key: 'd46ba231b2a4e4b223df95b23064b4657fc59eb9', class: {
|
23518
24594
|
"ic-tree-item-disabled": disabled,
|
23519
24595
|
"ic-tree-item-selected": !disabled && selected,
|
23520
24596
|
[`ic-tree-item-${size}`]: size !== "medium",
|
@@ -23525,7 +24601,7 @@ class TreeItem {
|
|
23525
24601
|
}, 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: {
|
23526
24602
|
["arrow-dropdown"]: true,
|
23527
24603
|
["tree-item-expanded"]: expanded,
|
23528
|
-
}, "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: '
|
24604
|
+
}, "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' })))));
|
23529
24605
|
}
|
23530
24606
|
get el() { return getElement(this); }
|
23531
24607
|
static get watchers() { return {
|
@@ -23882,14 +24958,14 @@ class TreeView {
|
|
23882
24958
|
}
|
23883
24959
|
render() {
|
23884
24960
|
const { heading, isLoaded, size, theme, truncateHeading } = this;
|
23885
|
-
return (hAsync(Host, { key: '
|
24961
|
+
return (hAsync(Host, { key: '2b58b217bf98ece972496384d43f498460a9824e', "context-id": this.treeViewId, class: {
|
23886
24962
|
[`ic-tree-view-${size}`]: size !== "medium",
|
23887
24963
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
23888
24964
|
"ic-tree-view-truncate": truncateHeading,
|
23889
|
-
}, onKeyDown: this.handleKeyDown, "aria-label": this.isHeadingDefined() ? heading : null }, this.hasHeadingAreaContent() && (hAsync("div", { key: '
|
24965
|
+
}, 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: {
|
23890
24966
|
"tree-view-header": true,
|
23891
24967
|
"with-padding": this.truncateHeading && !isLoaded,
|
23892
|
-
} }, isSlotUsed(this.el, "heading") ? (hAsync("slot", { name: "heading" })) : (heading)))), hAsync("slot", { key: '
|
24968
|
+
} }, isSlotUsed(this.el, "heading") ? (hAsync("slot", { name: "heading" })) : (heading)))), hAsync("slot", { key: '8f385af9272ed7ee3847bab9173c0f43aa450de4' })));
|
23893
24969
|
}
|
23894
24970
|
get el() { return getElement(this); }
|
23895
24971
|
static get watchers() { return {
|
@@ -24087,7 +25163,7 @@ class Typography {
|
|
24087
25163
|
render() {
|
24088
25164
|
var _a, _b;
|
24089
25165
|
const { variant, applyVerticalMargins, maxLines, truncated, expanded, strikethrough, underline, italic, bold, theme, } = this;
|
24090
|
-
return (hAsync(Host, { key: '
|
25166
|
+
return (hAsync(Host, { key: '0f64ad9e02b32790b2bc269df212468b2f9426f7', class: {
|
24091
25167
|
[`ic-typography-${variant}`]: true,
|
24092
25168
|
[`ic-typography-vertical-margins-${variant}`]: !!applyVerticalMargins,
|
24093
25169
|
["ic-typography-bold"]: !!bold,
|
@@ -24100,7 +25176,7 @@ class Typography {
|
|
24100
25176
|
((_b = (_a = this.el.getRootNode()) === null || _a === void 0 ? void 0 : _a.host) === null || _b === void 0 ? void 0 : _b.tagName) ===
|
24101
25177
|
"IC-TOOLTIP") &&
|
24102
25178
|
maxLines &&
|
24103
|
-
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: '
|
25179
|
+
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"))));
|
24104
25180
|
}
|
24105
25181
|
get el() { return getElement(this); }
|
24106
25182
|
static get watchers() { return {
|
@@ -24135,6 +25211,7 @@ class Typography {
|
|
24135
25211
|
registerComponents([
|
24136
25212
|
Accordion,
|
24137
25213
|
AccordionGroup,
|
25214
|
+
ActionChip,
|
24138
25215
|
Alert,
|
24139
25216
|
BackToTop,
|
24140
25217
|
Badge,
|
@@ -24197,6 +25274,7 @@ registerComponents([
|
|
24197
25274
|
TabPanel,
|
24198
25275
|
TextField,
|
24199
25276
|
Theme,
|
25277
|
+
TimeInput,
|
24200
25278
|
Toast,
|
24201
25279
|
ToastRegion,
|
24202
25280
|
ToggleButton,
|