@ukic/web-components 3.4.0 → 3.5.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 (477) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-fc4016d2.js → helpers-931fd72e.js} +30 -32
  3. package/dist/cjs/helpers-931fd72e.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-alert.cjs.entry.js +1 -1
  7. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  8. package/dist/cjs/ic-badge.cjs.entry.js +1 -1
  9. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
  10. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  11. package/dist/cjs/ic-button_3.cjs.entry.js +135 -142
  12. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-card-vertical.cjs.entry.js +1 -1
  14. package/dist/cjs/ic-checkbox-group.cjs.entry.js +5 -5
  15. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
  17. package/dist/cjs/ic-chip.cjs.entry.js +1 -1
  18. package/dist/cjs/ic-data-list.cjs.entry.js +2 -2
  19. package/dist/cjs/ic-data-row.cjs.entry.js +3 -3
  20. package/dist/cjs/ic-dialog.cjs.entry.js +2 -2
  21. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  22. package/dist/cjs/ic-empty-state.cjs.entry.js +3 -3
  23. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  24. package/dist/cjs/ic-footer-link.cjs.entry.js +3 -3
  25. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  26. package/dist/cjs/ic-hero.cjs.entry.js +5 -5
  27. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +6 -6
  28. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +19 -14
  29. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  30. package/dist/cjs/ic-input-label_2.cjs.entry.js +36 -13
  31. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  32. package/dist/cjs/ic-link.cjs.entry.js +2 -2
  33. package/dist/cjs/ic-menu-group.cjs.entry.js +2 -2
  34. package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
  35. package/dist/cjs/ic-navigation-button.cjs.entry.js +31 -39
  36. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ic-navigation-group.cjs.entry.js +7 -4
  38. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-navigation-item.cjs.entry.js +2 -2
  40. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-navigation-menu.cjs.entry.js +5 -5
  42. package/dist/cjs/ic-page-header.cjs.entry.js +7 -7
  43. package/dist/cjs/ic-pagination-item.cjs.entry.js +2 -2
  44. package/dist/cjs/ic-pagination.cjs.entry.js +5 -5
  45. package/dist/cjs/ic-popover-menu.cjs.entry.js +5 -5
  46. package/dist/cjs/ic-radio-group.cjs.entry.js +6 -6
  47. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ic-radio-option.cjs.entry.js +5 -5
  49. package/dist/cjs/ic-search-bar.cjs.entry.js +28 -12
  50. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  52. package/dist/cjs/ic-select.cjs.entry.js +8 -8
  53. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  54. package/dist/cjs/ic-side-navigation.cjs.entry.js +16 -17
  55. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
  57. package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
  58. package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
  59. package/dist/cjs/ic-step.cjs.entry.js +14 -14
  60. package/dist/cjs/ic-stepper.cjs.entry.js +3 -3
  61. package/dist/cjs/ic-switch.cjs.entry.js +6 -6
  62. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
  64. package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
  65. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  66. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  67. package/dist/cjs/ic-text-field.cjs.entry.js +8 -8
  68. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-theme.cjs.entry.js +2 -2
  70. package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
  71. package/dist/cjs/ic-toast.cjs.entry.js +4 -4
  72. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +3 -3
  73. package/dist/cjs/ic-toggle-button.cjs.entry.js +3 -3
  74. package/dist/cjs/ic-top-navigation.cjs.entry.js +15 -9
  75. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ic-typography.cjs.entry.js +3 -3
  77. package/dist/cjs/loader.cjs.js +1 -1
  78. package/dist/collection/ag-theme-icds.css +24 -4
  79. package/dist/collection/components/ic-button/ic-button.js +3 -3
  80. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  81. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +10 -2
  82. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +6 -3
  83. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  84. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.stories.js +22 -0
  85. package/dist/collection/components/ic-data-list/ic-data-list.js +2 -2
  86. package/dist/collection/components/ic-data-row/ic-data-row.js +2 -2
  87. package/dist/collection/components/ic-dialog/ic-dialog.js +1 -1
  88. package/dist/collection/components/ic-empty-state/ic-empty-state.js +2 -2
  89. package/dist/collection/components/ic-footer-link/ic-footer-link.js +2 -2
  90. package/dist/collection/components/ic-hero/ic-hero.js +4 -4
  91. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +5 -5
  92. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +3 -3
  93. package/dist/collection/components/ic-input-container/ic-input-container.js +2 -2
  94. package/dist/collection/components/ic-input-label/ic-input-label.css +2 -1
  95. package/dist/collection/components/ic-input-label/ic-input-label.js +31 -8
  96. package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
  97. package/dist/collection/components/ic-input-validation/ic-input-validation.js +3 -3
  98. package/dist/collection/components/ic-link/ic-link.js +1 -1
  99. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +3 -3
  100. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +210 -211
  101. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
  102. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.stories.js +1 -1
  103. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js.map +1 -1
  104. package/dist/collection/components/ic-menu/ic-menu.js +56 -10
  105. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  106. package/dist/collection/components/ic-menu-group/ic-menu-group.js +1 -1
  107. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +38 -47
  108. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  109. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +26 -4
  110. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  111. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +6 -4
  112. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +4 -4
  113. package/dist/collection/components/ic-page-header/ic-page-header.js +6 -6
  114. package/dist/collection/components/ic-pagination/ic-pagination.js +4 -4
  115. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +1 -1
  116. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +4 -4
  117. package/dist/collection/components/ic-radio-group/ic-radio-group.css +10 -2
  118. package/dist/collection/components/ic-radio-group/ic-radio-group.js +7 -4
  119. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  120. package/dist/collection/components/ic-radio-group/ic-radio-group.stories.js +22 -0
  121. package/dist/collection/components/ic-radio-option/ic-radio-option.js +4 -4
  122. package/dist/collection/components/ic-search-bar/ic-search-bar.js +53 -11
  123. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  124. package/dist/collection/components/ic-search-bar/ic-search-bar.stories.js +20 -10
  125. package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
  126. package/dist/collection/components/ic-select/ic-select.js +8 -7
  127. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  128. package/dist/collection/components/ic-select/ic-select_(multi).stories.js +21 -13
  129. package/dist/collection/components/ic-select/ic-select_(searchable).stories.js +21 -13
  130. package/dist/collection/components/ic-select/ic-select_(single).stories.js +17 -9
  131. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +15 -16
  132. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  133. package/dist/collection/components/ic-side-navigation/ic-side-navigation.stories.js +143 -0
  134. package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
  135. package/dist/collection/components/ic-skip-link/ic-skip-link.js +2 -2
  136. package/dist/collection/components/ic-status-tag/ic-status-tag.js +2 -2
  137. package/dist/collection/components/ic-step/ic-step.js +13 -13
  138. package/dist/collection/components/ic-stepper/ic-stepper.js +2 -2
  139. package/dist/collection/components/ic-switch/ic-switch.css +1 -4
  140. package/dist/collection/components/ic-switch/ic-switch.js +5 -4
  141. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  142. package/dist/collection/components/ic-switch/ic-switch.stories.js +8 -1
  143. package/dist/collection/components/ic-tab-context/ic-tab-context.js +1 -1
  144. package/dist/collection/components/ic-tab-group/ic-tab-group.js +2 -2
  145. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +2 -2
  146. package/dist/collection/components/ic-text-field/ic-text-field.js +8 -7
  147. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  148. package/dist/collection/components/ic-text-field/ic-text-field.stories.js +12 -1
  149. package/dist/collection/components/ic-theme/ic-theme.js +1 -1
  150. package/dist/collection/components/ic-toast/ic-toast.js +3 -3
  151. package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -1
  152. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +2 -2
  153. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +2 -2
  154. package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +1 -0
  155. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +13 -7
  156. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  157. package/dist/collection/components/ic-typography/ic-typography.js +2 -2
  158. package/dist/collection/utils/constants.js +1 -1
  159. package/dist/collection/utils/constants.js.map +1 -1
  160. package/dist/collection/utils/helpers.js +27 -30
  161. package/dist/collection/utils/helpers.js.map +1 -1
  162. package/dist/components/helpers.js +29 -32
  163. package/dist/components/helpers.js.map +1 -1
  164. package/dist/components/ic-button2.js +3 -3
  165. package/dist/components/ic-button2.js.map +1 -1
  166. package/dist/components/ic-checkbox-group.js +4 -4
  167. package/dist/components/ic-checkbox-group.js.map +1 -1
  168. package/dist/components/ic-data-list.js +2 -2
  169. package/dist/components/ic-data-row.js +2 -2
  170. package/dist/components/ic-dialog.js +1 -1
  171. package/dist/components/ic-empty-state.js +2 -2
  172. package/dist/components/ic-footer-link.js +2 -2
  173. package/dist/components/ic-hero.js +4 -4
  174. package/dist/components/ic-horizontal-scroll2.js +5 -5
  175. package/dist/components/ic-input-component-container2.js +3 -3
  176. package/dist/components/ic-input-container2.js +2 -2
  177. package/dist/components/ic-input-label2.js +33 -10
  178. package/dist/components/ic-input-label2.js.map +1 -1
  179. package/dist/components/ic-input-validation2.js +3 -3
  180. package/dist/components/ic-link2.js +1 -1
  181. package/dist/components/ic-loading-indicator2.js +139 -143
  182. package/dist/components/ic-loading-indicator2.js.map +1 -1
  183. package/dist/components/ic-menu-group.js +1 -1
  184. package/dist/components/ic-menu2.js +16 -9
  185. package/dist/components/ic-menu2.js.map +1 -1
  186. package/dist/components/ic-navigation-button.js +32 -41
  187. package/dist/components/ic-navigation-button.js.map +1 -1
  188. package/dist/components/ic-navigation-group.js +8 -5
  189. package/dist/components/ic-navigation-group.js.map +1 -1
  190. package/dist/components/ic-navigation-item.js +2 -2
  191. package/dist/components/ic-navigation-item.js.map +1 -1
  192. package/dist/components/ic-navigation-menu2.js +5 -5
  193. package/dist/components/ic-page-header.js +6 -6
  194. package/dist/components/ic-pagination-item2.js +2 -2
  195. package/dist/components/ic-pagination.js +4 -4
  196. package/dist/components/ic-popover-menu.js +4 -4
  197. package/dist/components/ic-radio-group.js +5 -5
  198. package/dist/components/ic-radio-group.js.map +1 -1
  199. package/dist/components/ic-radio-option.js +4 -4
  200. package/dist/components/ic-radio-option.js.map +1 -1
  201. package/dist/components/ic-search-bar.js +31 -12
  202. package/dist/components/ic-search-bar.js.map +1 -1
  203. package/dist/components/ic-section-container2.js +2 -2
  204. package/dist/components/ic-select.js +8 -8
  205. package/dist/components/ic-select.js.map +1 -1
  206. package/dist/components/ic-side-navigation.js +16 -17
  207. package/dist/components/ic-side-navigation.js.map +1 -1
  208. package/dist/components/ic-skeleton.js +2 -2
  209. package/dist/components/ic-skip-link.js +2 -2
  210. package/dist/components/ic-status-tag.js +2 -2
  211. package/dist/components/ic-step.js +13 -13
  212. package/dist/components/ic-stepper.js +2 -2
  213. package/dist/components/ic-switch.js +5 -5
  214. package/dist/components/ic-switch.js.map +1 -1
  215. package/dist/components/ic-tab-context.js +1 -1
  216. package/dist/components/ic-tab-group.js +2 -2
  217. package/dist/components/ic-tab-panel.js +2 -2
  218. package/dist/components/ic-tab-panel.js.map +1 -1
  219. package/dist/components/ic-text-field.js +8 -8
  220. package/dist/components/ic-text-field.js.map +1 -1
  221. package/dist/components/ic-theme.js +2 -2
  222. package/dist/components/ic-toast-region.js +1 -1
  223. package/dist/components/ic-toast.js +4 -4
  224. package/dist/components/ic-toggle-button-group.js +2 -2
  225. package/dist/components/ic-toggle-button.js +3 -3
  226. package/dist/components/ic-top-navigation.js +15 -9
  227. package/dist/components/ic-top-navigation.js.map +1 -1
  228. package/dist/components/ic-typography2.js +2 -2
  229. package/dist/core/ag-theme-icds.css +24 -4
  230. package/dist/core/core.css +29 -25
  231. package/dist/core/core.esm.js +1 -1
  232. package/dist/core/core.esm.js.map +1 -1
  233. package/dist/core/{p-7deaf128.entry.js → p-0f3a56bb.entry.js} +2 -2
  234. package/dist/core/p-0f3a56bb.entry.js.map +1 -0
  235. package/dist/core/{p-c5ffe2cf.entry.js → p-0f86ea09.entry.js} +2 -2
  236. package/dist/core/p-1228fd8c.entry.js +2 -0
  237. package/dist/core/{p-887e00bb.entry.js.map → p-1228fd8c.entry.js.map} +1 -1
  238. package/dist/core/{p-aad2abbf.entry.js → p-1286b234.entry.js} +2 -2
  239. package/dist/core/p-1286b234.entry.js.map +1 -0
  240. package/dist/core/{p-d82b27df.entry.js → p-13e65198.entry.js} +2 -2
  241. package/dist/core/{p-9a6dc8b1.entry.js → p-20a6dc40.entry.js} +2 -2
  242. package/dist/core/{p-4e48a671.entry.js → p-21ed856c.entry.js} +2 -2
  243. package/dist/core/{p-a140bcaa.entry.js → p-226406d6.entry.js} +2 -2
  244. package/dist/core/{p-7d2c07e2.entry.js → p-24bb2265.entry.js} +2 -2
  245. package/dist/core/{p-5eb2ac90.entry.js → p-2b342b23.entry.js} +2 -2
  246. package/dist/core/{p-8958c60f.entry.js → p-334672c1.entry.js} +2 -2
  247. package/dist/core/{p-dee21f6d.entry.js → p-3448c713.entry.js} +2 -2
  248. package/dist/core/{p-6cd0b010.entry.js → p-37900547.entry.js} +2 -2
  249. package/dist/core/{p-7d352865.entry.js → p-3abaa877.entry.js} +2 -2
  250. package/dist/core/p-3abaa877.entry.js.map +1 -0
  251. package/dist/core/{p-ef36181d.entry.js → p-3afc2870.entry.js} +2 -2
  252. package/dist/core/{p-aad10013.entry.js → p-3d7d2ff4.entry.js} +2 -2
  253. package/dist/core/p-41bb4db1.entry.js +2 -0
  254. package/dist/core/p-41bb4db1.entry.js.map +1 -0
  255. package/dist/core/{p-6eea869b.entry.js → p-44902a33.entry.js} +2 -2
  256. package/dist/core/{p-628c32b8.entry.js → p-476eac8c.entry.js} +2 -2
  257. package/dist/core/{p-56e0de32.entry.js → p-49ca3f54.entry.js} +2 -2
  258. package/dist/core/{p-56fb0298.entry.js → p-4dfc41e7.entry.js} +2 -2
  259. package/dist/core/{p-23536595.entry.js → p-5026eeaf.entry.js} +2 -2
  260. package/dist/core/{p-4a2acb2e.entry.js → p-54ea7120.entry.js} +2 -2
  261. package/dist/core/{p-a17499ff.entry.js → p-5b2bf9bb.entry.js} +2 -2
  262. package/dist/core/{p-ef4b752c.entry.js → p-5d9b23ce.entry.js} +2 -2
  263. package/dist/core/{p-4dc97b03.entry.js → p-5f9d1977.entry.js} +2 -2
  264. package/dist/core/p-5f9d1977.entry.js.map +1 -0
  265. package/dist/core/{p-e38fddbb.entry.js → p-6c10e1a2.entry.js} +2 -2
  266. package/dist/core/{p-51b49429.entry.js → p-6cb81f35.entry.js} +2 -2
  267. package/dist/core/{p-d4903dcd.entry.js → p-6dd73165.entry.js} +2 -2
  268. package/dist/core/{p-fc4f7180.entry.js → p-7ead8535.entry.js} +2 -2
  269. package/dist/core/{p-c8cf1ad5.entry.js → p-831e884c.entry.js} +2 -2
  270. package/dist/core/{p-fa38ad2e.entry.js → p-85f735ed.entry.js} +2 -2
  271. package/dist/core/p-89f493f3.entry.js +2 -0
  272. package/dist/core/p-89f493f3.entry.js.map +1 -0
  273. package/dist/core/{p-dfc8cba6.entry.js → p-8da025b5.entry.js} +2 -2
  274. package/dist/core/p-990c37aa.entry.js +2 -0
  275. package/dist/core/p-990c37aa.entry.js.map +1 -0
  276. package/dist/core/{p-803f2eb8.entry.js → p-9e039aba.entry.js} +2 -2
  277. package/dist/core/{p-3cb4ecef.entry.js → p-9e051db4.entry.js} +2 -2
  278. package/dist/core/{p-1d172032.entry.js → p-9edc5973.entry.js} +2 -2
  279. package/dist/core/{p-2c371198.entry.js → p-a14025cc.entry.js} +2 -2
  280. package/dist/core/p-a7286727.entry.js +2 -0
  281. package/dist/core/p-a7286727.entry.js.map +1 -0
  282. package/dist/core/{p-cfa9ed7d.entry.js → p-ab4e8b4a.entry.js} +2 -2
  283. package/dist/core/{p-dcce0dfd.entry.js → p-ab7a5536.entry.js} +2 -2
  284. package/dist/core/{p-26dfc4db.entry.js → p-ac73cfb8.entry.js} +2 -2
  285. package/dist/core/{p-1d254b71.entry.js → p-ad374f0b.entry.js} +2 -2
  286. package/dist/core/{p-513628ef.entry.js → p-b08bb522.entry.js} +2 -2
  287. package/dist/core/{p-e2629bfe.entry.js → p-b1b27b7e.entry.js} +2 -2
  288. package/dist/core/p-b40ecf16.js +2 -0
  289. package/dist/core/p-b40ecf16.js.map +1 -0
  290. package/dist/core/{p-5aec3757.entry.js → p-b59007a3.entry.js} +2 -2
  291. package/dist/core/{p-87fa5add.entry.js → p-b811c7a1.entry.js} +2 -2
  292. package/dist/core/p-b811c7a1.entry.js.map +1 -0
  293. package/dist/core/p-bae2df5e.entry.js +2 -0
  294. package/dist/core/p-bae2df5e.entry.js.map +1 -0
  295. package/dist/core/{p-d8ce39ac.entry.js → p-c8555360.entry.js} +2 -2
  296. package/dist/core/{p-60aad45d.entry.js → p-ced2e6ca.entry.js} +2 -2
  297. package/dist/core/{p-de1e04ac.entry.js → p-d281c3cf.entry.js} +2 -2
  298. package/dist/core/p-d32c377d.entry.js +2 -0
  299. package/dist/core/p-d32c377d.entry.js.map +1 -0
  300. package/dist/core/p-d4a77f80.entry.js +2 -0
  301. package/dist/core/p-d4a77f80.entry.js.map +1 -0
  302. package/dist/core/{p-9c47521d.entry.js → p-d7476f6d.entry.js} +2 -2
  303. package/dist/core/{p-8c77dd65.entry.js → p-e107d1dd.entry.js} +2 -2
  304. package/dist/core/p-e506ec91.entry.js +2 -0
  305. package/dist/core/p-e506ec91.entry.js.map +1 -0
  306. package/dist/core/{p-bf3b853e.entry.js → p-fc5661ac.entry.js} +2 -2
  307. package/dist/core/p-fca45edb.entry.js +2 -0
  308. package/dist/core/p-fca45edb.entry.js.map +1 -0
  309. package/dist/esm/core.js +1 -1
  310. package/dist/esm/{helpers-f2ffaa7c.js → helpers-91abc444.js} +30 -33
  311. package/dist/esm/helpers-91abc444.js.map +1 -0
  312. package/dist/esm/ic-accordion-group.entry.js +1 -1
  313. package/dist/esm/ic-accordion.entry.js +1 -1
  314. package/dist/esm/ic-alert.entry.js +1 -1
  315. package/dist/esm/ic-back-to-top.entry.js +1 -1
  316. package/dist/esm/ic-badge.entry.js +1 -1
  317. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  318. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  319. package/dist/esm/ic-button_3.entry.js +135 -142
  320. package/dist/esm/ic-button_3.entry.js.map +1 -1
  321. package/dist/esm/ic-card-vertical.entry.js +1 -1
  322. package/dist/esm/ic-checkbox-group.entry.js +5 -5
  323. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  324. package/dist/esm/ic-checkbox.entry.js +1 -1
  325. package/dist/esm/ic-chip.entry.js +1 -1
  326. package/dist/esm/ic-data-list.entry.js +2 -2
  327. package/dist/esm/ic-data-row.entry.js +3 -3
  328. package/dist/esm/ic-dialog.entry.js +2 -2
  329. package/dist/esm/ic-divider.entry.js +1 -1
  330. package/dist/esm/ic-empty-state.entry.js +3 -3
  331. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  332. package/dist/esm/ic-footer-link.entry.js +3 -3
  333. package/dist/esm/ic-footer.entry.js +1 -1
  334. package/dist/esm/ic-hero.entry.js +5 -5
  335. package/dist/esm/ic-horizontal-scroll.entry.js +6 -6
  336. package/dist/esm/ic-input-component-container_3.entry.js +19 -14
  337. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  338. package/dist/esm/ic-input-label_2.entry.js +36 -13
  339. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  340. package/dist/esm/ic-link.entry.js +2 -2
  341. package/dist/esm/ic-menu-group.entry.js +2 -2
  342. package/dist/esm/ic-menu-item.entry.js +1 -1
  343. package/dist/esm/ic-navigation-button.entry.js +31 -39
  344. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  345. package/dist/esm/ic-navigation-group.entry.js +7 -4
  346. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  347. package/dist/esm/ic-navigation-item.entry.js +2 -2
  348. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  349. package/dist/esm/ic-navigation-menu.entry.js +5 -5
  350. package/dist/esm/ic-page-header.entry.js +7 -7
  351. package/dist/esm/ic-pagination-item.entry.js +2 -2
  352. package/dist/esm/ic-pagination.entry.js +5 -5
  353. package/dist/esm/ic-popover-menu.entry.js +5 -5
  354. package/dist/esm/ic-radio-group.entry.js +6 -6
  355. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  356. package/dist/esm/ic-radio-option.entry.js +5 -5
  357. package/dist/esm/ic-search-bar.entry.js +28 -12
  358. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  359. package/dist/esm/ic-section-container.entry.js +2 -2
  360. package/dist/esm/ic-select.entry.js +8 -8
  361. package/dist/esm/ic-select.entry.js.map +1 -1
  362. package/dist/esm/ic-side-navigation.entry.js +16 -17
  363. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  364. package/dist/esm/ic-skeleton.entry.js +2 -2
  365. package/dist/esm/ic-skip-link.entry.js +2 -2
  366. package/dist/esm/ic-status-tag.entry.js +3 -3
  367. package/dist/esm/ic-step.entry.js +14 -14
  368. package/dist/esm/ic-stepper.entry.js +3 -3
  369. package/dist/esm/ic-switch.entry.js +6 -6
  370. package/dist/esm/ic-switch.entry.js.map +1 -1
  371. package/dist/esm/ic-tab-context.entry.js +1 -1
  372. package/dist/esm/ic-tab-group.entry.js +3 -3
  373. package/dist/esm/ic-tab-panel.entry.js +2 -2
  374. package/dist/esm/ic-tab.entry.js +1 -1
  375. package/dist/esm/ic-text-field.entry.js +8 -8
  376. package/dist/esm/ic-text-field.entry.js.map +1 -1
  377. package/dist/esm/ic-theme.entry.js +2 -2
  378. package/dist/esm/ic-toast-region.entry.js +1 -1
  379. package/dist/esm/ic-toast.entry.js +4 -4
  380. package/dist/esm/ic-toggle-button-group.entry.js +3 -3
  381. package/dist/esm/ic-toggle-button.entry.js +3 -3
  382. package/dist/esm/ic-top-navigation.entry.js +15 -9
  383. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  384. package/dist/esm/ic-typography.entry.js +3 -3
  385. package/dist/esm/loader.js +1 -1
  386. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +3 -0
  387. package/dist/types/components/ic-input-label/ic-input-label.d.ts +2 -0
  388. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +28 -32
  389. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +2 -0
  390. package/dist/types/components/ic-menu/ic-menu.d.ts +7 -0
  391. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +8 -5
  392. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +4 -1
  393. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +3 -0
  394. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +11 -0
  395. package/dist/types/components/ic-select/ic-select.d.ts +1 -0
  396. package/dist/types/components/ic-switch/ic-switch.d.ts +1 -0
  397. package/dist/types/components/ic-text-field/ic-text-field.d.ts +1 -0
  398. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +1 -0
  399. package/dist/types/components.d.ts +33 -13
  400. package/dist/types/utils/constants.d.ts +1 -1
  401. package/dist/types/utils/helpers.d.ts +1 -1
  402. package/hydrate/index.js +445 -396
  403. package/hydrate/index.mjs +445 -396
  404. package/package.json +3 -5
  405. package/vscode-data.json +8 -0
  406. package/dist/cjs/helpers-fc4016d2.js.map +0 -1
  407. package/dist/core/p-0fb68b4f.entry.js +0 -2
  408. package/dist/core/p-0fb68b4f.entry.js.map +0 -1
  409. package/dist/core/p-15b7adaf.entry.js +0 -2
  410. package/dist/core/p-15b7adaf.entry.js.map +0 -1
  411. package/dist/core/p-3676ac4e.entry.js +0 -2
  412. package/dist/core/p-3676ac4e.entry.js.map +0 -1
  413. package/dist/core/p-432aeae0.entry.js +0 -2
  414. package/dist/core/p-432aeae0.entry.js.map +0 -1
  415. package/dist/core/p-4dc97b03.entry.js.map +0 -1
  416. package/dist/core/p-554845c4.entry.js +0 -2
  417. package/dist/core/p-554845c4.entry.js.map +0 -1
  418. package/dist/core/p-59b48450.entry.js +0 -2
  419. package/dist/core/p-59b48450.entry.js.map +0 -1
  420. package/dist/core/p-7d352865.entry.js.map +0 -1
  421. package/dist/core/p-7deaf128.entry.js.map +0 -1
  422. package/dist/core/p-8242c24f.js +0 -2
  423. package/dist/core/p-8242c24f.js.map +0 -1
  424. package/dist/core/p-87fa5add.entry.js.map +0 -1
  425. package/dist/core/p-887e00bb.entry.js +0 -2
  426. package/dist/core/p-aad2abbf.entry.js.map +0 -1
  427. package/dist/core/p-bdcc79dd.entry.js +0 -2
  428. package/dist/core/p-bdcc79dd.entry.js.map +0 -1
  429. package/dist/core/p-c59fd23e.entry.js +0 -2
  430. package/dist/core/p-c59fd23e.entry.js.map +0 -1
  431. package/dist/core/p-eca6e215.entry.js +0 -2
  432. package/dist/core/p-eca6e215.entry.js.map +0 -1
  433. package/dist/esm/helpers-f2ffaa7c.js.map +0 -1
  434. /package/dist/core/{p-c5ffe2cf.entry.js.map → p-0f86ea09.entry.js.map} +0 -0
  435. /package/dist/core/{p-d82b27df.entry.js.map → p-13e65198.entry.js.map} +0 -0
  436. /package/dist/core/{p-9a6dc8b1.entry.js.map → p-20a6dc40.entry.js.map} +0 -0
  437. /package/dist/core/{p-4e48a671.entry.js.map → p-21ed856c.entry.js.map} +0 -0
  438. /package/dist/core/{p-a140bcaa.entry.js.map → p-226406d6.entry.js.map} +0 -0
  439. /package/dist/core/{p-7d2c07e2.entry.js.map → p-24bb2265.entry.js.map} +0 -0
  440. /package/dist/core/{p-5eb2ac90.entry.js.map → p-2b342b23.entry.js.map} +0 -0
  441. /package/dist/core/{p-8958c60f.entry.js.map → p-334672c1.entry.js.map} +0 -0
  442. /package/dist/core/{p-dee21f6d.entry.js.map → p-3448c713.entry.js.map} +0 -0
  443. /package/dist/core/{p-6cd0b010.entry.js.map → p-37900547.entry.js.map} +0 -0
  444. /package/dist/core/{p-ef36181d.entry.js.map → p-3afc2870.entry.js.map} +0 -0
  445. /package/dist/core/{p-aad10013.entry.js.map → p-3d7d2ff4.entry.js.map} +0 -0
  446. /package/dist/core/{p-6eea869b.entry.js.map → p-44902a33.entry.js.map} +0 -0
  447. /package/dist/core/{p-628c32b8.entry.js.map → p-476eac8c.entry.js.map} +0 -0
  448. /package/dist/core/{p-56e0de32.entry.js.map → p-49ca3f54.entry.js.map} +0 -0
  449. /package/dist/core/{p-56fb0298.entry.js.map → p-4dfc41e7.entry.js.map} +0 -0
  450. /package/dist/core/{p-23536595.entry.js.map → p-5026eeaf.entry.js.map} +0 -0
  451. /package/dist/core/{p-4a2acb2e.entry.js.map → p-54ea7120.entry.js.map} +0 -0
  452. /package/dist/core/{p-a17499ff.entry.js.map → p-5b2bf9bb.entry.js.map} +0 -0
  453. /package/dist/core/{p-ef4b752c.entry.js.map → p-5d9b23ce.entry.js.map} +0 -0
  454. /package/dist/core/{p-e38fddbb.entry.js.map → p-6c10e1a2.entry.js.map} +0 -0
  455. /package/dist/core/{p-51b49429.entry.js.map → p-6cb81f35.entry.js.map} +0 -0
  456. /package/dist/core/{p-d4903dcd.entry.js.map → p-6dd73165.entry.js.map} +0 -0
  457. /package/dist/core/{p-fc4f7180.entry.js.map → p-7ead8535.entry.js.map} +0 -0
  458. /package/dist/core/{p-c8cf1ad5.entry.js.map → p-831e884c.entry.js.map} +0 -0
  459. /package/dist/core/{p-fa38ad2e.entry.js.map → p-85f735ed.entry.js.map} +0 -0
  460. /package/dist/core/{p-dfc8cba6.entry.js.map → p-8da025b5.entry.js.map} +0 -0
  461. /package/dist/core/{p-803f2eb8.entry.js.map → p-9e039aba.entry.js.map} +0 -0
  462. /package/dist/core/{p-3cb4ecef.entry.js.map → p-9e051db4.entry.js.map} +0 -0
  463. /package/dist/core/{p-1d172032.entry.js.map → p-9edc5973.entry.js.map} +0 -0
  464. /package/dist/core/{p-2c371198.entry.js.map → p-a14025cc.entry.js.map} +0 -0
  465. /package/dist/core/{p-cfa9ed7d.entry.js.map → p-ab4e8b4a.entry.js.map} +0 -0
  466. /package/dist/core/{p-dcce0dfd.entry.js.map → p-ab7a5536.entry.js.map} +0 -0
  467. /package/dist/core/{p-26dfc4db.entry.js.map → p-ac73cfb8.entry.js.map} +0 -0
  468. /package/dist/core/{p-1d254b71.entry.js.map → p-ad374f0b.entry.js.map} +0 -0
  469. /package/dist/core/{p-513628ef.entry.js.map → p-b08bb522.entry.js.map} +0 -0
  470. /package/dist/core/{p-e2629bfe.entry.js.map → p-b1b27b7e.entry.js.map} +0 -0
  471. /package/dist/core/{p-5aec3757.entry.js.map → p-b59007a3.entry.js.map} +0 -0
  472. /package/dist/core/{p-d8ce39ac.entry.js.map → p-c8555360.entry.js.map} +0 -0
  473. /package/dist/core/{p-60aad45d.entry.js.map → p-ced2e6ca.entry.js.map} +0 -0
  474. /package/dist/core/{p-de1e04ac.entry.js.map → p-d281c3cf.entry.js.map} +0 -0
  475. /package/dist/core/{p-9c47521d.entry.js.map → p-d7476f6d.entry.js.map} +0 -0
  476. /package/dist/core/{p-8c77dd65.entry.js.map → p-e107d1dd.entry.js.map} +0 -0
  477. /package/dist/core/{p-bf3b853e.entry.js.map → p-fc5661ac.entry.js.map} +0 -0
