@ukic/web-components 3.0.0-alpha.12 → 3.0.0-alpha.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (973) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  2. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  3. package/dist/cjs/core.cjs.js +13 -11
  4. package/dist/cjs/core.cjs.js.map +1 -1
  5. package/dist/cjs/{helpers-eca4c27e.js → helpers-08a9ec1c.js} +31 -26
  6. package/dist/cjs/helpers-08a9ec1c.js.map +1 -0
  7. package/dist/cjs/ic-accordion-group.cjs.entry.js +31 -14
  8. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
  9. package/dist/cjs/ic-accordion.cjs.entry.js +65 -42
  10. package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
  11. package/dist/cjs/ic-alert.cjs.entry.js +37 -16
  12. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-back-to-top.cjs.entry.js +27 -15
  14. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-badge.cjs.entry.js +41 -22
  16. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +31 -16
  18. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-breadcrumb.cjs.entry.js +35 -21
  20. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-button_3.cjs.entry.js +246 -144
  22. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-card-vertical.cjs.entry.js +53 -32
  24. package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-checkbox-group.cjs.entry.js +32 -9
  26. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-checkbox.cjs.entry.js +48 -29
  28. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-chip.cjs.entry.js +44 -23
  30. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-classification-banner.cjs.entry.js +20 -4
  32. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-data-list.cjs.entry.js +11 -5
  34. package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-data-row.cjs.entry.js +28 -18
  36. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ic-dialog.cjs.entry.js +141 -98
  38. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-divider.cjs.entry.js +35 -15
  40. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-empty-state.cjs.entry.js +15 -9
  42. package/dist/cjs/ic-empty-state.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ic-footer-link-group.cjs.entry.js +8 -8
  44. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-footer-link.cjs.entry.js +9 -10
  46. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ic-footer.cjs.entry.js +32 -19
  48. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-hero.cjs.entry.js +29 -17
  50. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +32 -20
  52. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +126 -68
  54. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-input-label_2.cjs.entry.js +45 -17
  56. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ic-link.cjs.entry.js +28 -21
  58. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ic-menu-group.cjs.entry.js +5 -5
  60. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-menu-item.cjs.entry.js +20 -18
  62. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-navigation-button.cjs.entry.js +25 -19
  64. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-navigation-group.cjs.entry.js +45 -27
  66. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-navigation-item.cjs.entry.js +69 -48
  68. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-navigation-menu.cjs.entry.js +23 -15
  70. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-page-header.cjs.entry.js +45 -25
  72. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ic-pagination-item.cjs.entry.js +27 -14
  74. package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
  75. package/dist/cjs/ic-pagination.cjs.entry.js +60 -27
  76. package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
  77. package/dist/cjs/ic-popover-menu.cjs.entry.js +57 -42
  78. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ic-radio-group.cjs.entry.js +53 -28
  80. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ic-radio-option.cjs.entry.js +35 -23
  82. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  83. package/dist/cjs/ic-search-bar.cjs.entry.js +153 -63
  84. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ic-section-container.cjs.entry.js +12 -5
  86. package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ic-select.cjs.entry.js +229 -135
  88. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ic-side-navigation.cjs.entry.js +104 -71
  90. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  91. package/dist/cjs/ic-skeleton.cjs.entry.js +11 -4
  92. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  93. package/dist/cjs/ic-skip-link.cjs.entry.js +54 -0
  94. package/dist/cjs/ic-skip-link.cjs.entry.js.map +1 -0
  95. package/dist/cjs/ic-status-tag.cjs.entry.js +25 -6
  96. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  97. package/dist/cjs/ic-step.cjs.entry.js +33 -32
  98. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  99. package/dist/cjs/ic-stepper.cjs.entry.js +50 -35
  100. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  101. package/dist/cjs/ic-switch.cjs.entry.js +50 -22
  102. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  103. package/dist/cjs/ic-tab-context.cjs.entry.js +44 -24
  104. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  105. package/dist/cjs/ic-tab-group.cjs.entry.js +14 -9
  106. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  107. package/dist/cjs/ic-tab-panel.cjs.entry.js +12 -7
  108. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  109. package/dist/cjs/ic-tab.cjs.entry.js +21 -15
  110. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  111. package/dist/cjs/ic-text-field.cjs.entry.js +175 -69
  112. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  113. package/dist/cjs/ic-theme.cjs.entry.js +13 -7
  114. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  115. package/dist/cjs/ic-toast-region.cjs.entry.js +2 -3
  116. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  117. package/dist/cjs/ic-toast.cjs.entry.js +29 -21
  118. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  119. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +61 -29
  120. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
  121. package/dist/cjs/ic-toggle-button.cjs.entry.js +81 -48
  122. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  123. package/dist/cjs/ic-top-navigation.cjs.entry.js +60 -31
  124. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  125. package/dist/cjs/ic-typography.cjs.entry.js +53 -27
  126. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  127. package/dist/cjs/index-d337cd8a.js +2611 -0
  128. package/dist/cjs/index-d337cd8a.js.map +1 -0
  129. package/dist/cjs/loader.cjs.js +5 -3
  130. package/dist/cjs/loader.cjs.js.map +1 -1
  131. package/dist/collection/collection-manifest.json +5 -4
  132. package/dist/collection/components/ic-accordion/ic-accordion.js +80 -46
  133. package/dist/collection/components/ic-accordion/ic-accordion.js.map +1 -1
  134. package/dist/collection/components/ic-accordion-group/ic-accordion-group.js +49 -21
  135. package/dist/collection/components/ic-accordion-group/ic-accordion-group.js.map +1 -1
  136. package/dist/collection/components/ic-alert/ic-alert.js +58 -22
  137. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  138. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +35 -16
  139. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
  140. package/dist/collection/components/ic-badge/ic-badge.js +69 -32
  141. package/dist/collection/components/ic-badge/ic-badge.js.map +1 -1
  142. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +49 -24
  143. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
  144. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +41 -19
  145. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
  146. package/dist/collection/components/ic-button/ic-button.css +0 -8
  147. package/dist/collection/components/ic-button/ic-button.js +211 -98
  148. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  149. package/dist/collection/components/ic-card-vertical/ic-card-vertical.js +88 -42
  150. package/dist/collection/components/ic-card-vertical/ic-card-vertical.js.map +1 -1
  151. package/dist/collection/components/ic-checkbox/ic-checkbox.js +91 -45
  152. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  153. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +62 -20
  154. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  155. package/dist/collection/components/ic-chip/ic-chip.js +67 -30
  156. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  157. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +32 -7
  158. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
  159. package/dist/collection/components/ic-data-list/ic-data-list.js +18 -7
  160. package/dist/collection/components/ic-data-list/ic-data-list.js.map +1 -1
  161. package/dist/collection/components/ic-data-row/ic-data-row.js +38 -21
  162. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
  163. package/dist/collection/components/ic-dialog/ic-dialog.js +176 -110
  164. package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
  165. package/dist/collection/components/ic-dialog/ic-dialog.stories.js +100 -49
  166. package/dist/collection/components/ic-divider/ic-divider.js +55 -22
  167. package/dist/collection/components/ic-divider/ic-divider.js.map +1 -1
  168. package/dist/collection/components/ic-divider/ic-divider.stories.js +2 -2
  169. package/dist/collection/components/ic-empty-state/ic-empty-state.js +32 -13
  170. package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +1 -1
  171. package/dist/collection/components/ic-footer/ic-footer.js +49 -25
  172. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
  173. package/dist/collection/components/ic-footer-link/ic-footer-link.js +24 -15
  174. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
  175. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +6 -5
  176. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
  177. package/dist/collection/components/ic-hero/ic-hero.css +1 -1
  178. package/dist/collection/components/ic-hero/ic-hero.js +54 -25
  179. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  180. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +40 -21
  181. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
  182. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +9 -0
  183. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +55 -20
  184. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
  185. package/dist/collection/components/ic-input-container/ic-input-container.js +16 -6
  186. package/dist/collection/components/ic-input-container/ic-input-container.js.map +1 -1
  187. package/dist/collection/components/ic-input-label/ic-input-label.js +48 -11
  188. package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
  189. package/dist/collection/components/ic-input-validation/ic-input-validation.js +31 -14
  190. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
  191. package/dist/collection/components/ic-link/ic-link.js +49 -28
  192. package/dist/collection/components/ic-link/ic-link.js.map +1 -1
  193. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +124 -66
  194. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
  195. package/dist/collection/components/ic-menu/ic-menu.js +136 -74
  196. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  197. package/dist/collection/components/ic-menu/ic-menu.types.js.map +1 -1
  198. package/dist/collection/components/ic-menu-group/ic-menu-group.js +4 -5
  199. package/dist/collection/components/ic-menu-group/ic-menu-group.js.map +1 -1
  200. package/dist/collection/components/ic-menu-item/ic-menu-item.js +53 -28
  201. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
  202. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +44 -23
  203. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  204. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +83 -28
  205. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  206. package/dist/collection/components/ic-navigation-group/ic-navigation-group.types.js +2 -0
  207. package/dist/collection/components/ic-navigation-group/ic-navigation-group.types.js.map +1 -0
  208. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +107 -63
  209. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  210. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +30 -17
  211. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
  212. package/dist/collection/components/ic-page-header/ic-page-header.js +68 -31
  213. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
  214. package/dist/collection/components/ic-pagination/ic-pagination.js +100 -44
  215. package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
  216. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +48 -22
  217. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -1
  218. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +80 -52
  219. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
  220. package/dist/collection/components/ic-radio-group/ic-radio-group.js +87 -41
  221. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  222. package/dist/collection/components/ic-radio-option/ic-radio-option.js +64 -33
  223. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  224. package/dist/collection/components/ic-search-bar/ic-search-bar.js +252 -101
  225. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  226. package/dist/collection/components/ic-search-bar/ic-search-bar.types.js.map +1 -1
  227. package/dist/collection/components/ic-section-container/ic-section-container.js +15 -5
  228. package/dist/collection/components/ic-section-container/ic-section-container.js.map +1 -1
  229. package/dist/collection/components/ic-select/ic-select.js +329 -176
  230. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  231. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +1 -2
  232. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +143 -89
  233. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  234. package/dist/collection/components/ic-skeleton/ic-skeleton.js +14 -4
  235. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
  236. package/dist/collection/components/ic-skip-link/ic-skip-link.css +26 -0
  237. package/dist/collection/components/ic-skip-link/ic-skip-link.js +202 -0
  238. package/dist/collection/components/ic-skip-link/ic-skip-link.js.map +1 -0
  239. package/dist/collection/components/ic-skip-link/ic-skip-link.stories.js +160 -0
  240. package/dist/collection/components/ic-status-tag/ic-status-tag.js +41 -9
  241. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
  242. package/dist/collection/components/ic-step/ic-step.js +66 -40
  243. package/dist/collection/components/ic-step/ic-step.js.map +1 -1
  244. package/dist/collection/components/ic-stepper/ic-stepper.js +61 -37
  245. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
  246. package/dist/collection/components/ic-switch/ic-switch.js +72 -27
  247. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  248. package/dist/collection/components/ic-tab/ic-tab.js +40 -21
  249. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
  250. package/dist/collection/components/ic-tab-context/ic-tab-context.js +59 -29
  251. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
  252. package/dist/collection/components/ic-tab-group/ic-tab-group.js +21 -9
  253. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
  254. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +26 -10
  255. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
  256. package/dist/collection/components/ic-text-field/ic-text-field.js +321 -140
  257. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  258. package/dist/collection/components/ic-theme/ic-theme.js +19 -9
  259. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
  260. package/dist/collection/components/ic-toast/ic-toast.js +49 -28
  261. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
  262. package/dist/collection/components/ic-toast-region/ic-toast-region.js +6 -5
  263. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -1
  264. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +116 -60
  265. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js.map +1 -1
  266. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +90 -35
  267. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js.map +1 -1
  268. package/dist/collection/components/ic-tooltip/ic-tooltip.js +65 -33
  269. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  270. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +91 -45
  271. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  272. package/dist/collection/components/ic-typography/ic-typography.js +73 -32
  273. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
  274. package/dist/collection/utils/helpers.js +29 -24
  275. package/dist/collection/utils/helpers.js.map +1 -1
  276. package/dist/collection/utils/testa11y.helpers.js +2 -1
  277. package/dist/collection/utils/testa11y.helpers.js.map +1 -1
  278. package/dist/collection/utils/types.js.map +1 -1
  279. package/dist/components/helpers.js +29 -24
  280. package/dist/components/helpers.js.map +1 -1
  281. package/dist/components/ic-accordion-group.js +29 -12
  282. package/dist/components/ic-accordion-group.js.map +1 -1
  283. package/dist/components/ic-accordion.js +63 -40
  284. package/dist/components/ic-accordion.js.map +1 -1
  285. package/dist/components/ic-alert.js +35 -14
  286. package/dist/components/ic-alert.js.map +1 -1
  287. package/dist/components/ic-back-to-top.js +25 -13
  288. package/dist/components/ic-back-to-top.js.map +1 -1
  289. package/dist/components/ic-badge.js +39 -20
  290. package/dist/components/ic-badge.js.map +1 -1
  291. package/dist/components/ic-breadcrumb-group.js +29 -14
  292. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  293. package/dist/components/ic-breadcrumb2.js +33 -19
  294. package/dist/components/ic-breadcrumb2.js.map +1 -1
  295. package/dist/components/ic-button2.js +113 -63
  296. package/dist/components/ic-button2.js.map +1 -1
  297. package/dist/components/ic-card-vertical.js +51 -30
  298. package/dist/components/ic-card-vertical.js.map +1 -1
  299. package/dist/components/ic-checkbox-group.js +30 -7
  300. package/dist/components/ic-checkbox-group.js.map +1 -1
  301. package/dist/components/ic-checkbox.js +46 -27
  302. package/dist/components/ic-checkbox.js.map +1 -1
  303. package/dist/components/ic-chip.js +42 -21
  304. package/dist/components/ic-chip.js.map +1 -1
  305. package/dist/components/ic-classification-banner.js +19 -3
  306. package/dist/components/ic-classification-banner.js.map +1 -1
  307. package/dist/components/ic-data-list.js +10 -4
  308. package/dist/components/ic-data-list.js.map +1 -1
  309. package/dist/components/ic-data-row.js +27 -17
  310. package/dist/components/ic-data-row.js.map +1 -1
  311. package/dist/components/ic-dialog.js +139 -96
  312. package/dist/components/ic-dialog.js.map +1 -1
  313. package/dist/components/ic-divider2.js +33 -13
  314. package/dist/components/ic-divider2.js.map +1 -1
  315. package/dist/components/ic-empty-state.js +13 -7
  316. package/dist/components/ic-empty-state.js.map +1 -1
  317. package/dist/components/ic-footer-link-group.js +6 -6
  318. package/dist/components/ic-footer-link-group.js.map +1 -1
  319. package/dist/components/ic-footer-link.js +7 -8
  320. package/dist/components/ic-footer-link.js.map +1 -1
  321. package/dist/components/ic-footer.js +31 -18
  322. package/dist/components/ic-footer.js.map +1 -1
  323. package/dist/components/ic-hero.js +27 -15
  324. package/dist/components/ic-hero.js.map +1 -1
  325. package/dist/components/ic-horizontal-scroll2.js +30 -18
  326. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  327. package/dist/components/ic-input-component-container2.js +31 -9
  328. package/dist/components/ic-input-component-container2.js.map +1 -1
  329. package/dist/components/ic-input-container2.js +12 -5
  330. package/dist/components/ic-input-container2.js.map +1 -1
  331. package/dist/components/ic-input-label2.js +28 -8
  332. package/dist/components/ic-input-label2.js.map +1 -1
  333. package/dist/components/ic-input-validation2.js +15 -7
  334. package/dist/components/ic-input-validation2.js.map +1 -1
  335. package/dist/components/ic-link2.js +26 -19
  336. package/dist/components/ic-link2.js.map +1 -1
  337. package/dist/components/ic-loading-indicator2.js +89 -54
  338. package/dist/components/ic-loading-indicator2.js.map +1 -1
  339. package/dist/components/ic-menu-group.js +3 -3
  340. package/dist/components/ic-menu-group.js.map +1 -1
  341. package/dist/components/ic-menu-item2.js +18 -16
  342. package/dist/components/ic-menu-item2.js.map +1 -1
  343. package/dist/components/ic-menu2.js +81 -52
  344. package/dist/components/ic-menu2.js.map +1 -1
  345. package/dist/components/ic-navigation-button.js +23 -17
  346. package/dist/components/ic-navigation-button.js.map +1 -1
  347. package/dist/components/ic-navigation-group.js +45 -27
  348. package/dist/components/ic-navigation-group.js.map +1 -1
  349. package/dist/components/ic-navigation-item.js +68 -47
  350. package/dist/components/ic-navigation-item.js.map +1 -1
  351. package/dist/components/ic-navigation-menu2.js +21 -13
  352. package/dist/components/ic-navigation-menu2.js.map +1 -1
  353. package/dist/components/ic-page-header.js +44 -24
  354. package/dist/components/ic-page-header.js.map +1 -1
  355. package/dist/components/ic-pagination-item2.js +25 -12
  356. package/dist/components/ic-pagination-item2.js.map +1 -1
  357. package/dist/components/ic-pagination.js +58 -25
  358. package/dist/components/ic-pagination.js.map +1 -1
  359. package/dist/components/ic-popover-menu.js +55 -40
  360. package/dist/components/ic-popover-menu.js.map +1 -1
  361. package/dist/components/ic-radio-group.js +51 -26
  362. package/dist/components/ic-radio-group.js.map +1 -1
  363. package/dist/components/ic-radio-option.js +33 -21
  364. package/dist/components/ic-radio-option.js.map +1 -1
  365. package/dist/components/ic-search-bar.js +151 -61
  366. package/dist/components/ic-search-bar.js.map +1 -1
  367. package/dist/components/ic-section-container2.js +11 -4
  368. package/dist/components/ic-section-container2.js.map +1 -1
  369. package/dist/components/ic-select.js +227 -133
  370. package/dist/components/ic-select.js.map +1 -1
  371. package/dist/components/ic-side-navigation.js +103 -70
  372. package/dist/components/ic-side-navigation.js.map +1 -1
  373. package/dist/components/ic-skeleton.js +10 -3
  374. package/dist/components/ic-skeleton.js.map +1 -1
  375. package/dist/components/ic-skip-link.d.ts +11 -0
  376. package/dist/components/ic-skip-link.js +82 -0
  377. package/dist/components/ic-skip-link.js.map +1 -0
  378. package/dist/components/ic-status-tag.js +23 -4
  379. package/dist/components/ic-status-tag.js.map +1 -1
  380. package/dist/components/ic-step.js +31 -30
  381. package/dist/components/ic-step.js.map +1 -1
  382. package/dist/components/ic-stepper.js +48 -33
  383. package/dist/components/ic-stepper.js.map +1 -1
  384. package/dist/components/ic-switch.js +48 -20
  385. package/dist/components/ic-switch.js.map +1 -1
  386. package/dist/components/ic-tab-context.js +43 -23
  387. package/dist/components/ic-tab-context.js.map +1 -1
  388. package/dist/components/ic-tab-group.js +12 -7
  389. package/dist/components/ic-tab-group.js.map +1 -1
  390. package/dist/components/ic-tab-panel.js +11 -6
  391. package/dist/components/ic-tab-panel.js.map +1 -1
  392. package/dist/components/ic-tab.js +19 -13
  393. package/dist/components/ic-tab.js.map +1 -1
  394. package/dist/components/ic-text-field.js +173 -67
  395. package/dist/components/ic-text-field.js.map +1 -1
  396. package/dist/components/ic-theme.js +11 -5
  397. package/dist/components/ic-theme.js.map +1 -1
  398. package/dist/components/ic-toast-region.js +1 -2
  399. package/dist/components/ic-toast-region.js.map +1 -1
  400. package/dist/components/ic-toast.js +27 -19
  401. package/dist/components/ic-toast.js.map +1 -1
  402. package/dist/components/ic-toggle-button-group.js +59 -27
  403. package/dist/components/ic-toggle-button-group.js.map +1 -1
  404. package/dist/components/ic-toggle-button.js +79 -46
  405. package/dist/components/ic-toggle-button.js.map +1 -1
  406. package/dist/components/ic-tooltip2.js +42 -25
  407. package/dist/components/ic-tooltip2.js.map +1 -1
  408. package/dist/components/ic-top-navigation.js +59 -30
  409. package/dist/components/ic-top-navigation.js.map +1 -1
  410. package/dist/components/ic-typography2.js +51 -25
  411. package/dist/components/ic-typography2.js.map +1 -1
  412. package/dist/core/core.css +38 -27
  413. package/dist/core/core.esm.js +1 -1
  414. package/dist/core/core.esm.js.map +1 -1
  415. package/dist/core/index.esm.js.map +1 -1
  416. package/dist/core/p-052d1ff0.entry.js +2 -0
  417. package/dist/core/p-052d1ff0.entry.js.map +1 -0
  418. package/dist/core/p-08fbea60.entry.js +2 -0
  419. package/dist/core/p-08fbea60.entry.js.map +1 -0
  420. package/dist/core/p-0b757d78.entry.js +2 -0
  421. package/dist/core/p-0b757d78.entry.js.map +1 -0
  422. package/dist/core/{p-73a208c7.entry.js → p-0f34465d.entry.js} +2 -2
  423. package/dist/core/p-0f34465d.entry.js.map +1 -0
  424. package/dist/core/p-111b3186.entry.js +2 -0
  425. package/dist/core/p-111b3186.entry.js.map +1 -0
  426. package/dist/core/p-144a31ec.entry.js +2 -0
  427. package/dist/core/p-144a31ec.entry.js.map +1 -0
  428. package/dist/core/{p-ca11666f.entry.js → p-180ea8ac.entry.js} +2 -2
  429. package/dist/core/p-180ea8ac.entry.js.map +1 -0
  430. package/dist/core/{p-39ab6387.entry.js → p-196e3d33.entry.js} +2 -2
  431. package/dist/core/p-196e3d33.entry.js.map +1 -0
  432. package/dist/core/{p-96b4ca6e.entry.js → p-1d6638c8.entry.js} +2 -2
  433. package/dist/core/p-1d6638c8.entry.js.map +1 -0
  434. package/dist/core/p-1d9a929b.entry.js +2 -0
  435. package/dist/core/p-1d9a929b.entry.js.map +1 -0
  436. package/dist/core/{p-27274ca8.entry.js → p-1fccec19.entry.js} +2 -2
  437. package/dist/core/p-1fccec19.entry.js.map +1 -0
  438. package/dist/core/p-269f841d.js +2 -0
  439. package/dist/core/p-269f841d.js.map +1 -0
  440. package/dist/core/{p-094f51b6.entry.js → p-27de359f.entry.js} +2 -2
  441. package/dist/core/p-27de359f.entry.js.map +1 -0
  442. package/dist/core/p-2cb55e86.entry.js +2 -0
  443. package/dist/core/p-2cb55e86.entry.js.map +1 -0
  444. package/dist/core/p-30a262d2.entry.js +2 -0
  445. package/dist/core/p-30a262d2.entry.js.map +1 -0
  446. package/dist/core/p-3b185c32.js.map +1 -1
  447. package/dist/core/{p-a178d53c.entry.js → p-40bc1f3e.entry.js} +2 -2
  448. package/dist/core/p-40bc1f3e.entry.js.map +1 -0
  449. package/dist/core/p-426ec638.js.map +1 -1
  450. package/dist/core/p-47b46637.entry.js +2 -0
  451. package/dist/core/p-47b46637.entry.js.map +1 -0
  452. package/dist/core/p-4a5ab31e.entry.js +2 -0
  453. package/dist/core/p-4a5ab31e.entry.js.map +1 -0
  454. package/dist/core/p-4e4014cd.entry.js +2 -0
  455. package/dist/core/p-4e4014cd.entry.js.map +1 -0
  456. package/dist/core/{p-25d3c3a6.entry.js → p-55eb89cc.entry.js} +2 -2
  457. package/dist/core/p-55eb89cc.entry.js.map +1 -0
  458. package/dist/core/p-59287779.entry.js +2 -0
  459. package/dist/core/p-59287779.entry.js.map +1 -0
  460. package/dist/core/p-59fc58e1.entry.js +2 -0
  461. package/dist/core/p-59fc58e1.entry.js.map +1 -0
  462. package/dist/core/p-5b7d8ee9.entry.js +2 -0
  463. package/dist/core/p-5b7d8ee9.entry.js.map +1 -0
  464. package/dist/core/{p-b404b307.entry.js → p-5fa5ba50.entry.js} +2 -2
  465. package/dist/core/p-5fa5ba50.entry.js.map +1 -0
  466. package/dist/core/p-68a5aaff.js.map +1 -1
  467. package/dist/core/{p-bbd4f487.entry.js → p-6c8e72b4.entry.js} +2 -2
  468. package/dist/core/p-6c8e72b4.entry.js.map +1 -0
  469. package/dist/core/p-6fdb8a79.entry.js +2 -0
  470. package/dist/core/p-6fdb8a79.entry.js.map +1 -0
  471. package/dist/core/{p-146b2788.entry.js → p-72140621.entry.js} +2 -2
  472. package/dist/core/p-72140621.entry.js.map +1 -0
  473. package/dist/core/p-76bdbc98.entry.js +2 -0
  474. package/dist/core/p-76bdbc98.entry.js.map +1 -0
  475. package/dist/core/{p-4cfe1dd8.entry.js → p-78c3ca49.entry.js} +2 -2
  476. package/dist/core/p-78c3ca49.entry.js.map +1 -0
  477. package/dist/core/p-78c51cba.entry.js +2 -0
  478. package/dist/core/p-78c51cba.entry.js.map +1 -0
  479. package/dist/core/{p-3d565739.entry.js → p-7ea79205.entry.js} +2 -2
  480. package/dist/core/p-7ea79205.entry.js.map +1 -0
  481. package/dist/core/p-8577de91.entry.js +2 -0
  482. package/dist/core/p-8577de91.entry.js.map +1 -0
  483. package/dist/core/{p-26bc7c62.entry.js → p-8856dff4.entry.js} +2 -2
  484. package/dist/core/p-8856dff4.entry.js.map +1 -0
  485. package/dist/core/p-8870d5d8.entry.js +2 -0
  486. package/dist/core/p-8870d5d8.entry.js.map +1 -0
  487. package/dist/core/{p-00587c99.entry.js → p-8b928cc9.entry.js} +2 -2
  488. package/dist/core/p-8b928cc9.entry.js.map +1 -0
  489. package/dist/core/p-8d1bee7a.entry.js +2 -0
  490. package/dist/core/p-8d1bee7a.entry.js.map +1 -0
  491. package/dist/core/p-8e4e97b4.js +3 -0
  492. package/dist/core/p-8e4e97b4.js.map +1 -0
  493. package/dist/core/p-8f319e1e.entry.js +2 -0
  494. package/dist/core/p-8f319e1e.entry.js.map +1 -0
  495. package/dist/core/p-90de3f5d.entry.js +2 -0
  496. package/dist/core/p-90de3f5d.entry.js.map +1 -0
  497. package/dist/core/p-912c8594.entry.js +2 -0
  498. package/dist/core/p-912c8594.entry.js.map +1 -0
  499. package/dist/core/{p-67b3cd55.entry.js → p-9206379d.entry.js} +2 -2
  500. package/dist/core/p-9206379d.entry.js.map +1 -0
  501. package/dist/core/p-94748b96.entry.js +2 -0
  502. package/dist/core/p-94748b96.entry.js.map +1 -0
  503. package/dist/core/{p-d7ccd00f.entry.js → p-98f906ba.entry.js} +2 -2
  504. package/dist/core/p-98f906ba.entry.js.map +1 -0
  505. package/dist/core/{p-5b836707.entry.js → p-999102ee.entry.js} +2 -2
  506. package/dist/core/p-999102ee.entry.js.map +1 -0
  507. package/dist/core/p-9b741f96.entry.js +2 -0
  508. package/dist/core/p-9b741f96.entry.js.map +1 -0
  509. package/dist/core/p-9bcd2c77.entry.js +2 -0
  510. package/dist/core/p-9bcd2c77.entry.js.map +1 -0
  511. package/dist/core/p-9ee2fe04.entry.js +2 -0
  512. package/dist/core/p-9ee2fe04.entry.js.map +1 -0
  513. package/dist/core/{p-e2cf6e7e.entry.js → p-a56ec6d8.entry.js} +2 -2
  514. package/dist/core/p-a56ec6d8.entry.js.map +1 -0
  515. package/dist/core/p-abf767e3.entry.js +2 -0
  516. package/dist/core/p-abf767e3.entry.js.map +1 -0
  517. package/dist/core/p-b594bf26.entry.js +2 -0
  518. package/dist/core/p-b594bf26.entry.js.map +1 -0
  519. package/dist/core/{p-6e94c79c.entry.js → p-bd802c2f.entry.js} +2 -2
  520. package/dist/core/p-bd802c2f.entry.js.map +1 -0
  521. package/dist/core/p-bfee1e84.entry.js +2 -0
  522. package/dist/core/p-bfee1e84.entry.js.map +1 -0
  523. package/dist/core/{p-7f984e25.entry.js → p-c19cdc86.entry.js} +2 -2
  524. package/dist/core/p-c19cdc86.entry.js.map +1 -0
  525. package/dist/core/p-c2e091d7.js.map +1 -1
  526. package/dist/core/{p-73d6092d.entry.js → p-c3785d57.entry.js} +2 -2
  527. package/dist/core/p-c3785d57.entry.js.map +1 -0
  528. package/dist/core/{p-7b26ef60.entry.js → p-caa46d81.entry.js} +2 -2
  529. package/dist/core/p-caa46d81.entry.js.map +1 -0
  530. package/dist/core/{p-720428a3.entry.js → p-ce0fb53a.entry.js} +2 -2
  531. package/dist/core/p-ce0fb53a.entry.js.map +1 -0
  532. package/dist/core/p-de7542fa.entry.js +2 -0
  533. package/dist/core/p-de7542fa.entry.js.map +1 -0
  534. package/dist/core/{p-07aaf9c4.entry.js → p-df56bc50.entry.js} +2 -2
  535. package/dist/core/p-df56bc50.entry.js.map +1 -0
  536. package/dist/core/p-e1255160.js +2 -0
  537. package/dist/core/p-e1255160.js.map +1 -0
  538. package/dist/core/p-e25feba1.entry.js +2 -0
  539. package/dist/core/p-e25feba1.entry.js.map +1 -0
  540. package/dist/core/{p-c1db155d.entry.js → p-e30c6d79.entry.js} +2 -2
  541. package/dist/core/p-e30c6d79.entry.js.map +1 -0
  542. package/dist/core/p-f074ef5b.js.map +1 -1
  543. package/dist/core/{p-abdc2912.entry.js → p-f486d4f4.entry.js} +2 -2
  544. package/dist/core/p-f486d4f4.entry.js.map +1 -0
  545. package/dist/core/{p-a87d13b3.entry.js → p-fbce5f9a.entry.js} +2 -2
  546. package/dist/core/p-fbce5f9a.entry.js.map +1 -0
  547. package/dist/esm/app-globals-0f993ce5.js +5 -0
  548. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  549. package/dist/esm/core.js +14 -12
  550. package/dist/esm/core.js.map +1 -1
  551. package/dist/esm/{helpers-a72a277b.js → helpers-de6293bf.js} +31 -26
  552. package/dist/esm/helpers-de6293bf.js.map +1 -0
  553. package/dist/esm/ic-accordion-group.entry.js +31 -14
  554. package/dist/esm/ic-accordion-group.entry.js.map +1 -1
  555. package/dist/esm/ic-accordion.entry.js +65 -42
  556. package/dist/esm/ic-accordion.entry.js.map +1 -1
  557. package/dist/esm/ic-alert.entry.js +37 -16
  558. package/dist/esm/ic-alert.entry.js.map +1 -1
  559. package/dist/esm/ic-back-to-top.entry.js +27 -15
  560. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  561. package/dist/esm/ic-badge.entry.js +41 -22
  562. package/dist/esm/ic-badge.entry.js.map +1 -1
  563. package/dist/esm/ic-breadcrumb-group.entry.js +31 -16
  564. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  565. package/dist/esm/ic-breadcrumb.entry.js +35 -21
  566. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  567. package/dist/esm/ic-button_3.entry.js +246 -144
  568. package/dist/esm/ic-button_3.entry.js.map +1 -1
  569. package/dist/esm/ic-card-vertical.entry.js +53 -32
  570. package/dist/esm/ic-card-vertical.entry.js.map +1 -1
  571. package/dist/esm/ic-checkbox-group.entry.js +32 -9
  572. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  573. package/dist/esm/ic-checkbox.entry.js +48 -29
  574. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  575. package/dist/esm/ic-chip.entry.js +44 -23
  576. package/dist/esm/ic-chip.entry.js.map +1 -1
  577. package/dist/esm/ic-classification-banner.entry.js +20 -4
  578. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  579. package/dist/esm/ic-data-list.entry.js +11 -5
  580. package/dist/esm/ic-data-list.entry.js.map +1 -1
  581. package/dist/esm/ic-data-row.entry.js +28 -18
  582. package/dist/esm/ic-data-row.entry.js.map +1 -1
  583. package/dist/esm/ic-dialog.entry.js +141 -98
  584. package/dist/esm/ic-dialog.entry.js.map +1 -1
  585. package/dist/esm/ic-divider.entry.js +35 -15
  586. package/dist/esm/ic-divider.entry.js.map +1 -1
  587. package/dist/esm/ic-empty-state.entry.js +15 -9
  588. package/dist/esm/ic-empty-state.entry.js.map +1 -1
  589. package/dist/esm/ic-footer-link-group.entry.js +8 -8
  590. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  591. package/dist/esm/ic-footer-link.entry.js +9 -10
  592. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  593. package/dist/esm/ic-footer.entry.js +32 -19
  594. package/dist/esm/ic-footer.entry.js.map +1 -1
  595. package/dist/esm/ic-hero.entry.js +29 -17
  596. package/dist/esm/ic-hero.entry.js.map +1 -1
  597. package/dist/esm/ic-horizontal-scroll.entry.js +32 -20
  598. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  599. package/dist/esm/ic-input-component-container_3.entry.js +126 -68
  600. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  601. package/dist/esm/ic-input-label_2.entry.js +45 -17
  602. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  603. package/dist/esm/ic-link.entry.js +28 -21
  604. package/dist/esm/ic-link.entry.js.map +1 -1
  605. package/dist/esm/ic-menu-group.entry.js +5 -5
  606. package/dist/esm/ic-menu-group.entry.js.map +1 -1
  607. package/dist/esm/ic-menu-item.entry.js +20 -18
  608. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  609. package/dist/esm/ic-navigation-button.entry.js +25 -19
  610. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  611. package/dist/esm/ic-navigation-group.entry.js +45 -27
  612. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  613. package/dist/esm/ic-navigation-item.entry.js +69 -48
  614. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  615. package/dist/esm/ic-navigation-menu.entry.js +23 -15
  616. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  617. package/dist/esm/ic-page-header.entry.js +45 -25
  618. package/dist/esm/ic-page-header.entry.js.map +1 -1
  619. package/dist/esm/ic-pagination-item.entry.js +27 -14
  620. package/dist/esm/ic-pagination-item.entry.js.map +1 -1
  621. package/dist/esm/ic-pagination.entry.js +60 -27
  622. package/dist/esm/ic-pagination.entry.js.map +1 -1
  623. package/dist/esm/ic-popover-menu.entry.js +57 -42
  624. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  625. package/dist/esm/ic-radio-group.entry.js +53 -28
  626. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  627. package/dist/esm/ic-radio-option.entry.js +35 -23
  628. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  629. package/dist/esm/ic-search-bar.entry.js +153 -63
  630. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  631. package/dist/esm/ic-section-container.entry.js +12 -5
  632. package/dist/esm/ic-section-container.entry.js.map +1 -1
  633. package/dist/esm/ic-select.entry.js +229 -135
  634. package/dist/esm/ic-select.entry.js.map +1 -1
  635. package/dist/esm/ic-side-navigation.entry.js +104 -71
  636. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  637. package/dist/esm/ic-skeleton.entry.js +11 -4
  638. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  639. package/dist/esm/ic-skip-link.entry.js +50 -0
  640. package/dist/esm/ic-skip-link.entry.js.map +1 -0
  641. package/dist/esm/ic-status-tag.entry.js +25 -6
  642. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  643. package/dist/esm/ic-step.entry.js +33 -32
  644. package/dist/esm/ic-step.entry.js.map +1 -1
  645. package/dist/esm/ic-stepper.entry.js +50 -35
  646. package/dist/esm/ic-stepper.entry.js.map +1 -1
  647. package/dist/esm/ic-switch.entry.js +50 -22
  648. package/dist/esm/ic-switch.entry.js.map +1 -1
  649. package/dist/esm/ic-tab-context.entry.js +44 -24
  650. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  651. package/dist/esm/ic-tab-group.entry.js +14 -9
  652. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  653. package/dist/esm/ic-tab-panel.entry.js +12 -7
  654. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  655. package/dist/esm/ic-tab.entry.js +21 -15
  656. package/dist/esm/ic-tab.entry.js.map +1 -1
  657. package/dist/esm/ic-text-field.entry.js +175 -69
  658. package/dist/esm/ic-text-field.entry.js.map +1 -1
  659. package/dist/esm/ic-theme.entry.js +13 -7
  660. package/dist/esm/ic-theme.entry.js.map +1 -1
  661. package/dist/esm/ic-toast-region.entry.js +2 -3
  662. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  663. package/dist/esm/ic-toast.entry.js +29 -21
  664. package/dist/esm/ic-toast.entry.js.map +1 -1
  665. package/dist/esm/ic-toggle-button-group.entry.js +61 -29
  666. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
  667. package/dist/esm/ic-toggle-button.entry.js +81 -48
  668. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  669. package/dist/esm/ic-top-navigation.entry.js +60 -31
  670. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  671. package/dist/esm/ic-typography.entry.js +53 -27
  672. package/dist/esm/ic-typography.entry.js.map +1 -1
  673. package/dist/esm/index-a7a720e7.js +2580 -0
  674. package/dist/esm/index-a7a720e7.js.map +1 -0
  675. package/dist/esm/loader.js +6 -4
  676. package/dist/esm/loader.js.map +1 -1
  677. package/dist/types/components/ic-accordion/ic-accordion.d.ts +3 -3
  678. package/dist/types/components/ic-accordion-group/ic-accordion-group.d.ts +5 -5
  679. package/dist/types/components/ic-alert/ic-alert.d.ts +1 -1
  680. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +1 -1
  681. package/dist/types/components/ic-badge/ic-badge.d.ts +1 -1
  682. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +1 -1
  683. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +2 -2
  684. package/dist/types/components/ic-button/ic-button.d.ts +6 -6
  685. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +10 -10
  686. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +6 -6
  687. package/dist/types/components/ic-data-list/ic-data-list.d.ts +1 -1
  688. package/dist/types/components/ic-data-row/ic-data-row.d.ts +2 -2
  689. package/dist/types/components/ic-dialog/ic-dialog.d.ts +9 -6
  690. package/dist/types/components/ic-divider/ic-divider.d.ts +3 -3
  691. package/dist/types/components/ic-footer/ic-footer.d.ts +4 -4
  692. package/dist/types/components/ic-hero/ic-hero.d.ts +3 -3
  693. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +6 -6
  694. package/dist/types/components/ic-input-label/ic-input-label.d.ts +2 -2
  695. package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +4 -4
  696. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +2 -2
  697. package/dist/types/components/ic-menu/ic-menu.d.ts +10 -10
  698. package/dist/types/components/ic-menu/ic-menu.types.d.ts +1 -1
  699. package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +2 -2
  700. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +1 -1
  701. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +11 -4
  702. package/dist/types/components/ic-navigation-group/ic-navigation-group.types.d.ts +3 -0
  703. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +8 -8
  704. package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +3 -3
  705. package/dist/types/components/ic-pagination/ic-pagination.d.ts +9 -9
  706. package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +4 -4
  707. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +4 -4
  708. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +8 -8
  709. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +6 -6
  710. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +12 -12
  711. package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +1 -1
  712. package/dist/types/components/ic-select/ic-select.d.ts +20 -20
  713. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +12 -12
  714. package/dist/types/components/ic-skip-link/ic-skip-link.d.ts +33 -0
  715. package/dist/types/components/ic-stepper/ic-stepper.d.ts +1 -1
  716. package/dist/types/components/ic-switch/ic-switch.d.ts +1 -1
  717. package/dist/types/components/ic-tab/ic-tab.d.ts +2 -2
  718. package/dist/types/components/ic-text-field/ic-text-field.d.ts +34 -33
  719. package/dist/types/components/ic-theme/ic-theme.d.ts +2 -2
  720. package/dist/types/components/ic-toast/ic-toast.d.ts +3 -3
  721. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +1 -1
  722. package/dist/types/components/ic-toggle-button/ic-toggle-button.d.ts +3 -3
  723. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +9 -9
  724. package/dist/types/components/ic-typography/ic-typography.d.ts +1 -1
  725. package/dist/types/components.d.ts +281 -195
  726. package/dist/types/stencil-public-runtime.d.ts +9 -10
  727. package/dist/types/utils/helpers.d.ts +10 -10
  728. package/dist/types/utils/types.d.ts +8 -4
  729. package/hydrate/index.d.ts +53 -12
  730. package/hydrate/index.js +32662 -20747
  731. package/hydrate/index.mjs +34265 -0
  732. package/hydrate/package.json +7 -1
  733. package/loader/cdn.js +1 -3
  734. package/loader/index.cjs.js +1 -3
  735. package/loader/index.d.ts +3 -0
  736. package/loader/index.es2017.js +1 -3
  737. package/loader/index.js +1 -3
  738. package/package.json +3 -3
  739. package/vscode-data.json +50 -330
  740. package/dist/cjs/helpers-eca4c27e.js.map +0 -1
  741. package/dist/cjs/index-f982899d.js +0 -3047
  742. package/dist/cjs/index-f982899d.js.map +0 -1
  743. package/dist/collection/components/ic-accordion/test/basic/ic-accordion.spec.js +0 -349
  744. package/dist/collection/components/ic-accordion/test/basic/ic-accordion.spec.js.map +0 -1
  745. package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.spec.js +0 -129
  746. package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.spec.js.map +0 -1
  747. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +0 -329
  748. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +0 -1
  749. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js +0 -159
  750. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +0 -1
  751. package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js +0 -450
  752. package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js.map +0 -1
  753. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js +0 -162
  754. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +0 -1
  755. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js +0 -234
  756. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +0 -1
  757. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +0 -332
  758. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +0 -1
  759. package/dist/collection/components/ic-card-vertical/test/basic/ic-card-vertical.spec.js +0 -214
  760. package/dist/collection/components/ic-card-vertical/test/basic/ic-card-vertical.spec.js.map +0 -1
  761. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +0 -284
  762. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +0 -1
  763. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +0 -188
  764. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +0 -1
  765. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js +0 -188
  766. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +0 -1
  767. package/dist/collection/components/ic-data-list/test/basic/ic-data-list.spec.js +0 -161
  768. package/dist/collection/components/ic-data-list/test/basic/ic-data-list.spec.js.map +0 -1
  769. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +0 -74
  770. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +0 -1
  771. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +0 -448
  772. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +0 -1
  773. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js +0 -109
  774. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +0 -1
  775. package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js +0 -101
  776. package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js.map +0 -1
  777. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +0 -181
  778. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +0 -1
  779. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js +0 -46
  780. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +0 -1
  781. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +0 -66
  782. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +0 -1
  783. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +0 -109
  784. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +0 -1
  785. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js +0 -223
  786. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +0 -1
  787. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +0 -172
  788. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +0 -1
  789. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js +0 -38
  790. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +0 -1
  791. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js +0 -84
  792. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +0 -1
  793. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js +0 -89
  794. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +0 -1
  795. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +0 -120
  796. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +0 -1
  797. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +0 -149
  798. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +0 -1
  799. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +0 -1108
  800. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +0 -1
  801. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js +0 -94
  802. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +0 -1
  803. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js +0 -121
  804. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +0 -1
  805. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +0 -95
  806. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +0 -1
  807. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +0 -309
  808. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +0 -1
  809. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js +0 -130
  810. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +0 -1
  811. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js +0 -176
  812. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +0 -1
  813. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +0 -291
  814. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +0 -1
  815. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +0 -390
  816. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +0 -1
  817. package/dist/collection/components/ic-pagination-item/test/basic/ic-pagination-item.spec.js +0 -79
  818. package/dist/collection/components/ic-pagination-item/test/basic/ic-pagination-item.spec.js.map +0 -1
  819. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js +0 -398
  820. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +0 -1
  821. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +0 -389
  822. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +0 -1
  823. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +0 -553
  824. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +0 -1
  825. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js +0 -69
  826. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js.map +0 -1
  827. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +0 -1672
  828. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +0 -1
  829. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js +0 -503
  830. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +0 -1
  831. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +0 -89
  832. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +0 -1
  833. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js +0 -26
  834. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +0 -1
  835. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js +0 -176
  836. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +0 -1
  837. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +0 -752
  838. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +0 -1
  839. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +0 -93
  840. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +0 -1
  841. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +0 -175
  842. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +0 -1
  843. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js +0 -390
  844. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +0 -1
  845. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js +0 -19
  846. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +0 -1
  847. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +0 -312
  848. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +0 -1
  849. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +0 -341
  850. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +0 -1
  851. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js +0 -72
  852. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +0 -1
  853. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +0 -79
  854. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +0 -1
  855. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +0 -314
  856. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +0 -1
  857. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js +0 -64
  858. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +0 -1
  859. package/dist/collection/components/ic-toggle-button/test/basic/ic-toggle-button.spec.js +0 -126
  860. package/dist/collection/components/ic-toggle-button/test/basic/ic-toggle-button.spec.js.map +0 -1
  861. package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js +0 -337
  862. package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js.map +0 -1
  863. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +0 -321
  864. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +0 -1
  865. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js +0 -314
  866. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +0 -1
  867. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +0 -407
  868. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +0 -1
  869. package/dist/collection/testspec.setup.js +0 -77
  870. package/dist/collection/testspec.setup.js.map +0 -1
  871. package/dist/core/p-00587c99.entry.js.map +0 -1
  872. package/dist/core/p-07aaf9c4.entry.js.map +0 -1
  873. package/dist/core/p-094f51b6.entry.js.map +0 -1
  874. package/dist/core/p-116875ae.entry.js +0 -2
  875. package/dist/core/p-116875ae.entry.js.map +0 -1
  876. package/dist/core/p-146b2788.entry.js.map +0 -1
  877. package/dist/core/p-15082ea5.entry.js +0 -2
  878. package/dist/core/p-15082ea5.entry.js.map +0 -1
  879. package/dist/core/p-174de9d7.entry.js +0 -2
  880. package/dist/core/p-174de9d7.entry.js.map +0 -1
  881. package/dist/core/p-17f9921d.entry.js +0 -2
  882. package/dist/core/p-17f9921d.entry.js.map +0 -1
  883. package/dist/core/p-246ea059.entry.js +0 -2
  884. package/dist/core/p-246ea059.entry.js.map +0 -1
  885. package/dist/core/p-25d3c3a6.entry.js.map +0 -1
  886. package/dist/core/p-26bc7c62.entry.js.map +0 -1
  887. package/dist/core/p-27274ca8.entry.js.map +0 -1
  888. package/dist/core/p-31d4bfc3.entry.js +0 -2
  889. package/dist/core/p-31d4bfc3.entry.js.map +0 -1
  890. package/dist/core/p-39ab6387.entry.js.map +0 -1
  891. package/dist/core/p-3d565739.entry.js.map +0 -1
  892. package/dist/core/p-3ea4a005.entry.js +0 -2
  893. package/dist/core/p-3ea4a005.entry.js.map +0 -1
  894. package/dist/core/p-41b7c67c.entry.js +0 -2
  895. package/dist/core/p-41b7c67c.entry.js.map +0 -1
  896. package/dist/core/p-4cfe1dd8.entry.js.map +0 -1
  897. package/dist/core/p-5b836707.entry.js.map +0 -1
  898. package/dist/core/p-67b3cd55.entry.js.map +0 -1
  899. package/dist/core/p-67b8a829.entry.js +0 -2
  900. package/dist/core/p-67b8a829.entry.js.map +0 -1
  901. package/dist/core/p-6b5e91e2.js +0 -3
  902. package/dist/core/p-6b5e91e2.js.map +0 -1
  903. package/dist/core/p-6b9db71a.entry.js +0 -2
  904. package/dist/core/p-6b9db71a.entry.js.map +0 -1
  905. package/dist/core/p-6dfa5a4b.entry.js +0 -2
  906. package/dist/core/p-6dfa5a4b.entry.js.map +0 -1
  907. package/dist/core/p-6e94c79c.entry.js.map +0 -1
  908. package/dist/core/p-720428a3.entry.js.map +0 -1
  909. package/dist/core/p-73a208c7.entry.js.map +0 -1
  910. package/dist/core/p-73d6092d.entry.js.map +0 -1
  911. package/dist/core/p-770c52a7.entry.js +0 -2
  912. package/dist/core/p-770c52a7.entry.js.map +0 -1
  913. package/dist/core/p-7b26ef60.entry.js.map +0 -1
  914. package/dist/core/p-7f984e25.entry.js.map +0 -1
  915. package/dist/core/p-86caada0.entry.js +0 -2
  916. package/dist/core/p-86caada0.entry.js.map +0 -1
  917. package/dist/core/p-8c03b8b5.entry.js +0 -2
  918. package/dist/core/p-8c03b8b5.entry.js.map +0 -1
  919. package/dist/core/p-8fdb9b16.entry.js +0 -2
  920. package/dist/core/p-8fdb9b16.entry.js.map +0 -1
  921. package/dist/core/p-91a221b5.entry.js +0 -2
  922. package/dist/core/p-91a221b5.entry.js.map +0 -1
  923. package/dist/core/p-96b4ca6e.entry.js.map +0 -1
  924. package/dist/core/p-9e0c2c19.entry.js +0 -2
  925. package/dist/core/p-9e0c2c19.entry.js.map +0 -1
  926. package/dist/core/p-9f569f90.entry.js +0 -2
  927. package/dist/core/p-9f569f90.entry.js.map +0 -1
  928. package/dist/core/p-a178d53c.entry.js.map +0 -1
  929. package/dist/core/p-a3b7a147.entry.js +0 -2
  930. package/dist/core/p-a3b7a147.entry.js.map +0 -1
  931. package/dist/core/p-a72685f6.entry.js +0 -2
  932. package/dist/core/p-a72685f6.entry.js.map +0 -1
  933. package/dist/core/p-a87d13b3.entry.js.map +0 -1
  934. package/dist/core/p-abdc2912.entry.js.map +0 -1
  935. package/dist/core/p-b404b307.entry.js.map +0 -1
  936. package/dist/core/p-b6ce9ca3.entry.js +0 -2
  937. package/dist/core/p-b6ce9ca3.entry.js.map +0 -1
  938. package/dist/core/p-b6e010f3.entry.js +0 -2
  939. package/dist/core/p-b6e010f3.entry.js.map +0 -1
  940. package/dist/core/p-bbd4f487.entry.js.map +0 -1
  941. package/dist/core/p-bd9f3961.entry.js +0 -2
  942. package/dist/core/p-bd9f3961.entry.js.map +0 -1
  943. package/dist/core/p-c1db155d.entry.js.map +0 -1
  944. package/dist/core/p-c7bcdb8e.entry.js +0 -2
  945. package/dist/core/p-c7bcdb8e.entry.js.map +0 -1
  946. package/dist/core/p-ca11666f.entry.js.map +0 -1
  947. package/dist/core/p-cda4aca9.js +0 -2
  948. package/dist/core/p-cda4aca9.js.map +0 -1
  949. package/dist/core/p-d7ccd00f.entry.js.map +0 -1
  950. package/dist/core/p-dededae6.entry.js +0 -2
  951. package/dist/core/p-dededae6.entry.js.map +0 -1
  952. package/dist/core/p-e2cf6e7e.entry.js.map +0 -1
  953. package/dist/core/p-e6dc3cd1.entry.js +0 -2
  954. package/dist/core/p-e6dc3cd1.entry.js.map +0 -1
  955. package/dist/core/p-e831277e.entry.js +0 -2
  956. package/dist/core/p-e831277e.entry.js.map +0 -1
  957. package/dist/core/p-eb7c589b.entry.js +0 -2
  958. package/dist/core/p-eb7c589b.entry.js.map +0 -1
  959. package/dist/core/p-f65179fe.entry.js +0 -2
  960. package/dist/core/p-f65179fe.entry.js.map +0 -1
  961. package/dist/core/p-fd60eef7.entry.js +0 -2
  962. package/dist/core/p-fd60eef7.entry.js.map +0 -1
  963. package/dist/core/p-fd9f3fd0.entry.js +0 -2
  964. package/dist/core/p-fd9f3fd0.entry.js.map +0 -1
  965. package/dist/esm/helpers-a72a277b.js.map +0 -1
  966. package/dist/esm/index-d1d2c456.js +0 -3016
  967. package/dist/esm/index-d1d2c456.js.map +0 -1
  968. package/dist/esm/polyfills/core-js.js +0 -11
  969. package/dist/esm/polyfills/dom.js +0 -79
  970. package/dist/esm/polyfills/es5-html-element.js +0 -1
  971. package/dist/esm/polyfills/index.js +0 -34
  972. package/dist/esm/polyfills/system.js +0 -6
  973. package/dist/types/testspec.setup.d.ts +0 -24
