@siemens/ix 1.1.0-beta.5 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (342) hide show
  1. package/dist/cjs/{base-button-eb1d47db.js → base-button-6ef79cb6.js} +3 -3
  2. package/dist/cjs/{index-1e4a348f.js → index-40761405.js} +467 -275
  3. package/dist/cjs/index.cjs.js +2 -2
  4. package/dist/cjs/ix-animated-tab_2.cjs.entry.js +7 -12
  5. package/dist/cjs/ix-application-header.cjs.entry.js +2 -1
  6. package/dist/cjs/ix-basic-navigation.cjs.entry.js +2 -4
  7. package/dist/cjs/ix-blind.cjs.entry.js +2 -9
  8. package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +6 -11
  9. package/dist/cjs/ix-button.cjs.entry.js +2 -25
  10. package/dist/cjs/ix-category-filter.cjs.entry.js +16 -27
  11. package/dist/cjs/ix-chip.cjs.entry.js +4 -13
  12. package/dist/cjs/ix-counter-pill.cjs.entry.js +3 -10
  13. package/dist/cjs/ix-date-picker_2.cjs.entry.js +23 -91
  14. package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -7
  15. package/dist/cjs/ix-datetime-picker.cjs.entry.js +9 -53
  16. package/dist/cjs/ix-drawer.cjs.entry.js +2 -20
  17. package/dist/cjs/ix-dropdown_2.cjs.entry.js +7 -30
  18. package/dist/cjs/ix-event-list_2.cjs.entry.js +6 -19
  19. package/dist/cjs/ix-expanding-search.cjs.entry.js +1 -10
  20. package/dist/cjs/ix-filter-chip.cjs.entry.js +1 -4
  21. package/dist/cjs/ix-flip-tile_2.cjs.entry.js +4 -1
  22. package/dist/cjs/ix-group_3.cjs.entry.js +9 -26
  23. package/dist/cjs/ix-icon-button.cjs.entry.js +8 -17
  24. package/dist/cjs/ix-icon.cjs.entry.js +4 -1
  25. package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
  26. package/dist/cjs/ix-kpi.cjs.entry.js +4 -7
  27. package/dist/cjs/ix-map-navigation_2.cjs.entry.js +44 -9
  28. package/dist/cjs/ix-menu_9.cjs.entry.js +26 -82
  29. package/dist/cjs/ix-message-bar.cjs.entry.js +3 -7
  30. package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
  31. package/dist/cjs/ix-modal_2.cjs.entry.js +2 -2
  32. package/dist/cjs/ix-pill.cjs.entry.js +4 -10
  33. package/dist/cjs/ix-select_2.cjs.entry.js +8 -34
  34. package/dist/cjs/ix-spinner.cjs.entry.js +1 -7
  35. package/dist/cjs/ix-split-button_2.cjs.entry.js +5 -28
  36. package/dist/cjs/ix-tab-item.cjs.entry.js +2 -22
  37. package/dist/cjs/ix-tabs.cjs.entry.js +5 -20
  38. package/dist/cjs/ix-tile.cjs.entry.js +1 -4
  39. package/dist/cjs/ix-toast_2.cjs.entry.js +4 -16
  40. package/dist/cjs/ix-toggle.cjs.entry.js +1 -26
  41. package/dist/cjs/ix-tree_2.cjs.entry.js +8 -5
  42. package/dist/cjs/ix-upload.cjs.entry.js +2 -46
  43. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +4 -6
  44. package/dist/cjs/ix-workflow-step_2.cjs.entry.js +1 -31
  45. package/dist/cjs/loader.cjs.js +2 -2
  46. package/dist/cjs/{modal-5be2b1a3.js → modal-42934387.js} +10 -27
  47. package/dist/cjs/my-component.cjs.entry.js +1 -1
  48. package/dist/cjs/siemens-ix.cjs.js +2 -2
  49. package/dist/collection/collection-manifest.json +2 -2
  50. package/dist/collection/components/animated-tab/animated-tab.js +53 -44
  51. package/dist/collection/components/animated-tabs/animated-tabs.js +122 -123
  52. package/dist/collection/components/application-header/application-header.js +36 -31
  53. package/dist/collection/components/basic-navigation/basic-navigation.js +51 -52
  54. package/dist/collection/components/blind/blind.js +83 -83
  55. package/dist/collection/components/breadcrumb/breadcrumb.css +2 -7
  56. package/dist/collection/components/breadcrumb/breadcrumb.js +119 -129
  57. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +53 -44
  58. package/dist/collection/components/button/base-button.js +3 -3
  59. package/dist/collection/components/button/button.js +143 -161
  60. package/dist/collection/components/category-filter/category-filter.js +355 -372
  61. package/dist/collection/components/chip/chip.js +154 -160
  62. package/dist/collection/components/counter-pill/counter-pill.js +102 -105
  63. package/dist/collection/components/date-picker/date-picker.js +352 -406
  64. package/dist/collection/components/date-time-card/date-time-card.js +54 -60
  65. package/dist/collection/components/datetime-picker/datetime-picker.js +399 -442
  66. package/dist/collection/components/datetime-picker/event.js +0 -8
  67. package/dist/collection/components/drawer/drawer.js +185 -197
  68. package/dist/collection/components/dropdown/dropdown.css +2 -0
  69. package/dist/collection/components/dropdown/dropdown.js +240 -245
  70. package/dist/collection/components/dropdown-item/dropdown-item.js +147 -149
  71. package/dist/collection/components/event-list/event-list.js +85 -92
  72. package/dist/collection/components/event-list-item/event-list-item.js +136 -133
  73. package/dist/collection/components/expanding-search/expanding-search.js +112 -116
  74. package/dist/collection/components/filter-chip/filter-chip.js +51 -50
  75. package/dist/collection/components/flip-tile/flip-tile.js +74 -72
  76. package/dist/collection/components/flip-tile-content/flip-tile-content.js +12 -9
  77. package/dist/collection/components/group/group.js +201 -221
  78. package/dist/collection/components/group-dropdown-item/group-dropdown-item.js +53 -45
  79. package/dist/collection/components/group-item/group-item.js +165 -164
  80. package/dist/collection/components/icon/icon.js +77 -68
  81. package/dist/collection/components/icon-button/icon-button.js +207 -217
  82. package/dist/collection/components/input-group/input-group.js +12 -13
  83. package/dist/collection/components/kpi/kpi.js +106 -110
  84. package/dist/collection/components/map-navigation/map-navigation.css +3 -10
  85. package/dist/collection/components/map-navigation/map-navigation.js +186 -185
  86. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +1 -0
  87. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +124 -88
  88. package/dist/collection/components/menu/menu.css +2 -3
  89. package/dist/collection/components/menu/menu.js +483 -527
  90. package/dist/collection/components/menu-about/menu-about.js +99 -98
  91. package/dist/collection/components/menu-about-item/menu-about-item.js +36 -28
  92. package/dist/collection/components/menu-about-news/menu-about-news.js +160 -174
  93. package/dist/collection/components/menu-avatar/menu-avatar.js +102 -101
  94. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +72 -60
  95. package/dist/collection/components/menu-item/menu-item.js +128 -127
  96. package/dist/collection/components/menu-settings/menu-settings.js +94 -94
  97. package/dist/collection/components/menu-settings-item/menu-settings-item.js +36 -28
  98. package/dist/collection/components/message-bar/message-bar.js +78 -77
  99. package/dist/collection/components/modal/modal.js +404 -418
  100. package/dist/collection/components/modal-container/modal-container.js +51 -44
  101. package/dist/collection/components/my-component/example-modal.js +2 -10
  102. package/dist/collection/components/my-component/my-component.js +11 -7
  103. package/dist/collection/components/pill/pill.js +119 -122
  104. package/dist/collection/components/select/select.js +282 -303
  105. package/dist/collection/components/select-item/select-item.js +134 -129
  106. package/dist/collection/components/spinner/spinner.js +51 -115
  107. package/dist/collection/components/split-button/split-button.js +208 -231
  108. package/dist/collection/components/split-button-item/split-button-item.js +72 -60
  109. package/dist/collection/components/tab-item/tab-item.js +160 -177
  110. package/dist/collection/components/tabs/tabs.js +123 -137
  111. package/dist/collection/components/tile/tile.js +34 -39
  112. package/dist/collection/components/time-picker/time-picker.js +274 -323
  113. package/dist/collection/components/toast/toast-container.js +94 -96
  114. package/dist/collection/components/toast/toast.js +159 -164
  115. package/dist/collection/components/toggle/toggle.js +189 -209
  116. package/dist/collection/components/tree/tree-model.js +0 -8
  117. package/dist/collection/components/tree/tree.js +144 -135
  118. package/dist/collection/components/tree-item/tree-item.js +111 -102
  119. package/dist/collection/components/upload/upload.js +276 -319
  120. package/dist/collection/components/utils/button-variants.js +0 -8
  121. package/dist/collection/components/utils/notification-color.js +0 -8
  122. package/dist/collection/components/validation-tooltip/validation-tooltip.js +68 -65
  123. package/dist/collection/components/workflow-step/workflow-step.js +145 -163
  124. package/dist/collection/components/workflow-steps/workflow-steps.js +102 -108
  125. package/dist/components/application-header.js +1 -0
  126. package/dist/components/base-button.js +3 -3
  127. package/dist/components/button.js +0 -23
  128. package/dist/components/date-picker.js +15 -50
  129. package/dist/components/date-time-card.js +0 -6
  130. package/dist/components/dropdown-item.js +2 -9
  131. package/dist/components/dropdown.js +4 -20
  132. package/dist/components/filter-chip.js +0 -3
  133. package/dist/components/group-item.js +5 -7
  134. package/dist/components/icon-button.js +6 -15
  135. package/dist/components/icon.js +3 -0
  136. package/dist/components/index.d.ts +65 -5
  137. package/dist/components/index.js +65 -5
  138. package/dist/components/ix-animated-tab.js +2 -0
  139. package/dist/components/ix-animated-tabs.js +4 -11
  140. package/dist/components/ix-basic-navigation.js +1 -3
  141. package/dist/components/ix-blind.js +1 -9
  142. package/dist/components/ix-breadcrumb-item.js +2 -0
  143. package/dist/components/ix-breadcrumb.js +3 -10
  144. package/dist/components/ix-category-filter.js +48 -28
  145. package/dist/components/ix-chip.js +3 -12
  146. package/dist/components/ix-counter-pill.js +2 -9
  147. package/dist/components/ix-datetime-picker.js +8 -52
  148. package/dist/components/ix-drawer.js +1 -19
  149. package/dist/components/ix-event-list-item.js +4 -6
  150. package/dist/components/ix-event-list.js +1 -12
  151. package/dist/components/ix-expanding-search.js +0 -9
  152. package/dist/components/ix-flip-tile.js +21 -2
  153. package/dist/components/ix-group-dropdown-item.js +2 -0
  154. package/dist/components/ix-group.js +1 -19
  155. package/dist/components/ix-kpi.js +3 -6
  156. package/dist/components/ix-map-navigation.js +9 -6
  157. package/dist/components/ix-menu-about-item.js +1 -0
  158. package/dist/components/ix-menu-about-news.js +2 -12
  159. package/dist/components/ix-menu-about.js +1 -6
  160. package/dist/components/ix-menu-avatar.js +3 -3
  161. package/dist/components/ix-menu-settings-item.js +1 -0
  162. package/dist/components/ix-menu-settings.js +1 -6
  163. package/dist/components/ix-menu.js +10 -45
  164. package/dist/components/ix-message-bar.js +2 -6
  165. package/dist/components/ix-modal-example.js +38 -2
  166. package/dist/components/ix-pill.js +3 -9
  167. package/dist/components/ix-select.js +5 -27
  168. package/dist/components/ix-split-button-item.js +2 -0
  169. package/dist/components/ix-split-button.js +1 -26
  170. package/dist/components/ix-tile.js +0 -3
  171. package/dist/components/ix-toast-container.js +0 -6
  172. package/dist/components/ix-toggle.js +0 -25
  173. package/dist/components/ix-tree.js +24 -6
  174. package/dist/components/ix-upload.js +18 -48
  175. package/dist/components/ix-validation-tooltip.js +3 -5
  176. package/dist/components/ix-workflow-step.js +0 -18
  177. package/dist/components/ix-workflow-steps.js +0 -12
  178. package/dist/components/map-navigation-overlay.js +35 -2
  179. package/dist/components/menu-avatar-item.js +2 -0
  180. package/dist/components/menu-item.js +4 -9
  181. package/dist/components/modal.js +9 -26
  182. package/dist/components/select-item.js +2 -6
  183. package/dist/components/spinner.js +0 -6
  184. package/dist/components/tab-item.js +1 -21
  185. package/dist/components/tabs.js +4 -19
  186. package/dist/components/time-picker.js +7 -40
  187. package/dist/components/toast.js +3 -9
  188. package/dist/components/tree-item.js +3 -0
  189. package/dist/esm/{base-button-7bfb747f.js → base-button-0b6635df.js} +3 -3
  190. package/dist/esm/{index-55cfd20d.js → index-b22287de.js} +467 -275
  191. package/dist/esm/index.js +2 -2
  192. package/dist/esm/ix-animated-tab_2.entry.js +7 -12
  193. package/dist/esm/ix-application-header.entry.js +2 -1
  194. package/dist/esm/ix-basic-navigation.entry.js +2 -4
  195. package/dist/esm/ix-blind.entry.js +2 -9
  196. package/dist/esm/ix-breadcrumb_2.entry.js +6 -11
  197. package/dist/esm/ix-button.entry.js +2 -25
  198. package/dist/esm/ix-category-filter.entry.js +16 -27
  199. package/dist/esm/ix-chip.entry.js +4 -13
  200. package/dist/esm/ix-counter-pill.entry.js +3 -10
  201. package/dist/esm/ix-date-picker_2.entry.js +23 -91
  202. package/dist/esm/ix-date-time-card.entry.js +1 -7
  203. package/dist/esm/ix-datetime-picker.entry.js +9 -53
  204. package/dist/esm/ix-drawer.entry.js +2 -20
  205. package/dist/esm/ix-dropdown_2.entry.js +7 -30
  206. package/dist/esm/ix-event-list_2.entry.js +6 -19
  207. package/dist/esm/ix-expanding-search.entry.js +1 -10
  208. package/dist/esm/ix-filter-chip.entry.js +1 -4
  209. package/dist/esm/ix-flip-tile_2.entry.js +4 -1
  210. package/dist/esm/ix-group_3.entry.js +9 -26
  211. package/dist/esm/ix-icon-button.entry.js +8 -17
  212. package/dist/esm/ix-icon.entry.js +4 -1
  213. package/dist/esm/ix-input-group.entry.js +1 -1
  214. package/dist/esm/ix-kpi.entry.js +4 -7
  215. package/dist/esm/ix-map-navigation_2.entry.js +44 -9
  216. package/dist/esm/ix-menu_9.entry.js +26 -82
  217. package/dist/esm/ix-message-bar.entry.js +3 -7
  218. package/dist/esm/ix-modal-example.entry.js +1 -1
  219. package/dist/esm/ix-modal_2.entry.js +2 -2
  220. package/dist/esm/ix-pill.entry.js +4 -10
  221. package/dist/esm/ix-select_2.entry.js +8 -34
  222. package/dist/esm/ix-spinner.entry.js +1 -7
  223. package/dist/esm/ix-split-button_2.entry.js +5 -28
  224. package/dist/esm/ix-tab-item.entry.js +2 -22
  225. package/dist/esm/ix-tabs.entry.js +5 -20
  226. package/dist/esm/ix-tile.entry.js +1 -4
  227. package/dist/esm/ix-toast_2.entry.js +4 -16
  228. package/dist/esm/ix-toggle.entry.js +1 -26
  229. package/dist/esm/ix-tree_2.entry.js +8 -5
  230. package/dist/esm/ix-upload.entry.js +2 -46
  231. package/dist/esm/ix-validation-tooltip.entry.js +4 -6
  232. package/dist/esm/ix-workflow-step_2.entry.js +1 -31
  233. package/dist/esm/loader.js +2 -2
  234. package/dist/esm/{modal-8ed87a6c.js → modal-f1e45879.js} +10 -27
  235. package/dist/esm/my-component.entry.js +1 -1
  236. package/dist/esm/polyfills/css-shim.js +1 -1
  237. package/dist/esm/siemens-ix.js +2 -2
  238. package/dist/siemens-ix/index.esm.js +1 -1
  239. package/dist/siemens-ix/p-003b58b3.js +1 -0
  240. package/dist/siemens-ix/p-0419f23d.entry.js +1 -0
  241. package/dist/siemens-ix/p-0cdac3da.entry.js +1 -0
  242. package/dist/siemens-ix/p-161561ef.entry.js +1 -0
  243. package/dist/siemens-ix/p-1686ce8c.entry.js +1 -0
  244. package/dist/siemens-ix/{p-df43662b.entry.js → p-18652f43.entry.js} +1 -1
  245. package/dist/siemens-ix/p-1cd8f35f.entry.js +1 -0
  246. package/dist/siemens-ix/{p-a49005f3.entry.js → p-1d1eeeea.entry.js} +1 -1
  247. package/dist/siemens-ix/{p-2b7ed5d4.entry.js → p-38a598ed.entry.js} +1 -1
  248. package/dist/siemens-ix/p-44ab1dce.entry.js +1 -0
  249. package/dist/siemens-ix/{p-81e46337.entry.js → p-477681a5.entry.js} +1 -1
  250. package/dist/siemens-ix/{p-d2fc562a.entry.js → p-4f2fbbb5.entry.js} +1 -1
  251. package/dist/siemens-ix/{p-71de6498.entry.js → p-56bba5f9.entry.js} +1 -1
  252. package/dist/siemens-ix/p-5b4399b3.entry.js +1 -0
  253. package/dist/siemens-ix/p-5c038d1d.js +2 -0
  254. package/dist/siemens-ix/p-6d075808.entry.js +1 -0
  255. package/dist/siemens-ix/p-72b5c8d5.entry.js +1 -0
  256. package/dist/siemens-ix/p-746ebc92.entry.js +1 -0
  257. package/dist/siemens-ix/p-7fb73253.entry.js +1 -0
  258. package/dist/siemens-ix/p-87c46ff3.entry.js +1 -0
  259. package/dist/siemens-ix/p-8c5948e2.entry.js +1 -0
  260. package/dist/siemens-ix/{p-03ef9fe5.entry.js → p-8e60010d.entry.js} +1 -1
  261. package/dist/siemens-ix/p-9cc43bf2.entry.js +1 -0
  262. package/dist/siemens-ix/p-a2e33741.entry.js +1 -0
  263. package/dist/siemens-ix/p-a3760331.entry.js +1 -0
  264. package/dist/siemens-ix/p-a4ed41f9.entry.js +1 -0
  265. package/dist/siemens-ix/p-aa620cc7.entry.js +1 -0
  266. package/dist/siemens-ix/p-afefc17c.entry.js +1 -0
  267. package/dist/siemens-ix/{p-5a1dcc74.js → p-b12006c6.js} +0 -0
  268. package/dist/siemens-ix/p-b18d15c7.entry.js +1 -0
  269. package/dist/siemens-ix/{p-cbd0f8a7.entry.js → p-b49fbfc3.entry.js} +1 -1
  270. package/dist/siemens-ix/p-b7a46add.entry.js +1 -0
  271. package/dist/siemens-ix/p-b8849072.entry.js +1 -0
  272. package/dist/siemens-ix/p-c0a126c6.entry.js +1 -0
  273. package/dist/siemens-ix/p-c1674778.entry.js +1 -0
  274. package/dist/siemens-ix/p-ca8a41ea.entry.js +1 -0
  275. package/dist/siemens-ix/{p-77823732.entry.js → p-d1a17dd8.entry.js} +1 -1
  276. package/dist/siemens-ix/p-d5199425.entry.js +1 -0
  277. package/dist/siemens-ix/{p-fa44655a.entry.js → p-d62d2304.entry.js} +1 -1
  278. package/dist/siemens-ix/{p-b4003026.entry.js → p-dc8f82d5.entry.js} +1 -1
  279. package/dist/siemens-ix/{p-1d56d9b6.entry.js → p-e0c85889.entry.js} +1 -1
  280. package/dist/siemens-ix/p-e5da6672.entry.js +1 -0
  281. package/dist/siemens-ix/{p-4287bd7e.entry.js → p-eff31ef4.entry.js} +1 -1
  282. package/dist/siemens-ix/{p-bd15d8ca.entry.js → p-f34f7e30.entry.js} +1 -1
  283. package/dist/siemens-ix/p-fca4a226.entry.js +1 -0
  284. package/dist/siemens-ix/siemens-ix.css +3 -0
  285. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  286. package/dist/types/components/date-picker/date-picker.d.ts +4 -4
  287. package/dist/types/components/datetime-picker/datetime-picker.d.ts +4 -3
  288. package/dist/types/components/map-navigation/map-navigation.d.ts +2 -0
  289. package/dist/types/components/map-navigation-overlay/map-navigation-overlay.d.ts +4 -0
  290. package/dist/types/components/menu-item/menu-item.d.ts +4 -0
  291. package/dist/types/components/modal/modal.d.ts +1 -1
  292. package/dist/types/components/time-picker/time-picker.d.ts +1 -2
  293. package/dist/types/components/upload/upload.d.ts +1 -1
  294. package/dist/types/components.d.ts +221 -74
  295. package/dist/types/stencil-public-runtime.d.ts +20 -4
  296. package/loader/package.json +1 -0
  297. package/package.json +4 -6
  298. package/scss/components/_buttons.scss +1 -0
  299. package/scss/components/_dropdown.scss +3 -0
  300. package/src/components/date-picker/readme.md +3 -3
  301. package/src/components/datetime-picker/readme.md +3 -3
  302. package/src/components/map-navigation/readme.md +2 -2
  303. package/src/components/menu-item/readme.md +8 -8
  304. package/src/components/modal/readme.md +1 -1
  305. package/src/components/time-picker/readme.md +2 -2
  306. package/src/components/upload/readme.md +13 -13
  307. package/dist/components/default-tree-item.js +0 -20
  308. package/dist/components/flip-tile-state.js +0 -18
  309. package/dist/components/logical-filter-operator.js +0 -33
  310. package/dist/components/modal-utils.js +0 -38
  311. package/dist/components/upload-file-state.js +0 -17
  312. package/dist/siemens-ix/p-02501b64.entry.js +0 -1
  313. package/dist/siemens-ix/p-0e315bd7.entry.js +0 -1
  314. package/dist/siemens-ix/p-235606b2.entry.js +0 -1
  315. package/dist/siemens-ix/p-301ddeb7.js +0 -1
  316. package/dist/siemens-ix/p-334b7d5c.entry.js +0 -1
  317. package/dist/siemens-ix/p-3f809fb3.entry.js +0 -1
  318. package/dist/siemens-ix/p-47ea9884.js +0 -1
  319. package/dist/siemens-ix/p-52d99490.entry.js +0 -1
  320. package/dist/siemens-ix/p-5f9f25ef.entry.js +0 -1
  321. package/dist/siemens-ix/p-5fed62f8.entry.js +0 -1
  322. package/dist/siemens-ix/p-6726f740.entry.js +0 -1
  323. package/dist/siemens-ix/p-67c2bca6.entry.js +0 -1
  324. package/dist/siemens-ix/p-78df1e46.entry.js +0 -1
  325. package/dist/siemens-ix/p-7d667916.entry.js +0 -1
  326. package/dist/siemens-ix/p-7f5a2e3c.entry.js +0 -1
  327. package/dist/siemens-ix/p-8239c3a1.entry.js +0 -1
  328. package/dist/siemens-ix/p-893b7bf6.entry.js +0 -1
  329. package/dist/siemens-ix/p-94b86dec.entry.js +0 -1
  330. package/dist/siemens-ix/p-a8396077.entry.js +0 -1
  331. package/dist/siemens-ix/p-ab715295.entry.js +0 -1
  332. package/dist/siemens-ix/p-b93c2fab.entry.js +0 -1
  333. package/dist/siemens-ix/p-be1ec062.entry.js +0 -1
  334. package/dist/siemens-ix/p-bf5513a0.entry.js +0 -1
  335. package/dist/siemens-ix/p-c0c9fb81.entry.js +0 -1
  336. package/dist/siemens-ix/p-c3738ffc.entry.js +0 -1
  337. package/dist/siemens-ix/p-c792adb4.entry.js +0 -1
  338. package/dist/siemens-ix/p-c9a5d942.entry.js +0 -1
  339. package/dist/siemens-ix/p-cb6e62ff.entry.js +0 -1
  340. package/dist/siemens-ix/p-f2636faf.entry.js +0 -1
  341. package/dist/siemens-ix/p-fe5db4d1.entry.js +0 -1
  342. package/scripts/post-install/post-install.mjs +0 -111
