@ukic/web-components 3.14.0 → 3.15.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 (315) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/ic-button_3.cjs.entry.js +5 -5
  3. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  4. package/dist/cjs/ic-checkbox-group.cjs.entry.js +2 -2
  5. package/dist/cjs/ic-checkbox.cjs.entry.js +31 -8
  6. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  7. package/dist/cjs/ic-data-list.cjs.entry.js +2 -2
  8. package/dist/cjs/ic-data-row.cjs.entry.js +2 -2
  9. package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
  10. package/dist/cjs/ic-empty-state.cjs.entry.js +2 -2
  11. package/dist/cjs/ic-footer-link.cjs.entry.js +2 -2
  12. package/dist/cjs/ic-hero.cjs.entry.js +11 -6
  13. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  14. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +5 -5
  15. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +8 -8
  16. package/dist/cjs/ic-input-label_2.cjs.entry.js +5 -5
  17. package/dist/cjs/ic-layout-grid-item.cjs.entry.js +2 -2
  18. package/dist/cjs/ic-layout-grid.cjs.entry.js +2 -2
  19. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  20. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  21. package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
  22. package/dist/cjs/ic-navigation-menu.cjs.entry.js +4 -4
  23. package/dist/cjs/ic-page-header.cjs.entry.js +6 -6
  24. package/dist/cjs/ic-pagination-item.cjs.entry.js +1 -1
  25. package/dist/cjs/ic-pagination.cjs.entry.js +4 -4
  26. package/dist/cjs/ic-popover-menu.cjs.entry.js +4 -4
  27. package/dist/cjs/ic-radio-group.cjs.entry.js +4 -4
  28. package/dist/cjs/ic-radio-option.cjs.entry.js +4 -4
  29. package/dist/cjs/ic-search-bar.cjs.entry.js +9 -9
  30. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  31. package/dist/cjs/ic-select.cjs.entry.js +7 -7
  32. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-side-navigation.cjs.entry.js +4 -4
  34. package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
  35. package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
  36. package/dist/cjs/ic-status-tag.cjs.entry.js +2 -2
  37. package/dist/cjs/ic-step.cjs.entry.js +13 -13
  38. package/dist/cjs/ic-stepper.cjs.entry.js +2 -2
  39. package/dist/cjs/ic-switch.cjs.entry.js +4 -4
  40. package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
  41. package/dist/cjs/ic-tab-group.cjs.entry.js +2 -2
  42. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  43. package/dist/cjs/ic-text-field.cjs.entry.js +6 -6
  44. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  46. package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
  47. package/dist/cjs/ic-toast.cjs.entry.js +4 -4
  48. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +2 -2
  49. package/dist/cjs/ic-toggle-button.cjs.entry.js +2 -2
  50. package/dist/cjs/loader.cjs.js +1 -1
  51. package/dist/collection/components/ic-checkbox/ic-checkbox.css +9 -2
  52. package/dist/collection/components/ic-checkbox/ic-checkbox.js +31 -7
  53. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  54. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +2 -2
  55. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.stories.js +52 -0
  56. package/dist/collection/components/ic-data-list/ic-data-list.js +2 -2
  57. package/dist/collection/components/ic-data-row/ic-data-row.js +2 -2
  58. package/dist/collection/components/ic-dialog/ic-dialog.js +1 -1
  59. package/dist/collection/components/ic-empty-state/ic-empty-state.js +2 -2
  60. package/dist/collection/components/ic-footer-link/ic-footer-link.js +2 -2
  61. package/dist/collection/components/ic-hero/ic-hero.css +21 -0
  62. package/dist/collection/components/ic-hero/ic-hero.js +36 -5
  63. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  64. package/dist/collection/components/ic-hero/ic-hero.stories.js +15 -0
  65. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +5 -5
  66. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +3 -3
  67. package/dist/collection/components/ic-input-container/ic-input-container.js +2 -2
  68. package/dist/collection/components/ic-input-label/ic-input-label.js +2 -2
  69. package/dist/collection/components/ic-input-validation/ic-input-validation.js +3 -3
  70. package/dist/collection/components/ic-layout-grid/ic-layout-grid.js +2 -2
  71. package/dist/collection/components/ic-layout-grid-item/ic-layout-grid-item.js +2 -2
  72. package/dist/collection/components/ic-link/ic-link.js +1 -1
  73. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +5 -5
  74. package/dist/collection/components/ic-menu/ic-menu.js +3 -3
  75. package/dist/collection/components/ic-menu-group/ic-menu-group.js +1 -1
  76. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +1 -1
  77. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +4 -4
  78. package/dist/collection/components/ic-page-header/ic-page-header.js +6 -6
  79. package/dist/collection/components/ic-pagination/ic-pagination.js +4 -4
  80. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +1 -1
  81. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +4 -4
  82. package/dist/collection/components/ic-radio-group/ic-radio-group.js +4 -4
  83. package/dist/collection/components/ic-radio-option/ic-radio-option.js +4 -4
  84. package/dist/collection/components/ic-search-bar/ic-search-bar.js +9 -9
  85. package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
  86. package/dist/collection/components/ic-select/ic-select.css +1 -1
  87. package/dist/collection/components/ic-select/ic-select.js +6 -6
  88. package/dist/collection/components/ic-select/ic-select_(single).stories.js +21 -5
  89. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +4 -4
  90. package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
  91. package/dist/collection/components/ic-skip-link/ic-skip-link.js +2 -2
  92. package/dist/collection/components/ic-status-tag/ic-status-tag.js +2 -2
  93. package/dist/collection/components/ic-step/ic-step.js +13 -13
  94. package/dist/collection/components/ic-stepper/ic-stepper.js +2 -2
  95. package/dist/collection/components/ic-stepper/ic-stepper.stories.js +16 -6
  96. package/dist/collection/components/ic-switch/ic-switch.js +4 -4
  97. package/dist/collection/components/ic-tab-context/ic-tab-context.js +1 -1
  98. package/dist/collection/components/ic-tab-group/ic-tab-group.js +2 -2
  99. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +2 -2
  100. package/dist/collection/components/ic-text-field/ic-text-field.js +6 -6
  101. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  102. package/dist/collection/components/ic-text-field/ic-text-field.stories.js +14 -0
  103. package/dist/collection/components/ic-theme/ic-theme.js +1 -1
  104. package/dist/collection/components/ic-toast/ic-toast.js +4 -4
  105. package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -1
  106. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +2 -2
  107. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +2 -2
  108. package/dist/components/ic-checkbox-group.js +2 -2
  109. package/dist/components/ic-checkbox.js +31 -8
  110. package/dist/components/ic-checkbox.js.map +1 -1
  111. package/dist/components/ic-data-list.js +2 -2
  112. package/dist/components/ic-data-row.js +2 -2
  113. package/dist/components/ic-dialog.js +1 -1
  114. package/dist/components/ic-empty-state.js +2 -2
  115. package/dist/components/ic-footer-link.js +2 -2
  116. package/dist/components/ic-hero.js +12 -6
  117. package/dist/components/ic-hero.js.map +1 -1
  118. package/dist/components/ic-horizontal-scroll2.js +5 -5
  119. package/dist/components/ic-input-component-container2.js +3 -3
  120. package/dist/components/ic-input-container2.js +2 -2
  121. package/dist/components/ic-input-label2.js +2 -2
  122. package/dist/components/ic-input-validation2.js +3 -3
  123. package/dist/components/ic-layout-grid-item.js +2 -2
  124. package/dist/components/ic-layout-grid.js +2 -2
  125. package/dist/components/ic-link2.js +1 -1
  126. package/dist/components/ic-loading-indicator2.js +5 -5
  127. package/dist/components/ic-menu-group.js +1 -1
  128. package/dist/components/ic-menu2.js +3 -3
  129. package/dist/components/ic-navigation-group.js +1 -1
  130. package/dist/components/ic-navigation-item.js.map +1 -1
  131. package/dist/components/ic-navigation-menu2.js +4 -4
  132. package/dist/components/ic-page-header.js +6 -6
  133. package/dist/components/ic-pagination-item2.js +1 -1
  134. package/dist/components/ic-pagination.js +4 -4
  135. package/dist/components/ic-popover-menu.js +4 -4
  136. package/dist/components/ic-popover-menu.js.map +1 -1
  137. package/dist/components/ic-radio-group.js +4 -4
  138. package/dist/components/ic-radio-group.js.map +1 -1
  139. package/dist/components/ic-radio-option.js +4 -4
  140. package/dist/components/ic-search-bar.js +9 -9
  141. package/dist/components/ic-section-container2.js +2 -2
  142. package/dist/components/ic-select.js +7 -7
  143. package/dist/components/ic-select.js.map +1 -1
  144. package/dist/components/ic-side-navigation.js +4 -4
  145. package/dist/components/ic-skeleton.js +2 -2
  146. package/dist/components/ic-skeleton.js.map +1 -1
  147. package/dist/components/ic-skip-link.js +2 -2
  148. package/dist/components/ic-status-tag.js +2 -2
  149. package/dist/components/ic-step.js +13 -13
  150. package/dist/components/ic-stepper.js +2 -2
  151. package/dist/components/ic-switch.js +4 -4
  152. package/dist/components/ic-tab-context.js +1 -1
  153. package/dist/components/ic-tab-group.js +2 -2
  154. package/dist/components/ic-tab-panel.js +2 -2
  155. package/dist/components/ic-text-field.js +6 -6
  156. package/dist/components/ic-text-field.js.map +1 -1
  157. package/dist/components/ic-theme.js +1 -1
  158. package/dist/components/ic-toast-region.js +1 -1
  159. package/dist/components/ic-toast.js +4 -4
  160. package/dist/components/ic-toggle-button-group.js +2 -2
  161. package/dist/components/ic-toggle-button.js +2 -2
  162. package/dist/core/core.css +21 -9
  163. package/dist/core/core.esm.js +1 -1
  164. package/dist/core/core.esm.js.map +1 -1
  165. package/dist/core/{p-889bb8db.entry.js → p-04cb17d7.entry.js} +2 -2
  166. package/dist/core/{p-d20a61a7.entry.js → p-06c950a3.entry.js} +2 -2
  167. package/dist/core/{p-6e61c48a.entry.js → p-0c4ceed9.entry.js} +2 -2
  168. package/dist/core/{p-6f60262e.entry.js → p-11d8a504.entry.js} +3 -3
  169. package/dist/core/{p-f4e2e41f.entry.js → p-12c30491.entry.js} +2 -2
  170. package/dist/core/{p-109e7fce.entry.js → p-14d43f64.entry.js} +2 -2
  171. package/dist/core/p-1ca4a5ed.entry.js +2 -0
  172. package/dist/core/p-1ca4a5ed.entry.js.map +1 -0
  173. package/dist/core/{p-efc97f21.entry.js → p-1f41818b.entry.js} +2 -2
  174. package/dist/core/{p-5cf704e3.entry.js → p-319e3d5b.entry.js} +2 -2
  175. package/dist/core/{p-d1cce122.entry.js → p-33e35173.entry.js} +2 -2
  176. package/dist/core/{p-eb1823b3.entry.js → p-34407b13.entry.js} +2 -2
  177. package/dist/core/p-34407b13.entry.js.map +1 -0
  178. package/dist/core/{p-4a358f09.entry.js → p-3680f22c.entry.js} +2 -2
  179. package/dist/core/{p-ab26beed.entry.js → p-3d23ce54.entry.js} +2 -2
  180. package/dist/core/{p-ef397b6f.entry.js → p-42d35fc4.entry.js} +2 -2
  181. package/dist/core/{p-0b1ea961.entry.js → p-4d3b219c.entry.js} +2 -2
  182. package/dist/core/{p-93e1ba0a.entry.js → p-5254a078.entry.js} +2 -2
  183. package/dist/core/{p-9c2e9189.entry.js → p-53740194.entry.js} +2 -2
  184. package/dist/core/{p-614953c5.entry.js → p-601d4e3f.entry.js} +2 -2
  185. package/dist/core/{p-0257d59e.entry.js → p-6329ddcb.entry.js} +2 -2
  186. package/dist/core/{p-d8200098.entry.js → p-67c3985d.entry.js} +2 -2
  187. package/dist/core/{p-a8dc3162.entry.js → p-703f3de1.entry.js} +2 -2
  188. package/dist/core/{p-f7706ff7.entry.js → p-762ea31a.entry.js} +2 -2
  189. package/dist/core/{p-2969b5c9.entry.js → p-7d0d85c4.entry.js} +2 -2
  190. package/dist/core/p-8abcc114.entry.js +2 -0
  191. package/dist/core/p-8abcc114.entry.js.map +1 -0
  192. package/dist/core/{p-b00efb15.entry.js → p-9674b63f.entry.js} +2 -2
  193. package/dist/core/{p-fb43abd6.entry.js → p-9ca147f3.entry.js} +2 -2
  194. package/dist/core/{p-8c7d6a85.entry.js → p-a5415f6c.entry.js} +2 -2
  195. package/dist/core/{p-4637c326.entry.js → p-a7583faf.entry.js} +2 -2
  196. package/dist/core/{p-6996e94f.entry.js → p-a8e4258f.entry.js} +2 -2
  197. package/dist/core/{p-6996e94f.entry.js.map → p-a8e4258f.entry.js.map} +1 -1
  198. package/dist/core/{p-09c31ac6.entry.js → p-adde6c66.entry.js} +2 -2
  199. package/dist/core/{p-6fb29846.entry.js → p-ae11583f.entry.js} +2 -2
  200. package/dist/core/{p-053ed367.entry.js → p-b3cb1e35.entry.js} +2 -2
  201. package/dist/core/{p-f098e531.entry.js → p-b4a2f6fa.entry.js} +2 -2
  202. package/dist/core/{p-0cbd0967.entry.js → p-cce398e1.entry.js} +2 -2
  203. package/dist/core/{p-06b3ae40.entry.js → p-d3223b89.entry.js} +2 -2
  204. package/dist/core/{p-bba25812.entry.js → p-e7af1e2d.entry.js} +2 -2
  205. package/dist/core/{p-3b13d191.entry.js → p-eca43f7d.entry.js} +2 -2
  206. package/dist/core/{p-44fbe8c2.entry.js → p-f4e3bb5b.entry.js} +2 -2
  207. package/dist/core/p-f51c609d.entry.js +2 -0
  208. package/dist/core/{p-296a41ce.entry.js → p-f57729b8.entry.js} +2 -2
  209. package/dist/core/{p-091a7fbf.entry.js → p-f6bb691a.entry.js} +2 -2
  210. package/dist/core/{p-ad6632a9.entry.js → p-f7105cf9.entry.js} +2 -2
  211. package/dist/core/p-ffd0d9d1.entry.js +2 -0
  212. package/dist/core/p-ffd0d9d1.entry.js.map +1 -0
  213. package/dist/esm/core.js +1 -1
  214. package/dist/esm/ic-button_3.entry.js +5 -5
  215. package/dist/esm/ic-button_3.entry.js.map +1 -1
  216. package/dist/esm/ic-checkbox-group.entry.js +2 -2
  217. package/dist/esm/ic-checkbox.entry.js +31 -8
  218. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  219. package/dist/esm/ic-data-list.entry.js +2 -2
  220. package/dist/esm/ic-data-row.entry.js +2 -2
  221. package/dist/esm/ic-dialog.entry.js +1 -1
  222. package/dist/esm/ic-empty-state.entry.js +2 -2
  223. package/dist/esm/ic-footer-link.entry.js +2 -2
  224. package/dist/esm/ic-hero.entry.js +11 -6
  225. package/dist/esm/ic-hero.entry.js.map +1 -1
  226. package/dist/esm/ic-horizontal-scroll.entry.js +5 -5
  227. package/dist/esm/ic-input-component-container_3.entry.js +8 -8
  228. package/dist/esm/ic-input-label_2.entry.js +5 -5
  229. package/dist/esm/ic-layout-grid-item.entry.js +2 -2
  230. package/dist/esm/ic-layout-grid.entry.js +2 -2
  231. package/dist/esm/ic-link.entry.js +1 -1
  232. package/dist/esm/ic-menu-group.entry.js +1 -1
  233. package/dist/esm/ic-navigation-group.entry.js +1 -1
  234. package/dist/esm/ic-navigation-menu.entry.js +4 -4
  235. package/dist/esm/ic-page-header.entry.js +6 -6
  236. package/dist/esm/ic-pagination-item.entry.js +1 -1
  237. package/dist/esm/ic-pagination.entry.js +4 -4
  238. package/dist/esm/ic-popover-menu.entry.js +4 -4
  239. package/dist/esm/ic-radio-group.entry.js +4 -4
  240. package/dist/esm/ic-radio-option.entry.js +4 -4
  241. package/dist/esm/ic-search-bar.entry.js +9 -9
  242. package/dist/esm/ic-section-container.entry.js +2 -2
  243. package/dist/esm/ic-select.entry.js +7 -7
  244. package/dist/esm/ic-select.entry.js.map +1 -1
  245. package/dist/esm/ic-side-navigation.entry.js +4 -4
  246. package/dist/esm/ic-skeleton.entry.js +2 -2
  247. package/dist/esm/ic-skip-link.entry.js +2 -2
  248. package/dist/esm/ic-status-tag.entry.js +2 -2
  249. package/dist/esm/ic-step.entry.js +13 -13
  250. package/dist/esm/ic-stepper.entry.js +2 -2
  251. package/dist/esm/ic-switch.entry.js +4 -4
  252. package/dist/esm/ic-tab-context.entry.js +1 -1
  253. package/dist/esm/ic-tab-group.entry.js +2 -2
  254. package/dist/esm/ic-tab-panel.entry.js +2 -2
  255. package/dist/esm/ic-text-field.entry.js +6 -6
  256. package/dist/esm/ic-text-field.entry.js.map +1 -1
  257. package/dist/esm/ic-theme.entry.js +1 -1
  258. package/dist/esm/ic-toast-region.entry.js +1 -1
  259. package/dist/esm/ic-toast.entry.js +4 -4
  260. package/dist/esm/ic-toggle-button-group.entry.js +2 -2
  261. package/dist/esm/ic-toggle-button.entry.js +2 -2
  262. package/dist/esm/loader.js +1 -1
  263. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +5 -0
  264. package/dist/types/components/ic-hero/ic-hero.d.ts +5 -1
  265. package/dist/types/components.d.ts +8 -0
  266. package/hydrate/index.js +180 -150
  267. package/hydrate/index.mjs +180 -150
  268. package/package.json +2 -2
  269. package/vscode-data.json +15 -0
  270. package/dist/core/p-24d46cab.entry.js +0 -2
  271. package/dist/core/p-24d46cab.entry.js.map +0 -1
  272. package/dist/core/p-48eb7299.entry.js +0 -2
  273. package/dist/core/p-48eb7299.entry.js.map +0 -1
  274. package/dist/core/p-7970cbed.entry.js +0 -2
  275. package/dist/core/p-7970cbed.entry.js.map +0 -1
  276. package/dist/core/p-b29e325f.entry.js +0 -2
  277. package/dist/core/p-eb1823b3.entry.js.map +0 -1
  278. /package/dist/core/{p-889bb8db.entry.js.map → p-04cb17d7.entry.js.map} +0 -0
  279. /package/dist/core/{p-d20a61a7.entry.js.map → p-06c950a3.entry.js.map} +0 -0
  280. /package/dist/core/{p-6e61c48a.entry.js.map → p-0c4ceed9.entry.js.map} +0 -0
  281. /package/dist/core/{p-6f60262e.entry.js.map → p-11d8a504.entry.js.map} +0 -0
  282. /package/dist/core/{p-f4e2e41f.entry.js.map → p-12c30491.entry.js.map} +0 -0
  283. /package/dist/core/{p-109e7fce.entry.js.map → p-14d43f64.entry.js.map} +0 -0
  284. /package/dist/core/{p-efc97f21.entry.js.map → p-1f41818b.entry.js.map} +0 -0
  285. /package/dist/core/{p-5cf704e3.entry.js.map → p-319e3d5b.entry.js.map} +0 -0
  286. /package/dist/core/{p-d1cce122.entry.js.map → p-33e35173.entry.js.map} +0 -0
  287. /package/dist/core/{p-4a358f09.entry.js.map → p-3680f22c.entry.js.map} +0 -0
  288. /package/dist/core/{p-ab26beed.entry.js.map → p-3d23ce54.entry.js.map} +0 -0
  289. /package/dist/core/{p-ef397b6f.entry.js.map → p-42d35fc4.entry.js.map} +0 -0
  290. /package/dist/core/{p-0b1ea961.entry.js.map → p-4d3b219c.entry.js.map} +0 -0
  291. /package/dist/core/{p-93e1ba0a.entry.js.map → p-5254a078.entry.js.map} +0 -0
  292. /package/dist/core/{p-9c2e9189.entry.js.map → p-53740194.entry.js.map} +0 -0
  293. /package/dist/core/{p-614953c5.entry.js.map → p-601d4e3f.entry.js.map} +0 -0
  294. /package/dist/core/{p-0257d59e.entry.js.map → p-6329ddcb.entry.js.map} +0 -0
  295. /package/dist/core/{p-d8200098.entry.js.map → p-67c3985d.entry.js.map} +0 -0
  296. /package/dist/core/{p-a8dc3162.entry.js.map → p-703f3de1.entry.js.map} +0 -0
  297. /package/dist/core/{p-f7706ff7.entry.js.map → p-762ea31a.entry.js.map} +0 -0
  298. /package/dist/core/{p-2969b5c9.entry.js.map → p-7d0d85c4.entry.js.map} +0 -0
  299. /package/dist/core/{p-b00efb15.entry.js.map → p-9674b63f.entry.js.map} +0 -0
  300. /package/dist/core/{p-fb43abd6.entry.js.map → p-9ca147f3.entry.js.map} +0 -0
  301. /package/dist/core/{p-8c7d6a85.entry.js.map → p-a5415f6c.entry.js.map} +0 -0
  302. /package/dist/core/{p-4637c326.entry.js.map → p-a7583faf.entry.js.map} +0 -0
  303. /package/dist/core/{p-09c31ac6.entry.js.map → p-adde6c66.entry.js.map} +0 -0
  304. /package/dist/core/{p-6fb29846.entry.js.map → p-ae11583f.entry.js.map} +0 -0
  305. /package/dist/core/{p-053ed367.entry.js.map → p-b3cb1e35.entry.js.map} +0 -0
  306. /package/dist/core/{p-f098e531.entry.js.map → p-b4a2f6fa.entry.js.map} +0 -0
  307. /package/dist/core/{p-0cbd0967.entry.js.map → p-cce398e1.entry.js.map} +0 -0
  308. /package/dist/core/{p-06b3ae40.entry.js.map → p-d3223b89.entry.js.map} +0 -0
  309. /package/dist/core/{p-bba25812.entry.js.map → p-e7af1e2d.entry.js.map} +0 -0
  310. /package/dist/core/{p-3b13d191.entry.js.map → p-eca43f7d.entry.js.map} +0 -0
  311. /package/dist/core/{p-44fbe8c2.entry.js.map → p-f4e3bb5b.entry.js.map} +0 -0
  312. /package/dist/core/{p-b29e325f.entry.js.map → p-f51c609d.entry.js.map} +0 -0
  313. /package/dist/core/{p-296a41ce.entry.js.map → p-f57729b8.entry.js.map} +0 -0
  314. /package/dist/core/{p-091a7fbf.entry.js.map → p-f6bb691a.entry.js.map} +0 -0
  315. /package/dist/core/{p-ad6632a9.entry.js.map → p-f7105cf9.entry.js.map} +0 -0
