@ukic/canary-web-components 3.0.0-canary.22 → 3.0.0-canary.24

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 (649) hide show
  1. package/dist/cjs/clear-icon-547aa9b9.js +10 -0
  2. package/dist/cjs/clear-icon-547aa9b9.js.map +1 -0
  3. package/dist/cjs/core.cjs.js +1 -1
  4. package/dist/cjs/{date-helpers-6f70dd03.js → date-helpers-d7ee7b45.js} +5 -9
  5. package/dist/cjs/date-helpers-d7ee7b45.js.map +1 -0
  6. package/dist/cjs/{helpers-74cf2649.js → helpers-56717660.js} +31 -7
  7. package/dist/cjs/helpers-56717660.js.map +1 -0
  8. package/dist/cjs/helpers-da852478.js.map +1 -1
  9. package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
  10. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  11. package/dist/cjs/ic-action-chip.cjs.entry.js +116 -0
  12. package/dist/cjs/ic-action-chip.cjs.entry.js.map +1 -0
  13. package/dist/cjs/ic-alert.cjs.entry.js +2 -2
  14. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-back-to-top.cjs.entry.js +4 -4
  16. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-badge.cjs.entry.js +4 -4
  18. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +3 -3
  20. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-breadcrumb.cjs.entry.js +3 -3
  22. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-button_3.cjs.entry.js +56 -96
  24. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-card-vertical.cjs.entry.js +5 -5
  26. package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-checkbox-group.cjs.entry.js +3 -3
  28. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-checkbox_3.cjs.entry.js +8 -8
  30. package/dist/cjs/ic-checkbox_3.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-chip.cjs.entry.js +13 -5
  32. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
  34. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-data-list.cjs.entry.js +3 -3
  36. package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ic-data-row.cjs.entry.js +4 -4
  38. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-data-table.cjs.entry.js +43 -56
  40. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-date-input.cjs.entry.js +26 -18
  42. package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ic-date-picker.cjs.entry.js +13 -13
  44. package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-dialog.cjs.entry.js +2 -2
  46. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  48. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  49. package/dist/cjs/ic-footer-link.cjs.entry.js +3 -3
  50. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-footer.cjs.entry.js +4 -4
  52. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-hero.cjs.entry.js +5 -5
  54. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +6 -6
  56. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ic-input-component-container_4.cjs.entry.js +224 -0
  58. package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +1 -0
  59. package/dist/cjs/ic-layout-grid-item.cjs.entry.js +70 -0
  60. package/dist/cjs/ic-layout-grid-item.cjs.entry.js.map +1 -0
  61. package/dist/cjs/ic-layout-grid.cjs.entry.js +156 -0
  62. package/dist/cjs/ic-layout-grid.cjs.entry.js.map +1 -0
  63. package/dist/cjs/ic-link.cjs.entry.js +2 -2
  64. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-menu-group.cjs.entry.js +2 -2
  66. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
  68. package/dist/cjs/{ic-input-component-container_3.cjs.entry.js → ic-menu.cjs.entry.js} +5 -96
  69. package/dist/cjs/ic-menu.cjs.entry.js.map +1 -0
  70. package/dist/cjs/ic-navigation-button.cjs.entry.js +3 -3
  71. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  72. package/dist/cjs/ic-navigation-group.cjs.entry.js +3 -3
  73. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ic-navigation-item.cjs.entry.js +3 -3
  75. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ic-navigation-menu.cjs.entry.js +5 -5
  77. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ic-page-header.cjs.entry.js +7 -7
  79. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  80. package/dist/cjs/ic-pagination_4.cjs.entry.js +18 -18
  81. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  82. package/dist/cjs/ic-popover-menu.cjs.entry.js +10 -6
  83. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  84. package/dist/cjs/ic-radio-group.cjs.entry.js +5 -5
  85. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  86. package/dist/cjs/ic-radio-option.cjs.entry.js +5 -5
  87. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  88. package/dist/cjs/ic-search-bar.cjs.entry.js +10 -10
  89. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  91. package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
  92. package/dist/cjs/ic-side-navigation.cjs.entry.js +5 -5
  93. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  94. package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
  95. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
  97. package/dist/cjs/ic-skip-link.cjs.entry.js.map +1 -1
  98. package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
  99. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  100. package/dist/cjs/ic-step.cjs.entry.js +14 -14
  101. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  102. package/dist/cjs/ic-stepper.cjs.entry.js +3 -3
  103. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  104. package/dist/cjs/ic-switch.cjs.entry.js +5 -5
  105. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  106. package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
  107. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  108. package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
  109. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  110. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  111. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  112. package/dist/cjs/ic-tab.cjs.entry.js +3 -3
  113. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  114. package/dist/cjs/ic-theme.cjs.entry.js +2 -2
  115. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  116. package/dist/cjs/ic-time-input.cjs.entry.js +943 -0
  117. package/dist/cjs/ic-time-input.cjs.entry.js.map +1 -0
  118. package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
  119. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  120. package/dist/cjs/ic-toast.cjs.entry.js +5 -5
  121. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  122. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +3 -3
  123. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
  124. package/dist/cjs/ic-toggle-button.cjs.entry.js +3 -3
  125. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  126. package/dist/cjs/ic-top-navigation.cjs.entry.js +5 -5
  127. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  128. package/dist/cjs/ic-tree-item.cjs.entry.js +2 -2
  129. package/dist/cjs/ic-tree-view.cjs.entry.js +3 -3
  130. package/dist/cjs/ic-typography.cjs.entry.js +3 -3
  131. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  132. package/dist/cjs/index-d337cd8a.js +20 -4
  133. package/dist/cjs/loader.cjs.js +1 -1
  134. package/dist/collection/assets/clock.svg +1 -0
  135. package/dist/collection/collection-manifest.json +4 -0
  136. package/dist/collection/components/ic-data-table/ic-data-table.js +43 -57
  137. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  138. package/dist/collection/components/ic-data-table/ic-data-table.stories.js +3 -2
  139. package/dist/collection/components/ic-data-table/ic-data-table.stories.js.map +1 -1
  140. package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -1
  141. package/dist/collection/components/ic-data-table/story-data.js +7 -57
  142. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  143. package/dist/collection/components/ic-date-input/ic-date-input.js +24 -12
  144. package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
  145. package/dist/collection/components/ic-date-picker/ic-date-picker.css +4 -5
  146. package/dist/collection/components/ic-date-picker/ic-date-picker.js +12 -12
  147. package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
  148. package/dist/collection/components/ic-date-picker/ic-date-picker.stories.js +9 -1
  149. package/dist/collection/components/ic-date-picker/ic-date-picker.stories.js.map +1 -1
  150. package/dist/collection/components/ic-date-picker/story-data.js +18 -0
  151. package/dist/collection/components/ic-date-picker/story-data.js.map +1 -1
  152. package/dist/collection/components/ic-time-input/ic-time-input.css +648 -0
  153. package/dist/collection/components/ic-time-input/ic-time-input.js +1600 -0
  154. package/dist/collection/components/ic-time-input/ic-time-input.js.map +1 -0
  155. package/dist/collection/components/ic-time-input/ic-time-input.stories.js +320 -0
  156. package/dist/collection/components/ic-time-input/ic-time-input.stories.js.map +1 -0
  157. package/dist/collection/components/ic-time-input/test/helpers/ic-time-input.js +45 -0
  158. package/dist/collection/components/ic-time-input/test/helpers/ic-time-input.js.map +1 -0
  159. package/dist/collection/components/ic-tree-item/ic-tree-item.js +2 -2
  160. package/dist/collection/components/ic-tree-view/ic-tree-view.js +3 -3
  161. package/dist/collection/utils/date-helpers.js +3 -7
  162. package/dist/collection/utils/date-helpers.js.map +1 -1
  163. package/dist/collection/utils/types.js.map +1 -1
  164. package/dist/components/clear-icon.js +8 -0
  165. package/dist/components/clear-icon.js.map +1 -0
  166. package/dist/components/helpers.js +31 -7
  167. package/dist/components/helpers.js.map +1 -1
  168. package/dist/components/helpers2.js.map +1 -1
  169. package/dist/components/ic-action-chip.js +160 -0
  170. package/dist/components/ic-action-chip.js.map +1 -0
  171. package/dist/components/ic-alert.js +1 -1
  172. package/dist/components/ic-alert.js.map +1 -1
  173. package/dist/components/ic-back-to-top.js +4 -4
  174. package/dist/components/ic-back-to-top.js.map +1 -1
  175. package/dist/components/ic-badge.js +4 -4
  176. package/dist/components/ic-badge.js.map +1 -1
  177. package/dist/components/ic-breadcrumb-group.js +3 -3
  178. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  179. package/dist/components/ic-breadcrumb2.js +3 -3
  180. package/dist/components/ic-breadcrumb2.js.map +1 -1
  181. package/dist/components/ic-button2.js +15 -13
  182. package/dist/components/ic-button2.js.map +1 -1
  183. package/dist/components/ic-card-vertical.js +4 -4
  184. package/dist/components/ic-card-vertical.js.map +1 -1
  185. package/dist/components/ic-checkbox-group.js +3 -3
  186. package/dist/components/ic-checkbox-group.js.map +1 -1
  187. package/dist/components/ic-checkbox2.js +6 -6
  188. package/dist/components/ic-checkbox2.js.map +1 -1
  189. package/dist/components/ic-chip.js +13 -5
  190. package/dist/components/ic-chip.js.map +1 -1
  191. package/dist/components/ic-classification-banner.js +2 -2
  192. package/dist/components/ic-classification-banner.js.map +1 -1
  193. package/dist/components/ic-data-list.js +3 -3
  194. package/dist/components/ic-data-list.js.map +1 -1
  195. package/dist/components/ic-data-row.js +4 -4
  196. package/dist/components/ic-data-row.js.map +1 -1
  197. package/dist/components/ic-data-table.js +43 -56
  198. package/dist/components/ic-data-table.js.map +1 -1
  199. package/dist/components/ic-date-input2.js +29 -25
  200. package/dist/components/ic-date-input2.js.map +1 -1
  201. package/dist/components/ic-date-picker.js +13 -13
  202. package/dist/components/ic-date-picker.js.map +1 -1
  203. package/dist/components/ic-dialog.js +2 -2
  204. package/dist/components/ic-dialog.js.map +1 -1
  205. package/dist/components/ic-divider2.js +1 -1
  206. package/dist/components/ic-empty-state2.js +2 -2
  207. package/dist/components/ic-empty-state2.js.map +1 -1
  208. package/dist/components/ic-footer-link-group.js +1 -1
  209. package/dist/components/ic-footer-link.js +3 -3
  210. package/dist/components/ic-footer-link.js.map +1 -1
  211. package/dist/components/ic-footer.js +4 -4
  212. package/dist/components/ic-footer.js.map +1 -1
  213. package/dist/components/ic-hero.js +5 -5
  214. package/dist/components/ic-hero.js.map +1 -1
  215. package/dist/components/ic-horizontal-scroll2.js +6 -6
  216. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  217. package/dist/components/ic-input-component-container2.js +4 -4
  218. package/dist/components/ic-input-component-container2.js.map +1 -1
  219. package/dist/components/ic-input-container2.js +2 -2
  220. package/dist/components/ic-input-container2.js.map +1 -1
  221. package/dist/components/ic-input-label2.js +3 -3
  222. package/dist/components/ic-input-label2.js.map +1 -1
  223. package/dist/components/ic-input-validation2.js +4 -4
  224. package/dist/components/ic-input-validation2.js.map +1 -1
  225. package/dist/components/ic-layout-grid-item.js +95 -0
  226. package/dist/components/ic-layout-grid-item.js.map +1 -0
  227. package/dist/components/ic-layout-grid.js +188 -0
  228. package/dist/components/ic-layout-grid.js.map +1 -0
  229. package/dist/components/ic-link2.js +1 -1
  230. package/dist/components/ic-link2.js.map +1 -1
  231. package/dist/components/ic-loading-indicator2.js +5 -5
  232. package/dist/components/ic-loading-indicator2.js.map +1 -1
  233. package/dist/components/ic-menu-group.js +2 -2
  234. package/dist/components/ic-menu-group.js.map +1 -1
  235. package/dist/components/ic-menu-item2.js +1 -1
  236. package/dist/components/ic-menu2.js +4 -4
  237. package/dist/components/ic-menu2.js.map +1 -1
  238. package/dist/components/ic-navigation-button.js +3 -3
  239. package/dist/components/ic-navigation-button.js.map +1 -1
  240. package/dist/components/ic-navigation-group.js +3 -3
  241. package/dist/components/ic-navigation-group.js.map +1 -1
  242. package/dist/components/ic-navigation-item.js +3 -3
  243. package/dist/components/ic-navigation-item.js.map +1 -1
  244. package/dist/components/ic-navigation-menu2.js +5 -5
  245. package/dist/components/ic-navigation-menu2.js.map +1 -1
  246. package/dist/components/ic-page-header.js +7 -7
  247. package/dist/components/ic-page-header.js.map +1 -1
  248. package/dist/components/ic-pagination-item2.js +2 -2
  249. package/dist/components/ic-pagination-item2.js.map +1 -1
  250. package/dist/components/ic-pagination2.js +4 -4
  251. package/dist/components/ic-pagination2.js.map +1 -1
  252. package/dist/components/ic-popover-menu.js +11 -6
  253. package/dist/components/ic-popover-menu.js.map +1 -1
  254. package/dist/components/ic-radio-group.js +5 -5
  255. package/dist/components/ic-radio-group.js.map +1 -1
  256. package/dist/components/ic-radio-option.js +5 -5
  257. package/dist/components/ic-radio-option.js.map +1 -1
  258. package/dist/components/ic-search-bar.js +10 -10
  259. package/dist/components/ic-search-bar.js.map +1 -1
  260. package/dist/components/ic-section-container2.js +2 -2
  261. package/dist/components/ic-section-container2.js.map +1 -1
  262. package/dist/components/ic-select2.js +7 -7
  263. package/dist/components/ic-select2.js.map +1 -1
  264. package/dist/components/ic-side-navigation.js +5 -5
  265. package/dist/components/ic-side-navigation.js.map +1 -1
  266. package/dist/components/ic-skeleton.js +2 -2
  267. package/dist/components/ic-skeleton.js.map +1 -1
  268. package/dist/components/ic-skip-link.js +2 -2
  269. package/dist/components/ic-skip-link.js.map +1 -1
  270. package/dist/components/ic-status-tag.js +2 -2
  271. package/dist/components/ic-status-tag.js.map +1 -1
  272. package/dist/components/ic-step.js +14 -14
  273. package/dist/components/ic-step.js.map +1 -1
  274. package/dist/components/ic-stepper.js +2 -2
  275. package/dist/components/ic-stepper.js.map +1 -1
  276. package/dist/components/ic-switch.js +5 -5
  277. package/dist/components/ic-switch.js.map +1 -1
  278. package/dist/components/ic-tab-context.js +1 -1
  279. package/dist/components/ic-tab-context.js.map +1 -1
  280. package/dist/components/ic-tab-group.js +2 -2
  281. package/dist/components/ic-tab-group.js.map +1 -1
  282. package/dist/components/ic-tab-panel.js +2 -2
  283. package/dist/components/ic-tab-panel.js.map +1 -1
  284. package/dist/components/ic-tab.js +2 -2
  285. package/dist/components/ic-tab.js.map +1 -1
  286. package/dist/components/ic-text-field2.js +7 -7
  287. package/dist/components/ic-text-field2.js.map +1 -1
  288. package/dist/components/ic-theme.js +2 -2
  289. package/dist/components/ic-theme.js.map +1 -1
  290. package/dist/components/ic-time-input.d.ts +11 -0
  291. package/dist/components/ic-time-input.js +1045 -0
  292. package/dist/components/ic-time-input.js.map +1 -0
  293. package/dist/components/ic-toast-region.js +1 -1
  294. package/dist/components/ic-toast-region.js.map +1 -1
  295. package/dist/components/ic-toast.js +5 -5
  296. package/dist/components/ic-toast.js.map +1 -1
  297. package/dist/components/ic-toggle-button-group.js +2 -2
  298. package/dist/components/ic-toggle-button-group.js.map +1 -1
  299. package/dist/components/ic-toggle-button.js +2 -2
  300. package/dist/components/ic-toggle-button.js.map +1 -1
  301. package/dist/components/ic-tooltip2.js +39 -79
  302. package/dist/components/ic-tooltip2.js.map +1 -1
  303. package/dist/components/ic-top-navigation.js +5 -5
  304. package/dist/components/ic-top-navigation.js.map +1 -1
  305. package/dist/components/ic-tree-item.js +2 -2
  306. package/dist/components/ic-tree-view.js +3 -3
  307. package/dist/components/ic-typography2.js +2 -2
  308. package/dist/components/ic-typography2.js.map +1 -1
  309. package/dist/core/core.css +236 -16
  310. package/dist/core/core.esm.js +1 -1
  311. package/dist/core/core.esm.js.map +1 -1
  312. package/dist/core/{p-e253a857.js → p-0f22f41e.js} +2 -2
  313. package/dist/core/p-0f22f41e.js.map +1 -0
  314. package/dist/core/{p-0dc0d839.entry.js → p-0fad83d8.entry.js} +2 -2
  315. package/dist/core/{p-0dc0d839.entry.js.map → p-0fad83d8.entry.js.map} +1 -1
  316. package/dist/core/{p-42913c5b.entry.js → p-145c0245.entry.js} +2 -2
  317. package/dist/core/{p-42913c5b.entry.js.map → p-145c0245.entry.js.map} +1 -1
  318. package/dist/core/{p-15ec796a.entry.js → p-17acca45.entry.js} +2 -2
  319. package/dist/core/{p-15ec796a.entry.js.map → p-17acca45.entry.js.map} +1 -1
  320. package/dist/core/p-1a5efa3e.entry.js +2 -0
  321. package/dist/core/{p-032113b9.entry.js.map → p-1a5efa3e.entry.js.map} +1 -1
  322. package/dist/core/{p-4b6818d9.entry.js → p-1cc402b8.entry.js} +2 -2
  323. package/dist/core/{p-4b6818d9.entry.js.map → p-1cc402b8.entry.js.map} +1 -1
  324. package/dist/core/p-20374e30.entry.js +2 -0
  325. package/dist/core/{p-8cb5deba.entry.js.map → p-20374e30.entry.js.map} +1 -1
  326. package/dist/core/{p-fc5661ac.entry.js → p-287e5c17.entry.js} +2 -2
  327. package/dist/core/{p-fc5661ac.entry.js.map → p-287e5c17.entry.js.map} +1 -1
  328. package/dist/core/p-2f4f4aea.entry.js +2 -0
  329. package/dist/core/p-2f4f4aea.entry.js.map +1 -0
  330. package/dist/core/p-2fe31f66.entry.js +2 -0
  331. package/dist/core/p-2fe31f66.entry.js.map +1 -0
  332. package/dist/core/{p-a220535c.entry.js → p-31d6d587.entry.js} +2 -2
  333. package/dist/core/{p-a220535c.entry.js.map → p-31d6d587.entry.js.map} +1 -1
  334. package/dist/core/{p-3cf99186.entry.js → p-364cc350.entry.js} +2 -2
  335. package/dist/core/{p-6e7aaca5.entry.js → p-3f241d71.entry.js} +2 -2
  336. package/dist/core/{p-6e7aaca5.entry.js.map → p-3f241d71.entry.js.map} +1 -1
  337. package/dist/core/{p-bbf39a76.entry.js → p-40743d97.entry.js} +2 -2
  338. package/dist/core/{p-bbf39a76.entry.js.map → p-40743d97.entry.js.map} +1 -1
  339. package/dist/core/{p-b88585bf.entry.js → p-43285eeb.entry.js} +2 -2
  340. package/dist/core/{p-b88585bf.entry.js.map → p-43285eeb.entry.js.map} +1 -1
  341. package/dist/core/{p-9e051db4.entry.js → p-45dd12ee.entry.js} +2 -2
  342. package/dist/core/{p-9e051db4.entry.js.map → p-45dd12ee.entry.js.map} +1 -1
  343. package/dist/core/{p-e18ba5d6.entry.js → p-4bddb866.entry.js} +2 -2
  344. package/dist/core/{p-e18ba5d6.entry.js.map → p-4bddb866.entry.js.map} +1 -1
  345. package/dist/core/{p-90364cef.entry.js → p-518a8e87.entry.js} +2 -2
  346. package/dist/core/{p-90364cef.entry.js.map → p-518a8e87.entry.js.map} +1 -1
  347. package/dist/core/{p-e2103bcc.entry.js → p-51e2de77.entry.js} +2 -2
  348. package/dist/core/{p-e2103bcc.entry.js.map → p-51e2de77.entry.js.map} +1 -1
  349. package/dist/core/{p-78635447.entry.js → p-558936fb.entry.js} +2 -2
  350. package/dist/core/{p-8d908a57.entry.js → p-588a331f.entry.js} +2 -2
  351. package/dist/core/{p-8d908a57.entry.js.map → p-588a331f.entry.js.map} +1 -1
  352. package/dist/core/p-59048c2a.entry.js +2 -0
  353. package/dist/core/p-59048c2a.entry.js.map +1 -0
  354. package/dist/core/{p-64372a57.entry.js → p-5976d13e.entry.js} +2 -2
  355. package/dist/core/{p-64372a57.entry.js.map → p-5976d13e.entry.js.map} +1 -1
  356. package/dist/core/{p-a26a60ff.entry.js → p-5ac30e1f.entry.js} +2 -2
  357. package/dist/core/{p-a26a60ff.entry.js.map → p-5ac30e1f.entry.js.map} +1 -1
  358. package/dist/core/p-5c7c7205.entry.js +2 -0
  359. package/dist/core/p-5c7c7205.entry.js.map +1 -0
  360. package/dist/core/{p-d281c3cf.entry.js → p-5fbc8e62.entry.js} +2 -2
  361. package/dist/core/{p-d281c3cf.entry.js.map → p-5fbc8e62.entry.js.map} +1 -1
  362. package/dist/core/{p-832c7042.entry.js → p-608a8a4d.entry.js} +2 -2
  363. package/dist/core/p-66ae9eb3.entry.js +2 -0
  364. package/dist/core/p-66ae9eb3.entry.js.map +1 -0
  365. package/dist/core/p-6796acff.entry.js +2 -0
  366. package/dist/core/p-6796acff.entry.js.map +1 -0
  367. package/dist/core/{p-b1b27b7e.entry.js → p-6e8ef73c.entry.js} +2 -2
  368. package/dist/core/{p-b1b27b7e.entry.js.map → p-6e8ef73c.entry.js.map} +1 -1
  369. package/dist/core/p-7d2d067f.entry.js +2 -0
  370. package/dist/core/p-7d2d067f.entry.js.map +1 -0
  371. package/dist/core/{p-5d987f8f.entry.js → p-8051e61b.entry.js} +2 -2
  372. package/dist/core/{p-5d987f8f.entry.js.map → p-8051e61b.entry.js.map} +1 -1
  373. package/dist/core/{p-f569a91f.entry.js → p-812a0246.entry.js} +2 -2
  374. package/dist/core/{p-f569a91f.entry.js.map → p-812a0246.entry.js.map} +1 -1
  375. package/dist/core/p-816aae93.entry.js +2 -0
  376. package/dist/core/p-816aae93.entry.js.map +1 -0
  377. package/dist/core/{p-ead0acc3.entry.js → p-8908b8e6.entry.js} +2 -2
  378. package/dist/core/{p-3448c713.entry.js → p-8b5022bc.entry.js} +2 -2
  379. package/dist/core/{p-3448c713.entry.js.map → p-8b5022bc.entry.js.map} +1 -1
  380. package/dist/core/{p-bf93baea.entry.js → p-91646e38.entry.js} +2 -2
  381. package/dist/core/{p-bf93baea.entry.js.map → p-91646e38.entry.js.map} +1 -1
  382. package/dist/core/{p-826a6c25.entry.js → p-9863a070.entry.js} +2 -2
  383. package/dist/core/{p-826a6c25.entry.js.map → p-9863a070.entry.js.map} +1 -1
  384. package/dist/core/{p-0f86ea09.entry.js → p-999f0a5d.entry.js} +2 -2
  385. package/dist/core/{p-0f86ea09.entry.js.map → p-999f0a5d.entry.js.map} +1 -1
  386. package/dist/core/{p-137dd76e.entry.js → p-9fe5e2eb.entry.js} +2 -2
  387. package/dist/core/{p-137dd76e.entry.js.map → p-9fe5e2eb.entry.js.map} +1 -1
  388. package/dist/core/p-9fffb01e.entry.js +2 -0
  389. package/dist/core/p-9fffb01e.entry.js.map +1 -0
  390. package/dist/core/{p-2d8900bf.entry.js → p-aa94c4b0.entry.js} +2 -2
  391. package/dist/core/{p-2d8900bf.entry.js.map → p-aa94c4b0.entry.js.map} +1 -1
  392. package/dist/core/p-ad48c77c.entry.js +2 -0
  393. package/dist/core/p-ad48c77c.entry.js.map +1 -0
  394. package/dist/core/p-afece95e.entry.js +2 -0
  395. package/dist/core/p-afece95e.entry.js.map +1 -0
  396. package/dist/core/p-b0462734.entry.js +2 -0
  397. package/dist/core/p-b0462734.entry.js.map +1 -0
  398. package/dist/core/{p-5237f3ac.entry.js → p-b87e4485.entry.js} +2 -2
  399. package/dist/core/{p-755bdc43.entry.js → p-b8938f93.entry.js} +2 -2
  400. package/dist/core/{p-33404c14.entry.js → p-b93e8ecb.entry.js} +2 -2
  401. package/dist/core/{p-33404c14.entry.js.map → p-b93e8ecb.entry.js.map} +1 -1
  402. package/dist/core/{p-c86ca475.js → p-bc441e4c.js} +2 -2
  403. package/dist/core/p-bc441e4c.js.map +1 -0
  404. package/dist/core/p-bc7d730d.entry.js +2 -0
  405. package/dist/core/p-bc7d730d.entry.js.map +1 -0
  406. package/dist/core/{p-94065f7a.entry.js → p-be5df6a9.entry.js} +2 -2
  407. package/dist/core/{p-94065f7a.entry.js.map → p-be5df6a9.entry.js.map} +1 -1
  408. package/dist/core/{p-bc974a3e.entry.js → p-c067e62c.entry.js} +2 -2
  409. package/dist/core/{p-bc974a3e.entry.js.map → p-c067e62c.entry.js.map} +1 -1
  410. package/dist/core/p-c3fe54ab.entry.js +2 -0
  411. package/dist/core/{p-1e256460.entry.js.map → p-c3fe54ab.entry.js.map} +1 -1
  412. package/dist/core/{p-b3509380.entry.js → p-c4bf8742.entry.js} +2 -2
  413. package/dist/core/{p-2c4bf16f.entry.js → p-cb4522ed.entry.js} +2 -2
  414. package/dist/core/{p-2c4bf16f.entry.js.map → p-cb4522ed.entry.js.map} +1 -1
  415. package/dist/core/{p-8397766e.entry.js → p-d13a066e.entry.js} +2 -2
  416. package/dist/core/{p-8397766e.entry.js.map → p-d13a066e.entry.js.map} +1 -1
  417. package/dist/core/p-d41b0da0.entry.js +2 -0
  418. package/dist/core/p-d41b0da0.entry.js.map +1 -0
  419. package/dist/core/{p-cc36abaa.entry.js → p-d47e200c.entry.js} +2 -2
  420. package/dist/core/p-dd7450fb.js +2 -0
  421. package/dist/core/p-dd7450fb.js.map +1 -0
  422. package/dist/core/{p-6dd73165.entry.js → p-df88ff5b.entry.js} +2 -2
  423. package/dist/core/{p-6dd73165.entry.js.map → p-df88ff5b.entry.js.map} +1 -1
  424. package/dist/core/p-e543f2e7.entry.js +2 -0
  425. package/dist/core/p-e543f2e7.entry.js.map +1 -0
  426. package/dist/core/{p-c77d6efc.entry.js → p-e7f22a19.entry.js} +2 -2
  427. package/dist/core/{p-c77d6efc.entry.js.map → p-e7f22a19.entry.js.map} +1 -1
  428. package/dist/core/p-ea061ccf.entry.js +2 -0
  429. package/dist/core/p-ea061ccf.entry.js.map +1 -0
  430. package/dist/core/p-efa95979.js +2 -0
  431. package/dist/core/p-efa95979.js.map +1 -0
  432. package/dist/core/{p-b27bc1a1.entry.js → p-efe2fbd7.entry.js} +2 -2
  433. package/dist/core/{p-b27bc1a1.entry.js.map → p-efe2fbd7.entry.js.map} +1 -1
  434. package/dist/core/{p-9097a16a.entry.js → p-f3201a0b.entry.js} +2 -2
  435. package/dist/core/{p-9097a16a.entry.js.map → p-f3201a0b.entry.js.map} +1 -1
  436. package/dist/core/{p-75901d06.entry.js → p-f517f412.entry.js} +2 -2
  437. package/dist/core/{p-fb7f4e2e.entry.js → p-f7d746d7.entry.js} +2 -2
  438. package/dist/core/{p-fb7f4e2e.entry.js.map → p-f7d746d7.entry.js.map} +1 -1
  439. package/dist/core/p-fb8c47ce.entry.js +2 -0
  440. package/dist/core/p-fb8c47ce.entry.js.map +1 -0
  441. package/dist/core/{p-cd8178a9.entry.js → p-fecef807.entry.js} +2 -2
  442. package/dist/core/{p-cd8178a9.entry.js.map → p-fecef807.entry.js.map} +1 -1
  443. package/dist/core/p-ffac41d6.entry.js +2 -0
  444. package/dist/core/p-ffac41d6.entry.js.map +1 -0
  445. package/dist/esm/clear-icon-1c79bda2.js +8 -0
  446. package/dist/esm/clear-icon-1c79bda2.js.map +1 -0
  447. package/dist/esm/core.js +1 -1
  448. package/dist/esm/{date-helpers-3b8c39ab.js → date-helpers-2b531c8c.js} +5 -9
  449. package/dist/esm/date-helpers-2b531c8c.js.map +1 -0
  450. package/dist/esm/{helpers-d9387cd3.js → helpers-89cb996d.js} +2 -2
  451. package/dist/esm/helpers-89cb996d.js.map +1 -0
  452. package/dist/esm/{helpers-574534c9.js → helpers-f3928d01.js} +32 -8
  453. package/dist/esm/helpers-f3928d01.js.map +1 -0
  454. package/dist/esm/ic-accordion-group.entry.js +1 -1
  455. package/dist/esm/ic-accordion.entry.js +1 -1
  456. package/dist/esm/ic-action-chip.entry.js +112 -0
  457. package/dist/esm/ic-action-chip.entry.js.map +1 -0
  458. package/dist/esm/ic-alert.entry.js +2 -2
  459. package/dist/esm/ic-alert.entry.js.map +1 -1
  460. package/dist/esm/ic-back-to-top.entry.js +4 -4
  461. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  462. package/dist/esm/ic-badge.entry.js +4 -4
  463. package/dist/esm/ic-badge.entry.js.map +1 -1
  464. package/dist/esm/ic-breadcrumb-group.entry.js +3 -3
  465. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  466. package/dist/esm/ic-breadcrumb.entry.js +3 -3
  467. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  468. package/dist/esm/ic-button_3.entry.js +56 -96
  469. package/dist/esm/ic-button_3.entry.js.map +1 -1
  470. package/dist/esm/ic-card-horizontal.entry.js +1 -1
  471. package/dist/esm/ic-card-vertical.entry.js +5 -5
  472. package/dist/esm/ic-card-vertical.entry.js.map +1 -1
  473. package/dist/esm/ic-checkbox-group.entry.js +3 -3
  474. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  475. package/dist/esm/ic-checkbox_3.entry.js +9 -9
  476. package/dist/esm/ic-checkbox_3.entry.js.map +1 -1
  477. package/dist/esm/ic-chip.entry.js +13 -5
  478. package/dist/esm/ic-chip.entry.js.map +1 -1
  479. package/dist/esm/ic-classification-banner.entry.js +2 -2
  480. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  481. package/dist/esm/ic-data-list.entry.js +3 -3
  482. package/dist/esm/ic-data-list.entry.js.map +1 -1
  483. package/dist/esm/ic-data-row.entry.js +4 -4
  484. package/dist/esm/ic-data-row.entry.js.map +1 -1
  485. package/dist/esm/ic-data-table-title-bar.entry.js +1 -1
  486. package/dist/esm/ic-data-table.entry.js +44 -57
  487. package/dist/esm/ic-data-table.entry.js.map +1 -1
  488. package/dist/esm/ic-date-input.entry.js +27 -19
  489. package/dist/esm/ic-date-input.entry.js.map +1 -1
  490. package/dist/esm/ic-date-picker.entry.js +14 -14
  491. package/dist/esm/ic-date-picker.entry.js.map +1 -1
  492. package/dist/esm/ic-dialog.entry.js +2 -2
  493. package/dist/esm/ic-dialog.entry.js.map +1 -1
  494. package/dist/esm/ic-divider.entry.js +1 -1
  495. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  496. package/dist/esm/ic-footer-link.entry.js +3 -3
  497. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  498. package/dist/esm/ic-footer.entry.js +4 -4
  499. package/dist/esm/ic-footer.entry.js.map +1 -1
  500. package/dist/esm/ic-hero.entry.js +5 -5
  501. package/dist/esm/ic-hero.entry.js.map +1 -1
  502. package/dist/esm/ic-horizontal-scroll.entry.js +6 -6
  503. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  504. package/dist/esm/ic-input-component-container_4.entry.js +217 -0
  505. package/dist/esm/ic-input-component-container_4.entry.js.map +1 -0
  506. package/dist/esm/ic-layout-grid-item.entry.js +66 -0
  507. package/dist/esm/ic-layout-grid-item.entry.js.map +1 -0
  508. package/dist/esm/ic-layout-grid.entry.js +152 -0
  509. package/dist/esm/ic-layout-grid.entry.js.map +1 -0
  510. package/dist/esm/ic-link.entry.js +2 -2
  511. package/dist/esm/ic-link.entry.js.map +1 -1
  512. package/dist/esm/ic-menu-group.entry.js +2 -2
  513. package/dist/esm/ic-menu-group.entry.js.map +1 -1
  514. package/dist/esm/ic-menu-item.entry.js +1 -1
  515. package/dist/esm/{ic-input-component-container_3.entry.js → ic-menu.entry.js} +7 -96
  516. package/dist/esm/ic-menu.entry.js.map +1 -0
  517. package/dist/esm/ic-navigation-button.entry.js +3 -3
  518. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  519. package/dist/esm/ic-navigation-group.entry.js +3 -3
  520. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  521. package/dist/esm/ic-navigation-item.entry.js +3 -3
  522. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  523. package/dist/esm/ic-navigation-menu.entry.js +5 -5
  524. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  525. package/dist/esm/ic-page-header.entry.js +7 -7
  526. package/dist/esm/ic-page-header.entry.js.map +1 -1
  527. package/dist/esm/ic-pagination_4.entry.js +18 -18
  528. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  529. package/dist/esm/ic-popover-menu.entry.js +10 -6
  530. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  531. package/dist/esm/ic-radio-group.entry.js +5 -5
  532. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  533. package/dist/esm/ic-radio-option.entry.js +5 -5
  534. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  535. package/dist/esm/ic-search-bar.entry.js +10 -10
  536. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  537. package/dist/esm/ic-section-container.entry.js +2 -2
  538. package/dist/esm/ic-section-container.entry.js.map +1 -1
  539. package/dist/esm/ic-side-navigation.entry.js +5 -5
  540. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  541. package/dist/esm/ic-skeleton.entry.js +2 -2
  542. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  543. package/dist/esm/ic-skip-link.entry.js +2 -2
  544. package/dist/esm/ic-skip-link.entry.js.map +1 -1
  545. package/dist/esm/ic-status-tag.entry.js +3 -3
  546. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  547. package/dist/esm/ic-step.entry.js +14 -14
  548. package/dist/esm/ic-step.entry.js.map +1 -1
  549. package/dist/esm/ic-stepper.entry.js +3 -3
  550. package/dist/esm/ic-stepper.entry.js.map +1 -1
  551. package/dist/esm/ic-switch.entry.js +5 -5
  552. package/dist/esm/ic-switch.entry.js.map +1 -1
  553. package/dist/esm/ic-tab-context.entry.js +1 -1
  554. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  555. package/dist/esm/ic-tab-group.entry.js +3 -3
  556. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  557. package/dist/esm/ic-tab-panel.entry.js +2 -2
  558. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  559. package/dist/esm/ic-tab.entry.js +3 -3
  560. package/dist/esm/ic-tab.entry.js.map +1 -1
  561. package/dist/esm/ic-theme.entry.js +2 -2
  562. package/dist/esm/ic-theme.entry.js.map +1 -1
  563. package/dist/esm/ic-time-input.entry.js +939 -0
  564. package/dist/esm/ic-time-input.entry.js.map +1 -0
  565. package/dist/esm/ic-toast-region.entry.js +1 -1
  566. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  567. package/dist/esm/ic-toast.entry.js +5 -5
  568. package/dist/esm/ic-toast.entry.js.map +1 -1
  569. package/dist/esm/ic-toggle-button-group.entry.js +3 -3
  570. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
  571. package/dist/esm/ic-toggle-button.entry.js +3 -3
  572. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  573. package/dist/esm/ic-top-navigation.entry.js +5 -5
  574. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  575. package/dist/esm/ic-tree-item.entry.js +3 -3
  576. package/dist/esm/ic-tree-view.entry.js +4 -4
  577. package/dist/esm/ic-typography.entry.js +3 -3
  578. package/dist/esm/ic-typography.entry.js.map +1 -1
  579. package/dist/esm/index-a7a720e7.js +20 -4
  580. package/dist/esm/loader.js +1 -1
  581. package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +12 -7
  582. package/dist/types/components/ic-data-table/story-data.d.ts +11 -20
  583. package/dist/types/components/ic-date-input/ic-date-input.d.ts +2 -1
  584. package/dist/types/components/ic-date-picker/ic-date-picker.stories.d.ts +8 -0
  585. package/dist/types/components/ic-date-picker/story-data.d.ts +1 -0
  586. package/dist/types/components/ic-time-input/ic-time-input.d.ts +229 -0
  587. package/dist/types/components/ic-time-input/ic-time-input.stories.d.ts +121 -0
  588. package/dist/types/components/ic-time-input/test/helpers/ic-time-input.d.ts +23 -0
  589. package/dist/types/components.d.ts +234 -2
  590. package/dist/types/utils/date-helpers.d.ts +1 -1
  591. package/dist/types/utils/types.d.ts +5 -0
  592. package/hydrate/index.js +1828 -476
  593. package/hydrate/index.mjs +1828 -476
  594. package/package.json +3 -3
  595. package/dist/cjs/date-helpers-6f70dd03.js.map +0 -1
  596. package/dist/cjs/helpers-74cf2649.js.map +0 -1
  597. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +0 -1
  598. package/dist/cjs/ic-input-label_2.cjs.entry.js +0 -133
  599. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +0 -1
  600. package/dist/core/p-032113b9.entry.js +0 -2
  601. package/dist/core/p-0fe08a58.js +0 -2
  602. package/dist/core/p-0fe08a58.js.map +0 -1
  603. package/dist/core/p-156fc5f1.entry.js +0 -2
  604. package/dist/core/p-156fc5f1.entry.js.map +0 -1
  605. package/dist/core/p-1e256460.entry.js +0 -2
  606. package/dist/core/p-1ffac8ae.entry.js +0 -2
  607. package/dist/core/p-1ffac8ae.entry.js.map +0 -1
  608. package/dist/core/p-224b2e14.entry.js +0 -2
  609. package/dist/core/p-224b2e14.entry.js.map +0 -1
  610. package/dist/core/p-2de3287c.entry.js +0 -2
  611. package/dist/core/p-2de3287c.entry.js.map +0 -1
  612. package/dist/core/p-497918fd.entry.js +0 -2
  613. package/dist/core/p-497918fd.entry.js.map +0 -1
  614. package/dist/core/p-6f72e6ac.entry.js +0 -2
  615. package/dist/core/p-6f72e6ac.entry.js.map +0 -1
  616. package/dist/core/p-88c5ec78.entry.js +0 -2
  617. package/dist/core/p-88c5ec78.entry.js.map +0 -1
  618. package/dist/core/p-8cb5deba.entry.js +0 -2
  619. package/dist/core/p-95881758.entry.js +0 -2
  620. package/dist/core/p-95881758.entry.js.map +0 -1
  621. package/dist/core/p-97abdbf7.entry.js +0 -2
  622. package/dist/core/p-97abdbf7.entry.js.map +0 -1
  623. package/dist/core/p-a54eb1d1.entry.js +0 -2
  624. package/dist/core/p-a54eb1d1.entry.js.map +0 -1
  625. package/dist/core/p-c67381b1.entry.js +0 -2
  626. package/dist/core/p-c67381b1.entry.js.map +0 -1
  627. package/dist/core/p-c86ca475.js.map +0 -1
  628. package/dist/core/p-c94e7b0b.entry.js +0 -2
  629. package/dist/core/p-c94e7b0b.entry.js.map +0 -1
  630. package/dist/core/p-cdd6d5e8.entry.js +0 -2
  631. package/dist/core/p-cdd6d5e8.entry.js.map +0 -1
  632. package/dist/core/p-d04b75cb.entry.js +0 -2
  633. package/dist/core/p-d04b75cb.entry.js.map +0 -1
  634. package/dist/core/p-e253a857.js.map +0 -1
  635. package/dist/esm/date-helpers-3b8c39ab.js.map +0 -1
  636. package/dist/esm/helpers-574534c9.js.map +0 -1
  637. package/dist/esm/helpers-d9387cd3.js.map +0 -1
  638. package/dist/esm/ic-input-component-container_3.entry.js.map +0 -1
  639. package/dist/esm/ic-input-label_2.entry.js +0 -128
  640. package/dist/esm/ic-input-label_2.entry.js.map +0 -1
  641. /package/dist/core/{p-3cf99186.entry.js.map → p-364cc350.entry.js.map} +0 -0
  642. /package/dist/core/{p-78635447.entry.js.map → p-558936fb.entry.js.map} +0 -0
  643. /package/dist/core/{p-832c7042.entry.js.map → p-608a8a4d.entry.js.map} +0 -0
  644. /package/dist/core/{p-ead0acc3.entry.js.map → p-8908b8e6.entry.js.map} +0 -0
  645. /package/dist/core/{p-5237f3ac.entry.js.map → p-b87e4485.entry.js.map} +0 -0
  646. /package/dist/core/{p-755bdc43.entry.js.map → p-b8938f93.entry.js.map} +0 -0
  647. /package/dist/core/{p-b3509380.entry.js.map → p-c4bf8742.entry.js.map} +0 -0
  648. /package/dist/core/{p-cc36abaa.entry.js.map → p-d47e200c.entry.js.map} +0 -0
  649. /package/dist/core/{p-75901d06.entry.js.map → p-f517f412.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"ic-footer.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,WAAW,GAAG,y9IAAy9I,CAAC;AAC9+I,uBAAe,WAAW;;MCSb,MAAM;IACf;;;QACI,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;QAC3B,IAAI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E,KAAK,EAAE,gBAAgB,EAAE,EAAEA,OAAC,CAAC,eAAe,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,OAAO,EAAE,UAAU,IAAIN,uBAAe,CAAC,CAAC,GAAG,SAAS,GAAG,MAAM,EAAE,EAAEM,OAAC,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,SAAS,KAAKA,OAAC,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,KAAK,EAAE;gBACh8D,CAAC,kBAAkB,GAAG,IAAI;gBAC1B,CAAC,wBAAwB,GAAGG,+BAAuB,EAAE;aACxD,EAAE,EAAEH,OAAC,CAAC,eAAe,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,OAAO,EAAE,UAAU,IAAIN,uBAAe,CAAC,CAAC;kBAC7G,mBAAmB;kBACnB,iBAAiB,EAAE,EAAE,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;KACrE;;;;;;;","names":["IC_DEVICE_SIZES","getBrandForegroundAppearance","getCurrentDeviceSize","checkResizeObserver","renderDynamicChildSlots","isSlotUsed","h","Host","IcBrandForegroundEnum","hasClassificationBanner"],"sources":["../web-components/dist/collection/components/ic-footer/ic-footer.css?tag=ic-footer&encapsulation=shadow","../web-components/dist/collection/components/ic-footer/ic-footer.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n display: block;\n\n --footer-compliance-padding: 1rem 0;\n}\n\n:host(.ic-footer-sparse) {\n --footer-links-padding: 1.5rem 0;\n --footer-logo-margin-bottom: calc(var(--ic-space-md) + var(--ic-space-xxs));\n --footer-link-inner-flex-direction: row;\n}\n\n:host(.ic-footer-small) {\n --footer-links-padding: 0 0;\n --footer-logo-margin-bottom: var(--ic-space-md);\n --footer-link-inner-flex-direction: column;\n}\n\n:host(.ic-footer-foreground-dark) {\n --ic-footer-background: var(--ic-brand-color-secondary-light);\n --ic-footer-bottom-background: var(--ic-brand-color-tertiary-light);\n --ic-footer-keyline: var(--ic-state-layer-darken-20);\n --ic-footer-text: var(--ic-color-text-primary-light);\n --ic-footer-link: var(--ic-color-text-primary-light);\n --ic-footer-icon: var(--ic-color-icon-neutral);\n --ic-footer-chevron-icon: var(--ic-color-icon-neutral);\n --ic-footer-logo: var(--ic-color-icon-neutral);\n --ic-footer-hover: var(--ic-architectural-700-state-layer-10);\n --ic-footer-pressed: var(--ic-architectural-700-state-layer-20);\n}\n\n:host(.ic-footer-small.ic-footer-ungrouped) {\n --footer-links-padding: var(--ic-space-md) 0 0 0;\n}\n\n/* Main inner footer element */\nfooter {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n\n/* Description */\n\n.footer-description {\n background-color: var(--ic-footer-background);\n color: var(--ic-footer-text);\n\n --ic-typography-color: var(--ic-footer-text);\n\n border-bottom: var(--ic-space-1px) solid var(--ic-footer-keyline);\n}\n\n.footer-description-inner {\n padding: 1rem 0;\n}\n\n/* Links */\n\n.footer-links {\n padding: var(--footer-links-padding);\n background-color: var(--ic-footer-background);\n color: var(--ic-footer-link);\n\n --ic-typography-color: var(--ic-footer-link);\n}\n\n.footer-links-inner {\n display: flex;\n flex-direction: var(--footer-link-inner-flex-direction);\n}\n\n/* Compliance */\n\n.footer-compliance {\n background-color: var(--ic-footer-bottom-background);\n color: var(--ic-footer-text);\n\n --ic-typography-color: var(--ic-footer-text);\n}\n\n.footer-compliance-inner {\n padding: var(--footer-compliance-padding);\n}\n\n.footer-logo {\n margin-bottom: var(--footer-logo-margin-bottom);\n display: flex;\n gap: var(--ic-space-xxl);\n}\n\n.footer-logo > ::slotted() {\n margin-right: var(--ic-space-md);\n}\n\n.footer-caption {\n margin-bottom: var(--ic-space-md);\n}\n\n.classification-spacing {\n margin-bottom: var(--ic-space-lg);\n}\n\n@media (forced-colors: active) {\n footer {\n border-top: var(--ic-border-hc);\n }\n}\n","import { h, Host, } from \"@stencil/core\";\nimport { IC_DEVICE_SIZES } from \"../../utils/constants\";\nimport { getCurrentDeviceSize, getBrandForegroundAppearance, checkResizeObserver, hasClassificationBanner, isSlotUsed, renderDynamicChildSlots, } from \"../../utils/helpers\";\nimport { IcBrandForegroundEnum, } from \"../../utils/types\";\n/**\n * @slot description - Content will be rendered at the top of the footer.\n * @slot link - Content will be rendered between description and logos.\n * @slot logo - Content will be rendered underneath footer links.\n * @slot caption - Content will be rendered above Crown Copyright.\n */\nexport class Footer {\n constructor() {\n this.resizeObserver = null;\n this.hostMutationObserver = null;\n this.deviceSize = IC_DEVICE_SIZES.XL;\n this.foregroundColor = getBrandForegroundAppearance();\n /**\n * The alignment of the section containers used within the footer.\n */\n this.aligned = \"left\";\n /**\n * The screen size breakpoint at which to switch to the small layout.\n */\n this.breakpoint = \"medium\";\n /**\n * If `true`, the footer will display the crown copyright at the bottom.\n */\n this.copyright = true;\n /**\n * If `true`, the footer will be set up to handle link groups instead of standalone links.\n */\n this.groupLinks = false;\n this.resizeObserverCallback = (currSize) => {\n if (currSize !== this.deviceSize) {\n this.deviceSize = currSize;\n }\n this.footerResized.emit();\n };\n this.runResizeObserver = () => {\n if (this.footerEl) {\n this.resizeObserver = new ResizeObserver(() => {\n const currSize = getCurrentDeviceSize();\n this.resizeObserverCallback(currSize);\n });\n this.resizeObserver.observe(this.footerEl);\n }\n };\n }\n disconnectedCallback() {\n var _a;\n if (this.resizeObserver !== null) {\n this.resizeObserver.disconnect();\n }\n (_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n }\n componentWillLoad() {\n this.deviceSize = getCurrentDeviceSize();\n }\n componentDidLoad() {\n checkResizeObserver(this.runResizeObserver);\n this.hostMutationObserver = new MutationObserver((mutationList) => {\n return renderDynamicChildSlots(mutationList, \"link\", this);\n });\n this.hostMutationObserver.observe(this.el, {\n childList: true,\n });\n }\n brandChangeHandler(ev) {\n this.foregroundColor = ev.detail.mode;\n }\n isSmall() {\n const bp = this.breakpoint;\n return bp === \"extra small\"\n ? this.deviceSize < IC_DEVICE_SIZES.XS\n : bp === \"small\"\n ? this.deviceSize < IC_DEVICE_SIZES.S\n : bp === \"medium\"\n ? this.deviceSize < IC_DEVICE_SIZES.M\n : bp === \"large\"\n ? this.deviceSize < IC_DEVICE_SIZES.L\n : bp === \"extra large\"\n ? this.deviceSize < IC_DEVICE_SIZES.XL\n : false;\n }\n render() {\n const { aligned, caption, copyright, description, deviceSize, el, foregroundColor, groupLinks, } = this;\n const small = this.isSmall();\n const showComplianceSection = isSlotUsed(el, \"logo\") ||\n isSlotUsed(el, \"caption\") ||\n caption ||\n copyright;\n return (h(Host, { key: 'b25023d5362ca9baca9c01a319c038eb4540e97a', class: {\n [\"ic-footer\"]: true,\n [`ic-footer-${small ? \"small\" : \"sparse\"}`]: true,\n [`ic-footer-${groupLinks ? \"grouped\" : \"ungrouped\"}`]: true,\n [`ic-footer-foreground-${foregroundColor}`]: true,\n // Slots will be able to infer their own color\n [`ic-footer-${IcBrandForegroundEnum.Dark}`]: foregroundColor === IcBrandForegroundEnum.Dark,\n [`ic-footer-${IcBrandForegroundEnum.Light}`]: foregroundColor === IcBrandForegroundEnum.Light,\n } }, h(\"footer\", { key: '053aafbd7016c4a74230cb3f4bd15ff1bd331761', ref: (el) => (this.footerEl = el) }, (isSlotUsed(el, \"description\") || description) && (h(\"div\", { key: 'c963c42c0f4d0a19d8fe9c133ca3cf9261398d70', class: \"footer-description\" }, h(\"ic-section-container\", { key: '0dd1fd94781722a494368e146f2a0b8417e1849d', aligned: aligned, fullHeight: true }, h(\"div\", { key: '61a25339f136d624ef39c3f72ff920735eac3656', class: \"footer-description-inner\" }, h(\"ic-typography\", { key: '4655d70fa69d5cc7ed44e352d37646a93b95067a', variant: \"body\" }, h(\"slot\", { key: '3a04c622d16c8fbad42bde6e5a62b94a7cc0dbfc', name: \"description\" }, description)))))), isSlotUsed(el, \"link\") && (h(\"div\", { key: '9a98191b7712a906aafa5295786586cdca8fdd63', class: \"footer-links\" }, groupLinks && small ? (h(\"div\", { class: \"footer-links-inner\", role: \"list\" }, h(\"slot\", { name: \"link\" }))) : (h(\"ic-section-container\", { fullHeight: true, aligned: aligned }, h(\"div\", { class: \"footer-links-inner\", role: \"list\" }, h(\"slot\", { name: \"link\" })))))), showComplianceSection && (h(\"div\", { key: '26f71e1feac14df4ffd9a5f945823e7d8a334f87', class: \"footer-compliance\" }, h(\"ic-section-container\", { key: 'd4b53cd4e8b1170b629f6493188f48438c1edd00', aligned: aligned, fullHeight: true }, h(\"div\", { key: '50b07020da89a9ebe53d6fd035b7139ac8ca2282', class: \"footer-compliance-inner\" }, isSlotUsed(el, \"logo\") && (h(\"div\", { key: '2ea27171f29498639b56426d4d21fbf4afc98798', class: \"footer-logo\" }, h(\"slot\", { key: 'b09b28173314c1b0a63ce1ecdf60822d7497ed80', name: \"logo\" }))), (isSlotUsed(el, \"caption\") || caption) && (h(\"div\", { key: 'b4ce260f52b3216ec3c73430311b7659e651a544', class: \"footer-caption\" }, h(\"ic-typography\", { key: 'f83868bac58237dcd8586d4d161db7677f0b2b16', variant: deviceSize <= IC_DEVICE_SIZES.M ? \"caption\" : \"body\" }, h(\"slot\", { key: '3da3e317b1f62be124bbabc9283e08258dc57141', name: \"caption\" }, caption)))), copyright && (h(\"div\", { key: '63b18007efa190d038048a1d57223dc0547a64ad', class: {\n [\"footer-copyright\"]: true,\n [\"classification-spacing\"]: hasClassificationBanner(),\n } }, h(\"ic-typography\", { key: '0dc6200bfb89a7b34743c442f9c61829cd4b9374', variant: deviceSize <= IC_DEVICE_SIZES.M\n ? \"caption-uppercase\"\n : \"label-uppercase\" }, \"\\u00A9 Crown Copyright\"))))))))));\n }\n static get is() { return \"ic-footer\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-footer.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-footer.css\"]\n };\n }\n static get properties() {\n return {\n \"aligned\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcAlignment\",\n \"resolved\": \"\\\"center\\\" | \\\"full-width\\\" | \\\"left\\\" | undefined\",\n \"references\": {\n \"IcAlignment\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcAlignment\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The alignment of the section containers used within the footer.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"aligned\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"left\\\"\"\n },\n \"breakpoint\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcFooterBreakpoints\",\n \"resolved\": \"\\\"extra large\\\" | \\\"extra small\\\" | \\\"large\\\" | \\\"medium\\\" | \\\"small\\\" | undefined\",\n \"references\": {\n \"IcFooterBreakpoints\": {\n \"location\": \"import\",\n \"path\": \"./ic-footer.types\",\n \"id\": \"src/components/ic-footer/ic-footer.types.tsx::IcFooterBreakpoints\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The screen size breakpoint at which to switch to the small layout.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"breakpoint\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"medium\\\"\"\n },\n \"caption\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The caption displayed at the bottom of the footer.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"caption\",\n \"reflect\": false\n },\n \"copyright\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the footer will display the crown copyright at the bottom.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"copyright\",\n \"reflect\": false,\n \"defaultValue\": \"true\"\n },\n \"description\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The description displayed at the top of the footer.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"description\",\n \"reflect\": false\n },\n \"groupLinks\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the footer will be set up to handle link groups instead of standalone links.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"group-links\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get states() {\n return {\n \"deviceSize\": {},\n \"foregroundColor\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"footerResized\",\n \"name\": \"footerResized\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Triggers on page resize and triggers style changes in footer links and link groups\"\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get elementRef() { return \"el\"; }\n static get listeners() {\n return [{\n \"name\": \"brandChange\",\n \"method\": \"brandChangeHandler\",\n \"target\": \"document\",\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n//# sourceMappingURL=ic-footer.js.map\n"],"version":3}
1
+ {"file":"ic-footer.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,WAAW,GAAG,y9IAAy9I,CAAC;AAC9+I,uBAAe,WAAW;;MCSb,MAAM;IACf;;;QACI,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;QAC3B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;QACjC,IAAI,CAAC,UAAU,GAAGA,uBAAe,CAAC,EAAE,CAAC;QACrC,IAAI,CAAC,eAAe,GAAGC,oCAA4B,EAAE,CAAC;;;;QAItD,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;;;;QAItB,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC;;;;QAI3B,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;;;;QAItB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;QACxB,IAAI,CAAC,sBAAsB,GAAG,CAAC,QAAQ;YACnC,IAAI,QAAQ,KAAK,IAAI,CAAC,UAAU,EAAE;gBAC9B,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC;aAC9B;YACD,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;SAC7B,CAAC;QACF,IAAI,CAAC,iBAAiB,GAAG;YACrB,IAAI,IAAI,CAAC,QAA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;kBACnB,iBAAiB,EAAE,EAAE,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;KACrE;;;;;;;","names":["IC_DEVICE_SIZES","getBrandForegroundAppearance","getCurrentDeviceSize","checkResizeObserver","renderDynamicChildSlots","isSlotUsed","h","Host","IcBrandForegroundEnum","hasClassificationBanner"],"sources":["../web-components/dist/collection/components/ic-footer/ic-footer.css?tag=ic-footer&encapsulation=shadow","../web-components/dist/collection/components/ic-footer/ic-footer.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n display: block;\n\n --footer-compliance-padding: 1rem 0;\n}\n\n:host(.ic-footer-sparse) {\n --footer-links-padding: 1.5rem 0;\n --footer-logo-margin-bottom: calc(var(--ic-space-md) + var(--ic-space-xxs));\n --footer-link-inner-flex-direction: row;\n}\n\n:host(.ic-footer-small) {\n --footer-links-padding: 0 0;\n --footer-logo-margin-bottom: var(--ic-space-md);\n --footer-link-inner-flex-direction: column;\n}\n\n:host(.ic-footer-foreground-dark) {\n --ic-footer-background: var(--ic-brand-color-secondary-light);\n --ic-footer-bottom-background: var(--ic-brand-color-tertiary-light);\n --ic-footer-keyline: var(--ic-state-layer-darken-20);\n --ic-footer-text: var(--ic-color-text-primary-light);\n --ic-footer-link: var(--ic-color-text-primary-light);\n --ic-footer-icon: var(--ic-color-icon-neutral);\n --ic-footer-chevron-icon: var(--ic-color-icon-neutral);\n --ic-footer-logo: var(--ic-color-icon-neutral);\n --ic-footer-hover: var(--ic-architectural-700-state-layer-10);\n --ic-footer-pressed: var(--ic-architectural-700-state-layer-20);\n}\n\n:host(.ic-footer-small.ic-footer-ungrouped) {\n --footer-links-padding: var(--ic-space-md) 0 0 0;\n}\n\n/* Main inner footer element */\nfooter {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n\n/* Description */\n\n.footer-description {\n background-color: var(--ic-footer-background);\n color: var(--ic-footer-text);\n\n --ic-typography-color: var(--ic-footer-text);\n\n border-bottom: var(--ic-space-1px) solid var(--ic-footer-keyline);\n}\n\n.footer-description-inner {\n padding: 1rem 0;\n}\n\n/* Links */\n\n.footer-links {\n padding: var(--footer-links-padding);\n background-color: var(--ic-footer-background);\n color: var(--ic-footer-link);\n\n --ic-typography-color: var(--ic-footer-link);\n}\n\n.footer-links-inner {\n display: flex;\n flex-direction: var(--footer-link-inner-flex-direction);\n}\n\n/* Compliance */\n\n.footer-compliance {\n background-color: var(--ic-footer-bottom-background);\n color: var(--ic-footer-text);\n\n --ic-typography-color: var(--ic-footer-text);\n}\n\n.footer-compliance-inner {\n padding: var(--footer-compliance-padding);\n}\n\n.footer-logo {\n margin-bottom: var(--footer-logo-margin-bottom);\n display: flex;\n gap: var(--ic-space-xxl);\n}\n\n.footer-logo > ::slotted() {\n margin-right: var(--ic-space-md);\n}\n\n.footer-caption {\n margin-bottom: var(--ic-space-md);\n}\n\n.classification-spacing {\n margin-bottom: var(--ic-space-lg);\n}\n\n@media (forced-colors: active) {\n footer {\n border-top: var(--ic-border-hc);\n }\n}\n","import { h, Host, } from \"@stencil/core\";\nimport { IC_DEVICE_SIZES } from \"../../utils/constants\";\nimport { getCurrentDeviceSize, getBrandForegroundAppearance, checkResizeObserver, hasClassificationBanner, isSlotUsed, renderDynamicChildSlots, } from \"../../utils/helpers\";\nimport { IcBrandForegroundEnum, } from \"../../utils/types\";\n/**\n * @slot description - Content will be rendered at the top of the footer.\n * @slot link - Content will be rendered between description and logos.\n * @slot logo - Content will be rendered underneath footer links.\n * @slot caption - Content will be rendered above Crown Copyright.\n */\nexport class Footer {\n constructor() {\n this.resizeObserver = null;\n this.hostMutationObserver = null;\n this.deviceSize = IC_DEVICE_SIZES.XL;\n this.foregroundColor = getBrandForegroundAppearance();\n /**\n * The alignment of the section containers used within the footer.\n */\n this.aligned = \"left\";\n /**\n * The screen size breakpoint at which to switch to the small layout.\n */\n this.breakpoint = \"medium\";\n /**\n * If `true`, the footer will display the crown copyright at the bottom.\n */\n this.copyright = true;\n /**\n * If `true`, the footer will be set up to handle link groups instead of standalone links.\n */\n this.groupLinks = false;\n this.resizeObserverCallback = (currSize) => {\n if (currSize !== this.deviceSize) {\n this.deviceSize = currSize;\n }\n this.footerResized.emit();\n };\n this.runResizeObserver = () => {\n if (this.footerEl) {\n this.resizeObserver = new ResizeObserver(() => {\n const currSize = getCurrentDeviceSize();\n this.resizeObserverCallback(currSize);\n });\n this.resizeObserver.observe(this.footerEl);\n }\n };\n }\n disconnectedCallback() {\n var _a;\n if (this.resizeObserver !== null) {\n this.resizeObserver.disconnect();\n }\n (_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n }\n componentWillLoad() {\n this.deviceSize = getCurrentDeviceSize();\n }\n componentDidLoad() {\n checkResizeObserver(this.runResizeObserver);\n this.hostMutationObserver = new MutationObserver((mutationList) => {\n return renderDynamicChildSlots(mutationList, \"link\", this);\n });\n this.hostMutationObserver.observe(this.el, {\n childList: true,\n });\n }\n brandChangeHandler(ev) {\n this.foregroundColor = ev.detail.mode;\n }\n isSmall() {\n const bp = this.breakpoint;\n return bp === \"extra small\"\n ? this.deviceSize < IC_DEVICE_SIZES.XS\n : bp === \"small\"\n ? this.deviceSize < IC_DEVICE_SIZES.S\n : bp === \"medium\"\n ? this.deviceSize < IC_DEVICE_SIZES.M\n : bp === \"large\"\n ? this.deviceSize < IC_DEVICE_SIZES.L\n : bp === \"extra large\"\n ? this.deviceSize < IC_DEVICE_SIZES.XL\n : false;\n }\n render() {\n const { aligned, caption, copyright, description, deviceSize, el, foregroundColor, groupLinks, } = this;\n const small = this.isSmall();\n const showComplianceSection = isSlotUsed(el, \"logo\") ||\n isSlotUsed(el, \"caption\") ||\n caption ||\n copyright;\n return (h(Host, { key: '5e9f3b92157b9ffa5fc6e2dbe8f8a5c6a63a6237', class: {\n [\"ic-footer\"]: true,\n [`ic-footer-${small ? \"small\" : \"sparse\"}`]: true,\n [`ic-footer-${groupLinks ? \"grouped\" : \"ungrouped\"}`]: true,\n [`ic-footer-foreground-${foregroundColor}`]: true,\n // Slots will be able to infer their own color\n [`ic-footer-${IcBrandForegroundEnum.Dark}`]: foregroundColor === IcBrandForegroundEnum.Dark,\n [`ic-footer-${IcBrandForegroundEnum.Light}`]: foregroundColor === IcBrandForegroundEnum.Light,\n } }, h(\"footer\", { key: 'cfae5dcdd5a431bba915b83e5ef2ae2347d5bb6d', ref: (el) => (this.footerEl = el) }, (isSlotUsed(el, \"description\") || description) && (h(\"div\", { key: '9f960b8fcae0e3281b177bcfe1adf365657406dc', class: \"footer-description\" }, h(\"ic-section-container\", { key: '49455d77e8d5e9e8a1199dc0dcc00226291e9adc', aligned: aligned, fullHeight: true }, h(\"div\", { key: 'dab1fa34ca43acd9ff4c354f324c7c426d53c77b', class: \"footer-description-inner\" }, h(\"ic-typography\", { key: '484158672386c4fed447390ab0d92bfd759a9272', variant: \"body\" }, h(\"slot\", { key: '4a500553fd0f76a8d4f7ef8410dbd927896561b1', name: \"description\" }, description)))))), isSlotUsed(el, \"link\") && (h(\"div\", { key: 'ed8613714e2bf4d79cd062f55f2b716d3e0cd304', class: \"footer-links\" }, groupLinks && small ? (h(\"div\", { class: \"footer-links-inner\", role: \"list\" }, h(\"slot\", { name: \"link\" }))) : (h(\"ic-section-container\", { fullHeight: true, aligned: aligned }, h(\"div\", { class: \"footer-links-inner\", role: \"list\" }, h(\"slot\", { name: \"link\" })))))), showComplianceSection && (h(\"div\", { key: 'c3876f5fa89d39f28e64db1bc0fca90978102a01', class: \"footer-compliance\" }, h(\"ic-section-container\", { key: '3e169ea49bcd2698b84c58f8105b0915777d8bf3', aligned: aligned, fullHeight: true }, h(\"div\", { key: '9cfaa13eb736d3aa44b15db43221bf28bf4deb57', class: \"footer-compliance-inner\" }, isSlotUsed(el, \"logo\") && (h(\"div\", { key: '853fdedd70405ebb2e96cec2adc6407e5ed11538', class: \"footer-logo\" }, h(\"slot\", { key: '4eaaad7a4f17cd51cbdab414cdbadf3096891d38', name: \"logo\" }))), (isSlotUsed(el, \"caption\") || caption) && (h(\"div\", { key: '44a611218c4ea0f494df1551ecb26a8687d57a95', class: \"footer-caption\" }, h(\"ic-typography\", { key: 'b970144c7d85b7e05e319233be68cc91ef2d0476', variant: deviceSize <= IC_DEVICE_SIZES.M ? \"caption\" : \"body\" }, h(\"slot\", { key: '512d173a680ddd65b3583bada7530aa67d3f1f98', name: \"caption\" }, caption)))), copyright && (h(\"div\", { key: '604ac3c72ae99883f27fdb609202782f6069bfde', class: {\n [\"footer-copyright\"]: true,\n [\"classification-spacing\"]: hasClassificationBanner(),\n } }, h(\"ic-typography\", { key: '144bbc0144a865f8a55a1df5606cea9dfa87b5e8', variant: deviceSize <= IC_DEVICE_SIZES.M\n ? \"caption-uppercase\"\n : \"label-uppercase\" }, \"\\u00A9 Crown Copyright\"))))))))));\n }\n static get is() { return \"ic-footer\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-footer.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-footer.css\"]\n };\n }\n static get properties() {\n return {\n \"aligned\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcAlignment\",\n \"resolved\": \"\\\"center\\\" | \\\"full-width\\\" | \\\"left\\\" | undefined\",\n \"references\": {\n \"IcAlignment\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcAlignment\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The alignment of the section containers used within the footer.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"aligned\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"left\\\"\"\n },\n \"breakpoint\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcFooterBreakpoints\",\n \"resolved\": \"\\\"extra large\\\" | \\\"extra small\\\" | \\\"large\\\" | \\\"medium\\\" | \\\"small\\\" | undefined\",\n \"references\": {\n \"IcFooterBreakpoints\": {\n \"location\": \"import\",\n \"path\": \"./ic-footer.types\",\n \"id\": \"src/components/ic-footer/ic-footer.types.tsx::IcFooterBreakpoints\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The screen size breakpoint at which to switch to the small layout.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"breakpoint\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"medium\\\"\"\n },\n \"caption\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The caption displayed at the bottom of the footer.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"caption\",\n \"reflect\": false\n },\n \"copyright\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the footer will display the crown copyright at the bottom.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"copyright\",\n \"reflect\": false,\n \"defaultValue\": \"true\"\n },\n \"description\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The description displayed at the top of the footer.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"description\",\n \"reflect\": false\n },\n \"groupLinks\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the footer will be set up to handle link groups instead of standalone links.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"group-links\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get states() {\n return {\n \"deviceSize\": {},\n \"foregroundColor\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"footerResized\",\n \"name\": \"footerResized\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Triggers on page resize and triggers style changes in footer links and link groups\"\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get elementRef() { return \"el\"; }\n static get listeners() {\n return [{\n \"name\": \"brandChange\",\n \"method\": \"brandChangeHandler\",\n \"target\": \"document\",\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n//# sourceMappingURL=ic-footer.js.map\n"],"version":3}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d337cd8a.js');
6
- const helpers = require('./helpers-74cf2649.js');
6
+ const helpers = require('./helpers-56717660.js');
7
7
 
8
8
  const icHeroCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;background-color:var(--ic-hero-background);--hero-heading-bottom-margin:var(--ic-space-md);--hero-keyline:var(--ic-hero-keyline)}:host(.ic-hero-dark){background-color:var(--ic-brand-color-secondary);--ic-hero-heading:var(--ic-color-text-primary-light);--ic-hero-body:var(--ic-color-text-primary-light);--ic-hero-secondary-heading:var(--ic-color-text-primary-light);--hero-keyline:var(--ic-brand-text-color)}.heading{--ic-typography-color:var(--ic-hero-heading)}.subheading{--ic-typography-color:var(--ic-hero-body)}.secondary-container{--ic-typography-color:var(--ic-hero-secondary-heading);display:flex;flex-direction:column;justify-content:center;border-left:var(--ic-space-xxxs) solid var(--hero-keyline)}:host(.has-background-image){background-repeat:no-repeat;background-position:right -6.25rem;background-size:auto calc(100% + 6.25rem);box-shadow:var(--ic-elevation-inset)}@media (prefers-reduced-motion){:host(.has-background-image){background-position:right -6.25rem !important}}ic-typography.heading-bottom-spacing{margin-bottom:var(--hero-heading-bottom-margin)}.section-container{display:flex;align-items:center;height:100%}.left-container{padding:var(--ic-space-xl) 0}.left-container:not(.left-container-full-width){flex-basis:50%}.left-container-full-width{width:100%}.right-container{flex-basis:50%}.interaction-container{display:flex;gap:var(--ic-space-md);margin-top:var(--ic-space-lg);flex-wrap:wrap}.secondary-subheading{margin-top:var(--ic-space-xxs)}:host([content-aligned=\"left\"]) .left-container,:host([content-aligned=\"left\"]) .interaction-container{justify-content:flex-start;text-align:left}:host([content-aligned=\"center\"]) .left-container,:host([content-aligned=\"center\"]) .interaction-container{justify-content:center;text-align:center}@media (min-width: 992px){.left-container-full-width{width:66.6%}}@media (min-width: 1044px){:host,.section-container{min-height:13rem}:host(.ic-hero-small),:host(.ic-hero-small) .section-container{min-height:10.813rem}.left-container:not(.left-container-full-width){flex-basis:66.6%}.left-container{min-height:9rem}.right-container{flex-basis:33.3%;margin-left:3.125rem}.secondary-container{min-height:9rem}.secondary-heading,.secondary-subheading{margin-left:3.938rem}}@media (min-width: 801px) and (max-width: 1043px){:host(.has-background-image){background-image:none !important}:host,.section-container{min-height:16rem}:host(.ic-hero-small),:host(.ic-hero-small) .section-container{min-height:15rem}:host(.secondary-heading),:host(.secondary-heading) .section-container{min-height:14rem}.left-container{min-height:10rem}.secondary-container{min-height:10rem}.secondary-heading,.secondary-subheading{margin-left:5.922rem}.right-container{margin-left:3.125rem}}@media (min-width: 641px) and (max-width: 800px){:host(.has-background-image){background-image:none !important}:host(.has-right-content) .section-container{flex-wrap:wrap}:host(.has-right-content) .left-container{flex-basis:100%}:host(.has-right-content) .right-container{flex-basis:100%;margin-bottom:2.5rem}:host,.section-container{min-height:16rem}:host(.ic-hero-small),:host(.ic-hero-small) .section-container{min-height:15rem}:host(.secondary-heading),:host(.secondary-heading) .section-container{min-height:14rem}.left-container{min-height:10rem}.secondary-container{min-height:10rem}.secondary-heading,.secondary-subheading{margin-left:2.125rem}}@media (min-width: 481px) and (max-width: 640px){:host(.has-background-image){background-image:none !important}:host,.section-container{min-height:13rem}:host(.ic-hero-small),:host(.ic-hero-small) .section-container{min-height:10.813rem}:host(.secondary-heading),:host(.secondary-heading) .section-container{min-height:17.5rem}:host(.secondary-heading) .section-container,:host(.ic-hero-small) .section-container,.section-container{flex-direction:column;align-items:flex-start}.left-container{height:-moz-fit-content;height:fit-content}.secondary-container{height:-moz-fit-content;height:fit-content;border:none}.right-container{margin-bottom:2.5rem}}@media (max-width: 480px){:host(.has-background-image){background-image:none !important}:host,.section-container{min-height:12rem}:host,.right-container{margin-bottom:var(--ic-space-md)}:host(.ic-hero-small),:host(.ic-hero-small) .section-container{min-height:10.813rem}:host(.secondary-heading),:host(.secondary-heading) .section-container{min-height:16.5rem}:host(.secondary-heading) .section-container,:host(.ic-hero-small) .section-container,.section-container{flex-direction:column;align-items:flex-start}.left-container{height:-moz-fit-content;height:fit-content}.secondary-container{height:-moz-fit-content;height:fit-content;border:none}}";
9
9
  const IcHeroStyle0 = icHeroCss;
@@ -76,18 +76,18 @@ const Hero = class {
76
76
  "background-position": scrollFactor,
77
77
  };
78
78
  }
79
- return (index.h(index.Host, { key: '4c88b4471d3485baff1f6c55f859639feb3166d8', class: {
79
+ return (index.h(index.Host, { key: '482bc3a82ab3561d6f88c999ca302006a1d1aa0f', class: {
80
80
  [`ic-hero-${helpers.IcBrandForegroundEnum.Dark}`]: foregroundColor === helpers.IcBrandForegroundEnum.Dark,
81
81
  ["has-background-image"]: backgroundImage !== undefined,
82
82
  ["has-right-content"]: this.rightContent,
83
83
  ["ic-hero-small"]: size === "small",
84
84
  ["secondary-heading"]: !!secondaryHeading,
85
- }, style: style }, index.h("ic-section-container", { key: 'b68716e353d9b2767dc16a5f701e3cdcbd32c748', aligned: aligned, fullHeight: true, class: "section-container" }, index.h("div", { key: '6dd6f422c0bd36725be4b41b42633aeebfa1911d', class: {
85
+ }, style: style }, index.h("ic-section-container", { key: '178b06d47614a00c4dabe06841acfebe369f7c0a', aligned: aligned, fullHeight: true, class: "section-container" }, index.h("div", { key: '3cec4f74434ae64cc7c7df77755c32a54719e08a', class: {
86
86
  ["left-container"]: true,
87
87
  ["left-container-full-width"]: this.leftContentFullWidth,
88
- } }, index.h("div", { key: '54ffef99b79eef5eedbf1571bff89270982b5671', class: "heading" }, index.h("slot", { key: '6b7f71caecbaa84d1a39295e100aedef32d1d522', name: "heading" }, index.h("ic-typography", { key: '841b429a53b8b72dd60017cb2b2404b826f5bbe8', variant: size === "small" ? "h2" : "h1", class: {
88
+ } }, index.h("div", { key: '8053a5fad4279b04af9bb3ec1f606ec443c70b80', class: "heading" }, index.h("slot", { key: 'ea0ec581076b555f8cbc03bd26be611e0e002df3', name: "heading" }, index.h("ic-typography", { key: '93e39803e6d71599ee3831161dee785b0fa6dda7', variant: size === "small" ? "h2" : "h1", class: {
89
89
  ["heading-bottom-spacing"]: size !== "small",
90
- } }, index.h("h2", { key: 'ee802d396bb8a5638f2ab8a62fddbf764436e20e' }, heading)))), index.h("div", { key: '9a051783a24c9a92fc0aeff2db50689befe4834e', class: "subheading" }, index.h("slot", { key: 'eb894eaeb4b4303be0caf090d85d487aa11284fb', name: "subheading" }, index.h("ic-typography", { key: '92b4d9af6118e2ff9bf2b9166862067c610fffee', variant: "body" }, subheading))), index.h("div", { key: 'cacf81a4666eba19211493914e9b1af466e61478', class: "interaction-container" }, index.h("slot", { key: '982fb4b528bea4c486d9c0df2cf47fb3ace19414', name: "interaction" }))), (helpers.isPropDefined(secondaryHeading) || this.rightContent) && (index.h("div", { key: '32cd6196da302dd5d0896c90d53d1b35c060e31c', class: "right-container" }, index.h("slot", { key: '655f0a9978d8402faab43e7e143987f2934255f6', name: "secondary" }, secondaryHeading && (index.h("div", { key: '94de7e79fd9122b4084b57bf0b5b0571d77e7adc', class: "secondary-container" }, index.h("div", { key: 'afd414fd37f9b1c8fb6d9f2d7957314f35a1da40', class: "secondary-heading" }, index.h("ic-typography", { key: 'd643e471ec716d3e6f33ec7761027323ca31bc8c', variant: "h4" }, index.h("h3", { key: 'f6296bbd33d2ca70beb5100151cebfa8732206d0' }, secondaryHeading))), index.h("div", { key: '0575ef33984c79674626d9f114ad90a3f973e63a', class: "secondary-subheading" }, index.h("ic-typography", { key: '8045e445231e4cbbd07ad9fa21a7b6bbf5015eff', variant: "subtitle-small" }, secondarySubheading))))))))));
90
+ } }, index.h("h2", { key: '6931cd6ef37ca5ab9d01d4ca969130b9daf8d7a5' }, heading)))), index.h("div", { key: 'a6212993adb3a6f3e4b267825e73cbf02e3129e7', class: "subheading" }, index.h("slot", { key: '993071f73747a2d880a1b858f4fd6d9fec507002', name: "subheading" }, index.h("ic-typography", { key: 'e16fd2e61701713aa782b9d128de9187cc81edd3', variant: "body" }, subheading))), index.h("div", { key: '0ecd487ff2614787759eb35bdc8c6aecb385d795', class: "interaction-container" }, index.h("slot", { key: '653843aca5d99e5bed6d0343e31c285ca1ad7e6d', name: "interaction" }))), (helpers.isPropDefined(secondaryHeading) || this.rightContent) && (index.h("div", { key: 'ce6b3edc98f9f112b0bde6c590e1fbf7d3b75af8', class: "right-container" }, index.h("slot", { key: '173399d87b56f858542b71da3105d25f639aad87', name: "secondary" }, secondaryHeading && (index.h("div", { key: 'a2e895801f1611c60baacde029f2c55ce36b60a3', class: "secondary-container" }, index.h("div", { key: 'aedd5eb54afb5f93a263cf366223257c6074b697', class: "secondary-heading" }, index.h("ic-typography", { key: '6ec103c17df879c443aa587c09e32bfac942c2e3', variant: "h4" }, index.h("h3", { key: '37623268a450894886e5ae7fe773a950a120c3cc' }, secondaryHeading))), index.h("div", { key: '8e0ca17e68cf68c016040827d2999635babd1c9d', class: "secondary-subheading" }, index.h("ic-typography", { key: '14c59d487b56af4c70a4ec37ab6091262bcc4b69', variant: "subtitle-small" }, secondarySubheading))))))))));
91
91
  }
92
92
  get el() { return index.getElement(this); }
93
93
  };
@@ -1 +1 @@
1
- {"file":"ic-hero.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,SAAS,GAAG,o+NAAo+N,CAAC;AACv/N,qBAAe,SAAS;;MCQX,IAAI;IACb;;QACI,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;QACjC,IAAI,CAAC,eAAe,GAAGA,oCAA4B,EAAE,CAAC;QACtD,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;;QAE1B,IAAI,CAAC,oBAAoB,GAAG,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,gBAAgB,KAAK,SAAS,CAAC;QACtF,IAAI,CAAC,YAAY,GAAG,cAAc,CAAC;;;;QAInC,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;;;;QAItB,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC;;;;QAI7B,IAAI,CAAC,y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,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,gBAAgB,KAAKA,OAAC,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,KAAK,EAAE,qBAAqB,EAAE,EAAEA,OAAC,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,KAAK,EAAE,mBAAmB,EAAE,EAAEA,OAAC,CAAC,eAAe,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,OAAO,EAAE,IAAI,EAAE,EAAEA,OAAC,CAAC,IAAI,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAAEA,OAAC,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,KAAK,EAAE,sBAAsB,EAAE,EAAEA,OAAC,CAAC,eAAe,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;KACh1C;;;;;;;","names":["getBrandForegroundAppearance","slotHasContent","isSlotUsed","onComponentRequiredPropUndefined","renderDynamicChildSlots","isPropDefined","h","Host","IcBrandForegroundEnum"],"sources":["../web-components/dist/collection/components/ic-hero/ic-hero.css?tag=ic-hero&encapsulation=shadow","../web-components/dist/collection/components/ic-hero/ic-hero.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n display: block;\n background-color: var(--ic-hero-background);\n\n --hero-heading-bottom-margin: var(--ic-space-md);\n --hero-keyline: var(--ic-hero-keyline);\n}\n\n:host(.ic-hero-dark) {\n background-color: var(--ic-brand-color-secondary);\n\n --ic-hero-heading: var(--ic-color-text-primary-light);\n --ic-hero-body: var(--ic-color-text-primary-light);\n --ic-hero-secondary-heading: var(--ic-color-text-primary-light);\n --hero-keyline: var(--ic-brand-text-color);\n}\n\n.heading {\n --ic-typography-color: var(--ic-hero-heading);\n}\n\n.subheading {\n --ic-typography-color: var(--ic-hero-body);\n}\n\n.secondary-container {\n --ic-typography-color: var(--ic-hero-secondary-heading);\n\n display: flex;\n flex-direction: column;\n justify-content: center;\n border-left: var(--ic-space-xxxs) solid var(--hero-keyline);\n}\n\n:host(.has-background-image) {\n background-repeat: no-repeat;\n background-position: right -6.25rem;\n background-size: auto calc(100% + 6.25rem);\n box-shadow: var(--ic-elevation-inset);\n}\n\n@media (prefers-reduced-motion) {\n :host(.has-background-image) {\n background-position: right -6.25rem !important;\n }\n}\n\nic-typography.heading-bottom-spacing {\n margin-bottom: var(--hero-heading-bottom-margin);\n}\n\n.section-container {\n display: flex;\n align-items: center;\n height: 100%;\n}\n\n.left-container {\n padding: var(--ic-space-xl) 0;\n}\n\n.left-container:not(.left-container-full-width) {\n flex-basis: 50%;\n}\n\n.left-container-full-width {\n width: 100%;\n}\n\n.right-container {\n flex-basis: 50%;\n}\n\n.interaction-container {\n display: flex;\n gap: var(--ic-space-md);\n margin-top: var(--ic-space-lg);\n flex-wrap: wrap;\n}\n\n.secondary-subheading {\n margin-top: var(--ic-space-xxs);\n}\n\n:host([content-aligned=\"left\"]) .left-container,\n:host([content-aligned=\"left\"]) .interaction-container {\n justify-content: flex-start;\n text-align: left;\n}\n\n:host([content-aligned=\"center\"]) .left-container,\n:host([content-aligned=\"center\"]) .interaction-container {\n justify-content: center;\n text-align: center;\n}\n\n@media (min-width: 992px) {\n .left-container-full-width {\n width: 66.6%;\n }\n}\n\n@media (min-width: 1044px) {\n :host,\n .section-container {\n min-height: 13rem;\n }\n\n :host(.ic-hero-small),\n :host(.ic-hero-small) .section-container {\n min-height: 10.813rem;\n }\n\n .left-container:not(.left-container-full-width) {\n flex-basis: 66.6%;\n }\n\n .left-container {\n min-height: 9rem;\n }\n\n .right-container {\n flex-basis: 33.3%;\n margin-left: 3.125rem;\n }\n\n .secondary-container {\n min-height: 9rem;\n }\n\n .secondary-heading,\n .secondary-subheading {\n margin-left: 3.938rem;\n }\n}\n\n@media (min-width: 801px) and (max-width: 1043px) {\n :host(.has-background-image) {\n background-image: none !important;\n }\n\n :host,\n .section-container {\n min-height: 16rem;\n }\n\n :host(.ic-hero-small),\n :host(.ic-hero-small) .section-container {\n min-height: 15rem;\n }\n\n :host(.secondary-heading),\n :host(.secondary-heading) .section-container {\n min-height: 14rem;\n }\n\n .left-container {\n min-height: 10rem;\n }\n\n .secondary-container {\n min-height: 10rem;\n }\n\n .secondary-heading,\n .secondary-subheading {\n margin-left: 5.922rem;\n }\n\n .right-container {\n margin-left: 3.125rem;\n }\n}\n\n@media (min-width: 641px) and (max-width: 800px) {\n :host(.has-background-image) {\n background-image: none !important;\n }\n\n :host(.has-right-content) .section-container {\n flex-wrap: wrap;\n }\n\n :host(.has-right-content) .left-container {\n flex-basis: 100%;\n }\n\n :host(.has-right-content) .right-container {\n flex-basis: 100%;\n margin-bottom: 2.5rem;\n }\n\n :host,\n .section-container {\n min-height: 16rem;\n }\n\n :host(.ic-hero-small),\n :host(.ic-hero-small) .section-container {\n min-height: 15rem;\n }\n\n :host(.secondary-heading),\n :host(.secondary-heading) .section-container {\n min-height: 14rem;\n }\n\n .left-container {\n min-height: 10rem;\n }\n\n .secondary-container {\n min-height: 10rem;\n }\n\n .secondary-heading,\n .secondary-subheading {\n margin-left: 2.125rem;\n }\n}\n\n@media (min-width: 481px) and (max-width: 640px) {\n :host(.has-background-image) {\n background-image: none !important;\n }\n\n :host,\n .section-container {\n min-height: 13rem;\n }\n\n :host(.ic-hero-small),\n :host(.ic-hero-small) .section-container {\n min-height: 10.813rem;\n }\n\n :host(.secondary-heading),\n :host(.secondary-heading) .section-container {\n min-height: 17.5rem;\n }\n\n :host(.secondary-heading) .section-container,\n :host(.ic-hero-small) .section-container,\n .section-container {\n flex-direction: column;\n align-items: flex-start;\n }\n\n .left-container {\n height: -moz-fit-content;\n height: fit-content;\n }\n\n .secondary-container {\n height: -moz-fit-content;\n height: fit-content;\n border: none;\n }\n\n .right-container {\n margin-bottom: 2.5rem;\n }\n}\n\n@media (max-width: 480px) {\n :host(.has-background-image) {\n background-image: none !important;\n }\n\n :host,\n .section-container {\n min-height: 12rem;\n }\n\n :host,\n .right-container {\n margin-bottom: var(--ic-space-md);\n }\n\n :host(.ic-hero-small),\n :host(.ic-hero-small) .section-container {\n min-height: 10.813rem;\n }\n\n :host(.secondary-heading),\n :host(.secondary-heading) .section-container {\n min-height: 16.5rem;\n }\n\n :host(.secondary-heading) .section-container,\n :host(.ic-hero-small) .section-container,\n .section-container {\n flex-direction: column;\n align-items: flex-start;\n }\n\n .left-container {\n height: -moz-fit-content;\n height: fit-content;\n }\n\n .secondary-container {\n height: -moz-fit-content;\n height: fit-content;\n border: none;\n }\n}\n","import { Host, h, } from \"@stencil/core\";\nimport { IcBrandForegroundEnum, } from \"../../utils/types\";\nimport { slotHasContent, getBrandForegroundAppearance, onComponentRequiredPropUndefined, isPropDefined, isSlotUsed, renderDynamicChildSlots, } from \"../../utils/helpers\";\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 */\nexport class Hero {\n constructor() {\n this.hostMutationObserver = null;\n this.foregroundColor = getBrandForegroundAppearance();\n this.rightContent = false;\n // set by above state\n this.leftContentFullWidth = !this.rightContent && this.secondaryHeading === undefined;\n this.scrollFactor = \"right -100px\";\n /**\n * The alignment of the hero.\n */\n this.aligned = \"left\";\n /**\n * The alignment of the hero content.\n */\n this.contentAligned = \"left\";\n /**\n * If `true`, the background image (if set) will not scroll using a parallax effect.\n */\n this.disableBackgroundParallax = false;\n /**\n * The size of the hero component.\n */\n this.size = \"medium\";\n }\n disconnectedCallback() {\n var _a;\n (_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n }\n componentWillLoad() {\n this.rightContent = slotHasContent(this.el, \"secondary\");\n }\n componentDidLoad() {\n !isSlotUsed(this.el, \"heading\") &&\n onComponentRequiredPropUndefined([{ prop: this.heading, propName: \"heading\" }], \"Hero\");\n this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, \"secondary\", this));\n this.hostMutationObserver.observe(this.el, {\n childList: true,\n });\n }\n componentWillRender() {\n this.rightContent = slotHasContent(this.el, \"secondary\");\n }\n brandChangeHandler(ev) {\n this.foregroundColor = ev.detail.mode;\n }\n doScroll() {\n var _a;\n if (this.disableBackgroundParallax) {\n return;\n }\n const scrolltotop = (_a = document.scrollingElement) === null || _a === void 0 ? void 0 : _a.scrollTop;\n if (scrolltotop) {\n const factor = 0.4;\n const y = -100 + scrolltotop * factor;\n this.scrollFactor = \"right \" + y + \"px\";\n }\n }\n render() {\n const { aligned, size, heading, subheading, secondaryHeading, secondarySubheading, foregroundColor, backgroundImage, scrollFactor, } = this;\n let style = {};\n if (isPropDefined(backgroundImage)) {\n style = {\n \"background-image\": \"url(\" + backgroundImage + \")\",\n \"background-position\": scrollFactor,\n };\n }\n return (h(Host, { key: '4c88b4471d3485baff1f6c55f859639feb3166d8', class: {\n [`ic-hero-${IcBrandForegroundEnum.Dark}`]: 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 }, style: style }, h(\"ic-section-container\", { key: 'b68716e353d9b2767dc16a5f701e3cdcbd32c748', aligned: aligned, fullHeight: true, class: \"section-container\" }, h(\"div\", { key: '6dd6f422c0bd36725be4b41b42633aeebfa1911d', class: {\n [\"left-container\"]: true,\n [\"left-container-full-width\"]: this.leftContentFullWidth,\n } }, h(\"div\", { key: '54ffef99b79eef5eedbf1571bff89270982b5671', class: \"heading\" }, h(\"slot\", { key: '6b7f71caecbaa84d1a39295e100aedef32d1d522', name: \"heading\" }, h(\"ic-typography\", { key: '841b429a53b8b72dd60017cb2b2404b826f5bbe8', variant: size === \"small\" ? \"h2\" : \"h1\", class: {\n [\"heading-bottom-spacing\"]: size !== \"small\",\n } }, 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))))))))));\n }\n static get is() { return \"ic-hero\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-hero.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-hero.css\"]\n };\n }\n static get properties() {\n return {\n \"aligned\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcAlignment\",\n \"resolved\": \"\\\"center\\\" | \\\"full-width\\\" | \\\"left\\\" | undefined\",\n \"references\": {\n \"IcAlignment\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcAlignment\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The alignment of the hero.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"aligned\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"left\\\"\"\n },\n \"backgroundImage\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The optional background image.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"background-image\",\n \"reflect\": false\n },\n \"contentAligned\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcHeroContentAlignments\",\n \"resolved\": \"\\\"center\\\" | \\\"left\\\" | undefined\",\n \"references\": {\n \"IcHeroContentAlignments\": {\n \"location\": \"import\",\n \"path\": \"./ic-hero.types\",\n \"id\": \"src/components/ic-hero/ic-hero.types.tsx::IcHeroContentAlignments\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The alignment of the hero content.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"content-aligned\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"left\\\"\"\n },\n \"disableBackgroundParallax\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the background image (if set) will not scroll using a parallax effect.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"disable-background-parallax\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"heading\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The heading of the hero. An <h2> level heading.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"heading\",\n \"reflect\": false\n },\n \"secondaryHeading\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The optional secondary heading, an <h3> level heading. Replaced by slotted right content.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"secondary-heading\",\n \"reflect\": false\n },\n \"secondarySubheading\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The optional secondary subheading, replaced by slotted right content.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"secondary-subheading\",\n \"reflect\": false\n },\n \"size\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcSizesNoLarge\",\n \"resolved\": \"\\\"medium\\\" | \\\"small\\\" | undefined\",\n \"references\": {\n \"IcSizesNoLarge\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcSizesNoLarge\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The size of the hero component.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"size\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"medium\\\"\"\n },\n \"subheading\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The description for the hero.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"subheading\",\n \"reflect\": false\n }\n };\n }\n static get states() {\n return {\n \"foregroundColor\": {},\n \"rightContent\": {},\n \"leftContentFullWidth\": {},\n \"scrollFactor\": {}\n };\n }\n static get elementRef() { return \"el\"; }\n static get listeners() {\n return [{\n \"name\": \"brandChange\",\n \"method\": \"brandChangeHandler\",\n \"target\": \"document\",\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"scroll\",\n \"method\": \"doScroll\",\n \"target\": \"document\",\n \"capture\": false,\n \"passive\": true\n }];\n }\n}\n//# sourceMappingURL=ic-hero.js.map\n"],"version":3}
1
+ {"file":"ic-hero.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,SAAS,GAAG,o+NAAo+N,CAAC;AACv/N,qBAAe,SAAS;;MCQX,IAAI;IACb;;QACI,IAAI,CAAC,oBAAoB,GAAG,IAAI,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AE,0CAA0C,EAAE,KAAK,EAAE,uBAAuB,EAAE,EAAEA,OAAC,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC,CAAC,CAAC,EAAE,CAACD,qBAAa,CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,YAAY,MAAMC,OAAC,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,KAAK,EAAE,iBAAiB,EAAE,EAAEA,OAAC,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,gBAAgB,KAAKA,OAAC,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,KAAK,EAAE,qBAAqB,EAAE,EAAEA,OAAC,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,KAAK,EAAE,mBAAmB,EAAE,EAAEA,OAAC,CAAC,eAAe,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,OAAO,EAAE,IAAI,EAAE,EAAEA,OAAC,CAAC,IAAI,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAAEA,OAAC,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,KAAK,EAAE,sBAAsB,EAAE,EAAEA,OAAC,CAAC,eAAe,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;KACh1C;;;;;;;","names":["getBrandForegroundAppearance","slotHasContent","isSlotUsed","onComponentRequiredPropUndefined","renderDynamicChildSlots","isPropDefined","h","Host","IcBrandForegroundEnum"],"sources":["../web-components/dist/collection/components/ic-hero/ic-hero.css?tag=ic-hero&encapsulation=shadow","../web-components/dist/collection/components/ic-hero/ic-hero.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n display: block;\n background-color: var(--ic-hero-background);\n\n --hero-heading-bottom-margin: var(--ic-space-md);\n --hero-keyline: var(--ic-hero-keyline);\n}\n\n:host(.ic-hero-dark) {\n background-color: var(--ic-brand-color-secondary);\n\n --ic-hero-heading: var(--ic-color-text-primary-light);\n --ic-hero-body: var(--ic-color-text-primary-light);\n --ic-hero-secondary-heading: var(--ic-color-text-primary-light);\n --hero-keyline: var(--ic-brand-text-color);\n}\n\n.heading {\n --ic-typography-color: var(--ic-hero-heading);\n}\n\n.subheading {\n --ic-typography-color: var(--ic-hero-body);\n}\n\n.secondary-container {\n --ic-typography-color: var(--ic-hero-secondary-heading);\n\n display: flex;\n flex-direction: column;\n justify-content: center;\n border-left: var(--ic-space-xxxs) solid var(--hero-keyline);\n}\n\n:host(.has-background-image) {\n background-repeat: no-repeat;\n background-position: right -6.25rem;\n background-size: auto calc(100% + 6.25rem);\n box-shadow: var(--ic-elevation-inset);\n}\n\n@media (prefers-reduced-motion) {\n :host(.has-background-image) {\n background-position: right -6.25rem !important;\n }\n}\n\nic-typography.heading-bottom-spacing {\n margin-bottom: var(--hero-heading-bottom-margin);\n}\n\n.section-container {\n display: flex;\n align-items: center;\n height: 100%;\n}\n\n.left-container {\n padding: var(--ic-space-xl) 0;\n}\n\n.left-container:not(.left-container-full-width) {\n flex-basis: 50%;\n}\n\n.left-container-full-width {\n width: 100%;\n}\n\n.right-container {\n flex-basis: 50%;\n}\n\n.interaction-container {\n display: flex;\n gap: var(--ic-space-md);\n margin-top: var(--ic-space-lg);\n flex-wrap: wrap;\n}\n\n.secondary-subheading {\n margin-top: var(--ic-space-xxs);\n}\n\n:host([content-aligned=\"left\"]) .left-container,\n:host([content-aligned=\"left\"]) .interaction-container {\n justify-content: flex-start;\n text-align: left;\n}\n\n:host([content-aligned=\"center\"]) .left-container,\n:host([content-aligned=\"center\"]) .interaction-container {\n justify-content: center;\n text-align: center;\n}\n\n@media (min-width: 992px) {\n .left-container-full-width {\n width: 66.6%;\n }\n}\n\n@media (min-width: 1044px) {\n :host,\n .section-container {\n min-height: 13rem;\n }\n\n :host(.ic-hero-small),\n :host(.ic-hero-small) .section-container {\n min-height: 10.813rem;\n }\n\n .left-container:not(.left-container-full-width) {\n flex-basis: 66.6%;\n }\n\n .left-container {\n min-height: 9rem;\n }\n\n .right-container {\n flex-basis: 33.3%;\n margin-left: 3.125rem;\n }\n\n .secondary-container {\n min-height: 9rem;\n }\n\n .secondary-heading,\n .secondary-subheading {\n margin-left: 3.938rem;\n }\n}\n\n@media (min-width: 801px) and (max-width: 1043px) {\n :host(.has-background-image) {\n background-image: none !important;\n }\n\n :host,\n .section-container {\n min-height: 16rem;\n }\n\n :host(.ic-hero-small),\n :host(.ic-hero-small) .section-container {\n min-height: 15rem;\n }\n\n :host(.secondary-heading),\n :host(.secondary-heading) .section-container {\n min-height: 14rem;\n }\n\n .left-container {\n min-height: 10rem;\n }\n\n .secondary-container {\n min-height: 10rem;\n }\n\n .secondary-heading,\n .secondary-subheading {\n margin-left: 5.922rem;\n }\n\n .right-container {\n margin-left: 3.125rem;\n }\n}\n\n@media (min-width: 641px) and (max-width: 800px) {\n :host(.has-background-image) {\n background-image: none !important;\n }\n\n :host(.has-right-content) .section-container {\n flex-wrap: wrap;\n }\n\n :host(.has-right-content) .left-container {\n flex-basis: 100%;\n }\n\n :host(.has-right-content) .right-container {\n flex-basis: 100%;\n margin-bottom: 2.5rem;\n }\n\n :host,\n .section-container {\n min-height: 16rem;\n }\n\n :host(.ic-hero-small),\n :host(.ic-hero-small) .section-container {\n min-height: 15rem;\n }\n\n :host(.secondary-heading),\n :host(.secondary-heading) .section-container {\n min-height: 14rem;\n }\n\n .left-container {\n min-height: 10rem;\n }\n\n .secondary-container {\n min-height: 10rem;\n }\n\n .secondary-heading,\n .secondary-subheading {\n margin-left: 2.125rem;\n }\n}\n\n@media (min-width: 481px) and (max-width: 640px) {\n :host(.has-background-image) {\n background-image: none !important;\n }\n\n :host,\n .section-container {\n min-height: 13rem;\n }\n\n :host(.ic-hero-small),\n :host(.ic-hero-small) .section-container {\n min-height: 10.813rem;\n }\n\n :host(.secondary-heading),\n :host(.secondary-heading) .section-container {\n min-height: 17.5rem;\n }\n\n :host(.secondary-heading) .section-container,\n :host(.ic-hero-small) .section-container,\n .section-container {\n flex-direction: column;\n align-items: flex-start;\n }\n\n .left-container {\n height: -moz-fit-content;\n height: fit-content;\n }\n\n .secondary-container {\n height: -moz-fit-content;\n height: fit-content;\n border: none;\n }\n\n .right-container {\n margin-bottom: 2.5rem;\n }\n}\n\n@media (max-width: 480px) {\n :host(.has-background-image) {\n background-image: none !important;\n }\n\n :host,\n .section-container {\n min-height: 12rem;\n }\n\n :host,\n .right-container {\n margin-bottom: var(--ic-space-md);\n }\n\n :host(.ic-hero-small),\n :host(.ic-hero-small) .section-container {\n min-height: 10.813rem;\n }\n\n :host(.secondary-heading),\n :host(.secondary-heading) .section-container {\n min-height: 16.5rem;\n }\n\n :host(.secondary-heading) .section-container,\n :host(.ic-hero-small) .section-container,\n .section-container {\n flex-direction: column;\n align-items: flex-start;\n }\n\n .left-container {\n height: -moz-fit-content;\n height: fit-content;\n }\n\n .secondary-container {\n height: -moz-fit-content;\n height: fit-content;\n border: none;\n }\n}\n","import { Host, h, } from \"@stencil/core\";\nimport { IcBrandForegroundEnum, } from \"../../utils/types\";\nimport { slotHasContent, getBrandForegroundAppearance, onComponentRequiredPropUndefined, isPropDefined, isSlotUsed, renderDynamicChildSlots, } from \"../../utils/helpers\";\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 */\nexport class Hero {\n constructor() {\n this.hostMutationObserver = null;\n this.foregroundColor = getBrandForegroundAppearance();\n this.rightContent = false;\n // set by above state\n this.leftContentFullWidth = !this.rightContent && this.secondaryHeading === undefined;\n this.scrollFactor = \"right -100px\";\n /**\n * The alignment of the hero.\n */\n this.aligned = \"left\";\n /**\n * The alignment of the hero content.\n */\n this.contentAligned = \"left\";\n /**\n * If `true`, the background image (if set) will not scroll using a parallax effect.\n */\n this.disableBackgroundParallax = false;\n /**\n * The size of the hero component.\n */\n this.size = \"medium\";\n }\n disconnectedCallback() {\n var _a;\n (_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n }\n componentWillLoad() {\n this.rightContent = slotHasContent(this.el, \"secondary\");\n }\n componentDidLoad() {\n !isSlotUsed(this.el, \"heading\") &&\n onComponentRequiredPropUndefined([{ prop: this.heading, propName: \"heading\" }], \"Hero\");\n this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, \"secondary\", this));\n this.hostMutationObserver.observe(this.el, {\n childList: true,\n });\n }\n componentWillRender() {\n this.rightContent = slotHasContent(this.el, \"secondary\");\n }\n brandChangeHandler(ev) {\n this.foregroundColor = ev.detail.mode;\n }\n doScroll() {\n var _a;\n if (this.disableBackgroundParallax) {\n return;\n }\n const scrolltotop = (_a = document.scrollingElement) === null || _a === void 0 ? void 0 : _a.scrollTop;\n if (scrolltotop) {\n const factor = 0.4;\n const y = -100 + scrolltotop * factor;\n this.scrollFactor = \"right \" + y + \"px\";\n }\n }\n render() {\n const { aligned, size, heading, subheading, secondaryHeading, secondarySubheading, foregroundColor, backgroundImage, scrollFactor, } = this;\n let style = {};\n if (isPropDefined(backgroundImage)) {\n style = {\n \"background-image\": \"url(\" + backgroundImage + \")\",\n \"background-position\": scrollFactor,\n };\n }\n return (h(Host, { key: '482bc3a82ab3561d6f88c999ca302006a1d1aa0f', class: {\n [`ic-hero-${IcBrandForegroundEnum.Dark}`]: 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 }, style: style }, h(\"ic-section-container\", { key: '178b06d47614a00c4dabe06841acfebe369f7c0a', aligned: aligned, fullHeight: true, class: \"section-container\" }, h(\"div\", { key: '3cec4f74434ae64cc7c7df77755c32a54719e08a', class: {\n [\"left-container\"]: true,\n [\"left-container-full-width\"]: this.leftContentFullWidth,\n } }, h(\"div\", { key: '8053a5fad4279b04af9bb3ec1f606ec443c70b80', class: \"heading\" }, h(\"slot\", { key: 'ea0ec581076b555f8cbc03bd26be611e0e002df3', name: \"heading\" }, h(\"ic-typography\", { key: '93e39803e6d71599ee3831161dee785b0fa6dda7', variant: size === \"small\" ? \"h2\" : \"h1\", class: {\n [\"heading-bottom-spacing\"]: size !== \"small\",\n } }, h(\"h2\", { key: '6931cd6ef37ca5ab9d01d4ca969130b9daf8d7a5' }, heading)))), h(\"div\", { key: 'a6212993adb3a6f3e4b267825e73cbf02e3129e7', class: \"subheading\" }, h(\"slot\", { key: '993071f73747a2d880a1b858f4fd6d9fec507002', name: \"subheading\" }, h(\"ic-typography\", { key: 'e16fd2e61701713aa782b9d128de9187cc81edd3', variant: \"body\" }, subheading))), h(\"div\", { key: '0ecd487ff2614787759eb35bdc8c6aecb385d795', class: \"interaction-container\" }, h(\"slot\", { key: '653843aca5d99e5bed6d0343e31c285ca1ad7e6d', name: \"interaction\" }))), (isPropDefined(secondaryHeading) || this.rightContent) && (h(\"div\", { key: 'ce6b3edc98f9f112b0bde6c590e1fbf7d3b75af8', class: \"right-container\" }, h(\"slot\", { key: '173399d87b56f858542b71da3105d25f639aad87', name: \"secondary\" }, secondaryHeading && (h(\"div\", { key: 'a2e895801f1611c60baacde029f2c55ce36b60a3', class: \"secondary-container\" }, h(\"div\", { key: 'aedd5eb54afb5f93a263cf366223257c6074b697', class: \"secondary-heading\" }, h(\"ic-typography\", { key: '6ec103c17df879c443aa587c09e32bfac942c2e3', variant: \"h4\" }, h(\"h3\", { key: '37623268a450894886e5ae7fe773a950a120c3cc' }, secondaryHeading))), h(\"div\", { key: '8e0ca17e68cf68c016040827d2999635babd1c9d', class: \"secondary-subheading\" }, h(\"ic-typography\", { key: '14c59d487b56af4c70a4ec37ab6091262bcc4b69', variant: \"subtitle-small\" }, secondarySubheading))))))))));\n }\n static get is() { return \"ic-hero\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-hero.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-hero.css\"]\n };\n }\n static get properties() {\n return {\n \"aligned\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcAlignment\",\n \"resolved\": \"\\\"center\\\" | \\\"full-width\\\" | \\\"left\\\" | undefined\",\n \"references\": {\n \"IcAlignment\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcAlignment\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The alignment of the hero.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"aligned\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"left\\\"\"\n },\n \"backgroundImage\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The optional background image.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"background-image\",\n \"reflect\": false\n },\n \"contentAligned\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcHeroContentAlignments\",\n \"resolved\": \"\\\"center\\\" | \\\"left\\\" | undefined\",\n \"references\": {\n \"IcHeroContentAlignments\": {\n \"location\": \"import\",\n \"path\": \"./ic-hero.types\",\n \"id\": \"src/components/ic-hero/ic-hero.types.tsx::IcHeroContentAlignments\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The alignment of the hero content.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"content-aligned\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"left\\\"\"\n },\n \"disableBackgroundParallax\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the background image (if set) will not scroll using a parallax effect.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"disable-background-parallax\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"heading\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The heading of the hero. An <h2> level heading.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"heading\",\n \"reflect\": false\n },\n \"secondaryHeading\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The optional secondary heading, an <h3> level heading. Replaced by slotted right content.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"secondary-heading\",\n \"reflect\": false\n },\n \"secondarySubheading\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The optional secondary subheading, replaced by slotted right content.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"secondary-subheading\",\n \"reflect\": false\n },\n \"size\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcSizesNoLarge\",\n \"resolved\": \"\\\"medium\\\" | \\\"small\\\" | undefined\",\n \"references\": {\n \"IcSizesNoLarge\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcSizesNoLarge\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The size of the hero component.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"size\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"medium\\\"\"\n },\n \"subheading\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The description for the hero.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"subheading\",\n \"reflect\": false\n }\n };\n }\n static get states() {\n return {\n \"foregroundColor\": {},\n \"rightContent\": {},\n \"leftContentFullWidth\": {},\n \"scrollFactor\": {}\n };\n }\n static get elementRef() { return \"el\"; }\n static get listeners() {\n return [{\n \"name\": \"brandChange\",\n \"method\": \"brandChangeHandler\",\n \"target\": \"document\",\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"scroll\",\n \"method\": \"doScroll\",\n \"target\": \"document\",\n \"capture\": false,\n \"passive\": true\n }];\n }\n}\n//# sourceMappingURL=ic-hero.js.map\n"],"version":3}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d337cd8a.js');
6
- const helpers = require('./helpers-74cf2649.js');
6
+ const helpers = require('./helpers-56717660.js');
7
7
 
8
8
  const LeftArrow = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
9
9
  <path d="M13.0875 6.175L11.9125 5L6.91251 10L11.9125 15L13.0875 13.825L9.27084 10L13.0875 6.175Z"/>
@@ -168,22 +168,22 @@ const HorizontalScroll = class {
168
168
  }
169
169
  render() {
170
170
  const { firstItemVisible, lastItemVisible, itemOverflow } = this;
171
- return (index.h(index.Host, { key: '3c307f5bddcc7b6c8ab7764d08504585f61e203d', class: {
171
+ return (index.h(index.Host, { key: '5c313665e71e0abc91a19f204ccf08d7b017f46b', class: {
172
172
  ["ic-horizontal-scroll-visible"]: itemOverflow,
173
173
  ["ic-horizontal-scroll-dark"]: this.appearance === helpers.IcBrandForegroundEnum.Dark,
174
174
  ["ic-horizontal-scroll-light"]: this.appearance === helpers.IcBrandForegroundEnum.Light,
175
175
  [`ic-theme-${this.theme}`]: this.theme !== "inherit",
176
- } }, index.h("div", { key: 'f4bda7e5c0108e986191cde56ef8e255a80b604f', "aria-hidden": "true", class: {
176
+ } }, index.h("div", { key: '7a65d56af26a6bfe660c3e923beaf7b512f77de8', "aria-hidden": "true", class: {
177
177
  ["scroll-container-left"]: true,
178
178
  ["hidden"]: !itemOverflow,
179
179
  ["disabled"]: firstItemVisible,
180
- }, role: "tab" }, index.h("ic-button", { key: '5eb199e69ca500c8e84e9b79cec4a3448b604c39', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll left", theme: this.theme === "light" || this.theme === "inherit"
180
+ }, role: "tab" }, index.h("ic-button", { key: '0203d6acdde7444d03038b3ec86f3e318615030d', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll left", theme: this.theme === "light" || this.theme === "inherit"
181
181
  ? "dark"
182
- : "light", monochrome: this.monochrome, innerHTML: LeftArrow, disabled: firstItemVisible, tabindex: "-1", onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler }), index.h("span", { key: 'c939c5db95cc4b61645045ef498cc9b80c4f3d69', class: "scroll-splitter-left" })), index.h("slot", { key: '3ded812f11a7bbdc25157d840ee32f23ed58131b' }), index.h("div", { key: 'e713490eb2995ff19ec70bf0a098193eaa9829a8', "aria-hidden": "true", class: {
182
+ : "light", monochrome: this.monochrome, innerHTML: LeftArrow, disabled: firstItemVisible, tabindex: "-1", onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler }), index.h("span", { key: 'dffb5fee1c17005205216d0901141317e2dc4aa6', class: "scroll-splitter-left" })), index.h("slot", { key: 'f637c15f3020e1572a61179c2132dece11d0699a' }), index.h("div", { key: 'c563d5ca6d07a66f2111bea5aebe7d36ae481770', "aria-hidden": "true", class: {
183
183
  ["scroll-container-right"]: true,
184
184
  ["hidden"]: !itemOverflow,
185
185
  ["disabled"]: lastItemVisible,
186
- }, role: "tab" }, index.h("span", { key: 'a2427e872d8ab79ef0022ccb216238867e49065c', class: "scroll-splitter-right" }), index.h("ic-button", { key: 'a58d98e7d695fe15e3c085f1bec0079045817b2d', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll right", theme: this.theme === "light" || this.theme === "inherit"
186
+ }, role: "tab" }, index.h("span", { key: 'd8afe9aaf2304d13909815aeb8e60ac4f8952f7f', class: "scroll-splitter-right" }), index.h("ic-button", { key: '4f3be747e736a50705793742b0a1e9fab44d56db', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll right", theme: this.theme === "light" || this.theme === "inherit"
187
187
  ? "dark"
188
188
  : "light", monochrome: this.monochrome, innerHTML: RightArrow, disabled: lastItemVisible, tabindex: "-1", onClick: this.scrollRight, onMouseDown: this.rightArrowMouseDownHandler }))));
189
189
  }