@ukic/web-components 2.1.0-beta.1 → 2.1.0-beta.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (868) hide show
  1. package/README.md +8 -0
  2. package/dist/cjs/OpenInNew-f9958725.js +7 -0
  3. package/dist/cjs/OpenInNew-f9958725.js.map +1 -0
  4. package/dist/cjs/{check-icon-999d9877.js → check-icon-b2f60716.js} +2 -2
  5. package/dist/cjs/check-icon-b2f60716.js.map +1 -0
  6. package/dist/cjs/chevron-icon-2bb3a907.js +10 -0
  7. package/dist/cjs/chevron-icon-2bb3a907.js.map +1 -0
  8. package/dist/cjs/core.cjs.js +2 -2
  9. package/dist/cjs/{helpers-8bc3b6d2.js → helpers-2021e212.js} +78 -4
  10. package/dist/cjs/helpers-2021e212.js.map +1 -0
  11. package/dist/cjs/ic-alert.cjs.entry.js +6 -25
  12. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-back-to-top.cjs.entry.js +24 -12
  14. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +2 -2
  16. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-breadcrumb.cjs.entry.js +15 -6
  18. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-button_3.cjs.entry.js +46 -31
  20. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-card.cjs.entry.js +29 -5
  22. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-checkbox-group.cjs.entry.js +4 -4
  24. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-checkbox.cjs.entry.js +16 -4
  26. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-chip.cjs.entry.js +77 -0
  28. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -0
  29. package/dist/cjs/ic-classification-banner.cjs.entry.js +3 -3
  30. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-data-entity.cjs.entry.js +2 -2
  32. package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-data-row.cjs.entry.js +14 -12
  34. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-divider.cjs.entry.js +3 -3
  36. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ic-footer-link-group.cjs.entry.js +4 -3
  38. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-footer-link.cjs.entry.js +12 -5
  40. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-footer.cjs.entry.js +5 -5
  42. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ic-hero.cjs.entry.js +3 -3
  44. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +164 -0
  46. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -0
  47. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +79 -45
  48. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-input-label_2.cjs.entry.js +6 -8
  50. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-link.cjs.entry.js +14 -8
  52. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-menu-group.cjs.entry.js +24 -0
  54. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -0
  55. package/dist/cjs/ic-menu-item.cjs.entry.js +120 -0
  56. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -0
  57. package/dist/cjs/ic-navigation-button.cjs.entry.js +5 -4
  58. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ic-navigation-group.cjs.entry.js +7 -6
  60. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-navigation-item.cjs.entry.js +19 -12
  62. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-navigation-menu.cjs.entry.js +8 -8
  64. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-page-header.cjs.entry.js +5 -5
  66. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-popover-menu.cjs.entry.js +236 -0
  68. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -0
  69. package/dist/cjs/ic-radio-group.cjs.entry.js +13 -5
  70. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-radio-option.cjs.entry.js +24 -6
  72. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ic-search-bar.cjs.entry.js +56 -42
  74. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  75. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  76. package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
  77. package/dist/cjs/ic-select.cjs.entry.js +218 -69
  78. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ic-side-navigation.cjs.entry.js +26 -14
  80. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
  82. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  83. package/dist/cjs/ic-status-tag.cjs.entry.js +6 -5
  84. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ic-step.cjs.entry.js +103 -15
  86. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ic-stepper.cjs.entry.js +166 -42
  88. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ic-switch.cjs.entry.js +12 -3
  90. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  91. package/dist/cjs/ic-tab-context.cjs.entry.js +7 -2
  92. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  93. package/dist/cjs/ic-tab-group.cjs.entry.js +9 -118
  94. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  95. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  96. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  97. package/dist/cjs/ic-tab.cjs.entry.js +10 -2
  98. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  99. package/dist/cjs/ic-text-field.cjs.entry.js +5 -5
  100. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  101. package/dist/cjs/ic-theme.cjs.entry.js +4 -4
  102. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  103. package/dist/cjs/ic-toast-region.cjs.entry.js +48 -0
  104. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -0
  105. package/dist/cjs/ic-toast.cjs.entry.js +165 -0
  106. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -0
  107. package/dist/cjs/ic-top-navigation.cjs.entry.js +15 -10
  108. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  109. package/dist/cjs/ic-typography.cjs.entry.js +1 -1
  110. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  111. package/dist/cjs/{index-3ef30d9d.js → index-f79a4e53.js} +33 -2
  112. package/dist/cjs/index-f79a4e53.js.map +1 -0
  113. package/dist/cjs/loader.cjs.js +2 -2
  114. package/dist/cjs/types-3eb02246.js.map +1 -1
  115. package/dist/collection/assets/back-icon.svg +1 -1
  116. package/dist/collection/assets/check-icon.svg +1 -1
  117. package/dist/collection/assets/chevron-icon.svg +1 -1
  118. package/dist/collection/assets/dismiss-icon.svg +3 -0
  119. package/dist/collection/assets/error-icon.svg +3 -3
  120. package/dist/collection/assets/info-icon.svg +3 -3
  121. package/dist/collection/assets/neutral-icon.svg +3 -3
  122. package/dist/collection/assets/success-icon.svg +3 -3
  123. package/dist/collection/assets/warning-icon-outline.svg +3 -0
  124. package/dist/collection/assets/warning-icon.svg +3 -3
  125. package/dist/collection/collection-manifest.json +7 -0
  126. package/dist/collection/components/ic-alert/ic-alert.css +13 -13
  127. package/dist/collection/components/ic-alert/ic-alert.js +32 -24
  128. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  129. package/dist/collection/components/ic-back-to-top/assets/ArrowUpward.svg +2 -2
  130. package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +18 -8
  131. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +18 -7
  132. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
  133. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +20 -5
  134. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +33 -4
  135. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
  136. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +2 -2
  137. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
  138. package/dist/collection/components/ic-button/ic-button.css +16 -15
  139. package/dist/collection/components/ic-button/ic-button.js +18 -32
  140. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  141. package/dist/collection/components/ic-card/ic-card.css +75 -17
  142. package/dist/collection/components/ic-card/ic-card.js +103 -16
  143. package/dist/collection/components/ic-card/ic-card.js.map +1 -1
  144. package/dist/collection/components/ic-checkbox/ic-checkbox.css +28 -30
  145. package/dist/collection/components/ic-checkbox/ic-checkbox.js +63 -11
  146. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  147. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +18 -2
  148. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +11 -11
  149. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  150. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js +1 -1
  151. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js.map +1 -1
  152. package/dist/collection/components/ic-chip/ic-chip.css +596 -0
  153. package/dist/collection/components/ic-chip/ic-chip.js +247 -0
  154. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -0
  155. package/dist/collection/components/ic-chip/ic-chip.test.a11y.js +11 -0
  156. package/dist/collection/components/ic-chip/ic-chip.test.a11y.js.map +1 -0
  157. package/dist/collection/components/ic-chip/ic-chip.types.js +2 -0
  158. package/dist/collection/components/ic-chip/ic-chip.types.js.map +1 -0
  159. package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +5 -1
  160. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +6 -6
  161. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
  162. package/dist/collection/components/ic-data-entity/ic-data-entity.css +1 -1
  163. package/dist/collection/components/ic-data-entity/ic-data-entity.js +2 -2
  164. package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +1 -1
  165. package/dist/collection/components/ic-data-row/ic-data-row.css +19 -7
  166. package/dist/collection/components/ic-data-row/ic-data-row.js +14 -12
  167. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
  168. package/dist/collection/components/ic-divider/ic-divider.css +1 -1
  169. package/dist/collection/components/ic-divider/ic-divider.js +1 -1
  170. package/dist/collection/components/ic-divider/ic-divider.js.map +1 -1
  171. package/dist/collection/components/ic-footer/ic-footer.css +4 -4
  172. package/dist/collection/components/ic-footer/ic-footer.js +19 -16
  173. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
  174. package/dist/collection/components/ic-footer-link/ic-footer-link.css +44 -6
  175. package/dist/collection/components/ic-footer-link/ic-footer-link.js +101 -4
  176. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
  177. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +1 -1
  178. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +4 -3
  179. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
  180. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js +1 -1
  181. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js.map +1 -1
  182. package/dist/collection/components/ic-hero/ic-hero.css +35 -30
  183. package/dist/collection/components/ic-hero/ic-hero.js +10 -10
  184. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  185. package/dist/collection/components/ic-horizontal-scroll/assets/left-arrow.svg +3 -0
  186. package/dist/collection/components/ic-horizontal-scroll/assets/right-arrow.svg +3 -0
  187. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +539 -0
  188. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +219 -0
  189. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -0
  190. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js +34 -0
  191. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js.map +1 -0
  192. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +16 -17
  193. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +8 -8
  194. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
  195. package/dist/collection/components/ic-input-container/ic-input-container.css +0 -1
  196. package/dist/collection/components/ic-input-container/ic-input-container.js +2 -2
  197. package/dist/collection/components/ic-input-container/ic-input-container.js.map +1 -1
  198. package/dist/collection/components/ic-input-label/ic-input-label.js +8 -8
  199. package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
  200. package/dist/collection/components/ic-input-validation/ic-input-validation.css +4 -5
  201. package/dist/collection/components/ic-input-validation/ic-input-validation.js +5 -5
  202. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
  203. package/dist/collection/components/ic-link/ic-link.css +14 -10
  204. package/dist/collection/components/ic-link/ic-link.js +43 -13
  205. package/dist/collection/components/ic-link/ic-link.js.map +1 -1
  206. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +43 -7
  207. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +48 -9
  208. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
  209. package/dist/collection/components/ic-menu/ic-menu.css +20 -15
  210. package/dist/collection/components/ic-menu/ic-menu.js +144 -73
  211. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  212. package/dist/collection/components/ic-menu-group/ic-menu-group.css +465 -0
  213. package/dist/collection/components/ic-menu-group/ic-menu-group.js +45 -0
  214. package/dist/collection/components/ic-menu-group/ic-menu-group.js.map +1 -0
  215. package/dist/collection/components/ic-menu-item/ic-menu-item.css +633 -0
  216. package/dist/collection/components/ic-menu-item/ic-menu-item.js +392 -0
  217. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -0
  218. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js +2 -0
  219. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js.map +1 -0
  220. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +9 -8
  221. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  222. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +14 -7
  223. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +7 -6
  224. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  225. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +68 -18
  226. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +113 -16
  227. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  228. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +15 -11
  229. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +8 -8
  230. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
  231. package/dist/collection/components/ic-page-header/ic-page-header.css +15 -5
  232. package/dist/collection/components/ic-page-header/ic-page-header.js +10 -10
  233. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
  234. package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +535 -0
  235. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +432 -0
  236. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -0
  237. package/dist/collection/components/ic-popover-menu/ic-popover-menu.test.a11y.js +13 -0
  238. package/dist/collection/components/ic-popover-menu/ic-popover-menu.test.a11y.js.map +1 -0
  239. package/dist/collection/components/ic-radio-group/ic-radio-group.css +32 -0
  240. package/dist/collection/components/ic-radio-group/ic-radio-group.js +44 -13
  241. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  242. package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js +1 -1
  243. package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js.map +1 -1
  244. package/dist/collection/components/ic-radio-option/ic-radio-option.css +32 -42
  245. package/dist/collection/components/ic-radio-option/ic-radio-option.js +65 -19
  246. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  247. package/dist/collection/components/ic-search-bar/ic-search-bar.css +24 -18
  248. package/dist/collection/components/ic-search-bar/ic-search-bar.js +90 -83
  249. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  250. package/dist/collection/components/ic-section-container/ic-section-container.css +1 -0
  251. package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
  252. package/dist/collection/components/ic-section-container/ic-section-container.js.map +1 -1
  253. package/dist/collection/components/ic-select/assets/Expand.svg +1 -1
  254. package/dist/collection/components/ic-select/ic-select.css +47 -30
  255. package/dist/collection/components/ic-select/ic-select.js +336 -88
  256. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  257. package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js +90 -0
  258. package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js.map +1 -1
  259. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +47 -37
  260. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +40 -24
  261. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  262. package/dist/collection/components/ic-skeleton/ic-skeleton.css +1 -1
  263. package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
  264. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
  265. package/dist/collection/components/ic-status-tag/ic-status-tag.css +7 -7
  266. package/dist/collection/components/ic-status-tag/ic-status-tag.js +22 -3
  267. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
  268. package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js +1 -1
  269. package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js.map +1 -1
  270. package/dist/collection/components/ic-step/ic-step.css +127 -30
  271. package/dist/collection/components/ic-step/ic-step.js +269 -28
  272. package/dist/collection/components/ic-step/ic-step.js.map +1 -1
  273. package/dist/collection/components/ic-step/ic-step.types.js.map +1 -1
  274. package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js +74 -0
  275. package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js.map +1 -0
  276. package/dist/collection/components/ic-stepper/ic-stepper.css +15 -1
  277. package/dist/collection/components/ic-stepper/ic-stepper.js +210 -40
  278. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
  279. package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js +13 -1
  280. package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js.map +1 -1
  281. package/dist/collection/components/ic-switch/ic-switch.css +20 -20
  282. package/dist/collection/components/ic-switch/ic-switch.js +36 -7
  283. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  284. package/dist/collection/components/ic-tab/ic-tab.css +1 -1
  285. package/dist/collection/components/ic-tab/ic-tab.js +37 -6
  286. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
  287. package/dist/collection/components/ic-tab-context/ic-tab-context.js +31 -4
  288. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
  289. package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js +1 -1
  290. package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js.map +1 -1
  291. package/dist/collection/components/ic-tab-group/ic-tab-group.css +6 -120
  292. package/dist/collection/components/ic-tab-group/ic-tab-group.js +12 -156
  293. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
  294. package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +4 -0
  295. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +2 -2
  296. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
  297. package/dist/collection/components/ic-text-field/ic-text-field.css +7 -7
  298. package/dist/collection/components/ic-text-field/ic-text-field.js +32 -32
  299. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  300. package/dist/collection/components/ic-theme/ic-theme.js +9 -6
  301. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
  302. package/dist/collection/components/ic-toast/ic-toast.css +602 -0
  303. package/dist/collection/components/ic-toast/ic-toast.js +382 -0
  304. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -0
  305. package/dist/collection/components/ic-toast/ic-toast.test.a11y.js +16 -0
  306. package/dist/collection/components/ic-toast/ic-toast.test.a11y.js.map +1 -0
  307. package/dist/collection/components/ic-toast/ic-toast.types.js +2 -0
  308. package/dist/collection/components/ic-toast/ic-toast.types.js.map +1 -0
  309. package/dist/collection/components/ic-toast-region/ic-toast-region.js +81 -0
  310. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -0
  311. package/dist/collection/components/ic-tooltip/ic-tooltip.css +9 -11
  312. package/dist/collection/components/ic-tooltip/ic-tooltip.js +28 -3
  313. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  314. package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +34 -52
  315. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +21 -15
  316. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  317. package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js +1 -1
  318. package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js.map +1 -1
  319. package/dist/collection/components/ic-typography/ic-typography.js +1 -1
  320. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
  321. package/dist/collection/normalize.css +440 -0
  322. package/dist/collection/testspec.setup.js +8 -0
  323. package/dist/collection/testspec.setup.js.map +1 -1
  324. package/dist/collection/utils/constants.js +28 -0
  325. package/dist/collection/utils/constants.js.map +1 -1
  326. package/dist/collection/utils/helpers.js +13 -4
  327. package/dist/collection/utils/helpers.js.map +1 -1
  328. package/dist/collection/utils/types.js.map +1 -1
  329. package/dist/components/OpenInNew.js +5 -0
  330. package/dist/components/OpenInNew.js.map +1 -0
  331. package/dist/components/check-icon.js +1 -1
  332. package/dist/components/chevron-icon.js +1 -1
  333. package/dist/components/helpers.js +71 -4
  334. package/dist/components/helpers.js.map +1 -1
  335. package/dist/components/ic-alert.js +6 -25
  336. package/dist/components/ic-alert.js.map +1 -1
  337. package/dist/components/ic-back-to-top.js +23 -11
  338. package/dist/components/ic-back-to-top.js.map +1 -1
  339. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  340. package/dist/components/ic-breadcrumb2.js +14 -4
  341. package/dist/components/ic-breadcrumb2.js.map +1 -1
  342. package/dist/components/ic-button2.js +9 -20
  343. package/dist/components/ic-button2.js.map +1 -1
  344. package/dist/components/ic-card.js +52 -6
  345. package/dist/components/ic-card.js.map +1 -1
  346. package/dist/components/ic-checkbox-group.js +3 -3
  347. package/dist/components/ic-checkbox-group.js.map +1 -1
  348. package/dist/components/ic-checkbox.js +17 -4
  349. package/dist/components/ic-checkbox.js.map +1 -1
  350. package/dist/components/ic-chip.d.ts +11 -0
  351. package/dist/components/ic-chip.js +111 -0
  352. package/dist/components/ic-chip.js.map +1 -0
  353. package/dist/components/ic-classification-banner.js +2 -2
  354. package/dist/components/ic-classification-banner.js.map +1 -1
  355. package/dist/components/ic-data-entity.js +1 -1
  356. package/dist/components/ic-data-entity.js.map +1 -1
  357. package/dist/components/ic-data-row.js +12 -10
  358. package/dist/components/ic-data-row.js.map +1 -1
  359. package/dist/components/ic-divider2.js +2 -2
  360. package/dist/components/ic-divider2.js.map +1 -1
  361. package/dist/components/ic-footer-link-group.js +4 -3
  362. package/dist/components/ic-footer-link-group.js.map +1 -1
  363. package/dist/components/ic-footer-link.js +17 -5
  364. package/dist/components/ic-footer-link.js.map +1 -1
  365. package/dist/components/ic-footer.js +4 -4
  366. package/dist/components/ic-footer.js.map +1 -1
  367. package/dist/components/ic-hero.js +2 -2
  368. package/dist/components/ic-hero.js.map +1 -1
  369. package/dist/components/ic-horizontal-scroll.d.ts +11 -0
  370. package/dist/components/ic-horizontal-scroll.js +8 -0
  371. package/dist/components/ic-horizontal-scroll.js.map +1 -0
  372. package/dist/components/ic-horizontal-scroll2.js +205 -0
  373. package/dist/components/ic-horizontal-scroll2.js.map +1 -0
  374. package/dist/components/ic-input-component-container2.js +2 -3
  375. package/dist/components/ic-input-component-container2.js.map +1 -1
  376. package/dist/components/ic-input-container2.js +1 -1
  377. package/dist/components/ic-input-container2.js.map +1 -1
  378. package/dist/components/ic-input-label2.js +1 -1
  379. package/dist/components/ic-input-label2.js.map +1 -1
  380. package/dist/components/ic-input-validation2.js +2 -4
  381. package/dist/components/ic-input-validation2.js.map +1 -1
  382. package/dist/components/ic-link2.js +16 -9
  383. package/dist/components/ic-link2.js.map +1 -1
  384. package/dist/components/ic-loading-indicator2.js +27 -7
  385. package/dist/components/ic-loading-indicator2.js.map +1 -1
  386. package/dist/components/ic-menu-group.d.ts +11 -0
  387. package/dist/components/ic-menu-group.js +46 -0
  388. package/dist/components/ic-menu-group.js.map +1 -0
  389. package/dist/components/ic-menu-item.d.ts +11 -0
  390. package/dist/components/ic-menu-item.js +8 -0
  391. package/dist/components/ic-menu-item.js.map +1 -0
  392. package/dist/components/ic-menu-item2.js +167 -0
  393. package/dist/components/ic-menu-item2.js.map +1 -0
  394. package/dist/components/ic-menu2.js +75 -41
  395. package/dist/components/ic-menu2.js.map +1 -1
  396. package/dist/components/ic-navigation-button.js +5 -4
  397. package/dist/components/ic-navigation-button.js.map +1 -1
  398. package/dist/components/ic-navigation-group.js +5 -4
  399. package/dist/components/ic-navigation-group.js.map +1 -1
  400. package/dist/components/ic-navigation-item.js +22 -10
  401. package/dist/components/ic-navigation-item.js.map +1 -1
  402. package/dist/components/ic-navigation-menu2.js +8 -8
  403. package/dist/components/ic-navigation-menu2.js.map +1 -1
  404. package/dist/components/ic-page-header.js +30 -6
  405. package/dist/components/ic-page-header.js.map +1 -1
  406. package/dist/components/ic-popover-menu.d.ts +11 -0
  407. package/dist/components/ic-popover-menu.js +290 -0
  408. package/dist/components/ic-popover-menu.js.map +1 -0
  409. package/dist/components/ic-radio-group.js +14 -5
  410. package/dist/components/ic-radio-group.js.map +1 -1
  411. package/dist/components/ic-radio-option.js +26 -7
  412. package/dist/components/ic-radio-option.js.map +1 -1
  413. package/dist/components/ic-search-bar.js +59 -44
  414. package/dist/components/ic-search-bar.js.map +1 -1
  415. package/dist/components/ic-section-container2.js +1 -1
  416. package/dist/components/ic-section-container2.js.map +1 -1
  417. package/dist/components/ic-select.js +224 -69
  418. package/dist/components/ic-select.js.map +1 -1
  419. package/dist/components/ic-side-navigation.js +23 -11
  420. package/dist/components/ic-side-navigation.js.map +1 -1
  421. package/dist/components/ic-skeleton.js +1 -1
  422. package/dist/components/ic-skeleton.js.map +1 -1
  423. package/dist/components/ic-status-tag.js +6 -4
  424. package/dist/components/ic-status-tag.js.map +1 -1
  425. package/dist/components/ic-step.js +117 -16
  426. package/dist/components/ic-step.js.map +1 -1
  427. package/dist/components/ic-stepper.js +173 -42
  428. package/dist/components/ic-stepper.js.map +1 -1
  429. package/dist/components/ic-switch.js +13 -3
  430. package/dist/components/ic-switch.js.map +1 -1
  431. package/dist/components/ic-tab-context.js +6 -1
  432. package/dist/components/ic-tab-context.js.map +1 -1
  433. package/dist/components/ic-tab-group.js +30 -125
  434. package/dist/components/ic-tab-group.js.map +1 -1
  435. package/dist/components/ic-tab-panel.js +1 -1
  436. package/dist/components/ic-tab-panel.js.map +1 -1
  437. package/dist/components/ic-tab.js +11 -2
  438. package/dist/components/ic-tab.js.map +1 -1
  439. package/dist/components/ic-text-field2.js +6 -6
  440. package/dist/components/ic-text-field2.js.map +1 -1
  441. package/dist/components/ic-theme.js +2 -2
  442. package/dist/components/ic-theme.js.map +1 -1
  443. package/dist/components/ic-toast-region.d.ts +11 -0
  444. package/dist/components/ic-toast-region.js +63 -0
  445. package/dist/components/ic-toast-region.js.map +1 -0
  446. package/dist/components/ic-toast.d.ts +11 -0
  447. package/dist/components/ic-toast.js +214 -0
  448. package/dist/components/ic-toast.js.map +1 -0
  449. package/dist/components/ic-tooltip2.js +13 -5
  450. package/dist/components/ic-tooltip2.js.map +1 -1
  451. package/dist/components/ic-top-navigation.js +22 -11
  452. package/dist/components/ic-top-navigation.js.map +1 -1
  453. package/dist/components/ic-typography2.js.map +1 -1
  454. package/dist/components/index.d.ts +8 -1
  455. package/dist/components/index.js +7 -0
  456. package/dist/components/index.js.map +1 -1
  457. package/dist/components/types.js.map +1 -1
  458. package/dist/core/core.css +3 -3
  459. package/dist/core/core.esm.js +1 -1
  460. package/dist/core/core.esm.js.map +1 -1
  461. package/dist/core/normalize.css +440 -0
  462. package/dist/core/p-037dfe9d.entry.js +2 -0
  463. package/dist/core/p-037dfe9d.entry.js.map +1 -0
  464. package/dist/core/p-05c5c6c4.entry.js +2 -0
  465. package/dist/core/p-05c5c6c4.entry.js.map +1 -0
  466. package/dist/core/p-06321d19.js +2 -0
  467. package/dist/core/p-0a463a65.entry.js +2 -0
  468. package/dist/core/p-0a463a65.entry.js.map +1 -0
  469. package/dist/core/p-0faf328a.entry.js +2 -0
  470. package/dist/core/p-0faf328a.entry.js.map +1 -0
  471. package/dist/core/p-102281fd.entry.js +2 -0
  472. package/dist/core/p-102281fd.entry.js.map +1 -0
  473. package/dist/core/p-1549adc1.entry.js +2 -0
  474. package/dist/core/p-1549adc1.entry.js.map +1 -0
  475. package/dist/core/p-25b208ae.entry.js +2 -0
  476. package/dist/core/p-25b208ae.entry.js.map +1 -0
  477. package/dist/core/{p-c4d3c18c.entry.js → p-26c9e522.entry.js} +2 -2
  478. package/dist/core/p-26c9e522.entry.js.map +1 -0
  479. package/dist/core/p-31a595c1.entry.js +2 -0
  480. package/dist/core/p-31a595c1.entry.js.map +1 -0
  481. package/dist/core/p-33a0aabe.entry.js +2 -0
  482. package/dist/core/p-33a0aabe.entry.js.map +1 -0
  483. package/dist/core/p-360adc51.entry.js +2 -0
  484. package/dist/core/p-360adc51.entry.js.map +1 -0
  485. package/dist/core/p-3d84a743.entry.js +2 -0
  486. package/dist/core/p-3d84a743.entry.js.map +1 -0
  487. package/dist/core/p-3dea2867.js +2 -0
  488. package/dist/core/p-3dea2867.js.map +1 -0
  489. package/dist/core/p-3fd4f8eb.entry.js +2 -0
  490. package/dist/core/p-3fd4f8eb.entry.js.map +1 -0
  491. package/dist/core/p-48a5c2a7.entry.js +2 -0
  492. package/dist/core/p-48a5c2a7.entry.js.map +1 -0
  493. package/dist/core/p-4d8392fe.entry.js +2 -0
  494. package/dist/core/p-4d8392fe.entry.js.map +1 -0
  495. package/dist/core/p-4ee03271.entry.js +2 -0
  496. package/dist/core/p-4ee03271.entry.js.map +1 -0
  497. package/dist/core/{p-f9370be6.js → p-5450cebf.js} +3 -3
  498. package/dist/core/p-5450cebf.js.map +1 -0
  499. package/dist/core/p-58ff516f.entry.js +2 -0
  500. package/dist/core/p-58ff516f.entry.js.map +1 -0
  501. package/dist/core/p-62b3516e.entry.js +2 -0
  502. package/dist/core/p-62b3516e.entry.js.map +1 -0
  503. package/dist/core/p-6f57b13c.js.map +1 -1
  504. package/dist/core/p-73fddc63.entry.js +2 -0
  505. package/dist/core/p-73fddc63.entry.js.map +1 -0
  506. package/dist/core/p-741b4ea3.entry.js +2 -0
  507. package/dist/core/p-741b4ea3.entry.js.map +1 -0
  508. package/dist/core/p-7dcb9104.entry.js +2 -0
  509. package/dist/core/p-7dcb9104.entry.js.map +1 -0
  510. package/dist/core/{p-e93e9aa3.entry.js → p-7fd50355.entry.js} +2 -2
  511. package/dist/core/p-7fd50355.entry.js.map +1 -0
  512. package/dist/core/p-81652a98.entry.js +2 -0
  513. package/dist/core/p-81652a98.entry.js.map +1 -0
  514. package/dist/core/p-87c7ba3b.entry.js +2 -0
  515. package/dist/core/p-87c7ba3b.entry.js.map +1 -0
  516. package/dist/core/p-897e967a.entry.js +2 -0
  517. package/dist/core/p-897e967a.entry.js.map +1 -0
  518. package/dist/core/p-8c7f4343.js +2 -0
  519. package/dist/core/p-8c9cc4d5.entry.js +2 -0
  520. package/dist/core/p-8c9cc4d5.entry.js.map +1 -0
  521. package/dist/core/p-8d4f7027.js +2 -0
  522. package/dist/core/{p-0118400b.entry.js → p-8ffa00c9.entry.js} +2 -2
  523. package/dist/core/p-8ffa00c9.entry.js.map +1 -0
  524. package/dist/core/p-a2c7dc6c.entry.js +2 -0
  525. package/dist/core/p-a2c7dc6c.entry.js.map +1 -0
  526. package/dist/core/p-a3742d40.entry.js +2 -0
  527. package/dist/core/p-a3742d40.entry.js.map +1 -0
  528. package/dist/core/p-a44a0500.entry.js +2 -0
  529. package/dist/core/p-a44a0500.entry.js.map +1 -0
  530. package/dist/core/p-a8e969ea.entry.js +2 -0
  531. package/dist/core/p-a8e969ea.entry.js.map +1 -0
  532. package/dist/core/p-ac6ecdb6.entry.js +2 -0
  533. package/dist/core/p-ac6ecdb6.entry.js.map +1 -0
  534. package/dist/core/p-acb08809.entry.js +2 -0
  535. package/dist/core/p-acb08809.entry.js.map +1 -0
  536. package/dist/core/{p-6be5e06b.entry.js → p-ad2477d8.entry.js} +2 -2
  537. package/dist/core/p-ad2477d8.entry.js.map +1 -0
  538. package/dist/core/p-affb42c7.entry.js +2 -0
  539. package/dist/core/p-affb42c7.entry.js.map +1 -0
  540. package/dist/core/p-b7fc1f35.entry.js +2 -0
  541. package/dist/core/p-b7fc1f35.entry.js.map +1 -0
  542. package/dist/core/p-b8b960a5.entry.js +2 -0
  543. package/dist/core/p-b8b960a5.entry.js.map +1 -0
  544. package/dist/core/p-b921bb19.entry.js +2 -0
  545. package/dist/core/p-b921bb19.entry.js.map +1 -0
  546. package/dist/core/{p-6d0eaaeb.entry.js → p-c9068822.entry.js} +2 -2
  547. package/dist/core/{p-6d0eaaeb.entry.js.map → p-c9068822.entry.js.map} +1 -1
  548. package/dist/core/p-c996810e.entry.js +2 -0
  549. package/dist/core/p-c996810e.entry.js.map +1 -0
  550. package/dist/core/p-cc62d065.entry.js +2 -0
  551. package/dist/core/p-cc62d065.entry.js.map +1 -0
  552. package/dist/core/{p-02799e26.entry.js → p-d2508752.entry.js} +2 -2
  553. package/dist/core/{p-02799e26.entry.js.map → p-d2508752.entry.js.map} +1 -1
  554. package/dist/core/p-d28d7f24.entry.js +2 -0
  555. package/dist/core/p-d28d7f24.entry.js.map +1 -0
  556. package/dist/core/{p-07cd789d.entry.js → p-dbfdfa8a.entry.js} +2 -2
  557. package/dist/core/p-dbfdfa8a.entry.js.map +1 -0
  558. package/dist/core/{p-10da19d2.entry.js → p-dd71a986.entry.js} +2 -2
  559. package/dist/core/p-dd71a986.entry.js.map +1 -0
  560. package/dist/core/p-e4547265.entry.js +2 -0
  561. package/dist/core/p-e4547265.entry.js.map +1 -0
  562. package/dist/core/p-ea0c4aca.entry.js +2 -0
  563. package/dist/core/p-ea0c4aca.entry.js.map +1 -0
  564. package/dist/core/{p-cadb531f.entry.js → p-ed6cf9b9.entry.js} +2 -2
  565. package/dist/core/p-ed6cf9b9.entry.js.map +1 -0
  566. package/dist/core/p-f6ddd32f.entry.js +2 -0
  567. package/dist/core/p-f6ddd32f.entry.js.map +1 -0
  568. package/dist/core/p-f777679c.entry.js +2 -0
  569. package/dist/core/p-f777679c.entry.js.map +1 -0
  570. package/dist/esm/OpenInNew-67a881e0.js +5 -0
  571. package/dist/esm/OpenInNew-67a881e0.js.map +1 -0
  572. package/dist/esm/{check-icon-53f1d9e5.js → check-icon-abb210ec.js} +2 -2
  573. package/dist/esm/check-icon-abb210ec.js.map +1 -0
  574. package/dist/esm/chevron-icon-7927f709.js +8 -0
  575. package/dist/esm/chevron-icon-7927f709.js.map +1 -0
  576. package/dist/esm/core.js +2 -2
  577. package/dist/esm/{helpers-3d41833c.js → helpers-b2b47a7d.js} +72 -5
  578. package/dist/esm/helpers-b2b47a7d.js.map +1 -0
  579. package/dist/esm/ic-alert.entry.js +6 -25
  580. package/dist/esm/ic-alert.entry.js.map +1 -1
  581. package/dist/esm/ic-back-to-top.entry.js +24 -12
  582. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  583. package/dist/esm/ic-breadcrumb-group.entry.js +2 -2
  584. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  585. package/dist/esm/ic-breadcrumb.entry.js +15 -6
  586. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  587. package/dist/esm/ic-button_3.entry.js +46 -31
  588. package/dist/esm/ic-button_3.entry.js.map +1 -1
  589. package/dist/esm/ic-card.entry.js +29 -5
  590. package/dist/esm/ic-card.entry.js.map +1 -1
  591. package/dist/esm/ic-checkbox-group.entry.js +4 -4
  592. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  593. package/dist/esm/ic-checkbox.entry.js +16 -4
  594. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  595. package/dist/esm/ic-chip.entry.js +73 -0
  596. package/dist/esm/ic-chip.entry.js.map +1 -0
  597. package/dist/esm/ic-classification-banner.entry.js +3 -3
  598. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  599. package/dist/esm/ic-data-entity.entry.js +2 -2
  600. package/dist/esm/ic-data-entity.entry.js.map +1 -1
  601. package/dist/esm/ic-data-row.entry.js +14 -12
  602. package/dist/esm/ic-data-row.entry.js.map +1 -1
  603. package/dist/esm/ic-divider.entry.js +3 -3
  604. package/dist/esm/ic-divider.entry.js.map +1 -1
  605. package/dist/esm/ic-footer-link-group.entry.js +4 -3
  606. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  607. package/dist/esm/ic-footer-link.entry.js +12 -5
  608. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  609. package/dist/esm/ic-footer.entry.js +5 -5
  610. package/dist/esm/ic-footer.entry.js.map +1 -1
  611. package/dist/esm/ic-hero.entry.js +3 -3
  612. package/dist/esm/ic-hero.entry.js.map +1 -1
  613. package/dist/esm/ic-horizontal-scroll.entry.js +160 -0
  614. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -0
  615. package/dist/esm/ic-input-component-container_3.entry.js +78 -44
  616. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  617. package/dist/esm/ic-input-label_2.entry.js +3 -5
  618. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  619. package/dist/esm/ic-link.entry.js +14 -8
  620. package/dist/esm/ic-link.entry.js.map +1 -1
  621. package/dist/esm/ic-menu-group.entry.js +20 -0
  622. package/dist/esm/ic-menu-group.entry.js.map +1 -0
  623. package/dist/esm/ic-menu-item.entry.js +116 -0
  624. package/dist/esm/ic-menu-item.entry.js.map +1 -0
  625. package/dist/esm/ic-navigation-button.entry.js +5 -4
  626. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  627. package/dist/esm/ic-navigation-group.entry.js +7 -6
  628. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  629. package/dist/esm/ic-navigation-item.entry.js +19 -12
  630. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  631. package/dist/esm/ic-navigation-menu.entry.js +8 -8
  632. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  633. package/dist/esm/ic-page-header.entry.js +5 -5
  634. package/dist/esm/ic-page-header.entry.js.map +1 -1
  635. package/dist/esm/ic-popover-menu.entry.js +232 -0
  636. package/dist/esm/ic-popover-menu.entry.js.map +1 -0
  637. package/dist/esm/ic-radio-group.entry.js +13 -5
  638. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  639. package/dist/esm/ic-radio-option.entry.js +24 -6
  640. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  641. package/dist/esm/ic-search-bar.entry.js +56 -42
  642. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  643. package/dist/esm/ic-section-container.entry.js +2 -2
  644. package/dist/esm/ic-section-container.entry.js.map +1 -1
  645. package/dist/esm/ic-select.entry.js +218 -69
  646. package/dist/esm/ic-select.entry.js.map +1 -1
  647. package/dist/esm/ic-side-navigation.entry.js +26 -14
  648. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  649. package/dist/esm/ic-skeleton.entry.js +2 -2
  650. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  651. package/dist/esm/ic-status-tag.entry.js +6 -5
  652. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  653. package/dist/esm/ic-step.entry.js +103 -15
  654. package/dist/esm/ic-step.entry.js.map +1 -1
  655. package/dist/esm/ic-stepper.entry.js +166 -42
  656. package/dist/esm/ic-stepper.entry.js.map +1 -1
  657. package/dist/esm/ic-switch.entry.js +12 -3
  658. package/dist/esm/ic-switch.entry.js.map +1 -1
  659. package/dist/esm/ic-tab-context.entry.js +7 -2
  660. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  661. package/dist/esm/ic-tab-group.entry.js +9 -118
  662. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  663. package/dist/esm/ic-tab-panel.entry.js +2 -2
  664. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  665. package/dist/esm/ic-tab.entry.js +10 -2
  666. package/dist/esm/ic-tab.entry.js.map +1 -1
  667. package/dist/esm/ic-text-field.entry.js +5 -5
  668. package/dist/esm/ic-text-field.entry.js.map +1 -1
  669. package/dist/esm/ic-theme.entry.js +4 -4
  670. package/dist/esm/ic-theme.entry.js.map +1 -1
  671. package/dist/esm/ic-toast-region.entry.js +44 -0
  672. package/dist/esm/ic-toast-region.entry.js.map +1 -0
  673. package/dist/esm/ic-toast.entry.js +161 -0
  674. package/dist/esm/ic-toast.entry.js.map +1 -0
  675. package/dist/esm/ic-top-navigation.entry.js +15 -10
  676. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  677. package/dist/esm/ic-typography.entry.js +1 -1
  678. package/dist/esm/ic-typography.entry.js.map +1 -1
  679. package/dist/esm/{index-1500de1f.js → index-90721b3c.js} +33 -2
  680. package/dist/esm/index-90721b3c.js.map +1 -0
  681. package/dist/esm/loader.js +2 -2
  682. package/dist/esm/types-dd515332.js.map +1 -1
  683. package/dist/types/components/ic-alert/ic-alert.d.ts +14 -10
  684. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +1 -0
  685. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +9 -5
  686. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +2 -2
  687. package/dist/types/components/ic-button/ic-button.d.ts +11 -14
  688. package/dist/types/components/ic-card/ic-card.d.ts +31 -10
  689. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +18 -10
  690. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +9 -9
  691. package/dist/types/components/ic-chip/ic-chip.d.ts +48 -0
  692. package/dist/types/components/ic-chip/ic-chip.test.a11y.d.ts +1 -0
  693. package/dist/types/components/ic-chip/ic-chip.types.d.ts +2 -0
  694. package/dist/types/components/ic-classification-banner/ic-classification-banner.d.ts +5 -5
  695. package/dist/types/components/ic-data-entity/ic-data-entity.d.ts +2 -2
  696. package/dist/types/components/ic-data-row/ic-data-row.d.ts +3 -3
  697. package/dist/types/components/ic-footer/ic-footer.d.ts +12 -12
  698. package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +20 -0
  699. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +1 -1
  700. package/dist/types/components/ic-hero/ic-hero.d.ts +9 -9
  701. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +39 -0
  702. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.d.ts +1 -0
  703. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +8 -8
  704. package/dist/types/components/ic-input-container/ic-input-container.d.ts +2 -2
  705. package/dist/types/components/ic-input-label/ic-input-label.d.ts +8 -8
  706. package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +5 -5
  707. package/dist/types/components/ic-link/ic-link.d.ts +10 -7
  708. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +7 -3
  709. package/dist/types/components/ic-menu/ic-menu.d.ts +36 -18
  710. package/dist/types/components/ic-menu-group/ic-menu-group.d.ts +8 -0
  711. package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +74 -0
  712. package/dist/types/components/ic-menu-item/ic-menu-item.types.d.ts +1 -0
  713. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +6 -6
  714. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +3 -3
  715. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +28 -8
  716. package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +2 -2
  717. package/dist/types/components/ic-page-header/ic-page-header.d.ts +10 -8
  718. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +58 -0
  719. package/dist/types/components/ic-popover-menu/ic-popover-menu.test.a11y.d.ts +1 -0
  720. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +15 -11
  721. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +17 -11
  722. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +31 -30
  723. package/dist/types/components/ic-section-container/ic-section-container.d.ts +2 -2
  724. package/dist/types/components/ic-select/ic-select.d.ts +68 -23
  725. package/dist/types/components/ic-side-navigation/ic-side-navigation-test-examples.d.ts +1 -0
  726. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +13 -12
  727. package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +2 -2
  728. package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +5 -1
  729. package/dist/types/components/ic-step/ic-step.d.ts +37 -8
  730. package/dist/types/components/ic-step/ic-step.types.d.ts +2 -0
  731. package/dist/types/components/ic-stepper/ic-stepper-test-examples.d.ts +4 -0
  732. package/dist/types/components/ic-stepper/ic-stepper.d.ts +23 -6
  733. package/dist/types/components/ic-switch/ic-switch.d.ts +11 -7
  734. package/dist/types/components/ic-tab/ic-tab.d.ts +9 -5
  735. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +8 -4
  736. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +5 -33
  737. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +2 -2
  738. package/dist/types/components/ic-text-field/ic-text-field.d.ts +31 -31
  739. package/dist/types/components/ic-theme/ic-theme.d.ts +3 -3
  740. package/dist/types/components/ic-toast/ic-toast.d.ts +66 -0
  741. package/dist/types/components/ic-toast/ic-toast.test.a11y.d.ts +1 -0
  742. package/dist/types/components/ic-toast/ic-toast.types.d.ts +1 -0
  743. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +12 -0
  744. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +4 -0
  745. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +7 -6
  746. package/dist/types/components/ic-typography/ic-typography.d.ts +1 -1
  747. package/dist/types/components.d.ts +1103 -559
  748. package/dist/types/interface.d.ts +0 -1
  749. package/dist/types/testspec.setup.d.ts +1 -0
  750. package/dist/types/utils/constants.d.ts +22 -0
  751. package/dist/types/utils/helpers.d.ts +2 -0
  752. package/dist/types/utils/types.d.ts +3 -0
  753. package/hydrate/index.js +2030 -602
  754. package/package.json +5 -5
  755. package/dist/cjs/check-icon-999d9877.js.map +0 -1
  756. package/dist/cjs/chevron-icon-d175fe66.js +0 -10
  757. package/dist/cjs/chevron-icon-d175fe66.js.map +0 -1
  758. package/dist/cjs/error-icon-99504103.js +0 -18
  759. package/dist/cjs/error-icon-99504103.js.map +0 -1
  760. package/dist/cjs/helpers-8bc3b6d2.js.map +0 -1
  761. package/dist/cjs/index-3ef30d9d.js.map +0 -1
  762. package/dist/cjs/success-icon-887b2097.js +0 -11
  763. package/dist/cjs/success-icon-887b2097.js.map +0 -1
  764. package/dist/collection/components/ic-alert/ic-alert.types.js +0 -2
  765. package/dist/collection/components/ic-alert/ic-alert.types.js.map +0 -1
  766. package/dist/collection/components/ic-tab-group/assets/left-arrow.svg +0 -3
  767. package/dist/collection/components/ic-tab-group/assets/right-arrow.svg +0 -3
  768. package/dist/components/error-icon.js +0 -15
  769. package/dist/components/error-icon.js.map +0 -1
  770. package/dist/components/success-icon.js +0 -9
  771. package/dist/components/success-icon.js.map +0 -1
  772. package/dist/core/p-0118400b.entry.js.map +0 -1
  773. package/dist/core/p-07cd789d.entry.js.map +0 -1
  774. package/dist/core/p-0b125f26.entry.js +0 -2
  775. package/dist/core/p-0b125f26.entry.js.map +0 -1
  776. package/dist/core/p-10da19d2.entry.js.map +0 -1
  777. package/dist/core/p-1337db5e.entry.js +0 -2
  778. package/dist/core/p-1337db5e.entry.js.map +0 -1
  779. package/dist/core/p-1721bcf3.entry.js +0 -2
  780. package/dist/core/p-1721bcf3.entry.js.map +0 -1
  781. package/dist/core/p-1e7b4310.js +0 -2
  782. package/dist/core/p-23831891.js +0 -2
  783. package/dist/core/p-23831891.js.map +0 -1
  784. package/dist/core/p-272c7abd.entry.js +0 -2
  785. package/dist/core/p-272c7abd.entry.js.map +0 -1
  786. package/dist/core/p-2f114521.entry.js +0 -2
  787. package/dist/core/p-2f114521.entry.js.map +0 -1
  788. package/dist/core/p-31a8595f.entry.js +0 -2
  789. package/dist/core/p-31a8595f.entry.js.map +0 -1
  790. package/dist/core/p-33a45ace.entry.js +0 -2
  791. package/dist/core/p-33a45ace.entry.js.map +0 -1
  792. package/dist/core/p-347ec49e.entry.js +0 -2
  793. package/dist/core/p-347ec49e.entry.js.map +0 -1
  794. package/dist/core/p-39ae284e.entry.js +0 -2
  795. package/dist/core/p-39ae284e.entry.js.map +0 -1
  796. package/dist/core/p-558552f8.entry.js +0 -2
  797. package/dist/core/p-558552f8.entry.js.map +0 -1
  798. package/dist/core/p-5e261268.entry.js +0 -2
  799. package/dist/core/p-5e261268.entry.js.map +0 -1
  800. package/dist/core/p-60ffb73e.entry.js +0 -2
  801. package/dist/core/p-60ffb73e.entry.js.map +0 -1
  802. package/dist/core/p-69650186.entry.js +0 -2
  803. package/dist/core/p-69650186.entry.js.map +0 -1
  804. package/dist/core/p-6b34d98f.entry.js +0 -2
  805. package/dist/core/p-6b34d98f.entry.js.map +0 -1
  806. package/dist/core/p-6be5e06b.entry.js.map +0 -1
  807. package/dist/core/p-6f6bd657.entry.js +0 -2
  808. package/dist/core/p-6f6bd657.entry.js.map +0 -1
  809. package/dist/core/p-7093d214.entry.js +0 -2
  810. package/dist/core/p-7093d214.entry.js.map +0 -1
  811. package/dist/core/p-7577c6a3.entry.js +0 -2
  812. package/dist/core/p-7577c6a3.entry.js.map +0 -1
  813. package/dist/core/p-7b11e1dc.entry.js +0 -2
  814. package/dist/core/p-7b11e1dc.entry.js.map +0 -1
  815. package/dist/core/p-7b39977f.entry.js +0 -2
  816. package/dist/core/p-7b39977f.entry.js.map +0 -1
  817. package/dist/core/p-7f632414.entry.js +0 -2
  818. package/dist/core/p-7f632414.entry.js.map +0 -1
  819. package/dist/core/p-898607d0.entry.js +0 -2
  820. package/dist/core/p-898607d0.entry.js.map +0 -1
  821. package/dist/core/p-8ddeb574.entry.js +0 -2
  822. package/dist/core/p-8ddeb574.entry.js.map +0 -1
  823. package/dist/core/p-9cd04875.entry.js +0 -2
  824. package/dist/core/p-9cd04875.entry.js.map +0 -1
  825. package/dist/core/p-ac43322e.entry.js +0 -2
  826. package/dist/core/p-ac43322e.entry.js.map +0 -1
  827. package/dist/core/p-ae6aa67f.js +0 -2
  828. package/dist/core/p-ae81dffa.entry.js +0 -2
  829. package/dist/core/p-ae81dffa.entry.js.map +0 -1
  830. package/dist/core/p-b3dec76d.entry.js +0 -2
  831. package/dist/core/p-b3dec76d.entry.js.map +0 -1
  832. package/dist/core/p-b5a988c0.entry.js +0 -2
  833. package/dist/core/p-b5a988c0.entry.js.map +0 -1
  834. package/dist/core/p-bf5717ca.js +0 -2
  835. package/dist/core/p-c4d3c18c.entry.js.map +0 -1
  836. package/dist/core/p-c6dd4f47.entry.js +0 -2
  837. package/dist/core/p-c6dd4f47.entry.js.map +0 -1
  838. package/dist/core/p-cadb531f.entry.js.map +0 -1
  839. package/dist/core/p-cc83692e.entry.js +0 -2
  840. package/dist/core/p-cc83692e.entry.js.map +0 -1
  841. package/dist/core/p-dd3c3e3c.entry.js +0 -2
  842. package/dist/core/p-dd3c3e3c.entry.js.map +0 -1
  843. package/dist/core/p-df5caf13.entry.js +0 -2
  844. package/dist/core/p-df5caf13.entry.js.map +0 -1
  845. package/dist/core/p-e106305b.entry.js +0 -2
  846. package/dist/core/p-e106305b.entry.js.map +0 -1
  847. package/dist/core/p-e28af65b.js +0 -2
  848. package/dist/core/p-e28af65b.js.map +0 -1
  849. package/dist/core/p-e590f1d2.entry.js +0 -2
  850. package/dist/core/p-e590f1d2.entry.js.map +0 -1
  851. package/dist/core/p-e93e9aa3.entry.js.map +0 -1
  852. package/dist/core/p-ecfb2e6b.entry.js +0 -2
  853. package/dist/core/p-ecfb2e6b.entry.js.map +0 -1
  854. package/dist/core/p-f9370be6.js.map +0 -1
  855. package/dist/esm/check-icon-53f1d9e5.js.map +0 -1
  856. package/dist/esm/chevron-icon-5b38c60a.js +0 -8
  857. package/dist/esm/chevron-icon-5b38c60a.js.map +0 -1
  858. package/dist/esm/error-icon-6046a380.js +0 -15
  859. package/dist/esm/error-icon-6046a380.js.map +0 -1
  860. package/dist/esm/helpers-3d41833c.js.map +0 -1
  861. package/dist/esm/index-1500de1f.js.map +0 -1
  862. package/dist/esm/success-icon-2f71b115.js +0 -9
  863. package/dist/esm/success-icon-2f71b115.js.map +0 -1
  864. package/dist/types/components/ic-alert/ic-alert.types.d.ts +0 -1
  865. /package/dist/collection/{components/ic-link/assets → assets}/OpenInNew.svg +0 -0
  866. /package/dist/core/{p-1e7b4310.js.map → p-06321d19.js.map} +0 -0
  867. /package/dist/core/{p-ae6aa67f.js.map → p-8c7f4343.js.map} +0 -0
  868. /package/dist/core/{p-bf5717ca.js.map → p-8d4f7027.js.map} +0 -0
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-3ef30d9d.js');
5
+ const index = require('./index-f79a4e53.js');
6
6
 
