@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,147 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-eb0be730.js';
|
|
2
|
+
import { b as a11yHostAttributes } from './a11y-d5dd20ad.js';
|
|
3
|
+
|
|
4
|
+
const sliderCss = ":host{display:flex;flex-direction:column;min-height:2rem;--thumb-size:1rem;--value:0;--trace-start:0;--trace-end:0;--trace-reference:0;--trace-reference-color:var(--theme-color-8);--trace-color:var(--theme-color-dynamic);--tick-color:var(--theme-color-7);--tick-color--active:var(--theme-color-dynamic);--track-color:var(--theme-color-component-4);}: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 input[type=range]{position:absolute;top:50%;transform:translateY(-50%);left:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;cursor:pointer;width:100%;height:1rem;margin:0}:host input[type=range].trace::before{content:\"\";position:absolute;display:block;z-index:-1;width:calc(7px + 100% * var(--trace-end) - 16px * var(--trace-end) - (7px + 100% * var(--trace-start) - 16px * var(--trace-start)));left:calc(7px + 100% * var(--trace-start) - 16px * var(--trace-start));height:4px;background-color:var(--trace-color);top:50%;transform:translateY(-50%)}:host input[type=range].trace::after{content:\"\";position:absolute;display:block;width:2px;height:16px;background-color:var(--trace-reference-color);top:50%;transform:translateY(-50%);left:calc(7px + 100% * var(--trace-reference) - 16px * var(--trace-reference))}:host input[type=range]::-webkit-slider-runnable-track{background:transparent;height:0.25rem}:host input[type=range]::-moz-range-track{background:transparent;height:0.25rem}:host input[type=range i]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;margin-top:-6px}:host input[type=range i]::-moz-range-thumb{border:none;border-radius:0}:host input[type=range]::-webkit-slider-thumb{border-radius:100px;background-color:var(--theme-color-dynamic);height:var(--thumb-size);width:var(--thumb-size);-webkit-transition:all var(--theme-default-time) ease-in-out;transition:all var(--theme-default-time) ease-in-out;z-index:10}:host input[type=range]::-moz-range-thumb{border-radius:100px;background-color:var(--theme-color-dynamic);height:var(--thumb-size);width:var(--thumb-size);-moz-transition:all var(--theme-default-time) ease-in-out;transition:all var(--theme-default-time) ease-in-out;z-index:10}:host input[type=range]:hover::-webkit-slider-thumb{transform:scale(1.2);background-color:var(--theme-color-dynamic)}:host input[type=range]:hover::-moz-range-thumb{transform:scale(1.2);background-color:var(--theme-color-dynamic)}:host input[type=range]:active::-webkit-slider-thumb{transform:scale(1.2);background-color:var(--theme-color-dynamic)}:host input[type=range]:active::-moz-range-thumb{transform:scale(1.2);background-color:var(--theme-color-dynamic)}:host input[type=range]:focus{outline:none}:host input[type=range]:focus-visible::-webkit-slider-thumb{outline:1px solid var(--theme-color-focus-bdr);outline-offset:0.125rem}:host input[type=range]:focus-visible::-moz-range-thumb{outline:1px solid var(--theme-color-focus-bdr);outline-offset:0.125rem}:host .ticks{display:flex;position:relative;top:50%;transform:translateY(-50%)}:host .ticks .tick{display:block;position:absolute;width:8px;height:8px;background-color:var(--tick-color);border-radius:100px;top:50%;transform:translateY(-50%);left:calc(var(--tick-value) * 100% - 4px)}:host .ticks .tick.tick-active{background-color:var(--tick-color--active)}:host .slider{position:relative;display:block;width:100%;height:1.5rem}:host .track{position:absolute;background-color:var(--track-color);height:4px;width:calc(100% - 1rem);margin-left:0.5rem;top:50%;transform:translateY(-50%);left:0px}:host .thumb{display:block;position:absolute;background-color:transparent;height:1rem;width:1rem;border-radius:100px;left:0px;top:50%;transform:translateY(-50%)}:host .hide-tooltip{display:none}:host .label{display:flex;position:relative;align-items:center;justify-content:space-between;width:100%;margin-top:0.5rem;min-height:0px}:host .label-start{margin-left:0.5rem}:host .label-end{margin-right:0.5rem}:host .label-error{margin-left:0.5rem}:host(.error){--trace-color:var(--theme-color-alarm-40);--tick-color--active:var(--theme-color-alarm)}:host(.error) input[type=range]::-webkit-slider-thumb{background-color:var(--theme-color-alarm)}:host(.error) input[type=range]::-moz-range-thumb{background-color:var(--theme-color-alarm)}:host(.disabled){pointer-events:none;--track-color:var(--theme-color-component-3);--trace-color:var(--theme-color-3);--tick-color:var(--theme-color-7);--tick-color--active:var(--theme-color-7)}:host(.disabled) input[type=range]::-webkit-slider-thumb{background-color:var(--theme-color-7)}:host(.disabled) input[type=range]::-moz-range-thumb{background-color:var(--theme-color-7)}";
|
|
5
|
+
|
|
6
|
+
function between(min, value, max) {
|
|
7
|
+
if (value < min) {
|
|
8
|
+
return min;
|
|
9
|
+
}
|
|
10
|
+
else if (value > max) {
|
|
11
|
+
return max;
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
return value;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
const IxSlider = class {
|
|
18
|
+
constructor(hostRef) {
|
|
19
|
+
registerInstance(this, hostRef);
|
|
20
|
+
this.valueChange = createEvent(this, "valueChange", 7);
|
|
21
|
+
this.step = undefined;
|
|
22
|
+
this.min = 0;
|
|
23
|
+
this.max = 100;
|
|
24
|
+
this.value = 0;
|
|
25
|
+
this.marker = undefined;
|
|
26
|
+
this.trace = false;
|
|
27
|
+
this.traceReference = 0;
|
|
28
|
+
this.disabled = false;
|
|
29
|
+
this.error = undefined;
|
|
30
|
+
this.rangeInput = 0;
|
|
31
|
+
this.rangeMin = 0;
|
|
32
|
+
this.rangeMax = 100;
|
|
33
|
+
this.rangeTraceReference = 0;
|
|
34
|
+
this.showTooltip = false;
|
|
35
|
+
}
|
|
36
|
+
get tooltip() {
|
|
37
|
+
return this.hostElement.shadowRoot.querySelector('ix-tooltip');
|
|
38
|
+
}
|
|
39
|
+
get pseudoThumb() {
|
|
40
|
+
return this.hostElement.shadowRoot.querySelector('.thumb');
|
|
41
|
+
}
|
|
42
|
+
get slider() {
|
|
43
|
+
return this.hostElement.shadowRoot.getElementById('slider');
|
|
44
|
+
}
|
|
45
|
+
onShowTooltipChange() {
|
|
46
|
+
if (this.showTooltip) {
|
|
47
|
+
this.tooltip.showTooltip(this.pseudoThumb);
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
this.tooltip.hideTooltip();
|
|
51
|
+
}
|
|
52
|
+
componentWillLoad() {
|
|
53
|
+
this.a11yAttributes = a11yHostAttributes(this.hostElement, [
|
|
54
|
+
'role',
|
|
55
|
+
'aria-valuemin',
|
|
56
|
+
'aria-valuemax',
|
|
57
|
+
'aria-valuenow',
|
|
58
|
+
]);
|
|
59
|
+
this.updateRangeVariables();
|
|
60
|
+
}
|
|
61
|
+
updateRangeVariables() {
|
|
62
|
+
this.rangeInput = between(this.min, this.value, this.max);
|
|
63
|
+
this.rangeTraceReference = between(this.min, this.traceReference, this.max);
|
|
64
|
+
this.rangeMin = Math.min(this.min, this.max);
|
|
65
|
+
this.rangeMax = Math.max(this.min, this.max);
|
|
66
|
+
}
|
|
67
|
+
onInput(event) {
|
|
68
|
+
event.stopPropagation();
|
|
69
|
+
const value = parseInt(this.slider.value);
|
|
70
|
+
if (!isNaN(value)) {
|
|
71
|
+
this.rangeInput = value;
|
|
72
|
+
this.emitInputEvent();
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
emitInputEvent() {
|
|
76
|
+
this.valueChange.emit(this.rangeInput);
|
|
77
|
+
}
|
|
78
|
+
isMarkerActive(markerValue) {
|
|
79
|
+
const start = Math.min(this.traceReference, this.rangeInput);
|
|
80
|
+
const end = Math.max(this.traceReference, this.rangeInput);
|
|
81
|
+
const value = markerValue;
|
|
82
|
+
return value >= start && value <= end;
|
|
83
|
+
}
|
|
84
|
+
// Listen globally on window because sometimes the event listener
|
|
85
|
+
// of the DOM element input itself is not called if the release
|
|
86
|
+
// click is not inside the element anymore
|
|
87
|
+
onPointerUp() {
|
|
88
|
+
this.showTooltip = false;
|
|
89
|
+
}
|
|
90
|
+
render() {
|
|
91
|
+
const range = this.rangeMax - this.rangeMin;
|
|
92
|
+
let traceReferenceInPercentage = (this.rangeTraceReference - this.rangeMin) / range;
|
|
93
|
+
let valueInPercentage = (this.rangeInput - this.rangeMin) / range;
|
|
94
|
+
const distance = valueInPercentage - traceReferenceInPercentage;
|
|
95
|
+
let traceStart = traceReferenceInPercentage;
|
|
96
|
+
let traceEnd = valueInPercentage;
|
|
97
|
+
if (distance <= 0) {
|
|
98
|
+
traceStart = valueInPercentage;
|
|
99
|
+
traceEnd = traceReferenceInPercentage;
|
|
100
|
+
}
|
|
101
|
+
return (h(Host, { class: {
|
|
102
|
+
disabled: this.disabled,
|
|
103
|
+
error: !!this.error,
|
|
104
|
+
}, onPointerDown: () => setTimeout(() => (this.showTooltip = true)) }, h("div", { class: "slider" }, h("div", { class: "track" }, h("div", { class: "thumb", style: {
|
|
105
|
+
left: `calc(${valueInPercentage} * 100% - 8px)`,
|
|
106
|
+
} }), h("div", { class: "ticks" }, this.marker
|
|
107
|
+
? this.marker.map((markerValue) => {
|
|
108
|
+
if (markerValue > this.max || markerValue < this.min) {
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
let left = (markerValue - this.rangeMin) / range;
|
|
112
|
+
return (h("div", { class: {
|
|
113
|
+
tick: true,
|
|
114
|
+
'tick-active': this.isMarkerActive(markerValue) && this.trace,
|
|
115
|
+
}, style: {
|
|
116
|
+
'--tick-value': `${left}`,
|
|
117
|
+
} }));
|
|
118
|
+
})
|
|
119
|
+
: null)), h("input", Object.assign({ id: "slider", type: "range", list: this.marker ? 'markers' : undefined, step: this.step, min: this.min, max: this.max, value: this.rangeInput, tabindex: this.disabled ? -1 : 0, onInput: (event) => this.onInput(event), style: {
|
|
120
|
+
'--value': `${valueInPercentage}`,
|
|
121
|
+
'--trace-reference': `${traceReferenceInPercentage}`,
|
|
122
|
+
'--trace-start': `${traceStart}`,
|
|
123
|
+
'--trace-end': `${traceEnd}`,
|
|
124
|
+
}, class: {
|
|
125
|
+
trace: this.trace && traceReferenceInPercentage !== valueInPercentage,
|
|
126
|
+
}, onFocus: () => {
|
|
127
|
+
this.showTooltip = true;
|
|
128
|
+
}, onBlur: () => {
|
|
129
|
+
this.showTooltip = false;
|
|
130
|
+
}, role: "slider", "aria-valuenow": this.rangeInput, "aria-valuemin": this.min, "aria-valuemax": this.max }, this.a11yAttributes)), h("ix-tooltip", { class: {
|
|
131
|
+
'hide-tooltip': !this.showTooltip,
|
|
132
|
+
}, animationFrame: true }, this.rangeInput)), h("div", { class: "label" }, h("div", { class: "label-start" }, h("slot", { name: "label-start" })), h("div", { class: "label-end" }, h("slot", { name: "label-end" }))), this.error ? (h("ix-typography", { class: 'label-error', color: "alarm" }, this.error)) : null));
|
|
133
|
+
}
|
|
134
|
+
get hostElement() { return getElement(this); }
|
|
135
|
+
static get watchers() { return {
|
|
136
|
+
"showTooltip": ["onShowTooltipChange"],
|
|
137
|
+
"value": ["updateRangeVariables"],
|
|
138
|
+
"max": ["updateRangeVariables"],
|
|
139
|
+
"min": ["updateRangeVariables"],
|
|
140
|
+
"traceReference": ["updateRangeVariables"]
|
|
141
|
+
}; }
|
|
142
|
+
};
|
|
143
|
+
IxSlider.style = sliderCss;
|
|
144
|
+
|
|
145
|
+
export { IxSlider as ix_slider };
|
|
146
|
+
|
|
147
|
+
//# sourceMappingURL=ix-slider.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-slider.entry.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,wkKAAwkK;;ACyB1lK,SAAS,OAAO,CAAC,GAAW,EAAE,KAAa,EAAE,GAAW;EACtD,IAAI,KAAK,GAAG,GAAG,EAAE;IACf,OAAO,GAAG,CAAC;GACZ;OAAM,IAAI,KAAK,GAAG,GAAG,EAAE;IACtB,OAAO,GAAG,CAAC;GACZ;OAAM;IACL,OAAO,KAAK,CAAC;GACd;AACH,CAAC;MAaY,QAAQ;;;;;eAaL,CAAC;eAKD,GAAG;iBAKD,CAAC;;iBAUD,KAAK;0BAKI,CAAC;oBAKP,KAAK;;sBAYF,CAAC;oBACH,CAAC;oBACD,GAAG;+BACQ,CAAC;uBACT,KAAK;;EAI5B,IAAI,OAAO;IACT,OAAO,IAAI,CAAC,WAAW,CAAC,U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AK,CAAC,EACvC,KAAK,EAAE;QACL,SAAS,EAAE,GAAG,iBAAiB,EAAE;QACjC,mBAAmB,EAAE,GAAG,0BAA0B,EAAE;QACpD,eAAe,EAAE,GAAG,UAAU,EAAE;QAChC,aAAa,EAAE,GAAG,QAAQ,EAAE;OAC7B,EACD,KAAK,EAAE;QACL,KAAK,EACH,IAAI,CAAC,KAAK,IAAI,0BAA0B,KAAK,iBAAiB;OACjE,EACD,OAAO,EAAE;QACP,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;OACzB,EACD,MAAM,EAAE;QACN,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;OAC1B,EACD,IAAI,EAAC,QAAQ,mBACE,IAAI,CAAC,UAAU,mBACf,IAAI,CAAC,GAAG,mBACR,IAAI,CAAC,GAAG,IACnB,IAAI,CAAC,cAAc,EACvB,EAEF,kBACE,KAAK,EAAE;QACL,cAAc,EAAE,CAAC,IAAI,CAAC,WAAW;OAClC,EACD,cAAc,EAAE,IAAI,IAEnB,IAAI,CAAC,UAAU,CACL,CACT,EACN,WAAK,KAAK,EAAC,OAAO,IAChB,WAAK,KAAK,EAAC,aAAa,IACtB,YAAM,IAAI,EAAC,aAAa,GAAQ,CAC5B,EACN,WAAK,KAAK,EAAC,WAAW,IACpB,YAAM,IAAI,EAAC,WAAW,GAAQ,CAC1B,CACF,EACL,IAAI,CAAC,KAAK,IACT,qBAAe,KAAK,EAAE,aAAa,EAAE,KAAK,EAAC,OAAO,IAC/C,IAAI,CAAC,KAAK,CACG,IACd,IAAI,CACH,EACP;GACH;;;;;;;;;;;;;;","names":[],"sources":["./src/components/slider/slider.scss?tag=ix-slider&encapsulation=shadow","./src/components/slider/slider.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@import 'mixins/shadow-dom/component';\n\n@mixin track {\n // Chrome, Safari, Opera, and Edge Chromium\n input[type='range']::-webkit-slider-runnable-track {\n @content;\n }\n\n // Firefox\n input[type='range']::-moz-range-track {\n @content;\n }\n}\n\n@mixin clear-browser-thumb {\n // Chrome, Safari, Opera, and Edge Chromium\n input[type='range' i]::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n margin-top: -6px;\n }\n\n // Firefox\n input[type='range' i]::-moz-range-thumb {\n border: none;\n border-radius: 0;\n }\n}\n\n@mixin thumb {\n // Chrome, Safari, Opera, and Edge Chromium\n input[type='range']::-webkit-slider-thumb {\n @content;\n }\n\n // Firefox\n input[type='range']::-moz-range-thumb {\n @content;\n }\n}\n\n@mixin thumb-hover {\n // Chrome, Safari, Opera, and Edge Chromium\n input[type='range']:hover::-webkit-slider-thumb {\n @content;\n }\n\n // Firefox\n input[type='range']:hover::-moz-range-thumb {\n @content;\n }\n}\n\n@mixin thumb-active {\n // Chrome, Safari, Opera, and Edge Chromium\n input[type='range']:active::-webkit-slider-thumb {\n @content;\n }\n\n // Firefox\n input[type='range']:active::-moz-range-thumb {\n @content;\n }\n}\n\n@mixin thumb-focus {\n input[type='range']:focus {\n outline: none;\n }\n\n // Chrome, Safari, Opera, and Edge Chromium\n input[type='range']:focus-visible::-webkit-slider-thumb {\n @content;\n }\n\n // Firefox\n input[type='range']:focus-visible::-moz-range-thumb {\n @content;\n }\n}\n\n:host {\n @include ix-component;\n display: flex;\n flex-direction: column;\n min-height: 2rem;\n --thumb-size: 1rem;\n --value: 0;\n --trace-start: 0;\n --trace-end: 0;\n --trace-reference: 0;\n --trace-reference-color: var(--theme-color-8);\n --trace-color: var(--theme-color-dynamic);\n --tick-color: var(--theme-color-7);\n --tick-color--active: var(--theme-color-dynamic);\n --track-color: var(--theme-color-component-4);\n\n input[type='range'] {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: 0;\n appearance: none;\n background: transparent;\n cursor: pointer;\n width: 100%;\n height: 1rem;\n margin: 0;\n }\n\n // Trace line\n input[type='range'].trace::before {\n content: '';\n position: absolute;\n display: block;\n z-index: -1;\n\n width: calc(\n calc(7px + calc(100% * var(--trace-end)) - calc(16px * var(--trace-end))) -\n calc(\n 7px + calc(100% * var(--trace-start)) -\n calc(16px * var(--trace-start))\n )\n );\n\n left: calc(\n 7px + calc(100% * var(--trace-start)) - calc(16px * var(--trace-start))\n );\n\n height: 4px;\n background-color: var(--trace-color);\n top: 50%;\n transform: translateY(-50%);\n }\n\n // Trace reference\n input[type='range'].trace::after {\n content: '';\n position: absolute;\n display: block;\n width: 2px;\n height: 16px;\n background-color: var(--trace-reference-color);\n top: 50%;\n transform: translateY(-50%);\n left: calc(\n 7px + calc(100% * var(--trace-reference)) -\n calc(16px * var(--trace-reference))\n );\n }\n\n @include track() {\n background: transparent;\n height: 0.25rem;\n }\n\n @include clear-browser-thumb();\n\n @include thumb() {\n border-radius: 100px;\n background-color: var(--theme-color-dynamic);\n height: var(--thumb-size);\n width: var(--thumb-size);\n transition: all var(--theme-default-time) ease-in-out;\n z-index: 10;\n }\n\n @include thumb-hover() {\n transform: scale(1.2);\n background-color: var(--theme-color-dynamic);\n }\n\n @include thumb-active() {\n transform: scale(1.2);\n\n background-color: var(--theme-color-dynamic);\n }\n\n @include thumb-focus() {\n outline: 1px solid var(--theme-color-focus-bdr);\n outline-offset: 0.125rem;\n }\n\n /* style datalist */\n .ticks {\n display: flex;\n position: relative;\n top: 50%;\n transform: translateY(-50%);\n }\n .ticks .tick {\n display: block;\n position: absolute;\n width: 8px;\n height: 8px;\n background-color: var(--tick-color);\n border-radius: 100px;\n top: 50%;\n transform: translateY(-50%);\n left: calc(var(--tick-value) * 100% - 4px);\n }\n\n .ticks .tick.tick-active {\n background-color: var(--tick-color--active);\n }\n\n .slider {\n position: relative;\n display: block;\n width: 100%;\n height: 1.5rem;\n }\n\n .track {\n position: absolute;\n background-color: var(--track-color);\n height: 4px;\n width: calc(100% - 1rem);\n margin-left: 0.5rem;\n top: 50%;\n transform: translateY(-50%);\n left: 0px;\n }\n\n .thumb {\n display: block;\n position: absolute;\n background-color: transparent;\n height: 1rem;\n width: 1rem;\n border-radius: 100px;\n left: 0px;\n top: 50%;\n transform: translateY(-50%);\n }\n\n .hide-tooltip {\n display: none;\n }\n\n .label {\n display: flex;\n position: relative;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n margin-top: 0.5rem;\n\n min-height: 0px;\n }\n\n .label-start {\n margin-left: 0.5rem;\n }\n\n .label-end {\n margin-right: 0.5rem;\n }\n\n .label-error {\n margin-left: 0.5rem;\n }\n}\n\n:host(.error) {\n --trace-color: var(--theme-color-alarm-40);\n --tick-color--active: var(--theme-color-alarm);\n\n @include thumb() {\n background-color: var(--theme-color-alarm);\n }\n}\n\n:host(.disabled) {\n pointer-events: none;\n\n --track-color: var(--theme-color-component-3);\n --trace-color: var(--theme-color-3);\n --tick-color: var(--theme-color-7);\n --tick-color--active: var(--theme-color-7);\n\n @include thumb() {\n background-color: var(--theme-color-7);\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 {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { A11yAttributes, a11yHostAttributes } from '../utils/a11y';\n\nexport type SliderMarker = Array<number>;\n\nfunction between(min: number, value: number, max: number) {\n if (value < min) {\n return min;\n } else if (value > max) {\n return max;\n } else {\n return value;\n }\n}\n\n/**\n * @since 2.0.0\n *\n * @slot label-start - Element will be displayed at the start of the slider\n * @slot label-end - Element will be displayed at the end of the slider\n */\n@Component({\n tag: 'ix-slider',\n styleUrl: 'slider.scss',\n shadow: true,\n})\nexport class IxSlider {\n @Element() hostElement!: HTMLIxSliderElement;\n\n /**\n * Legal number intervals\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/range#step\n */\n @Prop() step: number;\n\n /**\n * Minimum slider value\n */\n @Prop() min = 0;\n\n /**\n * Maximum slider value\n */\n @Prop() max = 100;\n\n /**\n * Current value of the slider\n */\n @Prop() value = 0;\n\n /**\n * Define tick marker on the slider. Marker has to be within slider min/max\n */\n @Prop() marker: SliderMarker;\n\n /**\n * Show a trace line\n */\n @Prop() trace = false;\n\n /**\n * Define the start point of the trace line\n */\n @Prop() traceReference = 0;\n\n /**\n * Show control as disabled\n */\n @Prop() disabled = false;\n\n /**\n * Show error state and message\n */\n @Prop() error: boolean | string;\n\n /**\n *\n */\n @Event() valueChange: EventEmitter<number>;\n\n @State() rangeInput = 0;\n @State() rangeMin = 0;\n @State() rangeMax = 100;\n @State() rangeTraceReference = 0;\n @State() showTooltip = false;\n\n private a11yAttributes: A11yAttributes;\n\n get tooltip() {\n return this.hostElement.shadowRoot.querySelector('ix-tooltip');\n }\n\n get pseudoThumb() {\n return this.hostElement.shadowRoot.querySelector('.thumb') as HTMLElement;\n }\n\n get slider() {\n return this.hostElement.shadowRoot.getElementById(\n 'slider'\n ) as HTMLInputElement;\n }\n\n @Watch('showTooltip')\n onShowTooltipChange() {\n if (this.showTooltip) {\n this.tooltip.showTooltip(this.pseudoThumb);\n return;\n }\n\n this.tooltip.hideTooltip();\n }\n\n componentWillLoad() {\n this.a11yAttributes = a11yHostAttributes(this.hostElement, [\n 'role',\n 'aria-valuemin',\n 'aria-valuemax',\n 'aria-valuenow',\n ]);\n this.updateRangeVariables();\n }\n\n @Watch('value')\n @Watch('max')\n @Watch('min')\n @Watch('traceReference')\n private updateRangeVariables() {\n this.rangeInput = between(this.min, this.value, this.max);\n this.rangeTraceReference = between(this.min, this.traceReference, this.max);\n this.rangeMin = Math.min(this.min, this.max);\n this.rangeMax = Math.max(this.min, this.max);\n }\n\n private onInput(event: InputEvent) {\n event.stopPropagation();\n const value = parseInt(this.slider.value);\n\n if (!isNaN(value)) {\n this.rangeInput = value;\n this.emitInputEvent();\n }\n }\n\n private emitInputEvent() {\n this.valueChange.emit(this.rangeInput);\n }\n\n private isMarkerActive(markerValue: number) {\n const start = Math.min(this.traceReference, this.rangeInput);\n const end = Math.max(this.traceReference, this.rangeInput);\n const value = markerValue;\n\n return value >= start && value <= end;\n }\n\n // Listen globally on window because sometimes the event listener\n // of the DOM element input itself is not called if the release\n // click is not inside the element anymore\n @Listen('pointerup', {\n target: 'window',\n })\n onPointerUp() {\n this.showTooltip = false;\n }\n\n render() {\n const range = this.rangeMax - this.rangeMin;\n\n let traceReferenceInPercentage =\n (this.rangeTraceReference - this.rangeMin) / range;\n\n let valueInPercentage = (this.rangeInput - this.rangeMin) / range;\n\n const distance = valueInPercentage - traceReferenceInPercentage;\n\n let traceStart = traceReferenceInPercentage;\n let traceEnd = valueInPercentage;\n\n if (distance <= 0) {\n traceStart = valueInPercentage;\n traceEnd = traceReferenceInPercentage;\n }\n\n return (\n <Host\n class={{\n disabled: this.disabled,\n error: !!this.error,\n }}\n onPointerDown={() => setTimeout(() => (this.showTooltip = true))}\n >\n <div class=\"slider\">\n <div class=\"track\">\n <div\n class=\"thumb\"\n style={{\n left: `calc(${valueInPercentage} * 100% - 8px)`,\n }}\n ></div>\n <div class=\"ticks\">\n {this.marker\n ? this.marker.map((markerValue) => {\n if (markerValue > this.max || markerValue < this.min) {\n return;\n }\n\n let left = (markerValue - this.rangeMin) / range;\n\n return (\n <div\n class={{\n tick: true,\n 'tick-active':\n this.isMarkerActive(markerValue) && this.trace,\n }}\n style={{\n '--tick-value': `${left}`,\n }}\n ></div>\n );\n })\n : null}\n </div>\n </div>\n\n <input\n id=\"slider\"\n type=\"range\"\n list={this.marker ? 'markers' : undefined}\n step={this.step}\n min={this.min}\n max={this.max}\n value={this.rangeInput}\n tabindex={this.disabled ? -1 : 0}\n onInput={(event) => this.onInput(event)}\n style={{\n '--value': `${valueInPercentage}`,\n '--trace-reference': `${traceReferenceInPercentage}`,\n '--trace-start': `${traceStart}`,\n '--trace-end': `${traceEnd}`,\n }}\n class={{\n trace:\n this.trace && traceReferenceInPercentage !== valueInPercentage,\n }}\n onFocus={() => {\n this.showTooltip = true;\n }}\n onBlur={() => {\n this.showTooltip = false;\n }}\n role=\"slider\"\n aria-valuenow={this.rangeInput}\n aria-valuemin={this.min}\n aria-valuemax={this.max}\n {...this.a11yAttributes}\n />\n\n <ix-tooltip\n class={{\n 'hide-tooltip': !this.showTooltip,\n }}\n animationFrame={true}\n >\n {this.rangeInput}\n </ix-tooltip>\n </div>\n <div class=\"label\">\n <div class=\"label-start\">\n <slot name=\"label-start\"></slot>\n </div>\n <div class=\"label-end\">\n <slot name=\"label-end\"></slot>\n </div>\n </div>\n {this.error ? (\n <ix-typography class={'label-error'} color=\"alarm\">\n {this.error}\n </ix-typography>\n ) : null}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb0be730.js';
|
|
2
|
+
|
|
3
|
+
const splitButtonItemCss = ":host{display:contents}";
|
|
4
|
+
|
|
5
|
+
const SplitButtonItem = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.itemClick = createEvent(this, "itemClick", 7);
|
|
9
|
+
this.icon = undefined;
|
|
10
|
+
this.label = undefined;
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return (h("ix-dropdown-item", { suppressChecked: true, icon: this.icon, label: this.label, onItemClick: (e) => {
|
|
14
|
+
e.preventDefault();
|
|
15
|
+
e.stopPropagation();
|
|
16
|
+
}, onClick: (e) => this.itemClick.emit(e) }));
|
|
17
|
+
}
|
|
18
|
+
get hostElement() { return getElement(this); }
|
|
19
|
+
};
|
|
20
|
+
SplitButtonItem.style = splitButtonItemCss;
|
|
21
|
+
|
|
22
|
+
export { SplitButtonItem as ix_split_button_item };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=ix-split-button-item.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-split-button-item.entry.js","mappings":";;AAAA,MAAM,kBAAkB,GAAG,yBAAyB;;MC0BvC,eAAe;;;;;;;EAkB1B,MAAM;IACJ,QACE,wBACE,eAAe,QACf,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,WAAW,EAAE,CAAC,CAAC;QACb,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,CAAC,CAAC,eAAe,EAAE,CAAC;OACrB,EACD,OAAO,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,GACpB,EACpB;GACH;;;;;;;","names":[],"sources":["./src/components/split-button-item/split-button-item.css?tag=ix-split-button-item&encapsulation=shadow","./src/components/split-button-item/split-button-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:host {\n display: contents;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Prop,\n} from '@stencil/core';\n\n/**\n * @deprecated since 2.0.0. Use the `ix-dropdown-item` component instead.\n */\n@Component({\n tag: 'ix-split-button-item',\n styleUrl: 'split-button-item.css',\n shadow: true,\n})\nexport class SplitButtonItem {\n /**\n * Dropdown icon\n */\n @Prop() icon: string;\n\n /**\n * Dropdown label\n */\n @Prop() label: string;\n\n /**\n * Dropdown item clicked\n */\n @Event() itemClick: EventEmitter<MouseEvent>;\n\n @Element() hostElement: HTMLIxSplitButtonItemElement;\n\n render() {\n return (\n <ix-dropdown-item\n suppressChecked\n icon={this.icon}\n label={this.label}\n onItemClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n }}\n onClick={(e) => this.itemClick.emit(e)}\n ></ix-dropdown-item>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-eb0be730.js';
|
|
2
|
+
|
|
3
|
+
const splitButtonCss = ".btn-group ix-button:first-child .btn{border-top-right-radius:0px;border-bottom-right-radius:0px;border-right:0px}.btn-group ix-button:last-child .btn{border-top-left-radius:0px;border-bottom-left-radius:0px}.btn-group ix-button:not(:first-child):not(:last-child) .btn{border-radius:0px;border-right:0px}:host{display:inline-block}: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 .btn-group{position:relative;display:inline-flex;vertical-align:middle;width:100%}:host .btn-group>ix-button:nth-child(1){width:calc(100% - 2rem)}:host .btn-group>ix-button:nth-child(2){width:2rem}:host .middle-gap{gap:0.125rem}:host .left-button-border{border-top-width:0.125rem;border-right-width:0;border-left-width:0.125rem;border-bottom-width:0.125rem}";
|
|
4
|
+
|
|
5
|
+
const SplitButton = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.buttonClick = createEvent(this, "buttonClick", 7);
|
|
9
|
+
this.variant = 'primary';
|
|
10
|
+
this.outline = false;
|
|
11
|
+
this.ghost = false;
|
|
12
|
+
this.label = undefined;
|
|
13
|
+
this.icon = '';
|
|
14
|
+
this.splitIcon = 'context-menu';
|
|
15
|
+
this.disabled = false;
|
|
16
|
+
this.placement = 'bottom-start';
|
|
17
|
+
this.toggle = false;
|
|
18
|
+
}
|
|
19
|
+
linkTriggerRef() {
|
|
20
|
+
if (this.triggerElement && this.dropdownElement) {
|
|
21
|
+
this.dropdownElement.trigger = this.triggerElement;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
componentDidLoad() {
|
|
25
|
+
this.linkTriggerRef();
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
const buttonAttributes = {
|
|
29
|
+
variant: this.variant,
|
|
30
|
+
outline: this.outline,
|
|
31
|
+
ghost: this.ghost,
|
|
32
|
+
disabled: this.disabled,
|
|
33
|
+
class: {
|
|
34
|
+
'left-button-border': !this.outline,
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
return (h(Host, null, h("div", { class: { 'btn-group': true, 'middle-gap': !this.outline } }, this.label ? (h("ix-button", Object.assign({}, buttonAttributes, { icon: this.icon, onClick: (e) => this.buttonClick.emit(e) }), this.label)) : (h("ix-icon-button", Object.assign({}, buttonAttributes, { icon: this.icon, onClick: (e) => this.buttonClick.emit(e) }))), h("ix-icon-button", Object.assign({}, buttonAttributes, { ref: (r) => (this.triggerElement = r), class: 'anchor', icon: this.splitIcon }))), h("ix-dropdown", { ref: (r) => (this.dropdownElement = r) }, h("slot", null))));
|
|
38
|
+
}
|
|
39
|
+
get hostElement() { return getElement(this); }
|
|
40
|
+
};
|
|
41
|
+
SplitButton.style = splitButtonCss;
|
|
42
|
+
|
|
43
|
+
export { SplitButton as ix_split_button };
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=ix-split-button.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-split-button.entry.js","mappings":";;AAAA,MAAM,cAAc,GAAG,oxCAAoxC;;MC6B9xC,WAAW;;;;mBAMgB,SAAS;mBAK7B,KAAK;iBAKP,KAAK;;gBAUN,EAAE;qBAKG,cAAc;oBAKf,KAAK;qBAKc,cAAc;kBAElC,KAAK;;EAUf,cAAc;IACpB,IAAI,IAAI,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adow","./src/components/split-button/split-button.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@import 'mixins/shadow-dom/component';\n@import 'legacy/components/button-group';\n\n:host {\n @include ix-component;\n display: inline-block;\n\n .btn-group {\n position: relative;\n display: inline-flex;\n vertical-align: middle;\n width: 100%;\n\n > ix-button:nth-child(1) {\n width: calc(100% - 2rem);\n }\n\n > ix-button:nth-child(2) {\n width: 2rem;\n }\n }\n\n .middle-gap {\n gap: 0.125rem;\n }\n\n .left-button-border {\n border-top-width: 0.125rem;\n border-right-width: 0;\n border-left-width: 0.125rem;\n border-bottom-width: 0.125rem;\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 {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\nimport { ButtonVariant } from '../button/button';\nimport { AlignedPlacement } from '../dropdown/placement';\n\nexport type SplitButtonVariant = ButtonVariant;\n\n@Component({\n tag: 'ix-split-button',\n styleUrl: 'split-button.scss',\n shadow: true,\n})\nexport class SplitButton {\n @Element() hostElement!: HTMLIxSplitButtonElement;\n\n /**\n * Color variant of button\n */\n @Prop() variant: SplitButtonVariant = 'primary';\n\n /**\n * Button outline variant\n */\n @Prop() outline = false;\n\n /**\n * Button invisible\n */\n @Prop() ghost = false;\n\n /**\n * Button label\n */\n @Prop() label: string;\n\n /**\n * Button icon\n */\n @Prop() icon = '';\n\n /**\n * Icon of the button on the right\n */\n @Prop() splitIcon = 'context-menu';\n\n /**\n * Disabled\n */\n @Prop() disabled = false;\n\n /**\n * Placement of the dropdown\n */\n @Prop() placement: AlignedPlacement = 'bottom-start';\n\n @State() toggle = false;\n\n /**\n * Button clicked\n */\n @Event() buttonClick: EventEmitter<MouseEvent>;\n\n private triggerElement: HTMLElement;\n private dropdownElement: HTMLIxDropdownElement;\n\n private linkTriggerRef() {\n if (this.triggerElement && this.dropdownElement) {\n this.dropdownElement.trigger = this.triggerElement;\n }\n }\n\n componentDidLoad() {\n this.linkTriggerRef();\n }\n\n render() {\n const buttonAttributes = {\n variant: this.variant,\n outline: this.outline,\n ghost: this.ghost,\n disabled: this.disabled,\n class: {\n 'left-button-border': !this.outline,\n },\n };\n return (\n <Host>\n <div class={{ 'btn-group': true, 'middle-gap': !this.outline }}>\n {this.label ? (\n <ix-button\n {...buttonAttributes}\n icon={this.icon}\n onClick={(e) => this.buttonClick.emit(e)}\n >\n {this.label}\n </ix-button>\n ) : (\n <ix-icon-button\n {...buttonAttributes}\n icon={this.icon}\n onClick={(e) => this.buttonClick.emit(e)}\n ></ix-icon-button>\n )}\n <ix-icon-button\n {...buttonAttributes}\n ref={(r) => (this.triggerElement = r)}\n class={'anchor'}\n icon={this.splitIcon}\n ></ix-icon-button>\n </div>\n\n <ix-dropdown ref={(r) => (this.dropdownElement = r)}>\n <slot></slot>\n </ix-dropdown>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-eb0be730.js';
|
|
2
|
+
|
|
3
|
+
const tabItemCss = "@charset \"UTF-8\";:host{position:relative;display:flex;align-items:center;justify-content:center;padding:10px 1.5rem;line-height:20px;font-size:14px;font-weight:bold;background-color:var(--theme-tab--background);color:var(--theme-tab--color)}: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 ::after{content:\"\";position:absolute;background-color:var(--theme-tab-indicator--background);width:100%;height:var(--theme-tab-indicator--height);left:0}:host .text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}:host .text span,:host .text span::before{pointer-events:none}:host .circle{display:flex;justify-content:center;align-items:center;height:3rem;width:3rem;background-color:var(--theme-animated-tab-indicator--background);border-radius:50%;border:2px solid var(--theme-animated-tab-circle--border-color);color:var(--theme-an…icon--color);cursor:pointer}:host .circle.selected:not(.disabled){background-color:var(--theme-animated-tab-circle--background--selected);color:var(--theme-animated-tab-icon--color--selected);border-color:var(--theme-animated-tab-circle--border-color--selected)}:host .circle.selected:not(.disabled):hover{background-color:var(--theme-animated-tab-circle--background--selected)}:host .circle:hover{background-color:var(--theme-animated-tab-circle--background--hover)}:host .circle:active{background-color:var(--theme-animated-tab-circle--background--active)}:host .circle:active{background-color:var(--theme-animated-tab-circle--background--active)}:host .circle.disabled{background-color:var(--theme-animated-tab-circle--background--disabled);border-color:var(--theme-animated-tab-circle--border-color--disabled)}:host .counter{position:absolute;z-index:1;height:16px;width:auto;background-color:var(--theme-pill-outline--background);border:1px solid var(--theme-tab-pill--border-color);border-radius:100px;bottom:6px;display:flex;justify-content:center;align-items:center;padding-left:0.25rem;padding-right:0.25rem;font-size:12px;line-height:14px;color:var(--theme-pill-outline--color);cursor:pointer}:host .counter.selected{border-color:var(--theme-tab-pill--border-color--selected)}:host .counter.selected::after{display:none}:host .counter.disabled{border-color:var(--theme-tab-pill--border-color--disabled)}:host .counter::after{display:none}:host .hidden{display:none}:host(.circle){height:72px}:host(.top) ::after{top:0}:host(.bottom) ::after{bottom:0}:host(.stretched){flex-basis:100%;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(:hover:not(.circle)){background-color:var(--theme-tab--background--hover);color:var(--theme-tab-color-hover);cursor:pointer}:host(:hover:not(.circle)) ::after{background-color:var(--theme-tab-indicator--background--hover)}:host(:active:not(.circle)){background-color:var(--theme-tab--background--active);color:var(--theme-tab-color--active)}:host(:active:not(.circle)) ::after{background-color:var(--theme-tab-indicator--background--active)}:host(:focus-visible){outline:0px solid var(--focus--border-color)}:host(:focus-visible) .circle{outline:1px solid var(--focus--border-color)}:host(:focus-visible:not(.circle)){outline:1px solid var(--focus--border-color)}:host(.disabled){pointer-events:none;color:var(--theme-tab--color--disabled);background-color:var(--theme-tab--background--disabled)}:host(.disabled) ::after{background-color:var(--theme-tab-indicator--background--disabled)}:host(.selected:not(.disabled)){background-color:var(--theme-tab--background--selected);color:var(--theme-tab--color--selected)}:host(.selected:not(.disabled)) ::after{background-color:var(--theme-tab-indicator--background--selected)}:host(.icon){padding:1.5rem 0.5rem}:host(.small-tab){height:32px;padding:1rem}:host(.small-tab.icon){padding:1rem 0.25rem}";
|
|
4
|
+
|
|
5
|
+
const TabItem = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.tabClick = createEvent(this, "tabClick", 7);
|
|
9
|
+
this.selected = false;
|
|
10
|
+
this.disabled = false;
|
|
11
|
+
this.small = false;
|
|
12
|
+
this.icon = false;
|
|
13
|
+
this.rounded = false;
|
|
14
|
+
this.counter = undefined;
|
|
15
|
+
this.layout = 'auto';
|
|
16
|
+
this.placement = 'bottom';
|
|
17
|
+
}
|
|
18
|
+
tabItemClasses(props) {
|
|
19
|
+
return {
|
|
20
|
+
selected: props.selected,
|
|
21
|
+
disabled: props.disabled,
|
|
22
|
+
'small-tab': props.small,
|
|
23
|
+
icon: props.small,
|
|
24
|
+
stretched: props.layout === 'stretched',
|
|
25
|
+
bottom: props.placement === 'bottom',
|
|
26
|
+
top: props.placement === 'top',
|
|
27
|
+
circle: props.circle,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
render() {
|
|
31
|
+
return (h(Host, { class: this.tabItemClasses({
|
|
32
|
+
selected: this.selected,
|
|
33
|
+
disabled: this.disabled,
|
|
34
|
+
small: this.small,
|
|
35
|
+
icon: this.icon,
|
|
36
|
+
layout: this.layout,
|
|
37
|
+
placement: this.placement,
|
|
38
|
+
circle: this.rounded,
|
|
39
|
+
}), tabIndex: 0, onClick: (event) => {
|
|
40
|
+
const clientEvent = this.tabClick.emit({
|
|
41
|
+
nativeEvent: event,
|
|
42
|
+
});
|
|
43
|
+
if (clientEvent.defaultPrevented) {
|
|
44
|
+
event.stopPropagation();
|
|
45
|
+
}
|
|
46
|
+
} }, h("div", { class: {
|
|
47
|
+
circle: this.rounded,
|
|
48
|
+
text: !this.rounded,
|
|
49
|
+
selected: this.selected,
|
|
50
|
+
disabled: this.disabled,
|
|
51
|
+
} }, h("slot", null)), h("div", { class: {
|
|
52
|
+
counter: true,
|
|
53
|
+
selected: this.selected,
|
|
54
|
+
hidden: !(this.rounded && this.counter !== undefined),
|
|
55
|
+
disabled: this.disabled,
|
|
56
|
+
} }, this.counter)));
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
TabItem.style = tabItemCss;
|
|
60
|
+
|
|
61
|
+
const tabsCss = ":host{width:auto;display:flex;align-items:center;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 .tab-items{overflow:hidden;scroll-behavior:smooth;width:100%}:host .tab-items .items-content{display:flex;align-items:center}:host .arrow{position:absolute;display:flex;align-items:center;justify-content:center;width:32px;height:32px;top:0;bottom:0;left:0;margin:auto 0;border-radius:4px;color:var(--theme-btn-invisible-primary--color);background-color:var(--theme-btn-invisible-primary--background);z-index:2}:host .arrow:hover{color:var(--theme-btn-invisible-primary--color--hover);background-color:var(--theme-btn-invisible-primary--background--hover)}:host .arrow:active{color:var(--theme-btn-invisible-primary--color--active);background-color:var(--theme-btn-invisible-primary--background--active)}:host .arrow.right{left:auto;right:0}:host .overflow-shadow{display:block;position:relative;height:100%;width:100%;pointer-events:all}:host .overflow-shadow.shadow-left{-webkit-mask-image:linear-gradient(90deg, transparent 0px, black 45px);mask-image:linear-gradient(90deg, transparent 0px, black 45px)}:host .overflow-shadow.shadow-right{-webkit-mask-image:linear-gradient(90deg, black calc(100% - 45px), transparent 100%);mask-image:linear-gradient(90deg, black calc(100% - 45px), transparent 100%)}:host .overflow-shadow.shadow-both{-webkit-mask-image:linear-gradient(90deg, transparent 0px, black 45px, black calc(100% - 45px), transparent 100%);mask-image:linear-gradient(90deg, transparent 0px, black 45px, black calc(100% - 45px), transparent 100%)}";
|
|
62
|
+
|
|
63
|
+
const Tabs = class {
|
|
64
|
+
constructor(hostRef) {
|
|
65
|
+
registerInstance(this, hostRef);
|
|
66
|
+
this.selectedChange = createEvent(this, "selectedChange", 7);
|
|
67
|
+
this.windowStartSize = window.innerWidth;
|
|
68
|
+
this.clickAction = {
|
|
69
|
+
timeout: null,
|
|
70
|
+
isClick: true,
|
|
71
|
+
};
|
|
72
|
+
this.small = false;
|
|
73
|
+
this.rounded = false;
|
|
74
|
+
this.selected = 0;
|
|
75
|
+
this.layout = 'auto';
|
|
76
|
+
this.placement = 'bottom';
|
|
77
|
+
this.totalItems = 0;
|
|
78
|
+
this.currentScrollAmount = 0;
|
|
79
|
+
this.scrollAmount = 100;
|
|
80
|
+
this.styleNextArrow = {};
|
|
81
|
+
this.stylePreviousArrow = {};
|
|
82
|
+
this.scrollActionAmount = 0;
|
|
83
|
+
}
|
|
84
|
+
onWindowResize() {
|
|
85
|
+
this.totalItems = 0;
|
|
86
|
+
this.totalItems = this.getTabs().length;
|
|
87
|
+
if (this.windowStartSize === 0)
|
|
88
|
+
return (this.windowStartSize = window.innerWidth);
|
|
89
|
+
this.move(this.windowStartSize - window.innerWidth);
|
|
90
|
+
this.windowStartSize = window.innerWidth;
|
|
91
|
+
}
|
|
92
|
+
getTabs() {
|
|
93
|
+
return Array.from(this.hostElement.querySelectorAll('ix-tab-item'));
|
|
94
|
+
}
|
|
95
|
+
getTab(tabIndex) {
|
|
96
|
+
return this.getTabs()[tabIndex];
|
|
97
|
+
}
|
|
98
|
+
getTabsWrapper() {
|
|
99
|
+
return this.hostElement.shadowRoot.querySelector('.items-content');
|
|
100
|
+
}
|
|
101
|
+
showArrows() {
|
|
102
|
+
try {
|
|
103
|
+
const tabWrapper = this.getTabsWrapper();
|
|
104
|
+
return (tabWrapper.scrollWidth >
|
|
105
|
+
Math.ceil(tabWrapper.getBoundingClientRect().width) &&
|
|
106
|
+
this.layout === 'auto');
|
|
107
|
+
}
|
|
108
|
+
catch (error) {
|
|
109
|
+
return false;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
showPreviousArrow() {
|
|
113
|
+
try {
|
|
114
|
+
return this.showArrows() && this.scrollActionAmount < 0;
|
|
115
|
+
}
|
|
116
|
+
catch (error) {
|
|
117
|
+
return false;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
showNextArrow() {
|
|
121
|
+
try {
|
|
122
|
+
const tabWrapper = this.getTabsWrapper();
|
|
123
|
+
const tabWrapperRect = tabWrapper.getBoundingClientRect();
|
|
124
|
+
return (this.showArrows() &&
|
|
125
|
+
this.scrollActionAmount >
|
|
126
|
+
(tabWrapper.scrollWidth - tabWrapperRect.width) * -1);
|
|
127
|
+
}
|
|
128
|
+
catch (error) {
|
|
129
|
+
return false;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
getArrowStyle(condition) {
|
|
133
|
+
return {
|
|
134
|
+
opacity: condition ? '1' : '0',
|
|
135
|
+
zIndex: condition ? '1' : '-1',
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
move(amount, click = false) {
|
|
139
|
+
const tabWrapper = this.getTabsWrapper();
|
|
140
|
+
const maxScrollWidth = (tabWrapper.scrollWidth - tabWrapper.getBoundingClientRect().width) * -1;
|
|
141
|
+
amount = this.currentScrollAmount + amount;
|
|
142
|
+
amount = amount > 0 ? 0 : amount < maxScrollWidth ? maxScrollWidth : amount;
|
|
143
|
+
const styles = [
|
|
144
|
+
`transform: translateX(${amount}px);`,
|
|
145
|
+
click ? 'transition: all ease-in-out 400ms;' : '',
|
|
146
|
+
].join('');
|
|
147
|
+
tabWrapper.setAttribute('style', styles);
|
|
148
|
+
if (click)
|
|
149
|
+
this.currentScrollAmount = this.scrollActionAmount = amount;
|
|
150
|
+
else
|
|
151
|
+
this.scrollActionAmount = amount;
|
|
152
|
+
}
|
|
153
|
+
moveTabToView(tabIndex) {
|
|
154
|
+
if (!this.showArrows())
|
|
155
|
+
return;
|
|
156
|
+
const tab = this.getTab(tabIndex).getBoundingClientRect();
|
|
157
|
+
const amount = tab.x * -1;
|
|
158
|
+
this.move(amount, true);
|
|
159
|
+
}
|
|
160
|
+
setSelected(index) {
|
|
161
|
+
this.selected = index;
|
|
162
|
+
}
|
|
163
|
+
clickTab(index) {
|
|
164
|
+
if (this.dragStop()) {
|
|
165
|
+
return;
|
|
166
|
+
}
|
|
167
|
+
const { defaultPrevented } = this.selectedChange.emit(index);
|
|
168
|
+
if (defaultPrevented) {
|
|
169
|
+
return;
|
|
170
|
+
}
|
|
171
|
+
this.setSelected(index);
|
|
172
|
+
this.moveTabToView(index);
|
|
173
|
+
}
|
|
174
|
+
dragStart(element, event) {
|
|
175
|
+
if (!this.showArrows())
|
|
176
|
+
return;
|
|
177
|
+
if (event.button > 0)
|
|
178
|
+
return;
|
|
179
|
+
this.clickAction.timeout =
|
|
180
|
+
this.clickAction.timeout === null
|
|
181
|
+
? setTimeout(() => (this.clickAction.isClick = false), 300)
|
|
182
|
+
: null;
|
|
183
|
+
const tabPositionX = parseFloat(window.getComputedStyle(element).left);
|
|
184
|
+
const mousedownPositionX = event.clientX;
|
|
185
|
+
const move = (event) => this.dragMove(event, tabPositionX, mousedownPositionX);
|
|
186
|
+
window.addEventListener('mouseup', () => {
|
|
187
|
+
window.removeEventListener('mousemove', move, false);
|
|
188
|
+
this.dragStop();
|
|
189
|
+
});
|
|
190
|
+
window.addEventListener('mousemove', move, false);
|
|
191
|
+
}
|
|
192
|
+
dragMove(event, tabX, mousedownX) {
|
|
193
|
+
this.move(event.clientX + tabX - mousedownX);
|
|
194
|
+
}
|
|
195
|
+
dragStop() {
|
|
196
|
+
clearTimeout(this.clickAction.timeout);
|
|
197
|
+
this.clickAction.timeout = null;
|
|
198
|
+
if (this.clickAction.isClick)
|
|
199
|
+
return false;
|
|
200
|
+
this.currentScrollAmount = this.scrollActionAmount;
|
|
201
|
+
this.clickAction.isClick = true;
|
|
202
|
+
return true;
|
|
203
|
+
}
|
|
204
|
+
componentDidRender() {
|
|
205
|
+
const tabs = this.getTabs();
|
|
206
|
+
this.totalItems = tabs.length;
|
|
207
|
+
tabs.forEach((element, index) => {
|
|
208
|
+
if (this.small)
|
|
209
|
+
element.setAttribute('small', 'true');
|
|
210
|
+
if (this.rounded)
|
|
211
|
+
element.setAttribute('rounded', 'true');
|
|
212
|
+
element.setAttribute('layout', this.layout);
|
|
213
|
+
element.setAttribute('selected', index === this.selected ? 'true' : 'false');
|
|
214
|
+
element.setAttribute('placement', this.placement);
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
componentWillRender() {
|
|
218
|
+
requestAnimationFrame(() => {
|
|
219
|
+
const showNextArrow = this.showNextArrow();
|
|
220
|
+
const previousArrow = this.showPreviousArrow();
|
|
221
|
+
this.styleNextArrow = this.getArrowStyle(showNextArrow);
|
|
222
|
+
this.stylePreviousArrow = this.getArrowStyle(previousArrow);
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
componentDidLoad() {
|
|
226
|
+
const tabs = this.getTabs();
|
|
227
|
+
tabs.forEach((element) => {
|
|
228
|
+
element.addEventListener('mousedown', (event) => this.dragStart(element, event));
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
onTabClick(event) {
|
|
232
|
+
if (event.defaultPrevented) {
|
|
233
|
+
return;
|
|
234
|
+
}
|
|
235
|
+
const target = event.target;
|
|
236
|
+
const tabs = this.getTabs();
|
|
237
|
+
tabs.forEach((tab, index) => {
|
|
238
|
+
if (!tab.disabled && tab === target) {
|
|
239
|
+
this.clickTab(index);
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
render() {
|
|
244
|
+
return (h(Host, null, h("div", { class: "arrow", style: this.stylePreviousArrow, onClick: () => this.move(this.scrollAmount, true) }, h("ix-icon", { name: 'chevron-left-small' })), h("div", { class: {
|
|
245
|
+
'tab-items': true,
|
|
246
|
+
'overflow-shadow': true,
|
|
247
|
+
'shadow-left': this.showPreviousArrow(),
|
|
248
|
+
'shadow-right': this.showNextArrow(),
|
|
249
|
+
'shadow-both': this.showNextArrow() && this.showPreviousArrow(),
|
|
250
|
+
} }, h("div", { class: "items-content" }, h("slot", null))), h("div", { class: "arrow right", style: this.styleNextArrow, onClick: () => this.move(-this.scrollAmount, true) }, h("ix-icon", { name: 'chevron-right-small' }))));
|
|
251
|
+
}
|
|
252
|
+
get hostElement() { return getElement(this); }
|
|
253
|
+
};
|
|
254
|
+
Tabs.style = tabsCss;
|
|
255
|
+
|
|
256
|
+
export { TabItem as ix_tab_item, Tabs as ix_tabs };
|
|
257
|
+
|
|
258
|
+
//# sourceMappingURL=ix-tab-item_2.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-tab-item.ix-tabs.entry.js","mappings":";;AAAA,MAAM,UAAU,GAAG,gvIAAgvI;;MCoBtvI,OAAO;;;;oBAIC,KAAK;oBAKL,KAAK;iBAKR,KAAK;gBAKN,KAAK;mBAKF,KAAK;;kB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AAC,KAAkB;IAC3B,IAAI,KAAK,CAAC,gBAAgB,EAAE;MAC1B,OAAO;KACR;IAED,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;IAC5B,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;IAE5B,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,KAAK;MACtB,IAAI,CAAC,GAAG,CAAC,QAAQ,IAAI,GAAG,KAAK,MAAM,EAAE;QACnC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;OACtB;KACF,CAAC,CAAC;GACJ;EAED,MAAM;IACJ,QACE,EAAC,IAAI,QACH,WACE,KAAK,EAAC,OAAO,EACb,KAAK,EAAE,IAAI,CAAC,kBAAkB,EAC9B,OAAO,EAAE,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,IAEjD,eAAS,IAAI,EAAE,oBAAoB,GAAY,CAC3C,EACN,WACE,KAAK,EAAE;QACL,WAAW,EAAE,IAAI;QACjB,iBAAiB,EAAE,IAAI;QACvB,aAAa,EAAE,IAAI,CAAC,iBAAiB,EAAE;QACvC,cAAc,EAAE,IAAI,CAAC,aAAa,EAAE;QACpC,aAAa,EAAE,IAAI,CAAC,aAAa,EAAE,IAAI,IAAI,CAAC,iBAAiB,EAAE;OAChE,IAED,WAAK,KAAK,EAAC,eAAe,IACxB,eAAa,CACT,CACF,EACN,WACE,KAAK,EAAC,aAAa,EACnB,KAAK,EAAE,IAAI,CAAC,cAAc,EAC1B,OAAO,EAAE,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,IAElD,eAAS,IAAI,EAAE,qBAAqB,GAAY,CAC5C,CACD,EACP;GACH;;;;;;;","names":[],"sources":["./src/components/tab-item/tab-item.scss?tag=ix-tab-item&encapsulation=shadow","./src/components/tab-item/tab-item.tsx","./src/components/tabs/tabs.scss?tag=ix-tabs&encapsulation=shadow","./src/components/tabs/tabs.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@import 'mixins/text-truncation';\n@import 'mixins/hover';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 10px $large-space;\n line-height: 20px;\n font-size: 14px;\n font-weight: bold;\n background-color: var(--theme-tab--background);\n color: var(--theme-tab--color);\n\n ::after {\n content: '';\n position: absolute;\n background-color: var(--theme-tab-indicator--background);\n width: 100%;\n height: var(--theme-tab-indicator--height);\n left: 0;\n }\n\n .text {\n @include ellipsis;\n\n span,\n span::before {\n pointer-events: none;\n }\n\n vertical-align: middle;\n }\n\n .circle {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 3rem;\n width: 3rem;\n background-color: var(--theme-animated-tab-indicator--background);\n border-radius: 50%;\n border: 2px solid var(--theme-animated-tab-circle--border-color);\n color: var(--theme-an…icon--color);\n cursor: pointer;\n\n &.selected:not(.disabled) {\n background-color: var(--theme-animated-tab-circle--background--selected);\n color: var(--theme-animated-tab-icon--color--selected);\n border-color: var(--theme-animated-tab-circle--border-color--selected);\n\n &:hover {\n background-color: var(\n --theme-animated-tab-circle--background--selected\n );\n }\n }\n\n &:hover {\n background-color: var(--theme-animated-tab-circle--background--hover);\n }\n\n &:active {\n background-color: var(--theme-animated-tab-circle--background--active);\n }\n\n &:active {\n background-color: var(--theme-animated-tab-circle--background--active);\n }\n\n &.disabled {\n background-color: var(--theme-animated-tab-circle--background--disabled);\n border-color: var(--theme-animated-tab-circle--border-color--disabled);\n }\n }\n\n .counter {\n position: absolute;\n z-index: 1;\n height: 16px;\n width: auto;\n background-color: var(--theme-pill-outline--background);\n border: 1px solid var(--theme-tab-pill--border-color);\n border-radius: 100px;\n bottom: 6px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding-left: $tiny-space;\n padding-right: $tiny-space;\n font-size: 12px;\n line-height: 14px;\n color: var(--theme-pill-outline--color);\n cursor: pointer;\n\n &.selected {\n border-color: var(--theme-tab-pill--border-color--selected);\n\n &::after {\n display: none;\n }\n }\n\n &.disabled {\n border-color: var(--theme-tab-pill--border-color--disabled);\n }\n\n &::after {\n display: none;\n }\n }\n\n .hidden {\n display: none;\n }\n}\n\n:host(.circle) {\n height: 72px;\n}\n\n:host(.top) {\n ::after {\n top: 0;\n }\n}\n\n:host(.bottom) {\n ::after {\n bottom: 0;\n }\n}\n\n:host(.stretched) {\n flex-basis: 100%;\n width: 100%;\n @include ellipsis;\n}\n\n:host(:hover:not(.circle)) {\n background-color: var(--theme-tab--background--hover);\n color: var(--theme-tab-color-hover);\n cursor: pointer;\n\n ::after {\n background-color: var(--theme-tab-indicator--background--hover);\n }\n}\n\n:host(:active:not(.circle)) {\n background-color: var(--theme-tab--background--active);\n color: var(--theme-tab-color--active);\n\n ::after {\n background-color: var(--theme-tab-indicator--background--active);\n }\n}\n\n:host(:focus-visible) {\n outline: 0px solid var(--focus--border-color);\n\n .circle {\n outline: 1px solid var(--focus--border-color);\n }\n}\n\n:host(:focus-visible:not(.circle)) {\n outline: 1px solid var(--focus--border-color);\n}\n\n:host(.disabled) {\n pointer-events: none;\n color: var(--theme-tab--color--disabled);\n background-color: var(--theme-tab--background--disabled);\n\n ::after {\n background-color: var(--theme-tab-indicator--background--disabled);\n }\n}\n\n:host(.selected:not(.disabled)) {\n background-color: var(--theme-tab--background--selected);\n color: var(--theme-tab--color--selected);\n\n ::after {\n background-color: var(--theme-tab-indicator--background--selected);\n }\n}\n\n:host(.icon) {\n padding: $large-space $small-space;\n}\n\n:host(.small-tab) {\n height: 32px;\n padding: $default-space;\n}\n\n:host(.small-tab.icon) {\n padding: $default-space $tiny-space;\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 TabClickDetail = {\n nativeEvent: MouseEvent;\n};\n\n@Component({\n tag: 'ix-tab-item',\n styleUrl: 'tab-item.scss',\n shadow: true,\n})\nexport class TabItem {\n /**\n * Set selected tab\n */\n @Prop() selected = false;\n\n /**\n * Set disabled tab\n */\n @Prop() disabled = false;\n\n /**\n * Set small size tab\n */\n @Prop() small = false;\n\n /**\n * Set icon only tab\n */\n @Prop() icon = false;\n\n /**\n * Set rounded tab\n */\n @Prop() rounded = false;\n\n /**\n * Set counter value\n */\n @Prop() counter: number;\n\n /**\n * Set layout width style\n */\n @Prop() layout: 'auto' | 'stretched' = 'auto';\n\n /**\n * Set selected placement\n */\n @Prop() placement: 'bottom' | 'top' = 'bottom';\n\n /**\n * On tab click\n *\n * @since 2.0.0\n */\n @Event() tabClick: EventEmitter<TabClickDetail>;\n\n private tabItemClasses(props: {\n selected: boolean;\n disabled: boolean;\n small: boolean;\n icon: boolean;\n circle: boolean;\n layout: 'auto' | 'stretched';\n placement: 'bottom' | 'top';\n }) {\n return {\n selected: props.selected,\n disabled: props.disabled,\n 'small-tab': props.small,\n icon: props.small,\n stretched: props.layout === 'stretched',\n bottom: props.placement === 'bottom',\n top: props.placement === 'top',\n circle: props.circle,\n };\n }\n\n render() {\n return (\n <Host\n class={this.tabItemClasses({\n selected: this.selected,\n disabled: this.disabled,\n small: this.small,\n icon: this.icon,\n layout: this.layout,\n placement: this.placement,\n circle: this.rounded,\n })}\n tabIndex={0}\n onClick={(event: MouseEvent) => {\n const clientEvent = this.tabClick.emit({\n nativeEvent: event,\n });\n\n if (clientEvent.defaultPrevented) {\n event.stopPropagation();\n }\n }}\n >\n <div\n class={{\n circle: this.rounded,\n text: !this.rounded,\n selected: this.selected,\n disabled: this.disabled,\n }}\n >\n <slot></slot>\n </div>\n <div\n class={{\n counter: true,\n selected: this.selected,\n hidden: !(this.rounded && this.counter !== undefined),\n disabled: this.disabled,\n }}\n >\n {this.counter}\n </div>\n </Host>\n );\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n width: auto;\n display: flex;\n align-items: center;\n position: relative;\n\n .tab-items {\n overflow: hidden;\n scroll-behavior: smooth;\n width: 100%;\n\n .items-content {\n display: flex;\n align-items: center;\n }\n }\n\n .arrow {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n top: 0;\n bottom: 0;\n left: 0;\n margin: auto 0;\n border-radius: 4px;\n color: var(--theme-btn-invisible-primary--color);\n background-color: var(--theme-btn-invisible-primary--background);\n z-index: 2;\n\n &:hover {\n color: var(--theme-btn-invisible-primary--color--hover);\n background-color: var(--theme-btn-invisible-primary--background--hover);\n }\n\n &:active {\n color: var(--theme-btn-invisible-primary--color--active);\n background-color: var(--theme-btn-invisible-primary--background--active);\n }\n\n &.right {\n left: auto;\n right: 0;\n }\n }\n\n .overflow-shadow {\n display: block;\n position: relative;\n height: 100%;\n width: 100%;\n pointer-events: all;\n\n &.shadow-left {\n mask-image: linear-gradient(90deg, transparent 0px, black 45px);\n }\n\n &.shadow-right {\n mask-image: linear-gradient(\n 90deg,\n black calc(100% - 45px),\n transparent 100%\n );\n }\n\n &.shadow-both {\n mask-image: linear-gradient(\n 90deg,\n transparent 0px,\n black 45px,\n black calc(100% - 45px),\n transparent 100%\n );\n }\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n} from '@stencil/core';\n\n@Component({\n tag: 'ix-tabs',\n styleUrl: 'tabs.scss',\n shadow: true,\n})\nexport class Tabs {\n @Element() hostElement!: HTMLIxTabsElement;\n\n /**\n * Set tab items to small size\n */\n @Prop() small = false;\n\n /**\n * Set rounded tabs\n */\n @Prop() rounded = false;\n\n /**\n * Set default selected tab by index\n */\n @Prop({ mutable: true }) selected = 0;\n\n /**\n * Set layout width style\n */\n @Prop() layout: 'auto' | 'stretched' = 'auto';\n\n /**\n * Set placement style\n */\n @Prop() placement: 'bottom' | 'top' = 'bottom';\n\n /**\n * `selected` property changed\n *\n * @since 2.0.0\n */\n @Event() selectedChange: EventEmitter<number>;\n\n @State() totalItems = 0;\n @State() currentScrollAmount = 0;\n @State() scrollAmount = 100;\n @State() styleNextArrow = {};\n @State() stylePreviousArrow = {};\n\n @State() scrollActionAmount = 0;\n\n private windowStartSize = window.innerWidth;\n\n private clickAction: {\n timeout: NodeJS.Timeout;\n isClick: boolean;\n } = {\n timeout: null,\n isClick: true,\n };\n\n @Listen('resize', { target: 'window' })\n onWindowResize() {\n this.totalItems = 0;\n this.totalItems = this.getTabs().length;\n\n if (this.windowStartSize === 0)\n return (this.windowStartSize = window.innerWidth);\n this.move(this.windowStartSize - window.innerWidth);\n this.windowStartSize = window.innerWidth;\n }\n\n private getTabs() {\n return Array.from(this.hostElement.querySelectorAll('ix-tab-item'));\n }\n\n private getTab(tabIndex: number) {\n return this.getTabs()[tabIndex];\n }\n\n private getTabsWrapper() {\n return this.hostElement.shadowRoot.querySelector('.items-content');\n }\n\n private showArrows() {\n try {\n const tabWrapper = this.getTabsWrapper();\n return (\n tabWrapper.scrollWidth >\n Math.ceil(tabWrapper.getBoundingClientRect().width) &&\n this.layout === 'auto'\n );\n } catch (error) {\n return false;\n }\n }\n\n private showPreviousArrow() {\n try {\n return this.showArrows() && this.scrollActionAmount < 0;\n } catch (error) {\n return false;\n }\n }\n\n private showNextArrow() {\n try {\n const tabWrapper = this.getTabsWrapper();\n const tabWrapperRect = tabWrapper.getBoundingClientRect();\n\n return (\n this.showArrows() &&\n this.scrollActionAmount >\n (tabWrapper.scrollWidth - tabWrapperRect.width) * -1\n );\n } catch (error) {\n return false;\n }\n }\n\n private getArrowStyle(condition: boolean) {\n return {\n opacity: condition ? '1' : '0',\n zIndex: condition ? '1' : '-1',\n };\n }\n\n private move(amount: number, click = false) {\n const tabWrapper = this.getTabsWrapper();\n const maxScrollWidth =\n (tabWrapper.scrollWidth - tabWrapper.getBoundingClientRect().width) * -1;\n\n amount = this.currentScrollAmount + amount;\n amount = amount > 0 ? 0 : amount < maxScrollWidth ? maxScrollWidth : amount;\n\n const styles = [\n `transform: translateX(${amount}px);`,\n click ? 'transition: all ease-in-out 400ms;' : '',\n ].join('');\n\n tabWrapper.setAttribute('style', styles);\n\n if (click) this.currentScrollAmount = this.scrollActionAmount = amount;\n else this.scrollActionAmount = amount;\n }\n\n private moveTabToView(tabIndex: number) {\n if (!this.showArrows()) return;\n\n const tab = this.getTab(tabIndex).getBoundingClientRect();\n const amount = tab.x * -1;\n this.move(amount, true);\n }\n\n private setSelected(index: number) {\n this.selected = index;\n }\n\n private clickTab(index: number) {\n if (this.dragStop()) {\n return;\n }\n\n const { defaultPrevented } = this.selectedChange.emit(index);\n if (defaultPrevented) {\n return;\n }\n\n this.setSelected(index);\n this.moveTabToView(index);\n }\n\n private dragStart(element: HTMLIxTabItemElement, event: MouseEvent) {\n if (!this.showArrows()) return;\n if (event.button > 0) return;\n\n this.clickAction.timeout =\n this.clickAction.timeout === null\n ? setTimeout(() => (this.clickAction.isClick = false), 300)\n : null;\n\n const tabPositionX = parseFloat(window.getComputedStyle(element).left);\n const mousedownPositionX = event.clientX;\n const move = (event: MouseEvent) =>\n this.dragMove(event, tabPositionX, mousedownPositionX);\n\n window.addEventListener('mouseup', () => {\n window.removeEventListener('mousemove', move, false);\n this.dragStop();\n });\n window.addEventListener('mousemove', move, false);\n }\n\n private dragMove(event: MouseEvent, tabX: number, mousedownX: number) {\n this.move(event.clientX + tabX - mousedownX);\n }\n\n private dragStop() {\n clearTimeout(this.clickAction.timeout);\n this.clickAction.timeout = null;\n\n if (this.clickAction.isClick) return false;\n\n this.currentScrollAmount = this.scrollActionAmount;\n this.clickAction.isClick = true;\n\n return true;\n }\n\n componentDidRender() {\n const tabs = this.getTabs();\n this.totalItems = tabs.length;\n\n tabs.forEach((element, index) => {\n if (this.small) element.setAttribute('small', 'true');\n\n if (this.rounded) element.setAttribute('rounded', 'true');\n\n element.setAttribute('layout', this.layout);\n element.setAttribute(\n 'selected',\n index === this.selected ? 'true' : 'false'\n );\n element.setAttribute('placement', this.placement);\n });\n }\n\n componentWillRender() {\n requestAnimationFrame(() => {\n const showNextArrow = this.showNextArrow();\n const previousArrow = this.showPreviousArrow();\n this.styleNextArrow = this.getArrowStyle(showNextArrow);\n this.stylePreviousArrow = this.getArrowStyle(previousArrow);\n });\n }\n\n componentDidLoad() {\n const tabs = this.getTabs();\n tabs.forEach((element) => {\n element.addEventListener('mousedown', (event) =>\n this.dragStart(element, event)\n );\n });\n }\n\n @Listen('tabClick')\n onTabClick(event: CustomEvent) {\n if (event.defaultPrevented) {\n return;\n }\n\n const target = event.target;\n const tabs = this.getTabs();\n\n tabs.forEach((tab, index) => {\n if (!tab.disabled && tab === target) {\n this.clickTab(index);\n }\n });\n }\n\n render() {\n return (\n <Host>\n <div\n class=\"arrow\"\n style={this.stylePreviousArrow}\n onClick={() => this.move(this.scrollAmount, true)}\n >\n <ix-icon name={'chevron-left-small'}></ix-icon>\n </div>\n <div\n class={{\n 'tab-items': true,\n 'overflow-shadow': true,\n 'shadow-left': this.showPreviousArrow(),\n 'shadow-right': this.showNextArrow(),\n 'shadow-both': this.showNextArrow() && this.showPreviousArrow(),\n }}\n >\n <div class=\"items-content\">\n <slot></slot>\n </div>\n </div>\n <div\n class=\"arrow right\"\n style={this.styleNextArrow}\n onClick={() => this.move(-this.scrollAmount, true)}\n >\n <ix-icon name={'chevron-right-small'}></ix-icon>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-eb0be730.js';
|
|
2
2
|
|
|
3
|
-
const tileCss = ":host{min-width:11.937rem;max-width:11.937rem;width:11.937rem;display:flex;flex-direction:column;border:1px solid var(--theme-tile--border);border-radius:var(--theme-tile--border-radius);background-color:var(--theme-color-2);color:var(--theme-color-std-text);box-shadow:var(--theme-tile--box-shadow)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host .tile-header{display:flex;align-items:center;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}:host .tile-header,:host .tile-subheader,:host .tile-content,:host .tile-footer{padding:0 1rem}:host .tile-header,:host .tile-content{flex-grow:1}:host .tile-header.has-content{display:flex;height:2.5rem;max-height:2.5rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem}:host .tile-subheader{color:var(--theme-btn-invisible-secondary--color);flex-grow:0}:host .tile-footer.has-content{-webkit-border-before:1px solid var(--theme-color-1);border-block-start:1px solid var(--theme-color-1);height:2.5rem}:host(.tile-small){height:2.5rem;min-height:2.5rem;max-height:2.5rem}:host(.tile-medium){height:5rem;min-height:5rem;max-height:5rem}:host(.tile-big){height:10rem;min-height:10rem;max-height:10rem}:host(:active),:host(:focus-visible),:host(:visited){outline:none}";
|
|
3
|
+
const tileCss = ":host{min-width:11.937rem;max-width:11.937rem;width:11.937rem;display:flex;flex-direction:column;border:1px solid var(--theme-tile--border);border-radius:var(--theme-tile--border-radius);background-color:var(--theme-color-2);color:var(--theme-color-std-text);box-shadow:var(--theme-tile--box-shadow)}: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 .tile-header{display:flex;align-items:center;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}:host .tile-header,:host .tile-subheader,:host .tile-content,:host .tile-footer{padding:0 1rem}:host .tile-header,:host .tile-content{flex-grow:1}:host .tile-header.has-content{display:flex;height:2.5rem;max-height:2.5rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem}:host .tile-subheader{color:var(--theme-btn-invisible-secondary--color);flex-grow:0}:host .tile-footer.has-content{-webkit-border-before:1px solid var(--theme-color-1);border-block-start:1px solid var(--theme-color-1);height:2.5rem}:host(.tile-small){height:2.5rem;min-height:2.5rem;max-height:2.5rem}:host(.tile-medium){height:5rem;min-height:5rem;max-height:5rem}:host(.tile-big){height:10rem;min-height:10rem;max-height:10rem}:host(:active),:host(:focus-visible),:host(:visited){outline:none}";
|
|
4
4
|
|
|
5
5
|
const Tile = class {
|
|
6
6
|
constructor(hostRef) {
|