@siemens/ix 2.0.0-beta.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/_commonjsHelpers-0c557e26.js +28 -0
- package/dist/cjs/_commonjsHelpers-0c557e26.js.map +1 -0
- package/dist/cjs/a11y-4fdcefb4.js +82 -0
- package/dist/cjs/a11y-4fdcefb4.js.map +1 -0
- package/dist/cjs/app-globals-1fe10058.js +31 -0
- package/dist/cjs/app-globals-1fe10058.js.map +1 -0
- package/dist/cjs/base-button-c158438e.js +50 -0
- package/dist/cjs/base-button-c158438e.js.map +1 -0
- package/dist/cjs/base-icon-button-bbca2582.js +20 -0
- package/dist/cjs/base-icon-button-bbca2582.js.map +1 -0
- package/dist/cjs/breakpoints-7ca69aa8.js +27 -0
- package/dist/cjs/breakpoints-7ca69aa8.js.map +1 -0
- package/dist/cjs/context-0fdf2fa1.js +106 -0
- package/dist/cjs/context-0fdf2fa1.js.map +1 -0
- package/dist/cjs/core-js-3b34c0b6.js +27 -0
- package/dist/cjs/core-js-3b34c0b6.js.map +1 -0
- package/dist/cjs/dom-83fb07d8.js +74 -0
- package/dist/cjs/dom-83fb07d8.js.map +1 -0
- package/dist/cjs/floating-ui.dom.esm-3b936e26.js +1520 -0
- package/dist/cjs/floating-ui.dom.esm-3b936e26.js.map +1 -0
- package/dist/cjs/index-be499a74.js +2343 -0
- package/dist/cjs/index-be499a74.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -4
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/index.es2017-b42376b6.js +1504 -0
- package/dist/cjs/index.es2017-b42376b6.js.map +1 -0
- package/dist/cjs/ix-action-card.cjs.entry.js +3 -3
- package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +10 -5
- package/dist/cjs/ix-application-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-application-sidebar.cjs.entry.js +47 -0
- package/dist/cjs/ix-application-sidebar.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-application.cjs.entry.js +109 -0
- package/dist/cjs/ix-application.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-avatar_2.cjs.entry.js +56 -0
- package/dist/cjs/ix-avatar_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +44 -10
- package/dist/cjs/ix-basic-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-blind.cjs.entry.js +16 -7
- package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +68 -0
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +104 -0
- package/dist/cjs/ix-breadcrumb.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-burger-menu.cjs.entry.js +5 -5
- package/dist/cjs/ix-burger-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-button.cjs.entry.js +22 -7
- package/dist/cjs/ix-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +5 -7
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card-list.cjs.entry.js +4 -4
- package/dist/cjs/ix-card-list.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card_2.cjs.entry.js +3 -3
- package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-category-filter.cjs.entry.js +73 -40
- package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-chip.cjs.entry.js +4 -6
- package/dist/cjs/ix-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-col.cjs.entry.js +77 -0
- package/dist/cjs/ix-col.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-content-header.cjs.entry.js +2 -2
- package/dist/cjs/ix-content-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-content.cjs.entry.js +32 -0
- package/dist/cjs/ix-content.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-css-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-css-grid-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-css-grid.cjs.entry.js +1 -1
- package/dist/cjs/ix-css-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-picker_2.cjs.entry.js +9 -9
- package/dist/cjs/ix-date-picker_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js +2 -2
- package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -2
- package/dist/cjs/ix-datetime-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-divider.cjs.entry.js +1 -1
- package/dist/cjs/ix-drawer.cjs.entry.js +3 -3
- package/dist/cjs/ix-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +4 -4
- package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-header.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-item.cjs.entry.js +49 -0
- package/dist/cjs/ix-dropdown-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown.cjs.entry.js +322 -0
- package/dist/cjs/ix-dropdown.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/ix-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-event-list-item.cjs.entry.js +42 -0
- package/dist/cjs/ix-event-list-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-event-list.cjs.entry.js +124 -0
- package/dist/cjs/ix-event-list.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-expanding-search.cjs.entry.js +3 -3
- package/dist/cjs/ix-expanding-search.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +91 -0
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-flip-tile-content.cjs.entry.js +22 -0
- package/dist/cjs/ix-flip-tile-content.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-flip-tile.cjs.entry.js +89 -0
- package/dist/cjs/ix-flip-tile.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-form-field.cjs.entry.js +27 -0
- package/dist/cjs/ix-form-field.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +79 -0
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-group.cjs.entry.js +128 -0
- package/dist/cjs/ix-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +97 -0
- package/dist/cjs/ix-icon-button_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +88 -0
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-icon.entry-6cd45fec.js +1487 -0
- package/dist/cjs/ix-icon.entry-6cd45fec.js.map +1 -0
- package/dist/cjs/ix-input-group.cjs.entry.js +89 -18
- package/dist/cjs/ix-input-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
- package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +4 -4
- package/dist/cjs/ix-kpi.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-layout-grid.cjs.entry.js +29 -0
- package/dist/cjs/ix-layout-grid.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-link-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-link-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +62 -0
- package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-map-navigation.cjs.entry.js +174 -0
- package/dist/cjs/ix-map-navigation.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +22 -0
- package/dist/cjs/ix-menu-about-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +38 -0
- package/dist/cjs/ix-menu-about-news.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-menu-about.cjs.entry.js +76 -0
- package/dist/cjs/ix-menu-about.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +33 -0
- package/dist/cjs/ix-menu-avatar.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-menu-category.cjs.entry.js +7 -6
- package/dist/cjs/ix-menu-category.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu-item.cjs.entry.js +72 -0
- package/dist/cjs/ix-menu-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js +22 -0
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-menu-settings.cjs.entry.js +64 -0
- package/dist/cjs/ix-menu-settings.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-menu.cjs.entry.js +444 -0
- package/dist/cjs/ix-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-message-bar.cjs.entry.js +3 -3
- package/dist/cjs/ix-message-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-content.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-content.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-example.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-example.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-footer.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-header.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal.cjs.entry.js +5 -4
- package/dist/cjs/ix-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-pagination.cjs.entry.js +32 -15
- package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-pill.cjs.entry.js +2 -2
- package/dist/cjs/ix-pill.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-push-card.cjs.entry.js +6 -3
- package/dist/cjs/ix-push-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-row.cjs.entry.js +21 -0
- package/dist/cjs/ix-row.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-select.cjs.entry.js +341 -0
- package/dist/cjs/ix-select.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-slider.cjs.entry.js +151 -0
- package/dist/cjs/ix-slider.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-split-button-item.cjs.entry.js +28 -0
- package/dist/cjs/ix-split-button-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-split-button.cjs.entry.js +49 -0
- package/dist/cjs/ix-split-button.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-tab-item_2.cjs.entry.js +263 -0
- package/dist/cjs/ix-tab-item_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-tile.cjs.entry.js +2 -2
- package/dist/cjs/ix-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toast-container.cjs.entry.js +87 -0
- package/dist/cjs/ix-toast-container.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-toast.cjs.entry.js +73 -0
- package/dist/cjs/ix-toast.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-toggle-button.cjs.entry.js +77 -0
- package/dist/cjs/ix-toggle-button.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ix-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tooltip.cjs.entry.js +23 -9
- package/dist/cjs/ix-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tree-item.cjs.entry.js +36 -0
- package/dist/cjs/ix-tree-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-tree.cjs.entry.js +702 -0
- package/dist/cjs/ix-tree.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-typography.cjs.entry.js +25 -12
- package/dist/cjs/ix-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +2 -2
- package/dist/cjs/ix-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-workflow-step.cjs.entry.js +97 -0
- package/dist/cjs/ix-workflow-step.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +81 -0
- package/dist/cjs/ix-workflow-steps.cjs.entry.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -2
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/menu-service-000df68d.js +159 -0
- package/dist/cjs/menu-service-000df68d.js.map +1 -0
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/my-component.cjs.entry.js.map +1 -1
- package/dist/cjs/shadow-dom-9b10f758.js +24 -0
- package/dist/cjs/shadow-dom-9b10f758.js.map +1 -0
- package/dist/cjs/siemens-ix.cjs.js +4 -2
- package/dist/cjs/siemens-ix.cjs.js.map +1 -1
- package/dist/cjs/theme-switcher-d0386ac9.js +126 -0
- package/dist/cjs/theme-switcher-d0386ac9.js.map +1 -0
- package/dist/collection/collection-manifest.json +18 -208
- package/dist/collection/components/action-card/action-card.css +51 -0
- package/dist/collection/components/action-card/action-card.js +2 -2
- package/dist/collection/components/action-card/action-card.js.map +1 -1
- package/dist/collection/components/application/application.css +106 -0
- package/dist/collection/components/application/application.js +220 -0
- package/dist/collection/components/application/application.js.map +1 -0
- package/dist/collection/components/application-header/application-header.css +4 -2
- package/dist/collection/components/application-header/application-header.js +8 -28
- package/dist/collection/components/application-header/application-header.js.map +1 -1
- package/dist/collection/components/application-header/test/application-headet.ct.js +24 -0
- package/dist/collection/components/application-header/test/application-headet.ct.js.map +1 -0
- package/dist/collection/components/application-sidebar/application-sidebar.css +69 -0
- package/dist/collection/components/application-sidebar/application-sidebar.js +70 -0
- package/dist/collection/components/application-sidebar/application-sidebar.js.map +1 -0
- package/dist/collection/components/application-sidebar/events.js +15 -0
- package/dist/collection/components/application-sidebar/events.js.map +1 -0
- package/dist/collection/components/basic-navigation/basic-navigation.css +39 -2
- package/dist/collection/components/basic-navigation/basic-navigation.js +91 -8
- package/dist/collection/components/basic-navigation/basic-navigation.js.map +1 -1
- package/dist/collection/components/blind/blind.css +252 -58
- package/dist/collection/components/blind/blind.js +59 -4
- package/dist/collection/components/blind/blind.js.map +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.css +49 -153
- package/dist/collection/components/breadcrumb/breadcrumb.js +80 -92
- package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js +97 -0
- package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js.map +1 -0
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +1063 -1
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +152 -3
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
- package/dist/collection/components/button/base-button.js +10 -1
- package/dist/collection/components/button/base-button.js.map +1 -1
- package/dist/collection/components/button/button.css +287 -208
- package/dist/collection/components/button/button.js +62 -44
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/card/card.css +41 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/card.js.map +1 -1
- package/dist/collection/components/card-accordion/card-accordion.css +49 -15
- package/dist/collection/components/card-accordion/card-accordion.js +2 -4
- package/dist/collection/components/card-accordion/card-accordion.js.map +1 -1
- package/dist/collection/components/card-content/card-content.css +37 -0
- package/dist/collection/components/card-list/card-list.css +36 -1
- package/dist/collection/components/card-list/card-list.js +2 -2
- package/dist/collection/components/card-list/card-list.js.map +1 -1
- package/dist/collection/components/card-title/card-title.css +1 -1
- package/dist/collection/components/category-filter/category-filter.css +1359 -4
- package/dist/collection/components/category-filter/category-filter.js +115 -55
- package/dist/collection/components/category-filter/category-filter.js.map +1 -1
- package/dist/collection/components/chip/chip.css +37 -0
- package/dist/collection/components/chip/chip.js +3 -22
- package/dist/collection/components/chip/chip.js.map +1 -1
- package/dist/collection/components/col/col.css +66 -0
- package/dist/collection/components/col/col.js +189 -0
- package/dist/collection/components/col/col.js.map +1 -0
- package/dist/collection/components/content/content.css +75 -0
- package/dist/collection/components/content/content.js +46 -0
- package/dist/collection/components/content/content.js.map +1 -0
- package/dist/collection/components/content-header/content-header.js +1 -1
- package/dist/collection/components/content-header/content-header.js.map +1 -1
- package/dist/collection/components/css-grid/builder.js.map +1 -0
- package/dist/collection/components/css-grid/css-grid-item.js.map +1 -0
- package/dist/collection/components/css-grid/css-grid.js +123 -0
- package/dist/collection/components/css-grid/css-grid.js.map +1 -0
- package/dist/collection/components/date-picker/date-picker.css +41 -0
- package/dist/collection/components/date-picker/date-picker.js +4 -4
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/date-time-card/date-time-card.css +38 -0
- package/dist/collection/components/datetime-picker/datetime-picker.css +36 -0
- package/dist/collection/components/drawer/drawer.css +36 -0
- package/dist/collection/components/drawer/drawer.js +1 -1
- package/dist/collection/components/drawer/drawer.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown.css +36 -0
- package/dist/collection/components/dropdown/dropdown.js +39 -34
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown/test/dropdown.ct.js +79 -0
- package/dist/collection/components/dropdown/test/dropdown.ct.js.map +1 -0
- package/dist/collection/components/dropdown-button/dropdown-button.css +46 -4
- package/dist/collection/components/dropdown-button/dropdown-button.js +27 -23
- package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
- package/dist/collection/components/dropdown-header/dropdown-header.css +36 -0
- package/dist/collection/components/dropdown-item/dropdown-item.css +36 -0
- package/dist/collection/components/dropdown-item/dropdown-item.js +6 -4
- package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -1
- package/dist/collection/components/empty-state/empty-state.css +38 -0
- package/dist/collection/components/event-list/event-list.css +36 -0
- package/dist/collection/components/event-list-item/event-list-item.css +42 -4
- package/dist/collection/components/event-list-item/event-list-item.js +2 -24
- package/dist/collection/components/event-list-item/event-list-item.js.map +1 -1
- package/dist/collection/components/expanding-search/expanding-search.css +47 -4
- package/dist/collection/components/expanding-search/expanding-search.js +1 -1
- package/dist/collection/components/expanding-search/expanding-search.js.map +1 -1
- package/dist/collection/components/filter-chip/filter-chip.css +48 -1
- package/dist/collection/components/filter-chip/filter-chip.js +23 -1
- package/dist/collection/components/filter-chip/filter-chip.js.map +1 -1
- package/dist/collection/components/flip-tile/flip-tile.css +208 -0
- package/dist/collection/components/flip-tile/flip-tile.js +25 -36
- package/dist/collection/components/flip-tile/flip-tile.js.map +1 -1
- package/dist/collection/components/flip-tile/test/flip-tile.ct.js +57 -0
- package/dist/collection/components/flip-tile/test/flip-tile.ct.js.map +1 -0
- package/dist/collection/components/flip-tile-content/flip-tile-content.js +29 -1
- package/dist/collection/components/flip-tile-content/flip-tile-content.js.map +1 -1
- package/dist/collection/components/form-field/form-field.css +269 -0
- package/dist/collection/components/form-field/form-field.js +56 -0
- package/dist/collection/components/form-field/form-field.js.map +1 -0
- package/dist/collection/components/grid/layout-grid.css +21 -0
- package/dist/collection/components/grid/layout-grid.js +98 -0
- package/dist/collection/components/grid/layout-grid.js.map +1 -0
- package/dist/collection/components/group/group-context-menu.js +1 -1
- package/dist/collection/components/group/group-context-menu.js.map +1 -1
- package/dist/collection/components/group/group.css +4 -4
- package/dist/collection/components/group/group.js +1 -1
- package/dist/collection/components/group/group.js.map +1 -1
- package/dist/collection/components/group-item/group-item.css +36 -0
- package/dist/collection/components/icon-button/base-icon-button.js +14 -0
- package/dist/collection/components/icon-button/base-icon-button.js.map +1 -0
- package/dist/collection/components/icon-button/icon-button.css +383 -173
- package/dist/collection/components/icon-button/icon-button.js +18 -49
- package/dist/collection/components/icon-button/icon-button.js.map +1 -1
- package/dist/collection/components/icon-button/test/icon-button.ct.js +1 -1
- package/dist/collection/components/icon-button/test/icon-button.ct.js.map +1 -1
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +618 -0
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +274 -0
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js.map +1 -0
- package/dist/collection/components/input-group/input-group.css +54 -1
- package/dist/collection/components/input-group/input-group.js +96 -17
- package/dist/collection/components/input-group/input-group.js.map +1 -1
- package/dist/collection/components/kpi/kpi.css +38 -2
- package/dist/collection/components/kpi/kpi.js +2 -2
- package/dist/collection/components/kpi/kpi.js.map +1 -1
- package/dist/collection/components/link-button/link-button.css +72 -66
- package/dist/collection/components/link-button/link-button.js +1 -1
- package/dist/collection/components/link-button/link-button.js.map +1 -1
- package/dist/collection/components/map-navigation/map-navigation.css +36 -0
- package/dist/collection/components/map-navigation/map-navigation.js +9 -1
- package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +56 -0
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js.map +1 -1
- package/dist/collection/components/menu/burger-menu.css +104 -62
- package/dist/collection/components/menu/burger-menu.js +1 -1
- package/dist/collection/components/menu/burger-menu.js.map +1 -1
- package/dist/collection/components/menu/menu.css +45 -6
- package/dist/collection/components/menu/menu.js +66 -103
- package/dist/collection/components/menu/menu.js.map +1 -1
- package/dist/collection/components/menu/test/menu.ct.js +30 -12
- package/dist/collection/components/menu/test/menu.ct.js.map +1 -1
- package/dist/collection/components/menu-about/menu-about.css +2 -2
- package/dist/collection/components/menu-about/menu-about.js +3 -3
- package/dist/collection/components/menu-about/menu-about.js.map +1 -1
- package/dist/collection/components/menu-about-news/menu-about-news.css +36 -0
- package/dist/collection/components/menu-about-news/menu-about-news.js +1 -1
- package/dist/collection/components/menu-about-news/menu-about-news.js.map +1 -1
- package/dist/collection/components/menu-avatar/menu-avatar.css +46 -2
- package/dist/collection/components/menu-avatar/menu-avatar.js +3 -3
- package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +36 -1
- package/dist/collection/components/menu-category/menu-category.css +41 -0
- package/dist/collection/components/menu-category/menu-category.js +4 -4
- package/dist/collection/components/menu-category/menu-category.js.map +1 -1
- package/dist/collection/components/menu-category/test/menu-category.ct.js +27 -10
- package/dist/collection/components/menu-category/test/menu-category.ct.js.map +1 -1
- package/dist/collection/components/menu-item/menu-item.css +11 -6
- package/dist/collection/components/menu-item/menu-item.js +8 -2
- package/dist/collection/components/menu-item/menu-item.js.map +1 -1
- package/dist/collection/components/menu-settings/menu-settings.css +40 -1
- package/dist/collection/components/menu-settings/menu-settings.js +2 -2
- package/dist/collection/components/menu-settings/menu-settings.js.map +1 -1
- package/dist/collection/components/message-bar/message-bar.css +38 -0
- package/dist/collection/components/message-bar/message-bar.js +1 -1
- package/dist/collection/components/message-bar/message-bar.js.map +1 -1
- package/dist/collection/components/modal/modal.css +17 -3
- package/dist/collection/components/modal/modal.js +3 -2
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/modal-content/modal-content.css +36 -0
- package/dist/collection/components/modal-footer/modal-footer.css +36 -0
- package/dist/collection/components/modal-header/modal-header.css +36 -0
- package/dist/collection/components/my-component/example-modal.js +1 -1
- package/dist/collection/components/my-component/example-modal.js.map +1 -1
- package/dist/collection/components/my-component/my-component.js +1 -1
- package/dist/collection/components/my-component/my-component.js.map +1 -1
- package/dist/collection/components/pagination/pagination.css +919 -2
- package/dist/collection/components/pagination/pagination.js +31 -14
- package/dist/collection/components/pagination/pagination.js.map +1 -1
- package/dist/collection/components/pagination/test/pagination.ct.js +40 -0
- package/dist/collection/components/pagination/test/pagination.ct.js.map +1 -0
- package/dist/collection/components/pill/pill.css +37 -0
- package/dist/collection/components/push-card/push-card.css +7 -4
- package/dist/collection/components/push-card/push-card.js +5 -2
- package/dist/collection/components/push-card/push-card.js.map +1 -1
- package/dist/collection/components/row/row.css +17 -0
- package/dist/collection/components/row/row.js +30 -0
- package/dist/collection/components/row/row.js.map +1 -0
- package/dist/collection/components/select/select.css +71 -36
- package/dist/collection/components/select/select.js +155 -79
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select/test/select.ct.js +21 -16
- package/dist/collection/components/select/test/select.ct.js.map +1 -1
- package/dist/collection/components/select-item/select-item.js +1 -1
- package/dist/collection/components/select-item/select-item.js.map +1 -1
- package/dist/collection/components/slider/slider.css +265 -0
- package/dist/collection/components/slider/slider.js +380 -0
- package/dist/collection/components/slider/slider.js.map +1 -0
- package/dist/collection/components/slider/test/slider.ct.js +35 -0
- package/dist/collection/components/slider/test/slider.ct.js.map +1 -0
- package/dist/collection/components/spinner/spinner.css +148 -0
- package/dist/collection/components/split-button/split-button.css +36 -0
- package/dist/collection/components/split-button/split-button.js +1 -5
- package/dist/collection/components/split-button/split-button.js.map +1 -1
- package/dist/collection/components/split-button-item/split-button-item.js +7 -1
- package/dist/collection/components/split-button-item/split-button-item.js.map +1 -1
- package/dist/collection/components/tab-item/tab-item.css +36 -1
- package/dist/collection/components/tab-item/tab-item.js +34 -1
- package/dist/collection/components/tab-item/tab-item.js.map +1 -1
- package/dist/collection/components/tabs/tabs.css +36 -0
- package/dist/collection/components/tabs/tabs.js +53 -12
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/collection/components/tabs/test/tabs.ct.js +84 -0
- package/dist/collection/components/tabs/test/tabs.ct.js.map +1 -0
- package/dist/collection/components/tile/tile.css +36 -0
- package/dist/collection/components/time-picker/time-picker.css +309 -13
- package/dist/collection/components/time-picker/time-picker.js +2 -2
- package/dist/collection/components/time-picker/time-picker.js.map +1 -1
- package/dist/collection/components/toast/styles/toast-container.css +91 -0
- package/dist/collection/components/toast/toast-container.js +20 -4
- package/dist/collection/components/toast/toast-container.js.map +1 -1
- package/dist/collection/components/toast/toast.css +45 -7
- package/dist/collection/components/toast/toast.js +1 -1
- package/dist/collection/components/toast/toast.js.map +1 -1
- package/dist/collection/components/toggle/toggle.css +36 -0
- package/dist/collection/components/toggle-button/toggle-button.css +447 -0
- package/dist/collection/components/toggle-button/toggle-button.js +246 -0
- package/dist/collection/components/toggle-button/toggle-button.js.map +1 -0
- package/dist/collection/components/tooltip/tooltip.js +88 -8
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/collection/components/tree/test/tree.ct.js +154 -0
- package/dist/collection/components/tree/test/tree.ct.js.map +1 -0
- package/dist/collection/components/tree/tree.js +14 -7
- package/dist/collection/components/tree/tree.js.map +1 -1
- package/dist/collection/components/tree-item/tree-item.css +56 -14
- package/dist/collection/components/tree-item/tree-item.js +2 -2
- package/dist/collection/components/tree-item/tree-item.js.map +1 -1
- package/dist/collection/components/typography/typography.css +391 -0
- package/dist/collection/components/typography/typography.js +95 -14
- package/dist/collection/components/typography/typography.js.map +1 -1
- package/dist/collection/components/upload/upload.css +36 -0
- package/dist/collection/components/utils/a11y.js +2 -2
- package/dist/collection/components/utils/a11y.js.map +1 -1
- package/dist/collection/components/utils/application-layout/context.js +19 -0
- package/dist/collection/components/utils/application-layout/context.js.map +1 -0
- package/dist/collection/components/utils/application-layout/index.js +10 -0
- package/dist/collection/components/utils/application-layout/index.js.map +1 -0
- package/dist/collection/components/utils/application-layout/service.js +92 -0
- package/dist/collection/components/utils/application-layout/service.js.map +1 -0
- package/dist/collection/components/utils/breakpoints.js +22 -0
- package/dist/collection/components/utils/breakpoints.js.map +1 -0
- package/dist/collection/components/utils/context.js +79 -0
- package/dist/collection/components/utils/context.js.map +1 -0
- package/dist/collection/components/utils/shadow-dom.js +13 -0
- package/dist/collection/components/utils/shadow-dom.js.map +1 -1
- package/dist/collection/components/utils/theme-switcher.js +35 -3
- package/dist/collection/components/utils/theme-switcher.js.map +1 -1
- package/dist/collection/components/validation-tooltip/validation-tooltip.css +1 -0
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +6 -6
- package/dist/collection/components/validation-tooltip/validation-tooltip.js.map +1 -1
- package/dist/collection/components/workflow-step/workflow-step.css +40 -2
- package/dist/collection/components/workflow-step/workflow-step.js +6 -13
- package/dist/collection/components/workflow-step/workflow-step.js.map +1 -1
- package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js +74 -0
- package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js.map +1 -0
- package/dist/collection/components/workflow-steps/workflow-steps.css +38 -0
- package/dist/collection/components/workflow-steps/workflow-steps.js +8 -26
- package/dist/collection/components/workflow-steps/workflow-steps.js.map +1 -1
- package/dist/collection/index.js +0 -9
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/setup.js +24 -0
- package/dist/collection/setup.js.map +1 -0
- package/dist/collection/tests/utils/test/index.js +14 -0
- package/dist/collection/tests/utils/test/index.js.map +1 -1
- package/dist/esm/_commonjsHelpers-dd6fe9fb.js +23 -0
- package/dist/esm/_commonjsHelpers-dd6fe9fb.js.map +1 -0
- package/dist/esm/a11y-d5dd20ad.js +79 -0
- package/dist/esm/a11y-d5dd20ad.js.map +1 -0
- package/dist/esm/app-globals-4d2941ae.js +29 -0
- package/dist/esm/app-globals-4d2941ae.js.map +1 -0
- package/dist/esm/base-button-87048318.js +47 -0
- package/dist/esm/base-button-87048318.js.map +1 -0
- package/dist/esm/base-icon-button-afac2d95.js +18 -0
- package/dist/esm/base-icon-button-afac2d95.js.map +1 -0
- package/dist/esm/breakpoints-b76e9f27.js +25 -0
- package/dist/esm/breakpoints-b76e9f27.js.map +1 -0
- package/dist/esm/context-6a3bc77f.js +101 -0
- package/dist/esm/context-6a3bc77f.js.map +1 -0
- package/dist/esm/core-js-de462567.js +25 -0
- package/dist/esm/core-js-de462567.js.map +1 -0
- package/dist/esm/dom-64ac48b5.js +72 -0
- package/dist/esm/dom-64ac48b5.js.map +1 -0
- package/dist/esm/floating-ui.dom.esm-cbe44820.js +1512 -0
- package/dist/esm/floating-ui.dom.esm-cbe44820.js.map +1 -0
- package/dist/esm/index-eb0be730.js +2312 -0
- package/dist/esm/index-eb0be730.js.map +1 -0
- package/dist/esm/index.es2017-1478d9a9.js +1479 -0
- package/dist/esm/index.es2017-1478d9a9.js.map +1 -0
- package/dist/esm/index.js +1 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/ix-action-card.entry.js +3 -3
- package/dist/esm/ix-action-card.entry.js.map +1 -1
- package/dist/esm/ix-application-header.entry.js +10 -5
- package/dist/esm/ix-application-header.entry.js.map +1 -1
- package/dist/esm/ix-application-sidebar.entry.js +43 -0
- package/dist/esm/ix-application-sidebar.entry.js.map +1 -0
- package/dist/esm/ix-application.entry.js +105 -0
- package/dist/esm/ix-application.entry.js.map +1 -0
- package/dist/esm/ix-avatar_2.entry.js +51 -0
- package/dist/esm/ix-avatar_2.entry.js.map +1 -0
- package/dist/esm/ix-basic-navigation.entry.js +44 -10
- package/dist/esm/ix-basic-navigation.entry.js.map +1 -1
- package/dist/esm/ix-blind.entry.js +16 -7
- package/dist/esm/ix-blind.entry.js.map +1 -1
- package/dist/esm/ix-breadcrumb-item.entry.js +64 -0
- package/dist/esm/ix-breadcrumb-item.entry.js.map +1 -0
- package/dist/esm/ix-breadcrumb.entry.js +100 -0
- package/dist/esm/ix-breadcrumb.entry.js.map +1 -0
- package/dist/esm/ix-burger-menu.entry.js +5 -5
- package/dist/esm/ix-burger-menu.entry.js.map +1 -1
- package/dist/esm/ix-button.entry.js +22 -7
- package/dist/esm/ix-button.entry.js.map +1 -1
- package/dist/esm/ix-card-accordion_2.entry.js +5 -7
- package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
- package/dist/esm/ix-card-list.entry.js +4 -4
- package/dist/esm/ix-card-list.entry.js.map +1 -1
- package/dist/esm/ix-card_2.entry.js +3 -3
- package/dist/esm/ix-card_2.entry.js.map +1 -1
- package/dist/esm/ix-category-filter.entry.js +73 -40
- package/dist/esm/ix-category-filter.entry.js.map +1 -1
- package/dist/esm/ix-chip.entry.js +4 -6
- package/dist/esm/ix-chip.entry.js.map +1 -1
- package/dist/esm/ix-col.entry.js +73 -0
- package/dist/esm/ix-col.entry.js.map +1 -0
- package/dist/esm/ix-content-header.entry.js +2 -2
- package/dist/esm/ix-content-header.entry.js.map +1 -1
- package/dist/esm/ix-content.entry.js +28 -0
- package/dist/esm/ix-content.entry.js.map +1 -0
- package/dist/esm/ix-css-grid-item.entry.js +1 -1
- package/dist/esm/ix-css-grid-item.entry.js.map +1 -1
- package/dist/esm/ix-css-grid.entry.js +1 -1
- package/dist/esm/ix-css-grid.entry.js.map +1 -1
- package/dist/esm/ix-date-picker_2.entry.js +9 -9
- package/dist/esm/ix-date-picker_2.entry.js.map +1 -1
- package/dist/esm/ix-date-time-card.entry.js +2 -2
- package/dist/esm/ix-date-time-card.entry.js.map +1 -1
- package/dist/esm/ix-datetime-picker.entry.js +2 -2
- package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
- package/dist/esm/ix-divider.entry.js +1 -1
- package/dist/esm/ix-drawer.entry.js +3 -3
- package/dist/esm/ix-drawer.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-button.entry.js +4 -4
- package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-header.entry.js +2 -2
- package/dist/esm/ix-dropdown-header.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-item.entry.js +45 -0
- package/dist/esm/ix-dropdown-item.entry.js.map +1 -0
- package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
- package/dist/esm/ix-dropdown.entry.js +318 -0
- package/dist/esm/ix-dropdown.entry.js.map +1 -0
- package/dist/esm/ix-empty-state.entry.js +2 -2
- package/dist/esm/ix-empty-state.entry.js.map +1 -1
- package/dist/esm/ix-event-list-item.entry.js +38 -0
- package/dist/esm/ix-event-list-item.entry.js.map +1 -0
- package/dist/esm/ix-event-list.entry.js +120 -0
- package/dist/esm/ix-event-list.entry.js.map +1 -0
- package/dist/esm/ix-expanding-search.entry.js +3 -3
- package/dist/esm/ix-expanding-search.entry.js.map +1 -1
- package/dist/esm/ix-filter-chip_2.entry.js +86 -0
- package/dist/esm/ix-filter-chip_2.entry.js.map +1 -0
- package/dist/esm/ix-flip-tile-content.entry.js +18 -0
- package/dist/esm/ix-flip-tile-content.entry.js.map +1 -0
- package/dist/esm/ix-flip-tile.entry.js +85 -0
- package/dist/esm/ix-flip-tile.entry.js.map +1 -0
- package/dist/esm/ix-form-field.entry.js +23 -0
- package/dist/esm/ix-form-field.entry.js.map +1 -0
- package/dist/esm/ix-group-context-menu_2.entry.js +74 -0
- package/dist/esm/ix-group-context-menu_2.entry.js.map +1 -0
- package/dist/esm/ix-group.entry.js +124 -0
- package/dist/esm/ix-group.entry.js.map +1 -0
- package/dist/esm/ix-icon-button_2.entry.js +92 -0
- package/dist/esm/ix-icon-button_2.entry.js.map +1 -0
- package/dist/esm/ix-icon-toggle-button.entry.js +84 -0
- package/dist/esm/ix-icon-toggle-button.entry.js.map +1 -0
- package/dist/esm/ix-icon.entry-5065bd80.js +1485 -0
- package/dist/esm/ix-icon.entry-5065bd80.js.map +1 -0
- package/dist/esm/ix-input-group.entry.js +89 -18
- package/dist/esm/ix-input-group.entry.js.map +1 -1
- package/dist/esm/ix-key-value-list.entry.js +1 -1
- package/dist/esm/ix-key-value.entry.js +1 -1
- package/dist/esm/ix-kpi.entry.js +4 -4
- package/dist/esm/ix-kpi.entry.js.map +1 -1
- package/dist/esm/ix-layout-grid.entry.js +25 -0
- package/dist/esm/ix-layout-grid.entry.js.map +1 -0
- package/dist/esm/ix-link-button.entry.js +3 -3
- package/dist/esm/ix-link-button.entry.js.map +1 -1
- package/dist/esm/ix-map-navigation-overlay.entry.js +58 -0
- package/dist/esm/ix-map-navigation-overlay.entry.js.map +1 -0
- package/dist/esm/ix-map-navigation.entry.js +170 -0
- package/dist/esm/ix-map-navigation.entry.js.map +1 -0
- package/dist/esm/ix-menu-about-item.entry.js +18 -0
- package/dist/esm/ix-menu-about-item.entry.js.map +1 -0
- package/dist/esm/ix-menu-about-news.entry.js +34 -0
- package/dist/esm/ix-menu-about-news.entry.js.map +1 -0
- package/dist/esm/ix-menu-about.entry.js +72 -0
- package/dist/esm/ix-menu-about.entry.js.map +1 -0
- package/dist/esm/ix-menu-avatar.entry.js +29 -0
- package/dist/esm/ix-menu-avatar.entry.js.map +1 -0
- package/dist/esm/ix-menu-category.entry.js +7 -6
- package/dist/esm/ix-menu-category.entry.js.map +1 -1
- package/dist/esm/ix-menu-item.entry.js +68 -0
- package/dist/esm/ix-menu-item.entry.js.map +1 -0
- package/dist/esm/ix-menu-settings-item.entry.js +18 -0
- package/dist/esm/ix-menu-settings-item.entry.js.map +1 -0
- package/dist/esm/ix-menu-settings.entry.js +60 -0
- package/dist/esm/ix-menu-settings.entry.js.map +1 -0
- package/dist/esm/ix-menu.entry.js +440 -0
- package/dist/esm/ix-menu.entry.js.map +1 -0
- package/dist/esm/ix-message-bar.entry.js +3 -3
- package/dist/esm/ix-message-bar.entry.js.map +1 -1
- package/dist/esm/ix-modal-content.entry.js +2 -2
- package/dist/esm/ix-modal-content.entry.js.map +1 -1
- package/dist/esm/ix-modal-example.entry.js +2 -2
- package/dist/esm/ix-modal-example.entry.js.map +1 -1
- package/dist/esm/ix-modal-footer.entry.js +2 -2
- package/dist/esm/ix-modal-footer.entry.js.map +1 -1
- package/dist/esm/ix-modal-header.entry.js +2 -2
- package/dist/esm/ix-modal-header.entry.js.map +1 -1
- package/dist/esm/ix-modal-loading.entry.js +1 -1
- package/dist/esm/ix-modal.entry.js +5 -4
- package/dist/esm/ix-modal.entry.js.map +1 -1
- package/dist/esm/ix-pagination.entry.js +32 -15
- package/dist/esm/ix-pagination.entry.js.map +1 -1
- package/dist/esm/ix-pill.entry.js +2 -2
- package/dist/esm/ix-pill.entry.js.map +1 -1
- package/dist/esm/ix-push-card.entry.js +6 -3
- package/dist/esm/ix-push-card.entry.js.map +1 -1
- package/dist/esm/ix-row.entry.js +17 -0
- package/dist/esm/ix-row.entry.js.map +1 -0
- package/dist/esm/ix-select.entry.js +337 -0
- package/dist/esm/ix-select.entry.js.map +1 -0
- package/dist/esm/ix-slider.entry.js +147 -0
- package/dist/esm/ix-slider.entry.js.map +1 -0
- package/dist/esm/ix-split-button-item.entry.js +24 -0
- package/dist/esm/ix-split-button-item.entry.js.map +1 -0
- package/dist/esm/ix-split-button.entry.js +45 -0
- package/dist/esm/ix-split-button.entry.js.map +1 -0
- package/dist/esm/ix-tab-item_2.entry.js +258 -0
- package/dist/esm/ix-tab-item_2.entry.js.map +1 -0
- package/dist/esm/ix-tile.entry.js +2 -2
- package/dist/esm/ix-tile.entry.js.map +1 -1
- package/dist/esm/ix-toast-container.entry.js +83 -0
- package/dist/esm/ix-toast-container.entry.js.map +1 -0
- package/dist/esm/ix-toast.entry.js +69 -0
- package/dist/esm/ix-toast.entry.js.map +1 -0
- package/dist/esm/ix-toggle-button.entry.js +73 -0
- package/dist/esm/ix-toggle-button.entry.js.map +1 -0
- package/dist/esm/ix-toggle.entry.js +3 -3
- package/dist/esm/ix-toggle.entry.js.map +1 -1
- package/dist/esm/ix-tooltip.entry.js +23 -9
- package/dist/esm/ix-tooltip.entry.js.map +1 -1
- package/dist/esm/ix-tree-item.entry.js +32 -0
- package/dist/esm/ix-tree-item.entry.js.map +1 -0
- package/dist/esm/ix-tree.entry.js +698 -0
- package/dist/esm/ix-tree.entry.js.map +1 -0
- package/dist/esm/ix-typography.entry.js +25 -12
- package/dist/esm/ix-typography.entry.js.map +1 -1
- package/dist/esm/ix-upload.entry.js +2 -2
- package/dist/esm/ix-upload.entry.js.map +1 -1
- package/dist/esm/ix-validation-tooltip.entry.js +8 -8
- package/dist/esm/ix-validation-tooltip.entry.js.map +1 -1
- package/dist/esm/ix-workflow-step.entry.js +93 -0
- package/dist/esm/ix-workflow-step.entry.js.map +1 -0
- package/dist/esm/ix-workflow-steps.entry.js +77 -0
- package/dist/esm/ix-workflow-steps.entry.js.map +1 -0
- package/dist/esm/loader.js +5 -3
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/menu-service-5555b4fa.js +156 -0
- package/dist/esm/menu-service-5555b4fa.js.map +1 -0
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/my-component.entry.js.map +1 -1
- package/dist/esm/shadow-dom-b9df3d9b.js +21 -0
- package/dist/esm/shadow-dom-b9df3d9b.js.map +1 -0
- package/dist/esm/siemens-ix.js +5 -3
- package/dist/esm/siemens-ix.js.map +1 -1
- package/dist/esm/theme-switcher-9ede3823.js +123 -0
- package/dist/esm/theme-switcher-9ede3823.js.map +1 -0
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/index.esm.js.map +1 -1
- package/dist/siemens-ix/p-00df4a8c.js +2 -0
- package/dist/siemens-ix/p-00df4a8c.js.map +1 -0
- package/dist/siemens-ix/p-0169cf74.entry.js +2 -0
- package/dist/siemens-ix/p-0169cf74.entry.js.map +1 -0
- package/dist/siemens-ix/p-04eeba9e.js +2 -0
- package/dist/siemens-ix/p-04eeba9e.js.map +1 -0
- package/dist/siemens-ix/p-05e9397f.entry.js +2 -0
- package/dist/siemens-ix/p-05e9397f.entry.js.map +1 -0
- package/dist/siemens-ix/p-0e2045b9.entry.js +2 -0
- package/dist/siemens-ix/p-0e2045b9.entry.js.map +1 -0
- package/dist/siemens-ix/p-0ebc6c4d.entry.js +2 -0
- package/dist/siemens-ix/p-0ebc6c4d.entry.js.map +1 -0
- package/dist/siemens-ix/p-0fd2388f.entry.js +2 -0
- package/dist/siemens-ix/p-0fd2388f.entry.js.map +1 -0
- package/dist/siemens-ix/p-124d83b5.entry.js +2 -0
- package/dist/siemens-ix/p-124d83b5.entry.js.map +1 -0
- package/dist/siemens-ix/p-129b6290.entry.js +2 -0
- package/dist/siemens-ix/p-129b6290.entry.js.map +1 -0
- package/dist/siemens-ix/p-167c037c.entry.js +2 -0
- package/dist/siemens-ix/p-167c037c.entry.js.map +1 -0
- package/dist/siemens-ix/p-1b9b19e6.js +2 -0
- package/dist/siemens-ix/p-1b9b19e6.js.map +1 -0
- package/dist/siemens-ix/p-20e12c7e.js +2 -0
- package/dist/siemens-ix/p-20e12c7e.js.map +1 -0
- package/dist/siemens-ix/p-26855b3f.entry.js +2 -0
- package/dist/siemens-ix/p-2baebeee.entry.js +2 -0
- package/dist/siemens-ix/p-2baebeee.entry.js.map +1 -0
- package/dist/siemens-ix/p-2e75f0e4.entry.js +2 -0
- package/dist/siemens-ix/p-2e75f0e4.entry.js.map +1 -0
- package/dist/siemens-ix/p-3103917f.entry.js +2 -0
- package/dist/siemens-ix/p-3103917f.entry.js.map +1 -0
- package/dist/siemens-ix/p-314f344d.entry.js +2 -0
- package/dist/siemens-ix/p-314f344d.entry.js.map +1 -0
- package/dist/siemens-ix/p-3ab30153.entry.js +2 -0
- package/dist/siemens-ix/p-3ab30153.entry.js.map +1 -0
- package/dist/siemens-ix/p-3e7b4990.js +2 -0
- package/dist/siemens-ix/p-43497703.entry.js +2 -0
- package/dist/siemens-ix/p-43497703.entry.js.map +1 -0
- package/dist/siemens-ix/p-4659c550.entry.js +2 -0
- package/dist/siemens-ix/p-4796a3ae.entry.js +2 -0
- package/dist/siemens-ix/p-4796a3ae.entry.js.map +1 -0
- package/dist/siemens-ix/p-4968df15.entry.js +2 -0
- package/dist/siemens-ix/p-4968df15.entry.js.map +1 -0
- package/dist/siemens-ix/p-49b9f9f5.entry.js +2 -0
- package/dist/siemens-ix/p-49b9f9f5.entry.js.map +1 -0
- package/dist/siemens-ix/p-4dbae019.entry.js +2 -0
- package/dist/siemens-ix/p-5056c8a9.entry.js +2 -0
- package/dist/siemens-ix/p-5056c8a9.entry.js.map +1 -0
- package/dist/siemens-ix/p-5285864c.entry.js +2 -0
- package/dist/siemens-ix/p-5285864c.entry.js.map +1 -0
- package/dist/siemens-ix/p-5516480a.entry.js +2 -0
- package/dist/siemens-ix/p-5516480a.entry.js.map +1 -0
- package/dist/siemens-ix/p-57fd45e2.entry.js +2 -0
- package/dist/siemens-ix/p-57fd45e2.entry.js.map +1 -0
- package/dist/siemens-ix/p-5a5e155c.entry.js +2 -0
- package/dist/siemens-ix/p-5a5e155c.entry.js.map +1 -0
- package/dist/siemens-ix/p-5d132cc5.entry.js +2 -0
- package/dist/siemens-ix/p-5d132cc5.entry.js.map +1 -0
- package/dist/siemens-ix/p-5d17102b.entry.js +2 -0
- package/dist/siemens-ix/p-5d17102b.entry.js.map +1 -0
- package/dist/siemens-ix/p-5d172daa.js +2 -0
- package/dist/siemens-ix/p-5d172daa.js.map +1 -0
- package/dist/siemens-ix/p-5d43cae8.js +22 -0
- package/dist/siemens-ix/p-5d43cae8.js.map +1 -0
- package/dist/siemens-ix/p-61ffc6e1.entry.js +2 -0
- package/dist/siemens-ix/p-61ffc6e1.entry.js.map +1 -0
- package/dist/siemens-ix/p-62fb5c19.entry.js +2 -0
- package/dist/siemens-ix/p-62fb5c19.entry.js.map +1 -0
- package/dist/siemens-ix/p-634da7f2.entry.js +2 -0
- package/dist/siemens-ix/p-634da7f2.entry.js.map +1 -0
- package/dist/siemens-ix/p-6370a04a.entry.js +2 -0
- package/dist/siemens-ix/p-6370a04a.entry.js.map +1 -0
- package/dist/siemens-ix/p-655d177c.entry.js +2 -0
- package/dist/siemens-ix/p-655d177c.entry.js.map +1 -0
- package/dist/siemens-ix/p-66d7fbd9.entry.js +2 -0
- package/dist/siemens-ix/p-66d7fbd9.entry.js.map +1 -0
- package/dist/siemens-ix/p-6ae65cac.entry.js +2 -0
- package/dist/siemens-ix/p-6ae65cac.entry.js.map +1 -0
- package/dist/siemens-ix/p-737fca1b.entry.js +2 -0
- package/dist/siemens-ix/p-737fca1b.entry.js.map +1 -0
- package/dist/siemens-ix/p-74a7d191.entry.js +2 -0
- package/dist/siemens-ix/p-74a7d191.entry.js.map +1 -0
- package/dist/siemens-ix/p-76a509c7.js +3 -0
- package/dist/siemens-ix/p-76a509c7.js.map +1 -0
- package/dist/siemens-ix/p-7712c4a9.entry.js +2 -0
- package/dist/siemens-ix/p-7712c4a9.entry.js.map +1 -0
- package/dist/siemens-ix/p-774eca79.entry.js +2 -0
- package/dist/siemens-ix/p-774eca79.entry.js.map +1 -0
- package/dist/siemens-ix/p-77b14ca1.entry.js +2 -0
- package/dist/siemens-ix/p-77b14ca1.entry.js.map +1 -0
- package/dist/siemens-ix/p-7865aa63.entry.js +2 -0
- package/dist/siemens-ix/p-7865aa63.entry.js.map +1 -0
- package/dist/siemens-ix/p-78c9489b.js +2 -0
- package/dist/siemens-ix/p-78c9489b.js.map +1 -0
- package/dist/siemens-ix/p-794769ed.entry.js +2 -0
- package/dist/siemens-ix/p-794769ed.entry.js.map +1 -0
- package/dist/siemens-ix/p-7a884056.entry.js +2 -0
- package/dist/siemens-ix/p-7a884056.entry.js.map +1 -0
- package/dist/siemens-ix/p-7b362f58.entry.js +2 -0
- package/dist/siemens-ix/p-7b362f58.entry.js.map +1 -0
- package/dist/siemens-ix/p-80871c9a.entry.js +2 -0
- package/dist/siemens-ix/p-80871c9a.entry.js.map +1 -0
- package/dist/siemens-ix/p-812b01d1.js +2 -0
- package/dist/siemens-ix/p-812b01d1.js.map +1 -0
- package/dist/siemens-ix/p-847da072.entry.js +2 -0
- package/dist/siemens-ix/p-847da072.entry.js.map +1 -0
- package/dist/siemens-ix/p-85f39bd4.js +2 -0
- package/dist/siemens-ix/p-85f39bd4.js.map +1 -0
- package/dist/siemens-ix/p-8952f1cd.entry.js +2 -0
- package/dist/siemens-ix/p-8952f1cd.entry.js.map +1 -0
- package/dist/siemens-ix/p-8c5f7419.entry.js +2 -0
- package/dist/siemens-ix/p-8c5f7419.entry.js.map +1 -0
- package/dist/siemens-ix/p-8fdf4407.entry.js +2 -0
- package/dist/siemens-ix/p-8fdf4407.entry.js.map +1 -0
- package/dist/siemens-ix/p-90efad65.entry.js +2 -0
- package/dist/siemens-ix/p-90efad65.entry.js.map +1 -0
- package/dist/siemens-ix/p-9848e4de.entry.js +2 -0
- package/dist/siemens-ix/p-9848e4de.entry.js.map +1 -0
- package/dist/siemens-ix/p-9a05ac00.js +2 -0
- package/dist/siemens-ix/p-9a05ac00.js.map +1 -0
- package/dist/siemens-ix/p-9cd93c03.js +2 -0
- package/dist/siemens-ix/p-9cd93c03.js.map +1 -0
- package/dist/siemens-ix/p-9e0af149.entry.js +2 -0
- package/dist/siemens-ix/p-9e0af149.entry.js.map +1 -0
- package/dist/siemens-ix/p-ab452b82.js +2 -0
- package/dist/siemens-ix/p-ab452b82.js.map +1 -0
- package/dist/siemens-ix/p-ada4a328.entry.js +2 -0
- package/dist/siemens-ix/p-ada4a328.entry.js.map +1 -0
- package/dist/siemens-ix/p-aef14f96.entry.js +2 -0
- package/dist/siemens-ix/p-aef14f96.entry.js.map +1 -0
- package/dist/siemens-ix/p-b007e4b4.entry.js +2 -0
- package/dist/siemens-ix/p-b007e4b4.entry.js.map +1 -0
- package/dist/siemens-ix/p-b0a1930d.entry.js +2 -0
- package/dist/siemens-ix/p-b0a1930d.entry.js.map +1 -0
- package/dist/siemens-ix/p-b25c770f.entry.js +2 -0
- package/dist/siemens-ix/p-b25c770f.entry.js.map +1 -0
- package/dist/siemens-ix/p-b49627fa.js +4 -0
- package/dist/siemens-ix/p-b49627fa.js.map +1 -0
- package/dist/siemens-ix/p-b53bed3a.entry.js +2 -0
- package/dist/siemens-ix/p-b53bed3a.entry.js.map +1 -0
- package/dist/siemens-ix/p-b6d40648.entry.js +2 -0
- package/dist/siemens-ix/p-b6d40648.entry.js.map +1 -0
- package/dist/siemens-ix/p-b735ee5e.entry.js +2 -0
- package/dist/siemens-ix/p-b803c716.entry.js +2 -0
- package/dist/siemens-ix/p-b803c716.entry.js.map +1 -0
- package/dist/siemens-ix/p-b94ab301.entry.js +2 -0
- package/dist/siemens-ix/p-b94ab301.entry.js.map +1 -0
- package/dist/siemens-ix/p-bc811c4b.js +2 -0
- package/dist/siemens-ix/p-bc811c4b.js.map +1 -0
- package/dist/siemens-ix/p-c4216f17.entry.js +2 -0
- package/dist/siemens-ix/p-c4216f17.entry.js.map +1 -0
- package/dist/siemens-ix/p-c7d24831.entry.js +2 -0
- package/dist/siemens-ix/p-c7d24831.entry.js.map +1 -0
- package/dist/siemens-ix/p-cd0e77f1.entry.js +2 -0
- package/dist/siemens-ix/p-cd0e77f1.entry.js.map +1 -0
- package/dist/siemens-ix/p-cd1e0061.entry.js +2 -0
- package/dist/siemens-ix/p-cd1e0061.entry.js.map +1 -0
- package/dist/siemens-ix/p-ce0a7c1a.entry.js +2 -0
- package/dist/siemens-ix/p-ce0a7c1a.entry.js.map +1 -0
- package/dist/siemens-ix/p-d16a4670.entry.js +2 -0
- package/dist/siemens-ix/p-d16a4670.entry.js.map +1 -0
- package/dist/siemens-ix/p-d214f57a.entry.js +2 -0
- package/dist/siemens-ix/p-d214f57a.entry.js.map +1 -0
- package/dist/siemens-ix/p-d29bcf75.entry.js +2 -0
- package/dist/siemens-ix/p-d29bcf75.entry.js.map +1 -0
- package/dist/siemens-ix/p-d78cd3f4.entry.js +2 -0
- package/dist/siemens-ix/p-d78cd3f4.entry.js.map +1 -0
- package/dist/siemens-ix/p-d7e974a8.entry.js +2 -0
- package/dist/siemens-ix/p-d7e974a8.entry.js.map +1 -0
- package/dist/siemens-ix/p-d87de06f.entry.js +2 -0
- package/dist/siemens-ix/p-d87de06f.entry.js.map +1 -0
- package/dist/siemens-ix/p-d9c99b88.entry.js +2 -0
- package/dist/siemens-ix/p-d9c99b88.entry.js.map +1 -0
- package/dist/siemens-ix/p-da133606.entry.js +2 -0
- package/dist/siemens-ix/p-da133606.entry.js.map +1 -0
- package/dist/siemens-ix/p-dcb957d8.entry.js +2 -0
- package/dist/siemens-ix/p-dcb957d8.entry.js.map +1 -0
- package/dist/siemens-ix/p-dd2fb887.entry.js +2 -0
- package/dist/siemens-ix/p-dd2fb887.entry.js.map +1 -0
- package/dist/siemens-ix/p-e2c200f3.entry.js +2 -0
- package/dist/siemens-ix/p-e2c200f3.entry.js.map +1 -0
- package/dist/siemens-ix/p-e5beabf4.entry.js +2 -0
- package/dist/siemens-ix/p-e5beabf4.entry.js.map +1 -0
- package/dist/siemens-ix/p-e610b2b8.entry.js +2 -0
- package/dist/siemens-ix/p-e610b2b8.entry.js.map +1 -0
- package/dist/siemens-ix/p-eb29049a.entry.js +2 -0
- package/dist/siemens-ix/p-eb29049a.entry.js.map +1 -0
- package/dist/siemens-ix/p-ebeef6fd.entry.js +2 -0
- package/dist/siemens-ix/p-ebeef6fd.entry.js.map +1 -0
- package/dist/siemens-ix/p-f63b47c1.entry.js +2 -0
- package/dist/siemens-ix/p-f63b47c1.entry.js.map +1 -0
- package/dist/siemens-ix/p-f7b95fd7.entry.js +2 -0
- package/dist/siemens-ix/p-f7b95fd7.entry.js.map +1 -0
- package/dist/siemens-ix/p-f88b25d7.entry.js +2 -0
- package/dist/siemens-ix/p-f97f2394.entry.js +2 -0
- package/dist/siemens-ix/p-f97f2394.entry.js.map +1 -0
- package/dist/siemens-ix/p-fa0d5f4e.entry.js +2 -0
- package/dist/siemens-ix/p-fa0d5f4e.entry.js.map +1 -0
- package/dist/siemens-ix/p-fba61526.entry.js +2 -0
- package/dist/siemens-ix/p-fba61526.entry.js.map +1 -0
- package/dist/siemens-ix/p-fd08b7ad.entry.js +2 -0
- package/dist/siemens-ix/p-fd08b7ad.entry.js.map +1 -0
- package/dist/siemens-ix/p-fd6006d2.entry.js +2 -0
- package/dist/siemens-ix/p-fd6006d2.entry.js.map +1 -0
- package/dist/siemens-ix/p-feb80449.entry.js +2 -0
- package/dist/siemens-ix/p-feb80449.entry.js.map +1 -0
- package/dist/siemens-ix/siemens-ix-core.css +1 -12289
- package/dist/siemens-ix/siemens-ix.css +8500 -11723
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
- package/dist/siemens-ix/theme/classic-dark.css +1 -1062
- package/dist/siemens-ix/theme/classic-light.css +1 -1062
- package/dist/siemens-ix/theme/legacy-classic-dark.css +1 -1061
- package/dist/siemens-ix/theme/legacy-classic-light.css +1 -1061
- package/dist/types/components/application/application.d.ts +36 -0
- package/dist/types/components/application-header/application-header.d.ts +2 -5
- package/dist/types/components/application-header/test/application-headet.ct.d.ts +1 -0
- package/dist/types/components/application-sidebar/application-sidebar.d.ts +7 -0
- package/dist/types/components/application-sidebar/events.d.ts +4 -0
- package/dist/types/components/basic-navigation/basic-navigation.d.ts +14 -2
- package/dist/types/components/blind/blind.d.ts +13 -1
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +15 -14
- package/dist/types/components/breadcrumb/test/breadcrumb.ct.d.ts +1 -0
- package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +15 -0
- package/dist/types/components/button/base-button.d.ts +25 -0
- package/dist/types/components/button/button.d.ts +4 -10
- package/dist/types/components/card/card.d.ts +1 -1
- package/dist/types/components/category-filter/category-filter.d.ts +12 -5
- package/dist/types/components/chip/chip.d.ts +1 -7
- package/dist/types/components/col/col.d.ts +31 -0
- package/dist/types/components/content/content.d.ts +7 -0
- package/dist/types/components/dropdown/dropdown.d.ts +4 -2
- package/dist/types/components/dropdown/test/dropdown.ct.d.ts +1 -0
- package/dist/types/components/dropdown-button/dropdown-button.d.ts +7 -5
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -9
- package/dist/types/components/event-list-item/event-list-item.d.ts +0 -7
- package/dist/types/components/filter-chip/filter-chip.d.ts +5 -0
- package/dist/types/components/flip-tile/flip-tile.d.ts +9 -11
- package/dist/types/components/flip-tile/test/flip-tile.ct.d.ts +1 -0
- package/dist/types/components/flip-tile-content/flip-tile-content.d.ts +6 -0
- package/dist/types/components/form-field/form-field.d.ts +10 -0
- package/dist/types/components/grid/layout-grid.d.ts +18 -0
- package/dist/types/components/icon-button/base-icon-button.d.ts +2 -0
- package/dist/types/components/icon-button/icon-button.d.ts +2 -13
- package/dist/types/components/icon-toggle-button/icon-toggle-button.d.ts +54 -0
- package/dist/types/components/input-group/input-group.d.ts +11 -1
- package/dist/types/components/map-navigation/map-navigation.d.ts +1 -0
- package/dist/types/components/menu/menu.d.ts +9 -14
- package/dist/types/components/menu-item/menu-item.d.ts +3 -1
- package/dist/types/components/modal/modal.d.ts +1 -1
- package/dist/types/components/pagination/pagination.d.ts +1 -1
- package/dist/types/components/pagination/test/pagination.ct.d.ts +1 -0
- package/dist/types/components/row/row.d.ts +6 -0
- package/dist/types/components/select/select.d.ts +24 -8
- package/dist/types/components/slider/slider.d.ts +70 -0
- package/dist/types/components/slider/test/slider.ct.d.ts +1 -0
- package/dist/types/components/split-button/split-button.d.ts +0 -1
- package/dist/types/components/split-button-item/split-button-item.d.ts +3 -0
- package/dist/types/components/tab-item/tab-item.d.ts +10 -0
- package/dist/types/components/tabs/tabs.d.ts +9 -0
- package/dist/types/components/tabs/test/tabs.ct.d.ts +1 -0
- package/dist/types/components/toggle-button/toggle-button.d.ts +48 -0
- package/dist/types/components/tooltip/tooltip.d.ts +8 -2
- package/dist/types/components/tree/test/tree.ct.d.ts +1 -0
- package/dist/types/components/tree/tree.d.ts +2 -1
- package/dist/types/components/typography/typography.d.ts +24 -1
- package/dist/types/components/utils/a11y.d.ts +1 -1
- package/dist/types/components/utils/application-layout/context.d.ts +6 -0
- package/dist/types/components/utils/application-layout/index.d.ts +1 -0
- package/dist/types/components/utils/application-layout/service.d.ts +16 -0
- package/dist/types/components/utils/breakpoints.d.ts +8 -0
- package/dist/types/components/utils/context.d.ts +57 -0
- package/dist/types/components/utils/shadow-dom.d.ts +2 -1
- package/dist/types/components/utils/theme-switcher.d.ts +10 -3
- package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +1 -1
- package/dist/types/components/workflow-step/workflow-step.d.ts +1 -2
- package/dist/types/components/workflow-steps/test/workflow-steps.ct.d.ts +1 -0
- package/dist/types/components/workflow-steps/workflow-steps.d.ts +0 -5
- package/dist/types/components.d.ts +695 -202
- package/dist/types/index.d.ts +0 -1
- package/dist/types/setup.d.ts +1 -0
- package/dist/types/tests/utils/test/index.d.ts +14 -0
- package/package.json +11 -7
- package/scss/_core.scss +67 -0
- package/scss/components/_checkboxes.scss +9 -3
- package/scss/components/_fonts.scss +131 -0
- package/scss/components/_radiobuttons.scss +1 -1
- package/scss/components/_table.scss +1 -1
- package/scss/components/form/_input.scss +171 -0
- package/scss/ix-core.scss +2 -75
- package/scss/ix.scss +3 -74
- package/scss/legacy/_fonts.scss +70 -0
- package/scss/legacy/components/_buttons.scss +181 -0
- package/scss/legacy/components/_dropdown.scss +170 -0
- package/scss/legacy/components/_forms.scss +167 -0
- package/scss/legacy/components/_modal.scss +41 -0
- package/scss/legacy/mixins/_fonts.scss +166 -0
- package/scss/mixins/_break-points.scss +49 -0
- package/scss/mixins/_fonts.scss +149 -105
- package/scss/mixins/_hover.scss +3 -1
- package/scss/mixins/_scrollbar.scss +44 -0
- package/scss/mixins/shadow-dom/_component.scss +4 -0
- package/scss/theme/classic-dark/_boxShadow.scss +5 -5
- package/scss/theme/classic-dark/_fontFamilies.scss +2 -1
- package/scss/theme/classic-dark/_fontSizes.scss +11 -0
- package/scss/theme/classic-dark/_fontWeights.scss +2 -1
- package/scss/theme/classic-dark/_index.scss +7 -0
- package/scss/theme/classic-dark/_letterSpacing.scss +13 -0
- package/scss/theme/classic-dark/_lineHeights.scss +4 -1
- package/scss/theme/classic-dark/_sizing.scss +12 -0
- package/scss/theme/classic-dark/_spacing.scss +12 -0
- package/scss/theme/classic-dark/_typography.scss +39 -16
- package/scss/theme/classic-light/_boxShadow.scss +5 -5
- package/scss/theme/classic-light/_fontFamilies.scss +2 -1
- package/scss/theme/classic-light/_fontSizes.scss +11 -0
- package/scss/theme/classic-light/_fontWeights.scss +2 -1
- package/scss/theme/classic-light/_index.scss +7 -0
- package/scss/theme/classic-light/_letterSpacing.scss +13 -0
- package/scss/theme/classic-light/_lineHeights.scss +4 -1
- package/scss/theme/classic-light/_sizing.scss +12 -0
- package/scss/theme/classic-light/_spacing.scss +12 -0
- package/scss/theme/classic-light/_typography.scss +39 -16
- package/scss/theme/legacy-classic-dark/_fontFamilies.scss +2 -1
- package/scss/theme/legacy-classic-dark/_fontSizes.scss +11 -0
- package/scss/theme/legacy-classic-dark/_fontWeights.scss +2 -1
- package/scss/theme/legacy-classic-dark/_index.scss +7 -0
- package/scss/theme/legacy-classic-dark/_letterSpacing.scss +13 -0
- package/scss/theme/legacy-classic-dark/_lineHeights.scss +4 -1
- package/scss/theme/legacy-classic-dark/_sizing.scss +12 -0
- package/scss/theme/legacy-classic-dark/_spacing.scss +12 -0
- package/scss/theme/legacy-classic-dark/_typography.scss +39 -16
- package/scss/theme/legacy-classic-light/_fontFamilies.scss +2 -1
- package/scss/theme/legacy-classic-light/_fontSizes.scss +11 -0
- package/scss/theme/legacy-classic-light/_fontWeights.scss +2 -1
- package/scss/theme/legacy-classic-light/_index.scss +7 -0
- package/scss/theme/legacy-classic-light/_letterSpacing.scss +13 -0
- package/scss/theme/legacy-classic-light/_lineHeights.scss +4 -1
- package/scss/theme/legacy-classic-light/_sizing.scss +12 -0
- package/scss/theme/legacy-classic-light/_spacing.scss +12 -0
- package/scss/theme/legacy-classic-light/_typography.scss +39 -16
- package/dist/cjs/_commonjsHelpers-1a0c346f.js +0 -25
- package/dist/cjs/_commonjsHelpers-1a0c346f.js.map +0 -1
- package/dist/cjs/a11y-fa9abd92.js +0 -82
- package/dist/cjs/a11y-fa9abd92.js.map +0 -1
- package/dist/cjs/base-button-497db257.js +0 -35
- package/dist/cjs/base-button-497db257.js.map +0 -1
- package/dist/cjs/context-2ce9a350.js +0 -26
- package/dist/cjs/context-2ce9a350.js.map +0 -1
- package/dist/cjs/floating-ui.dom.esm-b79b633f.js +0 -1400
- package/dist/cjs/floating-ui.dom.esm-b79b633f.js.map +0 -1
- package/dist/cjs/icon-eeb2940a.js +0 -114
- package/dist/cjs/icon-eeb2940a.js.map +0 -1
- package/dist/cjs/index-e56a1d39.js +0 -2640
- package/dist/cjs/index-e56a1d39.js.map +0 -1
- package/dist/cjs/ix-animated-tab_2.cjs.entry.js +0 -214
- package/dist/cjs/ix-animated-tab_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-avatar.cjs.entry.js +0 -39
- package/dist/cjs/ix-avatar.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +0 -156
- package/dist/cjs/ix-breadcrumb_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +0 -361
- package/dist/cjs/ix-dropdown_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-event-list_2.cjs.entry.js +0 -159
- package/dist/cjs/ix-event-list_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-filter-chip.cjs.entry.js +0 -29
- package/dist/cjs/ix-filter-chip.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js +0 -93
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-group-context-menu.cjs.entry.js +0 -48
- package/dist/cjs/ix-group-context-menu.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-group_2.cjs.entry.js +0 -159
- package/dist/cjs/ix-group_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-icon-button.cjs.entry.js +0 -64
- package/dist/cjs/ix-icon-button.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-icon.cjs.entry.js +0 -12
- package/dist/cjs/ix-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-index-button.cjs.entry.js +0 -28
- package/dist/cjs/ix-index-button.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js +0 -219
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-menu_9.cjs.entry.js +0 -706
- package/dist/cjs/ix-menu_9.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-select_2.cjs.entry.js +0 -370
- package/dist/cjs/ix-select_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-spinner.cjs.entry.js +0 -33
- package/dist/cjs/ix-spinner.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-split-button_2.cjs.entry.js +0 -70
- package/dist/cjs/ix-split-button_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-tab-item.cjs.entry.js +0 -59
- package/dist/cjs/ix-tab-item.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-tabs.cjs.entry.js +0 -189
- package/dist/cjs/ix-tabs.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-toast_2.cjs.entry.js +0 -143
- package/dist/cjs/ix-toast_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-tree_2.cjs.entry.js +0 -723
- package/dist/cjs/ix-tree_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-workflow-step_2.cjs.entry.js +0 -174
- package/dist/cjs/ix-workflow-step_2.cjs.entry.js.map +0 -1
- package/dist/cjs/menu-service-d1b87142.js +0 -80
- package/dist/cjs/menu-service-d1b87142.js.map +0 -1
- package/dist/cjs/service-0e27b06b.js +0 -145
- package/dist/cjs/service-0e27b06b.js.map +0 -1
- package/dist/cjs/shadow-dom-f9b90696.js +0 -21
- package/dist/cjs/shadow-dom-f9b90696.js.map +0 -1
- package/dist/cjs/theme-switcher-bdbd0d30.js +0 -94
- package/dist/cjs/theme-switcher-bdbd0d30.js.map +0 -1
- package/dist/collection/components/animated-tab/animated-tab.css +0 -14
- package/dist/collection/components/animated-tab/animated-tab.js +0 -69
- package/dist/collection/components/animated-tab/animated-tab.js.map +0 -1
- package/dist/collection/components/animated-tabs/animated-tabs.css +0 -158
- package/dist/collection/components/animated-tabs/animated-tabs.js +0 -303
- package/dist/collection/components/animated-tabs/animated-tabs.js.map +0 -1
- package/dist/collection/components/index-button/index-button.css +0 -31
- package/dist/collection/components/index-button/index-button.js +0 -83
- package/dist/collection/components/index-button/index-button.js.map +0 -1
- package/dist/collection/components/layout/css-grid/builder.js.map +0 -1
- package/dist/collection/components/layout/css-grid/css-grid-item.js.map +0 -1
- package/dist/collection/components/layout/css-grid/css-grid.js +0 -123
- package/dist/collection/components/layout/css-grid/css-grid.js.map +0 -1
- package/dist/collection/components/utils/screen/context.js +0 -34
- package/dist/collection/components/utils/screen/context.js.map +0 -1
- package/dist/collection/components/utils/screen/index.js +0 -10
- package/dist/collection/components/utils/screen/index.js.map +0 -1
- package/dist/collection/components/utils/screen/mode.js +0 -85
- package/dist/collection/components/utils/screen/mode.js.map +0 -1
- package/dist/collection/components/utils/screen/service.js +0 -68
- package/dist/collection/components/utils/screen/service.js.map +0 -1
- package/dist/components/_commonjsHelpers.js +0 -21
- package/dist/components/_commonjsHelpers.js.map +0 -1
- package/dist/components/a11y.js +0 -79
- package/dist/components/a11y.js.map +0 -1
- package/dist/components/animation.js +0 -19
- package/dist/components/animation.js.map +0 -1
- package/dist/components/anime.es.js +0 -1311
- package/dist/components/anime.es.js.map +0 -1
- package/dist/components/application-header.js +0 -97
- package/dist/components/application-header.js.map +0 -1
- package/dist/components/avatar.js +0 -53
- package/dist/components/avatar.js.map +0 -1
- package/dist/components/base-button.js +0 -33
- package/dist/components/base-button.js.map +0 -1
- package/dist/components/burger-menu.js +0 -61
- package/dist/components/burger-menu.js.map +0 -1
- package/dist/components/button.js +0 -82
- package/dist/components/button.js.map +0 -1
- package/dist/components/card-accordion.js +0 -80
- package/dist/components/card-accordion.js.map +0 -1
- package/dist/components/card-content.js +0 -32
- package/dist/components/card-content.js.map +0 -1
- package/dist/components/card-title.js +0 -32
- package/dist/components/card-title.js.map +0 -1
- package/dist/components/card.js +0 -36
- package/dist/components/card.js.map +0 -1
- package/dist/components/context.js +0 -22
- package/dist/components/context.js.map +0 -1
- package/dist/components/date-picker.js +0 -378
- package/dist/components/date-picker.js.map +0 -1
- package/dist/components/date-time-card.js +0 -45
- package/dist/components/date-time-card.js.map +0 -1
- package/dist/components/default-tree-item.js +0 -22
- package/dist/components/default-tree-item.js.map +0 -1
- package/dist/components/divider.js +0 -32
- package/dist/components/divider.js.map +0 -1
- package/dist/components/dropdown-item.js +0 -78
- package/dist/components/dropdown-item.js.map +0 -1
- package/dist/components/dropdown.js +0 -341
- package/dist/components/dropdown.js.map +0 -1
- package/dist/components/filter-chip.js +0 -60
- package/dist/components/filter-chip.js.map +0 -1
- package/dist/components/flip-tile-state.js +0 -20
- package/dist/components/flip-tile-state.js.map +0 -1
- package/dist/components/floating-ui.dom.esm.js +0 -1392
- package/dist/components/floating-ui.dom.esm.js.map +0 -1
- package/dist/components/group-context-menu.js +0 -93
- package/dist/components/group-context-menu.js.map +0 -1
- package/dist/components/group-item.js +0 -64
- package/dist/components/group-item.js.map +0 -1
- package/dist/components/icon-button.js +0 -100
- package/dist/components/icon-button.js.map +0 -1
- package/dist/components/icon.js +0 -133
- package/dist/components/icon.js.map +0 -1
- package/dist/components/index-button.js +0 -41
- package/dist/components/index-button.js.map +0 -1
- package/dist/components/index.d.ts +0 -27
- package/dist/components/index.js +0 -101
- package/dist/components/index.js.map +0 -1
- package/dist/components/ix-action-card.d.ts +0 -11
- package/dist/components/ix-action-card.js +0 -72
- package/dist/components/ix-action-card.js.map +0 -1
- package/dist/components/ix-animated-tab.d.ts +0 -11
- package/dist/components/ix-animated-tab.js +0 -39
- package/dist/components/ix-animated-tab.js.map +0 -1
- package/dist/components/ix-animated-tabs.d.ts +0 -11
- package/dist/components/ix-animated-tabs.js +0 -224
- package/dist/components/ix-animated-tabs.js.map +0 -1
- package/dist/components/ix-application-header.d.ts +0 -11
- package/dist/components/ix-application-header.js +0 -8
- package/dist/components/ix-application-header.js.map +0 -1
- package/dist/components/ix-avatar.d.ts +0 -11
- package/dist/components/ix-avatar.js +0 -8
- package/dist/components/ix-avatar.js.map +0 -1
- package/dist/components/ix-basic-navigation.d.ts +0 -11
- package/dist/components/ix-basic-navigation.js +0 -103
- package/dist/components/ix-basic-navigation.js.map +0 -1
- package/dist/components/ix-blind.d.ts +0 -11
- package/dist/components/ix-blind.js +0 -117
- package/dist/components/ix-blind.js.map +0 -1
- package/dist/components/ix-breadcrumb-item.d.ts +0 -11
- package/dist/components/ix-breadcrumb-item.js +0 -39
- package/dist/components/ix-breadcrumb-item.js.map +0 -1
- package/dist/components/ix-breadcrumb.d.ts +0 -11
- package/dist/components/ix-breadcrumb.js +0 -179
- package/dist/components/ix-breadcrumb.js.map +0 -1
- package/dist/components/ix-burger-menu.d.ts +0 -11
- package/dist/components/ix-burger-menu.js +0 -8
- package/dist/components/ix-burger-menu.js.map +0 -1
- package/dist/components/ix-button.d.ts +0 -11
- package/dist/components/ix-button.js +0 -8
- package/dist/components/ix-button.js.map +0 -1
- package/dist/components/ix-card-accordion.d.ts +0 -11
- package/dist/components/ix-card-accordion.js +0 -8
- package/dist/components/ix-card-accordion.js.map +0 -1
- package/dist/components/ix-card-content.d.ts +0 -11
- package/dist/components/ix-card-content.js +0 -8
- package/dist/components/ix-card-content.js.map +0 -1
- package/dist/components/ix-card-list.d.ts +0 -11
- package/dist/components/ix-card-list.js +0 -234
- package/dist/components/ix-card-list.js.map +0 -1
- package/dist/components/ix-card-title.d.ts +0 -11
- package/dist/components/ix-card-title.js +0 -8
- package/dist/components/ix-card-title.js.map +0 -1
- package/dist/components/ix-card.d.ts +0 -11
- package/dist/components/ix-card.js +0 -8
- package/dist/components/ix-card.js.map +0 -1
- package/dist/components/ix-category-filter.d.ts +0 -11
- package/dist/components/ix-category-filter.js +0 -435
- package/dist/components/ix-category-filter.js.map +0 -1
- package/dist/components/ix-chip.d.ts +0 -11
- package/dist/components/ix-chip.js +0 -106
- package/dist/components/ix-chip.js.map +0 -1
- package/dist/components/ix-content-header.d.ts +0 -11
- package/dist/components/ix-content-header.js +0 -69
- package/dist/components/ix-content-header.js.map +0 -1
- package/dist/components/ix-css-grid-item.d.ts +0 -11
- package/dist/components/ix-css-grid-item.js +0 -40
- package/dist/components/ix-css-grid-item.js.map +0 -1
- package/dist/components/ix-css-grid.d.ts +0 -11
- package/dist/components/ix-css-grid.js +0 -113
- package/dist/components/ix-css-grid.js.map +0 -1
- package/dist/components/ix-date-picker.d.ts +0 -11
- package/dist/components/ix-date-picker.js +0 -8
- package/dist/components/ix-date-picker.js.map +0 -1
- package/dist/components/ix-date-time-card.d.ts +0 -11
- package/dist/components/ix-date-time-card.js +0 -8
- package/dist/components/ix-date-time-card.js.map +0 -1
- package/dist/components/ix-datetime-picker.d.ts +0 -11
- package/dist/components/ix-datetime-picker.js +0 -149
- package/dist/components/ix-datetime-picker.js.map +0 -1
- package/dist/components/ix-divider.d.ts +0 -11
- package/dist/components/ix-divider.js +0 -8
- package/dist/components/ix-divider.js.map +0 -1
- package/dist/components/ix-drawer.d.ts +0 -11
- package/dist/components/ix-drawer.js +0 -151
- package/dist/components/ix-drawer.js.map +0 -1
- package/dist/components/ix-dropdown-button.d.ts +0 -11
- package/dist/components/ix-dropdown-button.js +0 -98
- package/dist/components/ix-dropdown-button.js.map +0 -1
- package/dist/components/ix-dropdown-header.d.ts +0 -11
- package/dist/components/ix-dropdown-header.js +0 -44
- package/dist/components/ix-dropdown-header.js.map +0 -1
- package/dist/components/ix-dropdown-item.d.ts +0 -11
- package/dist/components/ix-dropdown-item.js +0 -8
- package/dist/components/ix-dropdown-item.js.map +0 -1
- package/dist/components/ix-dropdown-quick-actions.d.ts +0 -11
- package/dist/components/ix-dropdown-quick-actions.js +0 -35
- package/dist/components/ix-dropdown-quick-actions.js.map +0 -1
- package/dist/components/ix-dropdown.d.ts +0 -11
- package/dist/components/ix-dropdown.js +0 -8
- package/dist/components/ix-dropdown.js.map +0 -1
- package/dist/components/ix-empty-state.d.ts +0 -11
- package/dist/components/ix-empty-state.js +0 -71
- package/dist/components/ix-empty-state.js.map +0 -1
- package/dist/components/ix-event-list-item.d.ts +0 -11
- package/dist/components/ix-event-list-item.js +0 -69
- package/dist/components/ix-event-list-item.js.map +0 -1
- package/dist/components/ix-event-list.d.ts +0 -11
- package/dist/components/ix-event-list.js +0 -143
- package/dist/components/ix-event-list.js.map +0 -1
- package/dist/components/ix-expanding-search.d.ts +0 -11
- package/dist/components/ix-expanding-search.js +0 -125
- package/dist/components/ix-expanding-search.js.map +0 -1
- package/dist/components/ix-filter-chip.d.ts +0 -11
- package/dist/components/ix-filter-chip.js +0 -8
- package/dist/components/ix-filter-chip.js.map +0 -1
- package/dist/components/ix-flip-tile-content.d.ts +0 -11
- package/dist/components/ix-flip-tile-content.js +0 -35
- package/dist/components/ix-flip-tile-content.js.map +0 -1
- package/dist/components/ix-flip-tile.d.ts +0 -11
- package/dist/components/ix-flip-tile.js +0 -118
- package/dist/components/ix-flip-tile.js.map +0 -1
- package/dist/components/ix-group-context-menu.d.ts +0 -11
- package/dist/components/ix-group-context-menu.js +0 -8
- package/dist/components/ix-group-context-menu.js.map +0 -1
- package/dist/components/ix-group-item.d.ts +0 -11
- package/dist/components/ix-group-item.js +0 -8
- package/dist/components/ix-group-item.js.map +0 -1
- package/dist/components/ix-group.d.ts +0 -11
- package/dist/components/ix-group.js +0 -183
- package/dist/components/ix-group.js.map +0 -1
- package/dist/components/ix-icon-button.d.ts +0 -11
- package/dist/components/ix-icon-button.js +0 -8
- package/dist/components/ix-icon-button.js.map +0 -1
- package/dist/components/ix-icon.js +0 -8
- package/dist/components/ix-icon.js.map +0 -1
- package/dist/components/ix-index-button.d.ts +0 -11
- package/dist/components/ix-index-button.js +0 -8
- package/dist/components/ix-index-button.js.map +0 -1
- package/dist/components/ix-input-group.d.ts +0 -11
- package/dist/components/ix-input-group.js +0 -55
- package/dist/components/ix-input-group.js.map +0 -1
- package/dist/components/ix-key-value-list.d.ts +0 -11
- package/dist/components/ix-key-value-list.js +0 -38
- package/dist/components/ix-key-value-list.js.map +0 -1
- package/dist/components/ix-key-value.d.ts +0 -11
- package/dist/components/ix-key-value.js +0 -53
- package/dist/components/ix-key-value.js.map +0 -1
- package/dist/components/ix-kpi.d.ts +0 -11
- package/dist/components/ix-kpi.js +0 -75
- package/dist/components/ix-kpi.js.map +0 -1
- package/dist/components/ix-link-button.d.ts +0 -11
- package/dist/components/ix-link-button.js +0 -54
- package/dist/components/ix-link-button.js.map +0 -1
- package/dist/components/ix-map-navigation-overlay.d.ts +0 -11
- package/dist/components/ix-map-navigation-overlay.js +0 -8
- package/dist/components/ix-map-navigation-overlay.js.map +0 -1
- package/dist/components/ix-map-navigation.d.ts +0 -11
- package/dist/components/ix-map-navigation.js +0 -225
- package/dist/components/ix-map-navigation.js.map +0 -1
- package/dist/components/ix-menu-about-item.d.ts +0 -11
- package/dist/components/ix-menu-about-item.js +0 -38
- package/dist/components/ix-menu-about-item.js.map +0 -1
- package/dist/components/ix-menu-about-news.d.ts +0 -11
- package/dist/components/ix-menu-about-news.js +0 -89
- package/dist/components/ix-menu-about-news.js.map +0 -1
- package/dist/components/ix-menu-about.d.ts +0 -11
- package/dist/components/ix-menu-about.js +0 -125
- package/dist/components/ix-menu-about.js.map +0 -1
- package/dist/components/ix-menu-avatar-item.d.ts +0 -11
- package/dist/components/ix-menu-avatar-item.js +0 -8
- package/dist/components/ix-menu-avatar-item.js.map +0 -1
- package/dist/components/ix-menu-avatar.d.ts +0 -11
- package/dist/components/ix-menu-avatar.js +0 -83
- package/dist/components/ix-menu-avatar.js.map +0 -1
- package/dist/components/ix-menu-category.d.ts +0 -11
- package/dist/components/ix-menu-category.js +0 -196
- package/dist/components/ix-menu-category.js.map +0 -1
- package/dist/components/ix-menu-item.d.ts +0 -11
- package/dist/components/ix-menu-item.js +0 -8
- package/dist/components/ix-menu-item.js.map +0 -1
- package/dist/components/ix-menu-settings-item.d.ts +0 -11
- package/dist/components/ix-menu-settings-item.js +0 -38
- package/dist/components/ix-menu-settings-item.js.map +0 -1
- package/dist/components/ix-menu-settings.d.ts +0 -11
- package/dist/components/ix-menu-settings.js +0 -112
- package/dist/components/ix-menu-settings.js.map +0 -1
- package/dist/components/ix-menu.d.ts +0 -11
- package/dist/components/ix-menu.js +0 -496
- package/dist/components/ix-menu.js.map +0 -1
- package/dist/components/ix-message-bar.d.ts +0 -11
- package/dist/components/ix-message-bar.js +0 -93
- package/dist/components/ix-message-bar.js.map +0 -1
- package/dist/components/ix-modal-content.d.ts +0 -11
- package/dist/components/ix-modal-content.js +0 -35
- package/dist/components/ix-modal-content.js.map +0 -1
- package/dist/components/ix-modal-example.d.ts +0 -11
- package/dist/components/ix-modal-example.js +0 -64
- package/dist/components/ix-modal-example.js.map +0 -1
- package/dist/components/ix-modal-footer.d.ts +0 -11
- package/dist/components/ix-modal-footer.js +0 -35
- package/dist/components/ix-modal-footer.js.map +0 -1
- package/dist/components/ix-modal-header.d.ts +0 -11
- package/dist/components/ix-modal-header.js +0 -90
- package/dist/components/ix-modal-header.js.map +0 -1
- package/dist/components/ix-modal-loading.d.ts +0 -11
- package/dist/components/ix-modal-loading.js +0 -41
- package/dist/components/ix-modal-loading.js.map +0 -1
- package/dist/components/ix-modal.d.ts +0 -11
- package/dist/components/ix-modal.js +0 -155
- package/dist/components/ix-modal.js.map +0 -1
- package/dist/components/ix-pagination.d.ts +0 -11
- package/dist/components/ix-pagination.js +0 -199
- package/dist/components/ix-pagination.js.map +0 -1
- package/dist/components/ix-pill.d.ts +0 -11
- package/dist/components/ix-pill.js +0 -84
- package/dist/components/ix-pill.js.map +0 -1
- package/dist/components/ix-push-card.d.ts +0 -11
- package/dist/components/ix-push-card.js +0 -83
- package/dist/components/ix-push-card.js.map +0 -1
- package/dist/components/ix-select-item.d.ts +0 -11
- package/dist/components/ix-select-item.js +0 -8
- package/dist/components/ix-select-item.js.map +0 -1
- package/dist/components/ix-select.d.ts +0 -11
- package/dist/components/ix-select.js +0 -8
- package/dist/components/ix-select.js.map +0 -1
- package/dist/components/ix-spinner.d.ts +0 -11
- package/dist/components/ix-spinner.js +0 -8
- package/dist/components/ix-spinner.js.map +0 -1
- package/dist/components/ix-split-button-item.d.ts +0 -11
- package/dist/components/ix-split-button-item.js +0 -54
- package/dist/components/ix-split-button-item.js.map +0 -1
- package/dist/components/ix-split-button.d.ts +0 -11
- package/dist/components/ix-split-button.js +0 -107
- package/dist/components/ix-split-button.js.map +0 -1
- package/dist/components/ix-tab-item.d.ts +0 -11
- package/dist/components/ix-tab-item.js +0 -8
- package/dist/components/ix-tab-item.js.map +0 -1
- package/dist/components/ix-tabs.d.ts +0 -11
- package/dist/components/ix-tabs.js +0 -8
- package/dist/components/ix-tabs.js.map +0 -1
- package/dist/components/ix-tile.d.ts +0 -11
- package/dist/components/ix-tile.js +0 -59
- package/dist/components/ix-tile.js.map +0 -1
- package/dist/components/ix-time-picker.d.ts +0 -11
- package/dist/components/ix-time-picker.js +0 -8
- package/dist/components/ix-time-picker.js.map +0 -1
- package/dist/components/ix-toast-container.d.ts +0 -11
- package/dist/components/ix-toast-container.js +0 -121
- package/dist/components/ix-toast-container.js.map +0 -1
- package/dist/components/ix-toast.d.ts +0 -11
- package/dist/components/ix-toast.js +0 -8
- package/dist/components/ix-toast.js.map +0 -1
- package/dist/components/ix-toggle.d.ts +0 -11
- package/dist/components/ix-toggle.js +0 -62
- package/dist/components/ix-toggle.js.map +0 -1
- package/dist/components/ix-tooltip.d.ts +0 -11
- package/dist/components/ix-tooltip.js +0 -183
- package/dist/components/ix-tooltip.js.map +0 -1
- package/dist/components/ix-tree-item.d.ts +0 -11
- package/dist/components/ix-tree-item.js +0 -8
- package/dist/components/ix-tree-item.js.map +0 -1
- package/dist/components/ix-tree.d.ts +0 -11
- package/dist/components/ix-tree.js +0 -725
- package/dist/components/ix-tree.js.map +0 -1
- package/dist/components/ix-typography.d.ts +0 -11
- package/dist/components/ix-typography.js +0 -8
- package/dist/components/ix-typography.js.map +0 -1
- package/dist/components/ix-upload.d.ts +0 -11
- package/dist/components/ix-upload.js +0 -153
- package/dist/components/ix-upload.js.map +0 -1
- package/dist/components/ix-validation-tooltip.d.ts +0 -11
- package/dist/components/ix-validation-tooltip.js +0 -169
- package/dist/components/ix-validation-tooltip.js.map +0 -1
- package/dist/components/ix-workflow-step.d.ts +0 -11
- package/dist/components/ix-workflow-step.js +0 -133
- package/dist/components/ix-workflow-step.js.map +0 -1
- package/dist/components/ix-workflow-steps.d.ts +0 -11
- package/dist/components/ix-workflow-steps.js +0 -97
- package/dist/components/ix-workflow-steps.js.map +0 -1
- package/dist/components/logical-filter-operator.js +0 -35
- package/dist/components/logical-filter-operator.js.map +0 -1
- package/dist/components/luxon.js +0 -7828
- package/dist/components/luxon.js.map +0 -1
- package/dist/components/map-navigation-overlay.js +0 -94
- package/dist/components/map-navigation-overlay.js.map +0 -1
- package/dist/components/menu-avatar-item.js +0 -51
- package/dist/components/menu-avatar-item.js.map +0 -1
- package/dist/components/menu-item.js +0 -92
- package/dist/components/menu-item.js.map +0 -1
- package/dist/components/menu-service.js +0 -78
- package/dist/components/menu-service.js.map +0 -1
- package/dist/components/modal.js +0 -245
- package/dist/components/modal.js.map +0 -1
- package/dist/components/mutation-observer.js +0 -13
- package/dist/components/mutation-observer.js.map +0 -1
- package/dist/components/my-component.d.ts +0 -11
- package/dist/components/my-component.js +0 -34
- package/dist/components/my-component.js.map +0 -1
- package/dist/components/rwd.util.js +0 -41
- package/dist/components/rwd.util.js.map +0 -1
- package/dist/components/select-item.js +0 -97
- package/dist/components/select-item.js.map +0 -1
- package/dist/components/select.js +0 -382
- package/dist/components/select.js.map +0 -1
- package/dist/components/service.js +0 -143
- package/dist/components/service.js.map +0 -1
- package/dist/components/spinner.js +0 -48
- package/dist/components/spinner.js.map +0 -1
- package/dist/components/tab-item.js +0 -79
- package/dist/components/tab-item.js.map +0 -1
- package/dist/components/tabs.js +0 -218
- package/dist/components/tabs.js.map +0 -1
- package/dist/components/theme-switcher.js +0 -91
- package/dist/components/theme-switcher.js.map +0 -1
- package/dist/components/time-picker.js +0 -252
- package/dist/components/time-picker.js.map +0 -1
- package/dist/components/toast.js +0 -111
- package/dist/components/toast.js.map +0 -1
- package/dist/components/tree-item.js +0 -56
- package/dist/components/tree-item.js.map +0 -1
- package/dist/components/typed-event.js +0 -46
- package/dist/components/typed-event.js.map +0 -1
- package/dist/components/typography.js +0 -60
- package/dist/components/typography.js.map +0 -1
- package/dist/components/upload-file-state.js +0 -19
- package/dist/components/upload-file-state.js.map +0 -1
- package/dist/esm/_commonjsHelpers-4bc7200a.js +0 -21
- package/dist/esm/_commonjsHelpers-4bc7200a.js.map +0 -1
- package/dist/esm/a11y-aa83c2d1.js +0 -79
- package/dist/esm/a11y-aa83c2d1.js.map +0 -1
- package/dist/esm/base-button-5bfeb71c.js +0 -33
- package/dist/esm/base-button-5bfeb71c.js.map +0 -1
- package/dist/esm/context-381170ae.js +0 -22
- package/dist/esm/context-381170ae.js.map +0 -1
- package/dist/esm/floating-ui.dom.esm-9b203a02.js +0 -1392
- package/dist/esm/floating-ui.dom.esm-9b203a02.js.map +0 -1
- package/dist/esm/icon-4ac90a6d.js +0 -112
- package/dist/esm/icon-4ac90a6d.js.map +0 -1
- package/dist/esm/index-7334ee80.js +0 -2608
- package/dist/esm/index-7334ee80.js.map +0 -1
- package/dist/esm/ix-animated-tab_2.entry.js +0 -209
- package/dist/esm/ix-animated-tab_2.entry.js.map +0 -1
- package/dist/esm/ix-avatar.entry.js +0 -35
- package/dist/esm/ix-avatar.entry.js.map +0 -1
- package/dist/esm/ix-breadcrumb_2.entry.js +0 -151
- package/dist/esm/ix-breadcrumb_2.entry.js.map +0 -1
- package/dist/esm/ix-dropdown_2.entry.js +0 -356
- package/dist/esm/ix-dropdown_2.entry.js.map +0 -1
- package/dist/esm/ix-event-list_2.entry.js +0 -154
- package/dist/esm/ix-event-list_2.entry.js.map +0 -1
- package/dist/esm/ix-filter-chip.entry.js +0 -25
- package/dist/esm/ix-filter-chip.entry.js.map +0 -1
- package/dist/esm/ix-flip-tile_2.entry.js +0 -88
- package/dist/esm/ix-flip-tile_2.entry.js.map +0 -1
- package/dist/esm/ix-group-context-menu.entry.js +0 -44
- package/dist/esm/ix-group-context-menu.entry.js.map +0 -1
- package/dist/esm/ix-group_2.entry.js +0 -154
- package/dist/esm/ix-group_2.entry.js.map +0 -1
- package/dist/esm/ix-icon-button.entry.js +0 -60
- package/dist/esm/ix-icon-button.entry.js.map +0 -1
- package/dist/esm/ix-icon.entry.js +0 -4
- package/dist/esm/ix-icon.entry.js.map +0 -1
- package/dist/esm/ix-index-button.entry.js +0 -24
- package/dist/esm/ix-index-button.entry.js.map +0 -1
- package/dist/esm/ix-map-navigation_2.entry.js +0 -214
- package/dist/esm/ix-map-navigation_2.entry.js.map +0 -1
- package/dist/esm/ix-menu_9.entry.js +0 -694
- package/dist/esm/ix-menu_9.entry.js.map +0 -1
- package/dist/esm/ix-select_2.entry.js +0 -365
- package/dist/esm/ix-select_2.entry.js.map +0 -1
- package/dist/esm/ix-spinner.entry.js +0 -29
- package/dist/esm/ix-spinner.entry.js.map +0 -1
- package/dist/esm/ix-split-button_2.entry.js +0 -65
- package/dist/esm/ix-split-button_2.entry.js.map +0 -1
- package/dist/esm/ix-tab-item.entry.js +0 -55
- package/dist/esm/ix-tab-item.entry.js.map +0 -1
- package/dist/esm/ix-tabs.entry.js +0 -185
- package/dist/esm/ix-tabs.entry.js.map +0 -1
- package/dist/esm/ix-toast_2.entry.js +0 -138
- package/dist/esm/ix-toast_2.entry.js.map +0 -1
- package/dist/esm/ix-tree_2.entry.js +0 -718
- package/dist/esm/ix-tree_2.entry.js.map +0 -1
- package/dist/esm/ix-workflow-step_2.entry.js +0 -169
- package/dist/esm/ix-workflow-step_2.entry.js.map +0 -1
- package/dist/esm/menu-service-b3076949.js +0 -78
- package/dist/esm/menu-service-b3076949.js.map +0 -1
- package/dist/esm/service-586129b5.js +0 -143
- package/dist/esm/service-586129b5.js.map +0 -1
- package/dist/esm/shadow-dom-6860b1c4.js +0 -18
- package/dist/esm/shadow-dom-6860b1c4.js.map +0 -1
- package/dist/esm/theme-switcher-7498e4f2.js +0 -91
- package/dist/esm/theme-switcher-7498e4f2.js.map +0 -1
- package/dist/siemens-ix/p-00f74fc9.entry.js +0 -2
- package/dist/siemens-ix/p-00f74fc9.entry.js.map +0 -1
- package/dist/siemens-ix/p-01c37ebe.entry.js +0 -2
- package/dist/siemens-ix/p-01c37ebe.entry.js.map +0 -1
- package/dist/siemens-ix/p-02f01e39.entry.js +0 -2
- package/dist/siemens-ix/p-0574cf88.entry.js +0 -2
- package/dist/siemens-ix/p-0574cf88.entry.js.map +0 -1
- package/dist/siemens-ix/p-06603826.entry.js +0 -2
- package/dist/siemens-ix/p-06603826.entry.js.map +0 -1
- package/dist/siemens-ix/p-06fcaee3.entry.js +0 -2
- package/dist/siemens-ix/p-06fcaee3.entry.js.map +0 -1
- package/dist/siemens-ix/p-07a0b330.entry.js +0 -2
- package/dist/siemens-ix/p-07a0b330.entry.js.map +0 -1
- package/dist/siemens-ix/p-09ce5f12.entry.js +0 -2
- package/dist/siemens-ix/p-09ce5f12.entry.js.map +0 -1
- package/dist/siemens-ix/p-0b71cde4.js +0 -2
- package/dist/siemens-ix/p-0b71cde4.js.map +0 -1
- package/dist/siemens-ix/p-0c9ead45.entry.js +0 -2
- package/dist/siemens-ix/p-0c9ead45.entry.js.map +0 -1
- package/dist/siemens-ix/p-0dea55bf.entry.js +0 -2
- package/dist/siemens-ix/p-0dea55bf.entry.js.map +0 -1
- package/dist/siemens-ix/p-0e86b47b.entry.js +0 -2
- package/dist/siemens-ix/p-0e86b47b.entry.js.map +0 -1
- package/dist/siemens-ix/p-0fab8cae.entry.js +0 -2
- package/dist/siemens-ix/p-157f7ec0.entry.js +0 -2
- package/dist/siemens-ix/p-15996fa7.entry.js +0 -2
- package/dist/siemens-ix/p-15996fa7.entry.js.map +0 -1
- package/dist/siemens-ix/p-1b1bc523.entry.js +0 -2
- package/dist/siemens-ix/p-1b1bc523.entry.js.map +0 -1
- package/dist/siemens-ix/p-20aa7350.entry.js +0 -2
- package/dist/siemens-ix/p-2ea3d53a.entry.js +0 -2
- package/dist/siemens-ix/p-2ea3d53a.entry.js.map +0 -1
- package/dist/siemens-ix/p-303b8c2f.entry.js +0 -2
- package/dist/siemens-ix/p-303b8c2f.entry.js.map +0 -1
- package/dist/siemens-ix/p-323d5529.js +0 -2
- package/dist/siemens-ix/p-323d5529.js.map +0 -1
- package/dist/siemens-ix/p-33670e98.entry.js +0 -2
- package/dist/siemens-ix/p-33670e98.entry.js.map +0 -1
- package/dist/siemens-ix/p-34633470.entry.js +0 -2
- package/dist/siemens-ix/p-34633470.entry.js.map +0 -1
- package/dist/siemens-ix/p-34807901.entry.js +0 -2
- package/dist/siemens-ix/p-34807901.entry.js.map +0 -1
- package/dist/siemens-ix/p-37417714.js +0 -2
- package/dist/siemens-ix/p-38e69215.entry.js +0 -2
- package/dist/siemens-ix/p-38e69215.entry.js.map +0 -1
- package/dist/siemens-ix/p-3a99b0c8.entry.js +0 -2
- package/dist/siemens-ix/p-3a99b0c8.entry.js.map +0 -1
- package/dist/siemens-ix/p-45738e84.js +0 -2
- package/dist/siemens-ix/p-45738e84.js.map +0 -1
- package/dist/siemens-ix/p-4d194d55.entry.js +0 -2
- package/dist/siemens-ix/p-4d194d55.entry.js.map +0 -1
- package/dist/siemens-ix/p-56a27b34.entry.js +0 -2
- package/dist/siemens-ix/p-56a27b34.entry.js.map +0 -1
- package/dist/siemens-ix/p-5b39e04e.js +0 -2
- package/dist/siemens-ix/p-5b39e04e.js.map +0 -1
- package/dist/siemens-ix/p-5fedb19b.entry.js +0 -2
- package/dist/siemens-ix/p-5fedb19b.entry.js.map +0 -1
- package/dist/siemens-ix/p-627148db.entry.js +0 -2
- package/dist/siemens-ix/p-627148db.entry.js.map +0 -1
- package/dist/siemens-ix/p-62f4db99.entry.js +0 -2
- package/dist/siemens-ix/p-62f4db99.entry.js.map +0 -1
- package/dist/siemens-ix/p-63b82e40.entry.js +0 -2
- package/dist/siemens-ix/p-63b82e40.entry.js.map +0 -1
- package/dist/siemens-ix/p-68c44614.entry.js +0 -2
- package/dist/siemens-ix/p-68c44614.entry.js.map +0 -1
- package/dist/siemens-ix/p-7021c2d1.entry.js +0 -2
- package/dist/siemens-ix/p-7021c2d1.entry.js.map +0 -1
- package/dist/siemens-ix/p-709d38fe.entry.js +0 -2
- package/dist/siemens-ix/p-709d38fe.entry.js.map +0 -1
- package/dist/siemens-ix/p-785726e8.entry.js +0 -2
- package/dist/siemens-ix/p-785726e8.entry.js.map +0 -1
- package/dist/siemens-ix/p-7d2aec76.entry.js +0 -2
- package/dist/siemens-ix/p-7d2aec76.entry.js.map +0 -1
- package/dist/siemens-ix/p-81333042.entry.js +0 -2
- package/dist/siemens-ix/p-81333042.entry.js.map +0 -1
- package/dist/siemens-ix/p-8c14a4a3.entry.js +0 -2
- package/dist/siemens-ix/p-8c14a4a3.entry.js.map +0 -1
- package/dist/siemens-ix/p-8ce73af1.entry.js +0 -2
- package/dist/siemens-ix/p-8ce73af1.entry.js.map +0 -1
- package/dist/siemens-ix/p-904aa275.entry.js +0 -2
- package/dist/siemens-ix/p-904aa275.entry.js.map +0 -1
- package/dist/siemens-ix/p-918450cd.entry.js +0 -2
- package/dist/siemens-ix/p-918450cd.entry.js.map +0 -1
- package/dist/siemens-ix/p-9547706d.entry.js +0 -2
- package/dist/siemens-ix/p-9547706d.entry.js.map +0 -1
- package/dist/siemens-ix/p-9903e755.entry.js +0 -2
- package/dist/siemens-ix/p-9903e755.entry.js.map +0 -1
- package/dist/siemens-ix/p-9d264ca8.entry.js +0 -2
- package/dist/siemens-ix/p-9d264ca8.entry.js.map +0 -1
- package/dist/siemens-ix/p-a64d88de.entry.js +0 -2
- package/dist/siemens-ix/p-a64d88de.entry.js.map +0 -1
- package/dist/siemens-ix/p-a8e8a942.entry.js +0 -2
- package/dist/siemens-ix/p-a8e8a942.entry.js.map +0 -1
- package/dist/siemens-ix/p-a9619a92.entry.js +0 -2
- package/dist/siemens-ix/p-a9619a92.entry.js.map +0 -1
- package/dist/siemens-ix/p-b21bc31c.entry.js +0 -2
- package/dist/siemens-ix/p-b21bc31c.entry.js.map +0 -1
- package/dist/siemens-ix/p-b6d52b6f.entry.js +0 -2
- package/dist/siemens-ix/p-b6d52b6f.entry.js.map +0 -1
- package/dist/siemens-ix/p-b89172b4.entry.js +0 -2
- package/dist/siemens-ix/p-b89172b4.entry.js.map +0 -1
- package/dist/siemens-ix/p-b899b25b.js +0 -3
- package/dist/siemens-ix/p-b899b25b.js.map +0 -1
- package/dist/siemens-ix/p-bf019e35.entry.js +0 -2
- package/dist/siemens-ix/p-bf019e35.entry.js.map +0 -1
- package/dist/siemens-ix/p-c0345859.entry.js +0 -2
- package/dist/siemens-ix/p-c0345859.entry.js.map +0 -1
- package/dist/siemens-ix/p-c4ea8815.entry.js +0 -2
- package/dist/siemens-ix/p-c4ea8815.entry.js.map +0 -1
- package/dist/siemens-ix/p-c84a43ef.entry.js +0 -2
- package/dist/siemens-ix/p-c84a43ef.entry.js.map +0 -1
- package/dist/siemens-ix/p-d0a8aa6f.entry.js +0 -2
- package/dist/siemens-ix/p-d0a8aa6f.entry.js.map +0 -1
- package/dist/siemens-ix/p-d43bf856.js +0 -2
- package/dist/siemens-ix/p-d43bf856.js.map +0 -1
- package/dist/siemens-ix/p-d48d74af.entry.js +0 -2
- package/dist/siemens-ix/p-d48d74af.entry.js.map +0 -1
- package/dist/siemens-ix/p-d737ad96.js +0 -2
- package/dist/siemens-ix/p-d737ad96.js.map +0 -1
- package/dist/siemens-ix/p-d7e8417d.entry.js +0 -2
- package/dist/siemens-ix/p-d7e8417d.entry.js.map +0 -1
- package/dist/siemens-ix/p-d81d0f62.entry.js +0 -2
- package/dist/siemens-ix/p-d81d0f62.entry.js.map +0 -1
- package/dist/siemens-ix/p-d991a3d6.entry.js +0 -2
- package/dist/siemens-ix/p-d991a3d6.entry.js.map +0 -1
- package/dist/siemens-ix/p-db74796e.js +0 -2
- package/dist/siemens-ix/p-db74796e.js.map +0 -1
- package/dist/siemens-ix/p-dbca4dd5.entry.js +0 -2
- package/dist/siemens-ix/p-dbca4dd5.entry.js.map +0 -1
- package/dist/siemens-ix/p-e1c92dcb.entry.js +0 -2
- package/dist/siemens-ix/p-e1c92dcb.entry.js.map +0 -1
- package/dist/siemens-ix/p-e275814e.js +0 -2
- package/dist/siemens-ix/p-e275814e.js.map +0 -1
- package/dist/siemens-ix/p-e3db25ef.entry.js +0 -2
- package/dist/siemens-ix/p-e3db25ef.entry.js.map +0 -1
- package/dist/siemens-ix/p-e8f2e141.entry.js +0 -2
- package/dist/siemens-ix/p-e8f2e141.entry.js.map +0 -1
- package/dist/siemens-ix/p-eca0b89c.entry.js +0 -2
- package/dist/siemens-ix/p-eca0b89c.entry.js.map +0 -1
- package/dist/siemens-ix/p-ef73f7e3.entry.js +0 -2
- package/dist/siemens-ix/p-ef73f7e3.entry.js.map +0 -1
- package/dist/siemens-ix/p-f0219d7a.entry.js +0 -2
- package/dist/siemens-ix/p-f22423c2.js +0 -2
- package/dist/siemens-ix/p-f22423c2.js.map +0 -1
- package/dist/siemens-ix/p-f38e7420.entry.js +0 -2
- package/dist/siemens-ix/p-f38e7420.entry.js.map +0 -1
- package/dist/siemens-ix/p-f4d634f5.entry.js +0 -2
- package/dist/siemens-ix/p-f4d634f5.entry.js.map +0 -1
- package/dist/siemens-ix/p-fafe1aeb.entry.js +0 -2
- package/dist/siemens-ix/p-fafe1aeb.entry.js.map +0 -1
- package/dist/siemens-ix/p-fe073f2a.entry.js +0 -2
- package/dist/siemens-ix/p-fe073f2a.entry.js.map +0 -1
- package/dist/siemens-ix/p-ff17104c.entry.js +0 -2
- package/dist/siemens-ix/p-ff17104c.entry.js.map +0 -1
- package/dist/types/components/animated-tab/animated-tab.d.ts +0 -11
- package/dist/types/components/animated-tabs/animated-tabs.d.ts +0 -44
- package/dist/types/components/index-button/index-button.d.ts +0 -16
- package/dist/types/components/utils/screen/context.d.ts +0 -5
- package/dist/types/components/utils/screen/index.d.ts +0 -1
- package/dist/types/components/utils/screen/mode.d.ts +0 -13
- package/dist/types/components/utils/screen/service.d.ts +0 -15
- package/scss/_fonts.scss +0 -70
- package/scss/components/_buttons.scss +0 -179
- package/scss/components/_dropdown.scss +0 -170
- package/scss/components/_forms.scss +0 -162
- package/scss/components/_modal.scss +0 -41
- /package/dist/collection/components/{layout/css-grid → css-grid}/builder.js +0 -0
- /package/dist/collection/components/{layout/css-grid → css-grid}/css-grid-item.css +0 -0
- /package/dist/collection/components/{layout/css-grid → css-grid}/css-grid-item.js +0 -0
- /package/dist/collection/components/{layout/css-grid → css-grid}/css-grid.css +0 -0
- /package/dist/siemens-ix/{p-157f7ec0.entry.js.map → p-26855b3f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-37417714.js.map → p-3e7b4990.js.map} +0 -0
- /package/dist/siemens-ix/{p-0fab8cae.entry.js.map → p-4659c550.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-02f01e39.entry.js.map → p-4dbae019.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f0219d7a.entry.js.map → p-b735ee5e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-20aa7350.entry.js.map → p-f88b25d7.entry.js.map} +0 -0
- /package/dist/types/components/{layout/css-grid → css-grid}/builder.d.ts +0 -0
- /package/dist/types/components/{layout/css-grid → css-grid}/css-grid-item.d.ts +0 -0
- /package/dist/types/components/{layout/css-grid → css-grid}/css-grid.d.ts +0 -0
- /package/scss/{components → legacy/components}/_button-group.scss +0 -0
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
import { h, Host, } from '@stencil/core';
|
|
10
10
|
export class Select {
|
|
11
11
|
constructor() {
|
|
12
|
-
this.selectedIndices =
|
|
12
|
+
this.selectedIndices = undefined;
|
|
13
|
+
this.value = undefined;
|
|
13
14
|
this.allowClear = false;
|
|
14
15
|
this.mode = 'single';
|
|
15
16
|
this.editable = false;
|
|
@@ -21,7 +22,7 @@ export class Select {
|
|
|
21
22
|
this.i18nNoMatches = 'No matches';
|
|
22
23
|
this.hideListHeader = false;
|
|
23
24
|
this.dropdownShow = false;
|
|
24
|
-
this.
|
|
25
|
+
this.selectedLabels = undefined;
|
|
25
26
|
this.dropdownWrapperRef = undefined;
|
|
26
27
|
this.dropdownAnchor = undefined;
|
|
27
28
|
this.isDropdownEmpty = false;
|
|
@@ -31,13 +32,16 @@ export class Select {
|
|
|
31
32
|
this.inputValue = undefined;
|
|
32
33
|
}
|
|
33
34
|
get items() {
|
|
34
|
-
return
|
|
35
|
+
return [
|
|
36
|
+
...Array.from(this.hostElement.querySelectorAll('ix-select-item')),
|
|
37
|
+
...Array.from(this.hostElement.shadowRoot.querySelectorAll('ix-select-item')),
|
|
38
|
+
];
|
|
35
39
|
}
|
|
36
40
|
get selectedItems() {
|
|
37
41
|
return this.items.filter((item) => item.selected);
|
|
38
42
|
}
|
|
39
43
|
get addItemButton() {
|
|
40
|
-
return this.hostElement.querySelector('.add-item');
|
|
44
|
+
return this.hostElement.shadowRoot.querySelector('.add-item');
|
|
41
45
|
}
|
|
42
46
|
get isSingleMode() {
|
|
43
47
|
return this.mode === 'single';
|
|
@@ -48,35 +52,22 @@ export class Select {
|
|
|
48
52
|
get isEveryDropdownItemHidden() {
|
|
49
53
|
return this.items.every((item) => item.classList.contains('d-none'));
|
|
50
54
|
}
|
|
51
|
-
watchSelectedIndices(
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
return;
|
|
59
|
-
}
|
|
60
|
-
this.selectValue([newId]);
|
|
55
|
+
watchSelectedIndices(value) {
|
|
56
|
+
this.value = value;
|
|
57
|
+
this.updateSelection();
|
|
58
|
+
}
|
|
59
|
+
watchValue(value) {
|
|
60
|
+
this.selectedIndices = value;
|
|
61
|
+
this.updateSelection();
|
|
61
62
|
}
|
|
62
63
|
onItemClicked(event) {
|
|
63
64
|
const newId = event.detail;
|
|
64
|
-
this.
|
|
65
|
+
this.itemClick(newId);
|
|
65
66
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
else {
|
|
72
|
-
this.selectedIndices = [...this.selectedIndices, newId];
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
else {
|
|
76
|
-
this.selectedIndices = [newId];
|
|
77
|
-
}
|
|
78
|
-
this.selectValue(this.selectedIndices);
|
|
79
|
-
this.itemSelectionChange.emit(this.selectedIndices);
|
|
67
|
+
itemClick(newId) {
|
|
68
|
+
this.value = this.toggleValue(newId);
|
|
69
|
+
this.updateSelection();
|
|
70
|
+
this.emitValueChange();
|
|
80
71
|
}
|
|
81
72
|
emitAddItem(value) {
|
|
82
73
|
if (value.trim() === '') {
|
|
@@ -87,39 +78,69 @@ export class Select {
|
|
|
87
78
|
newItem.label = value;
|
|
88
79
|
this.addItemRef.appendChild(newItem);
|
|
89
80
|
this.clearInput();
|
|
90
|
-
this.
|
|
81
|
+
this.itemClick(value);
|
|
91
82
|
this.addItem.emit(value);
|
|
92
83
|
}
|
|
93
|
-
|
|
84
|
+
toggleValue(itemValue) {
|
|
85
|
+
if (!this.isMultipleMode) {
|
|
86
|
+
return itemValue;
|
|
87
|
+
}
|
|
88
|
+
if (!this.value) {
|
|
89
|
+
return [itemValue];
|
|
90
|
+
}
|
|
91
|
+
let value = this.value;
|
|
92
|
+
if (!Array.isArray(value)) {
|
|
93
|
+
value = [value];
|
|
94
|
+
}
|
|
95
|
+
if (value.includes(itemValue)) {
|
|
96
|
+
return value.filter((value) => value !== itemValue);
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
return [...value, itemValue];
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
updateSelection() {
|
|
94
103
|
var _a;
|
|
104
|
+
let ids = [];
|
|
105
|
+
if (this.value) {
|
|
106
|
+
ids = Array.isArray(this.value) ? [...this.value] : [this.value];
|
|
107
|
+
}
|
|
95
108
|
this.items.forEach((item) => {
|
|
96
109
|
item.selected = ids.some((i) => i === item.value);
|
|
97
110
|
});
|
|
98
|
-
this.
|
|
111
|
+
this.selectedLabels = this.selectedItems.map((item) => item.label);
|
|
99
112
|
if (this.isSingleMode) {
|
|
100
|
-
this.inputValue = ((_a = this.
|
|
113
|
+
this.inputValue = ((_a = this.selectedLabels) === null || _a === void 0 ? void 0 : _a.length)
|
|
114
|
+
? this.selectedLabels[0]
|
|
115
|
+
: null;
|
|
101
116
|
return;
|
|
102
117
|
}
|
|
103
118
|
this.inputValue = null;
|
|
104
119
|
}
|
|
120
|
+
emitValueChange() {
|
|
121
|
+
this.valueChange.emit(this.value);
|
|
122
|
+
if (!this.value) {
|
|
123
|
+
this.itemSelectionChange.emit(null);
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
this.itemSelectionChange.emit(Array.isArray(this.value) ? this.value : [this.value]);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
105
129
|
componentDidLoad() {
|
|
106
130
|
this.inputRef.addEventListener('input', () => {
|
|
107
131
|
this.inputChange.emit(this.inputRef.value);
|
|
108
132
|
});
|
|
109
133
|
}
|
|
110
134
|
componentWillLoad() {
|
|
111
|
-
if (this.selectedIndices) {
|
|
112
|
-
this.
|
|
113
|
-
? this.selectedIndices
|
|
114
|
-
: [this.selectedIndices]);
|
|
135
|
+
if (this.selectedIndices && !this.value) {
|
|
136
|
+
this.value = this.selectedIndices;
|
|
115
137
|
}
|
|
138
|
+
this.updateSelection();
|
|
116
139
|
}
|
|
117
140
|
onLabelChange(event) {
|
|
118
141
|
event.preventDefault();
|
|
119
142
|
event.stopImmediatePropagation();
|
|
120
|
-
this.
|
|
121
|
-
? this.selectedIndices
|
|
122
|
-
: [this.selectedIndices]);
|
|
143
|
+
this.updateSelection();
|
|
123
144
|
}
|
|
124
145
|
disconnectedCallback() {
|
|
125
146
|
if (this.labelMutationObserver) {
|
|
@@ -143,12 +164,12 @@ export class Select {
|
|
|
143
164
|
}
|
|
144
165
|
}
|
|
145
166
|
async onKeyDown(event) {
|
|
167
|
+
if (event.code === 'ArrowDown' || event.code === 'ArrowUp') {
|
|
168
|
+
this.onArrowNavigation(event, event.code);
|
|
169
|
+
}
|
|
146
170
|
if (!this.dropdownShow) {
|
|
147
171
|
return;
|
|
148
172
|
}
|
|
149
|
-
if (event.code === 'ArrowDown' || event.code === 'ArrowUp') {
|
|
150
|
-
this.onArrowNavigation(event);
|
|
151
|
-
}
|
|
152
173
|
if (event.code === 'Enter' || event.code === 'NumpadEnter') {
|
|
153
174
|
await this.onEnterNavigation();
|
|
154
175
|
}
|
|
@@ -171,24 +192,36 @@ export class Select {
|
|
|
171
192
|
this.dropdownShow = false;
|
|
172
193
|
}
|
|
173
194
|
}
|
|
174
|
-
onArrowNavigation(event) {
|
|
175
|
-
event.stopPropagation();
|
|
195
|
+
onArrowNavigation(event, key) {
|
|
176
196
|
event.preventDefault();
|
|
177
|
-
|
|
178
|
-
this.
|
|
179
|
-
const
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
197
|
+
event.stopPropagation();
|
|
198
|
+
this.dropdownShow = true;
|
|
199
|
+
const items = this.items.filter((i) => !i.classList.contains('d-none'));
|
|
200
|
+
if (this.navigationItem === undefined) {
|
|
201
|
+
this.applyFocusTo(items[0]);
|
|
202
|
+
return;
|
|
203
|
+
}
|
|
204
|
+
let indexOfNavigationItem = items.findIndex((item) => item === this.navigationItem);
|
|
205
|
+
if (key === 'ArrowDown') {
|
|
206
|
+
indexOfNavigationItem++;
|
|
183
207
|
}
|
|
184
|
-
else
|
|
185
|
-
|
|
208
|
+
else {
|
|
209
|
+
indexOfNavigationItem--;
|
|
186
210
|
}
|
|
187
|
-
|
|
211
|
+
const newFocusItem = items[indexOfNavigationItem];
|
|
212
|
+
this.applyFocusTo(newFocusItem);
|
|
188
213
|
}
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
214
|
+
applyFocusTo(element) {
|
|
215
|
+
if (!element) {
|
|
216
|
+
return;
|
|
217
|
+
}
|
|
218
|
+
this.navigationItem = element;
|
|
219
|
+
setTimeout(() => {
|
|
220
|
+
element.shadowRoot
|
|
221
|
+
.querySelector('ix-dropdown-item')
|
|
222
|
+
.shadowRoot.querySelector('button')
|
|
223
|
+
.focus();
|
|
224
|
+
});
|
|
192
225
|
}
|
|
193
226
|
filterItemsWithTypeahead() {
|
|
194
227
|
this.inputFilterText = this.inputRef.value;
|
|
@@ -216,9 +249,9 @@ export class Select {
|
|
|
216
249
|
}
|
|
217
250
|
clear() {
|
|
218
251
|
this.clearInput();
|
|
252
|
+
this.selectedLabels = [];
|
|
219
253
|
this.value = [];
|
|
220
|
-
this.
|
|
221
|
-
this.itemSelectionChange.emit(null);
|
|
254
|
+
this.valueChange.emit(null);
|
|
222
255
|
this.dropdownShow = false;
|
|
223
256
|
}
|
|
224
257
|
onInputBlur(e) {
|
|
@@ -231,7 +264,7 @@ export class Select {
|
|
|
231
264
|
}
|
|
232
265
|
}
|
|
233
266
|
if (!this.dropdownShow && this.mode !== 'multiple') {
|
|
234
|
-
e.target['value'] = this.
|
|
267
|
+
e.target['value'] = this.selectedLabels;
|
|
235
268
|
}
|
|
236
269
|
}
|
|
237
270
|
placeholderValue() {
|
|
@@ -251,10 +284,7 @@ export class Select {
|
|
|
251
284
|
render() {
|
|
252
285
|
var _a, _b, _c;
|
|
253
286
|
return (h(Host, null, h("div", { class: {
|
|
254
|
-
'form-control': true,
|
|
255
287
|
select: true,
|
|
256
|
-
focus: this.hasFocus,
|
|
257
|
-
editable: this.editable,
|
|
258
288
|
disabled: this.disabled,
|
|
259
289
|
readonly: this.readonly,
|
|
260
290
|
}, ref: (ref) => {
|
|
@@ -265,19 +295,19 @@ export class Select {
|
|
|
265
295
|
? (_a = this.selectedItems) === null || _a === void 0 ? void 0 : _a.map((item) => (h("ix-filter-chip", { disabled: this.disabled || this.readonly, key: item.value, onCloseClick: (e) => {
|
|
266
296
|
e.preventDefault();
|
|
267
297
|
e.stopPropagation();
|
|
268
|
-
this.
|
|
298
|
+
this.itemClick(item.value);
|
|
269
299
|
} }, item.label)))
|
|
270
300
|
: '', h("div", { class: "trigger" }, h("input", { "data-testid": "input", disabled: this.disabled, readOnly: this.readonly, type: "text", class: {
|
|
271
|
-
'allow-clear': this.allowClear && !!((_b = this.
|
|
301
|
+
'allow-clear': this.allowClear && !!((_b = this.selectedLabels) === null || _b === void 0 ? void 0 : _b.length),
|
|
272
302
|
}, placeholder: this.placeholderValue(), value: this.inputValue, ref: (ref) => (this.inputRef = ref), onBlur: (e) => this.onInputBlur(e), onInput: () => this.filterItemsWithTypeahead() }), this.allowClear &&
|
|
273
|
-
(((_c = this.
|
|
303
|
+
(((_c = this.selectedLabels) === null || _c === void 0 ? void 0 : _c.length) || this.inputFilterText) ? (h("ix-icon-button", { class: "clear", icon: 'clear', ghost: true, oval: true, size: "16", onClick: (e) => {
|
|
274
304
|
e.preventDefault();
|
|
275
305
|
e.stopPropagation();
|
|
276
306
|
this.clear();
|
|
277
|
-
} })) : null, this.disabled || this.readonly ? null : (h("
|
|
307
|
+
} })) : null, this.disabled || this.readonly ? null : (h("ix-icon-button", { "data-select-dropdown": true, class: { 'dropdown-visible': this.dropdownShow }, icon: "chevron-down-small", ghost: true, ref: (ref) => {
|
|
278
308
|
if (this.editable)
|
|
279
309
|
this.dropdownWrapperRef = ref;
|
|
280
|
-
} }
|
|
310
|
+
} })))))), h("ix-dropdown", { ref: (ref) => (this.dropdownRef = ref), show: this.dropdownShow, closeBehavior: this.isMultipleMode ? 'outside' : 'both', class: {
|
|
281
311
|
'd-none': this.disabled || this.readonly,
|
|
282
312
|
}, anchor: this.dropdownAnchor, trigger: this.dropdownWrapperRef, onShowChanged: (e) => this.dropdownVisibilityChanged(e), placement: "bottom-start", overwriteDropdownStyle: async () => {
|
|
283
313
|
return {
|
|
@@ -286,7 +316,7 @@ export class Select {
|
|
|
286
316
|
} }, h("div", { class: {
|
|
287
317
|
'select-list-header': true,
|
|
288
318
|
hidden: this.hideListHeader || this.isDropdownEmpty,
|
|
289
|
-
}, title: this.i18nSelectListHeader }, this.i18nSelectListHeader), h("slot", null), h("div", { ref: (ref) => (this.addItemRef = ref), class: "d-contents" }), this.isAddItemVisible() ? (h("ix-dropdown-item", { "data-testid": "add-item", icon:
|
|
319
|
+
}, title: this.i18nSelectListHeader }, this.i18nSelectListHeader), h("slot", null), h("div", { ref: (ref) => (this.addItemRef = ref), class: "d-contents" }), this.isAddItemVisible() ? (h("ix-dropdown-item", { "data-testid": "add-item", icon: 'plus', class: {
|
|
290
320
|
'add-item': true,
|
|
291
321
|
}, label: this.inputFilterText, onItemClick: (e) => {
|
|
292
322
|
e.preventDefault();
|
|
@@ -295,7 +325,7 @@ export class Select {
|
|
|
295
325
|
} })) : null, this.isDropdownEmpty && !this.editable ? (h("div", { class: "select-list-header" }, this.i18nNoMatches)) : (''))));
|
|
296
326
|
}
|
|
297
327
|
static get is() { return "ix-select"; }
|
|
298
|
-
static get encapsulation() { return "
|
|
328
|
+
static get encapsulation() { return "shadow"; }
|
|
299
329
|
static get originalStyleUrls() {
|
|
300
330
|
return {
|
|
301
331
|
"$": ["select.scss"]
|
|
@@ -317,14 +347,36 @@ export class Select {
|
|
|
317
347
|
"references": {}
|
|
318
348
|
},
|
|
319
349
|
"required": false,
|
|
320
|
-
"optional":
|
|
350
|
+
"optional": true,
|
|
321
351
|
"docs": {
|
|
322
|
-
"tags": [
|
|
323
|
-
|
|
352
|
+
"tags": [{
|
|
353
|
+
"name": "deprecated",
|
|
354
|
+
"text": "since 2.0.0. Use the `value` property instead."
|
|
355
|
+
}],
|
|
356
|
+
"text": "Indices of selected items.\nThis corresponds to the value property of ix-select-items and therefor not necessarily the indices of the items in the list."
|
|
324
357
|
},
|
|
325
358
|
"attribute": "selected-indices",
|
|
326
|
-
"reflect": false
|
|
327
|
-
|
|
359
|
+
"reflect": false
|
|
360
|
+
},
|
|
361
|
+
"value": {
|
|
362
|
+
"type": "string",
|
|
363
|
+
"mutable": true,
|
|
364
|
+
"complexType": {
|
|
365
|
+
"original": "string | string[]",
|
|
366
|
+
"resolved": "string | string[]",
|
|
367
|
+
"references": {}
|
|
368
|
+
},
|
|
369
|
+
"required": false,
|
|
370
|
+
"optional": true,
|
|
371
|
+
"docs": {
|
|
372
|
+
"tags": [{
|
|
373
|
+
"name": "since",
|
|
374
|
+
"text": "2.0.0"
|
|
375
|
+
}],
|
|
376
|
+
"text": "Current selected value.\nThis corresponds to the value property of ix-select-items"
|
|
377
|
+
},
|
|
378
|
+
"attribute": "value",
|
|
379
|
+
"reflect": false
|
|
328
380
|
},
|
|
329
381
|
"allowClear": {
|
|
330
382
|
"type": "boolean",
|
|
@@ -520,7 +572,7 @@ export class Select {
|
|
|
520
572
|
static get states() {
|
|
521
573
|
return {
|
|
522
574
|
"dropdownShow": {},
|
|
523
|
-
"
|
|
575
|
+
"selectedLabels": {},
|
|
524
576
|
"dropdownWrapperRef": {},
|
|
525
577
|
"dropdownAnchor": {},
|
|
526
578
|
"isDropdownEmpty": {},
|
|
@@ -532,18 +584,39 @@ export class Select {
|
|
|
532
584
|
}
|
|
533
585
|
static get events() {
|
|
534
586
|
return [{
|
|
587
|
+
"method": "valueChange",
|
|
588
|
+
"name": "valueChange",
|
|
589
|
+
"bubbles": true,
|
|
590
|
+
"cancelable": true,
|
|
591
|
+
"composed": true,
|
|
592
|
+
"docs": {
|
|
593
|
+
"tags": [{
|
|
594
|
+
"name": "since",
|
|
595
|
+
"text": "2.0.0"
|
|
596
|
+
}],
|
|
597
|
+
"text": "Value changed"
|
|
598
|
+
},
|
|
599
|
+
"complexType": {
|
|
600
|
+
"original": "string | string[]",
|
|
601
|
+
"resolved": "string | string[]",
|
|
602
|
+
"references": {}
|
|
603
|
+
}
|
|
604
|
+
}, {
|
|
535
605
|
"method": "itemSelectionChange",
|
|
536
606
|
"name": "itemSelectionChange",
|
|
537
607
|
"bubbles": true,
|
|
538
608
|
"cancelable": true,
|
|
539
609
|
"composed": true,
|
|
540
610
|
"docs": {
|
|
541
|
-
"tags": [
|
|
611
|
+
"tags": [{
|
|
612
|
+
"name": "deprecated",
|
|
613
|
+
"text": "since 2.0.0. Use `valueChange` instead."
|
|
614
|
+
}],
|
|
542
615
|
"text": "Item selection changed"
|
|
543
616
|
},
|
|
544
617
|
"complexType": {
|
|
545
|
-
"original": "string
|
|
546
|
-
"resolved": "string
|
|
618
|
+
"original": "string[]",
|
|
619
|
+
"resolved": "string[]",
|
|
547
620
|
"references": {}
|
|
548
621
|
}
|
|
549
622
|
}, {
|
|
@@ -586,6 +659,9 @@ export class Select {
|
|
|
586
659
|
return [{
|
|
587
660
|
"propName": "selectedIndices",
|
|
588
661
|
"methodName": "watchSelectedIndices"
|
|
662
|
+
}, {
|
|
663
|
+
"propName": "value",
|
|
664
|
+
"methodName": "watchValue"
|
|
589
665
|
}];
|
|
590
666
|
}
|
|
591
667
|
static get listeners() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.js","sourceRoot":"","sources":["../../../src/components/select/select.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,KAAK,GACN,MAAM,eAAe,CAAC;AAQvB,MAAM,OAAO,MAAM;;2BAO6C,EAAE;sBAK3C,KAAK;gBAKY,QAAQ;oBAK3B,KAAK;oBAKL,KAAK;oBAKL,KAAK;2BAKE,kBAAkB;mCAKV,uBAAuB;gCAK1B,yBAAyB;yBAOhC,YAAY;0BAQX,KAAK;wBAmBN,KAAK;;;;2BAIF,KAAK;oBACZ,KAAK;;;;;EAWzB,IAAI,KAAK;IACP,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC,CAAC;EACzE,CAAC;EAED,IAAI,aAAa;I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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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 Listen,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { IxSelectItemLabelChangeEvent } from '../select-item/events';\n\n@Component({\n tag: 'ix-select',\n styleUrl: 'select.scss',\n scoped: true,\n})\nexport class Select {\n @Element() hostElement!: HTMLIxSelectElement;\n\n /**\n * Indices of selected items\n * This corresponds to the value property of ix-select-items and therefor not necessarily the indices of the items in the list.\n */\n @Prop({ mutable: true }) selectedIndices: string | string[] = [];\n\n /**\n * Show clear button\n */\n @Prop() allowClear = false;\n\n /**\n * Selection mode\n */\n @Prop() mode: 'single' | 'multiple' = 'single';\n\n /**\n * Select is extendable\n */\n @Prop() editable = false;\n\n /**\n * If true the select will be in disabled state\n */\n @Prop() disabled = false;\n\n /**\n * If true the select will be in readonly mode\n */\n @Prop() readonly = false;\n\n /**\n * Input field placeholder\n */\n @Prop() i18nPlaceholder = 'Select an option';\n\n /**\n * Input field placeholder for editable select\n */\n @Prop() i18nPlaceholderEditable = 'Type of select option';\n\n /**\n * Select list header\n */\n @Prop() i18nSelectListHeader = 'Please select an option';\n\n /**\n * Hint inside of dropdown if no items where found with current filter text\n *\n * @since 1.5.0\n */\n @Prop() i18nNoMatches = 'No matches';\n\n /**\n * Hide list header\n *\n * @since 1.5.0\n @\n */\n @Prop() hideListHeader = false;\n\n /**\n * Item selection changed\n */\n @Event() itemSelectionChange: EventEmitter<string | string[]>;\n\n /**\n * Event dispatched whenever the text input changes.\n *\n * @since 2.0.0\n */\n @Event() inputChange: EventEmitter<string>;\n\n /**\n * Item added to selection\n */\n @Event() addItem: EventEmitter<string>;\n\n @State() dropdownShow = false;\n @State() value: string[];\n @State() dropdownWrapperRef!: HTMLElement;\n @State() dropdownAnchor!: HTMLElement;\n @State() isDropdownEmpty = false;\n @State() hasFocus = false;\n @State() navigationItem: HTMLIxSelectItemElement;\n @State() inputFilterText: string;\n @State() inputValue: string;\n\n private inputRef!: HTMLInputElement;\n private dropdownRef!: HTMLIxDropdownElement;\n private addItemRef!: HTMLDivElement;\n\n private labelMutationObserver: MutationObserver;\n\n get items() {\n return Array.from(this.hostElement.querySelectorAll('ix-select-item'));\n }\n\n get selectedItems() {\n return this.items.filter((item) => item.selected);\n }\n\n get addItemButton() {\n return this.hostElement.querySelector('.add-item');\n }\n\n get isSingleMode() {\n return this.mode === 'single';\n }\n\n get isMultipleMode() {\n return this.mode === 'multiple';\n }\n\n get isEveryDropdownItemHidden() {\n return this.items.every((item) => item.classList.contains('d-none'));\n }\n\n @Watch('selectedIndices')\n watchSelectedIndices(newId: string | string[]) {\n if (!newId) {\n this.selectValue([]);\n return;\n }\n\n if (Array.isArray(newId)) {\n this.selectValue([...newId]);\n return;\n }\n\n this.selectValue([newId]);\n }\n\n @Listen('itemClick')\n onItemClicked(event: CustomEvent<string>) {\n const newId = event.detail;\n this.emitItemClick(newId);\n }\n\n private emitItemClick(newId: string) {\n if (this.isMultipleMode && Array.isArray(this.selectedIndices)) {\n if (this.selectedIndices.includes(newId)) {\n this.selectedIndices = this.selectedIndices.filter((i) => i !== newId);\n } else {\n this.selectedIndices = [...this.selectedIndices, newId];\n }\n } else {\n this.selectedIndices = [newId];\n }\n\n this.selectValue(this.selectedIndices);\n this.itemSelectionChange.emit(this.selectedIndices);\n }\n\n private emitAddItem(value: string) {\n if (value.trim() === '') {\n return;\n }\n\n const newItem = document.createElement('ix-select-item');\n newItem.value = value;\n newItem.label = value;\n\n this.addItemRef.appendChild(newItem);\n\n this.clearInput();\n this.emitItemClick(value);\n this.addItem.emit(value);\n }\n\n private selectValue(ids: string[]) {\n this.items.forEach((item) => {\n item.selected = ids.some((i) => i === item.value);\n });\n\n this.value = this.selectedItems.map((item) => item.label);\n\n if (this.isSingleMode) {\n this.inputValue = this.value?.length ? this.value[0] : null;\n return;\n }\n\n this.inputValue = null;\n }\n\n componentDidLoad() {\n this.inputRef.addEventListener('input', () => {\n this.inputChange.emit(this.inputRef.value);\n });\n }\n\n componentWillLoad() {\n if (this.selectedIndices) {\n this.selectValue(\n Array.isArray(this.selectedIndices)\n ? this.selectedIndices\n : [this.selectedIndices]\n );\n }\n }\n\n @Listen('ix-select-item:labelChange')\n onLabelChange(event: IxSelectItemLabelChangeEvent) {\n event.preventDefault();\n event.stopImmediatePropagation();\n this.selectValue(\n Array.isArray(this.selectedIndices)\n ? this.selectedIndices\n : [this.selectedIndices]\n );\n }\n\n disconnectedCallback() {\n if (this.labelMutationObserver) {\n this.labelMutationObserver.disconnect();\n }\n }\n\n private itemExists(item: string) {\n return this.items.find((i) => i.label === item);\n }\n\n private dropdownVisibilityChanged(event: CustomEvent<boolean>) {\n this.dropdownShow = event.detail;\n this.hasFocus = event.detail;\n\n if (event.detail) {\n this.inputRef.focus();\n this.inputRef.select();\n\n this.removeHiddenFromItems();\n this.isDropdownEmpty = this.isEveryDropdownItemHidden;\n } else {\n this.navigationItem = undefined;\n }\n }\n\n @Listen('keydown', {\n target: 'window',\n })\n async onKeyDown(event: KeyboardEvent) {\n if (!this.dropdownShow) {\n return;\n }\n\n if (event.code === 'ArrowDown' || event.code === 'ArrowUp') {\n this.onArrowNavigation(event);\n }\n\n if (event.code === 'Enter' || event.code === 'NumpadEnter') {\n await this.onEnterNavigation();\n }\n\n if (event.code === 'Escape') {\n this.dropdownShow = false;\n }\n }\n\n private async onEnterNavigation() {\n if (this.isMultipleMode) {\n return;\n }\n\n if (this.editable && !this.itemExists(this.inputFilterText)) {\n this.emitAddItem(this.inputFilterText);\n this.navigationItem = this.items[this.items.length - 1];\n }\n\n this.navigationItem?.onItemClick();\n await this.dropdownRef?.updatePosition();\n\n if (this.isSingleMode && !this.editable) {\n this.dropdownShow = false;\n }\n }\n\n private onArrowNavigation(event: KeyboardEvent) {\n event.stopPropagation();\n event.preventDefault();\n\n const focusItem = this.items.find(\n (item) => document.activeElement === item.querySelector('button')\n );\n this.navigationItem = focusItem;\n\n const selectItems = this.items.filter(\n (i) => !i.classList.contains('d-none')\n );\n\n const index = selectItems.indexOf(this.navigationItem);\n\n if (event.code === 'ArrowDown' && index < selectItems.length - 1) {\n this.navigationItem = selectItems[index + 1];\n } else if (event.code === 'ArrowUp' && index > 0) {\n this.navigationItem = selectItems[index - 1];\n }\n\n this.setHoverEffectForNavigatedSelectItem();\n }\n\n private setHoverEffectForNavigatedSelectItem() {\n this.navigationItem?.querySelector('button').focus();\n }\n\n private filterItemsWithTypeahead() {\n this.inputFilterText = this.inputRef.value;\n\n if (this.inputFilterText) {\n this.items.forEach((item) => {\n item.classList.remove('d-none');\n if (\n !item.label.toLowerCase().includes(this.inputFilterText.toLowerCase())\n ) {\n item.classList.add('d-none');\n }\n });\n } else {\n this.removeHiddenFromItems();\n }\n\n this.isDropdownEmpty = this.isEveryDropdownItemHidden;\n }\n\n private removeHiddenFromItems() {\n this.items.forEach((item) => {\n item.classList.remove('d-none');\n });\n }\n\n private clearInput() {\n this.inputRef.value = '';\n this.inputFilterText = '';\n }\n\n private clear() {\n this.clearInput();\n this.value = [];\n this.selectedIndices = [];\n this.itemSelectionChange.emit(null);\n this.dropdownShow = false;\n }\n\n private onInputBlur(e) {\n if (this.editable) {\n return;\n }\n\n if (this.isSingleMode) {\n if (this.dropdownShow && this.isDropdownEmpty) {\n this.dropdownShow = false;\n }\n }\n\n if (!this.dropdownShow && this.mode !== 'multiple') {\n e.target['value'] = this.value;\n }\n }\n\n private placeholderValue() {\n if (this.editable) {\n return this.i18nPlaceholderEditable;\n }\n\n if (this.readonly) {\n return '';\n }\n\n return this.i18nPlaceholder;\n }\n\n private isAddItemVisible() {\n return (\n !this.itemExists(this.inputFilterText) &&\n this.editable &&\n this.inputFilterText\n );\n }\n\n render() {\n return (\n <Host>\n <div\n class={{\n 'form-control': true,\n select: true,\n focus: this.hasFocus,\n editable: this.editable,\n disabled: this.disabled,\n readonly: this.readonly,\n }}\n ref={(ref) => {\n this.dropdownAnchor = ref;\n if (!this.editable) this.dropdownWrapperRef = ref;\n }}\n >\n <div class=\"input-container\">\n <div class=\"chips\">\n {this.isMultipleMode\n ? this.selectedItems?.map((item) => (\n <ix-filter-chip\n disabled={this.disabled || this.readonly}\n key={item.value}\n onCloseClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n this.emitItemClick(item.value);\n }}\n >\n {item.label}\n </ix-filter-chip>\n ))\n : ''}\n <div class=\"trigger\">\n <input\n data-testid=\"input\"\n disabled={this.disabled}\n readOnly={this.readonly}\n type=\"text\"\n class={{\n 'allow-clear': this.allowClear && !!this.value?.length,\n }}\n placeholder={this.placeholderValue()}\n value={this.inputValue}\n ref={(ref) => (this.inputRef = ref)}\n onBlur={(e) => this.onInputBlur(e)}\n onInput={() => this.filterItemsWithTypeahead()}\n />\n {this.allowClear &&\n (this.value?.length || this.inputFilterText) ? (\n <ix-icon-button\n class=\"clear\"\n icon=\"clear\"\n ghost\n oval\n size=\"16\"\n onClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n this.clear();\n }}\n />\n ) : null}\n {this.disabled || this.readonly ? null : (\n <div\n class=\"chevron-down-container\"\n ref={(ref) => {\n if (this.editable) this.dropdownWrapperRef = ref;\n }}\n >\n <ix-icon class=\"chevron\" name=\"chevron-down-small\" />\n </div>\n )}\n </div>\n </div>\n </div>\n </div>\n <ix-dropdown\n ref={(ref) => (this.dropdownRef = ref)}\n show={this.dropdownShow}\n closeBehavior={this.isMultipleMode ? 'outside' : 'both'}\n class={{\n 'd-none': this.disabled || this.readonly,\n }}\n anchor={this.dropdownAnchor}\n trigger={this.dropdownWrapperRef}\n onShowChanged={(e) => this.dropdownVisibilityChanged(e)}\n placement=\"bottom-start\"\n overwriteDropdownStyle={async () => {\n return {\n minWidth: `${this.hostElement.clientWidth}px`,\n };\n }}\n >\n <div\n class={{\n 'select-list-header': true,\n hidden: this.hideListHeader || this.isDropdownEmpty,\n }}\n title={this.i18nSelectListHeader}\n >\n {this.i18nSelectListHeader}\n </div>\n <slot></slot>\n <div ref={(ref) => (this.addItemRef = ref)} class=\"d-contents\"></div>\n {this.isAddItemVisible() ? (\n <ix-dropdown-item\n data-testid=\"add-item\"\n icon=\"plus\"\n class={{\n 'add-item': true,\n }}\n label={this.inputFilterText}\n onItemClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n this.emitAddItem(this.inputFilterText);\n }}\n ></ix-dropdown-item>\n ) : null}\n {this.isDropdownEmpty && !this.editable ? (\n <div class=\"select-list-header\">{this.i18nNoMatches}</div>\n ) : (\n ''\n )}\n </ix-dropdown>\n </Host>\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"select.js","sourceRoot":"","sources":["../../../src/components/select/select.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,KAAK,GACN,MAAM,eAAe,CAAC;AAQvB,MAAM,OAAO,MAAM;;;;sBAoBI,KAAK;gBAKY,QAAQ;oBAK3B,KAAK;oBAKL,KAAK;oBAKL,KAAK;2BAKE,kBAAkB;mCAKV,uBAAuB;gCAK1B,yBAAyB;yBAOhC,YAAY;0BAQX,KAAK;wBA0BN,KAAK;;;;2BAIF,KAAK;oBACZ,KAAK;;;;;EAWzB,IAAI,KAAK;IACP,OAAO;MACL,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;MAClE,GAAG,KAAK,CAAC,IAAI,CACX,IAAI,CAA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,CAAC,CAAC,cAAc,EAAE,CAAC;YACnB,CAAC,CAAC,eAAe,EAAE,CAAC;YACpB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;UACzC,CAAC,GACiB,CACrB,CAAC,CAAC,CAAC,IAAI;QACP,IAAI,CAAC,eAAe,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CACxC,WAAK,KAAK,EAAC,oBAAoB,IAAE,IAAI,CAAC,aAAa,CAAO,CAC3D,CAAC,CAAC,CAAC,CACF,EAAE,CACH,CACW,CACT,CACR,CAAC;EACJ,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 Listen,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { IxSelectItemLabelChangeEvent } from '../select-item/events';\n\n@Component({\n tag: 'ix-select',\n styleUrl: 'select.scss',\n shadow: true,\n})\nexport class Select {\n @Element() hostElement!: HTMLIxSelectElement;\n\n /**\n * Indices of selected items.\n * This corresponds to the value property of ix-select-items and therefor not necessarily the indices of the items in the list.\n * @deprecated since 2.0.0. Use the `value` property instead.\n */\n @Prop({ mutable: true }) selectedIndices?: string | string[];\n\n /**\n * Current selected value.\n * This corresponds to the value property of ix-select-items\n * @since 2.0.0\n */\n @Prop({ mutable: true }) value?: string | string[];\n\n /**\n * Show clear button\n */\n @Prop() allowClear = false;\n\n /**\n * Selection mode\n */\n @Prop() mode: 'single' | 'multiple' = 'single';\n\n /**\n * Select is extendable\n */\n @Prop() editable = false;\n\n /**\n * If true the select will be in disabled state\n */\n @Prop() disabled = false;\n\n /**\n * If true the select will be in readonly mode\n */\n @Prop() readonly = false;\n\n /**\n * Input field placeholder\n */\n @Prop() i18nPlaceholder = 'Select an option';\n\n /**\n * Input field placeholder for editable select\n */\n @Prop() i18nPlaceholderEditable = 'Type of select option';\n\n /**\n * Select list header\n */\n @Prop() i18nSelectListHeader = 'Please select an option';\n\n /**\n * Hint inside of dropdown if no items where found with current filter text\n *\n * @since 1.5.0\n */\n @Prop() i18nNoMatches = 'No matches';\n\n /**\n * Hide list header\n *\n * @since 1.5.0\n @\n */\n @Prop() hideListHeader = false;\n\n /**\n * Value changed\n * @since 2.0.0\n */\n @Event() valueChange: EventEmitter<string | string[]>;\n\n /**\n * Item selection changed\n * @deprecated since 2.0.0. Use `valueChange` instead.\n */\n @Event() itemSelectionChange: EventEmitter<string[]>;\n\n /**\n * Event dispatched whenever the text input changes.\n *\n * @since 2.0.0\n */\n @Event() inputChange: EventEmitter<string>;\n\n /**\n * Item added to selection\n */\n @Event() addItem: EventEmitter<string>;\n\n @State() dropdownShow = false;\n @State() selectedLabels: string[];\n @State() dropdownWrapperRef!: HTMLElement;\n @State() dropdownAnchor!: HTMLElement;\n @State() isDropdownEmpty = false;\n @State() hasFocus = false;\n @State() navigationItem: HTMLIxSelectItemElement;\n @State() inputFilterText: string;\n @State() inputValue: string;\n\n private inputRef!: HTMLInputElement;\n private dropdownRef!: HTMLIxDropdownElement;\n private addItemRef!: HTMLDivElement;\n\n private labelMutationObserver: MutationObserver;\n\n get items() {\n return [\n ...Array.from(this.hostElement.querySelectorAll('ix-select-item')),\n ...Array.from(\n this.hostElement.shadowRoot.querySelectorAll('ix-select-item')\n ),\n ];\n }\n\n get selectedItems() {\n return this.items.filter((item) => item.selected);\n }\n\n get addItemButton() {\n return this.hostElement.shadowRoot.querySelector('.add-item');\n }\n\n get isSingleMode() {\n return this.mode === 'single';\n }\n\n get isMultipleMode() {\n return this.mode === 'multiple';\n }\n\n get isEveryDropdownItemHidden() {\n return this.items.every((item) => item.classList.contains('d-none'));\n }\n\n @Watch('selectedIndices')\n watchSelectedIndices(value: string | string[]) {\n this.value = value;\n this.updateSelection();\n }\n\n @Watch('value')\n watchValue(value: string | string[]) {\n this.selectedIndices = value;\n this.updateSelection();\n }\n\n @Listen('itemClick')\n onItemClicked(event: CustomEvent<string>) {\n const newId = event.detail;\n this.itemClick(newId);\n }\n\n private itemClick(newId: string) {\n this.value = this.toggleValue(newId);\n this.updateSelection();\n this.emitValueChange();\n }\n\n private emitAddItem(value: string) {\n if (value.trim() === '') {\n return;\n }\n\n const newItem = document.createElement('ix-select-item');\n newItem.value = value;\n newItem.label = value;\n\n this.addItemRef.appendChild(newItem);\n\n this.clearInput();\n this.itemClick(value);\n this.addItem.emit(value);\n }\n\n private toggleValue(itemValue: string) {\n if (!this.isMultipleMode) {\n return itemValue;\n }\n\n if (!this.value) {\n return [itemValue];\n }\n\n let value = this.value;\n\n if (!Array.isArray(value)) {\n value = [value];\n }\n\n if (value.includes(itemValue)) {\n return value.filter((value) => value !== itemValue);\n } else {\n return [...value, itemValue];\n }\n }\n\n private updateSelection() {\n let ids = [];\n\n if (this.value) {\n ids = Array.isArray(this.value) ? [...this.value] : [this.value];\n }\n\n this.items.forEach((item) => {\n item.selected = ids.some((i) => i === item.value);\n });\n\n this.selectedLabels = this.selectedItems.map((item) => item.label);\n\n if (this.isSingleMode) {\n this.inputValue = this.selectedLabels?.length\n ? this.selectedLabels[0]\n : null;\n return;\n }\n\n this.inputValue = null;\n }\n\n private emitValueChange() {\n this.valueChange.emit(this.value);\n\n if (!this.value) {\n this.itemSelectionChange.emit(null);\n } else {\n this.itemSelectionChange.emit(\n Array.isArray(this.value) ? this.value : [this.value]\n );\n }\n }\n\n componentDidLoad() {\n this.inputRef.addEventListener('input', () => {\n this.inputChange.emit(this.inputRef.value);\n });\n }\n\n componentWillLoad() {\n if (this.selectedIndices && !this.value) {\n this.value = this.selectedIndices;\n }\n\n this.updateSelection();\n }\n\n @Listen('ix-select-item:labelChange')\n onLabelChange(event: IxSelectItemLabelChangeEvent) {\n event.preventDefault();\n event.stopImmediatePropagation();\n this.updateSelection();\n }\n\n disconnectedCallback() {\n if (this.labelMutationObserver) {\n this.labelMutationObserver.disconnect();\n }\n }\n\n private itemExists(item: string) {\n return this.items.find((i) => i.label === item);\n }\n\n private dropdownVisibilityChanged(event: CustomEvent<boolean>) {\n this.dropdownShow = event.detail;\n this.hasFocus = event.detail;\n\n if (event.detail) {\n this.inputRef.focus();\n this.inputRef.select();\n\n this.removeHiddenFromItems();\n this.isDropdownEmpty = this.isEveryDropdownItemHidden;\n } else {\n this.navigationItem = undefined;\n }\n }\n\n @Listen('keydown', {\n target: 'window',\n })\n async onKeyDown(event: KeyboardEvent) {\n if (event.code === 'ArrowDown' || event.code === 'ArrowUp') {\n this.onArrowNavigation(event, event.code);\n }\n\n if (!this.dropdownShow) {\n return;\n }\n\n if (event.code === 'Enter' || event.code === 'NumpadEnter') {\n await this.onEnterNavigation();\n }\n\n if (event.code === 'Escape') {\n this.dropdownShow = false;\n }\n }\n\n private async onEnterNavigation() {\n if (this.isMultipleMode) {\n return;\n }\n\n if (this.editable && !this.itemExists(this.inputFilterText)) {\n this.emitAddItem(this.inputFilterText);\n this.navigationItem = this.items[this.items.length - 1];\n }\n\n this.navigationItem?.onItemClick();\n await this.dropdownRef?.updatePosition();\n\n if (this.isSingleMode && !this.editable) {\n this.dropdownShow = false;\n }\n }\n\n private onArrowNavigation(\n event: KeyboardEvent,\n key: 'ArrowDown' | 'ArrowUp'\n ) {\n event.preventDefault();\n event.stopPropagation();\n\n this.dropdownShow = true;\n\n const items = this.items.filter((i) => !i.classList.contains('d-none'));\n if (this.navigationItem === undefined) {\n this.applyFocusTo(items[0]);\n return;\n }\n\n let indexOfNavigationItem = items.findIndex(\n (item) => item === this.navigationItem\n );\n\n if (key === 'ArrowDown') {\n indexOfNavigationItem++;\n } else {\n indexOfNavigationItem--;\n }\n\n const newFocusItem = items[indexOfNavigationItem];\n this.applyFocusTo(newFocusItem);\n }\n\n private applyFocusTo(element: HTMLIxSelectItemElement) {\n if (!element) {\n return;\n }\n this.navigationItem = element;\n\n setTimeout(() => {\n element.shadowRoot\n .querySelector('ix-dropdown-item')\n .shadowRoot.querySelector('button')\n .focus();\n });\n }\n\n private filterItemsWithTypeahead() {\n this.inputFilterText = this.inputRef.value;\n\n if (this.inputFilterText) {\n this.items.forEach((item) => {\n item.classList.remove('d-none');\n if (\n !item.label.toLowerCase().includes(this.inputFilterText.toLowerCase())\n ) {\n item.classList.add('d-none');\n }\n });\n } else {\n this.removeHiddenFromItems();\n }\n\n this.isDropdownEmpty = this.isEveryDropdownItemHidden;\n }\n\n private removeHiddenFromItems() {\n this.items.forEach((item) => {\n item.classList.remove('d-none');\n });\n }\n\n private clearInput() {\n this.inputRef.value = '';\n this.inputFilterText = '';\n }\n\n private clear() {\n this.clearInput();\n this.selectedLabels = [];\n this.value = [];\n this.valueChange.emit(null);\n this.dropdownShow = false;\n }\n\n private onInputBlur(e) {\n if (this.editable) {\n return;\n }\n\n if (this.isSingleMode) {\n if (this.dropdownShow && this.isDropdownEmpty) {\n this.dropdownShow = false;\n }\n }\n\n if (!this.dropdownShow && this.mode !== 'multiple') {\n e.target['value'] = this.selectedLabels;\n }\n }\n\n private placeholderValue() {\n if (this.editable) {\n return this.i18nPlaceholderEditable;\n }\n\n if (this.readonly) {\n return '';\n }\n\n return this.i18nPlaceholder;\n }\n\n private isAddItemVisible() {\n return (\n !this.itemExists(this.inputFilterText) &&\n this.editable &&\n this.inputFilterText\n );\n }\n\n render() {\n return (\n <Host>\n <div\n class={{\n select: true,\n disabled: this.disabled,\n readonly: this.readonly,\n }}\n ref={(ref) => {\n this.dropdownAnchor = ref;\n if (!this.editable) this.dropdownWrapperRef = ref;\n }}\n >\n <div class=\"input-container\">\n <div class=\"chips\">\n {this.isMultipleMode\n ? this.selectedItems?.map((item) => (\n <ix-filter-chip\n disabled={this.disabled || this.readonly}\n key={item.value}\n onCloseClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n this.itemClick(item.value);\n }}\n >\n {item.label}\n </ix-filter-chip>\n ))\n : ''}\n <div class=\"trigger\">\n <input\n data-testid=\"input\"\n disabled={this.disabled}\n readOnly={this.readonly}\n type=\"text\"\n class={{\n 'allow-clear':\n this.allowClear && !!this.selectedLabels?.length,\n }}\n placeholder={this.placeholderValue()}\n value={this.inputValue}\n ref={(ref) => (this.inputRef = ref)}\n onBlur={(e) => this.onInputBlur(e)}\n onInput={() => this.filterItemsWithTypeahead()}\n />\n {this.allowClear &&\n (this.selectedLabels?.length || this.inputFilterText) ? (\n <ix-icon-button\n class=\"clear\"\n icon={'clear'}\n ghost\n oval\n size=\"16\"\n onClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n this.clear();\n }}\n />\n ) : null}\n {this.disabled || this.readonly ? null : (\n <ix-icon-button\n data-select-dropdown\n class={{ 'dropdown-visible': this.dropdownShow }}\n icon=\"chevron-down-small\"\n ghost\n ref={(ref) => {\n if (this.editable) this.dropdownWrapperRef = ref;\n }}\n ></ix-icon-button>\n )}\n </div>\n </div>\n </div>\n </div>\n <ix-dropdown\n ref={(ref) => (this.dropdownRef = ref)}\n show={this.dropdownShow}\n closeBehavior={this.isMultipleMode ? 'outside' : 'both'}\n class={{\n 'd-none': this.disabled || this.readonly,\n }}\n anchor={this.dropdownAnchor}\n trigger={this.dropdownWrapperRef}\n onShowChanged={(e) => this.dropdownVisibilityChanged(e)}\n placement=\"bottom-start\"\n overwriteDropdownStyle={async () => {\n return {\n minWidth: `${this.hostElement.clientWidth}px`,\n };\n }}\n >\n <div\n class={{\n 'select-list-header': true,\n hidden: this.hideListHeader || this.isDropdownEmpty,\n }}\n title={this.i18nSelectListHeader}\n >\n {this.i18nSelectListHeader}\n </div>\n <slot></slot>\n <div ref={(ref) => (this.addItemRef = ref)} class=\"d-contents\"></div>\n {this.isAddItemVisible() ? (\n <ix-dropdown-item\n data-testid=\"add-item\"\n icon={'plus'}\n class={{\n 'add-item': true,\n }}\n label={this.inputFilterText}\n onItemClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n this.emitAddItem(this.inputFilterText);\n }}\n ></ix-dropdown-item>\n ) : null}\n {this.isDropdownEmpty && !this.editable ? (\n <div class=\"select-list-header\">{this.i18nNoMatches}</div>\n ) : (\n ''\n )}\n </ix-dropdown>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -17,7 +17,7 @@ test('renders', async ({ mount, page }) => {
|
|
|
17
17
|
`);
|
|
18
18
|
const element = page.locator('ix-select');
|
|
19
19
|
await expect(element).toHaveClass(/hydrated/);
|
|
20
|
-
await page.locator('
|
|
20
|
+
await page.locator('[data-select-dropdown]').click();
|
|
21
21
|
const dropdown = element.locator('ix-dropdown');
|
|
22
22
|
await expect(dropdown).toBeVisible();
|
|
23
23
|
await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();
|
|
@@ -32,7 +32,7 @@ test('editable mode', async ({ mount, page }) => {
|
|
|
32
32
|
`);
|
|
33
33
|
const element = page.locator('ix-select');
|
|
34
34
|
await expect(element).toHaveClass(/hydrated/);
|
|
35
|
-
await page.locator('
|
|
35
|
+
await page.locator('[data-select-dropdown]').click();
|
|
36
36
|
await page.getByTestId('input').fill('Not existing');
|
|
37
37
|
const dropdown = element.locator('ix-dropdown');
|
|
38
38
|
await expect(dropdown).toBeVisible();
|
|
@@ -41,11 +41,14 @@ test('editable mode', async ({ mount, page }) => {
|
|
|
41
41
|
const add = page.getByRole('button', { name: /Not existing/ });
|
|
42
42
|
await expect(add).toBeVisible();
|
|
43
43
|
await add.click();
|
|
44
|
-
await page.
|
|
44
|
+
await expect(page.getByTestId('input')).toHaveValue(/Not existing/);
|
|
45
|
+
await page.locator('[data-select-dropdown]').click();
|
|
45
46
|
await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();
|
|
46
47
|
await expect(page.getByRole('button', { name: 'Item 2' })).toBeVisible();
|
|
47
|
-
const addedItem = page
|
|
48
|
-
|
|
48
|
+
const addedItem = page
|
|
49
|
+
.getByRole('listitem')
|
|
50
|
+
.filter({ hasText: 'Not existing' });
|
|
51
|
+
await expect(addedItem).toBeVisible();
|
|
49
52
|
});
|
|
50
53
|
test('single selection', async ({ mount, page }) => {
|
|
51
54
|
await mount(`
|
|
@@ -55,12 +58,12 @@ test('single selection', async ({ mount, page }) => {
|
|
|
55
58
|
</ix-select>
|
|
56
59
|
`);
|
|
57
60
|
const element = page.locator('ix-select');
|
|
58
|
-
await element.evaluate((select) => (select.
|
|
59
|
-
await page.locator('
|
|
61
|
+
await element.evaluate((select) => (select.value = '22'));
|
|
62
|
+
await page.locator('[data-select-dropdown]').click();
|
|
60
63
|
const dropdown = element.locator('ix-dropdown');
|
|
61
64
|
await expect(dropdown).toBeVisible();
|
|
62
65
|
await expect(page.getByRole('button', { name: 'Item 1' })).toBeVisible();
|
|
63
|
-
await expect(page.getByRole('button', { name: 'Item 2' }).locator('
|
|
66
|
+
await expect(page.getByRole('button', { name: 'Item 2' }).locator('ix-icon')).toBeVisible();
|
|
64
67
|
});
|
|
65
68
|
test('multiple selection', async ({ mount, page }) => {
|
|
66
69
|
await mount(`
|
|
@@ -72,17 +75,19 @@ test('multiple selection', async ({ mount, page }) => {
|
|
|
72
75
|
</ix-select>
|
|
73
76
|
`);
|
|
74
77
|
const element = page.locator('ix-select');
|
|
75
|
-
await element.evaluate((select) => (select.
|
|
76
|
-
await page.locator('
|
|
78
|
+
await element.evaluate((select) => (select.value = []));
|
|
79
|
+
await page.locator('[data-select-dropdown]').click();
|
|
77
80
|
const dropdown = element.locator('ix-dropdown');
|
|
78
81
|
const chips = element.locator('.chips');
|
|
79
82
|
await expect(dropdown).toBeVisible();
|
|
80
|
-
const item1 =
|
|
81
|
-
const item3 =
|
|
83
|
+
const item1 = element.locator('ix-select-item').nth(0);
|
|
84
|
+
const item3 = element.locator('ix-select-item').nth(2);
|
|
82
85
|
await item1.click();
|
|
86
|
+
await page.locator('[data-select-dropdown]').click();
|
|
83
87
|
await item3.click();
|
|
84
|
-
await
|
|
85
|
-
await expect(
|
|
88
|
+
await page.locator('[data-select-dropdown]').click();
|
|
89
|
+
await expect(item1.locator('ix-icon')).toBeVisible();
|
|
90
|
+
await expect(item3.locator('ix-icon')).toBeVisible();
|
|
86
91
|
const chip1 = chips.getByTitle('Item 1');
|
|
87
92
|
const chip3 = chips.getByTitle('Item 3');
|
|
88
93
|
await expect(chip1).toBeVisible();
|
|
@@ -98,8 +103,8 @@ test('filter', async ({ mount, page }) => {
|
|
|
98
103
|
</ix-select>
|
|
99
104
|
`);
|
|
100
105
|
const element = page.locator('ix-select');
|
|
101
|
-
await element.evaluate((select) => (select.
|
|
102
|
-
await page.locator('
|
|
106
|
+
await element.evaluate((select) => (select.value = []));
|
|
107
|
+
await page.locator('[data-select-dropdown]').click();
|
|
103
108
|
const dropdown = element.locator('ix-dropdown');
|
|
104
109
|
await expect(dropdown).toBeVisible();
|
|
105
110
|
await element.locator('input').fill('abc');
|