@siemens/ix 2.1.2-beta.0 → 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 +2 -2
- 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 +1 -1
- package/components/ix-modal-loading.js +1 -1
- package/components/ix-modal.js +3 -3
- 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 +1 -1
- package/components/modal-header.js +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 +2 -2
- 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 +2 -2
- package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal.cjs.entry.js +3 -3
- 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 +2 -2
- 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.js +3 -3
- package/dist/collection/components/modal-content/modal-content.js +1 -1
- package/dist/collection/components/modal-footer/modal-footer.js +1 -1
- 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 +2 -2
- 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 +2 -2
- package/dist/esm/ix-modal-example.entry.js +1 -1
- package/dist/esm/ix-modal-footer.entry.js +1 -1
- package/dist/esm/ix-modal-loading.entry.js +1 -1
- package/dist/esm/ix-modal.entry.js +3 -3
- 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-16d529ee.entry.js → p-597d346d.entry.js} +2 -2
- 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-c98d8ec2.entry.js → p-a9fcccaf.entry.js} +2 -2
- 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-4ca6beed.entry.js → p-b58b68cb.entry.js} +2 -2
- package/dist/siemens-ix/{p-4bb08459.entry.js → p-bc88ecb1.entry.js} +2 -2
- package/dist/siemens-ix/{p-04ba3c79.entry.js → p-bde45bbd.entry.js} +2 -2
- 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-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-d59b3f31.entry.js +0 -2
- 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-16d529ee.entry.js.map → p-597d346d.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-c98d8ec2.entry.js.map → p-a9fcccaf.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-4ca6beed.entry.js.map → p-b58b68cb.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-04ba3c79.entry.js.map → p-bde45bbd.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/select.js
CHANGED
|
@@ -313,7 +313,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
313
313
|
}
|
|
314
314
|
render() {
|
|
315
315
|
var _a, _b, _c;
|
|
316
|
-
return (h(Host, { key: '
|
|
316
|
+
return (h(Host, { key: 'a1ff9238e7bd384371924fc1a6c84dbf2c2b2026' }, h("div", { key: '4f022e97659a4ccd2787ba5b753b53e15ef9da6b', class: {
|
|
317
317
|
select: true,
|
|
318
318
|
disabled: this.disabled,
|
|
319
319
|
readonly: this.readonly,
|
|
@@ -321,13 +321,13 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
321
321
|
this.dropdownAnchor = ref;
|
|
322
322
|
if (!this.editable)
|
|
323
323
|
this.dropdownWrapperRef = ref;
|
|
324
|
-
} }, h("div", { key: '
|
|
324
|
+
} }, h("div", { key: '68fd990dca31dcd85ce40c7976d1e6841f6916c3', class: "input-container" }, h("div", { key: '7ca63a0aeb267e042bf0699d51316af5ad9f87c5', class: "chips" }, this.isMultipleMode
|
|
325
325
|
? (_a = this.selectedItems) === null || _a === void 0 ? void 0 : _a.map((item) => (h("ix-filter-chip", { disabled: this.disabled || this.readonly, key: item.value, onCloseClick: (e) => {
|
|
326
326
|
e.preventDefault();
|
|
327
327
|
e.stopPropagation();
|
|
328
328
|
this.itemClick(item.value);
|
|
329
329
|
} }, item.label)))
|
|
330
|
-
: '', h("div", { key: '
|
|
330
|
+
: '', h("div", { key: '0ff312e92b3235e17daac6e861a6dac456f96bfd', class: "trigger" }, h("input", { key: '0f56fd65161c8b08a937d936e674cdbde529205f', autocomplete: "off", "data-testid": "input", disabled: this.disabled, readOnly: this.readonly, type: "text", class: {
|
|
331
331
|
'allow-clear': this.allowClear && !!((_b = this.selectedLabels) === null || _b === void 0 ? void 0 : _b.length),
|
|
332
332
|
}, placeholder: this.placeholderValue(), value: this.inputValue, ref: (ref) => (this.inputRef = ref), onBlur: (e) => this.onInputBlur(e), onFocus: () => {
|
|
333
333
|
this.navigationItem = undefined;
|
|
@@ -339,16 +339,16 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
339
339
|
} })) : null, this.disabled || this.readonly ? null : (h("ix-icon-button", { "data-select-dropdown": true, class: { 'dropdown-visible': this.dropdownShow }, icon: "chevron-down-small", ghost: true, ref: (ref) => {
|
|
340
340
|
if (this.editable)
|
|
341
341
|
this.dropdownWrapperRef = ref;
|
|
342
|
-
} })))))), h("ix-dropdown", { key: '
|
|
342
|
+
} })))))), h("ix-dropdown", { key: '64f52cfed09c28955ea648b7a409a921c8601401', ref: (ref) => (this.dropdownRef = ref), show: this.dropdownShow, closeBehavior: this.isMultipleMode ? 'outside' : 'both', class: {
|
|
343
343
|
'd-none': this.disabled || this.readonly,
|
|
344
344
|
}, anchor: this.dropdownAnchor, trigger: this.dropdownWrapperRef, onShowChanged: (e) => this.dropdownVisibilityChanged(e), placement: "bottom-start", overwriteDropdownStyle: async () => {
|
|
345
345
|
return {
|
|
346
346
|
minWidth: `${this.hostElement.clientWidth}px`,
|
|
347
347
|
};
|
|
348
|
-
} }, h("div", { key: '
|
|
348
|
+
} }, h("div", { key: 'b66559fa7650a544ff8d02dd18881c7a5c83bc7a', class: {
|
|
349
349
|
'select-list-header': true,
|
|
350
350
|
hidden: this.hideListHeader || this.isDropdownEmpty,
|
|
351
|
-
}, title: this.i18nSelectListHeader }, this.i18nSelectListHeader), h("slot", { key: '
|
|
351
|
+
}, title: this.i18nSelectListHeader }, this.i18nSelectListHeader), h("slot", { key: 'c0a36530172388d4785fbfff89555435a9af94d0' }), h("div", { key: 'a7bdc5c18377a6359c0665b986429a96fb88aab2', ref: (ref) => (this.addItemRef = ref), class: "d-contents" }), this.isAddItemVisible() ? (h("ix-dropdown-item", { "data-testid": "add-item", icon: 'plus', class: {
|
|
352
352
|
'add-item': true,
|
|
353
353
|
}, label: this.inputFilterText, onItemClick: (e) => {
|
|
354
354
|
e.preventDefault();
|
package/components/spinner.js
CHANGED
|
@@ -13,7 +13,7 @@ const Spinner = /*@__PURE__*/ proxyCustomElement(class Spinner extends HTMLEleme
|
|
|
13
13
|
this.hideTrack = false;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: 'fce135db438427cf948004c96dcee4c044cd1a98', class: {
|
|
17
17
|
primary: this.variant === 'primary',
|
|
18
18
|
'xx-small': this.size === 'xx-small',
|
|
19
19
|
'x-small': this.size === 'x-small',
|
package/components/tab-item.js
CHANGED
|
@@ -31,7 +31,7 @@ const TabItem = /*@__PURE__*/ proxyCustomElement(class TabItem extends HTMLEleme
|
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '77688f6b83f53ba0de891d2ed529c7b82941930a', class: this.tabItemClasses({
|
|
35
35
|
selected: this.selected,
|
|
36
36
|
disabled: this.disabled,
|
|
37
37
|
small: this.small,
|
|
@@ -46,12 +46,12 @@ const TabItem = /*@__PURE__*/ proxyCustomElement(class TabItem extends HTMLEleme
|
|
|
46
46
|
if (clientEvent.defaultPrevented) {
|
|
47
47
|
event.stopPropagation();
|
|
48
48
|
}
|
|
49
|
-
} }, h("div", { key: '
|
|
49
|
+
} }, h("div", { key: 'd1790baee81972038f8a09c0e7a0ee3124e828a6', class: {
|
|
50
50
|
circle: this.rounded,
|
|
51
51
|
text: !this.rounded,
|
|
52
52
|
selected: this.selected,
|
|
53
53
|
disabled: this.disabled,
|
|
54
|
-
} }, h("slot", { key: '
|
|
54
|
+
} }, h("slot", { key: '7dcd5bcd496e9955b45f00b570fb935a0e9a8969' })), h("div", { key: '435deec3155b879b5f8a397124bf9a198283c2bd', class: {
|
|
55
55
|
counter: true,
|
|
56
56
|
selected: this.selected,
|
|
57
57
|
hidden: !(this.rounded && this.counter !== undefined),
|
package/components/tabs.js
CHANGED
|
@@ -220,13 +220,13 @@ const Tabs = /*@__PURE__*/ proxyCustomElement(class Tabs extends HTMLElement {
|
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
render() {
|
|
223
|
-
return (h(Host, { key: '
|
|
223
|
+
return (h(Host, { key: 'f98d2ee11257c6e5879f25404379e8be5a535d31' }, h("div", { key: 'a1230a4cac929390e9415fcfe25362c029a0e22a', class: "arrow", "data-arrow-left": true, onClick: () => this.move(this.scrollAmount, true) }, h("ix-icon", { key: 'f34a2391bd3bd96c11251df77b379958be1411bf', name: 'chevron-left-small' })), h("div", { key: '66ce38113880297fac297678a05d6abf3d01a28e', class: {
|
|
224
224
|
'tab-items': true,
|
|
225
225
|
'overflow-shadow': true,
|
|
226
226
|
'shadow-left': this.showPreviousArrow(),
|
|
227
227
|
'shadow-right': this.showNextArrow(),
|
|
228
228
|
'shadow-both': this.showNextArrow() && this.showPreviousArrow(),
|
|
229
|
-
} }, h("div", { key: '
|
|
229
|
+
} }, h("div", { key: '7f11e3d666b5a80a7faef2a0bf80b6a00e14c3e8', class: "items-content" }, h("slot", { key: '5e5d4c50d3c0fa30527f02a32dab998ad2d7aa5b' }))), h("div", { key: 'fbcfce76ec9d1fb48beb35ba7e62a7cc4cac7946', class: "arrow right", "data-arrow-right": true, onClick: () => this.move(-this.scrollAmount, true) }, h("ix-icon", { key: '7f7a80642127bff14a1c182468bec101152218ae', name: 'chevron-right-small' }))));
|
|
230
230
|
}
|
|
231
231
|
get hostElement() { return this; }
|
|
232
232
|
static get style() { return IxTabsStyle0; }
|
|
@@ -116,7 +116,7 @@ const TimePicker = /*@__PURE__*/ proxyCustomElement(class TimePicker extends HTM
|
|
|
116
116
|
},
|
|
117
117
|
];
|
|
118
118
|
timepickerInformation = timepickerInformation.filter((item) => !item.hidden);
|
|
119
|
-
return (h(Host, { key: '
|
|
119
|
+
return (h(Host, { key: 'c09337ff6d0366929f77fe9bbdd89eb43bcc71ea' }, h("ix-date-time-card", { key: '80c29872490f5968979a802b92113377ec9df678', standaloneAppearance: this.standaloneAppearance, corners: this.corners }, h("div", { key: '35981c4cde62451368ee30fc4bcc19f894939cda', class: "header", slot: "header" }, h("ix-typography", { key: 'cd88a3f06e8907419acc45cd71d9954b7365096c', variant: "default-title" }, this.textTime || 'Time')), h("div", { key: 'fd5d74523fd649fedac87ac0887fb643fd9795ce', class: "clock" }, timepickerInformation.map((descriptor, index) => (h("div", { class: "flex" }, h("div", { class: { columns: true, hidden: descriptor.hidden } }, h("ix-icon-button", { size: "16", onClick: () => (this._time = this._time.plus({
|
|
120
120
|
[descriptor.unit]: 1,
|
|
121
121
|
})), ghost: true, icon: "chevron-up", variant: "primary", class: "arrows" }), h("input", { class: "form-control", name: descriptor.unit, type: "number", placeholder: descriptor.placeholder, value: this._formattedTime
|
|
122
122
|
? this._formattedTime[descriptor.unit]
|
|
@@ -136,11 +136,11 @@ const TimePicker = /*@__PURE__*/ proxyCustomElement(class TimePicker extends HTM
|
|
|
136
136
|
})), ghost: true, icon: "chevron-down", variant: "primary", class: "arrows" })), index !== timepickerInformation.length - 1 && (h("div", { class: {
|
|
137
137
|
'column-seperator': true,
|
|
138
138
|
hidden: descriptor.hidden,
|
|
139
|
-
} }, ":"))))), h("div", { key: '
|
|
139
|
+
} }, ":"))))), h("div", { key: '819d9ce8cdfc94e7c4a1d2f7190587f052a9d246', class: {
|
|
140
140
|
columns: true,
|
|
141
141
|
'default-space': true,
|
|
142
142
|
hidden: this._timeRef === undefined,
|
|
143
|
-
} }, h("ix-icon-button", { key: '
|
|
143
|
+
} }, h("ix-icon-button", { key: '6ec3654d6a81bb2420695dd3292677395bd6adc2', size: "16", onClick: () => this.changeTimeReference(), ghost: true, icon: "chevron-up", variant: "primary", class: "arrows" }), h("div", { key: '09b1dd7076112d4dc5168a968ed0ebebaa67e69f', class: "time-reference" }, this._timeRef), h("ix-icon-button", { key: 'ff24cdad6df286cc2da51958c2b51fe43f1e4fea', size: "16", onClick: () => this.changeTimeReference(), ghost: true, icon: "chevron-down", variant: "primary", class: "arrows" }))), h("div", { key: '82602709c4107324d9498426cb30959fe81bacc4', class: { button: true, hidden: !this.standaloneAppearance } }, h("ix-button", { key: '64da9baed02906baad694bbe066bc355197d293e', onClick: () => {
|
|
144
144
|
this.timeSelect.emit(this._time.toFormat(this.format));
|
|
145
145
|
this.done.emit(this._time.toFormat(this.format));
|
|
146
146
|
} }, this.textSelectTime)))));
|
package/components/toast.js
CHANGED
|
@@ -53,11 +53,11 @@ const Toast = /*@__PURE__*/ proxyCustomElement(class Toast extends HTMLElement {
|
|
|
53
53
|
animationPlayState: this.touched ? 'paused' : 'running',
|
|
54
54
|
};
|
|
55
55
|
progressBarClass.push('toast-progress-bar--animated');
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '064ab233924479a92456900e282fe87e98ff2074', class: "animate__animated animate__fadeIn" }, h("div", { key: 'e66b0034a2d43eb475d79127eda95d7af81dc77c', class: "toast-body", onPointerLeave: () => {
|
|
57
57
|
this.touched = false;
|
|
58
58
|
}, onPointerEnter: () => {
|
|
59
59
|
this.touched = true;
|
|
60
|
-
} }, this.type || this.icon ? (h("div", { class: "toast-icon" }, this.getIcon())) : null, h("div", { key: '
|
|
60
|
+
} }, this.type || this.icon ? (h("div", { class: "toast-icon" }, this.getIcon())) : null, h("div", { key: '122302506aff7076b6e5d6df66e4409ca86fde31', class: "toast-content" }, this.toastTitle ? (h("div", { class: "toast-title" }, this.toastTitle)) : null, h("div", { key: '22f349d326b604cd7c5734ebd09280a1263423e4', class: "toast-message" }, h("slot", { key: '78e822dd9ac08ab00b2b789dd95a7fd9ef0ddf70' }))), h("div", { key: 'f67bf3768af2d77c5619cced98976d9f92a57a68', class: "toast-close" }, h("ix-icon-button", { key: '81fceaa64577ab118ff9c59efc3098bec235a7b3', icon: 'close', size: "24", ghost: true, onClick: () => this.closeToast.emit() }))), this.autoClose ? (h("div", { class: progressBarClass.join(' '), style: progressBarStyle, onAnimationEnd: () => {
|
|
61
61
|
this.close();
|
|
62
62
|
}, onTransitionEnd: () => {
|
|
63
63
|
if (this.progress === 0) {
|
package/components/tooltip.js
CHANGED
|
@@ -192,9 +192,9 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends HTMLEleme
|
|
|
192
192
|
const tooltipContentClass = {
|
|
193
193
|
'tooltip-content': true,
|
|
194
194
|
};
|
|
195
|
-
return (h(Host, { key: '
|
|
195
|
+
return (h(Host, { key: 'c297ba0961f7dc7ad8823f4f9a5022cb10ed7a77', class: {
|
|
196
196
|
visible: this.visible,
|
|
197
|
-
}, role: "tooltip" }, h("div", { key: '
|
|
197
|
+
}, role: "tooltip" }, h("div", { key: '21bf5211c142329a9475ef37fb5d2b5f5e4f5f19', class: 'tooltip-title' }, h("slot", { key: '8e4b3e91a0a161efa871a717a3d4871cb08224d2', name: "title-icon" }), h("ix-typography", { key: '7715a464de0154206a72f3a9ed97247eb5e4954c', variant: "default-title" }, this.titleContent, h("slot", { key: '16cc59a0d2a7aa11ab584be7738084b811d2320d', name: "title-content" }))), h("div", { key: '4390c36d7d326a7a0ffd8e0a7f2308c6bdacd02b', class: tooltipContentClass }, h("slot", { key: 'b21343921ee51073ad3c7e26f1ace94f46ec29e3' })), h("div", { key: '4e578ce3e101c8b479a7c334a81dafde3dc105a5', class: "arrow" })));
|
|
198
198
|
}
|
|
199
199
|
get hostElement() { return this; }
|
|
200
200
|
static get style() { return IxTooltipStyle0; }
|
package/components/tree-item.js
CHANGED
|
@@ -16,16 +16,16 @@ const TreeItem = /*@__PURE__*/ proxyCustomElement(class TreeItem extends HTMLEle
|
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
18
|
var _a, _b, _c;
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: 'c40a13c3395d6f3a785e7f17ed8887d0f54642c6', class: {
|
|
20
20
|
selected: (_a = this.context) === null || _a === void 0 ? void 0 : _a.isSelected,
|
|
21
|
-
} }, h("div", { key: '
|
|
21
|
+
} }, h("div", { key: '47264231c4f5b919b4f4480a409b4b2047c46fc0', class: "icon-toggle-container", onClick: (e) => {
|
|
22
22
|
e.preventDefault();
|
|
23
23
|
this.toggle.emit();
|
|
24
24
|
} }, this.hasChildren ? (h("ix-icon", { name: 'chevron-right', size: "16", class: {
|
|
25
25
|
['icon-toggle-down']: (_b = this.context) === null || _b === void 0 ? void 0 : _b.isExpanded,
|
|
26
|
-
}, color: `color-${((_c = this.context) === null || _c === void 0 ? void 0 : _c.isExpanded) ? 'primary' : 'std-text'}` })) : null), h("div", { key: '
|
|
26
|
+
}, color: `color-${((_c = this.context) === null || _c === void 0 ? void 0 : _c.isExpanded) ? 'primary' : 'std-text'}` })) : null), h("div", { key: '5ab2e0dc8ac4b4aa5a6b6851b70980d7e04d02ea', class: "tree-node-container", onClick: () => {
|
|
27
27
|
this.itemClick.emit();
|
|
28
|
-
} }, this.text, h("slot", { key: '
|
|
28
|
+
} }, this.text, h("slot", { key: '93f195d06fb13641e330028d460e2a077736c5be' }))));
|
|
29
29
|
}
|
|
30
30
|
static get style() { return IxTreeItemStyle0; }
|
|
31
31
|
}, [1, "ix-tree-item", {
|
package/components/typography.js
CHANGED
|
@@ -51,10 +51,10 @@ const IxTypography = /*@__PURE__*/ proxyCustomElement(class IxTypography extends
|
|
|
51
51
|
}
|
|
52
52
|
if (this.textColor) {
|
|
53
53
|
style = {
|
|
54
|
-
color: `var(--theme-color-${this.
|
|
54
|
+
color: `var(--theme-color-${this.textColor}-text)`,
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: 'e39b379997d1e278e600c69fcfcce98e80d5cb2c', class: typographyClass, style: style }, h("slot", { key: '25d5d4bdd1bc16158a7bea5ee137bac6e3ce3882' })));
|
|
58
58
|
}
|
|
59
59
|
static get style() { return IxTypographyStyle0; }
|
|
60
60
|
}, [1, "ix-typography", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"typography.js","mappings":";;AAsBO,MAAM,eAAe,GAAuC;IACjE,SAAS,EAAE,SAAS;IACpB,KAAK,EAAE,QAAQ;IACf,OAAO,EAAE,cAAc;IACvB,gBAAgB,EAAE,qBAAqB;IACvC,OAAO,EAAE,cAAc;IACvB,gBAAgB,EAAE,qBAAqB;IACvC,KAAK,EAAE,QAAQ;IACf,cAAc,EAAE,eAAe;IAC/B,EAAE,EAAE,SAAS;IACb,eAAe,EAAE,SAAS;IAC1B,eAAe,EAAE,oBAAoB;IACrC,sBAAsB,EAAE,2BAA2B;CACpD;;ACnCD,MAAM,aAAa,GAAG,2rbAA2rb,CAAC;AACltb,2BAAe,aAAa;;MCmEf,YAAY;;;;;;;;;oBA8BR,KAAK;8BAKqB,MAAM;;IAE/C,MAAM;;QACJ,IAAI,eAAe,GAAG,EAAE,CAAC;QAEzB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,eAAe,CAAC,eAAe,CAAC,MAAA,IAAI,CAAC,OAAO,mCAAI,SAAS,CAAC,CAAC,GAAG,IAAI,CAAC;SACpE;aAAM;YACL,eAAe,CAAC,cAAc,MAAA,IAAI,CAAC,MAAM,mCAAI,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC;SAC/D;QAED,IAAI,IAAI,CAAC,cAAc,KAAK,MAAM,EAAE;YAClC,eAAe,CAAC,yBAAyB,IAAI,CAAC,cAAc,EAAE,CAAC,GAAG,IAAI,CAAC;SACxE;QAED,eAAe,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;QAEtD,IAAI,KAAK,GAAG,EAAE,CAAC;QAEf,IAAI,IAAI,CAAC,KAAK,EAAE;YACd,KAAK,GAAG;gBACN,KAAK,EAAE,qBAAqB,IAAI,CAAC,KAAK,QAAQ;aAC/C,CAAC;SACH;QAED,IAAI,IAAI,CAAC,SAAS,EAAE;YAClB,KAAK,GAAG;gBACN,KAAK,EAAE,qBAAqB,IAAI,CAAC,
|
|
1
|
+
{"file":"typography.js","mappings":";;AAsBO,MAAM,eAAe,GAAuC;IACjE,SAAS,EAAE,SAAS;IACpB,KAAK,EAAE,QAAQ;IACf,OAAO,EAAE,cAAc;IACvB,gBAAgB,EAAE,qBAAqB;IACvC,OAAO,EAAE,cAAc;IACvB,gBAAgB,EAAE,qBAAqB;IACvC,KAAK,EAAE,QAAQ;IACf,cAAc,EAAE,eAAe;IAC/B,EAAE,EAAE,SAAS;IACb,eAAe,EAAE,SAAS;IAC1B,eAAe,EAAE,oBAAoB;IACrC,sBAAsB,EAAE,2BAA2B;CACpD;;ACnCD,MAAM,aAAa,GAAG,2rbAA2rb,CAAC;AACltb,2BAAe,aAAa;;MCmEf,YAAY;;;;;;;;;oBA8BR,KAAK;8BAKqB,MAAM;;IAE/C,MAAM;;QACJ,IAAI,eAAe,GAAG,EAAE,CAAC;QAEzB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,eAAe,CAAC,eAAe,CAAC,MAAA,IAAI,CAAC,OAAO,mCAAI,SAAS,CAAC,CAAC,GAAG,IAAI,CAAC;SACpE;aAAM;YACL,eAAe,CAAC,cAAc,MAAA,IAAI,CAAC,MAAM,mCAAI,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC;SAC/D;QAED,IAAI,IAAI,CAAC,cAAc,KAAK,MAAM,EAAE;YAClC,eAAe,CAAC,yBAAyB,IAAI,CAAC,cAAc,EAAE,CAAC,GAAG,IAAI,CAAC;SACxE;QAED,eAAe,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;QAEtD,IAAI,KAAK,GAAG,EAAE,CAAC;QAEf,IAAI,IAAI,CAAC,KAAK,EAAE;YACd,KAAK,GAAG;gBACN,KAAK,EAAE,qBAAqB,IAAI,CAAC,KAAK,QAAQ;aAC/C,CAAC;SACH;QAED,IAAI,IAAI,CAAC,SAAS,EAAE;YAClB,KAAK,GAAG;gBACN,KAAK,EAAE,qBAAqB,IAAI,CAAC,SAAS,QAAQ;aACnD,CAAC;SACH;QAED,QACE,EAAC,IAAI,qDAAC,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,KAAK,IACxC,8DAAa,CACR,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/typography/type-mapping.ts","src/components/typography/typography.scss?tag=ix-typography&encapsulation=shadow","src/components/typography/typography.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 */\nexport type TypographyVariants =\n | 'x-small'\n | 'small'\n | 'caption'\n | 'caption-single'\n | 'default'\n | 'default-single'\n | 'default-title'\n | 'default-title-single'\n | 'large'\n | 'large-single'\n | 'h2'\n | 'display-large';\n\nexport const VariantsMapping: Record<TypographyVariants, string> = {\n 'x-small': 'text-xs',\n small: 'text-s',\n caption: 'text-caption',\n 'caption-single': 'text-caption-single',\n default: 'text-default',\n 'default-single': 'text-default-single',\n large: 'text-l',\n 'large-single': 'text-l-single',\n h2: 'text-h2',\n 'display-large': 'text-xl',\n 'default-title': 'text-default-title',\n 'default-title-single': 'text-default-title-single',\n};\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/shadow-dom/component';\n@import 'legacy/mixins/fonts';\n@import 'components/fonts';\n@import 'mixins/fonts';\n\n:host {\n @include ix-component;\n\n display: block;\n position: relative;\n}\n\n:host(.text-xs) {\n @include text-xs;\n}\n\n:host(.text-s) {\n @include text-s;\n}\n\n:host(.text-caption) {\n @include text-caption;\n}\n\n:host(.text-caption-single) {\n @include text-caption-single;\n}\n\n:host(.text-default) {\n @include text-default;\n}\n\n:host(.text-default-single) {\n @include text-default-single;\n}\n\n:host(.text-default-title) {\n @include text-default-title;\n}\n\n:host(.text-default-title-single) {\n @include text-default-title-single;\n}\n\n:host(.text-l) {\n @include text-l;\n}\n\n:host(.text-l-single) {\n @include text-l-single;\n}\n\n:host(.text-l-title) {\n @include text-l-title;\n}\n\n:host(.text-l-title-single) {\n @include text-l-title-single;\n}\n\n:host(.text-h2) {\n @include text-h2;\n}\n\n:host(.text-xl) {\n @include text-xl;\n}\n\n$typography-formats: label, label-xs, label-sm, label-lg, body, body-xs, body-sm,\n body-lg, display, display-xs, display-sm, display-lg, display-xl, display-xxl,\n h6, h5, h4, h3, h2, h1, code, code-sm, code-lg;\n\n@each $format in $typography-formats {\n :host(.typography-#{$format}) {\n @extend .typography-#{$format};\n }\n}\n\n$typography-decoration: none, underline, line-through;\n@each $decoration in $typography-decoration {\n :host(.typography-decoration-#{$decoration}) {\n @extend .typography-decoration-#{$decoration};\n }\n}\n\n:host(.typography-weight-bold) {\n @extend .typography-weight-bold;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, h, Host, Prop } from '@stencil/core';\nimport { VariantsMapping } from './type-mapping';\n\nexport type TypographyVariants =\n | 'x-small'\n | 'small'\n | 'caption'\n | 'caption-single'\n | 'default'\n | 'default-single'\n | 'default-title'\n | 'default-title-single'\n | 'large'\n | 'large-single'\n | 'large-title'\n | 'large-title-single'\n | 'h2'\n | 'display-large';\n\nexport type TypographyColors =\n | 'contrast'\n | 'std'\n | 'soft'\n | 'weak'\n | 'inv-contrast'\n | 'inv-std'\n | 'inv-soft'\n | 'inv-weak'\n | 'alarm';\n\ntype TypographyFormatLabel = 'label' | 'label-xs' | 'label-sm' | 'label-lg';\ntype TypographyFormatBody = 'body' | 'body-xs' | 'body-sm' | 'body-lg';\ntype TypographyFormatDisplay =\n | 'display'\n | 'display-xs'\n | 'display-sm'\n | 'display-lg'\n | 'display-xl'\n | 'display-xxl';\ntype TypographyFormatHeading = 'h6' | 'h5' | 'h4' | 'h3' | 'h2' | 'h1';\ntype TypographyFormatCode = 'code' | 'code-sm' | 'code-lg';\n\nexport type TypographyFormat =\n | TypographyFormatLabel\n | TypographyFormatBody\n | TypographyFormatDisplay\n | TypographyFormatHeading\n | TypographyFormatCode;\n\nexport type TextDecoration = 'none' | 'underline' | 'line-through';\n\n/**\n * @since 2.0.0\n */\n@Component({\n tag: 'ix-typography',\n styleUrl: 'typography.scss',\n shadow: true,\n})\nexport class IxTypography {\n /**\n * Font variant based on theme variables\n *\n * @deprecated Use `format` property\n * @internal\n */\n @Prop() variant: TypographyVariants;\n\n /**\n * Text format\n */\n @Prop() format: TypographyFormat;\n\n /**\n * Text color based on theme variables\n *\n * @deprecated since 2.1.0 use property `text-color`\n */\n // eslint-disable-next-line @stencil-community/reserved-member-names\n @Prop() color: TypographyColors;\n\n /**\n * Text color based on theme variables\n */\n @Prop() textColor: TypographyColors;\n\n /**\n * Display text bold\n */\n @Prop() bold = false;\n\n /**\n * Text decoration\n */\n @Prop() textDecoration: TextDecoration = 'none';\n\n render() {\n let typographyClass = {};\n\n if (this.variant) {\n typographyClass[VariantsMapping[this.variant ?? 'default']] = true;\n } else {\n typographyClass[`typography-${this.format ?? 'body'}`] = true;\n }\n\n if (this.textDecoration !== 'none') {\n typographyClass[`typography-decoration-${this.textDecoration}`] = true;\n }\n\n typographyClass['typography-weight-bold'] = this.bold;\n\n let style = {};\n\n if (this.color) {\n style = {\n color: `var(--theme-color-${this.color}-text)`,\n };\n }\n\n if (this.textColor) {\n style = {\n color: `var(--theme-color-${this.textColor}-text)`,\n };\n }\n\n return (\n <Host class={typographyClass} style={style}>\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -96,12 +96,12 @@ const ApplicationHeader = class {
|
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
98
|
var _a;
|
|
99
|
-
return (index.h(index.Host, { key: '
|
|
99
|
+
return (index.h(index.Host, { key: '5434362f681c6d6d67b1eaf5e5ebc993e578f8e9', class: { [`breakpoint-${this.breakpoint}`]: true }, slot: "application-header" }, this.breakpoint === 'sm' && this.suppressResponsive === false && (index.h("ix-burger-menu", { onClick: () => this.onMenuClick(), expanded: this.menuExpanded })), ((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.appSwitchConfig) &&
|
|
100
100
|
this.breakpoint !== 'sm' &&
|
|
101
|
-
this.suppressResponsive === false && (index.h("ix-icon-button", { onClick: () => this.showAppSwitch(), icon: "apps", ghost: true, class: "app-switch" })), index.h("div", { key: '
|
|
101
|
+
this.suppressResponsive === false && (index.h("ix-icon-button", { onClick: () => this.showAppSwitch(), icon: "apps", ghost: true, class: "app-switch" })), index.h("div", { key: '2a40f871e8359d2ad378546773c8ec1b583d1684', class: "logo" }, index.h("slot", { key: 'd53fb161f6accdbdd92c7455e0a81faab242054d', name: "logo" })), index.h("div", { key: '1244da8ee7ddbec82df90f6204948939dc67079c', class: "name" }, this.name), index.h("div", { key: '7a1256fba0480dba4e42da20f55c268b88422a99', class: "content" }, this.breakpoint === 'sm' ? (index.h(index.Fragment, null, index.h("ix-icon-button", { class: {
|
|
102
102
|
['context-menu']: true,
|
|
103
103
|
['context-menu-visible']: this.hasSlottedElements,
|
|
104
|
-
}, "data-context-menu": true, icon: "more-menu", ghost: true }), index.h("ix-dropdown", { "data-overflow-dropdown": true, class: "dropdown", discoverAllSubmenus: true, trigger: this.resolveContextMenuButton() }, index.h("div", { class: "dropdown-content" }, index.h("slot", { onSlotchange: () => this.updateIsSlottedContent() }))))) : (index.h("slot", { onSlotchange: () => this.updateIsSlottedContent() })), index.h("slot", { key: '
|
|
104
|
+
}, "data-context-menu": true, icon: "more-menu", ghost: true }), index.h("ix-dropdown", { "data-overflow-dropdown": true, class: "dropdown", discoverAllSubmenus: true, trigger: this.resolveContextMenuButton() }, index.h("div", { class: "dropdown-content" }, index.h("slot", { onSlotchange: () => this.updateIsSlottedContent() }))))) : (index.h("slot", { onSlotchange: () => this.updateIsSlottedContent() })), index.h("slot", { key: '6732e9899c977bdd6301b75efce7687ca5a0bf4c', name: "ix-application-header-avatar" }))));
|
|
105
105
|
}
|
|
106
106
|
get hostElement() { return index.getElement(this); }
|
|
107
107
|
};
|
|
@@ -35,7 +35,7 @@ const ApplicationSidebar = class {
|
|
|
35
35
|
anime_es.anime(animation$1);
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (index.h(index.Host, { key: '
|
|
38
|
+
return (index.h(index.Host, { key: 'f91894976e33362b3d92be367a22d8be0c8a6c1f', slot: "application-sidebar", class: {
|
|
39
39
|
visible: this.visible,
|
|
40
40
|
} }, this.visible ? index.h("slot", null) : null));
|
|
41
41
|
}
|
|
@@ -45,7 +45,7 @@ const ApplicationSwitchModal = class {
|
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
47
|
var _a, _b, _c, _d;
|
|
48
|
-
return (index.h(index.Host, { key: '
|
|
48
|
+
return (index.h(index.Host, { key: 'df1550915fff21de5c0a40acdf24a096a5105d2b' }, index.h("ix-modal-header", { key: '217d8f2bb79e07c411db00b633648beeb72149f0', icon: "apps" }, ((_a = this.config) === null || _a === void 0 ? void 0 : _a.i18nAppSwitch) || 'Switch to application'), index.h("ix-modal-content", { key: '0f1001891265ff7d9cd5826ba91479cf8a487ef6', class: "content" }, index.h("div", { key: '47d718ff45970bd5bba3641f8785899df9e26e50', class: "content-apps" }, (!this.config || ((_b = this.config) === null || _b === void 0 ? void 0 : _b.apps.length) === 0) && (index.h("div", { class: "loading" }, index.h("ix-spinner", { size: "medium", variant: "primary" }), index.h("span", null, ((_c = this.config) === null || _c === void 0 ? void 0 : _c.i18nLoadingApps) ||
|
|
49
49
|
'Loading available applications...'))), (_d = this.config) === null || _d === void 0 ? void 0 :
|
|
50
50
|
_d.apps.map((appEntry) => {
|
|
51
51
|
var _a;
|
|
@@ -92,12 +92,12 @@ const Application = class {
|
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
94
|
render() {
|
|
95
|
-
return (index.h(index.Host, { key: '
|
|
95
|
+
return (index.h(index.Host, { key: 'c617c1c5634cc4e151ad45bfec3be602619df7bb', "data-role": "", class: {
|
|
96
96
|
[`breakpoint-${this.breakpoint}`]: true,
|
|
97
|
-
} }, index.h("slot", { key: '
|
|
97
|
+
} }, index.h("slot", { key: '7dd298629e5d825957cc5caf15be3726e0487374', name: "application-header" }), index.h("div", { key: '41da1f0707c6f6723e33a50f4c45cda28bed9e77', class: "application" }, index.h("slot", { key: '7d2b838c6193af2fc357befb1c15cd6870d85841', name: "menu" }), index.h("aside", { key: '73ce757bc32176170b51cf95013b13f5594c0eb2', class: {
|
|
98
98
|
'application-sidebar': true,
|
|
99
99
|
slotted: this.applicationSidebarSlotted,
|
|
100
|
-
}, onClick: () => this.onContentClick() }, index.h("slot", { key: '
|
|
100
|
+
}, onClick: () => this.onContentClick() }, index.h("slot", { key: '8361978e6d5cdccae60544290253175e27e00b54', name: "application-sidebar", onSlotchange: () => (this.applicationSidebarSlotted = shadowDom.hasSlottedElements(this.applicationSidebarSlot)) })), index.h("main", { key: 'cbce05cd33d05f8f6a4e7cf7e7f8582e560da0d6', class: "content", onClick: () => this.onContentClick() }, index.h("slot", { key: 'd3a7f19add2a6cf2f976c9be1b8688fa5e997e48' })))));
|
|
101
101
|
}
|
|
102
102
|
get hostElement() { return index.getElement(this); }
|
|
103
103
|
static get watchers() { return {
|
|
@@ -7,7 +7,7 @@ const baseButton = require('./base-button-2d5bec30.js');
|
|
|
7
7
|
const shadowDom = require('./shadow-dom-73f9d553.js');
|
|
8
8
|
const makeRef = require('./make-ref-c25629b7.js');
|
|
9
9
|
|
|
10
|
-
const avatarCss = ":host{display:flex;position:relative;width:-moz-fit-content;width:fit-content}:host .avatar{display:flex;align-items:center}:host .avatar>.avatar-image{height:2rem;width:2rem;min-height:2rem;min-width:2rem;border-radius:100px}:host .avatar>.avatar-initials{display:flex;align-items:center;justify-content:center;height:2rem;width:2rem;min-height:2rem;min-width:2rem;border-radius:100px;background-color:var(--theme-
|
|
10
|
+
const avatarCss = ":host{display:flex;position:relative;width:-moz-fit-content;width:fit-content}:host .avatar{display:flex;align-items:center}:host .avatar>.avatar-image{height:2rem;width:2rem;min-height:2rem;min-width:2rem;border-radius:100px}:host .avatar>.avatar-initials{display:flex;align-items:center;justify-content:center;height:2rem;width:2rem;min-height:2rem;min-width:2rem;border-radius:100px;background-color:var(--theme-avatar--background);color:var(--theme-avatar--color)}:host .avatar #avatar-path-background{fill:var(--theme-avatar--background)}:host .avatar #avatar-path-person{fill:var(--theme-avatar--color)}:host .user-info{display:flex;flex-direction:row;position:relative;height:2.5rem;padding:1rem;width:12.75rem;min-width:12.75rem;max-width:12.75rem;gap:1rem}:host .user-info .avatar{width:2rem;pointer-events:none}:host .user-info .user{display:flex;position:relative;flex-direction:column;justify-content:center;max-width:10rem;width:100%;overflow:hidden}:host .user-info .username{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .user-info .extra{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host(.avatar-button) button{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;overflow:hidden;align-items:center;justify-content:center;width:100%;height:100%;padding:0 0.5rem;padding:0px;border-radius:100px !important}:host(.avatar-button) .btn-invisible-primary{border-radius:var(--theme-btn--border-radius)}:host(.avatar-button) .btn-invisible-primary,:host(.avatar-button) .btn-invisible-primary.focus,:host(.avatar-button) .btn-invisible-primary:focus-visible{background-color:var(--theme-btn-invisible-primary--background);color:var(--theme-btn-invisible-primary--color);--ix-button-color:var(--theme-btn-invisible-primary--color);border-color:transparent}:host(.avatar-button) .btn-invisible-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host(.avatar-button) .btn-invisible-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host(.avatar-button) .btn-invisible-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host(.avatar-button) .btn-invisible-primary.selected:not(.disabled):not(:disabled):hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host(.avatar-button) .btn-invisible-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host(.avatar-button) .btn-invisible-primary.selected:not(.disabled):not(:disabled):active,:host(.avatar-button) .btn-invisible-primary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host(.avatar-button) .btn-invisible-primary:not(.disabled):not(:disabled){cursor:pointer}:host(.avatar-button) .btn-invisible-primary:not(.disabled):not(:disabled):hover{background-color:var(--theme-btn-invisible-primary--background--hover);color:var(--theme-btn-invisible-primary--color--hover)}:host(.avatar-button) .btn-invisible-primary:not(.disabled):not(:disabled){cursor:pointer}:host(.avatar-button) .btn-invisible-primary:not(.disabled):not(:disabled):active,:host(.avatar-button) .btn-invisible-primary:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-invisible-primary--background--active);color:var(--theme-btn-invisible-primary--color--active)}:host(.avatar-button) li{transform:scale(0.8)}";
|
|
11
11
|
const IxAvatarStyle0 = avatarCss;
|
|
12
12
|
|
|
13
13
|
function DefaultAvatar(props) {
|
|
@@ -71,7 +71,7 @@ const MenuAvatarItem = class {
|
|
|
71
71
|
return this.dropdownItemRef.waitForCurrent();
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
|
-
return (index.h("ix-dropdown-item", { key: '
|
|
74
|
+
return (index.h("ix-dropdown-item", { key: '9670762c1c6ac88327938f82d59042fe0b8da824', ref: this.dropdownItemRef, icon: this.icon, label: this.label, onClick: (e) => this.itemClick.emit(e) }));
|
|
75
75
|
}
|
|
76
76
|
get hostElement() { return index.getElement(this); }
|
|
77
77
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"ix-avatar.ix-menu-avatar-item.entry.cjs.js","mappings":"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","names":["h","Fragment","closestElement","hasSlottedElements","readTask","Host","BaseButton","makeRef"],"sources":["src/components/avatar/avatar.scss?tag=ix-avatar&encapsulation=shadow","src/components/avatar/avatar.tsx","src/components/menu-avatar-item/menu-avatar-item.scss?tag=ix-menu-avatar-item&encapsulation=shadow","src/components/menu-avatar-item/menu-avatar-item.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/text-truncation';\n@import 'mixins/hover';\n@import './../button/button-mixin';\n\n:host {\n display: flex;\n position: relative;\n width: fit-content;\n\n .avatar {\n display: flex;\n align-items: center;\n\n > .avatar-image {\n height: 2rem;\n width: 2rem;\n min-height: 2rem;\n min-width: 2rem;\n border-radius: 100px;\n }\n\n > .avatar-initials {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 2rem;\n width: 2rem;\n min-height: 2rem;\n min-width: 2rem;\n border-radius: 100px;\n background-color: var(--theme-color-component-3);\n color: var(--theme-color-std-text);\n }\n\n #avatar-path-background {\n fill: var(--theme-avatar--background);\n }\n\n #avatar-path-person {\n fill: var(--theme-color-4);\n }\n }\n}\n\n:host {\n .user-info {\n display: flex;\n flex-direction: row;\n position: relative;\n height: 2.5rem;\n padding: 1rem;\n width: 12.75rem;\n min-width: 12.75rem;\n max-width: 12.75rem;\n\n gap: 1rem;\n\n .avatar {\n width: 2rem;\n pointer-events: none;\n }\n\n .user {\n display: flex;\n position: relative;\n flex-direction: column;\n justify-content: center;\n max-width: 10rem;\n width: 100%;\n overflow: hidden;\n }\n\n .username {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .extra {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n }\n}\n\n:host(.avatar-button) {\n button {\n @include btn-base;\n padding: 0px;\n\n border-radius: 100px !important;\n }\n\n @include btn-base-variant('invisible-primary', false);\n\n li {\n transform: scale(0.8);\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 Fragment,\n h,\n Host,\n Prop,\n readTask,\n State,\n} from '@stencil/core';\nimport { BaseButton } from '../button/base-button';\nimport { closestElement, hasSlottedElements } from '../utils/shadow-dom';\n\nfunction DefaultAvatar(props: { initials?: string }) {\n const { initials } = props;\n\n if (initials) {\n return <div class={'avatar-initials'}>{initials}</div>;\n }\n\n return (\n <svg\n class={'avatar-image'}\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"32\"\n height=\"32\"\n viewBox=\"0 0 32 32\"\n >\n <g fill=\"none\" fill-rule=\"evenodd\">\n <path\n id=\"avatar-path-background\"\n d=\"M16 0C7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163\n 16-16c0-4.243-1.686-8.313-4.686-11.314C24.314 1.686 20.244 0 16 0z\"\n />\n <path\n id=\"avatar-path-person\"\n d=\"M17.897 17.91c3.8-.018 7.358 1.875 9.485 5.046-2.417 3.999-6.734 6.434-11.382\n 6.42-4.648.014-8.965-2.421-11.382-6.42 2.127-3.171 5.685-5.064\n 9.485-5.045h3.794zM15.821 2.129c3.682 0 6.667 2.984 6.667 6.666 0 3.682-2.985\n 6.667-6.667 6.667s-6.667-2.985-6.667-6.667 2.985-6.666 6.667-6.666z\"\n />\n </g>\n </svg>\n );\n}\n\nfunction AvatarImage(props: { image: string; initials: string }) {\n return (\n <li class=\"avatar\">\n {props.image ? (\n <img src={props.image} class=\"avatar-image\"></img>\n ) : (\n <DefaultAvatar initials={props.initials} />\n )}\n </li>\n );\n}\n\nfunction UserInfo(props: {\n image: string;\n initials: string;\n userName: string;\n extra: string;\n}) {\n return (\n <Fragment>\n <div class=\"user-info\" onClick={(event) => event.preventDefault()}>\n <AvatarImage image={props.image} initials={props.initials} />\n <div class=\"user\">\n <div class=\"username\">{props.userName}</div>\n {props.extra && (\n <ix-typography class=\"extra\" color={'soft'}>\n {props.extra}\n </ix-typography>\n )}\n </div>\n </div>\n </Fragment>\n );\n}\n\n/**\n * @since 2.0.0\n */\n@Component({\n tag: 'ix-avatar',\n styleUrl: 'avatar.scss',\n shadow: true,\n})\nexport class Avatar {\n @Element() hostElement: HTMLIxAvatarElement;\n\n /**\n * Display an avatar image\n *\n */\n @Prop() image: string;\n\n /**\n * Display the initials of the user. Will be overwritten by image\n *\n */\n @Prop() initials: string;\n\n /**\n * If set an info card displaying the username will be placed inside the dropdown.\n * Note: Only working if avatar is part of the ix-application-header\n *\n * @since 2.1.0\n */\n @Prop() username: string;\n\n /**\n * Optional description text that will be displayed underneath the username.\n * Note: Only working if avatar is part of the ix-application-header\n *\n * @since 2.1.0\n */\n @Prop() extra: string;\n\n @State() isClosestApplicationHeader = false;\n @State() hasSlottedElements = false;\n\n private slotElement: HTMLSlotElement;\n\n componentWillLoad() {\n const closest = closestElement('ix-application-header', this.hostElement);\n this.isClosestApplicationHeader = closest !== null;\n }\n\n private slottedChanged() {\n this.hasSlottedElements = hasSlottedElements(this.slotElement);\n }\n\n private resolveAvatarTrigger() {\n return new Promise<HTMLElement>((resolve) => {\n readTask(() =>\n resolve(this.hostElement.shadowRoot.querySelector('button'))\n );\n });\n }\n\n render() {\n if (this.isClosestApplicationHeader) {\n return (\n <Host slot=\"ix-application-header-avatar\" class={'avatar-button'}>\n <BaseButton\n disabled={false}\n ghost={true}\n iconOval={false}\n icon={undefined}\n iconOnly={false}\n loading={false}\n outline={false}\n selected={false}\n type=\"button\"\n variant=\"primary\"\n >\n <AvatarImage image={this.image} initials={this.initials} />\n </BaseButton>\n <ix-dropdown\n trigger={this.resolveAvatarTrigger()}\n class=\"avatar-dropdown\"\n >\n {this.username && (\n <Fragment>\n <UserInfo\n extra={this.extra}\n image={this.image}\n initials={this.initials}\n userName={this.username}\n />\n {this.hasSlottedElements && <ix-divider></ix-divider>}\n </Fragment>\n )}\n <slot\n onSlotchange={() => this.slottedChanged()}\n ref={(ref: HTMLSlotElement) => (this.slotElement = ref)}\n ></slot>\n </ix-dropdown>\n </Host>\n );\n }\n\n return (\n <Host>\n <AvatarImage image={this.image} initials={this.initials} />\n </Host>\n );\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: block;\n color: var(--theme-color-std-text);\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Method,\n Prop,\n} from '@stencil/core';\nimport { DropdownItemWrapper } from '../dropdown/dropdown-controller';\nimport { makeRef } from '../utils/make-ref';\n\n@Component({\n tag: 'ix-menu-avatar-item',\n styleUrl: 'menu-avatar-item.scss',\n shadow: true,\n})\nexport class MenuAvatarItem implements DropdownItemWrapper {\n /**\n * Avatar dropdown icon\n */\n @Prop() icon: string;\n\n /**\n * Avatar dropdown label\n */\n @Prop() label: string;\n\n /**\n * Avatar dropdown item clicked\n */\n @Event() itemClick: EventEmitter<MouseEvent>;\n\n @Element() hostElement: HTMLIxMenuAvatarItemElement;\n\n private dropdownItemRef = makeRef<HTMLIxDropdownItemElement>();\n\n /** @internal */\n @Method()\n async getDropdownItemElement() {\n return this.dropdownItemRef.waitForCurrent();\n }\n\n render() {\n return (\n <ix-dropdown-item\n ref={this.dropdownItemRef}\n icon={this.icon}\n label={this.label}\n onClick={(e) => this.itemClick.emit(e)}\n ></ix-dropdown-item>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"ix-avatar.ix-menu-avatar-item.entry.cjs.js","mappings":"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","names":["h","Fragment","closestElement","hasSlottedElements","readTask","Host","BaseButton","makeRef"],"sources":["src/components/avatar/avatar.scss?tag=ix-avatar&encapsulation=shadow","src/components/avatar/avatar.tsx","src/components/menu-avatar-item/menu-avatar-item.scss?tag=ix-menu-avatar-item&encapsulation=shadow","src/components/menu-avatar-item/menu-avatar-item.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/text-truncation';\n@import 'mixins/hover';\n@import './../button/button-mixin';\n\n:host {\n display: flex;\n position: relative;\n width: fit-content;\n\n .avatar {\n display: flex;\n align-items: center;\n\n > .avatar-image {\n height: 2rem;\n width: 2rem;\n min-height: 2rem;\n min-width: 2rem;\n border-radius: 100px;\n }\n\n > .avatar-initials {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 2rem;\n width: 2rem;\n min-height: 2rem;\n min-width: 2rem;\n border-radius: 100px;\n background-color: var(--theme-avatar--background);\n color: var(--theme-avatar--color);\n }\n\n #avatar-path-background {\n fill: var(--theme-avatar--background);\n }\n\n #avatar-path-person {\n fill:var(--theme-avatar--color);\n }\n }\n}\n\n:host {\n .user-info {\n display: flex;\n flex-direction: row;\n position: relative;\n height: 2.5rem;\n padding: 1rem;\n width: 12.75rem;\n min-width: 12.75rem;\n max-width: 12.75rem;\n\n gap: 1rem;\n\n .avatar {\n width: 2rem;\n pointer-events: none;\n }\n\n .user {\n display: flex;\n position: relative;\n flex-direction: column;\n justify-content: center;\n max-width: 10rem;\n width: 100%;\n overflow: hidden;\n }\n\n .username {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .extra {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n }\n}\n\n:host(.avatar-button) {\n button {\n @include btn-base;\n padding: 0px;\n\n border-radius: 100px !important;\n }\n\n @include btn-base-variant('invisible-primary', false);\n\n li {\n transform: scale(0.8);\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 Fragment,\n h,\n Host,\n Prop,\n readTask,\n State,\n} from '@stencil/core';\nimport { BaseButton } from '../button/base-button';\nimport { closestElement, hasSlottedElements } from '../utils/shadow-dom';\n\nfunction DefaultAvatar(props: { initials?: string }) {\n const { initials } = props;\n\n if (initials) {\n return <div class={'avatar-initials'}>{initials}</div>;\n }\n\n return (\n <svg\n class={'avatar-image'}\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"32\"\n height=\"32\"\n viewBox=\"0 0 32 32\"\n >\n <g fill=\"none\" fill-rule=\"evenodd\">\n <path\n id=\"avatar-path-background\"\n d=\"M16 0C7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163\n 16-16c0-4.243-1.686-8.313-4.686-11.314C24.314 1.686 20.244 0 16 0z\"\n />\n <path\n id=\"avatar-path-person\"\n d=\"M17.897 17.91c3.8-.018 7.358 1.875 9.485 5.046-2.417 3.999-6.734 6.434-11.382\n 6.42-4.648.014-8.965-2.421-11.382-6.42 2.127-3.171 5.685-5.064\n 9.485-5.045h3.794zM15.821 2.129c3.682 0 6.667 2.984 6.667 6.666 0 3.682-2.985\n 6.667-6.667 6.667s-6.667-2.985-6.667-6.667 2.985-6.666 6.667-6.666z\"\n />\n </g>\n </svg>\n );\n}\n\nfunction AvatarImage(props: { image: string; initials: string }) {\n return (\n <li class=\"avatar\">\n {props.image ? (\n <img src={props.image} class=\"avatar-image\"></img>\n ) : (\n <DefaultAvatar initials={props.initials} />\n )}\n </li>\n );\n}\n\nfunction UserInfo(props: {\n image: string;\n initials: string;\n userName: string;\n extra: string;\n}) {\n return (\n <Fragment>\n <div class=\"user-info\" onClick={(event) => event.preventDefault()}>\n <AvatarImage image={props.image} initials={props.initials} />\n <div class=\"user\">\n <div class=\"username\">{props.userName}</div>\n {props.extra && (\n <ix-typography class=\"extra\" color={'soft'}>\n {props.extra}\n </ix-typography>\n )}\n </div>\n </div>\n </Fragment>\n );\n}\n\n/**\n * @since 2.0.0\n */\n@Component({\n tag: 'ix-avatar',\n styleUrl: 'avatar.scss',\n shadow: true,\n})\nexport class Avatar {\n @Element() hostElement: HTMLIxAvatarElement;\n\n /**\n * Display an avatar image\n *\n */\n @Prop() image: string;\n\n /**\n * Display the initials of the user. Will be overwritten by image\n *\n */\n @Prop() initials: string;\n\n /**\n * If set an info card displaying the username will be placed inside the dropdown.\n * Note: Only working if avatar is part of the ix-application-header\n *\n * @since 2.1.0\n */\n @Prop() username: string;\n\n /**\n * Optional description text that will be displayed underneath the username.\n * Note: Only working if avatar is part of the ix-application-header\n *\n * @since 2.1.0\n */\n @Prop() extra: string;\n\n @State() isClosestApplicationHeader = false;\n @State() hasSlottedElements = false;\n\n private slotElement: HTMLSlotElement;\n\n componentWillLoad() {\n const closest = closestElement('ix-application-header', this.hostElement);\n this.isClosestApplicationHeader = closest !== null;\n }\n\n private slottedChanged() {\n this.hasSlottedElements = hasSlottedElements(this.slotElement);\n }\n\n private resolveAvatarTrigger() {\n return new Promise<HTMLElement>((resolve) => {\n readTask(() =>\n resolve(this.hostElement.shadowRoot.querySelector('button'))\n );\n });\n }\n\n render() {\n if (this.isClosestApplicationHeader) {\n return (\n <Host slot=\"ix-application-header-avatar\" class={'avatar-button'}>\n <BaseButton\n disabled={false}\n ghost={true}\n iconOval={false}\n icon={undefined}\n iconOnly={false}\n loading={false}\n outline={false}\n selected={false}\n type=\"button\"\n variant=\"primary\"\n >\n <AvatarImage image={this.image} initials={this.initials} />\n </BaseButton>\n <ix-dropdown\n trigger={this.resolveAvatarTrigger()}\n class=\"avatar-dropdown\"\n >\n {this.username && (\n <Fragment>\n <UserInfo\n extra={this.extra}\n image={this.image}\n initials={this.initials}\n userName={this.username}\n />\n {this.hasSlottedElements && <ix-divider></ix-divider>}\n </Fragment>\n )}\n <slot\n onSlotchange={() => this.slottedChanged()}\n ref={(ref: HTMLSlotElement) => (this.slotElement = ref)}\n ></slot>\n </ix-dropdown>\n </Host>\n );\n }\n\n return (\n <Host>\n <AvatarImage image={this.image} initials={this.initials} />\n </Host>\n );\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: block;\n color: var(--theme-color-std-text);\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Method,\n Prop,\n} from '@stencil/core';\nimport { DropdownItemWrapper } from '../dropdown/dropdown-controller';\nimport { makeRef } from '../utils/make-ref';\n\n@Component({\n tag: 'ix-menu-avatar-item',\n styleUrl: 'menu-avatar-item.scss',\n shadow: true,\n})\nexport class MenuAvatarItem implements DropdownItemWrapper {\n /**\n * Avatar dropdown icon\n */\n @Prop() icon: string;\n\n /**\n * Avatar dropdown label\n */\n @Prop() label: string;\n\n /**\n * Avatar dropdown item clicked\n */\n @Event() itemClick: EventEmitter<MouseEvent>;\n\n @Element() hostElement: HTMLIxMenuAvatarItemElement;\n\n private dropdownItemRef = makeRef<HTMLIxDropdownItemElement>();\n\n /** @internal */\n @Method()\n async getDropdownItemElement() {\n return this.dropdownItemRef.waitForCurrent();\n }\n\n render() {\n return (\n <ix-dropdown-item\n ref={this.dropdownItemRef}\n icon={this.icon}\n label={this.label}\n onClick={(e) => this.itemClick.emit(e)}\n ></ix-dropdown-item>\n );\n }\n}\n"],"version":3}
|
|
@@ -74,10 +74,10 @@ const BasicNavigation = class {
|
|
|
74
74
|
(_a = this.modeDisposable) === null || _a === void 0 ? void 0 : _a.dispose();
|
|
75
75
|
}
|
|
76
76
|
render() {
|
|
77
|
-
return (index.h(index.Host, { key: '
|
|
77
|
+
return (index.h(index.Host, { key: '35083d5a514a69bc03be9de1a1c2641d9ed187ad', "data-role": "", class: {
|
|
78
78
|
'hide-header': this.hideHeader,
|
|
79
79
|
[`breakpoint-${this.breakpoint}`]: true,
|
|
80
|
-
} }, !this.hideHeader ? (index.h("ix-application-header", { name: this.applicationName }, index.h("slot", { name: "logo", slot: "logo" }))) : null, index.h("div", { key: '
|
|
80
|
+
} }, !this.hideHeader ? (index.h("ix-application-header", { name: this.applicationName }, index.h("slot", { name: "logo", slot: "logo" }))) : null, index.h("div", { key: 'e9ff6a0ea8655afccc66259da206632e035b52a2', class: "navigation-content" }, index.h("slot", { key: '0809719c5650e73c7d801dbd588dacfe4e24e8cb', name: "menu" }), index.h("div", { key: '3a56100cd7300c1b7b6e8076b7f5dd5f2c5ae3f4', class: "content", onClick: () => this.onContentClick() }, index.h("slot", { key: '8b14107e0aeee94534cfdf6cd1cf971f1dadb814' })))));
|
|
81
81
|
}
|
|
82
82
|
get hostElement() { return index.getElement(this); }
|
|
83
83
|
static get watchers() { return {
|
|
@@ -72,7 +72,7 @@ const Breadcrumb = class {
|
|
|
72
72
|
render() {
|
|
73
73
|
var _a, _b, _c, _d;
|
|
74
74
|
const a11y$1 = a11y.a11yHostAttributes(this.hostElement);
|
|
75
|
-
return (index.h(index.Host, { key: '
|
|
75
|
+
return (index.h(index.Host, { key: 'd4a7d70b996b0e613a05a53896aedcaf786cb05b' }, index.h("ix-dropdown", { key: '545dd5b645297725ef8b58c2619ebff9cdc0b0c1', id: this.previousDropdownId, "aria-label": this.ariaLabelPreviousButton, trigger: ((_a = this.items) === null || _a === void 0 ? void 0 : _a.length) > this.visibleItemCount
|
|
76
76
|
? this.previousButtonRef
|
|
77
77
|
: null, onShowChanged: ({ detail }) => {
|
|
78
78
|
this.isPreviousDropdownExpanded = detail;
|
|
@@ -89,7 +89,7 @@ const Breadcrumb = class {
|
|
|
89
89
|
return (index.h("ix-dropdown-item", { label: label, onClick: () => {
|
|
90
90
|
this.onItemClick(label);
|
|
91
91
|
}, onItemClick: (event) => event.stopPropagation() }));
|
|
92
|
-
})), ((_b = this.items) === null || _b === void 0 ? void 0 : _b.length) > this.visibleItemCount ? (index.h("ix-breadcrumb-item", { id: this.previousButtonId, ref: (ref) => (this.previousButtonRef = ref), label: "...", tabIndex: 1, onItemClick: (event) => event.stopPropagation(), "aria-describedby": this.previousDropdownId, "aria-controls": this.previousDropdownId, "aria-expanded": a11y.a11yBoolean(this.isPreviousDropdownExpanded), class: 'previous-button' })) : null, index.h("nav", { key: '
|
|
92
|
+
})), ((_b = this.items) === null || _b === void 0 ? void 0 : _b.length) > this.visibleItemCount ? (index.h("ix-breadcrumb-item", { id: this.previousButtonId, ref: (ref) => (this.previousButtonRef = ref), label: "...", tabIndex: 1, onItemClick: (event) => event.stopPropagation(), "aria-describedby": this.previousDropdownId, "aria-controls": this.previousDropdownId, "aria-expanded": a11y.a11yBoolean(this.isPreviousDropdownExpanded), class: 'previous-button' })) : null, index.h("nav", { key: 'e3e3162f385bd64ddde0671c3bb6fe084ca32714', class: "crumb-items", "aria-label": (_c = a11y$1['aria-label']) !== null && _c !== void 0 ? _c : 'breadcrumbs' }, index.h("ol", { key: 'ba7a37c3a9124efa24ea6ac3ddfe5a146d6cc5a1' }, index.h("slot", { key: 'b4b30cf5e41c4583ea6fbbdb372f79d167f859c9' }))), index.h("ix-dropdown", { key: 'aa20745609c9110ebed70439c26bf214f3386710', trigger: this.nextButtonRef }, (_d = this.nextItems) === null || _d === void 0 ? void 0 : _d.map((item) => (index.h("ix-dropdown-item", { label: item, onClick: (e) => {
|
|
93
93
|
this.nextClick.emit({
|
|
94
94
|
event: e,
|
|
95
95
|
item,
|
|
@@ -17,7 +17,7 @@ const BurgerMenu = class {
|
|
|
17
17
|
this.pinned = false;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (index.h(index.Host, { key: '
|
|
20
|
+
return (index.h(index.Host, { key: 'abeece1a04e139ac724db7f84642d98e04184997', class: {
|
|
21
21
|
expanded: this.expanded,
|
|
22
22
|
} }, this.pinned ? (index.h("ix-icon-button", { icon: `double-chevron-${this.expanded ? 'left' : 'right'}`, ghost: true })) : (index.h("button", { class: Object.assign(Object.assign({}, baseButton.getButtonClasses('secondary', false, true, true, false, false, false)), { 'burger-menu-button': true }), type: "button", "aria-label": this.ixAriaLabel ? this.ixAriaLabel : null, "aria-pressed": a11y.a11yBoolean(this.expanded) }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24" }, index.h("rect", { class: "line line-1", x: "2", y: "5", width: "20", height: "2" }), index.h("rect", { class: "line line-2", x: "2", y: "11", width: "13", height: "2" }), index.h("rect", { class: "line line-3", x: "2", y: "17", width: "20", height: "2" }))))));
|
|
23
23
|
}
|
|
@@ -73,7 +73,7 @@ const CardHeader = class {
|
|
|
73
73
|
index.registerInstance(this, hostRef);
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
|
-
return (index.h(index.Host, { key: '
|
|
76
|
+
return (index.h(index.Host, { key: 'becda7afe606335391887cbf616a679a79ca23f8' }, index.h("slot", { key: '81d4200983e9288ae910d6e9bbf4ec8f107ed4b9' }), index.h("div", { key: 'e5894f17b9fdc84e70631bd03751d613f8e9ecf0', class: "title-actions" }, index.h("slot", { key: '30b969a1a99f9b411f6bfcee4ea5fcfc4c1f73b7', name: "title-actions" }))));
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
79
|
CardHeader.style = IxCardTitleStyle0;
|
|
@@ -141,16 +141,16 @@ const CardList = class {
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
render() {
|
|
144
|
-
return (index.h(index.Host, { key: '
|
|
144
|
+
return (index.h(index.Host, { key: 'f64f7bbef5fef7491fd79ff4a8925d30d69fc452' }, index.h(CardListTitle, { key: '7e0d6992d039649ed38115d0434f1192231c6ee5', isCollapsed: this.collapse, label: this.label, showAllLabel: this.i18nShowAll, showAllCounter: this.showAllCount === undefined
|
|
145
145
|
? this.numberOfAllChildElements
|
|
146
|
-
: this.showAllCount, onClick: () => this.onCardListVisibilityToggle(), onShowAllClick: (e) => this.onShowAllClick(e) }), index.h("div", { key: '
|
|
146
|
+
: this.showAllCount, onClick: () => this.onCardListVisibilityToggle(), onShowAllClick: (e) => this.onShowAllClick(e) }), index.h("div", { key: '3e586bcc0ce83077ca1f63a999d0c34580eb66c9', class: {
|
|
147
147
|
CardList__Overflow: true,
|
|
148
|
-
}, style: this.computeMaskLayer() }, index.h("div", { key: '
|
|
148
|
+
}, style: this.computeMaskLayer() }, index.h("div", { key: '2575c1d6679112d96e48e8c120b2d62c24cc8629', class: {
|
|
149
149
|
CardList__Content: true,
|
|
150
150
|
CardList__Content__Collapsed: this.collapse,
|
|
151
151
|
CardList__Style__Flexbox__Scroll: this.listStyle === 'stack',
|
|
152
152
|
CardList__Style__Infinite__Scroll: this.listStyle === 'scroll',
|
|
153
|
-
}, onScroll: () => this.onCardListScroll() }, index.h("slot", { key: '
|
|
153
|
+
}, onScroll: () => this.onCardListScroll() }, index.h("slot", { key: '55f3065336c58ee56dbe24e959f81406173a6589', onSlotchange: () => this.changeVisibilityOfSlotChildren() }), this.isShowMoreCardVisible() ? (index.h("ix-card", { class: {
|
|
154
154
|
Show__All__Card: true,
|
|
155
155
|
}, onClick: (event) => this.showMoreCardClick.emit({
|
|
156
156
|
nativeEvent: event,
|
|
@@ -31,7 +31,7 @@ const CardContent = class {
|
|
|
31
31
|
index.registerInstance(this, hostRef);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (index.h(index.Host, { key: '
|
|
34
|
+
return (index.h(index.Host, { key: '7351d9d0c2ac7e3bb3ff04f7327876f3c118eede' }, index.h("slot", { key: 'ae6747bb0d3204fcb78bb26d763a04a090424fc5' })));
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
CardContent.style = IxCardContentStyle0;
|
|
@@ -379,19 +379,19 @@ const CategoryFilter = class {
|
|
|
379
379
|
}
|
|
380
380
|
render() {
|
|
381
381
|
var _a;
|
|
382
|
-
return (index.h(index.Host, { key: '
|
|
382
|
+
return (index.h(index.Host, { key: 'bb1895ca71c8872520aa91537892b08bc44e8799' }, index.h("form", { key: '724c3f8b7344ff2a8d6dbc978328c1c40e9f4c86', ref: (el) => (this.formElement = el) }, index.h("div", { key: 'ce61f09afc88a407e8af9ab5de8d70df614c99c7', "read-only": this.readonly, class: {
|
|
383
383
|
'input-container': true,
|
|
384
384
|
disabled: this.disabled,
|
|
385
385
|
focus: this.hasFocus,
|
|
386
386
|
readonly: this.readonly,
|
|
387
387
|
'no-icon': this.hideIcon,
|
|
388
|
-
} }, index.h("ix-icon", { key: '
|
|
388
|
+
} }, index.h("ix-icon", { key: 'c051a2ba705082c534c441997138d0a7681d9483', color: this.getIconColor(), class: { 'd-none': this.hideIcon }, name: this.icon, size: "16" }), index.h("div", { key: '11adfdb0d008ff35dbe1022bc8cdac5b04024cdf', class: "token-container" }, index.h("ul", { key: 'c9a892b1ac2757c9117eaf957548624184af0f83', class: "list-unstyled" }, this.filterTokens.map((value, index$1) => (index.h("li", { key: value.toString(), class: {
|
|
389
389
|
animate__animated: true,
|
|
390
390
|
animate__fadein: true,
|
|
391
391
|
} }, index.h("ix-filter-chip", { disabled: this.disabled, readonly: this.readonly, onClick: (e) => e.stopPropagation(), onCloseClick: () => this.removeToken(index$1) }, this.getFilterChipLabel(value))))), this.categories === undefined ? ('') : (index.h("li", { class: {
|
|
392
392
|
'category-preview': true,
|
|
393
393
|
'd-none': this.category === undefined,
|
|
394
|
-
} }, (_a = this.categories[this.category]) === null || _a === void 0 ? void 0 : _a.label)), index.h("input", { key: '
|
|
394
|
+
} }, (_a = this.categories[this.category]) === null || _a === void 0 ? void 0 : _a.label)), index.h("input", { key: '9b8af2d470dbd7c9fe6d7d34717c7678317bed4b', class: {
|
|
395
395
|
'text-input': true,
|
|
396
396
|
'hide-placeholder': this.readonly ||
|
|
397
397
|
this.disabled ||
|
|
@@ -39,11 +39,11 @@ const Chip = class {
|
|
|
39
39
|
[this.outline ? 'borderColor' : 'backgroundColor']: this.background,
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
return (index.h(index.Host, { key: '
|
|
42
|
+
return (index.h(index.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
|
-
: {} }, index.h("div", { key: '
|
|
46
|
+
: {} }, index.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 = class {
|
|
|
57
57
|
custom: this.variant === 'custom',
|
|
58
58
|
closable: this.closable,
|
|
59
59
|
icon: !!this.icon,
|
|
60
|
-
} }, index.h("ix-icon", { key: '
|
|
60
|
+
} }, index.h("ix-icon", { key: '8177db5d16f03117e3397a99c4f364bff48b063b', class: {
|
|
61
61
|
'with-icon': true,
|
|
62
62
|
hidden: !this.icon,
|
|
63
|
-
}, name: this.icon, size: '24' }), index.h("span", { key: '
|
|
63
|
+
}, name: this.icon, size: '24' }), index.h("span", { key: 'f1f0f6b22b92951ce0b1b5c81b1071ad4a3c6165', class: "slot-container" }, index.h("slot", { key: '59087cf16d54288ef6dc324520f0f43b84108166' })), isInactive === false && this.closable ? this.getCloseButton() : null)));
|
|
64
64
|
}
|
|
65
65
|
get el() { return index.getElement(this); }
|
|
66
66
|
};
|