@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,1317 @@
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/Loading.tsx
68
+ var Loading_exports = {};
69
+ __export(Loading_exports, {
70
+ Loading: () => Loading,
71
+ LoadingWrapper: () => LoadingWrapper
72
+ });
73
+ module.exports = __toCommonJS(Loading_exports);
74
+ var import_styled3 = __toESM(require("@emotion/styled"), 1);
75
+
76
+ // src/components/Icon.tsx
77
+ var import_styled2 = __toESM(require("@emotion/styled"), 1);
78
+ var import_react5 = require("react");
79
+
80
+ // src/styles/common.tsx
81
+ var import_react4 = require("@emotion/react");
82
+ var import_styled = __toESM(require("@emotion/styled"), 1);
83
+ var import_react_tooltip = require("react-tooltip");
84
+
85
+ // src/styles/breakpoints.tsx
86
+ var import_react = require("@emotion/react");
87
+ var import_lodash_es = require("lodash-es");
88
+ var import_react2 = require("react");
89
+ var import_jsx_runtime = require("@emotion/react/jsx-runtime");
90
+ var Breakpoints = /* @__PURE__ */ ((Breakpoints2) => {
91
+ Breakpoints2["sm"] = "sm";
92
+ Breakpoints2["md"] = "md";
93
+ Breakpoints2["lg"] = "lg";
94
+ return Breakpoints2;
95
+ })(Breakpoints || {});
96
+ var breakpoints = {
97
+ ["sm" /* sm */]: 640,
98
+ ["md" /* md */]: 834,
99
+ ["lg" /* lg */]: 1200
100
+ };
101
+ var breakpointFn = (mq) => (style) => `@media ${mq} { ${style} }`;
102
+ var bp = {
103
+ key: Breakpoints,
104
+ ["sm" /* sm */]: breakpointFn(`(max-width:${breakpoints.sm}px)`),
105
+ ["lg" /* lg */]: breakpointFn(`(min-width:${breakpoints.lg}px)`),
106
+ ["minSmMaxLg" /* minSmMaxLg */]: breakpointFn(
107
+ `(min-width:${breakpoints.sm + 1}px) and (max-width:${breakpoints.lg - 1}px)`
108
+ ),
109
+ ["minSmMaxMd" /* minSmMaxMd */]: breakpointFn(
110
+ `(min-width:${breakpoints.sm + 1}px) and (max-width:${breakpoints.md - 1}px)`
111
+ ),
112
+ ["minMdMaxLg" /* minMdMaxLg */]: breakpointFn(
113
+ `(min-width:${breakpoints.md}px) and (max-width:${breakpoints.lg - 1}px)`
114
+ ),
115
+ ["maxLg" /* maxLg */]: breakpointFn(`(max-width:${breakpoints.lg - 1}px)`),
116
+ ["maxMd" /* maxMd */]: breakpointFn(`(max-width:${breakpoints.md - 1}px)`),
117
+ ["minSm" /* minSm */]: breakpointFn(`(min-width:${breakpoints.sm + 1}px)`),
118
+ ["minMd" /* minMd */]: breakpointFn(`(min-width:${breakpoints.md + 1}px)`),
119
+ current: function(assertBp) {
120
+ const currentBp = (
121
+ /* window is undefined in first server side render for Next apps: */
122
+ typeof window === "undefined" ? "sm" /* sm */ : window.getComputedStyle(document.body, ":before").content.replace(/"/g, "")
123
+ );
124
+ if (assertBp) {
125
+ return inRange(
126
+ currentBp,
127
+ assertBp
128
+ );
129
+ }
130
+ return currentBp;
131
+ },
132
+ switch: (smVal, minSmMaxMdVal, minMdMaxLgVal, lgVal) => {
133
+ const currentBp = bp.current();
134
+ if (currentBp === "sm" /* sm */) {
135
+ return smVal;
136
+ } else if (currentBp === "minSmMaxMd" /* minSmMaxMd */) {
137
+ return minSmMaxMdVal;
138
+ } else if (currentBp === "minMdMaxLg" /* minMdMaxLg */) {
139
+ return minMdMaxLgVal;
140
+ }
141
+ return lgVal;
142
+ },
143
+ isSm: () => bp.current("sm" /* sm */),
144
+ isMinSm: () => bp.current("minSm" /* minSm */),
145
+ isMinSmMaxMd: () => bp.current("minSmMaxMd" /* minSmMaxMd */),
146
+ isMinMdMaxLg: () => bp.current("minMdMaxLg" /* minMdMaxLg */),
147
+ isLg: () => bp.current("lg" /* lg */)
148
+ };
149
+ function inRange(currentBp, assertBp) {
150
+ const isSm = currentBp === "sm" /* sm */;
151
+ const isMinSmMaxMd = currentBp === "minSmMaxMd" /* minSmMaxMd */;
152
+ const isMinMdMaxLg = currentBp === "minMdMaxLg" /* minMdMaxLg */;
153
+ const isLg = currentBp === "lg" /* lg */;
154
+ if (assertBp) {
155
+ switch (assertBp) {
156
+ case "sm" /* sm */:
157
+ return isSm;
158
+ case "minSmMaxMd" /* minSmMaxMd */:
159
+ return isMinSmMaxMd;
160
+ case "minMdMaxLg" /* minMdMaxLg */:
161
+ return isMinMdMaxLg;
162
+ case "lg" /* lg */:
163
+ return isLg;
164
+ case "minSmMaxLg" /* minSmMaxLg */:
165
+ return isMinSmMaxMd || isMinMdMaxLg;
166
+ case "maxLg" /* maxLg */:
167
+ return isSm || isMinSmMaxMd || isMinMdMaxLg;
168
+ case "maxMd" /* maxMd */:
169
+ return isSm || isMinSmMaxMd;
170
+ case "minSm" /* minSm */:
171
+ return isMinSmMaxMd || isMinMdMaxLg || isLg;
172
+ case "minMd" /* minMd */:
173
+ return isMinMdMaxLg || isLg;
174
+ default:
175
+ return false;
176
+ }
177
+ }
178
+ return false;
179
+ }
180
+
181
+ // src/styles/colors.tsx
182
+ var import_react3 = require("@emotion/react");
183
+
184
+ // src/styles/fonts/typographyTokens.ts
185
+ var FONT_FAMILIES = {
186
+ main: "Montserrat",
187
+ code: "Monaco"
188
+ };
189
+ var LINE_HEIGHTS = {
190
+ "5xl": "72px",
191
+ "4xl": "60px",
192
+ "3xl": "44px",
193
+ "2xl": "40px",
194
+ xl: "36px",
195
+ lg: "32px",
196
+ md: "28px",
197
+ sm: "24px",
198
+ xs: "20px",
199
+ "2xs": "16px"
200
+ };
201
+ var FONT_WEIGHTS = {
202
+ main: {
203
+ Bold: 700,
204
+ SemiBold: 600,
205
+ Medium: 500
206
+ },
207
+ code: {
208
+ Bold: 700,
209
+ Regular: 400
210
+ }
211
+ };
212
+ var FONT_SIZE = {
213
+ "2xs": "11px",
214
+ xs: "12px",
215
+ sm: "14px",
216
+ md: "16px",
217
+ lg: "20px",
218
+ xl: "24px",
219
+ "2xl": "28px",
220
+ "3xl": "32px",
221
+ "4xl": "36px",
222
+ "5xl": "48px",
223
+ "6xl": "64px"
224
+ };
225
+ var LETTER_SPACING = {
226
+ tight: "-.02em",
227
+ normal: "0",
228
+ loose: ".1em"
229
+ };
230
+ var TEXT_CASE = {
231
+ none: "none",
232
+ uppercase: "uppercase"
233
+ };
234
+ var TEXT_DECORATION = {
235
+ none: "none"
236
+ };
237
+ var PARAGRAPH_INDENT = {
238
+ 0: "0px"
239
+ };
240
+ var PARAGRAPH_SPACING = {
241
+ default: "default",
242
+ 16: "16px",
243
+ 40: "40px"
244
+ };
245
+ var getTypography = (customFontFamilies) => {
246
+ const fontFamilies = customFontFamilies != null ? customFontFamilies : FONT_FAMILIES;
247
+ return {
248
+ fontFamilies,
249
+ lineHeights: LINE_HEIGHTS,
250
+ fontWeights: FONT_WEIGHTS,
251
+ fontSize: FONT_SIZE,
252
+ letterSpacing: LETTER_SPACING,
253
+ textCase: TEXT_CASE,
254
+ textDecoration: TEXT_DECORATION,
255
+ paragraphIndent: PARAGRAPH_INDENT,
256
+ paragraphSpacing: PARAGRAPH_SPACING,
257
+ ["Lightspark" /* Lightspark */]: {
258
+ Display: {
259
+ ["Large" /* Large */]: {
260
+ "font-family": `${fontFamilies.main}`,
261
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
262
+ "line-height": `${LINE_HEIGHTS["5xl"]}`,
263
+ "font-size": `${FONT_SIZE["6xl"]}`,
264
+ "letter-spacing": `${LETTER_SPACING.tight}`,
265
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
266
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
267
+ "text-case": `${TEXT_CASE.none}`,
268
+ "text-decoration": `${TEXT_DECORATION.none}`
269
+ },
270
+ ["Medium" /* Medium */]: {
271
+ "font-family": `${fontFamilies.main}`,
272
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
273
+ "line-height": `${LINE_HEIGHTS["4xl"]}`,
274
+ "font-size": `${FONT_SIZE["5xl"]}`,
275
+ "letter-spacing": `${LETTER_SPACING.tight}`,
276
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
277
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
278
+ "text-case": `${TEXT_CASE.none}`,
279
+ "text-decoration": `${TEXT_DECORATION.none}`
280
+ },
281
+ ["Small" /* Small */]: {
282
+ "font-family": `${fontFamilies.main}`,
283
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
284
+ "line-height": `${LINE_HEIGHTS["3xl"]}`,
285
+ "font-size": `${FONT_SIZE["4xl"]}`,
286
+ "letter-spacing": `${LETTER_SPACING.tight}`,
287
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
288
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
289
+ "text-case": `${TEXT_CASE.none}`,
290
+ "text-decoration": `${TEXT_DECORATION.none}`
291
+ }
292
+ },
293
+ Headline: {
294
+ ["Large" /* Large */]: {
295
+ "font-family": `${fontFamilies.main}`,
296
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
297
+ "line-height": `${LINE_HEIGHTS["2xl"]}`,
298
+ "font-size": `${FONT_SIZE["3xl"]}`,
299
+ "letter-spacing": `${LETTER_SPACING.tight}`,
300
+ "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
301
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
302
+ "text-case": `${TEXT_CASE.none}`,
303
+ "text-decoration": `${TEXT_DECORATION.none}`
304
+ },
305
+ ["Medium" /* Medium */]: {
306
+ "font-family": `${fontFamilies.main}`,
307
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
308
+ "line-height": `${LINE_HEIGHTS.xl}`,
309
+ "font-size": `${FONT_SIZE["2xl"]}`,
310
+ "letter-spacing": `${LETTER_SPACING.tight}`,
311
+ "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
312
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
313
+ "text-case": `${TEXT_CASE.none}`,
314
+ "text-decoration": `${TEXT_DECORATION.none}`
315
+ },
316
+ ["Small" /* Small */]: {
317
+ "font-family": `${fontFamilies.main}`,
318
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
319
+ "line-height": `${LINE_HEIGHTS.lg}`,
320
+ "font-size": `${FONT_SIZE.xl}`,
321
+ "letter-spacing": `${LETTER_SPACING.tight}`,
322
+ "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
323
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
324
+ "text-case": `${TEXT_CASE.none}`,
325
+ "text-decoration": `${TEXT_DECORATION.none}`
326
+ }
327
+ },
328
+ Title: {
329
+ ["Large" /* Large */]: {
330
+ "font-family": `${fontFamilies.main}`,
331
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
332
+ "line-height": `${LINE_HEIGHTS.md}`,
333
+ "font-size": `${FONT_SIZE.lg}`,
334
+ "letter-spacing": `${LETTER_SPACING.normal}`,
335
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
336
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
337
+ "text-case": `${TEXT_CASE.none}`,
338
+ "text-decoration": `${TEXT_DECORATION.none}`
339
+ },
340
+ ["Medium" /* Medium */]: {
341
+ "font-family": `${fontFamilies.main}`,
342
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
343
+ "line-height": `${LINE_HEIGHTS.sm}`,
344
+ "font-size": `${FONT_SIZE.md}`,
345
+ "letter-spacing": `${LETTER_SPACING.normal}`,
346
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
347
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
348
+ "text-case": `${TEXT_CASE.none}`,
349
+ "text-decoration": `${TEXT_DECORATION.none}`
350
+ },
351
+ ["Small" /* Small */]: {
352
+ "font-family": `${fontFamilies.main}`,
353
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
354
+ "line-height": `${LINE_HEIGHTS.xs}`,
355
+ "font-size": `${FONT_SIZE.sm}`,
356
+ "letter-spacing": `${LETTER_SPACING.normal}`,
357
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
358
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
359
+ "text-case": `${TEXT_CASE.none}`,
360
+ "text-decoration": `${TEXT_DECORATION.none}`
361
+ }
362
+ },
363
+ Body: {
364
+ ["Large" /* Large */]: {
365
+ "font-family": `${fontFamilies.main}`,
366
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
367
+ "line-height": `${LINE_HEIGHTS.sm}`,
368
+ "font-size": `${FONT_SIZE.md}`,
369
+ "letter-spacing": `${LETTER_SPACING.normal}`,
370
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
371
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
372
+ "text-case": `${TEXT_CASE.none}`,
373
+ "text-decoration": `${TEXT_DECORATION.none}`
374
+ },
375
+ ["Medium" /* Medium */]: {
376
+ "font-family": `${fontFamilies.main}`,
377
+ "font-weight": `${FONT_WEIGHTS.main.Medium}`,
378
+ "line-height": `${LINE_HEIGHTS.sm}`,
379
+ "font-size": `${FONT_SIZE.sm}`,
380
+ "letter-spacing": `${LETTER_SPACING.normal}`,
381
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
382
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
383
+ "text-case": `${TEXT_CASE.none}`,
384
+ "text-decoration": `${TEXT_DECORATION.none}`
385
+ },
386
+ ["Small" /* Small */]: {
387
+ "font-family": `${fontFamilies.main}`,
388
+ "font-weight": `${FONT_WEIGHTS.main.Medium}`,
389
+ "line-height": `${LINE_HEIGHTS.sm}`,
390
+ "font-size": `${FONT_SIZE.xs}`,
391
+ "letter-spacing": `${LETTER_SPACING.normal}`,
392
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
393
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
394
+ "text-case": `${TEXT_CASE.none}`,
395
+ "text-decoration": `${TEXT_DECORATION.none}`
396
+ }
397
+ },
398
+ Label: {
399
+ ["Large" /* Large */]: {
400
+ "font-family": `${fontFamilies.main}`,
401
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
402
+ "line-height": `${LINE_HEIGHTS.xs}`,
403
+ "font-size": `${FONT_SIZE.sm}`,
404
+ "letter-spacing": `${LETTER_SPACING.normal}`,
405
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
406
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
407
+ "text-case": `${TEXT_CASE.none}`,
408
+ "text-decoration": `${TEXT_DECORATION.none}`
409
+ },
410
+ ["Medium" /* Medium */]: {
411
+ "font-family": `${fontFamilies.main}`,
412
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
413
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
414
+ "font-size": `${FONT_SIZE.xs}`,
415
+ "letter-spacing": `${LETTER_SPACING.normal}`,
416
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
417
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
418
+ "text-case": `${TEXT_CASE.none}`,
419
+ "text-decoration": `${TEXT_DECORATION.none}`
420
+ },
421
+ ["Small" /* Small */]: {
422
+ "font-family": `${fontFamilies.main}`,
423
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
424
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
425
+ "font-size": `${FONT_SIZE["2xs"]}`,
426
+ "letter-spacing": `${LETTER_SPACING.normal}`,
427
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
428
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
429
+ "text-case": `${TEXT_CASE.none}`,
430
+ "text-decoration": `${TEXT_DECORATION.none}`
431
+ }
432
+ },
433
+ "Label Strong": {
434
+ ["Large" /* Large */]: {
435
+ "font-family": `${fontFamilies.main}`,
436
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
437
+ "line-height": `${LINE_HEIGHTS.xs}`,
438
+ "font-size": `${FONT_SIZE.sm}`,
439
+ "letter-spacing": `${LETTER_SPACING.normal}`,
440
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
441
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
442
+ "text-case": `${TEXT_CASE.none}`,
443
+ "text-decoration": `${TEXT_DECORATION.none}`
444
+ },
445
+ ["Medium" /* Medium */]: {
446
+ "font-family": `${fontFamilies.main}`,
447
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
448
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
449
+ "font-size": `${FONT_SIZE.xs}`,
450
+ "letter-spacing": `${LETTER_SPACING.normal}`,
451
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
452
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
453
+ "text-case": `${TEXT_CASE.none}`,
454
+ "text-decoration": `${TEXT_DECORATION.none}`
455
+ },
456
+ ["Small" /* Small */]: {
457
+ "font-family": `${fontFamilies.main}`,
458
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
459
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
460
+ "font-size": `${FONT_SIZE["2xs"]}`,
461
+ "letter-spacing": `${LETTER_SPACING.normal}`,
462
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
463
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
464
+ "text-case": `${TEXT_CASE.none}`,
465
+ "text-decoration": `${TEXT_DECORATION.none}`
466
+ }
467
+ },
468
+ Overline: {
469
+ ["Large" /* Large */]: {
470
+ "font-family": `${fontFamilies.code}`,
471
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
472
+ "line-height": `${LINE_HEIGHTS.sm}`,
473
+ "font-size": `${FONT_SIZE.md}`,
474
+ "letter-spacing": `${LETTER_SPACING.loose}`,
475
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
476
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
477
+ "text-case": `${TEXT_CASE.uppercase}`,
478
+ "text-decoration": `${TEXT_DECORATION.none}`
479
+ },
480
+ ["Medium" /* Medium */]: {
481
+ "font-family": `${fontFamilies.code}`,
482
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
483
+ "line-height": `${LINE_HEIGHTS.xs}`,
484
+ "font-size": `${FONT_SIZE.sm}`,
485
+ "letter-spacing": `${LETTER_SPACING.loose}`,
486
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
487
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
488
+ "text-case": `${TEXT_CASE.uppercase}`,
489
+ "text-decoration": `${TEXT_DECORATION.none}`
490
+ },
491
+ ["Small" /* Small */]: {
492
+ "font-family": `${fontFamilies.code}`,
493
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
494
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
495
+ "font-size": `${FONT_SIZE.xs}`,
496
+ "letter-spacing": `${LETTER_SPACING.loose}`,
497
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
498
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
499
+ "text-case": `${TEXT_CASE.uppercase}`,
500
+ "text-decoration": `${TEXT_DECORATION.none}`
501
+ }
502
+ },
503
+ Code: {
504
+ ["Large" /* Large */]: {
505
+ "font-family": `${fontFamilies.code}`,
506
+ "font-weight": `${FONT_WEIGHTS.code.Regular}`,
507
+ "line-height": `${LINE_HEIGHTS.sm}`,
508
+ "font-size": `${FONT_SIZE.md}`,
509
+ "letter-spacing": `${LETTER_SPACING.normal}`,
510
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
511
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
512
+ "text-case": `${TEXT_CASE.none}`,
513
+ "text-decoration": `${TEXT_DECORATION.none}`
514
+ },
515
+ ["Medium" /* Medium */]: {
516
+ "font-family": `${fontFamilies.code}`,
517
+ "font-weight": `${FONT_WEIGHTS.code.Regular}`,
518
+ "line-height": `${LINE_HEIGHTS.sm}`,
519
+ "font-size": `${FONT_SIZE.sm}`,
520
+ "letter-spacing": `${LETTER_SPACING.normal}`,
521
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
522
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
523
+ "text-case": `${TEXT_CASE.none}`,
524
+ "text-decoration": `${TEXT_DECORATION.none}`
525
+ },
526
+ ["Small" /* Small */]: {
527
+ "font-family": `${fontFamilies.code}`,
528
+ "font-weight": `${FONT_WEIGHTS.code.Regular}`,
529
+ "line-height": `${LINE_HEIGHTS.xs}`,
530
+ "font-size": `${FONT_SIZE.xs}`,
531
+ "letter-spacing": `${LETTER_SPACING.normal}`,
532
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
533
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
534
+ "text-case": `${TEXT_CASE.none}`,
535
+ "text-decoration": `${TEXT_DECORATION.none}`
536
+ }
537
+ },
538
+ "Code Strong": {
539
+ ["Large" /* Large */]: {
540
+ "font-family": `${fontFamilies.code}`,
541
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
542
+ "line-height": `${LINE_HEIGHTS.sm}`,
543
+ "font-size": `${FONT_SIZE.md}`,
544
+ "letter-spacing": `${LETTER_SPACING.normal}`,
545
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
546
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
547
+ "text-case": `${TEXT_CASE.none}`,
548
+ "text-decoration": `${TEXT_DECORATION.none}`
549
+ },
550
+ ["Medium" /* Medium */]: {
551
+ "font-family": `${fontFamilies.code}`,
552
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
553
+ "line-height": `${LINE_HEIGHTS.sm}`,
554
+ "font-size": `${FONT_SIZE.sm}`,
555
+ "letter-spacing": `${LETTER_SPACING.normal}`,
556
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
557
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
558
+ "text-case": `${TEXT_CASE.none}`,
559
+ "text-decoration": `${TEXT_DECORATION.none}`
560
+ },
561
+ ["Small" /* Small */]: {
562
+ "font-family": `${fontFamilies.code}`,
563
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
564
+ "line-height": `${LINE_HEIGHTS.xs}`,
565
+ "font-size": `${FONT_SIZE.xs}`,
566
+ "letter-spacing": `${LETTER_SPACING.normal}`,
567
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
568
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
569
+ "text-case": `${TEXT_CASE.none}`,
570
+ "text-decoration": `${TEXT_DECORATION.none}`
571
+ }
572
+ }
573
+ },
574
+ ["UmaDocs" /* UmaDocs */]: {
575
+ Display: {
576
+ ["Large" /* Large */]: {
577
+ "font-family": `${fontFamilies.main}`,
578
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
579
+ "line-height": `${LINE_HEIGHTS["5xl"]}`,
580
+ "font-size": `${FONT_SIZE["6xl"]}`,
581
+ "letter-spacing": `${LETTER_SPACING.tight}`,
582
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
583
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
584
+ "text-case": `${TEXT_CASE.none}`,
585
+ "text-decoration": `${TEXT_DECORATION.none}`
586
+ },
587
+ ["Medium" /* Medium */]: {
588
+ "font-family": `${fontFamilies.main}`,
589
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
590
+ "line-height": `${LINE_HEIGHTS["4xl"]}`,
591
+ "font-size": `${FONT_SIZE["5xl"]}`,
592
+ "letter-spacing": `${LETTER_SPACING.tight}`,
593
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
594
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
595
+ "text-case": `${TEXT_CASE.none}`,
596
+ "text-decoration": `${TEXT_DECORATION.none}`
597
+ },
598
+ ["Small" /* Small */]: {
599
+ "font-family": `${fontFamilies.main}`,
600
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
601
+ "line-height": `${LINE_HEIGHTS["3xl"]}`,
602
+ "font-size": `${FONT_SIZE["4xl"]}`,
603
+ "letter-spacing": `${LETTER_SPACING.tight}`,
604
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
605
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
606
+ "text-case": `${TEXT_CASE.none}`,
607
+ "text-decoration": `${TEXT_DECORATION.none}`
608
+ }
609
+ },
610
+ Headline: {
611
+ ["Large" /* Large */]: {
612
+ "font-family": `${fontFamilies.main}`,
613
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
614
+ "line-height": `${LINE_HEIGHTS["2xl"]}`,
615
+ "font-size": `${FONT_SIZE["3xl"]}`,
616
+ "letter-spacing": `${LETTER_SPACING.tight}`,
617
+ "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
618
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
619
+ "text-case": `${TEXT_CASE.none}`,
620
+ "text-decoration": `${TEXT_DECORATION.none}`
621
+ },
622
+ ["Medium" /* Medium */]: {
623
+ "font-family": `${fontFamilies.main}`,
624
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
625
+ "line-height": `${LINE_HEIGHTS.xl}`,
626
+ "font-size": `${FONT_SIZE["2xl"]}`,
627
+ "letter-spacing": `${LETTER_SPACING.tight}`,
628
+ "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
629
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
630
+ "text-case": `${TEXT_CASE.none}`,
631
+ "text-decoration": `${TEXT_DECORATION.none}`
632
+ },
633
+ ["Small" /* Small */]: {
634
+ "font-family": `${fontFamilies.main}`,
635
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
636
+ "line-height": `${LINE_HEIGHTS.lg}`,
637
+ "font-size": `${FONT_SIZE.xl}`,
638
+ "letter-spacing": `${LETTER_SPACING.tight}`,
639
+ "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
640
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
641
+ "text-case": `${TEXT_CASE.none}`,
642
+ "text-decoration": `${TEXT_DECORATION.none}`
643
+ }
644
+ },
645
+ Title: {
646
+ ["Large" /* Large */]: {
647
+ "font-family": `${fontFamilies.main}`,
648
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
649
+ "line-height": `${LINE_HEIGHTS.md}`,
650
+ "font-size": `${FONT_SIZE.lg}`,
651
+ "letter-spacing": `${LETTER_SPACING.normal}`,
652
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
653
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
654
+ "text-case": `${TEXT_CASE.none}`,
655
+ "text-decoration": `${TEXT_DECORATION.none}`
656
+ },
657
+ ["Medium" /* Medium */]: {
658
+ "font-family": `${fontFamilies.main}`,
659
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
660
+ "line-height": `${LINE_HEIGHTS.sm}`,
661
+ "font-size": `${FONT_SIZE.md}`,
662
+ "letter-spacing": `${LETTER_SPACING.normal}`,
663
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
664
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
665
+ "text-case": `${TEXT_CASE.none}`,
666
+ "text-decoration": `${TEXT_DECORATION.none}`
667
+ },
668
+ ["Small" /* Small */]: {
669
+ "font-family": `${fontFamilies.main}`,
670
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
671
+ "line-height": `${LINE_HEIGHTS.xs}`,
672
+ "font-size": `${FONT_SIZE.sm}`,
673
+ "letter-spacing": `${LETTER_SPACING.normal}`,
674
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
675
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
676
+ "text-case": `${TEXT_CASE.none}`,
677
+ "text-decoration": `${TEXT_DECORATION.none}`
678
+ }
679
+ },
680
+ Body: {
681
+ ["Large" /* Large */]: {
682
+ "font-family": `${fontFamilies.main}`,
683
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
684
+ "line-height": `${LINE_HEIGHTS.sm}`,
685
+ "font-size": `${FONT_SIZE.md}`,
686
+ "letter-spacing": `${LETTER_SPACING.normal}`,
687
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
688
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
689
+ "text-case": `${TEXT_CASE.none}`,
690
+ "text-decoration": `${TEXT_DECORATION.none}`
691
+ },
692
+ ["Medium" /* Medium */]: {
693
+ "font-family": `${fontFamilies.main}`,
694
+ "font-weight": `${FONT_WEIGHTS.main.Medium}`,
695
+ "line-height": `${LINE_HEIGHTS.sm}`,
696
+ "font-size": `${FONT_SIZE.sm}`,
697
+ "letter-spacing": `${LETTER_SPACING.normal}`,
698
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
699
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
700
+ "text-case": `${TEXT_CASE.none}`,
701
+ "text-decoration": `${TEXT_DECORATION.none}`
702
+ },
703
+ ["Small" /* Small */]: {
704
+ "font-family": `${fontFamilies.main}`,
705
+ "font-weight": `${FONT_WEIGHTS.main.Medium}`,
706
+ "line-height": `${LINE_HEIGHTS.sm}`,
707
+ "font-size": `${FONT_SIZE.xs}`,
708
+ "letter-spacing": `${LETTER_SPACING.normal}`,
709
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
710
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
711
+ "text-case": `${TEXT_CASE.none}`,
712
+ "text-decoration": `${TEXT_DECORATION.none}`
713
+ }
714
+ },
715
+ Label: {
716
+ ["Large" /* Large */]: {
717
+ "font-family": `${fontFamilies.main}`,
718
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
719
+ "line-height": `${LINE_HEIGHTS.xs}`,
720
+ "font-size": `${FONT_SIZE.sm}`,
721
+ "letter-spacing": `${LETTER_SPACING.normal}`,
722
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
723
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
724
+ "text-case": `${TEXT_CASE.none}`,
725
+ "text-decoration": `${TEXT_DECORATION.none}`
726
+ },
727
+ ["Medium" /* Medium */]: {
728
+ "font-family": `${fontFamilies.main}`,
729
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
730
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
731
+ "font-size": `${FONT_SIZE.xs}`,
732
+ "letter-spacing": `${LETTER_SPACING.normal}`,
733
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
734
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
735
+ "text-case": `${TEXT_CASE.none}`,
736
+ "text-decoration": `${TEXT_DECORATION.none}`
737
+ },
738
+ ["Small" /* Small */]: {
739
+ "font-family": `${fontFamilies.main}`,
740
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
741
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
742
+ "font-size": `${FONT_SIZE["2xs"]}`,
743
+ "letter-spacing": `${LETTER_SPACING.normal}`,
744
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
745
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
746
+ "text-case": `${TEXT_CASE.none}`,
747
+ "text-decoration": `${TEXT_DECORATION.none}`
748
+ }
749
+ },
750
+ "Label Strong": {
751
+ ["Large" /* Large */]: {
752
+ "font-family": `${fontFamilies.main}`,
753
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
754
+ "line-height": `${LINE_HEIGHTS.xs}`,
755
+ "font-size": `${FONT_SIZE.sm}`,
756
+ "letter-spacing": `${LETTER_SPACING.normal}`,
757
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
758
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
759
+ "text-case": `${TEXT_CASE.none}`,
760
+ "text-decoration": `${TEXT_DECORATION.none}`
761
+ },
762
+ ["Medium" /* Medium */]: {
763
+ "font-family": `${fontFamilies.main}`,
764
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
765
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
766
+ "font-size": `${FONT_SIZE.xs}`,
767
+ "letter-spacing": `${LETTER_SPACING.normal}`,
768
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
769
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
770
+ "text-case": `${TEXT_CASE.none}`,
771
+ "text-decoration": `${TEXT_DECORATION.none}`
772
+ },
773
+ ["Small" /* Small */]: {
774
+ "font-family": `${fontFamilies.main}`,
775
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
776
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
777
+ "font-size": `${FONT_SIZE["2xs"]}`,
778
+ "letter-spacing": `${LETTER_SPACING.normal}`,
779
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
780
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
781
+ "text-case": `${TEXT_CASE.none}`,
782
+ "text-decoration": `${TEXT_DECORATION.none}`
783
+ }
784
+ },
785
+ Overline: {
786
+ ["Large" /* Large */]: {
787
+ "font-family": `${fontFamilies.code}`,
788
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
789
+ "line-height": `${LINE_HEIGHTS.sm}`,
790
+ "font-size": `${FONT_SIZE.md}`,
791
+ "letter-spacing": `${LETTER_SPACING.loose}`,
792
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
793
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
794
+ "text-case": `${TEXT_CASE.uppercase}`,
795
+ "text-decoration": `${TEXT_DECORATION.none}`
796
+ },
797
+ ["Medium" /* Medium */]: {
798
+ "font-family": `${fontFamilies.code}`,
799
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
800
+ "line-height": `${LINE_HEIGHTS.xs}`,
801
+ "font-size": `${FONT_SIZE.sm}`,
802
+ "letter-spacing": `${LETTER_SPACING.loose}`,
803
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
804
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
805
+ "text-case": `${TEXT_CASE.uppercase}`,
806
+ "text-decoration": `${TEXT_DECORATION.none}`
807
+ },
808
+ ["Small" /* Small */]: {
809
+ "font-family": `${fontFamilies.code}`,
810
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
811
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
812
+ "font-size": `${FONT_SIZE.xs}`,
813
+ "letter-spacing": `${LETTER_SPACING.loose}`,
814
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
815
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
816
+ "text-case": `${TEXT_CASE.uppercase}`,
817
+ "text-decoration": `${TEXT_DECORATION.none}`
818
+ }
819
+ },
820
+ Code: {
821
+ ["Large" /* Large */]: {
822
+ "font-family": `${fontFamilies.code}`,
823
+ "font-weight": `${FONT_WEIGHTS.code.Regular}`,
824
+ "line-height": `${LINE_HEIGHTS.sm}`,
825
+ "font-size": `${FONT_SIZE.md}`,
826
+ "letter-spacing": `${LETTER_SPACING.normal}`,
827
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
828
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
829
+ "text-case": `${TEXT_CASE.none}`,
830
+ "text-decoration": `${TEXT_DECORATION.none}`
831
+ },
832
+ ["Medium" /* Medium */]: {
833
+ "font-family": `${fontFamilies.code}`,
834
+ "font-weight": `${FONT_WEIGHTS.code.Regular}`,
835
+ "line-height": `${LINE_HEIGHTS.sm}`,
836
+ "font-size": `${FONT_SIZE.sm}`,
837
+ "letter-spacing": `${LETTER_SPACING.normal}`,
838
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
839
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
840
+ "text-case": `${TEXT_CASE.none}`,
841
+ "text-decoration": `${TEXT_DECORATION.none}`
842
+ },
843
+ ["Small" /* Small */]: {
844
+ "font-family": `${fontFamilies.code}`,
845
+ "font-weight": `${FONT_WEIGHTS.code.Regular}`,
846
+ "line-height": `${LINE_HEIGHTS.xs}`,
847
+ "font-size": `${FONT_SIZE.xs}`,
848
+ "letter-spacing": `${LETTER_SPACING.normal}`,
849
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
850
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
851
+ "text-case": `${TEXT_CASE.none}`,
852
+ "text-decoration": `${TEXT_DECORATION.none}`
853
+ }
854
+ },
855
+ "Code Strong": {
856
+ ["Large" /* Large */]: {
857
+ "font-family": `${fontFamilies.code}`,
858
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
859
+ "line-height": `${LINE_HEIGHTS.sm}`,
860
+ "font-size": `${FONT_SIZE.md}`,
861
+ "letter-spacing": `${LETTER_SPACING.normal}`,
862
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
863
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
864
+ "text-case": `${TEXT_CASE.none}`,
865
+ "text-decoration": `${TEXT_DECORATION.none}`
866
+ },
867
+ ["Medium" /* Medium */]: {
868
+ "font-family": `${fontFamilies.code}`,
869
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
870
+ "line-height": `${LINE_HEIGHTS.sm}`,
871
+ "font-size": `${FONT_SIZE.sm}`,
872
+ "letter-spacing": `${LETTER_SPACING.normal}`,
873
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
874
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
875
+ "text-case": `${TEXT_CASE.none}`,
876
+ "text-decoration": `${TEXT_DECORATION.none}`
877
+ },
878
+ ["Small" /* Small */]: {
879
+ "font-family": `${fontFamilies.code}`,
880
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
881
+ "line-height": `${LINE_HEIGHTS.sm}`,
882
+ "font-size": `${FONT_SIZE.xs}`,
883
+ "letter-spacing": `${LETTER_SPACING.normal}`,
884
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
885
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
886
+ "text-case": `${TEXT_CASE.none}`,
887
+ "text-decoration": `${TEXT_DECORATION.none}`
888
+ }
889
+ }
890
+ }
891
+ };
892
+ };
893
+
894
+ // src/styles/colors.tsx
895
+ var neutral = {
896
+ black: "#000000",
897
+ gray5: "#0D0D0D",
898
+ gray10: "#1A1A1A",
899
+ gray15: "#262626",
900
+ gray20: "#333333",
901
+ gray25: "#404040",
902
+ gray30: "#4D4D4D",
903
+ gray40: "#666666",
904
+ gray50: "#808080",
905
+ gray60: "#999999",
906
+ gray70: "#B3B3B3",
907
+ gray80: "#CCCCCC",
908
+ gray85: "#D9D9D9",
909
+ gray90: "#E6E6E6",
910
+ gray95: "#F2F2F2",
911
+ white: "#FFFFFF"
912
+ };
913
+ var uma = {
914
+ background: "#F9F9F9",
915
+ black: "#16171A",
916
+ blue: "#0068C9",
917
+ blue50: "#C0C9D6",
918
+ blue80: "#DCE2EA",
919
+ blue90: "#EBEEF2",
920
+ blue95: "#F2F5F7",
921
+ grey300: "#DEDFE4",
922
+ secondary: "#686A72",
923
+ stroke: "#C0C9D6",
924
+ strokeProminent: "#9BA7B9",
925
+ fill: "#EBEEF2"
926
+ };
927
+ var darkGradient = "#1d1d1d linear-gradient(180deg, #090909 63.08%, #1d1d1d 100.52%)";
928
+ var primary = "#FFF14E";
929
+ var colors = __spreadProps(__spreadValues({}, neutral), {
930
+ uma,
931
+ // green
932
+ success: "#17C27C",
933
+ // blue
934
+ blue43: "#145BC6",
935
+ blue22: "#0E2E60",
936
+ blue58: "#28BFFF",
937
+ blue95: "#EBEEF2",
938
+ // yellow
939
+ primary,
940
+ warning: primary,
941
+ // orange
942
+ danger: "#FD2C0F",
943
+ // neutral
944
+ secondary: neutral.black,
945
+ // billing
946
+ tier1: "#179257",
947
+ tier2: "#8B38DE",
948
+ tier3: "#0048F7"
949
+ });
950
+ function extend(obj, rest) {
951
+ return __spreadValues(__spreadValues({}, obj), rest);
952
+ }
953
+ function extendBase(obj, rest) {
954
+ return __spreadValues(__spreadValues({}, obj), rest);
955
+ }
956
+ function hcNeutralFromBg(bgHex, defaultHex, altHex) {
957
+ const bgRGB = hexToRGB(bgHex);
958
+ const hcRGB = hexToRGB(defaultHex);
959
+ if (!bgRGB || !hcRGB)
960
+ return defaultHex;
961
+ const c = contrast(bgRGB, hcRGB);
962
+ if (c < 4.5) {
963
+ return altHex;
964
+ }
965
+ return defaultHex;
966
+ }
967
+ var lightBaseTheme = {
968
+ type: "light" /* Light */,
969
+ app: "Lightspark" /* Lightspark */,
970
+ bg: colors.white,
971
+ smBg: colors.white,
972
+ c05Neutral: neutral.gray95,
973
+ c1Neutral: neutral.gray90,
974
+ c15Neutral: neutral.gray85,
975
+ c2Neutral: neutral.gray80,
976
+ c3Neutral: neutral.gray70,
977
+ c4Neutral: neutral.gray60,
978
+ c5Neutral: neutral.gray50,
979
+ c6Neutral: neutral.gray40,
980
+ c7Neutral: neutral.gray30,
981
+ c8Neutral: neutral.gray20,
982
+ c9Neutral: neutral.gray10,
983
+ danger: colors.danger,
984
+ hcNeutral: colors.black,
985
+ hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
986
+ info: colors.blue43,
987
+ lcNeutral: neutral.gray80,
988
+ link: colors.blue43,
989
+ mcNeutral: neutral.gray40,
990
+ onInfoText: colors.white,
991
+ onPrimaryText: colors.black,
992
+ onSuccessText: colors.white,
993
+ primary: colors.primary,
994
+ secondary: colors.secondary,
995
+ success: colors.success,
996
+ text: colors.black,
997
+ typography: getTypography(),
998
+ vlcNeutral: neutral.gray95,
999
+ warning: colors.warning
1000
+ };
1001
+ var darkBaseTheme = {
1002
+ type: "dark" /* Dark */,
1003
+ app: "Lightspark" /* Lightspark */,
1004
+ bg: colors.black,
1005
+ smBg: colors.black,
1006
+ c05Neutral: neutral.gray5,
1007
+ c1Neutral: neutral.gray10,
1008
+ c15Neutral: neutral.gray15,
1009
+ c2Neutral: neutral.gray20,
1010
+ c3Neutral: neutral.gray30,
1011
+ c4Neutral: neutral.gray40,
1012
+ c5Neutral: neutral.gray50,
1013
+ c6Neutral: neutral.gray60,
1014
+ c7Neutral: neutral.gray70,
1015
+ c8Neutral: neutral.gray80,
1016
+ c9Neutral: neutral.gray90,
1017
+ danger: colors.danger,
1018
+ hcNeutral: colors.white,
1019
+ hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.white, colors.black),
1020
+ info: colors.white,
1021
+ lcNeutral: neutral.gray40,
1022
+ link: colors.blue43,
1023
+ mcNeutral: neutral.gray60,
1024
+ onInfoText: colors.white,
1025
+ onPrimaryText: colors.black,
1026
+ onSuccessText: colors.white,
1027
+ primary: colors.primary,
1028
+ secondary: colors.secondary,
1029
+ success: colors.success,
1030
+ text: colors.white,
1031
+ typography: getTypography(),
1032
+ vlcNeutral: neutral.gray20,
1033
+ warning: colors.warning
1034
+ };
1035
+ var lightTheme = extend(lightBaseTheme, {
1036
+ header: extendBase(lightBaseTheme, {
1037
+ text: colors.gray60
1038
+ }),
1039
+ nav: extendBase(lightBaseTheme, {
1040
+ text: colors.gray10,
1041
+ secondary: colors.secondary
1042
+ }),
1043
+ content: extendBase(lightBaseTheme, {
1044
+ bg: colors.white,
1045
+ smBg: colors.white
1046
+ }),
1047
+ controls: extendBase(lightBaseTheme, {
1048
+ bg: neutral.gray95,
1049
+ smBg: neutral.gray95,
1050
+ text: neutral.gray60,
1051
+ secondary: colors.secondary
1052
+ })
1053
+ });
1054
+ var darkTheme = extend(darkBaseTheme, {
1055
+ header: extendBase(darkBaseTheme, {}),
1056
+ nav: extendBase(darkBaseTheme, {}),
1057
+ content: extendBase(darkBaseTheme, {}),
1058
+ controls: extendBase(darkBaseTheme, {
1059
+ bg: neutral.gray40,
1060
+ smBg: neutral.gray40,
1061
+ text: neutral.white,
1062
+ secondary: colors.secondary
1063
+ })
1064
+ });
1065
+ var umaLightTheme = extend(lightTheme, {
1066
+ app: "UmaDocs" /* UmaDocs */,
1067
+ bg: uma.background,
1068
+ smBg: uma.background,
1069
+ secondary: uma.secondary,
1070
+ text: uma.black,
1071
+ link: uma.blue,
1072
+ content: extendBase(lightBaseTheme, {
1073
+ bg: uma.background,
1074
+ smBg: uma.background,
1075
+ text: uma.black,
1076
+ secondary: uma.secondary
1077
+ }),
1078
+ controls: extendBase(lightBaseTheme, {
1079
+ text: uma.black,
1080
+ secondary: uma.secondary,
1081
+ bg: uma.blue90
1082
+ })
1083
+ });
1084
+ function luminance(r, g, b) {
1085
+ const a = [r, g, b].map(function(v) {
1086
+ v /= 255;
1087
+ return v <= 0.03928 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4);
1088
+ });
1089
+ return a[0] * 0.2126 + a[1] * 0.7152 + a[2] * 0.0722;
1090
+ }
1091
+ function contrast(rgb1, rgb2) {
1092
+ const lum1 = luminance(rgb1[0], rgb1[1], rgb1[2]);
1093
+ const lum2 = luminance(rgb2[0], rgb2[1], rgb2[2]);
1094
+ const brightest = Math.max(lum1, lum2);
1095
+ const darkest = Math.min(lum1, lum2);
1096
+ return (brightest + 0.05) / (darkest + 0.05);
1097
+ }
1098
+ function hexToRGB(hex) {
1099
+ const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
1100
+ return result ? [
1101
+ parseInt(result[1], 16),
1102
+ parseInt(result[2], 16),
1103
+ parseInt(result[3], 16)
1104
+ ] : [0, 0, 0];
1105
+ }
1106
+
1107
+ // src/styles/z-index.tsx
1108
+ var z = {
1109
+ card: 1,
1110
+ fieldError: 1,
1111
+ textInput: 2,
1112
+ select: 3,
1113
+ selectFocused: 4,
1114
+ walletActionPreviewTopGradient: 1,
1115
+ headerContainer: 99,
1116
+ smBanner: 99,
1117
+ headerTop: 100,
1118
+ navMenu: 100,
1119
+ smNavMenu: 100,
1120
+ navAction: 101,
1121
+ smNavAction: 100,
1122
+ // keep under navDropdown
1123
+ tooltip: 160,
1124
+ notificationBanner: 170,
1125
+ qrReaderVideo: 180,
1126
+ qrReaderOverlay: 181,
1127
+ modalOverlay: 190,
1128
+ modalContainer: 191,
1129
+ dropdown: 192,
1130
+ toast: 200
1131
+ };
1132
+
1133
+ // src/styles/common.tsx
1134
+ var rootFontSizePx = 12;
1135
+ var rootFontSizeRems = rootFontSizePx / 16;
1136
+ var standardContentInsetPx = 32;
1137
+ var standardContentInsetMdPx = 24;
1138
+ var standardContentInsetSmPx = 16;
1139
+ var smContentInset = import_react4.css`
1140
+ ${bp.sm(`
1141
+ margin-left: auto;
1142
+ margin-right: auto;
1143
+ width: calc(100% - ${standardContentInsetSmPx * 2}px);
1144
+ `)}
1145
+ `;
1146
+ var minSmMaxLgContentInset = import_react4.css`
1147
+ ${bp.minSmMaxLg(`
1148
+ width: calc(100% - ${standardContentInsetMdPx * 2}px);
1149
+ `)}
1150
+ `;
1151
+ var standardContentInset = import_react4.css`
1152
+ margin-left: auto;
1153
+ margin-right: auto;
1154
+ width: calc(100% - ${standardContentInsetPx * 2}px);
1155
+ max-width: 1280px;
1156
+
1157
+ ${smContentInset}
1158
+ ${minSmMaxLgContentInset}
1159
+ `;
1160
+ var standardCardShadow = import_react4.css`
1161
+ box-shadow:
1162
+ 0px 4px 10px 0px rgba(0, 0, 0, 0.08),
1163
+ 0px 8px 24px 0px rgba(0, 0, 0, 0.04);
1164
+ `;
1165
+ var pageBorderRadiusPx = 16;
1166
+ var pageBorderRadius = `
1167
+ border-radius: ${pageBorderRadiusPx}px;
1168
+ `;
1169
+ var subtext = ({ theme }) => import_react4.css`
1170
+ color: ${theme.c6Neutral};
1171
+ font-weight: 600;
1172
+ `;
1173
+ var Subtext = import_styled.default.div`
1174
+ ${subtext}
1175
+ `;
1176
+ var darkGradientBg = import_react4.css`
1177
+ background: ${darkGradient};
1178
+ `;
1179
+ var StyledTooltip = (0, import_styled.default)(import_react_tooltip.Tooltip)`
1180
+ z-index: ${z.modalOverlay};
1181
+ `;
1182
+
1183
+ // src/utils/strings.tsx
1184
+ function isString(str) {
1185
+ return typeof str === "string";
1186
+ }
1187
+
1188
+ // src/components/Icon.tsx
1189
+ var import_jsx_runtime2 = require("@emotion/react/jsx-runtime");
1190
+ var iconMap = {};
1191
+ function loadIcon(iconName) {
1192
+ return __async(this, null, function* () {
1193
+ let IconComp;
1194
+ try {
1195
+ ({ default: IconComp } = yield import(
1196
+ /* webpackMode: "eager" */
1197
+ // this can't be a variable only, needs to have some string constraints:
1198
+ `./icons/${iconName}.js`
1199
+ ));
1200
+ } catch (e) {
1201
+ throw new Error(`Icon ${iconName} not found`);
1202
+ }
1203
+ iconMap[iconName] = IconComp;
1204
+ });
1205
+ }
1206
+ function Icon({
1207
+ className,
1208
+ name,
1209
+ width,
1210
+ tutorialStep,
1211
+ mr = 0,
1212
+ ml = 0,
1213
+ verticalAlign = "middle",
1214
+ color = void 0
1215
+ }) {
1216
+ const [, setLoading] = (0, import_react5.useState)(false);
1217
+ const IconComponent = iconMap[name] || null;
1218
+ (0, import_react5.useLayoutEffect)(() => {
1219
+ void (() => __async(this, null, function* () {
1220
+ if (!iconMap[name]) {
1221
+ setLoading(true);
1222
+ yield loadIcon(name);
1223
+ setLoading(false);
1224
+ }
1225
+ }))();
1226
+ }, [name]);
1227
+ const w = parseFloat((width / rootFontSizePx).toFixed(2));
1228
+ const mrRems = parseFloat((mr / rootFontSizePx).toFixed(2));
1229
+ const mlRems = parseFloat((ml / rootFontSizePx).toFixed(2));
1230
+ const va = typeof verticalAlign === "string" ? verticalAlign : parseFloat((verticalAlign / rootFontSizePx).toFixed(2));
1231
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
1232
+ IconContainer,
1233
+ {
1234
+ className,
1235
+ w,
1236
+ mr: mrRems,
1237
+ ml: mlRems,
1238
+ verticalAlign: va,
1239
+ fontColor: color,
1240
+ "data-tutorial-tip": tutorialStep == null ? void 0 : tutorialStep.toString(),
1241
+ children: IconComponent ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(IconComponent, {}) : null
1242
+ }
1243
+ );
1244
+ }
1245
+ var IconContainer = import_styled2.default.span`
1246
+ pointer-events: none;
1247
+ display: inline-flex;
1248
+ ${({ mr, ml, w }) => `
1249
+ width: ${w}em;
1250
+ /* ensure no shrink in flex containers: */
1251
+ min-width: ${w}em;
1252
+ ${mr ? `margin-right: ${mr}em;` : ""}
1253
+ ${ml ? `margin-left: ${ml}em;` : ""}
1254
+ `}
1255
+
1256
+ vertical-align: ${({ verticalAlign }) => isString(verticalAlign) ? verticalAlign : `${verticalAlign}em`};
1257
+
1258
+ ${({ fontColor }) => `
1259
+ & svg {
1260
+ color: ${fontColor || "inherit"};
1261
+ }
1262
+ `}
1263
+ `;
1264
+
1265
+ // src/components/Loading.tsx
1266
+ var import_jsx_runtime3 = require("@emotion/react/jsx-runtime");
1267
+ var defaultProps = {
1268
+ size: 60,
1269
+ center: true,
1270
+ ml: 0
1271
+ };
1272
+ function Loading({
1273
+ center = defaultProps.center,
1274
+ size = defaultProps.size,
1275
+ ml = defaultProps.ml
1276
+ }) {
1277
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(LoadingWrapper, { center, ml, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Rotate, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon, { name: "LoadingSpinner", width: size }) }) });
1278
+ }
1279
+ Loading.defaultProps = defaultProps;
1280
+ var LoadingWrapper = import_styled3.default.div`
1281
+ flex-grow: 1;
1282
+ display: flex;
1283
+ align-items: center;
1284
+ justify-content: center;
1285
+ text-align: center;
1286
+ width: 100%;
1287
+ margin-left: ${({ ml }) => ml}px;
1288
+
1289
+ ${({ center }) => center && `
1290
+ position: absolute;
1291
+ height: 100%;
1292
+ width: 100%;
1293
+ top: 0;
1294
+ bottom: 0;
1295
+ left: 0;
1296
+ right: 0;
1297
+ margin: 0 !important;
1298
+ `}
1299
+ `;
1300
+ var Rotate = import_styled3.default.div`
1301
+ display: inline-flex;
1302
+ animation: rotate 0.5s linear infinite;
1303
+
1304
+ @keyframes rotate {
1305
+ 0% {
1306
+ transform: rotate(0deg);
1307
+ }
1308
+ 100% {
1309
+ transform: rotate(360deg);
1310
+ }
1311
+ }
1312
+ `;
1313
+ // Annotate the CommonJS export names for ESM import in node:
1314
+ 0 && (module.exports = {
1315
+ Loading,
1316
+ LoadingWrapper
1317
+ });