@ukic/web-components 2.29.1 → 3.0.0-alpha.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (955) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-94b33ab0.js → helpers-f1cf5156.js} +20 -11
  3. package/dist/cjs/helpers-f1cf5156.js.map +1 -0
  4. package/dist/cjs/ic-accordion-group.cjs.entry.js +9 -10
  5. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
  6. package/dist/cjs/ic-accordion.cjs.entry.js +5 -6
  7. package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
  8. package/dist/cjs/ic-alert.cjs.entry.js +4 -7
  9. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  10. package/dist/cjs/ic-back-to-top.cjs.entry.js +12 -16
  11. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-badge.cjs.entry.js +22 -51
  13. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  14. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +26 -14
  15. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-breadcrumb.cjs.entry.js +8 -7
  17. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  18. package/dist/cjs/ic-button_3.cjs.entry.js +50 -41
  19. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ic-card-vertical.cjs.entry.js +149 -0
  21. package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -0
  22. package/dist/cjs/ic-checkbox-group.cjs.entry.js +7 -7
  23. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  24. package/dist/cjs/ic-checkbox.cjs.entry.js +6 -16
  25. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  26. package/dist/cjs/ic-chip.cjs.entry.js +22 -23
  27. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  28. package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
  29. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  30. package/dist/cjs/ic-data-list.cjs.entry.js +32 -0
  31. package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -0
  32. package/dist/cjs/ic-data-row.cjs.entry.js +12 -12
  33. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  34. package/dist/cjs/ic-dialog.cjs.entry.js +12 -98
  35. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  36. package/dist/cjs/ic-divider.cjs.entry.js +3 -4
  37. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  38. package/dist/cjs/ic-empty-state.cjs.entry.js +7 -8
  39. package/dist/cjs/ic-empty-state.cjs.entry.js.map +1 -1
  40. package/dist/cjs/ic-footer-link-group.cjs.entry.js +9 -10
  41. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  42. package/dist/cjs/ic-footer-link.cjs.entry.js +6 -8
  43. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  44. package/dist/cjs/ic-footer.cjs.entry.js +8 -9
  45. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ic-hero.cjs.entry.js +9 -11
  47. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +5 -6
  49. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +21 -27
  51. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ic-input-label_2.cjs.entry.js +14 -16
  53. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  54. package/dist/cjs/ic-link.cjs.entry.js +21 -12
  55. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ic-menu-group.cjs.entry.js +2 -3
  57. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ic-menu-item.cjs.entry.js +3 -4
  59. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  60. package/dist/cjs/ic-navigation-button.cjs.entry.js +3 -4
  61. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  62. package/dist/cjs/ic-navigation-group.cjs.entry.js +9 -10
  63. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ic-navigation-item.cjs.entry.js +6 -7
  65. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  66. package/dist/cjs/ic-navigation-menu.cjs.entry.js +3 -4
  67. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  68. package/dist/cjs/ic-page-header.cjs.entry.js +8 -10
  69. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  70. package/dist/cjs/ic-pagination-item.cjs.entry.js +2 -3
  71. package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
  72. package/dist/cjs/ic-pagination.cjs.entry.js +33 -32
  73. package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ic-popover-menu.cjs.entry.js +3 -4
  75. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ic-radio-group.cjs.entry.js +11 -13
  77. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ic-radio-option.cjs.entry.js +5 -19
  79. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  80. package/dist/cjs/ic-search-bar.cjs.entry.js +23 -30
  81. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  82. package/dist/cjs/ic-select.cjs.entry.js +19 -28
  83. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  84. package/dist/cjs/ic-side-navigation.cjs.entry.js +7 -8
  85. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  86. package/dist/cjs/ic-skeleton.cjs.entry.js +5 -6
  87. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  88. package/dist/cjs/ic-status-tag.cjs.entry.js +6 -15
  89. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ic-step.cjs.entry.js +41 -46
  91. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  92. package/dist/cjs/ic-stepper.cjs.entry.js +27 -18
  93. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  94. package/dist/cjs/ic-switch.cjs.entry.js +7 -9
  95. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ic-tab-context.cjs.entry.js +34 -28
  97. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  98. package/dist/cjs/ic-tab-group.cjs.entry.js +25 -11
  99. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  100. package/dist/cjs/ic-tab-panel.cjs.entry.js +12 -11
  101. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  102. package/dist/cjs/ic-tab.cjs.entry.js +10 -9
  103. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  104. package/dist/cjs/ic-text-field.cjs.entry.js +55 -57
  105. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  106. package/dist/cjs/ic-theme.cjs.entry.js +27 -4
  107. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  108. package/dist/cjs/ic-toast-region.cjs.entry.js +0 -7
  109. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  110. package/dist/cjs/ic-toast.cjs.entry.js +83 -36
  111. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  112. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +17 -17
  113. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
  114. package/dist/cjs/ic-toggle-button.cjs.entry.js +14 -15
  115. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  116. package/dist/cjs/ic-top-navigation.cjs.entry.js +8 -9
  117. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  118. package/dist/cjs/ic-typography.cjs.entry.js +9 -8
  119. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  120. package/dist/cjs/index-f982899d.js +12 -12
  121. package/dist/cjs/loader.cjs.js +1 -1
  122. package/dist/collection/collection-manifest.json +3 -3
  123. package/dist/collection/components/ic-accordion/ic-accordion.css +13 -11
  124. package/dist/collection/components/ic-accordion/ic-accordion.js +5 -5
  125. package/dist/collection/components/ic-accordion/ic-accordion.js.map +1 -1
  126. package/dist/collection/components/ic-accordion-group/ic-accordion-group.css +9 -5
  127. package/dist/collection/components/ic-accordion-group/ic-accordion-group.js +12 -12
  128. package/dist/collection/components/ic-accordion-group/ic-accordion-group.js.map +1 -1
  129. package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.spec.js +7 -7
  130. package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.spec.js.map +1 -1
  131. package/dist/collection/components/ic-alert/ic-alert.css +16 -11
  132. package/dist/collection/components/ic-alert/ic-alert.js +0 -19
  133. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  134. package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +21 -61
  135. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +10 -13
  136. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
  137. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js +9 -10
  138. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +1 -1
  139. package/dist/collection/components/ic-badge/ic-badge.css +65 -41
  140. package/dist/collection/components/ic-badge/ic-badge.js +52 -100
  141. package/dist/collection/components/ic-badge/ic-badge.js.map +1 -1
  142. package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js +40 -50
  143. package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js.map +1 -1
  144. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +16 -11
  145. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +54 -31
  146. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
  147. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js +3 -3
  148. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +1 -1
  149. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.css +7 -5
  150. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +66 -33
  151. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
  152. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js +3 -3
  153. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +1 -1
  154. package/dist/collection/components/ic-button/ic-button.css +263 -238
  155. package/dist/collection/components/ic-button/ic-button.js +16 -18
  156. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  157. package/dist/collection/components/{ic-card/ic-card.css → ic-card-vertical/ic-card-vertical.css} +13 -7
  158. package/dist/collection/components/{ic-card/ic-card.js → ic-card-vertical/ic-card-vertical.js} +5 -5
  159. package/dist/collection/components/ic-card-vertical/ic-card-vertical.js.map +1 -0
  160. package/dist/collection/components/{ic-card/test/basic/ic-card.spec.js → ic-card-vertical/test/basic/ic-card-vertical.spec.js} +41 -41
  161. package/dist/collection/components/ic-card-vertical/test/basic/ic-card-vertical.spec.js.map +1 -0
  162. package/dist/collection/components/ic-checkbox/ic-checkbox.css +20 -14
  163. package/dist/collection/components/ic-checkbox/ic-checkbox.js +5 -137
  164. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  165. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +6 -4
  166. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +7 -27
  167. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  168. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +2 -2
  169. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -1
  170. package/dist/collection/components/ic-chip/ic-chip.css +66 -53
  171. package/dist/collection/components/ic-chip/ic-chip.js +44 -68
  172. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  173. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +16 -0
  174. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -1
  175. package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +28 -10
  176. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +1 -1
  177. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
  178. package/dist/collection/components/{ic-data-entity/ic-data-entity.css → ic-data-list/ic-data-list.css} +7 -3
  179. package/dist/collection/components/{ic-data-entity/ic-data-entity.js → ic-data-list/ic-data-list.js} +33 -27
  180. package/dist/collection/components/ic-data-list/ic-data-list.js.map +1 -0
  181. package/dist/collection/components/{ic-data-entity/test/basic/ic-data-entity.spec.js → ic-data-list/test/basic/ic-data-list.spec.js} +32 -32
  182. package/dist/collection/components/ic-data-list/test/basic/ic-data-list.spec.js.map +1 -0
  183. package/dist/collection/components/ic-data-row/ic-data-row.css +6 -3
  184. package/dist/collection/components/ic-data-row/ic-data-row.js +28 -24
  185. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
  186. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +4 -4
  187. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +1 -1
  188. package/dist/collection/components/ic-dialog/ic-dialog.css +3 -12
  189. package/dist/collection/components/ic-dialog/ic-dialog.js +11 -214
  190. package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
  191. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +3 -226
  192. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -1
  193. package/dist/collection/components/ic-divider/ic-divider.css +2 -2
  194. package/dist/collection/components/ic-empty-state/ic-empty-state.css +6 -6
  195. package/dist/collection/components/ic-empty-state/ic-empty-state.js +9 -9
  196. package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +1 -1
  197. package/dist/collection/components/ic-footer/ic-footer.css +16 -9
  198. package/dist/collection/components/ic-footer/ic-footer.js +6 -6
  199. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
  200. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +1 -1
  201. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -1
  202. package/dist/collection/components/ic-footer-link/ic-footer-link.css +36 -105
  203. package/dist/collection/components/ic-footer-link/ic-footer-link.js +4 -5
  204. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
  205. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +15 -11
  206. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +9 -9
  207. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
  208. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +7 -7
  209. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +1 -1
  210. package/dist/collection/components/ic-hero/ic-hero.css +14 -14
  211. package/dist/collection/components/ic-hero/ic-hero.js +11 -33
  212. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  213. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +6 -6
  214. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -1
  215. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +8 -8
  216. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +3 -3
  217. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
  218. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +40 -35
  219. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +12 -57
  220. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
  221. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +9 -9
  222. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -1
  223. package/dist/collection/components/ic-input-label/ic-input-label.css +7 -7
  224. package/dist/collection/components/ic-input-label/ic-input-label.js +24 -46
  225. package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
  226. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js +4 -4
  227. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +1 -1
  228. package/dist/collection/components/ic-input-validation/ic-input-validation.css +4 -4
  229. package/dist/collection/components/ic-input-validation/ic-input-validation.js +2 -2
  230. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
  231. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js +4 -4
  232. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +1 -1
  233. package/dist/collection/components/ic-link/ic-link.css +101 -45
  234. package/dist/collection/components/ic-link/ic-link.js +57 -49
  235. package/dist/collection/components/ic-link/ic-link.js.map +1 -1
  236. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +16 -111
  237. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -1
  238. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +23 -16
  239. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +73 -50
  240. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
  241. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js.map +1 -1
  242. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +3 -2
  243. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -1
  244. package/dist/collection/components/ic-menu/ic-menu.css +27 -16
  245. package/dist/collection/components/ic-menu/ic-menu.js +9 -32
  246. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  247. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +1 -1
  248. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -1
  249. package/dist/collection/components/ic-menu-group/ic-menu-group.css +2 -1
  250. package/dist/collection/components/ic-menu-item/ic-menu-item.css +51 -36
  251. package/dist/collection/components/ic-menu-item/ic-menu-item.js +1 -1
  252. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
  253. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +1 -1
  254. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  255. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +14 -12
  256. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +7 -7
  257. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  258. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +10 -7
  259. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +4 -4
  260. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  261. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +7 -2
  262. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +1 -1
  263. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
  264. package/dist/collection/components/ic-page-header/ic-page-header.css +2 -2
  265. package/dist/collection/components/ic-page-header/ic-page-header.js +8 -30
  266. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
  267. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +15 -15
  268. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +1 -1
  269. package/dist/collection/components/ic-pagination/ic-pagination.js +38 -36
  270. package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
  271. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +26 -26
  272. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -1
  273. package/dist/collection/components/ic-pagination-item/ic-pagination-item.css +13 -10
  274. package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +8 -4
  275. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +1 -1
  276. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
  277. package/dist/collection/components/ic-radio-group/ic-radio-group.css +5 -5
  278. package/dist/collection/components/ic-radio-group/ic-radio-group.js +12 -34
  279. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  280. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +1 -1
  281. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -1
  282. package/dist/collection/components/ic-radio-option/ic-radio-option.css +11 -8
  283. package/dist/collection/components/ic-radio-option/ic-radio-option.js +4 -126
  284. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  285. package/dist/collection/components/ic-search-bar/ic-search-bar.css +11 -11
  286. package/dist/collection/components/ic-search-bar/ic-search-bar.js +32 -99
  287. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  288. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +15 -15
  289. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -1
  290. package/dist/collection/components/ic-select/ic-select.css +23 -21
  291. package/dist/collection/components/ic-select/ic-select.js +16 -151
  292. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  293. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +6 -6
  294. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -1
  295. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +18 -17
  296. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +6 -6
  297. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  298. package/dist/collection/components/ic-skeleton/ic-skeleton.css +5 -28
  299. package/dist/collection/components/ic-skeleton/ic-skeleton.js +17 -33
  300. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
  301. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +1 -1
  302. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +1 -1
  303. package/dist/collection/components/ic-status-tag/ic-status-tag.css +20 -17
  304. package/dist/collection/components/ic-status-tag/ic-status-tag.js +24 -61
  305. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
  306. package/dist/collection/components/ic-status-tag/ic-status-tag.types.js.map +1 -1
  307. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js +2 -2
  308. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +1 -1
  309. package/dist/collection/components/ic-step/ic-step.css +97 -128
  310. package/dist/collection/components/ic-step/ic-step.js +77 -54
  311. package/dist/collection/components/ic-step/ic-step.js.map +1 -1
  312. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js +30 -30
  313. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +1 -1
  314. package/dist/collection/components/ic-stepper/ic-stepper.css +4 -4
  315. package/dist/collection/components/ic-stepper/ic-stepper.js +51 -33
  316. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
  317. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js +37 -37
  318. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +1 -1
  319. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +237 -237
  320. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -1
  321. package/dist/collection/components/ic-switch/ic-switch.css +2 -2
  322. package/dist/collection/components/ic-switch/ic-switch.js +7 -29
  323. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  324. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +1 -1
  325. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +1 -1
  326. package/dist/collection/components/ic-tab/ic-tab.css +47 -21
  327. package/dist/collection/components/ic-tab/ic-tab.js +56 -34
  328. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
  329. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +2 -2
  330. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +1 -1
  331. package/dist/collection/components/ic-tab-context/ic-tab-context.js +79 -76
  332. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
  333. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js +3 -3
  334. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +1 -1
  335. package/dist/collection/components/ic-tab-group/ic-tab-group.css +7 -8
  336. package/dist/collection/components/ic-tab-group/ic-tab-group.js +68 -54
  337. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
  338. package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +2 -2
  339. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +91 -30
  340. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
  341. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js +50 -0
  342. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +1 -0
  343. package/dist/collection/components/ic-text-field/ic-text-field.css +15 -9
  344. package/dist/collection/components/ic-text-field/ic-text-field.js +70 -111
  345. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  346. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +36 -14
  347. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -1
  348. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +57 -56
  349. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +1 -1
  350. package/dist/collection/components/ic-theme/ic-theme.js +50 -2
  351. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
  352. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +13 -11
  353. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +1 -1
  354. package/dist/collection/components/ic-toast/ic-toast.css +21 -7
  355. package/dist/collection/components/ic-toast/ic-toast.js +83 -32
  356. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
  357. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +43 -7
  358. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +1 -1
  359. package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -43
  360. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -1
  361. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js +0 -20
  362. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +1 -1
  363. package/dist/collection/components/ic-toggle-button/ic-toggle-button.css +58 -51
  364. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +16 -16
  365. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js.map +1 -1
  366. package/dist/collection/components/ic-toggle-button/test/basic/ic-toggle-button.spec.js +4 -4
  367. package/dist/collection/components/ic-toggle-button/test/basic/ic-toggle-button.spec.js.map +1 -1
  368. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.css +11 -8
  369. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +18 -18
  370. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js.map +1 -1
  371. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.types.js.map +1 -1
  372. package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js +19 -19
  373. package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js.map +1 -1
  374. package/dist/collection/components/ic-tooltip/ic-tooltip.css +14 -5
  375. package/dist/collection/components/ic-tooltip/ic-tooltip.js +30 -2
  376. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  377. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +14 -0
  378. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -1
  379. package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +9 -7
  380. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +6 -6
  381. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  382. package/dist/collection/components/ic-typography/ic-typography.css +12 -6
  383. package/dist/collection/components/ic-typography/ic-typography.js +31 -5
  384. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
  385. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +14 -0
  386. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -1
  387. package/dist/collection/utils/types.js.map +1 -1
  388. package/dist/components/helpers.js +13 -2
  389. package/dist/components/helpers.js.map +1 -1
  390. package/dist/components/ic-accordion-group.js +9 -9
  391. package/dist/components/ic-accordion-group.js.map +1 -1
  392. package/dist/components/ic-accordion.js +4 -4
  393. package/dist/components/ic-accordion.js.map +1 -1
  394. package/dist/components/ic-alert.js +132 -1
  395. package/dist/components/ic-alert.js.map +1 -1
  396. package/dist/components/ic-back-to-top.js +24 -15
  397. package/dist/components/ic-back-to-top.js.map +1 -1
  398. package/dist/components/ic-badge.js +25 -54
  399. package/dist/components/ic-badge.js.map +1 -1
  400. package/dist/components/ic-breadcrumb-group.js +31 -16
  401. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  402. package/dist/components/ic-breadcrumb2.js +10 -7
  403. package/dist/components/ic-breadcrumb2.js.map +1 -1
  404. package/dist/components/ic-button2.js +16 -18
  405. package/dist/components/ic-button2.js.map +1 -1
  406. package/dist/components/{ic-data-entity.d.ts → ic-card-vertical.d.ts} +4 -4
  407. package/dist/components/{ic-card.js → ic-card-vertical.js} +11 -12
  408. package/dist/components/ic-card-vertical.js.map +1 -0
  409. package/dist/components/ic-checkbox-group.js +7 -7
  410. package/dist/components/ic-checkbox-group.js.map +1 -1
  411. package/dist/components/ic-checkbox.js +6 -21
  412. package/dist/components/ic-checkbox.js.map +1 -1
  413. package/dist/components/ic-chip.js +24 -23
  414. package/dist/components/ic-chip.js.map +1 -1
  415. package/dist/components/ic-classification-banner.js +2 -2
  416. package/dist/components/ic-classification-banner.js.map +1 -1
  417. package/dist/components/{ic-card.d.ts → ic-data-list.d.ts} +4 -4
  418. package/dist/components/ic-data-list.js +56 -0
  419. package/dist/components/ic-data-list.js.map +1 -0
  420. package/dist/components/ic-data-row.js +14 -13
  421. package/dist/components/ic-data-row.js.map +1 -1
  422. package/dist/components/ic-dialog.js +14 -112
  423. package/dist/components/ic-dialog.js.map +1 -1
  424. package/dist/components/ic-divider2.js +2 -3
  425. package/dist/components/ic-divider2.js.map +1 -1
  426. package/dist/components/ic-empty-state.js +7 -7
  427. package/dist/components/ic-empty-state.js.map +1 -1
  428. package/dist/components/ic-footer-link-group.js +10 -10
  429. package/dist/components/ic-footer-link-group.js.map +1 -1
  430. package/dist/components/ic-footer-link.js +13 -8
  431. package/dist/components/ic-footer-link.js.map +1 -1
  432. package/dist/components/ic-footer.js +8 -9
  433. package/dist/components/ic-footer.js.map +1 -1
  434. package/dist/components/ic-hero.js +9 -12
  435. package/dist/components/ic-hero.js.map +1 -1
  436. package/dist/components/ic-horizontal-scroll2.js +5 -6
  437. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  438. package/dist/components/ic-input-component-container2.js +12 -18
  439. package/dist/components/ic-input-component-container2.js.map +1 -1
  440. package/dist/components/ic-input-label2.js +10 -12
  441. package/dist/components/ic-input-label2.js.map +1 -1
  442. package/dist/components/ic-input-validation2.js +4 -5
  443. package/dist/components/ic-input-validation2.js.map +1 -1
  444. package/dist/components/ic-link2.js +22 -13
  445. package/dist/components/ic-link2.js.map +1 -1
  446. package/dist/components/ic-loading-indicator2.js +29 -23
  447. package/dist/components/ic-loading-indicator2.js.map +1 -1
  448. package/dist/components/ic-menu-group.js +2 -2
  449. package/dist/components/ic-menu-group.js.map +1 -1
  450. package/dist/components/ic-menu-item2.js +3 -3
  451. package/dist/components/ic-menu-item2.js.map +1 -1
  452. package/dist/components/ic-menu2.js +8 -11
  453. package/dist/components/ic-menu2.js.map +1 -1
  454. package/dist/components/ic-navigation-button.js +2 -3
  455. package/dist/components/ic-navigation-button.js.map +1 -1
  456. package/dist/components/ic-navigation-group.js +9 -9
  457. package/dist/components/ic-navigation-group.js.map +1 -1
  458. package/dist/components/ic-navigation-item.js +6 -6
  459. package/dist/components/ic-navigation-item.js.map +1 -1
  460. package/dist/components/ic-navigation-menu2.js +3 -3
  461. package/dist/components/ic-navigation-menu2.js.map +1 -1
  462. package/dist/components/ic-page-header.js +8 -10
  463. package/dist/components/ic-page-header.js.map +1 -1
  464. package/dist/components/ic-pagination-item2.js +2 -2
  465. package/dist/components/ic-pagination-item2.js.map +1 -1
  466. package/dist/components/ic-pagination.js +36 -34
  467. package/dist/components/ic-pagination.js.map +1 -1
  468. package/dist/components/ic-popover-menu.js +3 -3
  469. package/dist/components/ic-popover-menu.js.map +1 -1
  470. package/dist/components/ic-radio-group.js +11 -13
  471. package/dist/components/ic-radio-group.js.map +1 -1
  472. package/dist/components/ic-radio-option.js +6 -25
  473. package/dist/components/ic-radio-option.js.map +1 -1
  474. package/dist/components/ic-search-bar.js +21 -29
  475. package/dist/components/ic-search-bar.js.map +1 -1
  476. package/dist/components/ic-select.js +15 -31
  477. package/dist/components/ic-select.js.map +1 -1
  478. package/dist/components/ic-side-navigation.js +7 -8
  479. package/dist/components/ic-side-navigation.js.map +1 -1
  480. package/dist/components/ic-skeleton.js +6 -8
  481. package/dist/components/ic-skeleton.js.map +1 -1
  482. package/dist/components/ic-status-tag.js +6 -15
  483. package/dist/components/ic-status-tag.js.map +1 -1
  484. package/dist/components/ic-step.js +48 -51
  485. package/dist/components/ic-step.js.map +1 -1
  486. package/dist/components/ic-stepper.js +28 -17
  487. package/dist/components/ic-stepper.js.map +1 -1
  488. package/dist/components/ic-switch.js +7 -9
  489. package/dist/components/ic-switch.js.map +1 -1
  490. package/dist/components/ic-tab-context.js +39 -31
  491. package/dist/components/ic-tab-context.js.map +1 -1
  492. package/dist/components/ic-tab-group.js +27 -13
  493. package/dist/components/ic-tab-group.js.map +1 -1
  494. package/dist/components/ic-tab-panel.js +17 -13
  495. package/dist/components/ic-tab-panel.js.map +1 -1
  496. package/dist/components/ic-tab.js +11 -9
  497. package/dist/components/ic-tab.js.map +1 -1
  498. package/dist/components/ic-text-field2.js +52 -57
  499. package/dist/components/ic-text-field2.js.map +1 -1
  500. package/dist/components/ic-theme.js +33 -7
  501. package/dist/components/ic-theme.js.map +1 -1
  502. package/dist/components/ic-toast-region.js +1 -9
  503. package/dist/components/ic-toast-region.js.map +1 -1
  504. package/dist/components/ic-toast.js +86 -37
  505. package/dist/components/ic-toast.js.map +1 -1
  506. package/dist/components/ic-toggle-button-group.js +17 -17
  507. package/dist/components/ic-toggle-button-group.js.map +1 -1
  508. package/dist/components/ic-toggle-button.js +14 -14
  509. package/dist/components/ic-toggle-button.js.map +1 -1
  510. package/dist/components/ic-tooltip2.js +8 -3
  511. package/dist/components/ic-tooltip2.js.map +1 -1
  512. package/dist/components/ic-top-navigation.js +7 -8
  513. package/dist/components/ic-top-navigation.js.map +1 -1
  514. package/dist/components/ic-typography2.js +9 -6
  515. package/dist/components/ic-typography2.js.map +1 -1
  516. package/dist/core/core.css +101 -29
  517. package/dist/core/core.esm.js +1 -1
  518. package/dist/core/core.esm.js.map +1 -1
  519. package/dist/core/p-0a808ec3.entry.js +2 -0
  520. package/dist/core/p-0a808ec3.entry.js.map +1 -0
  521. package/dist/core/p-0c872824.entry.js +2 -0
  522. package/dist/core/p-0c872824.entry.js.map +1 -0
  523. package/dist/core/p-0d30ffab.entry.js +2 -0
  524. package/dist/core/p-0d30ffab.entry.js.map +1 -0
  525. package/dist/core/p-0fb047e7.entry.js +2 -0
  526. package/dist/core/p-0fb047e7.entry.js.map +1 -0
  527. package/dist/core/p-1684c8d4.entry.js +2 -0
  528. package/dist/core/p-1684c8d4.entry.js.map +1 -0
  529. package/dist/core/p-1b573920.entry.js +2 -0
  530. package/dist/core/p-1b573920.entry.js.map +1 -0
  531. package/dist/core/p-1f1758a9.entry.js +2 -0
  532. package/dist/core/p-1f1758a9.entry.js.map +1 -0
  533. package/dist/core/p-21e5dd29.entry.js +2 -0
  534. package/dist/core/p-21e5dd29.entry.js.map +1 -0
  535. package/dist/core/p-244d6dba.entry.js +2 -0
  536. package/dist/core/p-244d6dba.entry.js.map +1 -0
  537. package/dist/core/{p-7438ab1f.entry.js → p-26bc7c62.entry.js} +2 -2
  538. package/dist/core/p-26bc7c62.entry.js.map +1 -0
  539. package/dist/core/{p-3eda4e14.entry.js → p-27274ca8.entry.js} +2 -2
  540. package/dist/core/p-27274ca8.entry.js.map +1 -0
  541. package/dist/core/p-312cacae.js +2 -0
  542. package/dist/core/p-312cacae.js.map +1 -0
  543. package/dist/core/p-31fc8756.entry.js +2 -0
  544. package/dist/core/p-31fc8756.entry.js.map +1 -0
  545. package/dist/core/p-322edabc.entry.js +2 -0
  546. package/dist/core/p-322edabc.entry.js.map +1 -0
  547. package/dist/core/p-34db8aaf.entry.js +2 -0
  548. package/dist/core/p-34db8aaf.entry.js.map +1 -0
  549. package/dist/core/p-355acffa.entry.js +2 -0
  550. package/dist/core/p-355acffa.entry.js.map +1 -0
  551. package/dist/core/p-363d6e88.entry.js +2 -0
  552. package/dist/core/p-363d6e88.entry.js.map +1 -0
  553. package/dist/core/{p-3969d3c0.entry.js → p-3ea4a005.entry.js} +2 -2
  554. package/dist/core/p-3ea4a005.entry.js.map +1 -0
  555. package/dist/core/p-4055f22c.entry.js +2 -0
  556. package/dist/core/p-4055f22c.entry.js.map +1 -0
  557. package/dist/core/p-408344d3.entry.js +2 -0
  558. package/dist/core/p-408344d3.entry.js.map +1 -0
  559. package/dist/core/p-40e9e76a.entry.js +2 -0
  560. package/dist/core/p-40e9e76a.entry.js.map +1 -0
  561. package/dist/core/p-43f9a711.entry.js +2 -0
  562. package/dist/core/p-43f9a711.entry.js.map +1 -0
  563. package/dist/core/p-4502d3c1.entry.js +2 -0
  564. package/dist/core/p-4502d3c1.entry.js.map +1 -0
  565. package/dist/core/p-49525194.entry.js +2 -0
  566. package/dist/core/p-49525194.entry.js.map +1 -0
  567. package/dist/core/p-4ff6d16f.entry.js +2 -0
  568. package/dist/core/p-4ff6d16f.entry.js.map +1 -0
  569. package/dist/core/p-50ead56c.entry.js +2 -0
  570. package/dist/core/p-50ead56c.entry.js.map +1 -0
  571. package/dist/core/p-5deb9730.entry.js +2 -0
  572. package/dist/core/p-5deb9730.entry.js.map +1 -0
  573. package/dist/core/p-60efd7fa.entry.js +2 -0
  574. package/dist/core/{p-223889da.entry.js.map → p-60efd7fa.entry.js.map} +1 -1
  575. package/dist/core/p-6bd2e938.entry.js +2 -0
  576. package/dist/core/p-6bd2e938.entry.js.map +1 -0
  577. package/dist/core/p-6d40baa9.entry.js +2 -0
  578. package/dist/core/p-6d40baa9.entry.js.map +1 -0
  579. package/dist/core/p-7c89fc86.entry.js +2 -0
  580. package/dist/core/p-7c89fc86.entry.js.map +1 -0
  581. package/dist/core/p-82375dca.entry.js +2 -0
  582. package/dist/core/p-82375dca.entry.js.map +1 -0
  583. package/dist/core/p-84526c3e.entry.js +2 -0
  584. package/dist/core/p-84526c3e.entry.js.map +1 -0
  585. package/dist/core/p-93c23a35.entry.js +2 -0
  586. package/dist/core/p-93c23a35.entry.js.map +1 -0
  587. package/dist/core/p-9dba6823.entry.js +2 -0
  588. package/dist/core/p-9dba6823.entry.js.map +1 -0
  589. package/dist/core/p-aa0619ce.entry.js +2 -0
  590. package/dist/core/p-aa0619ce.entry.js.map +1 -0
  591. package/dist/core/p-aab2c7aa.entry.js +2 -0
  592. package/dist/core/p-aab2c7aa.entry.js.map +1 -0
  593. package/dist/core/p-af20322c.entry.js +2 -0
  594. package/dist/core/p-af20322c.entry.js.map +1 -0
  595. package/dist/core/{p-6fae7e1f.entry.js → p-b01ffa55.entry.js} +2 -2
  596. package/dist/core/p-b01ffa55.entry.js.map +1 -0
  597. package/dist/core/p-bf1f0ac7.entry.js +2 -0
  598. package/dist/core/p-bf1f0ac7.entry.js.map +1 -0
  599. package/dist/core/{p-9df32798.entry.js → p-c06a3b97.entry.js} +2 -2
  600. package/dist/core/p-c06a3b97.entry.js.map +1 -0
  601. package/dist/core/p-c86d48b6.entry.js +2 -0
  602. package/dist/core/p-c86d48b6.entry.js.map +1 -0
  603. package/dist/core/p-cbcd4427.entry.js +2 -0
  604. package/dist/core/p-cbcd4427.entry.js.map +1 -0
  605. package/dist/core/p-d1c9c32b.entry.js +2 -0
  606. package/dist/core/p-d1c9c32b.entry.js.map +1 -0
  607. package/dist/core/p-d2f89cb5.entry.js +2 -0
  608. package/dist/core/p-d2f89cb5.entry.js.map +1 -0
  609. package/dist/core/p-d2f8e03f.entry.js +2 -0
  610. package/dist/core/p-d2f8e03f.entry.js.map +1 -0
  611. package/dist/core/p-d58a10ec.entry.js +2 -0
  612. package/dist/core/p-d58a10ec.entry.js.map +1 -0
  613. package/dist/core/p-d8870804.entry.js +2 -0
  614. package/dist/core/p-d8870804.entry.js.map +1 -0
  615. package/dist/core/p-da14cd3c.entry.js +2 -0
  616. package/dist/core/p-da14cd3c.entry.js.map +1 -0
  617. package/dist/core/p-dc83a0e9.entry.js +2 -0
  618. package/dist/core/p-dc83a0e9.entry.js.map +1 -0
  619. package/dist/core/p-de3a5423.entry.js +2 -0
  620. package/dist/core/p-de3a5423.entry.js.map +1 -0
  621. package/dist/core/p-e3ed9110.entry.js +2 -0
  622. package/dist/core/p-e3ed9110.entry.js.map +1 -0
  623. package/dist/core/p-e4b276b5.entry.js +2 -0
  624. package/dist/core/p-e4b276b5.entry.js.map +1 -0
  625. package/dist/core/p-e53309b0.entry.js +2 -0
  626. package/dist/core/p-e53309b0.entry.js.map +1 -0
  627. package/dist/core/p-f30f3a3e.entry.js +2 -0
  628. package/dist/core/p-f30f3a3e.entry.js.map +1 -0
  629. package/dist/core/p-f38bce8d.entry.js +2 -0
  630. package/dist/core/p-f38bce8d.entry.js.map +1 -0
  631. package/dist/core/p-f828a6e1.entry.js +2 -0
  632. package/dist/core/p-f828a6e1.entry.js.map +1 -0
  633. package/dist/core/p-fa1b7a80.entry.js +2 -0
  634. package/dist/core/p-fa1b7a80.entry.js.map +1 -0
  635. package/dist/core/p-fa587e6d.entry.js +2 -0
  636. package/dist/core/p-fa587e6d.entry.js.map +1 -0
  637. package/dist/esm/core.js +1 -1
  638. package/dist/esm/{helpers-3905ccc4.js → helpers-1c9151ef.js} +14 -3
  639. package/dist/esm/helpers-1c9151ef.js.map +1 -0
  640. package/dist/esm/ic-accordion-group.entry.js +9 -10
  641. package/dist/esm/ic-accordion-group.entry.js.map +1 -1
  642. package/dist/esm/ic-accordion.entry.js +5 -6
  643. package/dist/esm/ic-accordion.entry.js.map +1 -1
  644. package/dist/esm/ic-alert.entry.js +2 -5
  645. package/dist/esm/ic-alert.entry.js.map +1 -1
  646. package/dist/esm/ic-back-to-top.entry.js +12 -16
  647. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  648. package/dist/esm/ic-badge.entry.js +22 -51
  649. package/dist/esm/ic-badge.entry.js.map +1 -1
  650. package/dist/esm/ic-breadcrumb-group.entry.js +26 -14
  651. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  652. package/dist/esm/ic-breadcrumb.entry.js +8 -7
  653. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  654. package/dist/esm/ic-button_3.entry.js +49 -40
  655. package/dist/esm/ic-button_3.entry.js.map +1 -1
  656. package/dist/esm/ic-card-vertical.entry.js +145 -0
  657. package/dist/esm/ic-card-vertical.entry.js.map +1 -0
  658. package/dist/esm/ic-checkbox-group.entry.js +7 -7
  659. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  660. package/dist/esm/ic-checkbox.entry.js +6 -16
  661. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  662. package/dist/esm/ic-chip.entry.js +23 -24
  663. package/dist/esm/ic-chip.entry.js.map +1 -1
  664. package/dist/esm/ic-classification-banner.entry.js +2 -2
  665. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  666. package/dist/esm/ic-data-list.entry.js +28 -0
  667. package/dist/esm/ic-data-list.entry.js.map +1 -0
  668. package/dist/esm/ic-data-row.entry.js +12 -12
  669. package/dist/esm/ic-data-row.entry.js.map +1 -1
  670. package/dist/esm/ic-dialog.entry.js +12 -98
  671. package/dist/esm/ic-dialog.entry.js.map +1 -1
  672. package/dist/esm/ic-divider.entry.js +2 -3
  673. package/dist/esm/ic-divider.entry.js.map +1 -1
  674. package/dist/esm/ic-empty-state.entry.js +7 -8
  675. package/dist/esm/ic-empty-state.entry.js.map +1 -1
  676. package/dist/esm/ic-footer-link-group.entry.js +9 -10
  677. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  678. package/dist/esm/ic-footer-link.entry.js +6 -8
  679. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  680. package/dist/esm/ic-footer.entry.js +8 -9
  681. package/dist/esm/ic-footer.entry.js.map +1 -1
  682. package/dist/esm/ic-hero.entry.js +9 -11
  683. package/dist/esm/ic-hero.entry.js.map +1 -1
  684. package/dist/esm/ic-horizontal-scroll.entry.js +5 -6
  685. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  686. package/dist/esm/ic-input-component-container_3.entry.js +20 -26
  687. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  688. package/dist/esm/ic-input-label_2.entry.js +11 -13
  689. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  690. package/dist/esm/ic-link.entry.js +20 -11
  691. package/dist/esm/ic-link.entry.js.map +1 -1
  692. package/dist/esm/ic-menu-group.entry.js +2 -3
  693. package/dist/esm/ic-menu-group.entry.js.map +1 -1
  694. package/dist/esm/ic-menu-item.entry.js +3 -4
  695. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  696. package/dist/esm/ic-navigation-button.entry.js +2 -3
  697. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  698. package/dist/esm/ic-navigation-group.entry.js +9 -10
  699. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  700. package/dist/esm/ic-navigation-item.entry.js +6 -7
  701. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  702. package/dist/esm/ic-navigation-menu.entry.js +3 -4
  703. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  704. package/dist/esm/ic-page-header.entry.js +8 -10
  705. package/dist/esm/ic-page-header.entry.js.map +1 -1
  706. package/dist/esm/ic-pagination-item.entry.js +2 -3
  707. package/dist/esm/ic-pagination-item.entry.js.map +1 -1
  708. package/dist/esm/ic-pagination.entry.js +33 -32
  709. package/dist/esm/ic-pagination.entry.js.map +1 -1
  710. package/dist/esm/ic-popover-menu.entry.js +3 -4
  711. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  712. package/dist/esm/ic-radio-group.entry.js +11 -13
  713. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  714. package/dist/esm/ic-radio-option.entry.js +5 -19
  715. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  716. package/dist/esm/ic-search-bar.entry.js +19 -26
  717. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  718. package/dist/esm/ic-select.entry.js +14 -23
  719. package/dist/esm/ic-select.entry.js.map +1 -1
  720. package/dist/esm/ic-side-navigation.entry.js +7 -8
  721. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  722. package/dist/esm/ic-skeleton.entry.js +5 -6
  723. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  724. package/dist/esm/ic-status-tag.entry.js +6 -15
  725. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  726. package/dist/esm/ic-step.entry.js +41 -46
  727. package/dist/esm/ic-step.entry.js.map +1 -1
  728. package/dist/esm/ic-stepper.entry.js +27 -18
  729. package/dist/esm/ic-stepper.entry.js.map +1 -1
  730. package/dist/esm/ic-switch.entry.js +7 -9
  731. package/dist/esm/ic-switch.entry.js.map +1 -1
  732. package/dist/esm/ic-tab-context.entry.js +34 -28
  733. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  734. package/dist/esm/ic-tab-group.entry.js +25 -11
  735. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  736. package/dist/esm/ic-tab-panel.entry.js +12 -11
  737. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  738. package/dist/esm/ic-tab.entry.js +10 -9
  739. package/dist/esm/ic-tab.entry.js.map +1 -1
  740. package/dist/esm/ic-text-field.entry.js +50 -52
  741. package/dist/esm/ic-text-field.entry.js.map +1 -1
  742. package/dist/esm/ic-theme.entry.js +27 -4
  743. package/dist/esm/ic-theme.entry.js.map +1 -1
  744. package/dist/esm/ic-toast-region.entry.js +0 -7
  745. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  746. package/dist/esm/ic-toast.entry.js +83 -36
  747. package/dist/esm/ic-toast.entry.js.map +1 -1
  748. package/dist/esm/ic-toggle-button-group.entry.js +17 -17
  749. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
  750. package/dist/esm/ic-toggle-button.entry.js +14 -15
  751. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  752. package/dist/esm/ic-top-navigation.entry.js +7 -8
  753. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  754. package/dist/esm/ic-typography.entry.js +9 -8
  755. package/dist/esm/ic-typography.entry.js.map +1 -1
  756. package/dist/esm/index-d1d2c456.js +12 -12
  757. package/dist/esm/loader.js +1 -1
  758. package/dist/types/components/ic-accordion-group/ic-accordion-group.d.ts +2 -2
  759. package/dist/types/components/ic-alert/ic-alert.d.ts +0 -4
  760. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +0 -1
  761. package/dist/types/components/ic-badge/ic-badge.d.ts +8 -15
  762. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +9 -5
  763. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +13 -7
  764. package/dist/types/components/ic-button/ic-button.d.ts +0 -1
  765. package/dist/types/components/{ic-card/ic-card.d.ts → ic-card-vertical/ic-card-vertical.d.ts} +2 -2
  766. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +0 -28
  767. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +0 -4
  768. package/dist/types/components/ic-chip/ic-chip.d.ts +8 -11
  769. package/dist/types/components/ic-data-list/ic-data-list.d.ts +20 -0
  770. package/dist/types/components/ic-data-row/ic-data-row.d.ts +4 -4
  771. package/dist/types/components/ic-dialog/ic-dialog.d.ts +1 -37
  772. package/dist/types/components/ic-empty-state/ic-empty-state.d.ts +1 -1
  773. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +1 -1
  774. package/dist/types/components/ic-hero/ic-hero.d.ts +2 -6
  775. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +0 -8
  776. package/dist/types/components/ic-input-label/ic-input-label.d.ts +4 -8
  777. package/dist/types/components/ic-link/ic-link.d.ts +9 -9
  778. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +12 -8
  779. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +1 -1
  780. package/dist/types/components/ic-menu/ic-menu.d.ts +0 -4
  781. package/dist/types/components/ic-page-header/ic-page-header.d.ts +0 -4
  782. package/dist/types/components/ic-pagination/ic-pagination.d.ts +4 -4
  783. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +0 -4
  784. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +0 -24
  785. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +3 -15
  786. package/dist/types/components/ic-select/ic-select.d.ts +1 -31
  787. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +1 -1
  788. package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +3 -6
  789. package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +5 -10
  790. package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +0 -1
  791. package/dist/types/components/ic-step/ic-step.d.ts +11 -6
  792. package/dist/types/components/ic-stepper/ic-stepper.d.ts +6 -4
  793. package/dist/types/components/ic-stepper/test/basic/ic-stepper-test-examples.d.ts +4 -4
  794. package/dist/types/components/ic-switch/ic-switch.d.ts +0 -4
  795. package/dist/types/components/ic-tab/ic-tab.d.ts +5 -3
  796. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +11 -11
  797. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +9 -10
  798. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +13 -7
  799. package/dist/types/components/ic-text-field/ic-text-field.d.ts +7 -16
  800. package/dist/types/components/ic-theme/ic-theme.d.ts +7 -0
  801. package/dist/types/components/ic-toast/ic-toast.d.ts +8 -1
  802. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +0 -5
  803. package/dist/types/components/ic-toggle-button/ic-toggle-button.d.ts +1 -1
  804. package/dist/types/components/ic-toggle-button-group/ic-toggle-button-group.types.d.ts +1 -1
  805. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +5 -0
  806. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +1 -1
  807. package/dist/types/components/ic-typography/ic-typography.d.ts +5 -1
  808. package/dist/types/components.d.ts +264 -562
  809. package/dist/types/utils/types.d.ts +4 -3
  810. package/hydrate/index.js +826 -887
  811. package/package.json +2 -2
  812. package/vscode-data.json +298 -347
  813. package/dist/cjs/helpers-94b33ab0.js.map +0 -1
  814. package/dist/cjs/ic-card.cjs.entry.js +0 -150
  815. package/dist/cjs/ic-card.cjs.entry.js.map +0 -1
  816. package/dist/cjs/ic-data-entity.cjs.entry.js +0 -29
  817. package/dist/cjs/ic-data-entity.cjs.entry.js.map +0 -1
  818. package/dist/cjs/types-dc22e301.js +0 -16
  819. package/dist/cjs/types-dc22e301.js.map +0 -1
  820. package/dist/collection/components/ic-card/ic-card.js.map +0 -1
  821. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +0 -1
  822. package/dist/collection/components/ic-chip/ic-chip.types.js +0 -2
  823. package/dist/collection/components/ic-chip/ic-chip.types.js.map +0 -1
  824. package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +0 -1
  825. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +0 -1
  826. package/dist/components/ic-alert2.js +0 -139
  827. package/dist/components/ic-alert2.js.map +0 -1
  828. package/dist/components/ic-card.js.map +0 -1
  829. package/dist/components/ic-data-entity.js +0 -53
  830. package/dist/components/ic-data-entity.js.map +0 -1
  831. package/dist/components/types.js +0 -16
  832. package/dist/components/types.js.map +0 -1
  833. package/dist/core/p-02262e76.entry.js +0 -2
  834. package/dist/core/p-02262e76.entry.js.map +0 -1
  835. package/dist/core/p-03f23a55.entry.js +0 -2
  836. package/dist/core/p-03f23a55.entry.js.map +0 -1
  837. package/dist/core/p-0432d31a.entry.js +0 -2
  838. package/dist/core/p-0432d31a.entry.js.map +0 -1
  839. package/dist/core/p-093600a2.entry.js +0 -2
  840. package/dist/core/p-093600a2.entry.js.map +0 -1
  841. package/dist/core/p-13a6e7ea.entry.js +0 -2
  842. package/dist/core/p-13a6e7ea.entry.js.map +0 -1
  843. package/dist/core/p-13ec2a00.entry.js +0 -2
  844. package/dist/core/p-13ec2a00.entry.js.map +0 -1
  845. package/dist/core/p-1ae6aadb.entry.js +0 -2
  846. package/dist/core/p-1ae6aadb.entry.js.map +0 -1
  847. package/dist/core/p-1d648b98.entry.js +0 -2
  848. package/dist/core/p-1d648b98.entry.js.map +0 -1
  849. package/dist/core/p-1d6e6ebe.entry.js +0 -2
  850. package/dist/core/p-1d6e6ebe.entry.js.map +0 -1
  851. package/dist/core/p-223889da.entry.js +0 -2
  852. package/dist/core/p-230187a8.entry.js +0 -2
  853. package/dist/core/p-230187a8.entry.js.map +0 -1
  854. package/dist/core/p-26b7b18f.js +0 -2
  855. package/dist/core/p-26b7b18f.js.map +0 -1
  856. package/dist/core/p-2889cc17.entry.js +0 -2
  857. package/dist/core/p-2889cc17.entry.js.map +0 -1
  858. package/dist/core/p-2d930c9c.entry.js +0 -2
  859. package/dist/core/p-2d930c9c.entry.js.map +0 -1
  860. package/dist/core/p-3969d3c0.entry.js.map +0 -1
  861. package/dist/core/p-3af60dee.entry.js +0 -2
  862. package/dist/core/p-3af60dee.entry.js.map +0 -1
  863. package/dist/core/p-3b4c9571.entry.js +0 -2
  864. package/dist/core/p-3b4c9571.entry.js.map +0 -1
  865. package/dist/core/p-3eda4e14.entry.js.map +0 -1
  866. package/dist/core/p-3f2d4108.entry.js +0 -2
  867. package/dist/core/p-3f2d4108.entry.js.map +0 -1
  868. package/dist/core/p-457a4c63.entry.js +0 -2
  869. package/dist/core/p-457a4c63.entry.js.map +0 -1
  870. package/dist/core/p-4b89890b.entry.js +0 -2
  871. package/dist/core/p-4b89890b.entry.js.map +0 -1
  872. package/dist/core/p-4f0e9434.entry.js +0 -2
  873. package/dist/core/p-4f0e9434.entry.js.map +0 -1
  874. package/dist/core/p-55b11f6f.entry.js +0 -2
  875. package/dist/core/p-55b11f6f.entry.js.map +0 -1
  876. package/dist/core/p-5ccd3703.entry.js +0 -2
  877. package/dist/core/p-5ccd3703.entry.js.map +0 -1
  878. package/dist/core/p-604e72ac.entry.js +0 -2
  879. package/dist/core/p-604e72ac.entry.js.map +0 -1
  880. package/dist/core/p-60f7f555.entry.js +0 -2
  881. package/dist/core/p-60f7f555.entry.js.map +0 -1
  882. package/dist/core/p-69576aa0.entry.js +0 -2
  883. package/dist/core/p-69576aa0.entry.js.map +0 -1
  884. package/dist/core/p-6fae7e1f.entry.js.map +0 -1
  885. package/dist/core/p-72b0a5be.entry.js +0 -2
  886. package/dist/core/p-72b0a5be.entry.js.map +0 -1
  887. package/dist/core/p-72b350bc.entry.js +0 -2
  888. package/dist/core/p-72b350bc.entry.js.map +0 -1
  889. package/dist/core/p-7438ab1f.entry.js.map +0 -1
  890. package/dist/core/p-78605899.entry.js +0 -2
  891. package/dist/core/p-78605899.entry.js.map +0 -1
  892. package/dist/core/p-7c2b59fe.entry.js +0 -2
  893. package/dist/core/p-7c2b59fe.entry.js.map +0 -1
  894. package/dist/core/p-836e71de.entry.js +0 -2
  895. package/dist/core/p-836e71de.entry.js.map +0 -1
  896. package/dist/core/p-843ed766.entry.js +0 -2
  897. package/dist/core/p-843ed766.entry.js.map +0 -1
  898. package/dist/core/p-8a8bf98c.entry.js +0 -2
  899. package/dist/core/p-8a8bf98c.entry.js.map +0 -1
  900. package/dist/core/p-8c325d9b.entry.js +0 -2
  901. package/dist/core/p-8c325d9b.entry.js.map +0 -1
  902. package/dist/core/p-936ab032.entry.js +0 -2
  903. package/dist/core/p-936ab032.entry.js.map +0 -1
  904. package/dist/core/p-96505636.entry.js +0 -2
  905. package/dist/core/p-96505636.entry.js.map +0 -1
  906. package/dist/core/p-9c9ba3cd.entry.js +0 -2
  907. package/dist/core/p-9c9ba3cd.entry.js.map +0 -1
  908. package/dist/core/p-9df32798.entry.js.map +0 -1
  909. package/dist/core/p-a6ff78aa.entry.js +0 -2
  910. package/dist/core/p-a6ff78aa.entry.js.map +0 -1
  911. package/dist/core/p-a75f3c4d.entry.js +0 -2
  912. package/dist/core/p-a75f3c4d.entry.js.map +0 -1
  913. package/dist/core/p-aeb001d7.entry.js +0 -2
  914. package/dist/core/p-aeb001d7.entry.js.map +0 -1
  915. package/dist/core/p-b1879a44.entry.js +0 -2
  916. package/dist/core/p-b1879a44.entry.js.map +0 -1
  917. package/dist/core/p-b47021d8.entry.js +0 -2
  918. package/dist/core/p-b47021d8.entry.js.map +0 -1
  919. package/dist/core/p-bb4b7dcb.entry.js +0 -2
  920. package/dist/core/p-bb4b7dcb.entry.js.map +0 -1
  921. package/dist/core/p-bb963aa4.entry.js +0 -2
  922. package/dist/core/p-bb963aa4.entry.js.map +0 -1
  923. package/dist/core/p-be5d5f93.entry.js +0 -2
  924. package/dist/core/p-be5d5f93.entry.js.map +0 -1
  925. package/dist/core/p-c1d5e7f2.entry.js +0 -2
  926. package/dist/core/p-c1d5e7f2.entry.js.map +0 -1
  927. package/dist/core/p-d3750771.entry.js +0 -2
  928. package/dist/core/p-d3750771.entry.js.map +0 -1
  929. package/dist/core/p-dbc0f5da.entry.js +0 -2
  930. package/dist/core/p-dbc0f5da.entry.js.map +0 -1
  931. package/dist/core/p-dd4ef67f.entry.js +0 -2
  932. package/dist/core/p-dd4ef67f.entry.js.map +0 -1
  933. package/dist/core/p-dd9d8e68.entry.js +0 -2
  934. package/dist/core/p-dd9d8e68.entry.js.map +0 -1
  935. package/dist/core/p-def5ba6b.entry.js +0 -2
  936. package/dist/core/p-def5ba6b.entry.js.map +0 -1
  937. package/dist/core/p-e6bad80b.entry.js +0 -2
  938. package/dist/core/p-e6bad80b.entry.js.map +0 -1
  939. package/dist/core/p-e7fa6804.entry.js +0 -2
  940. package/dist/core/p-e7fa6804.entry.js.map +0 -1
  941. package/dist/core/p-e8fa0095.entry.js +0 -2
  942. package/dist/core/p-e8fa0095.entry.js.map +0 -1
  943. package/dist/core/p-ee1c9f20.entry.js +0 -2
  944. package/dist/core/p-ee1c9f20.entry.js.map +0 -1
  945. package/dist/core/p-fef9e8c9.js +0 -2
  946. package/dist/core/p-fef9e8c9.js.map +0 -1
  947. package/dist/esm/helpers-3905ccc4.js.map +0 -1
  948. package/dist/esm/ic-card.entry.js +0 -146
  949. package/dist/esm/ic-card.entry.js.map +0 -1
  950. package/dist/esm/ic-data-entity.entry.js +0 -25
  951. package/dist/esm/ic-data-entity.entry.js.map +0 -1
  952. package/dist/esm/types-6f6b41a5.js +0 -16
  953. package/dist/esm/types-6f6b41a5.js.map +0 -1
  954. package/dist/types/components/ic-chip/ic-chip.types.d.ts +0 -1
  955. package/dist/types/components/ic-data-entity/ic-data-entity.d.ts +0 -20
