@mrshmllw/smores-react 16.0.3 → 16.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (273) hide show
  1. package/dist/Accordion/Accordion.js.map +1 -1
  2. package/dist/Alert/Alert.d.ts +1 -1
  3. package/dist/Alert/Alert.js.map +1 -1
  4. package/dist/Badge/Badge.d.ts +1 -1
  5. package/dist/Badge/BadgeFallbackImage.d.ts +1 -1
  6. package/dist/BadgeList/BadgeList.d.ts +2 -2
  7. package/dist/Banner/types.d.ts +1 -1
  8. package/dist/Banner/types.js.map +1 -1
  9. package/dist/Box/Box.d.ts +1 -1
  10. package/dist/Button/Button.js +5 -5
  11. package/dist/Button/Button.js.map +1 -1
  12. package/dist/Card/Card.js.map +1 -1
  13. package/dist/CheckBox/CheckBox.js +1 -1
  14. package/dist/CheckBox/CheckBox.js.map +1 -1
  15. package/dist/Icon/iconFiles/Aa.d.ts +1 -1
  16. package/dist/Icon/iconFiles/AaInverted.d.ts +1 -1
  17. package/dist/Icon/iconFiles/AccidentalDamage.d.ts +1 -1
  18. package/dist/Icon/iconFiles/AccountBreakdown.d.ts +1 -1
  19. package/dist/Icon/iconFiles/AccountMlp.d.ts +1 -1
  20. package/dist/Icon/iconFiles/ActivityClipboard.d.ts +1 -1
  21. package/dist/Icon/iconFiles/AddOns.d.ts +1 -1
  22. package/dist/Icon/iconFiles/AddressMta.d.ts +1 -1
  23. package/dist/Icon/iconFiles/Ai.d.ts +1 -1
  24. package/dist/Icon/iconFiles/AlbumAudio.d.ts +1 -1
  25. package/dist/Icon/iconFiles/Alert.d.ts +1 -1
  26. package/dist/Icon/iconFiles/AlertEngine.d.ts +1 -1
  27. package/dist/Icon/iconFiles/Amex.d.ts +1 -1
  28. package/dist/Icon/iconFiles/ApplePay.d.ts +1 -1
  29. package/dist/Icon/iconFiles/ApprovedFile.d.ts +1 -1
  30. package/dist/Icon/iconFiles/Archive.d.ts +1 -1
  31. package/dist/Icon/iconFiles/Arrow.d.ts +1 -1
  32. package/dist/Icon/iconFiles/At.d.ts +1 -1
  33. package/dist/Icon/iconFiles/Axa.d.ts +1 -1
  34. package/dist/Icon/iconFiles/Bank.d.ts +1 -1
  35. package/dist/Icon/iconFiles/Basket.d.ts +1 -1
  36. package/dist/Icon/iconFiles/Bicycle.d.ts +1 -1
  37. package/dist/Icon/iconFiles/Boost.d.ts +1 -1
  38. package/dist/Icon/iconFiles/Breakdown.d.ts +1 -1
  39. package/dist/Icon/iconFiles/BreakdownAlt.d.ts +1 -1
  40. package/dist/Icon/iconFiles/Briefcase.d.ts +1 -1
  41. package/dist/Icon/iconFiles/Bullets.d.ts +1 -1
  42. package/dist/Icon/iconFiles/Burger.d.ts +1 -1
  43. package/dist/Icon/iconFiles/Calendar.d.ts +1 -1
  44. package/dist/Icon/iconFiles/Camera.d.ts +1 -1
  45. package/dist/Icon/iconFiles/Cancel.d.ts +1 -1
  46. package/dist/Icon/iconFiles/CancelBw.d.ts +1 -1
  47. package/dist/Icon/iconFiles/Car.d.ts +1 -1
  48. package/dist/Icon/iconFiles/CarMta.d.ts +1 -1
  49. package/dist/Icon/iconFiles/CarRepairs.d.ts +1 -1
  50. package/dist/Icon/iconFiles/CarReplacement.d.ts +1 -1
  51. package/dist/Icon/iconFiles/CarUsage.d.ts +1 -1
  52. package/dist/Icon/iconFiles/Card.d.ts +1 -1
  53. package/dist/Icon/iconFiles/Caret.d.ts +1 -1
  54. package/dist/Icon/iconFiles/CaretUp.d.ts +4 -2
  55. package/dist/Icon/iconFiles/Charge.d.ts +1 -1
  56. package/dist/Icon/iconFiles/Chat.d.ts +1 -1
  57. package/dist/Icon/iconFiles/ChatBubble.d.ts +1 -1
  58. package/dist/Icon/iconFiles/Checkout.d.ts +1 -1
  59. package/dist/Icon/iconFiles/CheckoutWithText.d.ts +1 -1
  60. package/dist/Icon/iconFiles/CircleInfoFilled.d.ts +1 -1
  61. package/dist/Icon/iconFiles/CircleTick.d.ts +1 -1
  62. package/dist/Icon/iconFiles/City.d.ts +1 -1
  63. package/dist/Icon/iconFiles/Claim.d.ts +1 -1
  64. package/dist/Icon/iconFiles/ClaimLine.d.ts +1 -1
  65. package/dist/Icon/iconFiles/Clipboard.d.ts +1 -1
  66. package/dist/Icon/iconFiles/ClipboardCheck.d.ts +1 -1
  67. package/dist/Icon/iconFiles/Clock.d.ts +1 -1
  68. package/dist/Icon/iconFiles/ClosePanel.d.ts +1 -1
  69. package/dist/Icon/iconFiles/Cmt.d.ts +1 -1
  70. package/dist/Icon/iconFiles/Collapse.d.ts +1 -1
  71. package/dist/Icon/iconFiles/Confused.d.ts +1 -1
  72. package/dist/Icon/iconFiles/ConfusedBlue.d.ts +1 -1
  73. package/dist/Icon/iconFiles/ContactEmail.d.ts +1 -1
  74. package/dist/Icon/iconFiles/Copy.d.ts +1 -1
  75. package/dist/Icon/iconFiles/Crop.d.ts +1 -1
  76. package/dist/Icon/iconFiles/Cross.d.ts +1 -1
  77. package/dist/Icon/iconFiles/DashboardHigh.d.ts +1 -1
  78. package/dist/Icon/iconFiles/DirectDebit.d.ts +1 -1
  79. package/dist/Icon/iconFiles/DocDownload.d.ts +1 -1
  80. package/dist/Icon/iconFiles/DocUpload.d.ts +1 -1
  81. package/dist/Icon/iconFiles/Download.d.ts +1 -1
  82. package/dist/Icon/iconFiles/Earth.d.ts +1 -1
  83. package/dist/Icon/iconFiles/Edit.d.ts +1 -1
  84. package/dist/Icon/iconFiles/EditContact.d.ts +1 -1
  85. package/dist/Icon/iconFiles/EditOutline.d.ts +1 -1
  86. package/dist/Icon/iconFiles/EmailFilled.d.ts +1 -1
  87. package/dist/Icon/iconFiles/Engine.d.ts +1 -1
  88. package/dist/Icon/iconFiles/Europe.d.ts +1 -1
  89. package/dist/Icon/iconFiles/Excluded.d.ts +1 -1
  90. package/dist/Icon/iconFiles/Expand.d.ts +1 -1
  91. package/dist/Icon/iconFiles/Facebook.d.ts +1 -1
  92. package/dist/Icon/iconFiles/FallingItems.d.ts +1 -1
  93. package/dist/Icon/iconFiles/Fence.d.ts +1 -1
  94. package/dist/Icon/iconFiles/File.d.ts +1 -1
  95. package/dist/Icon/iconFiles/FileBadge2.d.ts +1 -1
  96. package/dist/Icon/iconFiles/FileCabinet.d.ts +1 -1
  97. package/dist/Icon/iconFiles/Filter.d.ts +1 -1
  98. package/dist/Icon/iconFiles/Fire.d.ts +1 -1
  99. package/dist/Icon/iconFiles/Flag.d.ts +1 -1
  100. package/dist/Icon/iconFiles/FlagFilled.d.ts +1 -1
  101. package/dist/Icon/iconFiles/Folder.d.ts +1 -1
  102. package/dist/Icon/iconFiles/FraudAlert.d.ts +1 -1
  103. package/dist/Icon/iconFiles/FreezerFood.d.ts +1 -1
  104. package/dist/Icon/iconFiles/Fuel.d.ts +1 -1
  105. package/dist/Icon/iconFiles/Globe.d.ts +1 -1
  106. package/dist/Icon/iconFiles/GooglePlayBadge.d.ts +1 -1
  107. package/dist/Icon/iconFiles/Gpay.d.ts +1 -1
  108. package/dist/Icon/iconFiles/HelpAboutus.d.ts +1 -1
  109. package/dist/Icon/iconFiles/HelpBuypolicy.d.ts +1 -1
  110. package/dist/Icon/iconFiles/HelpCenter.d.ts +1 -1
  111. package/dist/Icon/iconFiles/HelpIdcheck.d.ts +1 -1
  112. package/dist/Icon/iconFiles/HelpManagePolicy.d.ts +1 -1
  113. package/dist/Icon/iconFiles/HelpNcd.d.ts +1 -1
  114. package/dist/Icon/iconFiles/HelpVerification.d.ts +1 -1
  115. package/dist/Icon/iconFiles/HomeExcluded.d.ts +1 -1
  116. package/dist/Icon/iconFiles/House.d.ts +1 -1
  117. package/dist/Icon/iconFiles/HouseTree.d.ts +1 -1
  118. package/dist/Icon/iconFiles/Id.d.ts +1 -1
  119. package/dist/Icon/iconFiles/Inbox.d.ts +1 -1
  120. package/dist/Icon/iconFiles/Included.d.ts +1 -1
  121. package/dist/Icon/iconFiles/Info.d.ts +1 -1
  122. package/dist/Icon/iconFiles/Injury.d.ts +1 -1
  123. package/dist/Icon/iconFiles/Instagram.d.ts +1 -1
  124. package/dist/Icon/iconFiles/Intercom.d.ts +1 -1
  125. package/dist/Icon/iconFiles/Intercom2.d.ts +1 -1
  126. package/dist/Icon/iconFiles/IosStoreBadge.d.ts +1 -1
  127. package/dist/Icon/iconFiles/Iphone.d.ts +1 -1
  128. package/dist/Icon/iconFiles/Jewellery.d.ts +1 -1
  129. package/dist/Icon/iconFiles/Key.d.ts +1 -1
  130. package/dist/Icon/iconFiles/Laptop.d.ts +1 -1
  131. package/dist/Icon/iconFiles/Leaks.d.ts +1 -1
  132. package/dist/Icon/iconFiles/Lightbulb.d.ts +1 -1
  133. package/dist/Icon/iconFiles/Link.d.ts +1 -1
  134. package/dist/Icon/iconFiles/Linkedin.d.ts +1 -1
  135. package/dist/Icon/iconFiles/LiveChat.d.ts +1 -1
  136. package/dist/Icon/iconFiles/LiveChat2.d.ts +1 -1
  137. package/dist/Icon/iconFiles/Location.d.ts +1 -1
  138. package/dist/Icon/iconFiles/LogOut.d.ts +1 -1
  139. package/dist/Icon/iconFiles/MailTime.d.ts +1 -1
  140. package/dist/Icon/iconFiles/ManageDrivers.d.ts +1 -1
  141. package/dist/Icon/iconFiles/ManagePolicy.d.ts +1 -1
  142. package/dist/Icon/iconFiles/Marshmallow.d.ts +1 -1
  143. package/dist/Icon/iconFiles/Mastercard.d.ts +1 -1
  144. package/dist/Icon/iconFiles/Maximise.d.ts +1 -1
  145. package/dist/Icon/iconFiles/MaximiseWindow.d.ts +1 -1
  146. package/dist/Icon/iconFiles/Medical.d.ts +1 -1
  147. package/dist/Icon/iconFiles/Minimise.d.ts +1 -1
  148. package/dist/Icon/iconFiles/Minus.d.ts +1 -1
  149. package/dist/Icon/iconFiles/MinusCircle.d.ts +1 -1
  150. package/dist/Icon/iconFiles/MoneyBag.d.ts +1 -1
  151. package/dist/Icon/iconFiles/MoneyHeart.d.ts +1 -1
  152. package/dist/Icon/iconFiles/MoreDots.d.ts +1 -1
  153. package/dist/Icon/iconFiles/Mulsanne.d.ts +1 -1
  154. package/dist/Icon/iconFiles/NewWindow.d.ts +1 -1
  155. package/dist/Icon/iconFiles/NoExcess.d.ts +1 -1
  156. package/dist/Icon/iconFiles/Notes.d.ts +1 -1
  157. package/dist/Icon/iconFiles/Notification.d.ts +1 -1
  158. package/dist/Icon/iconFiles/Onfido.d.ts +1 -1
  159. package/dist/Icon/iconFiles/OpenPanel.d.ts +1 -1
  160. package/dist/Icon/iconFiles/Other.d.ts +1 -1
  161. package/dist/Icon/iconFiles/OutOfHome.d.ts +1 -1
  162. package/dist/Icon/iconFiles/Padlock.d.ts +1 -1
  163. package/dist/Icon/iconFiles/PadlockOutline.d.ts +1 -1
  164. package/dist/Icon/iconFiles/Paperclip.d.ts +1 -1
  165. package/dist/Icon/iconFiles/People.d.ts +1 -1
  166. package/dist/Icon/iconFiles/Person.d.ts +1 -1
  167. package/dist/Icon/iconFiles/PhoneFilled.d.ts +1 -1
  168. package/dist/Icon/iconFiles/PhoneOutline.d.ts +1 -1
  169. package/dist/Icon/iconFiles/Photo.d.ts +1 -1
  170. package/dist/Icon/iconFiles/PinCode.d.ts +1 -1
  171. package/dist/Icon/iconFiles/Plus.d.ts +1 -1
  172. package/dist/Icon/iconFiles/PlusCircle.d.ts +1 -1
  173. package/dist/Icon/iconFiles/Policy.d.ts +1 -1
  174. package/dist/Icon/iconFiles/PolicyDetails.d.ts +1 -1
  175. package/dist/Icon/iconFiles/PolicyDoc.d.ts +1 -1
  176. package/dist/Icon/iconFiles/PolicyDocs.d.ts +1 -1
  177. package/dist/Icon/iconFiles/PoundBold.d.ts +1 -1
  178. package/dist/Icon/iconFiles/PoundFilledCircle.d.ts +1 -1
  179. package/dist/Icon/iconFiles/PoundMedium.d.ts +1 -1
  180. package/dist/Icon/iconFiles/PoundOutline.d.ts +1 -1
  181. package/dist/Icon/iconFiles/PoundRegular.d.ts +1 -1
  182. package/dist/Icon/iconFiles/Premfina.d.ts +1 -1
  183. package/dist/Icon/iconFiles/Profile.d.ts +1 -1
  184. package/dist/Icon/iconFiles/Progress.d.ts +1 -1
  185. package/dist/Icon/iconFiles/Prohibited.d.ts +1 -1
  186. package/dist/Icon/iconFiles/Property.d.ts +1 -1
  187. package/dist/Icon/iconFiles/QuestionHelp.d.ts +1 -1
  188. package/dist/Icon/iconFiles/Rac.d.ts +1 -1
  189. package/dist/Icon/iconFiles/Ravelin.d.ts +1 -1
  190. package/dist/Icon/iconFiles/ReferAFriend.d.ts +1 -1
  191. package/dist/Icon/iconFiles/Refund.d.ts +1 -1
  192. package/dist/Icon/iconFiles/RegPlate.d.ts +1 -1
  193. package/dist/Icon/iconFiles/Renewal.d.ts +1 -1
  194. package/dist/Icon/iconFiles/RenewalLine.d.ts +1 -1
  195. package/dist/Icon/iconFiles/RepeatCharge.d.ts +1 -1
  196. package/dist/Icon/iconFiles/Reply.d.ts +1 -1
  197. package/dist/Icon/iconFiles/Return.d.ts +1 -1
  198. package/dist/Icon/iconFiles/ScheduleQuote.d.ts +1 -1
  199. package/dist/Icon/iconFiles/Search.d.ts +1 -1
  200. package/dist/Icon/iconFiles/Security.d.ts +1 -1
  201. package/dist/Icon/iconFiles/SendMessage.d.ts +1 -1
  202. package/dist/Icon/iconFiles/Settings.d.ts +1 -1
  203. package/dist/Icon/iconFiles/Shield.d.ts +1 -1
  204. package/dist/Icon/iconFiles/ShieldCheck.d.ts +1 -1
  205. package/dist/Icon/iconFiles/Shopping.d.ts +1 -1
  206. package/dist/Icon/iconFiles/Sofa.d.ts +1 -1
  207. package/dist/Icon/iconFiles/Stack.d.ts +1 -1
  208. package/dist/Icon/iconFiles/Storm.d.ts +1 -1
  209. package/dist/Icon/iconFiles/Stripe.d.ts +1 -1
  210. package/dist/Icon/iconFiles/Subsidence.d.ts +1 -1
  211. package/dist/Icon/iconFiles/Theft.d.ts +1 -1
  212. package/dist/Icon/iconFiles/ThumbsDown.d.ts +1 -1
  213. package/dist/Icon/iconFiles/ThumbsUp.d.ts +1 -1
  214. package/dist/Icon/iconFiles/Tick.d.ts +1 -1
  215. package/dist/Icon/iconFiles/TowTruck.d.ts +1 -1
  216. package/dist/Icon/iconFiles/TraceAndAccess.d.ts +1 -1
  217. package/dist/Icon/iconFiles/Training.d.ts +1 -1
  218. package/dist/Icon/iconFiles/Trash.d.ts +1 -1
  219. package/dist/Icon/iconFiles/TriangleExclamationSolid.d.ts +1 -1
  220. package/dist/Icon/iconFiles/Twitter.d.ts +1 -1
  221. package/dist/Icon/iconFiles/UpDown.d.ts +1 -1
  222. package/dist/Icon/iconFiles/Upload.d.ts +1 -1
  223. package/dist/Icon/iconFiles/UploadDocuments.d.ts +1 -1
  224. package/dist/Icon/iconFiles/UploadEmail.d.ts +1 -1
  225. package/dist/Icon/iconFiles/Vandalism.d.ts +1 -1
  226. package/dist/Icon/iconFiles/Village.d.ts +1 -1
  227. package/dist/Icon/iconFiles/Visa.d.ts +1 -1
  228. package/dist/Icon/iconFiles/Warning.d.ts +1 -1
  229. package/dist/Icon/iconFiles/WarningCircle.d.ts +1 -1
  230. package/dist/Icon/iconFiles/Watch.d.ts +1 -1
  231. package/dist/Icon/iconFiles/Wave.d.ts +1 -1
  232. package/dist/Icon/iconFiles/Wellbeing.d.ts +1 -1
  233. package/dist/Icon/iconFiles/WheelFlat.d.ts +1 -1
  234. package/dist/Icon/iconFiles/Windscreen.d.ts +1 -1
  235. package/dist/Icon/iconFiles/WindscreenRepair.d.ts +1 -1
  236. package/dist/Icon/iconFiles/WindscreenReplacement.d.ts +1 -1
  237. package/dist/Icon/iconsList.d.ts +226 -224
  238. package/dist/ProgressIndicator/ProgressIndicator.d.ts +1 -1
  239. package/dist/ProgressIndicator/components/StepItem.d.ts +2 -2
  240. package/dist/ProgressIndicator/components/StepItem.js.map +1 -1
  241. package/dist/RadioGroup/RadioGroup.js.map +1 -1
  242. package/dist/RadioGroup/RadioItem.js.map +1 -1
  243. package/dist/RichTextEditor/RichTextEditor.js +3 -2
  244. package/dist/RichTextEditor/RichTextEditor.js.map +1 -1
  245. package/dist/RichTextEditor/plugins/AutoLinkPlugin.d.ts +1 -1
  246. package/dist/RichTextEditor/plugins/CodeHighlightPlugin.d.ts +2 -0
  247. package/dist/RichTextEditor/plugins/CodeHighlightPlugin.js +11 -0
  248. package/dist/RichTextEditor/plugins/CodeHighlightPlugin.js.map +1 -0
  249. package/dist/RichTextEditor/plugins/ToolbarPlugin.d.ts +1 -1
  250. package/dist/RichTextEditor/plugins/ToolbarPlugin.js +2 -2
  251. package/dist/RichTextEditor/plugins/ToolbarPlugin.js.map +1 -1
  252. package/dist/SearchInput/components/SearchOptions.js.map +1 -1
  253. package/dist/SegmentedControl/SegmentedControl.d.ts +1 -1
  254. package/dist/SegmentedControl/ToggleButton.d.ts +1 -1
  255. package/dist/Table/Table.d.ts +1 -1
  256. package/dist/Table/components/RowActions.d.ts +1 -1
  257. package/dist/Table/components/TableColumnGroup.d.ts +1 -1
  258. package/dist/Table/components/TableFooter.d.ts +1 -1
  259. package/dist/Table/components/TableHeader.d.ts +1 -1
  260. package/dist/Table/components/TableRow.d.ts +1 -1
  261. package/dist/Table/components/commonComponents.d.ts +7 -7
  262. package/dist/Table/components/commonComponents.js.map +1 -1
  263. package/dist/Tag/Tag.js.map +1 -1
  264. package/dist/ThemeProvider/ThemeProvider.d.ts +1 -1
  265. package/dist/ThemeProvider/utils/colourMap.d.ts +1 -1
  266. package/dist/Tooltip/Tooltip.d.ts +5 -2
  267. package/dist/fields/Field/Field.d.ts +1 -1
  268. package/dist/fields/Fieldset/Fieldset.d.ts +1 -1
  269. package/dist/fields/components/CommonInput.d.ts +51 -9
  270. package/dist/fields/components/InternalField.d.ts +1 -1
  271. package/dist/fields/components/Placeholder.d.ts +1 -1
  272. package/dist/sharedStyles/shared.styles.d.ts +5 -2
  273. package/package.json +35 -30
