@siemens/ix 0.0.0-20240522073858 → 0.0.0-pr-1318-20240627080522

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 (1382) hide show
  1. package/components/a11y.js +3 -2
  2. package/components/a11y.js.map +1 -1
  3. package/components/application-header.js +12 -4
  4. package/components/application-header.js.map +1 -1
  5. package/components/avatar.js +6 -1
  6. package/components/avatar.js.map +1 -1
  7. package/components/breadcrumb-item.js +1 -1
  8. package/components/breadcrumb-item.js.map +1 -1
  9. package/components/button.js +1 -1
  10. package/components/button.js.map +1 -1
  11. package/components/card-accordion.js +1 -1
  12. package/components/card-accordion.js.map +1 -1
  13. package/components/card-content.js +2 -2
  14. package/components/card-content.js.map +1 -1
  15. package/components/card-title.js +1 -1
  16. package/components/card.js +1 -1
  17. package/components/card.js.map +1 -1
  18. package/components/col.js +1 -1
  19. package/components/col.js.map +1 -1
  20. package/components/date-picker.js +5 -5
  21. package/components/date-picker.js.map +1 -1
  22. package/components/date-time-card.js +3 -3
  23. package/components/date-time-card.js.map +1 -1
  24. package/components/divider.js +1 -1
  25. package/components/dropdown-item.js +4 -4
  26. package/components/dropdown-item.js.map +1 -1
  27. package/components/dropdown.js +17 -10
  28. package/components/dropdown.js.map +1 -1
  29. package/components/field-label.js +127 -0
  30. package/components/field-label.js.map +1 -0
  31. package/components/field-wrapper.js +97 -0
  32. package/components/field-wrapper.js.map +1 -0
  33. package/components/filter-chip.js +2 -2
  34. package/components/filter-chip.js.map +1 -1
  35. package/components/group-context-menu.js +1 -1
  36. package/components/group-item.js +3 -3
  37. package/components/group-item.js.map +1 -1
  38. package/components/helper-text-util.js +48 -0
  39. package/components/helper-text-util.js.map +1 -0
  40. package/components/icon-button.js +2 -2
  41. package/components/icon-button.js.map +1 -1
  42. package/components/index.js +19 -4
  43. package/components/index.js.map +1 -1
  44. package/components/ix-action-card.js +1 -1
  45. package/components/ix-action-card.js.map +1 -1
  46. package/components/ix-application-sidebar.js +2 -2
  47. package/components/ix-application-sidebar.js.map +1 -1
  48. package/components/ix-application-switch-modal.js +2 -2
  49. package/components/ix-application-switch-modal.js.map +1 -1
  50. package/components/ix-application.js +4 -4
  51. package/components/ix-application.js.map +1 -1
  52. package/components/ix-basic-navigation.js +3 -3
  53. package/components/ix-basic-navigation.js.map +1 -1
  54. package/components/ix-blind.js +1 -1
  55. package/components/ix-blind.js.map +1 -1
  56. package/components/ix-breadcrumb.js +3 -3
  57. package/components/ix-breadcrumb.js.map +1 -1
  58. package/components/ix-card-list.js +5 -5
  59. package/components/ix-card-list.js.map +1 -1
  60. package/components/ix-category-filter.js +8 -5
  61. package/components/ix-category-filter.js.map +1 -1
  62. package/components/ix-checkbox-group.d.ts +11 -0
  63. package/components/ix-checkbox-group.js +105 -0
  64. package/components/ix-checkbox-group.js.map +1 -0
  65. package/components/ix-checkbox.d.ts +11 -0
  66. package/components/ix-checkbox.js +141 -0
  67. package/components/ix-checkbox.js.map +1 -0
  68. package/components/ix-chip.js +5 -5
  69. package/components/ix-chip.js.map +1 -1
  70. package/components/ix-content.js +4 -4
  71. package/components/ix-content.js.map +1 -1
  72. package/components/ix-css-grid-item.js +1 -1
  73. package/components/ix-custom-field.d.ts +11 -0
  74. package/components/ix-custom-field.js +116 -0
  75. package/components/ix-custom-field.js.map +1 -0
  76. package/components/ix-date-dropdown.js +4 -4
  77. package/components/ix-date-dropdown.js.map +1 -1
  78. package/components/{ix-form-field.d.ts → ix-date-field.d.ts} +4 -4
  79. package/components/ix-date-field.js +351 -0
  80. package/components/ix-date-field.js.map +1 -0
  81. package/components/ix-datetime-picker.js +2 -2
  82. package/components/ix-datetime-picker.js.map +1 -1
  83. package/components/ix-drawer.js +3 -3
  84. package/components/ix-drawer.js.map +1 -1
  85. package/components/ix-dropdown-button.js +3 -3
  86. package/components/ix-dropdown-button.js.map +1 -1
  87. package/components/ix-dropdown-header.js +2 -2
  88. package/components/ix-dropdown-header.js.map +1 -1
  89. package/components/ix-dropdown-quick-actions.js +1 -1
  90. package/components/ix-empty-state.js +2 -2
  91. package/components/ix-empty-state.js.map +1 -1
  92. package/components/ix-event-list-item.js +5 -5
  93. package/components/ix-event-list-item.js.map +1 -1
  94. package/components/ix-event-list.js +3 -3
  95. package/components/ix-event-list.js.map +1 -1
  96. package/components/ix-expanding-search.js +5 -5
  97. package/components/ix-expanding-search.js.map +1 -1
  98. package/components/ix-field-label.d.ts +11 -0
  99. package/components/ix-field-label.js +8 -0
  100. package/components/ix-field-label.js.map +1 -0
  101. package/components/ix-field-wrapper.d.ts +11 -0
  102. package/components/ix-field-wrapper.js +8 -0
  103. package/components/ix-field-wrapper.js.map +1 -0
  104. package/components/ix-flip-tile-content.js +1 -1
  105. package/components/ix-flip-tile.js +5 -5
  106. package/components/ix-flip-tile.js.map +1 -1
  107. package/components/ix-group.js +8 -8
  108. package/components/ix-helper-text.d.ts +11 -0
  109. package/components/ix-helper-text.js +97 -0
  110. package/components/ix-helper-text.js.map +1 -0
  111. package/components/ix-icon-toggle-button.js +2 -2
  112. package/components/ix-icon-toggle-button.js.map +1 -1
  113. package/components/ix-input-group.js +2 -2
  114. package/components/ix-input-group.js.map +1 -1
  115. package/components/ix-key-value-list.js +1 -1
  116. package/components/ix-key-value.js +1 -1
  117. package/components/ix-key-value.js.map +1 -1
  118. package/components/ix-kpi.js +4 -4
  119. package/components/ix-kpi.js.map +1 -1
  120. package/components/ix-layout-form.d.ts +11 -0
  121. package/components/ix-layout-form.js +113 -0
  122. package/components/ix-layout-form.js.map +1 -0
  123. package/components/ix-link-button.js +3 -3
  124. package/components/ix-map-navigation.js +3 -3
  125. package/components/ix-map-navigation.js.map +1 -1
  126. package/components/ix-menu-about-item.js +1 -1
  127. package/components/ix-menu-about-news.js +5 -5
  128. package/components/ix-menu-about-news.js.map +1 -1
  129. package/components/ix-menu-about.js +1 -1
  130. package/components/ix-menu-avatar.js +3 -3
  131. package/components/ix-menu-avatar.js.map +1 -1
  132. package/components/ix-menu-category.js +9 -6
  133. package/components/ix-menu-category.js.map +1 -1
  134. package/components/ix-menu-settings-item.js +1 -1
  135. package/components/ix-menu.js +12 -12
  136. package/components/ix-menu.js.map +1 -1
  137. package/components/ix-message-bar.js +2 -2
  138. package/components/ix-message-bar.js.map +1 -1
  139. package/components/ix-modal-example.js +1 -1
  140. package/components/ix-modal-footer.js +2 -2
  141. package/components/ix-modal-footer.js.map +1 -1
  142. package/components/ix-modal-loading.js +1 -1
  143. package/components/ix-modal.js +3 -3
  144. package/components/ix-number-field.d.ts +11 -0
  145. package/components/ix-number-field.js +217 -0
  146. package/components/ix-number-field.js.map +1 -0
  147. package/components/ix-pagination.js +35 -17
  148. package/components/ix-pagination.js.map +1 -1
  149. package/components/ix-pane-layout.js +2 -2
  150. package/components/ix-pane-layout.js.map +1 -1
  151. package/components/ix-pane.js +7 -7
  152. package/components/ix-pane.js.map +1 -1
  153. package/components/ix-pill.js +5 -5
  154. package/components/ix-pill.js.map +1 -1
  155. package/components/ix-playground-internal.js +1 -1
  156. package/components/ix-playground-internal.js.map +1 -1
  157. package/components/ix-push-card.js +1 -1
  158. package/components/ix-radio-group.d.ts +11 -0
  159. package/components/ix-radio-group.js +169 -0
  160. package/components/ix-radio-group.js.map +1 -0
  161. package/components/ix-radio.d.ts +11 -0
  162. package/components/ix-radio.js +115 -0
  163. package/components/ix-radio.js.map +1 -0
  164. package/components/ix-slider.js +7 -7
  165. package/components/ix-slider.js.map +1 -1
  166. package/components/ix-split-button-item.js +1 -1
  167. package/components/ix-split-button.js +4 -2
  168. package/components/ix-split-button.js.map +1 -1
  169. package/components/ix-text-field.d.ts +11 -0
  170. package/components/ix-text-field.js +223 -0
  171. package/components/ix-text-field.js.map +1 -0
  172. package/components/ix-textarea-field.d.ts +11 -0
  173. package/components/ix-textarea-field.js +177 -0
  174. package/components/ix-textarea-field.js.map +1 -0
  175. package/components/ix-tile.js +5 -5
  176. package/components/ix-tile.js.map +1 -1
  177. package/components/ix-toast-container.js +3 -3
  178. package/components/ix-toast-container.js.map +1 -1
  179. package/components/ix-toggle-button.js +3 -3
  180. package/components/ix-toggle-button.js.map +1 -1
  181. package/components/ix-toggle.js +43 -5
  182. package/components/ix-toggle.js.map +1 -1
  183. package/components/ix-tree.js +1 -1
  184. package/components/ix-upload.js +4 -4
  185. package/components/ix-upload.js.map +1 -1
  186. package/components/ix-validation-tooltip.js +2 -2
  187. package/components/ix-workflow-step.js +5 -5
  188. package/components/ix-workflow-step.js.map +1 -1
  189. package/components/ix-workflow-steps.js +2 -2
  190. package/components/ix-workflow-steps.js.map +1 -1
  191. package/components/layout-grid.js +2 -2
  192. package/components/make-ref.js +5 -0
  193. package/components/make-ref.js.map +1 -1
  194. package/components/map-navigation-overlay.js +3 -3
  195. package/components/map-navigation-overlay.js.map +1 -1
  196. package/components/menu-avatar-item.js +2 -2
  197. package/components/menu-avatar-item.js.map +1 -1
  198. package/components/menu-expand-icon.js +2 -2
  199. package/components/menu-expand-icon.js.map +1 -1
  200. package/components/menu-item.js +4 -4
  201. package/components/menu-item.js.map +1 -1
  202. package/components/menu-tabs-fc.js +2 -2
  203. package/components/menu-tabs-fc.js.map +1 -1
  204. package/components/modal-content.js +2 -2
  205. package/components/modal-content.js.map +1 -1
  206. package/components/modal-header.js +2 -2
  207. package/components/modal-header.js.map +1 -1
  208. package/components/row.js +1 -1
  209. package/components/select-item.js +1 -1
  210. package/components/select.js +172 -58
  211. package/components/select.js.map +1 -1
  212. package/components/spinner.js +2 -2
  213. package/components/spinner.js.map +1 -1
  214. package/components/tab-item.js +4 -4
  215. package/components/tab-item.js.map +1 -1
  216. package/components/tabs.js +3 -3
  217. package/components/tabs.js.map +1 -1
  218. package/components/text-field.util.js +167 -0
  219. package/components/text-field.util.js.map +1 -0
  220. package/components/time-picker.js +4 -4
  221. package/components/time-picker.js.map +1 -1
  222. package/components/toast.js +3 -3
  223. package/components/toast.js.map +1 -1
  224. package/components/tooltip.js +7 -7
  225. package/components/tooltip.js.map +1 -1
  226. package/components/tree-item.js +5 -5
  227. package/components/tree-item.js.map +1 -1
  228. package/components/typography.js +1 -1
  229. package/components/typography.js.map +1 -1
  230. package/components/validation.js +112 -0
  231. package/components/validation.js.map +1 -0
  232. package/dist/cjs/{a11y-d3ce56d1.js → a11y-32046b56.js} +4 -3
  233. package/dist/cjs/a11y-32046b56.js.map +1 -0
  234. package/dist/cjs/app-globals-5cfdf2a0.js.map +1 -1
  235. package/dist/cjs/{base-button-7c45a6c4.js → base-button-16d4fadf.js} +2 -2
  236. package/dist/cjs/{base-button-7c45a6c4.js.map → base-button-16d4fadf.js.map} +1 -1
  237. package/dist/cjs/{base-icon-button-ac2fcf4b.js → base-icon-button-aba2ddbf.js} +3 -3
  238. package/dist/cjs/{base-icon-button-ac2fcf4b.js.map → base-icon-button-aba2ddbf.js.map} +1 -1
  239. package/dist/cjs/dropdown-controller-403dc7fa.js +147 -0
  240. package/dist/cjs/dropdown-controller-403dc7fa.js.map +1 -0
  241. package/dist/cjs/helper-text-util-9f617ef2.js +40 -0
  242. package/dist/cjs/helper-text-util-9f617ef2.js.map +1 -0
  243. package/dist/cjs/index-0f6297c8.js +2044 -0
  244. package/dist/cjs/index-0f6297c8.js.map +1 -0
  245. package/dist/cjs/index-762a29a3.js +24 -0
  246. package/dist/cjs/index-762a29a3.js.map +1 -0
  247. package/dist/cjs/index.cjs.js +16 -0
  248. package/dist/cjs/index.cjs.js.map +1 -1
  249. package/dist/cjs/ix-action-card.cjs.entry.js +2 -2
  250. package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
  251. package/dist/cjs/ix-application-header.cjs.entry.js +13 -5
  252. package/dist/cjs/ix-application-header.cjs.entry.js.map +1 -1
  253. package/dist/cjs/ix-application-sidebar.cjs.entry.js +3 -3
  254. package/dist/cjs/ix-application-sidebar.cjs.entry.js.map +1 -1
  255. package/dist/cjs/ix-application-switch-modal.cjs.entry.js +3 -3
  256. package/dist/cjs/ix-application-switch-modal.cjs.entry.js.map +1 -1
  257. package/dist/cjs/ix-application.cjs.entry.js +5 -5
  258. package/dist/cjs/ix-application.cjs.entry.js.map +1 -1
  259. package/dist/cjs/ix-avatar_2.cjs.entry.js +11 -6
  260. package/dist/cjs/ix-avatar_2.cjs.entry.js.map +1 -1
  261. package/dist/cjs/ix-basic-navigation.cjs.entry.js +4 -4
  262. package/dist/cjs/ix-basic-navigation.cjs.entry.js.map +1 -1
  263. package/dist/cjs/ix-blind.cjs.entry.js +3 -3
  264. package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
  265. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +4 -4
  266. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js.map +1 -1
  267. package/dist/cjs/ix-breadcrumb.cjs.entry.js +5 -5
  268. package/dist/cjs/ix-breadcrumb.cjs.entry.js.map +1 -1
  269. package/dist/cjs/ix-button.cjs.entry.js +3 -3
  270. package/dist/cjs/ix-button.cjs.entry.js.map +1 -1
  271. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +3 -3
  272. package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
  273. package/dist/cjs/ix-card-list.cjs.entry.js +6 -6
  274. package/dist/cjs/ix-card-list.cjs.entry.js.map +1 -1
  275. package/dist/cjs/ix-card_2.cjs.entry.js +4 -4
  276. package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -1
  277. package/dist/cjs/ix-category-filter.cjs.entry.js +10 -7
  278. package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
  279. package/dist/cjs/ix-checkbox-group.cjs.entry.js +56 -0
  280. package/dist/cjs/ix-checkbox-group.cjs.entry.js.map +1 -0
  281. package/dist/cjs/ix-checkbox.cjs.entry.js +114 -0
  282. package/dist/cjs/ix-checkbox.cjs.entry.js.map +1 -0
  283. package/dist/cjs/ix-chip.cjs.entry.js +6 -6
  284. package/dist/cjs/ix-chip.cjs.entry.js.map +1 -1
  285. package/dist/cjs/ix-col_4.cjs.entry.js +11 -11
  286. package/dist/cjs/ix-col_4.cjs.entry.js.map +1 -1
  287. package/dist/cjs/ix-content-header.cjs.entry.js +1 -1
  288. package/dist/cjs/ix-content.cjs.entry.js +5 -5
  289. package/dist/cjs/ix-content.cjs.entry.js.map +1 -1
  290. package/dist/cjs/ix-css-grid-item.cjs.entry.js +2 -2
  291. package/dist/cjs/ix-css-grid.cjs.entry.js +1 -1
  292. package/dist/cjs/ix-custom-field.cjs.entry.js +65 -0
  293. package/dist/cjs/ix-custom-field.cjs.entry.js.map +1 -0
  294. package/dist/cjs/ix-date-dropdown.cjs.entry.js +5 -5
  295. package/dist/cjs/ix-date-dropdown.cjs.entry.js.map +1 -1
  296. package/dist/cjs/ix-date-field.cjs.entry.js +255 -0
  297. package/dist/cjs/ix-date-field.cjs.entry.js.map +1 -0
  298. package/dist/cjs/ix-date-time-card.cjs.entry.js +3 -3
  299. package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -1
  300. package/dist/cjs/ix-datetime-picker.cjs.entry.js +3 -3
  301. package/dist/cjs/ix-datetime-picker.cjs.entry.js.map +1 -1
  302. package/dist/cjs/ix-divider.cjs.entry.js +2 -2
  303. package/dist/cjs/ix-drawer.cjs.entry.js +4 -4
  304. package/dist/cjs/ix-drawer.cjs.entry.js.map +1 -1
  305. package/dist/cjs/ix-dropdown-button.cjs.entry.js +4 -4
  306. package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
  307. package/dist/cjs/ix-dropdown-header.cjs.entry.js +3 -3
  308. package/dist/cjs/ix-dropdown-header.cjs.entry.js.map +1 -1
  309. package/dist/cjs/ix-dropdown-item.cjs.entry.js +5 -5
  310. package/dist/cjs/ix-dropdown-item.cjs.entry.js.map +1 -1
  311. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +2 -2
  312. package/dist/cjs/ix-dropdown.cjs.entry.js +28 -160
  313. package/dist/cjs/ix-dropdown.cjs.entry.js.map +1 -1
  314. package/dist/cjs/ix-empty-state.cjs.entry.js +3 -3
  315. package/dist/cjs/ix-empty-state.cjs.entry.js.map +1 -1
  316. package/dist/cjs/ix-event-list-item.cjs.entry.js +7 -7
  317. package/dist/cjs/ix-event-list-item.cjs.entry.js.map +1 -1
  318. package/dist/cjs/ix-event-list.cjs.entry.js +4 -4
  319. package/dist/cjs/ix-event-list.cjs.entry.js.map +1 -1
  320. package/dist/cjs/ix-expanding-search.cjs.entry.js +6 -6
  321. package/dist/cjs/ix-expanding-search.cjs.entry.js.map +1 -1
  322. package/dist/cjs/{ix-tooltip.cjs.entry.js → ix-field-label_3.cjs.entry.js} +151 -10
  323. package/dist/cjs/ix-field-label_3.cjs.entry.js.map +1 -0
  324. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +4 -4
  325. package/dist/cjs/ix-filter-chip_2.cjs.entry.js.map +1 -1
  326. package/dist/cjs/ix-flip-tile-content.cjs.entry.js +2 -2
  327. package/dist/cjs/ix-flip-tile.cjs.entry.js +6 -6
  328. package/dist/cjs/ix-flip-tile.cjs.entry.js.map +1 -1
  329. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +5 -5
  330. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js.map +1 -1
  331. package/dist/cjs/ix-group.cjs.entry.js +9 -9
  332. package/dist/cjs/ix-helper-text.cjs.entry.js +70 -0
  333. package/dist/cjs/ix-helper-text.cjs.entry.js.map +1 -0
  334. package/dist/cjs/ix-icon-button_2.cjs.entry.js +8 -8
  335. package/dist/cjs/ix-icon-button_2.cjs.entry.js.map +1 -1
  336. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +6 -6
  337. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js.map +1 -1
  338. package/dist/cjs/ix-input-group.cjs.entry.js +3 -3
  339. package/dist/cjs/ix-input-group.cjs.entry.js.map +1 -1
  340. package/dist/cjs/ix-key-value-list.cjs.entry.js +2 -2
  341. package/dist/cjs/ix-key-value.cjs.entry.js +2 -2
  342. package/dist/cjs/ix-key-value.cjs.entry.js.map +1 -1
  343. package/dist/cjs/ix-kpi.cjs.entry.js +5 -5
  344. package/dist/cjs/ix-kpi.cjs.entry.js.map +1 -1
  345. package/dist/cjs/ix-layout-form.cjs.entry.js +94 -0
  346. package/dist/cjs/ix-layout-form.cjs.entry.js.map +1 -0
  347. package/dist/cjs/ix-link-button.cjs.entry.js +4 -4
  348. package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +4 -4
  349. package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js.map +1 -1
  350. package/dist/cjs/ix-map-navigation.cjs.entry.js +4 -4
  351. package/dist/cjs/ix-map-navigation.cjs.entry.js.map +1 -1
  352. package/dist/cjs/ix-menu-about-item.cjs.entry.js +2 -2
  353. package/dist/cjs/ix-menu-about-news.cjs.entry.js +6 -6
  354. package/dist/cjs/ix-menu-about-news.cjs.entry.js.map +1 -1
  355. package/dist/cjs/ix-menu-about.cjs.entry.js +3 -3
  356. package/dist/cjs/ix-menu-avatar.cjs.entry.js +4 -4
  357. package/dist/cjs/ix-menu-avatar.cjs.entry.js.map +1 -1
  358. package/dist/cjs/ix-menu-category.cjs.entry.js +10 -7
  359. package/dist/cjs/ix-menu-category.cjs.entry.js.map +1 -1
  360. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +5 -5
  361. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js.map +1 -1
  362. package/dist/cjs/ix-menu-item.cjs.entry.js +6 -6
  363. package/dist/cjs/ix-menu-item.cjs.entry.js.map +1 -1
  364. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +2 -2
  365. package/dist/cjs/ix-menu-settings.cjs.entry.js +2 -2
  366. package/dist/cjs/ix-menu.cjs.entry.js +13 -13
  367. package/dist/cjs/ix-menu.cjs.entry.js.map +1 -1
  368. package/dist/cjs/ix-message-bar.cjs.entry.js +3 -3
  369. package/dist/cjs/ix-message-bar.cjs.entry.js.map +1 -1
  370. package/dist/cjs/ix-modal-content_2.cjs.entry.js +5 -5
  371. package/dist/cjs/ix-modal-content_2.cjs.entry.js.map +1 -1
  372. package/dist/cjs/ix-modal-example.cjs.entry.js +2 -2
  373. package/dist/cjs/ix-modal-footer.cjs.entry.js +3 -3
  374. package/dist/cjs/ix-modal-footer.cjs.entry.js.map +1 -1
  375. package/dist/cjs/ix-modal-loading.cjs.entry.js +2 -2
  376. package/dist/cjs/ix-modal.cjs.entry.js +6 -6
  377. package/dist/cjs/ix-number-field.cjs.entry.js +148 -0
  378. package/dist/cjs/ix-number-field.cjs.entry.js.map +1 -0
  379. package/dist/cjs/ix-pagination.cjs.entry.js +6 -6
  380. package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
  381. package/dist/cjs/ix-pane-layout.cjs.entry.js +3 -3
  382. package/dist/cjs/ix-pane-layout.cjs.entry.js.map +1 -1
  383. package/dist/cjs/ix-pane.cjs.entry.js +8 -8
  384. package/dist/cjs/ix-pane.cjs.entry.js.map +1 -1
  385. package/dist/cjs/ix-pill.cjs.entry.js +6 -6
  386. package/dist/cjs/ix-pill.cjs.entry.js.map +1 -1
  387. package/dist/cjs/ix-playground-internal.cjs.entry.js +2 -2
  388. package/dist/cjs/ix-playground-internal.cjs.entry.js.map +1 -1
  389. package/dist/cjs/ix-push-card.cjs.entry.js +2 -2
  390. package/dist/cjs/ix-radio-group.cjs.entry.js +116 -0
  391. package/dist/cjs/ix-radio-group.cjs.entry.js.map +1 -0
  392. package/dist/cjs/ix-radio.cjs.entry.js +96 -0
  393. package/dist/cjs/ix-radio.cjs.entry.js.map +1 -0
  394. package/dist/cjs/ix-select.cjs.entry.js +126 -46
  395. package/dist/cjs/ix-select.cjs.entry.js.map +1 -1
  396. package/dist/cjs/ix-slider.cjs.entry.js +10 -10
  397. package/dist/cjs/ix-slider.cjs.entry.js.map +1 -1
  398. package/dist/cjs/ix-split-button-item.cjs.entry.js +3 -3
  399. package/dist/cjs/ix-split-button.cjs.entry.js +4 -3
  400. package/dist/cjs/ix-split-button.cjs.entry.js.map +1 -1
  401. package/dist/cjs/ix-tab-item_2.cjs.entry.js +8 -8
  402. package/dist/cjs/ix-tab-item_2.cjs.entry.js.map +1 -1
  403. package/dist/cjs/ix-text-field.cjs.entry.js +151 -0
  404. package/dist/cjs/ix-text-field.cjs.entry.js.map +1 -0
  405. package/dist/cjs/ix-textarea-field.cjs.entry.js +118 -0
  406. package/dist/cjs/ix-textarea-field.cjs.entry.js.map +1 -0
  407. package/dist/cjs/ix-tile.cjs.entry.js +6 -6
  408. package/dist/cjs/ix-tile.cjs.entry.js.map +1 -1
  409. package/dist/cjs/ix-time-picker.cjs.entry.js +5 -5
  410. package/dist/cjs/ix-time-picker.cjs.entry.js.map +1 -1
  411. package/dist/cjs/ix-toast-container.cjs.entry.js +4 -4
  412. package/dist/cjs/ix-toast-container.cjs.entry.js.map +1 -1
  413. package/dist/cjs/ix-toast.cjs.entry.js +4 -4
  414. package/dist/cjs/ix-toast.cjs.entry.js.map +1 -1
  415. package/dist/cjs/ix-toggle-button.cjs.entry.js +6 -6
  416. package/dist/cjs/ix-toggle-button.cjs.entry.js.map +1 -1
  417. package/dist/cjs/ix-toggle.cjs.entry.js +42 -5
  418. package/dist/cjs/ix-toggle.cjs.entry.js.map +1 -1
  419. package/dist/cjs/ix-tree-item.cjs.entry.js +6 -6
  420. package/dist/cjs/ix-tree-item.cjs.entry.js.map +1 -1
  421. package/dist/cjs/ix-tree.cjs.entry.js +2 -2
  422. package/dist/cjs/ix-typography.cjs.entry.js +2 -2
  423. package/dist/cjs/ix-typography.cjs.entry.js.map +1 -1
  424. package/dist/cjs/ix-upload.cjs.entry.js +5 -5
  425. package/dist/cjs/ix-upload.cjs.entry.js.map +1 -1
  426. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +3 -3
  427. package/dist/cjs/ix-workflow-step.cjs.entry.js +6 -6
  428. package/dist/cjs/ix-workflow-step.cjs.entry.js.map +1 -1
  429. package/dist/cjs/ix-workflow-steps.cjs.entry.js +3 -3
  430. package/dist/cjs/ix-workflow-steps.cjs.entry.js.map +1 -1
  431. package/dist/cjs/{listener-d27acb41.js → listener-0881dc51.js} +2 -2
  432. package/dist/cjs/{listener-d27acb41.js.map → listener-0881dc51.js.map} +1 -1
  433. package/dist/cjs/loader.cjs.js +2 -2
  434. package/dist/cjs/{make-ref-c25629b7.js → make-ref-01530e5a.js} +6 -1
  435. package/dist/cjs/make-ref-01530e5a.js.map +1 -0
  436. package/dist/cjs/{menu-tabs-fc-194c3ba9.js → menu-tabs-fc-f6b706e3.js} +4 -4
  437. package/dist/cjs/{menu-tabs-fc-194c3ba9.js.map → menu-tabs-fc-f6b706e3.js.map} +1 -1
  438. package/dist/cjs/siemens-ix.cjs.js +10 -10
  439. package/dist/cjs/siemens-ix.cjs.js.map +1 -1
  440. package/dist/cjs/text-field.util-d7c5c1cd.js +179 -0
  441. package/dist/cjs/text-field.util-d7c5c1cd.js.map +1 -0
  442. package/dist/cjs/validation-c5a41d68.js +117 -0
  443. package/dist/cjs/validation-c5a41d68.js.map +1 -0
  444. package/dist/collection/collection-manifest.json +15 -3
  445. package/dist/collection/components/action-card/action-card.css +6 -0
  446. package/dist/collection/components/action-card/action-card.js +1 -1
  447. package/dist/collection/components/application/application.css +6 -0
  448. package/dist/collection/components/application/application.js +3 -3
  449. package/dist/collection/components/application-header/application-header.css +6 -0
  450. package/dist/collection/components/application-header/application-header.js +11 -3
  451. package/dist/collection/components/application-header/application-header.js.map +1 -1
  452. package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.css +6 -0
  453. package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +1 -1
  454. package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js.map +1 -1
  455. package/dist/collection/components/application-sidebar/application-sidebar.css +7 -2
  456. package/dist/collection/components/application-sidebar/application-sidebar.js +1 -1
  457. package/dist/collection/components/avatar/avatar.js +6 -1
  458. package/dist/collection/components/avatar/avatar.js.map +1 -1
  459. package/dist/collection/components/basic-navigation/basic-navigation.css +6 -0
  460. package/dist/collection/components/basic-navigation/basic-navigation.js +2 -2
  461. package/dist/collection/components/blind/blind.css +6 -0
  462. package/dist/collection/components/blind/blind.js +1 -1
  463. package/dist/collection/components/breadcrumb/breadcrumb.css +6 -0
  464. package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
  465. package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +18 -0
  466. package/dist/collection/components/button/button.css +6 -0
  467. package/dist/collection/components/button/button.js +1 -1
  468. package/dist/collection/components/card/card.css +6 -0
  469. package/dist/collection/components/card/card.js +1 -1
  470. package/dist/collection/components/card-accordion/card-accordion.css +6 -0
  471. package/dist/collection/components/card-accordion/card-accordion.js +1 -1
  472. package/dist/collection/components/card-content/card-content.css +7 -2
  473. package/dist/collection/components/card-content/card-content.js +1 -1
  474. package/dist/collection/components/card-list/card-list.css +6 -0
  475. package/dist/collection/components/card-list/card-list.js +4 -4
  476. package/dist/collection/components/card-title/card-title.js +1 -1
  477. package/dist/collection/components/category-filter/category-filter.css +132 -16
  478. package/dist/collection/components/category-filter/category-filter.js +7 -4
  479. package/dist/collection/components/category-filter/category-filter.js.map +1 -1
  480. package/dist/collection/components/checkbox/checkbox.css +437 -0
  481. package/dist/collection/components/checkbox/checkbox.js +323 -0
  482. package/dist/collection/components/checkbox/checkbox.js.map +1 -0
  483. package/dist/collection/components/checkbox/tests/checkbox.ct.js +52 -0
  484. package/dist/collection/components/checkbox/tests/checkbox.ct.js.map +1 -0
  485. package/dist/collection/components/checkbox-group/checkbox-group.css +35 -0
  486. package/dist/collection/components/checkbox-group/checkbox-group.js +173 -0
  487. package/dist/collection/components/checkbox-group/checkbox-group.js.map +1 -0
  488. package/dist/collection/components/chip/chip.css +38 -8
  489. package/dist/collection/components/chip/chip.js +4 -4
  490. package/dist/collection/components/chip/test/chip.ct.js +32 -0
  491. package/dist/collection/components/chip/test/chip.ct.js.map +1 -0
  492. package/dist/collection/components/col/col.css +7 -2
  493. package/dist/collection/components/col/col.js +4 -4
  494. package/dist/collection/components/content/content.css +6 -0
  495. package/dist/collection/components/content/content.js +3 -3
  496. package/dist/collection/components/content-header/content-header.js +1 -1
  497. package/dist/collection/components/css-grid/css-grid-item.js +1 -1
  498. package/dist/collection/components/css-grid/css-grid.js +1 -1
  499. package/dist/collection/components/custom-field/custom-field.css +11 -0
  500. package/dist/collection/components/custom-field/custom-field.js +216 -0
  501. package/dist/collection/components/custom-field/custom-field.js.map +1 -0
  502. package/dist/collection/components/custom-field/tests/custom-field.ct.js +68 -0
  503. package/dist/collection/components/custom-field/tests/custom-field.ct.js.map +1 -0
  504. package/dist/collection/components/date-dropdown/date-dropdown.css +6 -0
  505. package/dist/collection/components/date-dropdown/date-dropdown.js +6 -6
  506. package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
  507. package/dist/collection/components/date-field/date-field.css +938 -0
  508. package/dist/collection/components/date-field/date-field.js +696 -0
  509. package/dist/collection/components/date-field/date-field.js.map +1 -0
  510. package/dist/collection/components/date-field/tests/date-field.ct.js +114 -0
  511. package/dist/collection/components/date-field/tests/date-field.ct.js.map +1 -0
  512. package/dist/collection/components/date-picker/date-picker.css +6 -0
  513. package/dist/collection/components/date-picker/date-picker.js +7 -7
  514. package/dist/collection/components/date-time-card/date-time-card.css +6 -0
  515. package/dist/collection/components/date-time-card/date-time-card.js +7 -8
  516. package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
  517. package/dist/collection/components/datetime-picker/datetime-picker.css +6 -0
  518. package/dist/collection/components/datetime-picker/datetime-picker.js +3 -3
  519. package/dist/collection/components/divider/divider.js +1 -1
  520. package/dist/collection/components/drawer/drawer.css +6 -0
  521. package/dist/collection/components/drawer/drawer.js +2 -2
  522. package/dist/collection/components/dropdown/dropdown-controller.js +4 -0
  523. package/dist/collection/components/dropdown/dropdown-controller.js.map +1 -1
  524. package/dist/collection/components/dropdown/dropdown.css +6 -0
  525. package/dist/collection/components/dropdown/dropdown.js +11 -8
  526. package/dist/collection/components/dropdown/dropdown.js.map +1 -1
  527. package/dist/collection/components/dropdown/test/dropdown.ct.js +18 -0
  528. package/dist/collection/components/dropdown/test/dropdown.ct.js.map +1 -1
  529. package/dist/collection/components/dropdown-button/dropdown-button.css +6 -0
  530. package/dist/collection/components/dropdown-button/dropdown-button.ct.js +23 -0
  531. package/dist/collection/components/dropdown-button/dropdown-button.ct.js.map +1 -0
  532. package/dist/collection/components/dropdown-button/dropdown-button.js +3 -3
  533. package/dist/collection/components/dropdown-header/dropdown-header.css +6 -0
  534. package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
  535. package/dist/collection/components/dropdown-item/dropdown-item.css +6 -0
  536. package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
  537. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
  538. package/dist/collection/components/empty-state/empty-state.css +6 -0
  539. package/dist/collection/components/empty-state/empty-state.js +2 -2
  540. package/dist/collection/components/empty-state/empty-state.js.map +1 -1
  541. package/dist/collection/components/event-list/event-list.css +6 -0
  542. package/dist/collection/components/event-list/event-list.js +2 -2
  543. package/dist/collection/components/event-list-item/event-list-item.css +6 -0
  544. package/dist/collection/components/event-list-item/event-list-item.js +4 -4
  545. package/dist/collection/components/event-list-item/event-list-item.js.map +1 -1
  546. package/dist/collection/components/expanding-search/expanding-search.css +6 -0
  547. package/dist/collection/components/expanding-search/expanding-search.js +4 -4
  548. package/dist/collection/components/field-label/field-label.css +14 -0
  549. package/dist/collection/components/field-label/field-label.js +173 -0
  550. package/dist/collection/components/field-label/field-label.js.map +1 -0
  551. package/dist/collection/components/field-label/tests/field-label.ct.js +70 -0
  552. package/dist/collection/components/field-label/tests/field-label.ct.js.map +1 -0
  553. package/dist/collection/components/field-wrapper/field-wrapper.css +71 -0
  554. package/dist/collection/components/field-wrapper/field-wrapper.js +309 -0
  555. package/dist/collection/components/field-wrapper/field-wrapper.js.map +1 -0
  556. package/dist/collection/components/field-wrapper/helper-text-util.js +26 -0
  557. package/dist/collection/components/field-wrapper/helper-text-util.js.map +1 -0
  558. package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js +63 -0
  559. package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js.map +1 -0
  560. package/dist/collection/components/filter-chip/filter-chip.css +6 -0
  561. package/dist/collection/components/filter-chip/filter-chip.js +1 -1
  562. package/dist/collection/components/flip-tile/flip-tile.css +6 -0
  563. package/dist/collection/components/flip-tile/flip-tile.js +4 -4
  564. package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
  565. package/dist/collection/components/grid/layout-grid.js +2 -2
  566. package/dist/collection/components/group/group-context-menu.js +1 -1
  567. package/dist/collection/components/group/group.js +8 -8
  568. package/dist/collection/components/group-item/group-item.css +6 -0
  569. package/dist/collection/components/group-item/group-item.js +2 -2
  570. package/dist/collection/components/helper-text/helper-text.css +34 -0
  571. package/dist/collection/components/helper-text/helper-text.js +179 -0
  572. package/dist/collection/components/helper-text/helper-text.js.map +1 -0
  573. package/dist/collection/components/icon-button/icon-button.css +12 -0
  574. package/dist/collection/components/icon-button/icon-button.js +2 -2
  575. package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +12 -0
  576. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
  577. package/dist/collection/components/input-group/input-group.css +6 -0
  578. package/dist/collection/components/input-group/input-group.js +1 -1
  579. package/dist/collection/components/key-value/key-value.js +2 -2
  580. package/dist/collection/components/key-value/key-value.js.map +1 -1
  581. package/dist/collection/components/key-value-list/key-value-list.js +1 -1
  582. package/dist/collection/components/kpi/kpi.css +6 -0
  583. package/dist/collection/components/kpi/kpi.js +3 -3
  584. package/dist/collection/components/layout-form/layout-form.css +15 -0
  585. package/dist/collection/components/layout-form/layout-form.js +126 -0
  586. package/dist/collection/components/layout-form/layout-form.js.map +1 -0
  587. package/dist/collection/components/link-button/link-button.js +3 -3
  588. package/dist/collection/components/map-navigation/map-navigation.css +6 -0
  589. package/dist/collection/components/map-navigation/map-navigation.js +2 -2
  590. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +6 -0
  591. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
  592. package/dist/collection/components/menu/menu-expand-icon.css +6 -0
  593. package/dist/collection/components/menu/menu-expand-icon.js +1 -1
  594. package/dist/collection/components/menu/menu.css +7 -1
  595. package/dist/collection/components/menu/menu.js +11 -11
  596. package/dist/collection/components/menu/menu.js.map +1 -1
  597. package/dist/collection/components/menu-about/menu-about.js +1 -1
  598. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  599. package/dist/collection/components/menu-about-news/menu-about-news.css +6 -0
  600. package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
  601. package/dist/collection/components/menu-avatar/menu-avatar.css +6 -0
  602. package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
  603. package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +6 -0
  604. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  605. package/dist/collection/components/menu-category/menu-category.css +6 -0
  606. package/dist/collection/components/menu-category/menu-category.js +8 -5
  607. package/dist/collection/components/menu-category/menu-category.js.map +1 -1
  608. package/dist/collection/components/menu-item/menu-item.css +0 -3
  609. package/dist/collection/components/menu-item/menu-item.js +3 -3
  610. package/dist/collection/components/menu-item/menu-item.js.map +1 -1
  611. package/dist/collection/components/menu-settings/menu-settings.css +6 -0
  612. package/dist/collection/components/menu-settings/menu-settings.js +1 -1
  613. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  614. package/dist/collection/components/message-bar/message-bar.css +6 -0
  615. package/dist/collection/components/message-bar/message-bar.js +1 -1
  616. package/dist/collection/components/modal/modal.js +4 -4
  617. package/dist/collection/components/modal-content/modal-content.css +6 -0
  618. package/dist/collection/components/modal-content/modal-content.js +1 -1
  619. package/dist/collection/components/modal-footer/modal-footer.css +6 -0
  620. package/dist/collection/components/modal-footer/modal-footer.js +1 -1
  621. package/dist/collection/components/modal-header/modal-header.css +6 -0
  622. package/dist/collection/components/modal-header/modal-header.js +1 -1
  623. package/dist/collection/components/modal-loading/modal-loading.js +1 -1
  624. package/dist/collection/components/pagination/pagination.css +20 -0
  625. package/dist/collection/components/pagination/pagination.js +2 -2
  626. package/dist/collection/components/pane/pane.css +9 -0
  627. package/dist/collection/components/pane/pane.js +12 -12
  628. package/dist/collection/components/pane-layout/pane-layout.css +6 -0
  629. package/dist/collection/components/pane-layout/pane-layout.js +1 -1
  630. package/dist/collection/components/pill/pill.css +38 -7
  631. package/dist/collection/components/pill/pill.js +4 -4
  632. package/dist/collection/components/playground/example-modal.js +1 -1
  633. package/dist/collection/components/playground/playground.js +3 -3
  634. package/dist/collection/components/playground/playground.js.map +1 -1
  635. package/dist/collection/components/push-card/push-card.js +2 -2
  636. package/dist/collection/components/radio/radio.css +428 -0
  637. package/dist/collection/components/radio/radio.js +276 -0
  638. package/dist/collection/components/radio/radio.js.map +1 -0
  639. package/dist/collection/components/radio/test/radio.ct.js +36 -0
  640. package/dist/collection/components/radio/test/radio.ct.js.map +1 -0
  641. package/dist/collection/components/radio-group/radio-group.css +35 -0
  642. package/dist/collection/components/radio-group/radio-group.js +296 -0
  643. package/dist/collection/components/radio-group/radio-group.js.map +1 -0
  644. package/dist/collection/components/radio-group/test/radio-group.ct.js +99 -0
  645. package/dist/collection/components/radio-group/test/radio-group.ct.js.map +1 -0
  646. package/dist/collection/components/row/row.js +1 -1
  647. package/dist/collection/components/select/select.css +58 -0
  648. package/dist/collection/components/select/select.js +392 -46
  649. package/dist/collection/components/select/select.js.map +1 -1
  650. package/dist/collection/components/select/test/select.ct.js +130 -44
  651. package/dist/collection/components/select/test/select.ct.js.map +1 -1
  652. package/dist/collection/components/select-item/select-item.js +1 -1
  653. package/dist/collection/components/slider/slider.css +6 -0
  654. package/dist/collection/components/slider/slider.js +7 -7
  655. package/dist/collection/components/spinner/spinner.css +30 -0
  656. package/dist/collection/components/spinner/spinner.js +1 -1
  657. package/dist/collection/components/split-button/split-button.css +6 -0
  658. package/dist/collection/components/split-button/split-button.js +30 -2
  659. package/dist/collection/components/split-button/split-button.js.map +1 -1
  660. package/dist/collection/components/split-button-item/split-button-item.js +1 -1
  661. package/dist/collection/components/tab-item/tab-item.css +13 -13
  662. package/dist/collection/components/tab-item/tab-item.js +4 -4
  663. package/dist/collection/components/tabs/tabs.css +6 -0
  664. package/dist/collection/components/tabs/tabs.js +2 -2
  665. package/dist/collection/components/text-field/input.fc.js +38 -0
  666. package/dist/collection/components/text-field/input.fc.js.map +1 -0
  667. package/dist/collection/components/{form-field/form-field.css → text-field/number-field.css} +236 -7
  668. package/dist/collection/components/text-field/number-field.js +586 -0
  669. package/dist/collection/components/text-field/number-field.js.map +1 -0
  670. package/dist/collection/components/text-field/tests/form-ready.ct.js +63 -0
  671. package/dist/collection/components/text-field/tests/form-ready.ct.js.map +1 -0
  672. package/dist/collection/components/text-field/text-field.animation.js +36 -0
  673. package/dist/collection/components/text-field/text-field.animation.js.map +1 -0
  674. package/dist/collection/components/text-field/text-field.css +899 -0
  675. package/dist/collection/components/text-field/text-field.js +594 -0
  676. package/dist/collection/components/text-field/text-field.js.map +1 -0
  677. package/dist/collection/components/text-field/text-field.util.js +93 -0
  678. package/dist/collection/components/text-field/text-field.util.js.map +1 -0
  679. package/dist/collection/components/text-field/textarea-field.css +550 -0
  680. package/dist/collection/components/text-field/textarea-field.js +595 -0
  681. package/dist/collection/components/text-field/textarea-field.js.map +1 -0
  682. package/dist/collection/components/tile/tile.css +6 -0
  683. package/dist/collection/components/tile/tile.js +4 -4
  684. package/dist/collection/components/time-picker/time-picker.css +86 -5
  685. package/dist/collection/components/time-picker/time-picker.js +4 -4
  686. package/dist/collection/components/toast/styles/toast-container.css +6 -0
  687. package/dist/collection/components/toast/toast-container.js +3 -3
  688. package/dist/collection/components/toast/toast.css +6 -0
  689. package/dist/collection/components/toast/toast.js +2 -2
  690. package/dist/collection/components/toggle/test/toggle.ct.js +24 -1
  691. package/dist/collection/components/toggle/test/toggle.ct.js.map +1 -1
  692. package/dist/collection/components/toggle/toggle.css +138 -1
  693. package/dist/collection/components/toggle/toggle.js +157 -2
  694. package/dist/collection/components/toggle/toggle.js.map +1 -1
  695. package/dist/collection/components/toggle-button/toggle-button.css +6 -0
  696. package/dist/collection/components/toggle-button/toggle-button.js +2 -2
  697. package/dist/collection/components/tooltip/tooltip.css +2 -2
  698. package/dist/collection/components/tooltip/tooltip.js +6 -6
  699. package/dist/collection/components/tooltip/tooltip.js.map +1 -1
  700. package/dist/collection/components/tree/tree.js +1 -1
  701. package/dist/collection/components/tree-item/tree-item.css +6 -0
  702. package/dist/collection/components/tree-item/tree-item.js +4 -4
  703. package/dist/collection/components/typography/typography.css +7 -2
  704. package/dist/collection/components/typography/typography.js +5 -5
  705. package/dist/collection/components/upload/upload.css +6 -0
  706. package/dist/collection/components/upload/upload.js +3 -3
  707. package/dist/collection/components/utils/a11y.js +3 -2
  708. package/dist/collection/components/utils/a11y.js.map +1 -1
  709. package/dist/collection/components/utils/attributes.js +25 -0
  710. package/dist/collection/components/utils/attributes.js.map +1 -0
  711. package/dist/collection/components/utils/field/index.js +9 -0
  712. package/dist/collection/components/utils/field/index.js.map +1 -0
  713. package/dist/collection/components/utils/field/validation.js +108 -0
  714. package/dist/collection/components/utils/field/validation.js.map +1 -0
  715. package/dist/collection/components/utils/make-ref.js +5 -0
  716. package/dist/collection/components/utils/make-ref.js.map +1 -1
  717. package/dist/collection/components/utils/testing/index.js +9 -0
  718. package/dist/collection/components/utils/testing/index.js.map +1 -0
  719. package/dist/collection/components/utils/uuid.js +16 -0
  720. package/dist/collection/components/utils/uuid.js.map +1 -0
  721. package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
  722. package/dist/collection/components/workflow-step/workflow-step.css +6 -0
  723. package/dist/collection/components/workflow-step/workflow-step.js +4 -4
  724. package/dist/collection/components/workflow-step/workflow-step.js.map +1 -1
  725. package/dist/collection/components/workflow-steps/workflow-steps.css +6 -0
  726. package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
  727. package/dist/collection/index.js +6 -0
  728. package/dist/collection/index.js.map +1 -1
  729. package/dist/collection/tests/form-fields/form-fields.e2e.js +57 -0
  730. package/dist/collection/tests/form-fields/form-fields.e2e.js.map +1 -0
  731. package/dist/collection/tests/panes/panes.e2e.js +5 -0
  732. package/dist/collection/tests/panes/panes.e2e.js.map +1 -1
  733. package/dist/collection/tests/utils/test/index.js +11 -0
  734. package/dist/collection/tests/utils/test/index.js.map +1 -1
  735. package/dist/esm/{a11y-d5444a76.js → a11y-13dedaef.js} +4 -3
  736. package/dist/esm/a11y-13dedaef.js.map +1 -0
  737. package/dist/esm/app-globals-0cd07cd9.js.map +1 -1
  738. package/dist/esm/{base-button-3ac703a7.js → base-button-ea06697f.js} +2 -2
  739. package/dist/esm/{base-button-3ac703a7.js.map → base-button-ea06697f.js.map} +1 -1
  740. package/dist/esm/{base-icon-button-59eb1fe5.js → base-icon-button-c64fdb50.js} +3 -3
  741. package/dist/esm/{base-icon-button-59eb1fe5.js.map → base-icon-button-c64fdb50.js.map} +1 -1
  742. package/dist/esm/dropdown-controller-d6d8b14a.js +143 -0
  743. package/dist/esm/dropdown-controller-d6d8b14a.js.map +1 -0
  744. package/dist/esm/helper-text-util-3dd33b44.js +38 -0
  745. package/dist/esm/helper-text-util-3dd33b44.js.map +1 -0
  746. package/dist/esm/index-9103b14c.js +2012 -0
  747. package/dist/esm/index-9103b14c.js.map +1 -0
  748. package/dist/esm/index-f51bf247.js +14 -0
  749. package/dist/esm/index-f51bf247.js.map +1 -0
  750. package/dist/esm/index.js +16 -1
  751. package/dist/esm/index.js.map +1 -1
  752. package/dist/esm/ix-action-card.entry.js +2 -2
  753. package/dist/esm/ix-action-card.entry.js.map +1 -1
  754. package/dist/esm/ix-application-header.entry.js +13 -5
  755. package/dist/esm/ix-application-header.entry.js.map +1 -1
  756. package/dist/esm/ix-application-sidebar.entry.js +3 -3
  757. package/dist/esm/ix-application-sidebar.entry.js.map +1 -1
  758. package/dist/esm/ix-application-switch-modal.entry.js +3 -3
  759. package/dist/esm/ix-application-switch-modal.entry.js.map +1 -1
  760. package/dist/esm/ix-application.entry.js +5 -5
  761. package/dist/esm/ix-application.entry.js.map +1 -1
  762. package/dist/esm/ix-avatar_2.entry.js +11 -6
  763. package/dist/esm/ix-avatar_2.entry.js.map +1 -1
  764. package/dist/esm/ix-basic-navigation.entry.js +4 -4
  765. package/dist/esm/ix-basic-navigation.entry.js.map +1 -1
  766. package/dist/esm/ix-blind.entry.js +3 -3
  767. package/dist/esm/ix-blind.entry.js.map +1 -1
  768. package/dist/esm/ix-breadcrumb-item.entry.js +4 -4
  769. package/dist/esm/ix-breadcrumb-item.entry.js.map +1 -1
  770. package/dist/esm/ix-breadcrumb.entry.js +5 -5
  771. package/dist/esm/ix-breadcrumb.entry.js.map +1 -1
  772. package/dist/esm/ix-button.entry.js +3 -3
  773. package/dist/esm/ix-button.entry.js.map +1 -1
  774. package/dist/esm/ix-card-accordion_2.entry.js +3 -3
  775. package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
  776. package/dist/esm/ix-card-list.entry.js +6 -6
  777. package/dist/esm/ix-card-list.entry.js.map +1 -1
  778. package/dist/esm/ix-card_2.entry.js +4 -4
  779. package/dist/esm/ix-card_2.entry.js.map +1 -1
  780. package/dist/esm/ix-category-filter.entry.js +10 -7
  781. package/dist/esm/ix-category-filter.entry.js.map +1 -1
  782. package/dist/esm/ix-checkbox-group.entry.js +52 -0
  783. package/dist/esm/ix-checkbox-group.entry.js.map +1 -0
  784. package/dist/esm/ix-checkbox.entry.js +110 -0
  785. package/dist/esm/ix-checkbox.entry.js.map +1 -0
  786. package/dist/esm/ix-chip.entry.js +6 -6
  787. package/dist/esm/ix-chip.entry.js.map +1 -1
  788. package/dist/esm/ix-col_4.entry.js +11 -11
  789. package/dist/esm/ix-col_4.entry.js.map +1 -1
  790. package/dist/esm/ix-content-header.entry.js +1 -1
  791. package/dist/esm/ix-content.entry.js +5 -5
  792. package/dist/esm/ix-content.entry.js.map +1 -1
  793. package/dist/esm/ix-css-grid-item.entry.js +2 -2
  794. package/dist/esm/ix-css-grid.entry.js +1 -1
  795. package/dist/esm/ix-custom-field.entry.js +61 -0
  796. package/dist/esm/ix-custom-field.entry.js.map +1 -0
  797. package/dist/esm/ix-date-dropdown.entry.js +5 -5
  798. package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
  799. package/dist/esm/ix-date-field.entry.js +251 -0
  800. package/dist/esm/ix-date-field.entry.js.map +1 -0
  801. package/dist/esm/ix-date-time-card.entry.js +3 -3
  802. package/dist/esm/ix-date-time-card.entry.js.map +1 -1
  803. package/dist/esm/ix-datetime-picker.entry.js +3 -3
  804. package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
  805. package/dist/esm/ix-divider.entry.js +2 -2
  806. package/dist/esm/ix-drawer.entry.js +4 -4
  807. package/dist/esm/ix-drawer.entry.js.map +1 -1
  808. package/dist/esm/ix-dropdown-button.entry.js +4 -4
  809. package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
  810. package/dist/esm/ix-dropdown-header.entry.js +3 -3
  811. package/dist/esm/ix-dropdown-header.entry.js.map +1 -1
  812. package/dist/esm/ix-dropdown-item.entry.js +5 -5
  813. package/dist/esm/ix-dropdown-item.entry.js.map +1 -1
  814. package/dist/esm/ix-dropdown-quick-actions.entry.js +2 -2
  815. package/dist/esm/ix-dropdown.entry.js +14 -146
  816. package/dist/esm/ix-dropdown.entry.js.map +1 -1
  817. package/dist/esm/ix-empty-state.entry.js +3 -3
  818. package/dist/esm/ix-empty-state.entry.js.map +1 -1
  819. package/dist/esm/ix-event-list-item.entry.js +7 -7
  820. package/dist/esm/ix-event-list-item.entry.js.map +1 -1
  821. package/dist/esm/ix-event-list.entry.js +4 -4
  822. package/dist/esm/ix-event-list.entry.js.map +1 -1
  823. package/dist/esm/ix-expanding-search.entry.js +6 -6
  824. package/dist/esm/ix-expanding-search.entry.js.map +1 -1
  825. package/dist/esm/{ix-tooltip.entry.js → ix-field-label_3.entry.js} +150 -11
  826. package/dist/esm/ix-field-label_3.entry.js.map +1 -0
  827. package/dist/esm/ix-filter-chip_2.entry.js +4 -4
  828. package/dist/esm/ix-filter-chip_2.entry.js.map +1 -1
  829. package/dist/esm/ix-flip-tile-content.entry.js +2 -2
  830. package/dist/esm/ix-flip-tile.entry.js +6 -6
  831. package/dist/esm/ix-flip-tile.entry.js.map +1 -1
  832. package/dist/esm/ix-group-context-menu_2.entry.js +5 -5
  833. package/dist/esm/ix-group-context-menu_2.entry.js.map +1 -1
  834. package/dist/esm/ix-group.entry.js +9 -9
  835. package/dist/esm/ix-helper-text.entry.js +66 -0
  836. package/dist/esm/ix-helper-text.entry.js.map +1 -0
  837. package/dist/esm/ix-icon-button_2.entry.js +8 -8
  838. package/dist/esm/ix-icon-button_2.entry.js.map +1 -1
  839. package/dist/esm/ix-icon-toggle-button.entry.js +6 -6
  840. package/dist/esm/ix-icon-toggle-button.entry.js.map +1 -1
  841. package/dist/esm/ix-input-group.entry.js +3 -3
  842. package/dist/esm/ix-input-group.entry.js.map +1 -1
  843. package/dist/esm/ix-key-value-list.entry.js +2 -2
  844. package/dist/esm/ix-key-value.entry.js +2 -2
  845. package/dist/esm/ix-key-value.entry.js.map +1 -1
  846. package/dist/esm/ix-kpi.entry.js +5 -5
  847. package/dist/esm/ix-kpi.entry.js.map +1 -1
  848. package/dist/esm/ix-layout-form.entry.js +90 -0
  849. package/dist/esm/ix-layout-form.entry.js.map +1 -0
  850. package/dist/esm/ix-link-button.entry.js +4 -4
  851. package/dist/esm/ix-map-navigation-overlay.entry.js +4 -4
  852. package/dist/esm/ix-map-navigation-overlay.entry.js.map +1 -1
  853. package/dist/esm/ix-map-navigation.entry.js +4 -4
  854. package/dist/esm/ix-map-navigation.entry.js.map +1 -1
  855. package/dist/esm/ix-menu-about-item.entry.js +2 -2
  856. package/dist/esm/ix-menu-about-news.entry.js +6 -6
  857. package/dist/esm/ix-menu-about-news.entry.js.map +1 -1
  858. package/dist/esm/ix-menu-about.entry.js +3 -3
  859. package/dist/esm/ix-menu-avatar.entry.js +4 -4
  860. package/dist/esm/ix-menu-avatar.entry.js.map +1 -1
  861. package/dist/esm/ix-menu-category.entry.js +10 -7
  862. package/dist/esm/ix-menu-category.entry.js.map +1 -1
  863. package/dist/esm/ix-menu-expand-icon.entry.js +5 -5
  864. package/dist/esm/ix-menu-expand-icon.entry.js.map +1 -1
  865. package/dist/esm/ix-menu-item.entry.js +6 -6
  866. package/dist/esm/ix-menu-item.entry.js.map +1 -1
  867. package/dist/esm/ix-menu-settings-item.entry.js +2 -2
  868. package/dist/esm/ix-menu-settings.entry.js +2 -2
  869. package/dist/esm/ix-menu.entry.js +13 -13
  870. package/dist/esm/ix-menu.entry.js.map +1 -1
  871. package/dist/esm/ix-message-bar.entry.js +3 -3
  872. package/dist/esm/ix-message-bar.entry.js.map +1 -1
  873. package/dist/esm/ix-modal-content_2.entry.js +5 -5
  874. package/dist/esm/ix-modal-content_2.entry.js.map +1 -1
  875. package/dist/esm/ix-modal-example.entry.js +2 -2
  876. package/dist/esm/ix-modal-footer.entry.js +3 -3
  877. package/dist/esm/ix-modal-footer.entry.js.map +1 -1
  878. package/dist/esm/ix-modal-loading.entry.js +2 -2
  879. package/dist/esm/ix-modal.entry.js +6 -6
  880. package/dist/esm/ix-number-field.entry.js +144 -0
  881. package/dist/esm/ix-number-field.entry.js.map +1 -0
  882. package/dist/esm/ix-pagination.entry.js +6 -6
  883. package/dist/esm/ix-pagination.entry.js.map +1 -1
  884. package/dist/esm/ix-pane-layout.entry.js +3 -3
  885. package/dist/esm/ix-pane-layout.entry.js.map +1 -1
  886. package/dist/esm/ix-pane.entry.js +8 -8
  887. package/dist/esm/ix-pane.entry.js.map +1 -1
  888. package/dist/esm/ix-pill.entry.js +6 -6
  889. package/dist/esm/ix-pill.entry.js.map +1 -1
  890. package/dist/esm/ix-playground-internal.entry.js +2 -2
  891. package/dist/esm/ix-playground-internal.entry.js.map +1 -1
  892. package/dist/esm/ix-push-card.entry.js +2 -2
  893. package/dist/esm/ix-radio-group.entry.js +112 -0
  894. package/dist/esm/ix-radio-group.entry.js.map +1 -0
  895. package/dist/esm/ix-radio.entry.js +92 -0
  896. package/dist/esm/ix-radio.entry.js.map +1 -0
  897. package/dist/esm/ix-select.entry.js +126 -46
  898. package/dist/esm/ix-select.entry.js.map +1 -1
  899. package/dist/esm/ix-slider.entry.js +10 -10
  900. package/dist/esm/ix-slider.entry.js.map +1 -1
  901. package/dist/esm/ix-split-button-item.entry.js +3 -3
  902. package/dist/esm/ix-split-button.entry.js +4 -3
  903. package/dist/esm/ix-split-button.entry.js.map +1 -1
  904. package/dist/esm/ix-tab-item_2.entry.js +8 -8
  905. package/dist/esm/ix-tab-item_2.entry.js.map +1 -1
  906. package/dist/esm/ix-text-field.entry.js +147 -0
  907. package/dist/esm/ix-text-field.entry.js.map +1 -0
  908. package/dist/esm/ix-textarea-field.entry.js +114 -0
  909. package/dist/esm/ix-textarea-field.entry.js.map +1 -0
  910. package/dist/esm/ix-tile.entry.js +6 -6
  911. package/dist/esm/ix-tile.entry.js.map +1 -1
  912. package/dist/esm/ix-time-picker.entry.js +5 -5
  913. package/dist/esm/ix-time-picker.entry.js.map +1 -1
  914. package/dist/esm/ix-toast-container.entry.js +4 -4
  915. package/dist/esm/ix-toast-container.entry.js.map +1 -1
  916. package/dist/esm/ix-toast.entry.js +4 -4
  917. package/dist/esm/ix-toast.entry.js.map +1 -1
  918. package/dist/esm/ix-toggle-button.entry.js +6 -6
  919. package/dist/esm/ix-toggle-button.entry.js.map +1 -1
  920. package/dist/esm/ix-toggle.entry.js +42 -5
  921. package/dist/esm/ix-toggle.entry.js.map +1 -1
  922. package/dist/esm/ix-tree-item.entry.js +6 -6
  923. package/dist/esm/ix-tree-item.entry.js.map +1 -1
  924. package/dist/esm/ix-tree.entry.js +2 -2
  925. package/dist/esm/ix-typography.entry.js +2 -2
  926. package/dist/esm/ix-typography.entry.js.map +1 -1
  927. package/dist/esm/ix-upload.entry.js +5 -5
  928. package/dist/esm/ix-upload.entry.js.map +1 -1
  929. package/dist/esm/ix-validation-tooltip.entry.js +3 -3
  930. package/dist/esm/ix-workflow-step.entry.js +6 -6
  931. package/dist/esm/ix-workflow-step.entry.js.map +1 -1
  932. package/dist/esm/ix-workflow-steps.entry.js +3 -3
  933. package/dist/esm/ix-workflow-steps.entry.js.map +1 -1
  934. package/dist/esm/{listener-b87c1f3d.js → listener-98571ba8.js} +2 -2
  935. package/dist/esm/{listener-b87c1f3d.js.map → listener-98571ba8.js.map} +1 -1
  936. package/dist/esm/loader.js +3 -3
  937. package/dist/esm/{make-ref-c80046bf.js → make-ref-6b3b4e16.js} +6 -1
  938. package/dist/esm/make-ref-6b3b4e16.js.map +1 -0
  939. package/dist/esm/{menu-tabs-fc-c72e41b6.js → menu-tabs-fc-7ec1fb5d.js} +4 -4
  940. package/dist/esm/{menu-tabs-fc-c72e41b6.js.map → menu-tabs-fc-7ec1fb5d.js.map} +1 -1
  941. package/dist/esm/siemens-ix.js +11 -11
  942. package/dist/esm/siemens-ix.js.map +1 -1
  943. package/dist/esm/text-field.util-6a84bffd.js +167 -0
  944. package/dist/esm/text-field.util-6a84bffd.js.map +1 -0
  945. package/dist/esm/validation-9db7dfa3.js +112 -0
  946. package/dist/esm/validation-9db7dfa3.js.map +1 -0
  947. package/dist/siemens-ix/index.esm.js +1 -1
  948. package/dist/siemens-ix/index.esm.js.map +1 -1
  949. package/dist/siemens-ix/p-02ed5606.entry.js +2 -0
  950. package/dist/siemens-ix/{p-4290098e.entry.js.map → p-02ed5606.entry.js.map} +1 -1
  951. package/dist/siemens-ix/p-0681f4d8.entry.js +2 -0
  952. package/dist/siemens-ix/{p-cbbe9dee.entry.js.map → p-0681f4d8.entry.js.map} +1 -1
  953. package/dist/siemens-ix/p-06965e5f.entry.js +2 -0
  954. package/dist/siemens-ix/{p-aa58d9d7.entry.js.map → p-06965e5f.entry.js.map} +1 -1
  955. package/dist/siemens-ix/p-08215ad3.entry.js +2 -0
  956. package/dist/siemens-ix/p-08215ad3.entry.js.map +1 -0
  957. package/dist/siemens-ix/p-0bed10af.entry.js +2 -0
  958. package/dist/siemens-ix/p-0d907964.entry.js +2 -0
  959. package/dist/siemens-ix/p-0dfc3b80.entry.js +2 -0
  960. package/dist/siemens-ix/p-104097fb.entry.js +2 -0
  961. package/dist/siemens-ix/{p-33538474.entry.js.map → p-104097fb.entry.js.map} +1 -1
  962. package/dist/siemens-ix/p-15a5bc5a.entry.js +2 -0
  963. package/dist/siemens-ix/p-15a5bc5a.entry.js.map +1 -0
  964. package/dist/siemens-ix/p-18d15442.entry.js +2 -0
  965. package/dist/siemens-ix/{p-add5b76c.entry.js.map → p-18d15442.entry.js.map} +1 -1
  966. package/dist/siemens-ix/p-1df98c59.entry.js +2 -0
  967. package/dist/siemens-ix/{p-8d156396.entry.js.map → p-1df98c59.entry.js.map} +1 -1
  968. package/dist/siemens-ix/p-1ec8d2b9.entry.js +2 -0
  969. package/dist/siemens-ix/{p-d08cbeaf.entry.js.map → p-1ec8d2b9.entry.js.map} +1 -1
  970. package/dist/siemens-ix/p-1f771917.entry.js +2 -0
  971. package/dist/siemens-ix/{p-c1bd5d78.entry.js.map → p-1f771917.entry.js.map} +1 -1
  972. package/dist/siemens-ix/{p-ced10144.js → p-224ebf90.js} +2 -2
  973. package/dist/siemens-ix/p-235c14ca.js.map +1 -1
  974. package/dist/siemens-ix/p-2442ad01.entry.js +2 -0
  975. package/dist/siemens-ix/{p-902d1046.entry.js.map → p-2442ad01.entry.js.map} +1 -1
  976. package/dist/siemens-ix/p-277980fa.entry.js +2 -0
  977. package/dist/siemens-ix/p-277980fa.entry.js.map +1 -0
  978. package/dist/siemens-ix/{p-418959d3.entry.js → p-293dd6d1.entry.js} +2 -2
  979. package/dist/siemens-ix/p-35690183.entry.js +2 -0
  980. package/dist/siemens-ix/{p-96d2d21f.entry.js.map → p-35690183.entry.js.map} +1 -1
  981. package/dist/siemens-ix/{p-114bb49b.entry.js → p-35fa9e1a.entry.js} +2 -2
  982. package/dist/siemens-ix/p-36c0f378.js +2 -0
  983. package/dist/siemens-ix/p-36c0f378.js.map +1 -0
  984. package/dist/siemens-ix/p-3730ac72.entry.js +2 -0
  985. package/dist/siemens-ix/{p-b475f567.entry.js.map → p-3730ac72.entry.js.map} +1 -1
  986. package/dist/siemens-ix/p-3782e028.js +2 -0
  987. package/dist/siemens-ix/p-3782e028.js.map +1 -0
  988. package/dist/siemens-ix/{p-e07d2623.js → p-37ca7ed4.js} +2 -2
  989. package/dist/siemens-ix/{p-e07d2623.js.map → p-37ca7ed4.js.map} +1 -1
  990. package/dist/siemens-ix/p-399bb0ce.entry.js +2 -0
  991. package/dist/siemens-ix/p-3a5f7b61.entry.js +2 -0
  992. package/dist/siemens-ix/{p-0a1bfcfc.entry.js.map → p-3a5f7b61.entry.js.map} +1 -1
  993. package/dist/siemens-ix/p-3b38f812.entry.js +2 -0
  994. package/dist/siemens-ix/{p-bdc57334.entry.js.map → p-3b38f812.entry.js.map} +1 -1
  995. package/dist/siemens-ix/p-3de71a19.entry.js +2 -0
  996. package/dist/siemens-ix/{p-75548c73.entry.js.map → p-3de71a19.entry.js.map} +1 -1
  997. package/dist/siemens-ix/p-4017727a.entry.js +2 -0
  998. package/dist/siemens-ix/p-4017727a.entry.js.map +1 -0
  999. package/dist/siemens-ix/p-42c66a44.js +2 -0
  1000. package/dist/siemens-ix/p-42c66a44.js.map +1 -0
  1001. package/dist/siemens-ix/p-4a335b55.entry.js +2 -0
  1002. package/dist/siemens-ix/p-4a335b55.entry.js.map +1 -0
  1003. package/dist/siemens-ix/p-4b69ab0d.entry.js +2 -0
  1004. package/dist/siemens-ix/{p-a617e605.entry.js.map → p-4b69ab0d.entry.js.map} +1 -1
  1005. package/dist/siemens-ix/p-504f43d4.entry.js +2 -0
  1006. package/dist/siemens-ix/{p-23dd21b3.entry.js.map → p-504f43d4.entry.js.map} +1 -1
  1007. package/dist/siemens-ix/p-50cae62d.entry.js +2 -0
  1008. package/dist/siemens-ix/p-53e62b51.entry.js +2 -0
  1009. package/dist/siemens-ix/p-56d01130.entry.js +2 -0
  1010. package/dist/siemens-ix/p-56d01130.entry.js.map +1 -0
  1011. package/dist/siemens-ix/p-576b09c9.entry.js +2 -0
  1012. package/dist/siemens-ix/{p-9dabe2f7.entry.js.map → p-576b09c9.entry.js.map} +1 -1
  1013. package/dist/siemens-ix/p-5924a783.entry.js +2 -0
  1014. package/dist/siemens-ix/{p-2c6a35db.entry.js.map → p-5924a783.entry.js.map} +1 -1
  1015. package/dist/siemens-ix/p-5a6d8b69.entry.js +2 -0
  1016. package/dist/siemens-ix/p-5a6d8b69.entry.js.map +1 -0
  1017. package/dist/siemens-ix/p-5bf40a9f.entry.js +2 -0
  1018. package/dist/siemens-ix/p-5eb935a3.entry.js +2 -0
  1019. package/dist/siemens-ix/p-5eb935a3.entry.js.map +1 -0
  1020. package/dist/siemens-ix/p-61265df9.entry.js +2 -0
  1021. package/dist/siemens-ix/{p-784fe260.entry.js.map → p-61265df9.entry.js.map} +1 -1
  1022. package/dist/siemens-ix/{p-01a8adf1.entry.js → p-628c8612.entry.js} +2 -2
  1023. package/dist/siemens-ix/p-628f031a.entry.js +2 -0
  1024. package/dist/siemens-ix/{p-021e1084.entry.js.map → p-628f031a.entry.js.map} +1 -1
  1025. package/dist/siemens-ix/p-6bd0ba14.entry.js +2 -0
  1026. package/dist/siemens-ix/p-6bd0ba14.entry.js.map +1 -0
  1027. package/dist/siemens-ix/p-6c412b52.entry.js +2 -0
  1028. package/dist/siemens-ix/{p-90c55341.entry.js.map → p-6c412b52.entry.js.map} +1 -1
  1029. package/dist/siemens-ix/p-6ca97a73.entry.js +2 -0
  1030. package/dist/siemens-ix/{p-3b8e4fe5.entry.js.map → p-6ca97a73.entry.js.map} +1 -1
  1031. package/dist/siemens-ix/p-6f83793b.entry.js +2 -0
  1032. package/dist/siemens-ix/p-6f83793b.entry.js.map +1 -0
  1033. package/dist/siemens-ix/p-70a7bd22.entry.js +2 -0
  1034. package/dist/siemens-ix/p-70a7bd22.entry.js.map +1 -0
  1035. package/dist/siemens-ix/p-724b98ce.entry.js +2 -0
  1036. package/dist/siemens-ix/{p-b24beb48.entry.js.map → p-724b98ce.entry.js.map} +1 -1
  1037. package/dist/siemens-ix/p-73e0eb40.entry.js +2 -0
  1038. package/dist/siemens-ix/p-73e0eb40.entry.js.map +1 -0
  1039. package/dist/siemens-ix/p-75c61fbf.entry.js +2 -0
  1040. package/dist/siemens-ix/{p-e0cab820.entry.js.map → p-75c61fbf.entry.js.map} +1 -1
  1041. package/dist/siemens-ix/p-781a1922.entry.js +2 -0
  1042. package/dist/siemens-ix/{p-b944d015.entry.js.map → p-781a1922.entry.js.map} +1 -1
  1043. package/dist/siemens-ix/p-787293f4.entry.js +2 -0
  1044. package/dist/siemens-ix/{p-e678bfc5.entry.js.map → p-787293f4.entry.js.map} +1 -1
  1045. package/dist/siemens-ix/p-79c848ec.entry.js +2 -0
  1046. package/dist/siemens-ix/{p-ecd3b070.entry.js.map → p-79c848ec.entry.js.map} +1 -1
  1047. package/dist/siemens-ix/p-7f4b78e5.js +2 -0
  1048. package/dist/siemens-ix/p-7f4b78e5.js.map +1 -0
  1049. package/dist/siemens-ix/{p-08a5d45b.entry.js → p-80051a81.entry.js} +2 -2
  1050. package/dist/siemens-ix/{p-08a5d45b.entry.js.map → p-80051a81.entry.js.map} +1 -1
  1051. package/dist/siemens-ix/{p-a6fbea5b.entry.js → p-815dd9a1.entry.js} +2 -2
  1052. package/dist/siemens-ix/p-83b8b502.entry.js +2 -0
  1053. package/dist/siemens-ix/{p-3b8ff673.entry.js.map → p-83b8b502.entry.js.map} +1 -1
  1054. package/dist/siemens-ix/p-846cf6d2.entry.js +2 -0
  1055. package/dist/siemens-ix/p-846cf6d2.entry.js.map +1 -0
  1056. package/dist/siemens-ix/{p-330343e7.entry.js → p-86b46723.entry.js} +2 -2
  1057. package/dist/siemens-ix/{p-330343e7.entry.js.map → p-86b46723.entry.js.map} +1 -1
  1058. package/dist/siemens-ix/{p-2637665e.entry.js → p-87d7aaf9.entry.js} +2 -2
  1059. package/dist/siemens-ix/{p-4cf6e817.entry.js → p-8a9fc2f0.entry.js} +2 -2
  1060. package/dist/siemens-ix/{p-4cf6e817.entry.js.map → p-8a9fc2f0.entry.js.map} +1 -1
  1061. package/dist/siemens-ix/{p-306c5ab2.entry.js → p-8d737a35.entry.js} +2 -2
  1062. package/dist/siemens-ix/{p-306c5ab2.entry.js.map → p-8d737a35.entry.js.map} +1 -1
  1063. package/dist/siemens-ix/{p-f2a81e70.entry.js → p-8dcf30ce.entry.js} +2 -2
  1064. package/dist/siemens-ix/{p-30e8a26a.entry.js → p-8e10d2f2.entry.js} +2 -2
  1065. package/dist/siemens-ix/p-9010831e.entry.js +2 -0
  1066. package/dist/siemens-ix/p-9010831e.entry.js.map +1 -0
  1067. package/dist/siemens-ix/p-921c59c4.entry.js +2 -0
  1068. package/dist/siemens-ix/{p-18a1c4dd.entry.js.map → p-921c59c4.entry.js.map} +1 -1
  1069. package/dist/siemens-ix/p-934ae9a0.entry.js +2 -0
  1070. package/dist/siemens-ix/{p-5f08da2c.entry.js.map → p-934ae9a0.entry.js.map} +1 -1
  1071. package/dist/siemens-ix/{p-6e1fdc40.entry.js → p-9569e1a2.entry.js} +2 -2
  1072. package/dist/siemens-ix/{p-6e1fdc40.entry.js.map → p-9569e1a2.entry.js.map} +1 -1
  1073. package/dist/siemens-ix/p-97f475db.entry.js +2 -0
  1074. package/dist/siemens-ix/{p-f23e0121.entry.js.map → p-97f475db.entry.js.map} +1 -1
  1075. package/dist/siemens-ix/p-9840f086.entry.js +2 -0
  1076. package/dist/siemens-ix/{p-84b3b311.entry.js.map → p-9840f086.entry.js.map} +1 -1
  1077. package/dist/siemens-ix/p-9cc0d11b.entry.js +2 -0
  1078. package/dist/siemens-ix/{p-ed2ec72f.entry.js.map → p-9cc0d11b.entry.js.map} +1 -1
  1079. package/dist/siemens-ix/{p-493cb880.entry.js → p-9ec92185.entry.js} +2 -2
  1080. package/dist/siemens-ix/p-9ec92185.entry.js.map +1 -0
  1081. package/dist/siemens-ix/p-a9b0c087.entry.js +2 -0
  1082. package/dist/siemens-ix/p-aae05303.entry.js +2 -0
  1083. package/dist/siemens-ix/{p-ee20d08c.entry.js.map → p-aae05303.entry.js.map} +1 -1
  1084. package/dist/siemens-ix/p-ac05950c.entry.js +2 -0
  1085. package/dist/siemens-ix/{p-ec741c06.entry.js.map → p-ac05950c.entry.js.map} +1 -1
  1086. package/dist/siemens-ix/p-ac6c6d3f.entry.js +2 -0
  1087. package/dist/siemens-ix/p-ac6c6d3f.entry.js.map +1 -0
  1088. package/dist/siemens-ix/p-aca94a5e.entry.js +2 -0
  1089. package/dist/siemens-ix/p-aca94a5e.entry.js.map +1 -0
  1090. package/dist/siemens-ix/p-ae7fdfa6.entry.js +2 -0
  1091. package/dist/siemens-ix/{p-cf546284.entry.js.map → p-ae7fdfa6.entry.js.map} +1 -1
  1092. package/dist/siemens-ix/p-b0fe18f7.entry.js +2 -0
  1093. package/dist/siemens-ix/p-b0fe18f7.entry.js.map +1 -0
  1094. package/dist/siemens-ix/p-b5c4fd55.entry.js +2 -0
  1095. package/dist/siemens-ix/{p-ca65a043.entry.js.map → p-b5c4fd55.entry.js.map} +1 -1
  1096. package/dist/siemens-ix/p-b6c0dfb5.entry.js +2 -0
  1097. package/dist/siemens-ix/{p-04a362da.entry.js.map → p-b6c0dfb5.entry.js.map} +1 -1
  1098. package/dist/siemens-ix/p-b789e0e7.entry.js +2 -0
  1099. package/dist/siemens-ix/{p-6eb4eefc.entry.js.map → p-b789e0e7.entry.js.map} +1 -1
  1100. package/dist/siemens-ix/p-b8ed7953.entry.js +2 -0
  1101. package/dist/siemens-ix/{p-b35a627a.entry.js.map → p-b8ed7953.entry.js.map} +1 -1
  1102. package/dist/siemens-ix/{p-2c14670e.entry.js → p-b973db5e.entry.js} +2 -2
  1103. package/dist/siemens-ix/p-b973db5e.entry.js.map +1 -0
  1104. package/dist/siemens-ix/p-b9b59a08.entry.js +2 -0
  1105. package/dist/siemens-ix/p-b9b59a08.entry.js.map +1 -0
  1106. package/dist/siemens-ix/p-bc1e92ac.js +2 -0
  1107. package/dist/siemens-ix/p-bd24bbde.entry.js +2 -0
  1108. package/dist/siemens-ix/{p-2c14670e.entry.js.map → p-bd24bbde.entry.js.map} +1 -1
  1109. package/dist/siemens-ix/p-c3db120e.entry.js +2 -0
  1110. package/dist/siemens-ix/p-c66e4a5f.entry.js +2 -0
  1111. package/dist/siemens-ix/p-c6dcff7e.entry.js +2 -0
  1112. package/dist/siemens-ix/{p-e2464e13.entry.js.map → p-c6dcff7e.entry.js.map} +1 -1
  1113. package/dist/siemens-ix/p-c71d1690.entry.js +2 -0
  1114. package/dist/siemens-ix/p-c71d1690.entry.js.map +1 -0
  1115. package/dist/siemens-ix/p-cce7a3d5.js +2 -0
  1116. package/dist/siemens-ix/p-cce7a3d5.js.map +1 -0
  1117. package/dist/siemens-ix/p-ce8a0611.entry.js +2 -0
  1118. package/dist/siemens-ix/p-ce8a0611.entry.js.map +1 -0
  1119. package/dist/siemens-ix/p-cf65d3b6.entry.js +2 -0
  1120. package/dist/siemens-ix/p-cf65d3b6.entry.js.map +1 -0
  1121. package/dist/siemens-ix/p-cfcd2bd3.entry.js +2 -0
  1122. package/dist/siemens-ix/{p-4d57ca67.entry.js.map → p-cfcd2bd3.entry.js.map} +1 -1
  1123. package/dist/siemens-ix/p-d7131f75.entry.js +2 -0
  1124. package/dist/siemens-ix/{p-a147b152.entry.js.map → p-d7131f75.entry.js.map} +1 -1
  1125. package/dist/siemens-ix/p-da8517ed.js +2 -0
  1126. package/dist/siemens-ix/p-da8517ed.js.map +1 -0
  1127. package/dist/siemens-ix/p-dde0af66.entry.js +2 -0
  1128. package/dist/siemens-ix/{p-abb29515.entry.js.map → p-dde0af66.entry.js.map} +1 -1
  1129. package/dist/siemens-ix/p-dead9c8e.js +2 -0
  1130. package/dist/siemens-ix/p-dead9c8e.js.map +1 -0
  1131. package/dist/siemens-ix/p-e1bd7b4f.entry.js +2 -0
  1132. package/dist/siemens-ix/p-e1bd7b4f.entry.js.map +1 -0
  1133. package/dist/siemens-ix/{p-fb55854a.entry.js → p-e5218382.entry.js} +2 -2
  1134. package/dist/siemens-ix/p-e5218382.entry.js.map +1 -0
  1135. package/dist/siemens-ix/{p-9dc3e182.entry.js → p-e72dfb3c.entry.js} +2 -2
  1136. package/dist/siemens-ix/p-ec0806c3.entry.js +2 -0
  1137. package/dist/siemens-ix/{p-a3ad98bc.entry.js.map → p-ec0806c3.entry.js.map} +1 -1
  1138. package/dist/siemens-ix/p-ed991838.js +2 -0
  1139. package/dist/siemens-ix/p-edd99767.entry.js +2 -0
  1140. package/dist/siemens-ix/p-edd99767.entry.js.map +1 -0
  1141. package/dist/siemens-ix/p-ef6171a2.entry.js +2 -0
  1142. package/dist/siemens-ix/p-f0bbd496.entry.js +2 -0
  1143. package/dist/siemens-ix/{p-e4e24f59.entry.js.map → p-f0bbd496.entry.js.map} +1 -1
  1144. package/dist/siemens-ix/p-f22e4bb2.entry.js +2 -0
  1145. package/dist/siemens-ix/p-f22e4bb2.entry.js.map +1 -0
  1146. package/dist/siemens-ix/p-f37ac17d.entry.js +2 -0
  1147. package/dist/siemens-ix/{p-18a27007.entry.js.map → p-f37ac17d.entry.js.map} +1 -1
  1148. package/dist/siemens-ix/p-f3c3366d.entry.js +2 -0
  1149. package/dist/siemens-ix/p-f86a894a.js +3 -0
  1150. package/dist/siemens-ix/p-f86a894a.js.map +1 -0
  1151. package/dist/siemens-ix/p-fad5daa1.entry.js +2 -0
  1152. package/dist/siemens-ix/{p-bd576793.entry.js.map → p-fad5daa1.entry.js.map} +1 -1
  1153. package/dist/siemens-ix/siemens-ix-core.css +1 -1
  1154. package/dist/siemens-ix/siemens-ix.css +760 -157
  1155. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  1156. package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
  1157. package/dist/siemens-ix/theme/classic-dark.css +1 -1
  1158. package/dist/siemens-ix/theme/classic-light.css +1 -1
  1159. package/dist/types/components/application-header/application-header.d.ts +2 -0
  1160. package/dist/types/components/avatar/avatar.d.ts +2 -0
  1161. package/dist/types/components/checkbox/checkbox.d.ts +61 -0
  1162. package/dist/types/components/checkbox/tests/checkbox.ct.d.ts +1 -0
  1163. package/dist/types/components/checkbox-group/checkbox-group.d.ts +40 -0
  1164. package/dist/types/components/chip/test/chip.ct.d.ts +1 -0
  1165. package/dist/types/components/custom-field/custom-field.d.ts +46 -0
  1166. package/dist/types/components/custom-field/tests/custom-field.ct.d.ts +1 -0
  1167. package/dist/types/components/date-field/date-field.d.ts +127 -0
  1168. package/dist/types/components/date-field/tests/date-field.ct.d.ts +1 -0
  1169. package/dist/types/components/date-time-card/date-time-card.d.ts +1 -1
  1170. package/dist/types/components/dropdown/dropdown-controller.d.ts +1 -0
  1171. package/dist/types/components/dropdown-button/dropdown-button.ct.d.ts +1 -0
  1172. package/dist/types/components/field-label/field-label.d.ts +27 -0
  1173. package/dist/types/components/field-label/tests/field-label.ct.d.ts +1 -0
  1174. package/dist/types/components/field-wrapper/field-wrapper.d.ts +64 -0
  1175. package/dist/types/components/field-wrapper/helper-text-util.d.ts +11 -0
  1176. package/dist/types/components/field-wrapper/tests/field-wrapper.ct.d.ts +1 -0
  1177. package/dist/types/components/helper-text/helper-text.d.ts +37 -0
  1178. package/dist/types/components/layout-form/layout-form.d.ts +22 -0
  1179. package/dist/types/components/radio/radio.d.ts +53 -0
  1180. package/dist/types/components/radio/test/radio.ct.d.ts +1 -0
  1181. package/dist/types/components/radio-group/radio-group.d.ts +60 -0
  1182. package/dist/types/components/radio-group/test/radio-group.ct.d.ts +1 -0
  1183. package/dist/types/components/select/select.d.ts +84 -4
  1184. package/dist/types/components/split-button/split-button.d.ts +6 -0
  1185. package/dist/types/components/text-field/input.fc.d.ts +50 -0
  1186. package/dist/types/components/text-field/number-field.d.ts +117 -0
  1187. package/dist/types/components/text-field/tests/form-ready.ct.d.ts +1 -0
  1188. package/dist/types/components/text-field/text-field.animation.d.ts +1 -0
  1189. package/dist/types/components/text-field/text-field.d.ts +119 -0
  1190. package/dist/types/components/text-field/text-field.util.d.ts +13 -0
  1191. package/dist/types/components/text-field/textarea-field.d.ts +127 -0
  1192. package/dist/types/components/toggle/toggle.d.ts +29 -1
  1193. package/dist/types/components/utils/a11y.d.ts +5 -5
  1194. package/dist/types/components/utils/attributes.d.ts +2 -0
  1195. package/dist/types/components/utils/field/index.d.ts +60 -0
  1196. package/dist/types/components/utils/field/validation.d.ts +15 -0
  1197. package/dist/types/components/utils/testing/index.d.ts +0 -0
  1198. package/dist/types/components/utils/uuid.d.ts +1 -0
  1199. package/dist/types/components/workflow-step/workflow-step.d.ts +1 -1
  1200. package/dist/types/components.d.ts +1741 -47
  1201. package/dist/types/index.d.ts +1 -0
  1202. package/dist/types/tests/utils/test/index.d.ts +3 -0
  1203. package/hydrate/index.d.ts +218 -0
  1204. package/hydrate/index.js +43475 -0
  1205. package/hydrate/package.json +6 -0
  1206. package/package.json +6 -5
  1207. package/scss/components/form/_input.scss +56 -5
  1208. package/scss/mixins/_field.scss +18 -0
  1209. package/scss/mixins/_scrollbar.scss +7 -0
  1210. package/scss/mixins/validation/_form-component.scss +63 -0
  1211. package/scss/theme/classic-dark/_border.scss +1 -1
  1212. package/scss/theme/classic-dark/_borderRadius.scss +1 -1
  1213. package/scss/theme/classic-dark/_borderWidth.scss +1 -1
  1214. package/scss/theme/classic-dark/_boxShadow.scss +1 -1
  1215. package/scss/theme/classic-dark/_color.scss +320 -62
  1216. package/scss/theme/classic-dark/_fontFamilies.scss +1 -1
  1217. package/scss/theme/classic-dark/_fontSizes.scss +1 -1
  1218. package/scss/theme/classic-dark/_fontWeights.scss +1 -1
  1219. package/scss/theme/classic-dark/_index.scss +1 -1
  1220. package/scss/theme/classic-dark/_letterSpacing.scss +1 -1
  1221. package/scss/theme/classic-dark/_lineHeights.scss +1 -1
  1222. package/scss/theme/classic-dark/_other.scss +1 -1
  1223. package/scss/theme/classic-dark/_sizing.scss +1 -1
  1224. package/scss/theme/classic-dark/_spacing.scss +1 -1
  1225. package/scss/theme/classic-dark/_typography.scss +1 -1
  1226. package/scss/theme/classic-light/_border.scss +1 -1
  1227. package/scss/theme/classic-light/_borderRadius.scss +1 -1
  1228. package/scss/theme/classic-light/_borderWidth.scss +1 -1
  1229. package/scss/theme/classic-light/_boxShadow.scss +1 -1
  1230. package/scss/theme/classic-light/_color.scss +320 -62
  1231. package/scss/theme/classic-light/_fontFamilies.scss +1 -1
  1232. package/scss/theme/classic-light/_fontSizes.scss +1 -1
  1233. package/scss/theme/classic-light/_fontWeights.scss +1 -1
  1234. package/scss/theme/classic-light/_index.scss +1 -1
  1235. package/scss/theme/classic-light/_letterSpacing.scss +1 -1
  1236. package/scss/theme/classic-light/_lineHeights.scss +1 -1
  1237. package/scss/theme/classic-light/_other.scss +1 -1
  1238. package/scss/theme/classic-light/_sizing.scss +1 -1
  1239. package/scss/theme/classic-light/_spacing.scss +1 -1
  1240. package/scss/theme/classic-light/_typography.scss +1 -1
  1241. package/components/ix-form-field.js +0 -44
  1242. package/components/ix-form-field.js.map +0 -1
  1243. package/dist/cjs/a11y-d3ce56d1.js.map +0 -1
  1244. package/dist/cjs/index-c6f0ac73.js +0 -2688
  1245. package/dist/cjs/index-c6f0ac73.js.map +0 -1
  1246. package/dist/cjs/ix-form-field.cjs.entry.js +0 -28
  1247. package/dist/cjs/ix-form-field.cjs.entry.js.map +0 -1
  1248. package/dist/cjs/ix-tooltip.cjs.entry.js.map +0 -1
  1249. package/dist/cjs/make-ref-c25629b7.js.map +0 -1
  1250. package/dist/collection/components/form-field/form-field.js +0 -56
  1251. package/dist/collection/components/form-field/form-field.js.map +0 -1
  1252. package/dist/esm/a11y-d5444a76.js.map +0 -1
  1253. package/dist/esm/index-f18c5ad1.js +0 -2656
  1254. package/dist/esm/index-f18c5ad1.js.map +0 -1
  1255. package/dist/esm/ix-form-field.entry.js +0 -24
  1256. package/dist/esm/ix-form-field.entry.js.map +0 -1
  1257. package/dist/esm/ix-tooltip.entry.js.map +0 -1
  1258. package/dist/esm/make-ref-c80046bf.js.map +0 -1
  1259. package/dist/siemens-ix/p-01b8b98c.entry.js +0 -2
  1260. package/dist/siemens-ix/p-01b8b98c.entry.js.map +0 -1
  1261. package/dist/siemens-ix/p-021e1084.entry.js +0 -2
  1262. package/dist/siemens-ix/p-04a362da.entry.js +0 -2
  1263. package/dist/siemens-ix/p-0a1bfcfc.entry.js +0 -2
  1264. package/dist/siemens-ix/p-0fee2dd5.entry.js +0 -2
  1265. package/dist/siemens-ix/p-0fee2dd5.entry.js.map +0 -1
  1266. package/dist/siemens-ix/p-10f86b92.entry.js +0 -2
  1267. package/dist/siemens-ix/p-10f86b92.entry.js.map +0 -1
  1268. package/dist/siemens-ix/p-18a1c4dd.entry.js +0 -2
  1269. package/dist/siemens-ix/p-18a27007.entry.js +0 -2
  1270. package/dist/siemens-ix/p-1cc910b7.entry.js +0 -2
  1271. package/dist/siemens-ix/p-213f16d5.entry.js +0 -2
  1272. package/dist/siemens-ix/p-213f16d5.entry.js.map +0 -1
  1273. package/dist/siemens-ix/p-23dd21b3.entry.js +0 -2
  1274. package/dist/siemens-ix/p-2459f98f.entry.js +0 -2
  1275. package/dist/siemens-ix/p-2459f98f.entry.js.map +0 -1
  1276. package/dist/siemens-ix/p-26e9d40e.js +0 -3
  1277. package/dist/siemens-ix/p-26e9d40e.js.map +0 -1
  1278. package/dist/siemens-ix/p-2c6a35db.entry.js +0 -2
  1279. package/dist/siemens-ix/p-2f4e6ac1.entry.js +0 -2
  1280. package/dist/siemens-ix/p-2f4e6ac1.entry.js.map +0 -1
  1281. package/dist/siemens-ix/p-33538474.entry.js +0 -2
  1282. package/dist/siemens-ix/p-3b8e4fe5.entry.js +0 -2
  1283. package/dist/siemens-ix/p-3b8ff673.entry.js +0 -2
  1284. package/dist/siemens-ix/p-4290098e.entry.js +0 -2
  1285. package/dist/siemens-ix/p-43a58a77.entry.js +0 -2
  1286. package/dist/siemens-ix/p-43a58a77.entry.js.map +0 -1
  1287. package/dist/siemens-ix/p-493cb880.entry.js.map +0 -1
  1288. package/dist/siemens-ix/p-4d57ca67.entry.js +0 -2
  1289. package/dist/siemens-ix/p-4f8ac3bf.js +0 -2
  1290. package/dist/siemens-ix/p-4f8ac3bf.js.map +0 -1
  1291. package/dist/siemens-ix/p-4fd11865.entry.js +0 -2
  1292. package/dist/siemens-ix/p-52bb526e.entry.js +0 -2
  1293. package/dist/siemens-ix/p-56bbdae4.entry.js +0 -2
  1294. package/dist/siemens-ix/p-5d582c48.entry.js +0 -2
  1295. package/dist/siemens-ix/p-5f08da2c.entry.js +0 -2
  1296. package/dist/siemens-ix/p-601cfc6a.entry.js +0 -2
  1297. package/dist/siemens-ix/p-601cfc6a.entry.js.map +0 -1
  1298. package/dist/siemens-ix/p-64c3fa3d.js +0 -2
  1299. package/dist/siemens-ix/p-64c3fa3d.js.map +0 -1
  1300. package/dist/siemens-ix/p-678d821f.entry.js +0 -2
  1301. package/dist/siemens-ix/p-6ea6396e.entry.js +0 -2
  1302. package/dist/siemens-ix/p-6ea6396e.entry.js.map +0 -1
  1303. package/dist/siemens-ix/p-6eb4eefc.entry.js +0 -2
  1304. package/dist/siemens-ix/p-75548c73.entry.js +0 -2
  1305. package/dist/siemens-ix/p-784fe260.entry.js +0 -2
  1306. package/dist/siemens-ix/p-8362e966.js +0 -2
  1307. package/dist/siemens-ix/p-84b3b311.entry.js +0 -2
  1308. package/dist/siemens-ix/p-890d74cd.entry.js +0 -2
  1309. package/dist/siemens-ix/p-8d156396.entry.js +0 -2
  1310. package/dist/siemens-ix/p-902d1046.entry.js +0 -2
  1311. package/dist/siemens-ix/p-90c55341.entry.js +0 -2
  1312. package/dist/siemens-ix/p-96d2d21f.entry.js +0 -2
  1313. package/dist/siemens-ix/p-9dabe2f7.entry.js +0 -2
  1314. package/dist/siemens-ix/p-a147b152.entry.js +0 -2
  1315. package/dist/siemens-ix/p-a35d02ea.entry.js +0 -2
  1316. package/dist/siemens-ix/p-a3ad98bc.entry.js +0 -2
  1317. package/dist/siemens-ix/p-a617e605.entry.js +0 -2
  1318. package/dist/siemens-ix/p-a8838a77.js +0 -2
  1319. package/dist/siemens-ix/p-a9d1ab94.entry.js +0 -2
  1320. package/dist/siemens-ix/p-a9d1ab94.entry.js.map +0 -1
  1321. package/dist/siemens-ix/p-aa58d9d7.entry.js +0 -2
  1322. package/dist/siemens-ix/p-abb29515.entry.js +0 -2
  1323. package/dist/siemens-ix/p-add5b76c.entry.js +0 -2
  1324. package/dist/siemens-ix/p-b24beb48.entry.js +0 -2
  1325. package/dist/siemens-ix/p-b32c2183.entry.js +0 -2
  1326. package/dist/siemens-ix/p-b35a627a.entry.js +0 -2
  1327. package/dist/siemens-ix/p-b475f567.entry.js +0 -2
  1328. package/dist/siemens-ix/p-b7a8f2d5.entry.js +0 -2
  1329. package/dist/siemens-ix/p-b944d015.entry.js +0 -2
  1330. package/dist/siemens-ix/p-bc5d33ce.entry.js +0 -2
  1331. package/dist/siemens-ix/p-bc5d33ce.entry.js.map +0 -1
  1332. package/dist/siemens-ix/p-bd576793.entry.js +0 -2
  1333. package/dist/siemens-ix/p-bdc57334.entry.js +0 -2
  1334. package/dist/siemens-ix/p-c1bd5d78.entry.js +0 -2
  1335. package/dist/siemens-ix/p-c3939d35.entry.js +0 -2
  1336. package/dist/siemens-ix/p-ca65a043.entry.js +0 -2
  1337. package/dist/siemens-ix/p-cbbe9dee.entry.js +0 -2
  1338. package/dist/siemens-ix/p-ccf1bd22.entry.js +0 -2
  1339. package/dist/siemens-ix/p-cf546284.entry.js +0 -2
  1340. package/dist/siemens-ix/p-d08cbeaf.entry.js +0 -2
  1341. package/dist/siemens-ix/p-d3f26126.entry.js +0 -2
  1342. package/dist/siemens-ix/p-d3f26126.entry.js.map +0 -1
  1343. package/dist/siemens-ix/p-d600ea55.entry.js +0 -2
  1344. package/dist/siemens-ix/p-d600ea55.entry.js.map +0 -1
  1345. package/dist/siemens-ix/p-d6a094cf.entry.js +0 -2
  1346. package/dist/siemens-ix/p-d6a094cf.entry.js.map +0 -1
  1347. package/dist/siemens-ix/p-def8b3a4.entry.js +0 -2
  1348. package/dist/siemens-ix/p-def8b3a4.entry.js.map +0 -1
  1349. package/dist/siemens-ix/p-e0cab820.entry.js +0 -2
  1350. package/dist/siemens-ix/p-e2464e13.entry.js +0 -2
  1351. package/dist/siemens-ix/p-e4e24f59.entry.js +0 -2
  1352. package/dist/siemens-ix/p-e678bfc5.entry.js +0 -2
  1353. package/dist/siemens-ix/p-ec741c06.entry.js +0 -2
  1354. package/dist/siemens-ix/p-ecd3b070.entry.js +0 -2
  1355. package/dist/siemens-ix/p-ed2ec72f.entry.js +0 -2
  1356. package/dist/siemens-ix/p-ee20d08c.entry.js +0 -2
  1357. package/dist/siemens-ix/p-f23e0121.entry.js +0 -2
  1358. package/dist/siemens-ix/p-fb55854a.entry.js.map +0 -1
  1359. package/dist/types/components/form-field/form-field.d.ts +0 -10
  1360. /package/dist/siemens-ix/{p-1cc910b7.entry.js.map → p-0bed10af.entry.js.map} +0 -0
  1361. /package/dist/siemens-ix/{p-5d582c48.entry.js.map → p-0d907964.entry.js.map} +0 -0
  1362. /package/dist/siemens-ix/{p-b7a8f2d5.entry.js.map → p-0dfc3b80.entry.js.map} +0 -0
  1363. /package/dist/siemens-ix/{p-ced10144.js.map → p-224ebf90.js.map} +0 -0
  1364. /package/dist/siemens-ix/{p-418959d3.entry.js.map → p-293dd6d1.entry.js.map} +0 -0
  1365. /package/dist/siemens-ix/{p-114bb49b.entry.js.map → p-35fa9e1a.entry.js.map} +0 -0
  1366. /package/dist/siemens-ix/{p-890d74cd.entry.js.map → p-399bb0ce.entry.js.map} +0 -0
  1367. /package/dist/siemens-ix/{p-a35d02ea.entry.js.map → p-50cae62d.entry.js.map} +0 -0
  1368. /package/dist/siemens-ix/{p-c3939d35.entry.js.map → p-53e62b51.entry.js.map} +0 -0
  1369. /package/dist/siemens-ix/{p-56bbdae4.entry.js.map → p-5bf40a9f.entry.js.map} +0 -0
  1370. /package/dist/siemens-ix/{p-01a8adf1.entry.js.map → p-628c8612.entry.js.map} +0 -0
  1371. /package/dist/siemens-ix/{p-a6fbea5b.entry.js.map → p-815dd9a1.entry.js.map} +0 -0
  1372. /package/dist/siemens-ix/{p-2637665e.entry.js.map → p-87d7aaf9.entry.js.map} +0 -0
  1373. /package/dist/siemens-ix/{p-f2a81e70.entry.js.map → p-8dcf30ce.entry.js.map} +0 -0
  1374. /package/dist/siemens-ix/{p-30e8a26a.entry.js.map → p-8e10d2f2.entry.js.map} +0 -0
  1375. /package/dist/siemens-ix/{p-52bb526e.entry.js.map → p-a9b0c087.entry.js.map} +0 -0
  1376. /package/dist/siemens-ix/{p-a8838a77.js.map → p-bc1e92ac.js.map} +0 -0
  1377. /package/dist/siemens-ix/{p-4fd11865.entry.js.map → p-c3db120e.entry.js.map} +0 -0
  1378. /package/dist/siemens-ix/{p-ccf1bd22.entry.js.map → p-c66e4a5f.entry.js.map} +0 -0
  1379. /package/dist/siemens-ix/{p-9dc3e182.entry.js.map → p-e72dfb3c.entry.js.map} +0 -0
  1380. /package/dist/siemens-ix/{p-8362e966.js.map → p-ed991838.js.map} +0 -0
  1381. /package/dist/siemens-ix/{p-678d821f.entry.js.map → p-ef6171a2.entry.js.map} +0 -0
  1382. /package/dist/siemens-ix/{p-b32c2183.entry.js.map → p-f3c3366d.entry.js.map} +0 -0
