@siemens/ix 1.1.0-beta.0 → 1.1.0-beta.2
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/package.json +1 -1
- package/dist/cjs/_commonjsHelpers-1a0c346f.js +0 -23
- package/dist/cjs/animation-dfe01edc.js +0 -19
- package/dist/cjs/anime.es-8822f296.js +0 -1311
- package/dist/cjs/base-button-eb1d47db.js +0 -33
- package/dist/cjs/default-tree-item-4597cd84.js +0 -22
- package/dist/cjs/flip-tile-state-c95639e5.js +0 -18
- package/dist/cjs/index-1e4a348f.js +0 -1849
- package/dist/cjs/index.cjs.js +0 -96
- package/dist/cjs/ix-animated-tab_2.cjs.entry.js +0 -217
- package/dist/cjs/ix-application-header.cjs.entry.js +0 -30
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +0 -44
- package/dist/cjs/ix-blind.cjs.entry.js +0 -89
- package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +0 -155
- package/dist/cjs/ix-button.cjs.entry.js +0 -50
- package/dist/cjs/ix-category-filter.cjs.entry.js +0 -399
- package/dist/cjs/ix-chip.cjs.entry.js +0 -47
- package/dist/cjs/ix-counter-pill.cjs.entry.js +0 -40
- package/dist/cjs/ix-date-picker_2.cjs.entry.js +0 -9039
- package/dist/cjs/ix-date-time-card.cjs.entry.js +0 -36
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +0 -113
- package/dist/cjs/ix-drawer.cjs.entry.js +0 -122
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +0 -203
- package/dist/cjs/ix-event-list_2.cjs.entry.js +0 -151
- package/dist/cjs/ix-expanding-search.cjs.entry.js +0 -92
- package/dist/cjs/ix-filter-chip.cjs.entry.js +0 -30
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js +0 -79
- package/dist/cjs/ix-group_3.cjs.entry.js +0 -174
- package/dist/cjs/ix-icon-button.cjs.entry.js +0 -40
- package/dist/cjs/ix-icon.cjs.entry.js +0 -33
- package/dist/cjs/ix-input-group.cjs.entry.js +0 -40
- package/dist/cjs/ix-kpi.cjs.entry.js +0 -50
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js +0 -165
- package/dist/cjs/ix-menu_9.cjs.entry.js +0 -888
- package/dist/cjs/ix-message-bar.cjs.entry.js +0 -58
- package/dist/cjs/ix-modal-example.cjs.entry.js +0 -24
- package/dist/cjs/ix-modal_2.cjs.entry.js +0 -14
- package/dist/cjs/ix-pill.cjs.entry.js +0 -40
- package/dist/cjs/ix-select_2.cjs.entry.js +0 -309
- package/dist/cjs/ix-spinner.cjs.entry.js +0 -30
- package/dist/cjs/ix-split-button_2.cjs.entry.js +0 -114
- package/dist/cjs/ix-tab-item.cjs.entry.js +0 -67
- package/dist/cjs/ix-tabs.cjs.entry.js +0 -187
- package/dist/cjs/ix-tile.cjs.entry.js +0 -27
- package/dist/cjs/ix-toast_2.cjs.entry.js +0 -159
- package/dist/cjs/ix-toggle.cjs.entry.js +0 -82
- package/dist/cjs/ix-tree_2.cjs.entry.js +0 -690
- package/dist/cjs/ix-upload.cjs.entry.js +0 -139
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +0 -107
- package/dist/cjs/ix-workflow-step_2.cjs.entry.js +0 -191
- package/dist/cjs/loader.cjs.js +0 -21
- package/dist/cjs/logical-filter-operator-467e2faf.js +0 -35
- package/dist/cjs/modal-5be2b1a3.js +0 -221
- package/dist/cjs/modal-utils-5d7bb217.js +0 -42
- package/dist/cjs/mutation-observer-29bedada.js +0 -13
- package/dist/cjs/my-component.cjs.entry.js +0 -19
- package/dist/cjs/popper-d7a0f999.js +0 -1801
- package/dist/cjs/rwd.util-482d41d4.js +0 -42
- package/dist/cjs/siemens-ix.cjs.js +0 -19
- package/dist/cjs/typed-event-8f5a32a2.js +0 -46
- package/dist/cjs/upload-file-state-923b2c65.js +0 -17
- package/dist/collection/collection-manifest.json +0 -264
- package/dist/collection/components/animated-tab/animated-tab.css +0 -14
- package/dist/collection/components/animated-tab/animated-tab.js +0 -59
- package/dist/collection/components/animated-tabs/animated-tabs.css +0 -158
- package/dist/collection/components/animated-tabs/animated-tabs.js +0 -303
- package/dist/collection/components/application-header/application-header.css +0 -30
- package/dist/collection/components/application-header/application-header.js +0 -56
- package/dist/collection/components/basic-navigation/basic-navigation.css +0 -29
- package/dist/collection/components/basic-navigation/basic-navigation.js +0 -91
- package/dist/collection/components/blind/blind.css +0 -146
- package/dist/collection/components/blind/blind.js +0 -152
- package/dist/collection/components/breadcrumb/breadcrumb.css +0 -228
- package/dist/collection/components/breadcrumb/breadcrumb.js +0 -252
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +0 -11
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +0 -59
- package/dist/collection/components/button/base-button.js +0 -29
- package/dist/collection/components/button/button.css +0 -15
- package/dist/collection/components/button/button.js +0 -192
- package/dist/collection/components/category-filter/category-filter.css +0 -188
- package/dist/collection/components/category-filter/category-filter.js +0 -704
- package/dist/collection/components/category-filter/filter-state.js +0 -10
- package/dist/collection/components/category-filter/input-state.js +0 -17
- package/dist/collection/components/category-filter/logical-filter-operator.js +0 -13
- package/dist/collection/components/chip/chip.css +0 -475
- package/dist/collection/components/chip/chip.js +0 -197
- package/dist/collection/components/counter-pill/counter-pill.css +0 -313
- package/dist/collection/components/counter-pill/counter-pill.js +0 -137
- package/dist/collection/components/date-picker/date-picker.css +0 -224
- package/dist/collection/components/date-picker/date-picker.js +0 -679
- package/dist/collection/components/date-picker/events.js +0 -1
- package/dist/collection/components/date-time-card/date-time-card.css +0 -51
- package/dist/collection/components/date-time-card/date-time-card.js +0 -89
- package/dist/collection/components/datetime-picker/datetime-picker.css +0 -44
- package/dist/collection/components/datetime-picker/datetime-picker.js +0 -501
- package/dist/collection/components/datetime-picker/event.js +0 -9
- package/dist/collection/components/drawer/drawer.css +0 -78
- package/dist/collection/components/drawer/drawer.js +0 -300
- package/dist/collection/components/dropdown/dropdown.css +0 -536
- package/dist/collection/components/dropdown/dropdown.js +0 -392
- package/dist/collection/components/dropdown-item/dropdown-item.css +0 -61
- package/dist/collection/components/dropdown-item/dropdown-item.js +0 -187
- package/dist/collection/components/event-list/event-list.css +0 -58
- package/dist/collection/components/event-list/event-list.js +0 -197
- package/dist/collection/components/event-list-item/event-list-item.css +0 -126
- package/dist/collection/components/event-list-item/event-list-item.js +0 -162
- package/dist/collection/components/expanding-search/expanding-search.css +0 -127
- package/dist/collection/components/expanding-search/expanding-search.js +0 -178
- package/dist/collection/components/filter-chip/filter-chip.css +0 -82
- package/dist/collection/components/filter-chip/filter-chip.js +0 -74
- package/dist/collection/components/flip-tile/flip-tile-state.js +0 -16
- package/dist/collection/components/flip-tile/flip-tile.css +0 -143
- package/dist/collection/components/flip-tile/flip-tile.js +0 -125
- package/dist/collection/components/flip-tile-content/flip-tile-content.css +0 -12
- package/dist/collection/components/flip-tile-content/flip-tile-content.js +0 -23
- package/dist/collection/components/group/group.css +0 -170
- package/dist/collection/components/group/group.js +0 -329
- package/dist/collection/components/group-dropdown-item/group-dropdown-item.css +0 -11
- package/dist/collection/components/group-dropdown-item/group-dropdown-item.js +0 -60
- package/dist/collection/components/group-item/group-item.css +0 -116
- package/dist/collection/components/group-item/group-item.js +0 -200
- package/dist/collection/components/icon/icon.css +0 -45
- package/dist/collection/components/icon/icon.js +0 -91
- package/dist/collection/components/icon-button/icon-button.js +0 -242
- package/dist/collection/components/input-group/input-group.css +0 -27
- package/dist/collection/components/input-group/input-group.js +0 -48
- package/dist/collection/components/kpi/kpi.css +0 -131
- package/dist/collection/components/kpi/kpi.js +0 -151
- package/dist/collection/components/map-navigation/map-navigation.css +0 -161
- package/dist/collection/components/map-navigation/map-navigation.js +0 -328
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +0 -237
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +0 -105
- package/dist/collection/components/menu/menu.css +0 -128
- package/dist/collection/components/menu/menu.js +0 -988
- package/dist/collection/components/menu-about/menu-about.css +0 -207
- package/dist/collection/components/menu-about/menu-about.js +0 -167
- package/dist/collection/components/menu-about-item/menu-about-item.css +0 -12
- package/dist/collection/components/menu-about-item/menu-about-item.js +0 -42
- package/dist/collection/components/menu-about-news/menu-about-news.css +0 -99
- package/dist/collection/components/menu-about-news/menu-about-news.js +0 -204
- package/dist/collection/components/menu-avatar/menu-avatar.css +0 -91
- package/dist/collection/components/menu-avatar/menu-avatar.js +0 -136
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +0 -12
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +0 -79
- package/dist/collection/components/menu-item/menu-item.css +0 -143
- package/dist/collection/components/menu-item/menu-item.js +0 -166
- package/dist/collection/components/menu-settings/menu-settings.css +0 -204
- package/dist/collection/components/menu-settings/menu-settings.js +0 -151
- package/dist/collection/components/menu-settings-item/menu-settings-item.css +0 -13
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +0 -42
- package/dist/collection/components/message-bar/message-bar.css +0 -68
- package/dist/collection/components/message-bar/message-bar.js +0 -125
- package/dist/collection/components/modal/modal-utils.js +0 -36
- package/dist/collection/components/modal/modal.css +0 -96
- package/dist/collection/components/modal/modal.js +0 -540
- package/dist/collection/components/modal-container/modal-container.css +0 -14
- package/dist/collection/components/modal-container/modal-container.js +0 -107
- package/dist/collection/components/my-component/example-modal.js +0 -31
- package/dist/collection/components/my-component/my-component.css +0 -34
- package/dist/collection/components/my-component/my-component.js +0 -22
- package/dist/collection/components/pill/pill.css +0 -269
- package/dist/collection/components/pill/pill.js +0 -155
- package/dist/collection/components/select/select.css +0 -176
- package/dist/collection/components/select/select.js +0 -509
- package/dist/collection/components/select-item/select-item.css +0 -14
- package/dist/collection/components/select-item/select-item.js +0 -169
- package/dist/collection/components/spinner/spinner.css +0 -42
- package/dist/collection/components/spinner/spinner.js +0 -137
- package/dist/collection/components/split-button/split-button.css +0 -11
- package/dist/collection/components/split-button/split-button.js +0 -310
- package/dist/collection/components/split-button-item/split-button-item.css +0 -12
- package/dist/collection/components/split-button-item/split-button-item.js +0 -79
- package/dist/collection/components/tab-item/tab-item.css +0 -195
- package/dist/collection/components/tab-item/tab-item.js +0 -219
- package/dist/collection/components/tabs/tabs.css +0 -84
- package/dist/collection/components/tabs/tabs.js +0 -305
- package/dist/collection/components/tile/tile.css +0 -92
- package/dist/collection/components/tile/tile.js +0 -60
- package/dist/collection/components/time-picker/time-picker.css +0 -94
- package/dist/collection/components/time-picker/time-picker.js +0 -431
- package/dist/collection/components/toast/toast-container.js +0 -170
- package/dist/collection/components/toast/toast-utils.js +0 -40
- package/dist/collection/components/toast/toast.css +0 -110
- package/dist/collection/components/toast/toast.js +0 -237
- package/dist/collection/components/toggle/toggle.css +0 -226
- package/dist/collection/components/toggle/toggle.js +0 -263
- package/dist/collection/components/tree/tree-model.js +0 -9
- package/dist/collection/components/tree/tree.css +0 -12
- package/dist/collection/components/tree/tree.js +0 -296
- package/dist/collection/components/tree-item/default-tree-item.js +0 -18
- package/dist/collection/components/tree-item/tree-item.css +0 -86
- package/dist/collection/components/tree-item/tree-item.js +0 -124
- package/dist/collection/components/upload/upload-file-state.js +0 -15
- package/dist/collection/components/upload/upload.css +0 -120
- package/dist/collection/components/upload/upload.js +0 -413
- package/dist/collection/components/utils/animation.js +0 -15
- package/dist/collection/components/utils/button-variants.js +0 -9
- package/dist/collection/components/utils/mutation-observer.js +0 -9
- package/dist/collection/components/utils/notification-color.js +0 -9
- package/dist/collection/components/utils/popover.util.js +0 -33
- package/dist/collection/components/utils/rwd.util.js +0 -37
- package/dist/collection/components/utils/toggle-theme.js +0 -24
- package/dist/collection/components/utils/typed-event.js +0 -42
- package/dist/collection/components/validation-tooltip/validation-tooltip.css +0 -236
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +0 -167
- package/dist/collection/components/workflow-step/workflow-step.css +0 -131
- package/dist/collection/components/workflow-step/workflow-step.js +0 -249
- package/dist/collection/components/workflow-steps/workflow-steps.css +0 -29
- package/dist/collection/components/workflow-steps/workflow-steps.js +0 -182
- package/dist/collection/env.js +0 -9
- package/dist/collection/exports.js +0 -15
- package/dist/collection/index.js +0 -16
- package/dist/collection/utils/test/index.js +0 -9
- package/dist/collection/utils/test/page.js +0 -29
- package/dist/components/_commonjsHelpers.js +0 -19
- package/dist/components/animation.js +0 -17
- package/dist/components/anime.es.js +0 -1309
- package/dist/components/application-header.js +0 -43
- package/dist/components/base-button.js +0 -31
- package/dist/components/button.js +0 -68
- package/dist/components/date-picker.js +0 -385
- package/dist/components/date-time-card.js +0 -49
- package/dist/components/default-tree-item.js +0 -20
- package/dist/components/dropdown-item.js +0 -73
- package/dist/components/dropdown.js +0 -181
- package/dist/components/filter-chip.js +0 -48
- package/dist/components/flip-tile-state.js +0 -18
- package/dist/components/group-item.js +0 -63
- package/dist/components/icon-button.js +0 -68
- package/dist/components/icon.js +0 -47
- package/dist/components/index.d.ts +0 -26
- package/dist/components/index.js +0 -62
- package/dist/components/ix-animated-tab.d.ts +0 -11
- package/dist/components/ix-animated-tab.js +0 -35
- package/dist/components/ix-animated-tabs.d.ts +0 -11
- package/dist/components/ix-animated-tabs.js +0 -229
- package/dist/components/ix-application-header.d.ts +0 -11
- package/dist/components/ix-application-header.js +0 -6
- package/dist/components/ix-basic-navigation.d.ts +0 -11
- package/dist/components/ix-basic-navigation.js +0 -66
- package/dist/components/ix-blind.d.ts +0 -11
- package/dist/components/ix-blind.js +0 -105
- package/dist/components/ix-breadcrumb-item.d.ts +0 -11
- package/dist/components/ix-breadcrumb-item.js +0 -35
- package/dist/components/ix-breadcrumb.d.ts +0 -11
- package/dist/components/ix-breadcrumb.js +0 -180
- package/dist/components/ix-button.d.ts +0 -11
- package/dist/components/ix-button.js +0 -6
- package/dist/components/ix-category-filter.d.ts +0 -11
- package/dist/components/ix-category-filter.js +0 -447
- package/dist/components/ix-chip.d.ts +0 -11
- package/dist/components/ix-chip.js +0 -74
- package/dist/components/ix-counter-pill.d.ts +0 -11
- package/dist/components/ix-counter-pill.js +0 -59
- package/dist/components/ix-date-picker.d.ts +0 -11
- package/dist/components/ix-date-picker.js +0 -6
- package/dist/components/ix-date-time-card.d.ts +0 -11
- package/dist/components/ix-date-time-card.js +0 -6
- package/dist/components/ix-datetime-picker.d.ts +0 -11
- package/dist/components/ix-datetime-picker.js +0 -184
- package/dist/components/ix-drawer.d.ts +0 -11
- package/dist/components/ix-drawer.js +0 -155
- package/dist/components/ix-dropdown-item.d.ts +0 -11
- package/dist/components/ix-dropdown-item.js +0 -6
- package/dist/components/ix-dropdown.d.ts +0 -11
- package/dist/components/ix-dropdown.js +0 -6
- package/dist/components/ix-event-list-item.d.ts +0 -11
- package/dist/components/ix-event-list-item.js +0 -59
- package/dist/components/ix-event-list.d.ts +0 -11
- package/dist/components/ix-event-list.js +0 -135
- package/dist/components/ix-expanding-search.d.ts +0 -11
- package/dist/components/ix-expanding-search.js +0 -124
- package/dist/components/ix-filter-chip.d.ts +0 -11
- package/dist/components/ix-filter-chip.js +0 -6
- package/dist/components/ix-flip-tile-content.d.ts +0 -11
- package/dist/components/ix-flip-tile-content.js +0 -33
- package/dist/components/ix-flip-tile.d.ts +0 -11
- package/dist/components/ix-flip-tile.js +0 -96
- package/dist/components/ix-group-dropdown-item.d.ts +0 -11
- package/dist/components/ix-group-dropdown-item.js +0 -47
- package/dist/components/ix-group-item.d.ts +0 -11
- package/dist/components/ix-group-item.js +0 -6
- package/dist/components/ix-group.d.ts +0 -11
- package/dist/components/ix-group.js +0 -174
- package/dist/components/ix-icon-button.d.ts +0 -11
- package/dist/components/ix-icon-button.js +0 -6
- package/dist/components/ix-icon.d.ts +0 -11
- package/dist/components/ix-icon.js +0 -6
- package/dist/components/ix-input-group.d.ts +0 -11
- package/dist/components/ix-input-group.js +0 -53
- package/dist/components/ix-kpi.d.ts +0 -11
- package/dist/components/ix-kpi.js +0 -75
- package/dist/components/ix-map-navigation-overlay.d.ts +0 -11
- package/dist/components/ix-map-navigation-overlay.js +0 -6
- package/dist/components/ix-map-navigation.d.ts +0 -11
- package/dist/components/ix-map-navigation.js +0 -182
- package/dist/components/ix-menu-about-item.d.ts +0 -11
- package/dist/components/ix-menu-about-item.js +0 -34
- package/dist/components/ix-menu-about-news.d.ts +0 -11
- package/dist/components/ix-menu-about-news.js +0 -78
- package/dist/components/ix-menu-about.d.ts +0 -11
- package/dist/components/ix-menu-about.js +0 -120
- package/dist/components/ix-menu-avatar-item.d.ts +0 -11
- package/dist/components/ix-menu-avatar-item.js +0 -6
- package/dist/components/ix-menu-avatar.d.ts +0 -11
- package/dist/components/ix-menu-avatar.js +0 -83
- package/dist/components/ix-menu-item.d.ts +0 -11
- package/dist/components/ix-menu-item.js +0 -6
- package/dist/components/ix-menu-settings-item.d.ts +0 -11
- package/dist/components/ix-menu-settings-item.js +0 -34
- package/dist/components/ix-menu-settings.d.ts +0 -11
- package/dist/components/ix-menu-settings.js +0 -107
- package/dist/components/ix-menu.d.ts +0 -11
- package/dist/components/ix-menu.js +0 -619
- package/dist/components/ix-message-bar.d.ts +0 -11
- package/dist/components/ix-message-bar.js +0 -88
- package/dist/components/ix-modal-container.d.ts +0 -11
- package/dist/components/ix-modal-container.js +0 -6
- package/dist/components/ix-modal-example.d.ts +0 -11
- package/dist/components/ix-modal-example.js +0 -67
- package/dist/components/ix-modal.d.ts +0 -11
- package/dist/components/ix-modal.js +0 -6
- package/dist/components/ix-pill.d.ts +0 -11
- package/dist/components/ix-pill.js +0 -66
- package/dist/components/ix-select-item.d.ts +0 -11
- package/dist/components/ix-select-item.js +0 -6
- package/dist/components/ix-select.d.ts +0 -11
- package/dist/components/ix-select.js +0 -339
- package/dist/components/ix-spinner.d.ts +0 -11
- package/dist/components/ix-spinner.js +0 -6
- package/dist/components/ix-split-button-item.d.ts +0 -11
- package/dist/components/ix-split-button-item.js +0 -49
- package/dist/components/ix-split-button.d.ts +0 -11
- package/dist/components/ix-split-button.js +0 -135
- package/dist/components/ix-tab-item.d.ts +0 -11
- package/dist/components/ix-tab-item.js +0 -6
- package/dist/components/ix-tabs.d.ts +0 -11
- package/dist/components/ix-tabs.js +0 -6
- package/dist/components/ix-tile.d.ts +0 -11
- package/dist/components/ix-tile.js +0 -42
- package/dist/components/ix-time-picker.d.ts +0 -11
- package/dist/components/ix-time-picker.js +0 -6
- package/dist/components/ix-toast-container.d.ts +0 -11
- package/dist/components/ix-toast-container.js +0 -110
- package/dist/components/ix-toast.d.ts +0 -11
- package/dist/components/ix-toast.js +0 -6
- package/dist/components/ix-toggle.d.ts +0 -11
- package/dist/components/ix-toggle.js +0 -104
- package/dist/components/ix-tree-item.d.ts +0 -11
- package/dist/components/ix-tree-item.js +0 -6
- package/dist/components/ix-tree.d.ts +0 -11
- package/dist/components/ix-tree.js +0 -694
- package/dist/components/ix-upload.d.ts +0 -11
- package/dist/components/ix-upload.js +0 -178
- package/dist/components/ix-validation-tooltip.d.ts +0 -11
- package/dist/components/ix-validation-tooltip.js +0 -124
- package/dist/components/ix-workflow-step.d.ts +0 -11
- package/dist/components/ix-workflow-step.js +0 -142
- package/dist/components/ix-workflow-steps.d.ts +0 -11
- package/dist/components/ix-workflow-steps.js +0 -101
- package/dist/components/logical-filter-operator.js +0 -33
- package/dist/components/luxon.js +0 -8584
- package/dist/components/map-navigation-overlay.js +0 -53
- package/dist/components/menu-avatar-item.js +0 -46
- package/dist/components/menu-item.js +0 -65
- package/dist/components/modal-container.js +0 -99
- package/dist/components/modal-utils.js +0 -38
- package/dist/components/modal.js +0 -189
- package/dist/components/mutation-observer.js +0 -11
- package/dist/components/my-component.d.ts +0 -11
- package/dist/components/my-component.js +0 -32
- package/dist/components/popover.util.js +0 -36
- package/dist/components/popper.js +0 -1799
- package/dist/components/rwd.util.js +0 -39
- package/dist/components/select-item.js +0 -71
- package/dist/components/spinner.js +0 -43
- package/dist/components/tab-item.js +0 -86
- package/dist/components/tabs.js +0 -207
- package/dist/components/time-picker.js +0 -193
- package/dist/components/toast.js +0 -123
- package/dist/components/tree-item.js +0 -52
- package/dist/components/typed-event.js +0 -44
- package/dist/components/upload-file-state.js +0 -17
- package/dist/esm/_commonjsHelpers-4bc7200a.js +0 -19
- package/dist/esm/animation-b667a4c4.js +0 -17
- package/dist/esm/anime.es-185e9087.js +0 -1309
- package/dist/esm/base-button-7bfb747f.js +0 -31
- package/dist/esm/default-tree-item-638c435a.js +0 -20
- package/dist/esm/flip-tile-state-28a1f8ce.js +0 -18
- package/dist/esm/index-55cfd20d.js +0 -1819
- package/dist/esm/index.js +0 -64
- package/dist/esm/ix-animated-tab_2.entry.js +0 -212
- package/dist/esm/ix-application-header.entry.js +0 -26
- package/dist/esm/ix-basic-navigation.entry.js +0 -40
- package/dist/esm/ix-blind.entry.js +0 -85
- package/dist/esm/ix-breadcrumb_2.entry.js +0 -150
- package/dist/esm/ix-button.entry.js +0 -46
- package/dist/esm/ix-category-filter.entry.js +0 -395
- package/dist/esm/ix-chip.entry.js +0 -43
- package/dist/esm/ix-counter-pill.entry.js +0 -36
- package/dist/esm/ix-date-picker_2.entry.js +0 -9034
- package/dist/esm/ix-date-time-card.entry.js +0 -32
- package/dist/esm/ix-datetime-picker.entry.js +0 -109
- package/dist/esm/ix-drawer.entry.js +0 -118
- package/dist/esm/ix-dropdown_2.entry.js +0 -198
- package/dist/esm/ix-event-list_2.entry.js +0 -146
- package/dist/esm/ix-expanding-search.entry.js +0 -88
- package/dist/esm/ix-filter-chip.entry.js +0 -26
- package/dist/esm/ix-flip-tile_2.entry.js +0 -74
- package/dist/esm/ix-group_3.entry.js +0 -168
- package/dist/esm/ix-icon-button.entry.js +0 -36
- package/dist/esm/ix-icon.entry.js +0 -29
- package/dist/esm/ix-input-group.entry.js +0 -36
- package/dist/esm/ix-kpi.entry.js +0 -46
- package/dist/esm/ix-map-navigation_2.entry.js +0 -160
- package/dist/esm/ix-menu_9.entry.js +0 -876
- package/dist/esm/ix-message-bar.entry.js +0 -54
- package/dist/esm/ix-modal-example.entry.js +0 -20
- package/dist/esm/ix-modal_2.entry.js +0 -5
- package/dist/esm/ix-pill.entry.js +0 -36
- package/dist/esm/ix-select_2.entry.js +0 -304
- package/dist/esm/ix-spinner.entry.js +0 -26
- package/dist/esm/ix-split-button_2.entry.js +0 -109
- package/dist/esm/ix-tab-item.entry.js +0 -63
- package/dist/esm/ix-tabs.entry.js +0 -183
- package/dist/esm/ix-tile.entry.js +0 -23
- package/dist/esm/ix-toast_2.entry.js +0 -154
- package/dist/esm/ix-toggle.entry.js +0 -78
- package/dist/esm/ix-tree_2.entry.js +0 -685
- package/dist/esm/ix-upload.entry.js +0 -135
- package/dist/esm/ix-validation-tooltip.entry.js +0 -103
- package/dist/esm/ix-workflow-step_2.entry.js +0 -186
- package/dist/esm/loader.js +0 -17
- package/dist/esm/logical-filter-operator-1bf83315.js +0 -33
- package/dist/esm/modal-8ed87a6c.js +0 -218
- package/dist/esm/modal-utils-ec39c1bc.js +0 -38
- package/dist/esm/mutation-observer-379959bb.js +0 -11
- package/dist/esm/my-component.entry.js +0 -15
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/popper-42db9fbd.js +0 -1799
- package/dist/esm/rwd.util-33a69d24.js +0 -39
- package/dist/esm/siemens-ix.js +0 -17
- package/dist/esm/typed-event-dd6c83dd.js +0 -44
- package/dist/esm/upload-file-state-631bb8a2.js +0 -17
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/siemens-ix/index.esm.js +0 -1
- package/dist/siemens-ix/p-02501b64.entry.js +0 -1
- package/dist/siemens-ix/p-03ef9fe5.entry.js +0 -1
- package/dist/siemens-ix/p-0a12b3df.js +0 -1
- package/dist/siemens-ix/p-0bf04780.js +0 -1
- package/dist/siemens-ix/p-0e315bd7.entry.js +0 -1
- package/dist/siemens-ix/p-1c82637e.js +0 -1
- package/dist/siemens-ix/p-1d30454e.js +0 -1
- package/dist/siemens-ix/p-1d56d9b6.entry.js +0 -1
- package/dist/siemens-ix/p-235606b2.entry.js +0 -1
- package/dist/siemens-ix/p-2b7ed5d4.entry.js +0 -1
- package/dist/siemens-ix/p-301ddeb7.js +0 -1
- package/dist/siemens-ix/p-334b7d5c.entry.js +0 -1
- package/dist/siemens-ix/p-37417714.js +0 -1
- package/dist/siemens-ix/p-3f809fb3.entry.js +0 -1
- package/dist/siemens-ix/p-4287bd7e.entry.js +0 -1
- package/dist/siemens-ix/p-47ea9884.js +0 -1
- package/dist/siemens-ix/p-52d99490.entry.js +0 -1
- package/dist/siemens-ix/p-5a1dcc74.js +0 -1
- package/dist/siemens-ix/p-5f9f25ef.entry.js +0 -1
- package/dist/siemens-ix/p-5fed62f8.entry.js +0 -1
- package/dist/siemens-ix/p-6726f740.entry.js +0 -1
- package/dist/siemens-ix/p-67c2bca6.entry.js +0 -1
- package/dist/siemens-ix/p-6f625f0e.js +0 -1
- package/dist/siemens-ix/p-71de6498.entry.js +0 -1
- package/dist/siemens-ix/p-77823732.entry.js +0 -1
- package/dist/siemens-ix/p-78df1e46.entry.js +0 -1
- package/dist/siemens-ix/p-7d667916.entry.js +0 -1
- package/dist/siemens-ix/p-7f5a2e3c.entry.js +0 -1
- package/dist/siemens-ix/p-810b5232.js +0 -1
- package/dist/siemens-ix/p-81e46337.entry.js +0 -1
- package/dist/siemens-ix/p-8239c3a1.entry.js +0 -1
- package/dist/siemens-ix/p-893b7bf6.entry.js +0 -1
- package/dist/siemens-ix/p-94b86dec.entry.js +0 -1
- package/dist/siemens-ix/p-a49005f3.entry.js +0 -1
- package/dist/siemens-ix/p-a8396077.entry.js +0 -1
- package/dist/siemens-ix/p-ab715295.entry.js +0 -1
- package/dist/siemens-ix/p-b4003026.entry.js +0 -1
- package/dist/siemens-ix/p-b93c2fab.entry.js +0 -1
- package/dist/siemens-ix/p-bd15d8ca.entry.js +0 -1
- package/dist/siemens-ix/p-bdd294d2.js +0 -1
- package/dist/siemens-ix/p-be1ec062.entry.js +0 -1
- package/dist/siemens-ix/p-bf5513a0.entry.js +0 -1
- package/dist/siemens-ix/p-c0c9fb81.entry.js +0 -1
- package/dist/siemens-ix/p-c3738ffc.entry.js +0 -1
- package/dist/siemens-ix/p-c792adb4.entry.js +0 -1
- package/dist/siemens-ix/p-c9a5d942.entry.js +0 -1
- package/dist/siemens-ix/p-cb6e62ff.entry.js +0 -1
- package/dist/siemens-ix/p-cbd0f8a7.entry.js +0 -1
- package/dist/siemens-ix/p-d23706a7.js +0 -1
- package/dist/siemens-ix/p-d2fc562a.entry.js +0 -1
- package/dist/siemens-ix/p-da2cae32.js +0 -1
- package/dist/siemens-ix/p-df43662b.entry.js +0 -1
- package/dist/siemens-ix/p-f2636faf.entry.js +0 -1
- package/dist/siemens-ix/p-f86fcdf4.js +0 -1
- package/dist/siemens-ix/p-fa44655a.entry.js +0 -1
- package/dist/siemens-ix/p-fbe40498.js +0 -1
- package/dist/siemens-ix/p-fe5db4d1.entry.js +0 -1
- package/dist/siemens-ix/siemens-ix.css +0 -19249
- package/dist/siemens-ix/siemens-ix.esm.js +0 -1
- package/dist/types/components/animated-tab/animated-tab.d.ts +0 -11
- package/dist/types/components/animated-tabs/animated-tabs.d.ts +0 -44
- package/dist/types/components/application-header/application-header.d.ts +0 -10
- package/dist/types/components/basic-navigation/basic-navigation.d.ts +0 -16
- package/dist/types/components/blind/blind.d.ts +0 -26
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +0 -48
- package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +0 -11
- package/dist/types/components/button/base-button.d.ts +0 -13
- package/dist/types/components/button/button.d.ts +0 -34
- package/dist/types/components/category-filter/category-filter.d.ts +0 -129
- package/dist/types/components/category-filter/filter-state.d.ts +0 -9
- package/dist/types/components/category-filter/input-state.d.ts +0 -6
- package/dist/types/components/category-filter/logical-filter-operator.d.ts +0 -4
- package/dist/types/components/chip/chip.d.ts +0 -38
- package/dist/types/components/counter-pill/counter-pill.d.ts +0 -24
- package/dist/types/components/date-picker/date-picker.d.ts +0 -136
- package/dist/types/components/date-picker/events.d.ts +0 -5
- package/dist/types/components/date-time-card/date-time-card.d.ts +0 -14
- package/dist/types/components/datetime-picker/datetime-picker.d.ts +0 -128
- package/dist/types/components/datetime-picker/event.d.ts +0 -5
- package/dist/types/components/drawer/drawer.d.ts +0 -49
- package/dist/types/components/dropdown/dropdown.d.ts +0 -70
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +0 -33
- package/dist/types/components/event-list/event-list.d.ts +0 -31
- package/dist/types/components/event-list-item/event-list-item.d.ts +0 -34
- package/dist/types/components/expanding-search/expanding-search.d.ts +0 -31
- package/dist/types/components/filter-chip/filter-chip.d.ts +0 -14
- package/dist/types/components/flip-tile/flip-tile-state.d.ts +0 -7
- package/dist/types/components/flip-tile/flip-tile.d.ts +0 -22
- package/dist/types/components/flip-tile-content/flip-tile-content.d.ts +0 -3
- package/dist/types/components/group/group.d.ts +0 -59
- package/dist/types/components/group-dropdown-item/group-dropdown-item.d.ts +0 -11
- package/dist/types/components/group-item/group-item.d.ts +0 -39
- package/dist/types/components/icon/icon.d.ts +0 -15
- package/dist/types/components/icon-button/icon-button.d.ts +0 -51
- package/dist/types/components/input-group/input-group.d.ts +0 -5
- package/dist/types/components/kpi/kpi.d.ts +0 -25
- package/dist/types/components/map-navigation/map-navigation.d.ts +0 -51
- package/dist/types/components/map-navigation-overlay/map-navigation-overlay.d.ts +0 -20
- package/dist/types/components/menu/menu.d.ts +0 -145
- package/dist/types/components/menu-about/menu-about.d.ts +0 -31
- package/dist/types/components/menu-about-item/menu-about-item.d.ts +0 -7
- package/dist/types/components/menu-about-news/menu-about-news.d.ts +0 -36
- package/dist/types/components/menu-avatar/menu-avatar.d.ts +0 -26
- package/dist/types/components/menu-avatar-item/menu-avatar-item.d.ts +0 -17
- package/dist/types/components/menu-item/menu-item.d.ts +0 -31
- package/dist/types/components/menu-settings/menu-settings.d.ts +0 -27
- package/dist/types/components/menu-settings-item/menu-settings-item.d.ts +0 -7
- package/dist/types/components/message-bar/message-bar.d.ts +0 -23
- package/dist/types/components/modal/modal-utils.d.ts +0 -26
- package/dist/types/components/modal/modal.d.ts +0 -99
- package/dist/types/components/modal-container/modal-container.d.ts +0 -15
- package/dist/types/components/my-component/example-modal.d.ts +0 -6
- package/dist/types/components/my-component/my-component.d.ts +0 -3
- package/dist/types/components/pill/pill.d.ts +0 -28
- package/dist/types/components/select/select.d.ts +0 -83
- package/dist/types/components/select-item/select-item.d.ts +0 -31
- package/dist/types/components/spinner/spinner.d.ts +0 -11
- package/dist/types/components/split-button/split-button.d.ts +0 -57
- package/dist/types/components/split-button-item/split-button-item.d.ts +0 -17
- package/dist/types/components/tab-item/tab-item.d.ts +0 -36
- package/dist/types/components/tabs/tabs.d.ts +0 -46
- package/dist/types/components/tile/tile.d.ts +0 -7
- package/dist/types/components/time-picker/time-picker.d.ts +0 -80
- package/dist/types/components/toast/toast-container.d.ts +0 -25
- package/dist/types/components/toast/toast-utils.d.ts +0 -33
- package/dist/types/components/toast/toast.d.ts +0 -39
- package/dist/types/components/toggle/toggle.d.ts +0 -45
- package/dist/types/components/tree/tree-model.d.ts +0 -17
- package/dist/types/components/tree/tree.d.ts +0 -44
- package/dist/types/components/tree-item/default-tree-item.d.ts +0 -6
- package/dist/types/components/tree-item/tree-item.d.ts +0 -25
- package/dist/types/components/upload/upload-file-state.d.ts +0 -6
- package/dist/types/components/upload/upload.d.ts +0 -70
- package/dist/types/components/utils/animation.d.ts +0 -7
- package/dist/types/components/utils/button-variants.d.ts +0 -1
- package/dist/types/components/utils/mutation-observer.d.ts +0 -1
- package/dist/types/components/utils/notification-color.d.ts +0 -4
- package/dist/types/components/utils/popover.util.d.ts +0 -9
- package/dist/types/components/utils/rwd.util.d.ts +0 -2
- package/dist/types/components/utils/toggle-theme.d.ts +0 -1
- package/dist/types/components/utils/typed-event.d.ts +0 -15
- package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +0 -31
- package/dist/types/components/workflow-step/workflow-step.d.ts +0 -35
- package/dist/types/components/workflow-steps/workflow-steps.d.ts +0 -29
- package/dist/types/components.d.ts +0 -3689
- package/dist/types/env.d.ts +0 -1
- package/dist/types/exports.d.ts +0 -7
- package/dist/types/index.d.ts +0 -11
- package/dist/types/stencil-public-runtime.d.ts +0 -1565
- package/dist/types/utils/test/index.d.ts +0 -1
- package/dist/types/utils/test/page.d.ts +0 -3
- package/loader/cdn.js +0 -3
- package/loader/index.cjs.js +0 -3
- package/loader/index.d.ts +0 -12
- package/loader/index.es2017.js +0 -3
- package/loader/index.js +0 -4
- package/loader/package.json +0 -10
|
@@ -1,392 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2022 Siemens AG
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: MIT
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
import { createPopper } from '@popperjs/core';
|
|
10
|
-
import { Component, Element, Event, h, Host, Listen, Method, Prop, Watch } from '@stencil/core';
|
|
11
|
-
export class Dropdown {
|
|
12
|
-
constructor() {
|
|
13
|
-
/**
|
|
14
|
-
* Show dropdown
|
|
15
|
-
*/
|
|
16
|
-
this.show = false;
|
|
17
|
-
/**
|
|
18
|
-
* Close behavior
|
|
19
|
-
*/
|
|
20
|
-
this.closeBehavior = 'both';
|
|
21
|
-
/**
|
|
22
|
-
* Placement of the dropdown
|
|
23
|
-
*/
|
|
24
|
-
this.placement = 'bottom-end';
|
|
25
|
-
/**
|
|
26
|
-
* Position strategy
|
|
27
|
-
*/
|
|
28
|
-
this.positioningStrategy = 'fixed';
|
|
29
|
-
/**
|
|
30
|
-
* Adjust dropdown width to the parent width
|
|
31
|
-
* @deprecated - property has a typo and will get removed in the next major version. Use `adjustDropdownWidthToReferenceWidth` instead.
|
|
32
|
-
*/
|
|
33
|
-
this.adjustDropdownWidthToReferenceWith = false;
|
|
34
|
-
/**
|
|
35
|
-
* Adjust dropdown width to the parent width
|
|
36
|
-
*/
|
|
37
|
-
this.adjustDropdownWidthToReferenceWidth = false;
|
|
38
|
-
this.openBind = this.open.bind(this);
|
|
39
|
-
}
|
|
40
|
-
get dropdownItems() {
|
|
41
|
-
return Array.from(this.hostElement.querySelectorAll('ix-dropdown-item'));
|
|
42
|
-
}
|
|
43
|
-
resolveElement(prop) {
|
|
44
|
-
if (typeof prop === 'string') {
|
|
45
|
-
return document.querySelector('#' + prop);
|
|
46
|
-
}
|
|
47
|
-
return prop;
|
|
48
|
-
}
|
|
49
|
-
async componentDidLoad() {
|
|
50
|
-
if (this.trigger) {
|
|
51
|
-
this.registerListener(this.trigger);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
registerListener(element) {
|
|
55
|
-
this.triggerElement = this.resolveElement(element);
|
|
56
|
-
this.triggerElement.addEventListener('click', this.openBind);
|
|
57
|
-
}
|
|
58
|
-
unregisterListener(element) {
|
|
59
|
-
const trigger = this.resolveElement(element);
|
|
60
|
-
trigger.removeEventListener('click', this.openBind);
|
|
61
|
-
}
|
|
62
|
-
componentDidRender() {
|
|
63
|
-
var _a;
|
|
64
|
-
(_a = this.popperInstance) === null || _a === void 0 ? void 0 : _a.update();
|
|
65
|
-
}
|
|
66
|
-
async changedShow(newShow) {
|
|
67
|
-
var _a;
|
|
68
|
-
if (newShow) {
|
|
69
|
-
this.anchorElement = this.anchor
|
|
70
|
-
? this.resolveElement(this.anchor)
|
|
71
|
-
: this.resolveElement(this.trigger);
|
|
72
|
-
if (this.anchorElement) {
|
|
73
|
-
(_a = this.popperInstance) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
74
|
-
this.popperInstance = createPopper(this.anchorElement, this.dropdownRef, {
|
|
75
|
-
placement: this.placement,
|
|
76
|
-
strategy: this.positioningStrategy,
|
|
77
|
-
onFirstUpdate: ({ elements }) => {
|
|
78
|
-
if (this.adjustDropdownWidthToReferenceWith ||
|
|
79
|
-
this.adjustDropdownWidthToReferenceWidth) {
|
|
80
|
-
const { popper, reference } = elements;
|
|
81
|
-
const width = reference.getBoundingClientRect().width;
|
|
82
|
-
popper.style.width = `${width}px`;
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
changedTrigger(newTriggerValue, oldTriggerValue) {
|
|
90
|
-
if (newTriggerValue) {
|
|
91
|
-
this.registerListener(newTriggerValue);
|
|
92
|
-
}
|
|
93
|
-
if (oldTriggerValue) {
|
|
94
|
-
this.unregisterListener(oldTriggerValue);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
clickOutside(event) {
|
|
98
|
-
const target = event.target;
|
|
99
|
-
if (this.show === false ||
|
|
100
|
-
this.closeBehavior === false ||
|
|
101
|
-
this.anchorElement === target ||
|
|
102
|
-
this.triggerElement === target) {
|
|
103
|
-
return;
|
|
104
|
-
}
|
|
105
|
-
switch (this.closeBehavior) {
|
|
106
|
-
case 'outside':
|
|
107
|
-
if (!this.dropdownRef.contains(target)) {
|
|
108
|
-
this.close();
|
|
109
|
-
}
|
|
110
|
-
break;
|
|
111
|
-
case 'inside':
|
|
112
|
-
if (this.dropdownRef.contains(target)) {
|
|
113
|
-
this.close();
|
|
114
|
-
}
|
|
115
|
-
break;
|
|
116
|
-
default:
|
|
117
|
-
this.close();
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
open(event) {
|
|
121
|
-
event === null || event === void 0 ? void 0 : event.preventDefault();
|
|
122
|
-
event === null || event === void 0 ? void 0 : event.stopPropagation();
|
|
123
|
-
this.show = !this.show;
|
|
124
|
-
this.showChanged.emit(this.show);
|
|
125
|
-
}
|
|
126
|
-
close() {
|
|
127
|
-
this.show = false;
|
|
128
|
-
this.showChanged.emit(this.show);
|
|
129
|
-
}
|
|
130
|
-
disconnectedCallback() {
|
|
131
|
-
var _a;
|
|
132
|
-
(_a = this.popperInstance) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
133
|
-
}
|
|
134
|
-
/**
|
|
135
|
-
* Update position of dropdown
|
|
136
|
-
*/
|
|
137
|
-
async updatePosition() {
|
|
138
|
-
var _a;
|
|
139
|
-
await ((_a = this.popperInstance) === null || _a === void 0 ? void 0 : _a.update());
|
|
140
|
-
}
|
|
141
|
-
render() {
|
|
142
|
-
return (h(Host, { ref: (ref) => (this.dropdownRef = ref), class: {
|
|
143
|
-
'dropdown-menu': true,
|
|
144
|
-
show: this.show,
|
|
145
|
-
}, style: {
|
|
146
|
-
margin: '0',
|
|
147
|
-
minWidth: '0px',
|
|
148
|
-
} },
|
|
149
|
-
h("div", { style: { display: 'contents' } },
|
|
150
|
-
this.header ? h("div", { class: "dropdown-header" }, this.header) : '',
|
|
151
|
-
h("slot", null))));
|
|
152
|
-
}
|
|
153
|
-
static get is() { return "ix-dropdown"; }
|
|
154
|
-
static get encapsulation() { return "shadow"; }
|
|
155
|
-
static get originalStyleUrls() { return {
|
|
156
|
-
"$": ["dropdown.scss"]
|
|
157
|
-
}; }
|
|
158
|
-
static get styleUrls() { return {
|
|
159
|
-
"$": ["dropdown.css"]
|
|
160
|
-
}; }
|
|
161
|
-
static get properties() { return {
|
|
162
|
-
"show": {
|
|
163
|
-
"type": "boolean",
|
|
164
|
-
"mutable": true,
|
|
165
|
-
"complexType": {
|
|
166
|
-
"original": "boolean",
|
|
167
|
-
"resolved": "boolean",
|
|
168
|
-
"references": {}
|
|
169
|
-
},
|
|
170
|
-
"required": false,
|
|
171
|
-
"optional": false,
|
|
172
|
-
"docs": {
|
|
173
|
-
"tags": [],
|
|
174
|
-
"text": "Show dropdown"
|
|
175
|
-
},
|
|
176
|
-
"attribute": "show",
|
|
177
|
-
"reflect": true,
|
|
178
|
-
"defaultValue": "false"
|
|
179
|
-
},
|
|
180
|
-
"trigger": {
|
|
181
|
-
"type": "string",
|
|
182
|
-
"mutable": false,
|
|
183
|
-
"complexType": {
|
|
184
|
-
"original": "string | HTMLElement",
|
|
185
|
-
"resolved": "HTMLElement | string",
|
|
186
|
-
"references": {
|
|
187
|
-
"HTMLElement": {
|
|
188
|
-
"location": "global"
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
},
|
|
192
|
-
"required": false,
|
|
193
|
-
"optional": false,
|
|
194
|
-
"docs": {
|
|
195
|
-
"tags": [],
|
|
196
|
-
"text": "Define an element that triggers the dropdown.\nA trigger can either be a string that will be interprated as id attribute or a DOM element."
|
|
197
|
-
},
|
|
198
|
-
"attribute": "trigger",
|
|
199
|
-
"reflect": false
|
|
200
|
-
},
|
|
201
|
-
"anchor": {
|
|
202
|
-
"type": "string",
|
|
203
|
-
"mutable": false,
|
|
204
|
-
"complexType": {
|
|
205
|
-
"original": "string | HTMLElement",
|
|
206
|
-
"resolved": "HTMLElement | string",
|
|
207
|
-
"references": {
|
|
208
|
-
"HTMLElement": {
|
|
209
|
-
"location": "global"
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
"required": false,
|
|
214
|
-
"optional": false,
|
|
215
|
-
"docs": {
|
|
216
|
-
"tags": [],
|
|
217
|
-
"text": "Define an anchor element"
|
|
218
|
-
},
|
|
219
|
-
"attribute": "anchor",
|
|
220
|
-
"reflect": false
|
|
221
|
-
},
|
|
222
|
-
"closeBehavior": {
|
|
223
|
-
"type": "any",
|
|
224
|
-
"mutable": false,
|
|
225
|
-
"complexType": {
|
|
226
|
-
"original": "'inside' | 'outside' | 'both' | boolean",
|
|
227
|
-
"resolved": "\"both\" | \"inside\" | \"outside\" | boolean",
|
|
228
|
-
"references": {}
|
|
229
|
-
},
|
|
230
|
-
"required": false,
|
|
231
|
-
"optional": false,
|
|
232
|
-
"docs": {
|
|
233
|
-
"tags": [],
|
|
234
|
-
"text": "Close behavior"
|
|
235
|
-
},
|
|
236
|
-
"attribute": "close-behavior",
|
|
237
|
-
"reflect": false,
|
|
238
|
-
"defaultValue": "'both'"
|
|
239
|
-
},
|
|
240
|
-
"placement": {
|
|
241
|
-
"type": "string",
|
|
242
|
-
"mutable": false,
|
|
243
|
-
"complexType": {
|
|
244
|
-
"original": "Placement",
|
|
245
|
-
"resolved": "\"auto\" | \"auto-end\" | \"auto-start\" | \"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
|
|
246
|
-
"references": {
|
|
247
|
-
"Placement": {
|
|
248
|
-
"location": "import",
|
|
249
|
-
"path": "@popperjs/core"
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
},
|
|
253
|
-
"required": false,
|
|
254
|
-
"optional": false,
|
|
255
|
-
"docs": {
|
|
256
|
-
"tags": [],
|
|
257
|
-
"text": "Placement of the dropdown"
|
|
258
|
-
},
|
|
259
|
-
"attribute": "placement",
|
|
260
|
-
"reflect": false,
|
|
261
|
-
"defaultValue": "'bottom-end'"
|
|
262
|
-
},
|
|
263
|
-
"positioningStrategy": {
|
|
264
|
-
"type": "string",
|
|
265
|
-
"mutable": false,
|
|
266
|
-
"complexType": {
|
|
267
|
-
"original": "PositioningStrategy",
|
|
268
|
-
"resolved": "\"absolute\" | \"fixed\"",
|
|
269
|
-
"references": {
|
|
270
|
-
"PositioningStrategy": {
|
|
271
|
-
"location": "import",
|
|
272
|
-
"path": "@popperjs/core"
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
},
|
|
276
|
-
"required": false,
|
|
277
|
-
"optional": false,
|
|
278
|
-
"docs": {
|
|
279
|
-
"tags": [],
|
|
280
|
-
"text": "Position strategy"
|
|
281
|
-
},
|
|
282
|
-
"attribute": "positioning-strategy",
|
|
283
|
-
"reflect": false,
|
|
284
|
-
"defaultValue": "'fixed'"
|
|
285
|
-
},
|
|
286
|
-
"adjustDropdownWidthToReferenceWith": {
|
|
287
|
-
"type": "boolean",
|
|
288
|
-
"mutable": false,
|
|
289
|
-
"complexType": {
|
|
290
|
-
"original": "boolean",
|
|
291
|
-
"resolved": "boolean",
|
|
292
|
-
"references": {}
|
|
293
|
-
},
|
|
294
|
-
"required": false,
|
|
295
|
-
"optional": false,
|
|
296
|
-
"docs": {
|
|
297
|
-
"tags": [{
|
|
298
|
-
"name": "deprecated",
|
|
299
|
-
"text": "- property has a typo and will get removed in the next major version. Use `adjustDropdownWidthToReferenceWidth` instead."
|
|
300
|
-
}],
|
|
301
|
-
"text": "Adjust dropdown width to the parent width"
|
|
302
|
-
},
|
|
303
|
-
"attribute": "adjust-dropdown-width-to-reference-with",
|
|
304
|
-
"reflect": false,
|
|
305
|
-
"defaultValue": "false"
|
|
306
|
-
},
|
|
307
|
-
"adjustDropdownWidthToReferenceWidth": {
|
|
308
|
-
"type": "boolean",
|
|
309
|
-
"mutable": false,
|
|
310
|
-
"complexType": {
|
|
311
|
-
"original": "boolean",
|
|
312
|
-
"resolved": "boolean",
|
|
313
|
-
"references": {}
|
|
314
|
-
},
|
|
315
|
-
"required": false,
|
|
316
|
-
"optional": false,
|
|
317
|
-
"docs": {
|
|
318
|
-
"tags": [],
|
|
319
|
-
"text": "Adjust dropdown width to the parent width"
|
|
320
|
-
},
|
|
321
|
-
"attribute": "adjust-dropdown-width-to-reference-width",
|
|
322
|
-
"reflect": false,
|
|
323
|
-
"defaultValue": "false"
|
|
324
|
-
},
|
|
325
|
-
"header": {
|
|
326
|
-
"type": "string",
|
|
327
|
-
"mutable": false,
|
|
328
|
-
"complexType": {
|
|
329
|
-
"original": "string",
|
|
330
|
-
"resolved": "string",
|
|
331
|
-
"references": {}
|
|
332
|
-
},
|
|
333
|
-
"required": false,
|
|
334
|
-
"optional": true,
|
|
335
|
-
"docs": {
|
|
336
|
-
"tags": [],
|
|
337
|
-
"text": "An optional header shown at the top of the dropdown"
|
|
338
|
-
},
|
|
339
|
-
"attribute": "header",
|
|
340
|
-
"reflect": false
|
|
341
|
-
}
|
|
342
|
-
}; }
|
|
343
|
-
static get events() { return [{
|
|
344
|
-
"method": "showChanged",
|
|
345
|
-
"name": "showChanged",
|
|
346
|
-
"bubbles": true,
|
|
347
|
-
"cancelable": true,
|
|
348
|
-
"composed": true,
|
|
349
|
-
"docs": {
|
|
350
|
-
"tags": [],
|
|
351
|
-
"text": "Fire event after visibility of dropdown has changed"
|
|
352
|
-
},
|
|
353
|
-
"complexType": {
|
|
354
|
-
"original": "boolean",
|
|
355
|
-
"resolved": "boolean",
|
|
356
|
-
"references": {}
|
|
357
|
-
}
|
|
358
|
-
}]; }
|
|
359
|
-
static get methods() { return {
|
|
360
|
-
"updatePosition": {
|
|
361
|
-
"complexType": {
|
|
362
|
-
"signature": "() => Promise<void>",
|
|
363
|
-
"parameters": [],
|
|
364
|
-
"references": {
|
|
365
|
-
"Promise": {
|
|
366
|
-
"location": "global"
|
|
367
|
-
}
|
|
368
|
-
},
|
|
369
|
-
"return": "Promise<void>"
|
|
370
|
-
},
|
|
371
|
-
"docs": {
|
|
372
|
-
"text": "Update position of dropdown",
|
|
373
|
-
"tags": []
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
}; }
|
|
377
|
-
static get elementRef() { return "hostElement"; }
|
|
378
|
-
static get watchers() { return [{
|
|
379
|
-
"propName": "show",
|
|
380
|
-
"methodName": "changedShow"
|
|
381
|
-
}, {
|
|
382
|
-
"propName": "trigger",
|
|
383
|
-
"methodName": "changedTrigger"
|
|
384
|
-
}]; }
|
|
385
|
-
static get listeners() { return [{
|
|
386
|
-
"name": "click",
|
|
387
|
-
"method": "clickOutside",
|
|
388
|
-
"target": "window",
|
|
389
|
-
"capture": false,
|
|
390
|
-
"passive": false
|
|
391
|
-
}]; }
|
|
392
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2022 Siemens AG
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: MIT
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
/*
|
|
10
|
-
* SPDX-FileCopyrightText: 2022 Siemens AG
|
|
11
|
-
*
|
|
12
|
-
* SPDX-License-Identifier: MIT
|
|
13
|
-
*
|
|
14
|
-
* This source code is licensed under the MIT license found in the
|
|
15
|
-
* LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/
|
|
17
|
-
/* Dimensions */
|
|
18
|
-
/* Font sizes */
|
|
19
|
-
/* Line heights */
|
|
20
|
-
/* Animation timings */
|
|
21
|
-
/*
|
|
22
|
-
* SPDX-FileCopyrightText: 2022 Siemens AG
|
|
23
|
-
*
|
|
24
|
-
* SPDX-License-Identifier: MIT
|
|
25
|
-
*
|
|
26
|
-
* This source code is licensed under the MIT license found in the
|
|
27
|
-
* LICENSE file in the root directory of this source tree.
|
|
28
|
-
*/
|
|
29
|
-
/*
|
|
30
|
-
* SPDX-FileCopyrightText: 2022 Siemens AG
|
|
31
|
-
*
|
|
32
|
-
* SPDX-License-Identifier: MIT
|
|
33
|
-
*
|
|
34
|
-
* This source code is licensed under the MIT license found in the
|
|
35
|
-
* LICENSE file in the root directory of this source tree.
|
|
36
|
-
*/
|
|
37
|
-
:host {
|
|
38
|
-
display: block;
|
|
39
|
-
min-width: 10rem;
|
|
40
|
-
}
|
|
41
|
-
:host.icon-only {
|
|
42
|
-
min-width: 0;
|
|
43
|
-
}
|
|
44
|
-
:host.icon-only .dropdown-item {
|
|
45
|
-
padding: 0.25rem 0.5rem;
|
|
46
|
-
}
|
|
47
|
-
:host.icon-only .dropdown-item:not(.disabled):not(:disabled):focus-visible {
|
|
48
|
-
border-color: #199fff;
|
|
49
|
-
}
|
|
50
|
-
:host .checkmark {
|
|
51
|
-
position: absolute;
|
|
52
|
-
left: 0.5rem;
|
|
53
|
-
}
|
|
54
|
-
:host.checked {
|
|
55
|
-
background-color: var(--theme-select-list-item--background--selected);
|
|
56
|
-
}
|
|
57
|
-
:host .label {
|
|
58
|
-
overflow: hidden;
|
|
59
|
-
text-overflow: ellipsis;
|
|
60
|
-
white-space: nowrap;
|
|
61
|
-
}
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2022 Siemens AG
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: MIT
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
import { Component, Element, Event, h, Host, Method, Prop } from '@stencil/core';
|
|
10
|
-
export class DropdownItem {
|
|
11
|
-
constructor() {
|
|
12
|
-
/**
|
|
13
|
-
* Display hover state
|
|
14
|
-
*/
|
|
15
|
-
this.hover = false;
|
|
16
|
-
/**
|
|
17
|
-
* Disable item and remove event listeners
|
|
18
|
-
*/
|
|
19
|
-
this.disabled = false;
|
|
20
|
-
/**
|
|
21
|
-
* Whether the item is checked or not. If true a checkmark will mark the item as checked.
|
|
22
|
-
*/
|
|
23
|
-
this.checked = false;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Internal usage only
|
|
27
|
-
*/
|
|
28
|
-
async emitItemClick() {
|
|
29
|
-
this.itemClick.emit(this.hostElement);
|
|
30
|
-
}
|
|
31
|
-
render() {
|
|
32
|
-
return (h(Host, { class: {
|
|
33
|
-
checked: this.checked,
|
|
34
|
-
'icon-text': this.label !== undefined && this.icon !== undefined,
|
|
35
|
-
'icon-only': this.label === undefined && this.icon !== undefined,
|
|
36
|
-
} },
|
|
37
|
-
h("button", { class: {
|
|
38
|
-
'dropdown-item': true,
|
|
39
|
-
hover: this.hover,
|
|
40
|
-
disabled: this.disabled,
|
|
41
|
-
}, onClick: () => this.emitItemClick() },
|
|
42
|
-
this.checked ? (h("ix-icon", { class: "checkmark", name: "single-check", size: "16" })) : null,
|
|
43
|
-
this.icon ? (h("span", { class: {
|
|
44
|
-
glyph: true,
|
|
45
|
-
[`glyph-${this.icon}`]: true,
|
|
46
|
-
} })) : null,
|
|
47
|
-
this.label ? h("span", { class: "label" }, this.label) : null,
|
|
48
|
-
h("slot", null))));
|
|
49
|
-
}
|
|
50
|
-
static get is() { return "ix-dropdown-item"; }
|
|
51
|
-
static get encapsulation() { return "scoped"; }
|
|
52
|
-
static get originalStyleUrls() { return {
|
|
53
|
-
"$": ["dropdown-item.scss"]
|
|
54
|
-
}; }
|
|
55
|
-
static get styleUrls() { return {
|
|
56
|
-
"$": ["dropdown-item.css"]
|
|
57
|
-
}; }
|
|
58
|
-
static get properties() { return {
|
|
59
|
-
"label": {
|
|
60
|
-
"type": "string",
|
|
61
|
-
"mutable": false,
|
|
62
|
-
"complexType": {
|
|
63
|
-
"original": "string",
|
|
64
|
-
"resolved": "string",
|
|
65
|
-
"references": {}
|
|
66
|
-
},
|
|
67
|
-
"required": false,
|
|
68
|
-
"optional": false,
|
|
69
|
-
"docs": {
|
|
70
|
-
"tags": [],
|
|
71
|
-
"text": "Label of dropdown item"
|
|
72
|
-
},
|
|
73
|
-
"attribute": "label",
|
|
74
|
-
"reflect": false
|
|
75
|
-
},
|
|
76
|
-
"icon": {
|
|
77
|
-
"type": "string",
|
|
78
|
-
"mutable": false,
|
|
79
|
-
"complexType": {
|
|
80
|
-
"original": "string",
|
|
81
|
-
"resolved": "string",
|
|
82
|
-
"references": {}
|
|
83
|
-
},
|
|
84
|
-
"required": false,
|
|
85
|
-
"optional": false,
|
|
86
|
-
"docs": {
|
|
87
|
-
"tags": [],
|
|
88
|
-
"text": "Icon of dropdown item"
|
|
89
|
-
},
|
|
90
|
-
"attribute": "icon",
|
|
91
|
-
"reflect": false
|
|
92
|
-
},
|
|
93
|
-
"hover": {
|
|
94
|
-
"type": "boolean",
|
|
95
|
-
"mutable": false,
|
|
96
|
-
"complexType": {
|
|
97
|
-
"original": "boolean",
|
|
98
|
-
"resolved": "boolean",
|
|
99
|
-
"references": {}
|
|
100
|
-
},
|
|
101
|
-
"required": false,
|
|
102
|
-
"optional": false,
|
|
103
|
-
"docs": {
|
|
104
|
-
"tags": [],
|
|
105
|
-
"text": "Display hover state"
|
|
106
|
-
},
|
|
107
|
-
"attribute": "hover",
|
|
108
|
-
"reflect": false,
|
|
109
|
-
"defaultValue": "false"
|
|
110
|
-
},
|
|
111
|
-
"disabled": {
|
|
112
|
-
"type": "boolean",
|
|
113
|
-
"mutable": false,
|
|
114
|
-
"complexType": {
|
|
115
|
-
"original": "boolean",
|
|
116
|
-
"resolved": "boolean",
|
|
117
|
-
"references": {}
|
|
118
|
-
},
|
|
119
|
-
"required": false,
|
|
120
|
-
"optional": false,
|
|
121
|
-
"docs": {
|
|
122
|
-
"tags": [],
|
|
123
|
-
"text": "Disable item and remove event listeners"
|
|
124
|
-
},
|
|
125
|
-
"attribute": "disabled",
|
|
126
|
-
"reflect": false,
|
|
127
|
-
"defaultValue": "false"
|
|
128
|
-
},
|
|
129
|
-
"checked": {
|
|
130
|
-
"type": "boolean",
|
|
131
|
-
"mutable": false,
|
|
132
|
-
"complexType": {
|
|
133
|
-
"original": "boolean",
|
|
134
|
-
"resolved": "boolean",
|
|
135
|
-
"references": {}
|
|
136
|
-
},
|
|
137
|
-
"required": false,
|
|
138
|
-
"optional": false,
|
|
139
|
-
"docs": {
|
|
140
|
-
"tags": [],
|
|
141
|
-
"text": "Whether the item is checked or not. If true a checkmark will mark the item as checked."
|
|
142
|
-
},
|
|
143
|
-
"attribute": "checked",
|
|
144
|
-
"reflect": false,
|
|
145
|
-
"defaultValue": "false"
|
|
146
|
-
}
|
|
147
|
-
}; }
|
|
148
|
-
static get events() { return [{
|
|
149
|
-
"method": "itemClick",
|
|
150
|
-
"name": "itemClick",
|
|
151
|
-
"bubbles": true,
|
|
152
|
-
"cancelable": true,
|
|
153
|
-
"composed": true,
|
|
154
|
-
"docs": {
|
|
155
|
-
"tags": [],
|
|
156
|
-
"text": "Click on item"
|
|
157
|
-
},
|
|
158
|
-
"complexType": {
|
|
159
|
-
"original": "HTMLIxDropdownItemElement",
|
|
160
|
-
"resolved": "HTMLIxDropdownItemElement",
|
|
161
|
-
"references": {
|
|
162
|
-
"HTMLIxDropdownItemElement": {
|
|
163
|
-
"location": "global"
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}]; }
|
|
168
|
-
static get methods() { return {
|
|
169
|
-
"emitItemClick": {
|
|
170
|
-
"complexType": {
|
|
171
|
-
"signature": "() => Promise<void>",
|
|
172
|
-
"parameters": [],
|
|
173
|
-
"references": {
|
|
174
|
-
"Promise": {
|
|
175
|
-
"location": "global"
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
"return": "Promise<void>"
|
|
179
|
-
},
|
|
180
|
-
"docs": {
|
|
181
|
-
"text": "Internal usage only",
|
|
182
|
-
"tags": []
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}; }
|
|
186
|
-
static get elementRef() { return "hostElement"; }
|
|
187
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2022 Siemens AG
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: MIT
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
:host {
|
|
10
|
-
display: block;
|
|
11
|
-
position: relative;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
ul {
|
|
15
|
-
list-style: none;
|
|
16
|
-
padding: 0;
|
|
17
|
-
margin-bottom: 0;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
::slotted(:host:not(.item-size-s) .ix-event-list-item,
|
|
21
|
-
:host:not(.item-size-l) .ix-event-list-item) {
|
|
22
|
-
display: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
:host.chevron ::slotted(* .ix-event-list-item) .chevron-icon {
|
|
26
|
-
display: initial;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.item-size-l ::slotted(* .ix-event-list-item) {
|
|
30
|
-
height: 6.5rem;
|
|
31
|
-
max-height: 6.5rem;
|
|
32
|
-
}
|
|
33
|
-
.item-size-l ::slotted(* .ix-event-list-item) .event-content {
|
|
34
|
-
height: 6.5rem;
|
|
35
|
-
max-height: 6.5rem;
|
|
36
|
-
white-space: normal;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.compact ::slotted(* .ix-event-list-item) {
|
|
40
|
-
margin-bottom: 0px;
|
|
41
|
-
border-radius: 0px;
|
|
42
|
-
}
|
|
43
|
-
.compact ::slotted(* .ix-event-list-item) .indicator {
|
|
44
|
-
border-top-left-radius: 0px;
|
|
45
|
-
border-bottom-left-radius: 0px;
|
|
46
|
-
}
|
|
47
|
-
.compact ::slotted(* .ix-event-list-item) .event-list-item-container {
|
|
48
|
-
border-top-left-radius: 0;
|
|
49
|
-
border-top-right-radius: 0;
|
|
50
|
-
border-bottom-left-radius: 0;
|
|
51
|
-
border-bottom-right-radius: 0;
|
|
52
|
-
}
|
|
53
|
-
.compact ::slotted(* .ix-event-list-item) i.glyph {
|
|
54
|
-
display: none;
|
|
55
|
-
}
|
|
56
|
-
.compact .compact:not(:last-child) .event-list-item-container {
|
|
57
|
-
border-bottom: none;
|
|
58
|
-
}
|