@@ -1,232 +1,234 @@
1
1
  export declare const iconList: {
2
- 'aa-inverted': () => import("react/jsx-runtime").JSX.Element;
3
- 'accidental-damage': () => import("react/jsx-runtime").JSX.Element;
4
- 'account-breakdown': () => import("react/jsx-runtime").JSX.Element;
5
- 'account-mlp': () => import("react/jsx-runtime").JSX.Element;
6
- 'activity-clipboard': () => import("react/jsx-runtime").JSX.Element;
7
- 'add-ons': () => import("react/jsx-runtime").JSX.Element;
8
- 'address-mta': () => import("react/jsx-runtime").JSX.Element;
9
- 'album-audio': () => import("react/jsx-runtime").JSX.Element;
10
- 'alert-engine': () => import("react/jsx-runtime").JSX.Element;
11
- 'apple-pay': () => import("react/jsx-runtime").JSX.Element;
12
- 'approved-file': () => import("react/jsx-runtime").JSX.Element;
13
- 'breakdown-alt': () => import("react/jsx-runtime").JSX.Element;
14
- 'cancel-bw': () => import("react/jsx-runtime").JSX.Element;
15
- 'car-mta': () => import("react/jsx-runtime").JSX.Element;
16
- 'car-repairs': () => import("react/jsx-runtime").JSX.Element;
17
- 'car-replacement': () => import("react/jsx-runtime").JSX.Element;
18
- 'car-usage': () => import("react/jsx-runtime").JSX.Element;
2
+ 'aa-inverted': () => import("react").JSX.Element;
3
+ 'accidental-damage': () => import("react").JSX.Element;
4
+ 'account-breakdown': () => import("react").JSX.Element;
5
+ 'account-mlp': () => import("react").JSX.Element;
6
+ 'activity-clipboard': () => import("react").JSX.Element;
7
+ 'add-ons': () => import("react").JSX.Element;
8
+ 'address-mta': () => import("react").JSX.Element;
9
+ 'album-audio': () => import("react").JSX.Element;
10
+ 'alert-engine': () => import("react").JSX.Element;
11
+ 'apple-pay': () => import("react").JSX.Element;
12
+ 'approved-file': () => import("react").JSX.Element;
13
+ 'breakdown-alt': () => import("react").JSX.Element;
14
+ 'cancel-bw': () => import("react").JSX.Element;
15
+ 'car-mta': () => import("react").JSX.Element;
16
+ 'car-repairs': () => import("react").JSX.Element;
17
+ 'car-replacement': () => import("react").JSX.Element;
18
+ 'car-usage': () => import("react").JSX.Element;
19
19
  'caret-up': import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<{
20
20
  className?: string;
21
- }, never>> & string & Omit<({ className }: {
21
+ }, never> & Partial<Pick<{
22
22
  className?: string;
23
- }) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
24
- 'chat-bubble': () => import("react/jsx-runtime").JSX.Element;
25
- 'checkout-with-text': () => import("react/jsx-runtime").JSX.Element;
26
- 'circle-tick': () => import("react/jsx-runtime").JSX.Element;
27
- 'circle-info-filled': () => import("react/jsx-runtime").JSX.Element;
28
- 'claim-line': () => import("react/jsx-runtime").JSX.Element;
29
- 'clipboard-check': () => import("react/jsx-runtime").JSX.Element;
30
- 'close-panel': () => import("react/jsx-runtime").JSX.Element;
31
- 'confused-blue': () => import("react/jsx-runtime").JSX.Element;
32
- 'contact-email': () => import("react/jsx-runtime").JSX.Element;
33
- 'dashboard-high': () => import("react/jsx-runtime").JSX.Element;
34
- 'direct-debit': () => import("react/jsx-runtime").JSX.Element;
35
- 'doc-download': () => import("react/jsx-runtime").JSX.Element;
36
- 'doc-upload': () => import("react/jsx-runtime").JSX.Element;
37
- 'edit-contact': () => import("react/jsx-runtime").JSX.Element;
38
- 'edit-outline': () => import("react/jsx-runtime").JSX.Element;
39
- 'email-filled': () => import("react/jsx-runtime").JSX.Element;
40
- 'falling-items': () => import("react/jsx-runtime").JSX.Element;
41
- 'file-badge-2': () => import("react/jsx-runtime").JSX.Element;
42
- 'file-cabinet': () => import("react/jsx-runtime").JSX.Element;
43
- 'fraud-alert': () => import("react/jsx-runtime").JSX.Element;
44
- 'freezer-food': () => import("react/jsx-runtime").JSX.Element;
45
- 'google-play-badge': () => import("react/jsx-runtime").JSX.Element;
46
- 'help-aboutus': () => import("react/jsx-runtime").JSX.Element;
47
- 'help-buypolicy': () => import("react/jsx-runtime").JSX.Element;
48
- 'help-center': () => import("react/jsx-runtime").JSX.Element;
49
- 'help-idcheck': () => import("react/jsx-runtime").JSX.Element;
50
- 'help-manage-policy': () => import("react/jsx-runtime").JSX.Element;
51
- 'help-ncd': () => import("react/jsx-runtime").JSX.Element;
52
- 'help-verification': () => import("react/jsx-runtime").JSX.Element;
53
- 'home-excluded': () => import("react/jsx-runtime").JSX.Element;
54
- 'house-tree': () => import("react/jsx-runtime").JSX.Element;
55
- 'ios-store-badge': () => import("react/jsx-runtime").JSX.Element;
56
- 'live-chat': () => import("react/jsx-runtime").JSX.Element;
57
- 'live-chat2': () => import("react/jsx-runtime").JSX.Element;
58
- 'log-out': () => import("react/jsx-runtime").JSX.Element;
59
- 'mail-time': () => import("react/jsx-runtime").JSX.Element;
60
- 'manage-drivers': () => import("react/jsx-runtime").JSX.Element;
61
- 'manage-policy': () => import("react/jsx-runtime").JSX.Element;
62
- 'maximise-window': () => import("react/jsx-runtime").JSX.Element;
63
- 'minus-circle': () => import("react/jsx-runtime").JSX.Element;
64
- 'money-bag': () => import("react/jsx-runtime").JSX.Element;
65
- 'money-heart': () => import("react/jsx-runtime").JSX.Element;
66
- 'more-dots': () => import("react/jsx-runtime").JSX.Element;
67
- 'new-window': () => import("react/jsx-runtime").JSX.Element;
68
- 'no-excess': () => import("react/jsx-runtime").JSX.Element;
69
- 'open-panel': () => import("react/jsx-runtime").JSX.Element;
70
- 'out-of-home': () => import("react/jsx-runtime").JSX.Element;
71
- 'padlock-outline': () => import("react/jsx-runtime").JSX.Element;
72
- 'phone-filled': () => import("react/jsx-runtime").JSX.Element;
73
- 'phone-outline': () => import("react/jsx-runtime").JSX.Element;
74
- 'pin-code': () => import("react/jsx-runtime").JSX.Element;
75
- 'plus-circle': () => import("react/jsx-runtime").JSX.Element;
76
- 'policy-details': () => import("react/jsx-runtime").JSX.Element;
77
- 'policy-doc': () => import("react/jsx-runtime").JSX.Element;
78
- 'policy-docs': () => import("react/jsx-runtime").JSX.Element;
79
- 'pound-bold': () => import("react/jsx-runtime").JSX.Element;
80
- 'pound-filled-circle': () => import("react/jsx-runtime").JSX.Element;
81
- 'pound-medium': () => import("react/jsx-runtime").JSX.Element;
82
- 'pound-outline': () => import("react/jsx-runtime").JSX.Element;
83
- 'pound-regular': () => import("react/jsx-runtime").JSX.Element;
84
- 'question-help': () => import("react/jsx-runtime").JSX.Element;
85
- 'refer-a-friend': () => import("react/jsx-runtime").JSX.Element;
86
- 'reg-plate': () => import("react/jsx-runtime").JSX.Element;
87
- 'renewal-line': () => import("react/jsx-runtime").JSX.Element;
88
- 'repeat-charge': () => import("react/jsx-runtime").JSX.Element;
89
- 'schedule-quote': () => import("react/jsx-runtime").JSX.Element;
90
- 'send-message': () => import("react/jsx-runtime").JSX.Element;
91
- 'shield-check': () => import("react/jsx-runtime").JSX.Element;
92
- 'thumbs-down': () => import("react/jsx-runtime").JSX.Element;
93
- 'thumbs-up': () => import("react/jsx-runtime").JSX.Element;
94
- 'tow-truck': () => import("react/jsx-runtime").JSX.Element;
95
- 'trace-and-access': () => import("react/jsx-runtime").JSX.Element;
96
- 'triangle-exclamation-solid': () => import("react/jsx-runtime").JSX.Element;
97
- 'up-down': () => import("react/jsx-runtime").JSX.Element;
98
- 'upload-documents': () => import("react/jsx-runtime").JSX.Element;
99
- 'upload-email': () => import("react/jsx-runtime").JSX.Element;
100
- 'warning-circle': () => import("react/jsx-runtime").JSX.Element;
101
- 'wheel-flat': () => import("react/jsx-runtime").JSX.Element;
102
- 'windscreen-repair': () => import("react/jsx-runtime").JSX.Element;
103
- 'windscreen-replacement': () => import("react/jsx-runtime").JSX.Element;
104
- aa: () => import("react/jsx-runtime").JSX.Element;
105
- addons: () => import("react/jsx-runtime").JSX.Element;
106
- ai: () => import("react/jsx-runtime").JSX.Element;
107
- alert: () => import("react/jsx-runtime").JSX.Element;
108
- amex: () => import("react/jsx-runtime").JSX.Element;
109
- archive: () => import("react/jsx-runtime").JSX.Element;
110
- arrow: () => import("react/jsx-runtime").JSX.Element;
111
- at: () => import("react/jsx-runtime").JSX.Element;
112
- axa: () => import("react/jsx-runtime").JSX.Element;
113
- bank: () => import("react/jsx-runtime").JSX.Element;
114
- basket: () => import("react/jsx-runtime").JSX.Element;
115
- bicycle: () => import("react/jsx-runtime").JSX.Element;
116
- boost: () => import("react/jsx-runtime").JSX.Element;
117
- breakdown: () => import("react/jsx-runtime").JSX.Element;
118
- briefcase: () => import("react/jsx-runtime").JSX.Element;
119
- bullets: () => import("react/jsx-runtime").JSX.Element;
120
- burger: () => import("react/jsx-runtime").JSX.Element;
121
- calendar: () => import("react/jsx-runtime").JSX.Element;
122
- camera: () => import("react/jsx-runtime").JSX.Element;
123
- cancel: () => import("react/jsx-runtime").JSX.Element;
124
- car: () => import("react/jsx-runtime").JSX.Element;
125
- card: () => import("react/jsx-runtime").JSX.Element;
23
+ }, never>>> & string & Omit<({ className }: {
24
+ className?: string;
25
+ }) => import("react").JSX.Element, keyof import("react").Component<any, {}, any>>;
26
+ 'chat-bubble': () => import("react").JSX.Element;
27
+ 'checkout-with-text': () => import("react").JSX.Element;
28
+ 'circle-tick': () => import("react").JSX.Element;
29
+ 'circle-info-filled': () => import("react").JSX.Element;
30
+ 'claim-line': () => import("react").JSX.Element;
31
+ 'clipboard-check': () => import("react").JSX.Element;
32
+ 'close-panel': () => import("react").JSX.Element;
33
+ 'confused-blue': () => import("react").JSX.Element;
34
+ 'contact-email': () => import("react").JSX.Element;
35
+ 'dashboard-high': () => import("react").JSX.Element;
36
+ 'direct-debit': () => import("react").JSX.Element;
37
+ 'doc-download': () => import("react").JSX.Element;
38
+ 'doc-upload': () => import("react").JSX.Element;
39
+ 'edit-contact': () => import("react").JSX.Element;
40
+ 'edit-outline': () => import("react").JSX.Element;
41
+ 'email-filled': () => import("react").JSX.Element;
42
+ 'falling-items': () => import("react").JSX.Element;
43
+ 'file-badge-2': () => import("react").JSX.Element;
44
+ 'file-cabinet': () => import("react").JSX.Element;
45
+ 'fraud-alert': () => import("react").JSX.Element;
46
+ 'freezer-food': () => import("react").JSX.Element;
47
+ 'google-play-badge': () => import("react").JSX.Element;
48
+ 'help-aboutus': () => import("react").JSX.Element;
49
+ 'help-buypolicy': () => import("react").JSX.Element;
50
+ 'help-center': () => import("react").JSX.Element;
51
+ 'help-idcheck': () => import("react").JSX.Element;
52
+ 'help-manage-policy': () => import("react").JSX.Element;
53
+ 'help-ncd': () => import("react").JSX.Element;
54
+ 'help-verification': () => import("react").JSX.Element;
55
+ 'home-excluded': () => import("react").JSX.Element;
56
+ 'house-tree': () => import("react").JSX.Element;
57
+ 'ios-store-badge': () => import("react").JSX.Element;
58
+ 'live-chat': () => import("react").JSX.Element;
59
+ 'live-chat2': () => import("react").JSX.Element;
60
+ 'log-out': () => import("react").JSX.Element;
61
+ 'mail-time': () => import("react").JSX.Element;
62
+ 'manage-drivers': () => import("react").JSX.Element;
63
+ 'manage-policy': () => import("react").JSX.Element;
64
+ 'maximise-window': () => import("react").JSX.Element;
65
+ 'minus-circle': () => import("react").JSX.Element;
66
+ 'money-bag': () => import("react").JSX.Element;
67
+ 'money-heart': () => import("react").JSX.Element;
68
+ 'more-dots': () => import("react").JSX.Element;
69
+ 'new-window': () => import("react").JSX.Element;
70
+ 'no-excess': () => import("react").JSX.Element;
71
+ 'open-panel': () => import("react").JSX.Element;
72
+ 'out-of-home': () => import("react").JSX.Element;
73
+ 'padlock-outline': () => import("react").JSX.Element;
74
+ 'phone-filled': () => import("react").JSX.Element;
75
+ 'phone-outline': () => import("react").JSX.Element;
76
+ 'pin-code': () => import("react").JSX.Element;
77
+ 'plus-circle': () => import("react").JSX.Element;
78
+ 'policy-details': () => import("react").JSX.Element;
79
+ 'policy-doc': () => import("react").JSX.Element;
80
+ 'policy-docs': () => import("react").JSX.Element;
81
+ 'pound-bold': () => import("react").JSX.Element;
82
+ 'pound-filled-circle': () => import("react").JSX.Element;
83
+ 'pound-medium': () => import("react").JSX.Element;
84
+ 'pound-outline': () => import("react").JSX.Element;
85
+ 'pound-regular': () => import("react").JSX.Element;
86
+ 'question-help': () => import("react").JSX.Element;
87
+ 'refer-a-friend': () => import("react").JSX.Element;
88
+ 'reg-plate': () => import("react").JSX.Element;
89
+ 'renewal-line': () => import("react").JSX.Element;
90
+ 'repeat-charge': () => import("react").JSX.Element;
91
+ 'schedule-quote': () => import("react").JSX.Element;
92
+ 'send-message': () => import("react").JSX.Element;
93
+ 'shield-check': () => import("react").JSX.Element;
94
+ 'thumbs-down': () => import("react").JSX.Element;
95
+ 'thumbs-up': () => import("react").JSX.Element;
96
+ 'tow-truck': () => import("react").JSX.Element;
97
+ 'trace-and-access': () => import("react").JSX.Element;
98
+ 'triangle-exclamation-solid': () => import("react").JSX.Element;
99
+ 'up-down': () => import("react").JSX.Element;
100
+ 'upload-documents': () => import("react").JSX.Element;
101
+ 'upload-email': () => import("react").JSX.Element;
102
+ 'warning-circle': () => import("react").JSX.Element;
103
+ 'wheel-flat': () => import("react").JSX.Element;
104
+ 'windscreen-repair': () => import("react").JSX.Element;
105
+ 'windscreen-replacement': () => import("react").JSX.Element;
106
+ aa: () => import("react").JSX.Element;
107
+ addons: () => import("react").JSX.Element;
108
+ ai: () => import("react").JSX.Element;
109
+ alert: () => import("react").JSX.Element;
110
+ amex: () => import("react").JSX.Element;
111
+ archive: () => import("react").JSX.Element;
112
+ arrow: () => import("react").JSX.Element;
113
+ at: () => import("react").JSX.Element;
114
+ axa: () => import("react").JSX.Element;
115
+ bank: () => import("react").JSX.Element;
116
+ basket: () => import("react").JSX.Element;
117
+ bicycle: () => import("react").JSX.Element;
118
+ boost: () => import("react").JSX.Element;
119
+ breakdown: () => import("react").JSX.Element;
120
+ briefcase: () => import("react").JSX.Element;
121
+ bullets: () => import("react").JSX.Element;
122
+ burger: () => import("react").JSX.Element;
123
+ calendar: () => import("react").JSX.Element;
124
+ camera: () => import("react").JSX.Element;
125
+ cancel: () => import("react").JSX.Element;
126
+ car: () => import("react").JSX.Element;
127
+ card: () => import("react").JSX.Element;
126
128
  caret: ({ className }: {
127
129
  className?: string;
128
- }) => import("react/jsx-runtime").JSX.Element;
129
- charge: () => import("react/jsx-runtime").JSX.Element;
130
- chat: () => import("react/jsx-runtime").JSX.Element;
131
- checkout: () => import("react/jsx-runtime").JSX.Element;
132
- city: () => import("react/jsx-runtime").JSX.Element;
133
- claim: () => import("react/jsx-runtime").JSX.Element;
134
- clipboard: () => import("react/jsx-runtime").JSX.Element;
135
- clock: () => import("react/jsx-runtime").JSX.Element;
136
- collpase: () => import("react/jsx-runtime").JSX.Element;
137
- confused: () => import("react/jsx-runtime").JSX.Element;
138
- copy: () => import("react/jsx-runtime").JSX.Element;
139
- crop: () => import("react/jsx-runtime").JSX.Element;
140
- cross: () => import("react/jsx-runtime").JSX.Element;
141
- download: () => import("react/jsx-runtime").JSX.Element;
142
- earth: () => import("react/jsx-runtime").JSX.Element;
143
- edit: () => import("react/jsx-runtime").JSX.Element;
144
- engine: () => import("react/jsx-runtime").JSX.Element;
145
- europe: () => import("react/jsx-runtime").JSX.Element;
146
- excluded: () => import("react/jsx-runtime").JSX.Element;
147
- expand: () => import("react/jsx-runtime").JSX.Element;
148
- facebook: () => import("react/jsx-runtime").JSX.Element;
149
- fence: () => import("react/jsx-runtime").JSX.Element;
150
- file: () => import("react/jsx-runtime").JSX.Element;
151
- filter: () => import("react/jsx-runtime").JSX.Element;
152
- fire: () => import("react/jsx-runtime").JSX.Element;
153
- flag: () => import("react/jsx-runtime").JSX.Element;
154
- flagFilled: () => import("react/jsx-runtime").JSX.Element;
155
- folder: () => import("react/jsx-runtime").JSX.Element;
156
- fuel: () => import("react/jsx-runtime").JSX.Element;
157
- globe: () => import("react/jsx-runtime").JSX.Element;
158
- gpay: () => import("react/jsx-runtime").JSX.Element;
159
- house: () => import("react/jsx-runtime").JSX.Element;
160
- id: () => import("react/jsx-runtime").JSX.Element;
161
- inbox: () => import("react/jsx-runtime").JSX.Element;
162
- included: () => import("react/jsx-runtime").JSX.Element;
163
- info: () => import("react/jsx-runtime").JSX.Element;
164
- injury: () => import("react/jsx-runtime").JSX.Element;
165
- instagram: () => import("react/jsx-runtime").JSX.Element;
166
- intercom: () => import("react/jsx-runtime").JSX.Element;
167
- intercom2: () => import("react/jsx-runtime").JSX.Element;
168
- iphone: () => import("react/jsx-runtime").JSX.Element;
169
- jewellery: () => import("react/jsx-runtime").JSX.Element;
170
- key: () => import("react/jsx-runtime").JSX.Element;
171
- laptop: () => import("react/jsx-runtime").JSX.Element;
172
- leaks: () => import("react/jsx-runtime").JSX.Element;
173
- lightbulb: () => import("react/jsx-runtime").JSX.Element;
174
- link: () => import("react/jsx-runtime").JSX.Element;
175
- linkedin: () => import("react/jsx-runtime").JSX.Element;
176
- location: () => import("react/jsx-runtime").JSX.Element;
177
- marshmallow: () => import("react/jsx-runtime").JSX.Element;
178
- mastercard: () => import("react/jsx-runtime").JSX.Element;
179
- maximise: () => import("react/jsx-runtime").JSX.Element;
180
- medical: () => import("react/jsx-runtime").JSX.Element;
181
- minimise: () => import("react/jsx-runtime").JSX.Element;
182
- minus: () => import("react/jsx-runtime").JSX.Element;
183
- mulsanne: () => import("react/jsx-runtime").JSX.Element;
184
- notes: () => import("react/jsx-runtime").JSX.Element;
185
- notification: () => import("react/jsx-runtime").JSX.Element;
186
- onfido: () => import("react/jsx-runtime").JSX.Element;
187
- other: () => import("react/jsx-runtime").JSX.Element;
188
- padlock: () => import("react/jsx-runtime").JSX.Element;
189
- paperclip: () => import("react/jsx-runtime").JSX.Element;
190
- people: () => import("react/jsx-runtime").JSX.Element;
191
- person: () => import("react/jsx-runtime").JSX.Element;
192
- photo: () => import("react/jsx-runtime").JSX.Element;
193
- plus: () => import("react/jsx-runtime").JSX.Element;
194
- policy: () => import("react/jsx-runtime").JSX.Element;
195
- premfina: () => import("react/jsx-runtime").JSX.Element;
196
- profile: () => import("react/jsx-runtime").JSX.Element;
197
- progress: () => import("react/jsx-runtime").JSX.Element;
198
- prohibited: () => import("react/jsx-runtime").JSX.Element;
199
- property: () => import("react/jsx-runtime").JSX.Element;
200
- rac: () => import("react/jsx-runtime").JSX.Element;
201
- ravelin: () => import("react/jsx-runtime").JSX.Element;
202
- refund: () => import("react/jsx-runtime").JSX.Element;
203
- renewal: () => import("react/jsx-runtime").JSX.Element;
204
- reply: () => import("react/jsx-runtime").JSX.Element;
205
- return: () => import("react/jsx-runtime").JSX.Element;
206
- search: () => import("react/jsx-runtime").JSX.Element;
207
- security: () => import("react/jsx-runtime").JSX.Element;
208
- settings: () => import("react/jsx-runtime").JSX.Element;
209
- shield: () => import("react/jsx-runtime").JSX.Element;
210
- shopping: () => import("react/jsx-runtime").JSX.Element;
211
- sofa: () => import("react/jsx-runtime").JSX.Element;
212
- stack: () => import("react/jsx-runtime").JSX.Element;
213
- storm: () => import("react/jsx-runtime").JSX.Element;
214
- stripe: () => import("react/jsx-runtime").JSX.Element;
215
- subsidence: () => import("react/jsx-runtime").JSX.Element;
216
- theft: () => import("react/jsx-runtime").JSX.Element;
217
- tick: () => import("react/jsx-runtime").JSX.Element;
218
- training: () => import("react/jsx-runtime").JSX.Element;
219
- trash: () => import("react/jsx-runtime").JSX.Element;
220
- twitter: () => import("react/jsx-runtime").JSX.Element;
221
- upload: () => import("react/jsx-runtime").JSX.Element;
222
- vandalism: () => import("react/jsx-runtime").JSX.Element;
223
- village: () => import("react/jsx-runtime").JSX.Element;
224
- visa: () => import("react/jsx-runtime").JSX.Element;
225
- warning: () => import("react/jsx-runtime").JSX.Element;
226
- watch: () => import("react/jsx-runtime").JSX.Element;
227
- wave: () => import("react/jsx-runtime").JSX.Element;
228
- wellbeing: () => import("react/jsx-runtime").JSX.Element;
229
- windscreen: () => import("react/jsx-runtime").JSX.Element;
230
- cmt: () => import("react/jsx-runtime").JSX.Element;
130
+ }) => import("react").JSX.Element;
131
+ charge: () => import("react").JSX.Element;
132
+ chat: () => import("react").JSX.Element;
133
+ checkout: () => import("react").JSX.Element;
134
+ city: () => import("react").JSX.Element;
135
+ claim: () => import("react").JSX.Element;
136
+ clipboard: () => import("react").JSX.Element;
137
+ clock: () => import("react").JSX.Element;
138
+ collpase: () => import("react").JSX.Element;
139
+ confused: () => import("react").JSX.Element;
140
+ copy: () => import("react").JSX.Element;
141
+ crop: () => import("react").JSX.Element;
142
+ cross: () => import("react").JSX.Element;
143
+ download: () => import("react").JSX.Element;
144
+ earth: () => import("react").JSX.Element;
145
+ edit: () => import("react").JSX.Element;
146
+ engine: () => import("react").JSX.Element;
147
+ europe: () => import("react").JSX.Element;
148
+ excluded: () => import("react").JSX.Element;
149
+ expand: () => import("react").JSX.Element;
150
+ facebook: () => import("react").JSX.Element;
151
+ fence: () => import("react").JSX.Element;
152
+ file: () => import("react").JSX.Element;
153
+ filter: () => import("react").JSX.Element;
154
+ fire: () => import("react").JSX.Element;
155
+ flag: () => import("react").JSX.Element;
156
+ flagFilled: () => import("react").JSX.Element;
157
+ folder: () => import("react").JSX.Element;
158
+ fuel: () => import("react").JSX.Element;
159
+ globe: () => import("react").JSX.Element;
160
+ gpay: () => import("react").JSX.Element;
161
+ house: () => import("react").JSX.Element;
162
+ id: () => import("react").JSX.Element;
163
+ inbox: () => import("react").JSX.Element;
164
+ included: () => import("react").JSX.Element;
165
+ info: () => import("react").JSX.Element;
166
+ injury: () => import("react").JSX.Element;
167
+ instagram: () => import("react").JSX.Element;
168
+ intercom: () => import("react").JSX.Element;
169
+ intercom2: () => import("react").JSX.Element;
170
+ iphone: () => import("react").JSX.Element;
171
+ jewellery: () => import("react").JSX.Element;
172
+ key: () => import("react").JSX.Element;
173
+ laptop: () => import("react").JSX.Element;
174
+ leaks: () => import("react").JSX.Element;
175
+ lightbulb: () => import("react").JSX.Element;
176
+ link: () => import("react").JSX.Element;
177
+ linkedin: () => import("react").JSX.Element;
178
+ location: () => import("react").JSX.Element;
179
+ marshmallow: () => import("react").JSX.Element;
180
+ mastercard: () => import("react").JSX.Element;
181
+ maximise: () => import("react").JSX.Element;
182
+ medical: () => import("react").JSX.Element;
183
+ minimise: () => import("react").JSX.Element;
184
+ minus: () => import("react").JSX.Element;
185
+ mulsanne: () => import("react").JSX.Element;
186
+ notes: () => import("react").JSX.Element;
187
+ notification: () => import("react").JSX.Element;
188
+ onfido: () => import("react").JSX.Element;
189
+ other: () => import("react").JSX.Element;
190
+ padlock: () => import("react").JSX.Element;
191
+ paperclip: () => import("react").JSX.Element;
192
+ people: () => import("react").JSX.Element;
193
+ person: () => import("react").JSX.Element;
194
+ photo: () => import("react").JSX.Element;
195
+ plus: () => import("react").JSX.Element;
196
+ policy: () => import("react").JSX.Element;
197
+ premfina: () => import("react").JSX.Element;
198
+ profile: () => import("react").JSX.Element;
199
+ progress: () => import("react").JSX.Element;
200
+ prohibited: () => import("react").JSX.Element;
201
+ property: () => import("react").JSX.Element;
202
+ rac: () => import("react").JSX.Element;
203
+ ravelin: () => import("react").JSX.Element;
204
+ refund: () => import("react").JSX.Element;
205
+ renewal: () => import("react").JSX.Element;
206
+ reply: () => import("react").JSX.Element;
207
+ return: () => import("react").JSX.Element;
208
+ search: () => import("react").JSX.Element;
209
+ security: () => import("react").JSX.Element;
210
+ settings: () => import("react").JSX.Element;
211
+ shield: () => import("react").JSX.Element;
212
+ shopping: () => import("react").JSX.Element;
213
+ sofa: () => import("react").JSX.Element;
214
+ stack: () => import("react").JSX.Element;
215
+ storm: () => import("react").JSX.Element;
216
+ stripe: () => import("react").JSX.Element;
217
+ subsidence: () => import("react").JSX.Element;
218
+ theft: () => import("react").JSX.Element;
219
+ tick: () => import("react").JSX.Element;
220
+ training: () => import("react").JSX.Element;
221
+ trash: () => import("react").JSX.Element;
222
+ twitter: () => import("react").JSX.Element;
223
+ upload: () => import("react").JSX.Element;
224
+ vandalism: () => import("react").JSX.Element;
225
+ village: () => import("react").JSX.Element;
226
+ visa: () => import("react").JSX.Element;
227
+ warning: () => import("react").JSX.Element;
228
+ watch: () => import("react").JSX.Element;
229
+ wave: () => import("react").JSX.Element;
230
+ wellbeing: () => import("react").JSX.Element;
231
+ windscreen: () => import("react").JSX.Element;
232
+ cmt: () => import("react").JSX.Element;
231
233
  };