@@ -31,6 +31,10 @@ export class Hero {
31
31
  * The size of the hero component.
32
32
  */
33
33
  this.size = "medium";
34
+ /**
35
+ * 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.
36
+ */
37
+ this.theme = "inherit";
34
38
  }
35
39
  disconnectedCallback() {
36
40
  var _a;
@@ -66,7 +70,7 @@ export class Hero {
66
70
  }
67
71
  }
68
72
  render() {
69
- const { aligned, size, heading, subheading, secondaryHeading, secondarySubheading, foregroundColor, backgroundImage, scrollFactor, contentAligned, } = this;
73
+ const { aligned, size, heading, subheading, secondaryHeading, secondarySubheading, foregroundColor, backgroundImage, scrollFactor, contentAligned, theme, } = this;
70
74
  let style = {};
71
75
  if (isPropDefined(backgroundImage)) {
72
76
  style = {
@@ -74,19 +78,20 @@ export class Hero {
74
78
  "background-position": scrollFactor,
75
79
  };
76
80
  }
77
- return (h(Host, { key: 'ae89dfc9697492e640cef1740da5b1552a6b31ca', class: {
81
+ return (h(Host, { key: '34d3c839d5827d5dadfdc1a160c4b6b2ae965cdf', class: {
78
82
  [`ic-hero-${IcBrandForegroundEnum.Dark}`]: foregroundColor === IcBrandForegroundEnum.Dark,
79
83
  ["has-background-image"]: backgroundImage !== undefined,
80
84
  ["has-right-content"]: this.rightContent,
81
85
  ["ic-hero-small"]: size === "small",
82
86
  ["secondary-heading"]: !!secondaryHeading,
83
87
  [`ic-hero-content-aligned-${contentAligned}`]: contentAligned !== undefined,
84
- }, style: style }, h("ic-section-container", { key: 'e70e1a6e85eddbdbc68b9a7754d760e898e27981', aligned: aligned, fullHeight: true, class: "section-container" }, h("div", { key: 'f1b85e347aa5f1b6f961aa2c7943a1e651dc22c3', class: {
88
+ [`ic-theme-${theme}`]: theme !== "inherit",
89
+ }, style: style }, h("ic-section-container", { key: '92c885c6bb0532ed6d5adbea3927ff56c88ccf00', aligned: aligned, fullHeight: true, class: "section-container" }, h("div", { key: '808e287fe214793b21c2da1d4db8410a0fecdcb9', class: {
85
90
  ["left-container"]: true,
86
91
  ["left-container-full-width"]: this.leftContentFullWidth,
87
- } }, h("div", { key: '2100740ba4e22f0f229c145327b572ffa78521c6', class: "heading" }, h("slot", { key: '30cd98888662c64e944660a68410cf51d0146460', name: "heading" }, h("ic-typography", { key: 'dc2a602974c66325be5082c517f28eae72f5780b', variant: size === "small" ? "h2" : "h1", class: {
92
+ } }, h("div", { key: '09267f66de926f237092d55372f34ee75b3b1bb5', class: "heading" }, h("slot", { key: 'b30e4be509093aa6f7b2dbe906eb63c8ed1f70da', name: "heading" }, h("ic-typography", { key: 'a59edf905e413ecd324b09807acb4efc7730b1ef', variant: size === "small" ? "h2" : "h1", class: {
88
93
  ["heading-bottom-spacing"]: size !== "small",
89
- } }, h("h2", { key: '5f26d23f4bcf35ee1273741ef767c93ea3a8f90d' }, heading)))), h("div", { key: '4187d2e39e8adb1174e9408ab269f343c876e711', class: "subheading" }, h("slot", { key: '90835b42345fbebb0f98501cf46e9185f746868d', name: "subheading" }, h("ic-typography", { key: '85b6f8619599bd518fa1b4351ec5dcb0d0059684', variant: "body" }, subheading))), h("div", { key: '2f79214e6fb235164825f6c77d31d16cf3e1bda8', class: "interaction-container" }, h("slot", { key: '008f3ad58fdc0d12a1fa3dfe8e400a5cbe05b13f', name: "interaction" }))), (isPropDefined(secondaryHeading) || this.rightContent) && (h("div", { key: '6ae2e569b0a50c021f9b7aa0399c48c79a6a2151', class: "right-container" }, h("slot", { key: '03ebade13d8f03e4d0fe310d2a3038c3c2bdcada', name: "secondary" }, secondaryHeading && (h("div", { key: '87be1f434f9f7d37783a79de3d38a9ffd3ae6633', class: "secondary-container" }, h("div", { key: '87f64a2443ccfa0e6fa790b13302f28269a7aeb2', class: "secondary-heading" }, h("ic-typography", { key: 'c8fefec7ecd3a3757b565933238bddbcb2206389', variant: "h4" }, h("h3", { key: '0afe6e4b3b4594ce85599155f65c89b27a8ffc97' }, secondaryHeading))), h("div", { key: '84412145d7f3785e60d67ceaa879066e9623784f', class: "secondary-subheading" }, h("ic-typography", { key: '0e89a8ef45a387d6f09a25ce88e1947bdf24c47a', variant: "subtitle-small" }, secondarySubheading))))))))));
94
+ } }, h("h2", { key: 'f3d705dcea394926d050c5e9a518aa6d23e61c74' }, heading)))), h("div", { key: 'e67892b909d8d59b9714c9c39b07f5fbaa47cd5f', class: "subheading" }, h("slot", { key: '94601527aad82e6da4a1723f435b26221f562d3c', name: "subheading" }, h("ic-typography", { key: 'd10d05ad2ecbc02f3cc9612c5e5cd8507c95e7ba', variant: "body" }, subheading))), h("div", { key: '12ea9178058e547b57fd1ca454a00a9bdf542f41', class: "interaction-container" }, h("slot", { key: '8b3e37943fb688843dfcc6f28f7aab2d42c66454', name: "interaction" }))), (isPropDefined(secondaryHeading) || this.rightContent) && (h("div", { key: '2783784a47d8a7667959b6bc0a102e0536050cab', class: "right-container" }, h("slot", { key: 'ad168f0963f7950cf70b8a77abd4390a0585ddff', name: "secondary" }, secondaryHeading && (h("div", { key: 'faa3a3a6f23962c99eab8d1e81e2fa5d96b8f6c2', class: "secondary-container" }, h("div", { key: '147945f65e18d6d3ade2342057e1cdaf68faca50', class: "secondary-heading" }, h("ic-typography", { key: '78a22d379cb17ec183b4f320f652696cf46155b4', variant: "h4" }, h("h3", { key: '87619d7363588a0887f4c704011d824d51f3caa2' }, secondaryHeading))), h("div", { key: '0cc920336ef6d241361f095317391c296ce81e81', class: "secondary-subheading" }, h("ic-typography", { key: '19db9e9c8c392b26e698427048de8ad1bf2b7a5a', variant: "subtitle-small" }, secondarySubheading))))))))));
90
95
  }
91
96
  static get is() { return "ic-hero"; }
92
97
  static get encapsulation() { return "shadow"; }
@@ -294,6 +299,32 @@ export class Hero {
294
299
  "setter": false,
295
300
  "attribute": "subheading",
296
301
  "reflect": false
302
+ },
303
+ "theme": {
304
+ "type": "string",
305
+ "mutable": false,
306
+ "complexType": {
307
+ "original": "IcThemeMode",
308
+ "resolved": "\"dark\" | \"inherit\" | \"light\"",
309
+ "references": {
310
+ "IcThemeMode": {
311
+ "location": "import",
312
+ "path": "../../utils/types",
313
+ "id": "src/utils/types.ts::IcThemeMode"
314
+ }
315
+ }
316
+ },
317
+ "required": false,
318
+ "optional": false,
319
+ "docs": {
320
+ "tags": [],
321
+ "text": "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."
322
+ },
323
+ "getter": false,
324
+ "setter": false,
325
+ "attribute": "theme",
326
+ "reflect": false,
327
+ "defaultValue": "\"inherit\""
297
328
  }
298
329
  };
