@ukic/canary-web-components 2.0.0-canary.22 → 2.0.0-canary.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (609) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/helpers-85c5ca15.js.map +1 -1
  3. package/dist/cjs/ic-accordion-group.cjs.entry.js +7 -7
  4. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
  5. package/dist/cjs/ic-accordion.cjs.entry.js +3 -3
  6. package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
  7. package/dist/cjs/ic-alert.cjs.entry.js +0 -2
  8. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  9. package/dist/cjs/ic-back-to-top.cjs.entry.js +11 -14
  10. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  11. package/dist/cjs/ic-badge.cjs.entry.js +14 -26
  12. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +3 -3
  14. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-breadcrumb.cjs.entry.js +2 -2
  16. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-button_3.cjs.entry.js +16 -16
  18. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  19. package/dist/cjs/{ic-card.cjs.entry.js → ic-card-vertical.cjs.entry.js} +5 -5
  20. package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -0
  21. package/dist/cjs/ic-checkbox-group.cjs.entry.js +5 -4
  22. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-checkbox.cjs.entry.js +5 -14
  24. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-chip.cjs.entry.js +2 -9
  26. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
  28. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-data-list.cjs.entry.js +28 -0
  30. package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -0
  31. package/dist/cjs/ic-data-row.cjs.entry.js +8 -9
  32. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +1 -1
  34. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-date-picker.cjs.entry.js +2 -2
  36. package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ic-dialog.cjs.entry.js +11 -96
  38. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-empty-state_2.cjs.entry.js +6 -6
  40. package/dist/cjs/ic-empty-state_2.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-footer-link-group.cjs.entry.js +8 -8
  42. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ic-footer-link.cjs.entry.js +5 -6
  44. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-footer.cjs.entry.js +7 -7
  46. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ic-hero.cjs.entry.js +7 -8
  48. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +4 -4
  50. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-input-component-container_4.cjs.entry.js +20 -24
  52. package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-link.cjs.entry.js +5 -6
  54. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-menu-item.cjs.entry.js +2 -2
  56. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ic-menu-with-multi.cjs.entry.js +8 -10
  58. package/dist/cjs/ic-menu-with-multi.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ic-menu.cjs.entry.js +7 -9
  60. package/dist/cjs/ic-menu.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-navigation-group.cjs.entry.js +8 -8
  62. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-navigation-item.cjs.entry.js +4 -4
  64. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  66. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-page-header.cjs.entry.js +6 -7
  68. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-pagination_4.cjs.entry.js +94 -100
  70. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-popover-menu.cjs.entry.js +2 -2
  72. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ic-radio-group.cjs.entry.js +21 -25
  74. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  75. package/dist/cjs/ic-radio-option.cjs.entry.js +4 -17
  76. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  77. package/dist/cjs/ic-search-bar.cjs.entry.js +17 -23
  78. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ic-select-with-multi.cjs.entry.js +12 -20
  80. package/dist/cjs/ic-select-with-multi.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ic-side-navigation.cjs.entry.js +6 -6
  82. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  83. package/dist/cjs/ic-skeleton.cjs.entry.js +4 -5
  84. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ic-status-tag.cjs.entry.js +1 -10
  86. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ic-step.cjs.entry.js +39 -42
  88. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ic-stepper.cjs.entry.js +15 -15
  90. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  91. package/dist/cjs/ic-switch.cjs.entry.js +4 -5
  92. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  93. package/dist/cjs/ic-tab-context.cjs.entry.js +0 -11
  94. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  95. package/dist/cjs/ic-tab-group.cjs.entry.js +3 -4
  96. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  97. package/dist/cjs/ic-tab-panel.cjs.entry.js +0 -7
  98. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  99. package/dist/cjs/ic-tab.cjs.entry.js +3 -3
  100. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  101. package/dist/cjs/ic-toast-region.cjs.entry.js +0 -7
  102. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  103. package/dist/cjs/ic-toast.cjs.entry.js +82 -34
  104. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  105. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +16 -16
  106. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
  107. package/dist/cjs/ic-toggle-button.cjs.entry.js +12 -12
  108. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  109. package/dist/cjs/ic-top-navigation.cjs.entry.js +3 -3
  110. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  111. package/dist/cjs/ic-typography.cjs.entry.js +5 -5
  112. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  113. package/dist/cjs/index-4cf27b16.js +10 -10
  114. package/dist/cjs/loader.cjs.js +1 -1
  115. package/dist/collection/collection-manifest.json +2 -2
  116. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js +1 -1
  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-picker/ic-date-picker.css +24 -24
  119. package/dist/collection/components/ic-date-picker/ic-date-picker.js +1 -1
  120. package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
  121. package/dist/collection/components/ic-menu-with-multi/ic-menu.css +11 -11
  122. package/dist/collection/components/ic-menu-with-multi/ic-menu.js +7 -30
  123. package/dist/collection/components/ic-menu-with-multi/ic-menu.js.map +1 -1
  124. package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js +1 -1
  125. package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js.map +1 -1
  126. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +1 -1
  127. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
  128. package/dist/collection/components/ic-select-with-multi/ic-select.css +14 -12
  129. package/dist/collection/components/ic-select-with-multi/ic-select.js +13 -142
  130. package/dist/collection/components/ic-select-with-multi/ic-select.js.map +1 -1
  131. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.e2e.js +1 -1
  132. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.e2e.js.map +1 -1
  133. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.spec.js +6 -6
  134. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.spec.js.map +1 -1
  135. package/dist/collection/utils/types.js.map +1 -1
  136. package/dist/components/helpers2.js.map +1 -1
  137. package/dist/components/ic-accordion-group.js +8 -8
  138. package/dist/components/ic-accordion-group.js.map +1 -1
  139. package/dist/components/ic-accordion.js +3 -3
  140. package/dist/components/ic-accordion.js.map +1 -1
  141. package/dist/components/ic-alert.js +127 -1
  142. package/dist/components/ic-alert.js.map +1 -1
  143. package/dist/components/ic-back-to-top.js +24 -15
  144. package/dist/components/ic-back-to-top.js.map +1 -1
  145. package/dist/components/ic-badge.js +16 -30
  146. package/dist/components/ic-badge.js.map +1 -1
  147. package/dist/components/ic-breadcrumb-group.js +3 -3
  148. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  149. package/dist/components/ic-breadcrumb2.js +2 -2
  150. package/dist/components/ic-breadcrumb2.js.map +1 -1
  151. package/dist/components/ic-button2.js +9 -9
  152. package/dist/components/ic-button2.js.map +1 -1
  153. package/dist/components/{ic-card.js → ic-card-vertical.js} +10 -10
  154. package/dist/components/ic-card-vertical.js.map +1 -0
  155. package/dist/components/ic-checkbox-group.js +5 -5
  156. package/dist/components/ic-checkbox-group.js.map +1 -1
  157. package/dist/components/ic-checkbox.js +5 -20
  158. package/dist/components/ic-checkbox.js.map +1 -1
  159. package/dist/components/ic-chip.js +2 -10
  160. package/dist/components/ic-chip.js.map +1 -1
  161. package/dist/components/ic-classification-banner.js +2 -2
  162. package/dist/components/ic-classification-banner.js.map +1 -1
  163. package/dist/components/ic-data-list.js +51 -0
  164. package/dist/components/ic-data-list.js.map +1 -0
  165. package/dist/components/ic-data-row.js +9 -11
  166. package/dist/components/ic-data-row.js.map +1 -1
  167. package/dist/components/ic-data-table-title-bar.js +1 -1
  168. package/dist/components/ic-data-table-title-bar.js.map +1 -1
  169. package/dist/components/ic-date-picker.js +2 -2
  170. package/dist/components/ic-date-picker.js.map +1 -1
  171. package/dist/components/ic-dialog.js +14 -112
  172. package/dist/components/ic-dialog.js.map +1 -1
  173. package/dist/components/ic-empty-state2.js +6 -6
  174. package/dist/components/ic-empty-state2.js.map +1 -1
  175. package/dist/components/ic-footer-link-group.js +9 -9
  176. package/dist/components/ic-footer-link-group.js.map +1 -1
  177. package/dist/components/ic-footer-link.js +12 -7
  178. package/dist/components/ic-footer-link.js.map +1 -1
  179. package/dist/components/ic-footer.js +7 -7
  180. package/dist/components/ic-footer.js.map +1 -1
  181. package/dist/components/ic-hero.js +7 -9
  182. package/dist/components/ic-hero.js.map +1 -1
  183. package/dist/components/ic-horizontal-scroll2.js +4 -4
  184. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  185. package/dist/components/ic-input-component-container2.js +10 -15
  186. package/dist/components/ic-input-component-container2.js.map +1 -1
  187. package/dist/components/ic-input-label2.js +9 -11
  188. package/dist/components/ic-input-label2.js.map +1 -1
  189. package/dist/components/ic-input-validation2.js +3 -3
  190. package/dist/components/ic-input-validation2.js.map +1 -1
  191. package/dist/components/ic-link2.js +5 -7
  192. package/dist/components/ic-link2.js.map +1 -1
  193. package/dist/components/ic-loading-indicator2.js +8 -8
  194. package/dist/components/ic-loading-indicator2.js.map +1 -1
  195. package/dist/components/ic-menu-item2.js +2 -2
  196. package/dist/components/ic-menu-item2.js.map +1 -1
  197. package/dist/components/ic-menu2.js +7 -10
  198. package/dist/components/ic-menu2.js.map +1 -1
  199. package/dist/components/ic-menu3.js +8 -11
  200. package/dist/components/ic-menu3.js.map +1 -1
  201. package/dist/components/ic-navigation-group.js +8 -8
  202. package/dist/components/ic-navigation-group.js.map +1 -1
  203. package/dist/components/ic-navigation-item.js +4 -4
  204. package/dist/components/ic-navigation-item.js.map +1 -1
  205. package/dist/components/ic-navigation-menu2.js +1 -1
  206. package/dist/components/ic-navigation-menu2.js.map +1 -1
  207. package/dist/components/ic-page-header.js +6 -8
  208. package/dist/components/ic-page-header.js.map +1 -1
  209. package/dist/components/ic-pagination-bar2.js +1 -1
  210. package/dist/components/ic-pagination-bar2.js.map +1 -1
  211. package/dist/components/ic-pagination2.js +38 -36
  212. package/dist/components/ic-pagination2.js.map +1 -1
  213. package/dist/components/ic-popover-menu.js +2 -2
  214. package/dist/components/ic-popover-menu.js.map +1 -1
  215. package/dist/components/ic-radio-group.js +23 -27
  216. package/dist/components/ic-radio-group.js.map +1 -1
  217. package/dist/components/ic-radio-option.js +6 -25
  218. package/dist/components/ic-radio-option.js.map +1 -1
  219. package/dist/components/ic-search-bar.js +19 -26
  220. package/dist/components/ic-search-bar.js.map +1 -1
  221. package/dist/components/ic-select-with-multi.js +13 -28
  222. package/dist/components/ic-select-with-multi.js.map +1 -1
  223. package/dist/components/ic-select2.js +13 -28
  224. package/dist/components/ic-select2.js.map +1 -1
  225. package/dist/components/ic-side-navigation.js +6 -6
  226. package/dist/components/ic-side-navigation.js.map +1 -1
  227. package/dist/components/ic-skeleton.js +4 -6
  228. package/dist/components/ic-skeleton.js.map +1 -1
  229. package/dist/components/ic-status-tag.js +1 -12
  230. package/dist/components/ic-status-tag.js.map +1 -1
  231. package/dist/components/ic-step.js +45 -48
  232. package/dist/components/ic-step.js.map +1 -1
  233. package/dist/components/ic-stepper.js +15 -15
  234. package/dist/components/ic-stepper.js.map +1 -1
  235. package/dist/components/ic-switch.js +4 -6
  236. package/dist/components/ic-switch.js.map +1 -1
  237. package/dist/components/ic-tab-context.js +0 -11
  238. package/dist/components/ic-tab-context.js.map +1 -1
  239. package/dist/components/ic-tab-group.js +3 -5
  240. package/dist/components/ic-tab-group.js.map +1 -1
  241. package/dist/components/ic-tab-panel.js +0 -8
  242. package/dist/components/ic-tab-panel.js.map +1 -1
  243. package/dist/components/ic-tab.js +3 -3
  244. package/dist/components/ic-tab.js.map +1 -1
  245. package/dist/components/ic-text-field2.js +50 -52
  246. package/dist/components/ic-text-field2.js.map +1 -1
  247. package/dist/components/ic-toast-region.js +1 -9
  248. package/dist/components/ic-toast-region.js.map +1 -1
  249. package/dist/components/ic-toast.js +85 -35
  250. package/dist/components/ic-toast.js.map +1 -1
  251. package/dist/components/ic-toggle-button-group.js +16 -16
  252. package/dist/components/ic-toggle-button-group.js.map +1 -1
  253. package/dist/components/ic-toggle-button.js +13 -13
  254. package/dist/components/ic-toggle-button.js.map +1 -1
  255. package/dist/components/ic-top-navigation.js +3 -3
  256. package/dist/components/ic-top-navigation.js.map +1 -1
  257. package/dist/components/ic-typography2.js +5 -5
  258. package/dist/components/ic-typography2.js.map +1 -1
  259. package/dist/core/core.css +1 -1
  260. package/dist/core/core.esm.js +1 -1
  261. package/dist/core/core.esm.js.map +1 -1
  262. package/dist/core/{p-0ec04c16.entry.js → p-00b29b5c.entry.js} +2 -2
  263. package/dist/core/p-00b29b5c.entry.js.map +1 -0
  264. package/dist/core/p-01937eb0.entry.js +2 -0
  265. package/dist/core/p-01937eb0.entry.js.map +1 -0
  266. package/dist/core/p-06db67a5.entry.js +2 -0
  267. package/dist/core/p-06db67a5.entry.js.map +1 -0
  268. package/dist/core/{p-0180e00a.entry.js → p-0896531a.entry.js} +2 -2
  269. package/dist/core/p-0896531a.entry.js.map +1 -0
  270. package/dist/core/{p-d86cdbc8.entry.js → p-125bc120.entry.js} +2 -2
  271. package/dist/core/p-155054f4.entry.js +2 -0
  272. package/dist/core/p-155054f4.entry.js.map +1 -0
  273. package/dist/core/p-19be677b.entry.js +2 -0
  274. package/dist/core/p-19be677b.entry.js.map +1 -0
  275. package/dist/core/p-20aae323.entry.js +2 -0
  276. package/dist/core/p-20aae323.entry.js.map +1 -0
  277. package/dist/core/{p-5348af01.entry.js → p-21ecca00.entry.js} +2 -2
  278. package/dist/core/p-21ecca00.entry.js.map +1 -0
  279. package/dist/core/{p-6fb3d61e.entry.js → p-22260ed4.entry.js} +2 -2
  280. package/dist/core/{p-bfc5f3f4.entry.js → p-2533d147.entry.js} +2 -2
  281. package/dist/core/p-2533d147.entry.js.map +1 -0
  282. package/dist/core/p-2ec4ced3.entry.js +2 -0
  283. package/dist/core/p-2ec4ced3.entry.js.map +1 -0
  284. package/dist/core/{p-8128572e.js → p-2fb52051.js} +2 -2
  285. package/dist/core/{p-06732eaf.entry.js → p-30d385c6.entry.js} +2 -2
  286. package/dist/core/p-30d385c6.entry.js.map +1 -0
  287. package/dist/core/p-3bd8a4fa.entry.js +2 -0
  288. package/dist/core/p-3bd8a4fa.entry.js.map +1 -0
  289. package/dist/core/{p-648fb902.entry.js → p-3f2ae26e.entry.js} +2 -2
  290. package/dist/core/p-3f2ae26e.entry.js.map +1 -0
  291. package/dist/core/{p-452985d9.entry.js → p-4188b38a.entry.js} +2 -2
  292. package/dist/core/p-4188b38a.entry.js.map +1 -0
  293. package/dist/core/{p-97f141a6.entry.js → p-41a53070.entry.js} +2 -2
  294. package/dist/core/p-41a53070.entry.js.map +1 -0
  295. package/dist/core/p-436d179b.entry.js +2 -0
  296. package/dist/core/p-436d179b.entry.js.map +1 -0
  297. package/dist/core/p-439d1a97.entry.js +2 -0
  298. package/dist/core/p-439d1a97.entry.js.map +1 -0
  299. package/dist/core/p-4974da93.entry.js +2 -0
  300. package/dist/core/p-4974da93.entry.js.map +1 -0
  301. package/dist/core/p-4d316a43.entry.js +2 -0
  302. package/dist/core/p-4d316a43.entry.js.map +1 -0
  303. package/dist/core/{p-5fea8f1c.entry.js → p-54306250.entry.js} +2 -2
  304. package/dist/core/{p-5fea8f1c.entry.js.map → p-54306250.entry.js.map} +1 -1
  305. package/dist/core/p-57527684.entry.js +2 -0
  306. package/dist/core/p-57527684.entry.js.map +1 -0
  307. package/dist/core/p-5a95dd44.entry.js +2 -0
  308. package/dist/core/p-5a95dd44.entry.js.map +1 -0
  309. package/dist/core/p-5cecbd1f.entry.js +2 -0
  310. package/dist/core/p-5cecbd1f.entry.js.map +1 -0
  311. package/dist/core/p-5e41f96d.entry.js +2 -0
  312. package/dist/core/p-5e41f96d.entry.js.map +1 -0
  313. package/dist/core/p-64826d54.entry.js +2 -0
  314. package/dist/core/p-64826d54.entry.js.map +1 -0
  315. package/dist/core/{p-216fbd5e.entry.js → p-64b1e4a8.entry.js} +2 -2
  316. package/dist/core/p-64b1e4a8.entry.js.map +1 -0
  317. package/dist/core/p-65cf6a11.entry.js +2 -0
  318. package/dist/core/p-65cf6a11.entry.js.map +1 -0
  319. package/dist/core/{p-b29e96b5.entry.js → p-6a5ffe7d.entry.js} +2 -2
  320. package/dist/core/p-6a5ffe7d.entry.js.map +1 -0
  321. package/dist/core/p-6c6c71ba.entry.js +2 -0
  322. package/dist/core/p-6c6c71ba.entry.js.map +1 -0
  323. package/dist/core/p-6f0e9434.entry.js +2 -0
  324. package/dist/core/p-6f0e9434.entry.js.map +1 -0
  325. package/dist/core/p-85cb6bb7.entry.js +2 -0
  326. package/dist/core/p-85cb6bb7.entry.js.map +1 -0
  327. package/dist/core/{p-67ae9d37.entry.js → p-88ba5a88.entry.js} +2 -2
  328. package/dist/core/{p-59993f36.entry.js → p-8c5b63c6.entry.js} +2 -2
  329. package/dist/core/p-8c5b63c6.entry.js.map +1 -0
  330. package/dist/core/p-8da08c05.entry.js +2 -0
  331. package/dist/core/p-8da08c05.entry.js.map +1 -0
  332. package/dist/core/p-98981fa7.entry.js +2 -0
  333. package/dist/core/p-98981fa7.entry.js.map +1 -0
  334. package/dist/core/p-9d3e0e60.entry.js +2 -0
  335. package/dist/core/p-9d3e0e60.entry.js.map +1 -0
  336. package/dist/core/p-a2194364.entry.js +2 -0
  337. package/dist/core/p-a2194364.entry.js.map +1 -0
  338. package/dist/core/{p-da8255b8.entry.js → p-a4d0f166.entry.js} +2 -2
  339. package/dist/core/p-a4d0f166.entry.js.map +1 -0
  340. package/dist/core/p-aaa6f849.entry.js +2 -0
  341. package/dist/core/p-aaa6f849.entry.js.map +1 -0
  342. package/dist/core/p-adbe0d89.js.map +1 -1
  343. package/dist/core/p-b4ab627a.entry.js +2 -0
  344. package/dist/core/p-b4ab627a.entry.js.map +1 -0
  345. package/dist/core/{p-a72af8db.entry.js → p-b6e208e3.entry.js} +2 -2
  346. package/dist/core/p-b7abaec8.entry.js +2 -0
  347. package/dist/core/p-b7abaec8.entry.js.map +1 -0
  348. package/dist/core/p-bc4aec3a.entry.js +2 -0
  349. package/dist/core/p-bc4aec3a.entry.js.map +1 -0
  350. package/dist/core/{p-6b01e096.entry.js → p-bcf04b18.entry.js} +2 -2
  351. package/dist/core/p-bcf04b18.entry.js.map +1 -0
  352. package/dist/core/{p-f09b2041.entry.js → p-be70c278.entry.js} +2 -2
  353. package/dist/core/{p-f09b2041.entry.js.map → p-be70c278.entry.js.map} +1 -1
  354. package/dist/core/p-bf009b9a.entry.js +2 -0
  355. package/dist/core/p-bf009b9a.entry.js.map +1 -0
  356. package/dist/core/{p-6b1fcf87.entry.js → p-cbd730aa.entry.js} +2 -2
  357. package/dist/core/p-cbd730aa.entry.js.map +1 -0
  358. package/dist/core/p-d76e24e4.entry.js +2 -0
  359. package/dist/core/p-d76e24e4.entry.js.map +1 -0
  360. package/dist/core/p-d7bf1057.entry.js +2 -0
  361. package/dist/core/p-d7bf1057.entry.js.map +1 -0
  362. package/dist/core/p-d9254b14.entry.js +2 -0
  363. package/dist/core/p-d9254b14.entry.js.map +1 -0
  364. package/dist/core/p-e20f8772.entry.js +2 -0
  365. package/dist/core/p-e20f8772.entry.js.map +1 -0
  366. package/dist/core/p-e26769b0.entry.js +2 -0
  367. package/dist/core/p-e26769b0.entry.js.map +1 -0
  368. package/dist/core/p-e2dba05a.entry.js +2 -0
  369. package/dist/core/p-e2dba05a.entry.js.map +1 -0
  370. package/dist/core/p-ec862c7e.entry.js +2 -0
  371. package/dist/core/p-ec862c7e.entry.js.map +1 -0
  372. package/dist/core/p-ef9175d8.entry.js +2 -0
  373. package/dist/core/p-ef9175d8.entry.js.map +1 -0
  374. package/dist/core/{p-787ffd96.entry.js → p-f1072c28.entry.js} +2 -2
  375. package/dist/core/{p-452985d9.entry.js.map → p-f1072c28.entry.js.map} +1 -1
  376. package/dist/core/p-f4db39eb.entry.js +2 -0
  377. package/dist/core/p-f4db39eb.entry.js.map +1 -0
  378. package/dist/esm/core.js +1 -1
  379. package/dist/esm/{helpers-886489d5.js → helpers-0f5fe29b.js} +2 -2
  380. package/dist/esm/{helpers-886489d5.js.map → helpers-0f5fe29b.js.map} +1 -1
  381. package/dist/esm/helpers-f543bc77.js.map +1 -1
  382. package/dist/esm/ic-accordion-group.entry.js +8 -8
  383. package/dist/esm/ic-accordion-group.entry.js.map +1 -1
  384. package/dist/esm/ic-accordion.entry.js +4 -4
  385. package/dist/esm/ic-accordion.entry.js.map +1 -1
  386. package/dist/esm/ic-alert.entry.js +1 -3
  387. package/dist/esm/ic-alert.entry.js.map +1 -1
  388. package/dist/esm/ic-back-to-top.entry.js +12 -15
  389. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  390. package/dist/esm/ic-badge.entry.js +15 -27
  391. package/dist/esm/ic-badge.entry.js.map +1 -1
  392. package/dist/esm/ic-breadcrumb-group.entry.js +4 -4
  393. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  394. package/dist/esm/ic-breadcrumb.entry.js +3 -3
  395. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  396. package/dist/esm/ic-button_3.entry.js +17 -17
  397. package/dist/esm/ic-button_3.entry.js.map +1 -1
  398. package/dist/esm/{ic-card.entry.js → ic-card-vertical.entry.js} +6 -6
  399. package/dist/esm/ic-card-vertical.entry.js.map +1 -0
  400. package/dist/esm/ic-checkbox-group.entry.js +6 -5
  401. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  402. package/dist/esm/ic-checkbox.entry.js +6 -15
  403. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  404. package/dist/esm/ic-chip.entry.js +3 -10
  405. package/dist/esm/ic-chip.entry.js.map +1 -1
  406. package/dist/esm/ic-classification-banner.entry.js +2 -2
  407. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  408. package/dist/esm/ic-data-list.entry.js +24 -0
  409. package/dist/esm/ic-data-list.entry.js.map +1 -0
  410. package/dist/esm/ic-data-row.entry.js +9 -10
  411. package/dist/esm/ic-data-row.entry.js.map +1 -1
  412. package/dist/esm/ic-data-table-title-bar.entry.js +1 -1
  413. package/dist/esm/ic-data-table-title-bar.entry.js.map +1 -1
  414. package/dist/esm/ic-date-picker.entry.js +2 -2
  415. package/dist/esm/ic-date-picker.entry.js.map +1 -1
  416. package/dist/esm/ic-dialog.entry.js +12 -97
  417. package/dist/esm/ic-dialog.entry.js.map +1 -1
  418. package/dist/esm/ic-divider.entry.js +1 -1
  419. package/dist/esm/ic-empty-state_2.entry.js +7 -7
  420. package/dist/esm/ic-empty-state_2.entry.js.map +1 -1
  421. package/dist/esm/ic-footer-link-group.entry.js +9 -9
  422. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  423. package/dist/esm/ic-footer-link.entry.js +6 -7
  424. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  425. package/dist/esm/ic-footer.entry.js +8 -8
  426. package/dist/esm/ic-footer.entry.js.map +1 -1
  427. package/dist/esm/ic-hero.entry.js +8 -9
  428. package/dist/esm/ic-hero.entry.js.map +1 -1
  429. package/dist/esm/ic-horizontal-scroll.entry.js +5 -5
  430. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  431. package/dist/esm/ic-input-component-container_4.entry.js +21 -25
  432. package/dist/esm/ic-input-component-container_4.entry.js.map +1 -1
  433. package/dist/esm/ic-link.entry.js +6 -7
  434. package/dist/esm/ic-link.entry.js.map +1 -1
  435. package/dist/esm/ic-menu-group.entry.js +1 -1
  436. package/dist/esm/ic-menu-item.entry.js +3 -3
  437. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  438. package/dist/esm/ic-menu-with-multi.entry.js +8 -10
  439. package/dist/esm/ic-menu-with-multi.entry.js.map +1 -1
  440. package/dist/esm/ic-menu.entry.js +8 -10
  441. package/dist/esm/ic-menu.entry.js.map +1 -1
  442. package/dist/esm/ic-navigation-button.entry.js +1 -1
  443. package/dist/esm/ic-navigation-group.entry.js +9 -9
  444. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  445. package/dist/esm/ic-navigation-item.entry.js +5 -5
  446. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  447. package/dist/esm/ic-navigation-menu.entry.js +2 -2
  448. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  449. package/dist/esm/ic-page-header.entry.js +7 -8
  450. package/dist/esm/ic-page-header.entry.js.map +1 -1
  451. package/dist/esm/ic-pagination_4.entry.js +95 -101
  452. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  453. package/dist/esm/ic-popover-menu.entry.js +3 -3
  454. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  455. package/dist/esm/ic-radio-group.entry.js +22 -26
  456. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  457. package/dist/esm/ic-radio-option.entry.js +5 -18
  458. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  459. package/dist/esm/ic-search-bar.entry.js +18 -24
  460. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  461. package/dist/esm/ic-select-with-multi.entry.js +12 -20
  462. package/dist/esm/ic-select-with-multi.entry.js.map +1 -1
  463. package/dist/esm/ic-side-navigation.entry.js +7 -7
  464. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  465. package/dist/esm/ic-skeleton.entry.js +4 -5
  466. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  467. package/dist/esm/ic-status-tag.entry.js +2 -11
  468. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  469. package/dist/esm/ic-step.entry.js +40 -43
  470. package/dist/esm/ic-step.entry.js.map +1 -1
  471. package/dist/esm/ic-stepper.entry.js +16 -16
  472. package/dist/esm/ic-stepper.entry.js.map +1 -1
  473. package/dist/esm/ic-switch.entry.js +5 -6
  474. package/dist/esm/ic-switch.entry.js.map +1 -1
  475. package/dist/esm/ic-tab-context.entry.js +0 -11
  476. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  477. package/dist/esm/ic-tab-group.entry.js +4 -5
  478. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  479. package/dist/esm/ic-tab-panel.entry.js +1 -8
  480. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  481. package/dist/esm/ic-tab.entry.js +4 -4
  482. package/dist/esm/ic-tab.entry.js.map +1 -1
  483. package/dist/esm/ic-theme.entry.js +1 -1
  484. package/dist/esm/ic-toast-region.entry.js +0 -7
  485. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  486. package/dist/esm/ic-toast.entry.js +83 -35
  487. package/dist/esm/ic-toast.entry.js.map +1 -1
  488. package/dist/esm/ic-toggle-button-group.entry.js +16 -16
  489. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
  490. package/dist/esm/ic-toggle-button.entry.js +13 -13
  491. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  492. package/dist/esm/ic-top-navigation.entry.js +4 -4
  493. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  494. package/dist/esm/ic-typography.entry.js +6 -6
  495. package/dist/esm/ic-typography.entry.js.map +1 -1
  496. package/dist/esm/index-93509377.js +10 -10
  497. package/dist/esm/loader.js +1 -1
  498. package/dist/types/components/ic-menu-with-multi/ic-menu.d.ts +0 -4
  499. package/dist/types/components/ic-select-with-multi/ic-select.d.ts +1 -31
  500. package/dist/types/components.d.ts +2 -66
  501. package/dist/types/utils/types.d.ts +1 -1
  502. package/hydrate/index.js +756 -971
  503. package/package.json +3 -3
  504. package/dist/cjs/ic-card.cjs.entry.js.map +0 -1
  505. package/dist/cjs/ic-data-entity.cjs.entry.js +0 -29
  506. package/dist/cjs/ic-data-entity.cjs.entry.js.map +0 -1
  507. package/dist/components/ic-alert2.js +0 -133
  508. package/dist/components/ic-alert2.js.map +0 -1
  509. package/dist/components/ic-card.js.map +0 -1
  510. package/dist/components/ic-data-entity.js +0 -53
  511. package/dist/components/ic-data-entity.js.map +0 -1
  512. package/dist/core/p-0180e00a.entry.js.map +0 -1
  513. package/dist/core/p-046f4de6.entry.js +0 -2
  514. package/dist/core/p-046f4de6.entry.js.map +0 -1
  515. package/dist/core/p-06732eaf.entry.js.map +0 -1
  516. package/dist/core/p-0ec04c16.entry.js.map +0 -1
  517. package/dist/core/p-13993bf3.entry.js +0 -2
  518. package/dist/core/p-13993bf3.entry.js.map +0 -1
  519. package/dist/core/p-16a48a63.entry.js +0 -2
  520. package/dist/core/p-16a48a63.entry.js.map +0 -1
  521. package/dist/core/p-216fbd5e.entry.js.map +0 -1
  522. package/dist/core/p-2d063032.entry.js +0 -2
  523. package/dist/core/p-2d063032.entry.js.map +0 -1
  524. package/dist/core/p-2ee5d3fb.entry.js +0 -2
  525. package/dist/core/p-2ee5d3fb.entry.js.map +0 -1
  526. package/dist/core/p-355c8532.entry.js +0 -2
  527. package/dist/core/p-355c8532.entry.js.map +0 -1
  528. package/dist/core/p-3a59391f.entry.js +0 -2
  529. package/dist/core/p-3a59391f.entry.js.map +0 -1
  530. package/dist/core/p-3ba4335c.entry.js +0 -2
  531. package/dist/core/p-3ba4335c.entry.js.map +0 -1
  532. package/dist/core/p-3f2723aa.entry.js +0 -2
  533. package/dist/core/p-3f2723aa.entry.js.map +0 -1
  534. package/dist/core/p-413e68be.entry.js +0 -2
  535. package/dist/core/p-413e68be.entry.js.map +0 -1
  536. package/dist/core/p-418a84d4.entry.js +0 -2
  537. package/dist/core/p-418a84d4.entry.js.map +0 -1
  538. package/dist/core/p-41916ef7.entry.js +0 -2
  539. package/dist/core/p-41916ef7.entry.js.map +0 -1
  540. package/dist/core/p-486a6957.entry.js +0 -2
  541. package/dist/core/p-486a6957.entry.js.map +0 -1
  542. package/dist/core/p-5348af01.entry.js.map +0 -1
  543. package/dist/core/p-57043b1e.entry.js +0 -2
  544. package/dist/core/p-57043b1e.entry.js.map +0 -1
  545. package/dist/core/p-59993f36.entry.js.map +0 -1
  546. package/dist/core/p-6358925c.entry.js +0 -2
  547. package/dist/core/p-6358925c.entry.js.map +0 -1
  548. package/dist/core/p-6398a726.entry.js +0 -2
  549. package/dist/core/p-6398a726.entry.js.map +0 -1
  550. package/dist/core/p-648fb902.entry.js.map +0 -1
  551. package/dist/core/p-673a4a62.entry.js +0 -2
  552. package/dist/core/p-673a4a62.entry.js.map +0 -1
  553. package/dist/core/p-6b01e096.entry.js.map +0 -1
  554. package/dist/core/p-6b1fcf87.entry.js.map +0 -1
  555. package/dist/core/p-787ffd96.entry.js.map +0 -1
  556. package/dist/core/p-789ae7f5.entry.js +0 -2
  557. package/dist/core/p-789ae7f5.entry.js.map +0 -1
  558. package/dist/core/p-89c7ea3e.entry.js +0 -2
  559. package/dist/core/p-89c7ea3e.entry.js.map +0 -1
  560. package/dist/core/p-8d276e8f.entry.js +0 -2
  561. package/dist/core/p-8d276e8f.entry.js.map +0 -1
  562. package/dist/core/p-969cadfa.entry.js +0 -2
  563. package/dist/core/p-969cadfa.entry.js.map +0 -1
  564. package/dist/core/p-9777ebb1.entry.js +0 -2
  565. package/dist/core/p-9777ebb1.entry.js.map +0 -1
  566. package/dist/core/p-97f141a6.entry.js.map +0 -1
  567. package/dist/core/p-99185fd5.entry.js +0 -2
  568. package/dist/core/p-99185fd5.entry.js.map +0 -1
  569. package/dist/core/p-99f96c33.entry.js +0 -2
  570. package/dist/core/p-99f96c33.entry.js.map +0 -1
  571. package/dist/core/p-a052bb95.entry.js +0 -2
  572. package/dist/core/p-a052bb95.entry.js.map +0 -1
  573. package/dist/core/p-a787bba7.entry.js +0 -2
  574. package/dist/core/p-a787bba7.entry.js.map +0 -1
  575. package/dist/core/p-aa72f551.entry.js +0 -2
  576. package/dist/core/p-aa72f551.entry.js.map +0 -1
  577. package/dist/core/p-aaaa9261.entry.js +0 -2
  578. package/dist/core/p-aaaa9261.entry.js.map +0 -1
  579. package/dist/core/p-b29e96b5.entry.js.map +0 -1
  580. package/dist/core/p-b97eba08.entry.js +0 -2
  581. package/dist/core/p-b97eba08.entry.js.map +0 -1
  582. package/dist/core/p-bfc5f3f4.entry.js.map +0 -1
  583. package/dist/core/p-cb3afdbf.entry.js +0 -2
  584. package/dist/core/p-cb3afdbf.entry.js.map +0 -1
  585. package/dist/core/p-ccf72538.entry.js +0 -2
  586. package/dist/core/p-ccf72538.entry.js.map +0 -1
  587. package/dist/core/p-ce0999f1.entry.js +0 -2
  588. package/dist/core/p-ce0999f1.entry.js.map +0 -1
  589. package/dist/core/p-d02a4d1b.entry.js +0 -2
  590. package/dist/core/p-d02a4d1b.entry.js.map +0 -1
  591. package/dist/core/p-d8322108.entry.js +0 -2
  592. package/dist/core/p-d8322108.entry.js.map +0 -1
  593. package/dist/core/p-da8255b8.entry.js.map +0 -1
  594. package/dist/core/p-e9f5ebb3.entry.js +0 -2
  595. package/dist/core/p-e9f5ebb3.entry.js.map +0 -1
  596. package/dist/core/p-f1044e4d.entry.js +0 -2
  597. package/dist/core/p-f1044e4d.entry.js.map +0 -1
  598. package/dist/core/p-f10f7f37.entry.js +0 -2
  599. package/dist/core/p-f10f7f37.entry.js.map +0 -1
  600. package/dist/core/p-fa77211d.entry.js +0 -2
  601. package/dist/core/p-fa77211d.entry.js.map +0 -1
  602. package/dist/esm/ic-card.entry.js.map +0 -1
  603. package/dist/esm/ic-data-entity.entry.js +0 -25
  604. package/dist/esm/ic-data-entity.entry.js.map +0 -1
  605. /package/dist/core/{p-d86cdbc8.entry.js.map → p-125bc120.entry.js.map} +0 -0
  606. /package/dist/core/{p-6fb3d61e.entry.js.map → p-22260ed4.entry.js.map} +0 -0
  607. /package/dist/core/{p-8128572e.js.map → p-2fb52051.js.map} +0 -0
  608. /package/dist/core/{p-67ae9d37.entry.js.map → p-88ba5a88.entry.js.map} +0 -0
  609. /package/dist/core/{p-a72af8db.entry.js.map → p-b6e208e3.entry.js.map} +0 -0
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-93509377.js';
2
- import { n as removeFormResetListener, i as isSlotUsed, m as addFormResetListener, k as removeDisabledFalse, a as onComponentRequiredPropUndefined, d as isPropDefined } from './helpers-886489d5.js';
2
+ import { n as removeFormResetListener, i as isSlotUsed, m as addFormResetListener, k as removeDisabledFalse, a as onComponentRequiredPropUndefined, v as slotHasContent, e as isPropDefined } from './helpers-0f5fe29b.js';
3
3
  import './types-f605c21c.js';
