@siemens/ix 2.1.1 → 2.1.2
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/application-header.js +3 -3
- package/components/avatar.js +1 -1
- package/components/avatar.js.map +1 -1
- package/components/burger-menu.js +1 -1
- package/components/card-content.js +1 -1
- package/components/card-title.js +1 -1
- package/components/date-picker.js +4 -4
- package/components/date-time-card.js +1 -1
- package/components/divider.js +1 -1
- package/components/dropdown-item.js +3 -3
- package/components/dropdown.js +5 -3
- package/components/dropdown.js.map +1 -1
- package/components/filter-chip.js +1 -1
- package/components/group-context-menu.js +1 -1
- package/components/group-item.js +2 -2
- package/components/icon-button.js +1 -1
- package/components/ix-application-sidebar.js +1 -1
- package/components/ix-application-switch-modal.js +1 -1
- package/components/ix-application.js +3 -3
- package/components/ix-basic-navigation.js +2 -2
- package/components/ix-breadcrumb.js +2 -2
- package/components/ix-card-list.js +4 -4
- package/components/ix-category-filter.js +3 -3
- package/components/ix-chip.js +4 -4
- package/components/ix-content.js +3 -3
- package/components/ix-css-grid-item.js +1 -1
- package/components/ix-date-dropdown.js +6 -6
- package/components/ix-date-dropdown.js.map +1 -1
- package/components/ix-datetime-picker.js +1 -1
- package/components/ix-drawer.js +2 -2
- package/components/ix-dropdown-button.js +2 -2
- package/components/ix-dropdown-header.js +1 -1
- package/components/ix-dropdown-quick-actions.js +1 -1
- package/components/ix-empty-state.js +1 -1
- package/components/ix-event-list-item.js +4 -4
- package/components/ix-event-list.js +2 -2
- package/components/ix-expanding-search.js +4 -4
- package/components/ix-flip-tile-content.js +1 -1
- package/components/ix-flip-tile.js +4 -4
- package/components/ix-form-field.js +1 -1
- package/components/ix-group.js +4 -4
- package/components/ix-icon-toggle-button.js +1 -1
- package/components/ix-input-group.js +1 -1
- package/components/ix-key-value-list.js +1 -1
- package/components/ix-key-value.js +1 -1
- package/components/ix-kpi.js +3 -3
- package/components/ix-link-button.js +3 -3
- package/components/ix-map-navigation.js +2 -2
- package/components/ix-menu-about-item.js +1 -1
- package/components/ix-menu-about-news.js +5 -5
- package/components/ix-menu-about-news.js.map +1 -1
- package/components/ix-menu-about.js +1 -1
- package/components/ix-menu-avatar.js +3 -3
- package/components/ix-menu-avatar.js.map +1 -1
- package/components/ix-menu-category.js +5 -5
- package/components/ix-menu-settings-item.js +1 -1
- package/components/ix-menu.js +19 -11
- package/components/ix-menu.js.map +1 -1
- package/components/ix-message-bar.js +1 -1
- package/components/ix-modal-example.js +1 -1
- package/components/ix-modal-footer.js +2 -2
- package/components/ix-modal-footer.js.map +1 -1
- package/components/ix-modal-loading.js +1 -1
- package/components/ix-modal.js +4 -4
- package/components/ix-modal.js.map +1 -1
- package/components/ix-pagination.js +2 -2
- package/components/ix-pane-layout.js +1 -1
- package/components/ix-pane.js +6 -6
- package/components/ix-pill.js +4 -4
- package/components/ix-playground-internal.js +1 -1
- package/components/ix-push-card.js +1 -1
- package/components/ix-slider.js +6 -6
- package/components/ix-split-button-item.js +1 -1
- package/components/ix-split-button.js +1 -1
- package/components/ix-tile.js +4 -4
- package/components/ix-toast-container.js +1 -1
- package/components/ix-toggle-button.js +2 -2
- package/components/ix-toggle.js +2 -2
- package/components/ix-tree.js +1 -1
- package/components/ix-upload.js +3 -3
- package/components/ix-validation-tooltip.js +2 -2
- package/components/ix-workflow-step.js +3 -3
- package/components/ix-workflow-steps.js +1 -1
- package/components/layout-grid.js +2 -2
- package/components/map-navigation-overlay.js +2 -2
- package/components/menu-avatar-item.js +1 -1
- package/components/menu-item.js +3 -3
- package/components/menu-item.js.map +1 -1
- package/components/menu-tabs-fc.js +1 -1
- package/components/modal-content.js +2 -2
- package/components/modal-content.js.map +1 -1
- package/components/modal-header.js +2 -2
- package/components/modal-header.js.map +1 -1
- package/components/row.js +1 -1
- package/components/select-item.js +2 -2
- package/components/select-item.js.map +1 -1
- package/components/select.js +6 -6
- package/components/spinner.js +1 -1
- package/components/tab-item.js +3 -3
- package/components/tabs.js +2 -2
- package/components/time-picker.js +3 -3
- package/components/toast.js +2 -2
- package/components/tooltip.js +2 -2
- package/components/tree-item.js +4 -4
- package/components/typography.js +2 -2
- package/components/typography.js.map +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +3 -3
- package/dist/cjs/ix-application-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/ix-application-switch-modal.cjs.entry.js +1 -1
- package/dist/cjs/ix-application.cjs.entry.js +3 -3
- package/dist/cjs/ix-avatar_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-avatar_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +2 -2
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/ix-burger-menu.cjs.entry.js +1 -1
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-card-list.cjs.entry.js +4 -4
- package/dist/cjs/ix-card_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-category-filter.cjs.entry.js +3 -3
- package/dist/cjs/ix-chip.cjs.entry.js +4 -4
- package/dist/cjs/ix-col_4.cjs.entry.js +7 -7
- package/dist/cjs/ix-content.cjs.entry.js +3 -3
- package/dist/cjs/ix-css-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-date-dropdown.cjs.entry.js +6 -6
- package/dist/cjs/ix-date-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +1 -1
- package/dist/cjs/ix-divider.cjs.entry.js +1 -1
- package/dist/cjs/ix-drawer.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown-item.cjs.entry.js +3 -3
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown.cjs.entry.js +5 -3
- package/dist/cjs/ix-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/ix-event-list-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-event-list.cjs.entry.js +2 -2
- package/dist/cjs/ix-expanding-search.cjs.entry.js +4 -4
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +3 -3
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-flip-tile-content.cjs.entry.js +1 -1
- package/dist/cjs/ix-flip-tile.cjs.entry.js +4 -4
- package/dist/cjs/ix-form-field.cjs.entry.js +1 -1
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +3 -3
- package/dist/cjs/ix-group.cjs.entry.js +4 -4
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
- package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
- package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +3 -3
- package/dist/cjs/ix-link-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +2 -2
- package/dist/cjs/ix-map-navigation.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +5 -5
- package/dist/cjs/ix-menu-about-news.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu-about.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu-category.cjs.entry.js +5 -5
- package/dist/cjs/ix-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-settings.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu.cjs.entry.js +19 -11
- package/dist/cjs/ix-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-modal-content_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-footer.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal.cjs.entry.js +4 -4
- package/dist/cjs/ix-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-pagination.cjs.entry.js +2 -2
- package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
- package/dist/cjs/ix-pane.cjs.entry.js +6 -6
- package/dist/cjs/ix-pill.cjs.entry.js +4 -4
- package/dist/cjs/ix-playground-internal.cjs.entry.js +1 -1
- package/dist/cjs/ix-push-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-select.cjs.entry.js +6 -6
- package/dist/cjs/ix-slider.cjs.entry.js +6 -6
- package/dist/cjs/ix-split-button-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-split-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-tab-item_2.cjs.entry.js +5 -5
- package/dist/cjs/ix-tile.cjs.entry.js +4 -4
- package/dist/cjs/ix-time-picker.cjs.entry.js +3 -3
- package/dist/cjs/ix-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/ix-toast.cjs.entry.js +2 -2
- package/dist/cjs/ix-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/ix-toggle.cjs.entry.js +2 -2
- package/dist/cjs/ix-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/ix-tree-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-tree.cjs.entry.js +1 -1
- package/dist/cjs/ix-typography.cjs.entry.js +2 -2
- package/dist/cjs/ix-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +3 -3
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/ix-workflow-step.cjs.entry.js +3 -3
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
- package/dist/cjs/{menu-tabs-fc-b6a9af97.js → menu-tabs-fc-30a1b06b.js} +2 -2
- package/dist/cjs/{menu-tabs-fc-b6a9af97.js.map → menu-tabs-fc-30a1b06b.js.map} +1 -1
- package/dist/collection/components/application/application.js +3 -3
- package/dist/collection/components/application-header/application-header.js +3 -3
- package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +1 -1
- package/dist/collection/components/application-sidebar/application-sidebar.js +1 -1
- package/dist/collection/components/avatar/avatar.css +3 -3
- package/dist/collection/components/basic-navigation/basic-navigation.js +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/collection/components/card-content/card-content.js +1 -1
- package/dist/collection/components/card-list/card-list.js +4 -4
- package/dist/collection/components/card-title/card-title.js +1 -1
- package/dist/collection/components/category-filter/category-filter.js +3 -3
- package/dist/collection/components/chip/chip.js +4 -4
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/css-grid/css-grid-item.js +1 -1
- package/dist/collection/components/date-dropdown/date-dropdown.css +3 -0
- package/dist/collection/components/date-dropdown/date-dropdown.js +5 -5
- package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.js +4 -4
- package/dist/collection/components/date-time-card/date-time-card.js +1 -1
- package/dist/collection/components/datetime-picker/datetime-picker.js +1 -1
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/drawer/drawer.js +2 -2
- package/dist/collection/components/dropdown/dropdown.js +5 -3
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown-button/dropdown-button.js +2 -2
- package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
- package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
- package/dist/collection/components/empty-state/empty-state.js +1 -1
- package/dist/collection/components/event-list/event-list.js +2 -2
- package/dist/collection/components/event-list-item/event-list-item.js +4 -4
- package/dist/collection/components/expanding-search/expanding-search.js +4 -4
- package/dist/collection/components/filter-chip/filter-chip.js +1 -1
- package/dist/collection/components/flip-tile/flip-tile.js +4 -4
- package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
- package/dist/collection/components/form-field/form-field.js +1 -1
- package/dist/collection/components/grid/layout-grid.js +2 -2
- package/dist/collection/components/group/group-context-menu.js +1 -1
- package/dist/collection/components/group/group.js +4 -4
- package/dist/collection/components/group-item/group-item.js +2 -2
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
- package/dist/collection/components/input-group/input-group.js +1 -1
- package/dist/collection/components/key-value/key-value.js +1 -1
- package/dist/collection/components/key-value-list/key-value-list.js +1 -1
- package/dist/collection/components/kpi/kpi.js +3 -3
- package/dist/collection/components/link-button/link-button.js +3 -3
- package/dist/collection/components/map-navigation/map-navigation.js +2 -2
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
- package/dist/collection/components/menu/burger-menu.js +1 -1
- package/dist/collection/components/menu/menu.css +16 -9
- package/dist/collection/components/menu/menu.js +18 -10
- package/dist/collection/components/menu/menu.js.map +1 -1
- package/dist/collection/components/menu-about/menu-about.js +1 -1
- package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
- package/dist/collection/components/menu-about-news/menu-about-news.css +2 -5
- package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
- package/dist/collection/components/menu-about-news/menu-about-news.js.map +1 -1
- package/dist/collection/components/menu-avatar/menu-avatar.css +1 -24
- package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
- package/dist/collection/components/menu-category/menu-category.js +5 -5
- package/dist/collection/components/menu-item/menu-item.css +1 -2
- package/dist/collection/components/menu-item/menu-item.js +2 -2
- package/dist/collection/components/menu-settings/menu-settings.js +1 -1
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
- package/dist/collection/components/message-bar/message-bar.js +1 -1
- package/dist/collection/components/modal/modal.css +5 -4
- package/dist/collection/components/modal/modal.js +3 -3
- package/dist/collection/components/modal-content/modal-content.css +1 -1
- package/dist/collection/components/modal-content/modal-content.js +1 -1
- package/dist/collection/components/modal-footer/modal-footer.css +1 -2
- package/dist/collection/components/modal-footer/modal-footer.js +1 -1
- package/dist/collection/components/modal-header/modal-header.css +2 -2
- package/dist/collection/components/modal-header/modal-header.js +1 -1
- package/dist/collection/components/modal-loading/modal-loading.js +1 -1
- package/dist/collection/components/pagination/pagination.js +2 -2
- package/dist/collection/components/pane/pane.js +6 -6
- package/dist/collection/components/pane-layout/pane-layout.js +1 -1
- package/dist/collection/components/pill/pill.js +4 -4
- package/dist/collection/components/playground/example-modal.js +1 -1
- package/dist/collection/components/playground/playground.js +1 -1
- package/dist/collection/components/push-card/push-card.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/select/select.js +6 -6
- package/dist/collection/components/select-item/select-item.css +3 -0
- package/dist/collection/components/select-item/select-item.js +1 -1
- package/dist/collection/components/slider/slider.js +6 -6
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/split-button-item/split-button-item.js +1 -1
- package/dist/collection/components/tab-item/tab-item.js +3 -3
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tile/tile.js +4 -4
- package/dist/collection/components/time-picker/time-picker.js +3 -3
- package/dist/collection/components/toast/toast-container.js +1 -1
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +2 -2
- package/dist/collection/components/toggle-button/toggle-button.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +4 -4
- package/dist/collection/components/typography/typography.js +2 -2
- package/dist/collection/components/typography/typography.js.map +1 -1
- package/dist/collection/components/upload/upload.js +3 -3
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
- package/dist/collection/components/workflow-step/workflow-step.js +3 -3
- package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
- package/dist/collection/tests/date-dropdown/date-dropdown.e2e.js +22 -0
- package/dist/collection/tests/date-dropdown/date-dropdown.e2e.js.map +1 -1
- package/dist/collection/tests/menu/menu.e2e.js +52 -0
- package/dist/collection/tests/menu/menu.e2e.js.map +1 -1
- package/dist/collection/tests/typography/typography.e2e.js +29 -0
- package/dist/collection/tests/typography/typography.e2e.js.map +1 -0
- package/dist/esm/ix-application-header.entry.js +3 -3
- package/dist/esm/ix-application-sidebar.entry.js +1 -1
- package/dist/esm/ix-application-switch-modal.entry.js +1 -1
- package/dist/esm/ix-application.entry.js +3 -3
- package/dist/esm/ix-avatar_2.entry.js +2 -2
- package/dist/esm/ix-avatar_2.entry.js.map +1 -1
- package/dist/esm/ix-basic-navigation.entry.js +2 -2
- package/dist/esm/ix-breadcrumb.entry.js +2 -2
- package/dist/esm/ix-burger-menu.entry.js +1 -1
- package/dist/esm/ix-card-accordion_2.entry.js +1 -1
- package/dist/esm/ix-card-list.entry.js +4 -4
- package/dist/esm/ix-card_2.entry.js +1 -1
- package/dist/esm/ix-category-filter.entry.js +3 -3
- package/dist/esm/ix-chip.entry.js +4 -4
- package/dist/esm/ix-col_4.entry.js +7 -7
- package/dist/esm/ix-content.entry.js +3 -3
- package/dist/esm/ix-css-grid-item.entry.js +1 -1
- package/dist/esm/ix-date-dropdown.entry.js +6 -6
- package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-date-time-card.entry.js +1 -1
- package/dist/esm/ix-datetime-picker.entry.js +1 -1
- package/dist/esm/ix-divider.entry.js +1 -1
- package/dist/esm/ix-drawer.entry.js +2 -2
- package/dist/esm/ix-dropdown-button.entry.js +2 -2
- package/dist/esm/ix-dropdown-header.entry.js +1 -1
- package/dist/esm/ix-dropdown-item.entry.js +3 -3
- package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
- package/dist/esm/ix-dropdown.entry.js +5 -3
- package/dist/esm/ix-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-empty-state.entry.js +1 -1
- package/dist/esm/ix-event-list-item.entry.js +4 -4
- package/dist/esm/ix-event-list.entry.js +2 -2
- package/dist/esm/ix-expanding-search.entry.js +4 -4
- package/dist/esm/ix-filter-chip_2.entry.js +3 -3
- package/dist/esm/ix-filter-chip_2.entry.js.map +1 -1
- package/dist/esm/ix-flip-tile-content.entry.js +1 -1
- package/dist/esm/ix-flip-tile.entry.js +4 -4
- package/dist/esm/ix-form-field.entry.js +1 -1
- package/dist/esm/ix-group-context-menu_2.entry.js +3 -3
- package/dist/esm/ix-group.entry.js +4 -4
- package/dist/esm/ix-icon-button_2.entry.js +2 -2
- package/dist/esm/ix-icon-toggle-button.entry.js +1 -1
- package/dist/esm/ix-input-group.entry.js +1 -1
- package/dist/esm/ix-key-value-list.entry.js +1 -1
- package/dist/esm/ix-key-value.entry.js +1 -1
- package/dist/esm/ix-kpi.entry.js +3 -3
- package/dist/esm/ix-link-button.entry.js +3 -3
- package/dist/esm/ix-map-navigation-overlay.entry.js +2 -2
- package/dist/esm/ix-map-navigation.entry.js +2 -2
- package/dist/esm/ix-menu-about-item.entry.js +1 -1
- package/dist/esm/ix-menu-about-news.entry.js +5 -5
- package/dist/esm/ix-menu-about-news.entry.js.map +1 -1
- package/dist/esm/ix-menu-about.entry.js +2 -2
- package/dist/esm/ix-menu-avatar.entry.js +3 -3
- package/dist/esm/ix-menu-avatar.entry.js.map +1 -1
- package/dist/esm/ix-menu-category.entry.js +5 -5
- package/dist/esm/ix-menu-item.entry.js +3 -3
- package/dist/esm/ix-menu-item.entry.js.map +1 -1
- package/dist/esm/ix-menu-settings-item.entry.js +1 -1
- package/dist/esm/ix-menu-settings.entry.js +1 -1
- package/dist/esm/ix-menu.entry.js +19 -11
- package/dist/esm/ix-menu.entry.js.map +1 -1
- package/dist/esm/ix-message-bar.entry.js +1 -1
- package/dist/esm/ix-modal-content_2.entry.js +4 -4
- package/dist/esm/ix-modal-content_2.entry.js.map +1 -1
- package/dist/esm/ix-modal-example.entry.js +1 -1
- package/dist/esm/ix-modal-footer.entry.js +2 -2
- package/dist/esm/ix-modal-footer.entry.js.map +1 -1
- package/dist/esm/ix-modal-loading.entry.js +1 -1
- package/dist/esm/ix-modal.entry.js +4 -4
- package/dist/esm/ix-modal.entry.js.map +1 -1
- package/dist/esm/ix-pagination.entry.js +2 -2
- package/dist/esm/ix-pane-layout.entry.js +1 -1
- package/dist/esm/ix-pane.entry.js +6 -6
- package/dist/esm/ix-pill.entry.js +4 -4
- package/dist/esm/ix-playground-internal.entry.js +1 -1
- package/dist/esm/ix-push-card.entry.js +1 -1
- package/dist/esm/ix-select.entry.js +6 -6
- package/dist/esm/ix-slider.entry.js +6 -6
- package/dist/esm/ix-split-button-item.entry.js +1 -1
- package/dist/esm/ix-split-button.entry.js +1 -1
- package/dist/esm/ix-tab-item_2.entry.js +5 -5
- package/dist/esm/ix-tile.entry.js +4 -4
- package/dist/esm/ix-time-picker.entry.js +3 -3
- package/dist/esm/ix-toast-container.entry.js +1 -1
- package/dist/esm/ix-toast.entry.js +2 -2
- package/dist/esm/ix-toggle-button.entry.js +2 -2
- package/dist/esm/ix-toggle.entry.js +2 -2
- package/dist/esm/ix-tooltip.entry.js +2 -2
- package/dist/esm/ix-tree-item.entry.js +4 -4
- package/dist/esm/ix-tree.entry.js +1 -1
- package/dist/esm/ix-typography.entry.js +2 -2
- package/dist/esm/ix-typography.entry.js.map +1 -1
- package/dist/esm/ix-upload.entry.js +3 -3
- package/dist/esm/ix-validation-tooltip.entry.js +2 -2
- package/dist/esm/ix-workflow-step.entry.js +3 -3
- package/dist/esm/ix-workflow-steps.entry.js +1 -1
- package/dist/esm/{menu-tabs-fc-7b7acc8b.js → menu-tabs-fc-67d86171.js} +2 -2
- package/dist/esm/{menu-tabs-fc-7b7acc8b.js.map → menu-tabs-fc-67d86171.js.map} +1 -1
- package/dist/siemens-ix/p-0052cdd7.entry.js +2 -0
- package/dist/siemens-ix/{p-050f482a.entry.js.map → p-0052cdd7.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-5ca2ef74.entry.js → p-010d7fb9.entry.js} +2 -2
- package/dist/siemens-ix/{p-fcbe42c4.entry.js → p-035a5a5d.entry.js} +2 -2
- package/dist/siemens-ix/{p-8be3bc6d.entry.js → p-073a5bf5.entry.js} +2 -2
- package/dist/siemens-ix/{p-d277e7e2.entry.js → p-09611138.entry.js} +2 -2
- package/dist/siemens-ix/{p-535ee46b.entry.js → p-11483cf6.entry.js} +2 -2
- package/dist/siemens-ix/{p-f8169051.entry.js → p-1215edb5.entry.js} +2 -2
- package/dist/siemens-ix/{p-f1e94d25.entry.js → p-127ca9ce.entry.js} +2 -2
- package/dist/siemens-ix/{p-f0e7e035.js → p-1587fdab.js} +2 -2
- package/dist/siemens-ix/{p-f2ee640a.entry.js → p-15c0c3d0.entry.js} +2 -2
- package/dist/siemens-ix/{p-ca8407f5.entry.js → p-196f25fc.entry.js} +2 -2
- package/dist/siemens-ix/{p-4c29feb5.entry.js → p-1e620fab.entry.js} +2 -2
- package/dist/siemens-ix/p-1f06e7b5.entry.js +2 -0
- package/dist/siemens-ix/p-1f06e7b5.entry.js.map +1 -0
- package/dist/siemens-ix/{p-3ead4fed.entry.js → p-233282c1.entry.js} +2 -2
- package/dist/siemens-ix/{p-8b51637c.entry.js → p-245eff21.entry.js} +2 -2
- package/dist/siemens-ix/{p-c0bf9382.entry.js → p-2630b802.entry.js} +2 -2
- package/dist/siemens-ix/{p-27118d3b.entry.js → p-2a469532.entry.js} +2 -2
- package/dist/siemens-ix/p-2b0329ee.entry.js +2 -0
- package/dist/siemens-ix/{p-6a8d50c3.entry.js → p-2f466e2d.entry.js} +2 -2
- package/dist/siemens-ix/p-2f466e2d.entry.js.map +1 -0
- package/dist/siemens-ix/{p-75943110.entry.js → p-2ff3da3c.entry.js} +2 -2
- package/dist/siemens-ix/{p-50f12507.entry.js → p-327cf179.entry.js} +2 -2
- package/dist/siemens-ix/{p-f10824af.entry.js → p-3497cff4.entry.js} +2 -2
- package/dist/siemens-ix/p-3cc7e05e.entry.js +2 -0
- package/dist/siemens-ix/p-3cc7e05e.entry.js.map +1 -0
- package/dist/siemens-ix/{p-26355e12.entry.js → p-3d1a831a.entry.js} +2 -2
- package/dist/siemens-ix/p-425fd2c3.entry.js +2 -0
- package/dist/siemens-ix/{p-40335e7c.entry.js → p-46fa1780.entry.js} +2 -2
- package/dist/siemens-ix/{p-fdccc402.entry.js → p-4a8698ca.entry.js} +2 -2
- package/dist/siemens-ix/{p-e1d7c7fa.entry.js → p-56738f8c.entry.js} +2 -2
- package/dist/siemens-ix/p-570d20b9.entry.js +2 -0
- package/dist/siemens-ix/p-597d346d.entry.js +2 -0
- package/dist/siemens-ix/p-597d346d.entry.js.map +1 -0
- package/dist/siemens-ix/{p-db47293b.entry.js → p-5c2b6399.entry.js} +2 -2
- package/dist/siemens-ix/{p-06b783a7.entry.js → p-5c4c579d.entry.js} +2 -2
- package/dist/siemens-ix/{p-a643ad05.entry.js → p-5cf8f2b2.entry.js} +2 -2
- package/dist/siemens-ix/p-5e3c6d92.entry.js +2 -0
- package/dist/siemens-ix/{p-34ccbe57.entry.js → p-690130d1.entry.js} +2 -2
- package/dist/siemens-ix/p-6b14ca75.entry.js +2 -0
- package/dist/siemens-ix/{p-3214478e.entry.js → p-715fc314.entry.js} +2 -2
- package/dist/siemens-ix/{p-0e0e5f67.entry.js → p-73ca81fa.entry.js} +2 -2
- package/dist/siemens-ix/{p-353e2dd5.entry.js → p-76a113cd.entry.js} +2 -2
- package/dist/siemens-ix/{p-f5af5a9f.entry.js → p-7b915c46.entry.js} +2 -2
- package/dist/siemens-ix/p-7e28d26c.entry.js +2 -0
- package/dist/siemens-ix/{p-f56686c9.entry.js → p-828ed4cc.entry.js} +2 -2
- package/dist/siemens-ix/{p-42f7289e.entry.js → p-8572cee0.entry.js} +2 -2
- package/dist/siemens-ix/{p-75050430.entry.js → p-89d4a3c4.entry.js} +2 -2
- package/dist/siemens-ix/p-8a8f7bd3.entry.js +2 -0
- package/dist/siemens-ix/p-8e751da8.entry.js +2 -0
- package/dist/siemens-ix/{p-5d3975c8.entry.js → p-93f8a994.entry.js} +2 -2
- package/dist/siemens-ix/{p-b62e2edf.entry.js → p-95e8f88b.entry.js} +2 -2
- package/dist/siemens-ix/{p-da9f8709.entry.js → p-9ba43990.entry.js} +2 -2
- package/dist/siemens-ix/{p-782b33d3.entry.js → p-a4f58920.entry.js} +2 -2
- package/dist/siemens-ix/p-a9fcccaf.entry.js +2 -0
- package/dist/siemens-ix/p-a9fcccaf.entry.js.map +1 -0
- package/dist/siemens-ix/p-ad08daa9.entry.js +2 -0
- package/dist/siemens-ix/{p-81b570f5.entry.js → p-ae1d5e65.entry.js} +2 -2
- package/dist/siemens-ix/p-b38ce971.entry.js +2 -0
- package/dist/siemens-ix/p-b38ce971.entry.js.map +1 -0
- package/dist/siemens-ix/p-b3ffcdef.entry.js +2 -0
- package/dist/siemens-ix/{p-ca53ecd8.entry.js → p-b5842e13.entry.js} +2 -2
- package/dist/siemens-ix/{p-1aa9c005.entry.js → p-b58b68cb.entry.js} +2 -2
- package/dist/siemens-ix/{p-1aa9c005.entry.js.map → p-b58b68cb.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-4bb08459.entry.js → p-bc88ecb1.entry.js} +2 -2
- package/dist/siemens-ix/p-bde45bbd.entry.js +2 -0
- package/dist/siemens-ix/p-bde45bbd.entry.js.map +1 -0
- package/dist/siemens-ix/{p-31bfd5ff.entry.js → p-c42e4e81.entry.js} +2 -2
- package/dist/siemens-ix/{p-f5a108d5.entry.js → p-c46f55ec.entry.js} +2 -2
- package/dist/siemens-ix/{p-8c01fea2.entry.js → p-c7686e47.entry.js} +2 -2
- package/dist/siemens-ix/{p-d445b333.entry.js → p-c88d73da.entry.js} +2 -2
- package/dist/siemens-ix/{p-4dad31fa.entry.js → p-cabc62fd.entry.js} +2 -2
- package/dist/siemens-ix/{p-73d5ea4a.entry.js → p-ce60f35c.entry.js} +2 -2
- package/dist/siemens-ix/{p-6cd2b4d4.entry.js → p-d6db8257.entry.js} +2 -2
- package/dist/siemens-ix/p-d71bdcfb.entry.js +2 -0
- package/dist/siemens-ix/{p-ddf93bce.entry.js → p-d779f396.entry.js} +2 -2
- package/dist/siemens-ix/{p-ab282d03.entry.js → p-dab7059f.entry.js} +2 -2
- package/dist/siemens-ix/p-df2d9a30.entry.js +2 -0
- package/dist/siemens-ix/{p-92fc6ba1.entry.js → p-e0c645be.entry.js} +2 -2
- package/dist/siemens-ix/{p-0e51828d.entry.js → p-e111ffb2.entry.js} +2 -2
- package/dist/siemens-ix/{p-988d23ac.entry.js → p-e1c428d2.entry.js} +2 -2
- package/dist/siemens-ix/{p-fc5fd951.entry.js → p-e2ae8b88.entry.js} +2 -2
- package/dist/siemens-ix/{p-fc5fd951.entry.js.map → p-e2ae8b88.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-14d2576e.entry.js → p-e4890017.entry.js} +2 -2
- package/dist/siemens-ix/{p-3bc095f3.entry.js → p-e5e0688c.entry.js} +2 -2
- package/dist/siemens-ix/{p-3bc095f3.entry.js.map → p-e5e0688c.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-1e5e042b.entry.js → p-e8ac3fac.entry.js} +2 -2
- package/dist/siemens-ix/{p-47919d43.entry.js → p-eb02e8bf.entry.js} +2 -2
- package/dist/siemens-ix/{p-d464b60e.entry.js → p-ec3bf78f.entry.js} +2 -2
- package/dist/siemens-ix/{p-9ceabb5f.entry.js → p-f2acf280.entry.js} +2 -2
- package/dist/siemens-ix/p-f499aeb3.entry.js +2 -0
- package/dist/siemens-ix/p-f499aeb3.entry.js.map +1 -0
- package/dist/siemens-ix/{p-a3431d63.entry.js → p-f9e7b4cf.entry.js} +2 -2
- package/dist/siemens-ix/{p-2462fc76.entry.js → p-fc3a3f5a.entry.js} +2 -2
- package/dist/siemens-ix/p-fd45e8f5.entry.js +2 -0
- package/dist/siemens-ix/p-fd45e8f5.entry.js.map +1 -0
- package/dist/siemens-ix/p-fe3f3411.entry.js +2 -0
- package/dist/siemens-ix/{p-2deed888.entry.js.map → p-fe3f3411.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-cfc7a9ac.entry.js → p-ffe299a6.entry.js} +2 -2
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/package.json +1 -1
- package/dist/siemens-ix/p-050f482a.entry.js +0 -2
- package/dist/siemens-ix/p-196d2cef.entry.js +0 -2
- package/dist/siemens-ix/p-232bee46.entry.js +0 -2
- package/dist/siemens-ix/p-2deed888.entry.js +0 -2
- package/dist/siemens-ix/p-3c0425f3.entry.js +0 -2
- package/dist/siemens-ix/p-3c6e6130.entry.js +0 -2
- package/dist/siemens-ix/p-572455df.entry.js +0 -2
- package/dist/siemens-ix/p-58f51cce.entry.js +0 -2
- package/dist/siemens-ix/p-58f51cce.entry.js.map +0 -1
- package/dist/siemens-ix/p-5dd97d39.entry.js +0 -2
- package/dist/siemens-ix/p-5dd97d39.entry.js.map +0 -1
- package/dist/siemens-ix/p-6a8d50c3.entry.js.map +0 -1
- package/dist/siemens-ix/p-78e332f4.entry.js +0 -2
- package/dist/siemens-ix/p-8493da96.entry.js +0 -2
- package/dist/siemens-ix/p-8efe88e8.entry.js +0 -2
- package/dist/siemens-ix/p-8efe88e8.entry.js.map +0 -1
- package/dist/siemens-ix/p-975cb736.entry.js +0 -2
- package/dist/siemens-ix/p-b4e3a4fd.entry.js +0 -2
- package/dist/siemens-ix/p-b4e3a4fd.entry.js.map +0 -1
- package/dist/siemens-ix/p-d59b3f31.entry.js +0 -2
- package/dist/siemens-ix/p-d6e7e5da.entry.js +0 -2
- package/dist/siemens-ix/p-d6e7e5da.entry.js.map +0 -1
- package/dist/siemens-ix/p-e1b790d3.entry.js +0 -2
- package/dist/siemens-ix/p-e23cd82e.entry.js +0 -2
- package/dist/siemens-ix/p-e23cd82e.entry.js.map +0 -1
- package/dist/siemens-ix/p-e345d0d2.entry.js +0 -2
- package/dist/siemens-ix/p-e345d0d2.entry.js.map +0 -1
- package/dist/siemens-ix/p-eb6ea42d.entry.js +0 -2
- package/dist/siemens-ix/p-f6691728.entry.js +0 -2
- package/dist/siemens-ix/p-f6691728.entry.js.map +0 -1
- package/dist/siemens-ix/p-fe760d17.entry.js +0 -2
- /package/dist/siemens-ix/{p-5ca2ef74.entry.js.map → p-010d7fb9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-fcbe42c4.entry.js.map → p-035a5a5d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8be3bc6d.entry.js.map → p-073a5bf5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d277e7e2.entry.js.map → p-09611138.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-535ee46b.entry.js.map → p-11483cf6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f8169051.entry.js.map → p-1215edb5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f1e94d25.entry.js.map → p-127ca9ce.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f0e7e035.js.map → p-1587fdab.js.map} +0 -0
- /package/dist/siemens-ix/{p-f2ee640a.entry.js.map → p-15c0c3d0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ca8407f5.entry.js.map → p-196f25fc.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4c29feb5.entry.js.map → p-1e620fab.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3ead4fed.entry.js.map → p-233282c1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8b51637c.entry.js.map → p-245eff21.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c0bf9382.entry.js.map → p-2630b802.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-27118d3b.entry.js.map → p-2a469532.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-975cb736.entry.js.map → p-2b0329ee.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-75943110.entry.js.map → p-2ff3da3c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-50f12507.entry.js.map → p-327cf179.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f10824af.entry.js.map → p-3497cff4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-26355e12.entry.js.map → p-3d1a831a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d59b3f31.entry.js.map → p-425fd2c3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-40335e7c.entry.js.map → p-46fa1780.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-fdccc402.entry.js.map → p-4a8698ca.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e1d7c7fa.entry.js.map → p-56738f8c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-232bee46.entry.js.map → p-570d20b9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-db47293b.entry.js.map → p-5c2b6399.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-06b783a7.entry.js.map → p-5c4c579d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a643ad05.entry.js.map → p-5cf8f2b2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8493da96.entry.js.map → p-5e3c6d92.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-34ccbe57.entry.js.map → p-690130d1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-fe760d17.entry.js.map → p-6b14ca75.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3214478e.entry.js.map → p-715fc314.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0e0e5f67.entry.js.map → p-73ca81fa.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-353e2dd5.entry.js.map → p-76a113cd.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f5af5a9f.entry.js.map → p-7b915c46.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e1b790d3.entry.js.map → p-7e28d26c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f56686c9.entry.js.map → p-828ed4cc.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-42f7289e.entry.js.map → p-8572cee0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-75050430.entry.js.map → p-89d4a3c4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3c0425f3.entry.js.map → p-8a8f7bd3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-eb6ea42d.entry.js.map → p-8e751da8.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5d3975c8.entry.js.map → p-93f8a994.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b62e2edf.entry.js.map → p-95e8f88b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-da9f8709.entry.js.map → p-9ba43990.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-782b33d3.entry.js.map → p-a4f58920.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-78e332f4.entry.js.map → p-ad08daa9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-81b570f5.entry.js.map → p-ae1d5e65.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-572455df.entry.js.map → p-b3ffcdef.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ca53ecd8.entry.js.map → p-b5842e13.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4bb08459.entry.js.map → p-bc88ecb1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-31bfd5ff.entry.js.map → p-c42e4e81.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f5a108d5.entry.js.map → p-c46f55ec.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8c01fea2.entry.js.map → p-c7686e47.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d445b333.entry.js.map → p-c88d73da.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4dad31fa.entry.js.map → p-cabc62fd.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-73d5ea4a.entry.js.map → p-ce60f35c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6cd2b4d4.entry.js.map → p-d6db8257.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3c6e6130.entry.js.map → p-d71bdcfb.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ddf93bce.entry.js.map → p-d779f396.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ab282d03.entry.js.map → p-dab7059f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-196d2cef.entry.js.map → p-df2d9a30.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-92fc6ba1.entry.js.map → p-e0c645be.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0e51828d.entry.js.map → p-e111ffb2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-988d23ac.entry.js.map → p-e1c428d2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-14d2576e.entry.js.map → p-e4890017.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1e5e042b.entry.js.map → p-e8ac3fac.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-47919d43.entry.js.map → p-eb02e8bf.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d464b60e.entry.js.map → p-ec3bf78f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9ceabb5f.entry.js.map → p-f2acf280.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a3431d63.entry.js.map → p-f9e7b4cf.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2462fc76.entry.js.map → p-fc3a3f5a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-cfc7a9ac.entry.js.map → p-ffe299a6.entry.js.map} +0 -0
package/components/ix-chip.js
CHANGED
|
@@ -39,11 +39,11 @@ const Chip = /*@__PURE__*/ proxyCustomElement(class Chip extends HTMLElement {
|
|
|
39
39
|
[this.outline ? 'borderColor' : 'backgroundColor']: this.background,
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: '04ad48738af21d85310e4b6e81b509ff748740fe', tabIndex: "-1", title: this.el.textContent, style: this.variant === 'custom'
|
|
43
43
|
? {
|
|
44
44
|
'--ix-icon-button-color': (_b = this.chipColor) !== null && _b !== void 0 ? _b : this.color,
|
|
45
45
|
}
|
|
46
|
-
: {} }, h("div", { key: '
|
|
46
|
+
: {} }, h("div", { key: 'fcb2c6a534fee6a075505632524db05ea6214611', style: Object.assign({}, customStyle), class: {
|
|
47
47
|
container: true,
|
|
48
48
|
outline: this.outline,
|
|
49
49
|
inactive: isInactive,
|
|
@@ -57,10 +57,10 @@ const Chip = /*@__PURE__*/ proxyCustomElement(class Chip extends HTMLElement {
|
|
|
57
57
|
custom: this.variant === 'custom',
|
|
58
58
|
closable: this.closable,
|
|
59
59
|
icon: !!this.icon,
|
|
60
|
-
} }, h("ix-icon", { key: '
|
|
60
|
+
} }, h("ix-icon", { key: '8177db5d16f03117e3397a99c4f364bff48b063b', class: {
|
|
61
61
|
'with-icon': true,
|
|
62
62
|
hidden: !this.icon,
|
|
63
|
-
}, name: this.icon, size: '24' }), h("span", { key: '
|
|
63
|
+
}, name: this.icon, size: '24' }), h("span", { key: 'f1f0f6b22b92951ce0b1b5c81b1071ad4a3c6165', class: "slot-container" }, h("slot", { key: '59087cf16d54288ef6dc324520f0f43b84108166' })), isInactive === false && this.closable ? this.getCloseButton() : null)));
|
|
64
64
|
}
|
|
65
65
|
get el() { return this; }
|
|
66
66
|
static get style() { return IxChipStyle0; }
|
package/components/ix-content.js
CHANGED
|
@@ -15,12 +15,12 @@ const Content = /*@__PURE__*/ proxyCustomElement(class Content extends HTMLEleme
|
|
|
15
15
|
return this.hostElement.shadowRoot.querySelector('.content-header slot');
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '85ecfecc47910592c3e5633e8f21ca6e2bf98b68' }, h("div", { key: '5856277dbd6d05054a0c0083ae8ba9496e127cf5', class: {
|
|
19
19
|
'content-header': true,
|
|
20
20
|
slotted: this.isContentHeaderSlotted,
|
|
21
|
-
} }, h("slot", { key: '
|
|
21
|
+
} }, h("slot", { key: 'b5989ea440740b99deef634be6b30cb5b443d18b', name: "header", onSlotchange: () => {
|
|
22
22
|
this.isContentHeaderSlotted = hasSlottedElements(this.contentHeaderSlot);
|
|
23
|
-
} })), h("div", { key: '
|
|
23
|
+
} })), h("div", { key: 'b4eea60b710cd2a2cf188c2125a91a33b4fca82f', class: "content" }, h("slot", { key: 'b739a3016884b29e41b1975b76121511c9f35f2a' }))));
|
|
24
24
|
}
|
|
25
25
|
get hostElement() { return this; }
|
|
26
26
|
static get style() { return IxContentStyle0; }
|
|
@@ -13,7 +13,7 @@ const CssGridItem = /*@__PURE__*/ proxyCustomElement(class CssGridItem extends H
|
|
|
13
13
|
render() {
|
|
14
14
|
const style = {};
|
|
15
15
|
style['grid-area'] = this.itemName;
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: 'e5f4a0cda7624d07672ff6892f55ab8d7d8faf8d', style: style }, h("slot", { key: '962c12dd575e9f5d81b51259ad973616ae200515' })));
|
|
17
17
|
}
|
|
18
18
|
static get style() { return IxCssGridItemStyle0; }
|
|
19
19
|
}, [1, "ix-css-grid-item", {
|
|
@@ -11,7 +11,7 @@ import { d as defineCustomElement$4 } from './layout-grid.js';
|
|
|
11
11
|
import { d as defineCustomElement$3 } from './row.js';
|
|
12
12
|
import { d as defineCustomElement$2 } from './spinner.js';
|
|
13
13
|
|
|
14
|
-
const dateDropdownCss = ":host{display:inline-block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}@media (max-width: 48em){:host .min-width{width:-moz-min-content;width:min-content}}@media (min-width: 48em){:host .border-right{border-right:var(--theme-x-weak-bdr-2)}}:host .max-height{max-height:-moz-max-content;max-height:max-content}:host .no-margin{margin:0;padding:0}:host .pull-right{float:right;padding:0.25rem 1rem}";
|
|
14
|
+
const dateDropdownCss = ":host{display:inline-block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}@media (max-width: 48em){:host .min-width{width:-moz-min-content;width:min-content}}@media (min-width: 48em){:host .border-right{border-right:var(--theme-x-weak-bdr-2)}}:host ix-button{width:100%}:host .max-height{max-height:-moz-max-content;max-height:max-content}:host .no-margin{margin:0;padding:0}:host .pull-right{float:right;padding:0.25rem 1rem}";
|
|
15
15
|
const IxDateDropdownStyle0 = dateDropdownCss;
|
|
16
16
|
|
|
17
17
|
const DateDropdown = /*@__PURE__*/ proxyCustomElement(class DateDropdown extends HTMLElement {
|
|
@@ -131,21 +131,21 @@ const DateDropdown = /*@__PURE__*/ proxyCustomElement(class DateDropdown extends
|
|
|
131
131
|
return option.label;
|
|
132
132
|
}
|
|
133
133
|
render() {
|
|
134
|
-
var _a, _b;
|
|
135
|
-
return (h(Host, { key: '587a80ff64848ac3072ae04a27573f83e1e11fd8' }, h("ix-button", { key: '
|
|
134
|
+
var _a, _b, _c;
|
|
135
|
+
return (h(Host, { key: '587a80ff64848ac3072ae04a27573f83e1e11fd8' }, h("ix-button", { key: '54dce5bf9e30572642386c16c7f18e69e55f3fd1', "data-date-dropdown-trigger": true, variant: "primary", icon: "history", ref: (ref) => (this.triggerRef = ref) }, this.getButtonLabel()), h("ix-dropdown", { key: '4292a46172362908d80a49874b0e4a62ae0461e9', "data-date-dropdown": true, class: "min-width max-height", trigger: this.triggerRef, "close-behavior": "outside", placement: "bottom-start", onShowChanged: ({ detail: show }) => {
|
|
136
136
|
if (!show &&
|
|
137
137
|
this.selectedDateRangeId === 'custom' &&
|
|
138
138
|
this.datePickerTouched) {
|
|
139
139
|
this.onDateSelect(this.currentRangeValue);
|
|
140
140
|
}
|
|
141
|
-
} }, h("ix-layout-grid", { key: '
|
|
141
|
+
} }, h("ix-layout-grid", { key: '9d92b3fd14fb2546fe9f6b588e048ad9048ed99e', "no-margin": "true" }, h("ix-row", { key: 'ea35e1f9c8df2f1bed99dff82ffcf57206864d47' }, ((_a = this.dateRangeOptions) === null || _a === void 0 ? void 0 : _a.length) > 1 && (h("ix-col", { class: {
|
|
142
142
|
'no-margin': true,
|
|
143
143
|
'border-right': this.selectedDateRangeId === 'custom',
|
|
144
|
-
} }, this.dateRangeOptions.map((dateRangeOption) => (h("ix-dropdown-item", { label: dateRangeOption.label, onClick: () => this.onRangeListSelect(dateRangeOption.id), checked: this.selectedDateRangeId === dateRangeOption.id }))), h("div", {
|
|
144
|
+
} }, this.dateRangeOptions.map((dateRangeOption) => (h("ix-dropdown-item", { label: dateRangeOption.label, onClick: () => this.onRangeListSelect(dateRangeOption.id), checked: this.selectedDateRangeId === dateRangeOption.id }))), h("div", { hidden: !this.customRangeAllowed }, h("ix-dropdown-item", { label: this.i18nCustomItem, checked: this.selectedDateRangeId === 'custom', onClick: () => this.onRangeListSelect('custom') })))), h("ix-col", { key: '39d788b4f948826461facbf8f0510d871416a2a3', class: "no-margin" }, this.selectedDateRangeId === 'custom' && (h(Fragment, null, h("ix-date-picker", { standaloneAppearance: false, onDateChange: (e) => {
|
|
145
145
|
e.stopPropagation();
|
|
146
146
|
this.currentRangeValue = Object.assign(Object.assign({}, e.detail), { id: 'custom' });
|
|
147
147
|
this.datePickerTouched = true;
|
|
148
|
-
}, onDateRangeChange: (e) => e.stopPropagation(), format: this.format, range: this.range, from: this.from || ((
|
|
148
|
+
}, onDateRangeChange: (e) => e.stopPropagation(), format: this.format, range: this.range, from: this.from || ((_b = this.currentRangeValue) === null || _b === void 0 ? void 0 : _b.from), to: this.to || ((_c = this.currentRangeValue) === null || _c === void 0 ? void 0 : _c.to), minDate: this.minDate, maxDate: this.maxDate, today: this.today }), h("div", { class: "pull-right" }, h("ix-button", { onClick: () => {
|
|
149
149
|
this.onDateSelect(this.currentRangeValue);
|
|
150
150
|
} }, this.i18nDone))))))))));
|
|
151
151
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"ix-date-dropdown.js","mappings":";;;;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,g9BAAg9B,CAAC;AACz+B,6BAAe,eAAe;;MC4CjB,YAAY;;;;;;QAwHf,sBAAiB,GAAG,KAAK,CAAC;sBAjHjB,YAAY;qBAKb,IAAI;;;;;2BAkCE,QAAQ;kCAkBD,IAAI;gCAegB,EAAE;8BAUO,WAAW;wBAKxB,MAAM;2BAKC,cAAc;qBAGlDA,UAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE;;;;;IApDtC,mBAAmB;QACjB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC,C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KAAK,EAAE,IAAI,CAAC,KAAK,GACD,EAClB,WAAK,KAAK,EAAC,YAAY,IACrB,iBACE,OAAO,EAAE;gBACP,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;aAC3C,IAEA,IAAI,CAAC,QAAQ,CACJ,CACR,CACG,CACZ,CACM,CACF,CACM,CACL,CACT,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["DateTime"],"sources":["src/components/date-dropdown/date-dropdown.scss?tag=ix-date-dropdown&encapsulation=shadow","src/components/date-dropdown/date-dropdown.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: inline-block;\n position: relative;\n\n @media (max-width: 48em) {\n .min-width {\n width: min-content;\n }\n }\n\n @media (min-width: 48em) {\n .border-right {\n border-right: var(--theme-x-weak-bdr-2);\n }\n }\n\n .max-height {\n max-height: max-content;\n }\n\n .no-margin {\n margin: 0;\n padding: 0;\n }\n\n .pull-right {\n float: right;\n padding: $tiny-space $default-space;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { DateTime } from 'luxon';\n\nexport type DateDropdownOption = {\n id: string;\n label: string;\n from: string;\n to: string;\n};\n\nexport type DateRangeChangeEvent = {\n id: string;\n from: string;\n to: string;\n};\n\n/**\n * @since 2.1.0\n */\n@Component({\n tag: 'ix-date-dropdown',\n styleUrl: 'date-dropdown.scss',\n shadow: true,\n})\nexport class DateDropdown {\n @Element() hostElement: HTMLIxDateDropdownElement;\n\n /**\n * Date format string.\n * See @link https://moment.github.io/luxon/#/formatting?id=table-of-tokens for all available tokens.\n */\n @Prop() format = 'yyyy/LL/dd';\n\n /**\n * If true a range of dates can be selected.\n */\n @Prop() range = true;\n\n /**\n * Picker date. If the picker is in range mode this property is the start date.\n * If set to `null` no default start date will be pre-selected.\n *\n * Format is based on `format`\n */\n @Prop() from: string;\n\n /**\n * Picker date. If the picker is in range mode this property is the end date.\n * If the picker is not in range mode leave this value `null`\n *\n * Format is based on `format`\n */\n @Prop() to: string;\n\n /**\n * The earliest date that can be selected by the date picker.\n * If not set there will be no restriction.\n */\n @Prop() minDate: string;\n\n /**\n * The latest date that can be selected by the date picker.\n * If not set there will be no restriction.\n */\n @Prop() maxDate: string;\n\n /**\n * Used to set the initial select date range as well as the button name,\n * if not set or no according date range label is found, nothing will be selected\n */\n @Prop() dateRangeId = 'custom';\n @Watch('dateRangeId')\n @Watch('to')\n @Watch('from')\n onDateRangeIdChange() {\n this.onRangeListSelect(this.dateRangeId);\n this.onDateSelect({\n from: this.currentRangeValue.from,\n to: this.currentRangeValue.to,\n id: this.currentRangeValue.id,\n });\n }\n\n /**\n * Controls whether the user is allowed to pick custom date ranges in the component.\n * When set to 'true', the user can select a custom date range using the date picker.\n * When set to 'false', only predefined time date ranges are available for selection.\n */\n @Prop() customRangeAllowed = true;\n\n /**\n * An array of predefined date range options for the date picker.\n * Each option is an object with a label describing the range and a function\n * that returns the start and end dates of the range as a DateRangeOption object.\n *\n * Example format:\n * {\n * id: 'some unique id',\n * label: 'Name of the range',\n * from: undefined, to: '2023/03/29'\n * },\n * // ... other predefined date range options ...\n */\n @Prop() dateRangeOptions: DateDropdownOption[] = [];\n @Watch('dateRangeOptions')\n onDateRangeOptionsChange() {\n this.initialize();\n this.onDateRangeIdChange();\n }\n\n /**\n * Text for custom dropdown item. Will be used for translation.\n */\n @Prop({ attribute: 'i18n-custom-item' }) i18nCustomItem = 'Custom...';\n\n /**\n * Text for the done button. Will be used for translation.\n */\n @Prop({ attribute: 'i18n-done' }) i18nDone = 'Done';\n\n /**\n * Text for the done button. Will be used for translation.\n */\n @Prop({ attribute: 'i18n-no-range' }) i18nNoRange = 'No range set';\n\n /** @internal */\n @Prop() today = DateTime.now().toISO();\n\n /**\n * EventEmitter for date range change events.\n *\n * This event is emitted when the date range changes within the component.\n * The event payload contains information about the selected date range.\n */\n @Event() private dateRangeChange: EventEmitter<DateRangeChangeEvent>;\n\n @State() private selectedDateRangeId: 'custom' | (string & {});\n @State() private currentRangeValue: {\n from: string;\n to: string;\n id: string;\n };\n @State() private triggerRef: HTMLElement;\n\n private datePickerTouched = false;\n\n componentWillLoad() {\n this.initialize();\n this.setDateRangeSelection(this.dateRangeId);\n }\n\n /**\n * Retrieves the currently selected date range from the component.\n * This method returns the selected date range as a `DateChangeEvent` object.\n */\n @Method()\n public async getDateRange(): Promise<DateRangeChangeEvent> {\n return this.currentRangeValue;\n }\n\n private initialize() {\n const isCustomRange =\n this.dateRangeId === 'custom' ||\n (!this.dateRangeId && !!this.from && !!this.to);\n\n if (isCustomRange && this.customRangeAllowed) {\n this.selectedDateRangeId = 'custom';\n this.currentRangeValue = {\n id: this.selectedDateRangeId,\n from: this.from,\n to: this.to,\n };\n\n return;\n }\n const isValidConfiguration = !isCustomRange && !this.from;\n if (!isValidConfiguration) {\n console.warn(\n '\"from\" and \"range-date-id\" is provided this is an invalid combination. Using \"custom\".'\n );\n\n this.selectedDateRangeId = 'custom';\n this.currentRangeValue = {\n id: this.selectedDateRangeId,\n from: this.from,\n to: this.to,\n };\n\n return;\n }\n }\n\n private onDateSelect(\n rangeValue: { from: string; to: string; id: string },\n preserveDropdown = true\n ) {\n this.dateRangeChange.emit(rangeValue);\n\n if (preserveDropdown) {\n this.closeDropdown();\n }\n\n this.datePickerTouched = false;\n }\n\n private onRangeListSelect(id: string) {\n if (this.setDateRangeSelection(id)) {\n this.onDateSelect(this.currentRangeValue);\n }\n }\n\n private setDateRangeSelection(id: string) {\n this.selectedDateRangeId = id;\n const option = this.dateRangeOptions.find((range) => range.id === id);\n\n if (option) {\n this.currentRangeValue = option;\n }\n\n return option;\n }\n\n private closeDropdown() {\n this.hostElement.shadowRoot.querySelector('ix-dropdown').show = false;\n }\n\n private getButtonLabel() {\n if (this.selectedDateRangeId === 'custom' && this.currentRangeValue?.from) {\n let range = this.currentRangeValue.from;\n\n if (this.currentRangeValue.to) {\n range += ` - ${this.currentRangeValue.to}`;\n }\n\n return range;\n }\n\n if (!this.selectedDateRangeId) {\n return this.i18nNoRange;\n }\n\n if (!this.dateRangeOptions || this.dateRangeOptions?.length === 0) {\n return this.i18nNoRange;\n }\n\n const option = this.dateRangeOptions.find(\n (option) => option.id === this.selectedDateRangeId\n );\n\n if (!option) {\n console.error(\n `Cannot find range option with id ${this.selectedDateRangeId}`\n );\n return this.i18nNoRange;\n }\n\n return option.label;\n }\n\n render() {\n return (\n <Host>\n <ix-button\n data-date-dropdown-trigger\n variant=\"primary\"\n icon=\"history\"\n ref={(ref) => (this.triggerRef = ref)}\n class=\"button-width\"\n >\n {this.getButtonLabel()}\n </ix-button>\n <ix-dropdown\n data-date-dropdown\n class=\"min-width max-height\"\n trigger={this.triggerRef}\n close-behavior=\"outside\"\n placement=\"bottom-start\"\n onShowChanged={({ detail: show }) => {\n if (\n !show &&\n this.selectedDateRangeId === 'custom' &&\n this.datePickerTouched\n ) {\n this.onDateSelect(this.currentRangeValue);\n }\n }}\n >\n <ix-layout-grid no-margin=\"true\">\n <ix-row>\n <ix-col\n class={{\n 'no-margin': true,\n 'border-right': this.selectedDateRangeId === 'custom',\n }}\n >\n {this.dateRangeOptions.map((dateRangeOption) => (\n <ix-dropdown-item\n label={dateRangeOption.label}\n onClick={() => this.onRangeListSelect(dateRangeOption.id)}\n checked={this.selectedDateRangeId === dateRangeOption.id}\n ></ix-dropdown-item>\n ))}\n <div hidden={!this.customRangeAllowed}>\n <ix-dropdown-item\n label={this.i18nCustomItem}\n checked={this.selectedDateRangeId === 'custom'}\n onClick={() => this.onRangeListSelect('custom')}\n ></ix-dropdown-item>\n </div>\n </ix-col>\n <ix-col class=\"no-margin\">\n {this.selectedDateRangeId === 'custom' && (\n <Fragment>\n <ix-date-picker\n standaloneAppearance={false}\n onDateChange={(e) => {\n e.stopPropagation();\n this.currentRangeValue = {\n ...e.detail,\n id: 'custom',\n };\n this.datePickerTouched = true;\n }}\n onDateRangeChange={(e) => e.stopPropagation()}\n format={this.format}\n range={this.range}\n from={this.from || this.currentRangeValue?.from}\n to={this.to || this.currentRangeValue?.to}\n minDate={this.minDate}\n maxDate={this.maxDate}\n today={this.today}\n ></ix-date-picker>\n <div class=\"pull-right\">\n <ix-button\n onClick={() => {\n this.onDateSelect(this.currentRangeValue);\n }}\n >\n {this.i18nDone}\n </ix-button>\n </div>\n </Fragment>\n )}\n </ix-col>\n </ix-row>\n </ix-layout-grid>\n </ix-dropdown>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"ix-date-dropdown.js","mappings":";;;;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,2+BAA2+B,CAAC;AACpgC,6BAAe,eAAe;;MC4CjB,YAAY;;;;;;QAwHf,sBAAiB,GAAG,KAAK,CAAC;sBAjHjB,YAAY;qBAKb,IAAI;;;;;2BAkCE,QAAQ;kCAkBD,IAAI;gCAegB,EAAE;8BAUO,WAAW;wBAKxB,MAAM;2BAKC,cAAc;qBAGlDA,UAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE;;;;;IApDtC,mBAAmB;QACjB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzC,IAAI,CAAC,YAAY,CAAC;YAChB,IAAI,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI;YACjC,EAAE,EAAE,IAAI,CAAC,iBAAi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AO,EAAE;gBACP,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;aAC3C,IAEA,IAAI,CAAC,QAAQ,CACJ,CACR,CACG,CACZ,CACM,CACF,CACM,CACL,CACT,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["DateTime"],"sources":["src/components/date-dropdown/date-dropdown.scss?tag=ix-date-dropdown&encapsulation=shadow","src/components/date-dropdown/date-dropdown.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: inline-block;\n position: relative;\n\n @media (max-width: 48em) {\n .min-width {\n width: min-content;\n }\n }\n\n @media (min-width: 48em) {\n .border-right {\n border-right: var(--theme-x-weak-bdr-2);\n }\n }\n\n ix-button {\n width: 100%;\n }\n\n .max-height {\n max-height: max-content;\n }\n\n .no-margin {\n margin: 0;\n padding: 0;\n }\n\n .pull-right {\n float: right;\n padding: $tiny-space $default-space;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { DateTime } from 'luxon';\n\nexport type DateDropdownOption = {\n id: string;\n label: string;\n from: string;\n to: string;\n};\n\nexport type DateRangeChangeEvent = {\n id: string;\n from: string;\n to: string;\n};\n\n/**\n * @since 2.1.0\n */\n@Component({\n tag: 'ix-date-dropdown',\n styleUrl: 'date-dropdown.scss',\n shadow: true,\n})\nexport class DateDropdown {\n @Element() hostElement: HTMLIxDateDropdownElement;\n\n /**\n * Date format string.\n * See @link https://moment.github.io/luxon/#/formatting?id=table-of-tokens for all available tokens.\n */\n @Prop() format = 'yyyy/LL/dd';\n\n /**\n * If true a range of dates can be selected.\n */\n @Prop() range = true;\n\n /**\n * Picker date. If the picker is in range mode this property is the start date.\n * If set to `null` no default start date will be pre-selected.\n *\n * Format is based on `format`\n */\n @Prop() from: string;\n\n /**\n * Picker date. If the picker is in range mode this property is the end date.\n * If the picker is not in range mode leave this value `null`\n *\n * Format is based on `format`\n */\n @Prop() to: string;\n\n /**\n * The earliest date that can be selected by the date picker.\n * If not set there will be no restriction.\n */\n @Prop() minDate: string;\n\n /**\n * The latest date that can be selected by the date picker.\n * If not set there will be no restriction.\n */\n @Prop() maxDate: string;\n\n /**\n * Used to set the initial select date range as well as the button name,\n * if not set or no according date range label is found, nothing will be selected\n */\n @Prop() dateRangeId = 'custom';\n @Watch('dateRangeId')\n @Watch('to')\n @Watch('from')\n onDateRangeIdChange() {\n this.onRangeListSelect(this.dateRangeId);\n this.onDateSelect({\n from: this.currentRangeValue.from,\n to: this.currentRangeValue.to,\n id: this.currentRangeValue.id,\n });\n }\n\n /**\n * Controls whether the user is allowed to pick custom date ranges in the component.\n * When set to 'true', the user can select a custom date range using the date picker.\n * When set to 'false', only predefined time date ranges are available for selection.\n */\n @Prop() customRangeAllowed = true;\n\n /**\n * An array of predefined date range options for the date picker.\n * Each option is an object with a label describing the range and a function\n * that returns the start and end dates of the range as a DateRangeOption object.\n *\n * Example format:\n * {\n * id: 'some unique id',\n * label: 'Name of the range',\n * from: undefined, to: '2023/03/29'\n * },\n * // ... other predefined date range options ...\n */\n @Prop() dateRangeOptions: DateDropdownOption[] = [];\n @Watch('dateRangeOptions')\n onDateRangeOptionsChange() {\n this.initialize();\n this.onDateRangeIdChange();\n }\n\n /**\n * Text for custom dropdown item. Will be used for translation.\n */\n @Prop({ attribute: 'i18n-custom-item' }) i18nCustomItem = 'Custom...';\n\n /**\n * Text for the done button. Will be used for translation.\n */\n @Prop({ attribute: 'i18n-done' }) i18nDone = 'Done';\n\n /**\n * Text for the done button. Will be used for translation.\n */\n @Prop({ attribute: 'i18n-no-range' }) i18nNoRange = 'No range set';\n\n /** @internal */\n @Prop() today = DateTime.now().toISO();\n\n /**\n * EventEmitter for date range change events.\n *\n * This event is emitted when the date range changes within the component.\n * The event payload contains information about the selected date range.\n */\n @Event() private dateRangeChange: EventEmitter<DateRangeChangeEvent>;\n\n @State() private selectedDateRangeId: 'custom' | (string & {});\n @State() private currentRangeValue: {\n from: string;\n to: string;\n id: string;\n };\n @State() private triggerRef: HTMLElement;\n\n private datePickerTouched = false;\n\n componentWillLoad() {\n this.initialize();\n this.setDateRangeSelection(this.dateRangeId);\n }\n\n /**\n * Retrieves the currently selected date range from the component.\n * This method returns the selected date range as a `DateChangeEvent` object.\n */\n @Method()\n public async getDateRange(): Promise<DateRangeChangeEvent> {\n return this.currentRangeValue;\n }\n\n private initialize() {\n const isCustomRange =\n this.dateRangeId === 'custom' ||\n (!this.dateRangeId && !!this.from && !!this.to);\n\n if (isCustomRange && this.customRangeAllowed) {\n this.selectedDateRangeId = 'custom';\n this.currentRangeValue = {\n id: this.selectedDateRangeId,\n from: this.from,\n to: this.to,\n };\n\n return;\n }\n const isValidConfiguration = !isCustomRange && !this.from;\n if (!isValidConfiguration) {\n console.warn(\n '\"from\" and \"range-date-id\" is provided this is an invalid combination. Using \"custom\".'\n );\n\n this.selectedDateRangeId = 'custom';\n this.currentRangeValue = {\n id: this.selectedDateRangeId,\n from: this.from,\n to: this.to,\n };\n\n return;\n }\n }\n\n private onDateSelect(\n rangeValue: { from: string; to: string; id: string },\n preserveDropdown = true\n ) {\n this.dateRangeChange.emit(rangeValue);\n\n if (preserveDropdown) {\n this.closeDropdown();\n }\n\n this.datePickerTouched = false;\n }\n\n private onRangeListSelect(id: string) {\n if (this.setDateRangeSelection(id)) {\n this.onDateSelect(this.currentRangeValue);\n }\n }\n\n private setDateRangeSelection(id: string) {\n this.selectedDateRangeId = id;\n const option = this.dateRangeOptions.find((range) => range.id === id);\n\n if (option) {\n this.currentRangeValue = option;\n }\n\n return option;\n }\n\n private closeDropdown() {\n this.hostElement.shadowRoot.querySelector('ix-dropdown').show = false;\n }\n\n private getButtonLabel() {\n if (this.selectedDateRangeId === 'custom' && this.currentRangeValue?.from) {\n let range = this.currentRangeValue.from;\n\n if (this.currentRangeValue.to) {\n range += ` - ${this.currentRangeValue.to}`;\n }\n\n return range;\n }\n\n if (!this.selectedDateRangeId) {\n return this.i18nNoRange;\n }\n\n if (!this.dateRangeOptions || this.dateRangeOptions?.length === 0) {\n return this.i18nNoRange;\n }\n\n const option = this.dateRangeOptions.find(\n (option) => option.id === this.selectedDateRangeId\n );\n\n if (!option) {\n console.error(\n `Cannot find range option with id ${this.selectedDateRangeId}`\n );\n return this.i18nNoRange;\n }\n\n return option.label;\n }\n\n render() {\n return (\n <Host>\n <ix-button\n data-date-dropdown-trigger\n variant=\"primary\"\n icon=\"history\"\n ref={(ref) => (this.triggerRef = ref)}\n >\n {this.getButtonLabel()}\n </ix-button>\n <ix-dropdown\n data-date-dropdown\n class=\"min-width max-height\"\n trigger={this.triggerRef}\n close-behavior=\"outside\"\n placement=\"bottom-start\"\n onShowChanged={({ detail: show }) => {\n if (\n !show &&\n this.selectedDateRangeId === 'custom' &&\n this.datePickerTouched\n ) {\n this.onDateSelect(this.currentRangeValue);\n }\n }}\n >\n <ix-layout-grid no-margin=\"true\">\n <ix-row>\n {this.dateRangeOptions?.length > 1 && (\n <ix-col\n class={{\n 'no-margin': true,\n 'border-right': this.selectedDateRangeId === 'custom',\n }}\n >\n {this.dateRangeOptions.map((dateRangeOption) => (\n <ix-dropdown-item\n label={dateRangeOption.label}\n onClick={() => this.onRangeListSelect(dateRangeOption.id)}\n checked={this.selectedDateRangeId === dateRangeOption.id}\n ></ix-dropdown-item>\n ))}\n <div hidden={!this.customRangeAllowed}>\n <ix-dropdown-item\n label={this.i18nCustomItem}\n checked={this.selectedDateRangeId === 'custom'}\n onClick={() => this.onRangeListSelect('custom')}\n ></ix-dropdown-item>\n </div>\n </ix-col>\n )}\n <ix-col class=\"no-margin\">\n {this.selectedDateRangeId === 'custom' && (\n <Fragment>\n <ix-date-picker\n standaloneAppearance={false}\n onDateChange={(e) => {\n e.stopPropagation();\n this.currentRangeValue = {\n ...e.detail,\n id: 'custom',\n };\n this.datePickerTouched = true;\n }}\n onDateRangeChange={(e) => e.stopPropagation()}\n format={this.format}\n range={this.range}\n from={this.from || this.currentRangeValue?.from}\n to={this.to || this.currentRangeValue?.to}\n minDate={this.minDate}\n maxDate={this.maxDate}\n today={this.today}\n ></ix-date-picker>\n <div class=\"pull-right\">\n <ix-button\n onClick={() => {\n this.onDateSelect(this.currentRangeValue);\n }}\n >\n {this.i18nDone}\n </ix-button>\n </div>\n </Fragment>\n )}\n </ix-col>\n </ix-row>\n </ix-layout-grid>\n </ix-dropdown>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -66,7 +66,7 @@ const DatetimePicker = /*@__PURE__*/ proxyCustomElement(class DatetimePicker ext
|
|
|
66
66
|
this.timeChange.emit(time);
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: '83ee67741b982fbf3a6191c04fa3edbbdb6e6f44' }, h("ix-layout-grid", { key: 'f5f2c66badc930b769638f8f087058b51e44aca7', class: "no-padding" }, h("ix-row", { key: '15361bfa7b0cba0688507273601701160016d69b' }, h("ix-col", { key: 'c4d1d8a41b939e7970277d7a8d9a1c68db7bfa91', class: "no-padding" }, h("ix-date-picker", { key: '77bc6717428ef6fd131cd364b15b5e62a79e8f7f', ref: (ref) => (this.datePickerElement = ref), corners: "left", range: this.range, onDateChange: (event) => this.onDateChange(event), from: this.from, to: this.to, format: this.dateFormat, minDate: this.minDate, maxDate: this.maxDate, weekStartIndex: this.weekStartIndex, standaloneAppearance: false, locale: this.locale })), h("ix-col", { key: '52d25a39e84d6e0bc35bfe2159c368d2611570c3', class: "no-padding" }, h("ix-time-picker", { key: 'c19954e799ec9a0f5afb7df35472e58911ea7209', class: "min-width", ref: (ref) => (this.timePickerElement = ref), corners: "right", standaloneAppearance: false, showHour: this.showHour, showMinutes: this.showMinutes, showSeconds: this.showSeconds, onTimeChange: (event) => this.onTimeChange(event), format: this.timeFormat, time: this.time }))), h("ix-row", { key: 'cc6b061a09a9e3b8e06d7acd6bfe801dc884cc92' }, h("ix-col", { key: '86d98b8b9d25f0d77707c7104ed3b53efed3fd04' }, h("ix-button", { key: '5e843ec14cc32176420a8304779e7563117af40d', class: "btn-select-date btn-md-width", onClick: () => this.onDone() }, this.textSelectDate || this.i18nDone))))));
|
|
70
70
|
}
|
|
71
71
|
static get style() { return IxDatetimePickerStyle0; }
|
|
72
72
|
}, [1, "ix-datetime-picker", {
|
package/components/ix-drawer.js
CHANGED
|
@@ -89,7 +89,7 @@ const Drawer = /*@__PURE__*/ proxyCustomElement(class Drawer extends HTMLElement
|
|
|
89
89
|
this.onShowChanged(this.show);
|
|
90
90
|
}
|
|
91
91
|
render() {
|
|
92
|
-
return (h(Host, { key: '
|
|
92
|
+
return (h(Host, { key: 'e62222323c1b4c58abef1702618873c3856405de', class: {
|
|
93
93
|
'drawer-container': true,
|
|
94
94
|
toggle: this.show,
|
|
95
95
|
'full-height': this.fullHeight,
|
|
@@ -98,7 +98,7 @@ const Drawer = /*@__PURE__*/ proxyCustomElement(class Drawer extends HTMLElement
|
|
|
98
98
|
width: this.width === 'auto' ? this.width : `${this.width}rem`,
|
|
99
99
|
'min-width': `${this.minWidth}rem`,
|
|
100
100
|
'max-width': `${this.maxWidth}rem`,
|
|
101
|
-
}, ref: (el) => (this.divElement = el), "data-testid": "container", id: "div-container" }, h("div", { key: '
|
|
101
|
+
}, ref: (el) => (this.divElement = el), "data-testid": "container", id: "div-container" }, h("div", { key: 'add6dc645923e78ea4aab5a5119900ffb77f84e2', class: "header" }, h("div", { key: 'e173f66d20de86d73957e68ba58049d9fd5694f2', class: "header-content" }, h("slot", { key: '8c3fcccd355f8648ef1bd2367c764d3360805ffb', name: "header" })), h("ix-icon-button", { key: '4ca6c7513df414120a6f7f4164cb8cfed84992fe', class: "close-button", icon: 'close', size: "24", ghost: true, onClick: () => this.onCloseClicked(), "data-testid": "close-button" })), h("div", { key: '95fb535fc3fe56ff7731d00d849fd4d93b61d31a', class: "content" }, h("slot", { key: '44f5d0a2b5d4c876c67c4db047653d63550e5ac2' }))));
|
|
102
102
|
}
|
|
103
103
|
static get watchers() { return {
|
|
104
104
|
"show": ["onShowChanged"]
|
|
@@ -34,11 +34,11 @@ const DropdownButton = /*@__PURE__*/ proxyCustomElement(class DropdownButton ext
|
|
|
34
34
|
} }));
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '4a18eaa51a9defa9a50aa2d4008176640d94fd5a', class: {
|
|
38
38
|
disabled: this.disabled,
|
|
39
39
|
}, ref: (ref) => {
|
|
40
40
|
this.dropdownAnchor = ref;
|
|
41
|
-
} }, h("div", { key: '
|
|
41
|
+
} }, h("div", { key: '2e967b92d073f88609f31d90cafd6b5455930560', class: "dropdown-button" }, this.label ? (h("ix-button", { variant: this.variant, outline: this.outline, ghost: this.ghost, disabled: this.disabled, alignment: "start" }, h("div", { class: 'content' }, this.icon ? (h("ix-icon", { name: this.icon, size: "24", class: 'dropdown-icon' })) : null, h("div", { class: 'button-label' }, this.label), h("ix-icon", { name: 'chevron-down-small', size: "24" })))) : (h("div", null, h("ix-icon-button", { icon: this.icon, variant: this.variant, outline: this.outline, ghost: this.ghost, disabled: this.disabled }), this.getTriangle()))), h("ix-dropdown", { key: '1477ef9b47c696f1ab705f0973b6ba20228975b2', class: "dropdown", trigger: this.dropdownAnchor, placement: this.placement, closeBehavior: this.closeBehavior }, h("slot", { key: '137db0e0b45d8e5f370346620782007c3b28f7f7' }))));
|
|
42
42
|
}
|
|
43
43
|
get hostElement() { return this; }
|
|
44
44
|
static get style() { return IxDropdownButtonStyle0; }
|
|
@@ -12,7 +12,7 @@ const DropdownHeader = /*@__PURE__*/ proxyCustomElement(class DropdownHeader ext
|
|
|
12
12
|
this.label = undefined;
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: 'fa3daed3c42026d56472617e8011daf26a6a0143' }, h("ix-typography", { key: 'd5b713244e69d78221498344e435c0fe08c06b26', class: 'category-text', variant: 'default-title' }, this.label)));
|
|
16
16
|
}
|
|
17
17
|
static get style() { return IxDropdownHeaderStyle0; }
|
|
18
18
|
}, [1, "ix-dropdown-header", {
|
|
@@ -10,7 +10,7 @@ const DropdownQuickActions = /*@__PURE__*/ proxyCustomElement(class DropdownQuic
|
|
|
10
10
|
this.__attachShadow();
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '4276b052d998fa436597a67bc7df4b5f4dac79e7' }, h("slot", { key: 'fe99c816c933c10d45fdb93acfadf23938ffa1ae' })));
|
|
14
14
|
}
|
|
15
15
|
static get style() { return IxDropdownQuickActionsStyle0; }
|
|
16
16
|
}, [1, "ix-dropdown-quick-actions"]);
|
|
@@ -19,7 +19,7 @@ const EmptyState = /*@__PURE__*/ proxyCustomElement(class EmptyState extends HTM
|
|
|
19
19
|
this.action = undefined;
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '05758725d4d8effa0b61ae90189bea0556576bf5', class: `emptyState emptyState--${this.layout}` }, this.icon && (h("div", { class: "emptyState__icon" }, h("ix-icon", { name: this.icon, size: this.layout === 'large' ? '32' : '32', color: "color-soft-text" }))), h("div", { key: '443bdba623c0a05f224a113e27de4fa281c27563', class: "emptyState__content" }, h("div", { key: 'df17e2f2ca3c227bde9af9bbfbd25c8593b93472', class: "content__label" }, h("ix-typography", { key: '9a9d096c9676dd62d8ccf78f67e05f98d4abd761', variant: this.layout === 'large' ? 'display-large' : 'default' }, this.header), this.subHeader && (h("div", { class: "label__subHeader" }, this.subHeader))), this.action && (h("div", { class: "content__action" }, h("ix-button", { onClick: () => this.actionClick.emit() }, this.action))))));
|
|
23
23
|
}
|
|
24
24
|
static get style() { return IxEmptyStateStyle0; }
|
|
25
25
|
}, [1, "ix-empty-state", {
|
|
@@ -28,16 +28,16 @@ const EventListItem = /*@__PURE__*/ proxyCustomElement(class EventListItem exten
|
|
|
28
28
|
? `var(${this.color})`
|
|
29
29
|
: `var(--theme-${this.color})`;
|
|
30
30
|
}
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: '3e25c77fbee09f5cbd02c5ad5e449ea4eb63ddbb', class: {
|
|
32
32
|
disabled: this.disabled,
|
|
33
|
-
} }, h("div", { key: '
|
|
33
|
+
} }, h("div", { key: 'ef165d8f55102f0c3f308782389e5c2cccae782e', class: {
|
|
34
34
|
'event-list-item': true,
|
|
35
35
|
selected: this.selected,
|
|
36
36
|
disabled: this.disabled,
|
|
37
|
-
} }, h("div", { key: '
|
|
37
|
+
} }, h("div", { key: '5a9f0d1af17820bab17fb8d1cefffdcd0ee1b02a', class: `indicator ${!((_c = this.itemColor) !== null && _c !== void 0 ? _c : this.color) ? 'indicator-empty' : ''}`, style: {
|
|
38
38
|
'background-color': ((_d = this.itemColor) !== null && _d !== void 0 ? _d : this.color) ? color : 'inherit',
|
|
39
39
|
opacity: `${this.disabled ? 0.4 : 1}`,
|
|
40
|
-
} }), h("div", { key: '
|
|
40
|
+
} }), h("div", { key: '0bc498d396328ac8e7a4543339d1ff6c362fd19e', class: "event-list-item-container" }, h("div", { key: '6f57320d0c1c43222527a455bdea9193b53524fb', class: "event-content" }, h("slot", { key: '15cee1c7afade0bb0fe0112bfba54c7fe70d8e1e' })), this.chevron && (h("ix-icon", { name: 'chevron-right', size: "16", class: "chevron-icon" }))))));
|
|
41
41
|
}
|
|
42
42
|
static get style() { return IxEventListItemStyle0; }
|
|
43
43
|
}, [1, "ix-event-list-item", {
|
|
@@ -103,11 +103,11 @@ const EventList = /*@__PURE__*/ proxyCustomElement(class EventList extends HTMLE
|
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
105
|
render() {
|
|
106
|
-
return (h(Host, { key: '
|
|
106
|
+
return (h(Host, { key: '89be0fbb595cea7d39e50feedb367108c2a206bb', class: {
|
|
107
107
|
'item-size-s': this.itemHeight === 'S',
|
|
108
108
|
'item-size-l': this.itemHeight === 'L',
|
|
109
109
|
compact: this.compact,
|
|
110
|
-
} }, h("ul", { key: '
|
|
110
|
+
} }, h("ul", { key: '1e14d4602a221795448e7216c0952b29af06c522' }, h("slot", { key: '5c55793caf21fb2f76f7019b7813a75b9746b180' }))));
|
|
111
111
|
}
|
|
112
112
|
get hostElement() { return this; }
|
|
113
113
|
static get watchers() { return {
|
|
@@ -54,20 +54,20 @@ const ExpandingSearch = /*@__PURE__*/ proxyCustomElement(class ExpandingSearch e
|
|
|
54
54
|
this.valueChange.emit(this.value);
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: '4c4ad028a6843aa48f111eab03289f05093ff0c4', class: {
|
|
58
58
|
expanded: this.expanded,
|
|
59
59
|
'right-position': this.expanded,
|
|
60
60
|
fullWidth: this.fullWidth,
|
|
61
|
-
} }, h("ix-icon-button", { key: '
|
|
61
|
+
} }, h("ix-icon-button", { key: 'c919f410191cb51957c1d00938cfde61193ebdd5', size: this.expanded ? '16' : '24', icon: this.icon, ghost: true, variant: "primary", "data-testid": "button", onClick: () => this.expandInput(), tabindex: this.expanded ? -1 : 0, color: this.hasFocus ? 'input-search-icon--color--focus' : undefined, class: {
|
|
62
62
|
'btn-search': true,
|
|
63
63
|
'btn-search--expanded': this.expanded,
|
|
64
|
-
} }), h("div", { key: '
|
|
64
|
+
} }), h("div", { key: 'e3c42bb3f8940113d4da24d8d235240fce59fa91', class: {
|
|
65
65
|
expanded: this.expanded,
|
|
66
66
|
fullWidth: this.fullWidth,
|
|
67
67
|
collapsed: !this.expanded,
|
|
68
68
|
'disable-pointer': !this.expanded,
|
|
69
69
|
'input-container': true,
|
|
70
|
-
}, "data-testid": "input-wrapper" }, h("input", { key: '
|
|
70
|
+
}, "data-testid": "input-wrapper" }, h("input", { key: 'ec9dabd6711e59f9675b3c961abdae17ea0da703', class: {
|
|
71
71
|
'form-control': true,
|
|
72
72
|
input: this.expanded,
|
|
73
73
|
'disable-pointer': !this.expanded,
|
|
@@ -11,7 +11,7 @@ const FlipTileContent = /*@__PURE__*/ proxyCustomElement(class FlipTileContent e
|
|
|
11
11
|
this.contentVisible = false;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return h(Host, { key: '
|
|
14
|
+
return h(Host, { key: 'e92abcbb8b1cfdeb739ee4933f6ed66a6c2a7dc5' }, this.contentVisible ? h("slot", null) : null);
|
|
15
15
|
}
|
|
16
16
|
static get style() { return IxFlipTileContentStyle0; }
|
|
17
17
|
}, [1, "ix-flip-tile-content", {
|
|
@@ -60,26 +60,26 @@ const FlipTile = /*@__PURE__*/ proxyCustomElement(class FlipTile extends HTMLEle
|
|
|
60
60
|
}, 2 * this.ANIMATION_DURATION);
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: 'f48c8fa439a5b38b06fbda02e4185aa4195dcba5', style: {
|
|
64
64
|
height: `${this.height}${this.height === 'auto' ? '' : 'rem'}`,
|
|
65
65
|
'min-height': `${this.height}${this.height === 'auto' ? '' : 'rem'}`,
|
|
66
66
|
'max-height': `${this.height}${this.height === 'auto' ? '' : 'rem'}`,
|
|
67
67
|
width: `${this.width}${this.width === 'auto' ? '' : 'rem'}`,
|
|
68
68
|
'min-width': `${this.width}${this.width === 'auto' ? '' : 'rem'}`,
|
|
69
69
|
'max-width': `${this.width}${this.width === 'auto' ? '' : 'rem'}`,
|
|
70
|
-
} }, h("div", { key: '
|
|
70
|
+
} }, h("div", { key: 'fc676886cdf565c7cc121640b37c579eb1ea2f64', class: {
|
|
71
71
|
'flip-tile-container': true,
|
|
72
72
|
info: this.state === FlipTileState.Info,
|
|
73
73
|
warning: this.state === FlipTileState.Warning,
|
|
74
74
|
alarm: this.state === FlipTileState.Alarm,
|
|
75
75
|
primary: this.state === FlipTileState.Primary,
|
|
76
76
|
'flip-animation-active': this.isFlipAnimationActive,
|
|
77
|
-
} }, h("div", { key: '
|
|
77
|
+
} }, h("div", { key: '036a5f9b336796232c649a0c1718601ccd5c46b5', class: "flip-tile-header" }, h("div", { key: '3eb347f451cf27f614f855eee99f8562fc4aa785', class: "header-slot-container text-l-title" }, h("slot", { key: '563785f622191f0692f3790f3a908125e30e7276', name: "header" })), h("ix-icon-button", { key: '9a52873d2890f187d3a2c940688bbd000e676233', icon: 'eye', variant: "primary", ghost: true, onClick: () => this.toggleIndex() })), h("div", { key: '0efc4537aa97d3b79459141678dc180a140bd658', class: "content-container" }, h("slot", { key: '1c7035e6e29731a2f192a37f1d86985c3c219220' })), h("div", { key: '2d1f20e35490d7f87b1d70cb9783268c5f1dc270', class: {
|
|
78
78
|
footer: true,
|
|
79
79
|
'contrast-light': this.state === FlipTileState.Warning,
|
|
80
80
|
'contrast-dark': this.state === FlipTileState.Info ||
|
|
81
81
|
this.state === FlipTileState.Alarm,
|
|
82
|
-
} }, h("slot", { key: '
|
|
82
|
+
} }, h("slot", { key: '074e8bcae63f134dab5623df0682c754e3212159', name: "footer" })))));
|
|
83
83
|
}
|
|
84
84
|
get hostElement() { return this; }
|
|
85
85
|
static get style() { return IxFlipTileStyle0; }
|
|
@@ -15,7 +15,7 @@ const FormField = /*@__PURE__*/ proxyCustomElement(class FormField extends HTMLE
|
|
|
15
15
|
}
|
|
16
16
|
componentWillLoad() { }
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '84f5465600ed945caa31926c700957a4e1b7e43e' }, this.label ? (h("label", { htmlFor: this.inputElement.id }, this.label)) : null, h("slot", { key: 'c57485ac6285e411275e9e7fafeb6aa3b3e96ee3' })));
|
|
19
19
|
}
|
|
20
20
|
get hostElement() { return this; }
|
|
21
21
|
static get style() { return IxFormFieldStyle0; }
|
package/components/ix-group.js
CHANGED
|
@@ -106,16 +106,16 @@ const Group = /*@__PURE__*/ proxyCustomElement(class Group extends HTMLElement {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
|
-
return (h(Host, { key: '
|
|
109
|
+
return (h(Host, { key: '50658e58108e551e704d40f5658e8bf405908841' }, h("div", { key: '7c6dd6d17182f417b7b8845a1caebfc42b2a4ae3', class: {
|
|
110
110
|
'group-header': true,
|
|
111
111
|
expand: !this.collapsed,
|
|
112
112
|
selected: this.selected,
|
|
113
|
-
}, tabindex: "0" }, h("div", { key: '
|
|
113
|
+
}, tabindex: "0" }, h("div", { key: '82064c34500593f4dddc2f5766466e48239b6558', class: "group-header-clickable", onClick: (e) => this.onHeaderClick(e) }, h("div", { key: '551ad7dcd5b93652012ca16f8e6df6a029e9de3e', class: {
|
|
114
114
|
'group-header-selection-indicator': true,
|
|
115
115
|
'group-header-selection-indicator-item-selected': this.itemSelected,
|
|
116
|
-
} }), h("div", { key: '
|
|
116
|
+
} }), h("div", { key: '551174d9914334ad390798ae0483237dedebcd73', class: "btn-expand-header" }, h("ix-icon", { key: '0b86cb98fcb9022a77f855ba34166012a2693a4a', class: {
|
|
117
117
|
hidden: this.slotSize === 0,
|
|
118
|
-
}, name: this.collapsed ? 'chevron-right-small' : 'chevron-down-small', onClick: (e) => this.onExpandClick(e) })), h("div", { key: '
|
|
118
|
+
}, name: this.collapsed ? 'chevron-right-small' : 'chevron-down-small', onClick: (e) => this.onExpandClick(e) })), h("div", { key: '39717ec88f2e53e9a9f4f48e2e7245637ec00653', class: "group-header-content" }, this.header ? (h("div", { class: "group-header-props-container" }, h("div", { class: "group-header-title" }, h("span", { title: this.header }, this.header)), h("div", { class: "group-subheader", title: this.subHeader }, this.subHeader))) : null, h("slot", { key: '2b33b0c9c50099f7d904ed1bf8787acd888ad24d', name: "header" }))), h("ix-group-context-menu", { key: 'cd1268faa06b30f4292cbf988c041da0f0738e8d' }, h("slot", { key: '6152c5bb0e8831ccba53067d4aac1350027e208b', name: "dropdown" }))), h("div", { key: '7682ad50798d4839c71e79d88761cda57cf06801', class: {
|
|
119
119
|
'group-content': true,
|
|
120
120
|
} }, !this.collapsed ? (h(Fragment, null, h("slot", null), h("ix-group-item", { suppressSelection: true, focusable: false, class: {
|
|
121
121
|
footer: true,
|
|
@@ -71,7 +71,7 @@ const IconToggleButton = /*@__PURE__*/ proxyCustomElement(class IconToggleButton
|
|
|
71
71
|
extraClasses: Object.assign({ 'icon-button': true }, this.getIconSizeClass()),
|
|
72
72
|
};
|
|
73
73
|
console.log(baseButtonProps, this.disabled, this.loading);
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: '86f8d6e28705fe03d3a918e8452f62b18fc1ee01', class: Object.assign(Object.assign({}, this.getIconSizeClass()), { disabled: this.disabled || this.loading }) }, h(BaseIconButton, Object.assign({ key: '5e4379a3bbb5fe48603b520a268d51b9703540f8' }, baseButtonProps))));
|
|
75
75
|
}
|
|
76
76
|
get hostElement() { return this; }
|
|
77
77
|
static get watchers() { return {
|
|
@@ -117,7 +117,7 @@ const InputGroup = /*@__PURE__*/ proxyCustomElement(class InputGroup extends HTM
|
|
|
117
117
|
return width;
|
|
118
118
|
}
|
|
119
119
|
render() {
|
|
120
|
-
return (h(Host, { key: '
|
|
120
|
+
return (h(Host, { key: '6c305a387eab52c23cff873efb217835cb6552fa' }, h("div", { key: 'db0c738d7a46099408b419a27bc00b8417d3c365', class: "group group-start" }, h("slot", { key: '63c34ce0364cb706b008d50ccf0f56e6fd79dd98', name: "input-start" })), h("slot", { key: '1aac71bae49371f2974dac8f2e9b88df12fd57cb' }), h("div", { key: '552f38ecce4f5db61b108f3a1f8badc52fe546ea', class: "group group-end" }, h("slot", { key: 'e4074cd35b74ec82b7413f11e2c21a8896def99e', name: "input-end" }))));
|
|
121
121
|
}
|
|
122
122
|
get hostElement() { return this; }
|
|
123
123
|
static get style() { return IxInputGroupStyle0; }
|
|
@@ -11,7 +11,7 @@ const KeyValueList = /*@__PURE__*/ proxyCustomElement(class KeyValueList extends
|
|
|
11
11
|
this.striped = undefined;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '8d21b4ebf885e1ca21fddb7c6dc94b7d46940f95', class: { keyValueList: true, 'keyValueList--striped': this.striped } }, h("slot", { key: '782c4a007ea866740087f022bf7c6661aa8eea5a' })));
|
|
15
15
|
}
|
|
16
16
|
static get style() { return IxKeyValueListStyle0; }
|
|
17
17
|
}, [1, "ix-key-value-list", {
|
|
@@ -14,7 +14,7 @@ const KeyValue = /*@__PURE__*/ proxyCustomElement(class KeyValue extends HTMLEle
|
|
|
14
14
|
this.value = undefined;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '88dcec3572f18783faddef7e3ac8a66aef01ed1b', class: `keyValue keyValue--${this.labelPosition === 'top' ? 'column' : 'row'}` }, this.icon && (h("ix-icon", { name: this.icon, size: "24", class: "keyValue__icon" })), h("div", { key: '133fd9fa5e7fc3af3e181425045073c43c47049d', class: "keyValue__content" }, h("div", { key: '569cb9031c047421118d8847ec0c84dc8aeee469', class: "content__label" }, this.label), h("div", { key: 'a082de0c7b9a820d3ab86ef06f7be7425343a67a', class: {
|
|
18
18
|
content__value: true,
|
|
19
19
|
'has-customValue': this.value === undefined,
|
|
20
20
|
} }, this.value !== undefined ? (this.value) : (h("slot", { name: "custom-value" }))))));
|
package/components/ix-kpi.js
CHANGED
|
@@ -32,13 +32,13 @@ const Kpi = /*@__PURE__*/ proxyCustomElement(class Kpi extends HTMLElement {
|
|
|
32
32
|
return tooltip;
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: 'dfc10eb1b32999417bfcfe2b13318733468c2b8d', title: this.getTooltipText(), tabindex: "1", class: {
|
|
36
36
|
stacked: this.orientation === 'vertical',
|
|
37
|
-
} }, h("div", { key: '
|
|
37
|
+
} }, h("div", { key: '42ae8899123702f27d437b1002d19ecca635c827', class: {
|
|
38
38
|
'kpi-container': true,
|
|
39
39
|
alarm: this.state === 'alarm',
|
|
40
40
|
warning: this.state === 'warning',
|
|
41
|
-
} }, h("span", { key: '
|
|
41
|
+
} }, h("span", { key: '97fd8b58beb66d4071a0a00247d73909bb15ac9c', class: "kpi-label" }, this.getStateIcon(), h("span", { key: 'c94f2356c26f267f42427b8dd854dd50a5aaa075', class: "kpi-label-text" }, this.label)), h("span", { key: 'dd33de51b6d73d1fd53715bcfa0b90d4b09fa0e0', class: "kpi-value-container" }, h("span", { key: 'b6172821e5cec47954289a183f37284f9c9c4032', class: "kpi-value" }, this.value), this.unit ? h("span", { class: "kpi-unit" }, this.unit) : ''))));
|
|
42
42
|
}
|
|
43
43
|
static get style() { return IxKpiStyle0; }
|
|
44
44
|
}, [1, "ix-kpi", {
|
|
@@ -13,13 +13,13 @@ const LinkButton = /*@__PURE__*/ proxyCustomElement(class LinkButton extends HTM
|
|
|
13
13
|
this.target = '_self';
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '69b094c49b4c40844709067d3d330cbd9e439a54' }, h("a", { key: 'd480bd3a4956928b36cacb1737b9f15bef4e6db4', title: this.url, tabindex: "0", class: {
|
|
17
17
|
'link-button': true,
|
|
18
18
|
disabled: this.disabled,
|
|
19
|
-
}, href: this.disabled ? undefined : this.url, target: this.target }, h("ix-icon", { key: '
|
|
19
|
+
}, href: this.disabled ? undefined : this.url, target: this.target }, h("ix-icon", { key: 'f38cdc216ef27ad121605adf41d4b9dfee0ad21c', class: "icon", name: 'chevron-right-small', size: "16" }), h("div", { key: 'bd9aecd23fbffe8af71f3c9648552781ac350df2', class: {
|
|
20
20
|
link: true,
|
|
21
21
|
disabled: this.disabled,
|
|
22
|
-
} }, h("slot", { key: '
|
|
22
|
+
} }, h("slot", { key: 'a122841a7a121b168198300e574df0f4319fd040' })))));
|
|
23
23
|
}
|
|
24
24
|
static get style() { return IxLinkButtonStyle0; }
|
|
25
25
|
}, [1, "ix-link-button", {
|
|
@@ -161,11 +161,11 @@ const MapNavigation = /*@__PURE__*/ proxyCustomElement(class MapNavigation exten
|
|
|
161
161
|
this.hasContentHeader = (nodes === null || nodes === void 0 ? void 0 : nodes.length) !== 0;
|
|
162
162
|
}
|
|
163
163
|
render() {
|
|
164
|
-
return (h(Host, { key: '
|
|
164
|
+
return (h(Host, { key: 'cce268591eb698f3ea4e1df75f6d901b299955cd' }, h("slot", { key: '5fe015d8ea32646579e2908ed96d384cf6d3b23c', name: "menu" }), h("div", { key: '4b3aef7e9d54ad0ca685fe78a966c68212ddeeac', class: "map-nav" }, h("div", { key: '3ec6010dfb0782a34d05f88802fa4c1af3e5c4fc', class: "map-nav-sidebar" }, h("div", { key: '8dcbc1abbd2e92e4587e8ce3a13827ad7c3af96f', class: "map-nav-header" }, h("ix-application-header", { key: 'fde3c4b328cc2decdbab0046fab65e236b48675e', name: this.applicationName, class: "map-nav-header-brand" }, h("slot", { key: '3c0fc3155201783ce46cfa5c0f9636ce85a62eef', slot: "logo", name: "logo" }))), h("div", { key: '814697d7b86d4a7f1d940a4677261a1106cc8e6e', class: "map-nav-sidebar-content" }, h("div", { key: '92b84f7bd508df872dee03f233da8aae9277df2d', class: "map-nav-sidebar-static-content" }, h("div", { key: 'a68ddb0e887157c08e45d85cef327bf1bf76064f', class: "map-nav-title" }, this.navigationTitle), this.hideContextMenu ? ('') : (h("ix-icon-button", { icon: 'context-menu', ghost: true, size: "24", variant: "secondary", onClick: (_) => this.contextMenuClick.emit() }))), h("div", { key: 'd0dc557464a6eef40b5d26e72b3eda0d3113bb9e', class: "map-nav-sidebar-user-content" }, h("slot", { key: 'a4c80892e77776c69d1397514b76da25b6785737', name: "sidebar-content" })))), h("div", { key: '742909b2f8cb2897d4f3e27fe8624a058ca86bfa', class: "content" }, h("div", { key: '86ae660768f26bbae02417ab6b20c16dfec82b00', class: {
|
|
165
165
|
'map-nav-header-content': true,
|
|
166
166
|
'bg-2': true,
|
|
167
167
|
empty: !this.hasContentHeader,
|
|
168
|
-
} }, h("slot", { key: '
|
|
168
|
+
} }, h("slot", { key: 'e042f4d6dadf007435e87e6ca028a9908ffcc48b', name: "content-header", onSlotchange: (e) => this.checkHasContentHeader(e) })), h("main", { key: '2f5ca6dd5e3a9e8d32a2b02e0baf462daeff4a7c' }, h("slot", { key: '437f35dd628c442991188436aebfb72213f4e723' }), h("slot", { key: '7b107165c57e30798ed188959ff4e88416a0e6be', name: "overlay" }))))));
|
|
169
169
|
}
|
|
170
170
|
get hostElement() { return this; }
|
|
171
171
|
static get style() { return IxMapNavigationStyle0; }
|
|
@@ -19,7 +19,7 @@ const MenuAboutItem = /*@__PURE__*/ proxyCustomElement(class MenuAboutItem exten
|
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '77050563a1570aa964f9e1d3c09508ad02959919' }, h("slot", { key: '8172f676de5753a6d27f5c4a7087da3566216c48' })));
|
|
23
23
|
}
|
|
24
24
|
static get watchers() { return {
|
|
25
25
|
"label": ["watchLabel"]
|