@@ -0,0 +1,2 @@
1
+ import{r as o,c as e,h as t,H as n,g as r}from"./p-f86a894a.js";const i=':host{display:inline-block;position:relative;height:2rem;max-height:2rem;margin-left:0.25rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host(.inactive){pointer-events:none}.container{display:inline-flex;width:inherit;box-sizing:border-box;position:relative;align-items:center;border-radius:100px;padding:0.5rem;height:2rem;max-height:2rem;cursor:pointer}.container .with-icon{margin-right:0.25rem}.container .hidden{display:none;width:0;margin-right:0}.container .close-button-container{display:inline-flex;margin-left:auto;padding-left:0.5rem}.container .slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.container.outline.icon{padding-left:calc(0.75rem - 1px)}.container.outline:not(.icon){padding-left:calc(0.5rem - 1px)}.container.outline.closable:not(.inactive){padding-right:calc(0.25rem - 1px)}.container.outline.closable.inactive,.container.outline:not(.closable){padding-right:calc(0.5rem - 1px)}.container.outline.icon:not(.closable){padding-right:calc(0.75rem - 1px)}.container:not(.outline).icon{padding-left:0.75rem}.container:not(.outline):not(.icon){padding-left:0.5rem}.container:not(.outline).closable:not(.inactive){padding-right:0.25rem}.container:not(.outline).closable.inactive{padding-right:0.5rem}.container:not(.outline):not(.closable).icon{padding-right:0.75rem}.container:not(.outline):not(.closable):not(.icon){padding-right:0.5rem}.container.primary{background-color:var(--theme-color-primary);color:var(--theme-chip-primary--color)}.container.primary .close-button{color:var(--theme-chip-primary--color);--ix-icon-button-color:var(--theme-chip-primary--color);pointer-events:auto}.container.primary:hover{background-color:var(--theme-chip-primary--background--hover)}.container.primary:active{background-color:var(--theme-chip-primary--background--active)}.container.primary:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}.container.primary.outline{color:var(--theme-chip-primary-outline--color);background-color:transparent;border:solid 1px var(--theme-chip-primary-outline--border-color)}.container.primary.outline .close-button{color:var(--theme-chip-primary-outline--color);--ix-icon-button-color:var(--theme-chip-primary-outline--color)}.container.primary.outline:hover{background-color:var(--theme-chip-primary-outline--background--hover)}.container.primary.outline:active{background-color:var(--theme-chip-primary-outline--background--active)}.container.outline{border-width:1px;border-style:solid}.container.alarm{color:var(--theme-color-alarm--contrast)}.container.alarm:hover::after{content:"";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}.container.alarm.active::after,.container.alarm:active::after{content:"";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}.container.alarm:not(.outline){background-color:var(--theme-color-alarm)}.container.alarm:not(.outline) .close-button{color:var(--theme-color-alarm--contrast);--ix-icon-button-color:var(--theme-color-alarm--contrast)}.container.alarm:not(.outline):hover::after{content:"";background-color:rgba(0, 0, 0, 0.05)}.container.alarm:not(.outline).active::after,.container.alarm:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}.container.alarm.outline{color:var(--theme-chip-outline--color);border-color:var(--theme-color-alarm)}.container.alarm.outline:hover::after{display:none}.container.alarm.outline:hover{background-color:var(--theme-chip-outline--background--hover)}.container.alarm.outline.active::after,.container.alarm.outline:active::after{display:none}.container.alarm.outline.active,.container.alarm.outline:active{background-color:var(--theme-chip-outline--background--active)}.container.alarm:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}.container.critical{color:var(--theme-color-critical--contrast)}.container.critical:hover::after{content:"";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}.container.critical.active::after,.container.critical:active::after{content:"";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}.container.critical:not(.outline){background-color:var(--theme-color-critical)}.container.critical:not(.outline) .close-button{color:var(--theme-color-critical--contrast);--ix-icon-button-color:var(--theme-color-critical--contrast)}.container.critical:not(.outline):hover::after{content:"";background-color:rgba(0, 0, 0, 0.05)}.container.critical:not(.outline).active::after,.container.critical:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}.container.critical.outline{color:var(--theme-chip-outline--color);border-color:var(--theme-color-critical)}.container.critical.outline:hover::after{display:none}.container.critical.outline:hover{background-color:var(--theme-chip-outline--background--hover)}.container.critical.outline.active::after,.container.critical.outline:active::after{display:none}.container.critical.outline.active,.container.critical.outline:active{background-color:var(--theme-chip-outline--background--active)}.container.critical:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}.container.warning{color:var(--theme-color-warning--contrast)}.container.warning:hover::after{content:"";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}.container.warning.active::after,.container.warning:active::after{content:"";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}.container.warning:not(.outline){background-color:var(--theme-color-warning)}.container.warning:not(.outline) .close-button{color:var(--theme-color-warning--contrast);--ix-icon-button-color:var(--theme-color-warning--contrast)}.container.warning:not(.outline):hover::after{content:"";background-color:rgba(0, 0, 0, 0.05)}.container.warning:not(.outline).active::after,.container.warning:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}.container.warning.outline{color:var(--theme-chip-outline--color);border-color:var(--theme-color-warning)}.container.warning.outline:hover::after{display:none}.container.warning.outline:hover{background-color:var(--theme-chip-outline--background--hover)}.container.warning.outline.active::after,.container.warning.outline:active::after{display:none}.container.warning.outline.active,.container.warning.outline:active{background-color:var(--theme-chip-outline--background--active)}.container.warning:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}.container.info{color:var(--theme-color-info--contrast)}.container.info:hover::after{content:"";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}.container.info.active::after,.container.info:active::after{content:"";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}.container.info:not(.outline){background-color:var(--theme-color-info)}.container.info:not(.outline) .close-button{color:var(--theme-color-info--contrast);--ix-icon-button-color:var(--theme-color-info--contrast)}.container.info:not(.outline):hover::after{content:"";background-color:rgba(0, 0, 0, 0.05)}.container.info:not(.outline).active::after,.container.info:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}.container.info.outline{color:var(--theme-chip-outline--color);border-color:var(--theme-color-info)}.container.info.outline:hover::after{display:none}.container.info.outline:hover{background-color:var(--theme-chip-outline--background--hover)}.container.info.outline.active::after,.container.info.outline:active::after{display:none}.container.info.outline.active,.container.info.outline:active{background-color:var(--theme-chip-outline--background--active)}.container.info:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}.container.neutral{color:var(--theme-color-neutral--contrast)}.container.neutral:hover::after{content:"";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}.container.neutral.active::after,.container.neutral:active::after{content:"";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}.container.neutral:not(.outline){background-color:var(--theme-color-neutral)}.container.neutral:not(.outline) .close-button{color:var(--theme-color-neutral--contrast);--ix-icon-button-color:var(--theme-color-neutral--contrast)}.container.neutral:not(.outline):hover::after{content:"";background-color:rgba(0, 0, 0, 0.05)}.container.neutral:not(.outline).active::after,.container.neutral:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}.container.neutral.outline{color:var(--theme-chip-outline--color);border-color:var(--theme-color-neutral)}.container.neutral.outline:hover::after{display:none}.container.neutral.outline:hover{background-color:var(--theme-chip-outline--background--hover)}.container.neutral.outline.active::after,.container.neutral.outline:active::after{display:none}.container.neutral.outline.active,.container.neutral.outline:active{background-color:var(--theme-chip-outline--background--active)}.container.neutral:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}.container.success{color:var(--theme-color-success--contrast)}.container.success:hover::after{content:"";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}.container.success.active::after,.container.success:active::after{content:"";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}.container.success:not(.outline){background-color:var(--theme-color-success)}.container.success:not(.outline) .close-button{color:var(--theme-color-success--contrast);--ix-icon-button-color:var(--theme-color-success--contrast)}.container.success:not(.outline):hover::after{content:"";background-color:rgba(0, 0, 0, 0.05)}.container.success:not(.outline).active::after,.container.success:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}.container.success.outline{color:var(--theme-chip-outline--color);border-color:var(--theme-color-success)}.container.success.outline:hover::after{display:none}.container.success.outline:hover{background-color:var(--theme-chip-outline--background--hover)}.container.success.outline.active::after,.container.success.outline:active::after{display:none}.container.success.outline.active,.container.success.outline:active{background-color:var(--theme-chip-outline--background--active)}.container.success:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}';const a=i;const c=class{constructor(t){o(this,t);this.closeChip=e(this,"closeChip",7);this.variant="primary";this.active=true;this.closable=false;this.icon=undefined;this.background=undefined;this.color=undefined;this.chipColor=undefined;this.outline=false}getCloseButton(){var o;return t("div",{class:"close-button-container"},t("ix-icon-button",{type:"button",variant:"secondary",icon:"close-small",class:"close-button",oval:true,size:"16",style:this.variant==="custom"?{color:(o=this.chipColor)!==null&&o!==void 0?o:this.color}:{},ghost:true,onClick:o=>{this.closeChip.emit(o);o.stopPropagation()}}))}render(){var o,e;const r=this.active===false;let i={};if(this.variant==="custom"){i={color:(o=this.chipColor)!==null&&o!==void 0?o:this.color,[this.outline?"borderColor":"backgroundColor"]:this.background}}return t(n,{key:"1e6668db5698108671872240cae019c50e8903ea",tabIndex:"-1",title:this.el.textContent,style:this.variant==="custom"?{"--ix-icon-button-color":(e=this.chipColor)!==null&&e!==void 0?e:this.color}:{}},t("div",{key:"7d1533fb6dfdaf15733897e9742c02022505896a",style:Object.assign({},i),class:{container:true,outline:this.outline,inactive:r,alarm:this.variant==="alarm",critical:this.variant==="critical",info:this.variant==="info",neutral:this.variant==="neutral",primary:this.variant==="primary",success:this.variant==="success",warning:this.variant==="warning",custom:this.variant==="custom",closable:this.closable,icon:!!this.icon}},t("ix-icon",{key:"012939f0b16b4c0ff00590cb6e503c6a42d79771",class:{"with-icon":true,hidden:!this.icon},name:this.icon,size:"24"}),t("span",{key:"fa5866074c8ce5bfbceb8afca799a2a7953c2bf6",class:"slot-container"},t("slot",{key:"848661158f74d1479437d905fb1e6f2a742b70b6"})),r===false&&this.closable?this.getCloseButton():null))}get el(){return r(this)}};c.style=a;export{c as ix_chip};
2
+ //# sourceMappingURL=p-5924a783.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["chipCss","IxChipStyle0","Chip","getCloseButton","h","class","type","variant","icon","oval","size","style","this","color","_a","chipColor","ghost","onClick","event","closeChip","emit","stopPropagation","render","isInactive","active","customStyle","outline","background","Host","key","tabIndex","title","el","textContent","_b","Object","assign","container","inactive","alarm","critical","info","neutral","primary","success","warning","custom","closable","hidden","name"],"sources":["src/components/chip/chip.scss?tag=ix-chip&encapsulation=shadow","src/components/chip/chip.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@import 'mixins/shadow-dom/component';\n@import 'common-variables';\n@import 'mixins/text-truncation';\n@import './chip-mixin';\n\n:host {\n @include ix-component;\n display: inline-block;\n position: relative;\n height: 2rem;\n max-height: 2rem;\n margin-left: $tiny-space;\n}\n\n:host(.inactive) {\n pointer-events: none;\n}\n\n@include chip-container;\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'ix-chip',\n styleUrl: 'chip.scss',\n shadow: true,\n})\nexport class Chip {\n @Element() el: HTMLIxChipElement;\n\n /**\n * Chip variant\n */\n @Prop({ reflect: true }) variant:\n | 'primary'\n | 'alarm'\n | 'critical'\n | 'warning'\n | 'info'\n | 'neutral'\n | 'success'\n | 'custom' = 'primary';\n\n /**\n * Determines if the chip is interactive. If false no user input (e.g. mouse states, keyboard navigation)\n * will be possible and also the close button will not be present.\n */\n @Prop() active = true;\n\n /**\n * Show close icon\n */\n @Prop() closable = false;\n\n /**\n * Show icon\n */\n @Prop() icon: string;\n\n /**\n * Custom background color.\n * Only has an effect on chips with `variant='custom'`\n */\n @Prop() background: string | undefined;\n\n /**\n * Custom font and icon color.\n * Only has an effect on chips with `variant='custom'`\n *\n * @deprecated since 2.1.0 use `chip-color`\n */\n // eslint-disable-next-line @stencil-community/reserved-member-names\n @Prop() color: string | undefined;\n\n /**\n * Custom font and icon color.\n * Only has an effect on chips with `variant='custom'`\n */\n @Prop() chipColor: string | undefined;\n\n /**\n * Show chip with outline style\n */\n @Prop() outline = false;\n\n /**\n * Fire event if close button is clicked\n *\n * @since 1.5.0\n */\n @Event() closeChip: EventEmitter;\n\n private getCloseButton() {\n return (\n <div class=\"close-button-container\">\n <ix-icon-button\n type=\"button\"\n variant=\"secondary\"\n icon={'close-small'}\n class=\"close-button\"\n oval\n size=\"16\"\n style={\n this.variant === 'custom'\n ? { color: this.chipColor ?? this.color }\n : {}\n }\n ghost\n onClick={(event) => {\n this.closeChip.emit(event);\n event.stopPropagation();\n }}\n ></ix-icon-button>\n </div>\n );\n }\n\n render() {\n const isInactive = this.active === false;\n\n let customStyle = {};\n\n if (this.variant === 'custom') {\n customStyle = {\n color: this.chipColor ?? this.color,\n [this.outline ? 'borderColor' : 'backgroundColor']: this.background,\n };\n }\n\n return (\n <Host\n tabIndex=\"-1\"\n title={this.el.textContent}\n style={\n this.variant === 'custom'\n ? {\n '--ix-icon-button-color': this.chipColor ?? this.color,\n }\n : {}\n }\n >\n <div\n style={{ ...customStyle }}\n class={{\n container: true,\n outline: this.outline,\n inactive: isInactive,\n alarm: this.variant === 'alarm',\n critical: this.variant === 'critical',\n info: this.variant === 'info',\n neutral: this.variant === 'neutral',\n primary: this.variant === 'primary',\n success: this.variant === 'success',\n warning: this.variant === 'warning',\n custom: this.variant === 'custom',\n closable: this.closable,\n icon: !!this.icon,\n }}\n >\n <ix-icon\n class={{\n 'with-icon': true,\n hidden: !this.icon,\n }}\n name={this.icon}\n size={'24'}\n />\n <span class=\"slot-container\">\n <slot></slot>\n </span>\n {isInactive === false && this.closable ? this.getCloseButton() : null}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"gEAAA,MAAMA,EAAU,8lWAChB,MAAAC,EAAeD,E,MCuBFE,EAAI,M,2EAcA,U,YAME,K,cAKE,M,yGA+BD,K,CASV,cAAAC,G,MACN,OACEC,EAAA,OAAKC,MAAM,0BACTD,EAAA,kBACEE,KAAK,SACLC,QAAQ,YACRC,KAAM,cACNH,MAAM,eACNI,KAAI,KACJC,KAAK,KACLC,MACEC,KAAKL,UAAY,SACb,CAAEM,OAAOC,EAAAF,KAAKG,aAAS,MAAAD,SAAA,EAAAA,EAAIF,KAAKC,OAChC,GAENG,MAAK,KACLC,QAAUC,IACRN,KAAKO,UAAUC,KAAKF,GACpBA,EAAMG,iBAAiB,I,CAOjC,MAAAC,G,QACE,MAAMC,EAAaX,KAAKY,SAAW,MAEnC,IAAIC,EAAc,GAElB,GAAIb,KAAKL,UAAY,SAAU,CAC7BkB,EAAc,CACZZ,OAAOC,EAAAF,KAAKG,aAAS,MAAAD,SAAA,EAAAA,EAAIF,KAAKC,MAC9B,CAACD,KAAKc,QAAU,cAAgB,mBAAoBd,KAAKe,W,CAI7D,OACEvB,EAACwB,EAAI,CAAAC,IAAA,2CACHC,SAAS,KACTC,MAAOnB,KAAKoB,GAAGC,YACftB,MACEC,KAAKL,UAAY,SACb,CACE,0BAA0B2B,EAAAtB,KAAKG,aAAS,MAAAmB,SAAA,EAAAA,EAAItB,KAAKC,OAEnD,IAGNT,EAAA,OAAAyB,IAAA,2CACElB,MAAKwB,OAAAC,OAAA,GAAOX,GACZpB,MAAO,CACLgC,UAAW,KACXX,QAASd,KAAKc,QACdY,SAAUf,EACVgB,MAAO3B,KAAKL,UAAY,QACxBiC,SAAU5B,KAAKL,UAAY,WAC3BkC,KAAM7B,KAAKL,UAAY,OACvBmC,QAAS9B,KAAKL,UAAY,UAC1BoC,QAAS/B,KAAKL,UAAY,UAC1BqC,QAAShC,KAAKL,UAAY,UAC1BsC,QAASjC,KAAKL,UAAY,UAC1BuC,OAAQlC,KAAKL,UAAY,SACzBwC,SAAUnC,KAAKmC,SACfvC,OAAQI,KAAKJ,OAGfJ,EAAA,WAAAyB,IAAA,2CACExB,MAAO,CACL,YAAa,KACb2C,QAASpC,KAAKJ,MAEhByC,KAAMrC,KAAKJ,KACXE,KAAM,OAERN,EAAA,QAAAyB,IAAA,2CAAMxB,MAAM,kBACVD,EAAA,QAAAyB,IAAA,8CAEDN,IAAe,OAASX,KAAKmC,SAAWnC,KAAKT,iBAAmB,M"}
1
+ {"version":3,"names":["chipCss","IxChipStyle0","Chip","getCloseButton","h","class","type","variant","icon","oval","size","style","this","color","_a","chipColor","ghost","onClick","event","closeChip","emit","stopPropagation","render","isInactive","active","customStyle","outline","background","Host","key","tabIndex","title","el","textContent","_b","Object","assign","container","inactive","alarm","critical","info","neutral","primary","success","warning","custom","closable","hidden","name"],"sources":["src/components/chip/chip.scss?tag=ix-chip&encapsulation=shadow","src/components/chip/chip.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@import 'mixins/shadow-dom/component';\n@import 'common-variables';\n@import 'mixins/text-truncation';\n@import './chip-mixin';\n\n:host {\n @include ix-component;\n display: inline-block;\n position: relative;\n height: 2rem;\n max-height: 2rem;\n margin-left: $tiny-space;\n}\n\n:host(.inactive) {\n pointer-events: none;\n}\n\n@include chip-container;\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'ix-chip',\n styleUrl: 'chip.scss',\n shadow: true,\n})\nexport class Chip {\n @Element() el: HTMLIxChipElement;\n\n /**\n * Chip variant\n */\n @Prop({ reflect: true }) variant:\n | 'primary'\n | 'alarm'\n | 'critical'\n | 'warning'\n | 'info'\n | 'neutral'\n | 'success'\n | 'custom' = 'primary';\n\n /**\n * Determines if the chip is interactive. If false no user input (e.g. mouse states, keyboard navigation)\n * will be possible and also the close button will not be present.\n */\n @Prop() active = true;\n\n /**\n * Show close icon\n */\n @Prop() closable = false;\n\n /**\n * Show icon\n */\n @Prop() icon: string;\n\n /**\n * Custom background color.\n * Only has an effect on chips with `variant='custom'`\n */\n @Prop() background: string | undefined;\n\n /**\n * Custom font and icon color.\n * Only has an effect on chips with `variant='custom'`\n *\n * @deprecated since 2.1.0 use `chip-color`\n */\n // eslint-disable-next-line @stencil-community/reserved-member-names\n @Prop() color: string | undefined;\n\n /**\n * Custom font and icon color.\n * Only has an effect on chips with `variant='custom'`\n */\n @Prop() chipColor: string | undefined;\n\n /**\n * Show chip with outline style\n */\n @Prop() outline = false;\n\n /**\n * Fire event if close button is clicked\n *\n * @since 1.5.0\n */\n @Event() closeChip: EventEmitter;\n\n private getCloseButton() {\n return (\n <div class=\"close-button-container\">\n <ix-icon-button\n type=\"button\"\n variant=\"secondary\"\n icon={'close-small'}\n class=\"close-button\"\n oval\n size=\"16\"\n style={\n this.variant === 'custom'\n ? { color: this.chipColor ?? this.color }\n : {}\n }\n ghost\n onClick={(event) => {\n this.closeChip.emit(event);\n event.stopPropagation();\n }}\n ></ix-icon-button>\n </div>\n );\n }\n\n render() {\n const isInactive = this.active === false;\n\n let customStyle = {};\n\n if (this.variant === 'custom') {\n customStyle = {\n color: this.chipColor ?? this.color,\n [this.outline ? 'borderColor' : 'backgroundColor']: this.background,\n };\n }\n\n return (\n <Host\n tabIndex=\"-1\"\n title={this.el.textContent}\n style={\n this.variant === 'custom'\n ? {\n '--ix-icon-button-color': this.chipColor ?? this.color,\n }\n : {}\n }\n >\n <div\n style={{ ...customStyle }}\n class={{\n container: true,\n outline: this.outline,\n inactive: isInactive,\n alarm: this.variant === 'alarm',\n critical: this.variant === 'critical',\n info: this.variant === 'info',\n neutral: this.variant === 'neutral',\n primary: this.variant === 'primary',\n success: this.variant === 'success',\n warning: this.variant === 'warning',\n custom: this.variant === 'custom',\n closable: this.closable,\n icon: !!this.icon,\n }}\n >\n <ix-icon\n class={{\n 'with-icon': true,\n hidden: !this.icon,\n }}\n name={this.icon}\n size={'24'}\n />\n <span class=\"slot-container\">\n <slot></slot>\n </span>\n {isInactive === false && this.closable ? this.getCloseButton() : null}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"gEAAA,MAAMA,EAAU,m4XAChB,MAAAC,EAAeD,E,MCuBFE,EAAI,M,2EAcA,U,YAME,K,cAKE,M,yGA+BD,K,CASV,cAAAC,G,MACN,OACEC,EAAA,OAAKC,MAAM,0BACTD,EAAA,kBACEE,KAAK,SACLC,QAAQ,YACRC,KAAM,cACNH,MAAM,eACNI,KAAI,KACJC,KAAK,KACLC,MACEC,KAAKL,UAAY,SACb,CAAEM,OAAOC,EAAAF,KAAKG,aAAS,MAAAD,SAAA,EAAAA,EAAIF,KAAKC,OAChC,GAENG,MAAK,KACLC,QAAUC,IACRN,KAAKO,UAAUC,KAAKF,GACpBA,EAAMG,iBAAiB,I,CAOjC,MAAAC,G,QACE,MAAMC,EAAaX,KAAKY,SAAW,MAEnC,IAAIC,EAAc,GAElB,GAAIb,KAAKL,UAAY,SAAU,CAC7BkB,EAAc,CACZZ,OAAOC,EAAAF,KAAKG,aAAS,MAAAD,SAAA,EAAAA,EAAIF,KAAKC,MAC9B,CAACD,KAAKc,QAAU,cAAgB,mBAAoBd,KAAKe,W,CAI7D,OACEvB,EAACwB,EAAI,CAAAC,IAAA,2CACHC,SAAS,KACTC,MAAOnB,KAAKoB,GAAGC,YACftB,MACEC,KAAKL,UAAY,SACb,CACE,0BAA0B2B,EAAAtB,KAAKG,aAAS,MAAAmB,SAAA,EAAAA,EAAItB,KAAKC,OAEnD,IAGNT,EAAA,OAAAyB,IAAA,2CACElB,MAAKwB,OAAAC,OAAA,GAAOX,GACZpB,MAAO,CACLgC,UAAW,KACXX,QAASd,KAAKc,QACdY,SAAUf,EACVgB,MAAO3B,KAAKL,UAAY,QACxBiC,SAAU5B,KAAKL,UAAY,WAC3BkC,KAAM7B,KAAKL,UAAY,OACvBmC,QAAS9B,KAAKL,UAAY,UAC1BoC,QAAS/B,KAAKL,UAAY,UAC1BqC,QAAShC,KAAKL,UAAY,UAC1BsC,QAASjC,KAAKL,UAAY,UAC1BuC,OAAQlC,KAAKL,UAAY,SACzBwC,SAAUnC,KAAKmC,SACfvC,OAAQI,KAAKJ,OAGfJ,EAAA,WAAAyB,IAAA,2CACExB,MAAO,CACL,YAAa,KACb2C,QAASpC,KAAKJ,MAEhByC,KAAMrC,KAAKJ,KACXE,KAAM,OAERN,EAAA,QAAAyB,IAAA,2CAAMxB,MAAM,kBACVD,EAAA,QAAAyB,IAAA,8CAEDN,IAAe,OAASX,KAAKmC,SAAWnC,KAAKT,iBAAmB,M"}
@@ -0,0 +1,2 @@
1
+ import{r as e,c as t,h as o,F as r,H as h,g as i}from"./p-f86a894a.js";import{a as c}from"./p-36c0f378.js";const a=':host{display:inline-flex;position:relative;height:2rem;justify-content:flex-start;align-items:center;margin-right:0.25rem;cursor:pointer}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .switch{position:relative;display:inline-block;width:3rem;min-width:3rem;max-width:3rem;height:1.5rem;margin-right:0.25rem}:host .switch input{opacity:0;width:0;height:0}:host .slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--theme-switch-off--background);transition:var(--theme-default-time);border-radius:1.5rem;border:1px solid transparent}:host .slider:before{position:absolute;content:"";height:1.125rem;width:1.125rem;left:4px;bottom:2px;background-color:var(--theme-switch-thumb-off--background);transition:var(--theme-default-time);border-radius:50%}:host input{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}:host input:focus-visible+.switch>.slider{outline:1px solid var(--theme-color-focus-bdr);outline-offset:1px}:host input:checked+.switch>.slider{background-color:var(--theme-switch-on--background)}:host input:checked+.switch>.slider::before{background-color:var(--theme-switch-thumb-on--background);transform:translateX(1.35rem)}:host input+.switch>.slider{border-color:var(--theme-switch-off--border-color)}:host input+.switch:hover>.slider{background-color:var(--theme-switch-off--background--hover);border-color:var(--theme-switch-off--border-color--hover)}:host input+.switch:hover>.slider:before{background-color:var(--theme-switch-thumb-off--background--hover)}:host input+.switch:active>.slider{background-color:var(--theme-switch-off--background--active);border-color:var(--theme-switch-off--border-color--active)}:host input+.switch:active>.slider:before{background-color:var(--theme-switch-thumb-off--background--active)}:host input:checked+.switch>.slider{border-color:var(--theme-switch-on--border-color)}:host input:checked+.switch:hover>.slider{background-color:var(--theme-switch-on--background--hover);border-color:var(--theme-switch-on--border-color--hover)}:host input:checked+.switch:hover>.slider:before{background-color:var(--theme-switch-thumb-on--background--hover)}:host input:checked+.switch:active>.slider{background-color:var(--theme-switch-on--background--active);border-color:var(--theme-switch-on--border-color--active)}:host input:checked+.switch:active>.slider:before{background-color:var(--theme-switch-thumb-on--background--active)}:host input:indeterminate+.switch>.slider::before{transform:translateX(0.7rem)}:host .toggle-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host(.disabled){pointer-events:none}:host(.disabled) input+.switch{opacity:0.5}:host(.disabled) input+.switch>.slider{background-color:var(--theme-switch-off--background--disabled)}:host(.disabled) input+.switch>.slider:before{background-color:var(--theme-switch-thumb-off--background--disabled)}:host(.disabled) input:checked+.switch>.slider{background-color:var(--theme-switch-on--background--disabled)}:host(.disabled) input:checked+.switch>.slider:before{background-color:var(--theme-switch-thumb-on--background--disabled)}:host(.disabled) .toggle-text{color:var(--theme-color-weak-text)}:host(.ix-info:not(.disabled)) .slider{--theme-switch-off--background:var(--theme-switch-off--background--info);--theme-switch-off--background--hover:var(--theme-switch-off--background--info--hover);--theme-switch-off--background--active:var(--theme-switch-off--background--info--active);--theme-switch-thumb-off--background:var(--theme-switch-thumb-off--background--info);--theme-switch-thumb-off--background--hover:var(--theme-switch-thumb-off--background--info--hover);--theme-switch-thumb-off--background--active:var(--theme-switch-thumb-off--background--info--active);--theme-switch-off--border-color:var(--theme-switch-off--border-color--info);--theme-switch-off--border-color--hover:var(--theme-switch-off--border-color--info--hover);--theme-switch-off--border-color--active:var(--theme-switch-off--border-color--info--active);--theme-switch-on--background:var(--theme-switch-on--background--info);--theme-switch-on--background--hover:var(--theme-switch-on--background--info--hover);--theme-switch-on--background--active:var(--theme-switch-on--background--info--active);--theme-switch-thumb-on--background:var(--theme-switch-thumb-on--background--info);--theme-switch-thumb-on--background--hover:var(--theme-switch-thumb-on--background--info--hover);--theme-switch-thumb-on--background--active:var(--theme-switch-thumb-on--background--info--active);--theme-switch-on--border-color:var(--theme-switch-on--border-color--info);--theme-switch-on--border-color--hover:var(--theme-switch-on--border-color--info--hover);--theme-switch-on--border-color--active:var(--theme-switch-on--border-color--info--active);--theme-switch-mixed--background:var(--theme-switch-mixed--background--info);--theme-switch-mixed--background--hover:var(--theme-switch-mixed--background--info--hover);--theme-switch-mixed--background--active:var(--theme-switch-mixed--background--info--active);--theme-switch-thumb-mixed--background:var(--theme-switch-thumb-mixed--background--info);--theme-switch-thumb-mixed--background--hover:var(--theme-switch-thumb-mixed--background--info--hover);--theme-switch-thumb-mixed--background--active:var(--theme-switch-thumb-mixed--background--info--active);--theme-switch-mixed--border-color:var(--theme-switch-mixed--border-color--info);--theme-switch-mixed--border-color--hover:var(--theme-switch-mixed--border-color--info--hover);--theme-switch-mixed--border-color--active:var(--theme-switch-mixed--border-color--info--active)}:host(.ix-warning:not(.disabled)) .slider{--theme-switch-off--background:var(--theme-switch-off--background--warning);--theme-switch-off--background--hover:var(--theme-switch-off--background--warning--hover);--theme-switch-off--background--active:var(--theme-switch-off--background--warning--active);--theme-switch-thumb-off--background:var(--theme-switch-thumb-off--background--warning);--theme-switch-thumb-off--background--hover:var(--theme-switch-thumb-off--background--warning--hover);--theme-switch-thumb-off--background--active:var(--theme-switch-thumb-off--background--warning--active);--theme-switch-off--border-color:var(--theme-switch-off--border-color--warning);--theme-switch-off--border-color--hover:var(--theme-switch-off--border-color--warning--hover);--theme-switch-off--border-color--active:var(--theme-switch-off--border-color--warning--active);--theme-switch-on--background:var(--theme-switch-on--background--warning);--theme-switch-on--background--hover:var(--theme-switch-on--background--warning--hover);--theme-switch-on--background--active:var(--theme-switch-on--background--warning--active);--theme-switch-thumb-on--background:var(--theme-switch-thumb-on--background--warning);--theme-switch-thumb-on--background--hover:var(--theme-switch-thumb-on--background--warning--hover);--theme-switch-thumb-on--background--active:var(--theme-switch-thumb-on--background--warning--active);--theme-switch-on--border-color:var(--theme-switch-on--border-color--warning);--theme-switch-on--border-color--hover:var(--theme-switch-on--border-color--warning--hover);--theme-switch-on--border-color--active:var(--theme-switch-on--border-color--warning--active);--theme-switch-mixed--background:var(--theme-switch-mixed--background--warning);--theme-switch-mixed--background--hover:var(--theme-switch-mixed--background--warning--hover);--theme-switch-mixed--background--active:var(--theme-switch-mixed--background--warning--active);--theme-switch-thumb-mixed--background:var(--theme-switch-thumb-mixed--background--warning);--theme-switch-thumb-mixed--background--hover:var(--theme-switch-thumb-mixed--background--warning--hover);--theme-switch-thumb-mixed--background--active:var(--theme-switch-thumb-mixed--background--warning--active);--theme-switch-mixed--border-color:var(--theme-switch-mixed--border-color--warning);--theme-switch-mixed--border-color--hover:var(--theme-switch-mixed--border-color--warning--hover);--theme-switch-mixed--border-color--active:var(--theme-switch-mixed--border-color--warning--active)}:host(.ix-invalid--required:not(.disabled)) .slider{--theme-switch-off--background:var(--theme-switch-off--background--invalid);--theme-switch-off--background--hover:var(--theme-switch-off--background--invalid--hover);--theme-switch-off--background--active:var(--theme-switch-off--background--invalid--active);--theme-switch-thumb-off--background:var(--theme-switch-thumb-off--background--invalid);--theme-switch-thumb-off--background--hover:var(--theme-switch-thumb-off--background--invalid--hover);--theme-switch-thumb-off--background--active:var(--theme-switch-thumb-off--background--invalid--active);--theme-switch-off--border-color:var(--theme-switch-off--border-color--invalid);--theme-switch-off--border-color--hover:var(--theme-switch-off--border-color--invalid--hover);--theme-switch-off--border-color--active:var(--theme-switch-off--border-color--invalid--active);--theme-switch-on--background:var(--theme-switch-on--background--invalid);--theme-switch-on--background--hover:var(--theme-switch-on--background--invalid--hover);--theme-switch-on--background--active:var(--theme-switch-on--background--invalid--active);--theme-switch-thumb-on--background:var(--theme-switch-thumb-on--background--invalid);--theme-switch-thumb-on--background--hover:var(--theme-switch-thumb-on--background--invalid--hover);--theme-switch-thumb-on--background--active:var(--theme-switch-thumb-on--background--invalid--active);--theme-switch-on--border-color:var(--theme-switch-on--border-color--invalid);--theme-switch-on--border-color--hover:var(--theme-switch-on--border-color--invalid--hover);--theme-switch-on--border-color--active:var(--theme-switch-on--border-color--invalid--active);--theme-switch-mixed--background:var(--theme-switch-mixed--background--invalid);--theme-switch-mixed--background--hover:var(--theme-switch-mixed--background--invalid--hover);--theme-switch-mixed--background--active:var(--theme-switch-mixed--background--invalid--active);--theme-switch-thumb-mixed--background:var(--theme-switch-thumb-mixed--background--invalid);--theme-switch-thumb-mixed--background--hover:var(--theme-switch-thumb-mixed--background--invalid--hover);--theme-switch-thumb-mixed--background--active:var(--theme-switch-thumb-mixed--background--invalid--active);--theme-switch-mixed--border-color:var(--theme-switch-mixed--border-color--invalid);--theme-switch-mixed--border-color--hover:var(--theme-switch-mixed--border-color--invalid--hover);--theme-switch-mixed--border-color--active:var(--theme-switch-mixed--border-color--invalid--active)}:host(.ix-invalid:not(.disabled)) .slider{--theme-switch-off--background:var(--theme-switch-off--background--invalid);--theme-switch-off--background--hover:var(--theme-switch-off--background--invalid--hover);--theme-switch-off--background--active:var(--theme-switch-off--background--invalid--active);--theme-switch-thumb-off--background:var(--theme-switch-thumb-off--background--invalid);--theme-switch-thumb-off--background--hover:var(--theme-switch-thumb-off--background--invalid--hover);--theme-switch-thumb-off--background--active:var(--theme-switch-thumb-off--background--invalid--active);--theme-switch-off--border-color:var(--theme-switch-off--border-color--invalid);--theme-switch-off--border-color--hover:var(--theme-switch-off--border-color--invalid--hover);--theme-switch-off--border-color--active:var(--theme-switch-off--border-color--invalid--active);--theme-switch-on--background:var(--theme-switch-on--background--invalid);--theme-switch-on--background--hover:var(--theme-switch-on--background--invalid--hover);--theme-switch-on--background--active:var(--theme-switch-on--background--invalid--active);--theme-switch-thumb-on--background:var(--theme-switch-thumb-on--background--invalid);--theme-switch-thumb-on--background--hover:var(--theme-switch-thumb-on--background--invalid--hover);--theme-switch-thumb-on--background--active:var(--theme-switch-thumb-on--background--invalid--active);--theme-switch-on--border-color:var(--theme-switch-on--border-color--invalid);--theme-switch-on--border-color--hover:var(--theme-switch-on--border-color--invalid--hover);--theme-switch-on--border-color--active:var(--theme-switch-on--border-color--invalid--active);--theme-switch-mixed--background:var(--theme-switch-mixed--background--invalid);--theme-switch-mixed--background--hover:var(--theme-switch-mixed--background--invalid--hover);--theme-switch-mixed--background--active:var(--theme-switch-mixed--background--invalid--active);--theme-switch-thumb-mixed--background:var(--theme-switch-thumb-mixed--background--invalid);--theme-switch-thumb-mixed--background--hover:var(--theme-switch-thumb-mixed--background--invalid--hover);--theme-switch-thumb-mixed--background--active:var(--theme-switch-thumb-mixed--background--invalid--active);--theme-switch-mixed--border-color:var(--theme-switch-mixed--border-color--invalid);--theme-switch-mixed--border-color--hover:var(--theme-switch-mixed--border-color--invalid--hover);--theme-switch-mixed--border-color--active:var(--theme-switch-mixed--border-color--invalid--active)}';const d=a;const n=class{constructor(o){e(this,o);this.checkedChange=t(this,"checkedChange",7);this.valueChange=t(this,"valueChange",7);if(o.$hostElement$["s-ei"]){this.formInternals=o.$hostElement$["s-ei"]}else{this.formInternals=o.$hostElement$.attachInternals();o.$hostElement$["s-ei"]=this.formInternals}this.name=undefined;this.value="on";this.checked=false;this.disabled=false;this.indeterminate=false;this.textOn="On";this.textOff="Off";this.textIndeterminate="Mixed";this.hideText=false;this.required=false}onCheckedChange(e){if(this.indeterminate){this.indeterminate=false}this.checked=e;this.checkedChange.emit(this.checked)}componentWillLoad(){this.updateFormInternalValue()}updateFormInternalValue(){if(this.checked){this.formInternals.setFormValue(this.value)}else{this.formInternals.setFormValue(null)}}watchCheckedChange(){this.updateFormInternalValue()}hasValidValue(){return Promise.resolve(this.checked)}getAssociatedFormElement(){return Promise.resolve(this.formInternals.form)}render(){return o(h,{key:"0afa08e1803352f2bb3360c11fcda2745531e20d",class:{disabled:this.disabled},onClick:()=>this.onCheckedChange(!this.checked)},o("input",{key:"37ba0cf086ed01c01e61ff0bb24367759b537cd7",disabled:this.disabled,indeterminate:this.indeterminate,checked:this.checked,role:"switch",tabindex:0,type:"checkbox","aria-checked":c(this.checked),onChange:e=>this.onCheckedChange(e.target.checked)}),o("label",{key:"83d6712432de4b45396b11f7f21cf7072fd19fcd",class:"switch",tabIndex:-1},o("span",{key:"f3f91c36a2043f039813b43bbc6285d67239d050",class:"slider"})),!this.hideText?o(r,null,!this.indeterminate?o("span",{class:"toggle-text","aria-hidden":c(true)},this.checked?this.textOn:this.textOff):o("span",{class:"toggle-text","aria-hidden":c(true)},this.textIndeterminate)):null)}static get formAssociated(){return true}get hostElement(){return i(this)}static get watchers(){return{checked:["watchCheckedChange"]}}};n.style=d;export{n as ix_toggle};
2
+ //# sourceMappingURL=p-5a6d8b69.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["toggleCss","IxToggleStyle0","Toggle","onCheckedChange","newChecked","this","indeterminate","checked","checkedChange","emit","componentWillLoad","updateFormInternalValue","formInternals","setFormValue","value","watchCheckedChange","hasValidValue","Promise","resolve","getAssociatedFormElement","form","render","h","Host","key","class","disabled","onClick","role","tabindex","type","a11yBoolean","onChange","event","target","tabIndex","hideText","Fragment","textOn","textOff","textIndeterminate"],"sources":["src/components/toggle/toggle.scss?tag=ix-toggle&encapsulation=shadow","src/components/toggle/toggle.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'mixins/hover';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: inline-flex;\n position: relative;\n height: 2rem;\n justify-content: flex-start;\n align-items: center;\n margin-right: 0.25rem;\n\n cursor: pointer;\n\n .switch {\n position: relative;\n display: inline-block;\n width: 3rem;\n min-width: 3rem;\n max-width: 3rem;\n height: 1.5rem;\n margin-right: 0.25rem;\n }\n\n .switch input {\n opacity: 0;\n width: 0;\n height: 0;\n }\n\n .slider {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: var(--theme-switch-off--background);\n transition: var(--theme-default-time);\n border-radius: 1.5rem;\n border: 1px solid transparent;\n }\n\n .slider:before {\n position: absolute;\n content: '';\n height: 1.125rem;\n width: 1.125rem;\n left: 4px;\n bottom: 2px;\n background-color: var(--theme-switch-thumb-off--background);\n transition: var(--theme-default-time);\n border-radius: 50%;\n }\n\n input {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n }\n\n input:focus-visible + .switch > .slider {\n outline: 1px solid var(--theme-color-focus-bdr);\n outline-offset: 1px;\n }\n\n input:checked + .switch > .slider {\n background-color: var(--theme-switch-on--background);\n }\n\n input:checked + .switch > .slider::before {\n background-color: var(--theme-switch-thumb-on--background);\n transform: translateX(1.35rem);\n }\n\n // Toggle NOT checked\n input + .switch > .slider {\n border-color: var(--theme-switch-off--border-color);\n }\n\n input + .switch:hover > .slider {\n background-color: var(--theme-switch-off--background--hover);\n border-color: var(--theme-switch-off--border-color--hover);\n }\n\n input + .switch:hover > .slider:before {\n background-color: var(--theme-switch-thumb-off--background--hover);\n }\n\n input + .switch:active > .slider {\n background-color: var(--theme-switch-off--background--active);\n border-color: var(--theme-switch-off--border-color--active);\n }\n\n input + .switch:active > .slider:before {\n background-color: var(--theme-switch-thumb-off--background--active);\n }\n\n // Toggle checked\n input:checked + .switch > .slider {\n border-color: var(--theme-switch-on--border-color);\n }\n\n input:checked + .switch:hover > .slider {\n background-color: var(--theme-switch-on--background--hover);\n border-color: var(--theme-switch-on--border-color--hover);\n }\n\n input:checked + .switch:hover > .slider:before {\n background-color: var(--theme-switch-thumb-on--background--hover);\n }\n\n input:checked + .switch:active > .slider {\n background-color: var(--theme-switch-on--background--active);\n border-color: var(--theme-switch-on--border-color--active);\n }\n\n input:checked + .switch:active > .slider:before {\n background-color: var(--theme-switch-thumb-on--background--active);\n }\n\n input:indeterminate + .switch > .slider::before {\n transform: translateX(0.7rem);\n }\n\n .toggle-text {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n}\n\n:host(.disabled) {\n pointer-events: none;\n\n input + .switch {\n opacity: 0.5;\n }\n\n input + .switch > .slider {\n background-color: var(--theme-switch-off--background--disabled);\n }\n\n input + .switch > .slider:before {\n background-color: var(--theme-switch-thumb-off--background--disabled);\n }\n\n input:checked + .switch > .slider {\n background-color: var(--theme-switch-on--background--disabled);\n }\n\n input:checked + .switch > .slider:before {\n background-color: var(--theme-switch-thumb-on--background--disabled);\n }\n\n .toggle-text {\n color: var(--theme-color-weak-text);\n }\n}\n\n@mixin toggle-variant($selector) {\n :host(#{$selector}:not(.disabled)) {\n .slider {\n @content;\n }\n }\n}\n\n@mixin define-toggle-vars($state, $type) {\n --theme-switch-#{$state}--background: var(--theme-switch-#{$state}--background--#{$type});\n --theme-switch-#{$state}--background--hover: var(--theme-switch-#{$state}--background--#{$type}--hover);\n --theme-switch-#{$state}--background--active: var(--theme-switch-#{$state}--background--#{$type}--active);\n\n --theme-switch-thumb-#{$state}--background: var(--theme-switch-thumb-#{$state}--background--#{$type});\n --theme-switch-thumb-#{$state}--background--hover: var(--theme-switch-thumb-#{$state}--background--#{$type}--hover);\n --theme-switch-thumb-#{$state}--background--active: var(--theme-switch-thumb-#{$state}--background--#{$type}--active);\n\n --theme-switch-#{$state}--border-color: var(--theme-switch-#{$state}--border-color--#{$type});\n --theme-switch-#{$state}--border-color--hover: var(--theme-switch-#{$state}--border-color--#{$type}--hover);\n --theme-switch-#{$state}--border-color--active: var(--theme-switch-#{$state}--border-color--#{$type}--active);\n}\n\n@include toggle-variant(\n $selector: '.ix-info',\n) {\n @include define-toggle-vars('off', 'info');\n @include define-toggle-vars('on', 'info');\n @include define-toggle-vars('mixed', 'info');\n}\n\n@include toggle-variant(\n $selector: '.ix-warning',\n) {\n @include define-toggle-vars('off', 'warning');\n @include define-toggle-vars('on', 'warning');\n @include define-toggle-vars('mixed', 'warning');\n}\n\n@include toggle-variant(\n $selector: '.ix-invalid--required',\n) {\n @include define-toggle-vars('off', 'invalid');\n @include define-toggle-vars('on', 'invalid');\n @include define-toggle-vars('mixed', 'invalid');\n}\n\n@include toggle-variant(\n $selector: '.ix-invalid',\n) {\n @include define-toggle-vars('off', 'invalid');\n @include define-toggle-vars('on', 'invalid');\n @include define-toggle-vars('mixed', 'invalid');\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Method,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { a11yBoolean } from '../utils/a11y';\nimport { IxFormComponent } from '../utils/field';\n\n/**\n * @form-ready 2.4.0\n * */\n@Component({\n tag: 'ix-toggle',\n styleUrl: 'toggle.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class Toggle implements IxFormComponent<string> {\n @AttachInternals() formInternals!: ElementInternals;\n\n @Element() hostElement!: HTMLIxToggleElement;\n\n /**\n * Name of the checkbox component\n */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * Value of the checkbox component\n */\n @Prop({ reflect: true }) value: string = 'on';\n\n /**\n * Whether the slide-toggle element is checked or not.\n */\n @Prop({ mutable: true, reflect: true }) checked = false;\n\n /**\n * Whether the slide-toggle element is disabled or not.\n */\n @Prop() disabled = false;\n\n /**\n * If true the control is in indeterminate state\n */\n @Prop({ mutable: true, reflect: true }) indeterminate = false;\n\n /**\n * Text for on state\n */\n @Prop() textOn = 'On';\n\n /**\n * Text for off state\n */\n @Prop() textOff = 'Off';\n\n /**\n * Text for indeterminate state\n */\n @Prop() textIndeterminate = 'Mixed';\n\n /**\n * Hide `on` and `off` text\n */\n @Prop() hideText = false;\n\n /**\n * Required state of the checkbox component.\n *\n * If true, checkbox needs to be checked to be valid\n */\n @Prop({ reflect: true }) required = false;\n\n /**\n * An event will be dispatched each time the slide-toggle changes its value.\n */\n @Event() checkedChange!: EventEmitter<boolean>;\n\n /** @internal */\n @Event() valueChange!: EventEmitter<string>;\n\n onCheckedChange(newChecked: boolean) {\n if (this.indeterminate) {\n this.indeterminate = false;\n }\n this.checked = newChecked;\n this.checkedChange.emit(this.checked);\n }\n\n componentWillLoad() {\n this.updateFormInternalValue();\n }\n\n updateFormInternalValue(): void {\n if (this.checked) {\n this.formInternals.setFormValue(this.value);\n } else {\n this.formInternals.setFormValue(null);\n }\n }\n\n @Watch('checked')\n watchCheckedChange() {\n this.updateFormInternalValue();\n }\n\n /** @internal */\n @Method()\n hasValidValue(): Promise<boolean> {\n return Promise.resolve(this.checked);\n }\n\n /** @internal */\n @Method()\n getAssociatedFormElement(): Promise<HTMLFormElement | null> {\n return Promise.resolve(this.formInternals.form);\n }\n\n render() {\n return (\n <Host\n class={{\n disabled: this.disabled,\n }}\n onClick={() => this.onCheckedChange(!this.checked)}\n >\n <input\n disabled={this.disabled}\n indeterminate={this.indeterminate}\n checked={this.checked}\n role=\"switch\"\n tabindex={0}\n type=\"checkbox\"\n aria-checked={a11yBoolean(this.checked)}\n onChange={(event) =>\n this.onCheckedChange((event.target as HTMLInputElement).checked)\n }\n ></input>\n <label class=\"switch\" tabIndex={-1}>\n <span class=\"slider\"></span>\n </label>\n {!this.hideText ? (\n <Fragment>\n {!this.indeterminate ? (\n <span class={'toggle-text'} aria-hidden={a11yBoolean(true)}>\n {this.checked ? this.textOn : this.textOff}\n </span>\n ) : (\n <span class={'toggle-text'} aria-hidden={a11yBoolean(true)}>\n {this.textIndeterminate}\n </span>\n )}\n </Fragment>\n ) : null}\n </Host>\n );\n }\n}\n"],"mappings":"2GAAA,MAAMA,EAAY,kpbAClB,MAAAC,EAAeD,E,MCiCFE,EAAM,M,0TAawB,K,aAKS,M,cAK/B,M,mBAKqC,M,YAKvC,K,aAKC,M,uBAKU,Q,cAKT,M,cAOiB,K,CAUpC,eAAAC,CAAgBC,GACd,GAAIC,KAAKC,cAAe,CACtBD,KAAKC,cAAgB,K,CAEvBD,KAAKE,QAAUH,EACfC,KAAKG,cAAcC,KAAKJ,KAAKE,Q,CAG/B,iBAAAG,GACEL,KAAKM,yB,CAGP,uBAAAA,GACE,GAAIN,KAAKE,QAAS,CAChBF,KAAKO,cAAcC,aAAaR,KAAKS,M,KAChC,CACLT,KAAKO,cAAcC,aAAa,K,EAKpC,kBAAAE,GACEV,KAAKM,yB,CAKP,aAAAK,GACE,OAAOC,QAAQC,QAAQb,KAAKE,Q,CAK9B,wBAAAY,GACE,OAAOF,QAAQC,QAAQb,KAAKO,cAAcQ,K,CAG5C,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,MAAO,CACLC,SAAUrB,KAAKqB,UAEjBC,QAAS,IAAMtB,KAAKF,iBAAiBE,KAAKE,UAE1Ce,EAAA,SAAAE,IAAA,2CACEE,SAAUrB,KAAKqB,SACfpB,cAAeD,KAAKC,cACpBC,QAASF,KAAKE,QACdqB,KAAK,SACLC,SAAU,EACVC,KAAK,WAAU,eACDC,EAAY1B,KAAKE,SAC/ByB,SAAWC,GACT5B,KAAKF,gBAAiB8B,EAAMC,OAA4B3B,WAG5De,EAAA,SAAAE,IAAA,2CAAOC,MAAM,SAASU,UAAW,GAC/Bb,EAAA,QAAAE,IAAA,2CAAMC,MAAM,aAEZpB,KAAK+B,SACLd,EAACe,EAAQ,MACLhC,KAAKC,cACLgB,EAAA,QAAMG,MAAO,cAAa,cAAeM,EAAY,OAClD1B,KAAKE,QAAUF,KAAKiC,OAASjC,KAAKkC,SAGrCjB,EAAA,QAAMG,MAAO,cAAa,cAAeM,EAAY,OAClD1B,KAAKmC,oBAIV,K"}
@@ -0,0 +1,2 @@
1
+ import{r as e,h as a,H as c}from"./p-f86a894a.js";const t=":host{display:flex;justify-content:flex-start;align-items:center;gap:0.5rem;overflow:hidden}:host .loading-text{display:block;position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}";const s=t;const o=class{constructor(a){e(this,a)}render(){return a(c,{key:"e6a5ed6cf016a30bd76692c5dcc96924cdfebc6d"},a("ix-spinner",{key:"0979352c75c22f1a97fbad587b2f6648c5fbd867",variant:"primary"}),a("span",{key:"9cc99953a981540e8e2dc9806fd7e481199e1b54",class:"loading-text"},a("slot",{key:"89cc3a8cd66fcff80b72fe2d8ed80cb272cf3201"})))}};o.style=s;export{o as ix_modal_loading};
2
+ //# sourceMappingURL=p-5bf40a9f.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as e,a as t,h as o,F as r,H as i,g as a}from"./p-f86a894a.js";import{s}from"./p-0ca3528f.js";import{a as n}from"./p-702f9349.js";import{a as l,A as d}from"./p-7c36d3fa.js";import{m as h}from"./p-c146af8e.js";import{h as c}from"./p-712e0ee0.js";import"./p-46a6cd9d.js";import"./p-6e6efb4c.js";import"./p-c4749812.js";import"./p-68a274e7.js";const m=":host{display:flex;align-items:center;position:relative;width:100%;height:2.75rem;min-height:2.75rem;padding:0 1rem 0 0.625rem;color:var(--theme-app-header--color);background-color:var(--theme-app-header--background);border-bottom:var(--theme-app-header--border-width) solid var(--theme-app-header--border-color);z-index:var(--theme-z-index-fixed)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .app-switch{margin-right:1rem}:host .name{overflow:hidden;overflow-wrap:anywhere;text-overflow:ellipsis;text-wrap:nowrap;max-width:50%;margin-left:1.5rem;margin-right:2.5rem;color:var(--theme-app-header--color)}:host .logo{display:inline-flex;align-items:center;position:relative;height:32px;overflow:hidden;line-height:0rem;color:var(--theme-app-header-logo--color);margin-left:0.375rem}:host .content{display:flex;position:relative;flex-direction:row;margin-left:auto;margin-right:0px}:host .dropdown{overflow:visible}:host .dropdown-content{padding:1rem}:host .context-menu{display:none}:host .context-menu.context-menu-visible{display:block}@media only screen and (max-width: 48em){:host .logo{display:none}}:host ::slotted(ix-avatar){margin-left:1rem}:host(.breakpoint-sm){padding-left:0.625rem}:host(.breakpoint-sm) .logo{margin-left:0.5rem}";const p=m;const b=class{constructor(t){e(this,t);this.name=undefined;this.breakpoint="lg";this.menuExpanded=false;this.suppressResponsive=false;this.hasSlottedElements=false;this.applicationLayoutContext=undefined}get contentBackground(){return this.hostElement.shadowRoot.querySelector(".dropdown-content")}componentWillLoad(){l(this.hostElement,d,(e=>{if((e===null||e===void 0?void 0:e.host)==="map-navigation"){this.suppressResponsive=true;this.breakpoint="md";return}this.breakpoint=n.breakpoint;this.applicationLayoutContext=e;this.tryUpdateAppSwitch()}),true);this.menuDisposable=h.expandChange.on((e=>{this.menuExpanded=e}));this.modeDisposable=n.onChange.on((e=>{if(this.suppressResponsive){this.breakpoint="md";return}this.breakpoint=e}));this.updateIsSlottedContent()}componentDidLoad(){this.attachSiemensLogoIfLoaded()}disconnectedCallback(){var e,t;(e=this.menuDisposable)===null||e===void 0?void 0:e.dispose();(t=this.modeDisposable)===null||t===void 0?void 0:t.dispose()}isLogoSlotted(){const e=this.hostElement.shadowRoot.querySelector('slot[name="logo"]');const t=e.assignedNodes({flatten:true});return t.length!==0}async attachSiemensLogoIfLoaded(){await window.customElements.whenDefined("ix-siemens-logo");const e=document.createElement("ix-siemens-logo");if(!this.isLogoSlotted()){this.hostElement.shadowRoot.querySelector(".logo").appendChild(e)}}async onMenuClick(){h.toggle()}resolveContextMenuButton(){return new Promise((e=>t((()=>e(this.hostElement.shadowRoot.querySelector("[data-context-menu]"))))))}tryUpdateAppSwitch(){var e;if(!this.callbackUpdateAppSwitchModal){return}this.callbackUpdateAppSwitchModal((e=this.applicationLayoutContext)===null||e===void 0?void 0:e.appSwitchConfig)}async showAppSwitch(){var e;this.callbackUpdateAppSwitchModal=await s((e=this.applicationLayoutContext)===null||e===void 0?void 0:e.appSwitchConfig)}updateIsSlottedContent(){const e=this.hostElement.shadowRoot.querySelector(".content slot");this.hasSlottedElements=c(e)}onContentBgClick(e){if(e.target===this.contentBackground){e.preventDefault()}}render(){var e;return o(i,{key:"e40a2cbcfbdf369a9c21123a9b6341bed6313298",class:{[`breakpoint-${this.breakpoint}`]:true},slot:"application-header"},this.breakpoint==="sm"&&this.suppressResponsive===false&&o("ix-menu-expand-icon",{key:"422fec21218699880932d12132c9a51f61299c1f",onClick:()=>this.onMenuClick(),expanded:this.menuExpanded}),((e=this.applicationLayoutContext)===null||e===void 0?void 0:e.appSwitchConfig)&&this.breakpoint!=="sm"&&this.suppressResponsive===false&&o("ix-icon-button",{key:"28b220e9f9df0e873b59e74683fbeda86199dde2",onClick:()=>this.showAppSwitch(),icon:"apps",ghost:true,class:"app-switch"}),o("div",{key:"67ad9303b4d272bd74925401ba3917aeeefb5648",class:"logo"},o("slot",{key:"b65674c8bc606ad0582307ddef0c0fa3d2efde11",name:"logo"})),o("div",{key:"be0b34c2280380397c140e3e0e6a627743d9e863",class:"name"},this.name),o("div",{key:"627a5534b4e03a64dd005970a8639254cafb2315",class:"content"},this.breakpoint==="sm"?o(r,null,o("ix-icon-button",{class:{["context-menu"]:true,["context-menu-visible"]:this.hasSlottedElements},"data-context-menu":true,icon:"more-menu",ghost:true}),o("ix-dropdown",{"data-overflow-dropdown":true,class:"dropdown",discoverAllSubmenus:true,trigger:this.resolveContextMenuButton()},o("div",{class:"dropdown-content",onClick:e=>this.onContentBgClick(e)},o("slot",{onSlotchange:()=>this.updateIsSlottedContent()})))):o("slot",{onSlotchange:()=>this.updateIsSlottedContent()}),o("slot",{key:"25a99ef1ea301baa1c8df4daefae710f79371737",name:"ix-application-header-avatar"})))}get hostElement(){return a(this)}};b.style=p;export{b as ix_application_header};
2
+ //# sourceMappingURL=p-5eb935a3.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["applicationHeaderCss","IxApplicationHeaderStyle0","ApplicationHeader","contentBackground","this","hostElement","shadowRoot","querySelector","componentWillLoad","useContextConsumer","ApplicationLayoutContext","ctx","host","suppressResponsive","breakpoint","applicationLayoutService","applicationLayoutContext","tryUpdateAppSwitch","menuDisposable","menuController","expandChange","on","show","menuExpanded","modeDisposable","onChange","mode","updateIsSlottedContent","componentDidLoad","attachSiemensLogoIfLoaded","disconnectedCallback","_a","dispose","_b","isLogoSlotted","slotElement","nodes","assignedNodes","flatten","length","window","customElements","whenDefined","logoElement","document","createElement","appendChild","onMenuClick","toggle","resolveContextMenuButton","Promise","resolve","readTask","callbackUpdateAppSwitchModal","appSwitchConfig","showAppSwitch","hasSlottedElements","onContentBgClick","e","target","preventDefault","render","h","Host","key","class","slot","onClick","expanded","icon","ghost","name","Fragment","discoverAllSubmenus","trigger","onSlotchange"],"sources":["src/components/application-header/application-header.scss?tag=ix-application-header&encapsulation=shadow","src/components/application-header/application-header.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n @import 'mixins/shadow-dom/component';\n @import 'mixins/break-points';\n\n:host {\n @include ix-component;\n\n display: flex;\n align-items: center;\n position: relative;\n width: 100%;\n height: 2.75rem;\n min-height: 2.75rem;\n padding: 0 1rem 0 0.625rem;\n\n color: var(--theme-app-header--color);\n background-color: var(--theme-app-header--background);\n\n border-bottom: var(--theme-app-header--border-width) solid\n var(--theme-app-header--border-color);\n\n z-index: var(--theme-z-index-fixed);\n\n .app-switch {\n margin-right: 1rem;\n }\n\n .name {\n overflow: hidden;\n overflow-wrap: anywhere;\n text-overflow: ellipsis;\n text-wrap: nowrap;\n max-width: 50%;\n margin-left: 1.5rem;\n margin-right: 2.5rem;\n color: var(--theme-app-header--color);\n }\n\n .logo {\n display: inline-flex;\n align-items: center;\n position: relative;\n height: 32px;\n overflow: hidden;\n line-height: 0rem;\n color: var(--theme-app-header-logo--color);\n margin-left: 0.375rem;\n }\n\n .content {\n display: flex;\n position: relative;\n flex-direction: row;\n margin-left: auto;\n margin-right: 0px;\n }\n\n .dropdown {\n overflow: visible;\n }\n\n .dropdown-content {\n padding: 1rem;\n }\n\n .context-menu {\n display: none;\n }\n\n .context-menu.context-menu-visible {\n display: block;\n }\n\n @include media-breakpoint-match('sm') {\n .logo {\n display: none;\n }\n }\n\n ::slotted(ix-avatar) {\n margin-left: 1rem;\n }\n}\n\n:host(.breakpoint-sm) {\n padding-left: 0.625rem;\n\n .logo {\n margin-left: 0.5rem;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Fragment,\n h,\n Host,\n Prop,\n readTask,\n State,\n} from '@stencil/core';\nimport { showAppSwitch } from '../utils/app-switch';\nimport { applicationLayoutService } from '../utils/application-layout';\nimport {\n ApplicationLayoutContext,\n AppSwitchConfiguration,\n} from '../utils/application-layout/context';\nimport { Breakpoint } from '../utils/breakpoints';\nimport { ContextType, useContextConsumer } from '../utils/context';\nimport { menuController } from '../utils/menu-service/menu-service';\nimport { hasSlottedElements } from '../utils/shadow-dom';\nimport { Disposable } from '../utils/typed-event';\n\n/**\n * @slot logo - Location of the logo\n */\n@Component({\n tag: 'ix-application-header',\n styleUrl: 'application-header.scss',\n shadow: true,\n})\nexport class ApplicationHeader {\n @Element() hostElement!: HTMLIxApplicationHeaderElement;\n\n /**\n * Application name\n */\n @Prop() name: string;\n\n @State() breakpoint: Breakpoint = 'lg';\n @State() menuExpanded = false;\n @State() suppressResponsive = false;\n\n @State() hasSlottedElements = false;\n\n private menuDisposable?: Disposable;\n private modeDisposable?: Disposable;\n private callbackUpdateAppSwitchModal?: (\n config: AppSwitchConfiguration\n ) => void;\n\n @State() applicationLayoutContext: ContextType<\n typeof ApplicationLayoutContext\n >;\n\n get contentBackground() {\n return this.hostElement.shadowRoot.querySelector('.dropdown-content');\n }\n\n componentWillLoad() {\n useContextConsumer(\n this.hostElement,\n ApplicationLayoutContext,\n (ctx) => {\n if (ctx?.host === 'map-navigation') {\n this.suppressResponsive = true;\n this.breakpoint = 'md';\n return;\n }\n\n this.breakpoint = applicationLayoutService.breakpoint;\n this.applicationLayoutContext = ctx;\n\n this.tryUpdateAppSwitch();\n },\n true\n );\n\n this.menuDisposable = menuController.expandChange.on((show) => {\n this.menuExpanded = show;\n });\n\n this.modeDisposable = applicationLayoutService.onChange.on((mode) => {\n if (this.suppressResponsive) {\n this.breakpoint = 'md';\n return;\n }\n\n this.breakpoint = mode;\n });\n\n this.updateIsSlottedContent();\n }\n\n componentDidLoad() {\n this.attachSiemensLogoIfLoaded();\n }\n\n disconnectedCallback() {\n this.menuDisposable?.dispose();\n this.modeDisposable?.dispose();\n }\n\n private isLogoSlotted() {\n const slotElement = this.hostElement.shadowRoot.querySelector(\n 'slot[name=\"logo\"]'\n ) as HTMLSlotElement;\n const nodes = slotElement.assignedNodes({\n flatten: true,\n });\n\n return nodes.length !== 0;\n }\n\n private async attachSiemensLogoIfLoaded() {\n await window.customElements.whenDefined('ix-siemens-logo');\n const logoElement = document.createElement('ix-siemens-logo');\n if (!this.isLogoSlotted()) {\n this.hostElement.shadowRoot\n .querySelector('.logo')\n .appendChild(logoElement);\n }\n }\n\n private async onMenuClick() {\n menuController.toggle();\n }\n\n private resolveContextMenuButton() {\n return new Promise<HTMLElement>((resolve) =>\n readTask(() =>\n resolve(\n this.hostElement.shadowRoot.querySelector(\n '[data-context-menu]'\n ) as HTMLElement\n )\n )\n );\n }\n\n private tryUpdateAppSwitch() {\n if (!this.callbackUpdateAppSwitchModal) {\n return;\n }\n\n this.callbackUpdateAppSwitchModal(\n this.applicationLayoutContext?.appSwitchConfig\n );\n }\n\n private async showAppSwitch() {\n this.callbackUpdateAppSwitchModal = await showAppSwitch(\n this.applicationLayoutContext?.appSwitchConfig\n );\n }\n\n private updateIsSlottedContent() {\n const slotElement =\n this.hostElement.shadowRoot.querySelector('.content slot');\n\n this.hasSlottedElements = hasSlottedElements(slotElement);\n }\n\n private onContentBgClick(e: MouseEvent) {\n if (e.target === this.contentBackground) {\n e.preventDefault();\n }\n }\n\n render() {\n return (\n <Host\n class={{ [`breakpoint-${this.breakpoint}`]: true }}\n slot=\"application-header\"\n >\n {this.breakpoint === 'sm' && this.suppressResponsive === false && (\n <ix-menu-expand-icon\n onClick={() => this.onMenuClick()}\n expanded={this.menuExpanded}\n ></ix-menu-expand-icon>\n )}\n {this.applicationLayoutContext?.appSwitchConfig &&\n this.breakpoint !== 'sm' &&\n this.suppressResponsive === false && (\n <ix-icon-button\n onClick={() => this.showAppSwitch()}\n icon=\"apps\"\n ghost\n class=\"app-switch\"\n ></ix-icon-button>\n )}\n <div class=\"logo\">\n <slot name=\"logo\"></slot>\n </div>\n <div class=\"name\">{this.name}</div>\n <div class=\"content\">\n {this.breakpoint === 'sm' ? (\n <Fragment>\n <ix-icon-button\n class={{\n ['context-menu']: true,\n ['context-menu-visible']: this.hasSlottedElements,\n }}\n data-context-menu\n icon=\"more-menu\"\n ghost\n ></ix-icon-button>\n <ix-dropdown\n data-overflow-dropdown\n class=\"dropdown\"\n discoverAllSubmenus\n trigger={this.resolveContextMenuButton()}\n >\n <div\n class=\"dropdown-content\"\n onClick={(e) => this.onContentBgClick(e)}\n >\n <slot\n onSlotchange={() => this.updateIsSlottedContent()}\n ></slot>\n </div>\n </ix-dropdown>\n </Fragment>\n ) : (\n <slot onSlotchange={() => this.updateIsSlottedContent()}></slot>\n )}\n <slot name=\"ix-application-header-avatar\"></slot>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"6VAAA,MAAMA,EAAuB,46DAC7B,MAAAC,EAAeD,E,MCsCFE,EAAiB,M,6DAQM,K,kBACV,M,wBACM,M,wBAEA,M,wCAY9B,qBAAIC,GACF,OAAOC,KAAKC,YAAYC,WAAWC,cAAc,oB,CAGnD,iBAAAC,GACEC,EACEL,KAAKC,YACLK,GACCC,IACC,IAAIA,IAAG,MAAHA,SAAG,SAAHA,EAAKC,QAAS,iBAAkB,CAClCR,KAAKS,mBAAqB,KAC1BT,KAAKU,WAAa,KAClB,M,CAGFV,KAAKU,WAAaC,EAAyBD,WAC3CV,KAAKY,yBAA2BL,EAEhCP,KAAKa,oBAAoB,GAE3B,MAGFb,KAAKc,eAAiBC,EAAeC,aAAaC,IAAIC,IACpDlB,KAAKmB,aAAeD,CAAI,IAG1BlB,KAAKoB,eAAiBT,EAAyBU,SAASJ,IAAIK,IAC1D,GAAItB,KAAKS,mBAAoB,CAC3BT,KAAKU,WAAa,KAClB,M,CAGFV,KAAKU,WAAaY,CAAI,IAGxBtB,KAAKuB,wB,CAGP,gBAAAC,GACExB,KAAKyB,2B,CAGP,oBAAAC,G,SACEC,EAAA3B,KAAKc,kBAAc,MAAAa,SAAA,SAAAA,EAAEC,WACrBC,EAAA7B,KAAKoB,kBAAc,MAAAS,SAAA,SAAAA,EAAED,S,CAGf,aAAAE,GACN,MAAMC,EAAc/B,KAAKC,YAAYC,WAAWC,cAC9C,qBAEF,MAAM6B,EAAQD,EAAYE,cAAc,CACtCC,QAAS,OAGX,OAAOF,EAAMG,SAAW,C,CAGlB,+BAAMV,SACNW,OAAOC,eAAeC,YAAY,mBACxC,MAAMC,EAAcC,SAASC,cAAc,mBAC3C,IAAKzC,KAAK8B,gBAAiB,CACzB9B,KAAKC,YAAYC,WACdC,cAAc,SACduC,YAAYH,E,EAIX,iBAAMI,GACZ5B,EAAe6B,Q,CAGT,wBAAAC,GACN,OAAO,IAAIC,SAAsBC,GAC/BC,GAAS,IACPD,EACE/C,KAAKC,YAAYC,WAAWC,cAC1B,2B,CAOF,kBAAAU,G,MACN,IAAKb,KAAKiD,6BAA8B,CACtC,M,CAGFjD,KAAKiD,8BACHtB,EAAA3B,KAAKY,4BAAwB,MAAAe,SAAA,SAAAA,EAAEuB,gB,CAI3B,mBAAMC,G,MACZnD,KAAKiD,mCAAqCE,GACxCxB,EAAA3B,KAAKY,4BAAwB,MAAAe,SAAA,SAAAA,EAAEuB,gB,CAI3B,sBAAA3B,GACN,MAAMQ,EACJ/B,KAAKC,YAAYC,WAAWC,cAAc,iBAE5CH,KAAKoD,mBAAqBA,EAAmBrB,E,CAGvC,gBAAAsB,CAAiBC,GACvB,GAAIA,EAAEC,SAAWvD,KAAKD,kBAAmB,CACvCuD,EAAEE,gB,EAIN,MAAAC,G,MACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,MAAO,CAAE,CAAC,cAAc7D,KAAKU,cAAe,MAC5CoD,KAAK,sBAEJ9D,KAAKU,aAAe,MAAQV,KAAKS,qBAAuB,OACvDiD,EAAA,uBAAAE,IAAA,2CACEG,QAAS,IAAM/D,KAAK2C,cACpBqB,SAAUhE,KAAKmB,iBAGlBQ,EAAA3B,KAAKY,4BAAwB,MAAAe,SAAA,SAAAA,EAAEuB,kBAC9BlD,KAAKU,aAAe,MACpBV,KAAKS,qBAAuB,OAC1BiD,EAAA,kBAAAE,IAAA,2CACEG,QAAS,IAAM/D,KAAKmD,gBACpBc,KAAK,OACLC,MAAK,KACLL,MAAM,eAGZH,EAAA,OAAAE,IAAA,2CAAKC,MAAM,QACTH,EAAA,QAAAE,IAAA,2CAAMO,KAAK,UAEbT,EAAA,OAAAE,IAAA,2CAAKC,MAAM,QAAQ7D,KAAKmE,MACxBT,EAAA,OAAAE,IAAA,2CAAKC,MAAM,WACR7D,KAAKU,aAAe,KACnBgD,EAACU,EAAQ,KACPV,EAAA,kBACEG,MAAO,CACL,CAAC,gBAAiB,KAClB,CAAC,wBAAyB7D,KAAKoD,oBAChC,yBAEDa,KAAK,YACLC,MAAK,OAEPR,EAAA,6CAEEG,MAAM,WACNQ,oBAAmB,KACnBC,QAAStE,KAAK6C,4BAEda,EAAA,OACEG,MAAM,mBACNE,QAAUT,GAAMtD,KAAKqD,iBAAiBC,IAEtCI,EAAA,QACEa,aAAc,IAAMvE,KAAKuB,8BAMjCmC,EAAA,QAAMa,aAAc,IAAMvE,KAAKuB,2BAEjCmC,EAAA,QAAAE,IAAA,2CAAMO,KAAK,kC"}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as o,h as e,H as s,g as a}from"./p-f86a894a.js";const r=":host{display:flex;flex-direction:column;position:relative;min-width:17.5rem;max-width:17.5rem;min-height:3.5rem;pointer-events:all;background-color:var(--theme-toast--background);border:var(--theme-toast--border-thickness) solid var(--theme-toast--border-color);border-radius:var(--theme-toast--border-radius);box-shadow:var(--theme-toast--box-shadow);--animate-duration:300ms}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .toast-body{display:flex;position:relative;min-height:3.5rem;width:100%;flex-grow:1;padding:0.75rem}:host .toast-body .toast-icon{display:flex;align-items:flex-start;margin-right:1rem}:host .toast-body .toast-content{overflow:hidden;text-overflow:ellipsis;min-width:0;width:100%}:host .toast-body .toast-content .toast-title{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.143em;color:var(--theme-color-std-text);margin:0.25rem 0px}:host .toast-body .toast-content .toast-message{min-width:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text)}:host .toast-body .toast-icon+.toast-content{max-width:10.25rem}:host .toast-close{display:flex;position:relative;pointer-events:all;margin-left:auto;margin-right:0px}:host .toast-progress-bar{position:absolute;bottom:0;height:0.25rem;width:100%;background-color:var(--theme-toast-timer-value--background);transform-origin:left}:host .toast-progress-bar--animated{animation:trackProgress linear 1 forwards}@keyframes trackProgress{0%{transform:scaleX(1)}100%{transform:scaleX(0)}}";const i=r;const n=class{constructor(e){t(this,e);this.closeToast=o(this,"closeToast",7);this.type="info";this.toastTitle=undefined;this.autoCloseDelay=5e3;this.autoClose=true;this.icon=undefined;this.iconColor=undefined;this.progress=0;this.touched=false}getIcon(){if(this.icon){return e("ix-icon",{"data-testid":"toast-icon",name:this.icon,color:this.iconColor,size:"24"})}switch(this.type){case"info":return e("ix-icon",{"data-testid":"toast-icon",name:"info",size:"24",color:"color-std-text"});case"error":return e("ix-icon",{"data-testid":"toast-icon",name:"error",size:"24",color:"color-alarm"});case"success":return e("ix-icon",{"data-testid":"toast-icon",name:"success",size:"24",color:"color-success"});case"warning":return e("ix-icon",{"data-testid":"toast-icon",name:"warning",size:"24",color:"color-warning"});default:return""}}close(){if(this.hostElement){this.hostElement.classList.add("animate__fadeOut")}setTimeout((()=>{this.closeToast.emit()}),250)}render(){let t={};const o=["toast-progress-bar"];t={animationDuration:`${this.autoCloseDelay}ms`,animationPlayState:this.touched?"paused":"running"};o.push("toast-progress-bar--animated");return e(s,{key:"ca58e7b2c0e4ee3d77bb0ee9be2a7ff86759f52a",class:"animate__animated animate__fadeIn"},e("div",{key:"0d37ab4e3103087f5cb6d8b55c7afe843b2359c3",class:"toast-body",onPointerLeave:()=>{this.touched=false},onPointerEnter:()=>{this.touched=true}},this.type||this.icon?e("div",{class:"toast-icon"},this.getIcon()):null,e("div",{key:"83e897aa8388de4205c5348f7db698da94f83a19",class:"toast-content"},this.toastTitle?e("div",{class:"toast-title"},this.toastTitle):null,e("div",{key:"306f6cb5055ba4b60823d692bf7154c8364ab0f5",class:"toast-message"},e("slot",{key:"fcea3e5a631e27e9045167fde508e610c964063a"}))),e("div",{key:"706771eeb884647bd84a3895da2e42409971ab2e",class:"toast-close"},e("ix-icon-button",{key:"7e27ce2f29d8d010d216bf6ef3d69feb9ebe51c8",icon:"close",size:"24",ghost:true,onClick:()=>this.closeToast.emit()}))),this.autoClose?e("div",{class:o.join(" "),style:t,onAnimationEnd:()=>{this.close()},onTransitionEnd:()=>{if(this.progress===0){this.close()}}}):null)}get hostElement(){return a(this)}};n.style=i;export{n as ix_toast};
2
+ //# sourceMappingURL=p-61265df9.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["toastCss","IxToastStyle0","Toast","getIcon","this","icon","h","name","color","iconColor","size","type","close","hostElement","classList","add","setTimeout","closeToast","emit","render","progressBarStyle","progressBarClass","animationDuration","autoCloseDelay","animationPlayState","touched","push","Host","key","class","onPointerLeave","onPointerEnter","toastTitle","ghost","onClick","autoClose","join","style","onAnimationEnd","onTransitionEnd","progress"],"sources":["src/components/toast/toast.scss?tag=ix-toast&encapsulation=shadow","src/components/toast/toast.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n@import 'legacy/mixins/fonts';\n\n:host {\n @include ix-component;\n\n display: flex;\n flex-direction: column;\n position: relative;\n min-width: 17.5rem;\n max-width: 17.5rem;\n min-height: 3.5rem;\n\n pointer-events: all;\n\n background-color: var(--theme-toast--background);\n border: var(--theme-toast--border-thickness) solid\n var(--theme-toast--border-color);\n border-radius: var(--theme-toast--border-radius);\n box-shadow: var(--theme-toast--box-shadow);\n\n --animate-duration: #{$medium-time};\n\n .toast-body {\n display: flex;\n position: relative;\n min-height: 3.5rem;\n width: 100%;\n flex-grow: 1;\n padding: 0.75rem;\n\n .toast-icon {\n display: flex;\n align-items: flex-start;\n margin-right: $default-space;\n }\n\n .toast-content {\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0;\n width: 100%;\n\n .toast-title {\n @include text-default-title-single;\n margin: 0.25rem 0px;\n }\n\n .toast-message {\n min-width: 0;\n\n @include text-default;\n }\n }\n\n .toast-icon + .toast-content {\n max-width: 10.25rem;\n }\n }\n\n .toast-close {\n display: flex;\n position: relative;\n pointer-events: all;\n margin-left: auto;\n margin-right: 0px;\n }\n\n .toast-progress-bar {\n position: absolute;\n bottom: 0;\n height: $tiny-space;\n width: 100%;\n background-color: var(--theme-toast-timer-value--background);\n transform-origin: left;\n\n &--animated {\n animation: trackProgress linear 1 forwards;\n }\n }\n\n @keyframes trackProgress {\n 0% {\n transform: scaleX(1);\n }\n 100% {\n transform: scaleX(0);\n }\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\nimport { ToastType } from './toast-utils';\n\n@Component({\n tag: 'ix-toast',\n styleUrl: 'toast.scss',\n shadow: true,\n})\nexport class Toast {\n /**\n * Toast type\n */\n @Prop() type: ToastType = 'info';\n\n /**\n * Toast title\n */\n @Prop() toastTitle: string;\n\n /**\n * Autoclose title after delay\n */\n @Prop() autoCloseDelay = 5000;\n\n /**\n * Autoclose behavior\n */\n @Prop() autoClose = true;\n\n /**\n * Icon of toast\n */\n @Prop() icon: string;\n\n /**\n * Icon color of toast\n */\n @Prop() iconColor: string;\n\n /**\n * Toast closed\n */\n @Event() closeToast: EventEmitter;\n\n @State() progress = 0;\n @State() touched = false;\n\n @Element() hostElement!: HTMLIxToastElement;\n\n private getIcon() {\n if (this.icon) {\n return (\n <ix-icon\n data-testid=\"toast-icon\"\n name={this.icon}\n color={this.iconColor}\n size=\"24\"\n />\n );\n }\n\n switch (this.type) {\n case 'info':\n return (\n <ix-icon\n data-testid=\"toast-icon\"\n name={'info'}\n size=\"24\"\n color=\"color-std-text\"\n />\n );\n\n case 'error':\n return (\n <ix-icon\n data-testid=\"toast-icon\"\n name={'error'}\n size=\"24\"\n color=\"color-alarm\"\n />\n );\n\n case 'success':\n return (\n <ix-icon\n data-testid=\"toast-icon\"\n name={'success'}\n size=\"24\"\n color=\"color-success\"\n />\n );\n\n case 'warning':\n return (\n <ix-icon\n data-testid=\"toast-icon\"\n name={'warning'}\n size=\"24\"\n color=\"color-warning\"\n />\n );\n\n default:\n return '';\n }\n }\n\n private close() {\n if (this.hostElement) {\n this.hostElement.classList.add('animate__fadeOut');\n }\n setTimeout(() => {\n this.closeToast.emit();\n }, 250);\n }\n\n render() {\n let progressBarStyle: Record<string, string> = {};\n\n const progressBarClass = ['toast-progress-bar'];\n\n progressBarStyle = {\n animationDuration: `${this.autoCloseDelay}ms`,\n animationPlayState: this.touched ? 'paused' : 'running',\n };\n\n progressBarClass.push('toast-progress-bar--animated');\n\n return (\n <Host class=\"animate__animated animate__fadeIn\">\n <div\n class=\"toast-body\"\n onPointerLeave={() => {\n this.touched = false;\n }}\n onPointerEnter={() => {\n this.touched = true;\n }}\n >\n {this.type || this.icon ? (\n <div class=\"toast-icon\">{this.getIcon()}</div>\n ) : null}\n <div class=\"toast-content\">\n {this.toastTitle ? (\n <div class=\"toast-title\">{this.toastTitle}</div>\n ) : null}\n <div class=\"toast-message\">\n <slot></slot>\n </div>\n </div>\n <div class=\"toast-close\">\n <ix-icon-button\n icon={'close'}\n size=\"24\"\n ghost\n onClick={() => this.closeToast.emit()}\n />\n </div>\n </div>\n {this.autoClose ? (\n <div\n class={progressBarClass.join(' ')}\n style={progressBarStyle}\n onAnimationEnd={() => {\n this.close();\n }}\n onTransitionEnd={() => {\n if (this.progress === 0) {\n this.close();\n }\n }}\n ></div>\n ) : null}\n </Host>\n );\n }\n}\n"],"mappings":"gEAAA,MAAMA,EAAW,utEACjB,MAAAC,EAAeD,E,MCyBFE,EAAK,M,0EAIU,O,8CAUD,I,eAKL,K,2DAiBA,E,aACD,K,CAIX,OAAAC,GACN,GAAIC,KAAKC,KAAM,CACb,OACEC,EAAA,yBACc,aACZC,KAAMH,KAAKC,KACXG,MAAOJ,KAAKK,UACZC,KAAK,M,CAKX,OAAQN,KAAKO,MACX,IAAK,OACH,OACEL,EAAA,yBACc,aACZC,KAAM,OACNG,KAAK,KACLF,MAAM,mBAIZ,IAAK,QACH,OACEF,EAAA,yBACc,aACZC,KAAM,QACNG,KAAK,KACLF,MAAM,gBAIZ,IAAK,UACH,OACEF,EAAA,yBACc,aACZC,KAAM,UACNG,KAAK,KACLF,MAAM,kBAIZ,IAAK,UACH,OACEF,EAAA,yBACc,aACZC,KAAM,UACNG,KAAK,KACLF,MAAM,kBAIZ,QACE,MAAO,G,CAIL,KAAAI,GACN,GAAIR,KAAKS,YAAa,CACpBT,KAAKS,YAAYC,UAAUC,IAAI,mB,CAEjCC,YAAW,KACTZ,KAAKa,WAAWC,MAAM,GACrB,I,CAGL,MAAAC,GACE,IAAIC,EAA2C,GAE/C,MAAMC,EAAmB,CAAC,sBAE1BD,EAAmB,CACjBE,kBAAmB,GAAGlB,KAAKmB,mBAC3BC,mBAAoBpB,KAAKqB,QAAU,SAAW,WAGhDJ,EAAiBK,KAAK,gCAEtB,OACEpB,EAACqB,EAAI,CAAAC,IAAA,2CAACC,MAAM,qCACVvB,EAAA,OAAAsB,IAAA,2CACEC,MAAM,aACNC,eAAgB,KACd1B,KAAKqB,QAAU,KAAK,EAEtBM,eAAgB,KACd3B,KAAKqB,QAAU,IAAI,GAGpBrB,KAAKO,MAAQP,KAAKC,KACjBC,EAAA,OAAKuB,MAAM,cAAczB,KAAKD,WAC5B,KACJG,EAAA,OAAAsB,IAAA,2CAAKC,MAAM,iBACRzB,KAAK4B,WACJ1B,EAAA,OAAKuB,MAAM,eAAezB,KAAK4B,YAC7B,KACJ1B,EAAA,OAAAsB,IAAA,2CAAKC,MAAM,iBACTvB,EAAA,QAAAsB,IAAA,+CAGJtB,EAAA,OAAAsB,IAAA,2CAAKC,MAAM,eACTvB,EAAA,kBAAAsB,IAAA,2CACEvB,KAAM,QACNK,KAAK,KACLuB,MAAK,KACLC,QAAS,IAAM9B,KAAKa,WAAWC,WAIpCd,KAAK+B,UACJ7B,EAAA,OACEuB,MAAOR,EAAiBe,KAAK,KAC7BC,MAAOjB,EACPkB,eAAgB,KACdlC,KAAKQ,OAAO,EAEd2B,gBAAiB,KACf,GAAInC,KAAKoC,WAAa,EAAG,CACvBpC,KAAKQ,O,KAIT,K"}
1
+ {"version":3,"names":["toastCss","IxToastStyle0","Toast","getIcon","this","icon","h","name","color","iconColor","size","type","close","hostElement","classList","add","setTimeout","closeToast","emit","render","progressBarStyle","progressBarClass","animationDuration","autoCloseDelay","animationPlayState","touched","push","Host","key","class","onPointerLeave","onPointerEnter","toastTitle","ghost","onClick","autoClose","join","style","onAnimationEnd","onTransitionEnd","progress"],"sources":["src/components/toast/toast.scss?tag=ix-toast&encapsulation=shadow","src/components/toast/toast.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n@import 'legacy/mixins/fonts';\n\n:host {\n @include ix-component;\n\n display: flex;\n flex-direction: column;\n position: relative;\n min-width: 17.5rem;\n max-width: 17.5rem;\n min-height: 3.5rem;\n\n pointer-events: all;\n\n background-color: var(--theme-toast--background);\n border: var(--theme-toast--border-thickness) solid\n var(--theme-toast--border-color);\n border-radius: var(--theme-toast--border-radius);\n box-shadow: var(--theme-toast--box-shadow);\n\n --animate-duration: #{$medium-time};\n\n .toast-body {\n display: flex;\n position: relative;\n min-height: 3.5rem;\n width: 100%;\n flex-grow: 1;\n padding: 0.75rem;\n\n .toast-icon {\n display: flex;\n align-items: flex-start;\n margin-right: $default-space;\n }\n\n .toast-content {\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0;\n width: 100%;\n\n .toast-title {\n @include text-default-title-single;\n margin: 0.25rem 0px;\n }\n\n .toast-message {\n min-width: 0;\n\n @include text-default;\n }\n }\n\n .toast-icon + .toast-content {\n max-width: 10.25rem;\n }\n }\n\n .toast-close {\n display: flex;\n position: relative;\n pointer-events: all;\n margin-left: auto;\n margin-right: 0px;\n }\n\n .toast-progress-bar {\n position: absolute;\n bottom: 0;\n height: $tiny-space;\n width: 100%;\n background-color: var(--theme-toast-timer-value--background);\n transform-origin: left;\n\n &--animated {\n animation: trackProgress linear 1 forwards;\n }\n }\n\n @keyframes trackProgress {\n 0% {\n transform: scaleX(1);\n }\n 100% {\n transform: scaleX(0);\n }\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\nimport { ToastType } from './toast-utils';\n\n@Component({\n tag: 'ix-toast',\n styleUrl: 'toast.scss',\n shadow: true,\n})\nexport class Toast {\n /**\n * Toast type\n */\n @Prop() type: ToastType = 'info';\n\n /**\n * Toast title\n */\n @Prop() toastTitle: string;\n\n /**\n * Autoclose title after delay\n */\n @Prop() autoCloseDelay = 5000;\n\n /**\n * Autoclose behavior\n */\n @Prop() autoClose = true;\n\n /**\n * Icon of toast\n */\n @Prop() icon: string;\n\n /**\n * Icon color of toast\n */\n @Prop() iconColor: string;\n\n /**\n * Toast closed\n */\n @Event() closeToast: EventEmitter;\n\n @State() progress = 0;\n @State() touched = false;\n\n @Element() hostElement!: HTMLIxToastElement;\n\n private getIcon() {\n if (this.icon) {\n return (\n <ix-icon\n data-testid=\"toast-icon\"\n name={this.icon}\n color={this.iconColor}\n size=\"24\"\n />\n );\n }\n\n switch (this.type) {\n case 'info':\n return (\n <ix-icon\n data-testid=\"toast-icon\"\n name={'info'}\n size=\"24\"\n color=\"color-std-text\"\n />\n );\n\n case 'error':\n return (\n <ix-icon\n data-testid=\"toast-icon\"\n name={'error'}\n size=\"24\"\n color=\"color-alarm\"\n />\n );\n\n case 'success':\n return (\n <ix-icon\n data-testid=\"toast-icon\"\n name={'success'}\n size=\"24\"\n color=\"color-success\"\n />\n );\n\n case 'warning':\n return (\n <ix-icon\n data-testid=\"toast-icon\"\n name={'warning'}\n size=\"24\"\n color=\"color-warning\"\n />\n );\n\n default:\n return '';\n }\n }\n\n private close() {\n if (this.hostElement) {\n this.hostElement.classList.add('animate__fadeOut');\n }\n setTimeout(() => {\n this.closeToast.emit();\n }, 250);\n }\n\n render() {\n let progressBarStyle: Record<string, string> = {};\n\n const progressBarClass = ['toast-progress-bar'];\n\n progressBarStyle = {\n animationDuration: `${this.autoCloseDelay}ms`,\n animationPlayState: this.touched ? 'paused' : 'running',\n };\n\n progressBarClass.push('toast-progress-bar--animated');\n\n return (\n <Host class=\"animate__animated animate__fadeIn\">\n <div\n class=\"toast-body\"\n onPointerLeave={() => {\n this.touched = false;\n }}\n onPointerEnter={() => {\n this.touched = true;\n }}\n >\n {this.type || this.icon ? (\n <div class=\"toast-icon\">{this.getIcon()}</div>\n ) : null}\n <div class=\"toast-content\">\n {this.toastTitle ? (\n <div class=\"toast-title\">{this.toastTitle}</div>\n ) : null}\n <div class=\"toast-message\">\n <slot></slot>\n </div>\n </div>\n <div class=\"toast-close\">\n <ix-icon-button\n icon={'close'}\n size=\"24\"\n ghost\n onClick={() => this.closeToast.emit()}\n />\n </div>\n </div>\n {this.autoClose ? (\n <div\n class={progressBarClass.join(' ')}\n style={progressBarStyle}\n onAnimationEnd={() => {\n this.close();\n }}\n onTransitionEnd={() => {\n if (this.progress === 0) {\n this.close();\n }\n }}\n ></div>\n ) : null}\n </Host>\n );\n }\n}\n"],"mappings":"gEAAA,MAAMA,EAAW,m3EACjB,MAAAC,EAAeD,E,MCyBFE,EAAK,M,0EAIU,O,8CAUD,I,eAKL,K,2DAiBA,E,aACD,K,CAIX,OAAAC,GACN,GAAIC,KAAKC,KAAM,CACb,OACEC,EAAA,yBACc,aACZC,KAAMH,KAAKC,KACXG,MAAOJ,KAAKK,UACZC,KAAK,M,CAKX,OAAQN,KAAKO,MACX,IAAK,OACH,OACEL,EAAA,yBACc,aACZC,KAAM,OACNG,KAAK,KACLF,MAAM,mBAIZ,IAAK,QACH,OACEF,EAAA,yBACc,aACZC,KAAM,QACNG,KAAK,KACLF,MAAM,gBAIZ,IAAK,UACH,OACEF,EAAA,yBACc,aACZC,KAAM,UACNG,KAAK,KACLF,MAAM,kBAIZ,IAAK,UACH,OACEF,EAAA,yBACc,aACZC,KAAM,UACNG,KAAK,KACLF,MAAM,kBAIZ,QACE,MAAO,G,CAIL,KAAAI,GACN,GAAIR,KAAKS,YAAa,CACpBT,KAAKS,YAAYC,UAAUC,IAAI,mB,CAEjCC,YAAW,KACTZ,KAAKa,WAAWC,MAAM,GACrB,I,CAGL,MAAAC,GACE,IAAIC,EAA2C,GAE/C,MAAMC,EAAmB,CAAC,sBAE1BD,EAAmB,CACjBE,kBAAmB,GAAGlB,KAAKmB,mBAC3BC,mBAAoBpB,KAAKqB,QAAU,SAAW,WAGhDJ,EAAiBK,KAAK,gCAEtB,OACEpB,EAACqB,EAAI,CAAAC,IAAA,2CAACC,MAAM,qCACVvB,EAAA,OAAAsB,IAAA,2CACEC,MAAM,aACNC,eAAgB,KACd1B,KAAKqB,QAAU,KAAK,EAEtBM,eAAgB,KACd3B,KAAKqB,QAAU,IAAI,GAGpBrB,KAAKO,MAAQP,KAAKC,KACjBC,EAAA,OAAKuB,MAAM,cAAczB,KAAKD,WAC5B,KACJG,EAAA,OAAAsB,IAAA,2CAAKC,MAAM,iBACRzB,KAAK4B,WACJ1B,EAAA,OAAKuB,MAAM,eAAezB,KAAK4B,YAC7B,KACJ1B,EAAA,OAAAsB,IAAA,2CAAKC,MAAM,iBACTvB,EAAA,QAAAsB,IAAA,+CAGJtB,EAAA,OAAAsB,IAAA,2CAAKC,MAAM,eACTvB,EAAA,kBAAAsB,IAAA,2CACEvB,KAAM,QACNK,KAAK,KACLuB,MAAK,KACLC,QAAS,IAAM9B,KAAKa,WAAWC,WAIpCd,KAAK+B,UACJ7B,EAAA,OACEuB,MAAOR,EAAiBe,KAAK,KAC7BC,MAAOjB,EACPkB,eAAgB,KACdlC,KAAKQ,OAAO,EAEd2B,gBAAiB,KACf,GAAInC,KAAKoC,WAAa,EAAG,CACvBpC,KAAKQ,O,KAIT,K"}
@@ -1,2 +1,2 @@
1
- import{r as t,h as e,H as s}from"./p-26e9d40e.js";function n(t){let e="";t.forEach((t=>{e+='"';e=t.reduce(((t,e)=>`${t} ${e}`),e);e+='"\n'}));return e}const i=":host{display:grid;position:relative;row-gap:1.5rem;-moz-column-gap:1.5rem;column-gap:1.5rem}";const o=i;const c="only screen and (max-width: 576px)";const r="only screen and (max-width: 768px)";const a="only screen and (max-width: 992px)";const h=[{name:"sm",query:c},{name:"md",query:r},{name:"lg",query:a}];const d=class{constructor(e){t(this,e);this.disposeMediaQueryListener=[];this.mediaQueries=[];this.templates=undefined;this.currentTemplate=undefined}componentWillRender(){this.mediaQueries=h.map((t=>{const e=window.matchMedia(t.query);const s=()=>{this.applyTemplate()};this.disposeMediaQueryListener.push(s);e.addEventListener("change",s);return Object.assign(Object.assign({},t),{mediaQuery:e})}));this.applyTemplate()}disconnectedCallback(){this.mediaQueries.forEach(((t,e)=>{t.mediaQuery.removeEventListener("change",this.disposeMediaQueryListener[e])}))}findNextTemplate(t){const e=this.mediaQueries.findIndex((e=>e.name===t));const s=this.templates[this.mediaQueries[e+1].name];if(!s){return this.findNextTemplate(this.mediaQueries[e+1].name)}return s}applyTemplate(){let t=this.mediaQueries.find((t=>t.mediaQuery.matches));if(!t){t=this.mediaQueries[this.mediaQueries.length-1]}const e=this.templates[t.name];if(e){this.currentTemplate=e}else{this.currentTemplate=this.findNextTemplate(t.name)}}render(){var t;const i={};if(((t=this.currentTemplate)===null||t===void 0?void 0:t.length)!==0){i["grid-template-areas"]=n(this.currentTemplate)}return e(s,{key:"31dbf56817566809d11389e2ee8eae5184ca31f4",style:i},e("slot",{key:"4573979348fcaac389e59014eb566ad0b7e4c005"}))}};d.style=o;export{d as ix_css_grid};
2
- //# sourceMappingURL=p-01a8adf1.entry.js.map
1
+ import{r as t,h as e,H as s}from"./p-f86a894a.js";function n(t){let e="";t.forEach((t=>{e+='"';e=t.reduce(((t,e)=>`${t} ${e}`),e);e+='"\n'}));return e}const i=":host{display:grid;position:relative;row-gap:1.5rem;-moz-column-gap:1.5rem;column-gap:1.5rem}";const o=i;const c="only screen and (max-width: 576px)";const a="only screen and (max-width: 768px)";const r="only screen and (max-width: 992px)";const h=[{name:"sm",query:c},{name:"md",query:a},{name:"lg",query:r}];const d=class{constructor(e){t(this,e);this.disposeMediaQueryListener=[];this.mediaQueries=[];this.templates=undefined;this.currentTemplate=undefined}componentWillRender(){this.mediaQueries=h.map((t=>{const e=window.matchMedia(t.query);const s=()=>{this.applyTemplate()};this.disposeMediaQueryListener.push(s);e.addEventListener("change",s);return Object.assign(Object.assign({},t),{mediaQuery:e})}));this.applyTemplate()}disconnectedCallback(){this.mediaQueries.forEach(((t,e)=>{t.mediaQuery.removeEventListener("change",this.disposeMediaQueryListener[e])}))}findNextTemplate(t){const e=this.mediaQueries.findIndex((e=>e.name===t));const s=this.templates[this.mediaQueries[e+1].name];if(!s){return this.findNextTemplate(this.mediaQueries[e+1].name)}return s}applyTemplate(){let t=this.mediaQueries.find((t=>t.mediaQuery.matches));if(!t){t=this.mediaQueries[this.mediaQueries.length-1]}const e=this.templates[t.name];if(e){this.currentTemplate=e}else{this.currentTemplate=this.findNextTemplate(t.name)}}render(){var t;const i={};if(((t=this.currentTemplate)===null||t===void 0?void 0:t.length)!==0){i["grid-template-areas"]=n(this.currentTemplate)}return e(s,{key:"31dbf56817566809d11389e2ee8eae5184ca31f4",style:i},e("slot",{key:"4573979348fcaac389e59014eb566ad0b7e4c005"}))}};d.style=o;export{d as ix_css_grid};
2
+ //# sourceMappingURL=p-628c8612.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r,h as e,H as t,g as o}from"./p-f86a894a.js";import{h as a}from"./p-712e0ee0.js";const s=":host{display:flex;flex-direction:column;position:relative;padding:1.5rem 0rem 0.25rem 2rem;width:100%;height:100%;overflow:hidden}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .content{flex-grow:1;overflow:auto;padding-right:1.5rem}:host .content-header.slotted{margin-bottom:1rem;padding-right:1.5rem}";const c=s;const b=class{constructor(e){r(this,e);this.isContentHeaderSlotted=false}get contentHeaderSlot(){return this.hostElement.shadowRoot.querySelector(".content-header slot")}render(){return e(t,{key:"4dab1c37e7e25e92aae59819e21cdca4f303b917"},e("div",{key:"e1d4436222fbede16fe740f1f8b712c4227b9f26",class:{"content-header":true,slotted:this.isContentHeaderSlotted}},e("slot",{key:"0df5783d73aac22f87b644942b02ac2c1c9a4a66",name:"header",onSlotchange:()=>{this.isContentHeaderSlotted=a(this.contentHeaderSlot)}})),e("div",{key:"94713592851aa18c3b0b030c4a80e278cabbec35",class:"content"},e("slot",{key:"f78d233860cf1a36132a5b725791292524385a84"})))}get hostElement(){return o(this)}};b.style=c;export{b as ix_content};
2
+ //# sourceMappingURL=p-628f031a.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["contentCss","IxContentStyle0","Content","contentHeaderSlot","this","hostElement","shadowRoot","querySelector","render","h","Host","key","class","slotted","isContentHeaderSlotted","name","onSlotchange","hasSlottedElements"],"sources":["src/components/content/content.scss?tag=ix-content&encapsulation=shadow","src/components/content/content.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: flex;\n flex-direction: column;\n position: relative;\n padding: 1.5rem 0rem 0.25rem 2rem;\n\n width: 100%;\n height: 100%;\n\n overflow: hidden;\n\n .content {\n flex-grow: 1;\n overflow: auto;\n padding-right: 1.5rem;\n }\n\n .content-header.slotted {\n margin-bottom: 1rem;\n padding-right: 1.5rem;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, State } from '@stencil/core';\nimport { hasSlottedElements } from '../utils/shadow-dom';\n\n/**\n * @since 2.1.0\n * @slot header - Display content at the top of the content page\n */\n@Component({\n tag: 'ix-content',\n styleUrl: 'content.scss',\n shadow: true,\n})\nexport class Content {\n @Element() hostElement!: HTMLIxContentElement;\n\n @State() isContentHeaderSlotted = false;\n\n get contentHeaderSlot() {\n return this.hostElement.shadowRoot.querySelector(\n '.content-header slot'\n ) as HTMLSlotElement;\n }\n\n render() {\n return (\n <Host>\n <div\n class={{\n 'content-header': true,\n slotted: this.isContentHeaderSlotted,\n }}\n >\n <slot\n name=\"header\"\n onSlotchange={() => {\n this.isContentHeaderSlotted = hasSlottedElements(\n this.contentHeaderSlot\n );\n }}\n ></slot>\n </div>\n <div class=\"content\">\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"6FAAA,MAAMA,EAAa,s2BACnB,MAAAC,EAAeD,E,MCoBFE,EAAO,M,qDAGgB,K,CAElC,qBAAIC,GACF,OAAOC,KAAKC,YAAYC,WAAWC,cACjC,uB,CAIJ,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,OAAAE,IAAA,2CACEC,MAAO,CACL,iBAAkB,KAClBC,QAAST,KAAKU,yBAGhBL,EAAA,QAAAE,IAAA,2CACEI,KAAK,SACLC,aAAc,KACZZ,KAAKU,uBAAyBG,EAC5Bb,KAAKD,kBACN,KAIPM,EAAA,OAAAE,IAAA,2CAAKC,MAAM,WACTH,EAAA,QAAAE,IAAA,8C"}
1
+ {"version":3,"names":["contentCss","IxContentStyle0","Content","contentHeaderSlot","this","hostElement","shadowRoot","querySelector","render","h","Host","key","class","slotted","isContentHeaderSlotted","name","onSlotchange","hasSlottedElements"],"sources":["src/components/content/content.scss?tag=ix-content&encapsulation=shadow","src/components/content/content.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: flex;\n flex-direction: column;\n position: relative;\n padding: 1.5rem 0rem 0.25rem 2rem;\n\n width: 100%;\n height: 100%;\n\n overflow: hidden;\n\n .content {\n flex-grow: 1;\n overflow: auto;\n padding-right: 1.5rem;\n }\n\n .content-header.slotted {\n margin-bottom: 1rem;\n padding-right: 1.5rem;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, State } from '@stencil/core';\nimport { hasSlottedElements } from '../utils/shadow-dom';\n\n/**\n * @since 2.1.0\n * @slot header - Display content at the top of the content page\n */\n@Component({\n tag: 'ix-content',\n styleUrl: 'content.scss',\n shadow: true,\n})\nexport class Content {\n @Element() hostElement!: HTMLIxContentElement;\n\n @State() isContentHeaderSlotted = false;\n\n get contentHeaderSlot() {\n return this.hostElement.shadowRoot.querySelector(\n '.content-header slot'\n ) as HTMLSlotElement;\n }\n\n render() {\n return (\n <Host>\n <div\n class={{\n 'content-header': true,\n slotted: this.isContentHeaderSlotted,\n }}\n >\n <slot\n name=\"header\"\n onSlotchange={() => {\n this.isContentHeaderSlotted = hasSlottedElements(\n this.contentHeaderSlot\n );\n }}\n ></slot>\n </div>\n <div class=\"content\">\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"wFAAA,MAAMA,EAAa,kgCACnB,MAAAC,EAAeD,E,MCoBFE,EAAO,M,qDAGgB,K,CAElC,qBAAIC,GACF,OAAOC,KAAKC,YAAYC,WAAWC,cACjC,uB,CAIJ,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,OAAAE,IAAA,2CACEC,MAAO,CACL,iBAAkB,KAClBC,QAAST,KAAKU,yBAGhBL,EAAA,QAAAE,IAAA,2CACEI,KAAK,SACLC,aAAc,KACZZ,KAAKU,uBAAyBG,EAC5Bb,KAAKD,kBACN,KAIPM,EAAA,OAAAE,IAAA,2CAAKC,MAAM,WACTH,EAAA,QAAAE,IAAA,8C"}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as e,h as r,H as o,g as a}from"./p-f86a894a.js";const i='@charset "UTF-8";:host{position:relative;display:flex;align-items:center;justify-content:center;padding:10px 1.5rem;line-height:20px;font-size:14px;font-weight:bold;background-color:var(--theme-tab--background);color:var(--theme-tab--color)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host::after{content:"";position:absolute;background-color:var(--theme-tab-indicator--background);width:100%;height:var(--theme-tab-indicator--height);left:0}:host .text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}:host .text span,:host .text span::before{pointer-events:none}:host .circle{display:flex;justify-content:center;align-items:center;height:3rem;width:3rem;background-color:var(--theme-animated-tab-indicator--background);border-radius:50%;border:2px solid var(--theme-animated-tab-circle--border-color);color:var(--theme-an…icon--color);cursor:pointer}:host .circle.selected:not(.disabled){background-color:var(--theme-animated-tab-circle--background--selected);color:var(--theme-animated-tab-icon--color--selected);border-color:var(--theme-animated-tab-circle--border-color--selected)}:host .circle.selected:not(.disabled):hover{background-color:var(--theme-animated-tab-circle--background--selected)}:host .circle:hover{background-color:var(--theme-animated-tab-circle--background--hover)}:host .circle:active{background-color:var(--theme-animated-tab-circle--background--active)}:host .circle:active{background-color:var(--theme-animated-tab-circle--background--active)}:host .circle.disabled{background-color:var(--theme-animated-tab-circle--background--disabled);border-color:var(--theme-animated-tab-circle--border-color--disabled)}:host .counter{position:absolute;z-index:1;height:16px;width:auto;background-color:var(--theme-pill-outline--background);border:1px solid var(--theme-tab-pill--border-color);border-radius:100px;bottom:6px;display:flex;justify-content:center;align-items:center;padding-left:0.25rem;padding-right:0.25rem;font-size:12px;line-height:14px;color:var(--theme-pill-outline--color);cursor:pointer}:host .counter.selected{border-color:var(--theme-tab-pill--border-color--selected)}:host .counter.disabled{border-color:var(--theme-tab-pill--border-color--disabled)}:host .hidden{display:none}:host(.circle){height:72px}:host(.top)::after{top:0}:host(.bottom)::after{bottom:0}:host(.stretched){flex-basis:100%;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(:hover:not(.circle)){background-color:var(--theme-tab--background--hover);color:var(--theme-tab-color-hover);cursor:pointer}:host(:hover:not(.circle))::after{background-color:var(--theme-tab-indicator--background--hover)}:host(:active:not(.circle)){background-color:var(--theme-tab--background--active);color:var(--theme-tab-color--active)}:host(:active:not(.circle))::after{background-color:var(--theme-tab-indicator--background--active)}:host(:focus-visible){outline:0px solid var(--focus--border-color)}:host(:focus-visible) .circle{outline:1px solid var(--focus--border-color)}:host(:focus-visible:not(.circle)){outline:1px solid var(--focus--border-color)}:host(.disabled){pointer-events:none;color:var(--theme-tab--color--disabled);background-color:var(--theme-tab--background--disabled)}:host(.disabled)::after{background-color:var(--theme-tab-indicator--background--disabled)}:host(.selected:not(.disabled)){background-color:var(--theme-tab--background--selected);color:var(--theme-tab--color--selected)}:host(.selected:not(.disabled))::after{background-color:var(--theme-tab-indicator--background--selected)}:host(.icon){padding:1.5rem 0.5rem}:host(.small-tab){height:32px;padding:1rem}:host(.small-tab.icon){padding:1rem 0.25rem}';const s=i;const c=class{constructor(r){t(this,r);this.tabClick=e(this,"tabClick",7);this.selected=false;this.disabled=false;this.small=false;this.icon=false;this.rounded=false;this.counter=undefined;this.layout="auto";this.placement="bottom"}tabItemClasses(t){return{selected:t.selected,disabled:t.disabled,"small-tab":t.small,icon:t.small,stretched:t.layout==="stretched",bottom:t.placement==="bottom",top:t.placement==="top",circle:t.circle}}render(){return r(o,{key:"b61de72c11dd4900ec0fd2ca5ebb8beaf98e8709",class:this.tabItemClasses({selected:this.selected,disabled:this.disabled,small:this.small,icon:this.icon,layout:this.layout,placement:this.placement,circle:this.rounded}),tabIndex:0,onClick:t=>{const e=this.tabClick.emit({nativeEvent:t});if(e.defaultPrevented){t.stopPropagation()}}},r("div",{key:"f348e684d80e233707c6e2a36ba3f4a882c59f7b",class:{circle:this.rounded,text:!this.rounded,selected:this.selected,disabled:this.disabled}},r("slot",{key:"d825fade370f3f9c4fdda4856886fba231d8f410"})),r("div",{key:"8eab5e1d95bd6412eeb840660b3d1f32343f21e6",class:{counter:true,selected:this.selected,hidden:!(this.rounded&&this.counter!==undefined),disabled:this.disabled}},this.counter))}};c.style=s;const l=t=>{if(typeof __zone_symbol__requestAnimationFrame==="function"){return __zone_symbol__requestAnimationFrame(t)}if(typeof requestAnimationFrame==="function"){return requestAnimationFrame(t)}return setTimeout(t)};const n=":host{width:auto;display:flex;align-items:center;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .tab-items{overflow:hidden;scroll-behavior:smooth;width:100%}:host .tab-items .items-content{display:flex;align-items:center}:host .arrow{position:absolute;display:flex;align-items:center;justify-content:center;width:32px;height:32px;top:0;bottom:0;left:0;margin:auto 0;border-radius:4px;color:var(--theme-btn-invisible-primary--color);background-color:var(--theme-btn-invisible-primary--background);z-index:2}:host .arrow:hover{color:var(--theme-btn-invisible-primary--color--hover);background-color:var(--theme-btn-invisible-primary--background--hover)}:host .arrow:active{color:var(--theme-btn-invisible-primary--color--active);background-color:var(--theme-btn-invisible-primary--background--active)}:host .arrow.right{left:auto;right:0}:host .overflow-shadow{display:block;position:relative;height:100%;width:100%;pointer-events:all}:host .overflow-shadow.shadow-left{-webkit-mask-image:linear-gradient(90deg, transparent 0px, black 45px);mask-image:linear-gradient(90deg, transparent 0px, black 45px)}:host .overflow-shadow.shadow-right{-webkit-mask-image:linear-gradient(90deg, black calc(100% - 45px), transparent 100%);mask-image:linear-gradient(90deg, black calc(100% - 45px), transparent 100%)}:host .overflow-shadow.shadow-both{-webkit-mask-image:linear-gradient(90deg, transparent 0px, black 45px, black calc(100% - 45px), transparent 100%);mask-image:linear-gradient(90deg, transparent 0px, black 45px, black calc(100% - 45px), transparent 100%)}";const h=n;const d=class{constructor(r){t(this,r);this.selectedChange=e(this,"selectedChange",7);this.windowStartSize=window.innerWidth;this.clickAction={timeout:null,isClick:true};this.small=false;this.rounded=false;this.selected=0;this.layout="auto";this.placement="bottom";this.totalItems=0;this.currentScrollAmount=0;this.scrollAmount=100;this.scrollActionAmount=0}get arrowLeftElement(){return this.hostElement.shadowRoot.querySelector("[data-arrow-left]")}get arrowRightElement(){return this.hostElement.shadowRoot.querySelector("[data-arrow-right]")}onWindowResize(){this.totalItems=0;this.totalItems=this.getTabs().length;if(this.windowStartSize===0)return this.windowStartSize=window.innerWidth;this.move(this.windowStartSize-window.innerWidth);this.windowStartSize=window.innerWidth}getTabs(){return Array.from(this.hostElement.querySelectorAll("ix-tab-item"))}getTab(t){return this.getTabs()[t]}getTabsWrapper(){return this.hostElement.shadowRoot.querySelector(".items-content")}showArrows(){try{const t=this.getTabsWrapper();return t.scrollWidth>Math.ceil(t.getBoundingClientRect().width)&&this.layout==="auto"}catch(t){return false}}showPreviousArrow(){try{return this.showArrows()&&this.scrollActionAmount<0}catch(t){return false}}showNextArrow(){try{const t=this.getTabsWrapper();const e=t.getBoundingClientRect();return this.showArrows()&&this.scrollActionAmount>(t.scrollWidth-e.width)*-1}catch(t){return false}}getArrowStyle(t){return{opacity:t?"1":"0",zIndex:t?"1":"-1"}}move(t,e=false){const r=this.getTabsWrapper();const o=(r.scrollWidth-r.getBoundingClientRect().width)*-1;t=this.currentScrollAmount+t;t=t>0?0:t<o?o:t;const a=[`transform: translateX(${t}px);`,e?"transition: all ease-in-out 400ms;":""].join("");r.setAttribute("style",a);if(e)this.currentScrollAmount=this.scrollActionAmount=t;else this.scrollActionAmount=t}moveTabToView(t){if(!this.showArrows())return;const e=this.getTab(t).getBoundingClientRect();const r=e.x*-1;this.move(r,true)}setSelected(t){this.selected=t}clickTab(t){if(this.dragStop()){return}const{defaultPrevented:e}=this.selectedChange.emit(t);if(e){return}this.setSelected(t);this.moveTabToView(t)}dragStart(t,e){if(!this.showArrows())return;if(e.button>0)return;this.clickAction.timeout=this.clickAction.timeout===null?setTimeout((()=>this.clickAction.isClick=false),300):null;const r=parseFloat(window.getComputedStyle(t).left);const o=e.clientX;const a=t=>this.dragMove(t,r,o);window.addEventListener("mouseup",(()=>{window.removeEventListener("mousemove",a,false);this.dragStop()}));window.addEventListener("mousemove",a,false)}dragMove(t,e,r){this.move(t.clientX+e-r)}dragStop(){clearTimeout(this.clickAction.timeout);this.clickAction.timeout=null;if(this.clickAction.isClick)return false;this.currentScrollAmount=this.scrollActionAmount;this.clickAction.isClick=true;return true}componentWillLoad(){const t=this.getTabs();t.map(((t,e)=>{if(this.small)t.setAttribute("small","true");if(this.rounded)t.setAttribute("rounded","true");t.setAttribute("layout",this.layout);t.setAttribute("selected",e===this.selected?"true":"false");t.setAttribute("placement",this.placement)}))}componentDidRender(){const t=this.getTabs();this.totalItems=t.length;t.map(((t,e)=>{t.setAttribute("selected",e===this.selected?"true":"false")}))}componentWillRender(){l((()=>{const t=this.showNextArrow();const e=this.showPreviousArrow();Object.assign(this.arrowLeftElement.style,this.getArrowStyle(e));Object.assign(this.arrowRightElement.style,this.getArrowStyle(t))}))}componentDidLoad(){const t=this.getTabs();t.forEach((t=>{t.addEventListener("mousedown",(e=>this.dragStart(t,e)))}))}onTabClick(t){if(t.defaultPrevented){return}const e=t.target;const r=this.getTabs();r.forEach(((t,r)=>{if(!t.disabled&&t===e){this.clickTab(r)}}))}render(){return r(o,{key:"a9c383f30565690984150c5bb5e144a50a08e422"},r("div",{key:"e505fbd880ce2eef0faf325c12a1352304f62345",class:"arrow","data-arrow-left":true,onClick:()=>this.move(this.scrollAmount,true)},r("ix-icon",{key:"390e636793050dec280c0af33f3f7f55a7955dbf",name:"chevron-left-small"})),r("div",{key:"190636a8f3eb4eedef2f9971285a807e94e84798",class:{"tab-items":true,"overflow-shadow":true,"shadow-left":this.showPreviousArrow(),"shadow-right":this.showNextArrow(),"shadow-both":this.showNextArrow()&&this.showPreviousArrow()}},r("div",{key:"3a93ba0ebc7bf708de196b86bfa640d941a67750",class:"items-content"},r("slot",{key:"504236daba4c544bd0b574e0b50556deaba8c9c8"}))),r("div",{key:"40dd25a8e3fac3840bdb6b8f2b76abccd090aaaa",class:"arrow right","data-arrow-right":true,onClick:()=>this.move(-this.scrollAmount,true)},r("ix-icon",{key:"c163d47af17bf1b9b85890d70ad2d90a1b842b9c",name:"chevron-right-small"})))}get hostElement(){return a(this)}};d.style=h;export{c as ix_tab_item,d as ix_tabs};
2
+ //# sourceMappingURL=p-6bd0ba14.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["tabItemCss","IxTabItemStyle0","TabItem","tabItemClasses","props","selected","disabled","small","icon","stretched","layout","bottom","placement","top","circle","render","h","Host","key","class","this","rounded","tabIndex","onClick","event","clientEvent","tabClick","emit","nativeEvent","defaultPrevented","stopPropagation","text","counter","hidden","undefined","requestAnimationFrameNoNgZone","callback","__zone_symbol__requestAnimationFrame","requestAnimationFrame","setTimeout","tabsCss","IxTabsStyle0","Tabs","windowStartSize","window","innerWidth","clickAction","timeout","isClick","arrowLeftElement","hostElement","shadowRoot","querySelector","arrowRightElement","onWindowResize","totalItems","getTabs","length","move","Array","from","querySelectorAll","getTab","getTabsWrapper","showArrows","tabWrapper","scrollWidth","Math","ceil","getBoundingClientRect","width","error","showPreviousArrow","scrollActionAmount","showNextArrow","tabWrapperRect","getArrowStyle","condition","opacity","zIndex","amount","click","maxScrollWidth","currentScrollAmount","styles","join","setAttribute","moveTabToView","tab","x","setSelected","index","clickTab","dragStop","selectedChange","dragStart","element","button","tabPositionX","parseFloat","getComputedStyle","left","mousedownPositionX","clientX","dragMove","addEventListener","removeEventListener","tabX","mousedownX","clearTimeout","componentWillLoad","tabs","map","componentDidRender","componentWillRender","previousArrow","Object","assign","style","componentDidLoad","forEach","onTabClick","target","scrollAmount","name"],"sources":["src/components/tab-item/tab-item.scss?tag=ix-tab-item&encapsulation=shadow","src/components/tab-item/tab-item.tsx","src/components/utils/requestAnimationFrame.ts","src/components/tabs/tabs.scss?tag=ix-tabs&encapsulation=shadow","src/components/tabs/tabs.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/text-truncation';\n@import 'mixins/hover';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 10px $large-space;\n line-height: 20px;\n font-size: 14px;\n font-weight: bold;\n background-color: var(--theme-tab--background);\n color: var(--theme-tab--color);\n\n &::after {\n content: '';\n position: absolute;\n background-color: var(--theme-tab-indicator--background);\n width: 100%;\n height: var(--theme-tab-indicator--height);\n left: 0;\n }\n\n .text {\n @include ellipsis;\n\n span,\n span::before {\n pointer-events: none;\n }\n\n vertical-align: middle;\n }\n\n .circle {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 3rem;\n width: 3rem;\n background-color: var(--theme-animated-tab-indicator--background);\n border-radius: 50%;\n border: 2px solid var(--theme-animated-tab-circle--border-color);\n color: var(--theme-an…icon--color);\n cursor: pointer;\n\n &.selected:not(.disabled) {\n background-color: var(--theme-animated-tab-circle--background--selected);\n color: var(--theme-animated-tab-icon--color--selected);\n border-color: var(--theme-animated-tab-circle--border-color--selected);\n\n &:hover {\n background-color: var(\n --theme-animated-tab-circle--background--selected\n );\n }\n }\n\n &:hover {\n background-color: var(--theme-animated-tab-circle--background--hover);\n }\n\n &:active {\n background-color: var(--theme-animated-tab-circle--background--active);\n }\n\n &:active {\n background-color: var(--theme-animated-tab-circle--background--active);\n }\n\n &.disabled {\n background-color: var(--theme-animated-tab-circle--background--disabled);\n border-color: var(--theme-animated-tab-circle--border-color--disabled);\n }\n }\n\n .counter {\n position: absolute;\n z-index: 1;\n height: 16px;\n width: auto;\n background-color: var(--theme-pill-outline--background);\n border: 1px solid var(--theme-tab-pill--border-color);\n border-radius: 100px;\n bottom: 6px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding-left: $tiny-space;\n padding-right: $tiny-space;\n font-size: 12px;\n line-height: 14px;\n color: var(--theme-pill-outline--color);\n cursor: pointer;\n\n &.selected {\n border-color: var(--theme-tab-pill--border-color--selected);\n }\n\n &.disabled {\n border-color: var(--theme-tab-pill--border-color--disabled);\n }\n }\n\n .hidden {\n display: none;\n }\n}\n\n:host(.circle) {\n height: 72px;\n}\n\n:host(.top) {\n &::after {\n top: 0;\n }\n}\n\n:host(.bottom) {\n &::after {\n bottom: 0;\n }\n}\n\n:host(.stretched) {\n flex-basis: 100%;\n width: 100%;\n @include ellipsis;\n}\n\n:host(:hover:not(.circle)) {\n background-color: var(--theme-tab--background--hover);\n color: var(--theme-tab-color-hover);\n cursor: pointer;\n\n &::after {\n background-color: var(--theme-tab-indicator--background--hover);\n }\n}\n\n:host(:active:not(.circle)) {\n background-color: var(--theme-tab--background--active);\n color: var(--theme-tab-color--active);\n\n &::after {\n background-color: var(--theme-tab-indicator--background--active);\n }\n}\n\n:host(:focus-visible) {\n outline: 0px solid var(--focus--border-color);\n\n .circle {\n outline: 1px solid var(--focus--border-color);\n }\n}\n\n:host(:focus-visible:not(.circle)) {\n outline: 1px solid var(--focus--border-color);\n}\n\n:host(.disabled) {\n pointer-events: none;\n color: var(--theme-tab--color--disabled);\n background-color: var(--theme-tab--background--disabled);\n\n &::after {\n background-color: var(--theme-tab-indicator--background--disabled);\n }\n}\n\n:host(.selected:not(.disabled)) {\n background-color: var(--theme-tab--background--selected);\n color: var(--theme-tab--color--selected);\n\n &::after {\n background-color: var(--theme-tab-indicator--background--selected);\n }\n}\n\n:host(.icon) {\n padding: $large-space $small-space;\n}\n\n:host(.small-tab) {\n height: 32px;\n padding: $default-space;\n}\n\n:host(.small-tab.icon) {\n padding: $default-space $tiny-space;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\n\nexport type TabClickDetail = {\n nativeEvent: MouseEvent;\n};\n\n@Component({\n tag: 'ix-tab-item',\n styleUrl: 'tab-item.scss',\n shadow: true,\n})\nexport class TabItem {\n /**\n * Set selected tab\n */\n @Prop() selected = false;\n\n /**\n * Set disabled tab\n */\n @Prop() disabled = false;\n\n /**\n * Set small size tab\n */\n @Prop() small = false;\n\n /**\n * Set icon only tab\n */\n @Prop() icon = false;\n\n /**\n * Set rounded tab\n */\n @Prop() rounded = false;\n\n /**\n * Set counter value\n */\n @Prop() counter: number;\n\n /**\n * Set layout width style\n */\n @Prop() layout: 'auto' | 'stretched' = 'auto';\n\n /**\n * Set selected placement\n */\n @Prop() placement: 'bottom' | 'top' = 'bottom';\n\n /**\n * On tab click\n *\n * @since 2.0.0\n */\n @Event() tabClick: EventEmitter<TabClickDetail>;\n\n private tabItemClasses(props: {\n selected: boolean;\n disabled: boolean;\n small: boolean;\n icon: boolean;\n circle: boolean;\n layout: 'auto' | 'stretched';\n placement: 'bottom' | 'top';\n }) {\n return {\n selected: props.selected,\n disabled: props.disabled,\n 'small-tab': props.small,\n icon: props.small,\n stretched: props.layout === 'stretched',\n bottom: props.placement === 'bottom',\n top: props.placement === 'top',\n circle: props.circle,\n };\n }\n\n render() {\n return (\n <Host\n class={this.tabItemClasses({\n selected: this.selected,\n disabled: this.disabled,\n small: this.small,\n icon: this.icon,\n layout: this.layout,\n placement: this.placement,\n circle: this.rounded,\n })}\n tabIndex={0}\n onClick={(event: MouseEvent) => {\n const clientEvent = this.tabClick.emit({\n nativeEvent: event,\n });\n\n if (clientEvent.defaultPrevented) {\n event.stopPropagation();\n }\n }}\n >\n <div\n class={{\n circle: this.rounded,\n text: !this.rounded,\n selected: this.selected,\n disabled: this.disabled,\n }}\n >\n <slot></slot>\n </div>\n <div\n class={{\n counter: true,\n selected: this.selected,\n hidden: !(this.rounded && this.counter !== undefined),\n disabled: this.disabled,\n }}\n >\n {this.counter}\n </div>\n </Host>\n );\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\ndeclare const __zone_symbol__requestAnimationFrame: any;\n\n/**\n * Prevents angular from change detection when requesting an animation frame\n *\n * Credits goes to:\n * https://github.com/ionic-team/ionic-framework/blob/main/core/src/utils/helpers.ts\n */\nexport const requestAnimationFrameNoNgZone = (\n callback: (...args: any[]) => void\n) => {\n if (typeof __zone_symbol__requestAnimationFrame === 'function') {\n return __zone_symbol__requestAnimationFrame(callback);\n }\n if (typeof requestAnimationFrame === 'function') {\n return requestAnimationFrame(callback);\n }\n return setTimeout(callback);\n};\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n width: auto;\n display: flex;\n align-items: center;\n position: relative;\n\n .tab-items {\n overflow: hidden;\n scroll-behavior: smooth;\n width: 100%;\n\n .items-content {\n display: flex;\n align-items: center;\n }\n }\n\n .arrow {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n top: 0;\n bottom: 0;\n left: 0;\n margin: auto 0;\n border-radius: 4px;\n color: var(--theme-btn-invisible-primary--color);\n background-color: var(--theme-btn-invisible-primary--background);\n z-index: 2;\n\n &:hover {\n color: var(--theme-btn-invisible-primary--color--hover);\n background-color: var(--theme-btn-invisible-primary--background--hover);\n }\n\n &:active {\n color: var(--theme-btn-invisible-primary--color--active);\n background-color: var(--theme-btn-invisible-primary--background--active);\n }\n\n &.right {\n left: auto;\n right: 0;\n }\n }\n\n .overflow-shadow {\n display: block;\n position: relative;\n height: 100%;\n width: 100%;\n pointer-events: all;\n\n &.shadow-left {\n mask-image: linear-gradient(90deg, transparent 0px, black 45px);\n }\n\n &.shadow-right {\n mask-image: linear-gradient(\n 90deg,\n black calc(100% - 45px),\n transparent 100%\n );\n }\n\n &.shadow-both {\n mask-image: linear-gradient(\n 90deg,\n transparent 0px,\n black 45px,\n black calc(100% - 45px),\n transparent 100%\n );\n }\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n} from '@stencil/core';\nimport { requestAnimationFrameNoNgZone } from '../utils/requestAnimationFrame';\n\n@Component({\n tag: 'ix-tabs',\n styleUrl: 'tabs.scss',\n shadow: true,\n})\nexport class Tabs {\n @Element() hostElement!: HTMLIxTabsElement;\n\n /**\n * Set tab items to small size\n */\n @Prop() small = false;\n\n /**\n * Set rounded tabs\n */\n @Prop() rounded = false;\n\n /**\n * Set default selected tab by index\n */\n @Prop({ mutable: true }) selected = 0;\n\n /**\n * Set layout width style\n */\n @Prop() layout: 'auto' | 'stretched' = 'auto';\n\n /**\n * Set placement style\n */\n @Prop() placement: 'bottom' | 'top' = 'bottom';\n\n /**\n * `selected` property changed\n *\n * @since 2.0.0\n */\n @Event() selectedChange: EventEmitter<number>;\n\n @State() totalItems = 0;\n @State() currentScrollAmount = 0;\n @State() scrollAmount = 100;\n\n @State() scrollActionAmount = 0;\n\n private windowStartSize = window.innerWidth;\n\n private get arrowLeftElement() {\n return this.hostElement.shadowRoot.querySelector(\n '[data-arrow-left]'\n ) as HTMLElement;\n }\n\n private get arrowRightElement() {\n return this.hostElement.shadowRoot.querySelector(\n '[data-arrow-right]'\n ) as HTMLElement;\n }\n\n private clickAction: {\n timeout: NodeJS.Timeout;\n isClick: boolean;\n } = {\n timeout: null,\n isClick: true,\n };\n\n @Listen('resize', { target: 'window' })\n onWindowResize() {\n this.totalItems = 0;\n this.totalItems = this.getTabs().length;\n\n if (this.windowStartSize === 0)\n return (this.windowStartSize = window.innerWidth);\n this.move(this.windowStartSize - window.innerWidth);\n this.windowStartSize = window.innerWidth;\n }\n\n private getTabs() {\n return Array.from(this.hostElement.querySelectorAll('ix-tab-item'));\n }\n\n private getTab(tabIndex: number) {\n return this.getTabs()[tabIndex];\n }\n\n private getTabsWrapper() {\n return this.hostElement.shadowRoot.querySelector('.items-content');\n }\n\n private showArrows() {\n try {\n const tabWrapper = this.getTabsWrapper();\n return (\n tabWrapper.scrollWidth >\n Math.ceil(tabWrapper.getBoundingClientRect().width) &&\n this.layout === 'auto'\n );\n } catch (error) {\n return false;\n }\n }\n\n private showPreviousArrow() {\n try {\n return this.showArrows() && this.scrollActionAmount < 0;\n } catch (error) {\n return false;\n }\n }\n\n private showNextArrow() {\n try {\n const tabWrapper = this.getTabsWrapper();\n const tabWrapperRect = tabWrapper.getBoundingClientRect();\n\n return (\n this.showArrows() &&\n this.scrollActionAmount >\n (tabWrapper.scrollWidth - tabWrapperRect.width) * -1\n );\n } catch (error) {\n return false;\n }\n }\n\n private getArrowStyle(condition: boolean) {\n return {\n opacity: condition ? '1' : '0',\n zIndex: condition ? '1' : '-1',\n };\n }\n\n private move(amount: number, click = false) {\n const tabWrapper = this.getTabsWrapper();\n const maxScrollWidth =\n (tabWrapper.scrollWidth - tabWrapper.getBoundingClientRect().width) * -1;\n\n amount = this.currentScrollAmount + amount;\n amount = amount > 0 ? 0 : amount < maxScrollWidth ? maxScrollWidth : amount;\n\n const styles = [\n `transform: translateX(${amount}px);`,\n click ? 'transition: all ease-in-out 400ms;' : '',\n ].join('');\n\n tabWrapper.setAttribute('style', styles);\n\n if (click) this.currentScrollAmount = this.scrollActionAmount = amount;\n else this.scrollActionAmount = amount;\n }\n\n private moveTabToView(tabIndex: number) {\n if (!this.showArrows()) return;\n\n const tab = this.getTab(tabIndex).getBoundingClientRect();\n const amount = tab.x * -1;\n this.move(amount, true);\n }\n\n private setSelected(index: number) {\n this.selected = index;\n }\n\n private clickTab(index: number) {\n if (this.dragStop()) {\n return;\n }\n\n const { defaultPrevented } = this.selectedChange.emit(index);\n if (defaultPrevented) {\n return;\n }\n\n this.setSelected(index);\n this.moveTabToView(index);\n }\n\n private dragStart(element: HTMLIxTabItemElement, event: MouseEvent) {\n if (!this.showArrows()) return;\n if (event.button > 0) return;\n\n this.clickAction.timeout =\n this.clickAction.timeout === null\n ? setTimeout(() => (this.clickAction.isClick = false), 300)\n : null;\n\n const tabPositionX = parseFloat(window.getComputedStyle(element).left);\n const mousedownPositionX = event.clientX;\n const move = (event: MouseEvent) =>\n this.dragMove(event, tabPositionX, mousedownPositionX);\n\n window.addEventListener('mouseup', () => {\n window.removeEventListener('mousemove', move, false);\n this.dragStop();\n });\n window.addEventListener('mousemove', move, false);\n }\n\n private dragMove(event: MouseEvent, tabX: number, mousedownX: number) {\n this.move(event.clientX + tabX - mousedownX);\n }\n\n private dragStop() {\n clearTimeout(this.clickAction.timeout);\n this.clickAction.timeout = null;\n\n if (this.clickAction.isClick) return false;\n\n this.currentScrollAmount = this.scrollActionAmount;\n this.clickAction.isClick = true;\n\n return true;\n }\n\n componentWillLoad() {\n const tabs = this.getTabs();\n\n tabs.map((element, index) => {\n if (this.small) element.setAttribute('small', 'true');\n\n if (this.rounded) element.setAttribute('rounded', 'true');\n\n element.setAttribute('layout', this.layout);\n element.setAttribute(\n 'selected',\n index === this.selected ? 'true' : 'false'\n );\n\n element.setAttribute('placement', this.placement);\n });\n }\n\n componentDidRender() {\n const tabs = this.getTabs();\n this.totalItems = tabs.length;\n\n tabs.map((element, index) => {\n element.setAttribute(\n 'selected',\n index === this.selected ? 'true' : 'false'\n );\n });\n }\n\n componentWillRender() {\n requestAnimationFrameNoNgZone(() => {\n const showNextArrow = this.showNextArrow();\n const previousArrow = this.showPreviousArrow();\n\n Object.assign(\n this.arrowLeftElement.style,\n this.getArrowStyle(previousArrow)\n );\n Object.assign(\n this.arrowRightElement.style,\n this.getArrowStyle(showNextArrow)\n );\n });\n }\n\n componentDidLoad() {\n const tabs = this.getTabs();\n tabs.forEach((element) => {\n element.addEventListener('mousedown', (event) =>\n this.dragStart(element, event)\n );\n });\n }\n\n @Listen('tabClick')\n onTabClick(event: CustomEvent) {\n if (event.defaultPrevented) {\n return;\n }\n\n const target = event.target;\n const tabs = this.getTabs();\n\n tabs.forEach((tab, index) => {\n if (!tab.disabled && tab === target) {\n this.clickTab(index);\n }\n });\n }\n\n render() {\n return (\n <Host>\n <div\n class=\"arrow\"\n data-arrow-left\n onClick={() => this.move(this.scrollAmount, true)}\n >\n <ix-icon name={'chevron-left-small'}></ix-icon>\n </div>\n <div\n class={{\n 'tab-items': true,\n 'overflow-shadow': true,\n 'shadow-left': this.showPreviousArrow(),\n 'shadow-right': this.showNextArrow(),\n 'shadow-both': this.showNextArrow() && this.showPreviousArrow(),\n }}\n >\n <div class=\"items-content\">\n <slot></slot>\n </div>\n </div>\n <div\n class=\"arrow right\"\n data-arrow-right\n onClick={() => this.move(-this.scrollAmount, true)}\n >\n <ix-icon name={'chevron-right-small'}></ix-icon>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"gEAAA,MAAMA,EAAa,mzIACnB,MAAAC,EAAeD,E,MCmBFE,EAAO,M,0EAIC,M,cAKA,M,WAKH,M,UAKD,M,aAKG,M,mCAUqB,O,eAKD,Q,CAS9B,cAAAC,CAAeC,GASrB,MAAO,CACLC,SAAUD,EAAMC,SAChBC,SAAUF,EAAME,SAChB,YAAaF,EAAMG,MACnBC,KAAMJ,EAAMG,MACZE,UAAWL,EAAMM,SAAW,YAC5BC,OAAQP,EAAMQ,YAAc,SAC5BC,IAAKT,EAAMQ,YAAc,MACzBE,OAAQV,EAAMU,O,CAIlB,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,MAAOC,KAAKjB,eAAe,CACzBE,SAAUe,KAAKf,SACfC,SAAUc,KAAKd,SACfC,MAAOa,KAAKb,MACZC,KAAMY,KAAKZ,KACXE,OAAQU,KAAKV,OACbE,UAAWQ,KAAKR,UAChBE,OAAQM,KAAKC,UAEfC,SAAU,EACVC,QAAUC,IACR,MAAMC,EAAcL,KAAKM,SAASC,KAAK,CACrCC,YAAaJ,IAGf,GAAIC,EAAYI,iBAAkB,CAChCL,EAAMM,iB,IAIVd,EAAA,OAAAE,IAAA,2CACEC,MAAO,CACLL,OAAQM,KAAKC,QACbU,MAAOX,KAAKC,QACZhB,SAAUe,KAAKf,SACfC,SAAUc,KAAKd,WAGjBU,EAAA,QAAAE,IAAA,8CAEFF,EAAA,OAAAE,IAAA,2CACEC,MAAO,CACLa,QAAS,KACT3B,SAAUe,KAAKf,SACf4B,SAAUb,KAAKC,SAAWD,KAAKY,UAAYE,WAC3C5B,SAAUc,KAAKd,WAGhBc,KAAKY,S,aCjHT,MAAMG,EACXC,IAEA,UAAWC,uCAAyC,WAAY,CAC9D,OAAOA,qCAAqCD,E,CAE9C,UAAWE,wBAA0B,WAAY,CAC/C,OAAOA,sBAAsBF,E,CAE/B,OAAOG,WAAWH,EAAS,EC1B7B,MAAMI,EAAU,uvEAChB,MAAAC,EAAeD,E,MC0BFE,EAAI,M,wEAyCPtB,KAAAuB,gBAAkBC,OAAOC,WAczBzB,KAAA0B,YAGJ,CACFC,QAAS,KACTC,QAAS,M,WAtDK,M,aAKE,M,cAKkB,E,YAKG,O,eAKD,S,gBAShB,E,yBACS,E,kBACP,I,wBAEM,C,CAI9B,oBAAYC,GACV,OAAO7B,KAAK8B,YAAYC,WAAWC,cACjC,oB,CAIJ,qBAAYC,GACV,OAAOjC,KAAK8B,YAAYC,WAAWC,cACjC,qB,CAaJ,cAAAE,GACElC,KAAKmC,WAAa,EAClBnC,KAAKmC,WAAanC,KAAKoC,UAAUC,OAEjC,GAAIrC,KAAKuB,kBAAoB,EAC3B,OAAQvB,KAAKuB,gBAAkBC,OAAOC,WACxCzB,KAAKsC,KAAKtC,KAAKuB,gBAAkBC,OAAOC,YACxCzB,KAAKuB,gBAAkBC,OAAOC,U,CAGxB,OAAAW,GACN,OAAOG,MAAMC,KAAKxC,KAAK8B,YAAYW,iBAAiB,e,CAG9C,MAAAC,CAAOxC,GACb,OAAOF,KAAKoC,UAAUlC,E,CAGhB,cAAAyC,GACN,OAAO3C,KAAK8B,YAAYC,WAAWC,cAAc,iB,CAG3C,UAAAY,GACN,IACE,MAAMC,EAAa7C,KAAK2C,iBACxB,OACEE,EAAWC,YACTC,KAAKC,KAAKH,EAAWI,wBAAwBC,QAC/ClD,KAAKV,SAAW,M,CAElB,MAAO6D,GACP,OAAO,K,EAIH,iBAAAC,GACN,IACE,OAAOpD,KAAK4C,cAAgB5C,KAAKqD,mBAAqB,C,CACtD,MAAOF,GACP,OAAO,K,EAIH,aAAAG,GACN,IACE,MAAMT,EAAa7C,KAAK2C,iBACxB,MAAMY,EAAiBV,EAAWI,wBAElC,OACEjD,KAAK4C,cACL5C,KAAKqD,oBACFR,EAAWC,YAAcS,EAAeL,QAAU,C,CAEvD,MAAOC,GACP,OAAO,K,EAIH,aAAAK,CAAcC,GACpB,MAAO,CACLC,QAASD,EAAY,IAAM,IAC3BE,OAAQF,EAAY,IAAM,K,CAItB,IAAAnB,CAAKsB,EAAgBC,EAAQ,OACnC,MAAMhB,EAAa7C,KAAK2C,iBACxB,MAAMmB,GACHjB,EAAWC,YAAcD,EAAWI,wBAAwBC,QAAU,EAEzEU,EAAS5D,KAAK+D,oBAAsBH,EACpCA,EAASA,EAAS,EAAI,EAAIA,EAASE,EAAiBA,EAAiBF,EAErE,MAAMI,EAAS,CACb,yBAAyBJ,QACzBC,EAAQ,qCAAuC,IAC/CI,KAAK,IAEPpB,EAAWqB,aAAa,QAASF,GAEjC,GAAIH,EAAO7D,KAAK+D,oBAAsB/D,KAAKqD,mBAAqBO,OAC3D5D,KAAKqD,mBAAqBO,C,CAGzB,aAAAO,CAAcjE,GACpB,IAAKF,KAAK4C,aAAc,OAExB,MAAMwB,EAAMpE,KAAK0C,OAAOxC,GAAU+C,wBAClC,MAAMW,EAASQ,EAAIC,GAAK,EACxBrE,KAAKsC,KAAKsB,EAAQ,K,CAGZ,WAAAU,CAAYC,GAClBvE,KAAKf,SAAWsF,C,CAGV,QAAAC,CAASD,GACf,GAAIvE,KAAKyE,WAAY,CACnB,M,CAGF,MAAMhE,iBAAEA,GAAqBT,KAAK0E,eAAenE,KAAKgE,GACtD,GAAI9D,EAAkB,CACpB,M,CAGFT,KAAKsE,YAAYC,GACjBvE,KAAKmE,cAAcI,E,CAGb,SAAAI,CAAUC,EAA+BxE,GAC/C,IAAKJ,KAAK4C,aAAc,OACxB,GAAIxC,EAAMyE,OAAS,EAAG,OAEtB7E,KAAK0B,YAAYC,QACf3B,KAAK0B,YAAYC,UAAY,KACzBR,YAAW,IAAOnB,KAAK0B,YAAYE,QAAU,OAAQ,KACrD,KAEN,MAAMkD,EAAeC,WAAWvD,OAAOwD,iBAAiBJ,GAASK,MACjE,MAAMC,EAAqB9E,EAAM+E,QACjC,MAAM7C,EAAQlC,GACZJ,KAAKoF,SAAShF,EAAO0E,EAAcI,GAErC1D,OAAO6D,iBAAiB,WAAW,KACjC7D,OAAO8D,oBAAoB,YAAahD,EAAM,OAC9CtC,KAAKyE,UAAU,IAEjBjD,OAAO6D,iBAAiB,YAAa/C,EAAM,M,CAGrC,QAAA8C,CAAShF,EAAmBmF,EAAcC,GAChDxF,KAAKsC,KAAKlC,EAAM+E,QAAUI,EAAOC,E,CAG3B,QAAAf,GACNgB,aAAazF,KAAK0B,YAAYC,SAC9B3B,KAAK0B,YAAYC,QAAU,KAE3B,GAAI3B,KAAK0B,YAAYE,QAAS,OAAO,MAErC5B,KAAK+D,oBAAsB/D,KAAKqD,mBAChCrD,KAAK0B,YAAYE,QAAU,KAE3B,OAAO,I,CAGT,iBAAA8D,GACE,MAAMC,EAAO3F,KAAKoC,UAElBuD,EAAKC,KAAI,CAAChB,EAASL,KACjB,GAAIvE,KAAKb,MAAOyF,EAAQV,aAAa,QAAS,QAE9C,GAAIlE,KAAKC,QAAS2E,EAAQV,aAAa,UAAW,QAElDU,EAAQV,aAAa,SAAUlE,KAAKV,QACpCsF,EAAQV,aACN,WACAK,IAAUvE,KAAKf,SAAW,OAAS,SAGrC2F,EAAQV,aAAa,YAAalE,KAAKR,UAAU,G,CAIrD,kBAAAqG,GACE,MAAMF,EAAO3F,KAAKoC,UAClBpC,KAAKmC,WAAawD,EAAKtD,OAEvBsD,EAAKC,KAAI,CAAChB,EAASL,KACjBK,EAAQV,aACN,WACAK,IAAUvE,KAAKf,SAAW,OAAS,QACpC,G,CAIL,mBAAA6G,GACE/E,GAA8B,KAC5B,MAAMuC,EAAgBtD,KAAKsD,gBAC3B,MAAMyC,EAAgB/F,KAAKoD,oBAE3B4C,OAAOC,OACLjG,KAAK6B,iBAAiBqE,MACtBlG,KAAKwD,cAAcuC,IAErBC,OAAOC,OACLjG,KAAKiC,kBAAkBiE,MACvBlG,KAAKwD,cAAcF,GACpB,G,CAIL,gBAAA6C,GACE,MAAMR,EAAO3F,KAAKoC,UAClBuD,EAAKS,SAASxB,IACZA,EAAQS,iBAAiB,aAAcjF,GACrCJ,KAAK2E,UAAUC,EAASxE,IACzB,G,CAKL,UAAAiG,CAAWjG,GACT,GAAIA,EAAMK,iBAAkB,CAC1B,M,CAGF,MAAM6F,EAASlG,EAAMkG,OACrB,MAAMX,EAAO3F,KAAKoC,UAElBuD,EAAKS,SAAQ,CAAChC,EAAKG,KACjB,IAAKH,EAAIlF,UAAYkF,IAAQkC,EAAQ,CACnCtG,KAAKwE,SAASD,E,KAKpB,MAAA5E,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,OAAAE,IAAA,2CACEC,MAAM,QAAO,uBAEbI,QAAS,IAAMH,KAAKsC,KAAKtC,KAAKuG,aAAc,OAE5C3G,EAAA,WAAAE,IAAA,2CAAS0G,KAAM,wBAEjB5G,EAAA,OAAAE,IAAA,2CACEC,MAAO,CACL,YAAa,KACb,kBAAmB,KACnB,cAAeC,KAAKoD,oBACpB,eAAgBpD,KAAKsD,gBACrB,cAAetD,KAAKsD,iBAAmBtD,KAAKoD,sBAG9CxD,EAAA,OAAAE,IAAA,2CAAKC,MAAM,iBACTH,EAAA,QAAAE,IAAA,+CAGJF,EAAA,OAAAE,IAAA,2CACEC,MAAM,cAAa,wBAEnBI,QAAS,IAAMH,KAAKsC,MAAMtC,KAAKuG,aAAc,OAE7C3G,EAAA,WAAAE,IAAA,2CAAS0G,KAAM,yB"}
@@ -0,0 +1,2 @@
1
+ import{r as e,c as o,h as t,H as r,g as s}from"./p-f86a894a.js";const i=":host{display:inline-flex;align-items:center;justify-content:space-between;height:1.5rem;padding-left:0.5rem;border:var(--theme-focus--border-thickness) solid var(--theme-chip-primary-outline--border-color);border-radius:2rem;background-color:var(--theme-color-ghost);color:var(--theme-chip-primary-outline--color)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .slot-container :host-context(.disabled){background-color:var(--theme-color-ghost);border-color:var(--theme-color-component-4);color:var(--theme-color-weak-text)}:host ix-icon-button{height:1.5rem;margin-left:0.25rem}:host ix-icon-button:not(.disabled):not(:disabled):focus-visible{outline:none}:host(.disabled){border:var(--theme-focus--border-thickness) solid var(--theme-color-component-4);color:var(--theme-color-weak-text);padding-right:0.5rem;cursor:default}:host(.readonly){padding-right:0.5rem}:host(:not(.disabled):not(:disabled)){cursor:pointer}:host(:hover:not(.disabled):not(:disabled)){background-color:var(--theme-color-ghost-primary--hover);border-color:var(--theme-chip-primary-outline--border-color--hover);color:var(--theme-chip-primary-outline--color--hover)}:host(:not(.disabled):not(:disabled)){cursor:pointer}:host(:active:not(.disabled):not(:disabled)){background-color:var(--theme-color-ghost-primary--active);border-color:var(--theme-chip-primary-outline--border-color--active);color:var(--theme-chip-primary-outline--color--active)}:host(:focus-visible:not(.disabled):not(:disabled)){outline:var(--theme-color-focus-bdr) solid var(--theme-focus--border-thickness);outline-offset:-0.125rem}";const a=i;const l=class{constructor(t){e(this,t);this.closeClick=o(this,"closeClick",7);this.disabled=false;this.readonly=false}onCloseClick(e){e.preventDefault();e.stopPropagation();this.closeClick.emit()}render(){return t(r,{key:"bf35dffa46aa0bada710873d7c0c5fbf4d43f990",class:{disabled:this.disabled,readonly:this.readonly},title:this.el.textContent},t("div",{key:"15ab4708d5b565fc01f9669749b5a69b195b5246",class:"slot-container"},t("slot",{key:"aaa388917c566ffa54b320a28eb9001ef3de8aa7"})),!this.disabled&&!this.readonly?t("ix-icon-button",{ghost:true,oval:true,icon:"close-small",size:"16",tabindex:this.disabled?-1:0,variant:"primary",disabled:this.disabled,onClick:e=>this.onCloseClick(e)}):null)}get el(){return s(this)}};l.style=a;class c extends CustomEvent{constructor(e){super("ix-select-item:labelChange",{bubbles:true,detail:e})}}const n=":host{display:block;position:relative}:host>ix-dropdown-item{width:100%}:host ix-dropdown-item{color:var(--theme-color-std-text)}:host .select-item-checked{background-color:var(--theme-select-list-item--background--selected);--ix-dropdown-item-checked-color:var(--theme-color-std-text)}:host(.d-none){display:none}";const h=n;const d=class{constructor(t){e(this,t);this.itemClick=o(this,"itemClick",7);this.label=undefined;this.value=undefined;this.selected=false;this.hover=false}async getDropdownItemElement(){return this.dropdownItem}async onItemClick(e){e===null||e===void 0?void 0:e.preventDefault();e===null||e===void 0?void 0:e.stopPropagation();this.itemClick.emit(this.value)}get dropdownItem(){return this.hostElement.querySelector("ix-dropdown-item")}componentDidRender(){if(this.value===undefined||this.value===null){throw Error("ix-select-item must have a `value` property")}}labelChange(e,o){this.hostElement.dispatchEvent(new c({newValue:e,oldValue:o}))}render(){return t(r,{key:"37ee480d0d9be8cd0df7ae5da8b841aa0da94d18"},t("ix-dropdown-item",{key:"a9566d4bb0c0586bbf592f9b3f971cb117213c9a",class:{"select-item-checked":this.selected},checked:this.selected,label:this.label?this.label:this.value,onItemClick:e=>this.onItemClick(e)}))}get hostElement(){return s(this)}static get watchers(){return{label:["labelChange"]}}};d.style=h;export{l as ix_filter_chip,d as ix_select_item};
2
+ //# sourceMappingURL=p-6c412b52.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["filterChipCss","IxFilterChipStyle0","FilterChip","onCloseClick","event","preventDefault","stopPropagation","this","closeClick","emit","render","h","Host","key","class","disabled","readonly","title","el","textContent","ghost","oval","icon","size","tabindex","variant","onClick","e","IxSelectItemLabelChangeEvent","CustomEvent","constructor","detail","super","bubbles","selectItemCss","IxSelectItemStyle0","SelectItem","getDropdownItemElement","dropdownItem","onItemClick","itemClick","value","hostElement","querySelector","componentDidRender","undefined","Error","labelChange","newValue","oldValue","dispatchEvent","selected","checked","label"],"sources":["src/components/filter-chip/filter-chip.scss?tag=ix-filter-chip&encapsulation=shadow","src/components/filter-chip/filter-chip.tsx","src/components/select-item/events.ts","src/components/select-item/select-item.scss?tag=ix-select-item&encapsulation=shadow","src/components/select-item/select-item.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: inline-flex;\n align-items: center;\n justify-content: space-between;\n height: $large-space;\n padding-left: $small-space;\n border: var(--theme-focus--border-thickness) solid\n var(--theme-chip-primary-outline--border-color);\n border-radius: $x-large-space;\n background-color: var(--theme-color-ghost);\n color: var(--theme-chip-primary-outline--color);\n\n .slot-container {\n @include ellipsis;\n\n :host-context(.disabled) {\n background-color: var(--theme-color-ghost);\n border-color: var(--theme-color-component-4);\n color: var(--theme-color-weak-text);\n }\n }\n\n ix-icon-button {\n height: $large-space;\n margin-left: 0.25rem;\n\n @include focus-visible {\n outline: none;\n }\n }\n}\n\n:host(.disabled) {\n border: var(--theme-focus--border-thickness) solid\n var(--theme-color-component-4);\n color: var(--theme-color-weak-text);\n padding-right: $small-space;\n\n cursor: default;\n}\n\n:host(.readonly) {\n padding-right: $small-space;\n}\n\n@include host-hover {\n background-color: var(--theme-color-ghost-primary--hover);\n border-color: var(--theme-chip-primary-outline--border-color--hover);\n color: var(--theme-chip-primary-outline--color--hover);\n}\n\n@include host-active {\n background-color: var(--theme-color-ghost-primary--active);\n border-color: var(--theme-chip-primary-outline--border-color--active);\n color: var(--theme-chip-primary-outline--color--active);\n}\n\n@include host-focus-visible {\n outline: var(--theme-color-focus-bdr) solid\n var(--theme-focus--border-thickness);\n outline-offset: -0.125rem;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'ix-filter-chip',\n styleUrl: 'filter-chip.scss',\n shadow: true,\n})\nexport class FilterChip {\n @Element() el: HTMLIxFilterChipElement;\n\n /**\n * If true the filter chip will be in disabled state\n */\n @Prop() disabled = false;\n\n /**\n * If true the filter chip will be in readonly mode\n * @since 2.0.0\n */\n @Prop() readonly = false;\n\n /**\n * Close clicked\n */\n @Event() closeClick: EventEmitter<void>;\n\n private onCloseClick(event: Event) {\n event.preventDefault();\n event.stopPropagation();\n this.closeClick.emit();\n }\n\n render() {\n return (\n <Host\n class={{ disabled: this.disabled, readonly: this.readonly }}\n title={this.el.textContent}\n >\n <div class=\"slot-container\">\n <slot></slot>\n </div>\n {!this.disabled && !this.readonly ? (\n <ix-icon-button\n ghost\n oval\n icon={'close-small'}\n size=\"16\"\n tabindex={this.disabled ? -1 : 0}\n variant=\"primary\"\n disabled={this.disabled}\n onClick={(e) => this.onCloseClick(e)}\n ></ix-icon-button>\n ) : null}\n </Host>\n );\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nexport class IxSelectItemLabelChangeEvent extends CustomEvent<{\n oldValue: string;\n newValue: string;\n}> {\n constructor(detail: { oldValue: string; newValue: string }) {\n super('ix-select-item:labelChange', {\n bubbles: true,\n detail,\n });\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n position: relative;\n\n > ix-dropdown-item {\n width: 100%;\n }\n\n ix-dropdown-item {\n color: var(--theme-color-std-text);\n }\n\n .select-item-checked {\n background-color: var(--theme-select-list-item--background--selected);\n --ix-dropdown-item-checked-color: var(--theme-color-std-text);\n }\n}\n\n:host(.d-none) {\n display: none;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { IxSelectItemLabelChangeEvent } from './events';\nimport { DropdownItemWrapper } from '../dropdown/dropdown-controller';\n\n@Component({\n tag: 'ix-select-item',\n styleUrl: 'select-item.scss',\n shadow: true,\n})\nexport class SelectItem implements DropdownItemWrapper {\n @Element() hostElement: HTMLIxSelectItemElement;\n\n /**\n * Displayed name of the item\n */\n @Prop({ reflect: true }) label: string;\n\n /**\n * The value of the item.\n * Important: The select component uses string values to handle selection and will call toString() on this value.\n * Therefor a string should be passed to value to prevent unexpected behavior.\n * @deprecated will be changed to type string with next major release (3.0.0)\n */\n @Prop({ reflect: true }) value!: any;\n\n /**\n * Flag indicating whether the item is selected\n */\n @Prop() selected = false;\n\n /**\n * @internal\n */\n @Prop() hover = false;\n\n /**\n * Item clicked\n */\n @Event() itemClick: EventEmitter<string>;\n\n /** @internal */\n @Method()\n async getDropdownItemElement(): Promise<HTMLIxDropdownItemElement> {\n return this.dropdownItem;\n }\n\n /**\n * @internal\n * @param event\n */\n @Method()\n async onItemClick(event?: CustomEvent<HTMLIxDropdownItemElement>) {\n event?.preventDefault();\n event?.stopPropagation();\n\n this.itemClick.emit(this.value);\n }\n\n get dropdownItem() {\n return this.hostElement.querySelector('ix-dropdown-item');\n }\n\n componentDidRender() {\n if (this.value === undefined || this.value === null) {\n throw Error('ix-select-item must have a `value` property');\n }\n }\n\n @Watch('label')\n labelChange(newValue: string, oldValue: string) {\n this.hostElement.dispatchEvent(\n new IxSelectItemLabelChangeEvent({\n newValue: newValue,\n oldValue: oldValue,\n })\n );\n }\n\n render() {\n return (\n <Host>\n <ix-dropdown-item\n class={{\n 'select-item-checked': this.selected,\n }}\n checked={this.selected}\n label={this.label ? this.label : this.value}\n onItemClick={(e) => this.onItemClick(e)}\n ></ix-dropdown-item>\n </Host>\n );\n }\n}\n"],"mappings":"gEAAA,MAAMA,EAAgB,+qEACtB,MAAAC,EAAeD,E,MCuBFE,EAAU,M,8EAMF,M,cAMA,K,CAOX,YAAAC,CAAaC,GACnBA,EAAMC,iBACND,EAAME,kBACNC,KAAKC,WAAWC,M,CAGlB,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,MAAO,CAAEC,SAAUR,KAAKQ,SAAUC,SAAUT,KAAKS,UACjDC,MAAOV,KAAKW,GAAGC,aAEfR,EAAA,OAAAE,IAAA,2CAAKC,MAAM,kBACTH,EAAA,QAAAE,IAAA,+CAEAN,KAAKQ,WAAaR,KAAKS,SACvBL,EAAA,kBACES,MAAK,KACLC,KAAI,KACJC,KAAM,cACNC,KAAK,KACLC,SAAUjB,KAAKQ,UAAY,EAAI,EAC/BU,QAAQ,UACRV,SAAUR,KAAKQ,SACfW,QAAUC,GAAMpB,KAAKJ,aAAawB,KAElC,K,2CC7DCC,UAAqCC,YAIhD,WAAAC,CAAYC,GACVC,MAAM,6BAA8B,CAClCC,QAAS,KACTF,U,ECfN,MAAMG,EAAgB,6TACtB,MAAAC,EAAeD,E,MC2BFE,EAAU,M,sHAmBF,M,WAKH,K,CAShB,4BAAMC,GACJ,OAAO9B,KAAK+B,Y,CAQd,iBAAMC,CAAYnC,GAChBA,IAAK,MAALA,SAAK,SAALA,EAAOC,iBACPD,IAAK,MAALA,SAAK,SAALA,EAAOE,kBAEPC,KAAKiC,UAAU/B,KAAKF,KAAKkC,M,CAG3B,gBAAIH,GACF,OAAO/B,KAAKmC,YAAYC,cAAc,mB,CAGxC,kBAAAC,GACE,GAAIrC,KAAKkC,QAAUI,WAAatC,KAAKkC,QAAU,KAAM,CACnD,MAAMK,MAAM,8C,EAKhB,WAAAC,CAAYC,EAAkBC,GAC5B1C,KAAKmC,YAAYQ,cACf,IAAItB,EAA6B,CAC/BoB,SAAUA,EACVC,SAAUA,I,CAKhB,MAAAvC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,oBAAAE,IAAA,2CACEC,MAAO,CACL,sBAAuBP,KAAK4C,UAE9BC,QAAS7C,KAAK4C,SACdE,MAAO9C,KAAK8C,MAAQ9C,KAAK8C,MAAQ9C,KAAKkC,MACtCF,YAAcZ,GAAMpB,KAAKgC,YAAYZ,K"}
1
+ {"version":3,"names":["filterChipCss","IxFilterChipStyle0","FilterChip","onCloseClick","event","preventDefault","stopPropagation","this","closeClick","emit","render","h","Host","key","class","disabled","readonly","title","el","textContent","ghost","oval","icon","size","tabindex","variant","onClick","e","IxSelectItemLabelChangeEvent","CustomEvent","constructor","detail","super","bubbles","selectItemCss","IxSelectItemStyle0","SelectItem","getDropdownItemElement","dropdownItem","onItemClick","itemClick","value","hostElement","querySelector","componentDidRender","undefined","Error","labelChange","newValue","oldValue","dispatchEvent","selected","checked","label"],"sources":["src/components/filter-chip/filter-chip.scss?tag=ix-filter-chip&encapsulation=shadow","src/components/filter-chip/filter-chip.tsx","src/components/select-item/events.ts","src/components/select-item/select-item.scss?tag=ix-select-item&encapsulation=shadow","src/components/select-item/select-item.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: inline-flex;\n align-items: center;\n justify-content: space-between;\n height: $large-space;\n padding-left: $small-space;\n border: var(--theme-focus--border-thickness) solid\n var(--theme-chip-primary-outline--border-color);\n border-radius: $x-large-space;\n background-color: var(--theme-color-ghost);\n color: var(--theme-chip-primary-outline--color);\n\n .slot-container {\n @include ellipsis;\n\n :host-context(.disabled) {\n background-color: var(--theme-color-ghost);\n border-color: var(--theme-color-component-4);\n color: var(--theme-color-weak-text);\n }\n }\n\n ix-icon-button {\n height: $large-space;\n margin-left: 0.25rem;\n\n @include focus-visible {\n outline: none;\n }\n }\n}\n\n:host(.disabled) {\n border: var(--theme-focus--border-thickness) solid\n var(--theme-color-component-4);\n color: var(--theme-color-weak-text);\n padding-right: $small-space;\n\n cursor: default;\n}\n\n:host(.readonly) {\n padding-right: $small-space;\n}\n\n@include host-hover {\n background-color: var(--theme-color-ghost-primary--hover);\n border-color: var(--theme-chip-primary-outline--border-color--hover);\n color: var(--theme-chip-primary-outline--color--hover);\n}\n\n@include host-active {\n background-color: var(--theme-color-ghost-primary--active);\n border-color: var(--theme-chip-primary-outline--border-color--active);\n color: var(--theme-chip-primary-outline--color--active);\n}\n\n@include host-focus-visible {\n outline: var(--theme-color-focus-bdr) solid\n var(--theme-focus--border-thickness);\n outline-offset: -0.125rem;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'ix-filter-chip',\n styleUrl: 'filter-chip.scss',\n shadow: true,\n})\nexport class FilterChip {\n @Element() el: HTMLIxFilterChipElement;\n\n /**\n * If true the filter chip will be in disabled state\n */\n @Prop() disabled = false;\n\n /**\n * If true the filter chip will be in readonly mode\n * @since 2.0.0\n */\n @Prop() readonly = false;\n\n /**\n * Close clicked\n */\n @Event() closeClick: EventEmitter<void>;\n\n private onCloseClick(event: Event) {\n event.preventDefault();\n event.stopPropagation();\n this.closeClick.emit();\n }\n\n render() {\n return (\n <Host\n class={{ disabled: this.disabled, readonly: this.readonly }}\n title={this.el.textContent}\n >\n <div class=\"slot-container\">\n <slot></slot>\n </div>\n {!this.disabled && !this.readonly ? (\n <ix-icon-button\n ghost\n oval\n icon={'close-small'}\n size=\"16\"\n tabindex={this.disabled ? -1 : 0}\n variant=\"primary\"\n disabled={this.disabled}\n onClick={(e) => this.onCloseClick(e)}\n ></ix-icon-button>\n ) : null}\n </Host>\n );\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nexport class IxSelectItemLabelChangeEvent extends CustomEvent<{\n oldValue: string;\n newValue: string;\n}> {\n constructor(detail: { oldValue: string; newValue: string }) {\n super('ix-select-item:labelChange', {\n bubbles: true,\n detail,\n });\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n position: relative;\n\n > ix-dropdown-item {\n width: 100%;\n }\n\n ix-dropdown-item {\n color: var(--theme-color-std-text);\n }\n\n .select-item-checked {\n background-color: var(--theme-select-list-item--background--selected);\n --ix-dropdown-item-checked-color: var(--theme-color-std-text);\n }\n}\n\n:host(.d-none) {\n display: none;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { IxSelectItemLabelChangeEvent } from './events';\nimport { DropdownItemWrapper } from '../dropdown/dropdown-controller';\n\n@Component({\n tag: 'ix-select-item',\n styleUrl: 'select-item.scss',\n shadow: true,\n})\nexport class SelectItem implements DropdownItemWrapper {\n @Element() hostElement: HTMLIxSelectItemElement;\n\n /**\n * Displayed name of the item\n */\n @Prop({ reflect: true }) label: string;\n\n /**\n * The value of the item.\n * Important: The select component uses string values to handle selection and will call toString() on this value.\n * Therefor a string should be passed to value to prevent unexpected behavior.\n * @deprecated will be changed to type string with next major release (3.0.0)\n */\n @Prop({ reflect: true }) value!: any;\n\n /**\n * Flag indicating whether the item is selected\n */\n @Prop() selected = false;\n\n /**\n * @internal\n */\n @Prop() hover = false;\n\n /**\n * Item clicked\n */\n @Event() itemClick: EventEmitter<string>;\n\n /** @internal */\n @Method()\n async getDropdownItemElement(): Promise<HTMLIxDropdownItemElement> {\n return this.dropdownItem;\n }\n\n /**\n * @internal\n * @param event\n */\n @Method()\n async onItemClick(event?: CustomEvent<HTMLIxDropdownItemElement>) {\n event?.preventDefault();\n event?.stopPropagation();\n\n this.itemClick.emit(this.value);\n }\n\n get dropdownItem() {\n return this.hostElement.querySelector('ix-dropdown-item');\n }\n\n componentDidRender() {\n if (this.value === undefined || this.value === null) {\n throw Error('ix-select-item must have a `value` property');\n }\n }\n\n @Watch('label')\n labelChange(newValue: string, oldValue: string) {\n this.hostElement.dispatchEvent(\n new IxSelectItemLabelChangeEvent({\n newValue: newValue,\n oldValue: oldValue,\n })\n );\n }\n\n render() {\n return (\n <Host>\n <ix-dropdown-item\n class={{\n 'select-item-checked': this.selected,\n }}\n checked={this.selected}\n label={this.label ? this.label : this.value}\n onItemClick={(e) => this.onItemClick(e)}\n ></ix-dropdown-item>\n </Host>\n );\n }\n}\n"],"mappings":"gEAAA,MAAMA,EAAgB,20EACtB,MAAAC,EAAeD,E,MCuBFE,EAAU,M,8EAMF,M,cAMA,K,CAOX,YAAAC,CAAaC,GACnBA,EAAMC,iBACND,EAAME,kBACNC,KAAKC,WAAWC,M,CAGlB,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,MAAO,CAAEC,SAAUR,KAAKQ,SAAUC,SAAUT,KAAKS,UACjDC,MAAOV,KAAKW,GAAGC,aAEfR,EAAA,OAAAE,IAAA,2CAAKC,MAAM,kBACTH,EAAA,QAAAE,IAAA,+CAEAN,KAAKQ,WAAaR,KAAKS,SACvBL,EAAA,kBACES,MAAK,KACLC,KAAI,KACJC,KAAM,cACNC,KAAK,KACLC,SAAUjB,KAAKQ,UAAY,EAAI,EAC/BU,QAAQ,UACRV,SAAUR,KAAKQ,SACfW,QAAUC,GAAMpB,KAAKJ,aAAawB,KAElC,K,2CC7DCC,UAAqCC,YAIhD,WAAAC,CAAYC,GACVC,MAAM,6BAA8B,CAClCC,QAAS,KACTF,U,ECfN,MAAMG,EAAgB,6TACtB,MAAAC,EAAeD,E,MC2BFE,EAAU,M,sHAmBF,M,WAKH,K,CAShB,4BAAMC,GACJ,OAAO9B,KAAK+B,Y,CAQd,iBAAMC,CAAYnC,GAChBA,IAAK,MAALA,SAAK,SAALA,EAAOC,iBACPD,IAAK,MAALA,SAAK,SAALA,EAAOE,kBAEPC,KAAKiC,UAAU/B,KAAKF,KAAKkC,M,CAG3B,gBAAIH,GACF,OAAO/B,KAAKmC,YAAYC,cAAc,mB,CAGxC,kBAAAC,GACE,GAAIrC,KAAKkC,QAAUI,WAAatC,KAAKkC,QAAU,KAAM,CACnD,MAAMK,MAAM,8C,EAKhB,WAAAC,CAAYC,EAAkBC,GAC5B1C,KAAKmC,YAAYQ,cACf,IAAItB,EAA6B,CAC/BoB,SAAUA,EACVC,SAAUA,I,CAKhB,MAAAvC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,oBAAAE,IAAA,2CACEC,MAAO,CACL,sBAAuBP,KAAK4C,UAE9BC,QAAS7C,KAAK4C,SACdE,MAAO9C,KAAK8C,MAAQ9C,KAAK8C,MAAQ9C,KAAKkC,MACtCF,YAAcZ,GAAMpB,KAAKgC,YAAYZ,K"}
@@ -0,0 +1,2 @@
1
+ import{r as e,c as r,h as o,H as a}from"./p-f86a894a.js";import{a as t}from"./p-71206084.js";const s=":host{margin:0.5rem 0.5rem 0rem 0.5rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .message-container{display:flex;flex-direction:row;align-items:flex-start;flex-wrap:nowrap;justify-content:space-between;min-height:3.375rem;padding:calc(0.75rem - var(--theme-message-bar--border-thickness)) 0.75rem calc(0.75rem - var(--theme-message-bar--border-thickness)) 1rem;border-radius:var(--theme-message-bar--border-radius);background-color:var(--theme-messagebar--background)}:host .danger{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-alarm)}:host .warning{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-warning)}:host .info{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-info)}:host .message-content{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1;align-self:center;min-height:1.25rem;padding:0 1rem;font-weight:normal;white-space:normal}:host ix-icon{margin-top:0.25rem}";const i=s;const n=class{constructor(o){e(this,o);this.closedChange=r(this,"closedChange",7);this.type="info";this.dismissible=true;this.icon=undefined;this.color=undefined}componentWillRender(){if(this.type==="danger"){this.icon="error";this.color="color-alarm"}if(this.type==="info"){this.icon="info";this.color="color-info"}if(this.type==="warning"){this.icon="warning";this.color="color-warning"}}closeAlert(e){t({targets:e,duration:n.duration,opacity:[1,0],easing:"easeOutSine",complete:()=>{e.classList.add("d-none")}});this.closedChange.emit()}render(){return o(a,{key:"2e00662ab25672cbb4793193ed877681ffa5cf0c"},o("div",{key:"a4302a37f4d8009896ec563eae1088e7dd087544",class:{"message-container":true,[this.type]:true},role:"alert",ref:e=>this.divElement=e},o("ix-icon",{key:"3145307d2db100a3764c562dd5ad0efcb3790402",color:this.color,name:this.icon}),o("div",{key:"07908baa46ff4cbaef761b8557a96fc1fe3bb810",class:"message-content"},o("slot",{key:"126adbff8050b39a66c1234daac45c15f801089b"})),this.dismissible?o("ix-icon-button",{icon:"close",size:"24",ghost:true,onClick:()=>{this.closeAlert(this.divElement)},"data-testid":"close-btn"}):""))}};n.duration=300;n.style=i;export{n as ix_message_bar};
2
+ //# sourceMappingURL=p-6ca97a73.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["messageBarCss","IxMessageBarStyle0","MessageBar","componentWillRender","this","type","icon","color","closeAlert","el","anime","targets","duration","opacity","easing","complete","classList","add","closedChange","emit","render","h","Host","key","class","role","ref","divElement","name","dismissible","size","ghost","onClick"],"sources":["src/components/message-bar/message-bar.scss?tag=ix-message-bar&encapsulation=shadow","src/components/message-bar/message-bar.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n margin: $small-space $small-space 0rem $small-space;\n\n .message-container {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n flex-wrap: nowrap;\n justify-content: space-between;\n min-height: 3.375rem;\n padding: calc(#{$medium-space} - var(--theme-message-bar--border-thickness))\n $medium-space\n calc(#{$medium-space} - var(--theme-message-bar--border-thickness))\n $default-space;\n border-radius: var(--theme-message-bar--border-radius);\n background-color: var(--theme-messagebar--background);\n }\n\n .danger {\n border: solid var(--theme-message-bar--border-thickness)\n var(--theme-color-alarm);\n }\n\n .warning {\n border: solid var(--theme-message-bar--border-thickness)\n var(--theme-color-warning);\n }\n\n .info {\n border: solid var(--theme-message-bar--border-thickness)\n var(--theme-color-info);\n }\n\n .message-content {\n @include ellipsis;\n flex-grow: 1;\n align-self: center;\n min-height: 1.25rem;\n padding: 0 $default-space;\n font-weight: normal;\n white-space: normal;\n }\n\n ix-icon {\n margin-top: $tiny-space;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\nimport anime from 'animejs';\nimport { NotificationColor } from '../utils/notification-color';\n\n@Component({\n tag: 'ix-message-bar',\n styleUrl: 'message-bar.scss',\n shadow: true,\n})\nexport class MessageBar {\n /**\n * Specifies the type of the alert.\n */\n @Prop() type: 'danger' | 'warning' | 'info' = 'info';\n\n /**\n * If true, close button is enabled and alert can be dismissed by the user\n */\n @Prop() dismissible = true;\n\n /**\n * An event emitted when the close button is clicked\n */\n @Event() closedChange: EventEmitter;\n\n @State() icon: 'error' | 'warning' | 'info';\n\n @State() color: NotificationColor;\n\n private static readonly duration = 300;\n\n private divElement?: HTMLElement;\n\n componentWillRender() {\n if (this.type === 'danger') {\n this.icon = 'error';\n this.color = 'color-alarm';\n }\n\n if (this.type === 'info') {\n this.icon = 'info';\n this.color = 'color-info';\n }\n\n if (this.type === 'warning') {\n this.icon = 'warning';\n this.color = 'color-warning';\n }\n }\n\n private closeAlert(el: HTMLElement) {\n anime({\n targets: el,\n duration: MessageBar.duration,\n opacity: [1, 0],\n easing: 'easeOutSine',\n complete: () => {\n el.classList.add('d-none');\n },\n });\n this.closedChange.emit();\n }\n\n render() {\n return (\n <Host>\n <div\n class={{ 'message-container': true, [this.type]: true }}\n role=\"alert\"\n ref={(el) => (this.divElement = el as HTMLElement)}\n >\n <ix-icon color={this.color} name={this.icon}></ix-icon>\n <div class=\"message-content\">\n <slot></slot>\n </div>\n {this.dismissible ? (\n <ix-icon-button\n icon={'close'}\n size=\"24\"\n ghost={true}\n onClick={() => {\n this.closeAlert(this.divElement);\n }}\n data-testid=\"close-btn\"\n ></ix-icon-button>\n ) : (\n ''\n )}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"6FAAA,MAAMA,EAAgB,ogDACtB,MAAAC,EAAeD,E,MCyBFE,EAAU,M,8EAIyB,O,iBAKxB,K,yCAetB,mBAAAC,GACE,GAAIC,KAAKC,OAAS,SAAU,CAC1BD,KAAKE,KAAO,QACZF,KAAKG,MAAQ,a,CAGf,GAAIH,KAAKC,OAAS,OAAQ,CACxBD,KAAKE,KAAO,OACZF,KAAKG,MAAQ,Y,CAGf,GAAIH,KAAKC,OAAS,UAAW,CAC3BD,KAAKE,KAAO,UACZF,KAAKG,MAAQ,e,EAIT,UAAAC,CAAWC,GACjBC,EAAM,CACJC,QAASF,EACTG,SAAUV,EAAWU,SACrBC,QAAS,CAAC,EAAG,GACbC,OAAQ,cACRC,SAAU,KACRN,EAAGO,UAAUC,IAAI,SAAS,IAG9Bb,KAAKc,aAAaC,M,CAGpB,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,OAAAE,IAAA,2CACEC,MAAO,CAAE,oBAAqB,KAAM,CAACpB,KAAKC,MAAO,MACjDoB,KAAK,QACLC,IAAMjB,GAAQL,KAAKuB,WAAalB,GAEhCY,EAAA,WAAAE,IAAA,2CAAShB,MAAOH,KAAKG,MAAOqB,KAAMxB,KAAKE,OACvCe,EAAA,OAAAE,IAAA,2CAAKC,MAAM,mBACTH,EAAA,QAAAE,IAAA,8CAEDnB,KAAKyB,YACJR,EAAA,kBACEf,KAAM,QACNwB,KAAK,KACLC,MAAO,KACPC,QAAS,KACP5B,KAAKI,WAAWJ,KAAKuB,WAAW,EACjC,cACW,cACI,I,GAvDJzB,EAAAU,SAAW,I"}
1
+ {"version":3,"names":["messageBarCss","IxMessageBarStyle0","MessageBar","componentWillRender","this","type","icon","color","closeAlert","el","anime","targets","duration","opacity","easing","complete","classList","add","closedChange","emit","render","h","Host","key","class","role","ref","divElement","name","dismissible","size","ghost","onClick"],"sources":["src/components/message-bar/message-bar.scss?tag=ix-message-bar&encapsulation=shadow","src/components/message-bar/message-bar.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n margin: $small-space $small-space 0rem $small-space;\n\n .message-container {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n flex-wrap: nowrap;\n justify-content: space-between;\n min-height: 3.375rem;\n padding: calc(#{$medium-space} - var(--theme-message-bar--border-thickness))\n $medium-space\n calc(#{$medium-space} - var(--theme-message-bar--border-thickness))\n $default-space;\n border-radius: var(--theme-message-bar--border-radius);\n background-color: var(--theme-messagebar--background);\n }\n\n .danger {\n border: solid var(--theme-message-bar--border-thickness)\n var(--theme-color-alarm);\n }\n\n .warning {\n border: solid var(--theme-message-bar--border-thickness)\n var(--theme-color-warning);\n }\n\n .info {\n border: solid var(--theme-message-bar--border-thickness)\n var(--theme-color-info);\n }\n\n .message-content {\n @include ellipsis;\n flex-grow: 1;\n align-self: center;\n min-height: 1.25rem;\n padding: 0 $default-space;\n font-weight: normal;\n white-space: normal;\n }\n\n ix-icon {\n margin-top: $tiny-space;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\nimport anime from 'animejs';\nimport { NotificationColor } from '../utils/notification-color';\n\n@Component({\n tag: 'ix-message-bar',\n styleUrl: 'message-bar.scss',\n shadow: true,\n})\nexport class MessageBar {\n /**\n * Specifies the type of the alert.\n */\n @Prop() type: 'danger' | 'warning' | 'info' = 'info';\n\n /**\n * If true, close button is enabled and alert can be dismissed by the user\n */\n @Prop() dismissible = true;\n\n /**\n * An event emitted when the close button is clicked\n */\n @Event() closedChange: EventEmitter;\n\n @State() icon: 'error' | 'warning' | 'info';\n\n @State() color: NotificationColor;\n\n private static readonly duration = 300;\n\n private divElement?: HTMLElement;\n\n componentWillRender() {\n if (this.type === 'danger') {\n this.icon = 'error';\n this.color = 'color-alarm';\n }\n\n if (this.type === 'info') {\n this.icon = 'info';\n this.color = 'color-info';\n }\n\n if (this.type === 'warning') {\n this.icon = 'warning';\n this.color = 'color-warning';\n }\n }\n\n private closeAlert(el: HTMLElement) {\n anime({\n targets: el,\n duration: MessageBar.duration,\n opacity: [1, 0],\n easing: 'easeOutSine',\n complete: () => {\n el.classList.add('d-none');\n },\n });\n this.closedChange.emit();\n }\n\n render() {\n return (\n <Host>\n <div\n class={{ 'message-container': true, [this.type]: true }}\n role=\"alert\"\n ref={(el) => (this.divElement = el as HTMLElement)}\n >\n <ix-icon color={this.color} name={this.icon}></ix-icon>\n <div class=\"message-content\">\n <slot></slot>\n </div>\n {this.dismissible ? (\n <ix-icon-button\n icon={'close'}\n size=\"24\"\n ghost={true}\n onClick={() => {\n this.closeAlert(this.divElement);\n }}\n data-testid=\"close-btn\"\n ></ix-icon-button>\n ) : (\n ''\n )}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"6FAAA,MAAMA,EAAgB,gqDACtB,MAAAC,EAAeD,E,MCyBFE,EAAU,M,8EAIyB,O,iBAKxB,K,yCAetB,mBAAAC,GACE,GAAIC,KAAKC,OAAS,SAAU,CAC1BD,KAAKE,KAAO,QACZF,KAAKG,MAAQ,a,CAGf,GAAIH,KAAKC,OAAS,OAAQ,CACxBD,KAAKE,KAAO,OACZF,KAAKG,MAAQ,Y,CAGf,GAAIH,KAAKC,OAAS,UAAW,CAC3BD,KAAKE,KAAO,UACZF,KAAKG,MAAQ,e,EAIT,UAAAC,CAAWC,GACjBC,EAAM,CACJC,QAASF,EACTG,SAAUV,EAAWU,SACrBC,QAAS,CAAC,EAAG,GACbC,OAAQ,cACRC,SAAU,KACRN,EAAGO,UAAUC,IAAI,SAAS,IAG9Bb,KAAKc,aAAaC,M,CAGpB,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,OAAAE,IAAA,2CACEC,MAAO,CAAE,oBAAqB,KAAM,CAACpB,KAAKC,MAAO,MACjDoB,KAAK,QACLC,IAAMjB,GAAQL,KAAKuB,WAAalB,GAEhCY,EAAA,WAAAE,IAAA,2CAAShB,MAAOH,KAAKG,MAAOqB,KAAMxB,KAAKE,OACvCe,EAAA,OAAAE,IAAA,2CAAKC,MAAM,mBACTH,EAAA,QAAAE,IAAA,8CAEDnB,KAAKyB,YACJR,EAAA,kBACEf,KAAM,QACNwB,KAAK,KACLC,MAAO,KACPC,QAAS,KACP5B,KAAKI,WAAWJ,KAAKuB,WAAW,EACjC,cACW,cACI,I,GAvDJzB,EAAAU,SAAW,I"}