@siemens/ix 2.0.0-beta.0 → 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 (1215) hide show
  1. package/dist/cjs/base-button-c158438e.js +50 -0
  2. package/dist/cjs/base-button-c158438e.js.map +1 -0
  3. package/dist/cjs/base-icon-button-bbca2582.js +20 -0
  4. package/dist/cjs/base-icon-button-bbca2582.js.map +1 -0
  5. package/dist/cjs/breakpoints-e19e827e.js +27 -0
  6. package/dist/cjs/breakpoints-e19e827e.js.map +1 -0
  7. package/dist/cjs/context-0fdf2fa1.js +106 -0
  8. package/dist/cjs/context-0fdf2fa1.js.map +1 -0
  9. package/dist/cjs/{floating-ui.dom.esm-b79b633f.js → floating-ui.dom.esm-3b936e26.js} +654 -534
  10. package/dist/cjs/floating-ui.dom.esm-3b936e26.js.map +1 -0
  11. package/dist/cjs/{icon-eeb2940a.js → icon-9e9f2faf.js} +2 -2
  12. package/dist/cjs/{icon-eeb2940a.js.map → icon-9e9f2faf.js.map} +1 -1
  13. package/dist/cjs/index-1061a1c1.js +8 -0
  14. package/dist/cjs/index-1061a1c1.js.map +1 -0
  15. package/dist/cjs/{index-e56a1d39.js → index-be499a74.js} +45 -398
  16. package/dist/cjs/index-be499a74.js.map +1 -0
  17. package/dist/cjs/index.cjs.js +4 -4
  18. package/dist/cjs/ix-action-card.cjs.entry.js +3 -3
  19. package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ix-application-header.cjs.entry.js +10 -5
  21. package/dist/cjs/ix-application-header.cjs.entry.js.map +1 -1
  22. package/dist/cjs/ix-application-sidebar.cjs.entry.js +47 -0
  23. package/dist/cjs/ix-application-sidebar.cjs.entry.js.map +1 -0
  24. package/dist/cjs/ix-application.cjs.entry.js +109 -0
  25. package/dist/cjs/ix-application.cjs.entry.js.map +1 -0
  26. package/dist/cjs/ix-avatar.cjs.entry.js +1 -1
  27. package/dist/cjs/ix-basic-navigation.cjs.entry.js +44 -10
  28. package/dist/cjs/ix-basic-navigation.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ix-blind.cjs.entry.js +5 -4
  30. package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +100 -92
  32. package/dist/cjs/ix-breadcrumb_2.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ix-burger-menu.cjs.entry.js +3 -3
  34. package/dist/cjs/ix-burger-menu.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ix-button.cjs.entry.js +22 -7
  36. package/dist/cjs/ix-button.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +2 -2
  38. package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ix-card-list.cjs.entry.js +2 -2
  40. package/dist/cjs/ix-card-list.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ix-card_2.cjs.entry.js +3 -3
  42. package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ix-category-filter.cjs.entry.js +73 -40
  44. package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ix-chip.cjs.entry.js +2 -2
  46. package/dist/cjs/ix-chip.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ix-col.cjs.entry.js +77 -0
  48. package/dist/cjs/ix-col.cjs.entry.js.map +1 -0
  49. package/dist/cjs/ix-content-header.cjs.entry.js +1 -1
  50. package/dist/cjs/ix-content.cjs.entry.js +32 -0
  51. package/dist/cjs/ix-content.cjs.entry.js.map +1 -0
  52. package/dist/cjs/ix-css-grid-item.cjs.entry.js +1 -1
  53. package/dist/cjs/ix-css-grid-item.cjs.entry.js.map +1 -1
  54. package/dist/cjs/ix-css-grid.cjs.entry.js +1 -1
  55. package/dist/cjs/ix-css-grid.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ix-date-picker_2.cjs.entry.js +4 -4
  57. package/dist/cjs/ix-date-picker_2.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ix-date-time-card.cjs.entry.js +2 -2
  59. package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -1
  60. package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -2
  61. package/dist/cjs/ix-datetime-picker.cjs.entry.js.map +1 -1
  62. package/dist/cjs/ix-divider.cjs.entry.js +1 -1
  63. package/dist/cjs/ix-drawer.cjs.entry.js +2 -2
  64. package/dist/cjs/ix-drawer.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ix-dropdown-button.cjs.entry.js +4 -3
  66. package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ix-dropdown-header.cjs.entry.js +2 -2
  68. package/dist/cjs/ix-dropdown-header.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
  70. package/dist/cjs/ix-dropdown_2.cjs.entry.js +6 -8
  71. package/dist/cjs/ix-dropdown_2.cjs.entry.js.map +1 -1
  72. package/dist/cjs/ix-empty-state.cjs.entry.js +2 -2
  73. package/dist/cjs/ix-empty-state.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ix-event-list_2.cjs.entry.js +3 -3
  75. package/dist/cjs/ix-event-list_2.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ix-expanding-search.cjs.entry.js +2 -2
  77. package/dist/cjs/ix-expanding-search.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ix-filter-chip.cjs.entry.js +4 -3
  79. package/dist/cjs/ix-filter-chip.cjs.entry.js.map +1 -1
  80. package/dist/cjs/ix-flip-tile_2.cjs.entry.js +28 -18
  81. package/dist/cjs/ix-flip-tile_2.cjs.entry.js.map +1 -1
  82. package/dist/cjs/ix-form-field.cjs.entry.js +27 -0
  83. package/dist/cjs/ix-form-field.cjs.entry.js.map +1 -0
  84. package/dist/cjs/ix-grid.cjs.entry.js +29 -0
  85. package/dist/cjs/ix-grid.cjs.entry.js.map +1 -0
  86. package/dist/cjs/ix-group-context-menu.cjs.entry.js +2 -2
  87. package/dist/cjs/ix-group_2.cjs.entry.js +4 -4
  88. package/dist/cjs/ix-group_2.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ix-icon-button.cjs.entry.js +21 -13
  90. package/dist/cjs/ix-icon-button.cjs.entry.js.map +1 -1
  91. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +88 -0
  92. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js.map +1 -0
  93. package/dist/cjs/ix-icon.cjs.entry.js +2 -2
  94. package/dist/cjs/ix-input-group.cjs.entry.js +85 -18
  95. package/dist/cjs/ix-input-group.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
  97. package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
  98. package/dist/cjs/ix-kpi.cjs.entry.js +2 -2
  99. package/dist/cjs/ix-kpi.cjs.entry.js.map +1 -1
  100. package/dist/cjs/ix-link-button.cjs.entry.js +2 -2
  101. package/dist/cjs/ix-link-button.cjs.entry.js.map +1 -1
  102. package/dist/cjs/ix-map-navigation_2.cjs.entry.js +11 -3
  103. package/dist/cjs/ix-map-navigation_2.cjs.entry.js.map +1 -1
  104. package/dist/cjs/ix-menu-category.cjs.entry.js +6 -5
  105. package/dist/cjs/ix-menu-category.cjs.entry.js.map +1 -1
  106. package/dist/cjs/ix-menu_9.cjs.entry.js +101 -75
  107. package/dist/cjs/ix-menu_9.cjs.entry.js.map +1 -1
  108. package/dist/cjs/ix-message-bar.cjs.entry.js +2 -2
  109. package/dist/cjs/ix-message-bar.cjs.entry.js.map +1 -1
  110. package/dist/cjs/ix-modal-content.cjs.entry.js +2 -2
  111. package/dist/cjs/ix-modal-content.cjs.entry.js.map +1 -1
  112. package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
  113. package/dist/cjs/ix-modal-footer.cjs.entry.js +2 -2
  114. package/dist/cjs/ix-modal-footer.cjs.entry.js.map +1 -1
  115. package/dist/cjs/ix-modal-header.cjs.entry.js +2 -2
  116. package/dist/cjs/ix-modal-header.cjs.entry.js.map +1 -1
  117. package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
  118. package/dist/cjs/ix-modal.cjs.entry.js +2 -2
  119. package/dist/cjs/ix-modal.cjs.entry.js.map +1 -1
  120. package/dist/cjs/ix-pagination.cjs.entry.js +32 -15
  121. package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
  122. package/dist/cjs/ix-pill.cjs.entry.js +2 -2
  123. package/dist/cjs/ix-pill.cjs.entry.js.map +1 -1
  124. package/dist/cjs/ix-push-card.cjs.entry.js +5 -2
  125. package/dist/cjs/ix-push-card.cjs.entry.js.map +1 -1
  126. package/dist/cjs/ix-row.cjs.entry.js +21 -0
  127. package/dist/cjs/ix-row.cjs.entry.js.map +1 -0
  128. package/dist/cjs/ix-select_2.cjs.entry.js +68 -49
  129. package/dist/cjs/ix-select_2.cjs.entry.js.map +1 -1
  130. package/dist/cjs/ix-spinner.cjs.entry.js +2 -2
  131. package/dist/cjs/ix-spinner.cjs.entry.js.map +1 -1
  132. package/dist/cjs/ix-split-button_2.cjs.entry.js +7 -5
  133. package/dist/cjs/ix-split-button_2.cjs.entry.js.map +1 -1
  134. package/dist/cjs/ix-tab-item.cjs.entry.js +11 -3
  135. package/dist/cjs/ix-tab-item.cjs.entry.js.map +1 -1
  136. package/dist/cjs/ix-tabs.cjs.entry.js +22 -7
  137. package/dist/cjs/ix-tabs.cjs.entry.js.map +1 -1
  138. package/dist/cjs/ix-tile.cjs.entry.js +2 -2
  139. package/dist/cjs/ix-tile.cjs.entry.js.map +1 -1
  140. package/dist/cjs/ix-toast_2.cjs.entry.js +2 -2
  141. package/dist/cjs/ix-toast_2.cjs.entry.js.map +1 -1
  142. package/dist/cjs/ix-toggle-button.cjs.entry.js +77 -0
  143. package/dist/cjs/ix-toggle-button.cjs.entry.js.map +1 -0
  144. package/dist/cjs/ix-toggle.cjs.entry.js +2 -2
  145. package/dist/cjs/ix-toggle.cjs.entry.js.map +1 -1
  146. package/dist/cjs/ix-tooltip.cjs.entry.js +2 -2
  147. package/dist/cjs/ix-tree_2.cjs.entry.js +16 -9
  148. package/dist/cjs/ix-tree_2.cjs.entry.js.map +1 -1
  149. package/dist/cjs/ix-typography.cjs.entry.js +25 -12
  150. package/dist/cjs/ix-typography.cjs.entry.js.map +1 -1
  151. package/dist/cjs/ix-upload.cjs.entry.js +2 -2
  152. package/dist/cjs/ix-upload.cjs.entry.js.map +1 -1
  153. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +8 -8
  154. package/dist/cjs/ix-validation-tooltip.cjs.entry.js.map +1 -1
  155. package/dist/cjs/ix-workflow-step_2.cjs.entry.js +14 -18
  156. package/dist/cjs/ix-workflow-step_2.cjs.entry.js.map +1 -1
  157. package/dist/cjs/loader.cjs.js +2 -2
  158. package/dist/cjs/menu-service-f7ef5265.js +159 -0
  159. package/dist/cjs/menu-service-f7ef5265.js.map +1 -0
  160. package/dist/cjs/my-component.cjs.entry.js +1 -1
  161. package/dist/cjs/my-component.cjs.entry.js.map +1 -1
  162. package/dist/cjs/{shadow-dom-f9b90696.js → shadow-dom-9b10f758.js} +4 -1
  163. package/dist/cjs/shadow-dom-9b10f758.js.map +1 -0
  164. package/dist/cjs/siemens-ix.cjs.js +2 -2
  165. package/dist/cjs/{theme-switcher-bdbd0d30.js → theme-switcher-d0386ac9.js} +36 -4
  166. package/dist/cjs/theme-switcher-d0386ac9.js.map +1 -0
  167. package/dist/collection/collection-manifest.json +13 -13
  168. package/dist/collection/components/action-card/action-card.css +36 -0
  169. package/dist/collection/components/action-card/action-card.js +1 -1
  170. package/dist/collection/components/action-card/action-card.js.map +1 -1
  171. package/dist/collection/components/application/application.css +106 -0
  172. package/dist/collection/components/application/application.js +220 -0
  173. package/dist/collection/components/application/application.js.map +1 -0
  174. package/dist/collection/components/application-header/application-header.css +4 -2
  175. package/dist/collection/components/application-header/application-header.js +8 -28
  176. package/dist/collection/components/application-header/application-header.js.map +1 -1
  177. package/dist/collection/components/application-header/test/application-headet.ct.js +20 -0
  178. package/dist/collection/components/application-header/test/application-headet.ct.js.map +1 -0
  179. package/dist/collection/components/application-sidebar/application-sidebar.css +69 -0
  180. package/dist/collection/components/application-sidebar/application-sidebar.js +70 -0
  181. package/dist/collection/components/application-sidebar/application-sidebar.js.map +1 -0
  182. package/dist/collection/components/application-sidebar/events.js +15 -0
  183. package/dist/collection/components/application-sidebar/events.js.map +1 -0
  184. package/dist/collection/components/basic-navigation/basic-navigation.css +39 -2
  185. package/dist/collection/components/basic-navigation/basic-navigation.js +91 -8
  186. package/dist/collection/components/basic-navigation/basic-navigation.js.map +1 -1
  187. package/dist/collection/components/blind/blind.css +23 -8
  188. package/dist/collection/components/blind/blind.js +23 -2
  189. package/dist/collection/components/blind/blind.js.map +1 -1
  190. package/dist/collection/components/breadcrumb/breadcrumb.css +49 -153
  191. package/dist/collection/components/breadcrumb/breadcrumb.js +80 -92
  192. package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
  193. package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js +97 -0
  194. package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js.map +1 -0
  195. package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +1063 -1
  196. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +153 -3
  197. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
  198. package/dist/collection/components/button/base-button.js +10 -1
  199. package/dist/collection/components/button/base-button.js.map +1 -1
  200. package/dist/collection/components/button/button.css +287 -208
  201. package/dist/collection/components/button/button.js +62 -44
  202. package/dist/collection/components/button/button.js.map +1 -1
  203. package/dist/collection/components/card/card.css +36 -0
  204. package/dist/collection/components/card-accordion/card-accordion.css +37 -0
  205. package/dist/collection/components/card-content/card-content.css +36 -0
  206. package/dist/collection/components/card-list/card-list.css +36 -0
  207. package/dist/collection/components/category-filter/category-filter.css +1303 -4
  208. package/dist/collection/components/category-filter/category-filter.js +115 -55
  209. package/dist/collection/components/category-filter/category-filter.js.map +1 -1
  210. package/dist/collection/components/chip/chip.css +36 -0
  211. package/dist/collection/components/col/col.css +19 -0
  212. package/dist/collection/components/col/col.js +189 -0
  213. package/dist/collection/components/col/col.js.map +1 -0
  214. package/dist/collection/components/content/content.css +75 -0
  215. package/dist/collection/components/content/content.js +46 -0
  216. package/dist/collection/components/content/content.js.map +1 -0
  217. package/dist/collection/components/css-grid/builder.js.map +1 -0
  218. package/dist/collection/components/css-grid/css-grid-item.js.map +1 -0
  219. package/dist/collection/components/{layout/css-grid → css-grid}/css-grid.js +1 -1
  220. package/dist/collection/components/css-grid/css-grid.js.map +1 -0
  221. package/dist/collection/components/date-picker/date-picker.css +38 -0
  222. package/dist/collection/components/date-time-card/date-time-card.css +38 -0
  223. package/dist/collection/components/datetime-picker/datetime-picker.css +36 -0
  224. package/dist/collection/components/drawer/drawer.css +36 -0
  225. package/dist/collection/components/dropdown/dropdown.css +36 -0
  226. package/dist/collection/components/dropdown/dropdown.js.map +1 -1
  227. package/dist/collection/components/dropdown-button/dropdown-button.css +46 -4
  228. package/dist/collection/components/dropdown-button/dropdown-button.js +27 -1
  229. package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
  230. package/dist/collection/components/dropdown-header/dropdown-header.css +36 -0
  231. package/dist/collection/components/dropdown-item/dropdown-item.css +36 -0
  232. package/dist/collection/components/empty-state/empty-state.css +38 -0
  233. package/dist/collection/components/event-list/event-list.css +36 -0
  234. package/dist/collection/components/event-list-item/event-list-item.css +42 -4
  235. package/dist/collection/components/expanding-search/expanding-search.css +47 -4
  236. package/dist/collection/components/filter-chip/filter-chip.css +48 -1
  237. package/dist/collection/components/filter-chip/filter-chip.js +23 -1
  238. package/dist/collection/components/filter-chip/filter-chip.js.map +1 -1
  239. package/dist/collection/components/flip-tile/flip-tile.css +208 -0
  240. package/dist/collection/components/flip-tile/flip-tile.js +25 -36
  241. package/dist/collection/components/flip-tile/flip-tile.js.map +1 -1
  242. package/dist/collection/components/flip-tile/test/flip-tile.ct.js +57 -0
  243. package/dist/collection/components/flip-tile/test/flip-tile.ct.js.map +1 -0
  244. package/dist/collection/components/flip-tile-content/flip-tile-content.js +29 -1
  245. package/dist/collection/components/flip-tile-content/flip-tile-content.js.map +1 -1
  246. package/dist/collection/components/form-field/form-field.css +234 -0
  247. package/dist/collection/components/form-field/form-field.js +56 -0
  248. package/dist/collection/components/form-field/form-field.js.map +1 -0
  249. package/dist/collection/components/grid/grid.css +26 -0
  250. package/dist/collection/components/grid/grid.js +98 -0
  251. package/dist/collection/components/grid/grid.js.map +1 -0
  252. package/dist/collection/components/group/group.css +4 -4
  253. package/dist/collection/components/group-item/group-item.css +36 -0
  254. package/dist/collection/components/icon-button/base-icon-button.js +14 -0
  255. package/dist/collection/components/icon-button/base-icon-button.js.map +1 -0
  256. package/dist/collection/components/icon-button/icon-button.css +383 -173
  257. package/dist/collection/components/icon-button/icon-button.js +18 -49
  258. package/dist/collection/components/icon-button/icon-button.js.map +1 -1
  259. package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +618 -0
  260. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +274 -0
  261. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js.map +1 -0
  262. package/dist/collection/components/input-group/input-group.css +54 -1
  263. package/dist/collection/components/input-group/input-group.js +92 -17
  264. package/dist/collection/components/input-group/input-group.js.map +1 -1
  265. package/dist/collection/components/kpi/kpi.css +38 -2
  266. package/dist/collection/components/link-button/link-button.css +72 -66
  267. package/dist/collection/components/map-navigation/map-navigation.css +36 -0
  268. package/dist/collection/components/map-navigation/map-navigation.js +8 -0
  269. package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
  270. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +56 -0
  271. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +1 -1
  272. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js.map +1 -1
  273. package/dist/collection/components/menu/burger-menu.css +104 -62
  274. package/dist/collection/components/menu/menu.css +45 -6
  275. package/dist/collection/components/menu/menu.js +66 -103
  276. package/dist/collection/components/menu/menu.js.map +1 -1
  277. package/dist/collection/components/menu/test/menu.ct.js +8 -10
  278. package/dist/collection/components/menu/test/menu.ct.js.map +1 -1
  279. package/dist/collection/components/menu-about/menu-about.css +2 -2
  280. package/dist/collection/components/menu-about/menu-about.js +3 -3
  281. package/dist/collection/components/menu-about/menu-about.js.map +1 -1
  282. package/dist/collection/components/menu-about-news/menu-about-news.css +36 -0
  283. package/dist/collection/components/menu-avatar/menu-avatar.css +46 -2
  284. package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
  285. package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
  286. package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +36 -1
  287. package/dist/collection/components/menu-category/menu-category.css +41 -0
  288. package/dist/collection/components/menu-category/menu-category.js +3 -3
  289. package/dist/collection/components/menu-category/menu-category.js.map +1 -1
  290. package/dist/collection/components/menu-category/test/menu-category.ct.js +27 -10
  291. package/dist/collection/components/menu-category/test/menu-category.ct.js.map +1 -1
  292. package/dist/collection/components/menu-item/menu-item.css +11 -6
  293. package/dist/collection/components/menu-item/menu-item.js +7 -1
  294. package/dist/collection/components/menu-item/menu-item.js.map +1 -1
  295. package/dist/collection/components/menu-settings/menu-settings.css +40 -1
  296. package/dist/collection/components/menu-settings/menu-settings.js +1 -1
  297. package/dist/collection/components/menu-settings/menu-settings.js.map +1 -1
  298. package/dist/collection/components/message-bar/message-bar.css +38 -0
  299. package/dist/collection/components/modal/modal.css +3 -3
  300. package/dist/collection/components/modal-content/modal-content.css +36 -0
  301. package/dist/collection/components/modal-footer/modal-footer.css +36 -0
  302. package/dist/collection/components/modal-header/modal-header.css +36 -0
  303. package/dist/collection/components/my-component/my-component.js +1 -1
  304. package/dist/collection/components/my-component/my-component.js.map +1 -1
  305. package/dist/collection/components/pagination/pagination.css +919 -2
  306. package/dist/collection/components/pagination/pagination.js +31 -14
  307. package/dist/collection/components/pagination/pagination.js.map +1 -1
  308. package/dist/collection/components/pill/pill.css +36 -0
  309. package/dist/collection/components/push-card/push-card.js +4 -1
  310. package/dist/collection/components/push-card/push-card.js.map +1 -1
  311. package/dist/collection/components/{animated-tab/animated-tab.css → row/row.css} +7 -4
  312. package/dist/collection/components/row/row.js +30 -0
  313. package/dist/collection/components/row/row.js.map +1 -0
  314. package/dist/collection/components/select/select.css +71 -6
  315. package/dist/collection/components/select/select.js +118 -55
  316. package/dist/collection/components/select/select.js.map +1 -1
  317. package/dist/collection/components/select/test/select.ct.js +10 -6
  318. package/dist/collection/components/select/test/select.ct.js.map +1 -1
  319. package/dist/collection/components/select-item/select-item.js +1 -1
  320. package/dist/collection/components/select-item/select-item.js.map +1 -1
  321. package/dist/collection/components/spinner/spinner.css +148 -0
  322. package/dist/collection/components/split-button/split-button.css +36 -0
  323. package/dist/collection/components/split-button/split-button.js +1 -2
  324. package/dist/collection/components/split-button/split-button.js.map +1 -1
  325. package/dist/collection/components/split-button-item/split-button-item.js +4 -1
  326. package/dist/collection/components/split-button-item/split-button-item.js.map +1 -1
  327. package/dist/collection/components/tab-item/tab-item.css +36 -1
  328. package/dist/collection/components/tab-item/tab-item.js +34 -1
  329. package/dist/collection/components/tab-item/tab-item.js.map +1 -1
  330. package/dist/collection/components/tabs/tabs.css +36 -0
  331. package/dist/collection/components/tabs/tabs.js +46 -5
  332. package/dist/collection/components/tabs/tabs.js.map +1 -1
  333. package/dist/collection/components/tabs/test/tabs.ct.js +84 -0
  334. package/dist/collection/components/tabs/test/tabs.ct.js.map +1 -0
  335. package/dist/collection/components/tile/tile.css +36 -0
  336. package/dist/collection/components/time-picker/time-picker.css +274 -13
  337. package/dist/collection/components/time-picker/time-picker.js +1 -1
  338. package/dist/collection/components/time-picker/time-picker.js.map +1 -1
  339. package/dist/collection/components/toast/toast.css +36 -0
  340. package/dist/collection/components/toggle/toggle.css +36 -0
  341. package/dist/collection/components/toggle-button/toggle-button.css +447 -0
  342. package/dist/collection/components/toggle-button/toggle-button.js +246 -0
  343. package/dist/collection/components/toggle-button/toggle-button.js.map +1 -0
  344. package/dist/collection/components/tree/test/tree.ct.js +154 -0
  345. package/dist/collection/components/tree/test/tree.ct.js.map +1 -0
  346. package/dist/collection/components/tree/tree.js +14 -7
  347. package/dist/collection/components/tree/tree.js.map +1 -1
  348. package/dist/collection/components/tree-item/tree-item.css +56 -14
  349. package/dist/collection/components/tree-item/tree-item.js +1 -1
  350. package/dist/collection/components/tree-item/tree-item.js.map +1 -1
  351. package/dist/collection/components/typography/typography.css +391 -0
  352. package/dist/collection/components/typography/typography.js +95 -14
  353. package/dist/collection/components/typography/typography.js.map +1 -1
  354. package/dist/collection/components/upload/upload.css +36 -0
  355. package/dist/collection/components/utils/application-layout/context.js +19 -0
  356. package/dist/collection/components/utils/application-layout/context.js.map +1 -0
  357. package/dist/collection/components/utils/{screen → application-layout}/index.js +1 -1
  358. package/dist/collection/components/utils/application-layout/index.js.map +1 -0
  359. package/dist/collection/components/utils/application-layout/service.js +92 -0
  360. package/dist/collection/components/utils/application-layout/service.js.map +1 -0
  361. package/dist/collection/components/utils/breakpoints.js +22 -0
  362. package/dist/collection/components/utils/breakpoints.js.map +1 -0
  363. package/dist/collection/components/utils/context.js +79 -0
  364. package/dist/collection/components/utils/context.js.map +1 -0
  365. package/dist/collection/components/utils/shadow-dom.js +6 -0
  366. package/dist/collection/components/utils/shadow-dom.js.map +1 -1
  367. package/dist/collection/components/utils/theme-switcher.js +35 -3
  368. package/dist/collection/components/utils/theme-switcher.js.map +1 -1
  369. package/dist/collection/components/validation-tooltip/validation-tooltip.js +6 -6
  370. package/dist/collection/components/validation-tooltip/validation-tooltip.js.map +1 -1
  371. package/dist/collection/components/workflow-step/workflow-step.css +40 -2
  372. package/dist/collection/components/workflow-step/workflow-step.js +6 -13
  373. package/dist/collection/components/workflow-step/workflow-step.js.map +1 -1
  374. package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js +74 -0
  375. package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js.map +1 -0
  376. package/dist/collection/components/workflow-steps/workflow-steps.css +38 -0
  377. package/dist/collection/components/workflow-steps/workflow-steps.js +8 -26
  378. package/dist/collection/components/workflow-steps/workflow-steps.js.map +1 -1
  379. package/dist/components/application-header.js +9 -5
  380. package/dist/components/application-header.js.map +1 -1
  381. package/dist/components/base-button.js +16 -2
  382. package/dist/components/base-button.js.map +1 -1
  383. package/dist/components/base-icon-button.js +18 -0
  384. package/dist/components/base-icon-button.js.map +1 -0
  385. package/dist/components/breadcrumb-item.js +99 -0
  386. package/dist/components/breadcrumb-item.js.map +1 -0
  387. package/dist/components/breakpoints.js +25 -0
  388. package/dist/components/breakpoints.js.map +1 -0
  389. package/dist/components/burger-menu.js +1 -1
  390. package/dist/components/burger-menu.js.map +1 -1
  391. package/dist/components/button.js +24 -9
  392. package/dist/components/button.js.map +1 -1
  393. package/dist/components/card-accordion.js +1 -1
  394. package/dist/components/card-accordion.js.map +1 -1
  395. package/dist/components/card-content.js +1 -1
  396. package/dist/components/card-content.js.map +1 -1
  397. package/dist/components/card.js +1 -1
  398. package/dist/components/card.js.map +1 -1
  399. package/dist/components/context.js +86 -7
  400. package/dist/components/context.js.map +1 -1
  401. package/dist/components/date-picker.js +1 -1
  402. package/dist/components/date-picker.js.map +1 -1
  403. package/dist/components/date-time-card.js +1 -1
  404. package/dist/components/date-time-card.js.map +1 -1
  405. package/dist/components/dropdown-item.js +2 -4
  406. package/dist/components/dropdown-item.js.map +1 -1
  407. package/dist/components/dropdown.js +1 -1
  408. package/dist/components/dropdown.js.map +1 -1
  409. package/dist/components/filter-chip.js +5 -3
  410. package/dist/components/filter-chip.js.map +1 -1
  411. package/dist/components/floating-ui.dom.esm.js +653 -533
  412. package/dist/components/floating-ui.dom.esm.js.map +1 -1
  413. package/dist/components/group-context-menu.js +2 -16
  414. package/dist/components/group-context-menu.js.map +1 -1
  415. package/dist/components/group-item.js +1 -1
  416. package/dist/components/group-item.js.map +1 -1
  417. package/dist/components/icon-button.js +19 -14
  418. package/dist/components/icon-button.js.map +1 -1
  419. package/dist/components/index.js +1 -1
  420. package/dist/components/index2.js +6 -0
  421. package/dist/components/index2.js.map +1 -0
  422. package/dist/components/ix-action-card.js +2 -2
  423. package/dist/components/ix-action-card.js.map +1 -1
  424. package/dist/components/ix-application-sidebar.d.ts +11 -0
  425. package/dist/components/ix-application-sidebar.js +63 -0
  426. package/dist/components/ix-application-sidebar.js.map +1 -0
  427. package/dist/components/{ix-animated-tab.d.ts → ix-application.d.ts} +4 -4
  428. package/dist/components/ix-application.js +128 -0
  429. package/dist/components/ix-application.js.map +1 -0
  430. package/dist/components/ix-basic-navigation.js +45 -10
  431. package/dist/components/ix-basic-navigation.js.map +1 -1
  432. package/dist/components/ix-blind.js +13 -5
  433. package/dist/components/ix-blind.js.map +1 -1
  434. package/dist/components/ix-breadcrumb-item.js +1 -32
  435. package/dist/components/ix-breadcrumb-item.js.map +1 -1
  436. package/dist/components/ix-breadcrumb.js +76 -98
  437. package/dist/components/ix-breadcrumb.js.map +1 -1
  438. package/dist/components/ix-card-list.js +1 -1
  439. package/dist/components/ix-card-list.js.map +1 -1
  440. package/dist/components/ix-category-filter.js +76 -41
  441. package/dist/components/ix-category-filter.js.map +1 -1
  442. package/dist/components/ix-chip.js +1 -1
  443. package/dist/components/ix-chip.js.map +1 -1
  444. package/dist/components/{ix-index-button.d.ts → ix-col.d.ts} +4 -4
  445. package/dist/components/ix-col.js +96 -0
  446. package/dist/components/ix-col.js.map +1 -0
  447. package/dist/components/ix-content.d.ts +11 -0
  448. package/dist/components/ix-content.js +48 -0
  449. package/dist/components/ix-content.js.map +1 -0
  450. package/dist/components/ix-css-grid-item.js.map +1 -1
  451. package/dist/components/ix-css-grid.js.map +1 -1
  452. package/dist/components/ix-datetime-picker.js +23 -17
  453. package/dist/components/ix-datetime-picker.js.map +1 -1
  454. package/dist/components/ix-drawer.js +1 -1
  455. package/dist/components/ix-drawer.js.map +1 -1
  456. package/dist/components/ix-dropdown-button.js +4 -2
  457. package/dist/components/ix-dropdown-button.js.map +1 -1
  458. package/dist/components/ix-dropdown-header.js +1 -1
  459. package/dist/components/ix-dropdown-header.js.map +1 -1
  460. package/dist/components/ix-empty-state.js +1 -1
  461. package/dist/components/ix-empty-state.js.map +1 -1
  462. package/dist/components/ix-event-list-item.js +1 -1
  463. package/dist/components/ix-event-list-item.js.map +1 -1
  464. package/dist/components/ix-event-list.js +1 -1
  465. package/dist/components/ix-event-list.js.map +1 -1
  466. package/dist/components/ix-expanding-search.js +1 -1
  467. package/dist/components/ix-expanding-search.js.map +1 -1
  468. package/dist/components/ix-flip-tile-content.js +5 -2
  469. package/dist/components/ix-flip-tile-content.js.map +1 -1
  470. package/dist/components/ix-flip-tile.js +27 -18
  471. package/dist/components/ix-flip-tile.js.map +1 -1
  472. package/dist/components/ix-form-field.d.ts +11 -0
  473. package/dist/components/ix-form-field.js +43 -0
  474. package/dist/components/ix-form-field.js.map +1 -0
  475. package/dist/components/ix-grid.d.ts +11 -0
  476. package/dist/components/ix-grid.js +47 -0
  477. package/dist/components/ix-grid.js.map +1 -0
  478. package/dist/components/ix-group.js +3 -2
  479. package/dist/components/ix-group.js.map +1 -1
  480. package/dist/components/ix-icon-toggle-button.d.ts +11 -0
  481. package/dist/components/ix-icon-toggle-button.js +122 -0
  482. package/dist/components/ix-icon-toggle-button.js.map +1 -0
  483. package/dist/components/ix-input-group.js +89 -18
  484. package/dist/components/ix-input-group.js.map +1 -1
  485. package/dist/components/ix-kpi.js +1 -1
  486. package/dist/components/ix-kpi.js.map +1 -1
  487. package/dist/components/ix-link-button.js +1 -1
  488. package/dist/components/ix-link-button.js.map +1 -1
  489. package/dist/components/ix-map-navigation.js +8 -1
  490. package/dist/components/ix-map-navigation.js.map +1 -1
  491. package/dist/components/ix-menu-about-news.js +1 -1
  492. package/dist/components/ix-menu-about-news.js.map +1 -1
  493. package/dist/components/ix-menu-about.js +4 -4
  494. package/dist/components/ix-menu-about.js.map +1 -1
  495. package/dist/components/ix-menu-avatar.js +3 -3
  496. package/dist/components/ix-menu-avatar.js.map +1 -1
  497. package/dist/components/ix-menu-category.js +4 -4
  498. package/dist/components/ix-menu-category.js.map +1 -1
  499. package/dist/components/ix-menu-settings.js +2 -2
  500. package/dist/components/ix-menu-settings.js.map +1 -1
  501. package/dist/components/ix-menu.js +80 -62
  502. package/dist/components/ix-menu.js.map +1 -1
  503. package/dist/components/ix-message-bar.js +1 -1
  504. package/dist/components/ix-message-bar.js.map +1 -1
  505. package/dist/components/ix-modal-content.js +1 -1
  506. package/dist/components/ix-modal-content.js.map +1 -1
  507. package/dist/components/ix-modal-footer.js +1 -1
  508. package/dist/components/ix-modal-footer.js.map +1 -1
  509. package/dist/components/ix-modal-header.js +1 -1
  510. package/dist/components/ix-modal-header.js.map +1 -1
  511. package/dist/components/ix-modal.js +1 -1
  512. package/dist/components/ix-modal.js.map +1 -1
  513. package/dist/components/ix-pagination.js +42 -24
  514. package/dist/components/ix-pagination.js.map +1 -1
  515. package/dist/components/ix-pill.js +1 -1
  516. package/dist/components/ix-pill.js.map +1 -1
  517. package/dist/components/ix-push-card.js +4 -1
  518. package/dist/components/ix-push-card.js.map +1 -1
  519. package/dist/components/ix-row.d.ts +11 -0
  520. package/dist/components/ix-row.js +35 -0
  521. package/dist/components/ix-row.js.map +1 -0
  522. package/dist/components/ix-split-button-item.js +4 -1
  523. package/dist/components/ix-split-button-item.js.map +1 -1
  524. package/dist/components/ix-split-button.js +2 -3
  525. package/dist/components/ix-split-button.js.map +1 -1
  526. package/dist/components/ix-tile.js +1 -1
  527. package/dist/components/ix-tile.js.map +1 -1
  528. package/dist/components/{ix-animated-tabs.d.ts → ix-toggle-button.d.ts} +4 -4
  529. package/dist/components/ix-toggle-button.js +111 -0
  530. package/dist/components/ix-toggle-button.js.map +1 -0
  531. package/dist/components/ix-toggle.js +1 -1
  532. package/dist/components/ix-toggle.js.map +1 -1
  533. package/dist/components/ix-tree.js +16 -8
  534. package/dist/components/ix-tree.js.map +1 -1
  535. package/dist/components/ix-upload.js +1 -1
  536. package/dist/components/ix-upload.js.map +1 -1
  537. package/dist/components/ix-validation-tooltip.js +8 -7
  538. package/dist/components/ix-validation-tooltip.js.map +1 -1
  539. package/dist/components/ix-workflow-step.js +5 -12
  540. package/dist/components/ix-workflow-step.js.map +1 -1
  541. package/dist/components/ix-workflow-steps.js +9 -7
  542. package/dist/components/ix-workflow-steps.js.map +1 -1
  543. package/dist/components/map-navigation-overlay.js +3 -2
  544. package/dist/components/map-navigation-overlay.js.map +1 -1
  545. package/dist/components/menu-avatar-item.js +1 -1
  546. package/dist/components/menu-avatar-item.js.map +1 -1
  547. package/dist/components/menu-item.js +8 -2
  548. package/dist/components/menu-item.js.map +1 -1
  549. package/dist/components/menu-service.js +79 -1
  550. package/dist/components/menu-service.js.map +1 -1
  551. package/dist/components/my-component.js.map +1 -1
  552. package/dist/components/select-item.js +3 -2
  553. package/dist/components/select-item.js.map +1 -1
  554. package/dist/components/select.js +70 -49
  555. package/dist/components/select.js.map +1 -1
  556. package/dist/{esm/shadow-dom-6860b1c4.js → components/shadow-dom.js} +4 -1
  557. package/dist/components/shadow-dom.js.map +1 -0
  558. package/dist/components/spinner.js +1 -1
  559. package/dist/components/spinner.js.map +1 -1
  560. package/dist/components/tab-item.js +11 -3
  561. package/dist/components/tab-item.js.map +1 -1
  562. package/dist/components/tabs.js +23 -8
  563. package/dist/components/tabs.js.map +1 -1
  564. package/dist/components/theme-switcher.js +35 -3
  565. package/dist/components/theme-switcher.js.map +1 -1
  566. package/dist/components/time-picker.js +18 -12
  567. package/dist/components/time-picker.js.map +1 -1
  568. package/dist/components/toast.js +1 -1
  569. package/dist/components/toast.js.map +1 -1
  570. package/dist/components/tree-item.js +3 -2
  571. package/dist/components/tree-item.js.map +1 -1
  572. package/dist/components/typography.js +28 -12
  573. package/dist/components/typography.js.map +1 -1
  574. package/dist/esm/base-button-87048318.js +47 -0
  575. package/dist/esm/base-button-87048318.js.map +1 -0
  576. package/dist/esm/base-icon-button-afac2d95.js +18 -0
  577. package/dist/esm/base-icon-button-afac2d95.js.map +1 -0
  578. package/dist/esm/breakpoints-b8d59fd9.js +25 -0
  579. package/dist/esm/breakpoints-b8d59fd9.js.map +1 -0
  580. package/dist/esm/context-6a3bc77f.js +101 -0
  581. package/dist/esm/context-6a3bc77f.js.map +1 -0
  582. package/dist/esm/{floating-ui.dom.esm-9b203a02.js → floating-ui.dom.esm-cbe44820.js} +654 -534
  583. package/dist/esm/floating-ui.dom.esm-cbe44820.js.map +1 -0
  584. package/dist/esm/{icon-4ac90a6d.js → icon-f54a8bc4.js} +2 -2
  585. package/dist/esm/{icon-4ac90a6d.js.map → icon-f54a8bc4.js.map} +1 -1
  586. package/dist/esm/index-7b24b7fa.js +6 -0
  587. package/dist/esm/index-7b24b7fa.js.map +1 -0
  588. package/dist/esm/{index-7334ee80.js → index-eb0be730.js} +46 -398
  589. package/dist/esm/index-eb0be730.js.map +1 -0
  590. package/dist/esm/index.js +3 -3
  591. package/dist/esm/ix-action-card.entry.js +3 -3
  592. package/dist/esm/ix-action-card.entry.js.map +1 -1
  593. package/dist/esm/ix-application-header.entry.js +10 -5
  594. package/dist/esm/ix-application-header.entry.js.map +1 -1
  595. package/dist/esm/ix-application-sidebar.entry.js +43 -0
  596. package/dist/esm/ix-application-sidebar.entry.js.map +1 -0
  597. package/dist/esm/ix-application.entry.js +105 -0
  598. package/dist/esm/ix-application.entry.js.map +1 -0
  599. package/dist/esm/ix-avatar.entry.js +1 -1
  600. package/dist/esm/ix-basic-navigation.entry.js +44 -10
  601. package/dist/esm/ix-basic-navigation.entry.js.map +1 -1
  602. package/dist/esm/ix-blind.entry.js +5 -4
  603. package/dist/esm/ix-blind.entry.js.map +1 -1
  604. package/dist/esm/ix-breadcrumb_2.entry.js +100 -92
  605. package/dist/esm/ix-breadcrumb_2.entry.js.map +1 -1
  606. package/dist/esm/ix-burger-menu.entry.js +3 -3
  607. package/dist/esm/ix-burger-menu.entry.js.map +1 -1
  608. package/dist/esm/ix-button.entry.js +22 -7
  609. package/dist/esm/ix-button.entry.js.map +1 -1
  610. package/dist/esm/ix-card-accordion_2.entry.js +2 -2
  611. package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
  612. package/dist/esm/ix-card-list.entry.js +2 -2
  613. package/dist/esm/ix-card-list.entry.js.map +1 -1
  614. package/dist/esm/ix-card_2.entry.js +3 -3
  615. package/dist/esm/ix-card_2.entry.js.map +1 -1
  616. package/dist/esm/ix-category-filter.entry.js +73 -40
  617. package/dist/esm/ix-category-filter.entry.js.map +1 -1
  618. package/dist/esm/ix-chip.entry.js +2 -2
  619. package/dist/esm/ix-chip.entry.js.map +1 -1
  620. package/dist/esm/ix-col.entry.js +73 -0
  621. package/dist/esm/ix-col.entry.js.map +1 -0
  622. package/dist/esm/ix-content-header.entry.js +1 -1
  623. package/dist/esm/ix-content.entry.js +28 -0
  624. package/dist/esm/ix-content.entry.js.map +1 -0
  625. package/dist/esm/ix-css-grid-item.entry.js +1 -1
  626. package/dist/esm/ix-css-grid-item.entry.js.map +1 -1
  627. package/dist/esm/ix-css-grid.entry.js +1 -1
  628. package/dist/esm/ix-css-grid.entry.js.map +1 -1
  629. package/dist/esm/ix-date-picker_2.entry.js +4 -4
  630. package/dist/esm/ix-date-picker_2.entry.js.map +1 -1
  631. package/dist/esm/ix-date-time-card.entry.js +2 -2
  632. package/dist/esm/ix-date-time-card.entry.js.map +1 -1
  633. package/dist/esm/ix-datetime-picker.entry.js +2 -2
  634. package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
  635. package/dist/esm/ix-divider.entry.js +1 -1
  636. package/dist/esm/ix-drawer.entry.js +2 -2
  637. package/dist/esm/ix-drawer.entry.js.map +1 -1
  638. package/dist/esm/ix-dropdown-button.entry.js +4 -3
  639. package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
  640. package/dist/esm/ix-dropdown-header.entry.js +2 -2
  641. package/dist/esm/ix-dropdown-header.entry.js.map +1 -1
  642. package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
  643. package/dist/esm/ix-dropdown_2.entry.js +5 -7
  644. package/dist/esm/ix-dropdown_2.entry.js.map +1 -1
  645. package/dist/esm/ix-empty-state.entry.js +2 -2
  646. package/dist/esm/ix-empty-state.entry.js.map +1 -1
  647. package/dist/esm/ix-event-list_2.entry.js +3 -3
  648. package/dist/esm/ix-event-list_2.entry.js.map +1 -1
  649. package/dist/esm/ix-expanding-search.entry.js +2 -2
  650. package/dist/esm/ix-expanding-search.entry.js.map +1 -1
  651. package/dist/esm/ix-filter-chip.entry.js +4 -3
  652. package/dist/esm/ix-filter-chip.entry.js.map +1 -1
  653. package/dist/esm/ix-flip-tile_2.entry.js +28 -18
  654. package/dist/esm/ix-flip-tile_2.entry.js.map +1 -1
  655. package/dist/esm/ix-form-field.entry.js +23 -0
  656. package/dist/esm/ix-form-field.entry.js.map +1 -0
  657. package/dist/esm/ix-grid.entry.js +25 -0
  658. package/dist/esm/ix-grid.entry.js.map +1 -0
  659. package/dist/esm/ix-group-context-menu.entry.js +2 -2
  660. package/dist/esm/ix-group_2.entry.js +4 -4
  661. package/dist/esm/ix-group_2.entry.js.map +1 -1
  662. package/dist/esm/ix-icon-button.entry.js +21 -13
  663. package/dist/esm/ix-icon-button.entry.js.map +1 -1
  664. package/dist/esm/ix-icon-toggle-button.entry.js +84 -0
  665. package/dist/esm/ix-icon-toggle-button.entry.js.map +1 -0
  666. package/dist/esm/ix-icon.entry.js +2 -2
  667. package/dist/esm/ix-input-group.entry.js +85 -18
  668. package/dist/esm/ix-input-group.entry.js.map +1 -1
  669. package/dist/esm/ix-key-value-list.entry.js +1 -1
  670. package/dist/esm/ix-key-value.entry.js +1 -1
  671. package/dist/esm/ix-kpi.entry.js +2 -2
  672. package/dist/esm/ix-kpi.entry.js.map +1 -1
  673. package/dist/esm/ix-link-button.entry.js +2 -2
  674. package/dist/esm/ix-link-button.entry.js.map +1 -1
  675. package/dist/esm/ix-map-navigation_2.entry.js +11 -3
  676. package/dist/esm/ix-map-navigation_2.entry.js.map +1 -1
  677. package/dist/esm/ix-menu-category.entry.js +6 -5
  678. package/dist/esm/ix-menu-category.entry.js.map +1 -1
  679. package/dist/esm/ix-menu_9.entry.js +101 -75
  680. package/dist/esm/ix-menu_9.entry.js.map +1 -1
  681. package/dist/esm/ix-message-bar.entry.js +2 -2
  682. package/dist/esm/ix-message-bar.entry.js.map +1 -1
  683. package/dist/esm/ix-modal-content.entry.js +2 -2
  684. package/dist/esm/ix-modal-content.entry.js.map +1 -1
  685. package/dist/esm/ix-modal-example.entry.js +1 -1
  686. package/dist/esm/ix-modal-footer.entry.js +2 -2
  687. package/dist/esm/ix-modal-footer.entry.js.map +1 -1
  688. package/dist/esm/ix-modal-header.entry.js +2 -2
  689. package/dist/esm/ix-modal-header.entry.js.map +1 -1
  690. package/dist/esm/ix-modal-loading.entry.js +1 -1
  691. package/dist/esm/ix-modal.entry.js +2 -2
  692. package/dist/esm/ix-modal.entry.js.map +1 -1
  693. package/dist/esm/ix-pagination.entry.js +32 -15
  694. package/dist/esm/ix-pagination.entry.js.map +1 -1
  695. package/dist/esm/ix-pill.entry.js +2 -2
  696. package/dist/esm/ix-pill.entry.js.map +1 -1
  697. package/dist/esm/ix-push-card.entry.js +5 -2
  698. package/dist/esm/ix-push-card.entry.js.map +1 -1
  699. package/dist/esm/ix-row.entry.js +17 -0
  700. package/dist/esm/ix-row.entry.js.map +1 -0
  701. package/dist/esm/ix-select_2.entry.js +68 -49
  702. package/dist/esm/ix-select_2.entry.js.map +1 -1
  703. package/dist/esm/ix-spinner.entry.js +2 -2
  704. package/dist/esm/ix-spinner.entry.js.map +1 -1
  705. package/dist/esm/ix-split-button_2.entry.js +7 -5
  706. package/dist/esm/ix-split-button_2.entry.js.map +1 -1
  707. package/dist/esm/ix-tab-item.entry.js +11 -3
  708. package/dist/esm/ix-tab-item.entry.js.map +1 -1
  709. package/dist/esm/ix-tabs.entry.js +22 -7
  710. package/dist/esm/ix-tabs.entry.js.map +1 -1
  711. package/dist/esm/ix-tile.entry.js +2 -2
  712. package/dist/esm/ix-tile.entry.js.map +1 -1
  713. package/dist/esm/ix-toast_2.entry.js +2 -2
  714. package/dist/esm/ix-toast_2.entry.js.map +1 -1
  715. package/dist/esm/ix-toggle-button.entry.js +73 -0
  716. package/dist/esm/ix-toggle-button.entry.js.map +1 -0
  717. package/dist/esm/ix-toggle.entry.js +2 -2
  718. package/dist/esm/ix-toggle.entry.js.map +1 -1
  719. package/dist/esm/ix-tooltip.entry.js +2 -2
  720. package/dist/esm/ix-tree_2.entry.js +16 -9
  721. package/dist/esm/ix-tree_2.entry.js.map +1 -1
  722. package/dist/esm/ix-typography.entry.js +25 -12
  723. package/dist/esm/ix-typography.entry.js.map +1 -1
  724. package/dist/esm/ix-upload.entry.js +2 -2
  725. package/dist/esm/ix-upload.entry.js.map +1 -1
  726. package/dist/esm/ix-validation-tooltip.entry.js +8 -8
  727. package/dist/esm/ix-validation-tooltip.entry.js.map +1 -1
  728. package/dist/esm/ix-workflow-step_2.entry.js +14 -18
  729. package/dist/esm/ix-workflow-step_2.entry.js.map +1 -1
  730. package/dist/esm/loader.js +3 -3
  731. package/dist/esm/menu-service-12a09006.js +156 -0
  732. package/dist/esm/menu-service-12a09006.js.map +1 -0
  733. package/dist/esm/my-component.entry.js +1 -1
  734. package/dist/esm/my-component.entry.js.map +1 -1
  735. package/dist/esm/shadow-dom-b9df3d9b.js +21 -0
  736. package/dist/esm/shadow-dom-b9df3d9b.js.map +1 -0
  737. package/dist/esm/siemens-ix.js +3 -3
  738. package/dist/esm/{theme-switcher-7498e4f2.js → theme-switcher-9ede3823.js} +36 -4
  739. package/dist/esm/theme-switcher-9ede3823.js.map +1 -0
  740. package/dist/siemens-ix/index.esm.js +1 -1
  741. package/dist/siemens-ix/index.esm.js.map +1 -1
  742. package/dist/siemens-ix/p-00616f87.entry.js +2 -0
  743. package/dist/siemens-ix/{p-8c14a4a3.entry.js.map → p-00616f87.entry.js.map} +1 -1
  744. package/dist/siemens-ix/p-00df4a8c.js +2 -0
  745. package/dist/siemens-ix/p-00df4a8c.js.map +1 -0
  746. package/dist/siemens-ix/p-04eeba9e.js +2 -0
  747. package/dist/siemens-ix/p-04eeba9e.js.map +1 -0
  748. package/dist/siemens-ix/{p-b89172b4.entry.js → p-0e2045b9.entry.js} +2 -2
  749. package/dist/siemens-ix/p-0e2045b9.entry.js.map +1 -0
  750. package/dist/siemens-ix/p-134b6bd5.js +2 -0
  751. package/dist/siemens-ix/p-134b6bd5.js.map +1 -0
  752. package/dist/siemens-ix/p-14621fbd.entry.js +2 -0
  753. package/dist/siemens-ix/p-14621fbd.entry.js.map +1 -0
  754. package/dist/siemens-ix/p-1b705d7b.js +2 -0
  755. package/dist/siemens-ix/p-1b705d7b.js.map +1 -0
  756. package/dist/siemens-ix/p-1b9b19e6.js +2 -0
  757. package/dist/siemens-ix/p-1b9b19e6.js.map +1 -0
  758. package/dist/siemens-ix/p-1fc8e513.entry.js +2 -0
  759. package/dist/siemens-ix/p-1fc8e513.entry.js.map +1 -0
  760. package/dist/siemens-ix/{p-157f7ec0.entry.js → p-26855b3f.entry.js} +2 -2
  761. package/dist/siemens-ix/p-281fa225.entry.js +2 -0
  762. package/dist/siemens-ix/{p-33670e98.entry.js.map → p-281fa225.entry.js.map} +1 -1
  763. package/dist/siemens-ix/p-2a29e187.entry.js +2 -0
  764. package/dist/siemens-ix/{p-5fedb19b.entry.js.map → p-2a29e187.entry.js.map} +1 -1
  765. package/dist/siemens-ix/p-36c48f12.entry.js +2 -0
  766. package/dist/siemens-ix/p-36c48f12.entry.js.map +1 -0
  767. package/dist/siemens-ix/p-36f0b470.entry.js +2 -0
  768. package/dist/siemens-ix/p-36f0b470.entry.js.map +1 -0
  769. package/dist/siemens-ix/p-37dd62fc.entry.js +2 -0
  770. package/dist/siemens-ix/p-37dd62fc.entry.js.map +1 -0
  771. package/dist/siemens-ix/{p-0e86b47b.entry.js → p-3983ee89.entry.js} +2 -2
  772. package/dist/siemens-ix/p-3dbeeecf.entry.js +2 -0
  773. package/dist/siemens-ix/p-3dbeeecf.entry.js.map +1 -0
  774. package/dist/siemens-ix/p-3eabf464.entry.js +2 -0
  775. package/dist/siemens-ix/p-3eabf464.entry.js.map +1 -0
  776. package/dist/siemens-ix/p-40ecc8be.entry.js +2 -0
  777. package/dist/siemens-ix/p-40ecc8be.entry.js.map +1 -0
  778. package/dist/siemens-ix/{p-918450cd.entry.js → p-43497703.entry.js} +2 -2
  779. package/dist/siemens-ix/p-43497703.entry.js.map +1 -0
  780. package/dist/siemens-ix/{p-0fab8cae.entry.js → p-4659c550.entry.js} +2 -2
  781. package/dist/siemens-ix/p-475d8732.entry.js +2 -0
  782. package/dist/siemens-ix/p-475d8732.entry.js.map +1 -0
  783. package/dist/siemens-ix/p-49b9f9f5.entry.js +2 -0
  784. package/dist/siemens-ix/{p-c0345859.entry.js.map → p-49b9f9f5.entry.js.map} +1 -1
  785. package/dist/siemens-ix/{p-02f01e39.entry.js → p-4dbae019.entry.js} +2 -2
  786. package/dist/siemens-ix/p-4f8954a7.entry.js +2 -0
  787. package/dist/siemens-ix/p-4f8954a7.entry.js.map +1 -0
  788. package/dist/siemens-ix/p-5017cf39.entry.js +2 -0
  789. package/dist/siemens-ix/p-5017cf39.entry.js.map +1 -0
  790. package/dist/siemens-ix/p-5029fd0f.entry.js +2 -0
  791. package/dist/siemens-ix/p-5029fd0f.entry.js.map +1 -0
  792. package/dist/siemens-ix/p-553ebcb1.entry.js +2 -0
  793. package/dist/siemens-ix/{p-b6d52b6f.entry.js.map → p-553ebcb1.entry.js.map} +1 -1
  794. package/dist/siemens-ix/p-5650383d.entry.js +2 -0
  795. package/dist/siemens-ix/p-5650383d.entry.js.map +1 -0
  796. package/dist/siemens-ix/p-567f71a2.entry.js +2 -0
  797. package/dist/siemens-ix/p-567f71a2.entry.js.map +1 -0
  798. package/dist/siemens-ix/p-5d132cc5.entry.js +2 -0
  799. package/dist/siemens-ix/p-5d132cc5.entry.js.map +1 -0
  800. package/dist/siemens-ix/p-5e3f8c0b.entry.js +2 -0
  801. package/dist/siemens-ix/p-5e3f8c0b.entry.js.map +1 -0
  802. package/dist/siemens-ix/p-61ffc6e1.entry.js +2 -0
  803. package/dist/siemens-ix/p-61ffc6e1.entry.js.map +1 -0
  804. package/dist/siemens-ix/p-655d177c.entry.js +2 -0
  805. package/dist/siemens-ix/p-655d177c.entry.js.map +1 -0
  806. package/dist/siemens-ix/p-737fca1b.entry.js +2 -0
  807. package/dist/siemens-ix/{p-1b1bc523.entry.js.map → p-737fca1b.entry.js.map} +1 -1
  808. package/dist/siemens-ix/p-76a509c7.js +3 -0
  809. package/dist/siemens-ix/p-76a509c7.js.map +1 -0
  810. package/dist/siemens-ix/{p-4d194d55.entry.js → p-7918fd50.entry.js} +2 -2
  811. package/dist/siemens-ix/p-7918fd50.entry.js.map +1 -0
  812. package/dist/siemens-ix/p-7a884056.entry.js +2 -0
  813. package/dist/siemens-ix/{p-c4ea8815.entry.js.map → p-7a884056.entry.js.map} +1 -1
  814. package/dist/siemens-ix/p-7b536489.entry.js +2 -0
  815. package/dist/siemens-ix/p-7b536489.entry.js.map +1 -0
  816. package/dist/siemens-ix/p-85f39bd4.js +2 -0
  817. package/dist/siemens-ix/p-85f39bd4.js.map +1 -0
  818. package/dist/siemens-ix/{p-db74796e.js → p-8c7d1e06.js} +2 -2
  819. package/dist/siemens-ix/p-8e39298f.js +2 -0
  820. package/dist/siemens-ix/p-8e39298f.js.map +1 -0
  821. package/dist/siemens-ix/p-94ecb1af.entry.js +2 -0
  822. package/dist/siemens-ix/p-94ecb1af.entry.js.map +1 -0
  823. package/dist/siemens-ix/p-9848e4de.entry.js +2 -0
  824. package/dist/siemens-ix/p-9848e4de.entry.js.map +1 -0
  825. package/dist/siemens-ix/p-98b03a9b.entry.js +2 -0
  826. package/dist/siemens-ix/p-98b03a9b.entry.js.map +1 -0
  827. package/dist/siemens-ix/p-9a05ac00.js +2 -0
  828. package/dist/siemens-ix/p-9a05ac00.js.map +1 -0
  829. package/dist/siemens-ix/p-9b6075de.entry.js +2 -0
  830. package/dist/siemens-ix/p-9b6075de.entry.js.map +1 -0
  831. package/dist/siemens-ix/p-a0fdaa04.entry.js +2 -0
  832. package/dist/siemens-ix/p-a18f1744.entry.js +2 -0
  833. package/dist/siemens-ix/p-a18f1744.entry.js.map +1 -0
  834. package/dist/siemens-ix/p-a3d6abfb.entry.js +2 -0
  835. package/dist/siemens-ix/p-a3d6abfb.entry.js.map +1 -0
  836. package/dist/siemens-ix/p-a5ae7bfa.entry.js +2 -0
  837. package/dist/siemens-ix/p-a5ae7bfa.entry.js.map +1 -0
  838. package/dist/siemens-ix/p-a6345f97.entry.js +2 -0
  839. package/dist/siemens-ix/p-a6345f97.entry.js.map +1 -0
  840. package/dist/siemens-ix/p-a8424ce3.entry.js +2 -0
  841. package/dist/siemens-ix/p-a8424ce3.entry.js.map +1 -0
  842. package/dist/siemens-ix/p-a85299c6.entry.js +2 -0
  843. package/dist/siemens-ix/p-a85299c6.entry.js.map +1 -0
  844. package/dist/siemens-ix/p-ab452b82.js +2 -0
  845. package/dist/siemens-ix/p-ab452b82.js.map +1 -0
  846. package/dist/siemens-ix/p-ab4bdb4e.entry.js +2 -0
  847. package/dist/siemens-ix/p-ab4bdb4e.entry.js.map +1 -0
  848. package/dist/siemens-ix/p-ac00ae47.entry.js +2 -0
  849. package/dist/siemens-ix/p-ac00ae47.entry.js.map +1 -0
  850. package/dist/siemens-ix/p-b007e4b4.entry.js +2 -0
  851. package/dist/siemens-ix/{p-b21bc31c.entry.js.map → p-b007e4b4.entry.js.map} +1 -1
  852. package/dist/siemens-ix/p-b0a1930d.entry.js +2 -0
  853. package/dist/siemens-ix/p-b0a1930d.entry.js.map +1 -0
  854. package/dist/siemens-ix/{p-34807901.entry.js → p-b25c770f.entry.js} +2 -2
  855. package/dist/siemens-ix/{p-34807901.entry.js.map → p-b25c770f.entry.js.map} +1 -1
  856. package/dist/siemens-ix/{p-f38e7420.entry.js → p-b38eff08.entry.js} +2 -2
  857. package/dist/siemens-ix/p-b45ca515.entry.js +2 -0
  858. package/dist/siemens-ix/p-b45ca515.entry.js.map +1 -0
  859. package/dist/siemens-ix/{p-f0219d7a.entry.js → p-b735ee5e.entry.js} +2 -2
  860. package/dist/siemens-ix/p-c1ac2d01.entry.js +2 -0
  861. package/dist/siemens-ix/{p-06603826.entry.js.map → p-c1ac2d01.entry.js.map} +1 -1
  862. package/dist/siemens-ix/p-c1f5a59a.entry.js +2 -0
  863. package/dist/siemens-ix/p-c1f5a59a.entry.js.map +1 -0
  864. package/dist/siemens-ix/p-c75264af.entry.js +2 -0
  865. package/dist/siemens-ix/p-c75264af.entry.js.map +1 -0
  866. package/dist/siemens-ix/p-cd0e77f1.entry.js +2 -0
  867. package/dist/siemens-ix/{p-9547706d.entry.js.map → p-cd0e77f1.entry.js.map} +1 -1
  868. package/dist/siemens-ix/{p-d48d74af.entry.js → p-cd1e0061.entry.js} +2 -2
  869. package/dist/siemens-ix/p-ce0a7c1a.entry.js +2 -0
  870. package/dist/siemens-ix/{p-07a0b330.entry.js.map → p-ce0a7c1a.entry.js.map} +1 -1
  871. package/dist/siemens-ix/p-d214f57a.entry.js +2 -0
  872. package/dist/siemens-ix/{p-a9619a92.entry.js.map → p-d214f57a.entry.js.map} +1 -1
  873. package/dist/siemens-ix/p-d29bcf75.entry.js +2 -0
  874. package/dist/siemens-ix/p-d29bcf75.entry.js.map +1 -0
  875. package/dist/siemens-ix/{p-0dea55bf.entry.js → p-d87de06f.entry.js} +2 -2
  876. package/dist/siemens-ix/{p-d7e8417d.entry.js → p-da133606.entry.js} +2 -2
  877. package/dist/siemens-ix/p-da133606.entry.js.map +1 -0
  878. package/dist/siemens-ix/p-db174600.entry.js +2 -0
  879. package/dist/siemens-ix/p-db2f237f.entry.js +2 -0
  880. package/dist/siemens-ix/p-db2f237f.entry.js.map +1 -0
  881. package/dist/siemens-ix/p-dc77f962.entry.js +2 -0
  882. package/dist/siemens-ix/{p-d81d0f62.entry.js.map → p-dc77f962.entry.js.map} +1 -1
  883. package/dist/siemens-ix/{p-81333042.entry.js → p-de013166.entry.js} +2 -2
  884. package/dist/siemens-ix/p-de013166.entry.js.map +1 -0
  885. package/dist/siemens-ix/p-e2c200f3.entry.js +2 -0
  886. package/dist/siemens-ix/{p-2ea3d53a.entry.js.map → p-e2c200f3.entry.js.map} +1 -1
  887. package/dist/siemens-ix/p-e610b2b8.entry.js +2 -0
  888. package/dist/siemens-ix/{p-e8f2e141.entry.js.map → p-e610b2b8.entry.js.map} +1 -1
  889. package/dist/siemens-ix/p-eb29049a.entry.js +2 -0
  890. package/dist/siemens-ix/p-eb29049a.entry.js.map +1 -0
  891. package/dist/siemens-ix/p-eb3f1ef6.entry.js +2 -0
  892. package/dist/siemens-ix/p-eb3f1ef6.entry.js.map +1 -0
  893. package/dist/siemens-ix/p-ebeef6fd.entry.js +2 -0
  894. package/dist/siemens-ix/p-ebeef6fd.entry.js.map +1 -0
  895. package/dist/siemens-ix/p-f71da594.entry.js +2 -0
  896. package/dist/siemens-ix/{p-7d2aec76.entry.js.map → p-f71da594.entry.js.map} +1 -1
  897. package/dist/siemens-ix/{p-20aa7350.entry.js → p-f88b25d7.entry.js} +2 -2
  898. package/dist/siemens-ix/p-f9b004ba.entry.js +2 -0
  899. package/dist/siemens-ix/{p-bf019e35.entry.js.map → p-f9b004ba.entry.js.map} +1 -1
  900. package/dist/siemens-ix/p-f9d4ca13.entry.js +2 -0
  901. package/dist/siemens-ix/p-f9d4ca13.entry.js.map +1 -0
  902. package/dist/siemens-ix/p-feb80449.entry.js +2 -0
  903. package/dist/siemens-ix/{p-a64d88de.entry.js.map → p-feb80449.entry.js.map} +1 -1
  904. package/dist/siemens-ix/siemens-ix-core.css +1 -12289
  905. package/dist/siemens-ix/siemens-ix.css +8249 -11730
  906. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  907. package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
  908. package/dist/siemens-ix/theme/classic-dark.css +1 -1062
  909. package/dist/siemens-ix/theme/classic-light.css +1 -1062
  910. package/dist/siemens-ix/theme/legacy-classic-dark.css +1 -1061
  911. package/dist/siemens-ix/theme/legacy-classic-light.css +1 -1061
  912. package/dist/types/components/application/application.d.ts +36 -0
  913. package/dist/types/components/application-header/application-header.d.ts +2 -5
  914. package/dist/types/components/application-header/test/application-headet.ct.d.ts +1 -0
  915. package/dist/types/components/application-sidebar/application-sidebar.d.ts +7 -0
  916. package/dist/types/components/application-sidebar/events.d.ts +4 -0
  917. package/dist/types/components/basic-navigation/basic-navigation.d.ts +14 -2
  918. package/dist/types/components/blind/blind.d.ts +5 -0
  919. package/dist/types/components/breadcrumb/breadcrumb.d.ts +15 -14
  920. package/dist/types/components/breadcrumb/test/breadcrumb.ct.d.ts +1 -0
  921. package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +15 -0
  922. package/dist/types/components/button/base-button.d.ts +25 -0
  923. package/dist/types/components/button/button.d.ts +4 -10
  924. package/dist/types/components/category-filter/category-filter.d.ts +12 -5
  925. package/dist/types/components/col/col.d.ts +31 -0
  926. package/dist/types/components/content/content.d.ts +7 -0
  927. package/dist/types/components/dropdown-button/dropdown-button.d.ts +7 -0
  928. package/dist/types/components/filter-chip/filter-chip.d.ts +5 -0
  929. package/dist/types/components/flip-tile/flip-tile.d.ts +9 -11
  930. package/dist/types/components/flip-tile/test/flip-tile.ct.d.ts +1 -0
  931. package/dist/types/components/flip-tile-content/flip-tile-content.d.ts +6 -0
  932. package/dist/types/components/form-field/form-field.d.ts +10 -0
  933. package/dist/types/components/grid/grid.d.ts +18 -0
  934. package/dist/types/components/icon-button/base-icon-button.d.ts +2 -0
  935. package/dist/types/components/icon-button/icon-button.d.ts +2 -13
  936. package/dist/types/components/icon-toggle-button/icon-toggle-button.d.ts +54 -0
  937. package/dist/types/components/input-group/input-group.d.ts +11 -1
  938. package/dist/types/components/map-navigation/map-navigation.d.ts +1 -0
  939. package/dist/types/components/menu/menu.d.ts +9 -14
  940. package/dist/types/components/menu-item/menu-item.d.ts +2 -0
  941. package/dist/types/components/pagination/pagination.d.ts +1 -1
  942. package/dist/types/components/row/row.d.ts +6 -0
  943. package/dist/types/components/select/select.d.ts +23 -7
  944. package/dist/types/components/tab-item/tab-item.d.ts +10 -0
  945. package/dist/types/components/tabs/tabs.d.ts +8 -0
  946. package/dist/types/components/tabs/test/tabs.ct.d.ts +1 -0
  947. package/dist/types/components/toggle-button/toggle-button.d.ts +48 -0
  948. package/dist/types/components/tree/test/tree.ct.d.ts +1 -0
  949. package/dist/types/components/tree/tree.d.ts +2 -1
  950. package/dist/types/components/typography/typography.d.ts +24 -1
  951. package/dist/types/components/utils/application-layout/context.d.ts +6 -0
  952. package/dist/types/components/utils/application-layout/index.d.ts +1 -0
  953. package/dist/types/components/utils/application-layout/service.d.ts +16 -0
  954. package/dist/types/components/utils/breakpoints.d.ts +8 -0
  955. package/dist/types/components/utils/context.d.ts +57 -0
  956. package/dist/types/components/utils/shadow-dom.d.ts +1 -1
  957. package/dist/types/components/utils/theme-switcher.d.ts +10 -3
  958. package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +1 -1
  959. package/dist/types/components/workflow-step/workflow-step.d.ts +1 -2
  960. package/dist/types/components/workflow-steps/test/workflow-steps.ct.d.ts +1 -0
  961. package/dist/types/components/workflow-steps/workflow-steps.d.ts +0 -5
  962. package/dist/types/components.d.ts +556 -167
  963. package/package.json +7 -5
  964. package/scss/_core.scss +66 -0
  965. package/scss/components/_checkboxes.scss +9 -3
  966. package/scss/components/_fonts.scss +131 -0
  967. package/scss/components/_table.scss +1 -1
  968. package/scss/components/form/_input.scss +155 -0
  969. package/scss/ix-core.scss +2 -75
  970. package/scss/ix.scss +3 -74
  971. package/scss/{_fonts.scss → legacy/_fonts.scss} +1 -1
  972. package/scss/{components → legacy/components}/_buttons.scss +14 -12
  973. package/scss/{components → legacy/components}/_dropdown.scss +1 -1
  974. package/scss/{components → legacy/components}/_forms.scss +6 -1
  975. package/scss/{components → legacy/components}/_modal.scss +1 -1
  976. package/scss/legacy/mixins/_fonts.scss +166 -0
  977. package/scss/mixins/_break-points.scss +25 -0
  978. package/scss/mixins/_fonts.scss +149 -105
  979. package/scss/mixins/_hover.scss +3 -1
  980. package/scss/mixins/_scrollbar.scss +44 -0
  981. package/scss/mixins/shadow-dom/_component.scss +4 -0
  982. package/scss/theme/classic-dark/_boxShadow.scss +5 -5
  983. package/scss/theme/classic-dark/_fontFamilies.scss +2 -1
  984. package/scss/theme/classic-dark/_fontSizes.scss +11 -0
  985. package/scss/theme/classic-dark/_fontWeights.scss +2 -1
  986. package/scss/theme/classic-dark/_index.scss +7 -0
  987. package/scss/theme/classic-dark/_letterSpacing.scss +13 -0
  988. package/scss/theme/classic-dark/_lineHeights.scss +4 -1
  989. package/scss/theme/classic-dark/_sizing.scss +12 -0
  990. package/scss/theme/classic-dark/_spacing.scss +12 -0
  991. package/scss/theme/classic-dark/_typography.scss +39 -16
  992. package/scss/theme/classic-light/_boxShadow.scss +5 -5
  993. package/scss/theme/classic-light/_fontFamilies.scss +2 -1
  994. package/scss/theme/classic-light/_fontSizes.scss +11 -0
  995. package/scss/theme/classic-light/_fontWeights.scss +2 -1
  996. package/scss/theme/classic-light/_index.scss +7 -0
  997. package/scss/theme/classic-light/_letterSpacing.scss +13 -0
  998. package/scss/theme/classic-light/_lineHeights.scss +4 -1
  999. package/scss/theme/classic-light/_sizing.scss +12 -0
  1000. package/scss/theme/classic-light/_spacing.scss +12 -0
  1001. package/scss/theme/classic-light/_typography.scss +39 -16
  1002. package/scss/theme/legacy-classic-dark/_fontFamilies.scss +2 -1
  1003. package/scss/theme/legacy-classic-dark/_fontSizes.scss +11 -0
  1004. package/scss/theme/legacy-classic-dark/_fontWeights.scss +2 -1
  1005. package/scss/theme/legacy-classic-dark/_index.scss +7 -0
  1006. package/scss/theme/legacy-classic-dark/_letterSpacing.scss +13 -0
  1007. package/scss/theme/legacy-classic-dark/_lineHeights.scss +4 -1
  1008. package/scss/theme/legacy-classic-dark/_sizing.scss +12 -0
  1009. package/scss/theme/legacy-classic-dark/_spacing.scss +12 -0
  1010. package/scss/theme/legacy-classic-dark/_typography.scss +39 -16
  1011. package/scss/theme/legacy-classic-light/_fontFamilies.scss +2 -1
  1012. package/scss/theme/legacy-classic-light/_fontSizes.scss +11 -0
  1013. package/scss/theme/legacy-classic-light/_fontWeights.scss +2 -1
  1014. package/scss/theme/legacy-classic-light/_index.scss +7 -0
  1015. package/scss/theme/legacy-classic-light/_letterSpacing.scss +13 -0
  1016. package/scss/theme/legacy-classic-light/_lineHeights.scss +4 -1
  1017. package/scss/theme/legacy-classic-light/_sizing.scss +12 -0
  1018. package/scss/theme/legacy-classic-light/_spacing.scss +12 -0
  1019. package/scss/theme/legacy-classic-light/_typography.scss +39 -16
  1020. package/dist/cjs/base-button-497db257.js +0 -35
  1021. package/dist/cjs/base-button-497db257.js.map +0 -1
  1022. package/dist/cjs/context-2ce9a350.js +0 -26
  1023. package/dist/cjs/context-2ce9a350.js.map +0 -1
  1024. package/dist/cjs/floating-ui.dom.esm-b79b633f.js.map +0 -1
  1025. package/dist/cjs/index-e56a1d39.js.map +0 -1
  1026. package/dist/cjs/ix-animated-tab_2.cjs.entry.js +0 -214
  1027. package/dist/cjs/ix-animated-tab_2.cjs.entry.js.map +0 -1
  1028. package/dist/cjs/ix-index-button.cjs.entry.js +0 -28
  1029. package/dist/cjs/ix-index-button.cjs.entry.js.map +0 -1
  1030. package/dist/cjs/menu-service-d1b87142.js +0 -80
  1031. package/dist/cjs/menu-service-d1b87142.js.map +0 -1
  1032. package/dist/cjs/service-0e27b06b.js +0 -145
  1033. package/dist/cjs/service-0e27b06b.js.map +0 -1
  1034. package/dist/cjs/shadow-dom-f9b90696.js.map +0 -1
  1035. package/dist/cjs/theme-switcher-bdbd0d30.js.map +0 -1
  1036. package/dist/collection/components/animated-tab/animated-tab.js +0 -69
  1037. package/dist/collection/components/animated-tab/animated-tab.js.map +0 -1
  1038. package/dist/collection/components/animated-tabs/animated-tabs.css +0 -158
  1039. package/dist/collection/components/animated-tabs/animated-tabs.js +0 -303
  1040. package/dist/collection/components/animated-tabs/animated-tabs.js.map +0 -1
  1041. package/dist/collection/components/index-button/index-button.css +0 -31
  1042. package/dist/collection/components/index-button/index-button.js +0 -83
  1043. package/dist/collection/components/index-button/index-button.js.map +0 -1
  1044. package/dist/collection/components/layout/css-grid/builder.js.map +0 -1
  1045. package/dist/collection/components/layout/css-grid/css-grid-item.js.map +0 -1
  1046. package/dist/collection/components/layout/css-grid/css-grid.js.map +0 -1
  1047. package/dist/collection/components/utils/screen/context.js +0 -34
  1048. package/dist/collection/components/utils/screen/context.js.map +0 -1
  1049. package/dist/collection/components/utils/screen/index.js.map +0 -1
  1050. package/dist/collection/components/utils/screen/mode.js +0 -85
  1051. package/dist/collection/components/utils/screen/mode.js.map +0 -1
  1052. package/dist/collection/components/utils/screen/service.js +0 -68
  1053. package/dist/collection/components/utils/screen/service.js.map +0 -1
  1054. package/dist/components/index-button.js +0 -41
  1055. package/dist/components/index-button.js.map +0 -1
  1056. package/dist/components/ix-animated-tab.js +0 -39
  1057. package/dist/components/ix-animated-tab.js.map +0 -1
  1058. package/dist/components/ix-animated-tabs.js +0 -224
  1059. package/dist/components/ix-animated-tabs.js.map +0 -1
  1060. package/dist/components/ix-index-button.js +0 -8
  1061. package/dist/components/ix-index-button.js.map +0 -1
  1062. package/dist/components/service.js +0 -143
  1063. package/dist/components/service.js.map +0 -1
  1064. package/dist/esm/base-button-5bfeb71c.js +0 -33
  1065. package/dist/esm/base-button-5bfeb71c.js.map +0 -1
  1066. package/dist/esm/context-381170ae.js +0 -22
  1067. package/dist/esm/context-381170ae.js.map +0 -1
  1068. package/dist/esm/floating-ui.dom.esm-9b203a02.js.map +0 -1
  1069. package/dist/esm/index-7334ee80.js.map +0 -1
  1070. package/dist/esm/ix-animated-tab_2.entry.js +0 -209
  1071. package/dist/esm/ix-animated-tab_2.entry.js.map +0 -1
  1072. package/dist/esm/ix-index-button.entry.js +0 -24
  1073. package/dist/esm/ix-index-button.entry.js.map +0 -1
  1074. package/dist/esm/menu-service-b3076949.js +0 -78
  1075. package/dist/esm/menu-service-b3076949.js.map +0 -1
  1076. package/dist/esm/service-586129b5.js +0 -143
  1077. package/dist/esm/service-586129b5.js.map +0 -1
  1078. package/dist/esm/shadow-dom-6860b1c4.js.map +0 -1
  1079. package/dist/esm/theme-switcher-7498e4f2.js.map +0 -1
  1080. package/dist/siemens-ix/p-00f74fc9.entry.js +0 -2
  1081. package/dist/siemens-ix/p-00f74fc9.entry.js.map +0 -1
  1082. package/dist/siemens-ix/p-01c37ebe.entry.js +0 -2
  1083. package/dist/siemens-ix/p-01c37ebe.entry.js.map +0 -1
  1084. package/dist/siemens-ix/p-0574cf88.entry.js +0 -2
  1085. package/dist/siemens-ix/p-0574cf88.entry.js.map +0 -1
  1086. package/dist/siemens-ix/p-06603826.entry.js +0 -2
  1087. package/dist/siemens-ix/p-06fcaee3.entry.js +0 -2
  1088. package/dist/siemens-ix/p-06fcaee3.entry.js.map +0 -1
  1089. package/dist/siemens-ix/p-07a0b330.entry.js +0 -2
  1090. package/dist/siemens-ix/p-09ce5f12.entry.js +0 -2
  1091. package/dist/siemens-ix/p-09ce5f12.entry.js.map +0 -1
  1092. package/dist/siemens-ix/p-0c9ead45.entry.js +0 -2
  1093. package/dist/siemens-ix/p-0c9ead45.entry.js.map +0 -1
  1094. package/dist/siemens-ix/p-15996fa7.entry.js +0 -2
  1095. package/dist/siemens-ix/p-15996fa7.entry.js.map +0 -1
  1096. package/dist/siemens-ix/p-1b1bc523.entry.js +0 -2
  1097. package/dist/siemens-ix/p-2ea3d53a.entry.js +0 -2
  1098. package/dist/siemens-ix/p-303b8c2f.entry.js +0 -2
  1099. package/dist/siemens-ix/p-303b8c2f.entry.js.map +0 -1
  1100. package/dist/siemens-ix/p-323d5529.js +0 -2
  1101. package/dist/siemens-ix/p-323d5529.js.map +0 -1
  1102. package/dist/siemens-ix/p-33670e98.entry.js +0 -2
  1103. package/dist/siemens-ix/p-34633470.entry.js +0 -2
  1104. package/dist/siemens-ix/p-34633470.entry.js.map +0 -1
  1105. package/dist/siemens-ix/p-38e69215.entry.js +0 -2
  1106. package/dist/siemens-ix/p-38e69215.entry.js.map +0 -1
  1107. package/dist/siemens-ix/p-3a99b0c8.entry.js +0 -2
  1108. package/dist/siemens-ix/p-3a99b0c8.entry.js.map +0 -1
  1109. package/dist/siemens-ix/p-45738e84.js +0 -2
  1110. package/dist/siemens-ix/p-45738e84.js.map +0 -1
  1111. package/dist/siemens-ix/p-4d194d55.entry.js.map +0 -1
  1112. package/dist/siemens-ix/p-56a27b34.entry.js +0 -2
  1113. package/dist/siemens-ix/p-56a27b34.entry.js.map +0 -1
  1114. package/dist/siemens-ix/p-5b39e04e.js +0 -2
  1115. package/dist/siemens-ix/p-5b39e04e.js.map +0 -1
  1116. package/dist/siemens-ix/p-5fedb19b.entry.js +0 -2
  1117. package/dist/siemens-ix/p-627148db.entry.js +0 -2
  1118. package/dist/siemens-ix/p-627148db.entry.js.map +0 -1
  1119. package/dist/siemens-ix/p-62f4db99.entry.js +0 -2
  1120. package/dist/siemens-ix/p-62f4db99.entry.js.map +0 -1
  1121. package/dist/siemens-ix/p-63b82e40.entry.js +0 -2
  1122. package/dist/siemens-ix/p-63b82e40.entry.js.map +0 -1
  1123. package/dist/siemens-ix/p-68c44614.entry.js +0 -2
  1124. package/dist/siemens-ix/p-68c44614.entry.js.map +0 -1
  1125. package/dist/siemens-ix/p-7021c2d1.entry.js +0 -2
  1126. package/dist/siemens-ix/p-7021c2d1.entry.js.map +0 -1
  1127. package/dist/siemens-ix/p-709d38fe.entry.js +0 -2
  1128. package/dist/siemens-ix/p-709d38fe.entry.js.map +0 -1
  1129. package/dist/siemens-ix/p-785726e8.entry.js +0 -2
  1130. package/dist/siemens-ix/p-785726e8.entry.js.map +0 -1
  1131. package/dist/siemens-ix/p-7d2aec76.entry.js +0 -2
  1132. package/dist/siemens-ix/p-81333042.entry.js.map +0 -1
  1133. package/dist/siemens-ix/p-8c14a4a3.entry.js +0 -2
  1134. package/dist/siemens-ix/p-8ce73af1.entry.js +0 -2
  1135. package/dist/siemens-ix/p-8ce73af1.entry.js.map +0 -1
  1136. package/dist/siemens-ix/p-904aa275.entry.js +0 -2
  1137. package/dist/siemens-ix/p-904aa275.entry.js.map +0 -1
  1138. package/dist/siemens-ix/p-918450cd.entry.js.map +0 -1
  1139. package/dist/siemens-ix/p-9547706d.entry.js +0 -2
  1140. package/dist/siemens-ix/p-9903e755.entry.js +0 -2
  1141. package/dist/siemens-ix/p-9903e755.entry.js.map +0 -1
  1142. package/dist/siemens-ix/p-9d264ca8.entry.js +0 -2
  1143. package/dist/siemens-ix/p-9d264ca8.entry.js.map +0 -1
  1144. package/dist/siemens-ix/p-a64d88de.entry.js +0 -2
  1145. package/dist/siemens-ix/p-a8e8a942.entry.js +0 -2
  1146. package/dist/siemens-ix/p-a9619a92.entry.js +0 -2
  1147. package/dist/siemens-ix/p-b21bc31c.entry.js +0 -2
  1148. package/dist/siemens-ix/p-b6d52b6f.entry.js +0 -2
  1149. package/dist/siemens-ix/p-b89172b4.entry.js.map +0 -1
  1150. package/dist/siemens-ix/p-b899b25b.js +0 -3
  1151. package/dist/siemens-ix/p-b899b25b.js.map +0 -1
  1152. package/dist/siemens-ix/p-bf019e35.entry.js +0 -2
  1153. package/dist/siemens-ix/p-c0345859.entry.js +0 -2
  1154. package/dist/siemens-ix/p-c4ea8815.entry.js +0 -2
  1155. package/dist/siemens-ix/p-c84a43ef.entry.js +0 -2
  1156. package/dist/siemens-ix/p-c84a43ef.entry.js.map +0 -1
  1157. package/dist/siemens-ix/p-d0a8aa6f.entry.js +0 -2
  1158. package/dist/siemens-ix/p-d43bf856.js +0 -2
  1159. package/dist/siemens-ix/p-d43bf856.js.map +0 -1
  1160. package/dist/siemens-ix/p-d737ad96.js +0 -2
  1161. package/dist/siemens-ix/p-d737ad96.js.map +0 -1
  1162. package/dist/siemens-ix/p-d7e8417d.entry.js.map +0 -1
  1163. package/dist/siemens-ix/p-d81d0f62.entry.js +0 -2
  1164. package/dist/siemens-ix/p-d991a3d6.entry.js +0 -2
  1165. package/dist/siemens-ix/p-d991a3d6.entry.js.map +0 -1
  1166. package/dist/siemens-ix/p-dbca4dd5.entry.js +0 -2
  1167. package/dist/siemens-ix/p-dbca4dd5.entry.js.map +0 -1
  1168. package/dist/siemens-ix/p-e1c92dcb.entry.js +0 -2
  1169. package/dist/siemens-ix/p-e1c92dcb.entry.js.map +0 -1
  1170. package/dist/siemens-ix/p-e275814e.js +0 -2
  1171. package/dist/siemens-ix/p-e275814e.js.map +0 -1
  1172. package/dist/siemens-ix/p-e3db25ef.entry.js +0 -2
  1173. package/dist/siemens-ix/p-e3db25ef.entry.js.map +0 -1
  1174. package/dist/siemens-ix/p-e8f2e141.entry.js +0 -2
  1175. package/dist/siemens-ix/p-eca0b89c.entry.js +0 -2
  1176. package/dist/siemens-ix/p-eca0b89c.entry.js.map +0 -1
  1177. package/dist/siemens-ix/p-ef73f7e3.entry.js +0 -2
  1178. package/dist/siemens-ix/p-ef73f7e3.entry.js.map +0 -1
  1179. package/dist/siemens-ix/p-f22423c2.js +0 -2
  1180. package/dist/siemens-ix/p-f22423c2.js.map +0 -1
  1181. package/dist/siemens-ix/p-f4d634f5.entry.js +0 -2
  1182. package/dist/siemens-ix/p-f4d634f5.entry.js.map +0 -1
  1183. package/dist/siemens-ix/p-fafe1aeb.entry.js +0 -2
  1184. package/dist/siemens-ix/p-fafe1aeb.entry.js.map +0 -1
  1185. package/dist/siemens-ix/p-fe073f2a.entry.js +0 -2
  1186. package/dist/siemens-ix/p-fe073f2a.entry.js.map +0 -1
  1187. package/dist/siemens-ix/p-ff17104c.entry.js +0 -2
  1188. package/dist/siemens-ix/p-ff17104c.entry.js.map +0 -1
  1189. package/dist/types/components/animated-tab/animated-tab.d.ts +0 -11
  1190. package/dist/types/components/animated-tabs/animated-tabs.d.ts +0 -44
  1191. package/dist/types/components/index-button/index-button.d.ts +0 -16
  1192. package/dist/types/components/utils/screen/context.d.ts +0 -5
  1193. package/dist/types/components/utils/screen/index.d.ts +0 -1
  1194. package/dist/types/components/utils/screen/mode.d.ts +0 -13
  1195. package/dist/types/components/utils/screen/service.d.ts +0 -15
  1196. /package/dist/collection/components/{layout/css-grid → css-grid}/builder.js +0 -0
  1197. /package/dist/collection/components/{layout/css-grid → css-grid}/css-grid-item.css +0 -0
  1198. /package/dist/collection/components/{layout/css-grid → css-grid}/css-grid-item.js +0 -0
  1199. /package/dist/collection/components/{layout/css-grid → css-grid}/css-grid.css +0 -0
  1200. /package/dist/siemens-ix/{p-157f7ec0.entry.js.map → p-26855b3f.entry.js.map} +0 -0
  1201. /package/dist/siemens-ix/{p-0e86b47b.entry.js.map → p-3983ee89.entry.js.map} +0 -0
  1202. /package/dist/siemens-ix/{p-0fab8cae.entry.js.map → p-4659c550.entry.js.map} +0 -0
  1203. /package/dist/siemens-ix/{p-02f01e39.entry.js.map → p-4dbae019.entry.js.map} +0 -0
  1204. /package/dist/siemens-ix/{p-db74796e.js.map → p-8c7d1e06.js.map} +0 -0
  1205. /package/dist/siemens-ix/{p-a8e8a942.entry.js.map → p-a0fdaa04.entry.js.map} +0 -0
  1206. /package/dist/siemens-ix/{p-f38e7420.entry.js.map → p-b38eff08.entry.js.map} +0 -0
  1207. /package/dist/siemens-ix/{p-f0219d7a.entry.js.map → p-b735ee5e.entry.js.map} +0 -0
  1208. /package/dist/siemens-ix/{p-d48d74af.entry.js.map → p-cd1e0061.entry.js.map} +0 -0
  1209. /package/dist/siemens-ix/{p-0dea55bf.entry.js.map → p-d87de06f.entry.js.map} +0 -0
  1210. /package/dist/siemens-ix/{p-d0a8aa6f.entry.js.map → p-db174600.entry.js.map} +0 -0
  1211. /package/dist/siemens-ix/{p-20aa7350.entry.js.map → p-f88b25d7.entry.js.map} +0 -0
  1212. /package/dist/types/components/{layout/css-grid → css-grid}/builder.d.ts +0 -0
  1213. /package/dist/types/components/{layout/css-grid → css-grid}/css-grid-item.d.ts +0 -0
  1214. /package/dist/types/components/{layout/css-grid → css-grid}/css-grid.d.ts +0 -0
  1215. /package/scss/{components → legacy/components}/_button-group.scss +0 -0