@@ -2,37 +2,57 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-f982899d.js');
6
- const helpers = require('./helpers-eca4c27e.js');
5
+ const index = require('./index-d337cd8a.js');
6
+ const helpers = require('./helpers-08a9ec1c.js');
7
7
 
8
8
  const icDividerCss = ".ic-divider-horizontal.sc-ic-divider-h{display:flex;width:var(--ic-divider-horizontal-width, 100%);align-items:center;-moz-column-gap:var(--ic-space-xxs);column-gap:var(--ic-space-xxs)}hr.sc-ic-divider{padding:0;margin:0;border:none;border-bottom:solid var(--ic-space-1px) var(--ic-divider-background);width:inherit}.ic-divider-horizontal.sc-ic-divider-h::before,.ic-divider-horizontal.sc-ic-divider-h::after{border-left:none !important}.ic-divider-horizontal[label-placement=\"right\"].sc-ic-divider-h::before,.ic-divider-horizontal[label-placement=\"center\"].sc-ic-divider-h::before,.ic-divider-horizontal[label-placement=\"left\"].sc-ic-divider-h::after,.ic-divider-horizontal[label-placement=\"center\"].sc-ic-divider-h::after{content:\"\";border:none;width:100%}.ic-divider-vertical.sc-ic-divider-h{display:flex;flex-direction:column;height:var(--ic-divider-vertical-height, inherit);width:-moz-max-content;width:max-content;align-items:center;-moz-column-gap:var(--ic-space-xxs);column-gap:var(--ic-space-xxs);border:none}.ic-divider-vertical.sc-ic-divider-h div.vertical-divider.sc-ic-divider{display:flex;height:inherit}.ic-divider-vertical[label-placement=\"bottom\"].sc-ic-divider-h::before,.ic-divider-vertical[label-placement=\"center\"].sc-ic-divider-h::before,.ic-divider-vertical[label-placement=\"top\"].sc-ic-divider-h::after,.ic-divider-vertical[label-placement=\"center\"].sc-ic-divider-h::after{content:\"\";height:100%}hr.sc-ic-divider,.ic-divider-horizontal[label-placement=\"right\"].sc-ic-divider-h::before,.ic-divider-horizontal[label-placement=\"center\"].sc-ic-divider-h::before,.ic-divider-horizontal[label-placement=\"left\"].sc-ic-divider-h::after,.ic-divider-horizontal[label-placement=\"center\"].sc-ic-divider-h::after{border-bottom:solid var(--ic-space-1px) var(--ic-divider-background)}.ic-divider-monochrome.sc-ic-divider-h hr.sc-ic-divider,.ic-divider-monochrome.ic-divider-horizontal[label-placement=\"right\"].sc-ic-divider-h::before,.ic-divider-monochrome.ic-divider-horizontal[label-placement=\"center\"].sc-ic-divider-h::before,.ic-divider-monochrome.ic-divider-horizontal[label-placement=\"left\"].sc-ic-divider-h::after,.ic-divider-monochrome.ic-divider-horizontal[label-placement=\"center\"].sc-ic-divider-h::after{border-bottom-color:var(--ic-divider-background-monochrome)}.sc-ic-divider-h div.vertical-divider.sc-ic-divider,.ic-divider-vertical[label-placement=\"bottom\"].sc-ic-divider-h::before,.ic-divider-vertical[label-placement=\"center\"].sc-ic-divider-h::before,.ic-divider-vertical[label-placement=\"top\"].sc-ic-divider-h::after,.ic-divider-vertical[label-placement=\"center\"].sc-ic-divider-h::after{border-left:solid var(--ic-space-1px) var(--ic-divider-background)}.ic-divider-monochrome.sc-ic-divider-h div.vertical-divider.sc-ic-divider,.ic-divider-monochrome.ic-divider-vertical[label-placement=\"bottom\"].sc-ic-divider-h::before,.ic-divider-monochrome.ic-divider-vertical[label-placement=\"center\"].sc-ic-divider-h::before,.ic-divider-monochrome.ic-divider-vertical[label-placement=\"top\"].sc-ic-divider-h::after,.ic-divider-monochrome.ic-divider-vertical[label-placement=\"center\"].sc-ic-divider-h::after{border-left-color:var(--ic-divider-background-monochrome)}.ic-side-navigation-keyline.ic-theme-dark.sc-ic-divider-h{--ic-side-navigation-keyline:var(--ic-state-layer-lighten-20)}.ic-side-navigation-keyline.ic-theme-light.sc-ic-divider-h{--ic-side-navigation-keyline:var(--ic-state-layer-darken-20)}.ic-side-navigation-keyline.ic-theme-dark.sc-ic-divider-h hr.sc-ic-divider,.ic-side-navigation-keyline.ic-theme-dark.ic-divider-horizontal[label-placement=\"right\"].sc-ic-divider-h::before,.ic-side-navigation-keyline.ic-theme-dark.ic-divider-horizontal[label-placement=\"center\"].sc-ic-divider-h::before,.ic-side-navigation-keyline.ic-theme-dark.ic-divider-horizontal[label-placement=\"left\"].sc-ic-divider-h::after,.ic-side-navigation-keyline.ic-theme-dark.ic-divider-horizontal[label-placement=\"center\"].sc-ic-divider-h::after{border-bottom-color:var(--ic-side-navigation-keyline)}.ic-side-navigation-keyline.ic-theme-dark.sc-ic-divider-h div.vertical-divider.sc-ic-divider,.ic-side-navigation-keyline.ic-theme-dark.ic-divider-vertical[label-placement=\"bottom\"].sc-ic-divider-h::before,.ic-side-navigation-keyline.ic-theme-dark.ic-divider-vertical[label-placement=\"center\"].sc-ic-divider-h::before,.ic-side-navigation-keyline.ic-theme-dark.ic-divider-vertical[label-placement=\"top\"].sc-ic-divider-h::after,.ic-side-navigation-keyline.ic-theme-dark.ic-divider-vertical[label-placement=\"center\"].sc-ic-divider-h::after{border-left-color:var(--ic-side-navigation-keyline)}.ic-side-navigation-keyline.ic-theme-light.sc-ic-divider-h hr.sc-ic-divider,.ic-side-navigation-keyline.ic-theme-light.ic-divider-horizontal[label-placement=\"right\"].sc-ic-divider-h::before,.ic-side-navigation-keyline.ic-theme-light.ic-divider-horizontal[label-placement=\"center\"].sc-ic-divider-h::before,.ic-side-navigation-keyline.ic-theme-light.ic-divider-horizontal[label-placement=\"left\"].sc-ic-divider-h::after,.ic-side-navigation-keyline.ic-theme-light.ic-divider-horizontal[label-placement=\"center\"].sc-ic-divider-h::after{border-bottom-color:var(--ic-side-navigation-keyline)}.ic-side-navigation-keyline.ic-theme-light.sc-ic-divider-h div.vertical-divider.sc-ic-divider,.ic-side-navigation-keyline.ic-theme-light.ic-divider-vertical[label-placement=\"bottom\"].sc-ic-divider-h::before,.ic-side-navigation-keyline.ic-theme-light.ic-divider-vertical[label-placement=\"center\"].sc-ic-divider-h::before,.ic-side-navigation-keyline.ic-theme-light.ic-divider-vertical[label-placement=\"top\"].sc-ic-divider-h::after,.ic-side-navigation-keyline.ic-theme-light.ic-divider-vertical[label-placement=\"center\"].sc-ic-divider-h::after{border-left-color:var(--ic-divider-background-monochrome)}.ic-divider-very-thick.sc-ic-divider-h hr.sc-ic-divider,.ic-divider-very-thick[label-placement=\"right\"].sc-ic-divider-h::before,.ic-divider-very-thick[label-placement=\"center\"].sc-ic-divider-h::before,.ic-divider-very-thick[label-placement=\"left\"].sc-ic-divider-h::after,.ic-divider-very-thick[label-placement=\"center\"].sc-ic-divider-h::after{border-bottom-width:var(--ic-space-xs)}.ic-divider-very-thick.sc-ic-divider-h .vertical-divider.sc-ic-divider,.ic-divider-very-thick[label-placement=\"bottom\"].sc-ic-divider-h::before,.ic-divider-very-thick[label-placement=\"center\"].sc-ic-divider-h::before,.ic-divider-very-thick[label-placement=\"top\"].sc-ic-divider-h::after,.ic-divider-very-thick[label-placement=\"center\"].sc-ic-divider-h::after{border-left-width:var(--ic-space-xs)}.ic-divider-thick.sc-ic-divider-h hr.sc-ic-divider,.ic-divider-thick[label-placement=\"right\"].sc-ic-divider-h::before,.ic-divider-thick[label-placement=\"center\"].sc-ic-divider-h::before,.ic-divider-thick[label-placement=\"left\"].sc-ic-divider-h::after,.ic-divider-thick[label-placement=\"center\"].sc-ic-divider-h::after{border-bottom-width:var(--ic-space-xxs)}.ic-divider-thick.sc-ic-divider-h .vertical-divider.sc-ic-divider,.ic-divider-thick[label-placement=\"bottom\"].sc-ic-divider-h::before,.ic-divider-thick[label-placement=\"center\"].sc-ic-divider-h::before,.ic-divider-thick[label-placement=\"top\"].sc-ic-divider-h::after,.ic-divider-thick[label-placement=\"center\"].sc-ic-divider-h::after{border-left-width:var(--ic-space-xxs)}.ic-divider-medium.sc-ic-divider-h hr.sc-ic-divider,.ic-divider-medium[label-placement=\"right\"].sc-ic-divider-h::before,.ic-divider-medium[label-placement=\"center\"].sc-ic-divider-h::before,.ic-divider-medium[label-placement=\"left\"].sc-ic-divider-h::after,.ic-divider-medium[label-placement=\"center\"].sc-ic-divider-h::after{border-bottom-width:var(--ic-space-xxxs)}.ic-divider-medium.sc-ic-divider-h .vertical-divider.sc-ic-divider,.ic-divider-medium[label-placement=\"bottom\"].sc-ic-divider-h::before,.ic-divider-medium[label-placement=\"center\"].sc-ic-divider-h::before,.ic-divider-medium[label-placement=\"top\"].sc-ic-divider-h::after,.ic-divider-medium[label-placement=\"center\"].sc-ic-divider-h::after{border-left-width:var(--ic-space-xxxs)}.ic-divider-thin.sc-ic-divider-h hr.sc-ic-divider,.ic-divider-thin[label-placement=\"right\"].sc-ic-divider-h::before,.ic-divider-thin[label-placement=\"center\"].sc-ic-divider-h::before,.ic-divider-thin[label-placement=\"left\"].sc-ic-divider-h::after,.ic-divider-thin[label-placement=\"center\"].sc-ic-divider-h::after{border-bottom-width:var(--ic-space-1px)}.ic-divider-thin.sc-ic-divider-h .vertical-divider.sc-ic-divider,.ic-divider-thin[label-placement=\"bottom\"].sc-ic-divider-h::before,.ic-divider-thin.ic-divider-vertical[label-placement=\"center\"].sc-ic-divider-h::before,.ic-divider-thin[label-placement=\"top\"].sc-ic-divider-h::after,.ic-divider-thin.ic-divider-vertical[label-placement=\"center\"].sc-ic-divider-h::after{border-left-width:var(--ic-space-1px)}.ic-divider-dashed.sc-ic-divider-h hr.sc-ic-divider,.ic-divider-dashed[label-placement=\"right\"].sc-ic-divider-h::before,.ic-divider-dashed[label-placement=\"center\"].sc-ic-divider-h::before,.ic-divider-dashed[label-placement=\"left\"].sc-ic-divider-h::after,.ic-divider-dashed[label-placement=\"center\"].sc-ic-divider-h::after{border-bottom-style:dashed}.ic-divider-dashed.sc-ic-divider-h .vertical-divider.sc-ic-divider,.ic-divider-dashed[label-placement=\"bottom\"].sc-ic-divider-h::before,.ic-divider-dashed[label-placement=\"center\"].sc-ic-divider-h::before,.ic-divider-dashed[label-placement=\"top\"].sc-ic-divider-h::after,.ic-divider-dashed[label-placement=\"center\"].sc-ic-divider-h::after{border-left-style:dashed}.sc-ic-divider-h .ic-divider-label.sc-ic-divider{text-wrap:wrap;text-align:left;width:-moz-max-content;width:max-content;max-width:var(--ic-divider-label-width, max(20rem, 60%))}.ic-divider-horizontal[label-placement=\"center\"].sc-ic-divider-h .ic-divider-label.sc-ic-divider{text-align:center}.ic-divider-vertical.sc-ic-divider-h .ic-divider-label.sc-ic-divider{text-align:center}.sc-ic-divider-h .ic-divider-label-container.sc-ic-divider{width:-moz-max-content;width:max-content;max-width:var(--ic-divider-label-width, max(20rem, 60%))}.ic-divider-vertical.sc-ic-divider-h .ic-divider-label.sc-ic-divider{max-width:var(--ic-divider-label-width, 20rem)}.ic-divider-vertical.sc-ic-divider-h .ic-divider-label-container.sc-ic-divider{max-width:var(--ic-divider-label-width, 20rem)}.sc-ic-divider-h .ic-divider-label.sc-ic-divider p.sc-ic-divider{width:-moz-max-content;width:max-content;max-width:100%}.sc-ic-divider-h .ic-divider-label.sc-ic-divider,.sc-ic-divider-h.sc-ic-divider-s>*,.sc-ic-divider-h .sc-ic-divider-s>*{color:var(--ic-divider-label)}.ic-divider-monochrome.sc-ic-divider-h .ic-divider-label.sc-ic-divider,.sc-ic-divider-h.ic-divider-monochrome.sc-ic-divider-s>*,.sc-ic-divider-h.ic-divider-monochrome .sc-ic-divider-s>*{color:var(--ic-divider-label-monochrome)}@media (forced-colors: active){hr.sc-ic-divider,.ic-divider-horizontal[label-placement=\"right\"].sc-ic-divider-h::before,.ic-divider-horizontal[label-placement=\"center\"].sc-ic-divider-h::before,.ic-divider-horizontal[label-placement=\"left\"].sc-ic-divider-h::after,.ic-divider-horizontal[label-placement=\"center\"].sc-ic-divider-h::after{border-bottom-color:transparent}.sc-ic-divider-h div.vertical-divider.sc-ic-divider,.ic-divider-vertical[label-placement=\"bottom\"].sc-ic-divider-h::before,.ic-divider-vertical[label-placement=\"center\"].sc-ic-divider-h::before,.ic-divider-vertical[label-placement=\"top\"].sc-ic-divider-h::after,.ic-divider-vertical[label-placement=\"center\"].sc-ic-divider-h::after{border-left-color:transparent}}";
