@siemens/ix 0.0.0-pr-1974-20250627114851 → 0.0.0-pr-1974-20250627142646

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 (642) hide show
  1. package/components/custom-elements.d.ts +11 -0
  2. package/components/index.d.ts +33 -0
  3. package/components/index.js +122 -0
  4. package/components/index.js.map +1 -0
  5. package/components/ix-action-card.d.ts +11 -0
  6. package/components/ix-action-card.js +72 -0
  7. package/components/ix-action-card.js.map +1 -0
  8. package/components/ix-application-header.d.ts +11 -0
  9. package/components/ix-application-header.js +9 -0
  10. package/components/ix-application-header.js.map +1 -0
  11. package/components/ix-application-sidebar.d.ts +11 -0
  12. package/components/ix-application-sidebar.js +64 -0
  13. package/components/ix-application-sidebar.js.map +1 -0
  14. package/components/ix-application-switch-modal.d.ts +11 -0
  15. package/components/ix-application-switch-modal.js +106 -0
  16. package/components/ix-application-switch-modal.js.map +1 -0
  17. package/components/ix-application.d.ts +11 -0
  18. package/components/ix-application.js +148 -0
  19. package/components/ix-application.js.map +1 -0
  20. package/components/ix-avatar.d.ts +11 -0
  21. package/components/ix-avatar.js +9 -0
  22. package/components/ix-avatar.js.map +1 -0
  23. package/components/ix-basic-navigation.d.ts +11 -0
  24. package/components/ix-basic-navigation.js +154 -0
  25. package/components/ix-basic-navigation.js.map +1 -0
  26. package/components/ix-blind.d.ts +11 -0
  27. package/components/ix-blind.js +130 -0
  28. package/components/ix-blind.js.map +1 -0
  29. package/components/ix-breadcrumb-item.d.ts +11 -0
  30. package/components/ix-breadcrumb-item.js +9 -0
  31. package/components/ix-breadcrumb-item.js.map +1 -0
  32. package/components/ix-breadcrumb.d.ts +11 -0
  33. package/components/ix-breadcrumb.js +169 -0
  34. package/components/ix-breadcrumb.js.map +1 -0
  35. package/components/ix-button.d.ts +11 -0
  36. package/components/ix-button.js +9 -0
  37. package/components/ix-button.js.map +1 -0
  38. package/components/ix-card-accordion.d.ts +11 -0
  39. package/components/ix-card-accordion.js +9 -0
  40. package/components/ix-card-accordion.js.map +1 -0
  41. package/components/ix-card-content.d.ts +11 -0
  42. package/components/ix-card-content.js +9 -0
  43. package/components/ix-card-content.js.map +1 -0
  44. package/components/ix-card-list.d.ts +11 -0
  45. package/components/ix-card-list.js +256 -0
  46. package/components/ix-card-list.js.map +1 -0
  47. package/components/ix-card-title.d.ts +11 -0
  48. package/components/ix-card-title.js +9 -0
  49. package/components/ix-card-title.js.map +1 -0
  50. package/components/ix-card.d.ts +11 -0
  51. package/components/ix-card.js +9 -0
  52. package/components/ix-card.js.map +1 -0
  53. package/components/ix-category-filter.d.ts +11 -0
  54. package/components/ix-category-filter.js +600 -0
  55. package/components/ix-category-filter.js.map +1 -0
  56. package/components/ix-checkbox-group.d.ts +11 -0
  57. package/components/ix-checkbox-group.js +158 -0
  58. package/components/ix-checkbox-group.js.map +1 -0
  59. package/components/ix-checkbox.d.ts +11 -0
  60. package/components/ix-checkbox.js +163 -0
  61. package/components/ix-checkbox.js.map +1 -0
  62. package/components/ix-chip.d.ts +11 -0
  63. package/components/ix-chip.js +154 -0
  64. package/components/ix-chip.js.map +1 -0
  65. package/components/ix-col.d.ts +11 -0
  66. package/components/ix-col.js +9 -0
  67. package/components/ix-col.js.map +1 -0
  68. package/components/ix-content-header.d.ts +11 -0
  69. package/components/ix-content-header.js +73 -0
  70. package/components/ix-content-header.js.map +1 -0
  71. package/components/ix-content.d.ts +11 -0
  72. package/components/ix-content.js +49 -0
  73. package/components/ix-content.js.map +1 -0
  74. package/components/ix-css-grid-item.d.ts +11 -0
  75. package/components/ix-css-grid-item.js +40 -0
  76. package/components/ix-css-grid-item.js.map +1 -0
  77. package/components/ix-css-grid.d.ts +11 -0
  78. package/components/ix-css-grid.js +117 -0
  79. package/components/ix-css-grid.js.map +1 -0
  80. package/components/ix-custom-field.d.ts +11 -0
  81. package/components/ix-custom-field.js +112 -0
  82. package/components/ix-custom-field.js.map +1 -0
  83. package/components/ix-date-dropdown.d.ts +11 -0
  84. package/components/ix-date-dropdown.js +368 -0
  85. package/components/ix-date-dropdown.js.map +1 -0
  86. package/components/ix-date-input.d.ts +11 -0
  87. package/components/ix-date-input.js +393 -0
  88. package/components/ix-date-input.js.map +1 -0
  89. package/components/ix-date-picker.d.ts +11 -0
  90. package/components/ix-date-picker.js +9 -0
  91. package/components/ix-date-picker.js.map +1 -0
  92. package/components/ix-date-time-card.d.ts +11 -0
  93. package/components/ix-date-time-card.js +9 -0
  94. package/components/ix-date-time-card.js.map +1 -0
  95. package/components/ix-datetime-picker.d.ts +11 -0
  96. package/components/ix-datetime-picker.js +204 -0
  97. package/components/ix-datetime-picker.js.map +1 -0
  98. package/components/ix-divider.d.ts +11 -0
  99. package/components/ix-divider.js +9 -0
  100. package/components/ix-divider.js.map +1 -0
  101. package/components/ix-drawer.d.ts +11 -0
  102. package/components/ix-drawer.js +200 -0
  103. package/components/ix-drawer.js.map +1 -0
  104. package/components/ix-dropdown-button.d.ts +11 -0
  105. package/components/ix-dropdown-button.js +106 -0
  106. package/components/ix-dropdown-button.js.map +1 -0
  107. package/components/ix-dropdown-header.d.ts +11 -0
  108. package/components/ix-dropdown-header.js +44 -0
  109. package/components/ix-dropdown-header.js.map +1 -0
  110. package/components/ix-dropdown-item.d.ts +11 -0
  111. package/components/ix-dropdown-item.js +9 -0
  112. package/components/ix-dropdown-item.js.map +1 -0
  113. package/components/ix-dropdown-quick-actions.d.ts +11 -0
  114. package/components/ix-dropdown-quick-actions.js +36 -0
  115. package/components/ix-dropdown-quick-actions.js.map +1 -0
  116. package/components/ix-dropdown.d.ts +11 -0
  117. package/components/ix-dropdown.js +9 -0
  118. package/components/ix-dropdown.js.map +1 -0
  119. package/components/ix-empty-state.d.ts +11 -0
  120. package/components/ix-empty-state.js +65 -0
  121. package/components/ix-empty-state.js.map +1 -0
  122. package/components/ix-event-list-item.d.ts +11 -0
  123. package/components/ix-event-list-item.js +72 -0
  124. package/components/ix-event-list-item.js.map +1 -0
  125. package/components/ix-event-list.d.ts +11 -0
  126. package/components/ix-event-list.js +173 -0
  127. package/components/ix-event-list.js.map +1 -0
  128. package/components/ix-expanding-search.d.ts +11 -0
  129. package/components/ix-expanding-search.js +145 -0
  130. package/components/ix-expanding-search.js.map +1 -0
  131. package/components/ix-field-label.d.ts +11 -0
  132. package/components/ix-field-label.js +9 -0
  133. package/components/ix-field-label.js.map +1 -0
  134. package/components/ix-field-wrapper.d.ts +11 -0
  135. package/components/ix-field-wrapper.js +9 -0
  136. package/components/ix-field-wrapper.js.map +1 -0
  137. package/components/ix-filter-chip.d.ts +11 -0
  138. package/components/ix-filter-chip.js +9 -0
  139. package/components/ix-filter-chip.js.map +1 -0
  140. package/components/ix-flip-tile-content.d.ts +11 -0
  141. package/components/ix-flip-tile-content.js +44 -0
  142. package/components/ix-flip-tile-content.js.map +1 -0
  143. package/components/ix-flip-tile.d.ts +11 -0
  144. package/components/ix-flip-tile.js +153 -0
  145. package/components/ix-flip-tile.js.map +1 -0
  146. package/components/ix-group-context-menu.d.ts +11 -0
  147. package/components/ix-group-context-menu.js +9 -0
  148. package/components/ix-group-context-menu.js.map +1 -0
  149. package/components/ix-group-item.d.ts +11 -0
  150. package/components/ix-group-item.js +9 -0
  151. package/components/ix-group-item.js.map +1 -0
  152. package/components/ix-group.d.ts +11 -0
  153. package/components/ix-group.js +221 -0
  154. package/components/ix-group.js.map +1 -0
  155. package/components/ix-helper-text.d.ts +11 -0
  156. package/components/ix-helper-text.js +95 -0
  157. package/components/ix-helper-text.js.map +1 -0
  158. package/components/ix-icon-button.d.ts +11 -0
  159. package/components/ix-icon-button.js +9 -0
  160. package/components/ix-icon-button.js.map +1 -0
  161. package/components/ix-icon-toggle-button.d.ts +11 -0
  162. package/components/ix-icon-toggle-button.js +149 -0
  163. package/components/ix-icon-toggle-button.js.map +1 -0
  164. package/components/ix-input-group.d.ts +11 -0
  165. package/components/ix-input-group.js +152 -0
  166. package/components/ix-input-group.js.map +1 -0
  167. package/components/ix-input.d.ts +11 -0
  168. package/components/ix-input.js +248 -0
  169. package/components/ix-input.js.map +1 -0
  170. package/components/ix-key-value-list.d.ts +11 -0
  171. package/components/ix-key-value-list.js +42 -0
  172. package/components/ix-key-value-list.js.map +1 -0
  173. package/components/ix-key-value.d.ts +11 -0
  174. package/components/ix-key-value.js +48 -0
  175. package/components/ix-key-value.js.map +1 -0
  176. package/components/ix-kpi.d.ts +11 -0
  177. package/components/ix-kpi.js +74 -0
  178. package/components/ix-kpi.js.map +1 -0
  179. package/components/ix-layout-auto.d.ts +11 -0
  180. package/components/ix-layout-auto.js +113 -0
  181. package/components/ix-layout-auto.js.map +1 -0
  182. package/components/ix-layout-grid.d.ts +11 -0
  183. package/components/ix-layout-grid.js +9 -0
  184. package/components/ix-layout-grid.js.map +1 -0
  185. package/components/ix-link-button.d.ts +11 -0
  186. package/components/ix-link-button.js +57 -0
  187. package/components/ix-link-button.js.map +1 -0
  188. package/components/ix-map-navigation-overlay.d.ts +11 -0
  189. package/components/ix-map-navigation-overlay.js +9 -0
  190. package/components/ix-map-navigation-overlay.js.map +1 -0
  191. package/components/ix-map-navigation.d.ts +11 -0
  192. package/components/ix-map-navigation.js +240 -0
  193. package/components/ix-map-navigation.js.map +1 -0
  194. package/components/ix-menu-about-item.d.ts +11 -0
  195. package/components/ix-menu-about-item.js +51 -0
  196. package/components/ix-menu-about-item.js.map +1 -0
  197. package/components/ix-menu-about-news.d.ts +11 -0
  198. package/components/ix-menu-about-news.js +93 -0
  199. package/components/ix-menu-about-news.js.map +1 -0
  200. package/components/ix-menu-about.d.ts +11 -0
  201. package/components/ix-menu-about.js +89 -0
  202. package/components/ix-menu-about.js.map +1 -0
  203. package/components/ix-menu-avatar-item.d.ts +11 -0
  204. package/components/ix-menu-avatar-item.js +9 -0
  205. package/components/ix-menu-avatar-item.js.map +1 -0
  206. package/components/ix-menu-avatar.d.ts +11 -0
  207. package/components/ix-menu-avatar.js +115 -0
  208. package/components/ix-menu-avatar.js.map +1 -0
  209. package/components/ix-menu-category.d.ts +11 -0
  210. package/components/ix-menu-category.js +284 -0
  211. package/components/ix-menu-category.js.map +1 -0
  212. package/components/ix-menu-expand-icon.d.ts +11 -0
  213. package/components/ix-menu-expand-icon.js +9 -0
  214. package/components/ix-menu-expand-icon.js.map +1 -0
  215. package/components/ix-menu-item.d.ts +11 -0
  216. package/components/ix-menu-item.js +9 -0
  217. package/components/ix-menu-item.js.map +1 -0
  218. package/components/ix-menu-settings-item.d.ts +11 -0
  219. package/components/ix-menu-settings-item.js +51 -0
  220. package/components/ix-menu-settings-item.js.map +1 -0
  221. package/components/ix-menu-settings.d.ts +11 -0
  222. package/components/ix-menu-settings.js +9 -0
  223. package/components/ix-menu-settings.js.map +1 -0
  224. package/components/ix-menu.d.ts +11 -0
  225. package/components/ix-menu.js +590 -0
  226. package/components/ix-menu.js.map +1 -0
  227. package/components/ix-message-bar.d.ts +11 -0
  228. package/components/ix-message-bar.js +103 -0
  229. package/components/ix-message-bar.js.map +1 -0
  230. package/components/ix-modal-content.d.ts +11 -0
  231. package/components/ix-modal-content.js +9 -0
  232. package/components/ix-modal-content.js.map +1 -0
  233. package/components/ix-modal-footer.d.ts +11 -0
  234. package/components/ix-modal-footer.js +36 -0
  235. package/components/ix-modal-footer.js.map +1 -0
  236. package/components/ix-modal-header.d.ts +11 -0
  237. package/components/ix-modal-header.js +9 -0
  238. package/components/ix-modal-header.js.map +1 -0
  239. package/components/ix-modal-loading.d.ts +11 -0
  240. package/components/ix-modal-loading.js +42 -0
  241. package/components/ix-modal-loading.js.map +1 -0
  242. package/components/ix-modal.d.ts +11 -0
  243. package/components/ix-modal.js +241 -0
  244. package/components/ix-modal.js.map +1 -0
  245. package/components/ix-number-input.d.ts +11 -0
  246. package/components/ix-number-input.js +241 -0
  247. package/components/ix-number-input.js.map +1 -0
  248. package/components/ix-pagination.d.ts +11 -0
  249. package/components/ix-pagination.js +261 -0
  250. package/components/ix-pagination.js.map +1 -0
  251. package/components/ix-pane-layout.d.ts +11 -0
  252. package/components/ix-pane-layout.js +311 -0
  253. package/components/ix-pane-layout.js.map +1 -0
  254. package/components/ix-pane.d.ts +11 -0
  255. package/components/ix-pane.js +568 -0
  256. package/components/ix-pane.js.map +1 -0
  257. package/components/ix-pill.d.ts +11 -0
  258. package/components/ix-pill.js +127 -0
  259. package/components/ix-pill.js.map +1 -0
  260. package/components/ix-progress-indicator.d.ts +11 -0
  261. package/components/ix-progress-indicator.js +193 -0
  262. package/components/ix-progress-indicator.js.map +1 -0
  263. package/components/ix-push-card.d.ts +11 -0
  264. package/components/ix-push-card.js +82 -0
  265. package/components/ix-push-card.js.map +1 -0
  266. package/components/ix-radio-group.d.ts +11 -0
  267. package/components/ix-radio-group.js +195 -0
  268. package/components/ix-radio-group.js.map +1 -0
  269. package/components/ix-radio.d.ts +11 -0
  270. package/components/ix-radio.js +145 -0
  271. package/components/ix-radio.js.map +1 -0
  272. package/components/ix-row.d.ts +11 -0
  273. package/components/ix-row.js +9 -0
  274. package/components/ix-row.js.map +1 -0
  275. package/components/ix-select-item.d.ts +11 -0
  276. package/components/ix-select-item.js +9 -0
  277. package/components/ix-select-item.js.map +1 -0
  278. package/components/ix-select.d.ts +11 -0
  279. package/components/ix-select.js +9 -0
  280. package/components/ix-select.js.map +1 -0
  281. package/components/ix-slider.d.ts +11 -0
  282. package/components/ix-slider.js +255 -0
  283. package/components/ix-slider.js.map +1 -0
  284. package/components/ix-spinner.d.ts +11 -0
  285. package/components/ix-spinner.js +9 -0
  286. package/components/ix-spinner.js.map +1 -0
  287. package/components/ix-split-button.d.ts +11 -0
  288. package/components/ix-split-button.js +117 -0
  289. package/components/ix-split-button.js.map +1 -0
  290. package/components/ix-tab-item.d.ts +11 -0
  291. package/components/ix-tab-item.js +9 -0
  292. package/components/ix-tab-item.js.map +1 -0
  293. package/components/ix-tabs.d.ts +11 -0
  294. package/components/ix-tabs.js +9 -0
  295. package/components/ix-tabs.js.map +1 -0
  296. package/components/ix-textarea.d.ts +11 -0
  297. package/components/ix-textarea.js +192 -0
  298. package/components/ix-textarea.js.map +1 -0
  299. package/components/ix-tile.d.ts +11 -0
  300. package/components/ix-tile.js +63 -0
  301. package/components/ix-tile.js.map +1 -0
  302. package/components/ix-time-input.d.ts +11 -0
  303. package/components/ix-time-input.js +442 -0
  304. package/components/ix-time-input.js.map +1 -0
  305. package/components/ix-time-picker.d.ts +11 -0
  306. package/components/ix-time-picker.js +9 -0
  307. package/components/ix-time-picker.js.map +1 -0
  308. package/components/ix-toast-container.d.ts +11 -0
  309. package/components/ix-toast-container.js +143 -0
  310. package/components/ix-toast-container.js.map +1 -0
  311. package/components/ix-toast.d.ts +11 -0
  312. package/components/ix-toast.js +9 -0
  313. package/components/ix-toast.js.map +1 -0
  314. package/components/ix-toggle-button.d.ts +11 -0
  315. package/components/ix-toggle-button.js +128 -0
  316. package/components/ix-toggle-button.js.map +1 -0
  317. package/components/ix-toggle.d.ts +11 -0
  318. package/components/ix-toggle.js +188 -0
  319. package/components/ix-toggle.js.map +1 -0
  320. package/components/ix-tooltip.d.ts +11 -0
  321. package/components/ix-tooltip.js +9 -0
  322. package/components/ix-tooltip.js.map +1 -0
  323. package/components/ix-tree-item.d.ts +11 -0
  324. package/components/ix-tree-item.js +9 -0
  325. package/components/ix-tree-item.js.map +1 -0
  326. package/components/ix-tree.d.ts +11 -0
  327. package/components/ix-tree.js +610 -0
  328. package/components/ix-tree.js.map +1 -0
  329. package/components/ix-typography.d.ts +11 -0
  330. package/components/ix-typography.js +9 -0
  331. package/components/ix-typography.js.map +1 -0
  332. package/components/ix-upload.d.ts +11 -0
  333. package/components/ix-upload.js +234 -0
  334. package/components/ix-upload.js.map +1 -0
  335. package/components/ix-validation-tooltip.d.ts +11 -0
  336. package/components/ix-validation-tooltip.js +182 -0
  337. package/components/ix-validation-tooltip.js.map +1 -0
  338. package/components/ix-workflow-step.d.ts +11 -0
  339. package/components/ix-workflow-step.js +147 -0
  340. package/components/ix-workflow-step.js.map +1 -0
  341. package/components/ix-workflow-steps.d.ts +11 -0
  342. package/components/ix-workflow-steps.js +112 -0
  343. package/components/ix-workflow-steps.js.map +1 -0
  344. package/components/p--2LOMK-5.js +105 -0
  345. package/components/p--2LOMK-5.js.map +1 -0
  346. package/components/p-5uA5ifmT.js +72 -0
  347. package/components/p-5uA5ifmT.js.map +1 -0
  348. package/components/p-9dLpp1OQ.js +71 -0
  349. package/components/p-9dLpp1OQ.js.map +1 -0
  350. package/components/p-B1Gzt08S.js +51 -0
  351. package/components/p-B1Gzt08S.js.map +1 -0
  352. package/components/p-B3duqvjW.js +33 -0
  353. package/components/p-B3duqvjW.js.map +1 -0
  354. package/components/p-B6e7P4xT.js +42 -0
  355. package/components/p-B6e7P4xT.js.map +1 -0
  356. package/components/p-BGzrnl_l.js +21 -0
  357. package/components/p-BGzrnl_l.js.map +1 -0
  358. package/components/p-BH3f5fa3.js +37 -0
  359. package/components/p-BH3f5fa3.js.map +1 -0
  360. package/components/p-BJcX2_-N.js +110 -0
  361. package/components/p-BJcX2_-N.js.map +1 -0
  362. package/components/p-BMU8AlMD.js +107 -0
  363. package/components/p-BMU8AlMD.js.map +1 -0
  364. package/components/p-BNu7ac9R.js +79 -0
  365. package/components/p-BNu7ac9R.js.map +1 -0
  366. package/components/p-BP-8cvOJ.js +90 -0
  367. package/components/p-BP-8cvOJ.js.map +1 -0
  368. package/components/p-BQ6999e5.js +22 -0
  369. package/components/p-BQ6999e5.js.map +1 -0
  370. package/components/p-BXjBChze.js +130 -0
  371. package/components/p-BXjBChze.js.map +1 -0
  372. package/components/p-Bb7pDeaQ.js +144 -0
  373. package/components/p-Bb7pDeaQ.js.map +1 -0
  374. package/components/p-BcGAKMQ_.js +76 -0
  375. package/components/p-BcGAKMQ_.js.map +1 -0
  376. package/components/p-BdCnOrqW.js +47 -0
  377. package/components/p-BdCnOrqW.js.map +1 -0
  378. package/components/p-BedSAVZh.js +90 -0
  379. package/components/p-BedSAVZh.js.map +1 -0
  380. package/components/p-BhLbU_vK.js +129 -0
  381. package/components/p-BhLbU_vK.js.map +1 -0
  382. package/components/p-Bi1VyG64.js +46 -0
  383. package/components/p-Bi1VyG64.js.map +1 -0
  384. package/components/p-BkWbk29R.js +75 -0
  385. package/components/p-BkWbk29R.js.map +1 -0
  386. package/components/p-BmmgJGNd.js +64 -0
  387. package/components/p-BmmgJGNd.js.map +1 -0
  388. package/components/p-Bu-j8wxy.js +162 -0
  389. package/components/p-Bu-j8wxy.js.map +1 -0
  390. package/components/p-BuJ6BWIi.js +2042 -0
  391. package/components/p-BuJ6BWIi.js.map +1 -0
  392. package/components/p-Bvsx56zn.js +203 -0
  393. package/components/p-Bvsx56zn.js.map +1 -0
  394. package/components/p-BygLxZIM.js +54 -0
  395. package/components/p-BygLxZIM.js.map +1 -0
  396. package/components/p-Bzyt4nTL.js +110 -0
  397. package/components/p-Bzyt4nTL.js.map +1 -0
  398. package/components/p-C6o-AByw.js +33 -0
  399. package/components/p-C6o-AByw.js.map +1 -0
  400. package/components/p-CAqtPJ4-.js +1786 -0
  401. package/components/p-CAqtPJ4-.js.map +1 -0
  402. package/components/p-CGwHQeMX.js +54 -0
  403. package/components/p-CGwHQeMX.js.map +1 -0
  404. package/components/p-CKkTXQiw.js +164 -0
  405. package/components/p-CKkTXQiw.js.map +1 -0
  406. package/components/p-CX81WQtk.js +14 -0
  407. package/components/p-CX81WQtk.js.map +1 -0
  408. package/components/p-Cb-eBcUF.js +61 -0
  409. package/components/p-Cb-eBcUF.js.map +1 -0
  410. package/components/p-Cp5J1RZq.js +765 -0
  411. package/components/p-Cp5J1RZq.js.map +1 -0
  412. package/components/p-Cpxz1Kcs.js +19 -0
  413. package/components/p-Cpxz1Kcs.js.map +1 -0
  414. package/components/p-Cs8DEpjh.js +611 -0
  415. package/components/p-Cs8DEpjh.js.map +1 -0
  416. package/components/p-Cut5OrRw.js +461 -0
  417. package/components/p-Cut5OrRw.js.map +1 -0
  418. package/components/p-CvvOe8xV.js +151 -0
  419. package/components/p-CvvOe8xV.js.map +1 -0
  420. package/components/p-CyFFBc_G.js +100 -0
  421. package/components/p-CyFFBc_G.js.map +1 -0
  422. package/components/p-D3Aowo70.js +113 -0
  423. package/components/p-D3Aowo70.js.map +1 -0
  424. package/components/p-D3K9vmFp.js +157 -0
  425. package/components/p-D3K9vmFp.js.map +1 -0
  426. package/components/p-D6vSVaHq.js +26 -0
  427. package/components/p-D6vSVaHq.js.map +1 -0
  428. package/components/p-D9LaIICQ.js +118 -0
  429. package/components/p-D9LaIICQ.js.map +1 -0
  430. package/components/p-DCx3-1oU.js +310 -0
  431. package/components/p-DCx3-1oU.js.map +1 -0
  432. package/components/p-DDHkNPby.js +79 -0
  433. package/components/p-DDHkNPby.js.map +1 -0
  434. package/components/p-DJ7U7oUq.js +89 -0
  435. package/components/p-DJ7U7oUq.js.map +1 -0
  436. package/components/p-DMlmNp-B.js +33 -0
  437. package/components/p-DMlmNp-B.js.map +1 -0
  438. package/components/p-DWO4uklL.js +146 -0
  439. package/components/p-DWO4uklL.js.map +1 -0
  440. package/components/p-DaztMgDr.js +757 -0
  441. package/components/p-DaztMgDr.js.map +1 -0
  442. package/components/p-DbR-LZrk.js +33 -0
  443. package/components/p-DbR-LZrk.js.map +1 -0
  444. package/components/p-DfbCO042.js +207 -0
  445. package/components/p-DfbCO042.js.map +1 -0
  446. package/components/p-DkGdSI6e.js +103 -0
  447. package/components/p-DkGdSI6e.js.map +1 -0
  448. package/components/p-DojBQCbP.js +55 -0
  449. package/components/p-DojBQCbP.js.map +1 -0
  450. package/components/p-Dp15M30K.js +20 -0
  451. package/components/p-Dp15M30K.js.map +1 -0
  452. package/components/p-Dp4RJcgZ.js +125 -0
  453. package/components/p-Dp4RJcgZ.js.map +1 -0
  454. package/components/p-DyHdZRT0.js +359 -0
  455. package/components/p-DyHdZRT0.js.map +1 -0
  456. package/components/p-DyMgW0fR.js +65 -0
  457. package/components/p-DyMgW0fR.js.map +1 -0
  458. package/components/p-G0biE2Kx.js +33 -0
  459. package/components/p-G0biE2Kx.js.map +1 -0
  460. package/components/p-JJddxCCh.js +42 -0
  461. package/components/p-JJddxCCh.js.map +1 -0
  462. package/components/p-Ooq8eqJM.js +33 -0
  463. package/components/p-Ooq8eqJM.js.map +1 -0
  464. package/components/p-Ou74PMQs.js +1313 -0
  465. package/components/p-Ou74PMQs.js.map +1 -0
  466. package/components/p-PxA_udyJ.js +254 -0
  467. package/components/p-PxA_udyJ.js.map +1 -0
  468. package/components/p-TNoCM8Wi.js +83 -0
  469. package/components/p-TNoCM8Wi.js.map +1 -0
  470. package/components/p-UQa1aROL.js +23 -0
  471. package/components/p-UQa1aROL.js.map +1 -0
  472. package/components/p-bDicGJUN.js +7697 -0
  473. package/components/p-bDicGJUN.js.map +1 -0
  474. package/components/p-bcj7UEIC.js +24 -0
  475. package/components/p-bcj7UEIC.js.map +1 -0
  476. package/components/p-kY0vP3rC.js +122 -0
  477. package/components/p-kY0vP3rC.js.map +1 -0
  478. package/components/p-qauH9Ci4.js +54 -0
  479. package/components/p-qauH9Ci4.js.map +1 -0
  480. package/components/p-r63hglsv.js +90 -0
  481. package/components/p-r63hglsv.js.map +1 -0
  482. package/components/p-tH4n038Z.js +48 -0
  483. package/components/p-tH4n038Z.js.map +1 -0
  484. package/components/package.json +9 -0
  485. package/package.json +3 -2
  486. package/dist/collection/components/application-header/test/application-header.ct.js +0 -389
  487. package/dist/collection/components/application-header/test/application-header.ct.js.map +0 -1
  488. package/dist/collection/components/avatar/test/avatar.ct.js +0 -85
  489. package/dist/collection/components/avatar/test/avatar.ct.js.map +0 -1
  490. package/dist/collection/components/blind/test/blind.ct.js +0 -16
  491. package/dist/collection/components/blind/test/blind.ct.js.map +0 -1
  492. package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js +0 -98
  493. package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js.map +0 -1
  494. package/dist/collection/components/button/test/button.ct.js +0 -153
  495. package/dist/collection/components/button/test/button.ct.js.map +0 -1
  496. package/dist/collection/components/category-filter/test/category-filter.ct.js +0 -62
  497. package/dist/collection/components/category-filter/test/category-filter.ct.js.map +0 -1
  498. package/dist/collection/components/checkbox/tests/checkbox.ct.js +0 -86
  499. package/dist/collection/components/checkbox/tests/checkbox.ct.js.map +0 -1
  500. package/dist/collection/components/checkbox-group/test/checkbox-group.ct.js +0 -48
  501. package/dist/collection/components/checkbox-group/test/checkbox-group.ct.js.map +0 -1
  502. package/dist/collection/components/chip/test/chip.ct.js +0 -76
  503. package/dist/collection/components/chip/test/chip.ct.js.map +0 -1
  504. package/dist/collection/components/custom-field/tests/custom-field.ct.js +0 -68
  505. package/dist/collection/components/custom-field/tests/custom-field.ct.js.map +0 -1
  506. package/dist/collection/components/date-dropdown/test/date-dropdown.ct.js +0 -215
  507. package/dist/collection/components/date-dropdown/test/date-dropdown.ct.js.map +0 -1
  508. package/dist/collection/components/date-input/tests/date-input.ct.js +0 -117
  509. package/dist/collection/components/date-input/tests/date-input.ct.js.map +0 -1
  510. package/dist/collection/components/date-picker/test/date-picker.ct.js +0 -221
  511. package/dist/collection/components/date-picker/test/date-picker.ct.js.map +0 -1
  512. package/dist/collection/components/datetime-picker/test/datetime-picker.ct.js +0 -55
  513. package/dist/collection/components/datetime-picker/test/datetime-picker.ct.js.map +0 -1
  514. package/dist/collection/components/drawer/test/drawer.ct.js +0 -67
  515. package/dist/collection/components/drawer/test/drawer.ct.js.map +0 -1
  516. package/dist/collection/components/dropdown/test/dropdown.ct.js +0 -624
  517. package/dist/collection/components/dropdown/test/dropdown.ct.js.map +0 -1
  518. package/dist/collection/components/dropdown-button/dropdown-button.ct.js +0 -51
  519. package/dist/collection/components/dropdown-button/dropdown-button.ct.js.map +0 -1
  520. package/dist/collection/components/event-list/test/event-list.ct.js +0 -88
  521. package/dist/collection/components/event-list/test/event-list.ct.js.map +0 -1
  522. package/dist/collection/components/expanding-search/test/expanding-search.ct.js +0 -56
  523. package/dist/collection/components/expanding-search/test/expanding-search.ct.js.map +0 -1
  524. package/dist/collection/components/field-label/tests/field-label.ct.js +0 -121
  525. package/dist/collection/components/field-label/tests/field-label.ct.js.map +0 -1
  526. package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js +0 -63
  527. package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js.map +0 -1
  528. package/dist/collection/components/flip-tile/test/flip-tile.ct.js +0 -89
  529. package/dist/collection/components/flip-tile/test/flip-tile.ct.js.map +0 -1
  530. package/dist/collection/components/group/test/group.ct.js +0 -115
  531. package/dist/collection/components/group/test/group.ct.js.map +0 -1
  532. package/dist/collection/components/icon-button/test/icon-button.ct.js +0 -30
  533. package/dist/collection/components/icon-button/test/icon-button.ct.js.map +0 -1
  534. package/dist/collection/components/input/tests/form-ready.ct.js +0 -73
  535. package/dist/collection/components/input/tests/form-ready.ct.js.map +0 -1
  536. package/dist/collection/components/input/tests/validation.ct.js +0 -84
  537. package/dist/collection/components/input/tests/validation.ct.js.map +0 -1
  538. package/dist/collection/components/input-group/tests/input-group.ct.js +0 -161
  539. package/dist/collection/components/input-group/tests/input-group.ct.js.map +0 -1
  540. package/dist/collection/components/menu/test/menu.ct.js +0 -256
  541. package/dist/collection/components/menu/test/menu.ct.js.map +0 -1
  542. package/dist/collection/components/menu-about/test/menu-about.ct.js +0 -65
  543. package/dist/collection/components/menu-about/test/menu-about.ct.js.map +0 -1
  544. package/dist/collection/components/menu-avatar-item/test/menu-avatar-item.ct.js +0 -47
  545. package/dist/collection/components/menu-avatar-item/test/menu-avatar-item.ct.js.map +0 -1
  546. package/dist/collection/components/menu-category/test/menu-category.ct.js +0 -274
  547. package/dist/collection/components/menu-category/test/menu-category.ct.js.map +0 -1
  548. package/dist/collection/components/menu-item/test/menu-item.ct.js +0 -67
  549. package/dist/collection/components/menu-item/test/menu-item.ct.js.map +0 -1
  550. package/dist/collection/components/menu-settings/test/menu-settings.ct.js +0 -32
  551. package/dist/collection/components/menu-settings/test/menu-settings.ct.js.map +0 -1
  552. package/dist/collection/components/message-bar/test/message-bar.ct.js +0 -28
  553. package/dist/collection/components/message-bar/test/message-bar.ct.js.map +0 -1
  554. package/dist/collection/components/modal/test/modal.ct.js +0 -204
  555. package/dist/collection/components/modal/test/modal.ct.js.map +0 -1
  556. package/dist/collection/components/pagination/test/pagination.ct.js +0 -68
  557. package/dist/collection/components/pagination/test/pagination.ct.js.map +0 -1
  558. package/dist/collection/components/pane/test/panes.ct.js +0 -59
  559. package/dist/collection/components/pane/test/panes.ct.js.map +0 -1
  560. package/dist/collection/components/pane-layout/test/pane-layout.ct.js +0 -60
  561. package/dist/collection/components/pane-layout/test/pane-layout.ct.js.map +0 -1
  562. package/dist/collection/components/pill/test/pill.ct.js +0 -63
  563. package/dist/collection/components/pill/test/pill.ct.js.map +0 -1
  564. package/dist/collection/components/radio/test/radio.ct.js +0 -77
  565. package/dist/collection/components/radio/test/radio.ct.js.map +0 -1
  566. package/dist/collection/components/radio-group/test/radio-group.ct.js +0 -117
  567. package/dist/collection/components/radio-group/test/radio-group.ct.js.map +0 -1
  568. package/dist/collection/components/select/test/select-keyboard.ct.js +0 -380
  569. package/dist/collection/components/select/test/select-keyboard.ct.js.map +0 -1
  570. package/dist/collection/components/select/test/select.ct.js +0 -594
  571. package/dist/collection/components/select/test/select.ct.js.map +0 -1
  572. package/dist/collection/components/slider/test/slider.ct.js +0 -65
  573. package/dist/collection/components/slider/test/slider.ct.js.map +0 -1
  574. package/dist/collection/components/tabs/test/tabs.ct.js +0 -134
  575. package/dist/collection/components/tabs/test/tabs.ct.js.map +0 -1
  576. package/dist/collection/components/time-input/test/time-input.ct.js +0 -62
  577. package/dist/collection/components/time-input/test/time-input.ct.js.map +0 -1
  578. package/dist/collection/components/time-picker/test/time-picker.ct.js +0 -172
  579. package/dist/collection/components/time-picker/test/time-picker.ct.js.map +0 -1
  580. package/dist/collection/components/toggle/test/toggle.ct.js +0 -84
  581. package/dist/collection/components/toggle/test/toggle.ct.js.map +0 -1
  582. package/dist/collection/components/tooltip/test/tooltip.ct.js +0 -243
  583. package/dist/collection/components/tooltip/test/tooltip.ct.js.map +0 -1
  584. package/dist/collection/components/tree/test/tree.ct.js +0 -355
  585. package/dist/collection/components/tree/test/tree.ct.js.map +0 -1
  586. package/dist/collection/components/upload/test/upload.ct.js +0 -17
  587. package/dist/collection/components/upload/test/upload.ct.js.map +0 -1
  588. package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js +0 -74
  589. package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js.map +0 -1
  590. package/dist/collection/tests/utils/test/matchMedia.mock.js +0 -22
  591. package/dist/types/components/application-header/test/application-header.ct.d.ts +0 -1
  592. package/dist/types/components/avatar/test/avatar.ct.d.ts +0 -1
  593. package/dist/types/components/blind/test/blind.ct.d.ts +0 -1
  594. package/dist/types/components/breadcrumb/test/breadcrumb.ct.d.ts +0 -1
  595. package/dist/types/components/button/test/button.ct.d.ts +0 -7
  596. package/dist/types/components/category-filter/test/category-filter.ct.d.ts +0 -1
  597. package/dist/types/components/checkbox/tests/checkbox.ct.d.ts +0 -1
  598. package/dist/types/components/checkbox-group/test/checkbox-group.ct.d.ts +0 -1
  599. package/dist/types/components/chip/test/chip.ct.d.ts +0 -1
  600. package/dist/types/components/custom-field/tests/custom-field.ct.d.ts +0 -1
  601. package/dist/types/components/date-dropdown/test/date-dropdown.ct.d.ts +0 -1
  602. package/dist/types/components/date-input/tests/date-input.ct.d.ts +0 -1
  603. package/dist/types/components/date-picker/test/date-picker.ct.d.ts +0 -1
  604. package/dist/types/components/datetime-picker/test/datetime-picker.ct.d.ts +0 -1
  605. package/dist/types/components/drawer/test/drawer.ct.d.ts +0 -1
  606. package/dist/types/components/dropdown/test/dropdown.ct.d.ts +0 -1
  607. package/dist/types/components/dropdown-button/dropdown-button.ct.d.ts +0 -1
  608. package/dist/types/components/event-list/test/event-list.ct.d.ts +0 -1
  609. package/dist/types/components/expanding-search/test/expanding-search.ct.d.ts +0 -1
  610. package/dist/types/components/field-label/tests/field-label.ct.d.ts +0 -1
  611. package/dist/types/components/field-wrapper/tests/field-wrapper.ct.d.ts +0 -1
  612. package/dist/types/components/flip-tile/test/flip-tile.ct.d.ts +0 -1
  613. package/dist/types/components/group/test/group.ct.d.ts +0 -1
  614. package/dist/types/components/icon-button/test/icon-button.ct.d.ts +0 -1
  615. package/dist/types/components/input/tests/form-ready.ct.d.ts +0 -1
  616. package/dist/types/components/input/tests/validation.ct.d.ts +0 -1
  617. package/dist/types/components/input-group/tests/input-group.ct.d.ts +0 -1
  618. package/dist/types/components/menu/test/menu.ct.d.ts +0 -1
  619. package/dist/types/components/menu-about/test/menu-about.ct.d.ts +0 -1
  620. package/dist/types/components/menu-avatar-item/test/menu-avatar-item.ct.d.ts +0 -1
  621. package/dist/types/components/menu-category/test/menu-category.ct.d.ts +0 -1
  622. package/dist/types/components/menu-item/test/menu-item.ct.d.ts +0 -1
  623. package/dist/types/components/menu-settings/test/menu-settings.ct.d.ts +0 -1
  624. package/dist/types/components/message-bar/test/message-bar.ct.d.ts +0 -1
  625. package/dist/types/components/modal/test/modal.ct.d.ts +0 -8
  626. package/dist/types/components/pagination/test/pagination.ct.d.ts +0 -1
  627. package/dist/types/components/pane/test/panes.ct.d.ts +0 -1
  628. package/dist/types/components/pane-layout/test/pane-layout.ct.d.ts +0 -1
  629. package/dist/types/components/pill/test/pill.ct.d.ts +0 -1
  630. package/dist/types/components/radio/test/radio.ct.d.ts +0 -1
  631. package/dist/types/components/radio-group/test/radio-group.ct.d.ts +0 -1
  632. package/dist/types/components/select/test/select-keyboard.ct.d.ts +0 -1
  633. package/dist/types/components/select/test/select.ct.d.ts +0 -1
  634. package/dist/types/components/slider/test/slider.ct.d.ts +0 -1
  635. package/dist/types/components/tabs/test/tabs.ct.d.ts +0 -1
  636. package/dist/types/components/time-input/test/time-input.ct.d.ts +0 -1
  637. package/dist/types/components/time-picker/test/time-picker.ct.d.ts +0 -1
  638. package/dist/types/components/toggle/test/toggle.ct.d.ts +0 -1
  639. package/dist/types/components/tooltip/test/tooltip.ct.d.ts +0 -1
  640. package/dist/types/components/tree/test/tree.ct.d.ts +0 -1
  641. package/dist/types/components/upload/test/upload.ct.d.ts +0 -1
  642. package/dist/types/components/workflow-steps/test/workflow-steps.ct.d.ts +0 -1
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface IxPill extends Components.IxPill, HTMLElement {}
4
+ export const IxPill: {
5
+ prototype: IxPill;
6
+ new (): IxPill;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,127 @@
1
+ import { p as proxyCustomElement, H, h, d as Host } from './p-BuJ6BWIi.js';
2
+ import { m as makeRef } from './p-bcj7UEIC.js';
3
+ import { d as defineCustomElement$3 } from './p-DyHdZRT0.js';
4
+ import { d as defineCustomElement$2 } from './p-DyMgW0fR.js';
5
+
6
+ const pillCss = ":host{display:inline-block;position:relative;height:1.25rem;max-height:1.25rem;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}.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:default}.container .content-wrapper{display:inline-flex;align-items:center;flex:1;min-width:0}.container .with-icon{margin-right:0.25rem}.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.centerContent .content-wrapper{justify-content:center;text-align:center}.container.outline.icon{padding-left:calc(0.75rem - 1px)}.container.outline.icon.alarm .with-icon{color:var(--theme-color-alarm)}.container.outline.icon.critical .with-icon{color:var(--theme-color-critical)}.container.outline.icon.warning .with-icon{color:var(--theme-color-warning)}.container.outline.icon.info .with-icon{color:var(--theme-color-info)}.container.outline.icon.neutral .with-icon{color:var(--theme-color-neutral)}.container.outline.icon.success .with-icon{color:var(--theme-color-success)}.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.outline{color:var(--theme-chip-outline--color);background-color:transparent;border:solid 1px var(--theme-chip-primary-outline--border-color)}.container.primary.outline .close-button{color:var(--theme-chip-outline--color);--ix-icon-button-color:var(--theme-chip-outline--color)}.container.primary.outline .with-icon{color:var(--theme-color-primary)}.container.outline{border-width:1px;border-style:solid}.container.alarm{color:var(--theme-color-alarm--contrast)}.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.outline{color:var(--theme-chip-outline--color);border-color:var(--theme-color-alarm)}.container.critical{color:var(--theme-color-critical--contrast)}.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.outline{color:var(--theme-chip-outline--color);border-color:var(--theme-color-critical)}.container.warning{color:var(--theme-color-warning--contrast)}.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.outline{color:var(--theme-chip-outline--color);border-color:var(--theme-color-warning)}.container.info{color:var(--theme-color-info--contrast)}.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.outline{color:var(--theme-chip-outline--color);border-color:var(--theme-color-info)}.container.neutral{color:var(--theme-color-neutral--contrast)}.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.outline{color:var(--theme-chip-outline--color);border-color:var(--theme-color-neutral)}.container.success{color:var(--theme-color-success--contrast)}.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.outline{color:var(--theme-chip-outline--color);border-color:var(--theme-color-success)}:host .container{height:100%;justify-content:center}:host .container .with-icon{margin-right:0}:host .container.outline.icon{padding-left:0.4375rem;padding-right:0.4375rem}:host .container:not(.outline).icon{padding-left:0.5rem;padding-right:0.5rem}:host .with-gap{gap:0.25rem}:host(.align-left) .container{justify-content:flex-start}";
7
+
8
+ const Pill = /*@__PURE__*/ proxyCustomElement(class Pill extends H {
9
+ constructor() {
10
+ super();
11
+ this.__registerHost();
12
+ this.__attachShadow();
13
+ /**
14
+ * Pill variant
15
+ */
16
+ this.variant = 'primary';
17
+ /**
18
+ * Show pill as outline
19
+ */
20
+ this.outline = false;
21
+ /**
22
+ * Align pill content left
23
+ */
24
+ this.alignLeft = false;
25
+ /**
26
+ * Display a tooltip. By default, no tooltip will be displayed.
27
+ * Add the attribute to display the text content of the component as a tooltip or use a string to display a custom text.
28
+ * @since 3.0.0
29
+ */
30
+ this.tooltipText = false;
31
+ this.iconOnly = false;
32
+ this.containerElementRef = makeRef();
33
+ }
34
+ componentWillLoad() {
35
+ this.checkIfContentAvailable();
36
+ }
37
+ checkIfContentAvailable() {
38
+ const hasChildren = this.hostElement.children.length > 0;
39
+ const hasTextContent = !!this.hostElement.textContent;
40
+ this.iconOnly = !hasChildren && !hasTextContent;
41
+ }
42
+ getTooltip() {
43
+ var _a;
44
+ if (!this.tooltipText && !this.hostElement.hasAttribute('tooltip-text')) {
45
+ return null;
46
+ }
47
+ const text = typeof this.tooltipText === 'string' && this.tooltipText.trim()
48
+ ? this.tooltipText
49
+ : (_a = this.hostElement.textContent) === null || _a === void 0 ? void 0 : _a.trim();
50
+ return (h("ix-tooltip", { for: this.containerElementRef.waitForCurrent() }, text));
51
+ }
52
+ render() {
53
+ let customStyle = {};
54
+ if (this.variant === 'custom') {
55
+ customStyle = {
56
+ color: this.pillColor,
57
+ [this.outline ? 'borderColor' : 'backgroundColor']: this.background,
58
+ };
59
+ }
60
+ return (h(Host, { key: '41b9f6f4870c8585f5bca24e469a5a99afd68012', style: this.variant === 'custom'
61
+ ? {
62
+ '--ix-icon-button-color': this.pillColor,
63
+ }
64
+ : {}, class: {
65
+ 'align-left': this.alignLeft,
66
+ } }, h("div", { key: '2674de0ba7ee68a9b38344cbc4b75cb10f778b3b', ref: this.containerElementRef, style: Object.assign({}, customStyle), class: {
67
+ container: true,
68
+ outline: this.outline,
69
+ inactive: false,
70
+ alarm: this.variant === 'alarm',
71
+ critical: this.variant === 'critical',
72
+ info: this.variant === 'info',
73
+ neutral: this.variant === 'neutral',
74
+ primary: this.variant === 'primary',
75
+ success: this.variant === 'success',
76
+ warning: this.variant === 'warning',
77
+ custom: this.variant === 'custom',
78
+ closable: false,
79
+ icon: !!this.icon,
80
+ 'with-gap': !this.iconOnly,
81
+ } }, this.icon && (h("ix-icon", { key: '412400a5ca6b85c730c097365fc2b437a3b7eb03', class: {
82
+ 'with-icon': true,
83
+ }, name: this.icon, size: '16' })), h("span", { key: '76689695f7d66f427eb59fcb57c413cd23622777', class: "slot-container" }, h("slot", { key: '2852c8a4cdf1f55e941fbe0091ad22ce73dc5cc5', onSlotchange: () => this.checkIfContentAvailable() }))), this.getTooltip()));
84
+ }
85
+ get hostElement() { return this; }
86
+ static get style() { return pillCss; }
87
+ }, [1, "ix-pill", {
88
+ "variant": [513],
89
+ "outline": [4],
90
+ "icon": [1],
91
+ "background": [1],
92
+ "pillColor": [1, "pill-color"],
93
+ "alignLeft": [4, "align-left"],
94
+ "tooltipText": [8, "tooltip-text"],
95
+ "iconOnly": [32]
96
+ }]);
97
+ function defineCustomElement$1() {
98
+ if (typeof customElements === "undefined") {
99
+ return;
100
+ }
101
+ const components = ["ix-pill", "ix-tooltip", "ix-typography"];
102
+ components.forEach(tagName => { switch (tagName) {
103
+ case "ix-pill":
104
+ if (!customElements.get(tagName)) {
105
+ customElements.define(tagName, Pill);
106
+ }
107
+ break;
108
+ case "ix-tooltip":
109
+ if (!customElements.get(tagName)) {
110
+ defineCustomElement$3();
111
+ }
112
+ break;
113
+ case "ix-typography":
114
+ if (!customElements.get(tagName)) {
115
+ defineCustomElement$2();
116
+ }
117
+ break;
118
+ } });
119
+ }
120
+
121
+ const IxPill = Pill;
122
+ const defineCustomElement = defineCustomElement$1;
123
+
124
+ export { IxPill, defineCustomElement };
125
+ //# sourceMappingURL=ix-pill.js.map
126
+
127
+ //# sourceMappingURL=ix-pill.js.map
@@ -0,0 +1 @@
1
+ {"file":"ix-pill.js","mappings":";;;;;AAAA,MAAM,OAAO,GAAG,s1LAAs1L;;MCkBz1L,IAAI,iBAAAA,kBAAA,CAAA,MAAA,IAAA,SAAAC,CAAA,CAAA;AALjB,I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AAC,CAAC,IAAI,CAAC,IAAI;AACjB,gBAAA,UAAU,EAAE,CAAC,IAAI,CAAC,QAAQ;AAC3B,aAAA,EAAA,EAEA,IAAI,CAAC,IAAI,KACR,CAAA,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,WAAW,EAAE,IAAI;aAClB,EACD,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAE,IAAI,EAAA,CACV,CACH,EACD,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,gBAAgB,EAAA,EAC1B,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,YAAY,EAAE,MAAM,IAAI,CAAC,uBAAuB,EAAE,EAAS,CAAA,CAC5D,CACH,EACL,IAAI,CAAC,UAAU,EAAE,CACb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/pill/pill.scss?tag=ix-pill&encapsulation=shadow","src/components/pill/pill.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@import 'mixins/shadow-dom/component';\n\n@import './../chip/chip-mixin';\n@import 'common-variables';\n@import 'mixins/text-truncation';\n\n:host {\n @include ix-component;\n display: inline-block;\n position: relative;\n height: 1.25rem;\n max-height: 1.25rem;\n margin-left: 0.25rem;\n}\n\n@include chip-container(false);\n\n:host {\n .container {\n height: 100%;\n justify-content: center;\n\n .with-icon {\n margin-right: 0;\n }\n\n &.outline {\n &.icon {\n padding-left: 0.4375rem;\n padding-right: 0.4375rem;\n }\n }\n\n &:not(.outline) {\n &.icon {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n }\n }\n }\n\n .with-gap {\n gap: 0.25rem;\n }\n}\n\n:host(.align-left) {\n .container {\n justify-content: flex-start;\n }\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, Element, h, Host, Prop, State } from '@stencil/core';\nimport { IxComponent } from '../utils/internal';\nimport { makeRef } from '../utils/make-ref';\n\n@Component({\n tag: 'ix-pill',\n styleUrl: 'pill.scss',\n shadow: true,\n})\nexport class Pill implements IxComponent {\n @Element() hostElement!: HTMLIxPillElement;\n\n /**\n * Pill 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 * Show pill as outline\n */\n @Prop() outline = false;\n\n /**\n * Show icon\n */\n @Prop() icon?: string;\n\n /**\n * Custom color for pill. Only working for `variant='custom'`\n */\n @Prop() background: string | undefined;\n\n /**\n * Custom font color for pill. Only working for `variant='custom'`\n */\n @Prop() pillColor: string | undefined;\n\n /**\n * Align pill content left\n */\n @Prop() alignLeft = false;\n\n /**\n * Display a tooltip. By default, no tooltip will be displayed.\n * Add the attribute to display the text content of the component as a tooltip or use a string to display a custom text.\n * @since 3.0.0\n */\n @Prop() tooltipText: string | boolean = false;\n\n @State() iconOnly = false;\n\n private readonly containerElementRef = makeRef<HTMLElement>();\n\n componentWillLoad() {\n this.checkIfContentAvailable();\n }\n\n private checkIfContentAvailable() {\n const hasChildren = this.hostElement.children.length > 0;\n const hasTextContent = !!this.hostElement.textContent;\n\n this.iconOnly = !hasChildren && !hasTextContent;\n }\n\n private getTooltip() {\n if (!this.tooltipText && !this.hostElement.hasAttribute('tooltip-text')) {\n return null;\n }\n\n const text =\n typeof this.tooltipText === 'string' && this.tooltipText.trim()\n ? this.tooltipText\n : this.hostElement.textContent?.trim();\n\n return (\n <ix-tooltip for={this.containerElementRef.waitForCurrent()}>\n {text}\n </ix-tooltip>\n );\n }\n\n render() {\n let customStyle = {};\n\n if (this.variant === 'custom') {\n customStyle = {\n color: this.pillColor,\n [this.outline ? 'borderColor' : 'backgroundColor']: this.background,\n };\n }\n return (\n <Host\n style={\n this.variant === 'custom'\n ? {\n '--ix-icon-button-color': this.pillColor,\n }\n : {}\n }\n class={{\n 'align-left': this.alignLeft,\n }}\n >\n <div\n ref={this.containerElementRef}\n style={{ ...customStyle }}\n class={{\n container: true,\n outline: this.outline,\n inactive: false,\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: false,\n icon: !!this.icon,\n 'with-gap': !this.iconOnly,\n }}\n >\n {this.icon && (\n <ix-icon\n class={{\n 'with-icon': true,\n }}\n name={this.icon}\n size={'16'}\n />\n )}\n <span class=\"slot-container\">\n <slot onSlotchange={() => this.checkIfContentAvailable()}></slot>\n </span>\n </div>\n {this.getTooltip()}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface IxProgressIndicator extends Components.IxProgressIndicator, HTMLElement {}
4
+ export const IxProgressIndicator: {
5
+ prototype: IxProgressIndicator;
6
+ new (): IxProgressIndicator;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,193 @@
1
+ import { h, p as proxyCustomElement, H, F as Fragment, d as Host } from './p-BuJ6BWIi.js';
2
+ import { O as iconCirclePause, q as iconSuccess, o as iconWarning, n as iconInfo, p as iconError } from './p-CGwHQeMX.js';
3
+ import { d as defineCustomElement$3 } from './p-DyHdZRT0.js';
4
+ import { d as defineCustomElement$2 } from './p-DyMgW0fR.js';
5
+
6
+ /*
7
+ * SPDX-FileCopyrightText: 2025 Siemens AG
8
+ *
9
+ * SPDX-License-Identifier: MIT
10
+ *
11
+ * This source code is licensed under the MIT license found in the
12
+ * LICENSE file in the root directory of this source tree.
13
+ */
14
+ function LinearBar({ value, }) {
15
+ return (h("div", { class: "linear-progress-container" },
16
+ h("div", { class: "progress", role: "progressbar", "aria-valuenow": value, "aria-valuemin": 0, "aria-valuemax": 100 },
17
+ h("div", { class: {
18
+ 'progress-bar': true,
19
+ }, style: { width: `${value}%` }, "data-value": value }))));
20
+ }
21
+
22
+ /*
23
+ * SPDX-FileCopyrightText: 2025 Siemens AG
24
+ *
25
+ * SPDX-License-Identifier: MIT
26
+ *
27
+ * This source code is licensed under the MIT license found in the
28
+ * LICENSE file in the root directory of this source tree.
29
+ */
30
+ function getCircularSize(size) {
31
+ switch (size) {
32
+ case 'xs':
33
+ return 16;
34
+ case 'sm':
35
+ return 24;
36
+ case 'md':
37
+ return 32;
38
+ case 'lg':
39
+ return 48;
40
+ case 'xl':
41
+ return 64;
42
+ default:
43
+ return 32;
44
+ }
45
+ }
46
+ const CircularProgress = (props, children) => {
47
+ const { value, size } = props;
48
+ const sizeInPixel = getCircularSize(size);
49
+ const radius = sizeInPixel / 2;
50
+ const circumference = 2 * Math.PI * radius;
51
+ const percentage = Math.round(circumference * ((100 - value) / 100));
52
+ const slotInsideCircular = size === 'lg' || size === 'xl';
53
+ return (h("div", { class: "circular-progress-container" },
54
+ h("svg", { width: sizeInPixel, height: sizeInPixel, viewBox: `-${sizeInPixel * 0.125} -${sizeInPixel * 0.125} ${sizeInPixel * 1.25} ${sizeInPixel * 1.25}`, version: "1.1", xmlns: "http://www.w3.org/2000/svg", style: { transform: 'rotate(-90deg)' } },
55
+ h("circle", { r: radius, cx: radius, cy: radius, fill: "transparent", stroke: "var(--theme-color-component-4)", "stroke-width": `3px` }),
56
+ percentage > 0 && (h("circle", { r: radius, cx: radius, cy: radius, stroke: "var(--ix-progress-indicator-color)", "stroke-width": "3px", "stroke-linecap": "round", "stroke-dashoffset": `${percentage}px`, fill: "transparent", "stroke-dasharray": `${circumference}px` })),
57
+ h("foreignObject", { x: `0px`, y: `0px`, width: `${sizeInPixel}px`, height: `${sizeInPixel}px`, style: {
58
+ transform: `rotate(90deg) translate(0px, -${sizeInPixel}px)`,
59
+ } }, slotInsideCircular && (h("div", { class: "slotted-container slotted-container-inside" }, children)))),
60
+ !slotInsideCircular && h("div", { class: "slotted-container" }, children)));
61
+ };
62
+
63
+ const progressIndicatorCss = ":host{display:block;position:relative;width:24rem;height:-moz-fit-content;height:fit-content}:host .progress-container{display:flex;align-items:center;gap:0.5rem;flex-wrap:nowrap}:host .label{margin:0.25rem 0px}:host .helper-text{display:flex;align-items:flex-start;margin:0.25rem 0px;gap:0.25rem}:host .helper-text ix-icon{margin:0.125rem}:host .helper-text.success ix-icon{color:var(--theme-color-success)}:host .helper-text.error{color:var(--theme-color-alarm-text)}:host .helper-text.error ix-icon{color:var(--theme-color-alarm)}:host .helper-text.info ix-icon{color:var(--theme-color-info)}:host .helper-text.warning ix-icon{color:var(--theme-color-warning)}:host .helper-text.paused ix-icon{color:var(--theme-color-neutral)}:host .helper-text.text-left{justify-content:flex-start}:host .helper-text.text-right{justify-content:flex-end}:host .helper-text.text-center{justify-content:center}:host .progress-indicator{--ix-progress-indicator-color:var(--theme-color-success);height:100%}:host .progress-indicator.xs{--ix-progress-indicator-height:0.125rem}:host .progress-indicator.sm{--ix-progress-indicator-height:0.25rem}:host .progress-indicator.md{--ix-progress-indicator-height:0.5rem}:host .progress-indicator.lg{--ix-progress-indicator-height:1rem}:host .progress-indicator.xl{--ix-progress-indicator-height:1.5rem}:host .progress-indicator.success{--ix-progress-indicator-color:var(--theme-color-success)}:host .progress-indicator.error{--ix-progress-indicator-color:var(--theme-color-alarm)}:host .progress-indicator.info{--ix-progress-indicator-color:var(--theme-color-info)}:host .progress-indicator.warning{--ix-progress-indicator-color:var(--theme-color-warning)}:host .progress-indicator.paused{--ix-progress-indicator-color:var(--theme-color-neutral)}:host(.linear) .progress-indicator.xs{--ix-progress-indicator-height:0.125rem}:host(.linear) .progress-indicator.sm{--ix-progress-indicator-height:0.25rem}:host(.linear) .progress-indicator.md{--ix-progress-indicator-height:0.5rem}:host(.linear) .progress-indicator.lg{--ix-progress-indicator-height:1rem}:host(.linear) .progress-indicator.xl{--ix-progress-indicator-height:1.5rem}:host(.linear) .linear-progress-container{width:100%;height:var(--ix-progress-indicator-height);background-color:var(--theme-color-component-4);border-radius:2px;overflow:hidden}:host(.linear) .progress{width:100%;height:100%;position:relative}:host(.linear) .progress-bar{height:100%;background-color:var(--ix-progress-indicator-color);transition:width 0.3s ease}:host(.linear) .linear-slot{min-width:2.25rem}:host(.circular) .circular-progress-container{display:flex;align-items:center;width:100%;gap:0.25rem}:host(.circular) .slotted-container{width:100%;height:100%}:host(.circular) .slotted-container.slotted-container-inside{display:flex;align-items:center;justify-content:center;width:100%;height:100%}";
64
+
65
+ const ProgressIndicator = /*@__PURE__*/ proxyCustomElement(class ProgressIndicator extends H {
66
+ constructor() {
67
+ super();
68
+ this.__registerHost();
69
+ this.__attachShadow();
70
+ /**
71
+ * The type of progress indicator to use.
72
+ */
73
+ this.type = 'linear';
74
+ /**
75
+ * The size of the progress indicator.
76
+ */
77
+ this.size = 'md';
78
+ /**
79
+ * The value of the progress indicator.
80
+ */
81
+ this.value = 0;
82
+ /**
83
+ * The minimum value of the progress indicator.
84
+ */
85
+ this.min = 0;
86
+ /**
87
+ * The maximum value of the progress indicator.
88
+ */
89
+ this.max = 100;
90
+ /**
91
+ * The state of the progress indicator.
92
+ * This is used to indicate the current state of the progress indicator.
93
+ */
94
+ this.status = 'default';
95
+ /**
96
+ * The text alignment for the helper text.
97
+ * Can be 'left', 'center', or 'right'.
98
+ */
99
+ this.textAlignment = 'left';
100
+ /**
101
+ * Show the helper text as a tooltip
102
+ */
103
+ this.showTextAsTooltip = false;
104
+ }
105
+ getHelperText() {
106
+ let icon = null;
107
+ switch (this.status) {
108
+ case 'error':
109
+ icon = iconError;
110
+ break;
111
+ case 'info':
112
+ icon = iconInfo;
113
+ break;
114
+ case 'warning':
115
+ icon = iconWarning;
116
+ break;
117
+ case 'success':
118
+ icon = iconSuccess;
119
+ break;
120
+ case 'paused':
121
+ icon = iconCirclePause;
122
+ break;
123
+ default:
124
+ icon = null;
125
+ }
126
+ if (!this.helperText) {
127
+ return h("slot", { name: "helper-text" });
128
+ }
129
+ return (h("div", { class: {
130
+ 'helper-text': true,
131
+ [this.status]: true,
132
+ 'text-left': this.textAlignment === 'left',
133
+ 'text-center': this.textAlignment === 'center',
134
+ 'text-right': this.textAlignment === 'right',
135
+ } }, icon && h("ix-icon", { name: icon, size: "16" }), h("div", { class: "text" }, this.helperText), h("slot", { name: "helper-text" })));
136
+ }
137
+ render() {
138
+ const normalizedValue = ((this.value - this.min) / (this.max - this.min)) * 100;
139
+ const clampedValue = Math.max(0, Math.min(normalizedValue, 100));
140
+ return (h(Host, { key: 'cc4c823745da737d65f73c5b5525a58c634ded43', class: {
141
+ linear: this.type === 'linear',
142
+ circular: this.type === 'circular',
143
+ }, tabIndex: -1 }, h("div", { key: 'aa5c1b618b24bccd01611fcd2cb99cf9d496e94b', class: {
144
+ 'progress-indicator': true,
145
+ [this.size]: true,
146
+ [this.status]: true,
147
+ } }, this.label && (h("ix-typography", { key: 'dd49d159c46f555a5e3385c361604d500477b9ba', format: "label", textColor: this.status === 'error' ? 'alarm' : 'soft', class: 'label' }, this.label)), h("div", { key: '67f62d530de5dcc02f274aab3ddde419d56d383c', class: "progress-container" }, this.type === 'linear' ? (h(Fragment, null, h(LinearBar, { value: clampedValue }), h("div", { class: "linear-slot" }, h("slot", null)))) : (h(CircularProgress, { value: clampedValue, size: this.size }, h("slot", null)))), this.showTextAsTooltip === true && this.helperText ? (h("ix-tooltip", { for: this.hostElement, showDelay: 500, placement: "bottom" }, this.getHelperText())) : (this.getHelperText()))));
148
+ }
149
+ get hostElement() { return this; }
150
+ static get style() { return progressIndicatorCss; }
151
+ }, [1, "ix-progress-indicator", {
152
+ "type": [1],
153
+ "size": [1],
154
+ "value": [2],
155
+ "min": [2],
156
+ "max": [2],
157
+ "status": [1],
158
+ "label": [1],
159
+ "helperText": [1, "helper-text"],
160
+ "textAlignment": [1, "text-alignment"],
161
+ "showTextAsTooltip": [4, "show-text-as-tooltip"]
162
+ }]);
163
+ function defineCustomElement$1() {
164
+ if (typeof customElements === "undefined") {
165
+ return;
166
+ }
167
+ const components = ["ix-progress-indicator", "ix-tooltip", "ix-typography"];
168
+ components.forEach(tagName => { switch (tagName) {
169
+ case "ix-progress-indicator":
170
+ if (!customElements.get(tagName)) {
171
+ customElements.define(tagName, ProgressIndicator);
172
+ }
173
+ break;
174
+ case "ix-tooltip":
175
+ if (!customElements.get(tagName)) {
176
+ defineCustomElement$3();
177
+ }
178
+ break;
179
+ case "ix-typography":
180
+ if (!customElements.get(tagName)) {
181
+ defineCustomElement$2();
182
+ }
183
+ break;
184
+ } });
185
+ }
186
+
187
+ const IxProgressIndicator = ProgressIndicator;
188
+ const defineCustomElement = defineCustomElement$1;
189
+
190
+ export { IxProgressIndicator, defineCustomElement };
191
+ //# sourceMappingURL=ix-progress-indicator.js.map
192
+
193
+ //# sourceMappingURL=ix-progress-indicator.js.map
@@ -0,0 +1 @@
1
+ {"file":"ix-progress-indicator.js","mappings":";;;;;AAAA;;;;;;;AAOG;AAGa,SAAA,SAAS,CAAC,EACxB,KAAK,GAGL,EAAA;AACA,IAAA,QACE,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,2BAA2B,EAAA;AACpC,QAAA,CAAA,CAAA,KAAA,EAAA,EACE,KAAK,EAAC,UAAU,EAChB,IAAI,EAAC,aAAa,EAAA,eAAA,EACH,KAAK,EAAA,eAAA,EACL,CAAC,EAAA,eAAA,EACD,GAAG,EAAA;AAElB,YAAA,CAAA,CAAA,KAAA,EAAA,EACE,KAAK,EAAE;AACL,oBAAA,cAAc,EAAE,IAAI;AACrB,iBAAA,EACD,KAAK,EAAE,EAAE,KAAK,EAAE,CAAG,EAA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AEb,EAAA,IAAI,CAAC,KAAK,CACG,CACjB,EAED,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,oBAAoB,EAAA,EAC5B,IAAI,CAAC,IAAI,KAAK,QAAQ,IACrB,EAAC,QAAQ,EAAA,IAAA,EACP,CAAA,CAAC,SAAS,EAAA,EAAC,KAAK,EAAE,YAAY,EAAc,CAAA,EAC5C,CAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,aAAa,EAAA,EACtB,CAAA,CAAA,MAAA,EAAA,IAAA,CAAa,CACT,CACG,KAEX,CAAC,CAAA,gBAAgB,EAAC,EAAA,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAA,EACpD,CAAa,CAAA,MAAA,EAAA,IAAA,CAAA,CACI,CACpB,CACG,EACL,IAAI,CAAC,iBAAiB,KAAK,IAAI,IAAI,IAAI,CAAC,UAAU,IACjD,CAAA,CAAA,YAAA,EAAA,EACE,GAAG,EAAE,IAAI,CAAC,WAAW,EACrB,SAAS,EAAE,GAAG,EACd,SAAS,EAAC,QAAQ,EAEjB,EAAA,IAAI,CAAC,aAAa,EAAE,CACV,KAEb,IAAI,CAAC,aAAa,EAAE,CACrB,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/progress-indicator/linear.tsx","src/components/progress-indicator/circular.tsx","src/components/progress-indicator/progress-indicator.scss?tag=ix-progress-indicator&encapsulation=shadow","src/components/progress-indicator/progress-indicator.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2025 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 */\nimport { h } from '@stencil/core';\n\nexport function LinearBar({\n value,\n}: Readonly<{\n value: number;\n}>) {\n return (\n <div class=\"linear-progress-container\">\n <div\n class=\"progress\"\n role=\"progressbar\"\n aria-valuenow={value}\n aria-valuemin={0}\n aria-valuemax={100}\n >\n <div\n class={{\n 'progress-bar': true,\n }}\n style={{ width: `${value}%` }}\n data-value={value}\n ></div>\n </div>\n </div>\n );\n}\n","/*\n * SPDX-FileCopyrightText: 2025 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 */\nimport { h, type FunctionalComponent } from '@stencil/core';\nimport type { ProgressIndicatorSize } from './progress-indicator.types';\n\nfunction getCircularSize(size: ProgressIndicatorSize) {\n switch (size) {\n case 'xs':\n return 16;\n case 'sm':\n return 24;\n case 'md':\n return 32;\n case 'lg':\n return 48;\n case 'xl':\n return 64;\n default:\n return 32;\n }\n}\n\nexport type CircularProgressProps = {\n value: number;\n size: ProgressIndicatorSize;\n};\n\nexport const CircularProgress: FunctionalComponent<CircularProgressProps> = (\n props: Readonly<CircularProgressProps>,\n children\n) => {\n const { value, size } = props;\n const sizeInPixel = getCircularSize(size);\n const radius = sizeInPixel / 2;\n const circumference = 2 * Math.PI * radius;\n const percentage = Math.round(circumference * ((100 - value) / 100));\n\n const slotInsideCircular = size === 'lg' || size === 'xl';\n\n return (\n <div class=\"circular-progress-container\">\n <svg\n width={sizeInPixel}\n height={sizeInPixel}\n viewBox={`-${sizeInPixel * 0.125} -${sizeInPixel * 0.125} ${\n sizeInPixel * 1.25\n } ${sizeInPixel * 1.25}`}\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n style={{ transform: 'rotate(-90deg)' }}\n >\n <circle\n r={radius}\n cx={radius}\n cy={radius}\n fill=\"transparent\"\n stroke=\"var(--theme-color-component-4)\"\n stroke-width={`3px`}\n ></circle>\n {percentage > 0 && (\n <circle\n r={radius}\n cx={radius}\n cy={radius}\n stroke=\"var(--ix-progress-indicator-color)\"\n stroke-width=\"3px\"\n stroke-linecap=\"round\"\n stroke-dashoffset={`${percentage}px`}\n fill=\"transparent\"\n stroke-dasharray={`${circumference}px`}\n ></circle>\n )}\n <foreignObject\n x={`0px`}\n y={`0px`}\n width={`${sizeInPixel}px`}\n height={`${sizeInPixel}px`}\n style={{\n transform: `rotate(90deg) translate(0px, -${sizeInPixel}px)`,\n }}\n >\n {slotInsideCircular && (\n <div class=\"slotted-container slotted-container-inside\">\n {children}\n </div>\n )}\n </foreignObject>\n </svg>\n {!slotInsideCircular && <div class=\"slotted-container\">{children}</div>}\n </div>\n );\n};\n","/*\n * SPDX-FileCopyrightText: 2025 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@use './linear' as linear;\n@use './circular' as circular;\n\n:host {\n display: block;\n position: relative;\n width: 24rem;\n height: fit-content;\n\n .progress-container {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n flex-wrap: nowrap;\n }\n\n .label {\n margin: 0.25rem 0px;\n }\n\n .helper-text {\n display: flex;\n align-items: flex-start;\n margin: 0.25rem 0px;\n gap: 0.25rem;\n\n ix-icon {\n margin: 0.125rem;\n }\n\n &.success {\n ix-icon {\n color: var(--theme-color-success);\n }\n }\n\n &.error {\n color: var(--theme-color-alarm-text);\n\n ix-icon {\n color: var(--theme-color-alarm);\n }\n }\n\n &.info {\n ix-icon {\n color: var(--theme-color-info);\n }\n }\n\n &.warning {\n ix-icon {\n color: var(--theme-color-warning);\n }\n }\n\n &.paused {\n ix-icon {\n color: var(--theme-color-neutral);\n }\n }\n\n &.text-left {\n justify-content: flex-start;\n }\n\n &.text-right {\n justify-content: flex-end;\n }\n\n &.text-center {\n justify-content: center;\n }\n }\n\n .progress-indicator {\n --ix-progress-indicator-color: var(--theme-color-success);\n\n height: 100%;\n\n &.xs {\n --ix-progress-indicator-height: 0.125rem;\n }\n\n &.sm {\n --ix-progress-indicator-height: 0.25rem;\n }\n\n &.md {\n --ix-progress-indicator-height: 0.5rem;\n }\n\n &.lg {\n --ix-progress-indicator-height: 1rem;\n }\n\n &.xl {\n --ix-progress-indicator-height: 1.5rem;\n }\n\n &.success {\n --ix-progress-indicator-color: var(--theme-color-success);\n }\n\n &.error {\n --ix-progress-indicator-color: var(--theme-color-alarm);\n }\n\n &.info {\n --ix-progress-indicator-color: var(--theme-color-info);\n }\n\n &.warning {\n --ix-progress-indicator-color: var(--theme-color-warning);\n }\n\n &.paused {\n --ix-progress-indicator-color: var(--theme-color-neutral);\n }\n }\n}\n\n:host(.linear) {\n .progress-indicator {\n &.xs {\n --ix-progress-indicator-height: 0.125rem;\n }\n\n &.sm {\n --ix-progress-indicator-height: 0.25rem;\n }\n\n &.md {\n --ix-progress-indicator-height: 0.5rem;\n }\n\n &.lg {\n --ix-progress-indicator-height: 1rem;\n }\n\n &.xl {\n --ix-progress-indicator-height: 1.5rem;\n }\n }\n\n @include linear.linear;\n\n .linear-slot {\n min-width: 2.25rem;\n }\n}\n\n:host(.circular) {\n @include circular.circular;\n}\n","/*\n * SPDX-FileCopyrightText: 2025 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 */\nimport { Component, Element, Fragment, Host, Prop, h } from '@stencil/core';\nimport { LinearBar } from './linear';\nimport {\n iconCirclePause,\n iconError,\n iconInfo,\n iconSuccess,\n iconWarning,\n} from '@siemens/ix-icons/icons';\nimport { CircularProgress } from './circular';\nimport type { ProgressIndicatorSize } from './progress-indicator.types';\n\n/**\n * @since 3.2.0\n */\n@Component({\n tag: 'ix-progress-indicator',\n styleUrl: 'progress-indicator.scss',\n shadow: true,\n})\nexport class ProgressIndicator {\n @Element() hostElement!: HTMLIxProgressIndicatorElement;\n\n /**\n * The type of progress indicator to use.\n */\n @Prop() type: 'linear' | 'circular' = 'linear';\n\n /**\n * The size of the progress indicator.\n */\n @Prop() size: ProgressIndicatorSize = 'md';\n\n /**\n * The value of the progress indicator.\n */\n @Prop() value: number = 0;\n\n /**\n * The minimum value of the progress indicator.\n */\n @Prop() min: number = 0;\n\n /**\n * The maximum value of the progress indicator.\n */\n @Prop() max: number = 100;\n\n /**\n * The state of the progress indicator.\n * This is used to indicate the current state of the progress indicator.\n */\n @Prop() status:\n | 'default'\n | 'success'\n | 'error'\n | 'info'\n | 'warning'\n | 'paused' = 'default';\n\n /**\n * The label for the progress indicator.\n */\n @Prop() label?: string;\n\n /**\n * The helper text for the progress indicator.\n */\n @Prop() helperText?: string;\n\n /**\n * The text alignment for the helper text.\n * Can be 'left', 'center', or 'right'.\n */\n @Prop() textAlignment: 'left' | 'center' | 'right' = 'left';\n\n /**\n * Show the helper text as a tooltip\n */\n @Prop() showTextAsTooltip: boolean = false;\n\n private getHelperText() {\n let icon: string | null = null;\n\n switch (this.status) {\n case 'error':\n icon = iconError;\n break;\n case 'info':\n icon = iconInfo;\n break;\n case 'warning':\n icon = iconWarning;\n break;\n case 'success':\n icon = iconSuccess;\n break;\n case 'paused':\n icon = iconCirclePause;\n break;\n default:\n icon = null;\n }\n\n if (!this.helperText) {\n return <slot name=\"helper-text\"></slot>;\n }\n\n return (\n <div\n class={{\n 'helper-text': true,\n [this.status]: true,\n 'text-left': this.textAlignment === 'left',\n 'text-center': this.textAlignment === 'center',\n 'text-right': this.textAlignment === 'right',\n }}\n >\n {icon && <ix-icon name={icon} size=\"16\"></ix-icon>}\n <div class=\"text\">{this.helperText}</div>\n <slot name=\"helper-text\"></slot>\n </div>\n );\n }\n\n render() {\n const normalizedValue =\n ((this.value - this.min) / (this.max - this.min)) * 100;\n\n const clampedValue = Math.max(0, Math.min(normalizedValue, 100));\n\n return (\n <Host\n class={{\n linear: this.type === 'linear',\n circular: this.type === 'circular',\n }}\n tabIndex={-1}\n >\n <div\n class={{\n 'progress-indicator': true,\n [this.size]: true,\n [this.status]: true,\n }}\n >\n {this.label && (\n <ix-typography\n format=\"label\"\n textColor={this.status === 'error' ? 'alarm' : 'soft'}\n class={'label'}\n >\n {this.label}\n </ix-typography>\n )}\n\n <div class=\"progress-container\">\n {this.type === 'linear' ? (\n <Fragment>\n <LinearBar value={clampedValue}></LinearBar>\n <div class=\"linear-slot\">\n <slot></slot>\n </div>\n </Fragment>\n ) : (\n <CircularProgress value={clampedValue} size={this.size}>\n <slot></slot>\n </CircularProgress>\n )}\n </div>\n {this.showTextAsTooltip === true && this.helperText ? (\n <ix-tooltip\n for={this.hostElement}\n showDelay={500}\n placement=\"bottom\"\n >\n {this.getHelperText()}\n </ix-tooltip>\n ) : (\n this.getHelperText()\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface IxPushCard extends Components.IxPushCard, HTMLElement {}
4
+ export const IxPushCard: {
5
+ prototype: IxPushCard;
6
+ new (): IxPushCard;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,82 @@
1
+ import { p as proxyCustomElement, H, h, d as Host } from './p-BuJ6BWIi.js';
2
+ import { d as defineCustomElement$6 } from './p-tH4n038Z.js';
3
+ import { d as defineCustomElement$5 } from './p-BP-8cvOJ.js';
4
+ import { d as defineCustomElement$4 } from './p-B3duqvjW.js';
5
+ import { d as defineCustomElement$3 } from './p-G0biE2Kx.js';
6
+ import { d as defineCustomElement$2 } from './p-DyMgW0fR.js';
7
+
8
+ const pushCardCss = ":host{display:block;position:relative}:host ix-card{cursor:default}:host ix-card-accordion{cursor:pointer}:host .icon{height:2.5rem;width:2.5rem}:host .notification{font-size:40px}:host ix-card-content{height:11rem}";
9
+
10
+ const PushCard = /*@__PURE__*/ proxyCustomElement(class PushCard extends H {
11
+ constructor() {
12
+ super();
13
+ this.__registerHost();
14
+ this.__attachShadow();
15
+ /**
16
+ * Card variant
17
+ */
18
+ this.variant = 'outline';
19
+ /**
20
+ * Collapse the card
21
+ */
22
+ this.collapse = true;
23
+ }
24
+ render() {
25
+ var _a;
26
+ return (h(Host, { key: 'bf65467fcb8c46c5c28ca769becf1894e863bc21' }, h("ix-card", { key: '4ab2834af82584ade5c817264fa1f0158c7a7ffe', variant: this.variant }, h("ix-card-content", { key: '8490ac958852a9c8658194eb2f425c52fb067e0a' }, h("ix-card-title", { key: '0093f02be724a2933a05d11af61601765ca9565b' }, this.icon ? (h("ix-icon", { class: 'icon', name: this.icon, size: "32" })) : null, h("span", { key: '76a1da65e71606c836ba199de2d180d8d9b21695', class: 'notification' }, (_a = this.notification) !== null && _a !== void 0 ? _a : 0), h("slot", { key: 'ad9a4fe6a866f3d58fb51ffd5c4824185dd8f474', name: "title-action" })), h("ix-typography", { key: '5fd43752ce21b27fc89392db9925b09378fdd0c9', format: "h4" }, this.heading), h("ix-typography", { key: '1ca4ff340ab8420892521ffd056933f2198d9474' }, this.subheading)), h("ix-card-accordion", { key: '938b5f0882878e7dbebe22cc025fa2ce6a4ad701', collapse: this.collapse }, h("slot", { key: '349bb34de52513c0564cf1025679a10035c9343a' })))));
27
+ }
28
+ static get style() { return pushCardCss; }
29
+ }, [1, "ix-push-card", {
30
+ "icon": [1],
31
+ "notification": [1],
32
+ "heading": [1],
33
+ "subheading": [1],
34
+ "variant": [1],
35
+ "collapse": [4]
36
+ }]);
37
+ function defineCustomElement$1() {
38
+ if (typeof customElements === "undefined") {
39
+ return;
40
+ }
41
+ const components = ["ix-push-card", "ix-card", "ix-card-accordion", "ix-card-content", "ix-card-title", "ix-typography"];
42
+ components.forEach(tagName => { switch (tagName) {
43
+ case "ix-push-card":
44
+ if (!customElements.get(tagName)) {
45
+ customElements.define(tagName, PushCard);
46
+ }
47
+ break;
48
+ case "ix-card":
49
+ if (!customElements.get(tagName)) {
50
+ defineCustomElement$6();
51
+ }
52
+ break;
53
+ case "ix-card-accordion":
54
+ if (!customElements.get(tagName)) {
55
+ defineCustomElement$5();
56
+ }
57
+ break;
58
+ case "ix-card-content":
59
+ if (!customElements.get(tagName)) {
60
+ defineCustomElement$4();
61
+ }
62
+ break;
63
+ case "ix-card-title":
64
+ if (!customElements.get(tagName)) {
65
+ defineCustomElement$3();
66
+ }
67
+ break;
68
+ case "ix-typography":
69
+ if (!customElements.get(tagName)) {
70
+ defineCustomElement$2();
71
+ }
72
+ break;
73
+ } });
74
+ }
75
+
76
+ const IxPushCard = PushCard;
77
+ const defineCustomElement = defineCustomElement$1;
78
+
79
+ export { IxPushCard, defineCustomElement };
80
+ //# sourceMappingURL=ix-push-card.js.map
81
+
82
+ //# sourceMappingURL=ix-push-card.js.map
@@ -0,0 +1 @@
1
+ {"file":"ix-push-card.js","mappings":";;;;;;;AAAA,MAAM,WAAW,GAAG,yNAAyN;;MCiBhO,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;AALrB,IAAA,WAAA,GAAA;;;;AA0BE;;AAEG;AACK,QAAA,IAAO,CAAA,OAAA,GAAoB,SAAS;AAE5C;;AAEG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAY,IAAI;AAwBjC;IAtBC,MAAM,GAAA;;QACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAS,OAAO,EAAE,IAAI,CAAC,OAAO,EAAA,EAC5B,CAAA,CAAA,iBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACE,CAAA,CAAA,eAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACG,IAAI,CAAC,IAAI,IACR,CAAS,CAAA,SAAA,EAAA,EAAA,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAC,IAAI,EAAA,CAAW,IAC3D,IAAI,EACR,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,cAAc,EAAG,EAAA,CAAA,EAAA,GAAA,IAAI,CAAC,YAAY,MAAI,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAA,CAAC,CAAQ,EAC5D,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,cAAc,EAAA,CAAQ,CACnB,EAChB,CAAA,CAAA,eAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAe,MAAM,EAAC,IAAI,IAAE,IAAI,CAAC,OAAO,CAAiB,EACzD,CAAA,CAAA,eAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EAAgB,IAAI,CAAC,UAAU,CAAiB,CAChC,EAClB,CAAA,CAAA,mBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAmB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAA,EACxC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACK,CACZ,CACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/push-card/push-card.scss?tag=ix-push-card&encapsulation=shadow","src/components/push-card/push-card.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:host {\n display: block;\n position: relative;\n\n ix-card {\n cursor: default;\n }\n\n ix-card-accordion {\n cursor: pointer;\n }\n\n .icon {\n height: 2.5rem;\n width: 2.5rem;\n }\n\n .notification {\n font-size: 40px;\n }\n\n ix-card-content {\n height: 11rem;\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, h, Host, Prop } from '@stencil/core';\nimport type { PushCardVariant } from './push-card.types';\n\n@Component({\n tag: 'ix-push-card',\n styleUrl: 'push-card.scss',\n shadow: true,\n})\nexport class PushCard {\n /**\n * Card icon\n */\n @Prop() icon?: string;\n\n /**\n * Card KPI value\n */\n @Prop() notification?: string;\n\n /**\n * Card heading\n */\n @Prop() heading?: string;\n\n /**\n * Card subheading\n */\n @Prop() subheading?: string;\n\n /**\n * Card variant\n */\n @Prop() variant: PushCardVariant = 'outline';\n\n /**\n * Collapse the card\n */\n @Prop() collapse: boolean = true;\n\n render() {\n return (\n <Host>\n <ix-card variant={this.variant}>\n <ix-card-content>\n <ix-card-title>\n {this.icon ? (\n <ix-icon class={'icon'} name={this.icon} size=\"32\"></ix-icon>\n ) : null}\n <span class={'notification'}>{this.notification ?? 0}</span>\n <slot name=\"title-action\"></slot>\n </ix-card-title>\n <ix-typography format=\"h4\">{this.heading}</ix-typography>\n <ix-typography>{this.subheading}</ix-typography>\n </ix-card-content>\n <ix-card-accordion collapse={this.collapse}>\n <slot></slot>\n </ix-card-accordion>\n </ix-card>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface IxRadioGroup extends Components.IxRadioGroup, HTMLElement {}
4
+ export const IxRadioGroup: {
5
+ prototype: IxRadioGroup;
6
+ new (): IxRadioGroup;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;