@@ -1 +1 @@
1
- {"file":"ic-dialog.js","mappings":";;;;;;;;;AAAA,MAAM,WAAW,GAAG,q7JAAq7J;;MCgC57J,MAAM;;;;;;;;;QAGT,oBAA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AC,mBAAmB,GAAG,IAAI,CAAC,sBAAsB,CAAC,MAAM,GAAG,CAAC,CAAC;SACnE;KACF;IAEO,4BAA4B,CAAC,QAAiB;QACpD,IAAI,QAAQ,EAAE;YACZ,IAAI,CAAC,mBAAmB,IAAI,CAAC,CAAC;SAC/B;aAAM;YACL,IAAI,CAAC,mBAAmB,IAAI,CAAC,CAAC;SAC/B;KACF;IA+GD,MAAM;QACJ,QACE,EAAC,IAAI,IACH,KAAK,EAAE;gBACL,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,cAAc;gBAChC,CAAC,SAAS,GAAG,IAAI,CAAC,MAAM;gBACxB,CAAC,2BAA2B,GAAG,IAAI,CAAC,uBAAuB;aAC5D,IAEA,IAAI,CAAC,uBAAuB,IAC3B,WAAK,KAAK,EAAC,UAAU,EAAC,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC,IACtD,IAAI,CAAC,YAAY,EAAE,CAChB,KAEN,IAAI,CAAC,YAAY,EAAE,CACpB,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/ic-dialog/ic-dialog.css?tag=ic-dialog&encapsulation=shadow","src/components/ic-dialog/ic-dialog.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n/**\n * @prop --ic-z-index-dialog: z-index of dialog \n */\n\n:host {\n position: fixed;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 100% !important;\n background: rgb(0 0 0 / 60%);\n z-index: var(--ic-z-index-dialog);\n opacity: 0;\n}\n\n:host(.fade-in) {\n opacity: 1;\n}\n\n:host(.disable-height-constraint) {\n background: none;\n justify-content: unset;\n align-items: unset;\n}\n\n.dialog.disable-height-constraint {\n max-height: none;\n position: relative;\n}\n\n.dialog.disable-height-constraint .content-area {\n overflow-y: visible;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n :host {\n transition: opacity var(--ic-easing-transition-slow);\n }\n\n .dialog {\n transform: translateY(-3rem);\n transition: transform 1000s;\n }\n\n :host(.fade-in) .dialog {\n transform: translateY(0);\n transition: transform var(--ic-easing-transition-slow);\n }\n}\n\n:host(.hidden) {\n display: none;\n}\n\n.dialog {\n background-color: var(--ic-architectural-white);\n color: var(--ic-architectural-black);\n border: var(--ic-border-default);\n border-radius: var(--ic-border-radius);\n padding: var(--ic-space-xs) 0 var(--ic-space-md);\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n overflow-x: visible;\n}\n\n.small {\n width: 50%;\n max-width: 25rem;\n min-height: 11rem;\n max-height: 70vh;\n}\n\n.medium {\n width: 70vw;\n max-width: 44rem;\n min-height: 12.5rem;\n max-height: 70vh;\n}\n\n.large {\n width: 90vw;\n max-width: 62.5rem;\n min-height: 12.5rem;\n max-height: 90vh;\n}\n\n.heading-area {\n display: flex;\n margin-bottom: var(--ic-space-xs);\n padding: 0 var(--ic-space-md);\n}\n\n.heading {\n overflow-wrap: break-word;\n}\n\n.close-icon {\n margin-left: auto;\n}\n\n.content-area {\n -ms-overflow-style: none;\n scrollbar-width: none;\n padding: 0 var(--ic-space-md);\n margin: 0;\n overflow-y: auto;\n}\n\n.content-area::-webkit-scrollbar {\n display: none;\n}\n\n#dialog-content {\n margin-bottom: var(--ic-space-sm);\n}\n\n#dialog-content ::slotted(ic-typography) {\n overflow-wrap: break-word;\n}\n\n#dialog-content ::slotted(*) {\n position: relative;\n}\n\n.status-alert {\n margin-bottom: var(--ic-space-xs);\n}\n\n.dialog-controls {\n margin-top: auto;\n padding: var(--ic-space-xs) var(--ic-space-md) 0;\n display: flex;\n justify-content: flex-end;\n gap: var(--ic-space-md);\n}\n\n.dialog-control-button {\n width: fit-content;\n}\n\n.backdrop {\n overflow-y: auto;\n position: fixed;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgb(0 0 0 / 60%);\n z-index: var(--ic-z-index-dialog);\n padding-top: 16px;\n padding-bottom: 16px;\n}\n\n@media (min-width: 800px) {\n :host([size=\"large\"]) .dialog:not(.disable-width-constraint) > .content-area {\n width: 75%;\n }\n}\n\n@media (max-width: 576px) {\n .dialog {\n width: 100vw;\n height: 100vh;\n transform: translateY(-5rem);\n max-width: none;\n max-height: none;\n box-sizing: border-box;\n }\n\n .backdrop {\n padding: 0;\n }\n\n .dialog.disable-height-constraint {\n height: auto;\n min-height: 100vh;\n }\n}\n\n@media (max-width: 364px) {\n .triple-button {\n flex-direction: column;\n gap: var(--ic-space-xs);\n }\n\n .dialog-control-button {\n width: unset;\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n Prop,\n State,\n Method,\n Listen,\n Watch,\n h,\n} from \"@stencil/core\";\nimport closeIcon from \"../../assets/close-icon.svg\";\nimport {\n isSlotUsed,\n checkResizeObserver,\n isPropDefined,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\n\n/**\n * @slot dialog-controls - Content will be place at the bottom of the dialog.\n * @slot heading - Content will be placed at the top of the dialog.\n * @slot label - Content will be placed above the dialog heading.\n * @slot alert - Content will be placed at the top of the content area of the dialog.\n */\n@Component({\n tag: \"ic-dialog\",\n styleUrl: \"ic-dialog.css\",\n shadow: true,\n})\nexport class Dialog {\n private backdropEl: HTMLDivElement;\n private contentArea: HTMLSlotElement;\n private DATA_GETS_FOCUS: string = \"data-gets-focus\";\n private DATA_GETS_FOCUS_SELECTOR: string = \"[data-gets-focus]\";\n private DIALOG_CONTROLS: string = \"dialog-controls\";\n private dialogEl: HTMLDialogElement;\n private dialogHeight: number = 0;\n private focusedElementIndex = 0;\n private IC_TEXT_FIELD: string = \"IC-TEXT-FIELD\";\n private IC_ACCORDION: string = \"IC-ACCORDION\";\n private IC_ACCORDION_GROUP: string = \"IC-ACCORDION-GROUP\";\n private interactiveElementList: HTMLElement[];\n private resizeObserver: ResizeObserver = null;\n private resizeTimeout: number;\n private sourceElement: HTMLElement;\n\n /* eslint-disable */\n\n private buttonOnclick0: Function;\n private buttonOnclick1: Function;\n private buttonOnclick2: Function;\n\n /* eslint-enable */\n\n @Element() el: HTMLIcDialogElement;\n\n @State() dialogRendered: boolean = false;\n @State() fadeIn: boolean = false;\n\n /**\n * @deprecated This prop should not be used anymore. Use an ic-alert/IcAlert component within an alert slot with a heading instead.\n */\n @Prop() alertHeading?: string;\n\n /**\n * @deprecated This prop should not be used anymore. Use an ic-alert/IcAlert component within an alert slot with a message instead.\n */\n @Prop() alertMessage?: string;\n\n /**\n * If set to `false`, dialog controls will not be displayed overriding buttonProps or slotted dialog controls.\n */\n @Prop() buttons?: boolean = true;\n\n /**\n * If set to `false`, the dialog will not close when the backdrop is clicked.\n */\n @Prop() closeOnBackdropClick?: boolean = true;\n\n /**\n * If default buttons are displayed, sets the 'primary' or rightmost button to the destructive variant. Stops initial focus being set on the 'primary' or rightmost default or slotted button.\n */\n @Prop() destructive?: boolean = false;\n\n /**\n * Sets the dismiss label tooltip and aria label.\n */\n @Prop() dismissLabel?: string = \"Dismiss\";\n\n /**\n * If set to `true`, the content area max height and overflow properties are removed allowing the dialog to stretch below the fold.\n * This prop also prevents popover elements from being cut off within the content area.\n */\n @Prop() disableHeightConstraint?: boolean = false;\n\n /**\n * If set to `true`, the content area width property is removed, allowing content to take the full width of the dialog when using the large variant.\n */\n @Prop() disableWidthConstraint?: boolean = false;\n\n /**\n * If `true`, the close button will not be displayed.\n */\n @Prop() hideCloseButton?: boolean = false;\n\n /**\n * Sets the heading for the dialog.\n */\n @Prop() heading: string;\n\n /**\n * Sets the optional label for the dialog which appears above the heading.\n */\n @Prop() label?: string;\n\n /**\n * If `true`, the dialog will be displayed.\n */\n @Prop({ reflect: true, mutable: true }) open: boolean = undefined;\n\n @Watch(\"open\")\n watchOpenHandler(): void {\n if (this.open) {\n this.dialogOpened();\n } else {\n this.fadeIn = false;\n if (this.resizeObserver !== null) {\n this.resizeObserver.disconnect();\n }\n setTimeout(() => {\n this.dialogRendered = false;\n this.dialogEl.close();\n this.sourceElement?.focus();\n this.dialogHeight = 0;\n this.icDialogClosed.emit();\n }, 80);\n }\n }\n\n /**\n * Sets the maximum and minimum height and width for the dialog.\n */\n @Prop() size?: \"small\" | \"medium\" | \"large\" = \"small\";\n\n /**\n * @deprecated This prop should not be used anymore. Use an ic-alert/IcAlert component within an alert slot with a variant instead.\n */\n @Prop() status?: \"neutral\" | \"info\" | \"warning\" | \"error\" | \"success\";\n\n /**\n * Sets the label and onclick functions for default buttons.\n */\n @Prop() buttonProps?: { label: string; onclick: string }[] = [\n {\n label: \"Cancel\",\n onclick: \"this.cancelDialog();\",\n },\n { label: \"Confirm\", onclick: \"this.confirmDialog();\" },\n ];\n\n @Watch(\"buttonProps\")\n watchPropHandler(): void {\n this.setButtonOnClick();\n }\n\n /**\n * Cancelation event emitted when default 'Cancel' button clicked or 'cancelDialog' method is called.\n */\n @Event() icDialogCancelled: EventEmitter<void>;\n\n /**\n * Emitted when dialog has closed.\n */\n @Event() icDialogClosed: EventEmitter<void>;\n\n /**\n * Confirmation event emitted when default 'Confirm' primary button clicked or 'confirmDialog' method is called.\n */\n @Event() icDialogConfirmed: EventEmitter<void>;\n\n /**\n * Emitted when dialog has opened.\n */\n @Event() icDialogOpened: EventEmitter<void>;\n\n disconnectedCallback(): void {\n this.removeSlotChangeListener();\n }\n\n componentWillLoad(): void {\n if (this.buttonProps.length) {\n this.setButtonOnClick();\n }\n }\n\n componentDidLoad(): void {\n this.getInteractiveElements();\n this.setAlertVariant();\n\n this.refreshInteractiveElementsOnSlotChange();\n\n if (this.open) {\n this.dialogOpened();\n }\n\n !isSlotUsed(this.el, \"heading\") &&\n onComponentRequiredPropUndefined(\n [{ prop: this.heading, propName: \"heading\" }],\n \"Dialog\"\n );\n }\n\n componentDidRender(): void {\n if (\n getComputedStyle(this.el).display !== \"none\" &&\n this.disableHeightConstraint\n ) {\n document.body.style.overflow = \"hidden\";\n } else {\n document.body.style.overflow = \"auto\";\n }\n }\n\n @Listen(\"keydown\", { target: \"document\" })\n handleKeyboard(ev: KeyboardEvent): void {\n if (this.dialogRendered) {\n switch (ev.key) {\n case \"Tab\":\n ev.preventDefault();\n this.focusNextInteractiveElement(ev.shiftKey);\n break;\n case \"Escape\":\n if (!ev.repeat) {\n this.open = false;\n }\n ev.stopImmediatePropagation();\n break;\n }\n }\n }\n\n @Listen(\"click\", {})\n handleClick(ev: MouseEvent): void {\n const dialogElement = this.el.shadowRoot.querySelector(\"dialog\");\n if (\n this.closeOnBackdropClick &&\n ev.composedPath().indexOf(dialogElement) <= 0\n ) {\n const rect = this.dialogEl.getBoundingClientRect();\n const isInDialog =\n rect.top <= ev.clientY &&\n ev.clientY <= rect.top + rect.height &&\n rect.left <= ev.clientX &&\n ev.clientX <= rect.left + rect.width;\n if (!isInDialog) {\n this.open = false;\n }\n }\n }\n\n /**\n * @deprecated This method should not be used anymore. Use open prop to set dialog visibility.\n */\n @Method()\n async showDialog(): Promise<void> {\n this.open = true;\n }\n\n /**\n * @deprecated This method should not be used anymore. Use open prop to set dialog visibility.\n */\n @Method()\n async hideDialog(): Promise<void> {\n this.open = false;\n }\n\n /**\n * Cancels the dialog. Used by the default 'Cancel' button or can be called manually to trigger cancelling of dialog.\n */\n @Method()\n async cancelDialog(): Promise<void> {\n this.icDialogCancelled.emit();\n this.open = false;\n }\n\n /**\n * Confirms the dialog. Used by the default 'Confirm' button or can be called manually to trigger confirming of dialog.\n */\n @Method()\n async confirmDialog(): Promise<void> {\n this.icDialogConfirmed.emit();\n }\n\n private dialogOpened = () => {\n this.dialogRendered = true;\n\n if (this.disableHeightConstraint) {\n this.dialogEl.show();\n } else {\n this.dialogEl?.showModal();\n }\n\n setTimeout(() => {\n this.fadeIn = true;\n\n /**\n * This is required to set scroll back to top if:\n * - dialog content goes below the fold\n * - is closed using cancel or confirm and reopened.\n *\n * Without this, the scroll bar will start from the dialog's last scroll-x coordinate.\n */\n if (this.disableHeightConstraint && this.backdropEl.scrollTop !== 0) {\n this.backdropEl.scrollTop = 0;\n }\n }, 10);\n\n setTimeout(() => {\n this.setInitialFocus();\n checkResizeObserver(this.runResizeObserver);\n }, 75);\n\n setTimeout(() => {\n this.getFocusedElementIndex();\n this.icDialogOpened.emit();\n }, 80);\n };\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n clearTimeout(this.resizeTimeout);\n this.resizeTimeout = window.setTimeout(this.resizeObserverCallback, 80);\n });\n this.resizeObserver.observe(this.dialogEl);\n };\n\n private resizeObserverCallback = () => {\n if (this.dialogEl.clientHeight !== this.dialogHeight) {\n this.dialogHeight = this.dialogEl.clientHeight;\n }\n };\n\n private refreshInteractiveElementsOnSlotChange = () => {\n this.contentArea = this.el.shadowRoot.querySelector(\"#dialog-content slot\");\n\n this.contentArea.addEventListener(\n \"slotchange\",\n this.getInteractiveElements\n );\n };\n\n private removeSlotChangeListener = () => {\n if (this.contentArea) {\n this.contentArea.removeEventListener(\n \"slotchange\",\n this.getInteractiveElements\n );\n }\n };\n\n private setInitialFocus = () => {\n this.sourceElement = document.activeElement as HTMLElement;\n\n let focusedElement;\n\n if (this.el.querySelector(this.DATA_GETS_FOCUS_SELECTOR) !== null) {\n focusedElement = this.el.querySelector(\n this.DATA_GETS_FOCUS_SELECTOR\n ) as HTMLElement;\n } else {\n focusedElement = this.el.shadowRoot.querySelector(\n this.DATA_GETS_FOCUS_SELECTOR\n ) as HTMLElement;\n }\n if (focusedElement.tagName === this.IC_TEXT_FIELD) {\n (focusedElement as HTMLIcTextFieldElement).setFocus();\n } else if (focusedElement.tagName === this.IC_ACCORDION_GROUP) {\n (focusedElement as HTMLIcAccordionGroupElement).setFocus();\n } else if (focusedElement.tagName === this.IC_ACCORDION) {\n (focusedElement as HTMLIcAccordionElement).setFocus();\n } else {\n focusedElement.focus({\n preventScroll: this.disableHeightConstraint ? true : false,\n });\n }\n };\n\n private getFocusedElementIndex = () => {\n for (let i = 0; i < this.interactiveElementList.length; i++) {\n if (\n (this.interactiveElementList[i] as HTMLElement) ===\n (this.el.shadowRoot.activeElement || document.activeElement)\n ) {\n this.focusedElementIndex = i;\n }\n }\n };\n\n private setAlertVariant = () => {\n if (isPropDefined(this.status) && this.status !== null) {\n const alert = this.el.shadowRoot.querySelector(\"ic-alert\");\n alert.setAttribute(\"variant\", this.status);\n }\n };\n\n private closeIconClick = () => {\n this.open = false;\n };\n\n private getInteractiveElements = () => {\n this.interactiveElementList = Array.from(\n this.el.shadowRoot.querySelectorAll(\"ic-button\")\n );\n const slottedInteractiveElements = Array.from(\n this.el.querySelectorAll(\n `a[href], button, input:not(.ic-input), textarea, select, details, [tabindex]:not([tabindex=\"-1\"]), \n ic-button, ic-checkbox, ic-select, ic-search-bar, ic-tab-group, ic-radio-group, \n ic-back-to-top, ic-breadcrumb, ic-chip[dismissible=\"true\"], ic-footer-link, ic-link, ic-navigation-button, \n ic-navigation-item, ic-switch, ic-text-field, ic-accordion-group, ic-accordion`\n )\n );\n if (slottedInteractiveElements.length > 0) {\n if (slottedInteractiveElements[0].slot !== this.DIALOG_CONTROLS) {\n slottedInteractiveElements[0].setAttribute(this.DATA_GETS_FOCUS, \"\");\n } else if (!this.destructive) {\n slottedInteractiveElements[\n slottedInteractiveElements.length - 1\n ].setAttribute(this.DATA_GETS_FOCUS, \"\");\n }\n }\n for (let i = 0; i < slottedInteractiveElements.length; i++) {\n this.interactiveElementList.splice(\n 1 + i,\n 0,\n slottedInteractiveElements[i] as HTMLElement\n );\n }\n };\n\n private getNextFocusEl = (focusedElementIndex: number) =>\n this.interactiveElementList[focusedElementIndex];\n\n private focusNextInteractiveElement = (shiftKey: boolean) => {\n this.getFocusedElementIndex();\n this.setFocusIndexBasedOnShiftKey(shiftKey);\n this.loopNextFocusIndexIfLastElement();\n\n let nextFocusEl = this.getNextFocusEl(this.focusedElementIndex);\n\n const isHidden =\n getComputedStyle(nextFocusEl).visibility === \"hidden\" ||\n (nextFocusEl.tagName === this.IC_ACCORDION_GROUP &&\n nextFocusEl.hasAttribute(\"single-expansion\"));\n\n if (nextFocusEl.tagName === this.IC_TEXT_FIELD) {\n (nextFocusEl as HTMLIcTextFieldElement).setFocus();\n } else {\n if (isHidden) {\n this.setFocusIndexBasedOnShiftKey(shiftKey);\n this.loopNextFocusIndexIfLastElement();\n\n nextFocusEl = this.getNextFocusEl(this.focusedElementIndex);\n }\n if (nextFocusEl.tagName === this.IC_ACCORDION_GROUP) {\n (nextFocusEl as HTMLIcAccordionGroupElement).setFocus();\n } else if (nextFocusEl.tagName === this.IC_ACCORDION) {\n (nextFocusEl as HTMLIcAccordionElement).setFocus();\n } else {\n (nextFocusEl as HTMLElement).focus();\n }\n }\n };\n\n private setButtonOnClick = () => {\n if (this.buttons) {\n this.buttonOnclick0 = new Function(this.buttonProps[0]?.onclick);\n this.buttonOnclick1 = new Function(this.buttonProps[1]?.onclick);\n this.buttonOnclick2 = new Function(this.buttonProps[2]?.onclick);\n }\n };\n\n private getButtonOnclick = (index: number) => {\n if (index === 0) {\n return this.buttonOnclick0();\n } else if (index === 1) {\n return this.buttonOnclick1();\n } else {\n return this.buttonOnclick2();\n }\n };\n\n private getButtonVariant = (index: number) => {\n const mainVariant = this.destructive ? \"destructive\" : \"primary\";\n if (this.buttonProps.length === 1) {\n return mainVariant;\n } else if (this.buttonProps.length === 2) {\n if (index === 0) {\n return \"tertiary\";\n } else {\n return mainVariant;\n }\n } else {\n if (index === 2) {\n return mainVariant;\n } else {\n return \"secondary\";\n }\n }\n };\n\n private loopNextFocusIndexIfLastElement() {\n if (this.focusedElementIndex > this.interactiveElementList.length - 1)\n this.focusedElementIndex = 0;\n else if (this.focusedElementIndex < 0) {\n this.focusedElementIndex = this.interactiveElementList.length - 1;\n }\n }\n\n private setFocusIndexBasedOnShiftKey(shiftKey: boolean) {\n if (shiftKey) {\n this.focusedElementIndex -= 1;\n } else {\n this.focusedElementIndex += 1;\n }\n }\n\n private renderDialog = () => {\n const {\n alertHeading,\n alertMessage,\n buttons,\n buttonProps,\n size,\n heading,\n label,\n status,\n destructive,\n dismissLabel,\n hideCloseButton,\n } = this;\n\n return (\n <dialog\n class={{\n [\"dialog\"]: true,\n [`${size}`]: true,\n [\"disable-height-constraint\"]: this.disableHeightConstraint,\n [\"disable-width-constraint\"]: this.disableWidthConstraint,\n }}\n aria-labelledby=\"dialog-label dialog-heading\"\n aria-describedby=\"dialog-alert dialog-content\"\n ref={(el) => (this.dialogEl = el)}\n >\n <div class=\"heading-area\">\n <div class=\"heading-content\">\n <div class=\"label\">\n <slot name=\"label\">\n <ic-typography variant=\"label\" id=\"dialog-label\">\n {label}\n </ic-typography>\n </slot>\n </div>\n <div class=\"heading\">\n <slot name=\"heading\">\n <ic-typography variant=\"h4\" id=\"dialog-heading\">\n {heading}\n </ic-typography>\n </slot>\n </div>\n </div>\n {!hideCloseButton && (\n <ic-button\n class=\"close-icon\"\n variant=\"icon\"\n innerHTML={closeIcon}\n aria-label={dismissLabel}\n onClick={this.closeIconClick}\n data-gets-focus={destructive || !buttons ? \"\" : null}\n ></ic-button>\n )}\n </div>\n <div class=\"content-area\">\n {isSlotUsed(this.el, \"alert\") ? (\n <slot name=\"alert\"></slot>\n ) : (\n status && (\n <ic-alert\n variant={status}\n heading={alertHeading}\n message={alertMessage}\n title-above\n class=\"status-alert\"\n id=\"dialog-alert\"\n ></ic-alert>\n )\n )}\n <div id=\"dialog-content\">\n <slot></slot>\n </div>\n </div>\n {(buttons || isSlotUsed(this.el, this.DIALOG_CONTROLS)) && (\n <div\n class={{\n [this.DIALOG_CONTROLS]: true,\n [\"triple-button\"]: buttonProps.length === 3,\n }}\n >\n <slot name={this.DIALOG_CONTROLS}>\n {!isSlotUsed(this.el, this.DIALOG_CONTROLS) &&\n buttonProps.map((props, index) => {\n if (index > 2) {\n return;\n } else {\n return (\n <ic-button\n variant={this.getButtonVariant(index)}\n onClick={() => this.getButtonOnclick(index)}\n class=\"dialog-control-button\"\n full-width={buttonProps.length === 3}\n data-gets-focus={\n this.getButtonVariant(index) === \"primary\" ? \"\" : null\n }\n >\n {props.label}\n </ic-button>\n );\n }\n })}\n </slot>\n </div>\n )}\n </dialog>\n );\n };\n\n render() {\n return (\n <Host\n class={{\n [\"hidden\"]: !this.dialogRendered,\n [\"fade-in\"]: this.fadeIn,\n [\"disable-height-constraint\"]: this.disableHeightConstraint,\n }}\n >\n {this.disableHeightConstraint ? (\n <div class=\"backdrop\" ref={(el) => (this.backdropEl = el)}>\n {this.renderDialog()}\n </div>\n ) : (\n this.renderDialog()\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-dialog.js","mappings":";;;;;;;;AAAA,MAAM,WAAW,GAAG,w2JAAw2J;;MC+B/2J,MAAM;;;;;;;;;QAGT,oBAAe,GAAW,iBAAiB,CAAC;QAC5C,6BAAwB,GAAW,mBAAmB,CAAC;QACvD,oBAAe,GAAW,iBAAiB,CAAC;QAE5C,iBAAY,GAAW,CAAC,CAAC;QACzB,wBAAmB,GAAG,CAAC,CAAC;QACxB,kBAAa,GAAW,eAAe,CAAC;QACxC,iBAAY,GAAW,cAAc,CAAC;QACtC,uBAAkB,GAAW,oBAAoB,CAAC;QAElD,mBAAc,GAAmB,IAAI,CAAC;QA6LtC,iBAAY,GAAG;;YACrB,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;YAE3B,IAAI,IAAI,CAAC,uBAAuB,EAAE;gBAChC,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;aACtB;iBAAM;gBACL,MAAA,IAAI,CAAC,QAAQ,0CAAE,SAAS,EAAE,CAAC;aAC5B;YAED,UAAU,CAAC;gBACT,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;;;;;;;;gBASnB,IAAI,IAAI,CAAC,uBAAuB,IAAI,IAAI,CAAC,UAAU,CAAC,SAAS,KAAK,CAAC,EAAE;oBACnE,IAAI,CAAC,UAAU,CAAC,SAAS,GAAG,CAAC,CAAC;iBAC/B;aACF,EAAE,EAAE,CAAC,CAAC;YAEP,UAAU,CAAC;gB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;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/ic-dialog/ic-dialog.css?tag=ic-dialog&encapsulation=shadow","src/components/ic-dialog/ic-dialog.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n/**\n * @prop --ic-z-index-dialog: z-index of dialog \n */\n\n:host {\n position: fixed;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 100% !important;\n background: rgb(0 0 0 / 60%);\n z-index: var(--ic-z-index-dialog);\n opacity: 0;\n}\n\n:host(.ic-dialog-fade-in) {\n opacity: 1;\n}\n\n:host(.disable-height-constraint) {\n background: none;\n justify-content: unset;\n align-items: unset;\n}\n\n.dialog.disable-height-constraint {\n max-height: none;\n position: relative;\n}\n\n.dialog.disable-height-constraint .content-area {\n overflow-y: visible;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n :host {\n transition: opacity var(--ic-easing-transition-slow);\n }\n\n .dialog {\n transform: translateY(-3rem);\n transition: transform 1000s;\n }\n\n :host(.ic-dialog-fade-in) .dialog {\n transform: translateY(0);\n transition: transform var(--ic-easing-transition-slow);\n }\n}\n\n:host(.ic-dialog-hidden) {\n display: none;\n}\n\n.dialog {\n background-color: var(--ic-architectural-white);\n color: var(--ic-architectural-black);\n border: var(--ic-border-default);\n border-radius: var(--ic-border-radius);\n padding: var(--ic-space-xs) 0 var(--ic-space-md);\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n overflow-x: visible;\n}\n\n.small {\n width: 50%;\n max-width: 25rem;\n min-height: 11rem;\n max-height: 70vh;\n}\n\n.medium {\n width: 70vw;\n max-width: 44rem;\n min-height: 12.5rem;\n max-height: 70vh;\n}\n\n.large {\n width: 90vw;\n max-width: 62.5rem;\n min-height: 12.5rem;\n max-height: 90vh;\n}\n\n.heading-area {\n display: flex;\n margin-bottom: var(--ic-space-xs);\n padding: 0 var(--ic-space-md);\n}\n\n.heading {\n overflow-wrap: break-word;\n}\n\n.close-icon {\n margin-left: auto;\n}\n\n.content-area {\n -ms-overflow-style: none;\n scrollbar-width: none;\n padding: 0 var(--ic-space-md);\n margin: 0;\n overflow-y: auto;\n}\n\n.content-area::-webkit-scrollbar {\n display: none;\n}\n\n#dialog-content {\n margin-bottom: var(--ic-space-sm);\n}\n\n#dialog-content ::slotted(ic-typography) {\n overflow-wrap: break-word;\n}\n\n#dialog-content ::slotted(*) {\n position: relative;\n}\n\n.dialog-controls {\n margin-top: auto;\n padding: var(--ic-space-xs) var(--ic-space-md) 0;\n display: flex;\n justify-content: flex-end;\n gap: var(--ic-space-md);\n}\n\n.dialog-control-button {\n width: fit-content;\n}\n\n.backdrop {\n overflow-y: auto;\n position: fixed;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgb(0 0 0 / 60%);\n z-index: var(--ic-z-index-dialog);\n padding-top: 16px;\n padding-bottom: 16px;\n}\n\n@media (min-width: 800px) {\n :host([size=\"large\"]) .dialog:not(.disable-width-constraint) > .content-area {\n width: 75%;\n }\n}\n\n@media (max-width: 576px) {\n .dialog {\n width: 100vw;\n height: 100vh;\n transform: translateY(-5rem);\n max-width: none;\n max-height: none;\n box-sizing: border-box;\n }\n\n .backdrop {\n padding: 0;\n }\n\n .dialog.disable-height-constraint {\n height: auto;\n min-height: 100vh;\n }\n}\n\n@media (max-width: 364px) {\n .dialog-control-button {\n width: unset;\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n Prop,\n State,\n Method,\n Listen,\n Watch,\n h,\n} from \"@stencil/core\";\nimport closeIcon from \"../../assets/close-icon.svg\";\nimport {\n isSlotUsed,\n checkResizeObserver,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\n\n/**\n * @slot dialog-controls - Content will be place at the bottom of the dialog.\n * @slot heading - Content will be placed at the top of the dialog.\n * @slot label - Content will be placed above the dialog heading.\n * @slot alert - Content will be placed at the top of the content area of the dialog.\n */\n@Component({\n tag: \"ic-dialog\",\n styleUrl: \"ic-dialog.css\",\n shadow: true,\n})\nexport class Dialog {\n private backdropEl: HTMLDivElement;\n private contentArea: HTMLSlotElement;\n private DATA_GETS_FOCUS: string = \"data-gets-focus\";\n private DATA_GETS_FOCUS_SELECTOR: string = \"[data-gets-focus]\";\n private DIALOG_CONTROLS: string = \"dialog-controls\";\n private dialogEl: HTMLDialogElement;\n private dialogHeight: number = 0;\n private focusedElementIndex = 0;\n private IC_TEXT_FIELD: string = \"IC-TEXT-FIELD\";\n private IC_ACCORDION: string = \"IC-ACCORDION\";\n private IC_ACCORDION_GROUP: string = \"IC-ACCORDION-GROUP\";\n private interactiveElementList: HTMLElement[];\n private resizeObserver: ResizeObserver = null;\n private resizeTimeout: number;\n private sourceElement: HTMLElement;\n\n @Element() el: HTMLIcDialogElement;\n\n @State() dialogRendered: boolean = false;\n @State() fadeIn: boolean = false;\n\n /**\n * If set to `false`, default buttons or slotted dialog controls will not be displayed.\n */\n @Prop() buttons?: boolean = true;\n\n /**\n * If set to `false`, the dialog will not close when the backdrop is clicked.\n */\n @Prop() closeOnBackdropClick?: boolean = true;\n\n /**\n * If default buttons are displayed, sets the 'primary' or rightmost button to the destructive variant. Stops initial focus being set on the 'primary' or rightmost default or slotted button.\n */\n @Prop() destructive?: boolean = false;\n\n /**\n * Sets the dismiss label tooltip and aria label.\n */\n @Prop() dismissLabel?: string = \"Dismiss\";\n\n /**\n * If set to `true`, the content area max height and overflow properties are removed allowing the dialog to stretch below the fold.\n * This prop also prevents popover elements from being cut off within the content area.\n */\n @Prop() disableHeightConstraint?: boolean = false;\n\n /**\n * If set to `true`, the content area width property is removed, allowing content to take the full width of the dialog when using the large variant.\n */\n @Prop() disableWidthConstraint?: boolean = false;\n\n /**\n * If `true`, the close button will not be displayed.\n */\n @Prop() hideCloseButton?: boolean = false;\n\n /**\n * Sets the heading for the dialog.\n */\n @Prop() heading: string;\n\n /**\n * Sets the optional label for the dialog which appears above the heading.\n */\n @Prop() label?: string;\n\n /**\n * If `true`, the dialog will be displayed.\n */\n @Prop({ reflect: true, mutable: true }) open: boolean = undefined;\n\n @Watch(\"open\")\n watchOpenHandler(): void {\n if (this.open) {\n this.dialogOpened();\n } else {\n this.fadeIn = false;\n if (this.resizeObserver !== null) {\n this.resizeObserver.disconnect();\n }\n setTimeout(() => {\n this.dialogRendered = false;\n this.dialogEl.close();\n this.sourceElement?.focus();\n this.dialogHeight = 0;\n this.icDialogClosed.emit();\n }, 80);\n }\n }\n\n /**\n * Sets the maximum and minimum height and width for the dialog.\n */\n @Prop() size?: \"small\" | \"medium\" | \"large\" = \"small\";\n\n /**\n * Cancelation event emitted when default 'Cancel' button clicked or 'cancelDialog' method is called.\n */\n @Event() icDialogCancelled: EventEmitter<void>;\n\n /**\n * Emitted when dialog has closed.\n */\n @Event() icDialogClosed: EventEmitter<void>;\n\n /**\n * Confirmation event emitted when default 'Confirm' primary button clicked or 'confirmDialog' method is called.\n */\n @Event() icDialogConfirmed: EventEmitter<void>;\n\n /**\n * Emitted when dialog has opened.\n */\n @Event() icDialogOpened: EventEmitter<void>;\n\n disconnectedCallback(): void {\n this.removeSlotChangeListener();\n }\n\n componentDidLoad(): void {\n this.getInteractiveElements();\n\n this.refreshInteractiveElementsOnSlotChange();\n\n if (this.open) {\n this.dialogOpened();\n }\n\n !isSlotUsed(this.el, \"heading\") &&\n onComponentRequiredPropUndefined(\n [{ prop: this.heading, propName: \"heading\" }],\n \"Dialog\"\n );\n }\n\n componentDidRender(): void {\n if (\n getComputedStyle(this.el).display !== \"none\" &&\n this.disableHeightConstraint\n ) {\n document.body.style.overflow = \"hidden\";\n } else {\n document.body.style.overflow = \"auto\";\n }\n }\n\n @Listen(\"keydown\", { target: \"document\" })\n handleKeyboard(ev: KeyboardEvent): void {\n if (this.dialogRendered) {\n switch (ev.key) {\n case \"Tab\":\n ev.preventDefault();\n this.focusNextInteractiveElement(ev.shiftKey);\n break;\n case \"Escape\":\n if (!ev.repeat) {\n this.open = false;\n }\n ev.stopImmediatePropagation();\n break;\n }\n }\n }\n\n @Listen(\"click\", {})\n handleClick(ev: MouseEvent): void {\n const dialogElement = this.el.shadowRoot.querySelector(\"dialog\");\n if (\n this.closeOnBackdropClick &&\n ev.composedPath().indexOf(dialogElement) <= 0\n ) {\n const rect = this.dialogEl.getBoundingClientRect();\n const isInDialog =\n rect.top <= ev.clientY &&\n ev.clientY <= rect.top + rect.height &&\n rect.left <= ev.clientX &&\n ev.clientX <= rect.left + rect.width;\n if (!isInDialog) {\n this.open = false;\n }\n }\n }\n\n /**\n * Cancels the dialog. Used by the default 'Cancel' button or can be called manually to trigger cancelling of dialog.\n */\n @Method()\n async cancelDialog(): Promise<void> {\n this.icDialogCancelled.emit();\n this.open = false;\n }\n\n /**\n * Confirms the dialog. Used by the default 'Confirm' button or can be called manually to trigger confirming of dialog.\n */\n @Method()\n async confirmDialog(): Promise<void> {\n this.icDialogConfirmed.emit();\n }\n\n private dialogOpened = () => {\n this.dialogRendered = true;\n\n if (this.disableHeightConstraint) {\n this.dialogEl.show();\n } else {\n this.dialogEl?.showModal();\n }\n\n setTimeout(() => {\n this.fadeIn = true;\n\n /**\n * This is required to set scroll back to top if:\n * - dialog content goes below the fold\n * - is closed using cancel or confirm and reopened.\n *\n * Without this, the scroll bar will start from the dialog's last scroll-x coordinate.\n */\n if (this.disableHeightConstraint && this.backdropEl.scrollTop !== 0) {\n this.backdropEl.scrollTop = 0;\n }\n }, 10);\n\n setTimeout(() => {\n this.setInitialFocus();\n checkResizeObserver(this.runResizeObserver);\n }, 75);\n\n setTimeout(() => {\n this.getFocusedElementIndex();\n this.icDialogOpened.emit();\n }, 80);\n };\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n clearTimeout(this.resizeTimeout);\n this.resizeTimeout = window.setTimeout(this.resizeObserverCallback, 80);\n });\n this.resizeObserver.observe(this.dialogEl);\n };\n\n private resizeObserverCallback = () => {\n if (this.dialogEl.clientHeight !== this.dialogHeight) {\n this.dialogHeight = this.dialogEl.clientHeight;\n }\n };\n\n private refreshInteractiveElementsOnSlotChange = () => {\n this.contentArea = this.el.shadowRoot.querySelector(\"#dialog-content slot\");\n\n this.contentArea.addEventListener(\n \"slotchange\",\n this.getInteractiveElements\n );\n };\n\n private removeSlotChangeListener = () => {\n if (this.contentArea) {\n this.contentArea.removeEventListener(\n \"slotchange\",\n this.getInteractiveElements\n );\n }\n };\n\n private setInitialFocus = () => {\n this.sourceElement = document.activeElement as HTMLElement;\n\n let focusedElement;\n\n if (this.el.querySelector(this.DATA_GETS_FOCUS_SELECTOR) !== null) {\n focusedElement = this.el.querySelector(\n this.DATA_GETS_FOCUS_SELECTOR\n ) as HTMLElement;\n } else {\n focusedElement = this.el.shadowRoot.querySelector(\n this.DATA_GETS_FOCUS_SELECTOR\n ) as HTMLElement;\n }\n if (focusedElement.tagName === this.IC_TEXT_FIELD) {\n (focusedElement as HTMLIcTextFieldElement).setFocus();\n } else if (focusedElement.tagName === this.IC_ACCORDION_GROUP) {\n (focusedElement as HTMLIcAccordionGroupElement).setFocus();\n } else if (focusedElement.tagName === this.IC_ACCORDION) {\n (focusedElement as HTMLIcAccordionElement).setFocus();\n } else {\n focusedElement.focus({\n preventScroll: this.disableHeightConstraint ? true : false,\n });\n }\n };\n\n private getFocusedElementIndex = () => {\n for (let i = 0; i < this.interactiveElementList.length; i++) {\n if (\n (this.interactiveElementList[i] as HTMLElement) ===\n (this.el.shadowRoot.activeElement || document.activeElement)\n ) {\n this.focusedElementIndex = i;\n }\n }\n };\n\n private closeIconClick = () => {\n this.open = false;\n };\n\n private getInteractiveElements = () => {\n this.interactiveElementList = Array.from(\n this.el.shadowRoot.querySelectorAll(\"ic-button\")\n );\n const slottedInteractiveElements = Array.from(\n this.el.querySelectorAll(\n `a[href], button, input:not(.ic-input), textarea, select, details, [tabindex]:not([tabindex=\"-1\"]), \n ic-button, ic-checkbox, ic-select, ic-search-bar, ic-tab-group, ic-radio-group, \n ic-back-to-top, ic-breadcrumb, ic-chip[dismissible=\"true\"], ic-footer-link, ic-link, ic-navigation-button, \n ic-navigation-item, ic-switch, ic-text-field, ic-accordion-group, ic-accordion`\n )\n );\n if (slottedInteractiveElements.length > 0) {\n if (slottedInteractiveElements[0].slot !== this.DIALOG_CONTROLS) {\n slottedInteractiveElements[0].setAttribute(this.DATA_GETS_FOCUS, \"\");\n } else if (!this.destructive) {\n slottedInteractiveElements[\n slottedInteractiveElements.length - 1\n ].setAttribute(this.DATA_GETS_FOCUS, \"\");\n }\n }\n for (let i = 0; i < slottedInteractiveElements.length; i++) {\n this.interactiveElementList.splice(\n 1 + i,\n 0,\n slottedInteractiveElements[i] as HTMLElement\n );\n }\n };\n\n private getNextFocusEl = (focusedElementIndex: number) =>\n this.interactiveElementList[focusedElementIndex];\n\n private focusNextInteractiveElement = (shiftKey: boolean) => {\n this.getFocusedElementIndex();\n this.setFocusIndexBasedOnShiftKey(shiftKey);\n this.loopNextFocusIndexIfLastElement();\n\n let nextFocusEl = this.getNextFocusEl(this.focusedElementIndex);\n\n const isHidden =\n getComputedStyle(nextFocusEl).visibility === \"hidden\" ||\n (nextFocusEl.tagName === this.IC_ACCORDION_GROUP &&\n nextFocusEl.hasAttribute(\"single-expansion\"));\n\n if (nextFocusEl.tagName === this.IC_TEXT_FIELD) {\n (nextFocusEl as HTMLIcTextFieldElement).setFocus();\n } else {\n if (isHidden) {\n this.setFocusIndexBasedOnShiftKey(shiftKey);\n this.loopNextFocusIndexIfLastElement();\n\n nextFocusEl = this.getNextFocusEl(this.focusedElementIndex);\n }\n if (nextFocusEl.tagName === this.IC_ACCORDION_GROUP) {\n (nextFocusEl as HTMLIcAccordionGroupElement).setFocus();\n } else if (nextFocusEl.tagName === this.IC_ACCORDION) {\n (nextFocusEl as HTMLIcAccordionElement).setFocus();\n } else {\n (nextFocusEl as HTMLElement).focus();\n }\n }\n };\n\n private loopNextFocusIndexIfLastElement() {\n if (this.focusedElementIndex > this.interactiveElementList.length - 1)\n this.focusedElementIndex = 0;\n else if (this.focusedElementIndex < 0) {\n this.focusedElementIndex = this.interactiveElementList.length - 1;\n }\n }\n\n private setFocusIndexBasedOnShiftKey(shiftKey: boolean) {\n if (shiftKey) {\n this.focusedElementIndex -= 1;\n } else {\n this.focusedElementIndex += 1;\n }\n }\n\n private renderDialog = () => {\n const {\n buttons,\n size,\n heading,\n label,\n destructive,\n dismissLabel,\n hideCloseButton,\n } = this;\n\n return (\n <dialog\n class={{\n [\"dialog\"]: true,\n [`${size}`]: true,\n [\"disable-height-constraint\"]: this.disableHeightConstraint,\n [\"disable-width-constraint\"]: this.disableWidthConstraint,\n }}\n aria-labelledby=\"dialog-label dialog-heading\"\n aria-describedby=\"dialog-alert dialog-content\"\n ref={(el) => (this.dialogEl = el)}\n >\n <div class=\"heading-area\">\n <div class=\"heading-content\">\n <div class=\"label\">\n <slot name=\"label\">\n <ic-typography variant=\"label\" id=\"dialog-label\">\n {label}\n </ic-typography>\n </slot>\n </div>\n <div class=\"heading\">\n <slot name=\"heading\">\n <ic-typography variant=\"h4\" id=\"dialog-heading\">\n {heading}\n </ic-typography>\n </slot>\n </div>\n </div>\n {!hideCloseButton && (\n <ic-button\n class=\"close-icon\"\n variant=\"icon\"\n innerHTML={closeIcon}\n aria-label={dismissLabel}\n onClick={this.closeIconClick}\n data-gets-focus={destructive || !buttons ? \"\" : null}\n ></ic-button>\n )}\n </div>\n <div class=\"content-area\">\n {isSlotUsed(this.el, \"alert\") && <slot name=\"alert\"></slot>}\n <div id=\"dialog-content\">\n <slot></slot>\n </div>\n </div>\n {buttons &&\n (isSlotUsed(this.el, this.DIALOG_CONTROLS) ? (\n <div\n class={{\n [this.DIALOG_CONTROLS]: true,\n }}\n >\n <slot name={this.DIALOG_CONTROLS}></slot>\n </div>\n ) : (\n <div\n class={{\n [this.DIALOG_CONTROLS]: true,\n }}\n >\n <ic-button\n variant=\"tertiary\"\n onClick={() => this.cancelDialog()}\n class=\"dialog-control-button\"\n data-gets-focus={null}\n >\n Cancel\n </ic-button>\n <ic-button\n variant={this.destructive ? \"destructive\" : \"primary\"}\n onClick={() => this.confirmDialog()}\n class=\"dialog-control-button\"\n data-gets-focus=\"\"\n >\n Confirm\n </ic-button>\n </div>\n ))}\n </dialog>\n );\n };\n\n render() {\n return (\n <Host\n class={{\n [\"ic-dialog-hidden\"]: !this.dialogRendered,\n [\"ic-dialog-fade-in\"]: this.fadeIn,\n [\"disable-height-constraint\"]: this.disableHeightConstraint,\n }}\n >\n {this.disableHeightConstraint ? (\n <div class=\"backdrop\" ref={(el) => (this.backdropEl = el)}>\n {this.renderDialog()}\n </div>\n ) : (\n this.renderDialog()\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,8 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { n as getThemeForegroundColor } from './helpers.js';
3
- import { I as IcThemeForegroundEnum } from './types.js';
2
+ import { k as getThemeForegroundColor, e as IcThemeForegroundEnum } from './helpers.js';
4
3
 
5
- const icDividerCss = "hr.sc-ic-divider{padding:0;margin:0;border:none;height:var(--ic-space-1px);background-color:var(--ic-keyline-darken-rgb)}hr.light.sc-ic-divider{background-color:var(--ic-keyline-lighten-rgb)}";
4
+ const icDividerCss = "hr.sc-ic-divider{padding:0;margin:0;border:none;height:var(--ic-space-1px);background-color:var(--ic-color-keyline-darken)}hr.light.sc-ic-divider{background-color:var(--ic-color-keyline-lighten)}";
6
5
 
7
6
  const Divider = /*@__PURE__*/ proxyCustomElement(class Divider extends HTMLElement {
8
7
  constructor() {
@@ -1 +1 @@
1
- {"file":"ic-divider2.js","mappings":";;;;AAAA,MAAM,YAAY,GAAG,iMAAiM;;MCczM,OAAO;;;;+BAC4B,uBAAuB,EAAE;;IAGvE,kBAAkB,CAAC,EAAe;QAChC,MAAM,KAAK,GAAY,EAAE,CAAC,MAAM,CAAC;QACjC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,IAAI,CAAC;KACnC;IAED,MAAM;QACJ,QACE,EAAC,IAAI,mBAAa,MAAM,IACtB,UACE,KAAK,EAAE;gBACL,CAAC,OAAO,GAAG,IAAI,CAAC,eAAe,KAAK,qBAAqB,CAAC,KAAK;aAChE,GACD,CACG,EACP;KACH;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/ic-divider/ic-divider.css?tag=ic-divider&encapsulation=scoped","src/components/ic-divider/ic-divider.tsx"],"sourcesContent":["hr {\n padding: 0;\n margin: 0;\n border: none;\n height: var(--ic-space-1px);\n background-color: var(--ic-keyline-darken-rgb);\n}\n\nhr.light {\n background-color: var(--ic-keyline-lighten-rgb);\n}\n","import { h, Component, Host, Listen, State } from \"@stencil/core\";\n\nimport { getThemeForegroundColor } from \"../../utils/helpers\";\nimport {\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\n\n@Component({\n tag: \"ic-divider\",\n styleUrl: \"ic-divider.css\",\n scoped: true,\n})\nexport class Divider {\n @State() foregroundColor: IcThemeForeground = getThemeForegroundColor();\n\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.foregroundColor = theme.mode;\n }\n\n render() {\n return (\n <Host aria-hidden=\"true\">\n <hr\n class={{\n [\"light\"]: this.foregroundColor === IcThemeForegroundEnum.Light,\n }}\n />\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-divider2.js","mappings":";;;AAAA,MAAM,YAAY,GAAG,qMAAqM;;MCc7M,OAAO;;;;+BAC4B,uBAAuB,EAAE;;IAGvE,kBAAkB,CAAC,EAAe;QAChC,MAAM,KAAK,GAAY,EAAE,CAAC,MAAM,CAAC;QACjC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,IAAI,CAAC;KACnC;IAED,MAAM;QACJ,QACE,EAAC,IAAI,mBAAa,MAAM,IACtB,UACE,KAAK,EAAE;gBACL,CAAC,OAAO,GAAG,IAAI,CAAC,eAAe,KAAK,qBAAqB,CAAC,KAAK;aAChE,GACD,CACG,EACP;KACH;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/ic-divider/ic-divider.css?tag=ic-divider&encapsulation=scoped","src/components/ic-divider/ic-divider.tsx"],"sourcesContent":["hr {\n padding: 0;\n margin: 0;\n border: none;\n height: var(--ic-space-1px);\n background-color: var(--ic-color-keyline-darken);\n}\n\nhr.light {\n background-color: var(--ic-color-keyline-lighten);\n}\n","import { h, Component, Host, Listen, State } from \"@stencil/core\";\n\nimport { getThemeForegroundColor } from \"../../utils/helpers\";\nimport {\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\n\n@Component({\n tag: \"ic-divider\",\n styleUrl: \"ic-divider.css\",\n scoped: true,\n})\nexport class Divider {\n @State() foregroundColor: IcThemeForeground = getThemeForegroundColor();\n\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.foregroundColor = theme.mode;\n }\n\n render() {\n return (\n <Host aria-hidden=\"true\">\n <hr\n class={{\n [\"light\"]: this.foregroundColor === IcThemeForegroundEnum.Light,\n }}\n />\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, forceUpdate, h, Host } from '@stencil/
2
2
  import { f as checkSlotInChildMutations, i as isSlotUsed, o as onComponentRequiredPropUndefined } from './helpers.js';
3
3
  import { d as defineCustomElement$2 } from './ic-typography2.js';
4
4
 
5
- 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(.right),:host(.right) .action-area{align-items:flex-end;text-align:right}:host(.center),:host(.center) .action-area{align-items:center;text-align:center}:host(.image-default) ::slotted(svg),:host(.image-default) ::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}";
5
+ 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}";
6
6
 
7
7
  const EmptyState = /*@__PURE__*/ proxyCustomElement(class EmptyState extends HTMLElement {
8
8
  constructor() {
@@ -22,9 +22,9 @@ const EmptyState = /*@__PURE__*/ proxyCustomElement(class EmptyState extends HTM
22
22
  };
23
23
  this.aligned = "left";
24
24
  this.body = undefined;
25
- this.bodyMaxLines = undefined;
25
+ this.maxLines = undefined;
26
26
  this.heading = undefined;
27
- this.imageSize = "default";
27
+ this.imageSize = "medium";
28
28
  this.subheading = undefined;
29
29
  }
30
30
  disconnectedCallback() {
@@ -40,18 +40,18 @@ const EmptyState = /*@__PURE__*/ proxyCustomElement(class EmptyState extends HTM
40
40
  });
41
41
  }
42
42
  render() {
43
- const { aligned, body, bodyMaxLines, heading, imageSize, subheading } = this;
43
+ const { aligned, body, maxLines, heading, imageSize, subheading } = this;
44
44
  return (h(Host, { class: {
45
- [`${aligned}`]: true,
45
+ [`ic-empty-state-${aligned}`]: true,
46
46
  [`image-${imageSize}`]: isSlotUsed(this.el, "image"),
47
- } }, isSlotUsed(this.el, "image") && h("slot", { name: "image" }), h("div", null, h("slot", { name: "heading" }, h("ic-typography", { variant: "h4" }, heading)), h("slot", { name: "subheading" }, h("ic-typography", { variant: "subtitle-small" }, subheading)), h("slot", { name: "body" }, h("ic-typography", { maxLines: bodyMaxLines }, body))), isSlotUsed(this.el, "actions") && (h("div", { class: "action-area" }, h("slot", { name: "actions" })))));
47
+ } }, isSlotUsed(this.el, "image") && h("slot", { name: "image" }), h("div", null, h("slot", { name: "heading" }, h("ic-typography", { variant: "h4" }, heading)), h("slot", { name: "subheading" }, h("ic-typography", { variant: "subtitle-small" }, subheading)), h("slot", { name: "body" }, h("ic-typography", { maxLines: maxLines }, body))), isSlotUsed(this.el, "actions") && (h("div", { class: "action-area" }, h("slot", { name: "actions" })))));
48
48
  }
