@siemens/ix 0.0.0-20240522074328 → 0.0.0-pr-1318-20240627080522
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/a11y.js +3 -2
- package/components/a11y.js.map +1 -1
- package/components/application-header.js +12 -4
- package/components/application-header.js.map +1 -1
- package/components/avatar.js +6 -1
- package/components/avatar.js.map +1 -1
- package/components/breadcrumb-item.js +1 -1
- package/components/breadcrumb-item.js.map +1 -1
- package/components/button.js +1 -1
- package/components/button.js.map +1 -1
- package/components/card-accordion.js +1 -1
- package/components/card-accordion.js.map +1 -1
- package/components/card-content.js +2 -2
- package/components/card-content.js.map +1 -1
- package/components/card-title.js +1 -1
- package/components/card.js +1 -1
- package/components/card.js.map +1 -1
- package/components/col.js +1 -1
- package/components/col.js.map +1 -1
- package/components/date-picker.js +5 -5
- package/components/date-picker.js.map +1 -1
- package/components/date-time-card.js +3 -3
- package/components/date-time-card.js.map +1 -1
- package/components/divider.js +1 -1
- package/components/dropdown-item.js +4 -4
- package/components/dropdown-item.js.map +1 -1
- package/components/dropdown.js +17 -10
- package/components/dropdown.js.map +1 -1
- package/components/field-label.js +127 -0
- package/components/field-label.js.map +1 -0
- package/components/field-wrapper.js +97 -0
- package/components/field-wrapper.js.map +1 -0
- package/components/filter-chip.js +2 -2
- package/components/filter-chip.js.map +1 -1
- package/components/group-context-menu.js +1 -1
- package/components/group-item.js +3 -3
- package/components/group-item.js.map +1 -1
- package/components/helper-text-util.js +48 -0
- package/components/helper-text-util.js.map +1 -0
- package/components/icon-button.js +2 -2
- package/components/icon-button.js.map +1 -1
- package/components/index.js +19 -4
- package/components/index.js.map +1 -1
- package/components/ix-action-card.js +1 -1
- package/components/ix-action-card.js.map +1 -1
- package/components/ix-application-sidebar.js +2 -2
- package/components/ix-application-sidebar.js.map +1 -1
- package/components/ix-application-switch-modal.js +2 -2
- package/components/ix-application-switch-modal.js.map +1 -1
- package/components/ix-application.js +4 -4
- package/components/ix-application.js.map +1 -1
- package/components/ix-basic-navigation.js +3 -3
- package/components/ix-basic-navigation.js.map +1 -1
- package/components/ix-blind.js +1 -1
- package/components/ix-blind.js.map +1 -1
- package/components/ix-breadcrumb.js +3 -3
- package/components/ix-breadcrumb.js.map +1 -1
- package/components/ix-card-list.js +5 -5
- package/components/ix-card-list.js.map +1 -1
- package/components/ix-category-filter.js +8 -5
- package/components/ix-category-filter.js.map +1 -1
- package/components/ix-checkbox-group.d.ts +11 -0
- package/components/ix-checkbox-group.js +105 -0
- package/components/ix-checkbox-group.js.map +1 -0
- package/components/ix-checkbox.d.ts +11 -0
- package/components/ix-checkbox.js +141 -0
- package/components/ix-checkbox.js.map +1 -0
- package/components/ix-chip.js +5 -5
- package/components/ix-chip.js.map +1 -1
- package/components/ix-content.js +4 -4
- package/components/ix-content.js.map +1 -1
- package/components/ix-css-grid-item.js +1 -1
- package/components/ix-custom-field.d.ts +11 -0
- package/components/ix-custom-field.js +116 -0
- package/components/ix-custom-field.js.map +1 -0
- package/components/ix-date-dropdown.js +4 -4
- package/components/ix-date-dropdown.js.map +1 -1
- package/components/{ix-form-field.d.ts → ix-date-field.d.ts} +4 -4
- package/components/ix-date-field.js +351 -0
- package/components/ix-date-field.js.map +1 -0
- package/components/ix-datetime-picker.js +2 -2
- package/components/ix-datetime-picker.js.map +1 -1
- package/components/ix-drawer.js +3 -3
- package/components/ix-drawer.js.map +1 -1
- package/components/ix-dropdown-button.js +3 -3
- package/components/ix-dropdown-button.js.map +1 -1
- package/components/ix-dropdown-header.js +2 -2
- package/components/ix-dropdown-header.js.map +1 -1
- package/components/ix-dropdown-quick-actions.js +1 -1
- package/components/ix-empty-state.js +2 -2
- package/components/ix-empty-state.js.map +1 -1
- package/components/ix-event-list-item.js +5 -5
- package/components/ix-event-list-item.js.map +1 -1
- package/components/ix-event-list.js +3 -3
- package/components/ix-event-list.js.map +1 -1
- package/components/ix-expanding-search.js +5 -5
- package/components/ix-expanding-search.js.map +1 -1
- package/components/ix-field-label.d.ts +11 -0
- package/components/ix-field-label.js +8 -0
- package/components/ix-field-label.js.map +1 -0
- package/components/ix-field-wrapper.d.ts +11 -0
- package/components/ix-field-wrapper.js +8 -0
- package/components/ix-field-wrapper.js.map +1 -0
- package/components/ix-flip-tile-content.js +1 -1
- package/components/ix-flip-tile.js +5 -5
- package/components/ix-flip-tile.js.map +1 -1
- package/components/ix-group.js +8 -8
- package/components/ix-helper-text.d.ts +11 -0
- package/components/ix-helper-text.js +97 -0
- package/components/ix-helper-text.js.map +1 -0
- package/components/ix-icon-toggle-button.js +2 -2
- package/components/ix-icon-toggle-button.js.map +1 -1
- package/components/ix-input-group.js +2 -2
- package/components/ix-input-group.js.map +1 -1
- package/components/ix-key-value-list.js +1 -1
- package/components/ix-key-value.js +1 -1
- package/components/ix-key-value.js.map +1 -1
- package/components/ix-kpi.js +4 -4
- package/components/ix-kpi.js.map +1 -1
- package/components/ix-layout-form.d.ts +11 -0
- package/components/ix-layout-form.js +113 -0
- package/components/ix-layout-form.js.map +1 -0
- package/components/ix-link-button.js +3 -3
- package/components/ix-map-navigation.js +3 -3
- package/components/ix-map-navigation.js.map +1 -1
- 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 +9 -6
- package/components/ix-menu-category.js.map +1 -1
- package/components/ix-menu-settings-item.js +1 -1
- package/components/ix-menu.js +12 -12
- package/components/ix-menu.js.map +1 -1
- package/components/ix-message-bar.js +2 -2
- package/components/ix-message-bar.js.map +1 -1
- package/components/ix-modal-example.js +1 -1
- package/components/ix-modal-footer.js +2 -2
- package/components/ix-modal-footer.js.map +1 -1
- package/components/ix-modal-loading.js +1 -1
- package/components/ix-modal.js +3 -3
- package/components/ix-number-field.d.ts +11 -0
- package/components/ix-number-field.js +217 -0
- package/components/ix-number-field.js.map +1 -0
- package/components/ix-pagination.js +35 -17
- package/components/ix-pagination.js.map +1 -1
- package/components/ix-pane-layout.js +2 -2
- package/components/ix-pane-layout.js.map +1 -1
- package/components/ix-pane.js +7 -7
- package/components/ix-pane.js.map +1 -1
- package/components/ix-pill.js +5 -5
- package/components/ix-pill.js.map +1 -1
- package/components/ix-playground-internal.js +1 -1
- package/components/ix-playground-internal.js.map +1 -1
- package/components/ix-push-card.js +1 -1
- package/components/ix-radio-group.d.ts +11 -0
- package/components/ix-radio-group.js +169 -0
- package/components/ix-radio-group.js.map +1 -0
- package/components/ix-radio.d.ts +11 -0
- package/components/ix-radio.js +115 -0
- package/components/ix-radio.js.map +1 -0
- package/components/ix-slider.js +7 -7
- package/components/ix-slider.js.map +1 -1
- package/components/ix-split-button-item.js +1 -1
- package/components/ix-split-button.js +4 -2
- package/components/ix-split-button.js.map +1 -1
- package/components/ix-text-field.d.ts +11 -0
- package/components/ix-text-field.js +223 -0
- package/components/ix-text-field.js.map +1 -0
- package/components/ix-textarea-field.d.ts +11 -0
- package/components/ix-textarea-field.js +177 -0
- package/components/ix-textarea-field.js.map +1 -0
- package/components/ix-tile.js +5 -5
- package/components/ix-tile.js.map +1 -1
- package/components/ix-toast-container.js +3 -3
- package/components/ix-toast-container.js.map +1 -1
- package/components/ix-toggle-button.js +3 -3
- package/components/ix-toggle-button.js.map +1 -1
- package/components/ix-toggle.js +43 -5
- package/components/ix-toggle.js.map +1 -1
- package/components/ix-tree.js +1 -1
- package/components/ix-upload.js +4 -4
- package/components/ix-upload.js.map +1 -1
- package/components/ix-validation-tooltip.js +2 -2
- package/components/ix-workflow-step.js +5 -5
- package/components/ix-workflow-step.js.map +1 -1
- package/components/ix-workflow-steps.js +2 -2
- package/components/ix-workflow-steps.js.map +1 -1
- package/components/layout-grid.js +2 -2
- package/components/make-ref.js +5 -0
- package/components/make-ref.js.map +1 -1
- package/components/map-navigation-overlay.js +3 -3
- package/components/map-navigation-overlay.js.map +1 -1
- package/components/menu-avatar-item.js +2 -2
- package/components/menu-avatar-item.js.map +1 -1
- package/components/menu-expand-icon.js +2 -2
- package/components/menu-expand-icon.js.map +1 -1
- package/components/menu-item.js +4 -4
- package/components/menu-item.js.map +1 -1
- package/components/menu-tabs-fc.js +2 -2
- package/components/menu-tabs-fc.js.map +1 -1
- package/components/modal-content.js +2 -2
- package/components/modal-content.js.map +1 -1
- package/components/modal-header.js +2 -2
- package/components/modal-header.js.map +1 -1
- package/components/row.js +1 -1
- package/components/select-item.js +1 -1
- package/components/select.js +172 -58
- package/components/select.js.map +1 -1
- package/components/spinner.js +2 -2
- package/components/spinner.js.map +1 -1
- package/components/tab-item.js +4 -4
- package/components/tab-item.js.map +1 -1
- package/components/tabs.js +3 -3
- package/components/tabs.js.map +1 -1
- package/components/text-field.util.js +167 -0
- package/components/text-field.util.js.map +1 -0
- package/components/time-picker.js +4 -4
- package/components/time-picker.js.map +1 -1
- package/components/toast.js +3 -3
- package/components/toast.js.map +1 -1
- package/components/tooltip.js +7 -7
- package/components/tooltip.js.map +1 -1
- package/components/tree-item.js +5 -5
- package/components/tree-item.js.map +1 -1
- package/components/typography.js +1 -1
- package/components/typography.js.map +1 -1
- package/components/validation.js +112 -0
- package/components/validation.js.map +1 -0
- package/dist/cjs/{a11y-d3ce56d1.js → a11y-32046b56.js} +4 -3
- package/dist/cjs/a11y-32046b56.js.map +1 -0
- package/dist/cjs/app-globals-5cfdf2a0.js.map +1 -1
- package/dist/cjs/{base-button-7c45a6c4.js → base-button-16d4fadf.js} +2 -2
- package/dist/cjs/{base-button-7c45a6c4.js.map → base-button-16d4fadf.js.map} +1 -1
- package/dist/cjs/{base-icon-button-ac2fcf4b.js → base-icon-button-aba2ddbf.js} +3 -3
- package/dist/cjs/{base-icon-button-ac2fcf4b.js.map → base-icon-button-aba2ddbf.js.map} +1 -1
- package/dist/cjs/dropdown-controller-403dc7fa.js +147 -0
- package/dist/cjs/dropdown-controller-403dc7fa.js.map +1 -0
- package/dist/cjs/helper-text-util-9f617ef2.js +40 -0
- package/dist/cjs/helper-text-util-9f617ef2.js.map +1 -0
- package/dist/cjs/index-0f6297c8.js +2044 -0
- package/dist/cjs/index-0f6297c8.js.map +1 -0
- package/dist/cjs/index-762a29a3.js +24 -0
- package/dist/cjs/index-762a29a3.js.map +1 -0
- package/dist/cjs/index.cjs.js +16 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/ix-action-card.cjs.entry.js +2 -2
- package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +13 -5
- package/dist/cjs/ix-application-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-application-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/ix-application-sidebar.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-application-switch-modal.cjs.entry.js +3 -3
- package/dist/cjs/ix-application-switch-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-application.cjs.entry.js +5 -5
- package/dist/cjs/ix-application.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-avatar_2.cjs.entry.js +11 -6
- package/dist/cjs/ix-avatar_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +4 -4
- package/dist/cjs/ix-basic-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-blind.cjs.entry.js +3 -3
- package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +5 -5
- package/dist/cjs/ix-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card-list.cjs.entry.js +6 -6
- package/dist/cjs/ix-card-list.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-category-filter.cjs.entry.js +10 -7
- package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-checkbox-group.cjs.entry.js +56 -0
- package/dist/cjs/ix-checkbox-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-checkbox.cjs.entry.js +114 -0
- package/dist/cjs/ix-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-chip.cjs.entry.js +6 -6
- package/dist/cjs/ix-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-col_4.cjs.entry.js +11 -11
- package/dist/cjs/ix-col_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-content-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-content.cjs.entry.js +5 -5
- package/dist/cjs/ix-content.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-css-grid-item.cjs.entry.js +2 -2
- package/dist/cjs/ix-css-grid.cjs.entry.js +1 -1
- package/dist/cjs/ix-custom-field.cjs.entry.js +65 -0
- package/dist/cjs/ix-custom-field.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-date-dropdown.cjs.entry.js +5 -5
- package/dist/cjs/ix-date-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-field.cjs.entry.js +255 -0
- package/dist/cjs/ix-date-field.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-date-time-card.cjs.entry.js +3 -3
- package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +3 -3
- package/dist/cjs/ix-datetime-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-divider.cjs.entry.js +2 -2
- package/dist/cjs/ix-drawer.cjs.entry.js +4 -4
- package/dist/cjs/ix-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +4 -4
- package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-header.cjs.entry.js +3 -3
- package/dist/cjs/ix-dropdown-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-item.cjs.entry.js +5 -5
- package/dist/cjs/ix-dropdown-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown.cjs.entry.js +28 -160
- package/dist/cjs/ix-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-empty-state.cjs.entry.js +3 -3
- package/dist/cjs/ix-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-event-list-item.cjs.entry.js +7 -7
- package/dist/cjs/ix-event-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-event-list.cjs.entry.js +4 -4
- package/dist/cjs/ix-event-list.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-expanding-search.cjs.entry.js +6 -6
- package/dist/cjs/ix-expanding-search.cjs.entry.js.map +1 -1
- package/dist/cjs/{ix-tooltip.cjs.entry.js → ix-field-label_3.cjs.entry.js} +151 -10
- package/dist/cjs/ix-field-label_3.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-flip-tile-content.cjs.entry.js +2 -2
- package/dist/cjs/ix-flip-tile.cjs.entry.js +6 -6
- package/dist/cjs/ix-flip-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +5 -5
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-group.cjs.entry.js +9 -9
- package/dist/cjs/ix-helper-text.cjs.entry.js +70 -0
- package/dist/cjs/ix-helper-text.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +8 -8
- package/dist/cjs/ix-icon-button_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +6 -6
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-input-group.cjs.entry.js +3 -3
- package/dist/cjs/ix-input-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-key-value-list.cjs.entry.js +2 -2
- package/dist/cjs/ix-key-value.cjs.entry.js +2 -2
- package/dist/cjs/ix-key-value.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +5 -5
- package/dist/cjs/ix-kpi.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-layout-form.cjs.entry.js +94 -0
- package/dist/cjs/ix-layout-form.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-link-button.cjs.entry.js +4 -4
- package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +4 -4
- package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-map-navigation.cjs.entry.js +4 -4
- package/dist/cjs/ix-map-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +6 -6
- package/dist/cjs/ix-menu-about-news.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu-about.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu-category.cjs.entry.js +10 -7
- package/dist/cjs/ix-menu-category.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +5 -5
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu-item.cjs.entry.js +6 -6
- package/dist/cjs/ix-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-settings.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu.cjs.entry.js +13 -13
- package/dist/cjs/ix-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-message-bar.cjs.entry.js +3 -3
- package/dist/cjs/ix-message-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +5 -5
- package/dist/cjs/ix-modal-content_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-example.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-footer.cjs.entry.js +3 -3
- package/dist/cjs/ix-modal-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-loading.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal.cjs.entry.js +6 -6
- package/dist/cjs/ix-number-field.cjs.entry.js +148 -0
- package/dist/cjs/ix-number-field.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-pagination.cjs.entry.js +6 -6
- package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-pane-layout.cjs.entry.js +3 -3
- package/dist/cjs/ix-pane-layout.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-pane.cjs.entry.js +8 -8
- package/dist/cjs/ix-pane.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-pill.cjs.entry.js +6 -6
- package/dist/cjs/ix-pill.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-playground-internal.cjs.entry.js +2 -2
- package/dist/cjs/ix-playground-internal.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-push-card.cjs.entry.js +2 -2
- package/dist/cjs/ix-radio-group.cjs.entry.js +116 -0
- package/dist/cjs/ix-radio-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-radio.cjs.entry.js +96 -0
- package/dist/cjs/ix-radio.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-select.cjs.entry.js +126 -46
- package/dist/cjs/ix-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-slider.cjs.entry.js +10 -10
- package/dist/cjs/ix-slider.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-split-button-item.cjs.entry.js +3 -3
- package/dist/cjs/ix-split-button.cjs.entry.js +4 -3
- package/dist/cjs/ix-split-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tab-item_2.cjs.entry.js +8 -8
- package/dist/cjs/ix-tab-item_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-text-field.cjs.entry.js +151 -0
- package/dist/cjs/ix-text-field.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-textarea-field.cjs.entry.js +118 -0
- package/dist/cjs/ix-textarea-field.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-tile.cjs.entry.js +6 -6
- package/dist/cjs/ix-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-time-picker.cjs.entry.js +5 -5
- package/dist/cjs/ix-time-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toast-container.cjs.entry.js +4 -4
- package/dist/cjs/ix-toast-container.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toast.cjs.entry.js +4 -4
- package/dist/cjs/ix-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toggle-button.cjs.entry.js +6 -6
- package/dist/cjs/ix-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toggle.cjs.entry.js +42 -5
- package/dist/cjs/ix-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tree-item.cjs.entry.js +6 -6
- package/dist/cjs/ix-tree-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tree.cjs.entry.js +2 -2
- 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 +5 -5
- package/dist/cjs/ix-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/ix-workflow-step.cjs.entry.js +6 -6
- package/dist/cjs/ix-workflow-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +3 -3
- package/dist/cjs/ix-workflow-steps.cjs.entry.js.map +1 -1
- package/dist/cjs/{listener-d27acb41.js → listener-0881dc51.js} +2 -2
- package/dist/cjs/{listener-d27acb41.js.map → listener-0881dc51.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{make-ref-c25629b7.js → make-ref-01530e5a.js} +6 -1
- package/dist/cjs/make-ref-01530e5a.js.map +1 -0
- package/dist/cjs/{menu-tabs-fc-194c3ba9.js → menu-tabs-fc-f6b706e3.js} +4 -4
- package/dist/cjs/{menu-tabs-fc-194c3ba9.js.map → menu-tabs-fc-f6b706e3.js.map} +1 -1
- package/dist/cjs/siemens-ix.cjs.js +10 -10
- package/dist/cjs/siemens-ix.cjs.js.map +1 -1
- package/dist/cjs/text-field.util-d7c5c1cd.js +179 -0
- package/dist/cjs/text-field.util-d7c5c1cd.js.map +1 -0
- package/dist/cjs/validation-c5a41d68.js +117 -0
- package/dist/cjs/validation-c5a41d68.js.map +1 -0
- package/dist/collection/collection-manifest.json +15 -3
- package/dist/collection/components/action-card/action-card.css +6 -0
- package/dist/collection/components/action-card/action-card.js +1 -1
- package/dist/collection/components/application/application.css +6 -0
- package/dist/collection/components/application/application.js +3 -3
- package/dist/collection/components/application-header/application-header.css +6 -0
- package/dist/collection/components/application-header/application-header.js +11 -3
- package/dist/collection/components/application-header/application-header.js.map +1 -1
- package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.css +6 -0
- package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +1 -1
- package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js.map +1 -1
- package/dist/collection/components/application-sidebar/application-sidebar.css +7 -2
- package/dist/collection/components/application-sidebar/application-sidebar.js +1 -1
- package/dist/collection/components/avatar/avatar.js +6 -1
- package/dist/collection/components/avatar/avatar.js.map +1 -1
- package/dist/collection/components/basic-navigation/basic-navigation.css +6 -0
- package/dist/collection/components/basic-navigation/basic-navigation.js +2 -2
- package/dist/collection/components/blind/blind.css +6 -0
- package/dist/collection/components/blind/blind.js +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.css +6 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +18 -0
- package/dist/collection/components/button/button.css +6 -0
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/card/card.css +6 -0
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card-accordion/card-accordion.css +6 -0
- package/dist/collection/components/card-accordion/card-accordion.js +1 -1
- package/dist/collection/components/card-content/card-content.css +7 -2
- package/dist/collection/components/card-content/card-content.js +1 -1
- package/dist/collection/components/card-list/card-list.css +6 -0
- 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.css +132 -16
- package/dist/collection/components/category-filter/category-filter.js +7 -4
- package/dist/collection/components/category-filter/category-filter.js.map +1 -1
- package/dist/collection/components/checkbox/checkbox.css +437 -0
- package/dist/collection/components/checkbox/checkbox.js +323 -0
- package/dist/collection/components/checkbox/checkbox.js.map +1 -0
- package/dist/collection/components/checkbox/tests/checkbox.ct.js +52 -0
- package/dist/collection/components/checkbox/tests/checkbox.ct.js.map +1 -0
- package/dist/collection/components/checkbox-group/checkbox-group.css +35 -0
- package/dist/collection/components/checkbox-group/checkbox-group.js +173 -0
- package/dist/collection/components/checkbox-group/checkbox-group.js.map +1 -0
- package/dist/collection/components/chip/chip.css +38 -8
- package/dist/collection/components/chip/chip.js +4 -4
- package/dist/collection/components/chip/test/chip.ct.js +32 -0
- package/dist/collection/components/chip/test/chip.ct.js.map +1 -0
- package/dist/collection/components/col/col.css +7 -2
- package/dist/collection/components/col/col.js +4 -4
- package/dist/collection/components/content/content.css +6 -0
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/content-header/content-header.js +1 -1
- package/dist/collection/components/css-grid/css-grid-item.js +1 -1
- package/dist/collection/components/css-grid/css-grid.js +1 -1
- package/dist/collection/components/custom-field/custom-field.css +11 -0
- package/dist/collection/components/custom-field/custom-field.js +216 -0
- package/dist/collection/components/custom-field/custom-field.js.map +1 -0
- package/dist/collection/components/custom-field/tests/custom-field.ct.js +68 -0
- package/dist/collection/components/custom-field/tests/custom-field.ct.js.map +1 -0
- package/dist/collection/components/date-dropdown/date-dropdown.css +6 -0
- package/dist/collection/components/date-dropdown/date-dropdown.js +6 -6
- package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
- package/dist/collection/components/date-field/date-field.css +938 -0
- package/dist/collection/components/date-field/date-field.js +696 -0
- package/dist/collection/components/date-field/date-field.js.map +1 -0
- package/dist/collection/components/date-field/tests/date-field.ct.js +114 -0
- package/dist/collection/components/date-field/tests/date-field.ct.js.map +1 -0
- package/dist/collection/components/date-picker/date-picker.css +6 -0
- package/dist/collection/components/date-picker/date-picker.js +7 -7
- package/dist/collection/components/date-time-card/date-time-card.css +6 -0
- package/dist/collection/components/date-time-card/date-time-card.js +7 -8
- package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
- package/dist/collection/components/datetime-picker/datetime-picker.css +6 -0
- package/dist/collection/components/datetime-picker/datetime-picker.js +3 -3
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/drawer/drawer.css +6 -0
- package/dist/collection/components/drawer/drawer.js +2 -2
- package/dist/collection/components/dropdown/dropdown-controller.js +4 -0
- package/dist/collection/components/dropdown/dropdown-controller.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown.css +6 -0
- package/dist/collection/components/dropdown/dropdown.js +11 -8
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown/test/dropdown.ct.js +18 -0
- package/dist/collection/components/dropdown/test/dropdown.ct.js.map +1 -1
- package/dist/collection/components/dropdown-button/dropdown-button.css +6 -0
- package/dist/collection/components/dropdown-button/dropdown-button.ct.js +23 -0
- package/dist/collection/components/dropdown-button/dropdown-button.ct.js.map +1 -0
- package/dist/collection/components/dropdown-button/dropdown-button.js +3 -3
- package/dist/collection/components/dropdown-header/dropdown-header.css +6 -0
- package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +6 -0
- 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.css +6 -0
- package/dist/collection/components/empty-state/empty-state.js +2 -2
- package/dist/collection/components/empty-state/empty-state.js.map +1 -1
- package/dist/collection/components/event-list/event-list.css +6 -0
- package/dist/collection/components/event-list/event-list.js +2 -2
- package/dist/collection/components/event-list-item/event-list-item.css +6 -0
- package/dist/collection/components/event-list-item/event-list-item.js +4 -4
- package/dist/collection/components/event-list-item/event-list-item.js.map +1 -1
- package/dist/collection/components/expanding-search/expanding-search.css +6 -0
- package/dist/collection/components/expanding-search/expanding-search.js +4 -4
- package/dist/collection/components/field-label/field-label.css +14 -0
- package/dist/collection/components/field-label/field-label.js +173 -0
- package/dist/collection/components/field-label/field-label.js.map +1 -0
- package/dist/collection/components/field-label/tests/field-label.ct.js +70 -0
- package/dist/collection/components/field-label/tests/field-label.ct.js.map +1 -0
- package/dist/collection/components/field-wrapper/field-wrapper.css +71 -0
- package/dist/collection/components/field-wrapper/field-wrapper.js +309 -0
- package/dist/collection/components/field-wrapper/field-wrapper.js.map +1 -0
- package/dist/collection/components/field-wrapper/helper-text-util.js +26 -0
- package/dist/collection/components/field-wrapper/helper-text-util.js.map +1 -0
- package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js +63 -0
- package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js.map +1 -0
- package/dist/collection/components/filter-chip/filter-chip.css +6 -0
- package/dist/collection/components/filter-chip/filter-chip.js +1 -1
- package/dist/collection/components/flip-tile/flip-tile.css +6 -0
- 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/grid/layout-grid.js +2 -2
- package/dist/collection/components/group/group-context-menu.js +1 -1
- package/dist/collection/components/group/group.js +8 -8
- package/dist/collection/components/group-item/group-item.css +6 -0
- package/dist/collection/components/group-item/group-item.js +2 -2
- package/dist/collection/components/helper-text/helper-text.css +34 -0
- package/dist/collection/components/helper-text/helper-text.js +179 -0
- package/dist/collection/components/helper-text/helper-text.js.map +1 -0
- package/dist/collection/components/icon-button/icon-button.css +12 -0
- package/dist/collection/components/icon-button/icon-button.js +2 -2
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +12 -0
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
- package/dist/collection/components/input-group/input-group.css +6 -0
- package/dist/collection/components/input-group/input-group.js +1 -1
- package/dist/collection/components/key-value/key-value.js +2 -2
- package/dist/collection/components/key-value/key-value.js.map +1 -1
- package/dist/collection/components/key-value-list/key-value-list.js +1 -1
- package/dist/collection/components/kpi/kpi.css +6 -0
- package/dist/collection/components/kpi/kpi.js +3 -3
- package/dist/collection/components/layout-form/layout-form.css +15 -0
- package/dist/collection/components/layout-form/layout-form.js +126 -0
- package/dist/collection/components/layout-form/layout-form.js.map +1 -0
- package/dist/collection/components/link-button/link-button.js +3 -3
- package/dist/collection/components/map-navigation/map-navigation.css +6 -0
- package/dist/collection/components/map-navigation/map-navigation.js +2 -2
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +6 -0
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
- package/dist/collection/components/menu/menu-expand-icon.css +6 -0
- package/dist/collection/components/menu/menu-expand-icon.js +1 -1
- package/dist/collection/components/menu/menu.css +7 -1
- package/dist/collection/components/menu/menu.js +11 -11
- 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 +6 -0
- package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
- package/dist/collection/components/menu-avatar/menu-avatar.css +6 -0
- package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +6 -0
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
- package/dist/collection/components/menu-category/menu-category.css +6 -0
- package/dist/collection/components/menu-category/menu-category.js +8 -5
- package/dist/collection/components/menu-category/menu-category.js.map +1 -1
- package/dist/collection/components/menu-item/menu-item.css +0 -3
- package/dist/collection/components/menu-item/menu-item.js +3 -3
- package/dist/collection/components/menu-item/menu-item.js.map +1 -1
- package/dist/collection/components/menu-settings/menu-settings.css +6 -0
- 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.css +6 -0
- package/dist/collection/components/message-bar/message-bar.js +1 -1
- package/dist/collection/components/modal/modal.js +4 -4
- package/dist/collection/components/modal-content/modal-content.css +6 -0
- package/dist/collection/components/modal-content/modal-content.js +1 -1
- package/dist/collection/components/modal-footer/modal-footer.css +6 -0
- package/dist/collection/components/modal-footer/modal-footer.js +1 -1
- package/dist/collection/components/modal-header/modal-header.css +6 -0
- 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.css +20 -0
- package/dist/collection/components/pagination/pagination.js +2 -2
- package/dist/collection/components/pane/pane.css +9 -0
- package/dist/collection/components/pane/pane.js +12 -12
- package/dist/collection/components/pane-layout/pane-layout.css +6 -0
- package/dist/collection/components/pane-layout/pane-layout.js +1 -1
- package/dist/collection/components/pill/pill.css +38 -7
- 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 +3 -3
- package/dist/collection/components/playground/playground.js.map +1 -1
- package/dist/collection/components/push-card/push-card.js +2 -2
- package/dist/collection/components/radio/radio.css +428 -0
- package/dist/collection/components/radio/radio.js +276 -0
- package/dist/collection/components/radio/radio.js.map +1 -0
- package/dist/collection/components/radio/test/radio.ct.js +36 -0
- package/dist/collection/components/radio/test/radio.ct.js.map +1 -0
- package/dist/collection/components/radio-group/radio-group.css +35 -0
- package/dist/collection/components/radio-group/radio-group.js +296 -0
- package/dist/collection/components/radio-group/radio-group.js.map +1 -0
- package/dist/collection/components/radio-group/test/radio-group.ct.js +99 -0
- package/dist/collection/components/radio-group/test/radio-group.ct.js.map +1 -0
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/select/select.css +58 -0
- package/dist/collection/components/select/select.js +392 -46
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select/test/select.ct.js +130 -44
- package/dist/collection/components/select/test/select.ct.js.map +1 -1
- package/dist/collection/components/select-item/select-item.js +1 -1
- package/dist/collection/components/slider/slider.css +6 -0
- package/dist/collection/components/slider/slider.js +7 -7
- package/dist/collection/components/spinner/spinner.css +30 -0
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-button/split-button.css +6 -0
- package/dist/collection/components/split-button/split-button.js +30 -2
- package/dist/collection/components/split-button/split-button.js.map +1 -1
- package/dist/collection/components/split-button-item/split-button-item.js +1 -1
- package/dist/collection/components/tab-item/tab-item.css +13 -13
- package/dist/collection/components/tab-item/tab-item.js +4 -4
- package/dist/collection/components/tabs/tabs.css +6 -0
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/text-field/input.fc.js +38 -0
- package/dist/collection/components/text-field/input.fc.js.map +1 -0
- package/dist/collection/components/{form-field/form-field.css → text-field/number-field.css} +236 -7
- package/dist/collection/components/text-field/number-field.js +586 -0
- package/dist/collection/components/text-field/number-field.js.map +1 -0
- package/dist/collection/components/text-field/tests/form-ready.ct.js +63 -0
- package/dist/collection/components/text-field/tests/form-ready.ct.js.map +1 -0
- package/dist/collection/components/text-field/text-field.animation.js +36 -0
- package/dist/collection/components/text-field/text-field.animation.js.map +1 -0
- package/dist/collection/components/text-field/text-field.css +899 -0
- package/dist/collection/components/text-field/text-field.js +594 -0
- package/dist/collection/components/text-field/text-field.js.map +1 -0
- package/dist/collection/components/text-field/text-field.util.js +93 -0
- package/dist/collection/components/text-field/text-field.util.js.map +1 -0
- package/dist/collection/components/text-field/textarea-field.css +550 -0
- package/dist/collection/components/text-field/textarea-field.js +595 -0
- package/dist/collection/components/text-field/textarea-field.js.map +1 -0
- package/dist/collection/components/tile/tile.css +6 -0
- package/dist/collection/components/tile/tile.js +4 -4
- package/dist/collection/components/time-picker/time-picker.css +86 -5
- package/dist/collection/components/time-picker/time-picker.js +4 -4
- package/dist/collection/components/toast/styles/toast-container.css +6 -0
- package/dist/collection/components/toast/toast-container.js +3 -3
- package/dist/collection/components/toast/toast.css +6 -0
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/test/toggle.ct.js +24 -1
- package/dist/collection/components/toggle/test/toggle.ct.js.map +1 -1
- package/dist/collection/components/toggle/toggle.css +138 -1
- package/dist/collection/components/toggle/toggle.js +157 -2
- package/dist/collection/components/toggle/toggle.js.map +1 -1
- package/dist/collection/components/toggle-button/toggle-button.css +6 -0
- package/dist/collection/components/toggle-button/toggle-button.js +2 -2
- package/dist/collection/components/tooltip/tooltip.css +2 -2
- package/dist/collection/components/tooltip/tooltip.js +6 -6
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +6 -0
- package/dist/collection/components/tree-item/tree-item.js +4 -4
- package/dist/collection/components/typography/typography.css +7 -2
- package/dist/collection/components/typography/typography.js +5 -5
- package/dist/collection/components/upload/upload.css +6 -0
- package/dist/collection/components/upload/upload.js +3 -3
- package/dist/collection/components/utils/a11y.js +3 -2
- package/dist/collection/components/utils/a11y.js.map +1 -1
- package/dist/collection/components/utils/attributes.js +25 -0
- package/dist/collection/components/utils/attributes.js.map +1 -0
- package/dist/collection/components/utils/field/index.js +9 -0
- package/dist/collection/components/utils/field/index.js.map +1 -0
- package/dist/collection/components/utils/field/validation.js +108 -0
- package/dist/collection/components/utils/field/validation.js.map +1 -0
- package/dist/collection/components/utils/make-ref.js +5 -0
- package/dist/collection/components/utils/make-ref.js.map +1 -1
- package/dist/collection/components/utils/testing/index.js +9 -0
- package/dist/collection/components/utils/testing/index.js.map +1 -0
- package/dist/collection/components/utils/uuid.js +16 -0
- package/dist/collection/components/utils/uuid.js.map +1 -0
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
- package/dist/collection/components/workflow-step/workflow-step.css +6 -0
- package/dist/collection/components/workflow-step/workflow-step.js +4 -4
- package/dist/collection/components/workflow-step/workflow-step.js.map +1 -1
- package/dist/collection/components/workflow-steps/workflow-steps.css +6 -0
- package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
- package/dist/collection/index.js +6 -0
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/tests/form-fields/form-fields.e2e.js +57 -0
- package/dist/collection/tests/form-fields/form-fields.e2e.js.map +1 -0
- package/dist/collection/tests/panes/panes.e2e.js +5 -0
- package/dist/collection/tests/panes/panes.e2e.js.map +1 -1
- package/dist/collection/tests/utils/test/index.js +11 -0
- package/dist/collection/tests/utils/test/index.js.map +1 -1
- package/dist/esm/{a11y-d5444a76.js → a11y-13dedaef.js} +4 -3
- package/dist/esm/a11y-13dedaef.js.map +1 -0
- package/dist/esm/app-globals-0cd07cd9.js.map +1 -1
- package/dist/esm/{base-button-3ac703a7.js → base-button-ea06697f.js} +2 -2
- package/dist/esm/{base-button-3ac703a7.js.map → base-button-ea06697f.js.map} +1 -1
- package/dist/esm/{base-icon-button-59eb1fe5.js → base-icon-button-c64fdb50.js} +3 -3
- package/dist/esm/{base-icon-button-59eb1fe5.js.map → base-icon-button-c64fdb50.js.map} +1 -1
- package/dist/esm/dropdown-controller-d6d8b14a.js +143 -0
- package/dist/esm/dropdown-controller-d6d8b14a.js.map +1 -0
- package/dist/esm/helper-text-util-3dd33b44.js +38 -0
- package/dist/esm/helper-text-util-3dd33b44.js.map +1 -0
- package/dist/esm/index-9103b14c.js +2012 -0
- package/dist/esm/index-9103b14c.js.map +1 -0
- package/dist/esm/index-f51bf247.js +14 -0
- package/dist/esm/index-f51bf247.js.map +1 -0
- package/dist/esm/index.js +16 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/ix-action-card.entry.js +2 -2
- package/dist/esm/ix-action-card.entry.js.map +1 -1
- package/dist/esm/ix-application-header.entry.js +13 -5
- package/dist/esm/ix-application-header.entry.js.map +1 -1
- package/dist/esm/ix-application-sidebar.entry.js +3 -3
- package/dist/esm/ix-application-sidebar.entry.js.map +1 -1
- package/dist/esm/ix-application-switch-modal.entry.js +3 -3
- package/dist/esm/ix-application-switch-modal.entry.js.map +1 -1
- package/dist/esm/ix-application.entry.js +5 -5
- package/dist/esm/ix-application.entry.js.map +1 -1
- package/dist/esm/ix-avatar_2.entry.js +11 -6
- package/dist/esm/ix-avatar_2.entry.js.map +1 -1
- package/dist/esm/ix-basic-navigation.entry.js +4 -4
- package/dist/esm/ix-basic-navigation.entry.js.map +1 -1
- package/dist/esm/ix-blind.entry.js +3 -3
- package/dist/esm/ix-blind.entry.js.map +1 -1
- package/dist/esm/ix-breadcrumb-item.entry.js +4 -4
- package/dist/esm/ix-breadcrumb-item.entry.js.map +1 -1
- package/dist/esm/ix-breadcrumb.entry.js +5 -5
- package/dist/esm/ix-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ix-button.entry.js +3 -3
- package/dist/esm/ix-button.entry.js.map +1 -1
- package/dist/esm/ix-card-accordion_2.entry.js +3 -3
- package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
- package/dist/esm/ix-card-list.entry.js +6 -6
- package/dist/esm/ix-card-list.entry.js.map +1 -1
- package/dist/esm/ix-card_2.entry.js +4 -4
- package/dist/esm/ix-card_2.entry.js.map +1 -1
- package/dist/esm/ix-category-filter.entry.js +10 -7
- package/dist/esm/ix-category-filter.entry.js.map +1 -1
- package/dist/esm/ix-checkbox-group.entry.js +52 -0
- package/dist/esm/ix-checkbox-group.entry.js.map +1 -0
- package/dist/esm/ix-checkbox.entry.js +110 -0
- package/dist/esm/ix-checkbox.entry.js.map +1 -0
- package/dist/esm/ix-chip.entry.js +6 -6
- package/dist/esm/ix-chip.entry.js.map +1 -1
- package/dist/esm/ix-col_4.entry.js +11 -11
- package/dist/esm/ix-col_4.entry.js.map +1 -1
- package/dist/esm/ix-content-header.entry.js +1 -1
- package/dist/esm/ix-content.entry.js +5 -5
- package/dist/esm/ix-content.entry.js.map +1 -1
- package/dist/esm/ix-css-grid-item.entry.js +2 -2
- package/dist/esm/ix-css-grid.entry.js +1 -1
- package/dist/esm/ix-custom-field.entry.js +61 -0
- package/dist/esm/ix-custom-field.entry.js.map +1 -0
- package/dist/esm/ix-date-dropdown.entry.js +5 -5
- package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-date-field.entry.js +251 -0
- package/dist/esm/ix-date-field.entry.js.map +1 -0
- package/dist/esm/ix-date-time-card.entry.js +3 -3
- package/dist/esm/ix-date-time-card.entry.js.map +1 -1
- package/dist/esm/ix-datetime-picker.entry.js +3 -3
- package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
- package/dist/esm/ix-divider.entry.js +2 -2
- package/dist/esm/ix-drawer.entry.js +4 -4
- package/dist/esm/ix-drawer.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-button.entry.js +4 -4
- package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-header.entry.js +3 -3
- package/dist/esm/ix-dropdown-header.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-item.entry.js +5 -5
- package/dist/esm/ix-dropdown-item.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-quick-actions.entry.js +2 -2
- package/dist/esm/ix-dropdown.entry.js +14 -146
- package/dist/esm/ix-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-empty-state.entry.js +3 -3
- package/dist/esm/ix-empty-state.entry.js.map +1 -1
- package/dist/esm/ix-event-list-item.entry.js +7 -7
- package/dist/esm/ix-event-list-item.entry.js.map +1 -1
- package/dist/esm/ix-event-list.entry.js +4 -4
- package/dist/esm/ix-event-list.entry.js.map +1 -1
- package/dist/esm/ix-expanding-search.entry.js +6 -6
- package/dist/esm/ix-expanding-search.entry.js.map +1 -1
- package/dist/esm/{ix-tooltip.entry.js → ix-field-label_3.entry.js} +150 -11
- package/dist/esm/ix-field-label_3.entry.js.map +1 -0
- package/dist/esm/ix-filter-chip_2.entry.js +4 -4
- package/dist/esm/ix-filter-chip_2.entry.js.map +1 -1
- package/dist/esm/ix-flip-tile-content.entry.js +2 -2
- package/dist/esm/ix-flip-tile.entry.js +6 -6
- package/dist/esm/ix-flip-tile.entry.js.map +1 -1
- package/dist/esm/ix-group-context-menu_2.entry.js +5 -5
- package/dist/esm/ix-group-context-menu_2.entry.js.map +1 -1
- package/dist/esm/ix-group.entry.js +9 -9
- package/dist/esm/ix-helper-text.entry.js +66 -0
- package/dist/esm/ix-helper-text.entry.js.map +1 -0
- package/dist/esm/ix-icon-button_2.entry.js +8 -8
- package/dist/esm/ix-icon-button_2.entry.js.map +1 -1
- package/dist/esm/ix-icon-toggle-button.entry.js +6 -6
- package/dist/esm/ix-icon-toggle-button.entry.js.map +1 -1
- package/dist/esm/ix-input-group.entry.js +3 -3
- package/dist/esm/ix-input-group.entry.js.map +1 -1
- package/dist/esm/ix-key-value-list.entry.js +2 -2
- package/dist/esm/ix-key-value.entry.js +2 -2
- package/dist/esm/ix-key-value.entry.js.map +1 -1
- package/dist/esm/ix-kpi.entry.js +5 -5
- package/dist/esm/ix-kpi.entry.js.map +1 -1
- package/dist/esm/ix-layout-form.entry.js +90 -0
- package/dist/esm/ix-layout-form.entry.js.map +1 -0
- package/dist/esm/ix-link-button.entry.js +4 -4
- package/dist/esm/ix-map-navigation-overlay.entry.js +4 -4
- package/dist/esm/ix-map-navigation-overlay.entry.js.map +1 -1
- package/dist/esm/ix-map-navigation.entry.js +4 -4
- package/dist/esm/ix-map-navigation.entry.js.map +1 -1
- package/dist/esm/ix-menu-about-item.entry.js +2 -2
- package/dist/esm/ix-menu-about-news.entry.js +6 -6
- package/dist/esm/ix-menu-about-news.entry.js.map +1 -1
- package/dist/esm/ix-menu-about.entry.js +3 -3
- package/dist/esm/ix-menu-avatar.entry.js +4 -4
- package/dist/esm/ix-menu-avatar.entry.js.map +1 -1
- package/dist/esm/ix-menu-category.entry.js +10 -7
- package/dist/esm/ix-menu-category.entry.js.map +1 -1
- package/dist/esm/ix-menu-expand-icon.entry.js +5 -5
- package/dist/esm/ix-menu-expand-icon.entry.js.map +1 -1
- package/dist/esm/ix-menu-item.entry.js +6 -6
- package/dist/esm/ix-menu-item.entry.js.map +1 -1
- package/dist/esm/ix-menu-settings-item.entry.js +2 -2
- package/dist/esm/ix-menu-settings.entry.js +2 -2
- package/dist/esm/ix-menu.entry.js +13 -13
- package/dist/esm/ix-menu.entry.js.map +1 -1
- package/dist/esm/ix-message-bar.entry.js +3 -3
- package/dist/esm/ix-message-bar.entry.js.map +1 -1
- package/dist/esm/ix-modal-content_2.entry.js +5 -5
- package/dist/esm/ix-modal-content_2.entry.js.map +1 -1
- package/dist/esm/ix-modal-example.entry.js +2 -2
- package/dist/esm/ix-modal-footer.entry.js +3 -3
- package/dist/esm/ix-modal-footer.entry.js.map +1 -1
- package/dist/esm/ix-modal-loading.entry.js +2 -2
- package/dist/esm/ix-modal.entry.js +6 -6
- package/dist/esm/ix-number-field.entry.js +144 -0
- package/dist/esm/ix-number-field.entry.js.map +1 -0
- package/dist/esm/ix-pagination.entry.js +6 -6
- package/dist/esm/ix-pagination.entry.js.map +1 -1
- package/dist/esm/ix-pane-layout.entry.js +3 -3
- package/dist/esm/ix-pane-layout.entry.js.map +1 -1
- package/dist/esm/ix-pane.entry.js +8 -8
- package/dist/esm/ix-pane.entry.js.map +1 -1
- package/dist/esm/ix-pill.entry.js +6 -6
- package/dist/esm/ix-pill.entry.js.map +1 -1
- package/dist/esm/ix-playground-internal.entry.js +2 -2
- package/dist/esm/ix-playground-internal.entry.js.map +1 -1
- package/dist/esm/ix-push-card.entry.js +2 -2
- package/dist/esm/ix-radio-group.entry.js +112 -0
- package/dist/esm/ix-radio-group.entry.js.map +1 -0
- package/dist/esm/ix-radio.entry.js +92 -0
- package/dist/esm/ix-radio.entry.js.map +1 -0
- package/dist/esm/ix-select.entry.js +126 -46
- package/dist/esm/ix-select.entry.js.map +1 -1
- package/dist/esm/ix-slider.entry.js +10 -10
- package/dist/esm/ix-slider.entry.js.map +1 -1
- package/dist/esm/ix-split-button-item.entry.js +3 -3
- package/dist/esm/ix-split-button.entry.js +4 -3
- package/dist/esm/ix-split-button.entry.js.map +1 -1
- package/dist/esm/ix-tab-item_2.entry.js +8 -8
- package/dist/esm/ix-tab-item_2.entry.js.map +1 -1
- package/dist/esm/ix-text-field.entry.js +147 -0
- package/dist/esm/ix-text-field.entry.js.map +1 -0
- package/dist/esm/ix-textarea-field.entry.js +114 -0
- package/dist/esm/ix-textarea-field.entry.js.map +1 -0
- package/dist/esm/ix-tile.entry.js +6 -6
- package/dist/esm/ix-tile.entry.js.map +1 -1
- package/dist/esm/ix-time-picker.entry.js +5 -5
- package/dist/esm/ix-time-picker.entry.js.map +1 -1
- package/dist/esm/ix-toast-container.entry.js +4 -4
- package/dist/esm/ix-toast-container.entry.js.map +1 -1
- package/dist/esm/ix-toast.entry.js +4 -4
- package/dist/esm/ix-toast.entry.js.map +1 -1
- package/dist/esm/ix-toggle-button.entry.js +6 -6
- package/dist/esm/ix-toggle-button.entry.js.map +1 -1
- package/dist/esm/ix-toggle.entry.js +42 -5
- package/dist/esm/ix-toggle.entry.js.map +1 -1
- package/dist/esm/ix-tree-item.entry.js +6 -6
- package/dist/esm/ix-tree-item.entry.js.map +1 -1
- package/dist/esm/ix-tree.entry.js +2 -2
- 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 +5 -5
- package/dist/esm/ix-upload.entry.js.map +1 -1
- package/dist/esm/ix-validation-tooltip.entry.js +3 -3
- package/dist/esm/ix-workflow-step.entry.js +6 -6
- package/dist/esm/ix-workflow-step.entry.js.map +1 -1
- package/dist/esm/ix-workflow-steps.entry.js +3 -3
- package/dist/esm/ix-workflow-steps.entry.js.map +1 -1
- package/dist/esm/{listener-b87c1f3d.js → listener-98571ba8.js} +2 -2
- package/dist/esm/{listener-b87c1f3d.js.map → listener-98571ba8.js.map} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{make-ref-c80046bf.js → make-ref-6b3b4e16.js} +6 -1
- package/dist/esm/make-ref-6b3b4e16.js.map +1 -0
- package/dist/esm/{menu-tabs-fc-c72e41b6.js → menu-tabs-fc-7ec1fb5d.js} +4 -4
- package/dist/esm/{menu-tabs-fc-c72e41b6.js.map → menu-tabs-fc-7ec1fb5d.js.map} +1 -1
- package/dist/esm/siemens-ix.js +11 -11
- package/dist/esm/siemens-ix.js.map +1 -1
- package/dist/esm/text-field.util-6a84bffd.js +167 -0
- package/dist/esm/text-field.util-6a84bffd.js.map +1 -0
- package/dist/esm/validation-9db7dfa3.js +112 -0
- package/dist/esm/validation-9db7dfa3.js.map +1 -0
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/index.esm.js.map +1 -1
- package/dist/siemens-ix/p-02ed5606.entry.js +2 -0
- package/dist/siemens-ix/{p-4290098e.entry.js.map → p-02ed5606.entry.js.map} +1 -1
- package/dist/siemens-ix/p-0681f4d8.entry.js +2 -0
- package/dist/siemens-ix/{p-cbbe9dee.entry.js.map → p-0681f4d8.entry.js.map} +1 -1
- package/dist/siemens-ix/p-06965e5f.entry.js +2 -0
- package/dist/siemens-ix/{p-aa58d9d7.entry.js.map → p-06965e5f.entry.js.map} +1 -1
- package/dist/siemens-ix/p-08215ad3.entry.js +2 -0
- package/dist/siemens-ix/p-08215ad3.entry.js.map +1 -0
- package/dist/siemens-ix/p-0bed10af.entry.js +2 -0
- package/dist/siemens-ix/p-0d907964.entry.js +2 -0
- package/dist/siemens-ix/p-0dfc3b80.entry.js +2 -0
- package/dist/siemens-ix/p-104097fb.entry.js +2 -0
- package/dist/siemens-ix/{p-33538474.entry.js.map → p-104097fb.entry.js.map} +1 -1
- package/dist/siemens-ix/p-15a5bc5a.entry.js +2 -0
- package/dist/siemens-ix/p-15a5bc5a.entry.js.map +1 -0
- package/dist/siemens-ix/p-18d15442.entry.js +2 -0
- package/dist/siemens-ix/{p-add5b76c.entry.js.map → p-18d15442.entry.js.map} +1 -1
- package/dist/siemens-ix/p-1df98c59.entry.js +2 -0
- package/dist/siemens-ix/{p-8d156396.entry.js.map → p-1df98c59.entry.js.map} +1 -1
- package/dist/siemens-ix/p-1ec8d2b9.entry.js +2 -0
- package/dist/siemens-ix/{p-d08cbeaf.entry.js.map → p-1ec8d2b9.entry.js.map} +1 -1
- package/dist/siemens-ix/p-1f771917.entry.js +2 -0
- package/dist/siemens-ix/{p-c1bd5d78.entry.js.map → p-1f771917.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-ced10144.js → p-224ebf90.js} +2 -2
- package/dist/siemens-ix/p-235c14ca.js.map +1 -1
- package/dist/siemens-ix/p-2442ad01.entry.js +2 -0
- package/dist/siemens-ix/{p-902d1046.entry.js.map → p-2442ad01.entry.js.map} +1 -1
- package/dist/siemens-ix/p-277980fa.entry.js +2 -0
- package/dist/siemens-ix/p-277980fa.entry.js.map +1 -0
- package/dist/siemens-ix/{p-418959d3.entry.js → p-293dd6d1.entry.js} +2 -2
- package/dist/siemens-ix/p-35690183.entry.js +2 -0
- package/dist/siemens-ix/{p-96d2d21f.entry.js.map → p-35690183.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-114bb49b.entry.js → p-35fa9e1a.entry.js} +2 -2
- package/dist/siemens-ix/p-36c0f378.js +2 -0
- package/dist/siemens-ix/p-36c0f378.js.map +1 -0
- package/dist/siemens-ix/p-3730ac72.entry.js +2 -0
- package/dist/siemens-ix/{p-b475f567.entry.js.map → p-3730ac72.entry.js.map} +1 -1
- package/dist/siemens-ix/p-3782e028.js +2 -0
- package/dist/siemens-ix/p-3782e028.js.map +1 -0
- package/dist/siemens-ix/{p-e07d2623.js → p-37ca7ed4.js} +2 -2
- package/dist/siemens-ix/{p-e07d2623.js.map → p-37ca7ed4.js.map} +1 -1
- package/dist/siemens-ix/p-399bb0ce.entry.js +2 -0
- package/dist/siemens-ix/p-3a5f7b61.entry.js +2 -0
- package/dist/siemens-ix/{p-0a1bfcfc.entry.js.map → p-3a5f7b61.entry.js.map} +1 -1
- package/dist/siemens-ix/p-3b38f812.entry.js +2 -0
- package/dist/siemens-ix/{p-bdc57334.entry.js.map → p-3b38f812.entry.js.map} +1 -1
- package/dist/siemens-ix/p-3de71a19.entry.js +2 -0
- package/dist/siemens-ix/{p-75548c73.entry.js.map → p-3de71a19.entry.js.map} +1 -1
- package/dist/siemens-ix/p-4017727a.entry.js +2 -0
- package/dist/siemens-ix/p-4017727a.entry.js.map +1 -0
- package/dist/siemens-ix/p-42c66a44.js +2 -0
- package/dist/siemens-ix/p-42c66a44.js.map +1 -0
- package/dist/siemens-ix/p-4a335b55.entry.js +2 -0
- package/dist/siemens-ix/p-4a335b55.entry.js.map +1 -0
- package/dist/siemens-ix/p-4b69ab0d.entry.js +2 -0
- package/dist/siemens-ix/{p-a617e605.entry.js.map → p-4b69ab0d.entry.js.map} +1 -1
- package/dist/siemens-ix/p-504f43d4.entry.js +2 -0
- package/dist/siemens-ix/{p-23dd21b3.entry.js.map → p-504f43d4.entry.js.map} +1 -1
- package/dist/siemens-ix/p-50cae62d.entry.js +2 -0
- package/dist/siemens-ix/p-53e62b51.entry.js +2 -0
- package/dist/siemens-ix/p-56d01130.entry.js +2 -0
- package/dist/siemens-ix/p-56d01130.entry.js.map +1 -0
- package/dist/siemens-ix/p-576b09c9.entry.js +2 -0
- package/dist/siemens-ix/{p-9dabe2f7.entry.js.map → p-576b09c9.entry.js.map} +1 -1
- package/dist/siemens-ix/p-5924a783.entry.js +2 -0
- package/dist/siemens-ix/{p-2c6a35db.entry.js.map → p-5924a783.entry.js.map} +1 -1
- package/dist/siemens-ix/p-5a6d8b69.entry.js +2 -0
- package/dist/siemens-ix/p-5a6d8b69.entry.js.map +1 -0
- package/dist/siemens-ix/p-5bf40a9f.entry.js +2 -0
- package/dist/siemens-ix/p-5eb935a3.entry.js +2 -0
- package/dist/siemens-ix/p-5eb935a3.entry.js.map +1 -0
- package/dist/siemens-ix/p-61265df9.entry.js +2 -0
- package/dist/siemens-ix/{p-784fe260.entry.js.map → p-61265df9.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-01a8adf1.entry.js → p-628c8612.entry.js} +2 -2
- package/dist/siemens-ix/p-628f031a.entry.js +2 -0
- package/dist/siemens-ix/{p-021e1084.entry.js.map → p-628f031a.entry.js.map} +1 -1
- package/dist/siemens-ix/p-6bd0ba14.entry.js +2 -0
- package/dist/siemens-ix/p-6bd0ba14.entry.js.map +1 -0
- package/dist/siemens-ix/p-6c412b52.entry.js +2 -0
- package/dist/siemens-ix/{p-90c55341.entry.js.map → p-6c412b52.entry.js.map} +1 -1
- package/dist/siemens-ix/p-6ca97a73.entry.js +2 -0
- package/dist/siemens-ix/{p-3b8e4fe5.entry.js.map → p-6ca97a73.entry.js.map} +1 -1
- package/dist/siemens-ix/p-6f83793b.entry.js +2 -0
- package/dist/siemens-ix/p-6f83793b.entry.js.map +1 -0
- package/dist/siemens-ix/p-70a7bd22.entry.js +2 -0
- package/dist/siemens-ix/p-70a7bd22.entry.js.map +1 -0
- package/dist/siemens-ix/p-724b98ce.entry.js +2 -0
- package/dist/siemens-ix/{p-b24beb48.entry.js.map → p-724b98ce.entry.js.map} +1 -1
- package/dist/siemens-ix/p-73e0eb40.entry.js +2 -0
- package/dist/siemens-ix/p-73e0eb40.entry.js.map +1 -0
- package/dist/siemens-ix/p-75c61fbf.entry.js +2 -0
- package/dist/siemens-ix/{p-e0cab820.entry.js.map → p-75c61fbf.entry.js.map} +1 -1
- package/dist/siemens-ix/p-781a1922.entry.js +2 -0
- package/dist/siemens-ix/{p-b944d015.entry.js.map → p-781a1922.entry.js.map} +1 -1
- package/dist/siemens-ix/p-787293f4.entry.js +2 -0
- package/dist/siemens-ix/{p-e678bfc5.entry.js.map → p-787293f4.entry.js.map} +1 -1
- package/dist/siemens-ix/p-79c848ec.entry.js +2 -0
- package/dist/siemens-ix/{p-ecd3b070.entry.js.map → p-79c848ec.entry.js.map} +1 -1
- package/dist/siemens-ix/p-7f4b78e5.js +2 -0
- package/dist/siemens-ix/p-7f4b78e5.js.map +1 -0
- package/dist/siemens-ix/{p-08a5d45b.entry.js → p-80051a81.entry.js} +2 -2
- package/dist/siemens-ix/{p-08a5d45b.entry.js.map → p-80051a81.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-a6fbea5b.entry.js → p-815dd9a1.entry.js} +2 -2
- package/dist/siemens-ix/p-83b8b502.entry.js +2 -0
- package/dist/siemens-ix/{p-3b8ff673.entry.js.map → p-83b8b502.entry.js.map} +1 -1
- package/dist/siemens-ix/p-846cf6d2.entry.js +2 -0
- package/dist/siemens-ix/p-846cf6d2.entry.js.map +1 -0
- package/dist/siemens-ix/{p-330343e7.entry.js → p-86b46723.entry.js} +2 -2
- package/dist/siemens-ix/{p-330343e7.entry.js.map → p-86b46723.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-2637665e.entry.js → p-87d7aaf9.entry.js} +2 -2
- package/dist/siemens-ix/{p-4cf6e817.entry.js → p-8a9fc2f0.entry.js} +2 -2
- package/dist/siemens-ix/{p-4cf6e817.entry.js.map → p-8a9fc2f0.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-306c5ab2.entry.js → p-8d737a35.entry.js} +2 -2
- package/dist/siemens-ix/{p-306c5ab2.entry.js.map → p-8d737a35.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-f2a81e70.entry.js → p-8dcf30ce.entry.js} +2 -2
- package/dist/siemens-ix/{p-30e8a26a.entry.js → p-8e10d2f2.entry.js} +2 -2
- package/dist/siemens-ix/p-9010831e.entry.js +2 -0
- package/dist/siemens-ix/p-9010831e.entry.js.map +1 -0
- package/dist/siemens-ix/p-921c59c4.entry.js +2 -0
- package/dist/siemens-ix/{p-18a1c4dd.entry.js.map → p-921c59c4.entry.js.map} +1 -1
- package/dist/siemens-ix/p-934ae9a0.entry.js +2 -0
- package/dist/siemens-ix/{p-5f08da2c.entry.js.map → p-934ae9a0.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-6e1fdc40.entry.js → p-9569e1a2.entry.js} +2 -2
- package/dist/siemens-ix/{p-6e1fdc40.entry.js.map → p-9569e1a2.entry.js.map} +1 -1
- package/dist/siemens-ix/p-97f475db.entry.js +2 -0
- package/dist/siemens-ix/{p-f23e0121.entry.js.map → p-97f475db.entry.js.map} +1 -1
- package/dist/siemens-ix/p-9840f086.entry.js +2 -0
- package/dist/siemens-ix/{p-84b3b311.entry.js.map → p-9840f086.entry.js.map} +1 -1
- package/dist/siemens-ix/p-9cc0d11b.entry.js +2 -0
- package/dist/siemens-ix/{p-ed2ec72f.entry.js.map → p-9cc0d11b.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-0b7741b7.entry.js → p-9ec92185.entry.js} +2 -2
- package/dist/siemens-ix/p-9ec92185.entry.js.map +1 -0
- package/dist/siemens-ix/p-a9b0c087.entry.js +2 -0
- package/dist/siemens-ix/p-aae05303.entry.js +2 -0
- package/dist/siemens-ix/{p-ee20d08c.entry.js.map → p-aae05303.entry.js.map} +1 -1
- package/dist/siemens-ix/p-ac05950c.entry.js +2 -0
- package/dist/siemens-ix/{p-ec741c06.entry.js.map → p-ac05950c.entry.js.map} +1 -1
- package/dist/siemens-ix/p-ac6c6d3f.entry.js +2 -0
- package/dist/siemens-ix/p-ac6c6d3f.entry.js.map +1 -0
- package/dist/siemens-ix/p-aca94a5e.entry.js +2 -0
- package/dist/siemens-ix/p-aca94a5e.entry.js.map +1 -0
- package/dist/siemens-ix/p-ae7fdfa6.entry.js +2 -0
- package/dist/siemens-ix/{p-cf546284.entry.js.map → p-ae7fdfa6.entry.js.map} +1 -1
- package/dist/siemens-ix/p-b0fe18f7.entry.js +2 -0
- package/dist/siemens-ix/p-b0fe18f7.entry.js.map +1 -0
- package/dist/siemens-ix/p-b5c4fd55.entry.js +2 -0
- package/dist/siemens-ix/{p-ca65a043.entry.js.map → p-b5c4fd55.entry.js.map} +1 -1
- package/dist/siemens-ix/p-b6c0dfb5.entry.js +2 -0
- package/dist/siemens-ix/{p-04a362da.entry.js.map → p-b6c0dfb5.entry.js.map} +1 -1
- package/dist/siemens-ix/p-b789e0e7.entry.js +2 -0
- package/dist/siemens-ix/{p-6eb4eefc.entry.js.map → p-b789e0e7.entry.js.map} +1 -1
- package/dist/siemens-ix/p-b8ed7953.entry.js +2 -0
- package/dist/siemens-ix/{p-b35a627a.entry.js.map → p-b8ed7953.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-2c14670e.entry.js → p-b973db5e.entry.js} +2 -2
- package/dist/siemens-ix/p-b973db5e.entry.js.map +1 -0
- package/dist/siemens-ix/p-b9b59a08.entry.js +2 -0
- package/dist/siemens-ix/p-b9b59a08.entry.js.map +1 -0
- package/dist/siemens-ix/p-bc1e92ac.js +2 -0
- package/dist/siemens-ix/p-bd24bbde.entry.js +2 -0
- package/dist/siemens-ix/{p-2c14670e.entry.js.map → p-bd24bbde.entry.js.map} +1 -1
- package/dist/siemens-ix/p-c3db120e.entry.js +2 -0
- package/dist/siemens-ix/p-c66e4a5f.entry.js +2 -0
- package/dist/siemens-ix/p-c6dcff7e.entry.js +2 -0
- package/dist/siemens-ix/{p-e2464e13.entry.js.map → p-c6dcff7e.entry.js.map} +1 -1
- package/dist/siemens-ix/p-c71d1690.entry.js +2 -0
- package/dist/siemens-ix/p-c71d1690.entry.js.map +1 -0
- package/dist/siemens-ix/p-cce7a3d5.js +2 -0
- package/dist/siemens-ix/p-cce7a3d5.js.map +1 -0
- package/dist/siemens-ix/p-ce8a0611.entry.js +2 -0
- package/dist/siemens-ix/p-ce8a0611.entry.js.map +1 -0
- package/dist/siemens-ix/p-cf65d3b6.entry.js +2 -0
- package/dist/siemens-ix/p-cf65d3b6.entry.js.map +1 -0
- package/dist/siemens-ix/p-cfcd2bd3.entry.js +2 -0
- package/dist/siemens-ix/{p-4d57ca67.entry.js.map → p-cfcd2bd3.entry.js.map} +1 -1
- package/dist/siemens-ix/p-d7131f75.entry.js +2 -0
- package/dist/siemens-ix/{p-a147b152.entry.js.map → p-d7131f75.entry.js.map} +1 -1
- package/dist/siemens-ix/p-da8517ed.js +2 -0
- package/dist/siemens-ix/p-da8517ed.js.map +1 -0
- package/dist/siemens-ix/p-dde0af66.entry.js +2 -0
- package/dist/siemens-ix/{p-abb29515.entry.js.map → p-dde0af66.entry.js.map} +1 -1
- package/dist/siemens-ix/p-dead9c8e.js +2 -0
- package/dist/siemens-ix/p-dead9c8e.js.map +1 -0
- package/dist/siemens-ix/p-e1bd7b4f.entry.js +2 -0
- package/dist/siemens-ix/p-e1bd7b4f.entry.js.map +1 -0
- package/dist/siemens-ix/{p-fb55854a.entry.js → p-e5218382.entry.js} +2 -2
- package/dist/siemens-ix/p-e5218382.entry.js.map +1 -0
- package/dist/siemens-ix/{p-9dc3e182.entry.js → p-e72dfb3c.entry.js} +2 -2
- package/dist/siemens-ix/p-ec0806c3.entry.js +2 -0
- package/dist/siemens-ix/{p-a3ad98bc.entry.js.map → p-ec0806c3.entry.js.map} +1 -1
- package/dist/siemens-ix/p-ed991838.js +2 -0
- package/dist/siemens-ix/p-edd99767.entry.js +2 -0
- package/dist/siemens-ix/p-edd99767.entry.js.map +1 -0
- package/dist/siemens-ix/p-ef6171a2.entry.js +2 -0
- package/dist/siemens-ix/p-f0bbd496.entry.js +2 -0
- package/dist/siemens-ix/{p-e4e24f59.entry.js.map → p-f0bbd496.entry.js.map} +1 -1
- package/dist/siemens-ix/p-f22e4bb2.entry.js +2 -0
- package/dist/siemens-ix/p-f22e4bb2.entry.js.map +1 -0
- package/dist/siemens-ix/p-f37ac17d.entry.js +2 -0
- package/dist/siemens-ix/{p-18a27007.entry.js.map → p-f37ac17d.entry.js.map} +1 -1
- package/dist/siemens-ix/p-f3c3366d.entry.js +2 -0
- package/dist/siemens-ix/p-f86a894a.js +3 -0
- package/dist/siemens-ix/p-f86a894a.js.map +1 -0
- package/dist/siemens-ix/p-fad5daa1.entry.js +2 -0
- package/dist/siemens-ix/{p-bd576793.entry.js.map → p-fad5daa1.entry.js.map} +1 -1
- package/dist/siemens-ix/siemens-ix-core.css +1 -1
- package/dist/siemens-ix/siemens-ix.css +760 -157
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
- package/dist/siemens-ix/theme/classic-dark.css +1 -1
- package/dist/siemens-ix/theme/classic-light.css +1 -1
- package/dist/types/components/application-header/application-header.d.ts +2 -0
- package/dist/types/components/avatar/avatar.d.ts +2 -0
- package/dist/types/components/checkbox/checkbox.d.ts +61 -0
- package/dist/types/components/checkbox/tests/checkbox.ct.d.ts +1 -0
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +40 -0
- package/dist/types/components/chip/test/chip.ct.d.ts +1 -0
- package/dist/types/components/custom-field/custom-field.d.ts +46 -0
- package/dist/types/components/custom-field/tests/custom-field.ct.d.ts +1 -0
- package/dist/types/components/date-field/date-field.d.ts +127 -0
- package/dist/types/components/date-field/tests/date-field.ct.d.ts +1 -0
- package/dist/types/components/date-time-card/date-time-card.d.ts +1 -1
- package/dist/types/components/dropdown/dropdown-controller.d.ts +1 -0
- package/dist/types/components/dropdown-button/dropdown-button.ct.d.ts +1 -0
- package/dist/types/components/field-label/field-label.d.ts +27 -0
- package/dist/types/components/field-label/tests/field-label.ct.d.ts +1 -0
- package/dist/types/components/field-wrapper/field-wrapper.d.ts +64 -0
- package/dist/types/components/field-wrapper/helper-text-util.d.ts +11 -0
- package/dist/types/components/field-wrapper/tests/field-wrapper.ct.d.ts +1 -0
- package/dist/types/components/helper-text/helper-text.d.ts +37 -0
- package/dist/types/components/layout-form/layout-form.d.ts +22 -0
- package/dist/types/components/radio/radio.d.ts +53 -0
- package/dist/types/components/radio/test/radio.ct.d.ts +1 -0
- package/dist/types/components/radio-group/radio-group.d.ts +60 -0
- package/dist/types/components/radio-group/test/radio-group.ct.d.ts +1 -0
- package/dist/types/components/select/select.d.ts +84 -4
- package/dist/types/components/split-button/split-button.d.ts +6 -0
- package/dist/types/components/text-field/input.fc.d.ts +50 -0
- package/dist/types/components/text-field/number-field.d.ts +117 -0
- package/dist/types/components/text-field/tests/form-ready.ct.d.ts +1 -0
- package/dist/types/components/text-field/text-field.animation.d.ts +1 -0
- package/dist/types/components/text-field/text-field.d.ts +119 -0
- package/dist/types/components/text-field/text-field.util.d.ts +13 -0
- package/dist/types/components/text-field/textarea-field.d.ts +127 -0
- package/dist/types/components/toggle/toggle.d.ts +29 -1
- package/dist/types/components/utils/a11y.d.ts +5 -5
- package/dist/types/components/utils/attributes.d.ts +2 -0
- package/dist/types/components/utils/field/index.d.ts +60 -0
- package/dist/types/components/utils/field/validation.d.ts +15 -0
- package/dist/types/components/utils/testing/index.d.ts +0 -0
- package/dist/types/components/utils/uuid.d.ts +1 -0
- package/dist/types/components/workflow-step/workflow-step.d.ts +1 -1
- package/dist/types/components.d.ts +1741 -47
- package/dist/types/index.d.ts +1 -0
- package/dist/types/tests/utils/test/index.d.ts +3 -0
- package/hydrate/index.d.ts +218 -0
- package/hydrate/index.js +43475 -0
- package/hydrate/package.json +6 -0
- package/package.json +6 -5
- package/scss/components/form/_input.scss +56 -5
- package/scss/mixins/_field.scss +18 -0
- package/scss/mixins/_scrollbar.scss +7 -0
- package/scss/mixins/validation/_form-component.scss +63 -0
- package/scss/theme/classic-dark/_border.scss +1 -1
- package/scss/theme/classic-dark/_borderRadius.scss +1 -1
- package/scss/theme/classic-dark/_borderWidth.scss +1 -1
- package/scss/theme/classic-dark/_boxShadow.scss +1 -1
- package/scss/theme/classic-dark/_color.scss +320 -62
- package/scss/theme/classic-dark/_fontFamilies.scss +1 -1
- package/scss/theme/classic-dark/_fontSizes.scss +1 -1
- package/scss/theme/classic-dark/_fontWeights.scss +1 -1
- package/scss/theme/classic-dark/_index.scss +1 -1
- package/scss/theme/classic-dark/_letterSpacing.scss +1 -1
- package/scss/theme/classic-dark/_lineHeights.scss +1 -1
- package/scss/theme/classic-dark/_other.scss +1 -1
- package/scss/theme/classic-dark/_sizing.scss +1 -1
- package/scss/theme/classic-dark/_spacing.scss +1 -1
- package/scss/theme/classic-dark/_typography.scss +1 -1
- package/scss/theme/classic-light/_border.scss +1 -1
- package/scss/theme/classic-light/_borderRadius.scss +1 -1
- package/scss/theme/classic-light/_borderWidth.scss +1 -1
- package/scss/theme/classic-light/_boxShadow.scss +1 -1
- package/scss/theme/classic-light/_color.scss +320 -62
- package/scss/theme/classic-light/_fontFamilies.scss +1 -1
- package/scss/theme/classic-light/_fontSizes.scss +1 -1
- package/scss/theme/classic-light/_fontWeights.scss +1 -1
- package/scss/theme/classic-light/_index.scss +1 -1
- package/scss/theme/classic-light/_letterSpacing.scss +1 -1
- package/scss/theme/classic-light/_lineHeights.scss +1 -1
- package/scss/theme/classic-light/_other.scss +1 -1
- package/scss/theme/classic-light/_sizing.scss +1 -1
- package/scss/theme/classic-light/_spacing.scss +1 -1
- package/scss/theme/classic-light/_typography.scss +1 -1
- package/components/ix-form-field.js +0 -44
- package/components/ix-form-field.js.map +0 -1
- package/dist/cjs/a11y-d3ce56d1.js.map +0 -1
- package/dist/cjs/index-c6f0ac73.js +0 -2688
- package/dist/cjs/index-c6f0ac73.js.map +0 -1
- package/dist/cjs/ix-form-field.cjs.entry.js +0 -28
- package/dist/cjs/ix-form-field.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-tooltip.cjs.entry.js.map +0 -1
- package/dist/cjs/make-ref-c25629b7.js.map +0 -1
- package/dist/collection/components/form-field/form-field.js +0 -56
- package/dist/collection/components/form-field/form-field.js.map +0 -1
- package/dist/esm/a11y-d5444a76.js.map +0 -1
- package/dist/esm/index-f18c5ad1.js +0 -2656
- package/dist/esm/index-f18c5ad1.js.map +0 -1
- package/dist/esm/ix-form-field.entry.js +0 -24
- package/dist/esm/ix-form-field.entry.js.map +0 -1
- package/dist/esm/ix-tooltip.entry.js.map +0 -1
- package/dist/esm/make-ref-c80046bf.js.map +0 -1
- package/dist/siemens-ix/p-01b8b98c.entry.js +0 -2
- package/dist/siemens-ix/p-01b8b98c.entry.js.map +0 -1
- package/dist/siemens-ix/p-021e1084.entry.js +0 -2
- package/dist/siemens-ix/p-04a362da.entry.js +0 -2
- package/dist/siemens-ix/p-0a1bfcfc.entry.js +0 -2
- package/dist/siemens-ix/p-0b7741b7.entry.js.map +0 -1
- package/dist/siemens-ix/p-0fee2dd5.entry.js +0 -2
- package/dist/siemens-ix/p-0fee2dd5.entry.js.map +0 -1
- package/dist/siemens-ix/p-10f86b92.entry.js +0 -2
- package/dist/siemens-ix/p-10f86b92.entry.js.map +0 -1
- package/dist/siemens-ix/p-18a1c4dd.entry.js +0 -2
- package/dist/siemens-ix/p-18a27007.entry.js +0 -2
- package/dist/siemens-ix/p-1cc910b7.entry.js +0 -2
- package/dist/siemens-ix/p-213f16d5.entry.js +0 -2
- package/dist/siemens-ix/p-213f16d5.entry.js.map +0 -1
- package/dist/siemens-ix/p-23dd21b3.entry.js +0 -2
- package/dist/siemens-ix/p-2459f98f.entry.js +0 -2
- package/dist/siemens-ix/p-2459f98f.entry.js.map +0 -1
- package/dist/siemens-ix/p-26e9d40e.js +0 -3
- package/dist/siemens-ix/p-26e9d40e.js.map +0 -1
- package/dist/siemens-ix/p-2c6a35db.entry.js +0 -2
- package/dist/siemens-ix/p-2f4e6ac1.entry.js +0 -2
- package/dist/siemens-ix/p-2f4e6ac1.entry.js.map +0 -1
- package/dist/siemens-ix/p-33538474.entry.js +0 -2
- package/dist/siemens-ix/p-3b8e4fe5.entry.js +0 -2
- package/dist/siemens-ix/p-3b8ff673.entry.js +0 -2
- package/dist/siemens-ix/p-4290098e.entry.js +0 -2
- package/dist/siemens-ix/p-43a58a77.entry.js +0 -2
- package/dist/siemens-ix/p-43a58a77.entry.js.map +0 -1
- package/dist/siemens-ix/p-4d57ca67.entry.js +0 -2
- package/dist/siemens-ix/p-4f8ac3bf.js +0 -2
- package/dist/siemens-ix/p-4f8ac3bf.js.map +0 -1
- package/dist/siemens-ix/p-4fd11865.entry.js +0 -2
- package/dist/siemens-ix/p-52bb526e.entry.js +0 -2
- package/dist/siemens-ix/p-56bbdae4.entry.js +0 -2
- package/dist/siemens-ix/p-5d582c48.entry.js +0 -2
- package/dist/siemens-ix/p-5f08da2c.entry.js +0 -2
- package/dist/siemens-ix/p-601cfc6a.entry.js +0 -2
- package/dist/siemens-ix/p-601cfc6a.entry.js.map +0 -1
- package/dist/siemens-ix/p-64c3fa3d.js +0 -2
- package/dist/siemens-ix/p-64c3fa3d.js.map +0 -1
- package/dist/siemens-ix/p-678d821f.entry.js +0 -2
- package/dist/siemens-ix/p-6ea6396e.entry.js +0 -2
- package/dist/siemens-ix/p-6ea6396e.entry.js.map +0 -1
- package/dist/siemens-ix/p-6eb4eefc.entry.js +0 -2
- package/dist/siemens-ix/p-75548c73.entry.js +0 -2
- package/dist/siemens-ix/p-784fe260.entry.js +0 -2
- package/dist/siemens-ix/p-8362e966.js +0 -2
- package/dist/siemens-ix/p-84b3b311.entry.js +0 -2
- package/dist/siemens-ix/p-890d74cd.entry.js +0 -2
- package/dist/siemens-ix/p-8d156396.entry.js +0 -2
- package/dist/siemens-ix/p-902d1046.entry.js +0 -2
- package/dist/siemens-ix/p-90c55341.entry.js +0 -2
- package/dist/siemens-ix/p-96d2d21f.entry.js +0 -2
- package/dist/siemens-ix/p-9dabe2f7.entry.js +0 -2
- package/dist/siemens-ix/p-a147b152.entry.js +0 -2
- package/dist/siemens-ix/p-a35d02ea.entry.js +0 -2
- package/dist/siemens-ix/p-a3ad98bc.entry.js +0 -2
- package/dist/siemens-ix/p-a617e605.entry.js +0 -2
- package/dist/siemens-ix/p-a8838a77.js +0 -2
- package/dist/siemens-ix/p-a9d1ab94.entry.js +0 -2
- package/dist/siemens-ix/p-a9d1ab94.entry.js.map +0 -1
- package/dist/siemens-ix/p-aa58d9d7.entry.js +0 -2
- package/dist/siemens-ix/p-abb29515.entry.js +0 -2
- package/dist/siemens-ix/p-add5b76c.entry.js +0 -2
- package/dist/siemens-ix/p-b24beb48.entry.js +0 -2
- package/dist/siemens-ix/p-b32c2183.entry.js +0 -2
- package/dist/siemens-ix/p-b35a627a.entry.js +0 -2
- package/dist/siemens-ix/p-b475f567.entry.js +0 -2
- package/dist/siemens-ix/p-b7a8f2d5.entry.js +0 -2
- package/dist/siemens-ix/p-b944d015.entry.js +0 -2
- package/dist/siemens-ix/p-bc5d33ce.entry.js +0 -2
- package/dist/siemens-ix/p-bc5d33ce.entry.js.map +0 -1
- package/dist/siemens-ix/p-bd576793.entry.js +0 -2
- package/dist/siemens-ix/p-bdc57334.entry.js +0 -2
- package/dist/siemens-ix/p-c1bd5d78.entry.js +0 -2
- package/dist/siemens-ix/p-c3939d35.entry.js +0 -2
- package/dist/siemens-ix/p-ca65a043.entry.js +0 -2
- package/dist/siemens-ix/p-cbbe9dee.entry.js +0 -2
- package/dist/siemens-ix/p-ccf1bd22.entry.js +0 -2
- package/dist/siemens-ix/p-cf546284.entry.js +0 -2
- package/dist/siemens-ix/p-d08cbeaf.entry.js +0 -2
- package/dist/siemens-ix/p-d3f26126.entry.js +0 -2
- package/dist/siemens-ix/p-d3f26126.entry.js.map +0 -1
- package/dist/siemens-ix/p-d600ea55.entry.js +0 -2
- package/dist/siemens-ix/p-d600ea55.entry.js.map +0 -1
- package/dist/siemens-ix/p-d6a094cf.entry.js +0 -2
- package/dist/siemens-ix/p-d6a094cf.entry.js.map +0 -1
- package/dist/siemens-ix/p-def8b3a4.entry.js +0 -2
- package/dist/siemens-ix/p-def8b3a4.entry.js.map +0 -1
- package/dist/siemens-ix/p-e0cab820.entry.js +0 -2
- package/dist/siemens-ix/p-e2464e13.entry.js +0 -2
- package/dist/siemens-ix/p-e4e24f59.entry.js +0 -2
- package/dist/siemens-ix/p-e678bfc5.entry.js +0 -2
- package/dist/siemens-ix/p-ec741c06.entry.js +0 -2
- package/dist/siemens-ix/p-ecd3b070.entry.js +0 -2
- package/dist/siemens-ix/p-ed2ec72f.entry.js +0 -2
- package/dist/siemens-ix/p-ee20d08c.entry.js +0 -2
- package/dist/siemens-ix/p-f23e0121.entry.js +0 -2
- package/dist/siemens-ix/p-fb55854a.entry.js.map +0 -1
- package/dist/types/components/form-field/form-field.d.ts +0 -10
- /package/dist/siemens-ix/{p-1cc910b7.entry.js.map → p-0bed10af.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5d582c48.entry.js.map → p-0d907964.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b7a8f2d5.entry.js.map → p-0dfc3b80.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ced10144.js.map → p-224ebf90.js.map} +0 -0
- /package/dist/siemens-ix/{p-418959d3.entry.js.map → p-293dd6d1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-114bb49b.entry.js.map → p-35fa9e1a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-890d74cd.entry.js.map → p-399bb0ce.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a35d02ea.entry.js.map → p-50cae62d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c3939d35.entry.js.map → p-53e62b51.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-56bbdae4.entry.js.map → p-5bf40a9f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-01a8adf1.entry.js.map → p-628c8612.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a6fbea5b.entry.js.map → p-815dd9a1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2637665e.entry.js.map → p-87d7aaf9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f2a81e70.entry.js.map → p-8dcf30ce.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-30e8a26a.entry.js.map → p-8e10d2f2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-52bb526e.entry.js.map → p-a9b0c087.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a8838a77.js.map → p-bc1e92ac.js.map} +0 -0
- /package/dist/siemens-ix/{p-4fd11865.entry.js.map → p-c3db120e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ccf1bd22.entry.js.map → p-c66e4a5f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9dc3e182.entry.js.map → p-e72dfb3c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8362e966.js.map → p-ed991838.js.map} +0 -0
- /package/dist/siemens-ix/{p-678d821f.entry.js.map → p-ef6171a2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b32c2183.entry.js.map → p-f3c3366d.entry.js.map} +0 -0
|
@@ -2,9 +2,148 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0f6297c8.js');
|
|
6
|
+
const a11y = require('./a11y-32046b56.js');
|
|
7
|
+
const makeRef = require('./make-ref-01530e5a.js');
|
|
8
|
+
const helperTextUtil = require('./helper-text-util-9f617ef2.js');
|
|
6
9
|
const floatingUi_dom_esm = require('./floating-ui.dom.esm-94b4d17c.js');
|
|
7
|
-
const listener = require('./listener-
|
|
10
|
+
const listener = require('./listener-0881dc51.js');
|
|
11
|
+
require('./index-762a29a3.js');
|
|
12
|
+
|
|
13
|
+
function isIxInputFieldComponent(obj) {
|
|
14
|
+
return (obj &&
|
|
15
|
+
'getAssociatedFormElement' in obj &&
|
|
16
|
+
typeof obj.getAssociatedFormElement === 'function' &&
|
|
17
|
+
'getNativeInputElement' in obj &&
|
|
18
|
+
typeof obj.getNativeInputElement === 'function');
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
const fieldLabelCss = ":host{display:inline-block;position:relative;margin-top:0.5rem;margin-bottom:0.25rem}";
|
|
22
|
+
const IxFieldLabelStyle0 = fieldLabelCss;
|
|
23
|
+
|
|
24
|
+
const FormFieldLabel = class {
|
|
25
|
+
constructor(hostRef) {
|
|
26
|
+
index.registerInstance(this, hostRef);
|
|
27
|
+
this.observer = new MutationObserver(() => this.checkForRequired());
|
|
28
|
+
this.a11yAttributes = {};
|
|
29
|
+
this.labelRef = makeRef.makeRef();
|
|
30
|
+
this.required = undefined;
|
|
31
|
+
this.htmlFor = undefined;
|
|
32
|
+
this.controlRef = undefined;
|
|
33
|
+
}
|
|
34
|
+
connectedCallback() {
|
|
35
|
+
this.registerObserver();
|
|
36
|
+
}
|
|
37
|
+
disconnectedCallback() {
|
|
38
|
+
this.destroyObserver();
|
|
39
|
+
}
|
|
40
|
+
componentWillRender() {
|
|
41
|
+
this.checkForRequired();
|
|
42
|
+
}
|
|
43
|
+
componentWillLoad() {
|
|
44
|
+
this.a11yAttributes = a11y.a11yHostAttributes(this.hostElement);
|
|
45
|
+
}
|
|
46
|
+
destroyObserver() {
|
|
47
|
+
if (this.observer) {
|
|
48
|
+
this.observer.disconnect();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
registerObserver() {
|
|
52
|
+
if (typeof window === 'undefined') {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
this.destroyObserver();
|
|
56
|
+
if (!this.htmlFor) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
this.observer.observe(window.document, {
|
|
60
|
+
childList: true,
|
|
61
|
+
subtree: true,
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
async checkForRequired() {
|
|
65
|
+
if (this.htmlFor) {
|
|
66
|
+
const forElement = document.getElementById(this.htmlFor);
|
|
67
|
+
if (forElement && typeof forElement.required === 'boolean') {
|
|
68
|
+
this.required = forElement.required;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
if (this.controlRef) {
|
|
72
|
+
const input = await this.controlRef.waitForCurrent();
|
|
73
|
+
this.required = input.required;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
async focusOnClick() {
|
|
77
|
+
if (this.htmlFor) {
|
|
78
|
+
const target = document.getElementById(this.htmlFor);
|
|
79
|
+
if (target) {
|
|
80
|
+
let input = null;
|
|
81
|
+
if (isIxInputFieldComponent(target)) {
|
|
82
|
+
input = await target.getNativeInputElement();
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
input = target;
|
|
86
|
+
}
|
|
87
|
+
if (typeof input.focus === 'function') {
|
|
88
|
+
input.focus();
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
if (this.controlRef) {
|
|
93
|
+
(await this.controlRef.waitForCurrent()).focus();
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
render() {
|
|
97
|
+
return (index.h(index.Host, { key: '592ea81fa356fe38e4285116d8adea47b220dbd7', onClick: () => this.focusOnClick() }, index.h("label", Object.assign({ key: '2324be02438bc1807946b721a97c59b691d45db3', htmlFor: this.htmlFor }, this.a11yAttributes, { ref: this.labelRef }), index.h("ix-typography", { key: '3f4eeee6788394ee0afc92898f98284432213670', color: "soft", format: "label" }, index.h("slot", { key: '8a48ad5fe9ae212e0efb7cd9d507d5de3ef7ce99' }), this.required && index.h("span", { key: 'c387f27c7d1fef89f3ed5ecde0d113116a7b83fd' }, "\u00A0*")))));
|
|
98
|
+
}
|
|
99
|
+
get hostElement() { return index.getElement(this); }
|
|
100
|
+
static get watchers() { return {
|
|
101
|
+
"htmlFor": ["registerObserver"]
|
|
102
|
+
}; }
|
|
103
|
+
};
|
|
104
|
+
FormFieldLabel.style = IxFieldLabelStyle0;
|
|
105
|
+
|
|
106
|
+
const fieldWrapperCss = ":host{display:flex;position:relative;flex-direction:column}:host .slot-wrapper{display:flex;position:relative;align-items:center;justify-content:flex-start;gap:0.25rem}:host .field-bottom,:host .field-top{display:flex;flex-direction:row;position:relative;align-items:baseline;justify-content:space-between;gap:1rem;width:-moz-min-content;width:min-content;min-width:100%}:host .field-bottom .bottom-right{margin-left:auto;margin-right:0px}:host .bottom-text{display:flex;position:relative;align-items:flex-start;justify-content:flex-start;gap:0.25rem;margin-right:0.25rem}:host .text-icon{margin:0.125rem}:host .text-icon.invalid{color:var(--theme-helper-icon--color--invalid)}:host .text-icon.info{color:var(--theme-helper-icon--color--info)}:host .text-icon.warning{color:var(--theme-helper-icon--color--warning)}:host .text-icon.valid{color:var(--theme-helper-icon--color--valid)}:host .bottom-text{margin-top:0.25rem}:host(.text-behind-slotted-element){flex-direction:row;align-items:flex-start}:host(.text-behind-slotted-element) .bottom-text{margin-top:0.5rem;margin-left:0.5rem}";
|
|
107
|
+
const IxFieldWrapperStyle0 = fieldWrapperCss;
|
|
108
|
+
|
|
109
|
+
const FieldWrapper = class {
|
|
110
|
+
constructor(hostRef) {
|
|
111
|
+
index.registerInstance(this, hostRef);
|
|
112
|
+
this.slotRef = makeRef.makeRef();
|
|
113
|
+
this.helperText = undefined;
|
|
114
|
+
this.label = undefined;
|
|
115
|
+
this.invalidText = undefined;
|
|
116
|
+
this.validText = undefined;
|
|
117
|
+
this.infoText = undefined;
|
|
118
|
+
this.warningText = undefined;
|
|
119
|
+
this.isInvalid = false;
|
|
120
|
+
this.isValid = false;
|
|
121
|
+
this.isInfo = false;
|
|
122
|
+
this.isWarning = false;
|
|
123
|
+
this.showTextAsTooltip = false;
|
|
124
|
+
this.required = false;
|
|
125
|
+
this.htmlForLabel = undefined;
|
|
126
|
+
this.controlRef = undefined;
|
|
127
|
+
}
|
|
128
|
+
render() {
|
|
129
|
+
const textOptions = {
|
|
130
|
+
invalidText: this.invalidText,
|
|
131
|
+
isInvalid: this.isInvalid,
|
|
132
|
+
isValid: this.isValid,
|
|
133
|
+
validText: this.validText,
|
|
134
|
+
isWarning: this.isWarning,
|
|
135
|
+
warningText: this.warningText,
|
|
136
|
+
isInfo: this.isInfo,
|
|
137
|
+
infoText: this.infoText,
|
|
138
|
+
helperText: this.helperText,
|
|
139
|
+
};
|
|
140
|
+
return (index.h(index.Host, { key: 'abac5f314a561b000189c733e3f91a371dc3e4b7' }, index.h("div", { key: '007488d9b928ee7b5ad2f56a80860d32306ec77f', class: "field-top" }, this.label && (index.h("ix-field-label", { key: '13267ade8d55d0233160e9f796616d2e65999a34', required: this.required, htmlFor: this.htmlForLabel, controlRef: this.controlRef }, this.label)), index.h("slot", { key: '6b7c58e1ff035f8f3cfa4e0b7b0d7f9cbbd9c572', name: "label" }), index.h("slot", { key: 'f174f3f66045d74ad4e31d44dca9bf05f4e33db4', name: "top-right" })), index.h("div", { key: '08216ad8711e4df6df1177392fba6445b31fab87', class: {
|
|
141
|
+
'slot-wrapper': true,
|
|
142
|
+
}, ref: this.slotRef }, index.h("slot", { key: '10222a8ce126fadcf97e41610fc0b72f52330bd0' })), index.h("div", { key: '942bfe9452312713d3d63d56c4eede5711af4fde', class: 'field-bottom' }, !this.showTextAsTooltip && helperTextUtil.renderHelperText(textOptions), index.h("div", { key: '9ec72ec64106298218deb4d5be627a325e579936', class: "bottom-right" }, index.h("slot", { key: '5ec6a10b820193843cb29d1b09c77d3793799b35', name: "bottom-right" }))), this.showTextAsTooltip === true && (index.h("ix-tooltip", { key: '93eb798d342a4187e521f1072cf34f1e5cb9b5da', for: this.slotRef.waitForCurrent(), showDelay: 500 }, helperTextUtil.renderHelperText(textOptions)))));
|
|
143
|
+
}
|
|
144
|
+
get hostElement() { return index.getElement(this); }
|
|
145
|
+
};
|
|
146
|
+
FieldWrapper.style = IxFieldWrapperStyle0;
|
|
8
147
|
|
|
9
148
|
class OverlayController {
|
|
10
149
|
constructor() {
|
|
@@ -50,7 +189,7 @@ class TooltipController extends OverlayController {
|
|
|
50
189
|
}
|
|
51
190
|
const tooltipController = new TooltipController();
|
|
52
191
|
|
|
53
|
-
const tooltipCss = ":host{display:inline-block;position:fixed;left:0px;top:0px;z-index:var(--theme-z-index-tooltip);max-width:18.25rem;opacity:0;visibility:collapse !important;overflow-wrap:break-word;border-radius:0.25rem;background-color:var(--theme-tootlip--background);padding:0.375rem 0.75rem 0.375rem 0.875rem;box-shadow:var(--theme-shadow-4)}:host .tooltip-title{display:flex;align-items:center}:host .tooltip-title ::slotted(ix-icon){margin-right:0.35rem}:host(.visible){opacity:1;visibility:visible !important}:host(.visible) .arrow,:host(.visible) .arrow::before{position:absolute;width:
|
|
192
|
+
const tooltipCss = ":host{display:inline-block;position:fixed;left:0px;top:0px;z-index:var(--theme-z-index-tooltip);max-width:18.25rem;opacity:0;visibility:collapse !important;overflow-wrap:break-word;border-radius:0.25rem;background-color:var(--theme-tootlip--background);padding:0.375rem 0.75rem 0.375rem 0.875rem;box-shadow:var(--theme-shadow-4)}:host .tooltip-title{display:flex;align-items:center}:host .tooltip-title ::slotted(ix-icon){margin-right:0.35rem}:host(.visible){opacity:1;visibility:visible !important}:host(.visible) .arrow,:host(.visible) .arrow::before{position:absolute;width:12px;height:12px;background:inherit}:host(.visible) .arrow{visibility:hidden}:host(.visible) .arrow::before{visibility:visible;content:\"\";transform:rotate(45deg);background-color:var(--theme-tootlip--background)}";
|
|
54
193
|
const IxTooltipStyle0 = tooltipCss;
|
|
55
194
|
|
|
56
195
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -117,19 +256,19 @@ const Tooltip = class {
|
|
|
117
256
|
}
|
|
118
257
|
if (placement.startsWith('right')) {
|
|
119
258
|
return {
|
|
120
|
-
left: numberToPixel(-
|
|
259
|
+
left: numberToPixel(-6),
|
|
121
260
|
top: numberToPixel(y),
|
|
122
261
|
};
|
|
123
262
|
}
|
|
124
263
|
if (placement.startsWith('bottom')) {
|
|
125
264
|
return {
|
|
126
265
|
left: numberToPixel(x),
|
|
127
|
-
top: numberToPixel(-
|
|
266
|
+
top: numberToPixel(-6),
|
|
128
267
|
};
|
|
129
268
|
}
|
|
130
269
|
if (placement.startsWith('left')) {
|
|
131
270
|
return {
|
|
132
|
-
right: numberToPixel(-
|
|
271
|
+
right: numberToPixel(-6),
|
|
133
272
|
top: numberToPixel(y),
|
|
134
273
|
};
|
|
135
274
|
}
|
|
@@ -140,7 +279,7 @@ const Tooltip = class {
|
|
|
140
279
|
placement: this.placement,
|
|
141
280
|
middleware: [
|
|
142
281
|
floatingUi_dom_esm.shift(),
|
|
143
|
-
floatingUi_dom_esm.offset(
|
|
282
|
+
floatingUi_dom_esm.offset(12),
|
|
144
283
|
floatingUi_dom_esm.arrow({
|
|
145
284
|
element: this.arrowElement,
|
|
146
285
|
}),
|
|
@@ -281,9 +420,9 @@ const Tooltip = class {
|
|
|
281
420
|
this.visible = false;
|
|
282
421
|
}
|
|
283
422
|
render() {
|
|
284
|
-
return (index.h(index.Host, { key: '
|
|
423
|
+
return (index.h(index.Host, { key: 'b7883bd4b3b91669a26ec141c0958d639a5fc365', class: {
|
|
285
424
|
visible: this.visible,
|
|
286
|
-
}, role: "tooltip" }, index.h("div", { key: '
|
|
425
|
+
}, role: "tooltip" }, index.h("div", { key: '7fb4389e060ea8d471bf3e7527dd746ca3f3db76', class: 'tooltip-title' }, index.h("slot", { key: '7662951c4c88e1568fbc36b5b37a62d06e17a769', name: "title-icon" }), index.h("ix-typography", { key: '966e285db23cc9afe422ed13119568f538b8c82e', variant: "default-title" }, this.titleContent, index.h("slot", { key: 'e2a2b625877b2315f798f1b18a61d52f017c11a8', name: "title-content" }))), index.h("div", { key: '56c0c6a0b7cbc9f00e2b49c5ec3c49de1bda1de3', class: 'tooltip-content' }, index.h("slot", { key: 'be10f8350596f0420c530329ab30336bb99c654b' })), index.h("div", { key: '1abda75258f0c5d3a3c6c577a9f919e6a980b250', class: "arrow" })));
|
|
287
426
|
}
|
|
288
427
|
get hostElement() { return index.getElement(this); }
|
|
289
428
|
};
|
|
@@ -292,6 +431,8 @@ __decorate([
|
|
|
292
431
|
], Tooltip.prototype, "onKeydown", null);
|
|
293
432
|
Tooltip.style = IxTooltipStyle0;
|
|
294
433
|
|
|
434
|
+
exports.ix_field_label = FormFieldLabel;
|
|
435
|
+
exports.ix_field_wrapper = FieldWrapper;
|
|
295
436
|
exports.ix_tooltip = Tooltip;
|
|
296
437
|
|
|
297
|
-
//# sourceMappingURL=ix-
|
|
438
|
+
//# sourceMappingURL=ix-field-label_3.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-field-label.ix-field-wrapper.ix-tooltip.entry.cjs.js","mappings":";;;;;;;;;;;;SA8FgB,uBAAuB,CACrC,GAAgB;IAEhB,QACE,GAAG;QACH,0BAA0B,IAAI,GAAG;QACjC,OAAO,GAAG,CAAC,wBAAwB,KAAK,UAAU;QAClD,uBAAuB,IAAI,GAAG;QAC9B,OAAO,GAAG,CAAC,qBAAqB,KAAK,UAAU,EAC/C;AACJ;;ACxGA,MAAM,aAAa,GAAG,uFAAuF,CAAC;AAC9G,2BAAe,aAAa;;MCsBf,cAAc;;;QAgBjB,aAAQ,GAAG,IAAI,gBAAgB,CAAC,MAAM,IAAI,CAAC,gBAAgB,EAAE,CAAC,CAAC;QAC/D,mBAAc,GAAmB,EAAE,CAAC;QACpC,aAAQ,GAAGA,eAAO,EAAoB,CAAC;;;;;IAE/C,iBAAiB;QACf,IAAI,CAAC,gBAAgB,EAAE,CAAC;KACzB;IAED,oBAAoB;QAClB,IAAI,CAAC,eAAe,EAAE,CAAC;KACxB;IAED,mBAAmB;QACjB,IAAI,CAAC,gBAAgB,EAAE,CAAC;KACzB;IAED,iBAAiB;QACf,IAAI,CAAC,cAAc,GAAGC,uBAAkB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;KAC5D;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M,IAAI,EAAC,YAAY,GAAQ,EAC/BA,4EAAe,OAAO,EAAC,eAAe,IACnC,IAAI,CAAC,YAAY,EAClBA,mEAAM,IAAI,EAAC,eAAe,GAAQ,CACpB,CACZ,EACNA,kEAAK,KAAK,EAAE,iBAAiB,IAC3BA,oEAAa,CACT,EACNA,kEAAK,KAAK,EAAC,OAAO,GAAO,CACpB,EACP;KACH;;;AApEK;IADLS,mBAAU,CAAU,SAAS,EAAE,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,CAAC;wCAKtD;;;;;;;","names":["makeRef","a11yHostAttributes","h","Host","renderHelperText","computePosition","shift","offset","arrow","flip","autoUpdate","OnListener"],"sources":["src/components/utils/field/index.ts","src/components/field-label/field-label.scss?tag=ix-field-label&encapsulation=shadow","src/components/field-label/field-label.tsx","src/components/field-wrapper/field-wrapper.scss?tag=ix-field-wrapper&encapsulation=shadow","src/components/field-wrapper/field-wrapper.tsx","src/components/utils/overlay.ts","src/components/tooltip/tooltip-controller.ts","src/components/tooltip/tooltip.scss?tag=ix-tooltip&encapsulation=shadow","src/components/tooltip/tooltip.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 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 */\nimport { EventEmitter } from '@stencil/core';\nimport { IxComponent } from '../internal';\n\nexport * from './validation';\n\nexport interface FieldWrapperInterface {\n /**\n * Label for the field component\n */\n label?: string;\n /**\n * Show text below the field component which show additional information\n */\n helperText?: string;\n /**\n * Info text for the field component\n */\n infoText?: string;\n /**\n * Warning text for the field component\n */\n warningText?: string;\n /**\n * Error text for the field component\n */\n invalidText?: string;\n /**\n * Valid text for the field component\n */\n validText?: string;\n /**\n * Show helper, info, warning, error and valid text as tooltip\n */\n showTextAsTooltip?: boolean;\n}\n\nexport type HTMLIxFormComponentElement<T> = HTMLElement & IxFormComponent<T>;\nexport type HTMLIxInputFieldComponentElement<T> =\n HTMLIxFormComponentElement<T> & IxInputFieldComponent<T>;\n\nexport interface IxFormValidationState {\n // Annotate as @State()\n isInvalid: boolean;\n // Annotate as @State()\n isValid: boolean;\n // Annotate as @State()\n isInfo: boolean;\n // Annotate as @State()\n isWarning: boolean;\n}\n\nexport interface IxFormComponent<T = string> extends IxComponent {\n // Private internal\n formInternals: ElementInternals;\n\n // Annotate as @Prop({ reflect: true })\n required?: boolean;\n // Annotate as @Prop({ reflect: true })\n name?: string;\n // Annotate as @Prop()\n value?: T;\n // Annotate as @Prop()\n disabled: boolean;\n\n valueChange: EventEmitter<T>;\n updateFormInternalValue(value: T): void;\n hasValidValue(): Promise<boolean>;\n getValidityState?(): Promise<ValidityState>;\n getAssociatedFormElement(): Promise<HTMLFormElement | null>;\n}\n\nexport interface IxInputFieldComponent<T = string>\n extends IxFormComponent<T>,\n IxFormValidationState,\n FieldWrapperInterface {\n // Annotate as @Prop()\n placeholder?: string;\n // Annotate as @Prop()\n readonly: boolean;\n\n ixBlur: EventEmitter<void>;\n\n // Annotate as @Method()\n getNativeInputElement(): Promise<HTMLInputElement | HTMLTextAreaElement>;\n}\n\nexport function isIxInputFieldComponent(\n obj: HTMLElement\n): obj is HTMLIxInputFieldComponentElement<unknown> {\n return (\n obj &&\n 'getAssociatedFormElement' in obj &&\n typeof obj.getAssociatedFormElement === 'function' &&\n 'getNativeInputElement' in obj &&\n typeof obj.getNativeInputElement === 'function'\n );\n}\n","/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: inline-block;\n position: relative;\n\n margin-top: 0.5rem;\n margin-bottom: 0.25rem;\n}\n","/*\n * SPDX-FileCopyrightText: 2024 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, Host, Prop, h, Element, Watch } from '@stencil/core';\nimport { IxComponent } from '../utils/internal';\nimport {\n HTMLIxFormComponentElement,\n isIxInputFieldComponent,\n} from '../utils/field';\nimport { A11yAttributes, a11yHostAttributes } from '../utils/a11y';\nimport { MakeRef, makeRef } from '../utils/make-ref';\n\n@Component({\n tag: 'ix-field-label',\n styleUrl: 'field-label.scss',\n shadow: true,\n})\nexport class FormFieldLabel implements IxComponent {\n @Element() hostElement!: HTMLIxFieldLabelElement;\n\n /**\n * A value is required or must be checked for the form to be submittable\n */\n @Prop({ reflect: true, mutable: true }) required?: boolean;\n\n /**\n * The id of the form element that the label is associated with\n */\n @Prop({ reflect: true }) htmlFor?: string;\n\n /** @internal */\n @Prop() controlRef?: MakeRef<HTMLElement>;\n\n private observer = new MutationObserver(() => this.checkForRequired());\n private a11yAttributes: A11yAttributes = {};\n private labelRef = makeRef<HTMLLabelElement>();\n\n connectedCallback() {\n this.registerObserver();\n }\n\n disconnectedCallback(): void {\n this.destroyObserver();\n }\n\n componentWillRender() {\n this.checkForRequired();\n }\n\n componentWillLoad(): void | Promise<void> {\n this.a11yAttributes = a11yHostAttributes(this.hostElement);\n }\n\n private destroyObserver() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n @Watch('htmlFor')\n private registerObserver() {\n if (typeof window === 'undefined') {\n return;\n }\n\n this.destroyObserver();\n\n if (!this.htmlFor) {\n return;\n }\n\n this.observer.observe(window.document, {\n childList: true,\n subtree: true,\n });\n }\n\n private async checkForRequired() {\n if (this.htmlFor) {\n const forElement = document.getElementById(\n this.htmlFor\n ) as HTMLIxFormComponentElement<unknown>;\n if (forElement && typeof forElement.required === 'boolean') {\n this.required = forElement.required;\n }\n }\n\n if (this.controlRef) {\n const input = await this.controlRef.waitForCurrent();\n this.required = (\n input as HTMLInputElement | HTMLTextAreaElement\n ).required;\n }\n }\n\n private async focusOnClick() {\n if (this.htmlFor) {\n const target = document.getElementById(this.htmlFor);\n if (target) {\n let input: HTMLElement | null = null;\n if (isIxInputFieldComponent(target)) {\n input = await target.getNativeInputElement();\n } else {\n input = target;\n }\n if (typeof input.focus === 'function') {\n input.focus();\n }\n }\n }\n\n if (this.controlRef) {\n (await this.controlRef.waitForCurrent()).focus();\n }\n }\n\n render() {\n return (\n <Host onClick={() => this.focusOnClick()}>\n <label\n htmlFor={this.htmlFor}\n {...this.a11yAttributes}\n ref={this.labelRef}\n >\n <ix-typography color=\"soft\" format=\"label\">\n <slot></slot>\n {this.required && <span> *</span>}\n </ix-typography>\n </label>\n </Host>\n );\n }\n}\n","@import \"./field-wrapper.mixins.scss\";\n\n:host {\n display: flex;\n position: relative;\n flex-direction: column;\n\n .slot-wrapper {\n display: flex;\n position: relative;\n align-items: center;\n justify-content: flex-start;\n gap: 0.25rem;\n }\n\n .field-bottom,\n .field-top {\n display: flex;\n flex-direction: row;\n position: relative;\n align-items: baseline;\n justify-content: space-between;\n gap: 1rem;\n width: min-content;\n min-width: 100%;\n }\n\n .field-bottom .bottom-right {\n margin-left: auto;\n margin-right: 0px;\n }\n\n @include helper-text;\n\n .bottom-text {\n margin-top: 0.25rem;\n }\n}\n\n:host(.text-behind-slotted-element) {\n flex-direction: row;\n align-items: flex-start;\n\n .bottom-text {\n margin-top: 0.5rem;\n margin-left: 0.5rem;\n }\n}\n","import { Component, Element, Host, Prop, h } from '@stencil/core';\nimport { FieldWrapperInterface } from '../utils/field';\nimport { MakeRef, makeRef } from '../utils/make-ref';\nimport { renderHelperText } from './helper-text-util';\n\n/** @internal */\n@Component({\n tag: 'ix-field-wrapper',\n styleUrl: 'field-wrapper.scss',\n shadow: true,\n})\nexport class FieldWrapper implements FieldWrapperInterface {\n @Element() hostElement!: HTMLIxFieldWrapperElement;\n\n /**\n * Show text below the field component\n */\n @Prop() helperText?: string;\n\n /**\n * Label for the field component\n */\n @Prop() label?: string;\n\n /**\n * Error text for the field component\n */\n @Prop() invalidText?: string;\n\n /**\n * Valid text for the field component\n */\n @Prop() validText?: string;\n\n /**\n * Info text for the field component\n */\n @Prop() infoText?: string;\n\n /**\n * Warning text for the field component\n */\n @Prop() warningText?: string;\n\n /**\n * Is the field component invalid\n */\n @Prop() isInvalid: boolean = false;\n\n /**\n * Is the field component valid\n */\n @Prop() isValid: boolean = false;\n\n /**\n * Is the field component info\n */\n @Prop() isInfo: boolean = false;\n\n /**\n * Is the field component warning\n */\n @Prop() isWarning: boolean = false;\n\n /**\n * Show helper, error, info, warning text as tooltip\n */\n @Prop() showTextAsTooltip: boolean = false;\n\n /**\n * Show label as required\n */\n @Prop() required: boolean = false;\n\n /**\n * The id of the form element that the label is associated with\n */\n @Prop() htmlForLabel?: string;\n\n /**\n * The control element that the label is associated with\n */\n @Prop() controlRef?: MakeRef<HTMLElement>;\n\n private slotRef = makeRef<HTMLDivElement>();\n\n render() {\n const textOptions = {\n invalidText: this.invalidText,\n isInvalid: this.isInvalid,\n isValid: this.isValid,\n validText: this.validText,\n isWarning: this.isWarning,\n warningText: this.warningText,\n isInfo: this.isInfo,\n infoText: this.infoText,\n helperText: this.helperText,\n };\n return (\n <Host>\n <div class=\"field-top\">\n {this.label && (\n <ix-field-label\n required={this.required}\n htmlFor={this.htmlForLabel}\n controlRef={this.controlRef}\n >\n {this.label}\n </ix-field-label>\n )}\n <slot name=\"label\"></slot>\n <slot name=\"top-right\"></slot>\n </div>\n <div\n class={{\n 'slot-wrapper': true,\n }}\n ref={this.slotRef}\n >\n <slot></slot>\n </div>\n <div class={'field-bottom'}>\n {!this.showTextAsTooltip && renderHelperText(textOptions)}\n <div class=\"bottom-right\">\n <slot name=\"bottom-right\"></slot>\n </div>\n </div>\n {this.showTextAsTooltip === true && (\n <ix-tooltip for={this.slotRef.waitForCurrent()} showDelay={500}>\n {renderHelperText(textOptions)}\n </ix-tooltip>\n )}\n </Host>\n );\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2024 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 */\nimport { IxComponent } from '../utils/internal';\n\nexport interface IxOverlayComponent extends IxComponent {\n isPresent(): boolean;\n\n willPresent?(): boolean;\n willDismiss?(): boolean;\n\n present(): void;\n dismiss(): void;\n}\n\nexport class OverlayController {\n overlays: Set<IxOverlayComponent> = new Set();\n\n connected(instance: IxOverlayComponent): void {\n this.overlays.add(instance);\n }\n\n disconnected(instance: IxOverlayComponent): void {\n this.overlays.delete(instance);\n }\n\n present(instance: IxOverlayComponent): void {\n if (instance.willPresent && !instance.willPresent()) {\n return;\n }\n this.dismissOthers(instance);\n instance.present();\n }\n\n dismiss(instance: IxOverlayComponent): void {\n if (instance.willDismiss && !instance.willDismiss()) {\n return;\n }\n instance.dismiss();\n }\n\n private dismissOthers(instance: IxOverlayComponent): void {\n this.overlays.forEach((overlay) => {\n if (overlay !== instance) {\n this.dismiss(overlay);\n }\n });\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2024 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 { OverlayController } from '../utils/overlay';\n\nclass TooltipController extends OverlayController {}\n\nexport const tooltipController = new TooltipController();\n",":host {\n display: inline-block;\n position: fixed;\n left: 0px;\n top: 0px;\n z-index: var(--theme-z-index-tooltip);\n\n max-width: 18.25rem;\n\n opacity: 0;\n visibility: collapse !important;\n overflow-wrap: break-word;\n\n border-radius: 0.25rem;\n background-color: var(--theme-tootlip--background);\n padding: 0.375rem 0.75rem 0.375rem 0.875rem;\n\n box-shadow: var(--theme-shadow-4);\n\n .tooltip-title {\n display: flex;\n align-items: center;\n\n ::slotted(ix-icon) {\n margin-right: 0.35rem;\n }\n }\n}\n\n:host(.visible) {\n opacity: 1;\n visibility: visible !important;\n}\n\n:host(.visible) {\n .arrow,\n .arrow::before {\n position: absolute;\n width: 12px;\n height: 12px;\n background: inherit;\n }\n\n .arrow {\n visibility: hidden;\n }\n\n .arrow::before {\n visibility: visible;\n content: '';\n transform: rotate(45deg);\n background-color: var(--theme-tootlip--background);\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 */\nimport {\n arrow,\n autoUpdate,\n computePosition,\n ComputePositionReturn,\n flip,\n offset,\n shift,\n} from '@floating-ui/dom';\nimport {\n Component,\n Element,\n h,\n Host,\n Method,\n Prop,\n State,\n} from '@stencil/core';\nimport { OnListener } from '../utils/listener';\nimport { tooltipController } from './tooltip-controller';\nimport { IxOverlayComponent } from '../utils/overlay';\n\ntype ArrowPosition = {\n top?: string;\n left?: string;\n right?: string;\n};\n\nconst numberToPixel = (value: number) => (value != null ? `${value}px` : '');\n\n/**\n * @slot title-icon - Icon of tooltip title\n * @slot title-content - Content of tooltip title\n *\n * @since 1.4.0\n */\n@Component({\n tag: 'ix-tooltip',\n styleUrl: 'tooltip.scss',\n shadow: true,\n})\nexport class Tooltip implements IxOverlayComponent {\n /**\n * CSS selector for hover trigger element e.g. `for=\"[data-my-custom-select]\"`\n */\n @Prop() for: string | HTMLElement | Promise<HTMLElement>;\n\n /**\n * Title of the tooltip\n */\n @Prop() titleContent: string;\n\n /**\n * Define if the user can access the tooltip via mouse.\n */\n @Prop() interactive = false;\n\n /**\n * Initial placement of the tooltip. If the placement don\"t have enough space,\n * the tooltip will placed on another location.\n *\n * @since 1.5.0\n */\n @Prop() placement: 'top' | 'right' | 'bottom' | 'left' = 'top';\n\n /** @internal */\n @Prop() showDelay = 0;\n\n /** @internal */\n @Prop() hideDelay = 50;\n\n /** @internal */\n @Prop() animationFrame = false;\n\n @State() visible = false;\n\n @Element() hostElement: HTMLIxTooltipElement;\n\n private observer: MutationObserver;\n private hideTooltipTimeout: NodeJS.Timeout;\n private showTooltipTimeout: NodeJS.Timeout;\n private disposeAutoUpdate?: () => void;\n private disposeListener: () => void;\n\n private get arrowElement(): HTMLElement {\n return this.hostElement.shadowRoot.querySelector('.arrow');\n }\n\n private destroyAutoUpdate() {\n if (this.disposeAutoUpdate !== undefined) {\n this.disposeAutoUpdate();\n }\n }\n\n /** @internal */\n @Method()\n async showTooltip(anchorElement: any) {\n clearTimeout(this.hideTooltipTimeout);\n await this.applyTooltipPosition(anchorElement);\n\n this.showTooltipTimeout = setTimeout(() => {\n tooltipController.present(this);\n // Need to compute and apply tooltip position after initial render,\n // because arrow has no valid bounding rect before that\n this.applyTooltipPosition(anchorElement);\n }, this.showDelay);\n }\n\n /** @internal */\n @Method()\n async hideTooltip() {\n clearTimeout(this.showTooltipTimeout);\n let hideDelay = 50;\n\n if (this.interactive && this.hideDelay === hideDelay) {\n hideDelay = 150;\n }\n\n this.hideTooltipTimeout = setTimeout(() => {\n tooltipController.dismiss(this);\n }, hideDelay);\n this.destroyAutoUpdate();\n }\n\n private computeArrowPosition({\n placement,\n middlewareData,\n }: ComputePositionReturn): ArrowPosition {\n let { x, y } = middlewareData.arrow;\n\n if (placement.startsWith('top')) {\n return {\n left: numberToPixel(x),\n top: numberToPixel(y),\n };\n }\n\n if (placement.startsWith('right')) {\n return {\n left: numberToPixel(-6),\n top: numberToPixel(y),\n };\n }\n\n if (placement.startsWith('bottom')) {\n return {\n left: numberToPixel(x),\n top: numberToPixel(-6),\n };\n }\n\n if (placement.startsWith('left')) {\n return {\n right: numberToPixel(-6),\n top: numberToPixel(y),\n };\n }\n }\n\n private async computeTooltipPosition(target: Element) {\n const computeResponse = await computePosition(target, this.hostElement, {\n strategy: 'fixed',\n placement: this.placement,\n middleware: [\n shift(),\n offset(12),\n arrow({\n element: this.arrowElement,\n }),\n flip({\n fallbackStrategy: 'initialPlacement',\n padding: 10,\n }),\n ],\n });\n return computeResponse;\n }\n\n private applyTooltipArrowPosition(computeResponse: ComputePositionReturn) {\n const arrowPosition = this.computeArrowPosition(computeResponse);\n Object.assign(this.arrowElement.style, arrowPosition);\n }\n\n private async applyTooltipPosition(target: Element) {\n if (!target) {\n return;\n }\n\n return new Promise<ComputePositionReturn>((resolve) => {\n this.disposeAutoUpdate = autoUpdate(\n target,\n this.hostElement,\n async () => {\n setTimeout(async () => {\n const computeResponse = await this.computeTooltipPosition(target);\n\n if (computeResponse.middlewareData.arrow) {\n this.applyTooltipArrowPosition(computeResponse);\n }\n\n const { x, y } = computeResponse;\n Object.assign(this.hostElement.style, {\n left: x !== null ? `${x}px` : '',\n top: y !== null ? `${y}px` : '',\n });\n\n resolve(computeResponse);\n });\n },\n {\n ancestorResize: true,\n ancestorScroll: true,\n elementResize: true,\n animationFrame: this.animationFrame,\n }\n );\n });\n }\n\n private clearHideTimeout() {\n if (this.interactive) {\n clearTimeout(this.hideTooltipTimeout);\n }\n }\n\n private async queryAnchorElements(): Promise<Array<HTMLElement> | undefined> {\n if (typeof this.for === 'string') {\n return Promise.resolve(Array.from(document.querySelectorAll(this.for)));\n }\n\n if (this.for instanceof HTMLElement) {\n return Promise.resolve([this.for]);\n }\n\n if (this.for instanceof Promise) {\n const element = await this.for;\n return [element];\n }\n }\n\n private async registerTriggerListener() {\n const triggerElementList = await this.queryAnchorElements();\n\n if (this.disposeListener) {\n this.disposeListener();\n }\n\n if (!triggerElementList) {\n return;\n }\n\n triggerElementList.forEach((element) => {\n const onMouseEnter = () => {\n this.showTooltip(element);\n };\n\n const onMouseLeave = () => {\n this.hideTooltip();\n };\n\n const onFocusIn = () => {\n if (this.showTooltipTimeout !== undefined) {\n clearTimeout(this.showTooltipTimeout);\n }\n\n onMouseEnter();\n };\n\n const onFocusOut = () => {\n this.hideTooltip();\n };\n\n element.addEventListener('mouseenter', onMouseEnter);\n element.addEventListener('mouseleave', onMouseLeave);\n element.addEventListener('focusin', onFocusIn);\n element.addEventListener('focusout', onFocusOut);\n\n this.disposeListener = () => {\n element.removeEventListener('mouseenter', onMouseEnter);\n element.removeEventListener('mouseleave', onMouseLeave);\n element.removeEventListener('focusin', onFocusIn);\n element.removeEventListener('focusout', onFocusOut);\n };\n });\n }\n\n private registerTooltipListener() {\n const { hostElement } = this;\n hostElement.addEventListener('mouseenter', () => this.clearHideTimeout());\n hostElement.addEventListener('focusin', () => this.clearHideTimeout());\n\n hostElement.addEventListener('mouseleave', () => this.hideTooltip());\n hostElement.addEventListener('focusout', () => this.hideTooltip());\n }\n\n @OnListener<Tooltip>('keydown', (self) => self.visible)\n async onKeydown(event: KeyboardEvent) {\n if (event.code === 'Escape') {\n this.hideTooltip();\n }\n }\n\n componentWillLoad() {\n this.registerTriggerListener();\n }\n\n componentDidLoad() {\n this.observer = new MutationObserver(() => {\n this.registerTriggerListener();\n });\n\n this.observer.observe(document.body, {\n attributes: true,\n attributeFilter: ['data-ix-tooltip'],\n childList: true,\n subtree: true,\n });\n\n this.registerTooltipListener();\n }\n\n connectedCallback() {\n tooltipController.connected(this);\n }\n\n disconnectedCallback() {\n this.observer?.disconnect();\n this.destroyAutoUpdate();\n tooltipController.disconnected(this);\n }\n\n isPresent(): boolean {\n return this.visible;\n }\n\n present(): void {\n this.visible = true;\n }\n\n dismiss(): void {\n this.visible = false;\n }\n\n render() {\n return (\n <Host\n class={{\n visible: this.visible,\n }}\n role=\"tooltip\"\n >\n <div class={'tooltip-title'}>\n <slot name=\"title-icon\"></slot>\n <ix-typography variant=\"default-title\">\n {this.titleContent}\n <slot name=\"title-content\"></slot>\n </ix-typography>\n </div>\n <div class={'tooltip-content'}>\n <slot></slot>\n </div>\n <div class=\"arrow\"></div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0f6297c8.js');
|
|
6
6
|
|
|
7
|
-
const filterChipCss = ":host{display:inline-flex;align-items:center;justify-content:space-between;height:1.5rem;padding-left:0.5rem;border:var(--theme-focus--border-thickness) solid var(--theme-chip-primary-outline--border-color);border-radius:2rem;background-color:var(--theme-color-ghost);color:var(--theme-chip-primary-outline--color)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .slot-container :host-context(.disabled){background-color:var(--theme-color-ghost);border-color:var(--theme-color-component-4);color:var(--theme-color-weak-text)}:host ix-icon-button{height:1.5rem;margin-left:0.25rem}:host ix-icon-button:not(.disabled):not(:disabled):focus-visible{outline:none}:host(.disabled){border:var(--theme-focus--border-thickness) solid var(--theme-color-component-4);color:var(--theme-color-weak-text);padding-right:0.5rem;cursor:default}:host(.readonly){padding-right:0.5rem}:host(:not(.disabled):not(:disabled)){cursor:pointer}:host(:hover:not(.disabled):not(:disabled)){background-color:var(--theme-color-ghost-primary--hover);border-color:var(--theme-chip-primary-outline--border-color--hover);color:var(--theme-chip-primary-outline--color--hover)}:host(:not(.disabled):not(:disabled)){cursor:pointer}:host(:active:not(.disabled):not(:disabled)){background-color:var(--theme-color-ghost-primary--active);border-color:var(--theme-chip-primary-outline--border-color--active);color:var(--theme-chip-primary-outline--color--active)}:host(:focus-visible:not(.disabled):not(:disabled)){outline:var(--theme-color-focus-bdr) solid var(--theme-focus--border-thickness);outline-offset:-0.125rem}";
|
|
7
|
+
const filterChipCss = ":host{display:inline-flex;align-items:center;justify-content:space-between;height:1.5rem;padding-left:0.5rem;border:var(--theme-focus--border-thickness) solid var(--theme-chip-primary-outline--border-color);border-radius:2rem;background-color:var(--theme-color-ghost);color:var(--theme-chip-primary-outline--color)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .slot-container :host-context(.disabled){background-color:var(--theme-color-ghost);border-color:var(--theme-color-component-4);color:var(--theme-color-weak-text)}:host ix-icon-button{height:1.5rem;margin-left:0.25rem}:host ix-icon-button:not(.disabled):not(:disabled):focus-visible{outline:none}:host(.disabled){border:var(--theme-focus--border-thickness) solid var(--theme-color-component-4);color:var(--theme-color-weak-text);padding-right:0.5rem;cursor:default}:host(.readonly){padding-right:0.5rem}:host(:not(.disabled):not(:disabled)){cursor:pointer}:host(:hover:not(.disabled):not(:disabled)){background-color:var(--theme-color-ghost-primary--hover);border-color:var(--theme-chip-primary-outline--border-color--hover);color:var(--theme-chip-primary-outline--color--hover)}:host(:not(.disabled):not(:disabled)){cursor:pointer}:host(:active:not(.disabled):not(:disabled)){background-color:var(--theme-color-ghost-primary--active);border-color:var(--theme-chip-primary-outline--border-color--active);color:var(--theme-chip-primary-outline--color--active)}:host(:focus-visible:not(.disabled):not(:disabled)){outline:var(--theme-color-focus-bdr) solid var(--theme-focus--border-thickness);outline-offset:-0.125rem}";
|
|
8
8
|
const IxFilterChipStyle0 = filterChipCss;
|
|
9
9
|
|
|
10
10
|
const FilterChip = class {
|
|
@@ -20,7 +20,7 @@ const FilterChip = class {
|
|
|
20
20
|
this.closeClick.emit();
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (index.h(index.Host, { key: '
|
|
23
|
+
return (index.h(index.Host, { key: 'bf35dffa46aa0bada710873d7c0c5fbf4d43f990', class: { disabled: this.disabled, readonly: this.readonly }, title: this.el.textContent }, index.h("div", { key: '15ab4708d5b565fc01f9669749b5a69b195b5246', class: "slot-container" }, index.h("slot", { key: 'aaa388917c566ffa54b320a28eb9001ef3de8aa7' })), !this.disabled && !this.readonly ? (index.h("ix-icon-button", { ghost: true, oval: true, icon: 'close-small', size: "16", tabindex: this.disabled ? -1 : 0, variant: "primary", disabled: this.disabled, onClick: (e) => this.onCloseClick(e) })) : null));
|
|
24
24
|
}
|
|
25
25
|
get el() { return index.getElement(this); }
|
|
26
26
|
};
|
|
@@ -83,7 +83,7 @@ const SelectItem = class {
|
|
|
83
83
|
}));
|
|
84
84
|
}
|
|
85
85
|
render() {
|
|
86
|
-
return (index.h(index.Host, { key: '
|
|
86
|
+
return (index.h(index.Host, { key: '37ee480d0d9be8cd0df7ae5da8b841aa0da94d18' }, index.h("ix-dropdown-item", { key: 'a9566d4bb0c0586bbf592f9b3f971cb117213c9a', class: {
|
|
87
87
|
'select-item-checked': this.selected,
|
|
88
88
|
}, checked: this.selected, label: this.label ? this.label : this.value, onItemClick: (e) => this.onItemClick(e) })));
|
|
89
89
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"ix-filter-chip.ix-select-item.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,aAAa,GAAG,
|
|
1
|
+
{"file":"ix-filter-chip.ix-select-item.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,aAAa,GAAG,00EAA00E,CAAC;AACj2E,2BAAe,aAAa;;MCuBf,UAAU;;;;wBAMF,KAAK;wBAML,KAAK;;IAOhB,YAAY,CAAC,KAAY;QAC/B,KAAK,CAAC,cAAc,EAAE,CAAC;QACvB,KAAK,CAAC,eAAe,EAAE,CAAC;QACxB,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;KACxB;IAED,MAAM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,aAAa,CAAC,kBAAkB,CAAC,CAAC;KAC3D;IAED,kBAAkB;QAChB,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,EAAE;YACnD,MAAM,KAAK,CAAC,6CAA6C,CAAC,CAAC;SAC5D;KACF;IAGD,WAAW,CAAC,QAAgB,EAAE,QAAgB;QAC5C,IAAI,CAAC,WAAW,CAAC,aAAa,CAC5B,IAAI,4BAA4B,CAAC;YAC/B,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;SACnB,CAAC,CACH,CAAC;KACH;IAED,MAAM;QACJ,QACEA,QAACC,UAAI,uDACHD,+EACE,KAAK,EAAE;gBACL,qBAAqB,EAAE,IAAI,CAAC,QAAQ;aACrC,EACD,OAAO,EAAE,IAAI,CAAC,QAAQ,EACtB,KAAK,EAAE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,EAC3C,WAAW,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,GACrB,CACf,EACP;KACH;;;;;;;;;;;","names":["h","Host"],"sources":["src/components/filter-chip/filter-chip.scss?tag=ix-filter-chip&encapsulation=shadow","src/components/filter-chip/filter-chip.tsx","src/components/select-item/events.ts","src/components/select-item/select-item.scss?tag=ix-select-item&encapsulation=shadow","src/components/select-item/select-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/hover';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: inline-flex;\n align-items: center;\n justify-content: space-between;\n height: $large-space;\n padding-left: $small-space;\n border: var(--theme-focus--border-thickness) solid\n var(--theme-chip-primary-outline--border-color);\n border-radius: $x-large-space;\n background-color: var(--theme-color-ghost);\n color: var(--theme-chip-primary-outline--color);\n\n .slot-container {\n @include ellipsis;\n\n :host-context(.disabled) {\n background-color: var(--theme-color-ghost);\n border-color: var(--theme-color-component-4);\n color: var(--theme-color-weak-text);\n }\n }\n\n ix-icon-button {\n height: $large-space;\n margin-left: 0.25rem;\n\n @include focus-visible {\n outline: none;\n }\n }\n}\n\n:host(.disabled) {\n border: var(--theme-focus--border-thickness) solid\n var(--theme-color-component-4);\n color: var(--theme-color-weak-text);\n padding-right: $small-space;\n\n cursor: default;\n}\n\n:host(.readonly) {\n padding-right: $small-space;\n}\n\n@include host-hover {\n background-color: var(--theme-color-ghost-primary--hover);\n border-color: var(--theme-chip-primary-outline--border-color--hover);\n color: var(--theme-chip-primary-outline--color--hover);\n}\n\n@include host-active {\n background-color: var(--theme-color-ghost-primary--active);\n border-color: var(--theme-chip-primary-outline--border-color--active);\n color: var(--theme-chip-primary-outline--color--active);\n}\n\n@include host-focus-visible {\n outline: var(--theme-color-focus-bdr) solid\n var(--theme-focus--border-thickness);\n outline-offset: -0.125rem;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'ix-filter-chip',\n styleUrl: 'filter-chip.scss',\n shadow: true,\n})\nexport class FilterChip {\n @Element() el: HTMLIxFilterChipElement;\n\n /**\n * If true the filter chip will be in disabled state\n */\n @Prop() disabled = false;\n\n /**\n * If true the filter chip will be in readonly mode\n * @since 2.0.0\n */\n @Prop() readonly = false;\n\n /**\n * Close clicked\n */\n @Event() closeClick: EventEmitter<void>;\n\n private onCloseClick(event: Event) {\n event.preventDefault();\n event.stopPropagation();\n this.closeClick.emit();\n }\n\n render() {\n return (\n <Host\n class={{ disabled: this.disabled, readonly: this.readonly }}\n title={this.el.textContent}\n >\n <div class=\"slot-container\">\n <slot></slot>\n </div>\n {!this.disabled && !this.readonly ? (\n <ix-icon-button\n ghost\n oval\n icon={'close-small'}\n size=\"16\"\n tabindex={this.disabled ? -1 : 0}\n variant=\"primary\"\n disabled={this.disabled}\n onClick={(e) => this.onCloseClick(e)}\n ></ix-icon-button>\n ) : null}\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 */\nexport class IxSelectItemLabelChangeEvent extends CustomEvent<{\n oldValue: string;\n newValue: string;\n}> {\n constructor(detail: { oldValue: string; newValue: string }) {\n super('ix-select-item:labelChange', {\n bubbles: true,\n detail,\n });\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n position: relative;\n\n > ix-dropdown-item {\n width: 100%;\n }\n\n ix-dropdown-item {\n color: var(--theme-color-std-text);\n }\n\n .select-item-checked {\n background-color: var(--theme-select-list-item--background--selected);\n --ix-dropdown-item-checked-color: var(--theme-color-std-text);\n }\n}\n\n:host(.d-none) {\n display: none;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { IxSelectItemLabelChangeEvent } from './events';\nimport { DropdownItemWrapper } from '../dropdown/dropdown-controller';\n\n@Component({\n tag: 'ix-select-item',\n styleUrl: 'select-item.scss',\n shadow: true,\n})\nexport class SelectItem implements DropdownItemWrapper {\n @Element() hostElement: HTMLIxSelectItemElement;\n\n /**\n * Displayed name of the item\n */\n @Prop({ reflect: true }) label: string;\n\n /**\n * The value of the item.\n * Important: The select component uses string values to handle selection and will call toString() on this value.\n * Therefor a string should be passed to value to prevent unexpected behavior.\n * @deprecated will be changed to type string with next major release (3.0.0)\n */\n @Prop({ reflect: true }) value!: any;\n\n /**\n * Flag indicating whether the item is selected\n */\n @Prop() selected = false;\n\n /**\n * @internal\n */\n @Prop() hover = false;\n\n /**\n * Item clicked\n */\n @Event() itemClick: EventEmitter<string>;\n\n /** @internal */\n @Method()\n async getDropdownItemElement(): Promise<HTMLIxDropdownItemElement> {\n return this.dropdownItem;\n }\n\n /**\n * @internal\n * @param event\n */\n @Method()\n async onItemClick(event?: CustomEvent<HTMLIxDropdownItemElement>) {\n event?.preventDefault();\n event?.stopPropagation();\n\n this.itemClick.emit(this.value);\n }\n\n get dropdownItem() {\n return this.hostElement.querySelector('ix-dropdown-item');\n }\n\n componentDidRender() {\n if (this.value === undefined || this.value === null) {\n throw Error('ix-select-item must have a `value` property');\n }\n }\n\n @Watch('label')\n labelChange(newValue: string, oldValue: string) {\n this.hostElement.dispatchEvent(\n new IxSelectItemLabelChangeEvent({\n newValue: newValue,\n oldValue: oldValue,\n })\n );\n }\n\n render() {\n return (\n <Host>\n <ix-dropdown-item\n class={{\n 'select-item-checked': this.selected,\n }}\n checked={this.selected}\n label={this.label ? this.label : this.value}\n onItemClick={(e) => this.onItemClick(e)}\n ></ix-dropdown-item>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0f6297c8.js');
|
|
6
6
|
|
|
7
7
|
const flipTileContentCss = ":host{display:block}";
|
|
8
8
|
const IxFlipTileContentStyle0 = flipTileContentCss;
|
|
@@ -13,7 +13,7 @@ const FlipTileContent = class {
|
|
|
13
13
|
this.contentVisible = false;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return index.h(index.Host, { key: '
|
|
16
|
+
return index.h(index.Host, { key: '28136d898c52eff8a891fcce92586c7dd1c1b369' }, this.contentVisible ? index.h("slot", null) : null);
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
FlipTileContent.style = IxFlipTileContentStyle0;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0f6297c8.js');
|
|
6
6
|
const mutationObserver = require('./mutation-observer-babb20a5.js');
|
|
7
7
|
const flipTileState = require('./flip-tile-state-92223109.js');
|
|
8
8
|
|
|
9
|
-
const flipTileCss = ".text-xs{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.625rem;font-weight:400;line-height:1.4em;color:var(--theme-color-std-text)}.text-s{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1em;color:var(--theme-color-std-text)}.text-default{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.143em;color:var(--theme-color-std-text)}.text-default-title{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-title-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.143em;color:var(--theme-color-std-text)}.text-l{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.25em;color:var(--theme-color-std-text)}.text-l-title{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-title-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.25em;color:var(--theme-color-std-text)}.text-h2{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:700;line-height:1.455em;color:var(--theme-color-std-text)}.text-xl{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:400;line-height:1.091em;color:var(--theme-color-std-text)}a{color:var(--theme-color-primary)}@keyframes flip-animation{0%{transform:rotateY(0)}50%{transform:rotateY(90deg)}51%{transform:rotateY(270deg)}100%{transform:rotateY(360deg)}}:host{display:flex;flex-direction:column;perspective:1000px}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .flip-tile-header{display:flex;align-items:center;height:2.5rem;padding:0 0.5rem 0 1rem}:host .flip-tile-header .header-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1;min-width:0}:host .content-container{flex-grow:1;margin:1rem}:host .flip-tile-container{display:flex;flex-direction:column;height:100%;background-color:var(--theme-blind-base--background);border:solid 1px var(--theme-blind-base--border-color);border-radius:var(--theme-flip-tile--border-radius) var(--theme-flip-tile--border-radius) 0 0;transform-style:preserve-3d}:host .flip-tile-container.flip-animation-active{animation:flip-animation 300ms, ease-in-out}:host .flip-tile-container .footer{display:flex;height:3rem;align-items:center;justify-content:center;padding:0 0.5rem;color:var(--theme-flip-footer--color);background-color:var(--theme-blind-base--background)}:host .flip-tile-container .footer :first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:100%}:host .flip-tile-container ::slotted(*){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-direction:column;align-items:center;min-width:0}:host .flip-tile-container.primary{border-color:var(--theme-color-primary)}:host .flip-tile-container.primary .footer{background-color:var(--theme-color-primary);color:var(--theme-color-primary--contrast)}:host .flip-tile-container.info{border-color:var(--theme-color-info)}:host .flip-tile-container.info .footer{background-color:var(--theme-color-info);color:var(--theme-color-info--contrast)}:host .flip-tile-container.warning{border-color:var(--theme-color-warning)}:host .flip-tile-container.warning .footer{background-color:var(--theme-color-warning);color:var(--theme-color-warning--contrast)}:host .flip-tile-container.alarm{border-color:var(--theme-color-alarm)}:host .flip-tile-container.alarm .footer{background-color:var(--theme-color-alarm);color:var(--theme-color-alarm--contrast)}:host:hover .flip-tile-container .footer ix-icon{color:var(--theme-color-std-text)}";
|
|
9
|
+
const flipTileCss = ".text-xs{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.625rem;font-weight:400;line-height:1.4em;color:var(--theme-color-std-text)}.text-s{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1em;color:var(--theme-color-std-text)}.text-default{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.143em;color:var(--theme-color-std-text)}.text-default-title{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-title-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.143em;color:var(--theme-color-std-text)}.text-l{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.25em;color:var(--theme-color-std-text)}.text-l-title{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-title-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.25em;color:var(--theme-color-std-text)}.text-h2{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:700;line-height:1.455em;color:var(--theme-color-std-text)}.text-xl{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:400;line-height:1.091em;color:var(--theme-color-std-text)}a{color:var(--theme-color-primary)}@keyframes flip-animation{0%{transform:rotateY(0)}50%{transform:rotateY(90deg)}51%{transform:rotateY(270deg)}100%{transform:rotateY(360deg)}}:host{display:flex;flex-direction:column;perspective:1000px}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .flip-tile-header{display:flex;align-items:center;height:2.5rem;padding:0 0.5rem 0 1rem}:host .flip-tile-header .header-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1;min-width:0}:host .content-container{flex-grow:1;margin:1rem}:host .flip-tile-container{display:flex;flex-direction:column;height:100%;background-color:var(--theme-blind-base--background);border:solid 1px var(--theme-blind-base--border-color);border-radius:var(--theme-flip-tile--border-radius) var(--theme-flip-tile--border-radius) 0 0;transform-style:preserve-3d}:host .flip-tile-container.flip-animation-active{animation:flip-animation 300ms, ease-in-out}:host .flip-tile-container .footer{display:flex;height:3rem;align-items:center;justify-content:center;padding:0 0.5rem;color:var(--theme-flip-footer--color);background-color:var(--theme-blind-base--background)}:host .flip-tile-container .footer :first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:100%}:host .flip-tile-container ::slotted(*){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-direction:column;align-items:center;min-width:0}:host .flip-tile-container.primary{border-color:var(--theme-color-primary)}:host .flip-tile-container.primary .footer{background-color:var(--theme-color-primary);color:var(--theme-color-primary--contrast)}:host .flip-tile-container.info{border-color:var(--theme-color-info)}:host .flip-tile-container.info .footer{background-color:var(--theme-color-info);color:var(--theme-color-info--contrast)}:host .flip-tile-container.warning{border-color:var(--theme-color-warning)}:host .flip-tile-container.warning .footer{background-color:var(--theme-color-warning);color:var(--theme-color-warning--contrast)}:host .flip-tile-container.alarm{border-color:var(--theme-color-alarm)}:host .flip-tile-container.alarm .footer{background-color:var(--theme-color-alarm);color:var(--theme-color-alarm--contrast)}:host:hover .flip-tile-container .footer ix-icon{color:var(--theme-color-std-text)}";
|
|
10
10
|
const IxFlipTileStyle0 = flipTileCss;
|
|
11
11
|
|
|
12
12
|
const FlipTile = class {
|
|
@@ -60,26 +60,26 @@ const FlipTile = class {
|
|
|
60
60
|
}, 2 * this.ANIMATION_DURATION);
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (index.h(index.Host, { key: '
|
|
63
|
+
return (index.h(index.Host, { key: '0153ae67288afb83571582bee8701e55429a0720', style: {
|
|
64
64
|
height: `${this.height}${this.height === 'auto' ? '' : 'rem'}`,
|
|
65
65
|
'min-height': `${this.height}${this.height === 'auto' ? '' : 'rem'}`,
|
|
66
66
|
'max-height': `${this.height}${this.height === 'auto' ? '' : 'rem'}`,
|
|
67
67
|
width: `${this.width}${this.width === 'auto' ? '' : 'rem'}`,
|
|
68
68
|
'min-width': `${this.width}${this.width === 'auto' ? '' : 'rem'}`,
|
|
69
69
|
'max-width': `${this.width}${this.width === 'auto' ? '' : 'rem'}`,
|
|
70
|
-
} }, index.h("div", { key: '
|
|
70
|
+
} }, index.h("div", { key: 'ef31335be04716f2065115102920ae4fb1679b94', class: {
|
|
71
71
|
'flip-tile-container': true,
|
|
72
72
|
info: this.state === flipTileState.FlipTileState.Info,
|
|
73
73
|
warning: this.state === flipTileState.FlipTileState.Warning,
|
|
74
74
|
alarm: this.state === flipTileState.FlipTileState.Alarm,
|
|
75
75
|
primary: this.state === flipTileState.FlipTileState.Primary,
|
|
76
76
|
'flip-animation-active': this.isFlipAnimationActive,
|
|
77
|
-
} }, index.h("div", { key: '
|
|
77
|
+
} }, index.h("div", { key: '8498d95f84640bf2399f8d6c5356585415f4d5db', class: "flip-tile-header" }, index.h("div", { key: '474301d6d45c780d4eb6b4d0ab05b0cfe002924b', class: "header-slot-container text-l-title" }, index.h("slot", { key: '0c06ddeb0acfd559c203c58114dc3fdd44a2131f', name: "header" })), index.h("ix-icon-button", { key: '72af19152a7818b4935f158a2218161adabbc4c8', icon: 'eye', variant: "primary", ghost: true, onClick: () => this.toggleIndex() })), index.h("div", { key: '5079b00eed32d315d50fcfb9bdeb933306d7cf97', class: "content-container" }, index.h("slot", { key: '6b4f5b11016603866da6259000411875bb0577a7' })), index.h("div", { key: '18d2f316237de09f7c80f29c562fc815d5269103', class: {
|
|
78
78
|
footer: true,
|
|
79
79
|
'contrast-light': this.state === flipTileState.FlipTileState.Warning,
|
|
80
80
|
'contrast-dark': this.state === flipTileState.FlipTileState.Info ||
|
|
81
81
|
this.state === flipTileState.FlipTileState.Alarm,
|
|
82
|
-
} }, index.h("slot", { key: '
|
|
82
|
+
} }, index.h("slot", { key: 'a54bb5bb92e8236a321c8bcb22560a0e680e8d51', name: "footer" })))));
|
|
83
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AKE,2BAAa,CAAC,IAAI;gBACvC,OAAO,EAAE,IAAI,CAAC,KAAK,KAAKA,2BAAa,CAAC,OAAO;gBAC7C,KAAK,EAAE,IAAI,CAAC,KAAK,KAAKA,2BAAa,CAAC,KAAK;gBACzC,OAAO,EAAE,IAAI,CAAC,KAAK,KAAKA,2BAAa,CAAC,OAAO;gBAC7C,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;aACpD,IAEDF,kEAAK,KAAK,EAAC,kBAAkB,IAC3BA,kEAAK,KAAK,EAAC,oCAAoC,IAC7CA,mEAAM,IAAI,EAAC,QAAQ,GAAQ,CACvB,EACNA,6EACE,IAAI,EAAE,KAAK,EACX,OAAO,EAAC,SAAS,EACjB,KAAK,QACL,OAAO,EAAE,MAAM,IAAI,CAAC,WAAW,EAAE,GACjB,CACd,EAENA,kEAAK,KAAK,EAAC,mBAAmB,IAC5BA,oEAAa,CACT,EACNA,kEACE,KAAK,EAAE;gBACL,MAAM,EAAE,IAAI;gBACZ,gBAAgB,EAAE,IAAI,CAAC,KAAK,KAAKE,2BAAa,CAAC,OAAO;gBACtD,eAAe,EACb,IAAI,CAAC,KAAK,KAAKA,2BAAa,CAAC,IAAI;oBACjC,IAAI,CAAC,KAAK,KAAKA,2BAAa,CAAC,KAAK;aACrC,IAEDF,mEAAM,IAAI,EAAC,QAAQ,GAAQ,CACvB,CACF,CACD,EACP;KACH;;;;;;;","names":["createMutationObserver","h","Host","FlipTileState"],"sources":["src/components/flip-tile/flip-tile.scss?tag=ix-flip-tile&encapsulation=shadow","src/components/flip-tile/flip-tile.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/animations';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n@import 'legacy/fonts';\n\n@include keyframes(flip-animation) {\n 0% {\n transform: rotateY(0);\n }\n 50% {\n transform: rotateY(90deg);\n }\n 51% {\n transform: rotateY(270deg);\n }\n 100% {\n transform: rotateY(360deg);\n }\n}\n\n:host {\n @include ix-component;\n display: flex;\n flex-direction: column;\n perspective: 1000px;\n\n .flip-tile-header {\n display: flex;\n align-items: center;\n height: $large-control-height;\n padding: 0 $small-space 0 $default-space;\n\n .header-slot-container {\n @include ellipsis;\n flex-grow: 1;\n min-width: 0;\n }\n }\n\n .content-container {\n flex-grow: 1;\n margin: $default-space;\n }\n\n .flip-tile-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n background-color: var(--theme-blind-base--background);\n border: solid 1px var(--theme-blind-base--border-color);\n border-radius: var(--theme-flip-tile--border-radius)\n var(--theme-flip-tile--border-radius) 0 0;\n transform-style: preserve-3d;\n\n &.flip-animation-active {\n @include animation(flip-animation, 2 * $default-time, ease-in-out);\n }\n\n .footer {\n display: flex;\n height: 3rem;\n align-items: center;\n justify-content: center;\n padding: 0 $small-space;\n color: var(--theme-flip-footer--color);\n background-color: var(--theme-blind-base--background);\n\n :first-child {\n @include ellipsis;\n height: 100%;\n }\n }\n\n ::slotted(*) {\n @include ellipsis;\n display: flex;\n flex-direction: column;\n align-items: center;\n min-width: 0;\n }\n\n &.primary {\n border-color: var(--theme-color-primary);\n\n .footer {\n background-color: var(--theme-color-primary);\n color: var(--theme-color-primary--contrast);\n }\n }\n\n &.info {\n border-color: var(--theme-color-info);\n\n .footer {\n background-color: var(--theme-color-info);\n color: var(--theme-color-info--contrast);\n }\n }\n\n &.warning {\n border-color: var(--theme-color-warning);\n\n .footer {\n background-color: var(--theme-color-warning);\n color: var(--theme-color-warning--contrast);\n }\n }\n\n &.alarm {\n border-color: var(--theme-color-alarm);\n\n .footer {\n background-color: var(--theme-color-alarm);\n color: var(--theme-color-alarm--contrast);\n }\n }\n }\n\n &:hover .flip-tile-container .footer ix-icon {\n color: var(--theme-color-std-text);\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, Prop, State } from '@stencil/core';\nimport { createMutationObserver } from '../utils/mutation-observer';\nimport { FlipTileState } from './flip-tile-state';\n\n@Component({\n tag: 'ix-flip-tile',\n styleUrl: 'flip-tile.scss',\n shadow: true,\n})\nexport class FlipTile {\n @Element() hostElement!: HTMLIxFlipTileElement;\n\n /**\n * Variation of the Flip\n */\n @Prop() state: FlipTileState;\n\n /**\n * Height interpreted as REM\n * @since 1.5.0\n */\n @Prop() height: number | 'auto' = 15.125;\n\n /**\n * Width interpreted as REM\n * @since 1.5.0\n */\n @Prop() width: number | 'auto' = 16;\n\n @State() index = 0;\n @State() isFlipAnimationActive: boolean;\n\n private readonly ANIMATION_DURATION = 150;\n private contentItems: Array<HTMLIxFlipTileContentElement>;\n\n private observer: MutationObserver;\n\n componentDidLoad() {\n this.observer = createMutationObserver(() => this.updateContentItems());\n this.observer.observe(this.hostElement, {\n childList: true,\n });\n }\n\n componentWillLoad() {\n this.updateContentItems();\n this.updateContentVisibility(this.index);\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n private updateContentItems() {\n this.contentItems = Array.from(\n this.hostElement.querySelectorAll('ix-flip-tile-content')\n );\n }\n\n private updateContentVisibility(indexVisible: number) {\n this.contentItems.forEach(\n (content, index) => (content.contentVisible = index === indexVisible)\n );\n }\n\n private toggleIndex() {\n this.doFlipAnimation();\n }\n\n private doFlipAnimation() {\n this.isFlipAnimationActive = true;\n\n setTimeout(() => {\n this.updateContentVisibility(this.index);\n\n if (this.index >= this.contentItems.length - 1) {\n this.index = 0;\n } else {\n this.index++;\n }\n\n this.updateContentVisibility(this.index);\n }, this.ANIMATION_DURATION);\n\n setTimeout(() => {\n this.isFlipAnimationActive = false;\n }, 2 * this.ANIMATION_DURATION);\n }\n\n render() {\n return (\n <Host\n style={{\n height: `${this.height}${this.height === 'auto' ? '' : 'rem'}`,\n 'min-height': `${this.height}${this.height === 'auto' ? '' : 'rem'}`,\n 'max-height': `${this.height}${this.height === 'auto' ? '' : 'rem'}`,\n width: `${this.width}${this.width === 'auto' ? '' : 'rem'}`,\n 'min-width': `${this.width}${this.width === 'auto' ? '' : 'rem'}`,\n 'max-width': `${this.width}${this.width === 'auto' ? '' : 'rem'}`,\n }}\n >\n <div\n class={{\n 'flip-tile-container': true,\n info: this.state === FlipTileState.Info,\n warning: this.state === FlipTileState.Warning,\n alarm: this.state === FlipTileState.Alarm,\n primary: this.state === FlipTileState.Primary,\n 'flip-animation-active': this.isFlipAnimationActive,\n }}\n >\n <div class=\"flip-tile-header\">\n <div class=\"header-slot-container text-l-title\">\n <slot name=\"header\"></slot>\n </div>\n <ix-icon-button\n icon={'eye'}\n variant=\"primary\"\n ghost\n onClick={() => this.toggleIndex()}\n ></ix-icon-button>\n </div>\n\n <div class=\"content-container\">\n <slot></slot>\n </div>\n <div\n class={{\n footer: true,\n 'contrast-light': this.state === FlipTileState.Warning,\n 'contrast-dark':\n this.state === FlipTileState.Info ||\n this.state === FlipTileState.Alarm,\n }}\n >\n <slot name=\"footer\"></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"ix-flip-tile.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,WAAW,GAAG,wyLAAwyL,CAAC;AAC7zL,yBAAe,WAAW;;MCiBb,QAAQ;;;QAuBF,uBAAkB,GAAG,GAAG,CAAC;;sBAXR,MAAM;qBAMP,EAAE;qBAElB,CAAC;;;IAQlB,gBAAgB;QACd,IAAI,CAAC,QAAQ,GAAGA,uCAAsB,CAAC,MAAM,IAAI,CAAC,kBAAkB,EAAE,CAAC,CAAC;QACxE,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE;YACtC,SAAS,EAAE,IAAI;SAChB,CAAC,CAAC;KACJ;IAED,iBAAiB;QAC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K,EAAC,mBAAmB,IAC5BA,oEAAa,CACT,EACNA,kEACE,KAAK,EAAE;gBACL,MAAM,EAAE,IAAI;gBACZ,gBAAgB,EAAE,IAAI,CAAC,KAAK,KAAKE,2BAAa,CAAC,OAAO;gBACtD,eAAe,EACb,IAAI,CAAC,KAAK,KAAKA,2BAAa,CAAC,IAAI;oBACjC,IAAI,CAAC,KAAK,KAAKA,2BAAa,CAAC,KAAK;aACrC,IAEDF,mEAAM,IAAI,EAAC,QAAQ,GAAQ,CACvB,CACF,CACD,EACP;KACH;;;;;;;","names":["createMutationObserver","h","Host","FlipTileState"],"sources":["src/components/flip-tile/flip-tile.scss?tag=ix-flip-tile&encapsulation=shadow","src/components/flip-tile/flip-tile.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/animations';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n@import 'legacy/fonts';\n\n@include keyframes(flip-animation) {\n 0% {\n transform: rotateY(0);\n }\n 50% {\n transform: rotateY(90deg);\n }\n 51% {\n transform: rotateY(270deg);\n }\n 100% {\n transform: rotateY(360deg);\n }\n}\n\n:host {\n @include ix-component;\n display: flex;\n flex-direction: column;\n perspective: 1000px;\n\n .flip-tile-header {\n display: flex;\n align-items: center;\n height: $large-control-height;\n padding: 0 $small-space 0 $default-space;\n\n .header-slot-container {\n @include ellipsis;\n flex-grow: 1;\n min-width: 0;\n }\n }\n\n .content-container {\n flex-grow: 1;\n margin: $default-space;\n }\n\n .flip-tile-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n background-color: var(--theme-blind-base--background);\n border: solid 1px var(--theme-blind-base--border-color);\n border-radius: var(--theme-flip-tile--border-radius)\n var(--theme-flip-tile--border-radius) 0 0;\n transform-style: preserve-3d;\n\n &.flip-animation-active {\n @include animation(flip-animation, 2 * $default-time, ease-in-out);\n }\n\n .footer {\n display: flex;\n height: 3rem;\n align-items: center;\n justify-content: center;\n padding: 0 $small-space;\n color: var(--theme-flip-footer--color);\n background-color: var(--theme-blind-base--background);\n\n :first-child {\n @include ellipsis;\n height: 100%;\n }\n }\n\n ::slotted(*) {\n @include ellipsis;\n display: flex;\n flex-direction: column;\n align-items: center;\n min-width: 0;\n }\n\n &.primary {\n border-color: var(--theme-color-primary);\n\n .footer {\n background-color: var(--theme-color-primary);\n color: var(--theme-color-primary--contrast);\n }\n }\n\n &.info {\n border-color: var(--theme-color-info);\n\n .footer {\n background-color: var(--theme-color-info);\n color: var(--theme-color-info--contrast);\n }\n }\n\n &.warning {\n border-color: var(--theme-color-warning);\n\n .footer {\n background-color: var(--theme-color-warning);\n color: var(--theme-color-warning--contrast);\n }\n }\n\n &.alarm {\n border-color: var(--theme-color-alarm);\n\n .footer {\n background-color: var(--theme-color-alarm);\n color: var(--theme-color-alarm--contrast);\n }\n }\n }\n\n &:hover .flip-tile-container .footer ix-icon {\n color: var(--theme-color-std-text);\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, Prop, State } from '@stencil/core';\nimport { createMutationObserver } from '../utils/mutation-observer';\nimport { FlipTileState } from './flip-tile-state';\n\n@Component({\n tag: 'ix-flip-tile',\n styleUrl: 'flip-tile.scss',\n shadow: true,\n})\nexport class FlipTile {\n @Element() hostElement!: HTMLIxFlipTileElement;\n\n /**\n * Variation of the Flip\n */\n @Prop() state: FlipTileState;\n\n /**\n * Height interpreted as REM\n * @since 1.5.0\n */\n @Prop() height: number | 'auto' = 15.125;\n\n /**\n * Width interpreted as REM\n * @since 1.5.0\n */\n @Prop() width: number | 'auto' = 16;\n\n @State() index = 0;\n @State() isFlipAnimationActive: boolean;\n\n private readonly ANIMATION_DURATION = 150;\n private contentItems: Array<HTMLIxFlipTileContentElement>;\n\n private observer: MutationObserver;\n\n componentDidLoad() {\n this.observer = createMutationObserver(() => this.updateContentItems());\n this.observer.observe(this.hostElement, {\n childList: true,\n });\n }\n\n componentWillLoad() {\n this.updateContentItems();\n this.updateContentVisibility(this.index);\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n private updateContentItems() {\n this.contentItems = Array.from(\n this.hostElement.querySelectorAll('ix-flip-tile-content')\n );\n }\n\n private updateContentVisibility(indexVisible: number) {\n this.contentItems.forEach(\n (content, index) => (content.contentVisible = index === indexVisible)\n );\n }\n\n private toggleIndex() {\n this.doFlipAnimation();\n }\n\n private doFlipAnimation() {\n this.isFlipAnimationActive = true;\n\n setTimeout(() => {\n this.updateContentVisibility(this.index);\n\n if (this.index >= this.contentItems.length - 1) {\n this.index = 0;\n } else {\n this.index++;\n }\n\n this.updateContentVisibility(this.index);\n }, this.ANIMATION_DURATION);\n\n setTimeout(() => {\n this.isFlipAnimationActive = false;\n }, 2 * this.ANIMATION_DURATION);\n }\n\n render() {\n return (\n <Host\n style={{\n height: `${this.height}${this.height === 'auto' ? '' : 'rem'}`,\n 'min-height': `${this.height}${this.height === 'auto' ? '' : 'rem'}`,\n 'max-height': `${this.height}${this.height === 'auto' ? '' : 'rem'}`,\n width: `${this.width}${this.width === 'auto' ? '' : 'rem'}`,\n 'min-width': `${this.width}${this.width === 'auto' ? '' : 'rem'}`,\n 'max-width': `${this.width}${this.width === 'auto' ? '' : 'rem'}`,\n }}\n >\n <div\n class={{\n 'flip-tile-container': true,\n info: this.state === FlipTileState.Info,\n warning: this.state === FlipTileState.Warning,\n alarm: this.state === FlipTileState.Alarm,\n primary: this.state === FlipTileState.Primary,\n 'flip-animation-active': this.isFlipAnimationActive,\n }}\n >\n <div class=\"flip-tile-header\">\n <div class=\"header-slot-container text-l-title\">\n <slot name=\"header\"></slot>\n </div>\n <ix-icon-button\n icon={'eye'}\n variant=\"primary\"\n ghost\n onClick={() => this.toggleIndex()}\n ></ix-icon-button>\n </div>\n\n <div class=\"content-container\">\n <slot></slot>\n </div>\n <div\n class={{\n footer: true,\n 'contrast-light': this.state === FlipTileState.Warning,\n 'contrast-dark':\n this.state === FlipTileState.Info ||\n this.state === FlipTileState.Alarm,\n }}\n >\n <slot name=\"footer\"></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0f6297c8.js');
|
|
6
6
|
const shadowDom = require('./shadow-dom-73f9d553.js');
|
|
7
7
|
|
|
8
8
|
const groupContextMenuCss = ":host{display:block;position:relative;height:2rem;width:2rem;margin-block-start:0.3125rem;margin-inline-end:0.3125rem;margin-inline-start:auto}:host .hide{visibility:collapse}:host ::slotted(ix-dropdown){cursor:default}";
|
|
@@ -38,13 +38,13 @@ const GroupContextMenu = class {
|
|
|
38
38
|
this.configureDropdown(dropdownElement, triggerElement);
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (index.h(index.Host, { key: '
|
|
41
|
+
return (index.h(index.Host, { key: '91faa519a271c40f61260874a328628727a4e16b' }, index.h("ix-icon-button", { key: 'b167218e0cdf54bf73caa35140f62669661e4780', class: { hide: !this.showContextMenu }, size: "24", ghost: true, icon: 'context-menu' }), index.h("slot", { key: '3992d4aeeacc8531d9d36c86c66d5da6584c5591', onSlotchange: () => this.onSlotChange() })));
|
|
42
42
|
}
|
|
43
43
|
get hostElement() { return index.getElement(this); }
|
|
44
44
|
};
|
|
45
45
|
GroupContextMenu.style = IxGroupContextMenuStyle0;
|
|
46
46
|
|
|
47
|
-
const groupItemCss = ":host{display:flex;min-height:2.25rem;height:2.25rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host>button{display:flex;height:100%;width:100%;align-items:center;justify-content:flex-start;position:relative;outline:none;background-color:var(--theme-group-item--background);border:1px solid transparent;color:var(--theme-color-std-text);cursor:pointer;padding-left:2.5rem}:host>button:focus-visible{border:1px solid var(--theme-color-focus-bdr)}:host ix-icon{margin-right:0.25rem;margin-top:-0.125rem}:host .group-entry-selection-indicator{position:absolute;left:-1px;height:calc(100% + 2px);width:0.25rem}:host .group-entry-text{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .group-entry-text-secondary{display:flex;justify-content:flex-end;flex-grow:1;white-space:nowrap;color:var(--theme-color-soft-text)}:host .group-entry-text-secondary,:host .group-entry-text-secondary span{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.suppress-selection){pointer-events:none}:host(.selected){border-top-width:0.062rem !important;background-color:var(--theme-color-ghost--selected)}:host(.selected) .group-entry-selection-indicator{background-color:var(--theme-group-item-indicator--background--selected)}:host(:hover){background-color:var(--theme-color-ghost--selected-hover);border-color:var(--theme-group-item--border-color--hover)}:host(.selected:hover){background-color:var(--theme-color-ghost--selected-hover)}:host(:active){background-color:var(--theme-color-ghost--selected-active);border-color:var(--theme-group-item--border-color--active)}:host(.selected:active){background-color:var(--theme-color-ghost--selected-active)}";
|
|
47
|
+
const groupItemCss = ":host{display:flex;min-height:2.25rem;height:2.25rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host>button{display:flex;height:100%;width:100%;align-items:center;justify-content:flex-start;position:relative;outline:none;background-color:var(--theme-group-item--background);border:1px solid transparent;color:var(--theme-color-std-text);cursor:pointer;padding-left:2.5rem}:host>button:focus-visible{border:1px solid var(--theme-color-focus-bdr)}:host ix-icon{margin-right:0.25rem;margin-top:-0.125rem}:host .group-entry-selection-indicator{position:absolute;left:-1px;height:calc(100% + 2px);width:0.25rem}:host .group-entry-text{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .group-entry-text-secondary{display:flex;justify-content:flex-end;flex-grow:1;white-space:nowrap;color:var(--theme-color-soft-text)}:host .group-entry-text-secondary,:host .group-entry-text-secondary span{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.suppress-selection){pointer-events:none}:host(.selected){border-top-width:0.062rem !important;background-color:var(--theme-color-ghost--selected)}:host(.selected) .group-entry-selection-indicator{background-color:var(--theme-group-item-indicator--background--selected)}:host(:hover){background-color:var(--theme-color-ghost--selected-hover);border-color:var(--theme-group-item--border-color--hover)}:host(.selected:hover){background-color:var(--theme-color-ghost--selected-hover)}:host(:active){background-color:var(--theme-color-ghost--selected-active);border-color:var(--theme-group-item--border-color--active)}:host(.selected:active){background-color:var(--theme-color-ghost--selected-active)}";
|
|
48
48
|
const IxGroupItemStyle0 = groupItemCss;
|
|
49
49
|
|
|
50
50
|
const GroupItem = class {
|
|
@@ -66,10 +66,10 @@ const GroupItem = class {
|
|
|
66
66
|
this.selectedChanged.emit(this.hostElement);
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
|
-
return (index.h(index.Host, { key: '
|
|
69
|
+
return (index.h(index.Host, { key: 'b4760747ee4ee151144eb9053c8513b4f4793ce5', class: {
|
|
70
70
|
selected: this.selected && !this.suppressSelection,
|
|
71
71
|
'suppress-selection': this.suppressSelection,
|
|
72
|
-
} }, index.h("button", { key: '
|
|
72
|
+
} }, index.h("button", { key: '4b15db955d4b86689adeea7d250dc6aa50892a79', tabindex: this.focusable ? 0 : -1 }, index.h("div", { key: 'bd1b475fb73766ebeba146cae8f387af513db318', class: "group-entry-selection-indicator" }), this.icon ? index.h("ix-icon", { size: "16", name: this.icon }) : null, this.text ? (index.h("span", { class: "group-entry-text" }, index.h("span", { title: this.text }, this.text))) : null, this.secondaryText ? (index.h("span", { class: "group-entry-text-secondary" }, index.h("span", { title: this.secondaryText }, this.secondaryText))) : null, index.h("slot", { key: 'a9c6d0549435095079fadf6275f08d71136206d5' }))));
|
|
73
73
|
}
|
|
74
74
|
get hostElement() { return index.getElement(this); }
|
|
75
75
|
};
|