@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
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
2
2
  import { d as defineCustomElement$3 } from './icon-button.js';
3
3
  import { d as defineCustomElement$2 } from './spinner.js';
4
4
 
5
- const chipCss = ":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}: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:0px;margin-right:0px}.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.icon{padding-left:0.75rem;padding-right:0.75rem}.container.closable{padding-right:0.25rem}.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)}";
5
+ const chipCss = ":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)}";
6
6
  const IxChipStyle0 = chipCss;
7
7
 
8
8
  const Chip = /*@__PURE__*/ proxyCustomElement(class Chip extends HTMLElement {
@@ -39,11 +39,11 @@ const Chip = /*@__PURE__*/ proxyCustomElement(class Chip extends HTMLElement {
39
39
  [this.outline ? 'borderColor' : 'backgroundColor']: this.background,
40
40
  };
41
41
  }
42
- return (h(Host, { key: 'bc9150f9d71eb0d048c778e21ea5afb39a1dc3f9', tabIndex: "-1", title: this.el.textContent, style: this.variant === 'custom'
42
+ return (h(Host, { key: '1e6668db5698108671872240cae019c50e8903ea', tabIndex: "-1", title: this.el.textContent, style: this.variant === 'custom'
43
43
  ? {
44
44
  '--ix-icon-button-color': (_b = this.chipColor) !== null && _b !== void 0 ? _b : this.color,
45
45
  }
46
- : {} }, h("div", { key: '82c39bab0cff12de6c830360ad06281993e4dac6', style: Object.assign({}, customStyle), class: {
46
+ : {} }, h("div", { key: '7d1533fb6dfdaf15733897e9742c02022505896a', style: Object.assign({}, customStyle), class: {
47
47
  container: true,
48
48
  outline: this.outline,
49
49
  inactive: isInactive,
@@ -57,10 +57,10 @@ const Chip = /*@__PURE__*/ proxyCustomElement(class Chip extends HTMLElement {
57
57
  custom: this.variant === 'custom',
58
58
  closable: this.closable,
59
59
  icon: !!this.icon,
60
- } }, h("ix-icon", { key: '359b67a50b9c3b438fc7884b7b6dab7027a284c4', class: {
60
+ } }, h("ix-icon", { key: '012939f0b16b4c0ff00590cb6e503c6a42d79771', class: {
61
61
  'with-icon': true,
62
62
  hidden: !this.icon,
63
- }, name: this.icon, size: '24' }), h("span", { key: '800965a9f8c4013009ab1345eed7fea6cb6ae1f2', class: "slot-container" }, h("slot", { key: 'a03c010efbb304e6e70ddb990fb1e91ffa667e0b' })), isInactive === false && this.closable ? this.getCloseButton() : null)));
63
+ }, name: this.icon, size: '24' }), h("span", { key: 'fa5866074c8ce5bfbceb8afca799a2a7953c2bf6', class: "slot-container" }, h("slot", { key: '848661158f74d1479437d905fb1e6f2a742b70b6' })), isInactive === false && this.closable ? this.getCloseButton() : null)));
64
64
  }
65
65
  get el() { return this; }
66
66
  static get style() { return IxChipStyle0; }
@@ -1 +1 @@
1
- {"file":"ix-chip.js","mappings":";;;;AAAA,MAAM,OAAO,GAAG,ioWAAioW,CAAC;AAClpW,qBAAe,OAAO;;MCuBT,IAAI;;;;;;uBAcA,SAAS;sBAMP,IAAI;wBAKF,KAAK;;;;;uBA+BN,KAAK;;IASf,cAAc;;QACpB,QACE,WAAK,KAAK,EAAC,wBAAwB,IACjC,sBACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAC,WAAW,EACnB,IAAI,EAAE,aAAa,EACnB,KAAK,EAAC,cAAc,EACpB,IAAI,QACJ,IAAI,EAAC,IAAI,EACT,KAAK,EACH,IAAI,CAAC,OAAO,KAAK,QAAQ;kBACrB,EAAE,KAAK,EAAE,MAAA,IAAI,CAAC,SAAS,mCAAI,IAAI,CAAC,KAAK,EAAE;kBACvC,EAAE,EAER,KAAK,QACL,OAAO,EAAE,CAAC,KAAK;gBACb,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBAC3B,KAAK,CAAC,eAAe,EAAE,CAAC;aACzB,GACe,CACd,EACN;KACH;IAED,MAAM;;QACJ,MAAM,UAAU,GAAG,IAAI,CAAC,MAAM,KAAK,KAAK,CAAC;QAEzC,IAAI,WAAW,GAAG,EAAE,CAAC;QAErB,IAAI,IAAI,CAAC,OAAO,KAAK,QAAQ,EAAE;YAC7B,WAAW,GAAG;gBACZ,KAAK,EAAE,MAAA,IAAI,CAAC,SAAS,mCAAI,IAAI,CAAC,KAAK;gBACnC,CAAC,IAAI,CAAC,OAAO,GAAG,aAAa,GAAG,iBAAiB,GAAG,IAAI,CAAC,UAAU;aACpE,CAAC;SACH;QAED,QACE,EAAC,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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"],"version":3}
1
+ {"file":"ix-chip.js","mappings":";;;;AAAA,MAAM,OAAO,GAAG,s6XAAs6X,CAAC;AACv7X,qBAAe,OAAO;;MCuBT,IAAI;;;;;;uBAcA,SAAS;sBAMP,IAAI;wBAKF,KAAK;;;;;uBA+BN,KAAK;;IASf,cAAc;;QACpB,QACE,WAAK,KAAK,EAAC,wBAAwB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AE,IAAI,CAAC,OAAO,KAAK,UAAU;gBACrC,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,MAAM;gBAC7B,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS;gBACnC,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS;gBACnC,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS;gBACnC,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS;gBACnC,MAAM,EAAE,IAAI,CAAC,OAAO,KAAK,QAAQ;gBACjC,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI;aAClB,IAED,gEACE,KAAK,EAAE;gBACL,WAAW,EAAE,IAAI;gBACjB,MAAM,EAAE,CAAC,IAAI,CAAC,IAAI;aACnB,EACD,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAE,IAAI,GACV,EACF,6DAAM,KAAK,EAAC,gBAAgB,IAC1B,8DAAa,CACR,EACN,UAAU,KAAK,KAAK,IAAI,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,cAAc,EAAE,GAAG,IAAI,CACjE,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"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"],"version":3}
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { h as hasSlottedElements } from './shadow-dom.js';
3
3
 
4
- const contentCss = ":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}: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}";
4
+ const contentCss = ":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}";
5
5
  const IxContentStyle0 = contentCss;
6
6
 
7
7
  const Content = /*@__PURE__*/ proxyCustomElement(class Content extends HTMLElement {
@@ -15,12 +15,12 @@ const Content = /*@__PURE__*/ proxyCustomElement(class Content extends HTMLEleme
15
15
  return this.hostElement.shadowRoot.querySelector('.content-header slot');
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: '7298c4abd09355a3ee73d4a236e7025a72720cf7' }, h("div", { key: 'd7ba3fbc44d66ba0ae4e747a5cc5d77c7388b138', class: {
18
+ return (h(Host, { key: '4dab1c37e7e25e92aae59819e21cdca4f303b917' }, h("div", { key: 'e1d4436222fbede16fe740f1f8b712c4227b9f26', class: {
19
19
  'content-header': true,
20
20
  slotted: this.isContentHeaderSlotted,
21
- } }, h("slot", { key: '233200870318a9276d3e0d5c5d5d03980fbe1793', name: "header", onSlotchange: () => {
21
+ } }, h("slot", { key: '0df5783d73aac22f87b644942b02ac2c1c9a4a66', name: "header", onSlotchange: () => {
22
22
  this.isContentHeaderSlotted = hasSlottedElements(this.contentHeaderSlot);
23
- } })), h("div", { key: 'ee7f8ceb237b4c33d578262c74d4eca9bdf36070', class: "content" }, h("slot", { key: 'fbbf86e9c454f04dbe33a9b0456f1cd02ec72c02' }))));
23
+ } })), h("div", { key: '94713592851aa18c3b0b030c4a80e278cabbec35', class: "content" }, h("slot", { key: 'f78d233860cf1a36132a5b725791292524385a84' }))));
24
24
  }
25
25
  get hostElement() { return this; }
26
26
  static get style() { return IxContentStyle0; }
@@ -1 +1 @@
1
- {"file":"ix-content.js","mappings":";;;AAAA,MAAM,UAAU,GAAG,q2BAAq2B,CAAC;AACz3B,wBAAe,UAAU;;MCoBZ,OAAO;;;;;sCAGgB,KAAK;;IAEvC,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,aAAa,CAC9C,sBAAsB,CACJ,CAAC;KACtB;IAED,MAAM;QACJ,QACE,EAAC,IAAI,uDACH,4DACE,KAAK,EAAE;gBACL,gBAAgB,EAAE,IAAI;gBACtB,OAAO,EAAE,IAAI,CAAC,sBAAsB;aACrC,IAED,6DACE,IAAI,EAAC,QAAQ,EACb,YAAY,EAAE;gBACZ,IAAI,CAAC,sBAAsB,GAAG,kBAAkB,CAC9C,IAAI,CAAC,iBAAiB,CACvB,CAAC;aACH,GACK,CACJ,EACN,4DAAK,KAAK,EAAC,SAAS,IAClB,8DAAa,CACT,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"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"],"version":3}
1
+ {"file":"ix-content.js","mappings":";;;AAAA,MAAM,UAAU,GAAG,igCAAigC,CAAC;AACrhC,wBAAe,UAAU;;MCoBZ,OAAO;;;;;sCAGgB,KAAK;;IAEvC,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,aAAa,CAC9C,sBAAsB,CACJ,CAAC;KACtB;IAED,MAAM;QACJ,QACE,EAAC,IAAI,uDACH,4DACE,KAAK,EAAE;gBACL,gBAAgB,EAAE,IAAI;gBACtB,OAAO,EAAE,IAAI,CAAC,sBAAsB;aACrC,IAED,6DACE,IAAI,EAAC,QAAQ,EACb,YAAY,EAAE;gBACZ,IAAI,CAAC,sBAAsB,GAAG,kBAAkB,CAC9C,IAAI,CAAC,iBAAiB,CACvB,CAAC;aACH,GACK,CACJ,EACN,4DAAK,KAAK,EAAC,SAAS,IAClB,8DAAa,CACT,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"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"],"version":3}
@@ -13,7 +13,7 @@ const CssGridItem = /*@__PURE__*/ proxyCustomElement(class CssGridItem extends H
13
13
  render() {
14
14
  const style = {};
15
15
  style['grid-area'] = this.itemName;
16
- return (h(Host, { key: '7eb12cf19328a03e78db24d81bc88158b37e7e4c', style: style }, h("slot", { key: '123dfc3d9459ae11ed038f5c20db4597f6fb6c42' })));
16
+ return (h(Host, { key: '27bd6e8926336757d4cb993ab8ff978a1a85479e', style: style }, h("slot", { key: '3be8052533266ea875e2f0009720f07a4dbdd16b' })));
17
17
  }
18
18
  static get style() { return IxCssGridItemStyle0; }
19
19
  }, [1, "ix-css-grid-item", {
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface IxCustomField extends Components.IxCustomField, HTMLElement {}
4
+ export const IxCustomField: {
5
+ prototype: IxCustomField;
6
+ new (): IxCustomField;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,116 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { H as HookValidationLifecycle } from './validation.js';
3
+ import { d as defineCustomElement$5 } from './field-label.js';
4
+ import { d as defineCustomElement$4 } from './field-wrapper.js';
5
+ import { d as defineCustomElement$3 } from './tooltip.js';
6
+ import { d as defineCustomElement$2 } from './typography.js';
7
+
8
+ const customFieldCss = ":host{display:block}";
9
+ const IxCustomFieldStyle0 = customFieldCss;
10
+
11
+ /*
12
+ * SPDX-FileCopyrightText: 2024 Siemens AG
13
+ *
14
+ * SPDX-License-Identifier: MIT
15
+ *
16
+ * This source code is licensed under the MIT license found in the
17
+ * LICENSE file in the root directory of this source tree.
18
+ */
19
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
20
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
21
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
22
+ r = Reflect.decorate(decorators, target, key, desc);
23
+ else
24
+ for (var i = decorators.length - 1; i >= 0; i--)
25
+ if (d = decorators[i])
26
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
27
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
28
+ };
29
+ const CustomField = /*@__PURE__*/ proxyCustomElement(class CustomField extends HTMLElement {
30
+ constructor() {
31
+ super();
32
+ this.__registerHost();
33
+ this.__attachShadow();
34
+ this.required = false;
35
+ this.label = undefined;
36
+ this.helperText = undefined;
37
+ this.infoText = undefined;
38
+ this.warningText = undefined;
39
+ this.invalidText = undefined;
40
+ this.validText = undefined;
41
+ this.showTextAsTooltip = undefined;
42
+ this.isInvalid = false;
43
+ this.isValid = false;
44
+ this.isInfo = false;
45
+ this.isWarning = false;
46
+ }
47
+ updateValidationState({ isInvalid, isValid, isInfo, isWarning, }) {
48
+ this.isInvalid = isInvalid;
49
+ this.isValid = isValid;
50
+ this.isInfo = isInfo;
51
+ this.isWarning = isWarning;
52
+ }
53
+ render() {
54
+ return (h(Host, { key: '8cd88436071cb1e86ffd0ae60b2a8e4d887e0ced' }, h("ix-field-wrapper", { key: 'c8af2e041a46a796294cc0dab48fc28431eeea09', label: this.label, helperText: this.helperText, infoText: this.infoText, warningText: this.warningText, invalidText: this.invalidText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, required: this.required }, h("slot", { key: '13677ef3d54cc08f52e99671d3e368bd7291d73a', name: "label", slot: "label" }), h("slot", { key: 'a930518f66ff298d4b9595316bb41135e6261fd4' }))));
55
+ }
56
+ get hostElement() { return this; }
57
+ static get style() { return IxCustomFieldStyle0; }
58
+ }, [1, "ix-custom-field", {
59
+ "required": [4],
60
+ "label": [1],
61
+ "helperText": [1, "helper-text"],
62
+ "infoText": [1, "info-text"],
63
+ "warningText": [1, "warning-text"],
64
+ "invalidText": [1, "invalid-text"],
65
+ "validText": [1, "valid-text"],
66
+ "showTextAsTooltip": [4, "show-text-as-tooltip"],
67
+ "isInvalid": [32],
68
+ "isValid": [32],
69
+ "isInfo": [32],
70
+ "isWarning": [32]
71
+ }]);
72
+ __decorate([
73
+ HookValidationLifecycle({
74
+ includeChildren: true,
75
+ })
76
+ ], CustomField.prototype, "updateValidationState", null);
77
+ function defineCustomElement$1() {
78
+ if (typeof customElements === "undefined") {
79
+ return;
80
+ }
81
+ const components = ["ix-custom-field", "ix-field-label", "ix-field-wrapper", "ix-tooltip", "ix-typography"];
82
+ components.forEach(tagName => { switch (tagName) {
83
+ case "ix-custom-field":
84
+ if (!customElements.get(tagName)) {
85
+ customElements.define(tagName, CustomField);
86
+ }
87
+ break;
88
+ case "ix-field-label":
89
+ if (!customElements.get(tagName)) {
90
+ defineCustomElement$5();
91
+ }
92
+ break;
93
+ case "ix-field-wrapper":
94
+ if (!customElements.get(tagName)) {
95
+ defineCustomElement$4();
96
+ }
97
+ break;
98
+ case "ix-tooltip":
99
+ if (!customElements.get(tagName)) {
100
+ defineCustomElement$3();
101
+ }
102
+ break;
103
+ case "ix-typography":
104
+ if (!customElements.get(tagName)) {
105
+ defineCustomElement$2();
106
+ }
107
+ break;
108
+ } });
109
+ }
110
+
111
+ const IxCustomField = CustomField;
112
+ const defineCustomElement = defineCustomElement$1;
113
+
114
+ export { IxCustomField, defineCustomElement };
115
+
116
+ //# sourceMappingURL=ix-custom-field.js.map
@@ -0,0 +1 @@
1
+ {"file":"ix-custom-field.js","mappings":";;;;;;;AAAA,MAAM,cAAc,GAAG,sBAAsB,CAAC;AAC9C,4BAAe,cAAc;;ACD7B;;;;;;;;;;;;;;;;;;MA0Ba,WAAW;;;;;wBAOM,KAAK;;;;;;;;yBAqCZ,KAAK;uBACP,KAAK;sBACN,KAAK;yBACF,KAAK;;IAK1B,qBAAqB,CAAC,EACpB,SAAS,EACT,OAAO,EACP,MAAM,EACN,SAAS,GACS;QAClB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;KAC5B;IAED,MAAM;QACJ,QACE,EAAC,IAAI,uDACH,yEACE,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,EACzC,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAEvB,6DAAM,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,OAAO,GAAQ,EAEvC,8DAAa,CACI,CACd,EACP;KACH;;;;;;;;;;;;;;;;;AAnCD;IAHC,uBAAuB,CAAC;QACvB,eAAe,EAAE,IAAI;KACtB,CAAC;wDAWD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/custom-field/custom-field.scss?tag=ix-custom-field&encapsulation=shadow","src/components/custom-field/custom-field.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 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}\n","/*\n * SPDX-FileCopyrightText: 2024 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, Host, Prop, State, h, Element } from '@stencil/core';\nimport {\n FieldWrapperInterface,\n HookValidationLifecycle,\n IxFormValidationState,\n ValidationResults,\n} from '../utils/field';\nimport { IxComponent } from '../utils/internal';\n\n/**\n * @since 2.4.0\n */\n@Component({\n tag: 'ix-custom-field',\n styleUrl: 'custom-field.scss',\n shadow: true,\n})\nexport class CustomField\n implements FieldWrapperInterface, IxFormValidationState, IxComponent\n{\n @Element() hostElement!: HTMLIxCustomFieldElement;\n /**\n * A value is required or must be checked for the form to be submittable\n */\n @Prop() required: boolean = false;\n\n /**\n * Label for the field component\n */\n @Prop() label?: string;\n\n /**\n * Show text below the field component which show additional information\n */\n @Prop() helperText?: string;\n\n /**\n * Info text for the field component\n */\n @Prop() infoText?: string;\n\n /**\n * Warning text for the field component\n */\n @Prop() warningText?: string;\n\n /**\n * Error text for the field component\n */\n @Prop() invalidText?: string;\n\n /**\n * Valid text for the field component\n */\n @Prop() validText?: string;\n\n /**\n * Show helper, info, warning, error and valid text as tooltip\n */\n @Prop() showTextAsTooltip?: boolean;\n\n @State() isInvalid = false;\n @State() isValid = false;\n @State() isInfo = false;\n @State() isWarning = false;\n\n @HookValidationLifecycle({\n includeChildren: true,\n })\n updateValidationState({\n isInvalid,\n isValid,\n isInfo,\n isWarning,\n }: ValidationResults) {\n this.isInvalid = isInvalid;\n this.isValid = isValid;\n this.isInfo = isInfo;\n this.isWarning = isWarning;\n }\n\n render() {\n return (\n <Host>\n <ix-field-wrapper\n label={this.label}\n helperText={this.helperText}\n infoText={this.infoText}\n warningText={this.warningText}\n invalidText={this.invalidText}\n validText={this.validText}\n showTextAsTooltip={this.showTextAsTooltip}\n isInvalid={this.isInvalid}\n isValid={this.isValid}\n isInfo={this.isInfo}\n isWarning={this.isWarning}\n required={this.required}\n >\n <slot name=\"label\" slot=\"label\"></slot>\n\n <slot></slot>\n </ix-field-wrapper>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -11,7 +11,7 @@ import { d as defineCustomElement$4 } from './layout-grid.js';
11
11
  import { d as defineCustomElement$3 } from './row.js';
12
12
  import { d as defineCustomElement$2 } from './spinner.js';
13
13
 
14
- const dateDropdownCss = ":host{display:inline-block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}@media (max-width: 48em){:host .min-width{width:-moz-min-content;width:min-content}}@media (min-width: 48em){:host .border-right{border-right:var(--theme-x-weak-bdr-2)}}:host ix-button{width:100%}:host .max-height{max-height:-moz-max-content;max-height:max-content}:host .no-margin{margin:0;padding:0}:host .pull-right{float:right;padding:0.25rem 1rem}";
14
+ const dateDropdownCss = ":host{display:inline-block;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}@media (max-width: 48em){:host .min-width{width:-moz-min-content;width:min-content}}@media (min-width: 48em){:host .border-right{border-right:var(--theme-x-weak-bdr-2)}}:host ix-button{width:100%}:host .max-height{max-height:-moz-max-content;max-height:max-content}:host .no-margin{margin:0;padding:0}:host .pull-right{float:right;padding:0.25rem 1rem}";
15
15
  const IxDateDropdownStyle0 = dateDropdownCss;
16
16
 
17
17
  const DateDropdown = /*@__PURE__*/ proxyCustomElement(class DateDropdown extends HTMLElement {
@@ -145,14 +145,14 @@ const DateDropdown = /*@__PURE__*/ proxyCustomElement(class DateDropdown extends
145
145
  this.datePickerTouched) {
146
146
  this.onDateSelect(this.currentRangeValue);
147
147
  }
148
- } }, h("ix-layout-grid", { key: 'b8d09d4ddac4960ee2ea23ed9ec6bf5ecb59c5ae', "no-margin": "true" }, h("ix-row", { key: 'fa9099679383056a268265eec7316ced4cd0085a' }, ((_a = this.dateRangeOptions) === null || _a === void 0 ? void 0 : _a.length) > 1 && (h("ix-col", { class: {
148
+ } }, h("ix-layout-grid", { key: 'b8d09d4ddac4960ee2ea23ed9ec6bf5ecb59c5ae', "no-margin": "true" }, h("ix-row", { key: 'fa9099679383056a268265eec7316ced4cd0085a' }, ((_a = this.dateRangeOptions) === null || _a === void 0 ? void 0 : _a.length) > 1 && (h("ix-col", { key: '9107d5b1053c93d662568b0efa7bb89d60b80ed6', class: {
149
149
  'no-margin': true,
150
150
  'border-right': this.selectedDateRangeId === 'custom',
151
- } }, this.dateRangeOptions.map((dateRangeOption) => (h("ix-dropdown-item", { label: dateRangeOption.label, onClick: () => this.onRangeListSelect(dateRangeOption.id), checked: this.selectedDateRangeId === dateRangeOption.id }))), h("div", { hidden: !this.customRangeAllowed }, h("ix-dropdown-item", { label: this.i18nCustomItem, checked: this.selectedDateRangeId === 'custom', onClick: () => this.onRangeListSelect('custom') })))), h("ix-col", { key: '614659cb9511b4bf5267e9ecb3c5a122d91e103a', class: "no-margin" }, this.selectedDateRangeId === 'custom' && (h(Fragment, null, h("ix-date-picker", { standaloneAppearance: false, onDateChange: (e) => {
151
+ } }, this.dateRangeOptions.map((dateRangeOption) => (h("ix-dropdown-item", { label: dateRangeOption.label, onClick: () => this.onRangeListSelect(dateRangeOption.id), checked: this.selectedDateRangeId === dateRangeOption.id }))), h("div", { key: '0a2993cbe4d995e4dd6345e8f1b4e32cb39997d8', hidden: !this.customRangeAllowed }, h("ix-dropdown-item", { key: '7bddded3f580f85c9222e563df5ef80a6a5470ed', label: this.i18nCustomItem, checked: this.selectedDateRangeId === 'custom', onClick: () => this.onRangeListSelect('custom') })))), h("ix-col", { key: 'fe530809dc0eff3d95e4305ef48d8f46ebaf2a20', class: "no-margin" }, this.selectedDateRangeId === 'custom' && (h(Fragment, { key: '6fb55cd06c7467fa1277476177b8db788fc6e614' }, h("ix-date-picker", { key: 'dac5bfab1baa592aaf0db6aaec80b44592c048f9', standaloneAppearance: false, onDateChange: (e) => {
152
152
  e.stopPropagation();
153
153
  this.currentRangeValue = Object.assign(Object.assign({}, e.detail), { id: 'custom' });
154
154
  this.datePickerTouched = true;
155
- }, onDateRangeChange: (e) => e.stopPropagation(), format: this.format, range: this.range, from: this.from || ((_b = this.currentRangeValue) === null || _b === void 0 ? void 0 : _b.from), to: this.to || ((_c = this.currentRangeValue) === null || _c === void 0 ? void 0 : _c.to), minDate: this.minDate, maxDate: this.maxDate, today: this.today }), h("div", { class: "pull-right" }, h("ix-button", { onClick: () => {
155
+ }, onDateRangeChange: (e) => e.stopPropagation(), format: this.format, range: this.range, from: this.from || ((_b = this.currentRangeValue) === null || _b === void 0 ? void 0 : _b.from), to: this.to || ((_c = this.currentRangeValue) === null || _c === void 0 ? void 0 : _c.to), minDate: this.minDate, maxDate: this.maxDate, today: this.today }), h("div", { key: '613a674664d2b55a8012fc2b869021e8dfeb10b3', class: "pull-right" }, h("ix-button", { key: '9d5470cfb8ddb6e086bb821baaefb25723777337', onClick: () => {
156
156
  this.onDateSelect(this.currentRangeValue);
157
157
  } }, this.i18nDone))))))))));
158
158
  }
@@ -1 +1 @@
1
- {"file":"ix-date-dropdown.js","mappings":";;;;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,2+BAA2+B,CAAC;AACpgC,6BAAe,eAAe;;MC4CjB,YAAY;;;;;;QAwIf,sBAAiB,GA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CAAC;gBACpB,IAAI,CAAC,iBAAiB,mCACjB,CAAC,CAAC,MAAM,KACX,EAAE,EAAE,QAAQ,GACb,CAAC;gBACF,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC;aAC/B,EACD,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,eAAe,EAAE,EAC7C,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,IAAI,EAAE,IAAI,CAAC,IAAI,KAAI,MAAA,IAAI,CAAC,iBAAiB,0CAAE,IAAI,CAAA,EAC/C,EAAE,EAAE,IAAI,CAAC,EAAE,KAAI,MAAA,IAAI,CAAC,iBAAiB,0CAAE,EAAE,CAAA,EACzC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,KAAK,EAAE,IAAI,CAAC,KAAK,GACD,EAClB,WAAK,KAAK,EAAC,YAAY,IACrB,iBACE,OAAO,EAAE;gBACP,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;aAC3C,IAEA,IAAI,CAAC,QAAQ,CACJ,CACR,CACG,CACZ,CACM,CACF,CACM,CACL,CACT,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["DateTime"],"sources":["src/components/date-dropdown/date-dropdown.scss?tag=ix-date-dropdown&encapsulation=shadow","src/components/date-dropdown/date-dropdown.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/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: inline-block;\n position: relative;\n\n @media (max-width: 48em) {\n .min-width {\n width: min-content;\n }\n }\n\n @media (min-width: 48em) {\n .border-right {\n border-right: var(--theme-x-weak-bdr-2);\n }\n }\n\n ix-button {\n width: 100%;\n }\n\n .max-height {\n max-height: max-content;\n }\n\n .no-margin {\n margin: 0;\n padding: 0;\n }\n\n .pull-right {\n float: right;\n padding: $tiny-space $default-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 Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { DateTime } from 'luxon';\n\nexport type DateDropdownOption = {\n id: string;\n label: string;\n from: string;\n to: string;\n};\n\nexport type DateRangeChangeEvent = {\n id: string;\n from: string;\n to: string;\n};\n\n/**\n * @since 2.1.0\n */\n@Component({\n tag: 'ix-date-dropdown',\n styleUrl: 'date-dropdown.scss',\n shadow: true,\n})\nexport class DateDropdown {\n @Element() hostElement: HTMLIxDateDropdownElement;\n\n /**\n * Disable the button that opens the dropdown containing the date picker.\n *\n * @since 2.3.0\n */\n @Prop() disabled = false;\n\n /**\n * Date format string.\n * See @link https://moment.github.io/luxon/#/formatting?id=table-of-tokens for all available tokens.\n */\n @Prop() format = 'yyyy/LL/dd';\n\n /**\n * If true a range of dates can be selected.\n */\n @Prop() range = true;\n\n /**\n * Picker date. If the picker is in range mode this property is the start date.\n * If set to `null` no default start date will be pre-selected.\n *\n * Format is based on `format`\n */\n @Prop() from: string;\n\n /**\n * Picker date. If the picker is in range mode this property is the end date.\n * If the picker is not in range mode leave this value `null`\n *\n * Format is based on `format`\n */\n @Prop() to: string;\n\n /**\n * The earliest date that can be selected by the date picker.\n * If not set there will be no restriction.\n */\n @Prop() minDate: string;\n\n /**\n * The latest date that can be selected by the date picker.\n * If not set there will be no restriction.\n */\n @Prop() maxDate: string;\n\n /**\n * Used to set the initial select date range as well as the button name,\n * if not set or no according date range label is found, nothing will be selected\n */\n @Prop() dateRangeId = 'custom';\n @Watch('dateRangeId')\n @Watch('to')\n @Watch('from')\n onDateRangeIdChange() {\n this.onRangeListSelect(this.dateRangeId);\n this.updateCurrentDate();\n this.setDateRangeSelection(this.dateRangeId);\n\n this.onDateSelect({\n from: this.currentRangeValue.from,\n to: this.currentRangeValue.to,\n id: this.currentRangeValue.id,\n });\n }\n\n /**\n * Controls whether the user is allowed to pick custom date ranges in the component.\n * When set to 'true', the user can select a custom date range using the date picker.\n * When set to 'false', only predefined time date ranges are available for selection.\n */\n @Prop() customRangeAllowed = true;\n\n /**\n * An array of predefined date range options for the date picker.\n * Each option is an object with a label describing the range and a function\n * that returns the start and end dates of the range as a DateRangeOption object.\n *\n * Example format:\n * {\n * id: 'some unique id',\n * label: 'Name of the range',\n * from: undefined, to: '2023/03/29'\n * },\n * // ... other predefined date range options ...\n */\n @Prop() dateRangeOptions: DateDropdownOption[] = [];\n @Watch('dateRangeOptions')\n onDateRangeOptionsChange() {\n this.initialize();\n this.onDateRangeIdChange();\n }\n\n /**\n * Text for custom dropdown item. Will be used for translation.\n */\n @Prop({ attribute: 'i18n-custom-item' }) i18nCustomItem = 'Custom...';\n\n /**\n * Text for the done button. Will be used for translation.\n */\n @Prop({ attribute: 'i18n-done' }) i18nDone = 'Done';\n\n /**\n * Text for the done button. Will be used for translation.\n */\n @Prop({ attribute: 'i18n-no-range' }) i18nNoRange = 'No range set';\n\n /** @internal */\n @Prop() today = DateTime.now().toISO();\n\n /**\n * EventEmitter for date range change events.\n *\n * This event is emitted when the date range changes within the component.\n * The event payload contains information about the selected date range.\n */\n @Event() private dateRangeChange: EventEmitter<DateRangeChangeEvent>;\n\n @State() private selectedDateRangeId: 'custom' | (string & {});\n @State() private currentRangeValue: {\n from: string;\n to: string;\n id: string;\n };\n @State() private triggerRef: HTMLElement;\n\n @Watch('disabled')\n onDisabledChange() {\n if (this.disabled) {\n this.closeDropdown();\n }\n }\n private datePickerTouched = false;\n\n componentWillLoad() {\n this.initialize();\n this.setDateRangeSelection(this.dateRangeId);\n }\n\n /**\n * Retrieves the currently selected date range from the component.\n * This method returns the selected date range as a `DateChangeEvent` object.\n */\n @Method()\n public async getDateRange(): Promise<DateRangeChangeEvent> {\n return this.currentRangeValue;\n }\n\n private initialize() {\n const isCustomRange =\n this.dateRangeId === 'custom' ||\n (!this.dateRangeId && !!this.from && !!this.to);\n\n if (isCustomRange && this.customRangeAllowed) {\n this.selectedDateRangeId = 'custom';\n this.updateCurrentDate();\n\n return;\n }\n const isValidConfiguration = !isCustomRange && !this.from;\n if (!isValidConfiguration) {\n console.warn(\n '\"from\" and \"range-date-id\" is provided this is an invalid combination. Using \"custom\".'\n );\n\n this.selectedDateRangeId = 'custom';\n this.updateCurrentDate();\n\n return;\n }\n }\n\n private updateCurrentDate() {\n this.currentRangeValue = {\n id: this.selectedDateRangeId,\n from: this.from,\n to: this.to,\n };\n }\n\n private onDateSelect(\n rangeValue: { from: string; to: string; id: string },\n preserveDropdown = true\n ) {\n this.dateRangeChange.emit(rangeValue);\n\n if (preserveDropdown) {\n this.closeDropdown();\n }\n\n this.datePickerTouched = false;\n }\n\n private onRangeListSelect(id: string) {\n if (this.setDateRangeSelection(id)) {\n this.onDateSelect(this.currentRangeValue);\n }\n }\n\n private setDateRangeSelection(id: string) {\n this.selectedDateRangeId = id;\n const option = this.dateRangeOptions.find((range) => range.id === id);\n\n if (option) {\n this.currentRangeValue = option;\n }\n\n return option;\n }\n\n private closeDropdown() {\n this.hostElement.shadowRoot.querySelector('ix-dropdown').show = false;\n }\n\n private getButtonLabel() {\n if (this.selectedDateRangeId === 'custom' && this.currentRangeValue?.from) {\n let range = this.currentRangeValue.from;\n\n if (this.currentRangeValue.to) {\n range += ` - ${this.currentRangeValue.to}`;\n }\n\n return range;\n }\n\n if (!this.selectedDateRangeId) {\n return this.i18nNoRange;\n }\n\n if (!this.dateRangeOptions || this.dateRangeOptions?.length === 0) {\n return this.i18nNoRange;\n }\n\n const option = this.dateRangeOptions.find(\n (option) => option.id === this.selectedDateRangeId\n );\n\n if (!option) {\n console.error(\n `Cannot find range option with id ${this.selectedDateRangeId}`\n );\n return this.i18nNoRange;\n }\n\n return option.label;\n }\n\n render() {\n return (\n <Host>\n <ix-button\n data-testid=\"date-dropdown-trigger\"\n data-date-dropdown-trigger\n variant=\"primary\"\n icon=\"history\"\n ref={(ref) => (this.triggerRef = ref)}\n disabled={this.disabled}\n >\n {this.getButtonLabel()}\n </ix-button>\n <ix-dropdown\n data-testid=\"date-dropdown\"\n data-date-dropdown\n class=\"min-width max-height\"\n trigger={this.triggerRef}\n closeBehavior=\"outside\"\n placement=\"bottom-start\"\n onShowChanged={({ detail: show }) => {\n if (\n !show &&\n this.selectedDateRangeId === 'custom' &&\n this.datePickerTouched\n ) {\n this.onDateSelect(this.currentRangeValue);\n }\n }}\n >\n <ix-layout-grid no-margin=\"true\">\n <ix-row>\n {this.dateRangeOptions?.length > 1 && (\n <ix-col\n class={{\n 'no-margin': true,\n 'border-right': this.selectedDateRangeId === 'custom',\n }}\n >\n {this.dateRangeOptions.map((dateRangeOption) => (\n <ix-dropdown-item\n label={dateRangeOption.label}\n onClick={() => this.onRangeListSelect(dateRangeOption.id)}\n checked={this.selectedDateRangeId === dateRangeOption.id}\n ></ix-dropdown-item>\n ))}\n <div hidden={!this.customRangeAllowed}>\n <ix-dropdown-item\n label={this.i18nCustomItem}\n checked={this.selectedDateRangeId === 'custom'}\n onClick={() => this.onRangeListSelect('custom')}\n ></ix-dropdown-item>\n </div>\n </ix-col>\n )}\n <ix-col class=\"no-margin\">\n {this.selectedDateRangeId === 'custom' && (\n <Fragment>\n <ix-date-picker\n standaloneAppearance={false}\n onDateChange={(e) => {\n e.stopPropagation();\n this.currentRangeValue = {\n ...e.detail,\n id: 'custom',\n };\n this.datePickerTouched = true;\n }}\n onDateRangeChange={(e) => e.stopPropagation()}\n format={this.format}\n range={this.range}\n from={this.from || this.currentRangeValue?.from}\n to={this.to || this.currentRangeValue?.to}\n minDate={this.minDate}\n maxDate={this.maxDate}\n today={this.today}\n ></ix-date-picker>\n <div class=\"pull-right\">\n <ix-button\n onClick={() => {\n this.onDateSelect(this.currentRangeValue);\n }}\n >\n {this.i18nDone}\n </ix-button>\n </div>\n </Fragment>\n )}\n </ix-col>\n </ix-row>\n </ix-layout-grid>\n </ix-dropdown>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-date-dropdown.js","mappings":";;;;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,uoCAAuoC,CAAC;AAChqC,6BAAe,eAAe;;MC4CjB,YAAY;;;;;;QAwIf,sBAAiB,GAAG,KAAK,CAAC;wBAhIf,KAAK;sBAMP,YAAY;qBAKb,IAAI;;;;;2BAkCE,QAAQ;kCAqBD,IAAI;gCAegB,EAAE;8BAUO,WAAW;wBAKxB,MAAM;2BAKC,cAAc;qBAGlDA,UAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE;;;;;IAvDtC,mBAAmB;QACjB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzC,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACzB,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAE7C,IAAI,CAAC,YAAY,CAAC;YAChB,IAAI,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI;YACjC,EAAE,EAAE,IAAI,CAAC,iBAAiB,CAAC,EAAE;YAC7B,EAAE,EAAE,IAAI,CAAC,iBAAiB,CAAC,EAAE;SAC9B,CAAC,CAAC;KACJ;IAwBD,wBAAwB;QACtB,IAAI,CAAC,UAAU,EAAE,CAAC;QAClB,IAAI,CAAC,mBAAmB,EAAE,CAAC;KAC5B;IAqCD,gBAAgB;QACd,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,aAAa,EAAE,CAAC;SACtB;KACF;IAGD,iBAAiB;QACf,IA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["DateTime"],"sources":["src/components/date-dropdown/date-dropdown.scss?tag=ix-date-dropdown&encapsulation=shadow","src/components/date-dropdown/date-dropdown.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/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: inline-block;\n position: relative;\n\n @media (max-width: 48em) {\n .min-width {\n width: min-content;\n }\n }\n\n @media (min-width: 48em) {\n .border-right {\n border-right: var(--theme-x-weak-bdr-2);\n }\n }\n\n ix-button {\n width: 100%;\n }\n\n .max-height {\n max-height: max-content;\n }\n\n .no-margin {\n margin: 0;\n padding: 0;\n }\n\n .pull-right {\n float: right;\n padding: $tiny-space $default-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 Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { DateTime } from 'luxon';\n\nexport type DateDropdownOption = {\n id: string;\n label: string;\n from: string;\n to: string;\n};\n\nexport type DateRangeChangeEvent = {\n id: string;\n from: string;\n to: string;\n};\n\n/**\n * @since 2.1.0\n */\n@Component({\n tag: 'ix-date-dropdown',\n styleUrl: 'date-dropdown.scss',\n shadow: true,\n})\nexport class DateDropdown {\n @Element() hostElement: HTMLIxDateDropdownElement;\n\n /**\n * Disable the button that opens the dropdown containing the date picker.\n *\n * @since 2.3.0\n */\n @Prop() disabled = false;\n\n /**\n * Date format string.\n * See @link https://moment.github.io/luxon/#/formatting?id=table-of-tokens for all available tokens.\n */\n @Prop() format = 'yyyy/LL/dd';\n\n /**\n * If true a range of dates can be selected.\n */\n @Prop() range = true;\n\n /**\n * Picker date. If the picker is in range mode this property is the start date.\n * If set to `null` no default start date will be pre-selected.\n *\n * Format is based on `format`\n */\n @Prop() from: string;\n\n /**\n * Picker date. If the picker is in range mode this property is the end date.\n * If the picker is not in range mode leave this value `null`\n *\n * Format is based on `format`\n */\n @Prop() to: string;\n\n /**\n * The earliest date that can be selected by the date picker.\n * If not set there will be no restriction.\n */\n @Prop() minDate: string;\n\n /**\n * The latest date that can be selected by the date picker.\n * If not set there will be no restriction.\n */\n @Prop() maxDate: string;\n\n /**\n * Used to set the initial select date range as well as the button name,\n * if not set or no according date range label is found, nothing will be selected\n */\n @Prop() dateRangeId = 'custom';\n @Watch('dateRangeId')\n @Watch('to')\n @Watch('from')\n onDateRangeIdChange() {\n this.onRangeListSelect(this.dateRangeId);\n this.updateCurrentDate();\n this.setDateRangeSelection(this.dateRangeId);\n\n this.onDateSelect({\n from: this.currentRangeValue.from,\n to: this.currentRangeValue.to,\n id: this.currentRangeValue.id,\n });\n }\n\n /**\n * Controls whether the user is allowed to pick custom date ranges in the component.\n * When set to 'true', the user can select a custom date range using the date picker.\n * When set to 'false', only predefined time date ranges are available for selection.\n */\n @Prop() customRangeAllowed = true;\n\n /**\n * An array of predefined date range options for the date picker.\n * Each option is an object with a label describing the range and a function\n * that returns the start and end dates of the range as a DateRangeOption object.\n *\n * Example format:\n * {\n * id: 'some unique id',\n * label: 'Name of the range',\n * from: undefined, to: '2023/03/29'\n * },\n * // ... other predefined date range options ...\n */\n @Prop() dateRangeOptions: DateDropdownOption[] = [];\n @Watch('dateRangeOptions')\n onDateRangeOptionsChange() {\n this.initialize();\n this.onDateRangeIdChange();\n }\n\n /**\n * Text for custom dropdown item. Will be used for translation.\n */\n @Prop({ attribute: 'i18n-custom-item' }) i18nCustomItem = 'Custom...';\n\n /**\n * Text for the done button. Will be used for translation.\n */\n @Prop({ attribute: 'i18n-done' }) i18nDone = 'Done';\n\n /**\n * Text for the done button. Will be used for translation.\n */\n @Prop({ attribute: 'i18n-no-range' }) i18nNoRange = 'No range set';\n\n /** @internal */\n @Prop() today = DateTime.now().toISO();\n\n /**\n * EventEmitter for date range change events.\n *\n * This event is emitted when the date range changes within the component.\n * The event payload contains information about the selected date range.\n */\n @Event() private dateRangeChange: EventEmitter<DateRangeChangeEvent>;\n\n @State() private selectedDateRangeId: 'custom' | (string & {});\n @State() private currentRangeValue: {\n from: string;\n to: string;\n id: string;\n };\n @State() private triggerRef: HTMLElement;\n\n @Watch('disabled')\n onDisabledChange() {\n if (this.disabled) {\n this.closeDropdown();\n }\n }\n private datePickerTouched = false;\n\n componentWillLoad() {\n this.initialize();\n this.setDateRangeSelection(this.dateRangeId);\n }\n\n /**\n * Retrieves the currently selected date range from the component.\n * This method returns the selected date range as a `DateChangeEvent` object.\n */\n @Method()\n public async getDateRange(): Promise<DateRangeChangeEvent> {\n return this.currentRangeValue;\n }\n\n private initialize() {\n const isCustomRange =\n this.dateRangeId === 'custom' ||\n (!this.dateRangeId && !!this.from && !!this.to);\n\n if (isCustomRange && this.customRangeAllowed) {\n this.selectedDateRangeId = 'custom';\n this.updateCurrentDate();\n\n return;\n }\n const isValidConfiguration = !isCustomRange && !this.from;\n if (!isValidConfiguration) {\n console.warn(\n '\"from\" and \"range-date-id\" is provided this is an invalid combination. Using \"custom\".'\n );\n\n this.selectedDateRangeId = 'custom';\n this.updateCurrentDate();\n\n return;\n }\n }\n\n private updateCurrentDate() {\n this.currentRangeValue = {\n id: this.selectedDateRangeId,\n from: this.from,\n to: this.to,\n };\n }\n\n private onDateSelect(\n rangeValue: { from: string; to: string; id: string },\n preserveDropdown = true\n ) {\n this.dateRangeChange.emit(rangeValue);\n\n if (preserveDropdown) {\n this.closeDropdown();\n }\n\n this.datePickerTouched = false;\n }\n\n private onRangeListSelect(id: string) {\n if (this.setDateRangeSelection(id)) {\n this.onDateSelect(this.currentRangeValue);\n }\n }\n\n private setDateRangeSelection(id: string) {\n this.selectedDateRangeId = id;\n const option = this.dateRangeOptions.find((range) => range.id === id);\n\n if (option) {\n this.currentRangeValue = option;\n }\n\n return option;\n }\n\n private closeDropdown() {\n this.hostElement.shadowRoot.querySelector('ix-dropdown').show = false;\n }\n\n private getButtonLabel() {\n if (this.selectedDateRangeId === 'custom' && this.currentRangeValue?.from) {\n let range = this.currentRangeValue.from;\n\n if (this.currentRangeValue.to) {\n range += ` - ${this.currentRangeValue.to}`;\n }\n\n return range;\n }\n\n if (!this.selectedDateRangeId) {\n return this.i18nNoRange;\n }\n\n if (!this.dateRangeOptions || this.dateRangeOptions?.length === 0) {\n return this.i18nNoRange;\n }\n\n const option = this.dateRangeOptions.find(\n (option) => option.id === this.selectedDateRangeId\n );\n\n if (!option) {\n console.error(\n `Cannot find range option with id ${this.selectedDateRangeId}`\n );\n return this.i18nNoRange;\n }\n\n return option.label;\n }\n\n render() {\n return (\n <Host>\n <ix-button\n data-testid=\"date-dropdown-trigger\"\n data-date-dropdown-trigger\n variant=\"primary\"\n icon=\"history\"\n ref={(ref) => (this.triggerRef = ref)}\n disabled={this.disabled}\n >\n {this.getButtonLabel()}\n </ix-button>\n <ix-dropdown\n data-testid=\"date-dropdown\"\n data-date-dropdown\n class=\"min-width max-height\"\n trigger={this.triggerRef}\n closeBehavior=\"outside\"\n placement=\"bottom-start\"\n onShowChanged={({ detail: show }) => {\n if (\n !show &&\n this.selectedDateRangeId === 'custom' &&\n this.datePickerTouched\n ) {\n this.onDateSelect(this.currentRangeValue);\n }\n }}\n >\n <ix-layout-grid no-margin=\"true\">\n <ix-row>\n {this.dateRangeOptions?.length > 1 && (\n <ix-col\n class={{\n 'no-margin': true,\n 'border-right': this.selectedDateRangeId === 'custom',\n }}\n >\n {this.dateRangeOptions.map((dateRangeOption) => (\n <ix-dropdown-item\n label={dateRangeOption.label}\n onClick={() => this.onRangeListSelect(dateRangeOption.id)}\n checked={this.selectedDateRangeId === dateRangeOption.id}\n ></ix-dropdown-item>\n ))}\n <div hidden={!this.customRangeAllowed}>\n <ix-dropdown-item\n label={this.i18nCustomItem}\n checked={this.selectedDateRangeId === 'custom'}\n onClick={() => this.onRangeListSelect('custom')}\n ></ix-dropdown-item>\n </div>\n </ix-col>\n )}\n <ix-col class=\"no-margin\">\n {this.selectedDateRangeId === 'custom' && (\n <Fragment>\n <ix-date-picker\n standaloneAppearance={false}\n onDateChange={(e) => {\n e.stopPropagation();\n this.currentRangeValue = {\n ...e.detail,\n id: 'custom',\n };\n this.datePickerTouched = true;\n }}\n onDateRangeChange={(e) => e.stopPropagation()}\n format={this.format}\n range={this.range}\n from={this.from || this.currentRangeValue?.from}\n to={this.to || this.currentRangeValue?.to}\n minDate={this.minDate}\n maxDate={this.maxDate}\n today={this.today}\n ></ix-date-picker>\n <div class=\"pull-right\">\n <ix-button\n onClick={() => {\n this.onDateSelect(this.currentRangeValue);\n }}\n >\n {this.i18nDone}\n </ix-button>\n </div>\n </Fragment>\n )}\n </ix-col>\n </ix-row>\n </ix-layout-grid>\n </ix-dropdown>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,9 +1,9 @@
1
1
  import type { Components, JSX } from "../dist/types/components";
2
2
 
3
- interface IxFormField extends Components.IxFormField, HTMLElement {}
4
- export const IxFormField: {
5
- prototype: IxFormField;
6
- new (): IxFormField;
3
+ interface IxDateField extends Components.IxDateField, HTMLElement {}
4
+ export const IxDateField: {
5
+ prototype: IxDateField;
6
+ new (): IxDateField;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.