@lightsparkdev/ui 0.0.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 (655) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +23 -0
  3. package/dist/chunk-2RF46PE5.js +127 -0
  4. package/dist/chunk-4X3K3VRC.js +263 -0
  5. package/dist/chunk-6AV4TE6I.js +20 -0
  6. package/dist/chunk-6RDG2DE3.js +25 -0
  7. package/dist/chunk-7ENCWBAN.js +112 -0
  8. package/dist/chunk-7NQH4LBZ.js +25 -0
  9. package/dist/chunk-ACZDUWPH.js +304 -0
  10. package/dist/chunk-BKOTW3CK.js +51 -0
  11. package/dist/chunk-BZ5MKMI2.js +58 -0
  12. package/dist/chunk-CIGAQ47A.js +45 -0
  13. package/dist/chunk-CLU2FRJZ.js +29 -0
  14. package/dist/chunk-CQDQFIWT.js +24 -0
  15. package/dist/chunk-DE24BV2C.js +61 -0
  16. package/dist/chunk-FETTWCK3.js +101 -0
  17. package/dist/chunk-I4PO6FQP.js +36 -0
  18. package/dist/chunk-IJVWYT5G.js +8 -0
  19. package/dist/chunk-JSGRNWSB.js +233 -0
  20. package/dist/chunk-K7MPHJNG.js +66 -0
  21. package/dist/chunk-L7XFJWMY.js +93 -0
  22. package/dist/chunk-LAMQKQU3.js +56 -0
  23. package/dist/chunk-LJYASIJC.js +117 -0
  24. package/dist/chunk-LWTUQB7O.js +34 -0
  25. package/dist/chunk-LZHLWOXG.js +94 -0
  26. package/dist/chunk-NBCCPGA4.js +17 -0
  27. package/dist/chunk-O27TAUAS.js +76 -0
  28. package/dist/chunk-QR7BKTM6.js +131 -0
  29. package/dist/chunk-RUVXOYBL.js +19 -0
  30. package/dist/chunk-SVQELXFK.js +131 -0
  31. package/dist/chunk-W4GDCWKZ.js +86 -0
  32. package/dist/chunk-WOR7J4KZ.js +37 -0
  33. package/dist/chunk-WVEK4LFA.js +137 -0
  34. package/dist/chunk-WVJNZRKF.js +741 -0
  35. package/dist/chunk-X6BI4STY.js +23 -0
  36. package/dist/chunk-XTEEADPV.js +288 -0
  37. package/dist/chunk-Y4RJ7WS4.js +38 -0
  38. package/dist/components/Button.cjs +1645 -0
  39. package/dist/components/Button.d.cts +62 -0
  40. package/dist/components/Button.d.ts +62 -0
  41. package/dist/components/Button.js +21 -0
  42. package/dist/components/ButtonRow.cjs +1759 -0
  43. package/dist/components/ButtonRow.d.cts +24 -0
  44. package/dist/components/ButtonRow.d.ts +24 -0
  45. package/dist/components/ButtonRow.js +21 -0
  46. package/dist/components/Collapsible.cjs +1433 -0
  47. package/dist/components/Collapsible.d.cts +35 -0
  48. package/dist/components/Collapsible.d.ts +35 -0
  49. package/dist/components/Collapsible.js +21 -0
  50. package/dist/components/CommandKey.cjs +72 -0
  51. package/dist/components/CommandKey.d.cts +12 -0
  52. package/dist/components/CommandKey.d.ts +12 -0
  53. package/dist/components/CommandKey.js +8 -0
  54. package/dist/components/CopyToClipboardButton.cjs +1346 -0
  55. package/dist/components/CopyToClipboardButton.d.cts +18 -0
  56. package/dist/components/CopyToClipboardButton.d.ts +18 -0
  57. package/dist/components/CopyToClipboardButton.js +15 -0
  58. package/dist/components/CurrencyAmount.cjs +1355 -0
  59. package/dist/components/CurrencyAmount.d.cts +24 -0
  60. package/dist/components/CurrencyAmount.d.ts +24 -0
  61. package/dist/components/CurrencyAmount.js +16 -0
  62. package/dist/components/Icon.cjs +1265 -0
  63. package/dist/components/Icon.d.cts +29 -0
  64. package/dist/components/Icon.d.ts +29 -0
  65. package/dist/components/Icon.js +15 -0
  66. package/dist/components/LightboxImage.cjs +186 -0
  67. package/dist/components/LightboxImage.d.cts +8 -0
  68. package/dist/components/LightboxImage.d.ts +8 -0
  69. package/dist/components/LightboxImage.js +9 -0
  70. package/dist/components/LightsparkProvider.cjs +1332 -0
  71. package/dist/components/LightsparkProvider.d.cts +8 -0
  72. package/dist/components/LightsparkProvider.d.ts +8 -0
  73. package/dist/components/LightsparkProvider.js +14 -0
  74. package/dist/components/Loading.cjs +1317 -0
  75. package/dist/components/Loading.d.cts +27 -0
  76. package/dist/components/Loading.d.ts +27 -0
  77. package/dist/components/Loading.js +16 -0
  78. package/dist/components/Modal.cjs +1998 -0
  79. package/dist/components/Modal.d.cts +35 -0
  80. package/dist/components/Modal.d.ts +35 -0
  81. package/dist/components/Modal.js +21 -0
  82. package/dist/components/SecretContainer.cjs +1379 -0
  83. package/dist/components/SecretContainer.d.cts +10 -0
  84. package/dist/components/SecretContainer.d.ts +10 -0
  85. package/dist/components/SecretContainer.js +16 -0
  86. package/dist/components/TextIconAligner.cjs +1309 -0
  87. package/dist/components/TextIconAligner.d.cts +23 -0
  88. package/dist/components/TextIconAligner.d.ts +23 -0
  89. package/dist/components/TextIconAligner.js +14 -0
  90. package/dist/components/UnstyledButton.cjs +1190 -0
  91. package/dist/components/UnstyledButton.d.cts +10 -0
  92. package/dist/components/UnstyledButton.d.ts +10 -0
  93. package/dist/components/UnstyledButton.js +12 -0
  94. package/dist/components/documentation/AnchorLinkHeader.cjs +1387 -0
  95. package/dist/components/documentation/AnchorLinkHeader.d.cts +8 -0
  96. package/dist/components/documentation/AnchorLinkHeader.d.ts +8 -0
  97. package/dist/components/documentation/AnchorLinkHeader.js +16 -0
  98. package/dist/components/documentation/index.cjs +1388 -0
  99. package/dist/components/documentation/index.d.cts +5 -0
  100. package/dist/components/documentation/index.d.ts +5 -0
  101. package/dist/components/documentation/index.js +15 -0
  102. package/dist/components/index.cjs +2720 -0
  103. package/dist/components/index.d.cts +23 -0
  104. package/dist/components/index.d.ts +23 -0
  105. package/dist/components/index.js +82 -0
  106. package/dist/hooks/useLiveRef.cjs +41 -0
  107. package/dist/hooks/useLiveRef.d.cts +8 -0
  108. package/dist/hooks/useLiveRef.d.ts +8 -0
  109. package/dist/hooks/useLiveRef.js +7 -0
  110. package/dist/icons/AI.cjs +49 -0
  111. package/dist/icons/AI.d.cts +5 -0
  112. package/dist/icons/AI.d.ts +5 -0
  113. package/dist/icons/AI.js +30 -0
  114. package/dist/icons/AnchorLink.cjs +48 -0
  115. package/dist/icons/AnchorLink.d.cts +5 -0
  116. package/dist/icons/AnchorLink.d.ts +5 -0
  117. package/dist/icons/AnchorLink.js +29 -0
  118. package/dist/icons/AppIcon.cjs +88 -0
  119. package/dist/icons/AppIcon.d.cts +5 -0
  120. package/dist/icons/AppIcon.d.ts +5 -0
  121. package/dist/icons/AppIcon.js +69 -0
  122. package/dist/icons/ArrowCircleTier1.cjs +48 -0
  123. package/dist/icons/ArrowCircleTier1.d.cts +5 -0
  124. package/dist/icons/ArrowCircleTier1.d.ts +5 -0
  125. package/dist/icons/ArrowCircleTier1.js +29 -0
  126. package/dist/icons/ArrowCircleTier2.cjs +48 -0
  127. package/dist/icons/ArrowCircleTier2.d.cts +5 -0
  128. package/dist/icons/ArrowCircleTier2.d.ts +5 -0
  129. package/dist/icons/ArrowCircleTier2.js +29 -0
  130. package/dist/icons/ArrowCircleTier3.cjs +48 -0
  131. package/dist/icons/ArrowCircleTier3.d.cts +5 -0
  132. package/dist/icons/ArrowCircleTier3.d.ts +5 -0
  133. package/dist/icons/ArrowCircleTier3.js +29 -0
  134. package/dist/icons/ArrowDown.cjs +53 -0
  135. package/dist/icons/ArrowDown.d.cts +5 -0
  136. package/dist/icons/ArrowDown.d.ts +5 -0
  137. package/dist/icons/ArrowDown.js +30 -0
  138. package/dist/icons/ArrowUp.cjs +53 -0
  139. package/dist/icons/ArrowUp.d.cts +5 -0
  140. package/dist/icons/ArrowUp.d.ts +5 -0
  141. package/dist/icons/ArrowUp.js +30 -0
  142. package/dist/icons/Bell.cjs +57 -0
  143. package/dist/icons/Bell.d.cts +8 -0
  144. package/dist/icons/Bell.d.ts +8 -0
  145. package/dist/icons/Bell.js +38 -0
  146. package/dist/icons/BellOn.cjs +67 -0
  147. package/dist/icons/BellOn.d.cts +8 -0
  148. package/dist/icons/BellOn.d.ts +8 -0
  149. package/dist/icons/BellOn.js +48 -0
  150. package/dist/icons/BitcoinB.cjs +46 -0
  151. package/dist/icons/BitcoinB.d.cts +5 -0
  152. package/dist/icons/BitcoinB.d.ts +5 -0
  153. package/dist/icons/BitcoinB.js +27 -0
  154. package/dist/icons/BitcoinBOnRoundedSquare.cjs +48 -0
  155. package/dist/icons/BitcoinBOnRoundedSquare.d.cts +5 -0
  156. package/dist/icons/BitcoinBOnRoundedSquare.d.ts +5 -0
  157. package/dist/icons/BitcoinBOnRoundedSquare.js +29 -0
  158. package/dist/icons/Bolt.cjs +116 -0
  159. package/dist/icons/Bolt.d.cts +9 -0
  160. package/dist/icons/Bolt.d.ts +9 -0
  161. package/dist/icons/Bolt.js +97 -0
  162. package/dist/icons/Camera.cjs +55 -0
  163. package/dist/icons/Camera.d.cts +5 -0
  164. package/dist/icons/Camera.d.ts +5 -0
  165. package/dist/icons/Camera.js +36 -0
  166. package/dist/icons/CameraCapture.cjs +97 -0
  167. package/dist/icons/CameraCapture.d.cts +5 -0
  168. package/dist/icons/CameraCapture.d.ts +5 -0
  169. package/dist/icons/CameraCapture.js +78 -0
  170. package/dist/icons/Channel.cjs +67 -0
  171. package/dist/icons/Channel.d.cts +5 -0
  172. package/dist/icons/Channel.d.ts +5 -0
  173. package/dist/icons/Channel.js +48 -0
  174. package/dist/icons/ChannelBalance.cjs +58 -0
  175. package/dist/icons/ChannelBalance.d.cts +5 -0
  176. package/dist/icons/ChannelBalance.d.ts +5 -0
  177. package/dist/icons/ChannelBalance.js +39 -0
  178. package/dist/icons/ChannelOpen.cjs +64 -0
  179. package/dist/icons/ChannelOpen.d.cts +5 -0
  180. package/dist/icons/ChannelOpen.d.ts +5 -0
  181. package/dist/icons/ChannelOpen.js +45 -0
  182. package/dist/icons/CheckboxIcon.cjs +81 -0
  183. package/dist/icons/CheckboxIcon.d.cts +8 -0
  184. package/dist/icons/CheckboxIcon.d.ts +8 -0
  185. package/dist/icons/CheckboxIcon.js +62 -0
  186. package/dist/icons/Checkmark.cjs +47 -0
  187. package/dist/icons/Checkmark.d.cts +5 -0
  188. package/dist/icons/Checkmark.d.ts +5 -0
  189. package/dist/icons/Checkmark.js +28 -0
  190. package/dist/icons/CheckmarkCircleGreen.cjs +49 -0
  191. package/dist/icons/CheckmarkCircleGreen.d.cts +5 -0
  192. package/dist/icons/CheckmarkCircleGreen.d.ts +5 -0
  193. package/dist/icons/CheckmarkCircleGreen.js +30 -0
  194. package/dist/icons/CheckmarkCircleTier1.cjs +49 -0
  195. package/dist/icons/CheckmarkCircleTier1.d.cts +5 -0
  196. package/dist/icons/CheckmarkCircleTier1.d.ts +5 -0
  197. package/dist/icons/CheckmarkCircleTier1.js +30 -0
  198. package/dist/icons/CheckmarkCircleTier2.cjs +49 -0
  199. package/dist/icons/CheckmarkCircleTier2.d.cts +5 -0
  200. package/dist/icons/CheckmarkCircleTier2.d.ts +5 -0
  201. package/dist/icons/CheckmarkCircleTier2.js +30 -0
  202. package/dist/icons/CheckmarkCircleTier3.cjs +49 -0
  203. package/dist/icons/CheckmarkCircleTier3.d.cts +5 -0
  204. package/dist/icons/CheckmarkCircleTier3.d.ts +5 -0
  205. package/dist/icons/CheckmarkCircleTier3.js +30 -0
  206. package/dist/icons/Chevron.cjs +45 -0
  207. package/dist/icons/Chevron.d.cts +5 -0
  208. package/dist/icons/Chevron.d.ts +5 -0
  209. package/dist/icons/Chevron.js +26 -0
  210. package/dist/icons/CircleCheck.cjs +54 -0
  211. package/dist/icons/CircleCheck.d.cts +5 -0
  212. package/dist/icons/CircleCheck.d.ts +5 -0
  213. package/dist/icons/CircleCheck.js +31 -0
  214. package/dist/icons/CircleCheckOutline.cjs +51 -0
  215. package/dist/icons/CircleCheckOutline.d.cts +5 -0
  216. package/dist/icons/CircleCheckOutline.d.ts +5 -0
  217. package/dist/icons/CircleCheckOutline.js +28 -0
  218. package/dist/icons/CirclePlus.cjs +43 -0
  219. package/dist/icons/CirclePlus.d.cts +5 -0
  220. package/dist/icons/CirclePlus.d.ts +5 -0
  221. package/dist/icons/CirclePlus.js +20 -0
  222. package/dist/icons/Clock.cjs +53 -0
  223. package/dist/icons/Clock.d.cts +5 -0
  224. package/dist/icons/Clock.d.ts +5 -0
  225. package/dist/icons/Clock.js +30 -0
  226. package/dist/icons/Close.cjs +47 -0
  227. package/dist/icons/Close.d.cts +5 -0
  228. package/dist/icons/Close.d.ts +5 -0
  229. package/dist/icons/Close.js +28 -0
  230. package/dist/icons/Code.cjs +48 -0
  231. package/dist/icons/Code.d.cts +5 -0
  232. package/dist/icons/Code.d.ts +5 -0
  233. package/dist/icons/Code.js +29 -0
  234. package/dist/icons/Copy.cjs +45 -0
  235. package/dist/icons/Copy.d.cts +5 -0
  236. package/dist/icons/Copy.d.ts +5 -0
  237. package/dist/icons/Copy.js +26 -0
  238. package/dist/icons/CreditCard.cjs +52 -0
  239. package/dist/icons/CreditCard.d.cts +5 -0
  240. package/dist/icons/CreditCard.d.ts +5 -0
  241. package/dist/icons/CreditCard.js +33 -0
  242. package/dist/icons/DeleteIcon.cjs +63 -0
  243. package/dist/icons/DeleteIcon.d.cts +5 -0
  244. package/dist/icons/DeleteIcon.d.ts +5 -0
  245. package/dist/icons/DeleteIcon.js +44 -0
  246. package/dist/icons/Dollar.cjs +48 -0
  247. package/dist/icons/Dollar.d.cts +5 -0
  248. package/dist/icons/Dollar.d.ts +5 -0
  249. package/dist/icons/Dollar.js +29 -0
  250. package/dist/icons/Dots.cjs +38 -0
  251. package/dist/icons/Dots.d.cts +5 -0
  252. package/dist/icons/Dots.d.ts +5 -0
  253. package/dist/icons/Dots.js +19 -0
  254. package/dist/icons/Down.cjs +47 -0
  255. package/dist/icons/Down.d.cts +5 -0
  256. package/dist/icons/Down.d.ts +5 -0
  257. package/dist/icons/Down.js +28 -0
  258. package/dist/icons/Download.cjs +45 -0
  259. package/dist/icons/Download.d.cts +5 -0
  260. package/dist/icons/Download.d.ts +5 -0
  261. package/dist/icons/Download.js +26 -0
  262. package/dist/icons/ExclamationPoint.cjs +67 -0
  263. package/dist/icons/ExclamationPoint.d.cts +5 -0
  264. package/dist/icons/ExclamationPoint.d.ts +5 -0
  265. package/dist/icons/ExclamationPoint.js +48 -0
  266. package/dist/icons/Exit.cjs +46 -0
  267. package/dist/icons/Exit.d.cts +5 -0
  268. package/dist/icons/Exit.d.ts +5 -0
  269. package/dist/icons/Exit.js +27 -0
  270. package/dist/icons/Explorer.cjs +43 -0
  271. package/dist/icons/Explorer.d.cts +5 -0
  272. package/dist/icons/Explorer.d.ts +5 -0
  273. package/dist/icons/Explorer.js +24 -0
  274. package/dist/icons/Eye.cjs +54 -0
  275. package/dist/icons/Eye.d.cts +5 -0
  276. package/dist/icons/Eye.d.ts +5 -0
  277. package/dist/icons/Eye.js +35 -0
  278. package/dist/icons/EyeDropper.cjs +46 -0
  279. package/dist/icons/EyeDropper.d.cts +5 -0
  280. package/dist/icons/EyeDropper.d.ts +5 -0
  281. package/dist/icons/EyeDropper.js +27 -0
  282. package/dist/icons/FlutterTwoTone.cjs +70 -0
  283. package/dist/icons/FlutterTwoTone.d.cts +5 -0
  284. package/dist/icons/FlutterTwoTone.d.ts +5 -0
  285. package/dist/icons/FlutterTwoTone.js +51 -0
  286. package/dist/icons/Gear.cjs +54 -0
  287. package/dist/icons/Gear.d.cts +5 -0
  288. package/dist/icons/Gear.d.ts +5 -0
  289. package/dist/icons/Gear.js +35 -0
  290. package/dist/icons/Github.cjs +45 -0
  291. package/dist/icons/Github.d.cts +5 -0
  292. package/dist/icons/Github.d.ts +5 -0
  293. package/dist/icons/Github.js +26 -0
  294. package/dist/icons/GoTwoTone.cjs +86 -0
  295. package/dist/icons/GoTwoTone.d.cts +5 -0
  296. package/dist/icons/GoTwoTone.d.ts +5 -0
  297. package/dist/icons/GoTwoTone.js +67 -0
  298. package/dist/icons/GraphQLTwoTone.cjs +145 -0
  299. package/dist/icons/GraphQLTwoTone.d.cts +5 -0
  300. package/dist/icons/GraphQLTwoTone.d.ts +5 -0
  301. package/dist/icons/GraphQLTwoTone.js +126 -0
  302. package/dist/icons/HeartOutline.cjs +70 -0
  303. package/dist/icons/HeartOutline.d.cts +8 -0
  304. package/dist/icons/HeartOutline.d.ts +8 -0
  305. package/dist/icons/HeartOutline.js +51 -0
  306. package/dist/icons/HorizontalArrows.cjs +60 -0
  307. package/dist/icons/HorizontalArrows.d.cts +5 -0
  308. package/dist/icons/HorizontalArrows.d.ts +5 -0
  309. package/dist/icons/HorizontalArrows.js +41 -0
  310. package/dist/icons/Info.cjs +68 -0
  311. package/dist/icons/Info.d.cts +5 -0
  312. package/dist/icons/Info.d.ts +5 -0
  313. package/dist/icons/Info.js +49 -0
  314. package/dist/icons/InvoiceNew.cjs +46 -0
  315. package/dist/icons/InvoiceNew.d.cts +5 -0
  316. package/dist/icons/InvoiceNew.d.ts +5 -0
  317. package/dist/icons/InvoiceNew.js +27 -0
  318. package/dist/icons/JavaScriptTwoTone.cjs +83 -0
  319. package/dist/icons/JavaScriptTwoTone.d.cts +5 -0
  320. package/dist/icons/JavaScriptTwoTone.d.ts +5 -0
  321. package/dist/icons/JavaScriptTwoTone.js +64 -0
  322. package/dist/icons/JavaTwoTone.cjs +48 -0
  323. package/dist/icons/JavaTwoTone.d.cts +5 -0
  324. package/dist/icons/JavaTwoTone.d.ts +5 -0
  325. package/dist/icons/JavaTwoTone.js +29 -0
  326. package/dist/icons/KotlinTwoTone.cjs +62 -0
  327. package/dist/icons/KotlinTwoTone.d.cts +5 -0
  328. package/dist/icons/KotlinTwoTone.d.ts +5 -0
  329. package/dist/icons/KotlinTwoTone.js +43 -0
  330. package/dist/icons/LeftArrow.cjs +46 -0
  331. package/dist/icons/LeftArrow.d.cts +5 -0
  332. package/dist/icons/LeftArrow.d.ts +5 -0
  333. package/dist/icons/LeftArrow.js +27 -0
  334. package/dist/icons/LightningOnRoundedSquare.cjs +46 -0
  335. package/dist/icons/LightningOnRoundedSquare.d.cts +5 -0
  336. package/dist/icons/LightningOnRoundedSquare.d.ts +5 -0
  337. package/dist/icons/LightningOnRoundedSquare.js +27 -0
  338. package/dist/icons/LinkIcon.cjs +58 -0
  339. package/dist/icons/LinkIcon.d.cts +5 -0
  340. package/dist/icons/LinkIcon.d.ts +5 -0
  341. package/dist/icons/LinkIcon.js +39 -0
  342. package/dist/icons/LoadingSpinner.cjs +202 -0
  343. package/dist/icons/LoadingSpinner.d.cts +5 -0
  344. package/dist/icons/LoadingSpinner.d.ts +5 -0
  345. package/dist/icons/LoadingSpinner.js +183 -0
  346. package/dist/icons/Lock.cjs +56 -0
  347. package/dist/icons/Lock.d.cts +5 -0
  348. package/dist/icons/Lock.d.ts +5 -0
  349. package/dist/icons/Lock.js +37 -0
  350. package/dist/icons/Logo.cjs +78 -0
  351. package/dist/icons/Logo.d.cts +5 -0
  352. package/dist/icons/Logo.d.ts +5 -0
  353. package/dist/icons/Logo.js +33 -0
  354. package/dist/icons/LogoBolt.cjs +125 -0
  355. package/dist/icons/LogoBolt.d.cts +5 -0
  356. package/dist/icons/LogoBolt.d.ts +5 -0
  357. package/dist/icons/LogoBolt.js +106 -0
  358. package/dist/icons/LogoOnCircle.cjs +56 -0
  359. package/dist/icons/LogoOnCircle.d.cts +5 -0
  360. package/dist/icons/LogoOnCircle.d.ts +5 -0
  361. package/dist/icons/LogoOnCircle.js +37 -0
  362. package/dist/icons/MagicWand.cjs +75 -0
  363. package/dist/icons/MagicWand.d.cts +5 -0
  364. package/dist/icons/MagicWand.d.ts +5 -0
  365. package/dist/icons/MagicWand.js +56 -0
  366. package/dist/icons/Mail.cjs +47 -0
  367. package/dist/icons/Mail.d.cts +5 -0
  368. package/dist/icons/Mail.d.ts +5 -0
  369. package/dist/icons/Mail.js +28 -0
  370. package/dist/icons/Monitor.cjs +71 -0
  371. package/dist/icons/Monitor.d.cts +5 -0
  372. package/dist/icons/Monitor.d.ts +5 -0
  373. package/dist/icons/Monitor.js +52 -0
  374. package/dist/icons/NodeAdd.cjs +44 -0
  375. package/dist/icons/NodeAdd.d.cts +5 -0
  376. package/dist/icons/NodeAdd.d.ts +5 -0
  377. package/dist/icons/NodeAdd.js +25 -0
  378. package/dist/icons/NotEye.cjs +56 -0
  379. package/dist/icons/NotEye.d.cts +5 -0
  380. package/dist/icons/NotEye.d.ts +5 -0
  381. package/dist/icons/NotEye.js +37 -0
  382. package/dist/icons/NoteLine.cjs +44 -0
  383. package/dist/icons/NoteLine.d.cts +5 -0
  384. package/dist/icons/NoteLine.d.ts +5 -0
  385. package/dist/icons/NoteLine.js +25 -0
  386. package/dist/icons/PaperPlane.cjs +45 -0
  387. package/dist/icons/PaperPlane.d.cts +5 -0
  388. package/dist/icons/PaperPlane.d.ts +5 -0
  389. package/dist/icons/PaperPlane.js +26 -0
  390. package/dist/icons/Pencil.cjs +46 -0
  391. package/dist/icons/Pencil.d.cts +8 -0
  392. package/dist/icons/Pencil.d.ts +8 -0
  393. package/dist/icons/Pencil.js +27 -0
  394. package/dist/icons/Person.cjs +48 -0
  395. package/dist/icons/Person.d.cts +5 -0
  396. package/dist/icons/Person.d.ts +5 -0
  397. package/dist/icons/Person.js +29 -0
  398. package/dist/icons/Phone.cjs +57 -0
  399. package/dist/icons/Phone.d.cts +5 -0
  400. package/dist/icons/Phone.d.ts +5 -0
  401. package/dist/icons/Phone.js +38 -0
  402. package/dist/icons/PiggyBank.cjs +72 -0
  403. package/dist/icons/PiggyBank.d.cts +5 -0
  404. package/dist/icons/PiggyBank.d.ts +5 -0
  405. package/dist/icons/PiggyBank.js +49 -0
  406. package/dist/icons/Plus.cjs +74 -0
  407. package/dist/icons/Plus.d.cts +5 -0
  408. package/dist/icons/Plus.d.ts +5 -0
  409. package/dist/icons/Plus.js +55 -0
  410. package/dist/icons/PythonTwoTone.cjs +54 -0
  411. package/dist/icons/PythonTwoTone.d.cts +5 -0
  412. package/dist/icons/PythonTwoTone.d.ts +5 -0
  413. package/dist/icons/PythonTwoTone.js +35 -0
  414. package/dist/icons/QRCodeIcon.cjs +125 -0
  415. package/dist/icons/QRCodeIcon.d.cts +5 -0
  416. package/dist/icons/QRCodeIcon.d.ts +5 -0
  417. package/dist/icons/QRCodeIcon.js +106 -0
  418. package/dist/icons/ReactTwoTone.cjs +80 -0
  419. package/dist/icons/ReactTwoTone.d.cts +5 -0
  420. package/dist/icons/ReactTwoTone.d.ts +5 -0
  421. package/dist/icons/ReactTwoTone.js +61 -0
  422. package/dist/icons/Receive.cjs +47 -0
  423. package/dist/icons/Receive.d.cts +6 -0
  424. package/dist/icons/Receive.d.ts +6 -0
  425. package/dist/icons/Receive.js +28 -0
  426. package/dist/icons/Recycling.cjs +46 -0
  427. package/dist/icons/Recycling.d.cts +5 -0
  428. package/dist/icons/Recycling.d.ts +5 -0
  429. package/dist/icons/Recycling.js +27 -0
  430. package/dist/icons/Restart.cjs +46 -0
  431. package/dist/icons/Restart.d.cts +5 -0
  432. package/dist/icons/Restart.d.ts +5 -0
  433. package/dist/icons/Restart.js +27 -0
  434. package/dist/icons/RightArrow.cjs +46 -0
  435. package/dist/icons/RightArrow.d.cts +5 -0
  436. package/dist/icons/RightArrow.d.ts +5 -0
  437. package/dist/icons/RightArrow.js +27 -0
  438. package/dist/icons/Roadmap.cjs +46 -0
  439. package/dist/icons/Roadmap.d.cts +5 -0
  440. package/dist/icons/Roadmap.d.ts +5 -0
  441. package/dist/icons/Roadmap.js +27 -0
  442. package/dist/icons/Route.cjs +59 -0
  443. package/dist/icons/Route.d.cts +6 -0
  444. package/dist/icons/Route.d.ts +6 -0
  445. package/dist/icons/Route.js +40 -0
  446. package/dist/icons/RustTwoTone.cjs +60 -0
  447. package/dist/icons/RustTwoTone.d.cts +5 -0
  448. package/dist/icons/RustTwoTone.d.ts +5 -0
  449. package/dist/icons/RustTwoTone.js +41 -0
  450. package/dist/icons/Satoshi.cjs +59 -0
  451. package/dist/icons/Satoshi.d.cts +5 -0
  452. package/dist/icons/Satoshi.d.ts +5 -0
  453. package/dist/icons/Satoshi.js +40 -0
  454. package/dist/icons/SatoshiRounded.cjs +85 -0
  455. package/dist/icons/SatoshiRounded.d.cts +5 -0
  456. package/dist/icons/SatoshiRounded.d.ts +5 -0
  457. package/dist/icons/SatoshiRounded.js +66 -0
  458. package/dist/icons/Search.cjs +47 -0
  459. package/dist/icons/Search.d.cts +5 -0
  460. package/dist/icons/Search.d.ts +5 -0
  461. package/dist/icons/Search.js +28 -0
  462. package/dist/icons/SecurityKey.cjs +71 -0
  463. package/dist/icons/SecurityKey.d.cts +5 -0
  464. package/dist/icons/SecurityKey.d.ts +5 -0
  465. package/dist/icons/SecurityKey.js +52 -0
  466. package/dist/icons/Selector.cjs +61 -0
  467. package/dist/icons/Selector.d.cts +5 -0
  468. package/dist/icons/Selector.d.ts +5 -0
  469. package/dist/icons/Selector.js +42 -0
  470. package/dist/icons/SemiCircleOverlap.cjs +58 -0
  471. package/dist/icons/SemiCircleOverlap.d.cts +5 -0
  472. package/dist/icons/SemiCircleOverlap.d.ts +5 -0
  473. package/dist/icons/SemiCircleOverlap.js +39 -0
  474. package/dist/icons/Send.cjs +47 -0
  475. package/dist/icons/Send.d.cts +6 -0
  476. package/dist/icons/Send.d.ts +6 -0
  477. package/dist/icons/Send.js +28 -0
  478. package/dist/icons/Sidebar.cjs +48 -0
  479. package/dist/icons/Sidebar.d.cts +5 -0
  480. package/dist/icons/Sidebar.d.ts +5 -0
  481. package/dist/icons/Sidebar.js +29 -0
  482. package/dist/icons/StackedLines.cjs +52 -0
  483. package/dist/icons/StackedLines.d.cts +5 -0
  484. package/dist/icons/StackedLines.d.ts +5 -0
  485. package/dist/icons/StackedLines.js +29 -0
  486. package/dist/icons/SwiftTwoTone.cjs +59 -0
  487. package/dist/icons/SwiftTwoTone.d.cts +5 -0
  488. package/dist/icons/SwiftTwoTone.d.ts +5 -0
  489. package/dist/icons/SwiftTwoTone.js +40 -0
  490. package/dist/icons/Team.cjs +46 -0
  491. package/dist/icons/Team.d.cts +5 -0
  492. package/dist/icons/Team.d.ts +5 -0
  493. package/dist/icons/Team.js +27 -0
  494. package/dist/icons/Terminal.cjs +49 -0
  495. package/dist/icons/Terminal.d.cts +5 -0
  496. package/dist/icons/Terminal.d.ts +5 -0
  497. package/dist/icons/Terminal.js +30 -0
  498. package/dist/icons/Trash.cjs +49 -0
  499. package/dist/icons/Trash.d.cts +5 -0
  500. package/dist/icons/Trash.d.ts +5 -0
  501. package/dist/icons/Trash.js +30 -0
  502. package/dist/icons/TrashOld.cjs +53 -0
  503. package/dist/icons/TrashOld.d.cts +8 -0
  504. package/dist/icons/TrashOld.d.ts +8 -0
  505. package/dist/icons/TrashOld.js +34 -0
  506. package/dist/icons/TwoArrowsDown.cjs +53 -0
  507. package/dist/icons/TwoArrowsDown.d.cts +5 -0
  508. package/dist/icons/TwoArrowsDown.d.ts +5 -0
  509. package/dist/icons/TwoArrowsDown.js +30 -0
  510. package/dist/icons/TwoArrowsUp.cjs +53 -0
  511. package/dist/icons/TwoArrowsUp.d.cts +5 -0
  512. package/dist/icons/TwoArrowsUp.d.ts +5 -0
  513. package/dist/icons/TwoArrowsUp.js +30 -0
  514. package/dist/icons/Upload.cjs +45 -0
  515. package/dist/icons/Upload.d.cts +5 -0
  516. package/dist/icons/Upload.d.ts +5 -0
  517. package/dist/icons/Upload.js +26 -0
  518. package/dist/icons/VerticalArrows.cjs +59 -0
  519. package/dist/icons/VerticalArrows.d.cts +8 -0
  520. package/dist/icons/VerticalArrows.d.ts +8 -0
  521. package/dist/icons/VerticalArrows.js +40 -0
  522. package/dist/icons/ViewAll.cjs +45 -0
  523. package/dist/icons/ViewAll.d.cts +5 -0
  524. package/dist/icons/ViewAll.d.ts +5 -0
  525. package/dist/icons/ViewAll.js +26 -0
  526. package/dist/icons/WalletSDKIcon.cjs +59 -0
  527. package/dist/icons/WalletSDKIcon.d.cts +5 -0
  528. package/dist/icons/WalletSDKIcon.d.ts +5 -0
  529. package/dist/icons/WalletSDKIcon.js +40 -0
  530. package/dist/icons/WarningIcon.cjs +48 -0
  531. package/dist/icons/WarningIcon.d.cts +5 -0
  532. package/dist/icons/WarningIcon.d.ts +5 -0
  533. package/dist/icons/WarningIcon.js +29 -0
  534. package/dist/icons/WarningSign.cjs +57 -0
  535. package/dist/icons/WarningSign.d.cts +5 -0
  536. package/dist/icons/WarningSign.d.ts +5 -0
  537. package/dist/icons/WarningSign.js +38 -0
  538. package/dist/icons/index.cjs +1267 -0
  539. package/dist/icons/index.d.cts +5 -0
  540. package/dist/icons/index.d.ts +5 -0
  541. package/dist/icons/index.js +15 -0
  542. package/dist/index.cjs +1 -0
  543. package/dist/index.d.cts +2 -0
  544. package/dist/index.d.ts +2 -0
  545. package/dist/index.js +0 -0
  546. package/dist/router.cjs +1082 -0
  547. package/dist/router.d.cts +39 -0
  548. package/dist/router.d.ts +39 -0
  549. package/dist/router.js +24 -0
  550. package/dist/static/fonts/LightsparkIcons/LightsparkIcons.eot +0 -0
  551. package/dist/static/fonts/LightsparkIcons/LightsparkIcons.svg +14 -0
  552. package/dist/static/fonts/LightsparkIcons/LightsparkIcons.ttf +0 -0
  553. package/dist/static/fonts/LightsparkIcons/LightsparkIcons.woff +0 -0
  554. package/dist/static/fonts/LightsparkIcons/README.md +1 -0
  555. package/dist/static/fonts/LightsparkIcons/glyph-svg-src/btc.svg +3 -0
  556. package/dist/static/fonts/LightsparkIcons/glyph-svg-src/margin-btc.svg +3 -0
  557. package/dist/static/fonts/LightsparkIcons/glyph-svg-src/margin-sats.svg +7 -0
  558. package/dist/static/fonts/LightsparkIcons/glyph-svg-src/sats.svg +7 -0
  559. package/dist/static/fonts.css +14 -0
  560. package/dist/static/images/Checkmark.svg +3 -0
  561. package/dist/static/images/FramedLogoOnCircle.svg +12 -0
  562. package/dist/static/images/Logo.svg +55 -0
  563. package/dist/static/images/RainLogo.png +0 -0
  564. package/dist/static/images/RotatedElipseGradient-2x.png +0 -0
  565. package/dist/static/images/RotatedElipseGradient.png +0 -0
  566. package/dist/static/images/country-flags/us.svg +10 -0
  567. package/dist/styles/breakpoints.cjs +263 -0
  568. package/dist/styles/breakpoints.d.cts +88 -0
  569. package/dist/styles/breakpoints.d.ts +88 -0
  570. package/dist/styles/breakpoints.js +19 -0
  571. package/dist/styles/colors.cjs +1177 -0
  572. package/dist/styles/colors.d.cts +135 -0
  573. package/dist/styles/colors.d.ts +135 -0
  574. package/dist/styles/colors.js +41 -0
  575. package/dist/styles/common.cjs +1248 -0
  576. package/dist/styles/common.d.cts +48 -0
  577. package/dist/styles/common.d.ts +48 -0
  578. package/dist/styles/common.js +59 -0
  579. package/dist/styles/constants.cjs +32 -0
  580. package/dist/styles/constants.d.cts +5 -0
  581. package/dist/styles/constants.d.ts +5 -0
  582. package/dist/styles/constants.js +7 -0
  583. package/dist/styles/fields.cjs +1361 -0
  584. package/dist/styles/fields.d.cts +67 -0
  585. package/dist/styles/fields.d.ts +67 -0
  586. package/dist/styles/fields.js +192 -0
  587. package/dist/styles/fonts/typography/Article.cjs +1388 -0
  588. package/dist/styles/fonts/typography/Article.d.cts +10 -0
  589. package/dist/styles/fonts/typography/Article.d.ts +10 -0
  590. package/dist/styles/fonts/typography/Article.js +17 -0
  591. package/dist/styles/fonts/typography/Body.cjs +1012 -0
  592. package/dist/styles/fonts/typography/Body.d.cts +23 -0
  593. package/dist/styles/fonts/typography/Body.d.ts +23 -0
  594. package/dist/styles/fonts/typography/Body.js +13 -0
  595. package/dist/styles/fonts/typography/Code.cjs +68 -0
  596. package/dist/styles/fonts/typography/Code.d.cts +10 -0
  597. package/dist/styles/fonts/typography/Code.d.ts +10 -0
  598. package/dist/styles/fonts/typography/Code.js +9 -0
  599. package/dist/styles/fonts/typography/Display.cjs +1022 -0
  600. package/dist/styles/fonts/typography/Display.d.cts +15 -0
  601. package/dist/styles/fonts/typography/Display.d.ts +15 -0
  602. package/dist/styles/fonts/typography/Display.js +15 -0
  603. package/dist/styles/fonts/typography/Headline.cjs +1076 -0
  604. package/dist/styles/fonts/typography/Headline.d.cts +18 -0
  605. package/dist/styles/fonts/typography/Headline.d.ts +18 -0
  606. package/dist/styles/fonts/typography/Headline.js +19 -0
  607. package/dist/styles/fonts/typography/Label.cjs +1012 -0
  608. package/dist/styles/fonts/typography/Label.d.cts +18 -0
  609. package/dist/styles/fonts/typography/Label.d.ts +18 -0
  610. package/dist/styles/fonts/typography/Label.js +13 -0
  611. package/dist/styles/fonts/typography/LabelStrong.cjs +1023 -0
  612. package/dist/styles/fonts/typography/LabelStrong.d.cts +18 -0
  613. package/dist/styles/fonts/typography/LabelStrong.d.ts +18 -0
  614. package/dist/styles/fonts/typography/LabelStrong.js +13 -0
  615. package/dist/styles/fonts/typography/Title.cjs +1011 -0
  616. package/dist/styles/fonts/typography/Title.d.cts +18 -0
  617. package/dist/styles/fonts/typography/Title.d.ts +18 -0
  618. package/dist/styles/fonts/typography/Title.js +13 -0
  619. package/dist/styles/fonts/typography/index.cjs +1513 -0
  620. package/dist/styles/fonts/typography/index.d.cts +13 -0
  621. package/dist/styles/fonts/typography/index.d.ts +13 -0
  622. package/dist/styles/fonts/typography/index.js +41 -0
  623. package/dist/styles/fonts/typographyTokens.cjs +768 -0
  624. package/dist/styles/fonts/typographyTokens.d.cts +723 -0
  625. package/dist/styles/fonts/typographyTokens.d.ts +723 -0
  626. package/dist/styles/fonts/typographyTokens.js +13 -0
  627. package/dist/styles/global.cjs +1315 -0
  628. package/dist/styles/global.d.cts +10 -0
  629. package/dist/styles/global.d.ts +10 -0
  630. package/dist/styles/global.js +15 -0
  631. package/dist/styles/type.cjs +1362 -0
  632. package/dist/styles/type.d.cts +28 -0
  633. package/dist/styles/type.d.ts +28 -0
  634. package/dist/styles/type.js +153 -0
  635. package/dist/styles/utils.cjs +1259 -0
  636. package/dist/styles/utils.d.cts +29 -0
  637. package/dist/styles/utils.d.ts +29 -0
  638. package/dist/styles/utils.js +38 -0
  639. package/dist/styles/z-index.cjs +53 -0
  640. package/dist/styles/z-index.d.cts +25 -0
  641. package/dist/styles/z-index.d.ts +25 -0
  642. package/dist/styles/z-index.js +7 -0
  643. package/dist/types/index.cjs +18 -0
  644. package/dist/types/index.d.cts +11 -0
  645. package/dist/types/index.d.ts +11 -0
  646. package/dist/types/index.js +0 -0
  647. package/dist/types/utils.cjs +37 -0
  648. package/dist/types/utils.d.cts +16 -0
  649. package/dist/types/utils.d.ts +16 -0
  650. package/dist/types/utils.js +13 -0
  651. package/dist/utils/strings.cjs +87 -0
  652. package/dist/utils/strings.d.cts +12 -0
  653. package/dist/utils/strings.d.ts +12 -0
  654. package/dist/utils/strings.js +21 -0
  655. package/package.json +72 -0
