@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
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-eb0be730.js';
|
|
2
|
+
import { f as flip, i as inline, s as shift, o as offset, a as autoUpdate, c as computePosition } from './floating-ui.dom.esm-cbe44820.js';
|
|
3
|
+
|
|
4
|
+
const dropdownCss = ":host{background-color:var(--theme-color-2);border-radius:var(--theme-default-border-radius);min-width:0px;z-index:var(--theme-z-index-dropdown);box-shadow:var(--theme-shadow-4);padding:0.25rem 0px}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .dropdown-header{display:flex;align-items:center;height:2.5rem;color:var(--theme-menu-header--color);padding:0 1rem}:host(.overflow){max-height:50vh;overflow-y:auto}:host(:not(.show)){display:none}";
|
|
5
|
+
|
|
6
|
+
const dropdownDisposer = new Map();
|
|
7
|
+
let sequenceId = 0;
|
|
8
|
+
const Dropdown = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
registerInstance(this, hostRef);
|
|
11
|
+
this.showChanged = createEvent(this, "showChanged", 7);
|
|
12
|
+
this.autoUpdateCleanup = null;
|
|
13
|
+
this.localUId = `dropdown-${sequenceId++}-${new Date().valueOf()}`;
|
|
14
|
+
this.suppressAutomaticPlacement = false;
|
|
15
|
+
this.show = false;
|
|
16
|
+
this.trigger = undefined;
|
|
17
|
+
this.anchor = undefined;
|
|
18
|
+
this.closeBehavior = 'both';
|
|
19
|
+
this.placement = 'bottom-start';
|
|
20
|
+
this.positioningStrategy = 'fixed';
|
|
21
|
+
this.header = undefined;
|
|
22
|
+
this.offset = undefined;
|
|
23
|
+
this.triggerEvent = 'click';
|
|
24
|
+
this.overwriteDropdownStyle = undefined;
|
|
25
|
+
this.toggleBind = this.toggle.bind(this);
|
|
26
|
+
this.openBind = this.open.bind(this);
|
|
27
|
+
if (dropdownDisposer.has(this.localUId)) {
|
|
28
|
+
console.warn('Dropdown with duplicated id detected');
|
|
29
|
+
}
|
|
30
|
+
dropdownDisposer.set(this.localUId, this.close.bind(this));
|
|
31
|
+
}
|
|
32
|
+
get dropdownItems() {
|
|
33
|
+
return Array.from(this.hostElement.querySelectorAll('ix-dropdown-item'));
|
|
34
|
+
}
|
|
35
|
+
get slotElement() {
|
|
36
|
+
return this.hostElement.shadowRoot.querySelector('slot');
|
|
37
|
+
}
|
|
38
|
+
addEventListenersFor(triggerEvent) {
|
|
39
|
+
switch (triggerEvent) {
|
|
40
|
+
case 'click':
|
|
41
|
+
this.triggerElement.addEventListener('click', this.openBind);
|
|
42
|
+
break;
|
|
43
|
+
case 'hover':
|
|
44
|
+
this.triggerElement.addEventListener('mouseenter', this.openBind);
|
|
45
|
+
break;
|
|
46
|
+
case 'focus':
|
|
47
|
+
this.triggerElement.addEventListener('focusin', this.openBind);
|
|
48
|
+
break;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
removeEventListenersFor(triggerEvent, triggerElement) {
|
|
52
|
+
switch (triggerEvent) {
|
|
53
|
+
case 'click':
|
|
54
|
+
if (this.closeBehavior === 'outside') {
|
|
55
|
+
triggerElement.removeEventListener('click', this.openBind);
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
triggerElement.removeEventListener('click', this.toggleBind);
|
|
59
|
+
}
|
|
60
|
+
break;
|
|
61
|
+
case 'hover':
|
|
62
|
+
triggerElement.removeEventListener('mouseenter', this.openBind);
|
|
63
|
+
break;
|
|
64
|
+
case 'focus':
|
|
65
|
+
triggerElement.removeEventListener('focusin', this.openBind);
|
|
66
|
+
break;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
async registerListener(element) {
|
|
70
|
+
this.triggerElement = await this.resolveElement(element);
|
|
71
|
+
if (this.triggerElement) {
|
|
72
|
+
if (Array.isArray(this.triggerEvent)) {
|
|
73
|
+
this.triggerEvent.forEach((triggerEvent) => {
|
|
74
|
+
this.addEventListenersFor(triggerEvent);
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
this.addEventListenersFor(this.triggerEvent);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
async unregisterListener(element) {
|
|
83
|
+
const trigger = await this.resolveElement(element);
|
|
84
|
+
if (Array.isArray(this.triggerEvent)) {
|
|
85
|
+
this.triggerEvent.forEach((triggerEvent) => {
|
|
86
|
+
this.removeEventListenersFor(triggerEvent, trigger);
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
this.removeEventListenersFor(this.triggerEvent, trigger);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
resolveElement(element) {
|
|
94
|
+
if (typeof element !== 'string') {
|
|
95
|
+
return Promise.resolve(element);
|
|
96
|
+
}
|
|
97
|
+
const selector = `#${element}`;
|
|
98
|
+
return new Promise((resolve) => {
|
|
99
|
+
if (document.querySelector(selector)) {
|
|
100
|
+
return resolve(document.querySelector(selector));
|
|
101
|
+
}
|
|
102
|
+
const observer = new MutationObserver(() => {
|
|
103
|
+
if (document.querySelector(selector)) {
|
|
104
|
+
resolve(document.querySelector(selector));
|
|
105
|
+
observer.disconnect();
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
observer.observe(document.body, {
|
|
109
|
+
childList: true,
|
|
110
|
+
subtree: true,
|
|
111
|
+
});
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
async changedShow(newShow) {
|
|
115
|
+
if (newShow) {
|
|
116
|
+
this.anchorElement = await (this.anchor
|
|
117
|
+
? this.resolveElement(this.anchor)
|
|
118
|
+
: this.resolveElement(this.trigger));
|
|
119
|
+
if (this.anchorElement) {
|
|
120
|
+
this.applyDropdownPosition();
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
if (newShow) {
|
|
124
|
+
dropdownDisposer.forEach((dispose, id) => {
|
|
125
|
+
if (id !== this.localUId && !this.isAnchorSubmenu()) {
|
|
126
|
+
dispose();
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
changedTrigger(newTriggerValue, oldTriggerValue) {
|
|
132
|
+
if (newTriggerValue) {
|
|
133
|
+
this.registerListener(newTriggerValue);
|
|
134
|
+
}
|
|
135
|
+
if (oldTriggerValue) {
|
|
136
|
+
this.unregisterListener(oldTriggerValue);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
clickOutside(event) {
|
|
140
|
+
var _a, _b;
|
|
141
|
+
const target = event.target;
|
|
142
|
+
if (event.defaultPrevented) {
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
if (this.show === false ||
|
|
146
|
+
this.closeBehavior === false ||
|
|
147
|
+
((_a = this.anchorElement) === null || _a === void 0 ? void 0 : _a.contains(target)) ||
|
|
148
|
+
((_b = this.triggerElement) === null || _b === void 0 ? void 0 : _b.contains(target))) {
|
|
149
|
+
return;
|
|
150
|
+
}
|
|
151
|
+
const clickInsideDropdown = this.isClickInsideDropdown(event);
|
|
152
|
+
switch (this.closeBehavior) {
|
|
153
|
+
case 'outside':
|
|
154
|
+
if (!clickInsideDropdown || this.anchor === target) {
|
|
155
|
+
this.close();
|
|
156
|
+
}
|
|
157
|
+
break;
|
|
158
|
+
case 'inside':
|
|
159
|
+
if (clickInsideDropdown && this.hostElement !== target) {
|
|
160
|
+
this.close();
|
|
161
|
+
}
|
|
162
|
+
break;
|
|
163
|
+
case 'both':
|
|
164
|
+
if (this.hostElement !== target) {
|
|
165
|
+
this.close();
|
|
166
|
+
}
|
|
167
|
+
break;
|
|
168
|
+
default:
|
|
169
|
+
this.close();
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
keydown(event) {
|
|
173
|
+
if (this.show === true && event.code === 'Escape') {
|
|
174
|
+
this.close();
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
isNestedDropdown(element) {
|
|
178
|
+
return element.closest('ix-dropdown');
|
|
179
|
+
}
|
|
180
|
+
isAnchorSubmenu() {
|
|
181
|
+
var _a;
|
|
182
|
+
const anchor = (_a = this.anchorElement) === null || _a === void 0 ? void 0 : _a.closest('ix-dropdown-item');
|
|
183
|
+
if (!anchor) {
|
|
184
|
+
return false;
|
|
185
|
+
}
|
|
186
|
+
return true;
|
|
187
|
+
}
|
|
188
|
+
toggle(event) {
|
|
189
|
+
event.preventDefault();
|
|
190
|
+
if (this.isNestedDropdown(event.target)) {
|
|
191
|
+
event.stopPropagation();
|
|
192
|
+
}
|
|
193
|
+
const { defaultPrevented } = this.showChanged.emit(this.show);
|
|
194
|
+
if (!defaultPrevented) {
|
|
195
|
+
this.show = !this.show;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
open(event) {
|
|
199
|
+
event.preventDefault();
|
|
200
|
+
if (this.isNestedDropdown(event.target)) {
|
|
201
|
+
event.stopPropagation();
|
|
202
|
+
}
|
|
203
|
+
const { defaultPrevented } = this.showChanged.emit(true);
|
|
204
|
+
if (!defaultPrevented) {
|
|
205
|
+
this.show = true;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
close() {
|
|
209
|
+
const { defaultPrevented } = this.showChanged.emit(false);
|
|
210
|
+
if (!defaultPrevented) {
|
|
211
|
+
this.show = false;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
async applyDropdownPosition() {
|
|
215
|
+
if (!this.anchorElement) {
|
|
216
|
+
return;
|
|
217
|
+
}
|
|
218
|
+
if (!this.dropdownRef) {
|
|
219
|
+
return;
|
|
220
|
+
}
|
|
221
|
+
const isSubmenu = this.isAnchorSubmenu();
|
|
222
|
+
let positionConfig = {
|
|
223
|
+
strategy: this.positioningStrategy,
|
|
224
|
+
middleware: [],
|
|
225
|
+
};
|
|
226
|
+
if (!this.suppressAutomaticPlacement) {
|
|
227
|
+
positionConfig.middleware.push(flip({ fallbackStrategy: 'initialPlacement' }));
|
|
228
|
+
}
|
|
229
|
+
positionConfig.placement = isSubmenu ? 'right-start' : this.placement;
|
|
230
|
+
positionConfig.middleware = [
|
|
231
|
+
...positionConfig.middleware,
|
|
232
|
+
inline(),
|
|
233
|
+
shift(),
|
|
234
|
+
];
|
|
235
|
+
if (this.offset) {
|
|
236
|
+
positionConfig.middleware.push(offset(this.offset));
|
|
237
|
+
}
|
|
238
|
+
if (this.autoUpdateCleanup) {
|
|
239
|
+
this.autoUpdateCleanup();
|
|
240
|
+
this.autoUpdateCleanup = null;
|
|
241
|
+
}
|
|
242
|
+
this.autoUpdateCleanup = autoUpdate(this.anchorElement, this.dropdownRef, async () => {
|
|
243
|
+
const computeResponse = await computePosition(this.anchorElement, this.dropdownRef, positionConfig);
|
|
244
|
+
Object.assign(this.dropdownRef.style, {
|
|
245
|
+
top: '0',
|
|
246
|
+
left: '0',
|
|
247
|
+
transform: `translate(${Math.round(computeResponse.x)}px,${Math.round(computeResponse.y)}px)`,
|
|
248
|
+
});
|
|
249
|
+
if (this.overwriteDropdownStyle) {
|
|
250
|
+
const overwriteStyle = await this.overwriteDropdownStyle({
|
|
251
|
+
dropdownRef: this.dropdownRef,
|
|
252
|
+
triggerRef: this.triggerElement,
|
|
253
|
+
});
|
|
254
|
+
Object.assign(this.dropdownRef.style, overwriteStyle);
|
|
255
|
+
}
|
|
256
|
+
}, {
|
|
257
|
+
ancestorResize: true,
|
|
258
|
+
ancestorScroll: true,
|
|
259
|
+
elementResize: true,
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
async componentDidLoad() {
|
|
263
|
+
this.changedTrigger(this.trigger, null);
|
|
264
|
+
}
|
|
265
|
+
async componentDidRender() {
|
|
266
|
+
var _a;
|
|
267
|
+
await this.applyDropdownPosition();
|
|
268
|
+
this.anchorElement = await (this.anchor
|
|
269
|
+
? this.resolveElement(this.anchor)
|
|
270
|
+
: this.resolveElement(this.trigger));
|
|
271
|
+
if (this.isAnchorSubmenu() &&
|
|
272
|
+
((_a = this.anchorElement) === null || _a === void 0 ? void 0 : _a.tagName) === 'IX-DROPDOWN-ITEM') {
|
|
273
|
+
this.anchorElement.isSubMenu = true;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
isClickInsideDropdown(event) {
|
|
277
|
+
const rect = this.dropdownRef.getBoundingClientRect();
|
|
278
|
+
return (rect.top <= event.clientY &&
|
|
279
|
+
event.clientY <= rect.top + rect.height &&
|
|
280
|
+
rect.left <= event.clientX &&
|
|
281
|
+
event.clientX <= rect.left + rect.width);
|
|
282
|
+
}
|
|
283
|
+
disconnectedCallback() {
|
|
284
|
+
if (this.autoUpdateCleanup) {
|
|
285
|
+
this.autoUpdateCleanup();
|
|
286
|
+
}
|
|
287
|
+
if (dropdownDisposer.has(this.localUId)) {
|
|
288
|
+
dropdownDisposer.delete(this.localUId);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Update position of dropdown
|
|
293
|
+
*/
|
|
294
|
+
async updatePosition() {
|
|
295
|
+
this.applyDropdownPosition();
|
|
296
|
+
}
|
|
297
|
+
render() {
|
|
298
|
+
return (h(Host, { ref: (ref) => (this.dropdownRef = ref), class: {
|
|
299
|
+
'dropdown-menu': true,
|
|
300
|
+
show: this.show,
|
|
301
|
+
overflow: true,
|
|
302
|
+
}, style: {
|
|
303
|
+
margin: '0',
|
|
304
|
+
minWidth: '0px',
|
|
305
|
+
position: this.positioningStrategy,
|
|
306
|
+
}, role: "list" }, h("div", { style: { display: 'contents' } }, this.header ? h("div", { class: "dropdown-header" }, this.header) : '', h("slot", null))));
|
|
307
|
+
}
|
|
308
|
+
get hostElement() { return getElement(this); }
|
|
309
|
+
static get watchers() { return {
|
|
310
|
+
"show": ["changedShow"],
|
|
311
|
+
"trigger": ["changedTrigger"]
|
|
312
|
+
}; }
|
|
313
|
+
};
|
|
314
|
+
Dropdown.style = dropdownCss;
|
|
315
|
+
|
|
316
|
+
export { Dropdown as ix_dropdown };
|
|
317
|
+
|
|
318
|
+
//# sourceMappingURL=ix-dropdown.entry.js.map
|
|
@@ -0,0 +1 @@
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AE,UAAU,EAAE,IAChC,IAAI,CAAC,MAAM,GAAG,WAAK,KAAK,EAAC,iBAAiB,IAAE,IAAI,CAAC,MAAM,CAAO,GAAG,EAAE,EAEpE,eAAa,CACT,CACD,EACP;GACH;;;;;;;;;;;","names":[],"sources":["./src/components/dropdown/dropdown.scss?tag=ix-dropdown&encapsulation=shadow","./src/components/dropdown/dropdown.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n\n@import 'legacy/mixins/fonts';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n:host {\n background-color: var(--theme-color-2);\n border-radius: var(--theme-default-border-radius);\n @include ix-component;\n min-width: 0px;\n z-index: var(--theme-z-index-dropdown);\n box-shadow: var(--theme-shadow-4);\n\n padding: 0.25rem 0px;\n\n .dropdown-header {\n display: flex;\n align-items: center;\n height: $large-control-height;\n color: var(--theme-menu-header--color);\n padding: 0 $default-space;\n }\n}\n\n:host(.overflow) {\n max-height: 50vh;\n overflow-y: auto;\n}\n\n:host(:not(.show)) {\n display: none;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n autoUpdate,\n computePosition,\n ComputePositionConfig,\n flip,\n inline,\n offset,\n shift,\n} from '@floating-ui/dom';\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { AlignedPlacement } from './placement';\n\n/**\n * @internal\n */\nexport type DropdownTriggerEvent = 'click' | 'hover' | 'focus';\n\ntype DisposeDropdown = () => void;\nconst dropdownDisposer = new Map<string, DisposeDropdown>();\nlet sequenceId = 0;\n\n@Component({\n tag: 'ix-dropdown',\n styleUrl: 'dropdown.scss',\n shadow: true,\n})\nexport class Dropdown {\n @Element() hostElement!: HTMLIxDropdownElement;\n\n /**\n * Suppress the automatic placement of the dropdown.\n *\n * @since 2.0.0\n */\n @Prop() suppressAutomaticPlacement = false;\n\n /**\n * Show dropdown\n */\n @Prop({ mutable: true, reflect: true }) show = false;\n\n /**\n * Define an element that triggers the dropdown.\n * A trigger can either be a string that will be interpreted as id attribute or a DOM element.\n */\n @Prop() trigger: string | HTMLElement;\n\n /**\n * Define an anchor element\n */\n @Prop() anchor: string | HTMLElement;\n\n /**\n * Controls if the dropdown will be closed in response to a click event depending on the position of the event relative to the dropdown.\n */\n @Prop() closeBehavior: 'inside' | 'outside' | 'both' | boolean = 'both';\n\n /**\n * Placement of the dropdown\n */\n @Prop() placement: AlignedPlacement = 'bottom-start';\n\n /**\n * Position strategy\n */\n @Prop() positioningStrategy: 'absolute' | 'fixed' = 'fixed';\n\n /**\n * An optional header shown at the top of the dropdown\n */\n @Prop() header?: string;\n\n /**\n * Move dropdown along main axis of alignment\n *\n * @internal\n */\n @Prop() offset: {\n mainAxis?: number;\n crossAxis?: number;\n alignmentAxis?: number;\n };\n\n /**\n * Define one or more events to open dropdown\n * @internal\n */\n @Prop() triggerEvent: DropdownTriggerEvent | DropdownTriggerEvent[] = 'click';\n\n /**\n * @internal\n */\n @Prop() overwriteDropdownStyle: (delegate: {\n dropdownRef: HTMLElement;\n triggerRef?: HTMLElement;\n }) => Promise<Partial<CSSStyleDeclaration>>;\n\n /**\n * Fire event after visibility of dropdown has changed\n */\n @Event() showChanged: EventEmitter<boolean>;\n\n private autoUpdateCleanup: () => void = null;\n\n private triggerElement?: Element;\n private anchorElement?: Element;\n\n private dropdownRef: HTMLElement;\n\n private toggleBind: any;\n private openBind: any;\n\n private localUId = `dropdown-${sequenceId++}-${new Date().valueOf()}`;\n\n constructor() {\n this.toggleBind = this.toggle.bind(this);\n this.openBind = this.open.bind(this);\n\n if (dropdownDisposer.has(this.localUId)) {\n console.warn('Dropdown with duplicated id detected');\n }\n\n dropdownDisposer.set(this.localUId, this.close.bind(this));\n }\n\n get dropdownItems() {\n return Array.from(this.hostElement.querySelectorAll('ix-dropdown-item'));\n }\n\n get slotElement() {\n return this.hostElement.shadowRoot.querySelector('slot');\n }\n\n private addEventListenersFor(triggerEvent: DropdownTriggerEvent) {\n switch (triggerEvent) {\n case 'click':\n this.triggerElement.addEventListener('click', this.openBind);\n break;\n\n case 'hover':\n this.triggerElement.addEventListener('mouseenter', this.openBind);\n break;\n\n case 'focus':\n this.triggerElement.addEventListener('focusin', this.openBind);\n break;\n }\n }\n\n private removeEventListenersFor(\n triggerEvent: DropdownTriggerEvent,\n triggerElement: Element\n ) {\n switch (triggerEvent) {\n case 'click':\n if (this.closeBehavior === 'outside') {\n triggerElement.removeEventListener('click', this.openBind);\n } else {\n triggerElement.removeEventListener('click', this.toggleBind);\n }\n break;\n\n case 'hover':\n triggerElement.removeEventListener('mouseenter', this.openBind);\n break;\n\n case 'focus':\n triggerElement.removeEventListener('focusin', this.openBind);\n break;\n }\n }\n\n private async registerListener(element: string | HTMLElement) {\n this.triggerElement = await this.resolveElement(element);\n if (this.triggerElement) {\n if (Array.isArray(this.triggerEvent)) {\n this.triggerEvent.forEach((triggerEvent) => {\n this.addEventListenersFor(triggerEvent);\n });\n } else {\n this.addEventListenersFor(this.triggerEvent);\n }\n }\n }\n\n private async unregisterListener(element: string | HTMLElement) {\n const trigger = await this.resolveElement(element);\n if (Array.isArray(this.triggerEvent)) {\n this.triggerEvent.forEach((triggerEvent) => {\n this.removeEventListenersFor(triggerEvent, trigger);\n });\n } else {\n this.removeEventListenersFor(this.triggerEvent, trigger);\n }\n }\n\n private resolveElement(element: string | HTMLElement): Promise<Element> {\n if (typeof element !== 'string') {\n return Promise.resolve(element);\n }\n\n const selector = `#${element}`;\n return new Promise((resolve) => {\n if (document.querySelector(selector)) {\n return resolve(document.querySelector(selector));\n }\n\n const observer = new MutationObserver(() => {\n if (document.querySelector(selector)) {\n resolve(document.querySelector(selector));\n observer.disconnect();\n }\n });\n\n observer.observe(document.body, {\n childList: true,\n subtree: true,\n });\n });\n }\n\n @Watch('show')\n async changedShow(newShow: boolean) {\n if (newShow) {\n this.anchorElement = await (this.anchor\n ? this.resolveElement(this.anchor)\n : this.resolveElement(this.trigger));\n\n if (this.anchorElement) {\n this.applyDropdownPosition();\n }\n }\n\n if (newShow) {\n dropdownDisposer.forEach((dispose, id) => {\n if (id !== this.localUId && !this.isAnchorSubmenu()) {\n dispose();\n }\n });\n }\n }\n\n @Watch('trigger')\n changedTrigger(\n newTriggerValue: string | HTMLElement,\n oldTriggerValue: string | HTMLElement\n ) {\n if (newTriggerValue) {\n this.registerListener(newTriggerValue);\n }\n\n if (oldTriggerValue) {\n this.unregisterListener(oldTriggerValue);\n }\n }\n\n @Listen('click', {\n target: 'window',\n })\n clickOutside(event: PointerEvent) {\n const target = event.target as HTMLElement;\n\n if (event.defaultPrevented) {\n return;\n }\n\n if (\n this.show === false ||\n this.closeBehavior === false ||\n this.anchorElement?.contains(target) ||\n this.triggerElement?.contains(target)\n ) {\n return;\n }\n\n const clickInsideDropdown = this.isClickInsideDropdown(event);\n\n switch (this.closeBehavior) {\n case 'outside':\n if (!clickInsideDropdown || this.anchor === target) {\n this.close();\n }\n break;\n case 'inside':\n if (clickInsideDropdown && this.hostElement !== target) {\n this.close();\n }\n break;\n case 'both':\n if (this.hostElement !== target) {\n this.close();\n }\n break;\n default:\n this.close();\n }\n }\n\n @Listen('keydown', {\n target: 'window',\n })\n keydown(event: KeyboardEvent) {\n if (this.show === true && event.code === 'Escape') {\n this.close();\n }\n }\n\n private isNestedDropdown(element: Element) {\n return element.closest('ix-dropdown');\n }\n\n private isAnchorSubmenu() {\n const anchor = this.anchorElement?.closest('ix-dropdown-item');\n if (!anchor) {\n return false;\n }\n\n return true;\n }\n\n private toggle(event: Event) {\n event.preventDefault();\n\n if (this.isNestedDropdown(event.target as HTMLElement)) {\n event.stopPropagation();\n }\n\n const { defaultPrevented } = this.showChanged.emit(this.show);\n\n if (!defaultPrevented) {\n this.show = !this.show;\n }\n }\n\n private open(event: Event) {\n event.preventDefault();\n\n if (this.isNestedDropdown(event.target as HTMLElement)) {\n event.stopPropagation();\n }\n\n const { defaultPrevented } = this.showChanged.emit(true);\n\n if (!defaultPrevented) {\n this.show = true;\n }\n }\n\n private close() {\n const { defaultPrevented } = this.showChanged.emit(false);\n\n if (!defaultPrevented) {\n this.show = false;\n }\n }\n\n private async applyDropdownPosition() {\n if (!this.anchorElement) {\n return;\n }\n if (!this.dropdownRef) {\n return;\n }\n const isSubmenu = this.isAnchorSubmenu();\n\n let positionConfig: Partial<ComputePositionConfig> = {\n strategy: this.positioningStrategy,\n middleware: [],\n };\n\n if (!this.suppressAutomaticPlacement) {\n positionConfig.middleware.push(\n flip({ fallbackStrategy: 'initialPlacement' })\n );\n }\n\n positionConfig.placement = isSubmenu ? 'right-start' : this.placement;\n\n positionConfig.middleware = [\n ...positionConfig.middleware,\n inline(),\n shift(),\n ];\n\n if (this.offset) {\n positionConfig.middleware.push(offset(this.offset));\n }\n\n if (this.autoUpdateCleanup) {\n this.autoUpdateCleanup();\n this.autoUpdateCleanup = null;\n }\n\n this.autoUpdateCleanup = autoUpdate(\n this.anchorElement,\n this.dropdownRef,\n async () => {\n const computeResponse = await computePosition(\n this.anchorElement,\n this.dropdownRef,\n positionConfig\n );\n\n Object.assign(this.dropdownRef.style, {\n top: '0',\n left: '0',\n transform: `translate(${Math.round(computeResponse.x)}px,${Math.round(\n computeResponse.y\n )}px)`,\n });\n if (this.overwriteDropdownStyle) {\n const overwriteStyle = await this.overwriteDropdownStyle({\n dropdownRef: this.dropdownRef,\n triggerRef: this.triggerElement as HTMLElement,\n });\n\n Object.assign(this.dropdownRef.style, overwriteStyle);\n }\n },\n {\n ancestorResize: true,\n ancestorScroll: true,\n elementResize: true,\n }\n );\n }\n\n async componentDidLoad() {\n this.changedTrigger(this.trigger, null);\n }\n\n async componentDidRender() {\n await this.applyDropdownPosition();\n this.anchorElement = await (this.anchor\n ? this.resolveElement(this.anchor)\n : this.resolveElement(this.trigger));\n\n if (\n this.isAnchorSubmenu() &&\n this.anchorElement?.tagName === 'IX-DROPDOWN-ITEM'\n ) {\n (this.anchorElement as HTMLIxDropdownItemElement).isSubMenu = true;\n }\n }\n\n private isClickInsideDropdown(event: PointerEvent) {\n const rect = this.dropdownRef.getBoundingClientRect();\n return (\n rect.top <= event.clientY &&\n event.clientY <= rect.top + rect.height &&\n rect.left <= event.clientX &&\n event.clientX <= rect.left + rect.width\n );\n }\n\n disconnectedCallback() {\n if (this.autoUpdateCleanup) {\n this.autoUpdateCleanup();\n }\n\n if (dropdownDisposer.has(this.localUId)) {\n dropdownDisposer.delete(this.localUId);\n }\n }\n\n /**\n * Update position of dropdown\n */\n @Method()\n async updatePosition() {\n this.applyDropdownPosition();\n }\n\n render() {\n return (\n <Host\n ref={(ref) => (this.dropdownRef = ref)}\n class={{\n 'dropdown-menu': true,\n show: this.show,\n overflow: true,\n }}\n style={{\n margin: '0',\n minWidth: '0px',\n position: this.positioningStrategy,\n }}\n role=\"list\"\n >\n <div style={{ display: 'contents' }}>\n {this.header ? <div class=\"dropdown-header\">{this.header}</div> : ''}\n\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-eb0be730.js';
|
|
2
2
|
|
|
3
|
-
const emptyStateCss = ":host *,:host *::after,:host *::before{box-sizing:border-box}:host .label__subHeader{color:var(--theme-color-soft-text)}:host(.emptyState.emptyState--large){display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1rem}:host(.emptyState.emptyState--large) .emptyState__icon{width:3.5rem;height:3.5rem;display:flex;justify-content:center;align-items:center}:host(.emptyState.emptyState--large) .emptyState__icon ix-icon{transform:scale(1.75)}:host(.emptyState.emptyState--large) .emptyState__content{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1.5rem}:host(.emptyState.emptyState--large) .emptyState__content .content__label{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0.5rem}:host(.emptyState.emptyState--compact){display:flex;flex-direction:row;justify-content:center;align-items:center;gap:1rem}:host(.emptyState.emptyState--compact) .emptyState__icon{display:flex;flex-direction:row;align-items:center;height:2.5rem}:host(.emptyState.emptyState--compact) .emptyState__content{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:1rem}:host(.emptyState.emptyState--compactBreak){display:flex;flex-direction:row;align-items:flex-start;gap:1rem}:host(.emptyState.emptyState--compactBreak) .emptyState__icon{display:flex;flex-direction:row;align-items:center;height:2.5rem}:host(.emptyState.emptyState--compactBreak) .emptyState__content{display:flex;flex-direction:column;align-items:flex-start;gap:0.5rem}";
|
|
3
|
+
const emptyStateCss = ":host{}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .label__subHeader{color:var(--theme-color-soft-text)}:host(.emptyState.emptyState--large){display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1rem}:host(.emptyState.emptyState--large) .emptyState__icon{width:3.5rem;height:3.5rem;display:flex;justify-content:center;align-items:center}:host(.emptyState.emptyState--large) .emptyState__icon ix-icon{transform:scale(1.75)}:host(.emptyState.emptyState--large) .emptyState__content{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1.5rem}:host(.emptyState.emptyState--large) .emptyState__content .content__label{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0.5rem}:host(.emptyState.emptyState--compact){display:flex;flex-direction:row;justify-content:center;align-items:center;gap:1rem}:host(.emptyState.emptyState--compact) .emptyState__icon{display:flex;flex-direction:row;align-items:center;height:2.5rem}:host(.emptyState.emptyState--compact) .emptyState__content{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:1rem}:host(.emptyState.emptyState--compactBreak){display:flex;flex-direction:row;align-items:flex-start;gap:1rem}:host(.emptyState.emptyState--compactBreak) .emptyState__icon{display:flex;flex-direction:row;align-items:center;height:2.5rem}:host(.emptyState.emptyState--compactBreak) .emptyState__content{display:flex;flex-direction:column;align-items:flex-start;gap:0.5rem}";
|
|
4
4
|
|
|
5
5
|
const EmptyState = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"ix-empty-state.entry.js","mappings":";;AAAA,MAAM,aAAa,GAAG,
|
|
1
|
+
{"file":"ix-empty-state.entry.js","mappings":";;AAAA,MAAM,aAAa,GAAG,iiEAAiiE;;MCqB1iE,UAAU;;;;kBAIc,OAAO;;;;;;EA2B1C,MAAM;IACJ,QACE,EAAC,IAAI,IAAC,KAAK,EAAE,0BAA0B,IAAI,CAAC,MAAM,EAAE,IACjD,IAAI,CAAC,IAAI,KACR,WAAK,KAAK,EAAC,kBAAkB,IAE3B,eACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAE,IAAI,CAAC,MAAM,KAAK,OAAO,GAAG,IAAI,GAAG,IAAI,EAC3C,KAAK,EAAC,iBAAiB,GACvB,CACE,CACP,EAED,WAAK,KAAK,EAAC,qBAAqB,IAC9B,WAAK,KAAK,EAAC,gBAAgB,IACzB,qBACE,OAAO,EAAE,IAAI,CAAC,MAAM,KAAK,OAAO,GAAG,eAAe,GAAG,SAAS,IAE7D,IAAI,CAAC,MAAM,CACE,EAEf,IAAI,CAAC,SAAS,KACb,WAAK,KAAK,EAAC,kBAAkB,IAAE,IAAI,CAAC,SAAS,CAAO,CACrD,CACG,EAEL,IAAI,CAAC,MAAM,KACV,WAAK,KAAK,EAAC,iBAAiB,IAC1B,iBAAW,OAAO,EAAE,MAAM,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,IAC9C,IAAI,CAAC,MAAM,CACF,CACR,CACP,CACG,CACD,EACP;GACH;;;;;;","names":[],"sources":["./src/components/empty-state/empty-state.scss?tag=ix-empty-state&encapsulation=shadow","./src/components/empty-state/empty-state.tsx"],"sourcesContent":["@import 'common-variables';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n .label__subHeader {\n color: var(--theme-color-soft-text);\n }\n}\n\n:host(.emptyState.emptyState--large) {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: $default-space;\n\n .emptyState__icon {\n width: 3.5rem;\n height: 3.5rem;\n display: flex;\n justify-content: center;\n align-items: center;\n\n ix-icon {\n transform: scale(1.75);\n }\n }\n\n .emptyState__content {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: $large-space;\n\n .content__label {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: $small-space;\n }\n }\n}\n\n:host(.emptyState.emptyState--compact) {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n gap: $default-space;\n\n .emptyState__icon {\n display: flex;\n flex-direction: row;\n align-items: center;\n height: $large-control-height;\n }\n\n .emptyState__content {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n gap: $default-space;\n }\n}\n\n:host(.emptyState.emptyState--compactBreak) {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n gap: $default-space;\n\n .emptyState__icon {\n display: flex;\n flex-direction: row;\n align-items: center;\n height: $large-control-height;\n }\n\n .emptyState__content {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: $small-space;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\n\nexport type EmptyStateLayout = 'large' | 'compact' | 'compactBreak';\n\n/**\n * @since 1.6.0\n */\n@Component({\n tag: 'ix-empty-state',\n styleUrl: 'empty-state.scss',\n shadow: true,\n})\nexport class EmptyState {\n /**\n * Optional empty state layout - one of 'large', 'compact' or 'compactBreak'\n */\n @Prop() layout: EmptyStateLayout = 'large';\n\n /**\n * Optional empty state icon\n */\n @Prop() icon: string;\n\n /**\n * Empty state header\n */\n @Prop() header!: string;\n\n /**\n * Optional empty state sub header\n */\n @Prop() subHeader: string;\n\n /**\n * Optional empty state action\n */\n @Prop() action: string;\n\n /**\n * Empty state action click event\n */\n @Event() actionClick: EventEmitter<void>;\n\n render() {\n return (\n <Host class={`emptyState emptyState--${this.layout}`}>\n {this.icon && (\n <div class=\"emptyState__icon\">\n {/* TODO: replace size for large layout with '56' if available */}\n <ix-icon\n name={this.icon}\n size={this.layout === 'large' ? '32' : '32'}\n color=\"color-soft-text\"\n />\n </div>\n )}\n\n <div class=\"emptyState__content\">\n <div class=\"content__label\">\n <ix-typography\n variant={this.layout === 'large' ? 'display-large' : 'default'}\n >\n {this.header}\n </ix-typography>\n\n {this.subHeader && (\n <div class=\"label__subHeader\">{this.subHeader}</div>\n )}\n </div>\n\n {this.action && (\n <div class=\"content__action\">\n <ix-button onClick={() => this.actionClick.emit()}>\n {this.action}\n </ix-button>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-eb0be730.js';
|
|
2
|
+
|
|
3
|
+
const eventListItemCss = ":host{}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .event-list-item{display:flex;align-items:center;position:relative;height:var(--event-list-item-height, 2.5rem);max-height:var(--event-list-item-height, 2.5rem);border-radius:var(--event-list-item-border-radius, 0.25rem);background-color:var(--theme-event-item--background);overflow:hidden;transition:150ms;cursor:pointer;margin-bottom:var(--event-list-item-margin-bottom, 0.5rem)}:host .event-list-item .indicator{height:100%;width:0.5rem;max-width:0.5rem;min-width:0.5rem;border-top-left-radius:var(--event-list-item-border-radius, 0.25rem);border-bottom-left-radius:var(--event-list-item-border-radius, 0.25rem)}:host .event-list-item .indicator-empty{border:var(--theme-weak-bdr-1);border-right:none}:host .event-list-item .event-list-item-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-grow:1;width:calc(100% - (1rem + 0.5rem));height:100%;border:0.062rem solid;border-color:var(--theme-event-item--border);border-top-left-radius:0;border-top-right-radius:var(--event-list-item-border-radius, 0.25rem);border-bottom-left-radius:0;border-bottom-right-radius:var(--event-list-item-border-radius, 0.25rem);border-left:none;padding-left:1rem}:host .event-list-item .event-content{display:flex;align-items:center;width:100%;height:var(--event-list-item-height, 100%);max-height:var(--event-list-item-height, 100%);white-space:var(--event-list-item-content-white-space, inherit);overflow:hidden}:host .event-list-item .chevron-icon{margin-left:auto;margin-right:0.5rem;opacity:0.6;align-self:center}:host .event-list-item:not(.selected):not(.disabled):not(:disabled){cursor:pointer}:host .event-list-item:not(.selected):not(.disabled):not(:disabled):hover{background-color:var(--theme-event-item--background--hover)}:host .event-list-item:not(.selected):not(.disabled):not(:disabled){cursor:pointer}:host .event-list-item:not(.selected):not(.disabled):not(:disabled):active,:host .event-list-item:not(.selected):not(.disabled):not(:disabled).active{background-color:var(--theme-event-item--background--active)}:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled){cursor:pointer}:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled):hover{border-color:var(--theme-event-item--border--hover)}:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled){cursor:pointer}:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled):active,:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled).active{border-color:var(--theme-event-item--border--active)}:host .event-list-item.selected .event-list-item-container{background-color:var(--theme-event-item--background--selected);border-color:var(--theme-event-item--border--selected)}:host .event-list-item[disabled],:host .event-list-item.disabled{pointer-events:none}:host .event-list-item[disabled] .event-list-item-container,:host .event-list-item.disabled .event-list-item-container{background-color:var(--theme-event-item--background--disabled);border-color:var(--theme-event-item--border--disabled)}:host(.disabled){pointer-events:none}";
|
|
4
|
+
|
|
5
|
+
const EventListItem = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.itemClick = createEvent(this, "itemClick", 7);
|
|
9
|
+
this.color = undefined;
|
|
10
|
+
this.selected = undefined;
|
|
11
|
+
this.disabled = undefined;
|
|
12
|
+
this.chevron = undefined;
|
|
13
|
+
}
|
|
14
|
+
handleItemClick() {
|
|
15
|
+
this.itemClick.emit();
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
var _a;
|
|
19
|
+
const color = ((_a = this.color) === null || _a === void 0 ? void 0 : _a.startsWith('--theme'))
|
|
20
|
+
? `var(${this.color})`
|
|
21
|
+
: `var(--theme-${this.color})`;
|
|
22
|
+
return (h(Host, { class: {
|
|
23
|
+
disabled: this.disabled,
|
|
24
|
+
} }, h("div", { class: {
|
|
25
|
+
'event-list-item': true,
|
|
26
|
+
selected: this.selected,
|
|
27
|
+
disabled: this.disabled,
|
|
28
|
+
} }, h("div", { class: `indicator ${!this.color ? 'indicator-empty' : ''}`, style: {
|
|
29
|
+
'background-color': this.color ? color : 'inherit',
|
|
30
|
+
opacity: `${this.disabled ? 0.4 : 1}`,
|
|
31
|
+
} }), h("div", { class: "event-list-item-container" }, h("div", { class: "event-content" }, h("slot", null)), this.chevron && (h("ix-icon", { name: 'chevron-right', size: "16", class: "chevron-icon" }))))));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
EventListItem.style = eventListItemCss;
|
|
35
|
+
|
|
36
|
+
export { EventListItem as ix_event_list_item };
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=ix-event-list-item.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-event-list-item.entry.js","mappings":";;AAAA,MAAM,gBAAgB,GAAG,yvHAAyvH;;MCwBrwH,aAAa;;;;;;;;;EA+BxB,eAAe;IACb,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;GACvB;EAED,MAAM;;IACJ,MAAM,KAAK,GAAG,CAAA,MAAA,IAAI,CAAC,KAAK,0CAAE,UAAU,CAAC,SAAS,CAAC;QAC3C,OAAO,IAAI,CAAC,KAAK,GAAG;QACpB,eAAe,IAAI,CAAC,KAAK,GAAG,CAAC;IAEjC,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACxB,IAED,WACE,KAAK,EAAE;QACL,iBAAiB,EAAE,IAAI;QACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACxB,IAED,WACE,KAAK,EAAE,aAAa,CAAC,IAAI,CAAC,KAAK,GAAG,iBAAiB,GAAG,EAAE,EAAE,EAC1D,KAAK,EAAE;QACL,kBAAkB,EAAE,IAAI,CAAC,KAAK,GAAG,KAAK,GAAG,SAAS;QAClD,OAAO,EAAE,GAAG,IAAI,CAAC,QAAQ,GAAG,GAAG,GAAG,CAAC,EAAE;OACtC,GACI,EAEP,WAAK,KAAK,EAAC,2BAA2B,IACpC,WAAK,KAAK,EAAC,eAAe,IACxB,eAAa,CACT,EACL,IAAI,CAAC,OAAO,KACX,eACE,IAAI,EAAE,eAAe,EACrB,IAAI,EAAC,IAAI,EACT,KAAK,EAAC,cAAc,GACX,CACZ,CACG,CACF,CACD,EACP;GACH;;;;;;","names":[],"sources":["./src/components/event-list-item/event-list-item.scss?tag=ix-event-list-item&encapsulation=shadow","./src/components/event-list-item/event-list-item.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'mixins/text-truncation';\n@import 'mixins/hover';\n@import 'mixins/shadow-dom/component';\n@import 'mixins/shadow-dom/host-disabled';\n@import 'common-variables';\n\n$default-event-list-item-height: 2.5rem;\n\n:host {\n @include ix-component;\n\n .event-list-item {\n display: flex;\n align-items: center;\n position: relative;\n height: var(--event-list-item-height, $default-event-list-item-height);\n max-height: var(--event-list-item-height, $default-event-list-item-height);\n border-radius: var(--event-list-item-border-radius, $default-border-radius);\n background-color: var(--theme-event-item--background);\n overflow: hidden;\n transition: $default-time;\n cursor: pointer;\n margin-bottom: var(--event-list-item-margin-bottom, $small-space);\n\n .indicator {\n height: 100%;\n width: $small-space;\n max-width: $small-space;\n min-width: $small-space;\n border-top-left-radius: var(\n --event-list-item-border-radius,\n $default-border-radius\n );\n border-bottom-left-radius: var(\n --event-list-item-border-radius,\n $default-border-radius\n );\n }\n\n .indicator-empty {\n border: var(--theme-weak-bdr-1);\n border-right: none;\n }\n\n .event-list-item-container {\n @include ellipsis;\n\n display: flex;\n flex-grow: 1;\n width: calc(100% - (#{$default-space} + #{$small-space}));\n height: 100%;\n border: 0.062rem solid;\n border-color: var(--theme-event-item--border);\n border-top-left-radius: 0;\n border-top-right-radius: var(\n --event-list-item-border-radius,\n $default-border-radius\n );\n border-bottom-left-radius: 0;\n border-bottom-right-radius: var(\n --event-list-item-border-radius,\n $default-border-radius\n );\n border-left: none;\n padding-left: $default-space;\n }\n\n .event-content {\n display: flex;\n align-items: center;\n width: 100%;\n height: var(--event-list-item-height, 100%);\n max-height: var(--event-list-item-height, 100%);\n white-space: var(--event-list-item-content-white-space, inherit);\n overflow: hidden;\n }\n\n .chevron-icon {\n margin-left: auto;\n margin-right: $small-space;\n opacity: 0.6;\n align-self: center;\n }\n\n &:not(.selected) {\n @include hover {\n background-color: var(--theme-event-item--background--hover);\n }\n\n @include active {\n background-color: var(--theme-event-item--background--active);\n }\n\n .event-list-item-container {\n @include hover {\n border-color: var(--theme-event-item--border--hover);\n }\n\n @include active {\n border-color: var(--theme-event-item--border--active);\n }\n }\n }\n\n &.selected .event-list-item-container {\n background-color: var(--theme-event-item--background--selected);\n border-color: var(--theme-event-item--border--selected);\n }\n\n &[disabled],\n &.disabled {\n pointer-events: none;\n\n .event-list-item-container {\n background-color: var(--theme-event-item--background--disabled);\n border-color: var(--theme-event-item--border--disabled);\n }\n }\n }\n}\n\n@include host-disabled;\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'ix-event-list-item',\n styleUrl: 'event-list-item.scss',\n shadow: true,\n})\nexport class EventListItem {\n /**\n * Color of the status indicator.\n * You can find a list of all available colors in our documentation.\n * Example values are `--theme-color-alarm` or `color-alarm`\n *\n * @see https://ix.siemens.io/docs/theming/colors/\n */\n @Prop() color: string;\n\n /**\n * Show event list item as selected\n */\n @Prop() selected: boolean;\n\n /**\n * Disable event list item\n */\n @Prop() disabled: boolean;\n\n /**\n * Show chevron on right side of the event list item\n */\n @Prop() chevron: boolean;\n\n /**\n * Event list item click\n */\n @Event() itemClick: EventEmitter;\n\n @Listen('click', { passive: true })\n handleItemClick() {\n this.itemClick.emit();\n }\n\n render() {\n const color = this.color?.startsWith('--theme')\n ? `var(${this.color})`\n : `var(--theme-${this.color})`;\n\n return (\n <Host\n class={{\n disabled: this.disabled,\n }}\n >\n <div\n class={{\n 'event-list-item': true,\n selected: this.selected,\n disabled: this.disabled,\n }}\n >\n <div\n class={`indicator ${!this.color ? 'indicator-empty' : ''}`}\n style={{\n 'background-color': this.color ? color : 'inherit',\n opacity: `${this.disabled ? 0.4 : 1}`,\n }}\n ></div>\n\n <div class=\"event-list-item-container\">\n <div class=\"event-content\">\n <slot></slot>\n </div>\n {this.chevron && (\n <ix-icon\n name={'chevron-right'}\n size=\"16\"\n class=\"chevron-icon\"\n ></ix-icon>\n )}\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-eb0be730.js';
|
|
2
|
+
import { c as createMutationObserver } from './mutation-observer-7d01bbea.js';
|
|
3
|
+
import { a as convertToRemString } from './rwd.util-cfc2ea72.js';
|
|
4
|
+
|
|
5
|
+
const eventListCss = ":host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host ul{list-style:none;padding:0;margin-bottom:0}:host(.item-size-l){--event-list-item-height:6.5rem;--event-list-item-content-white-space:normal}:host(.compact){--event-list-item-border-radius:0;--event-list-item-margin-bottom:0}";
|
|
6
|
+
|
|
7
|
+
const EventList = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
|
+
this.mutationObserver = createMutationObserver(this.onMutation.bind(this));
|
|
11
|
+
this.itemHeight = 'S';
|
|
12
|
+
this.compact = false;
|
|
13
|
+
this.animated = true;
|
|
14
|
+
this.chevron = undefined;
|
|
15
|
+
}
|
|
16
|
+
watchChevron(chevron) {
|
|
17
|
+
this.handleChevron(chevron);
|
|
18
|
+
}
|
|
19
|
+
componentDidLoad() {
|
|
20
|
+
if (this.animated) {
|
|
21
|
+
this.triggerFadeIn();
|
|
22
|
+
}
|
|
23
|
+
if (!Number.isNaN(Number(this.itemHeight))) {
|
|
24
|
+
const height = convertToRemString(this.itemHeight);
|
|
25
|
+
this.hostElement
|
|
26
|
+
.querySelectorAll('ix-event-list-item')
|
|
27
|
+
.forEach((item) => {
|
|
28
|
+
this.setCustomHeight(item, height);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
this.handleChevron(this.chevron);
|
|
32
|
+
this.mutationObserver.observe(this.hostElement, {
|
|
33
|
+
childList: true,
|
|
34
|
+
subtree: true,
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
onMutation(mutationRecords) {
|
|
38
|
+
this.triggerFadeOut().then(() => {
|
|
39
|
+
if (typeof this.itemHeight === 'number') {
|
|
40
|
+
const height = convertToRemString(this.itemHeight);
|
|
41
|
+
mutationRecords
|
|
42
|
+
.filter((mutation) => mutation.type === 'childList')
|
|
43
|
+
.forEach((mutation) => mutation.addedNodes.forEach((item) => {
|
|
44
|
+
const itemHtml = item;
|
|
45
|
+
this.setCustomHeight(itemHtml, height);
|
|
46
|
+
}));
|
|
47
|
+
}
|
|
48
|
+
this.handleChevron(this.chevron);
|
|
49
|
+
this.triggerFadeIn();
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
setCustomHeight(item, height) {
|
|
53
|
+
item.style.setProperty('--event-list-item-height', height);
|
|
54
|
+
}
|
|
55
|
+
triggerFadeOut() {
|
|
56
|
+
if (!this.animated) {
|
|
57
|
+
return Promise.resolve();
|
|
58
|
+
}
|
|
59
|
+
const keyframes = [
|
|
60
|
+
{
|
|
61
|
+
opacity: 1,
|
|
62
|
+
easing: 'ease-in',
|
|
63
|
+
},
|
|
64
|
+
{ opacity: 0 },
|
|
65
|
+
];
|
|
66
|
+
const listElement = this.hostElement.shadowRoot.querySelector('ul');
|
|
67
|
+
return listElement.animate(keyframes, {
|
|
68
|
+
duration: EventList.fadeOutDuration,
|
|
69
|
+
}).finished;
|
|
70
|
+
}
|
|
71
|
+
triggerFadeIn() {
|
|
72
|
+
if (!this.animated) {
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
const listItems = this.hostElement.querySelectorAll('ix-event-list-item');
|
|
76
|
+
listItems.forEach((e, i) => {
|
|
77
|
+
const delay = i * 80;
|
|
78
|
+
const offset = delay / (delay + EventList.fadeInDuration);
|
|
79
|
+
const keyframes = [
|
|
80
|
+
{ opacity: 0 },
|
|
81
|
+
{ opacity: 0, easing: 'ease-out', offset },
|
|
82
|
+
{ opacity: 1 },
|
|
83
|
+
];
|
|
84
|
+
const options = {
|
|
85
|
+
duration: EventList.fadeInDuration + delay,
|
|
86
|
+
iterations: 1,
|
|
87
|
+
};
|
|
88
|
+
e.animate(keyframes, options);
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
handleChevron(chevron) {
|
|
92
|
+
const listItems = this.hostElement.querySelectorAll('ix-event-list-item');
|
|
93
|
+
listItems.forEach((e) => {
|
|
94
|
+
if (chevron) {
|
|
95
|
+
e.setAttribute('chevron', 'true');
|
|
96
|
+
}
|
|
97
|
+
else if (chevron !== undefined) {
|
|
98
|
+
e.removeAttribute('chevron');
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
render() {
|
|
103
|
+
return (h(Host, { class: {
|
|
104
|
+
'item-size-s': this.itemHeight === 'S',
|
|
105
|
+
'item-size-l': this.itemHeight === 'L',
|
|
106
|
+
compact: this.compact,
|
|
107
|
+
} }, h("ul", null, h("slot", null))));
|
|
108
|
+
}
|
|
109
|
+
get hostElement() { return getElement(this); }
|
|
110
|
+
static get watchers() { return {
|
|
111
|
+
"chevron": ["watchChevron"]
|
|
112
|
+
}; }
|
|
113
|
+
};
|
|
114
|
+
EventList.fadeOutDuration = 50;
|
|
115
|
+
EventList.fadeInDuration = 150;
|
|
116
|
+
EventList.style = eventListCss;
|
|
117
|
+
|
|
118
|
+
export { EventList as ix_event_list };
|
|
119
|
+
|
|
120
|
+
//# sourceMappingURL=ix-event-list.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-event-list.entry.js","mappings":";;;;AAAA,MAAM,YAAY,GAAG,42BAA42B;;MCkBp3B,SAAS;;;IACH,qBAAgB,GAAG,sBAAsB,CACxD,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAC3B,CAAC;sBAauC,GAAG;mBAK1B,KAAK;oBAKJ,IAAI;;;EAQvB,YAAY,CAAC,OAA4B;IACvC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;GAC7B;EAED,gBAAgB;IACd,IAAI,IAAI,CAAC,QAAQ,EAAE;MACjB,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB;IAED,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,EAAE;MAC1C,MAAM,MAAM,GAAG,kBAAkB,CAAC,IAAI,CAAC,UAAoB,CAAC,CAAC;MAC7D,IAAI,CAAC,WAAW;SACb,gBAAgB,CAAC,oBAAoB,CAAC;SACtC,OAAO,CAAC,CAAC,IAAI;QACZ,IAAI,CAAC,eAAe,CAAC,IAAmB,EAAE,MAAM,CAAC,CAAC;OACnD,CAAC,CAAC;KACN;IAED,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAEjC,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE;MAC9C,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,EAAE,IAAI,CAAC,OAAO;OACtB,IAED,cACE,eAAa,CACV,CACA,EACP;GACH;;;;;;AAnJuB,yBAAe,GAAG,EAAE,CAAC;AACrB,wBAAc,GAAG,GAAG,CAAC;;;;;","names":[],"sources":["./src/components/event-list/event-list.scss?tag=ix-event-list&encapsulation=shadow","./src/components/event-list/event-list.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: block;\n position: relative;\n\n ul {\n list-style: none;\n padding: 0;\n margin-bottom: 0;\n }\n}\n\n:host(.item-size-l) {\n --event-list-item-height: 6.5rem;\n --event-list-item-content-white-space: normal;\n}\n\n:host(.compact) {\n --event-list-item-border-radius: 0;\n --event-list-item-margin-bottom: 0;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, Prop, Watch } from '@stencil/core';\nimport { createMutationObserver } from '../utils/mutation-observer';\nimport { convertToRemString } from '../utils/rwd.util';\n\n@Component({\n tag: 'ix-event-list',\n styleUrl: 'event-list.scss',\n shadow: true,\n})\nexport class EventList {\n private readonly mutationObserver = createMutationObserver(\n this.onMutation.bind(this)\n );\n\n private static readonly fadeOutDuration = 50;\n private static readonly fadeInDuration = 150;\n\n @Element() hostElement!: HTMLIxEventListElement;\n\n /**\n * Determines the height of list items.\n * This can either be one of two predefined sizes ('S' or 'L') or an absolute pixel value.\n * In case a number is supplied it will get converted to rem internally.\n * Defaults to 'S'.\n */\n @Prop() itemHeight: 'S' | 'L' | number = 'S';\n\n /**\n * Make event-list items more compact\n */\n @Prop() compact = false;\n\n /**\n * Animate state change transitions. Defaults to 'true'.\n */\n @Prop() animated = true;\n\n /**\n * Display a chevron icon in list items. Defaults to 'false'\n */\n @Prop() chevron: boolean;\n\n @Watch('chevron')\n watchChevron(chevron: boolean | undefined) {\n this.handleChevron(chevron);\n }\n\n componentDidLoad() {\n if (this.animated) {\n this.triggerFadeIn();\n }\n\n if (!Number.isNaN(Number(this.itemHeight))) {\n const height = convertToRemString(this.itemHeight as number);\n this.hostElement\n .querySelectorAll('ix-event-list-item')\n .forEach((item) => {\n this.setCustomHeight(item as HTMLElement, height);\n });\n }\n\n this.handleChevron(this.chevron);\n\n this.mutationObserver.observe(this.hostElement, {\n childList: true,\n subtree: true,\n });\n }\n\n private onMutation(mutationRecords: Array<MutationRecord>) {\n this.triggerFadeOut().then(() => {\n if (typeof this.itemHeight === 'number') {\n const height = convertToRemString(this.itemHeight);\n\n mutationRecords\n .filter((mutation) => mutation.type === 'childList')\n .forEach((mutation) =>\n mutation.addedNodes.forEach((item) => {\n const itemHtml = item as HTMLElement;\n\n this.setCustomHeight(itemHtml, height);\n })\n );\n }\n\n this.handleChevron(this.chevron);\n\n this.triggerFadeIn();\n });\n }\n\n private setCustomHeight(item: HTMLElement, height: string) {\n item.style.setProperty('--event-list-item-height', height);\n }\n\n private triggerFadeOut(): Promise<any> {\n if (!this.animated) {\n return Promise.resolve();\n }\n\n const keyframes = [\n {\n opacity: 1,\n easing: 'ease-in',\n },\n { opacity: 0 },\n ];\n const listElement = this.hostElement.shadowRoot.querySelector('ul');\n return listElement.animate(keyframes, {\n duration: EventList.fadeOutDuration,\n }).finished;\n }\n\n private triggerFadeIn() {\n if (!this.animated) {\n return;\n }\n\n const listItems = this.hostElement.querySelectorAll('ix-event-list-item');\n listItems.forEach((e, i) => {\n const delay = i * 80;\n const offset = delay / (delay + EventList.fadeInDuration);\n const keyframes = [\n { opacity: 0 },\n { opacity: 0, easing: 'ease-out', offset },\n { opacity: 1 },\n ];\n const options = {\n duration: EventList.fadeInDuration + delay,\n iterations: 1,\n };\n e.animate(keyframes, options);\n });\n }\n\n private handleChevron(chevron: boolean | undefined): void {\n const listItems = this.hostElement.querySelectorAll('ix-event-list-item');\n\n listItems.forEach((e) => {\n if (chevron) {\n e.setAttribute('chevron', 'true');\n } else if (chevron !== undefined) {\n e.removeAttribute('chevron');\n }\n });\n }\n\n render() {\n return (\n <Host\n class={{\n 'item-size-s': this.itemHeight === 'S',\n 'item-size-l': this.itemHeight === 'L',\n compact: this.compact,\n }}\n >\n <ul>\n <slot></slot>\n </ul>\n </Host>\n );\n }\n}\n"],"version":3}
|