@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,1759 @@
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/ButtonRow.tsx
68
+ var ButtonRow_exports = {};
69
+ __export(ButtonRow_exports, {
70
+ ButtonRow: () => ButtonRow,
71
+ ButtonRowContainer: () => ButtonRowContainer
72
+ });
73
+ module.exports = __toCommonJS(ButtonRow_exports);
74
+ var import_styled6 = __toESM(require("@emotion/styled"), 1);
75
+
76
+ // src/styles/breakpoints.tsx
77
+ var import_react = require("@emotion/react");
78
+ var import_lodash_es = require("lodash-es");
79
+ var import_react2 = require("react");
80
+ var import_jsx_runtime = require("@emotion/react/jsx-runtime");
81
+ var Breakpoints = /* @__PURE__ */ ((Breakpoints2) => {
82
+ Breakpoints2["sm"] = "sm";
83
+ Breakpoints2["md"] = "md";
84
+ Breakpoints2["lg"] = "lg";
85
+ return Breakpoints2;
86
+ })(Breakpoints || {});
87
+ var breakpoints = {
88
+ ["sm" /* sm */]: 640,
89
+ ["md" /* md */]: 834,
90
+ ["lg" /* lg */]: 1200
91
+ };
92
+ var breakpointFn = (mq) => (style) => `@media ${mq} { ${style} }`;
93
+ var bp = {
94
+ key: Breakpoints,
95
+ ["sm" /* sm */]: breakpointFn(`(max-width:${breakpoints.sm}px)`),
96
+ ["lg" /* lg */]: breakpointFn(`(min-width:${breakpoints.lg}px)`),
97
+ ["minSmMaxLg" /* minSmMaxLg */]: breakpointFn(
98
+ `(min-width:${breakpoints.sm + 1}px) and (max-width:${breakpoints.lg - 1}px)`
99
+ ),
100
+ ["minSmMaxMd" /* minSmMaxMd */]: breakpointFn(
101
+ `(min-width:${breakpoints.sm + 1}px) and (max-width:${breakpoints.md - 1}px)`
102
+ ),
103
+ ["minMdMaxLg" /* minMdMaxLg */]: breakpointFn(
104
+ `(min-width:${breakpoints.md}px) and (max-width:${breakpoints.lg - 1}px)`
105
+ ),
106
+ ["maxLg" /* maxLg */]: breakpointFn(`(max-width:${breakpoints.lg - 1}px)`),
107
+ ["maxMd" /* maxMd */]: breakpointFn(`(max-width:${breakpoints.md - 1}px)`),
108
+ ["minSm" /* minSm */]: breakpointFn(`(min-width:${breakpoints.sm + 1}px)`),
109
+ ["minMd" /* minMd */]: breakpointFn(`(min-width:${breakpoints.md + 1}px)`),
110
+ current: function(assertBp) {
111
+ const currentBp = (
112
+ /* window is undefined in first server side render for Next apps: */
113
+ typeof window === "undefined" ? "sm" /* sm */ : window.getComputedStyle(document.body, ":before").content.replace(/"/g, "")
114
+ );
115
+ if (assertBp) {
116
+ return inRange(
117
+ currentBp,
118
+ assertBp
119
+ );
120
+ }
121
+ return currentBp;
122
+ },
123
+ switch: (smVal, minSmMaxMdVal, minMdMaxLgVal, lgVal) => {
124
+ const currentBp = bp.current();
125
+ if (currentBp === "sm" /* sm */) {
126
+ return smVal;
127
+ } else if (currentBp === "minSmMaxMd" /* minSmMaxMd */) {
128
+ return minSmMaxMdVal;
129
+ } else if (currentBp === "minMdMaxLg" /* minMdMaxLg */) {
130
+ return minMdMaxLgVal;
131
+ }
132
+ return lgVal;
133
+ },
134
+ isSm: () => bp.current("sm" /* sm */),
135
+ isMinSm: () => bp.current("minSm" /* minSm */),
136
+ isMinSmMaxMd: () => bp.current("minSmMaxMd" /* minSmMaxMd */),
137
+ isMinMdMaxLg: () => bp.current("minMdMaxLg" /* minMdMaxLg */),
138
+ isLg: () => bp.current("lg" /* lg */)
139
+ };
140
+ function inRange(currentBp, assertBp) {
141
+ const isSm = currentBp === "sm" /* sm */;
142
+ const isMinSmMaxMd = currentBp === "minSmMaxMd" /* minSmMaxMd */;
143
+ const isMinMdMaxLg = currentBp === "minMdMaxLg" /* minMdMaxLg */;
144
+ const isLg = currentBp === "lg" /* lg */;
145
+ if (assertBp) {
146
+ switch (assertBp) {
147
+ case "sm" /* sm */:
148
+ return isSm;
149
+ case "minSmMaxMd" /* minSmMaxMd */:
150
+ return isMinSmMaxMd;
151
+ case "minMdMaxLg" /* minMdMaxLg */:
152
+ return isMinMdMaxLg;
153
+ case "lg" /* lg */:
154
+ return isLg;
155
+ case "minSmMaxLg" /* minSmMaxLg */:
156
+ return isMinSmMaxMd || isMinMdMaxLg;
157
+ case "maxLg" /* maxLg */:
158
+ return isSm || isMinSmMaxMd || isMinMdMaxLg;
159
+ case "maxMd" /* maxMd */:
160
+ return isSm || isMinSmMaxMd;
161
+ case "minSm" /* minSm */:
162
+ return isMinSmMaxMd || isMinMdMaxLg || isLg;
163
+ case "minMd" /* minMd */:
164
+ return isMinMdMaxLg || isLg;
165
+ default:
166
+ return false;
167
+ }
168
+ }
169
+ return false;
170
+ }
171
+
172
+ // src/styles/common.tsx
173
+ var import_react4 = require("@emotion/react");
174
+ var import_styled = __toESM(require("@emotion/styled"), 1);
175
+ var import_react_tooltip = require("react-tooltip");
176
+
177
+ // src/styles/colors.tsx
178
+ var import_react3 = require("@emotion/react");
179
+
180
+ // src/styles/fonts/typographyTokens.ts
181
+ var FONT_FAMILIES = {
182
+ main: "Montserrat",
183
+ code: "Monaco"
184
+ };
185
+ var LINE_HEIGHTS = {
186
+ "5xl": "72px",
187
+ "4xl": "60px",
188
+ "3xl": "44px",
189
+ "2xl": "40px",
190
+ xl: "36px",
191
+ lg: "32px",
192
+ md: "28px",
193
+ sm: "24px",
194
+ xs: "20px",
195
+ "2xs": "16px"
196
+ };
197
+ var FONT_WEIGHTS = {
198
+ main: {
199
+ Bold: 700,
200
+ SemiBold: 600,
201
+ Medium: 500
202
+ },
203
+ code: {
204
+ Bold: 700,
205
+ Regular: 400
206
+ }
207
+ };
208
+ var FONT_SIZE = {
209
+ "2xs": "11px",
210
+ xs: "12px",
211
+ sm: "14px",
212
+ md: "16px",
213
+ lg: "20px",
214
+ xl: "24px",
215
+ "2xl": "28px",
216
+ "3xl": "32px",
217
+ "4xl": "36px",
218
+ "5xl": "48px",
219
+ "6xl": "64px"
220
+ };
221
+ var LETTER_SPACING = {
222
+ tight: "-.02em",
223
+ normal: "0",
224
+ loose: ".1em"
225
+ };
226
+ var TEXT_CASE = {
227
+ none: "none",
228
+ uppercase: "uppercase"
229
+ };
230
+ var TEXT_DECORATION = {
231
+ none: "none"
232
+ };
233
+ var PARAGRAPH_INDENT = {
234
+ 0: "0px"
235
+ };
236
+ var PARAGRAPH_SPACING = {
237
+ default: "default",
238
+ 16: "16px",
239
+ 40: "40px"
240
+ };
241
+ var getTypography = (customFontFamilies) => {
242
+ const fontFamilies = customFontFamilies != null ? customFontFamilies : FONT_FAMILIES;
243
+ return {
244
+ fontFamilies,
245
+ lineHeights: LINE_HEIGHTS,
246
+ fontWeights: FONT_WEIGHTS,
247
+ fontSize: FONT_SIZE,
248
+ letterSpacing: LETTER_SPACING,
249
+ textCase: TEXT_CASE,
250
+ textDecoration: TEXT_DECORATION,
251
+ paragraphIndent: PARAGRAPH_INDENT,
252
+ paragraphSpacing: PARAGRAPH_SPACING,
253
+ ["Lightspark" /* Lightspark */]: {
254
+ Display: {
255
+ ["Large" /* Large */]: {
256
+ "font-family": `${fontFamilies.main}`,
257
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
258
+ "line-height": `${LINE_HEIGHTS["5xl"]}`,
259
+ "font-size": `${FONT_SIZE["6xl"]}`,
260
+ "letter-spacing": `${LETTER_SPACING.tight}`,
261
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
262
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
263
+ "text-case": `${TEXT_CASE.none}`,
264
+ "text-decoration": `${TEXT_DECORATION.none}`
265
+ },
266
+ ["Medium" /* Medium */]: {
267
+ "font-family": `${fontFamilies.main}`,
268
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
269
+ "line-height": `${LINE_HEIGHTS["4xl"]}`,
270
+ "font-size": `${FONT_SIZE["5xl"]}`,
271
+ "letter-spacing": `${LETTER_SPACING.tight}`,
272
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
273
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
274
+ "text-case": `${TEXT_CASE.none}`,
275
+ "text-decoration": `${TEXT_DECORATION.none}`
276
+ },
277
+ ["Small" /* Small */]: {
278
+ "font-family": `${fontFamilies.main}`,
279
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
280
+ "line-height": `${LINE_HEIGHTS["3xl"]}`,
281
+ "font-size": `${FONT_SIZE["4xl"]}`,
282
+ "letter-spacing": `${LETTER_SPACING.tight}`,
283
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
284
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
285
+ "text-case": `${TEXT_CASE.none}`,
286
+ "text-decoration": `${TEXT_DECORATION.none}`
287
+ }
288
+ },
289
+ Headline: {
290
+ ["Large" /* Large */]: {
291
+ "font-family": `${fontFamilies.main}`,
292
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
293
+ "line-height": `${LINE_HEIGHTS["2xl"]}`,
294
+ "font-size": `${FONT_SIZE["3xl"]}`,
295
+ "letter-spacing": `${LETTER_SPACING.tight}`,
296
+ "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
297
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
298
+ "text-case": `${TEXT_CASE.none}`,
299
+ "text-decoration": `${TEXT_DECORATION.none}`
300
+ },
301
+ ["Medium" /* Medium */]: {
302
+ "font-family": `${fontFamilies.main}`,
303
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
304
+ "line-height": `${LINE_HEIGHTS.xl}`,
305
+ "font-size": `${FONT_SIZE["2xl"]}`,
306
+ "letter-spacing": `${LETTER_SPACING.tight}`,
307
+ "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
308
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
309
+ "text-case": `${TEXT_CASE.none}`,
310
+ "text-decoration": `${TEXT_DECORATION.none}`
311
+ },
312
+ ["Small" /* Small */]: {
313
+ "font-family": `${fontFamilies.main}`,
314
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
315
+ "line-height": `${LINE_HEIGHTS.lg}`,
316
+ "font-size": `${FONT_SIZE.xl}`,
317
+ "letter-spacing": `${LETTER_SPACING.tight}`,
318
+ "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
319
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
320
+ "text-case": `${TEXT_CASE.none}`,
321
+ "text-decoration": `${TEXT_DECORATION.none}`
322
+ }
323
+ },
324
+ Title: {
325
+ ["Large" /* Large */]: {
326
+ "font-family": `${fontFamilies.main}`,
327
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
328
+ "line-height": `${LINE_HEIGHTS.md}`,
329
+ "font-size": `${FONT_SIZE.lg}`,
330
+ "letter-spacing": `${LETTER_SPACING.normal}`,
331
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
332
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
333
+ "text-case": `${TEXT_CASE.none}`,
334
+ "text-decoration": `${TEXT_DECORATION.none}`
335
+ },
336
+ ["Medium" /* Medium */]: {
337
+ "font-family": `${fontFamilies.main}`,
338
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
339
+ "line-height": `${LINE_HEIGHTS.sm}`,
340
+ "font-size": `${FONT_SIZE.md}`,
341
+ "letter-spacing": `${LETTER_SPACING.normal}`,
342
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
343
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
344
+ "text-case": `${TEXT_CASE.none}`,
345
+ "text-decoration": `${TEXT_DECORATION.none}`
346
+ },
347
+ ["Small" /* Small */]: {
348
+ "font-family": `${fontFamilies.main}`,
349
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
350
+ "line-height": `${LINE_HEIGHTS.xs}`,
351
+ "font-size": `${FONT_SIZE.sm}`,
352
+ "letter-spacing": `${LETTER_SPACING.normal}`,
353
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
354
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
355
+ "text-case": `${TEXT_CASE.none}`,
356
+ "text-decoration": `${TEXT_DECORATION.none}`
357
+ }
358
+ },
359
+ Body: {
360
+ ["Large" /* Large */]: {
361
+ "font-family": `${fontFamilies.main}`,
362
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
363
+ "line-height": `${LINE_HEIGHTS.sm}`,
364
+ "font-size": `${FONT_SIZE.md}`,
365
+ "letter-spacing": `${LETTER_SPACING.normal}`,
366
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
367
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
368
+ "text-case": `${TEXT_CASE.none}`,
369
+ "text-decoration": `${TEXT_DECORATION.none}`
370
+ },
371
+ ["Medium" /* Medium */]: {
372
+ "font-family": `${fontFamilies.main}`,
373
+ "font-weight": `${FONT_WEIGHTS.main.Medium}`,
374
+ "line-height": `${LINE_HEIGHTS.sm}`,
375
+ "font-size": `${FONT_SIZE.sm}`,
376
+ "letter-spacing": `${LETTER_SPACING.normal}`,
377
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
378
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
379
+ "text-case": `${TEXT_CASE.none}`,
380
+ "text-decoration": `${TEXT_DECORATION.none}`
381
+ },
382
+ ["Small" /* Small */]: {
383
+ "font-family": `${fontFamilies.main}`,
384
+ "font-weight": `${FONT_WEIGHTS.main.Medium}`,
385
+ "line-height": `${LINE_HEIGHTS.sm}`,
386
+ "font-size": `${FONT_SIZE.xs}`,
387
+ "letter-spacing": `${LETTER_SPACING.normal}`,
388
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
389
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
390
+ "text-case": `${TEXT_CASE.none}`,
391
+ "text-decoration": `${TEXT_DECORATION.none}`
392
+ }
393
+ },
394
+ Label: {
395
+ ["Large" /* Large */]: {
396
+ "font-family": `${fontFamilies.main}`,
397
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
398
+ "line-height": `${LINE_HEIGHTS.xs}`,
399
+ "font-size": `${FONT_SIZE.sm}`,
400
+ "letter-spacing": `${LETTER_SPACING.normal}`,
401
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
402
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
403
+ "text-case": `${TEXT_CASE.none}`,
404
+ "text-decoration": `${TEXT_DECORATION.none}`
405
+ },
406
+ ["Medium" /* Medium */]: {
407
+ "font-family": `${fontFamilies.main}`,
408
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
409
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
410
+ "font-size": `${FONT_SIZE.xs}`,
411
+ "letter-spacing": `${LETTER_SPACING.normal}`,
412
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
413
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
414
+ "text-case": `${TEXT_CASE.none}`,
415
+ "text-decoration": `${TEXT_DECORATION.none}`
416
+ },
417
+ ["Small" /* Small */]: {
418
+ "font-family": `${fontFamilies.main}`,
419
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
420
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
421
+ "font-size": `${FONT_SIZE["2xs"]}`,
422
+ "letter-spacing": `${LETTER_SPACING.normal}`,
423
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
424
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
425
+ "text-case": `${TEXT_CASE.none}`,
426
+ "text-decoration": `${TEXT_DECORATION.none}`
427
+ }
428
+ },
429
+ "Label Strong": {
430
+ ["Large" /* Large */]: {
431
+ "font-family": `${fontFamilies.main}`,
432
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
433
+ "line-height": `${LINE_HEIGHTS.xs}`,
434
+ "font-size": `${FONT_SIZE.sm}`,
435
+ "letter-spacing": `${LETTER_SPACING.normal}`,
436
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
437
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
438
+ "text-case": `${TEXT_CASE.none}`,
439
+ "text-decoration": `${TEXT_DECORATION.none}`
440
+ },
441
+ ["Medium" /* Medium */]: {
442
+ "font-family": `${fontFamilies.main}`,
443
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
444
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
445
+ "font-size": `${FONT_SIZE.xs}`,
446
+ "letter-spacing": `${LETTER_SPACING.normal}`,
447
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
448
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
449
+ "text-case": `${TEXT_CASE.none}`,
450
+ "text-decoration": `${TEXT_DECORATION.none}`
451
+ },
452
+ ["Small" /* Small */]: {
453
+ "font-family": `${fontFamilies.main}`,
454
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
455
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
456
+ "font-size": `${FONT_SIZE["2xs"]}`,
457
+ "letter-spacing": `${LETTER_SPACING.normal}`,
458
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
459
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
460
+ "text-case": `${TEXT_CASE.none}`,
461
+ "text-decoration": `${TEXT_DECORATION.none}`
462
+ }
463
+ },
464
+ Overline: {
465
+ ["Large" /* Large */]: {
466
+ "font-family": `${fontFamilies.code}`,
467
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
468
+ "line-height": `${LINE_HEIGHTS.sm}`,
469
+ "font-size": `${FONT_SIZE.md}`,
470
+ "letter-spacing": `${LETTER_SPACING.loose}`,
471
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
472
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
473
+ "text-case": `${TEXT_CASE.uppercase}`,
474
+ "text-decoration": `${TEXT_DECORATION.none}`
475
+ },
476
+ ["Medium" /* Medium */]: {
477
+ "font-family": `${fontFamilies.code}`,
478
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
479
+ "line-height": `${LINE_HEIGHTS.xs}`,
480
+ "font-size": `${FONT_SIZE.sm}`,
481
+ "letter-spacing": `${LETTER_SPACING.loose}`,
482
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
483
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
484
+ "text-case": `${TEXT_CASE.uppercase}`,
485
+ "text-decoration": `${TEXT_DECORATION.none}`
486
+ },
487
+ ["Small" /* Small */]: {
488
+ "font-family": `${fontFamilies.code}`,
489
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
490
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
491
+ "font-size": `${FONT_SIZE.xs}`,
492
+ "letter-spacing": `${LETTER_SPACING.loose}`,
493
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
494
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
495
+ "text-case": `${TEXT_CASE.uppercase}`,
496
+ "text-decoration": `${TEXT_DECORATION.none}`
497
+ }
498
+ },
499
+ Code: {
500
+ ["Large" /* Large */]: {
501
+ "font-family": `${fontFamilies.code}`,
502
+ "font-weight": `${FONT_WEIGHTS.code.Regular}`,
503
+ "line-height": `${LINE_HEIGHTS.sm}`,
504
+ "font-size": `${FONT_SIZE.md}`,
505
+ "letter-spacing": `${LETTER_SPACING.normal}`,
506
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
507
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
508
+ "text-case": `${TEXT_CASE.none}`,
509
+ "text-decoration": `${TEXT_DECORATION.none}`
510
+ },
511
+ ["Medium" /* Medium */]: {
512
+ "font-family": `${fontFamilies.code}`,
513
+ "font-weight": `${FONT_WEIGHTS.code.Regular}`,
514
+ "line-height": `${LINE_HEIGHTS.sm}`,
515
+ "font-size": `${FONT_SIZE.sm}`,
516
+ "letter-spacing": `${LETTER_SPACING.normal}`,
517
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
518
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
519
+ "text-case": `${TEXT_CASE.none}`,
520
+ "text-decoration": `${TEXT_DECORATION.none}`
521
+ },
522
+ ["Small" /* Small */]: {
523
+ "font-family": `${fontFamilies.code}`,
524
+ "font-weight": `${FONT_WEIGHTS.code.Regular}`,
525
+ "line-height": `${LINE_HEIGHTS.xs}`,
526
+ "font-size": `${FONT_SIZE.xs}`,
527
+ "letter-spacing": `${LETTER_SPACING.normal}`,
528
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
529
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
530
+ "text-case": `${TEXT_CASE.none}`,
531
+ "text-decoration": `${TEXT_DECORATION.none}`
532
+ }
533
+ },
534
+ "Code Strong": {
535
+ ["Large" /* Large */]: {
536
+ "font-family": `${fontFamilies.code}`,
537
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
538
+ "line-height": `${LINE_HEIGHTS.sm}`,
539
+ "font-size": `${FONT_SIZE.md}`,
540
+ "letter-spacing": `${LETTER_SPACING.normal}`,
541
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
542
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
543
+ "text-case": `${TEXT_CASE.none}`,
544
+ "text-decoration": `${TEXT_DECORATION.none}`
545
+ },
546
+ ["Medium" /* Medium */]: {
547
+ "font-family": `${fontFamilies.code}`,
548
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
549
+ "line-height": `${LINE_HEIGHTS.sm}`,
550
+ "font-size": `${FONT_SIZE.sm}`,
551
+ "letter-spacing": `${LETTER_SPACING.normal}`,
552
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
553
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
554
+ "text-case": `${TEXT_CASE.none}`,
555
+ "text-decoration": `${TEXT_DECORATION.none}`
556
+ },
557
+ ["Small" /* Small */]: {
558
+ "font-family": `${fontFamilies.code}`,
559
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
560
+ "line-height": `${LINE_HEIGHTS.xs}`,
561
+ "font-size": `${FONT_SIZE.xs}`,
562
+ "letter-spacing": `${LETTER_SPACING.normal}`,
563
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
564
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
565
+ "text-case": `${TEXT_CASE.none}`,
566
+ "text-decoration": `${TEXT_DECORATION.none}`
567
+ }
568
+ }
569
+ },
570
+ ["UmaDocs" /* UmaDocs */]: {
571
+ Display: {
572
+ ["Large" /* Large */]: {
573
+ "font-family": `${fontFamilies.main}`,
574
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
575
+ "line-height": `${LINE_HEIGHTS["5xl"]}`,
576
+ "font-size": `${FONT_SIZE["6xl"]}`,
577
+ "letter-spacing": `${LETTER_SPACING.tight}`,
578
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
579
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
580
+ "text-case": `${TEXT_CASE.none}`,
581
+ "text-decoration": `${TEXT_DECORATION.none}`
582
+ },
583
+ ["Medium" /* Medium */]: {
584
+ "font-family": `${fontFamilies.main}`,
585
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
586
+ "line-height": `${LINE_HEIGHTS["4xl"]}`,
587
+ "font-size": `${FONT_SIZE["5xl"]}`,
588
+ "letter-spacing": `${LETTER_SPACING.tight}`,
589
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
590
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
591
+ "text-case": `${TEXT_CASE.none}`,
592
+ "text-decoration": `${TEXT_DECORATION.none}`
593
+ },
594
+ ["Small" /* Small */]: {
595
+ "font-family": `${fontFamilies.main}`,
596
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
597
+ "line-height": `${LINE_HEIGHTS["3xl"]}`,
598
+ "font-size": `${FONT_SIZE["4xl"]}`,
599
+ "letter-spacing": `${LETTER_SPACING.tight}`,
600
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
601
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
602
+ "text-case": `${TEXT_CASE.none}`,
603
+ "text-decoration": `${TEXT_DECORATION.none}`
604
+ }
605
+ },
606
+ Headline: {
607
+ ["Large" /* Large */]: {
608
+ "font-family": `${fontFamilies.main}`,
609
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
610
+ "line-height": `${LINE_HEIGHTS["2xl"]}`,
611
+ "font-size": `${FONT_SIZE["3xl"]}`,
612
+ "letter-spacing": `${LETTER_SPACING.tight}`,
613
+ "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
614
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
615
+ "text-case": `${TEXT_CASE.none}`,
616
+ "text-decoration": `${TEXT_DECORATION.none}`
617
+ },
618
+ ["Medium" /* Medium */]: {
619
+ "font-family": `${fontFamilies.main}`,
620
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
621
+ "line-height": `${LINE_HEIGHTS.xl}`,
622
+ "font-size": `${FONT_SIZE["2xl"]}`,
623
+ "letter-spacing": `${LETTER_SPACING.tight}`,
624
+ "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
625
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
626
+ "text-case": `${TEXT_CASE.none}`,
627
+ "text-decoration": `${TEXT_DECORATION.none}`
628
+ },
629
+ ["Small" /* Small */]: {
630
+ "font-family": `${fontFamilies.main}`,
631
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
632
+ "line-height": `${LINE_HEIGHTS.lg}`,
633
+ "font-size": `${FONT_SIZE.xl}`,
634
+ "letter-spacing": `${LETTER_SPACING.tight}`,
635
+ "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
636
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
637
+ "text-case": `${TEXT_CASE.none}`,
638
+ "text-decoration": `${TEXT_DECORATION.none}`
639
+ }
640
+ },
641
+ Title: {
642
+ ["Large" /* Large */]: {
643
+ "font-family": `${fontFamilies.main}`,
644
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
645
+ "line-height": `${LINE_HEIGHTS.md}`,
646
+ "font-size": `${FONT_SIZE.lg}`,
647
+ "letter-spacing": `${LETTER_SPACING.normal}`,
648
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
649
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
650
+ "text-case": `${TEXT_CASE.none}`,
651
+ "text-decoration": `${TEXT_DECORATION.none}`
652
+ },
653
+ ["Medium" /* Medium */]: {
654
+ "font-family": `${fontFamilies.main}`,
655
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
656
+ "line-height": `${LINE_HEIGHTS.sm}`,
657
+ "font-size": `${FONT_SIZE.md}`,
658
+ "letter-spacing": `${LETTER_SPACING.normal}`,
659
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
660
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
661
+ "text-case": `${TEXT_CASE.none}`,
662
+ "text-decoration": `${TEXT_DECORATION.none}`
663
+ },
664
+ ["Small" /* Small */]: {
665
+ "font-family": `${fontFamilies.main}`,
666
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
667
+ "line-height": `${LINE_HEIGHTS.xs}`,
668
+ "font-size": `${FONT_SIZE.sm}`,
669
+ "letter-spacing": `${LETTER_SPACING.normal}`,
670
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
671
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
672
+ "text-case": `${TEXT_CASE.none}`,
673
+ "text-decoration": `${TEXT_DECORATION.none}`
674
+ }
675
+ },
676
+ Body: {
677
+ ["Large" /* Large */]: {
678
+ "font-family": `${fontFamilies.main}`,
679
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
680
+ "line-height": `${LINE_HEIGHTS.sm}`,
681
+ "font-size": `${FONT_SIZE.md}`,
682
+ "letter-spacing": `${LETTER_SPACING.normal}`,
683
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
684
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
685
+ "text-case": `${TEXT_CASE.none}`,
686
+ "text-decoration": `${TEXT_DECORATION.none}`
687
+ },
688
+ ["Medium" /* Medium */]: {
689
+ "font-family": `${fontFamilies.main}`,
690
+ "font-weight": `${FONT_WEIGHTS.main.Medium}`,
691
+ "line-height": `${LINE_HEIGHTS.sm}`,
692
+ "font-size": `${FONT_SIZE.sm}`,
693
+ "letter-spacing": `${LETTER_SPACING.normal}`,
694
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
695
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
696
+ "text-case": `${TEXT_CASE.none}`,
697
+ "text-decoration": `${TEXT_DECORATION.none}`
698
+ },
699
+ ["Small" /* Small */]: {
700
+ "font-family": `${fontFamilies.main}`,
701
+ "font-weight": `${FONT_WEIGHTS.main.Medium}`,
702
+ "line-height": `${LINE_HEIGHTS.sm}`,
703
+ "font-size": `${FONT_SIZE.xs}`,
704
+ "letter-spacing": `${LETTER_SPACING.normal}`,
705
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
706
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
707
+ "text-case": `${TEXT_CASE.none}`,
708
+ "text-decoration": `${TEXT_DECORATION.none}`
709
+ }
710
+ },
711
+ Label: {
712
+ ["Large" /* Large */]: {
713
+ "font-family": `${fontFamilies.main}`,
714
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
715
+ "line-height": `${LINE_HEIGHTS.xs}`,
716
+ "font-size": `${FONT_SIZE.sm}`,
717
+ "letter-spacing": `${LETTER_SPACING.normal}`,
718
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
719
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
720
+ "text-case": `${TEXT_CASE.none}`,
721
+ "text-decoration": `${TEXT_DECORATION.none}`
722
+ },
723
+ ["Medium" /* Medium */]: {
724
+ "font-family": `${fontFamilies.main}`,
725
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
726
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
727
+ "font-size": `${FONT_SIZE.xs}`,
728
+ "letter-spacing": `${LETTER_SPACING.normal}`,
729
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
730
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
731
+ "text-case": `${TEXT_CASE.none}`,
732
+ "text-decoration": `${TEXT_DECORATION.none}`
733
+ },
734
+ ["Small" /* Small */]: {
735
+ "font-family": `${fontFamilies.main}`,
736
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
737
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
738
+ "font-size": `${FONT_SIZE["2xs"]}`,
739
+ "letter-spacing": `${LETTER_SPACING.normal}`,
740
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
741
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
742
+ "text-case": `${TEXT_CASE.none}`,
743
+ "text-decoration": `${TEXT_DECORATION.none}`
744
+ }
745
+ },
746
+ "Label Strong": {
747
+ ["Large" /* Large */]: {
748
+ "font-family": `${fontFamilies.main}`,
749
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
750
+ "line-height": `${LINE_HEIGHTS.xs}`,
751
+ "font-size": `${FONT_SIZE.sm}`,
752
+ "letter-spacing": `${LETTER_SPACING.normal}`,
753
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
754
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
755
+ "text-case": `${TEXT_CASE.none}`,
756
+ "text-decoration": `${TEXT_DECORATION.none}`
757
+ },
758
+ ["Medium" /* Medium */]: {
759
+ "font-family": `${fontFamilies.main}`,
760
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
761
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
762
+ "font-size": `${FONT_SIZE.xs}`,
763
+ "letter-spacing": `${LETTER_SPACING.normal}`,
764
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
765
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
766
+ "text-case": `${TEXT_CASE.none}`,
767
+ "text-decoration": `${TEXT_DECORATION.none}`
768
+ },
769
+ ["Small" /* Small */]: {
770
+ "font-family": `${fontFamilies.main}`,
771
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
772
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
773
+ "font-size": `${FONT_SIZE["2xs"]}`,
774
+ "letter-spacing": `${LETTER_SPACING.normal}`,
775
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
776
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
777
+ "text-case": `${TEXT_CASE.none}`,
778
+ "text-decoration": `${TEXT_DECORATION.none}`
779
+ }
780
+ },
781
+ Overline: {
782
+ ["Large" /* Large */]: {
783
+ "font-family": `${fontFamilies.code}`,
784
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
785
+ "line-height": `${LINE_HEIGHTS.sm}`,
786
+ "font-size": `${FONT_SIZE.md}`,
787
+ "letter-spacing": `${LETTER_SPACING.loose}`,
788
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
789
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
790
+ "text-case": `${TEXT_CASE.uppercase}`,
791
+ "text-decoration": `${TEXT_DECORATION.none}`
792
+ },
793
+ ["Medium" /* Medium */]: {
794
+ "font-family": `${fontFamilies.code}`,
795
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
796
+ "line-height": `${LINE_HEIGHTS.xs}`,
797
+ "font-size": `${FONT_SIZE.sm}`,
798
+ "letter-spacing": `${LETTER_SPACING.loose}`,
799
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
800
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
801
+ "text-case": `${TEXT_CASE.uppercase}`,
802
+ "text-decoration": `${TEXT_DECORATION.none}`
803
+ },
804
+ ["Small" /* Small */]: {
805
+ "font-family": `${fontFamilies.code}`,
806
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
807
+ "line-height": `${LINE_HEIGHTS["2xs"]}`,
808
+ "font-size": `${FONT_SIZE.xs}`,
809
+ "letter-spacing": `${LETTER_SPACING.loose}`,
810
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
811
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
812
+ "text-case": `${TEXT_CASE.uppercase}`,
813
+ "text-decoration": `${TEXT_DECORATION.none}`
814
+ }
815
+ },
816
+ Code: {
817
+ ["Large" /* Large */]: {
818
+ "font-family": `${fontFamilies.code}`,
819
+ "font-weight": `${FONT_WEIGHTS.code.Regular}`,
820
+ "line-height": `${LINE_HEIGHTS.sm}`,
821
+ "font-size": `${FONT_SIZE.md}`,
822
+ "letter-spacing": `${LETTER_SPACING.normal}`,
823
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
824
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
825
+ "text-case": `${TEXT_CASE.none}`,
826
+ "text-decoration": `${TEXT_DECORATION.none}`
827
+ },
828
+ ["Medium" /* Medium */]: {
829
+ "font-family": `${fontFamilies.code}`,
830
+ "font-weight": `${FONT_WEIGHTS.code.Regular}`,
831
+ "line-height": `${LINE_HEIGHTS.sm}`,
832
+ "font-size": `${FONT_SIZE.sm}`,
833
+ "letter-spacing": `${LETTER_SPACING.normal}`,
834
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
835
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
836
+ "text-case": `${TEXT_CASE.none}`,
837
+ "text-decoration": `${TEXT_DECORATION.none}`
838
+ },
839
+ ["Small" /* Small */]: {
840
+ "font-family": `${fontFamilies.code}`,
841
+ "font-weight": `${FONT_WEIGHTS.code.Regular}`,
842
+ "line-height": `${LINE_HEIGHTS.xs}`,
843
+ "font-size": `${FONT_SIZE.xs}`,
844
+ "letter-spacing": `${LETTER_SPACING.normal}`,
845
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
846
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
847
+ "text-case": `${TEXT_CASE.none}`,
848
+ "text-decoration": `${TEXT_DECORATION.none}`
849
+ }
850
+ },
851
+ "Code Strong": {
852
+ ["Large" /* Large */]: {
853
+ "font-family": `${fontFamilies.code}`,
854
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
855
+ "line-height": `${LINE_HEIGHTS.sm}`,
856
+ "font-size": `${FONT_SIZE.md}`,
857
+ "letter-spacing": `${LETTER_SPACING.normal}`,
858
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
859
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
860
+ "text-case": `${TEXT_CASE.none}`,
861
+ "text-decoration": `${TEXT_DECORATION.none}`
862
+ },
863
+ ["Medium" /* Medium */]: {
864
+ "font-family": `${fontFamilies.code}`,
865
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
866
+ "line-height": `${LINE_HEIGHTS.sm}`,
867
+ "font-size": `${FONT_SIZE.sm}`,
868
+ "letter-spacing": `${LETTER_SPACING.normal}`,
869
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
870
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
871
+ "text-case": `${TEXT_CASE.none}`,
872
+ "text-decoration": `${TEXT_DECORATION.none}`
873
+ },
874
+ ["Small" /* Small */]: {
875
+ "font-family": `${fontFamilies.code}`,
876
+ "font-weight": `${FONT_WEIGHTS.code.Bold}`,
877
+ "line-height": `${LINE_HEIGHTS.sm}`,
878
+ "font-size": `${FONT_SIZE.xs}`,
879
+ "letter-spacing": `${LETTER_SPACING.normal}`,
880
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
881
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
882
+ "text-case": `${TEXT_CASE.none}`,
883
+ "text-decoration": `${TEXT_DECORATION.none}`
884
+ }
885
+ }
886
+ }
887
+ };
888
+ };
889
+
890
+ // src/styles/colors.tsx
891
+ var neutral = {
892
+ black: "#000000",
893
+ gray5: "#0D0D0D",
894
+ gray10: "#1A1A1A",
895
+ gray15: "#262626",
896
+ gray20: "#333333",
897
+ gray25: "#404040",
898
+ gray30: "#4D4D4D",
899
+ gray40: "#666666",
900
+ gray50: "#808080",
901
+ gray60: "#999999",
902
+ gray70: "#B3B3B3",
903
+ gray80: "#CCCCCC",
904
+ gray85: "#D9D9D9",
905
+ gray90: "#E6E6E6",
906
+ gray95: "#F2F2F2",
907
+ white: "#FFFFFF"
908
+ };
909
+ var uma = {
910
+ background: "#F9F9F9",
911
+ black: "#16171A",
912
+ blue: "#0068C9",
913
+ blue50: "#C0C9D6",
914
+ blue80: "#DCE2EA",
915
+ blue90: "#EBEEF2",
916
+ blue95: "#F2F5F7",
917
+ grey300: "#DEDFE4",
918
+ secondary: "#686A72",
919
+ stroke: "#C0C9D6",
920
+ strokeProminent: "#9BA7B9",
921
+ fill: "#EBEEF2"
922
+ };
923
+ var darkGradient = "#1d1d1d linear-gradient(180deg, #090909 63.08%, #1d1d1d 100.52%)";
924
+ var primary = "#FFF14E";
925
+ var colors = __spreadProps(__spreadValues({}, neutral), {
926
+ uma,
927
+ // green
928
+ success: "#17C27C",
929
+ // blue
930
+ blue43: "#145BC6",
931
+ blue22: "#0E2E60",
932
+ blue58: "#28BFFF",
933
+ blue95: "#EBEEF2",
934
+ // yellow
935
+ primary,
936
+ warning: primary,
937
+ // orange
938
+ danger: "#FD2C0F",
939
+ // neutral
940
+ secondary: neutral.black,
941
+ // billing
942
+ tier1: "#179257",
943
+ tier2: "#8B38DE",
944
+ tier3: "#0048F7"
945
+ });
946
+ function extend(obj, rest) {
947
+ return __spreadValues(__spreadValues({}, obj), rest);
948
+ }
949
+ function extendBase(obj, rest) {
950
+ return __spreadValues(__spreadValues({}, obj), rest);
951
+ }
952
+ function hcNeutralFromBg(bgHex, defaultHex, altHex) {
953
+ const bgRGB = hexToRGB(bgHex);
954
+ const hcRGB = hexToRGB(defaultHex);
955
+ if (!bgRGB || !hcRGB)
956
+ return defaultHex;
957
+ const c = contrast(bgRGB, hcRGB);
958
+ if (c < 4.5) {
959
+ return altHex;
960
+ }
961
+ return defaultHex;
962
+ }
963
+ var lightBaseTheme = {
964
+ type: "light" /* Light */,
965
+ app: "Lightspark" /* Lightspark */,
966
+ bg: colors.white,
967
+ smBg: colors.white,
968
+ c05Neutral: neutral.gray95,
969
+ c1Neutral: neutral.gray90,
970
+ c15Neutral: neutral.gray85,
971
+ c2Neutral: neutral.gray80,
972
+ c3Neutral: neutral.gray70,
973
+ c4Neutral: neutral.gray60,
974
+ c5Neutral: neutral.gray50,
975
+ c6Neutral: neutral.gray40,
976
+ c7Neutral: neutral.gray30,
977
+ c8Neutral: neutral.gray20,
978
+ c9Neutral: neutral.gray10,
979
+ danger: colors.danger,
980
+ hcNeutral: colors.black,
981
+ hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
982
+ info: colors.blue43,
983
+ lcNeutral: neutral.gray80,
984
+ link: colors.blue43,
985
+ mcNeutral: neutral.gray40,
986
+ onInfoText: colors.white,
987
+ onPrimaryText: colors.black,
988
+ onSuccessText: colors.white,
989
+ primary: colors.primary,
990
+ secondary: colors.secondary,
991
+ success: colors.success,
992
+ text: colors.black,
993
+ typography: getTypography(),
994
+ vlcNeutral: neutral.gray95,
995
+ warning: colors.warning
996
+ };
997
+ var darkBaseTheme = {
998
+ type: "dark" /* Dark */,
999
+ app: "Lightspark" /* Lightspark */,
1000
+ bg: colors.black,
1001
+ smBg: colors.black,
1002
+ c05Neutral: neutral.gray5,
1003
+ c1Neutral: neutral.gray10,
1004
+ c15Neutral: neutral.gray15,
1005
+ c2Neutral: neutral.gray20,
1006
+ c3Neutral: neutral.gray30,
1007
+ c4Neutral: neutral.gray40,
1008
+ c5Neutral: neutral.gray50,
1009
+ c6Neutral: neutral.gray60,
1010
+ c7Neutral: neutral.gray70,
1011
+ c8Neutral: neutral.gray80,
1012
+ c9Neutral: neutral.gray90,
1013
+ danger: colors.danger,
1014
+ hcNeutral: colors.white,
1015
+ hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.white, colors.black),
1016
+ info: colors.white,
1017
+ lcNeutral: neutral.gray40,
1018
+ link: colors.blue43,
1019
+ mcNeutral: neutral.gray60,
1020
+ onInfoText: colors.white,
1021
+ onPrimaryText: colors.black,
1022
+ onSuccessText: colors.white,
1023
+ primary: colors.primary,
1024
+ secondary: colors.secondary,
1025
+ success: colors.success,
1026
+ text: colors.white,
1027
+ typography: getTypography(),
1028
+ vlcNeutral: neutral.gray20,
1029
+ warning: colors.warning
1030
+ };
1031
+ var lightTheme = extend(lightBaseTheme, {
1032
+ header: extendBase(lightBaseTheme, {
1033
+ text: colors.gray60
1034
+ }),
1035
+ nav: extendBase(lightBaseTheme, {
1036
+ text: colors.gray10,
1037
+ secondary: colors.secondary
1038
+ }),
1039
+ content: extendBase(lightBaseTheme, {
1040
+ bg: colors.white,
1041
+ smBg: colors.white
1042
+ }),
1043
+ controls: extendBase(lightBaseTheme, {
1044
+ bg: neutral.gray95,
1045
+ smBg: neutral.gray95,
1046
+ text: neutral.gray60,
1047
+ secondary: colors.secondary
1048
+ })
1049
+ });
1050
+ var darkTheme = extend(darkBaseTheme, {
1051
+ header: extendBase(darkBaseTheme, {}),
1052
+ nav: extendBase(darkBaseTheme, {}),
1053
+ content: extendBase(darkBaseTheme, {}),
1054
+ controls: extendBase(darkBaseTheme, {
1055
+ bg: neutral.gray40,
1056
+ smBg: neutral.gray40,
1057
+ text: neutral.white,
1058
+ secondary: colors.secondary
1059
+ })
1060
+ });
1061
+ var umaLightTheme = extend(lightTheme, {
1062
+ app: "UmaDocs" /* UmaDocs */,
1063
+ bg: uma.background,
1064
+ smBg: uma.background,
1065
+ secondary: uma.secondary,
1066
+ text: uma.black,
1067
+ link: uma.blue,
1068
+ content: extendBase(lightBaseTheme, {
1069
+ bg: uma.background,
1070
+ smBg: uma.background,
1071
+ text: uma.black,
1072
+ secondary: uma.secondary
1073
+ }),
1074
+ controls: extendBase(lightBaseTheme, {
1075
+ text: uma.black,
1076
+ secondary: uma.secondary,
1077
+ bg: uma.blue90
1078
+ })
1079
+ });
1080
+ var isLight = (theme) => theme.type === "light" /* Light */;
1081
+ var themeOr = (lightValue, darkValue) => ({ theme }) => {
1082
+ return isLight(theme) ? lightValue : darkValue;
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 getFocusOutline = ({
1170
+ theme,
1171
+ onBgHex
1172
+ }) => `${onBgHex ? theme.hcNeutralFromBg(onBgHex) : theme.hcNeutral} dashed 1px`;
1173
+ var outlineOffset = "-2px";
1174
+ var standardFocusOutline = ({ theme }) => import_react4.css`
1175
+ &,
1176
+ & a,
1177
+ & button {
1178
+ &:focus-visible {
1179
+ outline: ${getFocusOutline({ theme })};
1180
+ outline-offset: ${outlineOffset};
1181
+ }
1182
+ }
1183
+ `;
1184
+ var subtext = ({ theme }) => import_react4.css`
1185
+ color: ${theme.c6Neutral};
1186
+ font-weight: 600;
1187
+ `;
1188
+ var Subtext = import_styled.default.div`
1189
+ ${subtext}
1190
+ `;
1191
+ var darkGradientBg = import_react4.css`
1192
+ background: ${darkGradient};
1193
+ `;
1194
+ var StyledTooltip = (0, import_styled.default)(import_react_tooltip.Tooltip)`
1195
+ z-index: ${z.modalOverlay};
1196
+ `;
1197
+
1198
+ // src/styles/utils.tsx
1199
+ var import_react5 = require("@emotion/react");
1200
+ function pxToRems(rems, asNum = false) {
1201
+ const value = (rems / rootFontSizePx).toFixed(6);
1202
+ return asNum ? Number(value) : `${value}rem`;
1203
+ }
1204
+ var size = {
1205
+ px8: pxToRems(8),
1206
+ px10: pxToRems(10),
1207
+ px12: pxToRems(12),
1208
+ px14: pxToRems(14),
1209
+ px16: pxToRems(16),
1210
+ px18: pxToRems(18),
1211
+ px20: pxToRems(20),
1212
+ px21: pxToRems(21),
1213
+ px24: pxToRems(24)
1214
+ };
1215
+ var flexCenterAxis = import_react5.css`
1216
+ display: flex;
1217
+ align-items: center;
1218
+ `;
1219
+ var flexCenter = import_react5.css`
1220
+ display: flex;
1221
+ justify-content: center;
1222
+ align-items: center;
1223
+ `;
1224
+ var inlineFlexCenter = import_react5.css`
1225
+ display: flex;
1226
+ justify-content: center;
1227
+ align-items: center;
1228
+ `;
1229
+ var flexBetween = import_react5.css`
1230
+ display: flex;
1231
+ justify-content: space-between;
1232
+ align-items: center;
1233
+ `;
1234
+ var absoluteCenter = import_react5.css`
1235
+ position: absolute;
1236
+ top: 0;
1237
+ bottom: 0;
1238
+ left: 0;
1239
+ right: 0;
1240
+ margin: auto;
1241
+ `;
1242
+ var textCenter = import_react5.css`
1243
+ text-align: center;
1244
+ `;
1245
+ var overflowAutoWithoutScrollbars = import_react5.css`
1246
+ overflow: auto;
1247
+ scrollbar-width: none;
1248
+ -ms-overflow-style: none;
1249
+
1250
+ &::-webkit-scrollbar {
1251
+ display: none;
1252
+ }
1253
+
1254
+ &::-moz-scrollbar {
1255
+ display: none;
1256
+ }
1257
+ `;
1258
+
1259
+ // src/components/Button.tsx
1260
+ var import_react8 = require("@emotion/react");
1261
+ var import_styled5 = __toESM(require("@emotion/styled"), 1);
1262
+
1263
+ // src/router.tsx
1264
+ var import_lodash_es2 = require("lodash-es");
1265
+ var import_react6 = require("react");
1266
+ var import_react_router_dom = require("react-router-dom");
1267
+ var import_jsx_runtime2 = require("@emotion/react/jsx-runtime");
1268
+ function replaceParams(to, params) {
1269
+ if (params) {
1270
+ let toWithParams = to;
1271
+ Object.entries((0, import_lodash_es2.omit)(params, "query")).forEach(([key, value]) => {
1272
+ if (typeof value !== "string") {
1273
+ throw new Error(
1274
+ `Only 'query' may be an object. Route params must be a string, but '${key}' is not.`
1275
+ );
1276
+ }
1277
+ toWithParams = toWithParams.replace(`:${key}`, value);
1278
+ });
1279
+ if (params.query) {
1280
+ let query = params.query;
1281
+ if (typeof query !== "string") {
1282
+ query = Object.entries(params.query).map(([key, value]) => `${key}${value ? `=${value}` : ""}`).join("&");
1283
+ }
1284
+ toWithParams = `${toWithParams}?${query}`;
1285
+ }
1286
+ to = toWithParams;
1287
+ }
1288
+ return to;
1289
+ }
1290
+ function Link({
1291
+ to,
1292
+ params,
1293
+ children,
1294
+ css: css6,
1295
+ onClick,
1296
+ className,
1297
+ hash = null,
1298
+ blue = false,
1299
+ newTab = false
1300
+ }) {
1301
+ let toStr = replaceParams(to, params);
1302
+ toStr += hash ? `#${hash}` : "";
1303
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
1304
+ import_react_router_dom.Link,
1305
+ {
1306
+ to: toStr,
1307
+ css: css6,
1308
+ onClick,
1309
+ className,
1310
+ style: { color: blue ? colors.blue43 : "inherit" },
1311
+ target: newTab ? "_blank" : void 0,
1312
+ rel: newTab ? "noopener noreferrer" : void 0,
1313
+ children
1314
+ }
1315
+ );
1316
+ }
1317
+
1318
+ // src/components/Icon.tsx
1319
+ var import_styled2 = __toESM(require("@emotion/styled"), 1);
1320
+ var import_react7 = require("react");
1321
+
1322
+ // src/utils/strings.tsx
1323
+ function isString(str) {
1324
+ return typeof str === "string";
1325
+ }
1326
+
1327
+ // src/components/Icon.tsx
1328
+ var import_jsx_runtime3 = require("@emotion/react/jsx-runtime");
1329
+ var iconMap = {};
1330
+ function loadIcon(iconName) {
1331
+ return __async(this, null, function* () {
1332
+ let IconComp;
1333
+ try {
1334
+ ({ default: IconComp } = yield import(
1335
+ /* webpackMode: "eager" */
1336
+ // this can't be a variable only, needs to have some string constraints:
1337
+ `./icons/${iconName}.js`
1338
+ ));
1339
+ } catch (e) {
1340
+ throw new Error(`Icon ${iconName} not found`);
1341
+ }
1342
+ iconMap[iconName] = IconComp;
1343
+ });
1344
+ }
1345
+ function Icon({
1346
+ className,
1347
+ name,
1348
+ width,
1349
+ tutorialStep,
1350
+ mr = 0,
1351
+ ml = 0,
1352
+ verticalAlign = "middle",
1353
+ color = void 0
1354
+ }) {
1355
+ const [, setLoading] = (0, import_react7.useState)(false);
1356
+ const IconComponent = iconMap[name] || null;
1357
+ (0, import_react7.useLayoutEffect)(() => {
1358
+ void (() => __async(this, null, function* () {
1359
+ if (!iconMap[name]) {
1360
+ setLoading(true);
1361
+ yield loadIcon(name);
1362
+ setLoading(false);
1363
+ }
1364
+ }))();
1365
+ }, [name]);
1366
+ const w = parseFloat((width / rootFontSizePx).toFixed(2));
1367
+ const mrRems = parseFloat((mr / rootFontSizePx).toFixed(2));
1368
+ const mlRems = parseFloat((ml / rootFontSizePx).toFixed(2));
1369
+ const va = typeof verticalAlign === "string" ? verticalAlign : parseFloat((verticalAlign / rootFontSizePx).toFixed(2));
1370
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
1371
+ IconContainer,
1372
+ {
1373
+ className,
1374
+ w,
1375
+ mr: mrRems,
1376
+ ml: mlRems,
1377
+ verticalAlign: va,
1378
+ fontColor: color,
1379
+ "data-tutorial-tip": tutorialStep == null ? void 0 : tutorialStep.toString(),
1380
+ children: IconComponent ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(IconComponent, {}) : null
1381
+ }
1382
+ );
1383
+ }
1384
+ var IconContainer = import_styled2.default.span`
1385
+ pointer-events: none;
1386
+ display: inline-flex;
1387
+ ${({ mr, ml, w }) => `
1388
+ width: ${w}em;
1389
+ /* ensure no shrink in flex containers: */
1390
+ min-width: ${w}em;
1391
+ ${mr ? `margin-right: ${mr}em;` : ""}
1392
+ ${ml ? `margin-left: ${ml}em;` : ""}
1393
+ `}
1394
+
1395
+ vertical-align: ${({ verticalAlign }) => isString(verticalAlign) ? verticalAlign : `${verticalAlign}em`};
1396
+
1397
+ ${({ fontColor }) => `
1398
+ & svg {
1399
+ color: ${fontColor || "inherit"};
1400
+ }
1401
+ `}
1402
+ `;
1403
+
1404
+ // src/components/Loading.tsx
1405
+ var import_styled3 = __toESM(require("@emotion/styled"), 1);
1406
+ var import_jsx_runtime4 = require("@emotion/react/jsx-runtime");
1407
+ var defaultProps = {
1408
+ size: 60,
1409
+ center: true,
1410
+ ml: 0
1411
+ };
1412
+ function Loading({
1413
+ center = defaultProps.center,
1414
+ size: size2 = defaultProps.size,
1415
+ ml = defaultProps.ml
1416
+ }) {
1417
+ 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: size2 }) }) });
1418
+ }
1419
+ Loading.defaultProps = defaultProps;
1420
+ var LoadingWrapper = import_styled3.default.div`
1421
+ flex-grow: 1;
1422
+ display: flex;
1423
+ align-items: center;
1424
+ justify-content: center;
1425
+ text-align: center;
1426
+ width: 100%;
1427
+ margin-left: ${({ ml }) => ml}px;
1428
+
1429
+ ${({ center }) => center && `
1430
+ position: absolute;
1431
+ height: 100%;
1432
+ width: 100%;
1433
+ top: 0;
1434
+ bottom: 0;
1435
+ left: 0;
1436
+ right: 0;
1437
+ margin: 0 !important;
1438
+ `}
1439
+ `;
1440
+ var Rotate = import_styled3.default.div`
1441
+ display: inline-flex;
1442
+ animation: rotate 0.5s linear infinite;
1443
+
1444
+ @keyframes rotate {
1445
+ 0% {
1446
+ transform: rotate(0deg);
1447
+ }
1448
+ 100% {
1449
+ transform: rotate(360deg);
1450
+ }
1451
+ }
1452
+ `;
1453
+
1454
+ // src/components/UnstyledButton.tsx
1455
+ var import_styled4 = __toESM(require("@emotion/styled"), 1);
1456
+ var UnstyledButton = import_styled4.default.button`
1457
+ ${standardFocusOutline}
1458
+ font-family: ${({ theme }) => theme.typography.fontFamilies.main};
1459
+ appearance: none;
1460
+ background: transparent;
1461
+ border: none;
1462
+ padding: 0;
1463
+ cursor: ${({ disabled }) => disabled ? "not-allowed" : "pointer"};
1464
+ /* needed in Safari for some reason */
1465
+ font-size: 1rem;
1466
+ color: inherit;
1467
+ font-weight: inherit;
1468
+ `;
1469
+
1470
+ // src/components/Button.tsx
1471
+ var import_jsx_runtime5 = require("@emotion/react/jsx-runtime");
1472
+ function getTextColor({ color, theme, primary: primary2, blue }) {
1473
+ if (color) {
1474
+ return color;
1475
+ }
1476
+ if (blue) {
1477
+ return colors.white;
1478
+ }
1479
+ if (primary2) {
1480
+ const color2 = theme.hcNeutralFromBg(theme.hcNeutral);
1481
+ return color2;
1482
+ }
1483
+ return theme.text;
1484
+ }
1485
+ function getBackgroundColor({
1486
+ backgroundColor,
1487
+ theme,
1488
+ primary: primary2,
1489
+ blue,
1490
+ ghost
1491
+ }) {
1492
+ if (ghost) {
1493
+ return "none";
1494
+ }
1495
+ if (backgroundColor) {
1496
+ return backgroundColor;
1497
+ }
1498
+ if (blue) {
1499
+ return colors.blue43;
1500
+ }
1501
+ if (primary2) {
1502
+ return themeOr(theme.c9Neutral, colors.white)({ theme });
1503
+ }
1504
+ return themeOr(colors.white, theme.c1Neutral)({ theme });
1505
+ }
1506
+ function getPaddingX({ size: size2, ghost }) {
1507
+ return ghost ? 0 : size2 === "lg" ? hPaddingPx : size2 === "md" ? 18 : 16;
1508
+ }
1509
+ function getPadding({ iconWidth, size: size2, ghost, iconSide }) {
1510
+ const paddingY = ghost ? 0 : size2 === "lg" ? 14 : size2 === "md" ? 9 : 6;
1511
+ const paddingX = getPaddingX({ size: size2, ghost });
1512
+ const paddingForIcon = iconWidth && !ghost ? iconWidth : 0;
1513
+ return `${paddingY}px ${paddingX + (iconSide === "right" ? paddingForIcon : 0)}px ${paddingY}px ${paddingX + (iconSide === "left" ? paddingForIcon : 0)}px`;
1514
+ }
1515
+ function getBorder({ ghost }) {
1516
+ if (ghost) {
1517
+ return "none";
1518
+ }
1519
+ return "1px solid";
1520
+ }
1521
+ function getInnerBorderColor({
1522
+ backgroundColor,
1523
+ theme,
1524
+ primary: primary2,
1525
+ blue
1526
+ }) {
1527
+ if (primary2 || blue || backgroundColor) {
1528
+ return getBackgroundColor({
1529
+ backgroundColor,
1530
+ theme,
1531
+ primary: primary2,
1532
+ blue
1533
+ });
1534
+ }
1535
+ return themeOr(colors.gray90, colors.gray20)({ theme });
1536
+ }
1537
+ function Button({
1538
+ backgroundColor,
1539
+ color,
1540
+ hoverColor,
1541
+ primary: primary2 = false,
1542
+ ghost = false,
1543
+ text,
1544
+ to,
1545
+ hash,
1546
+ href,
1547
+ toParams,
1548
+ onClick,
1549
+ icon,
1550
+ iconSide = "left",
1551
+ loading = false,
1552
+ fullWidth = false,
1553
+ disabled = false,
1554
+ size: size2 = "lg",
1555
+ mt = 0,
1556
+ ml = 0,
1557
+ type = "button",
1558
+ blue = false,
1559
+ newTab = false,
1560
+ zIndex = void 0
1561
+ }) {
1562
+ const iconMarginRight = 6;
1563
+ const iconSize = size2 === "lg" ? 16 : 12;
1564
+ let currentIcon = null;
1565
+ if (loading) {
1566
+ currentIcon = /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ButtonIcon, { ghost, iconSide, text, size: size2, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Loading, { size: iconSize, center: false }) });
1567
+ } else if (icon) {
1568
+ currentIcon = /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ButtonIcon, { ghost, iconSide, text, size: size2, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Icon, { name: icon, width: iconSize }) });
1569
+ }
1570
+ const content = /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
1571
+ "div",
1572
+ {
1573
+ css: {
1574
+ display: "flex",
1575
+ alignItems: "center",
1576
+ justifyContent: "center"
1577
+ },
1578
+ children: [
1579
+ iconSide === "left" && currentIcon,
1580
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
1581
+ "div",
1582
+ {
1583
+ css: {
1584
+ textOverflow: "ellipsis",
1585
+ overflow: "hidden"
1586
+ },
1587
+ children: text
1588
+ }
1589
+ ),
1590
+ iconSide === "right" && currentIcon
1591
+ ]
1592
+ }
1593
+ );
1594
+ const commonProps = {
1595
+ backgroundColor,
1596
+ color,
1597
+ hoverColor,
1598
+ type,
1599
+ size: size2,
1600
+ onClick,
1601
+ primary: primary2,
1602
+ ghost,
1603
+ fullWidth,
1604
+ blue,
1605
+ iconSide,
1606
+ iconWidth: currentIcon ? iconSize + iconMarginRight : 0,
1607
+ isLoading: loading,
1608
+ disabled: disabled || loading,
1609
+ css: {
1610
+ marginTop: mt ? `${mt}px` : void 0,
1611
+ marginLeft: ml ? `${ml}px` : void 0
1612
+ },
1613
+ newTab,
1614
+ text,
1615
+ zIndex
1616
+ };
1617
+ if (to) {
1618
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ButtonLink, __spreadProps(__spreadValues({}, commonProps), { to, params: toParams, hash, children: content }));
1619
+ }
1620
+ 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 }));
1621
+ }
1622
+ var hPaddingPx = 24;
1623
+ var buttonStyle = ({
1624
+ color,
1625
+ backgroundColor,
1626
+ hoverColor,
1627
+ theme,
1628
+ primary: primary2,
1629
+ ghost,
1630
+ disabled,
1631
+ isLoading,
1632
+ size: size2,
1633
+ fullWidth,
1634
+ iconWidth,
1635
+ blue,
1636
+ text,
1637
+ zIndex,
1638
+ iconSide
1639
+ }) => import_react8.css`
1640
+ display: inline-flex;
1641
+ opacity: ${disabled && !isLoading ? 0.2 : 1};
1642
+ transition: opacity 0.2s;
1643
+ position: relative;
1644
+
1645
+ ${zIndex && `z-index: ${zIndex};`}
1646
+
1647
+ color: ${getTextColor({ color, theme, primary: primary2, blue })};
1648
+ font-size: ${["lg", "md"].includes(size2) ? "14px" : "12px"};
1649
+ font-weight: 600;
1650
+
1651
+ &:focus-visible {
1652
+ outline: ${getFocusOutline({ theme })};
1653
+ }
1654
+
1655
+ width: ${fullWidth ? "100%" : "fit-content"};
1656
+
1657
+ & > * {
1658
+ width: 100%;
1659
+ text-align: center;
1660
+ white-space: nowrap;
1661
+ background-color: ${getBackgroundColor({
1662
+ backgroundColor,
1663
+ theme,
1664
+ primary: primary2,
1665
+ blue,
1666
+ ghost
1667
+ })};
1668
+ border: ${getBorder({ ghost })};
1669
+ border-color: ${getInnerBorderColor({
1670
+ backgroundColor,
1671
+ theme,
1672
+ primary: primary2,
1673
+ blue
1674
+ })};
1675
+ border-radius: 32px;
1676
+ padding: ${getPadding({ size: size2, iconWidth, text, ghost, iconSide })};
1677
+ color: ${getTextColor({ color, theme, primary: primary2, blue })};
1678
+ transition:
1679
+ background-color 0.2s ease-out,
1680
+ border-color 0.2s ease-out;
1681
+
1682
+ &:hover {
1683
+ ${hoverColor && ghost ? "" : `background-color: ${hoverColor}; border-color: ${hoverColor};`}
1684
+ }
1685
+ }
1686
+ `;
1687
+ var ButtonIcon = import_styled5.default.div`
1688
+ ${(props) => props.ghost ? "" : "position: absolute;"}
1689
+ ${({ iconSide, ghost, text, size: size2 }) => `${iconSide}: ${ghost && text ? 0 : getPaddingX({ size: size2, ghost })}px;`}
1690
+ `;
1691
+ var StyledButton = (0, import_styled5.default)(UnstyledButton)`
1692
+ ${(props) => buttonStyle(props)}
1693
+ `;
1694
+ var ButtonLink = (0, import_styled5.default)(Link)`
1695
+ ${(props) => buttonStyle(props)}
1696
+ `;
1697
+ var ButtonHrefLink = import_styled5.default.a`
1698
+ ${(props) => buttonStyle(props)}
1699
+ `;
1700
+
1701
+ // src/components/ButtonRow.tsx
1702
+ var import_jsx_runtime6 = require("@emotion/react/jsx-runtime");
1703
+ function ButtonRow({
1704
+ buttons,
1705
+ className,
1706
+ smSticky = true,
1707
+ headerHeight = 0
1708
+ }) {
1709
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ButtonRowContainer, { smSticky, headerHeight, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(StyledButtonRow, { className, children: buttons.map((button, idx) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Button, __spreadValues({}, button), idx)) }) });
1710
+ }
1711
+ var ButtonRowContainer = import_styled6.default.div`
1712
+ max-width: 100%;
1713
+ ${({ theme }) => bp.sm(`background: ${theme.bg}`)}
1714
+ ${({ headerHeight, smSticky }) => bp.sm(
1715
+ `
1716
+ ${smSticky ? `
1717
+ display: block;
1718
+ position: sticky;
1719
+ top: ${headerHeight}px;
1720
+ margin-top: 24px;
1721
+ margin-left: -${standardContentInsetSmPx}px;
1722
+ width: calc(100% + ${standardContentInsetSmPx * 2}px);
1723
+ max-width: calc(100% + ${standardContentInsetSmPx * 2}px);
1724
+ z-index: 2;` : `position: relative;`}
1725
+ z-index: 2;
1726
+ &:before {
1727
+ content: "";
1728
+ box-shadow: 0px 0px 9px 3px rgba(0, 0, 0, 0.09);
1729
+ height: 1px;
1730
+ position: absolute;
1731
+ background: black;
1732
+ bottom: 1px;
1733
+ width: 100%;
1734
+ z-index: 0;
1735
+ }
1736
+ `
1737
+ )}
1738
+ `;
1739
+ var StyledButtonRow = import_styled6.default.div`
1740
+ ${overflowAutoWithoutScrollbars}
1741
+ background: ${({ theme }) => theme.bg};
1742
+ display: flex;
1743
+ position: relative;
1744
+ z-index: 1;
1745
+
1746
+ & button:not(:first-of-type),
1747
+ & a:not(:first-of-type) {
1748
+ margin-left: 8px;
1749
+ }
1750
+
1751
+ ${bp.sm(`
1752
+ padding: 12px;
1753
+ `)}
1754
+ `;
1755
+ // Annotate the CommonJS export names for ESM import in node:
1756
+ 0 && (module.exports = {
1757
+ ButtonRow,
1758
+ ButtonRowContainer
1759
+ });