@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.ct.js","sourceRoot":"","sources":["../../../../../src/components/select/test/select.ct.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;IACxC,MAAM,KAAK,CAAC;;;;;KAKT,CAAC,CAAC;IACL,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IAC1C,MAAM,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAE9C,MAAM,IAAI,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,KAAK,EAAE,CAAC;IAErD,MAAM,QAAQ,GAAG,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IAChD,MAAM,MAAM,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAE,CAAC;IAErC,MAAM,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IACzE,MAAM,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,EA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E,CAAC,CAAC;IAE3D,MAAM,MAAM,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC;IAClC,MAAM,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC;AACxC,CAAC,CAAC,CAAC","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 */\nimport { expect } from '@playwright/test';\nimport { test } from '@utils/test';\n\ntest('renders', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"11\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"22\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await expect(element).toHaveClass(/hydrated/);\n\n await page.locator('[data-select-dropdown]').click();\n\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();\n});\n\ntest('editable mode', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"11\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"22\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await expect(element).toHaveClass(/hydrated/);\n\n await page.locator('[data-select-dropdown]').click();\n await page.getByTestId('input').fill('Not existing');\n\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).not.toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).not.toBeVisible();\n\n const add = page.getByRole('button', { name: /Not existing/ });\n await expect(add).toBeVisible();\n\n await add.click();\n await expect(page.getByTestId('input')).toHaveValue(/Not existing/);\n await page.locator('[data-select-dropdown]').click();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();\n\n const addedItem = page\n .getByRole('listitem')\n .filter({ hasText: 'Not existing' });\n\n await expect(addedItem).toBeVisible();\n});\n\ntest('single selection', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"11\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"22\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate(\n (select: HTMLIxSelectElement) => (select.value = '22')\n );\n\n await page.locator('[data-select-dropdown]').click();\n\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(\n page.getByRole('button', { name: 'Item 2' }).locator('ix-icon')\n ).toBeVisible();\n});\n\ntest('multiple selection', async ({ mount, page }) => {\n await mount(`\n <ix-select mode=\"multiple\">\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n <ix-select-item value=\"3\" label=\"Item 3\">Test</ix-select-item>\n <ix-select-item value=\"4\" label=\"Item 4\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n await page.locator('[data-select-dropdown]').click();\n\n const dropdown = element.locator('ix-dropdown');\n const chips = element.locator('.chips');\n\n await expect(dropdown).toBeVisible();\n\n const item1 = element.locator('ix-select-item').nth(0);\n const item3 = element.locator('ix-select-item').nth(2);\n await item1.click();\n await item3.click();\n\n await expect(item1.locator('ix-icon')).toBeVisible();\n await expect(item3.locator('ix-icon')).toBeVisible();\n\n const chip1 = chips.getByTitle('Item 1');\n const chip3 = chips.getByTitle('Item 3');\n\n await expect(chip1).toBeVisible();\n await expect(chip3).toBeVisible();\n});\n\ntest('filter', async ({ mount, page }) => {\n await mount(`\n <ix-select mode=\"multiple\">\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n <ix-select-item value=\"abc\" label=\"abc\">Test</ix-select-item>\n <ix-select-item value=\"4\" label=\"Item 4\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n\n await page.locator('[data-select-dropdown]').click();\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await element.locator('input').fill('abc');\n\n const item1 = page.getByRole('button', { name: 'Item 1' });\n const item2 = page.getByRole('button', { name: 'Item 2' });\n const item4 = page.getByRole('button', { name: 'Item 4' });\n const item_abc = page.getByRole('button', { name: 'abc' });\n\n await expect(item1).not.toBeVisible();\n await expect(item2).not.toBeVisible();\n await expect(item4).not.toBeVisible();\n await expect(item_abc).toBeVisible();\n});\n\ntest('open filtered dropdown on input', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n\n await page.locator('[data-testid=\"input\"]').focus();\n page.keyboard.down('Escape');\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).not.toBeVisible();\n\n page.keyboard.down('1');\n\n const item1 = page.getByRole('button', { name: 'Item 1' });\n const item2 = page.getByRole('button', { name: 'Item 2' });\n\n await expect(item1).toBeVisible();\n await expect(item2).not.toBeVisible();\n});\n"]}
|
|
1
|
+
{"version":3,"file":"select.ct.js","sourceRoot":"","sources":["../../../../../src/components/select/test/select.ct.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC,IAAI,CAAC,S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IT\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 */\nimport { expect } from '@playwright/test';\nimport { test } from '@utils/test';\n\ntest('renders', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"11\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"22\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await expect(element).toHaveClass(/hydrated/);\n\n await page.locator('[data-select-dropdown]').click();\n\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();\n});\n\ntest('editable mode', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"11\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"22\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await expect(element).toHaveClass(/hydrated/);\n\n await page.locator('[data-select-dropdown]').click();\n await page.getByTestId('input').fill('Not existing');\n\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).not.toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).not.toBeVisible();\n\n const add = page.getByRole('button', { name: /Not existing/ });\n await expect(add).toBeVisible();\n\n await add.click();\n await expect(page.getByTestId('input')).toHaveValue(/Not existing/);\n await page.locator('[data-select-dropdown]').click();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();\n\n const addedItem = page\n .getByRole('listitem')\n .filter({ hasText: 'Not existing' });\n\n await expect(addedItem).toBeVisible();\n});\n\ntest('single selection', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"11\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"22\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate(\n (select: HTMLIxSelectElement) => (select.value = '22')\n );\n\n await page.locator('[data-select-dropdown]').click();\n\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(\n page.getByRole('button', { name: 'Item 2' }).locator('ix-icon')\n ).toBeVisible();\n});\n\ntest('multiple selection', async ({ mount, page }) => {\n await mount(`\n <ix-select mode=\"multiple\">\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n <ix-select-item value=\"3\" label=\"Item 3\">Test</ix-select-item>\n <ix-select-item value=\"4\" label=\"Item 4\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n await page.locator('[data-select-dropdown]').click();\n\n const dropdown = element.locator('ix-dropdown');\n const chips = element.locator('.chips');\n\n await expect(dropdown).toBeVisible();\n\n const item1 = element.locator('ix-select-item').nth(0);\n const item3 = element.locator('ix-select-item').nth(2);\n await item1.click();\n await item3.click();\n\n await expect(item1.locator('ix-icon')).toBeVisible();\n await expect(item3.locator('ix-icon')).toBeVisible();\n\n const chip1 = chips.getByTitle('Item 1');\n const chip3 = chips.getByTitle('Item 3');\n\n await expect(chip1).toBeVisible();\n await expect(chip3).toBeVisible();\n});\n\ntest('filter', async ({ mount, page }) => {\n await mount(`\n <ix-select mode=\"multiple\">\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n <ix-select-item value=\"abc\" label=\"abc\">Test</ix-select-item>\n <ix-select-item value=\"4\" label=\"Item 4\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n\n await page.locator('[data-select-dropdown]').click();\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n await element.locator('input').fill('abc');\n\n const item1 = page.getByRole('button', { name: 'Item 1' });\n const item2 = page.getByRole('button', { name: 'Item 2' });\n const item4 = page.getByRole('button', { name: 'Item 4' });\n const item_abc = page.getByRole('button', { name: 'abc' });\n\n await expect(item1).not.toBeVisible();\n await expect(item2).not.toBeVisible();\n await expect(item4).not.toBeVisible();\n await expect(item_abc).toBeVisible();\n});\n\ntest('open filtered dropdown on input', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n\n await page.locator('[data-testid=\"input\"]').focus();\n page.keyboard.down('Escape');\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).not.toBeVisible();\n\n page.keyboard.down('1');\n\n const item1 = page.getByRole('button', { name: 'Item 1' });\n const item2 = page.getByRole('button', { name: 'Item 2' });\n\n await expect(item1).toBeVisible();\n await expect(item2).not.toBeVisible();\n});\n\ntest('remove text from input and reselect the element', async ({\n mount,\n page,\n}) => {\n await mount(`\n <ix-select value=\"2\">\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n <ix-select-item value=\"3\" label=\"Item 3\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('[data-select-dropdown]').click();\n const element = page.locator('ix-select');\n await element.evaluate((select: HTMLIxSelectElement) => (select.value = []));\n const dropdown = element.locator('ix-dropdown');\n await expect(dropdown).toBeVisible();\n\n const item2 = page.getByRole('button', { name: 'Item 2' });\n await item2.click();\n\n const inputValue = await element.locator('input').inputValue();\n expect(inputValue).toEqual('Item 2');\n});\n\ntest('type in a novel item name in editable mode and then remove it', async ({\n mount,\n page,\n}) => {\n await mount(`\n <ix-select value=\"2\" editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n\n const element = page.locator('ix-select');\n await expect(element).toHaveClass(/hydrated/);\n\n await page.locator('[data-select-dropdown]').click();\n await page.getByTestId('input').fill('test');\n\n await expect(page.getByRole('button', { name: 'Item 1' })).not.toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).not.toBeVisible();\n\n const add = page.getByRole('button', { name: 'test' });\n await expect(add).toBeVisible();\n\n await page.getByTestId('input').fill('');\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();\n await expect(add).not.toBeVisible();\n});\n\ntest('type in a novel item name in editable mode, click outside and reopen the select', async ({\n mount,\n page,\n}) => {\n await mount(`\n <ix-select value=\"2\" editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n <ix-select-item value=\"3\" label=\"Item 3\">Test</ix-select-item>\n </ix-select>\n <ix-button>outside</ix-button>\n `);\n\n const selectElement = page.locator('ix-select');\n const btnElement = page.locator('ix-button');\n await expect(selectElement).toHaveClass(/hydrated/);\n await expect(btnElement).toBeVisible();\n\n await page.locator('[data-select-dropdown]').click();\n await page.getByTestId('input').fill('test');\n\n const add = page.getByRole('button', { name: 'test' });\n await expect(add).toBeVisible();\n\n await btnElement.click();\n const inputValue = await page.getByTestId('input').inputValue();\n\n expect(inputValue).toBe('Item 2');\n\n await page.locator('[data-select-dropdown]').click();\n\n await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();\n await expect(page.getByRole('button', { name: 'Item 3' })).toBeVisible();\n});\n\ntest.describe('arrow key navigation', () => {\n test.describe('ArrowDown', () => {\n test('input -> slotted item', async ({ mount, page }) => {\n await mount(`\n <ix-select>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').click();\n await page.keyboard.down('ArrowDown');\n const itemOne = await page.locator('ix-select-item').first();\n await expect(itemOne).toBeFocused();\n });\n\n test('input -> dynamic item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable></ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n const itemOne = await page.locator('.add-item');\n await expect(itemOne).toBeFocused();\n });\n\n test('input -> add item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable></ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.keyboard.down('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.keyboard.down('ArrowDown');\n const addItem = await page.locator('ix-dropdown-item');\n await expect(addItem).toBeFocused();\n });\n\n test('slot -> dynamic item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.keyboard.down('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const itemThree = page.locator('ix-select-item').last();\n await expect(itemThree).toBeFocused();\n });\n\n test('slot -> add item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n <ix-select-item value=\"2\" label=\"Item 2\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n });\n\n test('dynamic item -> add item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('Item 2');\n await page.keyboard.down('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.locator('input').clear();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n });\n\n test('wrap - dynamic item -> slot', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('Item 2');\n await page.keyboard.press('Enter');\n await page.locator('input').clear();\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const itemTwo = page.locator('ix-select-item').nth(1);\n await expect(itemTwo).toBeFocused();\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const itemOne = page.locator('ix-select-item').first();\n await expect(itemOne).toBeFocused();\n });\n\n test('wrap - add item -> slot', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const itemOne = page.locator('ix-select-item').first();\n await expect(itemOne).toBeFocused();\n });\n\n test('wrap - add item -> dynamic item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable></ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('Item 1');\n await page.keyboard.press('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.locator('input').clear();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const itemOne = page.locator('ix-select-item');\n await expect(itemOne).toBeFocused();\n });\n });\n\n test.describe('ArrowUp', () => {\n test('dynamic item -> slot', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.keyboard.down('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const itemTwo = page.locator('ix-select-item').last();\n await expect(itemTwo).toBeFocused();\n\n await page.keyboard.down('ArrowUp');\n await page.waitForTimeout(100);\n\n const itemOne = page.locator('ix-select-item').first();\n await expect(itemOne).toBeFocused();\n });\n\n test('add item -> slot', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n\n await page.keyboard.down('ArrowUp');\n await page.waitForTimeout(100);\n\n const itemOne = page.locator('ix-select-item');\n await expect(itemOne).toBeFocused();\n });\n\n test('add item -> dynamic item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable></ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('Item 1');\n await page.keyboard.press('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.locator('input').clear();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n\n await page.keyboard.down('ArrowUp');\n await page.waitForTimeout(100);\n\n const itemOne = page.locator('ix-select-item');\n await expect(itemOne).toBeFocused();\n });\n\n test('wrap - slot -> dynamic item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('input').focus();\n await page.keyboard.type('Item 2');\n await page.keyboard.press('Enter');\n await page.locator('input').clear();\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowUp');\n await page.waitForTimeout(100);\n\n const itemTwo = page.locator('ix-select-item').last();\n await expect(itemTwo).toBeFocused();\n });\n\n test('wrap - slot -> add-item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable>\n <ix-select-item value=\"1\" label=\"Item 1\">Test</ix-select-item>\n </ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowUp');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n });\n\n test('wrap - dynamic item -> add item', async ({ mount, page }) => {\n await mount(`\n <ix-select editable></ix-select>\n `);\n\n await page.locator('ix-select input').focus();\n await page.keyboard.type('Item 1');\n await page.keyboard.press('Enter');\n await page.waitForSelector('.checkmark');\n\n await page.locator('input').clear();\n await page.keyboard.type('I');\n await page.waitForSelector('.add-item');\n\n await page.keyboard.down('ArrowDown');\n await page.waitForTimeout(100);\n await page.keyboard.down('ArrowUp');\n await page.waitForTimeout(100);\n\n const addItem = page.locator('.add-item');\n await expect(addItem).toBeFocused();\n });\n });\n});\n"]}
|
|
@@ -15,6 +15,10 @@ export class SelectItem {
|
|
|
15
15
|
this.selected = false;
|
|
16
16
|
this.hover = false;
|
|
17
17
|
}
|
|
18
|
+
/** @internal */
|
|
19
|
+
async getDropdownItemElement() {
|
|
20
|
+
return this.dropdownItem;
|
|
21
|
+
}
|
|
18
22
|
/**
|
|
19
23
|
* @internal
|
|
20
24
|
* @param event
|
|
@@ -24,6 +28,9 @@ export class SelectItem {
|
|
|
24
28
|
event === null || event === void 0 ? void 0 : event.stopPropagation();
|
|
25
29
|
this.itemClick.emit(this.value);
|
|
26
30
|
}
|
|
31
|
+
get dropdownItem() {
|
|
32
|
+
return this.hostElement.querySelector('ix-dropdown-item');
|
|
33
|
+
}
|
|
27
34
|
componentDidRender() {
|
|
28
35
|
if (this.value === undefined || this.value === null) {
|
|
29
36
|
throw Error('ix-select-item must have a `value` property');
|
|
@@ -36,7 +43,7 @@ export class SelectItem {
|
|
|
36
43
|
}));
|
|
37
44
|
}
|
|
38
45
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '89b4b9f70f1157e728d82d981566d3528c96c2da' }, h("ix-dropdown-item", { key: '3d480e6d1d0a0969f50bf6925101819c8cae9a67', class: {
|
|
40
47
|
'select-item-checked': this.selected,
|
|
41
48
|
}, checked: this.selected, label: this.label ? this.label : this.value, onItemClick: (e) => this.onItemClick(e) })));
|
|
42
49
|
}
|
|
@@ -152,6 +159,30 @@ export class SelectItem {
|
|
|
152
159
|
}
|
|
153
160
|
static get methods() {
|
|
154
161
|
return {
|
|
162
|
+
"getDropdownItemElement": {
|
|
163
|
+
"complexType": {
|
|
164
|
+
"signature": "() => Promise<HTMLIxDropdownItemElement>",
|
|
165
|
+
"parameters": [],
|
|
166
|
+
"references": {
|
|
167
|
+
"Promise": {
|
|
168
|
+
"location": "global",
|
|
169
|
+
"id": "global::Promise"
|
|
170
|
+
},
|
|
171
|
+
"HTMLIxDropdownItemElement": {
|
|
172
|
+
"location": "global",
|
|
173
|
+
"id": "global::HTMLIxDropdownItemElement"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"return": "Promise<HTMLIxDropdownItemElement>"
|
|
177
|
+
},
|
|
178
|
+
"docs": {
|
|
179
|
+
"text": "",
|
|
180
|
+
"tags": [{
|
|
181
|
+
"name": "internal",
|
|
182
|
+
"text": undefined
|
|
183
|
+
}]
|
|
184
|
+
}
|
|
185
|
+
},
|
|
155
186
|
"onItemClick": {
|
|
156
187
|
"complexType": {
|
|
157
188
|
"signature": "(event?: CustomEvent<HTMLIxDropdownItemElement>) => Promise<void>",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-item.js","sourceRoot":"","sources":["../../../../src/components/select-item/select-item.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,GACN,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"select-item.js","sourceRoot":"","sources":["../../../../src/components/select-item/select-item.tsx"],"names":[],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,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,EAC3C,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,GACrB,CACf,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","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 */\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"]}
|
|
@@ -14,7 +14,7 @@ export class Spinner {
|
|
|
14
14
|
this.hideTrack = false;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '6ca735841b5d203cf8ef66f8675f73d2988d7518', class: {
|
|
18
18
|
primary: this.variant === 'primary',
|
|
19
19
|
'xx-small': this.size === 'xx-small',
|
|
20
20
|
'x-small': this.size === 'x-small',
|
|
@@ -22,7 +22,7 @@ export class SplitButtonItem {
|
|
|
22
22
|
return this.wrapperRef.waitForCurrent();
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: 'ef07b2d6b51ae7356319d47e610517676651f2ae' }, h("ix-dropdown-item", { key: '83b4d7597071c2337aae657211c2c093fabe5eb1', ref: this.wrapperRef, suppressChecked: true, icon: this.icon, label: this.label, onItemClick: (e) => {
|
|
26
26
|
e.preventDefault();
|
|
27
27
|
e.stopPropagation();
|
|
28
28
|
}, onClick: (e) => this.itemClick.emit(e) })));
|
|
@@ -197,13 +197,13 @@ export class Tabs {
|
|
|
197
197
|
});
|
|
198
198
|
}
|
|
199
199
|
render() {
|
|
200
|
-
return (h(Host, { key: '
|
|
200
|
+
return (h(Host, { key: 'd78a0e8848762853905f0a00ad0e29eb8010f058' }, h("div", { key: '81f8018608a4ead1b07a2c8dbc275f3e6b1a4f9f', class: "arrow", "data-arrow-left": true, onClick: () => this.move(this.scrollAmount, true) }, h("ix-icon", { key: '74ac11767dded217d438e58f3d9af659b5f7913c', name: 'chevron-left-small' })), h("div", { key: '22172b312ee82c63c590780030766262d5655be3', class: {
|
|
201
201
|
'tab-items': true,
|
|
202
202
|
'overflow-shadow': true,
|
|
203
203
|
'shadow-left': this.showPreviousArrow(),
|
|
204
204
|
'shadow-right': this.showNextArrow(),
|
|
205
205
|
'shadow-both': this.showNextArrow() && this.showPreviousArrow(),
|
|
206
|
-
} }, h("div", { key: '
|
|
206
|
+
} }, h("div", { key: '31a8df74124a12d6abc6e3af8c45e2f59c9e8e7f', class: "items-content" }, h("slot", { key: '0a37dea0573b5123c6de66831c028401d1da86b4' }))), h("div", { key: 'cd946069a8dbb2708bc90923c2bb8a897eeaf3b5', class: "arrow right", "data-arrow-right": true, onClick: () => this.move(-this.scrollAmount, true) }, h("ix-icon", { key: '3542fc3e7cba8477f2367492620dc16cdaecbad8', name: 'chevron-right-small' }))));
|
|
207
207
|
}
|
|
208
208
|
static get is() { return "ix-tabs"; }
|
|
209
209
|
static get encapsulation() { return "shadow"; }
|
|
@@ -20,17 +20,17 @@ export class Tile {
|
|
|
20
20
|
this.hasFooterSlot = !!this.hostElement.querySelector('[slot="footer"]');
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '16fa86cdf2448b3335401be00cba0284fd166959', class: {
|
|
24
24
|
'tile-small': this.size === 'small',
|
|
25
25
|
'tile-medium': this.size === 'medium',
|
|
26
26
|
'tile-big': this.size === 'big',
|
|
27
|
-
} }, h("div", { key: '
|
|
27
|
+
} }, h("div", { key: '0aaf6e763e1bd75f919d1067208af8a33be06937', class: {
|
|
28
28
|
'tile-header': true,
|
|
29
29
|
'has-content': this.hasHeaderSlot,
|
|
30
|
-
} }, h("slot", { key: '
|
|
30
|
+
} }, 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: {
|
|
31
31
|
'tile-footer': true,
|
|
32
32
|
'has-content': this.hasFooterSlot,
|
|
33
|
-
} }, h("slot", { key: '
|
|
33
|
+
} }, h("slot", { key: 'a550b2cc798c1bc8a57adea6c6fcd4863ad9ac57', name: "footer", onSlotchange: () => this.handleFooterSlotChange() }))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "ix-tile"; }
|
|
36
36
|
static get encapsulation() { return "shadow"; }
|
|
@@ -71,7 +71,7 @@ label.label-alignment-left {
|
|
|
71
71
|
padding: 6px 0px;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
input
|
|
74
|
+
input {
|
|
75
75
|
font-feature-settings: "clig" off, "liga" off;
|
|
76
76
|
font-family: Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;
|
|
77
77
|
font-style: normal;
|
|
@@ -93,9 +93,18 @@ input, input:-webkit-autofill {
|
|
|
93
93
|
box-shadow: var(--theme-input--box-shadow);
|
|
94
94
|
}
|
|
95
95
|
input:-webkit-autofill {
|
|
96
|
-
-webkit-box-shadow: 0 0 0 1000px var(--theme-
|
|
97
|
-
-webkit-text-fill-color: var(--theme-input--color) !important;
|
|
98
|
-
|
|
96
|
+
-webkit-box-shadow: 0 0 0 1000px var(--theme-color-component-info) inset !important;
|
|
97
|
+
-webkit-text-fill-color: var(--theme-input--color--autofill) !important;
|
|
98
|
+
background-color: var(--theme-input--background--autofill) !important;
|
|
99
|
+
border: var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;
|
|
100
|
+
color: var(--theme-input--color--autofill) !important;
|
|
101
|
+
}
|
|
102
|
+
input:-webkit-autofill, input:autofill {
|
|
103
|
+
-webkit-box-shadow: 0 0 0 1000px var(--theme-color-component-info) inset !important;
|
|
104
|
+
-webkit-text-fill-color: var(--theme-input--color--autofill) !important;
|
|
105
|
+
background-color: var(--theme-input--background--autofill) !important;
|
|
106
|
+
border: var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;
|
|
107
|
+
color: var(--theme-input--color--autofill) !important;
|
|
99
108
|
}
|
|
100
109
|
input::-moz-placeholder {
|
|
101
110
|
color: var(--theme-input-hint--color);
|
|
@@ -104,13 +113,13 @@ input::placeholder {
|
|
|
104
113
|
color: var(--theme-input-hint--color);
|
|
105
114
|
}
|
|
106
115
|
input.hover, input:hover {
|
|
107
|
-
border-color: var(--theme-input--border-color--hover);
|
|
116
|
+
border-color: var(--theme-input--border-color--hover) !important;
|
|
108
117
|
background-color: var(--theme-input--background--hover);
|
|
109
118
|
}
|
|
110
119
|
input.focus, input:focus {
|
|
111
120
|
outline: 1px solid var(--theme-color-focus-bdr);
|
|
112
121
|
outline-offset: var(--theme-input--focus--outline-offset);
|
|
113
|
-
border-color: var(--theme-input--border-color--focus);
|
|
122
|
+
border-color: var(--theme-input--border-color--focus) !important;
|
|
114
123
|
}
|
|
115
124
|
input:-moz-read-only {
|
|
116
125
|
box-shadow: none;
|
|
@@ -163,7 +172,7 @@ textarea {
|
|
|
163
172
|
height: 3.25rem;
|
|
164
173
|
padding: 0.375rem 1.25rem 0.375rem 0.5rem;
|
|
165
174
|
}
|
|
166
|
-
textarea
|
|
175
|
+
textarea {
|
|
167
176
|
font-feature-settings: "clig" off, "liga" off;
|
|
168
177
|
font-family: Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;
|
|
169
178
|
font-style: normal;
|
|
@@ -185,9 +194,18 @@ textarea, textarea:-webkit-autofill {
|
|
|
185
194
|
box-shadow: var(--theme-input--box-shadow);
|
|
186
195
|
}
|
|
187
196
|
textarea:-webkit-autofill {
|
|
188
|
-
-webkit-box-shadow: 0 0 0 1000px var(--theme-
|
|
189
|
-
-webkit-text-fill-color: var(--theme-input--color) !important;
|
|
190
|
-
|
|
197
|
+
-webkit-box-shadow: 0 0 0 1000px var(--theme-color-component-info) inset !important;
|
|
198
|
+
-webkit-text-fill-color: var(--theme-input--color--autofill) !important;
|
|
199
|
+
background-color: var(--theme-input--background--autofill) !important;
|
|
200
|
+
border: var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;
|
|
201
|
+
color: var(--theme-input--color--autofill) !important;
|
|
202
|
+
}
|
|
203
|
+
textarea:-webkit-autofill, textarea:autofill {
|
|
204
|
+
-webkit-box-shadow: 0 0 0 1000px var(--theme-color-component-info) inset !important;
|
|
205
|
+
-webkit-text-fill-color: var(--theme-input--color--autofill) !important;
|
|
206
|
+
background-color: var(--theme-input--background--autofill) !important;
|
|
207
|
+
border: var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;
|
|
208
|
+
color: var(--theme-input--color--autofill) !important;
|
|
191
209
|
}
|
|
192
210
|
textarea::-moz-placeholder {
|
|
193
211
|
color: var(--theme-input-hint--color);
|
|
@@ -196,13 +214,13 @@ textarea::placeholder {
|
|
|
196
214
|
color: var(--theme-input-hint--color);
|
|
197
215
|
}
|
|
198
216
|
textarea.hover, textarea:hover {
|
|
199
|
-
border-color: var(--theme-input--border-color--hover);
|
|
217
|
+
border-color: var(--theme-input--border-color--hover) !important;
|
|
200
218
|
background-color: var(--theme-input--background--hover);
|
|
201
219
|
}
|
|
202
220
|
textarea.focus, textarea:focus {
|
|
203
221
|
outline: 1px solid var(--theme-color-focus-bdr);
|
|
204
222
|
outline-offset: var(--theme-input--focus--outline-offset);
|
|
205
|
-
border-color: var(--theme-input--border-color--focus);
|
|
223
|
+
border-color: var(--theme-input--border-color--focus) !important;
|
|
206
224
|
}
|
|
207
225
|
textarea:-moz-read-only {
|
|
208
226
|
box-shadow: none;
|
|
@@ -51,11 +51,11 @@ export class Toast {
|
|
|
51
51
|
animationPlayState: this.touched ? 'paused' : 'running',
|
|
52
52
|
};
|
|
53
53
|
progressBarClass.push('toast-progress-bar--animated');
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: '8af2933e92ceaae263f3cc38ad519c6fc8865b3e', class: "animate__animated animate__fadeIn" }, h("div", { key: '7a09d06a2d6643be19660ad2dc8b226208a7b478', class: "toast-body", onPointerLeave: () => {
|
|
55
55
|
this.touched = false;
|
|
56
56
|
}, onPointerEnter: () => {
|
|
57
57
|
this.touched = true;
|
|
58
|
-
} }, this.type || this.icon ? (h("div", { class: "toast-icon" }, this.getIcon())) : null, h("div", { key: '
|
|
58
|
+
} }, this.type || this.icon ? (h("div", { class: "toast-icon" }, this.getIcon())) : null, h("div", { key: 'b19932c2f9e60287f53302f8d273df2f0a087375', class: "toast-content" }, this.toastTitle ? (h("div", { class: "toast-title" }, this.toastTitle)) : null, h("div", { key: 'b10ee8ffae9b69060c74b405c41a5533ceff5806', class: "toast-message" }, h("slot", { key: '8e7931e442b82ef3760f4b13c08f2fb29cb3dbe5' }))), h("div", { key: 'bd7de69a43138138f60e9938a07e0f3d58262cf7', class: "toast-close" }, h("ix-icon-button", { key: '93137526cf1606c0f72b55f722495c4bb659c1c3', icon: 'close', size: "24", ghost: true, onClick: () => this.closeToast.emit() }))), this.autoClose ? (h("div", { class: progressBarClass.join(' '), style: progressBarStyle, onAnimationEnd: () => {
|
|
59
59
|
this.close();
|
|
60
60
|
}, onTransitionEnd: () => {
|
|
61
61
|
if (this.progress === 0) {
|
|
@@ -26,9 +26,9 @@ export class Toggle {
|
|
|
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
|
static get is() { return "ix-toggle"; }
|
|
34
34
|
static get encapsulation() { return "shadow"; }
|
|
@@ -62,9 +62,9 @@ export class ToggleButton {
|
|
|
62
62
|
'aria-pressed': a11yBoolean(this.pressed),
|
|
63
63
|
},
|
|
64
64
|
};
|
|
65
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: 'f8633f71b51df3509bc679922b432bd5c530d580', class: {
|
|
66
66
|
disabled: this.disabled || this.loading,
|
|
67
|
-
} }, h(BaseButton, Object.assign({ key: '
|
|
67
|
+
} }, h(BaseButton, Object.assign({ key: '005a4497d2d37783c6dcf2824c471b56515396ed' }, baseButtonProps), h("slot", { key: '9cafada091aa59fd6b447a2821f58ebd504875cd' }))));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "ix-toggle-button"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
|
@@ -240,9 +240,9 @@ export class Tooltip {
|
|
|
240
240
|
this.visible = false;
|
|
241
241
|
}
|
|
242
242
|
render() {
|
|
243
|
-
return (h(Host, { key: '
|
|
243
|
+
return (h(Host, { key: '236d174251c29cf545a61c2e1a6c99cea500ed65', class: {
|
|
244
244
|
visible: this.visible,
|
|
245
|
-
}, role: "tooltip" }, h("div", { key: '
|
|
245
|
+
}, role: "tooltip" }, h("div", { key: '373d2aff68c0f421c6ef39c4dff8bd8487ab62d8', class: 'tooltip-title' }, h("slot", { key: '4821fb5ee657acb0294b64ca8c835ef0a454a6e5', name: "title-icon" }), h("ix-typography", { key: 'a2420c40f011b9ba1fb536fb3f8b5c1f9d2cd481', variant: "default-title" }, this.titleContent, h("slot", { key: 'fde866bb91836cca05ebb1dc054bd3cea5861913', name: "title-content" }))), h("div", { key: 'daef58ba3396122405dbffd197655f317eb98826', class: 'tooltip-content' }, h("slot", { key: '7d1c5788d6524d13438e67c0e0c550cfc4c680b4' })), h("div", { key: '28abc854252032c7866e07901fc26df171f42c42', class: "arrow" })));
|
|
246
246
|
}
|
|
247
247
|
static get is() { return "ix-tooltip"; }
|
|
248
248
|
static get encapsulation() { return "shadow"; }
|
|
@@ -183,7 +183,7 @@ export class Tree {
|
|
|
183
183
|
this.hyperlist = new Hyperlist(this.hostElement, config);
|
|
184
184
|
}
|
|
185
185
|
render() {
|
|
186
|
-
return (h(Host, { key: '
|
|
186
|
+
return (h(Host, { key: '5e3f0e8bbd14073590ed9ae548fa51abb50bd52b' }, h("slot", { key: '9e05d42472878f4791cce2033271e1918d40c38f' })));
|
|
187
187
|
}
|
|
188
188
|
static get is() { return "ix-tree"; }
|
|
189
189
|
static get encapsulation() { return "shadow"; }
|
|
@@ -15,16 +15,16 @@ export class TreeItem {
|
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
17
|
var _a, _b, _c;
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: 'ba0c464b633cb3ca1ed0c5690245c1a69612e7fb', class: {
|
|
19
19
|
selected: (_a = this.context) === null || _a === void 0 ? void 0 : _a.isSelected,
|
|
20
|
-
} }, h("div", { key: '
|
|
20
|
+
} }, h("div", { key: 'b94962dfd5d8be52ae6dab6b209d7f235dc2fc97', class: "icon-toggle-container", onClick: (e) => {
|
|
21
21
|
e.preventDefault();
|
|
22
22
|
this.toggle.emit();
|
|
23
23
|
} }, this.hasChildren ? (h("ix-icon", { name: 'chevron-right', size: "16", class: {
|
|
24
24
|
['icon-toggle-down']: (_b = this.context) === null || _b === void 0 ? void 0 : _b.isExpanded,
|
|
25
|
-
}, color: `color-${((_c = this.context) === null || _c === void 0 ? void 0 : _c.isExpanded) ? 'primary' : 'std-text'}` })) : null), h("div", { key: '
|
|
25
|
+
}, color: `color-${((_c = this.context) === null || _c === void 0 ? void 0 : _c.isExpanded) ? 'primary' : 'std-text'}` })) : null), h("div", { key: 'ec90acd5573bbb23978666fc9e43e4c107d35ce1', class: "tree-node-container", onClick: () => {
|
|
26
26
|
this.itemClick.emit();
|
|
27
|
-
} }, this.text, h("slot", { key: '
|
|
27
|
+
} }, this.text, h("slot", { key: 'd70e947ceceeb7ecef901da3bc48ba58f898d419' }))));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "ix-tree-item"; }
|
|
30
30
|
static get encapsulation() { return "shadow"; }
|
|
@@ -87,7 +87,7 @@ export class Upload {
|
|
|
87
87
|
this.filesToUpload = obj;
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return (h(Host, { key: '
|
|
90
|
+
return (h(Host, { key: 'c13c30ad2fa2a251ad872d7b0461f625798a3d2a' }, h("div", { key: '572bf6899630cdc1fdff1518750415270792a368', class: {
|
|
91
91
|
'file-upload-area': true,
|
|
92
92
|
'file-over': this.state !== UploadFileState.LOADING && this.isFileOver,
|
|
93
93
|
checking: this.state === UploadFileState.LOADING,
|
|
@@ -97,9 +97,9 @@ export class Upload {
|
|
|
97
97
|
if (this.state !== UploadFileState.LOADING) {
|
|
98
98
|
this.fileDropped(e);
|
|
99
99
|
}
|
|
100
|
-
}, onDragOver: (e) => this.fileOver(e), onDragLeave: () => this.fileLeave(), draggable: !this.disabled }, this.renderUploadState(), h("div", { key: '
|
|
100
|
+
}, 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) => {
|
|
101
101
|
this.fileChangeEvent(e);
|
|
102
|
-
}, accept: this.accept }), h("ix-button", { key: '
|
|
102
|
+
}, 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)))));
|
|
103
103
|
}
|
|
104
104
|
static get is() { return "ix-upload"; }
|
|
105
105
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: MIT
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
export class ArrowFocusController {
|
|
10
|
+
constructor(items, container, callback) {
|
|
11
|
+
this.wrap = false;
|
|
12
|
+
this.keyListenerBind = this.keyListener.bind(this);
|
|
13
|
+
this.items = items;
|
|
14
|
+
this.container = container;
|
|
15
|
+
this.callback = callback;
|
|
16
|
+
this.container.addEventListener('keydown', this.keyListenerBind);
|
|
17
|
+
}
|
|
18
|
+
keyListener(e) {
|
|
19
|
+
const activeIndex = this.items.indexOf(document.activeElement);
|
|
20
|
+
if (activeIndex < 0) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
switch (e.key) {
|
|
24
|
+
case 'ArrowDown':
|
|
25
|
+
if (activeIndex < this.items.length - 1) {
|
|
26
|
+
e.preventDefault();
|
|
27
|
+
if (this.callback) {
|
|
28
|
+
this.callback(activeIndex + 1);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
else if (this.wrap) {
|
|
32
|
+
e.preventDefault();
|
|
33
|
+
if (this.callback) {
|
|
34
|
+
this.callback(0);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
break;
|
|
38
|
+
case 'ArrowUp':
|
|
39
|
+
{
|
|
40
|
+
if (activeIndex > 0) {
|
|
41
|
+
e.preventDefault();
|
|
42
|
+
if (this.callback) {
|
|
43
|
+
this.callback(activeIndex - 1);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
else if (this.wrap && activeIndex === 0) {
|
|
47
|
+
e.preventDefault();
|
|
48
|
+
if (this.callback) {
|
|
49
|
+
this.callback(this.items.length - 1);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
break;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
disconnect() {
|
|
57
|
+
this.container.removeEventListener('keydown', this.keyListenerBind);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=focus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focus.js","sourceRoot":"","sources":["../../../../src/components/utils/focus.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,OAAO,oBAAoB;IAS/B,YACE,KAAY,EACZ,SAAsB,EACtB,QAAiC;QARnC,SAAI,GAAG,KAAK,CAAC;QAGL,oBAAe,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAOpD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC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,IAAI,CAAC,QAAQ,EAAE,CAAC;4BAClB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;wBACvC,CAAC;oBACH,CAAC;gBACH,CAAC;gBACD,MAAM;QACV,CAAC;IACH,CAAC;IAED,UAAU;QACR,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,SAAS,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;IACtE,CAAC;CACF","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 */\n\nexport class ArrowFocusController {\n public items: Element[];\n\n container: HTMLElement;\n wrap = false;\n callback: any;\n\n private keyListenerBind = this.keyListener.bind(this);\n\n constructor(\n items: any[],\n container: HTMLElement,\n callback: (index: number) => void\n ) {\n this.items = items;\n this.container = container;\n this.callback = callback;\n\n this.container.addEventListener('keydown', this.keyListenerBind);\n }\n\n private keyListener(e) {\n const activeIndex = this.items.indexOf(document.activeElement);\n\n if (activeIndex < 0) {\n return;\n }\n\n switch (e.key) {\n case 'ArrowDown':\n if (activeIndex < this.items.length - 1) {\n e.preventDefault();\n if (this.callback) {\n this.callback(activeIndex + 1);\n }\n } else if (this.wrap) {\n e.preventDefault();\n if (this.callback) {\n this.callback(0);\n }\n }\n break;\n\n case 'ArrowUp':\n {\n if (activeIndex > 0) {\n e.preventDefault();\n if (this.callback) {\n this.callback(activeIndex - 1);\n }\n } else if (this.wrap && activeIndex === 0) {\n e.preventDefault();\n if (this.callback) {\n this.callback(this.items.length - 1);\n }\n }\n }\n break;\n }\n }\n\n disconnect() {\n this.container.removeEventListener('keydown', this.keyListenerBind);\n }\n}\n"]}
|
|
@@ -135,13 +135,13 @@ export class ValidationTooltip {
|
|
|
135
135
|
}
|
|
136
136
|
render() {
|
|
137
137
|
var _a, _b;
|
|
138
|
-
return (h(Host, { key: '
|
|
138
|
+
return (h(Host, { key: '2adabc09b27adab332a05e06f95f778e635db7cf' }, h("slot", { key: '9737aa1f46813f88404c5a80eaf0b8e1c6b166c4' }), h("div", { key: '6be2cd8f7c24bd7c3ddc42218ca0b70d3c56dc0a', role: "tooltip", style: {
|
|
139
139
|
display: 'none',
|
|
140
140
|
position: 'fixed',
|
|
141
141
|
top: '0',
|
|
142
142
|
left: '0',
|
|
143
143
|
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)`,
|
|
144
|
-
}, class: "validation-tooltip text-default" }, this.message, h("slot", { key: '
|
|
144
|
+
}, class: "validation-tooltip text-default" }, this.message, h("slot", { key: '228c539e4447ce9a4c89ffe584f9b712ccaa1924', name: "tooltip-message" }), h("div", { key: 'cdbaf18c6c2033b9b03e33b4e5826309f504df14', id: "arrow" }))));
|
|
145
145
|
}
|
|
146
146
|
static get is() { return "ix-validation-tooltip"; }
|
|
147
147
|
static get encapsulation() { return "shadow"; }
|