@siemens/ix 1.6.3 → 2.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/a11y-fa9abd92.js +82 -0
- package/dist/cjs/a11y-fa9abd92.js.map +1 -0
- package/dist/cjs/base-button-c158438e.js +50 -0
- package/dist/cjs/base-button-c158438e.js.map +1 -0
- package/dist/cjs/base-icon-button-bbca2582.js +20 -0
- package/dist/cjs/base-icon-button-bbca2582.js.map +1 -0
- package/dist/cjs/breakpoints-e19e827e.js +27 -0
- package/dist/cjs/breakpoints-e19e827e.js.map +1 -0
- package/dist/cjs/context-0fdf2fa1.js +106 -0
- package/dist/cjs/context-0fdf2fa1.js.map +1 -0
- package/dist/cjs/flip-tile-state-183236a1.js +20 -0
- package/dist/cjs/flip-tile-state-183236a1.js.map +1 -0
- package/dist/cjs/floating-ui.dom.esm-3b936e26.js +1520 -0
- package/dist/cjs/floating-ui.dom.esm-3b936e26.js.map +1 -0
- package/dist/cjs/icon-9e9f2faf.js +114 -0
- package/dist/cjs/icon-9e9f2faf.js.map +1 -0
- package/dist/cjs/index-1061a1c1.js +8 -0
- package/dist/cjs/index-1061a1c1.js.map +1 -0
- package/dist/cjs/index-be499a74.js +2287 -0
- package/dist/cjs/index-be499a74.js.map +1 -0
- package/dist/cjs/index.cjs.js +48 -9
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/ix-action-card.cjs.entry.js +3 -3
- package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +26 -18
- package/dist/cjs/ix-application-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-application-sidebar.cjs.entry.js +47 -0
- package/dist/cjs/ix-application-sidebar.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-application.cjs.entry.js +109 -0
- package/dist/cjs/ix-application.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-avatar.cjs.entry.js +39 -0
- package/dist/cjs/ix-avatar.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +51 -19
- package/dist/cjs/ix-basic-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-blind.cjs.entry.js +6 -14
- package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +100 -92
- package/dist/cjs/ix-breadcrumb_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-burger-menu.cjs.entry.js +7 -3
- package/dist/cjs/ix-burger-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-button.cjs.entry.js +25 -8
- package/dist/cjs/ix-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card-list.cjs.entry.js +2 -2
- package/dist/cjs/ix-card-list.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card_2.cjs.entry.js +36 -0
- package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-category-filter.cjs.entry.js +73 -40
- package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-chip.cjs.entry.js +23 -15
- package/dist/cjs/ix-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-col.cjs.entry.js +77 -0
- package/dist/cjs/ix-col.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-content-header.cjs.entry.js +3 -3
- package/dist/cjs/ix-content-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-content.cjs.entry.js +32 -0
- package/dist/cjs/ix-content.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-css-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-css-grid-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-css-grid.cjs.entry.js +1 -1
- package/dist/cjs/ix-css-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-picker_2.cjs.entry.js +8 -9
- package/dist/cjs/ix-date-picker_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js +2 -3
- 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-datetime-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-divider.cjs.entry.js +1 -1
- package/dist/cjs/ix-drawer.cjs.entry.js +5 -2
- package/dist/cjs/ix-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +8 -6
- package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-header.cjs.entry.js +22 -0
- package/dist/cjs/ix-dropdown-header.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +65 -33
- package/dist/cjs/ix-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/ix-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-event-list_2.cjs.entry.js +44 -25
- package/dist/cjs/ix-event-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-expanding-search.cjs.entry.js +5 -8
- package/dist/cjs/ix-expanding-search.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-filter-chip.cjs.entry.js +4 -3
- package/dist/cjs/ix-filter-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js +29 -19
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-form-field.cjs.entry.js +27 -0
- package/dist/cjs/ix-form-field.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-grid.cjs.entry.js +29 -0
- package/dist/cjs/ix-grid.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-group-context-menu.cjs.entry.js +26 -14
- package/dist/cjs/ix-group-context-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-group_2.cjs.entry.js +159 -0
- package/dist/cjs/ix-group_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-icon-button.cjs.entry.js +23 -10
- package/dist/cjs/ix-icon-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +88 -0
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-icon.cjs.entry.js +2 -2
- package/dist/cjs/ix-input-group.cjs.entry.js +85 -18
- package/dist/cjs/ix-input-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
- package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +2 -2
- package/dist/cjs/ix-kpi.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-link-button.cjs.entry.js +30 -0
- package/dist/cjs/ix-link-button.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js +26 -8
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu-category.cjs.entry.js +139 -0
- package/dist/cjs/ix-menu-category.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-menu_9.cjs.entry.js +286 -347
- package/dist/cjs/ix-menu_9.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-message-bar.cjs.entry.js +2 -2
- package/dist/cjs/ix-message-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-content.cjs.entry.js +21 -0
- package/dist/cjs/ix-modal-content.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-modal-example.cjs.entry.js +6 -4
- package/dist/cjs/ix-modal-example.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-footer.cjs.entry.js +21 -0
- package/dist/cjs/ix-modal-footer.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-modal-header.cjs.entry.js +48 -0
- package/dist/cjs/ix-modal-header.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-modal-loading.cjs.entry.js +21 -0
- package/dist/cjs/ix-modal-loading.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-modal.cjs.entry.js +130 -0
- package/dist/cjs/ix-modal.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-pagination.cjs.entry.js +32 -15
- package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-pill.cjs.entry.js +28 -10
- package/dist/cjs/ix-pill.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-push-card.cjs.entry.js +5 -2
- package/dist/cjs/ix-push-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-row.cjs.entry.js +21 -0
- package/dist/cjs/ix-row.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-select_2.cjs.entry.js +85 -54
- package/dist/cjs/ix-select_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-spinner.cjs.entry.js +10 -3
- package/dist/cjs/ix-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-split-button_2.cjs.entry.js +17 -11
- package/dist/cjs/ix-split-button_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tab-item.cjs.entry.js +11 -3
- package/dist/cjs/ix-tab-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tabs.cjs.entry.js +34 -11
- package/dist/cjs/ix-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tile.cjs.entry.js +18 -3
- package/dist/cjs/ix-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toast_2.cjs.entry.js +6 -7
- package/dist/cjs/ix-toast_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toggle-button.cjs.entry.js +77 -0
- package/dist/cjs/ix-toggle-button.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-toggle.cjs.entry.js +11 -30
- package/dist/cjs/ix-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/ix-tree_2.cjs.entry.js +16 -9
- package/dist/cjs/ix-tree_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-typography.cjs.entry.js +59 -0
- package/dist/cjs/ix-typography.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-upload.cjs.entry.js +19 -7
- package/dist/cjs/ix-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +12 -25
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-workflow-step_2.cjs.entry.js +20 -28
- package/dist/cjs/ix-workflow-step_2.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/menu-service-f7ef5265.js +159 -0
- package/dist/cjs/menu-service-f7ef5265.js.map +1 -0
- package/dist/cjs/modal-26ae4715.js +253 -0
- package/dist/cjs/modal-26ae4715.js.map +1 -0
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/my-component.cjs.entry.js.map +1 -1
- package/dist/cjs/shadow-dom-9b10f758.js +24 -0
- package/dist/cjs/shadow-dom-9b10f758.js.map +1 -0
- package/dist/cjs/siemens-ix.cjs.js +2 -2
- package/dist/cjs/theme-switcher-d0386ac9.js +126 -0
- package/dist/cjs/theme-switcher-d0386ac9.js.map +1 -0
- package/dist/collection/collection-manifest.json +31 -33
- package/dist/collection/components/action-card/action-card.css +36 -0
- package/dist/collection/components/action-card/action-card.js +1 -1
- package/dist/collection/components/action-card/action-card.js.map +1 -1
- package/dist/collection/components/application/application.css +106 -0
- package/dist/collection/components/application/application.js +220 -0
- package/dist/collection/components/application/application.js.map +1 -0
- package/dist/collection/components/application-header/application-header.css +4 -2
- package/dist/collection/components/application-header/application-header.js +23 -16
- package/dist/collection/components/application-header/application-header.js.map +1 -1
- package/dist/collection/components/application-header/test/application-headet.ct.js +20 -0
- package/dist/collection/components/application-header/test/application-headet.ct.js.map +1 -0
- package/dist/collection/components/application-sidebar/application-sidebar.css +69 -0
- package/dist/collection/components/application-sidebar/application-sidebar.js +70 -0
- package/dist/collection/components/application-sidebar/application-sidebar.js.map +1 -0
- package/dist/collection/components/application-sidebar/events.js +15 -0
- package/dist/collection/components/application-sidebar/events.js.map +1 -0
- package/dist/collection/components/avatar/avatar.css +70 -0
- package/dist/collection/components/avatar/avatar.js +80 -0
- package/dist/collection/components/avatar/avatar.js.map +1 -0
- package/dist/collection/components/basic-navigation/basic-navigation.css +69 -4
- package/dist/collection/components/basic-navigation/basic-navigation.js +100 -19
- package/dist/collection/components/basic-navigation/basic-navigation.js.map +1 -1
- package/dist/collection/components/blind/blind.css +23 -8
- package/dist/collection/components/blind/blind.js +23 -2
- package/dist/collection/components/blind/blind.js.map +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.css +49 -153
- package/dist/collection/components/breadcrumb/breadcrumb.js +80 -92
- package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js +97 -0
- package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js.map +1 -0
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +1063 -1
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +153 -3
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
- package/dist/collection/components/button/base-button.js +10 -1
- package/dist/collection/components/button/base-button.js.map +1 -1
- package/dist/collection/components/button/button.css +298 -204
- package/dist/collection/components/button/button.js +95 -37
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/button/test/button.ct.js +36 -0
- package/dist/collection/components/button/test/button.ct.js.map +1 -0
- package/dist/collection/components/card/card.css +36 -0
- package/dist/collection/components/card-accordion/card-accordion.css +37 -0
- package/dist/collection/components/card-content/card-content.css +36 -0
- package/dist/collection/components/card-list/card-list.css +36 -0
- package/dist/collection/components/category-filter/category-filter.css +1303 -4
- package/dist/collection/components/category-filter/category-filter.js +115 -55
- package/dist/collection/components/category-filter/category-filter.js.map +1 -1
- package/dist/collection/components/chip/chip.css +185 -149
- package/dist/collection/components/chip/chip.js +22 -14
- package/dist/collection/components/chip/chip.js.map +1 -1
- package/dist/collection/components/col/col.css +19 -0
- package/dist/collection/components/col/col.js +189 -0
- package/dist/collection/components/col/col.js.map +1 -0
- package/dist/collection/components/content/content.css +75 -0
- package/dist/collection/components/content/content.js +46 -0
- package/dist/collection/components/content/content.js.map +1 -0
- package/dist/collection/components/content-header/content-header.js +4 -4
- package/dist/collection/components/content-header/content-header.js.map +1 -1
- package/dist/collection/components/css-grid/builder.js.map +1 -0
- package/dist/collection/components/css-grid/css-grid-item.js.map +1 -0
- package/dist/collection/components/css-grid/css-grid.js +123 -0
- package/dist/collection/components/css-grid/css-grid.js.map +1 -0
- package/dist/collection/components/date-picker/date-picker.css +50 -2
- package/dist/collection/components/date-picker/date-picker.js +4 -4
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/date-time-card/date-time-card.css +66 -8
- package/dist/collection/components/date-time-card/date-time-card.js +1 -2
- package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
- package/dist/collection/components/datetime-picker/datetime-picker.css +52 -6
- package/dist/collection/components/datetime-picker/datetime-picker.js +1 -1
- package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
- package/dist/collection/components/drawer/drawer.css +36 -0
- package/dist/collection/components/drawer/drawer.js +3 -0
- package/dist/collection/components/drawer/drawer.js.map +1 -1
- package/dist/collection/components/drawer/test/drawer.ct.js +47 -0
- package/dist/collection/components/drawer/test/drawer.ct.js.map +1 -0
- package/dist/collection/components/dropdown/dropdown.css +39 -458
- package/dist/collection/components/dropdown/dropdown.js +77 -63
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown/placement.js.map +1 -1
- package/dist/collection/components/dropdown-button/dropdown-button.css +62 -6
- package/dist/collection/components/dropdown-button/dropdown-button.js +39 -9
- package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
- package/dist/collection/components/dropdown-header/dropdown-header.css +68 -0
- package/dist/collection/components/dropdown-header/dropdown-header.js +54 -0
- package/dist/collection/components/dropdown-header/dropdown-header.js.map +1 -0
- package/dist/collection/components/dropdown-item/dropdown-item.css +112 -28
- package/dist/collection/components/dropdown-item/dropdown-item.js +57 -12
- package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -1
- package/dist/collection/components/empty-state/empty-state.css +38 -0
- package/dist/collection/components/event-list/event-list.css +56 -35
- package/dist/collection/components/event-list/event-list.js +35 -16
- package/dist/collection/components/event-list/event-list.js.map +1 -1
- package/dist/collection/components/event-list-item/event-list-item.css +100 -35
- package/dist/collection/components/event-list-item/event-list-item.js +17 -10
- package/dist/collection/components/event-list-item/event-list-item.js.map +1 -1
- package/dist/collection/components/expanding-search/expanding-search.css +306 -9
- package/dist/collection/components/expanding-search/expanding-search.js +4 -7
- package/dist/collection/components/expanding-search/expanding-search.js.map +1 -1
- package/dist/collection/components/expanding-search/test/expanding-search.ct.js +56 -0
- package/dist/collection/components/expanding-search/test/expanding-search.ct.js.map +1 -0
- package/dist/collection/components/filter-chip/filter-chip.css +83 -23
- package/dist/collection/components/filter-chip/filter-chip.js +24 -2
- package/dist/collection/components/filter-chip/filter-chip.js.map +1 -1
- package/dist/collection/components/flip-tile/flip-tile-state.js +5 -5
- package/dist/collection/components/flip-tile/flip-tile-state.js.map +1 -1
- package/dist/collection/components/flip-tile/flip-tile.css +208 -0
- package/dist/collection/components/flip-tile/flip-tile.js +25 -36
- package/dist/collection/components/flip-tile/flip-tile.js.map +1 -1
- package/dist/collection/components/flip-tile/test/flip-tile.ct.js +57 -0
- package/dist/collection/components/flip-tile/test/flip-tile.ct.js.map +1 -0
- package/dist/collection/components/flip-tile-content/flip-tile-content.js +29 -1
- package/dist/collection/components/flip-tile-content/flip-tile-content.js.map +1 -1
- package/dist/collection/components/form-field/form-field.css +234 -0
- 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/grid.css +26 -0
- package/dist/collection/components/grid/grid.js +98 -0
- package/dist/collection/components/grid/grid.js.map +1 -0
- package/dist/collection/components/group/group-context-menu.css +2 -3
- package/dist/collection/components/group/group-context-menu.js +27 -15
- package/dist/collection/components/group/group-context-menu.js.map +1 -1
- package/dist/collection/components/group/group.css +10 -4
- package/dist/collection/components/group/group.js +29 -48
- package/dist/collection/components/group/group.js.map +1 -1
- package/dist/collection/components/group-item/group-item.css +95 -33
- package/dist/collection/components/group-item/group-item.js +2 -2
- package/dist/collection/components/group-item/group-item.js.map +1 -1
- package/dist/collection/components/icon-button/base-icon-button.js +14 -0
- package/dist/collection/components/icon-button/base-icon-button.js.map +1 -0
- package/dist/collection/components/icon-button/icon-button.css +405 -165
- package/dist/collection/components/icon-button/icon-button.js +48 -50
- package/dist/collection/components/icon-button/icon-button.js.map +1 -1
- package/dist/collection/components/icon-button/test/icon-button.ct.js +26 -0
- package/dist/collection/components/icon-button/test/icon-button.ct.js.map +1 -0
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +618 -0
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +274 -0
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js.map +1 -0
- package/dist/collection/components/input-group/input-group.css +56 -1
- package/dist/collection/components/input-group/input-group.js +92 -17
- package/dist/collection/components/input-group/input-group.js.map +1 -1
- package/dist/collection/components/kpi/kpi.css +38 -2
- package/dist/collection/components/link-button/link-button.css +446 -0
- package/dist/collection/components/link-button/link-button.js +98 -0
- package/dist/collection/components/link-button/link-button.js.map +1 -0
- package/dist/collection/components/map-navigation/map-navigation.css +53 -1
- package/dist/collection/components/map-navigation/map-navigation.js +26 -7
- package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +56 -0
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +1 -1
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js.map +1 -1
- package/dist/collection/components/menu/burger-menu.css +430 -5
- package/dist/collection/components/menu/burger-menu.js +42 -2
- package/dist/collection/components/menu/burger-menu.js.map +1 -1
- package/dist/collection/components/menu/menu.css +1766 -24
- package/dist/collection/components/menu/menu.js +289 -342
- package/dist/collection/components/menu/menu.js.map +1 -1
- package/dist/collection/components/menu/test/menu.ct.js +162 -0
- package/dist/collection/components/menu/test/menu.ct.js.map +1 -0
- package/dist/collection/components/menu-about/menu-about.css +2 -2
- package/dist/collection/components/menu-about/menu-about.js +9 -8
- package/dist/collection/components/menu-about/menu-about.js.map +1 -1
- package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
- package/dist/collection/components/menu-about-item/menu-about-item.js.map +1 -1
- package/dist/collection/components/menu-about-news/menu-about-news.css +55 -4
- package/dist/collection/components/menu-about-news/menu-about-news.js +3 -3
- package/dist/collection/components/menu-about-news/menu-about-news.js.map +1 -1
- package/dist/collection/components/menu-avatar/menu-avatar.css +58 -2
- package/dist/collection/components/menu-avatar/menu-avatar.js +3 -10
- package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +49 -2
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +2 -2
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js.map +1 -1
- package/dist/collection/components/menu-category/menu-category.css +104 -0
- package/dist/collection/components/menu-category/menu-category.js +212 -0
- package/dist/collection/components/menu-category/menu-category.js.map +1 -0
- package/dist/collection/components/menu-category/test/menu-category.ct.js +124 -0
- package/dist/collection/components/menu-category/test/menu-category.ct.js.map +1 -0
- package/dist/collection/components/menu-item/menu-item.css +17 -16
- package/dist/collection/components/menu-item/menu-item.js +46 -7
- package/dist/collection/components/menu-item/menu-item.js.map +1 -1
- package/dist/collection/components/menu-settings/menu-settings.css +53 -1
- package/dist/collection/components/menu-settings/menu-settings.js +9 -8
- package/dist/collection/components/menu-settings/menu-settings.js.map +1 -1
- package/dist/collection/components/menu-settings-item/menu-settings-item.css +0 -1
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
- package/dist/collection/components/menu-settings-item/menu-settings-item.js.map +1 -1
- package/dist/collection/components/message-bar/message-bar.css +38 -0
- package/dist/collection/components/modal/modal.css +58 -75
- package/dist/collection/components/modal/modal.js +143 -312
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/modal-content/modal-content.css +63 -0
- package/dist/collection/components/modal-content/modal-content.js +30 -0
- package/dist/collection/components/modal-content/modal-content.js.map +1 -0
- package/dist/collection/components/modal-footer/modal-footer.css +66 -0
- package/dist/collection/components/modal-footer/modal-footer.js +30 -0
- package/dist/collection/components/modal-footer/modal-footer.js.map +1 -0
- package/dist/collection/components/modal-header/modal-header.css +70 -0
- package/dist/collection/components/modal-header/modal-header.js +139 -0
- package/dist/collection/components/modal-header/modal-header.js.map +1 -0
- package/dist/collection/components/modal-loading/modal-loading.css +22 -0
- package/dist/collection/components/modal-loading/modal-loading.js +30 -0
- package/dist/collection/components/modal-loading/modal-loading.js.map +1 -0
- package/dist/collection/components/my-component/example-modal.js +1 -1
- package/dist/collection/components/my-component/example-modal.js.map +1 -1
- package/dist/collection/components/my-component/my-component.js +1 -1
- package/dist/collection/components/my-component/my-component.js.map +1 -1
- package/dist/collection/components/pagination/pagination.css +919 -2
- package/dist/collection/components/pagination/pagination.js +31 -14
- package/dist/collection/components/pagination/pagination.js.map +1 -1
- package/dist/collection/components/pill/pill.css +138 -166
- package/dist/collection/components/pill/pill.js +27 -9
- package/dist/collection/components/pill/pill.js.map +1 -1
- package/dist/collection/components/push-card/push-card.js +4 -1
- package/dist/collection/components/push-card/push-card.js.map +1 -1
- package/dist/collection/components/row/row.css +17 -0
- package/dist/collection/components/row/row.js +30 -0
- package/dist/collection/components/row/row.js.map +1 -0
- package/dist/collection/components/select/select.css +75 -7
- package/dist/collection/components/select/select.js +149 -59
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select/test/select.ct.js +119 -0
- package/dist/collection/components/select/test/select.ct.js.map +1 -0
- package/dist/collection/components/select-item/select-item.css +12 -0
- package/dist/collection/components/select-item/select-item.js +4 -2
- package/dist/collection/components/select-item/select-item.js.map +1 -1
- package/dist/collection/components/spinner/spinner.css +576 -23
- package/dist/collection/components/spinner/spinner.js +33 -5
- package/dist/collection/components/spinner/spinner.js.map +1 -1
- package/dist/collection/components/split-button/split-button.css +76 -2
- package/dist/collection/components/split-button/split-button.js +17 -35
- package/dist/collection/components/split-button/split-button.js.map +1 -1
- package/dist/collection/components/split-button-item/split-button-item.css +1 -1
- package/dist/collection/components/split-button-item/split-button-item.js +5 -2
- package/dist/collection/components/split-button-item/split-button-item.js.map +1 -1
- package/dist/collection/components/tab-item/tab-item.css +149 -81
- package/dist/collection/components/tab-item/tab-item.js +35 -1
- package/dist/collection/components/tab-item/tab-item.js.map +1 -1
- package/dist/collection/components/tabs/tabs.css +73 -19
- package/dist/collection/components/tabs/tabs.js +59 -9
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/collection/components/tabs/test/tabs.ct.js +84 -0
- package/dist/collection/components/tabs/test/tabs.ct.js.map +1 -0
- package/dist/collection/components/tile/tile.css +90 -24
- package/dist/collection/components/tile/tile.js +23 -2
- package/dist/collection/components/tile/tile.js.map +1 -1
- package/dist/collection/components/time-picker/time-picker.css +522 -38
- package/dist/collection/components/time-picker/time-picker.js +3 -4
- package/dist/collection/components/time-picker/time-picker.js.map +1 -1
- package/dist/collection/components/toast/toast-container.js +2 -3
- package/dist/collection/components/toast/toast-container.js.map +1 -1
- package/dist/collection/components/toast/toast.css +73 -0
- package/dist/collection/components/toast/toast.js +5 -5
- package/dist/collection/components/toast/toast.js.map +1 -1
- package/dist/collection/components/toggle/test/toggle.ct.js +52 -0
- package/dist/collection/components/toggle/test/toggle.ct.js.map +1 -0
- package/dist/collection/components/toggle/toggle.css +100 -145
- package/dist/collection/components/toggle/toggle.js +11 -60
- package/dist/collection/components/toggle/toggle.js.map +1 -1
- package/dist/collection/components/toggle-button/toggle-button.css +447 -0
- package/dist/collection/components/toggle-button/toggle-button.js +246 -0
- package/dist/collection/components/toggle-button/toggle-button.js.map +1 -0
- package/dist/collection/components/tree/test/tree.ct.js +154 -0
- package/dist/collection/components/tree/test/tree.ct.js.map +1 -0
- package/dist/collection/components/tree/tree.js +14 -7
- package/dist/collection/components/tree/tree.js.map +1 -1
- package/dist/collection/components/tree-item/tree-item.css +56 -14
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js.map +1 -1
- package/dist/collection/components/typography/typography.css +444 -14
- package/dist/collection/components/typography/typography.js +96 -15
- package/dist/collection/components/typography/typography.js.map +1 -1
- package/dist/collection/components/upload/upload.css +60 -3
- package/dist/collection/components/upload/upload.js +18 -6
- package/dist/collection/components/upload/upload.js.map +1 -1
- package/dist/collection/components/utils/a11y.js +66 -0
- package/dist/collection/components/utils/a11y.js.map +1 -1
- package/dist/collection/components/utils/application-layout/context.js +19 -0
- package/dist/collection/components/utils/application-layout/context.js.map +1 -0
- package/dist/collection/components/utils/application-layout/index.js +10 -0
- package/dist/collection/components/utils/application-layout/index.js.map +1 -0
- package/dist/collection/components/utils/application-layout/service.js +92 -0
- package/dist/collection/components/utils/application-layout/service.js.map +1 -0
- package/dist/collection/components/utils/breakpoints.js +22 -0
- package/dist/collection/components/utils/breakpoints.js.map +1 -0
- package/dist/collection/components/utils/context.js +79 -0
- package/dist/collection/components/utils/context.js.map +1 -0
- package/dist/collection/components/utils/delegate.js +29 -0
- package/dist/collection/components/utils/delegate.js.map +1 -0
- package/dist/collection/components/utils/menu-service/menu-service.js +25 -0
- package/dist/collection/components/utils/menu-service/menu-service.js.map +1 -1
- package/dist/collection/components/utils/modal/index.js +12 -0
- package/dist/collection/components/utils/modal/index.js.map +1 -0
- package/dist/collection/components/utils/modal/loading.js +35 -0
- package/dist/collection/components/utils/modal/loading.js.map +1 -0
- package/dist/collection/components/utils/modal/message.js +138 -0
- package/dist/collection/components/utils/modal/message.js.map +1 -0
- package/dist/collection/components/utils/modal/modal.js +77 -0
- package/dist/collection/components/utils/modal/modal.js.map +1 -0
- package/dist/collection/components/utils/shadow-dom.js +25 -0
- package/dist/collection/components/utils/shadow-dom.js.map +1 -0
- package/dist/collection/components/utils/theme-switcher.js +35 -3
- package/dist/collection/components/utils/theme-switcher.js.map +1 -1
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +35 -18
- package/dist/collection/components/validation-tooltip/validation-tooltip.js.map +1 -1
- package/dist/collection/components/workflow-step/workflow-step.css +53 -2
- package/dist/collection/components/workflow-step/workflow-step.js +8 -24
- package/dist/collection/components/workflow-step/workflow-step.js.map +1 -1
- package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js +74 -0
- package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js.map +1 -0
- package/dist/collection/components/workflow-steps/workflow-steps.css +51 -0
- package/dist/collection/components/workflow-steps/workflow-steps.js +23 -36
- package/dist/collection/components/workflow-steps/workflow-steps.js.map +1 -1
- package/dist/collection/index.js +2 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/tests/utils/test/page.js +12 -5
- package/dist/collection/tests/utils/test/page.js.map +1 -1
- package/dist/components/a11y.js +79 -0
- package/dist/components/a11y.js.map +1 -0
- package/dist/components/application-header.js +44 -18
- package/dist/components/application-header.js.map +1 -1
- package/dist/components/avatar.js +53 -0
- package/dist/components/avatar.js.map +1 -0
- package/dist/components/base-button.js +16 -2
- package/dist/components/base-button.js.map +1 -1
- package/dist/components/base-icon-button.js +18 -0
- package/dist/components/base-icon-button.js.map +1 -0
- package/dist/components/breadcrumb-item.js +99 -0
- package/dist/components/breadcrumb-item.js.map +1 -0
- package/dist/components/breakpoints.js +25 -0
- package/dist/components/breakpoints.js.map +1 -0
- package/dist/components/burger-menu.js +28 -4
- package/dist/components/burger-menu.js.map +1 -1
- package/dist/components/button.js +42 -11
- package/dist/components/button.js.map +1 -1
- package/dist/components/card-accordion.js +1 -1
- package/dist/components/card-accordion.js.map +1 -1
- package/dist/components/card-content.js +1 -1
- package/dist/components/card-content.js.map +1 -1
- package/dist/components/card.js +1 -1
- package/dist/components/card.js.map +1 -1
- package/dist/components/context.js +101 -0
- package/dist/components/context.js.map +1 -0
- package/dist/components/date-picker.js +22 -15
- package/dist/components/date-picker.js.map +1 -1
- package/dist/components/date-time-card.js +3 -3
- package/dist/components/date-time-card.js.map +1 -1
- package/dist/components/divider.js +32 -0
- package/dist/components/divider.js.map +1 -0
- package/dist/components/dropdown-item.js +19 -13
- package/dist/components/dropdown-item.js.map +1 -1
- package/dist/components/dropdown.js +50 -22
- package/dist/components/dropdown.js.map +1 -1
- package/dist/components/filter-chip.js +21 -6
- package/dist/components/filter-chip.js.map +1 -1
- package/dist/components/flip-tile-state.js +5 -5
- package/dist/components/flip-tile-state.js.map +1 -1
- package/dist/components/floating-ui.dom.esm.js +656 -637
- package/dist/components/floating-ui.dom.esm.js.map +1 -1
- package/dist/components/group-context-menu.js +37 -18
- package/dist/components/group-context-menu.js.map +1 -1
- package/dist/components/group-item.js +4 -3
- package/dist/components/group-item.js.map +1 -1
- package/dist/components/icon-button.js +31 -14
- package/dist/components/icon-button.js.map +1 -1
- package/dist/components/index.js +38 -3
- package/dist/components/index.js.map +1 -1
- package/dist/components/index2.js +6 -0
- package/dist/components/index2.js.map +1 -0
- package/dist/components/ix-action-card.js +2 -2
- package/dist/components/ix-action-card.js.map +1 -1
- package/dist/components/ix-application-sidebar.d.ts +11 -0
- package/dist/components/ix-application-sidebar.js +63 -0
- package/dist/components/ix-application-sidebar.js.map +1 -0
- package/dist/components/ix-application.d.ts +11 -0
- package/dist/components/ix-application.js +128 -0
- package/dist/components/ix-application.js.map +1 -0
- package/dist/components/ix-avatar.d.ts +11 -0
- package/dist/components/ix-avatar.js +8 -0
- package/dist/components/ix-avatar.js.map +1 -0
- package/dist/components/ix-basic-navigation.js +76 -24
- package/dist/components/ix-basic-navigation.js.map +1 -1
- package/dist/components/ix-blind.js +14 -15
- package/dist/components/ix-blind.js.map +1 -1
- package/dist/components/ix-breadcrumb-item.js +1 -32
- package/dist/components/ix-breadcrumb-item.js.map +1 -1
- package/dist/components/ix-breadcrumb.js +76 -98
- package/dist/components/ix-breadcrumb.js.map +1 -1
- package/dist/components/ix-card-list.js +17 -11
- package/dist/components/ix-card-list.js.map +1 -1
- package/dist/components/ix-category-filter.js +90 -49
- package/dist/components/ix-category-filter.js.map +1 -1
- package/dist/components/ix-chip.js +38 -17
- package/dist/components/ix-chip.js.map +1 -1
- package/dist/components/ix-col.d.ts +11 -0
- package/dist/components/ix-col.js +96 -0
- package/dist/components/ix-col.js.map +1 -0
- package/dist/components/ix-content-header.js +12 -6
- package/dist/components/ix-content-header.js.map +1 -1
- package/dist/components/ix-content.d.ts +11 -0
- package/dist/components/ix-content.js +48 -0
- package/dist/components/ix-content.js.map +1 -0
- package/dist/components/ix-css-grid-item.js.map +1 -1
- package/dist/components/ix-css-grid.js.map +1 -1
- package/dist/components/ix-datetime-picker.js +29 -16
- package/dist/components/ix-datetime-picker.js.map +1 -1
- package/dist/components/ix-divider.js +1 -28
- package/dist/components/ix-divider.js.map +1 -1
- package/dist/components/ix-drawer.js +14 -5
- package/dist/components/ix-drawer.js.map +1 -1
- package/dist/components/ix-dropdown-button.js +24 -14
- package/dist/components/ix-dropdown-button.js.map +1 -1
- package/dist/components/ix-dropdown-header.d.ts +11 -0
- package/dist/components/ix-dropdown-header.js +44 -0
- package/dist/components/ix-dropdown-header.js.map +1 -0
- package/dist/components/ix-empty-state.js +11 -5
- package/dist/components/ix-empty-state.js.map +1 -1
- package/dist/components/ix-event-list-item.js +21 -11
- package/dist/components/ix-event-list-item.js.map +1 -1
- package/dist/components/ix-event-list.js +34 -17
- package/dist/components/ix-event-list.js.map +1 -1
- package/dist/components/ix-expanding-search.js +16 -12
- package/dist/components/ix-expanding-search.js.map +1 -1
- package/dist/components/ix-flip-tile-content.js +5 -2
- package/dist/components/ix-flip-tile-content.js.map +1 -1
- package/dist/components/ix-flip-tile.js +37 -22
- package/dist/components/ix-flip-tile.js.map +1 -1
- package/dist/components/ix-form-field.d.ts +11 -0
- package/dist/components/ix-form-field.js +43 -0
- package/dist/components/ix-form-field.js.map +1 -0
- package/dist/components/ix-grid.d.ts +11 -0
- package/dist/components/ix-grid.js +47 -0
- package/dist/components/ix-grid.js.map +1 -0
- package/dist/components/ix-group.js +51 -49
- package/dist/components/ix-group.js.map +1 -1
- package/dist/components/ix-icon-toggle-button.d.ts +11 -0
- package/dist/components/ix-icon-toggle-button.js +122 -0
- package/dist/components/ix-icon-toggle-button.js.map +1 -0
- package/dist/components/ix-input-group.js +89 -18
- package/dist/components/ix-input-group.js.map +1 -1
- package/dist/components/ix-kpi.js +1 -1
- package/dist/components/ix-kpi.js.map +1 -1
- package/dist/components/ix-link-button.d.ts +11 -0
- package/dist/components/ix-link-button.js +54 -0
- package/dist/components/ix-link-button.js.map +1 -0
- package/dist/components/ix-map-navigation.js +42 -17
- package/dist/components/ix-map-navigation.js.map +1 -1
- package/dist/components/ix-menu-about-item.js +3 -2
- package/dist/components/ix-menu-about-item.js.map +1 -1
- package/dist/components/ix-menu-about-news.js +27 -8
- package/dist/components/ix-menu-about-news.js.map +1 -1
- package/dist/components/ix-menu-about.js +19 -11
- package/dist/components/ix-menu-about.js.map +1 -1
- package/dist/components/ix-menu-avatar.js +12 -20
- package/dist/components/ix-menu-avatar.js.map +1 -1
- package/dist/components/ix-menu-category.d.ts +11 -0
- package/dist/components/ix-menu-category.js +196 -0
- package/dist/components/ix-menu-category.js.map +1 -0
- package/dist/components/ix-menu-settings-item.js +3 -2
- package/dist/components/ix-menu-settings-item.js.map +1 -1
- package/dist/components/ix-menu-settings.js +19 -11
- package/dist/components/ix-menu-settings.js.map +1 -1
- package/dist/components/ix-menu.js +262 -321
- package/dist/components/ix-menu.js.map +1 -1
- package/dist/components/ix-message-bar.js +11 -5
- package/dist/components/ix-message-bar.js.map +1 -1
- package/dist/components/ix-modal-content.d.ts +11 -0
- package/dist/components/ix-modal-content.js +35 -0
- package/dist/components/ix-modal-content.js.map +1 -0
- package/dist/components/ix-modal-example.js +10 -15
- package/dist/components/ix-modal-example.js.map +1 -1
- package/dist/components/ix-modal-footer.d.ts +11 -0
- package/dist/components/ix-modal-footer.js +35 -0
- package/dist/components/ix-modal-footer.js.map +1 -0
- package/dist/components/ix-modal-header.d.ts +11 -0
- package/dist/components/ix-modal-header.js +90 -0
- package/dist/components/ix-modal-header.js.map +1 -0
- package/dist/components/ix-modal-loading.d.ts +11 -0
- package/dist/components/ix-modal-loading.js +41 -0
- package/dist/components/ix-modal-loading.js.map +1 -0
- package/dist/components/ix-modal.js +148 -1
- package/dist/components/ix-modal.js.map +1 -1
- package/dist/components/ix-pagination.js +55 -31
- package/dist/components/ix-pagination.js.map +1 -1
- package/dist/components/ix-pill.js +29 -10
- package/dist/components/ix-pill.js.map +1 -1
- package/dist/components/ix-push-card.js +4 -1
- package/dist/components/ix-push-card.js.map +1 -1
- package/dist/components/ix-row.d.ts +11 -0
- package/dist/components/ix-row.js +35 -0
- package/dist/components/ix-row.js.map +1 -0
- package/dist/components/ix-split-button-item.js +7 -3
- package/dist/components/ix-split-button-item.js.map +1 -1
- package/dist/components/ix-split-button.js +35 -14
- package/dist/components/ix-split-button.js.map +1 -1
- package/dist/components/ix-tile.js +22 -4
- package/dist/components/ix-tile.js.map +1 -1
- package/dist/components/ix-toast-container.js +12 -6
- package/dist/components/ix-toast-container.js.map +1 -1
- package/dist/components/ix-toggle-button.d.ts +11 -0
- package/dist/components/ix-toggle-button.js +111 -0
- package/dist/components/ix-toggle-button.js.map +1 -0
- package/dist/components/ix-toggle.js +15 -34
- package/dist/components/ix-toggle.js.map +1 -1
- package/dist/components/ix-tree.js +16 -8
- package/dist/components/ix-tree.js.map +1 -1
- package/dist/components/ix-upload.js +28 -10
- package/dist/components/ix-upload.js.map +1 -1
- package/dist/components/ix-validation-tooltip.js +14 -25
- package/dist/components/ix-validation-tooltip.js.map +1 -1
- package/dist/components/ix-workflow-step.js +9 -15
- package/dist/components/ix-workflow-step.js.map +1 -1
- package/dist/components/ix-workflow-steps.js +17 -18
- package/dist/components/ix-workflow-steps.js.map +1 -1
- package/dist/components/map-navigation-overlay.js +13 -6
- package/dist/components/map-navigation-overlay.js.map +1 -1
- package/dist/components/menu-avatar-item.js +3 -2
- package/dist/components/menu-avatar-item.js.map +1 -1
- package/dist/components/menu-item.js +23 -3
- package/dist/components/menu-item.js.map +1 -1
- package/dist/components/menu-service.js +156 -0
- package/dist/components/menu-service.js.map +1 -0
- package/dist/components/modal.js +225 -165
- package/dist/components/modal.js.map +1 -1
- package/dist/components/my-component.js.map +1 -1
- package/dist/components/select-item.js +6 -3
- package/dist/components/select-item.js.map +1 -1
- package/dist/components/select.js +102 -65
- package/dist/components/select.js.map +1 -1
- package/dist/components/shadow-dom.js +21 -0
- package/dist/components/shadow-dom.js.map +1 -0
- package/dist/components/spinner.js +11 -3
- package/dist/components/spinner.js.map +1 -1
- package/dist/components/tab-item.js +13 -4
- package/dist/components/tab-item.js.map +1 -1
- package/dist/components/tabs.js +44 -14
- package/dist/components/tabs.js.map +1 -1
- package/dist/components/theme-switcher.js +35 -3
- package/dist/components/theme-switcher.js.map +1 -1
- package/dist/components/time-picker.js +25 -13
- package/dist/components/time-picker.js.map +1 -1
- package/dist/components/toast.js +17 -10
- package/dist/components/toast.js.map +1 -1
- package/dist/components/tree-item.js +3 -2
- package/dist/components/tree-item.js.map +1 -1
- package/dist/components/typography.js +29 -13
- package/dist/components/typography.js.map +1 -1
- package/dist/esm/a11y-aa83c2d1.js +79 -0
- package/dist/esm/a11y-aa83c2d1.js.map +1 -0
- package/dist/esm/base-button-87048318.js +47 -0
- package/dist/esm/base-button-87048318.js.map +1 -0
- package/dist/esm/base-icon-button-afac2d95.js +18 -0
- package/dist/esm/base-icon-button-afac2d95.js.map +1 -0
- package/dist/esm/breakpoints-b8d59fd9.js +25 -0
- package/dist/esm/breakpoints-b8d59fd9.js.map +1 -0
- package/dist/esm/context-6a3bc77f.js +101 -0
- package/dist/esm/context-6a3bc77f.js.map +1 -0
- package/dist/esm/flip-tile-state-db31345f.js +20 -0
- package/dist/esm/flip-tile-state-db31345f.js.map +1 -0
- package/dist/esm/floating-ui.dom.esm-cbe44820.js +1512 -0
- package/dist/esm/floating-ui.dom.esm-cbe44820.js.map +1 -0
- package/dist/esm/icon-f54a8bc4.js +112 -0
- package/dist/esm/icon-f54a8bc4.js.map +1 -0
- package/dist/esm/index-7b24b7fa.js +6 -0
- package/dist/esm/index-7b24b7fa.js.map +1 -0
- package/dist/esm/index-eb0be730.js +2256 -0
- package/dist/esm/index-eb0be730.js.map +1 -0
- package/dist/esm/index.js +41 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/ix-action-card.entry.js +3 -3
- package/dist/esm/ix-action-card.entry.js.map +1 -1
- package/dist/esm/ix-application-header.entry.js +25 -17
- package/dist/esm/ix-application-header.entry.js.map +1 -1
- package/dist/esm/ix-application-sidebar.entry.js +43 -0
- package/dist/esm/ix-application-sidebar.entry.js.map +1 -0
- package/dist/esm/ix-application.entry.js +105 -0
- package/dist/esm/ix-application.entry.js.map +1 -0
- package/dist/esm/ix-avatar.entry.js +35 -0
- package/dist/esm/ix-avatar.entry.js.map +1 -0
- package/dist/esm/ix-basic-navigation.entry.js +51 -19
- package/dist/esm/ix-basic-navigation.entry.js.map +1 -1
- package/dist/esm/ix-blind.entry.js +6 -14
- package/dist/esm/ix-blind.entry.js.map +1 -1
- package/dist/esm/ix-breadcrumb_2.entry.js +100 -92
- package/dist/esm/ix-breadcrumb_2.entry.js.map +1 -1
- package/dist/esm/ix-burger-menu.entry.js +7 -3
- package/dist/esm/ix-burger-menu.entry.js.map +1 -1
- package/dist/esm/ix-button.entry.js +25 -8
- package/dist/esm/ix-button.entry.js.map +1 -1
- package/dist/esm/ix-card-accordion_2.entry.js +2 -2
- package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
- package/dist/esm/ix-card-list.entry.js +2 -2
- package/dist/esm/ix-card-list.entry.js.map +1 -1
- package/dist/esm/ix-card_2.entry.js +31 -0
- package/dist/esm/ix-card_2.entry.js.map +1 -0
- package/dist/esm/ix-category-filter.entry.js +73 -40
- package/dist/esm/ix-category-filter.entry.js.map +1 -1
- package/dist/esm/ix-chip.entry.js +23 -15
- package/dist/esm/ix-chip.entry.js.map +1 -1
- package/dist/esm/ix-col.entry.js +73 -0
- package/dist/esm/ix-col.entry.js.map +1 -0
- package/dist/esm/ix-content-header.entry.js +3 -3
- package/dist/esm/ix-content-header.entry.js.map +1 -1
- package/dist/esm/ix-content.entry.js +28 -0
- package/dist/esm/ix-content.entry.js.map +1 -0
- package/dist/esm/ix-css-grid-item.entry.js +1 -1
- package/dist/esm/ix-css-grid-item.entry.js.map +1 -1
- package/dist/esm/ix-css-grid.entry.js +1 -1
- package/dist/esm/ix-css-grid.entry.js.map +1 -1
- package/dist/esm/ix-date-picker_2.entry.js +8 -9
- package/dist/esm/ix-date-picker_2.entry.js.map +1 -1
- package/dist/esm/ix-date-time-card.entry.js +2 -3
- 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-datetime-picker.entry.js.map +1 -1
- package/dist/esm/ix-divider.entry.js +1 -1
- package/dist/esm/ix-drawer.entry.js +5 -2
- package/dist/esm/ix-drawer.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-button.entry.js +8 -6
- package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-header.entry.js +18 -0
- package/dist/esm/ix-dropdown-header.entry.js.map +1 -0
- package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
- package/dist/esm/ix-dropdown_2.entry.js +65 -33
- package/dist/esm/ix-dropdown_2.entry.js.map +1 -1
- package/dist/esm/ix-empty-state.entry.js +2 -2
- package/dist/esm/ix-empty-state.entry.js.map +1 -1
- package/dist/esm/ix-event-list_2.entry.js +44 -25
- package/dist/esm/ix-event-list_2.entry.js.map +1 -1
- package/dist/esm/ix-expanding-search.entry.js +5 -8
- package/dist/esm/ix-expanding-search.entry.js.map +1 -1
- package/dist/esm/ix-filter-chip.entry.js +4 -3
- package/dist/esm/ix-filter-chip.entry.js.map +1 -1
- package/dist/esm/ix-flip-tile_2.entry.js +29 -19
- package/dist/esm/ix-flip-tile_2.entry.js.map +1 -1
- package/dist/esm/ix-form-field.entry.js +23 -0
- package/dist/esm/ix-form-field.entry.js.map +1 -0
- package/dist/esm/ix-grid.entry.js +25 -0
- package/dist/esm/ix-grid.entry.js.map +1 -0
- package/dist/esm/ix-group-context-menu.entry.js +26 -14
- package/dist/esm/ix-group-context-menu.entry.js.map +1 -1
- package/dist/esm/ix-group_2.entry.js +154 -0
- package/dist/esm/ix-group_2.entry.js.map +1 -0
- package/dist/esm/ix-icon-button.entry.js +23 -10
- package/dist/esm/ix-icon-button.entry.js.map +1 -1
- package/dist/esm/ix-icon-toggle-button.entry.js +84 -0
- package/dist/esm/ix-icon-toggle-button.entry.js.map +1 -0
- package/dist/esm/ix-icon.entry.js +2 -2
- package/dist/esm/ix-input-group.entry.js +85 -18
- package/dist/esm/ix-input-group.entry.js.map +1 -1
- package/dist/esm/ix-key-value-list.entry.js +1 -1
- package/dist/esm/ix-key-value.entry.js +1 -1
- package/dist/esm/ix-kpi.entry.js +2 -2
- package/dist/esm/ix-kpi.entry.js.map +1 -1
- package/dist/esm/ix-link-button.entry.js +26 -0
- package/dist/esm/ix-link-button.entry.js.map +1 -0
- package/dist/esm/ix-map-navigation_2.entry.js +26 -8
- package/dist/esm/ix-map-navigation_2.entry.js.map +1 -1
- package/dist/esm/ix-menu-category.entry.js +135 -0
- package/dist/esm/ix-menu-category.entry.js.map +1 -0
- package/dist/esm/ix-menu_9.entry.js +285 -346
- package/dist/esm/ix-menu_9.entry.js.map +1 -1
- package/dist/esm/ix-message-bar.entry.js +2 -2
- package/dist/esm/ix-message-bar.entry.js.map +1 -1
- package/dist/esm/ix-modal-content.entry.js +17 -0
- package/dist/esm/ix-modal-content.entry.js.map +1 -0
- package/dist/esm/ix-modal-example.entry.js +4 -2
- package/dist/esm/ix-modal-example.entry.js.map +1 -1
- package/dist/esm/ix-modal-footer.entry.js +17 -0
- package/dist/esm/ix-modal-footer.entry.js.map +1 -0
- package/dist/esm/ix-modal-header.entry.js +44 -0
- package/dist/esm/ix-modal-header.entry.js.map +1 -0
- package/dist/esm/ix-modal-loading.entry.js +17 -0
- package/dist/esm/ix-modal-loading.entry.js.map +1 -0
- package/dist/esm/ix-modal.entry.js +126 -0
- package/dist/esm/ix-modal.entry.js.map +1 -0
- package/dist/esm/ix-pagination.entry.js +32 -15
- package/dist/esm/ix-pagination.entry.js.map +1 -1
- package/dist/esm/ix-pill.entry.js +28 -10
- package/dist/esm/ix-pill.entry.js.map +1 -1
- package/dist/esm/ix-push-card.entry.js +5 -2
- package/dist/esm/ix-push-card.entry.js.map +1 -1
- package/dist/esm/ix-row.entry.js +17 -0
- package/dist/esm/ix-row.entry.js.map +1 -0
- package/dist/esm/ix-select_2.entry.js +85 -54
- package/dist/esm/ix-select_2.entry.js.map +1 -1
- package/dist/esm/ix-spinner.entry.js +10 -3
- package/dist/esm/ix-spinner.entry.js.map +1 -1
- package/dist/esm/ix-split-button_2.entry.js +17 -11
- package/dist/esm/ix-split-button_2.entry.js.map +1 -1
- package/dist/esm/ix-tab-item.entry.js +11 -3
- package/dist/esm/ix-tab-item.entry.js.map +1 -1
- package/dist/esm/ix-tabs.entry.js +34 -11
- package/dist/esm/ix-tabs.entry.js.map +1 -1
- package/dist/esm/ix-tile.entry.js +18 -3
- package/dist/esm/ix-tile.entry.js.map +1 -1
- package/dist/esm/ix-toast_2.entry.js +6 -7
- package/dist/esm/ix-toast_2.entry.js.map +1 -1
- package/dist/esm/ix-toggle-button.entry.js +73 -0
- package/dist/esm/ix-toggle-button.entry.js.map +1 -0
- package/dist/esm/ix-toggle.entry.js +11 -30
- package/dist/esm/ix-toggle.entry.js.map +1 -1
- package/dist/esm/ix-tooltip.entry.js +2 -2
- package/dist/esm/ix-tree_2.entry.js +16 -9
- package/dist/esm/ix-tree_2.entry.js.map +1 -1
- package/dist/esm/ix-typography.entry.js +55 -0
- package/dist/esm/ix-typography.entry.js.map +1 -0
- package/dist/esm/ix-upload.entry.js +19 -7
- package/dist/esm/ix-upload.entry.js.map +1 -1
- package/dist/esm/ix-validation-tooltip.entry.js +12 -25
- package/dist/esm/ix-validation-tooltip.entry.js.map +1 -1
- package/dist/esm/ix-workflow-step_2.entry.js +20 -28
- package/dist/esm/ix-workflow-step_2.entry.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/menu-service-12a09006.js +156 -0
- package/dist/esm/menu-service-12a09006.js.map +1 -0
- package/dist/esm/modal-68c6d3f6.js +245 -0
- package/dist/esm/modal-68c6d3f6.js.map +1 -0
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/my-component.entry.js.map +1 -1
- package/dist/esm/shadow-dom-b9df3d9b.js +21 -0
- package/dist/esm/shadow-dom-b9df3d9b.js.map +1 -0
- package/dist/esm/siemens-ix.js +3 -3
- package/dist/esm/theme-switcher-9ede3823.js +123 -0
- package/dist/esm/theme-switcher-9ede3823.js.map +1 -0
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/index.esm.js.map +1 -1
- package/dist/siemens-ix/p-00616f87.entry.js +2 -0
- package/dist/siemens-ix/p-00616f87.entry.js.map +1 -0
- package/dist/siemens-ix/p-00df4a8c.js +2 -0
- package/dist/siemens-ix/p-00df4a8c.js.map +1 -0
- package/dist/siemens-ix/p-04eeba9e.js +2 -0
- package/dist/siemens-ix/p-04eeba9e.js.map +1 -0
- package/dist/siemens-ix/p-0b71cde4.js +2 -0
- package/dist/siemens-ix/p-0b71cde4.js.map +1 -0
- package/dist/siemens-ix/p-0e2045b9.entry.js +2 -0
- package/dist/siemens-ix/p-0e2045b9.entry.js.map +1 -0
- package/dist/siemens-ix/p-134b6bd5.js +2 -0
- package/dist/siemens-ix/p-134b6bd5.js.map +1 -0
- package/dist/siemens-ix/p-14621fbd.entry.js +2 -0
- package/dist/siemens-ix/p-14621fbd.entry.js.map +1 -0
- package/dist/siemens-ix/p-1b227e9a.js +2 -0
- package/dist/siemens-ix/p-1b227e9a.js.map +1 -0
- package/dist/siemens-ix/p-1b705d7b.js +2 -0
- package/dist/siemens-ix/p-1b705d7b.js.map +1 -0
- package/dist/siemens-ix/p-1b9b19e6.js +2 -0
- package/dist/siemens-ix/p-1b9b19e6.js.map +1 -0
- package/dist/siemens-ix/p-1fc8e513.entry.js +2 -0
- package/dist/siemens-ix/p-1fc8e513.entry.js.map +1 -0
- package/dist/siemens-ix/p-26855b3f.entry.js +2 -0
- package/dist/siemens-ix/p-26855b3f.entry.js.map +1 -0
- package/dist/siemens-ix/p-281fa225.entry.js +2 -0
- package/dist/siemens-ix/p-281fa225.entry.js.map +1 -0
- package/dist/siemens-ix/p-2a29e187.entry.js +2 -0
- package/dist/siemens-ix/p-2a29e187.entry.js.map +1 -0
- package/dist/siemens-ix/p-36c48f12.entry.js +2 -0
- package/dist/siemens-ix/p-36c48f12.entry.js.map +1 -0
- package/dist/siemens-ix/p-36f0b470.entry.js +2 -0
- package/dist/siemens-ix/p-36f0b470.entry.js.map +1 -0
- package/dist/siemens-ix/p-37dd62fc.entry.js +2 -0
- package/dist/siemens-ix/p-37dd62fc.entry.js.map +1 -0
- package/dist/siemens-ix/p-3983ee89.entry.js +2 -0
- package/dist/siemens-ix/p-3983ee89.entry.js.map +1 -0
- package/dist/siemens-ix/p-3dbeeecf.entry.js +2 -0
- package/dist/siemens-ix/p-3dbeeecf.entry.js.map +1 -0
- package/dist/siemens-ix/p-3eabf464.entry.js +2 -0
- package/dist/siemens-ix/p-3eabf464.entry.js.map +1 -0
- package/dist/siemens-ix/p-40ecc8be.entry.js +2 -0
- package/dist/siemens-ix/p-40ecc8be.entry.js.map +1 -0
- package/dist/siemens-ix/p-43497703.entry.js +2 -0
- package/dist/siemens-ix/p-43497703.entry.js.map +1 -0
- package/dist/siemens-ix/p-4659c550.entry.js +2 -0
- package/dist/siemens-ix/p-475d8732.entry.js +2 -0
- package/dist/siemens-ix/p-475d8732.entry.js.map +1 -0
- package/dist/siemens-ix/p-49b9f9f5.entry.js +2 -0
- package/dist/siemens-ix/p-49b9f9f5.entry.js.map +1 -0
- package/dist/siemens-ix/p-4dbae019.entry.js +2 -0
- package/dist/siemens-ix/p-4f8954a7.entry.js +2 -0
- package/dist/siemens-ix/p-4f8954a7.entry.js.map +1 -0
- package/dist/siemens-ix/p-5017cf39.entry.js +2 -0
- package/dist/siemens-ix/p-5017cf39.entry.js.map +1 -0
- package/dist/siemens-ix/p-5029fd0f.entry.js +2 -0
- package/dist/siemens-ix/p-5029fd0f.entry.js.map +1 -0
- package/dist/siemens-ix/p-553ebcb1.entry.js +2 -0
- package/dist/siemens-ix/p-553ebcb1.entry.js.map +1 -0
- package/dist/siemens-ix/p-5650383d.entry.js +2 -0
- package/dist/siemens-ix/p-5650383d.entry.js.map +1 -0
- package/dist/siemens-ix/p-567f71a2.entry.js +2 -0
- package/dist/siemens-ix/p-567f71a2.entry.js.map +1 -0
- package/dist/siemens-ix/p-5d132cc5.entry.js +2 -0
- package/dist/siemens-ix/p-5d132cc5.entry.js.map +1 -0
- package/dist/siemens-ix/p-5e3f8c0b.entry.js +2 -0
- package/dist/siemens-ix/p-5e3f8c0b.entry.js.map +1 -0
- package/dist/siemens-ix/p-61ffc6e1.entry.js +2 -0
- package/dist/siemens-ix/p-61ffc6e1.entry.js.map +1 -0
- package/dist/siemens-ix/p-655d177c.entry.js +2 -0
- package/dist/siemens-ix/p-655d177c.entry.js.map +1 -0
- package/dist/siemens-ix/p-737fca1b.entry.js +2 -0
- package/dist/siemens-ix/p-737fca1b.entry.js.map +1 -0
- package/dist/siemens-ix/p-76a509c7.js +3 -0
- package/dist/siemens-ix/p-76a509c7.js.map +1 -0
- package/dist/siemens-ix/p-7918fd50.entry.js +2 -0
- package/dist/siemens-ix/p-7918fd50.entry.js.map +1 -0
- package/dist/siemens-ix/p-7a884056.entry.js +2 -0
- package/dist/siemens-ix/p-7a884056.entry.js.map +1 -0
- package/dist/siemens-ix/p-7b536489.entry.js +2 -0
- package/dist/siemens-ix/p-7b536489.entry.js.map +1 -0
- package/dist/siemens-ix/p-85f39bd4.js +2 -0
- package/dist/siemens-ix/p-85f39bd4.js.map +1 -0
- package/dist/siemens-ix/p-8c7d1e06.js +2 -0
- package/dist/siemens-ix/p-8e39298f.js +2 -0
- package/dist/siemens-ix/p-8e39298f.js.map +1 -0
- package/dist/siemens-ix/p-94ecb1af.entry.js +2 -0
- package/dist/siemens-ix/p-94ecb1af.entry.js.map +1 -0
- package/dist/siemens-ix/p-9848e4de.entry.js +2 -0
- package/dist/siemens-ix/p-9848e4de.entry.js.map +1 -0
- package/dist/siemens-ix/p-98b03a9b.entry.js +2 -0
- package/dist/siemens-ix/p-98b03a9b.entry.js.map +1 -0
- package/dist/siemens-ix/p-9a05ac00.js +2 -0
- package/dist/siemens-ix/p-9a05ac00.js.map +1 -0
- package/dist/siemens-ix/p-9b6075de.entry.js +2 -0
- package/dist/siemens-ix/p-9b6075de.entry.js.map +1 -0
- package/dist/siemens-ix/p-9c030990.js +2 -0
- package/dist/siemens-ix/p-9c030990.js.map +1 -0
- package/dist/siemens-ix/p-a0fdaa04.entry.js +2 -0
- package/dist/siemens-ix/p-a0fdaa04.entry.js.map +1 -0
- package/dist/siemens-ix/p-a18f1744.entry.js +2 -0
- package/dist/siemens-ix/p-a18f1744.entry.js.map +1 -0
- package/dist/siemens-ix/p-a3d6abfb.entry.js +2 -0
- package/dist/siemens-ix/p-a3d6abfb.entry.js.map +1 -0
- package/dist/siemens-ix/p-a5ae7bfa.entry.js +2 -0
- package/dist/siemens-ix/p-a5ae7bfa.entry.js.map +1 -0
- package/dist/siemens-ix/p-a6345f97.entry.js +2 -0
- package/dist/siemens-ix/p-a6345f97.entry.js.map +1 -0
- package/dist/siemens-ix/p-a8424ce3.entry.js +2 -0
- package/dist/siemens-ix/p-a8424ce3.entry.js.map +1 -0
- package/dist/siemens-ix/p-a85299c6.entry.js +2 -0
- package/dist/siemens-ix/p-a85299c6.entry.js.map +1 -0
- package/dist/siemens-ix/p-ab452b82.js +2 -0
- package/dist/siemens-ix/p-ab452b82.js.map +1 -0
- package/dist/siemens-ix/p-ab4bdb4e.entry.js +2 -0
- package/dist/siemens-ix/p-ab4bdb4e.entry.js.map +1 -0
- package/dist/siemens-ix/p-ac00ae47.entry.js +2 -0
- package/dist/siemens-ix/p-ac00ae47.entry.js.map +1 -0
- package/dist/siemens-ix/p-b007e4b4.entry.js +2 -0
- package/dist/siemens-ix/p-b007e4b4.entry.js.map +1 -0
- package/dist/siemens-ix/p-b0a1930d.entry.js +2 -0
- package/dist/siemens-ix/p-b0a1930d.entry.js.map +1 -0
- package/dist/siemens-ix/p-b25c770f.entry.js +2 -0
- package/dist/siemens-ix/p-b25c770f.entry.js.map +1 -0
- package/dist/siemens-ix/p-b38eff08.entry.js +2 -0
- package/dist/siemens-ix/p-b45ca515.entry.js +2 -0
- package/dist/siemens-ix/p-b45ca515.entry.js.map +1 -0
- package/dist/siemens-ix/p-b735ee5e.entry.js +2 -0
- package/dist/siemens-ix/p-c1ac2d01.entry.js +2 -0
- package/dist/siemens-ix/p-c1ac2d01.entry.js.map +1 -0
- package/dist/siemens-ix/p-c1f5a59a.entry.js +2 -0
- package/dist/siemens-ix/p-c1f5a59a.entry.js.map +1 -0
- package/dist/siemens-ix/p-c75264af.entry.js +2 -0
- package/dist/siemens-ix/p-c75264af.entry.js.map +1 -0
- package/dist/siemens-ix/p-cd0e77f1.entry.js +2 -0
- package/dist/siemens-ix/p-cd0e77f1.entry.js.map +1 -0
- package/dist/siemens-ix/p-cd1e0061.entry.js +2 -0
- package/dist/siemens-ix/p-cd1e0061.entry.js.map +1 -0
- package/dist/siemens-ix/p-ce0a7c1a.entry.js +2 -0
- package/dist/siemens-ix/p-ce0a7c1a.entry.js.map +1 -0
- package/dist/siemens-ix/p-d214f57a.entry.js +2 -0
- package/dist/siemens-ix/p-d214f57a.entry.js.map +1 -0
- package/dist/siemens-ix/p-d29bcf75.entry.js +2 -0
- package/dist/siemens-ix/p-d29bcf75.entry.js.map +1 -0
- package/dist/siemens-ix/p-d87de06f.entry.js +2 -0
- package/dist/siemens-ix/p-d87de06f.entry.js.map +1 -0
- package/dist/siemens-ix/p-da133606.entry.js +2 -0
- package/dist/siemens-ix/p-da133606.entry.js.map +1 -0
- package/dist/siemens-ix/p-db174600.entry.js +2 -0
- package/dist/siemens-ix/p-db2f237f.entry.js +2 -0
- package/dist/siemens-ix/p-db2f237f.entry.js.map +1 -0
- package/dist/siemens-ix/p-dc77f962.entry.js +2 -0
- package/dist/siemens-ix/p-dc77f962.entry.js.map +1 -0
- package/dist/siemens-ix/p-de013166.entry.js +2 -0
- package/dist/siemens-ix/p-de013166.entry.js.map +1 -0
- package/dist/siemens-ix/p-e2c200f3.entry.js +2 -0
- package/dist/siemens-ix/p-e2c200f3.entry.js.map +1 -0
- package/dist/siemens-ix/p-e610b2b8.entry.js +2 -0
- package/dist/siemens-ix/p-e610b2b8.entry.js.map +1 -0
- package/dist/siemens-ix/p-eb29049a.entry.js +2 -0
- package/dist/siemens-ix/p-eb29049a.entry.js.map +1 -0
- package/dist/siemens-ix/p-eb3f1ef6.entry.js +2 -0
- package/dist/siemens-ix/p-eb3f1ef6.entry.js.map +1 -0
- package/dist/siemens-ix/p-ebeef6fd.entry.js +2 -0
- package/dist/siemens-ix/p-ebeef6fd.entry.js.map +1 -0
- package/dist/siemens-ix/p-f71da594.entry.js +2 -0
- package/dist/siemens-ix/p-f71da594.entry.js.map +1 -0
- package/dist/siemens-ix/p-f88b25d7.entry.js +2 -0
- package/dist/siemens-ix/p-f9b004ba.entry.js +2 -0
- package/dist/siemens-ix/p-f9b004ba.entry.js.map +1 -0
- package/dist/siemens-ix/p-f9d4ca13.entry.js +2 -0
- package/dist/siemens-ix/p-f9d4ca13.entry.js.map +1 -0
- package/dist/siemens-ix/p-feb80449.entry.js +2 -0
- package/dist/siemens-ix/p-feb80449.entry.js.map +1 -0
- package/dist/siemens-ix/siemens-ix-core.css +1 -0
- package/dist/siemens-ix/siemens-ix.css +4232 -7647
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
- package/dist/siemens-ix/theme/classic-dark.css +1 -0
- package/dist/siemens-ix/theme/classic-light.css +1 -0
- package/dist/siemens-ix/theme/legacy-classic-dark.css +1 -0
- package/dist/siemens-ix/theme/legacy-classic-light.css +1 -0
- package/dist/types/components/application/application.d.ts +36 -0
- package/dist/types/components/application-header/application-header.d.ts +4 -3
- package/dist/types/components/application-header/test/application-headet.ct.d.ts +1 -0
- package/dist/types/components/application-sidebar/application-sidebar.d.ts +7 -0
- package/dist/types/components/application-sidebar/events.d.ts +4 -0
- package/dist/types/components/avatar/avatar.d.ts +17 -0
- package/dist/types/components/basic-navigation/basic-navigation.d.ts +16 -5
- package/dist/types/components/blind/blind.d.ts +5 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +15 -14
- package/dist/types/components/breadcrumb/test/breadcrumb.ct.d.ts +1 -0
- package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +15 -0
- package/dist/types/components/button/base-button.d.ts +27 -1
- package/dist/types/components/button/button.d.ts +15 -11
- package/dist/types/components/button/test/button.ct.d.ts +1 -0
- package/dist/types/components/category-filter/category-filter.d.ts +12 -5
- package/dist/types/components/col/col.d.ts +31 -0
- package/dist/types/components/content/content.d.ts +7 -0
- package/dist/types/components/content-header/content-header.d.ts +1 -1
- package/dist/types/components/date-time-card/date-time-card.d.ts +0 -1
- package/dist/types/components/drawer/drawer.d.ts +1 -0
- package/dist/types/components/drawer/test/drawer.ct.d.ts +1 -0
- package/dist/types/components/dropdown/dropdown.d.ts +10 -13
- package/dist/types/components/dropdown/placement.d.ts +3 -4
- package/dist/types/components/dropdown-button/dropdown-button.d.ts +10 -1
- package/dist/types/components/dropdown-header/dropdown-header.d.ts +10 -0
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +9 -0
- package/dist/types/components/event-list/event-list.d.ts +3 -1
- package/dist/types/components/event-list-item/event-list-item.d.ts +4 -2
- package/dist/types/components/expanding-search/test/expanding-search.ct.d.ts +1 -0
- package/dist/types/components/filter-chip/filter-chip.d.ts +5 -0
- package/dist/types/components/flip-tile/flip-tile-state.d.ts +5 -5
- package/dist/types/components/flip-tile/flip-tile.d.ts +9 -11
- package/dist/types/components/flip-tile/test/flip-tile.ct.d.ts +1 -0
- package/dist/types/components/flip-tile-content/flip-tile-content.d.ts +6 -0
- package/dist/types/components/form-field/form-field.d.ts +10 -0
- package/dist/types/components/grid/grid.d.ts +18 -0
- package/dist/types/components/group/group-context-menu.d.ts +3 -4
- package/dist/types/components/group/group.d.ts +7 -8
- package/dist/types/components/icon-button/base-icon-button.d.ts +2 -0
- package/dist/types/components/icon-button/icon-button.d.ts +11 -14
- package/dist/types/components/icon-button/test/icon-button.ct.d.ts +1 -0
- package/dist/types/components/icon-toggle-button/icon-toggle-button.d.ts +54 -0
- package/dist/types/components/input-group/input-group.d.ts +11 -1
- package/dist/types/components/link-button/link-button.d.ts +20 -0
- package/dist/types/components/map-navigation/map-navigation.d.ts +4 -1
- package/dist/types/components/menu/burger-menu.d.ts +9 -1
- package/dist/types/components/menu/menu.d.ts +42 -36
- package/dist/types/components/menu/test/menu.ct.d.ts +1 -0
- package/dist/types/components/menu-about/menu-about.d.ts +4 -1
- package/dist/types/components/menu-category/menu-category.d.ts +37 -0
- package/dist/types/components/menu-category/test/menu-category.ct.d.ts +1 -0
- package/dist/types/components/menu-item/menu-item.d.ts +11 -2
- package/dist/types/components/menu-settings/menu-settings.d.ts +4 -1
- package/dist/types/components/modal/modal.d.ts +35 -66
- package/dist/types/components/modal-content/modal-content.d.ts +6 -0
- package/dist/types/components/modal-footer/modal-footer.d.ts +6 -0
- package/dist/types/components/modal-header/modal-header.d.ts +28 -0
- package/dist/types/components/modal-loading/modal-loading.d.ts +6 -0
- package/dist/types/components/pagination/pagination.d.ts +1 -1
- package/dist/types/components/row/row.d.ts +6 -0
- package/dist/types/components/select/select.d.ts +32 -8
- package/dist/types/components/select/test/select.ct.d.ts +1 -0
- package/dist/types/components/spinner/spinner.d.ts +7 -2
- package/dist/types/components/split-button/split-button.d.ts +3 -9
- package/dist/types/components/tab-item/tab-item.d.ts +10 -0
- package/dist/types/components/tabs/tabs.d.ts +8 -0
- package/dist/types/components/tabs/test/tabs.ct.d.ts +1 -0
- package/dist/types/components/tile/tile.d.ts +5 -0
- package/dist/types/components/time-picker/time-picker.d.ts +0 -1
- package/dist/types/components/toast/toast-container.d.ts +0 -1
- package/dist/types/components/toast/toast.d.ts +1 -1
- package/dist/types/components/toggle/test/toggle.ct.d.ts +1 -0
- package/dist/types/components/toggle/toggle.d.ts +3 -10
- package/dist/types/components/toggle-button/toggle-button.d.ts +48 -0
- package/dist/types/components/tree/test/tree.ct.d.ts +1 -0
- package/dist/types/components/tree/tree.d.ts +2 -1
- package/dist/types/components/typography/typography.d.ts +24 -1
- package/dist/types/components/utils/a11y.d.ts +7 -0
- package/dist/types/components/utils/application-layout/context.d.ts +6 -0
- package/dist/types/components/utils/application-layout/index.d.ts +1 -0
- package/dist/types/components/utils/application-layout/service.d.ts +16 -0
- package/dist/types/components/utils/breakpoints.d.ts +8 -0
- package/dist/types/components/utils/context.d.ts +57 -0
- package/dist/types/components/utils/delegate.d.ts +15 -0
- package/dist/types/components/utils/menu-service/menu-service.d.ts +3 -0
- package/dist/types/components/utils/modal/index.d.ts +3 -0
- package/dist/types/components/utils/modal/loading.d.ts +4 -0
- package/dist/types/components/utils/modal/message.d.ts +41 -0
- package/dist/types/components/utils/modal/modal.d.ts +25 -0
- package/dist/types/components/utils/shadow-dom.d.ts +3 -0
- package/dist/types/components/utils/theme-switcher.d.ts +10 -3
- package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +9 -3
- package/dist/types/components/workflow-step/workflow-step.d.ts +2 -3
- package/dist/types/components/workflow-steps/test/workflow-steps.ct.d.ts +1 -0
- package/dist/types/components/workflow-steps/workflow-steps.d.ts +1 -6
- package/dist/types/components.d.ts +995 -405
- package/dist/types/index.d.ts +2 -1
- package/package.json +13 -10
- package/scss/_core.scss +66 -0
- package/scss/components/_checkboxes.scss +9 -3
- package/scss/components/_fonts.scss +131 -0
- package/scss/components/_links.scss +24 -0
- package/scss/components/_table.scss +1 -1
- package/scss/components/form/_input.scss +155 -0
- package/scss/ix-core.scss +11 -0
- package/scss/ix.scss +3 -74
- package/scss/legacy/_fonts.scss +70 -0
- package/scss/legacy/components/_buttons.scss +181 -0
- package/scss/legacy/components/_dropdown.scss +170 -0
- package/scss/legacy/components/_forms.scss +167 -0
- package/scss/legacy/components/_modal.scss +41 -0
- package/scss/legacy/mixins/_fonts.scss +166 -0
- package/scss/mixins/_break-points.scss +25 -0
- package/scss/mixins/_fonts.scss +149 -105
- package/scss/mixins/_hover.scss +35 -1
- package/scss/mixins/_scrollbar.scss +44 -0
- package/scss/mixins/shadow-dom/_component.scss +4 -0
- package/scss/mixins/shadow-dom/_host-disabled.scss +14 -0
- package/scss/mixins/shadow-dom/_hover.scss +26 -0
- package/scss/theme/classic-dark/_borderRadius.scss +5 -5
- package/scss/theme/classic-dark/_borderWidth.scss +5 -5
- package/scss/theme/classic-dark/_boxShadow.scss +7 -7
- package/scss/theme/classic-dark/_color.scss +423 -418
- package/scss/theme/classic-dark/_fontFamilies.scss +2 -1
- package/scss/theme/classic-dark/_fontSizes.scss +11 -0
- package/scss/theme/classic-dark/_fontWeights.scss +2 -1
- package/scss/theme/classic-dark/_index.scss +7 -0
- package/scss/theme/classic-dark/_letterSpacing.scss +13 -0
- package/scss/theme/classic-dark/_lineHeights.scss +4 -1
- package/scss/theme/classic-dark/_other.scss +4 -4
- package/scss/theme/classic-dark/_sizing.scss +13 -1
- package/scss/theme/classic-dark/_spacing.scss +12 -0
- package/scss/theme/classic-dark/_typography.scss +39 -16
- package/scss/theme/classic-light/_borderRadius.scss +4 -4
- package/scss/theme/classic-light/_borderWidth.scss +5 -5
- package/scss/theme/classic-light/_boxShadow.scss +7 -7
- package/scss/theme/classic-light/_color.scss +420 -415
- package/scss/theme/classic-light/_fontFamilies.scss +2 -1
- package/scss/theme/classic-light/_fontSizes.scss +11 -0
- package/scss/theme/classic-light/_fontWeights.scss +2 -1
- package/scss/theme/classic-light/_index.scss +7 -0
- package/scss/theme/classic-light/_letterSpacing.scss +13 -0
- package/scss/theme/classic-light/_lineHeights.scss +4 -1
- package/scss/theme/classic-light/_other.scss +4 -4
- package/scss/theme/classic-light/_sizing.scss +13 -1
- package/scss/theme/classic-light/_spacing.scss +12 -0
- package/scss/theme/classic-light/_typography.scss +39 -16
- package/scss/theme/legacy-classic-dark/_border.scss +35 -0
- package/scss/theme/legacy-classic-dark/_borderRadius.scss +24 -0
- package/scss/theme/legacy-classic-dark/_borderWidth.scss +18 -0
- package/scss/theme/legacy-classic-dark/_boxShadow.scss +19 -0
- package/scss/theme/legacy-classic-dark/_color.scss +864 -0
- package/scss/theme/legacy-classic-dark/_fontFamilies.scss +9 -0
- package/scss/theme/legacy-classic-dark/_fontSizes.scss +24 -0
- package/scss/theme/legacy-classic-dark/_fontWeights.scss +10 -0
- package/scss/theme/legacy-classic-dark/_index.scss +23 -0
- package/scss/theme/legacy-classic-dark/_letterSpacing.scss +13 -0
- package/scss/theme/legacy-classic-dark/_lineHeights.scss +21 -0
- package/scss/theme/legacy-classic-dark/_other.scss +16 -0
- package/scss/theme/legacy-classic-dark/_sizing.scss +28 -0
- package/scss/theme/legacy-classic-dark/_spacing.scss +21 -0
- package/scss/theme/legacy-classic-dark/_typography.scss +46 -0
- package/scss/theme/legacy-classic-light/_border.scss +35 -0
- package/scss/theme/legacy-classic-light/_borderRadius.scss +24 -0
- package/scss/theme/legacy-classic-light/_borderWidth.scss +18 -0
- package/scss/theme/legacy-classic-light/_boxShadow.scss +19 -0
- package/scss/theme/legacy-classic-light/_color.scss +864 -0
- package/scss/theme/legacy-classic-light/_fontFamilies.scss +9 -0
- package/scss/theme/legacy-classic-light/_fontSizes.scss +24 -0
- package/scss/theme/legacy-classic-light/_fontWeights.scss +10 -0
- package/scss/theme/legacy-classic-light/_index.scss +23 -0
- package/scss/theme/legacy-classic-light/_letterSpacing.scss +13 -0
- package/scss/theme/legacy-classic-light/_lineHeights.scss +21 -0
- package/scss/theme/legacy-classic-light/_other.scss +16 -0
- package/scss/theme/legacy-classic-light/_sizing.scss +28 -0
- package/scss/theme/legacy-classic-light/_spacing.scss +21 -0
- package/scss/theme/legacy-classic-light/_typography.scss +46 -0
- package/dist/cjs/base-button-497db257.js +0 -35
- package/dist/cjs/base-button-497db257.js.map +0 -1
- package/dist/cjs/context-a0900b95.js +0 -77
- package/dist/cjs/context-a0900b95.js.map +0 -1
- package/dist/cjs/flip-tile-state-b5ff5ea0.js +0 -20
- package/dist/cjs/flip-tile-state-b5ff5ea0.js.map +0 -1
- package/dist/cjs/floating-ui.dom.esm-01fe5abe.js +0 -1502
- package/dist/cjs/floating-ui.dom.esm-01fe5abe.js.map +0 -1
- package/dist/cjs/icon-4c954853.js +0 -114
- package/dist/cjs/icon-4c954853.js.map +0 -1
- package/dist/cjs/index-c978628a.js +0 -2584
- package/dist/cjs/index-c978628a.js.map +0 -1
- package/dist/cjs/ix-animated-tab_2.cjs.entry.js +0 -214
- package/dist/cjs/ix-animated-tab_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-card_3.cjs.entry.js +0 -74
- package/dist/cjs/ix-card_3.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-counter-pill.cjs.entry.js +0 -35
- package/dist/cjs/ix-counter-pill.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-group_3.cjs.entry.js +0 -181
- package/dist/cjs/ix-group_3.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-index-button.cjs.entry.js +0 -28
- package/dist/cjs/ix-index-button.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-modal_2.cjs.entry.js +0 -227
- package/dist/cjs/ix-modal_2.cjs.entry.js.map +0 -1
- package/dist/cjs/modal-utils-b645989b.js +0 -44
- package/dist/cjs/modal-utils-b645989b.js.map +0 -1
- package/dist/cjs/service-18dc5907.js +0 -75
- package/dist/cjs/service-18dc5907.js.map +0 -1
- package/dist/cjs/theme-switcher-bdbd0d30.js +0 -94
- package/dist/cjs/theme-switcher-bdbd0d30.js.map +0 -1
- package/dist/collection/components/animated-tab/animated-tab.css +0 -14
- package/dist/collection/components/animated-tab/animated-tab.js +0 -69
- package/dist/collection/components/animated-tab/animated-tab.js.map +0 -1
- package/dist/collection/components/animated-tabs/animated-tabs.css +0 -158
- package/dist/collection/components/animated-tabs/animated-tabs.js +0 -303
- package/dist/collection/components/animated-tabs/animated-tabs.js.map +0 -1
- package/dist/collection/components/counter-pill/counter-pill.css +0 -323
- package/dist/collection/components/counter-pill/counter-pill.js +0 -135
- package/dist/collection/components/counter-pill/counter-pill.js.map +0 -1
- package/dist/collection/components/dropdown/alignment.js +0 -10
- package/dist/collection/components/dropdown/alignment.js.map +0 -1
- package/dist/collection/components/group-dropdown-item/group-dropdown-item.css +0 -11
- package/dist/collection/components/group-dropdown-item/group-dropdown-item.js +0 -69
- package/dist/collection/components/group-dropdown-item/group-dropdown-item.js.map +0 -1
- package/dist/collection/components/index-button/index-button.css +0 -31
- package/dist/collection/components/index-button/index-button.js +0 -83
- package/dist/collection/components/index-button/index-button.js.map +0 -1
- package/dist/collection/components/layout/css-grid/builder.js.map +0 -1
- package/dist/collection/components/layout/css-grid/css-grid-item.js.map +0 -1
- package/dist/collection/components/layout/css-grid/css-grid.js +0 -123
- package/dist/collection/components/layout/css-grid/css-grid.js.map +0 -1
- package/dist/collection/components/modal/modal-utils.js +0 -37
- package/dist/collection/components/modal/modal-utils.js.map +0 -1
- package/dist/collection/components/modal-container/modal-container.css +0 -14
- package/dist/collection/components/modal-container/modal-container.js +0 -126
- package/dist/collection/components/modal-container/modal-container.js.map +0 -1
- package/dist/collection/components/utils/screen/context.js +0 -30
- package/dist/collection/components/utils/screen/context.js.map +0 -1
- package/dist/collection/components/utils/screen/index.js +0 -10
- package/dist/collection/components/utils/screen/index.js.map +0 -1
- package/dist/collection/components/utils/screen/mode.js +0 -37
- package/dist/collection/components/utils/screen/mode.js.map +0 -1
- package/dist/collection/components/utils/screen/service.js +0 -46
- package/dist/collection/components/utils/screen/service.js.map +0 -1
- package/dist/components/index-button.js +0 -41
- package/dist/components/index-button.js.map +0 -1
- package/dist/components/ix-animated-tab.d.ts +0 -11
- package/dist/components/ix-animated-tab.js +0 -39
- package/dist/components/ix-animated-tab.js.map +0 -1
- package/dist/components/ix-animated-tabs.d.ts +0 -11
- package/dist/components/ix-animated-tabs.js +0 -224
- package/dist/components/ix-animated-tabs.js.map +0 -1
- package/dist/components/ix-counter-pill.d.ts +0 -11
- package/dist/components/ix-counter-pill.js +0 -54
- package/dist/components/ix-counter-pill.js.map +0 -1
- package/dist/components/ix-group-dropdown-item.d.ts +0 -11
- package/dist/components/ix-group-dropdown-item.js +0 -51
- package/dist/components/ix-group-dropdown-item.js.map +0 -1
- package/dist/components/ix-index-button.d.ts +0 -11
- package/dist/components/ix-index-button.js +0 -8
- package/dist/components/ix-index-button.js.map +0 -1
- package/dist/components/ix-modal-container.d.ts +0 -11
- package/dist/components/ix-modal-container.js +0 -8
- package/dist/components/ix-modal-container.js.map +0 -1
- package/dist/components/modal-container.js +0 -109
- package/dist/components/modal-container.js.map +0 -1
- package/dist/components/modal-utils.js +0 -40
- package/dist/components/modal-utils.js.map +0 -1
- package/dist/components/service.js +0 -141
- package/dist/components/service.js.map +0 -1
- package/dist/esm/base-button-5bfeb71c.js +0 -33
- package/dist/esm/base-button-5bfeb71c.js.map +0 -1
- package/dist/esm/context-f6a2b727.js +0 -73
- package/dist/esm/context-f6a2b727.js.map +0 -1
- package/dist/esm/flip-tile-state-051bb2fd.js +0 -20
- package/dist/esm/flip-tile-state-051bb2fd.js.map +0 -1
- package/dist/esm/floating-ui.dom.esm-3130eda0.js +0 -1493
- package/dist/esm/floating-ui.dom.esm-3130eda0.js.map +0 -1
- package/dist/esm/icon-c659fc0f.js +0 -112
- package/dist/esm/icon-c659fc0f.js.map +0 -1
- package/dist/esm/index-8ddfb6d8.js +0 -2553
- package/dist/esm/index-8ddfb6d8.js.map +0 -1
- package/dist/esm/ix-animated-tab_2.entry.js +0 -209
- package/dist/esm/ix-animated-tab_2.entry.js.map +0 -1
- package/dist/esm/ix-card_3.entry.js +0 -68
- package/dist/esm/ix-card_3.entry.js.map +0 -1
- package/dist/esm/ix-counter-pill.entry.js +0 -31
- package/dist/esm/ix-counter-pill.entry.js.map +0 -1
- package/dist/esm/ix-group_3.entry.js +0 -175
- package/dist/esm/ix-group_3.entry.js.map +0 -1
- package/dist/esm/ix-index-button.entry.js +0 -24
- package/dist/esm/ix-index-button.entry.js.map +0 -1
- package/dist/esm/ix-modal_2.entry.js +0 -222
- package/dist/esm/ix-modal_2.entry.js.map +0 -1
- package/dist/esm/modal-utils-aecbcba5.js +0 -40
- package/dist/esm/modal-utils-aecbcba5.js.map +0 -1
- package/dist/esm/service-fc436c5b.js +0 -73
- package/dist/esm/service-fc436c5b.js.map +0 -1
- package/dist/esm/theme-switcher-7498e4f2.js +0 -91
- package/dist/esm/theme-switcher-7498e4f2.js.map +0 -1
- package/dist/siemens-ix/p-003e9355.entry.js +0 -2
- package/dist/siemens-ix/p-07c932da.entry.js +0 -2
- package/dist/siemens-ix/p-07c932da.entry.js.map +0 -1
- package/dist/siemens-ix/p-0899258a.entry.js +0 -2
- package/dist/siemens-ix/p-0899258a.entry.js.map +0 -1
- package/dist/siemens-ix/p-1331a920.entry.js +0 -2
- package/dist/siemens-ix/p-1331a920.entry.js.map +0 -1
- package/dist/siemens-ix/p-13bda5ea.entry.js +0 -2
- package/dist/siemens-ix/p-1572aab3.js +0 -2
- package/dist/siemens-ix/p-1572aab3.js.map +0 -1
- package/dist/siemens-ix/p-15bebd8a.js +0 -2
- package/dist/siemens-ix/p-15bebd8a.js.map +0 -1
- package/dist/siemens-ix/p-1c64b073.js +0 -3
- package/dist/siemens-ix/p-1c64b073.js.map +0 -1
- package/dist/siemens-ix/p-1e8ee4af.entry.js +0 -2
- package/dist/siemens-ix/p-3172249b.entry.js +0 -2
- package/dist/siemens-ix/p-3172249b.entry.js.map +0 -1
- package/dist/siemens-ix/p-323d5529.js +0 -2
- package/dist/siemens-ix/p-323d5529.js.map +0 -1
- package/dist/siemens-ix/p-3ddf017b.entry.js +0 -2
- package/dist/siemens-ix/p-3ec2368b.entry.js +0 -2
- package/dist/siemens-ix/p-3ec2368b.entry.js.map +0 -1
- package/dist/siemens-ix/p-3f4a9e1f.entry.js +0 -2
- package/dist/siemens-ix/p-3f4a9e1f.entry.js.map +0 -1
- package/dist/siemens-ix/p-40982e21.entry.js +0 -2
- package/dist/siemens-ix/p-40982e21.entry.js.map +0 -1
- package/dist/siemens-ix/p-4597dd77.entry.js +0 -2
- package/dist/siemens-ix/p-4597dd77.entry.js.map +0 -1
- package/dist/siemens-ix/p-46ced516.entry.js +0 -2
- package/dist/siemens-ix/p-46ced516.entry.js.map +0 -1
- package/dist/siemens-ix/p-47422d47.entry.js +0 -2
- package/dist/siemens-ix/p-47422d47.entry.js.map +0 -1
- package/dist/siemens-ix/p-4851ea38.entry.js +0 -2
- package/dist/siemens-ix/p-4851ea38.entry.js.map +0 -1
- package/dist/siemens-ix/p-4e851aa3.entry.js +0 -2
- package/dist/siemens-ix/p-4e851aa3.entry.js.map +0 -1
- package/dist/siemens-ix/p-51c81a20.entry.js +0 -2
- package/dist/siemens-ix/p-51c81a20.entry.js.map +0 -1
- package/dist/siemens-ix/p-529d7530.js +0 -2
- package/dist/siemens-ix/p-529d7530.js.map +0 -1
- package/dist/siemens-ix/p-55b54a81.entry.js +0 -2
- package/dist/siemens-ix/p-55b54a81.entry.js.map +0 -1
- package/dist/siemens-ix/p-5b39e04e.js +0 -2
- package/dist/siemens-ix/p-5b39e04e.js.map +0 -1
- package/dist/siemens-ix/p-6124d173.entry.js +0 -2
- package/dist/siemens-ix/p-6124d173.entry.js.map +0 -1
- package/dist/siemens-ix/p-626fbee2.entry.js +0 -2
- package/dist/siemens-ix/p-626fbee2.entry.js.map +0 -1
- package/dist/siemens-ix/p-652ba2c1.entry.js +0 -2
- package/dist/siemens-ix/p-652ba2c1.entry.js.map +0 -1
- package/dist/siemens-ix/p-67be3720.entry.js +0 -2
- package/dist/siemens-ix/p-67be3720.entry.js.map +0 -1
- package/dist/siemens-ix/p-6acce5c9.entry.js +0 -2
- package/dist/siemens-ix/p-6c033b08.entry.js +0 -2
- package/dist/siemens-ix/p-6c033b08.entry.js.map +0 -1
- package/dist/siemens-ix/p-821ca55e.entry.js +0 -2
- package/dist/siemens-ix/p-821ca55e.entry.js.map +0 -1
- package/dist/siemens-ix/p-85f01dba.entry.js +0 -2
- package/dist/siemens-ix/p-85f01dba.entry.js.map +0 -1
- package/dist/siemens-ix/p-8719eeff.entry.js +0 -2
- package/dist/siemens-ix/p-8719eeff.entry.js.map +0 -1
- package/dist/siemens-ix/p-905977c4.entry.js +0 -2
- package/dist/siemens-ix/p-905977c4.entry.js.map +0 -1
- package/dist/siemens-ix/p-94ab7c1c.entry.js +0 -2
- package/dist/siemens-ix/p-94ab7c1c.entry.js.map +0 -1
- package/dist/siemens-ix/p-9a82921b.entry.js +0 -2
- package/dist/siemens-ix/p-9a82921b.entry.js.map +0 -1
- package/dist/siemens-ix/p-a08e1bbc.entry.js +0 -2
- package/dist/siemens-ix/p-a08e1bbc.entry.js.map +0 -1
- package/dist/siemens-ix/p-a422c64a.entry.js +0 -2
- package/dist/siemens-ix/p-a422c64a.entry.js.map +0 -1
- package/dist/siemens-ix/p-a7212f01.entry.js +0 -2
- package/dist/siemens-ix/p-a7212f01.entry.js.map +0 -1
- package/dist/siemens-ix/p-a73580a5.entry.js +0 -2
- package/dist/siemens-ix/p-a73580a5.entry.js.map +0 -1
- package/dist/siemens-ix/p-a89a1fa5.entry.js +0 -2
- package/dist/siemens-ix/p-a89a1fa5.entry.js.map +0 -1
- package/dist/siemens-ix/p-b14308ed.js +0 -2
- package/dist/siemens-ix/p-b14308ed.js.map +0 -1
- package/dist/siemens-ix/p-b1db27a3.js +0 -2
- package/dist/siemens-ix/p-b5c40bb3.entry.js +0 -2
- package/dist/siemens-ix/p-b5c40bb3.entry.js.map +0 -1
- package/dist/siemens-ix/p-b60bd26c.entry.js +0 -2
- package/dist/siemens-ix/p-b60bd26c.entry.js.map +0 -1
- package/dist/siemens-ix/p-bd24f35f.entry.js +0 -2
- package/dist/siemens-ix/p-c7109071.entry.js +0 -2
- package/dist/siemens-ix/p-c7109071.entry.js.map +0 -1
- package/dist/siemens-ix/p-c724bb65.entry.js +0 -2
- package/dist/siemens-ix/p-c724bb65.entry.js.map +0 -1
- package/dist/siemens-ix/p-ca4d28fb.entry.js +0 -2
- package/dist/siemens-ix/p-ca4d28fb.entry.js.map +0 -1
- package/dist/siemens-ix/p-cd3cfc78.entry.js +0 -2
- package/dist/siemens-ix/p-cd3cfc78.entry.js.map +0 -1
- package/dist/siemens-ix/p-cd4e3593.entry.js +0 -2
- package/dist/siemens-ix/p-cd4e3593.entry.js.map +0 -1
- package/dist/siemens-ix/p-cd75b455.entry.js +0 -2
- package/dist/siemens-ix/p-cd75b455.entry.js.map +0 -1
- package/dist/siemens-ix/p-cf2717c1.entry.js +0 -2
- package/dist/siemens-ix/p-cf2717c1.entry.js.map +0 -1
- package/dist/siemens-ix/p-d2225fc2.entry.js +0 -2
- package/dist/siemens-ix/p-d2225fc2.entry.js.map +0 -1
- package/dist/siemens-ix/p-d5302336.entry.js +0 -2
- package/dist/siemens-ix/p-d5302336.entry.js.map +0 -1
- package/dist/siemens-ix/p-d784a04b.entry.js +0 -2
- package/dist/siemens-ix/p-d784a04b.entry.js.map +0 -1
- package/dist/siemens-ix/p-d7e23a1f.entry.js +0 -2
- package/dist/siemens-ix/p-d7e23a1f.entry.js.map +0 -1
- package/dist/siemens-ix/p-d848739e.entry.js +0 -2
- package/dist/siemens-ix/p-d848739e.entry.js.map +0 -1
- package/dist/siemens-ix/p-dbcec49e.entry.js +0 -2
- package/dist/siemens-ix/p-dbcec49e.entry.js.map +0 -1
- package/dist/siemens-ix/p-dc98d3f4.entry.js +0 -2
- package/dist/siemens-ix/p-dc98d3f4.entry.js.map +0 -1
- package/dist/siemens-ix/p-df138b2a.entry.js +0 -2
- package/dist/siemens-ix/p-df138b2a.entry.js.map +0 -1
- package/dist/siemens-ix/p-eccc2475.entry.js +0 -2
- package/dist/siemens-ix/p-eccc2475.entry.js.map +0 -1
- package/dist/siemens-ix/p-ecd1145b.entry.js +0 -2
- package/dist/siemens-ix/p-ecd1145b.entry.js.map +0 -1
- package/dist/siemens-ix/p-f207e578.entry.js +0 -2
- package/dist/siemens-ix/p-f207e578.entry.js.map +0 -1
- package/dist/siemens-ix/p-f34a16c6.js +0 -2
- package/dist/siemens-ix/p-f34a16c6.js.map +0 -1
- package/dist/siemens-ix/p-f48b706b.entry.js +0 -2
- package/dist/siemens-ix/p-f48b706b.entry.js.map +0 -1
- package/dist/siemens-ix/p-f50697b9.entry.js +0 -2
- package/dist/siemens-ix/p-f50697b9.entry.js.map +0 -1
- package/dist/siemens-ix/p-f6ae45fb.entry.js +0 -2
- package/dist/siemens-ix/p-f6ae45fb.entry.js.map +0 -1
- package/dist/siemens-ix/p-f74c7692.entry.js +0 -2
- package/dist/siemens-ix/p-f74c7692.entry.js.map +0 -1
- package/dist/siemens-ix/p-feb8c2c4.entry.js +0 -2
- package/dist/siemens-ix/p-feb8c2c4.entry.js.map +0 -1
- package/dist/types/components/animated-tab/animated-tab.d.ts +0 -11
- package/dist/types/components/animated-tabs/animated-tabs.d.ts +0 -44
- package/dist/types/components/counter-pill/counter-pill.d.ts +0 -24
- package/dist/types/components/dropdown/alignment.d.ts +0 -2
- package/dist/types/components/group-dropdown-item/group-dropdown-item.d.ts +0 -11
- package/dist/types/components/index-button/index-button.d.ts +0 -16
- package/dist/types/components/modal/modal-utils.d.ts +0 -29
- package/dist/types/components/modal-container/modal-container.d.ts +0 -12
- package/dist/types/components/utils/screen/context.d.ts +0 -4
- package/dist/types/components/utils/screen/index.d.ts +0 -1
- package/dist/types/components/utils/screen/mode.d.ts +0 -10
- package/dist/types/components/utils/screen/service.d.ts +0 -10
- package/scss/_fonts.scss +0 -70
- package/scss/components/_buttons.scss +0 -175
- package/scss/components/_dropdown.scss +0 -169
- package/scss/components/_forms.scss +0 -161
- package/scss/components/_modal.scss +0 -41
- /package/dist/collection/components/{layout/css-grid → css-grid}/builder.js +0 -0
- /package/dist/collection/components/{layout/css-grid → css-grid}/css-grid-item.css +0 -0
- /package/dist/collection/components/{layout/css-grid → css-grid}/css-grid-item.js +0 -0
- /package/dist/collection/components/{layout/css-grid → css-grid}/css-grid.css +0 -0
- /package/dist/siemens-ix/{p-13bda5ea.entry.js.map → p-4659c550.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6acce5c9.entry.js.map → p-4dbae019.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b1db27a3.js.map → p-8c7d1e06.js.map} +0 -0
- /package/dist/siemens-ix/{p-1e8ee4af.entry.js.map → p-b38eff08.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-bd24f35f.entry.js.map → p-b735ee5e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3ddf017b.entry.js.map → p-db174600.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-003e9355.entry.js.map → p-f88b25d7.entry.js.map} +0 -0
- /package/dist/types/components/{layout/css-grid → css-grid}/builder.d.ts +0 -0
- /package/dist/types/components/{layout/css-grid → css-grid}/css-grid-item.d.ts +0 -0
- /package/dist/types/components/{layout/css-grid → css-grid}/css-grid.d.ts +0 -0
- /package/scss/{components → legacy/components}/_button-group.scss +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"ix-filter-chip.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,aAAa,GAAG,
|
|
1
|
+
{"file":"ix-filter-chip.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,aAAa,GAAG,8qEAA8qE;;MCwBvrE,UAAU;;;;oBAMF,KAAK;oBAML,KAAK;;EAOhB,YAAY,CAAC,KAAY;IAC/B,KAAK,CAAC,cAAc,EAAE,CAAC;IACvB,KAAK,CAAC,eAAe,EAAE,CAAC;IACxB,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;GACxB;EAED,MAAM;IACJ,QACEA,QAACC,UAAI,IACH,KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,EAC3D,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC,WAAW,IAE1BD,iBAAK,KAAK,EAAC,gBAAgB,IACzBA,qBAAa,CACT,EACL,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ,IAC/BA,4BACE,KAAK,QACL,IAAI,QACJ,IAAI,EAAC,aAAa,EAClB,IAAI,EAAC,IAAI,EACT,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,GAAG,CAAC,EAChC,OAAO,EAAC,SAAS,EACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,GACpB,IAChB,IAAI,CACH,EACP;GACH;;;;;;;","names":["h","Host"],"sources":["./src/components/filter-chip/filter-chip.scss?tag=ix-filter-chip&encapsulation=shadow","./src/components/filter-chip/filter-chip.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: inline-flex;\n align-items: center;\n justify-content: space-between;\n height: $large-space;\n padding-left: $small-space;\n border: var(--theme-focus--border-thickness) solid\n var(--theme-chip-primary-outline--border-color);\n border-radius: $x-large-space;\n background-color: var(--theme-color-ghost);\n color: var(--theme-chip-primary-outline--color);\n\n .slot-container {\n @include ellipsis;\n\n :host-context(.disabled) {\n background-color: var(--theme-color-ghost);\n border-color: var(--theme-color-component-4);\n color: var(--theme-color-weak-text);\n }\n }\n\n ix-icon-button {\n height: $large-space;\n margin-left: 0.25rem;\n\n @include focus-visible {\n outline: none;\n }\n }\n}\n\n:host(.disabled) {\n border: var(--theme-focus--border-thickness) solid\n var(--theme-color-component-4);\n color: var(--theme-color-weak-text);\n padding-right: $small-space;\n\n cursor: default;\n}\n\n:host(.readonly) {\n padding-right: $small-space;\n}\n\n@include host-hover {\n background-color: var(--theme-color-ghost-primary--hover);\n border-color: var(--theme-chip-primary-outline--border-color--hover);\n color: var(--theme-chip-primary-outline--color--hover);\n}\n\n@include host-active {\n background-color: var(--theme-color-ghost-primary--active);\n border-color: var(--theme-chip-primary-outline--border-color--active);\n color: var(--theme-chip-primary-outline--color--active);\n}\n\n@include host-focus-visible {\n outline: var(--theme-color-focus-bdr) solid\n var(--theme-focus--border-thickness);\n outline-offset: -0.125rem;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'ix-filter-chip',\n styleUrl: 'filter-chip.scss',\n shadow: true,\n})\nexport class FilterChip {\n @Element() el: HTMLIxFilterChipElement;\n\n /**\n * If true the filter chip will be in disabled state\n */\n @Prop() disabled = false;\n\n /**\n * If true the filter chip will be in readonly mode\n * @since 2.0.0\n */\n @Prop() readonly = false;\n\n /**\n * Close clicked\n */\n @Event() closeClick: EventEmitter<void>;\n\n private onCloseClick(event: Event) {\n event.preventDefault();\n event.stopPropagation();\n this.closeClick.emit();\n }\n\n render() {\n return (\n <Host\n class={{ disabled: this.disabled, readonly: this.readonly }}\n title={this.el.textContent}\n >\n <div class=\"slot-container\">\n <slot></slot>\n </div>\n {!this.disabled && !this.readonly ? (\n <ix-icon-button\n ghost\n oval\n icon=\"close-small\"\n size=\"16\"\n tabindex={this.disabled ? -1 : 0}\n variant=\"primary\"\n disabled={this.disabled}\n onClick={(e) => this.onCloseClick(e)}\n ></ix-icon-button>\n ) : null}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -2,48 +2,57 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const
|
|
5
|
+
const index = require('./index-be499a74.js');
|
|
6
|
+
const mutationObserver = require('./mutation-observer-eaaa5399.js');
|
|
7
|
+
const flipTileState = require('./flip-tile-state-183236a1.js');
|
|
7
8
|
|
|
8
|
-
const flipTileCss = "@keyframes flip-animation{0%{transform:rotateY(0)}50%{transform:rotateY(90deg)}51%{transform:rotateY(270deg)}100%{transform:rotateY(360deg)}}
|
|
9
|
+
const flipTileCss = ".text-xs{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.625rem;font-weight:400;line-height:1.4em;color:var(--theme-color-std-text)}.text-s{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1em;color:var(--theme-color-std-text)}.text-default{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.143em;color:var(--theme-color-std-text)}.text-default-title{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-title-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.143em;color:var(--theme-color-std-text)}.text-l{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.25em;color:var(--theme-color-std-text)}.text-l-title{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-title-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.25em;color:var(--theme-color-std-text)}.text-h2{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:700;line-height:1.455em;color:var(--theme-color-std-text)}.text-xl{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:400;line-height:1.091em;color:var(--theme-color-std-text)}a{color:var(--theme-color-primary)}@keyframes flip-animation{0%{transform:rotateY(0)}50%{transform:rotateY(90deg)}51%{transform:rotateY(270deg)}100%{transform:rotateY(360deg)}}:host{display:flex;flex-direction:column;perspective:1000px}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .flip-tile-header{display:flex;align-items:center;height:2.5rem;padding:0 0.5rem 0 1rem}:host .flip-tile-header .header-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1;min-width:0}:host .content-container{flex-grow:1;margin:1rem}:host .flip-tile-container{display:flex;flex-direction:column;height:100%;background-color:var(--theme-blind-base--background);border:solid 1px var(--theme-blind-base--border-color);border-radius:var(--theme-flip-tile--border-radius) var(--theme-flip-tile--border-radius) 0 0;transform-style:preserve-3d}:host .flip-tile-container.flip-animation-active{animation:flip-animation 300ms, ease-in-out}:host .flip-tile-container .footer{display:flex;height:3rem;align-items:center;justify-content:center;padding:0 0.5rem;color:var(--theme-flip-footer--color);background-color:var(--theme-blind-base--background)}:host .flip-tile-container .footer :first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:100%}:host .flip-tile-container ::slotted(*){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-direction:column;align-items:center;min-width:0}:host .flip-tile-container.primary{border-color:var(--theme-color-primary)}:host .flip-tile-container.primary .footer{background-color:var(--theme-color-primary);color:var(--theme-color-primary--contrast)}:host .flip-tile-container.info{border-color:var(--theme-color-info)}:host .flip-tile-container.info .footer{background-color:var(--theme-color-info);color:var(--theme-color-info--contrast)}:host .flip-tile-container.warning{border-color:var(--theme-color-warning)}:host .flip-tile-container.warning .footer{background-color:var(--theme-color-warning);color:var(--theme-color-warning--contrast)}:host .flip-tile-container.alarm{border-color:var(--theme-color-alarm)}:host .flip-tile-container.alarm .footer{background-color:var(--theme-color-alarm);color:var(--theme-color-alarm--contrast)}:host:hover .flip-tile-container .footer ix-icon{color:var(--theme-color-std-text)}";
|
|
9
10
|
|
|
10
11
|
const FlipTile = class {
|
|
11
12
|
constructor(hostRef) {
|
|
12
13
|
index.registerInstance(this, hostRef);
|
|
13
14
|
this.ANIMATION_DURATION = 150;
|
|
14
|
-
this.index = 0;
|
|
15
|
-
this.isFlipAnimationActive = undefined;
|
|
16
15
|
this.state = undefined;
|
|
17
|
-
this.footer = undefined;
|
|
18
16
|
this.height = 15.125;
|
|
19
17
|
this.width = 16;
|
|
18
|
+
this.index = 0;
|
|
19
|
+
this.isFlipAnimationActive = undefined;
|
|
20
20
|
}
|
|
21
21
|
componentDidLoad() {
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
24
|
-
|
|
25
|
-
this.toggleContentItem(index);
|
|
26
|
-
}
|
|
22
|
+
this.observer = mutationObserver.createMutationObserver(() => this.updateContentItems());
|
|
23
|
+
this.observer.observe(this.hostElement, {
|
|
24
|
+
childList: true,
|
|
27
25
|
});
|
|
28
26
|
}
|
|
27
|
+
componentWillLoad() {
|
|
28
|
+
this.updateContentItems();
|
|
29
|
+
this.updateContentVisibility(this.index);
|
|
30
|
+
}
|
|
31
|
+
disconnectedCallback() {
|
|
32
|
+
if (this.observer) {
|
|
33
|
+
this.observer.disconnect();
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
updateContentItems() {
|
|
37
|
+
this.contentItems = Array.from(this.hostElement.querySelectorAll('ix-flip-tile-content'));
|
|
38
|
+
}
|
|
39
|
+
updateContentVisibility(indexVisible) {
|
|
40
|
+
this.contentItems.forEach((content, index) => (content.contentVisible = index === indexVisible));
|
|
41
|
+
}
|
|
29
42
|
toggleIndex() {
|
|
30
43
|
this.doFlipAnimation();
|
|
31
44
|
}
|
|
32
|
-
toggleContentItem(index) {
|
|
33
|
-
const item = this.contentItems[index];
|
|
34
|
-
item.classList.toggle('d-none');
|
|
35
|
-
}
|
|
36
45
|
doFlipAnimation() {
|
|
37
46
|
this.isFlipAnimationActive = true;
|
|
38
47
|
setTimeout(() => {
|
|
39
|
-
this.
|
|
48
|
+
this.updateContentVisibility(this.index);
|
|
40
49
|
if (this.index >= this.contentItems.length - 1) {
|
|
41
50
|
this.index = 0;
|
|
42
51
|
}
|
|
43
52
|
else {
|
|
44
53
|
this.index++;
|
|
45
54
|
}
|
|
46
|
-
this.
|
|
55
|
+
this.updateContentVisibility(this.index);
|
|
47
56
|
}, this.ANIMATION_DURATION);
|
|
48
57
|
setTimeout(() => {
|
|
49
58
|
this.isFlipAnimationActive = false;
|
|
@@ -64,7 +73,7 @@ const FlipTile = class {
|
|
|
64
73
|
alarm: this.state === flipTileState.FlipTileState.Alarm,
|
|
65
74
|
primary: this.state === flipTileState.FlipTileState.Primary,
|
|
66
75
|
'flip-animation-active': this.isFlipAnimationActive,
|
|
67
|
-
} }, index.h("div", { class: "flip-tile-header" }, index.h("div", { class: "header-slot-container text-l-title" }, index.h("slot", { name: "header" })), index.h("ix-icon-button", { icon: "eye", variant: "
|
|
76
|
+
} }, index.h("div", { class: "flip-tile-header" }, index.h("div", { class: "header-slot-container text-l-title" }, index.h("slot", { name: "header" })), index.h("ix-icon-button", { icon: "eye", variant: "primary", ghost: true, onClick: () => this.toggleIndex() })), index.h("div", { class: "content-container" }, index.h("slot", null)), index.h("div", { class: {
|
|
68
77
|
footer: true,
|
|
69
78
|
'contrast-light': this.state === flipTileState.FlipTileState.Warning,
|
|
70
79
|
'contrast-dark': this.state === flipTileState.FlipTileState.Info ||
|
|
@@ -80,9 +89,10 @@ const flipTileContentCss = ":host{display:block}";
|
|
|
80
89
|
const FlipTileContent = class {
|
|
81
90
|
constructor(hostRef) {
|
|
82
91
|
index.registerInstance(this, hostRef);
|
|
92
|
+
this.contentVisible = false;
|
|
83
93
|
}
|
|
84
94
|
render() {
|
|
85
|
-
return
|
|
95
|
+
return index.h(index.Host, null, this.contentVisible ? index.h("slot", null) : null);
|
|
86
96
|
}
|
|
87
97
|
};
|
|
88
98
|
FlipTileContent.style = flipTileContentCss;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"ix-flip-tile.ix-flip-tile-content.entry.cjs.js","mappings":"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","names":["h","Host","FlipTileState"],"sources":["./src/components/flip-tile/flip-tile.scss?tag=ix-flip-tile&encapsulation=scoped","./src/components/flip-tile/flip-tile.tsx","./src/components/flip-tile-content/flip-tile-content.css?tag=ix-flip-tile-content&encapsulation=shadow","./src/components/flip-tile-content/flip-tile-content.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/animations';\n@import 'mixins/text-truncation';\n\n@include keyframes(flip-animation) {\n 0% {\n transform: rotateY(0);\n }\n 50% {\n transform: rotateY(90deg);\n }\n 51% {\n transform: rotateY(270deg);\n }\n 100% {\n transform: rotateY(360deg);\n }\n}\n\n:host {\n display: flex;\n flex-direction: column;\n perspective: 1000px;\n\n .flip-tile-header {\n display: flex;\n align-items: center;\n height: $large-control-height;\n padding: 0 $small-space 0 $default-space;\n\n .header-slot-container {\n @include ellipsis;\n flex-grow: 1;\n min-width: 0;\n }\n }\n\n .content-container {\n flex-grow: 1;\n margin: $default-space;\n }\n\n .flip-tile-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n background-color: var(--theme-blind-base--background);\n border: solid 1px var(--theme-blind-base--border-color);\n border-radius: var(--theme-flip-tile--border-radius)\n var(--theme-flip-tile--border-radius) 0 0;\n transform-style: preserve-3d;\n\n &.flip-animation-active {\n @include animation(flip-animation, 2 * $default-time, ease-in-out);\n }\n\n .footer {\n display: flex;\n height: 3rem;\n align-items: center;\n justify-content: center;\n padding: 0 $small-space;\n color: var(--theme-flip-footer--color);\n background-color: var(--theme-blind-base--background);\n\n :first-child {\n @include ellipsis;\n height: 100%;\n }\n }\n\n ::slotted(*) {\n @include ellipsis;\n display: flex;\n flex-direction: column;\n align-items: center;\n min-width: 0;\n }\n\n &.primary {\n border-color: var(--theme-color-primary);\n\n .footer {\n background-color: var(--theme-color-primary);\n color: var(--theme-color-primary--contrast);\n }\n }\n\n &.info {\n border-color: var(--theme-color-info);\n\n .footer {\n background-color: var(--theme-color-info);\n color: var(--theme-color-info--contrast);\n }\n }\n\n &.warning {\n border-color: var(--theme-color-warning);\n\n .footer {\n background-color: var(--theme-color-warning);\n color: var(--theme-color-warning--contrast);\n }\n }\n\n &.alarm {\n border-color: var(--theme-color-alarm);\n\n .footer {\n background-color: var(--theme-color-alarm);\n color: var(--theme-color-alarm--contrast);\n }\n }\n }\n\n &:hover .flip-tile-container .footer ix-icon {\n color: var(--theme-color-std-text);\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, Prop, State } from '@stencil/core';\nimport { FlipTileState } from './flip-tile-state';\n\n@Component({\n tag: 'ix-flip-tile',\n styleUrl: 'flip-tile.scss',\n scoped: true,\n})\nexport class FlipTile {\n private readonly ANIMATION_DURATION = 150;\n private contentContainerElement: HTMLDivElement;\n private contentItems: NodeList;\n\n @Element() hostElement: HTMLIxFlipTileElement;\n\n @State() index = 0;\n\n @State() isFlipAnimationActive: boolean;\n\n /**\n * Variation of the Flip\n */\n @Prop() state: FlipTileState;\n\n /**\n * Tmp property name\n * @deprecated Will be removed in 2.0.0. Setting this property has no effect\n */\n @Prop() footer: string;\n\n /**\n * Height interpreted as REM\n * @since 1.5.0\n */\n @Prop() height: number | 'auto' = 15.125;\n\n /**\n * Width interpreted as REM\n * @since 1.5.0\n */\n @Prop() width: number | 'auto' = 16;\n\n componentDidLoad() {\n this.contentItems = this.contentContainerElement.querySelectorAll(\n 'ix-flip-tile-content'\n );\n this.contentItems.forEach((_, index) => {\n if (index !== this.index) {\n this.toggleContentItem(index);\n }\n });\n }\n\n private toggleIndex() {\n this.doFlipAnimation();\n }\n\n private toggleContentItem(index: number) {\n const item = this.contentItems[index] as HTMLElement;\n item.classList.toggle('d-none');\n }\n\n private doFlipAnimation() {\n this.isFlipAnimationActive = true;\n\n setTimeout(() => {\n this.toggleContentItem(this.index);\n\n if (this.index >= this.contentItems.length - 1) {\n this.index = 0;\n } else {\n this.index++;\n }\n\n this.toggleContentItem(this.index);\n }, this.ANIMATION_DURATION);\n\n setTimeout(() => {\n this.isFlipAnimationActive = false;\n }, 2 * this.ANIMATION_DURATION);\n }\n\n render() {\n return (\n <Host\n style={{\n height: `${this.height}${this.height === 'auto' ? '' : 'rem'}`,\n 'min-height': `${this.height}${this.height === 'auto' ? '' : 'rem'}`,\n 'max-height': `${this.height}${this.height === 'auto' ? '' : 'rem'}`,\n width: `${this.width}${this.width === 'auto' ? '' : 'rem'}`,\n 'min-width': `${this.width}${this.width === 'auto' ? '' : 'rem'}`,\n 'max-width': `${this.width}${this.width === 'auto' ? '' : 'rem'}`,\n }}\n >\n <div\n class={{\n 'flip-tile-container': true,\n info: this.state === FlipTileState.Info,\n warning: this.state === FlipTileState.Warning,\n alarm: this.state === FlipTileState.Alarm,\n primary: this.state === FlipTileState.Primary,\n 'flip-animation-active': this.isFlipAnimationActive,\n }}\n >\n <div class=\"flip-tile-header\">\n <div class=\"header-slot-container text-l-title\">\n <slot name=\"header\"></slot>\n </div>\n <ix-icon-button\n icon=\"eye\"\n variant=\"Primary\"\n ghost\n onClick={() => this.toggleIndex()}\n ></ix-icon-button>\n </div>\n\n <div\n class=\"content-container\"\n ref={(el) => (this.contentContainerElement = el)}\n >\n <slot></slot>\n </div>\n <div\n class={{\n footer: true,\n 'contrast-light': this.state === FlipTileState.Warning,\n 'contrast-dark':\n this.state === FlipTileState.Info ||\n this.state === FlipTileState.Alarm,\n }}\n >\n <slot name=\"footer\"></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, h, Host } from '@stencil/core';\n\n@Component({\n tag: 'ix-flip-tile-content',\n styleUrl: 'flip-tile-content.css',\n shadow: true,\n})\nexport class FlipTileContent {\n render() {\n return (\n <Host>\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"ix-flip-tile.ix-flip-tile-content.entry.cjs.js","mappings":"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","names":["createMutationObserver","h","Host","FlipTileState"],"sources":["./src/components/flip-tile/flip-tile.scss?tag=ix-flip-tile&encapsulation=shadow","./src/components/flip-tile/flip-tile.tsx","./src/components/flip-tile-content/flip-tile-content.css?tag=ix-flip-tile-content&encapsulation=shadow","./src/components/flip-tile-content/flip-tile-content.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/animations';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n@import 'legacy/fonts';\n\n@include keyframes(flip-animation) {\n 0% {\n transform: rotateY(0);\n }\n 50% {\n transform: rotateY(90deg);\n }\n 51% {\n transform: rotateY(270deg);\n }\n 100% {\n transform: rotateY(360deg);\n }\n}\n\n:host {\n @include ix-component;\n display: flex;\n flex-direction: column;\n perspective: 1000px;\n\n .flip-tile-header {\n display: flex;\n align-items: center;\n height: $large-control-height;\n padding: 0 $small-space 0 $default-space;\n\n .header-slot-container {\n @include ellipsis;\n flex-grow: 1;\n min-width: 0;\n }\n }\n\n .content-container {\n flex-grow: 1;\n margin: $default-space;\n }\n\n .flip-tile-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n background-color: var(--theme-blind-base--background);\n border: solid 1px var(--theme-blind-base--border-color);\n border-radius: var(--theme-flip-tile--border-radius)\n var(--theme-flip-tile--border-radius) 0 0;\n transform-style: preserve-3d;\n\n &.flip-animation-active {\n @include animation(flip-animation, 2 * $default-time, ease-in-out);\n }\n\n .footer {\n display: flex;\n height: 3rem;\n align-items: center;\n justify-content: center;\n padding: 0 $small-space;\n color: var(--theme-flip-footer--color);\n background-color: var(--theme-blind-base--background);\n\n :first-child {\n @include ellipsis;\n height: 100%;\n }\n }\n\n ::slotted(*) {\n @include ellipsis;\n display: flex;\n flex-direction: column;\n align-items: center;\n min-width: 0;\n }\n\n &.primary {\n border-color: var(--theme-color-primary);\n\n .footer {\n background-color: var(--theme-color-primary);\n color: var(--theme-color-primary--contrast);\n }\n }\n\n &.info {\n border-color: var(--theme-color-info);\n\n .footer {\n background-color: var(--theme-color-info);\n color: var(--theme-color-info--contrast);\n }\n }\n\n &.warning {\n border-color: var(--theme-color-warning);\n\n .footer {\n background-color: var(--theme-color-warning);\n color: var(--theme-color-warning--contrast);\n }\n }\n\n &.alarm {\n border-color: var(--theme-color-alarm);\n\n .footer {\n background-color: var(--theme-color-alarm);\n color: var(--theme-color-alarm--contrast);\n }\n }\n }\n\n &:hover .flip-tile-container .footer ix-icon {\n color: var(--theme-color-std-text);\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, Prop, State } from '@stencil/core';\nimport { createMutationObserver } from '../utils/mutation-observer';\nimport { FlipTileState } from './flip-tile-state';\n\n@Component({\n tag: 'ix-flip-tile',\n styleUrl: 'flip-tile.scss',\n shadow: true,\n})\nexport class FlipTile {\n @Element() hostElement!: HTMLIxFlipTileElement;\n\n /**\n * Variation of the Flip\n */\n @Prop() state: FlipTileState;\n\n /**\n * Height interpreted as REM\n * @since 1.5.0\n */\n @Prop() height: number | 'auto' = 15.125;\n\n /**\n * Width interpreted as REM\n * @since 1.5.0\n */\n @Prop() width: number | 'auto' = 16;\n\n @State() index = 0;\n @State() isFlipAnimationActive: boolean;\n\n private readonly ANIMATION_DURATION = 150;\n private contentItems: Array<HTMLIxFlipTileContentElement>;\n\n private observer: MutationObserver;\n\n componentDidLoad() {\n this.observer = createMutationObserver(() => this.updateContentItems());\n this.observer.observe(this.hostElement, {\n childList: true,\n });\n }\n\n componentWillLoad() {\n this.updateContentItems();\n this.updateContentVisibility(this.index);\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n private updateContentItems() {\n this.contentItems = Array.from(\n this.hostElement.querySelectorAll('ix-flip-tile-content')\n );\n }\n\n private updateContentVisibility(indexVisible: number) {\n this.contentItems.forEach(\n (content, index) => (content.contentVisible = index === indexVisible)\n );\n }\n\n private toggleIndex() {\n this.doFlipAnimation();\n }\n\n private doFlipAnimation() {\n this.isFlipAnimationActive = true;\n\n setTimeout(() => {\n this.updateContentVisibility(this.index);\n\n if (this.index >= this.contentItems.length - 1) {\n this.index = 0;\n } else {\n this.index++;\n }\n\n this.updateContentVisibility(this.index);\n }, this.ANIMATION_DURATION);\n\n setTimeout(() => {\n this.isFlipAnimationActive = false;\n }, 2 * this.ANIMATION_DURATION);\n }\n\n render() {\n return (\n <Host\n style={{\n height: `${this.height}${this.height === 'auto' ? '' : 'rem'}`,\n 'min-height': `${this.height}${this.height === 'auto' ? '' : 'rem'}`,\n 'max-height': `${this.height}${this.height === 'auto' ? '' : 'rem'}`,\n width: `${this.width}${this.width === 'auto' ? '' : 'rem'}`,\n 'min-width': `${this.width}${this.width === 'auto' ? '' : 'rem'}`,\n 'max-width': `${this.width}${this.width === 'auto' ? '' : 'rem'}`,\n }}\n >\n <div\n class={{\n 'flip-tile-container': true,\n info: this.state === FlipTileState.Info,\n warning: this.state === FlipTileState.Warning,\n alarm: this.state === FlipTileState.Alarm,\n primary: this.state === FlipTileState.Primary,\n 'flip-animation-active': this.isFlipAnimationActive,\n }}\n >\n <div class=\"flip-tile-header\">\n <div class=\"header-slot-container text-l-title\">\n <slot name=\"header\"></slot>\n </div>\n <ix-icon-button\n icon=\"eye\"\n variant=\"primary\"\n ghost\n onClick={() => this.toggleIndex()}\n ></ix-icon-button>\n </div>\n\n <div class=\"content-container\">\n <slot></slot>\n </div>\n <div\n class={{\n footer: true,\n 'contrast-light': this.state === FlipTileState.Warning,\n 'contrast-dark':\n this.state === FlipTileState.Info ||\n this.state === FlipTileState.Alarm,\n }}\n >\n <slot name=\"footer\"></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'ix-flip-tile-content',\n styleUrl: 'flip-tile-content.css',\n shadow: true,\n})\nexport class FlipTileContent {\n /**\n * Controls the visibility of the content\n *\n * @internal\n */\n @Prop() contentVisible = false;\n\n render() {\n return <Host>{this.contentVisible ? <slot></slot> : null}</Host>;\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-be499a74.js');
|
|
6
|
+
|
|
7
|
+
const formFieldCss = "label{color:var(--theme-color-soft-text)}input,input:-webkit-autofill{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);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-input--background) inset !important;-webkit-text-fill-color:var(--theme-input--color) !important;border-color:var(--theme-input--border-color) !important}input::-moz-placeholder{color:var(--theme-input-hint--color)}input::placeholder{color:var(--theme-input-hint--color)}input.hover,input:hover{border-color:var(--theme-input--border-color--hover);background-color:var(--theme-input--background--hover)}input.focus,input: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)}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: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[type=number]{text-align:right}input[type=number]::-webkit-inner-spin-button{margin-right:-2px;margin-left:2px;display:none}textarea{height:3.25rem;padding:0.375rem 1.25rem 0.375rem 0.5rem}textarea,textarea:-webkit-autofill{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);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-input--background) inset !important;-webkit-text-fill-color:var(--theme-input--color) !important;border-color:var(--theme-input--border-color) !important}textarea::-moz-placeholder{color:var(--theme-input-hint--color)}textarea::placeholder{color:var(--theme-input-hint--color)}textarea.hover,textarea:hover{border-color:var(--theme-input--border-color--hover);background-color:var(--theme-input--background--hover)}textarea.focus,textarea: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)}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: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~.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}:host{display:contents}";
|
|
8
|
+
|
|
9
|
+
const FormField = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.label = undefined;
|
|
13
|
+
}
|
|
14
|
+
get inputElement() {
|
|
15
|
+
return this.hostElement.querySelector('input');
|
|
16
|
+
}
|
|
17
|
+
componentWillLoad() { }
|
|
18
|
+
render() {
|
|
19
|
+
return (index.h(index.Host, null, this.label ? (index.h("label", { htmlFor: this.inputElement.id }, this.label)) : null, index.h("slot", null)));
|
|
20
|
+
}
|
|
21
|
+
get hostElement() { return index.getElement(this); }
|
|
22
|
+
};
|
|
23
|
+
FormField.style = formFieldCss;
|
|
24
|
+
|
|
25
|
+
exports.ix_form_field = FormField;
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=ix-form-field.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-form-field.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,YAAY,GAAG,snOAAsnO;;MCe9nO,SAAS;;;;;EAQpB,IAAY,YAAY;IACtB,OAAO,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;GAChD;EAED,iBAAiB,MAAK;EAEtB,MAAM;IACJ,QACEA,QAACC,UAAI,QACF,IAAI,CAAC,KAAK,IACTD,mBAAO,OAAO,EAAE,IAAI,CAAC,YAAY,CAAC,EAAE,IAAG,IAAI,CAAC,KAAK,CAAS,IACxD,IAAI,EACRA,qBAAa,CACR,EACP;GACH;;;;;;;","names":["h","Host"],"sources":["./src/components/form-field/form-field.scss?tag=ix-form-field&encapsulation=shadow","./src/components/form-field/form-field.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@import 'components/form/input';\n\n:host {\n display: contents;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { Component, Element, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'ix-form-field',\n styleUrl: 'form-field.scss',\n shadow: true,\n})\nexport class FormField {\n @Element() hostElement!: HTMLIxFormFieldElement;\n\n /**\n * Label\n */\n @Prop() label: string;\n\n private get inputElement() {\n return this.hostElement.querySelector('input');\n }\n\n componentWillLoad() {}\n\n render() {\n return (\n <Host>\n {this.label ? (\n <label htmlFor={this.inputElement.id}>{this.label}</label>\n ) : null}\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-be499a74.js');
|
|
6
|
+
|
|
7
|
+
const gridCss = ":host{--ix-grid-gutter:1.5rem;display:block;flex:1;width:100%;padding-left:calc(var(--ix-grid-gutter) * 0.5);padding-right:calc(var(--ix-grid-gutter) * 0.5);--ix-grid-row-margin:1rem}:host(.no-padding){padding-left:0;padding-right:0}:host(.no-row-gap){--ix-grid-row-margin:0rem}";
|
|
8
|
+
|
|
9
|
+
const Grid = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.noPadding = false;
|
|
13
|
+
this.noRowGap = false;
|
|
14
|
+
this.columns = 12;
|
|
15
|
+
}
|
|
16
|
+
render() {
|
|
17
|
+
return (index.h(index.Host, { class: {
|
|
18
|
+
'no-padding': this.noPadding,
|
|
19
|
+
'no-row-gap': this.noRowGap,
|
|
20
|
+
}, style: {
|
|
21
|
+
'--ix-grid-columns': `${this.columns}`,
|
|
22
|
+
} }, index.h("slot", null)));
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
Grid.style = gridCss;
|
|
26
|
+
|
|
27
|
+
exports.ix_grid = Grid;
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=ix-grid.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-grid.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,OAAO,GAAG,wRAAwR;;MCmB3R,IAAI;;;qBAIK,KAAK;oBAKN,KAAK;mBAKN,EAAE;;EAEpB,MAAM;IACJ,QACEA,QAACC,UAAI,IACH,KAAK,EAAE;QACL,YAAY,EAAE,IAAI,CAAC,SAAS;QAC5B,YAAY,EAAE,IAAI,CAAC,QAAQ;OAC5B,EACD,KAAK,EAAE;QACL,mBAAmB,EAAE,GAAG,IAAI,CAAC,OAAO,EAAE;OACvC,IAEDD,qBAAa,CACR,EACP;GACH;;;;;;","names":["h","Host"],"sources":["./src/components/grid/grid.scss?tag=ix-grid&encapsulation=shadow","./src/components/grid/grid.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n:host {\n --ix-grid-gutter: 1.5rem;\n\n display: block;\n flex: 1;\n width: 100%;\n\n padding-left: calc(var(--ix-grid-gutter) * 0.5);\n padding-right: calc(var(--ix-grid-gutter) * 0.5);\n\n --ix-grid-row-margin: 1rem;\n}\n\n:host(.no-padding) {\n padding-left: 0;\n padding-right: 0;\n}\n\n:host(.no-row-gap) {\n --ix-grid-row-margin: 0rem;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, h, Host, Prop } from '@stencil/core';\n\n/**\n * @since 2.0.0\n */\n@Component({\n tag: 'ix-grid',\n styleUrl: 'grid.scss',\n shadow: true,\n})\nexport class Grid {\n /**\n * The grid will not have any horizontal padding\n */\n @Prop() noPadding = false;\n\n /**\n * Remove the gap between rows\n */\n @Prop() noRowGap = false;\n\n /**\n * Overwrite the default number of columns. Choose between 2 and 12 columns.\n */\n @Prop() columns = 12;\n\n render() {\n return (\n <Host\n class={{\n 'no-padding': this.noPadding,\n 'no-row-gap': this.noRowGap,\n }}\n style={{\n '--ix-grid-columns': `${this.columns}`,\n }}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -2,32 +2,44 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-be499a74.js');
|
|
6
|
+
const shadowDom = require('./shadow-dom-9b10f758.js');
|
|
6
7
|
|
|
7
|
-
const groupContextMenuCss = "
|
|
8
|
+
const groupContextMenuCss = ":host{display:block;position:relative;height:2rem;width:2rem;-webkit-margin-before:0.3125rem;margin-block-start:0.3125rem;-webkit-margin-end:0.3125rem;margin-inline-end:0.3125rem;-webkit-margin-start:auto;margin-inline-start:auto}:host .hide{visibility:collapse}";
|
|
8
9
|
|
|
9
10
|
const GroupContextMenu = class {
|
|
10
11
|
constructor(hostRef) {
|
|
11
12
|
index.registerInstance(this, hostRef);
|
|
12
13
|
this.showContextMenu = false;
|
|
13
14
|
}
|
|
14
|
-
|
|
15
|
-
return this.
|
|
15
|
+
getTrigger() {
|
|
16
|
+
return this.hostElement;
|
|
16
17
|
}
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
configureDropdown(dropdownElement, triggerElement) {
|
|
19
|
+
dropdownElement.positioningStrategy = 'fixed';
|
|
20
|
+
dropdownElement.trigger = triggerElement;
|
|
19
21
|
}
|
|
20
|
-
|
|
21
|
-
this.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
onSlotChange() {
|
|
23
|
+
const slot = this.hostElement.shadowRoot.querySelector('slot');
|
|
24
|
+
if (!slot) {
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
const elements = shadowDom.getSlottedElements(slot);
|
|
28
|
+
this.showContextMenu = elements.length !== 0;
|
|
29
|
+
const dropdownElement = elements.find((elm) => elm.tagName === 'IX-DROPDOWN');
|
|
30
|
+
const triggerElement = this.getTrigger();
|
|
31
|
+
if (!triggerElement) {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
if (!dropdownElement) {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
this.configureDropdown(dropdownElement, triggerElement);
|
|
26
38
|
}
|
|
27
39
|
render() {
|
|
28
|
-
return (index.h(index.Host, null, index.h("ix-icon-button", { class: { hide: !this.showContextMenu },
|
|
40
|
+
return (index.h(index.Host, null, index.h("ix-icon-button", { class: { hide: !this.showContextMenu }, size: "24", ghost: true, icon: "context-menu" }), index.h("slot", { onSlotchange: () => this.onSlotChange() })));
|
|
29
41
|
}
|
|
30
|
-
get
|
|
42
|
+
get hostElement() { return index.getElement(this); }
|
|
31
43
|
};
|
|
32
44
|
GroupContextMenu.style = groupContextMenuCss;
|
|
33
45
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"ix-group-context-menu.entry.cjs.js","mappings":"
|
|
1
|
+
{"file":"ix-group-context-menu.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,mBAAmB,GAAG,wQAAwQ;;MCiBvR,gBAAgB;;;2BAGA,KAAK;;EAExB,UAAU;IAChB,OAAO,IAAI,CAAC,WAAW,CAAC;GACzB;EAEO,iBAAiB,CACvB,eAAsC,EACtC,cAA2B;IAE3B,eAAe,CAAC,mBAAmB,GAAG,OAAO,CAAC;IAC9C,eAAe,CAAC,OAAO,GAAG,cAAc,CAAC;GAC1C;EAEO,YAAY;IAClB,MAAM,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;IAC/D,IAAI,CAAC,IAAI,EAAE;MACT,OAAO;KACR;IACD,MAAM,QAAQ,GAAGA,4BAAkB,CAAC,IAAI,CAAC,CAAC;IAC1C,IAAI,CAAC,eAAe,GAAG,QAAQ,CAAC,MAAM,KAAK,CAAC,CAAC;IAE7C,MAAM,eAAe,GAAG,QAAQ,CAAC,IAAI,CACnC,CAAC,GAAY,KAAK,GAAG,CAAC,OAAO,KAAK,aAAa,CAChD,CAAC;IAEF,MAAM,cAAc,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;IAEzC,IAAI,CAAC,cAAc,EAAE;MACnB,OAAO;KACR;IAED,IAAI,CAAC,eAAe,EAAE;MACpB,OAAO;KACR;IAED,IAAI,CAAC,iBAAiB,CAAC,eAAe,EAAE,cAAc,CAAC,CAAC;GACzD;EAED,MAAM;IACJ,QACEC,QAACC,UAAI,QACHD,4BACE,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,IAAI,CAAC,eAAe,EAAE,EACtC,IAAI,EAAC,IAAI,EACT,KAAK,EAAE,IAAI,EACX,IAAI,EAAC,cAAc,GACH,EAClBA,kBAAM,YAAY,EAAE,MAAM,IAAI,CAAC,YAAY,EAAE,GAAS,CACjD,EACP;GACH;;;;;;;","names":["getSlottedElements","h","Host"],"sources":["./src/components/group/group-context-menu.scss?tag=ix-group-context-menu&encapsulation=shadow","./src/components/group/group-context-menu.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n:host {\n display: block;\n position: relative;\n\n height: 2rem;\n width: 2rem;\n\n margin-block-start: 0.3125rem;\n margin-inline-end: 0.3125rem;\n margin-inline-start: auto;\n\n .hide {\n visibility: collapse;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, State } from '@stencil/core';\nimport { getSlottedElements } from '../utils/shadow-dom';\n\n@Component({\n tag: 'ix-group-context-menu',\n styleUrl: './group-context-menu.scss',\n shadow: true,\n})\nexport class GroupContextMenu {\n @Element() hostElement!: HTMLIxGroupContextMenuElement;\n\n @State() showContextMenu = false;\n\n private getTrigger() {\n return this.hostElement;\n }\n\n private configureDropdown(\n dropdownElement: HTMLIxDropdownElement,\n triggerElement: HTMLElement\n ) {\n dropdownElement.positioningStrategy = 'fixed';\n dropdownElement.trigger = triggerElement;\n }\n\n private onSlotChange() {\n const slot = this.hostElement.shadowRoot.querySelector('slot');\n if (!slot) {\n return;\n }\n const elements = getSlottedElements(slot);\n this.showContextMenu = elements.length !== 0;\n\n const dropdownElement = elements.find(\n (elm: Element) => elm.tagName === 'IX-DROPDOWN'\n );\n\n const triggerElement = this.getTrigger();\n\n if (!triggerElement) {\n return;\n }\n\n if (!dropdownElement) {\n return;\n }\n\n this.configureDropdown(dropdownElement, triggerElement);\n }\n\n render() {\n return (\n <Host>\n <ix-icon-button\n class={{ hide: !this.showContextMenu }}\n size=\"24\"\n ghost={true}\n icon=\"context-menu\"\n ></ix-icon-button>\n <slot onSlotchange={() => this.onSlotChange()}></slot>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-be499a74.js');
|
|
6
|
+
const mutationObserver = require('./mutation-observer-eaaa5399.js');
|
|
7
|
+
const shadowDom = require('./shadow-dom-9b10f758.js');
|
|
8
|
+
|
|
9
|
+
const groupCss = ":host{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-direction:column;position:relative;max-width:19.75rem;border-color:var(--theme-group-item--border-color)}:host .group-header{height:4rem;min-height:4rem;max-height:4rem;border-radius:var(--theme-group--border-radius) var(--theme-group--border-radius) 0 0;display:flex;background-color:var(--theme-group-item--background);color:var(--theme-group-header--color);cursor:pointer}:host .group-header:not(.disabled):not(:disabled){cursor:pointer}:host .group-header:not(.disabled):not(:disabled):hover{background-color:var(--theme-group-item--background--hover)}:host .group-header:not(.disabled):not(:disabled):hover.selected{background-color:var(--theme-group-item--background--selected)}:host .group-header:not(.disabled):not(:disabled){cursor:pointer}:host .group-header:not(.disabled):not(:disabled):active,:host .group-header:not(.disabled):not(:disabled).active{background-color:var(--theme-group-item--background--active)}:host .group-header:not(.disabled):not(:disabled):active.selected,:host .group-header:not(.disabled):not(:disabled).active.selected{background-color:var(--theme-group-item--background--selected)}:host .group-header:not(.disabled):not(:disabled):focus-visible{border:1px solid var(--theme-color-focus-bdr);border-radius:var(--theme-default-border-radius) var(--theme-default-border-radius) 0px 0px;outline:none}:host .group-header.selected{background-color:var(--theme-group-item--background--selected)}:host .group-header.selected .group-header-selection-indicator{background-color:var(--theme-group-item-indicator--background--selected)}:host .group-header .group-header-selection-indicator{background-color:var(--theme-color-input--focus)}:host .group-header .group-header-selection-indicator.group-header-selection-indicator-item-selected{background-color:var(--theme-group-item-indicator--background--selected)}:host .group-header-clickable{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;width:100%;min-width:0}:host .group-header-selection-indicator{width:0.25rem;border-top-left-radius:var(--theme-group--border-radius)}:host .group-header-content{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-direction:row;justify-content:space-between;min-width:0;flex-grow:1;padding:0.5rem;padding-left:0}:host .group-header-content .group-header-props-container{width:100%}:host .group-header-content .group-header-title{display:flex;align-items:center;font-size:1rem;font-weight:700;height:1.5rem}:host .group-header-content .group-header-title>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}:host .group-header-content .group-subheader{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:1.25rem;font-size:0.875rem;color:var(--theme-group-subheader--color)}:host .expand-icon{padding:0.125rem 0.437rem;color:var(--theme-color-std-text)}:host .btn-expand-header{margin:0.5rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem;min-width:1.5rem}:host .group-content{display:flex;flex-direction:column;gap:1px;margin-top:1px}:host .footer{visibility:collapse;height:auto;min-height:0}:host .footer-visible{visibility:visible}:host .hidden{display:none}";
|
|
10
|
+
|
|
11
|
+
const Group = class {
|
|
12
|
+
constructor(hostRef) {
|
|
13
|
+
index.registerInstance(this, hostRef);
|
|
14
|
+
this.selectGroup = index.createEvent(this, "selectGroup", 7);
|
|
15
|
+
this.selectItem = index.createEvent(this, "selectItem", 7);
|
|
16
|
+
this.collapsedChanged = index.createEvent(this, "collapsedChanged", 7);
|
|
17
|
+
this.suppressHeaderSelection = false;
|
|
18
|
+
this.header = undefined;
|
|
19
|
+
this.subHeader = undefined;
|
|
20
|
+
this.collapsed = true;
|
|
21
|
+
this.selected = undefined;
|
|
22
|
+
this.index = undefined;
|
|
23
|
+
this.expandOnHeaderClick = false;
|
|
24
|
+
this.itemSelected = false;
|
|
25
|
+
this.dropdownTriggerRef = undefined;
|
|
26
|
+
this.slotSize = this.groupItems.length;
|
|
27
|
+
this.footerVisible = false;
|
|
28
|
+
}
|
|
29
|
+
get dropdownItems() {
|
|
30
|
+
return Array.from(this.hostElement.querySelectorAll('ix-group-dropdown-item'));
|
|
31
|
+
}
|
|
32
|
+
get groupItems() {
|
|
33
|
+
return Array.from(this.hostElement.querySelectorAll('ix-group-item:not(.footer)'));
|
|
34
|
+
}
|
|
35
|
+
get groupContent() {
|
|
36
|
+
return this.hostElement.shadowRoot.querySelector('.group-content');
|
|
37
|
+
}
|
|
38
|
+
onExpandClick(event) {
|
|
39
|
+
this.collapsed = !this.collapsed;
|
|
40
|
+
this.collapsedChanged.emit(this.collapsed);
|
|
41
|
+
event.stopPropagation();
|
|
42
|
+
}
|
|
43
|
+
onHeaderClick(event) {
|
|
44
|
+
this.setGroupSelection(!this.selected);
|
|
45
|
+
if (this.suppressHeaderSelection) {
|
|
46
|
+
this.onExpandClick(event);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
onItemClick(index) {
|
|
50
|
+
if (index === this.index) {
|
|
51
|
+
this.index = undefined;
|
|
52
|
+
this.selectItem.emit(undefined);
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
this.index = index;
|
|
56
|
+
this.selectItem.emit(index);
|
|
57
|
+
}
|
|
58
|
+
if (this.index >= 0) {
|
|
59
|
+
this.itemSelected = true;
|
|
60
|
+
}
|
|
61
|
+
else
|
|
62
|
+
this.itemSelected = false;
|
|
63
|
+
this.setGroupSelection(false);
|
|
64
|
+
}
|
|
65
|
+
setGroupSelection(selection) {
|
|
66
|
+
if (!this.suppressHeaderSelection) {
|
|
67
|
+
this.selected = selection;
|
|
68
|
+
this.selectGroup.emit(this.selected);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
onSlotChange() {
|
|
72
|
+
const slot = this.hostElement.shadowRoot.querySelector('slot[name="footer"]');
|
|
73
|
+
if (slot) {
|
|
74
|
+
this.footerVisible = shadowDom.hasSlottedElements(slot);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
componentWillRender() {
|
|
78
|
+
this.groupItems.forEach((item, index) => {
|
|
79
|
+
if (this.selected === true) {
|
|
80
|
+
item.selected = false;
|
|
81
|
+
this.index = undefined;
|
|
82
|
+
this.itemSelected = false;
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
item.selected = index === this.index;
|
|
86
|
+
item.index = index;
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
componentDidLoad() {
|
|
90
|
+
this.observer = mutationObserver.createMutationObserver(() => {
|
|
91
|
+
this.slotSize = this.groupItems.length;
|
|
92
|
+
});
|
|
93
|
+
this.observer.observe(this.groupContent, {
|
|
94
|
+
childList: true,
|
|
95
|
+
});
|
|
96
|
+
this.groupContent.addEventListener('selectedChanged', (evt) => {
|
|
97
|
+
this.onItemClick(evt.detail.index);
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
disconnectedCallback() {
|
|
101
|
+
if (this.observer) {
|
|
102
|
+
this.observer.disconnect();
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
render() {
|
|
106
|
+
return (index.h(index.Host, null, index.h("div", { class: {
|
|
107
|
+
'group-header': true,
|
|
108
|
+
expand: !this.collapsed,
|
|
109
|
+
selected: this.selected,
|
|
110
|
+
}, tabindex: "0" }, index.h("div", { class: "group-header-clickable", onClick: (e) => this.onHeaderClick(e) }, index.h("div", { class: {
|
|
111
|
+
'group-header-selection-indicator': true,
|
|
112
|
+
'group-header-selection-indicator-item-selected': this.itemSelected,
|
|
113
|
+
} }), index.h("div", { class: "btn-expand-header" }, index.h("ix-icon", { class: {
|
|
114
|
+
hidden: this.slotSize === 0,
|
|
115
|
+
}, name: `chevron-${this.collapsed ? 'right' : 'down'}-small`, onClick: (e) => this.onExpandClick(e) })), index.h("div", { class: "group-header-content" }, this.header ? (index.h("div", { class: "group-header-props-container" }, index.h("div", { class: "group-header-title" }, index.h("span", { title: this.header }, this.header)), index.h("div", { class: "group-subheader", title: this.subHeader }, this.subHeader))) : null, index.h("slot", { name: "header" }))), index.h("ix-group-context-menu", null, index.h("slot", { name: "dropdown" }))), index.h("div", { class: {
|
|
116
|
+
'group-content': true,
|
|
117
|
+
} }, !this.collapsed ? (index.h(index.Fragment, null, index.h("slot", null), index.h("ix-group-item", { suppressSelection: true, focusable: false, class: {
|
|
118
|
+
footer: true,
|
|
119
|
+
'footer-visible': this.footerVisible,
|
|
120
|
+
} }, index.h("slot", { name: "footer", onSlotchange: () => this.onSlotChange() })))) : null)));
|
|
121
|
+
}
|
|
122
|
+
get hostElement() { return index.getElement(this); }
|
|
123
|
+
};
|
|
124
|
+
Group.style = groupCss;
|
|
125
|
+
|
|
126
|
+
const groupItemCss = ":host{display:flex;min-height:2.25rem;height:2.25rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host>button{display:flex;height:100%;width:100%;align-items:center;justify-content:flex-start;position:relative;outline:none;background-color:var(--theme-group-item--background);border:1px solid transparent;color:var(--theme-color-std-text);padding-left:2.5rem}:host>button:focus-visible{border:1px solid var(--theme-color-focus-bdr)}:host ix-icon{margin-right:0.25rem;margin-top:-0.125rem}:host .group-entry-selection-indicator{position:absolute;left:-1px;height:calc(100% + 2px);width:0.25rem}:host .group-entry-text{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .group-entry-text-secondary{display:flex;justify-content:flex-end;flex-grow:1;white-space:nowrap;color:var(--theme-color-soft-text)}:host .group-entry-text-secondary,:host .group-entry-text-secondary span{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.selected){border-top-width:0.062rem !important;background-color:var(--theme-color-ghost--selected)}:host(.selected) .group-entry-selection-indicator{background-color:var(--theme-group-item-indicator--background--selected)}:host(:not(.suppress-selection):hover){background-color:var(--theme-color-ghost--selected-hover);border-color:var(--theme-group-item--border-color--hover)}:host(:not(.suppress-selection).selected:hover){background-color:var(--theme-color-ghost--selected-hover)}:host(:not(.suppress-selection):active){background-color:var(--theme-color-ghost--selected-active);border-color:var(--theme-group-item--border-color--active)}:host(:not(.suppress-selection).selected:active){background-color:var(--theme-color-ghost--selected-active)}";
|
|
127
|
+
|
|
128
|
+
const GroupItem = class {
|
|
129
|
+
constructor(hostRef) {
|
|
130
|
+
index.registerInstance(this, hostRef);
|
|
131
|
+
this.selectedChanged = index.createEvent(this, "selectedChanged", 7);
|
|
132
|
+
this.icon = undefined;
|
|
133
|
+
this.text = undefined;
|
|
134
|
+
this.secondaryText = undefined;
|
|
135
|
+
this.suppressSelection = false;
|
|
136
|
+
this.selected = undefined;
|
|
137
|
+
this.focusable = true;
|
|
138
|
+
this.index = undefined;
|
|
139
|
+
}
|
|
140
|
+
clickListen() {
|
|
141
|
+
if (this.suppressSelection) {
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
this.selectedChanged.emit(this.hostElement);
|
|
145
|
+
}
|
|
146
|
+
render() {
|
|
147
|
+
return (index.h(index.Host, { class: {
|
|
148
|
+
selected: this.selected && !this.suppressSelection,
|
|
149
|
+
'suppress-selection': this.suppressSelection,
|
|
150
|
+
} }, index.h("button", { tabindex: this.focusable ? 0 : -1 }, index.h("div", { class: "group-entry-selection-indicator" }), this.icon ? index.h("ix-icon", { size: "16", name: this.icon }) : null, this.text ? (index.h("span", { class: "group-entry-text" }, index.h("span", { title: this.text }, this.text))) : null, this.secondaryText ? (index.h("span", { class: "group-entry-text-secondary" }, index.h("span", { title: this.secondaryText }, this.secondaryText))) : null, index.h("slot", null))));
|
|
151
|
+
}
|
|
152
|
+
get hostElement() { return index.getElement(this); }
|
|
153
|
+
};
|
|
154
|
+
GroupItem.style = groupItemCss;
|
|
155
|
+
|
|
156
|
+
exports.ix_group = Group;
|
|
157
|
+
exports.ix_group_item = GroupItem;
|
|
158
|
+
|
|
159
|
+
//# sourceMappingURL=ix-group_2.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-group.ix-group-item.entry.cjs.js","mappings":"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","names":["hasSlottedElements","createMutationObserver","h","Host","Fragment"],"sources":["./src/components/group/group.scss?tag=ix-group&encapsulation=shadow","./src/components/group/group.tsx","./src/components/group-item/group-item.scss?tag=ix-group-item&encapsulation=shadow","./src/components/group-item/group-item.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'legacy/mixins/fonts';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n\n:host {\n @include ellipsis;\n\n display: flex;\n flex-direction: column;\n position: relative;\n max-width: 19.75rem;\n border-color: var(--theme-group-item--border-color);\n\n .group-header {\n height: 4rem;\n min-height: 4rem;\n max-height: 4rem;\n border-radius: var(--theme-group--border-radius)\n var(--theme-group--border-radius) 0 0;\n display: flex;\n background-color: var(--theme-group-item--background);\n color: var(--theme-group-header--color);\n\n cursor: pointer;\n\n @include hover {\n background-color: var(--theme-group-item--background--hover);\n\n &.selected {\n background-color: var(--theme-group-item--background--selected);\n }\n }\n\n @include active {\n background-color: var(--theme-group-item--background--active);\n\n &.selected {\n background-color: var(--theme-group-item--background--selected);\n }\n }\n\n @include focus-visible {\n border: 1px solid var(--theme-color-focus-bdr);\n border-radius: var(--theme-default-border-radius)\n var(--theme-default-border-radius) 0px 0px;\n outline: none;\n }\n\n &.selected {\n background-color: var(--theme-group-item--background--selected);\n\n .group-header-selection-indicator {\n background-color: var(\n --theme-group-item-indicator--background--selected\n );\n }\n }\n\n .group-header-selection-indicator {\n background-color: var(--theme-color-input--focus);\n\n &.group-header-selection-indicator-item-selected {\n background-color: var(\n --theme-group-item-indicator--background--selected\n );\n }\n }\n }\n\n .group-header-clickable {\n @include ellipsis;\n\n display: flex;\n width: 100%;\n min-width: 0;\n }\n\n .group-header-selection-indicator {\n width: $tiny-space;\n border-top-left-radius: var(--theme-group--border-radius);\n }\n\n .group-header-content {\n @include ellipsis;\n\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n min-width: 0;\n flex-grow: 1;\n padding: 0.5rem;\n padding-left: 0;\n\n .group-header-props-container {\n width: 100%;\n }\n\n .group-header-title {\n display: flex;\n align-items: center;\n font-size: 1rem;\n font-weight: $font-weight-bold;\n height: 1.5rem;\n\n & > * {\n @include ellipsis;\n\n min-width: 0;\n }\n }\n\n .group-subheader {\n @include ellipsis();\n\n height: 1.25rem;\n font-size: 0.875rem;\n color: var(--theme-group-subheader--color);\n }\n }\n\n .expand-icon {\n padding: 0.125rem 0.437rem;\n color: var(--theme-color-std-text);\n }\n\n .btn-expand-header {\n margin: $small-space;\n margin-inline-end: $tiny-space;\n min-width: 1.5rem;\n }\n\n .group-content {\n display: flex;\n flex-direction: column;\n gap: 1px;\n margin-top: 1px;\n }\n\n .footer {\n visibility: collapse;\n height: auto;\n min-height: 0;\n }\n\n .footer-visible {\n visibility: visible;\n }\n\n .hidden {\n display: none;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\nimport { createMutationObserver } from '../utils/mutation-observer';\nimport { hasSlottedElements } from '../utils/shadow-dom';\n\n@Component({\n tag: 'ix-group',\n styleUrl: 'group.scss',\n shadow: true,\n})\nexport class Group {\n @Element() hostElement!: HTMLIxGroupElement;\n\n /**\n * Prevent header from being selectable\n */\n @Prop() suppressHeaderSelection = false;\n\n /**\n * Group header\n */\n @Prop() header: string;\n\n /**\n * Group header subtitle\n */\n @Prop() subHeader: string;\n\n /**\n * Whether the group is collapsed or expanded. Defaults to true.\n */\n @Prop({ mutable: true, reflect: true }) collapsed = true;\n\n /**\n * Whether the group is selected.\n */\n @Prop({ mutable: true, reflect: true }) selected: boolean;\n\n /**\n * The index of the selected group entry.\n * If undefined no group item is selected.\n */\n @Prop({ mutable: true, reflect: true }) index: number;\n\n /**\n * Expand the group if the header is clicked\n */\n @Prop() expandOnHeaderClick = false;\n\n /**\n * Emits when whole group gets selected.\n */\n @Event() selectGroup: EventEmitter<boolean>;\n\n /**\n * Emits when group item gets selected.\n */\n @Event() selectItem: EventEmitter<number>;\n\n /**\n * Group collapsed\n */\n @Event() collapsedChanged: EventEmitter<boolean>;\n\n @State() itemSelected = false;\n @State() dropdownTriggerRef: HTMLElement;\n @State() slotSize = this.groupItems.length;\n @State() footerVisible = false;\n\n private observer: MutationObserver;\n\n get dropdownItems() {\n return Array.from(\n this.hostElement.querySelectorAll('ix-group-dropdown-item')\n );\n }\n\n get groupItems(): Array<HTMLIxGroupItemElement> {\n return Array.from(\n this.hostElement.querySelectorAll('ix-group-item:not(.footer)')\n );\n }\n\n get groupContent() {\n return this.hostElement.shadowRoot.querySelector('.group-content');\n }\n\n private onExpandClick(event: Event) {\n this.collapsed = !this.collapsed;\n\n this.collapsedChanged.emit(this.collapsed);\n event.stopPropagation();\n }\n\n private onHeaderClick(event: Event) {\n this.setGroupSelection(!this.selected);\n\n if (this.suppressHeaderSelection) {\n this.onExpandClick(event);\n }\n }\n\n private onItemClick(index: number) {\n if (index === this.index) {\n this.index = undefined;\n this.selectItem.emit(undefined);\n } else {\n this.index = index;\n this.selectItem.emit(index);\n }\n\n if (this.index >= 0) {\n this.itemSelected = true;\n } else this.itemSelected = false;\n\n this.setGroupSelection(false);\n }\n\n private setGroupSelection(selection: boolean) {\n if (!this.suppressHeaderSelection) {\n this.selected = selection;\n this.selectGroup.emit(this.selected);\n }\n }\n\n private onSlotChange() {\n const slot = this.hostElement.shadowRoot.querySelector(\n 'slot[name=\"footer\"]'\n );\n\n if (slot) {\n this.footerVisible = hasSlottedElements(slot);\n }\n }\n\n componentWillRender() {\n this.groupItems.forEach((item, index) => {\n if (this.selected === true) {\n item.selected = false;\n this.index = undefined;\n this.itemSelected = false;\n return;\n }\n item.selected = index === this.index;\n item.index = index;\n });\n }\n\n componentDidLoad() {\n this.observer = createMutationObserver(() => {\n this.slotSize = this.groupItems.length;\n });\n\n this.observer.observe(this.groupContent, {\n childList: true,\n });\n\n this.groupContent.addEventListener(\n 'selectedChanged',\n (evt: CustomEvent<HTMLIxGroupItemElement>) => {\n this.onItemClick(evt.detail.index);\n }\n );\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n return (\n <Host>\n <div\n class={{\n 'group-header': true,\n expand: !this.collapsed,\n selected: this.selected,\n }}\n tabindex=\"0\"\n >\n <div\n class=\"group-header-clickable\"\n onClick={(e) => this.onHeaderClick(e)}\n >\n <div\n class={{\n 'group-header-selection-indicator': true,\n 'group-header-selection-indicator-item-selected':\n this.itemSelected,\n }}\n ></div>\n <div class=\"btn-expand-header\">\n <ix-icon\n class={{\n hidden: this.slotSize === 0,\n }}\n name={`chevron-${this.collapsed ? 'right' : 'down'}-small`}\n onClick={(e) => this.onExpandClick(e)}\n ></ix-icon>\n </div>\n\n <div class=\"group-header-content\">\n {this.header ? (\n <div class=\"group-header-props-container\">\n <div class=\"group-header-title\">\n <span title={this.header}>{this.header}</span>\n </div>\n <div class=\"group-subheader\" title={this.subHeader}>\n {this.subHeader}\n </div>\n </div>\n ) : null}\n <slot name=\"header\"></slot>\n </div>\n </div>\n <ix-group-context-menu>\n <slot name=\"dropdown\"></slot>\n </ix-group-context-menu>\n </div>\n <div\n class={{\n 'group-content': true,\n }}\n >\n {!this.collapsed ? (\n <Fragment>\n <slot></slot>\n <ix-group-item\n suppressSelection={true}\n focusable={false}\n class={{\n footer: true,\n 'footer-visible': this.footerVisible,\n }}\n >\n <slot\n name=\"footer\"\n onSlotchange={() => this.onSlotChange()}\n ></slot>\n </ix-group-item>\n </Fragment>\n ) : null}\n </div>\n </Host>\n );\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'legacy/mixins/fonts';\n@import 'mixins/shadow-dom/hover';\n@import 'mixins/shadow-dom/component';\n@import 'mixins/text-truncation';\n\n$focusBorderWidth: 1px;\n\n:host {\n @include ix-component;\n display: flex;\n min-height: 2.25rem;\n height: 2.25rem;\n\n > button {\n display: flex;\n height: 100%;\n width: 100%;\n align-items: center;\n justify-content: flex-start;\n position: relative;\n outline: none;\n background-color: var(--theme-group-item--background);\n border: 1px solid transparent;\n color: var(--theme-color-std-text);\n\n padding-left: 2.5rem;\n\n &:focus-visible {\n border: $focusBorderWidth solid var(--theme-color-focus-bdr);\n }\n }\n\n ix-icon {\n margin-right: $tiny-space;\n margin-top: -0.125rem;\n }\n\n .group-entry-selection-indicator {\n position: absolute;\n left: -#{$focusBorderWidth};\n height: calc(100% + #{$focusBorderWidth * 2});\n width: $tiny-space;\n }\n\n .group-entry-text {\n @include text-default;\n @include ellipsis();\n }\n\n .group-entry-text-secondary {\n &,\n span {\n @include text-default;\n @include ellipsis;\n }\n\n display: flex;\n justify-content: flex-end;\n flex-grow: 1;\n white-space: nowrap;\n color: var(--theme-color-soft-text);\n }\n}\n\n:host(.selected) {\n border-top-width: 0.062rem !important;\n background-color: var(--theme-color-ghost--selected);\n\n .group-entry-selection-indicator {\n background-color: var(--theme-group-item-indicator--background--selected);\n }\n}\n\n:host(:not(.suppress-selection):hover) {\n background-color: var(--theme-color-ghost--selected-hover);\n border-color: var(--theme-group-item--border-color--hover);\n}\n\n:host(:not(.suppress-selection).selected:hover) {\n background-color: var(--theme-color-ghost--selected-hover);\n}\n\n:host(:not(.suppress-selection):active) {\n background-color: var(--theme-color-ghost--selected-active);\n border-color: var(--theme-group-item--border-color--active);\n}\n\n:host(:not(.suppress-selection).selected:active) {\n background-color: var(--theme-color-ghost--selected-active);\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'ix-group-item',\n styleUrl: 'group-item.scss',\n shadow: true,\n})\nexport class GroupItem {\n @Element() hostElement!: HTMLIxGroupItemElement;\n\n /**\n * Group item icon\n */\n @Prop() icon: string;\n\n /**\n * Group item text\n */\n @Prop() text: string;\n\n /**\n * Group item secondary text\n */\n @Prop() secondaryText: string;\n\n /**\n * Supress the selection of the group\n */\n @Prop() suppressSelection = false;\n\n /**\n * Show selected state\n */\n @Prop() selected: boolean;\n\n /**\n * The elements tabindex attribute will get set accordingly.\n * If true tabindex will be 0, -1 otherwise.\n */\n @Prop() focusable = true;\n\n /**\n * Selection changed\n */\n @Event() selectedChanged: EventEmitter<HTMLIxGroupItemElement>;\n\n /**\n * Index\n */\n @Prop() index: number;\n\n @Listen('click', { passive: true })\n clickListen() {\n if (this.suppressSelection) {\n return;\n }\n this.selectedChanged.emit(this.hostElement);\n }\n\n render() {\n return (\n <Host\n class={{\n selected: this.selected && !this.suppressSelection,\n 'suppress-selection': this.suppressSelection,\n }}\n >\n <button tabindex={this.focusable ? 0 : -1}>\n <div class=\"group-entry-selection-indicator\"></div>\n {this.icon ? <ix-icon size=\"16\" name={this.icon}></ix-icon> : null}\n {this.text ? (\n <span class=\"group-entry-text\">\n <span title={this.text}>{this.text}</span>\n </span>\n ) : null}\n {this.secondaryText ? (\n <span class=\"group-entry-text-secondary\">\n <span title={this.secondaryText}>{this.secondaryText}</span>\n </span>\n ) : null}\n <slot></slot>\n </button>\n </Host>\n );\n }\n}\n"],"version":3}
|