299
330
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ic-hero.js","sourceRoot":"","sources":["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AAgB,IAAI,CACnB,4DAAK,KAAK,EAAC,qBAAqB;wBAC9B,4DAAK,KAAK,EAAC,mBAAmB;4BAC5B,sEAAe,OAAO,EAAC,IAAI;gCACzB,6DAAK,gBAAgB,CAAM,CACb,CACZ;wBACN,4DAAK,KAAK,EAAC,sBAAsB;4BAC/B,sEAAe,OAAO,EAAC,gBAAgB,IACpC,mBAAmB,CACN,CACZ,CACF,CACP,CACI,CACH,CACP,CACoB,CAClB,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Element,\n Host,\n Prop,\n h,\n State,\n Listen,\n} from \"@stencil/core\";\nimport {\n IcAlignment,\n IcSizesNoLarge,\n IcBrand,\n IcBrandForeground,\n IcBrandForegroundEnum,\n} from \"../../utils/types\";\nimport {\n slotHasContent,\n getBrandForegroundAppearance,\n onComponentRequiredPropUndefined,\n isPropDefined,\n isSlotUsed,\n renderDynamicChildSlots,\n} from \"../../utils/helpers\";\nimport { IcHeroContentAlignments } from \"./ic-hero.types\";\n\n/**\n * @slot heading - Content will be rendered in the title area, in place of the heading.\n * @slot subheading - Content will be rendered in the title area, in place of the subheading.\n * @slot interaction - Content will be rendered in the interaction area, adjacent to the title area.\n * @slot secondary - Content will be rendered in the secondary content area.\n */\n\n@Component({\n tag: \"ic-hero\",\n styleUrl: \"ic-hero.css\",\n shadow: true,\n})\nexport class Hero {\n private hostMutationObserver: MutationObserver | null = null;\n\n @Element() el: HTMLIcHeroElement;\n\n @State() foregroundColor: IcBrandForeground = getBrandForegroundAppearance();\n @State() rightContent: boolean = false;\n // set by above state\n @State() leftContentFullWidth: boolean =\n !this.rightContent && this.secondaryHeading === undefined;\n @State() scrollFactor: string = \"right -100px\";\n\n /**\n * The alignment of the hero.\n */\n @Prop() aligned?: IcAlignment = \"left\";\n\n /**\n * The optional background image.\n */\n @Prop() backgroundImage?: string;\n\n /**\n * The alignment of the hero content.\n */\n @Prop() contentAligned?: IcHeroContentAlignments = \"left\";\n\n /**\n * If `true`, the background image (if set) will not scroll using a parallax effect.\n */\n @Prop() disableBackgroundParallax?: boolean = false;\n\n /**\n * The heading of the hero. An <h2> level heading.\n */\n @Prop() heading?: string;\n\n /**\n * The optional secondary heading, an <h3> level heading. Replaced by slotted right content.\n */\n @Prop() secondaryHeading?: string;\n\n /**\n * The optional secondary subheading, replaced by slotted right content.\n */\n @Prop() secondarySubheading?: string;\n\n /**\n * The size of the hero component.\n */\n @Prop() size?: IcSizesNoLarge = \"medium\";\n\n /**\n * The description for the hero.\n */\n @Prop() subheading?: string;\n\n disconnectedCallback(): void {\n this.hostMutationObserver?.disconnect();\n }\n\n componentWillLoad(): void {\n this.rightContent = slotHasContent(this.el, \"secondary\");\n }\n\n componentDidLoad(): void {\n !isSlotUsed(this.el, \"heading\") &&\n onComponentRequiredPropUndefined(\n [{ prop: this.heading, propName: \"heading\" }],\n \"Hero\"\n );\n\n this.hostMutationObserver = new MutationObserver((mutationList) =>\n renderDynamicChildSlots(mutationList, \"secondary\", this)\n );\n this.hostMutationObserver.observe(this.el, {\n childList: true,\n });\n }\n\n componentWillRender(): void {\n this.rightContent = slotHasContent(this.el, \"secondary\");\n }\n\n @Listen(\"brandChange\", { target: \"document\" })\n brandChangeHandler(ev: CustomEvent<IcBrand>): void {\n this.foregroundColor = ev.detail.mode;\n }\n\n @Listen(\"scroll\", { target: \"document\" })\n doScroll(): void {\n if (this.disableBackgroundParallax) {\n return;\n }\n\n const scrolltotop = document.scrollingElement?.scrollTop;\n if (scrolltotop) {\n const factor = 0.4;\n const y = -100 + scrolltotop * factor;\n this.scrollFactor = \"right \" + y + \"px\";\n }\n }\n\n render() {\n const {\n aligned,\n size,\n heading,\n subheading,\n secondaryHeading,\n secondarySubheading,\n foregroundColor,\n backgroundImage,\n scrollFactor,\n contentAligned,\n } = this;\n\n let style = {};\n\n if (isPropDefined(backgroundImage)) {\n style = {\n \"background-image\": \"url(\" + backgroundImage + \")\",\n \"background-position\": scrollFactor,\n };\n }\n\n return (\n <Host\n class={{\n [`ic-hero-${IcBrandForegroundEnum.Dark}`]:\n foregroundColor === IcBrandForegroundEnum.Dark,\n [\"has-background-image\"]: backgroundImage !== undefined,\n [\"has-right-content\"]: this.rightContent,\n [\"ic-hero-small\"]: size === \"small\",\n [\"secondary-heading\"]: !!secondaryHeading,\n [`ic-hero-content-aligned-${contentAligned}`]:\n contentAligned !== undefined,\n }}\n style={style}\n >\n <ic-section-container\n aligned={aligned}\n fullHeight\n class=\"section-container\"\n >\n <div\n class={{\n [\"left-container\"]: true,\n [\"left-container-full-width\"]: this.leftContentFullWidth,\n }}\n >\n <div class=\"heading\">\n <slot name=\"heading\">\n <ic-typography\n variant={size === \"small\" ? \"h2\" : \"h1\"}\n class={{\n [\"heading-bottom-spacing\"]: size !== \"small\",\n }}\n >\n <h2>{heading}</h2>\n </ic-typography>\n </slot>\n </div>\n <div class=\"subheading\">\n <slot name=\"subheading\">\n <ic-typography variant=\"body\">{subheading}</ic-typography>\n </slot>\n </div>\n <div class=\"interaction-container\">\n <slot name=\"interaction\"></slot>\n </div>\n </div>\n {(isPropDefined(secondaryHeading) || this.rightContent) && (\n <div class=\"right-container\">\n <slot name=\"secondary\">\n {secondaryHeading && (\n <div class=\"secondary-container\">\n <div class=\"secondary-heading\">\n <ic-typography variant=\"h4\">\n <h3>{secondaryHeading}</h3>\n </ic-typography>\n </div>\n <div class=\"secondary-subheading\">\n <ic-typography variant=\"subtitle-small\">\n {secondarySubheading}\n </ic-typography>\n </div>\n </div>\n )}\n </slot>\n </div>\n )}\n </ic-section-container>\n </Host>\n );\n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a,GAAQ,CAC5B,CACF;gBACL,CAAC,aAAa,CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,CACzD,4DAAK,KAAK,EAAC,iBAAiB;oBAC1B,6DAAM,IAAI,EAAC,WAAW,IACnB,gBAAgB,IAAI,CACnB,4DAAK,KAAK,EAAC,qBAAqB;wBAC9B,4DAAK,KAAK,EAAC,mBAAmB;4BAC5B,sEAAe,OAAO,EAAC,IAAI;gCACzB,6DAAK,gBAAgB,CAAM,CACb,CACZ;wBACN,4DAAK,KAAK,EAAC,sBAAsB;4BAC/B,sEAAe,OAAO,EAAC,gBAAgB,IACpC,mBAAmB,CACN,CACZ,CACF,CACP,CACI,CACH,CACP,CACoB,CAClB,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Element,\n Host,\n Prop,\n h,\n State,\n Listen,\n} from \"@stencil/core\";\nimport {\n IcAlignment,\n IcSizesNoLarge,\n IcBrand,\n IcBrandForeground,\n IcBrandForegroundEnum,\n IcThemeMode,\n} from \"../../utils/types\";\nimport {\n slotHasContent,\n getBrandForegroundAppearance,\n onComponentRequiredPropUndefined,\n isPropDefined,\n isSlotUsed,\n renderDynamicChildSlots,\n} from \"../../utils/helpers\";\nimport { IcHeroContentAlignments } from \"./ic-hero.types\";\n\n/**\n * @slot heading - Content will be rendered in the title area, in place of the heading.\n * @slot subheading - Content will be rendered in the title area, in place of the subheading.\n * @slot interaction - Content will be rendered in the interaction area, adjacent to the title area.\n * @slot secondary - Content will be rendered in the secondary content area.\n */\n\n@Component({\n tag: \"ic-hero\",\n styleUrl: \"ic-hero.css\",\n shadow: true,\n})\nexport class Hero {\n private hostMutationObserver: MutationObserver | null = null;\n\n @Element() el: HTMLIcHeroElement;\n\n @State() foregroundColor: IcBrandForeground = getBrandForegroundAppearance();\n @State() rightContent: boolean = false;\n // set by above state\n @State() leftContentFullWidth: boolean =\n !this.rightContent && this.secondaryHeading === undefined;\n @State() scrollFactor: string = \"right -100px\";\n\n /**\n * The alignment of the hero.\n */\n @Prop() aligned?: IcAlignment = \"left\";\n\n /**\n * The optional background image.\n */\n @Prop() backgroundImage?: string;\n\n /**\n * The alignment of the hero content.\n */\n @Prop() contentAligned?: IcHeroContentAlignments = \"left\";\n\n /**\n * If `true`, the background image (if set) will not scroll using a parallax effect.\n */\n @Prop() disableBackgroundParallax?: boolean = false;\n\n /**\n * The heading of the hero. An <h2> level heading.\n */\n @Prop() heading?: string;\n\n /**\n * The optional secondary heading, an <h3> level heading. Replaced by slotted right content.\n */\n @Prop() secondaryHeading?: string;\n\n /**\n * The optional secondary subheading, replaced by slotted right content.\n */\n @Prop() secondarySubheading?: string;\n\n /**\n * The size of the hero component.\n */\n @Prop() size?: IcSizesNoLarge = \"medium\";\n\n /**\n * The description for the hero.\n */\n @Prop() subheading?: string;\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: IcThemeMode = \"inherit\";\n\n disconnectedCallback(): void {\n this.hostMutationObserver?.disconnect();\n }\n\n componentWillLoad(): void {\n this.rightContent = slotHasContent(this.el, \"secondary\");\n }\n\n componentDidLoad(): void {\n !isSlotUsed(this.el, \"heading\") &&\n onComponentRequiredPropUndefined(\n [{ prop: this.heading, propName: \"heading\" }],\n \"Hero\"\n );\n\n this.hostMutationObserver = new MutationObserver((mutationList) =>\n renderDynamicChildSlots(mutationList, \"secondary\", this)\n );\n this.hostMutationObserver.observe(this.el, {\n childList: true,\n });\n }\n\n componentWillRender(): void {\n this.rightContent = slotHasContent(this.el, \"secondary\");\n }\n\n @Listen(\"brandChange\", { target: \"document\" })\n brandChangeHandler(ev: CustomEvent<IcBrand>): void {\n this.foregroundColor = ev.detail.mode;\n }\n\n @Listen(\"scroll\", { target: \"document\" })\n doScroll(): void {\n if (this.disableBackgroundParallax) {\n return;\n }\n\n const scrolltotop = document.scrollingElement?.scrollTop;\n if (scrolltotop) {\n const factor = 0.4;\n const y = -100 + scrolltotop * factor;\n this.scrollFactor = \"right \" + y + \"px\";\n }\n }\n\n render() {\n const {\n aligned,\n size,\n heading,\n subheading,\n secondaryHeading,\n secondarySubheading,\n foregroundColor,\n backgroundImage,\n scrollFactor,\n contentAligned,\n theme,\n } = this;\n\n let style = {};\n\n if (isPropDefined(backgroundImage)) {\n style = {\n \"background-image\": \"url(\" + backgroundImage + \")\",\n \"background-position\": scrollFactor,\n };\n }\n\n return (\n <Host\n class={{\n [`ic-hero-${IcBrandForegroundEnum.Dark}`]:\n foregroundColor === IcBrandForegroundEnum.Dark,\n [\"has-background-image\"]: backgroundImage !== undefined,\n [\"has-right-content\"]: this.rightContent,\n [\"ic-hero-small\"]: size === \"small\",\n [\"secondary-heading\"]: !!secondaryHeading,\n [`ic-hero-content-aligned-${contentAligned}`]:\n contentAligned !== undefined,\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n }}\n style={style}\n >\n <ic-section-container\n aligned={aligned}\n fullHeight\n class=\"section-container\"\n >\n <div\n class={{\n [\"left-container\"]: true,\n [\"left-container-full-width\"]: this.leftContentFullWidth,\n }}\n >\n <div class=\"heading\">\n <slot name=\"heading\">\n <ic-typography\n variant={size === \"small\" ? \"h2\" : \"h1\"}\n class={{\n [\"heading-bottom-spacing\"]: size !== \"small\",\n }}\n >\n <h2>{heading}</h2>\n </ic-typography>\n </slot>\n </div>\n <div class=\"subheading\">\n <slot name=\"subheading\">\n <ic-typography variant=\"body\">{subheading}</ic-typography>\n </slot>\n </div>\n <div class=\"interaction-container\">\n <slot name=\"interaction\"></slot>\n </div>\n </div>\n {(isPropDefined(secondaryHeading) || this.rightContent) && (\n <div class=\"right-container\">\n <slot name=\"secondary\">\n {secondaryHeading && (\n <div class=\"secondary-container\">\n <div class=\"secondary-heading\">\n <ic-typography variant=\"h4\">\n <h3>{secondaryHeading}</h3>\n </ic-typography>\n </div>\n <div class=\"secondary-subheading\">\n <ic-typography variant=\"subtitle-small\">\n {secondarySubheading}\n </ic-typography>\n </div>\n </div>\n )}\n </slot>\n </div>\n )}\n </ic-section-container>\n </Host>\n );\n }\n}\n"]}
@@ -19,6 +19,7 @@ const defaultArgs = {
19
19
  subheading:
20
20
  "Hero description. This is a Hero component, it should be used as a page heading.",
21
21
  showSecondary: false,
22
+ theme: "inherit",
22
23
  };
