@siemens/ix 1.6.2 → 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 +22 -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 +26 -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 +31 -2
- package/dist/collection/components/button/button.js +60 -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 +34 -3
- package/dist/collection/components/icon-button/icon-button.js +52 -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 +37 -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 +35 -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 +22 -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 +26 -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 +18 -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 +16 -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-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-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-c5124f7b.entry.js +0 -2
- package/dist/siemens-ix/p-c5124f7b.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-ea55afa3.entry.js +0 -2
- package/dist/siemens-ix/p-ea55afa3.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
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: MIT
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
/*
|
|
10
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
11
|
+
*
|
|
12
|
+
* SPDX-License-Identifier: MIT
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the MIT license found in the
|
|
15
|
+
* LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/
|
|
17
|
+
:host {
|
|
18
|
+
display: block;
|
|
19
|
+
position: relative;
|
|
20
|
+
overflow: auto;
|
|
21
|
+
padding: 0.125rem 0.625rem 0.125rem 0.625rem;
|
|
22
|
+
}
|
|
23
|
+
:host *,
|
|
24
|
+
:host *::after,
|
|
25
|
+
:host *::before {
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: MIT
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
import { h, Host } from '@stencil/core';
|
|
10
|
+
/**
|
|
11
|
+
* @since 2.0.0
|
|
12
|
+
*/
|
|
13
|
+
export class ModalContent {
|
|
14
|
+
render() {
|
|
15
|
+
return (h(Host, null, h("slot", null)));
|
|
16
|
+
}
|
|
17
|
+
static get is() { return "ix-modal-content"; }
|
|
18
|
+
static get encapsulation() { return "shadow"; }
|
|
19
|
+
static get originalStyleUrls() {
|
|
20
|
+
return {
|
|
21
|
+
"$": ["modal-content.scss"]
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
static get styleUrls() {
|
|
25
|
+
return {
|
|
26
|
+
"$": ["modal-content.css"]
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=modal-content.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal-content.js","sourceRoot":"","sources":["../../../src/components/modal-content/modal-content.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD;;GAEG;AAMH,MAAM,OAAO,YAAY;EACvB,MAAM;IACJ,OAAO,CACL,EAAC,IAAI;MACH,eAAa,CACR,CACR,CAAC;EACJ,CAAC;;;;;;;;;CACF","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 { Component, h, Host } from '@stencil/core';\n\n/**\n * @since 2.0.0\n */\n@Component({\n tag: 'ix-modal-content',\n styleUrl: 'modal-content.scss',\n shadow: true,\n})\nexport class ModalContent {\n render() {\n return (\n <Host>\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: MIT
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
/*
|
|
10
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
11
|
+
*
|
|
12
|
+
* SPDX-License-Identifier: MIT
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the MIT license found in the
|
|
15
|
+
* LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/
|
|
17
|
+
:host {
|
|
18
|
+
display: flex;
|
|
19
|
+
padding: 0.625rem;
|
|
20
|
+
padding-top: 1.5rem;
|
|
21
|
+
justify-content: flex-end;
|
|
22
|
+
align-items: center;
|
|
23
|
+
gap: 0.5rem;
|
|
24
|
+
align-self: stretch;
|
|
25
|
+
}
|
|
26
|
+
:host *,
|
|
27
|
+
:host *::after,
|
|
28
|
+
:host *::before {
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: MIT
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
import { h, Host } from '@stencil/core';
|
|
10
|
+
/**
|
|
11
|
+
* @since 2.0.0
|
|
12
|
+
*/
|
|
13
|
+
export class ModalFooter {
|
|
14
|
+
render() {
|
|
15
|
+
return (h(Host, null, h("slot", null)));
|
|
16
|
+
}
|
|
17
|
+
static get is() { return "ix-modal-footer"; }
|
|
18
|
+
static get encapsulation() { return "shadow"; }
|
|
19
|
+
static get originalStyleUrls() {
|
|
20
|
+
return {
|
|
21
|
+
"$": ["modal-footer.scss"]
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
static get styleUrls() {
|
|
25
|
+
return {
|
|
26
|
+
"$": ["modal-footer.css"]
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=modal-footer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal-footer.js","sourceRoot":"","sources":["../../../src/components/modal-footer/modal-footer.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD;;GAEG;AAMH,MAAM,OAAO,WAAW;EACtB,MAAM;IACJ,OAAO,CACL,EAAC,IAAI;MACH,eAAa,CACR,CACR,CAAC;EACJ,CAAC;;;;;;;;;CACF","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 { Component, h, Host } from '@stencil/core';\n\n/**\n * @since 2.0.0\n */\n@Component({\n tag: 'ix-modal-footer',\n styleUrl: 'modal-footer.scss',\n shadow: true,\n})\nexport class ModalFooter {\n render() {\n return (\n <Host>\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: MIT
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
/*
|
|
10
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
11
|
+
*
|
|
12
|
+
* SPDX-License-Identifier: MIT
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the MIT license found in the
|
|
15
|
+
* LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/
|
|
17
|
+
:host {
|
|
18
|
+
display: flex;
|
|
19
|
+
padding: 2px 16px 16px 10px;
|
|
20
|
+
align-items: center;
|
|
21
|
+
align-self: stretch;
|
|
22
|
+
}
|
|
23
|
+
:host *,
|
|
24
|
+
:host *::after,
|
|
25
|
+
:host *::before {
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
}
|
|
28
|
+
:host .modal-close {
|
|
29
|
+
margin-left: auto;
|
|
30
|
+
margin-right: -20px;
|
|
31
|
+
}
|
|
32
|
+
:host .modal-icon {
|
|
33
|
+
margin-right: 1rem;
|
|
34
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: MIT
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
import { h, Host, } from '@stencil/core';
|
|
10
|
+
/**
|
|
11
|
+
* @since 2.0.0
|
|
12
|
+
*/
|
|
13
|
+
export class ModalHeader {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.hideClose = false;
|
|
16
|
+
this.icon = undefined;
|
|
17
|
+
this.iconColor = undefined;
|
|
18
|
+
}
|
|
19
|
+
onIconChange(icon) {
|
|
20
|
+
if (icon) {
|
|
21
|
+
this.parentDialog.classList.add('with-icon');
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
this.parentDialog.classList.remove('with-icon');
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
componentDidLoad() {
|
|
28
|
+
this.parentDialog = this.hostElement.closest('ix-modal');
|
|
29
|
+
this.onIconChange(this.icon);
|
|
30
|
+
}
|
|
31
|
+
onCloseClick(event) {
|
|
32
|
+
const ce = this.closeClick.emit(event);
|
|
33
|
+
if (ce.defaultPrevented || event.defaultPrevented) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
this.parentDialog.dismissModal();
|
|
37
|
+
}
|
|
38
|
+
render() {
|
|
39
|
+
return (h(Host, null, this.icon ? (h("ix-icon", { class: 'modal-icon', name: this.icon, color: this.iconColor })) : null, h("ix-typography", { variant: 'default-title' }, h("slot", null)), !this.hideClose ? (h("ix-icon-button", { onClick: (event) => this.onCloseClick(event), ghost: true, icon: "close", class: 'modal-close' })) : null));
|
|
40
|
+
}
|
|
41
|
+
static get is() { return "ix-modal-header"; }
|
|
42
|
+
static get encapsulation() { return "shadow"; }
|
|
43
|
+
static get originalStyleUrls() {
|
|
44
|
+
return {
|
|
45
|
+
"$": ["modal-header.scss"]
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static get styleUrls() {
|
|
49
|
+
return {
|
|
50
|
+
"$": ["modal-header.css"]
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
static get properties() {
|
|
54
|
+
return {
|
|
55
|
+
"hideClose": {
|
|
56
|
+
"type": "boolean",
|
|
57
|
+
"mutable": false,
|
|
58
|
+
"complexType": {
|
|
59
|
+
"original": "boolean",
|
|
60
|
+
"resolved": "boolean",
|
|
61
|
+
"references": {}
|
|
62
|
+
},
|
|
63
|
+
"required": false,
|
|
64
|
+
"optional": false,
|
|
65
|
+
"docs": {
|
|
66
|
+
"tags": [],
|
|
67
|
+
"text": "Hide the close button"
|
|
68
|
+
},
|
|
69
|
+
"attribute": "hide-close",
|
|
70
|
+
"reflect": false,
|
|
71
|
+
"defaultValue": "false"
|
|
72
|
+
},
|
|
73
|
+
"icon": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"mutable": false,
|
|
76
|
+
"complexType": {
|
|
77
|
+
"original": "string",
|
|
78
|
+
"resolved": "string",
|
|
79
|
+
"references": {}
|
|
80
|
+
},
|
|
81
|
+
"required": false,
|
|
82
|
+
"optional": false,
|
|
83
|
+
"docs": {
|
|
84
|
+
"tags": [],
|
|
85
|
+
"text": "Icon of the Header"
|
|
86
|
+
},
|
|
87
|
+
"attribute": "icon",
|
|
88
|
+
"reflect": false
|
|
89
|
+
},
|
|
90
|
+
"iconColor": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"mutable": false,
|
|
93
|
+
"complexType": {
|
|
94
|
+
"original": "string",
|
|
95
|
+
"resolved": "string",
|
|
96
|
+
"references": {}
|
|
97
|
+
},
|
|
98
|
+
"required": false,
|
|
99
|
+
"optional": false,
|
|
100
|
+
"docs": {
|
|
101
|
+
"tags": [],
|
|
102
|
+
"text": "Icon color"
|
|
103
|
+
},
|
|
104
|
+
"attribute": "icon-color",
|
|
105
|
+
"reflect": false
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
static get events() {
|
|
110
|
+
return [{
|
|
111
|
+
"method": "closeClick",
|
|
112
|
+
"name": "closeClick",
|
|
113
|
+
"bubbles": true,
|
|
114
|
+
"cancelable": true,
|
|
115
|
+
"composed": true,
|
|
116
|
+
"docs": {
|
|
117
|
+
"tags": [],
|
|
118
|
+
"text": "Close icon is clicked"
|
|
119
|
+
},
|
|
120
|
+
"complexType": {
|
|
121
|
+
"original": "MouseEvent",
|
|
122
|
+
"resolved": "MouseEvent",
|
|
123
|
+
"references": {
|
|
124
|
+
"MouseEvent": {
|
|
125
|
+
"location": "global"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}];
|
|
130
|
+
}
|
|
131
|
+
static get elementRef() { return "hostElement"; }
|
|
132
|
+
static get watchers() {
|
|
133
|
+
return [{
|
|
134
|
+
"propName": "icon",
|
|
135
|
+
"methodName": "onIconChange"
|
|
136
|
+
}];
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
//# sourceMappingURL=modal-header.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal-header.js","sourceRoot":"","sources":["../../../src/components/modal-header/modal-header.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,IAAI,EACJ,KAAK,GACN,MAAM,eAAe,CAAC;AAEvB;;GAEG;AAMH,MAAM,OAAO,WAAW;;qBAMF,KAAK;;;;EAOzB,YAAY,CAAC,IAAY;IACvB,IAAI,IAAI,EAAE;MACR,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;KAC9C;SAAM;MACL,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;KACjD;EACH,CAAC;EAcD,gBAAgB;IACd,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACzD,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;EAC/B,CAAC;EAEO,YAAY,CAAC,KAAiB;IACpC,MAAM,EAAE,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACvC,IAAI,EAAE,CAAC,gBAAgB,IAAI,KAAK,CAAC,gBAAgB,EAAE;MACjD,OAAO;KACR;IAED,IAAI,CAAC,YAAY,CAAC,YAAY,EAAE,CAAC;EACnC,CAAC;EAED,MAAM;IACJ,OAAO,CACL,EAAC,IAAI;MACF,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CACX,eACE,KAAK,EAAE,YAAY,EACnB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,SAAS,GACZ,CACZ,CAAC,CAAC,CAAC,IAAI;MACR,qBAAe,OAAO,EAAE,eAAe;QACrC,eAAa,CACC;MACf,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CACjB,sBACE,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,EAC5C,KAAK,QACL,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,aAAa,GACJ,CACnB,CAAC,CAAC,CAAC,IAAI,CACH,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","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 {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n Watch,\n} from '@stencil/core';\n\n/**\n * @since 2.0.0\n */\n@Component({\n tag: 'ix-modal-header',\n styleUrl: 'modal-header.scss',\n shadow: true,\n})\nexport class ModalHeader {\n @Element() hostElement!: HTMLIxModalHeaderElement;\n\n /**\n * Hide the close button\n */\n @Prop() hideClose = false;\n\n /**\n * Icon of the Header\n */\n @Prop() icon: string;\n @Watch('icon')\n onIconChange(icon: string) {\n if (icon) {\n this.parentDialog.classList.add('with-icon');\n } else {\n this.parentDialog.classList.remove('with-icon');\n }\n }\n\n /**\n * Icon color\n */\n @Prop() iconColor: string;\n\n /**\n * Close icon is clicked\n */\n @Event() closeClick: EventEmitter<MouseEvent>;\n\n private parentDialog: HTMLIxModalElement;\n\n componentDidLoad() {\n this.parentDialog = this.hostElement.closest('ix-modal');\n this.onIconChange(this.icon);\n }\n\n private onCloseClick(event: MouseEvent) {\n const ce = this.closeClick.emit(event);\n if (ce.defaultPrevented || event.defaultPrevented) {\n return;\n }\n\n this.parentDialog.dismissModal();\n }\n\n render() {\n return (\n <Host>\n {this.icon ? (\n <ix-icon\n class={'modal-icon'}\n name={this.icon}\n color={this.iconColor}\n ></ix-icon>\n ) : null}\n <ix-typography variant={'default-title'}>\n <slot></slot>\n </ix-typography>\n {!this.hideClose ? (\n <ix-icon-button\n onClick={(event) => this.onCloseClick(event)}\n ghost\n icon=\"close\"\n class={'modal-close'}\n ></ix-icon-button>\n ) : null}\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: MIT
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
:host {
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: flex-start;
|
|
12
|
+
align-items: center;
|
|
13
|
+
gap: 0.5rem;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
}
|
|
16
|
+
:host .loading-text {
|
|
17
|
+
display: block;
|
|
18
|
+
position: relative;
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
white-space: nowrap;
|
|
21
|
+
text-overflow: ellipsis;
|
|
22
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: MIT
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
import { h, Host } from '@stencil/core';
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export class ModalLoading {
|
|
14
|
+
render() {
|
|
15
|
+
return (h(Host, null, h("ix-spinner", { variant: "primary" }), h("span", { class: 'loading-text' }, h("slot", null))));
|
|
16
|
+
}
|
|
17
|
+
static get is() { return "ix-modal-loading"; }
|
|
18
|
+
static get encapsulation() { return "shadow"; }
|
|
19
|
+
static get originalStyleUrls() {
|
|
20
|
+
return {
|
|
21
|
+
"$": ["modal-loading.scss"]
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
static get styleUrls() {
|
|
25
|
+
return {
|
|
26
|
+
"$": ["modal-loading.css"]
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=modal-loading.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal-loading.js","sourceRoot":"","sources":["../../../src/components/modal-loading/modal-loading.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD;;GAEG;AAMH,MAAM,OAAO,YAAY;EACvB,MAAM;IACJ,OAAO,CACL,EAAC,IAAI;MACH,kBAAY,OAAO,EAAC,SAAS,GAAc;MAC3C,YAAM,KAAK,EAAE,cAAc;QACzB,eAAa,CACR,CACF,CACR,CAAC;EACJ,CAAC;;;;;;;;;CACF","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 { Component, h, Host } from '@stencil/core';\n\n/**\n * @internal\n */\n@Component({\n tag: 'ix-modal-loading',\n styleUrl: 'modal-loading.scss',\n shadow: true,\n})\nexport class ModalLoading {\n render() {\n return (\n <Host>\n <ix-spinner variant=\"primary\"></ix-spinner>\n <span class={'loading-text'}>\n <slot></slot>\n </span>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
9
|
import { h, Host } from '@stencil/core';
|
|
10
|
-
import { closeModal, dismissModal } from '../
|
|
10
|
+
import { closeModal, dismissModal } from '../utils/modal';
|
|
11
11
|
export class ModalExample {
|
|
12
12
|
dismiss() {
|
|
13
13
|
dismissModal(this.host);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"example-modal.js","sourceRoot":"","sources":["../../../src/components/my-component/example-modal.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"example-modal.js","sourceRoot":"","sources":["../../../src/components/my-component/example-modal.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAK1D,MAAM,OAAO,YAAY;EAGf,OAAO;IACb,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;EAC1B,CAAC;EAEO,KAAK;IACX,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;EACjC,CAAC;EAED,MAAM;IACJ,OAAO,CACL,EAAC,IAAI;MACH;QACE,WAAK,KAAK,EAAC,cAAc;;UAEvB,iDAEE,KAAK,QACL,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,GACb,CACd;QACN,WAAK,KAAK,EAAC,YAAY,+BAA+B;QACtD,WAAK,KAAK,EAAC,cAAc;UACvB,iBAAW,OAAO,QAAC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,aAEpC;UACZ,iBAAW,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,SAAgB,CAClD,CACF,CACD,CACR,CAAC;EACJ,CAAC;;;CACF","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 { Component, Element, h, Host } from '@stencil/core';\nimport { closeModal, dismissModal } from '../utils/modal';\n\n@Component({\n tag: 'ix-modal-example',\n})\nexport class ModalExample {\n @Element() host!: HTMLIxModalExampleElement;\n\n private dismiss() {\n dismissModal(this.host);\n }\n\n private close() {\n closeModal(this.host, 'Done!');\n }\n\n render() {\n return (\n <Host>\n <div>\n <div class=\"modal-header\">\n Message headline\n <ix-icon-button\n data-close-button\n ghost\n icon=\"close\"\n onClick={() => this.dismiss()}\n ></ix-icon-button>\n </div>\n <div class=\"modal-body\">Message text lorem ipsum</div>\n <div class=\"modal-footer\">\n <ix-button outline onClick={() => this.dismiss()}>\n Cancel\n </ix-button>\n <ix-button onClick={() => this.close()}>OK</ix-button>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"my-component.js","sourceRoot":"","sources":["../../../src/components/my-component/my-component.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"my-component.js","sourceRoot":"","sources":["../../../src/components/my-component/my-component.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOnD,MAAM,OAAO,WAAW;EACtB,MAAM;IACJ,OAAO,EAAC,IAAI,OAAQ,CAAC;EACvB,CAAC;;;;;;;;;CACF","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 */\nimport { Component, h, Host } from '@stencil/core';\n\n@Component({\n tag: 'my-component',\n styleUrl: 'my-component.scss',\n scoped: true,\n})\nexport class MyComponent {\n render() {\n return <Host></Host>;\n }\n}\n"]}
|
|
@@ -50,7 +50,7 @@ export class Pagination {
|
|
|
50
50
|
this.selectPage(this.selectedPage - 1);
|
|
51
51
|
}
|
|
52
52
|
getPageButton(index) {
|
|
53
|
-
return (h("ix-index-button", { variant: "
|
|
53
|
+
return (h("ix-index-button", { variant: "primary", onClick: () => {
|
|
54
54
|
this.selectPage(index);
|
|
55
55
|
}, selected: this.selectedPage === index }, index + 1));
|
|
56
56
|
}
|
|
@@ -65,7 +65,7 @@ export class Pagination {
|
|
|
65
65
|
let pageCount = Math.floor((this.maxCountPages - 4) / 2);
|
|
66
66
|
if (hasOverflowStart) {
|
|
67
67
|
pageButtons.push(this.getPageButton(0));
|
|
68
|
-
pageButtons.push(h("ix-index-button", { variant: "
|
|
68
|
+
pageButtons.push(h("ix-index-button", { variant: "secondary", onClick: () => {
|
|
69
69
|
if (hasOverflowEnd) {
|
|
70
70
|
this.selectPage(this.selectedPage - Math.max(0, 2 * pageCount + 1));
|
|
71
71
|
}
|
|
@@ -94,7 +94,7 @@ export class Pagination {
|
|
|
94
94
|
pageButtons.push(this.getPageButton(i));
|
|
95
95
|
}
|
|
96
96
|
if (hasOverflowEnd) {
|
|
97
|
-
pageButtons.push(h("ix-index-button", { variant: "
|
|
97
|
+
pageButtons.push(h("ix-index-button", { variant: "secondary", onClick: () => {
|
|
98
98
|
if (hasOverflowStart) {
|
|
99
99
|
this.selectPage(this.selectedPage + Math.max(0, 2 * pageCount + 1));
|
|
100
100
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.js","sourceRoot":"","sources":["../../../src/components/pagination/pagination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,QACd,eAAe,EAAC,EAAE,EAClB,oBAAoB,EAAC,EAAE,sBACL,IAAI,CAAC,SAAS,EAChC,qBAAqB,EAAE,CAAC,CAAC,EAAE,EAAE;YAC3B,MAAM,KAAK,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;YAC3C,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;UACpC,CAAC;UAED,sBAAgB,KAAK,EAAC,IAAI,EAAC,KAAK,EAAC,IAAI,GAAkB;UACvD,sBAAgB,KAAK,EAAC,IAAI,EAAC,KAAK,EAAC,IAAI,GAAkB;UACvD,sBAAgB,KAAK,EAAC,IAAI,EAAC,KAAK,EAAC,IAAI,GAAkB;UACvD,sBAAgB,KAAK,EAAC,IAAI,EAAC,KAAK,EAAC,IAAI,GAAkB;UACvD,sBAAgB,KAAK,EAAC,KAAK,EAAC,KAAK,EAAC,KAAK,GAAkB,CAC/C,CACP,CACR,CAAC,CAAC,CAAC,CACF,EAAE,CACH,CACI,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2022 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n} from '@stencil/core';\n\n/**\n * @since 1.5.0\n */\n@Component({\n tag: 'ix-pagination',\n styleUrl: 'pagination.scss',\n scoped: true,\n})\nexport class Pagination {\n private readonly maxCountPages = 7;\n\n @Element() hostElement!: HTMLIxPaginationElement;\n\n /**\n * Advanced mode\n */\n @Prop() advanced: boolean;\n\n /**\n * Number of items shown at once.\n * Can only be changed in advaced mode.\n */\n @Prop() itemCount = 15;\n\n /**\n * Show item count in advanced mode\n */\n @Prop() showItemCount = true;\n\n /**\n * Total number of pages\n */\n @Prop() count: number;\n\n /**\n * Zero based index of currently selected page\n */\n @Prop({ mutable: true }) selectedPage = 0;\n\n /**\n * i18n\n */\n @Prop() i18nPage = 'Page';\n\n /**\n * i18n\n */\n @Prop() i18nOf = 'of';\n\n /**\n /**\n * i18n\n */\n @Prop() i18nItems = 'Items';\n\n /**\n * Page selection event\n */\n @Event() pageSelected: EventEmitter<number>;\n\n /**\n * Item count change event\n */\n @Event() itemCountChanged: EventEmitter<number>;\n\n get pageInput() {\n return this.hostElement.querySelector(\n '.advanced-pagination input.form-control'\n );\n }\n\n private selectPage(index: number) {\n if (index < 0) {\n this.selectedPage = 0;\n } else if (index > this.count - 1) {\n this.selectedPage = this.count - 1;\n } else {\n this.selectedPage = index;\n }\n\n this.pageSelected.emit(this.selectedPage);\n }\n\n private increase() {\n if (this.selectedPage === this.count - 1) {\n return;\n }\n\n this.selectPage(this.selectedPage + 1);\n }\n\n private decrease() {\n if (this.selectedPage === 0) {\n return;\n }\n\n this.selectPage(this.selectedPage - 1);\n }\n\n private getPageButton(index: number) {\n return (\n <ix-index-button\n variant=\"Primary\"\n onClick={() => {\n this.selectPage(index);\n }}\n selected={this.selectedPage === index}\n >\n {index + 1}\n </ix-index-button>\n );\n }\n\n private renderPageButtons() {\n const pagesBeforeOverflow = Math.floor(this.maxCountPages / 2);\n const hasOverflow = this.count > this.maxCountPages;\n const hasOverflowStart =\n hasOverflow && this.selectedPage > pagesBeforeOverflow;\n const hasOverflowEnd =\n hasOverflow && this.selectedPage < this.count - pagesBeforeOverflow - 1;\n const pageButtons = [];\n\n let start = 0;\n let end = Math.min(this.count, this.maxCountPages);\n let pageCount = Math.floor((this.maxCountPages - 4) / 2);\n\n if (hasOverflowStart) {\n pageButtons.push(this.getPageButton(0));\n pageButtons.push(\n <ix-index-button\n variant=\"Secondary\"\n onClick={() => {\n if (hasOverflowEnd) {\n this.selectPage(\n this.selectedPage - Math.max(0, 2 * pageCount + 1)\n );\n } else {\n this.selectPage(this.count - this.maxCountPages);\n }\n }}\n >\n ...\n </ix-index-button>\n );\n\n if (hasOverflowEnd) {\n start = this.count - this.maxCountPages + 2;\n } else {\n start = this.count - this.maxCountPages + 2;\n end = this.count;\n }\n }\n\n if (hasOverflowEnd) {\n if (hasOverflowStart) {\n start = this.selectedPage - pageCount;\n end = this.selectedPage + pageCount + 1;\n } else {\n end = this.maxCountPages - 2;\n }\n }\n\n for (let i = start; i < end; i++) {\n pageButtons.push(this.getPageButton(i));\n }\n\n if (hasOverflowEnd) {\n pageButtons.push(\n <ix-index-button\n variant=\"Secondary\"\n onClick={() => {\n if (hasOverflowStart) {\n this.selectPage(\n this.selectedPage + Math.max(0, 2 * pageCount + 1)\n );\n } else {\n this.selectPage(this.maxCountPages - 1);\n }\n }}\n >\n ...\n </ix-index-button>\n );\n pageButtons.push(this.getPageButton(this.count - 1));\n }\n\n return <span class=\"page-buttons\">{pageButtons}</span>;\n }\n\n render() {\n return (\n <Host>\n <ix-icon-button\n disabled={this.selectedPage === 0}\n ghost\n icon=\"chevron-left-small\"\n onClick={() => this.decrease()}\n ></ix-icon-button>\n\n {this.advanced ? (\n <div class=\"advanced-pagination\">\n {this.i18nPage}\n <input\n class=\"form-control\"\n type=\"number\"\n min=\"1\"\n max={this.count}\n value={this.selectedPage + 1}\n onChange={(e) => {\n const index = Number.parseInt(e.target['value']);\n this.selectPage(index - 1);\n }}\n />\n <span class=\"total-count\">\n {this.i18nOf} {this.count}\n </span>\n </div>\n ) : (\n <span class=\"basic-pagination\">{this.renderPageButtons()} </span>\n )}\n\n <ix-icon-button\n disabled={this.selectedPage === this.count - 1}\n ghost\n icon=\"chevron-right-small\"\n onClick={() => this.increase()}\n ></ix-icon-button>\n\n {this.advanced && this.showItemCount ? (\n <span class=\"item-count\">\n {this.i18nItems}\n <ix-select\n hideListHeader\n i18nPlaceholder=\"\"\n i18nSelectListHeader=\"\"\n selected-indices={this.itemCount}\n onItemSelectionChange={(e) => {\n const count = Number.parseInt(e.detail[0]);\n this.itemCountChanged.emit(count);\n }}\n >\n <ix-select-item label=\"10\" value=\"10\"></ix-select-item>\n <ix-select-item label=\"15\" value=\"15\"></ix-select-item>\n <ix-select-item label=\"20\" value=\"20\"></ix-select-item>\n <ix-select-item label=\"40\" value=\"40\"></ix-select-item>\n <ix-select-item label=\"100\" value=\"100\"></ix-select-item>\n </ix-select>\n </span>\n ) : (\n ''\n )}\n </Host>\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"pagination.js","sourceRoot":"","sources":["../../../src/components/pagination/pagination.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,IAAI,GACL,MAAM,eAAe,CAAC;AAEvB;;GAEG;AAMH,MAAM,OAAO,UAAU;;IACJ,kBAAa,GAAG,CAAC,CAAC;;qBAaf,EAAE;yBAKE,IAAI;;wBAUY,CAAC;oBAKtB,MAAM;kBAKR,IAAI;qBAMD,OAAO;;EAY3B,IAAI,SAAS;IACX,OAAO,IAAI,CAAC,WAAW,CAAC,aAAa,CACnC,yCAAyC,CAC1C,CAAC;EACJ,CAAC;EAEO,UAAU,CAAC,KAAa;IAC9B,IAAI,KAAK,GAAG,CAAC,EAAE;MACb,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC;KACvB;SAAM,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,CAAC,EAAE;MACjC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;KACpC;SAAM;MACL,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;KAC3B;IAED,IAAI,CAAC,YAAY,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2022 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n} from '@stencil/core';\n\n/**\n * @since 1.5.0\n */\n@Component({\n tag: 'ix-pagination',\n styleUrl: 'pagination.scss',\n scoped: true,\n})\nexport class Pagination {\n private readonly maxCountPages = 7;\n\n @Element() hostElement!: HTMLIxPaginationElement;\n\n /**\n * Advanced mode\n */\n @Prop() advanced: boolean;\n\n /**\n * Number of items shown at once.\n * Can only be changed in advaced mode.\n */\n @Prop() itemCount = 15;\n\n /**\n * Show item count in advanced mode\n */\n @Prop() showItemCount = true;\n\n /**\n * Total number of pages\n */\n @Prop() count: number;\n\n /**\n * Zero based index of currently selected page\n */\n @Prop({ mutable: true }) selectedPage = 0;\n\n /**\n * i18n\n */\n @Prop() i18nPage = 'Page';\n\n /**\n * i18n\n */\n @Prop() i18nOf = 'of';\n\n /**\n /**\n * i18n\n */\n @Prop() i18nItems = 'Items';\n\n /**\n * Page selection event\n */\n @Event() pageSelected: EventEmitter<number>;\n\n /**\n * Item count change event\n */\n @Event() itemCountChanged: EventEmitter<number>;\n\n get pageInput() {\n return this.hostElement.querySelector(\n '.advanced-pagination input.form-control'\n );\n }\n\n private selectPage(index: number) {\n if (index < 0) {\n this.selectedPage = 0;\n } else if (index > this.count - 1) {\n this.selectedPage = this.count - 1;\n } else {\n this.selectedPage = index;\n }\n\n this.pageSelected.emit(this.selectedPage);\n }\n\n private increase() {\n if (this.selectedPage === this.count - 1) {\n return;\n }\n\n this.selectPage(this.selectedPage + 1);\n }\n\n private decrease() {\n if (this.selectedPage === 0) {\n return;\n }\n\n this.selectPage(this.selectedPage - 1);\n }\n\n private getPageButton(index: number) {\n return (\n <ix-index-button\n variant=\"primary\"\n onClick={() => {\n this.selectPage(index);\n }}\n selected={this.selectedPage === index}\n >\n {index + 1}\n </ix-index-button>\n );\n }\n\n private renderPageButtons() {\n const pagesBeforeOverflow = Math.floor(this.maxCountPages / 2);\n const hasOverflow = this.count > this.maxCountPages;\n const hasOverflowStart =\n hasOverflow && this.selectedPage > pagesBeforeOverflow;\n const hasOverflowEnd =\n hasOverflow && this.selectedPage < this.count - pagesBeforeOverflow - 1;\n const pageButtons = [];\n\n let start = 0;\n let end = Math.min(this.count, this.maxCountPages);\n let pageCount = Math.floor((this.maxCountPages - 4) / 2);\n\n if (hasOverflowStart) {\n pageButtons.push(this.getPageButton(0));\n pageButtons.push(\n <ix-index-button\n variant=\"secondary\"\n onClick={() => {\n if (hasOverflowEnd) {\n this.selectPage(\n this.selectedPage - Math.max(0, 2 * pageCount + 1)\n );\n } else {\n this.selectPage(this.count - this.maxCountPages);\n }\n }}\n >\n ...\n </ix-index-button>\n );\n\n if (hasOverflowEnd) {\n start = this.count - this.maxCountPages + 2;\n } else {\n start = this.count - this.maxCountPages + 2;\n end = this.count;\n }\n }\n\n if (hasOverflowEnd) {\n if (hasOverflowStart) {\n start = this.selectedPage - pageCount;\n end = this.selectedPage + pageCount + 1;\n } else {\n end = this.maxCountPages - 2;\n }\n }\n\n for (let i = start; i < end; i++) {\n pageButtons.push(this.getPageButton(i));\n }\n\n if (hasOverflowEnd) {\n pageButtons.push(\n <ix-index-button\n variant=\"secondary\"\n onClick={() => {\n if (hasOverflowStart) {\n this.selectPage(\n this.selectedPage + Math.max(0, 2 * pageCount + 1)\n );\n } else {\n this.selectPage(this.maxCountPages - 1);\n }\n }}\n >\n ...\n </ix-index-button>\n );\n pageButtons.push(this.getPageButton(this.count - 1));\n }\n\n return <span class=\"page-buttons\">{pageButtons}</span>;\n }\n\n render() {\n return (\n <Host>\n <ix-icon-button\n disabled={this.selectedPage === 0}\n ghost\n icon=\"chevron-left-small\"\n onClick={() => this.decrease()}\n ></ix-icon-button>\n\n {this.advanced ? (\n <div class=\"advanced-pagination\">\n {this.i18nPage}\n <input\n class=\"form-control\"\n type=\"number\"\n min=\"1\"\n max={this.count}\n value={this.selectedPage + 1}\n onChange={(e) => {\n const index = Number.parseInt(e.target['value']);\n this.selectPage(index - 1);\n }}\n />\n <span class=\"total-count\">\n {this.i18nOf} {this.count}\n </span>\n </div>\n ) : (\n <span class=\"basic-pagination\">{this.renderPageButtons()} </span>\n )}\n\n <ix-icon-button\n disabled={this.selectedPage === this.count - 1}\n ghost\n icon=\"chevron-right-small\"\n onClick={() => this.increase()}\n ></ix-icon-button>\n\n {this.advanced && this.showItemCount ? (\n <span class=\"item-count\">\n {this.i18nItems}\n <ix-select\n hideListHeader\n i18nPlaceholder=\"\"\n i18nSelectListHeader=\"\"\n selected-indices={this.itemCount}\n onItemSelectionChange={(e) => {\n const count = Number.parseInt(e.detail[0]);\n this.itemCountChanged.emit(count);\n }}\n >\n <ix-select-item label=\"10\" value=\"10\"></ix-select-item>\n <ix-select-item label=\"15\" value=\"15\"></ix-select-item>\n <ix-select-item label=\"20\" value=\"20\"></ix-select-item>\n <ix-select-item label=\"40\" value=\"40\"></ix-select-item>\n <ix-select-item label=\"100\" value=\"100\"></ix-select-item>\n </ix-select>\n </span>\n ) : (\n ''\n )}\n </Host>\n );\n }\n}\n"]}
|