@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 t,h as i,H as e,g as o}from"./p-8e4e97b4.js";import{c as n,o as s}from"./p-e519f607.js";const a=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" aria-hidden="true">\n <path d="M0 8L1.41 9.41L7 3.83V16H9V3.83L14.58 9.42L16 8L8 0L0 8Z"/>\n</svg>\n`;const r='/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0;}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px;}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:flex;flex:row;height:0.1px}:host(.ic-back-to-top-right){justify-content:flex-end}:host(.ic-back-to-top-right) ic-button{margin-right:var(--margin-right, 1rem)}:host(.ic-back-to-top-right) .ic-back-to-top-icon{padding-top:var(--ic-space-xxs);padding-right:var(--ic-space-xs)}:host(.ic-back-to-top-left){justify-content:flex-start}:host(.ic-back-to-top-left) ic-button{margin-left:var(--margin-left, 1rem)}:host(.ic-back-to-top-left) .ic-back-to-top-icon{padding-top:var(--ic-space-xxs);padding-right:var(--ic-space-xs)}:host(.ic-back-to-top-center){justify-content:center}:host(.ic-back-to-top-center) .ic-back-to-top-icon{padding-top:var(--ic-space-xxs);padding-right:var(--ic-space-xs)}ic-button{height:2.5rem;align-items:center;background-color:var(--ic-color-background-primary);border-radius:5rem;box-shadow:var(--ic-elevation-overlay);visibility:hidden;position:fixed;bottom:var(--ic-space-md);opacity:0;transition:visibility 0s linear var(--ic-transition-duration-slow),\n opacity var(--ic-transition-duration-slow);z-index:var(--ic-z-index-back-to-top)}:host(.ic-back-to-top-variant-icon) ic-button::part(button){margin:0}ic-button::part(button){border-radius:5rem}ic-button.show{visibility:visible;opacity:1;transition:visibility 0s linear 0s,\n opacity var(--ic-transition-duration-slow),\n box-shadow var(--ic-easing-transition-fast)}ic-button.offset-banner:not(.by-footer){margin-bottom:var(--footer-offset, var(--ic-space-lg))}.ic-back-to-top-icon>svg{height:var(--ic-space-md);width:var(--ic-space-md)}.icon-only{width:2.5rem}.icon-only .ic-back-to-top-icon>svg{padding-left:calc(var(--ic-space-xs) - var(--ic-space-1px))}ic-button.by-footer{position:relative;bottom:var(--footer-offset, 3.5rem)}@media (forced-colors: active){.icon-only .ic-back-to-top-icon>svg{padding-left:calc(var(--ic-space-xs) - var(--ic-space-xxxs))}}';const c=r;const l="Back to top";const d=class{constructor(i){t(this,i);this.topObserver=null;this.bannerOffset=false;this.footerVisible=false;this.targetElVisible=true;this.position="right";this.theme="inherit";this.variant="default";this.getObservedEl=()=>document.querySelector("#ic-back-to-top-target");this.setTargetElVisible=t=>{this.targetElVisible=t};this.setFooterVisible=t=>{this.checkForClassificationBanner();this.footerVisible=typeof window!=="undefined"&&window.scrollY===0?false:t};this.targetElObserverCallback=t=>{this.setTargetElVisible(t[0].isIntersecting)};this.footerObserverCallback=t=>{this.setFooterVisible(t[0].isIntersecting)};this.findTargetEl=t=>{let i=null;if(t===null||t===undefined){console.log("Error: No target ID specified for back to top component - defaulting to top of page")}else{i=document.querySelector(`${t.startsWith("#")?"":"#"}${t}`);if(i===null){console.log(`Error: Back to top target element '${t}' not found - defaulting to top of page`)}}return i};this.createTopObserver=t=>{this.targetEl=this.findTargetEl(t);let i;if(this.topObserver!==null){const t=this.getObservedEl();if(t!==null){this.topObserver.unobserve(t);t.remove()}}if(this.targetEl===null){i=document.body;this.targetEl=i.firstElementChild;this.isTargetElNull=true}else{i=this.targetEl.parentNode;this.isTargetElNull=false}const e=document.createElement("div");e.setAttribute("id","ic-back-to-top-target");e.setAttribute("tabindex","-1");i.insertBefore(e,this.targetEl);const o=this.targetEl?getComputedStyle(this.targetEl).marginTop:0;this.topObserver=new IntersectionObserver(this.targetElObserverCallback,{threshold:[0],rootMargin:`${o} 0px 0px 0px`});this.topObserver.observe(e)};this.handleClick=()=>{var t;if(this.isTargetElNull){window.scrollTo(0,0)}else{(t=this.targetEl)===null||t===void 0?void 0:t.scrollIntoView()}this.getObservedEl().focus()};this.checkForClassificationBanner=()=>{const t=document.querySelectorAll("ic-classification-banner:not([inline='true'])");this.bannerOffset=t.length>0}}watchPropHandler(t,i){n(i,t,(()=>{this.createTopObserver(t)}))}componentWillLoad(){this.createTopObserver(this.target);this.checkForClassificationBanner();let t=document.querySelectorAll("ic-footer");if(t.length===0){t=document.querySelectorAll("footer")}if(t.length){const i=t[t.length-1];const e=this.bannerOffset?.15:0;const o=new IntersectionObserver(this.footerObserverCallback,{threshold:[e]});o.observe(i)}}componentDidLoad(){s([{prop:this.target,propName:"target"}],"Back to Top")}render(){const{variant:t,bannerOffset:o,targetElVisible:n,footerVisible:s}=this;const r=t==="icon"?"icon-secondary":"secondary";const c=t==="icon"?"large":"medium";const d=t==="icon"?"":l;return i(e,{key:"2c281b238cd14437e120084c35ae86089cd49fe9",class:{[`ic-theme-${this.theme}`]:this.theme!=="inherit",[`ic-back-to-top-${this.position}`]:true,[`ic-back-to-top-variant-icon`]:t==="icon"}},i("ic-button",{key:"15bcf38bcc837a9723e5af644551b24845d4cbbb","aria-label":l,variant:r,size:c,onClick:this.handleClick,class:{["offset-banner"]:o,["show"]:!n,["by-footer"]:s,["icon-only"]:t==="icon"},theme:this.theme},i("span",{key:"4d6d2e0390eda5cd6db7f26bd597db7fef9c81c0",class:"ic-back-to-top-icon",innerHTML:a}),d))}static get delegatesFocus(){return true}get el(){return o(this)}static get watchers(){return{target:["watchPropHandler"]}}};d.style=c;export{d as ic_back_to_top};
2
- //# sourceMappingURL=p-e8db8772.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["icBackToTopCss","IcBackToTopStyle0","backToTopLabel","BackToTop","constructor","hostRef","this","topObserver","bannerOffset","footerVisible","targetElVisible","position","theme","variant","getObservedEl","document","querySelector","setTargetElVisible","visible","setFooterVisible","checkForClassificationBanner","window","scrollY","targetElObserverCallback","entries","isIntersecting","footerObserverCallback","findTargetEl","target","targetElement","undefined","console","log","startsWith","createTopObserver","targetEl","objParent","observedEl","unobserve","remove","body","firstElementChild","isTargetElNull","parentNode","objBackToTopTargetEl","createElement","setAttribute","insertBefore","marginTop","getComputedStyle","IntersectionObserver","threshold","rootMargin","observe","handleClick","_a","scrollTo","scrollIntoView","focus","banners","querySelectorAll","length","watchPropHandler","newValue","oldValue","onComponentPropUndefinedChange","componentWillLoad","footers","footerEl","footerObserver","componentDidLoad","onComponentRequiredPropUndefined","prop","propName","render","btnVariant","size","label","h","Host","key","class","onClick","innerHTML","ArrowUpward","delegatesFocus"],"sources":["../web-components/dist/collection/components/ic-back-to-top/ic-back-to-top.css?tag=ic-back-to-top&encapsulation=shadow","../web-components/dist/collection/components/ic-back-to-top/ic-back-to-top.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-back-to-top: z-index of back to top\n * @prop --margin-right: right y-position of back to top\n * @prop --margin-left: left y-position of back to top\n * @prop --footer-offset: offset of x-position from footer\n */\n\n:host {\n display: flex;\n flex: row;\n height: 0.1px;\n}\n\n:host(.ic-back-to-top-right) {\n justify-content: flex-end;\n}\n\n:host(.ic-back-to-top-right) ic-button {\n margin-right: var(--margin-right, 1rem);\n}\n\n:host(.ic-back-to-top-right) .ic-back-to-top-icon {\n padding-top: var(--ic-space-xxs);\n padding-right: var(--ic-space-xs);\n}\n\n:host(.ic-back-to-top-left) {\n justify-content: flex-start;\n}\n\n:host(.ic-back-to-top-left) ic-button {\n margin-left: var(--margin-left, 1rem);\n}\n\n:host(.ic-back-to-top-left) .ic-back-to-top-icon {\n padding-top: var(--ic-space-xxs);\n padding-right: var(--ic-space-xs);\n}\n\n:host(.ic-back-to-top-center) {\n justify-content: center;\n}\n\n:host(.ic-back-to-top-center) .ic-back-to-top-icon {\n padding-top: var(--ic-space-xxs);\n padding-right: var(--ic-space-xs);\n}\n\nic-button {\n height: 2.5rem;\n align-items: center;\n background-color: var(--ic-color-background-primary);\n border-radius: 5rem;\n box-shadow: var(--ic-elevation-overlay);\n visibility: hidden;\n position: fixed;\n bottom: var(--ic-space-md);\n opacity: 0;\n transition: visibility 0s linear var(--ic-transition-duration-slow),\n opacity var(--ic-transition-duration-slow);\n z-index: var(--ic-z-index-back-to-top);\n}\n\n:host(.ic-back-to-top-variant-icon) ic-button::part(button) {\n margin: 0;\n}\n\nic-button::part(button) {\n border-radius: 5rem;\n}\n\nic-button.show {\n visibility: visible;\n opacity: 1;\n transition: visibility 0s linear 0s,\n opacity var(--ic-transition-duration-slow),\n box-shadow var(--ic-easing-transition-fast);\n}\n\nic-button.offset-banner:not(.by-footer) {\n margin-bottom: var(--footer-offset, var(--ic-space-lg));\n}\n\n.ic-back-to-top-icon > svg {\n height: var(--ic-space-md);\n width: var(--ic-space-md);\n}\n\n.icon-only {\n width: 2.5rem;\n}\n\n.icon-only .ic-back-to-top-icon > svg {\n padding-left: calc(var(--ic-space-xs) - var(--ic-space-1px));\n}\n\nic-button.by-footer {\n position: relative;\n bottom: var(--footer-offset, 3.5rem);\n}\n\n@media (forced-colors: active) {\n .icon-only .ic-back-to-top-icon > svg {\n padding-left: calc(var(--ic-space-xs) - var(--ic-space-xxxs));\n }\n}\n","import { h, Host } from \"@stencil/core\";\nimport ArrowUpward from \"./assets/ArrowUpward.svg\";\nimport { onComponentPropUndefinedChange, onComponentRequiredPropUndefined, } from \"../../utils/helpers\";\nconst backToTopLabel = \"Back to top\";\nexport class BackToTop {\n constructor() {\n this.topObserver = null;\n this.bannerOffset = false;\n this.footerVisible = false;\n this.targetElVisible = true;\n /**\n * The horizontal position of the element.\n */\n this.position = \"right\";\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 * The variant of the button to render\n */\n this.variant = \"default\";\n this.getObservedEl = () => {\n return document.querySelector(\"#ic-back-to-top-target\");\n };\n this.setTargetElVisible = (visible) => {\n this.targetElVisible = visible;\n };\n this.setFooterVisible = (visible) => {\n this.checkForClassificationBanner();\n this.footerVisible =\n typeof window !== \"undefined\" && window.scrollY === 0 ? false : visible;\n };\n this.targetElObserverCallback = (entries) => {\n this.setTargetElVisible(entries[0].isIntersecting);\n };\n this.footerObserverCallback = (entries) => {\n this.setFooterVisible(entries[0].isIntersecting);\n };\n this.findTargetEl = (target) => {\n let targetElement = null;\n if (target === null || target === undefined) {\n console.log(\"Error: No target ID specified for back to top component - defaulting to top of page\");\n }\n else {\n targetElement = document.querySelector(`${target.startsWith(\"#\") ? \"\" : \"#\"}${target}`);\n if (targetElement === null) {\n console.log(`Error: Back to top target element '${target}' not found - defaulting to top of page`);\n }\n }\n return targetElement;\n };\n this.createTopObserver = (target) => {\n this.targetEl = this.findTargetEl(target);\n let objParent;\n //remove old element & observer\n if (this.topObserver !== null) {\n const observedEl = this.getObservedEl();\n if (observedEl !== null) {\n this.topObserver.unobserve(observedEl);\n observedEl.remove();\n }\n }\n if (this.targetEl === null) {\n objParent = document.body;\n this.targetEl = objParent.firstElementChild;\n this.isTargetElNull = true;\n }\n else {\n objParent = this.targetEl.parentNode;\n this.isTargetElNull = false;\n }\n //insert a new 0px height element before specified target that can be used to determine when page is scrolled\n const objBackToTopTargetEl = document.createElement(\"div\");\n objBackToTopTargetEl.setAttribute(\"id\", \"ic-back-to-top-target\");\n objBackToTopTargetEl.setAttribute(\"tabindex\", \"-1\"); // Needed for virtual cursor behaviour to work\n objParent.insertBefore(objBackToTopTargetEl, this.targetEl);\n // resize observer needs to factor in any top margin on the target el\n const marginTop = this.targetEl\n ? getComputedStyle(this.targetEl).marginTop\n : 0;\n this.topObserver = new IntersectionObserver(this.targetElObserverCallback, {\n threshold: [0],\n rootMargin: `${marginTop} 0px 0px 0px`,\n });\n this.topObserver.observe(objBackToTopTargetEl);\n };\n this.handleClick = () => {\n var _a;\n if (this.isTargetElNull) {\n window.scrollTo(0, 0);\n }\n else {\n (_a = this.targetEl) === null || _a === void 0 ? void 0 : _a.scrollIntoView();\n }\n // Get virtual cursor to move\n this.getObservedEl().focus();\n };\n this.checkForClassificationBanner = () => {\n //adjust position for classification banner at bottom\n const banners = document.querySelectorAll(\"ic-classification-banner:not([inline='true'])\");\n this.bannerOffset = banners.length > 0;\n };\n }\n watchPropHandler(newValue, oldValue) {\n //added for gatsby rehydration issue where prop is initially undefined but then changes to actual value\n onComponentPropUndefinedChange(oldValue, newValue, () => {\n this.createTopObserver(newValue);\n });\n }\n componentWillLoad() {\n this.createTopObserver(this.target);\n this.checkForClassificationBanner();\n //observer for when footer scrolls into view\n let footers = document.querySelectorAll(\"ic-footer\");\n if (footers.length === 0) {\n footers = document.querySelectorAll(\"footer\");\n }\n if (footers.length) {\n const footerEl = footers[footers.length - 1];\n const threshold = this.bannerOffset ? 0.15 : 0;\n const footerObserver = new IntersectionObserver(this.footerObserverCallback, { threshold: [threshold] });\n footerObserver.observe(footerEl);\n }\n }\n componentDidLoad() {\n onComponentRequiredPropUndefined([{ prop: this.target, propName: \"target\" }], \"Back to Top\");\n }\n render() {\n const { variant, bannerOffset, targetElVisible, footerVisible } = this;\n const btnVariant = variant === \"icon\" ? \"icon-secondary\" : \"secondary\";\n const size = variant === \"icon\" ? \"large\" : \"medium\";\n const label = variant === \"icon\" ? \"\" : backToTopLabel;\n return (h(Host, { key: '2c281b238cd14437e120084c35ae86089cd49fe9', class: {\n [`ic-theme-${this.theme}`]: this.theme !== \"inherit\",\n [`ic-back-to-top-${this.position}`]: true,\n [`ic-back-to-top-variant-icon`]: variant === \"icon\",\n } }, h(\"ic-button\", { key: '15bcf38bcc837a9723e5af644551b24845d4cbbb', \"aria-label\": backToTopLabel, variant: btnVariant, size: size, onClick: this.handleClick, class: {\n [\"offset-banner\"]: bannerOffset,\n [\"show\"]: !targetElVisible,\n [\"by-footer\"]: footerVisible,\n [\"icon-only\"]: variant === \"icon\",\n }, theme: this.theme }, h(\"span\", { key: '4d6d2e0390eda5cd6db7f26bd597db7fef9c81c0', class: \"ic-back-to-top-icon\", innerHTML: ArrowUpward }), label)));\n }\n static get is() { return \"ic-back-to-top\"; }\n static get encapsulation() { return \"shadow\"; }\n static get delegatesFocus() { return true; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-back-to-top.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-back-to-top.css\"]\n };\n }\n static get properties() {\n return {\n \"position\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcBackToTopPositions\",\n \"resolved\": \"\\\"center\\\" | \\\"left\\\" | \\\"right\\\" | undefined\",\n \"references\": {\n \"IcBackToTopPositions\": {\n \"location\": \"import\",\n \"path\": \"./ic-back-to-top.types\",\n \"id\": \"src/components/ic-back-to-top/ic-back-to-top.types.ts::IcBackToTopPositions\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The horizontal position of the element.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"position\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"right\\\"\"\n },\n \"target\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The ID of the element to jump back to when the link is clicked.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"target\",\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 \"variant\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcBackToTopVariants\",\n \"resolved\": \"\\\"default\\\" | \\\"icon\\\" | undefined\",\n \"references\": {\n \"IcBackToTopVariants\": {\n \"location\": \"import\",\n \"path\": \"./ic-back-to-top.types\",\n \"id\": \"src/components/ic-back-to-top/ic-back-to-top.types.ts::IcBackToTopVariants\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The variant of the button to render\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"variant\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"default\\\"\"\n }\n };\n }\n static get states() {\n return {\n \"bannerOffset\": {},\n \"footerVisible\": {},\n \"targetElVisible\": {}\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"target\",\n \"methodName\": \"watchPropHandler\"\n }];\n }\n}\n//# sourceMappingURL=ic-back-to-top.js.map\n"],"mappings":"kRAAA,MAAMA,EAAiB,yqIACvB,MAAAC,EAAeD,ECEf,MAAME,EAAiB,c,MACVC,EAAS,MAClB,WAAAC,CAAAC,G,UACIC,KAAKC,YAAc,KACnBD,KAAKE,aAAe,MACpBF,KAAKG,cAAgB,MACrBH,KAAKI,gBAAkB,KAIvBJ,KAAKK,SAAW,QAIhBL,KAAKM,MAAQ,UAIbN,KAAKO,QAAU,UACfP,KAAKQ,cAAgB,IACVC,SAASC,cAAc,0BAElCV,KAAKW,mBAAsBC,IACvBZ,KAAKI,gBAAkBQ,CAAO,EAElCZ,KAAKa,iBAAoBD,IACrBZ,KAAKc,+BACLd,KAAKG,qBACMY,SAAW,aAAeA,OAAOC,UAAY,EAAI,MAAQJ,CAAO,EAE/EZ,KAAKiB,yBAA4BC,IAC7BlB,KAAKW,mBAAmBO,EAAQ,GAAGC,eAAe,EAEtDnB,KAAKoB,uBAA0BF,IAC3BlB,KAAKa,iBAAiBK,EAAQ,GAAGC,eAAe,EAEpDnB,KAAKqB,aAAgBC,IACjB,IAAIC,EAAgB,KACpB,GAAID,IAAW,MAAQA,IAAWE,UAAW,CACzCC,QAAQC,IAAI,sF,KAEX,CACDH,EAAgBd,SAASC,cAAc,GAAGY,EAAOK,WAAW,KAAO,GAAK,MAAML,KAC9E,GAAIC,IAAkB,KAAM,CACxBE,QAAQC,IAAI,sCAAsCJ,2C,EAG1D,OAAOC,CAAa,EAExBvB,KAAK4B,kBAAqBN,IACtBtB,KAAK6B,SAAW7B,KAAKqB,aAAaC,GAClC,IAAIQ,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tBM,EAAUpD,SAAS6C,iBAAiB,S,CAExC,GAAIO,EAAQN,OAAQ,CAChB,MAAMO,EAAWD,EAAQA,EAAQN,OAAS,GAC1C,MAAMV,EAAY7C,KAAKE,aAAe,IAAO,EAC7C,MAAM6D,EAAiB,IAAInB,qBAAqB5C,KAAKoB,uBAAwB,CAAEyB,UAAW,CAACA,KAC3FkB,EAAehB,QAAQe,E,EAG/B,gBAAAE,GACIC,EAAiC,CAAC,CAAEC,KAAMlE,KAAKsB,OAAQ6C,SAAU,WAAa,c,CAElF,MAAAC,GACI,MAAM7D,QAAEA,EAAOL,aAAEA,EAAYE,gBAAEA,EAAeD,cAAEA,GAAkBH,KAClE,MAAMqE,EAAa9D,IAAY,OAAS,iBAAmB,YAC3D,MAAM+D,EAAO/D,IAAY,OAAS,QAAU,SAC5C,MAAMgE,EAAQhE,IAAY,OAAS,GAAKX,EACxC,OAAQ4E,EAAEC,EAAM,CAAEC,IAAK,2CAA4CC,MAAO,CAClE,CAAC,YAAY3E,KAAKM,SAAUN,KAAKM,QAAU,UAC3C,CAAC,kBAAkBN,KAAKK,YAAa,KACrC,CAAC,+BAAgCE,IAAY,SAC5CiE,EAAE,YAAa,CAAEE,IAAK,2CAA4C,aAAc9E,EAAgBW,QAAS8D,EAAYC,KAAMA,EAAMM,QAAS5E,KAAKgD,YAAa2B,MAAO,CACpK,CAAC,iBAAkBzE,EACnB,CAAC,SAAUE,EACX,CAAC,aAAcD,EACf,CAAC,aAAcI,IAAY,QAC5BD,MAAON,KAAKM,OAASkE,EAAE,OAAQ,CAAEE,IAAK,2CAA4CC,MAAO,sBAAuBE,UAAWC,IAAgBP,G,CAItJ,yBAAWQ,GAAmB,OAAO,IAAK,C","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as i,c as e,h as t,H as o,g as a}from"./p-8e4e97b4.js";import{d as c,g as s,r,o as n,a as l,i as d,b as p}from"./p-e519f607.js";const h=`<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M10 0C4.47 0 0 4.47 0 10C0 15.53 4.47 20 10 20C15.53 20 20 15.53 20 10C20 4.47 15.53 0 10 0ZM15 13.59L13.59 15L10 11.41L6.41 15L5 13.59L8.59 10L5 6.41L6.41 5L10 8.59L13.59 5L15 6.41L11.41 10L15 13.59Z" fill="currentColor"/>\n</svg>\n`;const b='/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0;}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px;}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;max-width:100%;vertical-align:middle}:host(.ic-chip-dismissed){display:none}.chip{--chip-bg-color:transparent;--chip-hover-bg:var(--ic-chip-action-hover);--chip-pressed-bg:var(--ic-chip-action-pressed);display:flex;padding:calc(var(--ic-space-xxs) - var(--ic-space-1px)) var(--ic-space-xxs);font-size:0.875rem;border-radius:var(--ic-space-md);text-align:left;text-decoration:none;position:relative;background-color:var(--chip-bg-color);border:var(--ic-border-width) solid transparent;justify-content:space-between}@media (prefers-reduced-motion: no-preference){.chip{transition:var(--ic-easing-transition-fast)}}.chip.small{padding:var(--ic-space-1px) var(--ic-space-xxxs);border-radius:calc(var(--ic-space-md) - var(--ic-space-xxxs))}.chip.large{padding:calc(var(--ic-space-xs) - var(--ic-space-1px)) var(--ic-space-xs);border-radius:calc(var(--ic-space-md) + var(--ic-space-xxs))}.label{padding:0 var(--ic-space-xs)}.chip:focus-within{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline);z-index:1}ic-tooltip:focus-within{z-index:1}.filled{--chip-bg-color:var(\n --chip-custom-color,\n var(--ic-chip-background-filled-default)\n );--ic-typography-color:var(\n --chip-custom-foreground-color,\n var(--ic-chip-label)\n );color:var(--chip-custom-foreground-color, var(--ic-chip-label))}.filled.disabled{--chip-bg-color:var(--ic-chip-background-filled-inactive)}:host(.ic-chip-dark-text){--chip-custom-foreground-color:var(--ic-architectural-black)}:host(.ic-chip-light-text){--chip-custom-foreground-color:var(--ic-architectural-white)}:host(.ic-chip-dark-text) .chip.filled.hovered:not(:focus-within){--chip-hover-bg:var(--ic-action-dark-bg-hover)}:host(.ic-chip-dark-text) .chip.filled:focus-within{--chip-pressed-bg:var(--ic-action-dark-bg-pressed)}:host(.ic-chip-light-text) .chip.filled.hovered:not(:focus-within){--chip-hover-bg:var(--ic-action-light-bg-hover)}:host(.ic-chip-light-text) .chip.filled:focus-within{--chip-pressed-bg:var(--ic-action-light-bg-pressed)}.outlined{color:var(--ic-chip-outline-label);border-color:var(--chip-custom-color, var(--ic-chip-outline));padding:calc(var(--ic-space-xxs));--ic-typography-color:var(--ic-chip-outline-label)}.outlined.disabled{border:var(--ic-border-disabled);border-color:var(--ic-chip-outline-inactive)}.chip.disabled ic-typography{--ic-typography-color:var(--ic-chip-label-inactive)}.dismiss-icon{border:none;border-radius:50%;padding:0;color:currentcolor;background:none;cursor:pointer;margin:var(--ic-space-xxxs);height:calc(var(--ic-space-lg) - var(--ic-space-xxs));width:calc(var(--ic-space-lg) - var(--ic-space-xxs))}.dismiss-icon:focus{outline:var(--ic-hc-focus-outline)}.dismiss-icon[disabled]{pointer-events:none;color:var(--ic-chip-icon-inactive)}.icon{padding:var(--ic-space-xxxs);box-sizing:border-box}.icon,ic-tooltip{width:var(--ic-space-lg);height:var(--ic-space-lg)}.chip.disabled path,.chip.disabled ::slotted(svg){fill:var(--ic-chip-icon-inactive)}.outlined.non-transparent{background-color:var(--ic-chip-outline-background)}:host .chip.hovered:not(:focus-within){background-image:linear-gradient(var(--chip-hover-bg) 0 0)}:host .chip:focus-within{background-image:linear-gradient(var(--chip-pressed-bg) 0 0)}.sr-only{position:absolute;left:-9999px}.sr-only:dir(rtl){right:-9999px}@media (forced-colors: active){.chip{border:var(--ic-border-hc)}.chip.disabled{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:GrayText}.chip.disabled ic-typography{--ic-typography-color:GrayText}.chip.disabled path,.chip.disabled ::slotted(svg){fill:GrayText}.chip:focus-within{outline:none;border-color:Highlight}}';const u=b;const g=class{constructor(t){i(this,t);this.icDismiss=e(this,"icDismiss",7);this.foregroundColor=null;this.hovered=false;this.visible=true;this.disabled=false;this.dismissible=false;this.dismissLabel="Dismiss";this.size="medium";this.theme="inherit";this.transparentBackground=true;this.variant="filled";this.dismissAction=()=>{this.icDismiss.emit()};this.mouseEnterHandler=()=>{this.hovered=true};this.mouseLeaveHandler=()=>{this.hovered=false}}customColorHandler(){const i=this.customColor&&c(this.customColor);if(!i){this.foregroundColor=null;return}const{r:e,g:t,b:o,a}=i;this.foregroundColor=s((e*299+t*587+o*114)/1e3);this.el.setAttribute("style",`--chip-custom-color: rgba(${e}, ${t}, ${o}, ${a});`)}watchDisabledHandler(){r(this.disabled,this.el)}disconnectedCallback(){var i;(i=this.hostMutationObserver)===null||i===void 0?void 0:i.disconnect()}componentWillLoad(){r(this.disabled,this.el);this.customColorHandler()}componentDidLoad(){n([{prop:this.label,propName:"label"}],"Chip");this.hostMutationObserver=new MutationObserver((i=>l(i,["icon","badge"],this)));this.hostMutationObserver.observe(this.el,{childList:true})}handleClick(){this.visible=!this.visible}async setFocus(){var i;(i=this.buttonEl)===null||i===void 0?void 0:i.focus()}render(){const{label:i,variant:e,size:a,dismissible:c,visible:s,disabled:r,hovered:n,theme:l,foregroundColor:b,dismissLabel:u,transparentBackground:g}=this;const f=`${i} chip`;return t(o,{key:"91df6058439a8c6dbd74de3d46153e4d0c54d623",class:{"ic-chip-dismissed":!s,[`ic-theme-${l}`]:l!=="inherit",[`ic-chip-${b}-text`]:e==="filled"&&!!b}},s&&t("div",{key:"e7fe4dfe8ebedf808512a29aceef28a6700cd233",class:{chip:true,[`${e}`]:true,[`${a}`]:true,disabled:r,dismissible:c,hovered:n,"non-transparent":e==="outlined"&&!g}},d(this.el,"icon")&&t("div",{key:"81b38c990e638413596f6e5e8041f68eef20e064",class:"icon"},t("slot",{key:"3a1fda2665ac0aea65df3bfaa94552f5e6fa2e1e",name:"icon"})),t("ic-typography",{key:"a496fa5e7be6ec073cb1b2225b7a1e1f79f94f3f",variant:"label","apply-vertical-margins":false,class:{label:true,"in-ag-grid":p(this.el)}},t("span",{key:"942471f0fd86b350166c14433c40d6d912a52b17"},i)),c&&t("ic-tooltip",{key:"c9ea0b5045a625a7b42ae71b22bc9737b05501ee",label:u,target:"dismiss-icon",class:{"tooltip-disabled":r}},t("button",{key:"7fb04f03ac698a002fea17de94980623b33502dd",id:"dismiss-icon",class:"dismiss-icon",ref:i=>this.buttonEl=i,"aria-label":`${u} ${f}`,disabled:r,tabindex:r?-1:0,onClick:this.dismissAction,onMouseEnter:this.mouseEnterHandler,onMouseLeave:this.mouseLeaveHandler,innerHTML:h})),d(this.el,"badge")&&t("slot",{key:"99b017ad25c78367d25411312b47aa1f73d8f682",name:"badge"})),c&&t("div",{key:"b847f0255a3aaca7f1f24e2de1e939e0a6518c2f",class:"sr-only","aria-live":"polite"},!s?`Dismissed ${f}`:""))}static get delegatesFocus(){return true}get el(){return a(this)}static get watchers(){return{customColor:["customColorHandler"],disabled:["watchDisabledHandler"]}}};g.style=u;export{g as ic_chip};
2
- //# sourceMappingURL=p-ea04103e.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["icChipCss","IcChipStyle0","Chip","constructor","hostRef","this","foregroundColor","hovered","visible","disabled","dismissible","dismissLabel","size","theme","transparentBackground","variant","dismissAction","icDismiss","emit","mouseEnterHandler","mouseLeaveHandler","customColorHandler","colorRGBA","customColor","convertToRGBA","r","g","b","a","getBrandForegroundAppearance","el","setAttribute","watchDisabledHandler","removeDisabledFalse","disconnectedCallback","_a","hostMutationObserver","disconnect","componentWillLoad","componentDidLoad","onComponentRequiredPropUndefined","prop","label","propName","MutationObserver","mutationList","renderDynamicChildSlots","observe","childList","handleClick","setFocus","buttonEl","focus","render","ariaLabel","h","Host","key","class","chip","isSlotUsed","name","isElInAGGrid","target","id","ref","tabindex","onClick","onMouseEnter","onMouseLeave","innerHTML","dismissIcon","delegatesFocus"],"sources":["../web-components/dist/collection/components/ic-chip/ic-chip.css?tag=ic-chip&encapsulation=shadow","../web-components/dist/collection/components/ic-chip/ic-chip.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: inline-block;\n max-width: 100%;\n vertical-align: middle;\n}\n\n:host(.ic-chip-dismissed) {\n display: none;\n}\n\n.chip {\n --chip-bg-color: transparent;\n --chip-hover-bg: var(--ic-chip-action-hover);\n --chip-pressed-bg: var(--ic-chip-action-pressed);\n\n display: flex;\n padding: calc(var(--ic-space-xxs) - var(--ic-space-1px)) var(--ic-space-xxs);\n font-size: 0.875rem;\n border-radius: var(--ic-space-md);\n text-align: left;\n text-decoration: none;\n position: relative;\n background-color: var(--chip-bg-color);\n border: var(--ic-border-width) solid transparent;\n justify-content: space-between;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .chip {\n transition: var(--ic-easing-transition-fast);\n }\n}\n\n.chip.small {\n padding: var(--ic-space-1px) var(--ic-space-xxxs);\n border-radius: calc(var(--ic-space-md) - var(--ic-space-xxxs));\n}\n\n.chip.large {\n padding: calc(var(--ic-space-xs) - var(--ic-space-1px)) var(--ic-space-xs);\n border-radius: calc(var(--ic-space-md) + var(--ic-space-xxs));\n}\n\n.label {\n padding: 0 var(--ic-space-xs);\n}\n\n.chip:focus-within {\n box-shadow: var(--ic-border-focus);\n outline: var(--ic-hc-focus-outline);\n z-index: 1;\n}\n\nic-tooltip:focus-within {\n z-index: 1;\n}\n\n.filled {\n --chip-bg-color: var(\n --chip-custom-color,\n var(--ic-chip-background-filled-default)\n );\n --ic-typography-color: var(\n --chip-custom-foreground-color,\n var(--ic-chip-label)\n );\n\n color: var(--chip-custom-foreground-color, var(--ic-chip-label));\n}\n\n.filled.disabled {\n --chip-bg-color: var(--ic-chip-background-filled-inactive);\n}\n\n:host(.ic-chip-dark-text) {\n --chip-custom-foreground-color: var(--ic-architectural-black);\n}\n\n:host(.ic-chip-light-text) {\n --chip-custom-foreground-color: var(--ic-architectural-white);\n}\n\n:host(.ic-chip-dark-text) .chip.filled.hovered:not(:focus-within) {\n --chip-hover-bg: var(--ic-action-dark-bg-hover);\n}\n\n:host(.ic-chip-dark-text) .chip.filled:focus-within {\n --chip-pressed-bg: var(--ic-action-dark-bg-pressed);\n}\n\n:host(.ic-chip-light-text) .chip.filled.hovered:not(:focus-within) {\n --chip-hover-bg: var(--ic-action-light-bg-hover);\n}\n\n:host(.ic-chip-light-text) .chip.filled:focus-within {\n --chip-pressed-bg: var(--ic-action-light-bg-pressed);\n}\n\n.outlined {\n color: var(--ic-chip-outline-label);\n border-color: var(--chip-custom-color, var(--ic-chip-outline));\n padding: calc(var(--ic-space-xxs));\n\n --ic-typography-color: var(--ic-chip-outline-label);\n}\n\n.outlined.disabled {\n border: var(--ic-border-disabled);\n border-color: var(--ic-chip-outline-inactive);\n}\n\n.chip.disabled ic-typography {\n --ic-typography-color: var(--ic-chip-label-inactive);\n}\n\n.dismiss-icon {\n border: none;\n border-radius: 50%;\n padding: 0;\n color: currentcolor;\n background: none;\n cursor: pointer;\n margin: var(--ic-space-xxxs);\n height: calc(var(--ic-space-lg) - var(--ic-space-xxs));\n width: calc(var(--ic-space-lg) - var(--ic-space-xxs));\n}\n\n.dismiss-icon:focus {\n outline: var(--ic-hc-focus-outline);\n}\n\n.dismiss-icon[disabled] {\n pointer-events: none;\n color: var(--ic-chip-icon-inactive);\n}\n\n.icon {\n padding: var(--ic-space-xxxs);\n box-sizing: border-box;\n}\n\n.icon,\nic-tooltip {\n width: var(--ic-space-lg);\n height: var(--ic-space-lg);\n}\n\n.chip.disabled path,\n.chip.disabled ::slotted(svg) {\n fill: var(--ic-chip-icon-inactive);\n}\n\n.outlined.non-transparent {\n background-color: var(--ic-chip-outline-background);\n}\n\n:host .chip.hovered:not(:focus-within) {\n background-image: linear-gradient(var(--chip-hover-bg) 0 0);\n}\n\n:host .chip:focus-within {\n background-image: linear-gradient(var(--chip-pressed-bg) 0 0);\n}\n\n.sr-only {\n position: absolute;\n left: -9999px;\n}\n\n.sr-only:dir(rtl) {\n right: -9999px;\n}\n\n@media (forced-colors: active) {\n .chip {\n border: var(--ic-border-hc);\n }\n\n .chip.disabled {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border-color: GrayText;\n }\n\n .chip.disabled ic-typography {\n --ic-typography-color: GrayText;\n }\n\n .chip.disabled path,\n .chip.disabled ::slotted(svg) {\n fill: GrayText;\n }\n\n .chip:focus-within {\n outline: none;\n border-color: Highlight;\n }\n}\n","import { h, Host, } from \"@stencil/core\";\nimport { onComponentRequiredPropUndefined, isSlotUsed, removeDisabledFalse, convertToRGBA, isElInAGGrid, getBrandForegroundAppearance, renderDynamicChildSlots, } from \"../../utils/helpers\";\nimport dismissIcon from \"../../assets/dismiss-icon.svg\";\n/**\n * @slot icon - Content will be rendered at the start of the chip.\n * @slot badge - Badge component overlaying the top right of the chip.\n */\nexport class Chip {\n constructor() {\n this.foregroundColor = null;\n this.hovered = false;\n this.visible = true;\n /**\n * If `true`, the chip will appear disabled.\n */\n this.disabled = false;\n /**\n * If `true`, the chip will have a close button at the end to dismiss it.\n */\n this.dismissible = false;\n /**\n * The text in the dismiss button tooltip and aria label. Makes the user aware of the action resulting from clicking the 'Dismiss chip' button.\n */\n this.dismissLabel = \"Dismiss\";\n /**\n * The size of the chip.\n */\n this.size = \"medium\";\n /**\n * Sets the chip to the dark or light theme colors. \"inherit\" will set the color based on the system settings or ic-theme component.\n * Setting the \"customColor\" prop will override this.\n */\n this.theme = \"inherit\";\n /**\n * If `true`, the outlined variant of chip will have a transparent background rather than the theme defined color.\n */\n this.transparentBackground = true;\n /**\n * The emphasis of the chip.\n */\n this.variant = \"filled\";\n this.dismissAction = () => {\n this.icDismiss.emit();\n };\n this.mouseEnterHandler = () => {\n this.hovered = true;\n };\n this.mouseLeaveHandler = () => {\n this.hovered = false;\n };\n }\n customColorHandler() {\n const colorRGBA = this.customColor && convertToRGBA(this.customColor);\n if (!colorRGBA) {\n this.foregroundColor = null;\n return;\n }\n const { r, g, b, a } = colorRGBA;\n this.foregroundColor = getBrandForegroundAppearance((r * 299 + g * 587 + b * 114) / 1000);\n this.el.setAttribute(\"style\", `--chip-custom-color: rgba(${r}, ${g}, ${b}, ${a});`);\n }\n watchDisabledHandler() {\n removeDisabledFalse(this.disabled, this.el);\n }\n disconnectedCallback() {\n var _a;\n (_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n }\n componentWillLoad() {\n removeDisabledFalse(this.disabled, this.el);\n this.customColorHandler();\n }\n componentDidLoad() {\n onComponentRequiredPropUndefined([{ prop: this.label, propName: \"label\" }], \"Chip\");\n this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, [\"icon\", \"badge\"], this));\n this.hostMutationObserver.observe(this.el, {\n childList: true,\n });\n }\n handleClick() {\n this.visible = !this.visible;\n }\n /**\n * Sets focus on the chip.\n */\n async setFocus() {\n var _a;\n (_a = this.buttonEl) === null || _a === void 0 ? void 0 : _a.focus();\n }\n render() {\n const { label, variant, size, dismissible, visible, disabled, hovered, theme, foregroundColor, dismissLabel, transparentBackground, } = this;\n const ariaLabel = `${label} chip`;\n return (h(Host, { key: '91df6058439a8c6dbd74de3d46153e4d0c54d623', class: {\n \"ic-chip-dismissed\": !visible,\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n [`ic-chip-${foregroundColor}-text`]: variant === \"filled\" && !!foregroundColor,\n } }, visible && (h(\"div\", { key: 'e7fe4dfe8ebedf808512a29aceef28a6700cd233', class: {\n chip: true,\n [`${variant}`]: true,\n [`${size}`]: true,\n disabled,\n dismissible,\n hovered,\n \"non-transparent\": variant === \"outlined\" && !transparentBackground,\n } }, isSlotUsed(this.el, \"icon\") && (h(\"div\", { key: '81b38c990e638413596f6e5e8041f68eef20e064', class: \"icon\" }, h(\"slot\", { key: '3a1fda2665ac0aea65df3bfaa94552f5e6fa2e1e', name: \"icon\" }))), h(\"ic-typography\", { key: 'a496fa5e7be6ec073cb1b2225b7a1e1f79f94f3f', variant: \"label\", \"apply-vertical-margins\": false, class: { label: true, \"in-ag-grid\": isElInAGGrid(this.el) } }, h(\"span\", { key: '942471f0fd86b350166c14433c40d6d912a52b17' }, label)), dismissible && (h(\"ic-tooltip\", { key: 'c9ea0b5045a625a7b42ae71b22bc9737b05501ee', label: dismissLabel, target: \"dismiss-icon\", class: { \"tooltip-disabled\": disabled } }, h(\"button\", { key: '7fb04f03ac698a002fea17de94980623b33502dd', id: \"dismiss-icon\", class: \"dismiss-icon\", ref: (el) => (this.buttonEl = el), \"aria-label\": `${dismissLabel} ${ariaLabel}`, disabled: disabled, tabindex: disabled ? -1 : 0, onClick: this.dismissAction, onMouseEnter: this.mouseEnterHandler, onMouseLeave: this.mouseLeaveHandler, innerHTML: dismissIcon }))), isSlotUsed(this.el, \"badge\") && h(\"slot\", { key: '99b017ad25c78367d25411312b47aa1f73d8f682', name: \"badge\" }))), dismissible && (h(\"div\", { key: 'b847f0255a3aaca7f1f24e2de1e939e0a6518c2f', class: \"sr-only\", \"aria-live\": \"polite\" }, !visible ? `Dismissed ${ariaLabel}` : \"\"))));\n }\n static get is() { return \"ic-chip\"; }\n static get encapsulation() { return \"shadow\"; }\n static get delegatesFocus() { return true; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-chip.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-chip.css\"]\n };\n }\n static get properties() {\n return {\n \"customColor\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcColor\",\n \"resolved\": \"`#${string}` | `rgb(${string})` | `rgba(${string})` | undefined\",\n \"references\": {\n \"IcColor\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcColor\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The custom chip colour. This will override the theme colour.\\nCan be a hex value e.g. \\\"#ff0000\\\", RGB e.g. \\\"rgb(255, 0, 0)\\\", or RGBA e.g. \\\"rgba(255, 0, 0, 1)\\\".\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"custom-color\",\n \"reflect\": false\n },\n \"disabled\": {\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\": \"If `true`, the chip will appear disabled.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"dismissible\": {\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\": \"If `true`, the chip will have a close button at the end to dismiss it.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"dismissible\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"dismissLabel\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The text in the dismiss button tooltip and aria label. Makes the user aware of the action resulting from clicking the 'Dismiss chip' button.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"dismiss-label\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"Dismiss\\\"\"\n },\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The text rendered within the chip.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"size\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcSizes\",\n \"resolved\": \"\\\"large\\\" | \\\"medium\\\" | \\\"small\\\"\",\n \"references\": {\n \"IcSizes\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcSizes\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The size of the chip.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"size\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"medium\\\"\"\n },\n \"theme\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcThemeMode\",\n \"resolved\": \"\\\"dark\\\" | \\\"inherit\\\" | \\\"light\\\"\",\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\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Sets the chip to the dark or light theme colors. \\\"inherit\\\" will set the color based on the system settings or ic-theme component.\\nSetting the \\\"customColor\\\" prop will override this.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"theme\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"inherit\\\"\"\n },\n \"transparentBackground\": {\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\": \"If `true`, the outlined variant of chip will have a transparent background rather than the theme defined color.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"transparent-background\",\n \"reflect\": false,\n \"defaultValue\": \"true\"\n },\n \"variant\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcEmphasisType\",\n \"resolved\": \"\\\"filled\\\" | \\\"outlined\\\"\",\n \"references\": {\n \"IcEmphasisType\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcEmphasisType\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The emphasis of the chip.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"variant\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"filled\\\"\"\n }\n };\n }\n static get states() {\n return {\n \"foregroundColor\": {},\n \"hovered\": {},\n \"visible\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"icDismiss\",\n \"name\": \"icDismiss\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Is emitted when the user dismisses the chip.\"\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 chip.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"customColor\",\n \"methodName\": \"customColorHandler\"\n }, {\n \"propName\": \"disabled\",\n \"methodName\": \"watchDisabledHandler\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"icDismiss\",\n \"method\": \"handleClick\",\n \"target\": undefined,\n \"capture\": true,\n \"passive\": false\n }];\n }\n}\n//# sourceMappingURL=ic-chip.js.map\n"],"mappings":"gdAAA,MAAMA,EAAY,26LAClB,MAAAC,EAAeD,E,MCMFE,EAAI,MACb,WAAAC,CAAAC,G,+CACIC,KAAKC,gBAAkB,KACvBD,KAAKE,QAAU,MACfF,KAAKG,QAAU,KAIfH,KAAKI,SAAW,MAIhBJ,KAAKK,YAAc,MAInBL,KAAKM,aAAe,UAIpBN,KAAKO,KAAO,SAKZP,KAAKQ,MAAQ,UAIbR,KAAKS,sBAAwB,KAI7BT,KAAKU,QAAU,SACfV,KAAKW,cAAgB,KACjBX,KAAKY,UAAUC,MAAM,EAEzBb,KAAKc,kBAAoB,KACrBd,KAAKE,QAAU,IAAI,EAEvBF,KAAKe,kBAAoB,KACrBf,KAAKE,QAAU,KAAK,C,CAG5B,kBAAAc,GACI,MAAMC,EAAYjB,KAAKkB,aAAeC,EAAcnB,KAAKkB,aACzD,IAAKD,EAAW,CACZjB,KAAKC,gBAAkB,KACvB,M,CAEJ,MAAMmB,EAAEA,EAACC,EAAEA,EAACC,EAAEA,EAACC,GAAQN,EACvBjB,KAAKC,gBAAkBuB,GAA8BJ,EAAI,IAAMC,EAAI,IAAMC,EAAI,KAAO,KACpFtB,KAAKyB,GAAGC,aAAa,QAAS,6BAA6BN,MAAMC,MAAMC,MAAMC,M,CAEjF,oBAAAI,GACIC,EAAoB5B,KAAKI,SAAUJ,KAAKyB,G,CAE5C,oBAAAI,GACI,IAAIC,GACHA,EAAK9B,KAAK+B,wB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MAAO,CAAEhB,MAAO,KAAM,aAAcoB,EAAazD,KAAKyB,MAASyB,EAAE,OAAQ,CAAEE,IAAK,4CAA8Cf,IAAShC,GAAgB6C,EAAE,aAAc,CAAEE,IAAK,2CAA4Cf,MAAO/B,EAAcoD,OAAQ,eAAgBL,MAAO,CAAE,mBAAoBjD,IAAc8C,EAAE,SAAU,CAAEE,IAAK,2CAA4CO,GAAI,eAAgBN,MAAO,eAAgBO,IAAMnC,GAAQzB,KAAK8C,SAAWrB,EAAK,aAAc,GAAGnB,KAAgB2C,IAAa7C,SAAUA,EAAUyD,SAAUzD,GAAY,EAAI,EAAG0D,QAAS9D,KAAKW,cAAeoD,aAAc/D,KAAKc,kBAAmBkD,aAAchE,KAAKe,kBAAmBkD,UAAWC,KAAkBX,EAAWvD,KAAKyB,GAAI,UAAYyB,EAAE,OAAQ,CAAEE,IAAK,2CAA4CI,KAAM,WAAcnD,GAAgB6C,EAAE,MAAO,CAAEE,IAAK,2CAA4CC,MAAO,UAAW,YAAa,WAAalD,EAAU,aAAa8C,IAAc,I,CAIrvC,yBAAWkB,GAAmB,OAAO,IAAK,C","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as e,c as t,h as i,H as s,g as c}from"./p-8e4e97b4.js";import{l as r}from"./p-829b34f9.js";const l=`<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M8.79502 15.875L4.62502 11.705L3.20502 13.115L8.79502 18.705L20.795 6.70501L19.385 5.29501L8.79502 15.875Z" fill="currentColor"/>\n</svg>\n`;const o=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">\n <path d="M0 0h24v24H0z" fill="none"/>\n <path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/>\n <title>close icon</title>\n</svg>\n`;const n=':host(.ic-time-selector-small){--time-selector-padded-item-height:var(--ic-space-lg)}:host(.ic-time-selector-medium){--time-selector-padded-item-height:calc(\n var(--ic-space-lg) + var(--ic-space-xxs)\n )}:host(.ic-time-selector-large){--time-selector-padded-item-height:var(--ic-space-xl)}.ic-time-selector-dialog-container{background-color:var(--ic-time-picker-time-selector-bg);border:var(--ic-space-1px) solid var(--ic-time-picker-time-selector-border);border-radius:var(--ic-space-xxs);padding:var(--ic-space-xs);max-width:calc(\n 3 * var(--ic-space-xxl) + var(--ic-space-xl) + var(--ic-space-xxs)\n );width:-moz-fit-content;width:fit-content}:host(.ic-time-selector-small) .ic-time-selector-dialog-container{padding:var(--ic-space-xxs);max-width:calc(\n 3 * var(--ic-space-xxl) + var(--ic-space-lg) + var(--ic-space-xxs)\n )}:host(.ic-time-selector-large) .ic-time-selector-dialog-container{padding:var(--ic-space-md);max-width:calc(\n 3 * var(--ic-space-xxl) + var(--ic-space-xl) + var(--ic-space-xs) +\n var(--ic-space-xxs)\n )}.ic-time-selector-item{height:var(--ic-space-lg);padding:var(--ic-space-xxxs);text-align:center;cursor:pointer;scroll-snap-align:start;transition:background 0.2s, color 0.2s}:host(.ic-time-selector-small) .ic-time-selector-item{padding:0}:host(.ic-time-selector-large) .ic-time-selector-item{padding:var(--ic-space-xxs)}.ic-time-selector-item:hover:not(.disabled):not(.selected){background-color:var(--ic-time-picker-time-bg-hover)}.ic-time-selector-item:active:not(.disabled):not(.selected){background-color:var(--ic-time-picker-time-bg-pressed)}.ic-time-selector-item.selected{background-color:var(--ic-time-picker-time-bg-selected);--ic-typography-color:var(--ic-time-picker-time-text-selected);position:relative}.ic-time-selector-item.selected:hover{background-color:var(--ic-time-picker-time-active-bg-hover)}.ic-time-selector-item.selected:active{background-color:var(--ic-time-picker-time-active-bg-pressed)}.ic-time-selector-colon-selected{background-color:var(--ic-time-picker-colon-bg-selected);color:var(--ic-time-picker-colon-selected) !important}.ic-time-selector-item.selected::before,.ic-time-selector-item.selected::after,.ic-time-selector-colon-selected::before,.ic-time-selector-colon-selected::after{content:"";position:absolute;left:0;right:0;height:var(--ic-space-1px);background:var(--ic-time-picker-time-selector-bg)}.ic-time-selector-item.selected::before,.ic-time-selector-colon-selected::before{top:0}.ic-time-selector-item.selected::after,.ic-time-selector-colon-selected::after{bottom:0}.ic-time-selector-item.disabled{--ic-typography-color:var(--ic-time-picker-time-text-disabled);cursor:not-allowed}.ic-time-selector-column-wrapper{display:flex;flex-direction:column}.ic-time-selector-scroll-row{height:var(--time-selector-padded-item-height) !important;background:transparent !important;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default !important;box-sizing:border-box}:host(.ic-time-selector-small) .ic-time-selector-scroll-row-last{height:calc(var(--ic-space-1px) + var(--ic-space-xxxs)) !important}:host(.ic-time-selector-medium) .ic-time-selector-scroll-row-last,:host(.ic-time-selector-large) .ic-time-selector-scroll-row-last{height:calc(\n var(--ic-space-1px) + var(--ic-space-xxxs) + var(--ic-space-md)\n ) !important}.ic-time-selector-scroll-row:hover,.ic-time-selector-scroll-row:active{background:transparent !important}.ic-time-selector-header-row{color:var(--ic-time-picker-hh-label);--ic-typography-color:var(--ic-time-picker-hh-label) !important;background:transparent !important;text-align:center;height:var(--time-selector-padded-item-height);display:flex;align-items:center;justify-content:center}.ic-time-selector-header-border{position:absolute;left:0;right:0;top:var(--time-selector-padded-item-height);height:var(--ic-space-1px);background:var(--ic-time-picker-header-border);pointer-events:none}.ic-time-selector-colon{display:flex;align-items:center;justify-content:center;color:var(--ic-time-picker-colon-default);height:var(--time-selector-padded-item-height);margin-top:calc(3 * var(--time-selector-padded-item-height))}.ic-time-selector-columns{display:flex;flex-direction:row;border-bottom:var(--ic-space-1px) solid var(--ic-time-picker-lower-border);margin:0 var(--ic-space-xxs);position:relative;z-index:1}.ic-time-selector-highlight-lines{position:relative;width:100%}.ic-time-selector-highlight{position:absolute;left:0;right:0;width:100%;height:var(--ic-space-1px);background:var(--ic-time-picker-selection-border);pointer-events:none;z-index:1}.ic-time-selector-highlight-top{top:calc(3 * var(--time-selector-padded-item-height) - var(--ic-space-1px))}.ic-time-selector-highlight-bottom{top:calc(4 * var(--time-selector-padded-item-height))}.ic-time-selector-column{height:calc((5 * var(--ic-space-xxl)) + (3 * var(--ic-space-1px)));overflow-y:auto;width:calc(var(--ic-space-xl) + var(--ic-space-xs));position:relative;scroll-snap-type:y mandatory;scrollbar-width:none;-ms-overflow-style:none}:host(.ic-time-selector-small) .ic-time-selector-column{width:calc(var(--ic-space-xl) + var(--ic-space-xxs) + var(--ic-space-xxxs))}:host(.ic-time-selector-large) .ic-time-selector-column{width:calc(var(--ic-space-xl) + var(--ic-space-xs) + var(--ic-space-xxxs))}.ic-time-selector-column-period{margin-left:var(--ic-space-xxs)}.ic-time-selector-column::-webkit-scrollbar{display:none}.ic-time-selector-column:focus-visible,.ic-time-selector-item:focus-visible{outline:none;background-color:transparent}.ic-time-selector-column:focus{box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-fast);z-index:3}.ic-time-selector-list{list-style:none;margin:0;padding:0}.ic-time-selector-actions{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;margin-top:var(--ic-space-xs);margin-left:auto}.ic-time-selector-check-btn{margin-left:calc(var(--ic-space-xs) + var(--ic-space-xxxs))}.sr-only{position:absolute;left:-9999px}@media (forced-colors: active){.ic-time-selector-item.selected{background-color:highlight !important}.ic-time-selector-item.disabled{--ic-typography-color:GrayText !important}.ic-time-selector-column:focus{border:var(--ic-border-hc)}.ic-time-selector-highlight{background:Highlight !important}}';const a=n;const d=["hour","minute","period"];const h=".ic-time-selector-column";const u=".ic-time-selector-item";const m=class{constructor(s){e(this,s);this.icChange=t(this,"icChange",7);this.minutes=Array.from({length:60},((e,t)=>t));this.periods=["AM","PM"];this.minTime=null;this.maxTime=null;this.ariaLiveMessage="";this.disableTimes=[];this.min="";this.max="";this.size="medium";this.theme="inherit";this.timePeriod="24";this.value="";this.setTimeParts=(e,t)=>{let i="AM";if(this.timePeriod==="12"){if(e===0){e=12;i="AM"}else if(e===12){i="PM"}else if(e>12){e=e-12;i="PM"}else{i="AM"}this.selectedHour=e;this.selectedPeriod=i}else{this.selectedHour=e}this.selectedMinute=t};this.checkIfScrollIsFinished=(e,t)=>{const i=setInterval((()=>{if(e.scrollTop===t+56){e===null||e===void 0?void 0:e.focus();clearInterval(i)}}),25)};this.handleSelect=(e,t)=>{var i;const s=this.getSelectedValue(e);switch(e){case"hour":this.selectedHour=Number(t);break;case"minute":this.selectedMinute=Number(t);break;case"period":this.selectedPeriod=t;break}const c=(i=this.el.shadowRoot)===null||i===void 0?void 0:i.querySelectorAll(h);const r=d.indexOf(e);if(c&&c[r]){c[r].focus();window.requestAnimationFrame((()=>{this.scrollSelectedItem(e)}))}if(s===undefined||s===null){this.announceSelectedColumn(e)}else{this.lastAnnouncedType=e;this.lastAnnouncedValue=this.getSelectedValue(e)}};this.isTimeDisabled=(e,t,i)=>{var s,c;for(const i of this.disableTimes){if(i&&typeof i==="object"&&"start"in i&&"end"in i){const s=r(i.start).parts;const c=r(i.end).parts;if(s&&c){const i=e*3600+t*60;const r=s.hour*3600+s.minute*60;const l=c.hour*3600+c.minute*60;if(i>=r&&i<=l){return true}}}}if(this.min){this.minTime=r(this.min).date;if(this.minTime){const c=this.minTime.getHours();const r=this.minTime.getMinutes();if(i==="hour"){const t=(s=this.selectedMinute)!==null&&s!==void 0?s:r;if(e<c||e===c&&t<r||e===c&&t===r){return true}}else if(i==="minute"){if(e===c&&t<r){return true}}else{if(e<c||e===c&&t<r||e===c&&t===r){return true}}}}if(this.max){this.maxTime=r(this.max).date;if(this.maxTime){const s=this.maxTime.getHours();const r=this.maxTime.getMinutes();if(i==="hour"){const t=(c=this.selectedMinute)!==null&&c!==void 0?c:59;if(e>s||e===s&&t>r||e===s&&t===r){return true}}else if(i==="minute"){if(e===s&&t>r){return true}}else{if(e>s||e===s&&t>r||e===s&&t===r){return true}}}}return false};this.handleColumnKeyDown=(e,t)=>{var i,s,c,r,l,o,n;const a=(i=this.el.shadowRoot)===null||i===void 0?void 0:i.querySelectorAll(h);const u=d.indexOf(e);if(!a)return;const m=this.getColumnValues(e);const p=this.getSelectedValue(e);const f=a[u];if(!f)return;const v=()=>{const t=this.getHighlightedValue(e,f);if(t!==null){this.handleSelect(e,t)}else if(m.length>0){this.handleSelect(e,m[0])}};switch(t.key){case"Enter":case" ":t.preventDefault();v();return;case"ArrowRight":t.preventDefault();v();if(u<a.length-1){(s=a[u+1])===null||s===void 0?void 0:s.focus()}return;case"ArrowLeft":t.preventDefault();if(u>0)(c=a[u-1])===null||c===void 0?void 0:c.focus();return;case"Tab":if(t.shiftKey){if(u===0){return}else{t.preventDefault();(r=a[u-1])===null||r===void 0?void 0:r.focus()}}else{t.preventDefault();v();this.announceSelectedColumn(e);if(u<a.length-1){(l=a[u+1])===null||l===void 0?void 0:l.focus()}else{(n=(o=this.el.shadowRoot)===null||o===void 0?void 0:o.querySelector(".ic-time-selector-clear-btn"))===null||n===void 0?void 0:n.focus();this.updateAriaLiveMessage()}}return;case"ArrowUp":case"ArrowDown":{let i=m.findIndex((e=>e===p));if(i===-1)i=0;let s=i;const c=t.key==="ArrowUp"?-1:1;const r=m.length-1;do{s+=c}while(s>=0&&s<=r&&(()=>{var t,i;if(e==="hour"||e==="minute"){const c=e==="hour"?m[s]:(t=this.selectedHour)!==null&&t!==void 0?t:0;const r=e==="minute"?m[s]:(i=this.selectedMinute)!==null&&i!==void 0?i:0;return this.isTimeDisabled(c,r)}return false})());this.ariaLiveMessage=`Selected ${e}: ${m[s]}`;if(s>=0&&s<=r&&s!==i){this.handleSelect(e,m[s])}return}default:return}};this.renderColumn=(e,t,s)=>{const c=e==="hour"||e==="minute";const r=e==="period";const l=this.getHeaderLabel(e);const o=2;let n=6;if(this.size==="large"){n=5}else if(this.size==="small"){n=8}return i("div",{class:"ic-time-selector-column-wrapper"},r?i("div",{class:"ic-time-selector-header-row"}):l&&i("div",{class:"ic-time-selector-header-row"},i("ic-typography",{variant:"subtitle-small"},l)),i("div",{class:{"ic-time-selector-column":true,"ic-time-selector-column-period":r},tabIndex:0,onKeyDown:t=>this.handleColumnKeyDown(e,t)},i("ul",{class:"ic-time-selector-list",role:"listbox","aria-label":e},this.renderScrollRows(o,`${e}-top-spacer`),t.map((t=>{var r,l;let o=false;if(c){const i=e==="hour"?t:(r=this.selectedHour)!==null&&r!==void 0?r:0;const s=e==="minute"?t:(l=this.selectedMinute)!==null&&l!==void 0?l:0;o=this.isTimeDisabled(i,s,e)}return i("li",{class:{"ic-time-selector-item":true,selected:t===s,disabled:o},role:"option","aria-selected":t===s?"true":"false","aria-disabled":o?"true":"false",onClick:()=>!o&&this.handleSelect(e,t),tabIndex:-1,key:`${e}-val-${t}`},i("ic-typography",{variant:"subtitle-small"},typeof t==="number"?t.toString().padStart(2,"0"):t))})),(c||r)&&this.renderScrollRows(n,`${e}-bottom-spacer`))))};this.handleClear=()=>{this.selectedHour=undefined;this.scrollSelectedItem("hour",true);this.selectedMinute=undefined;this.scrollSelectedItem("minute",true);this.selectedPeriod=undefined;this.scrollSelectedItem("period",true);this.lastAnnouncedType=undefined;this.lastAnnouncedValue=undefined;this.icChange.emit({value:null,timeString:null,timeObject:{hour:null,minute:null,period:undefined}})};this.handleConfirmClick=()=>{const e=this.selectedHour!=null?this.selectedHour:null;const t=this.selectedMinute!=null?this.selectedMinute:null;const i=this.selectedPeriod;const s=e!=null?e.toString().padStart(2,"0"):null;const c=t!=null?t.toString().padStart(2,"0"):null;let r=false;r=e!==null&&t!==null;let l=null;let o=null;if(r){let r=e;if(e!=null&&i&&this.timePeriod==="12"){if(i==="PM"&&e<12)r=e+12;if(i==="AM"&&e===12)r=0}l=new Date;l.setHours(r!==null&&r!==void 0?r:0);l.setMinutes(t!==null&&t!==void 0?t:0);o=s+":"+c+(i?" "+i:"");this.value=l}this.icChange.emit({value:r?l:null,timeString:r?o:null,timeObject:Object.assign({hour:s,minute:c},i?{period:i}:{})})}}watchMinHandler(){this.minTime=r(this.min).date}watchMaxHandler(){this.maxTime=r(this.max).date}watchValueHandler(){this.setTime(this.value);setTimeout((()=>{this.scrollSelectedItem("hour");this.scrollSelectedItem("minute");if(this.timePeriod==="12"){this.scrollSelectedItem("period")}}),0)}componentWillLoad(){this.setTime(this.value)}componentDidLoad(){setTimeout((()=>{if(this.selectedHour!==undefined&&this.selectedHour!==null){this.scrollSelectedItem("hour")}else if(this.min){this.scrollMinTime("hour")}if(this.selectedMinute!==undefined&&this.selectedMinute!==null){this.scrollSelectedItem("minute")}else if(this.min){this.scrollMinTime("minute")}if(this.timePeriod==="12"){if(this.selectedPeriod!==undefined&&this.selectedPeriod!==null){this.scrollSelectedItem("period")}else if(this.min){this.scrollMinTime("period")}}this.updateAriaLiveMessage()}),0)}getHeaderLabel(e){switch(e){case"hour":return"HH";case"minute":return"MM";default:return""}}setTime(e){if(e===null||e===undefined||e===""){this.handleClear();return}if(typeof e==="string"){const t=e.match(/^([0-9]{2}):([0-9]{2}):([0-9]{2})(?:\.[0-9]{1,3})?Z?$/);if(t){this.setTimeParts(Number(t[1]),Number(t[2]))}else{const t=e.split(":");this.setTimeParts(Number(t[0])||0,Number(t[1])||0)}}else{const{parts:t}=r(e);if(t){this.setTimeParts(t.hour,t.minute)}}}renderScrollRows(e,t="scroll-row"){return Array.from({length:e}).map(((s,c)=>{const r=t.endsWith("bottom-spacer")?c===e-1:false;return i("li",{class:Object.assign({"ic-time-selector-item":true,"ic-time-selector-scroll-row":true},r?{"ic-time-selector-scroll-row-last":true}:{}),"aria-hidden":"true",tabIndex:-1,key:`${t}-${c}`})}))}scrollSelectedItem(e,t){var i;const s=(i=this.el.shadowRoot)===null||i===void 0?void 0:i.querySelectorAll(h);let c=d.indexOf(e);if(e==="period"&&(s===null||s===void 0?void 0:s.length)){c=s.length-1}const r=s===null||s===void 0?void 0:s[c];if(r){const e=r.querySelectorAll(u);let i=-1;e.forEach(((e,t)=>{if(e.classList.contains("selected"))i=t}));if(t){i=0}if(i>-1){const s=r.querySelector(".ic-time-selector-scroll-row");let c=0;if(s){c=parseFloat(getComputedStyle(s).height)}const l=c*2;const o=e[i].offsetTop-l;const n=window.matchMedia("(prefers-reduced-motion: reduce)").matches;r.scrollTo({top:o,behavior:n?"instant":"smooth"});if(t){setTimeout((()=>{var e;const t=(e=this.el.shadowRoot)===null||e===void 0?void 0:e.querySelectorAll(h);if(t&&t.length>0){this.checkIfScrollIsFinished(t[0],o)}}),300)}}}}scrollMinTime(e){var t;const i=(t=this.el.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll(h);const s=d.indexOf(e);const c=i===null||i===void 0?void 0:i[s];if(!c)return;const l=c.querySelectorAll(u);let o=0,n=0;if(this.minTime){o=this.minTime.getHours()+2;n=this.minTime.getMinutes()+2}else if(this.min){const e=r(this.min).date;if(e){o=e.getHours();n=e.getMinutes()}}let a=-1;const m=this.getColumnValues(e);if(e==="hour"){a=m.findIndex((e=>e===o))}else if(e==="minute"){a=m.findIndex((e=>e===n))}else if(e==="period"){let e="AM";if(this.timePeriod==="12"){if(o===0){e="AM"}else if(o===12){e="PM"}else if(o>12){e="PM"}else{e="AM"}}a=m.findIndex((t=>t===e))}if(a>-1){const e=c.querySelector(".ic-time-selector-scroll-row");let t=0;if(e){t=parseFloat(getComputedStyle(e).height)}const i=t*2;const s=l[a].offsetTop-i;const r=window.matchMedia("(prefers-reduced-motion: reduce)").matches;c.scrollTo({top:s,behavior:r?"instant":"smooth"})}}announceSelectedColumn(e){const t=this.getSelectedValue(e);if(t!==null&&t!==undefined&&(e!==this.lastAnnouncedType||t!==this.lastAnnouncedValue)){this.ariaLiveMessage=`Selected ${e}: ${t}`}else{this.ariaLiveMessage=""}this.lastAnnouncedType=e;this.lastAnnouncedValue=t}getColumnValues(e){if(e==="hour")return this.timePeriod==="12"?Array.from({length:12},((e,t)=>t+1)):Array.from({length:24},((e,t)=>t));if(e==="minute")return this.minutes;if(e==="period")return this.periods;return[]}getSelectedValue(e){var t,i,s;if(e==="hour")return(t=this.selectedHour)!==null&&t!==void 0?t:null;if(e==="minute")return(i=this.selectedMinute)!==null&&i!==void 0?i:null;if(e==="period")return(s=this.selectedPeriod)!==null&&s!==void 0?s:null;return null}getHighlightedValue(e,t){var i,s,c;const r=Array.from(t.querySelectorAll(u));const l=r.filter((e=>!e.classList.contains("ic-time-selector-scroll-row")));if(l.length===0)return null;const o=(i=this.el.shadowRoot)===null||i===void 0?void 0:i.querySelector(".ic-time-selector-highlight-top");const n=(s=this.el.shadowRoot)===null||s===void 0?void 0:s.querySelector(".ic-time-selector-highlight-bottom");if(!o||!n)return null;const a=o.getBoundingClientRect();const d=n.getBoundingClientRect();const h=a.bottom;const m=d.top;for(const t of l){const i=t.getBoundingClientRect();const s=i.top+i.height/2;if(s>=h&&s<=m){const i=t.getAttribute("key");if(i){const t=i.replace(`${e}-val-`,"");if(e==="hour"||e==="minute"){return Number(t)}else{return t}}const s=(c=t.textContent)===null||c===void 0?void 0:c.trim();if(e==="hour"||e==="minute"){return s?Number(s):null}else{return s}}}return null}updateAriaLiveMessage(){const e=this.selectedHour!=null?this.selectedHour.toString().padStart(2,"0"):null;const t=this.selectedMinute!=null?this.selectedMinute.toString().padStart(2,"0"):null;let i="";let s=false;s=e!==null&&t!==null;if(s){i=e+":"+t+(this.selectedPeriod?" "+this.selectedPeriod:"")}this.ariaLiveMessage=s&&i?`Selected time: ${i}`:""}render(){var e,t,c;const r=this.timePeriod==="12"?Array.from({length:12},((e,t)=>t+1)):Array.from({length:24},((e,t)=>t));const n=[this.renderColumn("hour",r,(e=this.selectedHour)!==null&&e!==void 0?e:null),this.renderColumn("minute",this.minutes,(t=this.selectedMinute)!==null&&t!==void 0?t:null)];let a=[];a=[this.selectedHour!==undefined&&this.selectedMinute!==undefined];const d=this.el.closest("ic-time-picker")!==null;const{size:u,theme:m,timePeriod:p}=this;return i(s,{key:"af65b8999b8c677a6ef2e33fe167fb5b333f0571",class:{[`ic-theme-${m}`]:m!=="inherit",[`ic-time-selector-${u}`]:true}},i("div",{key:"c345308cda9bc9b1a6e20ad7b1969c8e1b173efa",role:d?"dialog":undefined,"aria-modal":d?true:undefined,"aria-label":"Select time. Use arrow keys to navigate and select the options and then tab to move onto the next selection.",class:{"ic-time-selector-dialog-container":true}},i("div",{key:"85f4f862ec0a9263e491e45dc4cacac69854d5d6",class:"ic-time-selector-highlight-lines"},i("div",{key:"d5175185db4049b2660ec4b81971ac13b9b307cb",class:"ic-time-selector-header-border"}),i("div",{key:"b1be244ff1cdd68b33dad814f501c4e5c8486318",class:{"ic-time-selector-highlight":true,"ic-time-selector-highlight-top":true}}),i("div",{key:"ec20a6536aa67a4dbc96f29ef42d424a0342ebe8",class:"ic-time-selector-columns"},n.map(((e,t)=>[e,t<n.length-1?i("ic-typography",{class:{"ic-time-selector-colon":true,"ic-time-selector-colon-selected":a[t]},variant:"subtitle-small","aria-hidden":"true",key:`colon-${t}`},":"):null])),p!=="24"&&this.renderColumn("period",this.periods,(c=this.selectedPeriod)!==null&&c!==void 0?c:null)),i("div",{key:"72b1abb5e7f19bf853b208dca7365c57b397d9f6",class:{"ic-time-selector-highlight":true,"ic-time-selector-highlight-bottom":true}})),i("div",{key:"2b8125333fd8e8d119d3496cb690a9c3d3711cb7",class:"ic-time-selector-actions"},i("ic-button",{key:"5cd3db3be7006940e8e8ed8c2e823c384e6a677c",variant:"icon-tertiary","aria-label":"Clear time",class:{"ic-time-selector-clear-btn":true},onClick:this.handleClear,disabled:this.selectedHour===undefined&&this.selectedMinute===undefined&&this.selectedPeriod===undefined,size:u,tabIndex:0,onKeyDown:e=>{var t;if(e.key==="Tab"&&e.shiftKey){e.preventDefault();const i=(t=this.el.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll(h);if(i&&i.length>0){const e=i[i.length-1];e===null||e===void 0?void 0:e.focus()}}}},i("span",{key:"4c6383f537d199e7d282d0dc5f4d8eac30c86e47","aria-hidden":"true",innerHTML:o})),i("ic-button",{key:"021b111b463ddb83d4449fb2c77cf27c972c04b7",variant:"icon-tertiary","aria-label":"Select time",class:"ic-time-selector-check-btn",onClick:this.handleConfirmClick,disabled:this.selectedHour===undefined&&this.selectedMinute===undefined&&this.selectedPeriod===undefined,size:u,tabIndex:0},i("span",{key:"95ba008a5b36459cba5d972dee1356f8c0194297","aria-hidden":"true",innerHTML:l})))),i("div",{key:"266f4b6084ff8530d3832eee59546af9419eb7a3",class:"sr-only","aria-live":"polite"},this.ariaLiveMessage))}get el(){return c(this)}static get watchers(){return{min:["watchMinHandler"],max:["watchMaxHandler"],value:["watchValueHandler"]}}};m.style=a;export{m as ic_time_selector};
2
- //# sourceMappingURL=p-eac60693.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["icTimeSelectorCss","IcTimeSelectorStyle0","COLUMN_TYPES","COLUMN_CLASS","ITEM_CLASS","TimeSelector","constructor","hostRef","this","minutes","Array","from","length","_","i","periods","minTime","maxTime","ariaLiveMessage","disableTimes","min","max","size","theme","timePeriod","value","setTimeParts","hour","minute","period","selectedHour","selectedPeriod","selectedMinute","checkIfScrollIsFinished","column","scrollTop","isScrollFinished","setInterval","focus","clearInterval","handleSelect","type","prevValue","getSelectedValue","Number","columns","_a","el","shadowRoot","querySelectorAll","idx","indexOf","window","requestAnimationFrame","scrollSelectedItem","undefined","announceSelectedColumn","lastAnnouncedType","lastAnnouncedValue","isTimeDisabled","t","startParts","parseTimeHelper","start","parts","endParts","end","timeVal","startVal","endVal","date","minHour","getHours","minMinute","getMinutes","highlightedMinute","maxHour","maxMinute","_b","handleColumnKeyDown","event","values","getColumnValues","selected","col","selectHighlighted","highlighted","getHighlightedValue","key","preventDefault","_c","shiftKey","_d","_e","_g","_f","querySelector","updateAriaLiveMessage","idxInValues","findIndex","v","newIdx","direction","maxIdx","renderColumn","isTimeColumn","isPeriodColumn","headerLabel","getHeaderLabel","topSpacerCount","bottomSpacerCount","h","class","variant","tabIndex","onKeyDown","e","role","renderScrollRows","map","val","disabled","onClick","toString","padStart","handleClear","icChange","emit","timeString","timeObject","handleConfirmClick","hourStr","minuteStr","allSelected","date24hours","Date","setHours","setMinutes","Object","assign","watchMinHandler","watchMaxHandler","watchValueHandler","setTime","setTimeout","componentWillLoad","componentDidLoad","scrollMinTime","time","zuluMatch","match","split","count","keyPrefix","isLast","endsWith","colClass","clear","colIdx","items","selectedIdx","forEach","item","classList","contains","scrollRow","resolvedHeight","parseFloat","getComputedStyle","height","offset","offsetTop","prefersReducedMotion","matchMedia","matches","scrollTo","top","behavior","minDate","targetIdx","realItems","filter","highlightTop","highlightBottom","topRect","getBoundingClientRect","bottomRect","highlightStart","bottom","highlightEnd","itemRect","itemCenter","getAttribute","valStr","replace","text","textContent","trim","render","hours","colonSelectedStates","isInPicker","closest","Host","lastCol","innerHTML","Clear","Check"],"sources":["src/components/ic-time-selector/ic-time-selector.css?tag=ic-time-selector&encapsulation=shadow","src/components/ic-time-selector/ic-time-selector.tsx"],"sourcesContent":[":host(.ic-time-selector-small) {\n --time-selector-padded-item-height: var(--ic-space-lg);\n}\n\n:host(.ic-time-selector-medium) {\n --time-selector-padded-item-height: calc(\n var(--ic-space-lg) + var(--ic-space-xxs)\n );\n}\n\n:host(.ic-time-selector-large) {\n --time-selector-padded-item-height: var(--ic-space-xl);\n}\n\n.ic-time-selector-dialog-container {\n background-color: var(--ic-time-picker-time-selector-bg);\n border: var(--ic-space-1px) solid var(--ic-time-picker-time-selector-border);\n border-radius: var(--ic-space-xxs);\n padding: var(--ic-space-xs);\n max-width: calc(\n 3 * var(--ic-space-xxl) + var(--ic-space-xl) + var(--ic-space-xxs)\n );\n width: fit-content;\n}\n\n:host(.ic-time-selector-small) .ic-time-selector-dialog-container {\n padding: var(--ic-space-xxs);\n max-width: calc(\n 3 * var(--ic-space-xxl) + var(--ic-space-lg) + var(--ic-space-xxs)\n );\n}\n\n:host(.ic-time-selector-large) .ic-time-selector-dialog-container {\n padding: var(--ic-space-md);\n max-width: calc(\n 3 * var(--ic-space-xxl) + var(--ic-space-xl) + var(--ic-space-xs) +\n var(--ic-space-xxs)\n );\n}\n\n.ic-time-selector-item {\n height: var(--ic-space-lg);\n padding: var(--ic-space-xxxs);\n text-align: center;\n cursor: pointer;\n scroll-snap-align: start;\n transition: background 0.2s, color 0.2s;\n}\n\n:host(.ic-time-selector-small) .ic-time-selector-item {\n padding: 0;\n}\n\n:host(.ic-time-selector-large) .ic-time-selector-item {\n padding: var(--ic-space-xxs);\n}\n\n.ic-time-selector-item:hover:not(.disabled):not(.selected) {\n background-color: var(--ic-time-picker-time-bg-hover);\n}\n\n.ic-time-selector-item:active:not(.disabled):not(.selected) {\n background-color: var(--ic-time-picker-time-bg-pressed);\n}\n\n.ic-time-selector-item.selected {\n background-color: var(--ic-time-picker-time-bg-selected);\n\n --ic-typography-color: var(--ic-time-picker-time-text-selected);\n\n position: relative;\n}\n\n.ic-time-selector-item.selected:hover {\n background-color: var(--ic-time-picker-time-active-bg-hover);\n}\n\n.ic-time-selector-item.selected:active {\n background-color: var(--ic-time-picker-time-active-bg-pressed);\n}\n\n.ic-time-selector-colon-selected {\n background-color: var(--ic-time-picker-colon-bg-selected);\n color: var(--ic-time-picker-colon-selected) !important;\n}\n\n.ic-time-selector-item.selected::before,\n.ic-time-selector-item.selected::after,\n.ic-time-selector-colon-selected::before,\n.ic-time-selector-colon-selected::after {\n content: \"\";\n position: absolute;\n left: 0;\n right: 0;\n height: var(--ic-space-1px);\n background: var(--ic-time-picker-time-selector-bg);\n}\n\n.ic-time-selector-item.selected::before,\n.ic-time-selector-colon-selected::before {\n top: 0;\n}\n\n.ic-time-selector-item.selected::after,\n.ic-time-selector-colon-selected::after {\n bottom: 0;\n}\n\n.ic-time-selector-item.disabled {\n --ic-typography-color: var(--ic-time-picker-time-text-disabled);\n\n cursor: not-allowed;\n}\n\n.ic-time-selector-column-wrapper {\n display: flex;\n flex-direction: column;\n}\n\n.ic-time-selector-scroll-row {\n height: var(--time-selector-padded-item-height) !important;\n background: transparent !important;\n pointer-events: none;\n user-select: none;\n cursor: default !important;\n box-sizing: border-box;\n}\n\n:host(.ic-time-selector-small) .ic-time-selector-scroll-row-last {\n height: calc(var(--ic-space-1px) + var(--ic-space-xxxs)) !important;\n}\n\n:host(.ic-time-selector-medium) .ic-time-selector-scroll-row-last,\n:host(.ic-time-selector-large) .ic-time-selector-scroll-row-last {\n height: calc(\n var(--ic-space-1px) + var(--ic-space-xxxs) + var(--ic-space-md)\n ) !important;\n}\n\n.ic-time-selector-scroll-row:hover,\n.ic-time-selector-scroll-row:active {\n background: transparent !important;\n}\n\n.ic-time-selector-header-row {\n color: var(--ic-time-picker-hh-label);\n\n --ic-typography-color: var(--ic-time-picker-hh-label) !important;\n\n background: transparent !important;\n text-align: center;\n height: var(--time-selector-padded-item-height);\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.ic-time-selector-header-border {\n position: absolute;\n left: 0;\n right: 0;\n top: var(--time-selector-padded-item-height);\n height: var(--ic-space-1px);\n background: var(--ic-time-picker-header-border);\n pointer-events: none;\n}\n\n.ic-time-selector-colon {\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--ic-time-picker-colon-default);\n height: var(--time-selector-padded-item-height);\n margin-top: calc(3 * var(--time-selector-padded-item-height));\n}\n\n.ic-time-selector-columns {\n display: flex;\n flex-direction: row;\n border-bottom: var(--ic-space-1px) solid var(--ic-time-picker-lower-border);\n margin: 0 var(--ic-space-xxs);\n position: relative;\n z-index: 1;\n}\n\n.ic-time-selector-highlight-lines {\n position: relative;\n width: 100%;\n}\n\n.ic-time-selector-highlight {\n position: absolute;\n left: 0;\n right: 0;\n width: 100%;\n height: var(--ic-space-1px);\n background: var(--ic-time-picker-selection-border);\n pointer-events: none;\n z-index: 1;\n}\n\n.ic-time-selector-highlight-top {\n top: calc(3 * var(--time-selector-padded-item-height) - var(--ic-space-1px));\n}\n\n.ic-time-selector-highlight-bottom {\n top: calc(4 * var(--time-selector-padded-item-height));\n}\n\n.ic-time-selector-column {\n height: calc((5 * var(--ic-space-xxl)) + (3 * var(--ic-space-1px)));\n overflow-y: auto;\n width: calc(var(--ic-space-xl) + var(--ic-space-xs));\n position: relative;\n scroll-snap-type: y mandatory;\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n\n:host(.ic-time-selector-small) .ic-time-selector-column {\n width: calc(var(--ic-space-xl) + var(--ic-space-xxs) + var(--ic-space-xxxs));\n}\n\n:host(.ic-time-selector-large) .ic-time-selector-column {\n width: calc(var(--ic-space-xl) + var(--ic-space-xs) + var(--ic-space-xxxs));\n}\n\n.ic-time-selector-column-period {\n margin-left: var(--ic-space-xxs);\n}\n\n.ic-time-selector-column::-webkit-scrollbar {\n display: none;\n}\n\n.ic-time-selector-column:focus-visible,\n.ic-time-selector-item:focus-visible {\n outline: none;\n background-color: transparent;\n}\n\n.ic-time-selector-column:focus {\n box-shadow: var(--ic-border-focus);\n border-radius: var(--ic-border-radius);\n transition: var(--ic-easing-transition-fast);\n z-index: 3;\n}\n\n.ic-time-selector-list {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.ic-time-selector-actions {\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n align-items: center;\n width: 100%;\n margin-top: var(--ic-space-xs);\n margin-left: auto;\n}\n\n.ic-time-selector-check-btn {\n margin-left: calc(var(--ic-space-xs) + var(--ic-space-xxxs));\n}\n\n.sr-only {\n position: absolute;\n left: -9999px;\n}\n\n@media (forced-colors: active) {\n .ic-time-selector-item.selected {\n background-color: highlight !important;\n }\n\n .ic-time-selector-item.disabled {\n --ic-typography-color: GrayText !important;\n }\n\n .ic-time-selector-column:focus {\n border: var(--ic-border-hc);\n }\n\n .ic-time-selector-highlight {\n background: Highlight !important;\n }\n}\n","import {\n Component,\n h,\n Element,\n State,\n Prop,\n Event,\n EventEmitter,\n Host,\n Watch,\n} from \"@stencil/core\";\nimport {\n IcDisableTimeSelection,\n IcSizes,\n IcThemeMode,\n} from \"../../utils/types\";\nimport { parseTimeHelper } from \"../../utils/helpers\";\nimport Check from \"../../assets/check-icon.svg\";\nimport Clear from \"../../assets/close-icon.svg\";\nimport { IcTimePeriods } from \"./ic-time-selector.types\";\n\nconst COLUMN_TYPES = [\"hour\", \"minute\", \"period\"] as const;\nconst COLUMN_CLASS = \".ic-time-selector-column\";\nconst ITEM_CLASS = \".ic-time-selector-item\";\ntype ColumnType = typeof COLUMN_TYPES[number];\n\n@Component({\n tag: \"ic-time-selector\",\n styleUrl: \"ic-time-selector.css\",\n shadow: true,\n})\nexport class TimeSelector {\n private minutes: number[] = Array.from({ length: 60 }, (_, i) => i);\n private periods: IcTimePeriods[] = [\"AM\", \"PM\"];\n private minTime: Date | null = null;\n private maxTime: Date | null = null;\n private lastAnnouncedType?: ColumnType;\n private lastAnnouncedValue?: number | IcTimePeriods | null;\n\n @Element() el: HTMLIcTimeSelectorElement;\n\n @State() selectedHour?: number;\n @State() selectedMinute?: number;\n @State() selectedPeriod?: IcTimePeriods;\n @State() ariaLiveMessage: string = \"\";\n\n /**\n * An array of objects with start and end values that will be disabled in the time selector. The times can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.\n */\n @Prop() disableTimes: IcDisableTimeSelection[] = [];\n\n /**\n * The earliest time that will be allowed. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.\n */\n @Prop() min: string | Date = \"\";\n @Watch(\"min\")\n watchMinHandler(): void {\n this.minTime = parseTimeHelper(this.min).date;\n }\n\n /**\n * The latest time that will be allowed. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.\n */\n @Prop() max: string | Date = \"\";\n @Watch(\"max\")\n watchMaxHandler(): void {\n this.maxTime = parseTimeHelper(this.max).date;\n }\n\n /**\n * The size of the time selector to be displayed.\n */\n @Prop() size: IcSizes = \"medium\";\n\n /**\n * Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component.\n */\n @Prop() theme?: IcThemeMode = \"inherit\";\n\n /**\n * The time period format: \"12\" for 12-hour, \"24\" for 24-hour. Defaults to \"24\".\n */\n @Prop() timePeriod: \"12\" | \"24\" = \"24\";\n\n /**\n * The value of the time selector. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.\n */\n @Prop({ mutable: true }) value?: string | Date | null | undefined = \"\";\n @Watch(\"value\")\n watchValueHandler(): void {\n this.setTime(this.value);\n setTimeout(() => {\n this.scrollSelectedItem(\"hour\");\n this.scrollSelectedItem(\"minute\");\n if (this.timePeriod === \"12\") {\n this.scrollSelectedItem(\"period\");\n }\n }, 0);\n }\n\n /**\n * Emitted when the value has changed.\n */\n @Event() icChange: EventEmitter<{\n value: Date | null;\n timeString: string | null;\n timeObject: {\n hour: string | null;\n minute: string | null;\n period?: IcTimePeriods;\n };\n }>;\n\n componentWillLoad() {\n this.setTime(this.value);\n }\n\n componentDidLoad() {\n setTimeout(() => {\n if (this.selectedHour !== undefined && this.selectedHour !== null) {\n this.scrollSelectedItem(\"hour\");\n } else if (this.min) {\n this.scrollMinTime(\"hour\");\n }\n if (this.selectedMinute !== undefined && this.selectedMinute !== null) {\n this.scrollSelectedItem(\"minute\");\n } else if (this.min) {\n this.scrollMinTime(\"minute\");\n }\n if (this.timePeriod === \"12\") {\n if (this.selectedPeriod !== undefined && this.selectedPeriod !== null) {\n this.scrollSelectedItem(\"period\");\n } else if (this.min) {\n this.scrollMinTime(\"period\");\n }\n }\n this.updateAriaLiveMessage();\n }, 0);\n }\n\n private getHeaderLabel(type: ColumnType): string {\n switch (type) {\n case \"hour\":\n return \"HH\";\n case \"minute\":\n return \"MM\";\n default:\n return \"\";\n }\n }\n\n private setTimeParts = (hour: number, minute: number) => {\n let period: IcTimePeriods = \"AM\";\n if (this.timePeriod === \"12\") {\n if (hour === 0) {\n hour = 12;\n period = \"AM\";\n } else if (hour === 12) {\n period = \"PM\";\n } else if (hour > 12) {\n hour = hour - 12;\n period = \"PM\";\n } else {\n period = \"AM\";\n }\n this.selectedHour = hour;\n this.selectedPeriod = period;\n } else {\n this.selectedHour = hour;\n }\n this.selectedMinute = minute;\n };\n\n private setTime(time?: string | Date | null) {\n if (time === null || time === undefined || time === \"\") {\n this.handleClear();\n return;\n }\n\n if (typeof time === \"string\") {\n const zuluMatch = time.match(\n /^([0-9]{2}):([0-9]{2}):([0-9]{2})(?:\\.[0-9]{1,3})?Z?$/\n );\n if (zuluMatch) {\n this.setTimeParts(Number(zuluMatch[1]), Number(zuluMatch[2]));\n } else {\n const parts = time.split(\":\");\n this.setTimeParts(Number(parts[0]) || 0, Number(parts[1]) || 0);\n }\n } else {\n const { parts } = parseTimeHelper(time);\n if (parts) {\n this.setTimeParts(parts.hour, parts.minute);\n }\n }\n }\n\n private renderScrollRows(count: number, keyPrefix = \"scroll-row\") {\n return Array.from({ length: count }).map((_, i) => {\n const isLast = keyPrefix.endsWith(\"bottom-spacer\")\n ? i === count - 1\n : false;\n return (\n <li\n class={{\n \"ic-time-selector-item\": true,\n \"ic-time-selector-scroll-row\": true,\n ...(isLast ? { \"ic-time-selector-scroll-row-last\": true } : {}),\n }}\n aria-hidden=\"true\"\n tabIndex={-1}\n key={`${keyPrefix}-${i}`}\n />\n );\n });\n }\n\n private scrollSelectedItem(colClass: ColumnType, clear?: boolean) {\n const columns = this.el.shadowRoot?.querySelectorAll(COLUMN_CLASS);\n let colIdx = COLUMN_TYPES.indexOf(colClass);\n if (colClass === \"period\" && columns?.length) {\n colIdx = columns.length - 1;\n }\n const col = columns?.[colIdx];\n if (col) {\n const items = col.querySelectorAll(ITEM_CLASS);\n let selectedIdx = -1;\n items.forEach((item, idx) => {\n if (item.classList.contains(\"selected\")) selectedIdx = idx;\n });\n if (clear) {\n selectedIdx = 0;\n }\n if (selectedIdx > -1) {\n const scrollRow = col.querySelector(\n \".ic-time-selector-scroll-row\"\n ) as HTMLElement;\n let resolvedHeight = 0;\n if (scrollRow) {\n resolvedHeight = parseFloat(getComputedStyle(scrollRow).height);\n }\n const offset = resolvedHeight * 2;\n const scrollTop =\n (items[selectedIdx] as HTMLElement).offsetTop - offset;\n const prefersReducedMotion = window.matchMedia(\n \"(prefers-reduced-motion: reduce)\"\n ).matches;\n col.scrollTo({\n top: scrollTop,\n behavior: prefersReducedMotion ? \"instant\" : \"smooth\",\n });\n if (clear) {\n setTimeout(() => {\n const columns = this.el.shadowRoot?.querySelectorAll(COLUMN_CLASS);\n if (columns && columns.length > 0) {\n this.checkIfScrollIsFinished(columns[0], scrollTop);\n }\n }, 300);\n }\n }\n }\n }\n\n private checkIfScrollIsFinished = (\n column: { scrollTop: number },\n scrollTop: number\n ) => {\n const isScrollFinished = setInterval(() => {\n if (column.scrollTop === scrollTop + 56) {\n (column as HTMLElement)?.focus();\n clearInterval(isScrollFinished);\n }\n }, 25);\n };\n\n private scrollMinTime(colClass: ColumnType) {\n const columns = this.el.shadowRoot?.querySelectorAll(COLUMN_CLASS);\n const colIdx = COLUMN_TYPES.indexOf(colClass);\n const col = columns?.[colIdx];\n if (!col) return;\n const items = col.querySelectorAll(ITEM_CLASS);\n let minHour = 0,\n minMinute = 0;\n if (this.minTime) {\n minHour = this.minTime.getHours() + 2;\n minMinute = this.minTime.getMinutes() + 2;\n } else if (this.min) {\n const minDate = parseTimeHelper(this.min).date;\n if (minDate) {\n minHour = minDate.getHours();\n minMinute = minDate.getMinutes();\n }\n }\n let targetIdx = -1;\n const values = this.getColumnValues(colClass);\n if (colClass === \"hour\") {\n targetIdx = values.findIndex((v) => v === minHour);\n } else if (colClass === \"minute\") {\n targetIdx = values.findIndex((v) => v === minMinute);\n } else if (colClass === \"period\") {\n let period: IcTimePeriods = \"AM\";\n if (this.timePeriod === \"12\") {\n if (minHour === 0) {\n period = \"AM\";\n } else if (minHour === 12) {\n period = \"PM\";\n } else if (minHour > 12) {\n period = \"PM\";\n } else {\n period = \"AM\";\n }\n }\n targetIdx = values.findIndex((v) => v === period);\n }\n if (targetIdx > -1) {\n const scrollRow = col.querySelector(\n \".ic-time-selector-scroll-row\"\n ) as HTMLElement;\n let resolvedHeight = 0;\n if (scrollRow) {\n resolvedHeight = parseFloat(getComputedStyle(scrollRow).height);\n }\n const offset = resolvedHeight * 2;\n const scrollTop = (items[targetIdx] as HTMLElement).offsetTop - offset;\n const prefersReducedMotion = window.matchMedia(\n \"(prefers-reduced-motion: reduce)\"\n ).matches;\n col.scrollTo({\n top: scrollTop,\n behavior: prefersReducedMotion ? \"instant\" : \"smooth\",\n });\n }\n }\n\n private handleSelect = (type: ColumnType, value: number | IcTimePeriods) => {\n const prevValue = this.getSelectedValue(type);\n switch (type) {\n case \"hour\":\n this.selectedHour = Number(value);\n break;\n case \"minute\":\n this.selectedMinute = Number(value);\n break;\n case \"period\":\n this.selectedPeriod = value as IcTimePeriods;\n break;\n }\n const columns = this.el.shadowRoot?.querySelectorAll(COLUMN_CLASS);\n const idx = COLUMN_TYPES.indexOf(type);\n if (columns && columns[idx]) {\n (columns[idx] as HTMLElement).focus();\n window.requestAnimationFrame(() => {\n this.scrollSelectedItem(type);\n });\n }\n if (prevValue === undefined || prevValue === null) {\n this.announceSelectedColumn(type);\n } else {\n this.lastAnnouncedType = type;\n this.lastAnnouncedValue = this.getSelectedValue(type);\n }\n };\n\n private isTimeDisabled = (\n hour: number,\n minute: number,\n type?: ColumnType\n ): boolean => {\n for (const t of this.disableTimes) {\n if (t && typeof t === \"object\" && \"start\" in t && \"end\" in t) {\n const startParts = parseTimeHelper(t.start).parts;\n const endParts = parseTimeHelper(t.end).parts;\n if (startParts && endParts) {\n const timeVal = hour * 3600 + minute * 60;\n const startVal = startParts.hour * 3600 + startParts.minute * 60;\n const endVal = endParts.hour * 3600 + endParts.minute * 60;\n if (timeVal >= startVal && timeVal <= endVal) {\n return true;\n }\n }\n }\n }\n if (this.min) {\n this.minTime = parseTimeHelper(this.min).date;\n if (this.minTime) {\n const minHour = this.minTime.getHours();\n const minMinute = this.minTime.getMinutes();\n if (type === \"hour\") {\n const highlightedMinute = this.selectedMinute ?? minMinute;\n if (\n hour < minHour ||\n (hour === minHour && highlightedMinute < minMinute) ||\n (hour === minHour && highlightedMinute === minMinute)\n ) {\n return true;\n }\n } else if (type === \"minute\") {\n if (hour === minHour && minute < minMinute) {\n return true;\n }\n } else {\n if (\n hour < minHour ||\n (hour === minHour && minute < minMinute) ||\n (hour === minHour && minute === minMinute)\n ) {\n return true;\n }\n }\n }\n }\n if (this.max) {\n this.maxTime = parseTimeHelper(this.max).date;\n if (this.maxTime) {\n const maxHour = this.maxTime.getHours();\n const maxMinute = this.maxTime.getMinutes();\n if (type === \"hour\") {\n const selectedMinute = this.selectedMinute ?? 59;\n if (\n hour > maxHour ||\n (hour === maxHour && selectedMinute > maxMinute) ||\n (hour === maxHour && selectedMinute === maxMinute)\n ) {\n return true;\n }\n } else if (type === \"minute\") {\n if (hour === maxHour && minute > maxMinute) {\n return true;\n }\n } else {\n if (\n hour > maxHour ||\n (hour === maxHour && minute > maxMinute) ||\n (hour === maxHour && minute === maxMinute)\n ) {\n return true;\n }\n }\n }\n }\n return false;\n };\n\n private announceSelectedColumn(type: ColumnType) {\n const value = this.getSelectedValue(type);\n if (\n value !== null &&\n value !== undefined &&\n (type !== this.lastAnnouncedType || value !== this.lastAnnouncedValue)\n ) {\n this.ariaLiveMessage = `Selected ${type}: ${value}`;\n } else {\n this.ariaLiveMessage = \"\";\n }\n this.lastAnnouncedType = type;\n this.lastAnnouncedValue = value;\n }\n\n private getColumnValues(type: ColumnType): number[] | IcTimePeriods[] {\n if (type === \"hour\")\n return this.timePeriod === \"12\"\n ? Array.from({ length: 12 }, (_, i) => i + 1)\n : Array.from({ length: 24 }, (_, i) => i);\n if (type === \"minute\") return this.minutes;\n if (type === \"period\") return this.periods;\n return [];\n }\n\n private getSelectedValue(type: ColumnType): number | IcTimePeriods | null {\n if (type === \"hour\") return this.selectedHour ?? null;\n if (type === \"minute\") return this.selectedMinute ?? null;\n if (type === \"period\") return this.selectedPeriod ?? null;\n return null;\n }\n\n private getHighlightedValue(\n type: ColumnType,\n col: HTMLElement\n ): number | IcTimePeriods | null {\n const items = Array.from(col.querySelectorAll(ITEM_CLASS));\n const realItems = items.filter(\n (item) => !item.classList.contains(\"ic-time-selector-scroll-row\")\n );\n if (realItems.length === 0) return null;\n const highlightTop = this.el.shadowRoot?.querySelector(\n \".ic-time-selector-highlight-top\"\n ) as HTMLElement;\n const highlightBottom = this.el.shadowRoot?.querySelector(\n \".ic-time-selector-highlight-bottom\"\n ) as HTMLElement;\n if (!highlightTop || !highlightBottom) return null;\n const topRect = highlightTop.getBoundingClientRect();\n const bottomRect = highlightBottom.getBoundingClientRect();\n const highlightStart = topRect.bottom;\n const highlightEnd = bottomRect.top;\n for (const item of realItems) {\n const itemRect = item.getBoundingClientRect();\n const itemCenter = itemRect.top + itemRect.height / 2;\n if (itemCenter >= highlightStart && itemCenter <= highlightEnd) {\n const key = item.getAttribute(\"key\");\n if (key) {\n const valStr = key.replace(`${type}-val-`, \"\");\n if (type === \"hour\" || type === \"minute\") {\n return Number(valStr);\n } else {\n return valStr as IcTimePeriods;\n }\n }\n const text = item.textContent?.trim();\n if (type === \"hour\" || type === \"minute\") {\n return text ? Number(text) : null;\n } else {\n return text as IcTimePeriods;\n }\n }\n }\n return null;\n }\n\n private handleColumnKeyDown = (type: ColumnType, event: KeyboardEvent) => {\n const columns = this.el.shadowRoot?.querySelectorAll(COLUMN_CLASS);\n const idx = COLUMN_TYPES.indexOf(type);\n if (!columns) return;\n\n const values = this.getColumnValues(type);\n const selected = this.getSelectedValue(type);\n const col = columns[idx] as HTMLElement;\n if (!col) return;\n\n const selectHighlighted = () => {\n const highlighted = this.getHighlightedValue(type, col);\n if (highlighted !== null) {\n this.handleSelect(type, highlighted);\n } else if (values.length > 0) {\n this.handleSelect(type, values[0]);\n }\n };\n\n switch (event.key) {\n case \"Enter\":\n case \" \":\n event.preventDefault();\n selectHighlighted();\n return;\n case \"ArrowRight\":\n event.preventDefault();\n selectHighlighted();\n if (idx < columns.length - 1) {\n (columns[idx + 1] as HTMLElement)?.focus();\n }\n return;\n case \"ArrowLeft\":\n event.preventDefault();\n if (idx > 0) (columns[idx - 1] as HTMLElement)?.focus();\n return;\n case \"Tab\":\n if (event.shiftKey) {\n if (idx === 0) {\n return;\n } else {\n event.preventDefault();\n (columns[idx - 1] as HTMLElement)?.focus();\n }\n } else {\n event.preventDefault();\n selectHighlighted();\n this.announceSelectedColumn(type);\n if (idx < columns.length - 1) {\n (columns[idx + 1] as HTMLElement)?.focus();\n } else {\n (\n this.el.shadowRoot?.querySelector(\n \".ic-time-selector-clear-btn\"\n ) as HTMLElement\n )?.focus();\n this.updateAriaLiveMessage();\n }\n }\n return;\n case \"ArrowUp\":\n case \"ArrowDown\": {\n let idxInValues = values.findIndex((v) => v === selected);\n if (idxInValues === -1) idxInValues = 0;\n let newIdx = idxInValues;\n const direction = event.key === \"ArrowUp\" ? -1 : 1;\n const maxIdx = values.length - 1;\n do {\n newIdx += direction;\n } while (\n newIdx >= 0 &&\n newIdx <= maxIdx &&\n (() => {\n if (type === \"hour\" || type === \"minute\") {\n const hour =\n type === \"hour\"\n ? (values[newIdx] as number)\n : this.selectedHour ?? 0;\n const minute =\n type === \"minute\"\n ? (values[newIdx] as number)\n : this.selectedMinute ?? 0;\n return this.isTimeDisabled(hour, minute);\n }\n return false;\n })()\n );\n this.ariaLiveMessage = `Selected ${type}: ${values[newIdx]}`;\n if (newIdx >= 0 && newIdx <= maxIdx && newIdx !== idxInValues) {\n this.handleSelect(type, values[newIdx]);\n }\n return;\n }\n default:\n return;\n }\n };\n\n private updateAriaLiveMessage() {\n const hourStr =\n this.selectedHour != null\n ? this.selectedHour.toString().padStart(2, \"0\")\n : null;\n const minuteStr =\n this.selectedMinute != null\n ? this.selectedMinute.toString().padStart(2, \"0\")\n : null;\n let timeString = \"\";\n let allSelected = false;\n allSelected = hourStr !== null && minuteStr !== null;\n if (allSelected) {\n timeString =\n hourStr +\n \":\" +\n minuteStr +\n (this.selectedPeriod ? \" \" + this.selectedPeriod : \"\");\n }\n this.ariaLiveMessage =\n allSelected && timeString ? `Selected time: ${timeString}` : \"\";\n }\n\n private renderColumn = (\n type: ColumnType,\n values: number[] | IcTimePeriods[],\n selected: number | IcTimePeriods | null\n ) => {\n const isTimeColumn = type === \"hour\" || type === \"minute\";\n const isPeriodColumn = type === \"period\";\n const headerLabel = this.getHeaderLabel(type);\n const topSpacerCount = 2;\n let bottomSpacerCount = 6;\n if (this.size === \"large\") {\n bottomSpacerCount = 5;\n } else if (this.size === \"small\") {\n bottomSpacerCount = 8;\n }\n return (\n <div class=\"ic-time-selector-column-wrapper\">\n {isPeriodColumn ? (\n <div class=\"ic-time-selector-header-row\" />\n ) : (\n headerLabel && (\n <div class=\"ic-time-selector-header-row\">\n <ic-typography variant=\"subtitle-small\">\n {headerLabel}\n </ic-typography>\n </div>\n )\n )}\n <div\n class={{\n \"ic-time-selector-column\": true,\n \"ic-time-selector-column-period\": isPeriodColumn,\n }}\n tabIndex={0}\n onKeyDown={(e) => this.handleColumnKeyDown(type, e as KeyboardEvent)}\n >\n <ul class=\"ic-time-selector-list\" role=\"listbox\" aria-label={type}>\n {this.renderScrollRows(topSpacerCount, `${type}-top-spacer`)}\n {values.map((val) => {\n let disabled = false;\n if (isTimeColumn) {\n const hour =\n type === \"hour\" ? (val as number) : this.selectedHour ?? 0;\n const minute =\n type === \"minute\"\n ? (val as number)\n : this.selectedMinute ?? 0;\n disabled = this.isTimeDisabled(hour, minute, type);\n }\n return (\n <li\n class={{\n \"ic-time-selector-item\": true,\n selected: val === selected,\n disabled,\n }}\n role=\"option\"\n aria-selected={val === selected ? \"true\" : \"false\"}\n aria-disabled={disabled ? \"true\" : \"false\"}\n onClick={() =>\n !disabled && this.handleSelect(type, val as any)\n }\n tabIndex={-1}\n key={`${type}-val-${val}`}\n >\n <ic-typography variant=\"subtitle-small\">\n {typeof val === \"number\"\n ? val.toString().padStart(2, \"0\")\n : val}\n </ic-typography>\n </li>\n );\n })}\n {(isTimeColumn || isPeriodColumn) &&\n this.renderScrollRows(bottomSpacerCount, `${type}-bottom-spacer`)}\n </ul>\n </div>\n </div>\n );\n };\n\n private handleClear = () => {\n this.selectedHour = undefined;\n this.scrollSelectedItem(\"hour\", true);\n this.selectedMinute = undefined;\n this.scrollSelectedItem(\"minute\", true);\n this.selectedPeriod = undefined;\n this.scrollSelectedItem(\"period\", true);\n this.lastAnnouncedType = undefined;\n this.lastAnnouncedValue = undefined;\n this.icChange.emit({\n value: null,\n timeString: null,\n timeObject: {\n hour: null,\n minute: null,\n period: undefined,\n },\n });\n };\n\n private handleConfirmClick = () => {\n const hour = this.selectedHour != null ? this.selectedHour : null;\n const minute = this.selectedMinute != null ? this.selectedMinute : null;\n const period = this.selectedPeriod;\n\n const hourStr = hour != null ? hour.toString().padStart(2, \"0\") : null;\n const minuteStr =\n minute != null ? minute.toString().padStart(2, \"0\") : null;\n\n let allSelected = false;\n allSelected = hour !== null && minute !== null;\n\n let value: Date | null = null;\n let timeString: string | null = null;\n if (allSelected) {\n let date24hours = hour;\n if (hour != null && period && this.timePeriod === \"12\") {\n if (period === \"PM\" && hour < 12) date24hours = hour + 12;\n if (period === \"AM\" && hour === 12) date24hours = 0;\n }\n value = new Date();\n value.setHours(date24hours ?? 0);\n value.setMinutes(minute ?? 0);\n timeString = hourStr + \":\" + minuteStr + (period ? \" \" + period : \"\");\n this.value = value;\n }\n\n this.icChange.emit({\n value: allSelected ? value : null,\n timeString: allSelected ? timeString : null,\n timeObject: {\n hour: hourStr,\n minute: minuteStr,\n ...(period ? { period } : {}),\n },\n });\n };\n\n render() {\n const hours =\n this.timePeriod === \"12\"\n ? Array.from({ length: 12 }, (_, i) => i + 1)\n : Array.from({ length: 24 }, (_, i) => i);\n const columns = [\n this.renderColumn(\"hour\", hours, this.selectedHour ?? null),\n this.renderColumn(\"minute\", this.minutes, this.selectedMinute ?? null),\n ];\n\n let colonSelectedStates: boolean[] = [];\n colonSelectedStates = [\n this.selectedHour !== undefined && this.selectedMinute !== undefined,\n ];\n\n const isInPicker = this.el.closest(\"ic-time-picker\") !== null;\n\n const { size, theme, timePeriod } = this;\n\n return (\n <Host\n class={{\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n [`ic-time-selector-${size}`]: true,\n }}\n >\n <div\n role={isInPicker ? \"dialog\" : undefined}\n aria-modal={isInPicker ? true : undefined}\n aria-label=\"Select time. Use arrow keys to navigate and select the options and then tab to move onto the next selection.\"\n class={{\n \"ic-time-selector-dialog-container\": true,\n }}\n >\n <div class=\"ic-time-selector-highlight-lines\">\n <div class=\"ic-time-selector-header-border\" />\n <div\n class={{\n \"ic-time-selector-highlight\": true,\n \"ic-time-selector-highlight-top\": true,\n }}\n />\n <div class=\"ic-time-selector-columns\">\n {columns.map((col, idx) => [\n col,\n idx < columns.length - 1 ? (\n <ic-typography\n class={{\n \"ic-time-selector-colon\": true,\n \"ic-time-selector-colon-selected\":\n colonSelectedStates[idx],\n }}\n variant=\"subtitle-small\"\n aria-hidden=\"true\"\n key={`colon-${idx}`}\n >\n :\n </ic-typography>\n ) : null,\n ])}\n {timePeriod !== \"24\" &&\n this.renderColumn(\n \"period\",\n this.periods,\n this.selectedPeriod ?? null\n )}\n </div>\n <div\n class={{\n \"ic-time-selector-highlight\": true,\n \"ic-time-selector-highlight-bottom\": true,\n }}\n />\n </div>\n <div class=\"ic-time-selector-actions\">\n <ic-button\n variant=\"icon-tertiary\"\n aria-label=\"Clear time\"\n class={{\n \"ic-time-selector-clear-btn\": true,\n }}\n onClick={this.handleClear}\n disabled={\n this.selectedHour === undefined &&\n this.selectedMinute === undefined &&\n this.selectedPeriod === undefined\n }\n size={size}\n tabIndex={0}\n onKeyDown={(e: KeyboardEvent) => {\n if (e.key === \"Tab\" && e.shiftKey) {\n e.preventDefault();\n const columns =\n this.el.shadowRoot?.querySelectorAll(COLUMN_CLASS);\n if (columns && columns.length > 0) {\n const lastCol = columns[columns.length - 1] as HTMLElement;\n lastCol?.focus();\n }\n }\n }}\n >\n <span aria-hidden=\"true\" innerHTML={Clear}></span>\n </ic-button>\n <ic-button\n variant=\"icon-tertiary\"\n aria-label=\"Select time\"\n class=\"ic-time-selector-check-btn\"\n onClick={this.handleConfirmClick}\n disabled={\n this.selectedHour === undefined &&\n this.selectedMinute === undefined &&\n this.selectedPeriod === undefined\n }\n size={size}\n tabIndex={0}\n >\n <span aria-hidden=\"true\" innerHTML={Check}></span>\n </ic-button>\n </div>\n </div>\n <div class=\"sr-only\" aria-live=\"polite\">\n {this.ariaLiveMessage}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"mnBAAA,MAAMA,EAAoB,ouMAC1B,MAAAC,EAAeD,ECoBf,MAAME,EAAe,CAAC,OAAQ,SAAU,UACxC,MAAMC,EAAe,2BACrB,MAAMC,EAAa,yB,MAQNC,EAAY,MALzB,WAAAC,CAAAC,G,6CAMUC,KAAAC,QAAoBC,MAAMC,KAAK,CAAEC,OAAQ,KAAM,CAACC,EAAGC,IAAMA,IACzDN,KAAAO,QAA2B,CAAC,KAAM,MAClCP,KAAAQ,QAAuB,KACvBR,KAAAS,QAAuB,KAStBT,KAAAU,gBAA0B,GAK3BV,KAAAW,aAAyC,GAKzCX,KAAAY,IAAqB,GASrBZ,KAAAa,IAAqB,GASrBb,KAAAc,KAAgB,SAKhBd,KAAAe,MAAsB,UAKtBf,KAAAgB,WAA0B,KAKThB,KAAAiB,MAA2C,GAgE5DjB,KAAAkB,aAAe,CAACC,EAAcC,KACpC,IAAIC,EAAwB,KAC5B,GAAIrB,KAAKgB,aAAe,KAAM,CAC5B,GAAIG,IAAS,EAAG,CACdA,EAAO,GACPE,EAAS,I,MACJ,GAAIF,IAAS,GAAI,CACtBE,EAAS,I,MACJ,GAAIF,EAAO,GAAI,CACpBA,EAAOA,EAAO,GACdE,EAAS,I,KACJ,CACLA,EAAS,I,CAEXrB,KAAKsB,aAAeH,EACpBnB,KAAKuB,eAAiBF,C,KACjB,CACLrB,KAAKsB,aAAeH,C,CAEtBnB,KAAKwB,eAAiBJ,CAAM,EA6FtBpB,KA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S,GACzCgM,IAAO,MAAPA,SAAO,SAAPA,EAAStK,O,KAKfyE,EAAA,QAAAvB,IAAA,yDAAkB,OAAOqH,UAAWC,KAEtC/F,EAAA,aAAAvB,IAAA,2CACEyB,QAAQ,gBAAe,aACZ,cACXD,MAAM,6BACNU,QAASlH,KAAK0H,mBACdT,SACEjH,KAAKsB,eAAiByB,WACtB/C,KAAKwB,iBAAmBuB,WACxB/C,KAAKuB,iBAAmBwB,UAE1BjC,KAAMA,EACN4F,SAAU,GAEVH,EAAA,QAAAvB,IAAA,yDAAkB,OAAOqH,UAAWE,OAI1ChG,EAAA,OAAAvB,IAAA,2CAAKwB,MAAM,UAAS,YAAW,UAC5BxG,KAAKU,iB","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as e,h as o,H as t,g as i}from"./p-8e4e97b4.js";import{D as r,g as n}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}:host(.footer-link-ungrouped-sparse){--footer-link-margin-left:0;--footer-link-margin-right:2.5rem;--footer-link-margin-bottom:0}:host(.footer-link-ungrouped-small){--footer-link-margin-left:0;--footer-link-margin-right:0;--footer-link-margin-bottom:var(--ic-space-md)}:host(.footer-link-grouped-sparse){--footer-link-margin-left:0;--footer-link-margin-right:0;--footer-link-margin-bottom:var(--ic-space-md)}:host(.footer-link-grouped-small){--footer-link-margin-left:var(--ic-space-md);--footer-link-margin-right:0;--footer-link-margin-bottom:var(--ic-space-md)}:host(.footer-link){margin-left:var(--footer-link-margin-left);margin-right:var(--footer-link-margin-right);margin-bottom:var(--footer-link-margin-bottom)}.ic-link-open-in-new-icon{vertical-align:middle;margin-left:var(--ic-space-xxs)}.ic-link>.ic-link-open-in-new-icon{fill:var(--ic-color-hyperlink-default)}.ic-link-open-in-new-icon>svg{width:var(--ic-space-md);height:var(--ic-space-md);fill:currentcolor}.ic-link:visited>.ic-link-open-in-new-icon{fill:var(--ic-color-hyperlink-visited)}.ic-link.light:visited>.ic-link-open-in-new-icon{fill:var(--ic-color-hyperlink-contrast-visited)}:host(.breadcrumb-link) .ic-link{display:var(--breadcrumb-link-display);align-items:var(--breadcrumb-link-align-items);gap:var(--breadcrumb-link-gap)}:host(.breadcrumb-link) .ic-link ::slotted(.back-icon){height:var(--ic-space-lg);width:var(--ic-space-lg)}:host(.breadcrumb-link.current-page) a,:host(.breadcrumb-link.current-page) ::slotted(a){font-weight:normal;color:inherit;text-decoration:none;display:flex;align-items:center}:host(.breadcrumb-link.current-page) .ic-link,:host(.breadcrumb-link.current-page) ::slotted(a:focus){outline:var(--ic-hc-focus-outline);text-decoration:none}:host(.breadcrumb-link.current-page) .ic-link:visited{color:var(--ic-color-text-primary)}:host(.footer-link-light) ::part(link),:host(.footer-link-dark) ::part(link){color:var(--ic-footer-link)}:host(.footer-link-light) ::slotted(svg),:host(.footer-link-dark) ::slotted(svg){fill:var(--ic-footer-logo)}:host(.footer-logo-link){transition:var(--ic-easing-transition-fast)}:host(.footer-logo-link:hover){background-color:var(--ic-footer-hover)}:host(.footer-logo-link:active){background-color:var(--ic-footer-pressed)}:host(.footer-logo-link:focus){box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);outline:var(--ic-hc-focus-outline)}@media (forced-colors: active){:host(.footer-link-light) ::slotted(svg),:host(.footer-link-dark) ::slotted(svg){fill:currentcolor}}';const l=a;const s=class{constructor(o){e(this,o);this.deviceSize=r.XL;this.footerConfig={small:false,grouped:false};this.foregroundColor=n();this.download=false}componentWillLoad(){this.footerConfig=this.inferConfig(this.el)}footerResizeHandler(){this.footerConfig=this.inferConfig(this.el)}footerBrandChangeHandler(e){this.foregroundColor=e.detail.mode}inferConfig(e){if(e.parentElement!==null){if(e.parentElement.classList.contains("ic-footer")){return{small:e.parentElement.classList.contains("ic-footer-small"),grouped:e.parentElement.classList.contains("ic-footer-grouped")}}else{return this.inferConfig(e.parentElement)}}else{return{small:false,grouped:false}}}render(){const{footerConfig:e,href:i,hreflang:r,referrerpolicy:n,rel:a,target:l,download:s}=this;const{small:c,grouped:d}=e;const f=!!this.el.closest("div[slot='logo']");return o(t,{key:"b8797484e397b1a952f2df6f644c985deec5be65",class:{"footer-link":true,[`footer-link-${d?"grouped":"ungrouped"}-${c?"small":"sparse"}`]:true,[`footer-link-${this.foregroundColor}`]:true,"footer-logo-link":f},role:"listitem"},o("ic-link",{key:"1cd559f7c768a70d2bc0c92845ad6ae6761b584a",class:"footer-link",href:i,hreflang:r,referrerpolicy:n,rel:a,download:s!==false?s:undefined,target:l},o("slot",{key:"f2104f33d9651f96414a4963b30ea2e6c2414b18"})))}static get delegatesFocus(){return true}get el(){return i(this)}};s.style=l;export{s as ic_footer_link};
2
- //# sourceMappingURL=p-ecc7fd71.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["icFooterLinkCss","IcFooterLinkStyle0","FooterLink","constructor","hostRef","this","deviceSize","DEVICE_SIZES","XL","footerConfig","small","grouped","foregroundColor","getBrandForegroundAppearance","download","componentWillLoad","inferConfig","el","footerResizeHandler","footerBrandChangeHandler","ev","detail","mode","e","parentElement","classList","contains","render","href","hreflang","referrerpolicy","rel","target","isLogoLink","closest","h","Host","key","class","role","undefined","delegatesFocus"],"sources":["../web-components/dist/collection/components/ic-footer-link/ic-footer-link.css?tag=ic-footer-link&encapsulation=shadow","../web-components/dist/collection/components/ic-footer-link/ic-footer-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(.footer-link-ungrouped-sparse) {\n --footer-link-margin-left: 0;\n --footer-link-margin-right: 2.5rem;\n --footer-link-margin-bottom: 0;\n}\n\n:host(.footer-link-ungrouped-small) {\n --footer-link-margin-left: 0;\n --footer-link-margin-right: 0;\n --footer-link-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-grouped-sparse) {\n --footer-link-margin-left: 0;\n --footer-link-margin-right: 0;\n --footer-link-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link-grouped-small) {\n --footer-link-margin-left: var(--ic-space-md);\n --footer-link-margin-right: 0;\n --footer-link-margin-bottom: var(--ic-space-md);\n}\n\n:host(.footer-link) {\n margin-left: var(--footer-link-margin-left);\n margin-right: var(--footer-link-margin-right);\n margin-bottom: var(--footer-link-margin-bottom);\n}\n\n.ic-link-open-in-new-icon {\n vertical-align: middle;\n margin-left: var(--ic-space-xxs);\n}\n\n.ic-link > .ic-link-open-in-new-icon {\n fill: var(--ic-color-hyperlink-default);\n}\n\n.ic-link-open-in-new-icon > svg {\n width: var(--ic-space-md);\n height: var(--ic-space-md);\n fill: currentcolor;\n}\n\n.ic-link:visited > .ic-link-open-in-new-icon {\n fill: var(--ic-color-hyperlink-visited);\n}\n\n.ic-link.light:visited > .ic-link-open-in-new-icon {\n fill: var(--ic-color-hyperlink-contrast-visited);\n}\n\n:host(.breadcrumb-link) .ic-link {\n display: var(--breadcrumb-link-display);\n align-items: var(--breadcrumb-link-align-items);\n gap: var(--breadcrumb-link-gap);\n}\n\n:host(.breadcrumb-link) .ic-link ::slotted(.back-icon) {\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n}\n\n:host(.breadcrumb-link.current-page) a,\n:host(.breadcrumb-link.current-page) ::slotted(a) {\n font-weight: normal;\n color: inherit;\n text-decoration: none;\n display: flex;\n align-items: center;\n}\n\n:host(.breadcrumb-link.current-page) .ic-link,\n:host(.breadcrumb-link.current-page) ::slotted(a:focus) {\n outline: var(--ic-hc-focus-outline);\n text-decoration: none;\n}\n\n:host(.breadcrumb-link.current-page) .ic-link:visited {\n color: var(--ic-color-text-primary);\n}\n\n:host(.footer-link-light) ::part(link),\n:host(.footer-link-dark) ::part(link) {\n color: var(--ic-footer-link);\n}\n\n:host(.footer-link-light) ::slotted(svg),\n:host(.footer-link-dark) ::slotted(svg) {\n fill: var(--ic-footer-logo);\n}\n\n:host(.footer-logo-link) {\n transition: var(--ic-easing-transition-fast);\n}\n\n:host(.footer-logo-link:hover) {\n background-color: var(--ic-footer-hover);\n}\n\n:host(.footer-logo-link:active) {\n background-color: var(--ic-footer-pressed);\n}\n\n:host(.footer-logo-link:focus) {\n box-shadow: var(--ic-border-focus);\n border-radius: var(--ic-border-radius);\n outline: var(--ic-hc-focus-outline);\n}\n\n@media (forced-colors: active) {\n :host(.footer-link-light) ::slotted(svg),\n :host(.footer-link-dark) ::slotted(svg) {\n fill: currentcolor;\n }\n}\n","import { Host, h, } from \"@stencil/core\";\nimport { DEVICE_SIZES, getBrandForegroundAppearance, } from \"../../utils/helpers\";\nexport class FooterLink {\n constructor() {\n this.deviceSize = DEVICE_SIZES.XL;\n this.footerConfig = { small: false, grouped: false };\n this.foregroundColor = getBrandForegroundAppearance();\n /**\n * If `true`, the user can save the linked URL instead of navigating to it.\n */\n this.download = false;\n }\n componentWillLoad() {\n this.footerConfig = this.inferConfig(this.el);\n }\n footerResizeHandler() {\n this.footerConfig = this.inferConfig(this.el);\n }\n footerBrandChangeHandler(ev) {\n this.foregroundColor = ev.detail.mode;\n }\n inferConfig(e) {\n if (e.parentElement !== null) {\n if (e.parentElement.classList.contains(\"ic-footer\")) {\n return {\n small: e.parentElement.classList.contains(\"ic-footer-small\"),\n grouped: e.parentElement.classList.contains(\"ic-footer-grouped\"),\n };\n }\n else {\n return this.inferConfig(e.parentElement);\n }\n }\n else {\n return { small: false, grouped: false };\n }\n }\n render() {\n const { footerConfig, href, hreflang, referrerpolicy, rel, target, download, } = this;\n const { small, grouped } = footerConfig;\n const isLogoLink = !!this.el.closest(\"div[slot='logo']\");\n return (h(Host, { key: 'b8797484e397b1a952f2df6f644c985deec5be65', class: {\n \"footer-link\": true,\n [`footer-link-${grouped ? \"grouped\" : \"ungrouped\"}-${small ? \"small\" : \"sparse\"}`]: true,\n [`footer-link-${this.foregroundColor}`]: true,\n \"footer-logo-link\": isLogoLink,\n }, role: \"listitem\" }, h(\"ic-link\", { key: '1cd559f7c768a70d2bc0c92845ad6ae6761b584a', class: \"footer-link\", href: href, hreflang: hreflang, referrerpolicy: referrerpolicy, rel: rel, download: download !== false ? download : undefined, target: target }, h(\"slot\", { key: 'f2104f33d9651f96414a4963b30ea2e6c2414b18' }))));\n }\n static get is() { return \"ic-footer-link\"; }\n static get encapsulation() { return \"shadow\"; }\n static get delegatesFocus() { return true; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-footer-link.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-footer-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.\"\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 \"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 };\n }\n static get states() {\n return {\n \"deviceSize\": {},\n \"footerConfig\": {},\n \"foregroundColor\": {}\n };\n }\n static get elementRef() { return \"el\"; }\n static get listeners() {\n return [{\n \"name\": \"footerResized\",\n \"method\": \"footerResizeHandler\",\n \"target\": \"document\",\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"brandChange\",\n \"method\": \"footerBrandChangeHandler\",\n \"target\": \"document\",\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n//# sourceMappingURL=ic-footer-link.js.map\n"],"mappings":"oGAAA,MAAMA,EAAkB,g0JACxB,MAAAC,EAAeD,E,MCCFE,EAAU,MACnB,WAAAC,CAAAC,G,UACIC,KAAKC,WAAaC,EAAaC,GAC/BH,KAAKI,aAAe,CAAEC,MAAO,MAAOC,QAAS,OAC7CN,KAAKO,gBAAkBC,IAIvBR,KAAKS,SAAW,K,CAEpB,iBAAAC,GACIV,KAAKI,aAAeJ,KAAKW,YAAYX,KAAKY,G,CAE9C,mBAAAC,GACIb,KAAKI,aAAeJ,KAAKW,YAAYX,KAAKY,G,CAE9C,wBAAAE,CAAyBC,GACrBf,KAAKO,gBAAkBQ,EAAGC,OAAOC,I,CAErC,WAAAN,CAAYO,GACR,GAAIA,EAAEC,gBAAkB,KAAM,CAC1B,GAAID,EAAEC,cAAcC,UAAUC,SAAS,aAAc,CACjD,MAAO,CACHhB,MAAOa,EAAEC,cAAcC,UAAUC,SAAS,mBAC1Cf,QAASY,EAAEC,cAAcC,UAAUC,SAAS,qB,KAG/C,CACD,OAAOrB,KAAKW,YAAYO,EAAEC,c,MAG7B,CACD,MAAO,CAAEd,MAAO,MAAOC,QAAS,M,EAGxC,MAAAgB,GACI,MAAMlB,aAAEA,EAAYmB,KAAEA,EAAIC,SAAEA,EAAQC,eAAEA,EAAcC,IAAEA,EAAGC,OAAEA,EAAMlB,SAAEA,GAAcT,KACjF,MAAMK,MAAEA,EAAKC,QAAEA,GAAYF,EAC3B,MAAMwB,IAAe5B,KAAKY,GAAGiB,QAAQ,oBACrC,OAAQC,EAAEC,EAAM,CAAEC,IAAK,2CAA4CC,MAAO,CAClE,cAAe,KACf,CAAC,eAAe3B,EAAU,UAAY,eAAeD,EAAQ,QAAU,YAAa,KACpF,CAAC,eAAeL,KAAKO,mBAAoB,KACzC,mBAAoBqB,GACrBM,KAAM,YAAcJ,EAAE,UAAW,CAAEE,IAAK,2CAA4CC,MAAO,cAAeV,KAAMA,EAAMC,SAAUA,EAAUC,eAAgBA,EAAgBC,IAAKA,EAAKjB,SAAUA,IAAa,MAAQA,EAAW0B,UAAWR,OAAQA,GAAUG,EAAE,OAAQ,CAAEE,IAAK,8C,CAIvR,yBAAWI,GAAmB,OAAO,IAAK,C","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as i,c as t,h as e,f as a,H as o,g as n}from"./p-8e4e97b4.js";import{x as s,D as r,g as d,f as l,w as c}from"./p-e519f607.js";import{C as v}from"./p-170ddfc2.js";import{O as h}from"./p-ea1ea1b9.js";const g='/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0;}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px;}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--navigation-link-colour:var(--ic-brand-text-color)}:host(:focus-within){z-index:var(--ic-z-index-navigation-item)}svg{width:var(--ic-space-xl);fill:var(--ic-brand-text-color)}.svg{margin-left:auto}.chevron-container svg,.chevron-container .svg{width:var(--ic-space-lg);height:var(--ic-space-lg)}.chevron-container{flex-grow:1}:host(.expandable.navigation-item) .link,:host(.expandable.navigation-item) ::slotted(a){padding-right:0}:host(.navigation-item) .link,:host(.navigation-item) ::slotted(a){height:calc(100% - var(--ic-space-xxs));width:-moz-fit-content;width:fit-content;color:var(--navigation-link-colour);display:flex;align-items:center;justify-content:center;padding:0 var(--ic-space-md) var(--ic-space-xxs);text-decoration:none;transition:var(--ic-easing-transition-fast);position:relative;white-space:nowrap;--ic-typography-color:var(--navigation-link-colour)}:host(.navigation-item) ::slotted(a){height:100%;font:var(--ic-font-label) !important;letter-spacing:var(--ic-font-letter-spacing-0pt025) !important;padding:0 var(--ic-space-md) !important}:host(.navigation-item-selected) .link::after,:host(.navigation-item-selected) ::slotted(a.active)::after,:host(.navigation-item-top-nav) ::slotted(a.active)::after{content:"";height:0.25rem;width:100%;position:absolute;bottom:0;background-color:var(--ic-top-navigation-theme)}:host(.navigation-item-selected.navigation-item-page-header) ::slotted(a.active)::after,:host(.navigation-item-selected.navigation-item-page-header) .link::after,:host(.navigation-item.navigation-item-page-header) ::slotted(a.active)::after,:host(.navigation-item-top-nav-child) ::slotted(a.active)::after{content:none}:host(.navigation-item-side-menu-selected) .link,:host(.navigation-item-side-menu) ::slotted(a.active),:host(.navigation-item-top-nav-child) ::slotted(a.active){box-shadow:none}:host(.navigation-item) .link:hover:not(:focus){background-color:var(--ic-brand-hover);cursor:pointer}:host(.navigation-item:not(.navigation-item-page-header,.navigation-item-side-menu,.navigation-item-top-nav-child)) ::slotted(a:hover:not(:focus)),:host(.navigation-item-side-nav.navigation-item) .link:hover:not(:focus){background-color:var(--ic-brand-hover) !important}:host(.navigation-item:not(.navigation-item-top-nav-child,.navigation-item-side-menu,.navigation-item-top-nav-child-selected .navigation-item-side-menu-selected)) .focus-indicator:focus-within{box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius)}:host(.navigation-item) .link:focus,:host(.navigation-item) ::slotted(a:focus){box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);outline:var(--ic-hc-focus-outline);outline-offset:calc(-1 * (var(--ic-space-xxxs) + var(--ic-space-1px) / 2))}:host(.navigation-item-selected) .link:focus,:host(.navigation-item) ::slotted(a.active:focus){box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);outline:var(--ic-hc-focus-outline);outline-offset:calc(-1 * (var(--ic-space-xxxs) + var(--ic-space-1px) / 2))}:host(.navigation-item) .link:active:not(:focus),:host(.navigation-item) ::slotted(a:active:not(:focus)){background-color:var(--ic-brand-active)}:host(.navigation-item-side-menu) .link,:host(.navigation-item-side-menu) ::slotted(a){min-height:2.5rem;height:auto;width:100%;box-sizing:border-box;color:var(--ic-top-navigation-nav-item);--ic-typography-color:var(--ic-top-navigation-nav-item);display:flex;align-items:center;justify-content:flex-start;text-decoration:none;text-wrap:wrap;white-space:normal;transition:box-shadow var(--ic-transition-duration-fast),\n border-radius var(--ic-transition-duration-fast)}:host(.navigation-item-top-nav-child) ::slotted(svg),:host(.navigation-item-side-menu) ::slotted(svg),:host(.navigation-item-page-header) ::slotted(svg){fill:var(--ic-color-text-primary)}:host(.navigation-item-side-menu) ::slotted(a){font:var(--ic-font-body) !important;letter-spacing:var(--ic-font-letter-spacing-0pt005) !important;transition:box-shadow var(--ic-easing-transition-fast),\n background-color var(--ic-easing-transition-fast)}:host(.navigation-item-side-menu) .link:hover:not(:focus){background-color:var(--ic-top-navigation-nav-item-hover)}:host(.navigation-item-side-menu) ::slotted(a:hover:not(:focus)){background-color:var(--ic-top-navigation-nav-item-hover) !important}:host(.navigation-item-side-menu) .focus-indicator:focus-within{box-shadow:none}:host(.navigation-item-side-menu) .link:focus,:host(.navigation-item-side-menu) ::slotted(a:focus){box-shadow:var(--ic-border-focus-inset) !important;width:auto;border-radius:var(--ic-border-radius-inset) !important}:host(.navigation-item-side-menu-selected) .link,:host(.navigation-item-side-menu-selected) ::slotted(a){transition:box-shadow var(--ic-easing-transition-slow),\n background-color var(--ic-easing-transition-slow)}:host(.navigation-item-side-menu-selected) .link:focus,:host(.navigation-item-side-menu) ::slotted(a.active:focus),:host(.navigation-item-top-nav-child) ::slotted(a.active:focus){margin-left:var(--ic-space-xs) !important;padding-left:var(--ic-space-xs) !important}:host(.navigation-item-top-nav-child) .link,:host(.navigation-item-top-nav-child) ::slotted(a){height:2.5rem;width:calc(100% - var(--ic-space-xl));min-width:9.063rem;color:var(--ic-top-navigation-nav-item);display:flex;align-items:center;justify-content:flex-start;padding:0 var(--ic-space-md) !important;text-decoration:none;position:relative;transition:box-shadow var(--ic-transition-duration-fast),\n border-radius var(--ic-transition-duration-slow);--ic-typography-color:var(--ic-color-text-primary)}:host(.navigation-item-top-nav-child) ::slotted(a){font:var(--ic-font-body) !important;letter-spacing:var(--ic-font-letter-spacing-0pt005) !important}:host(.navigation-item-top-nav-child) .link:hover:not(:focus),:host(.navigation-item-top-nav-child) ::slotted(a:hover:not(:focus)){background-color:var(--ic-top-navigation-nav-item-hover) !important}:host(.navigation-item-top-nav-child) .link:focus,:host(.navigation-item-top-nav-child) ::slotted(a:focus){z-index:1;outline:var(--ic-hc-focus-outline);border-radius:var(--ic-border-radius-inset);box-shadow:var(--ic-border-focus-inset);transition:border-radius 0s, box-shadow var(--ic-transition-duration-fast)}:host(.navigation-item-top-nav-child) ::slotted(a.active:focus){box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset)}:host(.navigation-item-side-menu) .link:active:not(:focus){background-color:var(--ic-top-navigation-nav-item-pressed)}:host(.navigation-item-top-nav-child) .link:active:not(:focus),:host(.navigation-item-top-nav-child) ::slotted(a:active:not(:focus)){outline:var(--ic-hc-focus-outline);background-color:var(--ic-top-navigation-nav-item-pressed)}:host(.navigation-item-top-nav-child) ::slotted(a:active:not(:focus)),:host(.navigation-item-side-menu) ::slotted(a:active:not(:focus)){background-color:var(--ic-top-navigation-nav-item-pressed) !important}:host(.navigation-item-side-menu-selected) *,:host(.navigation-item-top-nav-child-selected) *,:host(.navigation-item-side-menu) ::slotted(a.active),:host(.navigation-item-top-nav-child) ::slotted(a.active){font-weight:700 !important}:host(.navigation-item-top-nav-child) ::slotted(a.active)::before,:host(.navigation-item-top-nav-child-selected) .link::before,:host(.navigation-item-side-menu-selected) .link::before,:host(.navigation-item-side-menu) ::slotted(a.active)::before,:host(.navigation-item-side-menu-selected) .link:focus::before,:host(.navigation-item-side-menu) ::slotted(a.active:focus)::before{content:"";position:absolute;left:0;width:var(--ic-space-xs);height:inherit;min-height:2.5rem;background-color:var(--ic-top-navigation-nav-item-banner);transition:left 0s}:host(.navigation-item-side-menu-selected) .link::before,:host(.navigation-item-side-menu-selected) .link:focus::before{margin-top:var(--ic-space-xxs)}:host(.navigation-item-top-nav-child-selected) .link:focus{margin-left:var(--ic-space-xs);margin-right:calc(-1 * var(--ic-space-xs));padding-left:var(--ic-space-xs) !important}:host(.navigation-item-top-nav-child-selected) .link:focus::before{left:calc(-1 * var(--ic-space-xs));z-index:1}:host(.navigation-item-side-menu-selected) .link::before,:host(.navigation-item-side-menu) ::slotted(a.active)::before,:host(.navigation-item-side-menu-selected) .link:focus::before,:host(.navigation-item-side-menu) ::slotted(a.active:focus)::before{z-index:1}:host(.navigation-item-side-menu-selected) .link:focus::before,:host(.navigation-item-side-menu) ::slotted(a.active:focus)::before,:host(.navigation-item-top-nav-child) ::slotted(a.active:focus)::before{left:calc(-1 * var(--ic-space-xs))}:host(.navigation-item-side-menu-selected) .link::after{display:none}:host(.navigation-item-side-nav-collapsed) .link{height:100%}:host(.navigation-item-side-nav-collapsed) ::slotted(svg),:host(.navigation-item-side-nav-collapsed-with-label) ::slotted(svg){margin:auto;pointer-events:none}:host(.navigation-item-side-nav-collapsed) .icon,:host(.navigation-item-side-nav-collapsed-with-label) .icon,:host(.navigation-item-side-nav-collapsed-with-label) ic-typography{align-items:center;padding:0;margin:auto 0;width:-moz-fit-content;width:fit-content;pointer-events:none}:host(.navigation-item-side-nav-collapsed-with-label) ic-typography{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;text-align:center}:host(.navigation-item-side-nav-collapsed-with-label) .link,:host(.navigation-item-side-nav-collapsed-with-label) ::slotted(a){display:flex;flex-direction:column;height:-moz-fit-content;height:fit-content;padding:var(--ic-space-xs) !important;gap:var(--ic-space-xxs)}:host(.navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) .link,:host(.navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) ::slotted(a){height:auto !important;gap:0;width:auto;padding:var(--ic-space-xs) !important}:host(.navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) ::slotted(a){display:block;text-align:center}:host(.navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) .link ic-typography{opacity:1;min-width:-moz-min-content;min-width:min-content}:host(.navigation-item-side-nav-collapsed) svg,:host(.navigation-item-side-nav-collapsed-with-label) svg{display:none}::slotted(svg){fill:var(--ic-brand-text-color);height:var(--ic-space-lg);width:var(--ic-space-lg);margin-left:var(--ic-space-md)}.icon{height:1.5rem;width:var(--ic-space-xxl);margin-left:calc(-1 * var(--ic-space-md));flex:0 1 0%;position:relative}.icon>::slotted(*){margin-left:var(--ic-space-md) !important;margin-right:var(--ic-space-xs)}.inline-badge{margin-left:var(--ic-space-xs)}.badge{margin-left:0}:host(.navigation-item-side-nav-collapsed) .icon>::slotted(*){margin:auto !important}:host(.navigation-item-side-nav) .icon>::slotted(*){margin-right:0}:host(.navigation-item-side-nav) .link,:host(.navigation-item-side-nav) ::slotted(a){height:var(--navigation-item-height, 4rem);min-height:var(--navigation-item-min-height);width:var(--navigation-item-width, auto);justify-content:var(--navigation-item-justify-content);display:flex;gap:var(--ic-space-xs);box-sizing:border-box;color:var(--navigation-item-child-color) !important;text-decoration:none !important;white-space:nowrap;padding:0 var(--ic-space-md);text-wrap:wrap}:host(.navigation-item-side-nav.navigation-item-top-nav-child) .link,:host(.navigation-item-side-nav.navigation-item-top-nav-child) ::slotted(a){height:var(--navigation-item-child-height);width:var(--navigation-group-width);color:var(--navigation-item-child-color) !important;display:flex;gap:0.625rem;box-sizing:border-box;min-width:0;transition:box-shadow var(--ic-easing-transition-fast);text-decoration:none !important;white-space:nowrap}:host(.navigation-item-side-nav.navigation-item-top-nav-child) .link:focus,:host(.navigation-item-side-nav.navigation-item-top-nav-child) ::slotted(a:focus){box-shadow:var(--ic-border-focus-dark)}:host(.navigation-item-side-nav.navigation-item-side-menu) .link:active{background-color:var(--navigation-item-child-active)}:host(.navigation-item-side-nav.navigation-item-top-nav-child) .link:active,:host(.navigation-item-side-nav.navigation-item-top-nav-child) ::slotted(a:active){background-color:var(--navigation-item-child-active)}:host(.navigation-item-side-nav) a.link ic-typography,:host(.navigation-item-side-nav.navigation-item-top-nav-child) a.link ic-typography,:host(.navigation-item-side-nav) div.link ic-typography,:host(.navigation-item-side-nav.navigation-item-top-nav-child) div.link ic-typography,.navigation-item-side-nav-slotted-text{opacity:var(--navigation-item-label-opacity);transition:opacity var(--ic-easing-transition-slow);white-space:wrap;text-overflow:ellipsis;overflow:hidden}:host(.navigation-item-side-nav.navigation-item-selected) .link,:host(.navigation-item-side-nav.navigation-item) ::slotted(a.active){box-shadow:inset 0.313rem 0 0 var(--ic-brand-text-color)}:host(.navigation-item-side-nav.navigation-item-selected) .link::before,:host(.navigation-item-side-nav) ::slotted(a.active)::before{content:"";display:block;position:absolute;inset:0 0 0 0.313rem;border-radius:0.688rem !important;transition:var(--ic-easing-transition-slow)}:host(.navigation-item-side-nav.navigation-item-selected) .link:focus::before,:host(.navigation-item-side-nav) ::slotted(a.active:focus)::before{box-shadow:var(--ic-border-focus-inset)}:host(:not(.navigation-item-side-nav-collapsed).navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) .link{opacity:var(--navigation-item-label-opacity);height:auto}:host(.navigation-item-top-nav-child.navigation-item-side-nav-collapsed-with-label) .link,:host(.navigation-item-top-nav-child.navigation-item-side-nav-collapsed-with-label) ::slotted(a){min-width:var(--navigation-group-item-min-width);padding:var(--ic-space-xs) !important;height:auto;gap:0}:host(.navigation-item-top-nav-child.navigation-item-side-nav-collapsed-with-label) ::slotted(a){display:block}:host(.navigation-item-side-nav.navigation-item-selected) .link::after,:host(.navigation-item-side-nav) ::slotted(a.active)::after{display:none}:host(.navigation-item-side-nav.navigation-item) .link:focus,:host(.navigation-item-side-nav.navigation-item) ::slotted(a:focus){box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);background-color:transparent}:host(.navigation-item-side-nav.navigation-item-selected) .link:focus,:host(.navigation-item-side-nav) ::slotted(a.active:focus){margin:0 auto;box-shadow:inset 0.313rem 0 0 var(--ic-brand-text-color);border-radius:0}:host(.navigation-item-page-header).link,:host(.navigation-item-page-header) a,:host(.navigation-item-page-header) ::slotted(a){height:2.5rem !important;color:var(--ic-color-text-primary) !important;transition:all var(--ic-easing-transition-fast) !important;box-shadow:rgba(23 89 188 / 0%) !important}:host(.navigation-item-page-header.navigation-item-selected) .link::after,:host(.navigation-item-page-header) ::slotted(a.active)::after{content:" " !important;position:absolute;bottom:0;left:0;right:0;height:var(--ic-space-xxs);background-color:var(--ic-action-default) !important}:host(.navigation-item-page-header) .link:hover,:host(.navigation-item-page-header) ::slotted(.link:hover),:host(.navigation-item-page-header) ::slotted(a:hover),:host(.navigation-item-page-header) .link:hover:not(:focus){background-color:var(--ic-action-default-bg-hover) !important;cursor:pointer}:host(.navigation-item-page-header) .link:focus,:host(.navigation-item-page-header) ::slotted(a:focus){box-shadow:var(--ic-border-focus)}:host(.navigation-item-page-header) .link:active,:host(.navigation-item-page-header) ::slotted(a:active){background-color:var(--ic-action-default-bg-pressed) !important}:host(.navigation-item-page-header.navigation-item-selected) .link:focus::after,:host(.navigation-item-page-header) ::slotted(a.active:focus)::after{border-bottom-left-radius:var(--ic-border-radius);border-bottom-right-radius:var(--ic-border-radius)}:host(.navigation-item-page-header.navigation-item-selected.with-transition) .link,:host(.navigation-item-page-header.navigation-item-selected.with-transition) ::slotted(a.active){transition:all var(--ic-easing-transition-fast),\n border-color var(--ic-transition-duration-fast)}:host(.navigation-item-page-header) ::slotted(a.active)::before,:host(.navigation-item-page-header) ::slotted(a.active:focus)::before,:host(.navigation-item-page-header.navigation-item-selected) .link:focus::before{display:none}.open-in-new-icon{flex:1}.open-in-new-icon svg{margin-top:var(--ic-space-xxs);padding-left:var(--ic-space-xs)}:host(.navigation-item-side-nav) .open-in-new-icon{margin-left:calc(-1 * var(--ic-space-xs))}:host(.navigation-item-top-nav) .open-in-new-icon svg,:host(.navigation-item-page-header) .open-in-new-icon svg,:host(.navigation-item-side-nav) .open-in-new-icon svg{height:0.875rem;width:0.875rem}:host(.navigation-item-side-menu) .open-in-new-icon svg,:host(.navigation-item-top-nav-child) .open-in-new-icon svg{height:var(--ic-space-md);width:var(--ic-space-md)}:host(.navigation-item-page-header) .open-in-new-icon svg,:host(.navigation-item-top-nav-child) .open-in-new-icon svg,:host(.navigation-item-side-menu) .open-in-new-icon svg{fill:var(--ic-color-text-primary)}@media (forced-colors: active){.open-in-new-icon svg{fill:currentcolor}}';const m=g;const p=class{constructor(o){i(this,o);this.childBlur=t(this,"childBlur",7);this.navItemClicked=t(this,"navItemClicked",7);this.isInitialRender=true;this.hostMutationObserver=null;this.ANIMATION_DURATION=parseInt(s("--ic-transition-duration-slow"))||0;this.ARIA_LABEL_STRING="aria-label";this.isInSideNav=false;this.deviceSize=r.XL;this.focusStyle=d();this.inTopNavSideMenu=false;this.isSideNavMobile=false;this.isTopNavChild=false;this.sideNavExpanded=false;this.ariaLabel="";this.collapsedIconLabel=false;this.displayNavigationTooltip=false;this.download=false;this.expandable=false;this.href="";this.selected=false;this.theme="inherit";this.displayDefaultNavigationItem=(i,t,a,o,n,s,r)=>{const d=this.isTopNavChild||this.inTopNavSideMenu?"body":"label";const l=this.expandable&&e("div",{class:{svg:true},innerHTML:v});const c=this.el.querySelector('[slot="badge"]');const g=c&&e("div",{class:"inline-badge"},e("slot",{name:"badge"}));const m=this.el.querySelector('[slot="icon"]')&&e("div",{class:"icon"},e("slot",{name:"icon"}),this.isInSideNav&&g);return i!==""?e("a",{href:i,target:o,rel:n,hreflang:a,referrerPolicy:s,download:r!==false?r:null,class:"link",ref:i=>this.itemEl=i,part:"link","aria-label":this.ariaLabel?this.ariaLabel:null},m,e("ic-typography",{variant:d},t),o==="_blank"&&e("span",{class:"open-in-new-icon",innerHTML:h}),g,e("div",{class:"chevron-container"},l)):e("div",{tabindex:"0",class:"link",ref:i=>this.itemEl=i},m,e("ic-typography",{variant:d},t),l,g)};this.topNavResizedHandler=({detail:i})=>{var t;const{size:e}=i;if(e!==this.deviceSize){this.deviceSize=e;this.inTopNavSideMenu=e<=(((t=this.parentEl)===null||t===void 0?void 0:t.customMobileBreakpoint)||r.L)}};this.sideNavExpandHandler=({detail:i})=>{const{sideNavExpanded:t,sideNavMobile:e}=i;this.sideNavExpanded=t;this.isSideNavMobile=e;this.sideNavToggleTooltip(!t&&!e)};this.handleBlur=({relatedTarget:i})=>{if(i===null||i.tagName!=="IC-NAVIGATION-ITEM"){this.childBlur.emit()}};this.handleClick=()=>this.navItemClicked.emit();this.hostMutationCallback=i=>{let t=false;i.forEach((({attributeName:i})=>{if(i){const e=this.el.getAttribute(i);if(e&&i===this.ARIA_LABEL_STRING){this.ariaLabel=e;t=true}}}));if(t){a(this)}};this.generateTooltipLabel=()=>{var i;if(this.label){return this.label}if(this.navigationSlot){return this.navigationSlot.textContent||""}return((i=this.el.children[0])===null||i===void 0?void 0:i.textContent)||""};this.renderNavigationItemContent=()=>{if(!this.label&&!this.navigationSlot)return e("slot",null);return this.label?this.displayDefaultNavigationItem(this.href,this.label,this.hreflang,this.target,this.rel,this.referrerpolicy,this.download):e("slot",{name:"navigation-item"})};this.sideNavToggleTooltip=i=>{var t;const e=(t=this.el.shadowRoot)===null||t===void 0?void 0:t.querySelector("ic-tooltip");const a="tooltip-navigation-item-side-nav-collapsed";let o;if(!e)return;if(i){e.displayTooltip(false);o=setTimeout((()=>{e.classList.add(a)}),this.ANIMATION_DURATION)}else{clearTimeout(o);e.classList.remove(a)}}}navigationTypeChangeHandler(){this.isInSideNav=this.navigationType==="side"}disconnectedCallback(){var i,t,e;if(this.isInSideNav){(i=this.parentEl)===null||i===void 0?void 0:i.removeEventListener("icSideNavExpanded",this.sideNavExpandHandler)}else if(this.navigationType==="top"){(t=this.parentEl)===null||t===void 0?void 0:t.removeEventListener("icTopNavResized",this.topNavResizedHandler)}(e=this.hostMutationObserver)===null||e===void 0?void 0:e.disconnect()}componentWillLoad(){var i,t,e,a,o,n;const{navType:s,parent:r}=c(this.el);this.navigationType=s;this.isInSideNav=this.navigationType==="side";this.parentEl=r;this.deviceSize=l();this.sideNavExpanded=((i=this.parentEl)===null||i===void 0?void 0:i.classList.contains("sm-expanded"))||((t=this.parentEl)===null||t===void 0?void 0:t.classList.contains("xs-menu-open"))||false;if(this.isInSideNav){(e=this.parentEl)===null||e===void 0?void 0:e.addEventListener("icSideNavExpanded",this.sideNavExpandHandler)}else if(this.navigationType==="top"){(a=this.parentEl)===null||a===void 0?void 0:a.addEventListener("icTopNavResized",this.topNavResizedHandler);if(((o=this.el.parentElement)===null||o===void 0?void 0:o.tagName)==="IC-NAVIGATION-GROUP")this.isTopNavChild=true;if(this.deviceSize<=this.parentEl.customMobileBreakpoint)this.inTopNavSideMenu=true}this.navigationSlot=this.el.querySelector('[slot="navigation-item"]');if(this.navigationSlot){this.navigationSlot.ariaLabel=((n=this.navigationSlot.textContent)===null||n===void 0?void 0:n.trim())||null}if(this.el.hasAttribute(this.ARIA_LABEL_STRING)){this.ariaLabel=this.el.getAttribute(this.ARIA_LABEL_STRING)||""}}componentDidLoad(){this.hostMutationObserver=new MutationObserver(this.hostMutationCallback);this.hostMutationObserver.observe(this.el,{attributes:true})}componentDidUpdate(){this.isInitialRender=false}brandChangeHandler({detail:i}){this.focusStyle=i.mode}async setFocus(){var i;this.itemEl?this.itemEl.focus():(i=this.el.querySelector("a"))===null||i===void 0?void 0:i.focus()}render(){const{inTopNavSideMenu:i,isTopNavChild:t,selected:a,navigationType:n,focusStyle:s,isInitialRender:r,sideNavExpanded:d,displayNavigationTooltip:l,collapsedIconLabel:c,isSideNavMobile:v,expandable:h,isInSideNav:g,theme:m}=this;const p=t&&!i;return e(o,{key:"8c8d6840c525322be195b26b40b81de5b76a3bb9",class:{"navigation-item":true,"navigation-item-selected":!t&&a,"navigation-item-top-nav":!i&&n==="top","navigation-item-top-nav-child":p,"navigation-item-top-nav-child-selected":p&&a,"navigation-item-side-menu":i,"navigation-item-side-menu-selected":i&&a,"navigation-item-page-header":n==="page-header","navigation-item-side-nav":g,"navigation-item-side-nav-collapsed":(!d||l)&&g,"navigation-item-side-nav-collapsed-with-label":!d&&g&&c&&!v,"with-transition":!r,expandable:h,[s]:t?g:!i,[`ic-theme-${m}`]:m!=="inherit"},onBlur:p?this.handleBlur:null,onClick:this.handleClick,"aria-current":a?"page":null,role:"listitem"},e("ic-tooltip",{key:"20f1518fa353f8ab041ce7a71d8cbe0277ee9e6a",label:this.generateTooltipLabel(),target:"navigation-item",placement:"right",class:{"tooltip-navigation-item":true,"tooltip-navigation-item-side-nav-collapsed":l&&g,"tooltip-long-label-navigation-item-side-nav-expanded":this.el.hasAttribute("[display-navigation-tooltip = 'true']")}},this.renderNavigationItemContent()))}static get delegatesFocus(){return true}get el(){return n(this)}static get watchers(){return{navigationType:["navigationTypeChangeHandler"]}}};p.style=m;export{p as ic_navigation_item};
2
- //# sourceMappingURL=p-efe260f0.entry.js.map