@siemens/ix 1.6.3 → 2.0.0-beta.1

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 (1549) hide show
  1. package/dist/cjs/a11y-fa9abd92.js +82 -0
  2. package/dist/cjs/a11y-fa9abd92.js.map +1 -0
  3. package/dist/cjs/base-button-c158438e.js +50 -0
  4. package/dist/cjs/base-button-c158438e.js.map +1 -0
  5. package/dist/cjs/base-icon-button-bbca2582.js +20 -0
  6. package/dist/cjs/base-icon-button-bbca2582.js.map +1 -0
  7. package/dist/cjs/breakpoints-e19e827e.js +27 -0
  8. package/dist/cjs/breakpoints-e19e827e.js.map +1 -0
  9. package/dist/cjs/context-0fdf2fa1.js +106 -0
  10. package/dist/cjs/context-0fdf2fa1.js.map +1 -0
  11. package/dist/cjs/flip-tile-state-183236a1.js +20 -0
  12. package/dist/cjs/flip-tile-state-183236a1.js.map +1 -0
  13. package/dist/cjs/floating-ui.dom.esm-3b936e26.js +1520 -0
  14. package/dist/cjs/floating-ui.dom.esm-3b936e26.js.map +1 -0
  15. package/dist/cjs/icon-9e9f2faf.js +114 -0
  16. package/dist/cjs/icon-9e9f2faf.js.map +1 -0
  17. package/dist/cjs/index-1061a1c1.js +8 -0
  18. package/dist/cjs/index-1061a1c1.js.map +1 -0
  19. package/dist/cjs/index-be499a74.js +2287 -0
  20. package/dist/cjs/index-be499a74.js.map +1 -0
  21. package/dist/cjs/index.cjs.js +48 -9
  22. package/dist/cjs/index.cjs.js.map +1 -1
  23. package/dist/cjs/ix-action-card.cjs.entry.js +3 -3
  24. package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ix-application-header.cjs.entry.js +26 -18
  26. package/dist/cjs/ix-application-header.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ix-application-sidebar.cjs.entry.js +47 -0
  28. package/dist/cjs/ix-application-sidebar.cjs.entry.js.map +1 -0
  29. package/dist/cjs/ix-application.cjs.entry.js +109 -0
  30. package/dist/cjs/ix-application.cjs.entry.js.map +1 -0
  31. package/dist/cjs/ix-avatar.cjs.entry.js +39 -0
  32. package/dist/cjs/ix-avatar.cjs.entry.js.map +1 -0
  33. package/dist/cjs/ix-basic-navigation.cjs.entry.js +51 -19
  34. package/dist/cjs/ix-basic-navigation.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ix-blind.cjs.entry.js +6 -14
  36. package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +100 -92
  38. package/dist/cjs/ix-breadcrumb_2.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ix-burger-menu.cjs.entry.js +7 -3
  40. package/dist/cjs/ix-burger-menu.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ix-button.cjs.entry.js +25 -8
  42. package/dist/cjs/ix-button.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +2 -2
  44. package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ix-card-list.cjs.entry.js +2 -2
  46. package/dist/cjs/ix-card-list.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ix-card_2.cjs.entry.js +36 -0
  48. package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -0
  49. package/dist/cjs/ix-category-filter.cjs.entry.js +73 -40
  50. package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ix-chip.cjs.entry.js +23 -15
  52. package/dist/cjs/ix-chip.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ix-col.cjs.entry.js +77 -0
  54. package/dist/cjs/ix-col.cjs.entry.js.map +1 -0
  55. package/dist/cjs/ix-content-header.cjs.entry.js +3 -3
  56. package/dist/cjs/ix-content-header.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ix-content.cjs.entry.js +32 -0
  58. package/dist/cjs/ix-content.cjs.entry.js.map +1 -0
  59. package/dist/cjs/ix-css-grid-item.cjs.entry.js +1 -1
  60. package/dist/cjs/ix-css-grid-item.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ix-css-grid.cjs.entry.js +1 -1
  62. package/dist/cjs/ix-css-grid.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ix-date-picker_2.cjs.entry.js +8 -9
  64. package/dist/cjs/ix-date-picker_2.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ix-date-time-card.cjs.entry.js +2 -3
  66. package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -2
  68. package/dist/cjs/ix-datetime-picker.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ix-divider.cjs.entry.js +1 -1
  70. package/dist/cjs/ix-drawer.cjs.entry.js +5 -2
  71. package/dist/cjs/ix-drawer.cjs.entry.js.map +1 -1
  72. package/dist/cjs/ix-dropdown-button.cjs.entry.js +8 -6
  73. package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ix-dropdown-header.cjs.entry.js +22 -0
  75. package/dist/cjs/ix-dropdown-header.cjs.entry.js.map +1 -0
  76. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
  77. package/dist/cjs/ix-dropdown_2.cjs.entry.js +65 -33
  78. package/dist/cjs/ix-dropdown_2.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ix-empty-state.cjs.entry.js +2 -2
  80. package/dist/cjs/ix-empty-state.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ix-event-list_2.cjs.entry.js +44 -25
  82. package/dist/cjs/ix-event-list_2.cjs.entry.js.map +1 -1
  83. package/dist/cjs/ix-expanding-search.cjs.entry.js +5 -8
  84. package/dist/cjs/ix-expanding-search.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ix-filter-chip.cjs.entry.js +4 -3
  86. package/dist/cjs/ix-filter-chip.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ix-flip-tile_2.cjs.entry.js +29 -19
  88. package/dist/cjs/ix-flip-tile_2.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ix-form-field.cjs.entry.js +27 -0
  90. package/dist/cjs/ix-form-field.cjs.entry.js.map +1 -0
  91. package/dist/cjs/ix-grid.cjs.entry.js +29 -0
  92. package/dist/cjs/ix-grid.cjs.entry.js.map +1 -0
  93. package/dist/cjs/ix-group-context-menu.cjs.entry.js +26 -14
  94. package/dist/cjs/ix-group-context-menu.cjs.entry.js.map +1 -1
  95. package/dist/cjs/ix-group_2.cjs.entry.js +159 -0
  96. package/dist/cjs/ix-group_2.cjs.entry.js.map +1 -0
  97. package/dist/cjs/ix-icon-button.cjs.entry.js +23 -10
  98. package/dist/cjs/ix-icon-button.cjs.entry.js.map +1 -1
  99. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +88 -0
  100. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js.map +1 -0
  101. package/dist/cjs/ix-icon.cjs.entry.js +2 -2
  102. package/dist/cjs/ix-input-group.cjs.entry.js +85 -18
  103. package/dist/cjs/ix-input-group.cjs.entry.js.map +1 -1
  104. package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
  105. package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
  106. package/dist/cjs/ix-kpi.cjs.entry.js +2 -2
  107. package/dist/cjs/ix-kpi.cjs.entry.js.map +1 -1
  108. package/dist/cjs/ix-link-button.cjs.entry.js +30 -0
  109. package/dist/cjs/ix-link-button.cjs.entry.js.map +1 -0
  110. package/dist/cjs/ix-map-navigation_2.cjs.entry.js +26 -8
  111. package/dist/cjs/ix-map-navigation_2.cjs.entry.js.map +1 -1
  112. package/dist/cjs/ix-menu-category.cjs.entry.js +139 -0
  113. package/dist/cjs/ix-menu-category.cjs.entry.js.map +1 -0
  114. package/dist/cjs/ix-menu_9.cjs.entry.js +286 -347
  115. package/dist/cjs/ix-menu_9.cjs.entry.js.map +1 -1
  116. package/dist/cjs/ix-message-bar.cjs.entry.js +2 -2
  117. package/dist/cjs/ix-message-bar.cjs.entry.js.map +1 -1
  118. package/dist/cjs/ix-modal-content.cjs.entry.js +21 -0
  119. package/dist/cjs/ix-modal-content.cjs.entry.js.map +1 -0
  120. package/dist/cjs/ix-modal-example.cjs.entry.js +6 -4
  121. package/dist/cjs/ix-modal-example.cjs.entry.js.map +1 -1
  122. package/dist/cjs/ix-modal-footer.cjs.entry.js +21 -0
  123. package/dist/cjs/ix-modal-footer.cjs.entry.js.map +1 -0
  124. package/dist/cjs/ix-modal-header.cjs.entry.js +48 -0
  125. package/dist/cjs/ix-modal-header.cjs.entry.js.map +1 -0
  126. package/dist/cjs/ix-modal-loading.cjs.entry.js +21 -0
  127. package/dist/cjs/ix-modal-loading.cjs.entry.js.map +1 -0
  128. package/dist/cjs/ix-modal.cjs.entry.js +130 -0
  129. package/dist/cjs/ix-modal.cjs.entry.js.map +1 -0
  130. package/dist/cjs/ix-pagination.cjs.entry.js +32 -15
  131. package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
  132. package/dist/cjs/ix-pill.cjs.entry.js +28 -10
  133. package/dist/cjs/ix-pill.cjs.entry.js.map +1 -1
  134. package/dist/cjs/ix-push-card.cjs.entry.js +5 -2
  135. package/dist/cjs/ix-push-card.cjs.entry.js.map +1 -1
  136. package/dist/cjs/ix-row.cjs.entry.js +21 -0
  137. package/dist/cjs/ix-row.cjs.entry.js.map +1 -0
  138. package/dist/cjs/ix-select_2.cjs.entry.js +85 -54
  139. package/dist/cjs/ix-select_2.cjs.entry.js.map +1 -1
  140. package/dist/cjs/ix-spinner.cjs.entry.js +10 -3
  141. package/dist/cjs/ix-spinner.cjs.entry.js.map +1 -1
  142. package/dist/cjs/ix-split-button_2.cjs.entry.js +17 -11
  143. package/dist/cjs/ix-split-button_2.cjs.entry.js.map +1 -1
  144. package/dist/cjs/ix-tab-item.cjs.entry.js +11 -3
  145. package/dist/cjs/ix-tab-item.cjs.entry.js.map +1 -1
  146. package/dist/cjs/ix-tabs.cjs.entry.js +34 -11
  147. package/dist/cjs/ix-tabs.cjs.entry.js.map +1 -1
  148. package/dist/cjs/ix-tile.cjs.entry.js +18 -3
  149. package/dist/cjs/ix-tile.cjs.entry.js.map +1 -1
  150. package/dist/cjs/ix-toast_2.cjs.entry.js +6 -7
  151. package/dist/cjs/ix-toast_2.cjs.entry.js.map +1 -1
  152. package/dist/cjs/ix-toggle-button.cjs.entry.js +77 -0
  153. package/dist/cjs/ix-toggle-button.cjs.entry.js.map +1 -0
  154. package/dist/cjs/ix-toggle.cjs.entry.js +11 -30
  155. package/dist/cjs/ix-toggle.cjs.entry.js.map +1 -1
  156. package/dist/cjs/ix-tooltip.cjs.entry.js +2 -2
  157. package/dist/cjs/ix-tree_2.cjs.entry.js +16 -9
  158. package/dist/cjs/ix-tree_2.cjs.entry.js.map +1 -1
  159. package/dist/cjs/ix-typography.cjs.entry.js +59 -0
  160. package/dist/cjs/ix-typography.cjs.entry.js.map +1 -0
  161. package/dist/cjs/ix-upload.cjs.entry.js +19 -7
  162. package/dist/cjs/ix-upload.cjs.entry.js.map +1 -1
  163. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +12 -25
  164. package/dist/cjs/ix-validation-tooltip.cjs.entry.js.map +1 -1
  165. package/dist/cjs/ix-workflow-step_2.cjs.entry.js +20 -28
  166. package/dist/cjs/ix-workflow-step_2.cjs.entry.js.map +1 -1
  167. package/dist/cjs/loader.cjs.js +2 -2
  168. package/dist/cjs/menu-service-f7ef5265.js +159 -0
  169. package/dist/cjs/menu-service-f7ef5265.js.map +1 -0
  170. package/dist/cjs/modal-26ae4715.js +253 -0
  171. package/dist/cjs/modal-26ae4715.js.map +1 -0
  172. package/dist/cjs/my-component.cjs.entry.js +1 -1
  173. package/dist/cjs/my-component.cjs.entry.js.map +1 -1
  174. package/dist/cjs/shadow-dom-9b10f758.js +24 -0
  175. package/dist/cjs/shadow-dom-9b10f758.js.map +1 -0
  176. package/dist/cjs/siemens-ix.cjs.js +2 -2
  177. package/dist/cjs/theme-switcher-d0386ac9.js +126 -0
  178. package/dist/cjs/theme-switcher-d0386ac9.js.map +1 -0
  179. package/dist/collection/collection-manifest.json +31 -33
  180. package/dist/collection/components/action-card/action-card.css +36 -0
  181. package/dist/collection/components/action-card/action-card.js +1 -1
  182. package/dist/collection/components/action-card/action-card.js.map +1 -1
  183. package/dist/collection/components/application/application.css +106 -0
  184. package/dist/collection/components/application/application.js +220 -0
  185. package/dist/collection/components/application/application.js.map +1 -0
  186. package/dist/collection/components/application-header/application-header.css +4 -2
  187. package/dist/collection/components/application-header/application-header.js +23 -16
  188. package/dist/collection/components/application-header/application-header.js.map +1 -1
  189. package/dist/collection/components/application-header/test/application-headet.ct.js +20 -0
  190. package/dist/collection/components/application-header/test/application-headet.ct.js.map +1 -0
  191. package/dist/collection/components/application-sidebar/application-sidebar.css +69 -0
  192. package/dist/collection/components/application-sidebar/application-sidebar.js +70 -0
  193. package/dist/collection/components/application-sidebar/application-sidebar.js.map +1 -0
  194. package/dist/collection/components/application-sidebar/events.js +15 -0
  195. package/dist/collection/components/application-sidebar/events.js.map +1 -0
  196. package/dist/collection/components/avatar/avatar.css +70 -0
  197. package/dist/collection/components/avatar/avatar.js +80 -0
  198. package/dist/collection/components/avatar/avatar.js.map +1 -0
  199. package/dist/collection/components/basic-navigation/basic-navigation.css +69 -4
  200. package/dist/collection/components/basic-navigation/basic-navigation.js +100 -19
  201. package/dist/collection/components/basic-navigation/basic-navigation.js.map +1 -1
  202. package/dist/collection/components/blind/blind.css +23 -8
  203. package/dist/collection/components/blind/blind.js +23 -2
  204. package/dist/collection/components/blind/blind.js.map +1 -1
  205. package/dist/collection/components/breadcrumb/breadcrumb.css +49 -153
  206. package/dist/collection/components/breadcrumb/breadcrumb.js +80 -92
  207. package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
  208. package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js +97 -0
  209. package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js.map +1 -0
  210. package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +1063 -1
  211. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +153 -3
  212. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
  213. package/dist/collection/components/button/base-button.js +10 -1
  214. package/dist/collection/components/button/base-button.js.map +1 -1
  215. package/dist/collection/components/button/button.css +298 -204
  216. package/dist/collection/components/button/button.js +95 -37
  217. package/dist/collection/components/button/button.js.map +1 -1
  218. package/dist/collection/components/button/test/button.ct.js +36 -0
  219. package/dist/collection/components/button/test/button.ct.js.map +1 -0
  220. package/dist/collection/components/card/card.css +36 -0
  221. package/dist/collection/components/card-accordion/card-accordion.css +37 -0
  222. package/dist/collection/components/card-content/card-content.css +36 -0
  223. package/dist/collection/components/card-list/card-list.css +36 -0
  224. package/dist/collection/components/category-filter/category-filter.css +1303 -4
  225. package/dist/collection/components/category-filter/category-filter.js +115 -55
  226. package/dist/collection/components/category-filter/category-filter.js.map +1 -1
  227. package/dist/collection/components/chip/chip.css +185 -149
  228. package/dist/collection/components/chip/chip.js +22 -14
  229. package/dist/collection/components/chip/chip.js.map +1 -1
  230. package/dist/collection/components/col/col.css +19 -0
  231. package/dist/collection/components/col/col.js +189 -0
  232. package/dist/collection/components/col/col.js.map +1 -0
  233. package/dist/collection/components/content/content.css +75 -0
  234. package/dist/collection/components/content/content.js +46 -0
  235. package/dist/collection/components/content/content.js.map +1 -0
  236. package/dist/collection/components/content-header/content-header.js +4 -4
  237. package/dist/collection/components/content-header/content-header.js.map +1 -1
  238. package/dist/collection/components/css-grid/builder.js.map +1 -0
  239. package/dist/collection/components/css-grid/css-grid-item.js.map +1 -0
  240. package/dist/collection/components/css-grid/css-grid.js +123 -0
  241. package/dist/collection/components/css-grid/css-grid.js.map +1 -0
  242. package/dist/collection/components/date-picker/date-picker.css +50 -2
  243. package/dist/collection/components/date-picker/date-picker.js +4 -4
  244. package/dist/collection/components/date-picker/date-picker.js.map +1 -1
  245. package/dist/collection/components/date-time-card/date-time-card.css +66 -8
  246. package/dist/collection/components/date-time-card/date-time-card.js +1 -2
  247. package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
  248. package/dist/collection/components/datetime-picker/datetime-picker.css +52 -6
  249. package/dist/collection/components/datetime-picker/datetime-picker.js +1 -1
  250. package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
  251. package/dist/collection/components/drawer/drawer.css +36 -0
  252. package/dist/collection/components/drawer/drawer.js +3 -0
  253. package/dist/collection/components/drawer/drawer.js.map +1 -1
  254. package/dist/collection/components/drawer/test/drawer.ct.js +47 -0
  255. package/dist/collection/components/drawer/test/drawer.ct.js.map +1 -0
  256. package/dist/collection/components/dropdown/dropdown.css +39 -458
  257. package/dist/collection/components/dropdown/dropdown.js +77 -63
  258. package/dist/collection/components/dropdown/dropdown.js.map +1 -1
  259. package/dist/collection/components/dropdown/placement.js.map +1 -1
  260. package/dist/collection/components/dropdown-button/dropdown-button.css +62 -6
  261. package/dist/collection/components/dropdown-button/dropdown-button.js +39 -9
  262. package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
  263. package/dist/collection/components/dropdown-header/dropdown-header.css +68 -0
  264. package/dist/collection/components/dropdown-header/dropdown-header.js +54 -0
  265. package/dist/collection/components/dropdown-header/dropdown-header.js.map +1 -0
  266. package/dist/collection/components/dropdown-item/dropdown-item.css +112 -28
  267. package/dist/collection/components/dropdown-item/dropdown-item.js +57 -12
  268. package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -1
  269. package/dist/collection/components/empty-state/empty-state.css +38 -0
  270. package/dist/collection/components/event-list/event-list.css +56 -35
  271. package/dist/collection/components/event-list/event-list.js +35 -16
  272. package/dist/collection/components/event-list/event-list.js.map +1 -1
  273. package/dist/collection/components/event-list-item/event-list-item.css +100 -35
  274. package/dist/collection/components/event-list-item/event-list-item.js +17 -10
  275. package/dist/collection/components/event-list-item/event-list-item.js.map +1 -1
  276. package/dist/collection/components/expanding-search/expanding-search.css +306 -9
  277. package/dist/collection/components/expanding-search/expanding-search.js +4 -7
  278. package/dist/collection/components/expanding-search/expanding-search.js.map +1 -1
  279. package/dist/collection/components/expanding-search/test/expanding-search.ct.js +56 -0
  280. package/dist/collection/components/expanding-search/test/expanding-search.ct.js.map +1 -0
  281. package/dist/collection/components/filter-chip/filter-chip.css +83 -23
  282. package/dist/collection/components/filter-chip/filter-chip.js +24 -2
  283. package/dist/collection/components/filter-chip/filter-chip.js.map +1 -1
  284. package/dist/collection/components/flip-tile/flip-tile-state.js +5 -5
  285. package/dist/collection/components/flip-tile/flip-tile-state.js.map +1 -1
  286. package/dist/collection/components/flip-tile/flip-tile.css +208 -0
  287. package/dist/collection/components/flip-tile/flip-tile.js +25 -36
  288. package/dist/collection/components/flip-tile/flip-tile.js.map +1 -1
  289. package/dist/collection/components/flip-tile/test/flip-tile.ct.js +57 -0
  290. package/dist/collection/components/flip-tile/test/flip-tile.ct.js.map +1 -0
  291. package/dist/collection/components/flip-tile-content/flip-tile-content.js +29 -1
  292. package/dist/collection/components/flip-tile-content/flip-tile-content.js.map +1 -1
  293. package/dist/collection/components/form-field/form-field.css +234 -0
  294. package/dist/collection/components/form-field/form-field.js +56 -0
  295. package/dist/collection/components/form-field/form-field.js.map +1 -0
  296. package/dist/collection/components/grid/grid.css +26 -0
  297. package/dist/collection/components/grid/grid.js +98 -0
  298. package/dist/collection/components/grid/grid.js.map +1 -0
  299. package/dist/collection/components/group/group-context-menu.css +2 -3
  300. package/dist/collection/components/group/group-context-menu.js +27 -15
  301. package/dist/collection/components/group/group-context-menu.js.map +1 -1
  302. package/dist/collection/components/group/group.css +10 -4
  303. package/dist/collection/components/group/group.js +29 -48
  304. package/dist/collection/components/group/group.js.map +1 -1
  305. package/dist/collection/components/group-item/group-item.css +95 -33
  306. package/dist/collection/components/group-item/group-item.js +2 -2
  307. package/dist/collection/components/group-item/group-item.js.map +1 -1
  308. package/dist/collection/components/icon-button/base-icon-button.js +14 -0
  309. package/dist/collection/components/icon-button/base-icon-button.js.map +1 -0
  310. package/dist/collection/components/icon-button/icon-button.css +405 -165
  311. package/dist/collection/components/icon-button/icon-button.js +48 -50
  312. package/dist/collection/components/icon-button/icon-button.js.map +1 -1
  313. package/dist/collection/components/icon-button/test/icon-button.ct.js +26 -0
  314. package/dist/collection/components/icon-button/test/icon-button.ct.js.map +1 -0
  315. package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +618 -0
  316. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +274 -0
  317. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js.map +1 -0
  318. package/dist/collection/components/input-group/input-group.css +56 -1
  319. package/dist/collection/components/input-group/input-group.js +92 -17
  320. package/dist/collection/components/input-group/input-group.js.map +1 -1
  321. package/dist/collection/components/kpi/kpi.css +38 -2
  322. package/dist/collection/components/link-button/link-button.css +446 -0
  323. package/dist/collection/components/link-button/link-button.js +98 -0
  324. package/dist/collection/components/link-button/link-button.js.map +1 -0
  325. package/dist/collection/components/map-navigation/map-navigation.css +53 -1
  326. package/dist/collection/components/map-navigation/map-navigation.js +26 -7
  327. package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
  328. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +56 -0
  329. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +1 -1
  330. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js.map +1 -1
  331. package/dist/collection/components/menu/burger-menu.css +430 -5
  332. package/dist/collection/components/menu/burger-menu.js +42 -2
  333. package/dist/collection/components/menu/burger-menu.js.map +1 -1
  334. package/dist/collection/components/menu/menu.css +1766 -24
  335. package/dist/collection/components/menu/menu.js +289 -342
  336. package/dist/collection/components/menu/menu.js.map +1 -1
  337. package/dist/collection/components/menu/test/menu.ct.js +162 -0
  338. package/dist/collection/components/menu/test/menu.ct.js.map +1 -0
  339. package/dist/collection/components/menu-about/menu-about.css +2 -2
  340. package/dist/collection/components/menu-about/menu-about.js +9 -8
  341. package/dist/collection/components/menu-about/menu-about.js.map +1 -1
  342. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  343. package/dist/collection/components/menu-about-item/menu-about-item.js.map +1 -1
  344. package/dist/collection/components/menu-about-news/menu-about-news.css +55 -4
  345. package/dist/collection/components/menu-about-news/menu-about-news.js +3 -3
  346. package/dist/collection/components/menu-about-news/menu-about-news.js.map +1 -1
  347. package/dist/collection/components/menu-avatar/menu-avatar.css +58 -2
  348. package/dist/collection/components/menu-avatar/menu-avatar.js +3 -10
  349. package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
  350. package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +49 -2
  351. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +2 -2
  352. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js.map +1 -1
  353. package/dist/collection/components/menu-category/menu-category.css +104 -0
  354. package/dist/collection/components/menu-category/menu-category.js +212 -0
  355. package/dist/collection/components/menu-category/menu-category.js.map +1 -0
  356. package/dist/collection/components/menu-category/test/menu-category.ct.js +124 -0
  357. package/dist/collection/components/menu-category/test/menu-category.ct.js.map +1 -0
  358. package/dist/collection/components/menu-item/menu-item.css +17 -16
  359. package/dist/collection/components/menu-item/menu-item.js +46 -7
  360. package/dist/collection/components/menu-item/menu-item.js.map +1 -1
  361. package/dist/collection/components/menu-settings/menu-settings.css +53 -1
  362. package/dist/collection/components/menu-settings/menu-settings.js +9 -8
  363. package/dist/collection/components/menu-settings/menu-settings.js.map +1 -1
  364. package/dist/collection/components/menu-settings-item/menu-settings-item.css +0 -1
  365. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  366. package/dist/collection/components/menu-settings-item/menu-settings-item.js.map +1 -1
  367. package/dist/collection/components/message-bar/message-bar.css +38 -0
  368. package/dist/collection/components/modal/modal.css +58 -75
  369. package/dist/collection/components/modal/modal.js +143 -312
  370. package/dist/collection/components/modal/modal.js.map +1 -1
  371. package/dist/collection/components/modal-content/modal-content.css +63 -0
  372. package/dist/collection/components/modal-content/modal-content.js +30 -0
  373. package/dist/collection/components/modal-content/modal-content.js.map +1 -0
  374. package/dist/collection/components/modal-footer/modal-footer.css +66 -0
  375. package/dist/collection/components/modal-footer/modal-footer.js +30 -0
  376. package/dist/collection/components/modal-footer/modal-footer.js.map +1 -0
  377. package/dist/collection/components/modal-header/modal-header.css +70 -0
  378. package/dist/collection/components/modal-header/modal-header.js +139 -0
  379. package/dist/collection/components/modal-header/modal-header.js.map +1 -0
  380. package/dist/collection/components/modal-loading/modal-loading.css +22 -0
  381. package/dist/collection/components/modal-loading/modal-loading.js +30 -0
  382. package/dist/collection/components/modal-loading/modal-loading.js.map +1 -0
  383. package/dist/collection/components/my-component/example-modal.js +1 -1
  384. package/dist/collection/components/my-component/example-modal.js.map +1 -1
  385. package/dist/collection/components/my-component/my-component.js +1 -1
  386. package/dist/collection/components/my-component/my-component.js.map +1 -1
  387. package/dist/collection/components/pagination/pagination.css +919 -2
  388. package/dist/collection/components/pagination/pagination.js +31 -14
  389. package/dist/collection/components/pagination/pagination.js.map +1 -1
  390. package/dist/collection/components/pill/pill.css +138 -166
  391. package/dist/collection/components/pill/pill.js +27 -9
  392. package/dist/collection/components/pill/pill.js.map +1 -1
  393. package/dist/collection/components/push-card/push-card.js +4 -1
  394. package/dist/collection/components/push-card/push-card.js.map +1 -1
  395. package/dist/collection/components/row/row.css +17 -0
  396. package/dist/collection/components/row/row.js +30 -0
  397. package/dist/collection/components/row/row.js.map +1 -0
  398. package/dist/collection/components/select/select.css +75 -7
  399. package/dist/collection/components/select/select.js +149 -59
  400. package/dist/collection/components/select/select.js.map +1 -1
  401. package/dist/collection/components/select/test/select.ct.js +119 -0
  402. package/dist/collection/components/select/test/select.ct.js.map +1 -0
  403. package/dist/collection/components/select-item/select-item.css +12 -0
  404. package/dist/collection/components/select-item/select-item.js +4 -2
  405. package/dist/collection/components/select-item/select-item.js.map +1 -1
  406. package/dist/collection/components/spinner/spinner.css +576 -23
  407. package/dist/collection/components/spinner/spinner.js +33 -5
  408. package/dist/collection/components/spinner/spinner.js.map +1 -1
  409. package/dist/collection/components/split-button/split-button.css +76 -2
  410. package/dist/collection/components/split-button/split-button.js +17 -35
  411. package/dist/collection/components/split-button/split-button.js.map +1 -1
  412. package/dist/collection/components/split-button-item/split-button-item.css +1 -1
  413. package/dist/collection/components/split-button-item/split-button-item.js +5 -2
  414. package/dist/collection/components/split-button-item/split-button-item.js.map +1 -1
  415. package/dist/collection/components/tab-item/tab-item.css +149 -81
  416. package/dist/collection/components/tab-item/tab-item.js +35 -1
  417. package/dist/collection/components/tab-item/tab-item.js.map +1 -1
  418. package/dist/collection/components/tabs/tabs.css +73 -19
  419. package/dist/collection/components/tabs/tabs.js +59 -9
  420. package/dist/collection/components/tabs/tabs.js.map +1 -1
  421. package/dist/collection/components/tabs/test/tabs.ct.js +84 -0
  422. package/dist/collection/components/tabs/test/tabs.ct.js.map +1 -0
  423. package/dist/collection/components/tile/tile.css +90 -24
  424. package/dist/collection/components/tile/tile.js +23 -2
  425. package/dist/collection/components/tile/tile.js.map +1 -1
  426. package/dist/collection/components/time-picker/time-picker.css +522 -38
  427. package/dist/collection/components/time-picker/time-picker.js +3 -4
  428. package/dist/collection/components/time-picker/time-picker.js.map +1 -1
  429. package/dist/collection/components/toast/toast-container.js +2 -3
  430. package/dist/collection/components/toast/toast-container.js.map +1 -1
  431. package/dist/collection/components/toast/toast.css +73 -0
  432. package/dist/collection/components/toast/toast.js +5 -5
  433. package/dist/collection/components/toast/toast.js.map +1 -1
  434. package/dist/collection/components/toggle/test/toggle.ct.js +52 -0
  435. package/dist/collection/components/toggle/test/toggle.ct.js.map +1 -0
  436. package/dist/collection/components/toggle/toggle.css +100 -145
  437. package/dist/collection/components/toggle/toggle.js +11 -60
  438. package/dist/collection/components/toggle/toggle.js.map +1 -1
  439. package/dist/collection/components/toggle-button/toggle-button.css +447 -0
  440. package/dist/collection/components/toggle-button/toggle-button.js +246 -0
  441. package/dist/collection/components/toggle-button/toggle-button.js.map +1 -0
  442. package/dist/collection/components/tree/test/tree.ct.js +154 -0
  443. package/dist/collection/components/tree/test/tree.ct.js.map +1 -0
  444. package/dist/collection/components/tree/tree.js +14 -7
  445. package/dist/collection/components/tree/tree.js.map +1 -1
  446. package/dist/collection/components/tree-item/tree-item.css +56 -14
  447. package/dist/collection/components/tree-item/tree-item.js +1 -1
  448. package/dist/collection/components/tree-item/tree-item.js.map +1 -1
  449. package/dist/collection/components/typography/typography.css +444 -14
  450. package/dist/collection/components/typography/typography.js +96 -15
  451. package/dist/collection/components/typography/typography.js.map +1 -1
  452. package/dist/collection/components/upload/upload.css +60 -3
  453. package/dist/collection/components/upload/upload.js +18 -6
  454. package/dist/collection/components/upload/upload.js.map +1 -1
  455. package/dist/collection/components/utils/a11y.js +66 -0
  456. package/dist/collection/components/utils/a11y.js.map +1 -1
  457. package/dist/collection/components/utils/application-layout/context.js +19 -0
  458. package/dist/collection/components/utils/application-layout/context.js.map +1 -0
  459. package/dist/collection/components/utils/application-layout/index.js +10 -0
  460. package/dist/collection/components/utils/application-layout/index.js.map +1 -0
  461. package/dist/collection/components/utils/application-layout/service.js +92 -0
  462. package/dist/collection/components/utils/application-layout/service.js.map +1 -0
  463. package/dist/collection/components/utils/breakpoints.js +22 -0
  464. package/dist/collection/components/utils/breakpoints.js.map +1 -0
  465. package/dist/collection/components/utils/context.js +79 -0
  466. package/dist/collection/components/utils/context.js.map +1 -0
  467. package/dist/collection/components/utils/delegate.js +29 -0
  468. package/dist/collection/components/utils/delegate.js.map +1 -0
  469. package/dist/collection/components/utils/menu-service/menu-service.js +25 -0
  470. package/dist/collection/components/utils/menu-service/menu-service.js.map +1 -1
  471. package/dist/collection/components/utils/modal/index.js +12 -0
  472. package/dist/collection/components/utils/modal/index.js.map +1 -0
  473. package/dist/collection/components/utils/modal/loading.js +35 -0
  474. package/dist/collection/components/utils/modal/loading.js.map +1 -0
  475. package/dist/collection/components/utils/modal/message.js +138 -0
  476. package/dist/collection/components/utils/modal/message.js.map +1 -0
  477. package/dist/collection/components/utils/modal/modal.js +77 -0
  478. package/dist/collection/components/utils/modal/modal.js.map +1 -0
  479. package/dist/collection/components/utils/shadow-dom.js +25 -0
  480. package/dist/collection/components/utils/shadow-dom.js.map +1 -0
  481. package/dist/collection/components/utils/theme-switcher.js +35 -3
  482. package/dist/collection/components/utils/theme-switcher.js.map +1 -1
  483. package/dist/collection/components/validation-tooltip/validation-tooltip.js +35 -18
  484. package/dist/collection/components/validation-tooltip/validation-tooltip.js.map +1 -1
  485. package/dist/collection/components/workflow-step/workflow-step.css +53 -2
  486. package/dist/collection/components/workflow-step/workflow-step.js +8 -24
  487. package/dist/collection/components/workflow-step/workflow-step.js.map +1 -1
  488. package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js +74 -0
  489. package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js.map +1 -0
  490. package/dist/collection/components/workflow-steps/workflow-steps.css +51 -0
  491. package/dist/collection/components/workflow-steps/workflow-steps.js +23 -36
  492. package/dist/collection/components/workflow-steps/workflow-steps.js.map +1 -1
  493. package/dist/collection/index.js +2 -1
  494. package/dist/collection/index.js.map +1 -1
  495. package/dist/collection/tests/utils/test/page.js +12 -5
  496. package/dist/collection/tests/utils/test/page.js.map +1 -1
  497. package/dist/components/a11y.js +79 -0
  498. package/dist/components/a11y.js.map +1 -0
  499. package/dist/components/application-header.js +44 -18
  500. package/dist/components/application-header.js.map +1 -1
  501. package/dist/components/avatar.js +53 -0
  502. package/dist/components/avatar.js.map +1 -0
  503. package/dist/components/base-button.js +16 -2
  504. package/dist/components/base-button.js.map +1 -1
  505. package/dist/components/base-icon-button.js +18 -0
  506. package/dist/components/base-icon-button.js.map +1 -0
  507. package/dist/components/breadcrumb-item.js +99 -0
  508. package/dist/components/breadcrumb-item.js.map +1 -0
  509. package/dist/components/breakpoints.js +25 -0
  510. package/dist/components/breakpoints.js.map +1 -0
  511. package/dist/components/burger-menu.js +28 -4
  512. package/dist/components/burger-menu.js.map +1 -1
  513. package/dist/components/button.js +42 -11
  514. package/dist/components/button.js.map +1 -1
  515. package/dist/components/card-accordion.js +1 -1
  516. package/dist/components/card-accordion.js.map +1 -1
  517. package/dist/components/card-content.js +1 -1
  518. package/dist/components/card-content.js.map +1 -1
  519. package/dist/components/card.js +1 -1
  520. package/dist/components/card.js.map +1 -1
  521. package/dist/components/context.js +101 -0
  522. package/dist/components/context.js.map +1 -0
  523. package/dist/components/date-picker.js +22 -15
  524. package/dist/components/date-picker.js.map +1 -1
  525. package/dist/components/date-time-card.js +3 -3
  526. package/dist/components/date-time-card.js.map +1 -1
  527. package/dist/components/divider.js +32 -0
  528. package/dist/components/divider.js.map +1 -0
  529. package/dist/components/dropdown-item.js +19 -13
  530. package/dist/components/dropdown-item.js.map +1 -1
  531. package/dist/components/dropdown.js +50 -22
  532. package/dist/components/dropdown.js.map +1 -1
  533. package/dist/components/filter-chip.js +21 -6
  534. package/dist/components/filter-chip.js.map +1 -1
  535. package/dist/components/flip-tile-state.js +5 -5
  536. package/dist/components/flip-tile-state.js.map +1 -1
  537. package/dist/components/floating-ui.dom.esm.js +656 -637
  538. package/dist/components/floating-ui.dom.esm.js.map +1 -1
  539. package/dist/components/group-context-menu.js +37 -18
  540. package/dist/components/group-context-menu.js.map +1 -1
  541. package/dist/components/group-item.js +4 -3
  542. package/dist/components/group-item.js.map +1 -1
  543. package/dist/components/icon-button.js +31 -14
  544. package/dist/components/icon-button.js.map +1 -1
  545. package/dist/components/index.js +38 -3
  546. package/dist/components/index.js.map +1 -1
  547. package/dist/components/index2.js +6 -0
  548. package/dist/components/index2.js.map +1 -0
  549. package/dist/components/ix-action-card.js +2 -2
  550. package/dist/components/ix-action-card.js.map +1 -1
  551. package/dist/components/ix-application-sidebar.d.ts +11 -0
  552. package/dist/components/ix-application-sidebar.js +63 -0
  553. package/dist/components/ix-application-sidebar.js.map +1 -0
  554. package/dist/components/ix-application.d.ts +11 -0
  555. package/dist/components/ix-application.js +128 -0
  556. package/dist/components/ix-application.js.map +1 -0
  557. package/dist/components/ix-avatar.d.ts +11 -0
  558. package/dist/components/ix-avatar.js +8 -0
  559. package/dist/components/ix-avatar.js.map +1 -0
  560. package/dist/components/ix-basic-navigation.js +76 -24
  561. package/dist/components/ix-basic-navigation.js.map +1 -1
  562. package/dist/components/ix-blind.js +14 -15
  563. package/dist/components/ix-blind.js.map +1 -1
  564. package/dist/components/ix-breadcrumb-item.js +1 -32
  565. package/dist/components/ix-breadcrumb-item.js.map +1 -1
  566. package/dist/components/ix-breadcrumb.js +76 -98
  567. package/dist/components/ix-breadcrumb.js.map +1 -1
  568. package/dist/components/ix-card-list.js +17 -11
  569. package/dist/components/ix-card-list.js.map +1 -1
  570. package/dist/components/ix-category-filter.js +90 -49
  571. package/dist/components/ix-category-filter.js.map +1 -1
  572. package/dist/components/ix-chip.js +38 -17
  573. package/dist/components/ix-chip.js.map +1 -1
  574. package/dist/components/ix-col.d.ts +11 -0
  575. package/dist/components/ix-col.js +96 -0
  576. package/dist/components/ix-col.js.map +1 -0
  577. package/dist/components/ix-content-header.js +12 -6
  578. package/dist/components/ix-content-header.js.map +1 -1
  579. package/dist/components/ix-content.d.ts +11 -0
  580. package/dist/components/ix-content.js +48 -0
  581. package/dist/components/ix-content.js.map +1 -0
  582. package/dist/components/ix-css-grid-item.js.map +1 -1
  583. package/dist/components/ix-css-grid.js.map +1 -1
  584. package/dist/components/ix-datetime-picker.js +29 -16
  585. package/dist/components/ix-datetime-picker.js.map +1 -1
  586. package/dist/components/ix-divider.js +1 -28
  587. package/dist/components/ix-divider.js.map +1 -1
  588. package/dist/components/ix-drawer.js +14 -5
  589. package/dist/components/ix-drawer.js.map +1 -1
  590. package/dist/components/ix-dropdown-button.js +24 -14
  591. package/dist/components/ix-dropdown-button.js.map +1 -1
  592. package/dist/components/ix-dropdown-header.d.ts +11 -0
  593. package/dist/components/ix-dropdown-header.js +44 -0
  594. package/dist/components/ix-dropdown-header.js.map +1 -0
  595. package/dist/components/ix-empty-state.js +11 -5
  596. package/dist/components/ix-empty-state.js.map +1 -1
  597. package/dist/components/ix-event-list-item.js +21 -11
  598. package/dist/components/ix-event-list-item.js.map +1 -1
  599. package/dist/components/ix-event-list.js +34 -17
  600. package/dist/components/ix-event-list.js.map +1 -1
  601. package/dist/components/ix-expanding-search.js +16 -12
  602. package/dist/components/ix-expanding-search.js.map +1 -1
  603. package/dist/components/ix-flip-tile-content.js +5 -2
  604. package/dist/components/ix-flip-tile-content.js.map +1 -1
  605. package/dist/components/ix-flip-tile.js +37 -22
  606. package/dist/components/ix-flip-tile.js.map +1 -1
  607. package/dist/components/ix-form-field.d.ts +11 -0
  608. package/dist/components/ix-form-field.js +43 -0
  609. package/dist/components/ix-form-field.js.map +1 -0
  610. package/dist/components/ix-grid.d.ts +11 -0
  611. package/dist/components/ix-grid.js +47 -0
  612. package/dist/components/ix-grid.js.map +1 -0
  613. package/dist/components/ix-group.js +51 -49
  614. package/dist/components/ix-group.js.map +1 -1
  615. package/dist/components/ix-icon-toggle-button.d.ts +11 -0
  616. package/dist/components/ix-icon-toggle-button.js +122 -0
  617. package/dist/components/ix-icon-toggle-button.js.map +1 -0
  618. package/dist/components/ix-input-group.js +89 -18
  619. package/dist/components/ix-input-group.js.map +1 -1
  620. package/dist/components/ix-kpi.js +1 -1
  621. package/dist/components/ix-kpi.js.map +1 -1
  622. package/dist/components/ix-link-button.d.ts +11 -0
  623. package/dist/components/ix-link-button.js +54 -0
  624. package/dist/components/ix-link-button.js.map +1 -0
  625. package/dist/components/ix-map-navigation.js +42 -17
  626. package/dist/components/ix-map-navigation.js.map +1 -1
  627. package/dist/components/ix-menu-about-item.js +3 -2
  628. package/dist/components/ix-menu-about-item.js.map +1 -1
  629. package/dist/components/ix-menu-about-news.js +27 -8
  630. package/dist/components/ix-menu-about-news.js.map +1 -1
  631. package/dist/components/ix-menu-about.js +19 -11
  632. package/dist/components/ix-menu-about.js.map +1 -1
  633. package/dist/components/ix-menu-avatar.js +12 -20
  634. package/dist/components/ix-menu-avatar.js.map +1 -1
  635. package/dist/components/ix-menu-category.d.ts +11 -0
  636. package/dist/components/ix-menu-category.js +196 -0
  637. package/dist/components/ix-menu-category.js.map +1 -0
  638. package/dist/components/ix-menu-settings-item.js +3 -2
  639. package/dist/components/ix-menu-settings-item.js.map +1 -1
  640. package/dist/components/ix-menu-settings.js +19 -11
  641. package/dist/components/ix-menu-settings.js.map +1 -1
  642. package/dist/components/ix-menu.js +262 -321
  643. package/dist/components/ix-menu.js.map +1 -1
  644. package/dist/components/ix-message-bar.js +11 -5
  645. package/dist/components/ix-message-bar.js.map +1 -1
  646. package/dist/components/ix-modal-content.d.ts +11 -0
  647. package/dist/components/ix-modal-content.js +35 -0
  648. package/dist/components/ix-modal-content.js.map +1 -0
  649. package/dist/components/ix-modal-example.js +10 -15
  650. package/dist/components/ix-modal-example.js.map +1 -1
  651. package/dist/components/ix-modal-footer.d.ts +11 -0
  652. package/dist/components/ix-modal-footer.js +35 -0
  653. package/dist/components/ix-modal-footer.js.map +1 -0
  654. package/dist/components/ix-modal-header.d.ts +11 -0
  655. package/dist/components/ix-modal-header.js +90 -0
  656. package/dist/components/ix-modal-header.js.map +1 -0
  657. package/dist/components/ix-modal-loading.d.ts +11 -0
  658. package/dist/components/ix-modal-loading.js +41 -0
  659. package/dist/components/ix-modal-loading.js.map +1 -0
  660. package/dist/components/ix-modal.js +148 -1
  661. package/dist/components/ix-modal.js.map +1 -1
  662. package/dist/components/ix-pagination.js +55 -31
  663. package/dist/components/ix-pagination.js.map +1 -1
  664. package/dist/components/ix-pill.js +29 -10
  665. package/dist/components/ix-pill.js.map +1 -1
  666. package/dist/components/ix-push-card.js +4 -1
  667. package/dist/components/ix-push-card.js.map +1 -1
  668. package/dist/components/ix-row.d.ts +11 -0
  669. package/dist/components/ix-row.js +35 -0
  670. package/dist/components/ix-row.js.map +1 -0
  671. package/dist/components/ix-split-button-item.js +7 -3
  672. package/dist/components/ix-split-button-item.js.map +1 -1
  673. package/dist/components/ix-split-button.js +35 -14
  674. package/dist/components/ix-split-button.js.map +1 -1
  675. package/dist/components/ix-tile.js +22 -4
  676. package/dist/components/ix-tile.js.map +1 -1
  677. package/dist/components/ix-toast-container.js +12 -6
  678. package/dist/components/ix-toast-container.js.map +1 -1
  679. package/dist/components/ix-toggle-button.d.ts +11 -0
  680. package/dist/components/ix-toggle-button.js +111 -0
  681. package/dist/components/ix-toggle-button.js.map +1 -0
  682. package/dist/components/ix-toggle.js +15 -34
  683. package/dist/components/ix-toggle.js.map +1 -1
  684. package/dist/components/ix-tree.js +16 -8
  685. package/dist/components/ix-tree.js.map +1 -1
  686. package/dist/components/ix-upload.js +28 -10
  687. package/dist/components/ix-upload.js.map +1 -1
  688. package/dist/components/ix-validation-tooltip.js +14 -25
  689. package/dist/components/ix-validation-tooltip.js.map +1 -1
  690. package/dist/components/ix-workflow-step.js +9 -15
  691. package/dist/components/ix-workflow-step.js.map +1 -1
  692. package/dist/components/ix-workflow-steps.js +17 -18
  693. package/dist/components/ix-workflow-steps.js.map +1 -1
  694. package/dist/components/map-navigation-overlay.js +13 -6
  695. package/dist/components/map-navigation-overlay.js.map +1 -1
  696. package/dist/components/menu-avatar-item.js +3 -2
  697. package/dist/components/menu-avatar-item.js.map +1 -1
  698. package/dist/components/menu-item.js +23 -3
  699. package/dist/components/menu-item.js.map +1 -1
  700. package/dist/components/menu-service.js +156 -0
  701. package/dist/components/menu-service.js.map +1 -0
  702. package/dist/components/modal.js +225 -165
  703. package/dist/components/modal.js.map +1 -1
  704. package/dist/components/my-component.js.map +1 -1
  705. package/dist/components/select-item.js +6 -3
  706. package/dist/components/select-item.js.map +1 -1
  707. package/dist/components/select.js +102 -65
  708. package/dist/components/select.js.map +1 -1
  709. package/dist/components/shadow-dom.js +21 -0
  710. package/dist/components/shadow-dom.js.map +1 -0
  711. package/dist/components/spinner.js +11 -3
  712. package/dist/components/spinner.js.map +1 -1
  713. package/dist/components/tab-item.js +13 -4
  714. package/dist/components/tab-item.js.map +1 -1
  715. package/dist/components/tabs.js +44 -14
  716. package/dist/components/tabs.js.map +1 -1
  717. package/dist/components/theme-switcher.js +35 -3
  718. package/dist/components/theme-switcher.js.map +1 -1
  719. package/dist/components/time-picker.js +25 -13
  720. package/dist/components/time-picker.js.map +1 -1
  721. package/dist/components/toast.js +17 -10
  722. package/dist/components/toast.js.map +1 -1
  723. package/dist/components/tree-item.js +3 -2
  724. package/dist/components/tree-item.js.map +1 -1
  725. package/dist/components/typography.js +29 -13
  726. package/dist/components/typography.js.map +1 -1
  727. package/dist/esm/a11y-aa83c2d1.js +79 -0
  728. package/dist/esm/a11y-aa83c2d1.js.map +1 -0
  729. package/dist/esm/base-button-87048318.js +47 -0
  730. package/dist/esm/base-button-87048318.js.map +1 -0
  731. package/dist/esm/base-icon-button-afac2d95.js +18 -0
  732. package/dist/esm/base-icon-button-afac2d95.js.map +1 -0
  733. package/dist/esm/breakpoints-b8d59fd9.js +25 -0
  734. package/dist/esm/breakpoints-b8d59fd9.js.map +1 -0
  735. package/dist/esm/context-6a3bc77f.js +101 -0
  736. package/dist/esm/context-6a3bc77f.js.map +1 -0
  737. package/dist/esm/flip-tile-state-db31345f.js +20 -0
  738. package/dist/esm/flip-tile-state-db31345f.js.map +1 -0
  739. package/dist/esm/floating-ui.dom.esm-cbe44820.js +1512 -0
  740. package/dist/esm/floating-ui.dom.esm-cbe44820.js.map +1 -0
  741. package/dist/esm/icon-f54a8bc4.js +112 -0
  742. package/dist/esm/icon-f54a8bc4.js.map +1 -0
  743. package/dist/esm/index-7b24b7fa.js +6 -0
  744. package/dist/esm/index-7b24b7fa.js.map +1 -0
  745. package/dist/esm/index-eb0be730.js +2256 -0
  746. package/dist/esm/index-eb0be730.js.map +1 -0
  747. package/dist/esm/index.js +41 -6
  748. package/dist/esm/index.js.map +1 -1
  749. package/dist/esm/ix-action-card.entry.js +3 -3
  750. package/dist/esm/ix-action-card.entry.js.map +1 -1
  751. package/dist/esm/ix-application-header.entry.js +25 -17
  752. package/dist/esm/ix-application-header.entry.js.map +1 -1
  753. package/dist/esm/ix-application-sidebar.entry.js +43 -0
  754. package/dist/esm/ix-application-sidebar.entry.js.map +1 -0
  755. package/dist/esm/ix-application.entry.js +105 -0
  756. package/dist/esm/ix-application.entry.js.map +1 -0
  757. package/dist/esm/ix-avatar.entry.js +35 -0
  758. package/dist/esm/ix-avatar.entry.js.map +1 -0
  759. package/dist/esm/ix-basic-navigation.entry.js +51 -19
  760. package/dist/esm/ix-basic-navigation.entry.js.map +1 -1
  761. package/dist/esm/ix-blind.entry.js +6 -14
  762. package/dist/esm/ix-blind.entry.js.map +1 -1
  763. package/dist/esm/ix-breadcrumb_2.entry.js +100 -92
  764. package/dist/esm/ix-breadcrumb_2.entry.js.map +1 -1
  765. package/dist/esm/ix-burger-menu.entry.js +7 -3
  766. package/dist/esm/ix-burger-menu.entry.js.map +1 -1
  767. package/dist/esm/ix-button.entry.js +25 -8
  768. package/dist/esm/ix-button.entry.js.map +1 -1
  769. package/dist/esm/ix-card-accordion_2.entry.js +2 -2
  770. package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
  771. package/dist/esm/ix-card-list.entry.js +2 -2
  772. package/dist/esm/ix-card-list.entry.js.map +1 -1
  773. package/dist/esm/ix-card_2.entry.js +31 -0
  774. package/dist/esm/ix-card_2.entry.js.map +1 -0
  775. package/dist/esm/ix-category-filter.entry.js +73 -40
  776. package/dist/esm/ix-category-filter.entry.js.map +1 -1
  777. package/dist/esm/ix-chip.entry.js +23 -15
  778. package/dist/esm/ix-chip.entry.js.map +1 -1
  779. package/dist/esm/ix-col.entry.js +73 -0
  780. package/dist/esm/ix-col.entry.js.map +1 -0
  781. package/dist/esm/ix-content-header.entry.js +3 -3
  782. package/dist/esm/ix-content-header.entry.js.map +1 -1
  783. package/dist/esm/ix-content.entry.js +28 -0
  784. package/dist/esm/ix-content.entry.js.map +1 -0
  785. package/dist/esm/ix-css-grid-item.entry.js +1 -1
  786. package/dist/esm/ix-css-grid-item.entry.js.map +1 -1
  787. package/dist/esm/ix-css-grid.entry.js +1 -1
  788. package/dist/esm/ix-css-grid.entry.js.map +1 -1
  789. package/dist/esm/ix-date-picker_2.entry.js +8 -9
  790. package/dist/esm/ix-date-picker_2.entry.js.map +1 -1
  791. package/dist/esm/ix-date-time-card.entry.js +2 -3
  792. package/dist/esm/ix-date-time-card.entry.js.map +1 -1
  793. package/dist/esm/ix-datetime-picker.entry.js +2 -2
  794. package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
  795. package/dist/esm/ix-divider.entry.js +1 -1
  796. package/dist/esm/ix-drawer.entry.js +5 -2
  797. package/dist/esm/ix-drawer.entry.js.map +1 -1
  798. package/dist/esm/ix-dropdown-button.entry.js +8 -6
  799. package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
  800. package/dist/esm/ix-dropdown-header.entry.js +18 -0
  801. package/dist/esm/ix-dropdown-header.entry.js.map +1 -0
  802. package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
  803. package/dist/esm/ix-dropdown_2.entry.js +65 -33
  804. package/dist/esm/ix-dropdown_2.entry.js.map +1 -1
  805. package/dist/esm/ix-empty-state.entry.js +2 -2
  806. package/dist/esm/ix-empty-state.entry.js.map +1 -1
  807. package/dist/esm/ix-event-list_2.entry.js +44 -25
  808. package/dist/esm/ix-event-list_2.entry.js.map +1 -1
  809. package/dist/esm/ix-expanding-search.entry.js +5 -8
  810. package/dist/esm/ix-expanding-search.entry.js.map +1 -1
  811. package/dist/esm/ix-filter-chip.entry.js +4 -3
  812. package/dist/esm/ix-filter-chip.entry.js.map +1 -1
  813. package/dist/esm/ix-flip-tile_2.entry.js +29 -19
  814. package/dist/esm/ix-flip-tile_2.entry.js.map +1 -1
  815. package/dist/esm/ix-form-field.entry.js +23 -0
  816. package/dist/esm/ix-form-field.entry.js.map +1 -0
  817. package/dist/esm/ix-grid.entry.js +25 -0
  818. package/dist/esm/ix-grid.entry.js.map +1 -0
  819. package/dist/esm/ix-group-context-menu.entry.js +26 -14
  820. package/dist/esm/ix-group-context-menu.entry.js.map +1 -1
  821. package/dist/esm/ix-group_2.entry.js +154 -0
  822. package/dist/esm/ix-group_2.entry.js.map +1 -0
  823. package/dist/esm/ix-icon-button.entry.js +23 -10
  824. package/dist/esm/ix-icon-button.entry.js.map +1 -1
  825. package/dist/esm/ix-icon-toggle-button.entry.js +84 -0
  826. package/dist/esm/ix-icon-toggle-button.entry.js.map +1 -0
  827. package/dist/esm/ix-icon.entry.js +2 -2
  828. package/dist/esm/ix-input-group.entry.js +85 -18
  829. package/dist/esm/ix-input-group.entry.js.map +1 -1
  830. package/dist/esm/ix-key-value-list.entry.js +1 -1
  831. package/dist/esm/ix-key-value.entry.js +1 -1
  832. package/dist/esm/ix-kpi.entry.js +2 -2
  833. package/dist/esm/ix-kpi.entry.js.map +1 -1
  834. package/dist/esm/ix-link-button.entry.js +26 -0
  835. package/dist/esm/ix-link-button.entry.js.map +1 -0
  836. package/dist/esm/ix-map-navigation_2.entry.js +26 -8
  837. package/dist/esm/ix-map-navigation_2.entry.js.map +1 -1
  838. package/dist/esm/ix-menu-category.entry.js +135 -0
  839. package/dist/esm/ix-menu-category.entry.js.map +1 -0
  840. package/dist/esm/ix-menu_9.entry.js +285 -346
  841. package/dist/esm/ix-menu_9.entry.js.map +1 -1
  842. package/dist/esm/ix-message-bar.entry.js +2 -2
  843. package/dist/esm/ix-message-bar.entry.js.map +1 -1
  844. package/dist/esm/ix-modal-content.entry.js +17 -0
  845. package/dist/esm/ix-modal-content.entry.js.map +1 -0
  846. package/dist/esm/ix-modal-example.entry.js +4 -2
  847. package/dist/esm/ix-modal-example.entry.js.map +1 -1
  848. package/dist/esm/ix-modal-footer.entry.js +17 -0
  849. package/dist/esm/ix-modal-footer.entry.js.map +1 -0
  850. package/dist/esm/ix-modal-header.entry.js +44 -0
  851. package/dist/esm/ix-modal-header.entry.js.map +1 -0
  852. package/dist/esm/ix-modal-loading.entry.js +17 -0
  853. package/dist/esm/ix-modal-loading.entry.js.map +1 -0
  854. package/dist/esm/ix-modal.entry.js +126 -0
  855. package/dist/esm/ix-modal.entry.js.map +1 -0
  856. package/dist/esm/ix-pagination.entry.js +32 -15
  857. package/dist/esm/ix-pagination.entry.js.map +1 -1
  858. package/dist/esm/ix-pill.entry.js +28 -10
  859. package/dist/esm/ix-pill.entry.js.map +1 -1
  860. package/dist/esm/ix-push-card.entry.js +5 -2
  861. package/dist/esm/ix-push-card.entry.js.map +1 -1
  862. package/dist/esm/ix-row.entry.js +17 -0
  863. package/dist/esm/ix-row.entry.js.map +1 -0
  864. package/dist/esm/ix-select_2.entry.js +85 -54
  865. package/dist/esm/ix-select_2.entry.js.map +1 -1
  866. package/dist/esm/ix-spinner.entry.js +10 -3
  867. package/dist/esm/ix-spinner.entry.js.map +1 -1
  868. package/dist/esm/ix-split-button_2.entry.js +17 -11
  869. package/dist/esm/ix-split-button_2.entry.js.map +1 -1
  870. package/dist/esm/ix-tab-item.entry.js +11 -3
  871. package/dist/esm/ix-tab-item.entry.js.map +1 -1
  872. package/dist/esm/ix-tabs.entry.js +34 -11
  873. package/dist/esm/ix-tabs.entry.js.map +1 -1
  874. package/dist/esm/ix-tile.entry.js +18 -3
  875. package/dist/esm/ix-tile.entry.js.map +1 -1
  876. package/dist/esm/ix-toast_2.entry.js +6 -7
  877. package/dist/esm/ix-toast_2.entry.js.map +1 -1
  878. package/dist/esm/ix-toggle-button.entry.js +73 -0
  879. package/dist/esm/ix-toggle-button.entry.js.map +1 -0
  880. package/dist/esm/ix-toggle.entry.js +11 -30
  881. package/dist/esm/ix-toggle.entry.js.map +1 -1
  882. package/dist/esm/ix-tooltip.entry.js +2 -2
  883. package/dist/esm/ix-tree_2.entry.js +16 -9
  884. package/dist/esm/ix-tree_2.entry.js.map +1 -1
  885. package/dist/esm/ix-typography.entry.js +55 -0
  886. package/dist/esm/ix-typography.entry.js.map +1 -0
  887. package/dist/esm/ix-upload.entry.js +19 -7
  888. package/dist/esm/ix-upload.entry.js.map +1 -1
  889. package/dist/esm/ix-validation-tooltip.entry.js +12 -25
  890. package/dist/esm/ix-validation-tooltip.entry.js.map +1 -1
  891. package/dist/esm/ix-workflow-step_2.entry.js +20 -28
  892. package/dist/esm/ix-workflow-step_2.entry.js.map +1 -1
  893. package/dist/esm/loader.js +3 -3
  894. package/dist/esm/menu-service-12a09006.js +156 -0
  895. package/dist/esm/menu-service-12a09006.js.map +1 -0
  896. package/dist/esm/modal-68c6d3f6.js +245 -0
  897. package/dist/esm/modal-68c6d3f6.js.map +1 -0
  898. package/dist/esm/my-component.entry.js +1 -1
  899. package/dist/esm/my-component.entry.js.map +1 -1
  900. package/dist/esm/shadow-dom-b9df3d9b.js +21 -0
  901. package/dist/esm/shadow-dom-b9df3d9b.js.map +1 -0
  902. package/dist/esm/siemens-ix.js +3 -3
  903. package/dist/esm/theme-switcher-9ede3823.js +123 -0
  904. package/dist/esm/theme-switcher-9ede3823.js.map +1 -0
  905. package/dist/siemens-ix/index.esm.js +1 -1
  906. package/dist/siemens-ix/index.esm.js.map +1 -1
  907. package/dist/siemens-ix/p-00616f87.entry.js +2 -0
  908. package/dist/siemens-ix/p-00616f87.entry.js.map +1 -0
  909. package/dist/siemens-ix/p-00df4a8c.js +2 -0
  910. package/dist/siemens-ix/p-00df4a8c.js.map +1 -0
  911. package/dist/siemens-ix/p-04eeba9e.js +2 -0
  912. package/dist/siemens-ix/p-04eeba9e.js.map +1 -0
  913. package/dist/siemens-ix/p-0b71cde4.js +2 -0
  914. package/dist/siemens-ix/p-0b71cde4.js.map +1 -0
  915. package/dist/siemens-ix/p-0e2045b9.entry.js +2 -0
  916. package/dist/siemens-ix/p-0e2045b9.entry.js.map +1 -0
  917. package/dist/siemens-ix/p-134b6bd5.js +2 -0
  918. package/dist/siemens-ix/p-134b6bd5.js.map +1 -0
  919. package/dist/siemens-ix/p-14621fbd.entry.js +2 -0
  920. package/dist/siemens-ix/p-14621fbd.entry.js.map +1 -0
  921. package/dist/siemens-ix/p-1b227e9a.js +2 -0
  922. package/dist/siemens-ix/p-1b227e9a.js.map +1 -0
  923. package/dist/siemens-ix/p-1b705d7b.js +2 -0
  924. package/dist/siemens-ix/p-1b705d7b.js.map +1 -0
  925. package/dist/siemens-ix/p-1b9b19e6.js +2 -0
  926. package/dist/siemens-ix/p-1b9b19e6.js.map +1 -0
  927. package/dist/siemens-ix/p-1fc8e513.entry.js +2 -0
  928. package/dist/siemens-ix/p-1fc8e513.entry.js.map +1 -0
  929. package/dist/siemens-ix/p-26855b3f.entry.js +2 -0
  930. package/dist/siemens-ix/p-26855b3f.entry.js.map +1 -0
  931. package/dist/siemens-ix/p-281fa225.entry.js +2 -0
  932. package/dist/siemens-ix/p-281fa225.entry.js.map +1 -0
  933. package/dist/siemens-ix/p-2a29e187.entry.js +2 -0
  934. package/dist/siemens-ix/p-2a29e187.entry.js.map +1 -0
  935. package/dist/siemens-ix/p-36c48f12.entry.js +2 -0
  936. package/dist/siemens-ix/p-36c48f12.entry.js.map +1 -0
  937. package/dist/siemens-ix/p-36f0b470.entry.js +2 -0
  938. package/dist/siemens-ix/p-36f0b470.entry.js.map +1 -0
  939. package/dist/siemens-ix/p-37dd62fc.entry.js +2 -0
  940. package/dist/siemens-ix/p-37dd62fc.entry.js.map +1 -0
  941. package/dist/siemens-ix/p-3983ee89.entry.js +2 -0
  942. package/dist/siemens-ix/p-3983ee89.entry.js.map +1 -0
  943. package/dist/siemens-ix/p-3dbeeecf.entry.js +2 -0
  944. package/dist/siemens-ix/p-3dbeeecf.entry.js.map +1 -0
  945. package/dist/siemens-ix/p-3eabf464.entry.js +2 -0
  946. package/dist/siemens-ix/p-3eabf464.entry.js.map +1 -0
  947. package/dist/siemens-ix/p-40ecc8be.entry.js +2 -0
  948. package/dist/siemens-ix/p-40ecc8be.entry.js.map +1 -0
  949. package/dist/siemens-ix/p-43497703.entry.js +2 -0
  950. package/dist/siemens-ix/p-43497703.entry.js.map +1 -0
  951. package/dist/siemens-ix/p-4659c550.entry.js +2 -0
  952. package/dist/siemens-ix/p-475d8732.entry.js +2 -0
  953. package/dist/siemens-ix/p-475d8732.entry.js.map +1 -0
  954. package/dist/siemens-ix/p-49b9f9f5.entry.js +2 -0
  955. package/dist/siemens-ix/p-49b9f9f5.entry.js.map +1 -0
  956. package/dist/siemens-ix/p-4dbae019.entry.js +2 -0
  957. package/dist/siemens-ix/p-4f8954a7.entry.js +2 -0
  958. package/dist/siemens-ix/p-4f8954a7.entry.js.map +1 -0
  959. package/dist/siemens-ix/p-5017cf39.entry.js +2 -0
  960. package/dist/siemens-ix/p-5017cf39.entry.js.map +1 -0
  961. package/dist/siemens-ix/p-5029fd0f.entry.js +2 -0
  962. package/dist/siemens-ix/p-5029fd0f.entry.js.map +1 -0
  963. package/dist/siemens-ix/p-553ebcb1.entry.js +2 -0
  964. package/dist/siemens-ix/p-553ebcb1.entry.js.map +1 -0
  965. package/dist/siemens-ix/p-5650383d.entry.js +2 -0
  966. package/dist/siemens-ix/p-5650383d.entry.js.map +1 -0
  967. package/dist/siemens-ix/p-567f71a2.entry.js +2 -0
  968. package/dist/siemens-ix/p-567f71a2.entry.js.map +1 -0
  969. package/dist/siemens-ix/p-5d132cc5.entry.js +2 -0
  970. package/dist/siemens-ix/p-5d132cc5.entry.js.map +1 -0
  971. package/dist/siemens-ix/p-5e3f8c0b.entry.js +2 -0
  972. package/dist/siemens-ix/p-5e3f8c0b.entry.js.map +1 -0
  973. package/dist/siemens-ix/p-61ffc6e1.entry.js +2 -0
  974. package/dist/siemens-ix/p-61ffc6e1.entry.js.map +1 -0
  975. package/dist/siemens-ix/p-655d177c.entry.js +2 -0
  976. package/dist/siemens-ix/p-655d177c.entry.js.map +1 -0
  977. package/dist/siemens-ix/p-737fca1b.entry.js +2 -0
  978. package/dist/siemens-ix/p-737fca1b.entry.js.map +1 -0
  979. package/dist/siemens-ix/p-76a509c7.js +3 -0
  980. package/dist/siemens-ix/p-76a509c7.js.map +1 -0
  981. package/dist/siemens-ix/p-7918fd50.entry.js +2 -0
  982. package/dist/siemens-ix/p-7918fd50.entry.js.map +1 -0
  983. package/dist/siemens-ix/p-7a884056.entry.js +2 -0
  984. package/dist/siemens-ix/p-7a884056.entry.js.map +1 -0
  985. package/dist/siemens-ix/p-7b536489.entry.js +2 -0
  986. package/dist/siemens-ix/p-7b536489.entry.js.map +1 -0
  987. package/dist/siemens-ix/p-85f39bd4.js +2 -0
  988. package/dist/siemens-ix/p-85f39bd4.js.map +1 -0
  989. package/dist/siemens-ix/p-8c7d1e06.js +2 -0
  990. package/dist/siemens-ix/p-8e39298f.js +2 -0
  991. package/dist/siemens-ix/p-8e39298f.js.map +1 -0
  992. package/dist/siemens-ix/p-94ecb1af.entry.js +2 -0
  993. package/dist/siemens-ix/p-94ecb1af.entry.js.map +1 -0
  994. package/dist/siemens-ix/p-9848e4de.entry.js +2 -0
  995. package/dist/siemens-ix/p-9848e4de.entry.js.map +1 -0
  996. package/dist/siemens-ix/p-98b03a9b.entry.js +2 -0
  997. package/dist/siemens-ix/p-98b03a9b.entry.js.map +1 -0
  998. package/dist/siemens-ix/p-9a05ac00.js +2 -0
  999. package/dist/siemens-ix/p-9a05ac00.js.map +1 -0
  1000. package/dist/siemens-ix/p-9b6075de.entry.js +2 -0
  1001. package/dist/siemens-ix/p-9b6075de.entry.js.map +1 -0
  1002. package/dist/siemens-ix/p-9c030990.js +2 -0
  1003. package/dist/siemens-ix/p-9c030990.js.map +1 -0
  1004. package/dist/siemens-ix/p-a0fdaa04.entry.js +2 -0
  1005. package/dist/siemens-ix/p-a0fdaa04.entry.js.map +1 -0
  1006. package/dist/siemens-ix/p-a18f1744.entry.js +2 -0
  1007. package/dist/siemens-ix/p-a18f1744.entry.js.map +1 -0
  1008. package/dist/siemens-ix/p-a3d6abfb.entry.js +2 -0
  1009. package/dist/siemens-ix/p-a3d6abfb.entry.js.map +1 -0
  1010. package/dist/siemens-ix/p-a5ae7bfa.entry.js +2 -0
  1011. package/dist/siemens-ix/p-a5ae7bfa.entry.js.map +1 -0
  1012. package/dist/siemens-ix/p-a6345f97.entry.js +2 -0
  1013. package/dist/siemens-ix/p-a6345f97.entry.js.map +1 -0
  1014. package/dist/siemens-ix/p-a8424ce3.entry.js +2 -0
  1015. package/dist/siemens-ix/p-a8424ce3.entry.js.map +1 -0
  1016. package/dist/siemens-ix/p-a85299c6.entry.js +2 -0
  1017. package/dist/siemens-ix/p-a85299c6.entry.js.map +1 -0
  1018. package/dist/siemens-ix/p-ab452b82.js +2 -0
  1019. package/dist/siemens-ix/p-ab452b82.js.map +1 -0
  1020. package/dist/siemens-ix/p-ab4bdb4e.entry.js +2 -0
  1021. package/dist/siemens-ix/p-ab4bdb4e.entry.js.map +1 -0
  1022. package/dist/siemens-ix/p-ac00ae47.entry.js +2 -0
  1023. package/dist/siemens-ix/p-ac00ae47.entry.js.map +1 -0
  1024. package/dist/siemens-ix/p-b007e4b4.entry.js +2 -0
  1025. package/dist/siemens-ix/p-b007e4b4.entry.js.map +1 -0
  1026. package/dist/siemens-ix/p-b0a1930d.entry.js +2 -0
  1027. package/dist/siemens-ix/p-b0a1930d.entry.js.map +1 -0
  1028. package/dist/siemens-ix/p-b25c770f.entry.js +2 -0
  1029. package/dist/siemens-ix/p-b25c770f.entry.js.map +1 -0
  1030. package/dist/siemens-ix/p-b38eff08.entry.js +2 -0
  1031. package/dist/siemens-ix/p-b45ca515.entry.js +2 -0
  1032. package/dist/siemens-ix/p-b45ca515.entry.js.map +1 -0
  1033. package/dist/siemens-ix/p-b735ee5e.entry.js +2 -0
  1034. package/dist/siemens-ix/p-c1ac2d01.entry.js +2 -0
  1035. package/dist/siemens-ix/p-c1ac2d01.entry.js.map +1 -0
  1036. package/dist/siemens-ix/p-c1f5a59a.entry.js +2 -0
  1037. package/dist/siemens-ix/p-c1f5a59a.entry.js.map +1 -0
  1038. package/dist/siemens-ix/p-c75264af.entry.js +2 -0
  1039. package/dist/siemens-ix/p-c75264af.entry.js.map +1 -0
  1040. package/dist/siemens-ix/p-cd0e77f1.entry.js +2 -0
  1041. package/dist/siemens-ix/p-cd0e77f1.entry.js.map +1 -0
  1042. package/dist/siemens-ix/p-cd1e0061.entry.js +2 -0
  1043. package/dist/siemens-ix/p-cd1e0061.entry.js.map +1 -0
  1044. package/dist/siemens-ix/p-ce0a7c1a.entry.js +2 -0
  1045. package/dist/siemens-ix/p-ce0a7c1a.entry.js.map +1 -0
  1046. package/dist/siemens-ix/p-d214f57a.entry.js +2 -0
  1047. package/dist/siemens-ix/p-d214f57a.entry.js.map +1 -0
  1048. package/dist/siemens-ix/p-d29bcf75.entry.js +2 -0
  1049. package/dist/siemens-ix/p-d29bcf75.entry.js.map +1 -0
  1050. package/dist/siemens-ix/p-d87de06f.entry.js +2 -0
  1051. package/dist/siemens-ix/p-d87de06f.entry.js.map +1 -0
  1052. package/dist/siemens-ix/p-da133606.entry.js +2 -0
  1053. package/dist/siemens-ix/p-da133606.entry.js.map +1 -0
  1054. package/dist/siemens-ix/p-db174600.entry.js +2 -0
  1055. package/dist/siemens-ix/p-db2f237f.entry.js +2 -0
  1056. package/dist/siemens-ix/p-db2f237f.entry.js.map +1 -0
  1057. package/dist/siemens-ix/p-dc77f962.entry.js +2 -0
  1058. package/dist/siemens-ix/p-dc77f962.entry.js.map +1 -0
  1059. package/dist/siemens-ix/p-de013166.entry.js +2 -0
  1060. package/dist/siemens-ix/p-de013166.entry.js.map +1 -0
  1061. package/dist/siemens-ix/p-e2c200f3.entry.js +2 -0
  1062. package/dist/siemens-ix/p-e2c200f3.entry.js.map +1 -0
  1063. package/dist/siemens-ix/p-e610b2b8.entry.js +2 -0
  1064. package/dist/siemens-ix/p-e610b2b8.entry.js.map +1 -0
  1065. package/dist/siemens-ix/p-eb29049a.entry.js +2 -0
  1066. package/dist/siemens-ix/p-eb29049a.entry.js.map +1 -0
  1067. package/dist/siemens-ix/p-eb3f1ef6.entry.js +2 -0
  1068. package/dist/siemens-ix/p-eb3f1ef6.entry.js.map +1 -0
  1069. package/dist/siemens-ix/p-ebeef6fd.entry.js +2 -0
  1070. package/dist/siemens-ix/p-ebeef6fd.entry.js.map +1 -0
  1071. package/dist/siemens-ix/p-f71da594.entry.js +2 -0
  1072. package/dist/siemens-ix/p-f71da594.entry.js.map +1 -0
  1073. package/dist/siemens-ix/p-f88b25d7.entry.js +2 -0
  1074. package/dist/siemens-ix/p-f9b004ba.entry.js +2 -0
  1075. package/dist/siemens-ix/p-f9b004ba.entry.js.map +1 -0
  1076. package/dist/siemens-ix/p-f9d4ca13.entry.js +2 -0
  1077. package/dist/siemens-ix/p-f9d4ca13.entry.js.map +1 -0
  1078. package/dist/siemens-ix/p-feb80449.entry.js +2 -0
  1079. package/dist/siemens-ix/p-feb80449.entry.js.map +1 -0
  1080. package/dist/siemens-ix/siemens-ix-core.css +1 -0
  1081. package/dist/siemens-ix/siemens-ix.css +4232 -7647
  1082. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  1083. package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
  1084. package/dist/siemens-ix/theme/classic-dark.css +1 -0
  1085. package/dist/siemens-ix/theme/classic-light.css +1 -0
  1086. package/dist/siemens-ix/theme/legacy-classic-dark.css +1 -0
  1087. package/dist/siemens-ix/theme/legacy-classic-light.css +1 -0
  1088. package/dist/types/components/application/application.d.ts +36 -0
  1089. package/dist/types/components/application-header/application-header.d.ts +4 -3
  1090. package/dist/types/components/application-header/test/application-headet.ct.d.ts +1 -0
  1091. package/dist/types/components/application-sidebar/application-sidebar.d.ts +7 -0
  1092. package/dist/types/components/application-sidebar/events.d.ts +4 -0
  1093. package/dist/types/components/avatar/avatar.d.ts +17 -0
  1094. package/dist/types/components/basic-navigation/basic-navigation.d.ts +16 -5
  1095. package/dist/types/components/blind/blind.d.ts +5 -0
  1096. package/dist/types/components/breadcrumb/breadcrumb.d.ts +15 -14
  1097. package/dist/types/components/breadcrumb/test/breadcrumb.ct.d.ts +1 -0
  1098. package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +15 -0
  1099. package/dist/types/components/button/base-button.d.ts +27 -1
  1100. package/dist/types/components/button/button.d.ts +15 -11
  1101. package/dist/types/components/button/test/button.ct.d.ts +1 -0
  1102. package/dist/types/components/category-filter/category-filter.d.ts +12 -5
  1103. package/dist/types/components/col/col.d.ts +31 -0
  1104. package/dist/types/components/content/content.d.ts +7 -0
  1105. package/dist/types/components/content-header/content-header.d.ts +1 -1
  1106. package/dist/types/components/date-time-card/date-time-card.d.ts +0 -1
  1107. package/dist/types/components/drawer/drawer.d.ts +1 -0
  1108. package/dist/types/components/drawer/test/drawer.ct.d.ts +1 -0
  1109. package/dist/types/components/dropdown/dropdown.d.ts +10 -13
  1110. package/dist/types/components/dropdown/placement.d.ts +3 -4
  1111. package/dist/types/components/dropdown-button/dropdown-button.d.ts +10 -1
  1112. package/dist/types/components/dropdown-header/dropdown-header.d.ts +10 -0
  1113. package/dist/types/components/dropdown-item/dropdown-item.d.ts +9 -0
  1114. package/dist/types/components/event-list/event-list.d.ts +3 -1
  1115. package/dist/types/components/event-list-item/event-list-item.d.ts +4 -2
  1116. package/dist/types/components/expanding-search/test/expanding-search.ct.d.ts +1 -0
  1117. package/dist/types/components/filter-chip/filter-chip.d.ts +5 -0
  1118. package/dist/types/components/flip-tile/flip-tile-state.d.ts +5 -5
  1119. package/dist/types/components/flip-tile/flip-tile.d.ts +9 -11
  1120. package/dist/types/components/flip-tile/test/flip-tile.ct.d.ts +1 -0
  1121. package/dist/types/components/flip-tile-content/flip-tile-content.d.ts +6 -0
  1122. package/dist/types/components/form-field/form-field.d.ts +10 -0
  1123. package/dist/types/components/grid/grid.d.ts +18 -0
  1124. package/dist/types/components/group/group-context-menu.d.ts +3 -4
  1125. package/dist/types/components/group/group.d.ts +7 -8
  1126. package/dist/types/components/icon-button/base-icon-button.d.ts +2 -0
  1127. package/dist/types/components/icon-button/icon-button.d.ts +11 -14
  1128. package/dist/types/components/icon-button/test/icon-button.ct.d.ts +1 -0
  1129. package/dist/types/components/icon-toggle-button/icon-toggle-button.d.ts +54 -0
  1130. package/dist/types/components/input-group/input-group.d.ts +11 -1
  1131. package/dist/types/components/link-button/link-button.d.ts +20 -0
  1132. package/dist/types/components/map-navigation/map-navigation.d.ts +4 -1
  1133. package/dist/types/components/menu/burger-menu.d.ts +9 -1
  1134. package/dist/types/components/menu/menu.d.ts +42 -36
  1135. package/dist/types/components/menu/test/menu.ct.d.ts +1 -0
  1136. package/dist/types/components/menu-about/menu-about.d.ts +4 -1
  1137. package/dist/types/components/menu-category/menu-category.d.ts +37 -0
  1138. package/dist/types/components/menu-category/test/menu-category.ct.d.ts +1 -0
  1139. package/dist/types/components/menu-item/menu-item.d.ts +11 -2
  1140. package/dist/types/components/menu-settings/menu-settings.d.ts +4 -1
  1141. package/dist/types/components/modal/modal.d.ts +35 -66
  1142. package/dist/types/components/modal-content/modal-content.d.ts +6 -0
  1143. package/dist/types/components/modal-footer/modal-footer.d.ts +6 -0
  1144. package/dist/types/components/modal-header/modal-header.d.ts +28 -0
  1145. package/dist/types/components/modal-loading/modal-loading.d.ts +6 -0
  1146. package/dist/types/components/pagination/pagination.d.ts +1 -1
  1147. package/dist/types/components/row/row.d.ts +6 -0
  1148. package/dist/types/components/select/select.d.ts +32 -8
  1149. package/dist/types/components/select/test/select.ct.d.ts +1 -0
  1150. package/dist/types/components/spinner/spinner.d.ts +7 -2
  1151. package/dist/types/components/split-button/split-button.d.ts +3 -9
  1152. package/dist/types/components/tab-item/tab-item.d.ts +10 -0
  1153. package/dist/types/components/tabs/tabs.d.ts +8 -0
  1154. package/dist/types/components/tabs/test/tabs.ct.d.ts +1 -0
  1155. package/dist/types/components/tile/tile.d.ts +5 -0
  1156. package/dist/types/components/time-picker/time-picker.d.ts +0 -1
  1157. package/dist/types/components/toast/toast-container.d.ts +0 -1
  1158. package/dist/types/components/toast/toast.d.ts +1 -1
  1159. package/dist/types/components/toggle/test/toggle.ct.d.ts +1 -0
  1160. package/dist/types/components/toggle/toggle.d.ts +3 -10
  1161. package/dist/types/components/toggle-button/toggle-button.d.ts +48 -0
  1162. package/dist/types/components/tree/test/tree.ct.d.ts +1 -0
  1163. package/dist/types/components/tree/tree.d.ts +2 -1
  1164. package/dist/types/components/typography/typography.d.ts +24 -1
  1165. package/dist/types/components/utils/a11y.d.ts +7 -0
  1166. package/dist/types/components/utils/application-layout/context.d.ts +6 -0
  1167. package/dist/types/components/utils/application-layout/index.d.ts +1 -0
  1168. package/dist/types/components/utils/application-layout/service.d.ts +16 -0
  1169. package/dist/types/components/utils/breakpoints.d.ts +8 -0
  1170. package/dist/types/components/utils/context.d.ts +57 -0
  1171. package/dist/types/components/utils/delegate.d.ts +15 -0
  1172. package/dist/types/components/utils/menu-service/menu-service.d.ts +3 -0
  1173. package/dist/types/components/utils/modal/index.d.ts +3 -0
  1174. package/dist/types/components/utils/modal/loading.d.ts +4 -0
  1175. package/dist/types/components/utils/modal/message.d.ts +41 -0
  1176. package/dist/types/components/utils/modal/modal.d.ts +25 -0
  1177. package/dist/types/components/utils/shadow-dom.d.ts +3 -0
  1178. package/dist/types/components/utils/theme-switcher.d.ts +10 -3
  1179. package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +9 -3
  1180. package/dist/types/components/workflow-step/workflow-step.d.ts +2 -3
  1181. package/dist/types/components/workflow-steps/test/workflow-steps.ct.d.ts +1 -0
  1182. package/dist/types/components/workflow-steps/workflow-steps.d.ts +1 -6
  1183. package/dist/types/components.d.ts +995 -405
  1184. package/dist/types/index.d.ts +2 -1
  1185. package/package.json +13 -10
  1186. package/scss/_core.scss +66 -0
  1187. package/scss/components/_checkboxes.scss +9 -3
  1188. package/scss/components/_fonts.scss +131 -0
  1189. package/scss/components/_links.scss +24 -0
  1190. package/scss/components/_table.scss +1 -1
  1191. package/scss/components/form/_input.scss +155 -0
  1192. package/scss/ix-core.scss +11 -0
  1193. package/scss/ix.scss +3 -74
  1194. package/scss/legacy/_fonts.scss +70 -0
  1195. package/scss/legacy/components/_buttons.scss +181 -0
  1196. package/scss/legacy/components/_dropdown.scss +170 -0
  1197. package/scss/legacy/components/_forms.scss +167 -0
  1198. package/scss/legacy/components/_modal.scss +41 -0
  1199. package/scss/legacy/mixins/_fonts.scss +166 -0
  1200. package/scss/mixins/_break-points.scss +25 -0
  1201. package/scss/mixins/_fonts.scss +149 -105
  1202. package/scss/mixins/_hover.scss +35 -1
  1203. package/scss/mixins/_scrollbar.scss +44 -0
  1204. package/scss/mixins/shadow-dom/_component.scss +4 -0
  1205. package/scss/mixins/shadow-dom/_host-disabled.scss +14 -0
  1206. package/scss/mixins/shadow-dom/_hover.scss +26 -0
  1207. package/scss/theme/classic-dark/_borderRadius.scss +5 -5
  1208. package/scss/theme/classic-dark/_borderWidth.scss +5 -5
  1209. package/scss/theme/classic-dark/_boxShadow.scss +7 -7
  1210. package/scss/theme/classic-dark/_color.scss +423 -418
  1211. package/scss/theme/classic-dark/_fontFamilies.scss +2 -1
  1212. package/scss/theme/classic-dark/_fontSizes.scss +11 -0
  1213. package/scss/theme/classic-dark/_fontWeights.scss +2 -1
  1214. package/scss/theme/classic-dark/_index.scss +7 -0
  1215. package/scss/theme/classic-dark/_letterSpacing.scss +13 -0
  1216. package/scss/theme/classic-dark/_lineHeights.scss +4 -1
  1217. package/scss/theme/classic-dark/_other.scss +4 -4
  1218. package/scss/theme/classic-dark/_sizing.scss +13 -1
  1219. package/scss/theme/classic-dark/_spacing.scss +12 -0
  1220. package/scss/theme/classic-dark/_typography.scss +39 -16
  1221. package/scss/theme/classic-light/_borderRadius.scss +4 -4
  1222. package/scss/theme/classic-light/_borderWidth.scss +5 -5
  1223. package/scss/theme/classic-light/_boxShadow.scss +7 -7
  1224. package/scss/theme/classic-light/_color.scss +420 -415
  1225. package/scss/theme/classic-light/_fontFamilies.scss +2 -1
  1226. package/scss/theme/classic-light/_fontSizes.scss +11 -0
  1227. package/scss/theme/classic-light/_fontWeights.scss +2 -1
  1228. package/scss/theme/classic-light/_index.scss +7 -0
  1229. package/scss/theme/classic-light/_letterSpacing.scss +13 -0
  1230. package/scss/theme/classic-light/_lineHeights.scss +4 -1
  1231. package/scss/theme/classic-light/_other.scss +4 -4
  1232. package/scss/theme/classic-light/_sizing.scss +13 -1
  1233. package/scss/theme/classic-light/_spacing.scss +12 -0
  1234. package/scss/theme/classic-light/_typography.scss +39 -16
  1235. package/scss/theme/legacy-classic-dark/_border.scss +35 -0
  1236. package/scss/theme/legacy-classic-dark/_borderRadius.scss +24 -0
  1237. package/scss/theme/legacy-classic-dark/_borderWidth.scss +18 -0
  1238. package/scss/theme/legacy-classic-dark/_boxShadow.scss +19 -0
  1239. package/scss/theme/legacy-classic-dark/_color.scss +864 -0
  1240. package/scss/theme/legacy-classic-dark/_fontFamilies.scss +9 -0
  1241. package/scss/theme/legacy-classic-dark/_fontSizes.scss +24 -0
  1242. package/scss/theme/legacy-classic-dark/_fontWeights.scss +10 -0
  1243. package/scss/theme/legacy-classic-dark/_index.scss +23 -0
  1244. package/scss/theme/legacy-classic-dark/_letterSpacing.scss +13 -0
  1245. package/scss/theme/legacy-classic-dark/_lineHeights.scss +21 -0
  1246. package/scss/theme/legacy-classic-dark/_other.scss +16 -0
  1247. package/scss/theme/legacy-classic-dark/_sizing.scss +28 -0
  1248. package/scss/theme/legacy-classic-dark/_spacing.scss +21 -0
  1249. package/scss/theme/legacy-classic-dark/_typography.scss +46 -0
  1250. package/scss/theme/legacy-classic-light/_border.scss +35 -0
  1251. package/scss/theme/legacy-classic-light/_borderRadius.scss +24 -0
  1252. package/scss/theme/legacy-classic-light/_borderWidth.scss +18 -0
  1253. package/scss/theme/legacy-classic-light/_boxShadow.scss +19 -0
  1254. package/scss/theme/legacy-classic-light/_color.scss +864 -0
  1255. package/scss/theme/legacy-classic-light/_fontFamilies.scss +9 -0
  1256. package/scss/theme/legacy-classic-light/_fontSizes.scss +24 -0
  1257. package/scss/theme/legacy-classic-light/_fontWeights.scss +10 -0
  1258. package/scss/theme/legacy-classic-light/_index.scss +23 -0
  1259. package/scss/theme/legacy-classic-light/_letterSpacing.scss +13 -0
  1260. package/scss/theme/legacy-classic-light/_lineHeights.scss +21 -0
  1261. package/scss/theme/legacy-classic-light/_other.scss +16 -0
  1262. package/scss/theme/legacy-classic-light/_sizing.scss +28 -0
  1263. package/scss/theme/legacy-classic-light/_spacing.scss +21 -0
  1264. package/scss/theme/legacy-classic-light/_typography.scss +46 -0
  1265. package/dist/cjs/base-button-497db257.js +0 -35
  1266. package/dist/cjs/base-button-497db257.js.map +0 -1
  1267. package/dist/cjs/context-a0900b95.js +0 -77
  1268. package/dist/cjs/context-a0900b95.js.map +0 -1
  1269. package/dist/cjs/flip-tile-state-b5ff5ea0.js +0 -20
  1270. package/dist/cjs/flip-tile-state-b5ff5ea0.js.map +0 -1
  1271. package/dist/cjs/floating-ui.dom.esm-01fe5abe.js +0 -1502
  1272. package/dist/cjs/floating-ui.dom.esm-01fe5abe.js.map +0 -1
  1273. package/dist/cjs/icon-4c954853.js +0 -114
  1274. package/dist/cjs/icon-4c954853.js.map +0 -1
  1275. package/dist/cjs/index-c978628a.js +0 -2584
  1276. package/dist/cjs/index-c978628a.js.map +0 -1
  1277. package/dist/cjs/ix-animated-tab_2.cjs.entry.js +0 -214
  1278. package/dist/cjs/ix-animated-tab_2.cjs.entry.js.map +0 -1
  1279. package/dist/cjs/ix-card_3.cjs.entry.js +0 -74
  1280. package/dist/cjs/ix-card_3.cjs.entry.js.map +0 -1
  1281. package/dist/cjs/ix-counter-pill.cjs.entry.js +0 -35
  1282. package/dist/cjs/ix-counter-pill.cjs.entry.js.map +0 -1
  1283. package/dist/cjs/ix-group_3.cjs.entry.js +0 -181
  1284. package/dist/cjs/ix-group_3.cjs.entry.js.map +0 -1
  1285. package/dist/cjs/ix-index-button.cjs.entry.js +0 -28
  1286. package/dist/cjs/ix-index-button.cjs.entry.js.map +0 -1
  1287. package/dist/cjs/ix-modal_2.cjs.entry.js +0 -227
  1288. package/dist/cjs/ix-modal_2.cjs.entry.js.map +0 -1
  1289. package/dist/cjs/modal-utils-b645989b.js +0 -44
  1290. package/dist/cjs/modal-utils-b645989b.js.map +0 -1
  1291. package/dist/cjs/service-18dc5907.js +0 -75
  1292. package/dist/cjs/service-18dc5907.js.map +0 -1
  1293. package/dist/cjs/theme-switcher-bdbd0d30.js +0 -94
  1294. package/dist/cjs/theme-switcher-bdbd0d30.js.map +0 -1
  1295. package/dist/collection/components/animated-tab/animated-tab.css +0 -14
  1296. package/dist/collection/components/animated-tab/animated-tab.js +0 -69
  1297. package/dist/collection/components/animated-tab/animated-tab.js.map +0 -1
  1298. package/dist/collection/components/animated-tabs/animated-tabs.css +0 -158
  1299. package/dist/collection/components/animated-tabs/animated-tabs.js +0 -303
  1300. package/dist/collection/components/animated-tabs/animated-tabs.js.map +0 -1
  1301. package/dist/collection/components/counter-pill/counter-pill.css +0 -323
  1302. package/dist/collection/components/counter-pill/counter-pill.js +0 -135
  1303. package/dist/collection/components/counter-pill/counter-pill.js.map +0 -1
  1304. package/dist/collection/components/dropdown/alignment.js +0 -10
  1305. package/dist/collection/components/dropdown/alignment.js.map +0 -1
  1306. package/dist/collection/components/group-dropdown-item/group-dropdown-item.css +0 -11
  1307. package/dist/collection/components/group-dropdown-item/group-dropdown-item.js +0 -69
  1308. package/dist/collection/components/group-dropdown-item/group-dropdown-item.js.map +0 -1
  1309. package/dist/collection/components/index-button/index-button.css +0 -31
  1310. package/dist/collection/components/index-button/index-button.js +0 -83
  1311. package/dist/collection/components/index-button/index-button.js.map +0 -1
  1312. package/dist/collection/components/layout/css-grid/builder.js.map +0 -1
  1313. package/dist/collection/components/layout/css-grid/css-grid-item.js.map +0 -1
  1314. package/dist/collection/components/layout/css-grid/css-grid.js +0 -123
  1315. package/dist/collection/components/layout/css-grid/css-grid.js.map +0 -1
  1316. package/dist/collection/components/modal/modal-utils.js +0 -37
  1317. package/dist/collection/components/modal/modal-utils.js.map +0 -1
  1318. package/dist/collection/components/modal-container/modal-container.css +0 -14
  1319. package/dist/collection/components/modal-container/modal-container.js +0 -126
  1320. package/dist/collection/components/modal-container/modal-container.js.map +0 -1
  1321. package/dist/collection/components/utils/screen/context.js +0 -30
  1322. package/dist/collection/components/utils/screen/context.js.map +0 -1
  1323. package/dist/collection/components/utils/screen/index.js +0 -10
  1324. package/dist/collection/components/utils/screen/index.js.map +0 -1
  1325. package/dist/collection/components/utils/screen/mode.js +0 -37
  1326. package/dist/collection/components/utils/screen/mode.js.map +0 -1
  1327. package/dist/collection/components/utils/screen/service.js +0 -46
  1328. package/dist/collection/components/utils/screen/service.js.map +0 -1
  1329. package/dist/components/index-button.js +0 -41
  1330. package/dist/components/index-button.js.map +0 -1
  1331. package/dist/components/ix-animated-tab.d.ts +0 -11
  1332. package/dist/components/ix-animated-tab.js +0 -39
  1333. package/dist/components/ix-animated-tab.js.map +0 -1
  1334. package/dist/components/ix-animated-tabs.d.ts +0 -11
  1335. package/dist/components/ix-animated-tabs.js +0 -224
  1336. package/dist/components/ix-animated-tabs.js.map +0 -1
  1337. package/dist/components/ix-counter-pill.d.ts +0 -11
  1338. package/dist/components/ix-counter-pill.js +0 -54
  1339. package/dist/components/ix-counter-pill.js.map +0 -1
  1340. package/dist/components/ix-group-dropdown-item.d.ts +0 -11
  1341. package/dist/components/ix-group-dropdown-item.js +0 -51
  1342. package/dist/components/ix-group-dropdown-item.js.map +0 -1
  1343. package/dist/components/ix-index-button.d.ts +0 -11
  1344. package/dist/components/ix-index-button.js +0 -8
  1345. package/dist/components/ix-index-button.js.map +0 -1
  1346. package/dist/components/ix-modal-container.d.ts +0 -11
  1347. package/dist/components/ix-modal-container.js +0 -8
  1348. package/dist/components/ix-modal-container.js.map +0 -1
  1349. package/dist/components/modal-container.js +0 -109
  1350. package/dist/components/modal-container.js.map +0 -1
  1351. package/dist/components/modal-utils.js +0 -40
  1352. package/dist/components/modal-utils.js.map +0 -1
  1353. package/dist/components/service.js +0 -141
  1354. package/dist/components/service.js.map +0 -1
  1355. package/dist/esm/base-button-5bfeb71c.js +0 -33
  1356. package/dist/esm/base-button-5bfeb71c.js.map +0 -1
  1357. package/dist/esm/context-f6a2b727.js +0 -73
  1358. package/dist/esm/context-f6a2b727.js.map +0 -1
  1359. package/dist/esm/flip-tile-state-051bb2fd.js +0 -20
  1360. package/dist/esm/flip-tile-state-051bb2fd.js.map +0 -1
  1361. package/dist/esm/floating-ui.dom.esm-3130eda0.js +0 -1493
  1362. package/dist/esm/floating-ui.dom.esm-3130eda0.js.map +0 -1
  1363. package/dist/esm/icon-c659fc0f.js +0 -112
  1364. package/dist/esm/icon-c659fc0f.js.map +0 -1
  1365. package/dist/esm/index-8ddfb6d8.js +0 -2553
  1366. package/dist/esm/index-8ddfb6d8.js.map +0 -1
  1367. package/dist/esm/ix-animated-tab_2.entry.js +0 -209
  1368. package/dist/esm/ix-animated-tab_2.entry.js.map +0 -1
  1369. package/dist/esm/ix-card_3.entry.js +0 -68
  1370. package/dist/esm/ix-card_3.entry.js.map +0 -1
  1371. package/dist/esm/ix-counter-pill.entry.js +0 -31
  1372. package/dist/esm/ix-counter-pill.entry.js.map +0 -1
  1373. package/dist/esm/ix-group_3.entry.js +0 -175
  1374. package/dist/esm/ix-group_3.entry.js.map +0 -1
  1375. package/dist/esm/ix-index-button.entry.js +0 -24
  1376. package/dist/esm/ix-index-button.entry.js.map +0 -1
  1377. package/dist/esm/ix-modal_2.entry.js +0 -222
  1378. package/dist/esm/ix-modal_2.entry.js.map +0 -1
  1379. package/dist/esm/modal-utils-aecbcba5.js +0 -40
  1380. package/dist/esm/modal-utils-aecbcba5.js.map +0 -1
  1381. package/dist/esm/service-fc436c5b.js +0 -73
  1382. package/dist/esm/service-fc436c5b.js.map +0 -1
  1383. package/dist/esm/theme-switcher-7498e4f2.js +0 -91
  1384. package/dist/esm/theme-switcher-7498e4f2.js.map +0 -1
  1385. package/dist/siemens-ix/p-003e9355.entry.js +0 -2
  1386. package/dist/siemens-ix/p-07c932da.entry.js +0 -2
  1387. package/dist/siemens-ix/p-07c932da.entry.js.map +0 -1
  1388. package/dist/siemens-ix/p-0899258a.entry.js +0 -2
  1389. package/dist/siemens-ix/p-0899258a.entry.js.map +0 -1
  1390. package/dist/siemens-ix/p-1331a920.entry.js +0 -2
  1391. package/dist/siemens-ix/p-1331a920.entry.js.map +0 -1
  1392. package/dist/siemens-ix/p-13bda5ea.entry.js +0 -2
  1393. package/dist/siemens-ix/p-1572aab3.js +0 -2
  1394. package/dist/siemens-ix/p-1572aab3.js.map +0 -1
  1395. package/dist/siemens-ix/p-15bebd8a.js +0 -2
  1396. package/dist/siemens-ix/p-15bebd8a.js.map +0 -1
  1397. package/dist/siemens-ix/p-1c64b073.js +0 -3
  1398. package/dist/siemens-ix/p-1c64b073.js.map +0 -1
  1399. package/dist/siemens-ix/p-1e8ee4af.entry.js +0 -2
  1400. package/dist/siemens-ix/p-3172249b.entry.js +0 -2
  1401. package/dist/siemens-ix/p-3172249b.entry.js.map +0 -1
  1402. package/dist/siemens-ix/p-323d5529.js +0 -2
  1403. package/dist/siemens-ix/p-323d5529.js.map +0 -1
  1404. package/dist/siemens-ix/p-3ddf017b.entry.js +0 -2
  1405. package/dist/siemens-ix/p-3ec2368b.entry.js +0 -2
  1406. package/dist/siemens-ix/p-3ec2368b.entry.js.map +0 -1
  1407. package/dist/siemens-ix/p-3f4a9e1f.entry.js +0 -2
  1408. package/dist/siemens-ix/p-3f4a9e1f.entry.js.map +0 -1
  1409. package/dist/siemens-ix/p-40982e21.entry.js +0 -2
  1410. package/dist/siemens-ix/p-40982e21.entry.js.map +0 -1
  1411. package/dist/siemens-ix/p-4597dd77.entry.js +0 -2
  1412. package/dist/siemens-ix/p-4597dd77.entry.js.map +0 -1
  1413. package/dist/siemens-ix/p-46ced516.entry.js +0 -2
  1414. package/dist/siemens-ix/p-46ced516.entry.js.map +0 -1
  1415. package/dist/siemens-ix/p-47422d47.entry.js +0 -2
  1416. package/dist/siemens-ix/p-47422d47.entry.js.map +0 -1
  1417. package/dist/siemens-ix/p-4851ea38.entry.js +0 -2
  1418. package/dist/siemens-ix/p-4851ea38.entry.js.map +0 -1
  1419. package/dist/siemens-ix/p-4e851aa3.entry.js +0 -2
  1420. package/dist/siemens-ix/p-4e851aa3.entry.js.map +0 -1
  1421. package/dist/siemens-ix/p-51c81a20.entry.js +0 -2
  1422. package/dist/siemens-ix/p-51c81a20.entry.js.map +0 -1
  1423. package/dist/siemens-ix/p-529d7530.js +0 -2
  1424. package/dist/siemens-ix/p-529d7530.js.map +0 -1
  1425. package/dist/siemens-ix/p-55b54a81.entry.js +0 -2
  1426. package/dist/siemens-ix/p-55b54a81.entry.js.map +0 -1
  1427. package/dist/siemens-ix/p-5b39e04e.js +0 -2
  1428. package/dist/siemens-ix/p-5b39e04e.js.map +0 -1
  1429. package/dist/siemens-ix/p-6124d173.entry.js +0 -2
  1430. package/dist/siemens-ix/p-6124d173.entry.js.map +0 -1
  1431. package/dist/siemens-ix/p-626fbee2.entry.js +0 -2
  1432. package/dist/siemens-ix/p-626fbee2.entry.js.map +0 -1
  1433. package/dist/siemens-ix/p-652ba2c1.entry.js +0 -2
  1434. package/dist/siemens-ix/p-652ba2c1.entry.js.map +0 -1
  1435. package/dist/siemens-ix/p-67be3720.entry.js +0 -2
  1436. package/dist/siemens-ix/p-67be3720.entry.js.map +0 -1
  1437. package/dist/siemens-ix/p-6acce5c9.entry.js +0 -2
  1438. package/dist/siemens-ix/p-6c033b08.entry.js +0 -2
  1439. package/dist/siemens-ix/p-6c033b08.entry.js.map +0 -1
  1440. package/dist/siemens-ix/p-821ca55e.entry.js +0 -2
  1441. package/dist/siemens-ix/p-821ca55e.entry.js.map +0 -1
  1442. package/dist/siemens-ix/p-85f01dba.entry.js +0 -2
  1443. package/dist/siemens-ix/p-85f01dba.entry.js.map +0 -1
  1444. package/dist/siemens-ix/p-8719eeff.entry.js +0 -2
  1445. package/dist/siemens-ix/p-8719eeff.entry.js.map +0 -1
  1446. package/dist/siemens-ix/p-905977c4.entry.js +0 -2
  1447. package/dist/siemens-ix/p-905977c4.entry.js.map +0 -1
  1448. package/dist/siemens-ix/p-94ab7c1c.entry.js +0 -2
  1449. package/dist/siemens-ix/p-94ab7c1c.entry.js.map +0 -1
  1450. package/dist/siemens-ix/p-9a82921b.entry.js +0 -2
  1451. package/dist/siemens-ix/p-9a82921b.entry.js.map +0 -1
  1452. package/dist/siemens-ix/p-a08e1bbc.entry.js +0 -2
  1453. package/dist/siemens-ix/p-a08e1bbc.entry.js.map +0 -1
  1454. package/dist/siemens-ix/p-a422c64a.entry.js +0 -2
  1455. package/dist/siemens-ix/p-a422c64a.entry.js.map +0 -1
  1456. package/dist/siemens-ix/p-a7212f01.entry.js +0 -2
  1457. package/dist/siemens-ix/p-a7212f01.entry.js.map +0 -1
  1458. package/dist/siemens-ix/p-a73580a5.entry.js +0 -2
  1459. package/dist/siemens-ix/p-a73580a5.entry.js.map +0 -1
  1460. package/dist/siemens-ix/p-a89a1fa5.entry.js +0 -2
  1461. package/dist/siemens-ix/p-a89a1fa5.entry.js.map +0 -1
  1462. package/dist/siemens-ix/p-b14308ed.js +0 -2
  1463. package/dist/siemens-ix/p-b14308ed.js.map +0 -1
  1464. package/dist/siemens-ix/p-b1db27a3.js +0 -2
  1465. package/dist/siemens-ix/p-b5c40bb3.entry.js +0 -2
  1466. package/dist/siemens-ix/p-b5c40bb3.entry.js.map +0 -1
  1467. package/dist/siemens-ix/p-b60bd26c.entry.js +0 -2
  1468. package/dist/siemens-ix/p-b60bd26c.entry.js.map +0 -1
  1469. package/dist/siemens-ix/p-bd24f35f.entry.js +0 -2
  1470. package/dist/siemens-ix/p-c7109071.entry.js +0 -2
  1471. package/dist/siemens-ix/p-c7109071.entry.js.map +0 -1
  1472. package/dist/siemens-ix/p-c724bb65.entry.js +0 -2
  1473. package/dist/siemens-ix/p-c724bb65.entry.js.map +0 -1
  1474. package/dist/siemens-ix/p-ca4d28fb.entry.js +0 -2
  1475. package/dist/siemens-ix/p-ca4d28fb.entry.js.map +0 -1
  1476. package/dist/siemens-ix/p-cd3cfc78.entry.js +0 -2
  1477. package/dist/siemens-ix/p-cd3cfc78.entry.js.map +0 -1
  1478. package/dist/siemens-ix/p-cd4e3593.entry.js +0 -2
  1479. package/dist/siemens-ix/p-cd4e3593.entry.js.map +0 -1
  1480. package/dist/siemens-ix/p-cd75b455.entry.js +0 -2
  1481. package/dist/siemens-ix/p-cd75b455.entry.js.map +0 -1
  1482. package/dist/siemens-ix/p-cf2717c1.entry.js +0 -2
  1483. package/dist/siemens-ix/p-cf2717c1.entry.js.map +0 -1
  1484. package/dist/siemens-ix/p-d2225fc2.entry.js +0 -2
  1485. package/dist/siemens-ix/p-d2225fc2.entry.js.map +0 -1
  1486. package/dist/siemens-ix/p-d5302336.entry.js +0 -2
  1487. package/dist/siemens-ix/p-d5302336.entry.js.map +0 -1
  1488. package/dist/siemens-ix/p-d784a04b.entry.js +0 -2
  1489. package/dist/siemens-ix/p-d784a04b.entry.js.map +0 -1
  1490. package/dist/siemens-ix/p-d7e23a1f.entry.js +0 -2
  1491. package/dist/siemens-ix/p-d7e23a1f.entry.js.map +0 -1
  1492. package/dist/siemens-ix/p-d848739e.entry.js +0 -2
  1493. package/dist/siemens-ix/p-d848739e.entry.js.map +0 -1
  1494. package/dist/siemens-ix/p-dbcec49e.entry.js +0 -2
  1495. package/dist/siemens-ix/p-dbcec49e.entry.js.map +0 -1
  1496. package/dist/siemens-ix/p-dc98d3f4.entry.js +0 -2
  1497. package/dist/siemens-ix/p-dc98d3f4.entry.js.map +0 -1
  1498. package/dist/siemens-ix/p-df138b2a.entry.js +0 -2
  1499. package/dist/siemens-ix/p-df138b2a.entry.js.map +0 -1
  1500. package/dist/siemens-ix/p-eccc2475.entry.js +0 -2
  1501. package/dist/siemens-ix/p-eccc2475.entry.js.map +0 -1
  1502. package/dist/siemens-ix/p-ecd1145b.entry.js +0 -2
  1503. package/dist/siemens-ix/p-ecd1145b.entry.js.map +0 -1
  1504. package/dist/siemens-ix/p-f207e578.entry.js +0 -2
  1505. package/dist/siemens-ix/p-f207e578.entry.js.map +0 -1
  1506. package/dist/siemens-ix/p-f34a16c6.js +0 -2
  1507. package/dist/siemens-ix/p-f34a16c6.js.map +0 -1
  1508. package/dist/siemens-ix/p-f48b706b.entry.js +0 -2
  1509. package/dist/siemens-ix/p-f48b706b.entry.js.map +0 -1
  1510. package/dist/siemens-ix/p-f50697b9.entry.js +0 -2
  1511. package/dist/siemens-ix/p-f50697b9.entry.js.map +0 -1
  1512. package/dist/siemens-ix/p-f6ae45fb.entry.js +0 -2
  1513. package/dist/siemens-ix/p-f6ae45fb.entry.js.map +0 -1
  1514. package/dist/siemens-ix/p-f74c7692.entry.js +0 -2
  1515. package/dist/siemens-ix/p-f74c7692.entry.js.map +0 -1
  1516. package/dist/siemens-ix/p-feb8c2c4.entry.js +0 -2
  1517. package/dist/siemens-ix/p-feb8c2c4.entry.js.map +0 -1
  1518. package/dist/types/components/animated-tab/animated-tab.d.ts +0 -11
  1519. package/dist/types/components/animated-tabs/animated-tabs.d.ts +0 -44
  1520. package/dist/types/components/counter-pill/counter-pill.d.ts +0 -24
  1521. package/dist/types/components/dropdown/alignment.d.ts +0 -2
  1522. package/dist/types/components/group-dropdown-item/group-dropdown-item.d.ts +0 -11
  1523. package/dist/types/components/index-button/index-button.d.ts +0 -16
  1524. package/dist/types/components/modal/modal-utils.d.ts +0 -29
  1525. package/dist/types/components/modal-container/modal-container.d.ts +0 -12
  1526. package/dist/types/components/utils/screen/context.d.ts +0 -4
  1527. package/dist/types/components/utils/screen/index.d.ts +0 -1
  1528. package/dist/types/components/utils/screen/mode.d.ts +0 -10
  1529. package/dist/types/components/utils/screen/service.d.ts +0 -10
  1530. package/scss/_fonts.scss +0 -70
  1531. package/scss/components/_buttons.scss +0 -175
  1532. package/scss/components/_dropdown.scss +0 -169
  1533. package/scss/components/_forms.scss +0 -161
  1534. package/scss/components/_modal.scss +0 -41
  1535. /package/dist/collection/components/{layout/css-grid → css-grid}/builder.js +0 -0
  1536. /package/dist/collection/components/{layout/css-grid → css-grid}/css-grid-item.css +0 -0
  1537. /package/dist/collection/components/{layout/css-grid → css-grid}/css-grid-item.js +0 -0
  1538. /package/dist/collection/components/{layout/css-grid → css-grid}/css-grid.css +0 -0
  1539. /package/dist/siemens-ix/{p-13bda5ea.entry.js.map → p-4659c550.entry.js.map} +0 -0
  1540. /package/dist/siemens-ix/{p-6acce5c9.entry.js.map → p-4dbae019.entry.js.map} +0 -0
  1541. /package/dist/siemens-ix/{p-b1db27a3.js.map → p-8c7d1e06.js.map} +0 -0
  1542. /package/dist/siemens-ix/{p-1e8ee4af.entry.js.map → p-b38eff08.entry.js.map} +0 -0
  1543. /package/dist/siemens-ix/{p-bd24f35f.entry.js.map → p-b735ee5e.entry.js.map} +0 -0
  1544. /package/dist/siemens-ix/{p-3ddf017b.entry.js.map → p-db174600.entry.js.map} +0 -0
  1545. /package/dist/siemens-ix/{p-003e9355.entry.js.map → p-f88b25d7.entry.js.map} +0 -0
  1546. /package/dist/types/components/{layout/css-grid → css-grid}/builder.d.ts +0 -0
  1547. /package/dist/types/components/{layout/css-grid → css-grid}/css-grid-item.d.ts +0 -0
  1548. /package/dist/types/components/{layout/css-grid → css-grid}/css-grid.d.ts +0 -0
  1549. /package/scss/{components → legacy/components}/_button-group.scss +0 -0
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-c978628a.js');
5
+ const index = require('./index-be499a74.js');
6
6
  const typedEvent = require('./typed-event-f0f051da.js');