232
234
  export type Icons = keyof typeof iconList;
@@ -9,5 +9,5 @@ interface Props {
9
9
  }) => void;
10
10
  currentStep: string;
11
11
  }
12
- export declare const ProgressIndicator: ({ handleStepChange, onStepClick, simpleStep, steps, currentStep, }: Props) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const ProgressIndicator: ({ handleStepChange, onStepClick, simpleStep, steps, currentStep, }: Props) => import("react").JSX.Element;
13
13
  export {};
@@ -1,4 +1,4 @@
1
- import { StepData } from 'ProgressIndicator/types';
1
+ import { StepData } from '../types';
2
2
  export interface StepItemProps extends Pick<StepData, 'label'> {
3
3
  isCompleted?: boolean;
4
4
  isLastCompleted?: boolean;
@@ -9,4 +9,4 @@ export interface StepItemProps extends Pick<StepData, 'label'> {
9
9
  stepWidth: string;
10
10
  isLastItem: boolean;
11
11
  }
12
- export declare const StepItem: ({ label, isSimple, isCurrentStep, stepWidth, onClick, isCompleted, isLastCompleted, isLastItem, isDisabled, }: StepItemProps) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const StepItem: ({ label, isSimple, isCurrentStep, stepWidth, onClick, isCompleted, isLastCompleted, isLastItem, isDisabled, }: StepItemProps) => import("react").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"StepItem.js","sourceRoot":"","sources":["../../../src/ProgressIndicator/components/StepItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAA;AAE/B,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACzD,OAAO,EAAE,KAAK,IAAI,QAAQ,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAA;AAaxE,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EACvB,KAAK,EACL,QAAQ,GAAG,KAAK,EAChB,aAAa,EACb,SAAS,EACT,OAAO,EACP,WAAW,GAAG,KAAK,EACnB,eAAe,GAAG,KAAK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UAAU,EAAE,KAAK,EAAE,EAAE,EAAE,CACtC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM;CAC3D,CAAA;AAED,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,CAAsB;;;;;;;;;CASrD,CAAA;AACD,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAAC,CAAsB;;YAE3C,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;CAClE,CAAA;AAED,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAsB;;;;;;gBAM3C,CAAC,EAAE,UAAU,EAAE,YAAY,EAAE,KAAK,EAAE,EAAE,EAAE,CACpD,UAAU,IAAI,YAAY;IACxB,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC;IACpC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC;CACzC,CAAA;AAED,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA;gBACf,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC;iBAChC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM;;CAE3C,CAAA;AAED,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;;;;;;gBAMhB,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC;;CAEhE,CAAA","sourcesContent":["import { Box } from '../../Box'\nimport { StepData } from 'ProgressIndicator/types'\nimport styled, { css, useTheme } from 'styled-components'\nimport { theme as oldTheme } from '../../theme'\nimport { Text } from '../../Text'\nimport { IconContainer } from '../../sharedStyles/shared.styles'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faCheck } from '@awesome.me/kit-46ca99185c/icons/classic/solid'\n\nexport interface StepItemProps extends Pick<StepData, 'label'> {\n isCompleted?: boolean\n isLastCompleted?: boolean\n isDisabled: boolean\n isCurrentStep: boolean\n isSimple?: boolean\n onClick: () => void\n stepWidth: string\n isLastItem: boolean\n}\n\nexport const StepItem = ({\n label,\n isSimple = false,\n isCurrentStep,\n stepWidth,\n onClick,\n isCompleted = false,\n isLastCompleted = false,\n isLastItem = false,\n isDisabled,\n}: StepItemProps) => {\n const theme = useTheme()\n if (isSimple) {\n return (\n <SimpleItem\n $completed={isCompleted}\n $lastCompleted={isLastCompleted}\n width={stepWidth}\n height=\"12px\"\n />\n )\n }\n\n return (\n <ProgressItem\n flex\n alignItems=\"flex-start\"\n $completed={isCompleted}\n $lastCompleted={isLastCompleted}\n width={stepWidth}\n >\n <ClickableArea\n flex\n data-testid={`step-item-${label}`}\n direction=\"column\"\n alignItems=\"center\"\n onClick={onClick}\n $isDisabled={isDisabled}\n >\n <ProgressIndicator\n $completed={isCompleted}\n $currentStep={isCurrentStep}\n flex\n alignItems=\"center\"\n justifyContent=\"center\"\n >\n {isCompleted && (\n <IconContainer $size={12}>\n <FontAwesomeIcon\n icon={faCheck}\n color={theme.color.surface.base['000']}\n />\n </IconContainer>\n )}\n </ProgressIndicator>\n <StyledText typo=\"caption\">{label}</StyledText>\n </ClickableArea>\n {isCompleted && !isLastItem && <CompletedBar />}\n </ProgressItem>\n )\n}\n\ninterface StyledComponentProps {\n $completed?: boolean\n $lastCompleted?: boolean\n $currentStep?: boolean\n $isDisabled?: boolean\n $completedStep?: boolean\n}\n\nconst lastCompleted = css`\n border-radius: 0 100px 100px 0;\n\n &:first-child {\n border-radius: 100px;\n }\n`\n\nconst borderRadiusCss = css<StyledComponentProps>`\n &:first-child {\n border-radius: 100px 0 0 100px;\n }\n\n ${({ $lastCompleted }) => $lastCompleted && lastCompleted}\n`\n\nconst SimpleItem = styled(Box)<StyledComponentProps>`\n position: relative;\n z-index: 1;\n ${borderRadiusCss}\n\n background: ${({ $completed, theme }) =>\n $completed ? theme.color.feedback.positive[200] : 'none'};\n`\n\nconst ProgressItem = styled(Box)<StyledComponentProps>`\n position: relative;\n z-index: 1;\n top: 9px;\n left: -10px;\n\n &:last-child {\n width: auto;\n }\n`\nconst ClickableArea = styled(Box)<StyledComponentProps>`\n position: relative;\n cursor: ${({ $isDisabled }) => ($isDisabled ? 'auto' : 'pointer')};\n`\n\nconst ProgressIndicator = styled(Box)<StyledComponentProps>`\n border-radius: 50%;\n height: 24px;\n width: 24px;\n position: relative;\n z-index: 1;\n background: ${({ $completed, $currentStep, theme }) =>\n $completed || $currentStep\n ? theme.color.feedback.positive[200]\n : theme.color.feedback.positive[100]};\n`\n\nconst StyledText = styled(Text)`\n margin-top: ${({ theme }) => theme.space['025']};\n font-weight: ${oldTheme.font.weight.medium};\n white-space: nowrap;\n`\n\nconst CompletedBar = styled(Box)`\n position: absolute;\n height: 12px;\n width: 100%;\n top: 7px;\n left: 13px;\n background: ${({ theme }) => theme.color.feedback.positive[200]};\n z-index: 0;\n`\n"]}
1
+ {"version":3,"file":"StepItem.js","sourceRoot":"","sources":["../../../src/ProgressIndicator/components/StepItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAA;AAE/B,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACzD,OAAO,EAAE,KAAK,IAAI,QAAQ,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAChE,OAAO,EAAE,O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EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC;;CAEhE,CAAA","sourcesContent":["import { Box } from '../../Box'\nimport { StepData } from '../types'\nimport styled, { css, useTheme } from 'styled-components'\nimport { theme as oldTheme } from '../../theme'\nimport { Text } from '../../Text'\nimport { IconContainer } from '../../sharedStyles/shared.styles'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faCheck } from '@awesome.me/kit-46ca99185c/icons/classic/solid'\n\nexport interface StepItemProps extends Pick<StepData, 'label'> {\n isCompleted?: boolean\n isLastCompleted?: boolean\n isDisabled: boolean\n isCurrentStep: boolean\n isSimple?: boolean\n onClick: () => void\n stepWidth: string\n isLastItem: boolean\n}\n\nexport const StepItem = ({\n label,\n isSimple = false,\n isCurrentStep,\n stepWidth,\n onClick,\n isCompleted = false,\n isLastCompleted = false,\n isLastItem = false,\n isDisabled,\n}: StepItemProps) => {\n const theme = useTheme()\n if (isSimple) {\n return (\n <SimpleItem\n $completed={isCompleted}\n $lastCompleted={isLastCompleted}\n width={stepWidth}\n height=\"12px\"\n />\n )\n }\n\n return (\n <ProgressItem\n flex\n alignItems=\"flex-start\"\n $completed={isCompleted}\n $lastCompleted={isLastCompleted}\n width={stepWidth}\n >\n <ClickableArea\n flex\n data-testid={`step-item-${label}`}\n direction=\"column\"\n alignItems=\"center\"\n onClick={onClick}\n $isDisabled={isDisabled}\n >\n <ProgressIndicator\n $completed={isCompleted}\n $currentStep={isCurrentStep}\n flex\n alignItems=\"center\"\n justifyContent=\"center\"\n >\n {isCompleted && (\n <IconContainer $size={12}>\n <FontAwesomeIcon\n icon={faCheck}\n color={theme.color.surface.base['000']}\n />\n </IconContainer>\n )}\n </ProgressIndicator>\n <StyledText typo=\"caption\">{label}</StyledText>\n </ClickableArea>\n {isCompleted && !isLastItem && <CompletedBar />}\n </ProgressItem>\n )\n}\n\ninterface StyledComponentProps {\n $completed?: boolean\n $lastCompleted?: boolean\n $currentStep?: boolean\n $isDisabled?: boolean\n $completedStep?: boolean\n}\n\nconst lastCompleted = css`\n border-radius: 0 100px 100px 0;\n\n &:first-child {\n border-radius: 100px;\n }\n`\n\nconst borderRadiusCss = css<StyledComponentProps>`\n &:first-child {\n border-radius: 100px 0 0 100px;\n }\n\n ${({ $lastCompleted }) => $lastCompleted && lastCompleted}\n`\n\nconst SimpleItem = styled(Box)<StyledComponentProps>`\n position: relative;\n z-index: 1;\n ${borderRadiusCss}\n\n background: ${({ $completed, theme }) =>\n $completed ? theme.color.feedback.positive[200] : 'none'};\n`\n\nconst ProgressItem = styled(Box)<StyledComponentProps>`\n position: relative;\n z-index: 1;\n top: 9px;\n left: -10px;\n\n &:last-child {\n width: auto;\n }\n`\nconst ClickableArea = styled(Box)<StyledComponentProps>`\n position: relative;\n cursor: ${({ $isDisabled }) => ($isDisabled ? 'auto' : 'pointer')};\n`\n\nconst ProgressIndicator = styled(Box)<StyledComponentProps>`\n border-radius: 50%;\n height: 24px;\n width: 24px;\n position: relative;\n z-index: 1;\n background: ${({ $completed, $currentStep, theme }) =>\n $completed || $currentStep\n ? theme.color.feedback.positive[200]\n : theme.color.feedback.positive[100]};\n`\n\nconst StyledText = styled(Text)`\n margin-top: ${({ theme }) => theme.space['025']};\n font-weight: ${oldTheme.font.weight.medium};\n white-space: nowrap;\n`\n\nconst CompletedBar = styled(Box)`\n position: absolute;\n height: 12px;\n width: 100%;\n top: 7px;\n left: 13px;\n background: ${({ theme }) => theme.color.feedback.positive[200]};\n z-index: 0;\n`\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.js","sourceRoot":"","sources":["../../src/RadioGroup/RadioGroup.tsx"],"names":[],"mappings":";AAAA,OAAO,EAGL,UAAU,EAKV,mBAAmB,EACnB,MAAM,GACP,MAAM,OAAO,CAAA;AAEd,OAAO,MAAM,MAAM,mBAAmB,CAAA;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AA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,\n ReactNode,\n RefAttributes,\n RefObject,\n useImperativeHandle,\n useRef,\n} from 'react'\n\nimport styled from 'styled-components'\n\nimport { useUniqueId } from '../utils/id'\n\nimport { CommonFieldProps } from '../fields/commonFieldTypes'\nimport { Fieldset } from '../fields/Fieldset'\n\nimport { ITEM_GAP } from './constants'\nimport { RadioItem } from './RadioItem'\nimport {\n BaseValueType,\n DisplayType,\n IconPosition,\n ItemWidth,\n JustifyContent,\n} from './types'\nimport { TransientProps } from 'utils/utilTypes'\nimport { Icons } from '../Icon'\n\nexport type RadioGroupProps<Value extends BaseValueType = BaseValueType> = {\n options: Array<{\n visual?: string\n icon?: Icons\n iconPosition?: IconPosition\n iconComponent?: ReactNode\n label: string\n value: Value\n bodyCopy?: string | ReactElement\n disabled?: boolean\n }>\n justifyContent?: JustifyContent\n itemWidth?: ItemWidth\n onChange: (value: Value) => void\n onBlur?: (e: FocusEvent<HTMLInputElement>) => void\n value: Value\n displayType?: DisplayType\n fallbackStyle?: boolean\n} & CommonFieldProps\n\nexport type RadioGroupElement = {\n focus: VoidFunction\n}\n\nconst RadioGroupComponent = <Value extends BaseValueType>(\n {\n options,\n onChange,\n onBlur,\n value,\n displayType = 'normal',\n renderAsTitle = false,\n error = false,\n fallbackStyle = false,\n justifyContent,\n itemWidth,\n ...fieldProps\n }: RadioGroupProps<Value>,\n ref: ForwardedRef<RadioGroupElement>,\n) => {\n const name = useUniqueId()\n\n const optionRefs = useRef<RefObject<HTMLInputElement | null>[]>([])\n useImperativeHandle(ref, () => {\n return {\n focus: () => {\n const selectedIndex = options.findIndex((item) => item.value === value)\n\n const elementToFocus = selectedIndex === -1 ? 0 : selectedIndex\n optionRefs.current[elementToFocus].current?.focus()\n },\n }\n })\n\n return (\n <Fieldset renderAsTitle={renderAsTitle} error={error} {...fieldProps}>\n <RadioItemList\n $displayType={displayType}\n $justifyContent={justifyContent}\n >\n {options.map((option, index) => {\n const isSelected = option.value === value\n\n return (\n <RadioItem\n ref={(radioOptionRef) => {\n optionRefs.current[index] = {\n current: radioOptionRef,\n }\n }}\n key={`${option.value}`}\n name={name}\n visual={option.visual}\n icon={option.icon}\n iconComponent={option.iconComponent}\n iconPosition={option.iconPosition}\n label={option.label}\n value={option.value}\n checked={isSelected}\n // @ts-expect-error TODO: address this type inconsistency in another PR\n onChange={onChange}\n onBlur={onBlur}\n displayType={displayType}\n isError={error}\n fallbackStyle={fallbackStyle}\n bodyCopy={option.bodyCopy}\n disabled={option.disabled}\n itemWidth={itemWidth}\n />\n )\n })}\n </RadioItemList>\n </Fieldset>\n )\n}\n\nexport const RadioGroup = forwardRef(RadioGroupComponent) as <\n Value extends BaseValueType = BaseValueType,\n>(\n p: RadioGroupProps<Value> & RefAttributes<HTMLInputElement>,\n) => ReactElement | null\n\nconst RadioItemList = styled.div<\n TransientProps<Pick<RadioGroupProps, 'displayType' | 'justifyContent'>>\n>`\n display: flex;\n gap: ${ITEM_GAP}px;\n justify-content: ${({ $justifyContent }) => $justifyContent ?? 'flex-start'};\n\n ${({ $displayType }) => {\n switch ($displayType) {\n case 'horizontal-normal':\n return `\n flex-direction: row;\n align-items: center;\n `\n case 'horizontal-card':\n return `\n flex-direction: row;\n flex-wrap: wrap;\n `\n default:\n return 'flex-direction: column;'\n }\n }}\n`\n"]}
1
+ {"version":3,"file":"RadioGroup.js","sourceRoot":"","sources":["../../src/RadioGroup/RadioGroup.tsx"],"names":[],"mappings":";AAAA,OAAO,EAGL,UAAU,EAKV,mBAAmB,EACnB,MAAM,GACP,MAAM,OAAO,CAAA;AAEd,OAAO,MAAM,MAAM,mBAAmB,CAAA;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAGzC,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAE7C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAmCvC,MAAM,mBAAmB,GAAG,CAC1B,EACE,OAA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rB,IAAI,EAAE,MAAM,CAAC,IAAI,EACjB,aAAa,EAAE,MAAM,CAAC,aAAa,EACnC,YAAY,EAAE,MAAM,CAAC,YAAY,EACjC,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,OAAO,EAAE,UAAU;oBACnB,uEAAuE;oBACvE,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,KAAK,EACd,aAAa,EAAE,aAAa,EAC5B,QAAQ,EAAE,MAAM,CAAC,QAAQ,EACzB,QAAQ,EAAE,MAAM,CAAC,QAAQ,EACzB,SAAS,EAAE,SAAS,IAjBf,GAAG,MAAM,CAAC,KAAK,EAAE,CAkBtB,CACH,CAAA;YACH,CAAC,CAAC,GACY,GACP,CACZ,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,UAAU,GAAG,UAAU,CAAC,mBAAmB,CAIhC,CAAA;AAExB,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAE/B;;SAEQ,QAAQ;qBACI,CAAC,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC,eAAe,IAAI,YAAY;;IAEzE,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;IACrB,QAAQ,YAAY,EAAE,CAAC;QACrB,KAAK,mBAAmB;YACtB,OAAO;;;SAGN,CAAA;QACH,KAAK,iBAAiB;YACpB,OAAO;;;SAGN,CAAA;QACH;YACE,OAAO,yBAAyB,CAAA;IACpC,CAAC;AACH,CAAC;CACF,CAAA","sourcesContent":["import {\n FocusEvent,\n ForwardedRef,\n forwardRef,\n ReactElement,\n ReactNode,\n RefAttributes,\n RefObject,\n useImperativeHandle,\n useRef,\n} from 'react'\n\nimport styled from 'styled-components'\n\nimport { useUniqueId } from '../utils/id'\n\nimport { CommonFieldProps } from '../fields/commonFieldTypes'\nimport { Fieldset } from '../fields/Fieldset'\n\nimport { ITEM_GAP } from './constants'\nimport { RadioItem } from './RadioItem'\nimport {\n BaseValueType,\n DisplayType,\n IconPosition,\n ItemWidth,\n JustifyContent,\n} from './types'\nimport { TransientProps } from '../utils/utilTypes'\nimport { Icons } from '../Icon'\n\nexport type RadioGroupProps<Value extends BaseValueType = BaseValueType> = {\n options: Array<{\n visual?: string\n icon?: Icons\n iconPosition?: IconPosition\n iconComponent?: ReactNode\n label: string\n value: Value\n bodyCopy?: string | ReactElement\n disabled?: boolean\n }>\n justifyContent?: JustifyContent\n itemWidth?: ItemWidth\n onChange: (value: Value) => void\n onBlur?: (e: FocusEvent<HTMLInputElement>) => void\n value: Value\n displayType?: DisplayType\n fallbackStyle?: boolean\n} & CommonFieldProps\n\nexport type RadioGroupElement = {\n focus: VoidFunction\n}\n\nconst RadioGroupComponent = <Value extends BaseValueType>(\n {\n options,\n onChange,\n onBlur,\n value,\n displayType = 'normal',\n renderAsTitle = false,\n error = false,\n fallbackStyle = false,\n justifyContent,\n itemWidth,\n ...fieldProps\n }: RadioGroupProps<Value>,\n ref: ForwardedRef<RadioGroupElement>,\n) => {\n const name = useUniqueId()\n\n const optionRefs = useRef<RefObject<HTMLInputElement | null>[]>([])\n useImperativeHandle(ref, () => {\n return {\n focus: () => {\n const selectedIndex = options.findIndex((item) => item.value === value)\n\n const elementToFocus = selectedIndex === -1 ? 0 : selectedIndex\n optionRefs.current[elementToFocus].current?.focus()\n },\n }\n })\n\n return (\n <Fieldset renderAsTitle={renderAsTitle} error={error} {...fieldProps}>\n <RadioItemList\n $displayType={displayType}\n $justifyContent={justifyContent}\n >\n {options.map((option, index) => {\n const isSelected = option.value === value\n\n return (\n <RadioItem\n ref={(radioOptionRef) => {\n optionRefs.current[index] = {\n current: radioOptionRef,\n }\n }}\n key={`${option.value}`}\n name={name}\n visual={option.visual}\n icon={option.icon}\n iconComponent={option.iconComponent}\n iconPosition={option.iconPosition}\n label={option.label}\n value={option.value}\n checked={isSelected}\n // @ts-expect-error TODO: address this type inconsistency in another PR\n onChange={onChange}\n onBlur={onBlur}\n displayType={displayType}\n isError={error}\n fallbackStyle={fallbackStyle}\n bodyCopy={option.bodyCopy}\n disabled={option.disabled}\n itemWidth={itemWidth}\n />\n )\n })}\n </RadioItemList>\n </Fieldset>\n )\n}\n\nexport const RadioGroup = forwardRef(RadioGroupComponent) as <\n Value extends BaseValueType = BaseValueType,\n>(\n p: RadioGroupProps<Value> & RefAttributes<HTMLInputElement>,\n) => ReactElement | null\n\nconst RadioItemList = styled.div<\n TransientProps<Pick<RadioGroupProps, 'displayType' | 'justifyContent'>>\n>`\n display: flex;\n gap: ${ITEM_GAP}px;\n justify-content: ${({ $justifyContent }) => $justifyContent ?? 'flex-start'};\n\n ${({ $displayType }) => {\n switch ($displayType) {\n case 'horizontal-normal':\n return `\n flex-direction: row;\n align-items: center;\n `\n case 'horizontal-card':\n return `\n flex-direction: row;\n flex-wrap: wrap;\n `\n default:\n return 'flex-direction: column;'\n }\n }}\n`\n"]}