7
- const icDataEntityCss = "/*! 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}.rows{display:flex;flex-direction:column;gap:var(--ic-space-md)}:host(.small) .rows{gap:var(--ic-space-xs)}.divider{margin-top:var(--ic-space-lg);margin-bottom:var(--ic-space-md);height:1px;background-color:var(--ic-architectural-300)}:host(.small) .divider{margin-top:var(--ic-space-sm);margin-bottom:var(--ic-space-xs)}@media (forced-colors: active){.divider{background-color:canvastext}}";
7
+ const icDataEntityCss = "/*! 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}.rows{display:flex;flex-direction:column;gap:var(--ic-space-md)}:host(.small) .rows{gap:var(--ic-space-xs)}.divider{margin-top:var(--ic-space-lg);margin-bottom:var(--ic-space-md);height:0.063rem;background-color:var(--ic-architectural-300)}:host(.small) .divider{margin-top:var(--ic-space-sm);margin-bottom:var(--ic-space-xs)}@media (forced-colors: active){.divider{background-color:canvastext}}";
8
8
 
9
9
  const DataEntity = class {
10
10
  constructor(hostRef) {
@@ -1 +1 @@
1
- {"file":"ic-data-entity.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,eAAe,GAAG,2xFAA2xF;;MCOtyF,UAAU;;;;iBAWI,KAAK;;EAE9B,MAAM;IACJ,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;IAEhC,MAAM,QAAQ,GAAG,IAAI,CAAC,EAAE,CAAC,QAAQ,CAAC;IAElC,IAAI,KAAK,EAAE;MACT,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACxC,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;OAC3C;KACF;IAED,QACEA,QAACC,UAAI,IAAC,KAAK,EAAE,EAAE,CAAC,OAAO,GAAG,KAAK,EAAE,IAC/BD,iBAAK,KAAK,EAAC,SAAS,EAAC,EAAE,EAAC,qBAAqB,IAC3CA,kBAAM,IAAI,EAAC,SAAS,IAClBA,2BAAe,OAAO,EAAC,IAAI,IAAE,OAAO,CAAiB,CAChD,CACH,EACNA,iBAAK,KAAK,EAAC,SAAS,GAAG,EACvBA,mCAAoB,qBAAqB,EAAC,KAAK,EAAC,MAAM,IACpDA,qBAAa,CACV,CACA,EACP;GACH;;;;;;;","names":["h","Host"],"sources":["./src/components/ic-data-entity/ic-data-entity.css?tag=ic-data-entity&encapsulation=shadow","./src/components/ic-data-entity/ic-data-entity.tsx"],"sourcesContent":["@import \"../../global/normalise.css\";\n\n:host {\n display: block;\n}\n\n.rows {\n display: flex;\n flex-direction: column;\n gap: var(--ic-space-md);\n}\n\n:host(.small) .rows {\n gap: var(--ic-space-xs);\n}\n\n.divider {\n margin-top: var(--ic-space-lg);\n margin-bottom: var(--ic-space-md);\n height: 1px;\n background-color: var(--ic-architectural-300);\n}\n\n:host(.small) .divider {\n margin-top: var(--ic-space-sm);\n margin-bottom: var(--ic-space-xs);\n}\n\n@media (forced-colors: active) {\n .divider {\n background-color: canvastext;\n }\n}\n","import { Component, Element, Host, h, Prop } from \"@stencil/core\";\n\n@Component({\n tag: \"ic-data-entity\",\n styleUrl: \"ic-data-entity.css\",\n shadow: true,\n})\nexport class DataEntity {\n @Element() el: HTMLIcDataEntityElement;\n\n /**\n * Title for the data entity\n */\n @Prop() heading: string;\n\n /**\n * Set the data heading and all child data rows to small styling\n */\n @Prop() small: boolean = false;\n\n render() {\n const { heading, small } = this;\n\n const children = this.el.children;\n\n if (small) {\n for (let i = 0; i < children.length; i++) {\n children[i].setAttribute(\"small\", \"true\");\n }\n }\n\n return (\n <Host class={{ [\"small\"]: small }}>\n <div class=\"heading\" id=\"data-entity-heading\">\n <slot name=\"heading\">\n <ic-typography variant=\"h3\">{heading}</ic-typography>\n </slot>\n </div>\n <div class=\"divider\" />\n <ul aria-labelledby=\"data-entity-heading\" class=\"rows\">\n <slot></slot>\n </ul>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-data-entity.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,eAAe,GAAG,gyFAAgyF;;MCO3yF,UAAU;;;;iBAWI,KAAK;;EAE9B,MAAM;IACJ,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;IAEhC,MAAM,QAAQ,GAAG,IAAI,CAAC,EAAE,CAAC,QAAQ,CAAC;IAElC,IAAI,KAAK,EAAE;MACT,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACxC,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;OAC3C;KACF;IAED,QACEA,QAACC,UAAI,IAAC,KAAK,EAAE,EAAE,CAAC,OAAO,GAAG,KAAK,EAAE,IAC/BD,iBAAK,KAAK,EAAC,SAAS,EAAC,EAAE,EAAC,qBAAqB,IAC3CA,kBAAM,IAAI,EAAC,SAAS,IAClBA,2BAAe,OAAO,EAAC,IAAI,IAAE,OAAO,CAAiB,CAChD,CACH,EACNA,iBAAK,KAAK,EAAC,SAAS,GAAG,EACvBA,mCAAoB,qBAAqB,EAAC,KAAK,EAAC,MAAM,IACpDA,qBAAa,CACV,CACA,EACP;GACH;;;;;;;","names":["h","Host"],"sources":["./src/components/ic-data-entity/ic-data-entity.css?tag=ic-data-entity&encapsulation=shadow","./src/components/ic-data-entity/ic-data-entity.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n display: block;\n}\n\n.rows {\n display: flex;\n flex-direction: column;\n gap: var(--ic-space-md);\n}\n\n:host(.small) .rows {\n gap: var(--ic-space-xs);\n}\n\n.divider {\n margin-top: var(--ic-space-lg);\n margin-bottom: var(--ic-space-md);\n height: 0.063rem;\n background-color: var(--ic-architectural-300);\n}\n\n:host(.small) .divider {\n margin-top: var(--ic-space-sm);\n margin-bottom: var(--ic-space-xs);\n}\n\n@media (forced-colors: active) {\n .divider {\n background-color: canvastext;\n }\n}\n","import { Component, Element, Host, h, Prop } from \"@stencil/core\";\n\n@Component({\n tag: \"ic-data-entity\",\n styleUrl: \"ic-data-entity.css\",\n shadow: true,\n})\nexport class DataEntity {\n @Element() el: HTMLIcDataEntityElement;\n\n /**\n * The title for the data entity.\n */\n @Prop() heading: string;\n\n /**\n * If `true`, the small styling will be applied to the data heading and all child data rows.\n */\n @Prop() small: boolean = false;\n\n render() {\n const { heading, small } = this;\n\n const children = this.el.children;\n\n if (small) {\n for (let i = 0; i < children.length; i++) {\n children[i].setAttribute(\"small\", \"true\");\n }\n }\n\n return (\n <Host class={{ [\"small\"]: small }}>\n <div class=\"heading\" id=\"data-entity-heading\">\n <slot name=\"heading\">\n <ic-typography variant=\"h3\">{heading}</ic-typography>\n </slot>\n </div>\n <div class=\"divider\" />\n <ul aria-labelledby=\"data-entity-heading\" class=\"rows\">\n <slot></slot>\n </ul>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-3ef30d9d.js');
6
- const helpers = require('./helpers-8bc3b6d2.js');
5
+ const index = require('./index-f79a4e53.js');
6
+ const helpers = require('./helpers-2021e212.js');
7
7
  require('./types-3eb02246.js');
8
8
 
9
- const icDataRowCss = "/*! 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{position:relative;display:block}.data{display:flex;align-items:center}.text-cells{display:flex;flex-grow:1;min-width:0}.label{width:200px;min-width:200px;margin-right:var(--ic-space-md);color:var(--ic-color-tertiary-text)}.value{flex-grow:1}.end-component{width:-moz-fit-content;width:fit-content;margin-left:56px}.divider{margin-top:var(--ic-space-md);height:1px;background-color:var(--ic-architectural-300)}:host(.small) .divider{margin-top:var(--ic-space-xs)}:host(.breakpoint-medium) .label{width:160px;min-width:160px}:host(.breakpoint-xs) .text-cells{flex-direction:column}:host(.breakpoint-xs) .label{width:128px;margin-bottom:var(--ic-space-xs)}:host(.breakpoint-xs) .value{max-width:95%}:host(.breakpoint-xs) .end-component{margin-left:0}@media (forced-colors: active){.divider{background-color:canvastext}}";
9
+ const icDataRowCss = "/*! 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{position:relative;display:block}.data{display:flex;align-items:center}.text-cells{display:flex;flex-grow:1;min-width:0}.label{width:12.5rem;min-width:12.5rem;margin-right:var(--ic-space-md);color:var(--ic-color-tertiary-text)}.value{flex-grow:1}slot[name=\"value\"]::slotted(ic-text-field[readonly][hide-label]){margin-top:calc(var(--ic-space-xs) * -1)}slot[name=\"value\"]::slotted(ic-text-field[small][readonly][hide-label]){margin-top:calc(var(--ic-space-xxs) * -1)}slot[name=\"value\"]::slotted(ic-text-field[readonly][hide-label][rows]){margin-top:calc(var(--ic-space-xxs) * -1 - var(--ic-space-xxxs))}.end-component{width:-moz-fit-content;width:fit-content;margin-left:3.5rem}.divider{margin-top:var(--ic-space-md);height:0.063rem;background-color:var(--ic-architectural-300)}:host(.small) .divider{margin-top:var(--ic-space-xs)}:host(.breakpoint-medium) .label{width:10rem;min-width:10rem}:host(.breakpoint-xs) .text-cells{flex-direction:column}:host(.breakpoint-xs) .label{width:8rem;margin-bottom:var(--ic-space-xs)}:host(.breakpoint-xs) .value{max-width:95%}:host(.breakpoint-xs) .end-component{margin-left:0}@media (forced-colors: active){.divider{background-color:canvastext}}";
10
10
 
11
11
  const DataRow = class {
12
12
  constructor(hostRef) {
@@ -28,14 +28,16 @@ const DataRow = class {
28
28
  checkLabelAbove() {
29
29
  var _a;
30
30
  const rowSize = (_a = this.el.shadowRoot.querySelector(".data")) === null || _a === void 0 ? void 0 : _a.clientWidth;
31
- if (rowSize + 46 < helpers.DEVICE_SIZES.S) {
32
- this.entitySize = "xs";
33
- }
34
- else if (rowSize + 46 < helpers.DEVICE_SIZES.M) {
35
- this.entitySize = "m";
36
- }
37
- else {
38
- this.entitySize = "xl";
31
+ if (rowSize) {
32
+ if (rowSize + 46 < helpers.DEVICE_SIZES.S) {
33
+ this.entitySize = "xs";
34
+ }
35
+ else if (rowSize + 46 < helpers.DEVICE_SIZES.M) {
36
+ this.entitySize = "m";
37
+ }
38
+ else {
39
+ this.entitySize = "xl";
40
+ }
39
41
  }
40
42
  }
41
43
  labelEndComponent() {
@@ -45,10 +47,10 @@ const DataRow = class {
45
47
  componentWillLoad() {
46
48
  this.deviceSize = helpers.getCurrentDeviceSize();
47
49
  this.hasEndComponent = helpers.slotHasContent(this.el, "end-component");
50
+ this.checkLabelAbove();
48
51
  }
49
52
  componentDidLoad() {
50
53
  helpers.checkResizeObserver(this.runResizeObserver);
51
- this.checkLabelAbove();
52
54
  if (this.hasEndComponent) {
53
55
  this.labelEndComponent();
54
56
  }
@@ -1 +1 @@
1
- {"file":"ic-data-row.entry.cjs.js","mappings":"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","names":["DEVICE_SIZES","getCurrentDeviceSize","slotHasContent","checkResizeObserver","h","Host"],"sources":["./src/components/ic-data-row/ic-data-row.css?tag=ic-data-row&encapsulation=shadow","./src/components/ic-data-row/ic-data-row.tsx"],"sourcesContent":["@import \"../../global/normalise.css\";\n\n:host {\n position: relative;\n display: block;\n}\n\n.data {\n display: flex;\n align-items: center;\n}\n\n.text-cells {\n display: flex;\n flex-grow: 1;\n min-width: 0;\n}\n\n.label {\n width: 200px;\n min-width: 200px;\n margin-right: var(--ic-space-md);\n color: var(--ic-color-tertiary-text);\n}\n\n.value {\n flex-grow: 1;\n}\n\n.end-component {\n width: fit-content;\n margin-left: 56px;\n}\n\n.divider {\n margin-top: var(--ic-space-md);\n height: 1px;\n background-color: var(--ic-architectural-300);\n}\n\n:host(.small) .divider {\n margin-top: var(--ic-space-xs);\n}\n\n:host(.breakpoint-medium) .label {\n width: 160px;\n min-width: 160px;\n}\n\n:host(.breakpoint-xs) .text-cells {\n flex-direction: column;\n}\n\n:host(.breakpoint-xs) .label {\n width: 128px;\n margin-bottom: var(--ic-space-xs);\n}\n\n:host(.breakpoint-xs) .value {\n max-width: 95%;\n}\n\n:host(.breakpoint-xs) .end-component {\n margin-left: 0;\n}\n\n@media (forced-colors: active) {\n .divider {\n background-color: canvastext;\n }\n}\n","import { Component, Element, Host, Prop, h, State } from \"@stencil/core\";\nimport {\n checkResizeObserver,\n DEVICE_SIZES,\n getCurrentDeviceSize,\n slotHasContent,\n} from \"../../utils/helpers\";\n\n/**\n * @slot label - Content will be rendered in the leftmost cell.\n * @slot value - Content will be rendered to the right of the label.\n * @slot end-component - Content will be displayed in the rightmost cell.\n */\n@Component({\n tag: \"ic-data-row\",\n styleUrl: \"ic-data-row.css\",\n shadow: true,\n})\nexport class DataRow {\n @Element() el: HTMLIcDataRowElement;\n\n /**\n * Set the label in the leftmost cell of the row\n */\n @Prop() label: string;\n\n /**\n * Set the value of the middle (right if no addition supplied) cell of the row\n */\n @Prop() value: string;\n\n /**\n * Set the row to small styling, this is automatically applied if small is set on the parent data heading\n */\n @Prop() small: boolean = false;\n\n @State() deviceSize: number = DEVICE_SIZES.XL;\n\n @State() entitySize: \"xl\" | \"m\" | \"xs\";\n\n private resizeObserver: ResizeObserver = null;\n\n private hasEndComponent: boolean = false;\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n this.checkLabelAbove();\n });\n\n this.resizeObserver.observe(this.el);\n };\n\n private checkLabelAbove() {\n const rowSize = this.el.shadowRoot.querySelector(\".data\")?.clientWidth;\n if (rowSize + 46 < DEVICE_SIZES.S) {\n this.entitySize = \"xs\";\n } else if (rowSize + 46 < DEVICE_SIZES.M) {\n this.entitySize = \"m\";\n } else {\n this.entitySize = \"xl\";\n }\n }\n\n private labelEndComponent(): void {\n const component = this.el.shadowRoot.querySelectorAll(\n \"slot[name=end-component]\"\n );\n\n component.forEach((child: HTMLElement) =>\n child.setAttribute(\"aria-label\", \"for \" + this.label + \" row\")\n );\n }\n\n componentWillLoad(): void {\n this.deviceSize = getCurrentDeviceSize();\n this.hasEndComponent = slotHasContent(this.el, \"end-component\");\n }\n\n componentDidLoad(): void {\n checkResizeObserver(this.runResizeObserver);\n this.checkLabelAbove();\n if (this.hasEndComponent) {\n this.labelEndComponent();\n }\n }\n\n disconnectedCallback(): void {\n if (this.resizeObserver !== null) {\n this.resizeObserver.disconnect();\n }\n }\n\n render() {\n const { label, value, small } = this;\n\n return (\n <Host\n class={{\n [\"small\"]: small,\n [\"breakpoint-medium\"]: this.entitySize === \"m\",\n [\"breakpoint-xs\"]: this.entitySize === \"xs\",\n }}\n role=\"listitem\"\n >\n <div class=\"data\">\n <div class=\"text-cells\">\n <div class=\"label\">\n <slot name=\"label\">\n <ic-typography\n variant={\n this.entitySize === \"xs\" ? \"label\" : \"subtitle-large\"\n }\n >\n {label}\n </ic-typography>\n </slot>\n </div>\n <div class=\"value\">\n <slot name=\"value\">\n <ic-typography variant=\"body\">{value}</ic-typography>\n </slot>\n </div>\n </div>\n {this.hasEndComponent && (\n <div class=\"end-component\">\n <div role=\"cell\">\n <slot name=\"end-component\"></slot>\n </div>\n </div>\n )}\n </div>\n <div class=\"divider\" />\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-data-row.entry.cjs.js","mappings":"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","names":["DEVICE_SIZES","getCurrentDeviceSize","slotHasContent","checkResizeObserver","h","Host"],"sources":["./src/components/ic-data-row/ic-data-row.css?tag=ic-data-row&encapsulation=shadow","./src/components/ic-data-row/ic-data-row.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n position: relative;\n display: block;\n}\n\n.data {\n display: flex;\n align-items: center;\n}\n\n.text-cells {\n display: flex;\n flex-grow: 1;\n min-width: 0;\n}\n\n.label {\n width: 12.5rem;\n min-width: 12.5rem;\n margin-right: var(--ic-space-md);\n color: var(--ic-color-tertiary-text);\n}\n\n.value {\n flex-grow: 1;\n}\n\nslot[name=\"value\"]::slotted(ic-text-field[readonly][hide-label]) {\n margin-top: calc(var(--ic-space-xs) * -1);\n}\n\nslot[name=\"value\"]::slotted(ic-text-field[small][readonly][hide-label]) {\n margin-top: calc(var(--ic-space-xxs) * -1);\n}\n\nslot[name=\"value\"]::slotted(ic-text-field[readonly][hide-label][rows]) {\n margin-top: calc(var(--ic-space-xxs) * -1 - var(--ic-space-xxxs));\n}\n\n.end-component {\n width: fit-content;\n margin-left: 3.5rem;\n}\n\n.divider {\n margin-top: var(--ic-space-md);\n height: 0.063rem;\n background-color: var(--ic-architectural-300);\n}\n\n:host(.small) .divider {\n margin-top: var(--ic-space-xs);\n}\n\n:host(.breakpoint-medium) .label {\n width: 10rem;\n min-width: 10rem;\n}\n\n:host(.breakpoint-xs) .text-cells {\n flex-direction: column;\n}\n\n:host(.breakpoint-xs) .label {\n width: 8rem;\n margin-bottom: var(--ic-space-xs);\n}\n\n:host(.breakpoint-xs) .value {\n max-width: 95%;\n}\n\n:host(.breakpoint-xs) .end-component {\n margin-left: 0;\n}\n\n@media (forced-colors: active) {\n .divider {\n background-color: canvastext;\n }\n}\n","import { Component, Element, Host, Prop, h, State } from \"@stencil/core\";\nimport {\n checkResizeObserver,\n DEVICE_SIZES,\n getCurrentDeviceSize,\n slotHasContent,\n} from \"../../utils/helpers\";\n\n/**\n * @slot label - Content will be rendered in the leftmost cell.\n * @slot value - Content will be rendered to the right of the label.\n * @slot end-component - Content will be displayed in the rightmost cell.\n */\n@Component({\n tag: \"ic-data-row\",\n styleUrl: \"ic-data-row.css\",\n shadow: true,\n})\nexport class DataRow {\n @Element() el: HTMLIcDataRowElement;\n\n /**\n * The label in the leftmost cell of the row.\n */\n @Prop() label: string;\n\n /**\n * The value of the middle (right if no end-component supplied) cell of the row.\n */\n @Prop() value: string;\n\n /**\n * If `true`, the small styling will be applied to the row. This is automatically applied if small is set on the parent data heading.\n */\n @Prop() small: boolean = false;\n\n @State() deviceSize: number = DEVICE_SIZES.XL;\n\n @State() entitySize: \"xl\" | \"m\" | \"xs\";\n\n private resizeObserver: ResizeObserver = null;\n\n private hasEndComponent: boolean = false;\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n this.checkLabelAbove();\n });\n\n this.resizeObserver.observe(this.el);\n };\n\n private checkLabelAbove() {\n const rowSize = this.el.shadowRoot.querySelector(\".data\")?.clientWidth;\n if (rowSize) {\n if (rowSize + 46 < DEVICE_SIZES.S) {\n this.entitySize = \"xs\";\n } else if (rowSize + 46 < DEVICE_SIZES.M) {\n this.entitySize = \"m\";\n } else {\n this.entitySize = \"xl\";\n }\n }\n }\n\n private labelEndComponent(): void {\n const component = this.el.shadowRoot.querySelectorAll(\n \"slot[name=end-component]\"\n );\n\n component.forEach((child: HTMLElement) =>\n child.setAttribute(\"aria-label\", \"for \" + this.label + \" row\")\n );\n }\n\n componentWillLoad(): void {\n this.deviceSize = getCurrentDeviceSize();\n this.hasEndComponent = slotHasContent(this.el, \"end-component\");\n this.checkLabelAbove();\n }\n\n componentDidLoad(): void {\n checkResizeObserver(this.runResizeObserver);\n if (this.hasEndComponent) {\n this.labelEndComponent();\n }\n }\n\n disconnectedCallback(): void {\n if (this.resizeObserver !== null) {\n this.resizeObserver.disconnect();\n }\n }\n\n render() {\n const { label, value, small } = this;\n\n return (\n <Host\n class={{\n [\"small\"]: small,\n [\"breakpoint-medium\"]: this.entitySize === \"m\",\n [\"breakpoint-xs\"]: this.entitySize === \"xs\",\n }}\n role=\"listitem\"\n >\n <div class=\"data\">\n <div class=\"text-cells\">\n <div class=\"label\">\n <slot name=\"label\">\n <ic-typography\n variant={\n this.entitySize === \"xs\" ? \"label\" : \"subtitle-large\"\n }\n >\n {label}\n </ic-typography>\n </slot>\n </div>\n <div class=\"value\">\n <slot name=\"value\">\n <ic-typography variant=\"body\">{value}</ic-typography>\n </slot>\n </div>\n </div>\n {this.hasEndComponent && (\n <div class=\"end-component\">\n <div role=\"cell\">\n <slot name=\"end-component\"></slot>\n </div>\n </div>\n )}\n </div>\n <div class=\"divider\" />\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-3ef30d9d.js');
6
- const helpers = require('./helpers-8bc3b6d2.js');
5
+ const index = require('./index-f79a4e53.js');
6
+ const helpers = require('./helpers-2021e212.js');
7
7
  const types = require('./types-3eb02246.js');
8
8
 
9
- const icDividerCss = "hr.sc-ic-divider{padding:0;margin:0;border:none;height:1px;background-color:var(--ic-keyline-darken-rgb)}hr.light.sc-ic-divider{background-color:var(--ic-keyline-lighten-rgb)}";
9
+ const icDividerCss = "hr.sc-ic-divider{padding:0;margin:0;border:none;height:0.063rem;background-color:var(--ic-keyline-darken-rgb)}hr.light.sc-ic-divider{background-color:var(--ic-keyline-lighten-rgb)}";
10
10
 
11
11
  const Divider = class {
12
12
  constructor(hostRef) {
@@ -1 +1 @@
1
- {"file":"ic-divider.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,YAAY,GAAG,iLAAiL;;MCczL,OAAO;;;2BAC4BA,+BAAuB,EAAE;;EAGvE,kBAAkB,CAAC,EAAe;IAChC,MAAM,KAAK,GAAY,EAAE,CAAC,MAAM,CAAC;IACjC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,IAAI,CAAC;GACnC;EAED,MAAM;IACJ,QACEC,QAACC,UAAI,mBAAa,MAAM,IACtBD,gBACE,KAAK,EAAE;QACL,CAAC,OAAO,GAAG,IAAI,CAAC,eAAe,KAAKE,2BAAqB,CAAC,KAAK;OAChE,GACD,CACG,EACP;GACH;;;;;;","names":["getThemeForegroundColor","h","Host","IcThemeForegroundEnum"],"sources":["./src/components/ic-divider/ic-divider.css?tag=ic-divider&encapsulation=scoped","./src/components/ic-divider/ic-divider.tsx"],"sourcesContent":["hr {\n padding: 0;\n margin: 0;\n border: none;\n height: 1px;\n background-color: var(--ic-keyline-darken-rgb);\n}\n\nhr.light {\n background-color: var(--ic-keyline-lighten-rgb);\n}\n","import { h, Component, Host, Listen, State } from \"@stencil/core\";\n\nimport { getThemeForegroundColor } from \"../../utils/helpers\";\nimport {\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\n\n@Component({\n tag: \"ic-divider\",\n styleUrl: \"ic-divider.css\",\n scoped: true,\n})\nexport class Divider {\n @State() foregroundColor: IcThemeForeground = getThemeForegroundColor();\n\n @Listen(\"icThemeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.foregroundColor = theme.mode;\n }\n\n render() {\n return (\n <Host aria-hidden=\"true\">\n <hr\n class={{\n [\"light\"]: this.foregroundColor === IcThemeForegroundEnum.Light,\n }}\n />\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-divider.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,YAAY,GAAG,sLAAsL;;MCc9L,OAAO;;;2BAC4BA,+BAAuB,EAAE;;EAGvE,kBAAkB,CAAC,EAAe;IAChC,MAAM,KAAK,GAAY,EAAE,CAAC,MAAM,CAAC;IACjC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,IAAI,CAAC;GACnC;EAED,MAAM;IACJ,QACEC,QAACC,UAAI,mBAAa,MAAM,IACtBD,gBACE,KAAK,EAAE;QACL,CAAC,OAAO,GAAG,IAAI,CAAC,eAAe,KAAKE,2BAAqB,CAAC,KAAK;OAChE,GACD,CACG,EACP;GACH;;;;;;","names":["getThemeForegroundColor","h","Host","IcThemeForegroundEnum"],"sources":["./src/components/ic-divider/ic-divider.css?tag=ic-divider&encapsulation=scoped","./src/components/ic-divider/ic-divider.tsx"],"sourcesContent":["hr {\n padding: 0;\n margin: 0;\n border: none;\n height: 0.063rem;\n background-color: var(--ic-keyline-darken-rgb);\n}\n\nhr.light {\n background-color: var(--ic-keyline-lighten-rgb);\n}\n","import { h, Component, Host, Listen, State } from \"@stencil/core\";\n\nimport { getThemeForegroundColor } from \"../../utils/helpers\";\nimport {\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\n\n@Component({\n tag: \"ic-divider\",\n styleUrl: \"ic-divider.css\",\n scoped: true,\n})\nexport class Divider {\n @State() foregroundColor: IcThemeForeground = getThemeForegroundColor();\n\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.foregroundColor = theme.mode;\n }\n\n render() {\n return (\n <Host aria-hidden=\"true\">\n <hr\n class={{\n [\"light\"]: this.foregroundColor === IcThemeForegroundEnum.Light,\n }}\n />\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-3ef30d9d.js');
6
- const helpers = require('./helpers-8bc3b6d2.js');
5
+ const index = require('./index-f79a4e53.js');
6
+ const helpers = require('./helpers-2021e212.js');
7
7
  require('./types-3eb02246.js');
8
8
 
9
- const icFooterLinkGroupCss = "/*! 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(.footer-link-group-sparse){--footer-link-group-margin-right:95px;--footer-link-group-border-bottom:0 solid transparent;--footer-link-group-title-margin-top:0;--footer-link-group-title-margin-bottom:var(--ic-space-md)}:host(.footer-link-group-small){--footer-link-group-margin-right:0;--footer-link-group-title-margin-top:var(--ic-space-md);--footer-link-group-title-margin-bottom:var(--ic-space-md);--footer-link-group-links-padding-left:var(--ic-space-md);--footer-link-group-links-padding-bottom:var(--ic-space-md)}:host(.footer-link-group-light.footer-link-group-small){--footer-link-group-border-bottom:var(--ic-keyline-lighten)}:host(.footer-link-group-dark.footer-link-group-small){--footer-link-group-border-bottom:var(--ic-keyline-darken)}:host(.footer-link-group){margin-right:var(--footer-link-group-margin-right);border-bottom:var(--footer-link-group-border-bottom)}:host(.footer-link-group-small.footer-link-group-light:hover){background-color:var(--ic-action-light-bg-hover);cursor:pointer}:host(.footer-link-group-small.footer-link-group-dark:hover){background-color:var(--ic-action-dark-bg-hover);cursor:pointer}:host(.footer-link-group-sparse:focus){box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);outline:var(--ic-hc-focus-outline);z-index:1}:host(.footer-link-group-small:focus){box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);outline:var(--ic-hc-focus-outline);z-index:1}:host(.footer-link-group-small.footer-link-group-light:active){background-color:var(--ic-action-light-bg-active)}:host(.footer-link-group-small.footer-link-group-dark:active){background-color:var(--ic-action-dark-bg-active)}.footer-link-group-title{margin-top:var(--footer-link-group-title-margin-top);margin-bottom:var(--footer-link-group-title-margin-bottom);flex-grow:1}.footer-link-group-toggle{fill:white !important}.footer-link-group-links{display:flex;flex-direction:column}.footer-link-group-header{display:flex;align-items:center}";
9
+ const icFooterLinkGroupCss = "/*! 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(.footer-link-group-sparse){--footer-link-group-margin-right:5.938rem;--footer-link-group-border-bottom:0 solid transparent;--footer-link-group-title-margin-top:0;--footer-link-group-title-margin-bottom:var(--ic-space-md)}:host(.footer-link-group-small){--footer-link-group-margin-right:0;--footer-link-group-title-margin-top:var(--ic-space-md);--footer-link-group-title-margin-bottom:var(--ic-space-md);--footer-link-group-links-padding-left:var(--ic-space-md);--footer-link-group-links-padding-bottom:var(--ic-space-md)}:host(.footer-link-group-light.footer-link-group-small){--footer-link-group-border-bottom:var(--ic-keyline-lighten)}:host(.footer-link-group-dark.footer-link-group-small){--footer-link-group-border-bottom:var(--ic-keyline-darken)}:host(.footer-link-group){margin-right:var(--footer-link-group-margin-right);border-bottom:var(--footer-link-group-border-bottom)}:host(.footer-link-group-small.footer-link-group-light:hover){background-color:var(--ic-action-light-bg-hover);cursor:pointer}:host(.footer-link-group-small.footer-link-group-dark:hover){background-color:var(--ic-action-dark-bg-hover);cursor:pointer}:host(.footer-link-group-sparse:focus){box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);outline:var(--ic-hc-focus-outline);z-index:1}:host(.footer-link-group-small:focus){box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);outline:var(--ic-hc-focus-outline);z-index:1}:host(.footer-link-group-small.footer-link-group-light:active){background-color:var(--ic-action-light-bg-active)}:host(.footer-link-group-small.footer-link-group-dark:active){background-color:var(--ic-action-dark-bg-active)}.footer-link-group-title{margin-top:var(--footer-link-group-title-margin-top);margin-bottom:var(--footer-link-group-title-margin-bottom);flex-grow:1}.footer-link-group-toggle{fill:white !important}.footer-link-group-links{display:flex;flex-direction:column}.footer-link-group-header{display:flex;align-items:center}";
10
10
 
11
11
  const FooterLinkGroup = class {
12
12
  constructor(hostRef) {
@@ -61,6 +61,7 @@ const FooterLinkGroup = class {
61
61
  [`footer-link-group-${this.dropdownIconStyle}`]: true,
62
62
  }, tabIndex: "1", onClick: this.toggleExpanded, onKeydown: this.handleKeydown, "aria-haspopup": "true", "aria-expanded": this.expanded }, index.h("ic-section-container", { fullHeight: true }, index.h("div", { class: "footer-link-group-header" }, index.h("div", { class: "footer-link-group-title" }, index.h("ic-typography", { variant: "label" }, groupTitle)), this.expanded ? (index.h("svg", { class: "footer-link-group-toggle", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", role: "img", width: "1em", height: "1em", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 1200 1200" }, index.h("path", { fill: "currentColor", d: "M600.002 210.605L421.285 389.336L0 810.559l178.721 178.836l421.281-421.341l421.281 421.341L1200 810.559L778.733 389.336L600.002 210.605z" }))) : (index.h("svg", { class: "footer-link-group-toggle", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", role: "img", width: "1em", height: "1em", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 1200 1200" }, index.h("g", { transform: "translate(0 1200) scale(1 -1)" }, index.h("path", { fill: "currentColor", d: "M600.002 210.605L421.285 389.336L0 810.559l178.721 178.836l421.281-421.341l421.281 421.341L1200 810.559L778.733 389.336L600.002 210.605z" }))))), this.expanded && (index.h("div", { class: "footer-link-group-links" }, index.h("slot", null))))));
63
63
  }
64
+ static get delegatesFocus() { return true; }
64
65
  get el() { return index.getElement(this); }
65
66
  };
66
67
  FooterLinkGroup.style = icFooterLinkGroupCss;
@@ -1 +1 @@
1
- {"file":"ic-footer-link-group.entry.cjs.js","mappings":"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","names":["getThemeForegroundColor","DEVICE_SIZES","onComponentRequiredPropUndefined","h","Host"],"sources":["./src/components/ic-footer-link-group/ic-footer-link-group.css?tag=ic-footer-link-group&encapsulation=shadow","./src/components/ic-footer-link-group/ic-footer-link-group.tsx"],"sourcesContent":["@import \"../../global/normalise.css\";\n\n:host(.footer-link-group-sparse) {\n --footer-link-group-margin-right: 95px;\n --footer-link-group-border-bottom: 0 solid transparent;\n --footer-link-group-title-margin-top: 0;\n --footer-link-group-title-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-group-small) {\n --footer-link-group-margin-right: 0;\n --footer-link-group-title-margin-top: var(--ic-space-md);\n --footer-link-group-title-margin-bottom: var(--ic-space-md);\n --footer-link-group-links-padding-left: var(--ic-space-md);\n --footer-link-group-links-padding-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-group-light.footer-link-group-small) {\n --footer-link-group-border-bottom: var(--ic-keyline-lighten);\n}\n\n:host(.footer-link-group-dark.footer-link-group-small) {\n --footer-link-group-border-bottom: var(--ic-keyline-darken);\n}\n\n:host(.footer-link-group) {\n margin-right: var(--footer-link-group-margin-right);\n border-bottom: var(--footer-link-group-border-bottom);\n}\n\n:host(.footer-link-group-small.footer-link-group-light:hover) {\n background-color: var(--ic-action-light-bg-hover);\n cursor: pointer;\n}\n\n:host(.footer-link-group-small.footer-link-group-dark:hover) {\n background-color: var(--ic-action-dark-bg-hover);\n cursor: pointer;\n}\n\n:host(.footer-link-group-sparse:focus) {\n box-shadow: var(--ic-border-focus-inset);\n border-radius: var(--ic-border-radius-inset);\n outline: var(--ic-hc-focus-outline);\n z-index: 1;\n}\n\n:host(.footer-link-group-small:focus) {\n box-shadow: var(--ic-border-focus-inset);\n border-radius: var(--ic-border-radius-inset);\n outline: var(--ic-hc-focus-outline);\n z-index: 1;\n}\n\n:host(.footer-link-group-small.footer-link-group-light:active) {\n background-color: var(--ic-action-light-bg-active);\n}\n\n:host(.footer-link-group-small.footer-link-group-dark:active) {\n background-color: var(--ic-action-dark-bg-active);\n}\n\n.footer-link-group-title {\n margin-top: var(--footer-link-group-title-margin-top);\n margin-bottom: var(--footer-link-group-title-margin-bottom);\n flex-grow: 1;\n}\n\n.footer-link-group-toggle {\n fill: white !important;\n}\n\n.footer-link-group-links {\n display: flex;\n flex-direction: column;\n}\n\n.footer-link-group-header {\n display: flex;\n align-items: center;\n}\n","import {\n Component,\n Host,\n Element,\n Listen,\n Prop,\n h,\n State,\n} from \"@stencil/core\";\nimport {\n DEVICE_SIZES,\n getThemeForegroundColor,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\nimport { IcTheme } from \"../../utils/types\";\n\n@Component({\n tag: \"ic-footer-link-group\",\n styleUrl: \"ic-footer-link-group.css\",\n shadow: true,\n})\nexport class FooterLinkGroup {\n @Element() el: HTMLIcFooterLinkGroupElement;\n\n /**\n * Sets the title of the link group for display\n */\n @Prop() groupTitle!: string;\n\n @State() small: boolean = false;\n\n @State() expanded: boolean = false;\n\n @State() dropdownIconStyle = getThemeForegroundColor();\n\n @State() deviceSize: number = DEVICE_SIZES.XL;\n\n private isSmall(e: HTMLElement): boolean {\n if (e.parentElement !== null) {\n if (e.parentElement.classList.contains(\"footer\")) {\n return e.parentElement.classList.contains(\"footer-small\");\n } else {\n return this.isSmall(e.parentElement);\n }\n } else {\n return false;\n }\n }\n\n private handleKeydown = (event: KeyboardEvent): void => {\n if (event.key === \" \" || event.key === \"Enter\") {\n this.toggleExpanded();\n }\n };\n\n private toggleExpanded = (): void => {\n this.expanded = !this.expanded;\n };\n\n @Listen(\"icFooterResized\", { target: \"document\" })\n footerResizeHandler(): void {\n this.small = this.isSmall(this.el);\n }\n\n @Listen(\"icThemeChange\", { target: \"document\" })\n footerThemeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.dropdownIconStyle = theme.mode;\n }\n\n componentWillLoad(): void {\n this.small = this.isSmall(this.el);\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.groupTitle, propName: \"group-title\" }],\n \"Footer Link Group\"\n );\n }\n\n render() {\n const { small, groupTitle } = this;\n\n return !small ? (\n <Host\n class={{\n [\"footer-link-group footer-link-group-sparse\"]: true,\n [`footer-link-group-${this.dropdownIconStyle}`]: true,\n }}\n >\n <div class=\"footer-link-group-title\">\n <ic-typography variant=\"subtitle-small\">{groupTitle}</ic-typography>\n </div>\n <div class=\"footer-link-group-links\">\n <slot />\n </div>\n </Host>\n ) : (\n <Host\n class={{\n [\"footer-link-group footer-link-group-small\"]: true,\n [`footer-link-group-${this.dropdownIconStyle}`]: true,\n }}\n tabIndex=\"1\"\n onClick={this.toggleExpanded}\n onKeydown={this.handleKeydown}\n aria-haspopup=\"true\"\n aria-expanded={this.expanded}\n >\n <ic-section-container fullHeight={true}>\n <div class=\"footer-link-group-header\">\n <div class=\"footer-link-group-title\">\n <ic-typography variant=\"label\">{groupTitle}</ic-typography>\n </div>\n {this.expanded ? (\n <svg\n class=\"footer-link-group-toggle\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"img\"\n width=\"1em\"\n height=\"1em\"\n preserveAspectRatio=\"xMidYMid meet\"\n viewBox=\"0 0 1200 1200\"\n >\n <path\n fill=\"currentColor\"\n d=\"M600.002 210.605L421.285 389.336L0 810.559l178.721 178.836l421.281-421.341l421.281 421.341L1200 810.559L778.733 389.336L600.002 210.605z\"\n />\n </svg>\n ) : (\n <svg\n class=\"footer-link-group-toggle\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"img\"\n width=\"1em\"\n height=\"1em\"\n preserveAspectRatio=\"xMidYMid meet\"\n viewBox=\"0 0 1200 1200\"\n >\n <g transform=\"translate(0 1200) scale(1 -1)\">\n <path\n fill=\"currentColor\"\n d=\"M600.002 210.605L421.285 389.336L0 810.559l178.721 178.836l421.281-421.341l421.281 421.341L1200 810.559L778.733 389.336L600.002 210.605z\"\n />\n </g>\n </svg>\n )}\n </div>\n {this.expanded && (\n <div class=\"footer-link-group-links\">\n <slot />\n </div>\n )}\n </ic-section-container>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-footer-link-group.entry.cjs.js","mappings":"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","names":["getThemeForegroundColor","DEVICE_SIZES","onComponentRequiredPropUndefined","h","Host"],"sources":["./src/components/ic-footer-link-group/ic-footer-link-group.css?tag=ic-footer-link-group&encapsulation=shadow","./src/components/ic-footer-link-group/ic-footer-link-group.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host(.footer-link-group-sparse) {\n --footer-link-group-margin-right: 5.938rem;\n --footer-link-group-border-bottom: 0 solid transparent;\n --footer-link-group-title-margin-top: 0;\n --footer-link-group-title-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-group-small) {\n --footer-link-group-margin-right: 0;\n --footer-link-group-title-margin-top: var(--ic-space-md);\n --footer-link-group-title-margin-bottom: var(--ic-space-md);\n --footer-link-group-links-padding-left: var(--ic-space-md);\n --footer-link-group-links-padding-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-group-light.footer-link-group-small) {\n --footer-link-group-border-bottom: var(--ic-keyline-lighten);\n}\n\n:host(.footer-link-group-dark.footer-link-group-small) {\n --footer-link-group-border-bottom: var(--ic-keyline-darken);\n}\n\n:host(.footer-link-group) {\n margin-right: var(--footer-link-group-margin-right);\n border-bottom: var(--footer-link-group-border-bottom);\n}\n\n:host(.footer-link-group-small.footer-link-group-light:hover) {\n background-color: var(--ic-action-light-bg-hover);\n cursor: pointer;\n}\n\n:host(.footer-link-group-small.footer-link-group-dark:hover) {\n background-color: var(--ic-action-dark-bg-hover);\n cursor: pointer;\n}\n\n:host(.footer-link-group-sparse:focus) {\n box-shadow: var(--ic-border-focus-inset);\n border-radius: var(--ic-border-radius-inset);\n outline: var(--ic-hc-focus-outline);\n z-index: 1;\n}\n\n:host(.footer-link-group-small:focus) {\n box-shadow: var(--ic-border-focus-inset);\n border-radius: var(--ic-border-radius-inset);\n outline: var(--ic-hc-focus-outline);\n z-index: 1;\n}\n\n:host(.footer-link-group-small.footer-link-group-light:active) {\n background-color: var(--ic-action-light-bg-active);\n}\n\n:host(.footer-link-group-small.footer-link-group-dark:active) {\n background-color: var(--ic-action-dark-bg-active);\n}\n\n.footer-link-group-title {\n margin-top: var(--footer-link-group-title-margin-top);\n margin-bottom: var(--footer-link-group-title-margin-bottom);\n flex-grow: 1;\n}\n\n.footer-link-group-toggle {\n fill: white !important;\n}\n\n.footer-link-group-links {\n display: flex;\n flex-direction: column;\n}\n\n.footer-link-group-header {\n display: flex;\n align-items: center;\n}\n","import {\n Component,\n Host,\n Element,\n Listen,\n Prop,\n h,\n State,\n} from \"@stencil/core\";\nimport {\n DEVICE_SIZES,\n getThemeForegroundColor,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\nimport { IcTheme } from \"../../utils/types\";\n\n@Component({\n tag: \"ic-footer-link-group\",\n styleUrl: \"ic-footer-link-group.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class FooterLinkGroup {\n @Element() el: HTMLIcFooterLinkGroupElement;\n\n /**\n * The title of the link group to be displayed.\n */\n @Prop() groupTitle!: string;\n\n @State() small: boolean = false;\n\n @State() expanded: boolean = false;\n\n @State() dropdownIconStyle = getThemeForegroundColor();\n\n @State() deviceSize: number = DEVICE_SIZES.XL;\n\n private isSmall(e: HTMLElement): boolean {\n if (e.parentElement !== null) {\n if (e.parentElement.classList.contains(\"footer\")) {\n return e.parentElement.classList.contains(\"footer-small\");\n } else {\n return this.isSmall(e.parentElement);\n }\n } else {\n return false;\n }\n }\n\n private handleKeydown = (event: KeyboardEvent): void => {\n if (event.key === \" \" || event.key === \"Enter\") {\n this.toggleExpanded();\n }\n };\n\n private toggleExpanded = (): void => {\n this.expanded = !this.expanded;\n };\n\n @Listen(\"footerResized\", { target: \"document\" })\n footerResizeHandler(): void {\n this.small = this.isSmall(this.el);\n }\n\n @Listen(\"themeChange\", { target: \"document\" })\n footerThemeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.dropdownIconStyle = theme.mode;\n }\n\n componentWillLoad(): void {\n this.small = this.isSmall(this.el);\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.groupTitle, propName: \"group-title\" }],\n \"Footer Link Group\"\n );\n }\n\n render() {\n const { small, groupTitle } = this;\n\n return !small ? (\n <Host\n class={{\n [\"footer-link-group footer-link-group-sparse\"]: true,\n [`footer-link-group-${this.dropdownIconStyle}`]: true,\n }}\n >\n <div class=\"footer-link-group-title\">\n <ic-typography variant=\"subtitle-small\">{groupTitle}</ic-typography>\n </div>\n <div class=\"footer-link-group-links\">\n <slot />\n </div>\n </Host>\n ) : (\n <Host\n class={{\n [\"footer-link-group footer-link-group-small\"]: true,\n [`footer-link-group-${this.dropdownIconStyle}`]: true,\n }}\n tabIndex=\"1\"\n onClick={this.toggleExpanded}\n onKeydown={this.handleKeydown}\n aria-haspopup=\"true\"\n aria-expanded={this.expanded}\n >\n <ic-section-container fullHeight={true}>\n <div class=\"footer-link-group-header\">\n <div class=\"footer-link-group-title\">\n <ic-typography variant=\"label\">{groupTitle}</ic-typography>\n </div>\n {this.expanded ? (\n <svg\n class=\"footer-link-group-toggle\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"img\"\n width=\"1em\"\n height=\"1em\"\n preserveAspectRatio=\"xMidYMid meet\"\n viewBox=\"0 0 1200 1200\"\n >\n <path\n fill=\"currentColor\"\n d=\"M600.002 210.605L421.285 389.336L0 810.559l178.721 178.836l421.281-421.341l421.281 421.341L1200 810.559L778.733 389.336L600.002 210.605z\"\n />\n </svg>\n ) : (\n <svg\n class=\"footer-link-group-toggle\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"img\"\n width=\"1em\"\n height=\"1em\"\n preserveAspectRatio=\"xMidYMid meet\"\n viewBox=\"0 0 1200 1200\"\n >\n <g transform=\"translate(0 1200) scale(1 -1)\">\n <path\n fill=\"currentColor\"\n d=\"M600.002 210.605L421.285 389.336L0 810.559l178.721 178.836l421.281-421.341l421.281 421.341L1200 810.559L778.733 389.336L600.002 210.605z\"\n />\n </g>\n </svg>\n )}\n </div>\n {this.expanded && (\n <div class=\"footer-link-group-links\">\n <slot />\n </div>\n )}\n </ic-section-container>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,16 +2,22 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-3ef30d9d.js');
6
- const helpers = require('./helpers-8bc3b6d2.js');
5
+ const index = require('./index-f79a4e53.js');
6
+ const helpers = require('./helpers-2021e212.js');
7
+ const OpenInNew = require('./OpenInNew-f9958725.js');
7
8
  require('./types-3eb02246.js');
8
9
 
9
- const icFooterLinkCss = "/*! 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(.footer-link-ungrouped-sparse){--footer-link-margin-left:0;--footer-link-margin-right:40px;--footer-link-margin-bottom:0}:host(.footer-link-ungrouped-small){--footer-link-margin-left:0;--footer-link-margin-right:0;--footer-link-margin-bottom:var(--ic-space-md)}:host(.footer-link-grouped-sparse){--footer-link-margin-left:0;--footer-link-margin-right:0;--footer-link-margin-bottom:var(--ic-space-md)}:host(.footer-link-grouped-small){--footer-link-margin-left:var(--ic-space-md);--footer-link-margin-right:0;--footer-link-margin-bottom:var(--ic-space-md)}:host(.footer-link){margin-left:var(--footer-link-margin-left);margin-right:var(--footer-link-margin-right);margin-bottom:var(--footer-link-margin-bottom)}:host(.footer-link) a,:host(.footer-link) a ::slotted(a){display:block;font-weight:var(--ic-font-weight-bold);color:inherit;width:-moz-fit-content;width:fit-content;font-size:var(--ic-font-size-regular)}:host(.footer-link) a:link,:host(.footer-link) a ::slotted(a:link){color:inherit;text-decoration:underline;font-weight:var(--ic-font-weight-bold)}:host(.footer-link) a:link>::slotted(svg),:host(.footer-link) a:link>::slotted(img),:host(.footer-link) a ::slotted(a:link>::slotted(svg)),:host(.footer-link) a ::slotted(a:link>::slotted(img)){padding:var(--ic-space-xxxs);pointer-events:none;transition:var(--ic-easing-transition-fast)}:host(.footer-link-light) ::slotted(svg){fill:var(--ic-architectural-white)}:host(.footer-link-dark) ::slotted(svg){fill:var(--ic-architectural-black)}:host(.footer-link) a:link:hover,:host(.footer-link) a:link:focus,:host(.footer-link) a ::slotted(a:link:hover),:host(.footer-link) a ::slotted(a:link:focus){text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:25%}:host(.footer-link) a:link:hover,:host(.footer-link) a ::slotted(a:link:hover){outline:none}:host(.footer-link) a:link:focus,:host(.footer-link) a ::slotted(a:link:focus){outline:var(--ic-hc-focus-outline)}:host(.footer-link) a:link:focus>::slotted(svg),:host(.footer-link) a:link:focus>::slotted(img),:host(.footer-link) a ::slotted(a:link:focus>::slotted(svg)),:host(.footer-link) a ::slotted(a:link:focus>::slotted(img)){box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius)}:host(.footer-link) a:focus,:host(.footer-link) a ::slotted(a:focus){border-radius:var(--ic-border-radius);outline:var(--ic-hc-focus-outline);transition:var(--ic-transition-duration-fast)}:host(.footer-link) a:link:active,:host(.footer-link) a:link:focus:active,:host(.footer-link) a:link:visited:active,:host(.footer-link) a ::slotted(a:link:active),:host(.footer-link) a ::slotted(a:link:focus:active),:host(.footer-link) a ::slotted(a:link:visited:active){color:inherit;text-decoration:none}:host(.footer-link) a:hover,:host(.footer-link) a ::slotted(a:hover){text-decoration:none}@media (forced-colors: active){:host(.footer-link-light) ::slotted(svg),:host(.footer-link-dark) ::slotted(svg){fill:currentcolor}}";
10
+ const icFooterLinkCss = "/*! 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(.footer-link-ungrouped-sparse){--footer-link-margin-left:0;--footer-link-margin-right:2.5rem;--footer-link-margin-bottom:0}:host(.footer-link-ungrouped-small){--footer-link-margin-left:0;--footer-link-margin-right:0;--footer-link-margin-bottom:var(--ic-space-md)}:host(.footer-link-grouped-sparse){--footer-link-margin-left:0;--footer-link-margin-right:0;--footer-link-margin-bottom:var(--ic-space-md)}:host(.footer-link-grouped-small){--footer-link-margin-left:var(--ic-space-md);--footer-link-margin-right:0;--footer-link-margin-bottom:var(--ic-space-md)}:host(.footer-link){margin-left:var(--footer-link-margin-left);margin-right:var(--footer-link-margin-right);margin-bottom:var(--footer-link-margin-bottom)}:host(.footer-link) a,:host(.footer-link) a ::slotted(a){display:flex;align-items:flex-end;font-weight:var(--ic-font-weight-bold);color:inherit;width:-moz-fit-content;width:fit-content;font-size:var(--ic-font-size-regular)}:host(.footer-link) a:link,:host(.footer-link) a ::slotted(a:link){color:inherit;text-decoration:underline;font-weight:var(--ic-font-weight-bold)}:host(.footer-link) a:link>::slotted(svg),:host(.footer-link) a:link>::slotted(img),:host(.footer-link) a ::slotted(a:link>::slotted(svg)),:host(.footer-link) a ::slotted(a:link>::slotted(img)){padding:var(--ic-space-xxxs);pointer-events:none;transition:var(--ic-easing-transition-fast)}:host(.footer-link-light) ::slotted(svg){fill:var(--ic-architectural-white)}:host(.footer-link-dark) ::slotted(svg){fill:var(--ic-architectural-black)}:host(.footer-link) a:link:hover,:host(.footer-link) a:link:focus,:host(.footer-link) a ::slotted(a:link:hover),:host(.footer-link) a ::slotted(a:link:focus){border-bottom:0.25rem solid !important;margin-bottom:-0.25rem !important;text-decoration:none}@supports (text-decoration-thickness: 25%){:host(.footer-link) a:link:hover,:host(.footer-link) a:link:focus,:host(.footer-link) a ::slotted(a:link:hover),:host(.footer-link) a ::slotted(a:link:focus){text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:25%;border-bottom:0 !important;margin-bottom:0 !important}}:host(.footer-link) a:link:hover,:host(.footer-link) a ::slotted(a:link:hover){outline:none}:host(.footer-link) a:link:focus,:host(.footer-link) a ::slotted(a:link:focus){outline:var(--ic-hc-focus-outline)}:host(.footer-link) a:link:focus>::slotted(svg),:host(.footer-link) a:link:focus>::slotted(img),:host(.footer-link) a ::slotted(a:link:focus>::slotted(svg)),:host(.footer-link) a ::slotted(a:link:focus>::slotted(img)){box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius)}:host(.footer-link) a:focus,:host(.footer-link) a ::slotted(a:focus){border-radius:var(--ic-border-radius);outline:var(--ic-hc-focus-outline);transition:var(--ic-transition-duration-fast)}:host(.footer-link) a:link:active,:host(.footer-link) a:link:focus:active,:host(.footer-link) a:link:visited:active,:host(.footer-link) a ::slotted(a:link:active),:host(.footer-link) a ::slotted(a:link:focus:active),:host(.footer-link) a ::slotted(a:link:visited:active){color:inherit;text-decoration:none}:host(.footer-link) a:hover,:host(.footer-link) a ::slotted(a:hover){text-decoration:none}.open-in-new-icon{padding-left:var(--ic-space-xxs)}.open-in-new-icon,.open-in-new-icon svg{height:var(--ic-space-md);width:var(--ic-space-md)}:host(.footer-link-light) .open-in-new-icon svg{fill:var(--ic-architectural-white)}:host(.footer-link-dark) .open-in-new-icon svg{fill:var(--ic-architectural-black)}@media screen and (min-width: 769px){:host(.footer-link.footer-link-ungrouped-sparse:last-of-type){margin-right:0}}@media (forced-colors: active){:host(.footer-link-light) ::slotted(svg),:host(.footer-link-dark) ::slotted(svg){fill:currentcolor}}";
10
11
 
11
12
  const FooterLink = class {
12
13
  constructor(hostRef) {
13
14
  index.registerInstance(this, hostRef);
14
15
  this.href = null;
16
+ this.hreflang = undefined;
17
+ this.referrerpolicy = undefined;
18
+ this.rel = undefined;
19
+ this.target = undefined;
20
+ this.download = false;
15
21
  this.footerConfig = { small: false, grouped: false };
16
22
  this.deviceSize = helpers.DEVICE_SIZES.XL;
17
23
  this.foregroundColor = helpers.getThemeForegroundColor();
@@ -43,14 +49,15 @@ const FooterLink = class {
43
49
  this.footerConfig = this.inferConfig(this.el);
44
50
  }
45
51
  render() {
46
- const { footerConfig, href } = this;
52
+ const { footerConfig, href, hreflang, referrerpolicy, rel, target, download, } = this;
47
53
  const { small, grouped } = footerConfig;
48
54
  return (index.h(index.Host, { class: {
49
55
  "footer-link": true,
50
56
  [`footer-link-${grouped ? "grouped" : "ungrouped"}-${small ? "small" : "sparse"}`]: true,
51
57
  [`footer-link-${this.foregroundColor}`]: true,
52
- } }, index.h("a", { href: href }, index.h("slot", null))));
58
+ } }, index.h("a", { href: href, hreflang: hreflang, referrerPolicy: referrerpolicy, rel: rel, download: download !== false ? download : null, target: target }, index.h("slot", null), target === "_blank" && (index.h("span", { class: "open-in-new-icon", innerHTML: OpenInNew.OpenInNew })))));
53
59
  }
60
+ static get delegatesFocus() { return true; }
54
61
  get el() { return index.getElement(this); }
55
62
  };
56
63
  FooterLink.style = icFooterLinkCss;
@@ -1 +1 @@
1
- {"file":"ic-footer-link.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,eAAe,GAAG,gxKAAgxK;;MCmB3xK,UAAU;;;gBAMG,IAAI;wBAEU,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE;sBAExCA,oBAAY,CAAC,EAAE;2BAECC,+BAAuB,EAAE;;EAE/D,WAAW,CAAC,CAAc;IAChC,IAAI,CAAC,CAAC,aAAa,KAAK,IAAI,EAAE;MAC5B,IAAI,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;QAChD,OAAO;UACL,KAAK,EAAE,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC;UACzD,OAAO,EAAE,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,gBAAgB,CAAC;SAC9D,CAAC;OACH;WAAM;QACL,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;OAC1C;KACF;SAAM;MACL,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;KACzC;GACF;EAGD,mBAAmB;IACjB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;GAC/C;EAGD,wBAAwB,CAAC,EAAe;IACtC,MAAM,KAAK,GAAY,EAAE,CAAC,MAAM,CAAC;IACjC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,IAAI,CAAC;GACnC;EAED,iBAAiB;IACf,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;GAC/C;EAED,MAAM;IACJ,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IACpC,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,YAAY,CAAC;IAExC,QACEC,QAACC,UAAI,IACH,KAAK,EAAE;QACL,aAAa,EAAE,IAAI;QACnB,CAAC,eAAe,OAAO,GAAG,SAAS,GAAG,WAAW,IAC/C,KAAK,GAAG,OAAO,GAAG,QACpB,EAAE,GAAG,IAAI;QACT,CAAC,eAAe,IAAI,CAAC,eAAe,EAAE,GAAG,IAAI;OAC9C,IAEDD,eAAG,IAAI,EAAE,IAAI,IACXA,qBAAQ,CACN,CACC,EACP;GACH;;;;;;;","names":["DEVICE_SIZES","getThemeForegroundColor","h","Host"],"sources":["./src/components/ic-footer-link/ic-footer-link.css?tag=ic-footer-link&encapsulation=shadow","./src/components/ic-footer-link/ic-footer-link.tsx"],"sourcesContent":["@import \"../../global/normalise.css\";\n\n:host(.footer-link-ungrouped-sparse) {\n --footer-link-margin-left: 0;\n --footer-link-margin-right: 40px;\n --footer-link-margin-bottom: 0;\n}\n\n:host(.footer-link-ungrouped-small) {\n --footer-link-margin-left: 0;\n --footer-link-margin-right: 0;\n --footer-link-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-grouped-sparse) {\n --footer-link-margin-left: 0;\n --footer-link-margin-right: 0;\n --footer-link-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-grouped-small) {\n --footer-link-margin-left: var(--ic-space-md);\n --footer-link-margin-right: 0;\n --footer-link-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link) {\n margin-left: var(--footer-link-margin-left);\n margin-right: var(--footer-link-margin-right);\n margin-bottom: var(--footer-link-margin-bottom);\n}\n\n/* Link styling */\n\n:host(.footer-link) a,\n:host(.footer-link) a ::slotted(a) {\n display: block;\n font-weight: var(--ic-font-weight-bold);\n color: inherit;\n width: fit-content;\n font-size: var(--ic-font-size-regular);\n}\n\n:host(.footer-link) a:link,\n:host(.footer-link) a ::slotted(a:link) {\n color: inherit;\n text-decoration: underline;\n font-weight: var(--ic-font-weight-bold);\n}\n\n:host(.footer-link) a:link > ::slotted(svg),\n:host(.footer-link) a:link > ::slotted(img),\n:host(.footer-link) a ::slotted(a:link > ::slotted(svg)),\n:host(.footer-link) a ::slotted(a:link > ::slotted(img)) {\n padding: var(--ic-space-xxxs);\n pointer-events: none;\n transition: var(--ic-easing-transition-fast);\n}\n\n/*\nThere's an apparent defect in Chrome that means this isn't always re-rendered if changed. \nNot an issue in Safari. Line 73-79 implement the same function but less clean.\n\na:link > ::slotted(svg) ,\na:link:visited > ::slotted(svg) {\n fill: var(--ic-theme-text);\n}\n*/\n\n:host(.footer-link-light) ::slotted(svg) {\n fill: var(--ic-architectural-white);\n}\n\n:host(.footer-link-dark) ::slotted(svg) {\n fill: var(--ic-architectural-black);\n}\n\n:host(.footer-link) a:link:hover,\n:host(.footer-link) a:link:focus,\n:host(.footer-link) a ::slotted(a:link:hover),\n:host(.footer-link) a ::slotted(a:link:focus) {\n text-decoration-line: underline;\n text-decoration-thickness: 25%;\n text-underline-offset: 25%;\n}\n\n:host(.footer-link) a:link:hover,\n:host(.footer-link) a ::slotted(a:link:hover) {\n outline: none;\n}\n\n:host(.footer-link) a:link:focus,\n:host(.footer-link) a ::slotted(a:link:focus) {\n outline: var(--ic-hc-focus-outline);\n}\n\n:host(.footer-link) a:link:focus > ::slotted(svg),\n:host(.footer-link) a:link:focus > ::slotted(img),\n:host(.footer-link) a ::slotted(a:link:focus > ::slotted(svg)),\n:host(.footer-link) a ::slotted(a:link:focus > ::slotted(img)) {\n box-shadow: var(--ic-border-focus);\n border-radius: var(--ic-border-radius);\n}\n\n:host(.footer-link) a:focus,\n:host(.footer-link) a ::slotted(a:focus) {\n border-radius: var(--ic-border-radius);\n outline: var(--ic-hc-focus-outline);\n transition: var(--ic-transition-duration-fast);\n}\n\n:host(.footer-link) a:link:active,\n:host(.footer-link) a:link:focus:active,\n:host(.footer-link) a:link:visited:active,\n:host(.footer-link) a ::slotted(a:link:active),\n:host(.footer-link) a ::slotted(a:link:focus:active),\n:host(.footer-link) a ::slotted(a:link:visited:active) {\n color: inherit;\n text-decoration: none;\n}\n\n:host(.footer-link) a:hover,\n:host(.footer-link) a ::slotted(a:hover) {\n text-decoration: none;\n}\n\n@media (forced-colors: active) {\n :host(.footer-link-light) ::slotted(svg),\n :host(.footer-link-dark) ::slotted(svg) {\n fill: currentcolor;\n }\n}\n","import {\n Component,\n Element,\n Host,\n Listen,\n Prop,\n h,\n State,\n} from \"@stencil/core\";\nimport { DEVICE_SIZES, getThemeForegroundColor } from \"../../utils/helpers\";\nimport { IcTheme, IcThemeForeground } from \"../../utils/types\";\n\ntype FooterConfig = { small: boolean; grouped: boolean };\n\n@Component({\n tag: \"ic-footer-link\",\n styleUrl: \"ic-footer-link.css\",\n shadow: true,\n})\nexport class FooterLink {\n @Element() el: HTMLIcFooterLinkElement;\n\n /**\n * The URL that the link points to.\n */\n @Prop() href?: string = null;\n\n @State() footerConfig: FooterConfig = { small: false, grouped: false };\n\n @State() deviceSize: number = DEVICE_SIZES.XL;\n\n @State() foregroundColor: IcThemeForeground = getThemeForegroundColor();\n\n private inferConfig(e: HTMLElement): FooterConfig {\n if (e.parentElement !== null) {\n if (e.parentElement.classList.contains(\"footer\")) {\n return {\n small: e.parentElement.classList.contains(\"footer-small\"),\n grouped: e.parentElement.classList.contains(\"footer-grouped\"),\n };\n } else {\n return this.inferConfig(e.parentElement);\n }\n } else {\n return { small: false, grouped: false };\n }\n }\n\n @Listen(\"icFooterResized\", { target: \"document\" })\n footerResizeHandler(): void {\n this.footerConfig = this.inferConfig(this.el);\n }\n\n @Listen(\"icThemeChange\", { target: \"document\" })\n footerThemeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.foregroundColor = theme.mode;\n }\n\n componentWillLoad(): void {\n this.footerConfig = this.inferConfig(this.el);\n }\n\n render() {\n const { footerConfig, href } = this;\n const { small, grouped } = footerConfig;\n\n return (\n <Host\n class={{\n \"footer-link\": true,\n [`footer-link-${grouped ? \"grouped\" : \"ungrouped\"}-${\n small ? \"small\" : \"sparse\"\n }`]: true,\n [`footer-link-${this.foregroundColor}`]: true,\n }}\n >\n <a href={href}>\n <slot />\n </a>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-footer-link.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,eAAe,GAAG,0iMAA0iM;;MCuBrjM,UAAU;;;gBAMG,IAAI;;;;;oBAyBU,KAAK;wBAEL,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE;sBAExCA,oBAAY,CAAC,EAAE;2BAECC,+BAAuB,EAAE;;EAE/D,WAAW,CAAC,CAAc;IAChC,IAAI,CAAC,CAAC,aAAa,KAAK,IAAI,EAAE;MAC5B,IAAI,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;QAChD,OAAO;UACL,KAAK,EAAE,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC;UACzD,OAAO,EAAE,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,gBAAgB,CAAC;SAC9D,CAAC;OACH;WAAM;QACL,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;OAC1C;KACF;SAAM;MACL,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;KACzC;GACF;EAGD,mBAAmB;IACjB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;GAC/C;EAGD,wBAAwB,CAAC,EAAe;IACtC,MAAM,KAAK,GAAY,EAAE,CAAC,MAAM,CAAC;IACjC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,IAAI,CAAC;GACnC;EAED,iBAAiB;IACf,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;GAC/C;EAED,MAAM;IACJ,MAAM,EACJ,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,cAAc,EACd,GAAG,EACH,MAAM,EACN,QAAQ,GACT,GAAG,IAAI,CAAC;IACT,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,YAAY,CAAC;IAExC,QACEC,QAACC,UAAI,IACH,KAAK,EAAE;QACL,aAAa,EAAE,IAAI;QACnB,CAAC,eAAe,OAAO,GAAG,SAAS,GAAG,WAAW,IAC/C,KAAK,GAAG,OAAO,GAAG,QACpB,EAAE,GAAG,IAAI;QACT,CAAC,eAAe,IAAI,CAAC,eAAe,EAAE,GAAG,IAAI;OAC9C,IAEDD,eACE,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,cAAc,EAAE,cAAc,EAC9B,GAAG,EAAE,GAAG,EACR,QAAQ,EAAE,QAAQ,KAAK,KAAK,GAAG,QAAQ,GAAG,IAAI,EAC9C,MAAM,EAAE,MAAM,IAEdA,qBAAQ,EACP,MAAM,KAAK,QAAQ,KAClBA,kBAAM,KAAK,EAAC,kBAAkB,EAAC,SAAS,EAAEE,mBAAS,GAAI,CACxD,CACC,CACC,EACP;GACH;;;;;;;;","names":["DEVICE_SIZES","getThemeForegroundColor","h","Host","OpenInNew"],"sources":["./src/components/ic-footer-link/ic-footer-link.css?tag=ic-footer-link&encapsulation=shadow","./src/components/ic-footer-link/ic-footer-link.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host(.footer-link-ungrouped-sparse) {\n --footer-link-margin-left: 0;\n --footer-link-margin-right: 2.5rem;\n --footer-link-margin-bottom: 0;\n}\n\n:host(.footer-link-ungrouped-small) {\n --footer-link-margin-left: 0;\n --footer-link-margin-right: 0;\n --footer-link-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-grouped-sparse) {\n --footer-link-margin-left: 0;\n --footer-link-margin-right: 0;\n --footer-link-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-grouped-small) {\n --footer-link-margin-left: var(--ic-space-md);\n --footer-link-margin-right: 0;\n --footer-link-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link) {\n margin-left: var(--footer-link-margin-left);\n margin-right: var(--footer-link-margin-right);\n margin-bottom: var(--footer-link-margin-bottom);\n}\n\n/* Link styling */\n\n:host(.footer-link) a,\n:host(.footer-link) a ::slotted(a) {\n display: flex;\n align-items: flex-end;\n font-weight: var(--ic-font-weight-bold);\n color: inherit;\n width: fit-content;\n font-size: var(--ic-font-size-regular);\n}\n\n:host(.footer-link) a:link,\n:host(.footer-link) a ::slotted(a:link) {\n color: inherit;\n text-decoration: underline;\n font-weight: var(--ic-font-weight-bold);\n}\n\n:host(.footer-link) a:link > ::slotted(svg),\n:host(.footer-link) a:link > ::slotted(img),\n:host(.footer-link) a ::slotted(a:link > ::slotted(svg)),\n:host(.footer-link) a ::slotted(a:link > ::slotted(img)) {\n padding: var(--ic-space-xxxs);\n pointer-events: none;\n transition: var(--ic-easing-transition-fast);\n}\n\n/*\nThere's an apparent defect in Chrome that means this isn't always re-rendered if changed.\nNot an issue in Safari. Line 73-79 implement the same function but less clean.\n\na:link > ::slotted(svg) ,\na:link:visited > ::slotted(svg) {\n fill: var(--ic-theme-text);\n}\n*/\n\n:host(.footer-link-light) ::slotted(svg) {\n fill: var(--ic-architectural-white);\n}\n\n:host(.footer-link-dark) ::slotted(svg) {\n fill: var(--ic-architectural-black);\n}\n\n:host(.footer-link) a:link:hover,\n:host(.footer-link) a:link:focus,\n:host(.footer-link) a ::slotted(a:link:hover),\n:host(.footer-link) a ::slotted(a:link:focus) {\n border-bottom: 0.25rem solid !important;\n margin-bottom: -0.25rem !important;\n text-decoration: none;\n}\n\n@supports (text-decoration-thickness: 25%) {\n :host(.footer-link) a:link:hover,\n :host(.footer-link) a:link:focus,\n :host(.footer-link) a ::slotted(a:link:hover),\n :host(.footer-link) a ::slotted(a:link:focus) {\n text-decoration-line: underline;\n text-decoration-thickness: 25%;\n text-underline-offset: 25%;\n border-bottom: 0 !important;\n margin-bottom: 0 !important;\n }\n}\n\n:host(.footer-link) a:link:hover,\n:host(.footer-link) a ::slotted(a:link:hover) {\n outline: none;\n}\n\n:host(.footer-link) a:link:focus,\n:host(.footer-link) a ::slotted(a:link:focus) {\n outline: var(--ic-hc-focus-outline);\n}\n\n:host(.footer-link) a:link:focus > ::slotted(svg),\n:host(.footer-link) a:link:focus > ::slotted(img),\n:host(.footer-link) a ::slotted(a:link:focus > ::slotted(svg)),\n:host(.footer-link) a ::slotted(a:link:focus > ::slotted(img)) {\n box-shadow: var(--ic-border-focus);\n border-radius: var(--ic-border-radius);\n}\n\n:host(.footer-link) a:focus,\n:host(.footer-link) a ::slotted(a:focus) {\n border-radius: var(--ic-border-radius);\n outline: var(--ic-hc-focus-outline);\n transition: var(--ic-transition-duration-fast);\n}\n\n:host(.footer-link) a:link:active,\n:host(.footer-link) a:link:focus:active,\n:host(.footer-link) a:link:visited:active,\n:host(.footer-link) a ::slotted(a:link:active),\n:host(.footer-link) a ::slotted(a:link:focus:active),\n:host(.footer-link) a ::slotted(a:link:visited:active) {\n color: inherit;\n text-decoration: none;\n}\n\n:host(.footer-link) a:hover,\n:host(.footer-link) a ::slotted(a:hover) {\n text-decoration: none;\n}\n\n.open-in-new-icon {\n padding-left: var(--ic-space-xxs);\n}\n\n.open-in-new-icon,\n.open-in-new-icon svg {\n height: var(--ic-space-md);\n width: var(--ic-space-md);\n}\n\n:host(.footer-link-light) .open-in-new-icon svg {\n fill: var(--ic-architectural-white);\n}\n\n:host(.footer-link-dark) .open-in-new-icon svg {\n fill: var(--ic-architectural-black);\n}\n\n@media screen and (min-width: 769px) {\n :host(.footer-link.footer-link-ungrouped-sparse:last-of-type) {\n margin-right: 0;\n }\n}\n\n@media (forced-colors: active) {\n :host(.footer-link-light) ::slotted(svg),\n :host(.footer-link-dark) ::slotted(svg) {\n fill: currentcolor;\n }\n}\n","import {\n Component,\n Element,\n Host,\n Listen,\n Prop,\n h,\n State,\n} from \"@stencil/core\";\nimport { DEVICE_SIZES, getThemeForegroundColor } from \"../../utils/helpers\";\nimport { IcTheme, IcThemeForeground } from \"../../utils/types\";\n\nimport OpenInNew from \"../../assets/OpenInNew.svg\";\n\ntype FooterConfig = { small: boolean; grouped: boolean };\n\n@Component({\n tag: \"ic-footer-link\",\n styleUrl: \"ic-footer-link.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class FooterLink {\n @Element() el: HTMLIcFooterLinkElement;\n\n /**\n * The URL that the link points to.\n */\n @Prop() href?: string = null;\n\n /**\n * The human language of the linked URL.\n */\n @Prop() hreflang?: string;\n\n /**\n * How much of the referrer to send when following the link.\n */\n @Prop() referrerpolicy?: ReferrerPolicy;\n\n /**\n * The relationship of the linked URL as space-separated link types.\n */\n @Prop() rel?: string;\n\n /**\n * The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe).\n */\n @Prop() target?: string;\n\n /**\n * If `true`, the user can save the linked URL instead of navigating to it.\n */\n @Prop() download?: string | boolean = false;\n\n @State() footerConfig: FooterConfig = { small: false, grouped: false };\n\n @State() deviceSize: number = DEVICE_SIZES.XL;\n\n @State() foregroundColor: IcThemeForeground = getThemeForegroundColor();\n\n private inferConfig(e: HTMLElement): FooterConfig {\n if (e.parentElement !== null) {\n if (e.parentElement.classList.contains(\"footer\")) {\n return {\n small: e.parentElement.classList.contains(\"footer-small\"),\n grouped: e.parentElement.classList.contains(\"footer-grouped\"),\n };\n } else {\n return this.inferConfig(e.parentElement);\n }\n } else {\n return { small: false, grouped: false };\n }\n }\n\n @Listen(\"footerResized\", { target: \"document\" })\n footerResizeHandler(): void {\n this.footerConfig = this.inferConfig(this.el);\n }\n\n @Listen(\"themeChange\", { target: \"document\" })\n footerThemeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.foregroundColor = theme.mode;\n }\n\n componentWillLoad(): void {\n this.footerConfig = this.inferConfig(this.el);\n }\n\n render() {\n const {\n footerConfig,\n href,\n hreflang,\n referrerpolicy,\n rel,\n target,\n download,\n } = this;\n const { small, grouped } = footerConfig;\n\n return (\n <Host\n class={{\n \"footer-link\": true,\n [`footer-link-${grouped ? \"grouped\" : \"ungrouped\"}-${\n small ? \"small\" : \"sparse\"\n }`]: true,\n [`footer-link-${this.foregroundColor}`]: true,\n }}\n >\n <a\n href={href}\n hreflang={hreflang}\n referrerPolicy={referrerpolicy}\n rel={rel}\n download={download !== false ? download : null}\n target={target}\n >\n <slot />\n {target === \"_blank\" && (\n <span class=\"open-in-new-icon\" innerHTML={OpenInNew} />\n )}\n </a>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,21 +2,21 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-3ef30d9d.js');
6
- const helpers = require('./helpers-8bc3b6d2.js');
5
+ const index = require('./index-f79a4e53.js');
6
+ const helpers = require('./helpers-2021e212.js');
7
7
  const types = require('./types-3eb02246.js');
8
8
 
9
- const icFooterCss = "/*! 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}:host(.footer-sparse){--footer-links-padding:24px 0;--footer-compliance-padding:24px 0 8px 0;--footer-logo-margin-bottom:var(--ic-space-lg);--footer-link-inner-flex-direction:row}:host(.footer-small){--footer-links-padding:0 0;--footer-compliance-padding:16px 0 8px;--footer-logo-margin-bottom:var(--ic-space-md);--footer-link-inner-flex-direction:column}:host(.footer-light){--footer-theme-secondary:var(--ic-theme-secondary);--footer-theme-tertiary:var(--ic-theme-tertiary);--footer-keyline:var(--ic-keyline-lighten)}:host(.footer-dark){--footer-theme-secondary:var(--ic-theme-secondary-light);--footer-theme-tertiary:var(--ic-theme-tertiary-light);--footer-keyline:var(--ic-keyline-darken)}:host(.footer-small.footer-ungrouped){--footer-links-padding:var(--ic-space-md) 0 0 0}footer{display:flex;flex-direction:column;width:100%}.footer-description{background-color:var(--footer-theme-secondary);color:var(--ic-theme-text);border-bottom:var(--footer-keyline)}.footer-description-inner{padding:16px 0}.footer-links{padding:var(--footer-links-padding);background-color:var(--footer-theme-secondary);color:var(--ic-theme-text)}.footer-links-inner{display:flex;flex-direction:var(--footer-link-inner-flex-direction)}.footer-compliance{background-color:var(--footer-theme-tertiary);color:var(--ic-theme-text)}.footer-compliance-inner{padding:var(--footer-compliance-padding)}.footer-logo{margin-bottom:var(--footer-logo-margin-bottom);display:flex;gap:var(--ic-space-xxl)}.footer-logo>::slotted(){margin-right:var(--ic-space-md)}.footer-caption{margin-bottom:var(--ic-space-md)}.classification-spacing{margin-bottom:var(--ic-space-lg)}@media (forced-colors: active){footer{border-top:var(--ic-hc-border)}}";
9
+ const icFooterCss = "/*! 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}:host(.footer-sparse){--footer-links-padding:1.5rem 0;--footer-compliance-padding:1.5rem 0 0.5rem 0;--footer-logo-margin-bottom:var(--ic-space-lg);--footer-link-inner-flex-direction:row}:host(.footer-small){--footer-links-padding:0 0;--footer-compliance-padding:1rem 0 0.5rem;--footer-logo-margin-bottom:var(--ic-space-md);--footer-link-inner-flex-direction:column}:host(.footer-light){--footer-theme-secondary:var(--ic-theme-secondary);--footer-theme-tertiary:var(--ic-theme-tertiary);--footer-keyline:var(--ic-keyline-lighten)}:host(.footer-dark){--footer-theme-secondary:var(--ic-theme-secondary-light);--footer-theme-tertiary:var(--ic-theme-tertiary-light);--footer-keyline:var(--ic-keyline-darken)}:host(.footer-small.footer-ungrouped){--footer-links-padding:var(--ic-space-md) 0 0 0}footer{display:flex;flex-direction:column;width:100%}.footer-description{background-color:var(--footer-theme-secondary);color:var(--ic-theme-text);border-bottom:var(--footer-keyline)}.footer-description-inner{padding:1rem 0}.footer-links{padding:var(--footer-links-padding);background-color:var(--footer-theme-secondary);color:var(--ic-theme-text)}.footer-links-inner{display:flex;flex-direction:var(--footer-link-inner-flex-direction)}.footer-compliance{background-color:var(--footer-theme-tertiary);color:var(--ic-theme-text)}.footer-compliance-inner{padding:var(--footer-compliance-padding)}.footer-logo{margin-bottom:var(--footer-logo-margin-bottom);display:flex;gap:var(--ic-space-xxl)}.footer-logo>::slotted(){margin-right:var(--ic-space-md)}.footer-caption{margin-bottom:var(--ic-space-md)}.classification-spacing{margin-bottom:var(--ic-space-lg)}@media (forced-colors: active){footer{border-top:var(--ic-hc-border)}}";
10
10
 
11
11
  const Footer = class {
12
12
  constructor(hostRef) {
13
13
  index.registerInstance(this, hostRef);
14
- this.icFooterResized = index.createEvent(this, "icFooterResized", 7);
14
+ this.footerResized = index.createEvent(this, "footerResized", 7);
15
15
  this.resizeObserverCallback = (currSize) => {
16
16
  if (currSize !== this.deviceSize) {
17
17
  this.deviceSize = currSize;
18
18
  }
19
- this.icFooterResized.emit();
19
+ this.footerResized.emit();
20
20
  };
21
21
  this.runResizeObserver = () => {
22
22
  this.resizeObserver = new ResizeObserver(() => {
@@ -1 +1 @@
1
- {"file":"ic-footer.entry.cjs.js","mappings":"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","names":["getCurrentDeviceSize","IC_DEVICE_SIZES","getThemeForegroundColor","checkResizeObserver","h","Host","IcThemeForegroundEnum","hasClassificationBanner"],"sources":["./src/components/ic-footer/ic-footer.css?tag=ic-footer&encapsulation=shadow","./src/components/ic-footer/ic-footer.tsx"],"sourcesContent":["@import \"../../global/normalise.css\";\n\n:host {\n display: block;\n}\n\n:host(.footer-sparse) {\n --footer-links-padding: 24px 0;\n --footer-compliance-padding: 24px 0 8px 0;\n --footer-logo-margin-bottom: var(--ic-space-lg);\n --footer-link-inner-flex-direction: row;\n}\n\n:host(.footer-small) {\n --footer-links-padding: 0 0;\n --footer-compliance-padding: 16px 0 8px;\n --footer-logo-margin-bottom: var(--ic-space-md);\n --footer-link-inner-flex-direction: column;\n}\n\n:host(.footer-light) {\n --footer-theme-secondary: var(--ic-theme-secondary);\n --footer-theme-tertiary: var(--ic-theme-tertiary);\n --footer-keyline: var(--ic-keyline-lighten);\n}\n\n:host(.footer-dark) {\n --footer-theme-secondary: var(--ic-theme-secondary-light);\n --footer-theme-tertiary: var(--ic-theme-tertiary-light);\n --footer-keyline: var(--ic-keyline-darken);\n}\n\n:host(.footer-small.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(--footer-theme-secondary);\n color: var(--ic-theme-text);\n border-bottom: var(--footer-keyline);\n}\n\n.footer-description-inner {\n padding: 16px 0;\n}\n\n/* Links */\n\n.footer-links {\n padding: var(--footer-links-padding);\n background-color: var(--footer-theme-secondary);\n color: var(--ic-theme-text);\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(--footer-theme-tertiary);\n color: var(--ic-theme-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-hc-border);\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Prop,\n State,\n h,\n Host,\n Listen,\n} from \"@stencil/core\";\nimport { IC_DEVICE_SIZES } from \"../../utils/constants\";\nimport {\n getCurrentDeviceSize,\n getThemeForegroundColor,\n checkResizeObserver,\n hasClassificationBanner,\n} from \"../../utils/helpers\";\nimport {\n IcAlignment,\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\nimport { IcFooterBreakpoints } from \"./ic-footer.types\";\n\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 */\n\n@Component({\n tag: \"ic-footer\",\n styleUrl: \"ic-footer.css\",\n shadow: true,\n})\nexport class Footer {\n @Element() el: HTMLIcFooterElement;\n\n /**\n * Triggers on page resize and triggers style changes in footer links and link groups\n */\n @Event() icFooterResized: EventEmitter<void>;\n\n /**\n * The description displayed at the top of the footer\n */\n @Prop() description: string;\n\n /**\n * Sets the aligned parameter for the section containers used within the footer\n */\n @Prop() aligned?: IcAlignment = \"left\";\n\n /**\n * Sets the screen size breakpoint at which to switch to the small layout\n */\n @Prop() breakpoint?: IcFooterBreakpoints = \"medium\";\n\n /**\n * Sets the footer up to handle link groups instead of standalone links\n */\n @Prop() groupLinks?: boolean = false;\n\n /**\n * The caption displayed at the bottom of the footer\n */\n @Prop() caption: string;\n\n /**\n * Whether the footer displays the crown copyright at the bottom\n */\n @Prop() copyright: boolean = true;\n\n @State() deviceSize: number = IC_DEVICE_SIZES.XL;\n\n @State() foregroundColor: IcThemeForeground = getThemeForegroundColor();\n\n private isSmall() {\n const bp = this.breakpoint;\n\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\n @Listen(\"icThemeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.foregroundColor = theme.mode;\n }\n\n private resizeObserver: ResizeObserver;\n private footerEl: HTMLElement;\n\n private resizeObserverCallback = (currSize: number) => {\n if (currSize !== this.deviceSize) {\n this.deviceSize = currSize;\n }\n this.icFooterResized.emit();\n };\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n const currSize = getCurrentDeviceSize();\n this.resizeObserverCallback(currSize);\n });\n\n this.resizeObserver.observe(this.footerEl);\n };\n\n componentWillLoad(): void {\n this.deviceSize = getCurrentDeviceSize();\n }\n\n componentDidLoad(): void {\n checkResizeObserver(this.runResizeObserver);\n }\n\n disconnectedCallback(): void {\n this.resizeObserver.disconnect();\n }\n\n render() {\n const {\n aligned,\n caption,\n copyright,\n description,\n groupLinks,\n foregroundColor,\n } = this;\n const small = this.isSmall();\n\n return (\n <Host\n class={{\n footer: true,\n [`footer-${small ? \"small\" : \"sparse\"}`]: true,\n [`footer-${groupLinks ? \"grouped\" : \"ungrouped\"}`]: true,\n [`footer-${foregroundColor}`]: true,\n // Slots will be able to infer their own color\n [IcThemeForegroundEnum.Dark]:\n foregroundColor === IcThemeForegroundEnum.Dark,\n [IcThemeForegroundEnum.Light]:\n foregroundColor === IcThemeForegroundEnum.Light,\n }}\n >\n <footer ref={(footerEl) => (this.footerEl = footerEl)}>\n {/* Description */}\n <div class=\"footer-description\">\n <ic-section-container aligned={aligned} fullHeight={true}>\n <div class=\"footer-description-inner\">\n <ic-typography variant=\"body\">\n <slot name=\"description\">{description}</slot>\n </ic-typography>\n </div>\n </ic-section-container>\n </div>\n\n {/* Links */}\n <div class=\"footer-links\">\n {groupLinks && small ? (\n <div class=\"footer-links-inner\">\n <slot name=\"link\" />\n </div>\n ) : (\n <ic-section-container fullHeight aligned={aligned}>\n <div class=\"footer-links-inner\">\n <slot name=\"link\" />\n </div>\n </ic-section-container>\n )}\n </div>\n\n {/* Compliance (logo, caption, copyright) */}\n <div class=\"footer-compliance\">\n <ic-section-container aligned={aligned} fullHeight={true}>\n <div class=\"footer-compliance-inner\">\n <div class=\"footer-logo\">\n {/* Logo */}\n <slot name=\"logo\" />\n </div>\n <div class=\"footer-caption\">\n <ic-typography\n variant={\n this.deviceSize <= IC_DEVICE_SIZES.M ? \"caption\" : \"body\"\n }\n >\n <slot name=\"caption\">{caption}</slot>\n </ic-typography>\n </div>\n {copyright && (\n <div\n class={{\n [\"footer-copyright\"]: true,\n [\"classification-spacing\"]: hasClassificationBanner(),\n }}\n >\n <ic-typography\n variant={\n this.deviceSize <= IC_DEVICE_SIZES.M\n ? \"caption-uppercase\"\n : \"label-uppercase\"\n }\n >\n &copy; Crown Copyright\n </ic-typography>\n </div>\n )}\n </div>\n </ic-section-container>\n </div>\n </footer>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-footer.entry.cjs.js","mappings":"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","names":["getCurrentDeviceSize","IC_DEVICE_SIZES","getThemeForegroundColor","checkResizeObserver","h","Host","IcThemeForegroundEnum","hasClassificationBanner"],"sources":["./src/components/ic-footer/ic-footer.css?tag=ic-footer&encapsulation=shadow","./src/components/ic-footer/ic-footer.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n display: block;\n}\n\n:host(.footer-sparse) {\n --footer-links-padding: 1.5rem 0;\n --footer-compliance-padding: 1.5rem 0 0.5rem 0;\n --footer-logo-margin-bottom: var(--ic-space-lg);\n --footer-link-inner-flex-direction: row;\n}\n\n:host(.footer-small) {\n --footer-links-padding: 0 0;\n --footer-compliance-padding: 1rem 0 0.5rem;\n --footer-logo-margin-bottom: var(--ic-space-md);\n --footer-link-inner-flex-direction: column;\n}\n\n:host(.footer-light) {\n --footer-theme-secondary: var(--ic-theme-secondary);\n --footer-theme-tertiary: var(--ic-theme-tertiary);\n --footer-keyline: var(--ic-keyline-lighten);\n}\n\n:host(.footer-dark) {\n --footer-theme-secondary: var(--ic-theme-secondary-light);\n --footer-theme-tertiary: var(--ic-theme-tertiary-light);\n --footer-keyline: var(--ic-keyline-darken);\n}\n\n:host(.footer-small.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(--footer-theme-secondary);\n color: var(--ic-theme-text);\n border-bottom: var(--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(--footer-theme-secondary);\n color: var(--ic-theme-text);\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(--footer-theme-tertiary);\n color: var(--ic-theme-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-hc-border);\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Prop,\n State,\n h,\n Host,\n Listen,\n} from \"@stencil/core\";\nimport { IC_DEVICE_SIZES } from \"../../utils/constants\";\nimport {\n getCurrentDeviceSize,\n getThemeForegroundColor,\n checkResizeObserver,\n hasClassificationBanner,\n} from \"../../utils/helpers\";\nimport {\n IcAlignment,\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\nimport { IcFooterBreakpoints } from \"./ic-footer.types\";\n\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 */\n\n@Component({\n tag: \"ic-footer\",\n styleUrl: \"ic-footer.css\",\n shadow: true,\n})\nexport class Footer {\n @Element() el: HTMLIcFooterElement;\n\n /**\n * @internal Triggers on page resize and triggers style changes in footer links and link groups\n */\n @Event() footerResized: EventEmitter<void>;\n\n /**\n * The description displayed at the top of the footer.\n */\n @Prop() description: string;\n\n /**\n * The alignment of the section containers used within the footer.\n */\n @Prop() aligned?: IcAlignment = \"left\";\n\n /**\n * The screen size breakpoint at which to switch to the small layout.\n */\n @Prop() breakpoint?: IcFooterBreakpoints = \"medium\";\n\n /**\n * If `true`, the footer will be set up to handle link groups instead of standalone links.\n */\n @Prop() groupLinks?: boolean = false;\n\n /**\n * The caption displayed at the bottom of the footer.\n */\n @Prop() caption: string;\n\n /**\n * If `true`, the footer will display the crown copyright at the bottom.\n */\n @Prop() copyright: boolean = true;\n\n @State() deviceSize: number = IC_DEVICE_SIZES.XL;\n\n @State() foregroundColor: IcThemeForeground = getThemeForegroundColor();\n\n private isSmall() {\n const bp = this.breakpoint;\n\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\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.foregroundColor = theme.mode;\n }\n\n private resizeObserver: ResizeObserver;\n private footerEl: HTMLElement;\n\n private resizeObserverCallback = (currSize: number) => {\n if (currSize !== this.deviceSize) {\n this.deviceSize = currSize;\n }\n this.footerResized.emit();\n };\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n const currSize = getCurrentDeviceSize();\n this.resizeObserverCallback(currSize);\n });\n\n this.resizeObserver.observe(this.footerEl);\n };\n\n componentWillLoad(): void {\n this.deviceSize = getCurrentDeviceSize();\n }\n\n componentDidLoad(): void {\n checkResizeObserver(this.runResizeObserver);\n }\n\n disconnectedCallback(): void {\n this.resizeObserver.disconnect();\n }\n\n render() {\n const {\n aligned,\n caption,\n copyright,\n description,\n groupLinks,\n foregroundColor,\n } = this;\n const small = this.isSmall();\n\n return (\n <Host\n class={{\n footer: true,\n [`footer-${small ? \"small\" : \"sparse\"}`]: true,\n [`footer-${groupLinks ? \"grouped\" : \"ungrouped\"}`]: true,\n [`footer-${foregroundColor}`]: true,\n // Slots will be able to infer their own color\n [IcThemeForegroundEnum.Dark]:\n foregroundColor === IcThemeForegroundEnum.Dark,\n [IcThemeForegroundEnum.Light]:\n foregroundColor === IcThemeForegroundEnum.Light,\n }}\n >\n <footer ref={(footerEl) => (this.footerEl = footerEl)}>\n {/* Description */}\n <div class=\"footer-description\">\n <ic-section-container aligned={aligned} fullHeight={true}>\n <div class=\"footer-description-inner\">\n <ic-typography variant=\"body\">\n <slot name=\"description\">{description}</slot>\n </ic-typography>\n </div>\n </ic-section-container>\n </div>\n\n {/* Links */}\n <div class=\"footer-links\">\n {groupLinks && small ? (\n <div class=\"footer-links-inner\">\n <slot name=\"link\" />\n </div>\n ) : (\n <ic-section-container fullHeight aligned={aligned}>\n <div class=\"footer-links-inner\">\n <slot name=\"link\" />\n </div>\n </ic-section-container>\n )}\n </div>\n\n {/* Compliance (logo, caption, copyright) */}\n <div class=\"footer-compliance\">\n <ic-section-container aligned={aligned} fullHeight={true}>\n <div class=\"footer-compliance-inner\">\n <div class=\"footer-logo\">\n {/* Logo */}\n <slot name=\"logo\" />\n </div>\n <div class=\"footer-caption\">\n <ic-typography\n variant={\n this.deviceSize <= IC_DEVICE_SIZES.M ? \"caption\" : \"body\"\n }\n >\n <slot name=\"caption\">{caption}</slot>\n </ic-typography>\n </div>\n {copyright && (\n <div\n class={{\n [\"footer-copyright\"]: true,\n [\"classification-spacing\"]: hasClassificationBanner(),\n }}\n >\n <ic-typography\n variant={\n this.deviceSize <= IC_DEVICE_SIZES.M\n ? \"caption-uppercase\"\n : \"label-uppercase\"\n }\n >\n &copy; Crown Copyright\n </ic-typography>\n </div>\n )}\n </div>\n </ic-section-container>\n </div>\n </footer>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-3ef30d9d.js');
5
+ const index = require('./index-f79a4e53.js');
6
6
  const types = require('./types-3eb02246.js');
7
- const helpers = require('./helpers-8bc3b6d2.js');
7
+ const helpers = require('./helpers-2021e212.js');
8
8
 
9
- 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-theme-tertiary);color:var(--ic-theme-text);--hero-heading-bottom-margin:var(--ic-space-md)}:host(.dark){background-color:var(--ic-theme-secondary)}:host(.has-background-image){background-repeat:no-repeat;background-position:right -100px;background-size:auto calc(100% + 100px);box-shadow:var(--ic-elevation-inset)}@media (prefers-reduced-motion){:host(.has-background-image){background-position:right -100px !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)}.secondary-container{display:flex;flex-direction:column;justify-content:center;border-left:var(--ic-space-xxxs) solid var(--ic-theme-text)}.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:208px}:host([small]),:host([small]) .section-container{min-height:173px}.left-container:not(.left-container-full-width){flex-basis:66.6%}.left-container{min-height:144px}.right-container{flex-basis:33.3%;margin-left:50px}.secondary-container{min-height:144px}.secondary-heading,.secondary-subheading{margin-left:63px}}@media (min-width: 801px) and (max-width: 1043px){:host(.has-background-image){background-image:none !important}:host,.section-container{min-height:256px}:host([small]),:host([small]) .section-container{min-height:240px}:host([secondary-heading]),:host([secondary-heading]) .section-container{min-height:224px}.left-container{min-height:160px}.secondary-container{min-height:160px}.secondary-heading,.secondary-subheading{margin-left:94.75px}.right-container{margin-left:50px}}@media (min-width: 641px) and (max-width: 800px){:host(.has-background-image){background-image:none !important}:host,.section-container{min-height:256px}:host([small]),:host([small]) .section-container{min-height:240px}:host([secondary-heading]),:host([secondary-heading]) .section-container{min-height:224px}.left-container{min-height:160px}.secondary-container{min-height:160px}.secondary-heading,.secondary-subheading{margin-left:34px}.right-container{margin-left:50px}}@media (min-width: 481px) and (max-width: 640px){:host(.has-background-image){background-image:none !important}:host,.section-container{min-height:208px}:host([small]),:host([small]) .section-container{min-height:173px}:host([secondary-heading]),:host([secondary-heading]) .section-container{min-height:280px}:host([secondary-heading]) .section-container,:host([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:40px}}@media (max-width: 480px){:host(.has-background-image){background-image:none !important}:host,.section-container{min-height:192px}:host([small]),:host([small]) .section-container{min-height:173px}:host([secondary-heading]),:host([secondary-heading]) .section-container{min-height:264px}:host([secondary-heading]) .section-container,:host([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
+ 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-theme-tertiary);color:var(--ic-theme-text);--hero-heading-bottom-margin:var(--ic-space-md)}:host(.dark){background-color:var(--ic-theme-secondary)}: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)}.secondary-container{display:flex;flex-direction:column;justify-content:center;border-left:var(--ic-space-xxxs) solid var(--ic-theme-text)}.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([small]),:host([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([small]),:host([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,.section-container{min-height:16rem}:host([small]),:host([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}.right-container{margin-left:3.125rem}}@media (min-width: 481px) and (max-width: 640px){:host(.has-background-image){background-image:none !important}:host,.section-container{min-height:13rem}:host([small]),:host([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([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([small]),:host([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([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}}";
10
10
 
11
11
  const Hero = class {
12
12
  constructor(hostRef) {