@ukic/web-components 3.7.0 → 3.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (533) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-8217daf4.js → helpers-a0e78e2e.js} +31 -7
  3. package/dist/cjs/helpers-a0e78e2e.js.map +1 -0
  4. package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
  5. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  6. package/dist/cjs/ic-action-chip.cjs.entry.js +116 -0
  7. package/dist/cjs/ic-action-chip.cjs.entry.js.map +1 -0
  8. package/dist/cjs/ic-alert.cjs.entry.js +2 -2
  9. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  10. package/dist/cjs/ic-back-to-top.cjs.entry.js +4 -4
  11. package/dist/cjs/ic-badge.cjs.entry.js +4 -4
  12. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +3 -3
  14. package/dist/cjs/ic-breadcrumb.cjs.entry.js +3 -3
  15. package/dist/cjs/ic-button_3.cjs.entry.js +56 -96
  16. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-card-vertical.cjs.entry.js +5 -5
  18. package/dist/cjs/ic-checkbox-group.cjs.entry.js +3 -3
  19. package/dist/cjs/ic-checkbox.cjs.entry.js +6 -6
  20. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-chip.cjs.entry.js +13 -5
  22. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
  24. package/dist/cjs/ic-data-list.cjs.entry.js +3 -3
  25. package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -1
  26. package/dist/cjs/ic-data-row.cjs.entry.js +4 -4
  27. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  28. package/dist/cjs/ic-dialog.cjs.entry.js +2 -2
  29. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  30. package/dist/cjs/ic-empty-state.cjs.entry.js +3 -3
  31. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  32. package/dist/cjs/ic-footer-link.cjs.entry.js +3 -3
  33. package/dist/cjs/ic-footer.cjs.entry.js +4 -4
  34. package/dist/cjs/ic-hero.cjs.entry.js +5 -5
  35. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +6 -6
  36. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +9 -9
  37. package/dist/cjs/ic-input-label_2.cjs.entry.js +6 -6
  38. package/dist/cjs/ic-layout-grid-item.cjs.entry.js +70 -0
  39. package/dist/cjs/ic-layout-grid-item.cjs.entry.js.map +1 -0
  40. package/dist/cjs/ic-layout-grid.cjs.entry.js +156 -0
  41. package/dist/cjs/ic-layout-grid.cjs.entry.js.map +1 -0
  42. package/dist/cjs/ic-link.cjs.entry.js +2 -2
  43. package/dist/cjs/ic-menu-group.cjs.entry.js +2 -2
  44. package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
  45. package/dist/cjs/ic-navigation-button.cjs.entry.js +3 -3
  46. package/dist/cjs/ic-navigation-group.cjs.entry.js +3 -3
  47. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ic-navigation-item.cjs.entry.js +3 -3
  49. package/dist/cjs/ic-navigation-menu.cjs.entry.js +5 -5
  50. package/dist/cjs/ic-page-header.cjs.entry.js +7 -7
  51. package/dist/cjs/ic-pagination-item.cjs.entry.js +2 -2
  52. package/dist/cjs/ic-pagination.cjs.entry.js +5 -5
  53. package/dist/cjs/ic-popover-menu.cjs.entry.js +10 -6
  54. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-radio-group.cjs.entry.js +5 -5
  56. package/dist/cjs/ic-radio-option.cjs.entry.js +5 -5
  57. package/dist/cjs/ic-search-bar.cjs.entry.js +10 -10
  58. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  59. package/dist/cjs/ic-select.cjs.entry.js +7 -7
  60. package/dist/cjs/ic-side-navigation.cjs.entry.js +5 -5
  61. package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
  62. package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
  63. package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
  64. package/dist/cjs/ic-step.cjs.entry.js +14 -14
  65. package/dist/cjs/ic-stepper.cjs.entry.js +3 -3
  66. package/dist/cjs/ic-switch.cjs.entry.js +5 -5
  67. package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
  68. package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
  69. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  70. package/dist/cjs/ic-tab.cjs.entry.js +3 -3
  71. package/dist/cjs/ic-text-field.cjs.entry.js +7 -7
  72. package/dist/cjs/ic-theme.cjs.entry.js +2 -2
  73. package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
  74. package/dist/cjs/ic-toast.cjs.entry.js +5 -5
  75. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +3 -3
  77. package/dist/cjs/ic-toggle-button.cjs.entry.js +3 -3
  78. package/dist/cjs/ic-top-navigation.cjs.entry.js +5 -5
  79. package/dist/cjs/ic-typography.cjs.entry.js +3 -3
  80. package/dist/cjs/index-d337cd8a.js +12 -0
  81. package/dist/cjs/loader.cjs.js +1 -1
  82. package/dist/collection/assets/ai-icon.svg +11 -0
  83. package/dist/collection/collection-manifest.json +3 -0
  84. package/dist/collection/components/ic-action-chip/ic-action-chip.css +644 -0
  85. package/dist/collection/components/ic-action-chip/ic-action-chip.js +564 -0
  86. package/dist/collection/components/ic-action-chip/ic-action-chip.js.map +1 -0
  87. package/dist/collection/components/ic-action-chip/ic-action-chip.stories.js +386 -0
  88. package/dist/collection/components/ic-alert/ic-alert.css +13 -0
  89. package/dist/collection/components/ic-alert/ic-alert.js +1 -1
  90. package/dist/collection/components/ic-alert/ic-alert.stories.js +7 -2
  91. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +3 -3
  92. package/dist/collection/components/ic-badge/ic-badge.css +4 -0
  93. package/dist/collection/components/ic-badge/ic-badge.js +3 -3
  94. package/dist/collection/components/ic-badge/ic-badge.stories.js +98 -0
  95. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +2 -2
  96. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +2 -2
  97. package/dist/collection/components/ic-button/ic-button.css +3 -11
  98. package/dist/collection/components/ic-button/ic-button.js +33 -12
  99. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  100. package/dist/collection/components/ic-button/ic-button.stories.js +181 -2
  101. package/dist/collection/components/ic-card-vertical/ic-card-vertical.js +4 -4
  102. package/dist/collection/components/ic-checkbox/ic-checkbox.css +1 -0
  103. package/dist/collection/components/ic-checkbox/ic-checkbox.js +4 -4
  104. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +2 -2
  105. package/dist/collection/components/ic-chip/ic-chip.css +3 -3
  106. package/dist/collection/components/ic-chip/ic-chip.js +12 -4
  107. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  108. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +2 -2
  109. package/dist/collection/components/ic-data-list/ic-data-list.css +5 -0
  110. package/dist/collection/components/ic-data-list/ic-data-list.js +2 -2
  111. package/dist/collection/components/ic-data-list/ic-data-list.stories.js +50 -0
  112. package/dist/collection/components/ic-data-row/ic-data-row.css +3 -1
  113. package/dist/collection/components/ic-data-row/ic-data-row.js +2 -2
  114. package/dist/collection/components/ic-dialog/ic-dialog.js +1 -1
  115. package/dist/collection/components/ic-dialog/ic-dialog.stories.js +31 -4
  116. package/dist/collection/components/ic-empty-state/ic-empty-state.js +2 -2
  117. package/dist/collection/components/ic-footer/ic-footer.js +3 -3
  118. package/dist/collection/components/ic-footer-link/ic-footer-link.js +2 -2
  119. package/dist/collection/components/ic-hero/ic-hero.js +4 -4
  120. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +5 -5
  121. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +3 -3
  122. package/dist/collection/components/ic-input-container/ic-input-container.js +2 -2
  123. package/dist/collection/components/ic-input-label/ic-input-label.js +2 -2
  124. package/dist/collection/components/ic-input-validation/ic-input-validation.js +3 -3
  125. package/dist/collection/components/ic-layout-grid/ic-layout-grid.css +540 -0
  126. package/dist/collection/components/ic-layout-grid/ic-layout-grid.js +377 -0
  127. package/dist/collection/components/ic-layout-grid/ic-layout-grid.js.map +1 -0
  128. package/dist/collection/components/ic-layout-grid/ic-layout-grid.stories.js +429 -0
  129. package/dist/collection/components/ic-layout-grid/ic-layout-grid.types.js +2 -0
  130. package/dist/collection/components/ic-layout-grid/ic-layout-grid.types.js.map +1 -0
  131. package/dist/collection/components/ic-layout-grid-item/ic-layout-grid-item.css +12 -0
  132. package/dist/collection/components/ic-layout-grid-item/ic-layout-grid-item.js +182 -0
  133. package/dist/collection/components/ic-layout-grid-item/ic-layout-grid-item.js.map +1 -0
  134. package/dist/collection/components/ic-link/ic-link.js +1 -1
  135. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +5 -5
  136. package/dist/collection/components/ic-menu/ic-menu.js +3 -3
  137. package/dist/collection/components/ic-menu-group/ic-menu-group.js +1 -1
  138. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +2 -2
  139. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +2 -0
  140. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +1 -1
  141. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +2 -2
  142. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +4 -4
  143. package/dist/collection/components/ic-page-header/ic-page-header.js +6 -6
  144. package/dist/collection/components/ic-pagination/ic-pagination.js +4 -4
  145. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +1 -1
  146. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +29 -5
  147. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
  148. package/dist/collection/components/ic-popover-menu/ic-popover-menu.stories.js +94 -0
  149. package/dist/collection/components/ic-radio-group/ic-radio-group.js +4 -4
  150. package/dist/collection/components/ic-radio-option/ic-radio-option.js +4 -4
  151. package/dist/collection/components/ic-search-bar/ic-search-bar.js +9 -9
  152. package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
  153. package/dist/collection/components/ic-select/ic-select.js +6 -6
  154. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +4 -4
  155. package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
  156. package/dist/collection/components/ic-skip-link/ic-skip-link.js +2 -2
  157. package/dist/collection/components/ic-status-tag/ic-status-tag.js +2 -2
  158. package/dist/collection/components/ic-step/ic-step.js +13 -13
  159. package/dist/collection/components/ic-stepper/ic-stepper.js +2 -2
  160. package/dist/collection/components/ic-switch/ic-switch.js +4 -4
  161. package/dist/collection/components/ic-tab/ic-tab.js +2 -2
  162. package/dist/collection/components/ic-tab-context/ic-tab-context.js +1 -1
  163. package/dist/collection/components/ic-tab-group/ic-tab-group.js +2 -2
  164. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +2 -2
  165. package/dist/collection/components/ic-text-field/ic-text-field.js +6 -6
  166. package/dist/collection/components/ic-theme/ic-theme.js +1 -1
  167. package/dist/collection/components/ic-toast/ic-toast.css +8 -0
  168. package/dist/collection/components/ic-toast/ic-toast.js +4 -4
  169. package/dist/collection/components/ic-toast/ic-toast.stories.js +2 -2
  170. package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -1
  171. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +2 -2
  172. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +2 -2
  173. package/dist/collection/components/ic-tooltip/ic-tooltip.css +2 -5
  174. package/dist/collection/components/ic-tooltip/ic-tooltip.js +57 -78
  175. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  176. package/dist/collection/components/ic-tooltip/ic-tooltip.stories.js +38 -0
  177. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +4 -4
  178. package/dist/collection/components/ic-typography/ic-typography.js +2 -2
  179. package/dist/collection/utils/constants.js +5 -0
  180. package/dist/collection/utils/constants.js.map +1 -1
  181. package/dist/collection/utils/helpers.js +14 -6
  182. package/dist/collection/utils/helpers.js.map +1 -1
  183. package/dist/collection/utils/types.js.map +1 -1
  184. package/dist/components/helpers.js +31 -7
  185. package/dist/components/helpers.js.map +1 -1
  186. package/dist/components/ic-action-chip.d.ts +11 -0
  187. package/dist/components/ic-action-chip.js +160 -0
  188. package/dist/components/ic-action-chip.js.map +1 -0
  189. package/dist/components/ic-alert.js +1 -1
  190. package/dist/components/ic-alert.js.map +1 -1
  191. package/dist/components/ic-back-to-top.js +4 -4
  192. package/dist/components/ic-back-to-top.js.map +1 -1
  193. package/dist/components/ic-badge.js +4 -4
  194. package/dist/components/ic-badge.js.map +1 -1
  195. package/dist/components/ic-breadcrumb-group.js +3 -3
  196. package/dist/components/ic-breadcrumb2.js +3 -3
  197. package/dist/components/ic-button2.js +15 -13
  198. package/dist/components/ic-button2.js.map +1 -1
  199. package/dist/components/ic-card-vertical.js +4 -4
  200. package/dist/components/ic-checkbox-group.js +3 -3
  201. package/dist/components/ic-checkbox.js +6 -6
  202. package/dist/components/ic-checkbox.js.map +1 -1
  203. package/dist/components/ic-chip.js +13 -5
  204. package/dist/components/ic-chip.js.map +1 -1
  205. package/dist/components/ic-classification-banner.js +2 -2
  206. package/dist/components/ic-data-list.js +3 -3
  207. package/dist/components/ic-data-list.js.map +1 -1
  208. package/dist/components/ic-data-row.js +4 -4
  209. package/dist/components/ic-data-row.js.map +1 -1
  210. package/dist/components/ic-dialog.js +2 -2
  211. package/dist/components/ic-divider2.js +1 -1
  212. package/dist/components/ic-empty-state.js +2 -2
  213. package/dist/components/ic-footer-link-group.js +1 -1
  214. package/dist/components/ic-footer-link.js +3 -3
  215. package/dist/components/ic-footer.js +4 -4
  216. package/dist/components/ic-hero.js +5 -5
  217. package/dist/components/ic-horizontal-scroll2.js +6 -6
  218. package/dist/components/ic-input-component-container2.js +4 -4
  219. package/dist/components/ic-input-container2.js +2 -2
  220. package/dist/components/ic-input-label2.js +3 -3
  221. package/dist/components/ic-input-validation2.js +4 -4
  222. package/dist/components/ic-layout-grid-item.d.ts +11 -0
  223. package/dist/components/ic-layout-grid-item.js +95 -0
  224. package/dist/components/ic-layout-grid-item.js.map +1 -0
  225. package/dist/components/ic-layout-grid.d.ts +11 -0
  226. package/dist/components/ic-layout-grid.js +188 -0
  227. package/dist/components/ic-layout-grid.js.map +1 -0
  228. package/dist/components/ic-link2.js +1 -1
  229. package/dist/components/ic-loading-indicator2.js +5 -5
  230. package/dist/components/ic-menu-group.js +2 -2
  231. package/dist/components/ic-menu-item2.js +1 -1
  232. package/dist/components/ic-menu2.js +4 -4
  233. package/dist/components/ic-navigation-button.js +3 -3
  234. package/dist/components/ic-navigation-group.js +3 -3
  235. package/dist/components/ic-navigation-group.js.map +1 -1
  236. package/dist/components/ic-navigation-item.js +3 -3
  237. package/dist/components/ic-navigation-menu2.js +5 -5
  238. package/dist/components/ic-page-header.js +7 -7
  239. package/dist/components/ic-pagination-item2.js +2 -2
  240. package/dist/components/ic-pagination.js +4 -4
  241. package/dist/components/ic-pagination.js.map +1 -1
  242. package/dist/components/ic-popover-menu.js +11 -6
  243. package/dist/components/ic-popover-menu.js.map +1 -1
  244. package/dist/components/ic-radio-group.js +5 -5
  245. package/dist/components/ic-radio-group.js.map +1 -1
  246. package/dist/components/ic-radio-option.js +5 -5
  247. package/dist/components/ic-radio-option.js.map +1 -1
  248. package/dist/components/ic-search-bar.js +10 -10
  249. package/dist/components/ic-section-container2.js +2 -2
  250. package/dist/components/ic-select.js +7 -7
  251. package/dist/components/ic-side-navigation.js +5 -5
  252. package/dist/components/ic-skeleton.js +2 -2
  253. package/dist/components/ic-skip-link.js +2 -2
  254. package/dist/components/ic-status-tag.js +2 -2
  255. package/dist/components/ic-status-tag.js.map +1 -1
  256. package/dist/components/ic-step.js +14 -14
  257. package/dist/components/ic-stepper.js +2 -2
  258. package/dist/components/ic-switch.js +5 -5
  259. package/dist/components/ic-tab-context.js +1 -1
  260. package/dist/components/ic-tab-group.js +2 -2
  261. package/dist/components/ic-tab-panel.js +2 -2
  262. package/dist/components/ic-tab.js +2 -2
  263. package/dist/components/ic-tab.js.map +1 -1
  264. package/dist/components/ic-text-field.js +7 -7
  265. package/dist/components/ic-theme.js +2 -2
  266. package/dist/components/ic-toast-region.js +1 -1
  267. package/dist/components/ic-toast.js +5 -5
  268. package/dist/components/ic-toast.js.map +1 -1
  269. package/dist/components/ic-toggle-button-group.js +2 -2
  270. package/dist/components/ic-toggle-button.js +2 -2
  271. package/dist/components/ic-tooltip2.js +39 -79
  272. package/dist/components/ic-tooltip2.js.map +1 -1
  273. package/dist/components/ic-top-navigation.js +5 -5
  274. package/dist/components/ic-typography2.js +2 -2
  275. package/dist/core/core.css +236 -16
  276. package/dist/core/core.esm.js +1 -1
  277. package/dist/core/core.esm.js.map +1 -1
  278. package/dist/core/p-0d680d19.entry.js +2 -0
  279. package/dist/core/p-0d680d19.entry.js.map +1 -0
  280. package/dist/core/{p-06e80441.entry.js → p-15dbccc2.entry.js} +2 -2
  281. package/dist/core/{p-91f6884a.entry.js → p-19cf2327.entry.js} +2 -2
  282. package/dist/core/{p-4b6818d9.entry.js → p-1cc402b8.entry.js} +2 -2
  283. package/dist/core/p-1d37ac1c.entry.js +2 -0
  284. package/dist/core/p-1d37ac1c.entry.js.map +1 -0
  285. package/dist/core/{p-182b7037.entry.js → p-1e2f40b0.entry.js} +2 -2
  286. package/dist/core/{p-9d5e4b62.entry.js → p-21cf2beb.entry.js} +2 -2
  287. package/dist/core/p-25007ec9.js +2 -0
  288. package/dist/core/p-25007ec9.js.map +1 -0
  289. package/dist/core/{p-fc5661ac.entry.js → p-287e5c17.entry.js} +2 -2
  290. package/dist/core/{p-543b90c5.entry.js → p-28efe829.entry.js} +2 -2
  291. package/dist/core/{p-fb6e6ac4.entry.js → p-2f4f392f.entry.js} +2 -2
  292. package/dist/core/{p-4301e11e.entry.js → p-313a8a2f.entry.js} +2 -2
  293. package/dist/core/p-317e005f.entry.js +2 -0
  294. package/dist/core/{p-ff47772c.entry.js.map → p-317e005f.entry.js.map} +1 -1
  295. package/dist/core/{p-f4ee5fbb.entry.js → p-3dc54847.entry.js} +2 -2
  296. package/dist/core/{p-0549305b.entry.js → p-3e5d7a3d.entry.js} +2 -2
  297. package/dist/core/p-41ef74a7.entry.js +2 -0
  298. package/dist/core/p-41ef74a7.entry.js.map +1 -0
  299. package/dist/core/{p-ae2ea264.entry.js → p-41f92698.entry.js} +2 -2
  300. package/dist/core/p-43324339.entry.js +2 -0
  301. package/dist/core/p-43324339.entry.js.map +1 -0
  302. package/dist/core/{p-9e051db4.entry.js → p-45dd12ee.entry.js} +2 -2
  303. package/dist/core/{p-018eaee0.entry.js → p-493eaabb.entry.js} +2 -2
  304. package/dist/core/{p-a591ef38.entry.js → p-4ca782eb.entry.js} +2 -2
  305. package/dist/core/{p-056be0df.entry.js → p-4d1a3036.entry.js} +2 -2
  306. package/dist/core/p-52748d5c.entry.js +2 -0
  307. package/dist/core/p-52748d5c.entry.js.map +1 -0
  308. package/dist/core/p-595a4d06.entry.js +2 -0
  309. package/dist/core/p-595a4d06.entry.js.map +1 -0
  310. package/dist/core/p-5daa7915.entry.js +2 -0
  311. package/dist/core/{p-02132a4c.entry.js.map → p-5daa7915.entry.js.map} +1 -1
  312. package/dist/core/{p-421b5f2d.entry.js → p-5f68f62b.entry.js} +2 -2
  313. package/dist/core/{p-d281c3cf.entry.js → p-5fbc8e62.entry.js} +2 -2
  314. package/dist/core/{p-06b0d0f6.entry.js → p-6014ab64.entry.js} +2 -2
  315. package/dist/core/{p-afde0edc.entry.js → p-661ae402.entry.js} +2 -2
  316. package/dist/core/{p-a2ae5d9e.entry.js → p-6a576a8b.entry.js} +2 -2
  317. package/dist/core/{p-b1b27b7e.entry.js → p-6e8ef73c.entry.js} +2 -2
  318. package/dist/core/p-6ed0ac48.entry.js +2 -0
  319. package/dist/core/{p-3194e46c.entry.js.map → p-6ed0ac48.entry.js.map} +1 -1
  320. package/dist/core/p-711bfeed.entry.js +2 -0
  321. package/dist/core/p-711bfeed.entry.js.map +1 -0
  322. package/dist/core/{p-2ec0d11c.entry.js → p-72a9909c.entry.js} +2 -2
  323. package/dist/core/{p-f9491692.entry.js → p-742a9181.entry.js} +2 -2
  324. package/dist/core/p-7cd4f6a6.entry.js +2 -0
  325. package/dist/core/{p-773ded36.entry.js.map → p-7cd4f6a6.entry.js.map} +1 -1
  326. package/dist/core/{p-152ddde9.entry.js → p-8a4b12e4.entry.js} +2 -2
  327. package/dist/core/{p-3448c713.entry.js → p-8b5022bc.entry.js} +2 -2
  328. package/dist/core/{p-ce916f35.entry.js → p-9323c234.entry.js} +2 -2
  329. package/dist/core/{p-50d13439.entry.js → p-948f89a0.entry.js} +2 -2
  330. package/dist/core/p-97b93ddf.entry.js +2 -0
  331. package/dist/core/p-97b93ddf.entry.js.map +1 -0
  332. package/dist/core/{p-0f86ea09.entry.js → p-999f0a5d.entry.js} +2 -2
  333. package/dist/core/p-999f0a5d.entry.js.map +1 -0
  334. package/dist/core/{p-ba89fa16.entry.js → p-9c013333.entry.js} +2 -2
  335. package/dist/core/{p-b83cca09.entry.js → p-9eeb5e85.entry.js} +2 -2
  336. package/dist/core/{p-0179fbd3.entry.js → p-9f36791b.entry.js} +2 -2
  337. package/dist/core/{p-8a5b0fb0.entry.js → p-a602a8e1.entry.js} +2 -2
  338. package/dist/core/{p-98869fe7.entry.js → p-a77364f5.entry.js} +2 -2
  339. package/dist/core/{p-6b52e47f.entry.js → p-af9c391d.entry.js} +2 -2
  340. package/dist/core/{p-77750efc.entry.js → p-b0d488d0.entry.js} +2 -2
  341. package/dist/core/p-b25d33d8.entry.js +2 -0
  342. package/dist/core/{p-627f7172.entry.js.map → p-b25d33d8.entry.js.map} +1 -1
  343. package/dist/core/{p-cd8dab55.entry.js → p-b52000d9.entry.js} +2 -2
  344. package/dist/core/p-cbe0d1bb.entry.js +2 -0
  345. package/dist/core/{p-ec1657fc.entry.js.map → p-cbe0d1bb.entry.js.map} +1 -1
  346. package/dist/core/p-ceea1712.entry.js +2 -0
  347. package/dist/core/p-ceea1712.entry.js.map +1 -0
  348. package/dist/core/p-cf631191.entry.js +2 -0
  349. package/dist/core/{p-6dd73165.entry.js → p-df88ff5b.entry.js} +2 -2
  350. package/dist/core/{p-bb21268f.entry.js → p-e652ab09.entry.js} +2 -2
  351. package/dist/core/{p-29468171.entry.js → p-e876e47c.entry.js} +2 -2
  352. package/dist/core/p-ea061ccf.entry.js +2 -0
  353. package/dist/core/p-ea061ccf.entry.js.map +1 -0
  354. package/dist/core/{p-ab1103e1.entry.js → p-ea778379.entry.js} +2 -2
  355. package/dist/core/{p-948086f4.entry.js → p-ef4b5469.entry.js} +2 -2
  356. package/dist/core/p-f309d3af.entry.js +2 -0
  357. package/dist/core/{p-554c555f.entry.js.map → p-f309d3af.entry.js.map} +1 -1
  358. package/dist/core/{p-9ed5f11d.entry.js → p-f6a02202.entry.js} +2 -2
  359. package/dist/core/p-fc3b1155.entry.js +2 -0
  360. package/dist/core/p-fc3b1155.entry.js.map +1 -0
  361. package/dist/core/p-ffac41d6.entry.js +2 -0
  362. package/dist/core/p-ffac41d6.entry.js.map +1 -0
  363. package/dist/esm/core.js +1 -1
  364. package/dist/esm/{helpers-f5ff3b42.js → helpers-56631aa0.js} +32 -8
  365. package/dist/esm/helpers-56631aa0.js.map +1 -0
  366. package/dist/esm/ic-accordion-group.entry.js +1 -1
  367. package/dist/esm/ic-accordion.entry.js +1 -1
  368. package/dist/esm/ic-action-chip.entry.js +112 -0
  369. package/dist/esm/ic-action-chip.entry.js.map +1 -0
  370. package/dist/esm/ic-alert.entry.js +2 -2
  371. package/dist/esm/ic-alert.entry.js.map +1 -1
  372. package/dist/esm/ic-back-to-top.entry.js +4 -4
  373. package/dist/esm/ic-badge.entry.js +4 -4
  374. package/dist/esm/ic-badge.entry.js.map +1 -1
  375. package/dist/esm/ic-breadcrumb-group.entry.js +3 -3
  376. package/dist/esm/ic-breadcrumb.entry.js +3 -3
  377. package/dist/esm/ic-button_3.entry.js +56 -96
  378. package/dist/esm/ic-button_3.entry.js.map +1 -1
  379. package/dist/esm/ic-card-vertical.entry.js +5 -5
  380. package/dist/esm/ic-checkbox-group.entry.js +3 -3
  381. package/dist/esm/ic-checkbox.entry.js +6 -6
  382. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  383. package/dist/esm/ic-chip.entry.js +13 -5
  384. package/dist/esm/ic-chip.entry.js.map +1 -1
  385. package/dist/esm/ic-classification-banner.entry.js +2 -2
  386. package/dist/esm/ic-data-list.entry.js +3 -3
  387. package/dist/esm/ic-data-list.entry.js.map +1 -1
  388. package/dist/esm/ic-data-row.entry.js +4 -4
  389. package/dist/esm/ic-data-row.entry.js.map +1 -1
  390. package/dist/esm/ic-dialog.entry.js +2 -2
  391. package/dist/esm/ic-divider.entry.js +1 -1
  392. package/dist/esm/ic-empty-state.entry.js +3 -3
  393. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  394. package/dist/esm/ic-footer-link.entry.js +3 -3
  395. package/dist/esm/ic-footer.entry.js +4 -4
  396. package/dist/esm/ic-hero.entry.js +5 -5
  397. package/dist/esm/ic-horizontal-scroll.entry.js +6 -6
  398. package/dist/esm/ic-input-component-container_3.entry.js +9 -9
  399. package/dist/esm/ic-input-label_2.entry.js +6 -6
  400. package/dist/esm/ic-layout-grid-item.entry.js +66 -0
  401. package/dist/esm/ic-layout-grid-item.entry.js.map +1 -0
  402. package/dist/esm/ic-layout-grid.entry.js +152 -0
  403. package/dist/esm/ic-layout-grid.entry.js.map +1 -0
  404. package/dist/esm/ic-link.entry.js +2 -2
  405. package/dist/esm/ic-menu-group.entry.js +2 -2
  406. package/dist/esm/ic-menu-item.entry.js +1 -1
  407. package/dist/esm/ic-navigation-button.entry.js +3 -3
  408. package/dist/esm/ic-navigation-group.entry.js +3 -3
  409. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  410. package/dist/esm/ic-navigation-item.entry.js +3 -3
  411. package/dist/esm/ic-navigation-menu.entry.js +5 -5
  412. package/dist/esm/ic-page-header.entry.js +7 -7
  413. package/dist/esm/ic-pagination-item.entry.js +2 -2
  414. package/dist/esm/ic-pagination.entry.js +5 -5
  415. package/dist/esm/ic-popover-menu.entry.js +10 -6
  416. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  417. package/dist/esm/ic-radio-group.entry.js +5 -5
  418. package/dist/esm/ic-radio-option.entry.js +5 -5
  419. package/dist/esm/ic-search-bar.entry.js +10 -10
  420. package/dist/esm/ic-section-container.entry.js +2 -2
  421. package/dist/esm/ic-select.entry.js +7 -7
  422. package/dist/esm/ic-side-navigation.entry.js +5 -5
  423. package/dist/esm/ic-skeleton.entry.js +2 -2
  424. package/dist/esm/ic-skip-link.entry.js +2 -2
  425. package/dist/esm/ic-status-tag.entry.js +3 -3
  426. package/dist/esm/ic-step.entry.js +14 -14
  427. package/dist/esm/ic-stepper.entry.js +3 -3
  428. package/dist/esm/ic-switch.entry.js +5 -5
  429. package/dist/esm/ic-tab-context.entry.js +1 -1
  430. package/dist/esm/ic-tab-group.entry.js +3 -3
  431. package/dist/esm/ic-tab-panel.entry.js +2 -2
  432. package/dist/esm/ic-tab.entry.js +3 -3
  433. package/dist/esm/ic-text-field.entry.js +7 -7
  434. package/dist/esm/ic-theme.entry.js +2 -2
  435. package/dist/esm/ic-toast-region.entry.js +1 -1
  436. package/dist/esm/ic-toast.entry.js +5 -5
  437. package/dist/esm/ic-toast.entry.js.map +1 -1
  438. package/dist/esm/ic-toggle-button-group.entry.js +3 -3
  439. package/dist/esm/ic-toggle-button.entry.js +3 -3
  440. package/dist/esm/ic-top-navigation.entry.js +5 -5
  441. package/dist/esm/ic-typography.entry.js +3 -3
  442. package/dist/esm/index-a7a720e7.js +12 -0
  443. package/dist/esm/loader.js +1 -1
  444. package/dist/types/components/ic-action-chip/ic-action-chip.d.ts +100 -0
  445. package/dist/types/components/ic-button/ic-button.d.ts +4 -0
  446. package/dist/types/components/ic-chip/ic-chip.d.ts +2 -0
  447. package/dist/types/components/ic-layout-grid/ic-layout-grid.d.ts +56 -0
  448. package/dist/types/components/ic-layout-grid/ic-layout-grid.types.d.ts +8 -0
  449. package/dist/types/components/ic-layout-grid-item/ic-layout-grid-item.d.ts +29 -0
  450. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +4 -0
  451. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +5 -4
  452. package/dist/types/components.d.ts +343 -2
  453. package/dist/types/utils/constants.d.ts +4 -0
  454. package/dist/types/utils/helpers.d.ts +3 -3
  455. package/dist/types/utils/types.d.ts +1 -1
  456. package/hydrate/index.js +659 -278
  457. package/hydrate/index.mjs +659 -278
  458. package/package.json +2 -2
  459. package/vscode-data.json +270 -0
  460. package/dist/cjs/helpers-8217daf4.js.map +0 -1
  461. package/dist/core/p-02132a4c.entry.js +0 -2
  462. package/dist/core/p-08567369.entry.js +0 -2
  463. package/dist/core/p-08567369.entry.js.map +0 -1
  464. package/dist/core/p-0f86ea09.entry.js.map +0 -1
  465. package/dist/core/p-3194e46c.entry.js +0 -2
  466. package/dist/core/p-43b98687.entry.js +0 -2
  467. package/dist/core/p-43b98687.entry.js.map +0 -1
  468. package/dist/core/p-4b8bfb59.entry.js +0 -2
  469. package/dist/core/p-4b8bfb59.entry.js.map +0 -1
  470. package/dist/core/p-4cd83bfe.entry.js +0 -2
  471. package/dist/core/p-4cd83bfe.entry.js.map +0 -1
  472. package/dist/core/p-554c555f.entry.js +0 -2
  473. package/dist/core/p-5fb58cc8.entry.js +0 -2
  474. package/dist/core/p-5fb58cc8.entry.js.map +0 -1
  475. package/dist/core/p-627f7172.entry.js +0 -2
  476. package/dist/core/p-70abcb2b.js +0 -2
  477. package/dist/core/p-70abcb2b.js.map +0 -1
  478. package/dist/core/p-773ded36.entry.js +0 -2
  479. package/dist/core/p-7cada631.entry.js +0 -2
  480. package/dist/core/p-7cada631.entry.js.map +0 -1
  481. package/dist/core/p-939adcae.entry.js +0 -2
  482. package/dist/core/p-939adcae.entry.js.map +0 -1
  483. package/dist/core/p-97f67617.entry.js +0 -2
  484. package/dist/core/p-97f67617.entry.js.map +0 -1
  485. package/dist/core/p-c100724d.entry.js +0 -2
  486. package/dist/core/p-d85b438a.entry.js +0 -2
  487. package/dist/core/p-d85b438a.entry.js.map +0 -1
  488. package/dist/core/p-ec1657fc.entry.js +0 -2
  489. package/dist/core/p-ff47772c.entry.js +0 -2
  490. package/dist/esm/helpers-f5ff3b42.js.map +0 -1
  491. /package/dist/core/{p-06e80441.entry.js.map → p-15dbccc2.entry.js.map} +0 -0
  492. /package/dist/core/{p-91f6884a.entry.js.map → p-19cf2327.entry.js.map} +0 -0
  493. /package/dist/core/{p-4b6818d9.entry.js.map → p-1cc402b8.entry.js.map} +0 -0
  494. /package/dist/core/{p-182b7037.entry.js.map → p-1e2f40b0.entry.js.map} +0 -0
  495. /package/dist/core/{p-9d5e4b62.entry.js.map → p-21cf2beb.entry.js.map} +0 -0
  496. /package/dist/core/{p-fc5661ac.entry.js.map → p-287e5c17.entry.js.map} +0 -0
  497. /package/dist/core/{p-543b90c5.entry.js.map → p-28efe829.entry.js.map} +0 -0
  498. /package/dist/core/{p-fb6e6ac4.entry.js.map → p-2f4f392f.entry.js.map} +0 -0
  499. /package/dist/core/{p-4301e11e.entry.js.map → p-313a8a2f.entry.js.map} +0 -0
  500. /package/dist/core/{p-f4ee5fbb.entry.js.map → p-3dc54847.entry.js.map} +0 -0
  501. /package/dist/core/{p-0549305b.entry.js.map → p-3e5d7a3d.entry.js.map} +0 -0
  502. /package/dist/core/{p-ae2ea264.entry.js.map → p-41f92698.entry.js.map} +0 -0
  503. /package/dist/core/{p-9e051db4.entry.js.map → p-45dd12ee.entry.js.map} +0 -0
  504. /package/dist/core/{p-018eaee0.entry.js.map → p-493eaabb.entry.js.map} +0 -0
  505. /package/dist/core/{p-a591ef38.entry.js.map → p-4ca782eb.entry.js.map} +0 -0
  506. /package/dist/core/{p-056be0df.entry.js.map → p-4d1a3036.entry.js.map} +0 -0
  507. /package/dist/core/{p-421b5f2d.entry.js.map → p-5f68f62b.entry.js.map} +0 -0
  508. /package/dist/core/{p-d281c3cf.entry.js.map → p-5fbc8e62.entry.js.map} +0 -0
  509. /package/dist/core/{p-06b0d0f6.entry.js.map → p-6014ab64.entry.js.map} +0 -0
  510. /package/dist/core/{p-afde0edc.entry.js.map → p-661ae402.entry.js.map} +0 -0
  511. /package/dist/core/{p-a2ae5d9e.entry.js.map → p-6a576a8b.entry.js.map} +0 -0
  512. /package/dist/core/{p-b1b27b7e.entry.js.map → p-6e8ef73c.entry.js.map} +0 -0
  513. /package/dist/core/{p-2ec0d11c.entry.js.map → p-72a9909c.entry.js.map} +0 -0
  514. /package/dist/core/{p-f9491692.entry.js.map → p-742a9181.entry.js.map} +0 -0
  515. /package/dist/core/{p-152ddde9.entry.js.map → p-8a4b12e4.entry.js.map} +0 -0
  516. /package/dist/core/{p-3448c713.entry.js.map → p-8b5022bc.entry.js.map} +0 -0
  517. /package/dist/core/{p-ce916f35.entry.js.map → p-9323c234.entry.js.map} +0 -0
  518. /package/dist/core/{p-50d13439.entry.js.map → p-948f89a0.entry.js.map} +0 -0
  519. /package/dist/core/{p-ba89fa16.entry.js.map → p-9c013333.entry.js.map} +0 -0
  520. /package/dist/core/{p-b83cca09.entry.js.map → p-9eeb5e85.entry.js.map} +0 -0
  521. /package/dist/core/{p-0179fbd3.entry.js.map → p-9f36791b.entry.js.map} +0 -0
  522. /package/dist/core/{p-8a5b0fb0.entry.js.map → p-a602a8e1.entry.js.map} +0 -0
  523. /package/dist/core/{p-98869fe7.entry.js.map → p-a77364f5.entry.js.map} +0 -0
  524. /package/dist/core/{p-6b52e47f.entry.js.map → p-af9c391d.entry.js.map} +0 -0
  525. /package/dist/core/{p-77750efc.entry.js.map → p-b0d488d0.entry.js.map} +0 -0
  526. /package/dist/core/{p-cd8dab55.entry.js.map → p-b52000d9.entry.js.map} +0 -0
  527. /package/dist/core/{p-c100724d.entry.js.map → p-cf631191.entry.js.map} +0 -0
  528. /package/dist/core/{p-6dd73165.entry.js.map → p-df88ff5b.entry.js.map} +0 -0
  529. /package/dist/core/{p-bb21268f.entry.js.map → p-e652ab09.entry.js.map} +0 -0
  530. /package/dist/core/{p-29468171.entry.js.map → p-e876e47c.entry.js.map} +0 -0
  531. /package/dist/core/{p-ab1103e1.entry.js.map → p-ea778379.entry.js.map} +0 -0
  532. /package/dist/core/{p-948086f4.entry.js.map → p-ef4b5469.entry.js.map} +0 -0
  533. /package/dist/core/{p-9ed5f11d.entry.js.map → p-f6a02202.entry.js.map} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