23
24
 
24
25
  export const Playground = {
@@ -32,6 +33,7 @@ export const Playground = {
32
33
  secondary-subheading=${args.secondarySubheading}
33
34
  size=${args.size}
34
35
  subheading=${args.subheading}
36
+ theme=${args.theme}
35
37
  >
36
38
  <ic-button variant="primary" slot="interaction"> Button </ic-button>
37
39
  <ic-button variant="secondary" slot="interaction"> Button </ic-button>
@@ -43,6 +45,12 @@ export const Playground = {
43
45
  slot="secondary"
44
46
  />
45
47
  `}
48
+ <ic-text-field
49
+ slot="interaction"
50
+ label="Input"
51
+ helper-text="This is an input"
52
+ placeholder="Please enter…"
53
+ />
46
54
  </ic-hero>`,
47
55
 
48
56
  args: defaultArgs,
@@ -76,6 +84,13 @@ export const Playground = {
76
84
  type: "select",
77
85
  },
78
86
  },
87
+ theme: {
88
+ options: ["inherit", "light", "dark"],
89
+
90
+ control: {
91
+ type: "inline-radio",
92
+ },
93
+ },
79
94
  },
80
95
  };
81
96
 
@@ -155,22 +155,22 @@ export class HorizontalScroll {
155
155
  }