@@ -0,0 +1,1645 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __defProps = Object.defineProperties;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
7
+ var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
+ var __getProtoOf = Object.getPrototypeOf;
10
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
11
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
12
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13
+ var __spreadValues = (a, b) => {
14
+ for (var prop in b || (b = {}))
15
+ if (__hasOwnProp.call(b, prop))
16
+ __defNormalProp(a, prop, b[prop]);
17
+ if (__getOwnPropSymbols)
18
+ for (var prop of __getOwnPropSymbols(b)) {
19
+ if (__propIsEnum.call(b, prop))
20
+ __defNormalProp(a, prop, b[prop]);
21
+ }
22
+ return a;
23
+ };
24
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
25
+ var __export = (target, all) => {
26
+ for (var name in all)
27
+ __defProp(target, name, { get: all[name], enumerable: true });
28
+ };
29
+ var __copyProps = (to, from, except, desc) => {
30
+ if (from && typeof from === "object" || typeof from === "function") {
31
+ for (let key of __getOwnPropNames(from))
32
+ if (!__hasOwnProp.call(to, key) && key !== except)
33
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
34
+ }
35
+ return to;
36
+ };
37
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
38
+ // If the importer is in node compatibility mode or this is not an ESM
39
+ // file that has been converted to a CommonJS file using a Babel-
40
+ // compatible transform (i.e. "__esModule" has not been set), then set
41
+ // "default" to the CommonJS "module.exports" for node compatibility.
42
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
43
+ mod
44
+ ));
45
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
46
+ var __async = (__this, __arguments, generator) => {
47
+ return new Promise((resolve, reject) => {
48
+ var fulfilled = (value) => {
49
+ try {
50
+ step(generator.next(value));
51
+ } catch (e) {
52
+ reject(e);
53
+ }
54
+ };
55
+ var rejected = (value) => {
56
+ try {
57
+ step(generator.throw(value));
58
+ } catch (e) {
59
+ reject(e);
60
+ }
61
+ };
62
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
63
+ step((generator = generator.apply(__this, __arguments)).next());
64
+ });
65
+ };
66
+
67
+ // src/components/Button.tsx
68
+ var Button_exports = {};
69
+ __export(Button_exports, {
70
+ Button: () => Button,
71
+ ButtonSelector: () => ButtonSelector,
72
+ StyledButton: () => StyledButton
73
+ });
74
+ module.exports = __toCommonJS(Button_exports);
75
+ var import_react7 = require("@emotion/react");
76
+ var import_styled5 = __toESM(require("@emotion/styled"), 1);
77
+
78
+ // src/router.tsx
79
+ var import_lodash_es2 = require("lodash-es");
80
+ var import_react4 = require("react");
81
+ var import_react_router_dom = require("react-router-dom");
82
+
83
+ // src/styles/colors.tsx
84
+ var import_react3 = require("@emotion/react");
85
+
86
+ // src/styles/breakpoints.tsx
87
+ var import_react = require("@emotion/react");
88
+ var import_lodash_es = require("lodash-es");
89
+ var import_react2 = require("react");
90
+ var import_jsx_runtime = require("@emotion/react/jsx-runtime");
91
+ var Breakpoints = /* @__PURE__ */ ((Breakpoints2) => {
92
+ Breakpoints2["sm"] = "sm";
93
+ Breakpoints2["md"] = "md";
94
+ Breakpoints2["lg"] = "lg";
95
+ return Breakpoints2;
96
+ })(Breakpoints || {});
97
+ var breakpoints = {
98
+ ["sm" /* sm */]: 640,
99
+ ["md" /* md */]: 834,
100
+ ["lg" /* lg */]: 1200
101
+ };
102
+ var breakpointFn = (mq) => (style) => `@media ${mq} { ${style} }`;
103
+ var bp = {
104
+ key: Breakpoints,
105
+ ["sm" /* sm */]: breakpointFn(`(max-width:${breakpoints.sm}px)`),
106
+ ["lg" /* lg */]: breakpointFn(`(min-width:${breakpoints.lg}px)`),
107
+ ["minSmMaxLg" /* minSmMaxLg */]: breakpointFn(
108
+ `(min-width:${breakpoints.sm + 1}px) and (max-width:${breakpoints.lg - 1}px)`
109
+ ),
110
+ ["minSmMaxMd" /* minSmMaxMd */]: breakpointFn(
111
+ `(min-width:${breakpoints.sm + 1}px) and (max-width:${breakpoints.md - 1}px)`
112
+ ),
113
+ ["minMdMaxLg" /* minMdMaxLg */]: breakpointFn(
114
+ `(min-width:${breakpoints.md}px) and (max-width:${breakpoints.lg - 1}px)`
115
+ ),
116
+ ["maxLg" /* maxLg */]: breakpointFn(`(max-width:${breakpoints.lg - 1}px)`),
117
+ ["maxMd" /* maxMd */]: breakpointFn(`(max-width:${breakpoints.md - 1}px)`),
118
+ ["minSm" /* minSm */]: breakpointFn(`(min-width:${breakpoints.sm + 1}px)`),
119
+ ["minMd" /* minMd */]: breakpointFn(`(min-width:${breakpoints.md + 1}px)`),
120
+ current: function(assertBp) {
121
+ const currentBp = (
122
+ /* window is undefined in first server side render for Next apps: */
123
+ typeof window === "undefined" ? "sm" /* sm */ : window.getComputedStyle(document.body, ":before").content.replace(/"/g, "")
124
+ );
125
+ if (assertBp) {
126
+ return inRange(
127
+ currentBp,
128
+ assertBp
129
+ );
130
+ }
131
+ return currentBp;
132
+ },
133
+ switch: (smVal, minSmMaxMdVal, minMdMaxLgVal, lgVal) => {
134
+ const currentBp = bp.current();
135
+ if (currentBp === "sm" /* sm */) {
136
+ return smVal;
137
+ } else if (currentBp === "minSmMaxMd" /* minSmMaxMd */) {
138
+ return minSmMaxMdVal;
139
+ } else if (currentBp === "minMdMaxLg" /* minMdMaxLg */) {
140
+ return minMdMaxLgVal;
141
+ }
142
+ return lgVal;
143
+ },
144
+ isSm: () => bp.current("sm" /* sm */),
145
+ isMinSm: () => bp.current("minSm" /* minSm */),
146
+ isMinSmMaxMd: () => bp.current("minSmMaxMd" /* minSmMaxMd */),
147
+ isMinMdMaxLg: () => bp.current("minMdMaxLg" /* minMdMaxLg */),
148
+ isLg: () => bp.current("lg" /* lg */)
149
+ };
150
+ function inRange(currentBp, assertBp) {
151
+ const isSm = currentBp === "sm" /* sm */;
152
+ const isMinSmMaxMd = currentBp === "minSmMaxMd" /* minSmMaxMd */;
153
+ const isMinMdMaxLg = currentBp === "minMdMaxLg" /* minMdMaxLg */;
154
+ const isLg = currentBp === "lg" /* lg */;
155
+ if (assertBp) {
156
+ switch (assertBp) {
157
+ case "sm" /* sm */:
158
+ return isSm;
159
+ case "minSmMaxMd" /* minSmMaxMd */:
160
+ return isMinSmMaxMd;
161
+ case "minMdMaxLg" /* minMdMaxLg */:
162
+ return isMinMdMaxLg;
163
+ case "lg" /* lg */:
164
+ return isLg;
165
+ case "minSmMaxLg" /* minSmMaxLg */:
166
+ return isMinSmMaxMd || isMinMdMaxLg;
167
+ case "maxLg" /* maxLg */:
168
+ return isSm || isMinSmMaxMd || isMinMdMaxLg;
169
+ case "maxMd" /* maxMd */:
170
+ return isSm || isMinSmMaxMd;
171
+ case "minSm" /* minSm */:
172
+ return isMinSmMaxMd || isMinMdMaxLg || isLg;
173
+ case "minMd" /* minMd */:
174
+ return isMinMdMaxLg || isLg;
175
+ default:
176
+ return false;
177
+ }
178
+ }
179
+ return false;
180
+ }
181
+
182
+ // src/styles/fonts/typographyTokens.ts
183
+ var FONT_FAMILIES = {
184
+ main: "Montserrat",
185
+ code: "Monaco"
186
+ };
187
+ var LINE_HEIGHTS = {
188
+ "5xl": "72px",
189
+ "4xl": "60px",
190
+ "3xl": "44px",
191
+ "2xl": "40px",
192
+ xl: "36px",
193
+ lg: "32px",
194
+ md: "28px",
195
+ sm: "24px",
196
+ xs: "20px",
197
+ "2xs": "16px"
198
+ };
199
+ var FONT_WEIGHTS = {
200
+ main: {
201
+ Bold: 700,
202
+ SemiBold: 600,
203
+ Medium: 500
204
+ },
205
+ code: {
206
+ Bold: 700,
207
+ Regular: 400
208
+ }
209
+ };
210
+ var FONT_SIZE = {
211
+ "2xs": "11px",
212
+ xs: "12px",
213
+ sm: "14px",
214
+ md: "16px",
215
+ lg: "20px",
216
+ xl: "24px",
217
+ "2xl": "28px",
218
+ "3xl": "32px",
219
+ "4xl": "36px",
220
+ "5xl": "48px",
221
+ "6xl": "64px"
222
+ };
223
+ var LETTER_SPACING = {
224
+ tight: "-.02em",
225
+ normal: "0",
226
+ loose: ".1em"
227
+ };
228
+ var TEXT_CASE = {
229
+ none: "none",
230
+ uppercase: "uppercase"
231
+ };
232
+ var TEXT_DECORATION = {
233
+ none: "none"
234
+ };
235
+ var PARAGRAPH_INDENT = {
236
+ 0: "0px"
237
+ };
238
+ var PARAGRAPH_SPACING = {
239
+ default: "default",
240
+ 16: "16px",
241
+ 40: "40px"
242
+ };
243
+ var getTypography = (customFontFamilies) => {
244
+ const fontFamilies = customFontFamilies != null ? customFontFamilies : FONT_FAMILIES;
245
+ return {
246
+ fontFamilies,
247
+ lineHeights: LINE_HEIGHTS,
248
+ fontWeights: FONT_WEIGHTS,
249
+ fontSize: FONT_SIZE,
250
+ letterSpacing: LETTER_SPACING,
251
+ textCase: TEXT_CASE,
252
+ textDecoration: TEXT_DECORATION,
253
+ paragraphIndent: PARAGRAPH_INDENT,
254
+ paragraphSpacing: PARAGRAPH_SPACING,
255
+ ["Lightspark" /* Lightspark */]: {
256
+ Display: {
257
+ ["Large" /* Large */]: {
258
+ "font-family": `${fontFamilies.main}`,
259
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
260
+ "line-height": `${LINE_HEIGHTS["5xl"]}`,
261
+ "font-size": `${FONT_SIZE["6xl"]}`,
262
+ "letter-spacing": `${LETTER_SPACING.tight}`,
263
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
264
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
265
+ "text-case": `${TEXT_CASE.none}`,
266
+ "text-decoration": `${TEXT_DECORATION.none}`
267
+ },
268
+ ["Medium" /* Medium */]: {
269
+ "font-family": `${fontFamilies.main}`,
270
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
271
+ "line-height": `${LINE_HEIGHTS["4xl"]}`,
272
+ "font-size": `${FONT_SIZE["5xl"]}`,
273
+ "letter-spacing": `${LETTER_SPACING.tight}`,
274
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
275
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
276
+ "text-case": `${TEXT_CASE.none}`,
277
+ "text-decoration": `${TEXT_DECORATION.none}`
278
+ },
279
+ ["Small" /* Small */]: {
280
+ "font-family": `${fontFamilies.main}`,
281
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
282
+ "line-height": `${LINE_HEIGHTS["3xl"]}`,
283
+ "font-size": `${FONT_SIZE["4xl"]}`,
284
+ "letter-spacing": `${LETTER_SPACING.tight}`,
285
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
286
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
287
+ "text-case": `${TEXT_CASE.none}`,
288
+ "text-decoration": `${TEXT_DECORATION.none}`
289
+ }
290
+ },
291
+ Headline: {
292
+ ["Large" /* Large */]: {
293
+ "font-family": `${fontFamilies.main}`,
294
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
295
+ "line-height": `${LINE_HEIGHTS["2xl"]}`,
296
+ "font-size": `${FONT_SIZE["3xl"]}`,
297
+ "letter-spacing": `${LETTER_SPACING.tight}`,
298
+ "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
299
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
300
+ "text-case": `${TEXT_CASE.none}`,
301
+ "text-decoration": `${TEXT_DECORATION.none}`
302
+ },
303
+ ["Medium" /* Medium */]: {
304
+ "font-family": `${fontFamilies.main}`,
305
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
306
+ "line-height": `${LINE_HEIGHTS.xl}`,
307
+ "font-size": `${FONT_SIZE["2xl"]}`,
308
+ "letter-spacing": `${LETTER_SPACING.tight}`,
309
+ "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
310
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
311
+ "text-case": `${TEXT_CASE.none}`,
312
+ "text-decoration": `${TEXT_DECORATION.none}`
313
+ },
314
+ ["Small" /* Small */]: {
315
+ "font-family": `${fontFamilies.main}`,
316
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
317
+ "line-height": `${LINE_HEIGHTS.lg}`,
318
+ "font-size": `${FONT_SIZE.xl}`,
319
+ "letter-spacing": `${LETTER_SPACING.tight}`,
320
+ "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
321
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
322
+ "text-case": `${TEXT_CASE.none}`,
323
+ "text-decoration": `${TEXT_DECORATION.none}`
324
+ }
325
+ },
326
+ Title: {
327
+ ["Large" /* Large */]: {
328
+ "font-family": `${fontFamilies.main}`,
329
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
330
+ "line-height": `${LINE_HEIGHTS.md}`,
331
+ "font-size": `${FONT_SIZE.lg}`,
332
+ "letter-spacing": `${LETTER_SPACING.normal}`,
333
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
334
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
335
+ "text-case": `${TEXT_CASE.none}`,
336
+ "text-decoration": `${TEXT_DECORATION.none}`
337
+ },
338
+ ["Medium" /* Medium */]: {
339
+ "font-family": `${fontFamilies.main}`,
340
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
341
+ "line-height": `${LINE_HEIGHTS.sm}`,
342
+ "font-size": `${FONT_SIZE.md}`,
343
+ "letter-spacing": `${LETTER_SPACING.normal}`,
344
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
345
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
346
+ "text-case": `${TEXT_CASE.none}`,
347
+ "text-decoration": `${TEXT_DECORATION.none}`
348
+ },
349
+ ["Small" /* Small */]: {
350
+ "font-family": `${fontFamilies.main}`,
351
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
352
+ "line-height": `${LINE_HEIGHTS.xs}`,
353
+ "font-size": `${FONT_SIZE.sm}`,
354
+ "letter-spacing": `${LETTER_SPACING.normal}`,
355
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
356
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
357
+ "text-case": `${TEXT_CASE.none}`,
358
+ "text-decoration": `${TEXT_DECORATION.none}`
359
+ }
360
+ },
361
+ Body: {
362
+ ["Large" /* Large */]: {
363
+ "font-family": `${fontFamilies.main}`,
364
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
365
+ "line-height": `${LINE_HEIGHTS.sm}`,
366
+ "font-size": `${FONT_SIZE.md}`,
367
+ "letter-spacing": `${LETTER_SPACING.normal}`,
368
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
369
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
370
+ "text-case": `${TEXT_CASE.none}`,
371
+ "text-decoration": `${TEXT_DECORATION.none}`
372
+ },
373
+ ["Medium" /* Medium */]: {
374
+ "font-family": `${fontFamilies.main}`,
375
+ "font-weight": `${FONT_WEIGHTS.main.Medium}`,
376
+ "line-height": `${LINE_HEIGHTS.sm}`,
377
+ "font-size": `${FONT_SIZE.sm}`,
378
+ "letter-spacing": `${LETTER_SPACING.normal}`,
379
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
380
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
381
+ "text-case": `${TEXT_CASE.none}`,
382
+ "text-decoration": `${TEXT_DECORATION.none}`
383
+ },
384
+ ["Small" /* Small */]: {
385
+ "font-family": `${fontFamilies.main}`,
386
+ "font-weight": `${FONT_WEIGHTS.main.Medium}`,
387
+ "line-height": `${LINE_HEIGHTS.sm}`,
388
+ "font-size": `${FONT_SIZE.xs}`,
389
+ "letter-spacing": `${LETTER_SPACING.normal}`,
390
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
391
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
392
+ "text-case": `${TEXT_CASE.none}`,
393
+ "text-decoration": `${TEXT_DECORATION.none}`
394
+ }
395
+ },
396
+ Label: {
397
+ ["Large" /* Large */]: {
398
+ "font-family": `${fontFamilies.main}`,
399
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
400
+ "line-height": `${LINE_HEIGHTS.xs}`,
401
+ "font-size": `${FONT_SIZE.sm}`,
402
+ "letter-spacing": `${LETTER_SPACING.normal}`,
403
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
404
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
405
+ "text-case": `${TEXT_CASE.none}`,
406
+ "text-decoration": `${TEXT_DECORATION.none}`
407
+ },
408
+ ["Medium" /* Medium */]: {
409
+ "font-family": `${fontFamilies.main}`,
410
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
411
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
412
+ "font-size": `${FONT_SIZE.xs}`,
413
+ "letter-spacing": `${LETTER_SPACING.normal}`,
414
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
415
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
416
+ "text-case": `${TEXT_CASE.none}`,
417
+ "text-decoration": `${TEXT_DECORATION.none}`
418
+ },
419
+ ["Small" /* Small */]: {
420
+ "font-family": `${fontFamilies.main}`,
421
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
422
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
423
+ "font-size": `${FONT_SIZE["2xs"]}`,
424
+ "letter-spacing": `${LETTER_SPACING.normal}`,
425
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
426
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
427
+ "text-case": `${TEXT_CASE.none}`,
428
+ "text-decoration": `${TEXT_DECORATION.none}`
429
+ }
430
+ },
431
+ "Label Strong": {
432
+ ["Large" /* Large */]: {
433
+ "font-family": `${fontFamilies.main}`,
434
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
435
+ "line-height": `${LINE_HEIGHTS.xs}`,
436
+ "font-size": `${FONT_SIZE.sm}`,
437
+ "letter-spacing": `${LETTER_SPACING.normal}`,
438
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
439
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
440
+ "text-case": `${TEXT_CASE.none}`,
441
+ "text-decoration": `${TEXT_DECORATION.none}`
442
+ },
443
+ ["Medium" /* Medium */]: {
444
+ "font-family": `${fontFamilies.main}`,
445
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
446
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
447
+ "font-size": `${FONT_SIZE.xs}`,
448
+ "letter-spacing": `${LETTER_SPACING.normal}`,
449
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
450
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
451
+ "text-case": `${TEXT_CASE.none}`,
452
+ "text-decoration": `${TEXT_DECORATION.none}`
453
+ },
454
+ ["Small" /* Small */]: {
455
+ "font-family": `${fontFamilies.main}`,
456
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
457
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
458
+ "font-size": `${FONT_SIZE["2xs"]}`,
459
+ "letter-spacing": `${LETTER_SPACING.normal}`,
460
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
461
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
462
+ "text-case": `${TEXT_CASE.none}`,
463
+ "text-decoration": `${TEXT_DECORATION.none}`
464
+ }
465
+ },
466
+ Overline: {
467
+ ["Large" /* Large */]: {
468
+ "font-family": `${fontFamilies.code}`,
469
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
470
+ "line-height": `${LINE_HEIGHTS.sm}`,
471
+ "font-size": `${FONT_SIZE.md}`,
472
+ "letter-spacing": `${LETTER_SPACING.loose}`,
473
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
474
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
475
+ "text-case": `${TEXT_CASE.uppercase}`,
476
+ "text-decoration": `${TEXT_DECORATION.none}`
477
+ },
478
+ ["Medium" /* Medium */]: {
479
+ "font-family": `${fontFamilies.code}`,
480
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
481
+ "line-height": `${LINE_HEIGHTS.xs}`,
482
+ "font-size": `${FONT_SIZE.sm}`,
483
+ "letter-spacing": `${LETTER_SPACING.loose}`,
484
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
485
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
486
+ "text-case": `${TEXT_CASE.uppercase}`,
487
+ "text-decoration": `${TEXT_DECORATION.none}`
488
+ },
489
+ ["Small" /* Small */]: {
490
+ "font-family": `${fontFamilies.code}`,
491
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
492
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
493
+ "font-size": `${FONT_SIZE.xs}`,
494
+ "letter-spacing": `${LETTER_SPACING.loose}`,
495
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
496
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
497
+ "text-case": `${TEXT_CASE.uppercase}`,
498
+ "text-decoration": `${TEXT_DECORATION.none}`
499
+ }
500
+ },
501
+ Code: {
502
+ ["Large" /* Large */]: {
503
+ "font-family": `${fontFamilies.code}`,
504
+ "font-weight": `${FONT_WEIGHTS.code.Regular}`,
505
+ "line-height": `${LINE_HEIGHTS.sm}`,
506
+ "font-size": `${FONT_SIZE.md}`,
507
+ "letter-spacing": `${LETTER_SPACING.normal}`,
508
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
509
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
510
+ "text-case": `${TEXT_CASE.none}`,
511
+ "text-decoration": `${TEXT_DECORATION.none}`
512
+ },
513
+ ["Medium" /* Medium */]: {
514
+ "font-family": `${fontFamilies.code}`,
515
+ "font-weight": `${FONT_WEIGHTS.code.Regular}`,
516
+ "line-height": `${LINE_HEIGHTS.sm}`,
517
+ "font-size": `${FONT_SIZE.sm}`,
518
+ "letter-spacing": `${LETTER_SPACING.normal}`,
519
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
520
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
521
+ "text-case": `${TEXT_CASE.none}`,
522
+ "text-decoration": `${TEXT_DECORATION.none}`
523
+ },
524
+ ["Small" /* Small */]: {
525
+ "font-family": `${fontFamilies.code}`,
526
+ "font-weight": `${FONT_WEIGHTS.code.Regular}`,
527
+ "line-height": `${LINE_HEIGHTS.xs}`,
528
+ "font-size": `${FONT_SIZE.xs}`,
529
+ "letter-spacing": `${LETTER_SPACING.normal}`,
530
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
531
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
532
+ "text-case": `${TEXT_CASE.none}`,
533
+ "text-decoration": `${TEXT_DECORATION.none}`
534
+ }
535
+ },
536
+ "Code Strong": {
537
+ ["Large" /* Large */]: {
538
+ "font-family": `${fontFamilies.code}`,
539
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
540
+ "line-height": `${LINE_HEIGHTS.sm}`,
541
+ "font-size": `${FONT_SIZE.md}`,
542
+ "letter-spacing": `${LETTER_SPACING.normal}`,
543
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
544
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
545
+ "text-case": `${TEXT_CASE.none}`,
546
+ "text-decoration": `${TEXT_DECORATION.none}`
547
+ },
548
+ ["Medium" /* Medium */]: {
549
+ "font-family": `${fontFamilies.code}`,
550
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
551
+ "line-height": `${LINE_HEIGHTS.sm}`,
552
+ "font-size": `${FONT_SIZE.sm}`,
553
+ "letter-spacing": `${LETTER_SPACING.normal}`,
554
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
555
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
556
+ "text-case": `${TEXT_CASE.none}`,
557
+ "text-decoration": `${TEXT_DECORATION.none}`
558
+ },
559
+ ["Small" /* Small */]: {
560
+ "font-family": `${fontFamilies.code}`,
561
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
562
+ "line-height": `${LINE_HEIGHTS.xs}`,
563
+ "font-size": `${FONT_SIZE.xs}`,
564
+ "letter-spacing": `${LETTER_SPACING.normal}`,
565
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
566
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
567
+ "text-case": `${TEXT_CASE.none}`,
568
+ "text-decoration": `${TEXT_DECORATION.none}`
569
+ }
570
+ }
571
+ },
572
+ ["UmaDocs" /* UmaDocs */]: {
573
+ Display: {
574
+ ["Large" /* Large */]: {
575
+ "font-family": `${fontFamilies.main}`,
576
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
577
+ "line-height": `${LINE_HEIGHTS["5xl"]}`,
578
+ "font-size": `${FONT_SIZE["6xl"]}`,
579
+ "letter-spacing": `${LETTER_SPACING.tight}`,
580
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
581
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
582
+ "text-case": `${TEXT_CASE.none}`,
583
+ "text-decoration": `${TEXT_DECORATION.none}`
584
+ },
585
+ ["Medium" /* Medium */]: {
586
+ "font-family": `${fontFamilies.main}`,
587
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
588
+ "line-height": `${LINE_HEIGHTS["4xl"]}`,
589
+ "font-size": `${FONT_SIZE["5xl"]}`,
590
+ "letter-spacing": `${LETTER_SPACING.tight}`,
591
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
592
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
593
+ "text-case": `${TEXT_CASE.none}`,
594
+ "text-decoration": `${TEXT_DECORATION.none}`
595
+ },
596
+ ["Small" /* Small */]: {
597
+ "font-family": `${fontFamilies.main}`,
598
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
599
+ "line-height": `${LINE_HEIGHTS["3xl"]}`,
600
+ "font-size": `${FONT_SIZE["4xl"]}`,
601
+ "letter-spacing": `${LETTER_SPACING.tight}`,
602
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
603
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
604
+ "text-case": `${TEXT_CASE.none}`,
605
+ "text-decoration": `${TEXT_DECORATION.none}`
606
+ }
607
+ },
608
+ Headline: {
609
+ ["Large" /* Large */]: {
610
+ "font-family": `${fontFamilies.main}`,
611
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
612
+ "line-height": `${LINE_HEIGHTS["2xl"]}`,
613
+ "font-size": `${FONT_SIZE["3xl"]}`,
614
+ "letter-spacing": `${LETTER_SPACING.tight}`,
615
+ "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
616
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
617
+ "text-case": `${TEXT_CASE.none}`,
618
+ "text-decoration": `${TEXT_DECORATION.none}`
619
+ },
620
+ ["Medium" /* Medium */]: {
621
+ "font-family": `${fontFamilies.main}`,
622
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
623
+ "line-height": `${LINE_HEIGHTS.xl}`,
624
+ "font-size": `${FONT_SIZE["2xl"]}`,
625
+ "letter-spacing": `${LETTER_SPACING.tight}`,
626
+ "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
627
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
628
+ "text-case": `${TEXT_CASE.none}`,
629
+ "text-decoration": `${TEXT_DECORATION.none}`
630
+ },
631
+ ["Small" /* Small */]: {
632
+ "font-family": `${fontFamilies.main}`,
633
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
634
+ "line-height": `${LINE_HEIGHTS.lg}`,
635
+ "font-size": `${FONT_SIZE.xl}`,
636
+ "letter-spacing": `${LETTER_SPACING.tight}`,
637
+ "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
638
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
639
+ "text-case": `${TEXT_CASE.none}`,
640
+ "text-decoration": `${TEXT_DECORATION.none}`
641
+ }
642
+ },
643
+ Title: {
644
+ ["Large" /* Large */]: {
645
+ "font-family": `${fontFamilies.main}`,
646
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
647
+ "line-height": `${LINE_HEIGHTS.md}`,
648
+ "font-size": `${FONT_SIZE.lg}`,
649
+ "letter-spacing": `${LETTER_SPACING.normal}`,
650
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
651
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
652
+ "text-case": `${TEXT_CASE.none}`,
653
+ "text-decoration": `${TEXT_DECORATION.none}`
654
+ },
655
+ ["Medium" /* Medium */]: {
656
+ "font-family": `${fontFamilies.main}`,
657
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
658
+ "line-height": `${LINE_HEIGHTS.sm}`,
659
+ "font-size": `${FONT_SIZE.md}`,
660
+ "letter-spacing": `${LETTER_SPACING.normal}`,
661
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
662
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
663
+ "text-case": `${TEXT_CASE.none}`,
664
+ "text-decoration": `${TEXT_DECORATION.none}`
665
+ },
666
+ ["Small" /* Small */]: {
667
+ "font-family": `${fontFamilies.main}`,
668
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
669
+ "line-height": `${LINE_HEIGHTS.xs}`,
670
+ "font-size": `${FONT_SIZE.sm}`,
671
+ "letter-spacing": `${LETTER_SPACING.normal}`,
672
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
673
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
674
+ "text-case": `${TEXT_CASE.none}`,
675
+ "text-decoration": `${TEXT_DECORATION.none}`
676
+ }
677
+ },
678
+ Body: {
679
+ ["Large" /* Large */]: {
680
+ "font-family": `${fontFamilies.main}`,
681
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
682
+ "line-height": `${LINE_HEIGHTS.sm}`,
683
+ "font-size": `${FONT_SIZE.md}`,
684
+ "letter-spacing": `${LETTER_SPACING.normal}`,
685
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
686
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
687
+ "text-case": `${TEXT_CASE.none}`,
688
+ "text-decoration": `${TEXT_DECORATION.none}`
689
+ },
690
+ ["Medium" /* Medium */]: {
691
+ "font-family": `${fontFamilies.main}`,
692
+ "font-weight": `${FONT_WEIGHTS.main.Medium}`,
693
+ "line-height": `${LINE_HEIGHTS.sm}`,
694
+ "font-size": `${FONT_SIZE.sm}`,
695
+ "letter-spacing": `${LETTER_SPACING.normal}`,
696
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
697
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
698
+ "text-case": `${TEXT_CASE.none}`,
699
+ "text-decoration": `${TEXT_DECORATION.none}`
700
+ },
701
+ ["Small" /* Small */]: {
702
+ "font-family": `${fontFamilies.main}`,
703
+ "font-weight": `${FONT_WEIGHTS.main.Medium}`,
704
+ "line-height": `${LINE_HEIGHTS.sm}`,
705
+ "font-size": `${FONT_SIZE.xs}`,
706
+ "letter-spacing": `${LETTER_SPACING.normal}`,
707
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
708
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
709
+ "text-case": `${TEXT_CASE.none}`,
710
+ "text-decoration": `${TEXT_DECORATION.none}`
711
+ }
712
+ },
713
+ Label: {
714
+ ["Large" /* Large */]: {
715
+ "font-family": `${fontFamilies.main}`,
716
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
717
+ "line-height": `${LINE_HEIGHTS.xs}`,
718
+ "font-size": `${FONT_SIZE.sm}`,
719
+ "letter-spacing": `${LETTER_SPACING.normal}`,
720
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
721
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
722
+ "text-case": `${TEXT_CASE.none}`,
723
+ "text-decoration": `${TEXT_DECORATION.none}`
724
+ },
725
+ ["Medium" /* Medium */]: {
726
+ "font-family": `${fontFamilies.main}`,
727
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
728
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
729
+ "font-size": `${FONT_SIZE.xs}`,
730
+ "letter-spacing": `${LETTER_SPACING.normal}`,
731
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
732
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
733
+ "text-case": `${TEXT_CASE.none}`,
734
+ "text-decoration": `${TEXT_DECORATION.none}`
735
+ },
736
+ ["Small" /* Small */]: {
737
+ "font-family": `${fontFamilies.main}`,
738
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
739
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
740
+ "font-size": `${FONT_SIZE["2xs"]}`,
741
+ "letter-spacing": `${LETTER_SPACING.normal}`,
742
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
743
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
744
+ "text-case": `${TEXT_CASE.none}`,
745
+ "text-decoration": `${TEXT_DECORATION.none}`
746
+ }
747
+ },
748
+ "Label Strong": {
749
+ ["Large" /* Large */]: {
750
+ "font-family": `${fontFamilies.main}`,
751
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
752
+ "line-height": `${LINE_HEIGHTS.xs}`,
753
+ "font-size": `${FONT_SIZE.sm}`,
754
+ "letter-spacing": `${LETTER_SPACING.normal}`,
755
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
756
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
757
+ "text-case": `${TEXT_CASE.none}`,
758
+ "text-decoration": `${TEXT_DECORATION.none}`
759
+ },
760
+ ["Medium" /* Medium */]: {
761
+ "font-family": `${fontFamilies.main}`,
762
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
763
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
764
+ "font-size": `${FONT_SIZE.xs}`,
765
+ "letter-spacing": `${LETTER_SPACING.normal}`,
766
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
767
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
768
+ "text-case": `${TEXT_CASE.none}`,
769
+ "text-decoration": `${TEXT_DECORATION.none}`
770
+ },
771
+ ["Small" /* Small */]: {
772
+ "font-family": `${fontFamilies.main}`,
773
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
774
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
775
+ "font-size": `${FONT_SIZE["2xs"]}`,
776
+ "letter-spacing": `${LETTER_SPACING.normal}`,
777
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
778
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
779
+ "text-case": `${TEXT_CASE.none}`,
780
+ "text-decoration": `${TEXT_DECORATION.none}`
781
+ }
782
+ },
783
+ Overline: {
784
+ ["Large" /* Large */]: {
785
+ "font-family": `${fontFamilies.code}`,
786
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
787
+ "line-height": `${LINE_HEIGHTS.sm}`,
788
+ "font-size": `${FONT_SIZE.md}`,
789
+ "letter-spacing": `${LETTER_SPACING.loose}`,
790
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
791
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
792
+ "text-case": `${TEXT_CASE.uppercase}`,
793
+ "text-decoration": `${TEXT_DECORATION.none}`
794
+ },
795
+ ["Medium" /* Medium */]: {
796
+ "font-family": `${fontFamilies.code}`,
797
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
798
+ "line-height": `${LINE_HEIGHTS.xs}`,
799
+ "font-size": `${FONT_SIZE.sm}`,
800
+ "letter-spacing": `${LETTER_SPACING.loose}`,
801
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
802
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
803
+ "text-case": `${TEXT_CASE.uppercase}`,
804
+ "text-decoration": `${TEXT_DECORATION.none}`
805
+ },
806
+ ["Small" /* Small */]: {
807
+ "font-family": `${fontFamilies.code}`,
808
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
809
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
810
+ "font-size": `${FONT_SIZE.xs}`,
811
+ "letter-spacing": `${LETTER_SPACING.loose}`,
812
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
813
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
814
+ "text-case": `${TEXT_CASE.uppercase}`,
815
+ "text-decoration": `${TEXT_DECORATION.none}`
816
+ }
817
+ },
818
+ Code: {
819
+ ["Large" /* Large */]: {
820
+ "font-family": `${fontFamilies.code}`,
821
+ "font-weight": `${FONT_WEIGHTS.code.Regular}`,
822
+ "line-height": `${LINE_HEIGHTS.sm}`,
823
+ "font-size": `${FONT_SIZE.md}`,
824
+ "letter-spacing": `${LETTER_SPACING.normal}`,
825
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
826
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
827
+ "text-case": `${TEXT_CASE.none}`,
828
+ "text-decoration": `${TEXT_DECORATION.none}`
829
+ },
830
+ ["Medium" /* Medium */]: {
831
+ "font-family": `${fontFamilies.code}`,
832
+ "font-weight": `${FONT_WEIGHTS.code.Regular}`,
833
+ "line-height": `${LINE_HEIGHTS.sm}`,
834
+ "font-size": `${FONT_SIZE.sm}`,
835
+ "letter-spacing": `${LETTER_SPACING.normal}`,
836
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
837
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
838
+ "text-case": `${TEXT_CASE.none}`,
839
+ "text-decoration": `${TEXT_DECORATION.none}`
840
+ },
841
+ ["Small" /* Small */]: {
842
+ "font-family": `${fontFamilies.code}`,
843
+ "font-weight": `${FONT_WEIGHTS.code.Regular}`,
844
+ "line-height": `${LINE_HEIGHTS.xs}`,
845
+ "font-size": `${FONT_SIZE.xs}`,
846
+ "letter-spacing": `${LETTER_SPACING.normal}`,
847
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
848
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
849
+ "text-case": `${TEXT_CASE.none}`,
850
+ "text-decoration": `${TEXT_DECORATION.none}`
851
+ }
852
+ },
853
+ "Code Strong": {
854
+ ["Large" /* Large */]: {
855
+ "font-family": `${fontFamilies.code}`,
856
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
857
+ "line-height": `${LINE_HEIGHTS.sm}`,
858
+ "font-size": `${FONT_SIZE.md}`,
859
+ "letter-spacing": `${LETTER_SPACING.normal}`,
860
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
861
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
862
+ "text-case": `${TEXT_CASE.none}`,
863
+ "text-decoration": `${TEXT_DECORATION.none}`
864
+ },
865
+ ["Medium" /* Medium */]: {
866
+ "font-family": `${fontFamilies.code}`,
867
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
868
+ "line-height": `${LINE_HEIGHTS.sm}`,
869
+ "font-size": `${FONT_SIZE.sm}`,
870
+ "letter-spacing": `${LETTER_SPACING.normal}`,
871
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
872
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
873
+ "text-case": `${TEXT_CASE.none}`,
874
+ "text-decoration": `${TEXT_DECORATION.none}`
875
+ },
876
+ ["Small" /* Small */]: {
877
+ "font-family": `${fontFamilies.code}`,
878
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
879
+ "line-height": `${LINE_HEIGHTS.sm}`,
880
+ "font-size": `${FONT_SIZE.xs}`,
881
+ "letter-spacing": `${LETTER_SPACING.normal}`,
882
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
883
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
884
+ "text-case": `${TEXT_CASE.none}`,
885
+ "text-decoration": `${TEXT_DECORATION.none}`
886
+ }
887
+ }
888
+ }
889
+ };
890
+ };
891
+
892
+ // src/styles/colors.tsx
893
+ var neutral = {
894
+ black: "#000000",
895
+ gray5: "#0D0D0D",
896
+ gray10: "#1A1A1A",
897
+ gray15: "#262626",
898
+ gray20: "#333333",
899
+ gray25: "#404040",
900
+ gray30: "#4D4D4D",
901
+ gray40: "#666666",
902
+ gray50: "#808080",
903
+ gray60: "#999999",
904
+ gray70: "#B3B3B3",
905
+ gray80: "#CCCCCC",
906
+ gray85: "#D9D9D9",
907
+ gray90: "#E6E6E6",
908
+ gray95: "#F2F2F2",
909
+ white: "#FFFFFF"
910
+ };
911
+ var uma = {
912
+ background: "#F9F9F9",
913
+ black: "#16171A",
914
+ blue: "#0068C9",
915
+ blue50: "#C0C9D6",
916
+ blue80: "#DCE2EA",
917
+ blue90: "#EBEEF2",
918
+ blue95: "#F2F5F7",
919
+ grey300: "#DEDFE4",
920
+ secondary: "#686A72",
921
+ stroke: "#C0C9D6",
922
+ strokeProminent: "#9BA7B9",
923
+ fill: "#EBEEF2"
924
+ };
925
+ var darkGradient = "#1d1d1d linear-gradient(180deg, #090909 63.08%, #1d1d1d 100.52%)";
926
+ var primary = "#FFF14E";
927
+ var colors = __spreadProps(__spreadValues({}, neutral), {
928
+ uma,
929
+ // green
930
+ success: "#17C27C",
931
+ // blue
932
+ blue43: "#145BC6",
933
+ blue22: "#0E2E60",
934
+ blue58: "#28BFFF",
935
+ blue95: "#EBEEF2",
936
+ // yellow
937
+ primary,
938
+ warning: primary,
939
+ // orange
940
+ danger: "#FD2C0F",
941
+ // neutral
942
+ secondary: neutral.black,
943
+ // billing
944
+ tier1: "#179257",
945
+ tier2: "#8B38DE",
946
+ tier3: "#0048F7"
947
+ });
948
+ function extend(obj, rest) {
949
+ return __spreadValues(__spreadValues({}, obj), rest);
950
+ }
951
+ function extendBase(obj, rest) {
952
+ return __spreadValues(__spreadValues({}, obj), rest);
953
+ }
954
+ function hcNeutralFromBg(bgHex, defaultHex, altHex) {
955
+ const bgRGB = hexToRGB(bgHex);
956
+ const hcRGB = hexToRGB(defaultHex);
957
+ if (!bgRGB || !hcRGB)
958
+ return defaultHex;
959
+ const c = contrast(bgRGB, hcRGB);
960
+ if (c < 4.5) {
961
+ return altHex;
962
+ }
963
+ return defaultHex;
964
+ }
965
+ var lightBaseTheme = {
966
+ type: "light" /* Light */,
967
+ app: "Lightspark" /* Lightspark */,
968
+ bg: colors.white,
969
+ smBg: colors.white,
970
+ c05Neutral: neutral.gray95,
971
+ c1Neutral: neutral.gray90,
972
+ c15Neutral: neutral.gray85,
973
+ c2Neutral: neutral.gray80,
974
+ c3Neutral: neutral.gray70,
975
+ c4Neutral: neutral.gray60,
976
+ c5Neutral: neutral.gray50,
977
+ c6Neutral: neutral.gray40,
978
+ c7Neutral: neutral.gray30,
979
+ c8Neutral: neutral.gray20,
980
+ c9Neutral: neutral.gray10,
981
+ danger: colors.danger,
982
+ hcNeutral: colors.black,
983
+ hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
984
+ info: colors.blue43,
985
+ lcNeutral: neutral.gray80,
986
+ link: colors.blue43,
987
+ mcNeutral: neutral.gray40,
988
+ onInfoText: colors.white,
989
+ onPrimaryText: colors.black,
990
+ onSuccessText: colors.white,
991
+ primary: colors.primary,
992
+ secondary: colors.secondary,
993
+ success: colors.success,
994
+ text: colors.black,
995
+ typography: getTypography(),
996
+ vlcNeutral: neutral.gray95,
997
+ warning: colors.warning
998
+ };
999
+ var darkBaseTheme = {
1000
+ type: "dark" /* Dark */,
1001
+ app: "Lightspark" /* Lightspark */,
1002
+ bg: colors.black,
1003
+ smBg: colors.black,
1004
+ c05Neutral: neutral.gray5,
1005
+ c1Neutral: neutral.gray10,
1006
+ c15Neutral: neutral.gray15,
1007
+ c2Neutral: neutral.gray20,
1008
+ c3Neutral: neutral.gray30,
1009
+ c4Neutral: neutral.gray40,
1010
+ c5Neutral: neutral.gray50,
1011
+ c6Neutral: neutral.gray60,
1012
+ c7Neutral: neutral.gray70,
1013
+ c8Neutral: neutral.gray80,
1014
+ c9Neutral: neutral.gray90,
1015
+ danger: colors.danger,
1016
+ hcNeutral: colors.white,
1017
+ hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.white, colors.black),
1018
+ info: colors.white,
1019
+ lcNeutral: neutral.gray40,
1020
+ link: colors.blue43,
1021
+ mcNeutral: neutral.gray60,
1022
+ onInfoText: colors.white,
1023
+ onPrimaryText: colors.black,
1024
+ onSuccessText: colors.white,
1025
+ primary: colors.primary,
1026
+ secondary: colors.secondary,
1027
+ success: colors.success,
1028
+ text: colors.white,
1029
+ typography: getTypography(),
1030
+ vlcNeutral: neutral.gray20,
1031
+ warning: colors.warning
1032
+ };
1033
+ var lightTheme = extend(lightBaseTheme, {
1034
+ header: extendBase(lightBaseTheme, {
1035
+ text: colors.gray60
1036
+ }),
1037
+ nav: extendBase(lightBaseTheme, {
1038
+ text: colors.gray10,
1039
+ secondary: colors.secondary
1040
+ }),
1041
+ content: extendBase(lightBaseTheme, {
1042
+ bg: colors.white,
1043
+ smBg: colors.white
1044
+ }),
1045
+ controls: extendBase(lightBaseTheme, {
1046
+ bg: neutral.gray95,
1047
+ smBg: neutral.gray95,
1048
+ text: neutral.gray60,
1049
+ secondary: colors.secondary
1050
+ })
1051
+ });
1052
+ var darkTheme = extend(darkBaseTheme, {
1053
+ header: extendBase(darkBaseTheme, {}),
1054
+ nav: extendBase(darkBaseTheme, {}),
1055
+ content: extendBase(darkBaseTheme, {}),
1056
+ controls: extendBase(darkBaseTheme, {
1057
+ bg: neutral.gray40,
1058
+ smBg: neutral.gray40,
1059
+ text: neutral.white,
1060
+ secondary: colors.secondary
1061
+ })
1062
+ });
1063
+ var umaLightTheme = extend(lightTheme, {
1064
+ app: "UmaDocs" /* UmaDocs */,
1065
+ bg: uma.background,
1066
+ smBg: uma.background,
1067
+ secondary: uma.secondary,
1068
+ text: uma.black,
1069
+ link: uma.blue,
1070
+ content: extendBase(lightBaseTheme, {
1071
+ bg: uma.background,
1072
+ smBg: uma.background,
1073
+ text: uma.black,
1074
+ secondary: uma.secondary
1075
+ }),
1076
+ controls: extendBase(lightBaseTheme, {
1077
+ text: uma.black,
1078
+ secondary: uma.secondary,
1079
+ bg: uma.blue90
1080
+ })
1081
+ });
1082
+ var isLight = (theme) => theme.type === "light" /* Light */;
1083
+ var themeOr = (lightValue, darkValue) => ({ theme }) => {
1084
+ return isLight(theme) ? lightValue : darkValue;
1085
+ };
1086
+ function luminance(r, g, b) {
1087
+ const a = [r, g, b].map(function(v) {
1088
+ v /= 255;
1089
+ return v <= 0.03928 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4);
1090
+ });
1091
+ return a[0] * 0.2126 + a[1] * 0.7152 + a[2] * 0.0722;
1092
+ }
1093
+ function contrast(rgb1, rgb2) {
1094
+ const lum1 = luminance(rgb1[0], rgb1[1], rgb1[2]);
1095
+ const lum2 = luminance(rgb2[0], rgb2[1], rgb2[2]);
1096
+ const brightest = Math.max(lum1, lum2);
1097
+ const darkest = Math.min(lum1, lum2);
1098
+ return (brightest + 0.05) / (darkest + 0.05);
1099
+ }
1100
+ function hexToRGB(hex) {
1101
+ const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
1102
+ return result ? [
1103
+ parseInt(result[1], 16),
1104
+ parseInt(result[2], 16),
1105
+ parseInt(result[3], 16)
1106
+ ] : [0, 0, 0];
1107
+ }
1108
+
1109
+ // src/router.tsx
1110
+ var import_jsx_runtime2 = require("@emotion/react/jsx-runtime");
1111
+ function replaceParams(to, params) {
1112
+ if (params) {
1113
+ let toWithParams = to;
1114
+ Object.entries((0, import_lodash_es2.omit)(params, "query")).forEach(([key, value]) => {
1115
+ if (typeof value !== "string") {
1116
+ throw new Error(
1117
+ `Only 'query' may be an object. Route params must be a string, but '${key}' is not.`
1118
+ );
1119
+ }
1120
+ toWithParams = toWithParams.replace(`:${key}`, value);
1121
+ });
1122
+ if (params.query) {
1123
+ let query = params.query;
1124
+ if (typeof query !== "string") {
1125
+ query = Object.entries(params.query).map(([key, value]) => `${key}${value ? `=${value}` : ""}`).join("&");
1126
+ }
1127
+ toWithParams = `${toWithParams}?${query}`;
1128
+ }
1129
+ to = toWithParams;
1130
+ }
1131
+ return to;
1132
+ }
1133
+ function Link({
1134
+ to,
1135
+ params,
1136
+ children,
1137
+ css: css5,
1138
+ onClick,
1139
+ className,
1140
+ hash = null,
1141
+ blue = false,
1142
+ newTab = false
1143
+ }) {
1144
+ let toStr = replaceParams(to, params);
1145
+ toStr += hash ? `#${hash}` : "";
1146
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
1147
+ import_react_router_dom.Link,
1148
+ {
1149
+ to: toStr,
1150
+ css: css5,
1151
+ onClick,
1152
+ className,
1153
+ style: { color: blue ? colors.blue43 : "inherit" },
1154
+ target: newTab ? "_blank" : void 0,
1155
+ rel: newTab ? "noopener noreferrer" : void 0,
1156
+ children
1157
+ }
1158
+ );
1159
+ }
1160
+
1161
+ // src/styles/common.tsx
1162
+ var import_react5 = require("@emotion/react");
1163
+ var import_styled = __toESM(require("@emotion/styled"), 1);
1164
+ var import_react_tooltip = require("react-tooltip");
1165
+
1166
+ // src/styles/z-index.tsx
1167
+ var z = {
1168
+ card: 1,
1169
+ fieldError: 1,
1170
+ textInput: 2,
1171
+ select: 3,
1172
+ selectFocused: 4,
1173
+ walletActionPreviewTopGradient: 1,
1174
+ headerContainer: 99,
1175
+ smBanner: 99,
1176
+ headerTop: 100,
1177
+ navMenu: 100,
1178
+ smNavMenu: 100,
1179
+ navAction: 101,
1180
+ smNavAction: 100,
1181
+ // keep under navDropdown
1182
+ tooltip: 160,
1183
+ notificationBanner: 170,
1184
+ qrReaderVideo: 180,
1185
+ qrReaderOverlay: 181,
1186
+ modalOverlay: 190,
1187
+ modalContainer: 191,
1188
+ dropdown: 192,
1189
+ toast: 200
1190
+ };
1191
+
1192
+ // src/styles/common.tsx
1193
+ var rootFontSizePx = 12;
1194
+ var rootFontSizeRems = rootFontSizePx / 16;
1195
+ var standardContentInsetPx = 32;
1196
+ var standardContentInsetMdPx = 24;
1197
+ var standardContentInsetSmPx = 16;
1198
+ var smContentInset = import_react5.css`
1199
+ ${bp.sm(`
1200
+ margin-left: auto;
1201
+ margin-right: auto;
1202
+ width: calc(100% - ${standardContentInsetSmPx * 2}px);
1203
+ `)}
1204
+ `;
1205
+ var minSmMaxLgContentInset = import_react5.css`
1206
+ ${bp.minSmMaxLg(`
1207
+ width: calc(100% - ${standardContentInsetMdPx * 2}px);
1208
+ `)}
1209
+ `;
1210
+ var standardContentInset = import_react5.css`
1211
+ margin-left: auto;
1212
+ margin-right: auto;
1213
+ width: calc(100% - ${standardContentInsetPx * 2}px);
1214
+ max-width: 1280px;
1215
+
1216
+ ${smContentInset}
1217
+ ${minSmMaxLgContentInset}
1218
+ `;
1219
+ var standardCardShadow = import_react5.css`
1220
+ box-shadow:
1221
+ 0px 4px 10px 0px rgba(0, 0, 0, 0.08),
1222
+ 0px 8px 24px 0px rgba(0, 0, 0, 0.04);
1223
+ `;
1224
+ var pageBorderRadiusPx = 16;
1225
+ var pageBorderRadius = `
1226
+ border-radius: ${pageBorderRadiusPx}px;
1227
+ `;
1228
+ var getFocusOutline = ({
1229
+ theme,
1230
+ onBgHex
1231
+ }) => `${onBgHex ? theme.hcNeutralFromBg(onBgHex) : theme.hcNeutral} dashed 1px`;
1232
+ var outlineOffset = "-2px";
1233
+ var standardFocusOutline = ({ theme }) => import_react5.css`
1234
+ &,
1235
+ & a,
1236
+ & button {
1237
+ &:focus-visible {
1238
+ outline: ${getFocusOutline({ theme })};
1239
+ outline-offset: ${outlineOffset};
1240
+ }
1241
+ }
1242
+ `;
1243
+ var subtext = ({ theme }) => import_react5.css`
1244
+ color: ${theme.c6Neutral};
1245
+ font-weight: 600;
1246
+ `;
1247
+ var Subtext = import_styled.default.div`
1248
+ ${subtext}
1249
+ `;
1250
+ var darkGradientBg = import_react5.css`
1251
+ background: ${darkGradient};
1252
+ `;
1253
+ var StyledTooltip = (0, import_styled.default)(import_react_tooltip.Tooltip)`
1254
+ z-index: ${z.modalOverlay};
1255
+ `;
1256
+
1257
+ // src/components/Icon.tsx
1258
+ var import_styled2 = __toESM(require("@emotion/styled"), 1);
1259
+ var import_react6 = require("react");
1260
+
1261
+ // src/utils/strings.tsx
1262
+ function isString(str) {
1263
+ return typeof str === "string";
1264
+ }
1265
+
1266
+ // src/components/Icon.tsx
1267
+ var import_jsx_runtime3 = require("@emotion/react/jsx-runtime");
1268
+ var iconMap = {};
1269
+ function loadIcon(iconName) {
1270
+ return __async(this, null, function* () {
1271
+ let IconComp;
1272
+ try {
1273
+ ({ default: IconComp } = yield import(
1274
+ /* webpackMode: "eager" */
1275
+ // this can't be a variable only, needs to have some string constraints:
1276
+ `./icons/${iconName}.js`
1277
+ ));
1278
+ } catch (e) {
1279
+ throw new Error(`Icon ${iconName} not found`);
1280
+ }
1281
+ iconMap[iconName] = IconComp;
1282
+ });
1283
+ }
1284
+ function Icon({
1285
+ className,
1286
+ name,
1287
+ width,
1288
+ tutorialStep,
1289
+ mr = 0,
1290
+ ml = 0,
1291
+ verticalAlign = "middle",
1292
+ color = void 0
1293
+ }) {
1294
+ const [, setLoading] = (0, import_react6.useState)(false);
1295
+ const IconComponent = iconMap[name] || null;
1296
+ (0, import_react6.useLayoutEffect)(() => {
1297
+ void (() => __async(this, null, function* () {
1298
+ if (!iconMap[name]) {
1299
+ setLoading(true);
1300
+ yield loadIcon(name);
1301
+ setLoading(false);
1302
+ }
1303
+ }))();
1304
+ }, [name]);
1305
+ const w = parseFloat((width / rootFontSizePx).toFixed(2));
1306
+ const mrRems = parseFloat((mr / rootFontSizePx).toFixed(2));
1307
+ const mlRems = parseFloat((ml / rootFontSizePx).toFixed(2));
1308
+ const va = typeof verticalAlign === "string" ? verticalAlign : parseFloat((verticalAlign / rootFontSizePx).toFixed(2));
1309
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
1310
+ IconContainer,
1311
+ {
1312
+ className,
1313
+ w,
1314
+ mr: mrRems,
1315
+ ml: mlRems,
1316
+ verticalAlign: va,
1317
+ fontColor: color,
1318
+ "data-tutorial-tip": tutorialStep == null ? void 0 : tutorialStep.toString(),
1319
+ children: IconComponent ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(IconComponent, {}) : null
1320
+ }
1321
+ );
1322
+ }
1323
+ var IconContainer = import_styled2.default.span`
1324
+ pointer-events: none;
1325
+ display: inline-flex;
1326
+ ${({ mr, ml, w }) => `
1327
+ width: ${w}em;
1328
+ /* ensure no shrink in flex containers: */
1329
+ min-width: ${w}em;
1330
+ ${mr ? `margin-right: ${mr}em;` : ""}
1331
+ ${ml ? `margin-left: ${ml}em;` : ""}
1332
+ `}
1333
+
1334
+ vertical-align: ${({ verticalAlign }) => isString(verticalAlign) ? verticalAlign : `${verticalAlign}em`};
1335
+
1336
+ ${({ fontColor }) => `
1337
+ & svg {
1338
+ color: ${fontColor || "inherit"};
1339
+ }
1340
+ `}
1341
+ `;
1342
+
1343
+ // src/components/Loading.tsx
1344
+ var import_styled3 = __toESM(require("@emotion/styled"), 1);
1345
+ var import_jsx_runtime4 = require("@emotion/react/jsx-runtime");
1346
+ var defaultProps = {
1347
+ size: 60,
1348
+ center: true,
1349
+ ml: 0
1350
+ };
1351
+ function Loading({
1352
+ center = defaultProps.center,
1353
+ size = defaultProps.size,
1354
+ ml = defaultProps.ml
1355
+ }) {
1356
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(LoadingWrapper, { center, ml, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Rotate, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { name: "LoadingSpinner", width: size }) }) });
1357
+ }
1358
+ Loading.defaultProps = defaultProps;
1359
+ var LoadingWrapper = import_styled3.default.div`
1360
+ flex-grow: 1;
1361
+ display: flex;
1362
+ align-items: center;
1363
+ justify-content: center;
1364
+ text-align: center;
1365
+ width: 100%;
1366
+ margin-left: ${({ ml }) => ml}px;
1367
+
1368
+ ${({ center }) => center && `
1369
+ position: absolute;
1370
+ height: 100%;
1371
+ width: 100%;
1372
+ top: 0;
1373
+ bottom: 0;
1374
+ left: 0;
1375
+ right: 0;
1376
+ margin: 0 !important;
1377
+ `}
1378
+ `;
1379
+ var Rotate = import_styled3.default.div`
1380
+ display: inline-flex;
1381
+ animation: rotate 0.5s linear infinite;
1382
+
1383
+ @keyframes rotate {
1384
+ 0% {
1385
+ transform: rotate(0deg);
1386
+ }
1387
+ 100% {
1388
+ transform: rotate(360deg);
1389
+ }
1390
+ }
1391
+ `;
1392
+
1393
+ // src/components/UnstyledButton.tsx
1394
+ var import_styled4 = __toESM(require("@emotion/styled"), 1);
1395
+ var UnstyledButton = import_styled4.default.button`
1396
+ ${standardFocusOutline}
1397
+ font-family: ${({ theme }) => theme.typography.fontFamilies.main};
1398
+ appearance: none;
1399
+ background: transparent;
1400
+ border: none;
1401
+ padding: 0;
1402
+ cursor: ${({ disabled }) => disabled ? "not-allowed" : "pointer"};
1403
+ /* needed in Safari for some reason */
1404
+ font-size: 1rem;
1405
+ color: inherit;
1406
+ font-weight: inherit;
1407
+ `;
1408
+
1409
+ // src/components/Button.tsx
1410
+ var import_jsx_runtime5 = require("@emotion/react/jsx-runtime");
1411
+ function getTextColor({ color, theme, primary: primary2, blue }) {
1412
+ if (color) {
1413
+ return color;
1414
+ }
1415
+ if (blue) {
1416
+ return colors.white;
1417
+ }
1418
+ if (primary2) {
1419
+ const color2 = theme.hcNeutralFromBg(theme.hcNeutral);
1420
+ return color2;
1421
+ }
1422
+ return theme.text;
1423
+ }
1424
+ function getBackgroundColor({
1425
+ backgroundColor,
1426
+ theme,
1427
+ primary: primary2,
1428
+ blue,
1429
+ ghost
1430
+ }) {
1431
+ if (ghost) {
1432
+ return "none";
1433
+ }
1434
+ if (backgroundColor) {
1435
+ return backgroundColor;
1436
+ }
1437
+ if (blue) {
1438
+ return colors.blue43;
1439
+ }
1440
+ if (primary2) {
1441
+ return themeOr(theme.c9Neutral, colors.white)({ theme });
1442
+ }
1443
+ return themeOr(colors.white, theme.c1Neutral)({ theme });
1444
+ }
1445
+ function getPaddingX({ size, ghost }) {
1446
+ return ghost ? 0 : size === "lg" ? hPaddingPx : size === "md" ? 18 : 16;
1447
+ }
1448
+ function getPadding({ iconWidth, size, ghost, iconSide }) {
1449
+ const paddingY = ghost ? 0 : size === "lg" ? 14 : size === "md" ? 9 : 6;
1450
+ const paddingX = getPaddingX({ size, ghost });
1451
+ const paddingForIcon = iconWidth && !ghost ? iconWidth : 0;
1452
+ return `${paddingY}px ${paddingX + (iconSide === "right" ? paddingForIcon : 0)}px ${paddingY}px ${paddingX + (iconSide === "left" ? paddingForIcon : 0)}px`;
1453
+ }
1454
+ function getBorder({ ghost }) {
1455
+ if (ghost) {
1456
+ return "none";
1457
+ }
1458
+ return "1px solid";
1459
+ }
1460
+ function getInnerBorderColor({
1461
+ backgroundColor,
1462
+ theme,
1463
+ primary: primary2,
1464
+ blue
1465
+ }) {
1466
+ if (primary2 || blue || backgroundColor) {
1467
+ return getBackgroundColor({
1468
+ backgroundColor,
1469
+ theme,
1470
+ primary: primary2,
1471
+ blue
1472
+ });
1473
+ }
1474
+ return themeOr(colors.gray90, colors.gray20)({ theme });
1475
+ }
1476
+ function Button({
1477
+ backgroundColor,
1478
+ color,
1479
+ hoverColor,
1480
+ primary: primary2 = false,
1481
+ ghost = false,
1482
+ text,
1483
+ to,
1484
+ hash,
1485
+ href,
1486
+ toParams,
1487
+ onClick,
1488
+ icon,
1489
+ iconSide = "left",
1490
+ loading = false,
1491
+ fullWidth = false,
1492
+ disabled = false,
1493
+ size = "lg",
1494
+ mt = 0,
1495
+ ml = 0,
1496
+ type = "button",
1497
+ blue = false,
1498
+ newTab = false,
1499
+ zIndex = void 0
1500
+ }) {
1501
+ const iconMarginRight = 6;
1502
+ const iconSize = size === "lg" ? 16 : 12;
1503
+ let currentIcon = null;
1504
+ if (loading) {
1505
+ currentIcon = /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ButtonIcon, { ghost, iconSide, text, size, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Loading, { size: iconSize, center: false }) });
1506
+ } else if (icon) {
1507
+ currentIcon = /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ButtonIcon, { ghost, iconSide, text, size, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Icon, { name: icon, width: iconSize }) });
1508
+ }
1509
+ const content = /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
1510
+ "div",
1511
+ {
1512
+ css: {
1513
+ display: "flex",
1514
+ alignItems: "center",
1515
+ justifyContent: "center"
1516
+ },
1517
+ children: [
1518
+ iconSide === "left" && currentIcon,
1519
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
1520
+ "div",
1521
+ {
1522
+ css: {
1523
+ textOverflow: "ellipsis",
1524
+ overflow: "hidden"
1525
+ },
1526
+ children: text
1527
+ }
1528
+ ),
1529
+ iconSide === "right" && currentIcon
1530
+ ]
1531
+ }
1532
+ );
1533
+ const commonProps = {
1534
+ backgroundColor,
1535
+ color,
1536
+ hoverColor,
1537
+ type,
1538
+ size,
1539
+ onClick,
1540
+ primary: primary2,
1541
+ ghost,
1542
+ fullWidth,
1543
+ blue,
1544
+ iconSide,
1545
+ iconWidth: currentIcon ? iconSize + iconMarginRight : 0,
1546
+ isLoading: loading,
1547
+ disabled: disabled || loading,
1548
+ css: {
1549
+ marginTop: mt ? `${mt}px` : void 0,
1550
+ marginLeft: ml ? `${ml}px` : void 0
1551
+ },
1552
+ newTab,
1553
+ text,
1554
+ zIndex
1555
+ };
1556
+ if (to) {
1557
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ButtonLink, __spreadProps(__spreadValues({}, commonProps), { to, params: toParams, hash, children: content }));
1558
+ }
1559
+ return href ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ButtonHrefLink, __spreadProps(__spreadValues({}, commonProps), { href, target: "_blank", children: content })) : /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(StyledButton, __spreadProps(__spreadValues({}, commonProps), { children: content }));
1560
+ }
1561
+ var hPaddingPx = 24;
1562
+ var buttonStyle = ({
1563
+ color,
1564
+ backgroundColor,
1565
+ hoverColor,
1566
+ theme,
1567
+ primary: primary2,
1568
+ ghost,
1569
+ disabled,
1570
+ isLoading,
1571
+ size,
1572
+ fullWidth,
1573
+ iconWidth,
1574
+ blue,
1575
+ text,
1576
+ zIndex,
1577
+ iconSide
1578
+ }) => import_react7.css`
1579
+ display: inline-flex;
1580
+ opacity: ${disabled && !isLoading ? 0.2 : 1};
1581
+ transition: opacity 0.2s;
1582
+ position: relative;
1583
+
1584
+ ${zIndex && `z-index: ${zIndex};`}
1585
+
1586
+ color: ${getTextColor({ color, theme, primary: primary2, blue })};
1587
+ font-size: ${["lg", "md"].includes(size) ? "14px" : "12px"};
1588
+ font-weight: 600;
1589
+
1590
+ &:focus-visible {
1591
+ outline: ${getFocusOutline({ theme })};
1592
+ }
1593
+
1594
+ width: ${fullWidth ? "100%" : "fit-content"};
1595
+
1596
+ & > * {
1597
+ width: 100%;
1598
+ text-align: center;
1599
+ white-space: nowrap;
1600
+ background-color: ${getBackgroundColor({
1601
+ backgroundColor,
1602
+ theme,
1603
+ primary: primary2,
1604
+ blue,
1605
+ ghost
1606
+ })};
1607
+ border: ${getBorder({ ghost })};
1608
+ border-color: ${getInnerBorderColor({
1609
+ backgroundColor,
1610
+ theme,
1611
+ primary: primary2,
1612
+ blue
1613
+ })};
1614
+ border-radius: 32px;
1615
+ padding: ${getPadding({ size, iconWidth, text, ghost, iconSide })};
1616
+ color: ${getTextColor({ color, theme, primary: primary2, blue })};
1617
+ transition:
1618
+ background-color 0.2s ease-out,
1619
+ border-color 0.2s ease-out;
1620
+
1621
+ &:hover {
1622
+ ${hoverColor && ghost ? "" : `background-color: ${hoverColor}; border-color: ${hoverColor};`}
1623
+ }
1624
+ }
1625
+ `;
1626
+ var ButtonIcon = import_styled5.default.div`
1627
+ ${(props) => props.ghost ? "" : "position: absolute;"}
1628
+ ${({ iconSide, ghost, text, size }) => `${iconSide}: ${ghost && text ? 0 : getPaddingX({ size, ghost })}px;`}
1629
+ `;
1630
+ var StyledButton = (0, import_styled5.default)(UnstyledButton)`
1631
+ ${(props) => buttonStyle(props)}
1632
+ `;
1633
+ var ButtonLink = (0, import_styled5.default)(Link)`
1634
+ ${(props) => buttonStyle(props)}
1635
+ `;
1636
+ var ButtonHrefLink = import_styled5.default.a`
1637
+ ${(props) => buttonStyle(props)}
1638
+ `;
1639
+ var ButtonSelector = (prepend = "", append = "") => `${prepend}${StyledButton.toString()}${append}, ${prepend}${ButtonLink.toString()}${append}, ${prepend}${ButtonHrefLink.toString()}${append}`;
1640
+ // Annotate the CommonJS export names for ESM import in node:
1641
+ 0 && (module.exports = {
1642
+ Button,
1643
+ ButtonSelector,
1644
+ StyledButton
1645
+ });