@siemens/ix 0.0.0-20240419081748 → 0.0.0-20240508065324
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/components/dropdown.js +112 -9
- package/components/dropdown.js.map +1 -1
- package/components/group-context-menu.js +1 -1
- package/components/group-context-menu.js.map +1 -1
- package/components/group-item.js +3 -3
- package/components/group-item.js.map +1 -1
- package/components/ix-category-filter.js +34 -10
- package/components/ix-category-filter.js.map +1 -1
- package/components/ix-event-list-item.js +5 -4
- package/components/ix-event-list-item.js.map +1 -1
- package/components/ix-event-list.js +26 -25
- package/components/ix-event-list.js.map +1 -1
- package/components/ix-form-field.js +1 -1
- package/components/ix-form-field.js.map +1 -1
- package/components/ix-group.js +16 -9
- package/components/ix-group.js.map +1 -1
- package/components/ix-icon-toggle-button.js +1 -1
- package/components/ix-input-group.js +1 -1
- package/components/ix-key-value-list.js +1 -1
- package/components/ix-kpi.js +3 -3
- package/components/ix-link-button.js +3 -3
- package/components/ix-map-navigation.js +2 -2
- package/components/ix-menu-about-item.js +1 -1
- package/components/ix-menu-about-news.js +4 -4
- package/components/ix-menu-about.js +1 -1
- package/components/ix-menu-about.js.map +1 -1
- package/components/ix-menu-avatar.js +2 -2
- package/components/ix-menu-category.js +5 -5
- package/components/ix-menu-settings-item.js +1 -1
- package/components/ix-menu.js +11 -11
- package/components/ix-message-bar.js +1 -1
- package/components/ix-modal-example.js +1 -1
- package/components/ix-modal-footer.js +1 -1
- package/components/ix-modal-loading.js +1 -1
- package/components/ix-pagination.js +2 -2
- package/components/ix-pane-layout.js +1 -1
- package/components/ix-pill.js +4 -4
- package/components/ix-playground-internal.js +1 -1
- package/components/ix-split-button-item.js +1 -1
- package/components/ix-tile.js +4 -4
- package/components/ix-toggle-button.js +2 -2
- package/components/ix-toggle.js +2 -2
- package/components/ix-tree.js +1 -1
- package/components/ix-upload.js +3 -3
- package/components/ix-validation-tooltip.js +2 -2
- package/components/ix-workflow-step.js +3 -3
- package/components/ix-workflow-steps.js +1 -1
- package/components/map-navigation-overlay.js +2 -2
- package/components/menu-avatar-item.js +1 -1
- package/components/menu-expand-icon.js +1 -1
- package/components/menu-item.js +2 -2
- package/components/modal-content.js +1 -1
- package/components/modal-header.js +1 -1
- package/components/row.js +1 -1
- package/components/select-item.js +9 -1
- package/components/select-item.js.map +1 -1
- package/components/select.js +161 -42
- package/components/select.js.map +1 -1
- package/components/spinner.js +1 -1
- package/components/tabs.js +2 -2
- package/components/time-picker.js +1 -1
- package/components/time-picker.js.map +1 -1
- package/components/toast.js +2 -2
- package/components/tooltip.js +2 -2
- package/components/tree-item.js +4 -4
- package/dist/cjs/focus-9c8ffbb0.js +65 -0
- package/dist/cjs/focus-9c8ffbb0.js.map +1 -0
- package/dist/cjs/ix-avatar_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-category-filter.cjs.entry.js +33 -10
- package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-col_4.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown.cjs.entry.js +52 -8
- package/dist/cjs/ix-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-event-list-item.cjs.entry.js +5 -4
- package/dist/cjs/ix-event-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-event-list.cjs.entry.js +26 -25
- package/dist/cjs/ix-event-list.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +8 -1
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-form-field.cjs.entry.js +1 -1
- package/dist/cjs/ix-form-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-group.cjs.entry.js +13 -7
- package/dist/cjs/ix-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
- package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +3 -3
- package/dist/cjs/ix-link-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +2 -2
- package/dist/cjs/ix-map-navigation.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-about.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-about.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-category.cjs.entry.js +5 -5
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu.cjs.entry.js +11 -11
- package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
- package/dist/cjs/ix-pagination.cjs.entry.js +2 -2
- package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
- package/dist/cjs/ix-pill.cjs.entry.js +4 -4
- package/dist/cjs/ix-playground-internal.cjs.entry.js +1 -1
- package/dist/cjs/ix-select.cjs.entry.js +159 -39
- package/dist/cjs/ix-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-split-button-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-tab-item_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-tile.cjs.entry.js +4 -4
- package/dist/cjs/ix-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/ix-time-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toast.cjs.entry.js +2 -2
- package/dist/cjs/ix-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/ix-toggle.cjs.entry.js +2 -2
- package/dist/cjs/ix-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/ix-tree-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-tree.cjs.entry.js +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +3 -3
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/ix-workflow-step.cjs.entry.js +3 -3
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/siemens-ix.cjs.js +1 -1
- package/dist/collection/components/category-filter/category-filter.css +60 -24
- package/dist/collection/components/category-filter/category-filter.js +58 -9
- package/dist/collection/components/category-filter/category-filter.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown.js +52 -8
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown/test/dropdown.ct.js +42 -0
- package/dist/collection/components/dropdown/test/dropdown.ct.js.map +1 -1
- package/dist/collection/components/event-list/event-list.js +26 -25
- package/dist/collection/components/event-list/event-list.js.map +1 -1
- package/dist/collection/components/event-list/test/event-list.ct.js +61 -0
- package/dist/collection/components/event-list/test/event-list.ct.js.map +1 -0
- package/dist/collection/components/event-list/test/event-list.spec.js +0 -47
- package/dist/collection/components/event-list/test/event-list.spec.js.map +1 -1
- package/dist/collection/components/event-list-item/event-list-item.js +5 -4
- package/dist/collection/components/event-list-item/event-list-item.js.map +1 -1
- package/dist/collection/components/form-field/form-field.css +30 -12
- package/dist/collection/components/group/group-context-menu.css +3 -0
- package/dist/collection/components/group/group.js +16 -9
- package/dist/collection/components/group/group.js.map +1 -1
- package/dist/collection/components/group/test/group.ct.js +47 -0
- package/dist/collection/components/group/test/group.ct.js.map +1 -0
- package/dist/collection/components/group-item/group-item.css +9 -4
- package/dist/collection/components/group-item/group-item.js +2 -2
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
- package/dist/collection/components/input-group/input-group.js +1 -1
- package/dist/collection/components/key-value-list/key-value-list.js +1 -1
- package/dist/collection/components/kpi/kpi.js +3 -3
- package/dist/collection/components/link-button/link-button.js +3 -3
- package/dist/collection/components/map-navigation/map-navigation.js +2 -2
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
- package/dist/collection/components/menu/menu-expand-icon.js +1 -1
- package/dist/collection/components/menu/menu.js +11 -11
- package/dist/collection/components/menu-about/menu-about.js +2 -2
- package/dist/collection/components/menu-about/menu-about.js.map +1 -1
- package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
- package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
- package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
- package/dist/collection/components/menu-category/menu-category.js +5 -5
- package/dist/collection/components/menu-item/menu-item.js +2 -2
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
- package/dist/collection/components/message-bar/message-bar.js +1 -1
- package/dist/collection/components/modal-content/modal-content.js +1 -1
- package/dist/collection/components/modal-footer/modal-footer.js +1 -1
- package/dist/collection/components/modal-header/modal-header.js +1 -1
- package/dist/collection/components/modal-loading/modal-loading.js +1 -1
- package/dist/collection/components/pagination/pagination.js +2 -2
- package/dist/collection/components/pane-layout/pane-layout.js +1 -1
- package/dist/collection/components/pill/pill.js +4 -4
- package/dist/collection/components/playground/example-modal.js +1 -1
- package/dist/collection/components/playground/playground.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/select/select.css +27 -9
- package/dist/collection/components/select/select.js +159 -38
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select/test/select.ct.js +342 -0
- package/dist/collection/components/select/test/select.ct.js.map +1 -1
- package/dist/collection/components/select-item/select-item.js +32 -1
- package/dist/collection/components/select-item/select-item.js.map +1 -1
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-button-item/split-button-item.js +1 -1
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tile/tile.js +4 -4
- package/dist/collection/components/time-picker/time-picker.css +30 -12
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +2 -2
- package/dist/collection/components/toggle-button/toggle-button.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +4 -4
- package/dist/collection/components/upload/upload.js +3 -3
- package/dist/collection/components/utils/focus.js +60 -0
- package/dist/collection/components/utils/focus.js.map +1 -0
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
- package/dist/collection/components/workflow-step/workflow-step.js +3 -3
- package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
- package/dist/collection/tests/category-filter/category-filter.e2e.js +30 -0
- package/dist/collection/tests/category-filter/category-filter.e2e.js.map +1 -1
- package/dist/collection/tests/select/select.e2e.js +21 -0
- package/dist/collection/tests/select/select.e2e.js.map +1 -1
- package/dist/esm/focus-d4d3abaf.js +63 -0
- package/dist/esm/focus-d4d3abaf.js.map +1 -0
- package/dist/esm/ix-avatar_2.entry.js +1 -1
- package/dist/esm/ix-category-filter.entry.js +33 -10
- package/dist/esm/ix-category-filter.entry.js.map +1 -1
- package/dist/esm/ix-col_4.entry.js +1 -1
- package/dist/esm/ix-dropdown.entry.js +52 -8
- package/dist/esm/ix-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-event-list-item.entry.js +5 -4
- package/dist/esm/ix-event-list-item.entry.js.map +1 -1
- package/dist/esm/ix-event-list.entry.js +26 -25
- package/dist/esm/ix-event-list.entry.js.map +1 -1
- package/dist/esm/ix-filter-chip_2.entry.js +8 -1
- package/dist/esm/ix-filter-chip_2.entry.js.map +1 -1
- package/dist/esm/ix-form-field.entry.js +1 -1
- package/dist/esm/ix-form-field.entry.js.map +1 -1
- package/dist/esm/ix-group-context-menu_2.entry.js +4 -4
- package/dist/esm/ix-group-context-menu_2.entry.js.map +1 -1
- package/dist/esm/ix-group.entry.js +14 -8
- package/dist/esm/ix-group.entry.js.map +1 -1
- package/dist/esm/ix-icon-button_2.entry.js +1 -1
- package/dist/esm/ix-icon-toggle-button.entry.js +1 -1
- package/dist/esm/ix-input-group.entry.js +1 -1
- package/dist/esm/ix-key-value-list.entry.js +1 -1
- package/dist/esm/ix-kpi.entry.js +3 -3
- package/dist/esm/ix-link-button.entry.js +3 -3
- package/dist/esm/ix-map-navigation-overlay.entry.js +2 -2
- package/dist/esm/ix-map-navigation.entry.js +2 -2
- package/dist/esm/ix-menu-about-item.entry.js +1 -1
- package/dist/esm/ix-menu-about-news.entry.js +4 -4
- package/dist/esm/ix-menu-about.entry.js +1 -1
- package/dist/esm/ix-menu-about.entry.js.map +1 -1
- package/dist/esm/ix-menu-avatar.entry.js +2 -2
- package/dist/esm/ix-menu-category.entry.js +5 -5
- package/dist/esm/ix-menu-expand-icon.entry.js +1 -1
- package/dist/esm/ix-menu-item.entry.js +2 -2
- package/dist/esm/ix-menu-settings-item.entry.js +1 -1
- package/dist/esm/ix-menu.entry.js +11 -11
- package/dist/esm/ix-message-bar.entry.js +1 -1
- package/dist/esm/ix-modal-content_2.entry.js +2 -2
- package/dist/esm/ix-modal-example.entry.js +1 -1
- package/dist/esm/ix-modal-footer.entry.js +1 -1
- package/dist/esm/ix-modal-loading.entry.js +1 -1
- package/dist/esm/ix-pagination.entry.js +2 -2
- package/dist/esm/ix-pane-layout.entry.js +1 -1
- package/dist/esm/ix-pill.entry.js +4 -4
- package/dist/esm/ix-playground-internal.entry.js +1 -1
- package/dist/esm/ix-select.entry.js +159 -39
- package/dist/esm/ix-select.entry.js.map +1 -1
- package/dist/esm/ix-split-button-item.entry.js +1 -1
- package/dist/esm/ix-tab-item_2.entry.js +2 -2
- package/dist/esm/ix-tile.entry.js +4 -4
- package/dist/esm/ix-time-picker.entry.js +1 -1
- package/dist/esm/ix-time-picker.entry.js.map +1 -1
- package/dist/esm/ix-toast.entry.js +2 -2
- package/dist/esm/ix-toggle-button.entry.js +2 -2
- package/dist/esm/ix-toggle.entry.js +2 -2
- package/dist/esm/ix-tooltip.entry.js +2 -2
- package/dist/esm/ix-tree-item.entry.js +4 -4
- package/dist/esm/ix-tree.entry.js +1 -1
- package/dist/esm/ix-upload.entry.js +3 -3
- package/dist/esm/ix-validation-tooltip.entry.js +2 -2
- package/dist/esm/ix-workflow-step.entry.js +3 -3
- package/dist/esm/ix-workflow-steps.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/siemens-ix.js +1 -1
- package/dist/playwright-ct.config.js +1 -1
- package/dist/playwright-ct.config.js.map +1 -1
- package/dist/siemens-ix/{p-d2ee87ae.entry.js → p-0a1bfcfc.entry.js} +2 -2
- package/dist/siemens-ix/{p-ca838b5c.entry.js → p-0b7741b7.entry.js} +2 -2
- package/dist/siemens-ix/{p-9c03b231.entry.js → p-114bb49b.entry.js} +2 -2
- package/dist/siemens-ix/{p-c2f6aaae.entry.js → p-262026ab.entry.js} +2 -2
- package/dist/siemens-ix/{p-d48a746d.entry.js → p-29b0bef3.entry.js} +2 -2
- package/dist/siemens-ix/{p-f2856faf.entry.js → p-30e8a26a.entry.js} +2 -2
- package/dist/siemens-ix/{p-1450ba99.entry.js → p-3b8e4fe5.entry.js} +2 -2
- package/dist/siemens-ix/{p-96615442.entry.js → p-418959d3.entry.js} +2 -2
- package/dist/siemens-ix/{p-96615442.entry.js.map → p-418959d3.entry.js.map} +1 -1
- package/dist/siemens-ix/p-4290098e.entry.js +2 -0
- package/dist/siemens-ix/{p-cb1c0d63.entry.js.map → p-4290098e.entry.js.map} +1 -1
- package/dist/siemens-ix/p-43a58a77.entry.js +2 -0
- package/dist/siemens-ix/{p-7289b0be.entry.js.map → p-43a58a77.entry.js.map} +1 -1
- package/dist/siemens-ix/p-4fd11865.entry.js +2 -0
- package/dist/siemens-ix/p-56bbdae4.entry.js +2 -0
- package/dist/siemens-ix/{p-0d268489.entry.js → p-5f08da2c.entry.js} +2 -2
- package/dist/siemens-ix/{p-26789c86.entry.js → p-601cfc6a.entry.js} +2 -2
- package/dist/siemens-ix/p-64c895ac.entry.js +2 -0
- package/dist/siemens-ix/p-64c895ac.entry.js.map +1 -0
- package/dist/siemens-ix/p-678d821f.entry.js +2 -0
- package/dist/siemens-ix/{p-b1ec7f32.entry.js → p-6ea6396e.entry.js} +2 -2
- package/dist/siemens-ix/{p-7c1fd9a0.entry.js → p-6eb4eefc.entry.js} +2 -2
- package/dist/siemens-ix/{p-af46164c.entry.js → p-784fe260.entry.js} +2 -2
- package/dist/siemens-ix/{p-9fcf9dcd.entry.js → p-8d161202.entry.js} +2 -2
- package/dist/siemens-ix/{p-d77fa665.entry.js → p-90c55341.entry.js} +2 -2
- package/dist/siemens-ix/p-90c55341.entry.js.map +1 -0
- package/dist/siemens-ix/p-96d2d21f.entry.js +2 -0
- package/dist/siemens-ix/p-96d2d21f.entry.js.map +1 -0
- package/dist/siemens-ix/{p-c5762d6c.entry.js → p-9dabe2f7.entry.js} +2 -2
- package/dist/siemens-ix/p-a039faa9.entry.js +2 -0
- package/dist/siemens-ix/p-a039faa9.entry.js.map +1 -0
- package/dist/siemens-ix/p-a35d02ea.entry.js +2 -0
- package/dist/siemens-ix/{p-31cc5367.entry.js → p-a3ad98bc.entry.js} +2 -2
- package/dist/siemens-ix/p-a6fbea5b.entry.js +2 -0
- package/dist/siemens-ix/p-a6fbea5b.entry.js.map +1 -0
- package/dist/siemens-ix/p-a9d1ab94.entry.js +2 -0
- package/dist/siemens-ix/{p-080653aa.entry.js.map → p-a9d1ab94.entry.js.map} +1 -1
- package/dist/siemens-ix/p-aa58d9d7.entry.js +2 -0
- package/dist/siemens-ix/p-aa58d9d7.entry.js.map +1 -0
- package/dist/siemens-ix/p-abb29515.entry.js +2 -0
- package/dist/siemens-ix/p-abb29515.entry.js.map +1 -0
- package/dist/siemens-ix/{p-f6635bfc.entry.js → p-ac1d46d6.entry.js} +2 -2
- package/dist/siemens-ix/p-add5b76c.entry.js +2 -0
- package/dist/siemens-ix/{p-33e903e1.entry.js.map → p-add5b76c.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-d76ee9ff.entry.js → p-af74fc62.entry.js} +2 -2
- package/dist/siemens-ix/{p-32fa185a.entry.js → p-b02fd2c5.entry.js} +2 -2
- package/dist/siemens-ix/p-b32c2183.entry.js +2 -0
- package/dist/siemens-ix/{p-d0cf522c.entry.js.map → p-b32c2183.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-6f056fc6.entry.js → p-bc5d33ce.entry.js} +2 -2
- package/dist/siemens-ix/{p-f17e4cce.entry.js → p-bd310180.entry.js} +2 -2
- package/dist/siemens-ix/p-c09553f3.js +2 -0
- package/dist/siemens-ix/p-c09553f3.js.map +1 -0
- package/dist/siemens-ix/{p-c89a070a.entry.js → p-c29aff68.entry.js} +2 -2
- package/dist/siemens-ix/{p-30f449bc.entry.js → p-ca65a043.entry.js} +2 -2
- package/dist/siemens-ix/{p-4bbae41b.entry.js → p-cbbe9dee.entry.js} +2 -2
- package/dist/siemens-ix/p-ccf1bd22.entry.js +2 -0
- package/dist/siemens-ix/{p-47017ce7.entry.js → p-d08cbeaf.entry.js} +2 -2
- package/dist/siemens-ix/p-d600ea55.entry.js +2 -0
- package/dist/siemens-ix/p-d600ea55.entry.js.map +1 -0
- package/dist/siemens-ix/{p-1255e76b.entry.js → p-d6a094cf.entry.js} +2 -2
- package/dist/siemens-ix/{p-3e4e3b23.entry.js → p-dbf234e5.entry.js} +2 -2
- package/dist/siemens-ix/{p-177f9a5c.entry.js → p-e2464e13.entry.js} +2 -2
- package/dist/siemens-ix/{p-d9d5389b.entry.js → p-e678bfc5.entry.js} +2 -2
- package/dist/siemens-ix/{p-c8e0563a.entry.js → p-ec741c06.entry.js} +2 -2
- package/dist/siemens-ix/{p-ca658a19.entry.js → p-ed2ec72f.entry.js} +2 -2
- package/dist/siemens-ix/{p-d9370972.entry.js → p-f2a81e70.entry.js} +2 -2
- package/dist/siemens-ix/{p-1ad7fd83.entry.js → p-fe273de4.entry.js} +2 -2
- package/dist/siemens-ix/siemens-ix-core.css +1 -1
- package/dist/siemens-ix/siemens-ix.css +30 -12
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
- package/dist/types/components/category-filter/category-filter.d.ts +10 -0
- package/dist/types/components/dropdown/dropdown.d.ts +7 -1
- package/dist/types/components/event-list/test/event-list.ct.d.ts +1 -0
- package/dist/types/components/group/group.d.ts +1 -0
- package/dist/types/components/group/test/group.ct.d.ts +1 -0
- package/dist/types/components/menu-about/menu-about.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +15 -3
- package/dist/types/components/select-item/select-item.d.ts +5 -1
- package/dist/types/components/utils/focus.d.ts +10 -0
- package/dist/types/components.d.ts +15 -2
- package/package.json +1 -1
- package/scss/components/form/_input.scss +11 -8
- package/dist/siemens-ix/p-080653aa.entry.js +0 -2
- package/dist/siemens-ix/p-08bedeaa.entry.js +0 -2
- package/dist/siemens-ix/p-2a9673f3.entry.js +0 -2
- package/dist/siemens-ix/p-2a9673f3.entry.js.map +0 -1
- package/dist/siemens-ix/p-33e903e1.entry.js +0 -2
- package/dist/siemens-ix/p-37e4df76.entry.js +0 -2
- package/dist/siemens-ix/p-37e4df76.entry.js.map +0 -1
- package/dist/siemens-ix/p-7289b0be.entry.js +0 -2
- package/dist/siemens-ix/p-7b5ed355.entry.js +0 -2
- package/dist/siemens-ix/p-87fe9d5f.entry.js +0 -2
- package/dist/siemens-ix/p-87fe9d5f.entry.js.map +0 -1
- package/dist/siemens-ix/p-8a06a632.entry.js +0 -2
- package/dist/siemens-ix/p-96f2c71a.entry.js +0 -2
- package/dist/siemens-ix/p-96f2c71a.entry.js.map +0 -1
- package/dist/siemens-ix/p-9fd3ae7f.entry.js +0 -2
- package/dist/siemens-ix/p-a93df5f2.entry.js +0 -2
- package/dist/siemens-ix/p-a93df5f2.entry.js.map +0 -1
- package/dist/siemens-ix/p-ab446f83.entry.js +0 -2
- package/dist/siemens-ix/p-ab446f83.entry.js.map +0 -1
- package/dist/siemens-ix/p-b78fd38b.entry.js +0 -2
- package/dist/siemens-ix/p-b78fd38b.entry.js.map +0 -1
- package/dist/siemens-ix/p-c49701a0.entry.js +0 -2
- package/dist/siemens-ix/p-cb1c0d63.entry.js +0 -2
- package/dist/siemens-ix/p-d0cf522c.entry.js +0 -2
- package/dist/siemens-ix/p-d77fa665.entry.js.map +0 -1
- /package/dist/siemens-ix/{p-d2ee87ae.entry.js.map → p-0a1bfcfc.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ca838b5c.entry.js.map → p-0b7741b7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9c03b231.entry.js.map → p-114bb49b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c2f6aaae.entry.js.map → p-262026ab.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d48a746d.entry.js.map → p-29b0bef3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f2856faf.entry.js.map → p-30e8a26a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1450ba99.entry.js.map → p-3b8e4fe5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c49701a0.entry.js.map → p-4fd11865.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9fd3ae7f.entry.js.map → p-56bbdae4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0d268489.entry.js.map → p-5f08da2c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-26789c86.entry.js.map → p-601cfc6a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7b5ed355.entry.js.map → p-678d821f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b1ec7f32.entry.js.map → p-6ea6396e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7c1fd9a0.entry.js.map → p-6eb4eefc.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-af46164c.entry.js.map → p-784fe260.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9fcf9dcd.entry.js.map → p-8d161202.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c5762d6c.entry.js.map → p-9dabe2f7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-08bedeaa.entry.js.map → p-a35d02ea.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-31cc5367.entry.js.map → p-a3ad98bc.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f6635bfc.entry.js.map → p-ac1d46d6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d76ee9ff.entry.js.map → p-af74fc62.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-32fa185a.entry.js.map → p-b02fd2c5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6f056fc6.entry.js.map → p-bc5d33ce.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f17e4cce.entry.js.map → p-bd310180.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c89a070a.entry.js.map → p-c29aff68.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-30f449bc.entry.js.map → p-ca65a043.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4bbae41b.entry.js.map → p-cbbe9dee.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8a06a632.entry.js.map → p-ccf1bd22.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-47017ce7.entry.js.map → p-d08cbeaf.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1255e76b.entry.js.map → p-d6a094cf.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3e4e3b23.entry.js.map → p-dbf234e5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-177f9a5c.entry.js.map → p-e2464e13.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d9d5389b.entry.js.map → p-e678bfc5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c8e0563a.entry.js.map → p-ec741c06.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ca658a19.entry.js.map → p-ed2ec72f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d9370972.entry.js.map → p-f2a81e70.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1ad7fd83.entry.js.map → p-fe273de4.entry.js.map} +0 -0
package/components/ix-menu.js
CHANGED
|
@@ -402,44 +402,44 @@ const Menu = /*@__PURE__*/ proxyCustomElement(class Menu extends HTMLElement {
|
|
|
402
402
|
}
|
|
403
403
|
render() {
|
|
404
404
|
var _a;
|
|
405
|
-
return (h(Host, { key: '
|
|
405
|
+
return (h(Host, { key: '04381993d2b3de312e2d2cf9960e4674f817d112', class: {
|
|
406
406
|
expanded: this.expand,
|
|
407
407
|
[`breakpoint-${this.breakpoint}`]: true,
|
|
408
|
-
}, slot: "menu" }, h("aside", { key: '
|
|
408
|
+
}, slot: "menu" }, h("aside", { key: '03991cabbeb7fbc4ed620e2cc65739127c76c2e5', class: {
|
|
409
409
|
menu: true,
|
|
410
410
|
expanded: this.expand,
|
|
411
411
|
}, onClick: () => {
|
|
412
412
|
this.resetActiveTab();
|
|
413
|
-
} }, h("div", { key: '
|
|
414
|
-
this.applicationLayoutContext.appSwitchConfig && (h("ix-icon-button", { onClick: () => showAppSwitch(this.applicationLayoutContext.appSwitchConfig), icon: "apps", ghost: true }))), h("div", { key: '
|
|
413
|
+
} }, h("div", { key: 'db75ed295b5d528f63a557168acc87dbb0f9f7cc', class: "menu-buttons" }, this.breakpoint !== 'sm' && (h("ix-menu-expand-icon", { breakpoint: this.breakpoint, expanded: this.expand, pinned: this.pinned, class: "menu-expand-icon", ixAriaLabel: this.i18nExpandSidebar, onClick: async () => this.toggleMenu() })), this.breakpoint === 'sm' &&
|
|
414
|
+
this.applicationLayoutContext.appSwitchConfig && (h("ix-icon-button", { onClick: () => showAppSwitch(this.applicationLayoutContext.appSwitchConfig), icon: "apps", ghost: true }))), h("div", { key: '2720ecc044b969dce2c30ce4caebc337a2c14fdf', id: "menu-tabs", style: {
|
|
415
415
|
display: 'contents',
|
|
416
|
-
}, onClick: (e) => this.onMenuItemsClick(e) }, h("div", { key: '
|
|
416
|
+
}, onClick: (e) => this.onMenuItemsClick(e) }, h("div", { key: '41cf30c3ff12c6bc4b6cbee1b7ac6e38e0591a8e', class: "tabs-shadow-container" }, h("div", { key: '1ab4dfeb9512cd11553c3cf957f499cb3f3f0874', class: {
|
|
417
417
|
'tabs--shadow': true,
|
|
418
418
|
'tabs--shadow-top': true,
|
|
419
419
|
'tabs--shadow--show': this.itemsScrollShadowTop,
|
|
420
|
-
} }), h("div", { key: '
|
|
420
|
+
} }), h("div", { key: '13b064b021d8cc95748336a09b2abe102c43255c', class: {
|
|
421
421
|
tabs: true,
|
|
422
422
|
'show-scrollbar': this.expand,
|
|
423
|
-
}, onScroll: () => this.handleOverflowIndicator() }, h("div", { key: '
|
|
423
|
+
}, onScroll: () => this.handleOverflowIndicator() }, h("div", { key: '56b8bdaaf62dcb141c05ac3f0d85f212280ae3be', class: "menu-avatar" }, h("slot", { key: '71558d01cc5c4402daffa2a14565f9413f86eb38', name: "ix-menu-avatar" })), h("slot", { key: 'a9769cfeafc4a704ef6bd5b3ba8a067599c1d0eb', name: "home" }), this.breakpoint !== 'sm' || !this.isHiddenFromViewport() ? (h("slot", null)) : null), h("div", { key: '1207b0712c13e075944db84015646e80c36384cf', class: {
|
|
424
424
|
'tabs--shadow': true,
|
|
425
425
|
'tabs--shadow-bottom': true,
|
|
426
426
|
'tabs--shadow--show': this.itemsScrollShadowBottom,
|
|
427
|
-
} }))), h("div", { key: '
|
|
427
|
+
} }))), h("div", { key: 'bf3b36fd14b0845c50c554fa3a160165fcb7cb4a', class: "bottom-tab-divider" }), this.settings ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "settings", class: {
|
|
428
428
|
'internal-tab': true,
|
|
429
429
|
'bottom-tab': true,
|
|
430
430
|
active: this.showSettings,
|
|
431
|
-
}, icon: 'cogwheel', onClick: async () => this.toggleSettings(!this.showSettings) }, this.i18nSettings)) : null, h("div", { key: '
|
|
431
|
+
}, icon: 'cogwheel', onClick: async () => this.toggleSettings(!this.showSettings) }, this.i18nSettings)) : null, h("div", { key: '6ed7e214926341ed613df5586c4e03f34cc75147', onClick: (e) => this.onMenuItemsClick(e) }, h("slot", { key: '235d19eade65b8a3005f81dba02869ee8185abb8', name: "bottom" })), h("div", { key: '1ab169504cb519a9634ae808ea9be0a062c60e8f', id: "popover-area" }), this.about ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "aboutAndLegal", class: {
|
|
432
432
|
'internal-tab': true,
|
|
433
433
|
'bottom-tab': true,
|
|
434
434
|
active: this.showAbout,
|
|
435
|
-
}, icon: 'info', onClick: async () => this.toggleAbout(!this.showAbout) }, this.i18nLegal)) : null, this.enableToggleTheme ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "toggleTheme", onClick: () => themeSwitcher.toggleMode(), class: "internal-tab bottom-tab", icon: 'light-dark' }, this.i18nToggleTheme)) : null, this.enableMapExpand || ((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.sidebar) ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "menu-collapse", onClick: () => this.sidebarToggle(), class: "internal-tab bottom-tab", icon: `${this.getCollapseIcon()}` }, this.getCollapseText())) : null), h("div", { key: '
|
|
435
|
+
}, icon: 'info', onClick: async () => this.toggleAbout(!this.showAbout) }, this.i18nLegal)) : null, this.enableToggleTheme ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "toggleTheme", onClick: () => themeSwitcher.toggleMode(), class: "internal-tab bottom-tab", icon: 'light-dark' }, this.i18nToggleTheme)) : null, this.enableMapExpand || ((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.sidebar) ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "menu-collapse", onClick: () => this.sidebarToggle(), class: "internal-tab bottom-tab", icon: `${this.getCollapseIcon()}` }, this.getCollapseText())) : null), h("div", { key: '95766018d4ef14f54142f69b4193c21378732930', class: {
|
|
436
436
|
'menu-overlay': true,
|
|
437
437
|
visible: this.isOverlayVisible(),
|
|
438
438
|
expanded: this.expand,
|
|
439
439
|
}, onTransitionEnd: () => {
|
|
440
440
|
this.isTransitionDisabled = true;
|
|
441
441
|
this.checkTransition();
|
|
442
|
-
} }, h("div", { key: '
|
|
442
|
+
} }, h("div", { key: '01080a1085e7cf7805552e4226e5af59be81ed0b', class: 'menu-overlay-container' }, this.showSettings ? h("slot", { name: "ix-menu-settings" }) : null), h("div", { key: '1f432ce86c44d5d1460345b84f2c3d16dbf8c68e', class: 'menu-overlay-container' }, this.showAbout ? h("slot", { name: "ix-menu-about" }) : null))));
|
|
443
443
|
}
|
|
444
444
|
get hostElement() { return this; }
|
|
445
445
|
static get watchers() { return {
|
|
@@ -44,7 +44,7 @@ const MessageBar = /*@__PURE__*/ proxyCustomElement(class MessageBar extends HTM
|
|
|
44
44
|
this.closedChange.emit();
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '1e6b060fd39fb008c5ce8e56553b7ee235d5db2d' }, h("div", { key: 'a0f00d550a6c2e2f61918bbccd2c342100e73dcd', class: { 'message-container': true, [this.type]: true }, role: "alert", ref: (el) => (this.divElement = el) }, h("ix-icon", { key: '5bbfa1b8fcd0025b4d2fa0b488c604458fc4e131', color: this.color, name: this.icon }), h("div", { key: '78e83b8a02ea46b6b3ba65690d5939f00a63ca78', class: "message-content" }, h("slot", { key: 'b5813c317b7ea1b0c0e6919488016a43140dd68f' })), this.dismissible ? (h("ix-icon-button", { icon: 'close', size: "24", ghost: true, onClick: () => {
|
|
48
48
|
this.closeAlert(this.divElement);
|
|
49
49
|
}, "data-testid": "close-btn" })) : (''))));
|
|
50
50
|
}
|
|
@@ -17,7 +17,7 @@ const ModalExample = /*@__PURE__*/ proxyCustomElement(class ModalExample extends
|
|
|
17
17
|
closeModal(this.host, 'Done!');
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: 'e219bbf7bea6f929aa522982cbdf055b3fc45a92' }, h("div", { key: '186e10c89c6fd9f626a8fa7642a3a2efe9b4e899' }, h("div", { key: '2919c50fa62881cc689d659657bd5b55fb7c6f81', class: "modal-header" }, "Message headline", h("ix-icon-button", { key: '3dc6851c96c9140f1b13a0c312100acd71762fcd', "data-close-button": true, ghost: true, icon: 'close', onClick: () => this.dismiss() })), h("div", { key: '4b202214dad7f1502f4201969d7cf1a378a55957', class: "modal-body" }, "Message text lorem ipsum"), h("div", { key: 'b8df28789d9cede8b78117a8b2cd88b7088e9ea1', class: "modal-footer" }, h("ix-button", { key: 'eace38404f5761f3ead889d477481dfd33a5de3a', outline: true, onClick: () => this.dismiss() }, "Cancel"), h("ix-button", { key: '38d00bad14606c86ea9ca37bae984579a43475e6', onClick: () => this.close() }, "OK")))));
|
|
21
21
|
}
|
|
22
22
|
get host() { return this; }
|
|
23
23
|
}, [0, "ix-modal-example"]);
|
|
@@ -10,7 +10,7 @@ const ModalFooter = /*@__PURE__*/ proxyCustomElement(class ModalFooter extends H
|
|
|
10
10
|
this.__attachShadow();
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '10d32ee56938d12d5300cc8bccb401a4492ddb85' }, h("slot", { key: '63b0a1b1611bfd377192b6f49e22fc22861f809b' })));
|
|
14
14
|
}
|
|
15
15
|
static get style() { return IxModalFooterStyle0; }
|
|
16
16
|
}, [1, "ix-modal-footer"]);
|
|
@@ -11,7 +11,7 @@ const ModalLoading = /*@__PURE__*/ proxyCustomElement(class ModalLoading extends
|
|
|
11
11
|
this.__attachShadow();
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'f6d440918bef7125ac06449ab6d0cd4088f5fefb' }, h("ix-spinner", { key: '3efc2e66c193f2af94f4f5d6dc3e91daa2049008', variant: "primary" }), h("span", { key: '4d81c46bedae034801a35637ca78bd8f2b618124', class: 'loading-text' }, h("slot", { key: '90bf6e1aeac791f70c203fb6bf32dcb7cb313719' }))));
|
|
15
15
|
}
|
|
16
16
|
static get style() { return IxModalLoadingStyle0; }
|
|
17
17
|
}, [1, "ix-modal-loading"]);
|
|
@@ -130,10 +130,10 @@ const Pagination = /*@__PURE__*/ proxyCustomElement(class Pagination extends HTM
|
|
|
130
130
|
return h("span", { class: "page-buttons" }, pageButtons);
|
|
131
131
|
}
|
|
132
132
|
render() {
|
|
133
|
-
return (h(Host, { key: '
|
|
133
|
+
return (h(Host, { key: '0d3ee03dc65b4178ad572d753d2c01f35c853d0e' }, h("ix-icon-button", { key: '58af8c5d7a36d3ddf24f1dde1b39cac9c3c2d929', disabled: this.selectedPage === 0, ghost: true, icon: 'chevron-left-small', onClick: () => this.decrease() }), this.advanced ? (h("div", { class: "advanced-pagination" }, h("ix-typography", { variant: "default" }, this.i18nPage), h("input", { class: "form-control page-selection", type: "number", min: "1", max: this.count, value: this.selectedPage + 1, onChange: (e) => {
|
|
134
134
|
const index = Number.parseInt(e.target['value']);
|
|
135
135
|
this.selectPage(index - 1);
|
|
136
|
-
} }), h("span", { class: "total-count" }, h("ix-typography", { variant: "default" }, this.i18nOf, " ", this.count)))) : (h("span", { class: "basic-pagination" }, this.renderPageButtons(), " ")), h("ix-icon-button", { key: '
|
|
136
|
+
} }), h("span", { class: "total-count" }, h("ix-typography", { variant: "default" }, this.i18nOf, " ", this.count)))) : (h("span", { class: "basic-pagination" }, this.renderPageButtons(), " ")), h("ix-icon-button", { key: 'bac7c247befd2262c9c01c95d2feba78dc4dfa12', disabled: this.selectedPage === this.count - 1, ghost: true, icon: 'chevron-right-small', onClick: () => this.increase() }), this.advanced && this.showItemCount ? (h("span", { class: "item-count" }, h("ix-typography", { variant: "default" }, this.i18nItems), h("ix-select", { hideListHeader: true, i18nPlaceholder: "", i18nSelectListHeader: "", value: `${this.itemCount}`, onValueChange: (e) => {
|
|
137
137
|
const count = Number.parseInt(Array.isArray(e.detail) ? e.detail[0] : e.detail);
|
|
138
138
|
this.itemCountChanged.emit(count);
|
|
139
139
|
} }, h("ix-select-item", { label: "10", value: "10" }), h("ix-select-item", { label: "15", value: "15" }), h("ix-select-item", { label: "20", value: "20" }), h("ix-select-item", { label: "40", value: "40" }), h("ix-select-item", { label: "100", value: "100" })))) : ('')));
|
|
@@ -226,7 +226,7 @@ const Panes = /*@__PURE__*/ proxyCustomElement(class Panes extends HTMLElement {
|
|
|
226
226
|
return pane ? pane.floating : false;
|
|
227
227
|
}
|
|
228
228
|
render() {
|
|
229
|
-
return (h(Host, { key: '
|
|
229
|
+
return (h(Host, { key: '4167dc285dcf1adaf15f0eb3b9f6692e27918b43' }, !this.isMobile ? (this.layout == 'full-vertical' ? (h("div", { class: "side-panes-wrapper" }, h("div", { class: {
|
|
230
230
|
row: true,
|
|
231
231
|
'padding-left': this.hasPadding('left'),
|
|
232
232
|
'padding-right': this.hasPadding('right'),
|
package/components/ix-pill.js
CHANGED
|
@@ -25,13 +25,13 @@ const Pill = /*@__PURE__*/ proxyCustomElement(class Pill extends HTMLElement {
|
|
|
25
25
|
[this.outline ? 'borderColor' : 'backgroundColor']: this.background,
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: 'd7aa88991ef6b8cf39358e65a3c3745d9b6cf112', style: this.variant === 'custom'
|
|
29
29
|
? {
|
|
30
30
|
'--ix-icon-button-color': (_b = this.pillColor) !== null && _b !== void 0 ? _b : this.color,
|
|
31
31
|
}
|
|
32
32
|
: {}, title: this.el.textContent, class: {
|
|
33
33
|
'align-left': this.alignLeft,
|
|
34
|
-
} }, h("div", { key: '
|
|
34
|
+
} }, h("div", { key: '490ecb6d8560e39541d50b5d538608adef939dcf', style: Object.assign({}, customStyle), class: {
|
|
35
35
|
container: true,
|
|
36
36
|
outline: this.outline,
|
|
37
37
|
inactive: false,
|
|
@@ -45,10 +45,10 @@ const Pill = /*@__PURE__*/ proxyCustomElement(class Pill extends HTMLElement {
|
|
|
45
45
|
custom: this.variant === 'custom',
|
|
46
46
|
closable: false,
|
|
47
47
|
icon: !!this.icon,
|
|
48
|
-
} }, h("ix-icon", { key: '
|
|
48
|
+
} }, h("ix-icon", { key: 'd615b73a2bdd35fa67409e0783324abd2fc02f21', class: {
|
|
49
49
|
'with-icon': true,
|
|
50
50
|
hidden: this.icon === undefined || this.icon === '',
|
|
51
|
-
}, name: this.icon, size: '16' }), h("span", { key: '
|
|
51
|
+
}, name: this.icon, size: '16' }), h("span", { key: '8c4f149571ae115af0cc264634f03633988d7871', class: "slot-container" }, h("slot", { key: '582ff33fd2b1cd6de42d4febbcd7f2ad31be0e02' })))));
|
|
52
52
|
}
|
|
53
53
|
get el() { return this; }
|
|
54
54
|
static get style() { return IxPillStyle0; }
|
|
@@ -9,7 +9,7 @@ const PlaygroundInternal = /*@__PURE__*/ proxyCustomElement(class PlaygroundInte
|
|
|
9
9
|
this.__registerHost();
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return h(Host, { key: '
|
|
12
|
+
return h(Host, { key: '64dc9d49b33337f3f1fbfef272dbe26bc08a17a8' });
|
|
13
13
|
}
|
|
14
14
|
static get style() { return IxPlaygroundInternalStyle0; }
|
|
15
15
|
}, [2, "ix-playground-internal"]);
|
|
@@ -20,7 +20,7 @@ const SplitButtonItem = /*@__PURE__*/ proxyCustomElement(class SplitButtonItem e
|
|
|
20
20
|
return this.wrapperRef.waitForCurrent();
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: 'ef07b2d6b51ae7356319d47e610517676651f2ae' }, h("ix-dropdown-item", { key: '83b4d7597071c2337aae657211c2c093fabe5eb1', ref: this.wrapperRef, suppressChecked: true, icon: this.icon, label: this.label, onItemClick: (e) => {
|
|
24
24
|
e.preventDefault();
|
|
25
25
|
e.stopPropagation();
|
|
26
26
|
}, onClick: (e) => this.itemClick.emit(e) })));
|
package/components/ix-tile.js
CHANGED
|
@@ -19,17 +19,17 @@ const Tile = /*@__PURE__*/ proxyCustomElement(class Tile extends HTMLElement {
|
|
|
19
19
|
this.hasFooterSlot = !!this.hostElement.querySelector('[slot="footer"]');
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '16fa86cdf2448b3335401be00cba0284fd166959', class: {
|
|
23
23
|
'tile-small': this.size === 'small',
|
|
24
24
|
'tile-medium': this.size === 'medium',
|
|
25
25
|
'tile-big': this.size === 'big',
|
|
26
|
-
} }, h("div", { key: '
|
|
26
|
+
} }, h("div", { key: '0aaf6e763e1bd75f919d1067208af8a33be06937', class: {
|
|
27
27
|
'tile-header': true,
|
|
28
28
|
'has-content': this.hasHeaderSlot,
|
|
29
|
-
} }, h("slot", { key: '
|
|
29
|
+
} }, h("slot", { key: '70178ba49417bf674cc8798f6824aa37864668f7', name: "header", onSlotchange: () => this.handleHeaderSlotChange() })), h("div", { key: '823a4907cbe143ef6586a5482f31c8729644bf76', class: "tile-subheader" }, h("slot", { key: '6e240f390b24fec6630bed00539479d11d89b096', name: "subheader" })), h("div", { key: '7d83cbe84804423f654e4f9dd0fe3f2ca261a3c4', class: "tile-content" }, h("slot", { key: '100276ea9333c7dd7d183dbd7fb2651475b397cf' })), h("div", { key: 'f73dcff2a9730339deed5c82c0978ff4122dd6a5', class: {
|
|
30
30
|
'tile-footer': true,
|
|
31
31
|
'has-content': this.hasFooterSlot,
|
|
32
|
-
} }, h("slot", { key: '
|
|
32
|
+
} }, h("slot", { key: 'a550b2cc798c1bc8a57adea6c6fcd4863ad9ac57', name: "footer", onSlotchange: () => this.handleFooterSlotChange() }))));
|
|
33
33
|
}
|
|
34
34
|
get hostElement() { return this; }
|
|
35
35
|
static get style() { return IxTileStyle0; }
|
|
@@ -60,9 +60,9 @@ const ToggleButton = /*@__PURE__*/ proxyCustomElement(class ToggleButton extends
|
|
|
60
60
|
'aria-pressed': a11yBoolean(this.pressed),
|
|
61
61
|
},
|
|
62
62
|
};
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: 'f8633f71b51df3509bc679922b432bd5c530d580', class: {
|
|
64
64
|
disabled: this.disabled || this.loading,
|
|
65
|
-
} }, h(BaseButton, Object.assign({ key: '
|
|
65
|
+
} }, h(BaseButton, Object.assign({ key: '005a4497d2d37783c6dcf2824c471b56515396ed' }, baseButtonProps), h("slot", { key: '9cafada091aa59fd6b447a2821f58ebd504875cd' }))));
|
|
66
66
|
}
|
|
67
67
|
static get watchers() { return {
|
|
68
68
|
"variant": ["onVariantChange"],
|
package/components/ix-toggle.js
CHANGED
|
@@ -26,9 +26,9 @@ const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement
|
|
|
26
26
|
this.checkedChange.emit(this.checked);
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: 'ffc42b6828208dcf6483abfda90ae88dd43ee408', class: {
|
|
30
30
|
disabled: this.disabled,
|
|
31
|
-
}, onClick: () => this.onCheckedChange(!this.checked) }, h("input", { key: '
|
|
31
|
+
}, onClick: () => this.onCheckedChange(!this.checked) }, h("input", { key: '35954eafdb6301bb6e7063a8978f2bfcc7076de0', disabled: this.disabled, indeterminate: this.indeterminate, checked: this.checked, role: "switch", tabindex: 0, type: "checkbox", "aria-checked": a11yBoolean(this.checked), onChange: (event) => this.onCheckedChange(event.target.checked) }), h("label", { key: '0aed058713bc742c3408accee2e3551313a1ad31', class: "switch", tabIndex: -1 }, h("span", { key: '62fbfca9e3adb625006e981f4ae655d2989d9aef', class: "slider" })), !this.hideText ? (h(Fragment, null, !this.indeterminate ? (h("span", { class: 'toggle-text', "aria-hidden": a11yBoolean(true) }, this.checked ? this.textOn : this.textOff)) : (h("span", { class: 'toggle-text', "aria-hidden": a11yBoolean(true) }, this.textIndeterminate)))) : null));
|
|
32
32
|
}
|
|
33
33
|
get hostElement() { return this; }
|
|
34
34
|
static get style() { return IxToggleStyle0; }
|
package/components/ix-tree.js
CHANGED
|
@@ -698,7 +698,7 @@ const Tree = /*@__PURE__*/ proxyCustomElement(class Tree extends HTMLElement {
|
|
|
698
698
|
this.hyperlist = new Hyperlist(this.hostElement, config);
|
|
699
699
|
}
|
|
700
700
|
render() {
|
|
701
|
-
return (h(Host, { key: '
|
|
701
|
+
return (h(Host, { key: '5e3f0e8bbd14073590ed9ae548fa51abb50bd52b' }, h("slot", { key: '9e05d42472878f4791cce2033271e1918d40c38f' })));
|
|
702
702
|
}
|
|
703
703
|
get hostElement() { return this; }
|
|
704
704
|
static get watchers() { return {
|
package/components/ix-upload.js
CHANGED
|
@@ -85,7 +85,7 @@ const Upload = /*@__PURE__*/ proxyCustomElement(class Upload extends HTMLElement
|
|
|
85
85
|
this.filesToUpload = obj;
|
|
86
86
|
}
|
|
87
87
|
render() {
|
|
88
|
-
return (h(Host, { key: '
|
|
88
|
+
return (h(Host, { key: 'c13c30ad2fa2a251ad872d7b0461f625798a3d2a' }, h("div", { key: '572bf6899630cdc1fdff1518750415270792a368', class: {
|
|
89
89
|
'file-upload-area': true,
|
|
90
90
|
'file-over': this.state !== UploadFileState.LOADING && this.isFileOver,
|
|
91
91
|
checking: this.state === UploadFileState.LOADING,
|
|
@@ -95,9 +95,9 @@ const Upload = /*@__PURE__*/ proxyCustomElement(class Upload extends HTMLElement
|
|
|
95
95
|
if (this.state !== UploadFileState.LOADING) {
|
|
96
96
|
this.fileDropped(e);
|
|
97
97
|
}
|
|
98
|
-
}, onDragOver: (e) => this.fileOver(e), onDragLeave: () => this.fileLeave(), draggable: !this.disabled }, this.renderUploadState(), h("div", { key: '
|
|
98
|
+
}, onDragOver: (e) => this.fileOver(e), onDragLeave: () => this.fileLeave(), draggable: !this.disabled }, this.renderUploadState(), h("div", { key: '5c48357676e704f0e285e510059593c526ca47fc' }, h("input", { key: '5ed9faca22b46db4962c64ff3822c59d3e44cf95', multiple: this.multiple, type: "file", class: "upload-browser", id: "upload-browser", onChange: (e) => {
|
|
99
99
|
this.fileChangeEvent(e);
|
|
100
|
-
}, accept: this.accept }), h("ix-button", { key: '
|
|
100
|
+
}, accept: this.accept }), h("ix-button", { key: '6e5bcfec5d982c8674e6bf38bbf1e0d805b1af0f', tabindex: "-1", outline: true, onClick: () => this.inputElement.click(), disabled: this.disabled || this.state === UploadFileState.LOADING }, this.i18nUploadFile)))));
|
|
101
101
|
}
|
|
102
102
|
get hostElement() { return this; }
|
|
103
103
|
static get style() { return IxUploadStyle0; }
|
|
@@ -131,13 +131,13 @@ const ValidationTooltip = /*@__PURE__*/ proxyCustomElement(class ValidationToolt
|
|
|
131
131
|
}
|
|
132
132
|
render() {
|
|
133
133
|
var _a, _b;
|
|
134
|
-
return (h(Host, { key: '
|
|
134
|
+
return (h(Host, { key: '2adabc09b27adab332a05e06f95f778e635db7cf' }, h("slot", { key: '9737aa1f46813f88404c5a80eaf0b8e1c6b166c4' }), h("div", { key: '6be2cd8f7c24bd7c3ddc42218ca0b70d3c56dc0a', role: "tooltip", style: {
|
|
135
135
|
display: 'none',
|
|
136
136
|
position: 'fixed',
|
|
137
137
|
top: '0',
|
|
138
138
|
left: '0',
|
|
139
139
|
transform: `translate(${Math.round(((_a = this.tooltipPosition) === null || _a === void 0 ? void 0 : _a.x) || 0)}px,${Math.round(((_b = this.tooltipPosition) === null || _b === void 0 ? void 0 : _b.y) || 0)}px)`,
|
|
140
|
-
}, class: "validation-tooltip text-default" }, this.message, h("slot", { key: '
|
|
140
|
+
}, class: "validation-tooltip text-default" }, this.message, h("slot", { key: '228c539e4447ce9a4c89ffe584f9b712ccaa1924', name: "tooltip-message" }), h("div", { key: 'cdbaf18c6c2033b9b03e33b4e5826309f504df14', id: "arrow" }))));
|
|
141
141
|
}
|
|
142
142
|
get hostElement() { return this; }
|
|
143
143
|
static get watchers() { return {
|
|
@@ -70,18 +70,18 @@ const WorkflowStep = /*@__PURE__*/ proxyCustomElement(class WorkflowStep extends
|
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
72
|
const icons = !this.customIconSlot ? (h(Fragment, null, h("ix-icon", { color: "color-1", name: this.iconName === 'warning' ? 'triangle-filled' : 'circle-filled', class: "absolute", size: "24" }), h("ix-icon", { color: this.iconColor, name: this.iconName, class: "absolute", size: "24" }))) : null;
|
|
73
|
-
return (h(Host, { key: '
|
|
73
|
+
return (h(Host, { key: 'e6da26c63019f1efd788ac0e6d64e8c669f711b3', onClick: () => this.onStepClick() }, h("div", { key: '607ad21e42070abc412fd4a5313e207f7908d765', tabIndex: 0, class: {
|
|
74
74
|
step: true,
|
|
75
75
|
selected: this.selected,
|
|
76
76
|
vertical: this.vertical,
|
|
77
77
|
disabled: this.disabled,
|
|
78
78
|
clickable: this.clickable && !this.disabled,
|
|
79
|
-
} }, h("div", { key: '
|
|
79
|
+
} }, h("div", { key: 'a55397363ac7fdb3579751903e98e4840314a2c7', class: "wrapper" }, h("div", { key: 'b4044cabf368cdb5632727baf1a9040a2ba59296', class: {
|
|
80
80
|
line: true,
|
|
81
81
|
selected: this.selected,
|
|
82
82
|
[this.status]: true,
|
|
83
83
|
[this.position]: true,
|
|
84
|
-
} }), h("div", { key: '
|
|
84
|
+
} }), h("div", { key: 'da4cbb5b0755dea7c8ff4c45676a5c7da33e0caf', class: "iconWrapper" }, icons, h("slot", { key: '3059dcda912a1fd2d7225dd7c97cf6c7f640b875', name: "custom-icon" }))), h("div", { key: '316a8dbb4b5e8845cca3635b3f2c1bb5ef3ebefd', class: "text" }, h("slot", { key: '9cc1127aa169fb7096b671720160da4a3ab7efc7' })))));
|
|
85
85
|
}
|
|
86
86
|
get hostElement() { return this; }
|
|
87
87
|
static get watchers() { return {
|
|
@@ -72,7 +72,7 @@ const WorkflowSteps = /*@__PURE__*/ proxyCustomElement(class WorkflowSteps exten
|
|
|
72
72
|
this.updateSteps();
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: 'af99c9947b8a4fb552ef46c11366ed39c102d3a4' }, h("div", { key: 'ea41ce20a136ef087fedb7f3fb3c77de2466e881', class: { steps: true, vertical: this.vertical } }, h("slot", { key: 'f24e0e55526b44ada6c922ef79ab0eb581052287' }))));
|
|
76
76
|
}
|
|
77
77
|
get hostElement() { return this; }
|
|
78
78
|
static get style() { return IxWorkflowStepsStyle0; }
|
|
@@ -46,14 +46,14 @@ const MapNavigationOverlay = /*@__PURE__*/ proxyCustomElement(class MapNavigatio
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b, _c;
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: 'c992b5ea02d714ebf9ca9b567c5047d74dc588c7' }, h("div", { key: '6b2312354d083296f7c2daca376d82bd33f50b29', class: "overlay-header" }, h("div", { key: 'be432f47e376532f48a5408f4f080c2a30af9f9c', class: {
|
|
50
50
|
'color-indicator': true,
|
|
51
51
|
'd-none': ((_a = this.iconColor) !== null && _a !== void 0 ? _a : this.color) === undefined,
|
|
52
52
|
}, style: {
|
|
53
53
|
'background-color': ((_b = this.iconColor) !== null && _b !== void 0 ? _b : this.color)
|
|
54
54
|
? `var(--theme-${(_c = this.iconColor) !== null && _c !== void 0 ? _c : this.color})`
|
|
55
55
|
: '',
|
|
56
|
-
} }), h("div", { key: '
|
|
56
|
+
} }), h("div", { key: '41fe4514c4076704cdad94ccef438401ff7f4e41', class: "overlay-header-content" }, h("ix-icon", { key: '815d0df9d50aa9dd91ccd094a7801c215c0f3f7e', size: "32", name: this.icon }), h("span", { key: '670420d4703b65b39c9b0dc4d9031fadb73934da', class: "overlay-header-title", title: this.name }, this.name)), h("ix-icon-button", { key: '3ef17d0836b665787e22f6e9da0e14ccecc15d52', class: "overlay-close", ghost: true, icon: 'close', size: "24", onClick: () => this.closeOverlay() })), h("slot", { key: '4328f4ab00517bc4de787fc45117c14afc309efb' })));
|
|
57
57
|
}
|
|
58
58
|
get hostElement() { return this; }
|
|
59
59
|
static get style() { return IxMapNavigationOverlayStyle0; }
|
|
@@ -20,7 +20,7 @@ const MenuAvatarItem = /*@__PURE__*/ proxyCustomElement(class MenuAvatarItem ext
|
|
|
20
20
|
return this.dropdownItemRef.waitForCurrent();
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h("ix-dropdown-item", { key: '
|
|
23
|
+
return (h("ix-dropdown-item", { key: 'daf1c8be62496e8c4240eea2394857abb98497d0', ref: this.dropdownItemRef, icon: this.icon, label: this.label, onClick: (e) => this.itemClick.emit(e) }));
|
|
24
24
|
}
|
|
25
25
|
get hostElement() { return this; }
|
|
26
26
|
static get style() { return IxMenuAvatarItemStyle0; }
|
|
@@ -36,7 +36,7 @@ const MenuExpandIcon = /*@__PURE__*/ proxyCustomElement(class MenuExpandIcon ext
|
|
|
36
36
|
return this.getSmallScreenIcon();
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '01c334cc036c65c1ba58b1eb2266fec201e7204e', class: {
|
|
40
40
|
expanded: this.expanded,
|
|
41
41
|
} }, this.getMenuIcon()));
|
|
42
42
|
}
|
package/components/menu-item.js
CHANGED
|
@@ -87,13 +87,13 @@ const MenuItem = /*@__PURE__*/ proxyCustomElement(class MenuItem extends HTMLEle
|
|
|
87
87
|
slot: 'bottom',
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
|
-
return (h(Host, Object.assign({ key: '
|
|
90
|
+
return (h(Host, Object.assign({ key: '777964dc37701b147cba8070470a0dba049ccc9b', class: {
|
|
91
91
|
disabled: this.disabled,
|
|
92
92
|
'home-tab': this.home,
|
|
93
93
|
'bottom-tab': this.bottom,
|
|
94
94
|
active: this.active,
|
|
95
95
|
'tab-nested': this.isHostedInsideCategory,
|
|
96
|
-
} }, extendedAttributes), h("button", { key: '
|
|
96
|
+
} }, extendedAttributes), h("button", { key: '20f94fbcf3babdadc83c4c2b4a267c6d74266541', class: "tab", tabIndex: this.disabled ? -1 : 0, role: "listitem", ref: this.buttonRef }, (this.icon || this.tabIcon) && (h("ix-icon", { class: 'tab-icon', name: (_a = this.icon) !== null && _a !== void 0 ? _a : this.tabIcon })), this.notifications ? (h("div", { class: "notification" }, h("div", { class: "pill" }, this.notifications))) : null, h("span", { key: 'a168fd4927264ce970c52098a6a4a1263db48f6d', class: "tab-text text-default" }, this.label, " ", h("slot", { key: '36a52eb3d0cd6f96c5c3a6f36bffa1593c78fb1c' }))), !this.isCategory &&
|
|
97
97
|
!this.isHostedInsideCategory &&
|
|
98
98
|
!this.menuExpanded && (h("ix-tooltip", { for: this.buttonRef.waitForCurrent(), placement: 'right', showDelay: 1000 }, this.tooltip))));
|
|
99
99
|
}
|
|
@@ -10,7 +10,7 @@ const ModalContent = /*@__PURE__*/ proxyCustomElement(class ModalContent extends
|
|
|
10
10
|
this.__attachShadow();
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: 'ae7d626442e1d32189d5811a76b9921e893a2708' }, h("slot", { key: '09c33581a65e4db3f54ee84f625bf5c601b0178c' })));
|
|
14
14
|
}
|
|
15
15
|
static get style() { return IxModalContentStyle0; }
|
|
16
16
|
}, [1, "ix-modal-content"]);
|
|
@@ -39,7 +39,7 @@ const ModalHeader = /*@__PURE__*/ proxyCustomElement(class ModalHeader extends H
|
|
|
39
39
|
this.parentDialog.dismissModal();
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: '330fd598a3b07d2f41c9f683923101f77d214fe5' }, this.icon ? (h("ix-icon", { class: 'modal-icon', name: this.icon, color: this.iconColor })) : null, h("ix-typography", { key: 'a07ec792401066c71a1f4d50aa318a38c3fbe0ee', variant: 'default-title' }, h("slot", { key: '9c1ba3358ad6efb9971ed896764441c1a3fc4a89' })), !this.hideClose ? (h("ix-icon-button", { onClick: (event) => this.onCloseClick(event), ghost: true, icon: "close", class: 'modal-close' })) : null));
|
|
43
43
|
}
|
|
44
44
|
get hostElement() { return this; }
|
|
45
45
|
static get watchers() { return {
|
package/components/row.js
CHANGED
|
@@ -10,7 +10,7 @@ const Row = /*@__PURE__*/ proxyCustomElement(class Row extends HTMLElement {
|
|
|
10
10
|
this.__attachShadow();
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '1ffd343609151d842c357f2e7663e4c772b8ef5a' }, h("slot", { key: 'f3c73ee49974fb8baa706a9b699fe703166f2f96' })));
|
|
14
14
|
}
|
|
15
15
|
static get style() { return IxRowStyle0; }
|
|
16
16
|
}, [1, "ix-row"]);
|
|
@@ -32,6 +32,10 @@ const SelectItem = /*@__PURE__*/ proxyCustomElement(class SelectItem extends HTM
|
|
|
32
32
|
this.selected = false;
|
|
33
33
|
this.hover = false;
|
|
34
34
|
}
|
|
35
|
+
/** @internal */
|
|
36
|
+
async getDropdownItemElement() {
|
|
37
|
+
return this.dropdownItem;
|
|
38
|
+
}
|
|
35
39
|
/**
|
|
36
40
|
* @internal
|
|
37
41
|
* @param event
|
|
@@ -41,6 +45,9 @@ const SelectItem = /*@__PURE__*/ proxyCustomElement(class SelectItem extends HTM
|
|
|
41
45
|
event === null || event === void 0 ? void 0 : event.stopPropagation();
|
|
42
46
|
this.itemClick.emit(this.value);
|
|
43
47
|
}
|
|
48
|
+
get dropdownItem() {
|
|
49
|
+
return this.hostElement.querySelector('ix-dropdown-item');
|
|
50
|
+
}
|
|
44
51
|
componentDidRender() {
|
|
45
52
|
if (this.value === undefined || this.value === null) {
|
|
46
53
|
throw Error('ix-select-item must have a `value` property');
|
|
@@ -53,7 +60,7 @@ const SelectItem = /*@__PURE__*/ proxyCustomElement(class SelectItem extends HTM
|
|
|
53
60
|
}));
|
|
54
61
|
}
|
|
55
62
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: '89b4b9f70f1157e728d82d981566d3528c96c2da' }, h("ix-dropdown-item", { key: '3d480e6d1d0a0969f50bf6925101819c8cae9a67', class: {
|
|
57
64
|
'select-item-checked': this.selected,
|
|
58
65
|
}, checked: this.selected, label: this.label ? this.label : this.value, onItemClick: (e) => this.onItemClick(e) })));
|
|
59
66
|
}
|
|
@@ -67,6 +74,7 @@ const SelectItem = /*@__PURE__*/ proxyCustomElement(class SelectItem extends HTM
|
|
|
67
74
|
"value": [520],
|
|
68
75
|
"selected": [4],
|
|
69
76
|
"hover": [4],
|
|
77
|
+
"getDropdownItemElement": [64],
|
|
70
78
|
"onItemClick": [64]
|
|
71
79
|
}, undefined, {
|
|
72
80
|
"label": ["labelChange"]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"select-item.js","mappings":";;;AAAA;;;;;;;;MAQa,4BAA6B,SAAQ,WAGhD;IACA,YAAY,MAA8C;QACxD,KAAK,CAAC,4BAA4B,EAAE;YAClC,OAAO,EAAE,IAAI;YACb,MAAM;SACP,CAAC,CAAC;KACJ;;;ACjBH,MAAM,aAAa,GAAG,4TAA4T,CAAC;AACnV,2BAAe,aAAa;;
|
|
1
|
+
{"file":"select-item.js","mappings":";;;AAAA;;;;;;;;MAQa,4BAA6B,SAAQ,WAGhD;IACA,YAAY,MAA8C;QACxD,KAAK,CAAC,4BAA4B,EAAE;YAClC,OAAO,EAAE,IAAI;YACb,MAAM;SACP,CAAC,CAAC;KACJ;;;ACjBH,MAAM,aAAa,GAAG,4TAA4T,CAAC;AACnV,2BAAe,aAAa;;MC2Bf,UAAU;;;;;;;;wBAmBF,KAAK;qBAKR,KAAK;;;IASrB,MAAM,sBAAsB;QAC1B,OAAO,IAAI,CAAC,YAAY,CAAC;KAC1B;;;;;IAOD,MAAM,WAAW,CAAC,KAA8C;QAC9D,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,cAAc,EAAE,CAAC;QACxB,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,eAAe,EAAE,CAAC;QAEzB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACjC;IAED,IAAI,YAAY;QACd,OAAO,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;KAC3D;IAED,kBAAkB;QAChB,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,EAAE;YACnD,MAAM,KAAK,CAAC,6CAA6C,CAAC,CAAC;SAC5D;KACF;IAGD,WAAW,CAAC,QAAgB,EAAE,QAAgB;QAC5C,IAAI,CAAC,WAAW,CAAC,aAAa,CAC5B,IAAI,4BAA4B,CAAC;YAC/B,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;SACnB,CAAC,CACH,CAAC;KACH;IAED,MAAM;QACJ,QACE,EAAC,IAAI,uDACH,yEACE,KAAK,EAAE;gBACL,qBAAqB,EAAE,IAAI,CAAC,QAAQ;aACrC,EACD,OAAO,EAAE,IAAI,CAAC,QAAQ,EACtB,KAAK,EAAE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,EAC3C,WAAW,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,GACrB,CACf,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/select-item/events.ts","src/components/select-item/select-item.scss?tag=ix-select-item&encapsulation=shadow","src/components/select-item/select-item.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nexport class IxSelectItemLabelChangeEvent extends CustomEvent<{\n oldValue: string;\n newValue: string;\n}> {\n constructor(detail: { oldValue: string; newValue: string }) {\n super('ix-select-item:labelChange', {\n bubbles: true,\n detail,\n });\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n position: relative;\n\n > ix-dropdown-item {\n width: 100%;\n }\n\n ix-dropdown-item {\n color: var(--theme-color-std-text);\n }\n\n .select-item-checked {\n background-color: var(--theme-select-list-item--background--selected);\n --ix-dropdown-item-checked-color: var(--theme-color-std-text);\n }\n}\n\n:host(.d-none) {\n display: none;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { IxSelectItemLabelChangeEvent } from './events';\nimport { DropdownItemWrapper } from '../dropdown/dropdown-controller';\n\n@Component({\n tag: 'ix-select-item',\n styleUrl: 'select-item.scss',\n shadow: true,\n})\nexport class SelectItem implements DropdownItemWrapper {\n @Element() hostElement: HTMLIxSelectItemElement;\n\n /**\n * Displayed name of the item\n */\n @Prop({ reflect: true }) label: string;\n\n /**\n * The value of the item.\n * Important: The select component uses string values to handle selection and will call toString() on this value.\n * Therefor a string should be passed to value to prevent unexpected behavior.\n * @deprecated will be changed to type string with next major release (3.0.0)\n */\n @Prop({ reflect: true }) value!: any;\n\n /**\n * Flag indicating whether the item is selected\n */\n @Prop() selected = false;\n\n /**\n * @internal\n */\n @Prop() hover = false;\n\n /**\n * Item clicked\n */\n @Event() itemClick: EventEmitter<string>;\n\n /** @internal */\n @Method()\n async getDropdownItemElement(): Promise<HTMLIxDropdownItemElement> {\n return this.dropdownItem;\n }\n\n /**\n * @internal\n * @param event\n */\n @Method()\n async onItemClick(event?: CustomEvent<HTMLIxDropdownItemElement>) {\n event?.preventDefault();\n event?.stopPropagation();\n\n this.itemClick.emit(this.value);\n }\n\n get dropdownItem() {\n return this.hostElement.querySelector('ix-dropdown-item');\n }\n\n componentDidRender() {\n if (this.value === undefined || this.value === null) {\n throw Error('ix-select-item must have a `value` property');\n }\n }\n\n @Watch('label')\n labelChange(newValue: string, oldValue: string) {\n this.hostElement.dispatchEvent(\n new IxSelectItemLabelChangeEvent({\n newValue: newValue,\n oldValue: oldValue,\n })\n );\n }\n\n render() {\n return (\n <Host>\n <ix-dropdown-item\n class={{\n 'select-item-checked': this.selected,\n }}\n checked={this.selected}\n label={this.label ? this.label : this.value}\n onItemClick={(e) => this.onItemClick(e)}\n ></ix-dropdown-item>\n </Host>\n );\n }\n}\n"],"version":3}
|