2
- import { W as checkSlotInChildMutations, S as getLabelFromValue, R as getFilteredMenuOptions, K as getOptionsWithoutGroupTitlesCount, r as removeDisabledFalse, s as removeFormResetListener, b as inheritAttributes, q as addFormResetListener, o as onComponentRequiredPropUndefined, t as renderHiddenInput, v as getInputDescribedByText, w as hasValidationStatus, i as isSlotUsed, X as isMobileOrTablet, I as IC_INHERITED_ARIA, z as IcInformationStatus } from './helpers.js';
2
+ import { W as checkSlotInChildMutations, T as getLabelFromValue, S as getFilteredMenuOptions, L as getOptionsWithoutGroupTitlesCount, r as removeDisabledFalse, t as removeFormResetListener, b as inheritAttributes, s as addFormResetListener, o as onComponentRequiredPropUndefined, u as renderHiddenInput, w as getInputDescribedByText, x as hasValidationStatus, i as isSlotUsed, X as isMobileOrTablet, I as IC_INHERITED_ARIA, A as IcInformationStatus } from './helpers.js';
3
3
  import { d as defineCustomElement$a } from './ic-button2.js';
4
4
  import { d as defineCustomElement$9 } from './ic-input-component-container2.js';
5
5
  import { d as defineCustomElement$8 } from './ic-input-container2.js';