7
7
 
8
- const toastCss = ".sc-ix-toast-h{display:flex;flex-direction:column;position:relative;min-width:17.5rem;max-width:17.5rem;min-height:3.5rem;pointer-events:all;background-color:var(--theme-toast--background);border:var(--theme-toast--border-thickness) solid var(--theme-toast--border-color);border-radius:var(--theme-toast--border-radius);box-shadow:var(--theme-toast--box-shadow);--animate-duration:300ms}.sc-ix-toast-h .toast-body.sc-ix-toast{display:flex;position:relative;width:100%;flex-grow:1}.sc-ix-toast-h .toast-body.sc-ix-toast .toast-icon.sc-ix-toast{display:flex;align-items:flex-start;margin:1rem}.sc-ix-toast-h .toast-body.sc-ix-toast .toast-content.sc-ix-toast{overflow:hidden;text-overflow:ellipsis;min-width:0;width:100%;max-width:10.25rem;margin-top:calc(\n 1rem + var(--theme-toast--border-thickness)\n );margin-bottom:0.75rem}.sc-ix-toast-h .toast-body.sc-ix-toast .toast-content.sc-ix-toast .toast-message.sc-ix-toast{min-width:0}.sc-ix-toast-h .toast-close.sc-ix-toast{display:flex;position:relative;margin:0.75rem;pointer-events:all}.sc-ix-toast-h .toast-progress-bar.sc-ix-toast{position:absolute;bottom:0;height:0.25rem;width:100%;background-color:var(--theme-toast-timer-value--background);transform-origin:left}.sc-ix-toast-h .toast-progress-bar--animated.sc-ix-toast{animation:trackProgress linear 1 forwards}@keyframes trackProgress{0%{transform:scaleX(1)}100%{transform:scaleX(0)}}";
8
+ const toastCss = ":host{display:flex;flex-direction:column;position:relative;min-width:17.5rem;max-width:17.5rem;min-height:3.5rem;pointer-events:all;background-color:var(--theme-toast--background);border:var(--theme-toast--border-thickness) solid var(--theme-toast--border-color);border-radius:var(--theme-toast--border-radius);box-shadow:var(--theme-toast--box-shadow);--animate-duration:300ms}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .toast-body{display:flex;position:relative;width:100%;flex-grow:1}:host .toast-body .toast-icon{display:flex;align-items:flex-start;margin:1rem}:host .toast-body .toast-content{overflow:hidden;text-overflow:ellipsis;min-width:0;width:100%;max-width:10.25rem;margin-top:calc(\n 1rem + var(--theme-toast--border-thickness)\n );margin-bottom:0.75rem}:host .toast-body .toast-content .toast-title{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.143em;color:var(--theme-color-std-text)}:host .toast-body .toast-content .toast-message{min-width:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text)}:host .toast-close{display:flex;position:relative;margin:0.75rem;pointer-events:all}:host .toast-progress-bar{position:absolute;bottom:0;height:0.25rem;width:100%;background-color:var(--theme-toast-timer-value--background);transform-origin:left}:host .toast-progress-bar--animated{animation:trackProgress linear 1 forwards}@keyframes trackProgress{0%{transform:scaleX(1)}100%{transform:scaleX(0)}}";
9
9
 
