@siemens/ix 2.4.1 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1750) hide show
  1. package/components/a11y.js +4 -3
  2. package/components/a11y.js.map +1 -1
  3. package/components/application-header.js +37 -7
  4. package/components/application-header.js.map +1 -1
  5. package/components/avatar.js +12 -4
  6. package/components/avatar.js.map +1 -1
  7. package/components/base-button.js +2 -2
  8. package/components/base-button.js.map +1 -1
  9. package/components/button.js +13 -4
  10. package/components/button.js.map +1 -1
  11. package/components/card-accordion.js +6 -6
  12. package/components/card-accordion.js.map +1 -1
  13. package/components/card-content.js +1 -1
  14. package/components/card-title.js +1 -1
  15. package/components/card.js +4 -4
  16. package/components/card.js.map +1 -1
  17. package/components/col.js +1 -1
  18. package/components/col.js.map +1 -1
  19. package/components/context.js +6 -3
  20. package/components/context.js.map +1 -1
  21. package/components/date-picker.js +65 -43
  22. package/components/date-picker.js.map +1 -1
  23. package/components/date-time-card.js +5 -6
  24. package/components/date-time-card.js.map +1 -1
  25. package/components/divider.js +1 -1
  26. package/components/dropdown-controller.js +156 -0
  27. package/components/dropdown-controller.js.map +1 -0
  28. package/components/dropdown-item.js +4 -4
  29. package/components/dropdown-item.js.map +1 -1
  30. package/components/dropdown.js +104 -219
  31. package/components/dropdown.js.map +1 -1
  32. package/components/field-label.js +164 -0
  33. package/components/field-label.js.map +1 -0
  34. package/components/field-wrapper.js +97 -0
  35. package/components/field-wrapper.js.map +1 -0
  36. package/components/filter-chip.js +1 -1
  37. package/components/find-element.js +102 -0
  38. package/components/find-element.js.map +1 -0
  39. package/components/floating-ui.dom.esm.js +533 -60
  40. package/components/floating-ui.dom.esm.js.map +1 -1
  41. package/components/group-context-menu.js +1 -1
  42. package/components/group-context-menu.js.map +1 -1
  43. package/components/group-item.js +2 -2
  44. package/components/helper-text-util.js +41 -0
  45. package/components/helper-text-util.js.map +1 -0
  46. package/components/icon-button.js +2 -2
  47. package/components/icon-button.js.map +1 -1
  48. package/components/index.js +43 -4
  49. package/components/index.js.map +1 -1
  50. package/components/index3.js +21 -0
  51. package/components/index3.js.map +1 -0
  52. package/components/input.util.js +181 -0
  53. package/components/input.util.js.map +1 -0
  54. package/components/ix-action-card.js +1 -1
  55. package/components/ix-action-card.js.map +1 -1
  56. package/components/ix-application-sidebar.js +1 -1
  57. package/components/ix-application-switch-modal.js +1 -1
  58. package/components/ix-application.js +4 -4
  59. package/components/ix-application.js.map +1 -1
  60. package/components/ix-basic-navigation.js +2 -2
  61. package/components/ix-basic-navigation.js.map +1 -1
  62. package/components/ix-blind.js +5 -5
  63. package/components/ix-blind.js.map +1 -1
  64. package/components/ix-breadcrumb.js +9 -10
  65. package/components/ix-breadcrumb.js.map +1 -1
  66. package/components/ix-card-list.js +10 -7
  67. package/components/ix-card-list.js.map +1 -1
  68. package/components/ix-category-filter.js +155 -81
  69. package/components/ix-category-filter.js.map +1 -1
  70. package/components/ix-checkbox-group.d.ts +11 -0
  71. package/components/ix-checkbox-group.js +111 -0
  72. package/components/ix-checkbox-group.js.map +1 -0
  73. package/components/ix-checkbox.d.ts +11 -0
  74. package/components/ix-checkbox.js +144 -0
  75. package/components/ix-checkbox.js.map +1 -0
  76. package/components/ix-chip.js +4 -4
  77. package/components/ix-chip.js.map +1 -1
  78. package/components/ix-content-header.js +2 -2
  79. package/components/ix-content-header.js.map +1 -1
  80. package/components/ix-content.js +4 -4
  81. package/components/ix-content.js.map +1 -1
  82. package/components/ix-css-grid-item.js +1 -1
  83. package/components/ix-css-grid.js +8 -3
  84. package/components/ix-css-grid.js.map +1 -1
  85. package/components/ix-custom-field.d.ts +11 -0
  86. package/components/ix-custom-field.js +116 -0
  87. package/components/ix-custom-field.js.map +1 -0
  88. package/components/ix-date-dropdown.js +29 -16
  89. package/components/ix-date-dropdown.js.map +1 -1
  90. package/components/ix-date-input.d.ts +11 -0
  91. package/components/ix-date-input.js +364 -0
  92. package/components/ix-date-input.js.map +1 -0
  93. package/components/ix-datetime-picker.js +11 -11
  94. package/components/ix-datetime-picker.js.map +1 -1
  95. package/components/ix-drawer.js +28 -24
  96. package/components/ix-drawer.js.map +1 -1
  97. package/components/ix-dropdown-button.js +5 -7
  98. package/components/ix-dropdown-button.js.map +1 -1
  99. package/components/ix-dropdown-header.js +1 -1
  100. package/components/ix-dropdown-header.js.map +1 -1
  101. package/components/ix-dropdown-quick-actions.js +1 -1
  102. package/components/ix-empty-state.js +1 -1
  103. package/components/ix-empty-state.js.map +1 -1
  104. package/components/ix-event-list-item.js +7 -7
  105. package/components/ix-event-list-item.js.map +1 -1
  106. package/components/ix-event-list.js +4 -4
  107. package/components/ix-event-list.js.map +1 -1
  108. package/components/ix-expanding-search.js +4 -4
  109. package/components/ix-field-label.d.ts +11 -0
  110. package/components/ix-field-label.js +8 -0
  111. package/components/ix-field-label.js.map +1 -0
  112. package/components/ix-field-wrapper.d.ts +11 -0
  113. package/components/ix-field-wrapper.js +8 -0
  114. package/components/ix-field-wrapper.js.map +1 -0
  115. package/components/ix-flip-tile-content.js +1 -1
  116. package/components/ix-flip-tile.js +4 -4
  117. package/components/ix-group.js +58 -38
  118. package/components/ix-group.js.map +1 -1
  119. package/components/ix-helper-text.d.ts +11 -0
  120. package/components/ix-helper-text.js +97 -0
  121. package/components/ix-helper-text.js.map +1 -0
  122. package/components/ix-icon-toggle-button.js +2 -3
  123. package/components/ix-icon-toggle-button.js.map +1 -1
  124. package/components/ix-input-group.js +1 -1
  125. package/components/ix-input.d.ts +11 -0
  126. package/components/ix-input.js +221 -0
  127. package/components/ix-input.js.map +1 -0
  128. package/components/ix-key-value-list.js +1 -1
  129. package/components/ix-key-value.js +1 -1
  130. package/components/ix-kpi.js +3 -3
  131. package/components/ix-kpi.js.map +1 -1
  132. package/components/ix-layout-auto.d.ts +11 -0
  133. package/components/ix-layout-auto.js +110 -0
  134. package/components/ix-layout-auto.js.map +1 -0
  135. package/components/ix-link-button.js +3 -3
  136. package/components/ix-map-navigation.js +3 -3
  137. package/components/ix-map-navigation.js.map +1 -1
  138. package/components/ix-menu-about-item.js +1 -1
  139. package/components/ix-menu-about-news.js +4 -4
  140. package/components/ix-menu-about-news.js.map +1 -1
  141. package/components/ix-menu-about.js +1 -1
  142. package/components/ix-menu-avatar.js +2 -2
  143. package/components/ix-menu-category.js +5 -5
  144. package/components/ix-menu-category.js.map +1 -1
  145. package/components/ix-menu-settings-item.js +1 -1
  146. package/components/ix-menu.js +29 -30
  147. package/components/ix-menu.js.map +1 -1
  148. package/components/ix-message-bar.js +1 -1
  149. package/components/ix-modal-footer.js +1 -1
  150. package/components/ix-modal-loading.js +1 -1
  151. package/components/ix-modal.js +11 -4
  152. package/components/ix-modal.js.map +1 -1
  153. package/components/ix-number-input.d.ts +11 -0
  154. package/components/ix-number-input.js +221 -0
  155. package/components/ix-number-input.js.map +1 -0
  156. package/components/ix-pagination.js +35 -17
  157. package/components/ix-pagination.js.map +1 -1
  158. package/components/ix-pane-layout.js +9 -9
  159. package/components/ix-pane-layout.js.map +1 -1
  160. package/components/ix-pane.js +43 -35
  161. package/components/ix-pane.js.map +1 -1
  162. package/components/ix-pill.js +4 -4
  163. package/components/ix-pill.js.map +1 -1
  164. package/components/ix-push-card.js +1 -1
  165. package/components/ix-push-card.js.map +1 -1
  166. package/components/ix-radio-group.d.ts +11 -0
  167. package/components/ix-radio-group.js +174 -0
  168. package/components/ix-radio-group.js.map +1 -0
  169. package/components/ix-radio.d.ts +11 -0
  170. package/components/ix-radio.js +123 -0
  171. package/components/ix-radio.js.map +1 -0
  172. package/components/ix-slider.js +7 -7
  173. package/components/ix-slider.js.map +1 -1
  174. package/components/ix-split-button-item.js +1 -1
  175. package/components/ix-split-button.js +1 -1
  176. package/components/ix-textarea.d.ts +11 -0
  177. package/components/ix-textarea.js +179 -0
  178. package/components/ix-textarea.js.map +1 -0
  179. package/components/ix-tile.js +4 -4
  180. package/components/ix-tile.js.map +1 -1
  181. package/components/ix-toast-container.js +2 -2
  182. package/components/ix-toast-container.js.map +1 -1
  183. package/components/ix-toggle-button.js +2 -2
  184. package/components/ix-toggle.js +43 -5
  185. package/components/ix-toggle.js.map +1 -1
  186. package/components/ix-tree.js +21 -7
  187. package/components/ix-tree.js.map +1 -1
  188. package/components/ix-upload.js +61 -5
  189. package/components/ix-upload.js.map +1 -1
  190. package/components/ix-validation-tooltip.js +2 -2
  191. package/components/ix-workflow-step.js +3 -3
  192. package/components/ix-workflow-step.js.map +1 -1
  193. package/components/ix-workflow-steps.js +1 -1
  194. package/components/ix-workflow-steps.js.map +1 -1
  195. package/components/layout-grid.js +2 -2
  196. package/components/layout-grid.js.map +1 -1
  197. package/components/listener.js +2 -2
  198. package/components/listener.js.map +1 -1
  199. package/components/logical-filter-operator.js +1 -1
  200. package/components/logical-filter-operator.js.map +1 -1
  201. package/components/make-ref.js +7 -12
  202. package/components/make-ref.js.map +1 -1
  203. package/components/map-navigation-overlay.js +2 -2
  204. package/components/menu-avatar-item.js +1 -1
  205. package/components/menu-expand-icon.js +1 -1
  206. package/components/menu-expand-icon.js.map +1 -1
  207. package/components/menu-item.js +16 -15
  208. package/components/menu-item.js.map +1 -1
  209. package/components/menu-tabs-fc.js +17 -14
  210. package/components/menu-tabs-fc.js.map +1 -1
  211. package/components/modal-content.js +2 -2
  212. package/components/modal-content.js.map +1 -1
  213. package/components/modal-header.js +2 -2
  214. package/components/modal-header.js.map +1 -1
  215. package/components/modal.js +3 -1
  216. package/components/modal.js.map +1 -1
  217. package/components/row.js +1 -1
  218. package/components/row.js.map +1 -1
  219. package/components/select-item.js +27 -5
  220. package/components/select-item.js.map +1 -1
  221. package/components/select.js +217 -91
  222. package/components/select.js.map +1 -1
  223. package/components/shadow-dom.js +1 -1
  224. package/components/shadow-dom.js.map +1 -1
  225. package/components/spinner.js +4 -8
  226. package/components/spinner.js.map +1 -1
  227. package/components/tab-item.js +3 -3
  228. package/components/tabs.js +2 -2
  229. package/components/tabs.js.map +1 -1
  230. package/components/theme-switcher.js +1 -0
  231. package/components/theme-switcher.js.map +1 -1
  232. package/components/time-picker.js +39 -19
  233. package/components/time-picker.js.map +1 -1
  234. package/components/toast.js +2 -2
  235. package/components/toast.js.map +1 -1
  236. package/components/tooltip.js +25 -22
  237. package/components/tooltip.js.map +1 -1
  238. package/components/tree-item.js +8 -8
  239. package/components/tree-item.js.map +1 -1
  240. package/components/typography.js +3 -25
  241. package/components/typography.js.map +1 -1
  242. package/components/validation.js +112 -0
  243. package/components/validation.js.map +1 -0
  244. package/dist/cjs/a11y-ae470f01.js +147 -0
  245. package/dist/cjs/a11y-ae470f01.js.map +1 -0
  246. package/dist/cjs/app-globals-3c9c6a50.js +9 -0
  247. package/dist/cjs/app-globals-3c9c6a50.js.map +1 -0
  248. package/dist/cjs/base-button-119d9368.js +73 -0
  249. package/dist/cjs/base-button-119d9368.js.map +1 -0
  250. package/dist/cjs/base-icon-button-d09d934e.js +20 -0
  251. package/dist/cjs/base-icon-button-d09d934e.js.map +1 -0
  252. package/dist/cjs/context-6644f454.js +109 -0
  253. package/dist/cjs/context-6644f454.js.map +1 -0
  254. package/dist/cjs/disposable-event-listener-1ed769b9.js +20 -0
  255. package/dist/cjs/disposable-event-listener-1ed769b9.js.map +1 -0
  256. package/dist/cjs/dropdown-controller-aef51729.js +159 -0
  257. package/dist/cjs/dropdown-controller-aef51729.js.map +1 -0
  258. package/dist/cjs/find-element-8e586600.js +105 -0
  259. package/dist/cjs/find-element-8e586600.js.map +1 -0
  260. package/dist/cjs/floating-ui.dom.esm-9dde6cd6.js +2010 -0
  261. package/dist/cjs/floating-ui.dom.esm-9dde6cd6.js.map +1 -0
  262. package/dist/cjs/focus-935fb067.js +69 -0
  263. package/dist/cjs/focus-935fb067.js.map +1 -0
  264. package/dist/cjs/helper-text-util-3192e78f.js +44 -0
  265. package/dist/cjs/helper-text-util-3192e78f.js.map +1 -0
  266. package/dist/cjs/index-74904d8b.js +30 -0
  267. package/dist/cjs/index-74904d8b.js.map +1 -0
  268. package/dist/cjs/index-757233c7.js +2037 -0
  269. package/dist/cjs/index-757233c7.js.map +1 -0
  270. package/dist/cjs/index-d2117dc0.js +38 -0
  271. package/dist/cjs/index-d2117dc0.js.map +1 -0
  272. package/dist/cjs/index.cjs.js +24 -4
  273. package/dist/cjs/index.cjs.js.map +1 -1
  274. package/dist/cjs/input.util-1c2fa43d.js +192 -0
  275. package/dist/cjs/input.util-1c2fa43d.js.map +1 -0
  276. package/dist/cjs/ix-action-card.cjs.entry.js +2 -2
  277. package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
  278. package/dist/cjs/ix-application-header.cjs.entry.js +37 -11
  279. package/dist/cjs/ix-application-header.cjs.entry.js.map +1 -1
  280. package/dist/cjs/ix-application-sidebar.cjs.entry.js +2 -2
  281. package/dist/cjs/ix-application-switch-modal.cjs.entry.js +3 -3
  282. package/dist/cjs/ix-application.cjs.entry.js +8 -8
  283. package/dist/cjs/ix-application.cjs.entry.js.map +1 -1
  284. package/dist/cjs/ix-avatar_2.cjs.entry.js +17 -9
  285. package/dist/cjs/ix-avatar_2.cjs.entry.js.map +1 -1
  286. package/dist/cjs/ix-basic-navigation.cjs.entry.js +4 -4
  287. package/dist/cjs/ix-basic-navigation.cjs.entry.js.map +1 -1
  288. package/dist/cjs/ix-blind.cjs.entry.js +7 -7
  289. package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
  290. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +3 -3
  291. package/dist/cjs/ix-breadcrumb.cjs.entry.js +11 -10
  292. package/dist/cjs/ix-breadcrumb.cjs.entry.js.map +1 -1
  293. package/dist/cjs/ix-button.cjs.entry.js +14 -5
  294. package/dist/cjs/ix-button.cjs.entry.js.map +1 -1
  295. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +8 -8
  296. package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
  297. package/dist/cjs/ix-card-list.cjs.entry.js +11 -8
  298. package/dist/cjs/ix-card-list.cjs.entry.js.map +1 -1
  299. package/dist/cjs/ix-card_2.cjs.entry.js +6 -6
  300. package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -1
  301. package/dist/cjs/ix-category-filter.cjs.entry.js +158 -82
  302. package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
  303. package/dist/cjs/ix-checkbox-group.cjs.entry.js +60 -0
  304. package/dist/cjs/ix-checkbox-group.cjs.entry.js.map +1 -0
  305. package/dist/cjs/ix-checkbox.cjs.entry.js +117 -0
  306. package/dist/cjs/ix-checkbox.cjs.entry.js.map +1 -0
  307. package/dist/cjs/ix-chip.cjs.entry.js +5 -5
  308. package/dist/cjs/ix-chip.cjs.entry.js.map +1 -1
  309. package/dist/cjs/ix-col_4.cjs.entry.js +75 -49
  310. package/dist/cjs/ix-col_4.cjs.entry.js.map +1 -1
  311. package/dist/cjs/ix-content-header.cjs.entry.js +3 -3
  312. package/dist/cjs/ix-content-header.cjs.entry.js.map +1 -1
  313. package/dist/cjs/ix-content.cjs.entry.js +6 -6
  314. package/dist/cjs/ix-content.cjs.entry.js.map +1 -1
  315. package/dist/cjs/ix-css-grid-item.cjs.entry.js +2 -2
  316. package/dist/cjs/ix-css-grid.cjs.entry.js +9 -4
  317. package/dist/cjs/ix-css-grid.cjs.entry.js.map +1 -1
  318. package/dist/cjs/ix-custom-field.cjs.entry.js +65 -0
  319. package/dist/cjs/ix-custom-field.cjs.entry.js.map +1 -0
  320. package/dist/cjs/ix-date-dropdown.cjs.entry.js +28 -16
  321. package/dist/cjs/ix-date-dropdown.cjs.entry.js.map +1 -1
  322. package/dist/cjs/ix-date-input.cjs.entry.js +266 -0
  323. package/dist/cjs/ix-date-input.cjs.entry.js.map +1 -0
  324. package/dist/cjs/ix-date-time-card.cjs.entry.js +5 -6
  325. package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -1
  326. package/dist/cjs/ix-datetime-picker.cjs.entry.js +11 -11
  327. package/dist/cjs/ix-datetime-picker.cjs.entry.js.map +1 -1
  328. package/dist/cjs/ix-divider.cjs.entry.js +2 -2
  329. package/dist/cjs/ix-drawer.cjs.entry.js +29 -25
  330. package/dist/cjs/ix-drawer.cjs.entry.js.map +1 -1
  331. package/dist/cjs/ix-dropdown-button.cjs.entry.js +5 -6
  332. package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
  333. package/dist/cjs/ix-dropdown-header.cjs.entry.js +2 -2
  334. package/dist/cjs/ix-dropdown-header.cjs.entry.js.map +1 -1
  335. package/dist/cjs/ix-dropdown-item.cjs.entry.js +5 -5
  336. package/dist/cjs/ix-dropdown-item.cjs.entry.js.map +1 -1
  337. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +2 -2
  338. package/dist/cjs/ix-dropdown.cjs.entry.js +84 -216
  339. package/dist/cjs/ix-dropdown.cjs.entry.js.map +1 -1
  340. package/dist/cjs/ix-empty-state.cjs.entry.js +2 -2
  341. package/dist/cjs/ix-empty-state.cjs.entry.js.map +1 -1
  342. package/dist/cjs/ix-event-list-item.cjs.entry.js +9 -9
  343. package/dist/cjs/ix-event-list-item.cjs.entry.js.map +1 -1
  344. package/dist/cjs/ix-event-list.cjs.entry.js +5 -5
  345. package/dist/cjs/ix-event-list.cjs.entry.js.map +1 -1
  346. package/dist/cjs/ix-expanding-search.cjs.entry.js +5 -5
  347. package/dist/cjs/ix-field-label_3.cjs.entry.js +476 -0
  348. package/dist/cjs/ix-field-label_3.cjs.entry.js.map +1 -0
  349. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +28 -7
  350. package/dist/cjs/ix-filter-chip_2.cjs.entry.js.map +1 -1
  351. package/dist/cjs/ix-flip-tile-content.cjs.entry.js +2 -2
  352. package/dist/cjs/ix-flip-tile.cjs.entry.js +5 -5
  353. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +5 -5
  354. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js.map +1 -1
  355. package/dist/cjs/ix-group.cjs.entry.js +58 -40
  356. package/dist/cjs/ix-group.cjs.entry.js.map +1 -1
  357. package/dist/cjs/ix-helper-text.cjs.entry.js +70 -0
  358. package/dist/cjs/ix-helper-text.cjs.entry.js.map +1 -0
  359. package/dist/cjs/ix-icon-button_2.cjs.entry.js +10 -14
  360. package/dist/cjs/ix-icon-button_2.cjs.entry.js.map +1 -1
  361. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +6 -7
  362. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js.map +1 -1
  363. package/dist/cjs/ix-input-group.cjs.entry.js +3 -3
  364. package/dist/cjs/ix-input.cjs.entry.js +149 -0
  365. package/dist/cjs/ix-input.cjs.entry.js.map +1 -0
  366. package/dist/cjs/ix-key-value-list.cjs.entry.js +2 -2
  367. package/dist/cjs/ix-key-value.cjs.entry.js +2 -2
  368. package/dist/cjs/ix-kpi.cjs.entry.js +4 -4
  369. package/dist/cjs/ix-kpi.cjs.entry.js.map +1 -1
  370. package/dist/cjs/ix-layout-auto.cjs.entry.js +92 -0
  371. package/dist/cjs/ix-layout-auto.cjs.entry.js.map +1 -0
  372. package/dist/cjs/ix-link-button.cjs.entry.js +4 -4
  373. package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +3 -3
  374. package/dist/cjs/ix-map-navigation.cjs.entry.js +5 -5
  375. package/dist/cjs/ix-map-navigation.cjs.entry.js.map +1 -1
  376. package/dist/cjs/ix-menu-about-item.cjs.entry.js +2 -2
  377. package/dist/cjs/ix-menu-about-news.cjs.entry.js +5 -5
  378. package/dist/cjs/ix-menu-about-news.cjs.entry.js.map +1 -1
  379. package/dist/cjs/ix-menu-about.cjs.entry.js +3 -3
  380. package/dist/cjs/ix-menu-avatar.cjs.entry.js +4 -4
  381. package/dist/cjs/ix-menu-category.cjs.entry.js +7 -7
  382. package/dist/cjs/ix-menu-category.cjs.entry.js.map +1 -1
  383. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +4 -4
  384. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js.map +1 -1
  385. package/dist/cjs/ix-menu-item.cjs.entry.js +17 -16
  386. package/dist/cjs/ix-menu-item.cjs.entry.js.map +1 -1
  387. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +2 -2
  388. package/dist/cjs/ix-menu-settings.cjs.entry.js +2 -2
  389. package/dist/cjs/ix-menu.cjs.entry.js +34 -34
  390. package/dist/cjs/ix-menu.cjs.entry.js.map +1 -1
  391. package/dist/cjs/ix-message-bar.cjs.entry.js +2 -2
  392. package/dist/cjs/ix-modal-content_2.cjs.entry.js +6 -6
  393. package/dist/cjs/ix-modal-content_2.cjs.entry.js.map +1 -1
  394. package/dist/cjs/ix-modal-footer.cjs.entry.js +2 -2
  395. package/dist/cjs/ix-modal-loading.cjs.entry.js +2 -2
  396. package/dist/cjs/ix-modal.cjs.entry.js +14 -7
  397. package/dist/cjs/ix-modal.cjs.entry.js.map +1 -1
  398. package/dist/cjs/ix-number-input.cjs.entry.js +152 -0
  399. package/dist/cjs/ix-number-input.cjs.entry.js.map +1 -0
  400. package/dist/cjs/ix-pagination.cjs.entry.js +6 -6
  401. package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
  402. package/dist/cjs/ix-pane-layout.cjs.entry.js +10 -10
  403. package/dist/cjs/ix-pane-layout.cjs.entry.js.map +1 -1
  404. package/dist/cjs/ix-pane.cjs.entry.js +43 -35
  405. package/dist/cjs/ix-pane.cjs.entry.js.map +1 -1
  406. package/dist/cjs/ix-pill.cjs.entry.js +5 -5
  407. package/dist/cjs/ix-pill.cjs.entry.js.map +1 -1
  408. package/dist/cjs/ix-push-card.cjs.entry.js +2 -2
  409. package/dist/cjs/ix-push-card.cjs.entry.js.map +1 -1
  410. package/dist/cjs/ix-radio-group.cjs.entry.js +120 -0
  411. package/dist/cjs/ix-radio-group.cjs.entry.js.map +1 -0
  412. package/dist/cjs/ix-radio.cjs.entry.js +98 -0
  413. package/dist/cjs/ix-radio.cjs.entry.js.map +1 -0
  414. package/dist/cjs/ix-select.cjs.entry.js +171 -77
  415. package/dist/cjs/ix-select.cjs.entry.js.map +1 -1
  416. package/dist/cjs/ix-slider.cjs.entry.js +10 -10
  417. package/dist/cjs/ix-slider.cjs.entry.js.map +1 -1
  418. package/dist/cjs/ix-split-button-item.cjs.entry.js +3 -3
  419. package/dist/cjs/ix-split-button.cjs.entry.js +2 -2
  420. package/dist/cjs/ix-tab-item_2.cjs.entry.js +6 -6
  421. package/dist/cjs/ix-tab-item_2.cjs.entry.js.map +1 -1
  422. package/dist/cjs/ix-textarea.cjs.entry.js +120 -0
  423. package/dist/cjs/ix-textarea.cjs.entry.js.map +1 -0
  424. package/dist/cjs/ix-tile.cjs.entry.js +5 -5
  425. package/dist/cjs/ix-tile.cjs.entry.js.map +1 -1
  426. package/dist/cjs/ix-time-picker.cjs.entry.js +40 -20
  427. package/dist/cjs/ix-time-picker.cjs.entry.js.map +1 -1
  428. package/dist/cjs/ix-toast-container.cjs.entry.js +3 -3
  429. package/dist/cjs/ix-toast-container.cjs.entry.js.map +1 -1
  430. package/dist/cjs/ix-toast.cjs.entry.js +3 -3
  431. package/dist/cjs/ix-toast.cjs.entry.js.map +1 -1
  432. package/dist/cjs/ix-toggle-button.cjs.entry.js +5 -5
  433. package/dist/cjs/ix-toggle.cjs.entry.js +42 -5
  434. package/dist/cjs/ix-toggle.cjs.entry.js.map +1 -1
  435. package/dist/cjs/ix-tree-item.cjs.entry.js +9 -9
  436. package/dist/cjs/ix-tree-item.cjs.entry.js.map +1 -1
  437. package/dist/cjs/ix-tree.cjs.entry.js +22 -8
  438. package/dist/cjs/ix-tree.cjs.entry.js.map +1 -1
  439. package/dist/cjs/ix-typography.cjs.entry.js +4 -25
  440. package/dist/cjs/ix-typography.cjs.entry.js.map +1 -1
  441. package/dist/cjs/ix-upload.cjs.entry.js +60 -6
  442. package/dist/cjs/ix-upload.cjs.entry.js.map +1 -1
  443. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +4 -4
  444. package/dist/cjs/ix-workflow-step.cjs.entry.js +4 -4
  445. package/dist/cjs/ix-workflow-step.cjs.entry.js.map +1 -1
  446. package/dist/cjs/ix-workflow-steps.cjs.entry.js +2 -2
  447. package/dist/cjs/ix-workflow-steps.cjs.entry.js.map +1 -1
  448. package/dist/cjs/listener-9ec23f49.js +77 -0
  449. package/dist/cjs/listener-9ec23f49.js.map +1 -0
  450. package/dist/cjs/loader.cjs.js +4 -3
  451. package/dist/cjs/loader.cjs.js.map +1 -1
  452. package/dist/cjs/logical-filter-operator-4917393f.js +38 -0
  453. package/dist/cjs/logical-filter-operator-4917393f.js.map +1 -0
  454. package/dist/cjs/make-ref-499e1e41.js +25 -0
  455. package/dist/cjs/make-ref-499e1e41.js.map +1 -0
  456. package/dist/cjs/menu-tabs-fc-eb899b0d.js +108 -0
  457. package/dist/cjs/menu-tabs-fc-eb899b0d.js.map +1 -0
  458. package/dist/cjs/modal-a49409aa.js +254 -0
  459. package/dist/cjs/modal-a49409aa.js.map +1 -0
  460. package/dist/cjs/setup-86b7d543.js +46 -0
  461. package/dist/cjs/setup-86b7d543.js.map +1 -0
  462. package/dist/cjs/shadow-dom-454acc38.js +50 -0
  463. package/dist/cjs/shadow-dom-454acc38.js.map +1 -0
  464. package/dist/cjs/siemens-ix.cjs.js +4 -3
  465. package/dist/cjs/siemens-ix.cjs.js.map +1 -1
  466. package/dist/cjs/theme-switcher-88b70d73.js +127 -0
  467. package/dist/cjs/theme-switcher-88b70d73.js.map +1 -0
  468. package/dist/cjs/validation-1e3dd5ee.js +117 -0
  469. package/dist/cjs/validation-1e3dd5ee.js.map +1 -0
  470. package/dist/collection/collection-manifest.json +15 -5
  471. package/dist/collection/components/action-card/action-card.js +8 -5
  472. package/dist/collection/components/action-card/action-card.js.map +1 -1
  473. package/dist/collection/components/application/application.css +26 -6
  474. package/dist/collection/components/application/application.js +4 -4
  475. package/dist/collection/components/application/application.js.map +1 -1
  476. package/dist/collection/components/application-header/application-header.css +9 -7
  477. package/dist/collection/components/application-header/application-header.js +77 -5
  478. package/dist/collection/components/application-header/application-header.js.map +1 -1
  479. package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +1 -1
  480. package/dist/collection/components/application-sidebar/application-sidebar.js +1 -1
  481. package/dist/collection/components/avatar/avatar.css +1 -1
  482. package/dist/collection/components/avatar/avatar.js +15 -7
  483. package/dist/collection/components/avatar/avatar.js.map +1 -1
  484. package/dist/collection/components/basic-navigation/basic-navigation.js +7 -4
  485. package/dist/collection/components/basic-navigation/basic-navigation.js.map +1 -1
  486. package/dist/collection/components/blind/blind.css +1 -1
  487. package/dist/collection/components/blind/blind.js +10 -10
  488. package/dist/collection/components/blind/blind.js.map +1 -1
  489. package/dist/collection/components/blind/test/blind.ct.js +1 -1
  490. package/dist/collection/components/blind/test/blind.ct.js.map +1 -1
  491. package/dist/collection/components/breadcrumb/breadcrumb.js +9 -10
  492. package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
  493. package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js +2 -1
  494. package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js.map +1 -1
  495. package/dist/collection/components/button/base-button.js +2 -2
  496. package/dist/collection/components/button/base-button.js.map +1 -1
  497. package/dist/collection/components/button/button.js +22 -4
  498. package/dist/collection/components/button/button.js.map +1 -1
  499. package/dist/collection/components/card/card.css +27 -11
  500. package/dist/collection/components/card/card.js +10 -6
  501. package/dist/collection/components/card/card.js.map +1 -1
  502. package/dist/collection/components/card-accordion/card-accordion.css +4 -4
  503. package/dist/collection/components/card-accordion/card-accordion.js +5 -5
  504. package/dist/collection/components/card-accordion/card-accordion.js.map +1 -1
  505. package/dist/collection/components/card-content/card-content.js +1 -1
  506. package/dist/collection/components/card-list/card-list.css +7 -1
  507. package/dist/collection/components/card-list/card-list.js +12 -9
  508. package/dist/collection/components/card-list/card-list.js.map +1 -1
  509. package/dist/collection/components/card-title/card-title.js +1 -1
  510. package/dist/collection/components/category-filter/category-filter.css +300 -36
  511. package/dist/collection/components/category-filter/category-filter.js +178 -88
  512. package/dist/collection/components/category-filter/category-filter.js.map +1 -1
  513. package/dist/collection/components/category-filter/logical-filter-operator.js +1 -1
  514. package/dist/collection/components/category-filter/logical-filter-operator.js.map +1 -1
  515. package/dist/collection/components/category-filter/test/category-filter.ct.js +62 -0
  516. package/dist/collection/components/category-filter/test/category-filter.ct.js.map +1 -0
  517. package/dist/collection/components/checkbox/checkbox.css +423 -0
  518. package/dist/collection/components/checkbox/checkbox.js +326 -0
  519. package/dist/collection/components/checkbox/checkbox.js.map +1 -0
  520. package/dist/collection/components/checkbox/tests/checkbox.ct.js +44 -0
  521. package/dist/collection/components/checkbox/tests/checkbox.ct.js.map +1 -0
  522. package/dist/collection/components/checkbox-group/checkbox-group.css +38 -0
  523. package/dist/collection/components/checkbox-group/checkbox-group.js +213 -0
  524. package/dist/collection/components/checkbox-group/checkbox-group.js.map +1 -0
  525. package/dist/collection/components/chip/chip.css +2 -2
  526. package/dist/collection/components/chip/chip.js +5 -5
  527. package/dist/collection/components/chip/chip.js.map +1 -1
  528. package/dist/collection/components/col/col.css +1 -1
  529. package/dist/collection/components/col/col.js +2 -2
  530. package/dist/collection/components/col/col.js.map +1 -1
  531. package/dist/collection/components/content/content.css +1 -0
  532. package/dist/collection/components/content/content.js +3 -3
  533. package/dist/collection/components/content/content.js.map +1 -1
  534. package/dist/collection/components/content-header/content-header.css +6 -3
  535. package/dist/collection/components/content-header/content-header.js +2 -2
  536. package/dist/collection/components/content-header/content-header.js.map +1 -1
  537. package/dist/collection/components/css-grid/css-grid-item.js +1 -1
  538. package/dist/collection/components/css-grid/css-grid.js +9 -4
  539. package/dist/collection/components/css-grid/css-grid.js.map +1 -1
  540. package/dist/collection/components/custom-field/custom-field.css +15 -0
  541. package/dist/collection/components/custom-field/custom-field.js +216 -0
  542. package/dist/collection/components/custom-field/custom-field.js.map +1 -0
  543. package/dist/collection/components/custom-field/tests/custom-field.ct.js +68 -0
  544. package/dist/collection/components/custom-field/tests/custom-field.ct.js.map +1 -0
  545. package/dist/collection/components/date-dropdown/date-dropdown.css +1 -1
  546. package/dist/collection/components/date-dropdown/date-dropdown.js +76 -20
  547. package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
  548. package/dist/collection/components/date-input/date-input.css +1126 -0
  549. package/dist/collection/components/date-input/date-input.js +743 -0
  550. package/dist/collection/components/date-input/date-input.js.map +1 -0
  551. package/dist/collection/components/date-input/tests/date-input.ct.js +114 -0
  552. package/dist/collection/components/date-input/tests/date-input.ct.js.map +1 -0
  553. package/dist/collection/components/date-picker/date-picker-component.js +2 -0
  554. package/dist/collection/components/date-picker/date-picker-component.js.map +1 -0
  555. package/dist/collection/components/date-picker/date-picker.css +26 -10
  556. package/dist/collection/components/date-picker/date-picker.js +74 -50
  557. package/dist/collection/components/date-picker/date-picker.js.map +1 -1
  558. package/dist/collection/components/date-picker/test/date-picker.ct.js +22 -0
  559. package/dist/collection/components/date-picker/test/date-picker.ct.js.map +1 -1
  560. package/dist/collection/components/date-time-card/date-time-card.css +1 -1
  561. package/dist/collection/components/date-time-card/date-time-card.js +8 -10
  562. package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
  563. package/dist/collection/components/datetime-picker/datetime-picker.css +23 -11
  564. package/dist/collection/components/datetime-picker/datetime-picker.js +24 -25
  565. package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
  566. package/dist/collection/components/divider/divider.js +1 -1
  567. package/dist/collection/components/drawer/drawer.css +0 -3
  568. package/dist/collection/components/drawer/drawer.js +27 -23
  569. package/dist/collection/components/drawer/drawer.js.map +1 -1
  570. package/dist/collection/components/drawer/test/drawer.spec.js +2 -2
  571. package/dist/collection/components/drawer/test/drawer.spec.js.map +1 -1
  572. package/dist/collection/components/dropdown/dropdown-controller.js +27 -15
  573. package/dist/collection/components/dropdown/dropdown-controller.js.map +1 -1
  574. package/dist/collection/components/dropdown/dropdown.js +105 -82
  575. package/dist/collection/components/dropdown/dropdown.js.map +1 -1
  576. package/dist/collection/components/dropdown/test/dropdown.ct.js +19 -8
  577. package/dist/collection/components/dropdown/test/dropdown.ct.js.map +1 -1
  578. package/dist/collection/components/dropdown-button/dropdown-button.js +7 -13
  579. package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
  580. package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
  581. package/dist/collection/components/dropdown-header/dropdown-header.js.map +1 -1
  582. package/dist/collection/components/dropdown-item/dropdown-item.css +3 -3
  583. package/dist/collection/components/dropdown-item/dropdown-item.js +5 -5
  584. package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -1
  585. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
  586. package/dist/collection/components/empty-state/empty-state.js +1 -1
  587. package/dist/collection/components/empty-state/empty-state.js.map +1 -1
  588. package/dist/collection/components/event-list/event-list.css +0 -6
  589. package/dist/collection/components/event-list/event-list.js +5 -4
  590. package/dist/collection/components/event-list/event-list.js.map +1 -1
  591. package/dist/collection/components/event-list-item/event-list-item.js +15 -12
  592. package/dist/collection/components/event-list-item/event-list-item.js.map +1 -1
  593. package/dist/collection/components/expanding-search/expanding-search.js +4 -4
  594. package/dist/collection/components/field-label/field-label.css +14 -0
  595. package/dist/collection/components/field-label/field-label.js +230 -0
  596. package/dist/collection/components/field-label/field-label.js.map +1 -0
  597. package/dist/collection/components/field-label/tests/field-label.ct.js +113 -0
  598. package/dist/collection/components/field-label/tests/field-label.ct.js.map +1 -0
  599. package/dist/collection/components/field-wrapper/field-wrapper.css +62 -0
  600. package/dist/collection/components/field-wrapper/field-wrapper.js +317 -0
  601. package/dist/collection/components/field-wrapper/field-wrapper.js.map +1 -0
  602. package/dist/collection/components/field-wrapper/helper-text-util.js +29 -0
  603. package/dist/collection/components/field-wrapper/helper-text-util.js.map +1 -0
  604. package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js +63 -0
  605. package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js.map +1 -0
  606. package/dist/collection/components/filter-chip/filter-chip.js +1 -1
  607. package/dist/collection/components/flip-tile/flip-tile.js +4 -4
  608. package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
  609. package/dist/collection/components/group/group-context-menu.css +1 -1
  610. package/dist/collection/components/group/group-context-menu.js +2 -2
  611. package/dist/collection/components/group/group-context-menu.js.map +1 -1
  612. package/dist/collection/components/group/group.css +3 -2
  613. package/dist/collection/components/group/group.js +68 -38
  614. package/dist/collection/components/group/group.js.map +1 -1
  615. package/dist/collection/components/group/test/group.ct.js +34 -4
  616. package/dist/collection/components/group/test/group.ct.js.map +1 -1
  617. package/dist/collection/components/group-item/group-item.js +2 -2
  618. package/dist/collection/components/helper-text/helper-text.css +34 -0
  619. package/dist/collection/components/helper-text/helper-text.js +179 -0
  620. package/dist/collection/components/helper-text/helper-text.js.map +1 -0
  621. package/dist/collection/components/icon-button/icon-button.css +0 -15
  622. package/dist/collection/components/icon-button/icon-button.js +1 -1
  623. package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +0 -15
  624. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -2
  625. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js.map +1 -1
  626. package/dist/collection/components/input/input.animation.js +36 -0
  627. package/dist/collection/components/input/input.animation.js.map +1 -0
  628. package/dist/collection/components/input/input.css +1087 -0
  629. package/dist/collection/components/input/input.fc.js +42 -0
  630. package/dist/collection/components/input/input.fc.js.map +1 -0
  631. package/dist/collection/components/input/input.js +608 -0
  632. package/dist/collection/components/input/input.js.map +1 -0
  633. package/dist/collection/components/input/input.util.js +103 -0
  634. package/dist/collection/components/input/input.util.js.map +1 -0
  635. package/dist/collection/components/input/number-input.css +629 -0
  636. package/dist/collection/components/input/number-input.js +606 -0
  637. package/dist/collection/components/input/number-input.js.map +1 -0
  638. package/dist/collection/components/input/tests/form-ready.ct.js +63 -0
  639. package/dist/collection/components/input/tests/form-ready.ct.js.map +1 -0
  640. package/dist/collection/components/input/textarea.css +649 -0
  641. package/dist/collection/components/input/textarea.js +615 -0
  642. package/dist/collection/components/input/textarea.js.map +1 -0
  643. package/dist/collection/components/input-group/input-group.js +1 -1
  644. package/dist/collection/components/key-value/key-value.js +1 -1
  645. package/dist/collection/components/key-value-list/key-value-list.js +1 -1
  646. package/dist/collection/components/kpi/kpi.css +1 -1
  647. package/dist/collection/components/kpi/kpi.js +4 -4
  648. package/dist/collection/components/kpi/kpi.js.map +1 -1
  649. package/dist/collection/components/layout-auto/layout-auto.css +16 -0
  650. package/dist/collection/components/layout-auto/layout-auto.js +122 -0
  651. package/dist/collection/components/layout-auto/layout-auto.js.map +1 -0
  652. package/dist/collection/components/layout-grid/layout-grid.css +21 -0
  653. package/dist/collection/components/layout-grid/layout-grid.js +98 -0
  654. package/dist/collection/components/layout-grid/layout-grid.js.map +1 -0
  655. package/dist/collection/components/link-button/link-button.js +3 -3
  656. package/dist/collection/components/map-navigation/map-navigation.css +3 -3
  657. package/dist/collection/components/map-navigation/map-navigation.js +2 -2
  658. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
  659. package/dist/collection/components/menu/menu-expand-icon.css +1 -1
  660. package/dist/collection/components/menu/menu-expand-icon.js +3 -3
  661. package/dist/collection/components/menu/menu-expand-icon.js.map +1 -1
  662. package/dist/collection/components/menu/menu.css +4 -3
  663. package/dist/collection/components/menu/menu.js +30 -31
  664. package/dist/collection/components/menu/menu.js.map +1 -1
  665. package/dist/collection/components/menu/test/menu.ct.js +1 -1
  666. package/dist/collection/components/menu/test/menu.ct.js.map +1 -1
  667. package/dist/collection/components/menu-about/menu-about.js +1 -1
  668. package/dist/collection/components/menu-about/test/menu-about.ct.js +44 -0
  669. package/dist/collection/components/menu-about/test/menu-about.ct.js.map +1 -0
  670. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  671. package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
  672. package/dist/collection/components/menu-about-news/menu-about-news.js.map +1 -1
  673. package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
  674. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  675. package/dist/collection/components/menu-category/menu-category.js +5 -5
  676. package/dist/collection/components/menu-category/menu-category.js.map +1 -1
  677. package/dist/collection/components/menu-item/menu-item.js +26 -22
  678. package/dist/collection/components/menu-item/menu-item.js.map +1 -1
  679. package/dist/collection/components/menu-settings/menu-settings.js +1 -1
  680. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  681. package/dist/collection/components/message-bar/message-bar.js +1 -1
  682. package/dist/collection/components/modal/modal.css +19 -9
  683. package/dist/collection/components/modal/modal.js +11 -4
  684. package/dist/collection/components/modal/modal.js.map +1 -1
  685. package/dist/collection/components/modal/test/modal.ct.js +47 -1
  686. package/dist/collection/components/modal/test/modal.ct.js.map +1 -1
  687. package/dist/collection/components/modal-content/modal-content.css +2 -2
  688. package/dist/collection/components/modal-content/modal-content.js +1 -1
  689. package/dist/collection/components/modal-footer/modal-footer.js +1 -1
  690. package/dist/collection/components/modal-header/modal-header.css +6 -7
  691. package/dist/collection/components/modal-header/modal-header.js +4 -4
  692. package/dist/collection/components/modal-header/modal-header.js.map +1 -1
  693. package/dist/collection/components/modal-loading/modal-loading.js +1 -1
  694. package/dist/collection/components/pagination/pagination.css +0 -15
  695. package/dist/collection/components/pagination/pagination.js +2 -2
  696. package/dist/collection/components/pagination/pagination.js.map +1 -1
  697. package/dist/collection/components/pane/pane.css +1 -1
  698. package/dist/collection/components/pane/pane.js +47 -39
  699. package/dist/collection/components/pane/pane.js.map +1 -1
  700. package/dist/collection/components/pane/test/panes.ct.js +25 -1
  701. package/dist/collection/components/pane/test/panes.ct.js.map +1 -1
  702. package/dist/collection/components/pane-layout/pane-layout.js +9 -9
  703. package/dist/collection/components/pane-layout/pane-layout.js.map +1 -1
  704. package/dist/collection/components/pill/pill.css +2 -2
  705. package/dist/collection/components/pill/pill.js +5 -5
  706. package/dist/collection/components/pill/pill.js.map +1 -1
  707. package/dist/collection/components/push-card/push-card.js +9 -6
  708. package/dist/collection/components/push-card/push-card.js.map +1 -1
  709. package/dist/collection/components/radio/radio.css +430 -0
  710. package/dist/collection/components/radio/radio.js +278 -0
  711. package/dist/collection/components/radio/radio.js.map +1 -0
  712. package/dist/collection/components/radio/test/radio.ct.js +36 -0
  713. package/dist/collection/components/radio/test/radio.ct.js.map +1 -0
  714. package/dist/collection/components/radio-group/radio-group.css +38 -0
  715. package/dist/collection/components/radio-group/radio-group.js +326 -0
  716. package/dist/collection/components/radio-group/radio-group.js.map +1 -0
  717. package/dist/collection/components/radio-group/test/radio-group.ct.js +100 -0
  718. package/dist/collection/components/radio-group/test/radio-group.ct.js.map +1 -0
  719. package/dist/collection/components/row/row.css +1 -1
  720. package/dist/collection/components/row/row.js +2 -2
  721. package/dist/collection/components/row/row.js.map +1 -1
  722. package/dist/collection/components/select/select.css +58 -0
  723. package/dist/collection/components/select/select.js +460 -80
  724. package/dist/collection/components/select/select.js.map +1 -1
  725. package/dist/collection/components/select/test/select.ct.js +103 -9
  726. package/dist/collection/components/select/test/select.ct.js.map +1 -1
  727. package/dist/collection/components/select-item/events.js +8 -0
  728. package/dist/collection/components/select-item/events.js.map +1 -1
  729. package/dist/collection/components/select-item/select-item.js +22 -7
  730. package/dist/collection/components/select-item/select-item.js.map +1 -1
  731. package/dist/collection/components/slider/slider.js +7 -7
  732. package/dist/collection/components/slider/slider.js.map +1 -1
  733. package/dist/collection/components/spinner/spinner.css +140 -125
  734. package/dist/collection/components/spinner/spinner.js +3 -7
  735. package/dist/collection/components/spinner/spinner.js.map +1 -1
  736. package/dist/collection/components/split-button/split-button.js +1 -1
  737. package/dist/collection/components/split-button-item/split-button-item.js +1 -1
  738. package/dist/collection/components/tab-item/tab-item.js +3 -3
  739. package/dist/collection/components/tabs/tabs.css +1 -1
  740. package/dist/collection/components/tabs/tabs.js +3 -3
  741. package/dist/collection/components/tabs/tabs.js.map +1 -1
  742. package/dist/collection/components/tile/tile.css +1 -1
  743. package/dist/collection/components/tile/tile.js +5 -5
  744. package/dist/collection/components/tile/tile.js.map +1 -1
  745. package/dist/collection/components/time-picker/time-picker.css +174 -16
  746. package/dist/collection/components/time-picker/time-picker.js +38 -18
  747. package/dist/collection/components/time-picker/time-picker.js.map +1 -1
  748. package/dist/collection/components/toast/styles/toast-container.css +1 -1
  749. package/dist/collection/components/toast/toast-container.js +3 -3
  750. package/dist/collection/components/toast/toast-container.js.map +1 -1
  751. package/dist/collection/components/toast/toast-utils.js.map +1 -1
  752. package/dist/collection/components/toast/toast.css +1 -1
  753. package/dist/collection/components/toast/toast.js +3 -3
  754. package/dist/collection/components/toast/toast.js.map +1 -1
  755. package/dist/collection/components/toggle/test/toggle.ct.js +24 -1
  756. package/dist/collection/components/toggle/test/toggle.ct.js.map +1 -1
  757. package/dist/collection/components/toggle/toggle.css +133 -4
  758. package/dist/collection/components/toggle/toggle.js +157 -2
  759. package/dist/collection/components/toggle/toggle.js.map +1 -1
  760. package/dist/collection/components/toggle-button/toggle-button.js +2 -2
  761. package/dist/collection/components/tooltip/test/tooltip.ct.js +37 -0
  762. package/dist/collection/components/tooltip/test/tooltip.ct.js.map +1 -1
  763. package/dist/collection/components/tooltip/tooltip.css +15 -5
  764. package/dist/collection/components/tooltip/tooltip.js +31 -31
  765. package/dist/collection/components/tooltip/tooltip.js.map +1 -1
  766. package/dist/collection/components/tree/test/tree.ct.js +37 -1
  767. package/dist/collection/components/tree/test/tree.ct.js.map +1 -1
  768. package/dist/collection/components/tree/tree-model.js.map +1 -1
  769. package/dist/collection/components/tree/tree.css +1 -1
  770. package/dist/collection/components/tree/tree.js +26 -11
  771. package/dist/collection/components/tree/tree.js.map +1 -1
  772. package/dist/collection/components/tree-item/tree-item.css +9 -0
  773. package/dist/collection/components/tree-item/tree-item.js +13 -12
  774. package/dist/collection/components/tree-item/tree-item.js.map +1 -1
  775. package/dist/collection/components/typography/test/ix-typography.spec.js +0 -14
  776. package/dist/collection/components/typography/test/ix-typography.spec.js.map +1 -1
  777. package/dist/collection/components/typography/type-mapping.js +3 -0
  778. package/dist/collection/components/typography/type-mapping.js.map +1 -1
  779. package/dist/collection/components/typography/typography.js +6 -42
  780. package/dist/collection/components/typography/typography.js.map +1 -1
  781. package/dist/collection/components/upload/test/upload.ct.js +17 -0
  782. package/dist/collection/components/upload/test/upload.ct.js.map +1 -0
  783. package/dist/collection/components/upload/upload.css +0 -2
  784. package/dist/collection/components/upload/upload.js +50 -6
  785. package/dist/collection/components/upload/upload.js.map +1 -1
  786. package/dist/collection/components/utils/a11y.js +3 -2
  787. package/dist/collection/components/utils/a11y.js.map +1 -1
  788. package/dist/collection/components/utils/application-layout/context.js.map +1 -1
  789. package/dist/collection/components/utils/attributes.js +25 -0
  790. package/dist/collection/components/utils/attributes.js.map +1 -0
  791. package/dist/collection/components/utils/condition-checks.js +1 -1
  792. package/dist/collection/components/utils/condition-checks.js.map +1 -1
  793. package/dist/collection/components/utils/context.js +6 -3
  794. package/dist/collection/components/utils/context.js.map +1 -1
  795. package/dist/collection/components/utils/disposable-event-listener.js +19 -0
  796. package/dist/collection/components/utils/disposable-event-listener.js.map +1 -0
  797. package/dist/collection/components/utils/element-reference.js +2 -0
  798. package/dist/collection/components/utils/element-reference.js.map +1 -0
  799. package/dist/collection/components/utils/find-element.js +99 -0
  800. package/dist/collection/components/utils/find-element.js.map +1 -0
  801. package/dist/collection/components/utils/focus.js +20 -17
  802. package/dist/collection/components/utils/focus.js.map +1 -1
  803. package/dist/collection/components/utils/input/index.js +9 -0
  804. package/dist/collection/components/utils/input/index.js.map +1 -0
  805. package/dist/collection/components/utils/input/validation.js +108 -0
  806. package/dist/collection/components/utils/input/validation.js.map +1 -0
  807. package/dist/collection/components/utils/listener.js +2 -2
  808. package/dist/collection/components/utils/listener.js.map +1 -1
  809. package/dist/collection/components/utils/make-ref.js +7 -12
  810. package/dist/collection/components/utils/make-ref.js.map +1 -1
  811. package/dist/collection/components/utils/menu-tabs/menu-tabs-fc.js +11 -8
  812. package/dist/collection/components/utils/menu-tabs/menu-tabs-fc.js.map +1 -1
  813. package/dist/collection/components/utils/modal/index.js.map +1 -1
  814. package/dist/collection/components/utils/modal/message.js +3 -1
  815. package/dist/collection/components/utils/modal/message.js.map +1 -1
  816. package/dist/collection/components/utils/notification-color.js.map +1 -1
  817. package/dist/collection/components/utils/shadow-dom.js +1 -1
  818. package/dist/collection/components/utils/shadow-dom.js.map +1 -1
  819. package/dist/collection/components/utils/theme-switcher.js +1 -0
  820. package/dist/collection/components/utils/theme-switcher.js.map +1 -1
  821. package/dist/collection/components/utils/type-helper.js +2 -0
  822. package/dist/collection/components/utils/type-helper.js.map +1 -0
  823. package/dist/collection/components/utils/uuid.js +16 -0
  824. package/dist/collection/components/utils/uuid.js.map +1 -0
  825. package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
  826. package/dist/collection/components/workflow-step/workflow-step.css +1 -1
  827. package/dist/collection/components/workflow-step/workflow-step.js +4 -4
  828. package/dist/collection/components/workflow-step/workflow-step.js.map +1 -1
  829. package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js +2 -2
  830. package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js.map +1 -1
  831. package/dist/collection/components/workflow-steps/workflow-steps.css +1 -1
  832. package/dist/collection/components/workflow-steps/workflow-steps.js +2 -2
  833. package/dist/collection/components/workflow-steps/workflow-steps.js.map +1 -1
  834. package/dist/collection/index.js +8 -0
  835. package/dist/collection/index.js.map +1 -1
  836. package/dist/collection/setup.js +16 -1
  837. package/dist/collection/setup.js.map +1 -1
  838. package/dist/collection/tests/application/application.e2e.js.map +1 -1
  839. package/dist/collection/tests/application-header/application-header.e2e.js +9 -0
  840. package/dist/collection/tests/application-header/application-header.e2e.js.map +1 -1
  841. package/dist/collection/tests/card-list/card-list.e2e.js +7 -1
  842. package/dist/collection/tests/card-list/card-list.e2e.js.map +1 -1
  843. package/dist/collection/tests/checkbox-group/checkbox-group.e2e.js +25 -0
  844. package/dist/collection/tests/checkbox-group/checkbox-group.e2e.js.map +1 -0
  845. package/dist/collection/tests/content/content.e2e.js +24 -0
  846. package/dist/collection/tests/content/content.e2e.js.map +1 -0
  847. package/dist/collection/tests/date-picker/date-picker.e2e.js +6 -6
  848. package/dist/collection/tests/date-picker/date-picker.e2e.js.map +1 -1
  849. package/dist/collection/tests/datetime-picker/datetime-picker.e2e.js +8 -1
  850. package/dist/collection/tests/datetime-picker/datetime-picker.e2e.js.map +1 -1
  851. package/dist/collection/tests/drawer/drawer.e2e.js +6 -0
  852. package/dist/collection/tests/drawer/drawer.e2e.js.map +1 -1
  853. package/dist/collection/tests/dropdown/dropdown.e2e.js +6 -0
  854. package/dist/collection/tests/dropdown/dropdown.e2e.js.map +1 -1
  855. package/dist/collection/tests/form-fields/form-fields.e2e.js +57 -0
  856. package/dist/collection/tests/form-fields/form-fields.e2e.js.map +1 -0
  857. package/dist/collection/tests/group/group.e2e.js +12 -3
  858. package/dist/collection/tests/group/group.e2e.js.map +1 -1
  859. package/dist/collection/tests/input/input.e2e.js +29 -5
  860. package/dist/collection/tests/input/input.e2e.js.map +1 -1
  861. package/dist/collection/tests/message/message.e2e.js +50 -0
  862. package/dist/collection/tests/message/message.e2e.js.map +1 -0
  863. package/dist/collection/tests/modal/modal.e2e.js +10 -1
  864. package/dist/collection/tests/modal/modal.e2e.js.map +1 -1
  865. package/dist/collection/tests/number-input/number-input.e2e.js +17 -0
  866. package/dist/collection/tests/number-input/number-input.e2e.js.map +1 -0
  867. package/dist/collection/tests/radio-group/radio-group.e2e.js +25 -0
  868. package/dist/collection/tests/radio-group/radio-group.e2e.js.map +1 -0
  869. package/dist/collection/tests/slider/slider.e2e.js +17 -0
  870. package/dist/collection/tests/slider/slider.e2e.js.map +1 -1
  871. package/dist/collection/tests/tooltip/tooltip.e2e.js +22 -0
  872. package/dist/collection/tests/tooltip/tooltip.e2e.js.map +1 -1
  873. package/dist/collection/tests/tree/tree.e2e.js +12 -0
  874. package/dist/collection/tests/tree/tree.e2e.js.map +1 -1
  875. package/dist/collection/tests/utils/test/index.js +12 -0
  876. package/dist/collection/tests/utils/test/index.js.map +1 -1
  877. package/dist/collection/tests/utils/test/page.js +3 -12
  878. package/dist/collection/tests/utils/test/page.js.map +1 -1
  879. package/dist/esm/a11y-b10c12e0.js +143 -0
  880. package/dist/esm/a11y-b10c12e0.js.map +1 -0
  881. package/dist/esm/app-globals-ae0ca705.js +7 -0
  882. package/dist/esm/app-globals-ae0ca705.js.map +1 -0
  883. package/dist/esm/base-button-845f2463.js +70 -0
  884. package/dist/esm/base-button-845f2463.js.map +1 -0
  885. package/dist/esm/base-icon-button-38e2f6e6.js +18 -0
  886. package/dist/esm/base-icon-button-38e2f6e6.js.map +1 -0
  887. package/dist/esm/context-42311cff.js +104 -0
  888. package/dist/esm/context-42311cff.js.map +1 -0
  889. package/dist/esm/disposable-event-listener-ff2cb862.js +18 -0
  890. package/dist/esm/disposable-event-listener-ff2cb862.js.map +1 -0
  891. package/dist/esm/dropdown-controller-cb6d3789.js +156 -0
  892. package/dist/esm/dropdown-controller-cb6d3789.js.map +1 -0
  893. package/dist/esm/find-element-af8265f7.js +102 -0
  894. package/dist/esm/find-element-af8265f7.js.map +1 -0
  895. package/dist/esm/floating-ui.dom.esm-d4ad786a.js +2001 -0
  896. package/dist/esm/floating-ui.dom.esm-d4ad786a.js.map +1 -0
  897. package/dist/esm/focus-664aef4f.js +67 -0
  898. package/dist/esm/focus-664aef4f.js.map +1 -0
  899. package/dist/esm/helper-text-util-10896253.js +41 -0
  900. package/dist/esm/helper-text-util-10896253.js.map +1 -0
  901. package/dist/esm/index-60d17930.js +28 -0
  902. package/dist/esm/index-60d17930.js.map +1 -0
  903. package/dist/esm/index-97874de0.js +2004 -0
  904. package/dist/esm/index-97874de0.js.map +1 -0
  905. package/dist/esm/index-ad2af369.js +21 -0
  906. package/dist/esm/index-ad2af369.js.map +1 -0
  907. package/dist/esm/index.js +23 -6
  908. package/dist/esm/index.js.map +1 -1
  909. package/dist/esm/input.util-715860e3.js +181 -0
  910. package/dist/esm/input.util-715860e3.js.map +1 -0
  911. package/dist/esm/ix-action-card.entry.js +2 -2
  912. package/dist/esm/ix-action-card.entry.js.map +1 -1
  913. package/dist/esm/ix-application-header.entry.js +37 -11
  914. package/dist/esm/ix-application-header.entry.js.map +1 -1
  915. package/dist/esm/ix-application-sidebar.entry.js +2 -2
  916. package/dist/esm/ix-application-switch-modal.entry.js +3 -3
  917. package/dist/esm/ix-application.entry.js +8 -8
  918. package/dist/esm/ix-application.entry.js.map +1 -1
  919. package/dist/esm/ix-avatar_2.entry.js +17 -9
  920. package/dist/esm/ix-avatar_2.entry.js.map +1 -1
  921. package/dist/esm/ix-basic-navigation.entry.js +4 -4
  922. package/dist/esm/ix-basic-navigation.entry.js.map +1 -1
  923. package/dist/esm/ix-blind.entry.js +7 -7
  924. package/dist/esm/ix-blind.entry.js.map +1 -1
  925. package/dist/esm/ix-breadcrumb-item.entry.js +3 -3
  926. package/dist/esm/ix-breadcrumb.entry.js +11 -10
  927. package/dist/esm/ix-breadcrumb.entry.js.map +1 -1
  928. package/dist/esm/ix-button.entry.js +14 -5
  929. package/dist/esm/ix-button.entry.js.map +1 -1
  930. package/dist/esm/ix-card-accordion_2.entry.js +8 -8
  931. package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
  932. package/dist/esm/ix-card-list.entry.js +11 -8
  933. package/dist/esm/ix-card-list.entry.js.map +1 -1
  934. package/dist/esm/ix-card_2.entry.js +6 -6
  935. package/dist/esm/ix-card_2.entry.js.map +1 -1
  936. package/dist/esm/ix-category-filter.entry.js +158 -82
  937. package/dist/esm/ix-category-filter.entry.js.map +1 -1
  938. package/dist/esm/ix-checkbox-group.entry.js +56 -0
  939. package/dist/esm/ix-checkbox-group.entry.js.map +1 -0
  940. package/dist/esm/ix-checkbox.entry.js +113 -0
  941. package/dist/esm/ix-checkbox.entry.js.map +1 -0
  942. package/dist/esm/ix-chip.entry.js +5 -5
  943. package/dist/esm/ix-chip.entry.js.map +1 -1
  944. package/dist/esm/ix-col_4.entry.js +71 -45
  945. package/dist/esm/ix-col_4.entry.js.map +1 -1
  946. package/dist/esm/ix-content-header.entry.js +3 -3
  947. package/dist/esm/ix-content-header.entry.js.map +1 -1
  948. package/dist/esm/ix-content.entry.js +6 -6
  949. package/dist/esm/ix-content.entry.js.map +1 -1
  950. package/dist/esm/ix-css-grid-item.entry.js +2 -2
  951. package/dist/esm/ix-css-grid.entry.js +9 -4
  952. package/dist/esm/ix-css-grid.entry.js.map +1 -1
  953. package/dist/esm/ix-custom-field.entry.js +61 -0
  954. package/dist/esm/ix-custom-field.entry.js.map +1 -0
  955. package/dist/esm/ix-date-dropdown.entry.js +28 -16
  956. package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
  957. package/dist/esm/ix-date-input.entry.js +262 -0
  958. package/dist/esm/ix-date-input.entry.js.map +1 -0
  959. package/dist/esm/ix-date-time-card.entry.js +5 -6
  960. package/dist/esm/ix-date-time-card.entry.js.map +1 -1
  961. package/dist/esm/ix-datetime-picker.entry.js +11 -11
  962. package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
  963. package/dist/esm/ix-divider.entry.js +2 -2
  964. package/dist/esm/ix-drawer.entry.js +29 -25
  965. package/dist/esm/ix-drawer.entry.js.map +1 -1
  966. package/dist/esm/ix-dropdown-button.entry.js +5 -6
  967. package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
  968. package/dist/esm/ix-dropdown-header.entry.js +2 -2
  969. package/dist/esm/ix-dropdown-header.entry.js.map +1 -1
  970. package/dist/esm/ix-dropdown-item.entry.js +5 -5
  971. package/dist/esm/ix-dropdown-item.entry.js.map +1 -1
  972. package/dist/esm/ix-dropdown-quick-actions.entry.js +2 -2
  973. package/dist/esm/ix-dropdown.entry.js +71 -203
  974. package/dist/esm/ix-dropdown.entry.js.map +1 -1
  975. package/dist/esm/ix-empty-state.entry.js +2 -2
  976. package/dist/esm/ix-empty-state.entry.js.map +1 -1
  977. package/dist/esm/ix-event-list-item.entry.js +9 -9
  978. package/dist/esm/ix-event-list-item.entry.js.map +1 -1
  979. package/dist/esm/ix-event-list.entry.js +5 -5
  980. package/dist/esm/ix-event-list.entry.js.map +1 -1
  981. package/dist/esm/ix-expanding-search.entry.js +5 -5
  982. package/dist/esm/ix-field-label_3.entry.js +470 -0
  983. package/dist/esm/ix-field-label_3.entry.js.map +1 -0
  984. package/dist/esm/ix-filter-chip_2.entry.js +28 -7
  985. package/dist/esm/ix-filter-chip_2.entry.js.map +1 -1
  986. package/dist/esm/ix-flip-tile-content.entry.js +2 -2
  987. package/dist/esm/ix-flip-tile.entry.js +5 -5
  988. package/dist/esm/ix-group-context-menu_2.entry.js +5 -5
  989. package/dist/esm/ix-group-context-menu_2.entry.js.map +1 -1
  990. package/dist/esm/ix-group.entry.js +58 -40
  991. package/dist/esm/ix-group.entry.js.map +1 -1
  992. package/dist/esm/ix-helper-text.entry.js +66 -0
  993. package/dist/esm/ix-helper-text.entry.js.map +1 -0
  994. package/dist/esm/ix-icon-button_2.entry.js +10 -14
  995. package/dist/esm/ix-icon-button_2.entry.js.map +1 -1
  996. package/dist/esm/ix-icon-toggle-button.entry.js +6 -7
  997. package/dist/esm/ix-icon-toggle-button.entry.js.map +1 -1
  998. package/dist/esm/ix-input-group.entry.js +3 -3
  999. package/dist/esm/ix-input.entry.js +145 -0
  1000. package/dist/esm/ix-input.entry.js.map +1 -0
  1001. package/dist/esm/ix-key-value-list.entry.js +2 -2
  1002. package/dist/esm/ix-key-value.entry.js +2 -2
  1003. package/dist/esm/ix-kpi.entry.js +4 -4
  1004. package/dist/esm/ix-kpi.entry.js.map +1 -1
  1005. package/dist/esm/ix-layout-auto.entry.js +88 -0
  1006. package/dist/esm/ix-layout-auto.entry.js.map +1 -0
  1007. package/dist/esm/ix-link-button.entry.js +4 -4
  1008. package/dist/esm/ix-map-navigation-overlay.entry.js +3 -3
  1009. package/dist/esm/ix-map-navigation.entry.js +5 -5
  1010. package/dist/esm/ix-map-navigation.entry.js.map +1 -1
  1011. package/dist/esm/ix-menu-about-item.entry.js +2 -2
  1012. package/dist/esm/ix-menu-about-news.entry.js +5 -5
  1013. package/dist/esm/ix-menu-about-news.entry.js.map +1 -1
  1014. package/dist/esm/ix-menu-about.entry.js +3 -3
  1015. package/dist/esm/ix-menu-avatar.entry.js +4 -4
  1016. package/dist/esm/ix-menu-category.entry.js +7 -7
  1017. package/dist/esm/ix-menu-category.entry.js.map +1 -1
  1018. package/dist/esm/ix-menu-expand-icon.entry.js +4 -4
  1019. package/dist/esm/ix-menu-expand-icon.entry.js.map +1 -1
  1020. package/dist/esm/ix-menu-item.entry.js +17 -16
  1021. package/dist/esm/ix-menu-item.entry.js.map +1 -1
  1022. package/dist/esm/ix-menu-settings-item.entry.js +2 -2
  1023. package/dist/esm/ix-menu-settings.entry.js +2 -2
  1024. package/dist/esm/ix-menu.entry.js +34 -34
  1025. package/dist/esm/ix-menu.entry.js.map +1 -1
  1026. package/dist/esm/ix-message-bar.entry.js +2 -2
  1027. package/dist/esm/ix-modal-content_2.entry.js +6 -6
  1028. package/dist/esm/ix-modal-content_2.entry.js.map +1 -1
  1029. package/dist/esm/ix-modal-footer.entry.js +2 -2
  1030. package/dist/esm/ix-modal-loading.entry.js +2 -2
  1031. package/dist/esm/ix-modal.entry.js +14 -7
  1032. package/dist/esm/ix-modal.entry.js.map +1 -1
  1033. package/dist/esm/ix-number-input.entry.js +148 -0
  1034. package/dist/esm/ix-number-input.entry.js.map +1 -0
  1035. package/dist/esm/ix-pagination.entry.js +6 -6
  1036. package/dist/esm/ix-pagination.entry.js.map +1 -1
  1037. package/dist/esm/ix-pane-layout.entry.js +10 -10
  1038. package/dist/esm/ix-pane-layout.entry.js.map +1 -1
  1039. package/dist/esm/ix-pane.entry.js +43 -35
  1040. package/dist/esm/ix-pane.entry.js.map +1 -1
  1041. package/dist/esm/ix-pill.entry.js +5 -5
  1042. package/dist/esm/ix-pill.entry.js.map +1 -1
  1043. package/dist/esm/ix-push-card.entry.js +2 -2
  1044. package/dist/esm/ix-push-card.entry.js.map +1 -1
  1045. package/dist/esm/ix-radio-group.entry.js +116 -0
  1046. package/dist/esm/ix-radio-group.entry.js.map +1 -0
  1047. package/dist/esm/ix-radio.entry.js +94 -0
  1048. package/dist/esm/ix-radio.entry.js.map +1 -0
  1049. package/dist/esm/ix-select.entry.js +171 -77
  1050. package/dist/esm/ix-select.entry.js.map +1 -1
  1051. package/dist/esm/ix-slider.entry.js +10 -10
  1052. package/dist/esm/ix-slider.entry.js.map +1 -1
  1053. package/dist/esm/ix-split-button-item.entry.js +3 -3
  1054. package/dist/esm/ix-split-button.entry.js +2 -2
  1055. package/dist/esm/ix-tab-item_2.entry.js +6 -6
  1056. package/dist/esm/ix-tab-item_2.entry.js.map +1 -1
  1057. package/dist/esm/ix-textarea.entry.js +116 -0
  1058. package/dist/esm/ix-textarea.entry.js.map +1 -0
  1059. package/dist/esm/ix-tile.entry.js +5 -5
  1060. package/dist/esm/ix-tile.entry.js.map +1 -1
  1061. package/dist/esm/ix-time-picker.entry.js +40 -20
  1062. package/dist/esm/ix-time-picker.entry.js.map +1 -1
  1063. package/dist/esm/ix-toast-container.entry.js +3 -3
  1064. package/dist/esm/ix-toast-container.entry.js.map +1 -1
  1065. package/dist/esm/ix-toast.entry.js +3 -3
  1066. package/dist/esm/ix-toast.entry.js.map +1 -1
  1067. package/dist/esm/ix-toggle-button.entry.js +5 -5
  1068. package/dist/esm/ix-toggle.entry.js +42 -5
  1069. package/dist/esm/ix-toggle.entry.js.map +1 -1
  1070. package/dist/esm/ix-tree-item.entry.js +9 -9
  1071. package/dist/esm/ix-tree-item.entry.js.map +1 -1
  1072. package/dist/esm/ix-tree.entry.js +22 -8
  1073. package/dist/esm/ix-tree.entry.js.map +1 -1
  1074. package/dist/esm/ix-typography.entry.js +4 -25
  1075. package/dist/esm/ix-typography.entry.js.map +1 -1
  1076. package/dist/esm/ix-upload.entry.js +60 -6
  1077. package/dist/esm/ix-upload.entry.js.map +1 -1
  1078. package/dist/esm/ix-validation-tooltip.entry.js +4 -4
  1079. package/dist/esm/ix-workflow-step.entry.js +4 -4
  1080. package/dist/esm/ix-workflow-step.entry.js.map +1 -1
  1081. package/dist/esm/ix-workflow-steps.entry.js +2 -2
  1082. package/dist/esm/ix-workflow-steps.entry.js.map +1 -1
  1083. package/dist/esm/listener-18b29507.js +75 -0
  1084. package/dist/esm/listener-18b29507.js.map +1 -0
  1085. package/dist/esm/loader.js +5 -4
  1086. package/dist/esm/loader.js.map +1 -1
  1087. package/dist/esm/logical-filter-operator-d793d1c3.js +36 -0
  1088. package/dist/esm/logical-filter-operator-d793d1c3.js.map +1 -0
  1089. package/dist/esm/make-ref-4b76e9b5.js +23 -0
  1090. package/dist/esm/make-ref-4b76e9b5.js.map +1 -0
  1091. package/dist/esm/menu-tabs-fc-563a74d9.js +103 -0
  1092. package/dist/esm/menu-tabs-fc-563a74d9.js.map +1 -0
  1093. package/dist/esm/modal-101eef04.js +246 -0
  1094. package/dist/esm/modal-101eef04.js.map +1 -0
  1095. package/dist/esm/setup-d88021f8.js +43 -0
  1096. package/dist/esm/setup-d88021f8.js.map +1 -0
  1097. package/dist/esm/shadow-dom-cc0bc152.js +45 -0
  1098. package/dist/esm/shadow-dom-cc0bc152.js.map +1 -0
  1099. package/dist/esm/siemens-ix.js +5 -4
  1100. package/dist/esm/siemens-ix.js.map +1 -1
  1101. package/dist/esm/theme-switcher-5fcf712d.js +124 -0
  1102. package/dist/esm/theme-switcher-5fcf712d.js.map +1 -0
  1103. package/dist/esm/validation-45aa490c.js +112 -0
  1104. package/dist/esm/validation-45aa490c.js.map +1 -0
  1105. package/dist/siemens-ix/index.esm.js +1 -1
  1106. package/dist/siemens-ix/index.esm.js.map +1 -1
  1107. package/dist/siemens-ix/p-044c2a7b.entry.js +2 -0
  1108. package/dist/siemens-ix/p-044c2a7b.entry.js.map +1 -0
  1109. package/dist/siemens-ix/p-05839c77.entry.js +2 -0
  1110. package/dist/siemens-ix/p-05839c77.entry.js.map +1 -0
  1111. package/dist/siemens-ix/p-08463669.entry.js +2 -0
  1112. package/dist/siemens-ix/p-08463669.entry.js.map +1 -0
  1113. package/dist/siemens-ix/p-0be907d4.entry.js +2 -0
  1114. package/dist/siemens-ix/p-0c89cbcc.entry.js +2 -0
  1115. package/dist/siemens-ix/p-0c89cbcc.entry.js.map +1 -0
  1116. package/dist/siemens-ix/p-0dbc970e.entry.js +2 -0
  1117. package/dist/siemens-ix/p-0dbc970e.entry.js.map +1 -0
  1118. package/dist/siemens-ix/p-0e983f70.js +2 -0
  1119. package/dist/siemens-ix/p-0e983f70.js.map +1 -0
  1120. package/dist/siemens-ix/p-0f0e7e14.entry.js +2 -0
  1121. package/dist/siemens-ix/p-0f0e7e14.entry.js.map +1 -0
  1122. package/dist/siemens-ix/p-0f2bf43d.entry.js +2 -0
  1123. package/dist/siemens-ix/p-0f2bf43d.entry.js.map +1 -0
  1124. package/dist/siemens-ix/p-10a522ca.js +2 -0
  1125. package/dist/siemens-ix/p-10a522ca.js.map +1 -0
  1126. package/dist/siemens-ix/p-11ce9c6a.entry.js +2 -0
  1127. package/dist/siemens-ix/p-11ce9c6a.entry.js.map +1 -0
  1128. package/dist/siemens-ix/p-175599e4.entry.js +2 -0
  1129. package/dist/siemens-ix/p-175599e4.entry.js.map +1 -0
  1130. package/dist/siemens-ix/p-178ce002.js +2 -0
  1131. package/dist/siemens-ix/p-178ce002.js.map +1 -0
  1132. package/dist/siemens-ix/p-18097528.entry.js +2 -0
  1133. package/dist/siemens-ix/p-18097528.entry.js.map +1 -0
  1134. package/dist/siemens-ix/p-1c5ebea3.entry.js +2 -0
  1135. package/dist/siemens-ix/p-1c5ebea3.entry.js.map +1 -0
  1136. package/dist/siemens-ix/p-23a4b81f.js +2 -0
  1137. package/dist/siemens-ix/p-23a4b81f.js.map +1 -0
  1138. package/dist/siemens-ix/p-24a35b20.entry.js +2 -0
  1139. package/dist/siemens-ix/p-24a35b20.entry.js.map +1 -0
  1140. package/dist/siemens-ix/p-25465f91.entry.js +2 -0
  1141. package/dist/siemens-ix/p-25465f91.entry.js.map +1 -0
  1142. package/dist/siemens-ix/p-2643f32a.entry.js +2 -0
  1143. package/dist/siemens-ix/p-286feb7e.entry.js +2 -0
  1144. package/dist/siemens-ix/p-2a34a0c2.entry.js +2 -0
  1145. package/dist/siemens-ix/p-2b226409.entry.js +2 -0
  1146. package/dist/siemens-ix/p-2b226409.entry.js.map +1 -0
  1147. package/dist/siemens-ix/p-2b367b12.entry.js +2 -0
  1148. package/dist/siemens-ix/p-2b9c5f59.entry.js +2 -0
  1149. package/dist/siemens-ix/p-2d3a6d29.entry.js +2 -0
  1150. package/dist/siemens-ix/p-2d3a6d29.entry.js.map +1 -0
  1151. package/dist/siemens-ix/p-2d7ea063.entry.js +2 -0
  1152. package/dist/siemens-ix/p-2d7ea063.entry.js.map +1 -0
  1153. package/dist/siemens-ix/p-2db63240.entry.js +2 -0
  1154. package/dist/siemens-ix/p-2db63240.entry.js.map +1 -0
  1155. package/dist/siemens-ix/p-3205726a.entry.js +2 -0
  1156. package/dist/siemens-ix/p-345e1c73.js +2 -0
  1157. package/dist/siemens-ix/p-345e1c73.js.map +1 -0
  1158. package/dist/siemens-ix/p-35e14912.js +2 -0
  1159. package/dist/siemens-ix/p-35e14912.js.map +1 -0
  1160. package/dist/siemens-ix/p-37af7117.entry.js +2 -0
  1161. package/dist/siemens-ix/p-37af7117.entry.js.map +1 -0
  1162. package/dist/siemens-ix/p-392b4297.entry.js +2 -0
  1163. package/dist/siemens-ix/p-392b4297.entry.js.map +1 -0
  1164. package/dist/siemens-ix/p-3c668c0e.js +2 -0
  1165. package/dist/siemens-ix/p-3c668c0e.js.map +1 -0
  1166. package/dist/siemens-ix/p-3f367d44.entry.js +2 -0
  1167. package/dist/siemens-ix/p-3f367d44.entry.js.map +1 -0
  1168. package/dist/siemens-ix/p-40dc610f.entry.js +2 -0
  1169. package/dist/siemens-ix/p-40dc610f.entry.js.map +1 -0
  1170. package/dist/siemens-ix/p-424e8092.entry.js +2 -0
  1171. package/dist/siemens-ix/p-424e8092.entry.js.map +1 -0
  1172. package/dist/siemens-ix/p-429e3749.entry.js +2 -0
  1173. package/dist/siemens-ix/p-429e3749.entry.js.map +1 -0
  1174. package/dist/siemens-ix/p-4624a772.entry.js +2 -0
  1175. package/dist/siemens-ix/p-4624a772.entry.js.map +1 -0
  1176. package/dist/siemens-ix/p-475ac85f.entry.js +2 -0
  1177. package/dist/siemens-ix/p-475ac85f.entry.js.map +1 -0
  1178. package/dist/siemens-ix/p-484aa96b.js +2 -0
  1179. package/dist/siemens-ix/p-484aa96b.js.map +1 -0
  1180. package/dist/siemens-ix/p-48718dc1.entry.js +2 -0
  1181. package/dist/siemens-ix/p-48718dc1.entry.js.map +1 -0
  1182. package/dist/siemens-ix/p-4a631d9c.entry.js +2 -0
  1183. package/dist/siemens-ix/p-4a631d9c.entry.js.map +1 -0
  1184. package/dist/siemens-ix/p-4a9330a5.entry.js +2 -0
  1185. package/dist/siemens-ix/p-4a9330a5.entry.js.map +1 -0
  1186. package/dist/siemens-ix/p-4ac31849.js +2 -0
  1187. package/dist/siemens-ix/p-4ac31849.js.map +1 -0
  1188. package/dist/siemens-ix/p-4c9b7548.entry.js +2 -0
  1189. package/dist/siemens-ix/p-4c9b7548.entry.js.map +1 -0
  1190. package/dist/siemens-ix/p-4cc79e8f.entry.js +2 -0
  1191. package/dist/siemens-ix/p-4e51d716.entry.js +2 -0
  1192. package/dist/siemens-ix/p-4ec6ddfb.entry.js +2 -0
  1193. package/dist/siemens-ix/p-4ec6ddfb.entry.js.map +1 -0
  1194. package/dist/siemens-ix/p-50096707.js +2 -0
  1195. package/dist/siemens-ix/p-50096707.js.map +1 -0
  1196. package/dist/siemens-ix/p-52928e21.entry.js +2 -0
  1197. package/dist/siemens-ix/p-52928e21.entry.js.map +1 -0
  1198. package/dist/siemens-ix/p-54efe56b.entry.js +2 -0
  1199. package/dist/siemens-ix/p-54efe56b.entry.js.map +1 -0
  1200. package/dist/siemens-ix/p-5682e985.js +2 -0
  1201. package/dist/siemens-ix/p-57e60a06.entry.js +2 -0
  1202. package/dist/siemens-ix/p-5806df2b.js +3 -0
  1203. package/dist/siemens-ix/p-5806df2b.js.map +1 -0
  1204. package/dist/siemens-ix/p-5c1b136c.entry.js +2 -0
  1205. package/dist/siemens-ix/p-5c1b136c.entry.js.map +1 -0
  1206. package/dist/siemens-ix/p-5db5a0b5.entry.js +2 -0
  1207. package/dist/siemens-ix/p-5db5a0b5.entry.js.map +1 -0
  1208. package/dist/siemens-ix/p-5fe87e71.js +2 -0
  1209. package/dist/siemens-ix/p-5fe87e71.js.map +1 -0
  1210. package/dist/siemens-ix/p-63dd987f.entry.js +2 -0
  1211. package/dist/siemens-ix/p-654f91f2.entry.js +2 -0
  1212. package/dist/siemens-ix/p-654f91f2.entry.js.map +1 -0
  1213. package/dist/siemens-ix/p-66178fe6.entry.js +2 -0
  1214. package/dist/siemens-ix/p-66178fe6.entry.js.map +1 -0
  1215. package/dist/siemens-ix/p-6624076c.entry.js +2 -0
  1216. package/dist/siemens-ix/p-6624076c.entry.js.map +1 -0
  1217. package/dist/siemens-ix/p-66559451.entry.js +2 -0
  1218. package/dist/siemens-ix/p-6722bcff.entry.js +2 -0
  1219. package/dist/siemens-ix/p-6722bcff.entry.js.map +1 -0
  1220. package/dist/siemens-ix/p-68bb2a09.entry.js +2 -0
  1221. package/dist/siemens-ix/p-68bb2a09.entry.js.map +1 -0
  1222. package/dist/siemens-ix/p-6a4a2064.entry.js +2 -0
  1223. package/dist/siemens-ix/p-6a4a2064.entry.js.map +1 -0
  1224. package/dist/siemens-ix/p-6bae4e9b.entry.js +2 -0
  1225. package/dist/siemens-ix/p-6bf208b8.js +2 -0
  1226. package/dist/siemens-ix/p-6e3f1de3.entry.js +2 -0
  1227. package/dist/siemens-ix/p-6e3f1de3.entry.js.map +1 -0
  1228. package/dist/siemens-ix/p-76b57ff0.entry.js +2 -0
  1229. package/dist/siemens-ix/p-76b57ff0.entry.js.map +1 -0
  1230. package/dist/siemens-ix/p-792e1c52.entry.js +2 -0
  1231. package/dist/siemens-ix/p-792e1c52.entry.js.map +1 -0
  1232. package/dist/siemens-ix/p-79bb0d39.js +2 -0
  1233. package/dist/siemens-ix/p-79bb0d39.js.map +1 -0
  1234. package/dist/siemens-ix/p-7aa07d9b.entry.js +2 -0
  1235. package/dist/siemens-ix/p-7aa07d9b.entry.js.map +1 -0
  1236. package/dist/siemens-ix/p-7aa26727.js +2 -0
  1237. package/dist/siemens-ix/p-7aa26727.js.map +1 -0
  1238. package/dist/siemens-ix/p-7af324e9.entry.js +2 -0
  1239. package/dist/siemens-ix/p-7af324e9.entry.js.map +1 -0
  1240. package/dist/siemens-ix/p-815699d1.entry.js +2 -0
  1241. package/dist/siemens-ix/p-815699d1.entry.js.map +1 -0
  1242. package/dist/siemens-ix/p-83da8f11.entry.js +2 -0
  1243. package/dist/siemens-ix/p-83da8f11.entry.js.map +1 -0
  1244. package/dist/siemens-ix/p-8457d846.entry.js +2 -0
  1245. package/dist/siemens-ix/p-8457d846.entry.js.map +1 -0
  1246. package/dist/siemens-ix/p-8564bc5f.entry.js +2 -0
  1247. package/dist/siemens-ix/p-8564bc5f.entry.js.map +1 -0
  1248. package/dist/siemens-ix/p-857f99c8.entry.js +2 -0
  1249. package/dist/siemens-ix/p-857f99c8.entry.js.map +1 -0
  1250. package/dist/siemens-ix/p-8c2b62c3.entry.js +2 -0
  1251. package/dist/siemens-ix/p-8da941cd.entry.js +2 -0
  1252. package/dist/siemens-ix/p-8da941cd.entry.js.map +1 -0
  1253. package/dist/siemens-ix/p-8f616a5c.entry.js +2 -0
  1254. package/dist/siemens-ix/p-91046d49.entry.js +2 -0
  1255. package/dist/siemens-ix/p-91046d49.entry.js.map +1 -0
  1256. package/dist/siemens-ix/p-9948574f.entry.js +2 -0
  1257. package/dist/siemens-ix/p-9d323232.entry.js +2 -0
  1258. package/dist/siemens-ix/p-9d323232.entry.js.map +1 -0
  1259. package/dist/siemens-ix/p-9d5d4948.js +2 -0
  1260. package/dist/siemens-ix/p-9d5d4948.js.map +1 -0
  1261. package/dist/siemens-ix/p-9fe2759f.entry.js +2 -0
  1262. package/dist/siemens-ix/p-9fe2759f.entry.js.map +1 -0
  1263. package/dist/siemens-ix/p-a3364116.entry.js +2 -0
  1264. package/dist/siemens-ix/p-a3364116.entry.js.map +1 -0
  1265. package/dist/siemens-ix/p-a36ad7c7.entry.js +2 -0
  1266. package/dist/siemens-ix/p-a36ad7c7.entry.js.map +1 -0
  1267. package/dist/siemens-ix/p-a427e6a2.js +2 -0
  1268. package/dist/siemens-ix/p-a427e6a2.js.map +1 -0
  1269. package/dist/siemens-ix/p-a61ed462.entry.js +2 -0
  1270. package/dist/siemens-ix/p-b2a06e46.entry.js +2 -0
  1271. package/dist/siemens-ix/p-b5c887e5.entry.js +2 -0
  1272. package/dist/siemens-ix/p-b5c887e5.entry.js.map +1 -0
  1273. package/dist/siemens-ix/p-b62f8f62.entry.js +2 -0
  1274. package/dist/siemens-ix/p-b62f8f62.entry.js.map +1 -0
  1275. package/dist/siemens-ix/p-b74a8cdc.entry.js +2 -0
  1276. package/dist/siemens-ix/p-b74a8cdc.entry.js.map +1 -0
  1277. package/dist/siemens-ix/p-ba6e955a.js +2 -0
  1278. package/dist/siemens-ix/p-ba6e955a.js.map +1 -0
  1279. package/dist/siemens-ix/p-bd4c1a44.entry.js +2 -0
  1280. package/dist/siemens-ix/p-bd4c1a44.entry.js.map +1 -0
  1281. package/dist/siemens-ix/p-bded112a.entry.js +2 -0
  1282. package/dist/siemens-ix/p-bded112a.entry.js.map +1 -0
  1283. package/dist/siemens-ix/p-be860121.entry.js +2 -0
  1284. package/dist/siemens-ix/p-be860121.entry.js.map +1 -0
  1285. package/dist/siemens-ix/p-c236cf18.entry.js +2 -0
  1286. package/dist/siemens-ix/p-c6796e64.entry.js +2 -0
  1287. package/dist/siemens-ix/p-caf49e00.entry.js +2 -0
  1288. package/dist/siemens-ix/p-caf49e00.entry.js.map +1 -0
  1289. package/dist/siemens-ix/p-cbfca958.entry.js +2 -0
  1290. package/dist/siemens-ix/p-ce563a48.js +2 -0
  1291. package/dist/siemens-ix/p-ce563a48.js.map +1 -0
  1292. package/dist/siemens-ix/p-d01f05cf.entry.js +2 -0
  1293. package/dist/siemens-ix/p-d01f05cf.entry.js.map +1 -0
  1294. package/dist/siemens-ix/p-d0b38ae2.entry.js +2 -0
  1295. package/dist/siemens-ix/p-d0b38ae2.entry.js.map +1 -0
  1296. package/dist/siemens-ix/p-d19b52bd.entry.js +2 -0
  1297. package/dist/siemens-ix/p-d19b52bd.entry.js.map +1 -0
  1298. package/dist/siemens-ix/p-d7aa00d6.js +2 -0
  1299. package/dist/siemens-ix/p-d7aa00d6.js.map +1 -0
  1300. package/dist/siemens-ix/p-d929f23d.entry.js +2 -0
  1301. package/dist/siemens-ix/p-d95a6f49.entry.js +2 -0
  1302. package/dist/siemens-ix/p-d95a6f49.entry.js.map +1 -0
  1303. package/dist/siemens-ix/p-dc2d5730.entry.js +2 -0
  1304. package/dist/siemens-ix/p-dc2d5730.entry.js.map +1 -0
  1305. package/dist/siemens-ix/p-df7060ae.entry.js +2 -0
  1306. package/dist/siemens-ix/p-df7060ae.entry.js.map +1 -0
  1307. package/dist/siemens-ix/p-dfb181c1.entry.js +2 -0
  1308. package/dist/siemens-ix/p-dfb181c1.entry.js.map +1 -0
  1309. package/dist/siemens-ix/p-e7ac5657.entry.js +2 -0
  1310. package/dist/siemens-ix/p-e9a37b3f.entry.js +2 -0
  1311. package/dist/siemens-ix/p-edc1d44a.entry.js +2 -0
  1312. package/dist/siemens-ix/p-ede52531.entry.js +2 -0
  1313. package/dist/siemens-ix/p-ede52531.entry.js.map +1 -0
  1314. package/dist/siemens-ix/p-f35386ec.js +2 -0
  1315. package/dist/siemens-ix/p-f35386ec.js.map +1 -0
  1316. package/dist/siemens-ix/p-f39048a2.entry.js +2 -0
  1317. package/dist/siemens-ix/p-f39048a2.entry.js.map +1 -0
  1318. package/dist/siemens-ix/p-f7618d1d.entry.js +2 -0
  1319. package/dist/siemens-ix/p-f7618d1d.entry.js.map +1 -0
  1320. package/dist/siemens-ix/p-f97a15c4.js +2 -0
  1321. package/dist/siemens-ix/p-f97a15c4.js.map +1 -0
  1322. package/dist/siemens-ix/p-fad9f568.js +2 -0
  1323. package/dist/siemens-ix/p-fad9f568.js.map +1 -0
  1324. package/dist/siemens-ix/p-ffca56d6.entry.js +2 -0
  1325. package/dist/siemens-ix/siemens-ix-core.css +1 -1
  1326. package/dist/siemens-ix/siemens-ix.css +177 -28
  1327. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  1328. package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
  1329. package/dist/siemens-ix/theme/classic-dark.css +1 -1
  1330. package/dist/siemens-ix/theme/classic-light.css +1 -1
  1331. package/dist/siemens-ix/theme/legacy-classic-dark.css +1 -1
  1332. package/dist/siemens-ix/theme/legacy-classic-light.css +1 -1
  1333. package/dist/types/components/action-card/action-card.d.ts +3 -2
  1334. package/dist/types/components/application-header/application-header.d.ts +18 -0
  1335. package/dist/types/components/avatar/avatar.d.ts +6 -6
  1336. package/dist/types/components/basic-navigation/basic-navigation.d.ts +2 -1
  1337. package/dist/types/components/blind/blind.d.ts +4 -4
  1338. package/dist/types/components/breadcrumb/breadcrumb.d.ts +3 -3
  1339. package/dist/types/components/button/base-button.d.ts +3 -2
  1340. package/dist/types/components/button/button.d.ts +3 -2
  1341. package/dist/types/components/card/card.d.ts +2 -1
  1342. package/dist/types/components/card-list/card-list.d.ts +3 -3
  1343. package/dist/types/components/category-filter/category-filter.d.ts +31 -12
  1344. package/dist/types/components/category-filter/test/category-filter.ct.d.ts +1 -0
  1345. package/dist/types/components/checkbox/checkbox.d.ts +61 -0
  1346. package/dist/types/components/checkbox/tests/checkbox.ct.d.ts +1 -0
  1347. package/dist/types/components/checkbox-group/checkbox-group.d.ts +47 -0
  1348. package/dist/types/components/content-header/content-header.d.ts +1 -1
  1349. package/dist/types/components/css-grid/css-grid.d.ts +2 -2
  1350. package/dist/types/components/custom-field/custom-field.d.ts +46 -0
  1351. package/dist/types/components/custom-field/tests/custom-field.ct.d.ts +1 -0
  1352. package/dist/types/components/date-dropdown/date-dropdown.d.ts +18 -4
  1353. package/dist/types/components/date-input/date-input.d.ts +138 -0
  1354. package/dist/types/components/date-input/tests/date-input.ct.d.ts +1 -0
  1355. package/dist/types/components/date-picker/date-picker-component.d.ts +43 -0
  1356. package/dist/types/components/date-picker/date-picker.d.ts +9 -11
  1357. package/dist/types/components/date-time-card/date-time-card.d.ts +1 -1
  1358. package/dist/types/components/datetime-picker/datetime-picker.d.ts +13 -12
  1359. package/dist/types/components/dropdown/dropdown-controller.d.ts +3 -7
  1360. package/dist/types/components/dropdown/dropdown.d.ts +13 -12
  1361. package/dist/types/components/dropdown-button/dropdown-button.d.ts +4 -4
  1362. package/dist/types/components/dropdown-item/dropdown-item.d.ts +2 -2
  1363. package/dist/types/components/event-list-item/event-list-item.d.ts +2 -2
  1364. package/dist/types/components/field-label/field-label.d.ts +33 -0
  1365. package/dist/types/components/field-label/tests/field-label.ct.d.ts +1 -0
  1366. package/dist/types/components/field-wrapper/field-wrapper.d.ts +64 -0
  1367. package/dist/types/components/field-wrapper/helper-text-util.d.ts +18 -0
  1368. package/dist/types/components/field-wrapper/tests/field-wrapper.ct.d.ts +1 -0
  1369. package/dist/types/components/group/group.d.ts +4 -2
  1370. package/dist/types/components/helper-text/helper-text.d.ts +37 -0
  1371. package/dist/types/components/input/input.animation.d.ts +1 -0
  1372. package/dist/types/components/input/input.d.ts +123 -0
  1373. package/dist/types/components/input/input.fc.d.ts +52 -0
  1374. package/dist/types/components/input/input.util.d.ts +13 -0
  1375. package/dist/types/components/input/number-input.d.ts +121 -0
  1376. package/dist/types/components/input/tests/form-ready.ct.d.ts +1 -0
  1377. package/dist/types/components/input/textarea.d.ts +126 -0
  1378. package/dist/types/components/layout-auto/layout-auto.d.ts +24 -0
  1379. package/dist/types/components/menu/menu.d.ts +3 -7
  1380. package/dist/types/components/menu-about/test/menu-about.ct.d.ts +1 -0
  1381. package/dist/types/components/menu-item/menu-item.d.ts +9 -8
  1382. package/dist/types/components/modal/test/modal.ct.d.ts +3 -2
  1383. package/dist/types/components/modal-header/modal-header.d.ts +3 -3
  1384. package/dist/types/components/pane/pane.d.ts +9 -9
  1385. package/dist/types/components/pane-layout/pane-layout.d.ts +1 -1
  1386. package/dist/types/components/push-card/push-card.d.ts +4 -3
  1387. package/dist/types/components/radio/radio.d.ts +53 -0
  1388. package/dist/types/components/radio/test/radio.ct.d.ts +1 -0
  1389. package/dist/types/components/radio-group/radio-group.d.ts +64 -0
  1390. package/dist/types/components/radio-group/test/radio-group.ct.d.ts +1 -0
  1391. package/dist/types/components/select/select.d.ts +97 -14
  1392. package/dist/types/components/select-item/events.d.ts +9 -0
  1393. package/dist/types/components/select-item/select-item.d.ts +3 -1
  1394. package/dist/types/components/time-picker/time-picker.d.ts +3 -3
  1395. package/dist/types/components/toggle/toggle.d.ts +29 -1
  1396. package/dist/types/components/tooltip/tooltip.d.ts +4 -4
  1397. package/dist/types/components/tree/tree.d.ts +1 -1
  1398. package/dist/types/components/tree-item/tree-item.d.ts +3 -3
  1399. package/dist/types/components/typography/type-mapping.d.ts +3 -0
  1400. package/dist/types/components/typography/typography.d.ts +3 -10
  1401. package/dist/types/components/upload/test/upload.ct.d.ts +1 -0
  1402. package/dist/types/components/upload/upload.d.ts +4 -2
  1403. package/dist/types/components/utils/a11y.d.ts +5 -5
  1404. package/dist/types/components/utils/application-layout/context.d.ts +2 -1
  1405. package/dist/types/components/utils/attributes.d.ts +2 -0
  1406. package/dist/types/components/utils/disposable-event-listener.d.ts +7 -0
  1407. package/dist/types/components/utils/element-reference.d.ts +1 -0
  1408. package/dist/types/components/utils/find-element.d.ts +22 -0
  1409. package/dist/types/components/utils/focus.d.ts +5 -4
  1410. package/dist/types/components/utils/input/index.d.ts +61 -0
  1411. package/dist/types/components/utils/input/validation.d.ts +15 -0
  1412. package/dist/types/components/utils/listener.d.ts +4 -2
  1413. package/dist/types/components/utils/make-ref.d.ts +2 -2
  1414. package/dist/types/components/utils/modal/index.d.ts +1 -1
  1415. package/dist/types/components/utils/modal/message.d.ts +10 -7
  1416. package/dist/types/components/utils/theme-switcher.d.ts +3 -2
  1417. package/dist/types/components/utils/type-helper.d.ts +1 -0
  1418. package/dist/types/components/utils/uuid.d.ts +1 -0
  1419. package/dist/types/components.d.ts +2020 -230
  1420. package/dist/types/index.d.ts +4 -0
  1421. package/dist/types/setup.d.ts +7 -1
  1422. package/dist/types/tests/utils/test/index.d.ts +3 -0
  1423. package/dist/types/tests/utils/test/page.d.ts +1 -3
  1424. package/hydrate/index.js +4231 -1235
  1425. package/package.json +15 -14
  1426. package/scss/_core.scss +5 -0
  1427. package/scss/components/_checkboxes.scss +4 -11
  1428. package/scss/components/form/_input.scss +84 -9
  1429. package/scss/mixins/_field.scss +18 -0
  1430. package/scss/mixins/validation/_form-component.scss +64 -0
  1431. package/components/ix-form-field.d.ts +0 -11
  1432. package/components/ix-form-field.js +0 -44
  1433. package/components/ix-form-field.js.map +0 -1
  1434. package/components/ix-modal-example.d.ts +0 -11
  1435. package/components/ix-modal-example.js +0 -58
  1436. package/components/ix-modal-example.js.map +0 -1
  1437. package/components/ix-playground-internal.d.ts +0 -11
  1438. package/components/ix-playground-internal.js +0 -35
  1439. package/components/ix-playground-internal.js.map +0 -1
  1440. package/dist/cjs/a11y-d3ce56d1.js +0 -146
  1441. package/dist/cjs/a11y-d3ce56d1.js.map +0 -1
  1442. package/dist/cjs/app-globals-5cfdf2a0.js +0 -31
  1443. package/dist/cjs/app-globals-5cfdf2a0.js.map +0 -1
  1444. package/dist/cjs/base-button-3735b8c2.js +0 -73
  1445. package/dist/cjs/base-button-3735b8c2.js.map +0 -1
  1446. package/dist/cjs/base-icon-button-44c72bc8.js +0 -20
  1447. package/dist/cjs/base-icon-button-44c72bc8.js.map +0 -1
  1448. package/dist/cjs/context-98f4a0b3.js +0 -106
  1449. package/dist/cjs/context-98f4a0b3.js.map +0 -1
  1450. package/dist/cjs/floating-ui.dom.esm-94b4d17c.js +0 -1536
  1451. package/dist/cjs/floating-ui.dom.esm-94b4d17c.js.map +0 -1
  1452. package/dist/cjs/focus-9c8ffbb0.js +0 -65
  1453. package/dist/cjs/focus-9c8ffbb0.js.map +0 -1
  1454. package/dist/cjs/index-529f21c1.js +0 -2122
  1455. package/dist/cjs/index-529f21c1.js.map +0 -1
  1456. package/dist/cjs/index-c4629a8d.js +0 -30
  1457. package/dist/cjs/index-c4629a8d.js.map +0 -1
  1458. package/dist/cjs/ix-form-field.cjs.entry.js +0 -28
  1459. package/dist/cjs/ix-form-field.cjs.entry.js.map +0 -1
  1460. package/dist/cjs/ix-modal-example.cjs.entry.js +0 -28
  1461. package/dist/cjs/ix-modal-example.cjs.entry.js.map +0 -1
  1462. package/dist/cjs/ix-playground-internal.cjs.entry.js +0 -22
  1463. package/dist/cjs/ix-playground-internal.cjs.entry.js.map +0 -1
  1464. package/dist/cjs/ix-tooltip.cjs.entry.js +0 -297
  1465. package/dist/cjs/ix-tooltip.cjs.entry.js.map +0 -1
  1466. package/dist/cjs/listener-bc3e7c0c.js +0 -77
  1467. package/dist/cjs/listener-bc3e7c0c.js.map +0 -1
  1468. package/dist/cjs/logical-filter-operator-5564322e.js +0 -38
  1469. package/dist/cjs/logical-filter-operator-5564322e.js.map +0 -1
  1470. package/dist/cjs/make-ref-c25629b7.js +0 -30
  1471. package/dist/cjs/make-ref-c25629b7.js.map +0 -1
  1472. package/dist/cjs/menu-tabs-fc-df53f176.js +0 -105
  1473. package/dist/cjs/menu-tabs-fc-df53f176.js.map +0 -1
  1474. package/dist/cjs/modal-828cb80a.js +0 -252
  1475. package/dist/cjs/modal-828cb80a.js.map +0 -1
  1476. package/dist/cjs/shadow-dom-73f9d553.js +0 -50
  1477. package/dist/cjs/shadow-dom-73f9d553.js.map +0 -1
  1478. package/dist/cjs/theme-switcher-2d2bde85.js +0 -126
  1479. package/dist/cjs/theme-switcher-2d2bde85.js.map +0 -1
  1480. package/dist/collection/components/event-list/test/event-list.spec.js +0 -65
  1481. package/dist/collection/components/event-list/test/event-list.spec.js.map +0 -1
  1482. package/dist/collection/components/form-field/form-field.css +0 -296
  1483. package/dist/collection/components/form-field/form-field.js +0 -56
  1484. package/dist/collection/components/form-field/form-field.js.map +0 -1
  1485. package/dist/collection/components/grid/layout-grid.css +0 -21
  1486. package/dist/collection/components/grid/layout-grid.js +0 -98
  1487. package/dist/collection/components/grid/layout-grid.js.map +0 -1
  1488. package/dist/collection/components/playground/example-modal.js +0 -24
  1489. package/dist/collection/components/playground/example-modal.js.map +0 -1
  1490. package/dist/collection/components/playground/playground.css +0 -27
  1491. package/dist/collection/components/playground/playground.js +0 -28
  1492. package/dist/collection/components/playground/playground.js.map +0 -1
  1493. package/dist/esm/a11y-d5444a76.js +0 -142
  1494. package/dist/esm/a11y-d5444a76.js.map +0 -1
  1495. package/dist/esm/app-globals-0cd07cd9.js +0 -29
  1496. package/dist/esm/app-globals-0cd07cd9.js.map +0 -1
  1497. package/dist/esm/base-button-1b40b11d.js +0 -70
  1498. package/dist/esm/base-button-1b40b11d.js.map +0 -1
  1499. package/dist/esm/base-icon-button-bc1dabe0.js +0 -18
  1500. package/dist/esm/base-icon-button-bc1dabe0.js.map +0 -1
  1501. package/dist/esm/context-c9078420.js +0 -101
  1502. package/dist/esm/context-c9078420.js.map +0 -1
  1503. package/dist/esm/floating-ui.dom.esm-6e7c098f.js +0 -1528
  1504. package/dist/esm/floating-ui.dom.esm-6e7c098f.js.map +0 -1
  1505. package/dist/esm/focus-d4d3abaf.js +0 -63
  1506. package/dist/esm/focus-d4d3abaf.js.map +0 -1
  1507. package/dist/esm/index-5429f20b.js +0 -2090
  1508. package/dist/esm/index-5429f20b.js.map +0 -1
  1509. package/dist/esm/index-76b9c8de.js +0 -28
  1510. package/dist/esm/index-76b9c8de.js.map +0 -1
  1511. package/dist/esm/ix-form-field.entry.js +0 -24
  1512. package/dist/esm/ix-form-field.entry.js.map +0 -1
  1513. package/dist/esm/ix-modal-example.entry.js +0 -24
  1514. package/dist/esm/ix-modal-example.entry.js.map +0 -1
  1515. package/dist/esm/ix-playground-internal.entry.js +0 -18
  1516. package/dist/esm/ix-playground-internal.entry.js.map +0 -1
  1517. package/dist/esm/ix-tooltip.entry.js +0 -293
  1518. package/dist/esm/ix-tooltip.entry.js.map +0 -1
  1519. package/dist/esm/listener-4f3baab5.js +0 -75
  1520. package/dist/esm/listener-4f3baab5.js.map +0 -1
  1521. package/dist/esm/logical-filter-operator-f6701df5.js +0 -36
  1522. package/dist/esm/logical-filter-operator-f6701df5.js.map +0 -1
  1523. package/dist/esm/make-ref-c80046bf.js +0 -28
  1524. package/dist/esm/make-ref-c80046bf.js.map +0 -1
  1525. package/dist/esm/menu-tabs-fc-d9a7dd06.js +0 -100
  1526. package/dist/esm/menu-tabs-fc-d9a7dd06.js.map +0 -1
  1527. package/dist/esm/modal-54740f80.js +0 -244
  1528. package/dist/esm/modal-54740f80.js.map +0 -1
  1529. package/dist/esm/shadow-dom-60e9243d.js +0 -45
  1530. package/dist/esm/shadow-dom-60e9243d.js.map +0 -1
  1531. package/dist/esm/theme-switcher-b10fb4da.js +0 -123
  1532. package/dist/esm/theme-switcher-b10fb4da.js.map +0 -1
  1533. package/dist/siemens-ix/p-052340f9.entry.js +0 -2
  1534. package/dist/siemens-ix/p-0653a145.entry.js +0 -2
  1535. package/dist/siemens-ix/p-0653a145.entry.js.map +0 -1
  1536. package/dist/siemens-ix/p-0b4e3779.entry.js +0 -2
  1537. package/dist/siemens-ix/p-0b4e3779.entry.js.map +0 -1
  1538. package/dist/siemens-ix/p-0b4e398e.entry.js +0 -2
  1539. package/dist/siemens-ix/p-0b4e398e.entry.js.map +0 -1
  1540. package/dist/siemens-ix/p-0c8a98cd.js +0 -2
  1541. package/dist/siemens-ix/p-0c8a98cd.js.map +0 -1
  1542. package/dist/siemens-ix/p-0ca3528f.js +0 -2
  1543. package/dist/siemens-ix/p-0d2a6886.entry.js +0 -2
  1544. package/dist/siemens-ix/p-0f7ef743.entry.js +0 -2
  1545. package/dist/siemens-ix/p-0f7ef743.entry.js.map +0 -1
  1546. package/dist/siemens-ix/p-113cc793.entry.js +0 -2
  1547. package/dist/siemens-ix/p-14a41c8c.entry.js +0 -2
  1548. package/dist/siemens-ix/p-15b3c17e.entry.js +0 -2
  1549. package/dist/siemens-ix/p-15b3c17e.entry.js.map +0 -1
  1550. package/dist/siemens-ix/p-16b923e9.entry.js +0 -2
  1551. package/dist/siemens-ix/p-1a122c76.entry.js +0 -2
  1552. package/dist/siemens-ix/p-1cff59db.entry.js +0 -2
  1553. package/dist/siemens-ix/p-1cff59db.entry.js.map +0 -1
  1554. package/dist/siemens-ix/p-1d581190.js +0 -2
  1555. package/dist/siemens-ix/p-1d581190.js.map +0 -1
  1556. package/dist/siemens-ix/p-1da901d5.js +0 -2
  1557. package/dist/siemens-ix/p-1da901d5.js.map +0 -1
  1558. package/dist/siemens-ix/p-1db6be55.js +0 -2
  1559. package/dist/siemens-ix/p-1db6be55.js.map +0 -1
  1560. package/dist/siemens-ix/p-1f4b8463.entry.js +0 -2
  1561. package/dist/siemens-ix/p-235c14ca.js +0 -2
  1562. package/dist/siemens-ix/p-235c14ca.js.map +0 -1
  1563. package/dist/siemens-ix/p-24a8737a.entry.js +0 -2
  1564. package/dist/siemens-ix/p-25ee1b62.js +0 -2
  1565. package/dist/siemens-ix/p-25ee1b62.js.map +0 -1
  1566. package/dist/siemens-ix/p-2908cacd.entry.js +0 -2
  1567. package/dist/siemens-ix/p-2908cacd.entry.js.map +0 -1
  1568. package/dist/siemens-ix/p-2946fd70.entry.js +0 -2
  1569. package/dist/siemens-ix/p-2c4c03d4.entry.js +0 -2
  1570. package/dist/siemens-ix/p-2c4c03d4.entry.js.map +0 -1
  1571. package/dist/siemens-ix/p-2ebfd4fd.entry.js +0 -2
  1572. package/dist/siemens-ix/p-2ebfd4fd.entry.js.map +0 -1
  1573. package/dist/siemens-ix/p-2ec7f841.entry.js +0 -2
  1574. package/dist/siemens-ix/p-2ec7f841.entry.js.map +0 -1
  1575. package/dist/siemens-ix/p-309ac3ad.entry.js +0 -2
  1576. package/dist/siemens-ix/p-309ac3ad.entry.js.map +0 -1
  1577. package/dist/siemens-ix/p-32375ddb.entry.js +0 -2
  1578. package/dist/siemens-ix/p-32d4ed3b.entry.js +0 -2
  1579. package/dist/siemens-ix/p-427676f4.entry.js +0 -2
  1580. package/dist/siemens-ix/p-427676f4.entry.js.map +0 -1
  1581. package/dist/siemens-ix/p-4430117a.entry.js +0 -2
  1582. package/dist/siemens-ix/p-44db3646.entry.js +0 -2
  1583. package/dist/siemens-ix/p-453fa360.entry.js +0 -2
  1584. package/dist/siemens-ix/p-453fa360.entry.js.map +0 -1
  1585. package/dist/siemens-ix/p-4b3facea.entry.js +0 -2
  1586. package/dist/siemens-ix/p-4b3facea.entry.js.map +0 -1
  1587. package/dist/siemens-ix/p-4df0cdd7.entry.js +0 -2
  1588. package/dist/siemens-ix/p-4df0cdd7.entry.js.map +0 -1
  1589. package/dist/siemens-ix/p-4f8ac3bf.js +0 -2
  1590. package/dist/siemens-ix/p-4f8ac3bf.js.map +0 -1
  1591. package/dist/siemens-ix/p-52857629.entry.js +0 -2
  1592. package/dist/siemens-ix/p-52857629.entry.js.map +0 -1
  1593. package/dist/siemens-ix/p-53352bfb.entry.js +0 -2
  1594. package/dist/siemens-ix/p-53352bfb.entry.js.map +0 -1
  1595. package/dist/siemens-ix/p-5696bb62.entry.js +0 -2
  1596. package/dist/siemens-ix/p-5696bb62.entry.js.map +0 -1
  1597. package/dist/siemens-ix/p-5aa0b93c.entry.js +0 -2
  1598. package/dist/siemens-ix/p-5aa0b93c.entry.js.map +0 -1
  1599. package/dist/siemens-ix/p-5b135f6b.entry.js +0 -2
  1600. package/dist/siemens-ix/p-5b135f6b.entry.js.map +0 -1
  1601. package/dist/siemens-ix/p-5c673ae9.entry.js +0 -2
  1602. package/dist/siemens-ix/p-5c673ae9.entry.js.map +0 -1
  1603. package/dist/siemens-ix/p-5f25e7fd.entry.js +0 -2
  1604. package/dist/siemens-ix/p-5f25e7fd.entry.js.map +0 -1
  1605. package/dist/siemens-ix/p-6227e62b.entry.js +0 -2
  1606. package/dist/siemens-ix/p-6227e62b.entry.js.map +0 -1
  1607. package/dist/siemens-ix/p-64c3fa3d.js +0 -2
  1608. package/dist/siemens-ix/p-64c3fa3d.js.map +0 -1
  1609. package/dist/siemens-ix/p-68532fa2.js +0 -2
  1610. package/dist/siemens-ix/p-68644ee1.entry.js +0 -2
  1611. package/dist/siemens-ix/p-68644ee1.entry.js.map +0 -1
  1612. package/dist/siemens-ix/p-6af4415c.entry.js +0 -2
  1613. package/dist/siemens-ix/p-6af4415c.entry.js.map +0 -1
  1614. package/dist/siemens-ix/p-6e6efb4c.js +0 -2
  1615. package/dist/siemens-ix/p-6e6efb4c.js.map +0 -1
  1616. package/dist/siemens-ix/p-6fd7ecd0.entry.js +0 -2
  1617. package/dist/siemens-ix/p-7076210b.entry.js +0 -2
  1618. package/dist/siemens-ix/p-7076210b.entry.js.map +0 -1
  1619. package/dist/siemens-ix/p-712e0ee0.js +0 -2
  1620. package/dist/siemens-ix/p-712e0ee0.js.map +0 -1
  1621. package/dist/siemens-ix/p-71315e2e.entry.js +0 -2
  1622. package/dist/siemens-ix/p-71315e2e.entry.js.map +0 -1
  1623. package/dist/siemens-ix/p-713828ed.entry.js +0 -2
  1624. package/dist/siemens-ix/p-713828ed.entry.js.map +0 -1
  1625. package/dist/siemens-ix/p-7bfd6cd2.entry.js +0 -2
  1626. package/dist/siemens-ix/p-7bfd6cd2.entry.js.map +0 -1
  1627. package/dist/siemens-ix/p-7c36d3fa.js +0 -2
  1628. package/dist/siemens-ix/p-7c36d3fa.js.map +0 -1
  1629. package/dist/siemens-ix/p-7faa148f.entry.js +0 -2
  1630. package/dist/siemens-ix/p-85423643.entry.js +0 -2
  1631. package/dist/siemens-ix/p-85423643.entry.js.map +0 -1
  1632. package/dist/siemens-ix/p-8629db91.entry.js +0 -2
  1633. package/dist/siemens-ix/p-8629db91.entry.js.map +0 -1
  1634. package/dist/siemens-ix/p-87e692d9.entry.js +0 -2
  1635. package/dist/siemens-ix/p-87e692d9.entry.js.map +0 -1
  1636. package/dist/siemens-ix/p-882a0233.entry.js +0 -2
  1637. package/dist/siemens-ix/p-8d0758c1.entry.js +0 -2
  1638. package/dist/siemens-ix/p-8d599677.entry.js +0 -2
  1639. package/dist/siemens-ix/p-8d599677.entry.js.map +0 -1
  1640. package/dist/siemens-ix/p-90440046.entry.js +0 -2
  1641. package/dist/siemens-ix/p-90440046.entry.js.map +0 -1
  1642. package/dist/siemens-ix/p-92a18c10.entry.js +0 -2
  1643. package/dist/siemens-ix/p-92a18c10.entry.js.map +0 -1
  1644. package/dist/siemens-ix/p-9ebc4fc3.entry.js +0 -2
  1645. package/dist/siemens-ix/p-9ebc4fc3.entry.js.map +0 -1
  1646. package/dist/siemens-ix/p-a0138163.entry.js +0 -2
  1647. package/dist/siemens-ix/p-a0138163.entry.js.map +0 -1
  1648. package/dist/siemens-ix/p-a0a44a2b.entry.js +0 -2
  1649. package/dist/siemens-ix/p-a0a44a2b.entry.js.map +0 -1
  1650. package/dist/siemens-ix/p-a8d291fa.entry.js +0 -2
  1651. package/dist/siemens-ix/p-a8d291fa.entry.js.map +0 -1
  1652. package/dist/siemens-ix/p-af099ca4.entry.js +0 -2
  1653. package/dist/siemens-ix/p-b3b23af7.entry.js +0 -2
  1654. package/dist/siemens-ix/p-b3f35666.js +0 -2
  1655. package/dist/siemens-ix/p-b3f35666.js.map +0 -1
  1656. package/dist/siemens-ix/p-b4ce366d.entry.js +0 -2
  1657. package/dist/siemens-ix/p-b4ce366d.entry.js.map +0 -1
  1658. package/dist/siemens-ix/p-b663ca16.entry.js +0 -2
  1659. package/dist/siemens-ix/p-b804b8c5.entry.js +0 -2
  1660. package/dist/siemens-ix/p-bc2c74c5.entry.js +0 -2
  1661. package/dist/siemens-ix/p-bc2c74c5.entry.js.map +0 -1
  1662. package/dist/siemens-ix/p-bea7c748.entry.js +0 -2
  1663. package/dist/siemens-ix/p-bf14c60b.entry.js +0 -2
  1664. package/dist/siemens-ix/p-bf14c60b.entry.js.map +0 -1
  1665. package/dist/siemens-ix/p-c09553f3.js +0 -2
  1666. package/dist/siemens-ix/p-c09553f3.js.map +0 -1
  1667. package/dist/siemens-ix/p-c1222581.entry.js +0 -2
  1668. package/dist/siemens-ix/p-c1968b80.entry.js +0 -2
  1669. package/dist/siemens-ix/p-c33cee36.entry.js +0 -2
  1670. package/dist/siemens-ix/p-c33cee36.entry.js.map +0 -1
  1671. package/dist/siemens-ix/p-d03df401.entry.js +0 -2
  1672. package/dist/siemens-ix/p-d03df401.entry.js.map +0 -1
  1673. package/dist/siemens-ix/p-d14024d3.entry.js +0 -2
  1674. package/dist/siemens-ix/p-d14024d3.entry.js.map +0 -1
  1675. package/dist/siemens-ix/p-d1f49940.entry.js +0 -2
  1676. package/dist/siemens-ix/p-d1f49940.entry.js.map +0 -1
  1677. package/dist/siemens-ix/p-d331216f.entry.js +0 -2
  1678. package/dist/siemens-ix/p-d331216f.entry.js.map +0 -1
  1679. package/dist/siemens-ix/p-d8790ff5.entry.js +0 -2
  1680. package/dist/siemens-ix/p-d8790ff5.entry.js.map +0 -1
  1681. package/dist/siemens-ix/p-d950c3a8.entry.js +0 -2
  1682. package/dist/siemens-ix/p-d950c3a8.entry.js.map +0 -1
  1683. package/dist/siemens-ix/p-d95cbd1f.entry.js +0 -2
  1684. package/dist/siemens-ix/p-d95cbd1f.entry.js.map +0 -1
  1685. package/dist/siemens-ix/p-d998415f.entry.js +0 -2
  1686. package/dist/siemens-ix/p-d998415f.entry.js.map +0 -1
  1687. package/dist/siemens-ix/p-dbe8f5e6.entry.js +0 -2
  1688. package/dist/siemens-ix/p-dbe8f5e6.entry.js.map +0 -1
  1689. package/dist/siemens-ix/p-dcb3e5be.entry.js +0 -2
  1690. package/dist/siemens-ix/p-dcb3e5be.entry.js.map +0 -1
  1691. package/dist/siemens-ix/p-dde7eb80.entry.js +0 -2
  1692. package/dist/siemens-ix/p-dde7eb80.entry.js.map +0 -1
  1693. package/dist/siemens-ix/p-e30ed20a.entry.js +0 -2
  1694. package/dist/siemens-ix/p-e30ed20a.entry.js.map +0 -1
  1695. package/dist/siemens-ix/p-e8d3cf35.entry.js +0 -2
  1696. package/dist/siemens-ix/p-e8d3cf35.entry.js.map +0 -1
  1697. package/dist/siemens-ix/p-e9a3f58a.entry.js +0 -2
  1698. package/dist/siemens-ix/p-e9a3f58a.entry.js.map +0 -1
  1699. package/dist/siemens-ix/p-eb6268a6.entry.js +0 -2
  1700. package/dist/siemens-ix/p-eb6268a6.entry.js.map +0 -1
  1701. package/dist/siemens-ix/p-ebb277f0.entry.js +0 -2
  1702. package/dist/siemens-ix/p-ebb277f0.entry.js.map +0 -1
  1703. package/dist/siemens-ix/p-f318140c.entry.js +0 -2
  1704. package/dist/siemens-ix/p-f318140c.entry.js.map +0 -1
  1705. package/dist/siemens-ix/p-f78246bd.entry.js +0 -2
  1706. package/dist/siemens-ix/p-f78246bd.entry.js.map +0 -1
  1707. package/dist/siemens-ix/p-f87cd962.js +0 -3
  1708. package/dist/siemens-ix/p-f87cd962.js.map +0 -1
  1709. package/dist/siemens-ix/p-fb2b78f7.entry.js +0 -2
  1710. package/dist/siemens-ix/p-fb2b78f7.entry.js.map +0 -1
  1711. package/dist/siemens-ix/p-fb47546b.entry.js +0 -2
  1712. package/dist/siemens-ix/p-fb47546b.entry.js.map +0 -1
  1713. package/dist/siemens-ix/p-fb4c79c6.entry.js +0 -2
  1714. package/dist/siemens-ix/p-fc5814df.entry.js +0 -2
  1715. package/dist/siemens-ix/p-fc5814df.entry.js.map +0 -1
  1716. package/dist/siemens-ix/p-feac09bc.entry.js +0 -2
  1717. package/dist/siemens-ix/p-feac09bc.entry.js.map +0 -1
  1718. package/dist/siemens-ix/p-ff1ac5b3.entry.js +0 -2
  1719. package/dist/types/components/form-field/form-field.d.ts +0 -10
  1720. package/dist/types/components/playground/example-modal.d.ts +0 -6
  1721. package/dist/types/components/playground/playground.d.ts +0 -4
  1722. /package/dist/siemens-ix/{p-b3b23af7.entry.js.map → p-0be907d4.entry.js.map} +0 -0
  1723. /package/dist/siemens-ix/{p-c1222581.entry.js.map → p-2643f32a.entry.js.map} +0 -0
  1724. /package/dist/siemens-ix/{p-1f4b8463.entry.js.map → p-286feb7e.entry.js.map} +0 -0
  1725. /package/dist/siemens-ix/{p-6fd7ecd0.entry.js.map → p-2a34a0c2.entry.js.map} +0 -0
  1726. /package/dist/siemens-ix/{p-c1968b80.entry.js.map → p-2b367b12.entry.js.map} +0 -0
  1727. /package/dist/siemens-ix/{p-44db3646.entry.js.map → p-2b9c5f59.entry.js.map} +0 -0
  1728. /package/dist/siemens-ix/{p-4430117a.entry.js.map → p-3205726a.entry.js.map} +0 -0
  1729. /package/dist/siemens-ix/{p-882a0233.entry.js.map → p-4cc79e8f.entry.js.map} +0 -0
  1730. /package/dist/siemens-ix/{p-1a122c76.entry.js.map → p-4e51d716.entry.js.map} +0 -0
  1731. /package/dist/siemens-ix/{p-0ca3528f.js.map → p-5682e985.js.map} +0 -0
  1732. /package/dist/siemens-ix/{p-113cc793.entry.js.map → p-57e60a06.entry.js.map} +0 -0
  1733. /package/dist/siemens-ix/{p-af099ca4.entry.js.map → p-63dd987f.entry.js.map} +0 -0
  1734. /package/dist/siemens-ix/{p-7faa148f.entry.js.map → p-66559451.entry.js.map} +0 -0
  1735. /package/dist/siemens-ix/{p-b804b8c5.entry.js.map → p-6bae4e9b.entry.js.map} +0 -0
  1736. /package/dist/siemens-ix/{p-68532fa2.js.map → p-6bf208b8.js.map} +0 -0
  1737. /package/dist/siemens-ix/{p-8d0758c1.entry.js.map → p-8c2b62c3.entry.js.map} +0 -0
  1738. /package/dist/siemens-ix/{p-14a41c8c.entry.js.map → p-8f616a5c.entry.js.map} +0 -0
  1739. /package/dist/siemens-ix/{p-ff1ac5b3.entry.js.map → p-9948574f.entry.js.map} +0 -0
  1740. /package/dist/siemens-ix/{p-32d4ed3b.entry.js.map → p-a61ed462.entry.js.map} +0 -0
  1741. /package/dist/siemens-ix/{p-052340f9.entry.js.map → p-b2a06e46.entry.js.map} +0 -0
  1742. /package/dist/siemens-ix/{p-32375ddb.entry.js.map → p-c236cf18.entry.js.map} +0 -0
  1743. /package/dist/siemens-ix/{p-0d2a6886.entry.js.map → p-c6796e64.entry.js.map} +0 -0
  1744. /package/dist/siemens-ix/{p-fb4c79c6.entry.js.map → p-cbfca958.entry.js.map} +0 -0
  1745. /package/dist/siemens-ix/{p-b663ca16.entry.js.map → p-d929f23d.entry.js.map} +0 -0
  1746. /package/dist/siemens-ix/{p-2946fd70.entry.js.map → p-e7ac5657.entry.js.map} +0 -0
  1747. /package/dist/siemens-ix/{p-bea7c748.entry.js.map → p-e9a37b3f.entry.js.map} +0 -0
  1748. /package/dist/siemens-ix/{p-24a8737a.entry.js.map → p-edc1d44a.entry.js.map} +0 -0
  1749. /package/dist/siemens-ix/{p-16b923e9.entry.js.map → p-ffca56d6.entry.js.map} +0 -0
  1750. /package/dist/types/components/{grid → layout-grid}/layout-grid.d.ts +0 -0