@@ -7,16 +7,19 @@ import { d as defineCustomElement$3 } from './icon-button.js';
7
7
  import { d as defineCustomElement$2 } from './select-item.js';
8
8
  import { d as defineCustomElement$1 } from './spinner.js';
9
9
 
10
- const selectCss = ".sc-ix-select-h{display:inline-block;position:relative;height:auto;border-radius:var(--theme-input--border-radius)}.sc-ix-select-h .d-none.sc-ix-select{display:none}.sc-ix-select-h .select.sc-ix-select{position:relative;display:flex;align-items:center;height:auto;background-color:var(--theme-input--background);border:var(--theme-input--border-thickness) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);padding:0 0 0 0.5rem;box-shadow:var(--theme-inset-shadow-1) !important}.sc-ix-select-h .select.sc-ix-select:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-select-h .select.sc-ix-select:not(.disabled):not(:disabled):hover{background-color:var(--theme-input--background--hover);border-color:var(--theme-input--border-color--hover)}.sc-ix-select-h .select.sc-ix-select:focus-within{background-color:var(--theme-input--background--focus);border-color:var(--theme-input--border-color--focus);outline:1px solid #119fff !important;outline-offset:var(--theme-input--focus--outline-offset)}.sc-ix-select-h .select.readonly.sc-ix-select{box-shadow:none !important}.sc-ix-select-h .hidden.sc-ix-select{display:none !important}.sc-ix-select-h .trigger.sc-ix-select{display:flex;align-items:center;flex-grow:1;height:100%}.sc-ix-select-h .input-container.sc-ix-select{display:flex;position:relative;align-items:flex-start;width:100%}.sc-ix-select-h .input-container.sc-ix-select .chips.sc-ix-select{position:relative;display:flex;align-items:center;flex-wrap:wrap;height:100%;max-height:3.5rem;flex-grow:1;overflow-y:auto}.sc-ix-select-h .input-container.sc-ix-select .chips.sc-ix-select>ix-filter-chip.sc-ix-select{margin:0.1rem}.sc-ix-select-h .input-container.sc-ix-select input.sc-ix-select{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-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);background:transparent;height:1.75rem;width:100%}.sc-ix-select-h .input-container.sc-ix-select input.sc-ix-select,.sc-ix-select-h .input-container.sc-ix-select input.sc-ix-select:hover,.sc-ix-select-h .input-container.sc-ix-select input.sc-ix-select:focus-visible{border:none;outline:none}.sc-ix-select-h .input-container.sc-ix-select input.sc-ix-select::-moz-placeholder{color:var(--theme-input-select-icon--color)}.sc-ix-select-h .input-container.sc-ix-select input.sc-ix-select::placeholder{color:var(--theme-input-select-icon--color)}.sc-ix-select-h .input-container.sc-ix-select input.hide-placeholder.sc-ix-select::-moz-placeholder{opacity:0}.sc-ix-select-h .input-container.sc-ix-select input.hide-placeholder.sc-ix-select::placeholder{opacity:0}.sc-ix-select-h .chevron-down-container.sc-ix-select{display:flex;align-items:center;justify-content:center;width:2rem;min-width:2rem;height:2rem}.sc-ix-select-h .chevron-down-container.sc-ix-select:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-select-h .chevron-down-container.sc-ix-select:not(.disabled):not(:disabled):hover{color:var(--theme-color-dynamic--hover)}.sc-ix-select-h .chevron-down-container.sc-ix-select:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-select-h .chevron-down-container.sc-ix-select:not(.disabled):not(:disabled):active{color:var(--theme-color-dynamic--hover)}.sc-ix-select-h .editable.sc-ix-select .chevron-down-container.sc-ix-select:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-select-h .editable.sc-ix-select .chevron-down-container.sc-ix-select:not(.disabled):not(:disabled):hover{color:var(--theme-color-std-text);background-color:var(--theme-btn-invisible-secondary--background--hover)}.sc-ix-select-h .editable.sc-ix-select .chevron-down-container.sc-ix-select:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-select-h .editable.sc-ix-select .chevron-down-container.sc-ix-select:not(.disabled):not(:disabled):active{color:var(--theme-color-std-text);background-color:var(--theme-btn-invisible-secondary--background--active)}.sc-ix-select-h .add-item.sc-ix-select{display:flex;justify-content:flex-start;align-items:center;position:relative;width:100%}.sc-ix-select-h .select-list-header.sc-ix-select{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;height:2rem;color:var(--theme-select-list-item-hint--color);margin:0 0.5rem 0 1rem}";
10
+ const selectCss = ":host{display:inline-block;position:relative;height:auto;border-radius:var(--theme-input--border-radius)}: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 .d-none{display:none}:host .select{position:relative;display:flex;align-items:center;height:auto;background-color:var(--theme-input--background);border:var(--theme-input--border-thickness) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);padding:0 0 0 0.5rem;box-shadow:var(--theme-inset-shadow-1) !important}:host .select:not(.disabled):not(:disabled){cursor:pointer}:host .select:not(.disabled):not(:disabled):hover{background-color:var(--theme-input--background--hover);border-color:var(--theme-input--border-color--hover)}:host .select:focus-within{background-color:var(--theme-input--background--focus);border-color:var(--theme-input--border-color--focus);outline:1px solid #119fff;outline-offset:var(--theme-input--focus--outline-offset)}:host .select.readonly{box-shadow:none !important;border:none;border-radius:0px;border-bottom:var(--theme-input--border-thickness) solid var(--theme-color-weak-bdr)}:host .select.readonly,:host .select.readonly:hover,:host .select.readonly:active{background-color:transparent !important}:host .select.readonly:focus,:host .select.readonly:focus-within,:host .select.readonly:focus-visible{outline:none}:host .select.readonly input{color:var(--theme-color-weak-text)}:host .select.readonly input:focus,:host .select.readonly input:focus-visible{outline:none}:host .hidden{display:none !important}:host .trigger{display:flex;align-items:center;flex-grow:1;height:100%}:host .input-container{display:flex;position:relative;align-items:flex-start;width:100%}:host .input-container .chips{position:relative;display:flex;align-items:center;flex-wrap:wrap;height:100%;max-height:3.5rem;flex-grow:1;overflow-y:auto}:host .input-container .chips>ix-filter-chip{margin:0.1rem}:host .input-container input{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-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);background:transparent;height:1.75rem;width:100%}:host .input-container input,:host .input-container input:hover,:host .input-container input:focus-visible{border:none;outline:none}:host .input-container input::-moz-placeholder{color:var(--theme-input-select-icon--color)}:host .input-container input::placeholder{color:var(--theme-input-select-icon--color)}:host .input-container input.hide-placeholder::-moz-placeholder{opacity:0}:host .input-container input.hide-placeholder::placeholder{opacity:0}:host .chevron-down-container{display:flex;align-items:center;justify-content:center;width:2rem;min-width:2rem;height:2rem}:host .chevron-down-container:not(.disabled):not(:disabled){cursor:pointer}:host .chevron-down-container:not(.disabled):not(:disabled):hover{color:var(--theme-color-dynamic--hover)}:host .chevron-down-container:not(.disabled):not(:disabled){cursor:pointer}:host .chevron-down-container:not(.disabled):not(:disabled):active,:host .chevron-down-container:not(.disabled):not(:disabled).active{color:var(--theme-color-dynamic--hover)}:host .editable .chevron-down-container:not(.disabled):not(:disabled){cursor:pointer}:host .editable .chevron-down-container:not(.disabled):not(:disabled):hover{color:var(--theme-color-std-text);background-color:var(--theme-btn-invisible-secondary--background--hover)}:host .editable .chevron-down-container:not(.disabled):not(:disabled){cursor:pointer}:host .editable .chevron-down-container:not(.disabled):not(:disabled):active,:host .editable .chevron-down-container:not(.disabled):not(:disabled).active{color:var(--theme-color-std-text);background-color:var(--theme-btn-invisible-secondary--background--active)}:host .add-item{display:flex;justify-content:flex-start;align-items:center;position:relative;width:100%}:host .select-list-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;height:2rem;color:var(--theme-select-list-item-hint--color);margin:0 0.5rem 0 1rem}";
11
11
 