10
10
  const Toast = class {
11
11
  constructor(hostRef) {
@@ -38,8 +38,8 @@ const Toast = class {
38
38
  }
39
39
  }
40
40
  close() {
41
- if (this.host) {
42
- this.host.classList.add('animate__fadeOut');
41
+ if (this.hostElement) {
42
+ this.hostElement.classList.add('animate__fadeOut');
43
43
  }
44
44
  setTimeout(() => {
45
45
  this.closeToast.emit();
@@ -57,7 +57,7 @@ const Toast = class {
57
57
  this.touched = false;
58
58
  }, onPointerEnter: () => {
59
59
  this.touched = true;
60
- } }, this.type || this.icon ? (index.h("div", { class: "toast-icon" }, this.getIcon())) : null, index.h("div", { class: "toast-content" }, this.toastTitle ? (index.h("div", { class: "toast-title text-default-title-single" }, this.toastTitle)) : null, index.h("div", { class: "toast-message text-default" }, index.h("slot", null))), index.h("div", { class: "toast-close" }, index.h("ix-icon-button", { icon: "close", size: "24", ghost: true, onClick: () => this.closeToast.emit() }))), this.autoClose ? (index.h("div", { class: progressBarClass.join(' '), style: progressBarStyle, onAnimationEnd: () => {
60
+ } }, this.type || this.icon ? (index.h("div", { class: "toast-icon" }, this.getIcon())) : null, index.h("div", { class: "toast-content" }, this.toastTitle ? (index.h("div", { class: "toast-title" }, this.toastTitle)) : null, index.h("div", { class: "toast-message" }, index.h("slot", null))), index.h("div", { class: "toast-close" }, index.h("ix-icon-button", { icon: "close", size: "24", ghost: true, onClick: () => this.closeToast.emit() }))), this.autoClose ? (index.h("div", { class: progressBarClass.join(' '), style: progressBarStyle, onAnimationEnd: () => {
61
61
  this.close();
62
62
  }, onTransitionEnd: () => {
63
63
  if (this.progress === 0) {
@@ -65,7 +65,7 @@ const Toast = class {
65
65
  }
66
66
  } })) : null));
67
67
  }
68
- get host() { return index.getElement(this); }
68
+ get hostElement() { return index.getElement(this); }
69
69
  };
70
70
  Toast.style = toastCss;
71
71
 
@@ -132,7 +132,6 @@ const ToastContainer = class {
132
132
  render() {
133
133
  return index.h(index.Host, null);
134
134
  }
135
- get host() { return index.getElement(this); }
136
135
  static get watchers() { return {
137
136
  "position": ["onPositionChange"]
138
137
  }; }
@@ -1 +1 @@
1
- {"file":"ix-toast.ix-toast-container.entry.cjs.js","mappings":"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","names":["h","Host","TypedEvent"],"sources":["./src/components/toast/toast.scss?tag=ix-toast&encapsulation=scoped","./src/components/toast/toast.tsx","./src/components/toast/toast-container.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n\n:host {\n display: flex;\n flex-direction: column;\n position: relative;\n min-width: 17.5rem;\n max-width: 17.5rem;\n min-height: 3.5rem;\n\n pointer-events: all;\n\n background-color: var(--theme-toast--background);\n border: var(--theme-toast--border-thickness) solid\n var(--theme-toast--border-color);\n border-radius: var(--theme-toast--border-radius);\n box-shadow: var(--theme-toast--box-shadow);\n\n --animate-duration: #{$medium-time};\n\n .toast-body {\n display: flex;\n position: relative;\n width: 100%;\n flex-grow: 1;\n\n .toast-icon {\n display: flex;\n align-items: flex-start;\n margin: $default-space;\n }\n\n .toast-content {\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0;\n width: 100%;\n max-width: 10.25rem;\n margin-top: calc(\n #{$default-space} + var(--theme-toast--border-thickness)\n );\n margin-bottom: $medium-space;\n\n .toast-message {\n min-width: 0;\n }\n }\n }\n\n .toast-close {\n display: flex;\n position: relative;\n margin: $medium-space;\n pointer-events: all;\n }\n\n .toast-progress-bar {\n position: absolute;\n bottom: 0;\n height: $tiny-space;\n width: 100%;\n background-color: var(--theme-toast-timer-value--background);\n transform-origin: left;\n\n &--animated {\n animation: trackProgress linear 1 forwards;\n }\n }\n\n @keyframes trackProgress {\n 0% {\n transform: scaleX(1);\n }\n 100% {\n transform: scaleX(0);\n }\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\nimport { ToastType } from './toast-utils';\n\n@Component({\n tag: 'ix-toast',\n styleUrl: 'toast.scss',\n scoped: true,\n})\nexport class Toast {\n /**\n * Toast type\n */\n @Prop() type: ToastType = 'info';\n\n /**\n * Toast title\n */\n @Prop() toastTitle: string;\n\n /**\n * Autoclose title after delay\n */\n @Prop() autoCloseDelay = 5000;\n\n /**\n * Autoclose behavior\n */\n @Prop() autoClose = true;\n\n /**\n * Icon of toast\n */\n @Prop() icon: string;\n\n /**\n * Icon color of toast\n */\n @Prop() iconColor: string;\n\n /**\n * Toast closed\n */\n @Event() closeToast: EventEmitter;\n\n @State() progress = 0;\n @State() touched = false;\n\n @Element() host!: HTMLIxToastElement;\n\n private getIcon() {\n if (this.icon) {\n return <ix-icon name={this.icon} color={this.iconColor} size=\"24\" />;\n }\n\n switch (this.type) {\n case 'info':\n return <ix-icon name={'info'} size=\"24\" color=\"color-std-text\" />;\n\n case 'error':\n return <ix-icon name={'error'} size=\"24\" color=\"color-alarm\" />;\n\n case 'success':\n return <ix-icon name={'success'} size=\"24\" color=\"color-success\" />;\n\n case 'warning':\n return <ix-icon name={'warning'} size=\"24\" color=\"color-warning\" />;\n\n default:\n return '';\n }\n }\n\n private close() {\n if (this.host) {\n this.host.classList.add('animate__fadeOut');\n }\n setTimeout(() => {\n this.closeToast.emit();\n }, 250);\n }\n\n render() {\n let progressBarStyle: Record<string, string> = {};\n\n const progressBarClass = ['toast-progress-bar'];\n\n progressBarStyle = {\n animationDuration: `${this.autoCloseDelay}ms`,\n animationPlayState: this.touched ? 'paused' : 'running',\n };\n\n progressBarClass.push('toast-progress-bar--animated');\n\n return (\n <Host class=\"animate__animated animate__fadeIn\">\n <div\n class=\"toast-body\"\n onPointerLeave={() => {\n this.touched = false;\n }}\n onPointerEnter={() => {\n this.touched = true;\n }}\n >\n {this.type || this.icon ? (\n <div class=\"toast-icon\">{this.getIcon()}</div>\n ) : null}\n <div class=\"toast-content\">\n {this.toastTitle ? (\n <div class=\"toast-title text-default-title-single\">\n {this.toastTitle}\n </div>\n ) : null}\n <div class=\"toast-message text-default\">\n <slot></slot>\n </div>\n </div>\n <div class=\"toast-close\">\n <ix-icon-button\n icon=\"close\"\n size=\"24\"\n ghost\n onClick={() => this.closeToast.emit()}\n />\n </div>\n </div>\n {this.autoClose ? (\n <div\n class={progressBarClass.join(' ')}\n style={progressBarStyle}\n onAnimationEnd={() => {\n this.close();\n }}\n onTransitionEnd={() => {\n if (this.progress === 0) {\n this.close();\n }\n }}\n ></div>\n ) : null}\n </Host>\n );\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n h,\n Host,\n Method,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { TypedEvent } from '../utils/typed-event';\nimport { ToastConfig } from './toast-utils';\n\n@Component({\n tag: 'ix-toast-container',\n scoped: true,\n})\nexport class ToastContainer {\n @Element() host!: HTMLIxToastContainerElement;\n\n /**\n */\n @Prop() containerId = 'toast-container';\n\n /**\n */\n @Prop() containerClass = 'toast-container';\n\n /**\n */\n @Prop() position: 'bottom-right' | 'top-right' = 'bottom-right';\n\n private readonly PREFIX_POSITION_CLASS = 'toast-container--';\n\n get hostContainer() {\n return document.getElementById(this.containerId);\n }\n\n componentDidLoad() {\n if (!document.getElementById(this.containerId)) {\n const toastContainer = document.createElement('div');\n toastContainer.id = this.containerId;\n toastContainer.classList.add(this.containerClass);\n toastContainer.classList.add(\n `${this.PREFIX_POSITION_CLASS}${this.position}`\n );\n document.body.appendChild(toastContainer);\n }\n }\n\n @Watch('position')\n onPositionChange(newPosition: string, oldPosition: string) {\n const toastContainer = document.getElementById(this.containerId);\n toastContainer.classList.remove(\n `${this.PREFIX_POSITION_CLASS}${oldPosition}`\n );\n toastContainer.classList.add(`${this.PREFIX_POSITION_CLASS}${newPosition}`);\n }\n\n /**\n * Display a toast message\n * @param config\n */\n @Method()\n async showToast(config: ToastConfig) {\n const toast = document.createElement('ix-toast');\n\n const onClose = new TypedEvent<any | undefined>();\n\n function removeToast(result?: any) {\n toast.remove();\n onClose.emit(result);\n }\n\n toast.toastTitle = config.title;\n toast.type = config.type;\n toast.autoClose = config.autoClose;\n toast.autoCloseDelay = config.autoCloseDelay;\n toast.icon = config.icon;\n toast.iconColor = config.iconColor;\n toast.addEventListener(\n 'closeToast',\n (event: CustomEvent<any | undefined>) => {\n const { detail } = event;\n removeToast(detail);\n }\n );\n\n if (typeof config.message === 'string') {\n toast.innerText = config.message;\n } else {\n toast.appendChild(config.message);\n }\n\n this.hostContainer.appendChild(toast);\n\n return {\n onClose,\n close: (result?: any) => {\n removeToast(result);\n },\n };\n }\n\n render() {\n return <Host></Host>;\n }\n}\n"],"version":3}
1
+ {"file":"ix-toast.ix-toast-container.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,QAAQ,GAAG,gsEAAgsE;;MC0BpsE,KAAK;;;;gBAIU,MAAM;;0BAUP,IAAI;qBAKT,IAAI;;;oBAiBJ,CAAC;mBACF,KAAK;;EAIhB,OAAO;IACb,IAAI,IAAI,CAAC,IAAI,EAAE;MACb,OAAOA,qBAAS,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,EAAC,IAAI,GAAG,CAAC;KACtE;IAED,QAAQ,IAAI,CAAC,IAAI;MACf,KAAK,MAAM;QACT,OAAOA,qBAAS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAC,IAAI,EAAC,KAAK,EAAC,gBAAgB,GAAG,CAAC;MAEpE,KAAK,OAAO;QACV,OAAOA,qBAAS,IAAI,EAAE,OAAO,EAAE,IAAI,EAAC,IAAI,EAAC,KAAK,EAAC,aAAa,GAAG,CAAC;MAElE,KAAK,SAAS;QACZ,OAAOA,qBAAS,IAAI,EAAE,SAAS,EAAE,IAAI,EAAC,IAAI,EAAC,KAAK,EAAC,eAAe,GAAG,CAAC;MAEtE,KAAK,SAAS;QACZ,OAAOA,qBAAS,IAAI,EAAE,SAAS,EAAE,IAAI,EAAC,IAAI,EAAC,KAAK,EAAC,eAAe,GAAG,CAAC;MAEtE;QACE,OAAO,EAAE,CAAC;KACb;GACF;EAEO,KAAK;IACX,IAAI,IAAI,CAAC,WAAW,EAAE;MACpB,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;KACpD;IACD,UAAU,CAAC;MACT,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;KACxB,EAAE,GAAG,CAAC,CAAC;GACT;EAED,MAAM;IACJ,IAAI,gBAAgB,GAA2B,EAAE,CAAC;IAElD,MAAM,gBAAgB,GAAG,CAAC,oBAAoB,CAAC,CAAC;IAEhD,gBAAgB,GAAG;MACjB,iBAAiB,EAAE,GAAG,IAAI,CAAC,cAAc,IAAI;MAC7C,kBAAkB,EAAE,IAAI,CAAC,OAAO,GAAG,QAAQ,GAAG,SAAS;KACxD,CAAC;IAEF,gBAAgB,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC;IAEtD,QACEA,QAACC,UAAI,IAAC,KAAK,EAAC,mCAAmC,IAC7CD,iBACE,KAAK,EAAC,YAAY,EAClB,cAAc,EAAE;QACd,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;OACtB,EACD,cAAc,EAAE;QACd,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;OACrB,IAEA,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,IACrBA,iBAAK,KAAK,EAAC,YAAY,IAAE,IAAI,CAAC,OAAO,EAAE,CAAO,IAC5C,IAAI,EACRA,iBAAK,KAAK,EAAC,eAAe,IACvB,IAAI,CAAC,UAAU,IACdA,iBAAK,KAAK,EAAC,aAAa,IAAE,IAAI,CAAC,UAAU,CAAO,IAC9C,IAAI,EACRA,iBAAK,KAAK,EAAC,eAAe,IACxBA,qBAAa,CACT,CACF,EACNA,iBAAK,KAAK,EAAC,aAAa,IACtBA,4BACE,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,IAAI,EACT,KAAK,QACL,OAAO,EAAE,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,GACrC,CACE,CACF,EACL,IAAI,CAAC,SAAS,IACbA,iBACE,KAAK,EAAE,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,EACjC,KAAK,EAAE,gBAAgB,EACvB,cAAc,EAAE;QACd,IAAI,CAAC,KAAK,EAAE,CAAC;OACd,EACD,eAAe,EAAE;QACf,IAAI,IAAI,CAAC,QAAQ,KAAK,CAAC,EAAE;UACvB,IAAI,CAAC,KAAK,EAAE,CAAC;SACd;OACF,GACI,IACL,IAAI,CACH,EACP;GACH;;;;;MC7IU,cAAc;;;IAaR,0BAAqB,GAAG,mBAAmB,CAAC;uBAVvC,iBAAiB;0BAId,iBAAiB;oBAIO,cAAc;;EAI/D,IAAI,aAAa;IACf,OAAO,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;GAClD;EAED,gBAAgB;IACd,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;MAC9C,MAAM,cAAc,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;MACrD,cAAc,CAAC,EAAE,GAAG,IAAI,CAAC,WAAW,CAAC;MACrC,cAAc,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;MAClD,cAAc,CAAC,SAAS,CAAC,GAAG,CAC1B,GAAG,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC,QAAQ,EAAE,CAChD,CAAC;MACF,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;KAC3C;GACF;EAGD,gBAAgB,CAAC,WAAmB,EAAE,WAAmB;IACvD,MAAM,cAAc,GAAG,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACjE,cAAc,CAAC,SAAS,CAAC,MAAM,CAC7B,GAAG,IAAI,CAAC,qBAAqB,GAAG,WAAW,EAAE,CAC9C,CAAC;IACF,cAAc,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,qBAAqB,GAAG,WAAW,EAAE,CAAC,CAAC;GAC7E;;;;;EAOD,MAAM,SAAS,CAAC,MAAmB;IACjC,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;IAEjD,MAAM,OAAO,GAAG,IAAIE,qBAAU,EAAmB,CAAC;IAElD,SAAS,WAAW,CAAC,MAAY;MAC/B,KAAK,CAAC,MAAM,EAAE,CAAC;MACf,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KACtB;IAED,KAAK,CAAC,UAAU,GAAG,MAAM,CAAC,KAAK,CAAC;IAChC,KAAK,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;IACzB,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;IACnC,KAAK,CAAC,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC;IAC7C,KAAK,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;IACzB,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;IACnC,KAAK,CAAC,gBAAgB,CACpB,YAAY,EACZ,CAAC,KAAmC;MAClC,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;MACzB,WAAW,CAAC,MAAM,CAAC,CAAC;KACrB,CACF,CAAC;IAEF,IAAI,OAAO,MAAM,CAAC,OAAO,KAAK,QAAQ,EAAE;MACtC,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC;KAClC;SAAM;MACL,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;KACnC;IAED,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAEtC,OAAO;MACL,OAAO;MACP,KAAK,EAAE,CAAC,MAAY;QAClB,WAAW,CAAC,MAAM,CAAC,CAAC;OACrB;KACF,CAAC;GACH;EAED,MAAM;IACJ,OAAOF,QAACC,UAAI,OAAQ,CAAC;GACtB;;;;;;;;;","names":["h","Host","TypedEvent"],"sources":["./src/components/toast/toast.scss?tag=ix-toast&encapsulation=shadow","./src/components/toast/toast.tsx","./src/components/toast/toast-container.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n@import 'legacy/mixins/fonts';\n\n:host {\n @include ix-component;\n\n display: flex;\n flex-direction: column;\n position: relative;\n min-width: 17.5rem;\n max-width: 17.5rem;\n min-height: 3.5rem;\n\n pointer-events: all;\n\n background-color: var(--theme-toast--background);\n border: var(--theme-toast--border-thickness) solid\n var(--theme-toast--border-color);\n border-radius: var(--theme-toast--border-radius);\n box-shadow: var(--theme-toast--box-shadow);\n\n --animate-duration: #{$medium-time};\n\n .toast-body {\n display: flex;\n position: relative;\n width: 100%;\n flex-grow: 1;\n\n .toast-icon {\n display: flex;\n align-items: flex-start;\n margin: $default-space;\n }\n\n .toast-content {\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0;\n width: 100%;\n max-width: 10.25rem;\n margin-top: calc(\n #{$default-space} + var(--theme-toast--border-thickness)\n );\n margin-bottom: $medium-space;\n\n .toast-title {\n @include text-default-title-single;\n }\n .toast-message {\n min-width: 0;\n\n @include text-default;\n }\n }\n }\n\n .toast-close {\n display: flex;\n position: relative;\n margin: $medium-space;\n pointer-events: all;\n }\n\n .toast-progress-bar {\n position: absolute;\n bottom: 0;\n height: $tiny-space;\n width: 100%;\n background-color: var(--theme-toast-timer-value--background);\n transform-origin: left;\n\n &--animated {\n animation: trackProgress linear 1 forwards;\n }\n }\n\n @keyframes trackProgress {\n 0% {\n transform: scaleX(1);\n }\n 100% {\n transform: scaleX(0);\n }\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\nimport { ToastType } from './toast-utils';\n\n@Component({\n tag: 'ix-toast',\n styleUrl: 'toast.scss',\n shadow: true,\n})\nexport class Toast {\n /**\n * Toast type\n */\n @Prop() type: ToastType = 'info';\n\n /**\n * Toast title\n */\n @Prop() toastTitle: string;\n\n /**\n * Autoclose title after delay\n */\n @Prop() autoCloseDelay = 5000;\n\n /**\n * Autoclose behavior\n */\n @Prop() autoClose = true;\n\n /**\n * Icon of toast\n */\n @Prop() icon: string;\n\n /**\n * Icon color of toast\n */\n @Prop() iconColor: string;\n\n /**\n * Toast closed\n */\n @Event() closeToast: EventEmitter;\n\n @State() progress = 0;\n @State() touched = false;\n\n @Element() hostElement!: HTMLIxToastElement;\n\n private getIcon() {\n if (this.icon) {\n return <ix-icon name={this.icon} color={this.iconColor} size=\"24\" />;\n }\n\n switch (this.type) {\n case 'info':\n return <ix-icon name={'info'} size=\"24\" color=\"color-std-text\" />;\n\n case 'error':\n return <ix-icon name={'error'} size=\"24\" color=\"color-alarm\" />;\n\n case 'success':\n return <ix-icon name={'success'} size=\"24\" color=\"color-success\" />;\n\n case 'warning':\n return <ix-icon name={'warning'} size=\"24\" color=\"color-warning\" />;\n\n default:\n return '';\n }\n }\n\n private close() {\n if (this.hostElement) {\n this.hostElement.classList.add('animate__fadeOut');\n }\n setTimeout(() => {\n this.closeToast.emit();\n }, 250);\n }\n\n render() {\n let progressBarStyle: Record<string, string> = {};\n\n const progressBarClass = ['toast-progress-bar'];\n\n progressBarStyle = {\n animationDuration: `${this.autoCloseDelay}ms`,\n animationPlayState: this.touched ? 'paused' : 'running',\n };\n\n progressBarClass.push('toast-progress-bar--animated');\n\n return (\n <Host class=\"animate__animated animate__fadeIn\">\n <div\n class=\"toast-body\"\n onPointerLeave={() => {\n this.touched = false;\n }}\n onPointerEnter={() => {\n this.touched = true;\n }}\n >\n {this.type || this.icon ? (\n <div class=\"toast-icon\">{this.getIcon()}</div>\n ) : null}\n <div class=\"toast-content\">\n {this.toastTitle ? (\n <div class=\"toast-title\">{this.toastTitle}</div>\n ) : null}\n <div class=\"toast-message\">\n <slot></slot>\n </div>\n </div>\n <div class=\"toast-close\">\n <ix-icon-button\n icon=\"close\"\n size=\"24\"\n ghost\n onClick={() => this.closeToast.emit()}\n />\n </div>\n </div>\n {this.autoClose ? (\n <div\n class={progressBarClass.join(' ')}\n style={progressBarStyle}\n onAnimationEnd={() => {\n this.close();\n }}\n onTransitionEnd={() => {\n if (this.progress === 0) {\n this.close();\n }\n }}\n ></div>\n ) : null}\n </Host>\n );\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, h, Host, Method, Prop, Watch } from '@stencil/core';\nimport { TypedEvent } from '../utils/typed-event';\nimport { ToastConfig } from './toast-utils';\n\n@Component({\n tag: 'ix-toast-container',\n shadow: true,\n})\nexport class ToastContainer {\n /**\n */\n @Prop() containerId = 'toast-container';\n\n /**\n */\n @Prop() containerClass = 'toast-container';\n\n /**\n */\n @Prop() position: 'bottom-right' | 'top-right' = 'bottom-right';\n\n private readonly PREFIX_POSITION_CLASS = 'toast-container--';\n\n get hostContainer() {\n return document.getElementById(this.containerId);\n }\n\n componentDidLoad() {\n if (!document.getElementById(this.containerId)) {\n const toastContainer = document.createElement('div');\n toastContainer.id = this.containerId;\n toastContainer.classList.add(this.containerClass);\n toastContainer.classList.add(\n `${this.PREFIX_POSITION_CLASS}${this.position}`\n );\n document.body.appendChild(toastContainer);\n }\n }\n\n @Watch('position')\n onPositionChange(newPosition: string, oldPosition: string) {\n const toastContainer = document.getElementById(this.containerId);\n toastContainer.classList.remove(\n `${this.PREFIX_POSITION_CLASS}${oldPosition}`\n );\n toastContainer.classList.add(`${this.PREFIX_POSITION_CLASS}${newPosition}`);\n }\n\n /**\n * Display a toast message\n * @param config\n */\n @Method()\n async showToast(config: ToastConfig) {\n const toast = document.createElement('ix-toast');\n\n const onClose = new TypedEvent<any | undefined>();\n\n function removeToast(result?: any) {\n toast.remove();\n onClose.emit(result);\n }\n\n toast.toastTitle = config.title;\n toast.type = config.type;\n toast.autoClose = config.autoClose;\n toast.autoCloseDelay = config.autoCloseDelay;\n toast.icon = config.icon;\n toast.iconColor = config.iconColor;\n toast.addEventListener(\n 'closeToast',\n (event: CustomEvent<any | undefined>) => {\n const { detail } = event;\n removeToast(detail);\n }\n );\n\n if (typeof config.message === 'string') {\n toast.innerText = config.message;\n } else {\n toast.appendChild(config.message);\n }\n\n this.hostContainer.appendChild(toast);\n\n return {\n onClose,\n close: (result?: any) => {\n removeToast(result);\n },\n };\n }\n\n render() {\n return <Host></Host>;\n }\n}\n"],"version":3}
@@ -0,0 +1,77 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-be499a74.js');
6
+ const baseButton = require('./base-button-c158438e.js');
7
+ const a11y = require('./a11y-fa9abd92.js');
8
+
9
+ const toggleButtonCss = ".btn{display:inline-flex;align-items:center;justify-content:center;height:2rem;font-size:0.875rem;font-weight:700;transition:150ms;padding:0 0.5rem;min-width:5rem;gap:0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn .glyph{margin-right:0.25rem;font-weight:400}.btn:focus-visible,.btn.focus{box-shadow:none}.btn-primary{border-radius:var(--theme-btn--border-radius)}.btn-primary,.btn-primary.focus,.btn-primary:focus-visible{background-color:var(--theme-btn-primary--background);color:var(--theme-btn-primary--color);--ix-button-color:var(--theme-btn-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-primary--border-color);border-style:solid}.btn-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-primary.hover,.btn-primary:hover{border-color:var(--theme-btn-primary--border-color--hover);background-color:var(--theme-btn-primary--background--hover);color:var(--theme-btn-primary--color--hover)}.btn-primary.selected.hover,.btn-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-primary:not(:disabled):not(.disabled):active,.btn-primary:not(:disabled):not(.disabled).active,.show>.btn-primary.dropdown-toggle{border-color:var(--theme-btn-primary--border-color--active);background-color:var(--theme-btn-primary--background--active);color:var(--theme-btn-primary--color--active)}.btn-primary.selected:not(:disabled):not(.disabled):active,.btn-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-primary.disabled,.btn-primary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-primary--border-color--disabled);background-color:var(--theme-btn-primary--background--disabled);color:var(--theme-btn-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-primary--color--disabled)}.btn-outline-primary{border-radius:var(--theme-btn--border-radius)}.btn-outline-primary,.btn-outline-primary.focus,.btn-outline-primary:focus-visible{background-color:var(--theme-btn-outline-primary--background);color:var(--theme-btn-outline-primary--color);--ix-button-color:var(--theme-btn-outline-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-primary--border-color);border-style:solid}.btn-outline-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-outline-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-outline-primary.hover,.btn-outline-primary:hover{border-color:var(--theme-btn-outline-primary--border-color--hover);background-color:var(--theme-btn-outline-primary--background--hover);color:var(--theme-btn-outline-primary--color--hover)}.btn-outline-primary.selected.hover,.btn-outline-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-outline-primary:not(:disabled):not(.disabled):active,.btn-outline-primary:not(:disabled):not(.disabled).active,.show>.btn-outline-primary.dropdown-toggle{border-color:var(--theme-btn-outline-primary--border-color--active);background-color:var(--theme-btn-outline-primary--background--active);color:var(--theme-btn-outline-primary--color--active)}.btn-outline-primary.selected:not(:disabled):not(.disabled):active,.btn-outline-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-outline-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-outline-primary--border-color--disabled);background-color:var(--theme-btn-outline-primary--background--disabled);color:var(--theme-btn-outline-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-primary--color--disabled)}.btn-invisible-primary{border-radius:var(--theme-btn--border-radius);--bs-btn-border-width:0px;--bs-btn-active-border-color:none}.btn-invisible-primary,.btn-invisible-primary.focus,.btn-invisible-primary:focus-visible{background-color:var(--theme-btn-invisible-primary--background);color:var(--theme-btn-invisible-primary--color);--ix-button-color:var(--theme-btn-invisible-primary--color);border-color:transparent}.btn-invisible-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-invisible-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-invisible-primary.hover,.btn-invisible-primary:hover{background-color:var(--theme-btn-invisible-primary--background--hover);color:var(--theme-btn-invisible-primary--color--hover)}.btn-invisible-primary.selected.hover,.btn-invisible-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-invisible-primary:not(:disabled):not(.disabled):active,.btn-invisible-primary:not(:disabled):not(.disabled).active,.show>.btn-invisible-primary.dropdown-toggle{background-color:var(--theme-btn-invisible-primary--background--active);color:var(--theme-btn-invisible-primary--color--active)}.btn-invisible-primary.selected:not(:disabled):not(.disabled):active,.btn-invisible-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-invisible-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-invisible-primary.disabled,.btn-invisible-primary:disabled{pointer-events:none;cursor:initial;background-color:var(--theme-btn-invisible-primary--background--disabled);color:var(--theme-btn-invisible-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-primary--color--disabled)}.btn-secondary{border-radius:var(--theme-btn--border-radius)}.btn-secondary,.btn-secondary.focus,.btn-secondary:focus-visible{background-color:var(--theme-btn-secondary--background);color:var(--theme-btn-secondary--color);--ix-button-color:var(--theme-btn-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-secondary--border-color);border-style:solid}.btn-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-secondary.hover,.btn-secondary:hover{border-color:var(--theme-btn-secondary--border-color--hover);background-color:var(--theme-btn-secondary--background--hover);color:var(--theme-btn-secondary--color--hover)}.btn-secondary.selected.hover,.btn-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-secondary:not(:disabled):not(.disabled):active,.btn-secondary:not(:disabled):not(.disabled).active,.show>.btn-secondary.dropdown-toggle{border-color:var(--theme-btn-secondary--border-color--active);background-color:var(--theme-btn-secondary--background--active);color:var(--theme-btn-secondary--color--active)}.btn-secondary.selected:not(:disabled):not(.disabled):active,.btn-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-secondary.disabled,.btn-secondary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-secondary--border-color--disabled);background-color:var(--theme-btn-secondary--background--disabled);color:var(--theme-btn-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-secondary--color--disabled)}.btn-outline-secondary{border-radius:var(--theme-btn--border-radius)}.btn-outline-secondary,.btn-outline-secondary.focus,.btn-outline-secondary:focus-visible{background-color:var(--theme-btn-outline-secondary--background);color:var(--theme-btn-outline-secondary--color);--ix-button-color:var(--theme-btn-outline-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-secondary--border-color);border-style:solid}.btn-outline-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-outline-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-outline-secondary.hover,.btn-outline-secondary:hover{border-color:var(--theme-btn-outline-secondary--border-color--hover);background-color:var(--theme-btn-outline-secondary--background--hover);color:var(--theme-btn-outline-secondary--color--hover)}.btn-outline-secondary.selected.hover,.btn-outline-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-outline-secondary:not(:disabled):not(.disabled):active,.btn-outline-secondary:not(:disabled):not(.disabled).active,.show>.btn-outline-secondary.dropdown-toggle{border-color:var(--theme-btn-outline-secondary--border-color--active);background-color:var(--theme-btn-outline-secondary--background--active);color:var(--theme-btn-outline-secondary--color--active)}.btn-outline-secondary.selected:not(:disabled):not(.disabled):active,.btn-outline-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-outline-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-outline-secondary--border-color--disabled);background-color:var(--theme-btn-outline-secondary--background--disabled);color:var(--theme-btn-outline-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-secondary--color--disabled)}.btn-invisible-secondary{border-radius:var(--theme-btn--border-radius);--bs-btn-border-width:0px;--bs-btn-active-border-color:none}.btn-invisible-secondary,.btn-invisible-secondary.focus,.btn-invisible-secondary:focus-visible{background-color:var(--theme-btn-invisible-secondary--background);color:var(--theme-btn-invisible-secondary--color);--ix-button-color:var(--theme-btn-invisible-secondary--color);border-color:transparent}.btn-invisible-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-invisible-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-invisible-secondary.hover,.btn-invisible-secondary:hover{background-color:var(--theme-btn-invisible-secondary--background--hover);color:var(--theme-btn-invisible-secondary--color--hover)}.btn-invisible-secondary.selected.hover,.btn-invisible-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-invisible-secondary:not(:disabled):not(.disabled):active,.btn-invisible-secondary:not(:disabled):not(.disabled).active,.show>.btn-invisible-secondary.dropdown-toggle{background-color:var(--theme-btn-invisible-secondary--background--active);color:var(--theme-btn-invisible-secondary--color--active)}.btn-invisible-secondary.selected:not(:disabled):not(.disabled):active,.btn-invisible-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-invisible-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-invisible-secondary.disabled,.btn-invisible-secondary:disabled{pointer-events:none;cursor:initial;background-color:var(--theme-btn-invisible-secondary--background--disabled);color:var(--theme-btn-invisible-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-secondary--color--disabled)}.btn-oval,.btn-icon{min-width:2rem;width:2rem}.btn-oval .glyph,.btn-icon .glyph{margin-right:0}.btn-oval{border-radius:6.25rem;width:2rem}.btn-icon-xs,.btn-icon-12{height:1rem;width:1rem;min-width:1rem;min-height:1rem}.btn-icon-s,.btn-icon-16{height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}.btn-icon-32{height:2rem;width:2rem;min-width:2rem;min-height:2rem}:host{display:inline-block;width:auto;height:2rem;vertical-align:middle}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .btn{width:100%;height:100%}:host button:not(:disabled){cursor:pointer}:host(.disabled){pointer-events:none}";
10
+
11
+ const ToggleButton = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ this.pressedChange = index.createEvent(this, "pressedChange", 7);
15
+ this.variant = 'secondary';
16
+ this.outline = false;
17
+ this.ghost = false;
18
+ this.disabled = false;
19
+ this.loading = false;
20
+ this.icon = undefined;
21
+ this.pressed = false;
22
+ }
23
+ isIllegalToggleButtonConfig() {
24
+ return this.variant === 'primary' && (this.outline || this.ghost);
25
+ }
26
+ logIllegalConfig() {
27
+ console.warn('iX toggle button with illegal configuration detected. Variant "primary" can only be combined with "outline" or "ghost".');
28
+ }
29
+ onVariantChange() {
30
+ if (this.isIllegalToggleButtonConfig()) {
31
+ this.logIllegalConfig();
32
+ }
33
+ }
34
+ onGhostChange() {
35
+ this.onVariantChange();
36
+ }
37
+ onOutlineChange() {
38
+ this.onVariantChange();
39
+ }
40
+ componentDidLoad() {
41
+ this.onVariantChange();
42
+ }
43
+ dispatchPressedChange() {
44
+ this.pressedChange.emit(!this.pressed);
45
+ }
46
+ render() {
47
+ const baseButtonProps = {
48
+ variant: this.variant,
49
+ outline: this.outline,
50
+ ghost: this.ghost,
51
+ iconOnly: false,
52
+ iconOval: false,
53
+ selected: this.pressed,
54
+ disabled: this.disabled || this.loading,
55
+ icon: this.icon,
56
+ loading: this.loading,
57
+ onClick: () => this.dispatchPressedChange(),
58
+ type: 'button',
59
+ ariaAttributes: {
60
+ 'aria-pressed': a11y.a11yBoolean(this.pressed),
61
+ },
62
+ };
63
+ return (index.h(index.Host, { class: {
64
+ disabled: this.disabled || this.loading,
65
+ } }, index.h(baseButton.BaseButton, Object.assign({}, baseButtonProps), index.h("slot", null))));
66
+ }
67
+ static get watchers() { return {
68
+ "variant": ["onVariantChange"],
69
+ "ghost": ["onGhostChange"],
70
+ "outline": ["onOutlineChange"]
71
+ }; }
72
+ };
73
+ ToggleButton.style = toggleButtonCss;
74
+
75
+ exports.ix_toggle_button = ToggleButton;
76
+
77
+ //# sourceMappingURL=ix-toggle-button.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"ix-toggle-button.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,eAAe,GAAG,gwaAAgwa;;MC8B3wa,YAAY;;;;mBAKU,WAAW;mBAK1B,KAAK;iBAKP,KAAK;oBAKe,KAAK;mBAKd,KAAK;;mBAUd,KAAK;;EAOf,2BAA2B;IACjC,OAAO,IAAI,CAAC,OAAO,KAAK,SAAS,KAAK,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC;GACnE;EAEO,gBAAgB;IACtB,OAAO,CAAC,IAAI,CACV,yHAAyH,CAC1H,CAAC;GACH;EAGD,eAAe;IACb,IAAI,IAAI,CAAC,2BAA2B,EAAE,EAAE;MACtC,IAAI,CAAC,gBAAgB,EAAE,CAAC;KACzB;GACF;EAGD,aAAa;IACX,IAAI,CAAC,eAAe,EAAE,CAAC;GACxB;EAGD,eAAe;IACb,IAAI,CAAC,eAAe,EAAE,CAAC;GACxB;EAED,gBAAgB;IACd,IAAI,CAAC,eAAe,EAAE,CAAC;GACxB;EAEO,qBAAqB;IAC3B,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;GACxC;EAED,MAAM;IACJ,MAAM,eAAe,GAAoB;MACvC,OAAO,EAAE,IAAI,CAAC,OAAO;MACrB,OAAO,EAAE,IAAI,CAAC,OAAO;MACrB,KAAK,EAAE,IAAI,CAAC,KAAK;MACjB,QAAQ,EAAE,KAAK;MACf,QAAQ,EAAE,KAAK;MACf,QAAQ,EAAE,IAAI,CAAC,OAAO;MACtB,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO;MACvC,IAAI,EAAE,IAAI,CAAC,IAAI;MACf,OAAO,EAAE,IAAI,CAAC,OAAO;MACrB,OAAO,EAAE,MAAM,IAAI,CAAC,qBAAqB,EAAE;MAC3C,IAAI,EAAE,QAAQ;MACd,cAAc,EAAE;QACd,cAAc,EAAEA,gBAAW,CAAC,IAAI,CAAC,OAAO,CAAC;OAC1C;KACF,CAAC;IAEF,QACEC,QAACC,UAAI,IACH,KAAK,EAAE;QACL,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO;OACxC,IAEDD,QAACE,qBAAU,oBAAK,eAAe,GAC7BF,qBAAa,CACF,CACR,EACP;GACH;;;;;;;;;;;","names":["a11yBoolean","h","Host","BaseButton"],"sources":["./src/components/toggle-button/toggle-button.scss?tag=ix-toggle-button&encapsulation=shadow","./src/components/toggle-button/toggle-button.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'legacy/components/buttons';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: inline-block;\n width: auto;\n height: $x-large-space;\n vertical-align: middle;\n\n .btn {\n width: 100%;\n height: 100%;\n }\n\n button:not(:disabled) {\n cursor: pointer;\n }\n}\n\n:host(.disabled) {\n pointer-events: none;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { BaseButton, BaseButtonProps } from '../button/base-button';\nimport { ButtonVariant } from '../button/button';\nimport { a11yBoolean } from '../utils/a11y';\n\n/**\n * @since 2.0.0\n */\n@Component({\n tag: 'ix-toggle-button',\n shadow: true,\n styleUrl: './toggle-button.scss',\n})\nexport class ToggleButton {\n /**\n * Button variant.\n * Important: Variant 'primary' can only be combined with either outline or ghost.\n */\n @Prop() variant: ButtonVariant = 'secondary';\n\n /**\n * Outline button\n */\n @Prop() outline = false;\n\n /**\n * Button with no background or outline\n */\n @Prop() ghost = false;\n\n /**\n * Disable the button\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * Loading button\n */\n @Prop() loading: boolean = false;\n\n /**\n * Icon name\n */\n @Prop() icon: string;\n\n /**\n * Show button as pressed\n */\n @Prop() pressed = false;\n\n /**\n * Pressed change event\n */\n @Event() pressedChange: EventEmitter<boolean>;\n\n private isIllegalToggleButtonConfig() {\n return this.variant === 'primary' && (this.outline || this.ghost);\n }\n\n private logIllegalConfig() {\n console.warn(\n 'iX toggle button with illegal configuration detected. Variant \"primary\" can only be combined with \"outline\" or \"ghost\".'\n );\n }\n\n @Watch('variant')\n onVariantChange() {\n if (this.isIllegalToggleButtonConfig()) {\n this.logIllegalConfig();\n }\n }\n\n @Watch('ghost')\n onGhostChange() {\n this.onVariantChange();\n }\n\n @Watch('outline')\n onOutlineChange() {\n this.onVariantChange();\n }\n\n componentDidLoad() {\n this.onVariantChange();\n }\n\n private dispatchPressedChange() {\n this.pressedChange.emit(!this.pressed);\n }\n\n render() {\n const baseButtonProps: BaseButtonProps = {\n variant: this.variant,\n outline: this.outline,\n ghost: this.ghost,\n iconOnly: false,\n iconOval: false,\n selected: this.pressed,\n disabled: this.disabled || this.loading,\n icon: this.icon,\n loading: this.loading,\n onClick: () => this.dispatchPressedChange(),\n type: 'button',\n ariaAttributes: {\n 'aria-pressed': a11yBoolean(this.pressed),\n },\n };\n\n return (\n <Host\n class={{\n disabled: this.disabled || this.loading,\n }}\n >\n <BaseButton {...baseButtonProps}>\n <slot></slot>\n </BaseButton>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,58 +2,39 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-c978628a.js');
5
+ const index = require('./index-be499a74.js');
6
+ const a11y = require('./a11y-fa9abd92.js');
6
7
 
