@siemens/ix 2.0.0-beta.1 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/a11y.js +79 -0
- package/components/a11y.js.map +1 -0
- package/components/application-header.js +95 -0
- package/components/application-header.js.map +1 -0
- package/components/breadcrumb-item.js +92 -0
- package/components/breadcrumb-item.js.map +1 -0
- package/components/breakpoints.js +25 -0
- package/components/breakpoints.js.map +1 -0
- package/components/burger-menu.js +55 -0
- package/components/burger-menu.js.map +1 -0
- package/components/button.js +91 -0
- package/components/button.js.map +1 -0
- package/components/card-accordion.js +72 -0
- package/components/card-accordion.js.map +1 -0
- package/components/card-content.js +32 -0
- package/components/card-content.js.map +1 -0
- package/components/card-title.js +32 -0
- package/components/card-title.js.map +1 -0
- package/components/card.js +36 -0
- package/components/card.js.map +1 -0
- package/components/custom-elements.d.ts +10 -0
- package/components/date-picker.js +372 -0
- package/components/date-picker.js.map +1 -0
- package/components/dropdown-item.js +69 -0
- package/components/dropdown-item.js.map +1 -0
- package/components/dropdown.js +346 -0
- package/components/dropdown.js.map +1 -0
- package/components/filter-chip.js +56 -0
- package/components/filter-chip.js.map +1 -0
- package/components/group-context-menu.js +73 -0
- package/components/group-context-menu.js.map +1 -0
- package/components/group-item.js +58 -0
- package/components/group-item.js.map +1 -0
- package/components/icon-button.js +99 -0
- package/components/icon-button.js.map +1 -0
- package/components/ix-action-card.d.ts +11 -0
- package/components/ix-action-card.js +66 -0
- package/components/ix-action-card.js.map +1 -0
- package/components/ix-application-header.d.ts +11 -0
- package/components/ix-application-sidebar.d.ts +11 -0
- package/components/ix-application.d.ts +11 -0
- package/components/ix-avatar.d.ts +11 -0
- package/components/ix-basic-navigation.d.ts +11 -0
- package/components/ix-basic-navigation.js +132 -0
- package/components/ix-basic-navigation.js.map +1 -0
- package/components/ix-blind.d.ts +11 -0
- package/components/ix-blind.js +128 -0
- package/components/ix-blind.js.map +1 -0
- package/components/ix-breadcrumb-item.d.ts +11 -0
- package/components/ix-breadcrumb.d.ts +11 -0
- package/components/ix-breadcrumb.js +151 -0
- package/components/ix-breadcrumb.js.map +1 -0
- package/components/ix-burger-menu.d.ts +11 -0
- package/components/ix-button.d.ts +11 -0
- package/components/ix-card-accordion.d.ts +11 -0
- package/components/ix-card-content.d.ts +11 -0
- package/components/ix-card-list.d.ts +11 -0
- package/components/ix-card-list.js +228 -0
- package/components/ix-card-list.js.map +1 -0
- package/components/ix-card-title.d.ts +11 -0
- package/components/ix-card.d.ts +11 -0
- package/components/ix-category-filter.d.ts +11 -0
- package/components/ix-category-filter.js +464 -0
- package/components/ix-category-filter.js.map +1 -0
- package/components/ix-chip.d.ts +11 -0
- package/components/ix-chip.js +98 -0
- package/components/ix-chip.js.map +1 -0
- package/components/ix-col.d.ts +11 -0
- package/components/ix-col.js +96 -0
- package/components/ix-col.js.map +1 -0
- package/components/ix-content-header.d.ts +11 -0
- package/components/ix-content-header.js +63 -0
- package/components/ix-content-header.js.map +1 -0
- package/components/ix-content.d.ts +11 -0
- package/components/ix-css-grid-item.d.ts +11 -0
- package/components/ix-css-grid.d.ts +11 -0
- package/components/ix-date-picker.d.ts +11 -0
- package/components/ix-date-time-card.d.ts +11 -0
- package/components/ix-datetime-picker.d.ts +11 -0
- package/components/ix-datetime-picker.js +149 -0
- package/components/ix-datetime-picker.js.map +1 -0
- package/components/ix-divider.d.ts +11 -0
- package/components/ix-drawer.d.ts +11 -0
- package/components/ix-drawer.js +145 -0
- package/components/ix-drawer.js.map +1 -0
- package/components/ix-dropdown-button.d.ts +11 -0
- package/components/ix-dropdown-button.js +92 -0
- package/components/ix-dropdown-button.js.map +1 -0
- package/components/ix-dropdown-header.d.ts +11 -0
- package/components/ix-dropdown-item.d.ts +11 -0
- package/components/ix-dropdown-quick-actions.d.ts +11 -0
- package/components/ix-dropdown.d.ts +11 -0
- package/components/ix-empty-state.d.ts +11 -0
- package/components/ix-empty-state.js +65 -0
- package/components/ix-empty-state.js.map +1 -0
- package/components/ix-event-list-item.d.ts +11 -0
- package/components/ix-event-list-item.js +61 -0
- package/components/ix-event-list-item.js.map +1 -0
- package/components/ix-event-list.d.ts +11 -0
- package/components/ix-expanding-search.d.ts +11 -0
- package/components/ix-expanding-search.js +119 -0
- package/components/ix-expanding-search.js.map +1 -0
- package/components/ix-filter-chip.d.ts +11 -0
- package/components/ix-flip-tile-content.d.ts +11 -0
- package/components/ix-flip-tile.d.ts +11 -0
- package/components/ix-flip-tile.js +121 -0
- package/components/ix-flip-tile.js.map +1 -0
- package/components/ix-form-field.d.ts +11 -0
- package/components/ix-form-field.js +43 -0
- package/components/ix-form-field.js.map +1 -0
- package/components/ix-group-context-menu.d.ts +11 -0
- package/components/ix-group-item.d.ts +11 -0
- package/components/ix-group.d.ts +11 -0
- package/components/ix-group.js +178 -0
- package/components/ix-group.js.map +1 -0
- package/components/ix-icon-button.d.ts +11 -0
- package/components/ix-icon-toggle-button.d.ts +11 -0
- package/components/ix-icon-toggle-button.js +116 -0
- package/components/ix-icon-toggle-button.js.map +1 -0
- package/components/ix-input-group.d.ts +11 -0
- package/components/ix-input-group.js +130 -0
- package/components/ix-input-group.js.map +1 -0
- package/components/ix-key-value-list.d.ts +11 -0
- package/components/ix-key-value.d.ts +11 -0
- package/components/ix-key-value.js +47 -0
- package/components/ix-key-value.js.map +1 -0
- package/components/ix-kpi.d.ts +11 -0
- package/components/ix-kpi.js +69 -0
- package/components/ix-kpi.js.map +1 -0
- package/components/ix-layout-grid.d.ts +11 -0
- package/components/ix-layout-grid.js +47 -0
- package/components/ix-layout-grid.js.map +1 -0
- package/components/ix-link-button.d.ts +11 -0
- package/components/ix-link-button.js +48 -0
- package/components/ix-link-button.js.map +1 -0
- package/components/ix-map-navigation-overlay.d.ts +11 -0
- package/components/ix-map-navigation.d.ts +11 -0
- package/components/ix-map-navigation.js +226 -0
- package/components/ix-map-navigation.js.map +1 -0
- package/components/ix-menu-about-item.d.ts +11 -0
- package/components/ix-menu-about-news.d.ts +11 -0
- package/components/ix-menu-about-news.js +83 -0
- package/components/ix-menu-about-news.js.map +1 -0
- package/components/ix-menu-about.d.ts +11 -0
- package/components/ix-menu-about.js +119 -0
- package/components/ix-menu-about.js.map +1 -0
- package/components/ix-menu-avatar-item.d.ts +11 -0
- package/components/ix-menu-avatar.d.ts +11 -0
- package/components/ix-menu-avatar.js +77 -0
- package/components/ix-menu-avatar.js.map +1 -0
- package/components/ix-menu-category.d.ts +11 -0
- package/components/ix-menu-category.js +190 -0
- package/components/ix-menu-category.js.map +1 -0
- package/components/ix-menu-item.d.ts +11 -0
- package/components/ix-menu-settings-item.d.ts +11 -0
- package/components/ix-menu-settings.d.ts +11 -0
- package/components/ix-menu-settings.js +106 -0
- package/components/ix-menu-settings.js.map +1 -0
- package/components/ix-menu.d.ts +11 -0
- package/components/ix-menu.js +508 -0
- package/components/ix-menu.js.map +1 -0
- package/components/ix-message-bar.d.ts +11 -0
- package/components/ix-message-bar.js +87 -0
- package/components/ix-message-bar.js.map +1 -0
- package/components/ix-modal-content.d.ts +11 -0
- package/components/ix-modal-example.d.ts +11 -0
- package/components/ix-modal-example.js +58 -0
- package/components/ix-modal-example.js.map +1 -0
- package/components/ix-modal-footer.d.ts +11 -0
- package/components/ix-modal-header.d.ts +11 -0
- package/components/ix-modal-header.js +84 -0
- package/components/ix-modal-header.js.map +1 -0
- package/components/ix-modal-loading.d.ts +11 -0
- package/components/ix-modal.d.ts +11 -0
- package/components/ix-modal.js +156 -0
- package/components/ix-modal.js.map +1 -0
- package/components/ix-pagination.d.ts +11 -0
- package/components/ix-pagination.js +211 -0
- package/components/ix-pagination.js.map +1 -0
- package/components/ix-pill.d.ts +11 -0
- package/components/ix-pill.js +78 -0
- package/components/ix-pill.js.map +1 -0
- package/components/ix-push-card.d.ts +11 -0
- package/components/ix-push-card.js +80 -0
- package/components/ix-push-card.js.map +1 -0
- package/components/ix-row.d.ts +11 -0
- package/components/ix-row.js +35 -0
- package/components/ix-row.js.map +1 -0
- package/components/ix-select-item.d.ts +11 -0
- package/components/ix-select.d.ts +11 -0
- package/components/ix-slider.d.ts +11 -0
- package/components/ix-slider.js +192 -0
- package/components/ix-slider.js.map +1 -0
- package/components/ix-spinner.d.ts +11 -0
- package/components/ix-split-button-item.d.ts +11 -0
- package/components/ix-split-button-item.js +51 -0
- package/components/ix-split-button-item.js.map +1 -0
- package/components/ix-split-button.d.ts +11 -0
- package/components/ix-split-button.js +97 -0
- package/components/ix-split-button.js.map +1 -0
- package/components/ix-tab-item.d.ts +11 -0
- package/components/ix-tabs.d.ts +11 -0
- package/components/ix-tile.d.ts +11 -0
- package/components/ix-time-picker.d.ts +11 -0
- package/components/ix-toast-container.d.ts +11 -0
- package/components/ix-toast-container.js +124 -0
- package/components/ix-toast-container.js.map +1 -0
- package/components/ix-toast.d.ts +11 -0
- package/components/ix-toggle-button.d.ts +11 -0
- package/components/ix-toggle-button.js +105 -0
- package/components/ix-toggle-button.js.map +1 -0
- package/components/ix-toggle.d.ts +11 -0
- package/components/ix-tooltip.d.ts +11 -0
- package/components/ix-tooltip.js +8 -0
- package/components/ix-tooltip.js.map +1 -0
- package/components/ix-tree-item.d.ts +11 -0
- package/components/ix-tree.d.ts +11 -0
- package/components/ix-tree.js +727 -0
- package/components/ix-tree.js.map +1 -0
- package/components/ix-typography.d.ts +11 -0
- package/components/ix-upload.d.ts +11 -0
- package/components/ix-upload.js +147 -0
- package/components/ix-upload.js.map +1 -0
- package/components/ix-validation-tooltip.d.ts +11 -0
- package/components/ix-validation-tooltip.js +170 -0
- package/components/ix-validation-tooltip.js.map +1 -0
- package/components/ix-workflow-step.d.ts +11 -0
- package/components/ix-workflow-step.js +120 -0
- package/components/ix-workflow-step.js.map +1 -0
- package/components/ix-workflow-steps.d.ts +11 -0
- package/components/map-navigation-overlay.js +89 -0
- package/components/map-navigation-overlay.js.map +1 -0
- package/components/menu-avatar-item.js +45 -0
- package/components/menu-avatar-item.js.map +1 -0
- package/components/menu-item.js +92 -0
- package/components/menu-item.js.map +1 -0
- package/components/my-component.d.ts +11 -0
- package/components/package.json +8 -0
- package/components/select-item.js +92 -0
- package/components/select-item.js.map +1 -0
- package/components/select.js +410 -0
- package/components/select.js.map +1 -0
- package/components/shadow-dom.js.map +1 -0
- package/components/tabs.js +227 -0
- package/components/tabs.js.map +1 -0
- package/components/time-picker.js +252 -0
- package/components/time-picker.js.map +1 -0
- package/components/toast.js +105 -0
- package/components/toast.js.map +1 -0
- package/components/tooltip.js +197 -0
- package/components/tooltip.js.map +1 -0
- package/components/tree-item.js +51 -0
- package/components/tree-item.js.map +1 -0
- 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/breakpoints-7ca69aa8.js +27 -0
- package/dist/cjs/breakpoints-7ca69aa8.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/index-be499a74.js +186 -130
- package/dist/cjs/index.cjs.js +0 -2
- 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 +1 -1
- package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +2 -2
- package/dist/cjs/ix-application.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/ix-blind.cjs.entry.js +13 -5
- 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 +2 -2
- package/dist/cjs/ix-burger-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +4 -6
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card-list.cjs.entry.js +3 -3
- package/dist/cjs/ix-card-list.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-category-filter.cjs.entry.js +2 -2
- package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-chip.cjs.entry.js +3 -5
- package/dist/cjs/ix-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-col.cjs.entry.js +3 -3
- package/dist/cjs/ix-col.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-content-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-content-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-picker_2.cjs.entry.js +8 -8
- package/dist/cjs/ix-date-picker_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-drawer.cjs.entry.js +1 -1
- package/dist/cjs/ix-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +1 -2
- package/dist/cjs/ix-dropdown-button.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.cjs.entry.js +322 -0
- package/dist/cjs/ix-dropdown.cjs.entry.js.map +1 -0
- 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 +1 -1
- 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 +1 -1
- package/dist/cjs/ix-form-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +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 +2 -2
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js.map +1 -1
- 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 +19 -15
- package/dist/cjs/ix-input-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/cjs/ix-message-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-example.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal.cjs.entry.js +4 -3
- package/dist/cjs/ix-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-pagination.cjs.entry.js +4 -4
- package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-pill.cjs.entry.js +1 -1
- package/dist/cjs/ix-pill.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-push-card.cjs.entry.js +2 -2
- package/dist/cjs/ix-push-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-row.cjs.entry.js +1 -1
- package/dist/cjs/ix-row.cjs.entry.js.map +1 -1
- 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-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 +1 -1
- package/dist/cjs/ix-toggle.cjs.entry.js +1 -1
- package/dist/cjs/ix-tooltip.cjs.entry.js +21 -7
- 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-validation-tooltip.cjs.entry.js +1 -1
- 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 +3 -1
- 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/shadow-dom-9b10f758.js.map +1 -1
- package/dist/cjs/siemens-ix.cjs.js +3 -1
- package/dist/cjs/siemens-ix.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +6 -196
- package/dist/collection/components/action-card/action-card.css +15 -0
- package/dist/collection/components/action-card/action-card.js +1 -1
- package/dist/collection/components/application-header/test/application-headet.ct.js +4 -0
- package/dist/collection/components/application-header/test/application-headet.ct.js.map +1 -1
- package/dist/collection/components/blind/blind.css +242 -63
- package/dist/collection/components/blind/blind.js +37 -3
- package/dist/collection/components/blind/blind.js.map +1 -1
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +1 -1
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +1 -2
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
- package/dist/collection/components/card/card.css +5 -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 +12 -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 +1 -0
- package/dist/collection/components/card-list/card-list.css +0 -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 +56 -0
- package/dist/collection/components/category-filter/category-filter.js +1 -1
- package/dist/collection/components/category-filter/category-filter.js.map +1 -1
- package/dist/collection/components/chip/chip.css +1 -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 +50 -3
- package/dist/collection/components/col/col.js +1 -1
- package/dist/collection/components/col/col.js.map +1 -1
- 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/date-picker/date-picker.css +3 -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/drawer/drawer.js +1 -1
- package/dist/collection/components/drawer/drawer.js.map +1 -1
- 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.js +1 -23
- package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
- 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/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.js +1 -1
- package/dist/collection/components/expanding-search/expanding-search.js.map +1 -1
- package/dist/collection/components/filter-chip/filter-chip.js +1 -1
- package/dist/collection/components/filter-chip/filter-chip.js.map +1 -1
- package/dist/collection/components/flip-tile/flip-tile.js +1 -1
- package/dist/collection/components/flip-tile/flip-tile.js.map +1 -1
- package/dist/collection/components/form-field/form-field.css +35 -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.js +1 -1
- package/dist/collection/components/group/group.js.map +1 -1
- package/dist/collection/components/icon-button/icon-button.css +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 +1 -1
- package/dist/collection/components/input-group/input-group.js +19 -15
- package/dist/collection/components/input-group/input-group.js.map +1 -1
- 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.js +1 -1
- package/dist/collection/components/link-button/link-button.js.map +1 -1
- package/dist/collection/components/map-navigation/map-navigation.js +1 -1
- package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +1 -1
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js.map +1 -1
- 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.js +2 -2
- package/dist/collection/components/menu/menu.js.map +1 -1
- package/dist/collection/components/menu/test/menu.ct.js +22 -2
- package/dist/collection/components/menu/test/menu.ct.js.map +1 -1
- package/dist/collection/components/menu-about/menu-about.js +1 -1
- package/dist/collection/components/menu-about/menu-about.js.map +1 -1
- 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.js +1 -1
- package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
- package/dist/collection/components/menu-category/menu-category.js +1 -1
- package/dist/collection/components/menu-category/menu-category.js.map +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js.map +1 -1
- package/dist/collection/components/menu-settings/menu-settings.js +1 -1
- package/dist/collection/components/menu-settings/menu-settings.js.map +1 -1
- 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 +14 -0
- package/dist/collection/components/modal/modal.js +3 -2
- package/dist/collection/components/modal/modal.js.map +1 -1
- 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/pagination/pagination.css +1 -1
- package/dist/collection/components/pagination/pagination.js +2 -2
- 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 +1 -0
- package/dist/collection/components/push-card/push-card.css +7 -4
- package/dist/collection/components/push-card/push-card.js +2 -2
- package/dist/collection/components/push-card/push-card.js.map +1 -1
- package/dist/collection/components/row/row.css +2 -2
- package/dist/collection/components/select/select.css +4 -34
- package/dist/collection/components/select/select.js +38 -25
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select/test/select.ct.js +13 -12
- package/dist/collection/components/select/test/select.ct.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/split-button/split-button.js +0 -3
- package/dist/collection/components/split-button/split-button.js.map +1 -1
- package/dist/collection/components/split-button-item/split-button-item.js +3 -0
- package/dist/collection/components/split-button-item/split-button-item.js.map +1 -1
- package/dist/collection/components/tabs/tabs.js +7 -7
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/collection/components/time-picker/time-picker.css +35 -0
- 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 +9 -7
- package/dist/collection/components/toast/toast.js +1 -1
- package/dist/collection/components/toast/toast.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.js +88 -8
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js.map +1 -1
- package/dist/collection/components/utils/a11y.js +2 -2
- package/dist/collection/components/utils/a11y.js.map +1 -1
- package/dist/collection/components/utils/breakpoints.js +3 -3
- package/dist/collection/components/utils/breakpoints.js.map +1 -1
- package/dist/collection/components/utils/shadow-dom.js +7 -0
- package/dist/collection/components/utils/shadow-dom.js.map +1 -1
- package/dist/collection/components/validation-tooltip/validation-tooltip.css +1 -0
- 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/breakpoints-b76e9f27.js +25 -0
- package/dist/esm/breakpoints-b76e9f27.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/index-eb0be730.js +186 -130
- package/dist/esm/index.es2017-1478d9a9.js +1479 -0
- package/dist/esm/index.es2017-1478d9a9.js.map +1 -0
- package/dist/esm/index.js +0 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/ix-action-card.entry.js +1 -1
- package/dist/esm/ix-action-card.entry.js.map +1 -1
- package/dist/esm/ix-application-header.entry.js +2 -2
- package/dist/esm/ix-application.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/ix-blind.entry.js +13 -5
- 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 +2 -2
- package/dist/esm/ix-burger-menu.entry.js.map +1 -1
- package/dist/esm/ix-card-accordion_2.entry.js +4 -6
- package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
- package/dist/esm/ix-card-list.entry.js +3 -3
- package/dist/esm/ix-card-list.entry.js.map +1 -1
- package/dist/esm/ix-card_2.entry.js +2 -2
- package/dist/esm/ix-card_2.entry.js.map +1 -1
- package/dist/esm/ix-category-filter.entry.js +2 -2
- package/dist/esm/ix-category-filter.entry.js.map +1 -1
- package/dist/esm/ix-chip.entry.js +3 -5
- package/dist/esm/ix-chip.entry.js.map +1 -1
- package/dist/esm/ix-col.entry.js +3 -3
- package/dist/esm/ix-col.entry.js.map +1 -1
- package/dist/esm/ix-content-header.entry.js +1 -1
- package/dist/esm/ix-content-header.entry.js.map +1 -1
- package/dist/esm/ix-date-picker_2.entry.js +8 -8
- package/dist/esm/ix-date-picker_2.entry.js.map +1 -1
- package/dist/esm/ix-drawer.entry.js +1 -1
- package/dist/esm/ix-drawer.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-button.entry.js +1 -2
- package/dist/esm/ix-dropdown-button.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.entry.js +318 -0
- package/dist/esm/ix-dropdown.entry.js.map +1 -0
- 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 +1 -1
- 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 +1 -1
- package/dist/esm/ix-form-field.entry.js.map +1 -1
- 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 +2 -2
- package/dist/esm/ix-icon-toggle-button.entry.js.map +1 -1
- 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 +19 -15
- package/dist/esm/ix-input-group.entry.js.map +1 -1
- package/dist/esm/ix-kpi.entry.js +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/esm/ix-message-bar.entry.js.map +1 -1
- package/dist/esm/ix-modal-example.entry.js +1 -1
- package/dist/esm/ix-modal-example.entry.js.map +1 -1
- package/dist/esm/ix-modal.entry.js +4 -3
- package/dist/esm/ix-modal.entry.js.map +1 -1
- package/dist/esm/ix-pagination.entry.js +4 -4
- package/dist/esm/ix-pagination.entry.js.map +1 -1
- package/dist/esm/ix-pill.entry.js +1 -1
- package/dist/esm/ix-pill.entry.js.map +1 -1
- package/dist/esm/ix-push-card.entry.js +2 -2
- package/dist/esm/ix-push-card.entry.js.map +1 -1
- package/dist/esm/ix-row.entry.js +1 -1
- package/dist/esm/ix-row.entry.js.map +1 -1
- 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-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 +1 -1
- package/dist/esm/ix-toggle.entry.js +1 -1
- package/dist/esm/ix-tooltip.entry.js +21 -7
- 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-validation-tooltip.entry.js +2 -2
- 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 +3 -1
- 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/shadow-dom-b9df3d9b.js.map +1 -1
- package/dist/esm/siemens-ix.js +3 -1
- package/dist/esm/siemens-ix.js.map +1 -1
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/index.esm.js.map +1 -1
- 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.map +1 -1
- 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-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-20e12c7e.js +2 -0
- package/dist/siemens-ix/p-20e12c7e.js.map +1 -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-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-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.map +1 -1
- 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-5d43cae8.js +22 -0
- package/dist/siemens-ix/p-5d43cae8.js.map +1 -0
- package/dist/siemens-ix/p-61ffc6e1.entry.js.map +1 -1
- 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-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-74a7d191.entry.js +2 -0
- package/dist/siemens-ix/p-74a7d191.entry.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-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.map +1 -1
- 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-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.map +1 -1
- 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-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.map +1 -1
- 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-b6d40648.entry.js +2 -0
- package/dist/siemens-ix/p-b6d40648.entry.js.map +1 -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-cd1e0061.entry.js.map +1 -1
- 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-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.map +1 -1
- 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.map +1 -1
- 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-e5beabf4.entry.js +2 -0
- package/dist/siemens-ix/p-e5beabf4.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-f97f2394.entry.js +2 -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/siemens-ix-core.css +1 -1
- package/dist/siemens-ix/siemens-ix.css +259 -1
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
- package/dist/types/components/blind/blind.d.ts +8 -1
- package/dist/types/components/card/card.d.ts +1 -1
- package/dist/types/components/chip/chip.d.ts +1 -7
- 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 +0 -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/grid/layout-grid.d.ts +18 -0
- package/dist/types/components/menu-item/menu-item.d.ts +1 -1
- package/dist/types/components/modal/modal.d.ts +1 -1
- package/dist/types/components/pagination/test/pagination.ct.d.ts +1 -0
- package/dist/types/components/select/select.d.ts +1 -1
- 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/tabs/tabs.d.ts +1 -0
- package/dist/types/components/tooltip/tooltip.d.ts +8 -2
- package/dist/types/components/utils/a11y.d.ts +1 -1
- package/dist/types/components/utils/breakpoints.d.ts +3 -3
- package/dist/types/components/utils/shadow-dom.d.ts +1 -0
- package/dist/types/components.d.ts +188 -84
- 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 +5 -3
- package/scss/_core.scss +1 -0
- package/scss/components/_radiobuttons.scss +1 -1
- package/scss/components/form/_input.scss +18 -2
- package/scss/mixins/_break-points.scss +30 -6
- 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/breakpoints-e19e827e.js +0 -27
- package/dist/cjs/breakpoints-e19e827e.js.map +0 -1
- package/dist/cjs/icon-9e9f2faf.js +0 -114
- package/dist/cjs/icon-9e9f2faf.js.map +0 -1
- package/dist/cjs/index-1061a1c1.js +0 -8
- package/dist/cjs/index-1061a1c1.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 -164
- package/dist/cjs/ix-breadcrumb_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +0 -359
- 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 -30
- package/dist/cjs/ix-filter-chip.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js +0 -103
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-grid.cjs.entry.js +0 -29
- package/dist/cjs/ix-grid.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 -72
- 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-map-navigation_2.cjs.entry.js +0 -227
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-menu_9.cjs.entry.js +0 -732
- package/dist/cjs/ix-menu_9.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-select_2.cjs.entry.js +0 -389
- 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 -72
- package/dist/cjs/ix-split-button_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-tab-item.cjs.entry.js +0 -67
- package/dist/cjs/ix-tab-item.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-tabs.cjs.entry.js +0 -204
- 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 -730
- package/dist/cjs/ix-tree_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-workflow-step_2.cjs.entry.js +0 -170
- package/dist/cjs/ix-workflow-step_2.cjs.entry.js.map +0 -1
- package/dist/cjs/menu-service-f7ef5265.js +0 -159
- package/dist/cjs/menu-service-f7ef5265.js.map +0 -1
- package/dist/collection/components/grid/grid.css +0 -26
- package/dist/collection/components/grid/grid.js +0 -98
- package/dist/collection/components/grid/grid.js.map +0 -1
- package/dist/components/a11y.js +0 -79
- package/dist/components/a11y.js.map +0 -1
- package/dist/components/application-header.js +0 -101
- package/dist/components/application-header.js.map +0 -1
- package/dist/components/breadcrumb-item.js +0 -99
- package/dist/components/breadcrumb-item.js.map +0 -1
- package/dist/components/breakpoints.js +0 -25
- package/dist/components/breakpoints.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 -97
- 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/date-picker.js +0 -378
- package/dist/components/date-picker.js.map +0 -1
- package/dist/components/dropdown-item.js +0 -76
- 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 -62
- package/dist/components/filter-chip.js.map +0 -1
- package/dist/components/group-context-menu.js +0 -79
- 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 -105
- 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/index2.js +0 -6
- package/dist/components/index2.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-application-header.d.ts +0 -11
- package/dist/components/ix-application-sidebar.d.ts +0 -11
- package/dist/components/ix-application.d.ts +0 -11
- package/dist/components/ix-avatar.d.ts +0 -11
- package/dist/components/ix-basic-navigation.d.ts +0 -11
- package/dist/components/ix-basic-navigation.js +0 -138
- 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 -125
- package/dist/components/ix-blind.js.map +0 -1
- package/dist/components/ix-breadcrumb-item.d.ts +0 -11
- package/dist/components/ix-breadcrumb.d.ts +0 -11
- package/dist/components/ix-breadcrumb.js +0 -157
- package/dist/components/ix-breadcrumb.js.map +0 -1
- package/dist/components/ix-burger-menu.d.ts +0 -11
- package/dist/components/ix-button.d.ts +0 -11
- package/dist/components/ix-card-accordion.d.ts +0 -11
- package/dist/components/ix-card-content.d.ts +0 -11
- 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.d.ts +0 -11
- package/dist/components/ix-category-filter.d.ts +0 -11
- package/dist/components/ix-category-filter.js +0 -470
- 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-col.d.ts +0 -11
- package/dist/components/ix-col.js +0 -96
- package/dist/components/ix-col.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-content.d.ts +0 -11
- package/dist/components/ix-css-grid-item.d.ts +0 -11
- package/dist/components/ix-css-grid.d.ts +0 -11
- package/dist/components/ix-date-picker.d.ts +0 -11
- package/dist/components/ix-date-time-card.d.ts +0 -11
- package/dist/components/ix-datetime-picker.d.ts +0 -11
- package/dist/components/ix-datetime-picker.js +0 -155
- package/dist/components/ix-datetime-picker.js.map +0 -1
- package/dist/components/ix-divider.d.ts +0 -11
- 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 -100
- 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-item.d.ts +0 -11
- package/dist/components/ix-dropdown-quick-actions.d.ts +0 -11
- package/dist/components/ix-dropdown.d.ts +0 -11
- 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-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-flip-tile-content.d.ts +0 -11
- package/dist/components/ix-flip-tile.d.ts +0 -11
- package/dist/components/ix-flip-tile.js +0 -127
- package/dist/components/ix-flip-tile.js.map +0 -1
- package/dist/components/ix-form-field.d.ts +0 -11
- package/dist/components/ix-form-field.js +0 -43
- package/dist/components/ix-form-field.js.map +0 -1
- package/dist/components/ix-grid.d.ts +0 -11
- package/dist/components/ix-grid.js +0 -47
- package/dist/components/ix-grid.js.map +0 -1
- package/dist/components/ix-group-context-menu.d.ts +0 -11
- package/dist/components/ix-group-item.d.ts +0 -11
- package/dist/components/ix-group.d.ts +0 -11
- package/dist/components/ix-group.js +0 -184
- package/dist/components/ix-group.js.map +0 -1
- package/dist/components/ix-icon-button.d.ts +0 -11
- package/dist/components/ix-icon-toggle-button.d.ts +0 -11
- package/dist/components/ix-icon-toggle-button.js +0 -122
- package/dist/components/ix-icon-toggle-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-input-group.d.ts +0 -11
- package/dist/components/ix-input-group.js +0 -126
- 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.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.d.ts +0 -11
- package/dist/components/ix-map-navigation.js +0 -232
- 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-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.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-settings-item.d.ts +0 -11
- 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 -514
- 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-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-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.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 -217
- 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 -86
- package/dist/components/ix-push-card.js.map +0 -1
- package/dist/components/ix-row.d.ts +0 -11
- package/dist/components/ix-row.js +0 -35
- package/dist/components/ix-row.js.map +0 -1
- package/dist/components/ix-select-item.d.ts +0 -11
- package/dist/components/ix-select.d.ts +0 -11
- package/dist/components/ix-spinner.d.ts +0 -11
- package/dist/components/ix-split-button-item.d.ts +0 -11
- package/dist/components/ix-split-button-item.js +0 -57
- 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 -106
- package/dist/components/ix-split-button.js.map +0 -1
- package/dist/components/ix-tab-item.d.ts +0 -11
- package/dist/components/ix-tabs.d.ts +0 -11
- package/dist/components/ix-tile.d.ts +0 -11
- package/dist/components/ix-time-picker.d.ts +0 -11
- 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-toggle-button.d.ts +0 -11
- package/dist/components/ix-toggle-button.js +0 -111
- package/dist/components/ix-toggle-button.js.map +0 -1
- package/dist/components/ix-toggle.d.ts +0 -11
- 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.d.ts +0 -11
- package/dist/components/ix-tree.js +0 -733
- package/dist/components/ix-tree.js.map +0 -1
- package/dist/components/ix-typography.d.ts +0 -11
- 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 -170
- 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 -126
- package/dist/components/ix-workflow-step.js.map +0 -1
- package/dist/components/ix-workflow-steps.d.ts +0 -11
- package/dist/components/map-navigation-overlay.js +0 -95
- 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 -98
- package/dist/components/menu-item.js.map +0 -1
- package/dist/components/my-component.d.ts +0 -11
- package/dist/components/select-item.js +0 -98
- package/dist/components/select-item.js.map +0 -1
- package/dist/components/select.js +0 -403
- package/dist/components/select.js.map +0 -1
- package/dist/components/shadow-dom.js.map +0 -1
- package/dist/components/tabs.js +0 -233
- package/dist/components/tabs.js.map +0 -1
- package/dist/components/time-picker.js +0 -258
- 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 -57
- package/dist/components/tree-item.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/breakpoints-b8d59fd9.js +0 -25
- package/dist/esm/breakpoints-b8d59fd9.js.map +0 -1
- package/dist/esm/icon-f54a8bc4.js +0 -112
- package/dist/esm/icon-f54a8bc4.js.map +0 -1
- package/dist/esm/index-7b24b7fa.js +0 -6
- package/dist/esm/index-7b24b7fa.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 -159
- package/dist/esm/ix-breadcrumb_2.entry.js.map +0 -1
- package/dist/esm/ix-dropdown_2.entry.js +0 -354
- 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 -26
- package/dist/esm/ix-filter-chip.entry.js.map +0 -1
- package/dist/esm/ix-flip-tile_2.entry.js +0 -98
- package/dist/esm/ix-flip-tile_2.entry.js.map +0 -1
- package/dist/esm/ix-grid.entry.js +0 -25
- package/dist/esm/ix-grid.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 -68
- 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-map-navigation_2.entry.js +0 -222
- package/dist/esm/ix-map-navigation_2.entry.js.map +0 -1
- package/dist/esm/ix-menu_9.entry.js +0 -720
- package/dist/esm/ix-menu_9.entry.js.map +0 -1
- package/dist/esm/ix-select_2.entry.js +0 -384
- 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 -67
- package/dist/esm/ix-split-button_2.entry.js.map +0 -1
- package/dist/esm/ix-tab-item.entry.js +0 -63
- package/dist/esm/ix-tab-item.entry.js.map +0 -1
- package/dist/esm/ix-tabs.entry.js +0 -200
- 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 -725
- package/dist/esm/ix-tree_2.entry.js.map +0 -1
- package/dist/esm/ix-workflow-step_2.entry.js +0 -165
- package/dist/esm/ix-workflow-step_2.entry.js.map +0 -1
- package/dist/esm/menu-service-12a09006.js +0 -156
- package/dist/esm/menu-service-12a09006.js.map +0 -1
- package/dist/siemens-ix/p-00616f87.entry.js +0 -2
- package/dist/siemens-ix/p-00616f87.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-134b6bd5.js +0 -2
- package/dist/siemens-ix/p-134b6bd5.js.map +0 -1
- package/dist/siemens-ix/p-14621fbd.entry.js +0 -2
- package/dist/siemens-ix/p-14621fbd.entry.js.map +0 -1
- package/dist/siemens-ix/p-1b705d7b.js +0 -2
- package/dist/siemens-ix/p-1b705d7b.js.map +0 -1
- package/dist/siemens-ix/p-1fc8e513.entry.js +0 -2
- package/dist/siemens-ix/p-1fc8e513.entry.js.map +0 -1
- package/dist/siemens-ix/p-281fa225.entry.js +0 -2
- package/dist/siemens-ix/p-281fa225.entry.js.map +0 -1
- package/dist/siemens-ix/p-2a29e187.entry.js +0 -2
- package/dist/siemens-ix/p-2a29e187.entry.js.map +0 -1
- package/dist/siemens-ix/p-36c48f12.entry.js +0 -2
- package/dist/siemens-ix/p-36c48f12.entry.js.map +0 -1
- package/dist/siemens-ix/p-36f0b470.entry.js +0 -2
- package/dist/siemens-ix/p-36f0b470.entry.js.map +0 -1
- package/dist/siemens-ix/p-37417714.js +0 -2
- package/dist/siemens-ix/p-37dd62fc.entry.js +0 -2
- package/dist/siemens-ix/p-37dd62fc.entry.js.map +0 -1
- package/dist/siemens-ix/p-3983ee89.entry.js +0 -2
- package/dist/siemens-ix/p-3983ee89.entry.js.map +0 -1
- package/dist/siemens-ix/p-3dbeeecf.entry.js +0 -2
- package/dist/siemens-ix/p-3dbeeecf.entry.js.map +0 -1
- package/dist/siemens-ix/p-3eabf464.entry.js +0 -2
- package/dist/siemens-ix/p-3eabf464.entry.js.map +0 -1
- package/dist/siemens-ix/p-40ecc8be.entry.js +0 -2
- package/dist/siemens-ix/p-40ecc8be.entry.js.map +0 -1
- package/dist/siemens-ix/p-475d8732.entry.js +0 -2
- package/dist/siemens-ix/p-475d8732.entry.js.map +0 -1
- package/dist/siemens-ix/p-4f8954a7.entry.js +0 -2
- package/dist/siemens-ix/p-4f8954a7.entry.js.map +0 -1
- package/dist/siemens-ix/p-5017cf39.entry.js +0 -2
- package/dist/siemens-ix/p-5017cf39.entry.js.map +0 -1
- package/dist/siemens-ix/p-5029fd0f.entry.js +0 -2
- package/dist/siemens-ix/p-5029fd0f.entry.js.map +0 -1
- package/dist/siemens-ix/p-553ebcb1.entry.js +0 -2
- package/dist/siemens-ix/p-553ebcb1.entry.js.map +0 -1
- package/dist/siemens-ix/p-5650383d.entry.js +0 -2
- package/dist/siemens-ix/p-567f71a2.entry.js +0 -2
- package/dist/siemens-ix/p-567f71a2.entry.js.map +0 -1
- package/dist/siemens-ix/p-5e3f8c0b.entry.js +0 -2
- package/dist/siemens-ix/p-5e3f8c0b.entry.js.map +0 -1
- package/dist/siemens-ix/p-7918fd50.entry.js +0 -2
- package/dist/siemens-ix/p-7918fd50.entry.js.map +0 -1
- package/dist/siemens-ix/p-7b536489.entry.js +0 -2
- package/dist/siemens-ix/p-7b536489.entry.js.map +0 -1
- package/dist/siemens-ix/p-8c7d1e06.js +0 -2
- package/dist/siemens-ix/p-8c7d1e06.js.map +0 -1
- package/dist/siemens-ix/p-8e39298f.js +0 -2
- package/dist/siemens-ix/p-94ecb1af.entry.js +0 -2
- package/dist/siemens-ix/p-94ecb1af.entry.js.map +0 -1
- package/dist/siemens-ix/p-98b03a9b.entry.js +0 -2
- package/dist/siemens-ix/p-98b03a9b.entry.js.map +0 -1
- package/dist/siemens-ix/p-9b6075de.entry.js +0 -2
- package/dist/siemens-ix/p-9b6075de.entry.js.map +0 -1
- package/dist/siemens-ix/p-a0fdaa04.entry.js +0 -2
- package/dist/siemens-ix/p-a0fdaa04.entry.js.map +0 -1
- package/dist/siemens-ix/p-a18f1744.entry.js +0 -2
- package/dist/siemens-ix/p-a18f1744.entry.js.map +0 -1
- package/dist/siemens-ix/p-a3d6abfb.entry.js +0 -2
- package/dist/siemens-ix/p-a3d6abfb.entry.js.map +0 -1
- package/dist/siemens-ix/p-a5ae7bfa.entry.js +0 -2
- package/dist/siemens-ix/p-a5ae7bfa.entry.js.map +0 -1
- package/dist/siemens-ix/p-a6345f97.entry.js +0 -2
- package/dist/siemens-ix/p-a6345f97.entry.js.map +0 -1
- package/dist/siemens-ix/p-a8424ce3.entry.js +0 -2
- package/dist/siemens-ix/p-a8424ce3.entry.js.map +0 -1
- package/dist/siemens-ix/p-a85299c6.entry.js +0 -2
- package/dist/siemens-ix/p-a85299c6.entry.js.map +0 -1
- package/dist/siemens-ix/p-ab4bdb4e.entry.js +0 -2
- package/dist/siemens-ix/p-ab4bdb4e.entry.js.map +0 -1
- package/dist/siemens-ix/p-ac00ae47.entry.js +0 -2
- package/dist/siemens-ix/p-ac00ae47.entry.js.map +0 -1
- package/dist/siemens-ix/p-b38eff08.entry.js +0 -2
- package/dist/siemens-ix/p-b38eff08.entry.js.map +0 -1
- package/dist/siemens-ix/p-b45ca515.entry.js +0 -2
- package/dist/siemens-ix/p-b45ca515.entry.js.map +0 -1
- package/dist/siemens-ix/p-c1ac2d01.entry.js +0 -2
- package/dist/siemens-ix/p-c1ac2d01.entry.js.map +0 -1
- package/dist/siemens-ix/p-c1f5a59a.entry.js +0 -2
- package/dist/siemens-ix/p-c1f5a59a.entry.js.map +0 -1
- package/dist/siemens-ix/p-c75264af.entry.js +0 -2
- package/dist/siemens-ix/p-c75264af.entry.js.map +0 -1
- package/dist/siemens-ix/p-db174600.entry.js +0 -2
- package/dist/siemens-ix/p-db174600.entry.js.map +0 -1
- package/dist/siemens-ix/p-db2f237f.entry.js +0 -2
- package/dist/siemens-ix/p-db2f237f.entry.js.map +0 -1
- package/dist/siemens-ix/p-dc77f962.entry.js +0 -2
- package/dist/siemens-ix/p-de013166.entry.js +0 -2
- package/dist/siemens-ix/p-de013166.entry.js.map +0 -1
- package/dist/siemens-ix/p-eb3f1ef6.entry.js +0 -2
- package/dist/siemens-ix/p-eb3f1ef6.entry.js.map +0 -1
- package/dist/siemens-ix/p-f71da594.entry.js +0 -2
- package/dist/siemens-ix/p-f71da594.entry.js.map +0 -1
- package/dist/siemens-ix/p-f9b004ba.entry.js +0 -2
- package/dist/siemens-ix/p-f9b004ba.entry.js.map +0 -1
- package/dist/siemens-ix/p-f9d4ca13.entry.js +0 -2
- package/dist/types/components/grid/grid.d.ts +0 -18
- /package/{dist/components → components}/_commonjsHelpers.js +0 -0
- /package/{dist/components → components}/_commonjsHelpers.js.map +0 -0
- /package/{dist/components → components}/animation.js +0 -0
- /package/{dist/components → components}/animation.js.map +0 -0
- /package/{dist/components → components}/anime.es.js +0 -0
- /package/{dist/components → components}/anime.es.js.map +0 -0
- /package/{dist/components → components}/avatar.js +0 -0
- /package/{dist/components → components}/avatar.js.map +0 -0
- /package/{dist/components → components}/base-button.js +0 -0
- /package/{dist/components → components}/base-button.js.map +0 -0
- /package/{dist/components → components}/base-icon-button.js +0 -0
- /package/{dist/components → components}/base-icon-button.js.map +0 -0
- /package/{dist/components → components}/context.js +0 -0
- /package/{dist/components → components}/context.js.map +0 -0
- /package/{dist/components → components}/date-time-card.js +0 -0
- /package/{dist/components → components}/date-time-card.js.map +0 -0
- /package/{dist/components → components}/default-tree-item.js +0 -0
- /package/{dist/components → components}/default-tree-item.js.map +0 -0
- /package/{dist/components → components}/divider.js +0 -0
- /package/{dist/components → components}/divider.js.map +0 -0
- /package/{dist/components → components}/flip-tile-state.js +0 -0
- /package/{dist/components → components}/flip-tile-state.js.map +0 -0
- /package/{dist/components → components}/floating-ui.dom.esm.js +0 -0
- /package/{dist/components → components}/floating-ui.dom.esm.js.map +0 -0
- /package/{dist/components → components}/index.d.ts +0 -0
- /package/{dist/components → components}/index.js +0 -0
- /package/{dist/components → components}/index.js.map +0 -0
- /package/{dist/components → components}/ix-application-header.js +0 -0
- /package/{dist/components → components}/ix-application-header.js.map +0 -0
- /package/{dist/components → components}/ix-application-sidebar.js +0 -0
- /package/{dist/components → components}/ix-application-sidebar.js.map +0 -0
- /package/{dist/components → components}/ix-application.js +0 -0
- /package/{dist/components → components}/ix-application.js.map +0 -0
- /package/{dist/components → components}/ix-avatar.js +0 -0
- /package/{dist/components → components}/ix-avatar.js.map +0 -0
- /package/{dist/components → components}/ix-breadcrumb-item.js +0 -0
- /package/{dist/components → components}/ix-breadcrumb-item.js.map +0 -0
- /package/{dist/components → components}/ix-burger-menu.js +0 -0
- /package/{dist/components → components}/ix-burger-menu.js.map +0 -0
- /package/{dist/components → components}/ix-button.js +0 -0
- /package/{dist/components → components}/ix-button.js.map +0 -0
- /package/{dist/components → components}/ix-card-accordion.js +0 -0
- /package/{dist/components → components}/ix-card-accordion.js.map +0 -0
- /package/{dist/components → components}/ix-card-content.js +0 -0
- /package/{dist/components → components}/ix-card-content.js.map +0 -0
- /package/{dist/components → components}/ix-card-title.js +0 -0
- /package/{dist/components → components}/ix-card-title.js.map +0 -0
- /package/{dist/components → components}/ix-card.js +0 -0
- /package/{dist/components → components}/ix-card.js.map +0 -0
- /package/{dist/components → components}/ix-content.js +0 -0
- /package/{dist/components → components}/ix-content.js.map +0 -0
- /package/{dist/components → components}/ix-css-grid-item.js +0 -0
- /package/{dist/components → components}/ix-css-grid-item.js.map +0 -0
- /package/{dist/components → components}/ix-css-grid.js +0 -0
- /package/{dist/components → components}/ix-css-grid.js.map +0 -0
- /package/{dist/components → components}/ix-date-picker.js +0 -0
- /package/{dist/components → components}/ix-date-picker.js.map +0 -0
- /package/{dist/components → components}/ix-date-time-card.js +0 -0
- /package/{dist/components → components}/ix-date-time-card.js.map +0 -0
- /package/{dist/components → components}/ix-divider.js +0 -0
- /package/{dist/components → components}/ix-divider.js.map +0 -0
- /package/{dist/components → components}/ix-dropdown-header.js +0 -0
- /package/{dist/components → components}/ix-dropdown-header.js.map +0 -0
- /package/{dist/components → components}/ix-dropdown-item.js +0 -0
- /package/{dist/components → components}/ix-dropdown-item.js.map +0 -0
- /package/{dist/components → components}/ix-dropdown-quick-actions.js +0 -0
- /package/{dist/components → components}/ix-dropdown-quick-actions.js.map +0 -0
- /package/{dist/components → components}/ix-dropdown.js +0 -0
- /package/{dist/components → components}/ix-dropdown.js.map +0 -0
- /package/{dist/components → components}/ix-event-list.js +0 -0
- /package/{dist/components → components}/ix-event-list.js.map +0 -0
- /package/{dist/components → components}/ix-filter-chip.js +0 -0
- /package/{dist/components → components}/ix-filter-chip.js.map +0 -0
- /package/{dist/components → components}/ix-flip-tile-content.js +0 -0
- /package/{dist/components → components}/ix-flip-tile-content.js.map +0 -0
- /package/{dist/components → components}/ix-group-context-menu.js +0 -0
- /package/{dist/components → components}/ix-group-context-menu.js.map +0 -0
- /package/{dist/components → components}/ix-group-item.js +0 -0
- /package/{dist/components → components}/ix-group-item.js.map +0 -0
- /package/{dist/components → components}/ix-icon-button.js +0 -0
- /package/{dist/components → components}/ix-icon-button.js.map +0 -0
- /package/{dist/components → components}/ix-key-value-list.js +0 -0
- /package/{dist/components → components}/ix-key-value-list.js.map +0 -0
- /package/{dist/components → components}/ix-map-navigation-overlay.js +0 -0
- /package/{dist/components → components}/ix-map-navigation-overlay.js.map +0 -0
- /package/{dist/components → components}/ix-menu-about-item.js +0 -0
- /package/{dist/components → components}/ix-menu-about-item.js.map +0 -0
- /package/{dist/components → components}/ix-menu-avatar-item.js +0 -0
- /package/{dist/components → components}/ix-menu-avatar-item.js.map +0 -0
- /package/{dist/components → components}/ix-menu-item.js +0 -0
- /package/{dist/components → components}/ix-menu-item.js.map +0 -0
- /package/{dist/components → components}/ix-menu-settings-item.js +0 -0
- /package/{dist/components → components}/ix-menu-settings-item.js.map +0 -0
- /package/{dist/components → components}/ix-modal-content.js +0 -0
- /package/{dist/components → components}/ix-modal-content.js.map +0 -0
- /package/{dist/components → components}/ix-modal-footer.js +0 -0
- /package/{dist/components → components}/ix-modal-footer.js.map +0 -0
- /package/{dist/components → components}/ix-modal-loading.js +0 -0
- /package/{dist/components → components}/ix-modal-loading.js.map +0 -0
- /package/{dist/components → components}/ix-select-item.js +0 -0
- /package/{dist/components → components}/ix-select-item.js.map +0 -0
- /package/{dist/components → components}/ix-select.js +0 -0
- /package/{dist/components → components}/ix-select.js.map +0 -0
- /package/{dist/components → components}/ix-spinner.js +0 -0
- /package/{dist/components → components}/ix-spinner.js.map +0 -0
- /package/{dist/components → components}/ix-tab-item.js +0 -0
- /package/{dist/components → components}/ix-tab-item.js.map +0 -0
- /package/{dist/components → components}/ix-tabs.js +0 -0
- /package/{dist/components → components}/ix-tabs.js.map +0 -0
- /package/{dist/components → components}/ix-tile.js +0 -0
- /package/{dist/components → components}/ix-tile.js.map +0 -0
- /package/{dist/components → components}/ix-time-picker.js +0 -0
- /package/{dist/components → components}/ix-time-picker.js.map +0 -0
- /package/{dist/components → components}/ix-toast.js +0 -0
- /package/{dist/components → components}/ix-toast.js.map +0 -0
- /package/{dist/components → components}/ix-toggle.js +0 -0
- /package/{dist/components → components}/ix-toggle.js.map +0 -0
- /package/{dist/components → components}/ix-tree-item.js +0 -0
- /package/{dist/components → components}/ix-tree-item.js.map +0 -0
- /package/{dist/components → components}/ix-typography.js +0 -0
- /package/{dist/components → components}/ix-typography.js.map +0 -0
- /package/{dist/components → components}/ix-workflow-steps.js +0 -0
- /package/{dist/components → components}/ix-workflow-steps.js.map +0 -0
- /package/{dist/components → components}/logical-filter-operator.js +0 -0
- /package/{dist/components → components}/logical-filter-operator.js.map +0 -0
- /package/{dist/components → components}/luxon.js +0 -0
- /package/{dist/components → components}/luxon.js.map +0 -0
- /package/{dist/components → components}/menu-service.js +0 -0
- /package/{dist/components → components}/menu-service.js.map +0 -0
- /package/{dist/components → components}/modal.js +0 -0
- /package/{dist/components → components}/modal.js.map +0 -0
- /package/{dist/components → components}/mutation-observer.js +0 -0
- /package/{dist/components → components}/mutation-observer.js.map +0 -0
- /package/{dist/components → components}/my-component.js +0 -0
- /package/{dist/components → components}/my-component.js.map +0 -0
- /package/{dist/components → components}/rwd.util.js +0 -0
- /package/{dist/components → components}/rwd.util.js.map +0 -0
- /package/{dist/components → components}/shadow-dom.js +0 -0
- /package/{dist/components → components}/spinner.js +0 -0
- /package/{dist/components → components}/spinner.js.map +0 -0
- /package/{dist/components → components}/tab-item.js +0 -0
- /package/{dist/components → components}/tab-item.js.map +0 -0
- /package/{dist/components → components}/theme-switcher.js +0 -0
- /package/{dist/components → components}/theme-switcher.js.map +0 -0
- /package/{dist/components → components}/typed-event.js +0 -0
- /package/{dist/components → components}/typed-event.js.map +0 -0
- /package/{dist/components → components}/typography.js +0 -0
- /package/{dist/components → components}/typography.js.map +0 -0
- /package/{dist/components → components}/upload-file-state.js +0 -0
- /package/{dist/components → components}/upload-file-state.js.map +0 -0
- /package/dist/siemens-ix/{p-37417714.js.map → p-3e7b4990.js.map} +0 -0
- /package/dist/siemens-ix/{p-8e39298f.js.map → p-5d172daa.js.map} +0 -0
- /package/dist/siemens-ix/{p-dc77f962.entry.js.map → p-77b14ca1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5650383d.entry.js.map → p-b53bed3a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f9d4ca13.entry.js.map → p-f97f2394.entry.js.map} +0 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-be499a74.js');
|
|
6
|
+
|
|
7
|
+
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}";
|
|
8
|
+
|
|
9
|
+
const SplitButton = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.buttonClick = index.createEvent(this, "buttonClick", 7);
|
|
13
|
+
this.variant = 'primary';
|
|
14
|
+
this.outline = false;
|
|
15
|
+
this.ghost = false;
|
|
16
|
+
this.label = undefined;
|
|
17
|
+
this.icon = '';
|
|
18
|
+
this.splitIcon = 'context-menu';
|
|
19
|
+
this.disabled = false;
|
|
20
|
+
this.placement = 'bottom-start';
|
|
21
|
+
this.toggle = false;
|
|
22
|
+
}
|
|
23
|
+
linkTriggerRef() {
|
|
24
|
+
if (this.triggerElement && this.dropdownElement) {
|
|
25
|
+
this.dropdownElement.trigger = this.triggerElement;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
componentDidLoad() {
|
|
29
|
+
this.linkTriggerRef();
|
|
30
|
+
}
|
|
31
|
+
render() {
|
|
32
|
+
const buttonAttributes = {
|
|
33
|
+
variant: this.variant,
|
|
34
|
+
outline: this.outline,
|
|
35
|
+
ghost: this.ghost,
|
|
36
|
+
disabled: this.disabled,
|
|
37
|
+
class: {
|
|
38
|
+
'left-button-border': !this.outline,
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
return (index.h(index.Host, null, index.h("div", { class: { 'btn-group': true, 'middle-gap': !this.outline } }, this.label ? (index.h("ix-button", Object.assign({}, buttonAttributes, { icon: this.icon, onClick: (e) => this.buttonClick.emit(e) }), this.label)) : (index.h("ix-icon-button", Object.assign({}, buttonAttributes, { icon: this.icon, onClick: (e) => this.buttonClick.emit(e) }))), index.h("ix-icon-button", Object.assign({}, buttonAttributes, { ref: (r) => (this.triggerElement = r), class: 'anchor', icon: this.splitIcon }))), index.h("ix-dropdown", { ref: (r) => (this.dropdownElement = r) }, index.h("slot", null))));
|
|
42
|
+
}
|
|
43
|
+
get hostElement() { return index.getElement(this); }
|
|
44
|
+
};
|
|
45
|
+
SplitButton.style = splitButtonCss;
|
|
46
|
+
|
|
47
|
+
exports.ix_split_button = SplitButton;
|
|
48
|
+
|
|
49
|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,IACpB,GAAG,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,cAAc,GAAG,CAAC,CAAC,EACrC,KAAK,EAAE,QAAQ,EACf,IAAI,EAAE,IAAI,CAAC,SAAS,IACJ,CACd,EAENA,yBAAa,GAAG,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,eAAe,GAAG,CAAC,CAAC,IACjDA,qBAAa,CACD,CACT,EACP;GACH;;;;;;;","names":["h","Host"],"sources":["./src/components/split-button/split-button.scss?tag=ix-split-button&encapsulation=shadow","./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,263 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-be499a74.js');
|
|
6
|
+
|
|
7
|
+
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}";
|
|
8
|
+
|
|
9
|
+
const TabItem = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.tabClick = index.createEvent(this, "tabClick", 7);
|
|
13
|
+
this.selected = false;
|
|
14
|
+
this.disabled = false;
|
|
15
|
+
this.small = false;
|
|
16
|
+
this.icon = false;
|
|
17
|
+
this.rounded = false;
|
|
18
|
+
this.counter = undefined;
|
|
19
|
+
this.layout = 'auto';
|
|
20
|
+
this.placement = 'bottom';
|
|
21
|
+
}
|
|
22
|
+
tabItemClasses(props) {
|
|
23
|
+
return {
|
|
24
|
+
selected: props.selected,
|
|
25
|
+
disabled: props.disabled,
|
|
26
|
+
'small-tab': props.small,
|
|
27
|
+
icon: props.small,
|
|
28
|
+
stretched: props.layout === 'stretched',
|
|
29
|
+
bottom: props.placement === 'bottom',
|
|
30
|
+
top: props.placement === 'top',
|
|
31
|
+
circle: props.circle,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
render() {
|
|
35
|
+
return (index.h(index.Host, { class: this.tabItemClasses({
|
|
36
|
+
selected: this.selected,
|
|
37
|
+
disabled: this.disabled,
|
|
38
|
+
small: this.small,
|
|
39
|
+
icon: this.icon,
|
|
40
|
+
layout: this.layout,
|
|
41
|
+
placement: this.placement,
|
|
42
|
+
circle: this.rounded,
|
|
43
|
+
}), tabIndex: 0, onClick: (event) => {
|
|
44
|
+
const clientEvent = this.tabClick.emit({
|
|
45
|
+
nativeEvent: event,
|
|
46
|
+
});
|
|
47
|
+
if (clientEvent.defaultPrevented) {
|
|
48
|
+
event.stopPropagation();
|
|
49
|
+
}
|
|
50
|
+
} }, index.h("div", { class: {
|
|
51
|
+
circle: this.rounded,
|
|
52
|
+
text: !this.rounded,
|
|
53
|
+
selected: this.selected,
|
|
54
|
+
disabled: this.disabled,
|
|
55
|
+
} }, index.h("slot", null)), index.h("div", { class: {
|
|
56
|
+
counter: true,
|
|
57
|
+
selected: this.selected,
|
|
58
|
+
hidden: !(this.rounded && this.counter !== undefined),
|
|
59
|
+
disabled: this.disabled,
|
|
60
|
+
} }, this.counter)));
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
TabItem.style = tabItemCss;
|
|
64
|
+
|
|
65
|
+
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%)}";
|
|
66
|
+
|
|
67
|
+
const Tabs = class {
|
|
68
|
+
constructor(hostRef) {
|
|
69
|
+
index.registerInstance(this, hostRef);
|
|
70
|
+
this.selectedChange = index.createEvent(this, "selectedChange", 7);
|
|
71
|
+
this.windowStartSize = window.innerWidth;
|
|
72
|
+
this.clickAction = {
|
|
73
|
+
timeout: null,
|
|
74
|
+
isClick: true,
|
|
75
|
+
};
|
|
76
|
+
this.small = false;
|
|
77
|
+
this.rounded = false;
|
|
78
|
+
this.selected = 0;
|
|
79
|
+
this.layout = 'auto';
|
|
80
|
+
this.placement = 'bottom';
|
|
81
|
+
this.totalItems = 0;
|
|
82
|
+
this.currentScrollAmount = 0;
|
|
83
|
+
this.scrollAmount = 100;
|
|
84
|
+
this.styleNextArrow = {};
|
|
85
|
+
this.stylePreviousArrow = {};
|
|
86
|
+
this.scrollActionAmount = 0;
|
|
87
|
+
}
|
|
88
|
+
onWindowResize() {
|
|
89
|
+
this.totalItems = 0;
|
|
90
|
+
this.totalItems = this.getTabs().length;
|
|
91
|
+
if (this.windowStartSize === 0)
|
|
92
|
+
return (this.windowStartSize = window.innerWidth);
|
|
93
|
+
this.move(this.windowStartSize - window.innerWidth);
|
|
94
|
+
this.windowStartSize = window.innerWidth;
|
|
95
|
+
}
|
|
96
|
+
getTabs() {
|
|
97
|
+
return Array.from(this.hostElement.querySelectorAll('ix-tab-item'));
|
|
98
|
+
}
|
|
99
|
+
getTab(tabIndex) {
|
|
100
|
+
return this.getTabs()[tabIndex];
|
|
101
|
+
}
|
|
102
|
+
getTabsWrapper() {
|
|
103
|
+
return this.hostElement.shadowRoot.querySelector('.items-content');
|
|
104
|
+
}
|
|
105
|
+
showArrows() {
|
|
106
|
+
try {
|
|
107
|
+
const tabWrapper = this.getTabsWrapper();
|
|
108
|
+
return (tabWrapper.scrollWidth >
|
|
109
|
+
Math.ceil(tabWrapper.getBoundingClientRect().width) &&
|
|
110
|
+
this.layout === 'auto');
|
|
111
|
+
}
|
|
112
|
+
catch (error) {
|
|
113
|
+
return false;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
showPreviousArrow() {
|
|
117
|
+
try {
|
|
118
|
+
return this.showArrows() && this.scrollActionAmount < 0;
|
|
119
|
+
}
|
|
120
|
+
catch (error) {
|
|
121
|
+
return false;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
showNextArrow() {
|
|
125
|
+
try {
|
|
126
|
+
const tabWrapper = this.getTabsWrapper();
|
|
127
|
+
const tabWrapperRect = tabWrapper.getBoundingClientRect();
|
|
128
|
+
return (this.showArrows() &&
|
|
129
|
+
this.scrollActionAmount >
|
|
130
|
+
(tabWrapper.scrollWidth - tabWrapperRect.width) * -1);
|
|
131
|
+
}
|
|
132
|
+
catch (error) {
|
|
133
|
+
return false;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
getArrowStyle(condition) {
|
|
137
|
+
return {
|
|
138
|
+
opacity: condition ? '1' : '0',
|
|
139
|
+
zIndex: condition ? '1' : '-1',
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
move(amount, click = false) {
|
|
143
|
+
const tabWrapper = this.getTabsWrapper();
|
|
144
|
+
const maxScrollWidth = (tabWrapper.scrollWidth - tabWrapper.getBoundingClientRect().width) * -1;
|
|
145
|
+
amount = this.currentScrollAmount + amount;
|
|
146
|
+
amount = amount > 0 ? 0 : amount < maxScrollWidth ? maxScrollWidth : amount;
|
|
147
|
+
const styles = [
|
|
148
|
+
`transform: translateX(${amount}px);`,
|
|
149
|
+
click ? 'transition: all ease-in-out 400ms;' : '',
|
|
150
|
+
].join('');
|
|
151
|
+
tabWrapper.setAttribute('style', styles);
|
|
152
|
+
if (click)
|
|
153
|
+
this.currentScrollAmount = this.scrollActionAmount = amount;
|
|
154
|
+
else
|
|
155
|
+
this.scrollActionAmount = amount;
|
|
156
|
+
}
|
|
157
|
+
moveTabToView(tabIndex) {
|
|
158
|
+
if (!this.showArrows())
|
|
159
|
+
return;
|
|
160
|
+
const tab = this.getTab(tabIndex).getBoundingClientRect();
|
|
161
|
+
const amount = tab.x * -1;
|
|
162
|
+
this.move(amount, true);
|
|
163
|
+
}
|
|
164
|
+
setSelected(index) {
|
|
165
|
+
this.selected = index;
|
|
166
|
+
}
|
|
167
|
+
clickTab(index) {
|
|
168
|
+
if (this.dragStop()) {
|
|
169
|
+
return;
|
|
170
|
+
}
|
|
171
|
+
const { defaultPrevented } = this.selectedChange.emit(index);
|
|
172
|
+
if (defaultPrevented) {
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
this.setSelected(index);
|
|
176
|
+
this.moveTabToView(index);
|
|
177
|
+
}
|
|
178
|
+
dragStart(element, event) {
|
|
179
|
+
if (!this.showArrows())
|
|
180
|
+
return;
|
|
181
|
+
if (event.button > 0)
|
|
182
|
+
return;
|
|
183
|
+
this.clickAction.timeout =
|
|
184
|
+
this.clickAction.timeout === null
|
|
185
|
+
? setTimeout(() => (this.clickAction.isClick = false), 300)
|
|
186
|
+
: null;
|
|
187
|
+
const tabPositionX = parseFloat(window.getComputedStyle(element).left);
|
|
188
|
+
const mousedownPositionX = event.clientX;
|
|
189
|
+
const move = (event) => this.dragMove(event, tabPositionX, mousedownPositionX);
|
|
190
|
+
window.addEventListener('mouseup', () => {
|
|
191
|
+
window.removeEventListener('mousemove', move, false);
|
|
192
|
+
this.dragStop();
|
|
193
|
+
});
|
|
194
|
+
window.addEventListener('mousemove', move, false);
|
|
195
|
+
}
|
|
196
|
+
dragMove(event, tabX, mousedownX) {
|
|
197
|
+
this.move(event.clientX + tabX - mousedownX);
|
|
198
|
+
}
|
|
199
|
+
dragStop() {
|
|
200
|
+
clearTimeout(this.clickAction.timeout);
|
|
201
|
+
this.clickAction.timeout = null;
|
|
202
|
+
if (this.clickAction.isClick)
|
|
203
|
+
return false;
|
|
204
|
+
this.currentScrollAmount = this.scrollActionAmount;
|
|
205
|
+
this.clickAction.isClick = true;
|
|
206
|
+
return true;
|
|
207
|
+
}
|
|
208
|
+
componentDidRender() {
|
|
209
|
+
const tabs = this.getTabs();
|
|
210
|
+
this.totalItems = tabs.length;
|
|
211
|
+
tabs.forEach((element, index) => {
|
|
212
|
+
if (this.small)
|
|
213
|
+
element.setAttribute('small', 'true');
|
|
214
|
+
if (this.rounded)
|
|
215
|
+
element.setAttribute('rounded', 'true');
|
|
216
|
+
element.setAttribute('layout', this.layout);
|
|
217
|
+
element.setAttribute('selected', index === this.selected ? 'true' : 'false');
|
|
218
|
+
element.setAttribute('placement', this.placement);
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
componentWillRender() {
|
|
222
|
+
requestAnimationFrame(() => {
|
|
223
|
+
const showNextArrow = this.showNextArrow();
|
|
224
|
+
const previousArrow = this.showPreviousArrow();
|
|
225
|
+
this.styleNextArrow = this.getArrowStyle(showNextArrow);
|
|
226
|
+
this.stylePreviousArrow = this.getArrowStyle(previousArrow);
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
componentDidLoad() {
|
|
230
|
+
const tabs = this.getTabs();
|
|
231
|
+
tabs.forEach((element) => {
|
|
232
|
+
element.addEventListener('mousedown', (event) => this.dragStart(element, event));
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
onTabClick(event) {
|
|
236
|
+
if (event.defaultPrevented) {
|
|
237
|
+
return;
|
|
238
|
+
}
|
|
239
|
+
const target = event.target;
|
|
240
|
+
const tabs = this.getTabs();
|
|
241
|
+
tabs.forEach((tab, index) => {
|
|
242
|
+
if (!tab.disabled && tab === target) {
|
|
243
|
+
this.clickTab(index);
|
|
244
|
+
}
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
render() {
|
|
248
|
+
return (index.h(index.Host, null, index.h("div", { class: "arrow", style: this.stylePreviousArrow, onClick: () => this.move(this.scrollAmount, true) }, index.h("ix-icon", { name: 'chevron-left-small' })), index.h("div", { class: {
|
|
249
|
+
'tab-items': true,
|
|
250
|
+
'overflow-shadow': true,
|
|
251
|
+
'shadow-left': this.showPreviousArrow(),
|
|
252
|
+
'shadow-right': this.showNextArrow(),
|
|
253
|
+
'shadow-both': this.showNextArrow() && this.showPreviousArrow(),
|
|
254
|
+
} }, index.h("div", { class: "items-content" }, index.h("slot", null))), index.h("div", { class: "arrow right", style: this.styleNextArrow, onClick: () => this.move(-this.scrollAmount, true) }, index.h("ix-icon", { name: 'chevron-right-small' }))));
|
|
255
|
+
}
|
|
256
|
+
get hostElement() { return index.getElement(this); }
|
|
257
|
+
};
|
|
258
|
+
Tabs.style = tabsCss;
|
|
259
|
+
|
|
260
|
+
exports.ix_tab_item = TabItem;
|
|
261
|
+
exports.ix_tabs = Tabs;
|
|
262
|
+
|
|
263
|
+
//# sourceMappingURL=ix-tab-item_2.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-tab-item.ix-tabs.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,UAAU,GAAG,gvIAAgvI;;MCoBtvI,OAAO;;;;oBAIC,KAAK;oBAKL,KAAK;iBAKR,KAAK;gBAKN,KAAK;mBAKF,KAAK;;kBAUgB,MAAM;qBAKP,QAAQ;;EAStC,cAAc,CAAC,KAQtB;IACC,OAAO;MACL,QAAQ,EAAE,KAAK,CAAC,QAAQ;MACxB,QAAQ,EAAE,KAAK,CAAC,QAAQ;MACxB,WAAW,EAAE,KAAK,CAAC,KAAK;MACxB,IAAI,EAAE,KAAK,CAAC,KAAK;MACjB,SAAS,EAAE,KAAK,CAAC,MAAM,KAAK,WAAW;MACvC,MAAM,EAAE,KAAK,CAAC,SAAS,KAAK,QAAQ;MACpC,GAAG,EAAE,KAAK,CAAC,SAAS,KAAK,KAAK;MAC9B,MAAM,EAAE,KAAK,CAAC,MAAM;KACrB,CAAC;GACH;EAED,MAAM;IACJ,QACEA,QAACC,UAAI,IACH,KAAK,EAAE,IAAI,CAAC,cAAc,CAAC;QACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,MAAM,EAAE,IAAI,CAAC,MAAM;QACnB,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,MAAM,EAAE,IAAI,CAAC,OAAO;OACrB,CAAC,EACF,QAAQ,EAAE,CAAC,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;QACpC,aAAa,EAAE,IAAI,CAAC,aAAa,EAAE,IAAI,IAAI,CAAC,iBAAiB,EAAE;OAChE,IAEDA,iBAAK,KAAK,EAAC,eAAe,IACxBA,qBAAa,CACT,CACF,EACNA,iBACE,KAAK,EAAC,aAAa,EACnB,KAAK,EAAE,IAAI,CAAC,cAAc,EAC1B,OAAO,EAAE,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,IAElDA,qBAAS,IAAI,EAAE,qBAAqB,GAAY,CAC5C,CACD,EACP;GACH;;;;;;;;","names":["h","Host"],"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}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-be499a74.js');
|
|
6
|
+
const typedEvent = require('./typed-event-f0f051da.js');
|
|
7
|
+
|
|
8
|
+
const toastContainerCss = ":host{}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}#toast-container>:not(:last-child){-webkit-margin-after:1rem;margin-block-end:1rem}.toast-container{display:block;position:fixed}.toast-container--top-right{right:1rem;top:2rem}.toast-container--bottom-right{right:1rem;bottom:2rem}";
|
|
9
|
+
|
|
10
|
+
const ToastContainer = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.PREFIX_POSITION_CLASS = 'toast-container--';
|
|
14
|
+
this.containerId = 'toast-container';
|
|
15
|
+
this.containerClass = 'toast-container';
|
|
16
|
+
this.position = 'bottom-right';
|
|
17
|
+
}
|
|
18
|
+
get hostContainer() {
|
|
19
|
+
return document.getElementById(this.containerId);
|
|
20
|
+
}
|
|
21
|
+
componentDidLoad() {
|
|
22
|
+
if (!document.getElementById(this.containerId)) {
|
|
23
|
+
const toastContainer = document.createElement('div');
|
|
24
|
+
toastContainer.id = this.containerId;
|
|
25
|
+
toastContainer.classList.add(this.containerClass);
|
|
26
|
+
toastContainer.classList.add(`${this.PREFIX_POSITION_CLASS}${this.position}`);
|
|
27
|
+
document.body.appendChild(toastContainer);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
onPositionChange(newPosition, oldPosition) {
|
|
31
|
+
const toastContainer = document.getElementById(this.containerId);
|
|
32
|
+
toastContainer.classList.remove(`${this.PREFIX_POSITION_CLASS}${oldPosition}`);
|
|
33
|
+
toastContainer.classList.add(`${this.PREFIX_POSITION_CLASS}${newPosition}`);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Display a toast message
|
|
37
|
+
* @param config
|
|
38
|
+
*/
|
|
39
|
+
async showToast(config) {
|
|
40
|
+
var _a, _b;
|
|
41
|
+
const toast = document.createElement('ix-toast');
|
|
42
|
+
const onClose = new typedEvent.TypedEvent();
|
|
43
|
+
function removeToast(result) {
|
|
44
|
+
toast.remove();
|
|
45
|
+
onClose.emit(result);
|
|
46
|
+
}
|
|
47
|
+
toast.toastTitle = config.title;
|
|
48
|
+
toast.type = config.type;
|
|
49
|
+
toast.autoClose = (_a = config.autoClose) !== null && _a !== void 0 ? _a : true;
|
|
50
|
+
toast.autoCloseDelay = (_b = config.autoCloseDelay) !== null && _b !== void 0 ? _b : 5000;
|
|
51
|
+
toast.icon = config.icon;
|
|
52
|
+
toast.iconColor = config.iconColor;
|
|
53
|
+
toast.addEventListener('closeToast', (event) => {
|
|
54
|
+
const { detail } = event;
|
|
55
|
+
removeToast(detail);
|
|
56
|
+
});
|
|
57
|
+
if (typeof config.message === 'string') {
|
|
58
|
+
toast.innerText = config.message;
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
toast.appendChild(config.message);
|
|
62
|
+
}
|
|
63
|
+
setTimeout(() => {
|
|
64
|
+
this.hostContainer.appendChild(toast);
|
|
65
|
+
});
|
|
66
|
+
return {
|
|
67
|
+
onClose,
|
|
68
|
+
close: (result) => {
|
|
69
|
+
removeToast(result);
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
render() {
|
|
74
|
+
return (index.h(index.Host, { class: {
|
|
75
|
+
'toast-container--bottom-right': this.position === 'bottom-right',
|
|
76
|
+
'toast-container--top-right': this.position === 'top-right',
|
|
77
|
+
} }));
|
|
78
|
+
}
|
|
79
|
+
static get watchers() { return {
|
|
80
|
+
"position": ["onPositionChange"]
|
|
81
|
+
}; }
|
|
82
|
+
};
|
|
83
|
+
ToastContainer.style = toastContainerCss;
|
|
84
|
+
|
|
85
|
+
exports.ix_toast_container = ToastContainer;
|
|
86
|
+
|
|
87
|
+
//# sourceMappingURL=ix-toast-container.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-toast-container.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,iBAAiB,GAAG,40BAA40B;;MCkBz1B,cAAc;;;IAaR,0BAAqB,GAAG,mBAAmB,CAAC;uBAVvC,iBAAiB;0BAId,iBAAiB;oBAIO,cAAc;;EAI/D,IAAI,aAAa;IACf,OAAO,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;GAClD;EAED,gBAAgB;IACd,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI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,CAAC,cAAc,mCAAI,IAAI,CAAC;IACrD,KAAK,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;IACzB,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;IACnC,KAAK,CAAC,gBAAgB,CACpB,YAAY,EACZ,CAAC,KAAmC;MAClC,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;MACzB,WAAW,CAAC,MAAM,CAAC,CAAC;KACrB,CACF,CAAC;IAEF,IAAI,OAAO,MAAM,CAAC,OAAO,KAAK,QAAQ,EAAE;MACtC,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC;KAClC;SAAM;MACL,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;KACnC;IAED,UAAU,CAAC;MACT,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;KACvC,CAAC,CAAC;IAEH,OAAO;MACL,OAAO;MACP,KAAK,EAAE,CAAC,MAAY;QAClB,WAAW,CAAC,MAAM,CAAC,CAAC;OACrB;KACF,CAAC;GACH;EAED,MAAM;IACJ,QACEC,QAACC,UAAI,IACH,KAAK,EAAE;QACL,+BAA+B,EAAE,IAAI,CAAC,QAAQ,KAAK,cAAc;QACjE,4BAA4B,EAAE,IAAI,CAAC,QAAQ,KAAK,WAAW;OAC5D,GAGI,EACP;GACH;;;;;;;;;","names":["TypedEvent","h","Host"],"sources":["./src/components/toast/styles/toast-container.scss?tag=ix-toast-container&encapsulation=shadow","./src/components/toast/toast-container.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/shadow-dom/component';\n\n:host {\n @include ix-component;\n}\n\n#toast-container {\n > :not(:last-child) {\n margin-block-end: $default-space;\n }\n}\n\n.toast-container {\n display: block;\n position: fixed;\n}\n\n.toast-container--top-right {\n right: 1rem;\n top: 2rem;\n}\n\n.toast-container--bottom-right {\n right: 1rem;\n bottom: 2rem;\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, h, Host, Method, Prop, Watch } from '@stencil/core';\nimport { TypedEvent } from '../utils/typed-event';\nimport { ToastConfig } from './toast-utils';\n\n@Component({\n tag: 'ix-toast-container',\n styleUrl: './styles/toast-container.scss',\n shadow: true,\n})\nexport class ToastContainer {\n /**\n */\n @Prop() containerId = 'toast-container';\n\n /**\n */\n @Prop() containerClass = 'toast-container';\n\n /**\n */\n @Prop() position: 'bottom-right' | 'top-right' = 'bottom-right';\n\n private readonly PREFIX_POSITION_CLASS = 'toast-container--';\n\n get hostContainer() {\n return document.getElementById(this.containerId);\n }\n\n componentDidLoad() {\n if (!document.getElementById(this.containerId)) {\n const toastContainer = document.createElement('div');\n toastContainer.id = this.containerId;\n toastContainer.classList.add(this.containerClass);\n toastContainer.classList.add(\n `${this.PREFIX_POSITION_CLASS}${this.position}`\n );\n document.body.appendChild(toastContainer);\n }\n }\n\n @Watch('position')\n onPositionChange(newPosition: string, oldPosition: string) {\n const toastContainer = document.getElementById(this.containerId);\n toastContainer.classList.remove(\n `${this.PREFIX_POSITION_CLASS}${oldPosition}`\n );\n toastContainer.classList.add(`${this.PREFIX_POSITION_CLASS}${newPosition}`);\n }\n\n /**\n * Display a toast message\n * @param config\n */\n @Method()\n async showToast(config: ToastConfig) {\n const toast = document.createElement('ix-toast');\n\n const onClose = new TypedEvent<any | undefined>();\n\n function removeToast(result?: any) {\n toast.remove();\n onClose.emit(result);\n }\n\n toast.toastTitle = config.title;\n toast.type = config.type;\n toast.autoClose = config.autoClose ?? true;\n toast.autoCloseDelay = config.autoCloseDelay ?? 5000;\n toast.icon = config.icon;\n toast.iconColor = config.iconColor;\n toast.addEventListener(\n 'closeToast',\n (event: CustomEvent<any | undefined>) => {\n const { detail } = event;\n removeToast(detail);\n }\n );\n\n if (typeof config.message === 'string') {\n toast.innerText = config.message;\n } else {\n toast.appendChild(config.message);\n }\n\n setTimeout(() => {\n this.hostContainer.appendChild(toast);\n });\n\n return {\n onClose,\n close: (result?: any) => {\n removeToast(result);\n },\n };\n }\n\n render() {\n return (\n <Host\n class={{\n 'toast-container--bottom-right': this.position === 'bottom-right',\n 'toast-container--top-right': this.position === 'top-right',\n }}\n >\n {/* <slot></slot> */}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-be499a74.js');
|
|
6
|
+
|
|
7
|
+
const toastCss = ":host{display:flex;flex-direction:column;position:relative;min-width:17.5rem;max-width:17.5rem;min-height:3.5rem;pointer-events:all;background-color:var(--theme-toast--background);border:var(--theme-toast--border-thickness) solid var(--theme-toast--border-color);border-radius:var(--theme-toast--border-radius);box-shadow:var(--theme-toast--box-shadow);--animate-duration:300ms}: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 .toast-body{display:flex;position:relative;min-height:3.5rem;width:100%;flex-grow:1;padding:0.75rem}:host .toast-body .toast-icon{display:flex;align-items:flex-start;margin-right:1rem}:host .toast-body .toast-content{overflow:hidden;text-overflow:ellipsis;min-width:0;width:100%}:host .toast-body .toast-content .toast-title{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.143em;color:var(--theme-color-std-text);margin:0.25rem 0px}:host .toast-body .toast-content .toast-message{min-width:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text)}:host .toast-body .toast-icon+.toast-content{max-width:10.25rem}:host .toast-close{display:flex;position:relative;pointer-events:all;margin-left:auto;margin-right:0px}:host .toast-progress-bar{position:absolute;bottom:0;height:0.25rem;width:100%;background-color:var(--theme-toast-timer-value--background);transform-origin:left}:host .toast-progress-bar--animated{animation:trackProgress linear 1 forwards}@keyframes trackProgress{0%{transform:scaleX(1)}100%{transform:scaleX(0)}}";
|
|
8
|
+
|
|
9
|
+
const Toast = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.closeToast = index.createEvent(this, "closeToast", 7);
|
|
13
|
+
this.type = 'info';
|
|
14
|
+
this.toastTitle = undefined;
|
|
15
|
+
this.autoCloseDelay = 5000;
|
|
16
|
+
this.autoClose = true;
|
|
17
|
+
this.icon = undefined;
|
|
18
|
+
this.iconColor = undefined;
|
|
19
|
+
this.progress = 0;
|
|
20
|
+
this.touched = false;
|
|
21
|
+
}
|
|
22
|
+
getIcon() {
|
|
23
|
+
if (this.icon) {
|
|
24
|
+
return index.h("ix-icon", { name: this.icon, color: this.iconColor, size: "24" });
|
|
25
|
+
}
|
|
26
|
+
switch (this.type) {
|
|
27
|
+
case 'info':
|
|
28
|
+
return index.h("ix-icon", { name: 'info', size: "24", color: "color-std-text" });
|
|
29
|
+
case 'error':
|
|
30
|
+
return index.h("ix-icon", { name: 'error', size: "24", color: "color-alarm" });
|
|
31
|
+
case 'success':
|
|
32
|
+
return index.h("ix-icon", { name: 'success', size: "24", color: "color-success" });
|
|
33
|
+
case 'warning':
|
|
34
|
+
return index.h("ix-icon", { name: 'warning', size: "24", color: "color-warning" });
|
|
35
|
+
default:
|
|
36
|
+
return '';
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
close() {
|
|
40
|
+
if (this.hostElement) {
|
|
41
|
+
this.hostElement.classList.add('animate__fadeOut');
|
|
42
|
+
}
|
|
43
|
+
setTimeout(() => {
|
|
44
|
+
this.closeToast.emit();
|
|
45
|
+
}, 250);
|
|
46
|
+
}
|
|
47
|
+
render() {
|
|
48
|
+
let progressBarStyle = {};
|
|
49
|
+
const progressBarClass = ['toast-progress-bar'];
|
|
50
|
+
progressBarStyle = {
|
|
51
|
+
animationDuration: `${this.autoCloseDelay}ms`,
|
|
52
|
+
animationPlayState: this.touched ? 'paused' : 'running',
|
|
53
|
+
};
|
|
54
|
+
progressBarClass.push('toast-progress-bar--animated');
|
|
55
|
+
return (index.h(index.Host, { class: "animate__animated animate__fadeIn" }, index.h("div", { class: "toast-body", onPointerLeave: () => {
|
|
56
|
+
this.touched = false;
|
|
57
|
+
}, onPointerEnter: () => {
|
|
58
|
+
this.touched = true;
|
|
59
|
+
} }, this.type || this.icon ? (index.h("div", { class: "toast-icon" }, this.getIcon())) : null, index.h("div", { class: "toast-content" }, this.toastTitle ? (index.h("div", { class: "toast-title" }, this.toastTitle)) : null, index.h("div", { class: "toast-message" }, index.h("slot", null))), index.h("div", { class: "toast-close" }, index.h("ix-icon-button", { icon: 'close', size: "24", ghost: true, onClick: () => this.closeToast.emit() }))), this.autoClose ? (index.h("div", { class: progressBarClass.join(' '), style: progressBarStyle, onAnimationEnd: () => {
|
|
60
|
+
this.close();
|
|
61
|
+
}, onTransitionEnd: () => {
|
|
62
|
+
if (this.progress === 0) {
|
|
63
|
+
this.close();
|
|
64
|
+
}
|
|
65
|
+
} })) : null));
|
|
66
|
+
}
|
|
67
|
+
get hostElement() { return index.getElement(this); }
|
|
68
|
+
};
|
|
69
|
+
Toast.style =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,KAAK,CAAC,EAAE;UACvB,IAAI,CAAC,KAAK,EAAE,CAAC;SACd;OACF,GACI,IACL,IAAI,CACH,EACP;GACH;;;;;;;","names":["h","Host"],"sources":["./src/components/toast/toast.scss?tag=ix-toast&encapsulation=shadow","./src/components/toast/toast.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/hover';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n@import 'legacy/mixins/fonts';\n\n:host {\n @include ix-component;\n\n display: flex;\n flex-direction: column;\n position: relative;\n min-width: 17.5rem;\n max-width: 17.5rem;\n min-height: 3.5rem;\n\n pointer-events: all;\n\n background-color: var(--theme-toast--background);\n border: var(--theme-toast--border-thickness) solid\n var(--theme-toast--border-color);\n border-radius: var(--theme-toast--border-radius);\n box-shadow: var(--theme-toast--box-shadow);\n\n --animate-duration: #{$medium-time};\n\n .toast-body {\n display: flex;\n position: relative;\n min-height: 3.5rem;\n width: 100%;\n flex-grow: 1;\n padding: 0.75rem;\n\n .toast-icon {\n display: flex;\n align-items: flex-start;\n margin-right: $default-space;\n }\n\n .toast-content {\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0;\n width: 100%;\n\n .toast-title {\n @include text-default-title-single;\n margin: 0.25rem 0px;\n }\n\n .toast-message {\n min-width: 0;\n\n @include text-default;\n }\n }\n\n .toast-icon + .toast-content {\n max-width: 10.25rem;\n }\n }\n\n .toast-close {\n display: flex;\n position: relative;\n pointer-events: all;\n margin-left: auto;\n margin-right: 0px;\n }\n\n .toast-progress-bar {\n position: absolute;\n bottom: 0;\n height: $tiny-space;\n width: 100%;\n background-color: var(--theme-toast-timer-value--background);\n transform-origin: left;\n\n &--animated {\n animation: trackProgress linear 1 forwards;\n }\n }\n\n @keyframes trackProgress {\n 0% {\n transform: scaleX(1);\n }\n 100% {\n transform: scaleX(0);\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 Prop,\n State,\n} from '@stencil/core';\nimport { ToastType } from './toast-utils';\n\n@Component({\n tag: 'ix-toast',\n styleUrl: 'toast.scss',\n shadow: true,\n})\nexport class Toast {\n /**\n * Toast type\n */\n @Prop() type: ToastType = 'info';\n\n /**\n * Toast title\n */\n @Prop() toastTitle: string;\n\n /**\n * Autoclose title after delay\n */\n @Prop() autoCloseDelay = 5000;\n\n /**\n * Autoclose behavior\n */\n @Prop() autoClose = true;\n\n /**\n * Icon of toast\n */\n @Prop() icon: string;\n\n /**\n * Icon color of toast\n */\n @Prop() iconColor: string;\n\n /**\n * Toast closed\n */\n @Event() closeToast: EventEmitter;\n\n @State() progress = 0;\n @State() touched = false;\n\n @Element() hostElement!: HTMLIxToastElement;\n\n private getIcon() {\n if (this.icon) {\n return <ix-icon name={this.icon} color={this.iconColor} size=\"24\" />;\n }\n\n switch (this.type) {\n case 'info':\n return <ix-icon name={'info'} size=\"24\" color=\"color-std-text\" />;\n\n case 'error':\n return <ix-icon name={'error'} size=\"24\" color=\"color-alarm\" />;\n\n case 'success':\n return <ix-icon name={'success'} size=\"24\" color=\"color-success\" />;\n\n case 'warning':\n return <ix-icon name={'warning'} size=\"24\" color=\"color-warning\" />;\n\n default:\n return '';\n }\n }\n\n private close() {\n if (this.hostElement) {\n this.hostElement.classList.add('animate__fadeOut');\n }\n setTimeout(() => {\n this.closeToast.emit();\n }, 250);\n }\n\n render() {\n let progressBarStyle: Record<string, string> = {};\n\n const progressBarClass = ['toast-progress-bar'];\n\n progressBarStyle = {\n animationDuration: `${this.autoCloseDelay}ms`,\n animationPlayState: this.touched ? 'paused' : 'running',\n };\n\n progressBarClass.push('toast-progress-bar--animated');\n\n return (\n <Host class=\"animate__animated animate__fadeIn\">\n <div\n class=\"toast-body\"\n onPointerLeave={() => {\n this.touched = false;\n }}\n onPointerEnter={() => {\n this.touched = true;\n }}\n >\n {this.type || this.icon ? (\n <div class=\"toast-icon\">{this.getIcon()}</div>\n ) : null}\n <div class=\"toast-content\">\n {this.toastTitle ? (\n <div class=\"toast-title\">{this.toastTitle}</div>\n ) : null}\n <div class=\"toast-message\">\n <slot></slot>\n </div>\n </div>\n <div class=\"toast-close\">\n <ix-icon-button\n icon={'close'}\n size=\"24\"\n ghost\n onClick={() => this.closeToast.emit()}\n />\n </div>\n </div>\n {this.autoClose ? (\n <div\n class={progressBarClass.join(' ')}\n style={progressBarStyle}\n onAnimationEnd={() => {\n this.close();\n }}\n onTransitionEnd={() => {\n if (this.progress === 0) {\n this.close();\n }\n }}\n ></div>\n ) : null}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-be499a74.js');
|
|
6
6
|
const baseButton = require('./base-button-c158438e.js');
|
|
7
|
-
const a11y = require('./a11y-
|
|
7
|
+
const a11y = require('./a11y-4fdcefb4.js');
|
|
8
8
|
|
|
9
9
|
const toggleButtonCss = ".btn{display:inline-flex;align-items:center;justify-content:center;height:2rem;font-size:0.875rem;font-weight:700;transition:150ms;padding:0 0.5rem;min-width:5rem;gap:0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn .glyph{margin-right:0.25rem;font-weight:400}.btn:focus-visible,.btn.focus{box-shadow:none}.btn-primary{border-radius:var(--theme-btn--border-radius)}.btn-primary,.btn-primary.focus,.btn-primary:focus-visible{background-color:var(--theme-btn-primary--background);color:var(--theme-btn-primary--color);--ix-button-color:var(--theme-btn-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-primary--border-color);border-style:solid}.btn-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-primary.hover,.btn-primary:hover{border-color:var(--theme-btn-primary--border-color--hover);background-color:var(--theme-btn-primary--background--hover);color:var(--theme-btn-primary--color--hover)}.btn-primary.selected.hover,.btn-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-primary:not(:disabled):not(.disabled):active,.btn-primary:not(:disabled):not(.disabled).active,.show>.btn-primary.dropdown-toggle{border-color:var(--theme-btn-primary--border-color--active);background-color:var(--theme-btn-primary--background--active);color:var(--theme-btn-primary--color--active)}.btn-primary.selected:not(:disabled):not(.disabled):active,.btn-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-primary.disabled,.btn-primary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-primary--border-color--disabled);background-color:var(--theme-btn-primary--background--disabled);color:var(--theme-btn-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-primary--color--disabled)}.btn-outline-primary{border-radius:var(--theme-btn--border-radius)}.btn-outline-primary,.btn-outline-primary.focus,.btn-outline-primary:focus-visible{background-color:var(--theme-btn-outline-primary--background);color:var(--theme-btn-outline-primary--color);--ix-button-color:var(--theme-btn-outline-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-primary--border-color);border-style:solid}.btn-outline-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-outline-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-outline-primary.hover,.btn-outline-primary:hover{border-color:var(--theme-btn-outline-primary--border-color--hover);background-color:var(--theme-btn-outline-primary--background--hover);color:var(--theme-btn-outline-primary--color--hover)}.btn-outline-primary.selected.hover,.btn-outline-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-outline-primary:not(:disabled):not(.disabled):active,.btn-outline-primary:not(:disabled):not(.disabled).active,.show>.btn-outline-primary.dropdown-toggle{border-color:var(--theme-btn-outline-primary--border-color--active);background-color:var(--theme-btn-outline-primary--background--active);color:var(--theme-btn-outline-primary--color--active)}.btn-outline-primary.selected:not(:disabled):not(.disabled):active,.btn-outline-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-outline-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-outline-primary--border-color--disabled);background-color:var(--theme-btn-outline-primary--background--disabled);color:var(--theme-btn-outline-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-primary--color--disabled)}.btn-invisible-primary{border-radius:var(--theme-btn--border-radius);--bs-btn-border-width:0px;--bs-btn-active-border-color:none}.btn-invisible-primary,.btn-invisible-primary.focus,.btn-invisible-primary:focus-visible{background-color:var(--theme-btn-invisible-primary--background);color:var(--theme-btn-invisible-primary--color);--ix-button-color:var(--theme-btn-invisible-primary--color);border-color:transparent}.btn-invisible-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-invisible-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-invisible-primary.hover,.btn-invisible-primary:hover{background-color:var(--theme-btn-invisible-primary--background--hover);color:var(--theme-btn-invisible-primary--color--hover)}.btn-invisible-primary.selected.hover,.btn-invisible-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-invisible-primary:not(:disabled):not(.disabled):active,.btn-invisible-primary:not(:disabled):not(.disabled).active,.show>.btn-invisible-primary.dropdown-toggle{background-color:var(--theme-btn-invisible-primary--background--active);color:var(--theme-btn-invisible-primary--color--active)}.btn-invisible-primary.selected:not(:disabled):not(.disabled):active,.btn-invisible-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-invisible-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-invisible-primary.disabled,.btn-invisible-primary:disabled{pointer-events:none;cursor:initial;background-color:var(--theme-btn-invisible-primary--background--disabled);color:var(--theme-btn-invisible-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-primary--color--disabled)}.btn-secondary{border-radius:var(--theme-btn--border-radius)}.btn-secondary,.btn-secondary.focus,.btn-secondary:focus-visible{background-color:var(--theme-btn-secondary--background);color:var(--theme-btn-secondary--color);--ix-button-color:var(--theme-btn-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-secondary--border-color);border-style:solid}.btn-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-secondary.hover,.btn-secondary:hover{border-color:var(--theme-btn-secondary--border-color--hover);background-color:var(--theme-btn-secondary--background--hover);color:var(--theme-btn-secondary--color--hover)}.btn-secondary.selected.hover,.btn-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-secondary:not(:disabled):not(.disabled):active,.btn-secondary:not(:disabled):not(.disabled).active,.show>.btn-secondary.dropdown-toggle{border-color:var(--theme-btn-secondary--border-color--active);background-color:var(--theme-btn-secondary--background--active);color:var(--theme-btn-secondary--color--active)}.btn-secondary.selected:not(:disabled):not(.disabled):active,.btn-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-secondary.disabled,.btn-secondary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-secondary--border-color--disabled);background-color:var(--theme-btn-secondary--background--disabled);color:var(--theme-btn-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-secondary--color--disabled)}.btn-outline-secondary{border-radius:var(--theme-btn--border-radius)}.btn-outline-secondary,.btn-outline-secondary.focus,.btn-outline-secondary:focus-visible{background-color:var(--theme-btn-outline-secondary--background);color:var(--theme-btn-outline-secondary--color);--ix-button-color:var(--theme-btn-outline-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-secondary--border-color);border-style:solid}.btn-outline-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-outline-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-outline-secondary.hover,.btn-outline-secondary:hover{border-color:var(--theme-btn-outline-secondary--border-color--hover);background-color:var(--theme-btn-outline-secondary--background--hover);color:var(--theme-btn-outline-secondary--color--hover)}.btn-outline-secondary.selected.hover,.btn-outline-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-outline-secondary:not(:disabled):not(.disabled):active,.btn-outline-secondary:not(:disabled):not(.disabled).active,.show>.btn-outline-secondary.dropdown-toggle{border-color:var(--theme-btn-outline-secondary--border-color--active);background-color:var(--theme-btn-outline-secondary--background--active);color:var(--theme-btn-outline-secondary--color--active)}.btn-outline-secondary.selected:not(:disabled):not(.disabled):active,.btn-outline-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-outline-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-outline-secondary--border-color--disabled);background-color:var(--theme-btn-outline-secondary--background--disabled);color:var(--theme-btn-outline-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-secondary--color--disabled)}.btn-invisible-secondary{border-radius:var(--theme-btn--border-radius);--bs-btn-border-width:0px;--bs-btn-active-border-color:none}.btn-invisible-secondary,.btn-invisible-secondary.focus,.btn-invisible-secondary:focus-visible{background-color:var(--theme-btn-invisible-secondary--background);color:var(--theme-btn-invisible-secondary--color);--ix-button-color:var(--theme-btn-invisible-secondary--color);border-color:transparent}.btn-invisible-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-invisible-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-invisible-secondary.hover,.btn-invisible-secondary:hover{background-color:var(--theme-btn-invisible-secondary--background--hover);color:var(--theme-btn-invisible-secondary--color--hover)}.btn-invisible-secondary.selected.hover,.btn-invisible-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-invisible-secondary:not(:disabled):not(.disabled):active,.btn-invisible-secondary:not(:disabled):not(.disabled).active,.show>.btn-invisible-secondary.dropdown-toggle{background-color:var(--theme-btn-invisible-secondary--background--active);color:var(--theme-btn-invisible-secondary--color--active)}.btn-invisible-secondary.selected:not(:disabled):not(.disabled):active,.btn-invisible-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-invisible-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-invisible-secondary.disabled,.btn-invisible-secondary:disabled{pointer-events:none;cursor:initial;background-color:var(--theme-btn-invisible-secondary--background--disabled);color:var(--theme-btn-invisible-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-secondary--color--disabled)}.btn-oval,.btn-icon{min-width:2rem;width:2rem}.btn-oval .glyph,.btn-icon .glyph{margin-right:0}.btn-oval{border-radius:6.25rem;width:2rem}.btn-icon-xs,.btn-icon-12{height:1rem;width:1rem;min-width:1rem;min-height:1rem}.btn-icon-s,.btn-icon-16{height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}.btn-icon-32{height:2rem;width:2rem;min-width:2rem;min-height:2rem}:host{display:inline-block;width:auto;height:2rem;vertical-align:middle}: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{width:100%;height:100%}:host button:not(:disabled){cursor:pointer}:host(.disabled){pointer-events:none}";
|
|
10
10
|
|