49
49
  get el() { return this; }
50
50
  static get style() { return icEmptyStateCss; }
51
51
  }, [1, "ic-empty-state", {
52
52
  "aligned": [1],
53
53
  "body": [1],
54
- "bodyMaxLines": [2, "body-max-lines"],
54
+ "maxLines": [2, "max-lines"],
55
55
  "heading": [1],
56
56
  "imageSize": [1, "image-size"],
57
57
  "subheading": [1]
@@ -1 +1 @@
1
- {"file":"ic-empty-state.js","mappings":";;;;AAAA,MAAM,eAAe,GAAG,01BAA01B;;MCsBr2B,UAAU;;;;;QACb,yBAAoB,GAAqB,IAAI,CAAC;QAmD9C,yBAAoB,GAAG,CAAC,YAA8B;YAC5D,IACE,YAAY,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,YAAY,EAAE,KACnD,IAAI,KAAK,WAAW;kBAChB,yBAAyB,CAAC,UAAU,EAAE,YAAY,EAAE;oBAClD,OAAO;oBACP,SAAS;iBACV,CAAC;kBACF,KAAK,CACV,EACD;gBACA,WAAW,CAAC,IAAI,CAAC,CAAC;aACnB;SACF,CAAC;uBAzDwC,M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,KAAK,EAAC,aAAa,IACtB,YAAM,IAAI,EAAC,SAAS,GAAG,CACnB,CACP,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"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(.right),\n:host(.right) .action-area {\n align-items: flex-end;\n text-align: right;\n}\n\n:host(.center),\n:host(.center) .action-area {\n align-items: center;\n text-align: center;\n}\n\n:host(.image-default) ::slotted(svg),\n:host(.image-default) ::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","import { h, Component, Host, Prop, Element, forceUpdate } from \"@stencil/core\";\n\nimport { IcEmptyStateAlignment } from \"./ic-empty-state.types\";\nimport {\n isSlotUsed,\n onComponentRequiredPropUndefined,\n checkSlotInChildMutations,\n} from \"../../utils/helpers\";\nimport { IcSizes } 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() bodyMaxLines?: 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 = \"default\";\n\n /**\n * The subtitle rendered in the empty state container.\n */\n @Prop() subheading?: string;\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(this.hostMutationCallback);\n this.hostMutationObserver.observe(this.el, {\n childList: true,\n });\n }\n\n private hostMutationCallback = (mutationList: MutationRecord[]): void => {\n if (\n mutationList.some(({ type, addedNodes, removedNodes }) =>\n type === \"childList\"\n ? checkSlotInChildMutations(addedNodes, removedNodes, [\n \"image\",\n \"actions\",\n ])\n : false\n )\n ) {\n forceUpdate(this);\n }\n };\n\n render() {\n const { aligned, body, bodyMaxLines, heading, imageSize, subheading } =\n this;\n return (\n <Host\n class={{\n [`${aligned}`]: true,\n [`image-${imageSize}`]: isSlotUsed(this.el, \"image\"),\n }}\n >\n {isSlotUsed(this.el, \"image\") && <slot name=\"image\"></slot>}\n <div>\n <slot name=\"heading\">\n <ic-typography variant=\"h4\">{heading}</ic-typography>\n </slot>\n <slot name=\"subheading\">\n <ic-typography variant=\"subtitle-small\">{subheading}</ic-typography>\n </slot>\n <slot name=\"body\">\n <ic-typography maxLines={bodyMaxLines}>{body}</ic-typography>\n </slot>\n </div>\n {isSlotUsed(this.el, \"actions\") && (\n <div class=\"action-area\">\n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,EAAE,GAAG,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,CAAC;aACrD,IAEA,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,CAAC,IAAI,YAAM,IAAI,EAAC,OAAO,GAAQ,EAC3D,eACE,YAAM,IAAI,EAAC,SAAS,IAClB,qBAAe,OAAO,EAAC,IAAI,IAAE,OAAO,CAAiB,CAChD,EACP,YAAM,IAAI,EAAC,YAAY,IACrB,qBAAe,OAAO,EAAC,gBAAgB,IAAE,UAAU,CAAiB,CAC/D,EACP,YAAM,IAAI,EAAC,MAAM,IACf,qBAAe,QAAQ,EAAE,QAAQ,IAAG,IAAI,CAAiB,CACpD,CACH,EACL,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,SAAS,CAAC,KAC7B,WAAK,KAAK,EAAC,aAAa,IACtB,YAAM,IAAI,EAAC,SAAS,GAAG,CACnB,CACP,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"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","import { h, Component, Host, Prop, Element, forceUpdate } from \"@stencil/core\";\n\nimport { IcEmptyStateAlignment } from \"./ic-empty-state.types\";\nimport {\n isSlotUsed,\n onComponentRequiredPropUndefined,\n checkSlotInChildMutations,\n} from \"../../utils/helpers\";\nimport { IcSizes } 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 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(this.hostMutationCallback);\n this.hostMutationObserver.observe(this.el, {\n childList: true,\n });\n }\n\n private hostMutationCallback = (mutationList: MutationRecord[]): void => {\n if (\n mutationList.some(({ type, addedNodes, removedNodes }) =>\n type === \"childList\"\n ? checkSlotInChildMutations(addedNodes, removedNodes, [\n \"image\",\n \"actions\",\n ])\n : false\n )\n ) {\n forceUpdate(this);\n }\n };\n\n render() {\n const { aligned, body, maxLines, heading, imageSize, subheading } = this;\n return (\n <Host\n class={{\n [`ic-empty-state-${aligned}`]: true,\n [`image-${imageSize}`]: isSlotUsed(this.el, \"image\"),\n }}\n >\n {isSlotUsed(this.el, \"image\") && <slot name=\"image\"></slot>}\n <div>\n <slot name=\"heading\">\n <ic-typography variant=\"h4\">{heading}</ic-typography>\n </slot>\n <slot name=\"subheading\">\n <ic-typography variant=\"subtitle-small\">{subheading}</ic-typography>\n </slot>\n <slot name=\"body\">\n <ic-typography maxLines={maxLines}>{body}</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,9 +1,9 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { D as DEVICE_SIZES, n as getThemeForegroundColor, o as onComponentRequiredPropUndefined } from './helpers.js';
2
+ import { D as DEVICE_SIZES, k as getThemeForegroundColor, o as onComponentRequiredPropUndefined } from './helpers.js';
3
3
  import { d as defineCustomElement$3 } from './ic-section-container2.js';
4
4
  import { d as defineCustomElement$2 } from './ic-typography2.js';
5
5
 
6
- const icFooterLinkGroupCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.footer-link-group-sparse){--footer-link-group-margin-right:5.938rem;--footer-link-group-border-bottom:0 solid transparent;--footer-link-group-title-margin-top:0;--footer-link-group-title-margin-bottom:var(--ic-space-md)}:host(.footer-link-group-small){--footer-link-group-margin-right:0;--footer-link-group-title-margin-top:var(--ic-space-md);--footer-link-group-title-margin-bottom:var(--ic-space-md);--footer-link-group-links-padding-left:var(--ic-space-md);--footer-link-group-links-padding-bottom:var(--ic-space-md)}:host(.footer-link-group-light.footer-link-group-small){--footer-link-group-border-bottom:var(--ic-keyline-lighten)}:host(.footer-link-group-dark.footer-link-group-small){--footer-link-group-border-bottom:var(--ic-keyline-darken)}:host(.footer-link-group){margin-right:var(--footer-link-group-margin-right);border-bottom:var(--footer-link-group-border-bottom)}:host(.footer-link-group-small.footer-link-group-light:hover){background-color:var(--ic-action-light-bg-hover);cursor:pointer}:host(.footer-link-group-small.footer-link-group-dark:hover){background-color:var(--ic-action-dark-bg-hover);cursor:pointer}:host(.footer-link-group-sparse:focus){box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);outline:var(--ic-hc-focus-outline);z-index:1}:host(.footer-link-group-small:focus){box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);outline:var(--ic-hc-focus-outline);z-index:1}:host(.footer-link-group-small.footer-link-group-light:active){background-color:var(--ic-action-light-bg-active)}:host(.footer-link-group-small.footer-link-group-dark:active){background-color:var(--ic-action-dark-bg-active)}.footer-link-group-title{margin-top:var(--footer-link-group-title-margin-top);margin-bottom:var(--footer-link-group-title-margin-bottom);flex-grow:1}.footer-link-group-toggle{fill:white !important}.footer-link-group-links{display:flex;flex-direction:column}.footer-link-group-header{display:flex;align-items:center}";
6
+ 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-light.footer-link-group-small){--footer-link-group-border-bottom:var(--ic-border-keyline-lighten)}:host(.footer-link-group-dark.footer-link-group-small){--footer-link-group-border-bottom:var(--ic-border-keyline-darken)}:host(.footer-link-group){margin-right:var(--footer-link-group-margin-right);border-bottom:var(--footer-link-group-border-bottom)}:host(.footer-link-group-small.footer-link-group-light:hover){background-color:var(--ic-action-light-bg-hover);cursor:pointer}:host(.footer-link-group-small.footer-link-group-dark:hover){background-color:var(--ic-action-dark-bg-hover);cursor:pointer}:host(.footer-link-group-sparse:focus){box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);outline:var(--ic-hc-focus-outline);z-index:1}:host(.footer-link-group-small:focus){box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);outline:var(--ic-hc-focus-outline);z-index:1}:host(.footer-link-group-small.footer-link-group-light:active){background-color:var(--ic-action-light-bg-pressed)}:host(.footer-link-group-small.footer-link-group-dark:active){background-color:var(--ic-action-dark-bg-pressed)}.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:white !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-theme-text)}";
7
7
 