9
+ const IcDividerStyle0 = icDividerCss;
9
10
 
10
11
  const Divider = class {
11
12
  constructor(hostRef) {
12
13
  index.registerInstance(this, hostRef);
13
14
  this.foregroundColor = helpers.getBrandForegroundAppearance();
15
+ /**
16
+ * The line style of the divider.
17
+ */
14
18
  this.borderStyle = "solid";
15
- this.label = undefined;
19
+ /**
20
+ * The position the label is placed on the divider. `Left` and `right` placement is only applicable when orientation is set to `horizontal`. `Top` and `bottom` placement is only applicable when orientation is set to `vertical`. `Center` placement is applicable for both orientations.
21
+ */
16
22
  this.labelPlacement = "center";
23
+ /** If `true`, the divider will be displayed in a grey colour. */
17
24
  this.monochrome = false;
25
+ /**
26
+ * The orientation of the divider.
27
+ */
18
28
  this.orientation = "horizontal";
29
+ /**
30
+ * Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
31
+ */
19
32
  this.theme = "inherit";
33
+ /**
34
+ * The thickness of the divider.
35
+ */
20
36
  this.weight = "thin";
21
37
  }
22
38
  brandChangeHandler(ev) {
23
39
  this.foregroundColor = ev.detail.mode;
24
40
  }
25
41
  updateMonochromeState() {
26
- const isBottomSideNav = this.el.parentElement.classList.contains("bottom-side-nav");
27
- const isBottomWrapper = this.el.parentElement.parentElement.classList.contains("bottom-wrapper");
28
- if (this.el.parentElement.tagName === "IC-SIDE-NAVIGATION" ||
29
- (isBottomSideNav && isBottomWrapper)) {
30
- this.el.classList.add("ic-side-navigation-keyline");
31
- if (this.foregroundColor === "light") {
32
- this.theme = "dark";
33
- }
34
- else {
35
- this.theme = "light";
42
+ var _a;
43
+ const parentEl = this.el.parentElement;
44
+ if (parentEl) {
45
+ const isBottomSideNav = parentEl.classList.contains("bottom-side-nav");
46
+ const isBottomWrapper = (_a = parentEl.parentElement) === null || _a === void 0 ? void 0 : _a.classList.contains("bottom-wrapper");
47
+ if (parentEl.tagName === "IC-SIDE-NAVIGATION" ||
48
+ (isBottomSideNav && isBottomWrapper)) {
49
+ this.el.classList.add("ic-side-navigation-keyline");
50
+ if (this.foregroundColor === "light") {
51
+ this.theme = "dark";
52
+ }
53
+ else {
54
+ this.theme = "light";
55
+ }
36
56
  }
37
57
  }
38
58
  }
@@ -72,7 +92,7 @@ const Divider = class {
72
92
  };
73
93
  return (index.h(index.Host, Object.assign({ class: {
74
94
  [`ic-theme-${theme}`]: theme !== "inherit",
75
- [`ic-divider-monochrome`]: monochrome,
95
+ [`ic-divider-monochrome`]: !!monochrome,
76
96
  [`ic-divider-${orientation}`]: true,
77
97
  [`ic-divider-${weight}`]: true,
78
98
  [`ic-divider-${borderStyle}`]: true,
@@ -86,7 +106,7 @@ const Divider = class {
86
106
  }
87
107
  get el() { return index.getElement(this); }
88
108
  };
89
- Divider.style = icDividerCss;
109
+ Divider.style = IcDividerStyle0;
90
110
 
91
111
  exports.ic_divider = Divider;
92
112
 
@@ -1 +1 @@
1
- {"file":"ic-divider.entry.cjs.js","mappings":"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","names":["getBrandForegroundAppearance","slotHasContent","h","isPropDefined","Host"],"sources":["src/components/ic-divider/ic-divider.css?tag=ic-divider&encapsulation=scoped","src/components/ic-divider/ic-divider.tsx"],"sourcesContent":["/**\n * @prop --ic-divider-vertical-height: The height of a vertical divider. The default value is `inherit`. \n */\n/**\n * @prop --ic-divider-horizontal-width: The width of a horizontal divider. The default value is `inherit`.\n */\n/**\n * @prop --ic-divider-label-width: The max-width of the divider label. When orientation is set to `horizontal`, the default value is `max(20rem, 60%)`. When orientation is set to `vertical`, the default value is `20 rem`.\n */\n\n/* IC-DIVIDER COLORS */\n/**\n * @internal @prop --ic-divider-background\n */\n/**\n * @internal @prop --ic-divider-background-monochrome\n */\n/**\n * @internal @prop --ic-divider-label\n */\n/**\n * @internal @prop --ic-divider-label-monochrome\n */\n\n/* Horizontal Divider */\n:host(.ic-divider-horizontal) {\n display: flex;\n width: var(--ic-divider-horizontal-width, 100%);\n align-items: center;\n column-gap: var(--ic-space-xxs);\n}\n\nhr {\n padding: 0;\n margin: 0;\n border: none;\n border-bottom: solid var(--ic-space-1px) var(--ic-divider-background);\n width: inherit;\n}\n\n:host(.ic-divider-horizontal)::before,\n:host(.ic-divider-horizontal)::after {\n border-left: none !important;\n}\n\n:host(.ic-divider-horizontal[label-placement=\"right\"])::before,\n:host(.ic-divider-horizontal[label-placement=\"center\"])::before,\n:host(.ic-divider-horizontal[label-placement=\"left\"])::after,\n:host(.ic-divider-horizontal[label-placement=\"center\"])::after {\n content: \"\";\n border: none;\n width: 100%;\n}\n\n/* Vertical Divider */\n:host(.ic-divider-vertical) {\n display: flex;\n flex-direction: column;\n height: var(--ic-divider-vertical-height, inherit);\n width: max-content;\n align-items: center;\n column-gap: var(--ic-space-xxs);\n border: none;\n}\n\n:host(.ic-divider-vertical) div.vertical-divider {\n display: flex;\n height: inherit;\n}\n\n:host(.ic-divider-vertical[label-placement=\"bottom\"])::before,\n:host(.ic-divider-vertical[label-placement=\"center\"])::before,\n:host(.ic-divider-vertical[label-placement=\"top\"])::after,\n:host(.ic-divider-vertical[label-placement=\"center\"])::after {\n content: \"\";\n height: 100%;\n}\n\n/* Theme */\nhr,\n:host(.ic-divider-horizontal)[label-placement=\"right\"]::before,\n:host(.ic-divider-horizontal[label-placement=\"center\"])::before,\n:host(.ic-divider-horizontal[label-placement=\"left\"])::after,\n:host(.ic-divider-horizontal[label-placement=\"center\"])::after {\n border-bottom: solid var(--ic-space-1px) var(--ic-divider-background);\n}\n\n:host(.ic-divider-monochrome) hr,\n:host(.ic-divider-monochrome.ic-divider-horizontal)[label-placement=\"right\"]::before,\n:host(.ic-divider-monochrome.ic-divider-horizontal[label-placement=\"center\"])::before,\n:host(.ic-divider-monochrome.ic-divider-horizontal[label-placement=\"left\"])::after,\n:host(.ic-divider-monochrome.ic-divider-horizontal[label-placement=\"center\"])::after {\n border-bottom-color: var(--ic-divider-background-monochrome);\n}\n\n:host() div.vertical-divider,\n:host(.ic-divider-vertical[label-placement=\"bottom\"])::before,\n:host(.ic-divider-vertical[label-placement=\"center\"])::before,\n:host(.ic-divider-vertical[label-placement=\"top\"])::after,\n:host(.ic-divider-vertical[label-placement=\"center\"])::after {\n border-left: solid var(--ic-space-1px) var(--ic-divider-background);\n}\n\n:host(.ic-divider-monochrome) div.vertical-divider,\n:host(.ic-divider-monochrome.ic-divider-vertical[label-placement=\"bottom\"])::before,\n:host(.ic-divider-monochrome.ic-divider-vertical[label-placement=\"center\"])::before,\n:host(.ic-divider-monochrome.ic-divider-vertical[label-placement=\"top\"])::after,\n:host(.ic-divider-monochrome.ic-divider-vertical[label-placement=\"center\"])::after {\n border-left-color: var(--ic-divider-background-monochrome);\n}\n\n/* Divider in ic-side-navigation */\n:host(.ic-side-navigation-keyline.ic-theme-dark) {\n --ic-side-navigation-keyline: var(--ic-state-layer-lighten-20);\n}\n\n:host(.ic-side-navigation-keyline.ic-theme-light) {\n --ic-side-navigation-keyline: var(--ic-state-layer-darken-20);\n}\n\n:host(.ic-side-navigation-keyline.ic-theme-dark) hr,\n:host(.ic-side-navigation-keyline.ic-theme-dark.ic-divider-horizontal)[label-placement=\"right\"]::before,\n:host(.ic-side-navigation-keyline.ic-theme-dark.ic-divider-horizontal[label-placement=\"center\"])::before,\n:host(.ic-side-navigation-keyline.ic-theme-dark.ic-divider-horizontal[label-placement=\"left\"])::after,\n:host(.ic-side-navigation-keyline.ic-theme-dark.ic-divider-horizontal[label-placement=\"center\"])::after {\n border-bottom-color: var(--ic-side-navigation-keyline);\n}\n\n:host(.ic-side-navigation-keyline.ic-theme-dark) div.vertical-divider,\n:host(.ic-side-navigation-keyline.ic-theme-dark.ic-divider-vertical[label-placement=\"bottom\"])::before,\n:host(.ic-side-navigation-keyline.ic-theme-dark.ic-divider-vertical[label-placement=\"center\"])::before,\n:host(.ic-side-navigation-keyline.ic-theme-dark.ic-divider-vertical[label-placement=\"top\"])::after,\n:host(.ic-side-navigation-keyline.ic-theme-dark.ic-divider-vertical[label-placement=\"center\"])::after {\n border-left-color: var(--ic-side-navigation-keyline);\n}\n\n:host(.ic-side-navigation-keyline.ic-theme-light) hr,\n:host(.ic-side-navigation-keyline.ic-theme-light.ic-divider-horizontal)[label-placement=\"right\"]::before,\n:host(.ic-side-navigation-keyline.ic-theme-light.ic-divider-horizontal[label-placement=\"center\"])::before,\n:host(.ic-side-navigation-keyline.ic-theme-light.ic-divider-horizontal[label-placement=\"left\"])::after,\n:host(.ic-side-navigation-keyline.ic-theme-light.ic-divider-horizontal[label-placement=\"center\"])::after {\n border-bottom-color: var(--ic-side-navigation-keyline);\n}\n\n:host(.ic-side-navigation-keyline.ic-theme-light) div.vertical-divider,\n:host(.ic-side-navigation-keyline.ic-theme-light.ic-divider-vertical[label-placement=\"bottom\"])::before,\n:host(.ic-side-navigation-keyline.ic-theme-light.ic-divider-vertical[label-placement=\"center\"])::before,\n:host(.ic-side-navigation-keyline.ic-theme-light.ic-divider-vertical[label-placement=\"top\"])::after,\n:host(.ic-side-navigation-keyline.ic-theme-light.ic-divider-vertical[label-placement=\"center\"])::after {\n border-left-color: var(--ic-divider-background-monochrome);\n}\n\n/* Weight */\n:host(.ic-divider-very-thick) hr,\n:host(.ic-divider-very-thick[label-placement=\"right\"])::before,\n:host(.ic-divider-very-thick[label-placement=\"center\"])::before,\n:host(.ic-divider-very-thick[label-placement=\"left\"])::after,\n:host(.ic-divider-very-thick[label-placement=\"center\"])::after {\n border-bottom-width: var(--ic-space-xs);\n}\n\n:host(.ic-divider-very-thick) .vertical-divider,\n:host(.ic-divider-very-thick[label-placement=\"bottom\"])::before,\n:host(.ic-divider-very-thick[label-placement=\"center\"])::before,\n:host(.ic-divider-very-thick[label-placement=\"top\"])::after,\n:host(.ic-divider-very-thick[label-placement=\"center\"])::after {\n border-left-width: var(--ic-space-xs);\n}\n\n:host(.ic-divider-thick) hr,\n:host(.ic-divider-thick[label-placement=\"right\"])::before,\n:host(.ic-divider-thick[label-placement=\"center\"])::before,\n:host(.ic-divider-thick[label-placement=\"left\"])::after,\n:host(.ic-divider-thick[label-placement=\"center\"])::after {\n border-bottom-width: var(--ic-space-xxs);\n}\n\n:host(.ic-divider-thick) .vertical-divider,\n:host(.ic-divider-thick[label-placement=\"bottom\"])::before,\n:host(.ic-divider-thick[label-placement=\"center\"])::before,\n:host(.ic-divider-thick[label-placement=\"top\"])::after,\n:host(.ic-divider-thick[label-placement=\"center\"])::after {\n border-left-width: var(--ic-space-xxs);\n}\n\n:host(.ic-divider-medium) hr,\n:host(.ic-divider-medium[label-placement=\"right\"])::before,\n:host(.ic-divider-medium[label-placement=\"center\"])::before,\n:host(.ic-divider-medium[label-placement=\"left\"])::after,\n:host(.ic-divider-medium[label-placement=\"center\"])::after {\n border-bottom-width: var(--ic-space-xxxs);\n}\n\n:host(.ic-divider-medium) .vertical-divider,\n:host(.ic-divider-medium[label-placement=\"bottom\"])::before,\n:host(.ic-divider-medium[label-placement=\"center\"])::before,\n:host(.ic-divider-medium[label-placement=\"top\"])::after,\n:host(.ic-divider-medium[label-placement=\"center\"])::after {\n border-left-width: var(--ic-space-xxxs);\n}\n\n:host(.ic-divider-thin) hr,\n:host(.ic-divider-thin[label-placement=\"right\"])::before,\n:host(.ic-divider-thin[label-placement=\"center\"])::before,\n:host(.ic-divider-thin[label-placement=\"left\"])::after,\n:host(.ic-divider-thin[label-placement=\"center\"])::after {\n border-bottom-width: var(--ic-space-1px);\n}\n\n:host(.ic-divider-thin) .vertical-divider,\n:host(.ic-divider-thin[label-placement=\"bottom\"])::before,\n:host(.ic-divider-thin.ic-divider-vertical[label-placement=\"center\"])::before,\n:host(.ic-divider-thin[label-placement=\"top\"])::after,\n:host(.ic-divider-thin.ic-divider-vertical[label-placement=\"center\"])::after {\n border-left-width: var(--ic-space-1px);\n}\n\n/* Border styling */\n:host(.ic-divider-dashed) hr,\n:host(.ic-divider-dashed[label-placement=\"right\"])::before,\n:host(.ic-divider-dashed[label-placement=\"center\"])::before,\n:host(.ic-divider-dashed[label-placement=\"left\"])::after,\n:host(.ic-divider-dashed[label-placement=\"center\"])::after {\n border-bottom-style: dashed;\n}\n\n:host(.ic-divider-dashed) .vertical-divider,\n:host(.ic-divider-dashed[label-placement=\"bottom\"])::before,\n:host(.ic-divider-dashed[label-placement=\"center\"])::before,\n:host(.ic-divider-dashed[label-placement=\"top\"])::after,\n:host(.ic-divider-dashed[label-placement=\"center\"])::after {\n border-left-style: dashed;\n}\n\n/* Label styling */\n:host() .ic-divider-label {\n text-wrap: wrap;\n text-align: left;\n width: max-content;\n max-width: var(--ic-divider-label-width, max(20rem, 60%));\n}\n\n:host(.ic-divider-horizontal[label-placement=\"center\"]) .ic-divider-label {\n text-align: center;\n}\n\n:host(.ic-divider-vertical) .ic-divider-label {\n text-align: center;\n}\n\n:host() .ic-divider-label-container {\n width: max-content;\n max-width: var(--ic-divider-label-width, max(20rem, 60%));\n}\n\n:host(.ic-divider-vertical) .ic-divider-label {\n max-width: var(--ic-divider-label-width, 20rem);\n}\n\n:host(.ic-divider-vertical) .ic-divider-label-container {\n max-width: var(--ic-divider-label-width, 20rem);\n}\n\n:host() .ic-divider-label p {\n width: max-content;\n max-width: 100%;\n}\n\n:host() .ic-divider-label,\n:host() ::slotted(*) {\n color: var(--ic-divider-label);\n}\n\n:host(.ic-divider-monochrome) .ic-divider-label,\n:host(.ic-divider-monochrome) ::slotted(*) {\n color: var(--ic-divider-label-monochrome);\n}\n\n/* High contrast */\n@media (forced-colors: active) {\n hr,\n :host(.ic-divider-horizontal[label-placement=\"right\"])::before,\n :host(.ic-divider-horizontal[label-placement=\"center\"])::before,\n :host(.ic-divider-horizontal[label-placement=\"left\"])::after,\n :host(.ic-divider-horizontal[label-placement=\"center\"])::after {\n border-bottom-color: transparent;\n }\n\n :host() div.vertical-divider,\n :host(.ic-divider-vertical[label-placement=\"bottom\"])::before,\n :host(.ic-divider-vertical[label-placement=\"center\"])::before,\n :host(.ic-divider-vertical[label-placement=\"top\"])::after,\n :host(.ic-divider-vertical[label-placement=\"center\"])::after {\n border-left-color: transparent;\n }\n}\n","import {\n h,\n Component,\n Host,\n Listen,\n State,\n Prop,\n Element,\n} from \"@stencil/core\";\n\nimport {\n getBrandForegroundAppearance,\n isPropDefined,\n slotHasContent,\n} from \"../../utils/helpers\";\n\nimport {\n IcBrand,\n IcOrientation,\n IcBrandForeground,\n IcThemeMode,\n} from \"../../utils/types\";\n\nimport {\n IcDividerLabelPlacement,\n IcDividerStyles,\n IcDividerWeights,\n} from \"./ic-divider.types\";\n\n@Component({\n tag: \"ic-divider\",\n styleUrl: \"ic-divider.css\",\n scoped: true,\n})\nexport class Divider {\n @Element() el: HTMLIcDividerElement;\n\n @State() foregroundColor: IcBrandForeground = getBrandForegroundAppearance();\n\n /**\n * The line style of the divider.\n */\n @Prop() borderStyle: IcDividerStyles = \"solid\";\n\n /**\n * The label for the divider. The label placement will need to be set for the label to be displayed correctly.\n */\n @Prop() label?: string;\n\n /**\n * The position the label is placed on the divider. `Left` and `right` placement is only applicable when orientation is set to `horizontal`. `Top` and `bottom` placement is only applicable when orientation is set to `vertical`. `Center` placement is applicable for both orientations.\n */\n @Prop() labelPlacement?: IcDividerLabelPlacement = \"center\";\n\n /** If `true`, the divider will be displayed in a grey colour. */\n @Prop() monochrome?: boolean = false;\n\n /**\n * The orientation of the divider.\n */\n @Prop() orientation: IcOrientation = \"horizontal\";\n\n /**\n * Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component.\n */\n @Prop({ mutable: true }) theme?: IcThemeMode | IcBrandForeground = \"inherit\";\n\n /**\n * The thickness of the divider.\n */\n @Prop() weight: IcDividerWeights = \"thin\";\n\n @Listen(\"brandChange\", { target: \"document\" })\n brandChangeHandler(ev: CustomEvent<IcBrand>): void {\n this.foregroundColor = ev.detail.mode;\n }\n\n private updateMonochromeState(): void {\n const isBottomSideNav =\n this.el.parentElement.classList.contains(\"bottom-side-nav\");\n const isBottomWrapper =\n this.el.parentElement.parentElement.classList.contains(\"bottom-wrapper\");\n\n if (\n this.el.parentElement.tagName === \"IC-SIDE-NAVIGATION\" ||\n (isBottomSideNav && isBottomWrapper)\n ) {\n this.el.classList.add(\"ic-side-navigation-keyline\");\n if (this.foregroundColor === \"light\") {\n this.theme = \"dark\";\n } else {\n this.theme = \"light\";\n }\n }\n }\n\n componentWillRender(): void {\n this.updateMonochromeState();\n }\n\n render() {\n const {\n borderStyle,\n label,\n labelPlacement,\n monochrome,\n orientation,\n weight,\n } = this;\n\n const { theme } = this;\n\n const invalidPropCombination = (\n placement: IcDividerLabelPlacement\n ): void => {\n console.error(\n `${\n placement.charAt(0).toUpperCase() + placement.slice(1)\n } label placement is not applicable for a ${orientation} ic-divider (web-components) / IcDivider (react)`\n );\n };\n\n if (\n ((labelPlacement === \"left\" || labelPlacement === \"right\") &&\n orientation === \"vertical\") ||\n ((labelPlacement === \"top\" || labelPlacement === \"bottom\") &&\n orientation === \"horizontal\")\n ) {\n invalidPropCombination(labelPlacement);\n }\n\n const getTypographyVariant = (weight: string) => {\n switch (weight) {\n case \"very-thick\":\n return \"h4\";\n case \"thick\":\n return \"subtitle-large\";\n default:\n return \"label\";\n }\n };\n\n const renderLabel = () => {\n if (slotHasContent(this.el, \"label\")) {\n return (\n <div class=\"ic-divider-label-container\">\n <slot name=\"label\"></slot>\n </div>\n );\n } else if (isPropDefined(label)) {\n return (\n <ic-typography\n class=\"ic-divider-label\"\n variant={getTypographyVariant(weight)}\n >\n <p>{label}</p>\n </ic-typography>\n );\n }\n return null;\n };\n\n return (\n <Host\n class={{\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n [`ic-divider-monochrome`]: monochrome,\n [`ic-divider-${orientation}`]: true,\n [`ic-divider-${weight}`]: true,\n [`ic-divider-${borderStyle}`]: true,\n }}\n {...((orientation === \"vertical\" ||\n (!!renderLabel() && !!isPropDefined(labelPlacement))) && {\n \"aria-orientation\": orientation,\n role: \"separator\",\n })}\n >\n {orientation === \"horizontal\" &&\n (!renderLabel() || !isPropDefined(labelPlacement)) && <hr />}\n {!!isPropDefined(labelPlacement) && !!renderLabel() && renderLabel()}\n {orientation === \"vertical\" &&\n (!renderLabel() || !isPropDefined(labelPlacement)) && (\n <div class=\"vertical-divider\"></div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-divider.entry.cjs.js","mappings":"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","names":["getBrandForegroundAppearance","slotHasContent","h","isPropDefined","Host"],"sources":["src/components/ic-divider/ic-divider.css?tag=ic-divider&encapsulation=scoped","src/components/ic-divider/ic-divider.tsx"],"sourcesContent":["/**\n * @prop --ic-divider-vertical-height: The height of a vertical divider. The default value is `inherit`. \n */\n/**\n * @prop --ic-divider-horizontal-width: The width of a horizontal divider. The default value is `inherit`.\n */\n/**\n * @prop --ic-divider-label-width: The max-width of the divider label. When orientation is set to `horizontal`, the default value is `max(20rem, 60%)`. When orientation is set to `vertical`, the default value is `20 rem`.\n */\n\n/* IC-DIVIDER COLORS */\n/**\n * @internal @prop --ic-divider-background\n */\n/**\n * @internal @prop --ic-divider-background-monochrome\n */\n/**\n * @internal @prop --ic-divider-label\n */\n/**\n * @internal @prop --ic-divider-label-monochrome\n */\n\n/* Horizontal Divider */\n:host(.ic-divider-horizontal) {\n display: flex;\n width: var(--ic-divider-horizontal-width, 100%);\n align-items: center;\n -moz-column-gap: var(--ic-space-xxs);\n column-gap: var(--ic-space-xxs);\n}\n\nhr {\n padding: 0;\n margin: 0;\n border: none;\n border-bottom: solid var(--ic-space-1px) var(--ic-divider-background);\n width: inherit;\n}\n\n:host(.ic-divider-horizontal)::before,\n:host(.ic-divider-horizontal)::after {\n border-left: none !important;\n}\n\n:host(.ic-divider-horizontal[label-placement=\"right\"])::before,\n:host(.ic-divider-horizontal[label-placement=\"center\"])::before,\n:host(.ic-divider-horizontal[label-placement=\"left\"])::after,\n:host(.ic-divider-horizontal[label-placement=\"center\"])::after {\n content: \"\";\n border: none;\n width: 100%;\n}\n\n/* Vertical Divider */\n:host(.ic-divider-vertical) {\n display: flex;\n flex-direction: column;\n height: var(--ic-divider-vertical-height, inherit);\n width: -moz-max-content;\n width: max-content;\n align-items: center;\n -moz-column-gap: var(--ic-space-xxs);\n column-gap: var(--ic-space-xxs);\n border: none;\n}\n\n:host(.ic-divider-vertical) div.vertical-divider {\n display: flex;\n height: inherit;\n}\n\n:host(.ic-divider-vertical[label-placement=\"bottom\"])::before,\n:host(.ic-divider-vertical[label-placement=\"center\"])::before,\n:host(.ic-divider-vertical[label-placement=\"top\"])::after,\n:host(.ic-divider-vertical[label-placement=\"center\"])::after {\n content: \"\";\n height: 100%;\n}\n\n/* Theme */\nhr,\n:host(.ic-divider-horizontal)[label-placement=\"right\"]::before,\n:host(.ic-divider-horizontal[label-placement=\"center\"])::before,\n:host(.ic-divider-horizontal[label-placement=\"left\"])::after,\n:host(.ic-divider-horizontal[label-placement=\"center\"])::after {\n border-bottom: solid var(--ic-space-1px) var(--ic-divider-background);\n}\n\n:host(.ic-divider-monochrome) hr,\n:host(.ic-divider-monochrome.ic-divider-horizontal)[label-placement=\"right\"]::before,\n:host(.ic-divider-monochrome.ic-divider-horizontal[label-placement=\"center\"])::before,\n:host(.ic-divider-monochrome.ic-divider-horizontal[label-placement=\"left\"])::after,\n:host(.ic-divider-monochrome.ic-divider-horizontal[label-placement=\"center\"])::after {\n border-bottom-color: var(--ic-divider-background-monochrome);\n}\n\n:host() div.vertical-divider,\n:host(.ic-divider-vertical[label-placement=\"bottom\"])::before,\n:host(.ic-divider-vertical[label-placement=\"center\"])::before,\n:host(.ic-divider-vertical[label-placement=\"top\"])::after,\n:host(.ic-divider-vertical[label-placement=\"center\"])::after {\n border-left: solid var(--ic-space-1px) var(--ic-divider-background);\n}\n\n:host(.ic-divider-monochrome) div.vertical-divider,\n:host(.ic-divider-monochrome.ic-divider-vertical[label-placement=\"bottom\"])::before,\n:host(.ic-divider-monochrome.ic-divider-vertical[label-placement=\"center\"])::before,\n:host(.ic-divider-monochrome.ic-divider-vertical[label-placement=\"top\"])::after,\n:host(.ic-divider-monochrome.ic-divider-vertical[label-placement=\"center\"])::after {\n border-left-color: var(--ic-divider-background-monochrome);\n}\n\n/* Divider in ic-side-navigation */\n:host(.ic-side-navigation-keyline.ic-theme-dark) {\n --ic-side-navigation-keyline: var(--ic-state-layer-lighten-20);\n}\n\n:host(.ic-side-navigation-keyline.ic-theme-light) {\n --ic-side-navigation-keyline: var(--ic-state-layer-darken-20);\n}\n\n:host(.ic-side-navigation-keyline.ic-theme-dark) hr,\n:host(.ic-side-navigation-keyline.ic-theme-dark.ic-divider-horizontal)[label-placement=\"right\"]::before,\n:host(.ic-side-navigation-keyline.ic-theme-dark.ic-divider-horizontal[label-placement=\"center\"])::before,\n:host(.ic-side-navigation-keyline.ic-theme-dark.ic-divider-horizontal[label-placement=\"left\"])::after,\n:host(.ic-side-navigation-keyline.ic-theme-dark.ic-divider-horizontal[label-placement=\"center\"])::after {\n border-bottom-color: var(--ic-side-navigation-keyline);\n}\n\n:host(.ic-side-navigation-keyline.ic-theme-dark) div.vertical-divider,\n:host(.ic-side-navigation-keyline.ic-theme-dark.ic-divider-vertical[label-placement=\"bottom\"])::before,\n:host(.ic-side-navigation-keyline.ic-theme-dark.ic-divider-vertical[label-placement=\"center\"])::before,\n:host(.ic-side-navigation-keyline.ic-theme-dark.ic-divider-vertical[label-placement=\"top\"])::after,\n:host(.ic-side-navigation-keyline.ic-theme-dark.ic-divider-vertical[label-placement=\"center\"])::after {\n border-left-color: var(--ic-side-navigation-keyline);\n}\n\n:host(.ic-side-navigation-keyline.ic-theme-light) hr,\n:host(.ic-side-navigation-keyline.ic-theme-light.ic-divider-horizontal)[label-placement=\"right\"]::before,\n:host(.ic-side-navigation-keyline.ic-theme-light.ic-divider-horizontal[label-placement=\"center\"])::before,\n:host(.ic-side-navigation-keyline.ic-theme-light.ic-divider-horizontal[label-placement=\"left\"])::after,\n:host(.ic-side-navigation-keyline.ic-theme-light.ic-divider-horizontal[label-placement=\"center\"])::after {\n border-bottom-color: var(--ic-side-navigation-keyline);\n}\n\n:host(.ic-side-navigation-keyline.ic-theme-light) div.vertical-divider,\n:host(.ic-side-navigation-keyline.ic-theme-light.ic-divider-vertical[label-placement=\"bottom\"])::before,\n:host(.ic-side-navigation-keyline.ic-theme-light.ic-divider-vertical[label-placement=\"center\"])::before,\n:host(.ic-side-navigation-keyline.ic-theme-light.ic-divider-vertical[label-placement=\"top\"])::after,\n:host(.ic-side-navigation-keyline.ic-theme-light.ic-divider-vertical[label-placement=\"center\"])::after {\n border-left-color: var(--ic-divider-background-monochrome);\n}\n\n/* Weight */\n:host(.ic-divider-very-thick) hr,\n:host(.ic-divider-very-thick[label-placement=\"right\"])::before,\n:host(.ic-divider-very-thick[label-placement=\"center\"])::before,\n:host(.ic-divider-very-thick[label-placement=\"left\"])::after,\n:host(.ic-divider-very-thick[label-placement=\"center\"])::after {\n border-bottom-width: var(--ic-space-xs);\n}\n\n:host(.ic-divider-very-thick) .vertical-divider,\n:host(.ic-divider-very-thick[label-placement=\"bottom\"])::before,\n:host(.ic-divider-very-thick[label-placement=\"center\"])::before,\n:host(.ic-divider-very-thick[label-placement=\"top\"])::after,\n:host(.ic-divider-very-thick[label-placement=\"center\"])::after {\n border-left-width: var(--ic-space-xs);\n}\n\n:host(.ic-divider-thick) hr,\n:host(.ic-divider-thick[label-placement=\"right\"])::before,\n:host(.ic-divider-thick[label-placement=\"center\"])::before,\n:host(.ic-divider-thick[label-placement=\"left\"])::after,\n:host(.ic-divider-thick[label-placement=\"center\"])::after {\n border-bottom-width: var(--ic-space-xxs);\n}\n\n:host(.ic-divider-thick) .vertical-divider,\n:host(.ic-divider-thick[label-placement=\"bottom\"])::before,\n:host(.ic-divider-thick[label-placement=\"center\"])::before,\n:host(.ic-divider-thick[label-placement=\"top\"])::after,\n:host(.ic-divider-thick[label-placement=\"center\"])::after {\n border-left-width: var(--ic-space-xxs);\n}\n\n:host(.ic-divider-medium) hr,\n:host(.ic-divider-medium[label-placement=\"right\"])::before,\n:host(.ic-divider-medium[label-placement=\"center\"])::before,\n:host(.ic-divider-medium[label-placement=\"left\"])::after,\n:host(.ic-divider-medium[label-placement=\"center\"])::after {\n border-bottom-width: var(--ic-space-xxxs);\n}\n\n:host(.ic-divider-medium) .vertical-divider,\n:host(.ic-divider-medium[label-placement=\"bottom\"])::before,\n:host(.ic-divider-medium[label-placement=\"center\"])::before,\n:host(.ic-divider-medium[label-placement=\"top\"])::after,\n:host(.ic-divider-medium[label-placement=\"center\"])::after {\n border-left-width: var(--ic-space-xxxs);\n}\n\n:host(.ic-divider-thin) hr,\n:host(.ic-divider-thin[label-placement=\"right\"])::before,\n:host(.ic-divider-thin[label-placement=\"center\"])::before,\n:host(.ic-divider-thin[label-placement=\"left\"])::after,\n:host(.ic-divider-thin[label-placement=\"center\"])::after {\n border-bottom-width: var(--ic-space-1px);\n}\n\n:host(.ic-divider-thin) .vertical-divider,\n:host(.ic-divider-thin[label-placement=\"bottom\"])::before,\n:host(.ic-divider-thin.ic-divider-vertical[label-placement=\"center\"])::before,\n:host(.ic-divider-thin[label-placement=\"top\"])::after,\n:host(.ic-divider-thin.ic-divider-vertical[label-placement=\"center\"])::after {\n border-left-width: var(--ic-space-1px);\n}\n\n/* Border styling */\n:host(.ic-divider-dashed) hr,\n:host(.ic-divider-dashed[label-placement=\"right\"])::before,\n:host(.ic-divider-dashed[label-placement=\"center\"])::before,\n:host(.ic-divider-dashed[label-placement=\"left\"])::after,\n:host(.ic-divider-dashed[label-placement=\"center\"])::after {\n border-bottom-style: dashed;\n}\n\n:host(.ic-divider-dashed) .vertical-divider,\n:host(.ic-divider-dashed[label-placement=\"bottom\"])::before,\n:host(.ic-divider-dashed[label-placement=\"center\"])::before,\n:host(.ic-divider-dashed[label-placement=\"top\"])::after,\n:host(.ic-divider-dashed[label-placement=\"center\"])::after {\n border-left-style: dashed;\n}\n\n/* Label styling */\n:host() .ic-divider-label {\n text-wrap: wrap;\n text-align: left;\n width: -moz-max-content;\n width: max-content;\n max-width: var(--ic-divider-label-width, max(20rem, 60%));\n}\n\n:host(.ic-divider-horizontal[label-placement=\"center\"]) .ic-divider-label {\n text-align: center;\n}\n\n:host(.ic-divider-vertical) .ic-divider-label {\n text-align: center;\n}\n\n:host() .ic-divider-label-container {\n width: -moz-max-content;\n width: max-content;\n max-width: var(--ic-divider-label-width, max(20rem, 60%));\n}\n\n:host(.ic-divider-vertical) .ic-divider-label {\n max-width: var(--ic-divider-label-width, 20rem);\n}\n\n:host(.ic-divider-vertical) .ic-divider-label-container {\n max-width: var(--ic-divider-label-width, 20rem);\n}\n\n:host() .ic-divider-label p {\n width: -moz-max-content;\n width: max-content;\n max-width: 100%;\n}\n\n:host() .ic-divider-label,\n:host() ::slotted(*) {\n color: var(--ic-divider-label);\n}\n\n:host(.ic-divider-monochrome) .ic-divider-label,\n:host(.ic-divider-monochrome) ::slotted(*) {\n color: var(--ic-divider-label-monochrome);\n}\n\n/* High contrast */\n@media (forced-colors: active) {\n hr,\n :host(.ic-divider-horizontal[label-placement=\"right\"])::before,\n :host(.ic-divider-horizontal[label-placement=\"center\"])::before,\n :host(.ic-divider-horizontal[label-placement=\"left\"])::after,\n :host(.ic-divider-horizontal[label-placement=\"center\"])::after {\n border-bottom-color: transparent;\n }\n\n :host() div.vertical-divider,\n :host(.ic-divider-vertical[label-placement=\"bottom\"])::before,\n :host(.ic-divider-vertical[label-placement=\"center\"])::before,\n :host(.ic-divider-vertical[label-placement=\"top\"])::after,\n :host(.ic-divider-vertical[label-placement=\"center\"])::after {\n border-left-color: transparent;\n }\n}\n","import {\n h,\n Component,\n Host,\n Listen,\n State,\n Prop,\n Element,\n} from \"@stencil/core\";\n\nimport {\n getBrandForegroundAppearance,\n isPropDefined,\n slotHasContent,\n} from \"../../utils/helpers\";\n\nimport {\n IcBrand,\n IcOrientation,\n IcBrandForeground,\n IcThemeMode,\n} from \"../../utils/types\";\n\nimport {\n IcDividerLabelPlacement,\n IcDividerStyles,\n IcDividerWeights,\n} from \"./ic-divider.types\";\n\n@Component({\n tag: \"ic-divider\",\n styleUrl: \"ic-divider.css\",\n scoped: true,\n})\nexport class Divider {\n @Element() el: HTMLIcDividerElement;\n\n @State() foregroundColor: IcBrandForeground = getBrandForegroundAppearance();\n\n /**\n * The line style of the divider.\n */\n @Prop() borderStyle?: IcDividerStyles = \"solid\";\n\n /**\n * The label for the divider. The label placement will need to be set for the label to be displayed correctly.\n */\n @Prop() label?: string;\n\n /**\n * The position the label is placed on the divider. `Left` and `right` placement is only applicable when orientation is set to `horizontal`. `Top` and `bottom` placement is only applicable when orientation is set to `vertical`. `Center` placement is applicable for both orientations.\n */\n @Prop() labelPlacement?: IcDividerLabelPlacement = \"center\";\n\n /** If `true`, the divider will be displayed in a grey colour. */\n @Prop() monochrome?: boolean = false;\n\n /**\n * The orientation of the divider.\n */\n @Prop() orientation?: IcOrientation = \"horizontal\";\n\n /**\n * Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component.\n */\n @Prop({ mutable: true }) theme?: IcThemeMode | IcBrandForeground = \"inherit\";\n\n /**\n * The thickness of the divider.\n */\n @Prop() weight?: IcDividerWeights = \"thin\";\n\n @Listen(\"brandChange\", { target: \"document\" })\n brandChangeHandler(ev: CustomEvent<IcBrand>): void {\n this.foregroundColor = ev.detail.mode;\n }\n\n private updateMonochromeState(): void {\n const parentEl = this.el.parentElement;\n if (parentEl) {\n const isBottomSideNav = parentEl.classList.contains(\"bottom-side-nav\");\n const isBottomWrapper =\n parentEl.parentElement?.classList.contains(\"bottom-wrapper\");\n\n if (\n parentEl.tagName === \"IC-SIDE-NAVIGATION\" ||\n (isBottomSideNav && isBottomWrapper)\n ) {\n this.el.classList.add(\"ic-side-navigation-keyline\");\n if (this.foregroundColor === \"light\") {\n this.theme = \"dark\";\n } else {\n this.theme = \"light\";\n }\n }\n }\n }\n\n componentWillRender(): void {\n this.updateMonochromeState();\n }\n\n render() {\n const {\n borderStyle,\n label,\n labelPlacement,\n monochrome,\n orientation,\n weight,\n } = this;\n\n const { theme } = this;\n\n const invalidPropCombination = (\n placement: IcDividerLabelPlacement\n ): void => {\n console.error(\n `${\n placement.charAt(0).toUpperCase() + placement.slice(1)\n } label placement is not applicable for a ${orientation} ic-divider (web-components) / IcDivider (react)`\n );\n };\n\n if (\n ((labelPlacement === \"left\" || labelPlacement === \"right\") &&\n orientation === \"vertical\") ||\n ((labelPlacement === \"top\" || labelPlacement === \"bottom\") &&\n orientation === \"horizontal\")\n ) {\n invalidPropCombination(labelPlacement);\n }\n\n const getTypographyVariant = (weight: string) => {\n switch (weight) {\n case \"very-thick\":\n return \"h4\";\n case \"thick\":\n return \"subtitle-large\";\n default:\n return \"label\";\n }\n };\n\n const renderLabel = () => {\n if (slotHasContent(this.el, \"label\")) {\n return (\n <div class=\"ic-divider-label-container\">\n <slot name=\"label\"></slot>\n </div>\n );\n } else if (isPropDefined(label)) {\n return (\n <ic-typography\n class=\"ic-divider-label\"\n variant={getTypographyVariant(weight!)}\n >\n <p>{label}</p>\n </ic-typography>\n );\n }\n return null;\n };\n\n return (\n <Host\n class={{\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n [`ic-divider-monochrome`]: !!monochrome,\n [`ic-divider-${orientation}`]: true,\n [`ic-divider-${weight}`]: true,\n [`ic-divider-${borderStyle}`]: true,\n }}\n {...((orientation === \"vertical\" ||\n (!!renderLabel() && !!isPropDefined(labelPlacement))) && {\n \"aria-orientation\": orientation,\n role: \"separator\",\n })}\n >\n {orientation === \"horizontal\" &&\n (!renderLabel() || !isPropDefined(labelPlacement)) && <hr />}\n {!!isPropDefined(labelPlacement) && !!renderLabel() && renderLabel()}\n {orientation === \"vertical\" &&\n (!renderLabel() || !isPropDefined(labelPlacement)) && (\n <div class=\"vertical-divider\"></div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,21 +2,27 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-f982899d.js');
6
- const helpers = require('./helpers-eca4c27e.js');
5
+ const index = require('./index-d337cd8a.js');
6
+ const helpers = require('./helpers-08a9ec1c.js');
7
7
 
8
8
  const icEmptyStateCss = ":host{gap:var(--ic-space-xs);padding:var(--ic-space-xs)}:host,.action-area{display:flex;flex-direction:column}.action-area{gap:var(--ic-space-md)}:host ::slotted(svg),:host ::slotted(img){border-radius:var(--ic-space-xxs)}:host(.ic-empty-state-right),:host(.ic-empty-state-right) .action-area{align-items:flex-end;text-align:right}:host(.ic-empty-state-center),:host(.ic-empty-state-center) .action-area{align-items:center;text-align:center}:host(.image-medium) ::slotted(svg),:host(.image-medium) ::slotted(img){height:calc(3 * var(--ic-space-lg)) !important;width:calc(3 * var(--ic-space-lg)) !important}:host(.image-small) ::slotted(svg),:host(.image-small) ::slotted(img){height:var(--ic-space-xxl) !important;width:var(--ic-space-xxl) !important}:host(.image-large) ::slotted(svg),:host(.image-large) ::slotted(img){height:calc(4 * var(--ic-space-xl)) !important;width:calc(4 * var(--ic-space-xl)) !important}::slotted([slot=\"heading\"]),.empty-state-heading{--ic-typography-color:var(--ic-empty-state-title)}::slotted([slot=\"subheading\"]),.empty-state-subheading{--ic-typography-color:var(--ic-empty-state-subtitle)}::slotted([slot=\"body\"]),.empty-state-body{--ic-typography-color:var(--ic-empty-state-body)}";
9
+ const IcEmptyStateStyle0 = icEmptyStateCss;
9
10
 
10
11
  const EmptyState = class {
11
12
  constructor(hostRef) {
12
13
  index.registerInstance(this, hostRef);
13
14
  this.hostMutationObserver = null;
15
+ /**
16
+ * The alignment of the empty state container.
17
+ */
14
18
  this.aligned = "left";
15
- this.body = undefined;
16
- this.maxLines = undefined;
17
- this.heading = undefined;
19
+ /**
20
+ * The size of the image or icon used in the image slot.
21
+ */
18
22
  this.imageSize = "medium";
19
- this.subheading = undefined;
23
+ /**
24
+ * Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
25
+ */
20
26
  this.theme = "inherit";
21
27
  }
22
28
  disconnectedCallback() {
@@ -33,15 +39,15 @@ const EmptyState = class {
33
39
  }
34
40
  render() {
35
41
  const { aligned, body, maxLines, heading, imageSize, subheading, theme } = this;
36
- return (index.h(index.Host, { class: {
42
+ return (index.h(index.Host, { key: 'd8dbd02105f4b01a468436fd73ccd4ddec2a4cf1', class: {
37
43
  [`ic-empty-state-${aligned}`]: true,
38
44
  [`image-${imageSize}`]: helpers.isSlotUsed(this.el, "image"),
39
45
  [`ic-theme-${theme}`]: theme !== "inherit",
40
- } }, helpers.isSlotUsed(this.el, "image") && index.h("slot", { name: "image" }), index.h("div", null, index.h("slot", { name: "heading" }, index.h("ic-typography", { variant: "h4", class: "empty-state-heading" }, heading)), index.h("slot", { name: "subheading" }, index.h("ic-typography", { variant: "subtitle-small", class: "empty-state-subheading" }, subheading)), index.h("slot", { name: "body" }, index.h("ic-typography", { maxLines: maxLines, class: "empty-state-body" }, body))), helpers.isSlotUsed(this.el, "actions") && (index.h("div", { class: "action-area" }, index.h("slot", { name: "actions" })))));
46
+ } }, helpers.isSlotUsed(this.el, "image") && index.h("slot", { key: 'd7bed2bb22a41377f6c9032660bc62f79294510c', name: "image" }), index.h("div", { key: '64df9d8fb5ffbb9724a2e87a67eed03526564527' }, index.h("slot", { key: '5fee4dfbeef7272bcd423c7fb2bfc49e5e557718', name: "heading" }, index.h("ic-typography", { key: '523cac0cce5c01cca9540396b95f0ab13d0ef9cd', variant: "h4", class: "empty-state-heading" }, heading)), index.h("slot", { key: '904f2c3ceeeef991a099a4fc0521de002c6e8fc3', name: "subheading" }, index.h("ic-typography", { key: '6eb71c04bfae24d0ece644cea3730251ecd38e77', variant: "subtitle-small", class: "empty-state-subheading" }, subheading)), index.h("slot", { key: '6dc1f5e4e3071b5c0277c993502f1f043b247330', name: "body" }, index.h("ic-typography", { key: 'f60da219bd12eda8df1229eba9ae9904458e4692', maxLines: maxLines, class: "empty-state-body" }, body))), helpers.isSlotUsed(this.el, "actions") && (index.h("div", { key: '73247068a45635e5e64d513239ada3e97a4a4302', class: "action-area" }, index.h("slot", { key: '19a448208f663a595f5a81a28b89834d0c62e78b', name: "actions" })))));
41
47
  }
42
48
  get el() { return index.getElement(this); }
43
49
  };
44
- EmptyState.style = icEmptyStateCss;
50
+ EmptyState.style = IcEmptyStateStyle0;
45
51
 
46
52
  exports.ic_empty_state = EmptyState;
47
53
 
@@ -1 +1 @@
1
- {"file":"ic-empty-state.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,eAAe,GAAG,qsCAAqsC;;MCsBhtC,UAAU;;;QACb,yBAAoB,GAAqB,IAAI,CAAC;uBAOZ,MAAM;;;;yBAoBlB,QAAQ;;qBAUR,SAAS;;IAEvC,oBAAoB;;QAClB,MAAA,IAAI,CAAC,oBAAoB,0CAAE,UAAU,EAAE,CAAC;KACzC;IAED,gBAAgB;QACd,CAACA,kBAAU,CAAC,IAAI,CAAC,EAAE,EAAE,SAAS,CAAC;YAC7BC,wCAAgC,CAC9B,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAC7C,aAAa,CACd,CAAC;QAEJ,IAAI,CAAC,oBAAoB,GAAG,IAAI,gBAAgB,CAAC,CAAC,YAAY,KAC5DC,+BAAuB,CAAC,YAAY,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,IAAI,CAAC,CAClE,CAAC;QACF,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE;YACzC,SAAS,EAAE,IAAI;SAChB,CAAC,CAAC;KACJ;IAED,MAAM;QACJ,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,GACtE,IAAI,CAAC;QACP,QACEC,QAACC,UAAI,IACH,KAAK,EAAE;gBACL,CAAC,kBAAkB,OAAO,EAAE,GAAG,IAAI;gBACnC,CAAC,SAAS,SAAS,EAAE,GAAGJ,kBAAU,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,CAAC;gBACpD,CAAC,YAAY,KAAK,EAAE,GAAG,KAAK,KAAK,SAAS;aAC3C,IAEAA,kBAAU,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,CAAC,IAAIG,kBAAM,IAAI,EAAC,OAAO,GAAQ,EAC3DA,qBACEA,kBAAM,IAAI,EAAC,SAAS,IAClBA,2BAAe,OAAO,EAAC,IAAI,EAAC,KAAK,EAAC,qBAAqB,IACpD,OAAO,CACM,CACX,EACPA,kBAAM,IAAI,EAAC,YAAY,IACrBA,2BACE,OAAO,EAAC,gBAAgB,EACxB,KAAK,EAAC,wBAAwB,IAE7B,UAAU,CACG,CACX,EACPA,kBAAM,IAAI,EAAC,MAAM,IACfA,2BAAe,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAC,kBAAkB,IACxD,IAAI,CACS,CACX,CACH,EACLH,kBAAU,CAAC,IAAI,CAAC,EAAE,EAAE,SAAS,CAAC,KAC7BG,iBAAK,KAAK,EAAC,aAAa,IACtBA,kBAAM,IAAI,EAAC,SAAS,GAAG,CACnB,CACP,CACI,EACP;KACH;;;;;;;","names":["isSlotUsed","onComponentRequiredPropUndefined","renderDynamicChildSlots","h","Host"],"sources":["src/components/ic-empty-state/ic-empty-state.css?tag=ic-empty-state&encapsulation=shadow","src/components/ic-empty-state/ic-empty-state.tsx"],"sourcesContent":[":host {\n gap: var(--ic-space-xs);\n padding: var(--ic-space-xs);\n}\n\n:host,\n.action-area {\n display: flex;\n flex-direction: column;\n}\n\n.action-area {\n gap: var(--ic-space-md);\n}\n\n:host ::slotted(svg),\n:host ::slotted(img) {\n border-radius: var(--ic-space-xxs);\n}\n\n:host(.ic-empty-state-right),\n:host(.ic-empty-state-right) .action-area {\n align-items: flex-end;\n text-align: right;\n}\n\n:host(.ic-empty-state-center),\n:host(.ic-empty-state-center) .action-area {\n align-items: center;\n text-align: center;\n}\n\n:host(.image-medium) ::slotted(svg),\n:host(.image-medium) ::slotted(img) {\n height: calc(3 * var(--ic-space-lg)) !important;\n width: calc(3 * var(--ic-space-lg)) !important;\n}\n\n:host(.image-small) ::slotted(svg),\n:host(.image-small) ::slotted(img) {\n height: var(--ic-space-xxl) !important;\n width: var(--ic-space-xxl) !important;\n}\n\n:host(.image-large) ::slotted(svg),\n:host(.image-large) ::slotted(img) {\n height: calc(4 * var(--ic-space-xl)) !important;\n width: calc(4 * var(--ic-space-xl)) !important;\n}\n\n::slotted([slot=\"heading\"]),\n.empty-state-heading {\n --ic-typography-color: var(--ic-empty-state-title);\n}\n\n::slotted([slot=\"subheading\"]),\n.empty-state-subheading {\n --ic-typography-color: var(--ic-empty-state-subtitle);\n}\n\n::slotted([slot=\"body\"]),\n.empty-state-body {\n --ic-typography-color: var(--ic-empty-state-body);\n}\n","import { h, Component, Host, Prop, Element } from \"@stencil/core\";\n\nimport { IcEmptyStateAlignment } from \"./ic-empty-state.types\";\nimport {\n isSlotUsed,\n onComponentRequiredPropUndefined,\n renderDynamicChildSlots,\n} from \"../../utils/helpers\";\nimport { IcSizes, IcThemeMode } from \"../../utils/types\";\n\n/**\n * @slot image - Content is placed at the top above all other content.\n * @slot actions - Content is placed at the bottom below all other content.\n * @slot heading - Content will be rendered in place of the heading prop.\n * @slot subheading - Content will be rendered in place of the subheading prop.\n * @slot body - Content will be rendered in place of the body prop.\n */\n@Component({\n tag: \"ic-empty-state\",\n styleUrl: \"ic-empty-state.css\",\n shadow: true,\n})\nexport class EmptyState {\n private hostMutationObserver: MutationObserver = null;\n\n @Element() el: HTMLIcEmptyStateElement;\n\n /**\n * The alignment of the empty state container.\n */\n @Prop() aligned?: IcEmptyStateAlignment = \"left\";\n\n /**\n * The body text rendered in the empty state container.\n */\n @Prop() body?: string;\n\n /**\n * The number of lines of body text to display before truncating.\n */\n @Prop() maxLines?: number;\n\n /**\n * The title rendered in the empty state container.\n */\n @Prop() heading?: string;\n\n /**\n * The size of the image or icon used in the image slot.\n */\n @Prop() imageSize?: IcSizes = \"medium\";\n\n /**\n * The subtitle rendered in the empty state container.\n */\n @Prop() subheading?: string;\n\n /**\n * Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component.\n */\n @Prop() theme?: IcThemeMode = \"inherit\";\n\n disconnectedCallback(): void {\n this.hostMutationObserver?.disconnect();\n }\n\n componentDidLoad(): void {\n !isSlotUsed(this.el, \"heading\") &&\n onComponentRequiredPropUndefined(\n [{ prop: this.heading, propName: \"heading\" }],\n \"Empty State\"\n );\n\n this.hostMutationObserver = new MutationObserver((mutationList) =>\n renderDynamicChildSlots(mutationList, [\"image\", \"actions\"], this)\n );\n this.hostMutationObserver.observe(this.el, {\n childList: true,\n });\n }\n\n render() {\n const { aligned, body, maxLines, heading, imageSize, subheading, theme } =\n this;\n return (\n <Host\n class={{\n [`ic-empty-state-${aligned}`]: true,\n [`image-${imageSize}`]: isSlotUsed(this.el, \"image\"),\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n }}\n >\n {isSlotUsed(this.el, \"image\") && <slot name=\"image\"></slot>}\n <div>\n <slot name=\"heading\">\n <ic-typography variant=\"h4\" class=\"empty-state-heading\">\n {heading}\n </ic-typography>\n </slot>\n <slot name=\"subheading\">\n <ic-typography\n variant=\"subtitle-small\"\n class=\"empty-state-subheading\"\n >\n {subheading}\n </ic-typography>\n </slot>\n <slot name=\"body\">\n <ic-typography maxLines={maxLines} class=\"empty-state-body\">\n {body}\n </ic-typography>\n </slot>\n </div>\n {isSlotUsed(this.el, \"actions\") && (\n <div class=\"action-area\">\n <slot name=\"actions\" />\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-empty-state.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,eAAe,GAAG,qsCAAqsC,CAAC;AAC9tC,2BAAe,eAAe;;MCqBjB,UAAU;IALvB;;QAMU,yBAAoB,GAA4B,IAAI,CAAC;;;;QAOrD,YAAO,GAA2B,MAAM,CAAC;;;;QAoBzC,cAAS,GAAa,QAAQ,CAAC;;;;QAU/B,UAAK,GAAiB,SAAS,CAAC;KA6DzC;IA3DC,oBAAoB;;QAClB,MAAA,IAAI,CAAC,oBAAoB,0CAAE,UAAU,EAAE,CAAC;KACzC;IAED,gBAAgB;QACd,CAACA,kBAAU,CAAC,IAAI,CAAC,EAAE,EAAE,SAAS,CAAC;YAC7BC,wCAAgC,CAC9B,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAC7C,aAAa,CACd,CAAC;QAEJ,IAAI,CAAC,oBAAoB,GAAG,IAAI,gBAAgB,CAAC,CAAC,YAAY,KAC5DC,+BAAuB,CAAC,YAAY,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,IAAI,CAAC,CAClE,CAAC;QACF,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE;YACzC,SAAS,EAAE,IAAI;SAChB,CAAC,CAAC;KACJ;IAED,MAAM;QACJ,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,GACtE,IAAI,CAAC;QACP,QACEC,QAACC,UAAI,qDACH,KAAK,EAAE;gBACL,CAAC,kBAAkB,OAAO,EAAE,GAAG,IAAI;gBACnC,CAAC,SAAS,SAAS,EAAE,GAAGJ,kBAAU,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,CAAC;gBACpD,CAAC,YAAY,KAAK,EAAE,GAAG,KAAK,KAAK,SAAS;aAC3C,IAEAA,kBAAU,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,CAAC,IAAIG,mEAAM,IAAI,EAAC,OAAO,GAAQ,EAC3DA,oEACEA,mEAAM,IAAI,EAAC,SAAS,IAClBA,4EAAe,OAAO,EAAC,IAAI,EAAC,KAAK,EAAC,qBAAqB,IACpD,OAAO,CACM,CACX,EACPA,mEAAM,IAAI,EAAC,YAAY,IACrBA,4EACE,OAAO,EAAC,gBAAgB,EACxB,KAAK,EAAC,wBAAwB,IAE7B,UAAU,CACG,CACX,EACPA,mEAAM,IAAI,EAAC,MAAM,IACfA,4EAAe,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAC,kBAAkB,IACxD,IAAI,CACS,CACX,CACH,EACLH,kBAAU,CAAC,IAAI,CAAC,EAAE,EAAE,SAAS,CAAC,KAC7BG,kEAAK,KAAK,EAAC,aAAa,IACtBA,mEAAM,IAAI,EAAC,SAAS,GAAG,CACnB,CACP,CACI,EACP;KACH;;;;;;;","names":["isSlotUsed","onComponentRequiredPropUndefined","renderDynamicChildSlots","h","Host"],"sources":["src/components/ic-empty-state/ic-empty-state.css?tag=ic-empty-state&encapsulation=shadow","src/components/ic-empty-state/ic-empty-state.tsx"],"sourcesContent":[":host {\n gap: var(--ic-space-xs);\n padding: var(--ic-space-xs);\n}\n\n:host,\n.action-area {\n display: flex;\n flex-direction: column;\n}\n\n.action-area {\n gap: var(--ic-space-md);\n}\n\n:host ::slotted(svg),\n:host ::slotted(img) {\n border-radius: var(--ic-space-xxs);\n}\n\n:host(.ic-empty-state-right),\n:host(.ic-empty-state-right) .action-area {\n align-items: flex-end;\n text-align: right;\n}\n\n:host(.ic-empty-state-center),\n:host(.ic-empty-state-center) .action-area {\n align-items: center;\n text-align: center;\n}\n\n:host(.image-medium) ::slotted(svg),\n:host(.image-medium) ::slotted(img) {\n height: calc(3 * var(--ic-space-lg)) !important;\n width: calc(3 * var(--ic-space-lg)) !important;\n}\n\n:host(.image-small) ::slotted(svg),\n:host(.image-small) ::slotted(img) {\n height: var(--ic-space-xxl) !important;\n width: var(--ic-space-xxl) !important;\n}\n\n:host(.image-large) ::slotted(svg),\n:host(.image-large) ::slotted(img) {\n height: calc(4 * var(--ic-space-xl)) !important;\n width: calc(4 * var(--ic-space-xl)) !important;\n}\n\n::slotted([slot=\"heading\"]),\n.empty-state-heading {\n --ic-typography-color: var(--ic-empty-state-title);\n}\n\n::slotted([slot=\"subheading\"]),\n.empty-state-subheading {\n --ic-typography-color: var(--ic-empty-state-subtitle);\n}\n\n::slotted([slot=\"body\"]),\n.empty-state-body {\n --ic-typography-color: var(--ic-empty-state-body);\n}\n","import { h, Component, Host, Prop, Element } from \"@stencil/core\";\n\nimport { IcEmptyStateAlignment } from \"./ic-empty-state.types\";\nimport {\n isSlotUsed,\n onComponentRequiredPropUndefined,\n renderDynamicChildSlots,\n} from \"../../utils/helpers\";\nimport { IcSizes, IcThemeMode } from \"../../utils/types\";\n\n/**\n * @slot image - Content is placed at the top above all other content.\n * @slot actions - Content is placed at the bottom below all other content.\n * @slot heading - Content will be rendered in place of the heading prop.\n * @slot subheading - Content will be rendered in place of the subheading prop.\n * @slot body - Content will be rendered in place of the body prop.\n */\n@Component({\n tag: \"ic-empty-state\",\n styleUrl: \"ic-empty-state.css\",\n shadow: true,\n})\nexport class EmptyState {\n private hostMutationObserver: MutationObserver | null = null;\n\n @Element() el: HTMLIcEmptyStateElement;\n\n /**\n * The alignment of the empty state container.\n */\n @Prop() aligned?: IcEmptyStateAlignment = \"left\";\n\n /**\n * The body text rendered in the empty state container.\n */\n @Prop() body?: string;\n\n /**\n * The number of lines of body text to display before truncating.\n */\n @Prop() maxLines?: number;\n\n /**\n * The title rendered in the empty state container.\n */\n @Prop() heading?: string;\n\n /**\n * The size of the image or icon used in the image slot.\n */\n @Prop() imageSize?: IcSizes = \"medium\";\n\n /**\n * The subtitle rendered in the empty state container.\n */\n @Prop() subheading?: string;\n\n /**\n * Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component.\n */\n @Prop() theme?: IcThemeMode = \"inherit\";\n\n disconnectedCallback(): void {\n this.hostMutationObserver?.disconnect();\n }\n\n componentDidLoad(): void {\n !isSlotUsed(this.el, \"heading\") &&\n onComponentRequiredPropUndefined(\n [{ prop: this.heading, propName: \"heading\" }],\n \"Empty State\"\n );\n\n this.hostMutationObserver = new MutationObserver((mutationList) =>\n renderDynamicChildSlots(mutationList, [\"image\", \"actions\"], this)\n );\n this.hostMutationObserver.observe(this.el, {\n childList: true,\n });\n }\n\n render() {\n const { aligned, body, maxLines, heading, imageSize, subheading, theme } =\n this;\n return (\n <Host\n class={{\n [`ic-empty-state-${aligned}`]: true,\n [`image-${imageSize}`]: isSlotUsed(this.el, \"image\"),\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n }}\n >\n {isSlotUsed(this.el, \"image\") && <slot name=\"image\"></slot>}\n <div>\n <slot name=\"heading\">\n <ic-typography variant=\"h4\" class=\"empty-state-heading\">\n {heading}\n </ic-typography>\n </slot>\n <slot name=\"subheading\">\n <ic-typography\n variant=\"subtitle-small\"\n class=\"empty-state-subheading\"\n >\n {subheading}\n </ic-typography>\n </slot>\n <slot name=\"body\">\n <ic-typography maxLines={maxLines} class=\"empty-state-body\">\n {body}\n </ic-typography>\n </slot>\n </div>\n {isSlotUsed(this.el, \"actions\") && (\n <div class=\"action-area\">\n <slot name=\"actions\" />\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,14 +2,19 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-f982899d.js');
6
- const helpers = require('./helpers-eca4c27e.js');
5
+ const index = require('./index-d337cd8a.js');
6
+ const helpers = require('./helpers-08a9ec1c.js');
7
7
 
8
8
  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-label-margin-top:0;--footer-link-label-margin-bottom:var(--ic-space-md)}:host(.footer-link-group-small){--footer-link-group-margin-right:0;--footer-link-label-margin-top:var(--ic-space-md);--footer-link-label-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-small){--footer-link-group-border-bottom:var(--ic-space-1px) solid\n var(--ic-footer-keyline)}: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:hover){background-color:var(--ic-footer-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:active){background-color:var(--ic-footer-pressed)}:host ic-section-container{outline:none}.footer-link-label{margin-top:var(--footer-link-label-margin-top);margin-bottom:var(--footer-link-label-margin-bottom);flex-grow:1}.footer-link-group-toggle{fill:var(--ic-footer-chevron-icon) !important}.footer-link-group-links{display:flex;flex-direction:column}.footer-link-group-header{display:flex;align-items:center}ic-typography{--ic-typography-color:var(--ic-footer-link)}";
9
+ const IcFooterLinkGroupStyle0 = icFooterLinkGroupCss;
9
10
 
10
11
  const FooterLinkGroup = class {
11
12
  constructor(hostRef) {
12
13
  index.registerInstance(this, hostRef);
14
+ this.expanded = false;
15
+ this.deviceSize = helpers.DEVICE_SIZES.XL;
16
+ this.dropdownIconStyle = helpers.getBrandForegroundAppearance();
17
+ this.small = false;
13
18
  this.handleKeydown = (event) => {
14
19
  if (event.key === " " || event.key === "Enter") {
15
20
  this.toggleExpanded();
@@ -18,11 +23,6 @@ const FooterLinkGroup = class {
18
23
  this.toggleExpanded = () => {
19
24
  this.expanded = !this.expanded;
20
25
  };
21
- this.expanded = false;
22
- this.deviceSize = helpers.DEVICE_SIZES.XL;
23
- this.dropdownIconStyle = helpers.getBrandForegroundAppearance();
24
- this.small = false;
25
- this.label = undefined;
26
26
  }
27
27
  componentWillLoad() {
28
28
  this.small = this.isSmall(this.el);
@@ -62,7 +62,7 @@ const FooterLinkGroup = class {
62
62
  static get delegatesFocus() { return true; }
63
63
  get el() { return index.getElement(this); }
64
64
  };
65
- FooterLinkGroup.style = icFooterLinkGroupCss;
65
+ FooterLinkGroup.style = IcFooterLinkGroupStyle0;
66
66
 
67
67
  exports.ic_footer_link_group = FooterLinkGroup;
68
68
 
@@ -1 +1 @@
1
- {"file":"ic-footer-link-group.entry.cjs.js","mappings":"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","names":["DEVICE_SIZES","getBrandForegroundAppearance","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-label-margin-top: 0;\n --footer-link-label-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-group-small) {\n --footer-link-group-margin-right: 0;\n --footer-link-label-margin-top: var(--ic-space-md);\n --footer-link-label-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-small) {\n --footer-link-group-border-bottom: var(--ic-space-1px) solid\n var(--ic-footer-keyline);\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:hover) {\n background-color: var(--ic-footer-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:active) {\n background-color: var(--ic-footer-pressed);\n}\n\n:host ic-section-container {\n outline: none;\n}\n\n.footer-link-label {\n margin-top: var(--footer-link-label-margin-top);\n margin-bottom: var(--footer-link-label-margin-bottom);\n flex-grow: 1;\n}\n\n.footer-link-group-toggle {\n fill: var(--ic-footer-chevron-icon) !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\nic-typography {\n --ic-typography-color: var(--ic-footer-link);\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 getBrandForegroundAppearance,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\nimport {\n IcBrand,\n IcBrandForeground,\n IcBrandForegroundNoDefault,\n} 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 @State() expanded: boolean = false;\n @State() deviceSize: number = DEVICE_SIZES.XL;\n @State() dropdownIconStyle: IcBrandForegroundNoDefault | IcBrandForeground =\n getBrandForegroundAppearance();\n @State() small: boolean = false;\n\n /**\n * The title of the link group to be displayed.\n */\n @Prop() label!: string;\n\n componentWillLoad(): void {\n this.small = this.isSmall(this.el);\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.label, propName: \"label\" }],\n \"Footer Link Group\"\n );\n }\n\n @Listen(\"footerResized\", { target: \"document\" })\n footerResizeHandler(): void {\n this.small = this.isSmall(this.el);\n }\n\n @Listen(\"brandChange\", { target: \"document\" })\n footerBrandChangeHandler(ev: CustomEvent<IcBrand>): void {\n this.dropdownIconStyle = ev.detail.mode;\n }\n\n private isSmall(e: HTMLElement): boolean {\n if (e.parentElement !== null) {\n if (e.parentElement.classList.contains(\"ic-footer\")) {\n return e.parentElement.classList.contains(\"ic-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 render() {\n const { small, label } = 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 role=\"listitem\"\n >\n <div class=\"footer-link-label\">\n <ic-typography variant=\"subtitle-small\">{label}</ic-typography>\n </div>\n <div class=\"footer-link-group-links\" role=\"list\">\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 onClick={this.toggleExpanded}\n onKeydown={this.handleKeydown}\n aria-expanded={this.expanded}\n role=\"listitem\"\n >\n <ic-section-container tabindex=\"0\" fullHeight={true}>\n <div class=\"footer-link-group-header\">\n <div class=\"footer-link-label\">\n <ic-typography variant=\"label\">{label}</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\" role=\"list\">\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":["DEVICE_SIZES","getBrandForegroundAppearance","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-label-margin-top: 0;\n --footer-link-label-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-group-small) {\n --footer-link-group-margin-right: 0;\n --footer-link-label-margin-top: var(--ic-space-md);\n --footer-link-label-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-small) {\n --footer-link-group-border-bottom: var(--ic-space-1px) solid\n var(--ic-footer-keyline);\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:hover) {\n background-color: var(--ic-footer-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:active) {\n background-color: var(--ic-footer-pressed);\n}\n\n:host ic-section-container {\n outline: none;\n}\n\n.footer-link-label {\n margin-top: var(--footer-link-label-margin-top);\n margin-bottom: var(--footer-link-label-margin-bottom);\n flex-grow: 1;\n}\n\n.footer-link-group-toggle {\n fill: var(--ic-footer-chevron-icon) !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\nic-typography {\n --ic-typography-color: var(--ic-footer-link);\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 getBrandForegroundAppearance,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\nimport {\n IcBrand,\n IcBrandForeground,\n IcBrandForegroundNoDefault,\n} 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 @State() expanded: boolean = false;\n @State() deviceSize: number = DEVICE_SIZES.XL;\n @State() dropdownIconStyle: IcBrandForegroundNoDefault | IcBrandForeground =\n getBrandForegroundAppearance();\n @State() small: boolean = false;\n\n /**\n * The title of the link group to be displayed.\n */\n @Prop() label!: string;\n\n componentWillLoad(): void {\n this.small = this.isSmall(this.el);\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.label, propName: \"label\" }],\n \"Footer Link Group\"\n );\n }\n\n @Listen(\"footerResized\", { target: \"document\" })\n footerResizeHandler(): void {\n this.small = this.isSmall(this.el);\n }\n\n @Listen(\"brandChange\", { target: \"document\" })\n footerBrandChangeHandler(ev: CustomEvent<IcBrand>): void {\n this.dropdownIconStyle = ev.detail.mode;\n }\n\n private isSmall(e: HTMLElement): boolean {\n if (e.parentElement !== null) {\n if (e.parentElement.classList.contains(\"ic-footer\")) {\n return e.parentElement.classList.contains(\"ic-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 render() {\n const { small, label } = 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 role=\"listitem\"\n >\n <div class=\"footer-link-label\">\n <ic-typography variant=\"subtitle-small\">{label}</ic-typography>\n </div>\n <div class=\"footer-link-group-links\" role=\"list\">\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 onClick={this.toggleExpanded}\n onKeydown={this.handleKeydown}\n aria-expanded={this.expanded}\n role=\"listitem\"\n >\n <ic-section-container tabindex=\"0\" fullHeight={true}>\n <div class=\"footer-link-group-header\">\n <div class=\"footer-link-label\">\n <ic-typography variant=\"label\">{label}</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\" role=\"list\">\n <slot />\n </div>\n )}\n </ic-section-container>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,10 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-f982899d.js');
6
- const helpers = require('./helpers-eca4c27e.js');
5
+ const index = require('./index-d337cd8a.js');
6
+ const helpers = require('./helpers-08a9ec1c.js');
7
7
 
8
8
  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)}.ic-link-open-in-new-icon{vertical-align:middle;margin-left:var(--ic-space-xxs)}.ic-link>.ic-link-open-in-new-icon{fill:var(--ic-color-hyperlink-default)}.ic-link-open-in-new-icon>svg{width:var(--ic-space-md);height:var(--ic-space-md);fill:currentcolor}.ic-link:visited>.ic-link-open-in-new-icon{fill:var(--ic-color-hyperlink-visited)}.ic-link.light:visited>.ic-link-open-in-new-icon{fill:var(--ic-color-hyperlink-contrast-visited)}:host(.breadcrumb-link) .ic-link{display:var(--breadcrumb-link-display);align-items:var(--breadcrumb-link-align-items);gap:var(--breadcrumb-link-gap)}:host(.breadcrumb-link) .ic-link ::slotted(.back-icon){height:var(--ic-space-lg);width:var(--ic-space-lg)}:host(.breadcrumb-link.current-page) a,:host(.breadcrumb-link.current-page) ::slotted(a){font-weight:normal;color:inherit;text-decoration:none;display:flex;align-items:center}:host(.breadcrumb-link.current-page) .ic-link,:host(.breadcrumb-link.current-page) ::slotted(a:focus){outline:var(--ic-hc-focus-outline);text-decoration:none}:host(.breadcrumb-link.current-page) .ic-link:visited{color:var(--ic-color-text-primary)}:host(.footer-link-light) ::part(link),:host(.footer-link-dark) ::part(link){color:var(--ic-footer-link)}:host(.footer-link-light) ::slotted(svg),:host(.footer-link-dark) ::slotted(svg){fill:var(--ic-footer-icon)}:host(.footer-logo-link){transition:var(--ic-easing-transition-fast)}:host(.footer-logo-link:hover){background-color:var(--ic-footer-hover)}:host(.footer-logo-link:active){background-color:var(--ic-footer-pressed)}:host(.footer-logo-link:focus){box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);outline:var(--ic-hc-focus-outline)}@media (forced-colors: active){:host(.footer-link-light) ::slotted(svg),:host(.footer-link-dark) ::slotted(svg){fill:currentcolor}}";
9
+ const IcFooterLinkStyle0 = icFooterLinkCss;
9
10
 
10
11
  const FooterLink = class {
11
12
  constructor(hostRef) {
@@ -13,12 +14,10 @@ const FooterLink = class {
13
14
  this.deviceSize = helpers.DEVICE_SIZES.XL;
14
15
  this.footerConfig = { small: false, grouped: false };
15
16
  this.foregroundColor = helpers.getBrandForegroundAppearance();
17
+ /**
18
+ * If `true`, the user can save the linked URL instead of navigating to it.
19
+ */
16
20
  this.download = false;
17
- this.href = null;
18
- this.hreflang = undefined;
19
- this.referrerpolicy = undefined;
20
- this.rel = undefined;
21
- this.target = undefined;
22
21
  }
23
22
  componentWillLoad() {
24
23
  this.footerConfig = this.inferConfig(this.el);
@@ -49,17 +48,17 @@ const FooterLink = class {
49
48
  const { footerConfig, href, hreflang, referrerpolicy, rel, target, download, } = this;
50
49
  const { small, grouped } = footerConfig;
51
50
  const isLogoLink = !!this.el.closest("div[slot='logo']");
52
- return (index.h(index.Host, { class: {
51
+ return (index.h(index.Host, { key: 'fa83d7e8a1df86667efde5fd8e150ebc5fd2570e', class: {
53
52
  "footer-link": true,
54
53
  [`footer-link-${grouped ? "grouped" : "ungrouped"}-${small ? "small" : "sparse"}`]: true,
55
54
  [`footer-link-${this.foregroundColor}`]: true,
56
55
  "footer-logo-link": isLogoLink,
57
- }, role: "listitem" }, index.h("ic-link", { class: "footer-link", href: href, hreflang: hreflang, referrerpolicy: referrerpolicy, rel: rel, download: download !== false ? download : null, target: target }, index.h("slot", null))));
56
+ }, role: "listitem" }, index.h("ic-link", { key: 'd461836f1dbf15482782f7197ddc8933d76b3560', class: "footer-link", href: href, hreflang: hreflang, referrerpolicy: referrerpolicy, rel: rel, download: download !== false ? download : undefined, target: target }, index.h("slot", { key: 'd78502035082f67c50300e3fe84e2d952f3de448' }))));
58
57
  }
59
58
  static get delegatesFocus() { return true; }
60
59
  get el() { return index.getElement(this); }
61
60
  };
62
- FooterLink.style = icFooterLinkCss;
61
+ FooterLink.style = IcFooterLinkStyle0;
63
62
 
64
63
  exports.ic_footer_link = FooterLink;
65
64
 
@@ -1 +1 @@
1
- {"file":"ic-footer-link.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,eAAe,GAAG,61JAA61J;;MCwBx2J,UAAU;;;0BAGSA,oBAAY,CAAC,EAAE;4BACP,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE;+BACxBC,oCAA4B,EAAE;wBAKtC,KAAK;oBAKnB,IAAI;;;;;;IAsB5B,iBAAiB;QACf,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KAC/C;IAGD,mBAAmB;QACjB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KAC/C;IAGD,wBAAwB,CAAC,EAAwB;QAC/C,IAAI,CAAC,eAAe,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC;KACvC;IAEO,WAAW,CAAC,CAAc;QAChC,IAAI,CAAC,CAAC,aAAa,KAAK,IAAI,EAAE;YAC5B,IAAI,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE;gBACnD,OAAO;oBACL,KAAK,EAAE,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,iBAAiB,CAAC;oBAC5D,OAAO,EAAE,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,mBAAmB,CAAC;iBACjE,CAAC;aACH;iBAAM;gBACL,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;aAC1C;SACF;aAAM;YACL,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;SACzC;KACF;IAED,MAAM;QACJ,MAAM,EACJ,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,cAAc,EACd,GAAG,EACH,MAAM,EACN,QAAQ,GACT,GAAG,IAAI,CAAC;QACT,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,YAAY,CAAC;QAExC,MAAM,UAAU,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;QAEzD,QACEC,QAACC,UAAI,IACH,KAAK,EAAE;gBACL,aAAa,EAAE,IAAI;gBACnB,CAAC,eAAe,OAAO,GAAG,SAAS,GAAG,WAAW,IAC/C,KAAK,GAAG,OAAO,GAAG,QACpB,EAAE,GAAG,IAAI;gBACT,CAAC,eAAe,IAAI,CAAC,eAAe,EAAE,GAAG,IAAI;gBAC7C,kBAAkB,EAAE,UAAU;aAC/B,EACD,IAAI,EAAC,UAAU,IAEfD,qBACE,KAAK,EAAC,aAAa,EACnB,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,CACA,CACL,EACP;KACH;;;;;;;;","names":["DEVICE_SIZES","getBrandForegroundAppearance","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/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.ic-link-open-in-new-icon {\n vertical-align: middle;\n margin-left: var(--ic-space-xxs);\n}\n\n.ic-link > .ic-link-open-in-new-icon {\n fill: var(--ic-color-hyperlink-default);\n}\n\n.ic-link-open-in-new-icon > svg {\n width: var(--ic-space-md);\n height: var(--ic-space-md);\n fill: currentcolor;\n}\n\n.ic-link:visited > .ic-link-open-in-new-icon {\n fill: var(--ic-color-hyperlink-visited);\n}\n\n.ic-link.light:visited > .ic-link-open-in-new-icon {\n fill: var(--ic-color-hyperlink-contrast-visited);\n}\n\n:host(.breadcrumb-link) .ic-link {\n display: var(--breadcrumb-link-display);\n align-items: var(--breadcrumb-link-align-items);\n gap: var(--breadcrumb-link-gap);\n}\n\n:host(.breadcrumb-link) .ic-link ::slotted(.back-icon) {\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n}\n\n:host(.breadcrumb-link.current-page) a,\n:host(.breadcrumb-link.current-page) ::slotted(a) {\n font-weight: normal;\n color: inherit;\n text-decoration: none;\n display: flex;\n align-items: center;\n}\n\n:host(.breadcrumb-link.current-page) .ic-link,\n:host(.breadcrumb-link.current-page) ::slotted(a:focus) {\n outline: var(--ic-hc-focus-outline);\n text-decoration: none;\n}\n\n:host(.breadcrumb-link.current-page) .ic-link:visited {\n color: var(--ic-color-text-primary);\n}\n\n:host(.footer-link-light) ::part(link),\n:host(.footer-link-dark) ::part(link) {\n color: var(--ic-footer-link);\n}\n\n:host(.footer-link-light) ::slotted(svg),\n:host(.footer-link-dark) ::slotted(svg) {\n fill: var(--ic-footer-icon);\n}\n\n:host(.footer-logo-link) {\n transition: var(--ic-easing-transition-fast);\n}\n\n:host(.footer-logo-link:hover) {\n background-color: var(--ic-footer-hover);\n}\n\n:host(.footer-logo-link:active) {\n background-color: var(--ic-footer-pressed);\n}\n\n:host(.footer-logo-link:focus) {\n box-shadow: var(--ic-border-focus);\n border-radius: var(--ic-border-radius);\n outline: var(--ic-hc-focus-outline);\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 {\n DEVICE_SIZES,\n getBrandForegroundAppearance,\n} from \"../../utils/helpers\";\nimport { IcBrand, IcBrandForeground } 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: {\n delegatesFocus: true,\n },\n})\nexport class FooterLink {\n @Element() el: HTMLIcFooterLinkElement;\n\n @State() deviceSize: number = DEVICE_SIZES.XL;\n @State() footerConfig: FooterConfig = { small: false, grouped: false };\n @State() foregroundColor: IcBrandForeground = getBrandForegroundAppearance();\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 /**\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 componentWillLoad(): void {\n this.footerConfig = this.inferConfig(this.el);\n }\n\n @Listen(\"footerResized\", { target: \"document\" })\n footerResizeHandler(): void {\n this.footerConfig = this.inferConfig(this.el);\n }\n\n @Listen(\"brandChange\", { target: \"document\" })\n footerBrandChangeHandler(ev: CustomEvent<IcBrand>): void {\n this.foregroundColor = ev.detail.mode;\n }\n\n private inferConfig(e: HTMLElement): FooterConfig {\n if (e.parentElement !== null) {\n if (e.parentElement.classList.contains(\"ic-footer\")) {\n return {\n small: e.parentElement.classList.contains(\"ic-footer-small\"),\n grouped: e.parentElement.classList.contains(\"ic-footer-grouped\"),\n };\n } else {\n return this.inferConfig(e.parentElement);\n }\n } else {\n return { small: false, grouped: false };\n }\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 const isLogoLink = !!this.el.closest(\"div[slot='logo']\");\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 \"footer-logo-link\": isLogoLink,\n }}\n role=\"listitem\"\n >\n <ic-link\n class=\"footer-link\"\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 </ic-link>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-footer-link.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,eAAe,GAAG,61JAA61J,CAAC;AACt3J,2BAAe,eAAe;;MCuBjB,UAAU;IAPvB;;QAUW,eAAU,GAAWA,oBAAY,CAAC,EAAE,CAAC;QACrC,iBAAY,GAAiB,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;QAC9D,oBAAe,GAAsBC,oCAA4B,EAAE,CAAC;;;;QAKrE,aAAQ,GAAsB,KAAK,CAAC;KAgG7C;IArEC,iBAAiB;QACf,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KAC/C;IAGD,mBAAmB;QACjB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KAC/C;IAGD,wBAAwB,CAAC,EAAwB;QAC/C,IAAI,CAAC,eAAe,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC;KACvC;IAEO,WAAW,CAAC,CAAc;QAChC,IAAI,CAAC,CAAC,aAAa,KAAK,IAAI,EAAE;YAC5B,IAAI,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE;gBACnD,OAAO;oBACL,KAAK,EAAE,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,iBAAiB,CAAC;oBAC5D,OAAO,EAAE,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,mBAAmB,CAAC;iBACjE,CAAC;aACH;iBAAM;gBACL,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;aAC1C;SACF;aAAM;YACL,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;SACzC;KACF;IAED,MAAM;QACJ,MAAM,EACJ,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,cAAc,EACd,GAAG,EACH,MAAM,EACN,QAAQ,GACT,GAAG,IAAI,CAAC;QACT,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,YAAY,CAAC;QAExC,MAAM,UAAU,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;QAEzD,QACEC,QAACC,UAAI,qDACH,KAAK,EAAE;gBACL,aAAa,EAAE,IAAI;gBACnB,CAAC,eAAe,OAAO,GAAG,SAAS,GAAG,WAAW,IAC/C,KAAK,GAAG,OAAO,GAAG,QACpB,EAAE,GAAG,IAAI;gBACT,CAAC,eAAe,IAAI,CAAC,eAAe,EAAE,GAAG,IAAI;gBAC7C,kBAAkB,EAAE,UAAU;aAC/B,EACD,IAAI,EAAC,UAAU,IAEfD,sEACE,KAAK,EAAC,aAAa,EACnB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,cAAc,EAAE,cAAc,EAC9B,GAAG,EAAE,GAAG,EACR,QAAQ,EAAE,QAAQ,KAAK,KAAK,GAAG,QAAQ,GAAG,SAAS,EACnD,MAAM,EAAE,MAAM,IAEdA,oEAAQ,CACA,CACL,EACP;KACH;;;;;;;;","names":["DEVICE_SIZES","getBrandForegroundAppearance","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/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.ic-link-open-in-new-icon {\n vertical-align: middle;\n margin-left: var(--ic-space-xxs);\n}\n\n.ic-link > .ic-link-open-in-new-icon {\n fill: var(--ic-color-hyperlink-default);\n}\n\n.ic-link-open-in-new-icon > svg {\n width: var(--ic-space-md);\n height: var(--ic-space-md);\n fill: currentcolor;\n}\n\n.ic-link:visited > .ic-link-open-in-new-icon {\n fill: var(--ic-color-hyperlink-visited);\n}\n\n.ic-link.light:visited > .ic-link-open-in-new-icon {\n fill: var(--ic-color-hyperlink-contrast-visited);\n}\n\n:host(.breadcrumb-link) .ic-link {\n display: var(--breadcrumb-link-display);\n align-items: var(--breadcrumb-link-align-items);\n gap: var(--breadcrumb-link-gap);\n}\n\n:host(.breadcrumb-link) .ic-link ::slotted(.back-icon) {\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n}\n\n:host(.breadcrumb-link.current-page) a,\n:host(.breadcrumb-link.current-page) ::slotted(a) {\n font-weight: normal;\n color: inherit;\n text-decoration: none;\n display: flex;\n align-items: center;\n}\n\n:host(.breadcrumb-link.current-page) .ic-link,\n:host(.breadcrumb-link.current-page) ::slotted(a:focus) {\n outline: var(--ic-hc-focus-outline);\n text-decoration: none;\n}\n\n:host(.breadcrumb-link.current-page) .ic-link:visited {\n color: var(--ic-color-text-primary);\n}\n\n:host(.footer-link-light) ::part(link),\n:host(.footer-link-dark) ::part(link) {\n color: var(--ic-footer-link);\n}\n\n:host(.footer-link-light) ::slotted(svg),\n:host(.footer-link-dark) ::slotted(svg) {\n fill: var(--ic-footer-icon);\n}\n\n:host(.footer-logo-link) {\n transition: var(--ic-easing-transition-fast);\n}\n\n:host(.footer-logo-link:hover) {\n background-color: var(--ic-footer-hover);\n}\n\n:host(.footer-logo-link:active) {\n background-color: var(--ic-footer-pressed);\n}\n\n:host(.footer-logo-link:focus) {\n box-shadow: var(--ic-border-focus);\n border-radius: var(--ic-border-radius);\n outline: var(--ic-hc-focus-outline);\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 {\n DEVICE_SIZES,\n getBrandForegroundAppearance,\n} from \"../../utils/helpers\";\nimport { IcBrand, IcBrandForeground } 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: {\n delegatesFocus: true,\n },\n})\nexport class FooterLink {\n @Element() el: HTMLIcFooterLinkElement;\n\n @State() deviceSize: number = DEVICE_SIZES.XL;\n @State() footerConfig: FooterConfig = { small: false, grouped: false };\n @State() foregroundColor: IcBrandForeground = getBrandForegroundAppearance();\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 /**\n * The URL that the link points to.\n */\n @Prop() href?: string;\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 componentWillLoad(): void {\n this.footerConfig = this.inferConfig(this.el);\n }\n\n @Listen(\"footerResized\", { target: \"document\" })\n footerResizeHandler(): void {\n this.footerConfig = this.inferConfig(this.el);\n }\n\n @Listen(\"brandChange\", { target: \"document\" })\n footerBrandChangeHandler(ev: CustomEvent<IcBrand>): void {\n this.foregroundColor = ev.detail.mode;\n }\n\n private inferConfig(e: HTMLElement): FooterConfig {\n if (e.parentElement !== null) {\n if (e.parentElement.classList.contains(\"ic-footer\")) {\n return {\n small: e.parentElement.classList.contains(\"ic-footer-small\"),\n grouped: e.parentElement.classList.contains(\"ic-footer-grouped\"),\n };\n } else {\n return this.inferConfig(e.parentElement);\n }\n } else {\n return { small: false, grouped: false };\n }\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 const isLogoLink = !!this.el.closest(\"div[slot='logo']\");\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 \"footer-logo-link\": isLogoLink,\n }}\n role=\"listitem\"\n >\n <ic-link\n class=\"footer-link\"\n href={href}\n hreflang={hreflang}\n referrerpolicy={referrerpolicy}\n rel={rel}\n download={download !== false ? download : undefined}\n target={target}\n >\n <slot />\n </ic-link>\n </Host>\n );\n }\n}\n"],"version":3}