12
12
  const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement {
13
13
  constructor() {
14
14
  super();
15
15
  this.__registerHost();
16
+ this.__attachShadow();
17
+ this.valueChange = createEvent(this, "valueChange", 7);
16
18
  this.itemSelectionChange = createEvent(this, "itemSelectionChange", 7);
17
19
  this.inputChange = createEvent(this, "inputChange", 7);
18
20
  this.addItem = createEvent(this, "addItem", 7);
19
- this.selectedIndices = [];
21
+ this.selectedIndices = undefined;
22
+ this.value = undefined;
20
23
  this.allowClear = false;
21
24
  this.mode = 'single';
22
25
  this.editable = false;
@@ -28,7 +31,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
28
31
  this.i18nNoMatches = 'No matches';
29
32
  this.hideListHeader = false;
30
33
  this.dropdownShow = false;
31
- this.value = undefined;
34
+ this.selectedLabels = undefined;
32
35
  this.dropdownWrapperRef = undefined;
33
36
  this.dropdownAnchor = undefined;
34
37
  this.isDropdownEmpty = false;
@@ -55,35 +58,22 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
55
58
  get isEveryDropdownItemHidden() {
56
59
  return this.items.every((item) => item.classList.contains('d-none'));
57
60
  }
58
- watchSelectedIndices(newId) {
59
- if (!newId) {
60
- this.selectValue([]);
61
- return;
62
- }
63
- if (Array.isArray(newId)) {
64
- this.selectValue([...newId]);
65
- return;
66
- }
67
- this.selectValue([newId]);
61
+ watchSelectedIndices(value) {
62
+ this.value = value;
63
+ this.updateSelection();
64
+ }
65
+ watchValue(value) {
66
+ this.selectedIndices = value;
67
+ this.updateSelection();
68
68
  }
69
69
  onItemClicked(event) {
70
70
  const newId = event.detail;
71
- this.emitItemClick(newId);
71
+ this.itemClick(newId);
72
72
  }
73
- emitItemClick(newId) {
74
- if (this.isMultipleMode && Array.isArray(this.selectedIndices)) {
75
- if (this.selectedIndices.includes(newId)) {
76
- this.selectedIndices = this.selectedIndices.filter((i) => i !== newId);
77
- }
78
- else {
79
- this.selectedIndices = [...this.selectedIndices, newId];
80
- }
81
- }
82
- else {
83
- this.selectedIndices = [newId];
84
- }
85
- this.selectValue(this.selectedIndices);
86
- this.itemSelectionChange.emit(this.selectedIndices);
73
+ itemClick(newId) {
74
+ this.value = this.toggleValue(newId);
75
+ this.updateSelection();
76
+ this.emitValueChange();
87
77
  }
88
78
  emitAddItem(value) {
89
79
  if (value.trim() === '') {
@@ -94,39 +84,69 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
94
84
  newItem.label = value;
95
85
  this.addItemRef.appendChild(newItem);
96
86
  this.clearInput();
97
- this.emitItemClick(value);
87
+ this.itemClick(value);
98
88
  this.addItem.emit(value);
99
89
  }
100
- selectValue(ids) {
90
+ toggleValue(itemValue) {
91
+ if (!this.isMultipleMode) {
92
+ return itemValue;
93
+ }
94
+ if (!this.value) {
95
+ return [itemValue];
96
+ }
97
+ let value = this.value;
98
+ if (!Array.isArray(value)) {
99
+ value = [value];
100
+ }
101
+ if (value.includes(itemValue)) {
102
+ return value.filter((value) => value !== itemValue);
103
+ }
104
+ else {
105
+ return [...value, itemValue];
106
+ }
107
+ }
108
+ updateSelection() {
101
109
  var _a;
110
+ let ids = [];
111
+ if (this.value) {
112
+ ids = Array.isArray(this.value) ? [...this.value] : [this.value];
113
+ }
102
114
  this.items.forEach((item) => {
103
115
  item.selected = ids.some((i) => i === item.value);
104
116
  });
105
- this.value = this.selectedItems.map((item) => item.label);
117
+ this.selectedLabels = this.selectedItems.map((item) => item.label);
106
118
  if (this.isSingleMode) {
107
- this.inputValue = ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) ? this.value[0] : null;
119
+ this.inputValue = ((_a = this.selectedLabels) === null || _a === void 0 ? void 0 : _a.length)
120
+ ? this.selectedLabels[0]
121
+ : null;
108
122
  return;
109
123
  }
110
124
  this.inputValue = null;
111
125
  }
126
+ emitValueChange() {
127
+ this.valueChange.emit(this.value);
128
+ if (!this.value) {
129
+ this.itemSelectionChange.emit(null);
130
+ }
131
+ else {
132
+ this.itemSelectionChange.emit(Array.isArray(this.value) ? this.value : [this.value]);
133
+ }
134
+ }
112
135
  componentDidLoad() {
113
136
  this.inputRef.addEventListener('input', () => {
114
137
  this.inputChange.emit(this.inputRef.value);
115
138
  });
116
139
  }
117
140
  componentWillLoad() {
118
- if (this.selectedIndices) {
119
- this.selectValue(Array.isArray(this.selectedIndices)
120
- ? this.selectedIndices
121
- : [this.selectedIndices]);
141
+ if (this.selectedIndices && !this.value) {
142
+ this.value = this.selectedIndices;
122
143
  }
144
+ this.updateSelection();
123
145
  }
124
146
  onLabelChange(event) {
125
147
  event.preventDefault();
126
148
  event.stopImmediatePropagation();
127
- this.selectValue(Array.isArray(this.selectedIndices)
128
- ? this.selectedIndices
129
- : [this.selectedIndices]);
149
+ this.updateSelection();
130
150
  }
131
151
  disconnectedCallback() {
132
152
  if (this.labelMutationObserver) {
@@ -223,9 +243,9 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
223
243
  }
224
244
  clear() {
225
245
  this.clearInput();
246
+ this.selectedLabels = [];
226
247
  this.value = [];
227
- this.selectedIndices = [];
228
- this.itemSelectionChange.emit(null);
248
+ this.valueChange.emit(null);
229
249
  this.dropdownShow = false;
230
250
  }
231
251
  onInputBlur(e) {
@@ -238,7 +258,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
238
258
  }
239
259
  }
240
260
  if (!this.dropdownShow && this.mode !== 'multiple') {
241
- e.target['value'] = this.value;
261
+ e.target['value'] = this.selectedLabels;
242
262
  }
243
263
  }
244
264
  placeholderValue() {
@@ -258,7 +278,6 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
258
278
  render() {
259
279
  var _a, _b, _c;
260
280
  return (h(Host, null, h("div", { class: {
261
- 'form-control': true,
262
281
  select: true,
263
282
  focus: this.hasFocus,
264
283
  editable: this.editable,
@@ -272,12 +291,12 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
272
291
  ? (_a = this.selectedItems) === null || _a === void 0 ? void 0 : _a.map((item) => (h("ix-filter-chip", { disabled: this.disabled || this.readonly, key: item.value, onCloseClick: (e) => {
273
292
  e.preventDefault();
274
293
  e.stopPropagation();
275
- this.emitItemClick(item.value);
294
+ this.itemClick(item.value);
276
295
  } }, item.label)))
277
296
  : '', h("div", { class: "trigger" }, h("input", { "data-testid": "input", disabled: this.disabled, readOnly: this.readonly, type: "text", class: {
278
- 'allow-clear': this.allowClear && !!((_b = this.value) === null || _b === void 0 ? void 0 : _b.length),
297
+ 'allow-clear': this.allowClear && !!((_b = this.selectedLabels) === null || _b === void 0 ? void 0 : _b.length),
279
298
  }, placeholder: this.placeholderValue(), value: this.inputValue, ref: (ref) => (this.inputRef = ref), onBlur: (e) => this.onInputBlur(e), onInput: () => this.filterItemsWithTypeahead() }), this.allowClear &&
280
- (((_c = this.value) === null || _c === void 0 ? void 0 : _c.length) || this.inputFilterText) ? (h("ix-icon-button", { class: "clear", icon: "clear", ghost: true, oval: true, size: "16", onClick: (e) => {
299
+ (((_c = this.selectedLabels) === null || _c === void 0 ? void 0 : _c.length) || this.inputFilterText) ? (h("ix-icon-button", { class: "clear", icon: "clear", ghost: true, oval: true, size: "16", onClick: (e) => {
281
300
  e.preventDefault();
282
301
  e.stopPropagation();
283
302
  this.clear();
@@ -303,11 +322,13 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
303
322
  }
304
323
  get hostElement() { return this; }
305
324
  static get watchers() { return {
306
- "selectedIndices": ["watchSelectedIndices"]
325
+ "selectedIndices": ["watchSelectedIndices"],
326
+ "value": ["watchValue"]
307
327
  }; }
308
328
  static get style() { return selectCss; }
309
- }, [6, "ix-select", {
329
+ }, [1, "ix-select", {
310
330
  "selectedIndices": [1025, "selected-indices"],
331
+ "value": [1025],
311
332
  "allowClear": [4, "allow-clear"],
312
333
  "mode": [1],
313
334
  "editable": [4],
@@ -319,7 +340,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
319
340
  "i18nNoMatches": [1, "i-1-8n-no-matches"],
320
341
  "hideListHeader": [4, "hide-list-header"],
321
342
  "dropdownShow": [32],
322
- "value": [32],
343
+ "selectedLabels": [32],
323
344
  "dropdownWrapperRef": [32],
324
345
  "dropdownAnchor": [32],
325
346
  "isDropdownEmpty": [32],
@@ -1 +1 @@
1
- {"file":"select.js","mappings":";;;;;;;;;AAAA,MAAM,SAAS,GAAG,ixIAAixI;;MC4BtxI,MAAM;;;;;;;2BAO6C,EAAE;sBAK3C,KAAK;gBAKY,QAAQ;oBAK3B,KAAK;oBAKL,KAAK;oBAKL,KAAK;2BAKE,kBAAkB;mCAKV,uBAAuB;gCAK1B,yBAAyB;yBAOhC,YAAY;0BAQX,KAAK;wBAmBN,KAAK;;;;2BAIF,KAAK;oBACZ,KAAK;;;;;EAWzB,IAAI,KAAK;IACP,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC,CAAC;GACxE;EAED,IAAI,aAAa;IACf,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,QAAQ,CAAC,CAAC;GACnD;EAED,IAAI,aAAa;IACf,OAAO,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;GACpD;EAED,IAAI,YAAY;IACd,OAAO,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC;GAC/B;EAED,IAAI,cAAc;IAChB,OAAO,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC;GACjC;EAED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,IAAI,CAAC,kBAAkB,EAChC,aAAa,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,EACvD,SAAS,EAAC,cAAc,EACxB,sBAAsB,EAAE;QACtB,OAAO;UACL,QAAQ,EAAE,GAAG,IAAI,CAAC,WAAW,CAAC,WAAW,IAAI;SAC9C,CAAC;OACH,IAED,WACE,KAAK,EAAE;QACL,oBAAoB,EAAE,IAAI;QAC1B,MAAM,EAAE,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,eAAe;OACpD,EACD,KAAK,EAAE,IAAI,CAAC,oBAAoB,IAE/B,IAAI,CAAC,oBAAoB,CACtB,EACN,eAAa,EACb,WAAK,GAAG,EAAE,CAAC,GAAG,MAAM,IAAI,CAAC,UAAU,GAAG,GAAG,CAAC,EAAE,KAAK,EAAC,YAAY,GAAO,EACpE,IAAI,CAAC,gBAAgB,EAAE,IACtB,uCACc,UAAU,EACtB,IAAI,EAAC,MAAM,EACX,KAAK,EAAE;QACL,UAAU,EAAE,IAAI;OACjB,EACD,KAAK,EAAE,IAAI,CAAC,eAAe,EAC3B,WAAW,EAAE,CAAC,CAAC;QACb,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,CAAC,CAAC,eAAe,EAAE,CAAC;QACpB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;OACxC,GACiB,IAClB,IAAI,EACP,IAAI,CAAC,eAAe,IAAI,CAAC,IAAI,CAAC,QAAQ,IACrC,WAAK,KAAK,EAAC,oBAAoB,IAAE,IAAI,CAAC,aAAa,CAAO,KAE1D,EAAE,CACH,CACW,CACT,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/select/select.scss?tag=ix-select&encapsulation=scoped","./src/components/select/select.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/fonts';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n\n:host {\n display: inline-block;\n position: relative;\n height: auto;\n border-radius: var(--theme-input--border-radius);\n\n .d-none {\n display: none;\n }\n\n .select {\n position: relative;\n display: flex;\n align-items: center;\n height: auto;\n background-color: var(--theme-input--background);\n border: var(--theme-input--border-thickness) solid\n var(--theme-input--border-color);\n border-radius: var(--theme-input--border-radius);\n padding: 0 0 0 $small-space;\n box-shadow: var(--theme-inset-shadow-1) !important;\n\n @include hover {\n background-color: var(--theme-input--background--hover);\n border-color: var(--theme-input--border-color--hover);\n }\n\n &:focus-within {\n background-color: var(--theme-input--background--focus);\n border-color: var(--theme-input--border-color--focus);\n outline: 1px solid #119fff !important;\n outline-offset: var(--theme-input--focus--outline-offset);\n }\n }\n\n .select.readonly {\n box-shadow: none !important;\n }\n\n .hidden {\n display: none !important;\n }\n\n .trigger {\n display: flex;\n align-items: center;\n flex-grow: 1;\n height: 100%;\n }\n\n .input-container {\n display: flex;\n position: relative;\n align-items: flex-start;\n width: 100%;\n\n .chips {\n position: relative;\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n height: 100%;\n max-height: 3.5rem;\n flex-grow: 1;\n overflow-y: auto;\n\n > ix-filter-chip {\n margin: 0.1rem;\n }\n }\n\n input {\n @include ellipsis;\n @include text-default;\n background: transparent;\n height: 1.75rem;\n width: 100%;\n\n &,\n &:hover,\n &:focus-visible {\n border: none;\n outline: none;\n }\n\n &::placeholder {\n color: var(--theme-input-select-icon--color);\n }\n\n &.hide-placeholder::placeholder {\n opacity: 0;\n }\n }\n }\n\n .chevron-down-container {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n min-width: 2rem;\n height: 2rem;\n\n @include hover {\n color: var(--theme-color-dynamic--hover);\n }\n\n @include active {\n color: var(--theme-color-dynamic--hover);\n }\n }\n\n .editable {\n .chevron-down-container {\n @include hover {\n color: var(--theme-color-std-text);\n background-color: var(\n --theme-btn-invisible-secondary--background--hover\n );\n }\n\n @include active {\n color: var(--theme-color-std-text);\n background-color: var(\n --theme-btn-invisible-secondary--background--active\n );\n }\n }\n }\n\n .add-item {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n position: relative;\n width: 100%;\n }\n\n .select-list-header {\n @include ellipsis;\n display: flex;\n align-items: center;\n height: $default-control-height;\n color: var(--theme-select-list-item-hint--color);\n margin: 0 $small-space 0 1rem;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { IxSelectItemLabelChangeEvent } from '../select-item/events';\n\n@Component({\n tag: 'ix-select',\n styleUrl: 'select.scss',\n scoped: true,\n})\nexport class Select {\n @Element() hostElement!: HTMLIxSelectElement;\n\n /**\n * Indices of selected items\n * This corresponds to the value property of ix-select-items and therefor not necessarily the indices of the items in the list.\n */\n @Prop({ mutable: true }) selectedIndices: string | string[] = [];\n\n /**\n * Show clear button\n */\n @Prop() allowClear = false;\n\n /**\n * Selection mode\n */\n @Prop() mode: 'single' | 'multiple' = 'single';\n\n /**\n * Select is extendable\n */\n @Prop() editable = false;\n\n /**\n * If true the select will be in disabled state\n */\n @Prop() disabled = false;\n\n /**\n * If true the select will be in readonly mode\n */\n @Prop() readonly = false;\n\n /**\n * Input field placeholder\n */\n @Prop() i18nPlaceholder = 'Select an option';\n\n /**\n * Input field placeholder for editable select\n */\n @Prop() i18nPlaceholderEditable = 'Type of select option';\n\n /**\n * Select list header\n */\n @Prop() i18nSelectListHeader = 'Please select an option';\n\n /**\n * Hint inside of dropdown if no items where found with current filter text\n *\n * @since 1.5.0\n */\n @Prop() i18nNoMatches = 'No matches';\n\n /**\n * Hide list header\n *\n * @since 1.5.0\n @\n */\n @Prop() hideListHeader = false;\n\n /**\n * Item selection changed\n */\n @Event() itemSelectionChange: EventEmitter<string | string[]>;\n\n /**\n * Event dispatched whenever the text input changes.\n *\n * @since 2.0.0\n */\n @Event() inputChange: EventEmitter<string>;\n\n /**\n * Item added to selection\n */\n @Event() addItem: EventEmitter<string>;\n\n @State() dropdownShow = false;\n @State() value: string[];\n @State() dropdownWrapperRef!: HTMLElement;\n @State() dropdownAnchor!: HTMLElement;\n @State() isDropdownEmpty = false;\n @State() hasFocus = false;\n @State() navigationItem: HTMLIxSelectItemElement;\n @State() inputFilterText: string;\n @State() inputValue: string;\n\n private inputRef!: HTMLInputElement;\n private dropdownRef!: HTMLIxDropdownElement;\n private addItemRef!: HTMLDivElement;\n\n private labelMutationObserver: MutationObserver;\n\n get items() {\n return Array.from(this.hostElement.querySelectorAll('ix-select-item'));\n }\n\n get selectedItems() {\n return this.items.filter((item) => item.selected);\n }\n\n get addItemButton() {\n return this.hostElement.querySelector('.add-item');\n }\n\n get isSingleMode() {\n return this.mode === 'single';\n }\n\n get isMultipleMode() {\n return this.mode === 'multiple';\n }\n\n get isEveryDropdownItemHidden() {\n return this.items.every((item) => item.classList.contains('d-none'));\n }\n\n @Watch('selectedIndices')\n watchSelectedIndices(newId: string | string[]) {\n if (!newId) {\n this.selectValue([]);\n return;\n }\n\n if (Array.isArray(newId)) {\n this.selectValue([...newId]);\n return;\n }\n\n this.selectValue([newId]);\n }\n\n @Listen('itemClick')\n onItemClicked(event: CustomEvent<string>) {\n const newId = event.detail;\n this.emitItemClick(newId);\n }\n\n private emitItemClick(newId: string) {\n if (this.isMultipleMode && Array.isArray(this.selectedIndices)) {\n if (this.selectedIndices.includes(newId)) {\n this.selectedIndices = this.selectedIndices.filter((i) => i !== newId);\n } else {\n this.selectedIndices = [...this.selectedIndices, newId];\n }\n } else {\n this.selectedIndices = [newId];\n }\n\n this.selectValue(this.selectedIndices);\n this.itemSelectionChange.emit(this.selectedIndices);\n }\n\n private emitAddItem(value: string) {\n if (value.trim() === '') {\n return;\n }\n\n const newItem = document.createElement('ix-select-item');\n newItem.value = value;\n newItem.label = value;\n\n this.addItemRef.appendChild(newItem);\n\n this.clearInput();\n this.emitItemClick(value);\n this.addItem.emit(value);\n }\n\n private selectValue(ids: string[]) {\n this.items.forEach((item) => {\n item.selected = ids.some((i) => i === item.value);\n });\n\n this.value = this.selectedItems.map((item) => item.label);\n\n if (this.isSingleMode) {\n this.inputValue = this.value?.length ? this.value[0] : null;\n return;\n }\n\n this.inputValue = null;\n }\n\n componentDidLoad() {\n this.inputRef.addEventListener('input', () => {\n this.inputChange.emit(this.inputRef.value);\n });\n }\n\n componentWillLoad() {\n if (this.selectedIndices) {\n this.selectValue(\n Array.isArray(this.selectedIndices)\n ? this.selectedIndices\n : [this.selectedIndices]\n );\n }\n }\n\n @Listen('ix-select-item:labelChange')\n onLabelChange(event: IxSelectItemLabelChangeEvent) {\n event.preventDefault();\n event.stopImmediatePropagation();\n this.selectValue(\n Array.isArray(this.selectedIndices)\n ? this.selectedIndices\n : [this.selectedIndices]\n );\n }\n\n disconnectedCallback() {\n if (this.labelMutationObserver) {\n this.labelMutationObserver.disconnect();\n }\n }\n\n private itemExists(item: string) {\n return this.items.find((i) => i.label === item);\n }\n\n private dropdownVisibilityChanged(event: CustomEvent<boolean>) {\n this.dropdownShow = event.detail;\n this.hasFocus = event.detail;\n\n if (event.detail) {\n this.inputRef.focus();\n this.inputRef.select();\n\n this.removeHiddenFromItems();\n this.isDropdownEmpty = this.isEveryDropdownItemHidden;\n } else {\n this.navigationItem = undefined;\n }\n }\n\n @Listen('keydown', {\n target: 'window',\n })\n async onKeyDown(event: KeyboardEvent) {\n if (!this.dropdownShow) {\n return;\n }\n\n if (event.code === 'ArrowDown' || event.code === 'ArrowUp') {\n this.onArrowNavigation(event);\n }\n\n if (event.code === 'Enter' || event.code === 'NumpadEnter') {\n await this.onEnterNavigation();\n }\n\n if (event.code === 'Escape') {\n this.dropdownShow = false;\n }\n }\n\n private async onEnterNavigation() {\n if (this.isMultipleMode) {\n return;\n }\n\n if (this.editable && !this.itemExists(this.inputFilterText)) {\n this.emitAddItem(this.inputFilterText);\n this.navigationItem = this.items[this.items.length - 1];\n }\n\n this.navigationItem?.onItemClick();\n await this.dropdownRef?.updatePosition();\n\n if (this.isSingleMode && !this.editable) {\n this.dropdownShow = false;\n }\n }\n\n private onArrowNavigation(event: KeyboardEvent) {\n event.stopPropagation();\n event.preventDefault();\n\n const focusItem = this.items.find(\n (item) => document.activeElement === item.querySelector('button')\n );\n this.navigationItem = focusItem;\n\n const selectItems = this.items.filter(\n (i) => !i.classList.contains('d-none')\n );\n\n const index = selectItems.indexOf(this.navigationItem);\n\n if (event.code === 'ArrowDown' && index < selectItems.length - 1) {\n this.navigationItem = selectItems[index + 1];\n } else if (event.code === 'ArrowUp' && index > 0) {\n this.navigationItem = selectItems[index - 1];\n }\n\n this.setHoverEffectForNavigatedSelectItem();\n }\n\n private setHoverEffectForNavigatedSelectItem() {\n this.navigationItem?.querySelector('button').focus();\n }\n\n private filterItemsWithTypeahead() {\n this.inputFilterText = this.inputRef.value;\n\n if (this.inputFilterText) {\n this.items.forEach((item) => {\n item.classList.remove('d-none');\n if (\n !item.label.toLowerCase().includes(this.inputFilterText.toLowerCase())\n ) {\n item.classList.add('d-none');\n }\n });\n } else {\n this.removeHiddenFromItems();\n }\n\n this.isDropdownEmpty = this.isEveryDropdownItemHidden;\n }\n\n private removeHiddenFromItems() {\n this.items.forEach((item) => {\n item.classList.remove('d-none');\n });\n }\n\n private clearInput() {\n this.inputRef.value = '';\n this.inputFilterText = '';\n }\n\n private clear() {\n this.clearInput();\n this.value = [];\n this.selectedIndices = [];\n this.itemSelectionChange.emit(null);\n this.dropdownShow = false;\n }\n\n private onInputBlur(e) {\n if (this.editable) {\n return;\n }\n\n if (this.isSingleMode) {\n if (this.dropdownShow && this.isDropdownEmpty) {\n this.dropdownShow = false;\n }\n }\n\n if (!this.dropdownShow && this.mode !== 'multiple') {\n e.target['value'] = this.value;\n }\n }\n\n private placeholderValue() {\n if (this.editable) {\n return this.i18nPlaceholderEditable;\n }\n\n if (this.readonly) {\n return '';\n }\n\n return this.i18nPlaceholder;\n }\n\n private isAddItemVisible() {\n return (\n !this.itemExists(this.inputFilterText) &&\n this.editable &&\n this.inputFilterText\n );\n }\n\n render() {\n return (\n <Host>\n <div\n class={{\n 'form-control': true,\n select: true,\n focus: this.hasFocus,\n editable: this.editable,\n disabled: this.disabled,\n readonly: this.readonly,\n }}\n ref={(ref) => {\n this.dropdownAnchor = ref;\n if (!this.editable) this.dropdownWrapperRef = ref;\n }}\n >\n <div class=\"input-container\">\n <div class=\"chips\">\n {this.isMultipleMode\n ? this.selectedItems?.map((item) => (\n <ix-filter-chip\n disabled={this.disabled || this.readonly}\n key={item.value}\n onCloseClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n this.emitItemClick(item.value);\n }}\n >\n {item.label}\n </ix-filter-chip>\n ))\n : ''}\n <div class=\"trigger\">\n <input\n data-testid=\"input\"\n disabled={this.disabled}\n readOnly={this.readonly}\n type=\"text\"\n class={{\n 'allow-clear': this.allowClear && !!this.value?.length,\n }}\n placeholder={this.placeholderValue()}\n value={this.inputValue}\n ref={(ref) => (this.inputRef = ref)}\n onBlur={(e) => this.onInputBlur(e)}\n onInput={() => this.filterItemsWithTypeahead()}\n />\n {this.allowClear &&\n (this.value?.length || this.inputFilterText) ? (\n <ix-icon-button\n class=\"clear\"\n icon=\"clear\"\n ghost\n oval\n size=\"16\"\n onClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n this.clear();\n }}\n />\n ) : null}\n {this.disabled || this.readonly ? null : (\n <div\n class=\"chevron-down-container\"\n ref={(ref) => {\n if (this.editable) this.dropdownWrapperRef = ref;\n }}\n >\n <ix-icon class=\"chevron\" name=\"chevron-down-small\" />\n </div>\n )}\n </div>\n </div>\n </div>\n </div>\n <ix-dropdown\n ref={(ref) => (this.dropdownRef = ref)}\n show={this.dropdownShow}\n closeBehavior={this.isMultipleMode ? 'outside' : 'both'}\n class={{\n 'd-none': this.disabled || this.readonly,\n }}\n anchor={this.dropdownAnchor}\n trigger={this.dropdownWrapperRef}\n onShowChanged={(e) => this.dropdownVisibilityChanged(e)}\n placement=\"bottom-start\"\n overwriteDropdownStyle={async () => {\n return {\n minWidth: `${this.hostElement.clientWidth}px`,\n };\n }}\n >\n <div\n class={{\n 'select-list-header': true,\n hidden: this.hideListHeader || this.isDropdownEmpty,\n }}\n title={this.i18nSelectListHeader}\n >\n {this.i18nSelectListHeader}\n </div>\n <slot></slot>\n <div ref={(ref) => (this.addItemRef = ref)} class=\"d-contents\"></div>\n {this.isAddItemVisible() ? (\n <ix-dropdown-item\n data-testid=\"add-item\"\n icon=\"plus\"\n class={{\n 'add-item': true,\n }}\n label={this.inputFilterText}\n onItemClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n this.emitAddItem(this.inputFilterText);\n }}\n ></ix-dropdown-item>\n ) : null}\n {this.isDropdownEmpty && !this.editable ? (\n <div class=\"select-list-header\">{this.i18nNoMatches}</div>\n ) : (\n ''\n )}\n </ix-dropdown>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"select.js","mappings":";;;;;;;;;AAAA,MAAM,SAAS,GAAG,8mJAA8mJ;;MC4BnnJ,MAAM;;;;;;;;;;;sBAoBI,KAAK;gBAKY,QAAQ;oBAK3B,KAAK;oBAKL,KAAK;oBAKL,KAAK;2BAKE,kBAAkB;mCAKV,uBAAuB;gCAK1B,yBAAyB;yBAOhC,YAAY;0BAQX,KAAK;wBA0BN,KAAK;;;;2BAIF,KAAK;oBACZ,KAAK;;;;;EAWzB,IAAI,KAAK;IACP,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC,CAAC;GACxE;EAED,IAAI,aAAa;I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IAAI,CAAC,UAAU,GAAG,GAAG,CAAC,EAAE,KAAK,EAAC,YAAY,GAAO,EACpE,IAAI,CAAC,gBAAgB,EAAE,IACtB,uCACc,UAAU,EACtB,IAAI,EAAC,MAAM,EACX,KAAK,EAAE;QACL,UAAU,EAAE,IAAI;OACjB,EACD,KAAK,EAAE,IAAI,CAAC,eAAe,EAC3B,WAAW,EAAE,CAAC,CAAC;QACb,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,CAAC,CAAC,eAAe,EAAE,CAAC;QACpB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;OACxC,GACiB,IAClB,IAAI,EACP,IAAI,CAAC,eAAe,IAAI,CAAC,IAAI,CAAC,QAAQ,IACrC,WAAK,KAAK,EAAC,oBAAoB,IAAE,IAAI,CAAC,aAAa,CAAO,KAE1D,EAAE,CACH,CACW,CACT,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/select/select.scss?tag=ix-select&encapsulation=shadow","./src/components/select/select.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/mixins/fonts';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: inline-block;\n position: relative;\n height: auto;\n border-radius: var(--theme-input--border-radius);\n\n .d-none {\n display: none;\n }\n\n .select {\n position: relative;\n display: flex;\n align-items: center;\n height: auto;\n background-color: var(--theme-input--background);\n border: var(--theme-input--border-thickness) solid\n var(--theme-input--border-color);\n border-radius: var(--theme-input--border-radius);\n padding: 0 0 0 $small-space;\n box-shadow: var(--theme-inset-shadow-1) !important;\n\n @include hover {\n background-color: var(--theme-input--background--hover);\n border-color: var(--theme-input--border-color--hover);\n }\n\n &:focus-within {\n background-color: var(--theme-input--background--focus);\n border-color: var(--theme-input--border-color--focus);\n outline: 1px solid #119fff;\n outline-offset: var(--theme-input--focus--outline-offset);\n }\n }\n\n .select.readonly {\n box-shadow: none !important;\n border: none;\n border-radius: 0px;\n border-bottom: var(--theme-input--border-thickness) solid\n var(--theme-color-weak-bdr);\n\n &,\n &:hover,\n &:active {\n background-color: transparent !important;\n }\n\n &:focus,\n &:focus-within,\n &:focus-visible {\n outline: none;\n }\n\n input {\n color: var(--theme-color-weak-text);\n }\n\n input:focus,\n input:focus-visible {\n outline: none;\n }\n }\n\n .hidden {\n display: none !important;\n }\n\n .trigger {\n display: flex;\n align-items: center;\n flex-grow: 1;\n height: 100%;\n }\n\n .input-container {\n display: flex;\n position: relative;\n align-items: flex-start;\n width: 100%;\n\n .chips {\n position: relative;\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n height: 100%;\n max-height: 3.5rem;\n flex-grow: 1;\n overflow-y: auto;\n\n > ix-filter-chip {\n margin: 0.1rem;\n }\n }\n\n input {\n @include ellipsis;\n @include text-default;\n background: transparent;\n height: 1.75rem;\n width: 100%;\n\n &,\n &:hover,\n &:focus-visible {\n border: none;\n outline: none;\n }\n\n &::placeholder {\n color: var(--theme-input-select-icon--color);\n }\n\n &.hide-placeholder::placeholder {\n opacity: 0;\n }\n }\n }\n\n .chevron-down-container {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n min-width: 2rem;\n height: 2rem;\n\n @include hover {\n color: var(--theme-color-dynamic--hover);\n }\n\n @include active {\n color: var(--theme-color-dynamic--hover);\n }\n }\n\n .editable {\n .chevron-down-container {\n @include hover {\n color: var(--theme-color-std-text);\n background-color: var(\n --theme-btn-invisible-secondary--background--hover\n );\n }\n\n @include active {\n color: var(--theme-color-std-text);\n background-color: var(\n --theme-btn-invisible-secondary--background--active\n );\n }\n }\n }\n\n .add-item {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n position: relative;\n width: 100%;\n }\n\n .select-list-header {\n @include ellipsis;\n display: flex;\n align-items: center;\n height: $default-control-height;\n color: var(--theme-select-list-item-hint--color);\n margin: 0 $small-space 0 1rem;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { IxSelectItemLabelChangeEvent } from '../select-item/events';\n\n@Component({\n tag: 'ix-select',\n styleUrl: 'select.scss',\n shadow: true,\n})\nexport class Select {\n @Element() hostElement!: HTMLIxSelectElement;\n\n /**\n * Indices of selected items.\n * This corresponds to the value property of ix-select-items and therefor not necessarily the indices of the items in the list.\n * @deprecated since 2.0.0. Use the `value` property instead.\n */\n @Prop({ mutable: true }) selectedIndices?: string | string[];\n\n /**\n * Current selected value.\n * This corresponds to the value property of ix-select-items\n * @since 2.0.0\n */\n @Prop({ mutable: true }) value?: string | string[];\n\n /**\n * Show clear button\n */\n @Prop() allowClear = false;\n\n /**\n * Selection mode\n */\n @Prop() mode: 'single' | 'multiple' = 'single';\n\n /**\n * Select is extendable\n */\n @Prop() editable = false;\n\n /**\n * If true the select will be in disabled state\n */\n @Prop() disabled = false;\n\n /**\n * If true the select will be in readonly mode\n */\n @Prop() readonly = false;\n\n /**\n * Input field placeholder\n */\n @Prop() i18nPlaceholder = 'Select an option';\n\n /**\n * Input field placeholder for editable select\n */\n @Prop() i18nPlaceholderEditable = 'Type of select option';\n\n /**\n * Select list header\n */\n @Prop() i18nSelectListHeader = 'Please select an option';\n\n /**\n * Hint inside of dropdown if no items where found with current filter text\n *\n * @since 1.5.0\n */\n @Prop() i18nNoMatches = 'No matches';\n\n /**\n * Hide list header\n *\n * @since 1.5.0\n @\n */\n @Prop() hideListHeader = false;\n\n /**\n * Value changed\n * @since 2.0.0\n */\n @Event() valueChange: EventEmitter<string | string[]>;\n\n /**\n * Item selection changed\n * @deprecated since 2.0.0. Use `valueChange` instead.\n */\n @Event() itemSelectionChange: EventEmitter<string[]>;\n\n /**\n * Event dispatched whenever the text input changes.\n *\n * @since 2.0.0\n */\n @Event() inputChange: EventEmitter<string>;\n\n /**\n * Item added to selection\n */\n @Event() addItem: EventEmitter<string>;\n\n @State() dropdownShow = false;\n @State() selectedLabels: string[];\n @State() dropdownWrapperRef!: HTMLElement;\n @State() dropdownAnchor!: HTMLElement;\n @State() isDropdownEmpty = false;\n @State() hasFocus = false;\n @State() navigationItem: HTMLIxSelectItemElement;\n @State() inputFilterText: string;\n @State() inputValue: string;\n\n private inputRef!: HTMLInputElement;\n private dropdownRef!: HTMLIxDropdownElement;\n private addItemRef!: HTMLDivElement;\n\n private labelMutationObserver: MutationObserver;\n\n get items() {\n return Array.from(this.hostElement.querySelectorAll('ix-select-item'));\n }\n\n get selectedItems() {\n return this.items.filter((item) => item.selected);\n }\n\n get addItemButton() {\n return this.hostElement.querySelector('.add-item');\n }\n\n get isSingleMode() {\n return this.mode === 'single';\n }\n\n get isMultipleMode() {\n return this.mode === 'multiple';\n }\n\n get isEveryDropdownItemHidden() {\n return this.items.every((item) => item.classList.contains('d-none'));\n }\n\n @Watch('selectedIndices')\n watchSelectedIndices(value: string | string[]) {\n this.value = value;\n this.updateSelection();\n }\n\n @Watch('value')\n watchValue(value: string | string[]) {\n this.selectedIndices = value;\n this.updateSelection();\n }\n\n @Listen('itemClick')\n onItemClicked(event: CustomEvent<string>) {\n const newId = event.detail;\n this.itemClick(newId);\n }\n\n private itemClick(newId: string) {\n this.value = this.toggleValue(newId);\n this.updateSelection();\n this.emitValueChange();\n }\n\n private emitAddItem(value: string) {\n if (value.trim() === '') {\n return;\n }\n\n const newItem = document.createElement('ix-select-item');\n newItem.value = value;\n newItem.label = value;\n\n this.addItemRef.appendChild(newItem);\n\n this.clearInput();\n this.itemClick(value);\n this.addItem.emit(value);\n }\n\n private toggleValue(itemValue: string) {\n if (!this.isMultipleMode) {\n return itemValue;\n }\n\n if (!this.value) {\n return [itemValue];\n }\n\n let value = this.value;\n\n if (!Array.isArray(value)) {\n value = [value];\n }\n\n if (value.includes(itemValue)) {\n return value.filter((value) => value !== itemValue);\n } else {\n return [...value, itemValue];\n }\n }\n\n private updateSelection() {\n let ids = [];\n\n if (this.value) {\n ids = Array.isArray(this.value) ? [...this.value] : [this.value];\n }\n\n this.items.forEach((item) => {\n item.selected = ids.some((i) => i === item.value);\n });\n\n this.selectedLabels = this.selectedItems.map((item) => item.label);\n\n if (this.isSingleMode) {\n this.inputValue = this.selectedLabels?.length\n ? this.selectedLabels[0]\n : null;\n return;\n }\n\n this.inputValue = null;\n }\n\n private emitValueChange() {\n this.valueChange.emit(this.value);\n\n if (!this.value) {\n this.itemSelectionChange.emit(null);\n } else {\n this.itemSelectionChange.emit(\n Array.isArray(this.value) ? this.value : [this.value]\n );\n }\n }\n\n componentDidLoad() {\n this.inputRef.addEventListener('input', () => {\n this.inputChange.emit(this.inputRef.value);\n });\n }\n\n componentWillLoad() {\n if (this.selectedIndices && !this.value) {\n this.value = this.selectedIndices;\n }\n\n this.updateSelection();\n }\n\n @Listen('ix-select-item:labelChange')\n onLabelChange(event: IxSelectItemLabelChangeEvent) {\n event.preventDefault();\n event.stopImmediatePropagation();\n this.updateSelection();\n }\n\n disconnectedCallback() {\n if (this.labelMutationObserver) {\n this.labelMutationObserver.disconnect();\n }\n }\n\n private itemExists(item: string) {\n return this.items.find((i) => i.label === item);\n }\n\n private dropdownVisibilityChanged(event: CustomEvent<boolean>) {\n this.dropdownShow = event.detail;\n this.hasFocus = event.detail;\n\n if (event.detail) {\n this.inputRef.focus();\n this.inputRef.select();\n\n this.removeHiddenFromItems();\n this.isDropdownEmpty = this.isEveryDropdownItemHidden;\n } else {\n this.navigationItem = undefined;\n }\n }\n\n @Listen('keydown', {\n target: 'window',\n })\n async onKeyDown(event: KeyboardEvent) {\n if (!this.dropdownShow) {\n return;\n }\n\n if (event.code === 'ArrowDown' || event.code === 'ArrowUp') {\n this.onArrowNavigation(event);\n }\n\n if (event.code === 'Enter' || event.code === 'NumpadEnter') {\n await this.onEnterNavigation();\n }\n\n if (event.code === 'Escape') {\n this.dropdownShow = false;\n }\n }\n\n private async onEnterNavigation() {\n if (this.isMultipleMode) {\n return;\n }\n\n if (this.editable && !this.itemExists(this.inputFilterText)) {\n this.emitAddItem(this.inputFilterText);\n this.navigationItem = this.items[this.items.length - 1];\n }\n\n this.navigationItem?.onItemClick();\n await this.dropdownRef?.updatePosition();\n\n if (this.isSingleMode && !this.editable) {\n this.dropdownShow = false;\n }\n }\n\n private onArrowNavigation(event: KeyboardEvent) {\n event.stopPropagation();\n event.preventDefault();\n\n const focusItem = this.items.find(\n (item) => document.activeElement === item.querySelector('button')\n );\n this.navigationItem = focusItem;\n\n const selectItems = this.items.filter(\n (i) => !i.classList.contains('d-none')\n );\n\n const index = selectItems.indexOf(this.navigationItem);\n\n if (event.code === 'ArrowDown' && index < selectItems.length - 1) {\n this.navigationItem = selectItems[index + 1];\n } else if (event.code === 'ArrowUp' && index > 0) {\n this.navigationItem = selectItems[index - 1];\n }\n\n this.setHoverEffectForNavigatedSelectItem();\n }\n\n private setHoverEffectForNavigatedSelectItem() {\n this.navigationItem?.querySelector('button').focus();\n }\n\n private filterItemsWithTypeahead() {\n this.inputFilterText = this.inputRef.value;\n\n if (this.inputFilterText) {\n this.items.forEach((item) => {\n item.classList.remove('d-none');\n if (\n !item.label.toLowerCase().includes(this.inputFilterText.toLowerCase())\n ) {\n item.classList.add('d-none');\n }\n });\n } else {\n this.removeHiddenFromItems();\n }\n\n this.isDropdownEmpty = this.isEveryDropdownItemHidden;\n }\n\n private removeHiddenFromItems() {\n this.items.forEach((item) => {\n item.classList.remove('d-none');\n });\n }\n\n private clearInput() {\n this.inputRef.value = '';\n this.inputFilterText = '';\n }\n\n private clear() {\n this.clearInput();\n this.selectedLabels = [];\n this.value = [];\n this.valueChange.emit(null);\n this.dropdownShow = false;\n }\n\n private onInputBlur(e) {\n if (this.editable) {\n return;\n }\n\n if (this.isSingleMode) {\n if (this.dropdownShow && this.isDropdownEmpty) {\n this.dropdownShow = false;\n }\n }\n\n if (!this.dropdownShow && this.mode !== 'multiple') {\n e.target['value'] = this.selectedLabels;\n }\n }\n\n private placeholderValue() {\n if (this.editable) {\n return this.i18nPlaceholderEditable;\n }\n\n if (this.readonly) {\n return '';\n }\n\n return this.i18nPlaceholder;\n }\n\n private isAddItemVisible() {\n return (\n !this.itemExists(this.inputFilterText) &&\n this.editable &&\n this.inputFilterText\n );\n }\n\n render() {\n return (\n <Host>\n <div\n class={{\n select: true,\n focus: this.hasFocus,\n editable: this.editable,\n disabled: this.disabled,\n readonly: this.readonly,\n }}\n ref={(ref) => {\n this.dropdownAnchor = ref;\n if (!this.editable) this.dropdownWrapperRef = ref;\n }}\n >\n <div class=\"input-container\">\n <div class=\"chips\">\n {this.isMultipleMode\n ? this.selectedItems?.map((item) => (\n <ix-filter-chip\n disabled={this.disabled || this.readonly}\n key={item.value}\n onCloseClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n this.itemClick(item.value);\n }}\n >\n {item.label}\n </ix-filter-chip>\n ))\n : ''}\n <div class=\"trigger\">\n <input\n data-testid=\"input\"\n disabled={this.disabled}\n readOnly={this.readonly}\n type=\"text\"\n class={{\n 'allow-clear':\n this.allowClear && !!this.selectedLabels?.length,\n }}\n placeholder={this.placeholderValue()}\n value={this.inputValue}\n ref={(ref) => (this.inputRef = ref)}\n onBlur={(e) => this.onInputBlur(e)}\n onInput={() => this.filterItemsWithTypeahead()}\n />\n {this.allowClear &&\n (this.selectedLabels?.length || this.inputFilterText) ? (\n <ix-icon-button\n class=\"clear\"\n icon=\"clear\"\n ghost\n oval\n size=\"16\"\n onClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n this.clear();\n }}\n />\n ) : null}\n {this.disabled || this.readonly ? null : (\n <div\n class=\"chevron-down-container\"\n ref={(ref) => {\n if (this.editable) this.dropdownWrapperRef = ref;\n }}\n >\n <ix-icon class=\"chevron\" name=\"chevron-down-small\" />\n </div>\n )}\n </div>\n </div>\n </div>\n </div>\n <ix-dropdown\n ref={(ref) => (this.dropdownRef = ref)}\n show={this.dropdownShow}\n closeBehavior={this.isMultipleMode ? 'outside' : 'both'}\n class={{\n 'd-none': this.disabled || this.readonly,\n }}\n anchor={this.dropdownAnchor}\n trigger={this.dropdownWrapperRef}\n onShowChanged={(e) => this.dropdownVisibilityChanged(e)}\n placement=\"bottom-start\"\n overwriteDropdownStyle={async () => {\n return {\n minWidth: `${this.hostElement.clientWidth}px`,\n };\n }}\n >\n <div\n class={{\n 'select-list-header': true,\n hidden: this.hideListHeader || this.isDropdownEmpty,\n }}\n title={this.i18nSelectListHeader}\n >\n {this.i18nSelectListHeader}\n </div>\n <slot></slot>\n <div ref={(ref) => (this.addItemRef = ref)} class=\"d-contents\"></div>\n {this.isAddItemVisible() ? (\n <ix-dropdown-item\n data-testid=\"add-item\"\n icon=\"plus\"\n class={{\n 'add-item': true,\n }}\n label={this.inputFilterText}\n onItemClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n this.emitAddItem(this.inputFilterText);\n }}\n ></ix-dropdown-item>\n ) : null}\n {this.isDropdownEmpty && !this.editable ? (\n <div class=\"select-list-header\">{this.i18nNoMatches}</div>\n ) : (\n ''\n )}\n </ix-dropdown>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -10,9 +10,12 @@ function getSlottedElements(slot) {
10
10
  return slot.assignedElements({ flatten: true });
11
11
  }
12
12
  function hasSlottedElements(slot) {
13
+ if (!slot) {
14
+ return false;
15
+ }
13
16
  return slot.assignedElements({ flatten: true }).length !== 0;
14
17
  }
15
18
 
16
19
  export { getSlottedElements as g, hasSlottedElements as h };
17
20
 
18
- //# sourceMappingURL=shadow-dom-6860b1c4.js.map
21
+ //# sourceMappingURL=shadow-dom.js.map
@@ -0,0 +1 @@
1
+ {"file":"shadow-dom.js","mappings":"AAAA;;;;;;;;SAkBgB,kBAAkB,CAAU,IAAS;EACnD,OAAO,IAAI,CAAC,gBAAgB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;AAClD,CAAC;SAEe,kBAAkB,CAAC,IAAS;EAC1C,IAAI,CAAC,IAAI,EAAE;IACT,OAAO,KAAK,CAAC;GACd;EACD,OAAO,IAAI,CAAC,gBAAgB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC;AAC/D;;;;","names":[],"sources":["./src/components/utils/shadow-dom.ts"],"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 */\nexport function closestElement(selector: string, el: any) {\n if (!el) {\n return null;\n }\n return (\n el.closest(selector) ||\n closestElement(selector, (el.getRootNode() as any).host)\n );\n}\n\nexport function getSlottedElements<R = any>(slot: any): R[] {\n return slot.assignedElements({ flatten: true });\n}\n\nexport function hasSlottedElements(slot: any) {\n if (!slot) {\n return false;\n }\n return slot.assignedElements({ flatten: true }).length !== 0;\n}\n"],"version":3}
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- const spinnerCss = ":host(.xx-small){display:block;position:relative;width:0.75rem;height:0.75rem;min-width:0.75rem;min-height:0.75rem;max-width:0.75rem;max-height:0.75rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}:host(.xx-small) *,:host(.xx-small) *::after,:host(.xx-small) *::before{box-sizing:border-box}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{-webkit-clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{-webkit-clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{-webkit-clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{-webkit-clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{-webkit-clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}:host(.xx-small)::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:1px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}:host(:not(.hide-track)):host(.xx-small)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:1px solid var(--theme-color-ghost--hover)}:host(.primary)::after{border-color:var(--theme-color-dynamic)}:host(.primary)::before{border-color:var(--theme-color-ghost--hover)}:host(.x-small){display:block;position:relative;width:1.25rem;height:1.25rem;min-width:1.25rem;min-height:1.25rem;max-width:1.25rem;max-height:1.25rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}:host(.x-small) *,:host(.x-small) *::after,:host(.x-small) *::before{box-sizing:border-box}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{-webkit-clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{-webkit-clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{-webkit-clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{-webkit-clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{-webkit-clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}:host(.x-small)::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}:host(:not(.hide-track)):host(.x-small)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-ghost--hover)}:host(.primary)::after{border-color:var(--theme-color-dynamic)}:host(.primary)::before{border-color:var(--theme-color-ghost--hover)}:host(.small){display:block;position:relative;width:1.5rem;height:1.5rem;min-width:1.5rem;min-height:1.5rem;max-width:1.5rem;max-height:1.5rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}:host(.small) *,:host(.small) *::after,:host(.small) *::before{box-sizing:border-box}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{-webkit-clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{-webkit-clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{-webkit-clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{-webkit-clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{-webkit-clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}:host(.small)::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}:host(:not(.hide-track)):host(.small)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-ghost--hover)}:host(.primary)::after{border-color:var(--theme-color-dynamic)}:host(.primary)::before{border-color:var(--theme-color-ghost--hover)}:host(.medium){display:block;position:relative;width:2rem;height:2rem;min-width:2rem;min-height:2rem;max-width:2rem;max-height:2rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}:host(.medium) *,:host(.medium) *::after,:host(.medium) *::before{box-sizing:border-box}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{-webkit-clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{-webkit-clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{-webkit-clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{-webkit-clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{-webkit-clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}:host(.medium)::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}:host(:not(.hide-track)):host(.medium)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-ghost--hover)}:host(.primary)::after{border-color:var(--theme-color-dynamic)}:host(.primary)::before{border-color:var(--theme-color-ghost--hover)}:host(.large){display:block;position:relative;width:6rem;height:6rem;min-width:6rem;min-height:6rem;max-width:6rem;max-height:6rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}:host(.large) *,:host(.large) *::after,:host(.large) *::before{box-sizing:border-box}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{-webkit-clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{-webkit-clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{-webkit-clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{-webkit-clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{-webkit-clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}:host(.large)::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:4px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}:host(:not(.hide-track)):host(.large)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:4px solid var(--theme-color-ghost--hover)}:host(.primary)::after{border-color:var(--theme-color-dynamic)}:host(.primary)::before{border-color:var(--theme-color-ghost--hover)}";
3
+ const spinnerCss = ":host(.xx-small){display:block;position:relative;width:0.75rem;height:0.75rem;min-width:0.75rem;min-height:0.75rem;max-width:0.75rem;max-height:0.75rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}:host(.xx-small) *,:host(.xx-small) *::after,:host(.xx-small) *::before{box-sizing:border-box}:host(.xx-small) ::-webkit-scrollbar-button{display:none}:host(.xx-small) ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host(.xx-small) ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host(.xx-small) ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host(.xx-small) ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host(.xx-small) ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host(.xx-small) ::-webkit-scrollbar-corner{display:none}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{-webkit-clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{-webkit-clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{-webkit-clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{-webkit-clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{-webkit-clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}:host(.xx-small)::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:1px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}:host(:not(.hide-track)):host(.xx-small)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:1px solid var(--theme-color-ghost--hover)}:host(.primary)::after{border-color:var(--theme-color-dynamic)}:host(.primary)::before{border-color:var(--theme-color-ghost--hover)}:host(.x-small){display:block;position:relative;width:1.25rem;height:1.25rem;min-width:1.25rem;min-height:1.25rem;max-width:1.25rem;max-height:1.25rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}:host(.x-small) *,:host(.x-small) *::after,:host(.x-small) *::before{box-sizing:border-box}:host(.x-small) ::-webkit-scrollbar-button{display:none}:host(.x-small) ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host(.x-small) ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host(.x-small) ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host(.x-small) ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host(.x-small) ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host(.x-small) ::-webkit-scrollbar-corner{display:none}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{-webkit-clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{-webkit-clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{-webkit-clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{-webkit-clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{-webkit-clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}:host(.x-small)::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}:host(:not(.hide-track)):host(.x-small)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-ghost--hover)}:host(.primary)::after{border-color:var(--theme-color-dynamic)}:host(.primary)::before{border-color:var(--theme-color-ghost--hover)}:host(.small){display:block;position:relative;width:1.5rem;height:1.5rem;min-width:1.5rem;min-height:1.5rem;max-width:1.5rem;max-height:1.5rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}:host(.small) *,:host(.small) *::after,:host(.small) *::before{box-sizing:border-box}:host(.small) ::-webkit-scrollbar-button{display:none}:host(.small) ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host(.small) ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host(.small) ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host(.small) ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host(.small) ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host(.small) ::-webkit-scrollbar-corner{display:none}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{-webkit-clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{-webkit-clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{-webkit-clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{-webkit-clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{-webkit-clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}:host(.small)::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}:host(:not(.hide-track)):host(.small)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-ghost--hover)}:host(.primary)::after{border-color:var(--theme-color-dynamic)}:host(.primary)::before{border-color:var(--theme-color-ghost--hover)}:host(.medium){display:block;position:relative;width:2rem;height:2rem;min-width:2rem;min-height:2rem;max-width:2rem;max-height:2rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}:host(.medium) *,:host(.medium) *::after,:host(.medium) *::before{box-sizing:border-box}:host(.medium) ::-webkit-scrollbar-button{display:none}:host(.medium) ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host(.medium) ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host(.medium) ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host(.medium) ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host(.medium) ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host(.medium) ::-webkit-scrollbar-corner{display:none}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{-webkit-clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{-webkit-clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{-webkit-clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{-webkit-clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{-webkit-clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}:host(.medium)::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}:host(:not(.hide-track)):host(.medium)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-ghost--hover)}:host(.primary)::after{border-color:var(--theme-color-dynamic)}:host(.primary)::before{border-color:var(--theme-color-ghost--hover)}:host(.large){display:block;position:relative;width:6rem;height:6rem;min-width:6rem;min-height:6rem;max-width:6rem;max-height:6rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}:host(.large) *,:host(.large) *::after,:host(.large) *::before{box-sizing:border-box}:host(.large) ::-webkit-scrollbar-button{display:none}:host(.large) ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host(.large) ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host(.large) ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host(.large) ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host(.large) ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host(.large) ::-webkit-scrollbar-corner{display:none}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{-webkit-clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{-webkit-clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{-webkit-clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{-webkit-clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{-webkit-clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0);clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{-webkit-clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}:host(.large)::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:4px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}:host(:not(.hide-track)):host(.large)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:4px solid var(--theme-color-ghost--hover)}:host(.primary)::after{border-color:var(--theme-color-dynamic)}:host(.primary)::before{border-color:var(--theme-color-ghost--hover)}";
4
4
 
5
5
  const Spinner = /*@__PURE__*/ proxyCustomElement(class Spinner extends HTMLElement {
6
6
  constructor() {
@@ -1 +1 @@
1
- {"file":"spinner.js","mappings":";;AAAA,MAAM,UAAU,GAAG,ylVAAylV;;MCgB/lV,OAAO;;;;;mBAMyB,WAAW;gBAMpD,QAAQ;qBAKU,KAAK;;EAEzB,MAAM;IACJ,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS;QACnC,UAAU,EAAE,IAAI,CAAC,IAAI,KAAK,UAAU;QACpC,SAAS,EAAE,IAAI,CAAC,IAAI,KAAK,SAAS;QAClC,KAAK,EAAE,IAAI,CAAC,IAAI,KAAK,OAAO;QAC5B,MAAM,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ;QAC9B,KAAK,EAAE,IAAI,CAAC,IAAI,KAAK,OAAO;QAC5B,YAAY,EAAE,IAAI,CAAC,SAAS;OAC7B,GACK,EACR;GACH;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/spinner/spinner.scss?tag=ix-spinner&encapsulation=shadow","./src/components/spinner/spinner.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/shadow-dom/component';\n\n@mixin ix-spinner($host-class: 'medium', $size: 2rem, $track-size: 4px) {\n :host(.#{$host-class}) {\n @include ix-component;\n display: block;\n position: relative;\n\n width: $size;\n height: $size;\n min-width: $size;\n min-height: $size;\n max-width: $size;\n max-height: $size;\n border-radius: 100%;\n position: relative;\n animation: rotate 2s linear infinite;\n\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n\n @keyframes clipMask {\n 0% {\n clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);\n }\n 12.5% {\n clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);\n }\n 25% {\n clip-path: polygon(\n 50% 50%,\n 0 0,\n 100% 0,\n 100% 100%,\n 100% 100%,\n 100% 100%\n );\n }\n 37.5% {\n clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);\n }\n 50% {\n clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);\n }\n 62.5% {\n clip-path: polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0);\n }\n 75% {\n clip-path: polygon(\n 50% 50%,\n 100% 100%,\n 100% 100%,\n 100% 100%,\n 0 100%,\n 0 0\n );\n }\n 87.5% {\n clip-path: polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0);\n }\n 100% {\n clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);\n }\n }\n }\n\n :host(.#{$host-class})::after {\n content: '';\n box-sizing: border-box;\n position: absolute;\n inset: 8.33%;\n border-radius: 100%;\n border: $track-size solid\n var(--ix-button-color, var(--theme-color-soft-text));\n animation: clipMask 3s linear infinite;\n }\n\n :host(:not(.hide-track)):host(.#{$host-class})::before {\n content: '';\n box-sizing: border-box;\n position: absolute;\n inset: 8.33%;\n border-radius: 100%;\n border: $track-size solid var(--theme-color-ghost--hover);\n }\n\n :host(.primary)::after {\n border-color: var(--theme-color-dynamic);\n }\n\n :host(.primary)::before {\n border-color: var(--theme-color-ghost--hover);\n }\n}\n\n@include ix-spinner($host-class: 'xx-small', $size: 0.75rem, $track-size: 1px);\n@include ix-spinner($host-class: 'x-small', $size: 1.25rem, $track-size: 2px);\n@include ix-spinner($host-class: 'small', $size: 1.5rem, $track-size: 2px);\n@include ix-spinner($host-class: 'medium', $size: 2rem, $track-size: 2px);\n@include ix-spinner($host-class: 'large', $size: 6rem, $track-size: 4px);\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'ix-spinner',\n styleUrl: 'spinner.scss',\n shadow: true,\n})\nexport class Spinner {\n @Element() hostElement!: HTMLIxSpinnerElement;\n\n /**\n * Variant of spinner\n */\n @Prop() variant: 'primary' | 'secondary' = 'secondary';\n\n /**\n * Size of spinner\n */\n @Prop() size: 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' =\n 'medium';\n\n /**\n * @internal\n */\n @Prop() hideTrack = false;\n\n render() {\n return (\n <Host\n class={{\n primary: this.variant === 'primary',\n 'xx-small': this.size === 'xx-small',\n 'x-small': this.size === 'x-small',\n small: this.size === 'small',\n medium: this.size === 'medium',\n large: this.size === 'large',\n 'hide-track': this.hideTrack,\n }}\n ></Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"spinner.js","mappings":";;AAAA,MAAM,UAAU,GAAG,sjbAAsjb;;MCgB5jb,OAAO;;;;;mBAMyB,WAAW;gBAMpD,QAAQ;qBAKU,KAAK;;EAEzB,MAAM;IACJ,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS;QACnC,UAAU,EAAE,IAAI,CAAC,IAAI,KAAK,UAAU;QACpC,SAAS,EAAE,IAAI,CAAC,IAAI,KAAK,SAAS;QAClC,KAAK,EAAE,IAAI,CAAC,IAAI,KAAK,OAAO;QAC5B,MAAM,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ;QAC9B,KAAK,EAAE,IAAI,CAAC,IAAI,KAAK,OAAO;QAC5B,YAAY,EAAE,IAAI,CAAC,SAAS;OAC7B,GACK,EACR;GACH;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/spinner/spinner.scss?tag=ix-spinner&encapsulation=shadow","./src/components/spinner/spinner.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/shadow-dom/component';\n\n@mixin ix-spinner($host-class: 'medium', $size: 2rem, $track-size: 4px) {\n :host(.#{$host-class}) {\n @include ix-component;\n display: block;\n position: relative;\n\n width: $size;\n height: $size;\n min-width: $size;\n min-height: $size;\n max-width: $size;\n max-height: $size;\n border-radius: 100%;\n position: relative;\n animation: rotate 2s linear infinite;\n\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n\n @keyframes clipMask {\n 0% {\n clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);\n }\n 12.5% {\n clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);\n }\n 25% {\n clip-path: polygon(\n 50% 50%,\n 0 0,\n 100% 0,\n 100% 100%,\n 100% 100%,\n 100% 100%\n );\n }\n 37.5% {\n clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);\n }\n 50% {\n clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);\n }\n 62.5% {\n clip-path: polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0);\n }\n 75% {\n clip-path: polygon(\n 50% 50%,\n 100% 100%,\n 100% 100%,\n 100% 100%,\n 0 100%,\n 0 0\n );\n }\n 87.5% {\n clip-path: polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0);\n }\n 100% {\n clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);\n }\n }\n }\n\n :host(.#{$host-class})::after {\n content: '';\n box-sizing: border-box;\n position: absolute;\n inset: 8.33%;\n border-radius: 100%;\n border: $track-size solid\n var(--ix-button-color, var(--theme-color-soft-text));\n animation: clipMask 3s linear infinite;\n }\n\n :host(:not(.hide-track)):host(.#{$host-class})::before {\n content: '';\n box-sizing: border-box;\n position: absolute;\n inset: 8.33%;\n border-radius: 100%;\n border: $track-size solid var(--theme-color-ghost--hover);\n }\n\n :host(.primary)::after {\n border-color: var(--theme-color-dynamic);\n }\n\n :host(.primary)::before {\n border-color: var(--theme-color-ghost--hover);\n }\n}\n\n@include ix-spinner($host-class: 'xx-small', $size: 0.75rem, $track-size: 1px);\n@include ix-spinner($host-class: 'x-small', $size: 1.25rem, $track-size: 2px);\n@include ix-spinner($host-class: 'small', $size: 1.5rem, $track-size: 2px);\n@include ix-spinner($host-class: 'medium', $size: 2rem, $track-size: 2px);\n@include ix-spinner($host-class: 'large', $size: 6rem, $track-size: 4px);\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'ix-spinner',\n styleUrl: 'spinner.scss',\n shadow: true,\n})\nexport class Spinner {\n @Element() hostElement!: HTMLIxSpinnerElement;\n\n /**\n * Variant of spinner\n */\n @Prop() variant: 'primary' | 'secondary' = 'secondary';\n\n /**\n * Size of spinner\n */\n @Prop() size: 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' =\n 'medium';\n\n /**\n * @internal\n */\n @Prop() hideTrack = false;\n\n render() {\n return (\n <Host\n class={{\n primary: this.variant === 'primary',\n 'xx-small': this.size === 'xx-small',\n 'x-small': this.size === 'x-small',\n small: this.size === 'small',\n medium: this.size === 'medium',\n large: this.size === 'large',\n 'hide-track': this.hideTrack,\n }}\n ></Host>\n );\n }\n}\n"],"version":3}
@@ -1,12 +1,13 @@
1
- import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- const tabItemCss = "@charset \"UTF-8\";:host{position:relative;display:flex;align-items:center;justify-content:center;height:40px;padding:10px 1.5rem;line-height:20px;font-size:14px;font-weight:bold;background-color:var(--theme-tab--background);color:var(--theme-tab--color)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::after{content:\"\";position:absolute;background-color:var(--theme-tab-indicator--background);width:100%;height:var(--theme-tab-indicator--height);left:0}:host .text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}:host .text span,:host .text span::before{pointer-events:none}:host .circle{display:flex;justify-content:center;align-items:center;height:3rem;width:3rem;background-color:var(--theme-animated-tab-indicator--background);border-radius:50%;border:2px solid var(--theme-animated-tab-circle--border-color);color:var(--theme-an…icon--color);cursor:pointer}:host .circle.selected:not(.disabled){background-color:var(--theme-animated-tab-circle--background--selected);color:var(--theme-animated-tab-icon--color--selected);border-color:var(--theme-animated-tab-circle--border-color--selected)}:host .circle.selected:not(.disabled):hover{background-color:var(--theme-animated-tab-circle--background--selected)}:host .circle:hover{background-color:var(--theme-animated-tab-circle--background--hover)}:host .circle:active{background-color:var(--theme-animated-tab-circle--background--active)}:host .circle:active{background-color:var(--theme-animated-tab-circle--background--active)}:host .circle.disabled{background-color:var(--theme-animated-tab-circle--background--disabled);border-color:var(--theme-animated-tab-circle--border-color--disabled)}:host .counter{position:absolute;z-index:1;height:16px;width:auto;background-color:var(--theme-pill-outline--background);border:1px solid var(--theme-tab-pill--border-color);border-radius:100px;bottom:6px;display:flex;justify-content:center;align-items:center;padding-left:0.25rem;padding-right:0.25rem;font-size:12px;line-height:14px;color:var(--theme-pill-outline--color);cursor:pointer}:host .counter.selected{border-color:var(--theme-tab-pill--border-color--selected)}:host .counter.selected::after{display:none}:host .counter.disabled{border-color:var(--theme-tab-pill--border-color--disabled)}:host .counter::after{display:none}:host .hidden{display:none}:host(.circle){height:72px}:host(.top) ::after{top:0}:host(.bottom) ::after{bottom:0}:host(.stretched){flex-basis:100%;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(:hover:not(.circle)){background-color:var(--theme-tab--background--hover);color:var(--theme-tab-color-hover);cursor:pointer}:host(:hover:not(.circle)) ::after{background-color:var(--theme-tab-indicator--background--hover)}:host(:active:not(.circle)){background-color:var(--theme-tab--background--active);color:var(--theme-tab-color--active)}:host(:active:not(.circle)) ::after{background-color:var(--theme-tab-indicator--background--active)}:host(:focus-visible){outline:0px solid var(--focus--border-color)}:host(:focus-visible) .circle{outline:1px solid var(--focus--border-color)}:host(:focus-visible:not(.circle)){outline:1px solid var(--focus--border-color)}:host(.disabled){pointer-events:none;color:var(--theme-tab--color--disabled);background-color:var(--theme-tab--background--disabled)}:host(.disabled) ::after{background-color:var(--theme-tab-indicator--background--disabled)}:host(.selected:not(.disabled)){background-color:var(--theme-tab--background--selected);color:var(--theme-tab--color--selected)}:host(.selected:not(.disabled)) ::after{background-color:var(--theme-tab-indicator--background--selected)}:host(.icon){padding:1.5rem 0.5rem}:host(.small-tab){height:32px;padding:1rem}:host(.small-tab.icon){padding:1rem 0.25rem}";
3
+ const tabItemCss = "@charset \"UTF-8\";:host{position:relative;display:flex;align-items:center;justify-content:center;padding:10px 1.5rem;line-height:20px;font-size:14px;font-weight:bold;background-color:var(--theme-tab--background);color:var(--theme-tab--color)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host ::after{content:\"\";position:absolute;background-color:var(--theme-tab-indicator--background);width:100%;height:var(--theme-tab-indicator--height);left:0}:host .text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}:host .text span,:host .text span::before{pointer-events:none}:host .circle{display:flex;justify-content:center;align-items:center;height:3rem;width:3rem;background-color:var(--theme-animated-tab-indicator--background);border-radius:50%;border:2px solid var(--theme-animated-tab-circle--border-color);color:var(--theme-an…icon--color);cursor:pointer}:host .circle.selected:not(.disabled){background-color:var(--theme-animated-tab-circle--background--selected);color:var(--theme-animated-tab-icon--color--selected);border-color:var(--theme-animated-tab-circle--border-color--selected)}:host .circle.selected:not(.disabled):hover{background-color:var(--theme-animated-tab-circle--background--selected)}:host .circle:hover{background-color:var(--theme-animated-tab-circle--background--hover)}:host .circle:active{background-color:var(--theme-animated-tab-circle--background--active)}:host .circle:active{background-color:var(--theme-animated-tab-circle--background--active)}:host .circle.disabled{background-color:var(--theme-animated-tab-circle--background--disabled);border-color:var(--theme-animated-tab-circle--border-color--disabled)}:host .counter{position:absolute;z-index:1;height:16px;width:auto;background-color:var(--theme-pill-outline--background);border:1px solid var(--theme-tab-pill--border-color);border-radius:100px;bottom:6px;display:flex;justify-content:center;align-items:center;padding-left:0.25rem;padding-right:0.25rem;font-size:12px;line-height:14px;color:var(--theme-pill-outline--color);cursor:pointer}:host .counter.selected{border-color:var(--theme-tab-pill--border-color--selected)}:host .counter.selected::after{display:none}:host .counter.disabled{border-color:var(--theme-tab-pill--border-color--disabled)}:host .counter::after{display:none}:host .hidden{display:none}:host(.circle){height:72px}:host(.top) ::after{top:0}:host(.bottom) ::after{bottom:0}:host(.stretched){flex-basis:100%;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(:hover:not(.circle)){background-color:var(--theme-tab--background--hover);color:var(--theme-tab-color-hover);cursor:pointer}:host(:hover:not(.circle)) ::after{background-color:var(--theme-tab-indicator--background--hover)}:host(:active:not(.circle)){background-color:var(--theme-tab--background--active);color:var(--theme-tab-color--active)}:host(:active:not(.circle)) ::after{background-color:var(--theme-tab-indicator--background--active)}:host(:focus-visible){outline:0px solid var(--focus--border-color)}:host(:focus-visible) .circle{outline:1px solid var(--focus--border-color)}:host(:focus-visible:not(.circle)){outline:1px solid var(--focus--border-color)}:host(.disabled){pointer-events:none;color:var(--theme-tab--color--disabled);background-color:var(--theme-tab--background--disabled)}:host(.disabled) ::after{background-color:var(--theme-tab-indicator--background--disabled)}:host(.selected:not(.disabled)){background-color:var(--theme-tab--background--selected);color:var(--theme-tab--color--selected)}:host(.selected:not(.disabled)) ::after{background-color:var(--theme-tab-indicator--background--selected)}:host(.icon){padding:1.5rem 0.5rem}:host(.small-tab){height:32px;padding:1rem}:host(.small-tab.icon){padding:1rem 0.25rem}";
4
4
 
5
5
  const TabItem = /*@__PURE__*/ proxyCustomElement(class TabItem extends HTMLElement {
6
6
  constructor() {
7
7
  super();
8
8
  this.__registerHost();
9
9
  this.__attachShadow();
10
+ this.tabClick = createEvent(this, "tabClick", 7);
10
11
  this.selected = false;
11
12
  this.disabled = false;
12
13
  this.small = false;
@@ -37,7 +38,14 @@ const TabItem = /*@__PURE__*/ proxyCustomElement(class TabItem extends HTMLEleme
37
38
  layout: this.layout,
38
39
  placement: this.placement,
39
40
  circle: this.rounded,
40
- }), tabIndex: 0 }, h("div", { class: {
41
+ }), tabIndex: 0, onClick: (event) => {
42
+ const clientEvent = this.tabClick.emit({
43
+ nativeEvent: event,
44
+ });
45
+ if (clientEvent.defaultPrevented) {
46
+ event.stopPropagation();
47
+ }
48
+ } }, h("div", { class: {
41
49
  circle: this.rounded,
42
50
  text: !this.rounded,
43
51
  selected: this.selected,
@@ -1 +1 @@
1
- {"file":"tab-item.js","mappings":";;AAAA,MAAM,UAAU,GAAG,6tHAA6tH;;MCgBnuH,OAAO;;;;;oBAIC,KAAK;oBAKL,KAAK;iBAKR,KAAK;gBAKN,KAAK;mBAKF,KAAK;;kBAUgB,MAAM;qBAKP,QAAQ;;EAEtC,cAAc,CAAC,KAQtB;IACC,OAAO;MACL,QAAQ,EAAE,KAAK,CAAC,QAAQ;MACxB,QAAQ,EAAE,KAAK,CAAC,QAAQ;MACxB,WAAW,EAAE,KAAK,CAAC,KAAK;MACxB,IAAI,EAAE,KAAK,CAAC,KAAK;MACjB,SAAS,EAAE,KAAK,CAAC,MAAM,KAAK,WAAW;MACvC,MAAM,EAAE,KAAK,CAAC,SAAS,KAAK,QAAQ;MACpC,GAAG,EAAE,KAAK,CAAC,SAAS,KAAK,KAAK;MAC9B,MAAM,EAAE,KAAK,CAAC,MAAM;KACrB,CAAC;GACH;EAED,MAAM;IACJ,QACE,EAAC,IAAI,IACH,KAAK,EAAE,IAAI,CAAC,cAAc,CAAC;QACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,MAAM,EAAE,IAAI,CAAC,MAAM;QACnB,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,MAAM,EAAE,IAAI,CAAC,OAAO;OACrB,CAAC,EACF,QAAQ,EAAE,CAAC,IAEX,WACE,KAAK,EAAE;QACL,MAAM,EAAE,IAAI,CAAC,OAAO;QACpB,IAAI,EAAE,CAAC,IAAI,CAAC,OAAO;QACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACxB,IAED,eAAa,CACT,EACN,WACE,KAAK,EAAE;QACL,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,MAAM,EAAE,EAAE,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC;QACrD,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACxB,IAEA,IAAI,CAAC,OAAO,CACT,CACD,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/tab-item/tab-item.scss?tag=ix-tab-item&encapsulation=shadow","./src/components/tab-item/tab-item.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/text-truncation';\n@import 'mixins/hover';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 40px;\n padding: 10px $large-space;\n line-height: 20px;\n font-size: 14px;\n font-weight: bold;\n background-color: var(--theme-tab--background);\n color: var(--theme-tab--color);\n\n ::after {\n content: '';\n position: absolute;\n background-color: var(--theme-tab-indicator--background);\n width: 100%;\n height: var(--theme-tab-indicator--height);\n left: 0;\n }\n\n .text {\n @include ellipsis;\n\n span,\n span::before {\n pointer-events: none;\n }\n\n vertical-align: middle;\n }\n\n .circle {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 3rem;\n width: 3rem;\n background-color: var(--theme-animated-tab-indicator--background);\n border-radius: 50%;\n border: 2px solid var(--theme-animated-tab-circle--border-color);\n color: var(--theme-an…icon--color);\n cursor: pointer;\n\n &.selected:not(.disabled) {\n background-color: var(--theme-animated-tab-circle--background--selected);\n color: var(--theme-animated-tab-icon--color--selected);\n border-color: var(--theme-animated-tab-circle--border-color--selected);\n\n &:hover {\n background-color: var(\n --theme-animated-tab-circle--background--selected\n );\n }\n }\n\n &:hover {\n background-color: var(--theme-animated-tab-circle--background--hover);\n }\n\n &:active {\n background-color: var(--theme-animated-tab-circle--background--active);\n }\n\n &:active {\n background-color: var(--theme-animated-tab-circle--background--active);\n }\n\n &.disabled {\n background-color: var(--theme-animated-tab-circle--background--disabled);\n border-color: var(--theme-animated-tab-circle--border-color--disabled);\n }\n }\n\n .counter {\n position: absolute;\n z-index: 1;\n height: 16px;\n width: auto;\n background-color: var(--theme-pill-outline--background);\n border: 1px solid var(--theme-tab-pill--border-color);\n border-radius: 100px;\n bottom: 6px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding-left: $tiny-space;\n padding-right: $tiny-space;\n font-size: 12px;\n line-height: 14px;\n color: var(--theme-pill-outline--color);\n cursor: pointer;\n\n &.selected {\n border-color: var(--theme-tab-pill--border-color--selected);\n\n &::after {\n display: none;\n }\n }\n\n &.disabled {\n border-color: var(--theme-tab-pill--border-color--disabled);\n }\n\n &::after {\n display: none;\n }\n }\n\n .hidden {\n display: none;\n }\n}\n\n:host(.circle) {\n height: 72px;\n}\n\n:host(.top) {\n ::after {\n top: 0;\n }\n}\n\n:host(.bottom) {\n ::after {\n bottom: 0;\n }\n}\n\n:host(.stretched) {\n flex-basis: 100%;\n width: 100%;\n @include ellipsis;\n}\n\n:host(:hover:not(.circle)) {\n background-color: var(--theme-tab--background--hover);\n color: var(--theme-tab-color-hover);\n cursor: pointer;\n\n ::after {\n background-color: var(--theme-tab-indicator--background--hover);\n }\n}\n\n:host(:active:not(.circle)) {\n background-color: var(--theme-tab--background--active);\n color: var(--theme-tab-color--active);\n\n ::after {\n background-color: var(--theme-tab-indicator--background--active);\n }\n}\n\n:host(:focus-visible) {\n outline: 0px solid var(--focus--border-color);\n\n .circle {\n outline: 1px solid var(--focus--border-color);\n }\n}\n\n:host(:focus-visible:not(.circle)) {\n outline: 1px solid var(--focus--border-color);\n}\n\n:host(.disabled) {\n pointer-events: none;\n color: var(--theme-tab--color--disabled);\n background-color: var(--theme-tab--background--disabled);\n\n ::after {\n background-color: var(--theme-tab-indicator--background--disabled);\n }\n}\n\n:host(.selected:not(.disabled)) {\n background-color: var(--theme-tab--background--selected);\n color: var(--theme-tab--color--selected);\n\n ::after {\n background-color: var(--theme-tab-indicator--background--selected);\n }\n}\n\n:host(.icon) {\n padding: $large-space $small-space;\n}\n\n:host(.small-tab) {\n height: 32px;\n padding: $default-space;\n}\n\n:host(.small-tab.icon) {\n padding: $default-space $tiny-space;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'ix-tab-item',\n styleUrl: 'tab-item.scss',\n shadow: true,\n})\nexport class TabItem {\n /**\n * Set selected tab\n */\n @Prop() selected = false;\n\n /**\n * Set disabled tab\n */\n @Prop() disabled = false;\n\n /**\n * Set small size tab\n */\n @Prop() small = false;\n\n /**\n * Set icon only tab\n */\n @Prop() icon = false;\n\n /**\n * Set rounded tab\n */\n @Prop() rounded = false;\n\n /**\n * Set counter value\n */\n @Prop() counter: number;\n\n /**\n * Set layout width style\n */\n @Prop() layout: 'auto' | 'stretched' = 'auto';\n\n /**\n * Set selected placement\n */\n @Prop() placement: 'bottom' | 'top' = 'bottom';\n\n private tabItemClasses(props: {\n selected: boolean;\n disabled: boolean;\n small: boolean;\n icon: boolean;\n circle: boolean;\n layout: 'auto' | 'stretched';\n placement: 'bottom' | 'top';\n }) {\n return {\n selected: props.selected,\n disabled: props.disabled,\n 'small-tab': props.small,\n icon: props.small,\n stretched: props.layout === 'stretched',\n bottom: props.placement === 'bottom',\n top: props.placement === 'top',\n circle: props.circle,\n };\n }\n\n render() {\n return (\n <Host\n class={this.tabItemClasses({\n selected: this.selected,\n disabled: this.disabled,\n small: this.small,\n icon: this.icon,\n layout: this.layout,\n placement: this.placement,\n circle: this.rounded,\n })}\n tabIndex={0}\n >\n <div\n class={{\n circle: this.rounded,\n text: !this.rounded,\n selected: this.selected,\n disabled: this.disabled,\n }}\n >\n <slot></slot>\n </div>\n <div\n class={{\n counter: true,\n selected: this.selected,\n hidden: !(this.rounded && this.counter !== undefined),\n disabled: this.disabled,\n }}\n >\n {this.counter}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"tab-item.js","mappings":";;AAAA,MAAM,UAAU,GAAG,gvIAAgvI;;MCoBtvI,OAAO;;;;;;oBAIC,KAAK;oBAKL,KAAK;iBAKR,KAAK;gBAKN,KAAK;mBAKF,KAAK;;kBAUgB,MAAM;qBAKP,QAAQ;;EAStC,cAAc,CAAC,KAQtB;IACC,OAAO;MACL,QAAQ,EAAE,KAAK,CAAC,QAAQ;MACxB,QAAQ,EAAE,KAAK,CAAC,QAAQ;MACxB,WAAW,EAAE,KAAK,CAAC,KAAK;MACxB,IAAI,EAAE,KAAK,CAAC,KAAK;MACjB,SAAS,EAAE,KAAK,CAAC,MAAM,KAAK,WAAW;MACvC,MAAM,EAAE,KAAK,CAAC,SAAS,KAAK,QAAQ;MACpC,GAAG,EAAE,KAAK,CAAC,SAAS,KAAK,KAAK;MAC9B,MAAM,EAAE,KAAK,CAAC,MAAM;KACrB,CAAC;GACH;EAED,MAAM;IACJ,QACE,EAAC,IAAI,IACH,KAAK,EAAE,IAAI,CAAC,cAAc,CAAC;QACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,MAAM,EAAE,IAAI,CAAC,MAAM;QACnB,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,MAAM,EAAE,IAAI,CAAC,OAAO;OACrB,CAAC,EACF,QAAQ,EAAE,CAAC,EACX,OAAO,EAAE,CAAC,KAAiB;QACzB,MAAM,WAAW,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;UACrC,WAAW,EAAE,KAAK;SACnB,CAAC,CAAC;QAEH,IAAI,WAAW,CAAC,gBAAgB,EAAE;UAChC,KAAK,CAAC,eAAe,EAAE,CAAC;SACzB;OACF,IAED,WACE,KAAK,EAAE;QACL,MAAM,EAAE,IAAI,CAAC,OAAO;QACpB,IAAI,EAAE,CAAC,IAAI,CAAC,OAAO;QACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACxB,IAED,eAAa,CACT,EACN,WACE,KAAK,EAAE;QACL,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,MAAM,EAAE,EAAE,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC;QACrD,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACxB,IAEA,IAAI,CAAC,OAAO,CACT,CACD,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/tab-item/tab-item.scss?tag=ix-tab-item&encapsulation=shadow","./src/components/tab-item/tab-item.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/text-truncation';\n@import 'mixins/hover';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 10px $large-space;\n line-height: 20px;\n font-size: 14px;\n font-weight: bold;\n background-color: var(--theme-tab--background);\n color: var(--theme-tab--color);\n\n ::after {\n content: '';\n position: absolute;\n background-color: var(--theme-tab-indicator--background);\n width: 100%;\n height: var(--theme-tab-indicator--height);\n left: 0;\n }\n\n .text {\n @include ellipsis;\n\n span,\n span::before {\n pointer-events: none;\n }\n\n vertical-align: middle;\n }\n\n .circle {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 3rem;\n width: 3rem;\n background-color: var(--theme-animated-tab-indicator--background);\n border-radius: 50%;\n border: 2px solid var(--theme-animated-tab-circle--border-color);\n color: var(--theme-an…icon--color);\n cursor: pointer;\n\n &.selected:not(.disabled) {\n background-color: var(--theme-animated-tab-circle--background--selected);\n color: var(--theme-animated-tab-icon--color--selected);\n border-color: var(--theme-animated-tab-circle--border-color--selected);\n\n &:hover {\n background-color: var(\n --theme-animated-tab-circle--background--selected\n );\n }\n }\n\n &:hover {\n background-color: var(--theme-animated-tab-circle--background--hover);\n }\n\n &:active {\n background-color: var(--theme-animated-tab-circle--background--active);\n }\n\n &:active {\n background-color: var(--theme-animated-tab-circle--background--active);\n }\n\n &.disabled {\n background-color: var(--theme-animated-tab-circle--background--disabled);\n border-color: var(--theme-animated-tab-circle--border-color--disabled);\n }\n }\n\n .counter {\n position: absolute;\n z-index: 1;\n height: 16px;\n width: auto;\n background-color: var(--theme-pill-outline--background);\n border: 1px solid var(--theme-tab-pill--border-color);\n border-radius: 100px;\n bottom: 6px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding-left: $tiny-space;\n padding-right: $tiny-space;\n font-size: 12px;\n line-height: 14px;\n color: var(--theme-pill-outline--color);\n cursor: pointer;\n\n &.selected {\n border-color: var(--theme-tab-pill--border-color--selected);\n\n &::after {\n display: none;\n }\n }\n\n &.disabled {\n border-color: var(--theme-tab-pill--border-color--disabled);\n }\n\n &::after {\n display: none;\n }\n }\n\n .hidden {\n display: none;\n }\n}\n\n:host(.circle) {\n height: 72px;\n}\n\n:host(.top) {\n ::after {\n top: 0;\n }\n}\n\n:host(.bottom) {\n ::after {\n bottom: 0;\n }\n}\n\n:host(.stretched) {\n flex-basis: 100%;\n width: 100%;\n @include ellipsis;\n}\n\n:host(:hover:not(.circle)) {\n background-color: var(--theme-tab--background--hover);\n color: var(--theme-tab-color-hover);\n cursor: pointer;\n\n ::after {\n background-color: var(--theme-tab-indicator--background--hover);\n }\n}\n\n:host(:active:not(.circle)) {\n background-color: var(--theme-tab--background--active);\n color: var(--theme-tab-color--active);\n\n ::after {\n background-color: var(--theme-tab-indicator--background--active);\n }\n}\n\n:host(:focus-visible) {\n outline: 0px solid var(--focus--border-color);\n\n .circle {\n outline: 1px solid var(--focus--border-color);\n }\n}\n\n:host(:focus-visible:not(.circle)) {\n outline: 1px solid var(--focus--border-color);\n}\n\n:host(.disabled) {\n pointer-events: none;\n color: var(--theme-tab--color--disabled);\n background-color: var(--theme-tab--background--disabled);\n\n ::after {\n background-color: var(--theme-tab-indicator--background--disabled);\n }\n}\n\n:host(.selected:not(.disabled)) {\n background-color: var(--theme-tab--background--selected);\n color: var(--theme-tab--color--selected);\n\n ::after {\n background-color: var(--theme-tab-indicator--background--selected);\n }\n}\n\n:host(.icon) {\n padding: $large-space $small-space;\n}\n\n:host(.small-tab) {\n height: 32px;\n padding: $default-space;\n}\n\n:host(.small-tab.icon) {\n padding: $default-space $tiny-space;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\n\nexport type TabClickDetail = {\n nativeEvent: MouseEvent;\n};\n\n@Component({\n tag: 'ix-tab-item',\n styleUrl: 'tab-item.scss',\n shadow: true,\n})\nexport class TabItem {\n /**\n * Set selected tab\n */\n @Prop() selected = false;\n\n /**\n * Set disabled tab\n */\n @Prop() disabled = false;\n\n /**\n * Set small size tab\n */\n @Prop() small = false;\n\n /**\n * Set icon only tab\n */\n @Prop() icon = false;\n\n /**\n * Set rounded tab\n */\n @Prop() rounded = false;\n\n /**\n * Set counter value\n */\n @Prop() counter: number;\n\n /**\n * Set layout width style\n */\n @Prop() layout: 'auto' | 'stretched' = 'auto';\n\n /**\n * Set selected placement\n */\n @Prop() placement: 'bottom' | 'top' = 'bottom';\n\n /**\n * On tab click\n *\n * @since 2.0.0\n */\n @Event() tabClick: EventEmitter<TabClickDetail>;\n\n private tabItemClasses(props: {\n selected: boolean;\n disabled: boolean;\n small: boolean;\n icon: boolean;\n circle: boolean;\n layout: 'auto' | 'stretched';\n placement: 'bottom' | 'top';\n }) {\n return {\n selected: props.selected,\n disabled: props.disabled,\n 'small-tab': props.small,\n icon: props.small,\n stretched: props.layout === 'stretched',\n bottom: props.placement === 'bottom',\n top: props.placement === 'top',\n circle: props.circle,\n };\n }\n\n render() {\n return (\n <Host\n class={this.tabItemClasses({\n selected: this.selected,\n disabled: this.disabled,\n small: this.small,\n icon: this.icon,\n layout: this.layout,\n placement: this.placement,\n circle: this.rounded,\n })}\n tabIndex={0}\n onClick={(event: MouseEvent) => {\n const clientEvent = this.tabClick.emit({\n nativeEvent: event,\n });\n\n if (clientEvent.defaultPrevented) {\n event.stopPropagation();\n }\n }}\n >\n <div\n class={{\n circle: this.rounded,\n text: !this.rounded,\n selected: this.selected,\n disabled: this.disabled,\n }}\n >\n <slot></slot>\n </div>\n <div\n class={{\n counter: true,\n selected: this.selected,\n hidden: !(this.rounded && this.counter !== undefined),\n disabled: this.disabled,\n }}\n >\n {this.counter}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}