@ukic/canary-web-components 3.0.0-canary.34 → 3.0.0-canary.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (935) hide show
  1. package/dist/cjs/{OpenInNew-7bac24f7.js → OpenInNew-add95b7b.js} +1 -1
  2. package/dist/cjs/OpenInNew-add95b7b.js.map +1 -0
  3. package/dist/{esm/purify-6eaa9893.js → cjs/common-helpers-577fc5b0.js} +22 -2
  4. package/dist/cjs/common-helpers-577fc5b0.js.map +1 -0
  5. package/dist/cjs/core.cjs.js +1 -1
  6. package/dist/cjs/{helpers-2cc5f6db.js → helpers-cb472df9.js} +1 -128
  7. package/dist/cjs/helpers-cb472df9.js.map +1 -0
  8. package/dist/cjs/ic-badge-27f26087.js +184 -0
  9. package/dist/cjs/ic-badge-27f26087.js.map +1 -0
  10. package/dist/cjs/ic-badge.cjs.entry.js +4 -177
  11. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-button-4c329a7d.js +435 -0
  13. package/dist/cjs/ic-button-4c329a7d.js.map +1 -0
  14. package/dist/cjs/ic-button_3.cjs.entry.js +9 -887
  15. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-calendar_2.cjs.entry.js +22 -13
  17. package/dist/cjs/ic-calendar_2.cjs.entry.js.map +1 -1
  18. package/dist/cjs/ic-card-horizontal.cjs.entry.js +10 -5
  19. package/dist/cjs/ic-card-horizontal.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ic-checkbox-ac44e0a2.js +204 -0
  21. package/dist/cjs/ic-checkbox-ac44e0a2.js.map +1 -0
  22. package/dist/cjs/ic-checkbox_3.cjs.entry.js +22 -208
  23. package/dist/cjs/ic-checkbox_3.cjs.entry.js.map +1 -1
  24. package/dist/cjs/ic-chip-1ff0950a.js +133 -0
  25. package/dist/cjs/ic-chip-1ff0950a.js.map +1 -0
  26. package/dist/cjs/ic-chip.cjs.entry.js +4 -119
  27. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  28. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +19 -4
  29. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js.map +1 -1
  30. package/dist/cjs/ic-data-table.cjs.entry.js +18 -10
  31. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  32. package/dist/cjs/ic-date-picker.cjs.entry.js +2 -2
  33. package/dist/cjs/ic-input-component-container_4.cjs.entry.js +7 -228
  34. package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-input-validation-bf7afa43.js +259 -0
  36. package/dist/cjs/ic-input-validation-bf7afa43.js.map +1 -0
  37. package/dist/cjs/ic-link-c77848ab.js +111 -0
  38. package/dist/cjs/ic-link-c77848ab.js.map +1 -0
  39. package/dist/cjs/ic-link.cjs.entry.js +5 -104
  40. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-loading-indicator-bbd1572c.js +233 -0
  42. package/dist/cjs/ic-loading-indicator-bbd1572c.js.map +1 -0
  43. package/dist/cjs/ic-menu-e9a1a0d3.js +987 -0
  44. package/dist/cjs/ic-menu-e9a1a0d3.js.map +1 -0
  45. package/dist/cjs/ic-menu.cjs.entry.js +6 -991
  46. package/dist/cjs/ic-menu.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ic-navigation-item-59bd8957.js +243 -0
  48. package/dist/cjs/ic-navigation-item-59bd8957.js.map +1 -0
  49. package/dist/cjs/ic-navigation-item.cjs.entry.js +5 -232
  50. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-page-header-3d8b3a59.js +131 -0
  52. package/dist/cjs/ic-page-header-3d8b3a59.js.map +1 -0
  53. package/dist/cjs/ic-page-header.cjs.entry.js +4 -124
  54. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-pagination_3.cjs.entry.js +16 -0
  56. package/dist/cjs/ic-pagination_3.cjs.entry.js.map +1 -0
  57. package/dist/cjs/ic-section-container-128e2db0.js +34 -0
  58. package/dist/cjs/ic-section-container-128e2db0.js.map +1 -0
  59. package/dist/cjs/ic-section-container.cjs.entry.js +3 -27
  60. package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-select-bc8ca251.js +876 -0
  62. package/dist/cjs/ic-select-bc8ca251.js.map +1 -0
  63. package/dist/cjs/ic-skip-link-43203eea.js +60 -0
  64. package/dist/cjs/ic-skip-link-43203eea.js.map +1 -0
  65. package/dist/cjs/ic-skip-link.cjs.entry.js +3 -53
  66. package/dist/cjs/ic-skip-link.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-status-tag-a4377a6b.js +55 -0
  68. package/dist/cjs/ic-status-tag-a4377a6b.js.map +1 -0
  69. package/dist/cjs/ic-status-tag.cjs.entry.js +4 -48
  70. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-table-of-contents.cjs.entry.js +14 -3
  72. package/dist/cjs/ic-table-of-contents.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ic-text-field-5d7ae957.js +732 -0
  74. package/dist/cjs/ic-text-field-5d7ae957.js.map +1 -0
  75. package/dist/cjs/ic-theme.cjs.entry.js +2 -2
  76. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  77. package/dist/cjs/ic-time-input.cjs.entry.js +16 -6
  78. package/dist/cjs/ic-time-input.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ic-time-selector.cjs.entry.js +11 -8
  80. package/dist/cjs/ic-time-selector.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ic-toggle-button-ce67a1ec.js +452 -0
  82. package/dist/cjs/ic-toggle-button-ce67a1ec.js.map +1 -0
  83. package/dist/cjs/ic-toggle-button_2.cjs.entry.js +5 -445
  84. package/dist/cjs/ic-toggle-button_2.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ic-tooltip-3cc80832.js +239 -0
  86. package/dist/cjs/ic-tooltip-3cc80832.js.map +1 -0
  87. package/dist/cjs/ic-top-navigation-a6c4be7b.js +237 -0
  88. package/dist/cjs/ic-top-navigation-a6c4be7b.js.map +1 -0
  89. package/dist/cjs/ic-top-navigation.cjs.entry.js +4 -227
  90. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  91. package/dist/cjs/ic-tree-item.cjs.entry.js +5 -4
  92. package/dist/cjs/ic-tree-item.cjs.entry.js.map +1 -1
  93. package/dist/cjs/ic-tree-view.cjs.entry.js +7 -5
  94. package/dist/cjs/ic-tree-view.cjs.entry.js.map +1 -1
  95. package/dist/cjs/ic-typography-a199c128.js +198 -0
  96. package/dist/cjs/ic-typography-a199c128.js.map +1 -0
  97. package/dist/cjs/ic-typography.cjs.entry.js +4 -191
  98. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  99. package/dist/cjs/index-d337cd8a.js +6 -170
  100. package/dist/cjs/loader.cjs.js +1 -1
  101. package/dist/collection/collection-manifest.json +28 -76
  102. package/dist/collection/components/ic-calendar/ic-calendar.js +12 -10
  103. package/dist/collection/components/ic-calendar/ic-calendar.js.map +1 -1
  104. package/dist/collection/components/ic-calendar/ic-day-button.js +1 -0
  105. package/dist/collection/components/ic-calendar/ic-day-button.js.map +1 -1
  106. package/dist/collection/components/ic-calendar/ic-month-picker.js +1 -0
  107. package/dist/collection/components/ic-calendar/ic-month-picker.js.map +1 -1
  108. package/dist/collection/components/ic-calendar/ic-year-picker.js +1 -0
  109. package/dist/collection/components/ic-calendar/ic-year-picker.js.map +1 -1
  110. package/dist/collection/components/ic-calendar/test/a11y/ic-calendar.test.a11y.js +1 -1
  111. package/dist/collection/components/ic-calendar/test/a11y/ic-calendar.test.a11y.js.map +1 -1
  112. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js +9 -5
  113. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js.map +1 -1
  114. package/dist/collection/components/ic-data-table/ic-data-table.js +15 -8
  115. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  116. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js +18 -4
  117. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js.map +1 -1
  118. package/dist/collection/components/ic-date-input/ic-date-input.js +13 -3
  119. package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
  120. package/dist/collection/components/ic-date-input/test/helpers/ic-date-input.js +1 -1
  121. package/dist/collection/components/ic-date-input/test/helpers/ic-date-input.js.map +1 -1
  122. package/dist/collection/components/ic-date-picker/ic-date-picker.js +2 -2
  123. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +19 -12
  124. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
  125. package/dist/collection/components/ic-table-of-contents/ic-table-of-contents-item.js +1 -0
  126. package/dist/collection/components/ic-table-of-contents/ic-table-of-contents-item.js.map +1 -1
  127. package/dist/collection/components/ic-table-of-contents/ic-table-of-contents.js +12 -3
  128. package/dist/collection/components/ic-table-of-contents/ic-table-of-contents.js.map +1 -1
  129. package/dist/collection/components/ic-time-input/ic-time-input.js +18 -6
  130. package/dist/collection/components/ic-time-input/ic-time-input.js.map +1 -1
  131. package/dist/collection/components/ic-time-input/test/helpers/ic-time-input.js +1 -1
  132. package/dist/collection/components/ic-time-input/test/helpers/ic-time-input.js.map +1 -1
  133. package/dist/collection/components/ic-time-selector/ic-time-selector.js +10 -8
  134. package/dist/collection/components/ic-time-selector/ic-time-selector.js.map +1 -1
  135. package/dist/collection/components/ic-tree-item/ic-tree-item.js +4 -4
  136. package/dist/collection/components/ic-tree-item/ic-tree-item.js.map +1 -1
  137. package/dist/collection/components/ic-tree-view/ic-tree-view.js +5 -3
  138. package/dist/collection/components/ic-tree-view/ic-tree-view.js.map +1 -1
  139. package/dist/collection/components/ic-tree-view/ic-tree-view.stories.js +32 -2
  140. package/dist/collection/components/ic-tree-view/ic-tree-view.stories.js.map +1 -1
  141. package/dist/components/common-helpers.js +1364 -3
  142. package/dist/components/common-helpers.js.map +1 -1
  143. package/dist/components/helpers.js +1 -116
  144. package/dist/components/helpers.js.map +1 -1
  145. package/dist/components/ic-badge.d.ts +11 -0
  146. package/dist/components/ic-badge.js +3 -3
  147. package/dist/components/ic-badge.js.map +1 -1
  148. package/dist/components/ic-button.d.ts +11 -0
  149. package/dist/components/ic-button2.js +3 -3
  150. package/dist/components/ic-button2.js.map +1 -1
  151. package/dist/components/ic-calendar2.js +12 -11
  152. package/dist/components/ic-calendar2.js.map +1 -1
  153. package/dist/components/ic-card-horizontal.js +6 -5
  154. package/dist/components/ic-card-horizontal.js.map +1 -1
  155. package/dist/components/ic-checkbox.d.ts +11 -0
  156. package/dist/components/ic-checkbox2.js +5 -5
  157. package/dist/components/ic-checkbox2.js.map +1 -1
  158. package/dist/components/ic-chip.d.ts +11 -0
  159. package/dist/components/ic-chip.js +14 -6
  160. package/dist/components/ic-chip.js.map +1 -1
  161. package/dist/components/ic-data-table-title-bar.js +18 -7
  162. package/dist/components/ic-data-table-title-bar.js.map +1 -1
  163. package/dist/components/ic-data-table.js +34 -40
  164. package/dist/components/ic-data-table.js.map +1 -1
  165. package/dist/components/ic-date-input2.js +10 -6
  166. package/dist/components/ic-date-input2.js.map +1 -1
  167. package/dist/components/ic-date-picker.js +2 -2
  168. package/dist/components/ic-empty-state.d.ts +11 -0
  169. package/dist/components/ic-empty-state2.js +3 -3
  170. package/dist/components/ic-empty-state2.js.map +1 -1
  171. package/dist/components/ic-input-component-container.d.ts +11 -0
  172. package/dist/components/ic-input-component-container2.js +5 -4
  173. package/dist/components/ic-input-component-container2.js.map +1 -1
  174. package/dist/components/ic-input-container.d.ts +11 -0
  175. package/dist/components/ic-input-container2.js +2 -2
  176. package/dist/components/ic-input-container2.js.map +1 -1
  177. package/dist/components/ic-input-label.d.ts +11 -0
  178. package/dist/components/ic-input-label2.js +3 -3
  179. package/dist/components/ic-input-label2.js.map +1 -1
  180. package/dist/components/ic-input-validation.d.ts +11 -0
  181. package/dist/components/ic-input-validation2.js +21 -4
  182. package/dist/components/ic-input-validation2.js.map +1 -1
  183. package/dist/components/ic-link.d.ts +11 -0
  184. package/dist/components/ic-link2.js +2 -2
  185. package/dist/components/ic-link2.js.map +1 -1
  186. package/dist/components/ic-loading-indicator.d.ts +11 -0
  187. package/dist/components/ic-loading-indicator2.js +5 -5
  188. package/dist/components/ic-loading-indicator2.js.map +1 -1
  189. package/dist/components/ic-menu.d.ts +11 -0
  190. package/dist/components/ic-menu2.js +10 -21
  191. package/dist/components/ic-menu2.js.map +1 -1
  192. package/dist/components/ic-navigation-item.d.ts +11 -0
  193. package/dist/components/ic-navigation-item.js +8 -4
  194. package/dist/components/ic-navigation-item.js.map +1 -1
  195. package/dist/components/ic-page-header.d.ts +11 -0
  196. package/dist/components/ic-page-header.js +9 -33
  197. package/dist/components/ic-page-header.js.map +1 -1
  198. package/dist/components/ic-pagination-bar2.js +23 -29
  199. package/dist/components/ic-pagination-bar2.js.map +1 -1
  200. package/dist/components/ic-pagination.d.ts +11 -0
  201. package/dist/components/ic-pagination2.js +34 -15
  202. package/dist/components/ic-pagination2.js.map +1 -1
  203. package/dist/components/ic-section-container.d.ts +11 -0
  204. package/dist/components/ic-section-container2.js +2 -2
  205. package/dist/components/ic-section-container2.js.map +1 -1
  206. package/dist/components/ic-select.d.ts +11 -0
  207. package/dist/components/ic-select2.js +7 -7
  208. package/dist/components/ic-select2.js.map +1 -1
  209. package/dist/components/ic-skip-link.d.ts +11 -0
  210. package/dist/components/ic-skip-link.js +2 -2
  211. package/dist/components/ic-skip-link.js.map +1 -1
  212. package/dist/components/ic-status-tag.d.ts +11 -0
  213. package/dist/components/ic-status-tag.js +2 -2
  214. package/dist/components/ic-status-tag.js.map +1 -1
  215. package/dist/components/ic-table-of-contents.js +5 -4
  216. package/dist/components/ic-table-of-contents.js.map +1 -1
  217. package/dist/components/ic-text-field.d.ts +11 -0
  218. package/dist/components/ic-text-field2.js +6 -6
  219. package/dist/components/ic-text-field2.js.map +1 -1
  220. package/dist/components/ic-theme.d.ts +11 -0
  221. package/dist/components/ic-theme.js +2 -2
  222. package/dist/components/ic-theme.js.map +1 -1
  223. package/dist/components/ic-time-input.js +15 -11
  224. package/dist/components/ic-time-input.js.map +1 -1
  225. package/dist/components/ic-time-selector.js +9 -9
  226. package/dist/components/ic-time-selector.js.map +1 -1
  227. package/dist/components/ic-toggle-button-group.d.ts +11 -0
  228. package/dist/components/ic-toggle-button-group2.js +2 -2
  229. package/dist/components/ic-toggle-button-group2.js.map +1 -1
  230. package/dist/components/ic-toggle-button.d.ts +11 -0
  231. package/dist/components/ic-toggle-button2.js +3 -3
  232. package/dist/components/ic-toggle-button2.js.map +1 -1
  233. package/dist/components/ic-tooltip.d.ts +11 -0
  234. package/dist/components/ic-tooltip2.js +3 -3
  235. package/dist/components/ic-tooltip2.js.map +1 -1
  236. package/dist/components/ic-top-navigation.d.ts +11 -0
  237. package/dist/components/ic-top-navigation.js +12 -21
  238. package/dist/components/ic-top-navigation.js.map +1 -1
  239. package/dist/components/ic-tree-item.js +4 -5
  240. package/dist/components/ic-tree-item.js.map +1 -1
  241. package/dist/components/ic-tree-view.js +5 -4
  242. package/dist/components/ic-tree-view.js.map +1 -1
  243. package/dist/components/ic-typography.d.ts +11 -0
  244. package/dist/components/ic-typography2.js +3 -3
  245. package/dist/components/ic-typography2.js.map +1 -1
  246. package/dist/components/success-icon.js +11 -0
  247. package/dist/components/success-icon.js.map +1 -0
  248. package/dist/core/core.css +1 -1
  249. package/dist/core/core.esm.js +1 -1
  250. package/dist/core/core.esm.js.map +1 -1
  251. package/dist/core/p-01b04775.js +2 -0
  252. package/dist/core/p-01b04775.js.map +1 -0
  253. package/dist/core/p-02d0a238.entry.js +2 -0
  254. package/dist/core/{p-c4b2774d.entry.js → p-0592277b.js} +2 -2
  255. package/dist/core/p-0592277b.js.map +1 -0
  256. package/dist/core/p-0664935b.js +2 -0
  257. package/dist/core/p-0664935b.js.map +1 -0
  258. package/dist/core/p-0aa06309.entry.js +2 -0
  259. package/dist/core/p-0aa06309.entry.js.map +1 -0
  260. package/dist/core/p-0c02b16c.entry.js +2 -0
  261. package/dist/core/p-1836fef6.entry.js +2 -0
  262. package/dist/core/p-1836fef6.entry.js.map +1 -0
  263. package/dist/core/{p-79ead0e7.entry.js → p-18d5e467.js} +2 -2
  264. package/dist/core/p-18d5e467.js.map +1 -0
  265. package/dist/core/p-1ddc08d0.js +2 -0
  266. package/dist/core/p-1ddc08d0.js.map +1 -0
  267. package/dist/core/{p-201b41c7.entry.js → p-22267c01.entry.js} +2 -2
  268. package/dist/core/p-27962d4d.entry.js +2 -0
  269. package/dist/core/p-384a7f60.entry.js +2 -0
  270. package/dist/core/p-3ed17bfc.entry.js +2 -0
  271. package/dist/core/p-3ed17bfc.entry.js.map +1 -0
  272. package/dist/core/p-42bacb0d.entry.js +2 -0
  273. package/dist/core/p-42bacb0d.entry.js.map +1 -0
  274. package/dist/core/p-4385552a.entry.js +2 -0
  275. package/dist/core/p-4385552a.entry.js.map +1 -0
  276. package/dist/core/{p-551a0fc1.entry.js → p-510f8257.entry.js} +2 -2
  277. package/dist/core/p-510f8257.entry.js.map +1 -0
  278. package/dist/core/{p-939025af.entry.js → p-5585895d.js} +2 -2
  279. package/dist/core/p-5585895d.js.map +1 -0
  280. package/dist/core/p-56ef5c79.js +2 -0
  281. package/dist/core/p-56ef5c79.js.map +1 -0
  282. package/dist/core/{p-7efdbab8.entry.js → p-5d5b1aa8.js} +2 -2
  283. package/dist/core/p-5d5b1aa8.js.map +1 -0
  284. package/dist/core/p-5e14ec1e.entry.js +2 -0
  285. package/dist/core/p-5e14ec1e.entry.js.map +1 -0
  286. package/dist/core/p-67a25154.entry.js +2 -0
  287. package/dist/core/p-67a25154.entry.js.map +1 -0
  288. package/dist/core/{p-ea1ea1b9.js → p-67a4f674.js} +1 -1
  289. package/dist/core/p-67a4f674.js.map +1 -0
  290. package/dist/core/p-6f45df7a.entry.js +2 -0
  291. package/dist/core/p-6f45df7a.entry.js.map +1 -0
  292. package/dist/core/{p-33509a89.entry.js → p-7843f9be.js} +2 -2
  293. package/dist/core/p-7843f9be.js.map +1 -0
  294. package/dist/core/p-7bbd1881.js +2 -0
  295. package/dist/core/p-7bbd1881.js.map +1 -0
  296. package/dist/core/{p-349d91dc.js → p-7d378ee6.js} +3 -3
  297. package/dist/core/p-7d378ee6.js.map +1 -0
  298. package/dist/core/p-7e4404fc.entry.js +2 -0
  299. package/dist/core/p-7e4404fc.entry.js.map +1 -0
  300. package/dist/core/p-84129c7e.entry.js +2 -0
  301. package/dist/core/p-84129c7e.entry.js.map +1 -0
  302. package/dist/core/p-857362bd.entry.js +2 -0
  303. package/dist/core/p-857362bd.entry.js.map +1 -0
  304. package/dist/core/p-883e677d.entry.js +2 -0
  305. package/dist/core/p-883e677d.entry.js.map +1 -0
  306. package/dist/core/p-9148bd35.js +2 -0
  307. package/dist/core/p-9148bd35.js.map +1 -0
  308. package/dist/core/p-92e447e1.entry.js +2 -0
  309. package/dist/core/p-92e447e1.entry.js.map +1 -0
  310. package/dist/core/p-964d0e32.js +2 -0
  311. package/dist/core/p-964d0e32.js.map +1 -0
  312. package/dist/core/{p-9ca147f3.entry.js → p-9b218099.js} +2 -2
  313. package/dist/core/p-9b218099.js.map +1 -0
  314. package/dist/core/p-a4cb3520.js +2 -0
  315. package/dist/core/p-a4cb3520.js.map +1 -0
  316. package/dist/core/p-a50e4bdf.entry.js +2 -0
  317. package/dist/core/p-a50e4bdf.entry.js.map +1 -0
  318. package/dist/core/p-b8325ec4.js +2 -0
  319. package/dist/core/p-b8325ec4.js.map +1 -0
  320. package/dist/core/p-c1337dbc.entry.js +2 -0
  321. package/dist/core/p-c1337dbc.entry.js.map +1 -0
  322. package/dist/core/p-c2669ec9.js +2 -0
  323. package/dist/core/p-c2669ec9.js.map +1 -0
  324. package/dist/core/p-c5ac4fcc.entry.js +2 -0
  325. package/dist/core/p-c5ac4fcc.entry.js.map +1 -0
  326. package/dist/core/{p-879c180d.entry.js → p-c5d680be.js} +2 -2
  327. package/dist/core/p-c5d680be.js.map +1 -0
  328. package/dist/core/p-cd454ff0.entry.js +2 -0
  329. package/dist/core/p-cd454ff0.entry.js.map +1 -0
  330. package/dist/core/{p-319e3d5b.entry.js → p-d107dfa8.js} +2 -2
  331. package/dist/core/p-d107dfa8.js.map +1 -0
  332. package/dist/core/p-da2a9ddc.js +2 -0
  333. package/dist/core/p-da2a9ddc.js.map +1 -0
  334. package/dist/core/p-dc3a13d5.entry.js +2 -0
  335. package/dist/core/p-dc3a13d5.entry.js.map +1 -0
  336. package/dist/core/p-f3267773.entry.js +2 -0
  337. package/dist/core/p-f3267773.entry.js.map +1 -0
  338. package/dist/core/p-f65f0065.js +2 -0
  339. package/dist/core/p-f65f0065.js.map +1 -0
  340. package/dist/core/p-fc239961.entry.js +2 -0
  341. package/dist/core/p-fc239961.entry.js.map +1 -0
  342. package/dist/core/p-fd4fd86a.entry.js +2 -0
  343. package/dist/core/p-fd4fd86a.entry.js.map +1 -0
  344. package/dist/esm/{OpenInNew-52210a9d.js → OpenInNew-6f820c13.js} +1 -1
  345. package/dist/esm/OpenInNew-6f820c13.js.map +1 -0
  346. package/dist/{cjs/purify-039f565a.js → esm/common-helpers-f2174548.js} +18 -3
  347. package/dist/esm/common-helpers-f2174548.js.map +1 -0
  348. package/dist/esm/core.js +1 -1
  349. package/dist/esm/{helpers-063369f4.js → helpers-15fb9b13.js} +2 -117
  350. package/dist/esm/helpers-15fb9b13.js.map +1 -0
  351. package/dist/esm/ic-badge-5c2b4bc7.js +182 -0
  352. package/dist/esm/ic-badge-5c2b4bc7.js.map +1 -0
  353. package/dist/esm/ic-badge.entry.js +3 -180
  354. package/dist/esm/ic-badge.entry.js.map +1 -1
  355. package/dist/esm/ic-button-2f9b4e8a.js +433 -0
  356. package/dist/esm/ic-button-2f9b4e8a.js.map +1 -0
  357. package/dist/esm/ic-button_3.entry.js +6 -888
  358. package/dist/esm/ic-button_3.entry.js.map +1 -1
  359. package/dist/esm/ic-calendar_2.entry.js +22 -13
  360. package/dist/esm/ic-calendar_2.entry.js.map +1 -1
  361. package/dist/esm/ic-card-horizontal.entry.js +10 -5
  362. package/dist/esm/ic-card-horizontal.entry.js.map +1 -1
  363. package/dist/esm/ic-checkbox-f21a3f00.js +201 -0
  364. package/dist/esm/ic-checkbox-f21a3f00.js.map +1 -0
  365. package/dist/esm/ic-checkbox_3.entry.js +17 -203
  366. package/dist/esm/ic-checkbox_3.entry.js.map +1 -1
  367. package/dist/esm/ic-chip-b44cea5b.js +131 -0
  368. package/dist/esm/ic-chip-b44cea5b.js.map +1 -0
  369. package/dist/esm/ic-chip.entry.js +3 -122
  370. package/dist/esm/ic-chip.entry.js.map +1 -1
  371. package/dist/esm/ic-data-table-title-bar.entry.js +19 -4
  372. package/dist/esm/ic-data-table-title-bar.entry.js.map +1 -1
  373. package/dist/esm/ic-data-table.entry.js +18 -10
  374. package/dist/esm/ic-data-table.entry.js.map +1 -1
  375. package/dist/esm/ic-date-picker.entry.js +2 -2
  376. package/dist/esm/ic-input-component-container_4.entry.js +3 -228
  377. package/dist/esm/ic-input-component-container_4.entry.js.map +1 -1
  378. package/dist/esm/ic-input-validation-cce3bb05.js +254 -0
  379. package/dist/esm/ic-input-validation-cce3bb05.js.map +1 -0
  380. package/dist/esm/ic-link-0f6ba1b0.js +109 -0
  381. package/dist/esm/ic-link-0f6ba1b0.js.map +1 -0
  382. package/dist/esm/ic-link.entry.js +4 -107
  383. package/dist/esm/ic-link.entry.js.map +1 -1
  384. package/dist/esm/ic-loading-indicator-7ec7c6c9.js +231 -0
  385. package/dist/esm/ic-loading-indicator-7ec7c6c9.js.map +1 -0
  386. package/dist/esm/ic-menu-c29dda8d.js +985 -0
  387. package/dist/esm/ic-menu-c29dda8d.js.map +1 -0
  388. package/dist/esm/ic-menu.entry.js +5 -994
  389. package/dist/esm/ic-menu.entry.js.map +1 -1
  390. package/dist/esm/ic-navigation-item-e775ce8c.js +241 -0
  391. package/dist/esm/ic-navigation-item-e775ce8c.js.map +1 -0
  392. package/dist/esm/ic-navigation-item.entry.js +4 -235
  393. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  394. package/dist/esm/ic-page-header-a4a552fe.js +129 -0
  395. package/dist/esm/ic-page-header-a4a552fe.js.map +1 -0
  396. package/dist/esm/ic-page-header.entry.js +3 -127
  397. package/dist/esm/ic-page-header.entry.js.map +1 -1
  398. package/dist/esm/ic-pagination_3.entry.js +6 -0
  399. package/dist/esm/ic-pagination_3.entry.js.map +1 -0
  400. package/dist/esm/ic-section-container-3b887eb7.js +32 -0
  401. package/dist/esm/ic-section-container-3b887eb7.js.map +1 -0
  402. package/dist/esm/ic-section-container.entry.js +2 -30
  403. package/dist/esm/ic-section-container.entry.js.map +1 -1
  404. package/dist/esm/ic-select-cb04ab16.js +874 -0
  405. package/dist/esm/ic-select-cb04ab16.js.map +1 -0
  406. package/dist/esm/ic-skip-link-7c9b8269.js +58 -0
  407. package/dist/esm/ic-skip-link-7c9b8269.js.map +1 -0
  408. package/dist/esm/ic-skip-link.entry.js +2 -56
  409. package/dist/esm/ic-skip-link.entry.js.map +1 -1
  410. package/dist/esm/ic-status-tag-7395532c.js +53 -0
  411. package/dist/esm/ic-status-tag-7395532c.js.map +1 -0
  412. package/dist/esm/ic-status-tag.entry.js +3 -51
  413. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  414. package/dist/esm/ic-table-of-contents.entry.js +14 -3
  415. package/dist/esm/ic-table-of-contents.entry.js.map +1 -1
  416. package/dist/esm/ic-text-field-73754fc7.js +729 -0
  417. package/dist/esm/ic-text-field-73754fc7.js.map +1 -0
  418. package/dist/esm/ic-theme.entry.js +2 -2
  419. package/dist/esm/ic-theme.entry.js.map +1 -1
  420. package/dist/esm/ic-time-input.entry.js +16 -6
  421. package/dist/esm/ic-time-input.entry.js.map +1 -1
  422. package/dist/esm/ic-time-selector.entry.js +11 -8
  423. package/dist/esm/ic-time-selector.entry.js.map +1 -1
  424. package/dist/esm/ic-toggle-button-c58aaaec.js +449 -0
  425. package/dist/esm/ic-toggle-button-c58aaaec.js.map +1 -0
  426. package/dist/esm/ic-toggle-button_2.entry.js +3 -447
  427. package/dist/esm/ic-toggle-button_2.entry.js.map +1 -1
  428. package/dist/esm/ic-tooltip-3c856fa7.js +237 -0
  429. package/dist/esm/ic-tooltip-3c856fa7.js.map +1 -0
  430. package/dist/esm/ic-top-navigation-ba78648a.js +235 -0
  431. package/dist/esm/ic-top-navigation-ba78648a.js.map +1 -0
  432. package/dist/esm/ic-top-navigation.entry.js +3 -230
  433. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  434. package/dist/esm/ic-tree-item.entry.js +5 -4
  435. package/dist/esm/ic-tree-item.entry.js.map +1 -1
  436. package/dist/esm/ic-tree-view.entry.js +7 -5
  437. package/dist/esm/ic-tree-view.entry.js.map +1 -1
  438. package/dist/esm/ic-typography-9e3efc99.js +196 -0
  439. package/dist/esm/ic-typography-9e3efc99.js.map +1 -0
  440. package/dist/esm/ic-typography.entry.js +3 -194
  441. package/dist/esm/ic-typography.entry.js.map +1 -1
  442. package/dist/esm/index-a7a720e7.js +6 -170
  443. package/dist/esm/loader.js +1 -1
  444. package/dist/types/components/ic-calendar/ic-calendar.d.ts +2 -0
  445. package/dist/types/components/ic-calendar/ic-day-button.d.ts +1 -0
  446. package/dist/types/components/ic-calendar/ic-month-picker.d.ts +1 -0
  447. package/dist/types/components/ic-calendar/ic-year-picker.d.ts +1 -0
  448. package/dist/types/components/ic-card-horizontal/ic-card-horizontal.d.ts +4 -0
  449. package/dist/types/components/ic-data-table/ic-data-table.d.ts +7 -0
  450. package/dist/types/components/ic-data-table-title-bar/ic-data-table-title-bar.d.ts +4 -0
  451. package/dist/types/components/ic-date-input/ic-date-input.d.ts +7 -0
  452. package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +8 -1
  453. package/dist/types/components/ic-table-of-contents/ic-table-of-contents-item.d.ts +1 -0
  454. package/dist/types/components/ic-table-of-contents/ic-table-of-contents.d.ts +9 -0
  455. package/dist/types/components/ic-time-input/ic-time-input.d.ts +9 -0
  456. package/dist/types/components/ic-time-selector/ic-time-selector.d.ts +2 -0
  457. package/dist/types/components/ic-tree-item/ic-tree-item.d.ts +1 -0
  458. package/dist/types/components/ic-tree-view/ic-tree-view.d.ts +2 -0
  459. package/dist/types/components/ic-tree-view/ic-tree-view.stories.d.ts +27 -21
  460. package/dist/types/components.d.ts +3968 -826
  461. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-badge/ic-badge.d.ts +74 -0
  462. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-badge/ic-badge.types.d.ts +4 -0
  463. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-button/ic-button.d.ts +210 -0
  464. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-button/ic-button.types.d.ts +2 -0
  465. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-checkbox/ic-checkbox.d.ts +90 -0
  466. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-chip/ic-chip.d.ts +75 -0
  467. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-empty-state/ic-empty-state.d.ts +44 -0
  468. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-empty-state/ic-empty-state.types.d.ts +1 -0
  469. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-input-component-container/ic-input-component-container.d.ts +40 -0
  470. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-input-container/ic-input-container.d.ts +11 -0
  471. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-input-label/ic-input-label.d.ts +42 -0
  472. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-input-validation/ic-input-validation.d.ts +32 -0
  473. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-link/ic-link.d.ts +55 -0
  474. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-loading-indicator/ic-loading-indicator.d.ts +83 -0
  475. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +9 -0
  476. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-menu/ic-menu.d.ts +235 -0
  477. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-menu/ic-menu.types.d.ts +12 -0
  478. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-navigation-item/ic-navigation-item.d.ts +102 -0
  479. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-page-header/ic-page-header.d.ts +61 -0
  480. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-pagination/ic-pagination.d.ts +102 -0
  481. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-pagination/ic-pagination.types.d.ts +6 -0
  482. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-search-bar/ic-search-bar.types.d.ts +5 -0
  483. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-section-container/ic-section-container.d.ts +12 -0
  484. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-select/ic-select.d.ts +282 -0
  485. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-side-navigation/ic-side-navigation.types.d.ts +13 -0
  486. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-skip-link/ic-skip-link.d.ts +38 -0
  487. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-status-tag/ic-status-tag.d.ts +35 -0
  488. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-status-tag/ic-status-tag.types.d.ts +1 -0
  489. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-text-field/ic-text-field.d.ts +262 -0
  490. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-text-field/ic-text-field.types.d.ts +8 -0
  491. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-theme/ic-theme.d.ts +28 -0
  492. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-toggle-button/ic-toggle-button.d.ts +75 -0
  493. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-toggle-button-group/ic-toggle-button-group.d.ts +92 -0
  494. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-toggle-button-group/ic-toggle-button-group.types.d.ts +7 -0
  495. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-tooltip/ic-tooltip.d.ts +82 -0
  496. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-tooltip/ic-tooltip.types.d.ts +1 -0
  497. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-top-navigation/ic-top-navigation.d.ts +102 -0
  498. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/components/ic-typography/ic-typography.d.ts +83 -0
  499. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/utils/helpers.d.ts +167 -0
  500. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/utils/types.d.ts +98 -0
  501. package/hydrate/index.js +10692 -18156
  502. package/hydrate/index.mjs +10692 -18156
  503. package/package.json +14 -20
  504. package/dist/cjs/OpenInNew-7bac24f7.js.map +0 -1
  505. package/dist/cjs/check-icon-dd563898.js +0 -10
  506. package/dist/cjs/check-icon-dd563898.js.map +0 -1
  507. package/dist/cjs/chevron-icon-3dedd973.js +0 -10
  508. package/dist/cjs/chevron-icon-3dedd973.js.map +0 -1
  509. package/dist/cjs/close-icon-d62b369d.js +0 -12
  510. package/dist/cjs/close-icon-d62b369d.js.map +0 -1
  511. package/dist/cjs/common-helpers-944cb54d.js +0 -21
  512. package/dist/cjs/common-helpers-944cb54d.js.map +0 -1
  513. package/dist/cjs/helpers-2cc5f6db.js.map +0 -1
  514. package/dist/cjs/ic-accordion-group.cjs.entry.js +0 -137
  515. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +0 -1
  516. package/dist/cjs/ic-accordion.cjs.entry.js +0 -150
  517. package/dist/cjs/ic-accordion.cjs.entry.js.map +0 -1
  518. package/dist/cjs/ic-action-chip.cjs.entry.js +0 -116
  519. package/dist/cjs/ic-action-chip.cjs.entry.js.map +0 -1
  520. package/dist/cjs/ic-alert.cjs.entry.js +0 -140
  521. package/dist/cjs/ic-alert.cjs.entry.js.map +0 -1
  522. package/dist/cjs/ic-back-to-top.cjs.entry.js +0 -168
  523. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +0 -1
  524. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +0 -241
  525. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +0 -1
  526. package/dist/cjs/ic-breadcrumb.cjs.entry.js +0 -118
  527. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +0 -1
  528. package/dist/cjs/ic-card-vertical.cjs.entry.js +0 -171
  529. package/dist/cjs/ic-card-vertical.cjs.entry.js.map +0 -1
  530. package/dist/cjs/ic-checkbox-group.cjs.entry.js +0 -148
  531. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +0 -1
  532. package/dist/cjs/ic-classification-banner.cjs.entry.js +0 -67
  533. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +0 -1
  534. package/dist/cjs/ic-data-list.cjs.entry.js +0 -38
  535. package/dist/cjs/ic-data-list.cjs.entry.js.map +0 -1
  536. package/dist/cjs/ic-data-row.cjs.entry.js +0 -88
  537. package/dist/cjs/ic-data-row.cjs.entry.js.map +0 -1
  538. package/dist/cjs/ic-dialog.cjs.entry.js +0 -388
  539. package/dist/cjs/ic-dialog.cjs.entry.js.map +0 -1
  540. package/dist/cjs/ic-divider.cjs.entry.js +0 -114
  541. package/dist/cjs/ic-divider.cjs.entry.js.map +0 -1
  542. package/dist/cjs/ic-footer-link-group.cjs.entry.js +0 -69
  543. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +0 -1
  544. package/dist/cjs/ic-footer-link.cjs.entry.js +0 -65
  545. package/dist/cjs/ic-footer-link.cjs.entry.js.map +0 -1
  546. package/dist/cjs/ic-footer.cjs.entry.js +0 -119
  547. package/dist/cjs/ic-footer.cjs.entry.js.map +0 -1
  548. package/dist/cjs/ic-hero.cjs.entry.js +0 -104
  549. package/dist/cjs/ic-hero.cjs.entry.js.map +0 -1
  550. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +0 -196
  551. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +0 -1
  552. package/dist/cjs/ic-layout-grid-item.cjs.entry.js +0 -70
  553. package/dist/cjs/ic-layout-grid-item.cjs.entry.js.map +0 -1
  554. package/dist/cjs/ic-layout-grid.cjs.entry.js +0 -156
  555. package/dist/cjs/ic-layout-grid.cjs.entry.js.map +0 -1
  556. package/dist/cjs/ic-menu-group.cjs.entry.js +0 -25
  557. package/dist/cjs/ic-menu-group.cjs.entry.js.map +0 -1
  558. package/dist/cjs/ic-menu-item.cjs.entry.js +0 -121
  559. package/dist/cjs/ic-menu-item.cjs.entry.js.map +0 -1
  560. package/dist/cjs/ic-navigation-button.cjs.entry.js +0 -124
  561. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +0 -1
  562. package/dist/cjs/ic-navigation-group.cjs.entry.js +0 -293
  563. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +0 -1
  564. package/dist/cjs/ic-navigation-menu.cjs.entry.js +0 -149
  565. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +0 -1
  566. package/dist/cjs/ic-pagination_4.cjs.entry.js +0 -1647
  567. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +0 -1
  568. package/dist/cjs/ic-popover-menu.cjs.entry.js +0 -308
  569. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +0 -1
  570. package/dist/cjs/ic-radio-group.cjs.entry.js +0 -264
  571. package/dist/cjs/ic-radio-group.cjs.entry.js.map +0 -1
  572. package/dist/cjs/ic-radio-option.cjs.entry.js +0 -173
  573. package/dist/cjs/ic-radio-option.cjs.entry.js.map +0 -1
  574. package/dist/cjs/ic-search-bar.cjs.entry.js +0 -606
  575. package/dist/cjs/ic-search-bar.cjs.entry.js.map +0 -1
  576. package/dist/cjs/ic-side-navigation.cjs.entry.js +0 -488
  577. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +0 -1
  578. package/dist/cjs/ic-skeleton.cjs.entry.js +0 -62
  579. package/dist/cjs/ic-skeleton.cjs.entry.js.map +0 -1
  580. package/dist/cjs/ic-step.cjs.entry.js +0 -157
  581. package/dist/cjs/ic-step.cjs.entry.js.map +0 -1
  582. package/dist/cjs/ic-stepper.cjs.entry.js +0 -308
  583. package/dist/cjs/ic-stepper.cjs.entry.js.map +0 -1
  584. package/dist/cjs/ic-switch.cjs.entry.js +0 -124
  585. package/dist/cjs/ic-switch.cjs.entry.js.map +0 -1
  586. package/dist/cjs/ic-tab-context.cjs.entry.js +0 -250
  587. package/dist/cjs/ic-tab-context.cjs.entry.js.map +0 -1
  588. package/dist/cjs/ic-tab-group.cjs.entry.js +0 -40
  589. package/dist/cjs/ic-tab-group.cjs.entry.js.map +0 -1
  590. package/dist/cjs/ic-tab-panel.cjs.entry.js +0 -42
  591. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +0 -1
  592. package/dist/cjs/ic-tab.cjs.entry.js +0 -112
  593. package/dist/cjs/ic-tab.cjs.entry.js.map +0 -1
  594. package/dist/cjs/ic-toast-region.cjs.entry.js +0 -59
  595. package/dist/cjs/ic-toast-region.cjs.entry.js.map +0 -1
  596. package/dist/cjs/ic-toast.cjs.entry.js +0 -239
  597. package/dist/cjs/ic-toast.cjs.entry.js.map +0 -1
  598. package/dist/cjs/purify-039f565a.js.map +0 -1
  599. package/dist/components/check-icon.js +0 -8
  600. package/dist/components/check-icon.js.map +0 -1
  601. package/dist/components/chevron-icon.js +0 -8
  602. package/dist/components/chevron-icon.js.map +0 -1
  603. package/dist/components/close-icon.js +0 -10
  604. package/dist/components/close-icon.js.map +0 -1
  605. package/dist/components/ic-accordion-group.js +0 -188
  606. package/dist/components/ic-accordion-group.js.map +0 -1
  607. package/dist/components/ic-accordion.js +0 -181
  608. package/dist/components/ic-accordion.js.map +0 -1
  609. package/dist/components/ic-action-chip.js +0 -160
  610. package/dist/components/ic-action-chip.js.map +0 -1
  611. package/dist/components/ic-alert.js +0 -192
  612. package/dist/components/ic-alert.js.map +0 -1
  613. package/dist/components/ic-back-to-top.js +0 -216
  614. package/dist/components/ic-back-to-top.js.map +0 -1
  615. package/dist/components/ic-breadcrumb-group.js +0 -278
  616. package/dist/components/ic-breadcrumb-group.js.map +0 -1
  617. package/dist/components/ic-breadcrumb.js +0 -8
  618. package/dist/components/ic-breadcrumb.js.map +0 -1
  619. package/dist/components/ic-breadcrumb2.js +0 -145
  620. package/dist/components/ic-breadcrumb2.js.map +0 -1
  621. package/dist/components/ic-card-vertical.js +0 -219
  622. package/dist/components/ic-card-vertical.js.map +0 -1
  623. package/dist/components/ic-checkbox-group.js +0 -198
  624. package/dist/components/ic-checkbox-group.js.map +0 -1
  625. package/dist/components/ic-classification-banner.js +0 -93
  626. package/dist/components/ic-classification-banner.js.map +0 -1
  627. package/dist/components/ic-data-list.js +0 -62
  628. package/dist/components/ic-data-list.js.map +0 -1
  629. package/dist/components/ic-data-row.js +0 -115
  630. package/dist/components/ic-data-row.js.map +0 -1
  631. package/dist/components/ic-dialog.js +0 -445
  632. package/dist/components/ic-dialog.js.map +0 -1
  633. package/dist/components/ic-divider.js +0 -8
  634. package/dist/components/ic-divider.js.map +0 -1
  635. package/dist/components/ic-divider2.js +0 -139
  636. package/dist/components/ic-divider2.js.map +0 -1
  637. package/dist/components/ic-footer-link-group.js +0 -101
  638. package/dist/components/ic-footer-link-group.js.map +0 -1
  639. package/dist/components/ic-footer-link.js +0 -95
  640. package/dist/components/ic-footer-link.js.map +0 -1
  641. package/dist/components/ic-footer.js +0 -155
  642. package/dist/components/ic-footer.js.map +0 -1
  643. package/dist/components/ic-hero.js +0 -145
  644. package/dist/components/ic-hero.js.map +0 -1
  645. package/dist/components/ic-horizontal-scroll.js +0 -8
  646. package/dist/components/ic-horizontal-scroll.js.map +0 -1
  647. package/dist/components/ic-horizontal-scroll2.js +0 -240
  648. package/dist/components/ic-horizontal-scroll2.js.map +0 -1
  649. package/dist/components/ic-layout-grid-item.js +0 -95
  650. package/dist/components/ic-layout-grid-item.js.map +0 -1
  651. package/dist/components/ic-layout-grid.js +0 -188
  652. package/dist/components/ic-layout-grid.js.map +0 -1
  653. package/dist/components/ic-menu-group.js +0 -47
  654. package/dist/components/ic-menu-group.js.map +0 -1
  655. package/dist/components/ic-menu-item.js +0 -8
  656. package/dist/components/ic-menu-item.js.map +0 -1
  657. package/dist/components/ic-menu-item2.js +0 -171
  658. package/dist/components/ic-menu-item2.js.map +0 -1
  659. package/dist/components/ic-navigation-button.js +0 -174
  660. package/dist/components/ic-navigation-button.js.map +0 -1
  661. package/dist/components/ic-navigation-group.js +0 -326
  662. package/dist/components/ic-navigation-group.js.map +0 -1
  663. package/dist/components/ic-navigation-menu.js +0 -8
  664. package/dist/components/ic-navigation-menu.js.map +0 -1
  665. package/dist/components/ic-navigation-menu2.js +0 -188
  666. package/dist/components/ic-navigation-menu2.js.map +0 -1
  667. package/dist/components/ic-pagination-item.js +0 -8
  668. package/dist/components/ic-pagination-item.js.map +0 -1
  669. package/dist/components/ic-pagination-item2.js +0 -107
  670. package/dist/components/ic-pagination-item2.js.map +0 -1
  671. package/dist/components/ic-popover-menu.js +0 -369
  672. package/dist/components/ic-popover-menu.js.map +0 -1
  673. package/dist/components/ic-radio-group.js +0 -317
  674. package/dist/components/ic-radio-group.js.map +0 -1
  675. package/dist/components/ic-radio-option.js +0 -209
  676. package/dist/components/ic-radio-option.js.map +0 -1
  677. package/dist/components/ic-search-bar.js +0 -719
  678. package/dist/components/ic-search-bar.js.map +0 -1
  679. package/dist/components/ic-side-navigation.js +0 -553
  680. package/dist/components/ic-side-navigation.js.map +0 -1
  681. package/dist/components/ic-skeleton.js +0 -81
  682. package/dist/components/ic-skeleton.js.map +0 -1
  683. package/dist/components/ic-step.js +0 -200
  684. package/dist/components/ic-step.js.map +0 -1
  685. package/dist/components/ic-stepper.js +0 -340
  686. package/dist/components/ic-stepper.js.map +0 -1
  687. package/dist/components/ic-switch.js +0 -166
  688. package/dist/components/ic-switch.js.map +0 -1
  689. package/dist/components/ic-tab-context.js +0 -276
  690. package/dist/components/ic-tab-context.js.map +0 -1
  691. package/dist/components/ic-tab-group.js +0 -89
  692. package/dist/components/ic-tab-group.js.map +0 -1
  693. package/dist/components/ic-tab-panel.js +0 -63
  694. package/dist/components/ic-tab-panel.js.map +0 -1
  695. package/dist/components/ic-tab.js +0 -143
  696. package/dist/components/ic-tab.js.map +0 -1
  697. package/dist/components/ic-toast-region.js +0 -76
  698. package/dist/components/ic-toast-region.js.map +0 -1
  699. package/dist/components/ic-toast.js +0 -293
  700. package/dist/components/ic-toast.js.map +0 -1
  701. package/dist/components/purify.js +0 -1363
  702. package/dist/components/purify.js.map +0 -1
  703. package/dist/core/p-08f24329.entry.js +0 -2
  704. package/dist/core/p-08f24329.entry.js.map +0 -1
  705. package/dist/core/p-0aa9ce8b.js +0 -2
  706. package/dist/core/p-0bca234b.entry.js +0 -2
  707. package/dist/core/p-0bca234b.entry.js.map +0 -1
  708. package/dist/core/p-14b8bf37.entry.js +0 -2
  709. package/dist/core/p-14b8bf37.entry.js.map +0 -1
  710. package/dist/core/p-169ad948.entry.js +0 -2
  711. package/dist/core/p-169ad948.entry.js.map +0 -1
  712. package/dist/core/p-170ddfc2.js +0 -2
  713. package/dist/core/p-1be17f22.entry.js +0 -2
  714. package/dist/core/p-1be17f22.entry.js.map +0 -1
  715. package/dist/core/p-1cc402b8.entry.js +0 -2
  716. package/dist/core/p-1cc402b8.entry.js.map +0 -1
  717. package/dist/core/p-1d166343.entry.js +0 -2
  718. package/dist/core/p-1d166343.entry.js.map +0 -1
  719. package/dist/core/p-1dbefb37.entry.js +0 -2
  720. package/dist/core/p-1dbefb37.entry.js.map +0 -1
  721. package/dist/core/p-319e3d5b.entry.js.map +0 -1
  722. package/dist/core/p-33509a89.entry.js.map +0 -1
  723. package/dist/core/p-3389625c.entry.js +0 -2
  724. package/dist/core/p-3389625c.entry.js.map +0 -1
  725. package/dist/core/p-344752cb.entry.js +0 -2
  726. package/dist/core/p-344752cb.entry.js.map +0 -1
  727. package/dist/core/p-348d7080.entry.js +0 -2
  728. package/dist/core/p-348d7080.entry.js.map +0 -1
  729. package/dist/core/p-349d91dc.js.map +0 -1
  730. package/dist/core/p-39cdf5db.entry.js +0 -2
  731. package/dist/core/p-39cdf5db.entry.js.map +0 -1
  732. package/dist/core/p-409d03b2.entry.js +0 -2
  733. package/dist/core/p-409d03b2.entry.js.map +0 -1
  734. package/dist/core/p-492991ad.entry.js +0 -2
  735. package/dist/core/p-492991ad.entry.js.map +0 -1
  736. package/dist/core/p-496b314f.entry.js +0 -2
  737. package/dist/core/p-496b314f.entry.js.map +0 -1
  738. package/dist/core/p-508b6da3.entry.js +0 -2
  739. package/dist/core/p-508b6da3.entry.js.map +0 -1
  740. package/dist/core/p-53dad961.entry.js +0 -2
  741. package/dist/core/p-53dad961.entry.js.map +0 -1
  742. package/dist/core/p-551a0fc1.entry.js.map +0 -1
  743. package/dist/core/p-5e6687a8.entry.js +0 -2
  744. package/dist/core/p-5e6687a8.entry.js.map +0 -1
  745. package/dist/core/p-60f4fe3a.entry.js +0 -2
  746. package/dist/core/p-60f4fe3a.entry.js.map +0 -1
  747. package/dist/core/p-61c92598.entry.js +0 -2
  748. package/dist/core/p-61c92598.entry.js.map +0 -1
  749. package/dist/core/p-67c3985d.entry.js +0 -2
  750. package/dist/core/p-67c3985d.entry.js.map +0 -1
  751. package/dist/core/p-691dd972.entry.js +0 -2
  752. package/dist/core/p-691dd972.entry.js.map +0 -1
  753. package/dist/core/p-6dfe0922.entry.js +0 -2
  754. package/dist/core/p-6dfe0922.entry.js.map +0 -1
  755. package/dist/core/p-770e92cd.entry.js +0 -2
  756. package/dist/core/p-770e92cd.entry.js.map +0 -1
  757. package/dist/core/p-79ead0e7.entry.js.map +0 -1
  758. package/dist/core/p-7b4b45cf.entry.js +0 -2
  759. package/dist/core/p-7b4b45cf.entry.js.map +0 -1
  760. package/dist/core/p-7c4d6b13.entry.js +0 -2
  761. package/dist/core/p-7c4d6b13.entry.js.map +0 -1
  762. package/dist/core/p-7d878ad7.entry.js +0 -2
  763. package/dist/core/p-7d878ad7.entry.js.map +0 -1
  764. package/dist/core/p-7efdbab8.entry.js.map +0 -1
  765. package/dist/core/p-879c180d.entry.js.map +0 -1
  766. package/dist/core/p-8ab37b4d.entry.js +0 -2
  767. package/dist/core/p-8ab37b4d.entry.js.map +0 -1
  768. package/dist/core/p-8d42a6e5.entry.js +0 -2
  769. package/dist/core/p-8d42a6e5.entry.js.map +0 -1
  770. package/dist/core/p-939025af.entry.js.map +0 -1
  771. package/dist/core/p-9674b63f.entry.js +0 -2
  772. package/dist/core/p-9674b63f.entry.js.map +0 -1
  773. package/dist/core/p-9ca147f3.entry.js.map +0 -1
  774. package/dist/core/p-9dea5764.entry.js +0 -2
  775. package/dist/core/p-9dea5764.entry.js.map +0 -1
  776. package/dist/core/p-a422b778.js +0 -2
  777. package/dist/core/p-a422b778.js.map +0 -1
  778. package/dist/core/p-a58cf6fd.entry.js +0 -2
  779. package/dist/core/p-a58cf6fd.entry.js.map +0 -1
  780. package/dist/core/p-a8310dfd.entry.js +0 -2
  781. package/dist/core/p-a8310dfd.entry.js.map +0 -1
  782. package/dist/core/p-a8a92e54.entry.js +0 -2
  783. package/dist/core/p-a8a92e54.entry.js.map +0 -1
  784. package/dist/core/p-b4a2f6fa.entry.js +0 -2
  785. package/dist/core/p-b4a2f6fa.entry.js.map +0 -1
  786. package/dist/core/p-b76fdade.entry.js +0 -2
  787. package/dist/core/p-b76fdade.entry.js.map +0 -1
  788. package/dist/core/p-b9459ba2.entry.js +0 -2
  789. package/dist/core/p-b9459ba2.entry.js.map +0 -1
  790. package/dist/core/p-bb3db366.entry.js +0 -2
  791. package/dist/core/p-bb3db366.entry.js.map +0 -1
  792. package/dist/core/p-bc6e5d64.entry.js +0 -2
  793. package/dist/core/p-bc6e5d64.entry.js.map +0 -1
  794. package/dist/core/p-c0a7eed7.entry.js +0 -2
  795. package/dist/core/p-c0a7eed7.entry.js.map +0 -1
  796. package/dist/core/p-c0b227d2.entry.js +0 -2
  797. package/dist/core/p-c0b227d2.entry.js.map +0 -1
  798. package/dist/core/p-c4b2774d.entry.js.map +0 -1
  799. package/dist/core/p-ca05573a.entry.js +0 -2
  800. package/dist/core/p-ca05573a.entry.js.map +0 -1
  801. package/dist/core/p-d0607a70.entry.js +0 -2
  802. package/dist/core/p-d0607a70.entry.js.map +0 -1
  803. package/dist/core/p-d376858f.entry.js +0 -2
  804. package/dist/core/p-d376858f.entry.js.map +0 -1
  805. package/dist/core/p-dbd9a403.entry.js +0 -2
  806. package/dist/core/p-dbd9a403.entry.js.map +0 -1
  807. package/dist/core/p-df064c8b.entry.js +0 -2
  808. package/dist/core/p-df064c8b.entry.js.map +0 -1
  809. package/dist/core/p-e081702e.js +0 -2
  810. package/dist/core/p-e519f607.js +0 -2
  811. package/dist/core/p-e519f607.js.map +0 -1
  812. package/dist/core/p-e5c6d01a.entry.js +0 -2
  813. package/dist/core/p-e5c6d01a.entry.js.map +0 -1
  814. package/dist/core/p-e8db8772.entry.js +0 -2
  815. package/dist/core/p-e8db8772.entry.js.map +0 -1
  816. package/dist/core/p-ea04103e.entry.js +0 -2
  817. package/dist/core/p-ea04103e.entry.js.map +0 -1
  818. package/dist/core/p-eac60693.entry.js +0 -2
  819. package/dist/core/p-eac60693.entry.js.map +0 -1
  820. package/dist/core/p-ecc7fd71.entry.js +0 -2
  821. package/dist/core/p-ecc7fd71.entry.js.map +0 -1
  822. package/dist/core/p-efe260f0.entry.js +0 -2
  823. package/dist/core/p-efe260f0.entry.js.map +0 -1
  824. package/dist/core/p-f1b57f91.entry.js +0 -2
  825. package/dist/core/p-f1b57f91.entry.js.map +0 -1
  826. package/dist/core/p-f5dc04f7.entry.js +0 -2
  827. package/dist/core/p-f5dc04f7.entry.js.map +0 -1
  828. package/dist/core/p-fb07921b.entry.js +0 -2
  829. package/dist/core/p-fb07921b.entry.js.map +0 -1
  830. package/dist/core/p-fd08156a.entry.js +0 -2
  831. package/dist/core/p-fd08156a.entry.js.map +0 -1
  832. package/dist/core/p-fe5b51bb.entry.js +0 -2
  833. package/dist/core/p-fe5b51bb.entry.js.map +0 -1
  834. package/dist/core/p-ff618439.entry.js +0 -2
  835. package/dist/core/p-ff618439.entry.js.map +0 -1
  836. package/dist/esm/OpenInNew-52210a9d.js.map +0 -1
  837. package/dist/esm/check-icon-f2346e76.js +0 -8
  838. package/dist/esm/check-icon-f2346e76.js.map +0 -1
  839. package/dist/esm/chevron-icon-875b7af2.js +0 -8
  840. package/dist/esm/chevron-icon-875b7af2.js.map +0 -1
  841. package/dist/esm/close-icon-c9e09475.js +0 -10
  842. package/dist/esm/close-icon-c9e09475.js.map +0 -1
  843. package/dist/esm/common-helpers-86c07ff1.js +0 -19
  844. package/dist/esm/common-helpers-86c07ff1.js.map +0 -1
  845. package/dist/esm/helpers-063369f4.js.map +0 -1
  846. package/dist/esm/ic-accordion-group.entry.js +0 -133
  847. package/dist/esm/ic-accordion-group.entry.js.map +0 -1
  848. package/dist/esm/ic-accordion.entry.js +0 -146
  849. package/dist/esm/ic-accordion.entry.js.map +0 -1
  850. package/dist/esm/ic-action-chip.entry.js +0 -112
  851. package/dist/esm/ic-action-chip.entry.js.map +0 -1
  852. package/dist/esm/ic-alert.entry.js +0 -136
  853. package/dist/esm/ic-alert.entry.js.map +0 -1
  854. package/dist/esm/ic-back-to-top.entry.js +0 -164
  855. package/dist/esm/ic-back-to-top.entry.js.map +0 -1
  856. package/dist/esm/ic-breadcrumb-group.entry.js +0 -237
  857. package/dist/esm/ic-breadcrumb-group.entry.js.map +0 -1
  858. package/dist/esm/ic-breadcrumb.entry.js +0 -114
  859. package/dist/esm/ic-breadcrumb.entry.js.map +0 -1
  860. package/dist/esm/ic-card-vertical.entry.js +0 -167
  861. package/dist/esm/ic-card-vertical.entry.js.map +0 -1
  862. package/dist/esm/ic-checkbox-group.entry.js +0 -144
  863. package/dist/esm/ic-checkbox-group.entry.js.map +0 -1
  864. package/dist/esm/ic-classification-banner.entry.js +0 -63
  865. package/dist/esm/ic-classification-banner.entry.js.map +0 -1
  866. package/dist/esm/ic-data-list.entry.js +0 -34
  867. package/dist/esm/ic-data-list.entry.js.map +0 -1
  868. package/dist/esm/ic-data-row.entry.js +0 -84
  869. package/dist/esm/ic-data-row.entry.js.map +0 -1
  870. package/dist/esm/ic-dialog.entry.js +0 -384
  871. package/dist/esm/ic-dialog.entry.js.map +0 -1
  872. package/dist/esm/ic-divider.entry.js +0 -110
  873. package/dist/esm/ic-divider.entry.js.map +0 -1
  874. package/dist/esm/ic-footer-link-group.entry.js +0 -65
  875. package/dist/esm/ic-footer-link-group.entry.js.map +0 -1
  876. package/dist/esm/ic-footer-link.entry.js +0 -61
  877. package/dist/esm/ic-footer-link.entry.js.map +0 -1
  878. package/dist/esm/ic-footer.entry.js +0 -115
  879. package/dist/esm/ic-footer.entry.js.map +0 -1
  880. package/dist/esm/ic-hero.entry.js +0 -100
  881. package/dist/esm/ic-hero.entry.js.map +0 -1
  882. package/dist/esm/ic-horizontal-scroll.entry.js +0 -192
  883. package/dist/esm/ic-horizontal-scroll.entry.js.map +0 -1
  884. package/dist/esm/ic-layout-grid-item.entry.js +0 -66
  885. package/dist/esm/ic-layout-grid-item.entry.js.map +0 -1
  886. package/dist/esm/ic-layout-grid.entry.js +0 -152
  887. package/dist/esm/ic-layout-grid.entry.js.map +0 -1
  888. package/dist/esm/ic-menu-group.entry.js +0 -21
  889. package/dist/esm/ic-menu-group.entry.js.map +0 -1
  890. package/dist/esm/ic-menu-item.entry.js +0 -117
  891. package/dist/esm/ic-menu-item.entry.js.map +0 -1
  892. package/dist/esm/ic-navigation-button.entry.js +0 -120
  893. package/dist/esm/ic-navigation-button.entry.js.map +0 -1
  894. package/dist/esm/ic-navigation-group.entry.js +0 -289
  895. package/dist/esm/ic-navigation-group.entry.js.map +0 -1
  896. package/dist/esm/ic-navigation-menu.entry.js +0 -145
  897. package/dist/esm/ic-navigation-menu.entry.js.map +0 -1
  898. package/dist/esm/ic-pagination_4.entry.js +0 -1640
  899. package/dist/esm/ic-pagination_4.entry.js.map +0 -1
  900. package/dist/esm/ic-popover-menu.entry.js +0 -304
  901. package/dist/esm/ic-popover-menu.entry.js.map +0 -1
  902. package/dist/esm/ic-radio-group.entry.js +0 -260
  903. package/dist/esm/ic-radio-group.entry.js.map +0 -1
  904. package/dist/esm/ic-radio-option.entry.js +0 -169
  905. package/dist/esm/ic-radio-option.entry.js.map +0 -1
  906. package/dist/esm/ic-search-bar.entry.js +0 -602
  907. package/dist/esm/ic-search-bar.entry.js.map +0 -1
  908. package/dist/esm/ic-side-navigation.entry.js +0 -484
  909. package/dist/esm/ic-side-navigation.entry.js.map +0 -1
  910. package/dist/esm/ic-skeleton.entry.js +0 -58
  911. package/dist/esm/ic-skeleton.entry.js.map +0 -1
  912. package/dist/esm/ic-step.entry.js +0 -153
  913. package/dist/esm/ic-step.entry.js.map +0 -1
  914. package/dist/esm/ic-stepper.entry.js +0 -304
  915. package/dist/esm/ic-stepper.entry.js.map +0 -1
  916. package/dist/esm/ic-switch.entry.js +0 -120
  917. package/dist/esm/ic-switch.entry.js.map +0 -1
  918. package/dist/esm/ic-tab-context.entry.js +0 -246
  919. package/dist/esm/ic-tab-context.entry.js.map +0 -1
  920. package/dist/esm/ic-tab-group.entry.js +0 -36
  921. package/dist/esm/ic-tab-group.entry.js.map +0 -1
  922. package/dist/esm/ic-tab-panel.entry.js +0 -38
  923. package/dist/esm/ic-tab-panel.entry.js.map +0 -1
  924. package/dist/esm/ic-tab.entry.js +0 -108
  925. package/dist/esm/ic-tab.entry.js.map +0 -1
  926. package/dist/esm/ic-toast-region.entry.js +0 -55
  927. package/dist/esm/ic-toast-region.entry.js.map +0 -1
  928. package/dist/esm/ic-toast.entry.js +0 -235
  929. package/dist/esm/ic-toast.entry.js.map +0 -1
  930. package/dist/esm/purify-6eaa9893.js.map +0 -1
  931. /package/dist/core/{p-0aa9ce8b.js.map → p-02d0a238.entry.js.map} +0 -0
  932. /package/dist/core/{p-170ddfc2.js.map → p-0c02b16c.entry.js.map} +0 -0
  933. /package/dist/core/{p-201b41c7.entry.js.map → p-22267c01.entry.js.map} +0 -0
  934. /package/dist/core/{p-e081702e.js.map → p-27962d4d.entry.js.map} +0 -0
  935. /package/dist/core/{p-ea1ea1b9.js.map → p-384a7f60.entry.js.map} +0 -0