8
8
  const FooterLinkGroup = /*@__PURE__*/ proxyCustomElement(class FooterLinkGroup extends HTMLElement {
9
9
  constructor() {
@@ -22,13 +22,13 @@ const FooterLinkGroup = /*@__PURE__*/ proxyCustomElement(class FooterLinkGroup e
22
22
  this.deviceSize = DEVICE_SIZES.XL;
23
23
  this.dropdownIconStyle = getThemeForegroundColor();
24
24
  this.small = false;
25
- this.groupTitle = undefined;
25
+ this.label = undefined;
26
26
  }
27
27
  componentWillLoad() {
28
28
  this.small = this.isSmall(this.el);
29
29
  }
30
30
  componentDidLoad() {
31
- onComponentRequiredPropUndefined([{ prop: this.groupTitle, propName: "group-title" }], "Footer Link Group");
31
+ onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Footer Link Group");
32
32
  }
33
33
  footerResizeHandler() {
34
34
  this.small = this.isSmall(this.el);
@@ -39,8 +39,8 @@ const FooterLinkGroup = /*@__PURE__*/ proxyCustomElement(class FooterLinkGroup e
39
39
  }
40
40
  isSmall(e) {
41
41
  if (e.parentElement !== null) {
42
- if (e.parentElement.classList.contains("footer")) {
43
- return e.parentElement.classList.contains("footer-small");
42
+ if (e.parentElement.classList.contains("ic-footer")) {
43
+ return e.parentElement.classList.contains("ic-footer-small");
44
44
  }
45
45
  else {
46
46
  return this.isSmall(e.parentElement);
@@ -51,20 +51,20 @@ const FooterLinkGroup = /*@__PURE__*/ proxyCustomElement(class FooterLinkGroup e
51
51
  }
52
52
  }
53
53
  render() {
54
- const { small, groupTitle } = this;
54
+ const { small, label } = this;
55
55
  return !small ? (h(Host, { class: {
56
56
  ["footer-link-group footer-link-group-sparse"]: true,
57
57
  [`footer-link-group-${this.dropdownIconStyle}`]: true,
58
- }, role: "listitem" }, h("div", { class: "footer-link-group-title" }, h("ic-typography", { variant: "subtitle-small" }, groupTitle)), h("div", { class: "footer-link-group-links", role: "list" }, h("slot", null)))) : (h(Host, { class: {
58
+ }, role: "listitem" }, h("div", { class: "footer-link-label" }, h("ic-typography", { variant: "subtitle-small" }, label)), h("div", { class: "footer-link-group-links", role: "list" }, h("slot", null)))) : (h(Host, { class: {
59
59
  ["footer-link-group footer-link-group-small"]: true,
60
60
  [`footer-link-group-${this.dropdownIconStyle}`]: true,
61
- }, tabIndex: "1", onClick: this.toggleExpanded, onKeydown: this.handleKeydown, "aria-expanded": this.expanded }, h("ic-section-container", { fullHeight: true }, h("div", { class: "footer-link-group-header" }, h("div", { class: "footer-link-group-title" }, h("ic-typography", { variant: "label" }, groupTitle)), this.expanded ? (h("svg", { class: "footer-link-group-toggle", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", role: "img", width: "1em", height: "1em", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 1200 1200" }, h("path", { fill: "currentColor", d: "M600.002 210.605L421.285 389.336L0 810.559l178.721 178.836l421.281-421.341l421.281 421.341L1200 810.559L778.733 389.336L600.002 210.605z" }))) : (h("svg", { class: "footer-link-group-toggle", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", role: "img", width: "1em", height: "1em", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 1200 1200" }, h("g", { transform: "translate(0 1200) scale(1 -1)" }, h("path", { fill: "currentColor", d: "M600.002 210.605L421.285 389.336L0 810.559l178.721 178.836l421.281-421.341l421.281 421.341L1200 810.559L778.733 389.336L600.002 210.605z" }))))), this.expanded && (h("div", { class: "footer-link-group-links", role: "list" }, h("slot", null))))));
61
+ }, tabIndex: "1", onClick: this.toggleExpanded, onKeydown: this.handleKeydown, "aria-expanded": this.expanded }, h("ic-section-container", { fullHeight: true }, h("div", { class: "footer-link-group-header" }, h("div", { class: "footer-link-label" }, h("ic-typography", { variant: "label" }, label)), this.expanded ? (h("svg", { class: "footer-link-group-toggle", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", role: "img", width: "1em", height: "1em", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 1200 1200" }, h("path", { fill: "currentColor", d: "M600.002 210.605L421.285 389.336L0 810.559l178.721 178.836l421.281-421.341l421.281 421.341L1200 810.559L778.733 389.336L600.002 210.605z" }))) : (h("svg", { class: "footer-link-group-toggle", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", role: "img", width: "1em", height: "1em", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 1200 1200" }, h("g", { transform: "translate(0 1200) scale(1 -1)" }, h("path", { fill: "currentColor", d: "M600.002 210.605L421.285 389.336L0 810.559l178.721 178.836l421.281-421.341l421.281 421.341L1200 810.559L778.733 389.336L600.002 210.605z" }))))), this.expanded && (h("div", { class: "footer-link-group-links", role: "list" }, h("slot", null))))));
62
62
  }
63
63
  static get delegatesFocus() { return true; }
64
64
  get el() { return this; }
65
65
  static get style() { return icFooterLinkGroupCss; }
66
66
  }, [17, "ic-footer-link-group", {
67
- "groupTitle": [1, "group-title"],
67
+ "label": [1],
68
68
  "expanded": [32],
69
69
  "deviceSize": [32],
70
70
  "dropdownIconStyle": [32],
@@ -1 +1 @@
1
- {"file":"ic-footer-link-group.js","mappings":";;;;;AAAA,MAAM,oBAAoB,GAAG,41IAA41I;;MCuB52I,eAAe;;;;;QA+ClB,kBAAa,GAAG,CAAC,KAAoB;YAC3C,IAAI,KAAK,CAAC,GAAG,KAAK,GAAG,IAAI,KAAK,CAAC,GAAG,KAAK,OAAO,EAAE;gBAC9C,IAAI,CAAC,cAAc,EAAE,CAAC;aACvB;SACF,CAAC;QAEM,mBAAc,GAAG;YACvB,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;SAChC,CAAC;wBApD2B,KAAK;0BACJ,YAAY,CAAC,EAAE;iCAChB,uBAAuB,EAAE;qBAC5B,KAAK;;;IAO/B,iBAAiB;QACf,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KACpC;IAED,gBAAgB;QACd,gCAAgC,CAC9B,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,CAAC,EACpD,mBAAmB,CACpB,CAAC;KACH;IAGD,mBAAmB;QACjB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KACpC;IAGD,wBAAwB,CAAC,EAAe;QACtC,MAAM,KAAK,GAAY,EAAE,CAAC,MAAM,CAAC;QACjC,IAAI,CAAC,iBAAiB,GAAG,KAA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,IAAI,CAAC,QAAQ,IACZ,WACE,KAAK,EAAC,0BAA0B,EAChC,KAAK,EAAC,4BAA4B,iBACtB,MAAM,EAClB,IAAI,EAAC,KAAK,EACV,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,mBAAmB,EAAC,eAAe,EACnC,OAAO,EAAC,eAAe,IAEvB,YACE,IAAI,EAAC,cAAc,EACnB,CAAC,EAAC,0IAA0I,GAC5I,CACE,KAEN,WACE,KAAK,EAAC,0BAA0B,EAChC,KAAK,EAAC,4BAA4B,iBACtB,MAAM,EAClB,IAAI,EAAC,KAAK,EACV,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,mBAAmB,EAAC,eAAe,EACnC,OAAO,EAAC,eAAe,IAEvB,SAAG,SAAS,EAAC,+BAA+B,IAC1C,YACE,IAAI,EAAC,cAAc,EACnB,CAAC,EAAC,0IAA0I,GAC5I,CACA,CACA,CACP,CACG,EACL,IAAI,CAAC,QAAQ,KACZ,WAAK,KAAK,EAAC,yBAAyB,EAAC,IAAI,EAAC,MAAM,IAC9C,eAAQ,CACJ,CACP,CACoB,CAClB,CACR,CAAC;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/ic-footer-link-group/ic-footer-link-group.css?tag=ic-footer-link-group&encapsulation=shadow","src/components/ic-footer-link-group/ic-footer-link-group.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host(.footer-link-group-sparse) {\n --footer-link-group-margin-right: 5.938rem;\n --footer-link-group-border-bottom: 0 solid transparent;\n --footer-link-group-title-margin-top: 0;\n --footer-link-group-title-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-group-small) {\n --footer-link-group-margin-right: 0;\n --footer-link-group-title-margin-top: var(--ic-space-md);\n --footer-link-group-title-margin-bottom: var(--ic-space-md);\n --footer-link-group-links-padding-left: var(--ic-space-md);\n --footer-link-group-links-padding-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-group-light.footer-link-group-small) {\n --footer-link-group-border-bottom: var(--ic-keyline-lighten);\n}\n\n:host(.footer-link-group-dark.footer-link-group-small) {\n --footer-link-group-border-bottom: var(--ic-keyline-darken);\n}\n\n:host(.footer-link-group) {\n margin-right: var(--footer-link-group-margin-right);\n border-bottom: var(--footer-link-group-border-bottom);\n}\n\n:host(.footer-link-group-small.footer-link-group-light:hover) {\n background-color: var(--ic-action-light-bg-hover);\n cursor: pointer;\n}\n\n:host(.footer-link-group-small.footer-link-group-dark:hover) {\n background-color: var(--ic-action-dark-bg-hover);\n cursor: pointer;\n}\n\n:host(.footer-link-group-sparse:focus) {\n box-shadow: var(--ic-border-focus-inset);\n border-radius: var(--ic-border-radius-inset);\n outline: var(--ic-hc-focus-outline);\n z-index: 1;\n}\n\n:host(.footer-link-group-small:focus) {\n box-shadow: var(--ic-border-focus-inset);\n border-radius: var(--ic-border-radius-inset);\n outline: var(--ic-hc-focus-outline);\n z-index: 1;\n}\n\n:host(.footer-link-group-small.footer-link-group-light:active) {\n background-color: var(--ic-action-light-bg-active);\n}\n\n:host(.footer-link-group-small.footer-link-group-dark:active) {\n background-color: var(--ic-action-dark-bg-active);\n}\n\n.footer-link-group-title {\n margin-top: var(--footer-link-group-title-margin-top);\n margin-bottom: var(--footer-link-group-title-margin-bottom);\n flex-grow: 1;\n}\n\n.footer-link-group-toggle {\n fill: white !important;\n}\n\n.footer-link-group-links {\n display: flex;\n flex-direction: column;\n}\n\n.footer-link-group-header {\n display: flex;\n align-items: center;\n}\n","import {\n Component,\n Host,\n Element,\n Listen,\n Prop,\n h,\n State,\n} from \"@stencil/core\";\nimport {\n DEVICE_SIZES,\n getThemeForegroundColor,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\nimport { IcTheme } from \"../../utils/types\";\n\n@Component({\n tag: \"ic-footer-link-group\",\n styleUrl: \"ic-footer-link-group.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class FooterLinkGroup {\n @Element() el: HTMLIcFooterLinkGroupElement;\n\n @State() expanded: boolean = false;\n @State() deviceSize: number = DEVICE_SIZES.XL;\n @State() dropdownIconStyle = getThemeForegroundColor();\n @State() small: boolean = false;\n\n /**\n * The title of the link group to be displayed.\n */\n @Prop() groupTitle!: string;\n\n componentWillLoad(): void {\n this.small = this.isSmall(this.el);\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.groupTitle, propName: \"group-title\" }],\n \"Footer Link Group\"\n );\n }\n\n @Listen(\"footerResized\", { target: \"document\" })\n footerResizeHandler(): void {\n this.small = this.isSmall(this.el);\n }\n\n @Listen(\"themeChange\", { target: \"document\" })\n footerThemeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.dropdownIconStyle = theme.mode;\n }\n\n private isSmall(e: HTMLElement): boolean {\n if (e.parentElement !== null) {\n if (e.parentElement.classList.contains(\"footer\")) {\n return e.parentElement.classList.contains(\"footer-small\");\n } else {\n return this.isSmall(e.parentElement);\n }\n } else {\n return false;\n }\n }\n\n private handleKeydown = (event: KeyboardEvent): void => {\n if (event.key === \" \" || event.key === \"Enter\") {\n this.toggleExpanded();\n }\n };\n\n private toggleExpanded = (): void => {\n this.expanded = !this.expanded;\n };\n\n render() {\n const { small, groupTitle } = this;\n\n return !small ? (\n <Host\n class={{\n [\"footer-link-group footer-link-group-sparse\"]: true,\n [`footer-link-group-${this.dropdownIconStyle}`]: true,\n }}\n role=\"listitem\"\n >\n <div class=\"footer-link-group-title\">\n <ic-typography variant=\"subtitle-small\">{groupTitle}</ic-typography>\n </div>\n <div class=\"footer-link-group-links\" 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 tabIndex=\"1\"\n onClick={this.toggleExpanded}\n onKeydown={this.handleKeydown}\n aria-expanded={this.expanded}\n >\n <ic-section-container fullHeight={true}>\n <div class=\"footer-link-group-header\">\n <div class=\"footer-link-group-title\">\n <ic-typography variant=\"label\">{groupTitle}</ic-typography>\n </div>\n {this.expanded ? (\n <svg\n class=\"footer-link-group-toggle\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"img\"\n width=\"1em\"\n height=\"1em\"\n preserveAspectRatio=\"xMidYMid meet\"\n viewBox=\"0 0 1200 1200\"\n >\n <path\n fill=\"currentColor\"\n d=\"M600.002 210.605L421.285 389.336L0 810.559l178.721 178.836l421.281-421.341l421.281 421.341L1200 810.559L778.733 389.336L600.002 210.605z\"\n />\n </svg>\n ) : (\n <svg\n class=\"footer-link-group-toggle\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"img\"\n width=\"1em\"\n height=\"1em\"\n preserveAspectRatio=\"xMidYMid meet\"\n viewBox=\"0 0 1200 1200\"\n >\n <g transform=\"translate(0 1200) scale(1 -1)\">\n <path\n fill=\"currentColor\"\n d=\"M600.002 210.605L421.285 389.336L0 810.559l178.721 178.836l421.281-421.341l421.281 421.341L1200 810.559L778.733 389.336L600.002 210.605z\"\n />\n </g>\n </svg>\n )}\n </div>\n {this.expanded && (\n <div class=\"footer-link-group-links\" 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.js","mappings":";;;;;AAAA,MAAM,oBAAoB,GAAG,23IAA23I;;MCuB34I,eAAe;;;;;QA+ClB,kBAAa,GAAG,CAAC,KAAoB;YAC3C,IAAI,KAAK,CAAC,GAAG,KAAK,GAAG,IAAI,KAAK,CAAC,GAAG,KAAK,OAAO,EAAE;gBAC9C,IAAI,CAAC,cAAc,EAAE,CAAC;aACvB;SACF,CAAC;QAEM,mBAAc,GAAG;YACvB,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;SAChC,CAAC;wBApD2B,KAAK;0BACJ,YAAY,CAAC,EAAE;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"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-light.footer-link-group-small) {\n --footer-link-group-border-bottom: var(--ic-border-keyline-lighten);\n}\n\n:host(.footer-link-group-dark.footer-link-group-small) {\n --footer-link-group-border-bottom: var(--ic-border-keyline-darken);\n}\n\n:host(.footer-link-group) {\n margin-right: var(--footer-link-group-margin-right);\n border-bottom: var(--footer-link-group-border-bottom);\n}\n\n:host(.footer-link-group-small.footer-link-group-light:hover) {\n background-color: var(--ic-action-light-bg-hover);\n cursor: pointer;\n}\n\n:host(.footer-link-group-small.footer-link-group-dark:hover) {\n background-color: var(--ic-action-dark-bg-hover);\n cursor: pointer;\n}\n\n:host(.footer-link-group-sparse:focus) {\n box-shadow: var(--ic-border-focus-inset);\n border-radius: var(--ic-border-radius-inset);\n outline: var(--ic-hc-focus-outline);\n z-index: 1;\n}\n\n:host(.footer-link-group-small:focus) {\n box-shadow: var(--ic-border-focus-inset);\n border-radius: var(--ic-border-radius-inset);\n outline: var(--ic-hc-focus-outline);\n z-index: 1;\n}\n\n:host(.footer-link-group-small.footer-link-group-light:active) {\n background-color: var(--ic-action-light-bg-pressed);\n}\n\n:host(.footer-link-group-small.footer-link-group-dark:active) {\n background-color: var(--ic-action-dark-bg-pressed);\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: white !important;\n}\n\n.footer-link-group-links {\n display: flex;\n flex-direction: column;\n}\n\n.footer-link-group-header {\n display: flex;\n align-items: center;\n}\n\nic-typography {\n --ic-typography-color: var(--ic-theme-text);\n}\n","import {\n Component,\n Host,\n Element,\n Listen,\n Prop,\n h,\n State,\n} from \"@stencil/core\";\nimport {\n DEVICE_SIZES,\n getThemeForegroundColor,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\nimport { IcTheme } from \"../../utils/types\";\n\n@Component({\n tag: \"ic-footer-link-group\",\n styleUrl: \"ic-footer-link-group.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class FooterLinkGroup {\n @Element() el: HTMLIcFooterLinkGroupElement;\n\n @State() expanded: boolean = false;\n @State() deviceSize: number = DEVICE_SIZES.XL;\n @State() dropdownIconStyle = getThemeForegroundColor();\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(\"themeChange\", { target: \"document\" })\n footerThemeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.dropdownIconStyle = theme.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 tabIndex=\"1\"\n onClick={this.toggleExpanded}\n onKeydown={this.handleKeydown}\n aria-expanded={this.expanded}\n >\n <ic-section-container 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,8 +1,8 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { D as DEVICE_SIZES, n as getThemeForegroundColor } from './helpers.js';
3
- import { O as OpenInNew } from './OpenInNew.js';
2
+ import { D as DEVICE_SIZES, k as getThemeForegroundColor } from './helpers.js';
3
+ import { d as defineCustomElement$2 } from './ic-link2.js';
4
4
 
5
- const icFooterLinkCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.footer-link-ungrouped-sparse){--footer-link-margin-left:0;--footer-link-margin-right:2.5rem;--footer-link-margin-bottom:0}:host(.footer-link-ungrouped-small){--footer-link-margin-left:0;--footer-link-margin-right:0;--footer-link-margin-bottom:var(--ic-space-md)}:host(.footer-link-grouped-sparse){--footer-link-margin-left:0;--footer-link-margin-right:0;--footer-link-margin-bottom:var(--ic-space-md)}:host(.footer-link-grouped-small){--footer-link-margin-left:var(--ic-space-md);--footer-link-margin-right:0;--footer-link-margin-bottom:var(--ic-space-md)}:host(.footer-link){margin-left:var(--footer-link-margin-left);margin-right:var(--footer-link-margin-right);margin-bottom:var(--footer-link-margin-bottom)}:host(.footer-link) a,:host(.footer-link) a ::slotted(a){display:flex;align-items:flex-end;font-weight:var(--ic-font-weight-bold);color:inherit;width:-moz-fit-content;width:fit-content;font-size:var(--ic-font-size-regular)}:host(.footer-link) a:link,:host(.footer-link) a ::slotted(a:link){color:inherit;text-decoration:underline;font-weight:var(--ic-font-weight-bold)}:host(.footer-link) a:link>::slotted(svg),:host(.footer-link) a:link>::slotted(img),:host(.footer-link) a ::slotted(a:link>::slotted(svg)),:host(.footer-link) a ::slotted(a:link>::slotted(img)){padding:var(--ic-space-xxxs);pointer-events:none;transition:var(--ic-easing-transition-fast)}:host(.footer-link-light) ::slotted(svg){fill:var(--ic-architectural-white)}:host(.footer-link-dark) ::slotted(svg){fill:var(--ic-architectural-black)}:host(.footer-link) a:link:hover,:host(.footer-link) a:link:focus,:host(.footer-link) a ::slotted(a:link:hover),:host(.footer-link) a ::slotted(a:link:focus){border-bottom:0.25rem solid !important;margin-bottom:-0.25rem !important;text-decoration:none}@supports (text-underline-offset: 25%){:host(.footer-link) a:link:hover,:host(.footer-link) a:link:focus,:host(.footer-link) a ::slotted(a:link:hover),:host(.footer-link) a ::slotted(a:link:focus){text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:25%;border-bottom:0 !important;margin-bottom:0 !important}}:host(.footer-link) a:link:hover,:host(.footer-link) a ::slotted(a:link:hover){outline:none}:host(.footer-link) a:link:focus,:host(.footer-link) a ::slotted(a:link:focus){outline:none}:host(.footer-link) a:link:focus>::slotted(svg),:host(.footer-link) a:link:focus>::slotted(img),:host(.footer-link) a ::slotted(a:link:focus>::slotted(svg)),:host(.footer-link) a ::slotted(a:link:focus>::slotted(img)){box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius)}:host(.footer-link) a:focus,:host(.footer-link) a ::slotted(a:focus){outline:none;transition:var(--ic-transition-duration-fast)}:host(.footer-link) a:link:active,:host(.footer-link) a:link:focus:active,:host(.footer-link) a:link:visited:active,:host(.footer-link) a ::slotted(a:link:active),:host(.footer-link) a ::slotted(a:link:focus:active),:host(.footer-link) a ::slotted(a:link:visited:active){color:inherit;text-decoration:none}:host(.footer-link) a:hover,:host(.footer-link) a ::slotted(a:hover){text-decoration:none}.open-in-new-icon{padding-left:var(--ic-space-xxs)}.open-in-new-icon,.open-in-new-icon svg{height:var(--ic-space-md);width:var(--ic-space-md)}:host(.footer-link-light) .open-in-new-icon svg{fill:var(--ic-architectural-white)}:host(.footer-link-dark) .open-in-new-icon svg{fill:var(--ic-architectural-black)}@media screen and (min-width: 769px){:host(.footer-link.footer-link-ungrouped-sparse:last-of-type){margin-right:0}}@media (forced-colors: active){:host(.footer-link-light) ::slotted(svg),:host(.footer-link-dark) ::slotted(svg){fill:currentcolor}}";
5
+ 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-theme-text)}:host(.footer-link-light) ::slotted(svg),:host(.footer-link-dark) ::slotted(svg){fill:var(--ic-theme-text)}@media (forced-colors: active){:host(.footer-link-light) ::slotted(svg),:host(.footer-link-dark) ::slotted(svg){fill:currentcolor}}";
6
6
 
