@siemens/ix 0.0.0-pr-1318-20240627080522 → 0.0.0-pr-1373-20240705054533
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 +2 -3
- package/components/a11y.js.map +1 -1
- package/components/application-header.js +3 -3
- package/components/card-content.js +1 -1
- package/components/card-title.js +1 -1
- package/components/date-picker.js +4 -4
- package/components/date-time-card.js +2 -2
- package/components/date-time-card.js.map +1 -1
- package/components/divider.js +1 -1
- package/components/dropdown-item.js +3 -3
- package/components/dropdown.js +9 -9
- package/components/dropdown.js.map +1 -1
- package/components/filter-chip.js +1 -1
- package/components/group-context-menu.js +1 -1
- package/components/group-item.js +2 -2
- package/components/icon-button.js +1 -1
- package/components/index.js +4 -19
- package/components/index.js.map +1 -1
- package/components/ix-application-sidebar.js +1 -1
- package/components/ix-application-switch-modal.js +1 -1
- package/components/ix-application.js +3 -3
- package/components/ix-basic-navigation.js +2 -2
- package/components/ix-breadcrumb.js +2 -2
- package/components/ix-card-list.js +4 -4
- package/components/ix-category-filter.js +4 -4
- package/components/ix-category-filter.js.map +1 -1
- package/components/ix-chip.js +4 -4
- package/components/ix-content.js +3 -3
- package/components/ix-css-grid-item.js +1 -1
- package/components/ix-datetime-picker.js +1 -1
- package/components/ix-drawer.js +2 -2
- package/components/ix-dropdown-button.js +2 -2
- package/components/ix-dropdown-header.js +1 -1
- package/components/ix-dropdown-quick-actions.js +1 -1
- package/components/ix-empty-state.js +1 -1
- package/components/ix-event-list-item.js +4 -4
- package/components/ix-event-list.js +2 -2
- package/components/ix-expanding-search.js +4 -4
- package/components/ix-flip-tile-content.js +1 -1
- package/components/ix-flip-tile.js +4 -4
- package/components/{ix-text-field.d.ts → ix-form-field.d.ts} +4 -4
- package/components/ix-form-field.js +44 -0
- package/components/ix-form-field.js.map +1 -0
- package/components/ix-group.js +8 -8
- package/components/ix-icon-toggle-button.js +1 -1
- package/components/ix-input-group.js +1 -1
- package/components/ix-key-value-list.js +1 -1
- package/components/ix-key-value.js +1 -1
- package/components/ix-kpi.js +3 -3
- package/components/ix-link-button.js +3 -3
- package/components/ix-map-navigation.js +2 -2
- package/components/ix-menu-about-item.js +1 -1
- package/components/ix-menu-about-news.js +4 -4
- package/components/ix-menu-about.js +1 -1
- package/components/ix-menu-avatar.js +2 -2
- package/components/ix-menu-category.js +5 -5
- package/components/ix-menu-settings-item.js +1 -1
- package/components/ix-menu.js +11 -11
- package/components/ix-message-bar.js +1 -1
- package/components/ix-modal-example.js +1 -1
- package/components/ix-modal-footer.js +1 -1
- package/components/ix-modal-loading.js +1 -1
- package/components/ix-modal.js +3 -3
- package/components/ix-pagination.js +16 -34
- package/components/ix-pagination.js.map +1 -1
- package/components/ix-pane-layout.js +1 -1
- package/components/ix-pane.js +6 -6
- package/components/ix-pill.js +4 -4
- package/components/ix-playground-internal.js +1 -1
- package/components/ix-playground-internal.js.map +1 -1
- package/components/ix-push-card.js +1 -1
- package/components/ix-slider.js +6 -6
- package/components/ix-split-button-item.js +1 -1
- package/components/ix-split-button.js +1 -1
- package/components/ix-tile.js +4 -4
- package/components/ix-toast-container.js +2 -2
- package/components/ix-toggle-button.js +2 -2
- package/components/ix-toggle.js +5 -43
- package/components/ix-toggle.js.map +1 -1
- package/components/ix-tree.js +1 -1
- package/components/ix-upload.js +3 -3
- package/components/ix-validation-tooltip.js +2 -2
- package/components/ix-workflow-step.js +3 -3
- package/components/ix-workflow-steps.js +1 -1
- package/components/layout-grid.js +2 -2
- package/components/make-ref.js +0 -5
- package/components/make-ref.js.map +1 -1
- package/components/map-navigation-overlay.js +2 -2
- package/components/menu-avatar-item.js +1 -1
- package/components/menu-expand-icon.js +1 -1
- package/components/menu-item.js +3 -3
- package/components/menu-tabs-fc.js +1 -1
- package/components/modal-content.js +1 -1
- package/components/modal-header.js +1 -1
- package/components/row.js +1 -1
- package/components/select-item.js +1 -1
- package/components/select.js +71 -167
- package/components/select.js.map +1 -1
- package/components/service.js +2 -2
- package/components/service.js.map +1 -1
- package/components/spinner.js +1 -1
- package/components/tab-item.js +3 -3
- package/components/tab-item.js.map +1 -1
- package/components/tabs.js +2 -2
- package/components/time-picker.js +4 -4
- package/components/time-picker.js.map +1 -1
- package/components/toast.js +2 -2
- package/components/tooltip.js +2 -2
- package/components/tree-item.js +4 -4
- package/dist/cjs/{a11y-32046b56.js → a11y-d3ce56d1.js} +3 -4
- package/dist/cjs/a11y-d3ce56d1.js.map +1 -0
- package/dist/cjs/{base-button-16d4fadf.js → base-button-3735b8c2.js} +2 -2
- package/dist/cjs/{base-button-16d4fadf.js.map → base-button-3735b8c2.js.map} +1 -1
- package/dist/cjs/{base-icon-button-aba2ddbf.js → base-icon-button-44c72bc8.js} +3 -3
- package/dist/cjs/{base-icon-button-aba2ddbf.js.map → base-icon-button-44c72bc8.js.map} +1 -1
- package/dist/cjs/{index-0f6297c8.js → index-529f21c1.js} +156 -78
- package/dist/cjs/index-529f21c1.js.map +1 -0
- package/dist/cjs/index.cjs.js +0 -16
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/ix-action-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +5 -5
- package/dist/cjs/ix-application-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/ix-application-switch-modal.cjs.entry.js +2 -2
- package/dist/cjs/ix-application.cjs.entry.js +5 -5
- package/dist/cjs/ix-avatar_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +4 -4
- package/dist/cjs/ix-blind.cjs.entry.js +2 -2
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +3 -3
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +4 -4
- package/dist/cjs/ix-button.cjs.entry.js +2 -2
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-card-list.cjs.entry.js +5 -5
- package/dist/cjs/ix-card_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-category-filter.cjs.entry.js +6 -6
- package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-chip.cjs.entry.js +5 -5
- package/dist/cjs/ix-col_4.cjs.entry.js +9 -9
- package/dist/cjs/ix-content-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-content.cjs.entry.js +4 -4
- 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-date-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js +2 -2
- package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -2
- package/dist/cjs/ix-divider.cjs.entry.js +2 -2
- package/dist/cjs/ix-drawer.cjs.entry.js +3 -3
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-dropdown-header.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown.cjs.entry.js +160 -21
- package/dist/cjs/ix-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/ix-event-list-item.cjs.entry.js +6 -6
- package/dist/cjs/ix-event-list.cjs.entry.js +3 -3
- package/dist/cjs/ix-expanding-search.cjs.entry.js +5 -5
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +3 -3
- package/dist/cjs/ix-flip-tile-content.cjs.entry.js +2 -2
- package/dist/cjs/ix-flip-tile.cjs.entry.js +5 -5
- package/dist/cjs/ix-form-field.cjs.entry.js +28 -0
- package/dist/cjs/ix-form-field.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-group.cjs.entry.js +9 -9
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +6 -6
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +5 -5
- package/dist/cjs/ix-input-group.cjs.entry.js +2 -2
- 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-kpi.cjs.entry.js +4 -4
- package/dist/cjs/ix-link-button.cjs.entry.js +4 -4
- package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +3 -3
- package/dist/cjs/ix-map-navigation.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +5 -5
- package/dist/cjs/ix-menu-about.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-category.cjs.entry.js +6 -6
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-item.cjs.entry.js +5 -5
- 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-message-bar.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +3 -3
- package/dist/cjs/ix-modal-example.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-footer.cjs.entry.js +2 -2
- 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-pagination.cjs.entry.js +5 -5
- package/dist/cjs/ix-pane-layout.cjs.entry.js +3 -3
- package/dist/cjs/ix-pane.cjs.entry.js +8 -8
- package/dist/cjs/ix-pill.cjs.entry.js +5 -5
- 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-select.cjs.entry.js +59 -121
- package/dist/cjs/ix-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-slider.cjs.entry.js +9 -9
- package/dist/cjs/ix-split-button-item.cjs.entry.js +3 -3
- package/dist/cjs/ix-split-button.cjs.entry.js +2 -2
- package/dist/cjs/ix-tab-item_2.cjs.entry.js +6 -6
- package/dist/cjs/ix-tab-item_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tile.cjs.entry.js +5 -5
- 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 +3 -3
- package/dist/cjs/ix-toast.cjs.entry.js +3 -3
- package/dist/cjs/ix-toggle-button.cjs.entry.js +5 -5
- package/dist/cjs/ix-toggle.cjs.entry.js +5 -42
- package/dist/cjs/ix-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/{ix-field-label_3.cjs.entry.js → ix-tooltip.cjs.entry.js} +5 -146
- package/dist/cjs/ix-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-tree-item.cjs.entry.js +5 -5
- package/dist/cjs/ix-tree.cjs.entry.js +2 -2
- package/dist/cjs/ix-typography.cjs.entry.js +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +4 -4
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/ix-workflow-step.cjs.entry.js +4 -4
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +2 -2
- package/dist/cjs/{listener-0881dc51.js → listener-bc3e7c0c.js} +2 -2
- package/dist/cjs/{listener-0881dc51.js.map → listener-bc3e7c0c.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{make-ref-01530e5a.js → make-ref-c25629b7.js} +1 -6
- package/dist/cjs/make-ref-c25629b7.js.map +1 -0
- package/dist/cjs/{menu-tabs-fc-f6b706e3.js → menu-tabs-fc-df53f176.js} +3 -3
- package/dist/cjs/{menu-tabs-fc-f6b706e3.js.map → menu-tabs-fc-df53f176.js.map} +1 -1
- package/dist/cjs/{service-a42add5f.js → service-39a8e5fe.js} +3 -3
- package/dist/cjs/service-39a8e5fe.js.map +1 -0
- package/dist/cjs/siemens-ix.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -13
- package/dist/collection/components/application/application.js +3 -3
- package/dist/collection/components/application-header/application-header.js +3 -3
- package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +1 -1
- package/dist/collection/components/application-sidebar/application-sidebar.js +1 -1
- package/dist/collection/components/basic-navigation/basic-navigation.js +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/collection/components/card-content/card-content.js +1 -1
- package/dist/collection/components/card-list/card-list.js +4 -4
- package/dist/collection/components/card-title/card-title.js +1 -1
- package/dist/collection/components/category-filter/category-filter.css +20 -120
- package/dist/collection/components/category-filter/category-filter.js +3 -3
- package/dist/collection/components/chip/chip.js +4 -4
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/css-grid/css-grid-item.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +4 -4
- package/dist/collection/components/date-time-card/date-time-card.js +7 -6
- package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
- package/dist/collection/components/datetime-picker/datetime-picker.js +1 -1
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/drawer/drawer.js +2 -2
- package/dist/collection/components/dropdown/dropdown-controller.js +0 -3
- package/dist/collection/components/dropdown/dropdown-controller.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown.js +8 -5
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown-button/dropdown-button.ct.js +28 -0
- package/dist/collection/components/dropdown-button/dropdown-button.ct.js.map +1 -1
- package/dist/collection/components/dropdown-button/dropdown-button.js +2 -2
- package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
- package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
- package/dist/collection/components/empty-state/empty-state.js +1 -1
- package/dist/collection/components/event-list/event-list.js +2 -2
- package/dist/collection/components/event-list-item/event-list-item.js +4 -4
- package/dist/collection/components/expanding-search/expanding-search.js +4 -4
- package/dist/collection/components/filter-chip/filter-chip.js +1 -1
- package/dist/collection/components/flip-tile/flip-tile.js +4 -4
- package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
- package/dist/collection/components/{text-field/number-field.css → form-field/form-field.css} +9 -236
- package/dist/collection/components/form-field/form-field.js +56 -0
- package/dist/collection/components/form-field/form-field.js.map +1 -0
- package/dist/collection/components/grid/layout-grid.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.js +2 -2
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
- package/dist/collection/components/input-group/input-group.js +1 -1
- package/dist/collection/components/key-value/key-value.js +1 -1
- package/dist/collection/components/key-value-list/key-value-list.js +1 -1
- package/dist/collection/components/kpi/kpi.js +3 -3
- package/dist/collection/components/link-button/link-button.js +3 -3
- package/dist/collection/components/map-navigation/map-navigation.js +2 -2
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
- package/dist/collection/components/menu/menu-expand-icon.js +1 -1
- package/dist/collection/components/menu/menu.js +11 -11
- 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.js +4 -4
- package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
- package/dist/collection/components/menu-category/menu-category.js +5 -5
- package/dist/collection/components/menu-item/menu-item.js +3 -3
- package/dist/collection/components/menu-settings/menu-settings.js +1 -1
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
- package/dist/collection/components/message-bar/message-bar.js +1 -1
- package/dist/collection/components/modal/modal.js +3 -3
- package/dist/collection/components/modal-content/modal-content.js +1 -1
- package/dist/collection/components/modal-footer/modal-footer.js +1 -1
- package/dist/collection/components/modal-header/modal-header.js +1 -1
- package/dist/collection/components/modal-loading/modal-loading.js +1 -1
- package/dist/collection/components/pagination/pagination.js +2 -2
- package/dist/collection/components/pane/pane.js +6 -6
- package/dist/collection/components/pane-layout/pane-layout.js +1 -1
- package/dist/collection/components/pill/pill.js +4 -4
- package/dist/collection/components/playground/example-modal.js +1 -1
- package/dist/collection/components/playground/playground.js +3 -3
- package/dist/collection/components/playground/playground.js.map +1 -1
- package/dist/collection/components/push-card/push-card.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/select/select.css +0 -52
- package/dist/collection/components/select/select.js +59 -387
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select/test/select.ct.js +96 -82
- 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.js +6 -6
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/split-button-item/split-button-item.js +1 -1
- package/dist/collection/components/tab-item/tab-item.js +4 -4
- package/dist/collection/components/tab-item/tab-item.js.map +1 -1
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tile/tile.js +4 -4
- package/dist/collection/components/time-picker/time-picker.css +7 -80
- package/dist/collection/components/time-picker/time-picker.js +3 -3
- package/dist/collection/components/toast/toast-container.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/test/toggle.ct.js +1 -24
- package/dist/collection/components/toggle/test/toggle.ct.js.map +1 -1
- package/dist/collection/components/toggle/toggle.css +1 -132
- package/dist/collection/components/toggle/toggle.js +2 -157
- package/dist/collection/components/toggle/toggle.js.map +1 -1
- package/dist/collection/components/toggle-button/toggle-button.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +4 -4
- package/dist/collection/components/upload/upload.js +3 -3
- package/dist/collection/components/utils/a11y.js +2 -3
- package/dist/collection/components/utils/a11y.js.map +1 -1
- package/dist/collection/components/utils/application-layout/service.js +2 -2
- package/dist/collection/components/utils/application-layout/service.js.map +1 -1
- package/dist/collection/components/utils/make-ref.js +0 -5
- package/dist/collection/components/utils/make-ref.js.map +1 -1
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
- package/dist/collection/components/workflow-step/workflow-step.js +3 -3
- package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
- package/dist/collection/index.js +0 -6
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/tests/utils/test/index.js +0 -11
- package/dist/collection/tests/utils/test/index.js.map +1 -1
- package/dist/esm/{a11y-13dedaef.js → a11y-d5444a76.js} +3 -4
- package/dist/esm/a11y-d5444a76.js.map +1 -0
- package/dist/esm/{base-button-ea06697f.js → base-button-1b40b11d.js} +2 -2
- package/dist/esm/{base-button-ea06697f.js.map → base-button-1b40b11d.js.map} +1 -1
- package/dist/esm/{base-icon-button-c64fdb50.js → base-icon-button-bc1dabe0.js} +3 -3
- package/dist/esm/{base-icon-button-c64fdb50.js.map → base-icon-button-bc1dabe0.js.map} +1 -1
- package/dist/esm/{index-9103b14c.js → index-5429f20b.js} +156 -78
- package/dist/esm/index-5429f20b.js.map +1 -0
- package/dist/esm/index.js +1 -16
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/ix-action-card.entry.js +1 -1
- package/dist/esm/ix-application-header.entry.js +5 -5
- package/dist/esm/ix-application-sidebar.entry.js +2 -2
- package/dist/esm/ix-application-switch-modal.entry.js +2 -2
- package/dist/esm/ix-application.entry.js +5 -5
- package/dist/esm/ix-avatar_2.entry.js +4 -4
- package/dist/esm/ix-basic-navigation.entry.js +4 -4
- package/dist/esm/ix-blind.entry.js +2 -2
- package/dist/esm/ix-breadcrumb-item.entry.js +3 -3
- package/dist/esm/ix-breadcrumb.entry.js +4 -4
- package/dist/esm/ix-button.entry.js +2 -2
- package/dist/esm/ix-card-accordion_2.entry.js +2 -2
- package/dist/esm/ix-card-list.entry.js +5 -5
- package/dist/esm/ix-card_2.entry.js +2 -2
- package/dist/esm/ix-category-filter.entry.js +6 -6
- package/dist/esm/ix-category-filter.entry.js.map +1 -1
- package/dist/esm/ix-chip.entry.js +5 -5
- package/dist/esm/ix-col_4.entry.js +9 -9
- package/dist/esm/ix-content-header.entry.js +1 -1
- package/dist/esm/ix-content.entry.js +4 -4
- 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-date-dropdown.entry.js +1 -1
- package/dist/esm/ix-date-time-card.entry.js +2 -2
- package/dist/esm/ix-date-time-card.entry.js.map +1 -1
- package/dist/esm/ix-datetime-picker.entry.js +2 -2
- package/dist/esm/ix-divider.entry.js +2 -2
- package/dist/esm/ix-drawer.entry.js +3 -3
- package/dist/esm/ix-dropdown-button.entry.js +3 -3
- package/dist/esm/ix-dropdown-header.entry.js +2 -2
- package/dist/esm/ix-dropdown-item.entry.js +4 -4
- package/dist/esm/ix-dropdown-quick-actions.entry.js +2 -2
- package/dist/esm/ix-dropdown.entry.js +146 -7
- package/dist/esm/ix-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-empty-state.entry.js +2 -2
- package/dist/esm/ix-event-list-item.entry.js +6 -6
- package/dist/esm/ix-event-list.entry.js +3 -3
- package/dist/esm/ix-expanding-search.entry.js +5 -5
- package/dist/esm/ix-filter-chip_2.entry.js +3 -3
- package/dist/esm/ix-flip-tile-content.entry.js +2 -2
- package/dist/esm/ix-flip-tile.entry.js +5 -5
- package/dist/esm/ix-form-field.entry.js +24 -0
- package/dist/esm/ix-form-field.entry.js.map +1 -0
- package/dist/esm/ix-group-context-menu_2.entry.js +4 -4
- package/dist/esm/ix-group.entry.js +9 -9
- package/dist/esm/ix-icon-button_2.entry.js +6 -6
- package/dist/esm/ix-icon-toggle-button.entry.js +5 -5
- package/dist/esm/ix-input-group.entry.js +2 -2
- 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-kpi.entry.js +4 -4
- package/dist/esm/ix-link-button.entry.js +4 -4
- package/dist/esm/ix-map-navigation-overlay.entry.js +3 -3
- package/dist/esm/ix-map-navigation.entry.js +3 -3
- package/dist/esm/ix-menu-about-item.entry.js +2 -2
- package/dist/esm/ix-menu-about-news.entry.js +5 -5
- package/dist/esm/ix-menu-about.entry.js +3 -3
- package/dist/esm/ix-menu-avatar.entry.js +3 -3
- package/dist/esm/ix-menu-category.entry.js +6 -6
- package/dist/esm/ix-menu-expand-icon.entry.js +4 -4
- package/dist/esm/ix-menu-item.entry.js +5 -5
- 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-message-bar.entry.js +2 -2
- package/dist/esm/ix-modal-content_2.entry.js +3 -3
- package/dist/esm/ix-modal-example.entry.js +2 -2
- package/dist/esm/ix-modal-footer.entry.js +2 -2
- package/dist/esm/ix-modal-loading.entry.js +2 -2
- package/dist/esm/ix-modal.entry.js +6 -6
- package/dist/esm/ix-pagination.entry.js +5 -5
- package/dist/esm/ix-pane-layout.entry.js +3 -3
- package/dist/esm/ix-pane.entry.js +8 -8
- package/dist/esm/ix-pill.entry.js +5 -5
- 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-select.entry.js +59 -121
- package/dist/esm/ix-select.entry.js.map +1 -1
- package/dist/esm/ix-slider.entry.js +9 -9
- package/dist/esm/ix-split-button-item.entry.js +3 -3
- package/dist/esm/ix-split-button.entry.js +2 -2
- package/dist/esm/ix-tab-item_2.entry.js +6 -6
- package/dist/esm/ix-tab-item_2.entry.js.map +1 -1
- package/dist/esm/ix-tile.entry.js +5 -5
- 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 +3 -3
- package/dist/esm/ix-toast.entry.js +3 -3
- package/dist/esm/ix-toggle-button.entry.js +5 -5
- package/dist/esm/ix-toggle.entry.js +5 -42
- package/dist/esm/ix-toggle.entry.js.map +1 -1
- package/dist/esm/{ix-field-label_3.entry.js → ix-tooltip.entry.js} +6 -145
- package/dist/esm/ix-tooltip.entry.js.map +1 -0
- package/dist/esm/ix-tree-item.entry.js +5 -5
- package/dist/esm/ix-tree.entry.js +2 -2
- package/dist/esm/ix-typography.entry.js +1 -1
- package/dist/esm/ix-upload.entry.js +4 -4
- package/dist/esm/ix-validation-tooltip.entry.js +3 -3
- package/dist/esm/ix-workflow-step.entry.js +4 -4
- package/dist/esm/ix-workflow-steps.entry.js +2 -2
- package/dist/esm/{listener-98571ba8.js → listener-4f3baab5.js} +2 -2
- package/dist/esm/{listener-98571ba8.js.map → listener-4f3baab5.js.map} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{make-ref-6b3b4e16.js → make-ref-c80046bf.js} +1 -6
- package/dist/esm/make-ref-c80046bf.js.map +1 -0
- package/dist/esm/{menu-tabs-fc-7ec1fb5d.js → menu-tabs-fc-d9a7dd06.js} +3 -3
- package/dist/esm/{menu-tabs-fc-7ec1fb5d.js.map → menu-tabs-fc-d9a7dd06.js.map} +1 -1
- package/dist/esm/{service-02cc9011.js → service-c7fc628b.js} +3 -3
- package/dist/esm/service-c7fc628b.js.map +1 -0
- package/dist/esm/siemens-ix.js +3 -3
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/index.esm.js.map +1 -1
- package/dist/siemens-ix/{p-9cc0d11b.entry.js → p-052340f9.entry.js} +2 -2
- package/dist/siemens-ix/{p-dde0af66.entry.js → p-0653a145.entry.js} +2 -2
- package/dist/siemens-ix/{p-ac05950c.entry.js → p-0b4e398e.entry.js} +2 -2
- package/dist/siemens-ix/{p-224ebf90.js → p-0c8a98cd.js} +2 -2
- package/dist/siemens-ix/p-0d2a6886.entry.js +2 -0
- package/dist/siemens-ix/{p-4b69ab0d.entry.js → p-0f7ef743.entry.js} +2 -2
- package/dist/siemens-ix/{p-6bd0ba14.entry.js → p-112069ca.entry.js} +2 -2
- package/dist/siemens-ix/p-112069ca.entry.js.map +1 -0
- package/dist/siemens-ix/{p-6ca97a73.entry.js → p-113cc793.entry.js} +2 -2
- package/dist/siemens-ix/{p-1f771917.entry.js → p-14a41c8c.entry.js} +2 -2
- package/dist/siemens-ix/{p-787293f4.entry.js → p-15b3c17e.entry.js} +2 -2
- package/dist/siemens-ix/p-16b923e9.entry.js +2 -0
- package/dist/siemens-ix/{p-3b38f812.entry.js → p-1a122c76.entry.js} +2 -2
- package/dist/siemens-ix/{p-83b8b502.entry.js → p-1cff59db.entry.js} +2 -2
- package/dist/siemens-ix/{p-ed991838.js → p-1d581190.js} +2 -2
- package/dist/siemens-ix/{p-37ca7ed4.js → p-1db6be55.js} +2 -2
- package/dist/siemens-ix/{p-1ec8d2b9.entry.js → p-1f4b8463.entry.js} +2 -2
- package/dist/siemens-ix/{p-846cf6d2.entry.js → p-24a8737a.entry.js} +2 -2
- package/dist/siemens-ix/{p-fad5daa1.entry.js → p-2908cacd.entry.js} +2 -2
- package/dist/siemens-ix/{p-80051a81.entry.js → p-2946fd70.entry.js} +2 -2
- package/dist/siemens-ix/{p-b973db5e.entry.js → p-29df2e29.entry.js} +2 -2
- package/dist/siemens-ix/{p-35690183.entry.js → p-2c4c03d4.entry.js} +2 -2
- package/dist/siemens-ix/p-2ebfd4fd.entry.js +2 -0
- package/dist/siemens-ix/{p-02ed5606.entry.js.map → p-2ebfd4fd.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-edd99767.entry.js → p-2ec7f841.entry.js} +2 -2
- package/dist/siemens-ix/{p-576b09c9.entry.js → p-309ac3ad.entry.js} +2 -2
- package/dist/siemens-ix/p-315f070d.entry.js +2 -0
- package/dist/siemens-ix/p-315f070d.entry.js.map +1 -0
- package/dist/siemens-ix/p-32375ddb.entry.js +2 -0
- package/dist/siemens-ix/p-32d4ed3b.entry.js +2 -0
- package/dist/siemens-ix/{p-cfcd2bd3.entry.js → p-427676f4.entry.js} +2 -2
- package/dist/siemens-ix/{p-b6c0dfb5.entry.js → p-4430117a.entry.js} +2 -2
- package/dist/siemens-ix/p-44db3646.entry.js +2 -0
- package/dist/siemens-ix/{p-5924a783.entry.js → p-453fa360.entry.js} +2 -2
- package/dist/siemens-ix/p-4b3facea.entry.js +2 -0
- package/dist/siemens-ix/p-4f8ac3bf.js +2 -0
- package/dist/siemens-ix/p-4f8ac3bf.js.map +1 -0
- package/dist/siemens-ix/p-52857629.entry.js +2 -0
- package/dist/siemens-ix/p-52857629.entry.js.map +1 -0
- package/dist/siemens-ix/{p-f0bbd496.entry.js → p-53352bfb.entry.js} +2 -2
- package/dist/siemens-ix/p-5696bb62.entry.js +2 -0
- package/dist/siemens-ix/p-5696bb62.entry.js.map +1 -0
- package/dist/siemens-ix/{p-9840f086.entry.js → p-5aa0b93c.entry.js} +2 -2
- package/dist/siemens-ix/{p-628c8612.entry.js → p-5c673ae9.entry.js} +2 -2
- package/dist/siemens-ix/{p-b5c4fd55.entry.js → p-5f25e7fd.entry.js} +2 -2
- package/dist/siemens-ix/{p-1df98c59.entry.js → p-60c16878.entry.js} +2 -2
- package/dist/siemens-ix/{p-0681f4d8.entry.js → p-6227e62b.entry.js} +2 -2
- package/dist/siemens-ix/p-64c3fa3d.js +2 -0
- package/dist/siemens-ix/p-64c3fa3d.js.map +1 -0
- package/dist/siemens-ix/p-68532fa2.js +2 -0
- package/dist/siemens-ix/{p-b0fe18f7.entry.js → p-68644ee1.entry.js} +2 -2
- package/dist/siemens-ix/{p-8a9fc2f0.entry.js → p-6af4415c.entry.js} +2 -2
- package/dist/siemens-ix/{p-8dcf30ce.entry.js → p-6fd7ecd0.entry.js} +2 -2
- package/dist/siemens-ix/{p-ec0806c3.entry.js → p-7076210b.entry.js} +2 -2
- package/dist/siemens-ix/{p-86b46723.entry.js → p-713828ed.entry.js} +2 -2
- package/dist/siemens-ix/{p-8e10d2f2.entry.js → p-7bfd6cd2.entry.js} +2 -2
- package/dist/siemens-ix/p-7faa148f.entry.js +2 -0
- package/dist/siemens-ix/p-85423643.entry.js +2 -0
- package/dist/siemens-ix/p-85423643.entry.js.map +1 -0
- package/dist/siemens-ix/{p-97f475db.entry.js → p-8629db91.entry.js} +2 -2
- package/dist/siemens-ix/p-87e692d9.entry.js +2 -0
- package/dist/siemens-ix/{p-18d15442.entry.js.map → p-87e692d9.entry.js.map} +1 -1
- package/dist/siemens-ix/p-882a0233.entry.js +2 -0
- package/dist/siemens-ix/{p-0d907964.entry.js.map → p-882a0233.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-75c61fbf.entry.js → p-8d0758c1.entry.js} +2 -2
- package/dist/siemens-ix/{p-3a5f7b61.entry.js → p-8d599677.entry.js} +2 -2
- package/dist/siemens-ix/{p-504f43d4.entry.js → p-90440046.entry.js} +2 -2
- package/dist/siemens-ix/{p-504f43d4.entry.js.map → p-90440046.entry.js.map} +1 -1
- package/dist/siemens-ix/p-92a18c10.entry.js +2 -0
- package/dist/siemens-ix/{p-06965e5f.entry.js → p-96a3a750.entry.js} +2 -2
- package/dist/siemens-ix/{p-921c59c4.entry.js → p-9ebc4fc3.entry.js} +2 -2
- package/dist/siemens-ix/{p-d7131f75.entry.js → p-a0138163.entry.js} +2 -2
- package/dist/siemens-ix/{p-3730ac72.entry.js → p-a0a44a2b.entry.js} +2 -2
- package/dist/siemens-ix/{p-3de71a19.entry.js → p-a8d291fa.entry.js} +2 -2
- package/dist/siemens-ix/{p-c6dcff7e.entry.js → p-af099ca4.entry.js} +2 -2
- package/dist/siemens-ix/p-b3b23af7.entry.js +2 -0
- package/dist/siemens-ix/{p-f37ac17d.entry.js → p-b4ce366d.entry.js} +2 -2
- package/dist/siemens-ix/{p-293dd6d1.entry.js → p-b663ca16.entry.js} +2 -2
- package/dist/siemens-ix/{p-9569e1a2.entry.js → p-b804b8c5.entry.js} +2 -2
- package/dist/siemens-ix/{p-b789e0e7.entry.js → p-bc2c74c5.entry.js} +2 -2
- package/dist/siemens-ix/{p-8d737a35.entry.js → p-bea7c748.entry.js} +2 -2
- package/dist/siemens-ix/{p-781a1922.entry.js → p-bf14c60b.entry.js} +2 -2
- package/dist/siemens-ix/p-c1222581.entry.js +2 -0
- package/dist/siemens-ix/{p-934ae9a0.entry.js → p-c1968b80.entry.js} +2 -2
- package/dist/siemens-ix/{p-e1bd7b4f.entry.js → p-c33cee36.entry.js} +2 -2
- package/dist/siemens-ix/{p-5eb935a3.entry.js → p-c45601cb.entry.js} +2 -2
- package/dist/siemens-ix/{p-815dd9a1.entry.js → p-c55db6c7.entry.js} +2 -2
- package/dist/siemens-ix/p-d03df401.entry.js +2 -0
- package/dist/siemens-ix/p-d03df401.entry.js.map +1 -0
- package/dist/siemens-ix/{p-87d7aaf9.entry.js → p-d14024d3.entry.js} +2 -2
- package/dist/siemens-ix/{p-2442ad01.entry.js → p-d1f49940.entry.js} +2 -2
- package/dist/siemens-ix/{p-61265df9.entry.js → p-d95cbd1f.entry.js} +2 -2
- package/dist/siemens-ix/{p-e72dfb3c.entry.js → p-d998415f.entry.js} +2 -2
- package/dist/siemens-ix/{p-628f031a.entry.js → p-dcb3e5be.entry.js} +2 -2
- package/dist/siemens-ix/{p-724b98ce.entry.js → p-dde7eb80.entry.js} +2 -2
- package/dist/siemens-ix/{p-ae7fdfa6.entry.js → p-e30ed20a.entry.js} +2 -2
- package/dist/siemens-ix/{p-15a5bc5a.entry.js → p-e8d3cf35.entry.js} +2 -2
- package/dist/siemens-ix/{p-aca94a5e.entry.js → p-e9a3f58a.entry.js} +2 -2
- package/dist/siemens-ix/p-eb6268a6.entry.js +2 -0
- package/dist/siemens-ix/{p-79c848ec.entry.js.map → p-eb6268a6.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-b8ed7953.entry.js → p-ebb277f0.entry.js} +2 -2
- package/dist/siemens-ix/{p-e5218382.entry.js → p-f07110c6.entry.js} +2 -2
- package/dist/siemens-ix/{p-6c412b52.entry.js → p-f78246bd.entry.js} +2 -2
- package/dist/siemens-ix/p-f87cd962.js +3 -0
- package/dist/siemens-ix/p-f87cd962.js.map +1 -0
- package/dist/siemens-ix/{p-104097fb.entry.js → p-fb2b78f7.entry.js} +2 -2
- package/dist/siemens-ix/{p-aae05303.entry.js → p-fb47546b.entry.js} +2 -2
- package/dist/siemens-ix/p-fb4c79c6.entry.js +2 -0
- package/dist/siemens-ix/{p-702f9349.js → p-fbe017b7.js} +2 -2
- package/dist/siemens-ix/p-fbe017b7.js.map +1 -0
- package/dist/siemens-ix/{p-9ec92185.entry.js → p-fc5814df.entry.js} +2 -2
- package/dist/siemens-ix/{p-bd24bbde.entry.js → p-feac09bc.entry.js} +2 -2
- package/dist/siemens-ix/p-ff148103.entry.js +2 -0
- package/dist/siemens-ix/p-ff148103.entry.js.map +1 -0
- package/dist/siemens-ix/{p-35fa9e1a.entry.js → p-ff1ac5b3.entry.js} +2 -2
- package/dist/siemens-ix/siemens-ix-core.css +1 -1
- package/dist/siemens-ix/siemens-ix.css +7 -80
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
- package/dist/types/components/date-time-card/date-time-card.d.ts +1 -1
- package/dist/types/components/dropdown/dropdown-controller.d.ts +0 -1
- package/dist/types/components/form-field/form-field.d.ts +10 -0
- package/dist/types/components/select/select.d.ts +4 -84
- package/dist/types/components/tab-item/tab-item.d.ts +1 -1
- package/dist/types/components/toggle/toggle.d.ts +1 -29
- package/dist/types/components/utils/a11y.d.ts +5 -5
- package/dist/types/components.d.ts +30 -1714
- package/dist/types/index.d.ts +0 -1
- package/dist/types/tests/utils/test/index.d.ts +0 -3
- package/hydrate/index.js +516 -2584
- package/package.json +3 -3
- package/scss/components/form/_input.scss +6 -56
- package/components/field-label.js +0 -127
- package/components/field-label.js.map +0 -1
- package/components/field-wrapper.js +0 -97
- package/components/field-wrapper.js.map +0 -1
- package/components/helper-text-util.js +0 -48
- package/components/helper-text-util.js.map +0 -1
- package/components/ix-checkbox-group.d.ts +0 -11
- package/components/ix-checkbox-group.js +0 -105
- package/components/ix-checkbox-group.js.map +0 -1
- package/components/ix-checkbox.d.ts +0 -11
- package/components/ix-checkbox.js +0 -141
- package/components/ix-checkbox.js.map +0 -1
- package/components/ix-custom-field.d.ts +0 -11
- package/components/ix-custom-field.js +0 -116
- package/components/ix-custom-field.js.map +0 -1
- package/components/ix-date-field.d.ts +0 -11
- package/components/ix-date-field.js +0 -351
- package/components/ix-date-field.js.map +0 -1
- package/components/ix-field-label.d.ts +0 -11
- package/components/ix-field-label.js +0 -8
- package/components/ix-field-label.js.map +0 -1
- package/components/ix-field-wrapper.d.ts +0 -11
- package/components/ix-field-wrapper.js +0 -8
- package/components/ix-field-wrapper.js.map +0 -1
- package/components/ix-helper-text.d.ts +0 -11
- package/components/ix-helper-text.js +0 -97
- package/components/ix-helper-text.js.map +0 -1
- package/components/ix-layout-form.d.ts +0 -11
- package/components/ix-layout-form.js +0 -113
- package/components/ix-layout-form.js.map +0 -1
- package/components/ix-number-field.d.ts +0 -11
- package/components/ix-number-field.js +0 -217
- package/components/ix-number-field.js.map +0 -1
- package/components/ix-radio-group.d.ts +0 -11
- package/components/ix-radio-group.js +0 -169
- package/components/ix-radio-group.js.map +0 -1
- package/components/ix-radio.d.ts +0 -11
- package/components/ix-radio.js +0 -115
- package/components/ix-radio.js.map +0 -1
- package/components/ix-text-field.js +0 -223
- package/components/ix-text-field.js.map +0 -1
- package/components/ix-textarea-field.d.ts +0 -11
- package/components/ix-textarea-field.js +0 -177
- package/components/ix-textarea-field.js.map +0 -1
- package/components/text-field.util.js +0 -167
- package/components/text-field.util.js.map +0 -1
- package/components/validation.js +0 -112
- package/components/validation.js.map +0 -1
- package/dist/cjs/a11y-32046b56.js.map +0 -1
- package/dist/cjs/dropdown-controller-403dc7fa.js +0 -147
- package/dist/cjs/dropdown-controller-403dc7fa.js.map +0 -1
- package/dist/cjs/helper-text-util-9f617ef2.js +0 -40
- package/dist/cjs/helper-text-util-9f617ef2.js.map +0 -1
- package/dist/cjs/index-0f6297c8.js.map +0 -1
- package/dist/cjs/index-762a29a3.js +0 -24
- package/dist/cjs/index-762a29a3.js.map +0 -1
- package/dist/cjs/ix-checkbox-group.cjs.entry.js +0 -56
- package/dist/cjs/ix-checkbox-group.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-checkbox.cjs.entry.js +0 -114
- package/dist/cjs/ix-checkbox.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-custom-field.cjs.entry.js +0 -65
- package/dist/cjs/ix-custom-field.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-date-field.cjs.entry.js +0 -255
- package/dist/cjs/ix-date-field.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-field-label_3.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-helper-text.cjs.entry.js +0 -70
- package/dist/cjs/ix-helper-text.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-layout-form.cjs.entry.js +0 -94
- package/dist/cjs/ix-layout-form.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-number-field.cjs.entry.js +0 -148
- package/dist/cjs/ix-number-field.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-radio-group.cjs.entry.js +0 -116
- package/dist/cjs/ix-radio-group.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-radio.cjs.entry.js +0 -96
- package/dist/cjs/ix-radio.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-text-field.cjs.entry.js +0 -151
- package/dist/cjs/ix-text-field.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-textarea-field.cjs.entry.js +0 -118
- package/dist/cjs/ix-textarea-field.cjs.entry.js.map +0 -1
- package/dist/cjs/make-ref-01530e5a.js.map +0 -1
- package/dist/cjs/service-a42add5f.js.map +0 -1
- package/dist/cjs/text-field.util-d7c5c1cd.js +0 -179
- package/dist/cjs/text-field.util-d7c5c1cd.js.map +0 -1
- package/dist/cjs/validation-c5a41d68.js +0 -117
- package/dist/cjs/validation-c5a41d68.js.map +0 -1
- package/dist/collection/components/checkbox/checkbox.css +0 -437
- package/dist/collection/components/checkbox/checkbox.js +0 -323
- package/dist/collection/components/checkbox/checkbox.js.map +0 -1
- package/dist/collection/components/checkbox/tests/checkbox.ct.js +0 -52
- package/dist/collection/components/checkbox/tests/checkbox.ct.js.map +0 -1
- package/dist/collection/components/checkbox-group/checkbox-group.css +0 -35
- package/dist/collection/components/checkbox-group/checkbox-group.js +0 -173
- package/dist/collection/components/checkbox-group/checkbox-group.js.map +0 -1
- package/dist/collection/components/custom-field/custom-field.css +0 -11
- package/dist/collection/components/custom-field/custom-field.js +0 -216
- package/dist/collection/components/custom-field/custom-field.js.map +0 -1
- package/dist/collection/components/custom-field/tests/custom-field.ct.js +0 -68
- package/dist/collection/components/custom-field/tests/custom-field.ct.js.map +0 -1
- package/dist/collection/components/date-field/date-field.css +0 -938
- package/dist/collection/components/date-field/date-field.js +0 -696
- package/dist/collection/components/date-field/date-field.js.map +0 -1
- package/dist/collection/components/date-field/tests/date-field.ct.js +0 -114
- package/dist/collection/components/date-field/tests/date-field.ct.js.map +0 -1
- package/dist/collection/components/field-label/field-label.css +0 -14
- package/dist/collection/components/field-label/field-label.js +0 -173
- package/dist/collection/components/field-label/field-label.js.map +0 -1
- package/dist/collection/components/field-label/tests/field-label.ct.js +0 -70
- package/dist/collection/components/field-label/tests/field-label.ct.js.map +0 -1
- package/dist/collection/components/field-wrapper/field-wrapper.css +0 -71
- package/dist/collection/components/field-wrapper/field-wrapper.js +0 -309
- package/dist/collection/components/field-wrapper/field-wrapper.js.map +0 -1
- package/dist/collection/components/field-wrapper/helper-text-util.js +0 -26
- package/dist/collection/components/field-wrapper/helper-text-util.js.map +0 -1
- package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js +0 -63
- package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js.map +0 -1
- package/dist/collection/components/helper-text/helper-text.css +0 -34
- package/dist/collection/components/helper-text/helper-text.js +0 -179
- package/dist/collection/components/helper-text/helper-text.js.map +0 -1
- package/dist/collection/components/layout-form/layout-form.css +0 -15
- package/dist/collection/components/layout-form/layout-form.js +0 -126
- package/dist/collection/components/layout-form/layout-form.js.map +0 -1
- package/dist/collection/components/radio/radio.css +0 -428
- package/dist/collection/components/radio/radio.js +0 -276
- package/dist/collection/components/radio/radio.js.map +0 -1
- package/dist/collection/components/radio/test/radio.ct.js +0 -36
- package/dist/collection/components/radio/test/radio.ct.js.map +0 -1
- package/dist/collection/components/radio-group/radio-group.css +0 -35
- package/dist/collection/components/radio-group/radio-group.js +0 -296
- package/dist/collection/components/radio-group/radio-group.js.map +0 -1
- package/dist/collection/components/radio-group/test/radio-group.ct.js +0 -99
- package/dist/collection/components/radio-group/test/radio-group.ct.js.map +0 -1
- package/dist/collection/components/text-field/input.fc.js +0 -38
- package/dist/collection/components/text-field/input.fc.js.map +0 -1
- package/dist/collection/components/text-field/number-field.js +0 -586
- package/dist/collection/components/text-field/number-field.js.map +0 -1
- package/dist/collection/components/text-field/tests/form-ready.ct.js +0 -63
- package/dist/collection/components/text-field/tests/form-ready.ct.js.map +0 -1
- package/dist/collection/components/text-field/text-field.animation.js +0 -36
- package/dist/collection/components/text-field/text-field.animation.js.map +0 -1
- package/dist/collection/components/text-field/text-field.css +0 -899
- package/dist/collection/components/text-field/text-field.js +0 -594
- package/dist/collection/components/text-field/text-field.js.map +0 -1
- package/dist/collection/components/text-field/text-field.util.js +0 -93
- package/dist/collection/components/text-field/text-field.util.js.map +0 -1
- package/dist/collection/components/text-field/textarea-field.css +0 -550
- package/dist/collection/components/text-field/textarea-field.js +0 -595
- package/dist/collection/components/text-field/textarea-field.js.map +0 -1
- package/dist/collection/components/utils/attributes.js +0 -25
- package/dist/collection/components/utils/attributes.js.map +0 -1
- package/dist/collection/components/utils/field/index.js +0 -9
- package/dist/collection/components/utils/field/index.js.map +0 -1
- package/dist/collection/components/utils/field/validation.js +0 -108
- package/dist/collection/components/utils/field/validation.js.map +0 -1
- package/dist/collection/components/utils/testing/index.js +0 -9
- package/dist/collection/components/utils/testing/index.js.map +0 -1
- package/dist/collection/components/utils/uuid.js +0 -16
- package/dist/collection/components/utils/uuid.js.map +0 -1
- package/dist/collection/tests/form-fields/form-fields.e2e.js +0 -57
- package/dist/collection/tests/form-fields/form-fields.e2e.js.map +0 -1
- package/dist/esm/a11y-13dedaef.js.map +0 -1
- package/dist/esm/dropdown-controller-d6d8b14a.js +0 -143
- package/dist/esm/dropdown-controller-d6d8b14a.js.map +0 -1
- package/dist/esm/helper-text-util-3dd33b44.js +0 -38
- package/dist/esm/helper-text-util-3dd33b44.js.map +0 -1
- package/dist/esm/index-9103b14c.js.map +0 -1
- package/dist/esm/index-f51bf247.js +0 -14
- package/dist/esm/index-f51bf247.js.map +0 -1
- package/dist/esm/ix-checkbox-group.entry.js +0 -52
- package/dist/esm/ix-checkbox-group.entry.js.map +0 -1
- package/dist/esm/ix-checkbox.entry.js +0 -110
- package/dist/esm/ix-checkbox.entry.js.map +0 -1
- package/dist/esm/ix-custom-field.entry.js +0 -61
- package/dist/esm/ix-custom-field.entry.js.map +0 -1
- package/dist/esm/ix-date-field.entry.js +0 -251
- package/dist/esm/ix-date-field.entry.js.map +0 -1
- package/dist/esm/ix-field-label_3.entry.js.map +0 -1
- package/dist/esm/ix-helper-text.entry.js +0 -66
- package/dist/esm/ix-helper-text.entry.js.map +0 -1
- package/dist/esm/ix-layout-form.entry.js +0 -90
- package/dist/esm/ix-layout-form.entry.js.map +0 -1
- package/dist/esm/ix-number-field.entry.js +0 -144
- package/dist/esm/ix-number-field.entry.js.map +0 -1
- package/dist/esm/ix-radio-group.entry.js +0 -112
- package/dist/esm/ix-radio-group.entry.js.map +0 -1
- package/dist/esm/ix-radio.entry.js +0 -92
- package/dist/esm/ix-radio.entry.js.map +0 -1
- package/dist/esm/ix-text-field.entry.js +0 -147
- package/dist/esm/ix-text-field.entry.js.map +0 -1
- package/dist/esm/ix-textarea-field.entry.js +0 -114
- package/dist/esm/ix-textarea-field.entry.js.map +0 -1
- package/dist/esm/make-ref-6b3b4e16.js.map +0 -1
- package/dist/esm/service-02cc9011.js.map +0 -1
- package/dist/esm/text-field.util-6a84bffd.js +0 -167
- package/dist/esm/text-field.util-6a84bffd.js.map +0 -1
- package/dist/esm/validation-9db7dfa3.js +0 -112
- package/dist/esm/validation-9db7dfa3.js.map +0 -1
- package/dist/siemens-ix/p-02ed5606.entry.js +0 -2
- package/dist/siemens-ix/p-08215ad3.entry.js +0 -2
- package/dist/siemens-ix/p-08215ad3.entry.js.map +0 -1
- package/dist/siemens-ix/p-0bed10af.entry.js +0 -2
- package/dist/siemens-ix/p-0d907964.entry.js +0 -2
- package/dist/siemens-ix/p-0dfc3b80.entry.js +0 -2
- package/dist/siemens-ix/p-18d15442.entry.js +0 -2
- package/dist/siemens-ix/p-277980fa.entry.js +0 -2
- package/dist/siemens-ix/p-277980fa.entry.js.map +0 -1
- package/dist/siemens-ix/p-36c0f378.js +0 -2
- package/dist/siemens-ix/p-36c0f378.js.map +0 -1
- package/dist/siemens-ix/p-3782e028.js +0 -2
- package/dist/siemens-ix/p-3782e028.js.map +0 -1
- package/dist/siemens-ix/p-399bb0ce.entry.js +0 -2
- package/dist/siemens-ix/p-4017727a.entry.js +0 -2
- package/dist/siemens-ix/p-4017727a.entry.js.map +0 -1
- package/dist/siemens-ix/p-42c66a44.js +0 -2
- package/dist/siemens-ix/p-42c66a44.js.map +0 -1
- package/dist/siemens-ix/p-4a335b55.entry.js +0 -2
- package/dist/siemens-ix/p-4a335b55.entry.js.map +0 -1
- package/dist/siemens-ix/p-50cae62d.entry.js +0 -2
- package/dist/siemens-ix/p-53e62b51.entry.js +0 -2
- package/dist/siemens-ix/p-56d01130.entry.js +0 -2
- package/dist/siemens-ix/p-56d01130.entry.js.map +0 -1
- package/dist/siemens-ix/p-5a6d8b69.entry.js +0 -2
- package/dist/siemens-ix/p-5a6d8b69.entry.js.map +0 -1
- package/dist/siemens-ix/p-5bf40a9f.entry.js +0 -2
- package/dist/siemens-ix/p-6bd0ba14.entry.js.map +0 -1
- package/dist/siemens-ix/p-6f83793b.entry.js +0 -2
- package/dist/siemens-ix/p-6f83793b.entry.js.map +0 -1
- package/dist/siemens-ix/p-702f9349.js.map +0 -1
- package/dist/siemens-ix/p-70a7bd22.entry.js +0 -2
- package/dist/siemens-ix/p-70a7bd22.entry.js.map +0 -1
- package/dist/siemens-ix/p-73e0eb40.entry.js +0 -2
- package/dist/siemens-ix/p-73e0eb40.entry.js.map +0 -1
- package/dist/siemens-ix/p-79c848ec.entry.js +0 -2
- package/dist/siemens-ix/p-7f4b78e5.js +0 -2
- package/dist/siemens-ix/p-7f4b78e5.js.map +0 -1
- package/dist/siemens-ix/p-9010831e.entry.js +0 -2
- package/dist/siemens-ix/p-9010831e.entry.js.map +0 -1
- package/dist/siemens-ix/p-a9b0c087.entry.js +0 -2
- package/dist/siemens-ix/p-ac6c6d3f.entry.js +0 -2
- package/dist/siemens-ix/p-ac6c6d3f.entry.js.map +0 -1
- package/dist/siemens-ix/p-b9b59a08.entry.js +0 -2
- package/dist/siemens-ix/p-b9b59a08.entry.js.map +0 -1
- package/dist/siemens-ix/p-bc1e92ac.js +0 -2
- package/dist/siemens-ix/p-c3db120e.entry.js +0 -2
- package/dist/siemens-ix/p-c66e4a5f.entry.js +0 -2
- package/dist/siemens-ix/p-c71d1690.entry.js +0 -2
- package/dist/siemens-ix/p-c71d1690.entry.js.map +0 -1
- package/dist/siemens-ix/p-cce7a3d5.js +0 -2
- package/dist/siemens-ix/p-cce7a3d5.js.map +0 -1
- package/dist/siemens-ix/p-ce8a0611.entry.js +0 -2
- package/dist/siemens-ix/p-ce8a0611.entry.js.map +0 -1
- package/dist/siemens-ix/p-cf65d3b6.entry.js +0 -2
- package/dist/siemens-ix/p-cf65d3b6.entry.js.map +0 -1
- package/dist/siemens-ix/p-da8517ed.js +0 -2
- package/dist/siemens-ix/p-da8517ed.js.map +0 -1
- package/dist/siemens-ix/p-dead9c8e.js +0 -2
- package/dist/siemens-ix/p-dead9c8e.js.map +0 -1
- package/dist/siemens-ix/p-ef6171a2.entry.js +0 -2
- package/dist/siemens-ix/p-f22e4bb2.entry.js +0 -2
- package/dist/siemens-ix/p-f22e4bb2.entry.js.map +0 -1
- package/dist/siemens-ix/p-f3c3366d.entry.js +0 -2
- package/dist/siemens-ix/p-f86a894a.js +0 -3
- package/dist/siemens-ix/p-f86a894a.js.map +0 -1
- package/dist/types/components/checkbox/checkbox.d.ts +0 -61
- package/dist/types/components/checkbox/tests/checkbox.ct.d.ts +0 -1
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +0 -40
- package/dist/types/components/custom-field/custom-field.d.ts +0 -46
- package/dist/types/components/custom-field/tests/custom-field.ct.d.ts +0 -1
- package/dist/types/components/date-field/date-field.d.ts +0 -127
- package/dist/types/components/date-field/tests/date-field.ct.d.ts +0 -1
- package/dist/types/components/field-label/field-label.d.ts +0 -27
- package/dist/types/components/field-label/tests/field-label.ct.d.ts +0 -1
- package/dist/types/components/field-wrapper/field-wrapper.d.ts +0 -64
- package/dist/types/components/field-wrapper/helper-text-util.d.ts +0 -11
- package/dist/types/components/field-wrapper/tests/field-wrapper.ct.d.ts +0 -1
- package/dist/types/components/helper-text/helper-text.d.ts +0 -37
- package/dist/types/components/layout-form/layout-form.d.ts +0 -22
- package/dist/types/components/radio/radio.d.ts +0 -53
- package/dist/types/components/radio/test/radio.ct.d.ts +0 -1
- package/dist/types/components/radio-group/radio-group.d.ts +0 -60
- package/dist/types/components/radio-group/test/radio-group.ct.d.ts +0 -1
- package/dist/types/components/text-field/input.fc.d.ts +0 -50
- package/dist/types/components/text-field/number-field.d.ts +0 -117
- package/dist/types/components/text-field/tests/form-ready.ct.d.ts +0 -1
- package/dist/types/components/text-field/text-field.animation.d.ts +0 -1
- package/dist/types/components/text-field/text-field.d.ts +0 -119
- package/dist/types/components/text-field/text-field.util.d.ts +0 -13
- package/dist/types/components/text-field/textarea-field.d.ts +0 -127
- package/dist/types/components/utils/attributes.d.ts +0 -2
- package/dist/types/components/utils/field/index.d.ts +0 -60
- package/dist/types/components/utils/field/validation.d.ts +0 -15
- package/dist/types/components/utils/testing/index.d.ts +0 -0
- package/dist/types/components/utils/uuid.d.ts +0 -1
- package/scss/mixins/_field.scss +0 -18
- package/scss/mixins/validation/_form-component.scss +0 -63
- /package/dist/siemens-ix/{p-9cc0d11b.entry.js.map → p-052340f9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-dde0af66.entry.js.map → p-0653a145.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ac05950c.entry.js.map → p-0b4e398e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-224ebf90.js.map → p-0c8a98cd.js.map} +0 -0
- /package/dist/siemens-ix/{p-ef6171a2.entry.js.map → p-0d2a6886.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4b69ab0d.entry.js.map → p-0f7ef743.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6ca97a73.entry.js.map → p-113cc793.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1f771917.entry.js.map → p-14a41c8c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-787293f4.entry.js.map → p-15b3c17e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c3db120e.entry.js.map → p-16b923e9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3b38f812.entry.js.map → p-1a122c76.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-83b8b502.entry.js.map → p-1cff59db.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ed991838.js.map → p-1d581190.js.map} +0 -0
- /package/dist/siemens-ix/{p-37ca7ed4.js.map → p-1db6be55.js.map} +0 -0
- /package/dist/siemens-ix/{p-1ec8d2b9.entry.js.map → p-1f4b8463.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-846cf6d2.entry.js.map → p-24a8737a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-fad5daa1.entry.js.map → p-2908cacd.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-80051a81.entry.js.map → p-2946fd70.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b973db5e.entry.js.map → p-29df2e29.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-35690183.entry.js.map → p-2c4c03d4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-edd99767.entry.js.map → p-2ec7f841.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-576b09c9.entry.js.map → p-309ac3ad.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-50cae62d.entry.js.map → p-32375ddb.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a9b0c087.entry.js.map → p-32d4ed3b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-cfcd2bd3.entry.js.map → p-427676f4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b6c0dfb5.entry.js.map → p-4430117a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0dfc3b80.entry.js.map → p-44db3646.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5924a783.entry.js.map → p-453fa360.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-399bb0ce.entry.js.map → p-4b3facea.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f0bbd496.entry.js.map → p-53352bfb.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9840f086.entry.js.map → p-5aa0b93c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-628c8612.entry.js.map → p-5c673ae9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b5c4fd55.entry.js.map → p-5f25e7fd.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1df98c59.entry.js.map → p-60c16878.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0681f4d8.entry.js.map → p-6227e62b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-bc1e92ac.js.map → p-68532fa2.js.map} +0 -0
- /package/dist/siemens-ix/{p-b0fe18f7.entry.js.map → p-68644ee1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8a9fc2f0.entry.js.map → p-6af4415c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8dcf30ce.entry.js.map → p-6fd7ecd0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ec0806c3.entry.js.map → p-7076210b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-86b46723.entry.js.map → p-713828ed.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8e10d2f2.entry.js.map → p-7bfd6cd2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5bf40a9f.entry.js.map → p-7faa148f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-97f475db.entry.js.map → p-8629db91.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-75c61fbf.entry.js.map → p-8d0758c1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3a5f7b61.entry.js.map → p-8d599677.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f3c3366d.entry.js.map → p-92a18c10.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-06965e5f.entry.js.map → p-96a3a750.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-921c59c4.entry.js.map → p-9ebc4fc3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d7131f75.entry.js.map → p-a0138163.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3730ac72.entry.js.map → p-a0a44a2b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3de71a19.entry.js.map → p-a8d291fa.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c6dcff7e.entry.js.map → p-af099ca4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0bed10af.entry.js.map → p-b3b23af7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f37ac17d.entry.js.map → p-b4ce366d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-293dd6d1.entry.js.map → p-b663ca16.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9569e1a2.entry.js.map → p-b804b8c5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b789e0e7.entry.js.map → p-bc2c74c5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8d737a35.entry.js.map → p-bea7c748.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-781a1922.entry.js.map → p-bf14c60b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c66e4a5f.entry.js.map → p-c1222581.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-934ae9a0.entry.js.map → p-c1968b80.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e1bd7b4f.entry.js.map → p-c33cee36.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5eb935a3.entry.js.map → p-c45601cb.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-815dd9a1.entry.js.map → p-c55db6c7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-87d7aaf9.entry.js.map → p-d14024d3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2442ad01.entry.js.map → p-d1f49940.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-61265df9.entry.js.map → p-d95cbd1f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e72dfb3c.entry.js.map → p-d998415f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-628f031a.entry.js.map → p-dcb3e5be.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-724b98ce.entry.js.map → p-dde7eb80.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ae7fdfa6.entry.js.map → p-e30ed20a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-15a5bc5a.entry.js.map → p-e8d3cf35.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-aca94a5e.entry.js.map → p-e9a3f58a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b8ed7953.entry.js.map → p-ebb277f0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e5218382.entry.js.map → p-f07110c6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6c412b52.entry.js.map → p-f78246bd.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-104097fb.entry.js.map → p-fb2b78f7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-aae05303.entry.js.map → p-fb47546b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-53e62b51.entry.js.map → p-fb4c79c6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9ec92185.entry.js.map → p-fc5814df.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-bd24bbde.entry.js.map → p-feac09bc.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-35fa9e1a.entry.js.map → p-ff1ac5b3.entry.js.map} +0 -0
package/components/ix-radio.js
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { m as makeRef } from './make-ref.js';
|
|
3
|
-
|
|
4
|
-
const radioCss = ":host{display:inline-block;position:relative}: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{all:unset}:host button{display:inline-flex;position:relative;align-items:center;justify-content:center;width:1.125rem;min-width:1.125rem;max-width:1.125rem;height:1.125rem;min-height:1.125rem;max-height:1.125rem;border:1px solid white;border-radius:100px;margin-right:0.5rem}:host button:focus-visible{outline:0.0625rem solid var(--theme-color-focus-bdr);outline-offset:var(--theme-radiobtn--focus--outline-offset)}:host input[type=radio]{display:none}:host label{display:flex;justify-content:flex-start;align-items:flex-start;width:100%;height:100%}:host .checkmark{border-radius:100px;background-color:var(--theme-color-primary--contrast);width:0.5rem;height:0.5rem}:host button{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(:hover) button{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(:active) button{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.checked) button,:host([indeterminate]) button{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.checked:hover) button,:host([indeterminate]:hover) button{background-color:var(--theme-radiobtn-checked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--hover)}:host(.checked:active) button,:host([indeterminate]:active) button{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(:disabled),:host(.disabled){pointer-events:none}:host(:disabled) button,:host(.disabled) button{background-color:var(--theme-radiobtn-unchecked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--disabled)}:host(.checked:disabled) button,:host(.checked.disabled) button,:host([indeterminate]:disabled) button,:host([indeterminate].disabled) button{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}:host(.ix-info:not(.disabled)) button{--theme-radiobtn-unchecked--background:var(--theme-radiobtn-unchecked--background--info);--theme-radiobtn-unchecked--background--hover:var(--theme-radiobtn-unchecked--background--info--hover);--theme-radiobtn-unchecked--background--active:var(--theme-radiobtn-unchecked--background--info--active);--theme-radiobtn-unchecked--border-color:var(--theme-radiobtn-unchecked--border-color--info);--theme-radiobtn-unchecked--border-color--hover:var(--theme-radiobtn-unchecked--border-color--info--hover);--theme-radiobtn-unchecked--border-color--active:var(--theme-radiobtn-unchecked--border-color--info--active);--theme-radiobtn-checked--background:var(--theme-radiobtn-checked--background--info);--theme-radiobtn-checked--background--hover:var(--theme-radiobtn-checked--background--info--hover);--theme-radiobtn-checked--background--active:var(--theme-radiobtn-checked--background--info--active);--theme-radiobtn-checked--border-color:var(--theme-radiobtn-checked--border-color--info);--theme-radiobtn-checked--border-color--hover:var(--theme-radiobtn-checked--border-color--info--hover);--theme-radiobtn-checked--border-color--active:var(--theme-radiobtn-checked--border-color--info--active);--theme-radiobtn-mixed--background:var(--theme-radiobtn-mixed--background--info);--theme-radiobtn-mixed--background--hover:var(--theme-radiobtn-mixed--background--info--hover);--theme-radiobtn-mixed--background--active:var(--theme-radiobtn-mixed--background--info--active);--theme-radiobtn-mixed--border-color:var(--theme-radiobtn-mixed--border-color--info);--theme-radiobtn-mixed--border-color--hover:var(--theme-radiobtn-mixed--border-color--info--hover);--theme-radiobtn-mixed--border-color--active:var(--theme-radiobtn-mixed--border-color--info--active)}:host(.ix-info) button{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(.ix-info:hover) button{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(.ix-info:active) button{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.ix-info.checked) button,:host(.ix-info[indeterminate]) button{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.ix-info.checked:hover) button,:host(.ix-info[indeterminate]:hover) button{background-color:var(--theme-radiobtn-checked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--hover)}:host(.ix-info.checked:active) button,:host(.ix-info[indeterminate]:active) button{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(.ix-info:disabled) button,:host(.ix-info.disabled) button{background-color:var(--theme-radiobtn-unchecked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--disabled)}:host(.ix-info.checked:disabled) button,:host(.ix-info.checked.disabled) button,:host(.ix-info[indeterminate]:disabled) button,:host(.ix-info[indeterminate].disabled) button{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}:host(.ix-warning:not(.disabled)) button{--theme-radiobtn-unchecked--background:var(--theme-radiobtn-unchecked--background--warning);--theme-radiobtn-unchecked--background--hover:var(--theme-radiobtn-unchecked--background--warning--hover);--theme-radiobtn-unchecked--background--active:var(--theme-radiobtn-unchecked--background--warning--active);--theme-radiobtn-unchecked--border-color:var(--theme-radiobtn-unchecked--border-color--warning);--theme-radiobtn-unchecked--border-color--hover:var(--theme-radiobtn-unchecked--border-color--warning--hover);--theme-radiobtn-unchecked--border-color--active:var(--theme-radiobtn-unchecked--border-color--warning--active);--theme-radiobtn-checked--background:var(--theme-radiobtn-checked--background--warning);--theme-radiobtn-checked--background--hover:var(--theme-radiobtn-checked--background--warning--hover);--theme-radiobtn-checked--background--active:var(--theme-radiobtn-checked--background--warning--active);--theme-radiobtn-checked--border-color:var(--theme-radiobtn-checked--border-color--warning);--theme-radiobtn-checked--border-color--hover:var(--theme-radiobtn-checked--border-color--warning--hover);--theme-radiobtn-checked--border-color--active:var(--theme-radiobtn-checked--border-color--warning--active);--theme-radiobtn-mixed--background:var(--theme-radiobtn-mixed--background--warning);--theme-radiobtn-mixed--background--hover:var(--theme-radiobtn-mixed--background--warning--hover);--theme-radiobtn-mixed--background--active:var(--theme-radiobtn-mixed--background--warning--active);--theme-radiobtn-mixed--border-color:var(--theme-radiobtn-mixed--border-color--warning);--theme-radiobtn-mixed--border-color--hover:var(--theme-radiobtn-mixed--border-color--warning--hover);--theme-radiobtn-mixed--border-color--active:var(--theme-radiobtn-mixed--border-color--warning--active)}:host(.ix-warning) button{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(.ix-warning:hover) button{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(.ix-warning:active) button{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.ix-warning.checked) button,:host(.ix-warning[indeterminate]) button{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.ix-warning.checked:hover) button,:host(.ix-warning[indeterminate]:hover) button{background-color:var(--theme-radiobtn-checked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--hover)}:host(.ix-warning.checked:active) button,:host(.ix-warning[indeterminate]:active) button{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(.ix-warning:disabled) button,:host(.ix-warning.disabled) button{background-color:var(--theme-radiobtn-unchecked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--disabled)}:host(.ix-warning.checked:disabled) button,:host(.ix-warning.checked.disabled) button,:host(.ix-warning[indeterminate]:disabled) button,:host(.ix-warning[indeterminate].disabled) button{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}:host(.ix-invalid--required:not(.disabled)) button{--theme-radiobtn-unchecked--background:var(--theme-radiobtn-unchecked--background--invalid);--theme-radiobtn-unchecked--background--hover:var(--theme-radiobtn-unchecked--background--invalid--hover);--theme-radiobtn-unchecked--background--active:var(--theme-radiobtn-unchecked--background--invalid--active);--theme-radiobtn-unchecked--border-color:var(--theme-radiobtn-unchecked--border-color--invalid);--theme-radiobtn-unchecked--border-color--hover:var(--theme-radiobtn-unchecked--border-color--invalid--hover);--theme-radiobtn-unchecked--border-color--active:var(--theme-radiobtn-unchecked--border-color--invalid--active);--theme-radiobtn-checked--background:var(--theme-radiobtn-checked--background--invalid);--theme-radiobtn-checked--background--hover:var(--theme-radiobtn-checked--background--invalid--hover);--theme-radiobtn-checked--background--active:var(--theme-radiobtn-checked--background--invalid--active);--theme-radiobtn-checked--border-color:var(--theme-radiobtn-checked--border-color--invalid);--theme-radiobtn-checked--border-color--hover:var(--theme-radiobtn-checked--border-color--invalid--hover);--theme-radiobtn-checked--border-color--active:var(--theme-radiobtn-checked--border-color--invalid--active);--theme-radiobtn-mixed--background:var(--theme-radiobtn-mixed--background--invalid);--theme-radiobtn-mixed--background--hover:var(--theme-radiobtn-mixed--background--invalid--hover);--theme-radiobtn-mixed--background--active:var(--theme-radiobtn-mixed--background--invalid--active);--theme-radiobtn-mixed--border-color:var(--theme-radiobtn-mixed--border-color--invalid);--theme-radiobtn-mixed--border-color--hover:var(--theme-radiobtn-mixed--border-color--invalid--hover);--theme-radiobtn-mixed--border-color--active:var(--theme-radiobtn-mixed--border-color--invalid--active)}:host(.ix-invalid--required) button{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(.ix-invalid--required:hover) button{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(.ix-invalid--required:active) button{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.ix-invalid--required.checked) button,:host(.ix-invalid--required[indeterminate]) button{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.ix-invalid--required.checked:hover) button,:host(.ix-invalid--required[indeterminate]:hover) button{background-color:var(--theme-radiobtn-checked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--hover)}:host(.ix-invalid--required.checked:active) button,:host(.ix-invalid--required[indeterminate]:active) button{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(.ix-invalid--required:disabled) button,:host(.ix-invalid--required.disabled) button{background-color:var(--theme-radiobtn-unchecked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--disabled)}:host(.ix-invalid--required.checked:disabled) button,:host(.ix-invalid--required.checked.disabled) button,:host(.ix-invalid--required[indeterminate]:disabled) button,:host(.ix-invalid--required[indeterminate].disabled) button{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}:host(.ix-invalid:not(.disabled)) button{--theme-radiobtn-unchecked--background:var(--theme-radiobtn-unchecked--background--invalid);--theme-radiobtn-unchecked--background--hover:var(--theme-radiobtn-unchecked--background--invalid--hover);--theme-radiobtn-unchecked--background--active:var(--theme-radiobtn-unchecked--background--invalid--active);--theme-radiobtn-unchecked--border-color:var(--theme-radiobtn-unchecked--border-color--invalid);--theme-radiobtn-unchecked--border-color--hover:var(--theme-radiobtn-unchecked--border-color--invalid--hover);--theme-radiobtn-unchecked--border-color--active:var(--theme-radiobtn-unchecked--border-color--invalid--active);--theme-radiobtn-checked--background:var(--theme-radiobtn-checked--background--invalid);--theme-radiobtn-checked--background--hover:var(--theme-radiobtn-checked--background--invalid--hover);--theme-radiobtn-checked--background--active:var(--theme-radiobtn-checked--background--invalid--active);--theme-radiobtn-checked--border-color:var(--theme-radiobtn-checked--border-color--invalid);--theme-radiobtn-checked--border-color--hover:var(--theme-radiobtn-checked--border-color--invalid--hover);--theme-radiobtn-checked--border-color--active:var(--theme-radiobtn-checked--border-color--invalid--active);--theme-radiobtn-mixed--background:var(--theme-radiobtn-mixed--background--invalid);--theme-radiobtn-mixed--background--hover:var(--theme-radiobtn-mixed--background--invalid--hover);--theme-radiobtn-mixed--background--active:var(--theme-radiobtn-mixed--background--invalid--active);--theme-radiobtn-mixed--border-color:var(--theme-radiobtn-mixed--border-color--invalid);--theme-radiobtn-mixed--border-color--hover:var(--theme-radiobtn-mixed--border-color--invalid--hover);--theme-radiobtn-mixed--border-color--active:var(--theme-radiobtn-mixed--border-color--invalid--active)}:host(.ix-invalid) button{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(.ix-invalid:hover) button{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(.ix-invalid:active) button{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.ix-invalid.checked) button,:host(.ix-invalid[indeterminate]) button{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.ix-invalid.checked:hover) button,:host(.ix-invalid[indeterminate]:hover) button{background-color:var(--theme-radiobtn-checked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--hover)}:host(.ix-invalid.checked:active) button,:host(.ix-invalid[indeterminate]:active) button{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(.ix-invalid:disabled) button,:host(.ix-invalid.disabled) button{background-color:var(--theme-radiobtn-unchecked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--disabled)}:host(.ix-invalid.checked:disabled) button,:host(.ix-invalid.checked.disabled) button,:host(.ix-invalid[indeterminate]:disabled) button,:host(.ix-invalid[indeterminate].disabled) button{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}";
|
|
5
|
-
const IxRadioStyle0 = radioCss;
|
|
6
|
-
|
|
7
|
-
const Radio = /*@__PURE__*/ proxyCustomElement(class Radio extends HTMLElement {
|
|
8
|
-
constructor() {
|
|
9
|
-
super();
|
|
10
|
-
this.__registerHost();
|
|
11
|
-
this.__attachShadow();
|
|
12
|
-
this.checkedChange = createEvent(this, "checkedChange", 7);
|
|
13
|
-
this.valueChange = createEvent(this, "valueChange", 7);
|
|
14
|
-
this.formInternals = this.attachInternals();
|
|
15
|
-
/**
|
|
16
|
-
* Single radio cannot be required
|
|
17
|
-
* */
|
|
18
|
-
this.required = false;
|
|
19
|
-
this.inputRef = makeRef((radiobuttonRef) => {
|
|
20
|
-
radiobuttonRef.checked = this.checked;
|
|
21
|
-
});
|
|
22
|
-
this.name = undefined;
|
|
23
|
-
this.value = undefined;
|
|
24
|
-
this.label = undefined;
|
|
25
|
-
this.disabled = false;
|
|
26
|
-
this.checked = false;
|
|
27
|
-
}
|
|
28
|
-
setCheckedState(newChecked) {
|
|
29
|
-
if (this.checked) {
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
const result = this.checkedChange.emit(newChecked);
|
|
33
|
-
if (result.defaultPrevented) {
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
this.checked = newChecked;
|
|
37
|
-
}
|
|
38
|
-
async onCheckedChange() {
|
|
39
|
-
const radiobuttonRef = await this.inputRef.waitForCurrent();
|
|
40
|
-
radiobuttonRef.checked = this.checked;
|
|
41
|
-
this.updateFormInternalValue();
|
|
42
|
-
}
|
|
43
|
-
onValueChange() {
|
|
44
|
-
this.valueChange.emit(this.value);
|
|
45
|
-
}
|
|
46
|
-
componentWillLoad() {
|
|
47
|
-
this.updateFormInternalValue();
|
|
48
|
-
}
|
|
49
|
-
updateFormInternalValue() {
|
|
50
|
-
var _a;
|
|
51
|
-
if (this.checked) {
|
|
52
|
-
this.formInternals.setFormValue((_a = this.value) !== null && _a !== void 0 ? _a : 'on');
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
this.formInternals.setFormValue(null);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
/** @internal */
|
|
59
|
-
hasValidValue() {
|
|
60
|
-
return Promise.resolve(this.checked);
|
|
61
|
-
}
|
|
62
|
-
/** @internal */
|
|
63
|
-
getAssociatedFormElement() {
|
|
64
|
-
return Promise.resolve(this.formInternals.form);
|
|
65
|
-
}
|
|
66
|
-
render() {
|
|
67
|
-
return (h(Host, { key: '1916ccc12519685b9a82514a09e587a8c4ea86de', "aria-checked": `${this.checked}`, "aria-disabled": `${this.disabled}`, role: "radio", class: {
|
|
68
|
-
disabled: this.disabled,
|
|
69
|
-
checked: this.checked,
|
|
70
|
-
} }, h("label", { key: '9df4ff3f53aacee27988ae0862f5714baf8b1a0b' }, h("input", { key: 'fd5bd3946aa69f37325393d1682ce6b57b5d34ab', "aria-checked": `${this.checked}`, disabled: this.disabled, checked: this.checked, ref: this.inputRef, type: "radio", onChange: () => {
|
|
71
|
-
const ref = this.inputRef.current;
|
|
72
|
-
this.setCheckedState(ref.checked);
|
|
73
|
-
} }), h("button", { key: '5d0fd3b9961311d76405c6cc7f2a301befe869ba', class: {
|
|
74
|
-
checked: this.checked,
|
|
75
|
-
}, onClick: () => this.setCheckedState(!this.checked) }, this.checked && h("div", { key: 'a07f44e7b9df8934c0d64d435431310c6e2dc548', class: "checkmark" })), this.label, h("slot", { key: '600c31ae8b821308286b4763f818956daeca4d40' }))));
|
|
76
|
-
}
|
|
77
|
-
static get formAssociated() { return true; }
|
|
78
|
-
get hostElement() { return this; }
|
|
79
|
-
static get watchers() { return {
|
|
80
|
-
"checked": ["onCheckedChange"],
|
|
81
|
-
"value": ["onValueChange"]
|
|
82
|
-
}; }
|
|
83
|
-
static get style() { return IxRadioStyle0; }
|
|
84
|
-
}, [65, "ix-radio", {
|
|
85
|
-
"name": [513],
|
|
86
|
-
"value": [513],
|
|
87
|
-
"label": [1],
|
|
88
|
-
"disabled": [4],
|
|
89
|
-
"checked": [1540],
|
|
90
|
-
"hasValidValue": [64],
|
|
91
|
-
"getAssociatedFormElement": [64]
|
|
92
|
-
}, undefined, {
|
|
93
|
-
"checked": ["onCheckedChange"],
|
|
94
|
-
"value": ["onValueChange"]
|
|
95
|
-
}]);
|
|
96
|
-
function defineCustomElement$1() {
|
|
97
|
-
if (typeof customElements === "undefined") {
|
|
98
|
-
return;
|
|
99
|
-
}
|
|
100
|
-
const components = ["ix-radio"];
|
|
101
|
-
components.forEach(tagName => { switch (tagName) {
|
|
102
|
-
case "ix-radio":
|
|
103
|
-
if (!customElements.get(tagName)) {
|
|
104
|
-
customElements.define(tagName, Radio);
|
|
105
|
-
}
|
|
106
|
-
break;
|
|
107
|
-
} });
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
const IxRadio = Radio;
|
|
111
|
-
const defineCustomElement = defineCustomElement$1;
|
|
112
|
-
|
|
113
|
-
export { IxRadio, defineCustomElement };
|
|
114
|
-
|
|
115
|
-
//# sourceMappingURL=ix-radio.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"ix-radio.js","mappings":";;;AAAA,MAAM,QAAQ,GAAG,+qkBAA+qkB,CAAC;AACjskB,sBAAe,QAAQ;;MCiCV,KAAK;;;;;;;;;;;QA0ChB,aAAQ,GAAG,KAAK,CAAC;QAET,aAAQ,GAAG,OAAO,CAAmB,CAAC,cAAc;YAC1D,cAAc,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;SACvC,CAAC,CAAC;;;;wBAxByB,KAAK;uBAK0B,KAAK;;IAqBxD,eAAe,CAAC,UAAmB;QACzC,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,OAAO;SACR;QACD,MAAM,MAAM,GAAG,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACnD,IAAI,MAAM,CAAC,gBAAgB,EAAE;YAC3B,OAAO;SACR;QAED,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC;KAC3B;IAGD,MAAM,eAAe;QACnB,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,cAAc,EAAE,CAAC;QAC5D,cAAc,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAEtC,IAAI,CAAC,uBAAuB,EAAE,CAAC;KAChC;IAGD,aAAa;QACX,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACnC;IAED,iBAAiB;QACf,IAAI,CAAC,uBAAuB,EAAE,CAAC;KAChC;IAED,uBAAuB;;QACrB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,MAAA,IAAI,CAAC,KAAK,mCAAI,IAAI,CAAC,CAAC;SACrD;aAAM;YACL,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SACvC;KACF;;IAID,aAAa;QACX,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KACtC;;IAID,wBAAwB;QACtB,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;KACjD;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qEACW,GAAG,IAAI,CAAC,OAAO,EAAE,mBAChB,GAAG,IAAI,CAAC,QAAQ,EAAE,EACjC,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE;gBACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,IAED,gEACE,8EACgB,GAAG,IAAI,CAAC,OAAO,EAAE,EAC/B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,GAAG,EAAE,IAAI,CAAC,QAAQ,EAClB,IAAI,EAAC,OAAO,EACZ,QAAQ,EAAE;gBACR,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC;gBAClC,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;aACnC,GACD,EACF,+DACE,KAAK,EAAE;gBACL,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,EACD,OAAO,EAAE,MAAM,IAAI,CAAC,eAAe,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,IAEjD,IAAI,CAAC,OAAO,IAAI,4DAAK,KAAK,EAAC,WAAW,GAAO,CACvC,EACR,IAAI,CAAC,KAAK,EACX,8DAAa,CACP,CACH,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/radio/radio.scss?tag=ix-radio&encapsulation=shadow","src/components/radio/radio.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 */\n @import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: inline-block;\n position: relative;\n\n button {\n all: unset;\n }\n\n button {\n display: inline-flex;\n position: relative;\n\n align-items: center;\n justify-content: center;\n\n width: 1.125rem;\n min-width: 1.125rem;\n max-width: 1.125rem;\n height: 1.125rem;\n min-height: 1.125rem;\n max-height: 1.125rem;\n\n border: 1px solid white;\n border-radius: 100px;\n\n margin-right: 0.5rem;\n }\n\n button:focus-visible {\n outline: 0.0625rem solid var(--theme-color-focus-bdr);\n outline-offset: var(--theme-radiobtn--focus--outline-offset);\n }\n\n input[type=\"radio\"] {\n display: none;\n }\n\n label {\n display: flex;\n\n justify-content: flex-start;\n align-items: flex-start;\n\n width: 100%;\n height: 100%;\n }\n\n .checkmark {\n border-radius: 100px;\n background-color: var(--theme-color-primary--contrast);\n width: 0.5rem;\n height: 0.5rem;\n }\n}\n\n@mixin radio-base() {\n :host {\n button {\n background-color: var(--theme-radiobtn-unchecked--background);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-unchecked--border-color);\n }\n }\n\n :host(:hover) {\n button {\n background-color: var(--theme-radiobtn-unchecked--background--hover);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-unchecked--border-color--hover);\n }\n }\n\n :host(:active) {\n button {\n background-color: var(--theme-radiobtn-unchecked--background--active);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-unchecked--border-color--active);\n }\n }\n\n :host(.checked),\n :host([indeterminate]) {\n button {\n background-color: var(--theme-radiobtn-checked--background);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-checked--border-color);\n }\n }\n\n :host(.checked:hover),\n :host([indeterminate]:hover) {\n button {\n background-color: var(--theme-radiobtn-checked--background--hover);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-checked--border-color--hover);\n }\n }\n\n :host(.checked:active),\n :host([indeterminate]:active) {\n button {\n background-color: var(--theme-radiobtn-checked--background--active);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-checked--border-color--active);\n }\n }\n\n :host(:disabled),\n :host(.disabled) {\n pointer-events: none;\n button {\n background-color: var(--theme-radiobtn-unchecked--background--disabled);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-unchecked--border-color--disabled);\n }\n }\n\n :host(.checked:disabled),\n :host(.checked.disabled),\n :host([indeterminate]:disabled),\n :host([indeterminate].disabled) {\n button {\n background-color: var(--theme-radiobtn-checked--background--disabled);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-checked--border-color--disabled);\n }\n }\n}\n\n@mixin radio-variant($selector) {\n :host(#{$selector}:not(.disabled)) {\n button {\n @content;\n }\n }\n\n :host(#{$selector}) {\n button {\n background-color: var(--theme-radiobtn-unchecked--background);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-unchecked--border-color);\n }\n }\n\n :host(#{$selector}:hover) {\n button {\n background-color: var(--theme-radiobtn-unchecked--background--hover);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-unchecked--border-color--hover);\n }\n }\n\n :host(#{$selector}:active) {\n button {\n background-color: var(--theme-radiobtn-unchecked--background--active);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-unchecked--border-color--active);\n }\n }\n\n :host(#{$selector}.checked),\n :host(#{$selector}[indeterminate]) {\n button {\n background-color: var(--theme-radiobtn-checked--background);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-checked--border-color);\n }\n }\n\n :host(#{$selector}.checked:hover),\n :host(#{$selector}[indeterminate]:hover) {\n button {\n background-color: var(--theme-radiobtn-checked--background--hover);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-checked--border-color--hover);\n }\n }\n\n :host(#{$selector}.checked:active),\n :host(#{$selector}[indeterminate]:active) {\n button {\n background-color: var(--theme-radiobtn-checked--background--active);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-checked--border-color--active);\n }\n }\n\n :host(#{$selector}:disabled),\n :host(#{$selector}.disabled) {\n button {\n background-color: var(--theme-radiobtn-unchecked--background--disabled);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-unchecked--border-color--disabled);\n }\n }\n\n :host(#{$selector}.checked:disabled),\n :host(#{$selector}.checked.disabled),\n :host(#{$selector}[indeterminate]:disabled),\n :host(#{$selector}[indeterminate].disabled) {\n button {\n background-color: var(--theme-radiobtn-checked--background--disabled);\n border: var(--theme-radiobtn--border-thickness) solid\n var(--theme-radiobtn-checked--border-color--disabled);\n }\n }\n}\n\n@mixin define-radio-vars($state, $type) {\n --theme-radiobtn-#{$state}--background: var(--theme-radiobtn-#{$state}--background--#{$type});\n --theme-radiobtn-#{$state}--background--hover: var(--theme-radiobtn-#{$state}--background--#{$type}--hover);\n --theme-radiobtn-#{$state}--background--active: var(--theme-radiobtn-#{$state}--background--#{$type}--active);\n\n --theme-radiobtn-#{$state}--border-color: var(--theme-radiobtn-#{$state}--border-color--#{$type});\n --theme-radiobtn-#{$state}--border-color--hover: var(--theme-radiobtn-#{$state}--border-color--#{$type}--hover);\n --theme-radiobtn-#{$state}--border-color--active: var(--theme-radiobtn-#{$state}--border-color--#{$type}--active);\n}\n\n@include radio-base();\n@include radio-variant(\n $selector: '.ix-info',\n) {\n @include define-radio-vars('unchecked', 'info');\n @include define-radio-vars('checked', 'info');\n @include define-radio-vars('mixed', 'info');\n}\n\n@include radio-variant(\n $selector: '.ix-warning',\n) {\n @include define-radio-vars('unchecked', 'warning');\n @include define-radio-vars('checked', 'warning');\n @include define-radio-vars('mixed', 'warning');\n}\n\n@include radio-variant(\n $selector: '.ix-invalid--required',\n) {\n @include define-radio-vars('unchecked', 'invalid');\n @include define-radio-vars('checked', 'invalid');\n @include define-radio-vars('mixed', 'invalid');\n}\n\n@include radio-variant(\n $selector: '.ix-invalid',\n) {\n @include define-radio-vars('unchecked', 'invalid');\n @include define-radio-vars('checked', 'invalid');\n @include define-radio-vars('mixed', 'invalid');\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 {\n AttachInternals,\n Component,\n Event,\n EventEmitter,\n Host,\n Prop,\n Watch,\n h,\n Method,\n Element,\n} from '@stencil/core';\nimport { makeRef } from '../utils/make-ref';\nimport { IxFormComponent } from '../utils/field';\n\n/**\n * @since 2.4.0\n * @form-ready 2.4.0\n */\n@Component({\n tag: 'ix-radio',\n styleUrl: 'radio.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class Radio implements IxFormComponent<string> {\n @Element() hostElement!: HTMLIxRadioElement;\n @AttachInternals() formInternals!: ElementInternals;\n\n /**\n * Name of the radio component\n */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * Value of the radio component\n */\n @Prop({ reflect: true }) value?: string;\n\n /**\n * Label for the radio component\n */\n @Prop() label?: string;\n\n /**\n * Disabled state of the radio component\n */\n @Prop() disabled: boolean = false;\n\n /**\n * Checked state of the radio component\n */\n @Prop({ reflect: true, mutable: true }) checked: boolean = false;\n\n /**\n * Event emitted when the checked state of the radio changes\n */\n @Event() checkedChange!: EventEmitter<boolean>;\n\n /**\n * Event emitted when the value of the radio changes\n */\n @Event() valueChange!: EventEmitter<string>;\n\n /**\n * Single radio cannot be required\n * */\n required = false;\n\n private inputRef = makeRef<HTMLInputElement>((radiobuttonRef) => {\n radiobuttonRef.checked = this.checked;\n });\n\n private setCheckedState(newChecked: boolean) {\n if (this.checked) {\n return;\n }\n const result = this.checkedChange.emit(newChecked);\n if (result.defaultPrevented) {\n return;\n }\n\n this.checked = newChecked;\n }\n\n @Watch('checked')\n async onCheckedChange() {\n const radiobuttonRef = await this.inputRef.waitForCurrent();\n radiobuttonRef.checked = this.checked;\n\n this.updateFormInternalValue();\n }\n\n @Watch('value')\n onValueChange() {\n this.valueChange.emit(this.value);\n }\n\n componentWillLoad() {\n this.updateFormInternalValue();\n }\n\n updateFormInternalValue() {\n if (this.checked) {\n this.formInternals.setFormValue(this.value ?? 'on');\n } else {\n this.formInternals.setFormValue(null);\n }\n }\n\n /** @internal */\n @Method()\n hasValidValue(): Promise<boolean> {\n return Promise.resolve(this.checked);\n }\n\n /** @internal */\n @Method()\n getAssociatedFormElement(): Promise<HTMLFormElement | null> {\n return Promise.resolve(this.formInternals.form);\n }\n\n render() {\n return (\n <Host\n aria-checked={`${this.checked}`}\n aria-disabled={`${this.disabled}`}\n role=\"radio\"\n class={{\n disabled: this.disabled,\n checked: this.checked,\n }}\n >\n <label>\n <input\n aria-checked={`${this.checked}`}\n disabled={this.disabled}\n checked={this.checked}\n ref={this.inputRef}\n type=\"radio\"\n onChange={() => {\n const ref = this.inputRef.current;\n this.setCheckedState(ref.checked);\n }}\n />\n <button\n class={{\n checked: this.checked,\n }}\n onClick={() => this.setCheckedState(!this.checked)}\n >\n {this.checked && <div class=\"checkmark\"></div>}\n </button>\n {this.label}\n <slot></slot>\n </label>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { c as iconEye, d as iconEyeCancelled } from './helper-text-util.js';
|
|
3
|
-
import { H as HookValidationLifecycle } from './validation.js';
|
|
4
|
-
import { m as makeRef } from './make-ref.js';
|
|
5
|
-
import { m as mapValidationResult, c as applyPostfixPadding, P as PrefixSlot, I as InputElement, d as checkAllowedKeys, o as onInputBlur, b as PostfixSlot, g as getAriaAttributesForInput } from './text-field.util.js';
|
|
6
|
-
import { d as defineCustomElement$7 } from './field-label.js';
|
|
7
|
-
import { d as defineCustomElement$6 } from './field-wrapper.js';
|
|
8
|
-
import { d as defineCustomElement$5 } from './icon-button.js';
|
|
9
|
-
import { d as defineCustomElement$4 } from './spinner.js';
|
|
10
|
-
import { d as defineCustomElement$3 } from './tooltip.js';
|
|
11
|
-
import { d as defineCustomElement$2 } from './typography.js';
|
|
12
|
-
|
|
13
|
-
const textFieldCss = "label{color:var(--theme-color-soft-text);padding:2px 0px}label.label-alignment-left{padding:6px 0px}input{font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;min-height:2rem;width:100%;padding:0.25rem 0.5rem;background-color:var(--theme-input--background);color:var(--theme-input--color);-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow)}input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}input:-webkit-autofill,input:autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}input::-moz-placeholder{color:var(--theme-input-hint--color)}input::placeholder{color:var(--theme-input-hint--color)}input:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only).hover,input:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only):hover{border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}input:not(.readonly):not([readonly]):not([readOnly]):not(:read-only).hover,input:not(.readonly):not([readonly]):not([readOnly]):not(:read-only):hover{border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}input:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only).focus,input:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only):focus{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}input:not(.readonly):not([readonly]):not([readOnly]):not(:read-only).focus,input:not(.readonly):not([readonly]):not([readOnly]):not(:read-only):focus{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}input:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}input.read-only,input:read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}input.read-only::-moz-placeholder,input:read-only::-moz-placeholder{color:transparent}input:-moz-read-only::placeholder{color:transparent}input.read-only::placeholder,input:read-only::placeholder{color:transparent}input:disabled{box-shadow:none;background-color:transparent;outline:none;border:none;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}input:disabled::-moz-placeholder{color:transparent}input:disabled::placeholder{color:transparent}input[type=number]{text-align:right}input[type=number]::-webkit-inner-spin-button{margin-right:-2px;margin-left:2px;display:none}textarea{padding:0.375rem 1.25rem 0.375rem 0.5rem}textarea{font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;min-height:2rem;width:100%;padding:0.25rem 0.5rem;background-color:var(--theme-input--background);color:var(--theme-input--color);-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow)}textarea:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}textarea:-webkit-autofill,textarea:autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}textarea::-moz-placeholder{color:var(--theme-input-hint--color)}textarea::placeholder{color:var(--theme-input-hint--color)}textarea:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only).hover,textarea:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only):hover{border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}textarea:not(.readonly):not([readonly]):not([readOnly]):not(:read-only).hover,textarea:not(.readonly):not([readonly]):not([readOnly]):not(:read-only):hover{border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}textarea:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only).focus,textarea:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only):focus{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}textarea:not(.readonly):not([readonly]):not([readOnly]):not(:read-only).focus,textarea:not(.readonly):not([readonly]):not([readOnly]):not(:read-only):focus{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}textarea:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}textarea.read-only,textarea:read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}textarea.read-only::-moz-placeholder,textarea:read-only::-moz-placeholder{color:transparent}textarea:-moz-read-only::placeholder{color:transparent}textarea.read-only::placeholder,textarea:read-only::placeholder{color:transparent}textarea:disabled{box-shadow:none;background-color:transparent;outline:none;border:none;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}textarea:disabled::-moz-placeholder{color:transparent}textarea:disabled::placeholder{color:transparent}textarea~.valid-feedback,textarea~.invalid-feedback,input~.valid-feedback,input~.invalid-feedback{display:none;font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}form textarea~.valid-feedback,form input~.valid-feedback{color:var(--theme-color-success)}form textarea~.invalid-feedback,form input~.invalid-feedback{color:var(--theme-color-alarm-text)}form:not([novalidate]) :invalid,form:not([novalidate]) .is-invalid,form.was-validated :invalid,form.was-validated .is-invalid{background-color:var(--theme-input-error--background);border-color:var(--theme-input-error--border-color);background-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3C!-- Generator: sketchtool 62 (101010) - https://sketch.com --%3E%3Ctitle%3Eerror%3C/title%3E%3Cdesc%3ECreated with sketchtool.%3C/desc%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' fill-opacity='0.75'%3E%3Cg id='error' fill='%23ff2640'%3E%3Cg id='error/error'%3E%3Cpath d='M256,42.6666667 C373.626371,42.6666667 469.333333,138.373627 469.333333,256 C469.333333,373.626371 373.626371,469.333333 256,469.333333 C138.373627,469.333333 42.6666667,373.626371 42.6666667,256 C42.6666667,138.373627 138.373627,42.6666667 256,42.6666667 Z M256,85.3333333 C161.559631,85.3333333 85.3333333,161.559631 85.3333333,256 C85.3333333,350.44037 161.559631,426.666667 256,426.666667 C350.44037,426.666667 426.666667,350.44037 426.666667,256 C426.666667,161.559631 350.44037,85.3333333 256,85.3333333 Z M326.248389,155.581722 L356.418278,185.751611 L286.168667,255.999667 L356.418278,326.248389 L326.248389,356.418278 L255.999667,286.168667 L185.751611,356.418278 L155.581722,326.248389 L225.829667,255.999667 L155.581722,185.751611 L185.751611,155.581722 L255.999667,225.829667 L326.248389,155.581722 Z' id='Combined-Shape'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E\") !important;background-position:left calc(0.375em + 0.1875rem) center;padding-right:0.75rem;padding-left:calc(1.5em + 0.75rem);background-size:18px;background-repeat:no-repeat}form:not([novalidate]) :invalid~.invalid-feedback,form:not([novalidate]) .is-invalid~.invalid-feedback,form.was-validated :invalid~.invalid-feedback,form.was-validated .is-invalid~.invalid-feedback{display:block}form:not([novalidate]) :valid~.valid-feedback,form:not([novalidate]) .is-valid~.valid-feedback,form.was-validated :valid~.valid-feedback,form.was-validated .is-valid~.valid-feedback{display:block}form:not(.was-validated) .invalid-feedback,form:not(.was-validated) .valid-feedback{display:none !important}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]),input.ix-info:not(.disabled):not(:disabled):not([disabled]){border-color:var(--theme-input--border-color--info)}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]):hover,input.ix-info:not(.disabled):not(:disabled):not([disabled]):hover{border-color:var(--theme-input--border-color--info--hover) !important}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]):active,input.ix-info:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--info--active) !important}textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]),input.ix-warning:not(.disabled):not(:disabled):not([disabled]){border-color:var(--theme-input--border-color--warning--active) !important}textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]):hover,input.ix-warning:not(.disabled):not(:disabled):not([disabled]):hover{border-color:var(--theme-input--border-color--warning--active) !important}textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]):active,input.ix-warning:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--warning--active) !important}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]),input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]){background-color:var(--theme-input--background--invalid);border-color:var(--theme-input--border-color--invalid)}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]),input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]){border-color:var(--theme-input--border-color--invalid) !important}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):hover,input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):hover{border-color:var(--theme-input--border-color--invalid--hover) !important}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):active,input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--invalid--active) !important}label{color:var(--theme-color-soft-text);padding:2px 0px}label.label-alignment-left{padding:6px 0px}input{font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;min-height:2rem;width:100%;padding:0.25rem 0.5rem;background-color:var(--theme-input--background);color:var(--theme-input--color);-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow)}input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}input:-webkit-autofill,input:autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}input::-moz-placeholder{color:var(--theme-input-hint--color)}input::placeholder{color:var(--theme-input-hint--color)}input:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only).hover,input:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only):hover{border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}input:not(.readonly):not([readonly]):not([readOnly]):not(:read-only).hover,input:not(.readonly):not([readonly]):not([readOnly]):not(:read-only):hover{border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}input:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only).focus,input:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only):focus{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}input:not(.readonly):not([readonly]):not([readOnly]):not(:read-only).focus,input:not(.readonly):not([readonly]):not([readOnly]):not(:read-only):focus{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}input:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}input.read-only,input:read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}input.read-only::-moz-placeholder,input:read-only::-moz-placeholder{color:transparent}input:-moz-read-only::placeholder{color:transparent}input.read-only::placeholder,input:read-only::placeholder{color:transparent}input:disabled{box-shadow:none;background-color:transparent;outline:none;border:none;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}input:disabled::-moz-placeholder{color:transparent}input:disabled::placeholder{color:transparent}input[type=number]{text-align:right}input[type=number]::-webkit-inner-spin-button{margin-right:-2px;margin-left:2px;display:none}textarea{padding:0.375rem 1.25rem 0.375rem 0.5rem}textarea{font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;min-height:2rem;width:100%;padding:0.25rem 0.5rem;background-color:var(--theme-input--background);color:var(--theme-input--color);-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow)}textarea:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}textarea:-webkit-autofill,textarea:autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}textarea::-moz-placeholder{color:var(--theme-input-hint--color)}textarea::placeholder{color:var(--theme-input-hint--color)}textarea:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only).hover,textarea:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only):hover{border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}textarea:not(.readonly):not([readonly]):not([readOnly]):not(:read-only).hover,textarea:not(.readonly):not([readonly]):not([readOnly]):not(:read-only):hover{border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}textarea:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only).focus,textarea:not(.readonly):not([readonly]):not([readOnly]):not(:-moz-read-only):focus{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}textarea:not(.readonly):not([readonly]):not([readOnly]):not(:read-only).focus,textarea:not(.readonly):not([readonly]):not([readOnly]):not(:read-only):focus{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}textarea:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}textarea.read-only,textarea:read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}textarea.read-only::-moz-placeholder,textarea:read-only::-moz-placeholder{color:transparent}textarea:-moz-read-only::placeholder{color:transparent}textarea.read-only::placeholder,textarea:read-only::placeholder{color:transparent}textarea:disabled{box-shadow:none;background-color:transparent;outline:none;border:none;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}textarea:disabled::-moz-placeholder{color:transparent}textarea:disabled::placeholder{color:transparent}textarea~.valid-feedback,textarea~.invalid-feedback,input~.valid-feedback,input~.invalid-feedback{display:none;font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}form textarea~.valid-feedback,form input~.valid-feedback{color:var(--theme-color-success)}form textarea~.invalid-feedback,form input~.invalid-feedback{color:var(--theme-color-alarm-text)}form:not([novalidate]) :invalid,form:not([novalidate]) .is-invalid,form.was-validated :invalid,form.was-validated .is-invalid{background-color:var(--theme-input-error--background);border-color:var(--theme-input-error--border-color);background-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3C!-- Generator: sketchtool 62 (101010) - https://sketch.com --%3E%3Ctitle%3Eerror%3C/title%3E%3Cdesc%3ECreated with sketchtool.%3C/desc%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' fill-opacity='0.75'%3E%3Cg id='error' fill='%23ff2640'%3E%3Cg id='error/error'%3E%3Cpath d='M256,42.6666667 C373.626371,42.6666667 469.333333,138.373627 469.333333,256 C469.333333,373.626371 373.626371,469.333333 256,469.333333 C138.373627,469.333333 42.6666667,373.626371 42.6666667,256 C42.6666667,138.373627 138.373627,42.6666667 256,42.6666667 Z M256,85.3333333 C161.559631,85.3333333 85.3333333,161.559631 85.3333333,256 C85.3333333,350.44037 161.559631,426.666667 256,426.666667 C350.44037,426.666667 426.666667,350.44037 426.666667,256 C426.666667,161.559631 350.44037,85.3333333 256,85.3333333 Z M326.248389,155.581722 L356.418278,185.751611 L286.168667,255.999667 L356.418278,326.248389 L326.248389,356.418278 L255.999667,286.168667 L185.751611,356.418278 L155.581722,326.248389 L225.829667,255.999667 L155.581722,185.751611 L185.751611,155.581722 L255.999667,225.829667 L326.248389,155.581722 Z' id='Combined-Shape'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E\") !important;background-position:left calc(0.375em + 0.1875rem) center;padding-right:0.75rem;padding-left:calc(1.5em + 0.75rem);background-size:18px;background-repeat:no-repeat}form:not([novalidate]) :invalid~.invalid-feedback,form:not([novalidate]) .is-invalid~.invalid-feedback,form.was-validated :invalid~.invalid-feedback,form.was-validated .is-invalid~.invalid-feedback{display:block}form:not([novalidate]) :valid~.valid-feedback,form:not([novalidate]) .is-valid~.valid-feedback,form.was-validated :valid~.valid-feedback,form.was-validated .is-valid~.valid-feedback{display:block}form:not(.was-validated) .invalid-feedback,form:not(.was-validated) .valid-feedback{display:none !important}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]),input.ix-info:not(.disabled):not(:disabled):not([disabled]){border-color:var(--theme-input--border-color--info)}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]):hover,input.ix-info:not(.disabled):not(:disabled):not([disabled]):hover{border-color:var(--theme-input--border-color--info--hover) !important}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]):active,input.ix-info:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--info--active) !important}textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]),input.ix-warning:not(.disabled):not(:disabled):not([disabled]){border-color:var(--theme-input--border-color--warning--active) !important}textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]):hover,input.ix-warning:not(.disabled):not(:disabled):not([disabled]):hover{border-color:var(--theme-input--border-color--warning--active) !important}textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]):active,input.ix-warning:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--warning--active) !important}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]),input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]){background-color:var(--theme-input--background--invalid);border-color:var(--theme-input--border-color--invalid)}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]),input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]){border-color:var(--theme-input--border-color--invalid) !important}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):hover,input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):hover{border-color:var(--theme-input--border-color--invalid--hover) !important}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):active,input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--invalid--active) !important}:host{display:inline-block;position:relative;width:auto}: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 .input-wrapper{display:flex;position:relative;align-items:center;width:100%;height:100%}:host input{width:100%;height:100%}:host .prefix-container,:host .postfix-container{display:flex;position:absolute;align-items:center;justify-content:center;z-index:1}:host .prefix-container{left:0.5rem}:host .postfix-container{right:0.5rem}:host(.disabled){pointer-events:none}:host(.disabled) input,:host(.disabled) textarea{pointer-events:none}:host(.ix-info:not(.disabled):not(:disabled):not([disabled])) input{border-color:var(--theme-input--border-color--info)}:host(.ix-info:not(.disabled):not(:disabled):not([disabled])) input:hover{border-color:var(--theme-input--border-color--info--hover) !important}:host(.ix-info:not(.disabled):not(:disabled):not([disabled])) input:active{border-color:var(--theme-input--border-color--info--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled])) input{border-color:var(--theme-input--border-color--warning--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled])) input:hover{border-color:var(--theme-input--border-color--warning--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled])) input:active{border-color:var(--theme-input--border-color--warning--active) !important}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])) input,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled])) input{background-color:var(--theme-input--background--invalid);border-color:var(--theme-input--border-color--invalid)}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])) input,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled])) input{border-color:var(--theme-input--border-color--invalid) !important}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])) input:hover,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled])) input:hover{border-color:var(--theme-input--border-color--invalid--hover) !important}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])) input:active,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled])) input:active{border-color:var(--theme-input--border-color--invalid--active) !important}:host .password-eye{margin-left:0.125rem;color:red}";
|
|
14
|
-
const IxTextFieldStyle0 = textFieldCss;
|
|
15
|
-
|
|
16
|
-
/*
|
|
17
|
-
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
18
|
-
*
|
|
19
|
-
* SPDX-License-Identifier: MIT
|
|
20
|
-
*
|
|
21
|
-
* This source code is licensed under the MIT license found in the
|
|
22
|
-
* LICENSE file in the root directory of this source tree.
|
|
23
|
-
*/
|
|
24
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
25
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
26
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
27
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
28
|
-
else
|
|
29
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
30
|
-
if (d = decorators[i])
|
|
31
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
32
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
33
|
-
};
|
|
34
|
-
let textFieldIds = 0;
|
|
35
|
-
const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLElement {
|
|
36
|
-
constructor() {
|
|
37
|
-
super();
|
|
38
|
-
this.__registerHost();
|
|
39
|
-
this.__attachShadow();
|
|
40
|
-
this.valueChange = createEvent(this, "valueChange", 7);
|
|
41
|
-
this.validityStateChange = createEvent(this, "validityStateChange", 7);
|
|
42
|
-
this.ixBlur = createEvent(this, "ixBlur", 7);
|
|
43
|
-
this.formInternals = this.attachInternals();
|
|
44
|
-
this.inputRef = makeRef();
|
|
45
|
-
this.postfixRef = makeRef();
|
|
46
|
-
this.prefixRef = makeRef();
|
|
47
|
-
this.textFieldId = `text-field-${textFieldIds++}`;
|
|
48
|
-
this.type = 'text';
|
|
49
|
-
this.name = undefined;
|
|
50
|
-
this.placeholder = undefined;
|
|
51
|
-
this.value = '';
|
|
52
|
-
this.required = false;
|
|
53
|
-
this.disabled = false;
|
|
54
|
-
this.readonly = false;
|
|
55
|
-
this.helperText = undefined;
|
|
56
|
-
this.infoText = undefined;
|
|
57
|
-
this.showTextAsTooltip = undefined;
|
|
58
|
-
this.validText = undefined;
|
|
59
|
-
this.warningText = undefined;
|
|
60
|
-
this.label = undefined;
|
|
61
|
-
this.invalidText = undefined;
|
|
62
|
-
this.pattern = undefined;
|
|
63
|
-
this.maxLength = undefined;
|
|
64
|
-
this.minLength = undefined;
|
|
65
|
-
this.allowedCharactersPattern = undefined;
|
|
66
|
-
this.isInvalid = false;
|
|
67
|
-
this.isValid = false;
|
|
68
|
-
this.isInfo = false;
|
|
69
|
-
this.isWarning = false;
|
|
70
|
-
this.isInvalidByRequired = false;
|
|
71
|
-
this.inputType = 'text';
|
|
72
|
-
}
|
|
73
|
-
updateClassMappings(result) {
|
|
74
|
-
mapValidationResult(this, result);
|
|
75
|
-
}
|
|
76
|
-
updateInputType() {
|
|
77
|
-
this.inputType = this.type;
|
|
78
|
-
}
|
|
79
|
-
componentWillLoad() {
|
|
80
|
-
this.updateFormInternalValue(this.value);
|
|
81
|
-
this.inputType = this.type;
|
|
82
|
-
}
|
|
83
|
-
componentDidRender() {
|
|
84
|
-
setTimeout(() => this.updatePaddings());
|
|
85
|
-
}
|
|
86
|
-
updatePaddings() {
|
|
87
|
-
var _a, _b;
|
|
88
|
-
const prefixBoundingRect = (_a = this.prefixRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
|
89
|
-
const postfixBoundingRect = (_b = this.postfixRef.current) === null || _b === void 0 ? void 0 : _b.getBoundingClientRect();
|
|
90
|
-
if (prefixBoundingRect) {
|
|
91
|
-
applyPostfixPadding(this.inputRef.current, prefixBoundingRect.width, {
|
|
92
|
-
postfix: false,
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
if (postfixBoundingRect) {
|
|
96
|
-
applyPostfixPadding(this.inputRef.current, postfixBoundingRect.width, {
|
|
97
|
-
postfix: true,
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
updateFormInternalValue(value) {
|
|
102
|
-
this.formInternals.setFormValue(value);
|
|
103
|
-
this.value = value;
|
|
104
|
-
}
|
|
105
|
-
/** @internal */
|
|
106
|
-
async getAssociatedFormElement() {
|
|
107
|
-
return this.formInternals.form;
|
|
108
|
-
}
|
|
109
|
-
/** @internal */
|
|
110
|
-
hasValidValue() {
|
|
111
|
-
return Promise.resolve(!!this.value);
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* Returns the native input element used in the text field.
|
|
115
|
-
*/
|
|
116
|
-
getNativeInputElement() {
|
|
117
|
-
return this.inputRef.waitForCurrent();
|
|
118
|
-
}
|
|
119
|
-
render() {
|
|
120
|
-
var _a;
|
|
121
|
-
const inputAria = getAriaAttributesForInput(this);
|
|
122
|
-
return (h(Host, { key: '69e94d66d7a3739e875d03bcdfd919ac92e7cf67', class: {
|
|
123
|
-
disabled: this.disabled,
|
|
124
|
-
readonly: this.readonly,
|
|
125
|
-
} }, h("ix-field-wrapper", { key: '76b8f9940fa9e3f326bdbef1f75c24b9465dfc24', htmlForLabel: this.textFieldId, required: this.required, label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, controlRef: this.inputRef }, h("slot", { key: 'be76706fe20f7ac88ff99884456f93f6dcbd96b4', name: "label", slot: "label" }), h("div", { key: '4f0381e2bc0c52b45058b9985b4a1b9c25e3791f', class: "input-wrapper" }, h(PrefixSlot, { key: 'b1811ecb3b2a26d80bfcee41ed91e25ff700c33f', prefixRef: this.prefixRef, onSlotChange: () => this.updatePaddings() }), h(InputElement, { key: '615ddcda6868bd0015bea4f4d2a2c7ee66cdc85c', id: this.textFieldId, readonly: this.readonly, disabled: this.disabled, maxLength: this.maxLength, minLength: this.minLength, pattern: this.pattern, type: this.inputType, isInvalid: this.isInvalid, required: this.required, value: this.value, placeholder: this.placeholder, inputRef: this.inputRef, onKeyPress: (event) => checkAllowedKeys(this, event), valueChange: (value) => this.valueChange.emit(value), updateFormInternalValue: (value) => this.updateFormInternalValue(value), onBlur: () => onInputBlur(this, this.inputRef.current), ariaAttributes: inputAria }), h(PostfixSlot, { key: '6a0651d8aa7ce74e93f9ab4b50783f2fac888666', postfixRef: this.postfixRef, onSlotChange: () => this.updatePaddings() }, this.type === 'password' && (h("ix-icon-button", { key: '576f6283a6c05faa6ddae9c622ea358b2c026b0c', color: "color-weak-text", class: 'password-eye', ghost: true, icon: this.inputType === 'password' ? iconEye : iconEyeCancelled, onClick: () => {
|
|
126
|
-
if (this.inputType === 'password') {
|
|
127
|
-
this.inputType = 'text';
|
|
128
|
-
return;
|
|
129
|
-
}
|
|
130
|
-
this.inputType = 'password';
|
|
131
|
-
} })))), this.maxLength && (h("ix-typography", { key: '09455f93522242114026a1bad75f7afc68229446', slot: "bottom-right", color: "weak" }, (_a = this.value) === null || _a === void 0 ? void 0 :
|
|
132
|
-
_a.length, "/", this.maxLength)))));
|
|
133
|
-
}
|
|
134
|
-
static get formAssociated() { return true; }
|
|
135
|
-
get hostElement() { return this; }
|
|
136
|
-
static get watchers() { return {
|
|
137
|
-
"type": ["updateInputType"]
|
|
138
|
-
}; }
|
|
139
|
-
static get style() { return IxTextFieldStyle0; }
|
|
140
|
-
}, [65, "ix-text-field", {
|
|
141
|
-
"type": [1],
|
|
142
|
-
"name": [513],
|
|
143
|
-
"placeholder": [513],
|
|
144
|
-
"value": [1537],
|
|
145
|
-
"required": [516],
|
|
146
|
-
"disabled": [516],
|
|
147
|
-
"readonly": [516],
|
|
148
|
-
"helperText": [1, "helper-text"],
|
|
149
|
-
"infoText": [1, "info-text"],
|
|
150
|
-
"showTextAsTooltip": [4, "show-text-as-tooltip"],
|
|
151
|
-
"validText": [1, "valid-text"],
|
|
152
|
-
"warningText": [1, "warning-text"],
|
|
153
|
-
"label": [513],
|
|
154
|
-
"invalidText": [1, "invalid-text"],
|
|
155
|
-
"pattern": [1],
|
|
156
|
-
"maxLength": [2, "max-length"],
|
|
157
|
-
"minLength": [2, "min-length"],
|
|
158
|
-
"allowedCharactersPattern": [1, "allowed-characters-pattern"],
|
|
159
|
-
"isInvalid": [32],
|
|
160
|
-
"isValid": [32],
|
|
161
|
-
"isInfo": [32],
|
|
162
|
-
"isWarning": [32],
|
|
163
|
-
"isInvalidByRequired": [32],
|
|
164
|
-
"inputType": [32],
|
|
165
|
-
"getAssociatedFormElement": [64],
|
|
166
|
-
"hasValidValue": [64],
|
|
167
|
-
"getNativeInputElement": [64]
|
|
168
|
-
}, undefined, {
|
|
169
|
-
"type": ["updateInputType"]
|
|
170
|
-
}]);
|
|
171
|
-
__decorate([
|
|
172
|
-
HookValidationLifecycle()
|
|
173
|
-
], TextField.prototype, "updateClassMappings", null);
|
|
174
|
-
function defineCustomElement$1() {
|
|
175
|
-
if (typeof customElements === "undefined") {
|
|
176
|
-
return;
|
|
177
|
-
}
|
|
178
|
-
const components = ["ix-text-field", "ix-field-label", "ix-field-wrapper", "ix-icon-button", "ix-spinner", "ix-tooltip", "ix-typography"];
|
|
179
|
-
components.forEach(tagName => { switch (tagName) {
|
|
180
|
-
case "ix-text-field":
|
|
181
|
-
if (!customElements.get(tagName)) {
|
|
182
|
-
customElements.define(tagName, TextField);
|
|
183
|
-
}
|
|
184
|
-
break;
|
|
185
|
-
case "ix-field-label":
|
|
186
|
-
if (!customElements.get(tagName)) {
|
|
187
|
-
defineCustomElement$7();
|
|
188
|
-
}
|
|
189
|
-
break;
|
|
190
|
-
case "ix-field-wrapper":
|
|
191
|
-
if (!customElements.get(tagName)) {
|
|
192
|
-
defineCustomElement$6();
|
|
193
|
-
}
|
|
194
|
-
break;
|
|
195
|
-
case "ix-icon-button":
|
|
196
|
-
if (!customElements.get(tagName)) {
|
|
197
|
-
defineCustomElement$5();
|
|
198
|
-
}
|
|
199
|
-
break;
|
|
200
|
-
case "ix-spinner":
|
|
201
|
-
if (!customElements.get(tagName)) {
|
|
202
|
-
defineCustomElement$4();
|
|
203
|
-
}
|
|
204
|
-
break;
|
|
205
|
-
case "ix-tooltip":
|
|
206
|
-
if (!customElements.get(tagName)) {
|
|
207
|
-
defineCustomElement$3();
|
|
208
|
-
}
|
|
209
|
-
break;
|
|
210
|
-
case "ix-typography":
|
|
211
|
-
if (!customElements.get(tagName)) {
|
|
212
|
-
defineCustomElement$2();
|
|
213
|
-
}
|
|
214
|
-
break;
|
|
215
|
-
} });
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
const IxTextField = TextField;
|
|
219
|
-
const defineCustomElement = defineCustomElement$1;
|
|
220
|
-
|
|
221
|
-
export { IxTextField, defineCustomElement };
|
|
222
|
-
|
|
223
|
-
//# sourceMappingURL=ix-text-field.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"ix-text-field.js","mappings":";;;;;;;;;;;;AAAA,MAAM,YAAY,GAAG,qr6BAAqr6B,CAAC;AAC3s6B,0BAAe,YAAY;;ACD3B;;;;;;;;;;;;;;;;;;AAuCA,IAAI,YAAY,GAAG,CAAC,CAAC;MAYR,SAAS;;;;;;;;;QAqHZ,aAAQ,GAAG,OAAO,EAAoB,CAAC;QACvC,eAAU,GAAG,OAAO,EAAkB,CAAC;QACvC,cAAS,GAAG,OAAO,EAAkB,CAAC;QAEtC,gBAAW,GAAG,cAAc,YAAY,EAAE,EAAE,CAAC;oBAlHP,MAAM;;;qBAeI,EAAE;wBAKb,KAAK;wBAKL,KAAK;wBAKL,KAAK;;;;;;;;;;;;yBAwE7B,KAAK;uBACP,KAAK;sBACN,KAAK;yBACF,KAAK;mCACK,KAAK;yBAEf,MAAM;;IAS3B,mBAAmB,CAAC,MAAyB;QAC3C,mBAAmB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;KACnC;IAGD,eAAe;QACb,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC;KAC5B;IAED,iBAAiB;QACf,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACzC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC;KAC5B;IAED,kBAAkB;QAChB,UAAU,CAAC,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC;KACzC;IAEO,cAAc;;QACpB,MAAM,kBAAkB,GAAG,MAAA,IAAI,CAAC,SAAS,CAAC,OAAO,0CAAE,qBAAqB,EAAE,CAAC;QAC3E,MAAM,mBAAmB,GACvB,MAAA,IAAI,CAAC,UAAU,CAAC,OAAO,0CAAE,qBAAqB,EAAE,CAAC;QAEnD,IAAI,kBAAkB,EAAE;YACtB,mBAAmB,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,kBAAkB,CAAC,KAAK,EAAE;gBACnE,OAAO,EAAE,KAAK;aACf,CAAC,CAAC;SACJ;QAED,IAAI,mBAAmB,EAAE;YACvB,mBAAmB,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,mBAAmB,CAAC,KAAK,EAAE;gBACpE,OAAO,EAAE,IAAI;aACd,CAAC,CAAC;SACJ;KACF;IAED,uBAAuB,CAAC,KAAa;QACnC,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QACvC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;KACpB;;IAID,MAAM,wBAAwB;QAC5B,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC;KAChC;;IAID,aAAa;QACX,OAAO,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACtC;;;;IAMD,qBAAqB;QACnB,OAAO,IAAI,CAAC,QAAQ,CAAC,cAAc,EAAE,CAAC;KACvC;IAED,MAAM;;QACJ,MAAM,SAAS,GAAmB,yBAAyB,CAAC,IAAI,CAAC,CAAC;QAElE,QACE,EAAC,IAAI,qDACH,KAAK,EAAE;gBACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB,IAED,yEACE,YAAY,EAAE,IAAI,CAAC,WAAW,EAC9B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,EACzC,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,UAAU,EAAE,IAAI,CAAC,QAAQ,IAEzB,6DAAM,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,OAAO,GAAQ,EACvC,4DAAK,KAAK,EAAC,eAAe,IACxB,EAAC,UAAU,qDACT,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,YAAY,EAAE,MAAM,IAAI,CAAC,cAAc,EAAE,GAC7B,EACd,EAAC,YAAY,qDACX,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,IAAI,EAAE,IAAI,CAAC,SAAS,EACpB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,UAAU,EAAE,CAAC,KAAK,KAAK,gBAAgB,CAAC,IAAI,EAAE,KAAK,CAAC,EACpD,WAAW,EAAE,CAAC,KAAK,KAAK,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,EACpD,uBAAuB,EAAE,CAAC,KAAK,KAC7B,IAAI,CAAC,uBAAuB,CAAC,KAAK,CAAC,EAErC,MAAM,EAAE,MAAM,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,EACtD,cAAc,EAAE,SAAS,GACX,EAChB,EAAC,WAAW,qDACV,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,YAAY,EAAE,MAAM,IAAI,CAAC,cAAc,EAAE,IAExC,IAAI,CAAC,IAAI,KAAK,UAAU,KACvB,uEACE,KAAK,EAAC,iBAAiB,EACvB,KAAK,EAAE,cAAc,EACrB,KAAK,QACL,IAAI,EACF,IAAI,CAAC,SAAS,KAAK,UAAU,GAAG,OAAO,GAAG,gBAAgB,EAE5D,OAAO,EAAE;gBACP,IAAI,IAAI,CAAC,SAAS,KAAK,UAAU,EAAE;oBACjC,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC;oBACxB,OAAO;iBACR;gBAED,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC;aAC7B,GACe,CACnB,CACW,CACV,EACL,IAAI,CAAC,SAAS,KACb,sEAAe,IAAI,EAAC,cAAc,EAAC,KAAK,EAAC,MAAM,IAC5C,MAAA,IAAI,CAAC,KAAK;eAAE,MAAM,OAAG,IAAI,CAAC,SAAS,CACtB,CACjB,CACgB,CACd,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlJD;IADC,uBAAuB,EAAE;oDAGzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/text-field/text-field.scss?tag=ix-text-field&encapsulation=shadow","src/components/text-field/text-field.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 */\n@import 'components/form/input';\n@import 'mixins/shadow-dom/component';\n@import 'mixins/validation/form-component';\n@import './text-field.mixins.scss';\n\n@include input-field;\n\n:host {\n .password-eye {\n margin-left: 0.125rem;\n color: red;\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 { iconEye, iconEyeCancelled } from '@siemens/ix-icons/icons';\nimport {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n Method,\n Prop,\n State,\n Watch,\n h,\n} from '@stencil/core';\nimport { A11yAttributes } from '../utils/a11y';\nimport {\n HookValidationLifecycle,\n IxInputFieldComponent,\n ValidationResults,\n} from '../utils/field';\nimport { makeRef } from '../utils/make-ref';\nimport { InputElement, PostfixSlot, PrefixSlot } from './input.fc';\nimport {\n applyPostfixPadding,\n checkAllowedKeys,\n getAriaAttributesForInput,\n mapValidationResult,\n onInputBlur,\n} from './text-field.util';\n\nlet textFieldIds = 0;\n\n/**\n * @since 2.4.0\n * @form-ready 2.4.0\n */\n@Component({\n tag: 'ix-text-field',\n styleUrl: 'text-field.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class TextField implements IxInputFieldComponent<string> {\n @Element() hostElement!: HTMLIxTextFieldElement;\n @AttachInternals() formInternals!: ElementInternals;\n\n /**\n * The type of the text field. Possible values are 'text', 'email', or 'password'.\n */\n @Prop() type: 'text' | 'email' | 'password' = 'text';\n\n /**\n * The name of the text field.\n */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * The placeholder text for the text field.\n */\n @Prop({ reflect: true }) placeholder?: string;\n\n /**\n * The value of the text field.\n */\n @Prop({ reflect: true, mutable: true }) value: string = '';\n\n /**\n * Specifies whether the text field is required.\n */\n @Prop({ reflect: true }) required: boolean = false;\n\n /**\n * Specifies whether the text field is disabled.\n */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /**\n * Specifies whether the text field is readonly.\n */\n @Prop({ reflect: true }) readonly: boolean = false;\n\n /**\n * The helper text for the text field.\n */\n @Prop() helperText?: string;\n\n /**\n * The info text for the text field.\n */\n @Prop() infoText?: string;\n\n /**\n * Specifies whether to show the text as a tooltip.\n */\n @Prop() showTextAsTooltip?: boolean;\n\n /**\n * The valid text for the text field.\n */\n @Prop() validText?: string;\n\n /**\n * The warning text for the text field.\n */\n @Prop() warningText?: string;\n\n /**\n * The label for the text field.\n */\n @Prop({ reflect: true }) label?: string;\n\n /**\n * The error text for the text field.\n */\n @Prop() invalidText?: string;\n\n /**\n * The pattern for the text field.\n */\n @Prop() pattern?: string;\n\n /**\n * The maximum length of the text field.\n */\n @Prop() maxLength?: number;\n\n /**\n * The minimum length of the text field.\n */\n @Prop() minLength?: number;\n\n /**\n * The allowed characters pattern for the text field.\n */\n @Prop() allowedCharactersPattern?: string;\n\n /**\n * Event emitted when the value of the text field changes.\n */\n @Event() valueChange!: EventEmitter<string>;\n\n /**\n * Event emitted when the validity state of the text field changes.\n */\n @Event() validityStateChange!: EventEmitter<ValidityState>;\n\n /**\n * Event emitted when the text field loses focus.\n */\n @Event() ixBlur!: EventEmitter<void>;\n\n @State() isInvalid = false;\n @State() isValid = false;\n @State() isInfo = false;\n @State() isWarning = false;\n @State() isInvalidByRequired = false;\n\n @State() inputType = 'text';\n\n private inputRef = makeRef<HTMLInputElement>();\n private postfixRef = makeRef<HTMLDivElement>();\n private prefixRef = makeRef<HTMLDivElement>();\n\n private textFieldId = `text-field-${textFieldIds++}`;\n\n @HookValidationLifecycle()\n updateClassMappings(result: ValidationResults) {\n mapValidationResult(this, result);\n }\n\n @Watch('type')\n updateInputType() {\n this.inputType = this.type;\n }\n\n componentWillLoad() {\n this.updateFormInternalValue(this.value);\n this.inputType = this.type;\n }\n\n componentDidRender() {\n setTimeout(() => this.updatePaddings());\n }\n\n private updatePaddings() {\n const prefixBoundingRect = this.prefixRef.current?.getBoundingClientRect();\n const postfixBoundingRect =\n this.postfixRef.current?.getBoundingClientRect();\n\n if (prefixBoundingRect) {\n applyPostfixPadding(this.inputRef.current, prefixBoundingRect.width, {\n postfix: false,\n });\n }\n\n if (postfixBoundingRect) {\n applyPostfixPadding(this.inputRef.current, postfixBoundingRect.width, {\n postfix: true,\n });\n }\n }\n\n updateFormInternalValue(value: string) {\n this.formInternals.setFormValue(value);\n this.value = value;\n }\n\n /** @internal */\n @Method()\n async getAssociatedFormElement(): Promise<HTMLFormElement | null> {\n return this.formInternals.form;\n }\n\n /** @internal */\n @Method()\n hasValidValue(): Promise<boolean> {\n return Promise.resolve(!!this.value);\n }\n\n /**\n * Returns the native input element used in the text field.\n */\n @Method()\n getNativeInputElement() {\n return this.inputRef.waitForCurrent();\n }\n\n render() {\n const inputAria: A11yAttributes = getAriaAttributesForInput(this);\n\n return (\n <Host\n class={{\n disabled: this.disabled,\n readonly: this.readonly,\n }}\n >\n <ix-field-wrapper\n htmlForLabel={this.textFieldId}\n required={this.required}\n label={this.label}\n helperText={this.helperText}\n invalidText={this.invalidText}\n infoText={this.infoText}\n warningText={this.warningText}\n validText={this.validText}\n showTextAsTooltip={this.showTextAsTooltip}\n isInvalid={this.isInvalid}\n isValid={this.isValid}\n isInfo={this.isInfo}\n isWarning={this.isWarning}\n controlRef={this.inputRef}\n >\n <slot name=\"label\" slot=\"label\"></slot>\n <div class=\"input-wrapper\">\n <PrefixSlot\n prefixRef={this.prefixRef}\n onSlotChange={() => this.updatePaddings()}\n ></PrefixSlot>\n <InputElement\n id={this.textFieldId}\n readonly={this.readonly}\n disabled={this.disabled}\n maxLength={this.maxLength}\n minLength={this.minLength}\n pattern={this.pattern}\n type={this.inputType}\n isInvalid={this.isInvalid}\n required={this.required}\n value={this.value}\n placeholder={this.placeholder}\n inputRef={this.inputRef}\n onKeyPress={(event) => checkAllowedKeys(this, event)}\n valueChange={(value) => this.valueChange.emit(value)}\n updateFormInternalValue={(value) =>\n this.updateFormInternalValue(value)\n }\n onBlur={() => onInputBlur(this, this.inputRef.current)}\n ariaAttributes={inputAria}\n ></InputElement>\n <PostfixSlot\n postfixRef={this.postfixRef}\n onSlotChange={() => this.updatePaddings()}\n >\n {this.type === 'password' && (\n <ix-icon-button\n color=\"color-weak-text\"\n class={'password-eye'}\n ghost\n icon={\n this.inputType === 'password' ? iconEye : iconEyeCancelled\n }\n onClick={() => {\n if (this.inputType === 'password') {\n this.inputType = 'text';\n return;\n }\n\n this.inputType = 'password';\n }}\n ></ix-icon-button>\n )}\n </PostfixSlot>\n </div>\n {this.maxLength && (\n <ix-typography slot=\"bottom-right\" color=\"weak\">\n {this.value?.length}/{this.maxLength}\n </ix-typography>\n )}\n </ix-field-wrapper>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
-
|
|
3
|
-
interface IxTextareaField extends Components.IxTextareaField, HTMLElement {}
|
|
4
|
-
export const IxTextareaField: {
|
|
5
|
-
prototype: IxTextareaField;
|
|
6
|
-
new (): IxTextareaField;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|