@@ -1,2 +0,0 @@
1
- import{r as e,c as t,h as i,H as o,g as s}from"./p-8e4e97b4.js";import{m as n,e as a}from"./p-e519f607.js";import{c as r}from"./p-aae38bee.js";const l='/*! 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}@media (prefers-reduced-motion: no-preference){:host .opening-from-parent{animation:slide-in var(--ic-transition-duration-slow) ease-in-out}:host .opening-from-child{animation:slide-out var(--ic-transition-duration-slow) ease-in-out}}:host{border-radius:var(--ic-border-radius);color:var(--ic-popover-nav-text);--ic-typography-color:var(--ic-popover-nav-text);position:relative;z-index:var(--ic-z-index-popover);box-sizing:border-box;box-shadow:var(--ic-elevation-overlay);display:none}:host(.on-dialog){inset:auto !important}:host(.on-dialog-fix-translate){transform:translate(0, var(--ic-space-xs)) !important}:host(.on-dialog-translate-y){transform:translate(0, calc(-1 * var(--translate-y))) !important}.menu{border:var(--ic-border-default);border-color:var(--ic-popover-border);border-radius:var(--ic-border-radius);background-color:var(--ic-popover-background);visibility:hidden;height:0;display:flex;flex-direction:column}:host(:focus-within){box-shadow:var(--ic-border-focus)}.menu:focus-visible{outline:none}:host(.ic-popover-menu-open){display:block;min-width:calc(20rem - var(--ic-space-xl));width:var(--popover-width, 20rem);max-width:calc(100vw - var(--ic-space-xl))}:host(.ic-popover-menu-open) .menu{visibility:visible;height:-moz-fit-content;height:fit-content;max-height:var(--max-height, -moz-fit-content);max-height:var(--max-height, fit-content);overflow-y:auto;overflow-x:hidden}.parent-label{--ic-typography-color:var(--ic-popover-parent-label);margin:var(--ic-space-xs) var(--ic-space-xs) 0}@keyframes slide-in{from{opacity:0;transform:translateX(10rem)}to{opacity:1;transform:translateX(0)}}@keyframes slide-out{from{opacity:0;transform:translateX(-10rem)}to{opacity:1;transform:translateX(0)}}';const c=l;const h="div.menu-body";const d=class{constructor(i){e(this,i);this.icPopoverClosed=t(this,"icPopoverClosed",7);this.ARIA_LABEL="aria-label";this.popoverMenuEls=[];this.openingFromChild=false;this.openingFromParent=false;this.popperProps={};this.fixedPositioning=false;this.submenuLevel=1;this.theme="inherit";this.open=undefined;this.setButtonFocus=()=>{var e;(e=this.popoverMenuEls[this.currentFocus])===null||e===void 0?void 0:e.focus()};this.findAnchorEl=e=>{let t=null;if(!e){this.submenuId===undefined&&console.error("No anchor specified for popover component")}else{t=document.querySelector(e.indexOf("#")===0?e:"#"+e);if(t===null){console.error(`Popover anchor element '${e}' not found`)}}return t};this.isNotPopoverMenuEl=e=>{const{id:t,tagName:i}=e.target;return t!==this.anchor&&i!=="IC-MENU-ITEM"&&i!=="IC-MENU-GROUP"&&i!=="IC-POPOVER-MENU"};this.getNextItemToSelect=(e,t)=>{const i=this.popoverMenuEls.length-1;if(e<1){e=0}let o=t?e+1:e-1;if(o<0){o=i}else if(o>i){o=0}return o};this.addMenuItems=e=>{var t;for(let i=0;i<e.length;i++){const o=e[i];if(o.tagName==="IC-MENU-ITEM"){this.popoverMenuEls.push(o)}else if(o.tagName==="IC-MENU-GROUP"){const e=(t=o.shadowRoot)===null||t===void 0?void 0:t.querySelector(".menu-items-wrapper");if(e){const t=n(e);t&&this.addMenuItems(t)}}}};this.getMenuAriaLabel=()=>{const e=this.el.getAttribute(this.ARIA_LABEL);if(a(this.submenuId)){return`${e}, within nested level ${this.submenuLevel} ${this.parentLabel} submenu,`}else{return e}};this.handleBackButtonClick=()=>{var e;(e=this.parentPopover)===null||e===void 0?void 0:e.openFromChild();this.open=false};this.initPopperJS=()=>{if(this.anchorEl){this.popperInstance=r(this.anchorEl,this.el,Object.assign({strategy:this.fixedPositioning?"fixed":"absolute",placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,4]}},{name:"flip",options:{fallbackPlacements:["top-start","top-end","bottom-end"],rootBoundary:"viewport"}}]},this.popperProps))}}}watchOpenHandler(){var e;const t=(e=this.el.parentElement)===null||e===void 0?void 0:e.querySelectorAll(`ic-popover-menu`);if(this.open){if(t.length>0){t.forEach((e=>{if(e!==this.el){e.open=false}}))}if(this.parentPopover!==undefined&&!this.popoverMenuEls.some((e=>e.id))){this.backButton&&this.popoverMenuEls.unshift(this.backButton)}this.currentFocus=0;setTimeout(this.setButtonFocus,50)}else if(this.popperInstance){if(t.length>0){t.forEach((e=>{if(e!==this.el){e.open=false}}))}this.popperInstance.destroy();this.popperInstance=null}}disconnectedCallback(){if(this.popperInstance){this.popperInstance.destroy();this.popperInstance=null}}componentDidLoad(){var e;const t=(e=this.el.shadowRoot)===null||e===void 0?void 0:e.querySelector(h);if(t){const e=n(t);if(e!==null){this.addMenuItems(e)}}if(this.submenuId===undefined&&this.el.getAttribute(this.ARIA_LABEL)===null){console.error(`No aria-label specified for popover menu component - aria-label required`)}this.watchOpenHandler()}componentWillRender(){this.anchorEl=this.findAnchorEl(this.anchor)}componentDidRender(){if(this.open&&!this.popperInstance){this.initPopperJS()}}handleMenuItemClick(e){if(!e.detail.submenuTriggerFor&&e.detail.label!=="Back"){this.closeMenu(false,e.detail)}}handleSubmenuChange(e){const t=e.target;this.open=false;const i=document.querySelector(`ic-popover-menu[submenu-id=${t.submenuTriggerFor}]`);i.parentPopover=this.el;i.anchor=this.anchor;i.ariaLabel=this.el.getAttribute(this.ARIA_LABEL);i.openFromParent();i.submenuLevel=this.submenuLevel+1;i.parentLabel=t.label}handleClick(e){if(this.open&&this.isNotPopoverMenuEl(e)){this.closeMenu()}}handleKeyDown(e){switch(e.key){case"ArrowDown":case"ArrowUp":e.preventDefault();this.currentFocus=this.getNextItemToSelect(this.currentFocus,e.key==="ArrowDown");this.setButtonFocus();break;case"Home":this.currentFocus=0;this.setButtonFocus();break;case"End":this.currentFocus=this.popoverMenuEls.length-1;this.setButtonFocus();break;case"Escape":case"Tab":e.preventDefault();if(this.open){this.closeMenu(true);this.el.blur()}break}}async openFromChild(){this.open=true;this.openingFromChild=true;setTimeout((()=>this.openingFromChild=false),1e3)}async openFromParent(){this.open=true;this.openingFromParent=true;setTimeout((()=>this.openingFromParent=false),1e3)}async closeMenu(e=false,t){var i;this.open=false;if(this.parentPopover){this.parentPopover.closeMenu(e,t)}else{if(e){(i=this.anchorEl)===null||i===void 0?void 0:i.focus()}this.icPopoverClosed.emit(t)}}async setExternalPopperProps(e){this.popperProps=e}render(){return i(o,{key:"4d5467e45b173b365eba3fe507480bc87a0001f7",class:{["ic-popover-menu-open"]:!!this.open,[`ic-theme-${this.theme}`]:this.theme!=="inherit"}},i("div",{key:"96ffeae7beede0b8a48e96dcbb262a5092974fd0",id:this.parentPopover===undefined?`ic-popover-submenu-${this.submenuId}`:"",class:{menu:true}},i("span",{key:"84b9c30b0377109233bb0135c68acd6419b1aa55",class:{"opening-from-parent":this.openingFromParent,"opening-from-child":this.openingFromChild}},a(this.submenuId)&&i("span",{key:"cd6eaf24a7e6ea400614da471083aaa75f164b98"},i("span",{key:"b7be64cdfaf3a94fcd36f3ea0e5c6bf475418268",role:"menu"},i("ic-menu-item",{key:"9868fd30a311aadfe9663ce8617c620940760549",class:"ic-popover-submenu-back-button",ref:e=>this.backButton=e,label:"Back",onClick:this.handleBackButtonClick,id:`ic-popover-submenu-back-button-${this.submenuLevel}`},i("svg",{key:"5655f052a203d6b0d0c5c2182ec6339741691311",slot:"icon",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"submenu-back-icon"},i("path",{key:"b804bfa5d3cbfcf37322e19d5978875088e85d97",d:"M20 11H7.83L13.42 5.41L12 4L4 12L12 20L13.41 18.59L7.83 13H20V11Z",fill:"currentColor"})))),i("ic-typography",{key:"3cd5e496d8af145ebb77fe49f4637826dbf4c2ff",variant:"subtitle-small",class:"parent-label"},this.parentLabel)),i("div",{key:"6249765618e71a536ed2ea67bc9ef31ba24cf7ff",class:"menu-body","aria-label":this.getMenuAriaLabel(),role:"menu"},i("slot",{key:"c175948ff00694bad8419f4738bc82a469c2b53a"})))))}static get delegatesFocus(){return true}get el(){return s(this)}static get watchers(){return{open:["watchOpenHandler"]}}};d.style=c;export{d as ic_popover_menu};
2
- //# sourceMappingURL=p-c0a7eed7.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["icPopoverMenuCss","IcPopoverMenuStyle0","MENU_SELECTOR","PopoverMenu","constructor","hostRef","this","ARIA_LABEL","popoverMenuEls","openingFromChild","openingFromParent","popperProps","fixedPositioning","submenuLevel","theme","open","undefined","setButtonFocus","_a","currentFocus","focus","findAnchorEl","anchor","anchorElement","submenuId","console","error","document","querySelector","indexOf","isNotPopoverMenuEl","ev","id","tagName","target","getNextItemToSelect","currentItem","movingDown","numButtons","length","nextItem","addMenuItems","elements","i","el","push","groupSlotWrapper","shadowRoot","menuGroupElements","getSlotElements","getMenuAriaLabel","ariaLabel","getAttribute","isPropDefined","parentLabel","handleBackButtonClick","parentPopover","openFromChild","initPopperJS","anchorEl","popperInstance","createPopper","Object","assign","strategy","placement","modifiers","name","options","offset","fallbackPlacements","rootBoundary","watchOpenHandler","popoverArr","parentElement","querySelectorAll","forEach","popover","some","menuItem","backButton","unshift","setTimeout","destroy","disconnectedCallback","componentDidLoad","slotWrapper","popoverMenuElements","componentWillRender","componentDidRender","handleMenuItemClick","detail","submenuTriggerFor","label","closeMenu","handleSubmenuChange","childEl","openFromParent","handleClick","handleKeyDown","key","preventDefault","blur","setFocusToAnchor","menuElement","icPopoverClosed","emit","setExternalPopperProps","props","render","h","Host","class","menu","role","ref","onClick","slot","viewBox","fill","xmlns","d","variant","delegatesFocus"],"sources":["../web-components/dist/collection/components/ic-popover-menu/ic-popover-menu.css?tag=ic-popover-menu&encapsulation=shadow","../web-components/dist/collection/components/ic-popover-menu/ic-popover-menu.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n/**\n* @prop --ic-z-index-popover: z-index of popover menu. \n* @prop --max-height: Maximum height of the popover menu.\n* @prop --popover-width: Default width of the popover menu.\n*/\n\n@media (prefers-reduced-motion: no-preference) {\n :host .opening-from-parent {\n animation: slide-in var(--ic-transition-duration-slow) ease-in-out;\n }\n\n :host .opening-from-child {\n animation: slide-out var(--ic-transition-duration-slow) ease-in-out;\n }\n}\n\n:host {\n border-radius: var(--ic-border-radius);\n color: var(--ic-popover-nav-text);\n\n --ic-typography-color: var(--ic-popover-nav-text);\n\n position: relative;\n z-index: var(--ic-z-index-popover);\n box-sizing: border-box;\n box-shadow: var(--ic-elevation-overlay);\n display: none;\n}\n\n:host(.on-dialog) {\n inset: auto !important;\n}\n\n:host(.on-dialog-fix-translate) {\n transform: translate(0, var(--ic-space-xs)) !important;\n}\n\n:host(.on-dialog-translate-y) {\n transform: translate(0, calc(-1 * var(--translate-y))) !important;\n}\n\n.menu {\n border: var(--ic-border-default);\n border-color: var(--ic-popover-border);\n border-radius: var(--ic-border-radius);\n background-color: var(--ic-popover-background);\n visibility: hidden;\n height: 0;\n display: flex;\n flex-direction: column;\n}\n\n:host(:focus-within) {\n box-shadow: var(--ic-border-focus);\n}\n\n.menu:focus-visible {\n outline: none;\n}\n\n:host(.ic-popover-menu-open) {\n display: block;\n min-width: calc(20rem - var(--ic-space-xl));\n width: var(--popover-width, 20rem);\n max-width: calc(100vw - var(--ic-space-xl));\n}\n\n:host(.ic-popover-menu-open) .menu {\n visibility: visible;\n height: -moz-fit-content;\n height: fit-content;\n max-height: var(--max-height, -moz-fit-content);\n max-height: var(--max-height, fit-content);\n overflow-y: auto;\n overflow-x: hidden;\n}\n\n.parent-label {\n --ic-typography-color: var(--ic-popover-parent-label);\n\n margin: var(--ic-space-xs) var(--ic-space-xs) 0;\n}\n\n@keyframes slide-in {\n from {\n opacity: 0;\n transform: translateX(10rem);\n }\n\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n\n@keyframes slide-out {\n from {\n opacity: 0;\n transform: translateX(-10rem);\n }\n\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n","import { Host, h, } from \"@stencil/core\";\nimport { getSlotElements, isPropDefined } from \"../../utils/helpers\";\nimport { createPopper, } from \"@popperjs/core\";\nconst MENU_SELECTOR = \"div.menu-body\";\nexport class PopoverMenu {\n constructor() {\n this.ARIA_LABEL = \"aria-label\";\n this.popoverMenuEls = [];\n this.openingFromChild = false;\n this.openingFromParent = false;\n this.popperProps = {};\n /**\n * Setting to `true` can help in situations where tooltip content is clipped by a parent element.\n */\n this.fixedPositioning = false;\n /**\n * @internal The level of menu being displayed.\n */\n this.submenuLevel = 1;\n /**\n * Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component.\n */\n this.theme = \"inherit\";\n /**\n * If `true`, the popover menu will be displayed.\n */\n this.open = undefined;\n this.setButtonFocus = () => {\n var _a;\n (_a = this.popoverMenuEls[this.currentFocus]) === null || _a === void 0 ? void 0 : _a.focus();\n };\n // Checks that the popover menu has an anchor\n this.findAnchorEl = (anchor) => {\n let anchorElement = null;\n if (!anchor) {\n this.submenuId === undefined &&\n console.error(\"No anchor specified for popover component\");\n }\n else {\n anchorElement = document.querySelector(anchor.indexOf(\"#\") === 0 ? anchor : \"#\" + anchor);\n if (anchorElement === null) {\n console.error(`Popover anchor element '${anchor}' not found`);\n }\n }\n return anchorElement;\n };\n this.isNotPopoverMenuEl = (ev) => {\n const { id, tagName } = ev.target;\n return (id !== this.anchor &&\n tagName !== \"IC-MENU-ITEM\" &&\n tagName !== \"IC-MENU-GROUP\" &&\n tagName !== \"IC-POPOVER-MENU\");\n };\n this.getNextItemToSelect = (currentItem, movingDown) => {\n const numButtons = this.popoverMenuEls.length - 1;\n if (currentItem < 1) {\n currentItem = 0;\n }\n let nextItem = movingDown ? currentItem + 1 : currentItem - 1;\n // Check if wrap around necessary\n if (nextItem < 0) {\n nextItem = numButtons;\n }\n else if (nextItem > numButtons) {\n nextItem = 0;\n }\n return nextItem;\n };\n this.addMenuItems = (elements) => {\n var _a;\n for (let i = 0; i < elements.length; i++) {\n const el = elements[i];\n if (el.tagName === \"IC-MENU-ITEM\") {\n this.popoverMenuEls.push(el);\n }\n else if (el.tagName === \"IC-MENU-GROUP\") {\n const groupSlotWrapper = (_a = el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(\".menu-items-wrapper\");\n if (groupSlotWrapper) {\n const menuGroupElements = getSlotElements(groupSlotWrapper);\n menuGroupElements && this.addMenuItems(menuGroupElements);\n }\n }\n }\n };\n this.getMenuAriaLabel = () => {\n const ariaLabel = this.el.getAttribute(this.ARIA_LABEL);\n if (isPropDefined(this.submenuId)) {\n return `${ariaLabel}, within nested level ${this.submenuLevel} ${this.parentLabel} submenu,`;\n }\n else {\n return ariaLabel;\n }\n };\n this.handleBackButtonClick = () => {\n var _a;\n (_a = this.parentPopover) === null || _a === void 0 ? void 0 : _a.openFromChild();\n this.open = false;\n };\n this.initPopperJS = () => {\n if (this.anchorEl) {\n this.popperInstance = createPopper(this.anchorEl, this.el, Object.assign({ strategy: this.fixedPositioning ? \"fixed\" : \"absolute\", placement: \"bottom-start\", modifiers: [\n {\n name: \"offset\",\n options: {\n offset: [0, 4],\n },\n },\n {\n name: \"flip\",\n options: {\n fallbackPlacements: [\"top-start\", \"top-end\", \"bottom-end\"],\n rootBoundary: \"viewport\",\n },\n },\n ] }, this.popperProps));\n }\n };\n }\n watchOpenHandler() {\n var _a;\n const popoverArr = (_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.querySelectorAll(`ic-popover-menu`);\n if (this.open) {\n if (popoverArr.length > 0) {\n popoverArr.forEach((popover) => {\n if (popover !== this.el) {\n popover.open = false;\n }\n });\n }\n if (this.parentPopover !== undefined &&\n !this.popoverMenuEls.some((menuItem) => menuItem.id)) {\n this.backButton && this.popoverMenuEls.unshift(this.backButton);\n }\n this.currentFocus = 0;\n // Needed so that anchorEl isn't always focused\n setTimeout(this.setButtonFocus, 50);\n }\n else if (this.popperInstance) {\n if (popoverArr.length > 0) {\n popoverArr.forEach((popover) => {\n if (popover !== this.el) {\n popover.open = false;\n }\n });\n }\n this.popperInstance.destroy();\n this.popperInstance = null;\n }\n }\n disconnectedCallback() {\n if (this.popperInstance) {\n this.popperInstance.destroy();\n this.popperInstance = null;\n }\n }\n componentDidLoad() {\n var _a;\n const slotWrapper = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(MENU_SELECTOR);\n if (slotWrapper) {\n const popoverMenuElements = getSlotElements(slotWrapper);\n if (popoverMenuElements !== null) {\n this.addMenuItems(popoverMenuElements);\n }\n }\n if (this.submenuId === undefined &&\n this.el.getAttribute(this.ARIA_LABEL) === null) {\n console.error(`No aria-label specified for popover menu component - aria-label required`);\n }\n this.watchOpenHandler();\n }\n componentWillRender() {\n this.anchorEl = this.findAnchorEl(this.anchor);\n }\n componentDidRender() {\n if (this.open && !this.popperInstance) {\n this.initPopperJS();\n }\n }\n handleMenuItemClick(ev) {\n if (!ev.detail.submenuTriggerFor && ev.detail.label !== \"Back\") {\n this.closeMenu(false, ev.detail);\n }\n }\n // This is listening for the event emitted when a menu item is acting as a trigger button\n handleSubmenuChange(ev) {\n // Finds the trigger menu item that has emitted the event\n const target = ev.target;\n this.open = false;\n // Find the popover menu that the menu item triggers (i.e. submenu-trigger-for === submenu-id).\n const childEl = document.querySelector(`ic-popover-menu[submenu-id=${target.submenuTriggerFor}]`);\n // Set the parent popover menu of the submenu and open the submenu\n childEl.parentPopover = this.el;\n childEl.anchor = this.anchor;\n childEl.ariaLabel = this.el.getAttribute(this.ARIA_LABEL);\n childEl.openFromParent();\n childEl.submenuLevel = this.submenuLevel + 1;\n // Set the label in the submenu using the label of the menu item that has emitted the event\n childEl.parentLabel = target.label;\n }\n handleClick(ev) {\n if (this.open && this.isNotPopoverMenuEl(ev)) {\n // If menu is open and the next click on the document is not a popover El, close the popover\n this.closeMenu();\n }\n }\n // Manages the keyboard navigation in the popover menu\n handleKeyDown(ev) {\n switch (ev.key) {\n case \"ArrowDown\":\n case \"ArrowUp\":\n ev.preventDefault();\n this.currentFocus = this.getNextItemToSelect(this.currentFocus, ev.key === \"ArrowDown\");\n this.setButtonFocus();\n break;\n case \"Home\":\n //Sets home focus as first element, or back button\n this.currentFocus = 0;\n this.setButtonFocus();\n break;\n case \"End\":\n //Sets end focus as last element\n this.currentFocus = this.popoverMenuEls.length - 1;\n this.setButtonFocus();\n break;\n case \"Escape\":\n case \"Tab\":\n ev.preventDefault();\n if (this.open) {\n this.closeMenu(true);\n this.el.blur();\n }\n break;\n }\n }\n /**\n * @internal Opens the menu from the child menu.\n */\n async openFromChild() {\n this.open = true;\n this.openingFromChild = true;\n setTimeout(() => (this.openingFromChild = false), 1000);\n }\n /**\n * @internal Opens the menu from the parent menu.\n */\n async openFromParent() {\n this.open = true;\n this.openingFromParent = true;\n setTimeout(() => (this.openingFromParent = false), 1000);\n }\n /**\n * @internal Close the menu, emit icPopoverClosed of the root popover\n * @param setFocusToAnchor when true return focus to anchor element when menu is closed\n */\n async closeMenu(setFocusToAnchor = false, menuElement) {\n var _a;\n this.open = false;\n if (this.parentPopover) {\n this.parentPopover.closeMenu(setFocusToAnchor, menuElement);\n }\n else {\n if (setFocusToAnchor) {\n (_a = this.anchorEl) === null || _a === void 0 ? void 0 : _a.focus();\n }\n this.icPopoverClosed.emit(menuElement);\n }\n }\n /**\n * @internal This method allows props to be added to the PopperJS createPopper instance outside of the popover menu\n * @param props object - createPopper props set externally\n */\n async setExternalPopperProps(props) {\n this.popperProps = props;\n }\n render() {\n return (h(Host, { key: '4d5467e45b173b365eba3fe507480bc87a0001f7', class: {\n [\"ic-popover-menu-open\"]: !!this.open,\n [`ic-theme-${this.theme}`]: this.theme !== \"inherit\",\n } }, h(\"div\", { key: '96ffeae7beede0b8a48e96dcbb262a5092974fd0', id: this.parentPopover === undefined\n ? `ic-popover-submenu-${this.submenuId}`\n : \"\", class: {\n menu: true,\n } }, h(\"span\", { key: '84b9c30b0377109233bb0135c68acd6419b1aa55', class: {\n \"opening-from-parent\": this.openingFromParent,\n \"opening-from-child\": this.openingFromChild,\n } }, isPropDefined(this.submenuId) && (h(\"span\", { key: 'cd6eaf24a7e6ea400614da471083aaa75f164b98' }, h(\"span\", { key: 'b7be64cdfaf3a94fcd36f3ea0e5c6bf475418268', role: \"menu\" }, h(\"ic-menu-item\", { key: '9868fd30a311aadfe9663ce8617c620940760549', class: \"ic-popover-submenu-back-button\", ref: (el) => (this.backButton = el), label: \"Back\", onClick: this.handleBackButtonClick, id: `ic-popover-submenu-back-button-${this.submenuLevel}` }, h(\"svg\", { key: '5655f052a203d6b0d0c5c2182ec6339741691311', slot: \"icon\", viewBox: \"0 0 24 24\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", class: \"submenu-back-icon\" }, h(\"path\", { key: 'b804bfa5d3cbfcf37322e19d5978875088e85d97', d: \"M20 11H7.83L13.42 5.41L12 4L4 12L12 20L13.41 18.59L7.83 13H20V11Z\", fill: \"currentColor\" })))), h(\"ic-typography\", { key: '3cd5e496d8af145ebb77fe49f4637826dbf4c2ff', variant: \"subtitle-small\", class: \"parent-label\" }, this.parentLabel))), h(\"div\", { key: '6249765618e71a536ed2ea67bc9ef31ba24cf7ff', class: \"menu-body\", \"aria-label\": this.getMenuAriaLabel(), role: \"menu\" }, h(\"slot\", { key: 'c175948ff00694bad8419f4738bc82a469c2b53a' }))))));\n }\n static get is() { return \"ic-popover-menu\"; }\n static get encapsulation() { return \"shadow\"; }\n static get delegatesFocus() { return true; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-popover-menu.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-popover-menu.css\"]\n };\n }\n static get properties() {\n return {\n \"anchor\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The ID of the element the popover menu will anchor itself to. This is required unless the popover is a submenu.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"anchor\",\n \"reflect\": false\n },\n \"fixedPositioning\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Setting to `true` can help in situations where tooltip content is clipped by a parent element.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"fixed-positioning\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"parentLabel\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"The parent popover menu of a child popover menu.\"\n }],\n \"text\": \"\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"parent-label\",\n \"reflect\": false\n },\n \"parentPopover\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"HTMLIcPopoverMenuElement\",\n \"resolved\": \"HTMLIcPopoverMenuElement | undefined\",\n \"references\": {\n \"HTMLIcPopoverMenuElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLIcPopoverMenuElement\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"The parent popover menu of a child popover menu.\"\n }],\n \"text\": \"\"\n },\n \"getter\": false,\n \"setter\": false\n },\n \"submenuId\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The unique identifier for a popover submenu.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"submenu-id\",\n \"reflect\": false\n },\n \"submenuLevel\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"The level of menu being displayed.\"\n }],\n \"text\": \"\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"submenu-level\",\n \"reflect\": false,\n \"defaultValue\": \"1\"\n },\n \"theme\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcThemeMode\",\n \"resolved\": \"\\\"dark\\\" | \\\"inherit\\\" | \\\"light\\\" | undefined\",\n \"references\": {\n \"IcThemeMode\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcThemeMode\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Sets the theme color to the dark or light theme color. \\\"inherit\\\" will set the color based on the system settings or ic-theme component.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"theme\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"inherit\\\"\"\n },\n \"open\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean | undefined\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the popover menu will be displayed.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"open\",\n \"reflect\": true,\n \"defaultValue\": \"undefined\"\n }\n };\n }\n static get states() {\n return {\n \"openingFromChild\": {},\n \"openingFromParent\": {},\n \"popperProps\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"icPopoverClosed\",\n \"name\": \"icPopoverClosed\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the popover menu is closed.\"\n },\n \"complexType\": {\n \"original\": \"HTMLIcMenuItemElement\",\n \"resolved\": \"HTMLIcMenuItemElement\",\n \"references\": {\n \"HTMLIcMenuItemElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLIcMenuItemElement\"\n }\n }\n }\n }];\n }\n static get methods() {\n return {\n \"openFromChild\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Opens the menu from the child menu.\"\n }]\n }\n },\n \"openFromParent\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Opens the menu from the parent menu.\"\n }]\n }\n },\n \"closeMenu\": {\n \"complexType\": {\n \"signature\": \"(setFocusToAnchor?: boolean, menuElement?: HTMLIcMenuItemElement) => Promise<void>\",\n \"parameters\": [{\n \"name\": \"setFocusToAnchor\",\n \"type\": \"boolean\",\n \"docs\": \"when true return focus to anchor element when menu is closed\"\n }, {\n \"name\": \"menuElement\",\n \"type\": \"HTMLIcMenuItemElement | undefined\",\n \"docs\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"HTMLIcMenuItemElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLIcMenuItemElement\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Close the menu, emit icPopoverClosed of the root popover\"\n }, {\n \"name\": \"param\",\n \"text\": \"setFocusToAnchor when true return focus to anchor element when menu is closed\"\n }]\n }\n },\n \"setExternalPopperProps\": {\n \"complexType\": {\n \"signature\": \"<T extends Partial<Options>>(props: T) => Promise<void>\",\n \"parameters\": [{\n \"name\": \"props\",\n \"type\": \"T\",\n \"docs\": \"object - createPopper props set externally\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"Partial\": {\n \"location\": \"global\",\n \"id\": \"global::Partial\"\n },\n \"Options\": {\n \"location\": \"import\",\n \"path\": \"@popperjs/core\",\n \"id\": \"node_modules::Options\"\n },\n \"T\": {\n \"location\": \"global\",\n \"id\": \"global::T\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"This method allows props to be added to the PopperJS createPopper instance outside of the popover menu\"\n }, {\n \"name\": \"param\",\n \"text\": \"props object - createPopper props set externally\"\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"open\",\n \"methodName\": \"watchOpenHandler\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"handleMenuItemClick\",\n \"method\": \"handleMenuItemClick\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"triggerPopoverMenuInstance\",\n \"method\": \"handleSubmenuChange\",\n \"target\": undefined,\n \"capture\": true,\n \"passive\": false\n }, {\n \"name\": \"click\",\n \"method\": \"handleClick\",\n \"target\": \"document\",\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"keydown\",\n \"method\": \"handleKeyDown\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n//# sourceMappingURL=ic-popover-menu.js.map\n"],"mappings":"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","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as i,c as o,h as c,H as a,g as t}from"./p-8e4e97b4.js";import{r,y as d,i as n,z as e,o as s,s as p,e as l}from"./p-e519f607.js";const h='html.sc-ic-radio-option{line-height:1.15;-webkit-text-size-adjust:100%}body.sc-ic-radio-option{margin:0}main.sc-ic-radio-option{display:block}h1.sc-ic-radio-option{font-size:2em;margin:0.67em 0}hr.sc-ic-radio-option{box-sizing:content-box;height:0;overflow:visible}pre.sc-ic-radio-option{font-family:monospace, monospace;font-size:1em}a.sc-ic-radio-option{background-color:transparent}abbr[title].sc-ic-radio-option{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b.sc-ic-radio-option,strong.sc-ic-radio-option{font-weight:bolder}code.sc-ic-radio-option,kbd.sc-ic-radio-option,samp.sc-ic-radio-option{font-family:monospace, monospace;font-size:1em}small.sc-ic-radio-option{font-size:80%}sub.sc-ic-radio-option,sup.sc-ic-radio-option{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub.sc-ic-radio-option{bottom:-0.25em}sup.sc-ic-radio-option{top:-0.5em}img.sc-ic-radio-option{border-style:none}button.sc-ic-radio-option,input.sc-ic-radio-option,optgroup.sc-ic-radio-option,select.sc-ic-radio-option,textarea.sc-ic-radio-option{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button.sc-ic-radio-option,input.sc-ic-radio-option{overflow:visible}button.sc-ic-radio-option,select.sc-ic-radio-option{text-transform:none}button.sc-ic-radio-option,[type="button"].sc-ic-radio-option,[type="reset"].sc-ic-radio-option,[type="submit"].sc-ic-radio-option{-webkit-appearance:button}button.sc-ic-radio-option::-moz-focus-inner,[type="button"].sc-ic-radio-option::-moz-focus-inner,[type="reset"].sc-ic-radio-option::-moz-focus-inner,[type="submit"].sc-ic-radio-option::-moz-focus-inner{border-style:none;padding:0}button.sc-ic-radio-option:-moz-focusring,[type="button"].sc-ic-radio-option:-moz-focusring,[type="reset"].sc-ic-radio-option:-moz-focusring,[type="submit"].sc-ic-radio-option:-moz-focusring{outline:1px dotted ButtonText}fieldset.sc-ic-radio-option{padding:0.35em 0.75em 0.625em}legend.sc-ic-radio-option{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress.sc-ic-radio-option{vertical-align:baseline}textarea.sc-ic-radio-option{overflow:auto}[type="checkbox"].sc-ic-radio-option,[type="radio"].sc-ic-radio-option{box-sizing:border-box;padding:0}[type="number"].sc-ic-radio-option::-webkit-inner-spin-button,[type="number"].sc-ic-radio-option::-webkit-outer-spin-button{height:auto}[type="search"].sc-ic-radio-option{-webkit-appearance:textfield;outline-offset:-2px}[type="search"].sc-ic-radio-option::-webkit-search-decoration{-webkit-appearance:none}.sc-ic-radio-option::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details.sc-ic-radio-option{display:block}summary.sc-ic-radio-option{display:list-item}template.sc-ic-radio-option{display:none}[hidden].sc-ic-radio-option{display:none}html.sc-ic-radio-option,body.sc-ic-radio-option,div.sc-ic-radio-option,span.sc-ic-radio-option,applet.sc-ic-radio-option,object.sc-ic-radio-option,iframe.sc-ic-radio-option,h1.sc-ic-radio-option,h2.sc-ic-radio-option,h3.sc-ic-radio-option,h4.sc-ic-radio-option,h5.sc-ic-radio-option,h6.sc-ic-radio-option,p.sc-ic-radio-option,blockquote.sc-ic-radio-option,pre.sc-ic-radio-option,a.sc-ic-radio-option,abbr.sc-ic-radio-option,acronym.sc-ic-radio-option,address.sc-ic-radio-option,big.sc-ic-radio-option,cite.sc-ic-radio-option,code.sc-ic-radio-option,del.sc-ic-radio-option,dfn.sc-ic-radio-option,em.sc-ic-radio-option,img.sc-ic-radio-option,ins.sc-ic-radio-option,kbd.sc-ic-radio-option,q.sc-ic-radio-option,s.sc-ic-radio-option,samp.sc-ic-radio-option,small.sc-ic-radio-option,strike.sc-ic-radio-option,strong.sc-ic-radio-option,sub.sc-ic-radio-option,sup.sc-ic-radio-option,tt.sc-ic-radio-option,var.sc-ic-radio-option,b.sc-ic-radio-option,u.sc-ic-radio-option,i.sc-ic-radio-option,center.sc-ic-radio-option,dl.sc-ic-radio-option,dt.sc-ic-radio-option,dd.sc-ic-radio-option,ol.sc-ic-radio-option,ul.sc-ic-radio-option,li.sc-ic-radio-option,fieldset.sc-ic-radio-option,form.sc-ic-radio-option,label.sc-ic-radio-option,legend.sc-ic-radio-option,table.sc-ic-radio-option,caption.sc-ic-radio-option,tbody.sc-ic-radio-option,tfoot.sc-ic-radio-option,thead.sc-ic-radio-option,tr.sc-ic-radio-option,th.sc-ic-radio-option,td.sc-ic-radio-option,article.sc-ic-radio-option,aside.sc-ic-radio-option,canvas.sc-ic-radio-option,details.sc-ic-radio-option,embed.sc-ic-radio-option,figure.sc-ic-radio-option,figcaption.sc-ic-radio-option,footer.sc-ic-radio-option,header.sc-ic-radio-option,hgroup.sc-ic-radio-option,menu.sc-ic-radio-option,nav.sc-ic-radio-option,output.sc-ic-radio-option,ruby.sc-ic-radio-option,section.sc-ic-radio-option,summary.sc-ic-radio-option,time.sc-ic-radio-option,mark.sc-ic-radio-option,audio.sc-ic-radio-option,video.sc-ic-radio-option{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}.sc-ic-radio-option-h{display:flex;flex-direction:column;width:-moz-fit-content;width:fit-content}.sc-ic-radio-option-h .additional-field-wrapper-static.sc-ic-radio-option-s>[slot="additional-field"]{margin-top:calc(var(--ic-space-sm) / 2);margin-left:var(--ic-space-xl)}.ic-radio-option-disabled.sc-ic-radio-option-h,.ic-radio-option-disabled.sc-ic-radio-option-h .radio-label.sc-ic-radio-option{--ic-typography-color:var(--ic-radio-button-text-option-disabled)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:focus+span.checkmark.sc-ic-radio-option,.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:hover input.sc-ic-radio-option:focus+span.checkmark.sc-ic-radio-option,.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:focus+span.checkmark.sc-ic-radio-option,.sc-ic-radio-option-h:focus .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked+span.checkmark.sc-ic-radio-option{box-shadow:var(--ic-border-focus)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option{display:grid;grid-template-columns:min-content auto;position:relative;cursor:pointer;align-items:center;margin:var(--ic-space-xxs) 0 var(--ic-space-xxs) var(--ic-space-xxs)}.ic-radio-option-small.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option{margin:0 0 0 var(--ic-space-xxs)}.sc-ic-radio-option-h .radio-option-container.disabled.sc-ic-radio-option,.sc-ic-radio-option-h .radio-option-container.disabled.sc-ic-radio-option input.sc-ic-radio-option:disabled{cursor:default}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-block;position:absolute;cursor:pointer;height:var(--ic-space-lg);width:var(--ic-space-lg);border-radius:50%;border:none}.ic-radio-option-small.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option{height:var(--ic-space-md);width:var(--ic-space-md)}.sc-ic-radio-option-h .checkmark.sc-ic-radio-option{display:block;position:relative;top:0;left:0;height:var(--ic-space-lg);width:var(--ic-space-lg);background-color:var(--ic-radio-button-background-default);border:var(--ic-space-1px) solid var(--ic-radio-button-border-default);border-radius:50%;transition:var(--ic-easing-transition-fast);box-sizing:border-box}.ic-radio-option-small.sc-ic-radio-option-h .checkmark.sc-ic-radio-option{height:var(--ic-space-md);width:var(--ic-space-md)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option::after{display:inline-block}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:hover input.sc-ic-radio-option~.checkmark.sc-ic-radio-option{box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-hover);border:var(--ic-border-width) solid var(--ic-radio-button-default-hover)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:hover input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option{box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-hover);border:0.125rem solid var(--ic-radio-button-default-hover)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:hover:not(.disabled) input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option::after{background-color:var(--ic-radio-button-default-hover)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option~.checkmark.sc-ic-radio-option{box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-pressed);border:var(--ic-border-width) solid var(--ic-radio-button-default-pressed)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option{border:0.125rem solid var(--ic-radio-button-default-pressed);box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-pressed)}.ic-radio-option-small.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option{border-width:var(--ic-space-1px)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option::after{background-color:var(--ic-radio-button-default-pressed)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option{border:0.125rem solid var(--ic-radio-button-default-active)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked:disabled~.checkmark.sc-ic-radio-option{border:0.125rem solid var(--ic-radio-button-border-disabled)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option{border:var(--ic-border-width) dashed var(--ic-radio-button-border-disabled)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option::after{background:var(--ic-radio-button-disabled)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:hover input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option{box-shadow:none;border:0.125rem solid none}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option::after{background-color:var(--ic-radio-button-disabled)}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option .checkmark.sc-ic-radio-option::after{content:"";position:absolute;display:none;top:calc(50% - var(--ic-space-xs));left:calc(50% - var(--ic-space-xs));width:var(--ic-space-md);height:var(--ic-space-md);border-radius:50%;background:var(--ic-radio-button-default-active)}.ic-radio-option-small.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option .checkmark.sc-ic-radio-option::after{top:50%;left:50%;width:0.625rem;height:0.625rem;border-radius:50%;background:var(--ic-radio-button-default-active);transform:translate(-50%, -50%)}.sc-ic-radio-option-h .radio-label.sc-ic-radio-option{margin-left:var(--ic-space-md);--ic-typography-color:var(--ic-radio-button-text-option)}.ic-radio-option-small.sc-ic-radio-option-h .radio-label.sc-ic-radio-option{margin-left:var(--ic-space-xs)}.sc-ic-radio-option-h .additional-field-wrapper-static.sc-ic-radio-option{margin-left:var(--ic-space-xs)}.sc-ic-radio-option-h .branch-corner.sc-ic-radio-option{color:var(--ic-radio-button-required-bar);height:var(--ic-space-md);width:var(--ic-space-xl);border-radius:0 0 0 0.188rem;border-bottom:0.125rem solid var(--ic-radio-button-required-bar);border-left:0.125rem solid var(--ic-radio-button-required-bar);margin-left:calc(-1 * var(--ic-space-1px))}.sc-ic-radio-option-h .dynamic-container.sc-ic-radio-option{display:flex;position:relative;margin:var(--ic-space-xxs) 0 var(--ic-space-xxs) var(--ic-space-md);gap:var(--ic-space-xs)}.ic-radio-option-small.sc-ic-radio-option-h .dynamic-container.sc-ic-radio-option{margin-left:12px}.sc-ic-radio-option-h .dynamic-container.hidden.sc-ic-radio-option{display:none}.sc-ic-radio-option-h .dynamic-text.sc-ic-radio-option{color:var(--ic-radio-button-required-text);--ic-typography-color:var(--ic-radio-button-required-text);margin-top:calc(var(--ic-space-sm) / 2);margin-bottom:var(--ic-space-xs);border-radius:2%}@media (max-width: 576px){.sc-ic-radio-option-h .additional-field-wrapper-dynamic.sc-ic-radio-option-s>ic-text-field,.sc-ic-radio-option-h .additional-field-wrapper-static.sc-ic-radio-option-s>ic-text-field{--input-width:100%}}@media (forced-colors: active){.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option,.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option{border-color:Highlight}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option::after,.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:checked~.checkmark.sc-ic-radio-option::after{background-color:Highlight}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option,.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:checked:disabled~.checkmark.sc-ic-radio-option{border-color:GrayText}.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option::after,.sc-ic-radio-option-h .radio-option-container.sc-ic-radio-option:active input.sc-ic-radio-option:disabled~.checkmark.sc-ic-radio-option::after{background-color:GrayText}}.sc-ic-radio-option-h input[type="radio"].sc-ic-radio-option:dir(rtl){right:0}.sc-ic-radio-option-h .radio-label.sc-ic-radio-option:dir(rtl){padding-right:var(--ic-space-sm);padding-left:0}.sc-ic-radio-option-h .branch-corner.sc-ic-radio-option:dir(rtl){border-radius:0 0 0.188rem;border-right:0.125rem solid var(--ic-action-default);border-left:none}.sc-ic-radio-option-h .dynamic-container.sc-ic-radio-option:dir(rtl){margin:var(--ic-space-xxxs) var(--ic-space-sm) var(--ic-space-xxs) 0}';const b=h;const u="additional-field";const m=class{constructor(c){i(this,c);this.icCheck=o(this,"icCheck",7);this.icSelectedChange=o(this,"icSelectedChange",7);this.defaultRadioValue="";this.hasAdditionalField=false;this.skipFocus=false;this.additionalFieldDisplay="static";this.disabled=false;this.dynamicText="This selection requires additional answers";this.theme="inherit";this.selected=false;this.initiallySelected=this.selected;this.handleClick=i=>{var o,c;const a=i.target.matches(".dynamic-container:not(ic-radio-option, .checkmark), .dynamic-container *:not(ic-radio-option, .checkmark)");if(!this.disabled&&(!a||i.target===this.radioElement)){i.stopPropagation();if(this.skipFocus===false){(o=this.radioElement)===null||o===void 0?void 0:o.focus()}this.skipFocus=false;if(this.hasAdditionalField){this.value=((c=this.getAdditionalField())===null||c===void 0?void 0:c.value)||this.defaultRadioValue}this.icCheck.emit({value:this.value})}};this.handleKeyDown=i=>{const o=["IC-DATE-INPUT","IC-DATE-PICKER"];if(this.getAdditionalField()==document.activeElement&&o.includes(this.getAdditionalField().nodeName)){i.stopPropagation()}};this.handleFormReset=()=>{this.skipFocus=true;this.selected=this.initiallySelected}}watchDisabledHandler(){r(this.disabled,this.el)}watchSelectedHandler(){this.icSelectedChange.emit()}handleCheck(i){if(this.additionalFieldDisplay==="static"&&Array.from(this.el.querySelectorAll("ic-radio-option")).includes(i.target))this.icCheck.emit({value:this.value})}disconnectedCallback(){d(this.el,this.handleFormReset)}componentWillLoad(){if(n(this.el,u)){this.hasAdditionalField=true;this.getAdditionalField()}this.defaultRadioValue=this.value;e(this.el,this.handleFormReset);r(this.disabled,this.el)}componentDidLoad(){s([{prop:this.value,propName:"value"}],"Radio Option")}componentWillRender(){const i=p(this.el,u);if(i&&!this.hasAdditionalField){this.hasAdditionalField=true;this.getAdditionalField()}else if(!i&&this.hasAdditionalField){this.hasAdditionalField=false}}componentDidRender(){if(this.additionalFieldDisplay==="static"){const i=this.getAdditionalField();if(!this.selected||this.disabled){i===null||i===void 0?void 0:i.setAttribute("disabled","")}else{i===null||i===void 0?void 0:i.removeAttribute("disabled")}}}additionalFieldValueHandler(i){if(this.selected){this.value=i.detail.value||this.defaultRadioValue;this.icCheck.emit({value:this.value})}i.stopImmediatePropagation()}async setFocus(){var i;(i=this.radioElement)===null||i===void 0?void 0:i.focus()}async setTabIndex(i){var o;(o=this.radioElement)===null||o===void 0?void 0:o.setAttribute("tabIndex",i.toString())}getAdditionalField(){const i=this.el.querySelector('ic-text-field[slot="additional-field"]');if(i)i.hiddenInput=false;return i}render(){var i,o;const{additionalFieldDisplay:t,disabled:r,dynamicText:d,form:n,groupLabel:e,handleClick:s,handleKeyDown:p,hasAdditionalField:h,label:b,name:m,selected:f,value:v,theme:k}=this;const g=`ic-radio-option-${l(b)||v}-${e}`;return c(a,{key:"0a7177993a68c85ed54198b8ee213811aa2e130a",onClick:s,onKeyDown:p,class:{["ic-radio-option-disabled"]:!!r,[`ic-theme-${k}`]:k!=="inherit",["ic-radio-option-small"]:((i=this.el.parentElement)===null||i===void 0?void 0:i.tagName)==="IC-RADIO-GROUP"&&((o=this.el.parentElement)===null||o===void 0?void 0:o.className.includes("ic-radio-group-small"))}},c("div",{key:"64bac9a6440919352131dc732648034a90d7e92e",class:{"radio-option-container":true,disabled:!!r}},c("div",{key:"419dc17817ca4c9945025268e0e00de83db01790"},c("input",{key:"0885bab10d42cd69eda2e0d78702c6c2afcff615",tabindex:f?"0":"-1",type:"radio",name:m,id:g,value:v,disabled:r,checked:f,ref:i=>this.radioElement=i,form:n}),c("span",{key:"df142dc79e23d240abd15f5088d703b6d388456b",class:"checkmark"})),c("ic-typography",{key:"4d5a779bbef4ccb65fbe7ebf6b3aeceafb9227e0",class:"radio-label",variant:"body"},c("label",{key:"6d2778eb36c462f3c7fa25ed9ae5d8733b0fcb20",htmlFor:g},b))),h&&c("div",{key:"9772fd4d064854c3db492f430b90098eccd13701",class:{"dynamic-container":true,hidden:t==="dynamic"&&!f}},t==="dynamic"&&c("div",{key:"a237b8043bf912d5fb1be67014ae0bde41c5a2a4",class:"branch-corner"}),c("div",{key:"70524014fa4d75197460d321f47824ab20503806"},t==="dynamic"&&c("ic-typography",{key:"2f652884ff6ac334fd6cb688e52d05d0bdabf3de",variant:"caption",role:"alert"},c("p",{key:"36cc2915b063c8d85e61dd18a3c384460b996d4f",class:"dynamic-text"},d)),c("div",{key:"d8386ddb6c70fd7893544d3c6d1720b349bb378b",class:{[`additional-field-wrapper-${t}`]:true}},c("slot",{key:"f9b72315938873b57c52af87730ee72b24a413af",name:u})))))}get el(){return t(this)}static get watchers(){return{disabled:["watchDisabledHandler"],selected:["watchSelectedHandler"]}}};m.style=b;export{m as ic_radio_option};
2
- //# sourceMappingURL=p-c0b227d2.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["icRadioOptionCss","IcRadioOptionStyle0","ADDITIONAL_FIELD","RadioOption","constructor","hostRef","this","defaultRadioValue","hasAdditionalField","skipFocus","additionalFieldDisplay","disabled","dynamicText","theme","selected","initiallySelected","handleClick","event","_a","_b","clickedAdditionalField","target","matches","radioElement","stopPropagation","focus","value","getAdditionalField","icCheck","emit","handleKeyDown","preventPropagationElements","document","activeElement","includes","nodeName","handleFormReset","watchDisabledHandler","removeDisabledFalse","el","watchSelectedHandler","icSelectedChange","handleCheck","ev","Array","from","querySelectorAll","disconnectedCallback","removeFormResetListener","componentWillLoad","isSlotUsed","addFormResetListener","componentDidLoad","onComponentRequiredPropUndefined","prop","propName","componentWillRender","hasSlot","slotHasContent","componentDidRender","additionalField","setAttribute","removeAttribute","additionalFieldValueHandler","detail","stopImmediatePropagation","setFocus","setTabIndex","toString","querySelector","hiddenInput","render","form","groupLabel","label","name","id","isPropDefined","h","Host","key","onClick","onKeyDown","class","parentElement","tagName","className","tabindex","type","checked","ref","variant","htmlFor","hidden","role"],"sources":["../web-components/dist/collection/components/ic-radio-option/ic-radio-option.css?tag=ic-radio-option&encapsulation=scoped","../web-components/dist/collection/components/ic-radio-option/ic-radio-option.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n display: flex;\n flex-direction: column;\n width: -moz-fit-content;\n width: fit-content;\n}\n\n:host .additional-field-wrapper-static::slotted([slot=\"additional-field\"]) {\n margin-top: calc(var(--ic-space-sm) / 2);\n margin-left: var(--ic-space-xl);\n}\n\n/* The label turns grey when disabled */\n:host(.ic-radio-option-disabled),\n:host(.ic-radio-option-disabled) .radio-label {\n --ic-typography-color: var(--ic-radio-button-text-option-disabled);\n}\n\n/* Focus states */\n:host .radio-option-container input:focus + span.checkmark,\n:host .radio-option-container:hover input:focus + span.checkmark,\n:host .radio-option-container:active input:focus + span.checkmark,\n:host(:focus) .radio-option-container input:checked + span.checkmark {\n box-shadow: var(--ic-border-focus);\n}\n\n/* The container */\n:host .radio-option-container {\n display: grid;\n grid-template-columns: min-content auto;\n position: relative;\n cursor: pointer;\n align-items: center;\n margin: var(--ic-space-xxs) 0 var(--ic-space-xxs) var(--ic-space-xxs);\n}\n\n:host(.ic-radio-option-small) .radio-option-container {\n margin: 0 0 0 var(--ic-space-xxs);\n}\n\n:host .radio-option-container.disabled,\n:host .radio-option-container.disabled input:disabled {\n cursor: default;\n}\n\n/* Hide the browser's default radio button */\n:host .radio-option-container input {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n display: inline-block;\n position: absolute;\n cursor: pointer;\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n border-radius: 50%;\n border: none;\n}\n\n:host(.ic-radio-option-small) .radio-option-container input {\n height: var(--ic-space-md);\n width: var(--ic-space-md);\n}\n\n/* Create a custom radio button */\n:host .checkmark {\n display: block;\n position: relative;\n top: 0;\n left: 0;\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n background-color: var(--ic-radio-button-background-default);\n border: var(--ic-space-1px) solid var(--ic-radio-button-border-default);\n border-radius: 50%;\n transition: var(--ic-easing-transition-fast);\n box-sizing: border-box;\n}\n\n:host(.ic-radio-option-small) .checkmark {\n height: var(--ic-space-md);\n width: var(--ic-space-md);\n}\n\n/* Show the indicator (dot/circle) when checked */\n:host .radio-option-container input:checked ~ .checkmark::after {\n display: inline-block;\n}\n\n/* On mouse-over, add a light blue background color */\n:host .radio-option-container:hover input ~ .checkmark {\n box-shadow: 0 0 0 0.25rem var(--ic-radio-button-active-hover);\n border: var(--ic-border-width) solid var(--ic-radio-button-default-hover);\n}\n\n:host .radio-option-container:hover input:checked ~ .checkmark {\n box-shadow: 0 0 0 0.25rem var(--ic-radio-button-active-hover);\n border: 0.125rem solid var(--ic-radio-button-default-hover);\n}\n\n:host\n .radio-option-container:hover:not(.disabled)\n input:checked\n ~ .checkmark::after {\n background-color: var(--ic-radio-button-default-hover);\n}\n\n/* When pressed, adds the active colours */\n:host .radio-option-container:active input ~ .checkmark {\n box-shadow: 0 0 0 0.25rem var(--ic-radio-button-active-pressed);\n border: var(--ic-border-width) solid var(--ic-radio-button-default-pressed);\n}\n\n/* When pressed, adds the active colours */\n:host .radio-option-container:active input:checked ~ .checkmark {\n border: 0.125rem solid var(--ic-radio-button-default-pressed);\n box-shadow: 0 0 0 0.25rem var(--ic-radio-button-active-pressed);\n}\n\n:host(.ic-radio-option-small)\n .radio-option-container\n input:checked\n ~ .checkmark {\n border-width: var(--ic-space-1px);\n}\n\n/* When pressed and selected, adds the active colours */\n:host .radio-option-container:active input:checked ~ .checkmark::after {\n background-color: var(--ic-radio-button-default-pressed);\n}\n\n/* When the radio button is checked */\n:host .radio-option-container input:checked ~ .checkmark {\n border: 0.125rem solid var(--ic-radio-button-default-active);\n}\n\n/* When the radio button is checked and disabled */\n:host .radio-option-container input:checked:disabled ~ .checkmark {\n border: 0.125rem solid var(--ic-radio-button-border-disabled);\n}\n\n/* When the radio button is disabled */\n:host .radio-option-container input:disabled ~ .checkmark {\n border: var(--ic-border-width) dashed var(--ic-radio-button-border-disabled);\n}\n\n/* When the radio button is disabled */\n:host .radio-option-container input:disabled ~ .checkmark::after {\n background: var(--ic-radio-button-disabled);\n}\n\n/* On mouse-over inactive */\n:host .radio-option-container:hover input:disabled ~ .checkmark {\n box-shadow: none;\n border: 0.125rem solid none;\n}\n\n:host .radio-option-container:active input:disabled ~ .checkmark::after {\n background-color: var(--ic-radio-button-disabled);\n}\n\n/* Style the indicator (dot/circle) */\n:host .radio-option-container .checkmark::after {\n content: \"\";\n position: absolute;\n display: none;\n top: calc(50% - var(--ic-space-xs));\n left: calc(50% - var(--ic-space-xs));\n width: var(--ic-space-md);\n height: var(--ic-space-md);\n border-radius: 50%;\n background: var(--ic-radio-button-default-active);\n}\n\n:host(.ic-radio-option-small) .radio-option-container .checkmark::after {\n top: 50%;\n left: 50%;\n width: 0.625rem;\n height: 0.625rem;\n border-radius: 50%;\n background: var(--ic-radio-button-default-active);\n transform: translate(-50%, -50%);\n}\n\n:host .radio-label {\n margin-left: var(--ic-space-md);\n\n --ic-typography-color: var(--ic-radio-button-text-option);\n}\n\n:host(.ic-radio-option-small) .radio-label {\n margin-left: var(--ic-space-xs);\n}\n\n:host .additional-field-wrapper-static {\n margin-left: var(--ic-space-xs);\n}\n\n/* The line */\n:host .branch-corner {\n color: var(--ic-radio-button-required-bar);\n height: var(--ic-space-md);\n width: var(--ic-space-xl);\n border-radius: 0 0 0 0.188rem;\n border-bottom: 0.125rem solid var(--ic-radio-button-required-bar);\n border-left: 0.125rem solid var(--ic-radio-button-required-bar);\n margin-left: calc(-1 * var(--ic-space-1px));\n}\n\n/* The dynamic container */\n:host .dynamic-container {\n display: flex;\n position: relative;\n margin: var(--ic-space-xxs) 0 var(--ic-space-xxs) var(--ic-space-md);\n gap: var(--ic-space-xs);\n}\n\n:host(.ic-radio-option-small) .dynamic-container {\n margin-left: 12px;\n}\n\n:host .dynamic-container.hidden {\n display: none;\n}\n\n:host .dynamic-text {\n color: var(--ic-radio-button-required-text);\n\n --ic-typography-color: var(--ic-radio-button-required-text);\n\n margin-top: calc(var(--ic-space-sm) / 2);\n margin-bottom: var(--ic-space-xs);\n border-radius: 2%;\n}\n\n@media (max-width: 576px) {\n :host .additional-field-wrapper-dynamic::slotted(ic-text-field),\n :host .additional-field-wrapper-static::slotted(ic-text-field) {\n --input-width: 100%;\n }\n}\n\n@media (forced-colors: active) {\n /* Styles here only apply to Forced Colors Mode */\n\n :host .radio-option-container input:checked ~ .checkmark,\n :host .radio-option-container:active input:checked ~ .checkmark {\n border-color: Highlight;\n }\n\n :host .radio-option-container input:checked ~ .checkmark::after,\n :host .radio-option-container:active input:checked ~ .checkmark::after {\n background-color: Highlight;\n }\n\n :host .radio-option-container input:disabled ~ .checkmark,\n :host .radio-option-container input:checked:disabled ~ .checkmark {\n border-color: GrayText;\n }\n\n :host .radio-option-container input:disabled ~ .checkmark::after,\n :host .radio-option-container:active input:disabled ~ .checkmark::after {\n background-color: GrayText;\n }\n}\n\n/* Right to left */\n:host input[type=\"radio\"]:dir(rtl) {\n right: 0;\n}\n\n:host .radio-label:dir(rtl) {\n padding-right: var(--ic-space-sm);\n padding-left: 0;\n}\n\n:host .branch-corner:dir(rtl) {\n border-radius: 0 0 0.188rem;\n border-right: 0.125rem solid var(--ic-action-default);\n border-left: none;\n}\n\n:host .dynamic-container:dir(rtl) {\n margin: var(--ic-space-xxxs) var(--ic-space-sm) var(--ic-space-xxs) 0;\n}\n","import { Host, h, } from \"@stencil/core\";\nimport { onComponentRequiredPropUndefined, addFormResetListener, removeFormResetListener, removeDisabledFalse, isPropDefined, isSlotUsed, slotHasContent, } from \"../../utils/helpers\";\nconst ADDITIONAL_FIELD = \"additional-field\";\n/**\n * @slot additional-field - Content to displayed alongside a radio option.\n */\nexport class RadioOption {\n constructor() {\n this.defaultRadioValue = \"\";\n this.hasAdditionalField = false;\n this.skipFocus = false;\n /**\n * The style of additionalField that will be displayed if used.\n */\n this.additionalFieldDisplay = \"static\";\n /**\n * If `true`, the disabled state will be set.\n */\n this.disabled = false;\n /**\n * The text to be displayed when dynamic.\n */\n this.dynamicText = \"This selection requires additional answers\";\n /**\n * Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component.\n */\n this.theme = \"inherit\";\n /**\n * If `true`, the radio option will be displayed in a selected state.\n */\n this.selected = false;\n this.initiallySelected = this.selected;\n this.handleClick = (event) => {\n var _a, _b;\n const clickedAdditionalField = event.target.matches(\".dynamic-container:not(ic-radio-option, .checkmark), .dynamic-container *:not(ic-radio-option, .checkmark)\");\n if (!this.disabled &&\n (!clickedAdditionalField || event.target === this.radioElement)) {\n event.stopPropagation();\n if (this.skipFocus === false) {\n (_a = this.radioElement) === null || _a === void 0 ? void 0 : _a.focus();\n }\n this.skipFocus = false;\n if (this.hasAdditionalField) {\n this.value = ((_b = this.getAdditionalField()) === null || _b === void 0 ? void 0 : _b.value) || this.defaultRadioValue;\n }\n this.icCheck.emit({\n value: this.value,\n });\n }\n };\n this.handleKeyDown = (event) => {\n const preventPropagationElements = [\"IC-DATE-INPUT\", \"IC-DATE-PICKER\"];\n if (this.getAdditionalField() == document.activeElement &&\n preventPropagationElements.includes(this.getAdditionalField().nodeName)) {\n event.stopPropagation();\n }\n };\n this.handleFormReset = () => {\n this.skipFocus = true;\n this.selected = this.initiallySelected;\n };\n }\n watchDisabledHandler() {\n removeDisabledFalse(this.disabled, this.el);\n }\n watchSelectedHandler() {\n this.icSelectedChange.emit();\n }\n handleCheck(ev) {\n if (this.additionalFieldDisplay === \"static\" &&\n Array.from(this.el.querySelectorAll(\"ic-radio-option\")).includes(ev.target))\n this.icCheck.emit({ value: this.value });\n }\n disconnectedCallback() {\n removeFormResetListener(this.el, this.handleFormReset);\n }\n componentWillLoad() {\n if (isSlotUsed(this.el, ADDITIONAL_FIELD)) {\n this.hasAdditionalField = true;\n this.getAdditionalField();\n }\n this.defaultRadioValue = this.value;\n addFormResetListener(this.el, this.handleFormReset);\n removeDisabledFalse(this.disabled, this.el);\n }\n componentDidLoad() {\n onComponentRequiredPropUndefined([{ prop: this.value, propName: \"value\" }], \"Radio Option\");\n }\n componentWillRender() {\n const hasSlot = slotHasContent(this.el, ADDITIONAL_FIELD);\n if (hasSlot && !this.hasAdditionalField) {\n this.hasAdditionalField = true;\n this.getAdditionalField();\n }\n else if (!hasSlot && this.hasAdditionalField) {\n this.hasAdditionalField = false;\n }\n }\n componentDidRender() {\n if (this.additionalFieldDisplay === \"static\") {\n const additionalField = this.getAdditionalField();\n if (!this.selected || this.disabled) {\n additionalField === null || additionalField === void 0 ? void 0 : additionalField.setAttribute(\"disabled\", \"\");\n }\n else {\n additionalField === null || additionalField === void 0 ? void 0 : additionalField.removeAttribute(\"disabled\");\n }\n }\n }\n additionalFieldValueHandler(event) {\n if (this.selected) {\n this.value = event.detail.value || this.defaultRadioValue;\n this.icCheck.emit({\n value: this.value,\n });\n }\n event.stopImmediatePropagation();\n }\n /**\n * Sets focus on the radio option.\n */\n async setFocus() {\n var _a;\n (_a = this.radioElement) === null || _a === void 0 ? void 0 : _a.focus();\n }\n /**\n * @internal Sets the tabIndex of the radio option.\n */\n async setTabIndex(value) {\n var _a;\n (_a = this.radioElement) === null || _a === void 0 ? void 0 : _a.setAttribute(\"tabIndex\", value.toString());\n }\n getAdditionalField() {\n const additionalField = this.el.querySelector('ic-text-field[slot=\"additional-field\"]');\n if (additionalField)\n additionalField.hiddenInput = false;\n return additionalField;\n }\n render() {\n var _a, _b;\n const { additionalFieldDisplay, disabled, dynamicText, form, groupLabel, handleClick, handleKeyDown, hasAdditionalField, label, name, selected, value, theme, } = this;\n const id = `ic-radio-option-${isPropDefined(label) || value}-${groupLabel}`;\n return (h(Host, { key: '0a7177993a68c85ed54198b8ee213811aa2e130a', onClick: handleClick, onKeyDown: handleKeyDown, class: {\n [\"ic-radio-option-disabled\"]: !!disabled,\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n [\"ic-radio-option-small\"]: ((_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.tagName) === \"IC-RADIO-GROUP\" &&\n ((_b = this.el.parentElement) === null || _b === void 0 ? void 0 : _b.className.includes(\"ic-radio-group-small\")),\n } }, h(\"div\", { key: '64bac9a6440919352131dc732648034a90d7e92e', class: { \"radio-option-container\": true, disabled: !!disabled } }, h(\"div\", { key: '419dc17817ca4c9945025268e0e00de83db01790' }, h(\"input\", { key: '0885bab10d42cd69eda2e0d78702c6c2afcff615', tabindex: selected ? \"0\" : \"-1\", type: \"radio\", name: name, id: id, value: value, disabled: disabled, checked: selected, ref: (el) => (this.radioElement = el), form: form }), h(\"span\", { key: 'df142dc79e23d240abd15f5088d703b6d388456b', class: \"checkmark\" })), h(\"ic-typography\", { key: '4d5a779bbef4ccb65fbe7ebf6b3aeceafb9227e0', class: \"radio-label\", variant: \"body\" }, h(\"label\", { key: '6d2778eb36c462f3c7fa25ed9ae5d8733b0fcb20', htmlFor: id }, label))), hasAdditionalField && (h(\"div\", { key: '9772fd4d064854c3db492f430b90098eccd13701', class: {\n \"dynamic-container\": true,\n hidden: additionalFieldDisplay === \"dynamic\" && !selected,\n } }, additionalFieldDisplay === \"dynamic\" && (h(\"div\", { key: 'a237b8043bf912d5fb1be67014ae0bde41c5a2a4', class: \"branch-corner\" })), h(\"div\", { key: '70524014fa4d75197460d321f47824ab20503806' }, additionalFieldDisplay === \"dynamic\" && (h(\"ic-typography\", { key: '2f652884ff6ac334fd6cb688e52d05d0bdabf3de', variant: \"caption\", role: \"alert\" }, h(\"p\", { key: '36cc2915b063c8d85e61dd18a3c384460b996d4f', class: \"dynamic-text\" }, dynamicText))), h(\"div\", { key: 'd8386ddb6c70fd7893544d3c6d1720b349bb378b', class: {\n [`additional-field-wrapper-${additionalFieldDisplay}`]: true,\n } }, h(\"slot\", { key: 'f9b72315938873b57c52af87730ee72b24a413af', name: ADDITIONAL_FIELD })))))));\n }\n static get is() { return \"ic-radio-option\"; }\n static get encapsulation() { return \"scoped\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-radio-option.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-radio-option.css\"]\n };\n }\n static get properties() {\n return {\n \"additionalFieldDisplay\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcAdditionalFieldTypes\",\n \"resolved\": \"\\\"dynamic\\\" | \\\"static\\\" | undefined\",\n \"references\": {\n \"IcAdditionalFieldTypes\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcAdditionalFieldTypes\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The style of additionalField that will be displayed if used.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"additional-field-display\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"static\\\"\"\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the disabled state will be set.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"dynamicText\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The text to be displayed when dynamic.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"dynamic-text\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"This selection requires additional answers\\\"\"\n },\n \"form\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The <form> element to associate the radio with.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"form\",\n \"reflect\": false\n },\n \"groupLabel\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The group label for the radio option.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"group-label\",\n \"reflect\": false\n },\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The label for the radio option.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"name\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The name for the radio option.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"name\",\n \"reflect\": false\n },\n \"theme\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcThemeMode\",\n \"resolved\": \"\\\"dark\\\" | \\\"inherit\\\" | \\\"light\\\" | undefined\",\n \"references\": {\n \"IcThemeMode\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcThemeMode\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Sets the theme color to the dark or light theme color. \\\"inherit\\\" will set the color based on the system settings or ic-theme component.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"theme\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"inherit\\\"\"\n },\n \"value\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The value for the radio option.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"value\",\n \"reflect\": false\n },\n \"selected\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the radio option will be displayed in a selected state.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"selected\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get states() {\n return {\n \"initiallySelected\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"icCheck\",\n \"name\": \"icCheck\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the radio option is selected.\"\n },\n \"complexType\": {\n \"original\": \"IcValueEventDetail\",\n \"resolved\": \"IcValueEventDetail\",\n \"references\": {\n \"IcValueEventDetail\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcValueEventDetail\"\n }\n }\n }\n }, {\n \"method\": \"icSelectedChange\",\n \"name\": \"icSelectedChange\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the radio option is selected or deselected.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the radio option.\",\n \"tags\": []\n }\n },\n \"setTabIndex\": {\n \"complexType\": {\n \"signature\": \"(value: number) => Promise<void>\",\n \"parameters\": [{\n \"name\": \"value\",\n \"type\": \"number\",\n \"docs\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Sets the tabIndex of the radio option.\"\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"disabled\",\n \"methodName\": \"watchDisabledHandler\"\n }, {\n \"propName\": \"selected\",\n \"methodName\": \"watchSelectedHandler\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"icCheck\",\n \"method\": \"handleCheck\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"icChange\",\n \"method\": \"additionalFieldValueHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n//# sourceMappingURL=ic-radio-option.js.map\n"],"mappings":"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","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["icLinkCss","IcLinkStyle0","Link","constructor","hostRef","this","inheritedAttributes","hostMutationObserver","download","monochrome","theme","hostMutationCallback","mutationList","forceComponentUpdate","forEach","attributeName","attribute","el","getAttribute","IC_INHERITED_ARIA","includes","forceUpdate","setDownloadAttribute","value","undefined","componentWillLoad","inheritAttributes","updateTheme","setAttribute","componentDidLoad","MutationObserver","observe","attributes","disconnectedCallback","_a","disconnect","brandChangeHandler","detail","mode","setFocus","_b","shadowRoot","querySelector","focus","getBrandFromContext","IcBrandForegroundEnum","Default","Light","Dark","hasRouterSlot","routerSlot","ariaLabel","textContent","render","href","hreflang","referrerpolicy","rel","target","h","Host","key","class","name","Object","assign","hrefLang","referrerPolicy","tabindex","part","innerHTML","OpenInNew","delegatesFocus"],"sources":["../web-components/dist/collection/components/ic-link/ic-link.css?tag=ic-link&encapsulation=shadow","../web-components/dist/collection/components/ic-link/ic-link.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host(.ic-link) .link,\n:host(.ic-link) ::slotted(a) {\n color: var(--ic-link-text);\n text-decoration: underline;\n font-weight: var(--ic-font-weight-bold);\n transition: var(--ic-easing-transition-fast);\n}\n\n:host(.ic-link) .link:visited,\n:host(.ic-link) ::slotted(a:visited),\n:host(.ic-link) .link:visited:hover,\n:host(.ic-link) ::slotted(a:visited:hover),\n:host(.ic-link) .link:visited:active,\n:host(.ic-link) ::slotted(a:visited:active),\n:host(.ic-link) .link:visited:focus,\n:host(.ic-link) ::slotted(a:visited:focus) {\n color: var(--ic-link-text-visited);\n}\n\n:host(.ic-link) .link:hover {\n color: var(--ic-link-text-hover);\n}\n\n:host(.ic-link) .link:active {\n color: var(--ic-link-text-pressed);\n}\n\n:host(.ic-link) .link:focus {\n color: var(--ic-link-text-focused);\n}\n\n:host(.ic-link-monochrome) .link:hover {\n color: var(--ic-link-text-hover-monochrome);\n}\n\n:host(.ic-link-monochrome) .link:active {\n color: var(--ic-link-text-pressed-monochrome);\n}\n\n:host(.ic-link-monochrome) .link:focus {\n color: var(--ic-link-text-focused-monochrome);\n}\n\n:host(.ic-link) .link:hover,\n:host(.ic-link) .link:focus,\n:host(.ic-link) ::slotted(a:hover),\n:host(.ic-link) ::slotted(a:focus) {\n outline: none;\n border-bottom: 0.25rem solid !important;\n margin-bottom: -0.25rem !important;\n text-decoration: none;\n}\n\n@supports (text-underline-offset: 10%) {\n :host(.ic-link) .link:hover,\n :host(.ic-link) .link:focus,\n :host(.ic-link) ::slotted(a:hover),\n :host(.ic-link) ::slotted(a:focus) {\n text-decoration-line: underline;\n text-decoration-thickness: 25%;\n text-underline-offset: 10%;\n border-bottom: 0 !important;\n margin-bottom: 0 !important;\n }\n}\n\n:host(.ic-link) .link:active,\n:host(.ic-link) .link:focus:active,\n:host(.ic-link) .link:visited:active,\n:host(.ic-link) ::slotted(a:active),\n:host(.ic-link) ::slotted(a:focus:active),\n:host(.ic-link) ::slotted(a:visited:active) {\n text-decoration: none;\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-open-in-new-icon > svg {\n width: var(--ic-space-md);\n height: var(--ic-space-md);\n fill: var(--ic-link-icon-launch);\n}\n\n.link:visited > .ic-link-open-in-new-icon > svg {\n fill: var(--ic-link-icon-launch-visited);\n}\n\n:host(.ic-link-monochrome) .link,\n:host(.ic-link-monochrome) ::slotted(a) {\n color: var(--ic-link-text-monochrome);\n}\n\n:host(.ic-link-monochrome) .link:visited,\n:host(.ic-link-monochrome) ::slotted(a:visited),\n:host(.ic-link-monochrome) .link:visited:hover,\n:host(.ic-link-monochrome) ::slotted(a:visited:hover),\n:host(.ic-link-monochrome) .link:visited:active,\n:host(.ic-link-monochrome) ::slotted(a:visited:active),\n:host(.ic-link-monochrome) .link:visited:focus,\n:host(.ic-link-monochrome) ::slotted(a:visited:focus) {\n color: var(--ic-link-text-visited-monochrome);\n}\n\n:host(.ic-link-monochrome) .link > .ic-link-open-in-new-icon > svg {\n fill: var(--ic-link-icon-launch-monochrome);\n}\n\n:host(.ic-link-monochrome) .link:visited > .ic-link-open-in-new-icon > svg {\n fill: var(--ic-link-icon-launch-visited-monochrome);\n}\n\n:host(.breadcrumb-link) .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) .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) .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) .link:visited {\n color: var(--ic-color-text-primary);\n}\n\n/* Footer link */\n\n:host(.footer-link) ::slotted(a) {\n color: var(--ic-footer-link) !important;\n}\n\n:host(.footer-link) .ic-link-open-in-new-icon > svg {\n fill: var(--ic-footer-icon) !important;\n}\n\n/** High Contrast **/\n@media (forced-colors: active) {\n :host(.ic-link) .ic-link-open-in-new-icon > svg {\n fill: currentcolor !important;\n }\n}\n","import { h, Host, forceUpdate, } from \"@stencil/core\";\nimport OpenInNew from \"../../assets/OpenInNew.svg\";\nimport { getBrandFromContext, inheritAttributes } from \"../../utils/helpers\";\nimport { IC_INHERITED_ARIA } from \"../../utils/constants\";\nimport { IcBrandForegroundEnum, } from \"../../utils/types\";\n/**\n * @slot router-item - Handle routing by nesting your routes in this slot.\n */\nexport class Link {\n constructor() {\n this.inheritedAttributes = {};\n this.hostMutationObserver = null;\n /**\n * If `true`, the user can save the linked URL instead of navigating to it. If the value is a string, it will be used as the filename for the download.\n */\n this.download = false;\n /**\n * If `true`, the link will display as black in the light theme, and white in the dark theme.\n */\n this.monochrome = false;\n /**\n * Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component.\n */\n this.theme = \"inherit\";\n // triggered when attributes of host element change\n this.hostMutationCallback = (mutationList) => {\n let forceComponentUpdate = false;\n mutationList.forEach(({ attributeName }) => {\n if (attributeName) {\n const attribute = this.el.getAttribute(attributeName);\n if (attribute && IC_INHERITED_ARIA.includes(attributeName)) {\n this.inheritedAttributes[attributeName] = attribute;\n forceComponentUpdate = true;\n }\n }\n });\n if (forceComponentUpdate) {\n forceUpdate(this);\n }\n };\n this.setDownloadAttribute = (value) => {\n if (typeof value === \"boolean\") {\n return value ? \"\" : undefined;\n }\n else {\n return value === \"true\" ? \"\" : value === \"false\" ? undefined : value;\n }\n };\n }\n componentWillLoad() {\n this.inheritedAttributes = inheritAttributes(this.el, IC_INHERITED_ARIA);\n this.updateTheme();\n this.el.setAttribute(\"exportparts\", \"link\");\n }\n componentDidLoad() {\n this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);\n this.hostMutationObserver.observe(this.el, {\n attributes: true,\n });\n }\n disconnectedCallback() {\n var _a;\n (_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n }\n brandChangeHandler({ detail }) {\n this.updateTheme(detail.mode);\n }\n /**\n * Sets focus on the link.\n */\n async setFocus() {\n var _a, _b;\n (_b = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(\"a\")) === null || _b === void 0 ? void 0 : _b.focus();\n }\n updateTheme(mode = null) {\n const theme = getBrandFromContext(this.el, mode);\n if (theme !== IcBrandForegroundEnum.Default) {\n this.monochrome = true;\n this.theme =\n theme === IcBrandForegroundEnum.Light\n ? IcBrandForegroundEnum.Dark\n : IcBrandForegroundEnum.Light;\n }\n }\n hasRouterSlot() {\n this.routerSlot = this.el.querySelector('[slot=\"router-item\"]');\n if (this.routerSlot) {\n this.routerSlot.ariaLabel = this.routerSlot.textContent;\n }\n return !!this.routerSlot;\n }\n render() {\n const { download, href, hreflang, referrerpolicy, rel, target, monochrome, theme, } = this;\n return (h(Host, { key: '1d3ba1effcfab3255ea567c475e2252bd17de507', class: {\n [\"ic-link\"]: true,\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n [\"ic-link-monochrome\"]: !!monochrome,\n } }, this.hasRouterSlot() ? (h(\"slot\", { name: \"router-item\" })) : (h(\"a\", Object.assign({ class: {\n [\"link\"]: !!href,\n }, download: this.setDownloadAttribute(download), href: href, hrefLang: hreflang, referrerPolicy: referrerpolicy, rel: rel, target: target, tabindex: href ? \"0\" : \"-1\" }, this.inheritedAttributes, { part: \"link\" }), h(\"slot\", null), target === \"_blank\" && (h(\"span\", { class: \"ic-link-open-in-new-icon\", innerHTML: OpenInNew }))))));\n }\n static get is() { return \"ic-link\"; }\n static get encapsulation() { return \"shadow\"; }\n static get delegatesFocus() { return true; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-link.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-link.css\"]\n };\n }\n static get properties() {\n return {\n \"download\": {\n \"type\": \"any\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string | boolean\",\n \"resolved\": \"boolean | string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the user can save the linked URL instead of navigating to it. If the value is a string, it will be used as the filename for the download.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"download\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"href\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The URL that the link points to.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"href\",\n \"reflect\": false\n },\n \"hreflang\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The human language of the linked URL.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"hreflang\",\n \"reflect\": false\n },\n \"monochrome\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the link will display as black in the light theme, and white in the dark theme.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"monochrome\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"referrerpolicy\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"ReferrerPolicy\",\n \"resolved\": \"\\\"\\\" | \\\"no-referrer\\\" | \\\"no-referrer-when-downgrade\\\" | \\\"origin\\\" | \\\"origin-when-cross-origin\\\" | \\\"same-origin\\\" | \\\"strict-origin\\\" | \\\"strict-origin-when-cross-origin\\\" | \\\"unsafe-url\\\" | undefined\",\n \"references\": {\n \"ReferrerPolicy\": {\n \"location\": \"global\",\n \"id\": \"global::ReferrerPolicy\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"How much of the referrer to send when following the link.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"referrerpolicy\",\n \"reflect\": false\n },\n \"rel\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The relationship of the linked URL as space-separated link types.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"rel\",\n \"reflect\": false\n },\n \"target\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe).\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"target\",\n \"reflect\": false\n },\n \"theme\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"IcThemeMode\",\n \"resolved\": \"\\\"dark\\\" | \\\"inherit\\\" | \\\"light\\\" | undefined\",\n \"references\": {\n \"IcThemeMode\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcThemeMode\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Sets the theme color to the dark or light theme color. \\\"inherit\\\" will set the color based on the system settings or ic-theme component.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"theme\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"inherit\\\"\"\n }\n };\n }\n static get methods() {\n return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the link.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get listeners() {\n return [{\n \"name\": \"brandChange\",\n \"method\": \"brandChangeHandler\",\n \"target\": \"document\",\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n//# sourceMappingURL=ic-link.js.map\n"],"mappings":"6JAAA,MAAMA,EAAY,y/LAClB,MAAAC,EAAeD,E,MCOFE,EAAI,MACb,WAAAC,CAAAC,G,UACIC,KAAKC,oBAAsB,GAC3BD,KAAKE,qBAAuB,KAI5BF,KAAKG,SAAW,MAIhBH,KAAKI,WAAa,MAIlBJ,KAAKK,MAAQ,UAEbL,KAAKM,qBAAwBC,IACzB,IAAIC,EAAuB,MAC3BD,EAAaE,SAAQ,EAAGC,oBACpB,GAAIA,EAAe,CACf,MAAMC,EAAYX,KAAKY,GAAGC,aAAaH,GACvC,GAAIC,GAAaG,EAAkBC,SAASL,GAAgB,CACxDV,KAAKC,oBAAoBS,GAAiBC,EAC1CH,EAAuB,I,MAInC,GAAIA,EAAsB,CACtBQ,EAAYhB,K,GAGpBA,KAAKiB,qBAAwBC,IACzB,UAAWA,IAAU,UAAW,CAC5B,OAAOA,EAAQ,GAAKC,S,KAEnB,CACD,OAAOD,IAAU,OAAS,GAAKA,IAAU,QAAUC,UAAYD,C,GAI3E,iBAAAE,GACIpB,KAAKC,oBAAsBoB,EAAkBrB,KAAKY,GAAIE,GACtDd,KAAKsB,cACLtB,KAAKY,GAAGW,aAAa,cAAe,O,CAExC,gBAAAC,GACIxB,KAAKE,qBAAuB,IAAIuB,iBAAiBzB,KAAKM,sBACtDN,KAAKE,qBAAqBwB,QAAQ1B,KAAKY,GAAI,CACvCe,WAAY,M,CAGpB,oBAAAC,GACI,IAAIC,GACHA,EAAK7B,KAAKE,wBAA0B,MAAQ2B,SAAY,OAAS,EAAIA,EAAGC,Y,CAE7E,kBAAAC,EAAmBC,OAAEA,IACjBhC,KAAKsB,YAAYU,EAAOC,K,CAK5B,cAAMC,GACF,IAAIL,EAAIM,GACPA,GAAMN,EAAK7B,KAAKY,GAAGwB,cAAgB,MAAQP,SAAY,OAAS,EAAIA,EAAGQ,cAAc,QAAU,MAAQF,SAAY,OAAS,EAAIA,EAAGG,O,CAExI,WAAAhB,CAAYW,EAAO,MACf,MAAM5B,EAAQkC,EAAoBvC,KAAKY,GAAIqB,GAC3C,GAAI5B,IAAUmC,EAAsBC,QAAS,CACzCzC,KAAKI,WAAa,KAClBJ,KAAKK,MACDA,IAAUmC,EAAsBE,MAC1BF,EAAsBG,KACtBH,EAAsBE,K,EAGxC,aAAAE,GACI5C,KAAK6C,WAAa7C,KAAKY,GAAGyB,cAAc,wBACxC,GAAIrC,KAAK6C,WAAY,CACjB7C,KAAK6C,WAAWC,UAAY9C,KAAK6C,WAAWE,W,CAEhD,QAAS/C,KAAK6C,U,CAElB,MAAAG,GACI,MAAM7C,SAAEA,EAAQ8C,KAAEA,EAAIC,SAAEA,EAAQC,eAAEA,EAAcC,IAAEA,EAAGC,OAAEA,EAAMjD,WAAEA,EAAUC,MAAEA,GAAWL,KACtF,OAAQsD,EAAEC,EAAM,CAAEC,IAAK,2CAA4CC,MAAO,CAClE,CAAC,WAAY,KACb,CAAC,YAAYpD,KAAUA,IAAU,UACjC,CAAC,wBAAyBD,IACzBJ,KAAK4C,gBAAmBU,EAAE,OAAQ,CAAEI,KAAM,gBAAqBJ,EAAE,IAAKK,OAAOC,OAAO,CAAEH,MAAO,CAC9F,CAAC,UAAWR,GACb9C,SAAUH,KAAKiB,qBAAqBd,GAAW8C,KAAMA,EAAMY,SAAUX,EAAUY,eAAgBX,EAAgBC,IAAKA,EAAKC,OAAQA,EAAQU,SAAUd,EAAO,IAAM,MAAQjD,KAAKC,oBAAqB,CAAE+D,KAAM,SAAWV,EAAE,OAAQ,MAAOD,IAAW,UAAaC,EAAE,OAAQ,CAAEG,MAAO,2BAA4BQ,UAAWC,K,CAInU,yBAAWC,GAAmB,OAAO,IAAK,C","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as n,h as e,H as t,g as i}from"./p-8e4e97b4.js";import{r as a,i as o,o as r,a as c,j as d,I as s}from"./p-e519f607.js";import{C as l}from"./p-170ddfc2.js";const b='/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type="button"],\n[type="reset"],\n[type="submit"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type="button"]::-moz-focus-inner,\n[type="reset"]::-moz-focus-inner,\n[type="submit"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type="button"]:-moz-focusring,\n[type="reset"]:-moz-focusring,\n[type="submit"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type="checkbox"],\n[type="radio"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type="number"]::-webkit-inner-spin-button,\n[type="number"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type="search"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type="search"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n display: flex;\n}\n\na {\n text-decoration: none !important;\n color: var(--ic-card-text-primary) !important;\n}\n\na:visited {\n color: var(--ic-card-link-action-dark) !important;\n}\n\nbutton {\n border: none;\n background-color: transparent;\n outline: var(--ic-hc-focus-outline);\n}\n\n.card {\n display: flex;\n flex-direction: column;\n border: var(--ic-space-1px) solid var(--ic-card-border-primary);\n border-radius: var(--ic-border-radius);\n box-sizing: border-box;\n padding: var(--ic-space-md);\n text-align: left;\n color: var(--ic-card-text-primary);\n transition: var(--ic-easing-transition-fast);\n position: relative;\n width: inherit;\n min-width: -moz-fit-content;\n min-width: fit-content;\n height: -moz-fit-content;\n height: fit-content;\n min-height: 100%;\n\n ::slotted(svg) {\n fill: var(--ic-card-icon);\n }\n\n &.monochrome {\n border: var(--ic-border-width) solid var(--ic-card-border-monochrome);\n }\n\n &.fullwidth {\n width: 100%;\n }\n\n &.clickable {\n &:hover {\n background-color: var(--ic-card-background-hover);\n border: var(--ic-space-1px) solid var(--ic-card-hover-border-color);\n cursor: pointer;\n }\n\n &.focussed,\n &:focus {\n background-color: var(--ic-card-background-hover);\n box-shadow: var(--ic-border-focus);\n outline: var(--ic-hc-focus-outline);\n border: var(--ic-space-1px) solid var(--ic-card-pressed-border-color);\n }\n\n &:active {\n background-color: var(--ic-card-background-pressed);\n box-shadow: var(--ic-border-focus);\n\n .card-title {\n text-decoration: none;\n }\n }\n\n .card-title {\n --ic-typography-color: var(--ic-card-clickable-text);\n\n color: var(--ic-card-clickable-text);\n text-decoration: underline;\n text-decoration-thickness: var(--ic-space-1px);\n margin-bottom: var(--ic-space-xxs);\n }\n\n .interaction-button,\n .icon {\n margin-bottom: var(--ic-space-xxs);\n }\n }\n\n &.disabled {\n border: var(--ic-space-1px) dashed var(--ic-card-disabled-border-color);\n\n .card-message,\n .subheading,\n .card-title {\n --ic-typography-color: var(--ic-card-disabled-text);\n }\n\n .card-title {\n text-decoration: underline;\n text-decoration-thickness: var(--ic-space-1px);\n text-decoration-color: var(--ic-card-disabled-text);\n color: var(--ic-card-disabled-text);\n }\n\n ::slotted(svg) {\n fill: var(--ic-card-icon-disabled);\n }\n }\n}\n\n.card-header {\n display: flex;\n align-items: center;\n}\n\n.icon {\n display: flex;\n align-items: center;\n padding-right: var(--ic-space-xs);\n}\n\n.card.clickable:hover .card-title,\n.card.clickable:focus .card-title,\n.card.clickable.focussed .card-title {\n display: inline-block;\n border-bottom: 0.25rem solid !important;\n margin-bottom: 0 !important;\n text-decoration: none;\n}\n\n@supports (text-underline-offset: 25%) {\n .card.clickable:hover .card-title,\n .card.clickable:focus .card-title,\n .card.clickable.focussed .card-title {\n text-decoration-line: underline;\n text-decoration-thickness: 25%;\n text-underline-offset: 25%;\n border-bottom: 0 !important;\n margin-bottom: 0.25rem !important;\n }\n}\n\n.subheading {\n margin-top: var(--ic-space-xxs);\n}\n\n.adornment {\n margin-top: var(--ic-space-xxs);\n}\n\n.card-message {\n margin-top: var(--ic-space-md);\n align-items: left;\n}\n\n.interaction-button {\n margin-left: auto;\n}\n\n.image-top {\n margin-bottom: var(--ic-space-md);\n display: flex;\n justify-content: center;\n}\n\n.image-mid {\n margin-top: var(--ic-space-md);\n display: flex;\n justify-content: center;\n}\n\n.interaction-area {\n display: flex;\n flex-grow: 1;\n gap: var(--ic-space-md);\n margin-top: var(--ic-space-md);\n align-items: flex-end;\n}\n\n.interaction-controls {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--ic-space-sm);\n}\n\n.toggle-button {\n width: 2.5rem;\n height: 2.5rem;\n padding: var(--ic-space-xs);\n margin: var(--ic-space-1px) 0;\n min-width: 0;\n cursor: pointer;\n transition: var(--ic-easing-transition-fast);\n border-radius: var(--ic-border-radius);\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n background: none;\n border: none;\n box-sizing: border-box;\n white-space: nowrap;\n vertical-align: middle;\n\n &:hover {\n background-color: var(--ic-card-background-hover);\n }\n\n &:focus {\n box-shadow: var(--ic-border-focus);\n }\n\n &:active:not(:focus) {\n background-color: var(--ic-card-background-pressed);\n }\n\n svg {\n pointer-events: none;\n width: 100% !important;\n height: 100% !important;\n fill: currentcolor !important;\n }\n}\n\n#ic-tooltip-expand-button {\n margin-left: auto;\n position: relative;\n}\n\n.toggle-button-closed svg {\n transform: rotate(90deg);\n}\n\n.toggle-button-expanded svg {\n transform: rotate(-90deg);\n}\n\n.expanded-content {\n margin-top: var(--ic-space-md);\n}\n\n/** High Contrast **/\n@media (forced-colors: active) {\n .card {\n ::slotted(svg) {\n fill: currentcolor;\n }\n\n &.disabled {\n border-color: GrayText !important;\n\n ::slotted(svg) {\n fill: GrayText !important;\n }\n\n .card-message,\n .subheading,\n .card-title {\n color: GrayText;\n\n --ic-typography-color: GrayText;\n }\n }\n }\n\n .toggle-button:focus,\n .toggle-button:hover {\n outline-color: Highlight;\n }\n}\n';const f=b;const h=class{constructor(e){n(this,e);this.hostMutationObserver=null;this.areaExpanded=false;this.isFocussed=false;this.monochrome=false;this.parentEl=null;this.parentIsAnchorTag=false;this.clickable=false;this.disabled=false;this.expandable=false;this.fullWidth=false;this.hreflang="";this.message="";this.theme="inherit";this.parentFocussed=()=>{this.isFocussed=true};this.parentBlurred=()=>{this.isFocussed=false};this.toggleExpanded=()=>{this.areaExpanded=!this.areaExpanded}}watchDisabledHandler(){a(this.disabled,this.el)}disconnectedCallback(){var n;if(this.parentEl&&this.parentIsAnchorTag){this.parentEl.removeEventListener("focus",this.parentFocussed);this.parentEl.removeEventListener("blur",this.parentBlurred)}(n=this.hostMutationObserver)===null||n===void 0?void 0:n.disconnect()}componentWillLoad(){var n;this.parentEl=this.el.parentElement;if(((n=this.parentEl)===null||n===void 0?void 0:n.tagName)==="A"){this.clickable=true;this.parentIsAnchorTag=true;this.parentEl.classList.add("ic-card-wrapper-link");this.parentEl.addEventListener("focus",this.parentFocussed);this.parentEl.addEventListener("blur",this.parentBlurred)}a(this.disabled,this.el)}componentDidLoad(){!o(this.el,"heading")&&r([{prop:this.heading,propName:"heading"}],"Card");this.updateTheme();this.hostMutationObserver=new MutationObserver((n=>c(n,["message","adornment","expanded-content","image-top","image-mid","icon","interaction-button","badge","interaction-controls"],this)));this.hostMutationObserver.observe(this.el,{childList:true})}handleHostClick(n){if(this.disabled){n.stopImmediatePropagation()}}brandChangeHandler(n){this.updateTheme(n.detail.mode)}async setFocus(){var n,e;const t=this.el.shadowRoot;if(t){if(t.querySelector("a")){(n=t.querySelector("a"))===null||n===void 0?void 0:n.focus()}else if(t.querySelector("button")){(e=t.querySelector("button"))===null||e===void 0?void 0:e.focus()}}}updateTheme(n=null){const e=d(this.el,n);if(e!==s.Default){this.monochrome=true;this.theme=e===s.Light?s.Dark:s.Light}}render(){const{clickable:n,disabled:i,expandable:a,fullWidth:r,heading:c,isFocussed:d,message:s,monochrome:b,href:f,hreflang:h,parentIsAnchorTag:m,referrerpolicy:p,rel:g,subheading:u,target:v,theme:y}=this;const x=m||!n?"div":f===undefined?"button":"a";const k=x=="a"&&{href:f,hrefLang:h,referrerPolicy:p,rel:g,target:v};return e(t,{key:"aeff3ef22b085acbf30dacb5d3ae0167451044b9",class:{[`ic-theme-${y}`]:y!=="inherit"}},e(x,Object.assign({key:"a451e5f53149283ee77878ccc3e699beae669f24",class:{card:true,clickable:!!n&&!i,disabled:!!i,fullwidth:!!r,focussed:d,monochrome:b},tabindex:n&&!m?0:undefined,"aria-disabled":i?"true":null,disabled:i},k),o(this.el,"image-top")&&e("div",{key:"2ec35ab8d6e1224c0a393c92a72e403e4c5fc8fc",class:"image-top"},e("slot",{key:"c859ae1e242284b586df2ce7627c316021b8ef54",name:"image-top"})),e("div",{key:"55f21501b3d95e1f5bf3a69542dab57d00379e63",class:"card-header"},o(this.el,"icon")&&e("div",{key:"f95e7224d6e8548f33a8861025a1651a3bc953a4",class:"icon"},e("slot",{key:"1102f6f88e830613365cb0bfe3e5c4481b3a207e",name:"icon"})),e("div",{key:"3122872ef284640debbf7182d36f9cd4c6032ae4",class:"card-title"},e("slot",{key:"f51213257b0ff6e195852ca006e9cba35103f210",name:"heading"},e("ic-typography",{key:"7d82fce416b7579ac23e2154ef512bd8f3181bc3",variant:"h4"},e("p",{key:"ad083279b8f012f16d67c182c37bcc6383710ba5"},c)))),o(this.el,"interaction-button")&&e("div",{key:"bb47af0b373f295cb1bcd1b72df6c325e257c2ed",class:"interaction-button"},e("slot",{key:"fd0fc056e51febf6d9abe76d7ffb0773836e52d3",name:"interaction-button"}))),(u||o(this.el,"subheading"))&&e("div",{key:"32851c6c59b9ee76aa490210f5888fe410067ca3",class:"subheading"},e("slot",{key:"5757fd2fd2618f03fee208b855384c29861cadc6",name:"subheading"},e("ic-typography",{key:"1f206ca1eaf0bcd5693abf3fc3f97303582a5deb",variant:"subtitle-small"},u))),o(this.el,"adornment")&&e("div",{key:"ceef939617ce12be984f15673e9ef4e71110234c",class:"adornment"},e("slot",{key:"127e2dfa77b74a19070e90361d26fe1358539ca2",name:"adornment"})),o(this.el,"image-mid")&&e("div",{key:"0cbc0b6a9638969db6fabcde40ad46044afc4b88",class:"image-mid"},e("slot",{key:"3e8ae6e25570ed03e7fea0ae4fdd7a779d3022b1",name:"image-mid"})),(s||o(this.el,"message"))&&e("div",{key:"9da59f1aeaa1fcf4bc2a0aa1bd50d3f86faa2af7",class:"card-message"},s&&e("ic-typography",{key:"4620229c479b782ad5ee0c8e3a7acdf6a8a70d7b",variant:"body"},s),o(this.el,"message")&&e("slot",{key:"959e101cc933319cf297d0f0ebbd46299a24cbd5",name:"message"})),(o(this.el,"interaction-controls")||a)&&e("div",{key:"c4263a3d5f8e22f31cf0e55a868dbf0f52b00692",class:"interaction-area"},e("div",{key:"bd5e1d3ff137004ff5c696f611dae1bfefd26e1a",class:"interaction-controls"},e("slot",{key:"5985495f8f12c825aafcab517d3add5f9741d460",name:"interaction-controls"})),a&&e("ic-tooltip",{key:"e3b12f780303019b7f95ce5a98d7b7194c242c9a",id:"ic-tooltip-expand-button",label:"Toggle expandable area",silent:true},e("button",{key:"9857a37a37571bd21f500527149ed8bc3806c4f4",class:{"toggle-button":true,[`toggle-button-${this.areaExpanded?"expanded":"closed"}`]:true},"aria-label":"Toggle expandable area","aria-expanded":`${this.areaExpanded}`,"aria-controls":this.areaExpanded?"expanded-content-area":null,onClick:this.toggleExpanded,innerHTML:l}))),o(this.el,"expanded-content")&&this.areaExpanded&&e("div",{key:"080d0198d37d939cfc506abc5933caac7eaa383d",class:"expanded-content",id:"expanded-content-area"},e("slot",{key:"6c9b5dd6bfa46d466034255231047b2682e19f96",name:"expanded-content"})),o(this.el,"badge")&&e("slot",{key:"1f68304dd15e605320258bf8d14d2df3b0caf344",name:"badge"})))}get el(){return i(this)}static get watchers(){return{disabled:["watchDisabledHandler"]}}};h.style=f;export{h as ic_card_vertical};
2
- //# sourceMappingURL=p-ca05573a.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["icCardVerticalCss","IcCardVerticalStyle0","CardVertical","constructor","hostRef","this","hostMutationObserver","areaExpanded","isFocussed","monochrome","parentEl","parentIsAnchorTag","clickable","disabled","expandable","fullWidth","hreflang","message","theme","parentFocussed","parentBlurred","toggleExpanded","watchDisabledHandler","removeDisabledFalse","el","disconnectedCallback","_a","removeEventListener","disconnect","componentWillLoad","parentElement","tagName","classList","add","addEventListener","componentDidLoad","isSlotUsed","onComponentRequiredPropUndefined","prop","heading","propName","updateTheme","MutationObserver","mutationList","renderDynamicChildSlots","observe","childList","handleHostClick","event","stopImmediatePropagation","brandChangeHandler","ev","detail","mode","setFocus","_b","shadowRoot","querySelector","focus","foregroundColor","getBrandFromContext","IcBrandForegroundEnum","Default","Light","Dark","render","href","referrerpolicy","rel","subheading","target","Component","undefined","attrs","hrefLang","referrerPolicy","h","Host","key","class","Object","assign","card","fullwidth","focussed","tabindex","name","variant","id","label","silent","onClick","innerHTML","chevronIcon"],"sources":["../web-components/dist/collection/components/ic-card-vertical/ic-card-vertical.css?tag=ic-card-vertical&encapsulation=shadow","../web-components/dist/collection/components/ic-card-vertical/ic-card-vertical.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n display: flex;\n}\n\na {\n text-decoration: none !important;\n color: var(--ic-card-text-primary) !important;\n}\n\na:visited {\n color: var(--ic-card-link-action-dark) !important;\n}\n\nbutton {\n border: none;\n background-color: transparent;\n outline: var(--ic-hc-focus-outline);\n}\n\n.card {\n display: flex;\n flex-direction: column;\n border: var(--ic-space-1px) solid var(--ic-card-border-primary);\n border-radius: var(--ic-border-radius);\n box-sizing: border-box;\n padding: var(--ic-space-md);\n text-align: left;\n color: var(--ic-card-text-primary);\n transition: var(--ic-easing-transition-fast);\n position: relative;\n width: inherit;\n min-width: -moz-fit-content;\n min-width: fit-content;\n height: -moz-fit-content;\n height: fit-content;\n min-height: 100%;\n\n ::slotted(svg) {\n fill: var(--ic-card-icon);\n }\n\n &.monochrome {\n border: var(--ic-border-width) solid var(--ic-card-border-monochrome);\n }\n\n &.fullwidth {\n width: 100%;\n }\n\n &.clickable {\n &:hover {\n background-color: var(--ic-card-background-hover);\n border: var(--ic-space-1px) solid var(--ic-card-hover-border-color);\n cursor: pointer;\n }\n\n &.focussed,\n &:focus {\n background-color: var(--ic-card-background-hover);\n box-shadow: var(--ic-border-focus);\n outline: var(--ic-hc-focus-outline);\n border: var(--ic-space-1px) solid var(--ic-card-pressed-border-color);\n }\n\n &:active {\n background-color: var(--ic-card-background-pressed);\n box-shadow: var(--ic-border-focus);\n\n .card-title {\n text-decoration: none;\n }\n }\n\n .card-title {\n --ic-typography-color: var(--ic-card-clickable-text);\n\n color: var(--ic-card-clickable-text);\n text-decoration: underline;\n text-decoration-thickness: var(--ic-space-1px);\n margin-bottom: var(--ic-space-xxs);\n }\n\n .interaction-button,\n .icon {\n margin-bottom: var(--ic-space-xxs);\n }\n }\n\n &.disabled {\n border: var(--ic-space-1px) dashed var(--ic-card-disabled-border-color);\n\n .card-message,\n .subheading,\n .card-title {\n --ic-typography-color: var(--ic-card-disabled-text);\n }\n\n .card-title {\n text-decoration: underline;\n text-decoration-thickness: var(--ic-space-1px);\n text-decoration-color: var(--ic-card-disabled-text);\n color: var(--ic-card-disabled-text);\n }\n\n ::slotted(svg) {\n fill: var(--ic-card-icon-disabled);\n }\n }\n}\n\n.card-header {\n display: flex;\n align-items: center;\n}\n\n.icon {\n display: flex;\n align-items: center;\n padding-right: var(--ic-space-xs);\n}\n\n.card.clickable:hover .card-title,\n.card.clickable:focus .card-title,\n.card.clickable.focussed .card-title {\n display: inline-block;\n border-bottom: 0.25rem solid !important;\n margin-bottom: 0 !important;\n text-decoration: none;\n}\n\n@supports (text-underline-offset: 25%) {\n .card.clickable:hover .card-title,\n .card.clickable:focus .card-title,\n .card.clickable.focussed .card-title {\n text-decoration-line: underline;\n text-decoration-thickness: 25%;\n text-underline-offset: 25%;\n border-bottom: 0 !important;\n margin-bottom: 0.25rem !important;\n }\n}\n\n.subheading {\n margin-top: var(--ic-space-xxs);\n}\n\n.adornment {\n margin-top: var(--ic-space-xxs);\n}\n\n.card-message {\n margin-top: var(--ic-space-md);\n align-items: left;\n}\n\n.interaction-button {\n margin-left: auto;\n}\n\n.image-top {\n margin-bottom: var(--ic-space-md);\n display: flex;\n justify-content: center;\n}\n\n.image-mid {\n margin-top: var(--ic-space-md);\n display: flex;\n justify-content: center;\n}\n\n.interaction-area {\n display: flex;\n flex-grow: 1;\n gap: var(--ic-space-md);\n margin-top: var(--ic-space-md);\n align-items: flex-end;\n}\n\n.interaction-controls {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--ic-space-sm);\n}\n\n.toggle-button {\n width: 2.5rem;\n height: 2.5rem;\n padding: var(--ic-space-xs);\n margin: var(--ic-space-1px) 0;\n min-width: 0;\n cursor: pointer;\n transition: var(--ic-easing-transition-fast);\n border-radius: var(--ic-border-radius);\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n background: none;\n border: none;\n box-sizing: border-box;\n white-space: nowrap;\n vertical-align: middle;\n\n &:hover {\n background-color: var(--ic-card-background-hover);\n }\n\n &:focus {\n box-shadow: var(--ic-border-focus);\n }\n\n &:active:not(:focus) {\n background-color: var(--ic-card-background-pressed);\n }\n\n svg {\n pointer-events: none;\n width: 100% !important;\n height: 100% !important;\n fill: currentcolor !important;\n }\n}\n\n#ic-tooltip-expand-button {\n margin-left: auto;\n position: relative;\n}\n\n.toggle-button-closed svg {\n transform: rotate(90deg);\n}\n\n.toggle-button-expanded svg {\n transform: rotate(-90deg);\n}\n\n.expanded-content {\n margin-top: var(--ic-space-md);\n}\n\n/** High Contrast **/\n@media (forced-colors: active) {\n .card {\n ::slotted(svg) {\n fill: currentcolor;\n }\n\n &.disabled {\n border-color: GrayText !important;\n\n ::slotted(svg) {\n fill: GrayText !important;\n }\n\n .card-message,\n .subheading,\n .card-title {\n color: GrayText;\n\n --ic-typography-color: GrayText;\n }\n }\n }\n\n .toggle-button:focus,\n .toggle-button:hover {\n outline-color: Highlight;\n }\n}\n","import { h, Host, } from \"@stencil/core\";\nimport { onComponentRequiredPropUndefined, isSlotUsed, getBrandFromContext, removeDisabledFalse, renderDynamicChildSlots, } from \"../../utils/helpers\";\nimport { IcBrandForegroundEnum, } from \"../../utils/types\";\nimport chevronIcon from \"../../assets/chevron-icon.svg\";\n/**\n * @slot heading - Content will be placed at the top of the card to the right of the icon.\n * @slot message - Content will be placed in the main body of the card.\n * @slot subheading - Content will be placed below the card heading.\n * @slot adornment - Content will be placed below the card subheading.\n * @slot image-top - Content will be placed at the top of the card above all other content.\n * @slot image-mid - Content will be placed below the card heading section.\n * @slot icon - Content will be placed to the left of the card heading.\n * @slot interaction-button - Content will be placed in the top right corner of the heading section.\n * @slot interaction-controls - Content will be placed below the card message.\n * @slot expanded-content - Content will be placed below the interaction controls but will not initially be rendered.\n * @slot badge - Badge component overlaying the top right of the card.\n */\nexport class CardVertical {\n constructor() {\n this.hostMutationObserver = null;\n this.areaExpanded = false;\n this.isFocussed = false;\n this.monochrome = false;\n this.parentEl = null;\n this.parentIsAnchorTag = false;\n /**\n * If `true`, the card will be a clickable variant, instead of static.\n */\n this.clickable = false;\n /**\n * If `true`, the card will be disabled if it is clickable.\n */\n this.disabled = false;\n /**\n * If `true`, the card will have an expandable area and expansion toggle button.\n */\n this.expandable = false;\n /**\n * If `true`, the card will fill the width of the container.\n */\n this.fullWidth = false;\n /**\n * The human language of the linked URL.\n */\n this.hreflang = \"\";\n /**\n * The main body message of the card.\n */\n this.message = \"\";\n /**\n * Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component.\n */\n this.theme = \"inherit\";\n this.parentFocussed = () => {\n this.isFocussed = true;\n };\n this.parentBlurred = () => {\n this.isFocussed = false;\n };\n this.toggleExpanded = () => {\n this.areaExpanded = !this.areaExpanded;\n };\n }\n watchDisabledHandler() {\n removeDisabledFalse(this.disabled, this.el);\n }\n disconnectedCallback() {\n var _a;\n if (this.parentEl && this.parentIsAnchorTag) {\n this.parentEl.removeEventListener(\"focus\", this.parentFocussed);\n this.parentEl.removeEventListener(\"blur\", this.parentBlurred);\n }\n (_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n }\n componentWillLoad() {\n var _a;\n this.parentEl = this.el.parentElement;\n if (((_a = this.parentEl) === null || _a === void 0 ? void 0 : _a.tagName) === \"A\") {\n this.clickable = true;\n this.parentIsAnchorTag = true;\n this.parentEl.classList.add(\"ic-card-wrapper-link\");\n this.parentEl.addEventListener(\"focus\", this.parentFocussed);\n this.parentEl.addEventListener(\"blur\", this.parentBlurred);\n }\n removeDisabledFalse(this.disabled, this.el);\n }\n componentDidLoad() {\n !isSlotUsed(this.el, \"heading\") &&\n onComponentRequiredPropUndefined([{ prop: this.heading, propName: \"heading\" }], \"Card\");\n this.updateTheme();\n this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, [\n \"message\",\n \"adornment\",\n \"expanded-content\",\n \"image-top\",\n \"image-mid\",\n \"icon\",\n \"interaction-button\",\n \"badge\",\n \"interaction-controls\",\n ], this));\n this.hostMutationObserver.observe(this.el, {\n childList: true,\n });\n }\n handleHostClick(event) {\n if (this.disabled) {\n event.stopImmediatePropagation();\n }\n }\n brandChangeHandler(ev) {\n this.updateTheme(ev.detail.mode);\n }\n /**\n * Sets focus on the card.\n */\n async setFocus() {\n var _a, _b;\n const shadowRoot = this.el.shadowRoot;\n if (shadowRoot) {\n if (shadowRoot.querySelector(\"a\")) {\n (_a = shadowRoot.querySelector(\"a\")) === null || _a === void 0 ? void 0 : _a.focus();\n }\n else if (shadowRoot.querySelector(\"button\")) {\n (_b = shadowRoot.querySelector(\"button\")) === null || _b === void 0 ? void 0 : _b.focus();\n }\n }\n }\n updateTheme(mode = null) {\n const foregroundColor = getBrandFromContext(this.el, mode);\n if (foregroundColor !== IcBrandForegroundEnum.Default) {\n this.monochrome = true;\n this.theme =\n foregroundColor === IcBrandForegroundEnum.Light\n ? IcBrandForegroundEnum.Dark\n : IcBrandForegroundEnum.Light;\n }\n }\n render() {\n const { clickable, disabled, expandable, fullWidth, heading, isFocussed, message, monochrome, href, hreflang, parentIsAnchorTag, referrerpolicy, rel, subheading, target, theme, } = this;\n const Component = parentIsAnchorTag || !clickable\n ? \"div\"\n : href === undefined\n ? \"button\"\n : \"a\";\n const attrs = Component == \"a\" && {\n href: href,\n hrefLang: hreflang,\n referrerPolicy: referrerpolicy,\n rel: rel,\n target: target,\n };\n return (h(Host, { key: 'aeff3ef22b085acbf30dacb5d3ae0167451044b9', class: {\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n } }, h(Component, Object.assign({ key: 'a451e5f53149283ee77878ccc3e699beae669f24', class: {\n card: true,\n clickable: !!clickable && !disabled,\n disabled: !!disabled,\n fullwidth: !!fullWidth,\n focussed: isFocussed,\n monochrome: monochrome,\n }, tabindex: clickable && !parentIsAnchorTag ? 0 : undefined, \"aria-disabled\": disabled ? \"true\" : null, disabled: disabled }, attrs), isSlotUsed(this.el, \"image-top\") && (h(\"div\", { key: '2ec35ab8d6e1224c0a393c92a72e403e4c5fc8fc', class: \"image-top\" }, h(\"slot\", { key: 'c859ae1e242284b586df2ce7627c316021b8ef54', name: \"image-top\" }))), h(\"div\", { key: '55f21501b3d95e1f5bf3a69542dab57d00379e63', class: \"card-header\" }, isSlotUsed(this.el, \"icon\") && (h(\"div\", { key: 'f95e7224d6e8548f33a8861025a1651a3bc953a4', class: \"icon\" }, h(\"slot\", { key: '1102f6f88e830613365cb0bfe3e5c4481b3a207e', name: \"icon\" }))), h(\"div\", { key: '3122872ef284640debbf7182d36f9cd4c6032ae4', class: \"card-title\" }, h(\"slot\", { key: 'f51213257b0ff6e195852ca006e9cba35103f210', name: \"heading\" }, h(\"ic-typography\", { key: '7d82fce416b7579ac23e2154ef512bd8f3181bc3', variant: \"h4\" }, h(\"p\", { key: 'ad083279b8f012f16d67c182c37bcc6383710ba5' }, heading)))), isSlotUsed(this.el, \"interaction-button\") && (h(\"div\", { key: 'bb47af0b373f295cb1bcd1b72df6c325e257c2ed', class: \"interaction-button\" }, h(\"slot\", { key: 'fd0fc056e51febf6d9abe76d7ffb0773836e52d3', name: \"interaction-button\" })))), (subheading || isSlotUsed(this.el, \"subheading\")) && (h(\"div\", { key: '32851c6c59b9ee76aa490210f5888fe410067ca3', class: \"subheading\" }, h(\"slot\", { key: '5757fd2fd2618f03fee208b855384c29861cadc6', name: \"subheading\" }, h(\"ic-typography\", { key: '1f206ca1eaf0bcd5693abf3fc3f97303582a5deb', variant: \"subtitle-small\" }, subheading)))), isSlotUsed(this.el, \"adornment\") && (h(\"div\", { key: 'ceef939617ce12be984f15673e9ef4e71110234c', class: \"adornment\" }, h(\"slot\", { key: '127e2dfa77b74a19070e90361d26fe1358539ca2', name: \"adornment\" }))), isSlotUsed(this.el, \"image-mid\") && (h(\"div\", { key: '0cbc0b6a9638969db6fabcde40ad46044afc4b88', class: \"image-mid\" }, h(\"slot\", { key: '3e8ae6e25570ed03e7fea0ae4fdd7a779d3022b1', name: \"image-mid\" }))), (message || isSlotUsed(this.el, \"message\")) && (h(\"div\", { key: '9da59f1aeaa1fcf4bc2a0aa1bd50d3f86faa2af7', class: \"card-message\" }, message && (h(\"ic-typography\", { key: '4620229c479b782ad5ee0c8e3a7acdf6a8a70d7b', variant: \"body\" }, message)), isSlotUsed(this.el, \"message\") && h(\"slot\", { key: '959e101cc933319cf297d0f0ebbd46299a24cbd5', name: \"message\" }))), (isSlotUsed(this.el, \"interaction-controls\") || expandable) && (h(\"div\", { key: 'c4263a3d5f8e22f31cf0e55a868dbf0f52b00692', class: \"interaction-area\" }, h(\"div\", { key: 'bd5e1d3ff137004ff5c696f611dae1bfefd26e1a', class: \"interaction-controls\" }, h(\"slot\", { key: '5985495f8f12c825aafcab517d3add5f9741d460', name: \"interaction-controls\" })), expandable && (h(\"ic-tooltip\", { key: 'e3b12f780303019b7f95ce5a98d7b7194c242c9a', id: \"ic-tooltip-expand-button\", label: \"Toggle expandable area\", silent: true }, h(\"button\", { key: '9857a37a37571bd21f500527149ed8bc3806c4f4', class: {\n \"toggle-button\": true,\n [`toggle-button-${this.areaExpanded ? \"expanded\" : \"closed\"}`]: true,\n }, \"aria-label\": \"Toggle expandable area\", \"aria-expanded\": `${this.areaExpanded}`, \"aria-controls\": this.areaExpanded ? \"expanded-content-area\" : null, onClick: this.toggleExpanded, innerHTML: chevronIcon }))))), isSlotUsed(this.el, \"expanded-content\") && this.areaExpanded && (h(\"div\", { key: '080d0198d37d939cfc506abc5933caac7eaa383d', class: \"expanded-content\", id: \"expanded-content-area\" }, h(\"slot\", { key: '6c9b5dd6bfa46d466034255231047b2682e19f96', name: \"expanded-content\" }))), isSlotUsed(this.el, \"badge\") && h(\"slot\", { key: '1f68304dd15e605320258bf8d14d2df3b0caf344', name: \"badge\" }))));\n }\n static get is() { return \"ic-card-vertical\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-card-vertical.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-card-vertical.css\"]\n };\n }\n static get properties() {\n return {\n \"clickable\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the card will be a clickable variant, instead of static.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"clickable\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the card will be disabled if it is clickable.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"expandable\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the card will have an expandable area and expansion toggle button.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"expandable\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"fullWidth\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the card will fill the width of the container.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"full-width\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"heading\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The heading for the card. This is required, unless a slotted heading is used.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"heading\",\n \"reflect\": false\n },\n \"href\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The URL that the clickable card link points to. If set, the clickable card will render as an \\\"a\\\" tag, otherwise it will render as a button.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"href\",\n \"reflect\": false\n },\n \"hreflang\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The human language of the linked URL.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"hreflang\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"\\\"\"\n },\n \"message\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The main body message of the card.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"message\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"\\\"\"\n },\n \"referrerpolicy\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"ReferrerPolicy\",\n \"resolved\": \"\\\"\\\" | \\\"no-referrer\\\" | \\\"no-referrer-when-downgrade\\\" | \\\"origin\\\" | \\\"origin-when-cross-origin\\\" | \\\"same-origin\\\" | \\\"strict-origin\\\" | \\\"strict-origin-when-cross-origin\\\" | \\\"unsafe-url\\\" | undefined\",\n \"references\": {\n \"ReferrerPolicy\": {\n \"location\": \"global\",\n \"id\": \"global::ReferrerPolicy\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"How much of the referrer to send when following the link.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"referrerpolicy\",\n \"reflect\": false\n },\n \"rel\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The relationship of the linked URL as space-separated link types.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"rel\",\n \"reflect\": false\n },\n \"subheading\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The subheading for the card.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"subheading\",\n \"reflect\": false\n },\n \"target\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe).\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"target\",\n \"reflect\": false\n },\n \"theme\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"IcThemeMode\",\n \"resolved\": \"\\\"dark\\\" | \\\"inherit\\\" | \\\"light\\\" | undefined\",\n \"references\": {\n \"IcThemeMode\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcThemeMode\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Sets the theme color to the dark or light theme color. \\\"inherit\\\" will set the color based on the system settings or ic-theme component.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"theme\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"inherit\\\"\"\n }\n };\n }\n static get states() {\n return {\n \"areaExpanded\": {},\n \"isFocussed\": {},\n \"monochrome\": {},\n \"parentEl\": {},\n \"parentIsAnchorTag\": {}\n };\n }\n static get methods() {\n return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the card.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"disabled\",\n \"methodName\": \"watchDisabledHandler\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"click\",\n \"method\": \"handleHostClick\",\n \"target\": undefined,\n \"capture\": true,\n \"passive\": false\n }, {\n \"name\": \"brandChange\",\n \"method\": \"brandChangeHandler\",\n \"target\": \"document\",\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n//# sourceMappingURL=ic-card-vertical.js.map\n"],"mappings":"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","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as e,h as t,H as i,g as o}from"./p-8e4e97b4.js";import{i as s}from"./p-e519f607.js";const a='/*! 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}.label-container{--ic-typography-color:var(--ic-accordion-group-title-text);color:var(--ic-accordion-group-title-text);padding:var(--ic-space-xs);display:flex;justify-content:space-between;align-items:center}:host(.ic-accordion-group-small) .label-container{padding:var(--ic-space-xxs) var(--ic-space-xs)}:host(.ic-accordion-group-large) .label-container{padding:var(--ic-space-sm) var(--ic-space-xs)}';const n=a;let r=0;const c=class{constructor(t){e(this,t);this.accordionGroupId=`ic-accordion-group-${r++}`;this.accessibleButtonLabel="accordions";this.theme="inherit";this.expanded=false;this.label="";this.singleExpansion=false;this.size="medium";this.handleExpanded=()=>{if(this.areAllAccordionsOpen){this.expanded=false;this.accordions.forEach((e=>{e.expanded=this.expanded}))}else{this.expanded=true;this.accordions.forEach((e=>{e.expanded=this.expanded}))}this.setExpandedToAreAllAccordionsOpen()};this.linkAccordions=()=>{this.accordions.forEach((e=>{e.setAttribute("context-id",this.accordionGroupId)}))};this.setExpandedToAreAllAccordionsOpen=()=>{this.areAllAccordionsOpen=this.accordions.every((e=>!!e.expanded))};this.accordionOpenBtnText=()=>!this.areAllAccordionsOpen?"See all":"Hide all"}watchThemeHandler(){this.accordions.forEach((e=>{e.theme=this.theme}))}watchExpandedHandler(){this.handleExpanded()}componentDidLoad(){const e=this.el.children;this.accordions=Array.from(e).filter((e=>e.tagName==="IC-ACCORDION"));this.linkAccordions();this.accordions.forEach((e=>{e.theme=this.theme}));this.accordions.forEach((e=>{e.size=this.size}));if(this.expanded){this.accordions.forEach((e=>{e.expanded=true}));this.setExpandedToAreAllAccordionsOpen()}else{this.setExpandedToAreAllAccordionsOpen();this.expanded=this.areAllAccordionsOpen}}handleAccordionClicked(e){if(!this.singleExpansion){this.setExpandedToAreAllAccordionsOpen()}else{this.accordions.forEach((t=>{if(t.expanded&&e.detail.id!==t.id){t.expanded=false}}))}}async setFocus(){const e=this.singleExpansion?this.accordions[0]:this.allButtonEl;e===null||e===void 0?void 0:e.setFocus()}render(){const{size:e,label:o,singleExpansion:a,accessibleButtonLabel:n,theme:r}=this;return t(i,{key:"ec057d7f6e128e8429ebd9e14497a86d1eaf1abe","context-id":this.accordionGroupId,class:{[`ic-accordion-group-${e}`]:true,["ic-accordion-group"]:true,[`ic-theme-${r}`]:r!=="inherit"}},t("div",{key:"86acdf79730dc3d2dcc95a5928e1a1bebf83412f",class:"label-container"},t("ic-typography",{key:"5f2b615ebe87304b410b896d5b102da42ff5bcd6",variant:"h4"},t("h3",{key:"9b33f5f102e27e4268b0edd894d8d725fd8cc5a4"},s(this.el,"label")?t("slot",{name:"label"}):o)),!a&&t("ic-button",{key:"1b8d8332cd10fed2eea6959f02841cb4b1586902",ref:e=>this.allButtonEl=e,onClick:this.handleExpanded,variant:"tertiary","aria-label":`${this.accordionOpenBtnText()} ${n}`},this.accordionOpenBtnText())),t("slot",{key:"b93775721fd0cc7560115c6bb62824db59b2ea27"}))}get el(){return o(this)}static get watchers(){return{theme:["watchThemeHandler"],expanded:["watchExpandedHandler"]}}};c.style=n;export{c as ic_accordion_group};
2
- //# sourceMappingURL=p-d0607a70.entry.js.map