7
7
  const FooterLink = /*@__PURE__*/ proxyCustomElement(class FooterLink extends HTMLElement {
8
8
  constructor() {
@@ -31,10 +31,10 @@ const FooterLink = /*@__PURE__*/ proxyCustomElement(class FooterLink extends HTM
31
31
  }
32
32
  inferConfig(e) {
33
33
  if (e.parentElement !== null) {
34
- if (e.parentElement.classList.contains("footer")) {
34
+ if (e.parentElement.classList.contains("ic-footer")) {
35
35
  return {
36
- small: e.parentElement.classList.contains("footer-small"),
37
- grouped: e.parentElement.classList.contains("footer-grouped"),
36
+ small: e.parentElement.classList.contains("ic-footer-small"),
37
+ grouped: e.parentElement.classList.contains("ic-footer-grouped"),
38
38
  };
39
39
  }
40
40
  else {
@@ -52,7 +52,7 @@ const FooterLink = /*@__PURE__*/ proxyCustomElement(class FooterLink extends HTM
52
52
  "footer-link": true,
53
53
  [`footer-link-${grouped ? "grouped" : "ungrouped"}-${small ? "small" : "sparse"}`]: true,
54
54
  [`footer-link-${this.foregroundColor}`]: true,
55
- }, role: "listitem" }, h("a", { href: href, hreflang: hreflang, referrerPolicy: referrerpolicy, rel: rel, download: download !== false ? download : null, target: target }, h("slot", null), target === "_blank" && (h("span", { class: "open-in-new-icon", innerHTML: OpenInNew })))));
55
+ }, role: "listitem" }, h("ic-link", { href: href, hreflang: hreflang, referrerpolicy: referrerpolicy, rel: rel, download: download !== false ? download : null, target: target }, h("slot", null))));
56
56
  }