4
4
 
5
- const icRadioOptionCss = "/*! 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-direction:column;width:-moz-fit-content;width:fit-content}:host([additional-field-display=\"static\"]) ::slotted(ic-text-field){margin-top:calc(var(--ic-space-sm) / 2);margin-left:var(--ic-space-xl)}:host(.disabled){color:var(--ic-architectural-200)}.container input:focus+span.checkmark,:host(:focus) .container input:checked+span.checkmark{box-shadow:var(--ic-border-focus)}.container{display:grid;grid-template-columns:min-content auto;position:relative;cursor:pointer;align-items:center;margin:var(--ic-space-xxs) 0 var(--ic-space-xxs) var(--ic-space-xxs)}.container.disabled,.container.disabled input:disabled{cursor:default}.container input{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-block;position:absolute;cursor:pointer;height:var(--ic-space-lg);width:var(--ic-space-lg);border-radius:50%;border:none}.checkmark{display:block;position:relative;top:0;left:0;height:var(--ic-space-lg);width:var(--ic-space-lg);background-color:var(--ic-architectural-white);border:var(--ic-border-default);border-radius:50%;transition:var(--ic-easing-transition-fast);box-sizing:border-box}.container input:checked~.checkmark::after{display:inline-block}.container:hover input~.checkmark{background-color:var(--ic-action-default-bg-hover-no-alpha);box-shadow:0 0 0 0.25rem var(--ic-action-default-bg-hover);border:var(--ic-border-width) solid var(--ic-action-default)}.container:active input~.checkmark{background-color:var(--ic-action-default-bg-active-no-alpha);border:var(--ic-border-width) solid var(--ic-action-default-active);box-shadow:0 0 0 0.25rem var(--ic-action-default-bg-active)}.container:active input:checked~.checkmark{background-color:var(--ic-action-default-bg-active);border:0.125rem solid var(--ic-action-default-active);box-shadow:0 0 0 0.25rem var(--ic-action-default-bg-active)}.container:active input:checked~.checkmark::after{background-color:var(--ic-action-default-active)}.container input:checked~.checkmark{border:0.125rem solid var(--ic-action-default)}.container input:checked:disabled~.checkmark{background-color:var(--ic-architectural-white);border:0.125rem solid var(--ic-architectural-200)}.container input:disabled~.checkmark{border:var(--ic-border-width) dashed var(--ic-architectural-200)}.container input:disabled~.checkmark::after{background:var(--ic-architectural-200)}.container:hover input:disabled~.checkmark{background-color:var(--ic-architectural-white);box-shadow:none;border:0.125rem solid none}.container:active input:disabled~.checkmark::after{background-color:var(--ic-architectural-200)}.container .checkmark::after{content:\"\";position:absolute;display:none;top:calc(50% - var(--ic-space-xs));left:calc(50% - var(--ic-space-xs));width:var(--ic-space-md);height:var(--ic-space-md);border-radius:50%;background:var(--ic-action-default)}.radio-label{margin-left:var(--ic-space-md)}.additional-field-wrapper{margin-left:var(--ic-space-xs)}.branch-corner{color:var(--ic-action-default);height:var(--ic-space-md);width:var(--ic-space-xl);border-radius:0 0 0 0.188rem;border-bottom:0.125rem solid var(--ic-action-default);border-left:0.125rem solid var(--ic-action-default);margin-left:calc(-1 * var(--ic-space-1px))}.dynamic-container{display:flex;position:relative;margin:var(--ic-space-xxxs) 0 var(--ic-space-xxs) var(--ic-space-md);gap:var(--ic-space-xs)}.dynamic-container.hidden{display:none}.dynamic-text{color:var(--ic-action-default);margin-top:calc(var(--ic-space-sm) / 2);margin-bottom:var(--ic-space-xs);border-radius:2%}@media (max-width: 576px){::slotted(ic-text-field){--input-width:100%}}@media (forced-colors: active){.container input:checked~.checkmark,.container:active input:checked~.checkmark{border-color:Highlight}.container input:checked~.checkmark::after,.container:active input:checked~.checkmark::after{background-color:Highlight}.container input:disabled~.checkmark,.container input:checked:disabled~.checkmark{border-color:GrayText}.container input:disabled~.checkmark::after,.container:active input:disabled~.checkmark::after{background-color:GrayText}}";
5
+ const icRadioOptionCss = "/*! 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}ic-radio-option{display:flex;flex-direction:column;width:-moz-fit-content;width:fit-content}.additional-field-wrapper ic-text-field{margin-top:calc(var(--ic-space-sm) / 2);margin-left:var(--ic-space-xl)}ic-radio-option.ic-radio-option-disabled{color:var(--ic-architectural-200)}.container input:focus+span.checkmark,:host(:focus) .container input:checked+span.checkmark{box-shadow:var(--ic-border-focus)}.container{display:grid;grid-template-columns:min-content auto;position:relative;cursor:pointer;align-items:center;margin:var(--ic-space-xxs) 0 var(--ic-space-xxs) var(--ic-space-xxs)}.container.disabled,.container.disabled input:disabled{cursor:default}.container input{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-block;position:absolute;cursor:pointer;height:var(--ic-space-lg);width:var(--ic-space-lg);border-radius:50%;border:none}.checkmark{display:block;position:relative;top:0;left:0;height:var(--ic-space-lg);width:var(--ic-space-lg);background-color:var(--ic-architectural-white);border:var(--ic-border-default);border-radius:50%;transition:var(--ic-easing-transition-fast);box-sizing:border-box}.container input:checked~.checkmark::after{display:inline-block}.container:hover input~.checkmark{background-color:var(--ic-action-default-bg-hover-no-alpha);box-shadow:0 0 0 0.25rem var(--ic-action-default-bg-hover);border:var(--ic-border-width) solid var(--ic-action-default)}.container:active input~.checkmark{background-color:var(--ic-action-default-bg-active-no-alpha);border:var(--ic-border-width) solid var(--ic-action-default-active);box-shadow:0 0 0 0.25rem var(--ic-action-default-bg-active)}.container:active input:checked~.checkmark{background-color:var(--ic-action-default-bg-active);border:0.125rem solid var(--ic-action-default-active);box-shadow:0 0 0 0.25rem var(--ic-action-default-bg-active)}.container:active input:checked~.checkmark::after{background-color:var(--ic-action-default-active)}.container input:checked~.checkmark{border:0.125rem solid var(--ic-action-default)}.container input:checked:disabled~.checkmark{background-color:var(--ic-architectural-white);border:0.125rem solid var(--ic-architectural-200)}.container input:disabled~.checkmark{border:var(--ic-border-width) dashed var(--ic-architectural-200)}.container input:disabled~.checkmark::after{background:var(--ic-architectural-200)}.container:hover input:disabled~.checkmark{background-color:var(--ic-architectural-white);box-shadow:none;border:0.125rem solid none}.container:active input:disabled~.checkmark::after{background-color:var(--ic-architectural-200)}.container .checkmark::after{content:\"\";position:absolute;display:none;top:calc(50% - var(--ic-space-xs));left:calc(50% - var(--ic-space-xs));width:var(--ic-space-md);height:var(--ic-space-md);border-radius:50%;background:var(--ic-action-default)}.radio-label{margin-left:var(--ic-space-md)}.additional-field-wrapper{margin-left:var(--ic-space-xs)}.branch-corner{color:var(--ic-action-default);height:var(--ic-space-md);width:var(--ic-space-xl);border-radius:0 0 0 0.188rem;border-bottom:0.125rem solid var(--ic-action-default);border-left:0.125rem solid var(--ic-action-default);margin-left:calc(-1 * var(--ic-space-1px))}.dynamic-container{display:flex;position:relative;margin:var(--ic-space-xxxs) 0 var(--ic-space-xxs) var(--ic-space-md);gap:var(--ic-space-xs)}.dynamic-container.hidden{display:none}.dynamic-text{color:var(--ic-action-default);margin-top:calc(var(--ic-space-sm) / 2);margin-bottom:var(--ic-space-xs);border-radius:2%}@media (max-width: 576px){ic-text-field{--input-width:100%}}@media (forced-colors: active){.container input:checked~.checkmark,.container:active input:checked~.checkmark{border-color:Highlight}.container input:checked~.checkmark::after,.container:active input:checked~.checkmark::after{background-color:Highlight}.container input:disabled~.checkmark,.container input:checked:disabled~.checkmark{border-color:GrayText}.container input:disabled~.checkmark::after,.container:active input:disabled~.checkmark::after{background-color:GrayText}}";
6
6
 
