@siemens/ix 1.1.0-beta.1 → 1.1.0-beta.3

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.
Files changed (609) hide show
  1. package/package.json +1 -1
  2. package/dist/cjs/_commonjsHelpers-1a0c346f.js +0 -23
  3. package/dist/cjs/animation-dfe01edc.js +0 -19
  4. package/dist/cjs/anime.es-8822f296.js +0 -1311
  5. package/dist/cjs/base-button-eb1d47db.js +0 -33
  6. package/dist/cjs/default-tree-item-4597cd84.js +0 -22
  7. package/dist/cjs/flip-tile-state-c95639e5.js +0 -18
  8. package/dist/cjs/index-1e4a348f.js +0 -1849
  9. package/dist/cjs/index.cjs.js +0 -96
  10. package/dist/cjs/ix-animated-tab_2.cjs.entry.js +0 -217
  11. package/dist/cjs/ix-application-header.cjs.entry.js +0 -30
  12. package/dist/cjs/ix-basic-navigation.cjs.entry.js +0 -44
  13. package/dist/cjs/ix-blind.cjs.entry.js +0 -89
  14. package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +0 -155
  15. package/dist/cjs/ix-button.cjs.entry.js +0 -50
  16. package/dist/cjs/ix-category-filter.cjs.entry.js +0 -399
  17. package/dist/cjs/ix-chip.cjs.entry.js +0 -47
  18. package/dist/cjs/ix-counter-pill.cjs.entry.js +0 -40
  19. package/dist/cjs/ix-date-picker_2.cjs.entry.js +0 -9039
  20. package/dist/cjs/ix-date-time-card.cjs.entry.js +0 -36
  21. package/dist/cjs/ix-datetime-picker.cjs.entry.js +0 -113
  22. package/dist/cjs/ix-drawer.cjs.entry.js +0 -122
  23. package/dist/cjs/ix-dropdown_2.cjs.entry.js +0 -203
  24. package/dist/cjs/ix-event-list_2.cjs.entry.js +0 -151
  25. package/dist/cjs/ix-expanding-search.cjs.entry.js +0 -92
  26. package/dist/cjs/ix-filter-chip.cjs.entry.js +0 -30
  27. package/dist/cjs/ix-flip-tile_2.cjs.entry.js +0 -79
  28. package/dist/cjs/ix-group_3.cjs.entry.js +0 -174
  29. package/dist/cjs/ix-icon-button.cjs.entry.js +0 -40
  30. package/dist/cjs/ix-icon.cjs.entry.js +0 -33
  31. package/dist/cjs/ix-input-group.cjs.entry.js +0 -40
  32. package/dist/cjs/ix-kpi.cjs.entry.js +0 -50
  33. package/dist/cjs/ix-map-navigation_2.cjs.entry.js +0 -165
  34. package/dist/cjs/ix-menu_9.cjs.entry.js +0 -888
  35. package/dist/cjs/ix-message-bar.cjs.entry.js +0 -58
  36. package/dist/cjs/ix-modal-example.cjs.entry.js +0 -24
  37. package/dist/cjs/ix-modal_2.cjs.entry.js +0 -14
  38. package/dist/cjs/ix-pill.cjs.entry.js +0 -40
  39. package/dist/cjs/ix-select_2.cjs.entry.js +0 -309
  40. package/dist/cjs/ix-spinner.cjs.entry.js +0 -30
  41. package/dist/cjs/ix-split-button_2.cjs.entry.js +0 -114
  42. package/dist/cjs/ix-tab-item.cjs.entry.js +0 -67
  43. package/dist/cjs/ix-tabs.cjs.entry.js +0 -187
  44. package/dist/cjs/ix-tile.cjs.entry.js +0 -27
  45. package/dist/cjs/ix-toast_2.cjs.entry.js +0 -159
  46. package/dist/cjs/ix-toggle.cjs.entry.js +0 -82
  47. package/dist/cjs/ix-tree_2.cjs.entry.js +0 -690
  48. package/dist/cjs/ix-upload.cjs.entry.js +0 -139
  49. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +0 -107
  50. package/dist/cjs/ix-workflow-step_2.cjs.entry.js +0 -191
  51. package/dist/cjs/loader.cjs.js +0 -21
  52. package/dist/cjs/logical-filter-operator-467e2faf.js +0 -35
  53. package/dist/cjs/modal-5be2b1a3.js +0 -221
  54. package/dist/cjs/modal-utils-5d7bb217.js +0 -42
  55. package/dist/cjs/mutation-observer-29bedada.js +0 -13
  56. package/dist/cjs/my-component.cjs.entry.js +0 -19
  57. package/dist/cjs/popper-d7a0f999.js +0 -1801
  58. package/dist/cjs/rwd.util-482d41d4.js +0 -42
  59. package/dist/cjs/siemens-ix.cjs.js +0 -19
  60. package/dist/cjs/typed-event-8f5a32a2.js +0 -46
  61. package/dist/cjs/upload-file-state-923b2c65.js +0 -17
  62. package/dist/collection/collection-manifest.json +0 -264
  63. package/dist/collection/components/animated-tab/animated-tab.css +0 -14
  64. package/dist/collection/components/animated-tab/animated-tab.js +0 -59
  65. package/dist/collection/components/animated-tabs/animated-tabs.css +0 -158
  66. package/dist/collection/components/animated-tabs/animated-tabs.js +0 -303
  67. package/dist/collection/components/application-header/application-header.css +0 -30
  68. package/dist/collection/components/application-header/application-header.js +0 -56
  69. package/dist/collection/components/basic-navigation/basic-navigation.css +0 -29
  70. package/dist/collection/components/basic-navigation/basic-navigation.js +0 -91
  71. package/dist/collection/components/blind/blind.css +0 -146
  72. package/dist/collection/components/blind/blind.js +0 -152
  73. package/dist/collection/components/breadcrumb/breadcrumb.css +0 -228
  74. package/dist/collection/components/breadcrumb/breadcrumb.js +0 -252
  75. package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +0 -11
  76. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +0 -59
  77. package/dist/collection/components/button/base-button.js +0 -29
  78. package/dist/collection/components/button/button.css +0 -15
  79. package/dist/collection/components/button/button.js +0 -192
  80. package/dist/collection/components/category-filter/category-filter.css +0 -188
  81. package/dist/collection/components/category-filter/category-filter.js +0 -704
  82. package/dist/collection/components/category-filter/filter-state.js +0 -10
  83. package/dist/collection/components/category-filter/input-state.js +0 -17
  84. package/dist/collection/components/category-filter/logical-filter-operator.js +0 -13
  85. package/dist/collection/components/chip/chip.css +0 -475
  86. package/dist/collection/components/chip/chip.js +0 -197
  87. package/dist/collection/components/counter-pill/counter-pill.css +0 -313
  88. package/dist/collection/components/counter-pill/counter-pill.js +0 -137
  89. package/dist/collection/components/date-picker/date-picker.css +0 -224
  90. package/dist/collection/components/date-picker/date-picker.js +0 -679
  91. package/dist/collection/components/date-picker/events.js +0 -1
  92. package/dist/collection/components/date-time-card/date-time-card.css +0 -51
  93. package/dist/collection/components/date-time-card/date-time-card.js +0 -89
  94. package/dist/collection/components/datetime-picker/datetime-picker.css +0 -44
  95. package/dist/collection/components/datetime-picker/datetime-picker.js +0 -501
  96. package/dist/collection/components/datetime-picker/event.js +0 -9
  97. package/dist/collection/components/drawer/drawer.css +0 -78
  98. package/dist/collection/components/drawer/drawer.js +0 -300
  99. package/dist/collection/components/dropdown/dropdown.css +0 -536
  100. package/dist/collection/components/dropdown/dropdown.js +0 -392
  101. package/dist/collection/components/dropdown-item/dropdown-item.css +0 -61
  102. package/dist/collection/components/dropdown-item/dropdown-item.js +0 -187
  103. package/dist/collection/components/event-list/event-list.css +0 -58
  104. package/dist/collection/components/event-list/event-list.js +0 -197
  105. package/dist/collection/components/event-list-item/event-list-item.css +0 -126
  106. package/dist/collection/components/event-list-item/event-list-item.js +0 -162
  107. package/dist/collection/components/expanding-search/expanding-search.css +0 -127
  108. package/dist/collection/components/expanding-search/expanding-search.js +0 -178
  109. package/dist/collection/components/filter-chip/filter-chip.css +0 -82
  110. package/dist/collection/components/filter-chip/filter-chip.js +0 -74
  111. package/dist/collection/components/flip-tile/flip-tile-state.js +0 -16
  112. package/dist/collection/components/flip-tile/flip-tile.css +0 -143
  113. package/dist/collection/components/flip-tile/flip-tile.js +0 -125
  114. package/dist/collection/components/flip-tile-content/flip-tile-content.css +0 -12
  115. package/dist/collection/components/flip-tile-content/flip-tile-content.js +0 -23
  116. package/dist/collection/components/group/group.css +0 -170
  117. package/dist/collection/components/group/group.js +0 -329
  118. package/dist/collection/components/group-dropdown-item/group-dropdown-item.css +0 -11
  119. package/dist/collection/components/group-dropdown-item/group-dropdown-item.js +0 -60
  120. package/dist/collection/components/group-item/group-item.css +0 -116
  121. package/dist/collection/components/group-item/group-item.js +0 -200
  122. package/dist/collection/components/icon/icon.css +0 -45
  123. package/dist/collection/components/icon/icon.js +0 -91
  124. package/dist/collection/components/icon-button/icon-button.js +0 -242
  125. package/dist/collection/components/input-group/input-group.css +0 -27
  126. package/dist/collection/components/input-group/input-group.js +0 -48
  127. package/dist/collection/components/kpi/kpi.css +0 -131
  128. package/dist/collection/components/kpi/kpi.js +0 -151
  129. package/dist/collection/components/map-navigation/map-navigation.css +0 -161
  130. package/dist/collection/components/map-navigation/map-navigation.js +0 -328
  131. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +0 -237
  132. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +0 -105
  133. package/dist/collection/components/menu/menu.css +0 -128
  134. package/dist/collection/components/menu/menu.js +0 -988
  135. package/dist/collection/components/menu-about/menu-about.css +0 -207
  136. package/dist/collection/components/menu-about/menu-about.js +0 -167
  137. package/dist/collection/components/menu-about-item/menu-about-item.css +0 -12
  138. package/dist/collection/components/menu-about-item/menu-about-item.js +0 -42
  139. package/dist/collection/components/menu-about-news/menu-about-news.css +0 -99
  140. package/dist/collection/components/menu-about-news/menu-about-news.js +0 -204
  141. package/dist/collection/components/menu-avatar/menu-avatar.css +0 -91
  142. package/dist/collection/components/menu-avatar/menu-avatar.js +0 -136
  143. package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +0 -12
  144. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +0 -79
  145. package/dist/collection/components/menu-item/menu-item.css +0 -143
  146. package/dist/collection/components/menu-item/menu-item.js +0 -166
  147. package/dist/collection/components/menu-settings/menu-settings.css +0 -204
  148. package/dist/collection/components/menu-settings/menu-settings.js +0 -151
  149. package/dist/collection/components/menu-settings-item/menu-settings-item.css +0 -13
  150. package/dist/collection/components/menu-settings-item/menu-settings-item.js +0 -42
  151. package/dist/collection/components/message-bar/message-bar.css +0 -68
  152. package/dist/collection/components/message-bar/message-bar.js +0 -125
  153. package/dist/collection/components/modal/modal-utils.js +0 -36
  154. package/dist/collection/components/modal/modal.css +0 -96
  155. package/dist/collection/components/modal/modal.js +0 -540
  156. package/dist/collection/components/modal-container/modal-container.css +0 -14
  157. package/dist/collection/components/modal-container/modal-container.js +0 -107
  158. package/dist/collection/components/my-component/example-modal.js +0 -31
  159. package/dist/collection/components/my-component/my-component.css +0 -34
  160. package/dist/collection/components/my-component/my-component.js +0 -22
  161. package/dist/collection/components/pill/pill.css +0 -269
  162. package/dist/collection/components/pill/pill.js +0 -155
  163. package/dist/collection/components/select/select.css +0 -176
  164. package/dist/collection/components/select/select.js +0 -509
  165. package/dist/collection/components/select-item/select-item.css +0 -14
  166. package/dist/collection/components/select-item/select-item.js +0 -169
  167. package/dist/collection/components/spinner/spinner.css +0 -42
  168. package/dist/collection/components/spinner/spinner.js +0 -137
  169. package/dist/collection/components/split-button/split-button.css +0 -11
  170. package/dist/collection/components/split-button/split-button.js +0 -310
  171. package/dist/collection/components/split-button-item/split-button-item.css +0 -12
  172. package/dist/collection/components/split-button-item/split-button-item.js +0 -79
  173. package/dist/collection/components/tab-item/tab-item.css +0 -195
  174. package/dist/collection/components/tab-item/tab-item.js +0 -219
  175. package/dist/collection/components/tabs/tabs.css +0 -84
  176. package/dist/collection/components/tabs/tabs.js +0 -305
  177. package/dist/collection/components/tile/tile.css +0 -92
  178. package/dist/collection/components/tile/tile.js +0 -60
  179. package/dist/collection/components/time-picker/time-picker.css +0 -94
  180. package/dist/collection/components/time-picker/time-picker.js +0 -431
  181. package/dist/collection/components/toast/toast-container.js +0 -170
  182. package/dist/collection/components/toast/toast-utils.js +0 -40
  183. package/dist/collection/components/toast/toast.css +0 -110
  184. package/dist/collection/components/toast/toast.js +0 -237
  185. package/dist/collection/components/toggle/toggle.css +0 -226
  186. package/dist/collection/components/toggle/toggle.js +0 -263
  187. package/dist/collection/components/tree/tree-model.js +0 -9
  188. package/dist/collection/components/tree/tree.css +0 -12
  189. package/dist/collection/components/tree/tree.js +0 -296
  190. package/dist/collection/components/tree-item/default-tree-item.js +0 -18
  191. package/dist/collection/components/tree-item/tree-item.css +0 -86
  192. package/dist/collection/components/tree-item/tree-item.js +0 -124
  193. package/dist/collection/components/upload/upload-file-state.js +0 -15
  194. package/dist/collection/components/upload/upload.css +0 -120
  195. package/dist/collection/components/upload/upload.js +0 -413
  196. package/dist/collection/components/utils/animation.js +0 -15
  197. package/dist/collection/components/utils/button-variants.js +0 -9
  198. package/dist/collection/components/utils/mutation-observer.js +0 -9
  199. package/dist/collection/components/utils/notification-color.js +0 -9
  200. package/dist/collection/components/utils/popover.util.js +0 -33
  201. package/dist/collection/components/utils/rwd.util.js +0 -37
  202. package/dist/collection/components/utils/toggle-theme.js +0 -24
  203. package/dist/collection/components/utils/typed-event.js +0 -42
  204. package/dist/collection/components/validation-tooltip/validation-tooltip.css +0 -236
  205. package/dist/collection/components/validation-tooltip/validation-tooltip.js +0 -167
  206. package/dist/collection/components/workflow-step/workflow-step.css +0 -131
  207. package/dist/collection/components/workflow-step/workflow-step.js +0 -249
  208. package/dist/collection/components/workflow-steps/workflow-steps.css +0 -29
  209. package/dist/collection/components/workflow-steps/workflow-steps.js +0 -182
  210. package/dist/collection/env.js +0 -9
  211. package/dist/collection/exports.js +0 -15
  212. package/dist/collection/index.js +0 -16
  213. package/dist/collection/utils/test/index.js +0 -9
  214. package/dist/collection/utils/test/page.js +0 -29
  215. package/dist/components/_commonjsHelpers.js +0 -19
  216. package/dist/components/animation.js +0 -17
  217. package/dist/components/anime.es.js +0 -1309
  218. package/dist/components/application-header.js +0 -43
  219. package/dist/components/base-button.js +0 -31
  220. package/dist/components/button.js +0 -68
  221. package/dist/components/date-picker.js +0 -385
  222. package/dist/components/date-time-card.js +0 -49
  223. package/dist/components/default-tree-item.js +0 -20
  224. package/dist/components/dropdown-item.js +0 -73
  225. package/dist/components/dropdown.js +0 -181
  226. package/dist/components/filter-chip.js +0 -48
  227. package/dist/components/flip-tile-state.js +0 -18
  228. package/dist/components/group-item.js +0 -63
  229. package/dist/components/icon-button.js +0 -68
  230. package/dist/components/icon.js +0 -47
  231. package/dist/components/index.d.ts +0 -26
  232. package/dist/components/index.js +0 -62
  233. package/dist/components/ix-animated-tab.d.ts +0 -11
  234. package/dist/components/ix-animated-tab.js +0 -35
  235. package/dist/components/ix-animated-tabs.d.ts +0 -11
  236. package/dist/components/ix-animated-tabs.js +0 -229
  237. package/dist/components/ix-application-header.d.ts +0 -11
  238. package/dist/components/ix-application-header.js +0 -6
  239. package/dist/components/ix-basic-navigation.d.ts +0 -11
  240. package/dist/components/ix-basic-navigation.js +0 -66
  241. package/dist/components/ix-blind.d.ts +0 -11
  242. package/dist/components/ix-blind.js +0 -105
  243. package/dist/components/ix-breadcrumb-item.d.ts +0 -11
  244. package/dist/components/ix-breadcrumb-item.js +0 -35
  245. package/dist/components/ix-breadcrumb.d.ts +0 -11
  246. package/dist/components/ix-breadcrumb.js +0 -180
  247. package/dist/components/ix-button.d.ts +0 -11
  248. package/dist/components/ix-button.js +0 -6
  249. package/dist/components/ix-category-filter.d.ts +0 -11
  250. package/dist/components/ix-category-filter.js +0 -447
  251. package/dist/components/ix-chip.d.ts +0 -11
  252. package/dist/components/ix-chip.js +0 -74
  253. package/dist/components/ix-counter-pill.d.ts +0 -11
  254. package/dist/components/ix-counter-pill.js +0 -59
  255. package/dist/components/ix-date-picker.d.ts +0 -11
  256. package/dist/components/ix-date-picker.js +0 -6
  257. package/dist/components/ix-date-time-card.d.ts +0 -11
  258. package/dist/components/ix-date-time-card.js +0 -6
  259. package/dist/components/ix-datetime-picker.d.ts +0 -11
  260. package/dist/components/ix-datetime-picker.js +0 -184
  261. package/dist/components/ix-drawer.d.ts +0 -11
  262. package/dist/components/ix-drawer.js +0 -155
  263. package/dist/components/ix-dropdown-item.d.ts +0 -11
  264. package/dist/components/ix-dropdown-item.js +0 -6
  265. package/dist/components/ix-dropdown.d.ts +0 -11
  266. package/dist/components/ix-dropdown.js +0 -6
  267. package/dist/components/ix-event-list-item.d.ts +0 -11
  268. package/dist/components/ix-event-list-item.js +0 -59
  269. package/dist/components/ix-event-list.d.ts +0 -11
  270. package/dist/components/ix-event-list.js +0 -135
  271. package/dist/components/ix-expanding-search.d.ts +0 -11
  272. package/dist/components/ix-expanding-search.js +0 -124
  273. package/dist/components/ix-filter-chip.d.ts +0 -11
  274. package/dist/components/ix-filter-chip.js +0 -6
  275. package/dist/components/ix-flip-tile-content.d.ts +0 -11
  276. package/dist/components/ix-flip-tile-content.js +0 -33
  277. package/dist/components/ix-flip-tile.d.ts +0 -11
  278. package/dist/components/ix-flip-tile.js +0 -96
  279. package/dist/components/ix-group-dropdown-item.d.ts +0 -11
  280. package/dist/components/ix-group-dropdown-item.js +0 -47
  281. package/dist/components/ix-group-item.d.ts +0 -11
  282. package/dist/components/ix-group-item.js +0 -6
  283. package/dist/components/ix-group.d.ts +0 -11
  284. package/dist/components/ix-group.js +0 -174
  285. package/dist/components/ix-icon-button.d.ts +0 -11
  286. package/dist/components/ix-icon-button.js +0 -6
  287. package/dist/components/ix-icon.d.ts +0 -11
  288. package/dist/components/ix-icon.js +0 -6
  289. package/dist/components/ix-input-group.d.ts +0 -11
  290. package/dist/components/ix-input-group.js +0 -53
  291. package/dist/components/ix-kpi.d.ts +0 -11
  292. package/dist/components/ix-kpi.js +0 -75
  293. package/dist/components/ix-map-navigation-overlay.d.ts +0 -11
  294. package/dist/components/ix-map-navigation-overlay.js +0 -6
  295. package/dist/components/ix-map-navigation.d.ts +0 -11
  296. package/dist/components/ix-map-navigation.js +0 -182
  297. package/dist/components/ix-menu-about-item.d.ts +0 -11
  298. package/dist/components/ix-menu-about-item.js +0 -34
  299. package/dist/components/ix-menu-about-news.d.ts +0 -11
  300. package/dist/components/ix-menu-about-news.js +0 -78
  301. package/dist/components/ix-menu-about.d.ts +0 -11
  302. package/dist/components/ix-menu-about.js +0 -120
  303. package/dist/components/ix-menu-avatar-item.d.ts +0 -11
  304. package/dist/components/ix-menu-avatar-item.js +0 -6
  305. package/dist/components/ix-menu-avatar.d.ts +0 -11
  306. package/dist/components/ix-menu-avatar.js +0 -83
  307. package/dist/components/ix-menu-item.d.ts +0 -11
  308. package/dist/components/ix-menu-item.js +0 -6
  309. package/dist/components/ix-menu-settings-item.d.ts +0 -11
  310. package/dist/components/ix-menu-settings-item.js +0 -34
  311. package/dist/components/ix-menu-settings.d.ts +0 -11
  312. package/dist/components/ix-menu-settings.js +0 -107
  313. package/dist/components/ix-menu.d.ts +0 -11
  314. package/dist/components/ix-menu.js +0 -619
  315. package/dist/components/ix-message-bar.d.ts +0 -11
  316. package/dist/components/ix-message-bar.js +0 -88
  317. package/dist/components/ix-modal-container.d.ts +0 -11
  318. package/dist/components/ix-modal-container.js +0 -6
  319. package/dist/components/ix-modal-example.d.ts +0 -11
  320. package/dist/components/ix-modal-example.js +0 -67
  321. package/dist/components/ix-modal.d.ts +0 -11
  322. package/dist/components/ix-modal.js +0 -6
  323. package/dist/components/ix-pill.d.ts +0 -11
  324. package/dist/components/ix-pill.js +0 -66
  325. package/dist/components/ix-select-item.d.ts +0 -11
  326. package/dist/components/ix-select-item.js +0 -6
  327. package/dist/components/ix-select.d.ts +0 -11
  328. package/dist/components/ix-select.js +0 -339
  329. package/dist/components/ix-spinner.d.ts +0 -11
  330. package/dist/components/ix-spinner.js +0 -6
  331. package/dist/components/ix-split-button-item.d.ts +0 -11
  332. package/dist/components/ix-split-button-item.js +0 -49
  333. package/dist/components/ix-split-button.d.ts +0 -11
  334. package/dist/components/ix-split-button.js +0 -135
  335. package/dist/components/ix-tab-item.d.ts +0 -11
  336. package/dist/components/ix-tab-item.js +0 -6
  337. package/dist/components/ix-tabs.d.ts +0 -11
  338. package/dist/components/ix-tabs.js +0 -6
  339. package/dist/components/ix-tile.d.ts +0 -11
  340. package/dist/components/ix-tile.js +0 -42
  341. package/dist/components/ix-time-picker.d.ts +0 -11
  342. package/dist/components/ix-time-picker.js +0 -6
  343. package/dist/components/ix-toast-container.d.ts +0 -11
  344. package/dist/components/ix-toast-container.js +0 -110
  345. package/dist/components/ix-toast.d.ts +0 -11
  346. package/dist/components/ix-toast.js +0 -6
  347. package/dist/components/ix-toggle.d.ts +0 -11
  348. package/dist/components/ix-toggle.js +0 -104
  349. package/dist/components/ix-tree-item.d.ts +0 -11
  350. package/dist/components/ix-tree-item.js +0 -6
  351. package/dist/components/ix-tree.d.ts +0 -11
  352. package/dist/components/ix-tree.js +0 -694
  353. package/dist/components/ix-upload.d.ts +0 -11
  354. package/dist/components/ix-upload.js +0 -178
  355. package/dist/components/ix-validation-tooltip.d.ts +0 -11
  356. package/dist/components/ix-validation-tooltip.js +0 -124
  357. package/dist/components/ix-workflow-step.d.ts +0 -11
  358. package/dist/components/ix-workflow-step.js +0 -142
  359. package/dist/components/ix-workflow-steps.d.ts +0 -11
  360. package/dist/components/ix-workflow-steps.js +0 -101
  361. package/dist/components/logical-filter-operator.js +0 -33
  362. package/dist/components/luxon.js +0 -8584
  363. package/dist/components/map-navigation-overlay.js +0 -53
  364. package/dist/components/menu-avatar-item.js +0 -46
  365. package/dist/components/menu-item.js +0 -65
  366. package/dist/components/modal-container.js +0 -99
  367. package/dist/components/modal-utils.js +0 -38
  368. package/dist/components/modal.js +0 -189
  369. package/dist/components/mutation-observer.js +0 -11
  370. package/dist/components/my-component.d.ts +0 -11
  371. package/dist/components/my-component.js +0 -32
  372. package/dist/components/popover.util.js +0 -36
  373. package/dist/components/popper.js +0 -1799
  374. package/dist/components/rwd.util.js +0 -39
  375. package/dist/components/select-item.js +0 -71
  376. package/dist/components/spinner.js +0 -43
  377. package/dist/components/tab-item.js +0 -86
  378. package/dist/components/tabs.js +0 -207
  379. package/dist/components/time-picker.js +0 -193
  380. package/dist/components/toast.js +0 -123
  381. package/dist/components/tree-item.js +0 -52
  382. package/dist/components/typed-event.js +0 -44
  383. package/dist/components/upload-file-state.js +0 -17
  384. package/dist/esm/_commonjsHelpers-4bc7200a.js +0 -19
  385. package/dist/esm/animation-b667a4c4.js +0 -17
  386. package/dist/esm/anime.es-185e9087.js +0 -1309
  387. package/dist/esm/base-button-7bfb747f.js +0 -31
  388. package/dist/esm/default-tree-item-638c435a.js +0 -20
  389. package/dist/esm/flip-tile-state-28a1f8ce.js +0 -18
  390. package/dist/esm/index-55cfd20d.js +0 -1819
  391. package/dist/esm/index.js +0 -64
  392. package/dist/esm/ix-animated-tab_2.entry.js +0 -212
  393. package/dist/esm/ix-application-header.entry.js +0 -26
  394. package/dist/esm/ix-basic-navigation.entry.js +0 -40
  395. package/dist/esm/ix-blind.entry.js +0 -85
  396. package/dist/esm/ix-breadcrumb_2.entry.js +0 -150
  397. package/dist/esm/ix-button.entry.js +0 -46
  398. package/dist/esm/ix-category-filter.entry.js +0 -395
  399. package/dist/esm/ix-chip.entry.js +0 -43
  400. package/dist/esm/ix-counter-pill.entry.js +0 -36
  401. package/dist/esm/ix-date-picker_2.entry.js +0 -9034
  402. package/dist/esm/ix-date-time-card.entry.js +0 -32
  403. package/dist/esm/ix-datetime-picker.entry.js +0 -109
  404. package/dist/esm/ix-drawer.entry.js +0 -118
  405. package/dist/esm/ix-dropdown_2.entry.js +0 -198
  406. package/dist/esm/ix-event-list_2.entry.js +0 -146
  407. package/dist/esm/ix-expanding-search.entry.js +0 -88
  408. package/dist/esm/ix-filter-chip.entry.js +0 -26
  409. package/dist/esm/ix-flip-tile_2.entry.js +0 -74
  410. package/dist/esm/ix-group_3.entry.js +0 -168
  411. package/dist/esm/ix-icon-button.entry.js +0 -36
  412. package/dist/esm/ix-icon.entry.js +0 -29
  413. package/dist/esm/ix-input-group.entry.js +0 -36
  414. package/dist/esm/ix-kpi.entry.js +0 -46
  415. package/dist/esm/ix-map-navigation_2.entry.js +0 -160
  416. package/dist/esm/ix-menu_9.entry.js +0 -876
  417. package/dist/esm/ix-message-bar.entry.js +0 -54
  418. package/dist/esm/ix-modal-example.entry.js +0 -20
  419. package/dist/esm/ix-modal_2.entry.js +0 -5
  420. package/dist/esm/ix-pill.entry.js +0 -36
  421. package/dist/esm/ix-select_2.entry.js +0 -304
  422. package/dist/esm/ix-spinner.entry.js +0 -26
  423. package/dist/esm/ix-split-button_2.entry.js +0 -109
  424. package/dist/esm/ix-tab-item.entry.js +0 -63
  425. package/dist/esm/ix-tabs.entry.js +0 -183
  426. package/dist/esm/ix-tile.entry.js +0 -23
  427. package/dist/esm/ix-toast_2.entry.js +0 -154
  428. package/dist/esm/ix-toggle.entry.js +0 -78
  429. package/dist/esm/ix-tree_2.entry.js +0 -685
  430. package/dist/esm/ix-upload.entry.js +0 -135
  431. package/dist/esm/ix-validation-tooltip.entry.js +0 -103
  432. package/dist/esm/ix-workflow-step_2.entry.js +0 -186
  433. package/dist/esm/loader.js +0 -17
  434. package/dist/esm/logical-filter-operator-1bf83315.js +0 -33
  435. package/dist/esm/modal-8ed87a6c.js +0 -218
  436. package/dist/esm/modal-utils-ec39c1bc.js +0 -38
  437. package/dist/esm/mutation-observer-379959bb.js +0 -11
  438. package/dist/esm/my-component.entry.js +0 -15
  439. package/dist/esm/polyfills/core-js.js +0 -11
  440. package/dist/esm/polyfills/css-shim.js +0 -1
  441. package/dist/esm/polyfills/dom.js +0 -79
  442. package/dist/esm/polyfills/es5-html-element.js +0 -1
  443. package/dist/esm/polyfills/index.js +0 -34
  444. package/dist/esm/polyfills/system.js +0 -6
  445. package/dist/esm/popper-42db9fbd.js +0 -1799
  446. package/dist/esm/rwd.util-33a69d24.js +0 -39
  447. package/dist/esm/siemens-ix.js +0 -17
  448. package/dist/esm/typed-event-dd6c83dd.js +0 -44
  449. package/dist/esm/upload-file-state-631bb8a2.js +0 -17
  450. package/dist/index.cjs.js +0 -1
  451. package/dist/index.js +0 -1
  452. package/dist/siemens-ix/index.esm.js +0 -1
  453. package/dist/siemens-ix/p-02501b64.entry.js +0 -1
  454. package/dist/siemens-ix/p-03ef9fe5.entry.js +0 -1
  455. package/dist/siemens-ix/p-0a12b3df.js +0 -1
  456. package/dist/siemens-ix/p-0bf04780.js +0 -1
  457. package/dist/siemens-ix/p-0e315bd7.entry.js +0 -1
  458. package/dist/siemens-ix/p-1c82637e.js +0 -1
  459. package/dist/siemens-ix/p-1d30454e.js +0 -1
  460. package/dist/siemens-ix/p-1d56d9b6.entry.js +0 -1
  461. package/dist/siemens-ix/p-235606b2.entry.js +0 -1
  462. package/dist/siemens-ix/p-2b7ed5d4.entry.js +0 -1
  463. package/dist/siemens-ix/p-301ddeb7.js +0 -1
  464. package/dist/siemens-ix/p-334b7d5c.entry.js +0 -1
  465. package/dist/siemens-ix/p-37417714.js +0 -1
  466. package/dist/siemens-ix/p-3f809fb3.entry.js +0 -1
  467. package/dist/siemens-ix/p-4287bd7e.entry.js +0 -1
  468. package/dist/siemens-ix/p-47ea9884.js +0 -1
  469. package/dist/siemens-ix/p-52d99490.entry.js +0 -1
  470. package/dist/siemens-ix/p-5a1dcc74.js +0 -1
  471. package/dist/siemens-ix/p-5f9f25ef.entry.js +0 -1
  472. package/dist/siemens-ix/p-5fed62f8.entry.js +0 -1
  473. package/dist/siemens-ix/p-6726f740.entry.js +0 -1
  474. package/dist/siemens-ix/p-67c2bca6.entry.js +0 -1
  475. package/dist/siemens-ix/p-6f625f0e.js +0 -1
  476. package/dist/siemens-ix/p-71de6498.entry.js +0 -1
  477. package/dist/siemens-ix/p-77823732.entry.js +0 -1
  478. package/dist/siemens-ix/p-78df1e46.entry.js +0 -1
  479. package/dist/siemens-ix/p-7d667916.entry.js +0 -1
  480. package/dist/siemens-ix/p-7f5a2e3c.entry.js +0 -1
  481. package/dist/siemens-ix/p-810b5232.js +0 -1
  482. package/dist/siemens-ix/p-81e46337.entry.js +0 -1
  483. package/dist/siemens-ix/p-8239c3a1.entry.js +0 -1
  484. package/dist/siemens-ix/p-893b7bf6.entry.js +0 -1
  485. package/dist/siemens-ix/p-94b86dec.entry.js +0 -1
  486. package/dist/siemens-ix/p-a49005f3.entry.js +0 -1
  487. package/dist/siemens-ix/p-a8396077.entry.js +0 -1
  488. package/dist/siemens-ix/p-ab715295.entry.js +0 -1
  489. package/dist/siemens-ix/p-b4003026.entry.js +0 -1
  490. package/dist/siemens-ix/p-b93c2fab.entry.js +0 -1
  491. package/dist/siemens-ix/p-bd15d8ca.entry.js +0 -1
  492. package/dist/siemens-ix/p-bdd294d2.js +0 -1
  493. package/dist/siemens-ix/p-be1ec062.entry.js +0 -1
  494. package/dist/siemens-ix/p-bf5513a0.entry.js +0 -1
  495. package/dist/siemens-ix/p-c0c9fb81.entry.js +0 -1
  496. package/dist/siemens-ix/p-c3738ffc.entry.js +0 -1
  497. package/dist/siemens-ix/p-c792adb4.entry.js +0 -1
  498. package/dist/siemens-ix/p-c9a5d942.entry.js +0 -1
  499. package/dist/siemens-ix/p-cb6e62ff.entry.js +0 -1
  500. package/dist/siemens-ix/p-cbd0f8a7.entry.js +0 -1
  501. package/dist/siemens-ix/p-d23706a7.js +0 -1
  502. package/dist/siemens-ix/p-d2fc562a.entry.js +0 -1
  503. package/dist/siemens-ix/p-da2cae32.js +0 -1
  504. package/dist/siemens-ix/p-df43662b.entry.js +0 -1
  505. package/dist/siemens-ix/p-f2636faf.entry.js +0 -1
  506. package/dist/siemens-ix/p-f86fcdf4.js +0 -1
  507. package/dist/siemens-ix/p-fa44655a.entry.js +0 -1
  508. package/dist/siemens-ix/p-fbe40498.js +0 -1
  509. package/dist/siemens-ix/p-fe5db4d1.entry.js +0 -1
  510. package/dist/siemens-ix/siemens-ix.css +0 -19249
  511. package/dist/siemens-ix/siemens-ix.esm.js +0 -1
  512. package/dist/types/components/animated-tab/animated-tab.d.ts +0 -11
  513. package/dist/types/components/animated-tabs/animated-tabs.d.ts +0 -44
  514. package/dist/types/components/application-header/application-header.d.ts +0 -10
  515. package/dist/types/components/basic-navigation/basic-navigation.d.ts +0 -16
  516. package/dist/types/components/blind/blind.d.ts +0 -26
  517. package/dist/types/components/breadcrumb/breadcrumb.d.ts +0 -48
  518. package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +0 -11
  519. package/dist/types/components/button/base-button.d.ts +0 -13
  520. package/dist/types/components/button/button.d.ts +0 -34
  521. package/dist/types/components/category-filter/category-filter.d.ts +0 -129
  522. package/dist/types/components/category-filter/filter-state.d.ts +0 -9
  523. package/dist/types/components/category-filter/input-state.d.ts +0 -6
  524. package/dist/types/components/category-filter/logical-filter-operator.d.ts +0 -4
  525. package/dist/types/components/chip/chip.d.ts +0 -38
  526. package/dist/types/components/counter-pill/counter-pill.d.ts +0 -24
  527. package/dist/types/components/date-picker/date-picker.d.ts +0 -136
  528. package/dist/types/components/date-picker/events.d.ts +0 -5
  529. package/dist/types/components/date-time-card/date-time-card.d.ts +0 -14
  530. package/dist/types/components/datetime-picker/datetime-picker.d.ts +0 -128
  531. package/dist/types/components/datetime-picker/event.d.ts +0 -5
  532. package/dist/types/components/drawer/drawer.d.ts +0 -49
  533. package/dist/types/components/dropdown/dropdown.d.ts +0 -70
  534. package/dist/types/components/dropdown-item/dropdown-item.d.ts +0 -33
  535. package/dist/types/components/event-list/event-list.d.ts +0 -31
  536. package/dist/types/components/event-list-item/event-list-item.d.ts +0 -34
  537. package/dist/types/components/expanding-search/expanding-search.d.ts +0 -31
  538. package/dist/types/components/filter-chip/filter-chip.d.ts +0 -14
  539. package/dist/types/components/flip-tile/flip-tile-state.d.ts +0 -7
  540. package/dist/types/components/flip-tile/flip-tile.d.ts +0 -22
  541. package/dist/types/components/flip-tile-content/flip-tile-content.d.ts +0 -3
  542. package/dist/types/components/group/group.d.ts +0 -59
  543. package/dist/types/components/group-dropdown-item/group-dropdown-item.d.ts +0 -11
  544. package/dist/types/components/group-item/group-item.d.ts +0 -39
  545. package/dist/types/components/icon/icon.d.ts +0 -15
  546. package/dist/types/components/icon-button/icon-button.d.ts +0 -51
  547. package/dist/types/components/input-group/input-group.d.ts +0 -5
  548. package/dist/types/components/kpi/kpi.d.ts +0 -25
  549. package/dist/types/components/map-navigation/map-navigation.d.ts +0 -51
  550. package/dist/types/components/map-navigation-overlay/map-navigation-overlay.d.ts +0 -20
  551. package/dist/types/components/menu/menu.d.ts +0 -145
  552. package/dist/types/components/menu-about/menu-about.d.ts +0 -31
  553. package/dist/types/components/menu-about-item/menu-about-item.d.ts +0 -7
  554. package/dist/types/components/menu-about-news/menu-about-news.d.ts +0 -36
  555. package/dist/types/components/menu-avatar/menu-avatar.d.ts +0 -26
  556. package/dist/types/components/menu-avatar-item/menu-avatar-item.d.ts +0 -17
  557. package/dist/types/components/menu-item/menu-item.d.ts +0 -31
  558. package/dist/types/components/menu-settings/menu-settings.d.ts +0 -27
  559. package/dist/types/components/menu-settings-item/menu-settings-item.d.ts +0 -7
  560. package/dist/types/components/message-bar/message-bar.d.ts +0 -23
  561. package/dist/types/components/modal/modal-utils.d.ts +0 -26
  562. package/dist/types/components/modal/modal.d.ts +0 -99
  563. package/dist/types/components/modal-container/modal-container.d.ts +0 -15
  564. package/dist/types/components/my-component/example-modal.d.ts +0 -6
  565. package/dist/types/components/my-component/my-component.d.ts +0 -3
  566. package/dist/types/components/pill/pill.d.ts +0 -28
  567. package/dist/types/components/select/select.d.ts +0 -83
  568. package/dist/types/components/select-item/select-item.d.ts +0 -31
  569. package/dist/types/components/spinner/spinner.d.ts +0 -11
  570. package/dist/types/components/split-button/split-button.d.ts +0 -57
  571. package/dist/types/components/split-button-item/split-button-item.d.ts +0 -17
  572. package/dist/types/components/tab-item/tab-item.d.ts +0 -36
  573. package/dist/types/components/tabs/tabs.d.ts +0 -46
  574. package/dist/types/components/tile/tile.d.ts +0 -7
  575. package/dist/types/components/time-picker/time-picker.d.ts +0 -80
  576. package/dist/types/components/toast/toast-container.d.ts +0 -25
  577. package/dist/types/components/toast/toast-utils.d.ts +0 -33
  578. package/dist/types/components/toast/toast.d.ts +0 -39
  579. package/dist/types/components/toggle/toggle.d.ts +0 -45
  580. package/dist/types/components/tree/tree-model.d.ts +0 -17
  581. package/dist/types/components/tree/tree.d.ts +0 -44
  582. package/dist/types/components/tree-item/default-tree-item.d.ts +0 -6
  583. package/dist/types/components/tree-item/tree-item.d.ts +0 -25
  584. package/dist/types/components/upload/upload-file-state.d.ts +0 -6
  585. package/dist/types/components/upload/upload.d.ts +0 -70
  586. package/dist/types/components/utils/animation.d.ts +0 -7
  587. package/dist/types/components/utils/button-variants.d.ts +0 -1
  588. package/dist/types/components/utils/mutation-observer.d.ts +0 -1
  589. package/dist/types/components/utils/notification-color.d.ts +0 -4
  590. package/dist/types/components/utils/popover.util.d.ts +0 -9
  591. package/dist/types/components/utils/rwd.util.d.ts +0 -2
  592. package/dist/types/components/utils/toggle-theme.d.ts +0 -1
  593. package/dist/types/components/utils/typed-event.d.ts +0 -15
  594. package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +0 -31
  595. package/dist/types/components/workflow-step/workflow-step.d.ts +0 -35
  596. package/dist/types/components/workflow-steps/workflow-steps.d.ts +0 -29
  597. package/dist/types/components.d.ts +0 -3689
  598. package/dist/types/env.d.ts +0 -1
  599. package/dist/types/exports.d.ts +0 -7
  600. package/dist/types/index.d.ts +0 -11
  601. package/dist/types/stencil-public-runtime.d.ts +0 -1565
  602. package/dist/types/utils/test/index.d.ts +0 -1
  603. package/dist/types/utils/test/page.d.ts +0 -3
  604. package/loader/cdn.js +0 -3
  605. package/loader/index.cjs.js +0 -3
  606. package/loader/index.d.ts +0 -12
  607. package/loader/index.es2017.js +0 -3
  608. package/loader/index.js +0 -4
  609. package/loader/package.json +0 -10