156
156
  render() {
157
157
  const { firstItemVisible, lastItemVisible, itemOverflow } = this;
158
- return (h(Host, { key: '5f340f9d11d2ca42a17eacea2b9ce38b35614151', class: {
158
+ return (h(Host, { key: '5c313665e71e0abc91a19f204ccf08d7b017f46b', 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: '555d223168b83a595030b18c4d21874c1cf679bd', "aria-hidden": "true", class: {
163
+ } }, h("div", { key: '7a65d56af26a6bfe660c3e923beaf7b512f77de8', "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: '9196738f3d7d2c48b9173af7b152828a00c56edd', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll left", theme: this.theme === "light" || this.theme === "inherit"
167
+ }, role: "tab" }, h("ic-button", { key: '0203d6acdde7444d03038b3ec86f3e318615030d', 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: '89c1dc4017ec5a5ccd691c16c47957d35067d0b5', class: "scroll-splitter-left" })), h("slot", { key: 'bc45bafea5bad600701b74f097aae39c2e6b1e4d' }), h("div", { key: 'b961e7d153dccb0187f0aa8c02f73494f4233649', "aria-hidden": "true", class: {
169
+ : "light", monochrome: this.monochrome, innerHTML: LeftArrow, disabled: firstItemVisible, tabindex: "-1", onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler }), h("span", { key: 'dffb5fee1c17005205216d0901141317e2dc4aa6', class: "scroll-splitter-left" })), h("slot", { key: 'f637c15f3020e1572a61179c2132dece11d0699a' }), h("div", { key: 'c563d5ca6d07a66f2111bea5aebe7d36ae481770', "aria-hidden": "true", class: {
170
170
  ["scroll-container-right"]: true,
171
171
  ["hidden"]: !itemOverflow,
172
172
  ["disabled"]: lastItemVisible,
173
- }, role: "tab" }, h("span", { key: 'd0960807543d4513129f192ce975c7a0139a91a0', class: "scroll-splitter-right" }), h("ic-button", { key: '4844fbcec6360b939a67c3878e36f4b812685c22', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll right", theme: this.theme === "light" || this.theme === "inherit"
173
+ }, role: "tab" }, h("span", { key: 'd8afe9aaf2304d13909815aeb8e60ac4f8952f7f', class: "scroll-splitter-right" }), h("ic-button", { key: '4f3be747e736a50705793742b0a1e9fab44d56db', 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: '20c111945d3fea6c2ec9ddcb70a0e5c74489fcd0', class: {
51
+ return (h(Host, { key: 'c33ebfd9dd18101fb9161259538e8e0046f77a3d', 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: '10974ddaa6b7e895645b50a73501ef8004036e8d', class: "focus-indicator" }, slotHasContent(this.el, "left-icon") && (h("div", { key: '29b14de6450c67f924e6820cc4ef74f20abad132', class: "icon-container" }, h("slot", { key: '9c35122ee4308cd2782cf405a80b4b986a4b3fe8', name: "left-icon" }))), h("slot", { key: '71782b3c047c6bc14d63bb2218fc825ee644ed12' }), validationInline &&
59
- validationStatus === IcInformationStatus.Success && (h("span", { key: 'e3ad09a64f224428e5a38127390751d86b5db914', class: "inline-success", innerHTML: successIcon })))));
58
+ }, "aria-disabled": disabled ? "true" : null }, h("div", { key: 'a70f27a3235ac0edb9d9c5a18983ae3c02de2a48', class: "focus-indicator" }, slotHasContent(this.el, "left-icon") && (h("div", { key: 'aa0b233280382bd0e95a8ff932bf60a63603b7bf', class: "icon-container" }, h("slot", { key: 'ceb8ec9b420073ac2ecd5d6793ad4342ab9ebbdd', name: "left-icon" }))), h("slot", { key: '1850c6ed04510e678600c653a36e2114f982e561' }), validationInline &&
59
+ validationStatus === IcInformationStatus.Success && (h("span", { key: '58d228c595577c1cc9a0fe2b10538cc3efff53ab', 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: '25d076eaba3bd1c7e469a5a3c44b26990dfcb43c' }, h("div", { key: '77559c5ab0557c9d42eb30d4a6487962dc8d2462', class: {
14
+ return (h(Host, { key: '32ae22db5e182cc2c092c8f48e61d42a318284a0' }, h("div", { key: 'bae9ef74f7f92004ec99c387a213822315c505ba', class: {
15
15
  ["component-container"]: true,
16
16
  ["disabled"]: !!this.disabled,
17
17
  ["readonly"]: !!this.readonly,
18
- } }, h("slot", { key: '0b579f90ba6c9b7b5c515632b9e3f78a3a47c9a2' }))));
18
+ } }, h("slot", { key: 'acca571eaa0d8f19b0e3379d2592409aacf9dd95' }))));
19
19
  }
20
20
  static get is() { return "ic-input-container"; }
21
21
  static get originalStyleUrls() {
@@ -63,11 +63,11 @@ export class InputLabel {
63
63
  "helpertext-readonly": readonly,
64
64
  };
65
65
  const helperTextSlot = this.el.querySelector("slot[name='helper-text']");
66
- return (h(Host, { key: '632235f5528b1ee7cbdc981b1fd8f83f81317ac5', class: {
66
+ return (h(Host, { key: 'da58fe3cac026661d1c624c69c56c6e64ff3c07a', class: {
67
67
  "ic-input-label-disabled": !!disabled,
68
68
  "ic-input-label-readonly": readonly,
69
69
  "with-helper": this.isHelperTextSlotUsed(helperTextSlot) || helperText !== "",
70
- } }, !hideLabel && (h("ic-typography", { key: '4d5ffe88dcfd61697ac5c10bbfe72da69d6cd09e', variant: "label", class: {
70
+ } }, !hideLabel && (h("ic-typography", { key: 'bb221e5f51681a0caa721c66f03fd475e4e08749', variant: "label", class: {
71
71
  "readonly-label": readonly,
72
72
  "error-label": status === "error" && !(readonly || disabled),
73
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))))));
@@ -43,14 +43,14 @@ export class InputValidation {
43
43
  render() {
44
44
  const { ariaLiveMode, fullWidth, status, message } = this;
45
45
  const displayIcon = status !== "" ? ICON[status] : "";
46
- return (h(Host, { key: '71585fc1ea14fdb61bb1557d2da4df16b26cfc0d', class: {
46
+ return (h(Host, { key: '0513b4d21426f48a3751fbb4f16786d8cdde6f30', class: {
47
47
  [`ic-input-validation-${status}`]: status !== "",
48
48
  "ic-input-validation-full-width": !!fullWidth,
49
49
  "ic-input-validation-with-status": status !== "",
50
- } }, displayIcon !== "" && (h("span", { key: '4cbb1c03f511ea994a7ef9af769bd1040d9a4b26', class: {
50
+ } }, displayIcon !== "" && (h("span", { key: '3e6de247d788f9836f338e109d7be5914fa2f320', class: {
51
51
  "status-icon": true,
52
52
  [`icon-${status}`]: true,
53
- }, innerHTML: displayIcon })), h("ic-typography", { key: '89de4e97c599c21ab5d28fb5d2cad72af25d0142', variant: "caption", class: "statustext" }, h("span", { key: 'ea899c6c80ca2036ab6388f7814ea5022b9681b3', id: this.for && getInputValidationTextID(this.for) }, message), h("span", { key: 'f77fea85dda248f4e1b0d1cb4ee390926fe67116', ref: (el) => (this.messageEl = el), class: "sr-only", "aria-live": ariaLiveMode })), h("slot", { key: '39452a262baec0db33f97951762ddc6b1e33b26b', name: "validation-message-adornment" })));
53
+ }, innerHTML: displayIcon })), h("ic-typography", { key: '5ee4e673c1f2934d74eafbc08241cdfae1aa5f9f', variant: "caption", class: "statustext" }, h("span", { key: '850149ffb8c4cdab21ab0c05a8787747e399ca41', id: this.for && getInputValidationTextID(this.for) }, message), h("span", { key: 'a26f5aa58e81cf3e9d982d86b75b3ab7e14897ad', ref: (el) => (this.messageEl = el), class: "sr-only", "aria-live": ariaLiveMode })), h("slot", { key: '4dba13235c6ec27d634b0dd38523963798676b36', name: "validation-message-adornment" })));
54
54
  }
55
55
  static get is() { return "ic-input-validation"; }
56
56
  static get originalStyleUrls() {
@@ -124,10 +124,10 @@ export class LayoutGrid {
124
124
  }
125
125
  render() {
126
126
  const { aligned, fullHeight } = this;
127
- return (h(Host, { key: '47ece5b026e7e3c97ed38bfe3bab840c1f19ab7c', class: {
127
+ return (h(Host, { key: 'fa862e7110426cb032982c8743b7ad3024f06f9a', class: {
128
128
  [`ic-layout-grid-aligned-${aligned}`]: true,
129
129
  ["ic-layout-grid-no-vertical-padding"]: !!fullHeight,
130
- } }, h("slot", { key: 'f60fbe3bcc6218cf7340513a1699c13b0db377a0' })));
130
+ } }, h("slot", { key: '716c4137c338797b4ce17c9dd946f8902064606f' })));
131
131
  }
132
132
  static get is() { return "ic-layout-grid"; }
133
133
  static get encapsulation() { return "shadow"; }
@@ -42,9 +42,9 @@ export class LayoutGridItem {
42
42
  }
43
43
  render() {
44
44
  const { hideInMobileMode } = this;
45
- return (h(Host, { key: 'bf040e1b3ddbd7f275a026008bf6f011fa440b1d', class: {
45
+ return (h(Host, { key: '9e96a528f70c414a5728a7fd0773d0adb4063020', class: {
46
46
  "ic-layout-grid-hide-in-mobile": !!hideInMobileMode,
47
- } }, h("slot", { key: '0833ce81285ee10fdfb943fe7d54d0e7db210313' })));
47
+ } }, h("slot", { key: '43b2b4891f8b1241fad2fb707016cd927632bdfd' })));
48
48
  }
49
49
  static get is() { return "ic-layout-grid-item"; }
50
50
  static get encapsulation() { return "shadow"; }
@@ -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: 'ca6343037bc5985cf5062b7797e71e0dd0184fb3', class: {
94
+ return (h(Host, { key: '1d3ba1effcfab3255ea567c475e2252bd17de507', class: {
95
95
  ["ic-link"]: true,
96
96
  [`ic-theme-${theme}`]: theme !== "inherit",
97
97
  ["ic-link-monochrome"]: !!monochrome,
@@ -179,24 +179,24 @@ export class LoadingIndicator {
179
179
  }
180
180
  render() {
181
181
  const { circularDiameter, circularDimensions: { x, y, r, dashArray, dashOffset }, description, fullWidth, indicatorLabel, innerLabel, label, max, min, monochrome, progress, size, theme, type, } = this;
182
- return (h(Host, { key: 'ed657c9728ede234f20352d0476dc84b751e3e32', class: {
182
+ return (h(Host, { key: '8f3a698fc177a9ff0c42efa2cb0d6fde7d09f2cb', class: {
183
183
  [`ic-theme-${theme}`]: theme !== "inherit",
184
184
  "ic-loading-indicator-full-width": fullWidth,
185
185
  "ic-loading-indicator-label": !!label,
186
186
  "ic-loading-indicator-monochrome": monochrome,
187
187
  [`ic-loading-indicator-size-${size}`]: true,
188
- } }, h("div", { key: '76182b425cf884804743cdcce8b57b04567f2bf0', class: "ic-loading-container", part: "ic-loading-container" }, h("div", { key: '50b89f6f39333960992a2e617f3be1081d4af9a0', ref: (el) => (this.outerElement = el), class: {
188
+ } }, h("div", { key: '947ed45a2a33bb3efc98be184d144c7022a99341', class: "ic-loading-container", part: "ic-loading-container" }, h("div", { key: '07cfd1daad6714aa3f0a9aa6639c62f07cd51319', ref: (el) => (this.outerElement = el), class: {
189
189
  [`ic-loading-${type}-outer`]: true,
190
190
  [progress === undefined ? "indeterminate" : "determinate"]: true,
191
- }, role: "progressbar", "aria-labelledby": label && size !== "icon" && "ic-loading-label", "aria-label": description, "aria-valuenow": progress, "aria-valuemin": min, "aria-valuemax": max }, h("div", { key: '8e674f38f70ddd761f0e5bfbb7c0fd5700d84b6b', ref: (el) => (this.innerElement = el), class: {
191
+ }, role: "progressbar", "aria-labelledby": label && size !== "icon" && "ic-loading-label", "aria-label": description, "aria-valuenow": progress, "aria-valuemin": min, "aria-valuemax": max }, h("div", { key: '784dc31419e98ce922fc71941f22a063c26ab249', ref: (el) => (this.innerElement = el), class: {
192
192
  [`ic-loading-${type}-inner`]: true,
193
193
  "inner-label": !!innerLabel,
194
- } }, innerLabel && size === "small" && (h("ic-typography", { key: '0d8108e18bf305dd1c64bf2723d0baf56bf29b6f', variant: "subtitle-small", class: "inner-text" }, innerLabel)), type === "circular" && (h("svg", { key: '3d6b240272997f3566a8e20960ac4e8cf5e738cb', class: "ic-loading-circular-svg", viewBox: `0 0 ${circularDiameter} ${circularDiameter}` }, h("circle", { key: '29d01b710d0b3de7fb492abde1dca5329fd6b4cb', cx: x, cy: y, r: r }), h("circle", { key: '65634f6777109c6105e56e548d930059146661ae', style: {
194
+ } }, innerLabel && size === "small" && (h("ic-typography", { key: '8f55830d3c41595cecfdfdb3630af8ad2b93fc1e', variant: "subtitle-small", class: "inner-text" }, innerLabel)), type === "circular" && (h("svg", { key: '5505faa38e257e69a988217685c9a466f622489b', class: "ic-loading-circular-svg", viewBox: `0 0 ${circularDiameter} ${circularDiameter}` }, h("circle", { key: 'c2f46bcb23d2af900f8b6dbfabb317172b3fdb22', cx: x, cy: y, r: r }), h("circle", { key: 'f0d9f105bda3e40c78cba1a3a2986b31ccc0327a', style: {
195
195
  "--circular-steps-max": progress ? `${max}` : undefined,
196
196
  "--progress-value": progress !== undefined ? `${progress}` : undefined,
197
197
  "--stroke-dasharray": dashArray,
198
198
  "--stroke-dashoffset": dashOffset,
199
- }, cx: x, cy: y, r: r }))))), label && size !== "icon" && (h("ic-typography", { key: 'dd7785fb84269e7f13e224f2e4d5cbcfd83f19ef', id: "ic-loading-label", class: "ic-loading-label", role: "alert", variant: this.getLabelVariant() }, h("p", { key: '2d82c7064ac921e025fe424bce3e7e024ccfbea0' }, indicatorLabel))))));
199
+ }, cx: x, cy: y, r: r }))))), label && size !== "icon" && (h("ic-typography", { key: '15d34b2712a2961d2e1b8a63ab6f65a82fa68d67', id: "ic-loading-label", class: "ic-loading-label", role: "alert", variant: this.getLabelVariant() }, h("p", { key: '25130595c4008fdd8acd8c47a6729d3aef5cf70c' }, indicatorLabel))))));
200
200
  }
201
201
  static get is() { return "ic-loading-indicator"; }
202
202
  static get encapsulation() { return "shadow"; }
@@ -916,7 +916,7 @@ export class Menu {
916
916
  const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, parentEl, SEARCH_BAR_TAG, multiSelect, } = this;
917
917
  const selectAllButtonText = `${(value === null || value === void 0 ? void 0 : value.length) === this.ungroupedOptions.length ? "Clear" : "Select"} all`;
918
918
  const hasNoResults = this.host.classList.contains("no-results");
919
- return (h(Host, { key: '1e4da9c2108dc9df947dcf92f558fcbc14c3f686', class: {
919
+ return (h(Host, { key: '8dad972db607187821f9063a35f75768df5adcc1', class: {
920
920
  "ic-menu-full-width": !!fullWidth,
921
921
  "ic-menu-no-focus": ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" &&
922
922
  (parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) !== SEARCH_BAR_TAG) ||
@@ -925,7 +925,7 @@ export class Menu {
925
925
  [`ic-menu-${size}`]: true,
926
926
  "ic-menu-open": open && options.length !== 0,
927
927
  "ic-menu-multiple": multiSelect,
928
- } }, options.length !== 0 && (h("ul", { key: '0861edb24bdb21aecd3b70ec4d7f11112d4ad3eb', id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": multiSelect ? "true" : "false", tabindex: open &&
928
+ } }, options.length !== 0 && (h("ul", { key: 'bbdb630e801155ddb22240206eac4f919807ec2d', id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": multiSelect ? "true" : "false", tabindex: open &&
929
929
  !keyboardNav &&
930
930
  ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ||
931
931
  (parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) === SEARCH_BAR_TAG)
@@ -953,7 +953,7 @@ export class Menu {
953
953
  multiSelect &&
954
954
  !isLoading &&
955
955
  !hasTimedOut &&
956
- !hasNoResults && (h("div", { key: 'aa5a9084985ac02f145acbc5d45ff726ae5d575e', class: "option-bar" }, h("ic-typography", { key: 'c9854cfb8d9ddf6b54a4b66445020f1e437dece7' }, h("p", { key: '47b9491c4332bc7d547df9a6edbd97290cdb9535' }, `${value ? value.length : 0}/${getOptionsWithoutGroupTitlesCount(this.options)} selected`)), h("ic-button", { key: 'a07f28d90a7fd4efa5d3a0574f161a111a46c048', class: "select-all-button", "aria-label": `${selectAllButtonText} options for ${inputLabel}`, ref: (el) => (this.selectAllButton = el), variant: "tertiary", onClick: this.handleSelectAllClick, onMouseDown: this.handleSelectAllMouseDown, onBlur: this.handleSelectAllBlur, onFocus: this.handleSelectAllFocus, size: size === "small" ? "small" : "medium" }, selectAllButtonText)))));
956
+ !hasNoResults && (h("div", { key: '2806fdd383f3450d651e681a0156c47cd98689c5', class: "option-bar" }, h("ic-typography", { key: 'dd2e0b74622eb359e4e53cc5c7b0f031ef577ca2' }, h("p", { key: 'f6132822d0bf66e869b4c2bceba7dfcf93e697be' }, `${value ? value.length : 0}/${getOptionsWithoutGroupTitlesCount(this.options)} selected`)), h("ic-button", { key: 'e233f3ac017ce08d46d1973406a4bb99bcfa2cf6', class: "select-all-button", "aria-label": `${selectAllButtonText} options for ${inputLabel}`, ref: (el) => (this.selectAllButton = el), variant: "tertiary", onClick: this.handleSelectAllClick, onMouseDown: this.handleSelectAllMouseDown, onBlur: this.handleSelectAllBlur, onFocus: this.handleSelectAllFocus, size: size === "small" ? "small" : "medium" }, selectAllButtonText)))));
957
957
  }
958
958
  static get is() { return "ic-menu"; }
959
959
  static get encapsulation() { return "scoped"; }
@@ -3,7 +3,7 @@ import { isPropDefined } from "../../utils/helpers";
3
3
  export class MenuGroup {
4
4
  render() {
5
5
  const parentMenu = this.el.closest("ic-popover-menu");
6
- return (h(Host, { key: '979b8fb6d5820b0bedb7b5fd0695ae1d45f28ce7', role: "group", "aria-label": this.label !== null ? this.label : "" }, isPropDefined(this.label) && (h("ic-typography", { key: '9ec6ec6fa6bb1eeeea72f74505bab6310e6d2e1f', variant: "subtitle-small" }, this.label)), h("span", { key: '720be07138e658bbaa4ed5131c5ec0ebea15c110', class: "menu-items-wrapper" }, h("slot", { key: 'd9740690e6caf5aaa3c54f96e6be45f38b6f1eea' })), this.el !== (parentMenu === null || parentMenu === void 0 ? void 0 : parentMenu.querySelector("ic-menu-group:last-child")) && (h("hr", { key: '44bb82e43b7de2acf8f955d77666455de0ef67fa' }))));
6
+ return (h(Host, { key: '384be493b4b4148e4a09f0395bb1db6b651bfc2f', role: "group", "aria-label": this.label !== null ? this.label : "" }, isPropDefined(this.label) && (h("ic-typography", { key: '46982951ac8573a5ee8c5733043e109f268859f8', variant: "subtitle-small" }, this.label)), h("span", { key: 'd5a5fe976b9f88e61df589c1ddc105c31b8639e2', class: "menu-items-wrapper" }, h("slot", { key: '3b6cab53fde94c5a9cbc0a6a323c0aff28975a1c' })), this.el !== (parentMenu === null || parentMenu === void 0 ? void 0 : parentMenu.querySelector("ic-menu-group:last-child")) && (h("hr", { key: '60412dd9914569ad72a6160787b48d8b3239cebb' }))));
7
7
  }
8
8
  static get is() { return "ic-menu-group"; }
9
9
  static get encapsulation() { return "shadow"; }
@@ -261,7 +261,7 @@ export class NavigationGroup {
261
261
  const isTopNav = this.navigationType === "top";
262
262
  const isTopNavDesktop = !inTopNavSideMenu && isTopNav;
263
263
  const ariaExpanded = (isSideNav && expanded) || (isTopNav && dropdownOpen);
264
- return (h(Host, { key: '15cdbd2b2ce19129b1ff6a845922036813e7ae99', class: {
264
+ return (h(Host, { key: '4d9f64e96f0e60b2e120ef1ff3ead8fc9eeba8ff', class: {
265
265
  "in-side-menu": inTopNavSideMenu,
266
266
  "ic-navigation-group-expandable": expandable,
267
267
  "ic-navigation-group-side-nav": isSideNav,
@@ -123,16 +123,16 @@ export class NavigationMenu {
123
123
  }
124
124
  }
125
125
  render() {
126
- return (h(Host, { key: '5040ecf445a2131ca777cf9795f4fc25f9ee9d3f', class: { [`ic-theme-${this.theme}`]: this.theme !== "inherit" } }, h("div", { key: '85b31d01281c8ea08c7fa09d37063fa6274ade9d', class: "popout-modal", onClick: this.closeMenu }), h("div", { key: '336cf9892c7698a887a6a8fa6f287c40b441c2ab', class: "popout-menu", role: "dialog", "aria-modal": "true", "aria-label": `${this.hasNavigation ? "Navigation" : "App"} menu` }, h("span", { key: 'd2367e40e87f65ef92225fb0240f049723de8eea', "aria-hidden": "true", id: "navigation-landmark-text", class: "navigation-landmark-text" }, "Main navigation"), h("nav", { key: '665c9f21f3c81961edff4e959fa77a2c7479f475', "aria-labelledby": "navigation-landmark-text", "aria-hidden": this.hasNavigation ? "false" : "true" }, h("div", { key: '3e9debb08e2efe3bc8b4a5266d1df14ee7ee3b8a', class: {
126
+ return (h(Host, { key: '3e06550714484b8a9d157e0391697e303fbf8259', class: { [`ic-theme-${this.theme}`]: this.theme !== "inherit" } }, h("div", { key: 'b56300f2817a5a42401570a56f5b29c90e37e336', class: "popout-modal", onClick: this.closeMenu }), h("div", { key: '081658f80afaa6d7f39971cc0f566068166b6688', class: "popout-menu", role: "dialog", "aria-modal": "true", "aria-label": `${this.hasNavigation ? "Navigation" : "App"} menu` }, h("span", { key: '67841c0d0cfb29fba7e3c722436c7e87bca1842d', "aria-hidden": "true", id: "navigation-landmark-text", class: "navigation-landmark-text" }, "Main navigation"), h("nav", { key: 'cb5aa473a04868d6af4dcd2ebc2b61ef5d785904', "aria-labelledby": "navigation-landmark-text", "aria-hidden": this.hasNavigation ? "false" : "true" }, h("div", { key: '2551b868b4c932b5fcff041bdae690e748d40430', class: {
127
127
  ["menu-close-button-container"]: true,
128
128
  ["nav-group-first"]: this.navGroupFirst,
129
- } }, h("ic-button", { key: '8fa44a70222a765adbe21298f81d2a8d9507b5ec', ref: (el) => (this.closeButton = el), id: "menu-close-button", class: "menu-close-button", variant: "icon-tertiary", size: "large", "aria-label": `Close ${this.hasNavigation ? "navigation" : "app"} menu`, onClick: this.closeMenu }, h("svg", { key: '9b5dc10d973f156783708c56f30e618db47a6de1', width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '9fa87211d3c594f36b6a7b0bd1d5298f8d04d4f4', d: "M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z" })))), this.hasNavigation && h("slot", { key: 'f4ba3ba39a6c152d32fcfe4d67492effed09eae7', name: "navigation" })), this.hasButtons && (h("div", { key: 'ac05566d1578abbf6377417130e3eb17b177e67d', class: {
129
+ } }, h("ic-button", { key: '6f2a95a7824e18fa2f83a297984a7677110e887f', ref: (el) => (this.closeButton = el), id: "menu-close-button", class: "menu-close-button", variant: "icon-tertiary", size: "large", "aria-label": `Close ${this.hasNavigation ? "navigation" : "app"} menu`, onClick: this.closeMenu }, h("svg", { key: '2d4918dc6b797eb6f245dd531387cbb0370eb687', width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '51a063a29957f6992294ed31dae13570dc0ecd8c', d: "M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z" })))), this.hasNavigation && h("slot", { key: '70ef3173a42a47e1bb13042dc41c53313ee42697', name: "navigation" })), this.hasButtons && (h("div", { key: '95384803c8ab3a87492552b613cb53f95adacd52', class: {
130
130
  ["menu-buttons-container"]: true,
131
131
  ["menu-buttons-container-nav-item-above"]: this.navItemAboveButtons,
132
- } }, h("slot", { key: 'b41b238a5b9539d20fee6d1ef5d48e8318282e7b', name: "buttons" }))), (this.status !== "" || this.version !== "") && (h("div", { key: 'f7e7f7ac77288dde96a92160e25cbe04e4762fc2', class: {
132
+ } }, h("slot", { key: '9bdde63f875fe678742dff04018e562ec37eb500', name: "buttons" }))), (this.status !== "" || this.version !== "") && (h("div", { key: '502dd0df2ce93217d9a642e4a6b36dcd72229e70', class: {
133
133
  ["menu-status-version-container"]: true,
134
134
  ["status-version-no-buttons"]: !this.hasButtons,
135
- } }, this.status !== "" && (h("div", { key: '7cff7f64f8040feb7605890db0131df0d854688a', class: "menu-status" }, h("ic-typography", { key: 'cc5124ab4a9c02e5f412755012c60e42c9e8bc55', variant: "label-uppercase", "aria-label": "app tag", class: "menu-status-text" }, this.status))), this.version !== "" && (h("div", { key: '3a72f8253064a565c543a504aef7bd6efe7cb2cb', class: "menu-version" }, h("ic-typography", { key: 'e2060017d43524668f0da2e7b3385bb19ab3438e', variant: "label", class: "menu-version-text", "aria-label": "app version" }, this.version))))))));
135
+ } }, this.status !== "" && (h("div", { key: 'a0b154b7307de42c92c9e26f9cd552dcc556b21d', class: "menu-status" }, h("ic-typography", { key: 'af91a5c0c556c8ac0faa29998e126de1ab86c0bc', variant: "label-uppercase", "aria-label": "app tag", class: "menu-status-text" }, this.status))), this.version !== "" && (h("div", { key: 'b16dec612bce0fe83c888b0a3e74d8f205710633', class: "menu-version" }, h("ic-typography", { key: '74d7e31b0126f240fa7bbc410a8b71268ca027a1', variant: "label", class: "menu-version-text", "aria-label": "app version" }, this.version))))))));
136
136
  }
137
137
  static get is() { return "ic-navigation-menu"; }
138
138
  static get encapsulation() { return "shadow"; }
@@ -111,19 +111,19 @@ export class PageHeader {
111
111
  const navAriaLabel = `${isSlotUsed(this.el, "heading")
112
112
  ? (_b = (_a = this.el.querySelector('[slot="heading"]')) === null || _a === void 0 ? void 0 : _a.textContent) !== null && _b !== void 0 ? _b : ""
113
113
  : heading !== null && heading !== void 0 ? heading : ""} page sections`;
114
- return (h(Host, { key: '6839f2d164672f2aa33e05134c3426e5374d1f06', class: {
114
+ return (h(Host, { key: '17bc798fc01d1a70de9fed3da746d8e39a88e96c', class: {
115
115
  ["ic-page-header-sticky"]: !!sticky,
116
116
  ["ic-page-header-sticky-desktop"]: !sticky && !!stickyDesktopOnly,
117
117
  [`ic-theme-${theme}`]: theme !== "inherit",
118
- }, "aria-label": this.el.ariaLabel || "page header" }, h("header", { key: '7d5137cb542941699de9cc5721ae28a17861dbf0', class: {
118
+ }, "aria-label": this.el.ariaLabel || "page header" }, h("header", { key: '1dadcdce3f21efe0f196171330cb5774be34075e', class: {
119
119
  ["border-bottom"]: !!border,
120
120
  ["tabs"]: isSlotUsed(this.el, "tabs"),
121
- }, role: "presentation" }, h("ic-section-container", { key: '454a9621964544cff3503b6553e7a17c60da3832', aligned: aligned, fullHeight: isSlotUsed(this.el, "tabs") }, isSlotUsed(this.el, "breadcrumbs") && (h("div", { key: '58cd2a99c294c0e74d7236dfadaed9df5a2e468a', class: "breadcrumb-area" }, h("slot", { key: '02a27ba25893819a676272f7b5c99ba111cec39a', name: "breadcrumbs" }))), h("div", { key: '252904de3b7c608bca4e42325880560ee7bdc431', class: "main-content" }, h("div", { key: 'f9256d53398c537fe19e6b27ed777542650de68b', class: "title-area" }, h("div", { key: 'a1d40860aa4a7191974e44f400b3b8d486e09bf4', class: "header-content" }, h("slot", { key: '81f3ac92b61b9943166ae930c7ada3662e494a60', name: "heading" }, h("ic-typography", { key: '78f00c7412b22c74b25db7ce1136edaa173c557b', variant: size === "small" ? "h4" : "h2", class: "heading" }, h("h2", { key: '6e9608ec80c3f05482ac3a8e60ee27d2e6f683ad' }, heading))), h("slot", { key: '59600cab7fe6df1e7fbb9786060c1338c1d24109', name: "heading-adornment" })), h("div", { key: '8008f53d6ee65c3ac3bb849e136e417a85fb185a', class: {
121
+ }, role: "presentation" }, h("ic-section-container", { key: '9f0855c0310d29f5381c12665aad41ee1656ccdb', aligned: aligned, fullHeight: isSlotUsed(this.el, "tabs") }, isSlotUsed(this.el, "breadcrumbs") && (h("div", { key: '3b1fe9729e1d62e72a432fd039db40c1c5da22da', class: "breadcrumb-area" }, h("slot", { key: 'e5055a9f7def4018e2046dae4687ae1945235bf7', name: "breadcrumbs" }))), h("div", { key: '70acf27823b39d41d9c2f3dbe3e89d71096e7daf', class: "main-content" }, h("div", { key: 'b924bba3df8954b9f314c1eff6ffe4443d0e53f1', class: "title-area" }, h("div", { key: '5a60bb74557d37b33be8312d177e75ce77210998', class: "header-content" }, h("slot", { key: 'e4c7c70b13eac0944bba1a1f2ddd320f3e1c2659', name: "heading" }, h("ic-typography", { key: 'eb98510ca2b55a81c1b91bbabc4bfe7d5e28bdde', variant: size === "small" ? "h4" : "h2", class: "heading" }, h("h2", { key: '9bc94aa414b9514f0e349faa521804682f22f85b' }, heading))), h("slot", { key: '47b147656f0fe7436d233bb669c4462faab353db', name: "heading-adornment" })), h("div", { key: '1456f12fba38ec4cd05706ccb92d72adf12ae623', class: {
122
122
  ["subheading-content"]: !!subheading || isSlotUsed(this.el, "subheading"),
123
123
  ["small"]: size === "small",
124
- } }, h("slot", { key: '2f7f52d845ac9ae2d4a7122c17dda2cd9439301d', name: "subheading" }, h("ic-typography", { key: 'c0aea12079ad430c8fc80de47dbc36998c7dafde', variant: "body" }, subheading)))), isSlotUsed(this.el, "actions") && (h("div", { key: '522be093d57e17bd669e6a00de00b5d762371464', class: "action-area" }, h("slot", { key: '5044800dd45ad23bded19fb947103fc33fb224f9', name: "actions" }))), isSlotUsed(this.el, "input") && (h("div", { key: 'c2ed3ac5f6683e17dff5e30bb4b0836c6882a62a', class: "input-area" }, h("slot", { key: '7fa5429dde9cafd6cf7a91e6c018c137c4596cb8', name: "input" })))), (isSlotUsed(this.el, "stepper") ||
125
- isSlotUsed(this.el, "tabs")) && (h("div", { key: '7adb7f57bb469ddb2f88303784c5bb4f47af3e7a', class: "navigation-area" }, isSlotUsed(this.el, "stepper") &&
126
- !isSlotUsed(this.el, "tabs") && h("slot", { key: '523c906aff9a5dcf0911b99e58a49bae70f6dc1a', name: "stepper" }), isSlotUsed(this.el, "tabs") && (h("nav", { key: '3d387ad3a2ca763d7837ad7604d7efbe46b3b2c9', "aria-label": navAriaLabel }, h("ic-horizontal-scroll", { key: 'dee59ffc315702860977ca50ca8bdf90459a6a63' }, h("ul", { key: 'ce68af19740fd60be9a08fa955643854eb5ac0c7', class: "tabs-slot" }, h("slot", { key: 'd2297a18b03a95711ae20beaef363b39462c3866', name: "tabs" })))))))))));
124
+ } }, h("slot", { key: 'a82707ce4abf37e4e8a965a39a5cc6e50d634647', name: "subheading" }, h("ic-typography", { key: '9f77da962becb04b244f3df0dceb7dad9dc122d8', variant: "body" }, subheading)))), isSlotUsed(this.el, "actions") && (h("div", { key: '792df65e46b45a50514a1967866dd72f6f72e683', class: "action-area" }, h("slot", { key: '0cd5fd825254df4815fe2d3e788946de88cbaae1', name: "actions" }))), isSlotUsed(this.el, "input") && (h("div", { key: 'e030cb3067c544b3d3496146e25d511a30ca97b2', class: "input-area" }, h("slot", { key: '8c9f722a205eded36526a4bc926e7a92c43626af', name: "input" })))), (isSlotUsed(this.el, "stepper") ||
125
+ isSlotUsed(this.el, "tabs")) && (h("div", { key: 'deeb8c5520db91c494215d1adf90bebcc96fbbb5', class: "navigation-area" }, isSlotUsed(this.el, "stepper") &&
126
+ !isSlotUsed(this.el, "tabs") && h("slot", { key: 'd9201c158069b054c3903ea4c0647d96de9d0930', name: "stepper" }), isSlotUsed(this.el, "tabs") && (h("nav", { key: 'a0cdbb20f507dd783536b0a60ae7fa2d391be85f', "aria-label": navAriaLabel }, h("ic-horizontal-scroll", { key: 'f3c15e0d61db5990108d86c5540d4f69b9477a9e' }, h("ul", { key: '6e7aded64c14703b5b4f141fa11f0f9eac247bce', class: "tabs-slot" }, h("slot", { key: 'eee6cfc3a09856108574b715163cc645f9eae627', name: "tabs" })))))))))));
127
127
  }
128
128
  static get is() { return "ic-page-header"; }
129
129
  static get encapsulation() { return "shadow"; }
@@ -239,14 +239,14 @@ export class Pagination {
239
239
  }
240
240
  render() {
241
241
  const { type, currentPage, hideCurrentPage, disabled, hideFirstAndLastPageButton, label, theme, monochrome, } = this;
242
- return (h(Host, { key: '2d22f7a183f6da54aece8dfc1f48137388304493', class: {
242
+ return (h(Host, { key: '9f9c0ceb1629ebff96c677d7b4ad9995bbe480cd', class: {
243
243
  [`ic-theme-${theme}`]: theme !== "inherit",
244
244
  ["ic-pagination-monochrome"]: !!monochrome,
245
- } }, type === "simple" && (h("nav", { key: '50a0774ec8e4bf5b1799ae9eee4b4ee3735cfcb6', class: {
245
+ } }, type === "simple" && (h("nav", { key: '4d24ed30438c6755a1717454ee83e2a1b58d93c5', class: {
246
246
  ["disabled"]: !!disabled,
247
- }, role: "navigation", "aria-label": "Pagination Navigation" }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), h("ic-pagination-item", { key: 'da44ff2e87bc0fcad46c497ab55b014f069b13b3', theme: this.theme, monochrome: this.monochrome, type: "simple-current", page: currentPage, label: label, class: { ["hide-current-page"]: !!hideCurrentPage }, disabled: disabled }), this.nextButton(), hideFirstAndLastPageButton ? null : this.lastButton())), type === "complex" && (h("nav", { key: 'c6fe6b828ff3d31462ffe46f7ec366853faee845', class: {
247
+ }, role: "navigation", "aria-label": "Pagination Navigation" }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), h("ic-pagination-item", { key: '784f99d1fa32d4f48c6de793707825333e45651a', theme: this.theme, monochrome: this.monochrome, type: "simple-current", page: currentPage, label: label, class: { ["hide-current-page"]: !!hideCurrentPage }, disabled: disabled }), this.nextButton(), hideFirstAndLastPageButton ? null : this.lastButton())), type === "complex" && (h("nav", { key: 'ce6061fcee8e202cb895e2919525b64c6a1c1114', class: {
248
248
  ["disabled"]: !!disabled,
249
- }, role: "navigation", "aria-label": "Pagination Navigation" }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), this.renderStartItems(), this.startEllipsis && this.renderStartEllipsis(), this.renderMiddleItems(), this.endEllipsis && this.renderEndEllipsis(), this.renderEndItems(), this.nextButton(), hideFirstAndLastPageButton ? null : this.lastButton())), type === "complex" && (h("span", { key: '38e987b2739f3be57c96c7b596478079a441f4da', class: "sr-only", "aria-live": "polite" }, "Page ", this.currentPage))));
249
+ }, role: "navigation", "aria-label": "Pagination Navigation" }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), this.renderStartItems(), this.startEllipsis && this.renderStartEllipsis(), this.renderMiddleItems(), this.endEllipsis && this.renderEndEllipsis(), this.renderEndItems(), this.nextButton(), hideFirstAndLastPageButton ? null : this.lastButton())), type === "complex" && (h("span", { key: '4980f1fd9ebd31a5b8835876479e12a8a0f5d54d', class: "sr-only", "aria-live": "polite" }, "Page ", this.currentPage))));
250
250
  }
251
251
  static get is() { return "ic-pagination"; }
252
252
  static get encapsulation() { return "shadow"; }
@@ -38,7 +38,7 @@ export class PaginationItem {
38
38
  }
39
39
  render() {
40
40
  const { page, selected, type, disabled, label, capitalizedLabel, monochrome, } = this;
41
- return (h("a", { key: '89475a5ee9cb95171d34ae94ec68107c70e67248', class: { ["monochrome"]: !!monochrome } }, type === "ellipsis" ? (h("div", { class: {
41
+ return (h("a", { key: 'c067a0e35e2a92dff8d7f24d135a06a686d74a7d', class: { ["monochrome"]: !!monochrome } }, type === "ellipsis" ? (h("div", { class: {
42
42
  ["item-container"]: true,
43
43
  ["ellipsis"]: true,
44
44
  ["disabled"]: !!disabled,
@@ -273,17 +273,17 @@ export class PopoverMenu {
273
273
  this.popperProps = props;
274
274
  }
275
275
  render() {
276
- return (h(Host, { key: 'bbe8b532b3e08c777c35e0af55486b59b5b8e44c', class: {
276
+ return (h(Host, { key: '4d5467e45b173b365eba3fe507480bc87a0001f7', class: {
277
277
  ["ic-popover-menu-open"]: !!this.open,
278
278
  [`ic-theme-${this.theme}`]: this.theme !== "inherit",
279
- } }, h("div", { key: 'a72a96633961efb668c7c8aae3fcb3b142c7b128', id: this.parentPopover === undefined
279
+ } }, h("div", { key: '96ffeae7beede0b8a48e96dcbb262a5092974fd0', id: this.parentPopover === undefined
280
280
  ? `ic-popover-submenu-${this.submenuId}`
281
281
  : "", class: {
282
282
  menu: true,
283
- } }, h("span", { key: '06b147e629909bbb74f4f1e01e825d39dcbab395', class: {
283
+ } }, h("span", { key: '84b9c30b0377109233bb0135c68acd6419b1aa55', class: {
284
284
  "opening-from-parent": this.openingFromParent,
285
285
  "opening-from-child": this.openingFromChild,
286
- } }, isPropDefined(this.submenuId) && (h("span", { key: '088ce8abcf89df38016507d521381e081ade4759' }, h("span", { key: '1bebbc5854c2edd5207633c01bee4a6e887c03a0', role: "menu" }, h("ic-menu-item", { key: '317fe27583c8bc0d41319ac634a4bff22b1c5e2d', class: "ic-popover-submenu-back-button", ref: (el) => (this.backButton = el), label: "Back", onClick: this.handleBackButtonClick, id: `ic-popover-submenu-back-button-${this.submenuLevel}` }, h("svg", { key: '02d9719c84180f8832a26d75cd652c55070b6289', slot: "icon", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "submenu-back-icon" }, h("path", { key: '906a7a797d99a3e8f0a7a3b30d3e33a52ca2582c', d: "M20 11H7.83L13.42 5.41L12 4L4 12L12 20L13.41 18.59L7.83 13H20V11Z", fill: "currentColor" })))), h("ic-typography", { key: 'ee0152debc2b109787490b4a78e1de3f8186ae5e', variant: "subtitle-small", class: "parent-label" }, this.parentLabel))), h("div", { key: 'f91d5f08c8142136b4bb2c1fbd513ee13fbbd263', class: "menu-body", "aria-label": this.getMenuAriaLabel(), role: "menu" }, h("slot", { key: '55417e47588809089b7ba71e510336d79ba69ac3' }))))));
286
+ } }, isPropDefined(this.submenuId) && (h("span", { key: 'cd6eaf24a7e6ea400614da471083aaa75f164b98' }, h("span", { key: 'b7be64cdfaf3a94fcd36f3ea0e5c6bf475418268', role: "menu" }, h("ic-menu-item", { key: '9868fd30a311aadfe9663ce8617c620940760549', class: "ic-popover-submenu-back-button", ref: (el) => (this.backButton = el), label: "Back", onClick: this.handleBackButtonClick, id: `ic-popover-submenu-back-button-${this.submenuLevel}` }, h("svg", { key: '5655f052a203d6b0d0c5c2182ec6339741691311', slot: "icon", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "submenu-back-icon" }, h("path", { key: 'b804bfa5d3cbfcf37322e19d5978875088e85d97', d: "M20 11H7.83L13.42 5.41L12 4L4 12L12 20L13.41 18.59L7.83 13H20V11Z", fill: "currentColor" })))), h("ic-typography", { key: '3cd5e496d8af145ebb77fe49f4637826dbf4c2ff', variant: "subtitle-small", class: "parent-label" }, this.parentLabel))), h("div", { key: '6249765618e71a536ed2ea67bc9ef31ba24cf7ff', class: "menu-body", "aria-label": this.getMenuAriaLabel(), role: "menu" }, h("slot", { key: 'c175948ff00694bad8419f4738bc82a469c2b53a' }))))));
287
287
  }
288
288
  static get is() { return "ic-popover-menu"; }
289
289
  static get encapsulation() { return "shadow"; }
@@ -230,16 +230,16 @@ export class RadioGroup {
230
230
  render() {
231
231
  const { currentOrientation, disabled, handleKeyDown, helperText, hideLabel, label, required, size, validationAriaLive, validationStatus, validationText, theme, } = this;
232
232
  const showValidation = hasValidationStatus(validationStatus, disabled);
233
- return (h(Host, { key: 'aa0ff707b50765535bf74bb77f349b1fdf8ec5c2', onKeyDown: handleKeyDown, class: {
233
+ return (h(Host, { key: '4ea2e0ca7614fb4ce6563ea146f86d72707a399a', onKeyDown: handleKeyDown, class: {
234
234
  "ic-radio-group-small": size === "small",
235
235
  [`ic-theme-${theme}`]: theme !== "inherit",
236
- } }, h("fieldset", { key: '0c4dab92df1c01348afbe3ccdd6e66d32aaefef9', role: "radiogroup", id: this.name, "aria-required": `${required}` }, !hideLabel && (h("legend", { key: '37ebeeb2b43fcb8628327deefb00ce2742c6a026' }, h("ic-input-label", { key: '2a587dc242e293992e41bdbb523ac8414b8c4fac', class: {
236
+ } }, h("fieldset", { key: 'ebad7a878454455a15892bf53c43bdcb914b77c4', role: "radiogroup", id: this.name, "aria-required": `${required}` }, !hideLabel && (h("legend", { key: 'aac1f37c7b1d4d5bc621bd3030dc9eef60417659' }, h("ic-input-label", { key: 'fd04e3f74c89b633996eb22e60902e988a8ac8ef', class: {
237
237
  [`${validationStatus}`]: true,
238
238
  ["disabled"]: !!disabled,
239
- }, label: label, helperText: helperText, required: required, disabled: disabled }, h("slot", { key: '28611e725b177c6b7f8456668c33d3162830eb29', name: "helper-text", slot: "helper-text" })))), h("div", { key: 'd53f2e859088f0c208c2aab94442322d8a1bad0e', class: {
239
+ }, label: label, helperText: helperText, required: required, disabled: disabled }, h("slot", { key: '66325d58018dff189c975e3e4fc01249b51b6b9f', name: "helper-text", slot: "helper-text" })))), h("div", { key: '6d2d332396c87b798d5d160bdb5977c0a8ad6751', class: {
240
240
  "radio-buttons-container": true,
241
241
  horizontal: currentOrientation === this.RADIO_HORIZONTAL,
242
- }, ref: (el) => (this.radioContainer = el) }, h("slot", { key: 'bbffd83c1b277c2ca55a7e97254ba0a322008c34' }))), h("ic-input-validation", { key: '67ca41fbf8ce4265a5a979cdca100edb2f4e4c41', class: {
242
+ }, ref: (el) => (this.radioContainer = el) }, h("slot", { key: 'fb0a1b41503ba88ce9bda3c0bc8236ae0a7e3795' }))), h("ic-input-validation", { key: 'f9f7c2bdffd83d705149f74fe2caad93e57dd85b', class: {
243
243
  "show-validation": showValidation,
244
244
  }, ariaLiveMode: validationAriaLive, status: showValidation ? validationStatus : "", message: showValidation ? validationText : "" })));
245
245
  }