7
7
  const ADDITIONAL_FIELD = "additional-field";
8
8
  const TEXT_FIELD_SELECTOR = "ic-text-field";
@@ -10,7 +10,6 @@ const RadioOption = class {
10
10
  constructor(hostRef) {
11
11
  registerInstance(this, hostRef);
12
12
  this.icCheck = createEvent(this, "icCheck", 7);
13
- this.radioOptionSelect = createEvent(this, "radioOptionSelect", 7);
14
13
  this.icSelectedChange = createEvent(this, "icSelectedChange", 7);
15
14
  this.defaultRadioValue = "";
16
15
  this.hasAdditionalField = false;
@@ -29,9 +28,6 @@ const RadioOption = class {
29
28
  this.icCheck.emit({
30
29
  value: this.value,
31
30
  });
32
- this.radioOptionSelect.emit({
33
- value: this.value,
34
- });
35
31
  }
36
32
  };
37
33
  this.swallowClick = (event) => {
@@ -45,11 +41,6 @@ const RadioOption = class {
45
41
  this.disabled = false;
46
42
  this.dynamicText = "This selection requires additional answers";
47
43
  this.form = undefined;
48
- this.formaction = undefined;
49
- this.formenctype = undefined;
50
- this.formmethod = undefined;
51
- this.formnovalidate = undefined;
52
- this.formtarget = undefined;
53
44
  this.groupLabel = undefined;
54
45
  this.label = undefined;
55
46
  this.name = undefined;
@@ -78,7 +69,7 @@ const RadioOption = class {
78
69
  onComponentRequiredPropUndefined([{ prop: this.value, propName: "value" }], "Radio Option");
79
70
  }
80
71
  componentWillRender() {
81
- const hasSlot = isSlotUsed(this.el, ADDITIONAL_FIELD);
72
+ const hasSlot = slotHasContent(this.el, ADDITIONAL_FIELD);
82
73
  if (hasSlot && !this.hasAdditionalField) {
83
74
  this.hasAdditionalField = true;
84
75
  const textField = this.el.querySelector(TEXT_FIELD_SELECTOR);
@@ -106,9 +97,6 @@ const RadioOption = class {
106
97
  this.icCheck.emit({
107
98
  value: this.value,
108
99
  });
109
- this.radioOptionSelect.emit({
110
- value: this.value,
111
- });
112
100
  }
113
101
  event.stopImmediatePropagation();
114
102
  }
@@ -126,16 +114,15 @@ const RadioOption = class {
126
114
  this.radioElement.tabIndex = value;
127
115
  }
128
116
  render() {
129
- const { additionalFieldDisplay, disabled, dynamicText, form, formaction, formenctype, formmethod, formnovalidate, formtarget, groupLabel, handleClick, hasAdditionalField, label, name, selected, swallowClick, value, } = this;
117
+ const { additionalFieldDisplay, disabled, dynamicText, form, groupLabel, handleClick, hasAdditionalField, label, name, selected, swallowClick, value, } = this;
130
118
  const id = `ic-radio-option-${isPropDefined(label) || value}-${groupLabel}`;
131
- return (h(Host, { onClick: handleClick, class: { disabled } }, h("div", { class: { ["container"]: true, disabled } }, h("div", null, h("input", { role: "radio", tabindex: selected ? "0" : "-1", type: "radio", name: name, id: id, value: value, disabled: disabled ? true : null, checked: selected, ref: (el) => (this.radioElement = el), form: form, formaction: formaction, formenctype: formenctype, formmethod: formmethod, formnovalidate: formnovalidate, formtarget: formtarget }), h("span", { class: "checkmark" })), h("ic-typography", { class: "radio-label", variant: "body" }, h("label", { htmlFor: id }, label))), hasAdditionalField && (h("div", { onClick: swallowClick, class: {
119
+ return (h(Host, { onClick: handleClick, class: { ["ic-radio-option-disabled"]: disabled } }, h("div", { class: { container: true, disabled } }, h("div", null, h("input", { tabindex: selected ? "0" : "-1", type: "radio", name: name, id: id, value: value, disabled: disabled ? true : null, checked: selected, ref: (el) => (this.radioElement = el), form: form }), h("span", { class: "checkmark" })), h("ic-typography", { class: "radio-label", variant: "body" }, h("label", { htmlFor: id }, label))), hasAdditionalField && (h("div", { onClick: swallowClick, class: {
132
120
  "dynamic-container": true,
133
121
  hidden: additionalFieldDisplay === "dynamic" && !selected,
134
122
  } }, additionalFieldDisplay === "dynamic" && (h("div", { class: "branch-corner" })), h("div", null, additionalFieldDisplay === "dynamic" && (h("ic-typography", { variant: "caption" }, h("p", { class: "dynamic-text" }, dynamicText))), h("div", { class: {
135
123
  "additional-field-wrapper": additionalFieldDisplay === "static",
136
124
  } }, h("slot", { name: ADDITIONAL_FIELD })))))));
137
125
  }
138
- static get delegatesFocus() { return true; }
139
126
  get el() { return getElement(this); }
140
127
  static get watchers() { return {
141
128
  "selected": ["watchSelectedHandler"]
@@ -1 +1 @@
1
- {"file":"ic-radio-option.entry.js","mappings":";;;;AAAA,MAAM,gBAAgB,GAAG,82MAA82M;;ACEv4M,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;AAC5C,MAAM,mBAAmB,GAAG,eAAe,CAAC;MAI/B,WAAW;IACpB;;;;;QACI,IAAI,CAAC,iBAAiB,GAAG,EAAE,CAAC;QAC5B,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QAChC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QACvB,IAAI,CAAC,WAAW,GAAG;YACf,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;gBAChB,IAAI,IAAI,CAAC,SAAS,KAAK,KAAK,EAAE;oBAC1B,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC;iBAC7B;gBACD,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;gBACvB,IAAI,IAAI,CA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a,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,kBAAkB,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE;gBAChqB,mBAAmB,EAAE,IAAI;gBACzB,MAAM,EAAE,sBAAsB,KAAK,SAAS,IAAI,CAAC,QAAQ;aAC5D,EAAE,EAAE,sBAAsB,KAAK,SAAS,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,IAAI,EAAE,sBAAsB,KAAK,SAAS,KAAK,CAAC,CAAC,eAAe,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE;gBACxP,0BAA0B,EAAE,sBAAsB,KAAK,QAAQ;aAClE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;KACxD;IAGD,WAAW,cAAc,KAAK,OAAO,IAAI,CAAC,EAAE;;;;;;;;;;","names":[],"sources":["../web-components/dist/collection/components/ic-radio-option/ic-radio-option.css?tag=ic-radio-option&encapsulation=shadow","../web-components/dist/collection/components/ic-radio-option/ic-radio-option.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n display: flex;\n flex-direction: column;\n width: -moz-fit-content;\n width: fit-content;\n}\n\n:host([additional-field-display=\"static\"]) ::slotted(ic-text-field) {\n margin-top: calc(var(--ic-space-sm) / 2);\n margin-left: var(--ic-space-xl);\n}\n\n/* The label turns grey when disabled */\n:host(.disabled) {\n color: var(--ic-architectural-200);\n}\n\n/* Focus states */\n\n.container input:focus + span.checkmark,\n:host(:focus) .container input:checked + span.checkmark {\n box-shadow: var(--ic-border-focus);\n}\n\n/* The container */\n.container {\n display: grid;\n grid-template-columns: min-content auto;\n position: relative;\n cursor: pointer;\n align-items: center;\n margin: var(--ic-space-xxs) 0 var(--ic-space-xxs) var(--ic-space-xxs);\n}\n\n.container.disabled,\n.container.disabled input:disabled {\n cursor: default;\n}\n\n/* Hide the browser's default radio button */\n.container input {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n display: inline-block;\n position: absolute;\n cursor: pointer;\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n border-radius: 50%;\n border: none;\n}\n\n/* Create a custom radio button */\n.checkmark {\n display: block;\n position: relative;\n top: 0;\n left: 0;\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n background-color: var(--ic-architectural-white);\n border: var(--ic-border-default);\n border-radius: 50%;\n transition: var(--ic-easing-transition-fast);\n box-sizing: border-box;\n}\n\n/* Show the indicator (dot/circle) when checked */\n.container input:checked ~ .checkmark::after {\n display: inline-block;\n}\n\n/* On mouse-over, add a light blue background color */\n.container:hover input ~ .checkmark {\n background-color: var(--ic-action-default-bg-hover-no-alpha);\n box-shadow: 0 0 0 0.25rem var(--ic-action-default-bg-hover);\n border: var(--ic-border-width) solid var(--ic-action-default);\n}\n\n/* When pressed, adds the active colours */\n.container:active input ~ .checkmark {\n background-color: var(--ic-action-default-bg-active-no-alpha);\n border: var(--ic-border-width) solid var(--ic-action-default-active);\n box-shadow: 0 0 0 0.25rem var(--ic-action-default-bg-active);\n}\n\n/* When pressed, adds the active colours */\n.container:active input:checked ~ .checkmark {\n background-color: var(--ic-action-default-bg-active);\n border: 0.125rem solid var(--ic-action-default-active);\n box-shadow: 0 0 0 0.25rem var(--ic-action-default-bg-active);\n}\n\n/* When pressed and selected, adds the active colours */\n.container:active input:checked ~ .checkmark::after {\n background-color: var(--ic-action-default-active);\n}\n\n/* When the radio button is checked */\n.container input:checked ~ .checkmark {\n border: 0.125rem solid var(--ic-action-default);\n}\n\n/* When the radio button is checked and disabled */\n.container input:checked:disabled ~ .checkmark {\n background-color: var(--ic-architectural-white);\n border: 0.125rem solid var(--ic-architectural-200);\n}\n\n/* When the radio button is disabled */\n.container input:disabled ~ .checkmark {\n border: var(--ic-border-width) dashed var(--ic-architectural-200);\n}\n\n/* When the radio button is disabled */\n.container input:disabled ~ .checkmark::after {\n background: var(--ic-architectural-200);\n}\n\n/* On mouse-over inactive */\n.container:hover input:disabled ~ .checkmark {\n background-color: var(--ic-architectural-white);\n box-shadow: none;\n border: 0.125rem solid none;\n}\n\n.container:active input:disabled ~ .checkmark::after {\n background-color: var(--ic-architectural-200);\n}\n\n/* Style the indicator (dot/circle) */\n.container .checkmark::after {\n content: \"\";\n position: absolute;\n display: none;\n top: calc(50% - var(--ic-space-xs));\n left: calc(50% - var(--ic-space-xs));\n width: var(--ic-space-md);\n height: var(--ic-space-md);\n border-radius: 50%;\n background: var(--ic-action-default);\n}\n\n.radio-label {\n margin-left: var(--ic-space-md);\n}\n\n.additional-field-wrapper {\n margin-left: var(--ic-space-xs);\n}\n\n/* The line */\n.branch-corner {\n color: var(--ic-action-default);\n height: var(--ic-space-md);\n width: var(--ic-space-xl);\n border-radius: 0 0 0 0.188rem;\n border-bottom: 0.125rem solid var(--ic-action-default);\n border-left: 0.125rem solid var(--ic-action-default);\n margin-left: calc(-1 * var(--ic-space-1px));\n}\n\n/* The dynamic container */\n.dynamic-container {\n display: flex;\n position: relative;\n margin: var(--ic-space-xxxs) 0 var(--ic-space-xxs) var(--ic-space-md);\n gap: var(--ic-space-xs);\n}\n\n.dynamic-container.hidden {\n display: none;\n}\n\n.dynamic-text {\n color: var(--ic-action-default);\n margin-top: calc(var(--ic-space-sm) / 2);\n margin-bottom: var(--ic-space-xs);\n border-radius: 2%;\n}\n\n@media (max-width: 576px) {\n ::slotted(ic-text-field) {\n --input-width: 100%;\n }\n}\n\n@media (forced-colors: active) {\n /* Styles here only apply to Forced Colors Mode */\n\n .container input:checked ~ .checkmark,\n .container:active input:checked ~ .checkmark {\n border-color: Highlight;\n }\n\n .container input:checked ~ .checkmark::after,\n .container:active input:checked ~ .checkmark::after {\n background-color: Highlight;\n }\n\n .container input:disabled ~ .checkmark,\n .container input:checked:disabled ~ .checkmark {\n border-color: GrayText;\n }\n\n .container input:disabled ~ .checkmark::after,\n .container:active input:disabled ~ .checkmark::after {\n background-color: GrayText;\n }\n}\n","import { Host, h, } from \"@stencil/core\";\nimport { onComponentRequiredPropUndefined, addFormResetListener, removeFormResetListener, removeDisabledFalse, isPropDefined, isSlotUsed, } from \"../../utils/helpers\";\nconst ADDITIONAL_FIELD = \"additional-field\";\nconst TEXT_FIELD_SELECTOR = \"ic-text-field\";\n/**\n * @slot additional-field - Content to displayed alongside a radio option.\n */\nexport class RadioOption {\n constructor() {\n this.defaultRadioValue = \"\";\n this.hasAdditionalField = false;\n this.skipFocus = false;\n this.handleClick = () => {\n if (!this.disabled) {\n if (this.skipFocus === false) {\n this.radioElement.focus();\n }\n this.skipFocus = false;\n if (this.hasAdditionalField) {\n this.value =\n this.el.querySelector(TEXT_FIELD_SELECTOR).value ||\n this.defaultRadioValue;\n }\n this.icCheck.emit({\n value: this.value,\n });\n this.radioOptionSelect.emit({\n value: this.value,\n });\n }\n };\n this.swallowClick = (event) => {\n event.stopPropagation();\n };\n this.handleFormReset = () => {\n this.skipFocus = true;\n this.selected = this.initiallySelected;\n };\n this.additionalFieldDisplay = \"static\";\n this.disabled = false;\n this.dynamicText = \"This selection requires additional answers\";\n this.form = undefined;\n this.formaction = undefined;\n this.formenctype = undefined;\n this.formmethod = undefined;\n this.formnovalidate = undefined;\n this.formtarget = undefined;\n this.groupLabel = undefined;\n this.label = undefined;\n this.name = undefined;\n this.value = undefined;\n this.selected = false;\n this.initiallySelected = this.selected;\n }\n watchSelectedHandler() {\n this.icSelectedChange.emit();\n }\n disconnectedCallback() {\n removeFormResetListener(this.el, this.handleFormReset);\n }\n componentWillLoad() {\n if (isSlotUsed(this.el, ADDITIONAL_FIELD)) {\n this.hasAdditionalField = true;\n const textField = this.el.querySelector(TEXT_FIELD_SELECTOR);\n if (textField)\n textField.hiddenInput = false;\n }\n this.defaultRadioValue = this.value;\n addFormResetListener(this.el, this.handleFormReset);\n removeDisabledFalse(this.disabled, this.el);\n }\n componentDidLoad() {\n onComponentRequiredPropUndefined([{ prop: this.value, propName: \"value\" }], \"Radio Option\");\n }\n componentWillRender() {\n const hasSlot = isSlotUsed(this.el, ADDITIONAL_FIELD);\n if (hasSlot && !this.hasAdditionalField) {\n this.hasAdditionalField = true;\n const textField = this.el.querySelector(TEXT_FIELD_SELECTOR);\n if (textField)\n textField.hiddenInput = false;\n }\n else if (!hasSlot && this.hasAdditionalField) {\n this.hasAdditionalField = false;\n }\n }\n componentDidRender() {\n if (this.additionalFieldDisplay === \"static\") {\n const textfield = this.el.querySelector(TEXT_FIELD_SELECTOR);\n if (!this.selected || this.disabled) {\n textfield === null || textfield === void 0 ? void 0 : textfield.setAttribute(\"disabled\", \"\");\n }\n else {\n textfield === null || textfield === void 0 ? void 0 : textfield.removeAttribute(\"disabled\");\n }\n }\n }\n textfieldValueHandler(event) {\n if (this.selected) {\n this.value = event.detail.value || this.defaultRadioValue;\n this.icCheck.emit({\n value: this.value,\n });\n this.radioOptionSelect.emit({\n value: this.value,\n });\n }\n event.stopImmediatePropagation();\n }\n /**\n * Sets focus on the radio option.\n */\n async setFocus() {\n var _a;\n (_a = this.radioElement) === null || _a === void 0 ? void 0 : _a.focus();\n }\n /**\n * @internal Sets the tabIndex of the radio option.\n */\n async setTabIndex(value) {\n this.radioElement.tabIndex = value;\n }\n render() {\n const { additionalFieldDisplay, disabled, dynamicText, form, formaction, formenctype, formmethod, formnovalidate, formtarget, groupLabel, handleClick, hasAdditionalField, label, name, selected, swallowClick, value, } = this;\n const id = `ic-radio-option-${isPropDefined(label) || value}-${groupLabel}`;\n return (h(Host, { onClick: handleClick, class: { disabled } }, h(\"div\", { class: { [\"container\"]: true, disabled } }, h(\"div\", null, h(\"input\", { role: \"radio\", tabindex: selected ? \"0\" : \"-1\", type: \"radio\", name: name, id: id, value: value, disabled: disabled ? true : null, checked: selected, ref: (el) => (this.radioElement = el), form: form, formaction: formaction, formenctype: formenctype, formmethod: formmethod, formnovalidate: formnovalidate, formtarget: formtarget }), h(\"span\", { class: \"checkmark\" })), h(\"ic-typography\", { class: \"radio-label\", variant: \"body\" }, h(\"label\", { htmlFor: id }, label))), hasAdditionalField && (h(\"div\", { onClick: swallowClick, class: {\n \"dynamic-container\": true,\n hidden: additionalFieldDisplay === \"dynamic\" && !selected,\n } }, additionalFieldDisplay === \"dynamic\" && (h(\"div\", { class: \"branch-corner\" })), h(\"div\", null, additionalFieldDisplay === \"dynamic\" && (h(\"ic-typography\", { variant: \"caption\" }, h(\"p\", { class: \"dynamic-text\" }, dynamicText))), h(\"div\", { class: {\n \"additional-field-wrapper\": additionalFieldDisplay === \"static\",\n } }, h(\"slot\", { name: ADDITIONAL_FIELD })))))));\n }\n static get is() { return \"ic-radio-option\"; }\n static get encapsulation() { return \"shadow\"; }\n static get delegatesFocus() { return true; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-radio-option.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-radio-option.css\"]\n };\n }\n static get properties() {\n return {\n \"additionalFieldDisplay\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcAdditionalFieldTypes\",\n \"resolved\": \"\\\"dynamic\\\" | \\\"static\\\"\",\n \"references\": {\n \"IcAdditionalFieldTypes\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcAdditionalFieldTypes\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The style of additionalField that will be displayed if used.\"\n },\n \"attribute\": \"additional-field-display\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"static\\\"\"\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the disabled state will be set.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"dynamicText\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The text to be displayed when dynamic.\"\n },\n \"attribute\": \"dynamic-text\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"This selection requires additional answers\\\"\"\n },\n \"form\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The <form> element to associate the radio with.\"\n },\n \"attribute\": \"form\",\n \"reflect\": false\n },\n \"formaction\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The URL that processes the information submitted by the radio. It overrides the action attribute of the radio's form owner. Does nothing if there is no form owner.\"\n },\n \"attribute\": \"formaction\",\n \"reflect\": false\n },\n \"formenctype\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The way the submitted form data is encoded.\"\n },\n \"attribute\": \"formenctype\",\n \"reflect\": false\n },\n \"formmethod\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The HTTP method used to submit the form.\"\n },\n \"attribute\": \"formmethod\",\n \"reflect\": false\n },\n \"formnovalidate\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the form will not be validated when submitted.\"\n },\n \"attribute\": \"formnovalidate\",\n \"reflect\": false\n },\n \"formtarget\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The place to display the response from submitting the form. It overrides the target attribute of the radio's form owner.\"\n },\n \"attribute\": \"formtarget\",\n \"reflect\": false\n },\n \"groupLabel\": {\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 group label for the radio option.\"\n },\n \"attribute\": \"group-label\",\n \"reflect\": false\n },\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The label for the radio option.\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"name\": {\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 name for the radio option.\"\n },\n \"attribute\": \"name\",\n \"reflect\": false\n },\n \"value\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The value for the radio option.\"\n },\n \"attribute\": \"value\",\n \"reflect\": false\n },\n \"selected\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the radio option will be displayed in a selected state.\"\n },\n \"attribute\": \"selected\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get states() {\n return {\n \"initiallySelected\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"icCheck\",\n \"name\": \"icCheck\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the radio option is selected.\"\n },\n \"complexType\": {\n \"original\": \"IcValueEventDetail\",\n \"resolved\": \"IcValueEventDetail\",\n \"references\": {\n \"IcValueEventDetail\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcValueEventDetail\"\n }\n }\n }\n }, {\n \"method\": \"radioOptionSelect\",\n \"name\": \"radioOptionSelect\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"This event should not be used anymore. Use icCheck instead.\"\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"IcValueEventDetail\",\n \"resolved\": \"IcValueEventDetail\",\n \"references\": {\n \"IcValueEventDetail\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcValueEventDetail\"\n }\n }\n }\n }, {\n \"method\": \"icSelectedChange\",\n \"name\": \"icSelectedChange\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the radio option is selected or deselected.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the radio option.\",\n \"tags\": []\n }\n },\n \"setTabIndex\": {\n \"complexType\": {\n \"signature\": \"(value: number) => Promise<void>\",\n \"parameters\": [{\n \"name\": \"value\",\n \"type\": \"number\",\n \"docs\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Sets the tabIndex of the radio option.\"\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"selected\",\n \"methodName\": \"watchSelectedHandler\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"icChange\",\n \"method\": \"textfieldValueHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n//# sourceMappingURL=ic-radio-option.js.map\n"],"version":3}
1
+ {"file":"ic-radio-option.entry.js","mappings":";;;;AAAA,MAAM,gBAAgB,GAAG,u2MAAu2M;;ACEh4M,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;AAC5C,MAAM,mBAAmB,GAAG,eAAe,CAAC;MAI/B,WAAW;IACpB;;;;QACI,IAAI,CAAC,iBAAiB,GAAG,EAAE,CAAC;QAC5B,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QAChC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QACvB,IAAI,CAAC,WAAW,GAAG;YACf,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;gBAChB,IAAI,IAAI,CAAC,SAAS,KAAK,KAAK,EAAE;oBAC1B,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC;iBAC7B;gBACD,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;gBACvB,IAAI,IAAI,CAAC,kBAAkB,EAAE;oBACzB,IAAI,CAAC,KAAK;wBACN,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC,KAAK;4BAC5C,IAAI,CAAC,iBAAiB,CAAC;iBAClC;gBACD,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;oBACd,KAAK,EAAE,IAAI,CAAC,KAAK;iBACpB,CAAC,CAAC;aACN;SACJ,CAAC;QACF,IAAI,CAAC,YAAY,GAAG,CAAC,KAAK;YACtB,KAAK,CAAC,eAAe,EAAE,CAAC;SAC3B,CAAC;QACF,IAAI,CAAC,eAAe,GAAG;YACnB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;YACtB,IAAI,CAAC,QAAQ,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G,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,eAAe,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,kBAAkB,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE;gBACziB,mBAAmB,EAAE,IAAI;gBACzB,MAAM,EAAE,sBAAsB,KAAK,SAAS,IAAI,CAAC,QAAQ;aAC5D,EAAE,EAAE,sBAAsB,KAAK,SAAS,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,IAAI,EAAE,sBAAsB,KAAK,SAAS,KAAK,CAAC,CAAC,eAAe,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE;gBACxP,0BAA0B,EAAE,sBAAsB,KAAK,QAAQ;aAClE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;KACxD;;;;;;;;;;","names":[],"sources":["../web-components/dist/collection/components/ic-radio-option/ic-radio-option.css?tag=ic-radio-option","../web-components/dist/collection/components/ic-radio-option/ic-radio-option.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\nic-radio-option {\n display: flex;\n flex-direction: column;\n width: -moz-fit-content;\n width: fit-content;\n}\n\n.additional-field-wrapper ic-text-field {\n margin-top: calc(var(--ic-space-sm) / 2);\n margin-left: var(--ic-space-xl);\n}\n\n/* The label turns grey when disabled */\nic-radio-option.ic-radio-option-disabled {\n color: var(--ic-architectural-200);\n}\n\n/* Focus states */\n\n.container input:focus + span.checkmark,\n:host(:focus) .container input:checked + span.checkmark {\n box-shadow: var(--ic-border-focus);\n}\n\n/* The container */\n.container {\n display: grid;\n grid-template-columns: min-content auto;\n position: relative;\n cursor: pointer;\n align-items: center;\n margin: var(--ic-space-xxs) 0 var(--ic-space-xxs) var(--ic-space-xxs);\n}\n\n.container.disabled,\n.container.disabled input:disabled {\n cursor: default;\n}\n\n/* Hide the browser's default radio button */\n.container input {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n display: inline-block;\n position: absolute;\n cursor: pointer;\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n border-radius: 50%;\n border: none;\n}\n\n/* Create a custom radio button */\n.checkmark {\n display: block;\n position: relative;\n top: 0;\n left: 0;\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n background-color: var(--ic-architectural-white);\n border: var(--ic-border-default);\n border-radius: 50%;\n transition: var(--ic-easing-transition-fast);\n box-sizing: border-box;\n}\n\n/* Show the indicator (dot/circle) when checked */\n.container input:checked ~ .checkmark::after {\n display: inline-block;\n}\n\n/* On mouse-over, add a light blue background color */\n.container:hover input ~ .checkmark {\n background-color: var(--ic-action-default-bg-hover-no-alpha);\n box-shadow: 0 0 0 0.25rem var(--ic-action-default-bg-hover);\n border: var(--ic-border-width) solid var(--ic-action-default);\n}\n\n/* When pressed, adds the active colours */\n.container:active input ~ .checkmark {\n background-color: var(--ic-action-default-bg-active-no-alpha);\n border: var(--ic-border-width) solid var(--ic-action-default-active);\n box-shadow: 0 0 0 0.25rem var(--ic-action-default-bg-active);\n}\n\n/* When pressed, adds the active colours */\n.container:active input:checked ~ .checkmark {\n background-color: var(--ic-action-default-bg-active);\n border: 0.125rem solid var(--ic-action-default-active);\n box-shadow: 0 0 0 0.25rem var(--ic-action-default-bg-active);\n}\n\n/* When pressed and selected, adds the active colours */\n.container:active input:checked ~ .checkmark::after {\n background-color: var(--ic-action-default-active);\n}\n\n/* When the radio button is checked */\n.container input:checked ~ .checkmark {\n border: 0.125rem solid var(--ic-action-default);\n}\n\n/* When the radio button is checked and disabled */\n.container input:checked:disabled ~ .checkmark {\n background-color: var(--ic-architectural-white);\n border: 0.125rem solid var(--ic-architectural-200);\n}\n\n/* When the radio button is disabled */\n.container input:disabled ~ .checkmark {\n border: var(--ic-border-width) dashed var(--ic-architectural-200);\n}\n\n/* When the radio button is disabled */\n.container input:disabled ~ .checkmark::after {\n background: var(--ic-architectural-200);\n}\n\n/* On mouse-over inactive */\n.container:hover input:disabled ~ .checkmark {\n background-color: var(--ic-architectural-white);\n box-shadow: none;\n border: 0.125rem solid none;\n}\n\n.container:active input:disabled ~ .checkmark::after {\n background-color: var(--ic-architectural-200);\n}\n\n/* Style the indicator (dot/circle) */\n.container .checkmark::after {\n content: \"\";\n position: absolute;\n display: none;\n top: calc(50% - var(--ic-space-xs));\n left: calc(50% - var(--ic-space-xs));\n width: var(--ic-space-md);\n height: var(--ic-space-md);\n border-radius: 50%;\n background: var(--ic-action-default);\n}\n\n.radio-label {\n margin-left: var(--ic-space-md);\n}\n\n.additional-field-wrapper {\n margin-left: var(--ic-space-xs);\n}\n\n/* The line */\n.branch-corner {\n color: var(--ic-action-default);\n height: var(--ic-space-md);\n width: var(--ic-space-xl);\n border-radius: 0 0 0 0.188rem;\n border-bottom: 0.125rem solid var(--ic-action-default);\n border-left: 0.125rem solid var(--ic-action-default);\n margin-left: calc(-1 * var(--ic-space-1px));\n}\n\n/* The dynamic container */\n.dynamic-container {\n display: flex;\n position: relative;\n margin: var(--ic-space-xxxs) 0 var(--ic-space-xxs) var(--ic-space-md);\n gap: var(--ic-space-xs);\n}\n\n.dynamic-container.hidden {\n display: none;\n}\n\n.dynamic-text {\n color: var(--ic-action-default);\n margin-top: calc(var(--ic-space-sm) / 2);\n margin-bottom: var(--ic-space-xs);\n border-radius: 2%;\n}\n\n@media (max-width: 576px) {\n ic-text-field {\n --input-width: 100%;\n }\n}\n\n@media (forced-colors: active) {\n /* Styles here only apply to Forced Colors Mode */\n\n .container input:checked ~ .checkmark,\n .container:active input:checked ~ .checkmark {\n border-color: Highlight;\n }\n\n .container input:checked ~ .checkmark::after,\n .container:active input:checked ~ .checkmark::after {\n background-color: Highlight;\n }\n\n .container input:disabled ~ .checkmark,\n .container input:checked:disabled ~ .checkmark {\n border-color: GrayText;\n }\n\n .container input:disabled ~ .checkmark::after,\n .container:active input:disabled ~ .checkmark::after {\n background-color: GrayText;\n }\n}\n","import { Host, h, } from \"@stencil/core\";\nimport { onComponentRequiredPropUndefined, addFormResetListener, removeFormResetListener, removeDisabledFalse, isPropDefined, isSlotUsed, slotHasContent, } from \"../../utils/helpers\";\nconst ADDITIONAL_FIELD = \"additional-field\";\nconst TEXT_FIELD_SELECTOR = \"ic-text-field\";\n/**\n * @slot additional-field - Content to displayed alongside a radio option.\n */\nexport class RadioOption {\n constructor() {\n this.defaultRadioValue = \"\";\n this.hasAdditionalField = false;\n this.skipFocus = false;\n this.handleClick = () => {\n if (!this.disabled) {\n if (this.skipFocus === false) {\n this.radioElement.focus();\n }\n this.skipFocus = false;\n if (this.hasAdditionalField) {\n this.value =\n this.el.querySelector(TEXT_FIELD_SELECTOR).value ||\n this.defaultRadioValue;\n }\n this.icCheck.emit({\n value: this.value,\n });\n }\n };\n this.swallowClick = (event) => {\n event.stopPropagation();\n };\n this.handleFormReset = () => {\n this.skipFocus = true;\n this.selected = this.initiallySelected;\n };\n this.additionalFieldDisplay = \"static\";\n this.disabled = false;\n this.dynamicText = \"This selection requires additional answers\";\n this.form = undefined;\n this.groupLabel = undefined;\n this.label = undefined;\n this.name = undefined;\n this.value = undefined;\n this.selected = false;\n this.initiallySelected = this.selected;\n }\n watchSelectedHandler() {\n this.icSelectedChange.emit();\n }\n disconnectedCallback() {\n removeFormResetListener(this.el, this.handleFormReset);\n }\n componentWillLoad() {\n if (isSlotUsed(this.el, ADDITIONAL_FIELD)) {\n this.hasAdditionalField = true;\n const textField = this.el.querySelector(TEXT_FIELD_SELECTOR);\n if (textField)\n textField.hiddenInput = false;\n }\n this.defaultRadioValue = this.value;\n addFormResetListener(this.el, this.handleFormReset);\n removeDisabledFalse(this.disabled, this.el);\n }\n componentDidLoad() {\n onComponentRequiredPropUndefined([{ prop: this.value, propName: \"value\" }], \"Radio Option\");\n }\n componentWillRender() {\n const hasSlot = slotHasContent(this.el, ADDITIONAL_FIELD);\n if (hasSlot && !this.hasAdditionalField) {\n this.hasAdditionalField = true;\n const textField = this.el.querySelector(TEXT_FIELD_SELECTOR);\n if (textField)\n textField.hiddenInput = false;\n }\n else if (!hasSlot && this.hasAdditionalField) {\n this.hasAdditionalField = false;\n }\n }\n componentDidRender() {\n if (this.additionalFieldDisplay === \"static\") {\n const textfield = this.el.querySelector(TEXT_FIELD_SELECTOR);\n if (!this.selected || this.disabled) {\n textfield === null || textfield === void 0 ? void 0 : textfield.setAttribute(\"disabled\", \"\");\n }\n else {\n textfield === null || textfield === void 0 ? void 0 : textfield.removeAttribute(\"disabled\");\n }\n }\n }\n textfieldValueHandler(event) {\n if (this.selected) {\n this.value = event.detail.value || this.defaultRadioValue;\n this.icCheck.emit({\n value: this.value,\n });\n }\n event.stopImmediatePropagation();\n }\n /**\n * Sets focus on the radio option.\n */\n async setFocus() {\n var _a;\n (_a = this.radioElement) === null || _a === void 0 ? void 0 : _a.focus();\n }\n /**\n * @internal Sets the tabIndex of the radio option.\n */\n async setTabIndex(value) {\n this.radioElement.tabIndex = value;\n }\n render() {\n const { additionalFieldDisplay, disabled, dynamicText, form, groupLabel, handleClick, hasAdditionalField, label, name, selected, swallowClick, value, } = this;\n const id = `ic-radio-option-${isPropDefined(label) || value}-${groupLabel}`;\n return (h(Host, { onClick: handleClick, class: { [\"ic-radio-option-disabled\"]: disabled } }, h(\"div\", { class: { container: true, disabled } }, h(\"div\", null, h(\"input\", { tabindex: selected ? \"0\" : \"-1\", type: \"radio\", name: name, id: id, value: value, disabled: disabled ? true : null, checked: selected, ref: (el) => (this.radioElement = el), form: form }), h(\"span\", { class: \"checkmark\" })), h(\"ic-typography\", { class: \"radio-label\", variant: \"body\" }, h(\"label\", { htmlFor: id }, label))), hasAdditionalField && (h(\"div\", { onClick: swallowClick, class: {\n \"dynamic-container\": true,\n hidden: additionalFieldDisplay === \"dynamic\" && !selected,\n } }, additionalFieldDisplay === \"dynamic\" && (h(\"div\", { class: \"branch-corner\" })), h(\"div\", null, additionalFieldDisplay === \"dynamic\" && (h(\"ic-typography\", { variant: \"caption\" }, h(\"p\", { class: \"dynamic-text\" }, dynamicText))), h(\"div\", { class: {\n \"additional-field-wrapper\": additionalFieldDisplay === \"static\",\n } }, h(\"slot\", { name: ADDITIONAL_FIELD })))))));\n }\n static get is() { return \"ic-radio-option\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-radio-option.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-radio-option.css\"]\n };\n }\n static get properties() {\n return {\n \"additionalFieldDisplay\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcAdditionalFieldTypes\",\n \"resolved\": \"\\\"dynamic\\\" | \\\"static\\\"\",\n \"references\": {\n \"IcAdditionalFieldTypes\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcAdditionalFieldTypes\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The style of additionalField that will be displayed if used.\"\n },\n \"attribute\": \"additional-field-display\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"static\\\"\"\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the disabled state will be set.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"dynamicText\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The text to be displayed when dynamic.\"\n },\n \"attribute\": \"dynamic-text\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"This selection requires additional answers\\\"\"\n },\n \"form\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The <form> element to associate the radio with.\"\n },\n \"attribute\": \"form\",\n \"reflect\": false\n },\n \"groupLabel\": {\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 group label for the radio option.\"\n },\n \"attribute\": \"group-label\",\n \"reflect\": false\n },\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The label for the radio option.\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"name\": {\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 name for the radio option.\"\n },\n \"attribute\": \"name\",\n \"reflect\": false\n },\n \"value\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The value for the radio option.\"\n },\n \"attribute\": \"value\",\n \"reflect\": false\n },\n \"selected\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the radio option will be displayed in a selected state.\"\n },\n \"attribute\": \"selected\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get states() {\n return {\n \"initiallySelected\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"icCheck\",\n \"name\": \"icCheck\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the radio option is selected.\"\n },\n \"complexType\": {\n \"original\": \"IcValueEventDetail\",\n \"resolved\": \"IcValueEventDetail\",\n \"references\": {\n \"IcValueEventDetail\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcValueEventDetail\"\n }\n }\n }\n }, {\n \"method\": \"icSelectedChange\",\n \"name\": \"icSelectedChange\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the radio option is selected or deselected.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the radio option.\",\n \"tags\": []\n }\n },\n \"setTabIndex\": {\n \"complexType\": {\n \"signature\": \"(value: number) => Promise<void>\",\n \"parameters\": [{\n \"name\": \"value\",\n \"type\": \"number\",\n \"docs\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Sets the tabIndex of the radio option.\"\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"selected\",\n \"methodName\": \"watchSelectedHandler\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"icChange\",\n \"method\": \"textfieldValueHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n//# sourceMappingURL=ic-radio-option.js.map\n"],"version":3}
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-93509377.js';
2
2
  import { I as IcThemeForegroundEnum } from './types-f605c21c.js';
3
- import { B as getFilteredMenuOptions, C as handleHiddenFormButtonClick, E as getLabelFromValue, k as removeDisabledFalse, a as onComponentRequiredPropUndefined, s as getInputDescribedByText, p as renderHiddenInput } from './helpers-886489d5.js';
3
+ import { B as getFilteredMenuOptions, C as handleHiddenFormButtonClick, E as getLabelFromValue, k as removeDisabledFalse, a as onComponentRequiredPropUndefined, s as getInputDescribedByText, p as renderHiddenInput } from './helpers-0f5fe29b.js';
4
4
 
5
5
  const clearIcon = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
6
6
  <path d="M15.8327 5.34199L14.6577 4.16699L9.99935 8.82533L5.34102 4.16699L4.16602 5.34199L8.82435 10.0003L4.16602 14.6587L5.34102 15.8337L9.99935 11.1753L14.6577 15.8337L15.8327 14.6587L11.1743 10.0003L15.8327 5.34199Z" fill="currentColor"/>
@@ -11,7 +11,7 @@ const searchIcon = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none"
11
11
  <path d="M13.1292 11.8792H12.4708L12.2375 11.6542C13.0542 10.7042 13.5458 9.47083 13.5458 8.12916C13.5458 5.13749 11.1208 2.71249 8.12916 2.71249C5.13749 2.71249 2.71249 5.13749 2.71249 8.12916C2.71249 11.1208 5.13749 13.5458 8.12916 13.5458C9.47083 13.5458 10.7042 13.0542 11.6542 12.2375L11.8792 12.4708V13.1292L16.0458 17.2875L17.2875 16.0458L13.1292 11.8792ZM8.12916 11.8792C6.05416 11.8792 4.37916 10.2042 4.37916 8.12916C4.37916 6.05416 6.05416 4.37916 8.12916 4.37916C10.2042 4.37916 11.8792 6.05416 11.8792 8.12916C11.8792 10.2042 10.2042 11.8792 8.12916 11.8792Z" fill="currentColor"/>
12
12
  </svg>`;
13
13
 
14
- const icSearchBarCss = "/*! 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(.search){--divider-height:1.5rem}:host(.search.small){--divider-height:1rem}:host(.fullwidth){width:100%}:host(.search) .disabled:hover{border-color:var(--ic-architectural-200)}:host(.search.disabled) .disabled svg{color:var(--ic-architectural-200)}:host(.search) .disabled svg{color:var(--ic-architectural-400)}.clear-button-container{align-items:center;margin-right:var(--ic-space-1px);display:none;visibility:hidden}.clear-button{border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition)}.clear-button:focus,.clear-button:active{background-color:var(--ic-focus-blue);box-shadow:inset 0 0 0 0.125rem var(--ic-focus-glow);border-radius:0.25rem}.clear-button:focus,.clear-button:active *{fill:white}.clear-button-visible{visibility:visible;display:flex}.search-submit-button-container{display:flex;align-items:center}.search-submit-button-disabled .ic-tooltip-container{display:none !important}.search-submit-button:focus,.search-submit-button:active{background-color:var(--ic-focus-blue) !important;box-shadow:inset 0 0 0 0.125rem var(--ic-focus-glow) !important;border-radius:var(--ic-space-xxs)}.search-submit-button:focus,.search-submit-button:active *{fill:white}.divider{width:var(--ic-border-width);background-color:var(--ic-action-dark-active);height:var(--divider-height)}:host(.dark) .divider{background-color:var(--ic-architectural-200)}.menu-container{width:var(--input-width, 20rem);position:relative;top:var(--ic-space-xxxs)}.menu-container.fullwidth{width:100%}.no-results{cursor:not-allowed}.search-results-status{border:0;clip:rect(0, 0, 0, 0, 0);height:var(--ic-space-1px);margin-bottom:calc(-1 * var(--ic-space-1px));margin-right:calc(-1 * var(--ic-space-1px));overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:var(--ic-space-1px)}";
14
+ const icSearchBarCss = "/*! 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(.ic-search-bar-search){--divider-height:1.5rem}:host(.ic-search-bar-search.ic-search-bar-small){--divider-height:1rem}:host(.ic-search-bar-full-width){width:100%}:host(.ic-search-bar-search) .ic-button-disabled:hover{border-color:var(--ic-architectural-200)}:host(.ic-search-bar-search.ic-search-bar-disabled) .ic-button-disabled svg{color:var(--ic-architectural-200)}:host(.ic-search-bar-search) .ic-button-disabled svg{color:var(--ic-architectural-400)}.clear-button-container{align-items:center;margin-right:var(--ic-space-1px);display:none;visibility:hidden}.clear-button{border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition)}.clear-button:focus,.clear-button:active{background-color:var(--ic-focus-blue);box-shadow:inset 0 0 0 0.125rem var(--ic-focus-glow);border-radius:0.25rem}.clear-button:focus,.clear-button:active *{fill:white}.clear-button-visible{visibility:visible;display:flex}.search-submit-button-container{display:flex;align-items:center}.search-submit-button-disabled .ic-tooltip-container{display:none !important}.search-submit-button:focus,.search-submit-button:active{background-color:var(--ic-focus-blue) !important;box-shadow:inset 0 0 0 0.125rem var(--ic-focus-glow) !important;border-radius:var(--ic-space-xxs)}.search-submit-button:focus,.search-submit-button:active *{fill:white}.divider{width:var(--ic-border-width);background-color:var(--ic-action-dark-active);height:var(--divider-height)}:host(.dark) .divider{background-color:var(--ic-architectural-200)}.menu-container{width:var(--input-width, 20rem);position:relative;top:var(--ic-space-xxxs)}.menu-container.fullwidth{width:100%}.no-results{cursor:not-allowed}.search-results-status{border:0;clip:rect(0, 0, 0, 0, 0);height:var(--ic-space-1px);margin-bottom:calc(-1 * var(--ic-space-1px));margin-right:calc(-1 * var(--ic-space-1px));overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:var(--ic-space-1px)}";
15
15
 
16
16
  let inputIds = 0;
17
17
  const SearchBar = class {
@@ -20,8 +20,6 @@ const SearchBar = class {
20
20
  this.icChange = createEvent(this, "icChange", 7);
21
21
  this.icClear = createEvent(this, "icClear", 7);
22
22
  this.icInput = createEvent(this, "icInput", 7);
23
- this.icInputBlur = createEvent(this, "icInputBlur", 7);
24
- this.icInputFocus = createEvent(this, "icInputFocus", 7);
25
23
  this.icOptionSelect = createEvent(this, "icOptionSelect", 7);
26
24
  this.icMenuChange = createEvent(this, "icMenuChange", 7);
27
25
  this.icClearBlur = createEvent(this, "icClearBlur", 7);
@@ -65,7 +63,7 @@ const SearchBar = class {
65
63
  if (this.options.length > 0) {
66
64
  this.setMenuChange(true);
67
65
  this.preLoad = false;
68
- if (this.disableFilter === false) {
66
+ if (this.disableAutoFiltering === false) {
69
67
  const rawFilteredOptions = getFilteredMenuOptions(this.options, false, this.value, "anywhere", this.labelField);
70
68
  this.filteredOptions =
71
69
  rawFilteredOptions.length > 0 ? rawFilteredOptions : noOptions;
@@ -79,11 +77,11 @@ const SearchBar = class {
79
77
  this.onInputBlur = (ev) => {
80
78
  const value = ev.target.value;
81
79
  const nextFocus = ev.relatedTarget;
82
- this.icInputBlur.emit({ value: value, relatedTarget: nextFocus });
80
+ this.icSearchBarBlur.emit({ value: value, relatedTarget: nextFocus });
83
81
  };
84
82
  this.onInputFocus = (ev) => {
85
83
  const value = ev.target.value;
86
- this.icInputFocus.emit({ value: value });
84
+ this.icSearchBarFocus.emit({ value: value });
87
85
  this.handleShowClearButton(true);
88
86
  };
89
87
  this.handleClearBlur = (ev) => {
@@ -225,7 +223,7 @@ const SearchBar = class {
225
223
  Object.keys(input).length > 0 &&
226
224
  this.hasOptionsOrFilterDisabled()) {
227
225
  this.assistiveHintEl = document.createElement("span");
228
- this.assistiveHintEl.innerText = this.hintText;
226
+ this.assistiveHintEl.innerText = this.assistiveHintText;
229
227
  this.assistiveHintEl.id = `${this.inputId}-assistive-hint`;
230
228
  this.assistiveHintEl.style.display = "none";
231
229
  if (input.after !== undefined) {
@@ -254,7 +252,7 @@ const SearchBar = class {
254
252
  }
255
253
  }
256
254
  };
257
- this.hasOptionsOrFilterDisabled = () => this.options.length > 0 || this.disableFilter;
255
+ this.hasOptionsOrFilterDisabled = () => this.options.length > 0 || this.disableAutoFiltering;
258
256
  this.hadNoOptions = () => this.filteredOptions.length === 1 &&
259
257
  this.filteredOptions[0][this.labelField] === this.emptyOptionListText &&
260
258
  this.searchMode === "navigation";
@@ -292,14 +290,14 @@ const SearchBar = class {
292
290
  this.autofocus = false;
293
291
  this.charactersUntilSuggestion = 2;
294
292
  this.disabled = false;
295
- this.disableFilter = false;
293
+ this.disableAutoFiltering = false;
296
294
  this.debounce = 0;
297
295
  this.emptyOptionListText = "No results found";
298
296
  this.focusOnLoad = false;
299
297
  this.fullWidth = false;
300
298
  this.helperText = "";
301
299
  this.hideLabel = false;
302
- this.hintText = "When autocomplete results are available use the up and down arrows to choose and press enter to select";
300
+ this.assistiveHintText = "When autocomplete results are available use the up and down arrows to choose and press enter to select";
303
301
  this.label = undefined;
304
302
  this.labelField = "label";
305
303
  this.loading = false;
@@ -311,7 +309,6 @@ const SearchBar = class {
311
309
  this.required = false;
312
310
  this.searchMode = "navigation";
313
311
  this.size = "default";
314
- this.small = false;
315
312
  this.spellcheck = false;
316
313
  this.timeout = undefined;
317
314
  this.valueField = "value";
@@ -329,7 +326,7 @@ const SearchBar = class {
329
326
  this.hasTimedOut = newOptions.some((opt) => opt.timedOut);
330
327
  }
331
328
  watchOptionsHandler(newOptions) {
332
- if (this.disableFilter && !this.hasTimedOut) {
329
+ if (this.disableAutoFiltering && !this.hasTimedOut) {
333
330
  this.loading = false;
334
331
  clearTimeout(this.timeoutTimer);
335
332
  if (newOptions.length > 0) {
@@ -370,9 +367,6 @@ const SearchBar = class {
370
367
  componentWillLoad() {
371
368
  this.watchValueHandler(this.value);
372
369
  removeDisabledFalse(this.disabled, this.el);
373
- if (this.small) {
374
- this.size = "small";
375
- }
376
370
  }
377
371
  componentDidLoad() {
378
372
  if (this.focusOnLoad) {
@@ -380,7 +374,7 @@ const SearchBar = class {
380
374
  }
381
375
  if (this.hasOptionsOrFilterDisabled()) {
382
376
  this.renderAssistiveHintEl();
383
- if (this.disableFilter) {
377
+ if (this.disableAutoFiltering) {
384
378
  this.filteredOptions = this.options;
385
379
  }
386
380
  }
@@ -430,7 +424,7 @@ const SearchBar = class {
430
424
  }, 500);
431
425
  }
432
426
  render() {
433
- const { inputId, name, label, required, small, size, placeholder, helperText, disabled, value, readonly, spellcheck, fullWidth, options, open, hideLabel, menuId, ariaActiveDescendant, truncateValue, autofocus, autocapitalize, autocomplete, filteredOptions, } = this;
427
+ const { inputId, name, label, required, size, placeholder, helperText, disabled, value, readonly, spellcheck, fullWidth, options, open, hideLabel, menuId, ariaActiveDescendant, truncateValue, autofocus, autocapitalize, autocomplete, filteredOptions, } = this;
434
428
  const disabledMode = readonly || disabled ? true : false;
435
429
  const describedBy = getInputDescribedByText(inputId, helperText !== "", false).trim();
436
430
  let describedById;
@@ -467,10 +461,10 @@ const SearchBar = class {
467
461
  }
468
462
  renderHiddenInput(true, this.el, name, value, disabledMode);
469
463
  return (h(Host, { class: {
470
- ["search"]: true,
471
- ["fullwidth"]: fullWidth,
472
- ["disabled"]: disabled,
473
- ["small"]: size === "small",
464
+ ["ic-search-bar-search"]: true,
465
+ ["ic-search-bar-full-width"]: fullWidth,
466
+ ["ic-search-bar-disabled"]: disabled,
467
+ ["ic-search-bar-small"]: size === "small",
474
468
  }, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, h("ic-text-field", { ref: (el) => (this.inputEl = el), inputId: inputId, label: label, helperText: helperText, required: required, disabled: disabledText, readonly: readonly, size: size, hideLabel: hideLabel, fullWidth: fullWidth, name: name, truncateValue: truncateValue, value: options &&
475
469
  !!getLabelFromValue(value, options, this.valueField, this.labelField)
476
470
  ? getLabelFromValue(value, options, this.valueField, this.labelField)
@@ -484,7 +478,7 @@ const SearchBar = class {
484
478
  "search-submit-button-disabled": this.isSubmitDisabled(),
485
479
  }, slot: "search-submit-button" }, h("ic-button", { id: "search-submit-button", "aria-label": "Search", ref: (el) => (this.searchSubmitButton = el), class: {
486
480
  ["search-submit-button"]: true,
487
- ["search-submit-button-small"]: !!small,
481
+ ["search-submit-button-small"]: size === "small",
488
482
  }, disabled: this.isSubmitDisabled(), innerHTML: searchIcon, size: size, onClick: this.handleSubmitSearch, onMouseDown: this.handleMouseDown, onBlur: this.handleSubmitSearchBlur, onFocus: this.handleSubmitSearchFocus, onKeyDown: this.handleSubmitSearchKeyDown, type: "submit", variant: "icon", appearance: this.searchSubmitFocused
489
483
  ? IcThemeForegroundEnum.Light
490
484
  : IcThemeForegroundEnum.Default })), h("div", { class: {
@@ -492,7 +486,7 @@ const SearchBar = class {
492
486
  fullwidth: fullWidth,
493
487
  }, slot: "menu" }, menuRendered && (h("ic-menu", { class: {
494
488
  "no-results": this.hadNoOptions() || isOrHasLoaded,
495
- }, activationType: "manual", anchorEl: this.anchorEl, autoFocusOnSelected: false, searchMode: this.searchMode, inputEl: this.inputEl, inputLabel: label, ref: (el) => (this.menu = el), small: size === "small", fullWidth: fullWidth, menuId: menuId, open: !!menuRendered, options: filteredOptions, onMenuOptionSelect: this.handleOptionSelect, onMenuStateChange: this.handleMenuChange, onMenuOptionId: this.handleMenuOptionHighlight, onRetryButtonClicked: this.handleRetry, parentEl: this.el, value: value, labelField: this.labelField, valueField: this.valueField })))), h("div", { "aria-live": "polite", role: "status", class: "search-results-status" })));
489
+ }, activationType: "manual", anchorEl: this.anchorEl, autoFocusOnSelected: false, searchMode: this.searchMode, inputEl: this.inputEl, inputLabel: label, ref: (el) => (this.menu = el), fullWidth: fullWidth, menuId: menuId, open: !!menuRendered, options: filteredOptions, onMenuOptionSelect: this.handleOptionSelect, onMenuStateChange: this.handleMenuChange, onMenuOptionId: this.handleMenuOptionHighlight, onRetryButtonClicked: this.handleRetry, parentEl: this.el, value: value, labelField: this.labelField, valueField: this.valueField })))), h("div", { "aria-live": "polite", role: "status", class: "search-results-status" })));
496
490
  }
497
491
  static get delegatesFocus() { return true; }
498
492
  get el() { return getElement(this); }