@@ -1,303 +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, Listen, Prop, State, Watch } from '@stencil/core';
10
- import anime from 'animejs';
11
- import Animation from '../utils/animation';
12
- import { convertToAbbreviationString } from '../utils/rwd.util';
13
- export class AnimatedTabs {
14
- constructor() {
15
- /**
16
- * @deprecated - For debugging purposes only
17
- */
18
- this.disableAnimations = false;
19
- /**
20
- * Current selected tab index
21
- */
22
- this.selectedIndex = 0;
23
- /**
24
- * Placement of the tabs
25
- */
26
- this.tabPlacement = 'top';
27
- this.easing = 'easeInOutSine';
28
- this.firstRender = true;
29
- }
30
- onTabSelectionChange(newSelectionIndex, oldSelectionIndex) {
31
- this.updateTabAnimation(oldSelectionIndex, newSelectionIndex);
32
- }
33
- onMouseDown() {
34
- this.activeIndex = undefined;
35
- }
36
- get animatedTabs() {
37
- return Array.from(this.hostElement.querySelectorAll('ix-animated-tab'));
38
- }
39
- get tabsContainer() {
40
- return this.hostElement.querySelector('.tabs-container');
41
- }
42
- get contentContainer() {
43
- return this.hostElement.querySelector('.content-container');
44
- }
45
- componentWillLoad() {
46
- this.tabs = this.animatedTabs;
47
- }
48
- componentDidLoad() {
49
- this.onTabSelectionChange(this.selectedIndex, -1);
50
- this.observer = new MutationObserver(() => {
51
- // Will trigger a re-render even if only the count attribute of a child tab changed
52
- this.tabs = this.animatedTabs;
53
- });
54
- this.observer.observe(this.contentContainer, {
55
- childList: true,
56
- subtree: true,
57
- attributes: true,
58
- attributeFilter: ['count'],
59
- });
60
- }
61
- //@ts-expect-error
62
- disconnectCallback() {
63
- var _a;
64
- (_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
65
- }
66
- isSelected(tab) {
67
- return this.tabs.indexOf(tab) === this.selectedIndex;
68
- }
69
- showTab(tab) {
70
- if (this.isSelected(tab)) {
71
- tab.classList.remove('d-none');
72
- }
73
- }
74
- hideTab(tab) {
75
- if (!this.isSelected(tab)) {
76
- tab.classList.add('d-none');
77
- }
78
- }
79
- slideOutLeft(tab) {
80
- if (this.disableAnimations) {
81
- this.hideTab(tab);
82
- return;
83
- }
84
- anime({
85
- targets: tab,
86
- duration: Animation.mediumTime,
87
- opacity: [1, 0],
88
- translateX: [0, '-100%'],
89
- easing: this.easing,
90
- complete: () => {
91
- this.hideTab(tab);
92
- },
93
- });
94
- }
95
- slideOutRight(tab) {
96
- if (this.disableAnimations) {
97
- this.hideTab(tab);
98
- return;
99
- }
100
- anime({
101
- targets: tab,
102
- duration: Animation.mediumTime,
103
- opacity: [1, 0],
104
- translateX: [0, '100%'],
105
- easing: this.easing,
106
- complete: () => {
107
- this.hideTab(tab);
108
- },
109
- });
110
- }
111
- slideInLeft(tab) {
112
- if (this.firstRender) {
113
- tab.classList.remove('d-none');
114
- this.firstRender = false;
115
- return;
116
- }
117
- if (this.disableAnimations) {
118
- this.showTab(tab);
119
- return;
120
- }
121
- anime({
122
- targets: tab,
123
- duration: Animation.mediumTime,
124
- opacity: [0, 1],
125
- translateX: ['-100%', 0],
126
- easing: this.easing,
127
- begin: () => {
128
- this.showTab(tab);
129
- },
130
- });
131
- }
132
- slideInRight(tab) {
133
- if (this.firstRender) {
134
- tab.classList.remove('d-none');
135
- this.firstRender = false;
136
- return;
137
- }
138
- if (this.disableAnimations) {
139
- this.showTab(tab);
140
- return;
141
- }
142
- anime({
143
- targets: tab,
144
- duration: Animation.mediumTime,
145
- opacity: [0, 1],
146
- translateX: ['100%', 0],
147
- easing: this.easing,
148
- begin: () => {
149
- this.showTab(tab);
150
- },
151
- });
152
- }
153
- updateTabAnimation(oldIndex, newIndex) {
154
- var _a;
155
- (_a = this.tabs) === null || _a === void 0 ? void 0 : _a.forEach((tab, tabIndex) => {
156
- if (tabIndex === oldIndex) {
157
- if (tabIndex < newIndex) {
158
- this.slideOutLeft(tab);
159
- }
160
- else if (tabIndex > newIndex) {
161
- this.slideOutRight(tab);
162
- }
163
- }
164
- else if (tabIndex === newIndex) {
165
- if (tabIndex < oldIndex) {
166
- this.slideInLeft(tab);
167
- }
168
- else if (tabIndex > oldIndex) {
169
- this.slideInRight(tab);
170
- }
171
- }
172
- else {
173
- tab.classList.add('d-none');
174
- }
175
- });
176
- }
177
- onTabClick(index) {
178
- this.selectedIndex = index;
179
- this.tabClick.emit(index);
180
- }
181
- onTabMouseDown(index) {
182
- this.activeIndex = index;
183
- }
184
- render() {
185
- return (h(Host, { class: { 'flex-column-reverse': this.tabPlacement === 'bottom' } },
186
- h("ul", { class: "tabs-container" },
187
- this.animatedTabs.map((element, index) => (h("li", { class: { bottom: this.tabPlacement === 'bottom' }, onClick: () => this.onTabClick(index), onMouseDown: () => this.onTabMouseDown(index) },
188
- h("div", { class: {
189
- 'tab-container': true,
190
- selected: this.selectedIndex === index,
191
- } },
192
- h("ix-icon", { name: element.icon }),
193
- element.count ? (h("span", { class: {
194
- count: true,
195
- bottom: this.tabPlacement === 'bottom',
196
- } }, convertToAbbreviationString(element.count))) : (''))))),
197
- h("div", { class: {
198
- 'tab-active-underline': true,
199
- bottom: this.tabPlacement === 'bottom',
200
- }, style: { 'margin-left': `calc(${this.selectedIndex} * 5rem)` } })),
201
- h("div", { class: "content-container" },
202
- h("slot", null))));
203
- }
204
- static get is() { return "ix-animated-tabs"; }
205
- static get encapsulation() { return "scoped"; }
206
- static get originalStyleUrls() { return {
207
- "$": ["animated-tabs.scss"]
208
- }; }
209
- static get styleUrls() { return {
210
- "$": ["animated-tabs.css"]
211
- }; }
212
- static get properties() { return {
213
- "disableAnimations": {
214
- "type": "boolean",
215
- "mutable": false,
216
- "complexType": {
217
- "original": "boolean",
218
- "resolved": "boolean",
219
- "references": {}
220
- },
221
- "required": false,
222
- "optional": false,
223
- "docs": {
224
- "tags": [{
225
- "name": "deprecated",
226
- "text": "- For debugging purposes only"
227
- }],
228
- "text": ""
229
- },
230
- "attribute": "disable-animations",
231
- "reflect": false,
232
- "defaultValue": "false"
233
- },
234
- "selectedIndex": {
235
- "type": "number",
236
- "mutable": false,
237
- "complexType": {
238
- "original": "number",
239
- "resolved": "number",
240
- "references": {}
241
- },
242
- "required": false,
243
- "optional": false,
244
- "docs": {
245
- "tags": [],
246
- "text": "Current selected tab index"
247
- },
248
- "attribute": "selected-index",
249
- "reflect": false,
250
- "defaultValue": "0"
251
- },
252
- "tabPlacement": {
253
- "type": "string",
254
- "mutable": false,
255
- "complexType": {
256
- "original": "'top' | 'bottom'",
257
- "resolved": "\"bottom\" | \"top\"",
258
- "references": {}
259
- },
260
- "required": false,
261
- "optional": false,
262
- "docs": {
263
- "tags": [],
264
- "text": "Placement of the tabs"
265
- },
266
- "attribute": "tab-placement",
267
- "reflect": false,
268
- "defaultValue": "'top'"
269
- }
270
- }; }
271
- static get states() { return {
272
- "tabs": {},
273
- "activeIndex": {}
274
- }; }
275
- static get events() { return [{
276
- "method": "tabClick",
277
- "name": "tabClick",
278
- "bubbles": true,
279
- "cancelable": true,
280
- "composed": true,
281
- "docs": {
282
- "tags": [],
283
- "text": "Tab navigated"
284
- },
285
- "complexType": {
286
- "original": "any",
287
- "resolved": "any",
288
- "references": {}
289
- }
290
- }]; }
291
- static get elementRef() { return "hostElement"; }
292
- static get watchers() { return [{
293
- "propName": "selectedIndex",
294
- "methodName": "onTabSelectionChange"
295
- }]; }
296
- static get listeners() { return [{
297
- "name": "mouseup",
298
- "method": "onMouseDown",
299
- "target": undefined,
300
- "capture": false,
301
- "passive": true
302
- }]; }
303
- }
@@ -1,30 +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: flex;
11
- align-items: center;
12
- position: relative;
13
- width: 100%;
14
- height: 2.75rem;
15
- padding-left: 1rem;
16
- color: var(--theme-app-header-logo--color);
17
- background-color: var(--theme-app-header--background);
18
- border-bottom: var(--theme-app-header--border-width) solid var(--theme-app-header--border-color);
19
- }
20
- :host .name {
21
- margin-left: 2.5rem;
22
- margin-right: 2.5rem;
23
- }
24
- :host .logo {
25
- display: inline-flex;
26
- align-items: center;
27
- position: relative;
28
- height: 32px;
29
- overflow: hidden;
30
- }
@@ -1,56 +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, h, Host, Prop } from '@stencil/core';
10
- export class ApplicationHeader {
11
- componentDidLoad() {
12
- this.attachSiemensLogoIfLoaded();
13
- }
14
- async attachSiemensLogoIfLoaded() {
15
- await window.customElements.whenDefined('ix-siemens-logo');
16
- const logoElement = document.createElement('ix-siemens-logo');
17
- if (!this.host.querySelector('[slot="logo"]')) {
18
- this.host.shadowRoot.querySelector('.logo').appendChild(logoElement);
19
- }
20
- }
21
- render() {
22
- return (h(Host, null,
23
- h("div", { class: "logo" },
24
- h("slot", { name: "logo" })),
25
- h("span", { class: "name" }, this.name),
26
- h("slot", null)));
27
- }
28
- static get is() { return "ix-application-header"; }
29
- static get encapsulation() { return "shadow"; }
30
- static get originalStyleUrls() { return {
31
- "$": ["application-header.scss"]
32
- }; }
33
- static get styleUrls() { return {
34
- "$": ["application-header.css"]
35
- }; }
36
- static get properties() { return {
37
- "name": {
38
- "type": "string",
39
- "mutable": false,
40
- "complexType": {
41
- "original": "string",
42
- "resolved": "string",
43
- "references": {}
44
- },
45
- "required": false,
46
- "optional": false,
47
- "docs": {
48
- "tags": [],
49
- "text": "Application name"
50
- },
51
- "attribute": "name",
52
- "reflect": false
53
- }
54
- }; }
55
- static get elementRef() { return "host"; }
56
- }
@@ -1,29 +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: flex;
11
- position: relative;
12
- width: 100%;
13
- height: 100%;
14
- flex-direction: column;
15
- }
16
- :host ix-application-header {
17
- z-index: calc(var(--theme-z-index-sticky) + 1);
18
- }
19
- :host .content {
20
- display: flex;
21
- height: calc(100% - 2.75rem);
22
- width: calc(100% - 4rem);
23
- position: relative;
24
- margin-left: 4rem;
25
- overflow: auto;
26
- }
27
- :host.hide-header .content {
28
- height: 100%;
29
- }
@@ -1,91 +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, h, Host, Prop } from '@stencil/core';
10
- export class BasicNavigation {
11
- constructor() {
12
- /**
13
- * Hide application header
14
- */
15
- this.hideHeader = false;
16
- }
17
- get menu() {
18
- return this.hostElement.querySelector('ix-menu');
19
- }
20
- componentDidRender() {
21
- if (this.menu) {
22
- this.appendMenu();
23
- this.adjustMenuHeight();
24
- this.menu.applicationName = this.applicationName;
25
- }
26
- }
27
- appendMenu() {
28
- this.hostElement.querySelector('#menu-placeholder').appendChild(this.menu);
29
- }
30
- adjustMenuHeight() {
31
- if (!this.hideHeader) {
32
- this.menu.style.height = 'calc(100% - 2.75rem)';
33
- }
34
- }
35
- render() {
36
- return (h(Host, { class: {
37
- 'hide-header': this.hideHeader,
38
- } },
39
- !this.hideHeader ? (h("ix-application-header", { name: this.applicationName },
40
- h("slot", { name: "logo" }))) : null,
41
- h("div", { id: "menu-placeholder" }),
42
- h("div", { class: "content", onClick: () => this.menu.toggleMenu(false) },
43
- h("slot", null))));
44
- }
45
- static get is() { return "ix-basic-navigation"; }
46
- static get encapsulation() { return "scoped"; }
47
- static get originalStyleUrls() { return {
48
- "$": ["basic-navigation.scss"]
49
- }; }
50
- static get styleUrls() { return {
51
- "$": ["basic-navigation.css"]
52
- }; }
53
- static get properties() { return {
54
- "applicationName": {
55
- "type": "string",
56
- "mutable": false,
57
- "complexType": {
58
- "original": "string",
59
- "resolved": "string",
60
- "references": {}
61
- },
62
- "required": false,
63
- "optional": false,
64
- "docs": {
65
- "tags": [],
66
- "text": "Application name"
67
- },
68
- "attribute": "application-name",
69
- "reflect": false
70
- },
71
- "hideHeader": {
72
- "type": "boolean",
73
- "mutable": false,
74
- "complexType": {
75
- "original": "boolean",
76
- "resolved": "boolean",
77
- "references": {}
78
- },
79
- "required": false,
80
- "optional": false,
81
- "docs": {
82
- "tags": [],
83
- "text": "Hide application header"
84
- },
85
- "attribute": "hide-header",
86
- "reflect": false,
87
- "defaultValue": "false"
88
- }
89
- }; }
90
- static get elementRef() { return "hostElement"; }
91
- }
@@ -1,146 +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
- /*
38
- * SPDX-FileCopyrightText: 2022 Siemens AG
39
- *
40
- * SPDX-License-Identifier: MIT
41
- *
42
- * This source code is licensed under the MIT license found in the
43
- * LICENSE file in the root directory of this source tree.
44
- */
45
- :host {
46
- display: flex;
47
- flex-direction: column;
48
- background-color: var(--theme-blind-base--background);
49
- border: solid var(--theme-blind--border-thickness) var(--theme-blind-base--border-color);
50
- border-radius: var(--theme-blind--border-radius);
51
- overflow: hidden;
52
- }
53
- :host .blind-header {
54
- overflow: hidden;
55
- text-overflow: ellipsis;
56
- white-space: nowrap;
57
- display: flex;
58
- align-items: center;
59
- min-height: 3rem;
60
- height: 3rem;
61
- border: solid var(--theme-blind--border-thickness) transparent;
62
- border-radius: var(--theme-blind--border-radius) var(--theme-blind--border-radius) 0 0;
63
- padding-right: 1rem;
64
- transition: border-radius 150ms;
65
- cursor: pointer;
66
- z-index: 1;
67
- color: var(--theme-blind-header-closed--color);
68
- background-color: var(--theme-blind-header-closed--background);
69
- }
70
- :host .blind-header .glyph {
71
- color: var(--theme-blind-header-icon-closed--color);
72
- padding: 0.25rem 0.5rem;
73
- }
74
- :host .blind-header .blind-header-title {
75
- overflow: hidden;
76
- text-overflow: ellipsis;
77
- white-space: nowrap;
78
- }
79
- :host .blind-header .blind-header-title .blind-header-title-default {
80
- -webkit-font-smoothing: antialiased;
81
- -moz-osx-font-smooting: grayscale;
82
- font-family: Siemens Sans, sans-serif;
83
- font-size: 1rem;
84
- font-weight: 700;
85
- line-height: 1.5em;
86
- color: var(--theme-color-std-text);
87
- }
88
- :host .blind-header:not(.disabled):not(:disabled) {
89
- cursor: pointer;
90
- }
91
- :host .blind-header:not(.disabled):not(:disabled):hover {
92
- background-color: var(--theme-blind-header-open--background--hover);
93
- }
94
- :host .blind-header:not(.disabled):not(:disabled):hover .glyph {
95
- color: var(--theme-blind-header-icon-open--color--hover);
96
- }
97
- :host .blind-header:not(.disabled):not(:disabled) {
98
- cursor: pointer;
99
- }
100
- :host .blind-header:not(.disabled):not(:disabled):active {
101
- background-color: var(--theme-blind-header-open--background--active);
102
- }
103
- :host .blind-header:not(.disabled):not(:disabled):active .glyph {
104
- color: var(--theme-blind-header-icon-open--color--active);
105
- }
106
- :host .blind-header:not(.disabled):not(:disabled):focus-visible {
107
- border-color: var(--theme-focus--border-color);
108
- }
109
- :host .blind-header.closed {
110
- border-radius: var(--theme-blind--border-radius);
111
- }
112
- :host .blind-header.closed:not(.disabled):not(:disabled) {
113
- cursor: pointer;
114
- }
115
- :host .blind-header.closed:not(.disabled):not(:disabled):hover {
116
- background-color: var(--theme-blind-header-open--background--hover);
117
- }
118
- :host .blind-header.closed:not(.disabled):not(:disabled):hover .glyph {
119
- color: var(--theme-blind-header-icon-closed--color--hover);
120
- }
121
- :host .blind-header.closed:not(.disabled):not(:disabled) {
122
- cursor: pointer;
123
- }
124
- :host .blind-header.closed:not(.disabled):not(:disabled):active {
125
- background-color: var(--theme-blind-header-open--background--active);
126
- }
127
- :host .blind-header.closed:not(.disabled):not(:disabled):active .glyph {
128
- color: var(--theme-blind-header-icon-closed--color--active);
129
- }
130
- :host .blind-custom-header {
131
- display: flex;
132
- align-items: center;
133
- }
134
- :host .blind-content {
135
- display: block;
136
- padding: 1rem;
137
- max-height: 1;
138
- transition-property: padding;
139
- transition-duration: 150ms;
140
- transition-timing-function: ease-in;
141
- }
142
- :host .blind-content.hide {
143
- max-height: 0;
144
- padding-top: 0px;
145
- padding-bottom: 0px;
146
- }