@@ -18,10 +18,10 @@ export class DataList {
18
18
  if (size === "small") {
19
19
  Array.from(el.children).forEach((child) => child.setAttribute("size", "small"));
20
20
  }
21
- return (h(Host, { key: '57187729e8c442e305a364a8bb870af10d7c789a', class: {
21
+ return (h(Host, { key: 'a10decea9f6872dd3a86cb4e8d989f1628ddd8dd', class: {
22
22
  "ic-data-list-small": size === "small",
23
23
  [`ic-theme-${theme}`]: theme !== "inherit",
24
- } }, h("div", { key: 'd208727c390375a5c9a137793dc4e49870d1fc5c', class: "heading", id: "data-list-heading" }, h("slot", { key: 'cbaef30591b61e5cb08cd22defe9bfff47f442c3', name: "heading" }, h("ic-typography", { key: '4dcdac2796af8a867123a49df76acf2f056de9cb', variant: "h3" }, heading))), h("div", { key: '32168bcd286cdb0ed55fa824406e13dea9c97b03', class: "divider" }), h("ul", { key: 'e8e98e25dd09803f4771d48ac20956ea518c8a12', "aria-labelledby": "data-list-heading", class: "rows" }, h("slot", { key: '09dc75e0a80760d56e370ad0b52231f4143549e8' }))));
24
+ } }, h("div", { key: '5e818e459c2dd23b6e021d82012150757b7520e9', class: "heading", id: "data-list-heading" }, h("slot", { key: '2d68d50a52c8fc3882aa9138ce427c23ccdbc394', name: "heading" }, h("ic-typography", { key: '275d859a1075fd96294913acf1a3b2b9bb1777c2', variant: "h3" }, heading))), h("div", { key: '06e942c78939bf9526ef3bcebba1c76db3c3f608', class: "divider" }), h("ul", { key: '9e7218ee17444774d184680d27e3e11424953bfc', "aria-labelledby": "data-list-heading", class: "rows" }, h("slot", { key: 'a75aec759140988dc2d673385d7eef1fc0e7dba5' }))));
25
25
  }