7
- const toggleCss = ".sc-ix-toggle-h{display:flex;align-items:center;outline:none}.sc-ix-toggle-h .switch.sc-ix-toggle{position:relative;display:inline-flex;align-items:center;min-width:3rem;height:2rem}.sc-ix-toggle-h .switch.sc-ix-toggle:not(.disabled):not(:disabled):focus-visible{outline-color:var(--focus--border-color);outline-style:solid;outline-width:1px}.sc-ix-toggle-h .switch.sc-ix-toggle input.sc-ix-toggle{opacity:0;width:0;height:0}.sc-ix-toggle-h .slider.sc-ix-toggle{display:flex;align-items:center;justify-content:center;position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0}.sc-ix-toggle-h .slider.sc-ix-toggle .slider-track.sc-ix-toggle{background-color:var(--theme-switch-off--background);border-radius:2.125rem;border:1px solid var(--theme-switch-off--border-color);width:2.5rem;height:1rem}.sc-ix-toggle-h .slider.sc-ix-toggle:before{position:absolute;content:\"\";height:1.5rem;width:1.5rem;left:0.125rem;background-color:var(--theme-switch-thumb-off--background);transition:transform 150ms;border-radius:50%;border:1px solid var(--theme-switch-thumb-off--border-color);box-shadow:var(--theme-switch-thumb--box-shadow)}.sc-ix-toggle-h input.sc-ix-toggle:checked+.slider.sc-ix-toggle:before{transform:translateX(1.125rem);left:0.25rem}.sc-ix-toggle-h .text.sc-ix-toggle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--theme-switch--color);padding:0 0.5rem;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sc-ix-toggle-h:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-toggle-h:not(.disabled):not(:disabled):hover .slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-off--background--hover);border-color:var(--theme-switch-thumb-off--border-color--hover)}.sc-ix-toggle-h:not(.disabled):not(:disabled):hover .slider-track.sc-ix-toggle{background-color:var(--theme-switch-off--background--hover);border-color:var(--theme-switch-off--border-color--hover)}.sc-ix-toggle-h:not(.disabled):not(:disabled):hover .text.sc-ix-toggle{color:var(--theme-switch--color--hover)}.sc-ix-toggle-h:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-toggle-h:not(.disabled):not(:disabled):active .slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-off--background--active);border-color:var(--theme-switch-thumb-off--border-color--active)}.sc-ix-toggle-h:not(.disabled):not(:disabled):active .slider-track.sc-ix-toggle{background-color:var(--theme-switch-off--background--active);border-color:var(--theme-switch-off--border-color--active)}.sc-ix-toggle-h:not(.disabled):not(:disabled):active .text.sc-ix-toggle{color:var(--theme-switch--color--active)}.checked.sc-ix-toggle-h .slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-on--background);border-color:var(--theme-switch-thumb-on--border-color)}.checked.sc-ix-toggle-h .slider.sc-ix-toggle .slider-track.sc-ix-toggle{background-color:var(--theme-switch-on--background);border-color:var(--theme-switch-on--border-color)}.checked.sc-ix-toggle-h .text.sc-ix-toggle{color:var(--theme-switch--color)}.checked.sc-ix-toggle-h:not(.disabled):not(:disabled){cursor:pointer}.checked.sc-ix-toggle-h:not(.disabled):not(:disabled):hover .slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-on--background--hover);border-color:var(--theme-switch-thumb-on--border-color--hover)}.checked.sc-ix-toggle-h:not(.disabled):not(:disabled):hover .slider.sc-ix-toggle .slider-track.sc-ix-toggle{background-color:var(--theme-switch-on--background--hover);border-color:var(--theme-switch-on--border-color--hover)}.checked.sc-ix-toggle-h:not(.disabled):not(:disabled):hover .text.sc-ix-toggle{color:var(--theme-switch--color--hover)}.checked.sc-ix-toggle-h:not(.disabled):not(:disabled){cursor:pointer}.checked.sc-ix-toggle-h:not(.disabled):not(:disabled):active .slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-on--background--active);border-color:var(--theme-switch-thumb-on--border-color--active)}.checked.sc-ix-toggle-h:not(.disabled):not(:disabled):active .slider-track.sc-ix-toggle{background-color:var(--theme-switch-on--background--active);border-color:var(--theme-switch-on--border-color--active)}.checked.sc-ix-toggle-h:not(.disabled):not(:disabled):active .text.sc-ix-toggle{color:var(--theme-switch--color--active)}.indeterminate.sc-ix-toggle-h .slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-mixed--background);border-color:var(--theme-switch-thumb-mixed--border-color)}.indeterminate.sc-ix-toggle-h .slider.sc-ix-toggle .slider-track.sc-ix-toggle{background-color:var(--theme-switch-mixed--background);border-color:var(--theme-switch-mixed--border-color)}.indeterminate.sc-ix-toggle-h .text.sc-ix-toggle{color:var(--theme-switch--color)}.indeterminate.sc-ix-toggle-h:not(.disabled):not(:disabled){cursor:pointer}.indeterminate.sc-ix-toggle-h:not(.disabled):not(:disabled):hover .slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-mixed--background--hover);border-color:var(--theme-switch-thumb-mixed--border-color--hover)}.indeterminate.sc-ix-toggle-h:not(.disabled):not(:disabled):hover .slider.sc-ix-toggle .slider-track.sc-ix-toggle{background-color:var(--theme-switch-mixed--background--hover);border-color:var(--theme-switch-mixed--border-color--hover)}.indeterminate.sc-ix-toggle-h:not(.disabled):not(:disabled):hover .text.sc-ix-toggle{color:var(--theme-switch--color--hover)}.indeterminate.sc-ix-toggle-h:not(.disabled):not(:disabled){cursor:pointer}.indeterminate.sc-ix-toggle-h:not(.disabled):not(:disabled):active .slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-mixed--background--active);border-color:var(--theme-switch-thumb-mixed--border-color--active)}.indeterminate.sc-ix-toggle-h:not(.disabled):not(:disabled):active .slider-track.sc-ix-toggle{background-color:var(--theme-switch-mixed--background--active);border-color:var(--theme-switch-mixed--border-color--active)}.indeterminate.sc-ix-toggle-h:not(.disabled):not(:disabled):active .text.sc-ix-toggle{color:var(--theme-switch--color--active)}.indeterminate.sc-ix-toggle-h .slider.sc-ix-toggle:before{transform:translateX(0.625rem)}.disabled.sc-ix-toggle-h{pointer-events:none}.disabled.sc-ix-toggle-h .slider.sc-ix-toggle{cursor:initial;opacity:0.5}.disabled.sc-ix-toggle-h .slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-off--background--disabled);border-color:var(--theme-switch-thumb-off--border-color--disabled)}.disabled.sc-ix-toggle-h .slider.sc-ix-toggle .slider-track.sc-ix-toggle{background-color:var(--theme-switch-off--background--disabled);border-color:var(--theme-switch-off--border-color--disabled)}.disabled.sc-ix-toggle-h .text.sc-ix-toggle{color:var(--theme-switch--color--disabled)}";
8
+ const toggleCss = ":host{display:inline-flex;position:relative;height:2rem;justify-content:flex-start;align-items:center;margin-right:0.25rem;cursor:pointer}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .switch{position:relative;display:inline-block;width:3rem;min-width:3rem;max-width:3rem;height:1.5rem;margin-right:0.25rem}:host .switch input{opacity:0;width:0;height:0}:host .slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--theme-switch-off--background);transition:150ms;border-radius:1.5rem}:host .slider:before{position:absolute;content:\"\";height:18px;width:18px;left:4px;bottom:3px;background-color:var(--theme-switch-thumb-off--background);transition:150ms;border-radius:50%}:host input{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}:host input:focus-visible+.switch>.slider{outline:1px solid var(--theme-color-focus-bdr);outline-offset:1px}:host input:checked+.switch>.slider{background-color:var(--theme-switch-on--background)}:host input:checked+.switch>.slider::before{background-color:var(--theme-switch-thumb-on--background);transform:translateX(1.35rem)}:host input+.switch:hover>.slider{background-color:var(--theme-switch-off--background--hover)}:host input+.switch:hover>.slider:before{background-color:var(--theme-switch-thumb-off--background--hover)}:host input+.switch:active>.slider{background-color:var(--theme-switch-off--background--active)}:host input+.switch:active>.slider:before{background-color:var(--theme-switch-thumb-off--background--active)}:host input:checked+.switch:hover>.slider{background-color:var(--theme-switch-on--background--hover)}:host input:checked+.switch:hover>.slider:before{background-color:var(--theme-switch-thumb-on--background--hover)}:host input:checked+.switch:active>.slider{background-color:var(--theme-switch-on--background--active)}:host input:checked+.switch:active>.slider:before{background-color:var(--theme-switch-thumb-on--background--active)}:host input:indeterminate+.switch>.slider::before{transform:translateX(0.7rem)}:host .toggle-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host(.disabled){pointer-events:none}:host(.disabled) input+.switch{opacity:0.5}:host(.disabled) input+.switch>.slider{background-color:var(--theme-switch-off--background--disabled)}:host(.disabled) input+.switch>.slider:before{background-color:var(--theme-switch-thumb-off--background--disabled)}:host(.disabled) input:checked+.switch>.slider{background-color:var(--theme-switch-on--background--disabled)}:host(.disabled) input:checked+.switch>.slider:before{background-color:var(--theme-switch-thumb-on--background--disabled)}:host(.disabled) .toggle-text{color:var(--theme-color-weak-text)}";
8
9
 