@@ -812,18 +812,18 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
812
812
  (searchable
813
813
  ? !!searchableSelectInputValue
814
814
  : !!currValue && !loading && showClearButton);
815
- return (h(Host, { key: '4772c66e1053f7c19cafff3753af54715eab05d9', class: {
815
+ return (h(Host, { key: '7b99a667632c04cccbe465f90c4f5a9436ed04e2', class: {
816
816
  "ic-select-disabled": disabled,
817
817
  "ic-select-searchable": searchable,
818
818
  [`ic-select-${size}`]: size !== "medium",
819
819
  "ic-select-full-width": fullWidth,
820
820
  [`ic-theme-${theme}`]: theme !== "inherit",
821
- }, onBlur: this.onBlur }, h("ic-input-container", { key: '8d4a5a0b53f01cc6740b9fc1f5fa0805e45c8169', readonly: readonly }, !hideLabel && (h("ic-input-label", { key: '37e19194734f052932dd6ac7c56994f67802a1bd', for: inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly }, h("slot", { key: '3b27f513ffc78d514c7695b1e5941041837efd55', name: "helper-text", slot: "helper-text" }))), h("ic-input-component-container", { key: 'a5bf5d711e23862ec08fb8f8e85ce0beec436ccc', ref: (el) => (this.anchorEl = el), class: { "menu-open": open }, size: size, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, isSlotUsed(this.el, "icon") &&
821
+ }, onBlur: this.onBlur }, h("ic-input-container", { key: 'be3746b8ac59d37562999157b5b70fbc5fb6cc18', readonly: readonly }, !hideLabel && (h("ic-input-label", { key: 'ccb2417565197ba5d71ce4ed25c2951a042bdcab', for: inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly }, h("slot", { key: 'eec64f5e410f4bbdfbea7afd23f8fd3bc4592429', name: "helper-text", slot: "helper-text" }))), h("ic-input-component-container", { key: '1b059596836c96987edadd6b0ec5a46c057e5fb6', ref: (el) => (this.anchorEl = el), class: { "menu-open": open }, size: size, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, isSlotUsed(this.el, "icon") &&
822
822
  !disabled &&
823
- (!readonly || !!value) && (h("span", { key: '42fc8c78302cde968d3c96ad72c9aac66652829e', slot: "left-icon", class: {
823
+ (!readonly || !!value) && (h("span", { key: '594527db6666a07c89038b173b1abd7e4191efc5', slot: "left-icon", class: {
824
824
  readonly,
825
825
  "has-value": !!value,
826
- } }, h("slot", { key: '0cf7160335785716303e4e2e602be1a2d975098e', name: "icon" }))), readonly ? (h("ic-typography", null, h("p", null, valueLabelString))) : isMobileOrTablet() && !multiple ? (h("select", Object.assign({ ref: (el) => (this.nativeSelectElement = el), disabled: disabled, onChange: this.handleNativeSelectChange, required: required, id: inputId, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.handleNativeSelectKeyDown, form: form }, inheritedAttributes), h("option", { value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => option.children ? (h("optgroup", { label: option.label }, option.children.map((child) => this.renderNativeOption(child)))) : (this.renderNativeOption(option))))) : searchable ? (h("div", { class: "searchable-select-container" }, h("input", { class: {
826
+ } }, h("slot", { key: '5b982f545b7a35f2a2b16ca15278de2c6decfd00', name: "icon" }))), readonly ? (h("ic-typography", null, h("p", null, valueLabelString))) : isMobileOrTablet() && !multiple ? (h("select", Object.assign({ ref: (el) => (this.nativeSelectElement = el), disabled: disabled, onChange: this.handleNativeSelectChange, required: required, id: inputId, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.handleNativeSelectKeyDown, form: form }, inheritedAttributes), h("option", { value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => option.children ? (h("optgroup", { label: option.label }, option.children.map((child) => this.renderNativeOption(child)))) : (this.renderNativeOption(option))))) : searchable ? (h("div", { class: "searchable-select-container" }, h("input", { class: {
827
827
  "select-input": true,
828
828
  "with-clear-button": !!searchableSelectInputValue,
829
829
  }, role: "combobox", autocomplete: "off", "aria-label": label, "aria-describedby": describedBy, "aria-activedescendant": ariaActiveDescendant, "aria-autocomplete": "list", "aria-expanded": `${open}`, "aria-invalid": invalid, "aria-required": `${required}`, "aria-controls": menuId, ref: (el) => (this.searchableSelectElement = el), id: inputId, value: searchableSelectInputValue || undefined, placeholder: placeholder, disabled: disabled, onInput: this.handleSearchableSelectInput, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, form: form }), isClearable && (h("div", { class: "clear-button-container" }, h("ic-button", { id: "clear-button", ref: (el) => (this.clearButton = el), "aria-label": searchableSelectInputValue &&
@@ -843,13 +843,13 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
843
843
  } }, valueLabelString || placeholder), h("div", { class: "select-input-end" }, isClearable && h("div", { class: "divider" }), h("span", { class: {
844
844
  "expand-icon": true,
845
845
  "expand-icon-open": open,
846
- }, innerHTML: Expand, "aria-hidden": "true" }))), isClearable && (h("ic-button", { id: "clear-button", "aria-label": "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: size, variant: "icon", theme: clearButtonFocused ? "light" : "dark" }))))), (!isMobileOrTablet() || multiple) && (h("ic-menu", { key: '56ad9e2340b8c7f7242a33b35cd2ccda78123f1c', class: {
846
+ }, innerHTML: Expand, "aria-hidden": "true" }))), isClearable && (h("ic-button", { id: "clear-button", "aria-label": "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: size, variant: "icon", theme: clearButtonFocused ? "light" : "dark" }))))), (!isMobileOrTablet() || multiple) && (h("ic-menu", { key: '841eb3f04181992c0b00b033d19fe3650544c0ad', class: {
847
847
  "no-results": loading ||
848
848
  hasTimedOut ||
849
849
  ((_a = noOptions === null || noOptions === void 0 ? void 0 : noOptions[0]) === null || _a === void 0 ? void 0 : _a.label) === emptyOptionListText,
850
850
  }, ref: (el) => (this.menu = el), inputEl: searchable
851
851
  ? this.searchableSelectElement
852
- : this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, size: size, menuId: menuId, open: open, options: searchable ? filteredOptions : uniqueOptions, value: multiple ? currValue : currValue, fullWidth: fullWidth, selectOnEnter: selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuOptionSelectAll: this.handleSelectAllChange, onMenuKeyPress: this.handleMenuKeyPress, onUngroupedOptionsSet: this.setUngroupedOptions, onRetryButtonClicked: this.handleRetry, parentEl: this.el, onTimeoutBlur: this.onTimeoutBlur, activationType: searchable || multiple || selectOnEnter ? "manual" : "automatic", closeOnSelect: !multiple, multiSelect: multiple ? true : false, searchableSelect: searchable ? true : false })), multiple && (h("div", { key: '7f06215c9bf2ea494abde73bc6245c08ef0b6a0a', "aria-live": "polite", role: "status", class: "multi-select-selected-count" })), hasValidationStatus(validationStatus, disabled) && (h("ic-input-validation", { key: '15510a6e9e5b5ea184bf97d2f863d6d5e5aacd48', class: { "menu-open": open }, ariaLiveMode: "polite", status: validationStatus, message: validationText, for: inputId })))));
852
+ : this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, size: size, menuId: menuId, open: open, options: searchable ? filteredOptions : uniqueOptions, value: multiple ? currValue : currValue, fullWidth: fullWidth, selectOnEnter: selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuOptionSelectAll: this.handleSelectAllChange, onMenuKeyPress: this.handleMenuKeyPress, onUngroupedOptionsSet: this.setUngroupedOptions, onRetryButtonClicked: this.handleRetry, parentEl: this.el, onTimeoutBlur: this.onTimeoutBlur, activationType: searchable || multiple || selectOnEnter ? "manual" : "automatic", closeOnSelect: !multiple, multiSelect: multiple ? true : false, searchableSelect: searchable ? true : false })), multiple && (h("div", { key: 'fecc09136ac127471d4f70ba69d3a26ba0a0a602', "aria-live": "polite", role: "status", class: "multi-select-selected-count" })), hasValidationStatus(validationStatus, disabled) && (h("ic-input-validation", { key: 'b03f8b488a2b31686e1fa7150c0a407c3533accf', class: { "menu-open": open }, ariaLiveMode: "polite", status: validationStatus, message: validationText, for: inputId })))));
853
853
  }
854
854
  static get delegatesFocus() { return true; }
855
855
  get el() { return this; }
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { c as closeIcon } from './close-icon.js';
3
3
  import { c as chevronIcon } from './chevron-icon.js';
4
- import { N as getCssProperty, n as getCurrentDeviceSize, D as DEVICE_SIZES, k as getBrandForegroundAppearance, i as isSlotUsed, Y as isEmptyString, c as checkResizeObserver, o as onComponentRequiredPropUndefined, e as IcBrandForegroundEnum, G as hasClassificationBanner, l as isPropDefined } from './helpers.js';
4
+ import { O as getCssProperty, q as getCurrentDeviceSize, D as DEVICE_SIZES, l as getBrandForegroundAppearance, i as isSlotUsed, Y as isEmptyString, c as checkResizeObserver, o as onComponentRequiredPropUndefined, e as IcBrandForegroundEnum, H as hasClassificationBanner, m as isPropDefined } from './helpers.js';
5
5
  import { d as defineCustomElement$6 } from './ic-button2.js';
6
6
  import { d as defineCustomElement$5 } from './ic-divider2.js';
7
7
  import { d as defineCustomElement$4 } from './ic-loading-indicator2.js';
@@ -463,7 +463,7 @@ const SideNavigation = /*@__PURE__*/ proxyCustomElement(class SideNavigation ext
463
463
  isAppNameSubtitleVariant,
464
464
  appTitle: appTitle || "",
465
465
  };
466
- return (h(Host, { key: '3c2b5578401f4cb5aec4443e08d0dd201e3b68a5', class: {
466
+ return (h(Host, { key: '3a4a405aa30061588d0ac895db6e59f3c6b10636', class: {
467
467
  "xs-menu-open": menuOpen && isSDevice,
468
468
  "xs-menu-close": !menuOpen && isSDevice,
469
469
  "sm-collapsed": !isSDevice && !menuExpanded,
@@ -472,12 +472,12 @@ const SideNavigation = /*@__PURE__*/ proxyCustomElement(class SideNavigation ext
472
472
  [`ic-side-navigation-${IcBrandForegroundEnum.Dark}`]: foregroundColor === IcBrandForegroundEnum.Dark,
473
473
  ["collapsed-labels"]: !isSDevice && !menuExpanded && !!collapsedIconLabels,
474
474
  ["ic-side-navigation-inline"]: !!inline,
475
- } }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), h("div", { key: 'e23e83b3b8ab5745d3336b9046d73b2093b3ce2b', class: "side-navigation", id: "side-navigation" }, !isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), h("div", { key: '015266a0a9c86247a1304a261a8854f6f09c2cc9', class: "side-navigation-inner" }, isSlotUsed(this.el, "primary-navigation") && (h("nav", { key: 'dd6adfcf6555b8733c3a54e986c376a8173b67f4', class: "primary-navigation", "aria-labelledby": "primary-navigation-landmark" }, h("span", { key: '2496078c272bd4a2330a71a92fe5b6814d57f057', "aria-hidden": "true", class: "navigation-landmark-title", id: "primary-navigation-landmark" }, "Primary"), h("ul", { key: '9357b0f4413ffb8a27454e76f4ef8f31a0268edd', class: "navigation-list" }, h("slot", { key: 'f16b2e21c42f8bb71090bdf2616821a7f3971bb6', name: "primary-navigation" }))))), h("div", { key: '526a5d6b53d96281d1f94ccba74fff0656bae624', class: {
475
+ } }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), h("div", { key: '158fd91a6728e919125eef39fe46a03efe9b0728', class: "side-navigation", id: "side-navigation" }, !isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), h("div", { key: 'd77452616f1f0bd6c49e0c0e28ea20474f70eadc', class: "side-navigation-inner" }, isSlotUsed(this.el, "primary-navigation") && (h("nav", { key: '4d8dc4620dbe4288f92ac43a341104b989a5b0c6', class: "primary-navigation", "aria-labelledby": "primary-navigation-landmark" }, h("span", { key: 'acd709a0b58914936c593e5ed82d045b01a19ef9', "aria-hidden": "true", class: "navigation-landmark-title", id: "primary-navigation-landmark" }, "Primary"), h("ul", { key: '6c754d54f09ad1b8264817d5c141fa9bdc63b7fd', class: "navigation-list" }, h("slot", { key: '7f5de9f4adae9d6e0f9a24c095aca5d64049a0b4', name: "primary-navigation" }))))), h("div", { key: 'e0e68cefffb5a521c0a051c4af87c28fae21f922', class: {
476
476
  ["bottom-wrapper"]: true,
477
477
  ["classification-spacing"]: hasClassificationBanner(),
478
- } }, isSlotUsed(this.el, "secondary-navigation") && (h("nav", { key: 'b4ca53bf595e01cca2fa4f6be6c206df17ca9dea', class: "secondary-navigation", "aria-labelledby": "secondary-navigation-landmark" }, h("span", { key: '3297c45f0206ad300b91bc72fd3f73833344e0a6', "aria-hidden": "true", class: "navigation-landmark-title", id: "secondary-navigation-landmark" }, "Secondary"), h("ul", { key: '9e26f92a7d9b7a336c030d5d9341e72e8d0c8869', class: "navigation-list" }, h("slot", { key: '7542d4061e0b546499e5b5323c39957c1607435a', name: "secondary-navigation" })))), h("div", { key: '3b7e932d373b189762584a180a13bc06ec702d77', class: "bottom-side-nav" }, this.hasSecondaryNavigation && h("ic-divider", { key: 'fa143397381376b142bef4fc6318ad98f329a358' }), displayExpandBtn && (h("button", { key: '1d92181c969e5fd7c960ff2b28dbc9588b0339cc', class: "menu-expand-button", innerHTML: chevronIcon, onClick: () => this.toggleMenuExpanded(!this.menuExpanded), "aria-label": `${menuExpanded ? "Collapse" : "Expand"} side navigation` })), h("div", { key: 'f82c9aec7d5b2175bcf0a71edef6e7dbd4d2914e', class: "app-status-wrapper" }, status && (h("div", { key: 'b632cb7118accac8f8085e433a76e69c0e3d092f', class: {
478
+ } }, isSlotUsed(this.el, "secondary-navigation") && (h("nav", { key: '2e72b5c8f510d5fb599c5805a37da30962246011', class: "secondary-navigation", "aria-labelledby": "secondary-navigation-landmark" }, h("span", { key: 'c661911fe2c13a2ddd477e69895ad3aa4f8d84b2', "aria-hidden": "true", class: "navigation-landmark-title", id: "secondary-navigation-landmark" }, "Secondary"), h("ul", { key: '0939467dc8307899228ed8391a055ace7fe3d7f6', class: "navigation-list" }, h("slot", { key: 'e9e954d9fd1f909e2ff2112b4b27f0755e237372', name: "secondary-navigation" })))), h("div", { key: 'e7de76b5fa8ba07f3d09faf9d551aea352a4a1eb', class: "bottom-side-nav" }, this.hasSecondaryNavigation && h("ic-divider", { key: '7031b8cd739921ebad638e6130b010b32aa8a14c' }), displayExpandBtn && (h("button", { key: '00aebdc20f176a5c850b5d133c2c240ba0e31574', class: "menu-expand-button", innerHTML: chevronIcon, onClick: () => this.toggleMenuExpanded(!this.menuExpanded), "aria-label": `${menuExpanded ? "Collapse" : "Expand"} side navigation` })), h("div", { key: '8e40643e70455334b03973942c86a3c7ecf84b63', class: "app-status-wrapper" }, status && (h("div", { key: '3634f6bd04cb1cd8c7b5b60b6635b2851209169c', class: {
479
479
  ["app-status"]: true,
480
- } }, h("ic-typography", { key: '8f2135a81cfd74a6cf79a6ebabec9f09eac6116d', "aria-label": "app tag", variant: "label-uppercase", class: "app-status-text" }, status))), version && (h("ic-typography", { key: '8eb1e6ec8476d68071803b511c857cd9252bcb50', variant: "label", class: "app-version", "aria-label": "app version" }, version))))))));
480
+ } }, h("ic-typography", { key: 'b39a8f9fe15256bd4604e1edf4dba0f0ccead9a3', "aria-label": "app tag", variant: "label-uppercase", class: "app-status-text" }, status))), version && (h("ic-typography", { key: '8b5473fedef7d77f42cffd1471715518f2dfd43b', variant: "label", class: "app-version", "aria-label": "app version" }, version))))))));
481
481
  }
482
482
  get el() { return this; }
483
483
  static get watchers() { return {
@@ -30,11 +30,11 @@ const Skeleton = /*@__PURE__*/ proxyCustomElement(class Skeleton extends HTMLEle
30
30
  width: el.style.width || (variant === "circle" ? "25px" : "260px"),
31
31
  }
32
32
  : undefined;
33
- return (h(Host, { key: '5818b75264565b11565affe9e6edbd0ebc850b5a', class: {
33
+ return (h(Host, { key: 'bc26af3bed291b88d9eba417aba8b1bd20d02071', class: {
34
34
  skeleton: true,
35
35
  "ic-skeleton-circle": variant === "circle",
36
36
  [`ic-theme-${theme}`]: theme !== "inherit",
37
- }, style: style, "aria-disabled": "true" }, h("slot", { key: 'dac00f75ef41cba4df058a87ac54a7346e93f747' })));
37
+ }, style: style, "aria-disabled": "true" }, h("slot", { key: 'b7e19d9b7fc55069b1a5a3d82698378fb2a4fff4' })));
38
38
  }
39
39
  get el() { return this; }
40
40
  static get style() { return IcSkeletonStyle0; }
@@ -43,9 +43,9 @@ const SkipLink = /*@__PURE__*/ proxyCustomElement(class SkipLink extends HTMLEle
43
43
  }
44
44
  render() {
45
45
  const { fullWidth, inline, label, monochrome, target, theme, transparentBackground, } = this;
46
- return (h(Host, { key: '48ebe55664670d4b67c3063a4d0d309b7a7b001a', class: {
46
+ return (h(Host, { key: 'a6229f2e79e16d35283ae63e617e5dbee39f1a31', class: {
47
47
  [`ic-theme-${theme}`]: theme !== "inherit",
48
- } }, h("ic-link", { key: 'effeead1403ff76b176d5bb7b3863c53e3677dd9', class: {
48
+ } }, h("ic-link", { key: 'f54ffd72b46d9124023ef6bfe0cf60f7b1091c25', class: {
49
49
  "display-top": !inline,
50
50
  "full-width": !!fullWidth,
51
51
  "show-background": !transparentBackground,
@@ -41,12 +41,12 @@ const StatusTag = /*@__PURE__*/ proxyCustomElement(class StatusTag extends HTMLE
41
41
  }
42
42
  render() {
43
43
  const { label, status, variant, size, announced, theme, uppercase } = this;
44
- return (h(Host, { key: '1364b3edcf4a5ebe148cfb8aa777bda105a3282f', class: { [`ic-theme-${theme}`]: theme !== "inherit" }, role: announced ? "status" : null, "aria-label": "Status" }, h("strong", { key: '96a6e601c3aeef8600835dc1e114c7be5a240164', class: {
44
+ return (h(Host, { key: '0ff5d3de133c300d744be1d57a42e5a393735572', class: { [`ic-theme-${theme}`]: theme !== "inherit" }, role: announced ? "status" : null, "aria-label": "Status" }, h("strong", { key: '09e1eeedac25e8128fe42a6fb5435dc06dc7d331', class: {
45
45
  ["tag"]: true,
46
46
  [`${variant}-${status}`]: true,
47
47
  ["outlined"]: variant === "outlined",
48
48
  [`${size}`]: true,
49
- } }, h("ic-typography", { key: 'dd831bf604192af5ee4b29676be2eda2d5d12e24', variant: uppercase ? "label-uppercase" : "label", "apply-vertical-margins": false }, h("span", { key: 'd7c07a02acbb5db23516389b41a752c75f6c3da6' }, label)))));
49
+ } }, h("ic-typography", { key: '8543c7387e3337ec720eecaf3dbebbc09edfcb6d', variant: uppercase ? "label-uppercase" : "label", "apply-vertical-margins": false }, h("span", { key: '3673500383906cd09f4f409abff0c2aa12a0c30f' }, label)))));
50
50
  }
51
51
  static get style() { return IcStatusTagStyle0; }
52
52
  }, [1, "ic-status-tag", {
@@ -1 +1 @@
1
- {"file":"ic-status-tag.js","mappings":";;;;AAAA,MAAM,cAAc,GAAG,u7IAAu7I,CAAC;AAC/8I,0BAAe,cAAc;;MCShB,SAAS;IALtB;;;;;;;;QAUU,cAAS,GAAa,KAAK,CAAC;;;;QAU5B,SAAI,GAAa,QAAQ,CAAC;;;;QAK1B,WAAM,GAAyB,SAAS,CAAC;;;;QAKzC,UAAK,GAAkC,SAAS,CAAC;;;;QAKjD,cAAS,GAAa,IAAI,CAAC;;;;QAK3B,YAAO,GAAoB,QAAQ,CAAC;KAmC7C;IAjCC,gBAAgB;QACd,gCAAgC,CAC9B,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EACzC,YAAY,CACb,CAAC;KACH;IAED,MAAM;QACJ,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;QAC3E,QACE,EAAC,IAAI,qDACH,KAAK,EAAE,EAAE,CAAC,YAAY,KAAK,EAAE,GAAG,KAAK,KAAK,SAAS,EAAE,EACrD,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,gBACtB,QAAQ,IAEnB,+DACE,KAAK,EAAE;gBACL,CAAC,KAAK,GAAG,IAAI;gBACb,CAAC,GAAG,OAAO,IAAI,MAAM,EAAE,GAAG,IAAI;gBAC9B,CAAC,UAAU,GAAG,OAAO,KAAK,UAAU;gBACpC,CAAC,GAAG,IAAI,EAAE,GAAG,IAAI;aAClB,IAED,sEACE,OAAO,EAAE,SAAS,GAAG,iBAAiB,GAAG,OAAO,4BACxB,KAAK,IAE7B,+DAAO,KAAK,CAAQ,CACN,CACT,CACJ,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/ic-status-tag/ic-status-tag.css?tag=ic-status-tag&encapsulation=shadow","src/components/ic-status-tag/ic-status-tag.tsx"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n.tag {\n padding: var(--ic-space-xxs) var(--ic-space-sm);\n font-size: 0.875rem;\n border-radius: var(--ic-space-md);\n display: inline-block;\n min-width: 2.5rem;\n text-align: center;\n\n --ic-typography-color: var(--ic-status-tag-text);\n}\n\n.small {\n padding: var(--ic-space-xxxs) var(--ic-space-sm);\n border-radius: calc(var(--ic-space-md) - var(--ic-space-xxxs));\n}\n\n.large {\n padding: var(--ic-space-xs) var(--ic-space-sm);\n border-radius: calc(var(--ic-space-md) + var(--ic-space-xxs));\n}\n\n.filled-neutral {\n background-color: var(--ic-status-tag-neutral);\n}\n\n.filled-success {\n background-color: var(--ic-status-tag-success);\n}\n\n.filled-warning {\n background-color: var(--ic-status-tag-warning);\n\n --ic-typography-color: var(--ic-status-tag-filled-warning-text);\n}\n\n.filled-danger {\n background-color: var(--ic-status-tag-error);\n}\n\n.outlined {\n padding: calc(var(--ic-space-xxxs) + var(--ic-space-1px))\n calc(var(--ic-space-sm) - var(--ic-space-1px));\n}\n\n.outlined.small {\n padding: var(--ic-space-1px) calc(var(--ic-space-sm) - var(--ic-space-1px));\n}\n\n.outlined.large {\n padding: calc(var(--ic-space-xs) - var(--ic-space-1px))\n calc(var(--ic-space-sm) - var(--ic-space-1px));\n}\n\n.outlined-neutral {\n background-color: var(--ic-status-tag-outlined-background-neutral);\n border: var(--ic-border-width) solid var(--ic-status-tag-outlined-neutral);\n\n --ic-typography-color: var(--ic-status-tag-text-inverted);\n}\n\n.outlined-success {\n background-color: var(--ic-status-tag-outlined-background-success);\n border: var(--ic-border-width) solid var(--ic-status-tag-outlined-success);\n\n --ic-typography-color: var(--ic-status-tag-text-inverted);\n}\n\n.outlined-warning {\n background-color: var(--ic-status-tag-outlined-background-warning);\n border: var(--ic-border-width) solid var(--ic-status-tag-outlined-warning);\n\n --ic-typography-color: var(--ic-status-tag-text-inverted);\n}\n\n.outlined-danger {\n background-color: var(--ic-status-tag-outlined-background-error);\n border: var(--ic-border-width) solid var(--ic-status-tag-outlined-error);\n\n --ic-typography-color: var(--ic-status-tag-text-inverted);\n}\n\n@media (forced-colors: active) {\n .tag {\n border: var(--ic-border-hc);\n -ms-high-contrast-adjust: none;\n forced-color-adjust: none;\n\n --ic-typography-color: var(--ic-status-tag-text);\n }\n}\n","import { Component, Host, h, Prop } from \"@stencil/core\";\nimport { onComponentRequiredPropUndefined } from \"../../utils/helpers\";\nimport { IcStatusTagStatuses } from \"./ic-status-tag.types\";\nimport { IcEmphasisType, IcSizes } from \"../../utils/types\";\n\n@Component({\n tag: \"ic-status-tag\",\n styleUrl: \"ic-status-tag.css\",\n shadow: true,\n})\nexport class StatusTag {\n /**\n * If `true`, role='status' is added to the component and it will act as an 'aria-live' region.\n * Screen readers will announce changes to the `label`, but not the initial value.\n */\n @Prop() announced?: boolean = false;\n\n /**\n * The content rendered within the status tag.\n */\n @Prop() label!: string;\n\n /**\n * The size of the status tag component.\n */\n @Prop() size?: IcSizes = \"medium\";\n\n /**\n * The colour of the status tag.\n */\n @Prop() status?: IcStatusTagStatuses = \"neutral\";\n\n /**\n * Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component.\n */\n @Prop() theme?: \"dark\" | \"light\" | \"inherit\" = \"inherit\";\n\n /**\n * The letter case of the status tag's label.\n */\n @Prop() uppercase?: boolean = true;\n\n /**\n * The emphasis of the status tag.\n */\n @Prop() variant?: IcEmphasisType = \"filled\";\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.label, propName: \"label\" }],\n \"Status Tag\"\n );\n }\n\n render() {\n const { label, status, variant, size, announced, theme, uppercase } = this;\n return (\n <Host\n class={{ [`ic-theme-${theme}`]: theme !== \"inherit\" }}\n role={announced ? \"status\" : null}\n aria-label=\"Status\"\n >\n <strong\n class={{\n [\"tag\"]: true,\n [`${variant}-${status}`]: true,\n [\"outlined\"]: variant === \"outlined\",\n [`${size}`]: true,\n }}\n >\n <ic-typography\n variant={uppercase ? \"label-uppercase\" : \"label\"}\n apply-vertical-margins={false}\n >\n <span>{label}</span>\n </ic-typography>\n </strong>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-status-tag.js","mappings":";;;;AAAA,MAAM,cAAc,GAAG,u7IAAu7I,CAAC;AAC/8I,0BAAe,cAAc;;MCShB,SAAS;IALtB;;;;;;;;QAUU,cAAS,GAAa,KAAK,CAAC;;;;QAU5B,SAAI,GAAa,QAAQ,CAAC;;;;QAK1B,WAAM,GAAyB,SAAS,CAAC;;;;QAKzC,UAAK,GAAkC,SAAS,CAAC;;;;QAKjD,cAAS,GAAa,IAAI,CAAC;;;;QAK3B,YAAO,GAAoB,QAAQ,CAAC;KAmC7C;IAjCC,gBAAgB;QACd,gCAAgC,CAC9B,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EACzC,YAAY,CACb,CAAC;KACH;IAED,MAAM;QACJ,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;QAC3E,QACE,EAAC,IAAI,qDACH,KAAK,EAAE,EAAE,CAAC,YAAY,KAAK,EAAE,GAAG,KAAK,KAAK,SAAS,EAAE,EACrD,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,gBACtB,QAAQ,IAEnB,+DACE,KAAK,EAAE;gBACL,CAAC,KAAK,GAAG,IAAI;gBACb,CAAC,GAAG,OAAO,IAAI,MAAM,EAAE,GAAG,IAAI;gBAC9B,CAAC,UAAU,GAAG,OAAO,KAAK,UAAU;gBACpC,CAAC,GAAG,IAAI,EAAE,GAAG,IAAI;aAClB,IAED,sEACE,OAAO,EAAE,SAAS,GAAG,iBAAiB,GAAG,OAAO,4BACxB,KAAK,IAE7B,+DAAO,KAAK,CAAQ,CACN,CACT,CACJ,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/ic-status-tag/ic-status-tag.css?tag=ic-status-tag&encapsulation=shadow","src/components/ic-status-tag/ic-status-tag.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n.tag {\n padding: var(--ic-space-xxs) var(--ic-space-sm);\n font-size: 0.875rem;\n border-radius: var(--ic-space-md);\n display: inline-block;\n min-width: 2.5rem;\n text-align: center;\n\n --ic-typography-color: var(--ic-status-tag-text);\n}\n\n.small {\n padding: var(--ic-space-xxxs) var(--ic-space-sm);\n border-radius: calc(var(--ic-space-md) - var(--ic-space-xxxs));\n}\n\n.large {\n padding: var(--ic-space-xs) var(--ic-space-sm);\n border-radius: calc(var(--ic-space-md) + var(--ic-space-xxs));\n}\n\n.filled-neutral {\n background-color: var(--ic-status-tag-neutral);\n}\n\n.filled-success {\n background-color: var(--ic-status-tag-success);\n}\n\n.filled-warning {\n background-color: var(--ic-status-tag-warning);\n\n --ic-typography-color: var(--ic-status-tag-filled-warning-text);\n}\n\n.filled-danger {\n background-color: var(--ic-status-tag-error);\n}\n\n.outlined {\n padding: calc(var(--ic-space-xxxs) + var(--ic-space-1px))\n calc(var(--ic-space-sm) - var(--ic-space-1px));\n}\n\n.outlined.small {\n padding: var(--ic-space-1px) calc(var(--ic-space-sm) - var(--ic-space-1px));\n}\n\n.outlined.large {\n padding: calc(var(--ic-space-xs) - var(--ic-space-1px))\n calc(var(--ic-space-sm) - var(--ic-space-1px));\n}\n\n.outlined-neutral {\n background-color: var(--ic-status-tag-outlined-background-neutral);\n border: var(--ic-border-width) solid var(--ic-status-tag-outlined-neutral);\n\n --ic-typography-color: var(--ic-status-tag-text-inverted);\n}\n\n.outlined-success {\n background-color: var(--ic-status-tag-outlined-background-success);\n border: var(--ic-border-width) solid var(--ic-status-tag-outlined-success);\n\n --ic-typography-color: var(--ic-status-tag-text-inverted);\n}\n\n.outlined-warning {\n background-color: var(--ic-status-tag-outlined-background-warning);\n border: var(--ic-border-width) solid var(--ic-status-tag-outlined-warning);\n\n --ic-typography-color: var(--ic-status-tag-text-inverted);\n}\n\n.outlined-danger {\n background-color: var(--ic-status-tag-outlined-background-error);\n border: var(--ic-border-width) solid var(--ic-status-tag-outlined-error);\n\n --ic-typography-color: var(--ic-status-tag-text-inverted);\n}\n\n@media (forced-colors: active) {\n .tag {\n border: var(--ic-border-hc);\n -ms-high-contrast-adjust: none;\n forced-color-adjust: none;\n\n --ic-typography-color: var(--ic-status-tag-text);\n }\n}\n","import { Component, Host, h, Prop } from \"@stencil/core\";\nimport { onComponentRequiredPropUndefined } from \"../../utils/helpers\";\nimport { IcStatusTagStatuses } from \"./ic-status-tag.types\";\nimport { IcEmphasisType, IcSizes } from \"../../utils/types\";\n\n@Component({\n tag: \"ic-status-tag\",\n styleUrl: \"ic-status-tag.css\",\n shadow: true,\n})\nexport class StatusTag {\n /**\n * If `true`, role='status' is added to the component and it will act as an 'aria-live' region.\n * Screen readers will announce changes to the `label`, but not the initial value.\n */\n @Prop() announced?: boolean = false;\n\n /**\n * The content rendered within the status tag.\n */\n @Prop() label!: string;\n\n /**\n * The size of the status tag component.\n */\n @Prop() size?: IcSizes = \"medium\";\n\n /**\n * The colour of the status tag.\n */\n @Prop() status?: IcStatusTagStatuses = \"neutral\";\n\n /**\n * Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component.\n */\n @Prop() theme?: \"dark\" | \"light\" | \"inherit\" = \"inherit\";\n\n /**\n * The letter case of the status tag's label.\n */\n @Prop() uppercase?: boolean = true;\n\n /**\n * The emphasis of the status tag.\n */\n @Prop() variant?: IcEmphasisType = \"filled\";\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.label, propName: \"label\" }],\n \"Status Tag\"\n );\n }\n\n render() {\n const { label, status, variant, size, announced, theme, uppercase } = this;\n return (\n <Host\n class={{ [`ic-theme-${theme}`]: theme !== \"inherit\" }}\n role={announced ? \"status\" : null}\n aria-label=\"Status\"\n >\n <strong\n class={{\n [\"tag\"]: true,\n [`${variant}-${status}`]: true,\n [\"outlined\"]: variant === \"outlined\",\n [`${size}`]: true,\n }}\n >\n <ic-typography\n variant={uppercase ? \"label-uppercase\" : \"label\"}\n apply-vertical-margins={false}\n >\n <span>{label}</span>\n </ic-typography>\n </strong>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { c as checkIcon } from './check-icon.js';
3
- import { l as isPropDefined } from './helpers.js';
3
+ import { m as isPropDefined } from './helpers.js';
4
4
  import { d as defineCustomElement$3 } from './ic-loading-indicator2.js';
5
5
  import { d as defineCustomElement$2 } from './ic-typography2.js';
6
6
 
@@ -69,29 +69,29 @@ const Step = /*@__PURE__*/ proxyCustomElement(class Step extends HTMLElement {
69
69
  // STATUS ICON FOR COMPACT STEP
70
70
  let statusIcon;
71
71
  if (this.type === "completed" || this.compactStepStyling === "completed") {
72
- statusIcon = (h("span", { key: 'da8e370996e92dde0f17f6460ecb0c11d8def086', class: "check-icon step-icon", "aria-hidden": "true", innerHTML: checkIcon }));
72
+ statusIcon = (h("span", { key: '8831990f0422a89e28d83c33bf98e6f5e47d09a6', class: "check-icon step-icon", "aria-hidden": "true", innerHTML: checkIcon }));
73
73
  }
74
74
  else if (this.type === "disabled" ||
75
75
  this.compactStepStyling === "disabled") {
76
- statusIcon = (h("span", { key: '581de517797d73b13bab42503a084a579c540d5f', class: "warning-icon step-icon", "aria-hidden": "true", innerHTML: warningIcon }));
76
+ statusIcon = (h("span", { key: 'aedd81eacbe9ca6a4e331142d09053926b00dcd4', class: "warning-icon step-icon", "aria-hidden": "true", innerHTML: warningIcon }));
77
77
  }
78
78
  // COMPACT STEP COMPONENT
79
- const compactStep = (h("div", { key: '2b0b01b29c81bd1ae351b56f04c18f7eab1ca4f1', class: {
79
+ const compactStep = (h("div", { key: '384c84c08600c48982959a9a19a54e638bdd76a9', class: {
80
80
  ["step"]: true,
81
81
  ["current"]: !!this.current,
82
82
  [`compact-step-${this.compactStepStyling}`]: !!this.compactStepStyling,
83
83
  ["disabled"]: this.type === "disabled" || this.compactStepStyling === "disabled",
84
- } }, h("ic-loading-indicator", { key: '4f2234e8dc571338c71f63263d2cd45460920717', class: {
84
+ } }, h("ic-loading-indicator", { key: 'fb3373a16a3519a77689395882b77b07f84d00b2', class: {
85
85
  "compact-step-progress-indicator": true,
86
86
  "not-required": this.type === "disabled" ||
87
87
  this.compactStepStyling === "disabled",
88
- }, "aria-hidden": "true", size: "small", "inner-label": this.stepNum, progress: this.progress }), h("div", { key: 'bb3834decc5d6e971b8da1b225987f41d7542b67', class: "heading-area" }, h("ic-typography", { key: 'c9ac23c26ecb3a002f065583c36b105dd7a80d35', variant: "h4", class: "heading" }, this.heading), h("div", { key: '72a46d0b49c4b09db01fd6a7a4000efb4d4f6da9', class: "info-line" }, h("ic-typography", { key: '0a8f7b16a04431260d1650474ea86faa0248af2d', variant: "caption", class: "step-num" }, `${this.stepNum} of ${this.lastStepNum}`, h("span", { key: '497ad4a0febb2b9f5380a0bb28f0effc6368cf1d', class: "visually-hidden" }, " steps")), (this.subheading ||
88
+ }, "aria-hidden": "true", size: "small", "inner-label": this.stepNum, progress: this.progress }), h("div", { key: 'e404a8d7fd56af5a6c3b38e7dd146ccbf6c0a921', class: "heading-area" }, h("ic-typography", { key: 'e2d2d3a3b2e2d1080a500f06c11fd2b19305e733', variant: "h4", class: "heading" }, this.heading), h("div", { key: 'a04253bd63d0e9cbc2ebd2ccc6c6cf1d684611b4', class: "info-line" }, h("ic-typography", { key: '35699c8fd101642bcedacbb0e636f5f5e72d87d0', variant: "caption", class: "step-num" }, `${this.stepNum} of ${this.lastStepNum}`, h("span", { key: '0bc9e891b17f66419150733982711999983197a1', class: "visually-hidden" }, " steps")), (this.subheading ||
89
89
  this.type === "completed" ||
90
90
  this.type === "disabled" ||
91
91
  (this.variant === "compact" &&
92
92
  !!this.compactStepStyling &&
93
93
  this.compactStepStyling !== "active") ||
94
- !!this.status) && (h("div", { key: 'ee5da9d5d75229d3bffbc761dfc4c779b22b063d', class: "step-status" }, statusIcon !== undefined && statusIcon, (this.subheading || stepType) && (h("ic-typography", { key: 'b249e660a2eff61dc1d537ab14e2bf027c2ffab2', variant: "caption" }, this.subheading !== null && isPropDefined(this.subheading)
94
+ !!this.status) && (h("div", { key: 'ce2356ecbc86e3805ddf84d7fa785f2a1495ef60', class: "step-status" }, statusIcon !== undefined && statusIcon, (this.subheading || stepType) && (h("ic-typography", { key: 'f9ada98e6d45ff5dcd8784dbb24c4402b7bd378e', variant: "caption" }, this.subheading !== null && isPropDefined(this.subheading)
95
95
  ? this.subheading
96
96
  : this.type === "disabled" ||
97
97
  (this.variant === "compact" &&
@@ -104,26 +104,26 @@ const Step = /*@__PURE__*/ proxyCustomElement(class Step extends HTMLElement {
104
104
  // ICON FOR DEFAULT STEP
105
105
  let icon;
106
106
  if (this.type !== "completed") {
107
- icon = (h("ic-typography", { key: '8d6b60fe3b7cb9426536ac8afaeb798de0291b1c', variant: "subtitle-small" }, h("span", { key: '464e32e9503075944e90e9e42c72ef3955c948d0', class: "step-icon-inner", "aria-hidden": "true" }, this.stepNum)));
107
+ icon = (h("ic-typography", { key: '5b3734765f9d5e5db8f0b2818ffd471817a96cc5', variant: "subtitle-small" }, h("span", { key: 'd4d3ffd87c95a0b98fce8a437a6afb3f4639993f', class: "step-icon-inner", "aria-hidden": "true" }, this.stepNum)));
108
108
  }
109
109
  else {
110
- icon = (h("div", { key: '620c7f67632c073a4e339427bedc5ffed0a4a320', class: "step-icon-inner", "aria-hidden": "true" }, h("span", { key: '1396290202c009168bf4b7983a2af4f5d8fdeb64', class: "check-icon", innerHTML: checkIcon })));
110
+ icon = (h("div", { key: '42447f9ec070e7e284aecfd49983259650d9abd3', class: "step-icon-inner", "aria-hidden": "true" }, h("span", { key: '4c7469fba1cf544d1d48c209c25db0bcaca14309', class: "check-icon", innerHTML: checkIcon })));
111
111
  }
112
112
  // STEP CONNECT FOR DEFAULT STEP
113
- const partialBar = this.type === "current" && (h("div", { key: '7d27dc6a29aca34dcb14c0624c66309614c5378a', class: "step-connect-inner" }));
114
- const finalStep = !this.lastStep && (h("div", { key: '70aeb7052405a7977a12562c329f227c71e35a8b', class: {
113
+ const partialBar = this.type === "current" && (h("div", { key: '800764f8ca21ac1118c77ed860a163b3103fe62e', class: "step-connect-inner" }));
114
+ const finalStep = !this.lastStep && (h("div", { key: 'e5c0f38f7140800d60e5046d77d6cde34c5e7bd5', class: {
115
115
  ["step-connect"]: true,
116
116
  ["aligned-full-width"]: !!(((_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.classList.contains("ic-stepper-default")) &&
117
117
  !this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
118
118
  } }, partialBar));
119
119
  // DEFAULT STEP COMPONENT
120
- const defaultStep = (h("div", { key: '130b7d2d16c416a5e699a20564b475fe0620af18', class: {
120
+ const defaultStep = (h("div", { key: 'cdfd23786b75a88fe1630318d8a1369a89090544', class: {
121
121
  ["step"]: true,
122
122
  [`${this.type}`]: true,
123
- } }, h("div", { key: '6b71087d2f67a0858fdd819424fed8d36084d98e', class: "step-top" }, h("div", { key: 'a9d0fc4317db6cc4b60c8429909fe30dbae3001e', class: "step-icon" }, icon), finalStep), (this.heading || this.subheading || this.status) && (h("div", { key: '13c274e45d81977b4ceeaf98a4e092a2d90fec97', class: "heading-area" }, this.heading && (h("ic-typography", { key: '1c4307d5780fff0c7200631e7b729024e3ca8315', variant: "subtitle-large", class: "heading" }, this.heading)), this.heading && (this.subheading || this.status) && (h("ic-typography", { key: '4e6b789f77f40ed85e486bb8bf25b2209e042a91', variant: "caption", class: "subheading" }, this.subheading !== null && isPropDefined(this.subheading)
123
+ } }, h("div", { key: 'c83625070a1ffe89fc53f66d55f06c994f868570', class: "step-top" }, h("div", { key: 'a6758050efffeb98522092fefa9b1261b3d9217b', class: "step-icon" }, icon), finalStep), (this.heading || this.subheading || this.status) && (h("div", { key: '3ecf8d32da66fe336b7c0540c47726d060e8eaf8', class: "heading-area" }, this.heading && (h("ic-typography", { key: '79557ec3d9a26be0fee2253a58c2f09132322017', variant: "subtitle-large", class: "heading" }, this.heading)), this.heading && (this.subheading || this.status) && (h("ic-typography", { key: 'f5a90f68ebc0721fec936541824ab79b415f566d', variant: "caption", class: "subheading" }, this.subheading !== null && isPropDefined(this.subheading)
124
124
  ? this.subheading
125
125
  : stepStatus))))));
126
- return (h(Host, { key: 'aaeb6b423f4a746831b15ec90ae450a4a4c3fc9e', role: "listitem", "aria-label": `Step ${this.stepNum}${ariaLabel}`, "aria-current": (this.current || this.type === "current") && "step", class: {
126
+ return (h(Host, { key: '0cb6b6649c9af4565e5f663131b800a79b9b040d', role: "listitem", "aria-label": `Step ${this.stepNum}${ariaLabel}`, "aria-current": (this.current || this.type === "current") && "step", class: {
127
127
  ["aligned-full-width"]: !!(((_b = this.el.parentElement) === null || _b === void 0 ? void 0 : _b.classList.contains("ic-stepper-default")) &&
128
128
  !this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
129
129
  [`ic-step-${this.variant}`]: true,
@@ -248,11 +248,11 @@ const Stepper = /*@__PURE__*/ proxyCustomElement(class Stepper extends HTMLEleme
248
248
  checkResizeObserver(this.runResizeObserver);
249
249
  }
250
250
  render() {
251
- return (h(Host, { key: '82128e652194f8c19692211d4170bab0651112c6', class: {
251
+ return (h(Host, { key: 'a4b87028ee91e542fd7d2b66689e8fabe33a9358', class: {
252
252
  [`ic-stepper-${this.variant}`]: true,
253
253
  ["ic-stepper-aligned-left"]: this.variant === "default" && this.aligned === "left",
254
254
  [`ic-theme-${this.theme}`]: this.theme !== "inherit",
255
- } }, h("ul", { key: '887be84fa976e8aae0bc1fd659781f4650543725', class: "step-item-list" }, h("slot", { key: '09dfecb16ef10d0920e0b781befed025e16af13c' }))));
255
+ } }, h("ul", { key: '65236609f6b2109bba5bbb88d084f9fd4e88d48a', class: "step-item-list" }, h("slot", { key: '2b542740488d922dca26cabda564db76de1ffd82' }))));
256
256
  }
257
257
  get el() { return this; }
258
258
  static get watchers() { return {
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { r as removeDisabledFalse, s as removeFormResetListener, q as addFormResetListener, o as onComponentRequiredPropUndefined, t as renderHiddenInput, v as getInputDescribedByText } from './helpers.js';
2
+ import { r as removeDisabledFalse, t as removeFormResetListener, s as addFormResetListener, o as onComponentRequiredPropUndefined, u as renderHiddenInput, w as getInputDescribedByText } from './helpers.js';
3
3
  import { d as defineCustomElement$3 } from './ic-input-label2.js';
4
4
  import { d as defineCustomElement$2 } from './ic-typography2.js';
5
5
 
@@ -99,16 +99,16 @@ const Switch = /*@__PURE__*/ proxyCustomElement(class Switch extends HTMLElement
99
99
  const { label, checkedState, size, disabled, name, value, hideLabel, helperText, inputId, theme, } = this;
100
100
  const isSmall = size === "small";
101
101
  renderHiddenInput(this.el, checkedState ? value : "", name, disabled);
102
- return (h(Host, { key: '41b8e3edfe4befcf823ba88af9b476301be738c0', class: {
102
+ return (h(Host, { key: '4d5830cca94b2dd699ad0f906dc1095f267675d4', class: {
103
103
  [`ic-theme-${theme}`]: theme !== "inherit",
104
- } }, h("label", { key: 'b7be9f77c5ff10bd8f4ebcc76588d5b84567f37c', class: {
104
+ } }, h("label", { key: '61c6e73d0435b8911566ac628313f6a44c67d297', class: {
105
105
  "ic-switch-container": true,
106
106
  "ic-switch-disabled": !!disabled,
107
107
  "ic-switch-small": isSmall,
108
- }, htmlFor: inputId }, !hideLabel && (h("ic-input-label", { key: '799058374e555336d45376ddd645afeee32bafcb', for: inputId, label: label, helperText: helperText, readonly: false, disabled: disabled, class: {
108
+ }, htmlFor: inputId }, !hideLabel && (h("ic-input-label", { key: 'e8be8d74b3183a3b4a8ab53e7f38e0eda8d8b4e0', for: inputId, label: label, helperText: helperText, readonly: false, disabled: disabled, class: {
109
109
  "ic-switch-label": true,
110
110
  "ic-switch-label-small": isSmall,
111
- } }, h("slot", { key: '509cfc15006377cd5cbb7ead4d33d29069e1ae25', name: "helper-text", slot: "helper-text" }))), !hideLabel && h("span", { key: '01ab8db129ac0a1cb0d1eb36c220211102c77696', class: "ic-switch-line-break" }), h("input", { key: '71c1a210fb9323c0d0bf1139f4bbd68e529b1c1f', checked: checkedState, disabled: disabled, "aria-label": label, "aria-checked": checkedState ? "true" : "false", "aria-describedby": getInputDescribedByText(this.el, inputId, helperText !== "", false), role: "switch", class: "ic-switch-input", type: "checkbox", name: "toggle", id: inputId, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.handleChange }), h("span", { key: '835ba78c97c3af1916e4214e781ecd3e4f465828', class: "ic-switch-toggle" }, h("svg", { key: '8bb00a2e5f95ebe996e73be959467df033c44881', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, h("line", { key: 'a3d47d6105d552f920ef6143e385515da508500f', class: "ic-switch-icon-line", x1: "9", y1: isSmall ? "2" : "1", x2: "9", y2: isSmall ? "8" : "9" })), h("svg", { key: '2d7a5654aebbb042123a706edb2dec1c605d5f9d', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: '6c0645133ac7a2fa747ce1cd81df0d2b528e19a5', class: "ic-switch-icon-circle", fill: "none", cx: "5", cy: "5", r: isSmall ? "3.335" : "4.445" }))), h("slot", { key: 'f7ac187630acff4dabd2c264a6ebdbc717c21221', name: "right-adornment" }))));
111
+ } }, h("slot", { key: 'c26f98190a6dac0fcbcac0e76d512de045ed728e', name: "helper-text", slot: "helper-text" }))), !hideLabel && h("span", { key: '138bab016cba136f3f5bf5f8ed04fef823dfa7c1', class: "ic-switch-line-break" }), h("input", { key: 'e1ee536f3683fbf23a874fa3b33099107df38636', checked: checkedState, disabled: disabled, "aria-label": label, "aria-checked": checkedState ? "true" : "false", "aria-describedby": getInputDescribedByText(this.el, inputId, helperText !== "", false), role: "switch", class: "ic-switch-input", type: "checkbox", name: "toggle", id: inputId, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.handleChange }), h("span", { key: '1148ac346b57bac965f562511a4d05e480bddd6c', class: "ic-switch-toggle" }, h("svg", { key: '78508c5b97bf67b0e9e3b23911bb53aaeeb7271c', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, h("line", { key: 'c32e2f0c7d95be778ba673085d95b03275e17d42', class: "ic-switch-icon-line", x1: "9", y1: isSmall ? "2" : "1", x2: "9", y2: isSmall ? "8" : "9" })), h("svg", { key: 'ba5c613c591a7d1b7d9c11682b3db371449bf9e6', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: 'c15318f31f8b84ac4d38488ab90808ba8fd6886c', class: "ic-switch-icon-circle", fill: "none", cx: "5", cy: "5", r: isSmall ? "3.335" : "4.445" }))), h("slot", { key: '9ea7ffdc5e061674be43b1f5a06e262acc7ebd3a', name: "right-adornment" }))));
112
112
  }
113
113
  static get delegatesFocus() { return true; }
114
114
  get el() { return this; }
@@ -224,7 +224,7 @@ const TabContext = /*@__PURE__*/ proxyCustomElement(class TabContext extends HTM
224
224
  }
225
225
  }
226
226
  render() {
227
- return h("slot", { key: 'b2129a3c599ca4b97df30f14833761780c2c0940' });
227
+ return h("slot", { key: 'a0fd989c3705d70d9bc2d1746dcce7f3df79c0d0' });
228
228
  }
229
229
  get el() { return this; }
230
230
  static get watchers() { return {
@@ -28,11 +28,11 @@ const TabGroup = /*@__PURE__*/ proxyCustomElement(class TabGroup extends HTMLEle
28
28
  }
29
29
  render() {
30
30
  const { inline, theme, label, monochrome } = this;
31
- return (h(Host, { key: '5e2ac19760c3c6f6a5fa4e24e4b65d06bf958734', role: "tablist", "aria-label": label, class: {
31
+ return (h(Host, { key: '907693650fa274e54826ca116016e8bea75aa29c', role: "tablist", "aria-label": label, class: {
32
32
  ["ic-tab-group-inline"]: !!inline,
33
33
  [`ic-theme-${theme}`]: theme !== "inherit",
34
34
  ["ic-tab-group-monochrome"]: !!monochrome,
35
- } }, h("ic-horizontal-scroll", { key: 'c1af66d6ccce50093586a87024d2fc2064204e65', theme: theme, "focus-trigger": "tabFocus", monochrome: monochrome }, h("div", { key: '5d74a60b33b216eea766a5d15e9d130cda924d2b', class: "tabs-container" }, h("slot", { key: '7d95c9b98a270810c391abc779ca0bda5c7fa24f' })))));
35
+ } }, h("ic-horizontal-scroll", { key: '94a5fd18b222a07d6119c6bc291522b12aaf91f3', theme: theme, "focus-trigger": "tabFocus", monochrome: monochrome }, h("div", { key: 'a81bf05bd2e9d2d079a9b05899da06c6a27cb231', class: "tabs-container" }, h("slot", { key: '434bc2798a1f471d7365a9854254f82bafa3c2d5' })))));
36
36
  }
37
37
  static get delegatesFocus() { return true; }
38
38
  static get style() { return IcTabGroupStyle0; }
@@ -26,10 +26,10 @@ const TabPanel = /*@__PURE__*/ proxyCustomElement(class TabPanel extends HTMLEle
26
26
  }
27
27
  render() {
28
28
  const { active, theme } = this;
29
- return (h(Host, { key: '866d13ac3e2c93c8ea20e83d8513a74664aabfcb', class: {
29
+ return (h(Host, { key: '51756c01996190f5a90e7018a2146f6e27e6185a', class: {
30
30
  [`ic-theme-${theme}`]: theme !== "inherit",
31
31
  "ic-tab-panel-hidden": !active,
32
- }, role: "tabpanel", "aria-hidden": `${!active}` }, h("div", { key: 'a44da18c8534659c240dcb84ba9941b61574f546' }, h("slot", { key: '91a267e9b16c4ebdadb1b5facb9f7f50f3944f8e' }))));
32
+ }, role: "tabpanel", "aria-hidden": `${!active}` }, h("div", { key: 'fbe0b579017645beeb19d419f1ccf2fcde4c51e1' }, h("slot", { key: '482a66418dc7c89364da609e03f544f5b71d9849' }))));
33
33
  }
34
34
  get el() { return this; }
35
35
  static get style() { return IcTabPanelStyle0; }
@@ -91,13 +91,13 @@ const Tab = /*@__PURE__*/ proxyCustomElement(class Tab extends HTMLElement {
91
91
  }
92
92
  render() {
93
93
  const { disabled, selected, theme, monochrome, handleClick, handleFocus, handleMouseDown, } = this;
94
- return (h(Host, { key: '52491eaab3f7b7c56d59a13b4c57970642e04465', class: {
94
+ return (h(Host, { key: 'fe6e517a696ed23c6fb64028d617997439ebbac6', class: {
95
95
  ["with-transition"]: !this.isInitialRender,
96
96
  ["ic-tab-selected"]: !!selected,
97
97
  ["ic-tab-disabled"]: !!disabled,
98
98
  [`ic-theme-${theme}`]: theme !== "inherit",
99
99
  ["ic-tab-monochrome"]: !!monochrome,
100
- }, role: "tab", "aria-selected": `${selected}`, onClick: handleClick, onFocus: handleFocus, onMouseDown: handleMouseDown, "aria-disabled": `${disabled}`, tabindex: selected ? 0 : -1 }, isSlotUsed(this.el, "icon") && h("slot", { key: '89b73a37ff1080ae55554ebed5afc5f3146bbfb0', name: "icon" }), h("ic-typography", { key: '61d61ac5b3739403ebc02a61509289e5f49edb31', class: "ic-tab-label", variant: "label" }, h("span", { key: 'a57666e5fa982b54d8d3f2fa4774edcf11d7300e' }, h("slot", { key: '30700a48cbb5226d548ce0944d83bfaf85b9de39' }))), isSlotUsed(this.el, "badge") && h("slot", { key: 'ee78c3cc07ddf5609ca26e1b6261c023b068571e', name: "badge" })));
100
+ }, role: "tab", "aria-selected": `${selected}`, onClick: handleClick, onFocus: handleFocus, onMouseDown: handleMouseDown, "aria-disabled": `${disabled}`, tabindex: selected ? 0 : -1 }, isSlotUsed(this.el, "icon") && h("slot", { key: '9c2bf173facd6f4b4fa96824bb14db06a2b97c6b', name: "icon" }), h("ic-typography", { key: 'f1d4732d8f5ad9f198f2da6c08c3717731dcd8da', class: "ic-tab-label", variant: "label" }, h("span", { key: '9f993fe757e86acb507a58259e47e507a5feddc3' }, h("slot", { key: '2bfe6c474802a62771ce58947305f0b71db1803d' }))), isSlotUsed(this.el, "badge") && h("slot", { key: '23c6074e338df9e72b77b5449938f61f9ee042a0', name: "badge" })));
101
101
  }
102
102
  get el() { return this; }
103
103
  static get watchers() { return {
@@ -1 +1 @@
1
- {"file":"ic-tab.js","mappings":";;;;AAAA,MAAM,QAAQ,GAAG,+hJAA+hJ,CAAC;AACjjJ,oBAAe,QAAQ;;MCwBV,GAAG;IALhB;;;;;;;;;QAMU,mBAAc,GAAY,KAAK,CAAC;QAEhC,oBAAe,GAAY,IAAI,CAAC;;QAKf,cAAS,GAAY,SAAS,CAAC;;;;QAKhD,aAAQ,GAAa,KAAK,CAAC;;QAO3B,eAAU,GAAa,KAAK,CAAC;;QAGZ,aAAQ,GAAa,KAAK,CAAC;;QAS5C,UAAK,GAAiB,SAAS,CAAC;QA8DhC,gBAAW,GAAG;YACpB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;gBACjB,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,SAAS,EAAE,IAAI,CAAC,SAAU;gBAC1B,QAAQ,EAAE,IAAI,CAAC,WAAW;aAC3B,CAAC,CAAC;YACH,IAAI,IAAI,CAAC,cAAc,EAAE;gBACvB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;oBACjB,KAAK,EAAE,IAAI,CAAC,KAAK;oBACjB,SAAS,EAAE,IAAI,CAAC,SAAU;oBAC1B,QAAQ,EAAE,IAAI,CAAC,WAAW;iBAC3B,CAAC,CAAC;gBACH,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;aAC7B;SACF,CAAC;QAEM,gBAAW,GAAG;YACpB,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;gBACxB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC;gBAE7B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;oBACjB,KAAK,EAAE,IAAI,CAAC,KAAK;oBACjB,SAAS,EAAE,IAAI,CAAC,SAAU;oBAC1B,QAAQ,EAAE,IAAI,CAAC,WAAW;iBAC3B,CAAC,CAAC;aACJ;SACF,CAAC;QAEM,oBAAe,GAAG;;;;YAIxB,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;SAC5B,CAAC;KAuCH;IAvJC,oBAAoB;QAClB,mBAAmB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;KAC7C;IAkBD,oBAAoB;QAClB,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;KACxB;IA2BD,iBAAiB;QACf,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KAC/B;IAED,oBAAoB;;QAClB,MAAA,QAAQ;aACL,aAAa,CACZ,6BAA6B,IAAI,CAAC,SAAS,GAAG,CAC/C,0CACC,iBAAiB,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;KAC1C;IAED,iBAAiB;QACf,mBAAmB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;KAC7C;IAED,kBAAkB;QAChB,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;KAC9B;;;;IAMD,MAAM,QAAQ;QACZ,IAAI,IAAI,CAAC,EAAE,EAAE;YACX,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC;SACjB;KACF;IAqCD,MAAM;QACJ,MAAM,EACJ,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,UAAU,EACV,WAAW,EACX,WAAW,EACX,eAAe,GAChB,GAAG,IAAI,CAAC;QACT,QACE,EAAC,IAAI,qDACH,KAAK,EAAE;gBACL,CAAC,iBAAiB,GAAG,CAAC,IAAI,CAAC,eAAe;gBAC1C,CAAC,iBAAiB,GAAG,CAAC,CAAC,QAAQ;gBAC/B,CAAC,iBAAiB,GAAG,CAAC,CAAC,QAAQ;gBAC/B,CAAC,YAAY,KAAK,EAAE,GAAG,KAAK,KAAK,SAAS;gBAC1C,CAAC,mBAAmB,GAAG,CAAC,CAAC,UAAU;aACpC,EACD,IAAI,EAAC,KAAK,mBACK,GAAG,QAAQ,EAAE,EAC5B,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,WAAW,EACpB,WAAW,EAAE,eAAe,mBACb,GAAG,QAAQ,EAAE,EAC5B,QAAQ,EAAE,QAAQ,GAAG,CAAC,GAAG,CAAC,CAAC,IAE1B,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC,IAAI,6DAAM,IAAI,EAAC,MAAM,GAAQ,EACzD,sEAAe,KAAK,EAAC,cAAc,EAAC,OAAO,EAAC,OAAO,IACjD,+DACE,8DAAa,CACR,CACO,EACf,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,CAAC,IAAI,6DAAM,IAAI,EAAC,OAAO,GAAQ,CACtD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/ic-tab/ic-tab.css?tag=ic-tab&encapsulation=shadow","src/components/ic-tab/ic-tab.tsx"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n --indicator-initial-color: rgba(23 89 188 / 0%);\n --focus-indicator: var(--ic-border-focus);\n\n display: flex;\n align-items: center;\n border-radius: 0;\n color: var(--ic-tab-label);\n\n --ic-typography-color: var(--ic-tab-label);\n\n height: 2.5rem;\n padding: 0 var(--ic-space-md);\n cursor: pointer;\n position: relative;\n border-bottom: var(--ic-space-xxs) solid var(--indicator-initial-color);\n gap: var(--ic-space-xs);\n transition: all var(--ic-easing-transition-fast);\n}\n\n::slotted([slot=\"icon\"]) {\n fill: var(--ic-tab-icon);\n}\n\n:host(.ic-tab-disabled) ::slotted([slot=\"icon\"]) {\n fill: var(--ic-tab-icon-disabled);\n}\n\n:host(:focus) {\n box-shadow: var(--focus-indicator);\n border-radius: var(--ic-border-radius);\n}\n\n:host(:focus-visible) {\n outline: var(--ic-hc-focus-outline);\n}\n\n:host(:hover) {\n background-color: var(--ic-tab-item-hover);\n}\n\n:host(:active) {\n background-color: var(--ic-tab-item-pressed);\n}\n\n:host(.ic-tab-selected) {\n border-bottom: var(--ic-space-xxs) solid var(--ic-tab-item);\n}\n\n:host(.ic-tab-disabled) {\n pointer-events: none;\n color: var(--ic-architectural-300);\n}\n\n:host(.ic-tab-disabled) ic-typography {\n --ic-typography-color: var(--ic-tab-label-disabled);\n}\n\n:host(.ic-tab-monochrome) {\n color: var(--ic-tab-label-monochrome);\n}\n\n:host(.ic-tab-monochrome.ic-tab-disabled) ic-typography {\n color: var(--ic-tab-label-monochrome-disabled);\n}\n\n:host(.ic-tab-monochrome) ::slotted([slot=\"icon\"]) {\n fill: var(--ic-tab-icon-monochrome);\n}\n\n:host(.ic-tab-monochrome.ic-tab-disabled) ::slotted([slot=\"icon\"]) {\n fill: var(--ic-tab-icon-monochrome-disabled);\n}\n\n:host(.ic-tab-monochrome.ic-tab-selected) {\n border-bottom: var(--ic-space-xxs) solid var(--ic-tab-item-monochrome);\n}\n\n:host(.ic-tab-monochrome:hover) {\n background-color: var(--ic-tab-item-hover-monochrome);\n}\n\n:host(.ic-tab-monochrome:active) {\n background-color: var(--ic-tab-item-pressed-monochrome);\n}\n\n@media (prefers-reduced-motion: no-preference) {\n :host(.ic-tab-selected.with-transition) {\n transition: all var(--ic-easing-transition-slow),\n border-color var(--ic-transition-duration-slow);\n }\n}\n\n.ic-tab-label {\n pointer-events: none;\n text-wrap: nowrap;\n}\n\n::slotted(svg) {\n fill: currentcolor;\n}\n\n@media (forced-colors: active) {\n :host {\n border-bottom: var(--ic-space-xxs) solid canvas;\n }\n\n :host(.ic-tab-disabled) {\n color: GrayText;\n }\n\n :host(.ic-tab-disabled) ic-typography {\n color: GrayText;\n\n --ic-typography-color: GrayText;\n }\n}\n\n/* Add back in after storybook has the `color-scheme: light dark` code */\n\n/* @media (prefers-color-scheme: dark) and (not (forced-colors: active)) {\n :host(ic-tab) .ic-tab-label {\n color: var(--ic-architectural-white);\n }\n :host(ic-tab.ic-tab-disabled) .ic-tab-label {\n color: inherit;\n }\n} */\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n Prop,\n h,\n Method,\n Watch,\n} from \"@stencil/core\";\n\nimport { IcTabClickEventDetail } from \"./ic-tab.types\";\nimport { IcThemeMode } from \"../../utils/types\";\nimport { isSlotUsed, removeDisabledFalse } from \"../../utils/helpers\";\n\n/**\n * @slot icon - Content will be rendered next to the tab label.\n * @slot badge - Badge component displayed inline with the tab.\n */\n@Component({\n tag: \"ic-tab\",\n styleUrl: \"ic-tab.css\",\n shadow: true,\n})\nexport class Tab {\n private focusFromClick: boolean = false;\n private focusTabId: string;\n private isInitialRender: boolean = true;\n\n @Element() el: HTMLIcTabElement;\n\n /** @internal The unique context needed if using multiple tabs inside one another i.e. rendering another tabs inside a tab panel. */\n @Prop({ reflect: true }) contextId?: string = \"default\";\n\n /**\n * If `true`, the disabled state will be set.\n */\n @Prop() disabled?: boolean = false;\n @Watch(\"disabled\")\n watchDisabledHandler(): void {\n removeDisabledFalse(this.disabled, this.el);\n }\n\n /** @internal Determines whether black variant of the tabs should be displayed. */\n @Prop() monochrome?: boolean = false;\n\n /** @internal If `true`, the tab will display with a selected indicator and tabIndex will be set. */\n @Prop({ reflect: true }) selected?: boolean = false;\n\n /** @internal The shared ID between panel and tab. */\n @Prop({ reflect: true }) tabId!: string;\n\n /** @internal The position of the tab inside the tabs array in context. */\n @Prop() tabPosition!: number;\n\n /** @internal Determines whether the light or dark variant of the tabs should be displayed. */\n @Prop() theme?: IcThemeMode = \"inherit\";\n\n @Watch(\"disabled\")\n disabledWatchHandler(): void {\n this.tabEnabled.emit();\n }\n\n /**\n * @internal Emitted when a tab is selected.\n */\n @Event() tabClick: EventEmitter<IcTabClickEventDetail>;\n\n /**\n * @internal Emitted when a tab is dynamically created.\n */\n @Event() tabCreated: EventEmitter<HTMLIcTabElement>;\n\n /**\n * @internal Emitted when a tab's disabled prop changes\n */\n @Event() tabEnabled: EventEmitter<void>;\n\n /**\n * @internal Emitted when a tab is focussed.\n */\n @Event() tabFocus: EventEmitter<IcTabClickEventDetail>;\n\n /**\n * @internal Emitted when a tab is unmounted.\n */\n @Event() tabRemoved: EventEmitter<void>;\n\n connectedCallback(): void {\n this.tabCreated.emit(this.el);\n }\n\n disconnectedCallback(): void {\n document\n .querySelector<HTMLIcTabContextElement>(\n `ic-tab-context[context-id=${this.contextId}]`\n )\n ?.tabRemovedHandler(!!this.focusTabId);\n }\n\n componentWillLoad(): void {\n removeDisabledFalse(this.disabled, this.el);\n }\n\n componentDidUpdate(): void {\n this.isInitialRender = false;\n }\n\n /**\n * Sets focus on the tab.\n */\n @Method()\n async setFocus(): Promise<void> {\n if (this.el) {\n this.el.focus();\n }\n }\n\n private handleClick = () => {\n this.tabClick.emit({\n tabId: this.tabId,\n contextId: this.contextId!,\n position: this.tabPosition,\n });\n if (this.focusFromClick) {\n this.tabFocus.emit({\n tabId: this.tabId,\n contextId: this.contextId!,\n position: this.tabPosition,\n });\n this.focusFromClick = false;\n }\n };\n\n private handleFocus = () => {\n if (!this.focusFromClick) {\n this.focusTabId = this.tabId;\n\n this.tabFocus.emit({\n tabId: this.tabId,\n contextId: this.contextId!,\n position: this.tabPosition,\n });\n }\n };\n\n private handleMouseDown = () => {\n //set flag so that focus gets handled after click\n //there is a timing issue where a long click only causes focus to happen & not the click\n //the focus does need to be a separate event though to handle focus from keyboard\n this.focusFromClick = true;\n };\n\n render() {\n const {\n disabled,\n selected,\n theme,\n monochrome,\n handleClick,\n handleFocus,\n handleMouseDown,\n } = this;\n return (\n <Host\n class={{\n [\"with-transition\"]: !this.isInitialRender,\n [\"ic-tab-selected\"]: !!selected,\n [\"ic-tab-disabled\"]: !!disabled,\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n [\"ic-tab-monochrome\"]: !!monochrome,\n }}\n role=\"tab\"\n aria-selected={`${selected}`}\n onClick={handleClick}\n onFocus={handleFocus}\n onMouseDown={handleMouseDown}\n aria-disabled={`${disabled}`}\n tabindex={selected ? 0 : -1}\n >\n {isSlotUsed(this.el, \"icon\") && <slot name=\"icon\"></slot>}\n <ic-typography class=\"ic-tab-label\" variant=\"label\">\n <span>\n <slot></slot>\n </span>\n </ic-typography>\n {isSlotUsed(this.el, \"badge\") && <slot name=\"badge\"></slot>}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-tab.js","mappings":";;;;AAAA,MAAM,QAAQ,GAAG,+hJAA+hJ,CAAC;AACjjJ,oBAAe,QAAQ;;MCwBV,GAAG;IALhB;;;;;;;;;QAMU,mBAAc,GAAY,KAAK,CAAC;QAEhC,oBAAe,GAAY,IAAI,CAAC;;QAKf,cAAS,GAAY,SAAS,CAAC;;;;QAKhD,aAAQ,GAAa,KAAK,CAAC;;QAO3B,eAAU,GAAa,KAAK,CAAC;;QAGZ,aAAQ,GAAa,KAAK,CAAC;;QAS5C,UAAK,GAAiB,SAAS,CAAC;QA8DhC,gBAAW,GAAG;YACpB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;gBACjB,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,SAAS,EAAE,IAAI,CAAC,SAAU;gBAC1B,QAAQ,EAAE,IAAI,CAAC,WAAW;aAC3B,CAAC,CAAC;YACH,IAAI,IAAI,CAAC,cAAc,EAAE;gBACvB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;oBACjB,KAAK,EAAE,IAAI,CAAC,KAAK;oBACjB,SAAS,EAAE,IAAI,CAAC,SAAU;oBAC1B,QAAQ,EAAE,IAAI,CAAC,WAAW;iBAC3B,CAAC,CAAC;gBACH,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;aAC7B;SACF,CAAC;QAEM,gBAAW,GAAG;YACpB,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;gBACxB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC;gBAE7B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;oBACjB,KAAK,EAAE,IAAI,CAAC,KAAK;oBACjB,SAAS,EAAE,IAAI,CAAC,SAAU;oBAC1B,QAAQ,EAAE,IAAI,CAAC,WAAW;iBAC3B,CAAC,CAAC;aACJ;SACF,CAAC;QAEM,oBAAe,GAAG;;;;YAIxB,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;SAC5B,CAAC;KAuCH;IAvJC,oBAAoB;QAClB,mBAAmB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;KAC7C;IAkBD,oBAAoB;QAClB,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;KACxB;IA2BD,iBAAiB;QACf,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KAC/B;IAED,oBAAoB;;QAClB,MAAA,QAAQ;aACL,aAAa,CACZ,6BAA6B,IAAI,CAAC,SAAS,GAAG,CAC/C,0CACC,iBAAiB,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;KAC1C;IAED,iBAAiB;QACf,mBAAmB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;KAC7C;IAED,kBAAkB;QAChB,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;KAC9B;;;;IAMD,MAAM,QAAQ;QACZ,IAAI,IAAI,CAAC,EAAE,EAAE;YACX,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC;SACjB;KACF;IAqCD,MAAM;QACJ,MAAM,EACJ,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,UAAU,EACV,WAAW,EACX,WAAW,EACX,eAAe,GAChB,GAAG,IAAI,CAAC;QACT,QACE,EAAC,IAAI,qDACH,KAAK,EAAE;gBACL,CAAC,iBAAiB,GAAG,CAAC,IAAI,CAAC,eAAe;gBAC1C,CAAC,iBAAiB,GAAG,CAAC,CAAC,QAAQ;gBAC/B,CAAC,iBAAiB,GAAG,CAAC,CAAC,QAAQ;gBAC/B,CAAC,YAAY,KAAK,EAAE,GAAG,KAAK,KAAK,SAAS;gBAC1C,CAAC,mBAAmB,GAAG,CAAC,CAAC,UAAU;aACpC,EACD,IAAI,EAAC,KAAK,mBACK,GAAG,QAAQ,EAAE,EAC5B,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,WAAW,EACpB,WAAW,EAAE,eAAe,mBACb,GAAG,QAAQ,EAAE,EAC5B,QAAQ,EAAE,QAAQ,GAAG,CAAC,GAAG,CAAC,CAAC,IAE1B,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC,IAAI,6DAAM,IAAI,EAAC,MAAM,GAAQ,EACzD,sEAAe,KAAK,EAAC,cAAc,EAAC,OAAO,EAAC,OAAO,IACjD,+DACE,8DAAa,CACR,CACO,EACf,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,CAAC,IAAI,6DAAM,IAAI,EAAC,OAAO,GAAQ,CACtD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/ic-tab/ic-tab.css?tag=ic-tab&encapsulation=shadow","src/components/ic-tab/ic-tab.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n --indicator-initial-color: rgba(23 89 188 / 0%);\n --focus-indicator: var(--ic-border-focus);\n\n display: flex;\n align-items: center;\n border-radius: 0;\n color: var(--ic-tab-label);\n\n --ic-typography-color: var(--ic-tab-label);\n\n height: 2.5rem;\n padding: 0 var(--ic-space-md);\n cursor: pointer;\n position: relative;\n border-bottom: var(--ic-space-xxs) solid var(--indicator-initial-color);\n gap: var(--ic-space-xs);\n transition: all var(--ic-easing-transition-fast);\n}\n\n::slotted([slot=\"icon\"]) {\n fill: var(--ic-tab-icon);\n}\n\n:host(.ic-tab-disabled) ::slotted([slot=\"icon\"]) {\n fill: var(--ic-tab-icon-disabled);\n}\n\n:host(:focus) {\n box-shadow: var(--focus-indicator);\n border-radius: var(--ic-border-radius);\n}\n\n:host(:focus-visible) {\n outline: var(--ic-hc-focus-outline);\n}\n\n:host(:hover) {\n background-color: var(--ic-tab-item-hover);\n}\n\n:host(:active) {\n background-color: var(--ic-tab-item-pressed);\n}\n\n:host(.ic-tab-selected) {\n border-bottom: var(--ic-space-xxs) solid var(--ic-tab-item);\n}\n\n:host(.ic-tab-disabled) {\n pointer-events: none;\n color: var(--ic-architectural-300);\n}\n\n:host(.ic-tab-disabled) ic-typography {\n --ic-typography-color: var(--ic-tab-label-disabled);\n}\n\n:host(.ic-tab-monochrome) {\n color: var(--ic-tab-label-monochrome);\n}\n\n:host(.ic-tab-monochrome.ic-tab-disabled) ic-typography {\n color: var(--ic-tab-label-monochrome-disabled);\n}\n\n:host(.ic-tab-monochrome) ::slotted([slot=\"icon\"]) {\n fill: var(--ic-tab-icon-monochrome);\n}\n\n:host(.ic-tab-monochrome.ic-tab-disabled) ::slotted([slot=\"icon\"]) {\n fill: var(--ic-tab-icon-monochrome-disabled);\n}\n\n:host(.ic-tab-monochrome.ic-tab-selected) {\n border-bottom: var(--ic-space-xxs) solid var(--ic-tab-item-monochrome);\n}\n\n:host(.ic-tab-monochrome:hover) {\n background-color: var(--ic-tab-item-hover-monochrome);\n}\n\n:host(.ic-tab-monochrome:active) {\n background-color: var(--ic-tab-item-pressed-monochrome);\n}\n\n@media (prefers-reduced-motion: no-preference) {\n :host(.ic-tab-selected.with-transition) {\n transition: all var(--ic-easing-transition-slow),\n border-color var(--ic-transition-duration-slow);\n }\n}\n\n.ic-tab-label {\n pointer-events: none;\n text-wrap: nowrap;\n}\n\n::slotted(svg) {\n fill: currentcolor;\n}\n\n@media (forced-colors: active) {\n :host {\n border-bottom: var(--ic-space-xxs) solid canvas;\n }\n\n :host(.ic-tab-disabled) {\n color: GrayText;\n }\n\n :host(.ic-tab-disabled) ic-typography {\n color: GrayText;\n\n --ic-typography-color: GrayText;\n }\n}\n\n/* Add back in after storybook has the `color-scheme: light dark` code */\n\n/* @media (prefers-color-scheme: dark) and (not (forced-colors: active)) {\n :host(ic-tab) .ic-tab-label {\n color: var(--ic-architectural-white);\n }\n :host(ic-tab.ic-tab-disabled) .ic-tab-label {\n color: inherit;\n }\n} */\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n Prop,\n h,\n Method,\n Watch,\n} from \"@stencil/core\";\n\nimport { IcTabClickEventDetail } from \"./ic-tab.types\";\nimport { IcThemeMode } from \"../../utils/types\";\nimport { isSlotUsed, removeDisabledFalse } from \"../../utils/helpers\";\n\n/**\n * @slot icon - Content will be rendered next to the tab label.\n * @slot badge - Badge component displayed inline with the tab.\n */\n@Component({\n tag: \"ic-tab\",\n styleUrl: \"ic-tab.css\",\n shadow: true,\n})\nexport class Tab {\n private focusFromClick: boolean = false;\n private focusTabId: string;\n private isInitialRender: boolean = true;\n\n @Element() el: HTMLIcTabElement;\n\n /** @internal The unique context needed if using multiple tabs inside one another i.e. rendering another tabs inside a tab panel. */\n @Prop({ reflect: true }) contextId?: string = \"default\";\n\n /**\n * If `true`, the disabled state will be set.\n */\n @Prop() disabled?: boolean = false;\n @Watch(\"disabled\")\n watchDisabledHandler(): void {\n removeDisabledFalse(this.disabled, this.el);\n }\n\n /** @internal Determines whether black variant of the tabs should be displayed. */\n @Prop() monochrome?: boolean = false;\n\n /** @internal If `true`, the tab will display with a selected indicator and tabIndex will be set. */\n @Prop({ reflect: true }) selected?: boolean = false;\n\n /** @internal The shared ID between panel and tab. */\n @Prop({ reflect: true }) tabId!: string;\n\n /** @internal The position of the tab inside the tabs array in context. */\n @Prop() tabPosition!: number;\n\n /** @internal Determines whether the light or dark variant of the tabs should be displayed. */\n @Prop() theme?: IcThemeMode = \"inherit\";\n\n @Watch(\"disabled\")\n disabledWatchHandler(): void {\n this.tabEnabled.emit();\n }\n\n /**\n * @internal Emitted when a tab is selected.\n */\n @Event() tabClick: EventEmitter<IcTabClickEventDetail>;\n\n /**\n * @internal Emitted when a tab is dynamically created.\n */\n @Event() tabCreated: EventEmitter<HTMLIcTabElement>;\n\n /**\n * @internal Emitted when a tab's disabled prop changes\n */\n @Event() tabEnabled: EventEmitter<void>;\n\n /**\n * @internal Emitted when a tab is focussed.\n */\n @Event() tabFocus: EventEmitter<IcTabClickEventDetail>;\n\n /**\n * @internal Emitted when a tab is unmounted.\n */\n @Event() tabRemoved: EventEmitter<void>;\n\n connectedCallback(): void {\n this.tabCreated.emit(this.el);\n }\n\n disconnectedCallback(): void {\n document\n .querySelector<HTMLIcTabContextElement>(\n `ic-tab-context[context-id=${this.contextId}]`\n )\n ?.tabRemovedHandler(!!this.focusTabId);\n }\n\n componentWillLoad(): void {\n removeDisabledFalse(this.disabled, this.el);\n }\n\n componentDidUpdate(): void {\n this.isInitialRender = false;\n }\n\n /**\n * Sets focus on the tab.\n */\n @Method()\n async setFocus(): Promise<void> {\n if (this.el) {\n this.el.focus();\n }\n }\n\n private handleClick = () => {\n this.tabClick.emit({\n tabId: this.tabId,\n contextId: this.contextId!,\n position: this.tabPosition,\n });\n if (this.focusFromClick) {\n this.tabFocus.emit({\n tabId: this.tabId,\n contextId: this.contextId!,\n position: this.tabPosition,\n });\n this.focusFromClick = false;\n }\n };\n\n private handleFocus = () => {\n if (!this.focusFromClick) {\n this.focusTabId = this.tabId;\n\n this.tabFocus.emit({\n tabId: this.tabId,\n contextId: this.contextId!,\n position: this.tabPosition,\n });\n }\n };\n\n private handleMouseDown = () => {\n //set flag so that focus gets handled after click\n //there is a timing issue where a long click only causes focus to happen & not the click\n //the focus does need to be a separate event though to handle focus from keyboard\n this.focusFromClick = true;\n };\n\n render() {\n const {\n disabled,\n selected,\n theme,\n monochrome,\n handleClick,\n handleFocus,\n handleMouseDown,\n } = this;\n return (\n <Host\n class={{\n [\"with-transition\"]: !this.isInitialRender,\n [\"ic-tab-selected\"]: !!selected,\n [\"ic-tab-disabled\"]: !!disabled,\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n [\"ic-tab-monochrome\"]: !!monochrome,\n }}\n role=\"tab\"\n aria-selected={`${selected}`}\n onClick={handleClick}\n onFocus={handleFocus}\n onMouseDown={handleMouseDown}\n aria-disabled={`${disabled}`}\n tabindex={selected ? 0 : -1}\n >\n {isSlotUsed(this.el, \"icon\") && <slot name=\"icon\"></slot>}\n <ic-typography class=\"ic-tab-label\" variant=\"label\">\n <span>\n <slot></slot>\n </span>\n </ic-typography>\n {isSlotUsed(this.el, \"badge\") && <slot name=\"badge\"></slot>}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
2
- import { W as checkSlotInChildMutations, r as removeDisabledFalse, U as debounceEvent, s as removeFormResetListener, b as inheritAttributes, q as addFormResetListener, o as onComponentRequiredPropUndefined, Z as IGNORED_KEYBOARD_CHARACTERS, z as IcInformationStatus, v as getInputDescribedByText, t as renderHiddenInput, u as removeHiddenInput, i as isSlotUsed, Y as isEmptyString, I as IC_INHERITED_ARIA } from './helpers.js';
2
+ import { W as checkSlotInChildMutations, r as removeDisabledFalse, U as debounceEvent, t as removeFormResetListener, b as inheritAttributes, s as addFormResetListener, o as onComponentRequiredPropUndefined, Z as IGNORED_KEYBOARD_CHARACTERS, A as IcInformationStatus, w as getInputDescribedByText, u as renderHiddenInput, v as removeHiddenInput, i as isSlotUsed, Y as isEmptyString, I as IC_INHERITED_ARIA } from './helpers.js';
3
3
  import { d as defineCustomElement$6 } from './ic-input-component-container2.js';
4
4
  import { d as defineCustomElement$5 } from './ic-input-container2.js';
5
5
  import { d as defineCustomElement$4 } from './ic-input-label2.js';
@@ -379,14 +379,14 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLE
379
379
  hiddenInput
380
380
  ? renderHiddenInput(this.el, value, name, disabledMode)
381
381
  : removeHiddenInput(this.el);
382
- return (h(Host, { key: '353a70181ab18c4f636b34e2177bb9d088567885', class: {
382
+ return (h(Host, { key: 'af9f4dab9e78765b8e1e578d57783e5487d83f6b', class: {
383
383
  "ic-text-field-full-width": fullWidth,
384
384
  "ic-text-field-disabled": disabledMode,
385
385
  [`ic-theme-${theme}`]: theme !== "inherit",
386
- } }, h("ic-input-container", { key: '96d0ef6132ed2a26ee535cfc5055ddc6287446f6', readonly: readonly, disabled: disabledMode }, !hideLabel && (h("ic-input-label", { key: 'dfcb7859651f74678636e4cda1ba0706b2e3b1fb', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledText, readonly: readonly }, h("slot", { key: 'd9ee297f2de674a969486a3d00eef54526eace50', name: "helper-text", slot: "helper-text" }))), h("ic-input-component-container", { key: '0a178235ced26ef73fd907d41424a8b4942659dc', size: size, validationStatus: currentStatus, multiLine: multiline, disabled: disabledMode, readonly: readonly, validationInline: validationInline, fullWidth: fullWidth }, showLeftIcon && (h("span", { key: 'c5206e3d1af81d4bf9bf0afcc9277899ca2287be', class: {
386
+ } }, h("ic-input-container", { key: '7417dcc2f53f877899b713093e81a4db38c394c7', readonly: readonly, disabled: disabledMode }, !hideLabel && (h("ic-input-label", { key: '36ae0e2a6a99024c0b8fbd141519dcd4d5390e6d', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledText, readonly: readonly }, h("slot", { key: '9392299204d1bc2ef1b0bb464984b8f8bc148834', name: "helper-text", slot: "helper-text" }))), h("ic-input-component-container", { key: 'd6819ae02cab210950e11d74c1dac6dd3c5505ed', size: size, validationStatus: currentStatus, multiLine: multiline, disabled: disabledMode, readonly: readonly, validationInline: validationInline, fullWidth: fullWidth }, showLeftIcon && (h("span", { key: '660f12ab2717dfd7b75bd19a60c92c167fb06db3', class: {
387
387
  readonly,
388
388
  "has-value": this.getNumberOfCharacters(value) > 0,
389
- }, slot: "left-icon" }, h("slot", { key: 'f3945929b482d9a0a954dc1afa658fc0c45d90c8', name: "icon" }))), !multiline ? (h("input", Object.assign({ id: inputId, name: name, ref: (el) => (this.inputEl = el), type: type, min: min, max: max, value: value, class: {
389
+ }, slot: "left-icon" }, h("slot", { key: '8631fc623d4f5b422921add6d01992b736acdf22', name: "icon" }))), !multiline ? (h("input", Object.assign({ id: inputId, name: name, ref: (el) => (this.inputEl = el), type: type, min: min, max: max, value: value, class: {
390
390
  "no-left-pad": !showLeftIcon && readonly,
391
391
  readonly,
392
392
  "truncate-value": truncateValue,
@@ -394,19 +394,19 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLE
394
394
  "no-resize": resize === false || !!readonly,
395
395
  "no-left-pad": !showLeftIcon && !!readonly,
396
396
  readonly: !!readonly,
397
- }, name: name, ref: (el) => (this.inputEl = el), value: value, rows: rows, required: required, disabled: disabledMode, placeholder: placeholder, readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, onScroll: this.onTextAreaScroll, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, autocapitalize: autocapitalize, spellcheck: spellcheck, inputmode: inputmode, maxlength: maxCharactersReached ? maxCharacters : undefined, minlength: minCharactersUnattained ? minCharacters : undefined }, inheritedAttributes))), isSlotUsed(el, "clear-button") && (h("slot", { key: '6397d66b59b148884cb2fd7f8913063ca24f0de1', name: "clear-button" })), isSlotUsed(el, "search-submit-button") && (h("slot", { key: 'c5e7f94345cebe1dc99ba475aa5bde1b45dda0e0', name: "search-submit-button" }))), isSlotUsed(el, "menu") && h("slot", { key: '1c7fe7d7654373753295a44a3e126ce2409099cc', name: "menu" }), (!isEmptyString(validationStatus) ||
397
+ }, name: name, ref: (el) => (this.inputEl = el), value: value, rows: rows, required: required, disabled: disabledMode, placeholder: placeholder, readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, onScroll: this.onTextAreaScroll, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, autocapitalize: autocapitalize, spellcheck: spellcheck, inputmode: inputmode, maxlength: maxCharactersReached ? maxCharacters : undefined, minlength: minCharactersUnattained ? minCharacters : undefined }, inheritedAttributes))), isSlotUsed(el, "clear-button") && (h("slot", { key: 'c92ce219c83dccaec610f5caeb2a71b4753cbe2f', name: "clear-button" })), isSlotUsed(el, "search-submit-button") && (h("slot", { key: '4ee50a7855e3a2c3fb5ab4ad655b278bb7a2190d', name: "search-submit-button" }))), isSlotUsed(el, "menu") && h("slot", { key: '9ab8449f815482c7cd689d3d22b918de4c72c27b', name: "menu" }), (!isEmptyString(validationStatus) ||
398
398
  !isEmptyString(validationText) ||
399
399
  maxNumChars > 0 ||
400
400
  maxValueExceeded ||
401
401
  maxCharactersWarning ||
402
402
  minCharactersUnattained ||
403
403
  minValueUnattained) &&
404
- !validationInlineInternal && (h("ic-input-validation", { key: '2ba3ff987910423696b822529b36e59f04b36025', status: this.hasStatus(currentStatus) === false ||
404
+ !validationInlineInternal && (h("ic-input-validation", { key: 'b87afc1859b8a33d5767b5b0c61056936b760de7', status: this.hasStatus(currentStatus) === false ||
405
405
  (currentStatus === IcInformationStatus.Success &&
406
406
  validationInline) ||
407
407
  validationInlineInternal
408
408
  ? ""
409
- : currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, !readonly && maxNumChars > 0 && (h("div", { key: '01e443574b72a18ebd0b0646b0c2c30b59cc5726', slot: "validation-message-adornment" }, !hideCharCount && (h("ic-typography", { key: '90d4e1d9325a34444c38a9c75eaaa5e256c23cae', variant: "caption", class: "char-count-text" }, h("span", { key: '901a7db053e3fa59e6db506a53be92ddbf54be5d', class: "char-count" }, numChars, "/", maxNumChars))), h("span", { key: '83b08ec8e8ba8286cc8024b647552c5b3e0d09e5', class: "remaining-char-count-desc", "aria-live": "polite", hidden: !isFocussed, id: remainingCharCountDescId }, remainingCharCountDesc), h("span", { key: '28e0fc0de7a73057a7b00bd7e40e71c7611a980c', hidden: true, id: hiddenCharCountDescId }, "Field can contain a maximum of ", maxNumChars, " characters."))))))));
409
+ : currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, !readonly && maxNumChars > 0 && (h("div", { key: 'b0f41b53066d1c7b6fa4442796ec5122198575bf', slot: "validation-message-adornment" }, !hideCharCount && (h("ic-typography", { key: 'acc961a28e30293d1031a8469327e3f70c179936', variant: "caption", class: "char-count-text" }, h("span", { key: '94e2d9e62a04beccd7abc4309a70f6a0908f4d34', class: "char-count" }, numChars, "/", maxNumChars))), h("span", { key: 'caf33b69417c2a5d956b7a88ea3855212c7e3e19', class: "remaining-char-count-desc", "aria-live": "polite", hidden: !isFocussed, id: remainingCharCountDescId }, remainingCharCountDesc), h("span", { key: 'f69c682178137ae9da47c05c15b81de48e06189a', hidden: true, id: hiddenCharCountDescId }, "Field can contain a maximum of ", maxNumChars, " characters."))))))));
410
410
  }
411
411
  get el() { return this; }
412
412
  static get watchers() { return {
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { _ as getBrandColorBrightness, $ as BLACK_MIN_COLOR_BRIGHTNESS, a0 as WHITE_MAX_COLOR_BRIGHTNESS, j as convertToRGBA, k as getBrandForegroundAppearance } from './helpers.js';
2
+ import { _ as getBrandColorBrightness, $ as BLACK_MIN_COLOR_BRIGHTNESS, a0 as WHITE_MAX_COLOR_BRIGHTNESS, k as convertToRGBA, l as getBrandForegroundAppearance } from './helpers.js';
3
3
 
4
4
  const Theme = /*@__PURE__*/ proxyCustomElement(class Theme extends HTMLElement {
5
5
  constructor() {
@@ -68,7 +68,7 @@ const Theme = /*@__PURE__*/ proxyCustomElement(class Theme extends HTMLElement {
68
68
  }
69
69
  render() {
70
70
  const { themeClass } = this;
71
- return (h(Host, { key: 'b49257f527c4a26eca25d04500d822785cba320b', class: themeClass }, h("slot", { key: '09782aca70372e6897e9032b66a166335778a6fe' })));
71
+ return (h(Host, { key: 'ee89cdd36cb4cb7e0589dfea2dd5a60b5de40041', class: themeClass }, h("slot", { key: 'e7803bf5fc0974bfcf9a2a52cb5870254453a1bd' })));
72
72
  }
73
73
  static get watchers() { return {
74
74
  "brandColor": ["watchBrandColorPropHandler"],
@@ -43,7 +43,7 @@ const ToastRegion = /*@__PURE__*/ proxyCustomElement(class ToastRegion extends H
43
43
  }
44
44
  }
45
45
  render() {
46
- return h("slot", { key: '9a80027a3b497771ca83af4172fdccc2bfcc10f0' });
46
+ return h("slot", { key: '5f8c46d718f868942c5b46b431b2cee136e215b4' });
47
47
  }
48
48
  get el() { return this; }
49
49
  static get watchers() { return {