57
57
  static get delegatesFocus() { return true; }
58
58
  get el() { return this; }
@@ -72,13 +72,18 @@ function defineCustomElement$1() {
72
72
  if (typeof customElements === "undefined") {
73
73
  return;
74
74
  }
75
- const components = ["ic-footer-link"];
75
+ const components = ["ic-footer-link", "ic-link"];
76
76
  components.forEach(tagName => { switch (tagName) {
77
77
  case "ic-footer-link":
78
78
  if (!customElements.get(tagName)) {
79
79
  customElements.define(tagName, FooterLink);
80
80
  }
81
81
  break;
82
+ case "ic-link":
83
+ if (!customElements.get(tagName)) {
84
+ defineCustomElement$2();
85
+ }
86
+ break;
82
87
  } });
83
88
  }
84
89
 
@@ -1 +1 @@
1
- {"file":"ic-footer-link.js","mappings":";;;;AAAA,MAAM,eAAe,GAAG,o9LAAo9L;;MCuB/9L,UAAU;;;;;0BAGS,YAAY,CAAC,EAAE;4BACP,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE;+BACxB,uBAAuB,EAAE;wBAKjC,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,EAAe;QACtC,MAAM,KAAK,GAAY,EAAE,CAAC,MAAM,CAAC;QACjC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,IAAI,CAAC;KACnC;IAEO,WAAW,CAAC,CAAc;QAChC,IAAI,CAAC,CAAC,aAAa,KAAK,IAAI,EAAE;YAC5B,IAAI,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;gBAChD,OAAO;oBACL,KAAK,EAAE,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC;oBACzD,OAAO,EAAE,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,gBAAgB,CAAC;iBAC9D,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,QACE,EAAC,IAAI,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;aAC9C,EACD,IAAI,EAAC,UAAU,IAEf,SACE,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,IAEd,eAAQ,EACP,MAAM,KAAK,QAAQ,KAClB,YAAM,KAAK,EAAC,kBAAkB,EAAC,SAAS,EAAE,SAAS,GAAI,CACxD,CACC,CACC,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/ic-footer-link/ic-footer-link.css?tag=ic-footer-link&encapsulation=shadow","src/components/ic-footer-link/ic-footer-link.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host(.footer-link-ungrouped-sparse) {\n --footer-link-margin-left: 0;\n --footer-link-margin-right: 2.5rem;\n --footer-link-margin-bottom: 0;\n}\n\n:host(.footer-link-ungrouped-small) {\n --footer-link-margin-left: 0;\n --footer-link-margin-right: 0;\n --footer-link-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-grouped-sparse) {\n --footer-link-margin-left: 0;\n --footer-link-margin-right: 0;\n --footer-link-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-grouped-small) {\n --footer-link-margin-left: var(--ic-space-md);\n --footer-link-margin-right: 0;\n --footer-link-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link) {\n margin-left: var(--footer-link-margin-left);\n margin-right: var(--footer-link-margin-right);\n margin-bottom: var(--footer-link-margin-bottom);\n}\n\n/* Link styling */\n\n:host(.footer-link) a,\n:host(.footer-link) a ::slotted(a) {\n display: flex;\n align-items: flex-end;\n font-weight: var(--ic-font-weight-bold);\n color: inherit;\n width: fit-content;\n font-size: var(--ic-font-size-regular);\n}\n\n:host(.footer-link) a:link,\n:host(.footer-link) a ::slotted(a:link) {\n color: inherit;\n text-decoration: underline;\n font-weight: var(--ic-font-weight-bold);\n}\n\n:host(.footer-link) a:link > ::slotted(svg),\n:host(.footer-link) a:link > ::slotted(img),\n:host(.footer-link) a ::slotted(a:link > ::slotted(svg)),\n:host(.footer-link) a ::slotted(a:link > ::slotted(img)) {\n padding: var(--ic-space-xxxs);\n pointer-events: none;\n transition: var(--ic-easing-transition-fast);\n}\n\n/*\nThere's an apparent defect in Chrome that means this isn't always re-rendered if changed.\nNot an issue in Safari. Line 73-79 implement the same function but less clean.\n\na:link > ::slotted(svg) ,\na:link:visited > ::slotted(svg) {\n fill: var(--ic-theme-text);\n}\n*/\n\n:host(.footer-link-light) ::slotted(svg) {\n fill: var(--ic-architectural-white);\n}\n\n:host(.footer-link-dark) ::slotted(svg) {\n fill: var(--ic-architectural-black);\n}\n\n:host(.footer-link) a:link:hover,\n:host(.footer-link) a:link:focus,\n:host(.footer-link) a ::slotted(a:link:hover),\n:host(.footer-link) a ::slotted(a:link:focus) {\n border-bottom: 0.25rem solid !important;\n margin-bottom: -0.25rem !important;\n text-decoration: none;\n}\n\n@supports (text-underline-offset: 25%) {\n :host(.footer-link) a:link:hover,\n :host(.footer-link) a:link:focus,\n :host(.footer-link) a ::slotted(a:link:hover),\n :host(.footer-link) a ::slotted(a:link:focus) {\n text-decoration-line: underline;\n text-decoration-thickness: 25%;\n text-underline-offset: 25%;\n border-bottom: 0 !important;\n margin-bottom: 0 !important;\n }\n}\n\n:host(.footer-link) a:link:hover,\n:host(.footer-link) a ::slotted(a:link:hover) {\n outline: none;\n}\n\n:host(.footer-link) a:link:focus,\n:host(.footer-link) a ::slotted(a:link:focus) {\n outline: none;\n}\n\n:host(.footer-link) a:link:focus > ::slotted(svg),\n:host(.footer-link) a:link:focus > ::slotted(img),\n:host(.footer-link) a ::slotted(a:link:focus > ::slotted(svg)),\n:host(.footer-link) a ::slotted(a:link:focus > ::slotted(img)) {\n box-shadow: var(--ic-border-focus);\n border-radius: var(--ic-border-radius);\n}\n\n:host(.footer-link) a:focus,\n:host(.footer-link) a ::slotted(a:focus) {\n outline: none;\n transition: var(--ic-transition-duration-fast);\n}\n\n:host(.footer-link) a:link:active,\n:host(.footer-link) a:link:focus:active,\n:host(.footer-link) a:link:visited:active,\n:host(.footer-link) a ::slotted(a:link:active),\n:host(.footer-link) a ::slotted(a:link:focus:active),\n:host(.footer-link) a ::slotted(a:link:visited:active) {\n color: inherit;\n text-decoration: none;\n}\n\n:host(.footer-link) a:hover,\n:host(.footer-link) a ::slotted(a:hover) {\n text-decoration: none;\n}\n\n.open-in-new-icon {\n padding-left: var(--ic-space-xxs);\n}\n\n.open-in-new-icon,\n.open-in-new-icon svg {\n height: var(--ic-space-md);\n width: var(--ic-space-md);\n}\n\n:host(.footer-link-light) .open-in-new-icon svg {\n fill: var(--ic-architectural-white);\n}\n\n:host(.footer-link-dark) .open-in-new-icon svg {\n fill: var(--ic-architectural-black);\n}\n\n@media screen and (min-width: 769px) {\n :host(.footer-link.footer-link-ungrouped-sparse:last-of-type) {\n margin-right: 0;\n }\n}\n\n@media (forced-colors: active) {\n :host(.footer-link-light) ::slotted(svg),\n :host(.footer-link-dark) ::slotted(svg) {\n fill: currentcolor;\n }\n}\n","import {\n Component,\n Element,\n Host,\n Listen,\n Prop,\n h,\n State,\n} from \"@stencil/core\";\nimport { DEVICE_SIZES, getThemeForegroundColor } from \"../../utils/helpers\";\nimport { IcTheme, IcThemeForeground } from \"../../utils/types\";\n\nimport OpenInNew from \"../../assets/OpenInNew.svg\";\n\ntype FooterConfig = { small: boolean; grouped: boolean };\n\n@Component({\n tag: \"ic-footer-link\",\n styleUrl: \"ic-footer-link.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class FooterLink {\n @Element() el: HTMLIcFooterLinkElement;\n\n @State() deviceSize: number = DEVICE_SIZES.XL;\n @State() footerConfig: FooterConfig = { small: false, grouped: false };\n @State() foregroundColor: IcThemeForeground = getThemeForegroundColor();\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(\"themeChange\", { target: \"document\" })\n footerThemeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.foregroundColor = theme.mode;\n }\n\n private inferConfig(e: HTMLElement): FooterConfig {\n if (e.parentElement !== null) {\n if (e.parentElement.classList.contains(\"footer\")) {\n return {\n small: e.parentElement.classList.contains(\"footer-small\"),\n grouped: e.parentElement.classList.contains(\"footer-grouped\"),\n };\n } else {\n return this.inferConfig(e.parentElement);\n }\n } else {\n return { small: false, grouped: false };\n }\n }\n\n render() {\n const {\n footerConfig,\n href,\n hreflang,\n referrerpolicy,\n rel,\n target,\n download,\n } = this;\n const { small, grouped } = footerConfig;\n\n return (\n <Host\n class={{\n \"footer-link\": true,\n [`footer-link-${grouped ? \"grouped\" : \"ungrouped\"}-${\n small ? \"small\" : \"sparse\"\n }`]: true,\n [`footer-link-${this.foregroundColor}`]: true,\n }}\n role=\"listitem\"\n >\n <a\n href={href}\n hreflang={hreflang}\n referrerPolicy={referrerpolicy}\n rel={rel}\n download={download !== false ? download : null}\n target={target}\n >\n <slot />\n {target === \"_blank\" && (\n <span class=\"open-in-new-icon\" innerHTML={OpenInNew} />\n )}\n </a>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-footer-link.js","mappings":";;;;AAAA,MAAM,eAAe,GAAG,2/IAA2/I;;MCqBtgJ,UAAU;;;;;0BAGS,YAAY,CAAC,EAAE;4BACP,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE;+BACxB,uBAAuB,EAAE;wBAKjC,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,EAAe;QACtC,MAAM,KAAK,GAAY,EAAE,CAAC,MAAM,CAAC;QACjC,IAAI,CAAC,eAAe,GAAG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;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"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-theme-text);\n}\n\n:host(.footer-link-light) ::slotted(svg),\n:host(.footer-link-dark) ::slotted(svg) {\n fill: var(--ic-theme-text);\n}\n\n@media (forced-colors: active) {\n :host(.footer-link-light) ::slotted(svg),\n :host(.footer-link-dark) ::slotted(svg) {\n fill: currentcolor;\n }\n}\n","import {\n Component,\n Element,\n Host,\n Listen,\n Prop,\n h,\n State,\n} from \"@stencil/core\";\nimport { DEVICE_SIZES, getThemeForegroundColor } from \"../../utils/helpers\";\nimport { IcTheme, IcThemeForeground } from \"../../utils/types\";\n\ntype FooterConfig = { small: boolean; grouped: boolean };\n\n@Component({\n tag: \"ic-footer-link\",\n styleUrl: \"ic-footer-link.css\",\n shadow: {\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: IcThemeForeground = getThemeForegroundColor();\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(\"themeChange\", { target: \"document\" })\n footerThemeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.foregroundColor = theme.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 return (\n <Host\n class={{\n \"footer-link\": true,\n [`footer-link-${grouped ? \"grouped\" : \"ungrouped\"}-${\n small ? \"small\" : \"sparse\"\n }`]: true,\n [`footer-link-${this.foregroundColor}`]: true,\n }}\n role=\"listitem\"\n >\n <ic-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}