9
- const CuiToggle = class {
10
+ const Toggle = class {
10
11
  constructor(hostRef) {
11
12
  index.registerInstance(this, hostRef);
12
13
  this.checkedChange = index.createEvent(this, "checkedChange", 7);
13
14
  this.checked = false;
14
15
  this.disabled = false;
15
16
  this.indeterminate = false;
16
- this.color = 'accent';
17
17
  this.textOn = 'On';
18
18
  this.textOff = 'Off';
19
19
  this.textIndeterminate = 'Mixed';
20
20
  this.hideText = false;
21
21
  }
22
- async onKeyDown(event) {
23
- const targetElement = event.target;
24
- if (!this.hostElement.contains(targetElement)) {
25
- return;
22
+ onCheckedChange(newChecked) {
23
+ if (this.indeterminate) {
24
+ this.indeterminate = false;
26
25
  }
27
- if (event.code === 'Enter' || event.code === 'NumpadEnter') {
28
- this.emitChange(event);
29
- }
30
- }
31
- emitChange(event) {
32
- if (this.disabled || this.indeterminate) {
33
- return;
34
- }
35
- event.stopPropagation();
36
- event.preventDefault();
37
- this.checked = !this.checked;
26
+ this.checked = newChecked;
38
27
  this.checkedChange.emit(this.checked);
39
28
  }
40
- getText() {
41
- if (this.indeterminate || this.checked === undefined) {
42
- return this.textIndeterminate;
43
- }
44
- return this.checked ? this.textOn : this.textOff;
45
- }
46
29
  render() {
47
30
  return (index.h(index.Host, { class: {
48
31
  disabled: this.disabled,
49
- checked: this.checked,
50
- indeterminate: this.indeterminate || this.checked === undefined,
51
- } }, index.h("label", { class: "switch", tabindex: this.disabled ? -1 : 0 }, index.h("input", { tabindex: "-1", type: "checkbox", checked: this.checked, disabled: this.disabled, indeterminate: this.indeterminate || this.checked === undefined, id: this.hostElement.id, onChange: (e) => this.emitChange(e) }), index.h("span", { class: "slider" }, index.h("span", { class: "slider-track" }))), !this.hideText ? (index.h("span", { title: this.getText(), class: "text", onClick: (e) => this.emitChange(e) }, this.getText())) : null));
32
+ }, onClick: () => this.onCheckedChange(!this.checked) }, index.h("input", { disabled: this.disabled, indeterminate: this.indeterminate, checked: this.checked, role: "switch", tabindex: 0, type: "checkbox", "aria-checked": a11y.a11yBoolean(this.checked), onChange: (event) => this.onCheckedChange(event.target.checked) }), index.h("label", { class: "switch", tabIndex: -1 }, index.h("span", { class: "slider" })), !this.hideText ? (index.h(index.Fragment, null, !this.indeterminate ? (index.h("span", { class: 'toggle-text', "aria-hidden": a11y.a11yBoolean(true) }, this.checked ? this.textOn : this.textOff)) : (index.h("span", { class: 'toggle-text', "aria-hidden": a11y.a11yBoolean(true) }, this.textIndeterminate)))) : null));
52
33
  }