@@ -6,48 +6,26 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- import { Component, Element, Event, h, Host, Listen, Prop, State, Watch } from '@stencil/core';
9
+ import { h, Host } from '@stencil/core';
10
10
  export class Select {
11
11
  constructor() {
12
- /**
13
- * Indices of selected items
14
- */
15
12
  this.selectedIndices = [];
16
- /**
17
- * Show clear button
18
- */
19
13
  this.allowClear = false;
20
- /**
21
- * Selection mode
22
- */
23
14
  this.mode = 'single';
24
- /**
25
- * Select is extendable
26
- */
27
15
  this.editable = false;
28
- /**
29
- * If true the select will be in disabled state
30
- */
31
16
  this.disabled = false;
32
- /**
33
- * If true the select will be in readonly mode
34
- */
35
17
  this.readonly = false;
36
- /**
37
- * Input field placeholder
38
- */
39
18
  this.i18nPlaceholder = 'Select an option';
40
- /**
41
- * Input field placeholder for editable select
42
- */
43
19
  this.i18nPlaceholderEditable = 'Type of select option';
44
- /**
45
- * Select list header
46
- */
47
20
  this.i18nSelectListHeader = 'Please select an option';
48
21
  this.dropdownShow = false;
22
+ this.value = undefined;
23
+ this.dropdownWrapperRef = undefined;
24
+ this.dropdownAnchor = undefined;
49
25
  this.isDropdownEmpty = false;
50
26
  this.hasFocus = false;
27
+ this.navigationItem = undefined;
28
+ this.inputText = undefined;
51
29
  }
52
30
  get items() {
53
31
  return Array.from(this.hostElement.querySelectorAll('ix-select-item'));
@@ -218,292 +196,293 @@ export class Select {
218
196
  }
219
197
  render() {
220
198
  var _a, _b, _c;
221
- return (h(Host, null,
222
- h("div", { class: {
223
- 'form-control': true,
224
- select: true,
225
- focus: this.hasFocus,
226
- editable: this.editable,
227
- disabled: this.disabled,
228
- readonly: this.readonly,
229
- }, ref: (ref) => {
230
- this.dropdownAnchor = ref;
231
- if (!this.editable)
232
- this.dropdownWrapperRef = ref;
233
- } },
234
- h("div", { class: "input-container" },
235
- this.isMultipleMode ? (h("div", { class: "chips" }, (_a = this.selectedItems) === null || _a === void 0 ? void 0 : _a.map((item) => (h("ix-filter-chip", { disabled: this.disabled || this.readonly, onCloseClick: (e) => {
236
- e.preventDefault();
237
- e.stopPropagation();
238
- this.emitItemClick(item.value);
239
- } }, item.label))))) : null,
240
- h("div", { class: "trigger" },
241
- h("input", { "data-testid": "input", disabled: this.disabled, readOnly: this.readonly, type: "text", class: {
242
- 'allow-clear': this.allowClear && !!((_b = this.value) === null || _b === void 0 ? void 0 : _b.length),
243
- }, placeholder: this.editable
244
- ? this.i18nPlaceholderEditable
245
- : this.i18nPlaceholder, value: this.getInputValue(), ref: (ref) => (this.inputRef = ref), onInput: () => this.filterItemsWithTypeahead() }),
246
- this.disabled || this.readonly ? null : (h("div", { class: "chevron-down-container", ref: (ref) => {
247
- if (this.editable)
248
- this.dropdownWrapperRef = ref;
249
- } },
250
- h("ix-icon", { class: "chevron", name: "chevron-down-small" }))))),
251
- this.allowClear && (((_c = this.value) === null || _c === void 0 ? void 0 : _c.length) || this.inputText) ? (h("ix-icon-button", { class: "clear", icon: "clear", ghost: true, oval: true, size: "24", onClick: (e) => {
252
- e.preventDefault();
253
- e.stopPropagation();
254
- this.clear();
255
- } })) : null),
256
- h("ix-dropdown", { ref: (ref) => (this.dropdownRef = ref), show: this.dropdownShow, style: {
257
- width: '100%',
258
- }, class: {
259
- 'd-none': this.disabled ||
260
- this.readonly ||
261
- (this.isDropdownEmpty && !this.editable),
262
- }, anchor: this.dropdownAnchor, trigger: this.dropdownWrapperRef, onShowChanged: (e) => this.dropdownVisibilityChanged(e), placement: "bottom", positioningStrategy: 'fixed', adjustDropdownWidthToReferenceWidth: true },
263
- h("div", { class: "select-list-header" }, this.i18nSelectListHeader),
264
- h("slot", null),
265
- h("div", { ref: (ref) => (this.addItemRef = ref), class: "d-contents" }),
266
- this.itemExists(this.inputText) ? ('') : (h("ix-dropdown-item", { "data-testid": "add-item", icon: "plus", class: {
267
- 'add-item': true,
268
- 'd-none': !(this.editable && this.inputText),
269
- }, label: this.inputText, onItemClick: (e) => {
270
- e.preventDefault();
271
- e.stopPropagation();
272
- this.emitAddItem(this.inputText);
273
- } })))));
199
+ return (h(Host, null, h("div", { class: {
200
+ 'form-control': true,
201
+ select: true,
202
+ focus: this.hasFocus,
203
+ editable: this.editable,
204
+ disabled: this.disabled,
205
+ readonly: this.readonly,
206
+ }, ref: (ref) => {
207
+ this.dropdownAnchor = ref;
208
+ if (!this.editable)
209
+ this.dropdownWrapperRef = ref;
210
+ } }, h("div", { class: "input-container" }, this.isMultipleMode ? (h("div", { class: "chips" }, (_a = this.selectedItems) === null || _a === void 0 ? void 0 : _a.map((item) => (h("ix-filter-chip", { disabled: this.disabled || this.readonly, onCloseClick: (e) => {
211
+ e.preventDefault();
212
+ e.stopPropagation();
213
+ this.emitItemClick(item.value);
214
+ } }, item.label))))) : null, h("div", { class: "trigger" }, h("input", { "data-testid": "input", disabled: this.disabled, readOnly: this.readonly, type: "text", class: {
215
+ 'allow-clear': this.allowClear && !!((_b = this.value) === null || _b === void 0 ? void 0 : _b.length),
216
+ }, placeholder: this.editable
217
+ ? this.i18nPlaceholderEditable
218
+ : this.i18nPlaceholder, value: this.getInputValue(), ref: (ref) => (this.inputRef = ref), onInput: () => this.filterItemsWithTypeahead() }), this.disabled || this.readonly ? null : (h("div", { class: "chevron-down-container", ref: (ref) => {
219
+ if (this.editable)
220
+ this.dropdownWrapperRef = ref;
221
+ } }, h("ix-icon", { class: "chevron", name: "chevron-down-small" }))))), this.allowClear && (((_c = this.value) === null || _c === void 0 ? void 0 : _c.length) || this.inputText) ? (h("ix-icon-button", { class: "clear", icon: "clear", ghost: true, oval: true, size: "24", onClick: (e) => {
222
+ e.preventDefault();
223
+ e.stopPropagation();
224
+ this.clear();
225
+ } })) : null), h("ix-dropdown", { ref: (ref) => (this.dropdownRef = ref), show: this.dropdownShow, style: {
226
+ width: '100%',
227
+ }, class: {
228
+ 'd-none': this.disabled ||
229
+ this.readonly ||
230
+ (this.isDropdownEmpty && !this.editable),
231
+ }, anchor: this.dropdownAnchor, trigger: this.dropdownWrapperRef, onShowChanged: (e) => this.dropdownVisibilityChanged(e), placement: "bottom", positioningStrategy: 'fixed', adjustDropdownWidthToReferenceWidth: true }, h("div", { class: "select-list-header" }, this.i18nSelectListHeader), h("slot", null), h("div", { ref: (ref) => (this.addItemRef = ref), class: "d-contents" }), this.itemExists(this.inputText) ? ('') : (h("ix-dropdown-item", { "data-testid": "add-item", icon: "plus", class: {
232
+ 'add-item': true,
233
+ 'd-none': !(this.editable && this.inputText),
234
+ }, label: this.inputText, onItemClick: (e) => {
235
+ e.preventDefault();
236
+ e.stopPropagation();
237
+ this.emitAddItem(this.inputText);
238
+ } })))));
274
239
  }
275
240
  static get is() { return "ix-select"; }
276
241
  static get encapsulation() { return "scoped"; }
277
- static get originalStyleUrls() { return {
278
- "$": ["select.scss"]
279
- }; }
280
- static get styleUrls() { return {
281
- "$": ["select.css"]
282
- }; }
283
- static get properties() { return {
284
- "selectedIndices": {
285
- "type": "string",
286
- "mutable": true,
287
- "complexType": {
288
- "original": "string | string[]",
289
- "resolved": "string | string[]",
290
- "references": {}
291
- },
292
- "required": false,
293
- "optional": false,
294
- "docs": {
295
- "tags": [],
296
- "text": "Indices of selected items"
297
- },
298
- "attribute": "selected-indices",
299
- "reflect": false,
300
- "defaultValue": "[]"
301
- },
302
- "allowClear": {
303
- "type": "boolean",
304
- "mutable": false,
305
- "complexType": {
306
- "original": "boolean",
307
- "resolved": "boolean",
308
- "references": {}
309
- },
310
- "required": false,
311
- "optional": false,
312
- "docs": {
313
- "tags": [],
314
- "text": "Show clear button"
315
- },
316
- "attribute": "allow-clear",
317
- "reflect": false,
318
- "defaultValue": "false"
319
- },
320
- "mode": {
321
- "type": "string",
322
- "mutable": false,
323
- "complexType": {
324
- "original": "'single' | 'multiple'",
325
- "resolved": "\"multiple\" | \"single\"",
326
- "references": {}
327
- },
328
- "required": false,
329
- "optional": false,
330
- "docs": {
331
- "tags": [],
332
- "text": "Selection mode"
333
- },
334
- "attribute": "mode",
335
- "reflect": false,
336
- "defaultValue": "'single'"
337
- },
338
- "editable": {
339
- "type": "boolean",
340
- "mutable": false,
341
- "complexType": {
342
- "original": "boolean",
343
- "resolved": "boolean",
344
- "references": {}
345
- },
346
- "required": false,
347
- "optional": false,
348
- "docs": {
349
- "tags": [],
350
- "text": "Select is extendable"
351
- },
352
- "attribute": "editable",
353
- "reflect": false,
354
- "defaultValue": "false"
355
- },
356
- "disabled": {
357
- "type": "boolean",
358
- "mutable": false,
359
- "complexType": {
360
- "original": "boolean",
361
- "resolved": "boolean",
362
- "references": {}
363
- },
364
- "required": false,
365
- "optional": false,
366
- "docs": {
367
- "tags": [],
368
- "text": "If true the select will be in disabled state"
369
- },
370
- "attribute": "disabled",
371
- "reflect": false,
372
- "defaultValue": "false"
373
- },
374
- "readonly": {
375
- "type": "boolean",
376
- "mutable": false,
377
- "complexType": {
378
- "original": "boolean",
379
- "resolved": "boolean",
380
- "references": {}
381
- },
382
- "required": false,
383
- "optional": false,
384
- "docs": {
385
- "tags": [],
386
- "text": "If true the select will be in readonly mode"
387
- },
388
- "attribute": "readonly",
389
- "reflect": false,
390
- "defaultValue": "false"
391
- },
392
- "i18nPlaceholder": {
393
- "type": "string",
394
- "mutable": false,
395
- "complexType": {
396
- "original": "string",
397
- "resolved": "string",
398
- "references": {}
242
+ static get originalStyleUrls() {
243
+ return {
244
+ "$": ["select.scss"]
245
+ };
246
+ }
247
+ static get styleUrls() {
248
+ return {
249
+ "$": ["select.css"]
250
+ };
251
+ }
252
+ static get properties() {
253
+ return {
254
+ "selectedIndices": {
255
+ "type": "string",
256
+ "mutable": true,
257
+ "complexType": {
258
+ "original": "string | string[]",
259
+ "resolved": "string | string[]",
260
+ "references": {}
261
+ },
262
+ "required": false,
263
+ "optional": false,
264
+ "docs": {
265
+ "tags": [],
266
+ "text": "Indices of selected items"
267
+ },
268
+ "attribute": "selected-indices",
269
+ "reflect": false,
270
+ "defaultValue": "[]"
399
271
  },
400
- "required": false,
401
- "optional": false,
402
- "docs": {
403
- "tags": [],
404
- "text": "Input field placeholder"
272
+ "allowClear": {
273
+ "type": "boolean",
274
+ "mutable": false,
275
+ "complexType": {
276
+ "original": "boolean",
277
+ "resolved": "boolean",
278
+ "references": {}
279
+ },
280
+ "required": false,
281
+ "optional": false,
282
+ "docs": {
283
+ "tags": [],
284
+ "text": "Show clear button"
285
+ },
286
+ "attribute": "allow-clear",
287
+ "reflect": false,
288
+ "defaultValue": "false"
405
289
  },
406
- "attribute": "i-1-8n-placeholder",
407
- "reflect": false,
408
- "defaultValue": "'Select an option'"
409
- },
410
- "i18nPlaceholderEditable": {
411
- "type": "string",
412
- "mutable": false,
413
- "complexType": {
414
- "original": "string",
415
- "resolved": "string",
416
- "references": {}
290
+ "mode": {
291
+ "type": "string",
292
+ "mutable": false,
293
+ "complexType": {
294
+ "original": "'single' | 'multiple'",
295
+ "resolved": "\"multiple\" | \"single\"",
296
+ "references": {}
297
+ },
298
+ "required": false,
299
+ "optional": false,
300
+ "docs": {
301
+ "tags": [],
302
+ "text": "Selection mode"
303
+ },
304
+ "attribute": "mode",
305
+ "reflect": false,
306
+ "defaultValue": "'single'"
417
307
  },
418
- "required": false,
419
- "optional": false,
420
- "docs": {
421
- "tags": [],
422
- "text": "Input field placeholder for editable select"
308
+ "editable": {
309
+ "type": "boolean",
310
+ "mutable": false,
311
+ "complexType": {
312
+ "original": "boolean",
313
+ "resolved": "boolean",
314
+ "references": {}
315
+ },
316
+ "required": false,
317
+ "optional": false,
318
+ "docs": {
319
+ "tags": [],
320
+ "text": "Select is extendable"
321
+ },
322
+ "attribute": "editable",
323
+ "reflect": false,
324
+ "defaultValue": "false"
423
325
  },
424
- "attribute": "i-1-8n-placeholder-editable",
425
- "reflect": false,
426
- "defaultValue": "'Type of select option'"
427
- },
428
- "i18nSelectListHeader": {
429
- "type": "string",
430
- "mutable": false,
431
- "complexType": {
432
- "original": "string",
433
- "resolved": "string",
434
- "references": {}
326
+ "disabled": {
327
+ "type": "boolean",
328
+ "mutable": false,
329
+ "complexType": {
330
+ "original": "boolean",
331
+ "resolved": "boolean",
332
+ "references": {}
333
+ },
334
+ "required": false,
335
+ "optional": false,
336
+ "docs": {
337
+ "tags": [],
338
+ "text": "If true the select will be in disabled state"
339
+ },
340
+ "attribute": "disabled",
341
+ "reflect": false,
342
+ "defaultValue": "false"
435
343
  },
436
- "required": false,
437
- "optional": false,
438
- "docs": {
439
- "tags": [],
440
- "text": "Select list header"
344
+ "readonly": {
345
+ "type": "boolean",
346
+ "mutable": false,
347
+ "complexType": {
348
+ "original": "boolean",
349
+ "resolved": "boolean",
350
+ "references": {}
351
+ },
352
+ "required": false,
353
+ "optional": false,
354
+ "docs": {
355
+ "tags": [],
356
+ "text": "If true the select will be in readonly mode"
357
+ },
358
+ "attribute": "readonly",
359
+ "reflect": false,
360
+ "defaultValue": "false"
441
361
  },
442
- "attribute": "i-1-8n-select-list-header",
443
- "reflect": false,
444
- "defaultValue": "'Please select an option'"
445
- }
446
- }; }
447
- static get states() { return {
448
- "dropdownShow": {},
449
- "value": {},
450
- "dropdownWrapperRef": {},
451
- "dropdownAnchor": {},
452
- "isDropdownEmpty": {},
453
- "hasFocus": {},
454
- "navigationItem": {},
455
- "inputText": {}
456
- }; }
457
- static get events() { return [{
458
- "method": "itemSelectionChange",
459
- "name": "itemSelectionChange",
460
- "bubbles": true,
461
- "cancelable": true,
462
- "composed": true,
463
- "docs": {
464
- "tags": [],
465
- "text": "Item selection changed"
362
+ "i18nPlaceholder": {
363
+ "type": "string",
364
+ "mutable": false,
365
+ "complexType": {
366
+ "original": "string",
367
+ "resolved": "string",
368
+ "references": {}
369
+ },
370
+ "required": false,
371
+ "optional": false,
372
+ "docs": {
373
+ "tags": [],
374
+ "text": "Input field placeholder"
375
+ },
376
+ "attribute": "i-1-8n-placeholder",
377
+ "reflect": false,
378
+ "defaultValue": "'Select an option'"
466
379
  },
467
- "complexType": {
468
- "original": "string | string[]",
469
- "resolved": "string | string[]",
470
- "references": {}
471
- }
472
- }, {
473
- "method": "addItem",
474
- "name": "addItem",
475
- "bubbles": true,
476
- "cancelable": true,
477
- "composed": true,
478
- "docs": {
479
- "tags": [],
480
- "text": "Item added to selection"
380
+ "i18nPlaceholderEditable": {
381
+ "type": "string",
382
+ "mutable": false,
383
+ "complexType": {
384
+ "original": "string",
385
+ "resolved": "string",
386
+ "references": {}
387
+ },
388
+ "required": false,
389
+ "optional": false,
390
+ "docs": {
391
+ "tags": [],
392
+ "text": "Input field placeholder for editable select"
393
+ },
394
+ "attribute": "i-1-8n-placeholder-editable",
395
+ "reflect": false,
396
+ "defaultValue": "'Type of select option'"
481
397
  },
482
- "complexType": {
483
- "original": "string",
484
- "resolved": "string",
485
- "references": {}
398
+ "i18nSelectListHeader": {
399
+ "type": "string",
400
+ "mutable": false,
401
+ "complexType": {
402
+ "original": "string",
403
+ "resolved": "string",
404
+ "references": {}
405
+ },
406
+ "required": false,
407
+ "optional": false,
408
+ "docs": {
409
+ "tags": [],
410
+ "text": "Select list header"
411
+ },
412
+ "attribute": "i-1-8n-select-list-header",
413
+ "reflect": false,
414
+ "defaultValue": "'Please select an option'"
486
415
  }
487
- }]; }
416
+ };
417
+ }
418
+ static get states() {
419
+ return {
420
+ "dropdownShow": {},
421
+ "value": {},
422
+ "dropdownWrapperRef": {},
423
+ "dropdownAnchor": {},
424
+ "isDropdownEmpty": {},
425
+ "hasFocus": {},
426
+ "navigationItem": {},
427
+ "inputText": {}
428
+ };
429
+ }
430
+ static get events() {
431
+ return [{
432
+ "method": "itemSelectionChange",
433
+ "name": "itemSelectionChange",
434
+ "bubbles": true,
435
+ "cancelable": true,
436
+ "composed": true,
437
+ "docs": {
438
+ "tags": [],
439
+ "text": "Item selection changed"
440
+ },
441
+ "complexType": {
442
+ "original": "string | string[]",
443
+ "resolved": "string | string[]",
444
+ "references": {}
445
+ }
446
+ }, {
447
+ "method": "addItem",
448
+ "name": "addItem",
449
+ "bubbles": true,
450
+ "cancelable": true,
451
+ "composed": true,
452
+ "docs": {
453
+ "tags": [],
454
+ "text": "Item added to selection"
455
+ },
456
+ "complexType": {
457
+ "original": "string",
458
+ "resolved": "string",
459
+ "references": {}
460
+ }
461
+ }];
462
+ }
488
463
  static get elementRef() { return "hostElement"; }
489
- static get watchers() { return [{
490
- "propName": "selectedIndices",
491
- "methodName": "watchSelectedIndices"
492
- }, {
493
- "propName": "inputText",
494
- "methodName": "watchInputText"
495
- }]; }
496
- static get listeners() { return [{
497
- "name": "itemClick",
498
- "method": "onItemClicked",
499
- "target": undefined,
500
- "capture": false,
501
- "passive": false
502
- }, {
503
- "name": "keydown",
504
- "method": "onKeyDown",
505
- "target": "window",
506
- "capture": false,
507
- "passive": false
508
- }]; }
464
+ static get watchers() {
465
+ return [{
466
+ "propName": "selectedIndices",
467
+ "methodName": "watchSelectedIndices"
468
+ }, {
469
+ "propName": "inputText",
470
+ "methodName": "watchInputText"
471
+ }];
472
+ }
473
+ static get listeners() {
474
+ return [{
475
+ "name": "itemClick",
476
+ "method": "onItemClicked",
477
+ "target": undefined,
478
+ "capture": false,
479
+ "passive": false
480
+ }, {
481
+ "name": "keydown",
482
+ "method": "onKeyDown",
483
+ "target": "window",
484
+ "capture": false,
485
+ "passive": false
486
+ }];
487
+ }
509
488
  }