26
26
  static get is() { return "ic-data-list"; }
27
27
  static get encapsulation() { return "shadow"; }
@@ -68,12 +68,12 @@ export class DataRow {
68
68
  }
69
69
  render() {
70
70
  const { el, listSize, hasEndComponent, label, renderCellContent, size, theme, value, } = this;
71
- return (h(Host, { key: '34f5970795bba243994fce6f2006d699c786cc51', class: {
71
+ return (h(Host, { key: '2faf353c648f521406dc1318be100192dece1aab', class: {
72
72
  ["ic-data-row-small"]: size === "small",
73
73
  ["breakpoint-medium"]: listSize === "m",
74
74
  ["breakpoint-xs"]: listSize === "xs",
75
75
  [`ic-theme-${theme}`]: theme !== "inherit",
76
- }, role: "listitem" }, h("div", { key: 'f855811376a3e1db1d4a8bab563715d028c07341', class: "data" }, h("div", { key: '2395506f64696056aadfce34d46ffc99ab6db356', class: "text-cells" }, (isSlotUsed(el, "label") || label) && renderCellContent("label"), (isSlotUsed(el, "value") || value) && renderCellContent("value")), hasEndComponent && (h("div", { key: '87993084bf9673f61edc6f0c04c937f20cd5a10d', class: "end-component" }, h("slot", { key: 'f051b30c5f67e8ea324656391356699a5eeef818', name: "end-component" })))), h("div", { key: 'bf023260ea85682f165370fb1295bd6facf8c45e', class: "divider" })));
76
+ }, role: "listitem" }, h("div", { key: '3d8e82d44292400dc5cf92230967eb3c9cc57cd0', class: "data" }, h("div", { key: '1e1edf0e3cefbe7cf2bb7e6ab973e55eeab1c0e3', class: "text-cells" }, (isSlotUsed(el, "label") || label) && renderCellContent("label"), (isSlotUsed(el, "value") || value) && renderCellContent("value")), hasEndComponent && (h("div", { key: '0b60b67c17cce484293060ec5ba89619f527e5c9', class: "end-component" }, h("slot", { key: '403f6290fd00ef44fa02baaeed36932caf6f9902', name: "end-component" })))), h("div", { key: '653123df7e4243474aa5254d948b1666c9b50722', class: "divider" })));
77
77
  }