53
34
  get hostElement() { return index.getElement(this); }
54
35
  };
55
- CuiToggle.style = toggleCss;
36
+ Toggle.style = toggleCss;
56
37
 
57
- exports.ix_toggle = CuiToggle;
38
+ exports.ix_toggle = Toggle;
58
39
 
59
40
  //# sourceMappingURL=ix-toggle.cjs.entry.js.map
@@ -1 +1 @@
1
- {"file":"ix-toggle.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,SAAS,GAAG,klNAAklN;;MCyBvlN,SAAS;;;;mBAI8B,KAAK;oBAKpC,KAAK;yBAKA,KAAK;iBAMb,QAAQ;kBAKP,IAAI;mBAKH,KAAK;6BAKK,OAAO;oBAKhB,KAAK;;EAUxB,MAAM,SAAS,CAAC,KAAoB;IAClC,MAAM,aAAa,GAAG,KAAK,CAAC,MAAqB,CAAC;IAElD,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE;MAC7C,OAAO;KACR;IAED,IAAI,KAAK,CAAC,IAAI,KAAK,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,aAAa,EAAE;MAC1D,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;KACxB;GACF;EAEO,UAAU,CAAC,KAAY;IAC7B,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,aAAa,EAAE;MACvC,OAAO;KACR;IAED,KAAK,CAAC,eAAe,EAAE,CAAC;IACxB,KAAK,CAAC,cAAc,EAAE,CAAC;IAEvB,IAAI,CAAC,OAAO,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC;IAC7B,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;GACvC;EAEO,OAAO;IACb,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,EAAE;MACpD,OAAO,IAAI,CAAC,iBAAiB,CAAC;KAC/B;IAED,OAAO,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC;GAClD;EAED,MAAM;IACJ,QACEA,QAACC,UAAI,IACH,KAAK,EAAE;QACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,aAAa,EAAE,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS;OAChE,IAEDD,mBAAO,KAAK,EAAC,QAAQ,EAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,GAAG,CAAC,IACpDA,mBACE,QAAQ,EAAC,IAAI,EACb,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,aAAa,EAAE,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,EAC/D,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,EAAE,EACvB,QAAQ,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,GACnC,EACFA,kBAAM,KAAK,EAAC,QAAQ,IAClBA,kBAAM,KAAK,EAAC,cAAc,GAAQ,CAC7B,CACD,EACP,CAAC,IAAI,CAAC,QAAQ,IACbA,kBACE,KAAK,EAAE,IAAI,CAAC,OAAO,EAAE,EACrB,KAAK,EAAC,MAAM,EACZ,OAAO,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,IAEjC,IAAI,CAAC,OAAO,EAAE,CACV,IACL,IAAI,CACH,EACP;GACH;;;;;;;","names":["h","Host"],"sources":["./src/components/toggle/toggle.scss?tag=ix-toggle&encapsulation=scoped","./src/components/toggle/toggle.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n\n@mixin toggle($state, $suffix: '') {\n .slider {\n &:before {\n background-color: var(\n --theme-switch-thumb-#{$state}--background#{$suffix}\n );\n border-color: var(--theme-switch-thumb-#{$state}--border-color#{$suffix});\n }\n\n .slider-track {\n background-color: var(--theme-switch-#{$state}--background#{$suffix});\n border-color: var(--theme-switch-#{$state}--border-color#{$suffix});\n }\n }\n\n .text {\n color: var(--theme-switch--color);\n }\n\n @include hover {\n .slider {\n &:before {\n background-color: var(\n --theme-switch-thumb-#{$state}--background--hover#{$suffix}\n );\n border-color: var(\n --theme-switch-thumb-#{$state}--border-color--hover#{$suffix}\n );\n }\n\n .slider-track {\n background-color: var(\n --theme-switch-#{$state}--background--hover#{$suffix}\n );\n border-color: var(\n --theme-switch-#{$state}--border-color--hover#{$suffix}\n );\n }\n }\n\n .text {\n color: var(--theme-switch--color--hover);\n }\n }\n\n @include active {\n .slider:before {\n background-color: var(\n --theme-switch-thumb-#{$state}--background--active#{$suffix}\n );\n border-color: var(\n --theme-switch-thumb-#{$state}--border-color--active#{$suffix}\n );\n }\n\n .slider-track {\n background-color: var(\n --theme-switch-#{$state}--background--active#{$suffix}\n );\n border-color: var(\n --theme-switch-#{$state}--border-color--active#{$suffix}\n );\n }\n\n .text {\n color: var(--theme-switch--color--active);\n }\n }\n}\n\n:host {\n $slide-toggle-width: 3rem;\n display: flex;\n align-items: center;\n outline: none;\n\n .switch {\n position: relative;\n display: inline-flex;\n align-items: center;\n min-width: $slide-toggle-width;\n height: $default-control-height;\n\n @include focus-visible {\n outline-color: var(--focus--border-color);\n outline-style: solid;\n outline-width: 1px;\n }\n }\n\n .switch input {\n opacity: 0;\n width: 0;\n height: 0;\n }\n\n .slider {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n\n .slider-track {\n background-color: var(--theme-switch-off--background);\n border-radius: 2.125rem;\n border: 1px solid var(--theme-switch-off--border-color);\n width: 2.5rem;\n height: $default-space;\n }\n }\n\n .slider:before {\n position: absolute;\n content: '';\n height: 1.5rem;\n width: 1.5rem;\n left: 0.125rem;\n background-color: var(--theme-switch-thumb-off--background);\n -webkit-transition: transform $default-time;\n transition: transform $default-time;\n border-radius: 50%;\n border: 1px solid var(--theme-switch-thumb-off--border-color);\n box-shadow: var(--theme-switch-thumb--box-shadow);\n }\n\n input:checked + .slider:before {\n -webkit-transform: translateX(1.125rem);\n -ms-transform: translateX(1.125rem);\n transform: translateX(1.125rem);\n left: $tiny-space;\n }\n\n .text {\n @include ellipsis;\n\n color: var(--theme-switch--color);\n padding: 0 $small-space;\n position: relative;\n user-select: none;\n }\n\n @include hover {\n .slider:before {\n background-color: var(--theme-switch-thumb-off--background--hover);\n border-color: var(--theme-switch-thumb-off--border-color--hover);\n }\n\n .slider-track {\n background-color: var(--theme-switch-off--background--hover);\n border-color: var(--theme-switch-off--border-color--hover);\n }\n\n .text {\n color: var(--theme-switch--color--hover);\n }\n }\n\n @include active {\n .slider:before {\n background-color: var(--theme-switch-thumb-off--background--active);\n border-color: var(--theme-switch-thumb-off--border-color--active);\n }\n\n .slider-track {\n background-color: var(--theme-switch-off--background--active);\n border-color: var(--theme-switch-off--border-color--active);\n }\n\n .text {\n color: var(--theme-switch--color--active);\n }\n }\n\n &.checked {\n @include toggle('on');\n }\n\n &.indeterminate {\n @include toggle('mixed');\n\n .slider:before {\n transform: translateX(0.625rem);\n }\n }\n\n &.disabled {\n pointer-events: none;\n .slider {\n cursor: initial;\n opacity: 0.5;\n\n &:before {\n background-color: var(--theme-switch-thumb-off--background--disabled);\n border-color: var(--theme-switch-thumb-off--border-color--disabled);\n }\n\n .slider-track {\n background-color: var(--theme-switch-off--background--disabled);\n border-color: var(--theme-switch-off--border-color--disabled);\n }\n }\n\n .text {\n color: var(--theme-switch--color--disabled);\n }\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'ix-toggle',\n styleUrl: 'toggle.scss',\n scoped: true,\n})\nexport class CuiToggle {\n /**\n * Whether the slide-toggle element is checked or not.\n */\n @Prop({ mutable: true, reflect: true }) checked = false;\n\n /**\n * Whether the slide-toggle element is disabled or not.\n */\n @Prop() disabled = false;\n\n /**\n * If true the control is in indeterminate state\n */\n @Prop() indeterminate = false;\n\n /**\n * Basic and status colors from color palette\n * @deprecated Will be removed in 2.0.0\n */\n @Prop() color = 'accent';\n\n /**\n * Text for on state\n */\n @Prop() textOn = 'On';\n\n /**\n * Text for off state\n */\n @Prop() textOff = 'Off';\n\n /**\n * Text for indeterminate state\n */\n @Prop() textIndeterminate = 'Mixed';\n\n /**\n * Hide `on` and `off` text\n */\n @Prop() hideText = false;\n\n /**\n * An event will be dispatched each time the slide-toggle changes its value.\n */\n @Event() checkedChange: EventEmitter<boolean>;\n\n @Element() hostElement!: HTMLIxToggleElement;\n\n @Listen('keydown', { target: 'window' })\n async onKeyDown(event: KeyboardEvent) {\n const targetElement = event.target as HTMLElement;\n\n if (!this.hostElement.contains(targetElement)) {\n return;\n }\n\n if (event.code === 'Enter' || event.code === 'NumpadEnter') {\n this.emitChange(event);\n }\n }\n\n private emitChange(event: Event) {\n if (this.disabled || this.indeterminate) {\n return;\n }\n\n event.stopPropagation();\n event.preventDefault();\n\n this.checked = !this.checked;\n this.checkedChange.emit(this.checked);\n }\n\n private getText() {\n if (this.indeterminate || this.checked === undefined) {\n return this.textIndeterminate;\n }\n\n return this.checked ? this.textOn : this.textOff;\n }\n\n render() {\n return (\n <Host\n class={{\n disabled: this.disabled,\n checked: this.checked,\n indeterminate: this.indeterminate || this.checked === undefined,\n }}\n >\n <label class=\"switch\" tabindex={this.disabled ? -1 : 0}>\n <input\n tabindex=\"-1\"\n type=\"checkbox\"\n checked={this.checked}\n disabled={this.disabled}\n indeterminate={this.indeterminate || this.checked === undefined}\n id={this.hostElement.id}\n onChange={(e) => this.emitChange(e)}\n />\n <span class=\"slider\">\n <span class=\"slider-track\"></span>\n </span>\n </label>\n {!this.hideText ? (\n <span\n title={this.getText()}\n class=\"text\"\n onClick={(e) => this.emitChange(e)}\n >\n {this.getText()}\n </span>\n ) : null}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-toggle.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,SAAS,GAAG,+uGAA+uG;;MC0BpvG,MAAM;;;;mBAMiC,KAAK;oBAKpC,KAAK;yBAKgC,KAAK;kBAK5C,IAAI;mBAKH,KAAK;6BAKK,OAAO;oBAKhB,KAAK;;EAOxB,eAAe,CAAC,UAAmB;IACjC,IAAI,IAAI,CAAC,aAAa,EAAE;MACtB,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;KAC5B;IACD,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC;IAC1B,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;GACvC;EAED,MAAM;IACJ,QACEA,QAACC,UAAI,IACH,KAAK,EAAE;QACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACxB,EACD,OAAO,EAAE,MAAM,IAAI,CAAC,eAAe,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,IAElDD,mBACE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,EACX,IAAI,EAAC,UAAU,kBACDE,gBAAW,CAAC,IAAI,CAAC,OAAO,CAAC,EACvC,QAAQ,EAAE,CAAC,KAAK,KACd,IAAI,CAAC,eAAe,CAAE,KAAK,CAAC,MAAc,CAAC,OAAO,CAAC,GAE9C,EACTF,mBAAO,KAAK,EAAC,QAAQ,EAAC,QAAQ,EAAE,CAAC,CAAC,IAChCA,kBAAM,KAAK,EAAC,QAAQ,GAAQ,CACtB,EACP,CAAC,IAAI,CAAC,QAAQ,IACbA,QAACG,cAAQ,QACN,CAAC,IAAI,CAAC,aAAa,IAClBH,kBAAM,KAAK,EAAE,aAAa,iBAAeE,gBAAW,CAAC,IAAI,CAAC,IACvD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,OAAO,CACrC,KAEPF,kBAAM,KAAK,EAAE,aAAa,iBAAeE,gBAAW,CAAC,IAAI,CAAC,IACvD,IAAI,CAAC,iBAAiB,CAClB,CACR,CACQ,IACT,IAAI,CACH,EACP;GACH;;;;;;;","names":["h","Host","a11yBoolean","Fragment"],"sources":["./src/components/toggle/toggle.scss?tag=ix-toggle&encapsulation=shadow","./src/components/toggle/toggle.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'mixins/hover';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: inline-flex;\n position: relative;\n height: 2rem;\n justify-content: flex-start;\n align-items: center;\n margin-right: 0.25rem;\n\n cursor: pointer;\n\n .switch {\n position: relative;\n display: inline-block;\n width: 3rem;\n min-width: 3rem;\n max-width: 3rem;\n height: 1.5rem;\n margin-right: 0.25rem;\n }\n\n .switch input {\n opacity: 0;\n width: 0;\n height: 0;\n }\n\n .slider {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: var(--theme-switch-off--background);\n transition: 150ms;\n border-radius: 1.5rem;\n }\n\n .slider:before {\n position: absolute;\n content: '';\n height: 18px;\n width: 18px;\n left: 4px;\n bottom: 3px;\n background-color: var(--theme-switch-thumb-off--background);\n transition: 150ms;\n border-radius: 50%;\n }\n\n input {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n }\n\n input:focus-visible + .switch > .slider {\n outline: 1px solid var(--theme-color-focus-bdr);\n outline-offset: 1px;\n }\n\n input:checked + .switch > .slider {\n background-color: var(--theme-switch-on--background);\n }\n\n input:checked + .switch > .slider::before {\n background-color: var(--theme-switch-thumb-on--background);\n transform: translateX(1.35rem);\n }\n\n // Toggle NOT checked\n input + .switch:hover > .slider {\n background-color: var(--theme-switch-off--background--hover);\n }\n\n input + .switch:hover > .slider:before {\n background-color: var(--theme-switch-thumb-off--background--hover);\n }\n\n input + .switch:active > .slider {\n background-color: var(--theme-switch-off--background--active);\n }\n\n input + .switch:active > .slider:before {\n background-color: var(--theme-switch-thumb-off--background--active);\n }\n\n // Toggle checked\n input:checked + .switch:hover > .slider {\n background-color: var(--theme-switch-on--background--hover);\n }\n\n input:checked + .switch:hover > .slider:before {\n background-color: var(--theme-switch-thumb-on--background--hover);\n }\n\n input:checked + .switch:active > .slider {\n background-color: var(--theme-switch-on--background--active);\n }\n\n input:checked + .switch:active > .slider:before {\n background-color: var(--theme-switch-thumb-on--background--active);\n }\n\n input:indeterminate + .switch > .slider::before {\n transform: translateX(0.7rem);\n }\n\n .toggle-text {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n}\n\n:host(.disabled) {\n pointer-events: none;\n\n input + .switch {\n opacity: 0.5;\n }\n\n input + .switch > .slider {\n background-color: var(--theme-switch-off--background--disabled);\n }\n\n input + .switch > .slider:before {\n background-color: var(--theme-switch-thumb-off--background--disabled);\n }\n\n input:checked + .switch > .slider {\n background-color: var(--theme-switch-on--background--disabled);\n }\n\n input:checked + .switch > .slider:before {\n background-color: var(--theme-switch-thumb-on--background--disabled);\n }\n\n .toggle-text {\n color: var(--theme-color-weak-text);\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Prop,\n} from '@stencil/core';\nimport { a11yBoolean } from '../utils/a11y';\n\n@Component({\n tag: 'ix-toggle',\n styleUrl: 'toggle.scss',\n shadow: true,\n})\nexport class Toggle {\n @Element() hostElement!: HTMLIxToggleElement;\n\n /**\n * Whether the slide-toggle element is checked or not.\n */\n @Prop({ mutable: true, reflect: true }) checked = false;\n\n /**\n * Whether the slide-toggle element is disabled or not.\n */\n @Prop() disabled = false;\n\n /**\n * If true the control is in indeterminate state\n */\n @Prop({ mutable: true, reflect: true }) indeterminate = false;\n\n /**\n * Text for on state\n */\n @Prop() textOn = 'On';\n\n /**\n * Text for off state\n */\n @Prop() textOff = 'Off';\n\n /**\n * Text for indeterminate state\n */\n @Prop() textIndeterminate = 'Mixed';\n\n /**\n * Hide `on` and `off` text\n */\n @Prop() hideText = false;\n\n /**\n * An event will be dispatched each time the slide-toggle changes its value.\n */\n @Event() checkedChange: EventEmitter<boolean>;\n\n onCheckedChange(newChecked: boolean) {\n if (this.indeterminate) {\n this.indeterminate = false;\n }\n this.checked = newChecked;\n this.checkedChange.emit(this.checked);\n }\n\n render() {\n return (\n <Host\n class={{\n disabled: this.disabled,\n }}\n onClick={() => this.onCheckedChange(!this.checked)}\n >\n <input\n disabled={this.disabled}\n indeterminate={this.indeterminate}\n checked={this.checked}\n role=\"switch\"\n tabindex={0}\n type=\"checkbox\"\n aria-checked={a11yBoolean(this.checked)}\n onChange={(event) =>\n this.onCheckedChange((event.target as any).checked)\n }\n ></input>\n <label class=\"switch\" tabIndex={-1}>\n <span class=\"slider\"></span>\n </label>\n {!this.hideText ? (\n <Fragment>\n {!this.indeterminate ? (\n <span class={'toggle-text'} aria-hidden={a11yBoolean(true)}>\n {this.checked ? this.textOn : this.textOff}\n </span>\n ) : (\n <span class={'toggle-text'} aria-hidden={a11yBoolean(true)}>\n {this.textIndeterminate}\n </span>\n )}\n </Fragment>\n ) : null}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-c978628a.js');
6
- const floatingUi_dom_esm = require('./floating-ui.dom.esm-01fe5abe.js');
5
+ const index = require('./index-be499a74.js');
6
+ const floatingUi_dom_esm = require('./floating-ui.dom.esm-3b936e26.js');
7
7
 
8
8
  const tooltipCss = ":host{display:inline-block;position:fixed;left:0px;top:0px;z-index:var(--theme-z-index-tooltip);max-width:18.25rem;opacity:0;visibility:collapse !important;overflow-wrap:break-word;border-radius:0.25rem;background-color:var(--theme-tootlip--background);padding:0.375rem 0.75rem 0.375rem 0.875rem;box-shadow:var(--theme-shadow-4)}:host .tooltip-title{display:flex;align-items:center}:host .tooltip-title ::slotted(ix-icon){margin-right:0.35rem}:host(.visible){opacity:1;visibility:visible !important}:host(.visible) .arrow,:host(.visible) .arrow::before{position:absolute;width:8px;height:8px;background:inherit}:host(.visible) .arrow{visibility:hidden}:host(.visible) .arrow::before{visibility:visible;content:\"\";transform:rotate(45deg);background-color:var(--theme-tootlip--background)}";
9
9
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-c978628a.js');
5
+ const index = require('./index-be499a74.js');
6
6
  const _commonjsHelpers = require('./_commonjsHelpers-1a0c346f.js');
7
7
  const defaultTreeItem = require('./default-tree-item-89cd1f3f.js');
8
8
 
@@ -508,7 +508,7 @@ module.exports = exports['default'];
508
508
 
509
509
  const Hyperlist = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(hyperlist);
510
510
 
511
- const treeCss = ".sc-ix-tree-h{display:block}";
511
+ const treeCss = ":host{display:block}";
512
512
 
513
513
  const Tree = class {
514
514
  constructor(hostRef) {
@@ -526,6 +526,9 @@ const Tree = class {
526
526
  this.renderItem = undefined;
527
527
  this.context = {};
528
528
  }
529
+ updatePadding(element, item) {
530
+ element.style.paddingLeft = item.level + 'rem';
531
+ }
529
532
  getVirtualizerOptions() {
530
533
  const list = this.buildTreeList(this.model[this.root]);
531
534
  let setToggleListener = (item, el, index) => {
@@ -547,7 +550,7 @@ const Tree = class {
547
550
  total: list.length,
548
551
  generate: (index) => {
549
552
  const item = list[index];
550
- const renderedTreeItem = this.host.querySelector(`[data-tree-node-id="${item.id}"]`);
553
+ const renderedTreeItem = this.hostElement.querySelector(`[data-tree-node-id="${item.id}"]`);
551
554
  const context = this.getContext(item.id);
552
555
  if (renderedTreeItem) {
553
556
  renderedTreeItem.hasChildren = item.hasChildren;
@@ -557,6 +560,7 @@ const Tree = class {
557
560
  const doUpdate = this.updates.get(item.id);
558
561
  doUpdate(item, Object.assign({}, this.context));
559
562
  }
563
+ this.updatePadding(renderedTreeItem, item);
560
564
  return renderedTreeItem;
561
565
  }
562
566
  const update = (callback) => {
@@ -571,8 +575,8 @@ const Tree = class {
571
575
  }
572
576
  const el = innerElement;
573
577
  el.setAttribute('data-tree-node-id', item.id);
574
- el.style.paddingLeft = item.level + 'rem';
575
578
  el.style.paddingRight = '1rem';
579
+ this.updatePadding(el, item);
576
580
  if (!this.itemClickListener.has(el)) {
577
581
  const itemClickCallback = (e) => {
578
582
  e.preventDefault();
@@ -640,7 +644,7 @@ const Tree = class {
640
644
  });
641
645
  this.nodeRemoved.emit(removed);
642
646
  });
643
- this.observer.observe(this.host, {
647
+ this.observer.observe(this.hostElement, {
644
648
  childList: true,
645
649
  });
646
650
  }
@@ -671,26 +675,29 @@ const Tree = class {
671
675
  }
672
676
  refreshList() {
673
677
  if (this.hyperlist) {
674
- this.hyperlist.refresh(this.host, this.getVirtualizerOptions());
678
+ this.hyperlist.refresh(this.hostElement, this.getVirtualizerOptions());
675
679
  }
676
680
  }
677
681
  initList() {
678
682
  var _a;
683
+ if (!this.model) {
684
+ return;
685
+ }
679
686
  (_a = this.hyperlist) === null || _a === void 0 ? void 0 : _a.destroy();
680
687
  const config = this.getVirtualizerOptions();
681
- this.hyperlist = new Hyperlist(this.host, config);
688
+ this.hyperlist = new Hyperlist(this.hostElement, config);
682
689
  }
683
690
  render() {
684
691
  return (index.h(index.Host, null, index.h("slot", null)));
685
692
  }
686
- get host() { return index.getElement(this); }
693
+ get hostElement() { return index.getElement(this); }
687
694
  static get watchers() { return {
688
695
  "model": ["modelChange"]
689
696
  }; }
690
697
  };
691
698
  Tree.style = treeCss;
692
699
 
693
- const treeItemCss = ".sc-ix-tree-item-h{display:flex;align-items:center;height:32px;width:100%;cursor:pointer}.sc-ix-tree-item-h:not(.disabled):not(:disabled):not(.selected).hover,.sc-ix-tree-item-h:not(.disabled):not(:disabled):not(.selected):hover{background-color:var(--theme-tree-item--background--hover)}.sc-ix-tree-item-h:not(.disabled):not(:disabled):not(.selected).active,.sc-ix-tree-item-h:not(.disabled):not(:disabled):not(.selected):active{background-color:var(--theme-tree-item--background--active)}.selected.sc-ix-tree-item-h{background-color:var(--theme-tree-item--background--selected)}.selected.hover.sc-ix-tree-item-h,.selected.sc-ix-tree-item-h:hover{background-color:var(--theme-tree-item--background--selected-hover)}.selected.active.sc-ix-tree-item-h,.selected.sc-ix-tree-item-h:active{background-color:var(--theme-tree-item--background--selected-active)}.sc-ix-tree-item-h .tree-node-container.sc-ix-tree-item{display:flex;align-items:center;height:2rem;flex-grow:1;align-items:center}.sc-ix-tree-item-h .icon-toggle-container.sc-ix-tree-item{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem}.sc-ix-tree-item-h .icon-toggle-container.sc-ix-tree-item ix-icon.sc-ix-tree-item{transition:transform 150ms ease-in-out}.sc-ix-tree-item-h .icon-toggle-container.sc-ix-tree-item ix-icon.icon-toggle-down.sc-ix-tree-item{transform:rotate(90deg)}";
700
+ const treeItemCss = ":host{display:flex;align-items:center;height:32px;width:100%;cursor:pointer}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .tree-node-container{display:flex;align-items:center;height:2rem;flex-grow:1;align-items:center}:host .icon-toggle-container{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem}:host .icon-toggle-container ix-icon{transition:transform 150ms ease-in-out}:host .icon-toggle-container ix-icon.icon-toggle-down{transform:rotate(90deg)}:host(:not(.disabled):not(:disabled):not(.selected).hover),:host(:not(.disabled):not(:disabled):not(.selected):hover){background-color:var(--theme-tree-item--background--hover)}:host(:not(.disabled):not(:disabled):not(.selected).active),:host(:not(.disabled):not(:disabled):not(.selected):active){background-color:var(--theme-tree-item--background--active)}:host(.selected){background-color:var(--theme-tree-item--background--selected)}:host(.selected.hover),:host(.selected:hover){background-color:var(--theme-tree-item--background--selected-hover)}:host(.selected.active),:host(.selected:active){background-color:var(--theme-tree-item--background--selected-active)}";
694
701
 
695
702
  const TreeItem = class {
696
703
  constructor(hostRef) {