@siemens/ix 2.0.0-beta.0 → 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/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/{floating-ui.dom.esm-b79b633f.js → floating-ui.dom.esm-3b936e26.js} +654 -534
- package/dist/cjs/floating-ui.dom.esm-3b936e26.js.map +1 -0
- package/dist/cjs/{icon-eeb2940a.js → icon-9e9f2faf.js} +2 -2
- package/dist/cjs/{icon-eeb2940a.js.map → icon-9e9f2faf.js.map} +1 -1
- package/dist/cjs/index-1061a1c1.js +8 -0
- package/dist/cjs/index-1061a1c1.js.map +1 -0
- package/dist/cjs/{index-e56a1d39.js → index-be499a74.js} +45 -398
- package/dist/cjs/index-be499a74.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -4
- 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 +10 -5
- 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 +1 -1
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +44 -10
- package/dist/cjs/ix-basic-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-blind.cjs.entry.js +5 -4
- 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 +3 -3
- package/dist/cjs/ix-burger-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-button.cjs.entry.js +22 -7
- 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 +3 -3
- package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -1
- 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 +2 -2
- 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 +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 +4 -4
- package/dist/cjs/ix-date-picker_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js +2 -2
- package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -2
- package/dist/cjs/ix-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 +2 -2
- package/dist/cjs/ix-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +4 -3
- package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-header.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +6 -8
- 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 +3 -3
- package/dist/cjs/ix-event-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-expanding-search.cjs.entry.js +2 -2
- 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 +28 -18
- 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 +2 -2
- package/dist/cjs/ix-group_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-group_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-icon-button.cjs.entry.js +21 -13
- 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 +2 -2
- package/dist/cjs/ix-link-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js +11 -3
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu-category.cjs.entry.js +6 -5
- package/dist/cjs/ix-menu-category.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu_9.cjs.entry.js +101 -75
- 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 +2 -2
- package/dist/cjs/ix-modal-content.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-footer.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-header.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal.cjs.entry.js.map +1 -1
- 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 +2 -2
- 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 +68 -49
- package/dist/cjs/ix-select_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ix-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-split-button_2.cjs.entry.js +7 -5
- 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 +22 -7
- package/dist/cjs/ix-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tile.cjs.entry.js +2 -2
- package/dist/cjs/ix-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toast_2.cjs.entry.js +2 -2
- 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 +2 -2
- 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 +25 -12
- package/dist/cjs/ix-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +2 -2
- package/dist/cjs/ix-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-workflow-step_2.cjs.entry.js +14 -18
- 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/my-component.cjs.entry.js +1 -1
- package/dist/cjs/my-component.cjs.entry.js.map +1 -1
- package/dist/cjs/{shadow-dom-f9b90696.js → shadow-dom-9b10f758.js} +4 -1
- package/dist/cjs/shadow-dom-9b10f758.js.map +1 -0
- package/dist/cjs/siemens-ix.cjs.js +2 -2
- package/dist/cjs/{theme-switcher-bdbd0d30.js → theme-switcher-d0386ac9.js} +36 -4
- package/dist/cjs/theme-switcher-d0386ac9.js.map +1 -0
- package/dist/collection/collection-manifest.json +13 -13
- 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 +8 -28
- 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/basic-navigation/basic-navigation.css +39 -2
- package/dist/collection/components/basic-navigation/basic-navigation.js +91 -8
- 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 +287 -208
- package/dist/collection/components/button/button.js +62 -44
- package/dist/collection/components/button/button.js.map +1 -1
- 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 +36 -0
- 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/css-grid/builder.js.map +1 -0
- package/dist/collection/components/css-grid/css-grid-item.js.map +1 -0
- package/dist/collection/components/{layout/css-grid → css-grid}/css-grid.js +1 -1
- package/dist/collection/components/css-grid/css-grid.js.map +1 -0
- package/dist/collection/components/date-picker/date-picker.css +38 -0
- package/dist/collection/components/date-time-card/date-time-card.css +38 -0
- package/dist/collection/components/datetime-picker/datetime-picker.css +36 -0
- package/dist/collection/components/drawer/drawer.css +36 -0
- package/dist/collection/components/dropdown/dropdown.css +36 -0
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown-button/dropdown-button.css +46 -4
- package/dist/collection/components/dropdown-button/dropdown-button.js +27 -1
- package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
- package/dist/collection/components/dropdown-header/dropdown-header.css +36 -0
- package/dist/collection/components/dropdown-item/dropdown-item.css +36 -0
- package/dist/collection/components/empty-state/empty-state.css +38 -0
- package/dist/collection/components/event-list/event-list.css +36 -0
- package/dist/collection/components/event-list-item/event-list-item.css +42 -4
- package/dist/collection/components/expanding-search/expanding-search.css +47 -4
- package/dist/collection/components/filter-chip/filter-chip.css +48 -1
- package/dist/collection/components/filter-chip/filter-chip.js +23 -1
- package/dist/collection/components/filter-chip/filter-chip.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.css +4 -4
- package/dist/collection/components/group-item/group-item.css +36 -0
- 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 +383 -173
- package/dist/collection/components/icon-button/icon-button.js +18 -49
- package/dist/collection/components/icon-button/icon-button.js.map +1 -1
- 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 +54 -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 +72 -66
- package/dist/collection/components/map-navigation/map-navigation.css +36 -0
- package/dist/collection/components/map-navigation/map-navigation.js +8 -0
- 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 +104 -62
- package/dist/collection/components/menu/menu.css +45 -6
- package/dist/collection/components/menu/menu.js +66 -103
- package/dist/collection/components/menu/menu.js.map +1 -1
- package/dist/collection/components/menu/test/menu.ct.js +8 -10
- package/dist/collection/components/menu/test/menu.ct.js.map +1 -1
- package/dist/collection/components/menu-about/menu-about.css +2 -2
- package/dist/collection/components/menu-about/menu-about.js +3 -3
- package/dist/collection/components/menu-about/menu-about.js.map +1 -1
- package/dist/collection/components/menu-about-news/menu-about-news.css +36 -0
- package/dist/collection/components/menu-avatar/menu-avatar.css +46 -2
- package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
- package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +36 -1
- package/dist/collection/components/menu-category/menu-category.css +41 -0
- package/dist/collection/components/menu-category/menu-category.js +3 -3
- package/dist/collection/components/menu-category/menu-category.js.map +1 -1
- package/dist/collection/components/menu-category/test/menu-category.ct.js +27 -10
- package/dist/collection/components/menu-category/test/menu-category.ct.js.map +1 -1
- package/dist/collection/components/menu-item/menu-item.css +11 -6
- package/dist/collection/components/menu-item/menu-item.js +7 -1
- package/dist/collection/components/menu-item/menu-item.js.map +1 -1
- package/dist/collection/components/menu-settings/menu-settings.css +40 -1
- package/dist/collection/components/menu-settings/menu-settings.js +1 -1
- package/dist/collection/components/menu-settings/menu-settings.js.map +1 -1
- package/dist/collection/components/message-bar/message-bar.css +38 -0
- package/dist/collection/components/modal/modal.css +3 -3
- package/dist/collection/components/modal-content/modal-content.css +36 -0
- package/dist/collection/components/modal-footer/modal-footer.css +36 -0
- package/dist/collection/components/modal-header/modal-header.css +36 -0
- 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 +36 -0
- 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/{animated-tab/animated-tab.css → row/row.css} +7 -4
- 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 +71 -6
- package/dist/collection/components/select/select.js +118 -55
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select/test/select.ct.js +10 -6
- package/dist/collection/components/select/test/select.ct.js.map +1 -1
- package/dist/collection/components/select-item/select-item.js +1 -1
- package/dist/collection/components/select-item/select-item.js.map +1 -1
- package/dist/collection/components/spinner/spinner.css +148 -0
- package/dist/collection/components/split-button/split-button.css +36 -0
- package/dist/collection/components/split-button/split-button.js +1 -2
- package/dist/collection/components/split-button/split-button.js.map +1 -1
- package/dist/collection/components/split-button-item/split-button-item.js +4 -1
- package/dist/collection/components/split-button-item/split-button-item.js.map +1 -1
- package/dist/collection/components/tab-item/tab-item.css +36 -1
- package/dist/collection/components/tab-item/tab-item.js +34 -1
- package/dist/collection/components/tab-item/tab-item.js.map +1 -1
- package/dist/collection/components/tabs/tabs.css +36 -0
- package/dist/collection/components/tabs/tabs.js +46 -5
- 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 +36 -0
- package/dist/collection/components/time-picker/time-picker.css +274 -13
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js.map +1 -1
- package/dist/collection/components/toast/toast.css +36 -0
- package/dist/collection/components/toggle/toggle.css +36 -0
- 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 +391 -0
- package/dist/collection/components/typography/typography.js +95 -14
- package/dist/collection/components/typography/typography.js.map +1 -1
- package/dist/collection/components/upload/upload.css +36 -0
- 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/{screen → application-layout}/index.js +1 -1
- 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/shadow-dom.js +6 -0
- package/dist/collection/components/utils/shadow-dom.js.map +1 -1
- 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 +6 -6
- package/dist/collection/components/validation-tooltip/validation-tooltip.js.map +1 -1
- package/dist/collection/components/workflow-step/workflow-step.css +40 -2
- package/dist/collection/components/workflow-step/workflow-step.js +6 -13
- 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 +38 -0
- package/dist/collection/components/workflow-steps/workflow-steps.js +8 -26
- package/dist/collection/components/workflow-steps/workflow-steps.js.map +1 -1
- package/dist/components/application-header.js +9 -5
- package/dist/components/application-header.js.map +1 -1
- 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 +1 -1
- package/dist/components/burger-menu.js.map +1 -1
- package/dist/components/button.js +24 -9
- 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 +86 -7
- package/dist/components/context.js.map +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-picker.js.map +1 -1
- package/dist/components/date-time-card.js +1 -1
- package/dist/components/date-time-card.js.map +1 -1
- package/dist/components/dropdown-item.js +2 -4
- package/dist/components/dropdown-item.js.map +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/dropdown.js.map +1 -1
- package/dist/components/filter-chip.js +5 -3
- package/dist/components/filter-chip.js.map +1 -1
- package/dist/components/floating-ui.dom.esm.js +653 -533
- package/dist/components/floating-ui.dom.esm.js.map +1 -1
- package/dist/components/group-context-menu.js +2 -16
- package/dist/components/group-context-menu.js.map +1 -1
- package/dist/components/group-item.js +1 -1
- package/dist/components/group-item.js.map +1 -1
- package/dist/components/icon-button.js +19 -14
- package/dist/components/icon-button.js.map +1 -1
- package/dist/components/index.js +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-animated-tab.d.ts → ix-application.d.ts} +4 -4
- package/dist/components/ix-application.js +128 -0
- package/dist/components/ix-application.js.map +1 -0
- package/dist/components/ix-basic-navigation.js +45 -10
- package/dist/components/ix-basic-navigation.js.map +1 -1
- package/dist/components/ix-blind.js +13 -5
- 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 +1 -1
- package/dist/components/ix-card-list.js.map +1 -1
- package/dist/components/ix-category-filter.js +76 -41
- package/dist/components/ix-category-filter.js.map +1 -1
- package/dist/components/ix-chip.js +1 -1
- package/dist/components/ix-chip.js.map +1 -1
- package/dist/components/{ix-index-button.d.ts → ix-col.d.ts} +4 -4
- package/dist/components/ix-col.js +96 -0
- package/dist/components/ix-col.js.map +1 -0
- 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 +23 -17
- package/dist/components/ix-datetime-picker.js.map +1 -1
- package/dist/components/ix-drawer.js +1 -1
- package/dist/components/ix-drawer.js.map +1 -1
- package/dist/components/ix-dropdown-button.js +4 -2
- package/dist/components/ix-dropdown-button.js.map +1 -1
- package/dist/components/ix-dropdown-header.js +1 -1
- package/dist/components/ix-dropdown-header.js.map +1 -1
- package/dist/components/ix-empty-state.js +1 -1
- package/dist/components/ix-empty-state.js.map +1 -1
- package/dist/components/ix-event-list-item.js +1 -1
- package/dist/components/ix-event-list-item.js.map +1 -1
- package/dist/components/ix-event-list.js +1 -1
- package/dist/components/ix-event-list.js.map +1 -1
- package/dist/components/ix-expanding-search.js +1 -1
- 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 +27 -18
- 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 +3 -2
- 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.js +1 -1
- package/dist/components/ix-link-button.js.map +1 -1
- package/dist/components/ix-map-navigation.js +8 -1
- package/dist/components/ix-map-navigation.js.map +1 -1
- package/dist/components/ix-menu-about-news.js +1 -1
- package/dist/components/ix-menu-about-news.js.map +1 -1
- package/dist/components/ix-menu-about.js +4 -4
- package/dist/components/ix-menu-about.js.map +1 -1
- package/dist/components/ix-menu-avatar.js +3 -3
- package/dist/components/ix-menu-avatar.js.map +1 -1
- package/dist/components/ix-menu-category.js +4 -4
- package/dist/components/ix-menu-category.js.map +1 -1
- package/dist/components/ix-menu-settings.js +2 -2
- package/dist/components/ix-menu-settings.js.map +1 -1
- package/dist/components/ix-menu.js +80 -62
- package/dist/components/ix-menu.js.map +1 -1
- package/dist/components/ix-message-bar.js +1 -1
- package/dist/components/ix-message-bar.js.map +1 -1
- package/dist/components/ix-modal-content.js +1 -1
- package/dist/components/ix-modal-content.js.map +1 -1
- package/dist/components/ix-modal-footer.js +1 -1
- package/dist/components/ix-modal-footer.js.map +1 -1
- package/dist/components/ix-modal-header.js +1 -1
- package/dist/components/ix-modal-header.js.map +1 -1
- package/dist/components/ix-modal.js +1 -1
- package/dist/components/ix-modal.js.map +1 -1
- package/dist/components/ix-pagination.js +42 -24
- package/dist/components/ix-pagination.js.map +1 -1
- package/dist/components/ix-pill.js +1 -1
- 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 +4 -1
- package/dist/components/ix-split-button-item.js.map +1 -1
- package/dist/components/ix-split-button.js +2 -3
- package/dist/components/ix-split-button.js.map +1 -1
- package/dist/components/ix-tile.js +1 -1
- package/dist/components/ix-tile.js.map +1 -1
- package/dist/components/{ix-animated-tabs.d.ts → ix-toggle-button.d.ts} +4 -4
- 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 +1 -1
- 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 +1 -1
- package/dist/components/ix-upload.js.map +1 -1
- package/dist/components/ix-validation-tooltip.js +8 -7
- package/dist/components/ix-validation-tooltip.js.map +1 -1
- package/dist/components/ix-workflow-step.js +5 -12
- package/dist/components/ix-workflow-step.js.map +1 -1
- package/dist/components/ix-workflow-steps.js +9 -7
- package/dist/components/ix-workflow-steps.js.map +1 -1
- package/dist/components/map-navigation-overlay.js +3 -2
- package/dist/components/map-navigation-overlay.js.map +1 -1
- package/dist/components/menu-avatar-item.js +1 -1
- package/dist/components/menu-avatar-item.js.map +1 -1
- package/dist/components/menu-item.js +8 -2
- package/dist/components/menu-item.js.map +1 -1
- package/dist/components/menu-service.js +79 -1
- package/dist/components/menu-service.js.map +1 -1
- package/dist/components/my-component.js.map +1 -1
- package/dist/components/select-item.js +3 -2
- package/dist/components/select-item.js.map +1 -1
- package/dist/components/select.js +70 -49
- package/dist/components/select.js.map +1 -1
- package/dist/{esm/shadow-dom-6860b1c4.js → components/shadow-dom.js} +4 -1
- package/dist/components/shadow-dom.js.map +1 -0
- package/dist/components/spinner.js +1 -1
- package/dist/components/spinner.js.map +1 -1
- package/dist/components/tab-item.js +11 -3
- package/dist/components/tab-item.js.map +1 -1
- package/dist/components/tabs.js +23 -8
- 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 +18 -12
- package/dist/components/time-picker.js.map +1 -1
- package/dist/components/toast.js +1 -1
- 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 +28 -12
- package/dist/components/typography.js.map +1 -1
- 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/{floating-ui.dom.esm-9b203a02.js → floating-ui.dom.esm-cbe44820.js} +654 -534
- package/dist/esm/floating-ui.dom.esm-cbe44820.js.map +1 -0
- package/dist/esm/{icon-4ac90a6d.js → icon-f54a8bc4.js} +2 -2
- package/dist/esm/{icon-4ac90a6d.js.map → icon-f54a8bc4.js.map} +1 -1
- package/dist/esm/index-7b24b7fa.js +6 -0
- package/dist/esm/index-7b24b7fa.js.map +1 -0
- package/dist/esm/{index-7334ee80.js → index-eb0be730.js} +46 -398
- package/dist/esm/index-eb0be730.js.map +1 -0
- package/dist/esm/index.js +3 -3
- 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 +10 -5
- 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 +1 -1
- package/dist/esm/ix-basic-navigation.entry.js +44 -10
- package/dist/esm/ix-basic-navigation.entry.js.map +1 -1
- package/dist/esm/ix-blind.entry.js +5 -4
- 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 +3 -3
- package/dist/esm/ix-burger-menu.entry.js.map +1 -1
- package/dist/esm/ix-button.entry.js +22 -7
- 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 +3 -3
- package/dist/esm/ix-card_2.entry.js.map +1 -1
- 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 +2 -2
- 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 +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 +4 -4
- package/dist/esm/ix-date-picker_2.entry.js.map +1 -1
- package/dist/esm/ix-date-time-card.entry.js +2 -2
- package/dist/esm/ix-date-time-card.entry.js.map +1 -1
- package/dist/esm/ix-datetime-picker.entry.js +2 -2
- package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
- package/dist/esm/ix-divider.entry.js +1 -1
- package/dist/esm/ix-drawer.entry.js +2 -2
- package/dist/esm/ix-drawer.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-button.entry.js +4 -3
- package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-header.entry.js +2 -2
- package/dist/esm/ix-dropdown-header.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
- package/dist/esm/ix-dropdown_2.entry.js +5 -7
- 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 +3 -3
- package/dist/esm/ix-event-list_2.entry.js.map +1 -1
- package/dist/esm/ix-expanding-search.entry.js +2 -2
- 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 +28 -18
- 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 +2 -2
- package/dist/esm/ix-group_2.entry.js +4 -4
- package/dist/esm/ix-group_2.entry.js.map +1 -1
- package/dist/esm/ix-icon-button.entry.js +21 -13
- 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 +2 -2
- package/dist/esm/ix-link-button.entry.js.map +1 -1
- package/dist/esm/ix-map-navigation_2.entry.js +11 -3
- package/dist/esm/ix-map-navigation_2.entry.js.map +1 -1
- package/dist/esm/ix-menu-category.entry.js +6 -5
- package/dist/esm/ix-menu-category.entry.js.map +1 -1
- package/dist/esm/ix-menu_9.entry.js +101 -75
- 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 +2 -2
- package/dist/esm/ix-modal-content.entry.js.map +1 -1
- package/dist/esm/ix-modal-example.entry.js +1 -1
- package/dist/esm/ix-modal-footer.entry.js +2 -2
- package/dist/esm/ix-modal-footer.entry.js.map +1 -1
- package/dist/esm/ix-modal-header.entry.js +2 -2
- package/dist/esm/ix-modal-header.entry.js.map +1 -1
- package/dist/esm/ix-modal-loading.entry.js +1 -1
- package/dist/esm/ix-modal.entry.js +2 -2
- package/dist/esm/ix-modal.entry.js.map +1 -1
- 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 +2 -2
- 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 +68 -49
- package/dist/esm/ix-select_2.entry.js.map +1 -1
- package/dist/esm/ix-spinner.entry.js +2 -2
- package/dist/esm/ix-spinner.entry.js.map +1 -1
- package/dist/esm/ix-split-button_2.entry.js +7 -5
- 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 +22 -7
- package/dist/esm/ix-tabs.entry.js.map +1 -1
- package/dist/esm/ix-tile.entry.js +2 -2
- package/dist/esm/ix-tile.entry.js.map +1 -1
- package/dist/esm/ix-toast_2.entry.js +2 -2
- 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 +2 -2
- 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 +25 -12
- package/dist/esm/ix-typography.entry.js.map +1 -1
- package/dist/esm/ix-upload.entry.js +2 -2
- package/dist/esm/ix-upload.entry.js.map +1 -1
- package/dist/esm/ix-validation-tooltip.entry.js +8 -8
- package/dist/esm/ix-validation-tooltip.entry.js.map +1 -1
- package/dist/esm/ix-workflow-step_2.entry.js +14 -18
- 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/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-7498e4f2.js → theme-switcher-9ede3823.js} +36 -4
- 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-8c14a4a3.entry.js.map → p-00616f87.entry.js.map} +1 -1
- 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-b89172b4.entry.js → p-0e2045b9.entry.js} +2 -2
- 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-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-157f7ec0.entry.js → p-26855b3f.entry.js} +2 -2
- package/dist/siemens-ix/p-281fa225.entry.js +2 -0
- package/dist/siemens-ix/{p-33670e98.entry.js.map → p-281fa225.entry.js.map} +1 -1
- package/dist/siemens-ix/p-2a29e187.entry.js +2 -0
- package/dist/siemens-ix/{p-5fedb19b.entry.js.map → p-2a29e187.entry.js.map} +1 -1
- 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-0e86b47b.entry.js → p-3983ee89.entry.js} +2 -2
- 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-918450cd.entry.js → p-43497703.entry.js} +2 -2
- package/dist/siemens-ix/p-43497703.entry.js.map +1 -0
- package/dist/siemens-ix/{p-0fab8cae.entry.js → p-4659c550.entry.js} +2 -2
- 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-c0345859.entry.js.map → p-49b9f9f5.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-02f01e39.entry.js → p-4dbae019.entry.js} +2 -2
- 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-b6d52b6f.entry.js.map → p-553ebcb1.entry.js.map} +1 -1
- 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-1b1bc523.entry.js.map → p-737fca1b.entry.js.map} +1 -1
- package/dist/siemens-ix/p-76a509c7.js +3 -0
- package/dist/siemens-ix/p-76a509c7.js.map +1 -0
- package/dist/siemens-ix/{p-4d194d55.entry.js → p-7918fd50.entry.js} +2 -2
- 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-c4ea8815.entry.js.map → p-7a884056.entry.js.map} +1 -1
- 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-db74796e.js → p-8c7d1e06.js} +2 -2
- 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-a0fdaa04.entry.js +2 -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-b21bc31c.entry.js.map → p-b007e4b4.entry.js.map} +1 -1
- 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-34807901.entry.js → p-b25c770f.entry.js} +2 -2
- package/dist/siemens-ix/{p-34807901.entry.js.map → p-b25c770f.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-f38e7420.entry.js → p-b38eff08.entry.js} +2 -2
- 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-f0219d7a.entry.js → p-b735ee5e.entry.js} +2 -2
- package/dist/siemens-ix/p-c1ac2d01.entry.js +2 -0
- package/dist/siemens-ix/{p-06603826.entry.js.map → p-c1ac2d01.entry.js.map} +1 -1
- 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-9547706d.entry.js.map → p-cd0e77f1.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-d48d74af.entry.js → p-cd1e0061.entry.js} +2 -2
- package/dist/siemens-ix/p-ce0a7c1a.entry.js +2 -0
- package/dist/siemens-ix/{p-07a0b330.entry.js.map → p-ce0a7c1a.entry.js.map} +1 -1
- package/dist/siemens-ix/p-d214f57a.entry.js +2 -0
- package/dist/siemens-ix/{p-a9619a92.entry.js.map → p-d214f57a.entry.js.map} +1 -1
- 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-0dea55bf.entry.js → p-d87de06f.entry.js} +2 -2
- package/dist/siemens-ix/{p-d7e8417d.entry.js → p-da133606.entry.js} +2 -2
- 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-d81d0f62.entry.js.map → p-dc77f962.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-81333042.entry.js → p-de013166.entry.js} +2 -2
- 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-2ea3d53a.entry.js.map → p-e2c200f3.entry.js.map} +1 -1
- package/dist/siemens-ix/p-e610b2b8.entry.js +2 -0
- package/dist/siemens-ix/{p-e8f2e141.entry.js.map → p-e610b2b8.entry.js.map} +1 -1
- 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-7d2aec76.entry.js.map → p-f71da594.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-20aa7350.entry.js → p-f88b25d7.entry.js} +2 -2
- package/dist/siemens-ix/p-f9b004ba.entry.js +2 -0
- package/dist/siemens-ix/{p-bf019e35.entry.js.map → p-f9b004ba.entry.js.map} +1 -1
- 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-a64d88de.entry.js.map → p-feb80449.entry.js.map} +1 -1
- package/dist/siemens-ix/siemens-ix-core.css +1 -12289
- package/dist/siemens-ix/siemens-ix.css +8249 -11730
- 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 -1062
- package/dist/siemens-ix/theme/classic-light.css +1 -1062
- package/dist/siemens-ix/theme/legacy-classic-dark.css +1 -1061
- package/dist/siemens-ix/theme/legacy-classic-light.css +1 -1061
- package/dist/types/components/application/application.d.ts +36 -0
- package/dist/types/components/application-header/application-header.d.ts +2 -5
- 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/basic-navigation/basic-navigation.d.ts +14 -2
- 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 +25 -0
- package/dist/types/components/button/button.d.ts +4 -10
- 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/dropdown-button/dropdown-button.d.ts +7 -0
- package/dist/types/components/filter-chip/filter-chip.d.ts +5 -0
- 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/icon-button/base-icon-button.d.ts +2 -0
- package/dist/types/components/icon-button/icon-button.d.ts +2 -13
- 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/map-navigation/map-navigation.d.ts +1 -0
- package/dist/types/components/menu/menu.d.ts +9 -14
- package/dist/types/components/menu-item/menu-item.d.ts +2 -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 +23 -7
- 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/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/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/shadow-dom.d.ts +1 -1
- package/dist/types/components/utils/theme-switcher.d.ts +10 -3
- package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +1 -1
- package/dist/types/components/workflow-step/workflow-step.d.ts +1 -2
- package/dist/types/components/workflow-steps/test/workflow-steps.ct.d.ts +1 -0
- package/dist/types/components/workflow-steps/workflow-steps.d.ts +0 -5
- package/dist/types/components.d.ts +556 -167
- package/package.json +7 -5
- package/scss/_core.scss +66 -0
- package/scss/components/_checkboxes.scss +9 -3
- package/scss/components/_fonts.scss +131 -0
- package/scss/components/_table.scss +1 -1
- package/scss/components/form/_input.scss +155 -0
- package/scss/ix-core.scss +2 -75
- package/scss/ix.scss +3 -74
- package/scss/{_fonts.scss → legacy/_fonts.scss} +1 -1
- package/scss/{components → legacy/components}/_buttons.scss +14 -12
- package/scss/{components → legacy/components}/_dropdown.scss +1 -1
- package/scss/{components → legacy/components}/_forms.scss +6 -1
- package/scss/{components → legacy/components}/_modal.scss +1 -1
- 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 +3 -1
- package/scss/mixins/_scrollbar.scss +44 -0
- package/scss/mixins/shadow-dom/_component.scss +4 -0
- package/scss/theme/classic-dark/_boxShadow.scss +5 -5
- 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/_sizing.scss +12 -0
- package/scss/theme/classic-dark/_spacing.scss +12 -0
- package/scss/theme/classic-dark/_typography.scss +39 -16
- package/scss/theme/classic-light/_boxShadow.scss +5 -5
- 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/_sizing.scss +12 -0
- package/scss/theme/classic-light/_spacing.scss +12 -0
- package/scss/theme/classic-light/_typography.scss +39 -16
- package/scss/theme/legacy-classic-dark/_fontFamilies.scss +2 -1
- package/scss/theme/legacy-classic-dark/_fontSizes.scss +11 -0
- package/scss/theme/legacy-classic-dark/_fontWeights.scss +2 -1
- package/scss/theme/legacy-classic-dark/_index.scss +7 -0
- package/scss/theme/legacy-classic-dark/_letterSpacing.scss +13 -0
- package/scss/theme/legacy-classic-dark/_lineHeights.scss +4 -1
- package/scss/theme/legacy-classic-dark/_sizing.scss +12 -0
- package/scss/theme/legacy-classic-dark/_spacing.scss +12 -0
- package/scss/theme/legacy-classic-dark/_typography.scss +39 -16
- package/scss/theme/legacy-classic-light/_fontFamilies.scss +2 -1
- package/scss/theme/legacy-classic-light/_fontSizes.scss +11 -0
- package/scss/theme/legacy-classic-light/_fontWeights.scss +2 -1
- package/scss/theme/legacy-classic-light/_index.scss +7 -0
- package/scss/theme/legacy-classic-light/_letterSpacing.scss +13 -0
- package/scss/theme/legacy-classic-light/_lineHeights.scss +4 -1
- package/scss/theme/legacy-classic-light/_sizing.scss +12 -0
- package/scss/theme/legacy-classic-light/_spacing.scss +12 -0
- package/scss/theme/legacy-classic-light/_typography.scss +39 -16
- package/dist/cjs/base-button-497db257.js +0 -35
- package/dist/cjs/base-button-497db257.js.map +0 -1
- package/dist/cjs/context-2ce9a350.js +0 -26
- package/dist/cjs/context-2ce9a350.js.map +0 -1
- package/dist/cjs/floating-ui.dom.esm-b79b633f.js.map +0 -1
- package/dist/cjs/index-e56a1d39.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-index-button.cjs.entry.js +0 -28
- package/dist/cjs/ix-index-button.cjs.entry.js.map +0 -1
- package/dist/cjs/menu-service-d1b87142.js +0 -80
- package/dist/cjs/menu-service-d1b87142.js.map +0 -1
- package/dist/cjs/service-0e27b06b.js +0 -145
- package/dist/cjs/service-0e27b06b.js.map +0 -1
- package/dist/cjs/shadow-dom-f9b90696.js.map +0 -1
- package/dist/cjs/theme-switcher-bdbd0d30.js.map +0 -1
- 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/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.map +0 -1
- package/dist/collection/components/utils/screen/context.js +0 -34
- package/dist/collection/components/utils/screen/context.js.map +0 -1
- package/dist/collection/components/utils/screen/index.js.map +0 -1
- package/dist/collection/components/utils/screen/mode.js +0 -85
- package/dist/collection/components/utils/screen/mode.js.map +0 -1
- package/dist/collection/components/utils/screen/service.js +0 -68
- 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.js +0 -39
- package/dist/components/ix-animated-tab.js.map +0 -1
- package/dist/components/ix-animated-tabs.js +0 -224
- package/dist/components/ix-animated-tabs.js.map +0 -1
- package/dist/components/ix-index-button.js +0 -8
- package/dist/components/ix-index-button.js.map +0 -1
- package/dist/components/service.js +0 -143
- 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-381170ae.js +0 -22
- package/dist/esm/context-381170ae.js.map +0 -1
- package/dist/esm/floating-ui.dom.esm-9b203a02.js.map +0 -1
- package/dist/esm/index-7334ee80.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-index-button.entry.js +0 -24
- package/dist/esm/ix-index-button.entry.js.map +0 -1
- package/dist/esm/menu-service-b3076949.js +0 -78
- package/dist/esm/menu-service-b3076949.js.map +0 -1
- package/dist/esm/service-586129b5.js +0 -143
- package/dist/esm/service-586129b5.js.map +0 -1
- package/dist/esm/shadow-dom-6860b1c4.js.map +0 -1
- package/dist/esm/theme-switcher-7498e4f2.js.map +0 -1
- package/dist/siemens-ix/p-00f74fc9.entry.js +0 -2
- package/dist/siemens-ix/p-00f74fc9.entry.js.map +0 -1
- package/dist/siemens-ix/p-01c37ebe.entry.js +0 -2
- package/dist/siemens-ix/p-01c37ebe.entry.js.map +0 -1
- package/dist/siemens-ix/p-0574cf88.entry.js +0 -2
- package/dist/siemens-ix/p-0574cf88.entry.js.map +0 -1
- package/dist/siemens-ix/p-06603826.entry.js +0 -2
- package/dist/siemens-ix/p-06fcaee3.entry.js +0 -2
- package/dist/siemens-ix/p-06fcaee3.entry.js.map +0 -1
- package/dist/siemens-ix/p-07a0b330.entry.js +0 -2
- package/dist/siemens-ix/p-09ce5f12.entry.js +0 -2
- package/dist/siemens-ix/p-09ce5f12.entry.js.map +0 -1
- package/dist/siemens-ix/p-0c9ead45.entry.js +0 -2
- package/dist/siemens-ix/p-0c9ead45.entry.js.map +0 -1
- package/dist/siemens-ix/p-15996fa7.entry.js +0 -2
- package/dist/siemens-ix/p-15996fa7.entry.js.map +0 -1
- package/dist/siemens-ix/p-1b1bc523.entry.js +0 -2
- package/dist/siemens-ix/p-2ea3d53a.entry.js +0 -2
- package/dist/siemens-ix/p-303b8c2f.entry.js +0 -2
- package/dist/siemens-ix/p-303b8c2f.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-33670e98.entry.js +0 -2
- package/dist/siemens-ix/p-34633470.entry.js +0 -2
- package/dist/siemens-ix/p-34633470.entry.js.map +0 -1
- package/dist/siemens-ix/p-38e69215.entry.js +0 -2
- package/dist/siemens-ix/p-38e69215.entry.js.map +0 -1
- package/dist/siemens-ix/p-3a99b0c8.entry.js +0 -2
- package/dist/siemens-ix/p-3a99b0c8.entry.js.map +0 -1
- package/dist/siemens-ix/p-45738e84.js +0 -2
- package/dist/siemens-ix/p-45738e84.js.map +0 -1
- package/dist/siemens-ix/p-4d194d55.entry.js.map +0 -1
- package/dist/siemens-ix/p-56a27b34.entry.js +0 -2
- package/dist/siemens-ix/p-56a27b34.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-5fedb19b.entry.js +0 -2
- package/dist/siemens-ix/p-627148db.entry.js +0 -2
- package/dist/siemens-ix/p-627148db.entry.js.map +0 -1
- package/dist/siemens-ix/p-62f4db99.entry.js +0 -2
- package/dist/siemens-ix/p-62f4db99.entry.js.map +0 -1
- package/dist/siemens-ix/p-63b82e40.entry.js +0 -2
- package/dist/siemens-ix/p-63b82e40.entry.js.map +0 -1
- package/dist/siemens-ix/p-68c44614.entry.js +0 -2
- package/dist/siemens-ix/p-68c44614.entry.js.map +0 -1
- package/dist/siemens-ix/p-7021c2d1.entry.js +0 -2
- package/dist/siemens-ix/p-7021c2d1.entry.js.map +0 -1
- package/dist/siemens-ix/p-709d38fe.entry.js +0 -2
- package/dist/siemens-ix/p-709d38fe.entry.js.map +0 -1
- package/dist/siemens-ix/p-785726e8.entry.js +0 -2
- package/dist/siemens-ix/p-785726e8.entry.js.map +0 -1
- package/dist/siemens-ix/p-7d2aec76.entry.js +0 -2
- package/dist/siemens-ix/p-81333042.entry.js.map +0 -1
- package/dist/siemens-ix/p-8c14a4a3.entry.js +0 -2
- package/dist/siemens-ix/p-8ce73af1.entry.js +0 -2
- package/dist/siemens-ix/p-8ce73af1.entry.js.map +0 -1
- package/dist/siemens-ix/p-904aa275.entry.js +0 -2
- package/dist/siemens-ix/p-904aa275.entry.js.map +0 -1
- package/dist/siemens-ix/p-918450cd.entry.js.map +0 -1
- package/dist/siemens-ix/p-9547706d.entry.js +0 -2
- package/dist/siemens-ix/p-9903e755.entry.js +0 -2
- package/dist/siemens-ix/p-9903e755.entry.js.map +0 -1
- package/dist/siemens-ix/p-9d264ca8.entry.js +0 -2
- package/dist/siemens-ix/p-9d264ca8.entry.js.map +0 -1
- package/dist/siemens-ix/p-a64d88de.entry.js +0 -2
- package/dist/siemens-ix/p-a8e8a942.entry.js +0 -2
- package/dist/siemens-ix/p-a9619a92.entry.js +0 -2
- package/dist/siemens-ix/p-b21bc31c.entry.js +0 -2
- package/dist/siemens-ix/p-b6d52b6f.entry.js +0 -2
- package/dist/siemens-ix/p-b89172b4.entry.js.map +0 -1
- package/dist/siemens-ix/p-b899b25b.js +0 -3
- package/dist/siemens-ix/p-b899b25b.js.map +0 -1
- package/dist/siemens-ix/p-bf019e35.entry.js +0 -2
- package/dist/siemens-ix/p-c0345859.entry.js +0 -2
- package/dist/siemens-ix/p-c4ea8815.entry.js +0 -2
- package/dist/siemens-ix/p-c84a43ef.entry.js +0 -2
- package/dist/siemens-ix/p-c84a43ef.entry.js.map +0 -1
- package/dist/siemens-ix/p-d0a8aa6f.entry.js +0 -2
- package/dist/siemens-ix/p-d43bf856.js +0 -2
- package/dist/siemens-ix/p-d43bf856.js.map +0 -1
- package/dist/siemens-ix/p-d737ad96.js +0 -2
- package/dist/siemens-ix/p-d737ad96.js.map +0 -1
- package/dist/siemens-ix/p-d7e8417d.entry.js.map +0 -1
- package/dist/siemens-ix/p-d81d0f62.entry.js +0 -2
- package/dist/siemens-ix/p-d991a3d6.entry.js +0 -2
- package/dist/siemens-ix/p-d991a3d6.entry.js.map +0 -1
- package/dist/siemens-ix/p-dbca4dd5.entry.js +0 -2
- package/dist/siemens-ix/p-dbca4dd5.entry.js.map +0 -1
- package/dist/siemens-ix/p-e1c92dcb.entry.js +0 -2
- package/dist/siemens-ix/p-e1c92dcb.entry.js.map +0 -1
- package/dist/siemens-ix/p-e275814e.js +0 -2
- package/dist/siemens-ix/p-e275814e.js.map +0 -1
- package/dist/siemens-ix/p-e3db25ef.entry.js +0 -2
- package/dist/siemens-ix/p-e3db25ef.entry.js.map +0 -1
- package/dist/siemens-ix/p-e8f2e141.entry.js +0 -2
- package/dist/siemens-ix/p-eca0b89c.entry.js +0 -2
- package/dist/siemens-ix/p-eca0b89c.entry.js.map +0 -1
- package/dist/siemens-ix/p-ef73f7e3.entry.js +0 -2
- package/dist/siemens-ix/p-ef73f7e3.entry.js.map +0 -1
- package/dist/siemens-ix/p-f22423c2.js +0 -2
- package/dist/siemens-ix/p-f22423c2.js.map +0 -1
- package/dist/siemens-ix/p-f4d634f5.entry.js +0 -2
- package/dist/siemens-ix/p-f4d634f5.entry.js.map +0 -1
- package/dist/siemens-ix/p-fafe1aeb.entry.js +0 -2
- package/dist/siemens-ix/p-fafe1aeb.entry.js.map +0 -1
- package/dist/siemens-ix/p-fe073f2a.entry.js +0 -2
- package/dist/siemens-ix/p-fe073f2a.entry.js.map +0 -1
- package/dist/siemens-ix/p-ff17104c.entry.js +0 -2
- package/dist/siemens-ix/p-ff17104c.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/index-button/index-button.d.ts +0 -16
- package/dist/types/components/utils/screen/context.d.ts +0 -5
- package/dist/types/components/utils/screen/index.d.ts +0 -1
- package/dist/types/components/utils/screen/mode.d.ts +0 -13
- package/dist/types/components/utils/screen/service.d.ts +0 -15
- /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-157f7ec0.entry.js.map → p-26855b3f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0e86b47b.entry.js.map → p-3983ee89.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0fab8cae.entry.js.map → p-4659c550.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-02f01e39.entry.js.map → p-4dbae019.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-db74796e.js.map → p-8c7d1e06.js.map} +0 -0
- /package/dist/siemens-ix/{p-a8e8a942.entry.js.map → p-a0fdaa04.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f38e7420.entry.js.map → p-b38eff08.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f0219d7a.entry.js.map → p-b735ee5e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d48d74af.entry.js.map → p-cd1e0061.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0dea55bf.entry.js.map → p-d87de06f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d0a8aa6f.entry.js.map → p-db174600.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-20aa7350.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-action-card.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,aAAa,GAAG,
|
|
1
|
+
{"file":"ix-action-card.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,aAAa,GAAG,y+IAAy+I;;MCsBl/I,YAAY;;;mBAIc,SAAS;gBAKX,SAAS;;;oBAezB,KAAK;;EAExB,MAAM;IACJ,QACEA,QAACC,UAAI,IACH,KAAK,EAAE;QACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACxB,IAEDD,qBAAS,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,KAAK,EAAE,SAAS,IAC9CA,iCACG,IAAI,CAAC,IAAI,IACRA,qBAAS,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAC,IAAI,GAAW,IAC3D,IAAI,EACRA,qBACG,IAAI,CAAC,OAAO,IACXA,2BAAe,MAAM,EAAC,IAAI,IAAE,IAAI,CAAC,OAAO,CAAiB,IACvD,IAAI,EACP,IAAI,CAAC,UAAU,IACdA,2BACE,MAAM,EAAC,IAAI,EACX,KAAK,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS,GAAG,MAAM,GAAG,SAAS,IAErD,IAAI,CAAC,UAAU,CACF,IACd,IAAI,EACRA,qBAAa,CACT,CACU,CACV,CACL,EACP;GACH;;;;;;","names":["h","Host"],"sources":["./src/components/action-card/action-card.scss?tag=ix-action-card&encapsulation=shadow","./src/components/action-card/action-card.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 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: block;\n position: relative;\n min-width: 13.375rem;\n width: 13.375rem;\n height: 7.5rem;\n min-height: 7.5rem;\n cursor: pointer;\n\n margin: 0.25rem 0;\n\n ix-card {\n width: 100%;\n height: 100%;\n }\n\n ix-card.card-insight:hover {\n --ix-card-background: var(--theme-color-ghost--hover);\n }\n\n ix-card.card-insight:active {\n --ix-card-background: var(--theme-color-ghost--active);\n }\n\n ix-card.card-notification:hover {\n --ix-card-background: var(--theme-color-component-1--hover);\n }\n\n ix-card.card-notification:active {\n --ix-card-background: var(--theme-color-component-1--active);\n }\n\n ix-card.card-alarm:hover {\n --ix-card-background: var(--theme-color-alarm--hover);\n }\n\n ix-card.card-alarm:active {\n --ix-card-background: var(--theme-color-alarm--active);\n }\n\n ix-card.card-critical:hover {\n --ix-card-background: var(--theme-color-critical--hover);\n }\n\n ix-card.card-critical:active {\n --ix-card-background: var(--theme-color-critical--active);\n }\n\n ix-card.card-warning:hover {\n --ix-card-background: var(--theme-color-warning--hover);\n }\n\n ix-card.card-warning:active {\n --ix-card-background: var(--theme-color-warning--active);\n }\n\n ix-card.card-success:hover {\n --ix-card-background: var(--theme-color-success--hover);\n }\n\n ix-card.card-success:active {\n --ix-card-background: var(--theme-color-success--active);\n }\n\n ix-card.card-info:hover {\n --ix-card-background: var(--theme-color-info--hover);\n }\n\n ix-card.card-info:active {\n --ix-card-background: var(--theme-color-info--active);\n }\n\n ix-card.card-neutral:hover {\n --ix-card-background: var(--theme-color-neutral--hover);\n }\n\n ix-card.card-neutral:active {\n --ix-card-background: var(--theme-color-neutral--active);\n }\n}\n\n:host(:hover) {\n ix-card.card-insight:hover {\n --ix-card-background: var(--theme-color-ghost--hover);\n }\n\n ix-card.card-notification:hover {\n --ix-card-background: var(--theme-color-component-1--hover);\n }\n\n ix-card.card-alarm:hover {\n --ix-card-background: var(--theme-color-alarm--hover);\n }\n\n ix-card.card-critical:hover {\n --ix-card-background: var(--theme-color-critical--hover);\n }\n\n ix-card.card-warning:hover {\n --ix-card-background: var(--theme-color-warning--hover);\n }\n\n ix-card.card-success:hover {\n --ix-card-background: var(--theme-color-success--hover);\n }\n\n ix-card.card-info:hover {\n --ix-card-background: var(--theme-color-info--hover);\n }\n\n ix-card.card-neutral:hover {\n --ix-card-background: var(--theme-color-neutral--hover);\n }\n}\n\n:host(:active) {\n ix-card.card-insight:active {\n --ix-card-background: var(--theme-color-ghost--active);\n }\n\n ix-card.card-notification:active {\n --ix-card-background: var(--theme-color-component-1--active);\n }\n\n ix-card.card-alarm:active {\n --ix-card-background: var(--theme-color-alarm--active);\n }\n\n ix-card.card-critical:active {\n --ix-card-background: var(--theme-color-critical--active);\n }\n\n ix-card.card-warning:active {\n --ix-card-background: var(--theme-color-warning--active);\n }\n\n ix-card.card-success:active {\n --ix-card-background: var(--theme-color-success--active);\n }\n\n ix-card.card-info:active {\n --ix-card-background: var(--theme-color-info--active);\n }\n\n ix-card.card-neutral:active {\n --ix-card-background: var(--theme-color-neutral--active);\n }\n}\n\n:host(.selected) {\n ix-card {\n --ix-card-border-color: var(--theme-color-dynamic);\n }\n\n ix-card.card-insight {\n --ix-card-background: var(--theme-color-ghost--selected);\n }\n\n ix-card.card-notification {\n --ix-card-background: var(--theme-color-ghost--selected);\n }\n\n ix-card.card-alarm {\n --ix-card-background: var(--theme-color-alarm--active);\n }\n\n ix-card.card-critical {\n --ix-card-background: var(--theme-color-critical--active);\n }\n\n ix-card.card-warning {\n --ix-card-background: var(--theme-color-warning--active);\n }\n\n ix-card.card-success {\n --ix-card-background: var(--theme-color-success--active);\n }\n\n ix-card.card-info {\n --ix-card-background: var(--theme-color-info--active);\n }\n\n ix-card.card-neutral {\n --ix-card-background: var(--theme-color-neutral--active);\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, h, Host, Prop } from '@stencil/core';\nimport { CardVariant } from '../card/card';\n\nexport type ActionCardVariant = CardVariant;\n\n/**\n * @since 1.6.0\n */\n@Component({\n tag: 'ix-action-card',\n styleUrl: 'action-card.scss',\n shadow: true,\n})\nexport class IxActionCard {\n /**\n * Card variant\n */\n @Prop() variant: ActionCardVariant = 'insight';\n\n /**\n * Card icon\n */\n @Prop() icon: string | undefined = undefined;\n\n /**\n * Card heading\n */\n @Prop() heading: string;\n\n /**\n * Card subheading\n */\n @Prop() subheading: string;\n\n /**\n * Card selection\n */\n @Prop() selected = false;\n\n render() {\n return (\n <Host\n class={{\n selected: this.selected,\n }}\n >\n <ix-card variant={this.variant} class={'pointer'}>\n <ix-card-content>\n {this.icon ? (\n <ix-icon class={'icon'} name={this.icon} size=\"24\"></ix-icon>\n ) : null}\n <div>\n {this.heading ? (\n <ix-typography format=\"h4\">{this.heading}</ix-typography>\n ) : null}\n {this.subheading ? (\n <ix-typography\n format=\"h5\"\n color={this.variant === 'insight' ? 'soft' : undefined}\n >\n {this.subheading}\n </ix-typography>\n ) : null}\n <slot></slot>\n </div>\n </ix-card-content>\n </ix-card>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -2,23 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const menuService = require('./menu-service-
|
|
5
|
+
const index = require('./index-be499a74.js');
|
|
6
|
+
const menuService = require('./menu-service-f7ef5265.js');
|
|
7
|
+
require('./breakpoints-e19e827e.js');
|
|
7
8
|
require('./typed-event-f0f051da.js');
|
|
8
9
|
|
|
9
|
-
const applicationHeaderCss = ":host{display:flex;align-items:center;position:relative;width:100%;height:2.75rem;padding-left:1rem;color:var(--theme-app-header--color);background-color:var(--theme-app-header--background);border-bottom:var(--theme-app-header--border-width) solid var(--theme-app-header--border-color)}:host .name{margin-left:2.5rem;margin-right:2.5rem;color:var(--theme-app-header--color)}:host .logo{display:inline-flex;align-items:center;position:relative;height:32px;overflow:hidden;line-height:0rem;color:var(--theme-app-header-logo--color)}:host(.
|
|
10
|
+
const applicationHeaderCss = ":host{display:flex;align-items:center;position:relative;width:100%;height:2.75rem;min-height:2.75rem;padding-left:1rem;color:var(--theme-app-header--color);background-color:var(--theme-app-header--background);border-bottom:var(--theme-app-header--border-width) solid var(--theme-app-header--border-color);z-index:var(--theme-z-index-fixed)}:host .name{margin-left:2.5rem;margin-right:2.5rem;color:var(--theme-app-header--color)}:host .logo{display:inline-flex;align-items:center;position:relative;height:32px;overflow:hidden;line-height:0rem;color:var(--theme-app-header-logo--color)}:host(.breakpoint-sm){padding-left:0.5rem}:host(.breakpoint-sm) .logo{margin-left:0.5rem}";
|
|
10
11
|
|
|
11
12
|
const ApplicationHeader = class {
|
|
12
13
|
constructor(hostRef) {
|
|
13
14
|
index.registerInstance(this, hostRef);
|
|
14
15
|
this.name = undefined;
|
|
15
|
-
this.
|
|
16
|
+
this.breakpoint = 'lg';
|
|
16
17
|
this.menuExpanded = false;
|
|
17
18
|
}
|
|
18
19
|
componentWillLoad() {
|
|
19
20
|
this.menuDisposable = menuService.menuController.expandChange.on((show) => {
|
|
20
21
|
this.menuExpanded = show;
|
|
21
22
|
});
|
|
23
|
+
this.modeDisposable = menuService.applicationLayoutService.onChange.on((mode) => {
|
|
24
|
+
this.breakpoint = mode;
|
|
25
|
+
});
|
|
26
|
+
this.breakpoint = menuService.applicationLayoutService.breakpoint;
|
|
22
27
|
}
|
|
23
28
|
componentDidLoad() {
|
|
24
29
|
this.attachSiemensLogoIfLoaded();
|
|
@@ -48,7 +53,7 @@ const ApplicationHeader = class {
|
|
|
48
53
|
menuService.menuController.toggle();
|
|
49
54
|
}
|
|
50
55
|
render() {
|
|
51
|
-
return (index.h(index.Host, { class: { [`
|
|
56
|
+
return (index.h(index.Host, { class: { [`breakpoint-${this.breakpoint}`]: true }, slot: "application-header" }, this.breakpoint === 'sm' ? (index.h("ix-burger-menu", { onClick: () => this.onMenuClick(), expanded: this.menuExpanded })) : null, index.h("div", { class: "logo" }, index.h("slot", { name: "logo" })), index.h("div", { class: "name" }, this.name), index.h("slot", null)));
|
|
52
57
|
}
|
|
53
58
|
get hostElement() { return index.getElement(this); }
|
|
54
59
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"ix-application-header.entry.cjs.js","mappings":"
|
|
1
|
+
{"file":"ix-application-header.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,oBAAoB,GAAG,mqBAAmqB;;MCoBnrB,iBAAiB;;;;sBAQM,IAAI;wBACd,KAAK;;EAK7B,iBAAiB;IACf,IAAI,CAAC,cAAc,GAAGA,0BAAc,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,IAAI;MACxD,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;KAC1B,CAAC,CAAC;IAEH,IAAI,CAAC,cAAc,GAAGC,oCAAwB,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,IAAI;MAC9D,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;KACxB,CAAC,CAAC;IACH,IAAI,CAAC,UAAU,GAAGA,oCAAwB,CAAC,UAAU,CAAC;GACvD;EAED,gBAAgB;IACd,IAAI,CAAC,yBAAyB,EAAE,CAAC;GAClC;EAED,oBAAoB;;IAClB,MAAA,IAAI,CAAC,cAAc,0CAAE,OAAO,EAAE,CAAC;IAC/B,MAAA,IAAI,CAAC,cAAc,0CAAE,OAAO,EAAE,CAAC;GAChC;EAEO,aAAa;IACnB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,aAAa,CAC3D,mBAAmB,CACD,CAAC;IACrB,MAAM,KAAK,GAAG,WAAW,CAAC,aAAa,CAAC;MACtC,OAAO,EAAE,IAAI;KACd,CAAC,CAAC;IAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC;GAC3B;EAEO,MAAM,yBAAyB;IACrC,MAAM,MAAM,CAAC,cAAc,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC;IAC3D,MAAM,WAAW,GAAG,QAAQ,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;IAC9D,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE;MACzB,IAAI,CAAC,WAAW,CAAC,UAAU;SACxB,aAAa,CAAC,OAAO,CAAC;SACtB,WAAW,CAAC,WAAW,CAAC,CAAC;KAC7B;GACF;EAEO,MAAM,WAAW;IACvBD,0BAAc,CAAC,MAAM,EAAE,CAAC;GACzB;EAED,MAAM;IACJ,QACEE,QAACC,UAAI,IACH,KAAK,EAAE,EAAE,CAAC,cAAc,IAAI,CAAC,UAAU,EAAE,GAAG,IAAI,EAAE,EAClD,IAAI,EAAC,oBAAoB,IAExB,IAAI,CAAC,UAAU,KAAK,IAAI,IACvBD,4BACE,OAAO,EAAE,MAAM,IAAI,CAAC,WAAW,EAAE,EACjC,QAAQ,EAAE,IAAI,CAAC,YAAY,GACX,IAChB,IAAI,EACRA,iBAAK,KAAK,EAAC,MAAM,IACfA,kBAAM,IAAI,EAAC,MAAM,GAAQ,CACrB,EACNA,iBAAK,KAAK,EAAC,MAAM,IAAE,IAAI,CAAC,IAAI,CAAO,EACnCA,qBAAa,CACR,EACP;GACH;;;;;;;","names":["menuController","applicationLayoutService","h","Host"],"sources":["./src/components/application-header/application-header.scss?tag=ix-application-header&encapsulation=shadow","./src/components/application-header/application-header.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:host {\n display: flex;\n align-items: center;\n position: relative;\n width: 100%;\n height: 2.75rem;\n min-height: 2.75rem;\n padding-left: 1rem;\n\n color: var(--theme-app-header--color);\n background-color: var(--theme-app-header--background);\n\n border-bottom: var(--theme-app-header--border-width) solid\n var(--theme-app-header--border-color);\n\n z-index: var(--theme-z-index-fixed);\n\n .name {\n margin-left: 2.5rem;\n margin-right: 2.5rem;\n color: var(--theme-app-header--color);\n }\n\n .logo {\n display: inline-flex;\n align-items: center;\n position: relative;\n height: 32px;\n overflow: hidden;\n line-height: 0rem;\n color: var(--theme-app-header-logo--color);\n }\n}\n\n:host(.breakpoint-sm) {\n padding-left: 0.5rem;\n\n .logo {\n margin-left: 0.5rem;\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 { applicationLayoutService } from '../utils/application-layout';\nimport { Breakpoint } from '../utils/breakpoints';\nimport { menuController } from '../utils/menu-service/menu-service';\nimport { Disposable } from '../utils/typed-event';\n\n@Component({\n tag: 'ix-application-header',\n styleUrl: 'application-header.scss',\n shadow: true,\n})\nexport class ApplicationHeader {\n @Element() hostElement!: HTMLIxApplicationHeaderElement;\n\n /**\n * Application name\n */\n @Prop() name: string;\n\n @State() breakpoint: Breakpoint = 'lg';\n @State() menuExpanded = false;\n\n private menuDisposable?: Disposable;\n private modeDisposable?: Disposable;\n\n componentWillLoad() {\n this.menuDisposable = menuController.expandChange.on((show) => {\n this.menuExpanded = show;\n });\n\n this.modeDisposable = applicationLayoutService.onChange.on((mode) => {\n this.breakpoint = mode;\n });\n this.breakpoint = applicationLayoutService.breakpoint;\n }\n\n componentDidLoad() {\n this.attachSiemensLogoIfLoaded();\n }\n\n disconnectedCallback() {\n this.menuDisposable?.dispose();\n this.modeDisposable?.dispose();\n }\n\n private isLogoSlotted() {\n const slotElement = this.hostElement.shadowRoot.querySelector(\n 'slot[name=\"logo\"]'\n ) as HTMLSlotElement;\n const nodes = slotElement.assignedNodes({\n flatten: true,\n });\n\n return nodes.length !== 0;\n }\n\n private async attachSiemensLogoIfLoaded() {\n await window.customElements.whenDefined('ix-siemens-logo');\n const logoElement = document.createElement('ix-siemens-logo');\n if (!this.isLogoSlotted()) {\n this.hostElement.shadowRoot\n .querySelector('.logo')\n .appendChild(logoElement);\n }\n }\n\n private async onMenuClick() {\n menuController.toggle();\n }\n\n render() {\n return (\n <Host\n class={{ [`breakpoint-${this.breakpoint}`]: true }}\n slot=\"application-header\"\n >\n {this.breakpoint === 'sm' ? (\n <ix-burger-menu\n onClick={() => this.onMenuClick()}\n expanded={this.menuExpanded}\n ></ix-burger-menu>\n ) : null}\n <div class=\"logo\">\n <slot name=\"logo\"></slot>\n </div>\n <div class=\"name\">{this.name}</div>\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-be499a74.js');
|
|
6
|
+
const anime_es = require('./anime.es-8822f296.js');
|
|
7
|
+
const animation = require('./animation-d5cc0bec.js');
|
|
8
|
+
|
|
9
|
+
const applicationSidebarCss = ":host{display:block;position:relative;width:22rem;height:100%;padding:0}: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(.visible){border-right:2px solid var(--theme-color-soft-bdr);padding:1.5rem 0.5rem 0}";
|
|
10
|
+
|
|
11
|
+
const ApplicationSidebar = class {
|
|
12
|
+
constructor(hostRef) {
|
|
13
|
+
index.registerInstance(this, hostRef);
|
|
14
|
+
this.visible = true;
|
|
15
|
+
}
|
|
16
|
+
listenToggleEvent() {
|
|
17
|
+
const visibility = !this.visible;
|
|
18
|
+
const animation$1 = {
|
|
19
|
+
targets: this.hostElement,
|
|
20
|
+
width: visibility ? ['0', '22rem'] : ['22rem', '0'],
|
|
21
|
+
opacity: visibility ? [0, 1] : [1, 0],
|
|
22
|
+
easing: 'easeInSine',
|
|
23
|
+
duration: animation.Animation.defaultTime,
|
|
24
|
+
};
|
|
25
|
+
const changeVisibility = () => {
|
|
26
|
+
this.visible = visibility;
|
|
27
|
+
};
|
|
28
|
+
if (visibility) {
|
|
29
|
+
animation$1.begin = changeVisibility.bind(this);
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
animation$1.complete = changeVisibility.bind(this);
|
|
33
|
+
}
|
|
34
|
+
anime_es.anime(animation$1);
|
|
35
|
+
}
|
|
36
|
+
render() {
|
|
37
|
+
return (index.h(index.Host, { slot: "application-sidebar", class: {
|
|
38
|
+
visible: this.visible,
|
|
39
|
+
} }, this.visible ? index.h("slot", null) : null));
|
|
40
|
+
}
|
|
41
|
+
get hostElement() { return index.getElement(this); }
|
|
42
|
+
};
|
|
43
|
+
ApplicationSidebar.style = applicationSidebarCss;
|
|
44
|
+
|
|
45
|
+
exports.ix_application_sidebar = ApplicationSidebar;
|
|
46
|
+
|
|
47
|
+
//# sourceMappingURL=ix-application-sidebar.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-application-sidebar.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,qBAAqB,GAAG,iwBAAiwB;;MCmBlxB,kBAAkB;;;mBAGV,IAAI;;EAKvB,iBAAiB;IACf,MAAM,UAAU,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC;IACjC,MAAMA,WAAS,GAAsB;MACnC,OAAO,EAAE,IAAI,CAAC,WAAW;MACzB,KAAK,EAAE,UAAU,GAAG,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC;MACnD,OAAO,EAAE,UAAU,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;MACrC,MAAM,EAAE,YAAY;MACpB,QAAQ,EAAEC,mBAAS,CAAC,WAAW;KAChC,CAAC;IAEF,MAAM,gBAAgB,GAAG;MACvB,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC;KAC3B,CAAC;IAEF,IAAI,UAAU,EAAE;MACdD,WAAS,CAAC,KAAK,GAAG,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAC/C;SAAM;MACLA,WAAS,CAAC,QAAQ,GAAG,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAClD;IAEDE,cAAK,CAACF,WAAS,CAAC,CAAC;GAClB;EAED,MAAM;IACJ,QACEG,QAACC,UAAI,IACH,IAAI,EAAC,qBAAqB,EAC1B,KAAK,EAAE;QACL,OAAO,EAAE,IAAI,CAAC,OAAO;OACtB,IAEA,IAAI,CAAC,OAAO,GAAGD,qBAAa,GAAG,IAAI,CAC/B,EACP;GACH;;;;;;;","names":["animation","Animation","anime","h","Host"],"sources":["./src/components/application-sidebar/application-sidebar.scss?tag=ix-application-sidebar&encapsulation=shadow","./src/components/application-sidebar/application-sidebar.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 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: block;\n position: relative;\n\n width: 22rem;\n height: 100%;\n\n padding: 0;\n}\n\n:host(.visible) {\n border-right: 2px solid var(--theme-color-soft-bdr);\n padding: 1.5rem 0.5rem 0;\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, Listen, State } from '@stencil/core';\nimport anime from 'animejs';\nimport Animation from '../utils/animation';\n\n/** @internal */\n@Component({\n tag: 'ix-application-sidebar',\n styleUrl: 'application-sidebar.scss',\n shadow: true,\n})\nexport class ApplicationSidebar {\n @Element() hostElement!: HTMLIxApplicationSidebarElement;\n\n @State() visible = true;\n\n @Listen('application-sidebar-toggle', {\n target: 'window',\n })\n listenToggleEvent() {\n const visibility = !this.visible;\n const animation: anime.AnimeParams = {\n targets: this.hostElement,\n width: visibility ? ['0', '22rem'] : ['22rem', '0'],\n opacity: visibility ? [0, 1] : [1, 0],\n easing: 'easeInSine',\n duration: Animation.defaultTime,\n };\n\n const changeVisibility = () => {\n this.visible = visibility;\n };\n\n if (visibility) {\n animation.begin = changeVisibility.bind(this);\n } else {\n animation.complete = changeVisibility.bind(this);\n }\n\n anime(animation);\n }\n\n render() {\n return (\n <Host\n slot=\"application-sidebar\"\n class={{\n visible: this.visible,\n }}\n >\n {this.visible ? <slot></slot> : null}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-be499a74.js');
|
|
6
|
+
const context = require('./context-0fdf2fa1.js');
|
|
7
|
+
const menuService = require('./menu-service-f7ef5265.js');
|
|
8
|
+
const shadowDom = require('./shadow-dom-9b10f758.js');
|
|
9
|
+
const themeSwitcher = require('./theme-switcher-d0386ac9.js');
|
|
10
|
+
require('./typed-event-f0f051da.js');
|
|
11
|
+
require('./breakpoints-e19e827e.js');
|
|
12
|
+
|
|
13
|
+
const applicationCss = ":host{display:flex;position:relative;width:100%;height:100%;flex-direction:column}: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 ix-application-header{z-index:calc(var(--theme-z-index-sticky) + 1)}:host .logo-wrapper{display:contents}:host .application{display:flex;position:relative;flex-direction:row;height:100%;width:100%;overflow:hidden}:host main{display:block;position:relative;height:100%;width:100%;overflow:hidden}:host(.breakpoint-md){--ix-application-menu-margin-left:3.25rem}:host(.breakpoint-md) aside.slotted{margin-left:var(--ix-application-menu-margin-left)}:host(.breakpoint-md) aside.slotted+main{margin-left:0}:host(.breakpoint-md) aside:not(.slotted)+main{margin-left:var(--ix-application-menu-margin-left)}:host(.breakpoint-lg){--ix-application-menu-margin-left:0}:host(.breakpoint-sm){--ix-application-menu-margin-left:0}";
|
|
14
|
+
|
|
15
|
+
const Application = class {
|
|
16
|
+
constructor(hostRef) {
|
|
17
|
+
index.registerInstance(this, hostRef);
|
|
18
|
+
this.theme = undefined;
|
|
19
|
+
this.themeSystemAppearance = false;
|
|
20
|
+
this.forceBreakpoint = undefined;
|
|
21
|
+
this.breakpoints = ['sm', 'md', 'lg'];
|
|
22
|
+
this.breakpoint = 'lg';
|
|
23
|
+
this.applicationSidebarSlotted = false;
|
|
24
|
+
}
|
|
25
|
+
forceLayoutChange(newMode) {
|
|
26
|
+
if (!newMode) {
|
|
27
|
+
menuService.applicationLayoutService.enableBreakpointDetection();
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
menuService.applicationLayoutService.disableBreakpointDetection();
|
|
31
|
+
menuService.applicationLayoutService.setBreakpoint(newMode);
|
|
32
|
+
}
|
|
33
|
+
onBreakpointsChange(breakpoints) {
|
|
34
|
+
menuService.applicationLayoutService.setBreakpoints(breakpoints);
|
|
35
|
+
}
|
|
36
|
+
get menu() {
|
|
37
|
+
return this.hostElement.querySelector('ix-menu');
|
|
38
|
+
}
|
|
39
|
+
get applicationSidebarSlot() {
|
|
40
|
+
return this.hostElement.shadowRoot.querySelector('.application-sidebar slot');
|
|
41
|
+
}
|
|
42
|
+
onContentClick() {
|
|
43
|
+
var _a;
|
|
44
|
+
if (menuService.menuController.isPinned) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
(_a = this.menu) === null || _a === void 0 ? void 0 : _a.toggleMenu(false);
|
|
48
|
+
}
|
|
49
|
+
componentWillLoad() {
|
|
50
|
+
menuService.applicationLayoutService.setBreakpoints(this.breakpoints);
|
|
51
|
+
this.contextProvider = context.useContextProvider(this.hostElement, context.ApplicationLayoutContext, {
|
|
52
|
+
hideHeader: false,
|
|
53
|
+
host: 'basic-navigation',
|
|
54
|
+
sidebar: this.applicationSidebarSlotted,
|
|
55
|
+
});
|
|
56
|
+
this.modeDisposable = menuService.applicationLayoutService.onChange.on((mode) => {
|
|
57
|
+
this.breakpoint = mode;
|
|
58
|
+
});
|
|
59
|
+
this.breakpoint = menuService.applicationLayoutService.breakpoint;
|
|
60
|
+
if (this.forceBreakpoint) {
|
|
61
|
+
this.forceLayoutChange(this.forceBreakpoint);
|
|
62
|
+
}
|
|
63
|
+
this.changeTheme();
|
|
64
|
+
}
|
|
65
|
+
disconnectedCallback() {
|
|
66
|
+
var _a;
|
|
67
|
+
(_a = this.modeDisposable) === null || _a === void 0 ? void 0 : _a.dispose();
|
|
68
|
+
}
|
|
69
|
+
changeTheme() {
|
|
70
|
+
if (!this.theme) {
|
|
71
|
+
if (this.themeSystemAppearance) {
|
|
72
|
+
themeSwitcher.themeSwitcher.setVariant();
|
|
73
|
+
}
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
if (themeSwitcher.themeSwitcher.hasVariantSuffix(this.theme)) {
|
|
77
|
+
themeSwitcher.themeSwitcher.setTheme(`theme-${this.theme}`);
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
themeSwitcher.themeSwitcher.setTheme(`theme-${this.theme}-dark`, this.themeSystemAppearance);
|
|
81
|
+
}
|
|
82
|
+
onApplicationSidebarChange() {
|
|
83
|
+
this.contextProvider.emit({
|
|
84
|
+
hideHeader: false,
|
|
85
|
+
host: 'basic-navigation',
|
|
86
|
+
sidebar: this.applicationSidebarSlotted,
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
render() {
|
|
90
|
+
return (index.h(index.Host, { "data-role": "", class: {
|
|
91
|
+
[`breakpoint-${this.breakpoint}`]: true,
|
|
92
|
+
} }, index.h("slot", { name: "application-header" }), index.h("div", { class: "application" }, index.h("slot", { name: "menu" }), index.h("aside", { class: {
|
|
93
|
+
'application-sidebar': true,
|
|
94
|
+
slotted: this.applicationSidebarSlotted,
|
|
95
|
+
}, onClick: () => this.onContentClick() }, index.h("slot", { name: "application-sidebar", onSlotchange: () => (this.applicationSidebarSlotted = shadowDom.hasSlottedElements(this.applicationSidebarSlot)) })), index.h("main", { class: "content", onClick: () => this.onContentClick() }, index.h("slot", null)))));
|
|
96
|
+
}
|
|
97
|
+
get hostElement() { return index.getElement(this); }
|
|
98
|
+
static get watchers() { return {
|
|
99
|
+
"breakpoints": ["onBreakpointsChange"],
|
|
100
|
+
"theme": ["changeTheme"],
|
|
101
|
+
"themeSystemAppearance": ["changeTheme"],
|
|
102
|
+
"applicationSidebarSlotted": ["onApplicationSidebarChange"]
|
|
103
|
+
}; }
|
|
104
|
+
};
|
|
105
|
+
Application.style = applicationCss;
|
|
106
|
+
|
|
107
|
+
exports.ix_application = Application;
|
|
108
|
+
|
|
109
|
+
//# sourceMappingURL=ix-application.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-application.entry.cjs.js","mappings":"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","names":["applicationLayoutService","menuController","useContextProvider","ApplicationLayoutContext","themeSwitcher","h","Host","hasSlottedElements"],"sources":["./src/components/application/application.scss?tag=ix-application&encapsulation=shadow","./src/components/application/application.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 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: flex;\n position: relative;\n width: 100%;\n height: 100%;\n\n flex-direction: column;\n\n ix-application-header {\n z-index: calc(var(--theme-z-index-sticky) + 1);\n }\n\n .logo-wrapper {\n display: contents;\n }\n\n .application {\n display: flex;\n position: relative;\n flex-direction: row;\n height: 100%;\n width: 100%;\n overflow: hidden;\n }\n\n main {\n display: block;\n position: relative;\n height: 100%;\n width: 100%;\n overflow: hidden;\n }\n}\n\n:host(.breakpoint-md) {\n --ix-application-menu-margin-left: 3.25rem;\n\n aside.slotted {\n margin-left: var(--ix-application-menu-margin-left);\n }\n\n aside.slotted + main {\n margin-left: 0;\n }\n\n aside:not(.slotted) + main {\n margin-left: var(--ix-application-menu-margin-left);\n }\n}\n\n:host(.breakpoint-lg) {\n --ix-application-menu-margin-left: 0;\n}\n\n:host(.breakpoint-sm) {\n --ix-application-menu-margin-left: 0;\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, Watch } from '@stencil/core';\nimport { ApplicationLayoutContext } from '../utils/application-layout/context';\nimport { applicationLayoutService } from '../utils/application-layout/service';\nimport { Breakpoint } from '../utils/breakpoints';\nimport { ContextProvider, useContextProvider } from '../utils/context';\nimport { menuController } from '../utils/menu-service/menu-service';\nimport { hasSlottedElements } from '../utils/shadow-dom';\nimport { IxTheme, themeSwitcher } from '../utils/theme-switcher';\nimport { Disposable } from '../utils/typed-event';\n\n/** @internal */\n@Component({\n tag: 'ix-application',\n styleUrl: 'application.scss',\n shadow: true,\n})\nexport class Application {\n @Element() hostElement: HTMLIxApplicationElement;\n\n /**\n * Application theme\n */\n @Prop() theme: IxTheme;\n\n /**\n * Use the system appearance dark or light\n */\n @Prop() themeSystemAppearance = false;\n\n /**\n * Change the responsive layout of the menu structure\n */\n @Prop() forceBreakpoint: Breakpoint | undefined;\n forceLayoutChange(newMode: Breakpoint | undefined) {\n if (!newMode) {\n applicationLayoutService.enableBreakpointDetection();\n return;\n }\n\n applicationLayoutService.disableBreakpointDetection();\n applicationLayoutService.setBreakpoint(newMode);\n }\n\n /**\n * Supported layouts\n */\n @Prop() breakpoints: Breakpoint[] = ['sm', 'md', 'lg'];\n @Watch('breakpoints')\n onBreakpointsChange(breakpoints: Breakpoint[]) {\n applicationLayoutService.setBreakpoints(breakpoints);\n }\n\n @State() breakpoint: Breakpoint = 'lg';\n @State() applicationSidebarSlotted = false;\n\n private contextProvider: ContextProvider<typeof ApplicationLayoutContext>;\n\n get menu(): HTMLIxMenuElement | null {\n return this.hostElement.querySelector('ix-menu');\n }\n\n get applicationSidebarSlot() {\n return this.hostElement.shadowRoot.querySelector(\n '.application-sidebar slot'\n ) as HTMLSlotElement;\n }\n\n private modeDisposable: Disposable;\n\n private onContentClick() {\n if (menuController.isPinned) {\n return;\n }\n this.menu?.toggleMenu(false);\n }\n\n componentWillLoad() {\n applicationLayoutService.setBreakpoints(this.breakpoints);\n\n this.contextProvider = useContextProvider(\n this.hostElement,\n ApplicationLayoutContext,\n {\n hideHeader: false,\n host: 'basic-navigation',\n sidebar: this.applicationSidebarSlotted,\n }\n );\n\n this.modeDisposable = applicationLayoutService.onChange.on((mode) => {\n this.breakpoint = mode;\n });\n this.breakpoint = applicationLayoutService.breakpoint;\n\n if (this.forceBreakpoint) {\n this.forceLayoutChange(this.forceBreakpoint);\n }\n\n this.changeTheme();\n }\n\n disconnectedCallback() {\n this.modeDisposable?.dispose();\n }\n\n @Watch('theme')\n @Watch('themeSystemAppearance')\n private changeTheme() {\n if (!this.theme) {\n if (this.themeSystemAppearance) {\n themeSwitcher.setVariant();\n }\n\n return;\n }\n\n if (themeSwitcher.hasVariantSuffix(this.theme)) {\n themeSwitcher.setTheme(`theme-${this.theme}`);\n return;\n }\n\n themeSwitcher.setTheme(\n `theme-${this.theme}-dark`,\n this.themeSystemAppearance\n );\n }\n\n @Watch('applicationSidebarSlotted')\n onApplicationSidebarChange() {\n this.contextProvider.emit({\n hideHeader: false,\n host: 'basic-navigation',\n sidebar: this.applicationSidebarSlotted,\n });\n }\n\n render() {\n return (\n <Host\n data-role=\"\"\n class={{\n [`breakpoint-${this.breakpoint}`]: true,\n }}\n >\n <slot name=\"application-header\"></slot>\n <div class=\"application\">\n <slot name=\"menu\"></slot>\n <aside\n class={{\n 'application-sidebar': true,\n slotted: this.applicationSidebarSlotted,\n }}\n onClick={() => this.onContentClick()}\n >\n <slot\n name=\"application-sidebar\"\n onSlotchange={() =>\n (this.applicationSidebarSlotted = hasSlottedElements(\n this.applicationSidebarSlot\n ))\n }\n ></slot>\n </aside>\n <main class=\"content\" onClick={() => this.onContentClick()}>\n <slot></slot>\n </main>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-be499a74.js');
|
|
6
6
|
|
|
7
7
|
const avatarCss = ":host{display:flex;position:relative;width:-moz-fit-content;width:fit-content}:host .avatar{display:flex;align-items:center}:host .avatar>.avatar-image{height:2rem;width:2rem;min-height:2rem;min-width:2rem;border-radius:100px}:host .avatar>.avatar-initials{display:flex;align-items:center;justify-content:center;height:2rem;width:2rem;min-height:2rem;min-width:2rem;border-radius:100px;background-color:var(--theme-color-component-3)}:host .avatar #avatar-path-background{fill:var(--theme-avatar--background)}:host .avatar #avatar-path-person{fill:var(--theme-color-4)}";
|
|
8
8
|
|
|
@@ -2,19 +2,41 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const
|
|
7
|
-
const
|
|
5
|
+
const index = require('./index-be499a74.js');
|
|
6
|
+
const context = require('./context-0fdf2fa1.js');
|
|
7
|
+
const menuService = require('./menu-service-f7ef5265.js');
|
|
8
8
|
require('./typed-event-f0f051da.js');
|
|
9
|
+
require('./breakpoints-e19e827e.js');
|
|
9
10
|
|
|
10
|
-
const basicNavigationCss = ":host{display:flex;position:relative;width:100%;height:100%;flex-direction:column}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ix-application-header{z-index:calc(var(--theme-z-index-sticky) + 1)}:host .logo-wrapper{display:contents}:host .content{display:flex;height:100%;width:100%;position:relative;margin-left:3.25rem;overflow:auto}:host .navigation-content{display:flex;position:relative;flex-direction:row;height:calc(100% - 2.75rem);width:100%}:host(.hide-header) .content{height:100%}:host(.
|
|
11
|
+
const basicNavigationCss = ":host{display:flex;position:relative;width:100%;height:100%;flex-direction:column}: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 ix-application-header{z-index:calc(var(--theme-z-index-sticky) + 1)}:host .logo-wrapper{display:contents}:host .content{display:flex;height:100%;width:100%;position:relative;margin-left:3.25rem;overflow:auto}:host .navigation-content{display:flex;position:relative;flex-direction:row;height:calc(100% - 2.75rem);width:100%}:host(.hide-header) .navigation-content,:host(.hide-header) .content{height:100%}:host(.breakpoint-lg) .content{margin-left:0rem}:host(.breakpoint-sm) .content{margin-left:0px;width:100%}";
|
|
11
12
|
|
|
12
13
|
const BasicNavigation = class {
|
|
13
14
|
constructor(hostRef) {
|
|
14
15
|
index.registerInstance(this, hostRef);
|
|
15
16
|
this.applicationName = undefined;
|
|
16
17
|
this.hideHeader = false;
|
|
17
|
-
this.
|
|
18
|
+
this.forceBreakpoint = undefined;
|
|
19
|
+
this.breakpoints = ['sm', 'md', 'lg'];
|
|
20
|
+
this.breakpoint = 'lg';
|
|
21
|
+
}
|
|
22
|
+
onHideHeaderChange() {
|
|
23
|
+
var _a;
|
|
24
|
+
(_a = this.contextProvider) === null || _a === void 0 ? void 0 : _a.emit({
|
|
25
|
+
hideHeader: this.hideHeader,
|
|
26
|
+
host: 'basic-navigation',
|
|
27
|
+
});
|
|
28
|
+
this.breakpoint = menuService.applicationLayoutService.breakpoint;
|
|
29
|
+
}
|
|
30
|
+
forceLayoutChange(newMode) {
|
|
31
|
+
if (!newMode) {
|
|
32
|
+
menuService.applicationLayoutService.enableBreakpointDetection();
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
menuService.applicationLayoutService.disableBreakpointDetection();
|
|
36
|
+
menuService.applicationLayoutService.setBreakpoint(newMode);
|
|
37
|
+
}
|
|
38
|
+
onBreakpointsChange(breakpoints) {
|
|
39
|
+
menuService.applicationLayoutService.setBreakpoints(breakpoints);
|
|
18
40
|
}
|
|
19
41
|
get menu() {
|
|
20
42
|
return this.hostElement.querySelector('ix-menu');
|
|
@@ -27,9 +49,17 @@ const BasicNavigation = class {
|
|
|
27
49
|
(_a = this.menu) === null || _a === void 0 ? void 0 : _a.toggleMenu(false);
|
|
28
50
|
}
|
|
29
51
|
componentWillLoad() {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
this.
|
|
52
|
+
menuService.applicationLayoutService.setBreakpoints(this.breakpoints);
|
|
53
|
+
this.contextProvider = context.useContextProvider(this.hostElement, context.ApplicationLayoutContext, {
|
|
54
|
+
hideHeader: this.hideHeader,
|
|
55
|
+
host: 'basic-navigation',
|
|
56
|
+
});
|
|
57
|
+
this.modeDisposable = menuService.applicationLayoutService.onChange.on((mode) => {
|
|
58
|
+
this.breakpoint = mode;
|
|
59
|
+
});
|
|
60
|
+
this.breakpoint = menuService.applicationLayoutService.breakpoint;
|
|
61
|
+
if (this.forceBreakpoint) {
|
|
62
|
+
this.forceLayoutChange(this.forceBreakpoint);
|
|
33
63
|
}
|
|
34
64
|
}
|
|
35
65
|
componentDidRender() {
|
|
@@ -44,10 +74,14 @@ const BasicNavigation = class {
|
|
|
44
74
|
render() {
|
|
45
75
|
return (index.h(index.Host, { "data-role": "", class: {
|
|
46
76
|
'hide-header': this.hideHeader,
|
|
47
|
-
[`
|
|
48
|
-
} }, !this.hideHeader ? (index.h("ix-application-header", { name: this.applicationName
|
|
77
|
+
[`breakpoint-${this.breakpoint}`]: true,
|
|
78
|
+
} }, !this.hideHeader ? (index.h("ix-application-header", { name: this.applicationName }, index.h("slot", { name: "logo", slot: "logo" }))) : null, index.h("div", { class: "navigation-content" }, index.h("slot", { name: "menu" }), index.h("div", { class: "content", onClick: () => this.onContentClick() }, index.h("slot", null)))));
|
|
49
79
|
}
|
|
50
80
|
get hostElement() { return index.getElement(this); }
|
|
81
|
+
static get watchers() { return {
|
|
82
|
+
"hideHeader": ["onHideHeaderChange"],
|
|
83
|
+
"breakpoints": ["onBreakpointsChange"]
|
|
84
|
+
}; }
|
|
51
85
|
};
|
|
52
86
|
BasicNavigation.style = basicNavigationCss;
|
|
53
87
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"ix-basic-navigation.entry.cjs.js","mappings":"
|
|
1
|
+
{"file":"ix-basic-navigation.entry.cjs.js","mappings":";;;;;;;;;;AAAA,MAAM,kBAAkB,GAAG,orCAAorC;;MCsBlsC,eAAe;;;;sBAWL,KAAK;;uBA4BU,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;sBAMpB,IAAI;;EAhCtC,kBAAkB;;IAChB,MAAA,IAAI,CAAC,eAAe,0CAAE,IAAI,CAAC;MACzB,UAAU,EAAE,IAAI,CAAC,UAAU;MAC3B,IAAI,EAAE,kBAAkB;KACzB,CAAC,CAAC;IAEH,IAAI,CAAC,UAAU,GAAGA,oCAAwB,CAAC,UAAU,CAAC;GACvD;EAMD,iBAAiB,CAAC,OAA+B;IAC/C,IAAI,CAAC,OAAO,EAAE;MACZA,oCAAwB,CAAC,yBAAyB,EAAE,CAAC;MACrD,OAAO;KACR;IAEDA,oCAAwB,CAAC,0BAA0B,EAAE,CAAC;IACtDA,oCAAwB,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;GACjD;EAOD,mBAAmB,CAAC,WAAyB;IAC3CA,oCAAwB,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;GACtD;EAID,IAAI,IAAI;IACN,OAAO,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;GAClD;EAKO,cAAc;;IACpB,IAAIC,0BAAc,CAAC,QAAQ,EAAE;MAC3B,OAAO;KACR;IACD,MAAA,IAAI,CAAC,IAAI,0CAAE,UAAU,CAAC,KAAK,CAAC,CAAC;GAC9B;EAED,iBAAiB;IACfD,oCAAwB,CAAC,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAE1D,IAAI,CAAC,eAAe,GAAGE,0BAAkB,CACvC,IAAI,CAAC,WAAW,EAChBC,gCAAwB,EACxB;MACE,UAAU,EAAE,IAAI,CAAC,UAAU;MAC3B,IAAI,EAAE,kBAAkB;KACzB,CACF,CAAC;IAEF,IAAI,CAAC,cAAc,GAAGH,oCAAwB,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,IAAI;MAC9D,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;KACxB,CAAC,CAAC;IACH,IAAI,CAAC,UAAU,GAAGA,oCAAwB,CAAC,UAAU,CAAC;IAEtD,IAAI,IAAI,CAAC,eAAe,EAAE;MACxB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;KAC9C;GACF;EAED,kBAAkB;IAChB,IAAI,IAAI,CAAC,IAAI,EAAE;MACb,IAAI,CAAC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC;KAClD;GACF;EAED,oBAAoB;;IAClB,MAAA,IAAI,CAAC,cAAc,0CAAE,OAAO,EAAE,CAAC;GAChC;EAED,MAAM;IACJ,QACEI,QAACC,UAAI,iBACO,EAAE,EACZ,KAAK,EAAE;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,CAAC,cAAc,IAAI,CAAC,UAAU,EAAE,GAAG,IAAI;OACxC,IAEA,CAAC,IAAI,CAAC,UAAU,IACfD,mCAAuB,IAAI,EAAE,IAAI,CAAC,eAAe,IAC/CA,kBAAM,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,MAAM,GAAQ,CACf,IACtB,IAAI,EACRA,iBAAK,KAAK,EAAC,oBAAoB,IAC7BA,kBAAM,IAAI,EAAC,MAAM,GAAQ,EACzBA,iBAAK,KAAK,EAAC,SAAS,EAAC,OAAO,EAAE,MAAM,IAAI,CAAC,cAAc,EAAE,IACvDA,qBAAa,CACT,CACF,CACD,EACP;GACH;;;;;;;;;;;","names":["applicationLayoutService","menuController","useContextProvider","ApplicationLayoutContext","h","Host"],"sources":["./src/components/basic-navigation/basic-navigation.scss?tag=ix-basic-navigation&encapsulation=shadow","./src/components/basic-navigation/basic-navigation.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 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: flex;\n position: relative;\n width: 100%;\n height: 100%;\n\n flex-direction: column;\n\n ix-application-header {\n z-index: calc(var(--theme-z-index-sticky) + 1);\n }\n\n .logo-wrapper {\n display: contents;\n }\n\n .content {\n display: flex;\n height: 100%;\n width: 100%;\n position: relative;\n margin-left: 3.25rem;\n overflow: auto;\n }\n\n .navigation-content {\n display: flex;\n position: relative;\n\n flex-direction: row;\n\n height: calc(100% - 2.75rem);\n width: 100%;\n }\n}\n\n:host(.hide-header) {\n .navigation-content,\n .content {\n height: 100%;\n }\n}\n\n:host(.breakpoint-lg) {\n .content {\n margin-left: 0rem;\n }\n}\n\n:host(.breakpoint-sm) {\n .content {\n margin-left: 0px;\n width: 100%;\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, Watch } from '@stencil/core';\nimport { ApplicationLayoutContext } from '../utils/application-layout/context';\nimport { applicationLayoutService } from '../utils/application-layout/service';\nimport { Breakpoint } from '../utils/breakpoints';\nimport { ContextProvider, useContextProvider } from '../utils/context';\nimport { menuController } from '../utils/menu-service/menu-service';\nimport { Disposable } from '../utils/typed-event';\n\n@Component({\n tag: 'ix-basic-navigation',\n styleUrl: 'basic-navigation.scss',\n shadow: true,\n})\nexport class BasicNavigation {\n @Element() hostElement: HTMLIxBasicNavigationElement;\n\n /**\n * Application name\n */\n @Prop() applicationName: string;\n\n /**\n * Hide application header. Will disable responsive feature of basic navigation.\n */\n @Prop() hideHeader = false;\n @Watch('hideHeader')\n onHideHeaderChange() {\n this.contextProvider?.emit({\n hideHeader: this.hideHeader,\n host: 'basic-navigation',\n });\n\n this.breakpoint = applicationLayoutService.breakpoint;\n }\n\n /**\n * Change the responsive layout of the menu structure\n */\n @Prop() forceBreakpoint: Breakpoint | undefined;\n forceLayoutChange(newMode: Breakpoint | undefined) {\n if (!newMode) {\n applicationLayoutService.enableBreakpointDetection();\n return;\n }\n\n applicationLayoutService.disableBreakpointDetection();\n applicationLayoutService.setBreakpoint(newMode);\n }\n\n /**\n * Supported layouts\n */\n @Prop() breakpoints: Breakpoint[] = ['sm', 'md', 'lg'];\n @Watch('breakpoints')\n onBreakpointsChange(breakpoints: Breakpoint[]) {\n applicationLayoutService.setBreakpoints(breakpoints);\n }\n\n @State() breakpoint: Breakpoint = 'lg';\n\n get menu(): HTMLIxMenuElement | null {\n return this.hostElement.querySelector('ix-menu');\n }\n\n private modeDisposable: Disposable;\n private contextProvider: ContextProvider<typeof ApplicationLayoutContext>;\n\n private onContentClick() {\n if (menuController.isPinned) {\n return;\n }\n this.menu?.toggleMenu(false);\n }\n\n componentWillLoad() {\n applicationLayoutService.setBreakpoints(this.breakpoints);\n\n this.contextProvider = useContextProvider(\n this.hostElement,\n ApplicationLayoutContext,\n {\n hideHeader: this.hideHeader,\n host: 'basic-navigation',\n }\n );\n\n this.modeDisposable = applicationLayoutService.onChange.on((mode) => {\n this.breakpoint = mode;\n });\n this.breakpoint = applicationLayoutService.breakpoint;\n\n if (this.forceBreakpoint) {\n this.forceLayoutChange(this.forceBreakpoint);\n }\n }\n\n componentDidRender() {\n if (this.menu) {\n this.menu.applicationName = this.applicationName;\n }\n }\n\n disconnectedCallback() {\n this.modeDisposable?.dispose();\n }\n\n render() {\n return (\n <Host\n data-role=\"\"\n class={{\n 'hide-header': this.hideHeader,\n [`breakpoint-${this.breakpoint}`]: true,\n }}\n >\n {!this.hideHeader ? (\n <ix-application-header name={this.applicationName}>\n <slot name=\"logo\" slot=\"logo\"></slot>\n </ix-application-header>\n ) : null}\n <div class=\"navigation-content\">\n <slot name=\"menu\"></slot>\n <div class=\"content\" onClick={() => this.onContentClick()}>\n <slot></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-be499a74.js');
|
|
6
6
|
const anime_es = require('./anime.es-8822f296.js');
|
|
7
7
|
const a11y = require('./a11y-fa9abd92.js');
|
|
8
8
|
|
|
9
|
-
const blindCss = ":host{display:flex;flex-direction:column;background-color:var(--theme-blind-base--background);border:solid var(--theme-blind--border-thickness) var(--theme-blind-base--border-color);border-radius:var(--theme-blind--border-radius);overflow:hidden}:host .blind-header{all:unset;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;min-height:3rem;height:3rem;border:solid var(--theme-blind--border-thickness) transparent;border-radius:var(--theme-blind--border-radius) var(--theme-blind--border-radius) 0 0;padding-right:0.5rem;transition:border-radius 150ms;cursor:pointer;z-index:1;color:var(--theme-blind-header-closed--color);background-color:var(--theme-blind-header-closed--background)}:host .blind-header .collapse-icon{color:var(--theme-blind-header-icon-closed--color);padding:0.25rem 0.5rem}:host .blind-header .blind-header-title,:host .blind-header .blind-header-title-basic{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;flex-grow:1;height:100%}:host .blind-header .blind-header-title .blind-header-title-default,:host .blind-header .blind-header-title-basic .blind-header-title-default{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-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);-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;flex-grow:1}:host .blind-header .blind-header-title-basic ix-icon{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host .blind-header:not(.disabled):not(:disabled):hover{background-color:var(--theme-blind-header-open--background--hover)}:host .blind-header:not(.disabled):not(:disabled):hover .collapse-icon{color:var(--theme-blind-header-icon-open--color--hover)}:host .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host .blind-header:not(.disabled):not(:disabled):active{background-color:var(--theme-blind-header-open--background--active)}:host .blind-header:not(.disabled):not(:disabled):active .collapse-icon{color:var(--theme-blind-header-icon-open--color--active)}:host .blind-header:not(.disabled):not(:disabled):focus-visible{border-color:var(--theme-color-focus-bdr);outline:none}:host .blind-header.closed{border-radius:var(--theme-blind--border-radius)}:host .blind-header.closed:not(.disabled):not(:disabled){cursor:pointer}:host .blind-header.closed:not(.disabled):not(:disabled):hover{background-color:var(--theme-blind-header-open--background--hover)}:host .blind-header.closed:not(.disabled):not(:disabled):hover .collapse-icon{color:var(--theme-blind-header-icon-closed--color--hover)}:host .blind-header.closed:not(.disabled):not(:disabled){cursor:pointer}:host .blind-header.closed:not(.disabled):not(:disabled):active{background-color:var(--theme-blind-header-open--background--active)}:host .blind-header.closed:not(.disabled):not(:disabled):active .collapse-icon{color:var(--theme-blind-header-icon-closed--color--active)}:host .blind-content{display:block;padding:1rem;transition-property:padding;transition-duration:150ms;transition-timing-function:ease-in}:host .blind-content.hide{max-height:0;padding-top:0px;padding-bottom:0px}";
|
|
9
|
+
const blindCss = ":host{display:flex;flex-direction:column;background-color:var(--theme-blind-base--background);border:solid var(--theme-blind--border-thickness) var(--theme-blind-base--border-color);border-radius:var(--theme-blind--border-radius);overflow:hidden}:host .blind-header{all:unset;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;min-height:3rem;height:3rem;border:solid var(--theme-blind--border-thickness) transparent;border-radius:var(--theme-blind--border-radius) var(--theme-blind--border-radius) 0 0;padding-right:0.5rem;transition:border-radius 150ms;cursor:pointer;z-index:1;color:var(--theme-blind-header-closed--color);background-color:var(--theme-blind-header-closed--background)}:host .blind-header .collapse-icon{color:var(--theme-blind-header-icon-closed--color);padding:0.25rem 0.5rem}:host .blind-header ix-typography,:host .blind-header .blind-header-title-label,:host .blind-header .blind-header-title-sublabel{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1}:host .blind-header .blind-header-title-label{-webkit-padding-end:0.5rem;padding-inline-end:0.5rem}:host .blind-header .blind-header-title-sublabel{padding-inline:0.5rem}:host .blind-header .blind-header-title,:host .blind-header .blind-header-title-basic{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;flex-grow:1;height:100%}:host .blind-header .blind-header-title .blind-header-title-default,:host .blind-header .blind-header-title-basic .blind-header-title-default{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-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);-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;flex-grow:1}:host .blind-header .blind-header-title-basic ix-icon{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host .blind-header:not(.disabled):not(:disabled):hover{background-color:var(--theme-blind-header-open--background--hover)}:host .blind-header:not(.disabled):not(:disabled):hover .collapse-icon{color:var(--theme-blind-header-icon-open--color--hover)}:host .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host .blind-header:not(.disabled):not(:disabled):active,:host .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-blind-header-open--background--active)}:host .blind-header:not(.disabled):not(:disabled):active .collapse-icon,:host .blind-header:not(.disabled):not(:disabled).active .collapse-icon{color:var(--theme-blind-header-icon-open--color--active)}:host .blind-header:not(.disabled):not(:disabled):focus-visible{border-color:var(--theme-color-focus-bdr);outline:none}:host .blind-header.closed{border-radius:var(--theme-blind--border-radius)}:host .blind-header.closed:not(.disabled):not(:disabled){cursor:pointer}:host .blind-header.closed:not(.disabled):not(:disabled):hover{background-color:var(--theme-blind-header-open--background--hover)}:host .blind-header.closed:not(.disabled):not(:disabled):hover .collapse-icon{color:var(--theme-blind-header-icon-closed--color--hover)}:host .blind-header.closed:not(.disabled):not(:disabled){cursor:pointer}:host .blind-header.closed:not(.disabled):not(:disabled):active,:host .blind-header.closed:not(.disabled):not(:disabled).active{background-color:var(--theme-blind-header-open--background--active)}:host .blind-header.closed:not(.disabled):not(:disabled):active .collapse-icon,:host .blind-header.closed:not(.disabled):not(:disabled).active .collapse-icon{color:var(--theme-blind-header-icon-closed--color--active)}:host .blind-content{display:block;padding:1rem;transition-property:padding;transition-duration:150ms;transition-timing-function:ease-in}:host .blind-content.hide{max-height:0;padding-top:0px;padding-bottom:0px}";
|
|
10
10
|
|
|
11
11
|
let sequentialInstanceId = 0;
|
|
12
12
|
const Blind = class {
|
|
@@ -16,6 +16,7 @@ const Blind = class {
|
|
|
16
16
|
this.id = ++sequentialInstanceId;
|
|
17
17
|
this.collapsed = false;
|
|
18
18
|
this.label = undefined;
|
|
19
|
+
this.sublabel = undefined;
|
|
19
20
|
this.icon = undefined;
|
|
20
21
|
}
|
|
21
22
|
onHeaderClick(e) {
|
|
@@ -76,10 +77,10 @@ const Blind = class {
|
|
|
76
77
|
return (index.h(index.Host, null, index.h("button", { class: {
|
|
77
78
|
'blind-header': true,
|
|
78
79
|
closed: this.collapsed,
|
|
79
|
-
}, type: "button", "aria-labelledby": `ix-blind-header-title-${this.id}`, "aria-controls": `ix-blind-content-section-${this.id}`, "aria-expanded": a11y.a11yBoolean(!this.collapsed), onClick: (e) => this.onHeaderClick(e) }, index.h("ix-icon", { class: 'collapse-icon', name: "chevron-right-small", ref: (ref) => (this.chevronRef = ref) }), index.h("div", { class: "blind-header-title", id: `ix-blind-header-title-${this.id}` }, this.label !== undefined ? (index.h("span", { class: "blind-header-title-basic" }, this.icon !== undefined ? (index.h("ix-icon", { name: this.icon })) : (''), index.h("
|
|
80
|
+
}, type: "button", "aria-labelledby": `ix-blind-header-title-${this.id}`, "aria-controls": `ix-blind-content-section-${this.id}`, "aria-expanded": a11y.a11yBoolean(!this.collapsed), onClick: (e) => this.onHeaderClick(e) }, index.h("ix-icon", { class: 'collapse-icon', name: "chevron-right-small", ref: (ref) => (this.chevronRef = ref) }), index.h("div", { class: "blind-header-title", id: `ix-blind-header-title-${this.id}` }, this.label !== undefined ? (index.h("span", { class: "blind-header-title-basic" }, this.icon !== undefined ? (index.h("ix-icon", { name: this.icon })) : (''), index.h("ix-typography", { format: "label-lg", bold: true }, index.h("div", { class: "blind-header-title-label", title: this.label }, this.label)), this.sublabel !== undefined ? (index.h("ix-typography", { color: "soft" }, index.h("div", { class: "blind-header-title-sublabel", title: this.sublabel }, this.sublabel))) : (''), index.h("span", { class: "header-actions", onClick: (e) => e.stopImmediatePropagation() }, index.h("slot", { name: "header-actions" })))) : (index.h("slot", { name: "custom-header" })))), index.h("section", { id: `ix-blind-content-section-${this.id}`, "aria-labelledby": `ix-blind-header-title-${this.id}` }, index.h("div", { class: {
|
|
80
81
|
'blind-content': true,
|
|
81
82
|
hide: this.collapsed,
|
|
82
|
-
} }, index.h("slot", null)))));
|
|
83
|
+
} }, !this.collapsed ? index.h("slot", null) : null))));
|
|
83
84
|
}
|
|
84
85
|
get hostElement() { return index.getElement(this); }
|
|
85
86
|
static get watchers() { return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"ix-blind.entry.cjs.js","mappings":"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","names":["anime","h","Host","a11yBoolean"],"sources":["./src/components/blind/blind.scss?tag=ix-blind&encapsulation=shadow","./src/components/blind/blind.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/fonts';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n\n:host {\n display: flex;\n flex-direction: column;\n background-color: var(--theme-blind-base--background);\n border: solid var(--theme-blind--border-thickness)\n var(--theme-blind-base--border-color);\n border-radius: var(--theme-blind--border-radius);\n overflow: hidden;\n\n .blind-header {\n all: unset;\n @include ellipsis;\n\n display: flex;\n align-items: center;\n min-height: 3rem;\n height: 3rem;\n border: solid var(--theme-blind--border-thickness) transparent;\n border-radius: var(--theme-blind--border-radius)\n var(--theme-blind--border-radius) 0 0;\n padding-right: $small-space;\n transition: border-radius $default-time;\n cursor: pointer;\n\n z-index: 1;\n\n color: var(--theme-blind-header-closed--color);\n background-color: var(--theme-blind-header-closed--background);\n\n .collapse-icon {\n color: var(--theme-blind-header-icon-closed--color);\n padding: $tiny-space $small-space;\n }\n\n .blind-header-title,\n .blind-header-title-basic {\n @include ellipsis;\n display: flex;\n align-items: center;\n flex-grow: 1;\n height: 100%;\n\n .blind-header-title-default {\n @include ellipsis;\n @include text-l-title;\n margin-inline-end: $small-space;\n flex-grow: 1;\n }\n }\n\n .blind-header-title-basic ix-icon {\n margin-inline-end: $small-space;\n }\n\n @include hover {\n background-color: var(--theme-blind-header-open--background--hover);\n\n .collapse-icon {\n color: var(--theme-blind-header-icon-open--color--hover);\n }\n }\n\n @include active {\n background-color: var(--theme-blind-header-open--background--active);\n\n .collapse-icon {\n color: var(--theme-blind-header-icon-open--color--active);\n }\n }\n\n @include focus-visible {\n border-color: var(--theme-color-focus-bdr);\n outline: none;\n }\n\n &.closed {\n border-radius: var(--theme-blind--border-radius);\n\n @include hover {\n background-color: var(--theme-blind-header-open--background--hover);\n\n .collapse-icon {\n color: var(--theme-blind-header-icon-closed--color--hover);\n }\n }\n\n @include active {\n background-color: var(--theme-blind-header-open--background--active);\n\n .collapse-icon {\n color: var(--theme-blind-header-icon-closed--color--active);\n }\n }\n }\n }\n\n .blind-content {\n display: block;\n padding: 1rem;\n transition-property: padding;\n transition-duration: $default-time;\n transition-timing-function: ease-in;\n\n &.hide {\n max-height: 0;\n padding-top: 0px;\n padding-bottom: 0px;\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\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n Watch,\n} from '@stencil/core';\nimport anime from 'animejs';\nimport { a11yBoolean } from '../utils/a11y';\n\nlet sequentialInstanceId = 0;\n@Component({\n tag: 'ix-blind',\n styleUrl: 'blind.scss',\n shadow: true,\n})\nexport class Blind {\n /**\n * Collapsed state\n */\n @Prop({ mutable: true, reflect: true }) collapsed = false;\n\n /**\n * Label of blind\n */\n @Prop() label: string;\n\n /**\n * Optional icon to be displayed next to the header label\n * @since 1.5.0\n */\n @Prop() icon: string;\n\n /**\n * Collapsed state changed\n */\n @Event() collapsedChange: EventEmitter<boolean>;\n\n @Element() hostElement!: HTMLIxBlindElement;\n\n private chevronRef: HTMLElement;\n private id = ++sequentialInstanceId;\n\n constructor() {}\n\n private onHeaderClick(e: Event) {\n if ((e.target as Element).closest('.header-actions')) {\n return;\n }\n\n e.preventDefault();\n e.stopImmediatePropagation();\n\n this.collapsed = !this.collapsed;\n this.collapsedChange.emit(this.collapsed);\n }\n\n componentDidLoad() {\n this.animateCollapse(this.collapsed);\n }\n\n get content() {\n return this.hostElement.shadowRoot.querySelector('.blind-content');\n }\n\n @Watch('collapsed')\n animation(isCollapsed: boolean) {\n this.animateCollapse(isCollapsed);\n }\n\n private animateCollapse(isCollapsed: boolean) {\n if (isCollapsed) {\n this.rotateChevronRight();\n } else {\n this.rotateChevronDown();\n }\n }\n\n private rotateChevronDown() {\n anime({\n targets: this.chevronRef,\n duration: 150,\n easing: 'easeInOutSine',\n rotateZ: 90,\n });\n anime({\n targets: this.content,\n duration: 150,\n easing: 'easeInOutSine',\n opacity: 1,\n });\n }\n\n private rotateChevronRight() {\n anime({\n targets: this.chevronRef,\n duration: 150,\n easing: 'easeInOutSine',\n rotateZ: 0,\n });\n anime({\n targets: this.content,\n duration: 150,\n easing: 'easeInOutSine',\n opacity: 0,\n });\n }\n\n render() {\n return (\n <Host>\n <button\n class={{\n 'blind-header': true,\n closed: this.collapsed,\n }}\n type=\"button\"\n aria-labelledby={`ix-blind-header-title-${this.id}`}\n aria-controls={`ix-blind-content-section-${this.id}`}\n aria-expanded={a11yBoolean(!this.collapsed)}\n onClick={(e) => this.onHeaderClick(e)}\n >\n <ix-icon\n class={'collapse-icon'}\n name=\"chevron-right-small\"\n ref={(ref) => (this.chevronRef = ref)}\n ></ix-icon>\n <div\n class=\"blind-header-title\"\n id={`ix-blind-header-title-${this.id}`}\n >\n {this.label !== undefined ? (\n <span class=\"blind-header-title-basic\">\n {this.icon !== undefined ? (\n <ix-icon name={this.icon}></ix-icon>\n ) : (\n ''\n )}\n <span class=\"blind-header-title-default\">{this.label}</span>\n <span\n class=\"header-actions\"\n onClick={(e) => e.stopImmediatePropagation()}\n >\n <slot name=\"header-actions\"></slot>\n </span>\n </span>\n ) : (\n <slot name=\"custom-header\"></slot>\n )}\n </div>\n </button>\n <section\n id={`ix-blind-content-section-${this.id}`}\n aria-labelledby={`ix-blind-header-title-${this.id}`}\n >\n <div\n class={{\n 'blind-content': true,\n hide: this.collapsed,\n }}\n >\n <slot></slot>\n </div>\n </section>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"ix-blind.entry.cjs.js","mappings":"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","names":["anime","h","Host","a11yBoolean"],"sources":["./src/components/blind/blind.scss?tag=ix-blind&encapsulation=shadow","./src/components/blind/blind.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 display: flex;\n flex-direction: column;\n background-color: var(--theme-blind-base--background);\n border: solid var(--theme-blind--border-thickness)\n var(--theme-blind-base--border-color);\n border-radius: var(--theme-blind--border-radius);\n overflow: hidden;\n\n .blind-header {\n all: unset;\n @include ellipsis;\n\n display: flex;\n align-items: center;\n min-height: 3rem;\n height: 3rem;\n border: solid var(--theme-blind--border-thickness) transparent;\n border-radius: var(--theme-blind--border-radius)\n var(--theme-blind--border-radius) 0 0;\n padding-right: $small-space;\n transition: border-radius $default-time;\n cursor: pointer;\n\n z-index: 1;\n\n color: var(--theme-blind-header-closed--color);\n background-color: var(--theme-blind-header-closed--background);\n\n .collapse-icon {\n color: var(--theme-blind-header-icon-closed--color);\n padding: $tiny-space $small-space;\n }\n\n ix-typography,\n .blind-header-title-label,\n .blind-header-title-sublabel {\n @include ellipsis;\n flex-grow: 1;\n }\n\n .blind-header-title-label {\n padding-inline-end: 0.5rem;\n }\n\n .blind-header-title-sublabel {\n padding-inline: 0.5rem;\n }\n\n .blind-header-title,\n .blind-header-title-basic {\n @include ellipsis;\n display: flex;\n align-items: center;\n flex-grow: 1;\n height: 100%;\n\n .blind-header-title-default {\n @include ellipsis;\n @include text-l-title;\n margin-inline-end: $small-space;\n flex-grow: 1;\n }\n }\n\n .blind-header-title-basic ix-icon {\n margin-inline-end: $small-space;\n }\n\n @include hover {\n background-color: var(--theme-blind-header-open--background--hover);\n\n .collapse-icon {\n color: var(--theme-blind-header-icon-open--color--hover);\n }\n }\n\n @include active {\n background-color: var(--theme-blind-header-open--background--active);\n\n .collapse-icon {\n color: var(--theme-blind-header-icon-open--color--active);\n }\n }\n\n @include focus-visible {\n border-color: var(--theme-color-focus-bdr);\n outline: none;\n }\n\n &.closed {\n border-radius: var(--theme-blind--border-radius);\n\n @include hover {\n background-color: var(--theme-blind-header-open--background--hover);\n\n .collapse-icon {\n color: var(--theme-blind-header-icon-closed--color--hover);\n }\n }\n\n @include active {\n background-color: var(--theme-blind-header-open--background--active);\n\n .collapse-icon {\n color: var(--theme-blind-header-icon-closed--color--active);\n }\n }\n }\n }\n\n .blind-content {\n display: block;\n padding: 1rem;\n transition-property: padding;\n transition-duration: $default-time;\n transition-timing-function: ease-in;\n\n &.hide {\n max-height: 0;\n padding-top: 0px;\n padding-bottom: 0px;\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\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n Watch,\n} from '@stencil/core';\nimport anime from 'animejs';\nimport { a11yBoolean } from '../utils/a11y';\n\nlet sequentialInstanceId = 0;\n@Component({\n tag: 'ix-blind',\n styleUrl: 'blind.scss',\n shadow: true,\n})\nexport class Blind {\n /**\n * Collapsed state\n */\n @Prop({ mutable: true, reflect: true }) collapsed = false;\n\n /**\n * Label of blind\n */\n @Prop() label: string;\n\n /**\n * Secondary label inside blind header\n * @since 2.0.0\n */\n @Prop() sublabel: string;\n\n /**\n * Optional icon to be displayed next to the header label\n * @since 1.5.0\n */\n @Prop() icon: string;\n\n /**\n * Collapsed state changed\n */\n @Event() collapsedChange: EventEmitter<boolean>;\n\n @Element() hostElement!: HTMLIxBlindElement;\n\n private chevronRef: HTMLElement;\n private id = ++sequentialInstanceId;\n\n constructor() {}\n\n private onHeaderClick(e: Event) {\n if ((e.target as Element).closest('.header-actions')) {\n return;\n }\n\n e.preventDefault();\n e.stopImmediatePropagation();\n\n this.collapsed = !this.collapsed;\n this.collapsedChange.emit(this.collapsed);\n }\n\n componentDidLoad() {\n this.animateCollapse(this.collapsed);\n }\n\n get content() {\n return this.hostElement.shadowRoot.querySelector('.blind-content');\n }\n\n @Watch('collapsed')\n animation(isCollapsed: boolean) {\n this.animateCollapse(isCollapsed);\n }\n\n private animateCollapse(isCollapsed: boolean) {\n if (isCollapsed) {\n this.rotateChevronRight();\n } else {\n this.rotateChevronDown();\n }\n }\n\n private rotateChevronDown() {\n anime({\n targets: this.chevronRef,\n duration: 150,\n easing: 'easeInOutSine',\n rotateZ: 90,\n });\n anime({\n targets: this.content,\n duration: 150,\n easing: 'easeInOutSine',\n opacity: 1,\n });\n }\n\n private rotateChevronRight() {\n anime({\n targets: this.chevronRef,\n duration: 150,\n easing: 'easeInOutSine',\n rotateZ: 0,\n });\n anime({\n targets: this.content,\n duration: 150,\n easing: 'easeInOutSine',\n opacity: 0,\n });\n }\n\n render() {\n return (\n <Host>\n <button\n class={{\n 'blind-header': true,\n closed: this.collapsed,\n }}\n type=\"button\"\n aria-labelledby={`ix-blind-header-title-${this.id}`}\n aria-controls={`ix-blind-content-section-${this.id}`}\n aria-expanded={a11yBoolean(!this.collapsed)}\n onClick={(e) => this.onHeaderClick(e)}\n >\n <ix-icon\n class={'collapse-icon'}\n name=\"chevron-right-small\"\n ref={(ref) => (this.chevronRef = ref)}\n ></ix-icon>\n <div\n class=\"blind-header-title\"\n id={`ix-blind-header-title-${this.id}`}\n >\n {this.label !== undefined ? (\n <span class=\"blind-header-title-basic\">\n {this.icon !== undefined ? (\n <ix-icon name={this.icon}></ix-icon>\n ) : (\n ''\n )}\n <ix-typography format=\"label-lg\" bold>\n <div class=\"blind-header-title-label\" title={this.label}>\n {this.label}\n </div>\n </ix-typography>\n {this.sublabel !== undefined ? (\n <ix-typography color=\"soft\">\n <div\n class=\"blind-header-title-sublabel\"\n title={this.sublabel}\n >\n {this.sublabel}\n </div>\n </ix-typography>\n ) : (\n ''\n )}\n <span\n class=\"header-actions\"\n onClick={(e) => e.stopImmediatePropagation()}\n >\n <slot name=\"header-actions\"></slot>\n </span>\n </span>\n ) : (\n <slot name=\"custom-header\"></slot>\n )}\n </div>\n </button>\n <section\n id={`ix-blind-content-section-${this.id}`}\n aria-labelledby={`ix-blind-header-title-${this.id}`}\n >\n <div\n class={{\n 'blind-content': true,\n hide: this.collapsed,\n }}\n >\n {!this.collapsed ? <slot></slot> : null}\n </div>\n </section>\n </Host>\n );\n }\n}\n"],"version":3}
|