@siemens/ix 2.0.0-beta.1 → 2.0.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/_commonjsHelpers-0c557e26.js +28 -0
- package/dist/cjs/_commonjsHelpers-0c557e26.js.map +1 -0
- package/dist/cjs/a11y-4fdcefb4.js +82 -0
- package/dist/cjs/a11y-4fdcefb4.js.map +1 -0
- package/dist/cjs/app-globals-1fe10058.js +31 -0
- package/dist/cjs/app-globals-1fe10058.js.map +1 -0
- package/dist/cjs/breakpoints-7ca69aa8.js +27 -0
- package/dist/cjs/breakpoints-7ca69aa8.js.map +1 -0
- package/dist/cjs/core-js-3b34c0b6.js +27 -0
- package/dist/cjs/core-js-3b34c0b6.js.map +1 -0
- package/dist/cjs/dom-83fb07d8.js +74 -0
- package/dist/cjs/dom-83fb07d8.js.map +1 -0
- package/dist/cjs/index-be499a74.js +186 -130
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/index.es2017-b42376b6.js +1504 -0
- package/dist/cjs/index.es2017-b42376b6.js.map +1 -0
- package/dist/cjs/ix-action-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +2 -2
- package/dist/cjs/ix-application.cjs.entry.js +2 -2
- package/dist/cjs/ix-avatar_2.cjs.entry.js +56 -0
- package/dist/cjs/ix-avatar_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +2 -2
- package/dist/cjs/ix-blind.cjs.entry.js +13 -5
- package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +68 -0
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +104 -0
- package/dist/cjs/ix-breadcrumb.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-burger-menu.cjs.entry.js +2 -2
- package/dist/cjs/ix-burger-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +4 -6
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card-list.cjs.entry.js +3 -3
- package/dist/cjs/ix-card-list.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -1
- 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 +3 -5
- package/dist/cjs/ix-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-col.cjs.entry.js +3 -3
- package/dist/cjs/ix-col.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-content-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-content-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-picker_2.cjs.entry.js +8 -8
- package/dist/cjs/ix-date-picker_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-drawer.cjs.entry.js +1 -1
- package/dist/cjs/ix-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +1 -2
- package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-item.cjs.entry.js +49 -0
- package/dist/cjs/ix-dropdown-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-dropdown.cjs.entry.js +322 -0
- package/dist/cjs/ix-dropdown.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-event-list-item.cjs.entry.js +42 -0
- package/dist/cjs/ix-event-list-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-event-list.cjs.entry.js +124 -0
- package/dist/cjs/ix-event-list.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-expanding-search.cjs.entry.js +1 -1
- package/dist/cjs/ix-expanding-search.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +91 -0
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-flip-tile-content.cjs.entry.js +22 -0
- package/dist/cjs/ix-flip-tile-content.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-flip-tile.cjs.entry.js +89 -0
- package/dist/cjs/ix-flip-tile.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-form-field.cjs.entry.js +1 -1
- package/dist/cjs/ix-form-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +79 -0
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-group.cjs.entry.js +128 -0
- package/dist/cjs/ix-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +97 -0
- package/dist/cjs/ix-icon-button_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-icon.entry-6cd45fec.js +1487 -0
- package/dist/cjs/ix-icon.entry-6cd45fec.js.map +1 -0
- package/dist/cjs/ix-input-group.cjs.entry.js +19 -15
- package/dist/cjs/ix-input-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +2 -2
- package/dist/cjs/ix-kpi.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-layout-grid.cjs.entry.js +29 -0
- package/dist/cjs/ix-layout-grid.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-link-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-link-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +62 -0
- package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-map-navigation.cjs.entry.js +174 -0
- package/dist/cjs/ix-map-navigation.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +22 -0
- package/dist/cjs/ix-menu-about-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +38 -0
- package/dist/cjs/ix-menu-about-news.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-menu-about.cjs.entry.js +76 -0
- package/dist/cjs/ix-menu-about.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +33 -0
- package/dist/cjs/ix-menu-avatar.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-menu-category.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-category.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu-item.cjs.entry.js +72 -0
- package/dist/cjs/ix-menu-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js +22 -0
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-menu-settings.cjs.entry.js +64 -0
- package/dist/cjs/ix-menu-settings.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-menu.cjs.entry.js +444 -0
- package/dist/cjs/ix-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
- package/dist/cjs/ix-message-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-example.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal.cjs.entry.js +4 -3
- package/dist/cjs/ix-modal.cjs.entry.js.map +1 -1
- 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 +1 -1
- package/dist/cjs/ix-pill.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-push-card.cjs.entry.js +2 -2
- package/dist/cjs/ix-push-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-row.cjs.entry.js +1 -1
- package/dist/cjs/ix-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-select.cjs.entry.js +341 -0
- package/dist/cjs/ix-select.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-slider.cjs.entry.js +151 -0
- package/dist/cjs/ix-slider.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-split-button-item.cjs.entry.js +28 -0
- package/dist/cjs/ix-split-button-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-split-button.cjs.entry.js +49 -0
- package/dist/cjs/ix-split-button.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-tab-item_2.cjs.entry.js +263 -0
- package/dist/cjs/ix-tab-item_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-toast-container.cjs.entry.js +87 -0
- package/dist/cjs/ix-toast-container.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-toast.cjs.entry.js +73 -0
- package/dist/cjs/ix-toast.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-toggle.cjs.entry.js +1 -1
- package/dist/cjs/ix-tooltip.cjs.entry.js +21 -7
- package/dist/cjs/ix-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tree-item.cjs.entry.js +36 -0
- package/dist/cjs/ix-tree-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-tree.cjs.entry.js +702 -0
- package/dist/cjs/ix-tree.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-workflow-step.cjs.entry.js +97 -0
- package/dist/cjs/ix-workflow-step.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +81 -0
- package/dist/cjs/ix-workflow-steps.cjs.entry.js.map +1 -0
- package/dist/cjs/loader.cjs.js +3 -1
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/menu-service-000df68d.js +159 -0
- package/dist/cjs/menu-service-000df68d.js.map +1 -0
- package/dist/cjs/shadow-dom-9b10f758.js.map +1 -1
- package/dist/cjs/siemens-ix.cjs.js +3 -1
- package/dist/cjs/siemens-ix.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +6 -196
- package/dist/collection/components/action-card/action-card.css +15 -0
- package/dist/collection/components/action-card/action-card.js +1 -1
- package/dist/collection/components/application-header/test/application-headet.ct.js +4 -0
- package/dist/collection/components/application-header/test/application-headet.ct.js.map +1 -1
- package/dist/collection/components/blind/blind.css +242 -63
- package/dist/collection/components/blind/blind.js +37 -3
- package/dist/collection/components/blind/blind.js.map +1 -1
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +1 -1
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +1 -2
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
- package/dist/collection/components/card/card.css +5 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/card.js.map +1 -1
- package/dist/collection/components/card-accordion/card-accordion.css +12 -15
- package/dist/collection/components/card-accordion/card-accordion.js +2 -4
- package/dist/collection/components/card-accordion/card-accordion.js.map +1 -1
- package/dist/collection/components/card-content/card-content.css +1 -0
- package/dist/collection/components/card-list/card-list.css +0 -1
- package/dist/collection/components/card-list/card-list.js +2 -2
- package/dist/collection/components/card-list/card-list.js.map +1 -1
- package/dist/collection/components/card-title/card-title.css +1 -1
- package/dist/collection/components/category-filter/category-filter.css +56 -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 +1 -0
- package/dist/collection/components/chip/chip.js +3 -22
- package/dist/collection/components/chip/chip.js.map +1 -1
- package/dist/collection/components/col/col.css +50 -3
- package/dist/collection/components/col/col.js +1 -1
- package/dist/collection/components/col/col.js.map +1 -1
- package/dist/collection/components/content-header/content-header.js +1 -1
- package/dist/collection/components/content-header/content-header.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.css +3 -0
- 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/drawer/drawer.js +1 -1
- package/dist/collection/components/drawer/drawer.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown.js +39 -34
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown/test/dropdown.ct.js +79 -0
- package/dist/collection/components/dropdown/test/dropdown.ct.js.map +1 -0
- package/dist/collection/components/dropdown-button/dropdown-button.js +1 -23
- package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +6 -4
- package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -1
- package/dist/collection/components/event-list-item/event-list-item.js +2 -24
- package/dist/collection/components/event-list-item/event-list-item.js.map +1 -1
- package/dist/collection/components/expanding-search/expanding-search.js +1 -1
- package/dist/collection/components/expanding-search/expanding-search.js.map +1 -1
- package/dist/collection/components/filter-chip/filter-chip.js +1 -1
- package/dist/collection/components/filter-chip/filter-chip.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/form-field/form-field.css +35 -0
- package/dist/collection/components/grid/layout-grid.css +21 -0
- package/dist/collection/components/grid/layout-grid.js +98 -0
- package/dist/collection/components/grid/layout-grid.js.map +1 -0
- package/dist/collection/components/group/group-context-menu.js +1 -1
- package/dist/collection/components/group/group-context-menu.js.map +1 -1
- package/dist/collection/components/group/group.js +1 -1
- package/dist/collection/components/group/group.js.map +1 -1
- package/dist/collection/components/icon-button/icon-button.css +1 -1
- package/dist/collection/components/icon-button/test/icon-button.ct.js +1 -1
- package/dist/collection/components/icon-button/test/icon-button.ct.js.map +1 -1
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +1 -1
- package/dist/collection/components/input-group/input-group.js +19 -15
- package/dist/collection/components/input-group/input-group.js.map +1 -1
- package/dist/collection/components/kpi/kpi.js +2 -2
- package/dist/collection/components/kpi/kpi.js.map +1 -1
- package/dist/collection/components/link-button/link-button.js +1 -1
- package/dist/collection/components/link-button/link-button.js.map +1 -1
- package/dist/collection/components/map-navigation/map-navigation.js +1 -1
- package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +1 -1
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js.map +1 -1
- package/dist/collection/components/menu/burger-menu.js +1 -1
- package/dist/collection/components/menu/burger-menu.js.map +1 -1
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu/menu.js.map +1 -1
- package/dist/collection/components/menu/test/menu.ct.js +22 -2
- package/dist/collection/components/menu/test/menu.ct.js.map +1 -1
- package/dist/collection/components/menu-about/menu-about.js +1 -1
- package/dist/collection/components/menu-about/menu-about.js.map +1 -1
- package/dist/collection/components/menu-about-news/menu-about-news.js +1 -1
- package/dist/collection/components/menu-about-news/menu-about-news.js.map +1 -1
- package/dist/collection/components/menu-avatar/menu-avatar.js +1 -1
- package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
- package/dist/collection/components/menu-category/menu-category.js +1 -1
- package/dist/collection/components/menu-category/menu-category.js.map +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js.map +1 -1
- package/dist/collection/components/menu-settings/menu-settings.js +1 -1
- package/dist/collection/components/menu-settings/menu-settings.js.map +1 -1
- package/dist/collection/components/message-bar/message-bar.js +1 -1
- package/dist/collection/components/message-bar/message-bar.js.map +1 -1
- package/dist/collection/components/modal/modal.css +14 -0
- package/dist/collection/components/modal/modal.js +3 -2
- package/dist/collection/components/modal/modal.js.map +1 -1
- 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/pagination/pagination.css +1 -1
- package/dist/collection/components/pagination/pagination.js +2 -2
- package/dist/collection/components/pagination/pagination.js.map +1 -1
- package/dist/collection/components/pagination/test/pagination.ct.js +40 -0
- package/dist/collection/components/pagination/test/pagination.ct.js.map +1 -0
- package/dist/collection/components/pill/pill.css +1 -0
- package/dist/collection/components/push-card/push-card.css +7 -4
- package/dist/collection/components/push-card/push-card.js +2 -2
- package/dist/collection/components/push-card/push-card.js.map +1 -1
- package/dist/collection/components/row/row.css +2 -2
- package/dist/collection/components/select/select.css +4 -34
- package/dist/collection/components/select/select.js +38 -25
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select/test/select.ct.js +13 -12
- package/dist/collection/components/select/test/select.ct.js.map +1 -1
- package/dist/collection/components/slider/slider.css +265 -0
- package/dist/collection/components/slider/slider.js +380 -0
- package/dist/collection/components/slider/slider.js.map +1 -0
- package/dist/collection/components/slider/test/slider.ct.js +35 -0
- package/dist/collection/components/slider/test/slider.ct.js.map +1 -0
- package/dist/collection/components/split-button/split-button.js +0 -3
- package/dist/collection/components/split-button/split-button.js.map +1 -1
- package/dist/collection/components/split-button-item/split-button-item.js +3 -0
- package/dist/collection/components/split-button-item/split-button-item.js.map +1 -1
- package/dist/collection/components/tabs/tabs.js +7 -7
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/collection/components/time-picker/time-picker.css +35 -0
- package/dist/collection/components/time-picker/time-picker.js +2 -2
- package/dist/collection/components/time-picker/time-picker.js.map +1 -1
- package/dist/collection/components/toast/styles/toast-container.css +91 -0
- package/dist/collection/components/toast/toast-container.js +20 -4
- package/dist/collection/components/toast/toast-container.js.map +1 -1
- package/dist/collection/components/toast/toast.css +9 -7
- package/dist/collection/components/toast/toast.js +1 -1
- package/dist/collection/components/toast/toast.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.js +88 -8
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js.map +1 -1
- package/dist/collection/components/utils/a11y.js +2 -2
- package/dist/collection/components/utils/a11y.js.map +1 -1
- package/dist/collection/components/utils/breakpoints.js +3 -3
- package/dist/collection/components/utils/breakpoints.js.map +1 -1
- package/dist/collection/components/utils/shadow-dom.js +7 -0
- package/dist/collection/components/utils/shadow-dom.js.map +1 -1
- package/dist/collection/components/validation-tooltip/validation-tooltip.css +1 -0
- package/dist/collection/index.js +0 -9
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/setup.js +24 -0
- package/dist/collection/setup.js.map +1 -0
- package/dist/collection/tests/utils/test/index.js +14 -0
- package/dist/collection/tests/utils/test/index.js.map +1 -1
- package/dist/esm/_commonjsHelpers-dd6fe9fb.js +23 -0
- package/dist/esm/_commonjsHelpers-dd6fe9fb.js.map +1 -0
- package/dist/esm/a11y-d5dd20ad.js +79 -0
- package/dist/esm/a11y-d5dd20ad.js.map +1 -0
- package/dist/esm/app-globals-4d2941ae.js +29 -0
- package/dist/esm/app-globals-4d2941ae.js.map +1 -0
- package/dist/esm/breakpoints-b76e9f27.js +25 -0
- package/dist/esm/breakpoints-b76e9f27.js.map +1 -0
- package/dist/esm/core-js-de462567.js +25 -0
- package/dist/esm/core-js-de462567.js.map +1 -0
- package/dist/esm/dom-64ac48b5.js +72 -0
- package/dist/esm/dom-64ac48b5.js.map +1 -0
- package/dist/esm/index-eb0be730.js +186 -130
- package/dist/esm/index.es2017-1478d9a9.js +1479 -0
- package/dist/esm/index.es2017-1478d9a9.js.map +1 -0
- package/dist/esm/index.js +0 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/ix-action-card.entry.js +1 -1
- package/dist/esm/ix-action-card.entry.js.map +1 -1
- package/dist/esm/ix-application-header.entry.js +2 -2
- package/dist/esm/ix-application.entry.js +2 -2
- package/dist/esm/ix-avatar_2.entry.js +51 -0
- package/dist/esm/ix-avatar_2.entry.js.map +1 -0
- package/dist/esm/ix-basic-navigation.entry.js +2 -2
- package/dist/esm/ix-blind.entry.js +13 -5
- package/dist/esm/ix-blind.entry.js.map +1 -1
- package/dist/esm/ix-breadcrumb-item.entry.js +64 -0
- package/dist/esm/ix-breadcrumb-item.entry.js.map +1 -0
- package/dist/esm/ix-breadcrumb.entry.js +100 -0
- package/dist/esm/ix-breadcrumb.entry.js.map +1 -0
- package/dist/esm/ix-burger-menu.entry.js +2 -2
- package/dist/esm/ix-burger-menu.entry.js.map +1 -1
- package/dist/esm/ix-card-accordion_2.entry.js +4 -6
- package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
- package/dist/esm/ix-card-list.entry.js +3 -3
- package/dist/esm/ix-card-list.entry.js.map +1 -1
- package/dist/esm/ix-card_2.entry.js +2 -2
- package/dist/esm/ix-card_2.entry.js.map +1 -1
- 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 +3 -5
- package/dist/esm/ix-chip.entry.js.map +1 -1
- package/dist/esm/ix-col.entry.js +3 -3
- package/dist/esm/ix-col.entry.js.map +1 -1
- package/dist/esm/ix-content-header.entry.js +1 -1
- package/dist/esm/ix-content-header.entry.js.map +1 -1
- package/dist/esm/ix-date-picker_2.entry.js +8 -8
- package/dist/esm/ix-date-picker_2.entry.js.map +1 -1
- package/dist/esm/ix-drawer.entry.js +1 -1
- package/dist/esm/ix-drawer.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-button.entry.js +1 -2
- package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-item.entry.js +45 -0
- package/dist/esm/ix-dropdown-item.entry.js.map +1 -0
- package/dist/esm/ix-dropdown.entry.js +318 -0
- package/dist/esm/ix-dropdown.entry.js.map +1 -0
- package/dist/esm/ix-event-list-item.entry.js +38 -0
- package/dist/esm/ix-event-list-item.entry.js.map +1 -0
- package/dist/esm/ix-event-list.entry.js +120 -0
- package/dist/esm/ix-event-list.entry.js.map +1 -0
- package/dist/esm/ix-expanding-search.entry.js +1 -1
- package/dist/esm/ix-expanding-search.entry.js.map +1 -1
- package/dist/esm/ix-filter-chip_2.entry.js +86 -0
- package/dist/esm/ix-filter-chip_2.entry.js.map +1 -0
- package/dist/esm/ix-flip-tile-content.entry.js +18 -0
- package/dist/esm/ix-flip-tile-content.entry.js.map +1 -0
- package/dist/esm/ix-flip-tile.entry.js +85 -0
- package/dist/esm/ix-flip-tile.entry.js.map +1 -0
- package/dist/esm/ix-form-field.entry.js +1 -1
- package/dist/esm/ix-form-field.entry.js.map +1 -1
- package/dist/esm/ix-group-context-menu_2.entry.js +74 -0
- package/dist/esm/ix-group-context-menu_2.entry.js.map +1 -0
- package/dist/esm/ix-group.entry.js +124 -0
- package/dist/esm/ix-group.entry.js.map +1 -0
- package/dist/esm/ix-icon-button_2.entry.js +92 -0
- package/dist/esm/ix-icon-button_2.entry.js.map +1 -0
- package/dist/esm/ix-icon-toggle-button.entry.js +2 -2
- package/dist/esm/ix-icon-toggle-button.entry.js.map +1 -1
- package/dist/esm/ix-icon.entry-5065bd80.js +1485 -0
- package/dist/esm/ix-icon.entry-5065bd80.js.map +1 -0
- package/dist/esm/ix-input-group.entry.js +19 -15
- package/dist/esm/ix-input-group.entry.js.map +1 -1
- package/dist/esm/ix-kpi.entry.js +2 -2
- package/dist/esm/ix-kpi.entry.js.map +1 -1
- package/dist/esm/ix-layout-grid.entry.js +25 -0
- package/dist/esm/ix-layout-grid.entry.js.map +1 -0
- package/dist/esm/ix-link-button.entry.js +1 -1
- package/dist/esm/ix-link-button.entry.js.map +1 -1
- package/dist/esm/ix-map-navigation-overlay.entry.js +58 -0
- package/dist/esm/ix-map-navigation-overlay.entry.js.map +1 -0
- package/dist/esm/ix-map-navigation.entry.js +170 -0
- package/dist/esm/ix-map-navigation.entry.js.map +1 -0
- package/dist/esm/ix-menu-about-item.entry.js +18 -0
- package/dist/esm/ix-menu-about-item.entry.js.map +1 -0
- package/dist/esm/ix-menu-about-news.entry.js +34 -0
- package/dist/esm/ix-menu-about-news.entry.js.map +1 -0
- package/dist/esm/ix-menu-about.entry.js +72 -0
- package/dist/esm/ix-menu-about.entry.js.map +1 -0
- package/dist/esm/ix-menu-avatar.entry.js +29 -0
- package/dist/esm/ix-menu-avatar.entry.js.map +1 -0
- package/dist/esm/ix-menu-category.entry.js +1 -1
- package/dist/esm/ix-menu-category.entry.js.map +1 -1
- package/dist/esm/ix-menu-item.entry.js +68 -0
- package/dist/esm/ix-menu-item.entry.js.map +1 -0
- package/dist/esm/ix-menu-settings-item.entry.js +18 -0
- package/dist/esm/ix-menu-settings-item.entry.js.map +1 -0
- package/dist/esm/ix-menu-settings.entry.js +60 -0
- package/dist/esm/ix-menu-settings.entry.js.map +1 -0
- package/dist/esm/ix-menu.entry.js +440 -0
- package/dist/esm/ix-menu.entry.js.map +1 -0
- package/dist/esm/ix-message-bar.entry.js +1 -1
- package/dist/esm/ix-message-bar.entry.js.map +1 -1
- package/dist/esm/ix-modal-example.entry.js +1 -1
- package/dist/esm/ix-modal-example.entry.js.map +1 -1
- package/dist/esm/ix-modal.entry.js +4 -3
- package/dist/esm/ix-modal.entry.js.map +1 -1
- 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 +1 -1
- package/dist/esm/ix-pill.entry.js.map +1 -1
- package/dist/esm/ix-push-card.entry.js +2 -2
- package/dist/esm/ix-push-card.entry.js.map +1 -1
- package/dist/esm/ix-row.entry.js +1 -1
- package/dist/esm/ix-row.entry.js.map +1 -1
- package/dist/esm/ix-select.entry.js +337 -0
- package/dist/esm/ix-select.entry.js.map +1 -0
- package/dist/esm/ix-slider.entry.js +147 -0
- package/dist/esm/ix-slider.entry.js.map +1 -0
- package/dist/esm/ix-split-button-item.entry.js +24 -0
- package/dist/esm/ix-split-button-item.entry.js.map +1 -0
- package/dist/esm/ix-split-button.entry.js +45 -0
- package/dist/esm/ix-split-button.entry.js.map +1 -0
- package/dist/esm/ix-tab-item_2.entry.js +258 -0
- package/dist/esm/ix-tab-item_2.entry.js.map +1 -0
- package/dist/esm/ix-toast-container.entry.js +83 -0
- package/dist/esm/ix-toast-container.entry.js.map +1 -0
- package/dist/esm/ix-toast.entry.js +69 -0
- package/dist/esm/ix-toast.entry.js.map +1 -0
- package/dist/esm/ix-toggle-button.entry.js +1 -1
- package/dist/esm/ix-toggle.entry.js +1 -1
- package/dist/esm/ix-tooltip.entry.js +21 -7
- package/dist/esm/ix-tooltip.entry.js.map +1 -1
- package/dist/esm/ix-tree-item.entry.js +32 -0
- package/dist/esm/ix-tree-item.entry.js.map +1 -0
- package/dist/esm/ix-tree.entry.js +698 -0
- package/dist/esm/ix-tree.entry.js.map +1 -0
- package/dist/esm/ix-validation-tooltip.entry.js +2 -2
- package/dist/esm/ix-validation-tooltip.entry.js.map +1 -1
- package/dist/esm/ix-workflow-step.entry.js +93 -0
- package/dist/esm/ix-workflow-step.entry.js.map +1 -0
- package/dist/esm/ix-workflow-steps.entry.js +77 -0
- package/dist/esm/ix-workflow-steps.entry.js.map +1 -0
- package/dist/esm/loader.js +3 -1
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/menu-service-5555b4fa.js +156 -0
- package/dist/esm/menu-service-5555b4fa.js.map +1 -0
- package/dist/esm/shadow-dom-b9df3d9b.js.map +1 -1
- package/dist/esm/siemens-ix.js +3 -1
- package/dist/esm/siemens-ix.js.map +1 -1
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/index.esm.js.map +1 -1
- package/dist/siemens-ix/p-0169cf74.entry.js +2 -0
- package/dist/siemens-ix/p-0169cf74.entry.js.map +1 -0
- package/dist/siemens-ix/p-04eeba9e.js.map +1 -1
- package/dist/siemens-ix/p-05e9397f.entry.js +2 -0
- package/dist/siemens-ix/p-05e9397f.entry.js.map +1 -0
- package/dist/siemens-ix/p-0ebc6c4d.entry.js +2 -0
- package/dist/siemens-ix/p-0ebc6c4d.entry.js.map +1 -0
- package/dist/siemens-ix/p-0fd2388f.entry.js +2 -0
- package/dist/siemens-ix/p-0fd2388f.entry.js.map +1 -0
- package/dist/siemens-ix/p-124d83b5.entry.js +2 -0
- package/dist/siemens-ix/p-124d83b5.entry.js.map +1 -0
- package/dist/siemens-ix/p-129b6290.entry.js +2 -0
- package/dist/siemens-ix/p-129b6290.entry.js.map +1 -0
- package/dist/siemens-ix/p-167c037c.entry.js +2 -0
- package/dist/siemens-ix/p-167c037c.entry.js.map +1 -0
- package/dist/siemens-ix/p-20e12c7e.js +2 -0
- package/dist/siemens-ix/p-20e12c7e.js.map +1 -0
- package/dist/siemens-ix/p-2baebeee.entry.js +2 -0
- package/dist/siemens-ix/p-2baebeee.entry.js.map +1 -0
- package/dist/siemens-ix/p-2e75f0e4.entry.js +2 -0
- package/dist/siemens-ix/p-2e75f0e4.entry.js.map +1 -0
- package/dist/siemens-ix/p-3103917f.entry.js +2 -0
- package/dist/siemens-ix/p-3103917f.entry.js.map +1 -0
- package/dist/siemens-ix/p-314f344d.entry.js +2 -0
- package/dist/siemens-ix/p-314f344d.entry.js.map +1 -0
- package/dist/siemens-ix/p-3ab30153.entry.js +2 -0
- package/dist/siemens-ix/p-3ab30153.entry.js.map +1 -0
- package/dist/siemens-ix/p-3e7b4990.js +2 -0
- package/dist/siemens-ix/p-4796a3ae.entry.js +2 -0
- package/dist/siemens-ix/p-4796a3ae.entry.js.map +1 -0
- package/dist/siemens-ix/p-4968df15.entry.js +2 -0
- package/dist/siemens-ix/p-4968df15.entry.js.map +1 -0
- package/dist/siemens-ix/p-5056c8a9.entry.js +2 -0
- package/dist/siemens-ix/p-5056c8a9.entry.js.map +1 -0
- package/dist/siemens-ix/p-5285864c.entry.js +2 -0
- package/dist/siemens-ix/p-5285864c.entry.js.map +1 -0
- package/dist/siemens-ix/p-5516480a.entry.js +2 -0
- package/dist/siemens-ix/p-5516480a.entry.js.map +1 -0
- package/dist/siemens-ix/p-57fd45e2.entry.js +2 -0
- package/dist/siemens-ix/p-57fd45e2.entry.js.map +1 -0
- package/dist/siemens-ix/p-5a5e155c.entry.js +2 -0
- package/dist/siemens-ix/p-5a5e155c.entry.js.map +1 -0
- package/dist/siemens-ix/p-5d132cc5.entry.js.map +1 -1
- package/dist/siemens-ix/p-5d17102b.entry.js +2 -0
- package/dist/siemens-ix/p-5d17102b.entry.js.map +1 -0
- package/dist/siemens-ix/p-5d172daa.js +2 -0
- package/dist/siemens-ix/p-5d43cae8.js +22 -0
- package/dist/siemens-ix/p-5d43cae8.js.map +1 -0
- package/dist/siemens-ix/p-61ffc6e1.entry.js.map +1 -1
- package/dist/siemens-ix/p-62fb5c19.entry.js +2 -0
- package/dist/siemens-ix/p-62fb5c19.entry.js.map +1 -0
- package/dist/siemens-ix/p-634da7f2.entry.js +2 -0
- package/dist/siemens-ix/p-634da7f2.entry.js.map +1 -0
- package/dist/siemens-ix/p-6370a04a.entry.js +2 -0
- package/dist/siemens-ix/p-6370a04a.entry.js.map +1 -0
- package/dist/siemens-ix/p-66d7fbd9.entry.js +2 -0
- package/dist/siemens-ix/p-66d7fbd9.entry.js.map +1 -0
- package/dist/siemens-ix/p-6ae65cac.entry.js +2 -0
- package/dist/siemens-ix/p-6ae65cac.entry.js.map +1 -0
- package/dist/siemens-ix/p-74a7d191.entry.js +2 -0
- package/dist/siemens-ix/p-74a7d191.entry.js.map +1 -0
- package/dist/siemens-ix/p-7712c4a9.entry.js +2 -0
- package/dist/siemens-ix/p-7712c4a9.entry.js.map +1 -0
- package/dist/siemens-ix/p-774eca79.entry.js +2 -0
- package/dist/siemens-ix/p-774eca79.entry.js.map +1 -0
- package/dist/siemens-ix/p-77b14ca1.entry.js +2 -0
- package/dist/siemens-ix/p-7865aa63.entry.js +2 -0
- package/dist/siemens-ix/p-7865aa63.entry.js.map +1 -0
- package/dist/siemens-ix/p-78c9489b.js +2 -0
- package/dist/siemens-ix/p-78c9489b.js.map +1 -0
- package/dist/siemens-ix/p-794769ed.entry.js +2 -0
- package/dist/siemens-ix/p-794769ed.entry.js.map +1 -0
- package/dist/siemens-ix/p-7a884056.entry.js.map +1 -1
- package/dist/siemens-ix/p-7b362f58.entry.js +2 -0
- package/dist/siemens-ix/p-7b362f58.entry.js.map +1 -0
- package/dist/siemens-ix/p-80871c9a.entry.js +2 -0
- package/dist/siemens-ix/p-80871c9a.entry.js.map +1 -0
- package/dist/siemens-ix/p-812b01d1.js +2 -0
- package/dist/siemens-ix/p-812b01d1.js.map +1 -0
- package/dist/siemens-ix/p-847da072.entry.js +2 -0
- package/dist/siemens-ix/p-847da072.entry.js.map +1 -0
- package/dist/siemens-ix/p-8952f1cd.entry.js +2 -0
- package/dist/siemens-ix/p-8952f1cd.entry.js.map +1 -0
- package/dist/siemens-ix/p-8c5f7419.entry.js +2 -0
- package/dist/siemens-ix/p-8c5f7419.entry.js.map +1 -0
- package/dist/siemens-ix/p-8fdf4407.entry.js +2 -0
- package/dist/siemens-ix/p-8fdf4407.entry.js.map +1 -0
- package/dist/siemens-ix/p-90efad65.entry.js +2 -0
- package/dist/siemens-ix/p-90efad65.entry.js.map +1 -0
- package/dist/siemens-ix/p-9848e4de.entry.js.map +1 -1
- package/dist/siemens-ix/p-9cd93c03.js +2 -0
- package/dist/siemens-ix/p-9cd93c03.js.map +1 -0
- package/dist/siemens-ix/p-9e0af149.entry.js +2 -0
- package/dist/siemens-ix/p-9e0af149.entry.js.map +1 -0
- package/dist/siemens-ix/p-ada4a328.entry.js +2 -0
- package/dist/siemens-ix/p-ada4a328.entry.js.map +1 -0
- package/dist/siemens-ix/p-aef14f96.entry.js +2 -0
- package/dist/siemens-ix/p-aef14f96.entry.js.map +1 -0
- package/dist/siemens-ix/p-b007e4b4.entry.js.map +1 -1
- package/dist/siemens-ix/p-b49627fa.js +4 -0
- package/dist/siemens-ix/p-b49627fa.js.map +1 -0
- package/dist/siemens-ix/p-b53bed3a.entry.js +2 -0
- package/dist/siemens-ix/p-b6d40648.entry.js +2 -0
- package/dist/siemens-ix/p-b6d40648.entry.js.map +1 -0
- package/dist/siemens-ix/p-b803c716.entry.js +2 -0
- package/dist/siemens-ix/p-b803c716.entry.js.map +1 -0
- package/dist/siemens-ix/p-b94ab301.entry.js +2 -0
- package/dist/siemens-ix/p-b94ab301.entry.js.map +1 -0
- package/dist/siemens-ix/p-bc811c4b.js +2 -0
- package/dist/siemens-ix/p-bc811c4b.js.map +1 -0
- package/dist/siemens-ix/p-c4216f17.entry.js +2 -0
- package/dist/siemens-ix/p-c4216f17.entry.js.map +1 -0
- package/dist/siemens-ix/p-c7d24831.entry.js +2 -0
- package/dist/siemens-ix/p-c7d24831.entry.js.map +1 -0
- package/dist/siemens-ix/p-cd1e0061.entry.js.map +1 -1
- package/dist/siemens-ix/p-d16a4670.entry.js +2 -0
- package/dist/siemens-ix/p-d16a4670.entry.js.map +1 -0
- package/dist/siemens-ix/p-d78cd3f4.entry.js +2 -0
- package/dist/siemens-ix/p-d78cd3f4.entry.js.map +1 -0
- package/dist/siemens-ix/p-d7e974a8.entry.js +2 -0
- package/dist/siemens-ix/p-d7e974a8.entry.js.map +1 -0
- package/dist/siemens-ix/p-d87de06f.entry.js.map +1 -1
- package/dist/siemens-ix/p-d9c99b88.entry.js +2 -0
- package/dist/siemens-ix/p-d9c99b88.entry.js.map +1 -0
- package/dist/siemens-ix/p-da133606.entry.js.map +1 -1
- package/dist/siemens-ix/p-dcb957d8.entry.js +2 -0
- package/dist/siemens-ix/p-dcb957d8.entry.js.map +1 -0
- package/dist/siemens-ix/p-dd2fb887.entry.js +2 -0
- package/dist/siemens-ix/p-dd2fb887.entry.js.map +1 -0
- package/dist/siemens-ix/p-e5beabf4.entry.js +2 -0
- package/dist/siemens-ix/p-e5beabf4.entry.js.map +1 -0
- package/dist/siemens-ix/p-f63b47c1.entry.js +2 -0
- package/dist/siemens-ix/p-f63b47c1.entry.js.map +1 -0
- package/dist/siemens-ix/p-f7b95fd7.entry.js +2 -0
- package/dist/siemens-ix/p-f7b95fd7.entry.js.map +1 -0
- package/dist/siemens-ix/p-f97f2394.entry.js +2 -0
- package/dist/siemens-ix/p-fa0d5f4e.entry.js +2 -0
- package/dist/siemens-ix/p-fa0d5f4e.entry.js.map +1 -0
- package/dist/siemens-ix/p-fba61526.entry.js +2 -0
- package/dist/siemens-ix/p-fba61526.entry.js.map +1 -0
- package/dist/siemens-ix/p-fd08b7ad.entry.js +2 -0
- package/dist/siemens-ix/p-fd08b7ad.entry.js.map +1 -0
- package/dist/siemens-ix/p-fd6006d2.entry.js +2 -0
- package/dist/siemens-ix/p-fd6006d2.entry.js.map +1 -0
- package/dist/siemens-ix/siemens-ix-core.css +1 -1
- package/dist/siemens-ix/siemens-ix.css +259 -1
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
- package/dist/types/components/blind/blind.d.ts +8 -1
- package/dist/types/components/card/card.d.ts +1 -1
- package/dist/types/components/chip/chip.d.ts +1 -7
- package/dist/types/components/dropdown/dropdown.d.ts +4 -2
- package/dist/types/components/dropdown/test/dropdown.ct.d.ts +1 -0
- package/dist/types/components/dropdown-button/dropdown-button.d.ts +0 -5
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -9
- package/dist/types/components/event-list-item/event-list-item.d.ts +0 -7
- package/dist/types/components/grid/layout-grid.d.ts +18 -0
- package/dist/types/components/menu-item/menu-item.d.ts +1 -1
- package/dist/types/components/modal/modal.d.ts +1 -1
- package/dist/types/components/pagination/test/pagination.ct.d.ts +1 -0
- package/dist/types/components/select/select.d.ts +1 -1
- package/dist/types/components/slider/slider.d.ts +70 -0
- package/dist/types/components/slider/test/slider.ct.d.ts +1 -0
- package/dist/types/components/split-button/split-button.d.ts +0 -1
- package/dist/types/components/split-button-item/split-button-item.d.ts +3 -0
- package/dist/types/components/tabs/tabs.d.ts +1 -0
- package/dist/types/components/tooltip/tooltip.d.ts +8 -2
- package/dist/types/components/utils/a11y.d.ts +1 -1
- package/dist/types/components/utils/breakpoints.d.ts +3 -3
- package/dist/types/components/utils/shadow-dom.d.ts +1 -0
- package/dist/types/components.d.ts +188 -84
- package/dist/types/index.d.ts +0 -1
- package/dist/types/setup.d.ts +1 -0
- package/dist/types/tests/utils/test/index.d.ts +14 -0
- package/package.json +5 -3
- package/scss/_core.scss +1 -0
- package/scss/components/_radiobuttons.scss +1 -1
- package/scss/components/form/_input.scss +18 -2
- package/scss/mixins/_break-points.scss +30 -6
- package/dist/cjs/_commonjsHelpers-1a0c346f.js +0 -25
- package/dist/cjs/_commonjsHelpers-1a0c346f.js.map +0 -1
- package/dist/cjs/a11y-fa9abd92.js +0 -82
- package/dist/cjs/a11y-fa9abd92.js.map +0 -1
- package/dist/cjs/breakpoints-e19e827e.js +0 -27
- package/dist/cjs/breakpoints-e19e827e.js.map +0 -1
- package/dist/cjs/icon-9e9f2faf.js +0 -114
- package/dist/cjs/icon-9e9f2faf.js.map +0 -1
- package/dist/cjs/index-1061a1c1.js +0 -8
- package/dist/cjs/index-1061a1c1.js.map +0 -1
- package/dist/cjs/ix-avatar.cjs.entry.js +0 -39
- package/dist/cjs/ix-avatar.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +0 -164
- package/dist/cjs/ix-breadcrumb_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +0 -359
- package/dist/cjs/ix-dropdown_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-event-list_2.cjs.entry.js +0 -159
- package/dist/cjs/ix-event-list_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-filter-chip.cjs.entry.js +0 -30
- package/dist/cjs/ix-filter-chip.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js +0 -103
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-grid.cjs.entry.js +0 -29
- package/dist/cjs/ix-grid.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-group-context-menu.cjs.entry.js +0 -48
- package/dist/cjs/ix-group-context-menu.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-group_2.cjs.entry.js +0 -159
- package/dist/cjs/ix-group_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-icon-button.cjs.entry.js +0 -72
- package/dist/cjs/ix-icon-button.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-icon.cjs.entry.js +0 -12
- package/dist/cjs/ix-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js +0 -227
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-menu_9.cjs.entry.js +0 -732
- package/dist/cjs/ix-menu_9.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-select_2.cjs.entry.js +0 -389
- package/dist/cjs/ix-select_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-spinner.cjs.entry.js +0 -33
- package/dist/cjs/ix-spinner.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-split-button_2.cjs.entry.js +0 -72
- package/dist/cjs/ix-split-button_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-tab-item.cjs.entry.js +0 -67
- package/dist/cjs/ix-tab-item.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-tabs.cjs.entry.js +0 -204
- package/dist/cjs/ix-tabs.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-toast_2.cjs.entry.js +0 -143
- package/dist/cjs/ix-toast_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-tree_2.cjs.entry.js +0 -730
- package/dist/cjs/ix-tree_2.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-workflow-step_2.cjs.entry.js +0 -170
- package/dist/cjs/ix-workflow-step_2.cjs.entry.js.map +0 -1
- package/dist/cjs/menu-service-f7ef5265.js +0 -159
- package/dist/cjs/menu-service-f7ef5265.js.map +0 -1
- package/dist/collection/components/grid/grid.css +0 -26
- package/dist/collection/components/grid/grid.js +0 -98
- package/dist/collection/components/grid/grid.js.map +0 -1
- package/dist/components/_commonjsHelpers.js +0 -21
- package/dist/components/_commonjsHelpers.js.map +0 -1
- package/dist/components/a11y.js +0 -79
- package/dist/components/a11y.js.map +0 -1
- package/dist/components/animation.js +0 -19
- package/dist/components/animation.js.map +0 -1
- package/dist/components/anime.es.js +0 -1311
- package/dist/components/anime.es.js.map +0 -1
- package/dist/components/application-header.js +0 -101
- package/dist/components/application-header.js.map +0 -1
- package/dist/components/avatar.js +0 -53
- package/dist/components/avatar.js.map +0 -1
- package/dist/components/base-button.js +0 -47
- package/dist/components/base-button.js.map +0 -1
- package/dist/components/base-icon-button.js +0 -18
- package/dist/components/base-icon-button.js.map +0 -1
- package/dist/components/breadcrumb-item.js +0 -99
- package/dist/components/breadcrumb-item.js.map +0 -1
- package/dist/components/breakpoints.js +0 -25
- package/dist/components/breakpoints.js.map +0 -1
- package/dist/components/burger-menu.js +0 -61
- package/dist/components/burger-menu.js.map +0 -1
- package/dist/components/button.js +0 -97
- package/dist/components/button.js.map +0 -1
- package/dist/components/card-accordion.js +0 -80
- package/dist/components/card-accordion.js.map +0 -1
- package/dist/components/card-content.js +0 -32
- package/dist/components/card-content.js.map +0 -1
- package/dist/components/card-title.js +0 -32
- package/dist/components/card-title.js.map +0 -1
- package/dist/components/card.js +0 -36
- package/dist/components/card.js.map +0 -1
- package/dist/components/context.js +0 -101
- package/dist/components/context.js.map +0 -1
- package/dist/components/date-picker.js +0 -378
- package/dist/components/date-picker.js.map +0 -1
- package/dist/components/date-time-card.js +0 -45
- package/dist/components/date-time-card.js.map +0 -1
- package/dist/components/default-tree-item.js +0 -22
- package/dist/components/default-tree-item.js.map +0 -1
- package/dist/components/divider.js +0 -32
- package/dist/components/divider.js.map +0 -1
- package/dist/components/dropdown-item.js +0 -76
- package/dist/components/dropdown-item.js.map +0 -1
- package/dist/components/dropdown.js +0 -341
- package/dist/components/dropdown.js.map +0 -1
- package/dist/components/filter-chip.js +0 -62
- package/dist/components/filter-chip.js.map +0 -1
- package/dist/components/flip-tile-state.js +0 -20
- package/dist/components/flip-tile-state.js.map +0 -1
- package/dist/components/floating-ui.dom.esm.js +0 -1512
- package/dist/components/floating-ui.dom.esm.js.map +0 -1
- package/dist/components/group-context-menu.js +0 -79
- package/dist/components/group-context-menu.js.map +0 -1
- package/dist/components/group-item.js +0 -64
- package/dist/components/group-item.js.map +0 -1
- package/dist/components/icon-button.js +0 -105
- package/dist/components/icon-button.js.map +0 -1
- package/dist/components/icon.js +0 -133
- package/dist/components/icon.js.map +0 -1
- package/dist/components/index.d.ts +0 -27
- package/dist/components/index.js +0 -101
- package/dist/components/index.js.map +0 -1
- package/dist/components/index2.js +0 -6
- package/dist/components/index2.js.map +0 -1
- package/dist/components/ix-action-card.d.ts +0 -11
- package/dist/components/ix-action-card.js +0 -72
- package/dist/components/ix-action-card.js.map +0 -1
- package/dist/components/ix-application-header.d.ts +0 -11
- package/dist/components/ix-application-header.js +0 -8
- package/dist/components/ix-application-header.js.map +0 -1
- package/dist/components/ix-application-sidebar.d.ts +0 -11
- package/dist/components/ix-application-sidebar.js +0 -63
- package/dist/components/ix-application-sidebar.js.map +0 -1
- package/dist/components/ix-application.d.ts +0 -11
- package/dist/components/ix-application.js +0 -128
- package/dist/components/ix-application.js.map +0 -1
- package/dist/components/ix-avatar.d.ts +0 -11
- package/dist/components/ix-avatar.js +0 -8
- package/dist/components/ix-avatar.js.map +0 -1
- package/dist/components/ix-basic-navigation.d.ts +0 -11
- package/dist/components/ix-basic-navigation.js +0 -138
- package/dist/components/ix-basic-navigation.js.map +0 -1
- package/dist/components/ix-blind.d.ts +0 -11
- package/dist/components/ix-blind.js +0 -125
- package/dist/components/ix-blind.js.map +0 -1
- package/dist/components/ix-breadcrumb-item.d.ts +0 -11
- package/dist/components/ix-breadcrumb-item.js +0 -8
- package/dist/components/ix-breadcrumb-item.js.map +0 -1
- package/dist/components/ix-breadcrumb.d.ts +0 -11
- package/dist/components/ix-breadcrumb.js +0 -157
- package/dist/components/ix-breadcrumb.js.map +0 -1
- package/dist/components/ix-burger-menu.d.ts +0 -11
- package/dist/components/ix-burger-menu.js +0 -8
- package/dist/components/ix-burger-menu.js.map +0 -1
- package/dist/components/ix-button.d.ts +0 -11
- package/dist/components/ix-button.js +0 -8
- package/dist/components/ix-button.js.map +0 -1
- package/dist/components/ix-card-accordion.d.ts +0 -11
- package/dist/components/ix-card-accordion.js +0 -8
- package/dist/components/ix-card-accordion.js.map +0 -1
- package/dist/components/ix-card-content.d.ts +0 -11
- package/dist/components/ix-card-content.js +0 -8
- package/dist/components/ix-card-content.js.map +0 -1
- package/dist/components/ix-card-list.d.ts +0 -11
- package/dist/components/ix-card-list.js +0 -234
- package/dist/components/ix-card-list.js.map +0 -1
- package/dist/components/ix-card-title.d.ts +0 -11
- package/dist/components/ix-card-title.js +0 -8
- package/dist/components/ix-card-title.js.map +0 -1
- package/dist/components/ix-card.d.ts +0 -11
- package/dist/components/ix-card.js +0 -8
- package/dist/components/ix-card.js.map +0 -1
- package/dist/components/ix-category-filter.d.ts +0 -11
- package/dist/components/ix-category-filter.js +0 -470
- package/dist/components/ix-category-filter.js.map +0 -1
- package/dist/components/ix-chip.d.ts +0 -11
- package/dist/components/ix-chip.js +0 -106
- package/dist/components/ix-chip.js.map +0 -1
- package/dist/components/ix-col.d.ts +0 -11
- package/dist/components/ix-col.js +0 -96
- package/dist/components/ix-col.js.map +0 -1
- package/dist/components/ix-content-header.d.ts +0 -11
- package/dist/components/ix-content-header.js +0 -69
- package/dist/components/ix-content-header.js.map +0 -1
- package/dist/components/ix-content.d.ts +0 -11
- package/dist/components/ix-content.js +0 -48
- package/dist/components/ix-content.js.map +0 -1
- package/dist/components/ix-css-grid-item.d.ts +0 -11
- package/dist/components/ix-css-grid-item.js +0 -40
- package/dist/components/ix-css-grid-item.js.map +0 -1
- package/dist/components/ix-css-grid.d.ts +0 -11
- package/dist/components/ix-css-grid.js +0 -113
- package/dist/components/ix-css-grid.js.map +0 -1
- package/dist/components/ix-date-picker.d.ts +0 -11
- package/dist/components/ix-date-picker.js +0 -8
- package/dist/components/ix-date-picker.js.map +0 -1
- package/dist/components/ix-date-time-card.d.ts +0 -11
- package/dist/components/ix-date-time-card.js +0 -8
- package/dist/components/ix-date-time-card.js.map +0 -1
- package/dist/components/ix-datetime-picker.d.ts +0 -11
- package/dist/components/ix-datetime-picker.js +0 -155
- package/dist/components/ix-datetime-picker.js.map +0 -1
- package/dist/components/ix-divider.d.ts +0 -11
- package/dist/components/ix-divider.js +0 -8
- package/dist/components/ix-divider.js.map +0 -1
- package/dist/components/ix-drawer.d.ts +0 -11
- package/dist/components/ix-drawer.js +0 -151
- package/dist/components/ix-drawer.js.map +0 -1
- package/dist/components/ix-dropdown-button.d.ts +0 -11
- package/dist/components/ix-dropdown-button.js +0 -100
- package/dist/components/ix-dropdown-button.js.map +0 -1
- package/dist/components/ix-dropdown-header.d.ts +0 -11
- package/dist/components/ix-dropdown-header.js +0 -44
- package/dist/components/ix-dropdown-header.js.map +0 -1
- package/dist/components/ix-dropdown-item.d.ts +0 -11
- package/dist/components/ix-dropdown-item.js +0 -8
- package/dist/components/ix-dropdown-item.js.map +0 -1
- package/dist/components/ix-dropdown-quick-actions.d.ts +0 -11
- package/dist/components/ix-dropdown-quick-actions.js +0 -35
- package/dist/components/ix-dropdown-quick-actions.js.map +0 -1
- package/dist/components/ix-dropdown.d.ts +0 -11
- package/dist/components/ix-dropdown.js +0 -8
- package/dist/components/ix-dropdown.js.map +0 -1
- package/dist/components/ix-empty-state.d.ts +0 -11
- package/dist/components/ix-empty-state.js +0 -71
- package/dist/components/ix-empty-state.js.map +0 -1
- package/dist/components/ix-event-list-item.d.ts +0 -11
- package/dist/components/ix-event-list-item.js +0 -69
- package/dist/components/ix-event-list-item.js.map +0 -1
- package/dist/components/ix-event-list.d.ts +0 -11
- package/dist/components/ix-event-list.js +0 -143
- package/dist/components/ix-event-list.js.map +0 -1
- package/dist/components/ix-expanding-search.d.ts +0 -11
- package/dist/components/ix-expanding-search.js +0 -125
- package/dist/components/ix-expanding-search.js.map +0 -1
- package/dist/components/ix-filter-chip.d.ts +0 -11
- package/dist/components/ix-filter-chip.js +0 -8
- package/dist/components/ix-filter-chip.js.map +0 -1
- package/dist/components/ix-flip-tile-content.d.ts +0 -11
- package/dist/components/ix-flip-tile-content.js +0 -38
- package/dist/components/ix-flip-tile-content.js.map +0 -1
- package/dist/components/ix-flip-tile.d.ts +0 -11
- package/dist/components/ix-flip-tile.js +0 -127
- package/dist/components/ix-flip-tile.js.map +0 -1
- package/dist/components/ix-form-field.d.ts +0 -11
- package/dist/components/ix-form-field.js +0 -43
- package/dist/components/ix-form-field.js.map +0 -1
- package/dist/components/ix-grid.d.ts +0 -11
- package/dist/components/ix-grid.js +0 -47
- package/dist/components/ix-grid.js.map +0 -1
- package/dist/components/ix-group-context-menu.d.ts +0 -11
- package/dist/components/ix-group-context-menu.js +0 -8
- package/dist/components/ix-group-context-menu.js.map +0 -1
- package/dist/components/ix-group-item.d.ts +0 -11
- package/dist/components/ix-group-item.js +0 -8
- package/dist/components/ix-group-item.js.map +0 -1
- package/dist/components/ix-group.d.ts +0 -11
- package/dist/components/ix-group.js +0 -184
- package/dist/components/ix-group.js.map +0 -1
- package/dist/components/ix-icon-button.d.ts +0 -11
- package/dist/components/ix-icon-button.js +0 -8
- package/dist/components/ix-icon-button.js.map +0 -1
- package/dist/components/ix-icon-toggle-button.d.ts +0 -11
- package/dist/components/ix-icon-toggle-button.js +0 -122
- package/dist/components/ix-icon-toggle-button.js.map +0 -1
- package/dist/components/ix-icon.js +0 -8
- package/dist/components/ix-icon.js.map +0 -1
- package/dist/components/ix-input-group.d.ts +0 -11
- package/dist/components/ix-input-group.js +0 -126
- package/dist/components/ix-input-group.js.map +0 -1
- package/dist/components/ix-key-value-list.d.ts +0 -11
- package/dist/components/ix-key-value-list.js +0 -38
- package/dist/components/ix-key-value-list.js.map +0 -1
- package/dist/components/ix-key-value.d.ts +0 -11
- package/dist/components/ix-key-value.js +0 -53
- package/dist/components/ix-key-value.js.map +0 -1
- package/dist/components/ix-kpi.d.ts +0 -11
- package/dist/components/ix-kpi.js +0 -75
- package/dist/components/ix-kpi.js.map +0 -1
- package/dist/components/ix-link-button.d.ts +0 -11
- package/dist/components/ix-link-button.js +0 -54
- package/dist/components/ix-link-button.js.map +0 -1
- package/dist/components/ix-map-navigation-overlay.d.ts +0 -11
- package/dist/components/ix-map-navigation-overlay.js +0 -8
- package/dist/components/ix-map-navigation-overlay.js.map +0 -1
- package/dist/components/ix-map-navigation.d.ts +0 -11
- package/dist/components/ix-map-navigation.js +0 -232
- package/dist/components/ix-map-navigation.js.map +0 -1
- package/dist/components/ix-menu-about-item.d.ts +0 -11
- package/dist/components/ix-menu-about-item.js +0 -38
- package/dist/components/ix-menu-about-item.js.map +0 -1
- package/dist/components/ix-menu-about-news.d.ts +0 -11
- package/dist/components/ix-menu-about-news.js +0 -89
- package/dist/components/ix-menu-about-news.js.map +0 -1
- package/dist/components/ix-menu-about.d.ts +0 -11
- package/dist/components/ix-menu-about.js +0 -125
- package/dist/components/ix-menu-about.js.map +0 -1
- package/dist/components/ix-menu-avatar-item.d.ts +0 -11
- package/dist/components/ix-menu-avatar-item.js +0 -8
- package/dist/components/ix-menu-avatar-item.js.map +0 -1
- package/dist/components/ix-menu-avatar.d.ts +0 -11
- package/dist/components/ix-menu-avatar.js +0 -83
- package/dist/components/ix-menu-avatar.js.map +0 -1
- package/dist/components/ix-menu-category.d.ts +0 -11
- package/dist/components/ix-menu-category.js +0 -196
- package/dist/components/ix-menu-category.js.map +0 -1
- package/dist/components/ix-menu-item.d.ts +0 -11
- package/dist/components/ix-menu-item.js +0 -8
- package/dist/components/ix-menu-item.js.map +0 -1
- package/dist/components/ix-menu-settings-item.d.ts +0 -11
- package/dist/components/ix-menu-settings-item.js +0 -38
- package/dist/components/ix-menu-settings-item.js.map +0 -1
- package/dist/components/ix-menu-settings.d.ts +0 -11
- package/dist/components/ix-menu-settings.js +0 -112
- package/dist/components/ix-menu-settings.js.map +0 -1
- package/dist/components/ix-menu.d.ts +0 -11
- package/dist/components/ix-menu.js +0 -514
- package/dist/components/ix-menu.js.map +0 -1
- package/dist/components/ix-message-bar.d.ts +0 -11
- package/dist/components/ix-message-bar.js +0 -93
- package/dist/components/ix-message-bar.js.map +0 -1
- package/dist/components/ix-modal-content.d.ts +0 -11
- package/dist/components/ix-modal-content.js +0 -35
- package/dist/components/ix-modal-content.js.map +0 -1
- package/dist/components/ix-modal-example.d.ts +0 -11
- package/dist/components/ix-modal-example.js +0 -64
- package/dist/components/ix-modal-example.js.map +0 -1
- package/dist/components/ix-modal-footer.d.ts +0 -11
- package/dist/components/ix-modal-footer.js +0 -35
- package/dist/components/ix-modal-footer.js.map +0 -1
- package/dist/components/ix-modal-header.d.ts +0 -11
- package/dist/components/ix-modal-header.js +0 -90
- package/dist/components/ix-modal-header.js.map +0 -1
- package/dist/components/ix-modal-loading.d.ts +0 -11
- package/dist/components/ix-modal-loading.js +0 -41
- package/dist/components/ix-modal-loading.js.map +0 -1
- package/dist/components/ix-modal.d.ts +0 -11
- package/dist/components/ix-modal.js +0 -155
- package/dist/components/ix-modal.js.map +0 -1
- package/dist/components/ix-pagination.d.ts +0 -11
- package/dist/components/ix-pagination.js +0 -217
- package/dist/components/ix-pagination.js.map +0 -1
- package/dist/components/ix-pill.d.ts +0 -11
- package/dist/components/ix-pill.js +0 -84
- package/dist/components/ix-pill.js.map +0 -1
- package/dist/components/ix-push-card.d.ts +0 -11
- package/dist/components/ix-push-card.js +0 -86
- package/dist/components/ix-push-card.js.map +0 -1
- package/dist/components/ix-row.d.ts +0 -11
- package/dist/components/ix-row.js +0 -35
- package/dist/components/ix-row.js.map +0 -1
- package/dist/components/ix-select-item.d.ts +0 -11
- package/dist/components/ix-select-item.js +0 -8
- package/dist/components/ix-select-item.js.map +0 -1
- package/dist/components/ix-select.d.ts +0 -11
- package/dist/components/ix-select.js +0 -8
- package/dist/components/ix-select.js.map +0 -1
- package/dist/components/ix-spinner.d.ts +0 -11
- package/dist/components/ix-spinner.js +0 -8
- package/dist/components/ix-spinner.js.map +0 -1
- package/dist/components/ix-split-button-item.d.ts +0 -11
- package/dist/components/ix-split-button-item.js +0 -57
- package/dist/components/ix-split-button-item.js.map +0 -1
- package/dist/components/ix-split-button.d.ts +0 -11
- package/dist/components/ix-split-button.js +0 -106
- package/dist/components/ix-split-button.js.map +0 -1
- package/dist/components/ix-tab-item.d.ts +0 -11
- package/dist/components/ix-tab-item.js +0 -8
- package/dist/components/ix-tab-item.js.map +0 -1
- package/dist/components/ix-tabs.d.ts +0 -11
- package/dist/components/ix-tabs.js +0 -8
- package/dist/components/ix-tabs.js.map +0 -1
- package/dist/components/ix-tile.d.ts +0 -11
- package/dist/components/ix-tile.js +0 -59
- package/dist/components/ix-tile.js.map +0 -1
- package/dist/components/ix-time-picker.d.ts +0 -11
- package/dist/components/ix-time-picker.js +0 -8
- package/dist/components/ix-time-picker.js.map +0 -1
- package/dist/components/ix-toast-container.d.ts +0 -11
- package/dist/components/ix-toast-container.js +0 -121
- package/dist/components/ix-toast-container.js.map +0 -1
- package/dist/components/ix-toast.d.ts +0 -11
- package/dist/components/ix-toast.js +0 -8
- package/dist/components/ix-toast.js.map +0 -1
- package/dist/components/ix-toggle-button.d.ts +0 -11
- package/dist/components/ix-toggle-button.js +0 -111
- package/dist/components/ix-toggle-button.js.map +0 -1
- package/dist/components/ix-toggle.d.ts +0 -11
- package/dist/components/ix-toggle.js +0 -62
- package/dist/components/ix-toggle.js.map +0 -1
- package/dist/components/ix-tooltip.d.ts +0 -11
- package/dist/components/ix-tooltip.js +0 -183
- package/dist/components/ix-tooltip.js.map +0 -1
- package/dist/components/ix-tree-item.d.ts +0 -11
- package/dist/components/ix-tree-item.js +0 -8
- package/dist/components/ix-tree-item.js.map +0 -1
- package/dist/components/ix-tree.d.ts +0 -11
- package/dist/components/ix-tree.js +0 -733
- package/dist/components/ix-tree.js.map +0 -1
- package/dist/components/ix-typography.d.ts +0 -11
- package/dist/components/ix-typography.js +0 -8
- package/dist/components/ix-typography.js.map +0 -1
- package/dist/components/ix-upload.d.ts +0 -11
- package/dist/components/ix-upload.js +0 -153
- package/dist/components/ix-upload.js.map +0 -1
- package/dist/components/ix-validation-tooltip.d.ts +0 -11
- package/dist/components/ix-validation-tooltip.js +0 -170
- package/dist/components/ix-validation-tooltip.js.map +0 -1
- package/dist/components/ix-workflow-step.d.ts +0 -11
- package/dist/components/ix-workflow-step.js +0 -126
- package/dist/components/ix-workflow-step.js.map +0 -1
- package/dist/components/ix-workflow-steps.d.ts +0 -11
- package/dist/components/ix-workflow-steps.js +0 -99
- package/dist/components/ix-workflow-steps.js.map +0 -1
- package/dist/components/logical-filter-operator.js +0 -35
- package/dist/components/logical-filter-operator.js.map +0 -1
- package/dist/components/luxon.js +0 -7828
- package/dist/components/luxon.js.map +0 -1
- package/dist/components/map-navigation-overlay.js +0 -95
- package/dist/components/map-navigation-overlay.js.map +0 -1
- package/dist/components/menu-avatar-item.js +0 -51
- package/dist/components/menu-avatar-item.js.map +0 -1
- package/dist/components/menu-item.js +0 -98
- package/dist/components/menu-item.js.map +0 -1
- package/dist/components/menu-service.js +0 -156
- package/dist/components/menu-service.js.map +0 -1
- package/dist/components/modal.js +0 -245
- package/dist/components/modal.js.map +0 -1
- package/dist/components/mutation-observer.js +0 -13
- package/dist/components/mutation-observer.js.map +0 -1
- package/dist/components/my-component.d.ts +0 -11
- package/dist/components/my-component.js +0 -34
- package/dist/components/my-component.js.map +0 -1
- package/dist/components/rwd.util.js +0 -41
- package/dist/components/rwd.util.js.map +0 -1
- package/dist/components/select-item.js +0 -98
- package/dist/components/select-item.js.map +0 -1
- package/dist/components/select.js +0 -403
- package/dist/components/select.js.map +0 -1
- package/dist/components/shadow-dom.js +0 -21
- package/dist/components/shadow-dom.js.map +0 -1
- package/dist/components/spinner.js +0 -48
- package/dist/components/spinner.js.map +0 -1
- package/dist/components/tab-item.js +0 -87
- package/dist/components/tab-item.js.map +0 -1
- package/dist/components/tabs.js +0 -233
- package/dist/components/tabs.js.map +0 -1
- package/dist/components/theme-switcher.js +0 -123
- package/dist/components/theme-switcher.js.map +0 -1
- package/dist/components/time-picker.js +0 -258
- package/dist/components/time-picker.js.map +0 -1
- package/dist/components/toast.js +0 -111
- package/dist/components/toast.js.map +0 -1
- package/dist/components/tree-item.js +0 -57
- package/dist/components/tree-item.js.map +0 -1
- package/dist/components/typed-event.js +0 -46
- package/dist/components/typed-event.js.map +0 -1
- package/dist/components/typography.js +0 -76
- package/dist/components/typography.js.map +0 -1
- package/dist/components/upload-file-state.js +0 -19
- package/dist/components/upload-file-state.js.map +0 -1
- package/dist/esm/_commonjsHelpers-4bc7200a.js +0 -21
- package/dist/esm/_commonjsHelpers-4bc7200a.js.map +0 -1
- package/dist/esm/a11y-aa83c2d1.js +0 -79
- package/dist/esm/a11y-aa83c2d1.js.map +0 -1
- package/dist/esm/breakpoints-b8d59fd9.js +0 -25
- package/dist/esm/breakpoints-b8d59fd9.js.map +0 -1
- package/dist/esm/icon-f54a8bc4.js +0 -112
- package/dist/esm/icon-f54a8bc4.js.map +0 -1
- package/dist/esm/index-7b24b7fa.js +0 -6
- package/dist/esm/index-7b24b7fa.js.map +0 -1
- package/dist/esm/ix-avatar.entry.js +0 -35
- package/dist/esm/ix-avatar.entry.js.map +0 -1
- package/dist/esm/ix-breadcrumb_2.entry.js +0 -159
- package/dist/esm/ix-breadcrumb_2.entry.js.map +0 -1
- package/dist/esm/ix-dropdown_2.entry.js +0 -354
- package/dist/esm/ix-dropdown_2.entry.js.map +0 -1
- package/dist/esm/ix-event-list_2.entry.js +0 -154
- package/dist/esm/ix-event-list_2.entry.js.map +0 -1
- package/dist/esm/ix-filter-chip.entry.js +0 -26
- package/dist/esm/ix-filter-chip.entry.js.map +0 -1
- package/dist/esm/ix-flip-tile_2.entry.js +0 -98
- package/dist/esm/ix-flip-tile_2.entry.js.map +0 -1
- package/dist/esm/ix-grid.entry.js +0 -25
- package/dist/esm/ix-grid.entry.js.map +0 -1
- package/dist/esm/ix-group-context-menu.entry.js +0 -44
- package/dist/esm/ix-group-context-menu.entry.js.map +0 -1
- package/dist/esm/ix-group_2.entry.js +0 -154
- package/dist/esm/ix-group_2.entry.js.map +0 -1
- package/dist/esm/ix-icon-button.entry.js +0 -68
- package/dist/esm/ix-icon-button.entry.js.map +0 -1
- package/dist/esm/ix-icon.entry.js +0 -4
- package/dist/esm/ix-icon.entry.js.map +0 -1
- package/dist/esm/ix-map-navigation_2.entry.js +0 -222
- package/dist/esm/ix-map-navigation_2.entry.js.map +0 -1
- package/dist/esm/ix-menu_9.entry.js +0 -720
- package/dist/esm/ix-menu_9.entry.js.map +0 -1
- package/dist/esm/ix-select_2.entry.js +0 -384
- package/dist/esm/ix-select_2.entry.js.map +0 -1
- package/dist/esm/ix-spinner.entry.js +0 -29
- package/dist/esm/ix-spinner.entry.js.map +0 -1
- package/dist/esm/ix-split-button_2.entry.js +0 -67
- package/dist/esm/ix-split-button_2.entry.js.map +0 -1
- package/dist/esm/ix-tab-item.entry.js +0 -63
- package/dist/esm/ix-tab-item.entry.js.map +0 -1
- package/dist/esm/ix-tabs.entry.js +0 -200
- package/dist/esm/ix-tabs.entry.js.map +0 -1
- package/dist/esm/ix-toast_2.entry.js +0 -138
- package/dist/esm/ix-toast_2.entry.js.map +0 -1
- package/dist/esm/ix-tree_2.entry.js +0 -725
- package/dist/esm/ix-tree_2.entry.js.map +0 -1
- package/dist/esm/ix-workflow-step_2.entry.js +0 -165
- package/dist/esm/ix-workflow-step_2.entry.js.map +0 -1
- package/dist/esm/menu-service-12a09006.js +0 -156
- package/dist/esm/menu-service-12a09006.js.map +0 -1
- package/dist/siemens-ix/p-00616f87.entry.js +0 -2
- package/dist/siemens-ix/p-00616f87.entry.js.map +0 -1
- package/dist/siemens-ix/p-0b71cde4.js +0 -2
- package/dist/siemens-ix/p-0b71cde4.js.map +0 -1
- package/dist/siemens-ix/p-134b6bd5.js +0 -2
- package/dist/siemens-ix/p-134b6bd5.js.map +0 -1
- package/dist/siemens-ix/p-14621fbd.entry.js +0 -2
- package/dist/siemens-ix/p-14621fbd.entry.js.map +0 -1
- package/dist/siemens-ix/p-1b705d7b.js +0 -2
- package/dist/siemens-ix/p-1b705d7b.js.map +0 -1
- package/dist/siemens-ix/p-1fc8e513.entry.js +0 -2
- package/dist/siemens-ix/p-1fc8e513.entry.js.map +0 -1
- package/dist/siemens-ix/p-281fa225.entry.js +0 -2
- package/dist/siemens-ix/p-281fa225.entry.js.map +0 -1
- package/dist/siemens-ix/p-2a29e187.entry.js +0 -2
- package/dist/siemens-ix/p-2a29e187.entry.js.map +0 -1
- package/dist/siemens-ix/p-36c48f12.entry.js +0 -2
- package/dist/siemens-ix/p-36c48f12.entry.js.map +0 -1
- package/dist/siemens-ix/p-36f0b470.entry.js +0 -2
- package/dist/siemens-ix/p-36f0b470.entry.js.map +0 -1
- package/dist/siemens-ix/p-37417714.js +0 -2
- package/dist/siemens-ix/p-37dd62fc.entry.js +0 -2
- package/dist/siemens-ix/p-37dd62fc.entry.js.map +0 -1
- package/dist/siemens-ix/p-3983ee89.entry.js +0 -2
- package/dist/siemens-ix/p-3983ee89.entry.js.map +0 -1
- package/dist/siemens-ix/p-3dbeeecf.entry.js +0 -2
- package/dist/siemens-ix/p-3dbeeecf.entry.js.map +0 -1
- package/dist/siemens-ix/p-3eabf464.entry.js +0 -2
- package/dist/siemens-ix/p-3eabf464.entry.js.map +0 -1
- package/dist/siemens-ix/p-40ecc8be.entry.js +0 -2
- package/dist/siemens-ix/p-40ecc8be.entry.js.map +0 -1
- package/dist/siemens-ix/p-475d8732.entry.js +0 -2
- package/dist/siemens-ix/p-475d8732.entry.js.map +0 -1
- package/dist/siemens-ix/p-4f8954a7.entry.js +0 -2
- package/dist/siemens-ix/p-4f8954a7.entry.js.map +0 -1
- package/dist/siemens-ix/p-5017cf39.entry.js +0 -2
- package/dist/siemens-ix/p-5017cf39.entry.js.map +0 -1
- package/dist/siemens-ix/p-5029fd0f.entry.js +0 -2
- package/dist/siemens-ix/p-5029fd0f.entry.js.map +0 -1
- package/dist/siemens-ix/p-553ebcb1.entry.js +0 -2
- package/dist/siemens-ix/p-553ebcb1.entry.js.map +0 -1
- package/dist/siemens-ix/p-5650383d.entry.js +0 -2
- package/dist/siemens-ix/p-567f71a2.entry.js +0 -2
- package/dist/siemens-ix/p-567f71a2.entry.js.map +0 -1
- package/dist/siemens-ix/p-5e3f8c0b.entry.js +0 -2
- package/dist/siemens-ix/p-5e3f8c0b.entry.js.map +0 -1
- package/dist/siemens-ix/p-7918fd50.entry.js +0 -2
- package/dist/siemens-ix/p-7918fd50.entry.js.map +0 -1
- package/dist/siemens-ix/p-7b536489.entry.js +0 -2
- package/dist/siemens-ix/p-7b536489.entry.js.map +0 -1
- package/dist/siemens-ix/p-8c7d1e06.js +0 -2
- package/dist/siemens-ix/p-8c7d1e06.js.map +0 -1
- package/dist/siemens-ix/p-8e39298f.js +0 -2
- package/dist/siemens-ix/p-94ecb1af.entry.js +0 -2
- package/dist/siemens-ix/p-94ecb1af.entry.js.map +0 -1
- package/dist/siemens-ix/p-98b03a9b.entry.js +0 -2
- package/dist/siemens-ix/p-98b03a9b.entry.js.map +0 -1
- package/dist/siemens-ix/p-9b6075de.entry.js +0 -2
- package/dist/siemens-ix/p-9b6075de.entry.js.map +0 -1
- package/dist/siemens-ix/p-a0fdaa04.entry.js +0 -2
- package/dist/siemens-ix/p-a0fdaa04.entry.js.map +0 -1
- package/dist/siemens-ix/p-a18f1744.entry.js +0 -2
- package/dist/siemens-ix/p-a18f1744.entry.js.map +0 -1
- package/dist/siemens-ix/p-a3d6abfb.entry.js +0 -2
- package/dist/siemens-ix/p-a3d6abfb.entry.js.map +0 -1
- package/dist/siemens-ix/p-a5ae7bfa.entry.js +0 -2
- package/dist/siemens-ix/p-a5ae7bfa.entry.js.map +0 -1
- package/dist/siemens-ix/p-a6345f97.entry.js +0 -2
- package/dist/siemens-ix/p-a6345f97.entry.js.map +0 -1
- package/dist/siemens-ix/p-a8424ce3.entry.js +0 -2
- package/dist/siemens-ix/p-a8424ce3.entry.js.map +0 -1
- package/dist/siemens-ix/p-a85299c6.entry.js +0 -2
- package/dist/siemens-ix/p-a85299c6.entry.js.map +0 -1
- package/dist/siemens-ix/p-ab4bdb4e.entry.js +0 -2
- package/dist/siemens-ix/p-ab4bdb4e.entry.js.map +0 -1
- package/dist/siemens-ix/p-ac00ae47.entry.js +0 -2
- package/dist/siemens-ix/p-ac00ae47.entry.js.map +0 -1
- package/dist/siemens-ix/p-b38eff08.entry.js +0 -2
- package/dist/siemens-ix/p-b38eff08.entry.js.map +0 -1
- package/dist/siemens-ix/p-b45ca515.entry.js +0 -2
- package/dist/siemens-ix/p-b45ca515.entry.js.map +0 -1
- package/dist/siemens-ix/p-c1ac2d01.entry.js +0 -2
- package/dist/siemens-ix/p-c1ac2d01.entry.js.map +0 -1
- package/dist/siemens-ix/p-c1f5a59a.entry.js +0 -2
- package/dist/siemens-ix/p-c1f5a59a.entry.js.map +0 -1
- package/dist/siemens-ix/p-c75264af.entry.js +0 -2
- package/dist/siemens-ix/p-c75264af.entry.js.map +0 -1
- package/dist/siemens-ix/p-db174600.entry.js +0 -2
- package/dist/siemens-ix/p-db174600.entry.js.map +0 -1
- package/dist/siemens-ix/p-db2f237f.entry.js +0 -2
- package/dist/siemens-ix/p-db2f237f.entry.js.map +0 -1
- package/dist/siemens-ix/p-dc77f962.entry.js +0 -2
- package/dist/siemens-ix/p-de013166.entry.js +0 -2
- package/dist/siemens-ix/p-de013166.entry.js.map +0 -1
- package/dist/siemens-ix/p-eb3f1ef6.entry.js +0 -2
- package/dist/siemens-ix/p-eb3f1ef6.entry.js.map +0 -1
- package/dist/siemens-ix/p-f71da594.entry.js +0 -2
- package/dist/siemens-ix/p-f71da594.entry.js.map +0 -1
- package/dist/siemens-ix/p-f9b004ba.entry.js +0 -2
- package/dist/siemens-ix/p-f9b004ba.entry.js.map +0 -1
- package/dist/siemens-ix/p-f9d4ca13.entry.js +0 -2
- package/dist/types/components/grid/grid.d.ts +0 -18
- /package/dist/siemens-ix/{p-37417714.js.map → p-3e7b4990.js.map} +0 -0
- /package/dist/siemens-ix/{p-8e39298f.js.map → p-5d172daa.js.map} +0 -0
- /package/dist/siemens-ix/{p-dc77f962.entry.js.map → p-77b14ca1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5650383d.entry.js.map → p-b53bed3a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f9d4ca13.entry.js.map → p-f97f2394.entry.js.map} +0 -0
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { B as BaseButton } from './base-button.js';
|
|
3
|
-
import { a as a11yBoolean } from './a11y.js';
|
|
4
|
-
import { d as defineCustomElement$3 } from './icon.js';
|
|
5
|
-
import { d as defineCustomElement$2 } from './spinner.js';
|
|
6
|
-
|
|
7
|
-
const toggleButtonCss = ".btn{display:inline-flex;align-items:center;justify-content:center;height:2rem;font-size:0.875rem;font-weight:700;transition:150ms;padding:0 0.5rem;min-width:5rem;gap:0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn .glyph{margin-right:0.25rem;font-weight:400}.btn:focus-visible,.btn.focus{box-shadow:none}.btn-primary{border-radius:var(--theme-btn--border-radius)}.btn-primary,.btn-primary.focus,.btn-primary:focus-visible{background-color:var(--theme-btn-primary--background);color:var(--theme-btn-primary--color);--ix-button-color:var(--theme-btn-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-primary--border-color);border-style:solid}.btn-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-primary.hover,.btn-primary:hover{border-color:var(--theme-btn-primary--border-color--hover);background-color:var(--theme-btn-primary--background--hover);color:var(--theme-btn-primary--color--hover)}.btn-primary.selected.hover,.btn-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-primary:not(:disabled):not(.disabled):active,.btn-primary:not(:disabled):not(.disabled).active,.show>.btn-primary.dropdown-toggle{border-color:var(--theme-btn-primary--border-color--active);background-color:var(--theme-btn-primary--background--active);color:var(--theme-btn-primary--color--active)}.btn-primary.selected:not(:disabled):not(.disabled):active,.btn-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-primary.disabled,.btn-primary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-primary--border-color--disabled);background-color:var(--theme-btn-primary--background--disabled);color:var(--theme-btn-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-primary--color--disabled)}.btn-outline-primary{border-radius:var(--theme-btn--border-radius)}.btn-outline-primary,.btn-outline-primary.focus,.btn-outline-primary:focus-visible{background-color:var(--theme-btn-outline-primary--background);color:var(--theme-btn-outline-primary--color);--ix-button-color:var(--theme-btn-outline-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-primary--border-color);border-style:solid}.btn-outline-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-outline-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-outline-primary.hover,.btn-outline-primary:hover{border-color:var(--theme-btn-outline-primary--border-color--hover);background-color:var(--theme-btn-outline-primary--background--hover);color:var(--theme-btn-outline-primary--color--hover)}.btn-outline-primary.selected.hover,.btn-outline-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-outline-primary:not(:disabled):not(.disabled):active,.btn-outline-primary:not(:disabled):not(.disabled).active,.show>.btn-outline-primary.dropdown-toggle{border-color:var(--theme-btn-outline-primary--border-color--active);background-color:var(--theme-btn-outline-primary--background--active);color:var(--theme-btn-outline-primary--color--active)}.btn-outline-primary.selected:not(:disabled):not(.disabled):active,.btn-outline-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-outline-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-outline-primary--border-color--disabled);background-color:var(--theme-btn-outline-primary--background--disabled);color:var(--theme-btn-outline-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-primary--color--disabled)}.btn-invisible-primary{border-radius:var(--theme-btn--border-radius);--bs-btn-border-width:0px;--bs-btn-active-border-color:none}.btn-invisible-primary,.btn-invisible-primary.focus,.btn-invisible-primary:focus-visible{background-color:var(--theme-btn-invisible-primary--background);color:var(--theme-btn-invisible-primary--color);--ix-button-color:var(--theme-btn-invisible-primary--color);border-color:transparent}.btn-invisible-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-invisible-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-invisible-primary.hover,.btn-invisible-primary:hover{background-color:var(--theme-btn-invisible-primary--background--hover);color:var(--theme-btn-invisible-primary--color--hover)}.btn-invisible-primary.selected.hover,.btn-invisible-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-invisible-primary:not(:disabled):not(.disabled):active,.btn-invisible-primary:not(:disabled):not(.disabled).active,.show>.btn-invisible-primary.dropdown-toggle{background-color:var(--theme-btn-invisible-primary--background--active);color:var(--theme-btn-invisible-primary--color--active)}.btn-invisible-primary.selected:not(:disabled):not(.disabled):active,.btn-invisible-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-invisible-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-invisible-primary.disabled,.btn-invisible-primary:disabled{pointer-events:none;cursor:initial;background-color:var(--theme-btn-invisible-primary--background--disabled);color:var(--theme-btn-invisible-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-primary--color--disabled)}.btn-secondary{border-radius:var(--theme-btn--border-radius)}.btn-secondary,.btn-secondary.focus,.btn-secondary:focus-visible{background-color:var(--theme-btn-secondary--background);color:var(--theme-btn-secondary--color);--ix-button-color:var(--theme-btn-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-secondary--border-color);border-style:solid}.btn-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-secondary.hover,.btn-secondary:hover{border-color:var(--theme-btn-secondary--border-color--hover);background-color:var(--theme-btn-secondary--background--hover);color:var(--theme-btn-secondary--color--hover)}.btn-secondary.selected.hover,.btn-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-secondary:not(:disabled):not(.disabled):active,.btn-secondary:not(:disabled):not(.disabled).active,.show>.btn-secondary.dropdown-toggle{border-color:var(--theme-btn-secondary--border-color--active);background-color:var(--theme-btn-secondary--background--active);color:var(--theme-btn-secondary--color--active)}.btn-secondary.selected:not(:disabled):not(.disabled):active,.btn-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-secondary.disabled,.btn-secondary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-secondary--border-color--disabled);background-color:var(--theme-btn-secondary--background--disabled);color:var(--theme-btn-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-secondary--color--disabled)}.btn-outline-secondary{border-radius:var(--theme-btn--border-radius)}.btn-outline-secondary,.btn-outline-secondary.focus,.btn-outline-secondary:focus-visible{background-color:var(--theme-btn-outline-secondary--background);color:var(--theme-btn-outline-secondary--color);--ix-button-color:var(--theme-btn-outline-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-secondary--border-color);border-style:solid}.btn-outline-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-outline-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-outline-secondary.hover,.btn-outline-secondary:hover{border-color:var(--theme-btn-outline-secondary--border-color--hover);background-color:var(--theme-btn-outline-secondary--background--hover);color:var(--theme-btn-outline-secondary--color--hover)}.btn-outline-secondary.selected.hover,.btn-outline-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-outline-secondary:not(:disabled):not(.disabled):active,.btn-outline-secondary:not(:disabled):not(.disabled).active,.show>.btn-outline-secondary.dropdown-toggle{border-color:var(--theme-btn-outline-secondary--border-color--active);background-color:var(--theme-btn-outline-secondary--background--active);color:var(--theme-btn-outline-secondary--color--active)}.btn-outline-secondary.selected:not(:disabled):not(.disabled):active,.btn-outline-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-outline-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-outline-secondary--border-color--disabled);background-color:var(--theme-btn-outline-secondary--background--disabled);color:var(--theme-btn-outline-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-secondary--color--disabled)}.btn-invisible-secondary{border-radius:var(--theme-btn--border-radius);--bs-btn-border-width:0px;--bs-btn-active-border-color:none}.btn-invisible-secondary,.btn-invisible-secondary.focus,.btn-invisible-secondary:focus-visible{background-color:var(--theme-btn-invisible-secondary--background);color:var(--theme-btn-invisible-secondary--color);--ix-button-color:var(--theme-btn-invisible-secondary--color);border-color:transparent}.btn-invisible-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-invisible-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-invisible-secondary.hover,.btn-invisible-secondary:hover{background-color:var(--theme-btn-invisible-secondary--background--hover);color:var(--theme-btn-invisible-secondary--color--hover)}.btn-invisible-secondary.selected.hover,.btn-invisible-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-invisible-secondary:not(:disabled):not(.disabled):active,.btn-invisible-secondary:not(:disabled):not(.disabled).active,.show>.btn-invisible-secondary.dropdown-toggle{background-color:var(--theme-btn-invisible-secondary--background--active);color:var(--theme-btn-invisible-secondary--color--active)}.btn-invisible-secondary.selected:not(:disabled):not(.disabled):active,.btn-invisible-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-invisible-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-invisible-secondary.disabled,.btn-invisible-secondary:disabled{pointer-events:none;cursor:initial;background-color:var(--theme-btn-invisible-secondary--background--disabled);color:var(--theme-btn-invisible-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-secondary--color--disabled)}.btn-oval,.btn-icon{min-width:2rem;width:2rem}.btn-oval .glyph,.btn-icon .glyph{margin-right:0}.btn-oval{border-radius:6.25rem;width:2rem}.btn-icon-xs,.btn-icon-12{height:1rem;width:1rem;min-width:1rem;min-height:1rem}.btn-icon-s,.btn-icon-16{height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}.btn-icon-32{height:2rem;width:2rem;min-width:2rem;min-height:2rem}:host{display:inline-block;width:auto;height:2rem;vertical-align:middle}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .btn{width:100%;height:100%}:host button:not(:disabled){cursor:pointer}:host(.disabled){pointer-events:none}";
|
|
8
|
-
|
|
9
|
-
const ToggleButton = /*@__PURE__*/ proxyCustomElement(class ToggleButton extends HTMLElement {
|
|
10
|
-
constructor() {
|
|
11
|
-
super();
|
|
12
|
-
this.__registerHost();
|
|
13
|
-
this.__attachShadow();
|
|
14
|
-
this.pressedChange = createEvent(this, "pressedChange", 7);
|
|
15
|
-
this.variant = 'secondary';
|
|
16
|
-
this.outline = false;
|
|
17
|
-
this.ghost = false;
|
|
18
|
-
this.disabled = false;
|
|
19
|
-
this.loading = false;
|
|
20
|
-
this.icon = undefined;
|
|
21
|
-
this.pressed = false;
|
|
22
|
-
}
|
|
23
|
-
isIllegalToggleButtonConfig() {
|
|
24
|
-
return this.variant === 'primary' && (this.outline || this.ghost);
|
|
25
|
-
}
|
|
26
|
-
logIllegalConfig() {
|
|
27
|
-
console.warn('iX toggle button with illegal configuration detected. Variant "primary" can only be combined with "outline" or "ghost".');
|
|
28
|
-
}
|
|
29
|
-
onVariantChange() {
|
|
30
|
-
if (this.isIllegalToggleButtonConfig()) {
|
|
31
|
-
this.logIllegalConfig();
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
onGhostChange() {
|
|
35
|
-
this.onVariantChange();
|
|
36
|
-
}
|
|
37
|
-
onOutlineChange() {
|
|
38
|
-
this.onVariantChange();
|
|
39
|
-
}
|
|
40
|
-
componentDidLoad() {
|
|
41
|
-
this.onVariantChange();
|
|
42
|
-
}
|
|
43
|
-
dispatchPressedChange() {
|
|
44
|
-
this.pressedChange.emit(!this.pressed);
|
|
45
|
-
}
|
|
46
|
-
render() {
|
|
47
|
-
const baseButtonProps = {
|
|
48
|
-
variant: this.variant,
|
|
49
|
-
outline: this.outline,
|
|
50
|
-
ghost: this.ghost,
|
|
51
|
-
iconOnly: false,
|
|
52
|
-
iconOval: false,
|
|
53
|
-
selected: this.pressed,
|
|
54
|
-
disabled: this.disabled || this.loading,
|
|
55
|
-
icon: this.icon,
|
|
56
|
-
loading: this.loading,
|
|
57
|
-
onClick: () => this.dispatchPressedChange(),
|
|
58
|
-
type: 'button',
|
|
59
|
-
ariaAttributes: {
|
|
60
|
-
'aria-pressed': a11yBoolean(this.pressed),
|
|
61
|
-
},
|
|
62
|
-
};
|
|
63
|
-
return (h(Host, { class: {
|
|
64
|
-
disabled: this.disabled || this.loading,
|
|
65
|
-
} }, h(BaseButton, Object.assign({}, baseButtonProps), h("slot", null))));
|
|
66
|
-
}
|
|
67
|
-
static get watchers() { return {
|
|
68
|
-
"variant": ["onVariantChange"],
|
|
69
|
-
"ghost": ["onGhostChange"],
|
|
70
|
-
"outline": ["onOutlineChange"]
|
|
71
|
-
}; }
|
|
72
|
-
static get style() { return toggleButtonCss; }
|
|
73
|
-
}, [1, "ix-toggle-button", {
|
|
74
|
-
"variant": [1],
|
|
75
|
-
"outline": [4],
|
|
76
|
-
"ghost": [4],
|
|
77
|
-
"disabled": [516],
|
|
78
|
-
"loading": [4],
|
|
79
|
-
"icon": [1],
|
|
80
|
-
"pressed": [4]
|
|
81
|
-
}]);
|
|
82
|
-
function defineCustomElement$1() {
|
|
83
|
-
if (typeof customElements === "undefined") {
|
|
84
|
-
return;
|
|
85
|
-
}
|
|
86
|
-
const components = ["ix-toggle-button", "ix-icon", "ix-spinner"];
|
|
87
|
-
components.forEach(tagName => { switch (tagName) {
|
|
88
|
-
case "ix-toggle-button":
|
|
89
|
-
if (!customElements.get(tagName)) {
|
|
90
|
-
customElements.define(tagName, ToggleButton);
|
|
91
|
-
}
|
|
92
|
-
break;
|
|
93
|
-
case "ix-icon":
|
|
94
|
-
if (!customElements.get(tagName)) {
|
|
95
|
-
defineCustomElement$3();
|
|
96
|
-
}
|
|
97
|
-
break;
|
|
98
|
-
case "ix-spinner":
|
|
99
|
-
if (!customElements.get(tagName)) {
|
|
100
|
-
defineCustomElement$2();
|
|
101
|
-
}
|
|
102
|
-
break;
|
|
103
|
-
} });
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
const IxToggleButton = ToggleButton;
|
|
107
|
-
const defineCustomElement = defineCustomElement$1;
|
|
108
|
-
|
|
109
|
-
export { IxToggleButton, defineCustomElement };
|
|
110
|
-
|
|
111
|
-
//# sourceMappingURL=ix-toggle-button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"ix-toggle-button.js","mappings":";;;;;;AAAA,MAAM,eAAe,GAAG,gwaAAgwa;;MC8B3wa,YAAY;;;;;;mBAKU,WAAW;mBAK1B,KAAK;iBAKP,KAAK;oBAKe,KAAK;mBAKd,KAAK;;mBAUd,KAAK;;EAOf,2BAA2B;IACjC,OAAO,IAAI,CAAC,OAAO,KAAK,SAAS,KAAK,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC;GACnE;EAEO,gBAAgB;IACtB,OAAO,CAAC,IAAI,CACV,yHAAyH,CAC1H,CAAC;GACH;EAGD,eAAe;IACb,IAAI,IAAI,CAAC,2BAA2B,EAAE,EAAE;MACtC,IAAI,CAAC,gBAAgB,EAAE,CAAC;KACzB;GACF;EAGD,aAAa;IACX,IAAI,CAAC,eAAe,EAAE,CAAC;GACxB;EAGD,eAAe;IACb,IAAI,CAAC,eAAe,EAAE,CAAC;GACxB;EAED,gBAAgB;IACd,IAAI,CAAC,eAAe,EAAE,CAAC;GACxB;EAEO,qBAAqB;IAC3B,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;GACxC;EAED,MAAM;IACJ,MAAM,eAAe,GAAoB;MACvC,OAAO,EAAE,IAAI,CAAC,OAAO;MACrB,OAAO,EAAE,IAAI,CAAC,OAAO;MACrB,KAAK,EAAE,IAAI,CAAC,KAAK;MACjB,QAAQ,EAAE,KAAK;MACf,QAAQ,EAAE,KAAK;MACf,QAAQ,EAAE,IAAI,CAAC,OAAO;MACtB,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO;MACvC,IAAI,EAAE,IAAI,CAAC,IAAI;MACf,OAAO,EAAE,IAAI,CAAC,OAAO;MACrB,OAAO,EAAE,MAAM,IAAI,CAAC,qBAAqB,EAAE;MAC3C,IAAI,EAAE,QAAQ;MACd,cAAc,EAAE;QACd,cAAc,EAAE,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC;OAC1C;KACF,CAAC;IAEF,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO;OACxC,IAED,EAAC,UAAU,oBAAK,eAAe,GAC7B,eAAa,CACF,CACR,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/toggle-button/toggle-button.scss?tag=ix-toggle-button&encapsulation=shadow","./src/components/toggle-button/toggle-button.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'legacy/components/buttons';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: inline-block;\n width: auto;\n height: $x-large-space;\n vertical-align: middle;\n\n .btn {\n width: 100%;\n height: 100%;\n }\n\n button:not(:disabled) {\n cursor: pointer;\n }\n}\n\n:host(.disabled) {\n pointer-events: none;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { BaseButton, BaseButtonProps } from '../button/base-button';\nimport { ButtonVariant } from '../button/button';\nimport { a11yBoolean } from '../utils/a11y';\n\n/**\n * @since 2.0.0\n */\n@Component({\n tag: 'ix-toggle-button',\n shadow: true,\n styleUrl: './toggle-button.scss',\n})\nexport class ToggleButton {\n /**\n * Button variant.\n * Important: Variant 'primary' can only be combined with either outline or ghost.\n */\n @Prop() variant: ButtonVariant = 'secondary';\n\n /**\n * Outline button\n */\n @Prop() outline = false;\n\n /**\n * Button with no background or outline\n */\n @Prop() ghost = false;\n\n /**\n * Disable the button\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * Loading button\n */\n @Prop() loading: boolean = false;\n\n /**\n * Icon name\n */\n @Prop() icon: string;\n\n /**\n * Show button as pressed\n */\n @Prop() pressed = false;\n\n /**\n * Pressed change event\n */\n @Event() pressedChange: EventEmitter<boolean>;\n\n private isIllegalToggleButtonConfig() {\n return this.variant === 'primary' && (this.outline || this.ghost);\n }\n\n private logIllegalConfig() {\n console.warn(\n 'iX toggle button with illegal configuration detected. Variant \"primary\" can only be combined with \"outline\" or \"ghost\".'\n );\n }\n\n @Watch('variant')\n onVariantChange() {\n if (this.isIllegalToggleButtonConfig()) {\n this.logIllegalConfig();\n }\n }\n\n @Watch('ghost')\n onGhostChange() {\n this.onVariantChange();\n }\n\n @Watch('outline')\n onOutlineChange() {\n this.onVariantChange();\n }\n\n componentDidLoad() {\n this.onVariantChange();\n }\n\n private dispatchPressedChange() {\n this.pressedChange.emit(!this.pressed);\n }\n\n render() {\n const baseButtonProps: BaseButtonProps = {\n variant: this.variant,\n outline: this.outline,\n ghost: this.ghost,\n iconOnly: false,\n iconOval: false,\n selected: this.pressed,\n disabled: this.disabled || this.loading,\n icon: this.icon,\n loading: this.loading,\n onClick: () => this.dispatchPressedChange(),\n type: 'button',\n ariaAttributes: {\n 'aria-pressed': a11yBoolean(this.pressed),\n },\n };\n\n return (\n <Host\n class={{\n disabled: this.disabled || this.loading,\n }}\n >\n <BaseButton {...baseButtonProps}>\n <slot></slot>\n </BaseButton>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface IxToggle extends Components.IxToggle, HTMLElement {}
|
|
4
|
-
export const IxToggle: {
|
|
5
|
-
prototype: IxToggle;
|
|
6
|
-
new (): IxToggle;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Host, Fragment } from '@stencil/core/internal/client';
|
|
2
|
-
import { a as a11yBoolean } from './a11y.js';
|
|
3
|
-
|
|
4
|
-
const toggleCss = ":host{display:inline-flex;position:relative;height:2rem;justify-content:flex-start;align-items:center;margin-right:0.25rem;cursor:pointer}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .switch{position:relative;display:inline-block;width:3rem;min-width:3rem;max-width:3rem;height:1.5rem;margin-right:0.25rem}:host .switch input{opacity:0;width:0;height:0}:host .slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--theme-switch-off--background);transition:150ms;border-radius:1.5rem}:host .slider:before{position:absolute;content:\"\";height:18px;width:18px;left:4px;bottom:3px;background-color:var(--theme-switch-thumb-off--background);transition:150ms;border-radius:50%}:host input{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}:host input:focus-visible+.switch>.slider{outline:1px solid var(--theme-color-focus-bdr);outline-offset:1px}:host input:checked+.switch>.slider{background-color:var(--theme-switch-on--background)}:host input:checked+.switch>.slider::before{background-color:var(--theme-switch-thumb-on--background);transform:translateX(1.35rem)}:host input+.switch:hover>.slider{background-color:var(--theme-switch-off--background--hover)}:host input+.switch:hover>.slider:before{background-color:var(--theme-switch-thumb-off--background--hover)}:host input+.switch:active>.slider{background-color:var(--theme-switch-off--background--active)}:host input+.switch:active>.slider:before{background-color:var(--theme-switch-thumb-off--background--active)}:host input:checked+.switch:hover>.slider{background-color:var(--theme-switch-on--background--hover)}:host input:checked+.switch:hover>.slider:before{background-color:var(--theme-switch-thumb-on--background--hover)}:host input:checked+.switch:active>.slider{background-color:var(--theme-switch-on--background--active)}:host input:checked+.switch:active>.slider:before{background-color:var(--theme-switch-thumb-on--background--active)}:host input:indeterminate+.switch>.slider::before{transform:translateX(0.7rem)}:host .toggle-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host(.disabled){pointer-events:none}:host(.disabled) input+.switch{opacity:0.5}:host(.disabled) input+.switch>.slider{background-color:var(--theme-switch-off--background--disabled)}:host(.disabled) input+.switch>.slider:before{background-color:var(--theme-switch-thumb-off--background--disabled)}:host(.disabled) input:checked+.switch>.slider{background-color:var(--theme-switch-on--background--disabled)}:host(.disabled) input:checked+.switch>.slider:before{background-color:var(--theme-switch-thumb-on--background--disabled)}:host(.disabled) .toggle-text{color:var(--theme-color-weak-text)}";
|
|
5
|
-
|
|
6
|
-
const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement {
|
|
7
|
-
constructor() {
|
|
8
|
-
super();
|
|
9
|
-
this.__registerHost();
|
|
10
|
-
this.__attachShadow();
|
|
11
|
-
this.checkedChange = createEvent(this, "checkedChange", 7);
|
|
12
|
-
this.checked = false;
|
|
13
|
-
this.disabled = false;
|
|
14
|
-
this.indeterminate = false;
|
|
15
|
-
this.textOn = 'On';
|
|
16
|
-
this.textOff = 'Off';
|
|
17
|
-
this.textIndeterminate = 'Mixed';
|
|
18
|
-
this.hideText = false;
|
|
19
|
-
}
|
|
20
|
-
onCheckedChange(newChecked) {
|
|
21
|
-
if (this.indeterminate) {
|
|
22
|
-
this.indeterminate = false;
|
|
23
|
-
}
|
|
24
|
-
this.checked = newChecked;
|
|
25
|
-
this.checkedChange.emit(this.checked);
|
|
26
|
-
}
|
|
27
|
-
render() {
|
|
28
|
-
return (h(Host, { class: {
|
|
29
|
-
disabled: this.disabled,
|
|
30
|
-
}, onClick: () => this.onCheckedChange(!this.checked) }, h("input", { disabled: this.disabled, indeterminate: this.indeterminate, checked: this.checked, role: "switch", tabindex: 0, type: "checkbox", "aria-checked": a11yBoolean(this.checked), onChange: (event) => this.onCheckedChange(event.target.checked) }), h("label", { class: "switch", tabIndex: -1 }, h("span", { class: "slider" })), !this.hideText ? (h(Fragment, null, !this.indeterminate ? (h("span", { class: 'toggle-text', "aria-hidden": a11yBoolean(true) }, this.checked ? this.textOn : this.textOff)) : (h("span", { class: 'toggle-text', "aria-hidden": a11yBoolean(true) }, this.textIndeterminate)))) : null));
|
|
31
|
-
}
|
|
32
|
-
get hostElement() { return this; }
|
|
33
|
-
static get style() { return toggleCss; }
|
|
34
|
-
}, [1, "ix-toggle", {
|
|
35
|
-
"checked": [1540],
|
|
36
|
-
"disabled": [4],
|
|
37
|
-
"indeterminate": [1540],
|
|
38
|
-
"textOn": [1, "text-on"],
|
|
39
|
-
"textOff": [1, "text-off"],
|
|
40
|
-
"textIndeterminate": [1, "text-indeterminate"],
|
|
41
|
-
"hideText": [4, "hide-text"]
|
|
42
|
-
}]);
|
|
43
|
-
function defineCustomElement$1() {
|
|
44
|
-
if (typeof customElements === "undefined") {
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
const components = ["ix-toggle"];
|
|
48
|
-
components.forEach(tagName => { switch (tagName) {
|
|
49
|
-
case "ix-toggle":
|
|
50
|
-
if (!customElements.get(tagName)) {
|
|
51
|
-
customElements.define(tagName, Toggle);
|
|
52
|
-
}
|
|
53
|
-
break;
|
|
54
|
-
} });
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
const IxToggle = Toggle;
|
|
58
|
-
const defineCustomElement = defineCustomElement$1;
|
|
59
|
-
|
|
60
|
-
export { IxToggle, defineCustomElement };
|
|
61
|
-
|
|
62
|
-
//# sourceMappingURL=ix-toggle.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"ix-toggle.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,+uGAA+uG;;MC0BpvG,MAAM;;;;;;mBAMiC,KAAK;oBAKpC,KAAK;yBAKgC,KAAK;kBAK5C,IAAI;mBAKH,KAAK;6BAKK,OAAO;oBAKhB,KAAK;;EAOxB,eAAe,CAAC,UAAmB;IACjC,IAAI,IAAI,CAAC,aAAa,EAAE;MACtB,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;KAC5B;IACD,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC;IAC1B,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;GACvC;EAED,MAAM;IACJ,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACxB,EACD,OAAO,EAAE,MAAM,IAAI,CAAC,eAAe,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,IAElD,aACE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,EACX,IAAI,EAAC,UAAU,kBACD,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,EACvC,QAAQ,EAAE,CAAC,KAAK,KACd,IAAI,CAAC,eAAe,CAAE,KAAK,CAAC,MAAc,CAAC,OAAO,CAAC,GAE9C,EACT,aAAO,KAAK,EAAC,QAAQ,EAAC,QAAQ,EAAE,CAAC,CAAC,IAChC,YAAM,KAAK,EAAC,QAAQ,GAAQ,CACtB,EACP,CAAC,IAAI,CAAC,QAAQ,IACb,EAAC,QAAQ,QACN,CAAC,IAAI,CAAC,aAAa,IAClB,YAAM,KAAK,EAAE,aAAa,iBAAe,WAAW,CAAC,IAAI,CAAC,IACvD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,OAAO,CACrC,KAEP,YAAM,KAAK,EAAE,aAAa,iBAAe,WAAW,CAAC,IAAI,CAAC,IACvD,IAAI,CAAC,iBAAiB,CAClB,CACR,CACQ,IACT,IAAI,CACH,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/toggle/toggle.scss?tag=ix-toggle&encapsulation=shadow","./src/components/toggle/toggle.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'mixins/hover';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: inline-flex;\n position: relative;\n height: 2rem;\n justify-content: flex-start;\n align-items: center;\n margin-right: 0.25rem;\n\n cursor: pointer;\n\n .switch {\n position: relative;\n display: inline-block;\n width: 3rem;\n min-width: 3rem;\n max-width: 3rem;\n height: 1.5rem;\n margin-right: 0.25rem;\n }\n\n .switch input {\n opacity: 0;\n width: 0;\n height: 0;\n }\n\n .slider {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: var(--theme-switch-off--background);\n transition: 150ms;\n border-radius: 1.5rem;\n }\n\n .slider:before {\n position: absolute;\n content: '';\n height: 18px;\n width: 18px;\n left: 4px;\n bottom: 3px;\n background-color: var(--theme-switch-thumb-off--background);\n transition: 150ms;\n border-radius: 50%;\n }\n\n input {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n }\n\n input:focus-visible + .switch > .slider {\n outline: 1px solid var(--theme-color-focus-bdr);\n outline-offset: 1px;\n }\n\n input:checked + .switch > .slider {\n background-color: var(--theme-switch-on--background);\n }\n\n input:checked + .switch > .slider::before {\n background-color: var(--theme-switch-thumb-on--background);\n transform: translateX(1.35rem);\n }\n\n // Toggle NOT checked\n input + .switch:hover > .slider {\n background-color: var(--theme-switch-off--background--hover);\n }\n\n input + .switch:hover > .slider:before {\n background-color: var(--theme-switch-thumb-off--background--hover);\n }\n\n input + .switch:active > .slider {\n background-color: var(--theme-switch-off--background--active);\n }\n\n input + .switch:active > .slider:before {\n background-color: var(--theme-switch-thumb-off--background--active);\n }\n\n // Toggle checked\n input:checked + .switch:hover > .slider {\n background-color: var(--theme-switch-on--background--hover);\n }\n\n input:checked + .switch:hover > .slider:before {\n background-color: var(--theme-switch-thumb-on--background--hover);\n }\n\n input:checked + .switch:active > .slider {\n background-color: var(--theme-switch-on--background--active);\n }\n\n input:checked + .switch:active > .slider:before {\n background-color: var(--theme-switch-thumb-on--background--active);\n }\n\n input:indeterminate + .switch > .slider::before {\n transform: translateX(0.7rem);\n }\n\n .toggle-text {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n}\n\n:host(.disabled) {\n pointer-events: none;\n\n input + .switch {\n opacity: 0.5;\n }\n\n input + .switch > .slider {\n background-color: var(--theme-switch-off--background--disabled);\n }\n\n input + .switch > .slider:before {\n background-color: var(--theme-switch-thumb-off--background--disabled);\n }\n\n input:checked + .switch > .slider {\n background-color: var(--theme-switch-on--background--disabled);\n }\n\n input:checked + .switch > .slider:before {\n background-color: var(--theme-switch-thumb-on--background--disabled);\n }\n\n .toggle-text {\n color: var(--theme-color-weak-text);\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Prop,\n} from '@stencil/core';\nimport { a11yBoolean } from '../utils/a11y';\n\n@Component({\n tag: 'ix-toggle',\n styleUrl: 'toggle.scss',\n shadow: true,\n})\nexport class Toggle {\n @Element() hostElement!: HTMLIxToggleElement;\n\n /**\n * Whether the slide-toggle element is checked or not.\n */\n @Prop({ mutable: true, reflect: true }) checked = false;\n\n /**\n * Whether the slide-toggle element is disabled or not.\n */\n @Prop() disabled = false;\n\n /**\n * If true the control is in indeterminate state\n */\n @Prop({ mutable: true, reflect: true }) indeterminate = false;\n\n /**\n * Text for on state\n */\n @Prop() textOn = 'On';\n\n /**\n * Text for off state\n */\n @Prop() textOff = 'Off';\n\n /**\n * Text for indeterminate state\n */\n @Prop() textIndeterminate = 'Mixed';\n\n /**\n * Hide `on` and `off` text\n */\n @Prop() hideText = false;\n\n /**\n * An event will be dispatched each time the slide-toggle changes its value.\n */\n @Event() checkedChange: EventEmitter<boolean>;\n\n onCheckedChange(newChecked: boolean) {\n if (this.indeterminate) {\n this.indeterminate = false;\n }\n this.checked = newChecked;\n this.checkedChange.emit(this.checked);\n }\n\n render() {\n return (\n <Host\n class={{\n disabled: this.disabled,\n }}\n onClick={() => this.onCheckedChange(!this.checked)}\n >\n <input\n disabled={this.disabled}\n indeterminate={this.indeterminate}\n checked={this.checked}\n role=\"switch\"\n tabindex={0}\n type=\"checkbox\"\n aria-checked={a11yBoolean(this.checked)}\n onChange={(event) =>\n this.onCheckedChange((event.target as any).checked)\n }\n ></input>\n <label class=\"switch\" tabIndex={-1}>\n <span class=\"slider\"></span>\n </label>\n {!this.hideText ? (\n <Fragment>\n {!this.indeterminate ? (\n <span class={'toggle-text'} aria-hidden={a11yBoolean(true)}>\n {this.checked ? this.textOn : this.textOff}\n </span>\n ) : (\n <span class={'toggle-text'} aria-hidden={a11yBoolean(true)}>\n {this.textIndeterminate}\n </span>\n )}\n </Fragment>\n ) : null}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface IxTooltip extends Components.IxTooltip, HTMLElement {}
|
|
4
|
-
export const IxTooltip: {
|
|
5
|
-
prototype: IxTooltip;
|
|
6
|
-
new (): IxTooltip;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { a as autoUpdate, c as computePosition, s as shift, o as offset, b as arrow, f as flip } from './floating-ui.dom.esm.js';
|
|
3
|
-
import { d as defineCustomElement$2 } from './typography.js';
|
|
4
|
-
|
|
5
|
-
const tooltipCss = ":host{display:inline-block;position:fixed;left:0px;top:0px;z-index:var(--theme-z-index-tooltip);max-width:18.25rem;opacity:0;visibility:collapse !important;overflow-wrap:break-word;border-radius:0.25rem;background-color:var(--theme-tootlip--background);padding:0.375rem 0.75rem 0.375rem 0.875rem;box-shadow:var(--theme-shadow-4)}:host .tooltip-title{display:flex;align-items:center}:host .tooltip-title ::slotted(ix-icon){margin-right:0.35rem}:host(.visible){opacity:1;visibility:visible !important}:host(.visible) .arrow,:host(.visible) .arrow::before{position:absolute;width:8px;height:8px;background:inherit}:host(.visible) .arrow{visibility:hidden}:host(.visible) .arrow::before{visibility:visible;content:\"\";transform:rotate(45deg);background-color:var(--theme-tootlip--background)}";
|
|
6
|
-
|
|
7
|
-
const numberToPixel = (value) => (value != null ? `${value}px` : '');
|
|
8
|
-
const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends HTMLElement {
|
|
9
|
-
constructor() {
|
|
10
|
-
super();
|
|
11
|
-
this.__registerHost();
|
|
12
|
-
this.__attachShadow();
|
|
13
|
-
this.onMouseEnterBind = this.showTooltip.bind(this);
|
|
14
|
-
this.onMouseLeaveBind = this.hideTooltip.bind(this);
|
|
15
|
-
this.tooltipCloseTimeInMS = 50;
|
|
16
|
-
this.for = undefined;
|
|
17
|
-
this.titleContent = undefined;
|
|
18
|
-
this.interactive = false;
|
|
19
|
-
this.placement = 'top';
|
|
20
|
-
this.visible = false;
|
|
21
|
-
}
|
|
22
|
-
get arrowElement() {
|
|
23
|
-
return this.hostElement.shadowRoot.querySelector('.arrow');
|
|
24
|
-
}
|
|
25
|
-
destroyAutoUpdate() {
|
|
26
|
-
if (this.disposeAutoUpdate !== undefined) {
|
|
27
|
-
this.disposeAutoUpdate();
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
showTooltip(e) {
|
|
31
|
-
clearTimeout(this.hideTooltipTimeout);
|
|
32
|
-
this.visible = true;
|
|
33
|
-
this.computeTooltipPosition(e.target);
|
|
34
|
-
}
|
|
35
|
-
hideTooltip() {
|
|
36
|
-
this.hideTooltipTimeout = setTimeout(() => {
|
|
37
|
-
this.visible = false;
|
|
38
|
-
}, this.tooltipCloseTimeInMS);
|
|
39
|
-
this.destroyAutoUpdate();
|
|
40
|
-
}
|
|
41
|
-
computeArrowPosition({ placement, middlewareData, }) {
|
|
42
|
-
let { x, y } = middlewareData.arrow;
|
|
43
|
-
if (placement.startsWith('top')) {
|
|
44
|
-
return {
|
|
45
|
-
left: numberToPixel(x),
|
|
46
|
-
top: numberToPixel(y),
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
if (placement.startsWith('right')) {
|
|
50
|
-
return {
|
|
51
|
-
left: numberToPixel(-4),
|
|
52
|
-
top: numberToPixel(y),
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
if (placement.startsWith('bottom')) {
|
|
56
|
-
return {
|
|
57
|
-
left: numberToPixel(x),
|
|
58
|
-
top: numberToPixel(-4),
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
if (placement.startsWith('left')) {
|
|
62
|
-
return {
|
|
63
|
-
right: numberToPixel(-4),
|
|
64
|
-
top: numberToPixel(y),
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
async computeTooltipPosition(target) {
|
|
69
|
-
this.disposeAutoUpdate = autoUpdate(target, this.hostElement, async () => {
|
|
70
|
-
setTimeout(async () => {
|
|
71
|
-
const computeResponse = await computePosition(target, this.hostElement, {
|
|
72
|
-
strategy: 'fixed',
|
|
73
|
-
placement: this.placement,
|
|
74
|
-
middleware: [
|
|
75
|
-
shift(),
|
|
76
|
-
offset(8),
|
|
77
|
-
arrow({
|
|
78
|
-
element: this.arrowElement,
|
|
79
|
-
}),
|
|
80
|
-
flip({
|
|
81
|
-
fallbackStrategy: 'initialPlacement',
|
|
82
|
-
padding: 10,
|
|
83
|
-
}),
|
|
84
|
-
],
|
|
85
|
-
});
|
|
86
|
-
if (computeResponse.middlewareData.arrow) {
|
|
87
|
-
const arrowPosition = this.computeArrowPosition(computeResponse);
|
|
88
|
-
Object.assign(this.arrowElement.style, arrowPosition);
|
|
89
|
-
}
|
|
90
|
-
const { x, y } = computeResponse;
|
|
91
|
-
Object.assign(this.hostElement.style, {
|
|
92
|
-
left: x !== null ? `${x}px` : '',
|
|
93
|
-
top: y !== null ? `${y}px` : '',
|
|
94
|
-
});
|
|
95
|
-
});
|
|
96
|
-
}, {
|
|
97
|
-
ancestorResize: true,
|
|
98
|
-
ancestorScroll: true,
|
|
99
|
-
elementResize: true,
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
queryAnchorElements() {
|
|
103
|
-
return Array.from(document.querySelectorAll(this.for));
|
|
104
|
-
}
|
|
105
|
-
registerTriggerListener() {
|
|
106
|
-
const elements = this.queryAnchorElements();
|
|
107
|
-
elements.forEach((e) => {
|
|
108
|
-
e.addEventListener('mouseenter', this.onMouseEnterBind);
|
|
109
|
-
e.addEventListener('mouseleave', this.onMouseLeaveBind);
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
registerTooltipListener() {
|
|
113
|
-
this.hostElement.addEventListener('mouseenter', () => {
|
|
114
|
-
if (this.interactive) {
|
|
115
|
-
clearTimeout(this.hideTooltipTimeout);
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
this.hostElement.addEventListener('mouseleave', () => {
|
|
119
|
-
this.hideTooltip();
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
componentDidLoad() {
|
|
123
|
-
if (this.interactive) {
|
|
124
|
-
this.tooltipCloseTimeInMS = 150;
|
|
125
|
-
}
|
|
126
|
-
this.observer = new MutationObserver(() => {
|
|
127
|
-
this.registerTriggerListener();
|
|
128
|
-
});
|
|
129
|
-
this.observer.observe(document.body, {
|
|
130
|
-
attributes: true,
|
|
131
|
-
attributeFilter: ['data-ix-tooltip'],
|
|
132
|
-
childList: true,
|
|
133
|
-
subtree: true,
|
|
134
|
-
});
|
|
135
|
-
this.registerTriggerListener();
|
|
136
|
-
this.registerTooltipListener();
|
|
137
|
-
}
|
|
138
|
-
disconnectedCallback() {
|
|
139
|
-
this.observer.disconnect();
|
|
140
|
-
this.destroyAutoUpdate();
|
|
141
|
-
}
|
|
142
|
-
render() {
|
|
143
|
-
const tooltipContentClass = {
|
|
144
|
-
'tooltip-content': true,
|
|
145
|
-
};
|
|
146
|
-
return (h(Host, { class: {
|
|
147
|
-
visible: this.visible,
|
|
148
|
-
} }, h("div", { class: 'tooltip-title' }, h("slot", { name: "title-icon" }), h("ix-typography", { variant: "default-title" }, this.titleContent, h("slot", { name: "title-content" }))), h("div", { class: tooltipContentClass }, h("slot", null)), h("div", { class: "arrow" })));
|
|
149
|
-
}
|
|
150
|
-
get hostElement() { return this; }
|
|
151
|
-
static get style() { return tooltipCss; }
|
|
152
|
-
}, [1, "ix-tooltip", {
|
|
153
|
-
"for": [1],
|
|
154
|
-
"titleContent": [1, "title-content"],
|
|
155
|
-
"interactive": [4],
|
|
156
|
-
"placement": [1],
|
|
157
|
-
"visible": [32]
|
|
158
|
-
}]);
|
|
159
|
-
function defineCustomElement$1() {
|
|
160
|
-
if (typeof customElements === "undefined") {
|
|
161
|
-
return;
|
|
162
|
-
}
|
|
163
|
-
const components = ["ix-tooltip", "ix-typography"];
|
|
164
|
-
components.forEach(tagName => { switch (tagName) {
|
|
165
|
-
case "ix-tooltip":
|
|
166
|
-
if (!customElements.get(tagName)) {
|
|
167
|
-
customElements.define(tagName, Tooltip);
|
|
168
|
-
}
|
|
169
|
-
break;
|
|
170
|
-
case "ix-typography":
|
|
171
|
-
if (!customElements.get(tagName)) {
|
|
172
|
-
defineCustomElement$2();
|
|
173
|
-
}
|
|
174
|
-
break;
|
|
175
|
-
} });
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
const IxTooltip = Tooltip;
|
|
179
|
-
const defineCustomElement = defineCustomElement$1;
|
|
180
|
-
|
|
181
|
-
export { IxTooltip, defineCustomElement };
|
|
182
|
-
|
|
183
|
-
//# sourceMappingURL=ix-tooltip.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"ix-tooltip.js","mappings":";;;;AAAA,MAAM,UAAU,GAAG,uxBAAuxB;;ACyB1yB,MAAM,aAAa,GAAG,CAAC,KAAa,MAAM,KAAK,IAAI,IAAI,GAAG,GAAG,KAAK,IAAI,GAAG,EAAE,CAAC,CAAC;MAahE,OAAO;;;;;IA8BV,qBAAgB,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/C,qBAAgB,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAE/C,yBAAoB,GAAG,EAAE,CAAC;;;uBAnBZ,KAAK;qBAQ8B,KAAK;mBAE3C,KAAK;;EAWxB,IAAY,YAAY;IACtB,OAAO,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAgB,CAAC;GAC3E;EAEO,iBAAiB;IACvB,IAAI,IAAI,CAAC,iBAAiB,KAAK,SAAS,EAAE;MACxC,IAAI,CAAC,iBAAiB,EAAE,CAAC;KAC1B;GACF;EAEO,WAAW,CAAC,CAAM;IACxB,YAAY,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;IACtC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;IACpB,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;GACvC;EAEO,WAAW;IACjB,IAAI,CAAC,kBAAkB,GAAG,UAAU,CAAC;MACnC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;KACtB,EAAE,IAAI,CAAC,oBAAoB,CAAC,CAAC;IAC9B,IAAI,CAAC,iBAAiB,EAAE,CAAC;GAC1B;EAEO,oBAAoB,CAAC,EAC3B,SAAS,EACT,cAAc,GACQ;IACtB,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,cAAc,CAAC,KAAK,CAAC;IAEpC,IAAI,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE;MAC/B,OAAO;QACL,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC;QACtB,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC;OACtB,CAAC;KACH;IAED,IAAI,SAAS,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE;MACjC,OAAO;QACL,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QACvB,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC;OACtB,CAAC;KACH;IAED,IAAI,SAAS,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;MAClC,OAAO;QACL,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC;QACtB,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;OACvB,CAAC;KACH;IAED,IAAI,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE;MAChC,OAAO;QACL,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QACxB,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC;OACtB,CAAC;KACH;GACF;EAEO,MAAM,sBAAsB,CAAC,MAAmB;IACtD,IAAI,CAAC,iBAAiB,GAAG,UAAU,CACjC,MAAM,EACN,IAAI,CAAC,WAAW,EAChB;MACE,UAAU,CAAC;QACT,MAAM,eAAe,GAAG,MAAM,eAAe,CAC3C,MAAM,EACN,IAAI,CAAC,WAAW,EAChB;UACE,QAAQ,EAAE,OAAO;UACjB,SAAS,EAAE,IAAI,CAAC,SAAS;UACzB,UAAU,EAAE;YACV,KAAK,EAAE;YACP,MAAM,CAAC,CAAC,CAAC;YACT,KAAK,CAAC;cACJ,OAAO,EAAE,IAAI,CAAC,YAAY;aAC3B,CAAC;YACF,IAAI,CAAC;cACH,gBAAgB,EAAE,kBAAkB;cACpC,OAAO,EAAE,EAAE;aACZ,CAAC;WACH;SACF,CACF,CAAC;QAEF,IAAI,eAAe,CAAC,cAAc,CAAC,KAAK,EAAE;UACxC,MAAM,aAAa,GAAG,IAAI,CAAC,oBAAoB,CAAC,eAAe,CAAC,CAAC;UACjE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;SACvD;QAED,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,eAAe,CAAC;QACjC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE;UACpC,IAAI,EAAE,CAAC,KAAK,IAAI,GAAG,GAAG,CAAC,IAAI,GAAG,EAAE;UAChC,GAAG,EAAE,CAAC,KAAK,IAAI,GAAG,GAAG,CAAC,IAAI,GAAG,EAAE;SAChC,CAAC,CAAC;OACJ,CAAC,CAAC;KACJ,EACD;MACE,cAAc,EAAE,IAAI;MACpB,cAAc,EAAE,IAAI;MACpB,aAAa,EAAE,IAAI;KACpB,CACF,CAAC;GACH;EAEO,mBAAmB;IACzB,OAAO,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;GACxD;EAEO,uBAAuB;IAC7B,MAAM,QAAQ,GAAG,IAAI,CAAC,mBAAmB,EAAE,CAAC;IAC5C,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;MACjB,CAAC,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;MACxD,CAAC,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;KACzD,CAAC,CAAC;GACJ;EAEO,uBAAuB;IAC7B,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,YAAY,EAAE;MAC9C,IAAI,IAAI,CAAC,WAAW,EAAE;QACpB,YAAY,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;OACvC;KACF,CAAC,CAAC;IACH,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,YAAY,EAAE;MAC9C,IAAI,CAAC,WAAW,EAAE,CAAC;KACpB,CAAC,CAAC;GACJ;EAED,gBAAgB;IACd,IAAI,IAAI,CAAC,WAAW,EAAE;MACpB,IAAI,CAAC,oBAAoB,GAAG,GAAG,CAAC;KACjC;IAED,IAAI,CAAC,QAAQ,GAAG,IAAI,gBAAgB,CAAC;MACnC,IAAI,CAAC,uBAAuB,EAAE,CAAC;KAChC,CAAC,CAAC;IAEH,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,EAAE;MACnC,UAAU,EAAE,IAAI;MAChB,eAAe,EAAE,CAAC,iBAAiB,CAAC;MACpC,SAAS,EAAE,IAAI;MACf,OAAO,EAAE,IAAI;KACd,CAAC,CAAC;IAEH,IAAI,CAAC,uBAAuB,EAAE,CAAC;IAC/B,IAAI,CAAC,uBAAuB,EAAE,CAAC;GAChC;EAED,oBAAoB;IAClB,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC;IAC3B,IAAI,CAAC,iBAAiB,EAAE,CAAC;GAC1B;EAED,MAAM;IACJ,MAAM,mBAAmB,GAAG;MAC1B,iBAAiB,EAAE,IAAI;KACxB,CAAC;IAEF,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,OAAO,EAAE,IAAI,CAAC,OAAO;OACtB,IAED,WAAK,KAAK,EAAE,eAAe,IACzB,YAAM,IAAI,EAAC,YAAY,GAAQ,EAC/B,qBAAe,OAAO,EAAC,eAAe,IACnC,IAAI,CAAC,YAAY,EAClB,YAAM,IAAI,EAAC,eAAe,GAAQ,CACpB,CACZ,EACN,WAAK,KAAK,EAAE,mBAAmB,IAC7B,eAAa,CACT,EACN,WAAK,KAAK,EAAC,OAAO,GAAO,CACpB,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/tooltip/tooltip.scss?tag=ix-tooltip&encapsulation=shadow","./src/components/tooltip/tooltip.tsx"],"sourcesContent":[":host {\n display: inline-block;\n position: fixed;\n left: 0px;\n top: 0px;\n z-index: var(--theme-z-index-tooltip);\n\n max-width: 18.25rem;\n\n opacity: 0;\n visibility: collapse !important;\n overflow-wrap: break-word;\n\n border-radius: 0.25rem;\n background-color: var(--theme-tootlip--background);\n padding: 0.375rem 0.75rem 0.375rem 0.875rem;\n\n box-shadow: var(--theme-shadow-4);\n\n .tooltip-title {\n display: flex;\n align-items: center;\n\n ::slotted(ix-icon) {\n margin-right: 0.35rem;\n }\n }\n}\n\n:host(.visible) {\n opacity: 1;\n visibility: visible !important;\n}\n\n:host(.visible) {\n .arrow,\n .arrow::before {\n position: absolute;\n width: 8px;\n height: 8px;\n background: inherit;\n }\n\n .arrow {\n visibility: hidden;\n }\n\n .arrow::before {\n visibility: visible;\n content: '';\n transform: rotate(45deg);\n background-color: var(--theme-tootlip--background);\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport {\n arrow,\n autoUpdate,\n computePosition,\n ComputePositionReturn,\n flip,\n offset,\n shift,\n} from '@floating-ui/dom';\nimport { Component, Element, h, Host, Prop, State } from '@stencil/core';\n\ntype ArrowPosition = {\n top?: string;\n left?: string;\n right?: string;\n};\n\nconst numberToPixel = (value: number) => (value != null ? `${value}px` : '');\n\n/**\n * @slot title-icon - Icon of tooltip title\n * @slot title-content - Content of tooltip title\n *\n * @since 1.4.0\n */\n@Component({\n tag: 'ix-tooltip',\n styleUrl: 'tooltip.scss',\n shadow: true,\n})\nexport class Tooltip {\n /**\n * CSS selector for hover trigger element e.g. `for=\"[data-my-custom-select]\"`\n */\n @Prop() for: string;\n\n /**\n * Title of the tooltip\n */\n @Prop() titleContent: string;\n\n /**\n * Define if the user can access the tooltip via mouse.\n */\n @Prop() interactive = false;\n\n /**\n * Initial placement of the tooltip. If the placement don\"t have enough space,\n * the tooltip will placed on another location.\n *\n * @since 1.5.0\n */\n @Prop() placement: 'top' | 'right' | 'bottom' | 'left' = 'top';\n\n @State() visible = false;\n\n @Element() hostElement: HTMLIxTooltipElement;\n\n private observer: MutationObserver;\n private hideTooltipTimeout: NodeJS.Timeout;\n private onMouseEnterBind = this.showTooltip.bind(this);\n private onMouseLeaveBind = this.hideTooltip.bind(this);\n private disposeAutoUpdate?: () => void;\n private tooltipCloseTimeInMS = 50;\n\n private get arrowElement() {\n return this.hostElement.shadowRoot.querySelector('.arrow') as HTMLElement;\n }\n\n private destroyAutoUpdate() {\n if (this.disposeAutoUpdate !== undefined) {\n this.disposeAutoUpdate();\n }\n }\n\n private showTooltip(e: any) {\n clearTimeout(this.hideTooltipTimeout);\n this.visible = true;\n this.computeTooltipPosition(e.target);\n }\n\n private hideTooltip() {\n this.hideTooltipTimeout = setTimeout(() => {\n this.visible = false;\n }, this.tooltipCloseTimeInMS);\n this.destroyAutoUpdate();\n }\n\n private computeArrowPosition({\n placement,\n middlewareData,\n }: ComputePositionReturn): ArrowPosition {\n let { x, y } = middlewareData.arrow;\n\n if (placement.startsWith('top')) {\n return {\n left: numberToPixel(x),\n top: numberToPixel(y),\n };\n }\n\n if (placement.startsWith('right')) {\n return {\n left: numberToPixel(-4),\n top: numberToPixel(y),\n };\n }\n\n if (placement.startsWith('bottom')) {\n return {\n left: numberToPixel(x),\n top: numberToPixel(-4),\n };\n }\n\n if (placement.startsWith('left')) {\n return {\n right: numberToPixel(-4),\n top: numberToPixel(y),\n };\n }\n }\n\n private async computeTooltipPosition(target: HTMLElement) {\n this.disposeAutoUpdate = autoUpdate(\n target,\n this.hostElement,\n async () => {\n setTimeout(async () => {\n const computeResponse = await computePosition(\n target,\n this.hostElement,\n {\n strategy: 'fixed',\n placement: this.placement,\n middleware: [\n shift(),\n offset(8),\n arrow({\n element: this.arrowElement,\n }),\n flip({\n fallbackStrategy: 'initialPlacement',\n padding: 10,\n }),\n ],\n }\n );\n\n if (computeResponse.middlewareData.arrow) {\n const arrowPosition = this.computeArrowPosition(computeResponse);\n Object.assign(this.arrowElement.style, arrowPosition);\n }\n\n const { x, y } = computeResponse;\n Object.assign(this.hostElement.style, {\n left: x !== null ? `${x}px` : '',\n top: y !== null ? `${y}px` : '',\n });\n });\n },\n {\n ancestorResize: true,\n ancestorScroll: true,\n elementResize: true,\n }\n );\n }\n\n private queryAnchorElements() {\n return Array.from(document.querySelectorAll(this.for));\n }\n\n private registerTriggerListener() {\n const elements = this.queryAnchorElements();\n elements.forEach((e) => {\n e.addEventListener('mouseenter', this.onMouseEnterBind);\n e.addEventListener('mouseleave', this.onMouseLeaveBind);\n });\n }\n\n private registerTooltipListener() {\n this.hostElement.addEventListener('mouseenter', () => {\n if (this.interactive) {\n clearTimeout(this.hideTooltipTimeout);\n }\n });\n this.hostElement.addEventListener('mouseleave', () => {\n this.hideTooltip();\n });\n }\n\n componentDidLoad() {\n if (this.interactive) {\n this.tooltipCloseTimeInMS = 150;\n }\n\n this.observer = new MutationObserver(() => {\n this.registerTriggerListener();\n });\n\n this.observer.observe(document.body, {\n attributes: true,\n attributeFilter: ['data-ix-tooltip'],\n childList: true,\n subtree: true,\n });\n\n this.registerTriggerListener();\n this.registerTooltipListener();\n }\n\n disconnectedCallback() {\n this.observer.disconnect();\n this.destroyAutoUpdate();\n }\n\n render() {\n const tooltipContentClass = {\n 'tooltip-content': true,\n };\n\n return (\n <Host\n class={{\n visible: this.visible,\n }}\n >\n <div class={'tooltip-title'}>\n <slot name=\"title-icon\"></slot>\n <ix-typography variant=\"default-title\">\n {this.titleContent}\n <slot name=\"title-content\"></slot>\n </ix-typography>\n </div>\n <div class={tooltipContentClass}>\n <slot></slot>\n </div>\n <div class=\"arrow\"></div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface IxTreeItem extends Components.IxTreeItem, HTMLElement {}
|
|
4
|
-
export const IxTreeItem: {
|
|
5
|
-
prototype: IxTreeItem;
|
|
6
|
-
new (): IxTreeItem;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"ix-tree-item.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface IxTree extends Components.IxTree, HTMLElement {}
|
|
4
|
-
export const IxTree: {
|
|
5
|
-
prototype: IxTree;
|
|
6
|
-
new (): IxTree;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|