@siemens/ix 1.6.3 → 2.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/a11y-fa9abd92.js +82 -0
- package/dist/cjs/a11y-fa9abd92.js.map +1 -0
- package/dist/cjs/base-button-497db257.js.map +1 -1
- package/dist/cjs/context-2ce9a350.js +26 -0
- package/dist/cjs/context-2ce9a350.js.map +1 -0
- package/dist/cjs/{flip-tile-state-b5ff5ea0.js → flip-tile-state-183236a1.js} +6 -6
- package/dist/cjs/{flip-tile-state-b5ff5ea0.js.map → flip-tile-state-183236a1.js.map} +1 -1
- package/dist/cjs/{floating-ui.dom.esm-01fe5abe.js → floating-ui.dom.esm-b79b633f.js} +1 -103
- package/dist/cjs/floating-ui.dom.esm-b79b633f.js.map +1 -0
- package/dist/cjs/{icon-4c954853.js → icon-eeb2940a.js} +2 -2
- package/dist/cjs/{icon-4c954853.js.map → icon-eeb2940a.js.map} +1 -1
- package/dist/cjs/{index-c978628a.js → index-e56a1d39.js} +77 -21
- package/dist/cjs/index-e56a1d39.js.map +1 -0
- package/dist/cjs/index.cjs.js +46 -7
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/ix-action-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-animated-tab_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +21 -18
- package/dist/cjs/ix-application-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-avatar.cjs.entry.js +39 -0
- package/dist/cjs/ix-avatar.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +13 -15
- package/dist/cjs/ix-basic-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-blind.cjs.entry.js +3 -12
- package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-burger-menu.cjs.entry.js +7 -3
- package/dist/cjs/ix-burger-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-button.cjs.entry.js +6 -4
- package/dist/cjs/ix-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-card-list.cjs.entry.js +1 -1
- package/dist/cjs/ix-card_2.cjs.entry.js +36 -0
- package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-category-filter.cjs.entry.js +2 -2
- package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-chip.cjs.entry.js +23 -15
- package/dist/cjs/ix-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-content-header.cjs.entry.js +3 -3
- package/dist/cjs/ix-content-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-css-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-css-grid.cjs.entry.js +1 -1
- package/dist/cjs/ix-date-picker_2.cjs.entry.js +8 -9
- package/dist/cjs/ix-date-picker_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js +2 -3
- package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -2
- package/dist/cjs/ix-datetime-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-divider.cjs.entry.js +1 -1
- package/dist/cjs/ix-drawer.cjs.entry.js +4 -1
- package/dist/cjs/ix-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +7 -6
- package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-header.cjs.entry.js +22 -0
- package/dist/cjs/ix-dropdown-header.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +67 -33
- package/dist/cjs/ix-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/ix-event-list_2.cjs.entry.js +44 -25
- package/dist/cjs/ix-event-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-expanding-search.cjs.entry.js +5 -8
- package/dist/cjs/ix-expanding-search.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-filter-chip.cjs.entry.js +3 -3
- package/dist/cjs/ix-filter-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js +3 -3
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-group-context-menu.cjs.entry.js +26 -14
- package/dist/cjs/ix-group-context-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-group_2.cjs.entry.js +159 -0
- package/dist/cjs/ix-group_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-icon-button.cjs.entry.js +10 -5
- package/dist/cjs/ix-icon-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-icon.cjs.entry.js +2 -2
- package/dist/cjs/ix-index-button.cjs.entry.js +4 -4
- package/dist/cjs/ix-index-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-input-group.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/ix-link-button.cjs.entry.js +30 -0
- package/dist/cjs/ix-link-button.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js +17 -7
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu-category.cjs.entry.js +138 -0
- package/dist/cjs/ix-menu-category.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-menu_9.cjs.entry.js +252 -339
- package/dist/cjs/ix-menu_9.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-content.cjs.entry.js +21 -0
- package/dist/cjs/ix-modal-content.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-modal-example.cjs.entry.js +6 -4
- package/dist/cjs/ix-modal-example.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-footer.cjs.entry.js +21 -0
- package/dist/cjs/ix-modal-footer.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-modal-header.cjs.entry.js +48 -0
- package/dist/cjs/ix-modal-header.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-modal-loading.cjs.entry.js +21 -0
- package/dist/cjs/ix-modal-loading.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-modal.cjs.entry.js +130 -0
- package/dist/cjs/ix-modal.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-pagination.cjs.entry.js +4 -4
- package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-pill.cjs.entry.js +28 -10
- package/dist/cjs/ix-pill.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-push-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-select_2.cjs.entry.js +20 -8
- package/dist/cjs/ix-select_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-spinner.cjs.entry.js +10 -3
- package/dist/cjs/ix-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-split-button_2.cjs.entry.js +15 -11
- package/dist/cjs/ix-split-button_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tab-item.cjs.entry.js +2 -2
- package/dist/cjs/ix-tab-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tabs.cjs.entry.js +14 -6
- package/dist/cjs/ix-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tile.cjs.entry.js +18 -3
- package/dist/cjs/ix-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toast_2.cjs.entry.js +6 -7
- package/dist/cjs/ix-toast_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toggle.cjs.entry.js +11 -30
- package/dist/cjs/ix-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/ix-tree_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-typography.cjs.entry.js +46 -0
- package/dist/cjs/ix-typography.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-upload.cjs.entry.js +19 -7
- package/dist/cjs/ix-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +6 -19
- 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-d1b87142.js +80 -0
- package/dist/cjs/menu-service-d1b87142.js.map +1 -0
- package/dist/cjs/modal-26ae4715.js +253 -0
- package/dist/cjs/modal-26ae4715.js.map +1 -0
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/my-component.cjs.entry.js.map +1 -1
- package/dist/cjs/service-0e27b06b.js +145 -0
- package/dist/cjs/service-0e27b06b.js.map +1 -0
- package/dist/cjs/shadow-dom-f9b90696.js +21 -0
- package/dist/cjs/shadow-dom-f9b90696.js.map +1 -0
- package/dist/cjs/siemens-ix.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +18 -20
- package/dist/collection/components/application-header/application-header.css +2 -2
- package/dist/collection/components/application-header/application-header.js +43 -16
- package/dist/collection/components/application-header/application-header.js.map +1 -1
- package/dist/collection/components/avatar/avatar.css +70 -0
- package/dist/collection/components/avatar/avatar.js +80 -0
- package/dist/collection/components/avatar/avatar.js.map +1 -0
- package/dist/collection/components/basic-navigation/basic-navigation.css +32 -4
- package/dist/collection/components/basic-navigation/basic-navigation.js +11 -13
- package/dist/collection/components/basic-navigation/basic-navigation.js.map +1 -1
- package/dist/collection/components/button/base-button.js.map +1 -1
- package/dist/collection/components/button/button.css +15 -0
- package/dist/collection/components/button/button.js +44 -4
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/button/test/button.ct.js +36 -0
- package/dist/collection/components/button/test/button.ct.js.map +1 -0
- package/dist/collection/components/category-filter/category-filter.js +1 -1
- package/dist/collection/components/category-filter/category-filter.js.map +1 -1
- package/dist/collection/components/chip/chip.css +149 -149
- package/dist/collection/components/chip/chip.js +22 -14
- package/dist/collection/components/chip/chip.js.map +1 -1
- package/dist/collection/components/content-header/content-header.js +4 -4
- package/dist/collection/components/content-header/content-header.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.css +12 -2
- package/dist/collection/components/date-picker/date-picker.js +4 -4
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/date-time-card/date-time-card.css +28 -8
- package/dist/collection/components/date-time-card/date-time-card.js +1 -2
- package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
- package/dist/collection/components/datetime-picker/datetime-picker.css +16 -6
- package/dist/collection/components/datetime-picker/datetime-picker.js +1 -1
- package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
- package/dist/collection/components/drawer/drawer.js +3 -0
- package/dist/collection/components/drawer/drawer.js.map +1 -1
- package/dist/collection/components/drawer/test/drawer.ct.js +47 -0
- package/dist/collection/components/drawer/test/drawer.ct.js.map +1 -0
- package/dist/collection/components/dropdown/dropdown.css +16 -471
- package/dist/collection/components/dropdown/dropdown.js +77 -63
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown/placement.js.map +1 -1
- package/dist/collection/components/dropdown-button/dropdown-button.css +16 -2
- package/dist/collection/components/dropdown-button/dropdown-button.js +13 -9
- package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
- package/dist/collection/components/dropdown-header/dropdown-header.css +32 -0
- package/dist/collection/components/{group-dropdown-item/group-dropdown-item.js → dropdown-header/dropdown-header.js} +11 -26
- package/dist/collection/components/dropdown-header/dropdown-header.js.map +1 -0
- package/dist/collection/components/dropdown-item/dropdown-item.css +85 -37
- package/dist/collection/components/dropdown-item/dropdown-item.js +57 -12
- package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -1
- package/dist/collection/components/event-list/event-list.css +20 -35
- package/dist/collection/components/event-list/event-list.js +35 -16
- package/dist/collection/components/event-list/event-list.js.map +1 -1
- package/dist/collection/components/event-list-item/event-list-item.css +62 -35
- package/dist/collection/components/event-list-item/event-list-item.js +17 -10
- package/dist/collection/components/event-list-item/event-list-item.js.map +1 -1
- package/dist/collection/components/expanding-search/expanding-search.css +262 -8
- package/dist/collection/components/expanding-search/expanding-search.js +4 -7
- package/dist/collection/components/expanding-search/expanding-search.js.map +1 -1
- package/dist/collection/components/expanding-search/test/expanding-search.ct.js +56 -0
- package/dist/collection/components/expanding-search/test/expanding-search.ct.js.map +1 -0
- package/dist/collection/components/filter-chip/filter-chip.css +39 -26
- package/dist/collection/components/filter-chip/filter-chip.js +2 -2
- package/dist/collection/components/filter-chip/filter-chip.js.map +1 -1
- package/dist/collection/components/flip-tile/flip-tile-state.js +5 -5
- package/dist/collection/components/flip-tile/flip-tile-state.js.map +1 -1
- package/dist/collection/components/flip-tile/flip-tile.js +1 -1
- package/dist/collection/components/flip-tile/flip-tile.js.map +1 -1
- package/dist/collection/components/group/group-context-menu.css +2 -3
- package/dist/collection/components/group/group-context-menu.js +27 -15
- package/dist/collection/components/group/group-context-menu.js.map +1 -1
- package/dist/collection/components/group/group.css +6 -0
- package/dist/collection/components/group/group.js +29 -48
- package/dist/collection/components/group/group.js.map +1 -1
- package/dist/collection/components/group-item/group-item.css +59 -33
- package/dist/collection/components/group-item/group-item.js +2 -2
- package/dist/collection/components/group-item/group-item.js.map +1 -1
- package/dist/collection/components/icon-button/icon-button.css +30 -0
- package/dist/collection/components/icon-button/icon-button.js +36 -7
- package/dist/collection/components/icon-button/icon-button.js.map +1 -1
- package/dist/collection/components/icon-button/test/icon-button.ct.js +26 -0
- package/dist/collection/components/icon-button/test/icon-button.ct.js.map +1 -0
- package/dist/collection/components/index-button/index-button.js +5 -5
- package/dist/collection/components/index-button/index-button.js.map +1 -1
- package/dist/collection/components/input-group/input-group.css +2 -0
- package/dist/collection/components/link-button/link-button.css +440 -0
- package/dist/collection/components/link-button/link-button.js +98 -0
- package/dist/collection/components/link-button/link-button.js.map +1 -0
- package/dist/collection/components/map-navigation/map-navigation.css +17 -1
- package/dist/collection/components/map-navigation/map-navigation.js +18 -7
- package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
- package/dist/collection/components/menu/burger-menu.css +388 -5
- package/dist/collection/components/menu/burger-menu.js +42 -2
- package/dist/collection/components/menu/burger-menu.js.map +1 -1
- package/dist/collection/components/menu/menu.css +1727 -24
- package/dist/collection/components/menu/menu.js +319 -335
- package/dist/collection/components/menu/menu.js.map +1 -1
- package/dist/collection/components/menu/test/menu.ct.js +164 -0
- package/dist/collection/components/menu/test/menu.ct.js.map +1 -0
- package/dist/collection/components/menu-about/menu-about.js +8 -7
- package/dist/collection/components/menu-about/menu-about.js.map +1 -1
- package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
- package/dist/collection/components/menu-about-item/menu-about-item.js.map +1 -1
- package/dist/collection/components/menu-about-news/menu-about-news.css +21 -6
- package/dist/collection/components/menu-about-news/menu-about-news.js +3 -3
- package/dist/collection/components/menu-about-news/menu-about-news.js.map +1 -1
- package/dist/collection/components/menu-avatar/menu-avatar.css +13 -1
- package/dist/collection/components/menu-avatar/menu-avatar.js +2 -9
- package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +13 -1
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +2 -2
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js.map +1 -1
- package/dist/collection/components/menu-category/menu-category.css +63 -0
- package/dist/collection/components/menu-category/menu-category.js +212 -0
- package/dist/collection/components/menu-category/menu-category.js.map +1 -0
- package/dist/collection/components/menu-category/test/menu-category.ct.js +107 -0
- package/dist/collection/components/menu-category/test/menu-category.ct.js.map +1 -0
- package/dist/collection/components/menu-item/menu-item.css +6 -10
- package/dist/collection/components/menu-item/menu-item.js +40 -7
- package/dist/collection/components/menu-item/menu-item.js.map +1 -1
- package/dist/collection/components/menu-settings/menu-settings.css +13 -0
- package/dist/collection/components/menu-settings/menu-settings.js +9 -8
- package/dist/collection/components/menu-settings/menu-settings.js.map +1 -1
- package/dist/collection/components/menu-settings-item/menu-settings-item.css +0 -1
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
- package/dist/collection/components/menu-settings-item/menu-settings-item.js.map +1 -1
- package/dist/collection/components/modal/modal.css +58 -75
- package/dist/collection/components/modal/modal.js +143 -312
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/modal-content/modal-content.css +27 -0
- package/dist/collection/components/modal-content/modal-content.js +30 -0
- package/dist/collection/components/modal-content/modal-content.js.map +1 -0
- package/dist/collection/components/modal-footer/modal-footer.css +30 -0
- package/dist/collection/components/modal-footer/modal-footer.js +30 -0
- package/dist/collection/components/modal-footer/modal-footer.js.map +1 -0
- package/dist/collection/components/modal-header/modal-header.css +34 -0
- package/dist/collection/components/modal-header/modal-header.js +139 -0
- package/dist/collection/components/modal-header/modal-header.js.map +1 -0
- package/dist/collection/components/modal-loading/modal-loading.css +22 -0
- package/dist/collection/components/modal-loading/modal-loading.js +30 -0
- package/dist/collection/components/modal-loading/modal-loading.js.map +1 -0
- package/dist/collection/components/my-component/example-modal.js +1 -1
- package/dist/collection/components/my-component/example-modal.js.map +1 -1
- package/dist/collection/components/my-component/my-component.js.map +1 -1
- package/dist/collection/components/pagination/pagination.js +3 -3
- package/dist/collection/components/pagination/pagination.js.map +1 -1
- package/dist/collection/components/pill/pill.css +102 -166
- package/dist/collection/components/pill/pill.js +27 -9
- package/dist/collection/components/pill/pill.js.map +1 -1
- package/dist/collection/components/select/select.css +4 -1
- package/dist/collection/components/select/select.js +32 -5
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select/test/select.ct.js +115 -0
- package/dist/collection/components/select/test/select.ct.js.map +1 -0
- package/dist/collection/components/select-item/select-item.css +12 -0
- package/dist/collection/components/select-item/select-item.js +3 -1
- package/dist/collection/components/select-item/select-item.js.map +1 -1
- package/dist/collection/components/spinner/spinner.css +428 -23
- package/dist/collection/components/spinner/spinner.js +33 -5
- package/dist/collection/components/spinner/spinner.js.map +1 -1
- package/dist/collection/components/split-button/split-button.css +40 -2
- package/dist/collection/components/split-button/split-button.js +18 -35
- package/dist/collection/components/split-button/split-button.js.map +1 -1
- package/dist/collection/components/split-button-item/split-button-item.css +1 -1
- package/dist/collection/components/split-button-item/split-button-item.js +2 -2
- package/dist/collection/components/split-button-item/split-button-item.js.map +1 -1
- package/dist/collection/components/tab-item/tab-item.css +115 -82
- package/dist/collection/components/tab-item/tab-item.js +1 -0
- package/dist/collection/components/tab-item/tab-item.js.map +1 -1
- package/dist/collection/components/tabs/tabs.css +37 -19
- package/dist/collection/components/tabs/tabs.js +13 -4
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/collection/components/tile/tile.css +57 -27
- package/dist/collection/components/tile/tile.js +23 -2
- package/dist/collection/components/tile/tile.js.map +1 -1
- package/dist/collection/components/time-picker/time-picker.css +253 -30
- package/dist/collection/components/time-picker/time-picker.js +3 -4
- package/dist/collection/components/time-picker/time-picker.js.map +1 -1
- package/dist/collection/components/toast/toast-container.js +2 -3
- package/dist/collection/components/toast/toast-container.js.map +1 -1
- package/dist/collection/components/toast/toast.css +37 -0
- package/dist/collection/components/toast/toast.js +5 -5
- package/dist/collection/components/toast/toast.js.map +1 -1
- package/dist/collection/components/toggle/test/toggle.ct.js +52 -0
- package/dist/collection/components/toggle/test/toggle.ct.js.map +1 -0
- package/dist/collection/components/toggle/toggle.css +72 -153
- package/dist/collection/components/toggle/toggle.js +11 -60
- package/dist/collection/components/toggle/toggle.js.map +1 -1
- package/dist/collection/components/typography/typography.css +53 -14
- package/dist/collection/components/typography/typography.js +2 -2
- package/dist/collection/components/typography/typography.js.map +1 -1
- package/dist/collection/components/upload/upload.css +24 -3
- package/dist/collection/components/upload/upload.js +18 -6
- package/dist/collection/components/upload/upload.js.map +1 -1
- package/dist/collection/components/utils/a11y.js +66 -0
- package/dist/collection/components/utils/a11y.js.map +1 -1
- package/dist/collection/components/utils/delegate.js +29 -0
- package/dist/collection/components/utils/delegate.js.map +1 -0
- package/dist/collection/components/utils/menu-service/menu-service.js +25 -0
- package/dist/collection/components/utils/menu-service/menu-service.js.map +1 -1
- package/dist/collection/components/{modal-container/modal-container.css → utils/modal/index.js} +4 -6
- package/dist/collection/components/utils/modal/index.js.map +1 -0
- package/dist/collection/components/utils/modal/loading.js +35 -0
- package/dist/collection/components/utils/modal/loading.js.map +1 -0
- package/dist/collection/components/utils/modal/message.js +138 -0
- package/dist/collection/components/utils/modal/message.js.map +1 -0
- package/dist/collection/components/utils/modal/modal.js +77 -0
- package/dist/collection/components/utils/modal/modal.js.map +1 -0
- package/dist/collection/components/utils/screen/context.js +4 -0
- package/dist/collection/components/utils/screen/context.js.map +1 -1
- package/dist/collection/components/utils/screen/mode.js +57 -9
- package/dist/collection/components/utils/screen/mode.js.map +1 -1
- package/dist/collection/components/utils/screen/service.js +26 -4
- package/dist/collection/components/utils/screen/service.js.map +1 -1
- package/dist/collection/components/utils/shadow-dom.js +19 -0
- package/dist/collection/components/utils/shadow-dom.js.map +1 -0
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +29 -12
- package/dist/collection/components/validation-tooltip/validation-tooltip.js.map +1 -1
- package/dist/collection/components/workflow-step/workflow-step.css +13 -0
- package/dist/collection/components/workflow-step/workflow-step.js +3 -12
- package/dist/collection/components/workflow-step/workflow-step.js.map +1 -1
- package/dist/collection/components/workflow-steps/workflow-steps.css +13 -0
- package/dist/collection/components/workflow-steps/workflow-steps.js +19 -14
- package/dist/collection/components/workflow-steps/workflow-steps.js.map +1 -1
- package/dist/collection/index.js +2 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/tests/utils/test/page.js +12 -5
- package/dist/collection/tests/utils/test/page.js.map +1 -1
- package/dist/components/a11y.js +79 -0
- package/dist/components/a11y.js.map +1 -0
- package/dist/components/application-header.js +40 -18
- package/dist/components/application-header.js.map +1 -1
- package/dist/components/avatar.js +53 -0
- package/dist/components/avatar.js.map +1 -0
- package/dist/components/base-button.js.map +1 -1
- package/dist/components/burger-menu.js +28 -4
- package/dist/components/burger-menu.js.map +1 -1
- package/dist/components/button.js +21 -5
- package/dist/components/button.js.map +1 -1
- package/dist/components/context.js +22 -0
- package/dist/components/context.js.map +1 -0
- package/dist/components/date-picker.js +22 -15
- package/dist/components/date-picker.js.map +1 -1
- package/dist/components/date-time-card.js +3 -3
- package/dist/components/date-time-card.js.map +1 -1
- package/dist/components/divider.js +32 -0
- package/dist/components/divider.js.map +1 -0
- package/dist/components/dropdown-item.js +21 -13
- package/dist/components/dropdown-item.js.map +1 -1
- package/dist/components/dropdown.js +50 -22
- package/dist/components/dropdown.js.map +1 -1
- package/dist/components/filter-chip.js +18 -5
- package/dist/components/filter-chip.js.map +1 -1
- package/dist/components/flip-tile-state.js +5 -5
- package/dist/components/flip-tile-state.js.map +1 -1
- package/dist/components/floating-ui.dom.esm.js +1 -102
- package/dist/components/floating-ui.dom.esm.js.map +1 -1
- package/dist/components/group-context-menu.js +52 -19
- package/dist/components/group-context-menu.js.map +1 -1
- package/dist/components/group-item.js +4 -3
- package/dist/components/group-item.js.map +1 -1
- package/dist/components/icon-button.js +19 -7
- package/dist/components/icon-button.js.map +1 -1
- package/dist/components/index-button.js +3 -3
- package/dist/components/index-button.js.map +1 -1
- package/dist/components/index.js +37 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/{ix-group-dropdown-item.d.ts → ix-avatar.d.ts} +4 -4
- package/dist/components/ix-avatar.js +8 -0
- package/dist/components/ix-avatar.js.map +1 -0
- package/dist/components/ix-basic-navigation.js +35 -18
- package/dist/components/ix-basic-navigation.js.map +1 -1
- package/dist/components/ix-blind.js +1 -10
- package/dist/components/ix-blind.js.map +1 -1
- package/dist/components/ix-card-list.js +16 -10
- package/dist/components/ix-card-list.js.map +1 -1
- package/dist/components/ix-category-filter.js +15 -9
- package/dist/components/ix-category-filter.js.map +1 -1
- package/dist/components/ix-chip.js +38 -17
- package/dist/components/ix-chip.js.map +1 -1
- package/dist/components/ix-content-header.js +12 -6
- package/dist/components/ix-content-header.js.map +1 -1
- package/dist/components/ix-datetime-picker.js +21 -14
- package/dist/components/ix-datetime-picker.js.map +1 -1
- package/dist/components/ix-divider.js +1 -28
- package/dist/components/ix-divider.js.map +1 -1
- package/dist/components/ix-drawer.js +13 -4
- package/dist/components/ix-drawer.js.map +1 -1
- package/dist/components/ix-dropdown-button.js +22 -14
- package/dist/components/ix-dropdown-button.js.map +1 -1
- package/dist/components/{ix-modal-container.d.ts → ix-dropdown-header.d.ts} +4 -4
- package/dist/components/ix-dropdown-header.js +44 -0
- package/dist/components/ix-dropdown-header.js.map +1 -0
- package/dist/components/ix-empty-state.js +10 -4
- package/dist/components/ix-empty-state.js.map +1 -1
- package/dist/components/ix-event-list-item.js +21 -11
- package/dist/components/ix-event-list-item.js.map +1 -1
- package/dist/components/ix-event-list.js +34 -17
- package/dist/components/ix-event-list.js.map +1 -1
- package/dist/components/ix-expanding-search.js +16 -12
- package/dist/components/ix-expanding-search.js.map +1 -1
- package/dist/components/ix-flip-tile.js +11 -5
- package/dist/components/ix-flip-tile.js.map +1 -1
- package/dist/components/ix-group.js +50 -49
- package/dist/components/ix-group.js.map +1 -1
- package/dist/components/ix-input-group.js +1 -1
- package/dist/components/ix-input-group.js.map +1 -1
- package/dist/components/ix-link-button.d.ts +11 -0
- package/dist/components/ix-link-button.js +54 -0
- package/dist/components/ix-link-button.js.map +1 -0
- package/dist/components/ix-map-navigation.js +35 -17
- package/dist/components/ix-map-navigation.js.map +1 -1
- package/dist/components/ix-menu-about-item.js +3 -2
- package/dist/components/ix-menu-about-item.js.map +1 -1
- package/dist/components/ix-menu-about-news.js +27 -8
- package/dist/components/ix-menu-about-news.js.map +1 -1
- package/dist/components/ix-menu-about.js +18 -10
- package/dist/components/ix-menu-about.js.map +1 -1
- package/dist/components/ix-menu-avatar.js +11 -19
- package/dist/components/ix-menu-avatar.js.map +1 -1
- package/dist/components/ix-menu-category.d.ts +11 -0
- package/dist/components/ix-menu-category.js +196 -0
- package/dist/components/ix-menu-category.js.map +1 -0
- package/dist/components/ix-menu-settings-item.js +3 -2
- package/dist/components/ix-menu-settings-item.js.map +1 -1
- package/dist/components/ix-menu-settings.js +19 -11
- package/dist/components/ix-menu-settings.js.map +1 -1
- package/dist/components/ix-menu.js +238 -315
- package/dist/components/ix-menu.js.map +1 -1
- package/dist/components/ix-message-bar.js +10 -4
- package/dist/components/ix-message-bar.js.map +1 -1
- package/dist/components/ix-modal-content.d.ts +11 -0
- package/dist/components/ix-modal-content.js +35 -0
- package/dist/components/ix-modal-content.js.map +1 -0
- package/dist/components/ix-modal-example.js +10 -15
- package/dist/components/ix-modal-example.js.map +1 -1
- package/dist/components/{ix-counter-pill.d.ts → ix-modal-footer.d.ts} +4 -4
- package/dist/components/ix-modal-footer.js +35 -0
- package/dist/components/ix-modal-footer.js.map +1 -0
- package/dist/components/ix-modal-header.d.ts +11 -0
- package/dist/components/ix-modal-header.js +90 -0
- package/dist/components/ix-modal-header.js.map +1 -0
- package/dist/components/ix-modal-loading.d.ts +11 -0
- package/dist/components/ix-modal-loading.js +41 -0
- package/dist/components/ix-modal-loading.js.map +1 -0
- package/dist/components/ix-modal.js +148 -1
- package/dist/components/ix-modal.js.map +1 -1
- package/dist/components/ix-pagination.js +25 -19
- package/dist/components/ix-pagination.js.map +1 -1
- package/dist/components/ix-pill.js +29 -10
- package/dist/components/ix-pill.js.map +1 -1
- package/dist/components/ix-split-button-item.js +4 -3
- package/dist/components/ix-split-button-item.js.map +1 -1
- package/dist/components/ix-split-button.js +36 -14
- package/dist/components/ix-split-button.js.map +1 -1
- package/dist/components/ix-tile.js +22 -4
- package/dist/components/ix-tile.js.map +1 -1
- package/dist/components/ix-toast-container.js +12 -6
- package/dist/components/ix-toast-container.js.map +1 -1
- package/dist/components/ix-toggle.js +15 -34
- package/dist/components/ix-toggle.js.map +1 -1
- package/dist/components/ix-upload.js +28 -10
- package/dist/components/ix-upload.js.map +1 -1
- package/dist/components/ix-validation-tooltip.js +6 -18
- package/dist/components/ix-validation-tooltip.js.map +1 -1
- package/dist/components/ix-workflow-step.js +6 -5
- package/dist/components/ix-workflow-step.js.map +1 -1
- package/dist/components/ix-workflow-steps.js +13 -16
- package/dist/components/ix-workflow-steps.js.map +1 -1
- package/dist/components/map-navigation-overlay.js +10 -4
- package/dist/components/map-navigation-overlay.js.map +1 -1
- package/dist/components/menu-avatar-item.js +3 -2
- package/dist/components/menu-avatar-item.js.map +1 -1
- package/dist/components/menu-item.js +17 -3
- package/dist/components/menu-item.js.map +1 -1
- package/dist/components/menu-service.js +78 -0
- package/dist/components/menu-service.js.map +1 -0
- package/dist/components/modal.js +225 -165
- package/dist/components/modal.js.map +1 -1
- package/dist/components/my-component.js.map +1 -1
- package/dist/components/select-item.js +4 -2
- package/dist/components/select-item.js.map +1 -1
- package/dist/components/select.js +33 -17
- package/dist/components/select.js.map +1 -1
- package/dist/components/service.js +83 -81
- package/dist/components/service.js.map +1 -1
- package/dist/components/spinner.js +11 -3
- package/dist/components/spinner.js.map +1 -1
- package/dist/components/tab-item.js +3 -2
- package/dist/components/tab-item.js.map +1 -1
- package/dist/components/tabs.js +22 -7
- package/dist/components/tabs.js.map +1 -1
- package/dist/components/time-picker.js +19 -13
- package/dist/components/time-picker.js.map +1 -1
- package/dist/components/toast.js +17 -10
- package/dist/components/toast.js.map +1 -1
- package/dist/components/typography.js +3 -3
- package/dist/components/typography.js.map +1 -1
- package/dist/esm/a11y-aa83c2d1.js +79 -0
- package/dist/esm/a11y-aa83c2d1.js.map +1 -0
- package/dist/esm/base-button-5bfeb71c.js.map +1 -1
- package/dist/esm/context-381170ae.js +22 -0
- package/dist/esm/context-381170ae.js.map +1 -0
- package/dist/esm/{flip-tile-state-051bb2fd.js → flip-tile-state-db31345f.js} +6 -6
- package/dist/esm/{flip-tile-state-051bb2fd.js.map → flip-tile-state-db31345f.js.map} +1 -1
- package/dist/esm/{floating-ui.dom.esm-3130eda0.js → floating-ui.dom.esm-9b203a02.js} +2 -103
- package/dist/esm/floating-ui.dom.esm-9b203a02.js.map +1 -0
- package/dist/esm/{icon-c659fc0f.js → icon-4ac90a6d.js} +2 -2
- package/dist/esm/{icon-c659fc0f.js.map → icon-4ac90a6d.js.map} +1 -1
- package/dist/esm/{index-8ddfb6d8.js → index-7334ee80.js} +77 -22
- package/dist/esm/index-7334ee80.js.map +1 -0
- package/dist/esm/index.js +40 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/ix-action-card.entry.js +1 -1
- package/dist/esm/ix-animated-tab_2.entry.js +1 -1
- package/dist/esm/ix-application-header.entry.js +20 -17
- package/dist/esm/ix-application-header.entry.js.map +1 -1
- package/dist/esm/ix-avatar.entry.js +35 -0
- package/dist/esm/ix-avatar.entry.js.map +1 -0
- package/dist/esm/ix-basic-navigation.entry.js +13 -15
- package/dist/esm/ix-basic-navigation.entry.js.map +1 -1
- package/dist/esm/ix-blind.entry.js +2 -11
- package/dist/esm/ix-blind.entry.js.map +1 -1
- package/dist/esm/ix-breadcrumb_2.entry.js +1 -1
- package/dist/esm/ix-burger-menu.entry.js +7 -3
- package/dist/esm/ix-burger-menu.entry.js.map +1 -1
- package/dist/esm/ix-button.entry.js +6 -4
- package/dist/esm/ix-button.entry.js.map +1 -1
- package/dist/esm/ix-card-accordion_2.entry.js +1 -1
- package/dist/esm/ix-card-list.entry.js +1 -1
- package/dist/esm/ix-card_2.entry.js +31 -0
- package/dist/esm/ix-card_2.entry.js.map +1 -0
- package/dist/esm/ix-category-filter.entry.js +2 -2
- package/dist/esm/ix-category-filter.entry.js.map +1 -1
- package/dist/esm/ix-chip.entry.js +23 -15
- package/dist/esm/ix-chip.entry.js.map +1 -1
- package/dist/esm/ix-content-header.entry.js +3 -3
- package/dist/esm/ix-content-header.entry.js.map +1 -1
- package/dist/esm/ix-css-grid-item.entry.js +1 -1
- package/dist/esm/ix-css-grid.entry.js +1 -1
- package/dist/esm/ix-date-picker_2.entry.js +8 -9
- package/dist/esm/ix-date-picker_2.entry.js.map +1 -1
- package/dist/esm/ix-date-time-card.entry.js +2 -3
- package/dist/esm/ix-date-time-card.entry.js.map +1 -1
- package/dist/esm/ix-datetime-picker.entry.js +2 -2
- package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
- package/dist/esm/ix-divider.entry.js +1 -1
- package/dist/esm/ix-drawer.entry.js +4 -1
- package/dist/esm/ix-drawer.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-button.entry.js +7 -6
- package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-header.entry.js +18 -0
- package/dist/esm/ix-dropdown-header.entry.js.map +1 -0
- package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
- package/dist/esm/ix-dropdown_2.entry.js +67 -33
- package/dist/esm/ix-dropdown_2.entry.js.map +1 -1
- package/dist/esm/ix-empty-state.entry.js +1 -1
- package/dist/esm/ix-event-list_2.entry.js +44 -25
- package/dist/esm/ix-event-list_2.entry.js.map +1 -1
- package/dist/esm/ix-expanding-search.entry.js +5 -8
- package/dist/esm/ix-expanding-search.entry.js.map +1 -1
- package/dist/esm/ix-filter-chip.entry.js +3 -3
- package/dist/esm/ix-filter-chip.entry.js.map +1 -1
- package/dist/esm/ix-flip-tile_2.entry.js +3 -3
- package/dist/esm/ix-flip-tile_2.entry.js.map +1 -1
- package/dist/esm/ix-group-context-menu.entry.js +26 -14
- package/dist/esm/ix-group-context-menu.entry.js.map +1 -1
- package/dist/esm/ix-group_2.entry.js +154 -0
- package/dist/esm/ix-group_2.entry.js.map +1 -0
- package/dist/esm/ix-icon-button.entry.js +10 -5
- package/dist/esm/ix-icon-button.entry.js.map +1 -1
- package/dist/esm/ix-icon.entry.js +2 -2
- package/dist/esm/ix-index-button.entry.js +4 -4
- package/dist/esm/ix-index-button.entry.js.map +1 -1
- package/dist/esm/ix-input-group.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/ix-link-button.entry.js +26 -0
- package/dist/esm/ix-link-button.entry.js.map +1 -0
- package/dist/esm/ix-map-navigation_2.entry.js +17 -7
- package/dist/esm/ix-map-navigation_2.entry.js.map +1 -1
- package/dist/esm/ix-menu-category.entry.js +134 -0
- package/dist/esm/ix-menu-category.entry.js.map +1 -0
- package/dist/esm/ix-menu_9.entry.js +251 -338
- package/dist/esm/ix-menu_9.entry.js.map +1 -1
- package/dist/esm/ix-message-bar.entry.js +1 -1
- package/dist/esm/ix-modal-content.entry.js +17 -0
- package/dist/esm/ix-modal-content.entry.js.map +1 -0
- package/dist/esm/ix-modal-example.entry.js +4 -2
- package/dist/esm/ix-modal-example.entry.js.map +1 -1
- package/dist/esm/ix-modal-footer.entry.js +17 -0
- package/dist/esm/ix-modal-footer.entry.js.map +1 -0
- package/dist/esm/ix-modal-header.entry.js +44 -0
- package/dist/esm/ix-modal-header.entry.js.map +1 -0
- package/dist/esm/ix-modal-loading.entry.js +17 -0
- package/dist/esm/ix-modal-loading.entry.js.map +1 -0
- package/dist/esm/ix-modal.entry.js +126 -0
- package/dist/esm/ix-modal.entry.js.map +1 -0
- package/dist/esm/ix-pagination.entry.js +4 -4
- package/dist/esm/ix-pagination.entry.js.map +1 -1
- package/dist/esm/ix-pill.entry.js +28 -10
- package/dist/esm/ix-pill.entry.js.map +1 -1
- package/dist/esm/ix-push-card.entry.js +1 -1
- package/dist/esm/ix-select_2.entry.js +20 -8
- package/dist/esm/ix-select_2.entry.js.map +1 -1
- package/dist/esm/ix-spinner.entry.js +10 -3
- package/dist/esm/ix-spinner.entry.js.map +1 -1
- package/dist/esm/ix-split-button_2.entry.js +15 -11
- package/dist/esm/ix-split-button_2.entry.js.map +1 -1
- package/dist/esm/ix-tab-item.entry.js +2 -2
- package/dist/esm/ix-tab-item.entry.js.map +1 -1
- package/dist/esm/ix-tabs.entry.js +14 -6
- package/dist/esm/ix-tabs.entry.js.map +1 -1
- package/dist/esm/ix-tile.entry.js +18 -3
- package/dist/esm/ix-tile.entry.js.map +1 -1
- package/dist/esm/ix-toast_2.entry.js +6 -7
- package/dist/esm/ix-toast_2.entry.js.map +1 -1
- package/dist/esm/ix-toggle.entry.js +11 -30
- package/dist/esm/ix-toggle.entry.js.map +1 -1
- package/dist/esm/ix-tooltip.entry.js +2 -2
- package/dist/esm/ix-tree_2.entry.js +1 -1
- package/dist/esm/ix-typography.entry.js +42 -0
- package/dist/esm/ix-typography.entry.js.map +1 -0
- package/dist/esm/ix-upload.entry.js +19 -7
- package/dist/esm/ix-upload.entry.js.map +1 -1
- package/dist/esm/ix-validation-tooltip.entry.js +6 -19
- 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-b3076949.js +78 -0
- package/dist/esm/menu-service-b3076949.js.map +1 -0
- package/dist/esm/modal-68c6d3f6.js +245 -0
- package/dist/esm/modal-68c6d3f6.js.map +1 -0
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/my-component.entry.js.map +1 -1
- package/dist/esm/service-586129b5.js +143 -0
- package/dist/esm/service-586129b5.js.map +1 -0
- package/dist/esm/shadow-dom-6860b1c4.js +18 -0
- package/dist/esm/shadow-dom-6860b1c4.js.map +1 -0
- package/dist/esm/siemens-ix.js +3 -3
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/index.esm.js.map +1 -1
- package/dist/siemens-ix/{p-d848739e.entry.js → p-00f74fc9.entry.js} +2 -2
- package/dist/siemens-ix/p-01c37ebe.entry.js +2 -0
- package/dist/siemens-ix/p-01c37ebe.entry.js.map +1 -0
- package/dist/siemens-ix/{p-6acce5c9.entry.js → p-02f01e39.entry.js} +2 -2
- package/dist/siemens-ix/p-0574cf88.entry.js +2 -0
- package/dist/siemens-ix/p-0574cf88.entry.js.map +1 -0
- package/dist/siemens-ix/p-06603826.entry.js +2 -0
- package/dist/siemens-ix/p-06603826.entry.js.map +1 -0
- package/dist/siemens-ix/p-06fcaee3.entry.js +2 -0
- package/dist/siemens-ix/p-06fcaee3.entry.js.map +1 -0
- package/dist/siemens-ix/{p-07c932da.entry.js → p-07a0b330.entry.js} +2 -2
- package/dist/siemens-ix/{p-3f4a9e1f.entry.js → p-09ce5f12.entry.js} +2 -2
- package/dist/siemens-ix/p-0b71cde4.js +2 -0
- package/dist/siemens-ix/p-0b71cde4.js.map +1 -0
- package/dist/siemens-ix/{p-f74c7692.entry.js → p-0c9ead45.entry.js} +2 -2
- package/dist/siemens-ix/{p-f74c7692.entry.js.map → p-0c9ead45.entry.js.map} +1 -1
- package/dist/siemens-ix/p-0dea55bf.entry.js +2 -0
- package/dist/siemens-ix/p-0dea55bf.entry.js.map +1 -0
- package/dist/siemens-ix/p-0e86b47b.entry.js +2 -0
- package/dist/siemens-ix/p-0e86b47b.entry.js.map +1 -0
- package/dist/siemens-ix/{p-13bda5ea.entry.js → p-0fab8cae.entry.js} +2 -2
- package/dist/siemens-ix/p-157f7ec0.entry.js +2 -0
- package/dist/siemens-ix/p-157f7ec0.entry.js.map +1 -0
- package/dist/siemens-ix/p-15996fa7.entry.js +2 -0
- package/dist/siemens-ix/p-15996fa7.entry.js.map +1 -0
- package/dist/siemens-ix/p-1b1bc523.entry.js +2 -0
- package/dist/siemens-ix/p-1b1bc523.entry.js.map +1 -0
- package/dist/siemens-ix/p-1b227e9a.js +2 -0
- package/dist/siemens-ix/{p-15bebd8a.js.map → p-1b227e9a.js.map} +1 -1
- package/dist/siemens-ix/{p-003e9355.entry.js → p-20aa7350.entry.js} +2 -2
- package/dist/siemens-ix/p-2ea3d53a.entry.js +2 -0
- package/dist/siemens-ix/p-2ea3d53a.entry.js.map +1 -0
- package/dist/siemens-ix/p-303b8c2f.entry.js +2 -0
- package/dist/siemens-ix/p-303b8c2f.entry.js.map +1 -0
- package/dist/siemens-ix/{p-f6ae45fb.entry.js → p-33670e98.entry.js} +2 -2
- package/dist/siemens-ix/p-34633470.entry.js +2 -0
- package/dist/siemens-ix/p-34633470.entry.js.map +1 -0
- package/dist/siemens-ix/{p-3ec2368b.entry.js → p-34807901.entry.js} +2 -2
- package/dist/siemens-ix/{p-3ec2368b.entry.js.map → p-34807901.entry.js.map} +1 -1
- package/dist/siemens-ix/p-38e69215.entry.js +2 -0
- package/dist/siemens-ix/p-38e69215.entry.js.map +1 -0
- package/dist/siemens-ix/p-3a99b0c8.entry.js +2 -0
- package/dist/siemens-ix/p-3a99b0c8.entry.js.map +1 -0
- package/dist/siemens-ix/p-45738e84.js +2 -0
- package/dist/siemens-ix/p-45738e84.js.map +1 -0
- package/dist/siemens-ix/{p-a89a1fa5.entry.js → p-4d194d55.entry.js} +2 -2
- package/dist/siemens-ix/{p-652ba2c1.entry.js → p-56a27b34.entry.js} +2 -2
- package/dist/siemens-ix/{p-652ba2c1.entry.js.map → p-56a27b34.entry.js.map} +1 -1
- package/dist/siemens-ix/p-5b39e04e.js.map +1 -1
- package/dist/siemens-ix/p-5fedb19b.entry.js +2 -0
- package/dist/siemens-ix/p-5fedb19b.entry.js.map +1 -0
- package/dist/siemens-ix/p-627148db.entry.js +2 -0
- package/dist/siemens-ix/p-627148db.entry.js.map +1 -0
- package/dist/siemens-ix/p-62f4db99.entry.js +2 -0
- package/dist/siemens-ix/p-62f4db99.entry.js.map +1 -0
- package/dist/siemens-ix/{p-626fbee2.entry.js → p-63b82e40.entry.js} +2 -2
- package/dist/siemens-ix/{p-626fbee2.entry.js.map → p-63b82e40.entry.js.map} +1 -1
- package/dist/siemens-ix/p-68c44614.entry.js +2 -0
- package/dist/siemens-ix/p-68c44614.entry.js.map +1 -0
- package/dist/siemens-ix/p-7021c2d1.entry.js +2 -0
- package/dist/siemens-ix/p-7021c2d1.entry.js.map +1 -0
- package/dist/siemens-ix/{p-d2225fc2.entry.js → p-709d38fe.entry.js} +2 -2
- package/dist/siemens-ix/p-785726e8.entry.js +2 -0
- package/dist/siemens-ix/p-785726e8.entry.js.map +1 -0
- package/dist/siemens-ix/p-7d2aec76.entry.js +2 -0
- package/dist/siemens-ix/{p-f207e578.entry.js.map → p-7d2aec76.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-1331a920.entry.js → p-81333042.entry.js} +2 -2
- package/dist/siemens-ix/p-8c14a4a3.entry.js +2 -0
- package/dist/siemens-ix/p-8c14a4a3.entry.js.map +1 -0
- package/dist/siemens-ix/p-8ce73af1.entry.js +2 -0
- package/dist/siemens-ix/p-8ce73af1.entry.js.map +1 -0
- package/dist/siemens-ix/{p-85f01dba.entry.js → p-904aa275.entry.js} +2 -2
- package/dist/siemens-ix/{p-cd3cfc78.entry.js → p-918450cd.entry.js} +2 -2
- package/dist/siemens-ix/p-9547706d.entry.js +2 -0
- package/dist/siemens-ix/p-9547706d.entry.js.map +1 -0
- package/dist/siemens-ix/p-9903e755.entry.js +2 -0
- package/dist/siemens-ix/p-9903e755.entry.js.map +1 -0
- package/dist/siemens-ix/p-9c030990.js +2 -0
- package/dist/siemens-ix/p-9c030990.js.map +1 -0
- package/dist/siemens-ix/p-9d264ca8.entry.js +2 -0
- package/dist/siemens-ix/p-9d264ca8.entry.js.map +1 -0
- package/dist/siemens-ix/p-a64d88de.entry.js +2 -0
- package/dist/siemens-ix/p-a64d88de.entry.js.map +1 -0
- package/dist/siemens-ix/p-a8e8a942.entry.js +2 -0
- package/dist/siemens-ix/p-a8e8a942.entry.js.map +1 -0
- package/dist/siemens-ix/p-a9619a92.entry.js +2 -0
- package/dist/siemens-ix/p-a9619a92.entry.js.map +1 -0
- package/dist/siemens-ix/{p-a7212f01.entry.js → p-b21bc31c.entry.js} +2 -2
- package/dist/siemens-ix/p-b6d52b6f.entry.js +2 -0
- package/dist/siemens-ix/p-b6d52b6f.entry.js.map +1 -0
- package/dist/siemens-ix/{p-6c033b08.entry.js → p-b89172b4.entry.js} +2 -2
- package/dist/siemens-ix/p-b899b25b.js +3 -0
- package/dist/siemens-ix/p-b899b25b.js.map +1 -0
- package/dist/siemens-ix/p-bf019e35.entry.js +2 -0
- package/dist/siemens-ix/p-bf019e35.entry.js.map +1 -0
- package/dist/siemens-ix/p-c0345859.entry.js +2 -0
- package/dist/siemens-ix/p-c0345859.entry.js.map +1 -0
- package/dist/siemens-ix/{p-55b54a81.entry.js → p-c4ea8815.entry.js} +2 -2
- package/dist/siemens-ix/p-c4ea8815.entry.js.map +1 -0
- package/dist/siemens-ix/p-c84a43ef.entry.js +2 -0
- package/dist/siemens-ix/p-c84a43ef.entry.js.map +1 -0
- package/dist/siemens-ix/p-d0a8aa6f.entry.js +2 -0
- package/dist/siemens-ix/p-d43bf856.js +2 -0
- package/dist/siemens-ix/p-d43bf856.js.map +1 -0
- package/dist/siemens-ix/{p-b60bd26c.entry.js → p-d48d74af.entry.js} +2 -2
- package/dist/siemens-ix/{p-b60bd26c.entry.js.map → p-d48d74af.entry.js.map} +1 -1
- package/dist/siemens-ix/p-d737ad96.js +2 -0
- package/dist/siemens-ix/p-d737ad96.js.map +1 -0
- package/dist/siemens-ix/p-d7e8417d.entry.js +2 -0
- package/dist/siemens-ix/p-d7e8417d.entry.js.map +1 -0
- package/dist/siemens-ix/p-d81d0f62.entry.js +2 -0
- package/dist/siemens-ix/p-d81d0f62.entry.js.map +1 -0
- package/dist/siemens-ix/p-d991a3d6.entry.js +2 -0
- package/dist/siemens-ix/p-d991a3d6.entry.js.map +1 -0
- package/dist/siemens-ix/{p-b1db27a3.js → p-db74796e.js} +2 -2
- package/dist/siemens-ix/p-dbca4dd5.entry.js +2 -0
- package/dist/siemens-ix/p-dbca4dd5.entry.js.map +1 -0
- package/dist/siemens-ix/p-e1c92dcb.entry.js +2 -0
- package/dist/siemens-ix/p-e1c92dcb.entry.js.map +1 -0
- package/dist/siemens-ix/p-e275814e.js +2 -0
- package/dist/siemens-ix/p-e275814e.js.map +1 -0
- package/dist/siemens-ix/p-e3db25ef.entry.js +2 -0
- package/dist/siemens-ix/p-e3db25ef.entry.js.map +1 -0
- package/dist/siemens-ix/p-e8f2e141.entry.js +2 -0
- package/dist/siemens-ix/p-e8f2e141.entry.js.map +1 -0
- package/dist/siemens-ix/p-eca0b89c.entry.js +2 -0
- package/dist/siemens-ix/p-eca0b89c.entry.js.map +1 -0
- package/dist/siemens-ix/p-ef73f7e3.entry.js +2 -0
- package/dist/siemens-ix/p-ef73f7e3.entry.js.map +1 -0
- package/dist/siemens-ix/{p-bd24f35f.entry.js → p-f0219d7a.entry.js} +2 -2
- package/dist/siemens-ix/p-f22423c2.js +2 -0
- package/dist/siemens-ix/p-f22423c2.js.map +1 -0
- package/dist/siemens-ix/{p-1e8ee4af.entry.js → p-f38e7420.entry.js} +2 -2
- package/dist/siemens-ix/p-f4d634f5.entry.js +2 -0
- package/dist/siemens-ix/p-f4d634f5.entry.js.map +1 -0
- package/dist/siemens-ix/{p-94ab7c1c.entry.js → p-fafe1aeb.entry.js} +2 -2
- package/dist/siemens-ix/{p-94ab7c1c.entry.js.map → p-fafe1aeb.entry.js.map} +1 -1
- package/dist/siemens-ix/p-fe073f2a.entry.js +2 -0
- package/dist/siemens-ix/p-fe073f2a.entry.js.map +1 -0
- package/dist/siemens-ix/{p-6124d173.entry.js → p-ff17104c.entry.js} +2 -2
- package/dist/siemens-ix/siemens-ix-core.css +12289 -0
- package/dist/siemens-ix/siemens-ix.css +941 -875
- 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 +1062 -0
- package/dist/siemens-ix/theme/classic-light.css +1062 -0
- package/dist/siemens-ix/theme/legacy-classic-dark.css +1061 -0
- package/dist/siemens-ix/theme/legacy-classic-light.css +1061 -0
- package/dist/types/components/application-header/application-header.d.ts +5 -1
- package/dist/types/components/avatar/avatar.d.ts +17 -0
- package/dist/types/components/basic-navigation/basic-navigation.d.ts +2 -3
- package/dist/types/components/button/base-button.d.ts +2 -1
- package/dist/types/components/button/button.d.ts +11 -1
- package/dist/types/components/button/test/button.ct.d.ts +1 -0
- package/dist/types/components/content-header/content-header.d.ts +1 -1
- package/dist/types/components/date-time-card/date-time-card.d.ts +0 -1
- package/dist/types/components/drawer/drawer.d.ts +1 -0
- package/dist/types/components/drawer/test/drawer.ct.d.ts +1 -0
- package/dist/types/components/dropdown/dropdown.d.ts +10 -13
- package/dist/types/components/dropdown/placement.d.ts +3 -4
- package/dist/types/components/dropdown-button/dropdown-button.d.ts +3 -1
- package/dist/types/components/dropdown-header/dropdown-header.d.ts +10 -0
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +9 -0
- package/dist/types/components/event-list/event-list.d.ts +3 -1
- package/dist/types/components/event-list-item/event-list-item.d.ts +4 -2
- package/dist/types/components/expanding-search/test/expanding-search.ct.d.ts +1 -0
- package/dist/types/components/flip-tile/flip-tile-state.d.ts +5 -5
- package/dist/types/components/group/group-context-menu.d.ts +3 -4
- package/dist/types/components/group/group.d.ts +7 -8
- package/dist/types/components/icon-button/icon-button.d.ts +9 -1
- package/dist/types/components/icon-button/test/icon-button.ct.d.ts +1 -0
- package/dist/types/components/link-button/link-button.d.ts +20 -0
- package/dist/types/components/map-navigation/map-navigation.d.ts +3 -1
- package/dist/types/components/menu/burger-menu.d.ts +9 -1
- package/dist/types/components/menu/menu.d.ts +45 -34
- package/dist/types/components/menu/test/menu.ct.d.ts +1 -0
- package/dist/types/components/menu-about/menu-about.d.ts +4 -1
- package/dist/types/components/menu-category/menu-category.d.ts +37 -0
- package/dist/types/components/menu-category/test/menu-category.ct.d.ts +1 -0
- package/dist/types/components/menu-item/menu-item.d.ts +9 -2
- package/dist/types/components/menu-settings/menu-settings.d.ts +4 -1
- package/dist/types/components/modal/modal.d.ts +35 -66
- package/dist/types/components/modal-content/modal-content.d.ts +6 -0
- package/dist/types/components/modal-footer/modal-footer.d.ts +6 -0
- package/dist/types/components/modal-header/modal-header.d.ts +28 -0
- package/dist/types/components/modal-loading/modal-loading.d.ts +6 -0
- package/dist/types/components/select/select.d.ts +9 -1
- package/dist/types/components/select/test/select.ct.d.ts +1 -0
- package/dist/types/components/spinner/spinner.d.ts +7 -2
- package/dist/types/components/split-button/split-button.d.ts +3 -9
- package/dist/types/components/tile/tile.d.ts +5 -0
- package/dist/types/components/time-picker/time-picker.d.ts +0 -1
- package/dist/types/components/toast/toast-container.d.ts +0 -1
- package/dist/types/components/toast/toast.d.ts +1 -1
- package/dist/types/components/toggle/test/toggle.ct.d.ts +1 -0
- package/dist/types/components/toggle/toggle.d.ts +3 -10
- package/dist/types/components/utils/a11y.d.ts +7 -0
- package/dist/types/components/utils/delegate.d.ts +15 -0
- package/dist/types/components/utils/menu-service/menu-service.d.ts +3 -0
- package/dist/types/components/utils/modal/index.d.ts +3 -0
- package/dist/types/components/utils/modal/loading.d.ts +4 -0
- package/dist/types/components/utils/modal/message.d.ts +41 -0
- package/dist/types/components/utils/modal/modal.d.ts +25 -0
- package/dist/types/components/utils/screen/context.d.ts +1 -0
- package/dist/types/components/utils/screen/mode.d.ts +5 -2
- package/dist/types/components/utils/screen/service.d.ts +5 -0
- package/dist/types/components/utils/shadow-dom.d.ts +3 -0
- package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +8 -2
- package/dist/types/components/workflow-step/workflow-step.d.ts +1 -1
- package/dist/types/components/workflow-steps/workflow-steps.d.ts +1 -1
- package/dist/types/components.d.ts +466 -265
- package/dist/types/index.d.ts +2 -1
- package/package.json +7 -6
- package/scss/components/_buttons.scss +4 -0
- package/scss/components/_dropdown.scss +1 -0
- package/scss/components/_forms.scss +1 -0
- package/scss/components/_links.scss +24 -0
- package/scss/ix-core.scss +84 -0
- package/scss/mixins/_hover.scss +32 -0
- package/{dist/collection/components/group-dropdown-item/group-dropdown-item.css → scss/mixins/shadow-dom/_host-disabled.scss} +6 -3
- package/scss/mixins/shadow-dom/_hover.scss +26 -0
- package/scss/theme/classic-dark/_borderRadius.scss +5 -5
- package/scss/theme/classic-dark/_borderWidth.scss +5 -5
- package/scss/theme/classic-dark/_boxShadow.scss +7 -7
- package/scss/theme/classic-dark/_color.scss +423 -418
- package/scss/theme/classic-dark/_other.scss +4 -4
- package/scss/theme/classic-dark/_sizing.scss +1 -1
- package/scss/theme/classic-light/_borderRadius.scss +4 -4
- package/scss/theme/classic-light/_borderWidth.scss +5 -5
- package/scss/theme/classic-light/_boxShadow.scss +7 -7
- package/scss/theme/classic-light/_color.scss +420 -415
- package/scss/theme/classic-light/_other.scss +4 -4
- package/scss/theme/classic-light/_sizing.scss +1 -1
- package/scss/theme/legacy-classic-dark/_border.scss +35 -0
- package/scss/theme/legacy-classic-dark/_borderRadius.scss +24 -0
- package/scss/theme/legacy-classic-dark/_borderWidth.scss +18 -0
- package/scss/theme/legacy-classic-dark/_boxShadow.scss +19 -0
- package/scss/theme/legacy-classic-dark/_color.scss +864 -0
- package/scss/theme/legacy-classic-dark/_fontFamilies.scss +8 -0
- package/scss/theme/legacy-classic-dark/_fontSizes.scss +13 -0
- package/scss/theme/legacy-classic-dark/_fontWeights.scss +9 -0
- package/scss/theme/legacy-classic-dark/_index.scss +16 -0
- package/scss/theme/legacy-classic-dark/_lineHeights.scss +18 -0
- package/scss/theme/legacy-classic-dark/_other.scss +16 -0
- package/scss/theme/legacy-classic-dark/_sizing.scss +16 -0
- package/scss/theme/legacy-classic-dark/_spacing.scss +9 -0
- package/scss/theme/legacy-classic-dark/_typography.scss +23 -0
- package/scss/theme/legacy-classic-light/_border.scss +35 -0
- package/scss/theme/legacy-classic-light/_borderRadius.scss +24 -0
- package/scss/theme/legacy-classic-light/_borderWidth.scss +18 -0
- package/scss/theme/legacy-classic-light/_boxShadow.scss +19 -0
- package/scss/theme/legacy-classic-light/_color.scss +864 -0
- package/scss/theme/legacy-classic-light/_fontFamilies.scss +8 -0
- package/scss/theme/legacy-classic-light/_fontSizes.scss +13 -0
- package/scss/theme/legacy-classic-light/_fontWeights.scss +9 -0
- package/scss/theme/legacy-classic-light/_index.scss +16 -0
- package/scss/theme/legacy-classic-light/_lineHeights.scss +18 -0
- package/scss/theme/legacy-classic-light/_other.scss +16 -0
- package/scss/theme/legacy-classic-light/_sizing.scss +16 -0
- package/scss/theme/legacy-classic-light/_spacing.scss +9 -0
- package/scss/theme/legacy-classic-light/_typography.scss +23 -0
- package/dist/cjs/context-a0900b95.js +0 -77
- package/dist/cjs/context-a0900b95.js.map +0 -1
- package/dist/cjs/floating-ui.dom.esm-01fe5abe.js.map +0 -1
- package/dist/cjs/index-c978628a.js.map +0 -1
- package/dist/cjs/ix-card_3.cjs.entry.js +0 -74
- package/dist/cjs/ix-card_3.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-counter-pill.cjs.entry.js +0 -35
- package/dist/cjs/ix-counter-pill.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-group_3.cjs.entry.js +0 -181
- package/dist/cjs/ix-group_3.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-modal_2.cjs.entry.js +0 -227
- package/dist/cjs/ix-modal_2.cjs.entry.js.map +0 -1
- package/dist/cjs/modal-utils-b645989b.js +0 -44
- package/dist/cjs/modal-utils-b645989b.js.map +0 -1
- package/dist/cjs/service-18dc5907.js +0 -75
- package/dist/cjs/service-18dc5907.js.map +0 -1
- package/dist/collection/components/counter-pill/counter-pill.css +0 -323
- package/dist/collection/components/counter-pill/counter-pill.js +0 -135
- package/dist/collection/components/counter-pill/counter-pill.js.map +0 -1
- package/dist/collection/components/dropdown/alignment.js +0 -10
- package/dist/collection/components/dropdown/alignment.js.map +0 -1
- package/dist/collection/components/group-dropdown-item/group-dropdown-item.js.map +0 -1
- package/dist/collection/components/modal/modal-utils.js +0 -37
- package/dist/collection/components/modal/modal-utils.js.map +0 -1
- package/dist/collection/components/modal-container/modal-container.js +0 -126
- package/dist/collection/components/modal-container/modal-container.js.map +0 -1
- package/dist/components/ix-counter-pill.js +0 -54
- package/dist/components/ix-counter-pill.js.map +0 -1
- package/dist/components/ix-group-dropdown-item.js +0 -51
- package/dist/components/ix-group-dropdown-item.js.map +0 -1
- package/dist/components/ix-modal-container.js +0 -8
- package/dist/components/ix-modal-container.js.map +0 -1
- package/dist/components/modal-container.js +0 -109
- package/dist/components/modal-container.js.map +0 -1
- package/dist/components/modal-utils.js +0 -40
- package/dist/components/modal-utils.js.map +0 -1
- package/dist/esm/context-f6a2b727.js +0 -73
- package/dist/esm/context-f6a2b727.js.map +0 -1
- package/dist/esm/floating-ui.dom.esm-3130eda0.js.map +0 -1
- package/dist/esm/index-8ddfb6d8.js.map +0 -1
- package/dist/esm/ix-card_3.entry.js +0 -68
- package/dist/esm/ix-card_3.entry.js.map +0 -1
- package/dist/esm/ix-counter-pill.entry.js +0 -31
- package/dist/esm/ix-counter-pill.entry.js.map +0 -1
- package/dist/esm/ix-group_3.entry.js +0 -175
- package/dist/esm/ix-group_3.entry.js.map +0 -1
- package/dist/esm/ix-modal_2.entry.js +0 -222
- package/dist/esm/ix-modal_2.entry.js.map +0 -1
- package/dist/esm/modal-utils-aecbcba5.js +0 -40
- package/dist/esm/modal-utils-aecbcba5.js.map +0 -1
- package/dist/esm/service-fc436c5b.js +0 -73
- package/dist/esm/service-fc436c5b.js.map +0 -1
- package/dist/siemens-ix/p-0899258a.entry.js +0 -2
- package/dist/siemens-ix/p-0899258a.entry.js.map +0 -1
- package/dist/siemens-ix/p-1572aab3.js +0 -2
- package/dist/siemens-ix/p-1572aab3.js.map +0 -1
- package/dist/siemens-ix/p-15bebd8a.js +0 -2
- package/dist/siemens-ix/p-1c64b073.js +0 -3
- package/dist/siemens-ix/p-1c64b073.js.map +0 -1
- package/dist/siemens-ix/p-3172249b.entry.js +0 -2
- package/dist/siemens-ix/p-3172249b.entry.js.map +0 -1
- package/dist/siemens-ix/p-3ddf017b.entry.js +0 -2
- package/dist/siemens-ix/p-40982e21.entry.js +0 -2
- package/dist/siemens-ix/p-40982e21.entry.js.map +0 -1
- package/dist/siemens-ix/p-4597dd77.entry.js +0 -2
- package/dist/siemens-ix/p-4597dd77.entry.js.map +0 -1
- package/dist/siemens-ix/p-46ced516.entry.js +0 -2
- package/dist/siemens-ix/p-46ced516.entry.js.map +0 -1
- package/dist/siemens-ix/p-47422d47.entry.js +0 -2
- package/dist/siemens-ix/p-47422d47.entry.js.map +0 -1
- package/dist/siemens-ix/p-4851ea38.entry.js +0 -2
- package/dist/siemens-ix/p-4851ea38.entry.js.map +0 -1
- package/dist/siemens-ix/p-4e851aa3.entry.js +0 -2
- package/dist/siemens-ix/p-4e851aa3.entry.js.map +0 -1
- package/dist/siemens-ix/p-51c81a20.entry.js +0 -2
- package/dist/siemens-ix/p-51c81a20.entry.js.map +0 -1
- package/dist/siemens-ix/p-529d7530.js +0 -2
- package/dist/siemens-ix/p-529d7530.js.map +0 -1
- package/dist/siemens-ix/p-55b54a81.entry.js.map +0 -1
- package/dist/siemens-ix/p-67be3720.entry.js +0 -2
- package/dist/siemens-ix/p-67be3720.entry.js.map +0 -1
- package/dist/siemens-ix/p-821ca55e.entry.js +0 -2
- package/dist/siemens-ix/p-821ca55e.entry.js.map +0 -1
- package/dist/siemens-ix/p-8719eeff.entry.js +0 -2
- package/dist/siemens-ix/p-8719eeff.entry.js.map +0 -1
- package/dist/siemens-ix/p-905977c4.entry.js +0 -2
- package/dist/siemens-ix/p-905977c4.entry.js.map +0 -1
- package/dist/siemens-ix/p-9a82921b.entry.js +0 -2
- package/dist/siemens-ix/p-9a82921b.entry.js.map +0 -1
- package/dist/siemens-ix/p-a08e1bbc.entry.js +0 -2
- package/dist/siemens-ix/p-a08e1bbc.entry.js.map +0 -1
- package/dist/siemens-ix/p-a422c64a.entry.js +0 -2
- package/dist/siemens-ix/p-a422c64a.entry.js.map +0 -1
- package/dist/siemens-ix/p-a73580a5.entry.js +0 -2
- package/dist/siemens-ix/p-a73580a5.entry.js.map +0 -1
- package/dist/siemens-ix/p-b14308ed.js +0 -2
- package/dist/siemens-ix/p-b14308ed.js.map +0 -1
- package/dist/siemens-ix/p-b5c40bb3.entry.js +0 -2
- package/dist/siemens-ix/p-b5c40bb3.entry.js.map +0 -1
- package/dist/siemens-ix/p-c7109071.entry.js +0 -2
- package/dist/siemens-ix/p-c7109071.entry.js.map +0 -1
- package/dist/siemens-ix/p-c724bb65.entry.js +0 -2
- package/dist/siemens-ix/p-c724bb65.entry.js.map +0 -1
- package/dist/siemens-ix/p-ca4d28fb.entry.js +0 -2
- package/dist/siemens-ix/p-ca4d28fb.entry.js.map +0 -1
- package/dist/siemens-ix/p-cd4e3593.entry.js +0 -2
- package/dist/siemens-ix/p-cd4e3593.entry.js.map +0 -1
- package/dist/siemens-ix/p-cd75b455.entry.js +0 -2
- package/dist/siemens-ix/p-cd75b455.entry.js.map +0 -1
- package/dist/siemens-ix/p-cf2717c1.entry.js +0 -2
- package/dist/siemens-ix/p-cf2717c1.entry.js.map +0 -1
- package/dist/siemens-ix/p-d5302336.entry.js +0 -2
- package/dist/siemens-ix/p-d5302336.entry.js.map +0 -1
- package/dist/siemens-ix/p-d784a04b.entry.js +0 -2
- package/dist/siemens-ix/p-d784a04b.entry.js.map +0 -1
- package/dist/siemens-ix/p-d7e23a1f.entry.js +0 -2
- package/dist/siemens-ix/p-d7e23a1f.entry.js.map +0 -1
- package/dist/siemens-ix/p-dbcec49e.entry.js +0 -2
- package/dist/siemens-ix/p-dbcec49e.entry.js.map +0 -1
- package/dist/siemens-ix/p-dc98d3f4.entry.js +0 -2
- package/dist/siemens-ix/p-dc98d3f4.entry.js.map +0 -1
- package/dist/siemens-ix/p-df138b2a.entry.js +0 -2
- package/dist/siemens-ix/p-df138b2a.entry.js.map +0 -1
- package/dist/siemens-ix/p-eccc2475.entry.js +0 -2
- package/dist/siemens-ix/p-eccc2475.entry.js.map +0 -1
- package/dist/siemens-ix/p-ecd1145b.entry.js +0 -2
- package/dist/siemens-ix/p-ecd1145b.entry.js.map +0 -1
- package/dist/siemens-ix/p-f207e578.entry.js +0 -2
- package/dist/siemens-ix/p-f34a16c6.js +0 -2
- package/dist/siemens-ix/p-f34a16c6.js.map +0 -1
- package/dist/siemens-ix/p-f48b706b.entry.js +0 -2
- package/dist/siemens-ix/p-f48b706b.entry.js.map +0 -1
- package/dist/siemens-ix/p-f50697b9.entry.js +0 -2
- package/dist/siemens-ix/p-f50697b9.entry.js.map +0 -1
- package/dist/siemens-ix/p-feb8c2c4.entry.js +0 -2
- package/dist/siemens-ix/p-feb8c2c4.entry.js.map +0 -1
- package/dist/types/components/counter-pill/counter-pill.d.ts +0 -24
- package/dist/types/components/dropdown/alignment.d.ts +0 -2
- package/dist/types/components/group-dropdown-item/group-dropdown-item.d.ts +0 -11
- package/dist/types/components/modal/modal-utils.d.ts +0 -29
- package/dist/types/components/modal-container/modal-container.d.ts +0 -12
- /package/dist/siemens-ix/{p-d848739e.entry.js.map → p-00f74fc9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6acce5c9.entry.js.map → p-02f01e39.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-07c932da.entry.js.map → p-07a0b330.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3f4a9e1f.entry.js.map → p-09ce5f12.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-13bda5ea.entry.js.map → p-0fab8cae.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-003e9355.entry.js.map → p-20aa7350.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f6ae45fb.entry.js.map → p-33670e98.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a89a1fa5.entry.js.map → p-4d194d55.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d2225fc2.entry.js.map → p-709d38fe.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1331a920.entry.js.map → p-81333042.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-85f01dba.entry.js.map → p-904aa275.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-cd3cfc78.entry.js.map → p-918450cd.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a7212f01.entry.js.map → p-b21bc31c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6c033b08.entry.js.map → p-b89172b4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3ddf017b.entry.js.map → p-d0a8aa6f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b1db27a3.js.map → p-db74796e.js.map} +0 -0
- /package/dist/siemens-ix/{p-bd24f35f.entry.js.map → p-f0219d7a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1e8ee4af.entry.js.map → p-f38e7420.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6124d173.entry.js.map → p-ff17104c.entry.js.map} +0 -0
package/dist/esm/index.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import './icon-
|
|
1
|
+
import './icon-4ac90a6d.js';
|
|
2
2
|
export { I as InputState, L as LogicalFilterOperator } from './logical-filter-operator-92531263.js';
|
|
3
|
-
export { F as FlipTileState } from './flip-tile-state-
|
|
4
|
-
export { c as closeModal, d as dismissModal, m as modal } from './modal-utils-aecbcba5.js';
|
|
3
|
+
export { F as FlipTileState } from './flip-tile-state-db31345f.js';
|
|
5
4
|
export { r as renderDefaultItem } from './default-tree-item-91ff2c08.js';
|
|
6
5
|
export { U as UploadFileState } from './upload-file-state-532a36d3.js';
|
|
6
|
+
import { g as getCoreDelegate } from './modal-68c6d3f6.js';
|
|
7
|
+
export { c as closeModal, d as dismissModal, g as getCoreDelegate, r as registerFrameworkDelegate, a as resolveDelegate, s as showMessage, b as showModal } from './modal-68c6d3f6.js';
|
|
8
|
+
import { A as Animation } from './animation-268dce50.js';
|
|
7
9
|
export { c as convertToAbbreviationString, a as convertToRemString } from './rwd.util-cfc2ea72.js';
|
|
8
10
|
export { T as ThemeSwitcher, t as themeSwitcher } from './theme-switcher-7498e4f2.js';
|
|
9
|
-
import './index-
|
|
11
|
+
import './index-7334ee80.js';
|
|
10
12
|
import './typed-event-a230184a.js';
|
|
11
13
|
|
|
12
14
|
/*
|
|
@@ -63,6 +65,39 @@ toast.warning = (config) => {
|
|
|
63
65
|
return toast(Object.assign(Object.assign({}, config), { type: 'warning' }));
|
|
64
66
|
};
|
|
65
67
|
|
|
66
|
-
|
|
68
|
+
/*
|
|
69
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
70
|
+
*
|
|
71
|
+
* SPDX-License-Identifier: MIT
|
|
72
|
+
*
|
|
73
|
+
* This source code is licensed under the MIT license found in the
|
|
74
|
+
* LICENSE file in the root directory of this source tree.
|
|
75
|
+
*/
|
|
76
|
+
function showModalLoading(message) {
|
|
77
|
+
const modal = document.createElement('ix-modal');
|
|
78
|
+
modal.keyboard = false;
|
|
79
|
+
const loading = document.createElement('ix-modal-loading');
|
|
80
|
+
loading.innerText = message;
|
|
81
|
+
modal.appendChild(loading);
|
|
82
|
+
getCoreDelegate().attachView(modal);
|
|
83
|
+
modal.showModal();
|
|
84
|
+
return {
|
|
85
|
+
update: (text) => (loading.innerHTML = text),
|
|
86
|
+
finish: (text, timeout = 250) => {
|
|
87
|
+
if (text !== undefined) {
|
|
88
|
+
loading.innerText = text;
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
timeout = 0;
|
|
92
|
+
}
|
|
93
|
+
setTimeout(() => {
|
|
94
|
+
modal.closeModal(null);
|
|
95
|
+
setTimeout(async () => await getCoreDelegate().removeView(modal), Animation.mediumTime);
|
|
96
|
+
}, timeout);
|
|
97
|
+
},
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export { FilterState, getToastContainer, setToastPosition, showModalLoading, toast };
|
|
67
102
|
|
|
68
103
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"index.js","mappings":"
|
|
1
|
+
{"file":"index.js","mappings":";;;;;;;;;;;;;AAAA;;;;;;;;MAUa,WAAW;;;ACVxB;;;;;;;;SAsBgB,iBAAiB;EAC/B,MAAM,aAAa,GAAG,KAAK,CAAC,IAAI,CAC9B,QAAQ,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAChD,CAAC;EACF,MAAM,CAAC,SAAS,CAAC,GAAG,aAAa,CAAC;EAClC,IAAI,aAAa,CAAC,MAAM,GAAG,CAAC,EAAE;IAC5B,OAAO,CAAC,IAAI,CACV,+DAA+D,CAChE,CAAC;IACF,OAAO,SAAS,CAAC;GAClB;EACD,IAAI,CAAC,SAAS,EAAE;IACd,MAAM,cAAc,GAAG,QAAQ,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAAC;IACpE,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;IAE1C,OAAO,cAAc,CAAC;GACvB;EACD,OAAO,SAAS,CAAC;AACnB,CAAC;SAEe,gBAAgB,CAAC,QAAuB;EACtD,iBAAiB,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC1C,CAAC;AAED,eAAe,KAAK,CAAC,MAAmB;EACtC,MAAM,OAAO,GAAG,iBAAiB,EAAE,CAAC;EACpC,MAAM,KAAK,GAAG,MAAM,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;EAC9C,OAAO,KAAK,CAAC;AACf,CAAC;AAED,KAAK,CAAC,IAAI,GAAG,CAAC,MAAmB;EAC/B,OAAO,KAAK,iCACP,MAAM,KACT,IAAI,EAAE,MAAM,IACZ,CAAC;AACL,CAAC,CAAC;AAEF,KAAK,CAAC,KAAK,GAAG,CAAC,MAAmB;EAChC,OAAO,KAAK,iCACP,MAAM,KACT,IAAI,EAAE,OAAO,IACb,CAAC;AACL,CAAC,CAAC;AAEF,KAAK,CAAC,OAAO,GAAG,CAAC,MAAmB;EAClC,OAAO,KAAK,iCACP,MAAM,KACT,IAAI,EAAE,SAAS,IACf,CAAC;AACL,CAAC,CAAC;AAEF,KAAK,CAAC,OAAO,GAAG,CAAC,MAAmB;EAClC,OAAO,KAAK,iCACP,MAAM,KACT,IAAI,EAAE,SAAS,IACf,CAAC;AACL,CAAC;;AC9ED;;;;;;;;SAYgB,gBAAgB,CAAC,OAAe;EAC9C,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;EACjD,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC;EAEvB,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;EAC3D,OAAO,CAAC,SAAS,GAAG,OAAO,CAAC;EAC5B,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;EAE3B,eAAe,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;EACpC,KAAK,CAAC,SAAS,EAAE,CAAC;EAElB,OAAO;IACL,MAAM,EAAE,CAAC,IAAY,MAAM,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC;IACpD,MAAM,EAAE,CAAC,IAAa,EAAE,UAAkB,GAAG;MAC3C,IAAI,IAAI,KAAK,SAAS,EAAE;QACtB,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC;OAC1B;WAAM;QACL,OAAO,GAAG,CAAC,CAAC;OACb;MACD,UAAU,CAAC;QACT,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QACvB,UAAU,CACR,YAAY,MAAM,eAAe,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EACrD,SAAS,CAAC,UAAU,CACrB,CAAC;OACH,EAAE,OAAO,CAAC,CAAC;KACb;GACF,CAAC;AACJ;;;;","names":[],"sources":["./src/components/category-filter/filter-state.ts","./src/components/toast/toast-utils.ts","./src/components/utils/modal/loading.ts"],"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\nimport { LogicalFilterOperator } from './logical-filter-operator';\nexport class FilterState {\n public tokens: string[];\n public categories: {\n id: string;\n value: string;\n operator: LogicalFilterOperator;\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\nexport type ToastType = 'info' | 'success' | 'error' | 'warning';\nexport type ToastPosition = 'bottom-right' | 'top-right';\n\nexport interface ToastConfig {\n title?: string;\n message: string | HTMLElement;\n type?: ToastType;\n autoClose?: boolean;\n autoCloseDelay?: number;\n icon?: string;\n iconColor?: string;\n}\n\nexport function getToastContainer() {\n const containerList = Array.from(\n document.querySelectorAll('ix-toast-container')\n );\n const [container] = containerList;\n if (containerList.length > 1) {\n console.warn(\n 'Multiple toast container are found. Only there first is used.'\n );\n return container;\n }\n if (!container) {\n const toastContainer = document.createElement('ix-toast-container');\n document.body.appendChild(toastContainer);\n\n return toastContainer;\n }\n return container;\n}\n\nexport function setToastPosition(position: ToastPosition) {\n getToastContainer().position = position;\n}\n\nasync function toast(config: ToastConfig) {\n const context = getToastContainer();\n const toast = await context.showToast(config);\n return toast;\n}\n\ntoast.info = (config: ToastConfig) => {\n return toast({\n ...config,\n type: 'info',\n });\n};\n\ntoast.error = (config: ToastConfig) => {\n return toast({\n ...config,\n type: 'error',\n });\n};\n\ntoast.success = (config: ToastConfig) => {\n return toast({\n ...config,\n type: 'success',\n });\n};\n\ntoast.warning = (config: ToastConfig) => {\n return toast({\n ...config,\n type: 'warning',\n });\n};\n\nexport { toast };\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 Animation from '../animation';\nimport { getCoreDelegate } from '../delegate';\n\nexport function showModalLoading(message: string) {\n const modal = document.createElement('ix-modal');\n modal.keyboard = false;\n\n const loading = document.createElement('ix-modal-loading');\n loading.innerText = message;\n modal.appendChild(loading);\n\n getCoreDelegate().attachView(modal);\n modal.showModal();\n\n return {\n update: (text: string) => (loading.innerHTML = text),\n finish: (text?: string, timeout: number = 250) => {\n if (text !== undefined) {\n loading.innerText = text;\n } else {\n timeout = 0;\n }\n setTimeout(() => {\n modal.closeModal(null);\n setTimeout(\n async () => await getCoreDelegate().removeView(modal),\n Animation.mediumTime\n );\n }, timeout);\n },\n };\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-7334ee80.js';
|
|
2
2
|
|
|
3
3
|
const actionCardCss = ":host{display:block;position:relative;min-width:13.375rem;width:13.375rem;height:7.5rem;min-height:7.5rem;cursor:pointer;margin:0.25rem 0}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ix-card{width:100%;height:100%}:host ix-card.card-insight:hover{--ix-card-background:var(--theme-color-ghost--hover)}:host ix-card.card-insight:active{--ix-card-background:var(--theme-color-ghost--active)}:host ix-card.card-notification:hover{--ix-card-background:var(--theme-color-component-1--hover)}:host ix-card.card-notification:active{--ix-card-background:var(--theme-color-component-1--active)}:host ix-card.card-alarm:hover{--ix-card-background:var(--theme-color-alarm--hover)}:host ix-card.card-alarm:active{--ix-card-background:var(--theme-color-alarm--active)}:host ix-card.card-critical:hover{--ix-card-background:var(--theme-color-critical--hover)}:host ix-card.card-critical:active{--ix-card-background:var(--theme-color-critical--active)}:host ix-card.card-warning:hover{--ix-card-background:var(--theme-color-warning--hover)}:host ix-card.card-warning:active{--ix-card-background:var(--theme-color-warning--active)}:host ix-card.card-success:hover{--ix-card-background:var(--theme-color-success--hover)}:host ix-card.card-success:active{--ix-card-background:var(--theme-color-success--active)}:host ix-card.card-info:hover{--ix-card-background:var(--theme-color-info--hover)}:host ix-card.card-info:active{--ix-card-background:var(--theme-color-info--active)}:host ix-card.card-neutral:hover{--ix-card-background:var(--theme-color-neutral--hover)}:host ix-card.card-neutral:active{--ix-card-background:var(--theme-color-neutral--active)}:host(:hover) ix-card.card-insight:hover{--ix-card-background:var(--theme-color-ghost--hover)}:host(:hover) ix-card.card-notification:hover{--ix-card-background:var(--theme-color-component-1--hover)}:host(:hover) ix-card.card-alarm:hover{--ix-card-background:var(--theme-color-alarm--hover)}:host(:hover) ix-card.card-critical:hover{--ix-card-background:var(--theme-color-critical--hover)}:host(:hover) ix-card.card-warning:hover{--ix-card-background:var(--theme-color-warning--hover)}:host(:hover) ix-card.card-success:hover{--ix-card-background:var(--theme-color-success--hover)}:host(:hover) ix-card.card-info:hover{--ix-card-background:var(--theme-color-info--hover)}:host(:hover) ix-card.card-neutral:hover{--ix-card-background:var(--theme-color-neutral--hover)}:host(:active) ix-card.card-insight:active{--ix-card-background:var(--theme-color-ghost--active)}:host(:active) ix-card.card-notification:active{--ix-card-background:var(--theme-color-component-1--active)}:host(:active) ix-card.card-alarm:active{--ix-card-background:var(--theme-color-alarm--active)}:host(:active) ix-card.card-critical:active{--ix-card-background:var(--theme-color-critical--active)}:host(:active) ix-card.card-warning:active{--ix-card-background:var(--theme-color-warning--active)}:host(:active) ix-card.card-success:active{--ix-card-background:var(--theme-color-success--active)}:host(:active) ix-card.card-info:active{--ix-card-background:var(--theme-color-info--active)}:host(:active) ix-card.card-neutral:active{--ix-card-background:var(--theme-color-neutral--active)}:host(.selected) ix-card{--ix-card-border-color:var(--theme-color-dynamic)}:host(.selected) ix-card.card-insight{--ix-card-background:var(--theme-color-ghost--selected)}:host(.selected) ix-card.card-notification{--ix-card-background:var(--theme-color-ghost--selected)}:host(.selected) ix-card.card-alarm{--ix-card-background:var(--theme-color-alarm--active)}:host(.selected) ix-card.card-critical{--ix-card-background:var(--theme-color-critical--active)}:host(.selected) ix-card.card-warning{--ix-card-background:var(--theme-color-warning--active)}:host(.selected) ix-card.card-success{--ix-card-background:var(--theme-color-success--active)}:host(.selected) ix-card.card-info{--ix-card-background:var(--theme-color-info--active)}:host(.selected) ix-card.card-neutral{--ix-card-background:var(--theme-color-neutral--active)}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-7334ee80.js';
|
|
2
2
|
import { a as anime } from './anime.es-185e9087.js';
|
|
3
3
|
import { A as Animation } from './animation-268dce50.js';
|
|
4
4
|
import { c as convertToAbbreviationString } from './rwd.util-cfc2ea72.js';
|
|
@@ -1,26 +1,20 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import {
|
|
3
|
-
import { s as screenMode } from './service-fc436c5b.js';
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-7334ee80.js';
|
|
2
|
+
import { m as menuController } from './menu-service-b3076949.js';
|
|
4
3
|
import './typed-event-a230184a.js';
|
|
5
4
|
|
|
6
|
-
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(.mode-
|
|
5
|
+
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(.mode-small){padding-left:0.5rem}:host(.mode-small) .logo{margin-left:0.5rem}";
|
|
7
6
|
|
|
8
7
|
const ApplicationHeader = class {
|
|
9
8
|
constructor(hostRef) {
|
|
10
9
|
registerInstance(this, hostRef);
|
|
11
10
|
this.name = undefined;
|
|
12
|
-
this.mode = '
|
|
11
|
+
this.mode = 'large';
|
|
13
12
|
this.menuExpanded = false;
|
|
14
13
|
}
|
|
15
14
|
componentWillLoad() {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
this.mode = screenMode.mode;
|
|
20
|
-
this.menuDisposable = menuController.expandChange.on((show) => {
|
|
21
|
-
this.menuExpanded = show;
|
|
22
|
-
});
|
|
23
|
-
}
|
|
15
|
+
this.menuDisposable = menuController.expandChange.on((show) => {
|
|
16
|
+
this.menuExpanded = show;
|
|
17
|
+
});
|
|
24
18
|
}
|
|
25
19
|
componentDidLoad() {
|
|
26
20
|
this.attachSiemensLogoIfLoaded();
|
|
@@ -30,20 +24,29 @@ const ApplicationHeader = class {
|
|
|
30
24
|
(_a = this.menuDisposable) === null || _a === void 0 ? void 0 : _a.dispose();
|
|
31
25
|
(_b = this.modeDisposable) === null || _b === void 0 ? void 0 : _b.dispose();
|
|
32
26
|
}
|
|
27
|
+
isLogoSlotted() {
|
|
28
|
+
const slotElement = this.hostElement.shadowRoot.querySelector('slot[name="logo"]');
|
|
29
|
+
const nodes = slotElement.assignedNodes({
|
|
30
|
+
flatten: true,
|
|
31
|
+
});
|
|
32
|
+
return nodes.length !== 0;
|
|
33
|
+
}
|
|
33
34
|
async attachSiemensLogoIfLoaded() {
|
|
34
35
|
await window.customElements.whenDefined('ix-siemens-logo');
|
|
35
36
|
const logoElement = document.createElement('ix-siemens-logo');
|
|
36
|
-
if (!this.
|
|
37
|
-
this.
|
|
37
|
+
if (!this.isLogoSlotted()) {
|
|
38
|
+
this.hostElement.shadowRoot
|
|
39
|
+
.querySelector('.logo')
|
|
40
|
+
.appendChild(logoElement);
|
|
38
41
|
}
|
|
39
42
|
}
|
|
40
43
|
async onMenuClick() {
|
|
41
44
|
menuController.toggle();
|
|
42
45
|
}
|
|
43
46
|
render() {
|
|
44
|
-
return (h(Host, { class: { [`mode-${this.mode}`]: true } }, this.mode === '
|
|
47
|
+
return (h(Host, { class: { [`mode-${this.mode}`]: true } }, this.mode === 'small' ? (h("ix-burger-menu", { onClick: () => this.onMenuClick(), expanded: this.menuExpanded })) : null, h("div", { class: "logo" }, h("slot", { name: "logo" })), h("div", { class: "name" }, this.name), h("slot", null)));
|
|
45
48
|
}
|
|
46
|
-
get
|
|
49
|
+
get hostElement() { return getElement(this); }
|
|
47
50
|
};
|
|
48
51
|
ApplicationHeader.style = applicationHeaderCss;
|
|
49
52
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"ix-application-header.entry.js","mappings":"
|
|
1
|
+
{"file":"ix-application-header.entry.js","mappings":";;;;AAAA,MAAM,oBAAoB,GAAG,umBAAumB;;MCmBvnB,iBAAiB;;;;gBAWP,OAAO;wBAEJ,KAAK;;EAK7B,iBAAiB;IACf,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,IAAI;MACxD,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;KAC1B,CAAC,CAAC;GACJ;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;IACvB,cAAc,CAAC,MAAM,EAAE,CAAC;GACzB;EAED,MAAM;IACJ,QACE,EAAC,IAAI,IAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,IAAI,CAAC,IAAI,EAAE,GAAG,IAAI,EAAE,IACzC,IAAI,CAAC,IAAI,KAAK,OAAO,IACpB,sBACE,OAAO,EAAE,MAAM,IAAI,CAAC,WAAW,EAAE,EACjC,QAAQ,EAAE,IAAI,CAAC,YAAY,GACX,IAChB,IAAI,EACR,WAAK,KAAK,EAAC,MAAM,IACf,YAAM,IAAI,EAAC,MAAM,GAAQ,CACrB,EACN,WAAK,KAAK,EAAC,MAAM,IAAE,IAAI,CAAC,IAAI,CAAO,EACnC,eAAa,CACR,EACP;GACH;;;;;;;","names":[],"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 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 .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(.mode-small) {\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 { menuController } from '../utils/menu-service/menu-service';\nimport { Mode } from '../utils/screen/mode';\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 /**\n * @internal\n */\n @Prop() mode: Mode = 'large';\n\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\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 class={{ [`mode-${this.mode}`]: true }}>\n {this.mode === 'small' ? (\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,35 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-7334ee80.js';
|
|
2
|
+
|
|
3
|
+
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)}";
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
7
|
+
*
|
|
8
|
+
* SPDX-License-Identifier: MIT
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the MIT license found in the
|
|
11
|
+
* LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/
|
|
13
|
+
function DefaultAvatar(props) {
|
|
14
|
+
const { initials } = props;
|
|
15
|
+
if (initials) {
|
|
16
|
+
return h("div", { class: 'avatar-initials' }, initials);
|
|
17
|
+
}
|
|
18
|
+
return (h("svg", { class: 'avatar-image', xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", viewBox: "0 0 32 32" }, h("g", { fill: "none", "fill-rule": "evenodd" }, h("path", { id: "avatar-path-background", d: "M16 0C7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163\n 16-16c0-4.243-1.686-8.313-4.686-11.314C24.314 1.686 20.244 0 16 0z" }), h("path", { id: "avatar-path-person", d: "M17.897 17.91c3.8-.018 7.358 1.875 9.485 5.046-2.417 3.999-6.734 6.434-11.382\n 6.42-4.648.014-8.965-2.421-11.382-6.42 2.127-3.171 5.685-5.064\n 9.485-5.045h3.794zM15.821 2.129c3.682 0 6.667 2.984 6.667 6.666 0 3.682-2.985\n 6.667-6.667 6.667s-6.667-2.985-6.667-6.667 2.985-6.666 6.667-6.666z" }))));
|
|
19
|
+
}
|
|
20
|
+
const Avatar = class {
|
|
21
|
+
constructor(hostRef) {
|
|
22
|
+
registerInstance(this, hostRef);
|
|
23
|
+
this.image = undefined;
|
|
24
|
+
this.initials = undefined;
|
|
25
|
+
}
|
|
26
|
+
render() {
|
|
27
|
+
return (h(Host, null, h("li", { class: "avatar" }, this.image ? (h("img", { src: this.image, class: "avatar-image" })) : (h(DefaultAvatar, { initials: this.initials })))));
|
|
28
|
+
}
|
|
29
|
+
get hostElement() { return getElement(this); }
|
|
30
|
+
};
|
|
31
|
+
Avatar.style = avatarCss;
|
|
32
|
+
|
|
33
|
+
export { Avatar as ix_avatar };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=ix-avatar.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-avatar.entry.js","mappings":";;AAAA,MAAM,SAAS,GAAG,2jBAA2jB;;ACA7kB;;;;;;;;AASA,SAAS,aAAa,CAAC,KAA4B;EACjD,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;EAE3B,IAAI,QAAQ,EAAE;IACZ,OAAO,WAAK,KAAK,EAAE,iBAAiB,IAAG,QAAQ,CAAO,CAAC;GACxD;EAED,QACE,WACE,KAAK,EAAE,cAAc,EACrB,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,IAEnB,SAAG,IAAI,EAAC,MAAM,eAAW,SAAS,IAChC,YACE,EAAE,EAAC,wBAAwB,EAC3B,CAAC,EAAC,kIACiE,GACnE,EACF,YACE,EAAE,EAAC,oBAAoB,EACvB,CAAC,EAAC,2TAGgE,GAClE,CACA,CACA,EACN;AACJ,CAAC;MAYY,MAAM;;;;;;EAejB,MAAM;IACJ,QACE,EAAC,IAAI,QACH,UAAI,KAAK,EAAC,QAAQ,IACf,IAAI,CAAC,KAAK,IACT,WAAK,GAAG,EAAE,IAAI,CAAC,KAAK,EAAE,KAAK,EAAC,cAAc,GAAO,KAEjD,EAAC,aAAa,IAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAI,CAC3C,CACE,CACA,EACP;GACH;;;;;;;","names":[],"sources":["./src/components/avatar/avatar.scss?tag=ix-avatar&encapsulation=shadow","./src/components/avatar/avatar.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/text-truncation';\n@import 'mixins/hover';\n\n:host {\n display: flex;\n position: relative;\n width: fit-content;\n\n .avatar {\n display: flex;\n align-items: center;\n\n > .avatar-image {\n height: 2rem;\n width: 2rem;\n min-height: 2rem;\n min-width: 2rem;\n border-radius: 100px;\n }\n\n > .avatar-initials {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 2rem;\n width: 2rem;\n min-height: 2rem;\n min-width: 2rem;\n border-radius: 100px;\n background-color: var(--theme-color-component-3);\n }\n\n #avatar-path-background {\n fill: var(--theme-avatar--background);\n }\n\n #avatar-path-person {\n fill: var(--theme-color-4);\n }\n }\n}\n","/*\n * 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\nfunction DefaultAvatar(props: { initials?: string }) {\n const { initials } = props;\n\n if (initials) {\n return <div class={'avatar-initials'}>{initials}</div>;\n }\n\n return (\n <svg\n class={'avatar-image'}\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"32\"\n height=\"32\"\n viewBox=\"0 0 32 32\"\n >\n <g fill=\"none\" fill-rule=\"evenodd\">\n <path\n id=\"avatar-path-background\"\n d=\"M16 0C7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163\n 16-16c0-4.243-1.686-8.313-4.686-11.314C24.314 1.686 20.244 0 16 0z\"\n />\n <path\n id=\"avatar-path-person\"\n d=\"M17.897 17.91c3.8-.018 7.358 1.875 9.485 5.046-2.417 3.999-6.734 6.434-11.382\n 6.42-4.648.014-8.965-2.421-11.382-6.42 2.127-3.171 5.685-5.064\n 9.485-5.045h3.794zM15.821 2.129c3.682 0 6.667 2.984 6.667 6.666 0 3.682-2.985\n 6.667-6.667 6.667s-6.667-2.985-6.667-6.667 2.985-6.666 6.667-6.666z\"\n />\n </g>\n </svg>\n );\n}\n\nimport { Component, Element, h, Host, Prop } from '@stencil/core';\n\n/**\n * @since 2.0.0\n */\n@Component({\n tag: 'ix-avatar',\n styleUrl: 'avatar.scss',\n shadow: true,\n})\nexport class Avatar {\n @Element() hostElement: HTMLIxAvatarElement;\n\n /**\n * Display a avatar image\n *\n */\n @Prop() image: string;\n\n /**\n * Display the initials of the user. Will be overwritten by image\n *\n */\n @Prop() initials: string;\n\n render() {\n return (\n <Host>\n <li class=\"avatar\">\n {this.image ? (\n <img src={this.image} class=\"avatar-image\"></img>\n ) : (\n <DefaultAvatar initials={this.initials} />\n )}\n </li>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,19 +1,27 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-7334ee80.js';
|
|
2
|
+
import { m as menuController } from './menu-service-b3076949.js';
|
|
3
|
+
import { s as screenMode } from './service-586129b5.js';
|
|
3
4
|
import './typed-event-a230184a.js';
|
|
4
5
|
|
|
5
|
-
const basicNavigationCss = "
|
|
6
|
+
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(.mode-large) .content{margin-left:0rem}:host(.mode-small) .content{margin-left:0px;width:100%}";
|
|
6
7
|
|
|
7
8
|
const BasicNavigation = class {
|
|
8
9
|
constructor(hostRef) {
|
|
9
10
|
registerInstance(this, hostRef);
|
|
10
11
|
this.applicationName = undefined;
|
|
11
12
|
this.hideHeader = false;
|
|
12
|
-
this.mode = '
|
|
13
|
+
this.mode = 'large';
|
|
13
14
|
}
|
|
14
15
|
get menu() {
|
|
15
16
|
return this.hostElement.querySelector('ix-menu');
|
|
16
17
|
}
|
|
18
|
+
onContentClick() {
|
|
19
|
+
var _a;
|
|
20
|
+
if (menuController.isPinned) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
(_a = this.menu) === null || _a === void 0 ? void 0 : _a.toggleMenu(false);
|
|
24
|
+
}
|
|
17
25
|
componentWillLoad() {
|
|
18
26
|
if (this.hideHeader === false) {
|
|
19
27
|
this.modeDisposable = screenMode.onChange.on((mode) => (this.mode = mode));
|
|
@@ -22,8 +30,6 @@ const BasicNavigation = class {
|
|
|
22
30
|
}
|
|
23
31
|
componentDidRender() {
|
|
24
32
|
if (this.menu) {
|
|
25
|
-
this.appendMenu();
|
|
26
|
-
this.adjustMenuHeight();
|
|
27
33
|
this.menu.applicationName = this.applicationName;
|
|
28
34
|
}
|
|
29
35
|
}
|
|
@@ -31,19 +37,11 @@ const BasicNavigation = class {
|
|
|
31
37
|
var _a;
|
|
32
38
|
(_a = this.modeDisposable) === null || _a === void 0 ? void 0 : _a.dispose();
|
|
33
39
|
}
|
|
34
|
-
appendMenu() {
|
|
35
|
-
this.hostElement.querySelector('#menu-placeholder').appendChild(this.menu);
|
|
36
|
-
}
|
|
37
|
-
adjustMenuHeight() {
|
|
38
|
-
if (!this.hideHeader) {
|
|
39
|
-
this.menu.style.height = 'calc(100% - 2.75rem)';
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
40
|
render() {
|
|
43
41
|
return (h(Host, { "data-role": "", class: {
|
|
44
42
|
'hide-header': this.hideHeader,
|
|
45
43
|
[`mode-${this.mode}`]: true,
|
|
46
|
-
} }, !this.hideHeader ? (h("ix-application-header", { name: this.applicationName }, h("slot", { name: "logo" }))) : null, h("div", {
|
|
44
|
+
} }, !this.hideHeader ? (h("ix-application-header", { name: this.applicationName, mode: this.mode }, h("slot", { name: "logo", slot: "logo" }))) : null, h("div", { class: "navigation-content" }, h("slot", { name: "menu" }), h("div", { class: "content", onClick: () => this.onContentClick() }, h("slot", null)))));
|
|
47
45
|
}
|
|
48
46
|
get hostElement() { return getElement(this); }
|
|
49
47
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"ix-basic-navigation.entry.js","mappings":"
|
|
1
|
+
{"file":"ix-basic-navigation.entry.js","mappings":";;;;;AAAA,MAAM,kBAAkB,GAAG,umBAAumB;;MCoBrnB,eAAe;;;;sBAWL,KAAK;gBAEJ,OAAO;;EAE7B,IAAI,IAAI;IACN,OAAO,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;GAClD;EAIO,cAAc;;IACpB,IAAI,cAAc,CAAC,QAAQ,EAAE;MAC3B,OAAO;KACR;IACD,MAAA,IAAI,CAAC,IAAI,0CAAE,UAAU,CAAC,KAAK,CAAC,CAAC;GAC9B;EAED,iBAAiB;IACf,IAAI,IAAI,CAAC,UAAU,KAAK,KAAK,EAAE;MAC7B,IAAI,CAAC,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC,EAAE,CAC1C,CAAC,IAAI,MAAM,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,CAC7B,CAAC;MACF,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;KAC7B;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,QACE,EAAC,IAAI,iBACO,EAAE,EACZ,KAAK,EAAE;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,CAAC,QAAQ,IAAI,CAAC,IAAI,EAAE,GAAG,IAAI;OAC5B,IAEA,CAAC,IAAI,CAAC,UAAU,IACf,6BAAuB,IAAI,EAAE,IAAI,CAAC,eAAe,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,IAChE,YAAM,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,MAAM,GAAQ,CACf,IACtB,IAAI,EACR,WAAK,KAAK,EAAC,oBAAoB,IAC7B,YAAM,IAAI,EAAC,MAAM,GAAQ,EACzB,WAAK,KAAK,EAAC,SAAS,EAAC,OAAO,EAAE,MAAM,IAAI,CAAC,cAAc,EAAE,IACvD,eAAa,CACT,CACF,CACD,EACP;GACH;;;;;;;","names":[],"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 .content {\n height: 100%;\n }\n}\n\n:host(.mode-large) {\n .content {\n margin-left: 0rem;\n }\n}\n\n:host(.mode-small) {\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 } from '@stencil/core';\nimport { menuController } from '../utils/menu-service/menu-service';\nimport { Mode } from '../utils/screen/mode';\nimport { screenMode } from '../utils/screen/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\n @State() mode: Mode = 'large';\n\n get menu(): HTMLIxMenuElement | null {\n return this.hostElement.querySelector('ix-menu');\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 if (this.hideHeader === false) {\n this.modeDisposable = screenMode.onChange.on(\n (mode) => (this.mode = mode)\n );\n this.mode = screenMode.mode;\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 [`mode-${this.mode}`]: true,\n }}\n >\n {!this.hideHeader ? (\n <ix-application-header name={this.applicationName} mode={this.mode}>\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}
|
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-7334ee80.js';
|
|
2
2
|
import { a as anime } from './anime.es-185e9087.js';
|
|
3
|
-
|
|
4
|
-
/*
|
|
5
|
-
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
6
|
-
*
|
|
7
|
-
* SPDX-License-Identifier: MIT
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the MIT license found in the
|
|
10
|
-
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/
|
|
12
|
-
const a11yBoolean = (value) => (value ? 'true' : 'false');
|
|
3
|
+
import { a as a11yBoolean } from './a11y-aa83c2d1.js';
|
|
13
4
|
|
|
14
5
|
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}";
|
|
15
6
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"ix-blind.entry.js","mappings":";;;AAAA;;;;;;;;AAQO,MAAM,WAAW,GAAG,CAAC,KAAc,MAAM,KAAK,GAAG,MAAM,GAAG,OAAO,CAAC;;ACRzE,MAAM,QAAQ,GAAG,ivGAAivG;;ACsBlwG,IAAI,oBAAoB,GAAG,CAAC,CAAC;MAMhB,KAAK;EA2BhB;;;IAFQ,OAAE,GAAG,EAAE,oBAAoB,CAAC;qBArBgB,KAAK;;;GAuBzC;EAER,aAAa,CAAC,CAAQ;IAC5B,IAAK,CAAC,CAAC,MAAkB,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE;MACpD,OAAO;KACR;IAED,CAAC,CAAC,cAAc,EAAE,CAAC;IACnB,CAAC,CAAC,wBAAwB,EAAE,CAAC;IAE7B,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC;IACjC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;GAC3C;EAED,gBAAgB;IACd,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;GACtC;EAED,IAAI,OAAO;IACT,OAAO,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;GACpE;EAGD,SAAS,CAAC,WAAoB;IAC5B,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;GACnC;EAEO,eAAe,CAAC,WAAoB;IAC1C,IAAI,WAAW,EAAE;MACf,IAAI,CAAC,kBAAkB,EAAE,CAAC;KAC3B;SAAM;MACL,IAAI,CAAC,iBAAiB,EAAE,CAAC;KAC1B;GACF;EAEO,iBAAiB;IACvB,KAAK,CAAC;MACJ,OAAO,EAAE,IAAI,CAAC,UAAU;MACxB,QAAQ,EAAE,GAAG;MACb,MAAM,EAAE,eAAe;MACvB,OAAO,EAAE,EAAE;KACZ,CAAC,CAAC;IACH,KAAK,CAAC;MACJ,OAAO,EAAE,IAAI,CAAC,OAAO;MACrB,QAAQ,EAAE,GAAG;MACb,MAAM,EAAE,eAAe;MACvB,OAAO,EAAE,CAAC;KACX,CAAC,CAAC;GACJ;EAEO,kBAAkB;IACxB,KAAK,CAAC;MACJ,OAAO,EAAE,IAAI,CAAC,UAAU;MACxB,QAAQ,EAAE,GAAG;MACb,MAAM,EAAE,eAAe;MACvB,OAAO,EAAE,CAAC;KACX,CAAC,CAAC;IACH,KAAK,CAAC;MACJ,OAAO,EAAE,IAAI,CAAC,OAAO;MACrB,QAAQ,EAAE,GAAG;MACb,MAAM,EAAE,eAAe;MACvB,OAAO,EAAE,CAAC;KACX,CAAC,CAAC;GACJ;EAED,MAAM;IACJ,QACE,EAAC,IAAI,QACH,cACE,KAAK,EAAE;QACL,cAAc,EAAE,IAAI;QACpB,MAAM,EAAE,IAAI,CAAC,SAAS;OACvB,EACD,IAAI,EAAC,QAAQ,qBACI,yBAAyB,IAAI,CAAC,EAAE,EAAE,mBACpC,4BAA4B,IAAI,CAAC,EAAE,EAAE,mBACrC,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,EAC3C,OAAO,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,IAErC,eACE,KAAK,EAAE,eAAe,EACtB,IAAI,EAAC,qBAAqB,EAC1B,GAAG,EAAE,CAAC,GAAG,MAAM,IAAI,CAAC,UAAU,GAAG,GAAG,CAAC,GAC5B,EACX,WACE,KAAK,EAAC,oBAAoB,EAC1B,EAAE,EAAE,yBAAyB,IAAI,CAAC,EAAE,EAAE,IAErC,IAAI,CAAC,KAAK,KAAK,SAAS,IACvB,YAAM,KAAK,EAAC,0BAA0B,IACnC,IAAI,CAAC,IAAI,KAAK,SAAS,IACtB,eAAS,IAAI,EAAE,IAAI,CAAC,IAAI,GAAY,KAEpC,EAAE,CACH,EACD,YAAM,KAAK,EAAC,4BAA4B,IAAE,IAAI,CAAC,KAAK,CAAQ,EAC5D,YACE,KAAK,EAAC,gBAAgB,EACtB,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,wBAAwB,EAAE,IAE5C,YAAM,IAAI,EAAC,gBAAgB,GAAQ,CAC9B,CACF,KAEP,YAAM,IAAI,EAAC,eAAe,GAAQ,CACnC,CACG,CACC,EACT,eACE,EAAE,EAAE,4BAA4B,IAAI,CAAC,EAAE,EAAE,qBACxB,yBAAyB,IAAI,CAAC,EAAE,EAAE,IAEnD,WACE,KAAK,EAAE;QACL,eAAe,EAAE,IAAI;QACrB,IAAI,EAAE,IAAI,CAAC,SAAS;OACrB,IAED,eAAa,CACT,CACE,CACL,EACP;GACH;;;;;;;;;;","names":[],"sources":["./src/components/utils/a11y.ts","./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 */\nexport const a11yBoolean = (value: boolean) => (value ? 'true' : 'false');\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/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.js","mappings":";;;;AAAA,MAAM,QAAQ,GAAG,ivGAAivG;;ACsBlwG,IAAI,oBAAoB,GAAG,CAAC,CAAC;MAMhB,KAAK;EA2BhB;;;IAFQ,OAAE,GAAG,EAAE,oBAAoB,CAAC;qBArBgB,KAAK;;;GAuBzC;EAER,aAAa,CAAC,CAAQ;IAC5B,IAAK,CAAC,CAAC,MAAkB,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE;MACpD,OAAO;KACR;IAED,CAAC,CAAC,cAAc,EAAE,CAAC;IACnB,CAAC,CAAC,wBAAwB,EAAE,CAAC;IAE7B,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC;IACjC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;GAC3C;EAED,gBAAgB;IACd,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;GACtC;EAED,IAAI,OAAO;IACT,OAAO,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;GACpE;EAGD,SAAS,CAAC,WAAoB;IAC5B,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;GACnC;EAEO,eAAe,CAAC,WAAoB;IAC1C,IAAI,WAAW,EAAE;MACf,IAAI,CAAC,kBAAkB,EAAE,CAAC;KAC3B;SAAM;MACL,IAAI,CAAC,iBAAiB,EAAE,CAAC;KAC1B;GACF;EAEO,iBAAiB;IACvB,KAAK,CAAC;MACJ,OAAO,EAAE,IAAI,CAAC,UAAU;MACxB,QAAQ,EAAE,GAAG;MACb,MAAM,EAAE,eAAe;MACvB,OAAO,EAAE,EAAE;KACZ,CAAC,CAAC;IACH,KAAK,CAAC;MACJ,OAAO,EAAE,IAAI,CAAC,OAAO;MACrB,QAAQ,EAAE,GAAG;MACb,MAAM,EAAE,eAAe;MACvB,OAAO,EAAE,CAAC;KACX,CAAC,CAAC;GACJ;EAEO,kBAAkB;IACxB,KAAK,CAAC;MACJ,OAAO,EAAE,IAAI,CAAC,UAAU;MACxB,QAAQ,EAAE,GAAG;MACb,MAAM,EAAE,eAAe;MACvB,OAAO,EAAE,CAAC;KACX,CAAC,CAAC;IACH,KAAK,CAAC;MACJ,OAAO,EAAE,IAAI,CAAC,OAAO;MACrB,QAAQ,EAAE,GAAG;MACb,MAAM,EAAE,eAAe;MACvB,OAAO,EAAE,CAAC;KACX,CAAC,CAAC;GACJ;EAED,MAAM;IACJ,QACE,EAAC,IAAI,QACH,cACE,KAAK,EAAE;QACL,cAAc,EAAE,IAAI;QACpB,MAAM,EAAE,IAAI,CAAC,SAAS;OACvB,EACD,IAAI,EAAC,QAAQ,qBACI,yBAAyB,IAAI,CAAC,EAAE,EAAE,mBACpC,4BAA4B,IAAI,CAAC,EAAE,EAAE,mBACrC,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,EAC3C,OAAO,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,IAErC,eACE,KAAK,EAAE,eAAe,EACtB,IAAI,EAAC,qBAAqB,EAC1B,GAAG,EAAE,CAAC,GAAG,MAAM,IAAI,CAAC,UAAU,GAAG,GAAG,CAAC,GAC5B,EACX,WACE,KAAK,EAAC,oBAAoB,EAC1B,EAAE,EAAE,yBAAyB,IAAI,CAAC,EAAE,EAAE,IAErC,IAAI,CAAC,KAAK,KAAK,SAAS,IACvB,YAAM,KAAK,EAAC,0BAA0B,IACnC,IAAI,CAAC,IAAI,KAAK,SAAS,IACtB,eAAS,IAAI,EAAE,IAAI,CAAC,IAAI,GAAY,KAEpC,EAAE,CACH,EACD,YAAM,KAAK,EAAC,4BAA4B,IAAE,IAAI,CAAC,KAAK,CAAQ,EAC5D,YACE,KAAK,EAAC,gBAAgB,EACtB,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,wBAAwB,EAAE,IAE5C,YAAM,IAAI,EAAC,gBAAgB,GAAQ,CAC9B,CACF,KAEP,YAAM,IAAI,EAAC,eAAe,GAAQ,CACnC,CACG,CACC,EACT,eACE,EAAE,EAAE,4BAA4B,IAAI,CAAC,EAAE,EAAE,qBACxB,yBAAyB,IAAI,CAAC,EAAE,EAAE,IAEnD,WACE,KAAK,EAAE;QACL,eAAe,EAAE,IAAI;QACrB,IAAI,EAAE,IAAI,CAAC,SAAS;OACrB,IAED,eAAa,CACT,CACE,CACL,EACP;GACH;;;;;;;;;;","names":[],"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,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-7334ee80.js';
|
|
2
2
|
import { a as anime } from './anime.es-185e9087.js';
|
|
3
3
|
import { c as createMutationObserver } from './mutation-observer-7d01bbea.js';
|
|
4
4
|
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-7334ee80.js';
|
|
2
|
+
import { g as getButtonClasses } from './base-button-5bfeb71c.js';
|
|
3
|
+
import { a as a11yBoolean } from './a11y-aa83c2d1.js';
|
|
2
4
|
|
|
3
|
-
const burgerMenuCss = ":host{display:flex;justify-content:center;align-items:center;height:2rem;width:2.5rem;border-radius:var(--theme-btn--border-radius)}:host svg{display:inline-block;position:relative}:host .line{fill:var(--theme-menu-btn--color);opacity:1;x:2px;transition:x 0.075s ease-in 0.15s, transform 0.075s ease-in-out 0.075s, y 0.075s ease-in-out, opacity 0.075s linear 0.075s;transform-origin:center}:host(:hover){background-color:var(--theme-menu-btn--background--hover);border-radius:var(--theme-btn--border-radius)}:host(:active){background-color:var(--theme-menu-btn--background--active);border-radius:var(--theme-btn--border-radius)}:host(.expanded) svg .line-1{opacity:1;transform:rotate(-45deg);y:11px}:host(.expanded) svg .line-2{opacity:0;x:9}:host(.expanded) svg .line-3{opacity:1;transform:rotate(45deg);y:11px}";
|
|
5
|
+
const burgerMenuCss = ".btn{display:inline-flex;align-items:center;justify-content:center;height:2rem;font-size:0.875rem;font-weight:700;transition:150ms;padding:0 0.5rem;min-width:5rem;gap:0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn .glyph{margin-right:0.25rem;font-weight:400}.btn:focus-visible,.btn.focus{box-shadow:none}.btn-primary{border-radius:var(--theme-btn--border-radius)}.btn-primary,.btn-primary.focus,.btn-primary:focus-visible{background-color:var(--theme-btn-primary--background);color:var(--theme-btn-primary--color);--ix-button-color:var(--theme-btn-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-primary--border-color);border-style:solid}.btn-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-primary.selected{background-color:var(--theme-btn-primary--background--selected)}.btn-primary.hover,.btn-primary:hover{border-color:var(--theme-btn-primary--border-color--hover) !important;background-color:var(--theme-btn-primary--background--hover) !important;color:var(--theme-btn-primary--color--hover) !important}.btn-primary.selected.hover,.btn-primary.selected:hover{background-color:var(--theme-btn-primary--background--selected-hover);color:var(--theme-btn-primary--color--selected-hover)}.btn-primary:not(:disabled):not(.disabled):active,.btn-primary:not(:disabled):not(.disabled).active,.show>.btn-primary.dropdown-toggle{border-color:var(--theme-btn-primary--border-color--active) !important;background-color:var(--theme-btn-primary--background--active) !important;color:var(--theme-btn-primary--color--active) !important}.btn-primary.selected:not(:disabled):not(.disabled):active,.btn-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-primary.selected.dropdown-toggle{background-color:var(--theme-btn-primary--background--selected-active);color:var(--theme-btn-primary--color--selected-active)}.btn-primary.disabled,.btn-primary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-primary--border-color--disabled);background-color:var(--theme-btn-primary--background--disabled);color:var(--theme-btn-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-primary--color--disabled)}.btn-outline-primary{border-radius:var(--theme-btn--border-radius)}.btn-outline-primary,.btn-outline-primary.focus,.btn-outline-primary:focus-visible{background-color:var(--theme-btn-outline-primary--background);color:var(--theme-btn-outline-primary--color);--ix-button-color:var(--theme-btn-outline-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-primary--border-color);border-style:solid}.btn-outline-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-outline-primary.selected{background-color:var(--theme-btn-outline-primary--background--selected)}.btn-outline-primary.hover,.btn-outline-primary:hover{border-color:var(--theme-btn-outline-primary--border-color--hover) !important;background-color:var(--theme-btn-outline-primary--background--hover) !important;color:var(--theme-btn-outline-primary--color--hover) !important}.btn-outline-primary.selected.hover,.btn-outline-primary.selected:hover{background-color:var(--theme-btn-outline-primary--background--selected-hover);color:var(--theme-btn-outline-primary--color--selected-hover)}.btn-outline-primary:not(:disabled):not(.disabled):active,.btn-outline-primary:not(:disabled):not(.disabled).active,.show>.btn-outline-primary.dropdown-toggle{border-color:var(--theme-btn-outline-primary--border-color--active) !important;background-color:var(--theme-btn-outline-primary--background--active) !important;color:var(--theme-btn-outline-primary--color--active) !important}.btn-outline-primary.selected:not(:disabled):not(.disabled):active,.btn-outline-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-outline-primary.selected.dropdown-toggle{background-color:var(--theme-btn-outline-primary--background--selected-active);color:var(--theme-btn-outline-primary--color--selected-active)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-outline-primary--border-color--disabled);background-color:var(--theme-btn-outline-primary--background--disabled);color:var(--theme-btn-outline-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-primary--color--disabled)}.btn-invisible-primary{border-radius:var(--theme-btn--border-radius);--bs-btn-border-width:0px;--bs-btn-active-border-color:none}.btn-invisible-primary,.btn-invisible-primary.focus,.btn-invisible-primary:focus-visible{background-color:var(--theme-btn-invisible-primary--background);color:var(--theme-btn-invisible-primary--color);--ix-button-color:var(--theme-btn-invisible-primary--color);border-color:transparent}.btn-invisible-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-invisible-primary.selected{background-color:var(--theme-btn-invisible-primary--background--selected)}.btn-invisible-primary.hover,.btn-invisible-primary:hover{background-color:var(--theme-btn-invisible-primary--background--hover) !important;color:var(--theme-btn-invisible-primary--color--hover) !important}.btn-invisible-primary.selected.hover,.btn-invisible-primary.selected:hover{background-color:var(--theme-btn-invisible-primary--background--selected-hover);color:var(--theme-btn-invisible-primary--color--selected-hover)}.btn-invisible-primary:not(:disabled):not(.disabled):active,.btn-invisible-primary:not(:disabled):not(.disabled).active,.show>.btn-invisible-primary.dropdown-toggle{background-color:var(--theme-btn-invisible-primary--background--active) !important;color:var(--theme-btn-invisible-primary--color--active) !important}.btn-invisible-primary.selected:not(:disabled):not(.disabled):active,.btn-invisible-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-invisible-primary.selected.dropdown-toggle{background-color:var(--theme-btn-invisible-primary--background--selected-active);color:var(--theme-btn-invisible-primary--color--selected-active)}.btn-invisible-primary.disabled,.btn-invisible-primary:disabled{pointer-events:none;cursor:initial;background-color:var(--theme-btn-invisible-primary--background--disabled);color:var(--theme-btn-invisible-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-primary--color--disabled)}.btn-secondary{border-radius:var(--theme-btn--border-radius)}.btn-secondary,.btn-secondary.focus,.btn-secondary:focus-visible{background-color:var(--theme-btn-secondary--background);color:var(--theme-btn-secondary--color);--ix-button-color:var(--theme-btn-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-secondary--border-color);border-style:solid}.btn-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-secondary.selected{background-color:var(--theme-btn-secondary--background--selected)}.btn-secondary.hover,.btn-secondary:hover{border-color:var(--theme-btn-secondary--border-color--hover) !important;background-color:var(--theme-btn-secondary--background--hover) !important;color:var(--theme-btn-secondary--color--hover) !important}.btn-secondary.selected.hover,.btn-secondary.selected:hover{background-color:var(--theme-btn-secondary--background--selected-hover);color:var(--theme-btn-secondary--color--selected-hover)}.btn-secondary:not(:disabled):not(.disabled):active,.btn-secondary:not(:disabled):not(.disabled).active,.show>.btn-secondary.dropdown-toggle{border-color:var(--theme-btn-secondary--border-color--active) !important;background-color:var(--theme-btn-secondary--background--active) !important;color:var(--theme-btn-secondary--color--active) !important}.btn-secondary.selected:not(:disabled):not(.disabled):active,.btn-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-secondary.selected.dropdown-toggle{background-color:var(--theme-btn-secondary--background--selected-active);color:var(--theme-btn-secondary--color--selected-active)}.btn-secondary.disabled,.btn-secondary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-secondary--border-color--disabled);background-color:var(--theme-btn-secondary--background--disabled);color:var(--theme-btn-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-secondary--color--disabled)}.btn-outline-secondary{border-radius:var(--theme-btn--border-radius)}.btn-outline-secondary,.btn-outline-secondary.focus,.btn-outline-secondary:focus-visible{background-color:var(--theme-btn-outline-secondary--background);color:var(--theme-btn-outline-secondary--color);--ix-button-color:var(--theme-btn-outline-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-secondary--border-color);border-style:solid}.btn-outline-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-outline-secondary.selected{background-color:var(--theme-btn-outline-secondary--background--selected)}.btn-outline-secondary.hover,.btn-outline-secondary:hover{border-color:var(--theme-btn-outline-secondary--border-color--hover) !important;background-color:var(--theme-btn-outline-secondary--background--hover) !important;color:var(--theme-btn-outline-secondary--color--hover) !important}.btn-outline-secondary.selected.hover,.btn-outline-secondary.selected:hover{background-color:var(--theme-btn-outline-secondary--background--selected-hover);color:var(--theme-btn-outline-secondary--color--selected-hover)}.btn-outline-secondary:not(:disabled):not(.disabled):active,.btn-outline-secondary:not(:disabled):not(.disabled).active,.show>.btn-outline-secondary.dropdown-toggle{border-color:var(--theme-btn-outline-secondary--border-color--active) !important;background-color:var(--theme-btn-outline-secondary--background--active) !important;color:var(--theme-btn-outline-secondary--color--active) !important}.btn-outline-secondary.selected:not(:disabled):not(.disabled):active,.btn-outline-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-outline-secondary.selected.dropdown-toggle{background-color:var(--theme-btn-outline-secondary--background--selected-active);color:var(--theme-btn-outline-secondary--color--selected-active)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-outline-secondary--border-color--disabled);background-color:var(--theme-btn-outline-secondary--background--disabled);color:var(--theme-btn-outline-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-secondary--color--disabled)}.btn-invisible-secondary{border-radius:var(--theme-btn--border-radius);--bs-btn-border-width:0px;--bs-btn-active-border-color:none}.btn-invisible-secondary,.btn-invisible-secondary.focus,.btn-invisible-secondary:focus-visible{background-color:var(--theme-btn-invisible-secondary--background);color:var(--theme-btn-invisible-secondary--color);--ix-button-color:var(--theme-btn-invisible-secondary--color);border-color:transparent}.btn-invisible-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-invisible-secondary.selected{background-color:var(--theme-btn-invisible-secondary--background--selected)}.btn-invisible-secondary.hover,.btn-invisible-secondary:hover{background-color:var(--theme-btn-invisible-secondary--background--hover) !important;color:var(--theme-btn-invisible-secondary--color--hover) !important}.btn-invisible-secondary.selected.hover,.btn-invisible-secondary.selected:hover{background-color:var(--theme-btn-invisible-secondary--background--selected-hover);color:var(--theme-btn-invisible-secondary--color--selected-hover)}.btn-invisible-secondary:not(:disabled):not(.disabled):active,.btn-invisible-secondary:not(:disabled):not(.disabled).active,.show>.btn-invisible-secondary.dropdown-toggle{background-color:var(--theme-btn-invisible-secondary--background--active) !important;color:var(--theme-btn-invisible-secondary--color--active) !important}.btn-invisible-secondary.selected:not(:disabled):not(.disabled):active,.btn-invisible-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-invisible-secondary.selected.dropdown-toggle{background-color:var(--theme-btn-invisible-secondary--background--selected-active);color:var(--theme-btn-invisible-secondary--color--selected-active)}.btn-invisible-secondary.disabled,.btn-invisible-secondary:disabled{pointer-events:none;cursor:initial;background-color:var(--theme-btn-invisible-secondary--background--disabled);color:var(--theme-btn-invisible-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-secondary--color--disabled)}.btn-oval,.btn-icon{min-width:2rem;width:2rem}.btn-oval .glyph,.btn-icon .glyph{margin-right:0}.btn-oval{border-radius:6.25rem;width:2rem}.btn-icon-xs,.btn-icon-12{height:1rem;width:1rem;min-width:1rem;min-height:1rem}.btn-icon-s,.btn-icon-16{height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}.btn-icon-32{height:2rem;width:2rem;min-width:2rem;min-height:2rem}:host{display:flex;justify-content:center;align-items:center;height:2rem;width:2.5rem;border-radius:var(--theme-btn--border-radius);pointer-events:all}:host *,:host *::after,:host *::before{box-sizing:border-box}:host svg{display:inline-block;vertical-align:middle}:host .line{fill:var(--theme-menu-btn--color);opacity:1;x:2px;transition:x 0.075s ease-in 0.15s, transform 0.075s ease-in-out 0.075s, y 0.075s ease-in-out, opacity 0.075s linear 0.075s;transform-origin:center}:host(:not(.disabled):not(:disabled)){cursor:pointer}:host(:hover:not(.disabled):not(:disabled)) .burger-menu-button{background-color:var(--theme-menu-btn--background--hover)}.burger-menu-button{width:40px;padding:0}:host(:not(.disabled):not(:disabled)){cursor:pointer}:host(:active:not(.disabled):not(:disabled)) .burger-menu-button{background-color:var(--theme-menu-btn--background--active)}:host(.expanded) svg .line-1{opacity:1;transform:rotate(-45deg);y:11px}:host(.expanded) svg .line-2{opacity:0;x:9}:host(.expanded) svg .line-3{opacity:1;transform:rotate(45deg);y:11px}:host(.expanded) ix-icon-button{transform:rotate(180deg)}";
|
|
4
6
|
|
|
5
7
|
const BurgerMenu = class {
|
|
6
8
|
constructor(hostRef) {
|
|
7
9
|
registerInstance(this, hostRef);
|
|
10
|
+
this.ixAriaLabel = 'Expand';
|
|
8
11
|
this.expanded = false;
|
|
12
|
+
this.pinned = false;
|
|
9
13
|
}
|
|
10
14
|
render() {
|
|
11
15
|
return (h(Host, { class: {
|
|
12
16
|
expanded: this.expanded,
|
|
13
|
-
} }, h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24" }, h("rect", { class: "line line-1", x: "2", y: "5", width: "20", height: "2" }), h("rect", { class: "line line-2", x: "2", y: "11", width: "13", height: "2" }), h("rect", { class: "line line-3", x: "2", y: "17", width: "20", height: "2" }))));
|
|
17
|
+
} }, this.pinned ? (h("ix-icon-button", { icon: "double-chevron-right", ghost: true })) : (h("button", { class: Object.assign(Object.assign({}, getButtonClasses('secondary', false, true, true, false, false, false)), { 'burger-menu-button': true }), type: "button", "aria-label": this.ixAriaLabel ? this.ixAriaLabel : null, "aria-pressed": a11yBoolean(this.expanded) }, h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24" }, h("rect", { class: "line line-1", x: "2", y: "5", width: "20", height: "2" }), h("rect", { class: "line line-2", x: "2", y: "11", width: "13", height: "2" }), h("rect", { class: "line line-3", x: "2", y: "17", width: "20", height: "2" }))))));
|
|
14
18
|
}
|
|
15
19
|
};
|
|
16
20
|
BurgerMenu.style = burgerMenuCss;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"ix-burger-menu.entry.js","mappings":"
|
|
1
|
+
{"file":"ix-burger-menu.entry.js","mappings":";;;;AAAA,MAAM,aAAa,GAAG,o4cAAo4c;;MC8B74c,UAAU;;;uBAIS,QAAQ;oBAKF,KAAK;kBAKxB,KAAK;;EAEtB,MAAM;IACJ,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACxB,IAEA,IAAI,CAAC,MAAM,IACV,sBAAgB,IAAI,EAAC,sBAAsB,EAAC,KAAK,SAAkB,KAEnE,cACE,KAAK,kCACA,gBAAgB,CACjB,WAAW,EACX,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,KAAK,EACL,KAAK,CACN,KACD,oBAAoB,EAAE,IAAI,KAE5B,IAAI,EAAC,QAAQ,gBACD,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,GAAG,IAAI,kBACxC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,IAExC,WACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,IAEX,YACE,KAAK,EAAC,aAAa,EACnB,CAAC,EAAC,GAAG,EACL,CAAC,EAAC,GAAG,EACL,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,GAAG,GACJ,EACR,YACE,KAAK,EAAC,aAAa,EACnB,CAAC,EAAC,GAAG,EACL,CAAC,EAAC,IAAI,EACN,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,GAAG,GACJ,EACR,YACE,KAAK,EAAC,aAAa,EACnB,CAAC,EAAC,GAAG,EACL,CAAC,EAAC,IAAI,EACN,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,GAAG,GACJ,CACJ,CACC,CACV,CACI,EACP;GACH;;;;;;","names":[],"sources":["./src/components/menu/burger-menu.scss?tag=ix-burger-menu&encapsulation=shadow","./src/components/menu/burger-menu.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@import 'common-variables';\n@import 'components/buttons';\n@import 'mixins/hover';\n@import 'mixins/shadow-dom/component';\n\n$focus-bdr-width: 0.0625rem;\n\n:host {\n @include ix-component;\n\n display: flex;\n justify-content: center;\n align-items: center;\n height: 2rem;\n width: 2.5rem;\n border-radius: var(--theme-btn--border-radius);\n pointer-events: all;\n\n svg {\n display: inline-block;\n vertical-align: middle;\n }\n\n .line {\n fill: var(--theme-menu-btn--color);\n opacity: 1;\n x: 2px;\n transition: x 0.075s ease-in 0.15s, transform 0.075s ease-in-out 0.075s,\n y 0.075s ease-in-out, opacity 0.075s linear 0.075s;\n transform-origin: center;\n }\n}\n\n@include host-hover {\n .burger-menu-button {\n background-color: var(--theme-menu-btn--background--hover);\n }\n}\n\n.burger-menu-button {\n width: 40px;\n padding: 0;\n}\n\n@include host-active {\n .burger-menu-button {\n background-color: var(--theme-menu-btn--background--active);\n }\n}\n\n:host(.expanded) {\n svg .line-1 {\n opacity: 1;\n transform: rotate(-45deg);\n y: 11px;\n }\n\n svg .line-2 {\n opacity: 0;\n x: 9;\n }\n\n svg .line-3 {\n opacity: 1;\n transform: rotate(45deg);\n y: 11px;\n }\n\n ix-icon-button {\n transform: rotate(180deg);\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, h, Host, Prop } from '@stencil/core';\n\nimport { getButtonClasses } from '../button/base-button';\nimport { a11yBoolean } from '../utils/a11y';\n\n/**\n * @internal\n */\n@Component({\n tag: 'ix-burger-menu',\n styleUrl: './burger-menu.scss',\n shadow: true,\n})\nexport class BurgerMenu {\n /**\n * Accessibility label for the burger menu button (MANDATORY)\n */\n @Prop() ixAriaLabel: string = 'Expand';\n\n /**\n * Does burger menu button display the expanded or the not expanded state\n */\n @Prop({ reflect: true }) expanded = false;\n\n /**\n * Display as pinned\n */\n @Prop() pinned = false;\n\n render() {\n return (\n <Host\n class={{\n expanded: this.expanded,\n }}\n >\n {this.pinned ? (\n <ix-icon-button icon=\"double-chevron-right\" ghost></ix-icon-button>\n ) : (\n <button\n class={{\n ...getButtonClasses(\n 'secondary',\n false,\n true,\n true,\n false,\n false,\n false\n ),\n 'burger-menu-button': true,\n }}\n type=\"button\"\n aria-label={this.ixAriaLabel ? this.ixAriaLabel : null}\n aria-pressed={a11yBoolean(this.expanded)}\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n width=\"24\"\n height=\"24\"\n >\n <rect\n class=\"line line-1\"\n x=\"2\"\n y=\"5\"\n width=\"20\"\n height=\"2\"\n ></rect>\n <rect\n class=\"line line-2\"\n x=\"2\"\n y=\"11\"\n width=\"13\"\n height=\"2\"\n ></rect>\n <rect\n class=\"line line-3\"\n x=\"2\"\n y=\"17\"\n width=\"20\"\n height=\"2\"\n ></rect>\n </svg>\n </button>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
|