@@ -0,0 +1,2010 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * Custom positioning reference element.
5
+ * @see https://floating-ui.com/docs/virtual-elements
6
+ */
7
+
8
+ const sides = ['top', 'right', 'bottom', 'left'];
9
+ const alignments = ['start', 'end'];
10
+ const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
11
+ const min = Math.min;
12
+ const max = Math.max;
13
+ const round = Math.round;
14
+ const floor = Math.floor;
15
+ const createCoords = v => ({
16
+ x: v,
17
+ y: v
18
+ });
19
+ const oppositeSideMap = {
20
+ left: 'right',
21
+ right: 'left',
22
+ bottom: 'top',
23
+ top: 'bottom'
24
+ };
25
+ const oppositeAlignmentMap = {
26
+ start: 'end',
27
+ end: 'start'
28
+ };
29
+ function clamp(start, value, end) {
30
+ return max(start, min(value, end));
31
+ }
32
+ function evaluate(value, param) {
33
+ return typeof value === 'function' ? value(param) : value;
34
+ }
35
+ function getSide(placement) {
36
+ return placement.split('-')[0];
37
+ }
38
+ function getAlignment(placement) {
39
+ return placement.split('-')[1];
40
+ }
41
+ function getOppositeAxis(axis) {
42
+ return axis === 'x' ? 'y' : 'x';
43
+ }
44
+ function getAxisLength(axis) {
45
+ return axis === 'y' ? 'height' : 'width';
46
+ }
47
+ function getSideAxis(placement) {
48
+ return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
49
+ }
50
+ function getAlignmentAxis(placement) {
51
+ return getOppositeAxis(getSideAxis(placement));
52
+ }
53
+ function getAlignmentSides(placement, rects, rtl) {
54
+ if (rtl === void 0) {
55
+ rtl = false;
56
+ }
57
+ const alignment = getAlignment(placement);
58
+ const alignmentAxis = getAlignmentAxis(placement);
59
+ const length = getAxisLength(alignmentAxis);
60
+ let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
61
+ if (rects.reference[length] > rects.floating[length]) {
62
+ mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
63
+ }
64
+ return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
65
+ }
66
+ function getExpandedPlacements(placement) {
67
+ const oppositePlacement = getOppositePlacement(placement);
68
+ return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
69
+ }
70
+ function getOppositeAlignmentPlacement(placement) {
71
+ return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
72
+ }
73
+ function getSideList(side, isStart, rtl) {
74
+ const lr = ['left', 'right'];
75
+ const rl = ['right', 'left'];
76
+ const tb = ['top', 'bottom'];
77
+ const bt = ['bottom', 'top'];
78
+ switch (side) {
79
+ case 'top':
80
+ case 'bottom':
81
+ if (rtl) return isStart ? rl : lr;
82
+ return isStart ? lr : rl;
83
+ case 'left':
84
+ case 'right':
85
+ return isStart ? tb : bt;
86
+ default:
87
+ return [];
88
+ }
89
+ }
90
+ function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
91
+ const alignment = getAlignment(placement);
92
+ let list = getSideList(getSide(placement), direction === 'start', rtl);
93
+ if (alignment) {
94
+ list = list.map(side => side + "-" + alignment);
95
+ if (flipAlignment) {
96
+ list = list.concat(list.map(getOppositeAlignmentPlacement));
97
+ }
98
+ }
99
+ return list;
100
+ }
101
+ function getOppositePlacement(placement) {
102
+ return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
103
+ }
104
+ function expandPaddingObject(padding) {
105
+ return {
106
+ top: 0,
107
+ right: 0,
108
+ bottom: 0,
109
+ left: 0,
110
+ ...padding
111
+ };
112
+ }
113
+ function getPaddingObject(padding) {
114
+ return typeof padding !== 'number' ? expandPaddingObject(padding) : {
115
+ top: padding,
116
+ right: padding,
117
+ bottom: padding,
118
+ left: padding
119
+ };
120
+ }
121
+ function rectToClientRect(rect) {
122
+ const {
123
+ x,
124
+ y,
125
+ width,
126
+ height
127
+ } = rect;
128
+ return {
129
+ width,
130
+ height,
131
+ top: y,
132
+ left: x,
133
+ right: x + width,
134
+ bottom: y + height,
135
+ x,
136
+ y
137
+ };
138
+ }
139
+
140
+ function computeCoordsFromPlacement(_ref, placement, rtl) {
141
+ let {
142
+ reference,
143
+ floating
144
+ } = _ref;
145
+ const sideAxis = getSideAxis(placement);
146
+ const alignmentAxis = getAlignmentAxis(placement);
147
+ const alignLength = getAxisLength(alignmentAxis);
148
+ const side = getSide(placement);
149
+ const isVertical = sideAxis === 'y';
150
+ const commonX = reference.x + reference.width / 2 - floating.width / 2;
151
+ const commonY = reference.y + reference.height / 2 - floating.height / 2;
152
+ const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
153
+ let coords;
154
+ switch (side) {
155
+ case 'top':
156
+ coords = {
157
+ x: commonX,
158
+ y: reference.y - floating.height
159
+ };
160
+ break;
161
+ case 'bottom':
162
+ coords = {
163
+ x: commonX,
164
+ y: reference.y + reference.height
165
+ };
166
+ break;
167
+ case 'right':
168
+ coords = {
169
+ x: reference.x + reference.width,
170
+ y: commonY
171
+ };
172
+ break;
173
+ case 'left':
174
+ coords = {
175
+ x: reference.x - floating.width,
176
+ y: commonY
177
+ };
178
+ break;
179
+ default:
180
+ coords = {
181
+ x: reference.x,
182
+ y: reference.y
183
+ };
184
+ }
185
+ switch (getAlignment(placement)) {
186
+ case 'start':
187
+ coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
188
+ break;
189
+ case 'end':
190
+ coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
191
+ break;
192
+ }
193
+ return coords;
194
+ }
195
+
196
+ /**
197
+ * Computes the `x` and `y` coordinates that will place the floating element
198
+ * next to a given reference element.
199
+ *
200
+ * This export does not have any `platform` interface logic. You will need to
201
+ * write one for the platform you are using Floating UI with.
202
+ */
203
+ const computePosition$1 = async (reference, floating, config) => {
204
+ const {
205
+ placement = 'bottom',
206
+ strategy = 'absolute',
207
+ middleware = [],
208
+ platform
209
+ } = config;
210
+ const validMiddleware = middleware.filter(Boolean);
211
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
212
+ let rects = await platform.getElementRects({
213
+ reference,
214
+ floating,
215
+ strategy
216
+ });
217
+ let {
218
+ x,
219
+ y
220
+ } = computeCoordsFromPlacement(rects, placement, rtl);
221
+ let statefulPlacement = placement;
222
+ let middlewareData = {};
223
+ let resetCount = 0;
224
+ for (let i = 0; i < validMiddleware.length; i++) {
225
+ const {
226
+ name,
227
+ fn
228
+ } = validMiddleware[i];
229
+ const {
230
+ x: nextX,
231
+ y: nextY,
232
+ data,
233
+ reset
234
+ } = await fn({
235
+ x,
236
+ y,
237
+ initialPlacement: placement,
238
+ placement: statefulPlacement,
239
+ strategy,
240
+ middlewareData,
241
+ rects,
242
+ platform,
243
+ elements: {
244
+ reference,
245
+ floating
246
+ }
247
+ });
248
+ x = nextX != null ? nextX : x;
249
+ y = nextY != null ? nextY : y;
250
+ middlewareData = {
251
+ ...middlewareData,
252
+ [name]: {
253
+ ...middlewareData[name],
254
+ ...data
255
+ }
256
+ };
257
+ if (reset && resetCount <= 50) {
258
+ resetCount++;
259
+ if (typeof reset === 'object') {
260
+ if (reset.placement) {
261
+ statefulPlacement = reset.placement;
262
+ }
263
+ if (reset.rects) {
264
+ rects = reset.rects === true ? await platform.getElementRects({
265
+ reference,
266
+ floating,
267
+ strategy
268
+ }) : reset.rects;
269
+ }
270
+ ({
271
+ x,
272
+ y
273
+ } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
274
+ }
275
+ i = -1;
276
+ }
277
+ }
278
+ return {
279
+ x,
280
+ y,
281
+ placement: statefulPlacement,
282
+ strategy,
283
+ middlewareData
284
+ };
285
+ };
286
+
287
+ /**
288
+ * Resolves with an object of overflow side offsets that determine how much the
289
+ * element is overflowing a given clipping boundary on each side.
290
+ * - positive = overflowing the boundary by that number of pixels
291
+ * - negative = how many pixels left before it will overflow
292
+ * - 0 = lies flush with the boundary
293
+ * @see https://floating-ui.com/docs/detectOverflow
294
+ */
295
+ async function detectOverflow(state, options) {
296
+ var _await$platform$isEle;
297
+ if (options === void 0) {
298
+ options = {};
299
+ }
300
+ const {
301
+ x,
302
+ y,
303
+ platform,
304
+ rects,
305
+ elements,
306
+ strategy
307
+ } = state;
308
+ const {
309
+ boundary = 'clippingAncestors',
310
+ rootBoundary = 'viewport',
311
+ elementContext = 'floating',
312
+ altBoundary = false,
313
+ padding = 0
314
+ } = evaluate(options, state);
315
+ const paddingObject = getPaddingObject(padding);
316
+ const altContext = elementContext === 'floating' ? 'reference' : 'floating';
317
+ const element = elements[altBoundary ? altContext : elementContext];
318
+ const clippingClientRect = rectToClientRect(await platform.getClippingRect({
319
+ element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
320
+ boundary,
321
+ rootBoundary,
322
+ strategy
323
+ }));
324
+ const rect = elementContext === 'floating' ? {
325
+ x,
326
+ y,
327
+ width: rects.floating.width,
328
+ height: rects.floating.height
329
+ } : rects.reference;
330
+ const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
331
+ const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
332
+ x: 1,
333
+ y: 1
334
+ } : {
335
+ x: 1,
336
+ y: 1
337
+ };
338
+ const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
339
+ elements,
340
+ rect,
341
+ offsetParent,
342
+ strategy
343
+ }) : rect);
344
+ return {
345
+ top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
346
+ bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
347
+ left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
348
+ right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
349
+ };
350
+ }
351
+
352
+ /**
353
+ * Provides data to position an inner element of the floating element so that it
354
+ * appears centered to the reference element.
355
+ * @see https://floating-ui.com/docs/arrow
356
+ */
357
+ const arrow$1 = options => ({
358
+ name: 'arrow',
359
+ options,
360
+ async fn(state) {
361
+ const {
362
+ x,
363
+ y,
364
+ placement,
365
+ rects,
366
+ platform,
367
+ elements,
368
+ middlewareData
369
+ } = state;
370
+ // Since `element` is required, we don't Partial<> the type.
371
+ const {
372
+ element,
373
+ padding = 0
374
+ } = evaluate(options, state) || {};
375
+ if (element == null) {
376
+ return {};
377
+ }
378
+ const paddingObject = getPaddingObject(padding);
379
+ const coords = {
380
+ x,
381
+ y
382
+ };
383
+ const axis = getAlignmentAxis(placement);
384
+ const length = getAxisLength(axis);
385
+ const arrowDimensions = await platform.getDimensions(element);
386
+ const isYAxis = axis === 'y';
387
+ const minProp = isYAxis ? 'top' : 'left';
388
+ const maxProp = isYAxis ? 'bottom' : 'right';
389
+ const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
390
+ const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
391
+ const startDiff = coords[axis] - rects.reference[axis];
392
+ const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
393
+ let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
394
+
395
+ // DOM platform can return `window` as the `offsetParent`.
396
+ if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
397
+ clientSize = elements.floating[clientProp] || rects.floating[length];
398
+ }
399
+ const centerToReference = endDiff / 2 - startDiff / 2;
400
+
401
+ // If the padding is large enough that it causes the arrow to no longer be
402
+ // centered, modify the padding so that it is centered.
403
+ const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
404
+ const minPadding = min(paddingObject[minProp], largestPossiblePadding);
405
+ const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
406
+
407
+ // Make sure the arrow doesn't overflow the floating element if the center
408
+ // point is outside the floating element's bounds.
409
+ const min$1 = minPadding;
410
+ const max = clientSize - arrowDimensions[length] - maxPadding;
411
+ const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
412
+ const offset = clamp(min$1, center, max);
413
+
414
+ // If the reference is small enough that the arrow's padding causes it to
415
+ // to point to nothing for an aligned placement, adjust the offset of the
416
+ // floating element itself. To ensure `shift()` continues to take action,
417
+ // a single reset is performed when this is true.
418
+ const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
419
+ const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
420
+ return {
421
+ [axis]: coords[axis] + alignmentOffset,
422
+ data: {
423
+ [axis]: offset,
424
+ centerOffset: center - offset - alignmentOffset,
425
+ ...(shouldAddOffset && {
426
+ alignmentOffset
427
+ })
428
+ },
429
+ reset: shouldAddOffset
430
+ };
431
+ }
432
+ });
433
+
434
+ function getPlacementList(alignment, autoAlignment, allowedPlacements) {
435
+ const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);
436
+ return allowedPlacementsSortedByAlignment.filter(placement => {
437
+ if (alignment) {
438
+ return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);
439
+ }
440
+ return true;
441
+ });
442
+ }
443
+ /**
444
+ * Optimizes the visibility of the floating element by choosing the placement
445
+ * that has the most space available automatically, without needing to specify a
446
+ * preferred placement. Alternative to `flip`.
447
+ * @see https://floating-ui.com/docs/autoPlacement
448
+ */
449
+ const autoPlacement = function (options) {
450
+ if (options === void 0) {
451
+ options = {};
452
+ }
453
+ return {
454
+ name: 'autoPlacement',
455
+ options,
456
+ async fn(state) {
457
+ var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;
458
+ const {
459
+ rects,
460
+ middlewareData,
461
+ placement,
462
+ platform,
463
+ elements
464
+ } = state;
465
+ const {
466
+ crossAxis = false,
467
+ alignment,
468
+ allowedPlacements = placements,
469
+ autoAlignment = true,
470
+ ...detectOverflowOptions
471
+ } = evaluate(options, state);
472
+ const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
473
+ const overflow = await detectOverflow(state, detectOverflowOptions);
474
+ const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
475
+ const currentPlacement = placements$1[currentIndex];
476
+ if (currentPlacement == null) {
477
+ return {};
478
+ }
479
+ const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
480
+
481
+ // Make `computeCoords` start from the right place.
482
+ if (placement !== currentPlacement) {
483
+ return {
484
+ reset: {
485
+ placement: placements$1[0]
486
+ }
487
+ };
488
+ }
489
+ const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
490
+ const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
491
+ placement: currentPlacement,
492
+ overflows: currentOverflows
493
+ }];
494
+ const nextPlacement = placements$1[currentIndex + 1];
495
+
496
+ // There are more placements to check.
497
+ if (nextPlacement) {
498
+ return {
499
+ data: {
500
+ index: currentIndex + 1,
501
+ overflows: allOverflows
502
+ },
503
+ reset: {
504
+ placement: nextPlacement
505
+ }
506
+ };
507
+ }
508
+ const placementsSortedByMostSpace = allOverflows.map(d => {
509
+ const alignment = getAlignment(d.placement);
510
+ return [d.placement, alignment && crossAxis ?
511
+ // Check along the mainAxis and main crossAxis side.
512
+ d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :
513
+ // Check only the mainAxis.
514
+ d.overflows[0], d.overflows];
515
+ }).sort((a, b) => a[1] - b[1]);
516
+ const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,
517
+ // Aligned placements should not check their opposite crossAxis
518
+ // side.
519
+ getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
520
+ const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
521
+ if (resetPlacement !== placement) {
522
+ return {
523
+ data: {
524
+ index: currentIndex + 1,
525
+ overflows: allOverflows
526
+ },
527
+ reset: {
528
+ placement: resetPlacement
529
+ }
530
+ };
531
+ }
532
+ return {};
533
+ }
534
+ };
535
+ };
536
+
537
+ /**
538
+ * Optimizes the visibility of the floating element by flipping the `placement`
539
+ * in order to keep it in view when the preferred placement(s) will overflow the
540
+ * clipping boundary. Alternative to `autoPlacement`.
541
+ * @see https://floating-ui.com/docs/flip
542
+ */
543
+ const flip$1 = function (options) {
544
+ if (options === void 0) {
545
+ options = {};
546
+ }
547
+ return {
548
+ name: 'flip',
549
+ options,
550
+ async fn(state) {
551
+ var _middlewareData$arrow, _middlewareData$flip;
552
+ const {
553
+ placement,
554
+ middlewareData,
555
+ rects,
556
+ initialPlacement,
557
+ platform,
558
+ elements
559
+ } = state;
560
+ const {
561
+ mainAxis: checkMainAxis = true,
562
+ crossAxis: checkCrossAxis = true,
563
+ fallbackPlacements: specifiedFallbackPlacements,
564
+ fallbackStrategy = 'bestFit',
565
+ fallbackAxisSideDirection = 'none',
566
+ flipAlignment = true,
567
+ ...detectOverflowOptions
568
+ } = evaluate(options, state);
569
+
570
+ // If a reset by the arrow was caused due to an alignment offset being
571
+ // added, we should skip any logic now since `flip()` has already done its
572
+ // work.
573
+ // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
574
+ if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
575
+ return {};
576
+ }
577
+ const side = getSide(placement);
578
+ const initialSideAxis = getSideAxis(initialPlacement);
579
+ const isBasePlacement = getSide(initialPlacement) === initialPlacement;
580
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
581
+ const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
582
+ const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
583
+ if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
584
+ fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
585
+ }
586
+ const placements = [initialPlacement, ...fallbackPlacements];
587
+ const overflow = await detectOverflow(state, detectOverflowOptions);
588
+ const overflows = [];
589
+ let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
590
+ if (checkMainAxis) {
591
+ overflows.push(overflow[side]);
592
+ }
593
+ if (checkCrossAxis) {
594
+ const sides = getAlignmentSides(placement, rects, rtl);
595
+ overflows.push(overflow[sides[0]], overflow[sides[1]]);
596
+ }
597
+ overflowsData = [...overflowsData, {
598
+ placement,
599
+ overflows
600
+ }];
601
+
602
+ // One or more sides is overflowing.
603
+ if (!overflows.every(side => side <= 0)) {
604
+ var _middlewareData$flip2, _overflowsData$filter;
605
+ const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
606
+ const nextPlacement = placements[nextIndex];
607
+ if (nextPlacement) {
608
+ // Try next placement and re-run the lifecycle.
609
+ return {
610
+ data: {
611
+ index: nextIndex,
612
+ overflows: overflowsData
613
+ },
614
+ reset: {
615
+ placement: nextPlacement
616
+ }
617
+ };
618
+ }
619
+
620
+ // First, find the candidates that fit on the mainAxis side of overflow,
621
+ // then find the placement that fits the best on the main crossAxis side.
622
+ let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
623
+
624
+ // Otherwise fallback.
625
+ if (!resetPlacement) {
626
+ switch (fallbackStrategy) {
627
+ case 'bestFit':
628
+ {
629
+ var _overflowsData$filter2;
630
+ const placement = (_overflowsData$filter2 = overflowsData.filter(d => {
631
+ if (hasFallbackAxisSideDirection) {
632
+ const currentSideAxis = getSideAxis(d.placement);
633
+ return currentSideAxis === initialSideAxis ||
634
+ // Create a bias to the `y` side axis due to horizontal
635
+ // reading directions favoring greater width.
636
+ currentSideAxis === 'y';
637
+ }
638
+ return true;
639
+ }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
640
+ if (placement) {
641
+ resetPlacement = placement;
642
+ }
643
+ break;
644
+ }
645
+ case 'initialPlacement':
646
+ resetPlacement = initialPlacement;
647
+ break;
648
+ }
649
+ }
650
+ if (placement !== resetPlacement) {
651
+ return {
652
+ reset: {
653
+ placement: resetPlacement
654
+ }
655
+ };
656
+ }
657
+ }
658
+ return {};
659
+ }
660
+ };
661
+ };
662
+
663
+ function getSideOffsets(overflow, rect) {
664
+ return {
665
+ top: overflow.top - rect.height,
666
+ right: overflow.right - rect.width,
667
+ bottom: overflow.bottom - rect.height,
668
+ left: overflow.left - rect.width
669
+ };
670
+ }
671
+ function isAnySideFullyClipped(overflow) {
672
+ return sides.some(side => overflow[side] >= 0);
673
+ }
674
+ /**
675
+ * Provides data to hide the floating element in applicable situations, such as
676
+ * when it is not in the same clipping context as the reference element.
677
+ * @see https://floating-ui.com/docs/hide
678
+ */
679
+ const hide$1 = function (options) {
680
+ if (options === void 0) {
681
+ options = {};
682
+ }
683
+ return {
684
+ name: 'hide',
685
+ options,
686
+ async fn(state) {
687
+ const {
688
+ rects
689
+ } = state;
690
+ const {
691
+ strategy = 'referenceHidden',
692
+ ...detectOverflowOptions
693
+ } = evaluate(options, state);
694
+ switch (strategy) {
695
+ case 'referenceHidden':
696
+ {
697
+ const overflow = await detectOverflow(state, {
698
+ ...detectOverflowOptions,
699
+ elementContext: 'reference'
700
+ });
701
+ const offsets = getSideOffsets(overflow, rects.reference);
702
+ return {
703
+ data: {
704
+ referenceHiddenOffsets: offsets,
705
+ referenceHidden: isAnySideFullyClipped(offsets)
706
+ }
707
+ };
708
+ }
709
+ case 'escaped':
710
+ {
711
+ const overflow = await detectOverflow(state, {
712
+ ...detectOverflowOptions,
713
+ altBoundary: true
714
+ });
715
+ const offsets = getSideOffsets(overflow, rects.floating);
716
+ return {
717
+ data: {
718
+ escapedOffsets: offsets,
719
+ escaped: isAnySideFullyClipped(offsets)
720
+ }
721
+ };
722
+ }
723
+ default:
724
+ {
725
+ return {};
726
+ }
727
+ }
728
+ }
729
+ };
730
+ };
731
+
732
+ function getBoundingRect(rects) {
733
+ const minX = min(...rects.map(rect => rect.left));
734
+ const minY = min(...rects.map(rect => rect.top));
735
+ const maxX = max(...rects.map(rect => rect.right));
736
+ const maxY = max(...rects.map(rect => rect.bottom));
737
+ return {
738
+ x: minX,
739
+ y: minY,
740
+ width: maxX - minX,
741
+ height: maxY - minY
742
+ };
743
+ }
744
+ function getRectsByLine(rects) {
745
+ const sortedRects = rects.slice().sort((a, b) => a.y - b.y);
746
+ const groups = [];
747
+ let prevRect = null;
748
+ for (let i = 0; i < sortedRects.length; i++) {
749
+ const rect = sortedRects[i];
750
+ if (!prevRect || rect.y - prevRect.y > prevRect.height / 2) {
751
+ groups.push([rect]);
752
+ } else {
753
+ groups[groups.length - 1].push(rect);
754
+ }
755
+ prevRect = rect;
756
+ }
757
+ return groups.map(rect => rectToClientRect(getBoundingRect(rect)));
758
+ }
759
+ /**
760
+ * Provides improved positioning for inline reference elements that can span
761
+ * over multiple lines, such as hyperlinks or range selections.
762
+ * @see https://floating-ui.com/docs/inline
763
+ */
764
+ const inline$1 = function (options) {
765
+ if (options === void 0) {
766
+ options = {};
767
+ }
768
+ return {
769
+ name: 'inline',
770
+ options,
771
+ async fn(state) {
772
+ const {
773
+ placement,
774
+ elements,
775
+ rects,
776
+ platform,
777
+ strategy
778
+ } = state;
779
+ // A MouseEvent's client{X,Y} coords can be up to 2 pixels off a
780
+ // ClientRect's bounds, despite the event listener being triggered. A
781
+ // padding of 2 seems to handle this issue.
782
+ const {
783
+ padding = 2,
784
+ x,
785
+ y
786
+ } = evaluate(options, state);
787
+ const nativeClientRects = Array.from((await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || []);
788
+ const clientRects = getRectsByLine(nativeClientRects);
789
+ const fallback = rectToClientRect(getBoundingRect(nativeClientRects));
790
+ const paddingObject = getPaddingObject(padding);
791
+ function getBoundingClientRect() {
792
+ // There are two rects and they are disjoined.
793
+ if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {
794
+ // Find the first rect in which the point is fully inside.
795
+ return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;
796
+ }
797
+
798
+ // There are 2 or more connected rects.
799
+ if (clientRects.length >= 2) {
800
+ if (getSideAxis(placement) === 'y') {
801
+ const firstRect = clientRects[0];
802
+ const lastRect = clientRects[clientRects.length - 1];
803
+ const isTop = getSide(placement) === 'top';
804
+ const top = firstRect.top;
805
+ const bottom = lastRect.bottom;
806
+ const left = isTop ? firstRect.left : lastRect.left;
807
+ const right = isTop ? firstRect.right : lastRect.right;
808
+ const width = right - left;
809
+ const height = bottom - top;
810
+ return {
811
+ top,
812
+ bottom,
813
+ left,
814
+ right,
815
+ width,
816
+ height,
817
+ x: left,
818
+ y: top
819
+ };
820
+ }
821
+ const isLeftSide = getSide(placement) === 'left';
822
+ const maxRight = max(...clientRects.map(rect => rect.right));
823
+ const minLeft = min(...clientRects.map(rect => rect.left));
824
+ const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight);
825
+ const top = measureRects[0].top;
826
+ const bottom = measureRects[measureRects.length - 1].bottom;
827
+ const left = minLeft;
828
+ const right = maxRight;
829
+ const width = right - left;
830
+ const height = bottom - top;
831
+ return {
832
+ top,
833
+ bottom,
834
+ left,
835
+ right,
836
+ width,
837
+ height,
838
+ x: left,
839
+ y: top
840
+ };
841
+ }
842
+ return fallback;
843
+ }
844
+ const resetRects = await platform.getElementRects({
845
+ reference: {
846
+ getBoundingClientRect
847
+ },
848
+ floating: elements.floating,
849
+ strategy
850
+ });
851
+ if (rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height) {
852
+ return {
853
+ reset: {
854
+ rects: resetRects
855
+ }
856
+ };
857
+ }
858
+ return {};
859
+ }
860
+ };
861
+ };
862
+
863
+ // For type backwards-compatibility, the `OffsetOptions` type was also
864
+ // Derivable.
865
+
866
+ async function convertValueToCoords(state, options) {
867
+ const {
868
+ placement,
869
+ platform,
870
+ elements
871
+ } = state;
872
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
873
+ const side = getSide(placement);
874
+ const alignment = getAlignment(placement);
875
+ const isVertical = getSideAxis(placement) === 'y';
876
+ const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
877
+ const crossAxisMulti = rtl && isVertical ? -1 : 1;
878
+ const rawValue = evaluate(options, state);
879
+
880
+ // eslint-disable-next-line prefer-const
881
+ let {
882
+ mainAxis,
883
+ crossAxis,
884
+ alignmentAxis
885
+ } = typeof rawValue === 'number' ? {
886
+ mainAxis: rawValue,
887
+ crossAxis: 0,
888
+ alignmentAxis: null
889
+ } : {
890
+ mainAxis: 0,
891
+ crossAxis: 0,
892
+ alignmentAxis: null,
893
+ ...rawValue
894
+ };
895
+ if (alignment && typeof alignmentAxis === 'number') {
896
+ crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
897
+ }
898
+ return isVertical ? {
899
+ x: crossAxis * crossAxisMulti,
900
+ y: mainAxis * mainAxisMulti
901
+ } : {
902
+ x: mainAxis * mainAxisMulti,
903
+ y: crossAxis * crossAxisMulti
904
+ };
905
+ }
906
+
907
+ /**
908
+ * Modifies the placement by translating the floating element along the
909
+ * specified axes.
910
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
911
+ * object may be passed.
912
+ * @see https://floating-ui.com/docs/offset
913
+ */
914
+ const offset$1 = function (options) {
915
+ if (options === void 0) {
916
+ options = 0;
917
+ }
918
+ return {
919
+ name: 'offset',
920
+ options,
921
+ async fn(state) {
922
+ var _middlewareData$offse, _middlewareData$arrow;
923
+ const {
924
+ x,
925
+ y,
926
+ placement,
927
+ middlewareData
928
+ } = state;
929
+ const diffCoords = await convertValueToCoords(state, options);
930
+
931
+ // If the placement is the same and the arrow caused an alignment offset
932
+ // then we don't need to change the positioning coordinates.
933
+ if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
934
+ return {};
935
+ }
936
+ return {
937
+ x: x + diffCoords.x,
938
+ y: y + diffCoords.y,
939
+ data: {
940
+ ...diffCoords,
941
+ placement
942
+ }
943
+ };
944
+ }
945
+ };
946
+ };
947
+
948
+ /**
949
+ * Optimizes the visibility of the floating element by shifting it in order to
950
+ * keep it in view when it will overflow the clipping boundary.
951
+ * @see https://floating-ui.com/docs/shift
952
+ */
953
+ const shift$1 = function (options) {
954
+ if (options === void 0) {
955
+ options = {};
956
+ }
957
+ return {
958
+ name: 'shift',
959
+ options,
960
+ async fn(state) {
961
+ const {
962
+ x,
963
+ y,
964
+ placement
965
+ } = state;
966
+ const {
967
+ mainAxis: checkMainAxis = true,
968
+ crossAxis: checkCrossAxis = false,
969
+ limiter = {
970
+ fn: _ref => {
971
+ let {
972
+ x,
973
+ y
974
+ } = _ref;
975
+ return {
976
+ x,
977
+ y
978
+ };
979
+ }
980
+ },
981
+ ...detectOverflowOptions
982
+ } = evaluate(options, state);
983
+ const coords = {
984
+ x,
985
+ y
986
+ };
987
+ const overflow = await detectOverflow(state, detectOverflowOptions);
988
+ const crossAxis = getSideAxis(getSide(placement));
989
+ const mainAxis = getOppositeAxis(crossAxis);
990
+ let mainAxisCoord = coords[mainAxis];
991
+ let crossAxisCoord = coords[crossAxis];
992
+ if (checkMainAxis) {
993
+ const minSide = mainAxis === 'y' ? 'top' : 'left';
994
+ const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
995
+ const min = mainAxisCoord + overflow[minSide];
996
+ const max = mainAxisCoord - overflow[maxSide];
997
+ mainAxisCoord = clamp(min, mainAxisCoord, max);
998
+ }
999
+ if (checkCrossAxis) {
1000
+ const minSide = crossAxis === 'y' ? 'top' : 'left';
1001
+ const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
1002
+ const min = crossAxisCoord + overflow[minSide];
1003
+ const max = crossAxisCoord - overflow[maxSide];
1004
+ crossAxisCoord = clamp(min, crossAxisCoord, max);
1005
+ }
1006
+ const limitedCoords = limiter.fn({
1007
+ ...state,
1008
+ [mainAxis]: mainAxisCoord,
1009
+ [crossAxis]: crossAxisCoord
1010
+ });
1011
+ return {
1012
+ ...limitedCoords,
1013
+ data: {
1014
+ x: limitedCoords.x - x,
1015
+ y: limitedCoords.y - y
1016
+ }
1017
+ };
1018
+ }
1019
+ };
1020
+ };
1021
+ /**
1022
+ * Built-in `limiter` that will stop `shift()` at a certain point.
1023
+ */
1024
+ const limitShift = function (options) {
1025
+ if (options === void 0) {
1026
+ options = {};
1027
+ }
1028
+ return {
1029
+ options,
1030
+ fn(state) {
1031
+ const {
1032
+ x,
1033
+ y,
1034
+ placement,
1035
+ rects,
1036
+ middlewareData
1037
+ } = state;
1038
+ const {
1039
+ offset = 0,
1040
+ mainAxis: checkMainAxis = true,
1041
+ crossAxis: checkCrossAxis = true
1042
+ } = evaluate(options, state);
1043
+ const coords = {
1044
+ x,
1045
+ y
1046
+ };
1047
+ const crossAxis = getSideAxis(placement);
1048
+ const mainAxis = getOppositeAxis(crossAxis);
1049
+ let mainAxisCoord = coords[mainAxis];
1050
+ let crossAxisCoord = coords[crossAxis];
1051
+ const rawOffset = evaluate(offset, state);
1052
+ const computedOffset = typeof rawOffset === 'number' ? {
1053
+ mainAxis: rawOffset,
1054
+ crossAxis: 0
1055
+ } : {
1056
+ mainAxis: 0,
1057
+ crossAxis: 0,
1058
+ ...rawOffset
1059
+ };
1060
+ if (checkMainAxis) {
1061
+ const len = mainAxis === 'y' ? 'height' : 'width';
1062
+ const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;
1063
+ const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;
1064
+ if (mainAxisCoord < limitMin) {
1065
+ mainAxisCoord = limitMin;
1066
+ } else if (mainAxisCoord > limitMax) {
1067
+ mainAxisCoord = limitMax;
1068
+ }
1069
+ }
1070
+ if (checkCrossAxis) {
1071
+ var _middlewareData$offse, _middlewareData$offse2;
1072
+ const len = mainAxis === 'y' ? 'width' : 'height';
1073
+ const isOriginSide = ['top', 'left'].includes(getSide(placement));
1074
+ const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);
1075
+ const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);
1076
+ if (crossAxisCoord < limitMin) {
1077
+ crossAxisCoord = limitMin;
1078
+ } else if (crossAxisCoord > limitMax) {
1079
+ crossAxisCoord = limitMax;
1080
+ }
1081
+ }
1082
+ return {
1083
+ [mainAxis]: mainAxisCoord,
1084
+ [crossAxis]: crossAxisCoord
1085
+ };
1086
+ }
1087
+ };
1088
+ };
1089
+
1090
+ /**
1091
+ * Provides data that allows you to change the size of the floating element —
1092
+ * for instance, prevent it from overflowing the clipping boundary or match the
1093
+ * width of the reference element.
1094
+ * @see https://floating-ui.com/docs/size
1095
+ */
1096
+ const size = function (options) {
1097
+ if (options === void 0) {
1098
+ options = {};
1099
+ }
1100
+ return {
1101
+ name: 'size',
1102
+ options,
1103
+ async fn(state) {
1104
+ const {
1105
+ placement,
1106
+ rects,
1107
+ platform,
1108
+ elements
1109
+ } = state;
1110
+ const {
1111
+ apply = () => {},
1112
+ ...detectOverflowOptions
1113
+ } = evaluate(options, state);
1114
+ const overflow = await detectOverflow(state, detectOverflowOptions);
1115
+ const side = getSide(placement);
1116
+ const alignment = getAlignment(placement);
1117
+ const isYAxis = getSideAxis(placement) === 'y';
1118
+ const {
1119
+ width,
1120
+ height
1121
+ } = rects.floating;
1122
+ let heightSide;
1123
+ let widthSide;
1124
+ if (side === 'top' || side === 'bottom') {
1125
+ heightSide = side;
1126
+ widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';
1127
+ } else {
1128
+ widthSide = side;
1129
+ heightSide = alignment === 'end' ? 'top' : 'bottom';
1130
+ }
1131
+ const maximumClippingHeight = height - overflow.top - overflow.bottom;
1132
+ const maximumClippingWidth = width - overflow.left - overflow.right;
1133
+ const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
1134
+ const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
1135
+ const noShift = !state.middlewareData.shift;
1136
+ let availableHeight = overflowAvailableHeight;
1137
+ let availableWidth = overflowAvailableWidth;
1138
+ if (isYAxis) {
1139
+ availableWidth = alignment || noShift ? min(overflowAvailableWidth, maximumClippingWidth) : maximumClippingWidth;
1140
+ } else {
1141
+ availableHeight = alignment || noShift ? min(overflowAvailableHeight, maximumClippingHeight) : maximumClippingHeight;
1142
+ }
1143
+ if (noShift && !alignment) {
1144
+ const xMin = max(overflow.left, 0);
1145
+ const xMax = max(overflow.right, 0);
1146
+ const yMin = max(overflow.top, 0);
1147
+ const yMax = max(overflow.bottom, 0);
1148
+ if (isYAxis) {
1149
+ availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
1150
+ } else {
1151
+ availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
1152
+ }
1153
+ }
1154
+ await apply({
1155
+ ...state,
1156
+ availableWidth,
1157
+ availableHeight
1158
+ });
1159
+ const nextDimensions = await platform.getDimensions(elements.floating);
1160
+ if (width !== nextDimensions.width || height !== nextDimensions.height) {
1161
+ return {
1162
+ reset: {
1163
+ rects: true
1164
+ }
1165
+ };
1166
+ }
1167
+ return {};
1168
+ }
1169
+ };
1170
+ };
1171
+
1172
+ function getNodeName(node) {
1173
+ if (isNode(node)) {
1174
+ return (node.nodeName || '').toLowerCase();
1175
+ }
1176
+ // Mocked nodes in testing environments may not be instances of Node. By
1177
+ // returning `#document` an infinite loop won't occur.
1178
+ // https://github.com/floating-ui/floating-ui/issues/2317
1179
+ return '#document';
1180
+ }
1181
+ function getWindow(node) {
1182
+ var _node$ownerDocument;
1183
+ return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
1184
+ }
1185
+ function getDocumentElement(node) {
1186
+ var _ref;
1187
+ return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
1188
+ }
1189
+ function isNode(value) {
1190
+ return value instanceof Node || value instanceof getWindow(value).Node;
1191
+ }
1192
+ function isElement(value) {
1193
+ return value instanceof Element || value instanceof getWindow(value).Element;
1194
+ }
1195
+ function isHTMLElement(value) {
1196
+ return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
1197
+ }
1198
+ function isShadowRoot(value) {
1199
+ // Browsers without `ShadowRoot` support.
1200
+ if (typeof ShadowRoot === 'undefined') {
1201
+ return false;
1202
+ }
1203
+ return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
1204
+ }
1205
+ function isOverflowElement(element) {
1206
+ const {
1207
+ overflow,
1208
+ overflowX,
1209
+ overflowY,
1210
+ display
1211
+ } = getComputedStyle(element);
1212
+ return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
1213
+ }
1214
+ function isTableElement(element) {
1215
+ return ['table', 'td', 'th'].includes(getNodeName(element));
1216
+ }
1217
+ function isTopLayer(element) {
1218
+ return [':popover-open', ':modal'].some(selector => {
1219
+ try {
1220
+ return element.matches(selector);
1221
+ } catch (e) {
1222
+ return false;
1223
+ }
1224
+ });
1225
+ }
1226
+ function isContainingBlock(elementOrCss) {
1227
+ const webkit = isWebKit();
1228
+ const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;
1229
+
1230
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
1231
+ return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
1232
+ }
1233
+ function getContainingBlock(element) {
1234
+ let currentNode = getParentNode(element);
1235
+ while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
1236
+ if (isContainingBlock(currentNode)) {
1237
+ return currentNode;
1238
+ } else if (isTopLayer(currentNode)) {
1239
+ return null;
1240
+ }
1241
+ currentNode = getParentNode(currentNode);
1242
+ }
1243
+ return null;
1244
+ }
1245
+ function isWebKit() {
1246
+ if (typeof CSS === 'undefined' || !CSS.supports) return false;
1247
+ return CSS.supports('-webkit-backdrop-filter', 'none');
1248
+ }
1249
+ function isLastTraversableNode(node) {
1250
+ return ['html', 'body', '#document'].includes(getNodeName(node));
1251
+ }
1252
+ function getComputedStyle(element) {
1253
+ return getWindow(element).getComputedStyle(element);
1254
+ }
1255
+ function getNodeScroll(element) {
1256
+ if (isElement(element)) {
1257
+ return {
1258
+ scrollLeft: element.scrollLeft,
1259
+ scrollTop: element.scrollTop
1260
+ };
1261
+ }
1262
+ return {
1263
+ scrollLeft: element.scrollX,
1264
+ scrollTop: element.scrollY
1265
+ };
1266
+ }
1267
+ function getParentNode(node) {
1268
+ if (getNodeName(node) === 'html') {
1269
+ return node;
1270
+ }
1271
+ const result =
1272
+ // Step into the shadow DOM of the parent of a slotted node.
1273
+ node.assignedSlot ||
1274
+ // DOM Element detected.
1275
+ node.parentNode ||
1276
+ // ShadowRoot detected.
1277
+ isShadowRoot(node) && node.host ||
1278
+ // Fallback.
1279
+ getDocumentElement(node);
1280
+ return isShadowRoot(result) ? result.host : result;
1281
+ }
1282
+ function getNearestOverflowAncestor(node) {
1283
+ const parentNode = getParentNode(node);
1284
+ if (isLastTraversableNode(parentNode)) {
1285
+ return node.ownerDocument ? node.ownerDocument.body : node.body;
1286
+ }
1287
+ if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
1288
+ return parentNode;
1289
+ }
1290
+ return getNearestOverflowAncestor(parentNode);
1291
+ }
1292
+ function getOverflowAncestors(node, list, traverseIframes) {
1293
+ var _node$ownerDocument2;
1294
+ if (list === void 0) {
1295
+ list = [];
1296
+ }
1297
+ if (traverseIframes === void 0) {
1298
+ traverseIframes = true;
1299
+ }
1300
+ const scrollableAncestor = getNearestOverflowAncestor(node);
1301
+ const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
1302
+ const win = getWindow(scrollableAncestor);
1303
+ if (isBody) {
1304
+ const frameElement = getFrameElement(win);
1305
+ return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
1306
+ }
1307
+ return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
1308
+ }
1309
+ function getFrameElement(win) {
1310
+ return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
1311
+ }
1312
+
1313
+ function getCssDimensions(element) {
1314
+ const css = getComputedStyle(element);
1315
+ // In testing environments, the `width` and `height` properties are empty
1316
+ // strings for SVG elements, returning NaN. Fallback to `0` in this case.
1317
+ let width = parseFloat(css.width) || 0;
1318
+ let height = parseFloat(css.height) || 0;
1319
+ const hasOffset = isHTMLElement(element);
1320
+ const offsetWidth = hasOffset ? element.offsetWidth : width;
1321
+ const offsetHeight = hasOffset ? element.offsetHeight : height;
1322
+ const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
1323
+ if (shouldFallback) {
1324
+ width = offsetWidth;
1325
+ height = offsetHeight;
1326
+ }
1327
+ return {
1328
+ width,
1329
+ height,
1330
+ $: shouldFallback
1331
+ };
1332
+ }
1333
+
1334
+ function unwrapElement(element) {
1335
+ return !isElement(element) ? element.contextElement : element;
1336
+ }
1337
+
1338
+ function getScale(element) {
1339
+ const domElement = unwrapElement(element);
1340
+ if (!isHTMLElement(domElement)) {
1341
+ return createCoords(1);
1342
+ }
1343
+ const rect = domElement.getBoundingClientRect();
1344
+ const {
1345
+ width,
1346
+ height,
1347
+ $
1348
+ } = getCssDimensions(domElement);
1349
+ let x = ($ ? round(rect.width) : rect.width) / width;
1350
+ let y = ($ ? round(rect.height) : rect.height) / height;
1351
+
1352
+ // 0, NaN, or Infinity should always fallback to 1.
1353
+
1354
+ if (!x || !Number.isFinite(x)) {
1355
+ x = 1;
1356
+ }
1357
+ if (!y || !Number.isFinite(y)) {
1358
+ y = 1;
1359
+ }
1360
+ return {
1361
+ x,
1362
+ y
1363
+ };
1364
+ }
1365
+
1366
+ const noOffsets = /*#__PURE__*/createCoords(0);
1367
+ function getVisualOffsets(element) {
1368
+ const win = getWindow(element);
1369
+ if (!isWebKit() || !win.visualViewport) {
1370
+ return noOffsets;
1371
+ }
1372
+ return {
1373
+ x: win.visualViewport.offsetLeft,
1374
+ y: win.visualViewport.offsetTop
1375
+ };
1376
+ }
1377
+ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
1378
+ if (isFixed === void 0) {
1379
+ isFixed = false;
1380
+ }
1381
+ if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
1382
+ return false;
1383
+ }
1384
+ return isFixed;
1385
+ }
1386
+
1387
+ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
1388
+ if (includeScale === void 0) {
1389
+ includeScale = false;
1390
+ }
1391
+ if (isFixedStrategy === void 0) {
1392
+ isFixedStrategy = false;
1393
+ }
1394
+ const clientRect = element.getBoundingClientRect();
1395
+ const domElement = unwrapElement(element);
1396
+ let scale = createCoords(1);
1397
+ if (includeScale) {
1398
+ if (offsetParent) {
1399
+ if (isElement(offsetParent)) {
1400
+ scale = getScale(offsetParent);
1401
+ }
1402
+ } else {
1403
+ scale = getScale(element);
1404
+ }
1405
+ }
1406
+ const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
1407
+ let x = (clientRect.left + visualOffsets.x) / scale.x;
1408
+ let y = (clientRect.top + visualOffsets.y) / scale.y;
1409
+ let width = clientRect.width / scale.x;
1410
+ let height = clientRect.height / scale.y;
1411
+ if (domElement) {
1412
+ const win = getWindow(domElement);
1413
+ const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
1414
+ let currentWin = win;
1415
+ let currentIFrame = getFrameElement(currentWin);
1416
+ while (currentIFrame && offsetParent && offsetWin !== currentWin) {
1417
+ const iframeScale = getScale(currentIFrame);
1418
+ const iframeRect = currentIFrame.getBoundingClientRect();
1419
+ const css = getComputedStyle(currentIFrame);
1420
+ const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
1421
+ const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
1422
+ x *= iframeScale.x;
1423
+ y *= iframeScale.y;
1424
+ width *= iframeScale.x;
1425
+ height *= iframeScale.y;
1426
+ x += left;
1427
+ y += top;
1428
+ currentWin = getWindow(currentIFrame);
1429
+ currentIFrame = getFrameElement(currentWin);
1430
+ }
1431
+ }
1432
+ return rectToClientRect({
1433
+ width,
1434
+ height,
1435
+ x,
1436
+ y
1437
+ });
1438
+ }
1439
+
1440
+ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
1441
+ let {
1442
+ elements,
1443
+ rect,
1444
+ offsetParent,
1445
+ strategy
1446
+ } = _ref;
1447
+ const isFixed = strategy === 'fixed';
1448
+ const documentElement = getDocumentElement(offsetParent);
1449
+ const topLayer = elements ? isTopLayer(elements.floating) : false;
1450
+ if (offsetParent === documentElement || topLayer && isFixed) {
1451
+ return rect;
1452
+ }
1453
+ let scroll = {
1454
+ scrollLeft: 0,
1455
+ scrollTop: 0
1456
+ };
1457
+ let scale = createCoords(1);
1458
+ const offsets = createCoords(0);
1459
+ const isOffsetParentAnElement = isHTMLElement(offsetParent);
1460
+ if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1461
+ if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
1462
+ scroll = getNodeScroll(offsetParent);
1463
+ }
1464
+ if (isHTMLElement(offsetParent)) {
1465
+ const offsetRect = getBoundingClientRect(offsetParent);
1466
+ scale = getScale(offsetParent);
1467
+ offsets.x = offsetRect.x + offsetParent.clientLeft;
1468
+ offsets.y = offsetRect.y + offsetParent.clientTop;
1469
+ }
1470
+ }
1471
+ return {
1472
+ width: rect.width * scale.x,
1473
+ height: rect.height * scale.y,
1474
+ x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,
1475
+ y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y
1476
+ };
1477
+ }
1478
+
1479
+ function getClientRects(element) {
1480
+ return Array.from(element.getClientRects());
1481
+ }
1482
+
1483
+ function getWindowScrollBarX(element) {
1484
+ // If <html> has a CSS width greater than the viewport, then this will be
1485
+ // incorrect for RTL.
1486
+ return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;
1487
+ }
1488
+
1489
+ // Gets the entire size of the scrollable document area, even extending outside
1490
+ // of the `<html>` and `<body>` rect bounds if horizontally scrollable.
1491
+ function getDocumentRect(element) {
1492
+ const html = getDocumentElement(element);
1493
+ const scroll = getNodeScroll(element);
1494
+ const body = element.ownerDocument.body;
1495
+ const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
1496
+ const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
1497
+ let x = -scroll.scrollLeft + getWindowScrollBarX(element);
1498
+ const y = -scroll.scrollTop;
1499
+ if (getComputedStyle(body).direction === 'rtl') {
1500
+ x += max(html.clientWidth, body.clientWidth) - width;
1501
+ }
1502
+ return {
1503
+ width,
1504
+ height,
1505
+ x,
1506
+ y
1507
+ };
1508
+ }
1509
+
1510
+ function getViewportRect(element, strategy) {
1511
+ const win = getWindow(element);
1512
+ const html = getDocumentElement(element);
1513
+ const visualViewport = win.visualViewport;
1514
+ let width = html.clientWidth;
1515
+ let height = html.clientHeight;
1516
+ let x = 0;
1517
+ let y = 0;
1518
+ if (visualViewport) {
1519
+ width = visualViewport.width;
1520
+ height = visualViewport.height;
1521
+ const visualViewportBased = isWebKit();
1522
+ if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
1523
+ x = visualViewport.offsetLeft;
1524
+ y = visualViewport.offsetTop;
1525
+ }
1526
+ }
1527
+ return {
1528
+ width,
1529
+ height,
1530
+ x,
1531
+ y
1532
+ };
1533
+ }
1534
+
1535
+ // Returns the inner client rect, subtracting scrollbars if present.
1536
+ function getInnerBoundingClientRect(element, strategy) {
1537
+ const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
1538
+ const top = clientRect.top + element.clientTop;
1539
+ const left = clientRect.left + element.clientLeft;
1540
+ const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
1541
+ const width = element.clientWidth * scale.x;
1542
+ const height = element.clientHeight * scale.y;
1543
+ const x = left * scale.x;
1544
+ const y = top * scale.y;
1545
+ return {
1546
+ width,
1547
+ height,
1548
+ x,
1549
+ y
1550
+ };
1551
+ }
1552
+ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
1553
+ let rect;
1554
+ if (clippingAncestor === 'viewport') {
1555
+ rect = getViewportRect(element, strategy);
1556
+ } else if (clippingAncestor === 'document') {
1557
+ rect = getDocumentRect(getDocumentElement(element));
1558
+ } else if (isElement(clippingAncestor)) {
1559
+ rect = getInnerBoundingClientRect(clippingAncestor, strategy);
1560
+ } else {
1561
+ const visualOffsets = getVisualOffsets(element);
1562
+ rect = {
1563
+ ...clippingAncestor,
1564
+ x: clippingAncestor.x - visualOffsets.x,
1565
+ y: clippingAncestor.y - visualOffsets.y
1566
+ };
1567
+ }
1568
+ return rectToClientRect(rect);
1569
+ }
1570
+ function hasFixedPositionAncestor(element, stopNode) {
1571
+ const parentNode = getParentNode(element);
1572
+ if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
1573
+ return false;
1574
+ }
1575
+ return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
1576
+ }
1577
+
1578
+ // A "clipping ancestor" is an `overflow` element with the characteristic of
1579
+ // clipping (or hiding) child elements. This returns all clipping ancestors
1580
+ // of the given element up the tree.
1581
+ function getClippingElementAncestors(element, cache) {
1582
+ const cachedResult = cache.get(element);
1583
+ if (cachedResult) {
1584
+ return cachedResult;
1585
+ }
1586
+ let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
1587
+ let currentContainingBlockComputedStyle = null;
1588
+ const elementIsFixed = getComputedStyle(element).position === 'fixed';
1589
+ let currentNode = elementIsFixed ? getParentNode(element) : element;
1590
+
1591
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
1592
+ while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
1593
+ const computedStyle = getComputedStyle(currentNode);
1594
+ const currentNodeIsContaining = isContainingBlock(currentNode);
1595
+ if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
1596
+ currentContainingBlockComputedStyle = null;
1597
+ }
1598
+ const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
1599
+ if (shouldDropCurrentNode) {
1600
+ // Drop non-containing blocks.
1601
+ result = result.filter(ancestor => ancestor !== currentNode);
1602
+ } else {
1603
+ // Record last containing block for next iteration.
1604
+ currentContainingBlockComputedStyle = computedStyle;
1605
+ }
1606
+ currentNode = getParentNode(currentNode);
1607
+ }
1608
+ cache.set(element, result);
1609
+ return result;
1610
+ }
1611
+
1612
+ // Gets the maximum area that the element is visible in due to any number of
1613
+ // clipping ancestors.
1614
+ function getClippingRect(_ref) {
1615
+ let {
1616
+ element,
1617
+ boundary,
1618
+ rootBoundary,
1619
+ strategy
1620
+ } = _ref;
1621
+ const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
1622
+ const clippingAncestors = [...elementClippingAncestors, rootBoundary];
1623
+ const firstClippingAncestor = clippingAncestors[0];
1624
+ const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
1625
+ const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
1626
+ accRect.top = max(rect.top, accRect.top);
1627
+ accRect.right = min(rect.right, accRect.right);
1628
+ accRect.bottom = min(rect.bottom, accRect.bottom);
1629
+ accRect.left = max(rect.left, accRect.left);
1630
+ return accRect;
1631
+ }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
1632
+ return {
1633
+ width: clippingRect.right - clippingRect.left,
1634
+ height: clippingRect.bottom - clippingRect.top,
1635
+ x: clippingRect.left,
1636
+ y: clippingRect.top
1637
+ };
1638
+ }
1639
+
1640
+ function getDimensions(element) {
1641
+ const {
1642
+ width,
1643
+ height
1644
+ } = getCssDimensions(element);
1645
+ return {
1646
+ width,
1647
+ height
1648
+ };
1649
+ }
1650
+
1651
+ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
1652
+ const isOffsetParentAnElement = isHTMLElement(offsetParent);
1653
+ const documentElement = getDocumentElement(offsetParent);
1654
+ const isFixed = strategy === 'fixed';
1655
+ const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
1656
+ let scroll = {
1657
+ scrollLeft: 0,
1658
+ scrollTop: 0
1659
+ };
1660
+ const offsets = createCoords(0);
1661
+ if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1662
+ if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
1663
+ scroll = getNodeScroll(offsetParent);
1664
+ }
1665
+ if (isOffsetParentAnElement) {
1666
+ const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
1667
+ offsets.x = offsetRect.x + offsetParent.clientLeft;
1668
+ offsets.y = offsetRect.y + offsetParent.clientTop;
1669
+ } else if (documentElement) {
1670
+ offsets.x = getWindowScrollBarX(documentElement);
1671
+ }
1672
+ }
1673
+ const x = rect.left + scroll.scrollLeft - offsets.x;
1674
+ const y = rect.top + scroll.scrollTop - offsets.y;
1675
+ return {
1676
+ x,
1677
+ y,
1678
+ width: rect.width,
1679
+ height: rect.height
1680
+ };
1681
+ }
1682
+
1683
+ function isStaticPositioned(element) {
1684
+ return getComputedStyle(element).position === 'static';
1685
+ }
1686
+
1687
+ function getTrueOffsetParent(element, polyfill) {
1688
+ if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {
1689
+ return null;
1690
+ }
1691
+ if (polyfill) {
1692
+ return polyfill(element);
1693
+ }
1694
+ return element.offsetParent;
1695
+ }
1696
+
1697
+ // Gets the closest ancestor positioned element. Handles some edge cases,
1698
+ // such as table ancestors and cross browser bugs.
1699
+ function getOffsetParent(element, polyfill) {
1700
+ const win = getWindow(element);
1701
+ if (isTopLayer(element)) {
1702
+ return win;
1703
+ }
1704
+ if (!isHTMLElement(element)) {
1705
+ let svgOffsetParent = getParentNode(element);
1706
+ while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
1707
+ if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
1708
+ return svgOffsetParent;
1709
+ }
1710
+ svgOffsetParent = getParentNode(svgOffsetParent);
1711
+ }
1712
+ return win;
1713
+ }
1714
+ let offsetParent = getTrueOffsetParent(element, polyfill);
1715
+ while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
1716
+ offsetParent = getTrueOffsetParent(offsetParent, polyfill);
1717
+ }
1718
+ if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
1719
+ return win;
1720
+ }
1721
+ return offsetParent || getContainingBlock(element) || win;
1722
+ }
1723
+
1724
+ const getElementRects = async function (data) {
1725
+ const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
1726
+ const getDimensionsFn = this.getDimensions;
1727
+ const floatingDimensions = await getDimensionsFn(data.floating);
1728
+ return {
1729
+ reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
1730
+ floating: {
1731
+ x: 0,
1732
+ y: 0,
1733
+ width: floatingDimensions.width,
1734
+ height: floatingDimensions.height
1735
+ }
1736
+ };
1737
+ };
1738
+
1739
+ function isRTL(element) {
1740
+ return getComputedStyle(element).direction === 'rtl';
1741
+ }
1742
+
1743
+ const platform = {
1744
+ convertOffsetParentRelativeRectToViewportRelativeRect,
1745
+ getDocumentElement,
1746
+ getClippingRect,
1747
+ getOffsetParent,
1748
+ getElementRects,
1749
+ getClientRects,
1750
+ getDimensions,
1751
+ getScale,
1752
+ isElement,
1753
+ isRTL
1754
+ };
1755
+
1756
+ // https://samthor.au/2021/observing-dom/
1757
+ function observeMove(element, onMove) {
1758
+ let io = null;
1759
+ let timeoutId;
1760
+ const root = getDocumentElement(element);
1761
+ function cleanup() {
1762
+ var _io;
1763
+ clearTimeout(timeoutId);
1764
+ (_io = io) == null || _io.disconnect();
1765
+ io = null;
1766
+ }
1767
+ function refresh(skip, threshold) {
1768
+ if (skip === void 0) {
1769
+ skip = false;
1770
+ }
1771
+ if (threshold === void 0) {
1772
+ threshold = 1;
1773
+ }
1774
+ cleanup();
1775
+ const {
1776
+ left,
1777
+ top,
1778
+ width,
1779
+ height
1780
+ } = element.getBoundingClientRect();
1781
+ if (!skip) {
1782
+ onMove();
1783
+ }
1784
+ if (!width || !height) {
1785
+ return;
1786
+ }
1787
+ const insetTop = floor(top);
1788
+ const insetRight = floor(root.clientWidth - (left + width));
1789
+ const insetBottom = floor(root.clientHeight - (top + height));
1790
+ const insetLeft = floor(left);
1791
+ const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
1792
+ const options = {
1793
+ rootMargin,
1794
+ threshold: max(0, min(1, threshold)) || 1
1795
+ };
1796
+ let isFirstUpdate = true;
1797
+ function handleObserve(entries) {
1798
+ const ratio = entries[0].intersectionRatio;
1799
+ if (ratio !== threshold) {
1800
+ if (!isFirstUpdate) {
1801
+ return refresh();
1802
+ }
1803
+ if (!ratio) {
1804
+ // If the reference is clipped, the ratio is 0. Throttle the refresh
1805
+ // to prevent an infinite loop of updates.
1806
+ timeoutId = setTimeout(() => {
1807
+ refresh(false, 1e-7);
1808
+ }, 1000);
1809
+ } else {
1810
+ refresh(false, ratio);
1811
+ }
1812
+ }
1813
+ isFirstUpdate = false;
1814
+ }
1815
+
1816
+ // Older browsers don't support a `document` as the root and will throw an
1817
+ // error.
1818
+ try {
1819
+ io = new IntersectionObserver(handleObserve, {
1820
+ ...options,
1821
+ // Handle <iframe>s
1822
+ root: root.ownerDocument
1823
+ });
1824
+ } catch (e) {
1825
+ io = new IntersectionObserver(handleObserve, options);
1826
+ }
1827
+ io.observe(element);
1828
+ }
1829
+ refresh(true);
1830
+ return cleanup;
1831
+ }
1832
+
1833
+ /**
1834
+ * Automatically updates the position of the floating element when necessary.
1835
+ * Should only be called when the floating element is mounted on the DOM or
1836
+ * visible on the screen.
1837
+ * @returns cleanup function that should be invoked when the floating element is
1838
+ * removed from the DOM or hidden from the screen.
1839
+ * @see https://floating-ui.com/docs/autoUpdate
1840
+ */
1841
+ function autoUpdate(reference, floating, update, options) {
1842
+ if (options === void 0) {
1843
+ options = {};
1844
+ }
1845
+ const {
1846
+ ancestorScroll = true,
1847
+ ancestorResize = true,
1848
+ elementResize = typeof ResizeObserver === 'function',
1849
+ layoutShift = typeof IntersectionObserver === 'function',
1850
+ animationFrame = false
1851
+ } = options;
1852
+ const referenceEl = unwrapElement(reference);
1853
+ const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
1854
+ ancestors.forEach(ancestor => {
1855
+ ancestorScroll && ancestor.addEventListener('scroll', update, {
1856
+ passive: true
1857
+ });
1858
+ ancestorResize && ancestor.addEventListener('resize', update);
1859
+ });
1860
+ const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
1861
+ let reobserveFrame = -1;
1862
+ let resizeObserver = null;
1863
+ if (elementResize) {
1864
+ resizeObserver = new ResizeObserver(_ref => {
1865
+ let [firstEntry] = _ref;
1866
+ if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
1867
+ // Prevent update loops when using the `size` middleware.
1868
+ // https://github.com/floating-ui/floating-ui/issues/1740
1869
+ resizeObserver.unobserve(floating);
1870
+ cancelAnimationFrame(reobserveFrame);
1871
+ reobserveFrame = requestAnimationFrame(() => {
1872
+ var _resizeObserver;
1873
+ (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
1874
+ });
1875
+ }
1876
+ update();
1877
+ });
1878
+ if (referenceEl && !animationFrame) {
1879
+ resizeObserver.observe(referenceEl);
1880
+ }
1881
+ resizeObserver.observe(floating);
1882
+ }
1883
+ let frameId;
1884
+ let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
1885
+ if (animationFrame) {
1886
+ frameLoop();
1887
+ }
1888
+ function frameLoop() {
1889
+ const nextRefRect = getBoundingClientRect(reference);
1890
+ if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
1891
+ update();
1892
+ }
1893
+ prevRefRect = nextRefRect;
1894
+ frameId = requestAnimationFrame(frameLoop);
1895
+ }
1896
+ update();
1897
+ return () => {
1898
+ var _resizeObserver2;
1899
+ ancestors.forEach(ancestor => {
1900
+ ancestorScroll && ancestor.removeEventListener('scroll', update);
1901
+ ancestorResize && ancestor.removeEventListener('resize', update);
1902
+ });
1903
+ cleanupIo == null || cleanupIo();
1904
+ (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
1905
+ resizeObserver = null;
1906
+ if (animationFrame) {
1907
+ cancelAnimationFrame(frameId);
1908
+ }
1909
+ };
1910
+ }
1911
+
1912
+ /**
1913
+ * Modifies the placement by translating the floating element along the
1914
+ * specified axes.
1915
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
1916
+ * object may be passed.
1917
+ * @see https://floating-ui.com/docs/offset
1918
+ */
1919
+ const offset = offset$1;
1920
+
1921
+ /**
1922
+ * Optimizes the visibility of the floating element by choosing the placement
1923
+ * that has the most space available automatically, without needing to specify a
1924
+ * preferred placement. Alternative to `flip`.
1925
+ * @see https://floating-ui.com/docs/autoPlacement
1926
+ */
1927
+ autoPlacement;
1928
+
1929
+ /**
1930
+ * Optimizes the visibility of the floating element by shifting it in order to
1931
+ * keep it in view when it will overflow the clipping boundary.
1932
+ * @see https://floating-ui.com/docs/shift
1933
+ */
1934
+ const shift = shift$1;
1935
+
1936
+ /**
1937
+ * Optimizes the visibility of the floating element by flipping the `placement`
1938
+ * in order to keep it in view when the preferred placement(s) will overflow the
1939
+ * clipping boundary. Alternative to `autoPlacement`.
1940
+ * @see https://floating-ui.com/docs/flip
1941
+ */
1942
+ const flip = flip$1;
1943
+
1944
+ /**
1945
+ * Provides data that allows you to change the size of the floating element —
1946
+ * for instance, prevent it from overflowing the clipping boundary or match the
1947
+ * width of the reference element.
1948
+ * @see https://floating-ui.com/docs/size
1949
+ */
1950
+ size;
1951
+
1952
+ /**
1953
+ * Provides data to hide the floating element in applicable situations, such as
1954
+ * when it is not in the same clipping context as the reference element.
1955
+ * @see https://floating-ui.com/docs/hide
1956
+ */
1957
+ const hide = hide$1;
1958
+
1959
+ /**
1960
+ * Provides data to position an inner element of the floating element so that it
1961
+ * appears centered to the reference element.
1962
+ * @see https://floating-ui.com/docs/arrow
1963
+ */
1964
+ const arrow = arrow$1;
1965
+
1966
+ /**
1967
+ * Provides improved positioning for inline reference elements that can span
1968
+ * over multiple lines, such as hyperlinks or range selections.
1969
+ * @see https://floating-ui.com/docs/inline
1970
+ */
1971
+ const inline = inline$1;
1972
+
1973
+ /**
1974
+ * Built-in `limiter` that will stop `shift()` at a certain point.
1975
+ */
1976
+ limitShift;
1977
+
1978
+ /**
1979
+ * Computes the `x` and `y` coordinates that will place the floating element
1980
+ * next to a given reference element.
1981
+ */
1982
+ const computePosition = (reference, floating, options) => {
1983
+ // This caches the expensive `getClippingElementAncestors` function so that
1984
+ // multiple lifecycle resets re-use the same result. It only lives for a
1985
+ // single call. If other functions become expensive, we can add them as well.
1986
+ const cache = new Map();
1987
+ const mergedOptions = {
1988
+ platform,
1989
+ ...options
1990
+ };
1991
+ const platformWithCache = {
1992
+ ...mergedOptions.platform,
1993
+ _c: cache
1994
+ };
1995
+ return computePosition$1(reference, floating, {
1996
+ ...mergedOptions,
1997
+ platform: platformWithCache
1998
+ });
1999
+ };
2000
+
2001
+ exports.arrow = arrow;
2002
+ exports.autoUpdate = autoUpdate;
2003
+ exports.computePosition = computePosition;
2004
+ exports.flip = flip;
2005
+ exports.hide = hide;
2006
+ exports.inline = inline;
2007
+ exports.offset = offset;
2008
+ exports.shift = shift;
2009
+
2010
+ //# sourceMappingURL=floating-ui.dom.esm-9dde6cd6.js.map