78
78
  static get is() { return "ic-data-row"; }
79
79
  static get encapsulation() { return "shadow"; }
@@ -334,7 +334,7 @@ export class Dialog {
334
334
  }
335
335
  render() {
336
336
  const { dialogRendered, disableHeightConstraint, fadeIn, theme } = this;
337
- return (h(Host, { key: '87a6c4970c26fdc12f1aed7bc3bd95b4e2f21810', class: {
337
+ return (h(Host, { key: 'e8517bd103f365705b664f80c494df70972dd9c4', class: {
338
338
  "ic-dialog-hidden": !dialogRendered,
339
339
  "ic-dialog-fade-in": fadeIn,
340
340
  "disable-height-constraint": !!disableHeightConstraint,
@@ -37,11 +37,11 @@ export class EmptyState {
37
37
  }
38
38
  render() {
39
39
  const { aligned, body, maxLines, heading, imageSize, subheading, theme } = this;
40
- return (h(Host, { key: '995486bbd0f1f633fec42b3b01b13c4d8df5ea70', class: {
40
+ return (h(Host, { key: '1742fa428f2c887fd9b0a200fa5f4040c3ceedf3', class: {
41
41
  [`ic-empty-state-${aligned}`]: true,
42
42
  [`image-${imageSize}`]: isSlotUsed(this.el, "image"),
43
43
  [`ic-theme-${theme}`]: theme !== "inherit",
44
- } }, isSlotUsed(this.el, "image") && h("slot", { key: 'd8fc4fccad70f8c76f3d2f3684d941369c005418', name: "image" }), h("div", { key: '29923eb7b5f47ba5d6bfac9864f69c3a0b233fc9' }, h("slot", { key: '89ec9f7dde4c6e726840ba32e3b93374d28ad1d1', name: "heading" }, h("ic-typography", { key: 'a7bd4e5f9c7ad89032039b41c72a8a3ac44ee0c4', variant: "h4", class: "empty-state-heading" }, heading)), h("slot", { key: 'b23c53436c1ca4c5c5c4e38c59bd2112f17496fe', name: "subheading" }, h("ic-typography", { key: 'da22a6520f4a9de48708f82ea3a9bde7e978e06a', variant: "subtitle-small", class: "empty-state-subheading" }, subheading)), h("slot", { key: 'f86fc11ab34c45122ff6a24ad13a57f8ed925865', name: "body" }, h("ic-typography", { key: 'd978a50aa34e841b0d7726fa8b0d808734e00ffc', maxLines: maxLines, class: "empty-state-body" }, body))), isSlotUsed(this.el, "actions") && (h("div", { key: 'bb3d3484cbe367efea17a3809a50a3089a135251', class: "action-area" }, h("slot", { key: 'edb8ba0fc8813c0dd21f993e43fa788a9eb8074e', name: "actions" })))));
44
+ } }, isSlotUsed(this.el, "image") && h("slot", { key: '781c3afcd34547dba24bdc777fed7b704d2d27ad', name: "image" }), h("div", { key: 'a8eb38fb47f8e03d3654cc3f26d12ff1369a52ff' }, h("slot", { key: '4375bf33214131da721591bfbea44d03514b9836', name: "heading" }, h("ic-typography", { key: 'd83b8868e417e55a574716e380be3e99ea2f3aa3', variant: "h4", class: "empty-state-heading" }, heading)), h("slot", { key: '79d4fe82562ba2d44ffa5a693a3e9d5743984bbd', name: "subheading" }, h("ic-typography", { key: 'ffd4e8d460b03c3b90b477c0d2f420492a337165', variant: "subtitle-small", class: "empty-state-subheading" }, subheading)), h("slot", { key: '166e1b63631dc5f6a5ada15867fae52442c18e14', name: "body" }, h("ic-typography", { key: 'f63a9ec68fe53dadddd3cb26ffe6478164caf3af', maxLines: maxLines, class: "empty-state-body" }, body))), isSlotUsed(this.el, "actions") && (h("div", { key: 'ccf0fe966f7a2c6f5225005d5bd4266523bf5267', class: "action-area" }, h("slot", { key: 'f9f8f74c450aed47b1e8f0467e290714237251b0', name: "actions" })))));
45
45
  }
46
46
  static get is() { return "ic-empty-state"; }
47
47
  static get encapsulation() { return "shadow"; }
@@ -39,12 +39,12 @@ export class FooterLink {
39
39
  const { footerConfig, href, hreflang, referrerpolicy, rel, target, download, } = this;
40
40
  const { small, grouped } = footerConfig;
41
41
  const isLogoLink = !!this.el.closest("div[slot='logo']");
42
- return (h(Host, { key: 'e76ea1dcfe97acba7db979b8ac64101c1701dbca', class: {
42
+ return (h(Host, { key: 'da292a4ecbb670fb85eddac93d4e8743a7f7a5a3', class: {
43
43
  "footer-link": true,
44
44
  [`footer-link-${grouped ? "grouped" : "ungrouped"}-${small ? "small" : "sparse"}`]: true,
45
45
  [`footer-link-${this.foregroundColor}`]: true,
46
46
  "footer-logo-link": isLogoLink,
47
- }, role: "listitem" }, h("ic-link", { key: '251207e62b8812870a36eb4e7b7aa9307c78668c', class: "footer-link", href: href, hreflang: hreflang, referrerpolicy: referrerpolicy, rel: rel, download: download !== false ? download : undefined, target: target }, h("slot", { key: '3a073f12607a730a032665e55088da56cccf8c42' }))));
47
+ }, role: "listitem" }, h("ic-link", { key: 'ba008bce21d6a1a062d69515578c158908c4f413', class: "footer-link", href: href, hreflang: hreflang, referrerpolicy: referrerpolicy, rel: rel, download: download !== false ? download : undefined, target: target }, h("slot", { key: '45d18d8d1009b438338c2153a2b59c88d6f3c320' }))));
48
48
  }
49
49
  static get is() { return "ic-footer-link"; }
50
50
  static get encapsulation() { return "shadow"; }
@@ -74,18 +74,18 @@ export class Hero {
74
74
  "background-position": scrollFactor,
75
75
  };
76
76
  }
77
- return (h(Host, { key: '3231afd5fd4dce03033cff51bf51071ca4fd5047', class: {
77
+ return (h(Host, { key: '4c88b4471d3485baff1f6c55f859639feb3166d8', class: {
78
78
  [`ic-hero-${IcBrandForegroundEnum.Dark}`]: foregroundColor === IcBrandForegroundEnum.Dark,
79
79
  ["has-background-image"]: backgroundImage !== undefined,
80
80
  ["has-right-content"]: this.rightContent,
81
81
  ["ic-hero-small"]: size === "small",
82
82
  ["secondary-heading"]: !!secondaryHeading,
83
- }, style: style }, h("ic-section-container", { key: '70ba24542ed24d67f517c35b35dc68e3cc1d0599', aligned: aligned, fullHeight: true, class: "section-container" }, h("div", { key: '24161f2fc3452af40ae1ef17122f3c2813f9dc9f', class: {
83
+ }, style: style }, h("ic-section-container", { key: 'b68716e353d9b2767dc16a5f701e3cdcbd32c748', aligned: aligned, fullHeight: true, class: "section-container" }, h("div", { key: '6dd6f422c0bd36725be4b41b42633aeebfa1911d', class: {
84
84
  ["left-container"]: true,
85
85
  ["left-container-full-width"]: this.leftContentFullWidth,
86
- } }, h("div", { key: 'ee424e3053f730be7dcca29df72e28101923fa98', class: "heading" }, h("slot", { key: 'c235855cf4509ad184a250783ad26ab5b1e8b2bf', name: "heading" }, h("ic-typography", { key: '47c148b51800bb803609fc8b69698c20db1059a0', variant: size === "small" ? "h2" : "h1", class: {
86
+ } }, h("div", { key: '54ffef99b79eef5eedbf1571bff89270982b5671', class: "heading" }, h("slot", { key: '6b7f71caecbaa84d1a39295e100aedef32d1d522', name: "heading" }, h("ic-typography", { key: '841b429a53b8b72dd60017cb2b2404b826f5bbe8', variant: size === "small" ? "h2" : "h1", class: {
87
87
  ["heading-bottom-spacing"]: size !== "small",
88
- } }, h("h2", { key: '18daae7363614098996b603558e2c5adfdd53c51' }, heading)))), h("div", { key: 'e085d77d98ed6e62b595412544e28f00b9259daa', class: "subheading" }, h("slot", { key: '6a4642853376745f93a166a85820a4043fb58d13', name: "subheading" }, h("ic-typography", { key: '64cddae668b40585dd0285959b0b6bbd3d50a59b', variant: "body" }, subheading))), h("div", { key: '1601aeb153b5a46a9ebd767e0685976be84683ca', class: "interaction-container" }, h("slot", { key: '7585fd3d34ef5e907617795419777dd2372b5e72', name: "interaction" }))), (isPropDefined(secondaryHeading) || this.rightContent) && (h("div", { key: '2e272e20bc9cc0cae93d96a6d9f714ab7b6b263b', class: "right-container" }, h("slot", { key: '6d86d7dbb668b9f34b2a60bdb3f6d444149e52dc', name: "secondary" }, secondaryHeading && (h("div", { key: '97a5dd02c6ccbf08ba89dea069d0f67bd2272b16', class: "secondary-container" }, h("div", { key: 'cb775d9ccc188403fc934923815cd35c6dd8be38', class: "secondary-heading" }, h("ic-typography", { key: '08168a08c9c68b58a4e3cd6763a2e014ef2934da', variant: "h4" }, h("h3", { key: 'f3936a5faf6183d305354ca99cdea8a413b315eb' }, secondaryHeading))), h("div", { key: '99a4f800156a29430ac6b4b082a22e88671f91ab', class: "secondary-subheading" }, h("ic-typography", { key: '947bf3d89afc359b2d596e20cf863659e14b8528', variant: "subtitle-small" }, secondarySubheading))))))))));
88
+ } }, h("h2", { key: 'ee802d396bb8a5638f2ab8a62fddbf764436e20e' }, heading)))), h("div", { key: '9a051783a24c9a92fc0aeff2db50689befe4834e', class: "subheading" }, h("slot", { key: 'eb894eaeb4b4303be0caf090d85d487aa11284fb', name: "subheading" }, h("ic-typography", { key: '92b4d9af6118e2ff9bf2b9166862067c610fffee', variant: "body" }, subheading))), h("div", { key: 'cacf81a4666eba19211493914e9b1af466e61478', class: "interaction-container" }, h("slot", { key: '982fb4b528bea4c486d9c0df2cf47fb3ace19414', name: "interaction" }))), (isPropDefined(secondaryHeading) || this.rightContent) && (h("div", { key: '32cd6196da302dd5d0896c90d53d1b35c060e31c', class: "right-container" }, h("slot", { key: '655f0a9978d8402faab43e7e143987f2934255f6', name: "secondary" }, secondaryHeading && (h("div", { key: '94de7e79fd9122b4084b57bf0b5b0571d77e7adc', class: "secondary-container" }, h("div", { key: 'afd414fd37f9b1c8fb6d9f2d7957314f35a1da40', class: "secondary-heading" }, h("ic-typography", { key: 'd643e471ec716d3e6f33ec7761027323ca31bc8c', variant: "h4" }, h("h3", { key: 'f6296bbd33d2ca70beb5100151cebfa8732206d0' }, secondaryHeading))), h("div", { key: '0575ef33984c79674626d9f114ad90a3f973e63a', class: "secondary-subheading" }, h("ic-typography", { key: '8045e445231e4cbbd07ad9fa21a7b6bbf5015eff', variant: "subtitle-small" }, secondarySubheading))))))))));
89
89
  }
90
90
  static get is() { return "ic-hero"; }
91
91
  static get encapsulation() { return "shadow"; }
@@ -155,22 +155,22 @@ export class HorizontalScroll {
155
155
  }
156
156
  render() {
157
157
  const { firstItemVisible, lastItemVisible, itemOverflow } = this;
158
- return (h(Host, { key: '263be65dcc0cb0a113e7dd92a8b12c440b9867ea', class: {
158
+ return (h(Host, { key: '3c307f5bddcc7b6c8ab7764d08504585f61e203d', class: {
159
159
  ["ic-horizontal-scroll-visible"]: itemOverflow,
160
160
  ["ic-horizontal-scroll-dark"]: this.appearance === IcBrandForegroundEnum.Dark,
161
161
  ["ic-horizontal-scroll-light"]: this.appearance === IcBrandForegroundEnum.Light,
162
162
  [`ic-theme-${this.theme}`]: this.theme !== "inherit",
163
- } }, h("div", { key: '2250a0f96500b700454e012e2a918e2ace6a6f68', "aria-hidden": "true", class: {
163
+ } }, h("div", { key: 'f4bda7e5c0108e986191cde56ef8e255a80b604f', "aria-hidden": "true", class: {
164
164
  ["scroll-container-left"]: true,
165
165
  ["hidden"]: !itemOverflow,
166
166
  ["disabled"]: firstItemVisible,
167
- }, role: "tab" }, h("ic-button", { key: 'd55b6d37d7e9a9eea918def18aea64060db6c2ba', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll left", theme: this.theme === "light" || this.theme === "inherit"
167
+ }, role: "tab" }, h("ic-button", { key: '5eb199e69ca500c8e84e9b79cec4a3448b604c39', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll left", theme: this.theme === "light" || this.theme === "inherit"
168
168
  ? "dark"
169
- : "light", monochrome: this.monochrome, innerHTML: LeftArrow, disabled: firstItemVisible, tabindex: "-1", onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler }), h("span", { key: '14d21b70c82e36f64cf383dc8371227b3e504312', class: "scroll-splitter-left" })), h("slot", { key: 'a40cc561072ffcb5aacb27b10b815ec92f3f7ded' }), h("div", { key: '212d94aca6d135dfff9664e69ec9eab42ae7ca56', "aria-hidden": "true", class: {
169
+ : "light", monochrome: this.monochrome, innerHTML: LeftArrow, disabled: firstItemVisible, tabindex: "-1", onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler }), h("span", { key: 'c939c5db95cc4b61645045ef498cc9b80c4f3d69', class: "scroll-splitter-left" })), h("slot", { key: '3ded812f11a7bbdc25157d840ee32f23ed58131b' }), h("div", { key: 'e713490eb2995ff19ec70bf0a098193eaa9829a8', "aria-hidden": "true", class: {
170
170
  ["scroll-container-right"]: true,
171
171
  ["hidden"]: !itemOverflow,
172
172
  ["disabled"]: lastItemVisible,
173
- }, role: "tab" }, h("span", { key: 'bd5e6c2dc94e2cebe6e9459de52e615982048a27', class: "scroll-splitter-right" }), h("ic-button", { key: 'be8f57d173b04cca06d0654054bb3451a6f40c70', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll right", theme: this.theme === "light" || this.theme === "inherit"
173
+ }, role: "tab" }, h("span", { key: 'a2427e872d8ab79ef0022ccb216238867e49065c', class: "scroll-splitter-right" }), h("ic-button", { key: 'a58d98e7d695fe15e3c085f1bec0079045817b2d', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll right", theme: this.theme === "light" || this.theme === "inherit"
174
174
  ? "dark"
175
175
  : "light", monochrome: this.monochrome, innerHTML: RightArrow, disabled: lastItemVisible, tabindex: "-1", onClick: this.scrollRight, onMouseDown: this.rightArrowMouseDownHandler }))));
176
176
  }
@@ -48,15 +48,15 @@ export class InputComponentContainer {
48
48
  }
49
49
  render() {
50
50
  const { size, validationStatus, disabled, readonly, multiLine, fullWidth, validationInline, } = this;
51
- return (h(Host, { key: '3349803b2fc3756e616a3e6e9f88439c3d360897', class: {
51
+ return (h(Host, { key: 'fc70461ae7d3922f07aa5a85209e376d42bfc451', class: {
52
52
  [`ic-input-component-container-${size}`]: true,
53
53
  [`ic-input-component-container-${validationStatus}`]: validationStatus !== "" && !disabled && !readonly,
54
54
  "ic-input-component-container-disabled": !!disabled,
55
55
  "ic-input-component-container-readonly": !!readonly,
56
56
  "ic-input-component-container-multiline": !!multiLine,
57
57
  "ic-input-component-container-full-width": !!fullWidth,
58
- }, "aria-disabled": disabled ? "true" : null }, h("div", { key: 'bf85d48b1507e4c7d8394e067314e383e77ffb72', class: "focus-indicator" }, slotHasContent(this.el, "left-icon") && (h("div", { key: '7660d9c72526a8bf34e88488884933cc7a5a96cd', class: "icon-container" }, h("slot", { key: 'dc31f454f708ecbcf821cb94cf4d8b5b354d149f', name: "left-icon" }))), h("slot", { key: '92265e4967394e33cdf8763bd8c8b433dbe0536e' }), validationInline &&
59
- validationStatus === IcInformationStatus.Success && (h("span", { key: 'ecefbb2eaf920a2300bb9a30e20c18a86754fba0', class: "inline-success", innerHTML: successIcon })))));
58
+ }, "aria-disabled": disabled ? "true" : null }, h("div", { key: '20934b81740e6c907bff86cc706d3aafe3a790df', class: "focus-indicator" }, slotHasContent(this.el, "left-icon") && (h("div", { key: '3577416fc719a575372188c43a78ac945b1b1526', class: "icon-container" }, h("slot", { key: '36ee3e5c85ec77c69f88c2b74d272bdb6ee42ca1', name: "left-icon" }))), h("slot", { key: 'e0a79f50c8ba34c0d989e2402df8b00587c5878f' }), validationInline &&
59
+ validationStatus === IcInformationStatus.Success && (h("span", { key: 'b156fb5bb6fcfec8c6dec6febdeea6d2adc7e009', class: "inline-success", innerHTML: successIcon })))));
60
60
  }
61
61
  static get is() { return "ic-input-component-container"; }
62
62
  static get originalStyleUrls() {
@@ -11,11 +11,11 @@ export class InputContainer {
11
11
  this.readonly = false;
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: 'b990f9f26644a727f8d0f086c88dfbb18528ca1a' }, h("div", { key: '32d9cce26c3e720e2d3343dc03fc64cc9436621a', class: {
14
+ return (h(Host, { key: '49cd31d8dca09cc4b2f49e0b2e7829bb1771a5d6' }, h("div", { key: 'bb0e3a80161a86b40e0dc424264e71cf6c95c88a', class: {
15
15
  ["component-container"]: true,
16
16
  ["disabled"]: !!this.disabled,
17
17
  ["readonly"]: !!this.readonly,
18
- } }, h("slot", { key: '65cfdbd533ceef8f6cfbdfa8df68789ae5f39804' }))));
18
+ } }, h("slot", { key: '4916ff0aebd6632d6e6f5daaa3c318e1e696ff2f' }))));
19
19
  }
20
20
  static get is() { return "ic-input-container"; }
21
21
  static get originalStyleUrls() {
@@ -15,7 +15,8 @@ ic-input-label.ic-input-label-readonly {
15
15
  --ic-typography-color: var(--ic-input-label-readonly-typography-color);
16
16
  }
17
17
 
18
- ic-input-label .helpertext {
18
+ ic-input-label .helpertext,
19
+ ic-input-label .helpertext ::slotted(*) {
19
20
  margin-top: var(--ic-space-xxxs);
20
21
  padding-bottom: var(--ic-input-label-helpertext-padding, 0);
21
22
 
@@ -30,6 +30,25 @@ export class InputLabel {
30
30
  * @internal If `true`, wraps label text in label tag
31
31
  */
32
32
  this.useLabelTag = true;
33
+ this.isHelperTextSlotUsed = (slot) => {
34
+ const assignedEls = slot === null || slot === void 0 ? void 0 : slot.assignedElements();
35
+ if (assignedEls && assignedEls.length) {
36
+ for (const el of assignedEls) {
37
+ if (el.tagName === "SLOT") {
38
+ // Recursion needed for when slot is forwarded multiple times - through child components
39
+ // (e.g. in date picker)
40
+ if (this.isHelperTextSlotUsed(el)) {
41
+ return true;
42
+ }
43
+ }
44
+ else {
45
+ // Found an assigned element which is not a nested <slot>
46
+ return true;
47
+ }
48
+ }
49
+ }
50
+ return false;
51
+ };
33
52
  }
34
53
  componentDidLoad() {
35
54
  onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Input Label");
@@ -37,18 +56,21 @@ export class InputLabel {
37
56
  render() {
38
57
  const { disabled, readonly, label, required, helperText, status, hideLabel, useLabelTag, } = this;
39
58
  const labelText = required ? label + " *" : label;
40
- return (h(Host, { key: '5f5a9e086fe974f30c17fefc545d46bcff03aedd', class: {
59
+ const helperTextId = this.for && getInputHelperTextID(this.for);
60
+ const helperTextClass = {
61
+ helpertext: true,
62
+ "helpertext-normal": !disabled && !readonly,
63
+ "helpertext-readonly": readonly,
64
+ };
65
+ const helperTextSlot = this.el.querySelector("slot[name='helper-text']");
66
+ return (h(Host, { key: 'f03d8032ac769d4ecea37fe7a60e9d5acea54cd9', class: {
41
67
  "ic-input-label-disabled": !!disabled,
42
68
  "ic-input-label-readonly": readonly,
43
- "with-helper": helperText !== "",
44
- } }, !hideLabel && (h("ic-typography", { key: '6e6caa0f10a437753996c84a66b980582cddcc30', variant: "label", class: {
69
+ "with-helper": this.isHelperTextSlotUsed(helperTextSlot) || helperText !== "",
70
+ } }, !hideLabel && (h("ic-typography", { key: '7af61c1f2a1b9068fb9a9b649f60da1784207aa3', variant: "label", class: {
45
71
  "readonly-label": readonly,
46
72
  "error-label": status === "error" && !(readonly || disabled),
47
- } }, readonly || !useLabelTag ? (`${labelText}`) : (h("label", { htmlFor: this.for }, labelText)))), helperText !== "" && (h("ic-typography", { key: 'e6a04af0aa3d09deb034217dcb35b47836bf13f3', variant: "caption", class: {
48
- helpertext: true,
49
- "helpertext-normal": !disabled && !readonly,
50
- "helpertext-readonly": readonly,
51
- } }, h("span", { key: '70cdef7f1ef75572ab4f9455e4b5b3401ce10950', id: this.for && getInputHelperTextID(this.for) }, helperText)))));
73
+ } }, readonly || !useLabelTag ? (`${labelText}`) : (h("label", { htmlFor: this.for }, labelText)))), this.isHelperTextSlotUsed(helperTextSlot) ? (h("span", { id: helperTextId, class: helperTextClass }, h("slot", { name: "helper-text" }))) : (helperText !== "" && (h("ic-typography", { variant: "caption", class: helperTextClass }, h("span", { id: helperTextId }, helperText))))));
52
74
  }
53
75
  static get is() { return "ic-input-label"; }
54
76
  static get originalStyleUrls() {
@@ -246,5 +268,6 @@ export class InputLabel {
246
268
  }
247
269
  };
248
270
  }
271
+ static get elementRef() { return "el"; }
249
272
  }
250
273
  //# sourceMappingURL=ic-input-label.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ic-input-label.js","sourceRoot":"","sources":["../../../src/components/ic-input-label/ic-input-label.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAEzD,OAAO,EACL,oBAAoB,EACpB,gCAAgC,GACjC,MAAM,qBAAqB,CAAC;AAM7B,MAAM,OAAO,UAAU;IAJvB;QAKE;;WAEG;QACK,aAAQ,GAAa,KAAK,CAAC;QAOnC;;WAEG;QACK,eAAU,GAAW,EAAE,CAAC;QAEhC;;WAEG;QACK,cAAS,GAAY,KAAK,CAAC;QAOnC;;WAEG;QACK,aAAQ,GAAY,KAAK,CAAC;QAElC;;WAEG;QACK,aAAQ,GAAY,KAAK,CAAC;QAElC;;WAEG;QACK,WAAM,GAAiB,EAAE,CAAC;QAElC;;WAEG;QACK,gBAAW,GAAY,IAAI,CAAC;KA+DrC;IA7DC,gBAAgB;QACd,gCAAgC,CAC9B,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EACzC,aAAa,CACd,CAAC;IACJ,CAAC;IAED,MAAM;QACJ,MAAM,EACJ,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,UAAU,EACV,MAAM,EACN,SAAS,EACT,WAAW,GACZ,GAAG,IAAI,CAAC;QACT,MAAM,SAAS,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;QAElD,OAAO,CACL,EAAC,IAAI,qDACH,KAAK,EAAE;gBACL,yBAAyB,EAAE,CAAC,CAAC,QAAQ;gBACrC,yBAAyB,EAAE,QAAQ;gBACnC,aAAa,EAAE,UAAU,KAAK,EAAE;aACjC;YAEA,CAAC,SAAS,IAAI,CACb,sEACE,OAAO,EAAC,OAAO,EACf,KAAK,EAAE;oBACL,gBAAgB,EAAE,QAAQ;oBAC1B,aAAa,EAAE,MAAM,KAAK,OAAO,IAAI,CAAC,CAAC,QAAQ,IAAI,QAAQ,CAAC;iBAC7D,IAEA,QAAQ,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAC1B,GAAG,SAAS,EAAE,CACf,CAAC,CAAC,CAAC,CACF,aAAO,OAAO,EAAE,IAAI,CAAC,GAAG,IAAG,SAAS,CAAS,CAC9C,CACa,CACjB;YAEA,UAAU,KAAK,EAAE,IAAI,CACpB,sEACE,OAAO,EAAC,SAAS,EACjB,KAAK,EAAE;oBACL,UAAU,EAAE,IAAI;oBAChB,mBAAmB,EAAE,CAAC,QAAQ,IAAI,CAAC,QAAQ;oBAC3C,qBAAqB,EAAE,QAAQ;iBAChC;gBAED,6DAAM,EAAE,EAAE,IAAI,CAAC,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC,GAAG,CAAC,IACjD,UAAU,CACN,CACO,CACjB,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, Prop, h } from \"@stencil/core\";\n\nimport {\n getInputHelperTextID,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\n\n@Component({\n tag: \"ic-input-label\",\n styleUrl: \"./ic-input-label.css\",\n})\nexport class InputLabel {\n /**\n * If `true`, the disabled state will be set.\n */\n @Prop() disabled?: boolean = false;\n\n /**\n * The ID of the form element the label is bound to.\n */\n @Prop() for?: string;\n\n /**\n * The helper text that will be displayed.\n */\n @Prop() helperText: string = \"\";\n\n /**\n * The label will be visually hidden.\n */\n @Prop() hideLabel: boolean = false;\n\n /**\n * The text content of the label.\n */\n @Prop() label!: string;\n\n /**\n * If `true`, the readonly state will be set.\n */\n @Prop() readonly: boolean = false;\n\n /**\n * If `true`, the input label will require a value.\n */\n @Prop() required: boolean = false;\n\n /**\n * The status of the label - e.g. 'error'.\n */\n @Prop() status: \"error\" | \"\" = \"\";\n\n /**\n * @internal If `true`, wraps label text in label tag\n */\n @Prop() useLabelTag: boolean = true;\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.label, propName: \"label\" }],\n \"Input Label\"\n );\n }\n\n render() {\n const {\n disabled,\n readonly,\n label,\n required,\n helperText,\n status,\n hideLabel,\n useLabelTag,\n } = this;\n const labelText = required ? label + \" *\" : label;\n\n return (\n <Host\n class={{\n \"ic-input-label-disabled\": !!disabled,\n \"ic-input-label-readonly\": readonly,\n \"with-helper\": helperText !== \"\",\n }}\n >\n {!hideLabel && (\n <ic-typography\n variant=\"label\"\n class={{\n \"readonly-label\": readonly,\n \"error-label\": status === \"error\" && !(readonly || disabled),\n }}\n >\n {readonly || !useLabelTag ? (\n `${labelText}`\n ) : (\n <label htmlFor={this.for}>{labelText}</label>\n )}\n </ic-typography>\n )}\n\n {helperText !== \"\" && (\n <ic-typography\n variant=\"caption\"\n class={{\n helpertext: true,\n \"helpertext-normal\": !disabled && !readonly,\n \"helpertext-readonly\": readonly,\n }}\n >\n <span id={this.for && getInputHelperTextID(this.for)}>\n {helperText}\n </span>\n </ic-typography>\n )}\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"ic-input-label.js","sourceRoot":"","sources":["../../../src/components/ic-input-label/ic-input-label.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAElE,OAAO,EACL,oBAAoB,EACpB,gCAAgC,GACjC,MAAM,qBAAqB,CAAC;AAM7B,MAAM,OAAO,UAAU;IAJvB;QAOE;;WAEG;QACK,aAAQ,GAAa,KAAK,CAAC;QAOnC;;WAEG;QACK,eAAU,GAAW,EAAE,CAAC;QAEhC;;WAEG;QACK,cAAS,GAAY,KAAK,CAAC;QAOnC;;WAEG;QACK,aAAQ,GAAY,KAAK,CAAC;QAElC;;WAEG;QACK,aAAQ,GAAY,KAAK,CAAC;QAElC;;WAEG;QACK,WAAM,GAAiB,EAAE,CAAC;QAElC;;WAEG;QACK,gBAAW,GAAY,IAAI,CAAC;QAS5B,yBAAoB,GAAG,CAAC,IAAoB,EAAW,EAAE;YAC/D,MAAM,WAAW,GAAI,IAAwB,aAAxB,IAAI,uBAAJ,IAAI,CAAsB,gBAAgB,EAAE,CAAC;YAClE,IAAI,WAAW,IAAI,WAAW,CAAC,MAAM,EAAE,CAAC;gBACtC,KAAK,MAAM,EAAE,IAAI,WAAW,EAAE,CAAC;oBAC7B,IAAI,EAAE,CAAC,OAAO,KAAK,MAAM,EAAE,CAAC;wBAC1B,wFAAwF;wBACxF,wBAAwB;wBACxB,IAAI,IAAI,CAAC,oBAAoB,CAAC,EAAqB,CAAC,EAAE,CAAC;4BACrD,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC;yBAAM,CAAC;wBACN,yDAAyD;wBACzD,OAAO,IAAI,CAAC;oBACd,CAAC;gBACH,CAAC;YACH,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC,CAAC;KA6DH;IArFC,gBAAgB;QACd,gCAAgC,CAC9B,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EACzC,aAAa,CACd,CAAC;IACJ,CAAC;IAqBD,MAAM;QACJ,MAAM,EACJ,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,UAAU,EACV,MAAM,EACN,SAAS,EACT,WAAW,GACZ,GAAG,IAAI,CAAC;QACT,MAAM,SAAS,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;QAClD,MAAM,YAAY,GAAG,IAAI,CAAC,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAChE,MAAM,eAAe,GAAG;YACtB,UAAU,EAAE,IAAI;YAChB,mBAAmB,EAAE,CAAC,QAAQ,IAAI,CAAC,QAAQ;YAC3C,qBAAqB,EAAE,QAAQ;SAChC,CAAC;QAEF,MAAM,cAAc,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,0BAA0B,CAAC,CAAC;QAEzE,OAAO,CACL,EAAC,IAAI,qDACH,KAAK,EAAE;gBACL,yBAAyB,EAAE,CAAC,CAAC,QAAQ;gBACrC,yBAAyB,EAAE,QAAQ;gBACnC,aAAa,EACX,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,IAAI,UAAU,KAAK,EAAE;aACjE;YAEA,CAAC,SAAS,IAAI,CACb,sEACE,OAAO,EAAC,OAAO,EACf,KAAK,EAAE;oBACL,gBAAgB,EAAE,QAAQ;oBAC1B,aAAa,EAAE,MAAM,KAAK,OAAO,IAAI,CAAC,CAAC,QAAQ,IAAI,QAAQ,CAAC;iBAC7D,IAEA,QAAQ,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAC1B,GAAG,SAAS,EAAE,CACf,CAAC,CAAC,CAAC,CACF,aAAO,OAAO,EAAE,IAAI,CAAC,GAAG,IAAG,SAAS,CAAS,CAC9C,CACa,CACjB;YACA,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAC3C,YAAM,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,eAAe;gBAC5C,YAAM,IAAI,EAAC,aAAa,GAAQ,CAC3B,CACR,CAAC,CAAC,CAAC,CACF,UAAU,KAAK,EAAE,IAAI,CACnB,qBAAe,OAAO,EAAC,SAAS,EAAC,KAAK,EAAE,eAAe;gBACrD,YAAM,EAAE,EAAE,YAAY,IAAG,UAAU,CAAQ,CAC7B,CACjB,CACF,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Host, Prop, h } from \"@stencil/core\";\n\nimport {\n getInputHelperTextID,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\n\n@Component({\n tag: \"ic-input-label\",\n styleUrl: \"./ic-input-label.css\",\n})\nexport class InputLabel {\n @Element() el: HTMLIcInputLabelElement;\n\n /**\n * If `true`, the disabled state will be set.\n */\n @Prop() disabled?: boolean = false;\n\n /**\n * The ID of the form element the label is bound to.\n */\n @Prop() for?: string;\n\n /**\n * The helper text that will be displayed.\n */\n @Prop() helperText: string = \"\";\n\n /**\n * The label will be visually hidden.\n */\n @Prop() hideLabel: boolean = false;\n\n /**\n * The text content of the label.\n */\n @Prop() label!: string;\n\n /**\n * If `true`, the readonly state will be set.\n */\n @Prop() readonly: boolean = false;\n\n /**\n * If `true`, the input label will require a value.\n */\n @Prop() required: boolean = false;\n\n /**\n * The status of the label - e.g. 'error'.\n */\n @Prop() status: \"error\" | \"\" = \"\";\n\n /**\n * @internal If `true`, wraps label text in label tag\n */\n @Prop() useLabelTag: boolean = true;\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.label, propName: \"label\" }],\n \"Input Label\"\n );\n }\n\n private isHelperTextSlotUsed = (slot: Element | null): boolean => {\n const assignedEls = (slot as HTMLSlotElement)?.assignedElements();\n if (assignedEls && assignedEls.length) {\n for (const el of assignedEls) {\n if (el.tagName === \"SLOT\") {\n // Recursion needed for when slot is forwarded multiple times - through child components\n // (e.g. in date picker)\n if (this.isHelperTextSlotUsed(el as HTMLSlotElement)) {\n return true;\n }\n } else {\n // Found an assigned element which is not a nested <slot>\n return true;\n }\n }\n }\n return false;\n };\n\n render() {\n const {\n disabled,\n readonly,\n label,\n required,\n helperText,\n status,\n hideLabel,\n useLabelTag,\n } = this;\n const labelText = required ? label + \" *\" : label;\n const helperTextId = this.for && getInputHelperTextID(this.for);\n const helperTextClass = {\n helpertext: true,\n \"helpertext-normal\": !disabled && !readonly,\n \"helpertext-readonly\": readonly,\n };\n\n const helperTextSlot = this.el.querySelector(\"slot[name='helper-text']\");\n\n return (\n <Host\n class={{\n \"ic-input-label-disabled\": !!disabled,\n \"ic-input-label-readonly\": readonly,\n \"with-helper\":\n this.isHelperTextSlotUsed(helperTextSlot) || helperText !== \"\",\n }}\n >\n {!hideLabel && (\n <ic-typography\n variant=\"label\"\n class={{\n \"readonly-label\": readonly,\n \"error-label\": status === \"error\" && !(readonly || disabled),\n }}\n >\n {readonly || !useLabelTag ? (\n `${labelText}`\n ) : (\n <label htmlFor={this.for}>{labelText}</label>\n )}\n </ic-typography>\n )}\n {this.isHelperTextSlotUsed(helperTextSlot) ? (\n <span id={helperTextId} class={helperTextClass}>\n <slot name=\"helper-text\"></slot>\n </span>\n ) : (\n helperText !== \"\" && (\n <ic-typography variant=\"caption\" class={helperTextClass}>\n <span id={helperTextId}>{helperText}</span>\n </ic-typography>\n )\n )}\n </Host>\n );\n }\n}\n"]}
@@ -33,13 +33,13 @@ export class InputValidation {
33
33
  render() {
34
34
  const { ariaLiveMode, fullWidth, status, message } = this;
35
35
  const displayIcon = status !== "" ? icon[status] : "";
36
- return (h(Host, { key: '8d9f4b88cdd73d491aa836934b20855ac932c411', class: {
36
+ return (h(Host, { key: '2ab746f75a46252bc0755dfd28220dbe555b93b3', class: {
37
37
  [`ic-input-validation-${status}`]: status !== "",
38
38
  "ic-input-validation-full-width": !!fullWidth,
39
- } }, displayIcon !== "" && (h("span", { key: '7d067283e8646242ac0bcd3dcb35a96f33d814b0', class: {
39
+ } }, displayIcon !== "" && (h("span", { key: 'fc02067a0c0f1e9672e190f1bd30774cd2cfcfe0', class: {
40
40
  "status-icon": true,
41
41
  [`icon-${status}`]: true,
42
- }, innerHTML: displayIcon })), h("ic-typography", { key: 'c34f1a34c9dc0da4bcb68f775611a7dfcfc6f407', variant: "caption", class: "statustext" }, h("span", { key: 'a2e90e21fb834fea1b330c16606043afa1d42d01', "aria-live": ariaLiveMode, id: this.for && getInputValidationTextID(this.for) }, message)), h("slot", { key: 'b5562931123e8b745535ae5042d6c7fe8a994717', name: "validation-message-adornment" })));
42
+ }, innerHTML: displayIcon })), h("ic-typography", { key: 'f8d3c1d9d7f30e232ebbc827033ad318485f7c98', variant: "caption", class: "statustext" }, h("span", { key: '73b35c4a5c4dbe77fe4c71032020a0346e34fcfd', "aria-live": ariaLiveMode, id: this.for && getInputValidationTextID(this.for) }, message)), h("slot", { key: '629f37113c9354db274019eadc9ae7140adf921a', name: "validation-message-adornment" })));
43
43
  }
44
44
  static get is() { return "ic-input-validation"; }
45
45
  static get originalStyleUrls() {
@@ -91,7 +91,7 @@ export class Link {
91
91
  }
92
92
  render() {
93
93
  const { download, href, hreflang, referrerpolicy, rel, target, monochrome, theme, } = this;
94
- return (h(Host, { key: '363a33f7c903d0ab7d4b1e6c29a9ea87075dc01b', class: {
94
+ return (h(Host, { key: '769bea68e79e8b28fb9c0ea007c24dd11968d332', class: {
95
95
  ["ic-link"]: true,
96
96
  [`ic-theme-${theme}`]: theme !== "inherit",
97
97
  ["ic-link-monochrome"]: !!monochrome,
@@ -443,7 +443,7 @@ video {
443
443
 
444
444
  :host {
445
445
  /**
446
- * @prop --circular-diameter: Diameter of the circular-indicator
446
+ * @prop --circular-diameter: Diameter of the circular-indicator in px, rem or %
447
447
  */
448
448
 
449
449
  display: block;
@@ -602,12 +602,12 @@ video {
602
602
  stroke: var(--compact-step-inner-color, var(--inner-color));
603
603
  }
604
604
 
605
- :host(.inner-label) .ic-loading-circular-inner {
605
+ .inner-label {
606
606
  height: 100%;
607
607
  display: grid;
608
608
  }
609
609
 
610
- :host(.inner-label) .ic-loading-circular-svg,
610
+ .inner-label .ic-loading-circular-svg,
611
611
  .inner-text {
612
612
  grid-column: 1;
613
613
  grid-row: 1;