@siemens/ix 5.2.0 → 5.2.1
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/READMEOSS.html +1 -1
- package/components/index.js +1 -1
- package/components/ix-action-card.js +1 -1
- package/components/ix-application-header.js +1 -1
- package/components/ix-application-switch-modal.js +1 -1
- package/components/ix-avatar.js +1 -1
- package/components/ix-badge.js +1 -1
- package/components/ix-blind.js +1 -1
- package/components/ix-breadcrumb-item.js +1 -1
- package/components/ix-breadcrumb.js +1 -1
- package/components/ix-button.js +1 -1
- package/components/ix-card-accordion.js +1 -1
- package/components/ix-card-list.js +1 -1
- package/components/ix-category-filter.js +1 -1
- package/components/ix-chat-attachment.js +1 -1
- package/components/ix-chat-input.js +1 -1
- package/components/ix-checkbox-group.js +1 -1
- package/components/ix-checkbox.js +1 -1
- package/components/ix-chip.js +1 -1
- package/components/ix-content-header.js +1 -1
- package/components/ix-custom-field.js +1 -1
- package/components/ix-date-dropdown.js +1 -1
- package/components/ix-date-input.js +1 -1
- package/components/ix-date-picker.js +1 -1
- package/components/ix-datetime-input.js +1 -1
- package/components/ix-datetime-picker.js +1 -1
- package/components/ix-dropdown-button.js +1 -1
- package/components/ix-dropdown-item.js +1 -1
- package/components/ix-dropdown.js +1 -1
- package/components/ix-empty-state.js +1 -1
- package/components/ix-event-list-item.js +1 -1
- package/components/ix-event-list.js +1 -1
- package/components/ix-expanding-search.js +1 -1
- package/components/ix-field-label.js +1 -1
- package/components/ix-field-wrapper.js +1 -1
- package/components/ix-filter-chip.js +1 -1
- package/components/ix-flip-tile.js +1 -1
- package/components/ix-group-context-menu.js +1 -1
- package/components/ix-group.js +1 -1
- package/components/ix-helper-text.js +1 -1
- package/components/ix-icon-button.js +1 -1
- package/components/ix-icon-toggle-button.js +1 -1
- package/components/ix-input.js +1 -1
- package/components/ix-menu-about-news.js +1 -1
- package/components/ix-menu-about.js +1 -1
- package/components/ix-menu-avatar-item.js +1 -1
- package/components/ix-menu-avatar.js +1 -1
- package/components/ix-menu-category.js +1 -1
- package/components/ix-menu-expand-icon.js +1 -1
- package/components/ix-menu-item.js +1 -1
- package/components/ix-menu-settings.js +1 -1
- package/components/ix-menu.js +1 -1
- package/components/ix-message-bar.js +1 -1
- package/components/ix-modal-header.js +1 -1
- package/components/ix-modal-loading.js +1 -1
- package/components/ix-modal.js +1 -1
- package/components/ix-number-input.js +1 -1
- package/components/ix-pagination.js +1 -1
- package/components/ix-pane.js +1 -1
- package/components/ix-pill.js +1 -1
- package/components/ix-popover-header.js +1 -1
- package/components/ix-popover.js +1 -1
- package/components/ix-progress-indicator.js +1 -1
- package/components/ix-push-card.js +1 -1
- package/components/ix-radio-group.js +1 -1
- package/components/ix-radio.js +1 -1
- package/components/ix-select-item.js +1 -1
- package/components/ix-select.js +1 -1
- package/components/ix-slider.js +1 -1
- package/components/ix-spinner.js +1 -1
- package/components/ix-split-button.js +1 -1
- package/components/ix-tab-item.js +1 -1
- package/components/ix-tabs.js +1 -1
- package/components/ix-textarea.js +1 -1
- package/components/ix-time-input.js +1 -1
- package/components/ix-time-picker.js +1 -1
- package/components/ix-toast-container.js +1 -1
- package/components/ix-toast.js +1 -1
- package/components/ix-toggle-button.js +1 -1
- package/components/ix-toggle.js +1 -1
- package/components/ix-tooltip.js +1 -1
- package/components/ix-upload.js +1 -1
- package/components/ix-workflow-step.js +1 -1
- package/components/{p-Bs5X90wM.js → p-B3ZUi0gM.js} +1 -1
- package/components/p-BE708_H3.js +1 -0
- package/components/p-BF2IsI5j.js +1 -0
- package/components/{p-l9UTiHpM.js → p-BGpGr8Qv.js} +1 -1
- package/components/{p-CEE0wwD3.js → p-BKCLcJ_A.js} +1 -1
- package/components/{p-D7sEY2UQ.js → p-BKVBe7Co.js} +1 -1
- package/components/{p-3U_cSqu_.js → p-BOImZPcG.js} +1 -1
- package/components/{p-CtZAuwv3.js → p-BpE93ty6.js} +1 -1
- package/components/p-BqeSHO6C.js +1 -0
- package/components/{p-BGOtCwtj.js → p-CAd-WgR8.js} +1 -1
- package/components/p-CFH9HkmQ.js +1 -0
- package/components/p-CGGWaScq.js +1 -0
- package/components/{p-WisOWbJ8.js → p-CHJbp28K.js} +1 -1
- package/components/{p-BQ-hS49k.js → p-CRbQNmxe.js} +1 -1
- package/components/{p-DmtgI24u.js → p-CYgC-XN6.js} +1 -1
- package/components/p-CiP3eKpd.js +1 -0
- package/components/{p-OxstEnSC.js → p-CqWfy46u.js} +1 -1
- package/components/p-D5-dW4IM.js +1 -0
- package/components/p-DB-zpRCO.js +1 -0
- package/components/{p-C21npbUc.js → p-DD206pTM.js} +1 -1
- package/components/{p-D_HzQCU-.js → p-DIq_C5Sa.js} +1 -1
- package/components/p-DKU5FVxI.js +1 -0
- package/components/{p-snX1FfdL.js → p-DLgZfUmI.js} +1 -1
- package/components/p-DXmwthlZ.js +1 -0
- package/components/p-D_VBAyPm.js +1 -0
- package/components/p-DcOoa9vE.js +1 -0
- package/components/{p-CatmTvkh.js → p-DyC90hvu.js} +1 -1
- package/components/p-DzDB4UBp.js +1 -0
- package/components/p-QnnFQ3fz.js +1 -0
- package/components/p-WX1HYV2-.js +1 -0
- package/components/{p-BC2PyjjU.js → p-_irxfS9S.js} +1 -1
- package/components/{p-CUpOF7jN.js → p-n2_EOgMr.js} +1 -1
- package/components/p-q_MHsaAK.js +1 -0
- package/components/{p-eGuQ8D3W.js → p-viP8I2_s.js} +1 -1
- package/dist/cjs/{a11y-_XjpTo2w.js → a11y--G19CFwe.js} +1 -0
- package/dist/cjs/{animation-hxDbANsw.js → animation-BIfSQAkX.js} +8 -12
- package/dist/cjs/{base-button-BP6iIMR7.js → base-button-DIhNZecD.js} +1 -1
- package/dist/cjs/{base-icon-button-BmiGQb9v.js → base-icon-button-DASKxRmK.js} +1 -1
- package/dist/cjs/{focus-visible.mixin-1V7Eldn_.js → focus-visible.mixin-GrZAmMez.js} +1 -1
- package/dist/cjs/{helper-text-util-Ci_KFQZ4.js → helper-text-util-EAfzAOH6.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/inherit-aria-attributes.mixin-DZ_vNjkJ.js +306 -0
- package/dist/cjs/{input.fc-xGzM_I6q.js → input.fc-ellguRiE.js} +8 -3
- package/dist/cjs/ix-action-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-avatar_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-badge.cjs.entry.js +8 -159
- package/dist/cjs/ix-blind.cjs.entry.js +13 -7
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +4 -157
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ix-button.cjs.entry.js +4 -157
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +7 -4
- package/dist/cjs/ix-category-filter.cjs.entry.js +7 -7
- package/dist/cjs/ix-chat-input.cjs.entry.js +8 -8
- package/dist/cjs/ix-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/ix-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/ix-chip.cjs.entry.js +2 -157
- package/dist/cjs/ix-col_4.cjs.entry.js +5 -5
- package/dist/cjs/ix-date-dropdown.cjs.entry.js +6 -6
- package/dist/cjs/ix-date-input.cjs.entry.js +3 -3
- package/dist/cjs/ix-date-picker.cjs.entry.js +15 -11
- package/dist/cjs/ix-datetime-input.cjs.entry.js +3 -3
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +9 -6
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +13 -7
- package/dist/cjs/ix-event-list-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-event-list.cjs.entry.js +6 -2
- package/dist/cjs/ix-field-label_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-flip-tile.cjs.entry.js +1 -1
- package/dist/cjs/ix-group.cjs.entry.js +9 -9
- package/dist/cjs/ix-helper-text.cjs.entry.js +2 -2
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +5 -160
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +5 -160
- package/dist/cjs/ix-input.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-category.cjs.entry.js +24 -166
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-item.cjs.entry.js +11 -160
- package/dist/cjs/ix-menu.cjs.entry.js +40 -18
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal.cjs.entry.js +15 -8
- package/dist/cjs/ix-number-input.cjs.entry.js +16 -13
- package/dist/cjs/ix-pagination.cjs.entry.js +3 -3
- package/dist/cjs/ix-pane.cjs.entry.js +2 -2
- package/dist/cjs/ix-pill_4.cjs.entry.js +12 -160
- package/dist/cjs/ix-popover-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-popover.cjs.entry.js +5 -156
- package/dist/cjs/ix-radio.cjs.entry.js +1 -1
- package/dist/cjs/ix-select.cjs.entry.js +10 -10
- package/dist/cjs/ix-slider.cjs.entry.js +1 -1
- package/dist/cjs/ix-textarea.cjs.entry.js +3 -3
- package/dist/cjs/ix-time-input.cjs.entry.js +3 -3
- package/dist/cjs/ix-toggle-button.cjs.entry.js +4 -159
- package/dist/cjs/ix-toggle.cjs.entry.js +2 -155
- package/dist/cjs/ix-tooltip.cjs.entry.js +6 -2
- package/dist/cjs/ix-tree.cjs.entry.js +1 -0
- package/dist/cjs/ix-upload.cjs.entry.js +1 -1
- package/dist/cjs/ix-workflow-step.cjs.entry.js +11 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/siemens-ix.cjs.js +1 -1
- package/dist/collection/components/badge/badge.js +7 -5
- package/dist/collection/components/badge/test/badge.page.js +6 -2
- package/dist/collection/components/blind/blind.js +11 -5
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +108 -0
- package/dist/collection/components/button/button.css +54 -0
- package/dist/collection/components/card-accordion/card-accordion.js +7 -4
- package/dist/collection/components/category-filter/category-filter.css +54 -0
- package/dist/collection/components/category-filter/category-filter.js +4 -4
- package/dist/collection/components/chat-input/chat-input.js +8 -8
- package/dist/collection/components/checkbox-group/checkbox-group.css +1 -1
- package/dist/collection/components/date-dropdown/date-dropdown.js +4 -4
- package/dist/collection/components/date-picker/date-picker.js +15 -11
- package/dist/collection/components/dropdown/dropdown.js +11 -5
- package/dist/collection/components/dropdown-button/dropdown-button.css +9 -180
- package/dist/collection/components/dropdown-button/dropdown-button.js +7 -4
- package/dist/collection/components/event-list/event-list.js +6 -2
- package/dist/collection/components/group/group.js +9 -9
- package/dist/collection/components/icon-button/icon-button.css +54 -0
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +54 -0
- package/dist/collection/components/input/input.util.js +6 -1
- package/dist/collection/components/input/number-input.js +13 -10
- package/dist/collection/components/menu/menu-expand-icon.css +6 -0
- package/dist/collection/components/menu/menu.js +39 -17
- package/dist/collection/components/menu-category/menu-category.js +22 -11
- package/dist/collection/components/menu-item/menu-item.js +9 -5
- package/dist/collection/components/modal/modal.js +13 -6
- package/dist/collection/components/modal-header/modal-header.js +2 -2
- package/dist/collection/components/pagination/pagination.css +54 -0
- package/dist/collection/components/popover/popover.js +3 -1
- package/dist/collection/components/popover/test/popover.page.js +3 -2
- package/dist/collection/components/select/select.js +9 -9
- package/dist/collection/components/tabs/tabs.js +10 -5
- package/dist/collection/components/time-picker/test/expect-defined.js +13 -0
- package/dist/collection/components/time-picker/time-picker.js +5 -5
- package/dist/collection/components/toggle-button/toggle-button.css +54 -0
- package/dist/collection/components/tooltip/tooltip.js +6 -2
- package/dist/collection/components/utils/a11y.js +1 -1
- package/dist/collection/components/utils/animation.js +8 -12
- package/dist/collection/components/utils/internal/mixins/accessibility/aria-attribute-observer.js +106 -0
- package/dist/collection/components/utils/internal/mixins/accessibility/inherit-aria-attributes.mixin.js +175 -166
- package/dist/collection/components/utils/lazy-list/lazy.js +1 -0
- package/dist/collection/components/workflow-step/workflow-step.css +2 -2
- package/dist/collection/components/workflow-step/workflow-step.js +10 -4
- package/dist/collection/tests/utils/test/page.js +3 -0
- package/dist/esm/{a11y-C21npbUc.js → a11y-DD206pTM.js} +1 -1
- package/dist/esm/{animation-DNIQ2C1K.js → animation-BqeSHO6C.js} +8 -12
- package/dist/esm/{base-button-DZdtpLxn.js → base-button-Oanl-VqF.js} +1 -1
- package/dist/esm/{base-icon-button-DufFLJC-.js → base-icon-button-CxmfMOOd.js} +1 -1
- package/dist/esm/{focus-visible.mixin-CaRK3Ex_.js → focus-visible.mixin-DNYMa4dY.js} +1 -1
- package/dist/esm/{helper-text-util-sQKO6RPJ.js → helper-text-util-BJ-ZMW2J.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/inherit-aria-attributes.mixin-BmTKblYV.js +304 -0
- package/dist/esm/{input.fc-DliqEtCM.js → input.fc-Cwmx0lGN.js} +8 -3
- package/dist/esm/ix-action-card.entry.js +1 -1
- package/dist/esm/ix-application-header.entry.js +1 -1
- package/dist/esm/ix-avatar_2.entry.js +2 -2
- package/dist/esm/ix-badge.entry.js +8 -159
- package/dist/esm/ix-blind.entry.js +13 -7
- package/dist/esm/ix-breadcrumb-item.entry.js +4 -157
- package/dist/esm/ix-breadcrumb.entry.js +1 -1
- package/dist/esm/ix-button.entry.js +4 -157
- package/dist/esm/ix-card-accordion_2.entry.js +7 -4
- package/dist/esm/ix-category-filter.entry.js +7 -7
- package/dist/esm/ix-chat-input.entry.js +8 -8
- package/dist/esm/ix-checkbox-group.entry.js +1 -1
- package/dist/esm/ix-checkbox.entry.js +1 -1
- package/dist/esm/ix-chip.entry.js +2 -157
- package/dist/esm/ix-col_4.entry.js +5 -5
- package/dist/esm/ix-date-dropdown.entry.js +6 -6
- package/dist/esm/ix-date-input.entry.js +3 -3
- package/dist/esm/ix-date-picker.entry.js +15 -11
- package/dist/esm/ix-datetime-input.entry.js +3 -3
- package/dist/esm/ix-dropdown-button.entry.js +9 -6
- package/dist/esm/ix-dropdown_2.entry.js +13 -7
- package/dist/esm/ix-event-list-item.entry.js +1 -1
- package/dist/esm/ix-event-list.entry.js +6 -2
- package/dist/esm/ix-field-label_2.entry.js +2 -2
- package/dist/esm/ix-filter-chip_2.entry.js +2 -2
- package/dist/esm/ix-flip-tile.entry.js +1 -1
- package/dist/esm/ix-group.entry.js +9 -9
- package/dist/esm/ix-helper-text.entry.js +2 -2
- package/dist/esm/ix-icon-button_2.entry.js +5 -160
- package/dist/esm/ix-icon-toggle-button.entry.js +5 -160
- package/dist/esm/ix-input.entry.js +3 -3
- package/dist/esm/ix-menu-avatar.entry.js +1 -1
- package/dist/esm/ix-menu-category.entry.js +24 -166
- package/dist/esm/ix-menu-expand-icon.entry.js +3 -3
- package/dist/esm/ix-menu-item.entry.js +11 -160
- package/dist/esm/ix-menu.entry.js +40 -18
- package/dist/esm/ix-modal-content_2.entry.js +2 -2
- package/dist/esm/ix-modal.entry.js +15 -8
- package/dist/esm/ix-number-input.entry.js +16 -13
- package/dist/esm/ix-pagination.entry.js +3 -3
- package/dist/esm/ix-pane.entry.js +2 -2
- package/dist/esm/ix-pill_4.entry.js +12 -160
- package/dist/esm/ix-popover-header.entry.js +1 -1
- package/dist/esm/ix-popover.entry.js +5 -156
- package/dist/esm/ix-radio.entry.js +1 -1
- package/dist/esm/ix-select.entry.js +10 -10
- package/dist/esm/ix-slider.entry.js +1 -1
- package/dist/esm/ix-textarea.entry.js +3 -3
- package/dist/esm/ix-time-input.entry.js +3 -3
- package/dist/esm/ix-toggle-button.entry.js +4 -159
- package/dist/esm/ix-toggle.entry.js +2 -155
- package/dist/esm/ix-tooltip.entry.js +6 -2
- package/dist/esm/ix-tree.entry.js +1 -0
- package/dist/esm/ix-upload.entry.js +1 -1
- package/dist/esm/ix-workflow-step.entry.js +11 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/siemens-ix.js +1 -1
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/p-0409f281.entry.js +1 -0
- package/dist/siemens-ix/{p-2e780c86.entry.js → p-0819923e.entry.js} +1 -1
- package/dist/siemens-ix/p-0b875bbd.entry.js +1 -0
- package/dist/siemens-ix/p-1a7b51d8.entry.js +1 -0
- package/dist/siemens-ix/{p-2b0ffba0.entry.js → p-1aef893c.entry.js} +1 -1
- package/dist/siemens-ix/{p-03745110.entry.js → p-213059a9.entry.js} +1 -1
- package/dist/siemens-ix/p-24138425.entry.js +1 -0
- package/dist/siemens-ix/{p-29e8126a.entry.js → p-32104d25.entry.js} +1 -1
- package/dist/siemens-ix/{p-447d52de.entry.js → p-35042cda.entry.js} +1 -1
- package/dist/siemens-ix/p-351e8732.entry.js +1 -0
- package/dist/siemens-ix/{p-884fd236.entry.js → p-38eef16a.entry.js} +1 -1
- package/dist/siemens-ix/p-3a60004f.entry.js +1 -0
- package/dist/siemens-ix/p-3ad11c04.entry.js +1 -0
- package/dist/siemens-ix/p-3c92d126.entry.js +1 -0
- package/dist/siemens-ix/{p-d0649c07.entry.js → p-3fe85552.entry.js} +1 -1
- package/dist/siemens-ix/{p-f4575603.entry.js → p-40239cf6.entry.js} +1 -1
- package/dist/siemens-ix/{p-a92495b8.entry.js → p-403b7d10.entry.js} +1 -1
- package/dist/siemens-ix/p-4739e88e.entry.js +1 -0
- package/dist/siemens-ix/p-4c765c73.entry.js +1 -0
- package/dist/siemens-ix/{p-0b10bb78.entry.js → p-50ece3e2.entry.js} +1 -1
- package/dist/siemens-ix/p-53319a22.entry.js +1 -0
- package/dist/siemens-ix/{p-1fbb010f.entry.js → p-571a1628.entry.js} +1 -1
- package/dist/siemens-ix/{p-4079292f.entry.js → p-60f7be48.entry.js} +1 -1
- package/dist/siemens-ix/p-643ed439.entry.js +1 -0
- package/dist/siemens-ix/p-6505e43d.entry.js +1 -0
- package/dist/siemens-ix/{p-217dc62a.entry.js → p-675e2aa8.entry.js} +1 -1
- package/dist/siemens-ix/{p-99b97922.entry.js → p-79a08a2a.entry.js} +1 -1
- package/dist/siemens-ix/p-83827bb2.entry.js +1 -0
- package/dist/siemens-ix/p-859294b4.entry.js +1 -0
- package/dist/siemens-ix/p-8af23465.entry.js +1 -0
- package/dist/siemens-ix/{p-6ffe8ec7.entry.js → p-8bc225b7.entry.js} +1 -1
- package/dist/siemens-ix/p-9254cb19.entry.js +1 -0
- package/dist/siemens-ix/p-9c6e5dcc.entry.js +1 -0
- package/dist/siemens-ix/{p-bf827cb3.entry.js → p-9df616d3.entry.js} +1 -1
- package/dist/siemens-ix/p-Bemn50Nk.js +1 -0
- package/dist/siemens-ix/p-BqeSHO6C.js +1 -0
- package/dist/siemens-ix/{p-HpQs38Y0.js → p-CDKWxg_L.js} +1 -1
- package/dist/siemens-ix/{p-CXbob2Ew.js → p-CLxF-dX8.js} +1 -1
- package/dist/siemens-ix/p-Cv_omozQ.js +1 -0
- package/dist/siemens-ix/{p-C21npbUc.js → p-DD206pTM.js} +1 -1
- package/dist/siemens-ix/p-a05bf6b5.entry.js +1 -0
- package/dist/siemens-ix/p-a4c3f3d3.entry.js +1 -0
- package/dist/siemens-ix/{p-836df58e.entry.js → p-aa0770ab.entry.js} +1 -1
- package/dist/siemens-ix/{p-89f6329b.entry.js → p-b5bf48cb.entry.js} +1 -1
- package/dist/siemens-ix/p-b9dcbd84.entry.js +1 -0
- package/dist/siemens-ix/{p-f3528209.entry.js → p-c393c20e.entry.js} +1 -1
- package/dist/siemens-ix/{p-b3eaf43d.entry.js → p-caac5984.entry.js} +1 -1
- package/dist/siemens-ix/p-cfd75035.entry.js +1 -0
- package/dist/siemens-ix/{p-47e2c5a1.entry.js → p-d4d99140.entry.js} +1 -1
- package/dist/siemens-ix/p-d94ad8f8.entry.js +1 -0
- package/dist/siemens-ix/p-da700215.entry.js +1 -0
- package/dist/siemens-ix/p-ddb49318.entry.js +1 -0
- package/dist/siemens-ix/{p-1afa8fb3.entry.js → p-de9a4607.entry.js} +1 -1
- package/dist/siemens-ix/{p-4b85292e.entry.js → p-e2e7c16a.entry.js} +1 -1
- package/dist/siemens-ix/p-e5239c6d.entry.js +1 -0
- package/dist/siemens-ix/p-e87e947c.entry.js +1 -0
- package/dist/siemens-ix/p-e8d73d19.entry.js +1 -0
- package/dist/siemens-ix/{p-0329eb6e.entry.js → p-e8f5519f.entry.js} +1 -1
- package/dist/siemens-ix/{p-92804589.entry.js → p-f7f6cf46.entry.js} +1 -1
- package/dist/siemens-ix/{p-bd2f7002.entry.js → p-fcfecc91.entry.js} +1 -1
- package/dist/siemens-ix/{p-kmPsIcs5.js → p-rgh7lt60.js} +1 -1
- package/dist/siemens-ix/p-xptA1Kt1.js +1 -0
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/types/components/badge/badge.d.ts +1 -16
- package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +1 -16
- package/dist/types/components/button/button.d.ts +1 -16
- package/dist/types/components/chip/chip.d.ts +1 -16
- package/dist/types/components/dropdown/dropdown-focus.d.ts +1 -1
- package/dist/types/components/group/group.d.ts +1 -1
- package/dist/types/components/icon-button/icon-button.d.ts +2 -17
- package/dist/types/components/icon-toggle-button/icon-toggle-button.d.ts +1 -16
- package/dist/types/components/input/input.util.d.ts +2 -3
- package/dist/types/components/input/number-input.d.ts +1 -0
- package/dist/types/components/menu/menu.d.ts +1 -1
- package/dist/types/components/menu-category/menu-category.d.ts +2 -17
- package/dist/types/components/menu-item/menu-item.d.ts +1 -16
- package/dist/types/components/modal/modal.d.ts +1 -0
- package/dist/types/components/modal-header/modal-header.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +1 -16
- package/dist/types/components/tabs/tabs.d.ts +3 -16
- package/dist/types/components/time-picker/test/expect-defined.d.ts +1 -0
- package/dist/types/components/toggle/toggle.d.ts +1 -16
- package/dist/types/components/toggle-button/toggle-button.d.ts +1 -16
- package/dist/types/components/tree/tree.d.ts +1 -1
- package/dist/types/components/utils/a11y.d.ts +1 -0
- package/dist/types/components/utils/internal/mixins/accessibility/aria-attribute-observer.d.ts +7 -0
- package/dist/types/components/utils/internal/mixins/accessibility/inherit-aria-attributes.mixin.d.ts +7 -18
- package/dist/types/components/utils/shadow-dom.d.ts +1 -1
- package/dist/types/components/workflow-step/workflow-step.d.ts +1 -0
- package/hydrate/index.js +535 -2015
- package/hydrate/index.mjs +535 -2015
- package/package.json +1 -1
- package/components/p-1FBWW6v2.js +0 -1
- package/components/p-BDnx22Gp.js +0 -1
- package/components/p-BHoJOFM-.js +0 -1
- package/components/p-BST8QY5w.js +0 -1
- package/components/p-BcbFeRB0.js +0 -1
- package/components/p-CLDB-pmj.js +0 -1
- package/components/p-CRtj-KBq.js +0 -1
- package/components/p-CTRSoM-z.js +0 -1
- package/components/p-CgPr717U.js +0 -1
- package/components/p-CvAmaEU2.js +0 -1
- package/components/p-DNIQ2C1K.js +0 -1
- package/components/p-DdlGyKd2.js +0 -1
- package/components/p-DtWFUcZO.js +0 -1
- package/components/p-DylHkzl6.js +0 -1
- package/components/p-NXyac9kC.js +0 -1
- package/components/p-hf_zqlB1.js +0 -1
- package/dist/cjs/inherit-aria-attributes.mixin-EyRU0cDO.js +0 -36
- package/dist/esm/inherit-aria-attributes.mixin-nCmPujqf.js +0 -34
- package/dist/siemens-ix/p-0555a6fb.entry.js +0 -1
- package/dist/siemens-ix/p-05c35730.entry.js +0 -1
- package/dist/siemens-ix/p-0f2ac675.entry.js +0 -1
- package/dist/siemens-ix/p-12bce791.entry.js +0 -1
- package/dist/siemens-ix/p-30008054.entry.js +0 -1
- package/dist/siemens-ix/p-488b7074.entry.js +0 -1
- package/dist/siemens-ix/p-49d8b129.entry.js +0 -1
- package/dist/siemens-ix/p-55a57ce6.entry.js +0 -1
- package/dist/siemens-ix/p-55ae6204.entry.js +0 -1
- package/dist/siemens-ix/p-55e8ad3b.entry.js +0 -1
- package/dist/siemens-ix/p-5f48d238.entry.js +0 -1
- package/dist/siemens-ix/p-64432fa0.entry.js +0 -1
- package/dist/siemens-ix/p-6ebf66b8.entry.js +0 -1
- package/dist/siemens-ix/p-7690a56d.entry.js +0 -1
- package/dist/siemens-ix/p-80d7a07a.entry.js +0 -1
- package/dist/siemens-ix/p-816bcf01.entry.js +0 -1
- package/dist/siemens-ix/p-86ad005e.entry.js +0 -1
- package/dist/siemens-ix/p-8c3e7613.entry.js +0 -1
- package/dist/siemens-ix/p-8df1362f.entry.js +0 -1
- package/dist/siemens-ix/p-9094212f.entry.js +0 -1
- package/dist/siemens-ix/p-99df3561.entry.js +0 -1
- package/dist/siemens-ix/p-B4oiZyZC.js +0 -1
- package/dist/siemens-ix/p-DNIQ2C1K.js +0 -1
- package/dist/siemens-ix/p-a1d79970.entry.js +0 -1
- package/dist/siemens-ix/p-a7d695f5.entry.js +0 -1
- package/dist/siemens-ix/p-baf74d39.entry.js +0 -1
- package/dist/siemens-ix/p-bf75d77b.entry.js +0 -1
- package/dist/siemens-ix/p-cddc43e2.entry.js +0 -1
- package/dist/siemens-ix/p-cfd83faa.entry.js +0 -1
- package/dist/siemens-ix/p-fff1f8b1.entry.js +0 -1
- package/dist/siemens-ix/p-vphIrWGB.js +0 -1
- package/dist/siemens-ix/p-yUgQMMln.js +0 -1
- /package/dist/siemens-ix/{p-383e95ad.entry.js → p-f4d8f94b.entry.js} +0 -0
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import { r as registerInstance } from './index-EBgS4zhE.js';
|
|
2
|
+
import { c as a11yAttributes, b as a11yHostAttributes } from './a11y-DD206pTM.js';
|
|
3
|
+
|
|
4
|
+
/*
|
|
5
|
+
* SPDX-FileCopyrightText: 2026 Siemens AG
|
|
6
|
+
*
|
|
7
|
+
* SPDX-License-Identifier: MIT
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
const reportMutationError = (error) => {
|
|
13
|
+
if (typeof reportError === 'function') {
|
|
14
|
+
reportError(error);
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
console.error(error);
|
|
18
|
+
};
|
|
19
|
+
// A MutationObserver can watch many direct targets and keeps only weak references
|
|
20
|
+
// to them, so all IX hosts can share one observer without observing a whole subtree.
|
|
21
|
+
const registrations = new WeakMap();
|
|
22
|
+
const suppressedHosts = new WeakSet();
|
|
23
|
+
let observer;
|
|
24
|
+
let registrationCount = 0;
|
|
25
|
+
const dispatchMutations = (mutations) => {
|
|
26
|
+
const changesByHandler = new Map();
|
|
27
|
+
mutations.forEach((mutation) => {
|
|
28
|
+
const hostElement = mutation.target;
|
|
29
|
+
if (suppressedHosts.has(hostElement)) {
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
const registration = registrations.get(hostElement);
|
|
33
|
+
const attributeName = mutation.attributeName;
|
|
34
|
+
if (!registration || !attributeName) {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
let changedAttributes = changesByHandler.get(registration.handler);
|
|
38
|
+
if (!changedAttributes) {
|
|
39
|
+
changedAttributes = new Set();
|
|
40
|
+
changesByHandler.set(registration.handler, changedAttributes);
|
|
41
|
+
}
|
|
42
|
+
changedAttributes.add(attributeName);
|
|
43
|
+
});
|
|
44
|
+
changesByHandler.forEach((attributeNames, handler) => {
|
|
45
|
+
try {
|
|
46
|
+
handler(attributeNames);
|
|
47
|
+
}
|
|
48
|
+
catch (error) {
|
|
49
|
+
reportMutationError(error);
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
const getObserver = () => {
|
|
54
|
+
if (typeof MutationObserver === 'undefined') {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
observer ??= new MutationObserver(dispatchMutations);
|
|
58
|
+
return observer;
|
|
59
|
+
};
|
|
60
|
+
const observeAriaAttributes = (hostElement, handler) => {
|
|
61
|
+
const ariaObserver = getObserver();
|
|
62
|
+
if (!ariaObserver) {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
if (!registrations.has(hostElement)) {
|
|
66
|
+
registrationCount++;
|
|
67
|
+
}
|
|
68
|
+
registrations.set(hostElement, { handler });
|
|
69
|
+
ariaObserver.observe(hostElement, {
|
|
70
|
+
attributeFilter: a11yAttributes,
|
|
71
|
+
attributes: true,
|
|
72
|
+
});
|
|
73
|
+
return true;
|
|
74
|
+
};
|
|
75
|
+
const unobserveAriaAttributes = (hostElement) => {
|
|
76
|
+
if (!registrations.delete(hostElement)) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
registrationCount--;
|
|
80
|
+
if (registrationCount === 0) {
|
|
81
|
+
observer?.disconnect();
|
|
82
|
+
observer = undefined;
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
const runWithoutAriaAttributeObservation = (hostElement, callback) => {
|
|
86
|
+
const registration = registrations.get(hostElement);
|
|
87
|
+
if (!registration || !observer) {
|
|
88
|
+
return callback();
|
|
89
|
+
}
|
|
90
|
+
const activeObserver = observer;
|
|
91
|
+
dispatchMutations(activeObserver.takeRecords());
|
|
92
|
+
suppressedHosts.add(hostElement);
|
|
93
|
+
try {
|
|
94
|
+
return callback();
|
|
95
|
+
}
|
|
96
|
+
finally {
|
|
97
|
+
const remainingMutations = activeObserver
|
|
98
|
+
.takeRecords()
|
|
99
|
+
.filter((mutation) => mutation.target !== hostElement);
|
|
100
|
+
suppressedHosts.delete(hostElement);
|
|
101
|
+
dispatchMutations(remainingMutations);
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
const flushAriaAttributeMutations = () => {
|
|
105
|
+
if (observer) {
|
|
106
|
+
dispatchMutations(observer.takeRecords());
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
const InheritAriaAttributesMixin = (Base) => {
|
|
111
|
+
const InheritAriaAttributesMixinCtor = class extends Base {
|
|
112
|
+
constructor(hostRef) {
|
|
113
|
+
super();
|
|
114
|
+
registerInstance(this, hostRef);
|
|
115
|
+
}
|
|
116
|
+
inheritAriaAttributes = {};
|
|
117
|
+
#ariaObserverInitialized = false;
|
|
118
|
+
#ariaObservationActive = false;
|
|
119
|
+
#ariaInitializationPending = false;
|
|
120
|
+
#disconnected = false;
|
|
121
|
+
#ariaAttributesBeforeDisconnect;
|
|
122
|
+
#ariaAttributesChangedWhileDisconnected = new Set();
|
|
123
|
+
#ariaAttributeRemovalPatched = false;
|
|
124
|
+
#readingAriaAttributes = false;
|
|
125
|
+
#handleAriaMutations(changedAttributes) {
|
|
126
|
+
const hostElement = this.#getHostElement();
|
|
127
|
+
const ignoredAttributes = this.getIgnoredAriaAttributes();
|
|
128
|
+
let updatedAttributes = this.inheritAriaAttributes;
|
|
129
|
+
changedAttributes.forEach((attributeName) => {
|
|
130
|
+
if (ignoredAttributes.includes(attributeName)) {
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
const newValue = hostElement.getAttribute(attributeName);
|
|
134
|
+
const currentValue = updatedAttributes[attributeName] ?? null;
|
|
135
|
+
if (newValue === currentValue) {
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
if (updatedAttributes === this.inheritAriaAttributes) {
|
|
139
|
+
updatedAttributes = { ...updatedAttributes };
|
|
140
|
+
}
|
|
141
|
+
if (newValue === null) {
|
|
142
|
+
delete updatedAttributes[attributeName];
|
|
143
|
+
}
|
|
144
|
+
else {
|
|
145
|
+
updatedAttributes[attributeName] = newValue;
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
if (updatedAttributes !== this.inheritAriaAttributes) {
|
|
149
|
+
this.inheritAriaAttributes = updatedAttributes;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
getIgnoredAriaAttributes() {
|
|
153
|
+
return [];
|
|
154
|
+
}
|
|
155
|
+
readAriaAttributesFromHost() {
|
|
156
|
+
const hostElement = this.#getHostElement();
|
|
157
|
+
return runWithoutAriaAttributeObservation(hostElement, () => {
|
|
158
|
+
this.#readingAriaAttributes = true;
|
|
159
|
+
try {
|
|
160
|
+
return a11yHostAttributes(hostElement, this.getIgnoredAriaAttributes());
|
|
161
|
+
}
|
|
162
|
+
finally {
|
|
163
|
+
this.#readingAriaAttributes = false;
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
#getHostElement() {
|
|
168
|
+
if (!this.hostElement) {
|
|
169
|
+
throw new Error('Host element is not defined. Make sure to apply the InheritAriaAttributesMixin to a Stencil component.');
|
|
170
|
+
}
|
|
171
|
+
return this.hostElement;
|
|
172
|
+
}
|
|
173
|
+
#getAriaAttributesFromHost() {
|
|
174
|
+
const hostElement = this.#getHostElement();
|
|
175
|
+
const attributes = new Map();
|
|
176
|
+
a11yAttributes.forEach((attributeName) => {
|
|
177
|
+
const value = hostElement.getAttribute(attributeName);
|
|
178
|
+
if (value !== null) {
|
|
179
|
+
attributes.set(attributeName, value);
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
return attributes;
|
|
183
|
+
}
|
|
184
|
+
#patchAriaAttributeRemoval() {
|
|
185
|
+
if (this.#ariaAttributeRemovalPatched ||
|
|
186
|
+
typeof MutationObserver === 'undefined') {
|
|
187
|
+
return;
|
|
188
|
+
}
|
|
189
|
+
const hostElement = this.#getHostElement();
|
|
190
|
+
const removeAttribute = hostElement.removeAttribute.bind(hostElement);
|
|
191
|
+
// ARIA attributes are moved from the host to the internal element during
|
|
192
|
+
// initialization. When Angular later calls removeAttribute(), the host
|
|
193
|
+
// attribute is already absent, so no MutationObserver record is created.
|
|
194
|
+
// Intercept the call to also clear the forwarded internal attribute.
|
|
195
|
+
hostElement.removeAttribute = (attributeName) => {
|
|
196
|
+
removeAttribute(attributeName);
|
|
197
|
+
if (a11yAttributes.includes(attributeName)) {
|
|
198
|
+
if (this.#readingAriaAttributes) {
|
|
199
|
+
return;
|
|
200
|
+
}
|
|
201
|
+
if (!this.#ariaObservationActive) {
|
|
202
|
+
this.#ariaAttributesChangedWhileDisconnected.add(attributeName);
|
|
203
|
+
}
|
|
204
|
+
this.#updateInheritedAriaAttribute(null, attributeName);
|
|
205
|
+
}
|
|
206
|
+
};
|
|
207
|
+
this.#ariaAttributeRemovalPatched = true;
|
|
208
|
+
}
|
|
209
|
+
#observeAriaAttributes() {
|
|
210
|
+
this.#ariaObservationActive = observeAriaAttributes(this.#getHostElement(), (attributeNames) => this.#handleAriaMutations(attributeNames));
|
|
211
|
+
}
|
|
212
|
+
connectedCallback() {
|
|
213
|
+
if (super.connectedCallback) {
|
|
214
|
+
super.connectedCallback();
|
|
215
|
+
}
|
|
216
|
+
this.#disconnected = false;
|
|
217
|
+
if (this.#ariaInitializationPending && !this.#ariaObserverInitialized) {
|
|
218
|
+
this.#ariaInitializationPending = false;
|
|
219
|
+
this.#initializeAriaAttributes();
|
|
220
|
+
return;
|
|
221
|
+
}
|
|
222
|
+
if (this.#ariaObserverInitialized) {
|
|
223
|
+
const hostElement = this.#getHostElement();
|
|
224
|
+
this.#observeAriaAttributes();
|
|
225
|
+
if (this.#ariaAttributesBeforeDisconnect) {
|
|
226
|
+
const inheritedAttributes = this.readAriaAttributesFromHost();
|
|
227
|
+
a11yAttributes.forEach((attributeName) => {
|
|
228
|
+
const oldValue = this.#ariaAttributesBeforeDisconnect?.get(attributeName) ?? null;
|
|
229
|
+
const newValue = inheritedAttributes[attributeName] ??
|
|
230
|
+
hostElement.getAttribute(attributeName);
|
|
231
|
+
if (newValue !== oldValue ||
|
|
232
|
+
this.#ariaAttributesChangedWhileDisconnected.has(attributeName)) {
|
|
233
|
+
this.#updateInheritedAriaAttribute(newValue ?? null, attributeName);
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
this.#ariaAttributesBeforeDisconnect = undefined;
|
|
239
|
+
this.#ariaAttributesChangedWhileDisconnected.clear();
|
|
240
|
+
}
|
|
241
|
+
componentWillLoad() {
|
|
242
|
+
if (super.componentWillLoad) {
|
|
243
|
+
const baseLoad = super.componentWillLoad();
|
|
244
|
+
if (baseLoad) {
|
|
245
|
+
return baseLoad.then(() => this.#initializeAriaAttributesIfConnected());
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
this.#initializeAriaAttributesIfConnected();
|
|
249
|
+
}
|
|
250
|
+
#initializeAriaAttributesIfConnected() {
|
|
251
|
+
if (this.#disconnected) {
|
|
252
|
+
this.#ariaInitializationPending = true;
|
|
253
|
+
return;
|
|
254
|
+
}
|
|
255
|
+
this.#initializeAriaAttributes();
|
|
256
|
+
}
|
|
257
|
+
#initializeAriaAttributes() {
|
|
258
|
+
this.inheritAriaAttributes = this.readAriaAttributesFromHost();
|
|
259
|
+
this.#patchAriaAttributeRemoval();
|
|
260
|
+
this.#ariaObserverInitialized = true;
|
|
261
|
+
this.#observeAriaAttributes();
|
|
262
|
+
}
|
|
263
|
+
#updateInheritedAriaAttribute(newValue, propName) {
|
|
264
|
+
const ignoredAttributes = this.getIgnoredAriaAttributes();
|
|
265
|
+
if (ignoredAttributes.includes(propName)) {
|
|
266
|
+
return;
|
|
267
|
+
}
|
|
268
|
+
const currentValue = this.inheritAriaAttributes[propName] ?? null;
|
|
269
|
+
if (newValue === currentValue) {
|
|
270
|
+
return;
|
|
271
|
+
}
|
|
272
|
+
const updatedAttributes = {
|
|
273
|
+
...this.inheritAriaAttributes,
|
|
274
|
+
};
|
|
275
|
+
if (newValue === null) {
|
|
276
|
+
delete updatedAttributes[propName];
|
|
277
|
+
}
|
|
278
|
+
else {
|
|
279
|
+
updatedAttributes[propName] = newValue;
|
|
280
|
+
}
|
|
281
|
+
this.inheritAriaAttributes = updatedAttributes;
|
|
282
|
+
}
|
|
283
|
+
disconnectedCallback() {
|
|
284
|
+
this.#disconnected = true;
|
|
285
|
+
this.#ariaAttributesChangedWhileDisconnected.clear();
|
|
286
|
+
if (this.#ariaObserverInitialized) {
|
|
287
|
+
flushAriaAttributeMutations();
|
|
288
|
+
this.#ariaAttributesBeforeDisconnect =
|
|
289
|
+
this.#getAriaAttributesFromHost();
|
|
290
|
+
unobserveAriaAttributes(this.#getHostElement());
|
|
291
|
+
this.#ariaObservationActive = false;
|
|
292
|
+
}
|
|
293
|
+
else {
|
|
294
|
+
this.#ariaAttributesBeforeDisconnect = undefined;
|
|
295
|
+
}
|
|
296
|
+
if (super.disconnectedCallback) {
|
|
297
|
+
super.disconnectedCallback();
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
};
|
|
301
|
+
return InheritAriaAttributesMixinCtor;
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
export { InheritAriaAttributesMixin as I };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h } from './index-EBgS4zhE.js';
|
|
2
|
-
import { a as a11yBoolean } from './a11y-
|
|
2
|
+
import { a as a11yBoolean } from './a11y-DD206pTM.js';
|
|
3
3
|
import { c as createMutationObserver } from './mutation-observer-CX81WQtk.js';
|
|
4
4
|
import { a as convertToRemString } from './rwd.util-JJddxCCh.js';
|
|
5
5
|
import { a as animate } from './anime.esm-DhE1t8Qh.js';
|
|
6
|
-
import { A as Animation } from './animation-
|
|
6
|
+
import { A as Animation } from './animation-BqeSHO6C.js';
|
|
7
7
|
import { s as shouldSuppressInternalValidation } from './validation-DXpftrw5.js';
|
|
8
8
|
|
|
9
9
|
/*
|
|
@@ -179,7 +179,12 @@ function onInputFocus(comp, currentValue) {
|
|
|
179
179
|
function onInputBlurWithChange(comp, input, currentValue) {
|
|
180
180
|
onInputBlur(comp, input);
|
|
181
181
|
if (comp.initialValue !== currentValue) {
|
|
182
|
-
|
|
182
|
+
if (currentValue === undefined) {
|
|
183
|
+
comp.ixChange.emit();
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
comp.ixChange.emit(currentValue);
|
|
187
|
+
}
|
|
183
188
|
comp.initialValue = currentValue;
|
|
184
189
|
}
|
|
185
190
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-EBgS4zhE.js';
|
|
2
|
-
import { g as getFallbackLabelFromIconName, a as a11yBoolean } from './a11y-
|
|
2
|
+
import { g as getFallbackLabelFromIconName, a as a11yBoolean } from './a11y-DD206pTM.js';
|
|
3
3
|
|
|
4
4
|
const actionCardCss = () => `:host{display:block;position:relative;min-width:13.375rem;width:13.375rem;height:7.5rem;min-height:7.5rem;cursor:pointer;margin:0.25rem 0}:host *,:host *::after,:host *::before{box-sizing:border-box}:host *::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host *{}:host *::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host *{}:host *::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host *::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host *{}:host *::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host *{}:host *::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host *::-webkit-scrollbar-corner{display:none}:host button{width:100%;height:100%;display:block;background:transparent;text-align:start;padding:0;border:0;border-radius:var(--theme-btn--border-radius);box-shadow:initial}:host button:focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host button[disabled]{cursor:default}:host ix-card{width:100%;height:100%}`;
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, g as getElement, d as readTask, h, H as Host } from './index-EBgS4zhE.js';
|
|
2
2
|
import { e as iconMoreMenu, f as iconApps } from './index-BeX6RWvV.js';
|
|
3
|
-
import { a as a11yBoolean } from './a11y-
|
|
3
|
+
import { a as a11yBoolean } from './a11y-DD206pTM.js';
|
|
4
4
|
import { s as showAppSwitch } from './index-nCVTBc9Y.js';
|
|
5
5
|
import { a as useContextConsumer, A as ApplicationLayoutContext } from './context-zqk3Dkv-.js';
|
|
6
6
|
import { g as getCurrentBreakpoint } from './breakpoints-D_Hmobxf.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { M as Mixin, r as registerInstance, g as getElement, d as readTask, h, F as Fragment, H as Host, c as createEvent } from './index-EBgS4zhE.js';
|
|
2
|
-
import { B as BaseButton } from './base-button-
|
|
3
|
-
import { b as a11yHostAttributes, a as a11yBoolean } from './a11y-
|
|
2
|
+
import { B as BaseButton } from './base-button-Oanl-VqF.js';
|
|
3
|
+
import { b as a11yHostAttributes, a as a11yBoolean } from './a11y-DD206pTM.js';
|
|
4
4
|
import { m as makeRef } from './make-ref-Djkc69iv.js';
|
|
5
5
|
import { d as closestElement, h as hasSlottedElements } from './shadow-dom-BClJdFQP.js';
|
|
6
6
|
import { P as PROXY_LISTITEM_ID_SUFFIX, u as updateFocusProxyList, F as FocusProxy } from './focus-proxy-BQyoX-Kl.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { M as Mixin, r as registerInstance, g as getElement, h, H as Host } from './index-EBgS4zhE.js';
|
|
2
|
-
import {
|
|
2
|
+
import { a as a11yBoolean } from './a11y-DD206pTM.js';
|
|
3
3
|
import { D as DefaultMixins } from './component-DqJSHc3A.js';
|
|
4
|
-
import { I as InheritAriaAttributesMixin } from './inherit-aria-attributes.mixin-
|
|
4
|
+
import { I as InheritAriaAttributesMixin } from './inherit-aria-attributes.mixin-BmTKblYV.js';
|
|
5
5
|
import { C as ComponentIdMixin } from './id.mixin-CUbYLenp.js';
|
|
6
6
|
import { m as makeRef } from './make-ref-Djkc69iv.js';
|
|
7
7
|
import { a as convertToRemString } from './rwd.util-JJddxCCh.js';
|
|
@@ -308,12 +308,14 @@ const Badge = class extends Mixin(...DefaultMixins, InheritAriaAttributesMixin,
|
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
connectedCallback() {
|
|
311
|
+
super.connectedCallback();
|
|
311
312
|
if (this.hasDisconnected) {
|
|
312
313
|
this.syncAnchorDescribedBy();
|
|
313
314
|
this.hasDisconnected = false;
|
|
314
315
|
}
|
|
315
316
|
}
|
|
316
317
|
disconnectedCallback() {
|
|
318
|
+
super.disconnectedCallback();
|
|
317
319
|
this.clearAnchorDescribedBy();
|
|
318
320
|
this.hasDisconnected = true;
|
|
319
321
|
}
|
|
@@ -351,14 +353,14 @@ const Badge = class extends Mixin(...DefaultMixins, InheritAriaAttributesMixin,
|
|
|
351
353
|
this.hasAnchor = true;
|
|
352
354
|
// Strip any ARIA still on the host (e.g. re-applied while standalone) and discard —
|
|
353
355
|
// attached mode must not keep role / aria-* on the wrapper.
|
|
354
|
-
|
|
356
|
+
this.readAriaAttributesFromHost();
|
|
355
357
|
this.inheritAriaAttributes = {};
|
|
356
358
|
this.descriptionId = `${this.getHostElementId()}-description`;
|
|
357
359
|
return;
|
|
358
360
|
}
|
|
359
361
|
this.hasAnchor = false;
|
|
360
362
|
// Leaving attached: capture any author ARIA set on the host for standalone `<Host>`.
|
|
361
|
-
this.inheritAriaAttributes =
|
|
363
|
+
this.inheritAriaAttributes = this.readAriaAttributesFromHost();
|
|
362
364
|
}
|
|
363
365
|
getResolvedVariant() {
|
|
364
366
|
if (this.variant === 'error') {
|
|
@@ -527,7 +529,7 @@ const Badge = class extends Mixin(...DefaultMixins, InheritAriaAttributesMixin,
|
|
|
527
529
|
'--ix-badge-custom-color': this.badgeColor,
|
|
528
530
|
}
|
|
529
531
|
: undefined;
|
|
530
|
-
return (h(Host, { key: '
|
|
532
|
+
return (h(Host, { key: 'db05c580c07295abde411f0c77ce96e4a83e5550', ...(this.hasAnchor ? {} : this.inheritAriaAttributes), class: {
|
|
531
533
|
attached: this.hasAnchor,
|
|
532
534
|
outline: this.outline,
|
|
533
535
|
border: showBorder,
|
|
@@ -545,162 +547,9 @@ const Badge = class extends Mixin(...DefaultMixins, InheritAriaAttributesMixin,
|
|
|
545
547
|
'--ix-badge-offset-y': convertToRemString(offsets.y),
|
|
546
548
|
}
|
|
547
549
|
: {}),
|
|
548
|
-
} }, h("slot", { key: '
|
|
550
|
+
} }, h("slot", { key: '77ed2ddd676864a819cdee8136e6a6b7e35028aa', name: BADGE_DESCRIPTION_SLOT }), h("div", { key: '4772bb4b795f23fae60b928354baf6f1c47a50ea', class: "anchor" }, h("slot", { key: '6803baae909f08acbc6b15a6dd673dc63f72e414', ref: this.setSlotRef, onSlotchange: this.onSlotChange })), this.renderIndicator(type, variant, accessibleText, formattedLabel), this.getTooltip(formattedLabel)));
|
|
549
551
|
}
|
|
550
552
|
static get watchers() { return {
|
|
551
|
-
"role": [{
|
|
552
|
-
"ariaAttributeChanged": 0
|
|
553
|
-
}],
|
|
554
|
-
"aria-activedescendant": [{
|
|
555
|
-
"ariaAttributeChanged": 0
|
|
556
|
-
}],
|
|
557
|
-
"aria-atomic": [{
|
|
558
|
-
"ariaAttributeChanged": 0
|
|
559
|
-
}],
|
|
560
|
-
"aria-autocomplete": [{
|
|
561
|
-
"ariaAttributeChanged": 0
|
|
562
|
-
}],
|
|
563
|
-
"aria-braillelabel": [{
|
|
564
|
-
"ariaAttributeChanged": 0
|
|
565
|
-
}],
|
|
566
|
-
"aria-brailleroledescription": [{
|
|
567
|
-
"ariaAttributeChanged": 0
|
|
568
|
-
}],
|
|
569
|
-
"aria-busy": [{
|
|
570
|
-
"ariaAttributeChanged": 0
|
|
571
|
-
}],
|
|
572
|
-
"aria-checked": [{
|
|
573
|
-
"ariaAttributeChanged": 0
|
|
574
|
-
}],
|
|
575
|
-
"aria-colcount": [{
|
|
576
|
-
"ariaAttributeChanged": 0
|
|
577
|
-
}],
|
|
578
|
-
"aria-colindex": [{
|
|
579
|
-
"ariaAttributeChanged": 0
|
|
580
|
-
}],
|
|
581
|
-
"aria-colindextext": [{
|
|
582
|
-
"ariaAttributeChanged": 0
|
|
583
|
-
}],
|
|
584
|
-
"aria-colspan": [{
|
|
585
|
-
"ariaAttributeChanged": 0
|
|
586
|
-
}],
|
|
587
|
-
"aria-controls": [{
|
|
588
|
-
"ariaAttributeChanged": 0
|
|
589
|
-
}],
|
|
590
|
-
"aria-current": [{
|
|
591
|
-
"ariaAttributeChanged": 0
|
|
592
|
-
}],
|
|
593
|
-
"aria-describedby": [{
|
|
594
|
-
"ariaAttributeChanged": 0
|
|
595
|
-
}],
|
|
596
|
-
"aria-description": [{
|
|
597
|
-
"ariaAttributeChanged": 0
|
|
598
|
-
}],
|
|
599
|
-
"aria-details": [{
|
|
600
|
-
"ariaAttributeChanged": 0
|
|
601
|
-
}],
|
|
602
|
-
"aria-disabled": [{
|
|
603
|
-
"ariaAttributeChanged": 0
|
|
604
|
-
}],
|
|
605
|
-
"aria-errormessage": [{
|
|
606
|
-
"ariaAttributeChanged": 0
|
|
607
|
-
}],
|
|
608
|
-
"aria-expanded": [{
|
|
609
|
-
"ariaAttributeChanged": 0
|
|
610
|
-
}],
|
|
611
|
-
"aria-flowto": [{
|
|
612
|
-
"ariaAttributeChanged": 0
|
|
613
|
-
}],
|
|
614
|
-
"aria-haspopup": [{
|
|
615
|
-
"ariaAttributeChanged": 0
|
|
616
|
-
}],
|
|
617
|
-
"aria-hidden": [{
|
|
618
|
-
"ariaAttributeChanged": 0
|
|
619
|
-
}],
|
|
620
|
-
"aria-invalid": [{
|
|
621
|
-
"ariaAttributeChanged": 0
|
|
622
|
-
}],
|
|
623
|
-
"aria-keyshortcuts": [{
|
|
624
|
-
"ariaAttributeChanged": 0
|
|
625
|
-
}],
|
|
626
|
-
"aria-label": [{
|
|
627
|
-
"ariaAttributeChanged": 0
|
|
628
|
-
}],
|
|
629
|
-
"aria-labelledby": [{
|
|
630
|
-
"ariaAttributeChanged": 0
|
|
631
|
-
}],
|
|
632
|
-
"aria-level": [{
|
|
633
|
-
"ariaAttributeChanged": 0
|
|
634
|
-
}],
|
|
635
|
-
"aria-live": [{
|
|
636
|
-
"ariaAttributeChanged": 0
|
|
637
|
-
}],
|
|
638
|
-
"aria-multiline": [{
|
|
639
|
-
"ariaAttributeChanged": 0
|
|
640
|
-
}],
|
|
641
|
-
"aria-multiselectable": [{
|
|
642
|
-
"ariaAttributeChanged": 0
|
|
643
|
-
}],
|
|
644
|
-
"aria-orientation": [{
|
|
645
|
-
"ariaAttributeChanged": 0
|
|
646
|
-
}],
|
|
647
|
-
"aria-owns": [{
|
|
648
|
-
"ariaAttributeChanged": 0
|
|
649
|
-
}],
|
|
650
|
-
"aria-placeholder": [{
|
|
651
|
-
"ariaAttributeChanged": 0
|
|
652
|
-
}],
|
|
653
|
-
"aria-posinset": [{
|
|
654
|
-
"ariaAttributeChanged": 0
|
|
655
|
-
}],
|
|
656
|
-
"aria-pressed": [{
|
|
657
|
-
"ariaAttributeChanged": 0
|
|
658
|
-
}],
|
|
659
|
-
"aria-readonly": [{
|
|
660
|
-
"ariaAttributeChanged": 0
|
|
661
|
-
}],
|
|
662
|
-
"aria-relevant": [{
|
|
663
|
-
"ariaAttributeChanged": 0
|
|
664
|
-
}],
|
|
665
|
-
"aria-required": [{
|
|
666
|
-
"ariaAttributeChanged": 0
|
|
667
|
-
}],
|
|
668
|
-
"aria-roledescription": [{
|
|
669
|
-
"ariaAttributeChanged": 0
|
|
670
|
-
}],
|
|
671
|
-
"aria-rowcount": [{
|
|
672
|
-
"ariaAttributeChanged": 0
|
|
673
|
-
}],
|
|
674
|
-
"aria-rowindex": [{
|
|
675
|
-
"ariaAttributeChanged": 0
|
|
676
|
-
}],
|
|
677
|
-
"aria-rowindextext": [{
|
|
678
|
-
"ariaAttributeChanged": 0
|
|
679
|
-
}],
|
|
680
|
-
"aria-rowspan": [{
|
|
681
|
-
"ariaAttributeChanged": 0
|
|
682
|
-
}],
|
|
683
|
-
"aria-selected": [{
|
|
684
|
-
"ariaAttributeChanged": 0
|
|
685
|
-
}],
|
|
686
|
-
"aria-setsize": [{
|
|
687
|
-
"ariaAttributeChanged": 0
|
|
688
|
-
}],
|
|
689
|
-
"aria-sort": [{
|
|
690
|
-
"ariaAttributeChanged": 0
|
|
691
|
-
}],
|
|
692
|
-
"aria-valuemax": [{
|
|
693
|
-
"ariaAttributeChanged": 0
|
|
694
|
-
}],
|
|
695
|
-
"aria-valuemin": [{
|
|
696
|
-
"ariaAttributeChanged": 0
|
|
697
|
-
}],
|
|
698
|
-
"aria-valuenow": [{
|
|
699
|
-
"ariaAttributeChanged": 0
|
|
700
|
-
}],
|
|
701
|
-
"aria-valuetext": [{
|
|
702
|
-
"ariaAttributeChanged": 0
|
|
703
|
-
}],
|
|
704
553
|
"label": [{
|
|
705
554
|
"labelOrTypeChanged": 0
|
|
706
555
|
}],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { g as getElement, r as registerInstance, c as createEvent, h, F as Fragment, H as Host } from './index-EBgS4zhE.js';
|
|
2
2
|
import { a as animate } from './anime.esm-DhE1t8Qh.js';
|
|
3
|
-
import { a as a11yBoolean } from './a11y-
|
|
3
|
+
import { a as a11yBoolean } from './a11y-DD206pTM.js';
|
|
4
4
|
import { t as iconChevronDownSmall } from './index-BeX6RWvV.js';
|
|
5
|
-
import { A as Animation } from './animation-
|
|
5
|
+
import { A as Animation } from './animation-BqeSHO6C.js';
|
|
6
6
|
|
|
7
7
|
const blindCss = () => `:host{display:flex;flex-direction:column;border-radius:var(--theme-blind--border-radius);overflow:hidden}:host *,:host *::after,:host *::before{box-sizing:border-box}:host *::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host *{}:host *::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host *{}:host *::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host *::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host *{}:host *::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host *{}:host *::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host *::-webkit-scrollbar-corner{display:none}:host .blind-header-wrapper{position:relative;min-height:3rem;height:3rem;overflow:hidden}:host .blind-header-content{display:flex;position:relative;align-items:center;justify-content:flex-start;width:100%;height:100%;pointer-events:none;padding-left:0.5rem}:host .blind-header-title{display:flex;position:relative;align-items:center;flex-grow:1;margin-right:0.5rem}:host .blind-header{all:unset;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;position:absolute;top:0px;left:0px;pointer-events:all;padding-left:2.5rem;min-height:3rem;height:3rem;width:calc(100% - 2 * var(--theme-blind--border-thickness));border:solid var(--theme-blind--border-thickness) transparent;border-radius:var(--theme-blind--border-radius) var(--theme-blind--border-radius) 0 0;cursor:pointer}:host .blind-header:not(.disabled):not(:disabled):focus-visible{border-color:var(--theme-color-focus-bdr);outline:none}:host .blind-header-title-icon,:host .collapse-icon{margin-right:0.5rem}:host .blind-header-title-row{display:flex;flex-grow:1;overflow:hidden}:host .blind-header-title-col{display:inline-flex;align-items:center;width:calc(100% - 1rem);overflow:hidden}:host .blind-header-title-col:not(:first-of-type){justify-content:flex-end}:host ix-typography{flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .blind-header-title-label{padding-inline-end:0.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .blind-header-title-sublabel{padding-inline:0.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .blind-header-title{display:flex;align-items:center;flex-grow:1;height:100%;min-width:0}:host .blind-header-labels{display:inline-flex;flex-grow:1;min-width:0}:host .blind-content{display:block;padding:1rem;transition-property:padding;transition-duration:var(--theme-default-time);transition-timing-function:ease-in}:host .blind-content.hide{max-height:0;padding-top:0px;padding-bottom:0px;border-width:0}:host .header-actions{pointer-events:all;margin-left:auto}:host(.blind-alarm) .blind-header{background-color:var(--theme-color-alarm)}:host(.blind-alarm) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-alarm) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-alarm) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-alarm--hover)}:host(.blind-alarm) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-alarm) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-alarm) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-alarm--active)}:host(.blind-alarm) .blind-header-title-label,:host(.blind-alarm) .blind-header-title-sublabel{color:var(--theme-color-alarm--contrast)}:host(.blind-alarm) .header-actions{--ix-icon-button-color:var(--theme-color-alarm--contrast)}:host(.blind-alarm) .blind-content{border-radius:0 0 var(--theme-blind--border-radius) var(--theme-blind--border-radius);border:solid var(--theme-blind--border-thickness) var(--theme-color-alarm-bdr);border-top:none}:host(.blind-alarm){background-color:var(--theme-blind-base--background)}:host(.blind-alarm[collapsed]) .blind-content{border-width:0}:host(.blind-critical) .blind-header{background-color:var(--theme-color-critical)}:host(.blind-critical) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-critical) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-critical) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-critical--hover)}:host(.blind-critical) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-critical) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-critical) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-critical--active)}:host(.blind-critical) .blind-header-title-label,:host(.blind-critical) .blind-header-title-sublabel{color:var(--theme-color-critical--contrast)}:host(.blind-critical) .header-actions{--ix-icon-button-color:var(--theme-color-critical--contrast)}:host(.blind-critical) .blind-content{border-radius:0 0 var(--theme-blind--border-radius) var(--theme-blind--border-radius);border:solid var(--theme-blind--border-thickness) var(--theme-color-critical);border-top:none}:host(.blind-critical){background-color:var(--theme-blind-base--background)}:host(.blind-critical[collapsed]) .blind-content{border-width:0}:host(.blind-info) .blind-header{background-color:var(--theme-color-info)}:host(.blind-info) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-info) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-info) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-info--hover)}:host(.blind-info) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-info) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-info) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-info--active)}:host(.blind-info) .blind-header-title-label,:host(.blind-info) .blind-header-title-sublabel{color:var(--theme-color-info--contrast)}:host(.blind-info) .header-actions{--ix-icon-button-color:var(--theme-color-info--contrast)}:host(.blind-info) .blind-content{border-radius:0 0 var(--theme-blind--border-radius) var(--theme-blind--border-radius);border:solid var(--theme-blind--border-thickness) var(--theme-color-info);border-top:none}:host(.blind-info){background-color:var(--theme-blind-base--background)}:host(.blind-info[collapsed]) .blind-content{border-width:0}:host(.blind-neutral) .blind-header{background-color:var(--theme-color-neutral)}:host(.blind-neutral) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-neutral) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-neutral) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-neutral--hover)}:host(.blind-neutral) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-neutral) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-neutral) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-neutral--active)}:host(.blind-neutral) .blind-header-title-label,:host(.blind-neutral) .blind-header-title-sublabel{color:var(--theme-color-neutral--contrast)}:host(.blind-neutral) .header-actions{--ix-icon-button-color:var(--theme-color-neutral--contrast)}:host(.blind-neutral) .blind-content{border-radius:0 0 var(--theme-blind--border-radius) var(--theme-blind--border-radius);border:solid var(--theme-blind--border-thickness) var(--theme-color-neutral);border-top:none}:host(.blind-neutral){background-color:var(--theme-blind-base--background)}:host(.blind-neutral[collapsed]) .blind-content{border-width:0}:host(.blind-filled) .blind-header{background-color:var(--theme-color-filled)}:host(.blind-filled) .blind-header:not(.disabled):not(:disabled).hover,:host(.blind-filled) .blind-header:not(.disabled):not(:disabled):hover{background-color:var(--theme-ghost--background--hover)}:host(.blind-filled) .blind-header:not(.disabled):not(:disabled).active,:host(.blind-filled) .blind-header:not(.disabled):not(:disabled):active{background-color:var(--theme-ghost--background--active)}:host(.blind-filled) .blind-header-title-label{color:var(--theme-color-std-text)}:host(.blind-filled) .blind-header-title-sublabel{color:var(--theme-color-soft-text)}:host(.blind-filled) .header-actions{--ix-icon-button-color:var(--theme-color-primary)}:host(.blind-filled){background-color:var(--theme-blind-base--background)}:host(.blind-success) .blind-header{background-color:var(--theme-color-success)}:host(.blind-success) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-success) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-success) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-success--hover)}:host(.blind-success) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-success) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-success) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-success--active)}:host(.blind-success) .blind-header-title-label,:host(.blind-success) .blind-header-title-sublabel{color:var(--theme-color-success--contrast)}:host(.blind-success) .header-actions{--ix-icon-button-color:var(--theme-color-success--contrast)}:host(.blind-success) .blind-content{border-radius:0 0 var(--theme-blind--border-radius) var(--theme-blind--border-radius);border:solid var(--theme-blind--border-thickness) var(--theme-color-success);border-top:none}:host(.blind-success){background-color:var(--theme-blind-base--background)}:host(.blind-success[collapsed]) .blind-content{border-width:0}:host(.blind-warning) .blind-header{background-color:var(--theme-color-warning)}:host(.blind-warning) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-warning) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-warning) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-warning--hover)}:host(.blind-warning) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-warning) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-warning) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-warning--active)}:host(.blind-warning) .blind-header-title-label,:host(.blind-warning) .blind-header-title-sublabel{color:var(--theme-color-warning--contrast)}:host(.blind-warning) .header-actions{--ix-icon-button-color:var(--theme-color-warning--contrast)}:host(.blind-warning) .blind-content{border-radius:0 0 var(--theme-blind--border-radius) var(--theme-blind--border-radius);border:solid var(--theme-blind--border-thickness) var(--theme-color-warning-bdr);border-top:none}:host(.blind-warning){background-color:var(--theme-blind-base--background)}:host(.blind-warning[collapsed]) .blind-content{border-width:0}:host(.blind-primary) .blind-header{background-color:var(--theme-color-primary)}:host(.blind-primary) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-primary) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-primary) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-primary--hover)}:host(.blind-primary) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-primary) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-primary) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-primary--active)}:host(.blind-primary) .blind-header-title-label,:host(.blind-primary) .blind-header-title-sublabel{color:var(--theme-color-primary--contrast)}:host(.blind-primary) .header-actions{--ix-icon-button-color:var(--theme-color-primary--contrast)}:host(.blind-primary) .blind-content{border-radius:0 0 var(--theme-blind--border-radius) var(--theme-blind--border-radius);border:solid var(--theme-blind--border-thickness) var(--theme-color-primary);border-top:none}:host(.blind-primary){background-color:var(--theme-blind-base--background)}:host(.blind-primary[collapsed]) .blind-content{border-width:0}:host(.blind-outline) .blind-header{background-color:var(--theme-color-ghost)}:host(.blind-outline) .blind-header:not(.disabled):not(:disabled).hover,:host(.blind-outline) .blind-header:not(.disabled):not(:disabled):hover{background-color:var(--theme-ghost--background--hover)}:host(.blind-outline) .blind-header:not(.disabled):not(:disabled).active,:host(.blind-outline) .blind-header:not(.disabled):not(:disabled):active{background-color:var(--theme-ghost--background--active)}:host(.blind-outline) .blind-header-title-label{color:var(--theme-color-std-text)}:host(.blind-outline) .blind-header-title-sublabel{color:var(--theme-color-soft-text)}:host(.blind-outline) .header-actions{--ix-icon-button-color:var(--theme-color-primary)}:host(.blind-outline) .blind-header-wrapper{border:solid var(--theme-blind--border-thickness) var(--theme-color-soft-bdr);border-bottom:none;border-radius:var(--theme-blind--border-radius) var(--theme-blind--border-radius) 0 0}:host(.blind-outline) .blind-header-wrapper:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-outline) .blind-header-wrapper:not(.disabled):not(:disabled):hover,:host(.blind-outline) .blind-header-wrapper:not(.disabled):not(:disabled).hover{border-color:var(--theme-color-ghost--hover)}:host(.blind-outline) .blind-header-wrapper:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-outline) .blind-header-wrapper:not(.disabled):not(:disabled):active,:host(.blind-outline) .blind-header-wrapper:not(.disabled):not(:disabled).active{border-color:var(--theme-color-ghost--active)}:host(.blind-outline) .blind-header{border-radius:0}:host(.blind-outline) .blind-content{border-radius:0 0 var(--theme-blind--border-radius) var(--theme-blind--border-radius);border:solid var(--theme-blind--border-thickness) var(--theme-color-soft-bdr);border-top:none}:host(.blind-outline[collapsed]) .blind-header-wrapper{box-sizing:border-box;border-bottom:solid var(--theme-blind--border-thickness) var(--theme-color-soft-bdr);border-radius:var(--theme-blind--border-radius)}:host(.blind-outline[collapsed]) .blind-header-wrapper:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-outline[collapsed]) .blind-header-wrapper:not(.disabled):not(:disabled):hover,:host(.blind-outline[collapsed]) .blind-header-wrapper:not(.disabled):not(:disabled).hover{border-color:var(--theme-color-ghost--hover)}:host(.blind-outline[collapsed]) .blind-header-wrapper:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-outline[collapsed]) .blind-header-wrapper:not(.disabled):not(:disabled):active,:host(.blind-outline[collapsed]) .blind-header-wrapper:not(.disabled):not(:disabled).active{border-color:var(--theme-color-ghost--active)}:host(.blind-outline[collapsed]) .blind-content{border-width:0}`;
|
|
8
8
|
|
|
@@ -58,6 +58,9 @@ const Blind = class {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
rotateChevronUp() {
|
|
61
|
+
if (!this.chevronRef || !this.content) {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
61
64
|
animate(this.chevronRef, {
|
|
62
65
|
duration: Animation.defaultTime,
|
|
63
66
|
easing: 'easeInOutSine',
|
|
@@ -70,6 +73,9 @@ const Blind = class {
|
|
|
70
73
|
});
|
|
71
74
|
}
|
|
72
75
|
rotateChevronDown() {
|
|
76
|
+
if (!this.chevronRef || !this.content) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
73
79
|
animate(this.chevronRef, {
|
|
74
80
|
duration: Animation.defaultTime,
|
|
75
81
|
easing: 'easeInOutSine',
|
|
@@ -82,17 +88,17 @@ const Blind = class {
|
|
|
82
88
|
});
|
|
83
89
|
}
|
|
84
90
|
render() {
|
|
85
|
-
return (h(Host, { key: '
|
|
91
|
+
return (h(Host, { key: 'e9b97de01e859669c4e717aac840a7f4adbf55ba', class: {
|
|
86
92
|
[`blind-${this.variant}`]: true,
|
|
87
|
-
} }, h("div", { key: '
|
|
93
|
+
} }, h("div", { key: '584136290c0ac9e62010314845d3684cc8adf4c3', class: 'blind-header-wrapper' }, h("button", { key: '5459c5dc73c2a67485312d258ea80dffaf4f7359', class: {
|
|
88
94
|
'blind-header': true,
|
|
89
95
|
[`blind-${this.variant}`]: true,
|
|
90
96
|
closed: this.collapsed,
|
|
91
|
-
}, type: "button", "aria-labelledby": `ix-blind-header-title-${this.blindId}`, "aria-controls": `ix-blind-content-section-${this.blindId}`, "aria-expanded": a11yBoolean(!this.collapsed), onClick: () => this.onHeaderClick() }, h("slot", { key: '
|
|
97
|
+
}, type: "button", "aria-labelledby": `ix-blind-header-title-${this.blindId}`, "aria-controls": `ix-blind-content-section-${this.blindId}`, "aria-expanded": a11yBoolean(!this.collapsed), onClick: () => this.onHeaderClick() }, h("slot", { key: '214fa4ab565d636bc3cc674284c9008535901203', name: "custom-header" })), h("div", { key: '037fff2233bc0b4e8f7c2c120aeef1de5d3cc47d', class: 'blind-header-content' }, h("ix-icon", { key: '1259663454f5c37c57fd3f0ed8c10f32748634a2', class: "collapse-icon", name: iconChevronDownSmall, color: this.variant === 'filled' || this.variant === 'outline'
|
|
92
98
|
? 'color-std-text'
|
|
93
|
-
: `color-${this.variant}--contrast`, ref: (ref) => (this.chevronRef = ref) }), h("div", { key: '
|
|
99
|
+
: `color-${this.variant}--contrast`, ref: (ref) => (this.chevronRef = ref) }), h("div", { key: '54a63ae24e78db379f04d1d7b5b9d75b1cfc1f0e', class: "blind-header-title", id: `ix-blind-header-title-${this.blindId}` }, this.label !== undefined ? (h(Fragment, null, this.icon && (h("ix-icon", { class: "blind-header-title-icon", name: this.icon, color: this.variant === 'filled' || this.variant === 'outline'
|
|
94
100
|
? 'color-std-text'
|
|
95
|
-
: `color-${this.variant}--contrast` })), h("div", { class: 'blind-header-title-row' }, h("div", { class: "blind-header-title-col" }, h("ix-typography", { title: this.label, format: "label-lg", bold: true }, h("div", { class: "blind-header-title-label", title: this.label }, this.label))), this.sublabel && (h("div", { class: "blind-header-title-col" }, h("ix-typography", { title: this.sublabel }, h("div", { class: "blind-header-title-sublabel" }, this.sublabel))))), h("div", { class: "header-actions" }, h("slot", { name: "header-actions" })))) : null))), h("section", { key: '
|
|
101
|
+
: `color-${this.variant}--contrast` })), h("div", { class: 'blind-header-title-row' }, h("div", { class: "blind-header-title-col" }, h("ix-typography", { title: this.label, format: "label-lg", bold: true }, h("div", { class: "blind-header-title-label", title: this.label }, this.label))), this.sublabel && (h("div", { class: "blind-header-title-col" }, h("ix-typography", { title: this.sublabel }, h("div", { class: "blind-header-title-sublabel" }, this.sublabel))))), h("div", { class: "header-actions" }, h("slot", { name: "header-actions" })))) : null))), h("section", { key: '343c8a86dea7dce5a2f207cbd1e46c9248dafe37', id: `ix-blind-content-section-${this.blindId}`, "aria-labelledby": `ix-blind-header-title-${this.blindId}` }, h("div", { key: '1d8ba26c53ee69a3087f4712346197ae471da0d9', class: {
|
|
96
102
|
'blind-content': true,
|
|
97
103
|
hide: this.collapsed,
|
|
98
104
|
} }, !this.collapsed ? h("slot", null) : null))));
|